window.wts=Object.create(null);window.wts.ready=function(){function t(t,i){n.push({success:t,error:i})}function i(t){n.forEach(function(n){t.then(n.success,n.error)});window.wts.ready=t}var n=[];return{then:t,toPromise:i}}();wts.modules=Object.create(null);wts.bundles=Object.create(null);window.wts.forms=Object.create(null);window.wts.modals=Object.create(null);window.location.search.split("debug-modules").length>1&&(wts.modules=new Proxy(wts.modules,{set:function(n,t,i){var r="Module registered: %c"+t,u="color: #dd6;";return console.groupCollapsed(r,u),console.trace(t),console.groupEnd(r,u),n[t]=i,!0}}));wts.registerBundle=function(n){wts.bundles[n]=!0};wts.checkBundle=function(n){for(var t in wts.bundles)if(Object.prototype.hasOwnProperty.call(wts.bundles,t)&&t===n)return!0;return console.warn("script didn't load: "+n),!1};wts.cssCdnFallbackCheck=function(n,t,i,r){return wts.cssRuleExists(n,t,i)||(console.warn("Stylesheet didn't load: "+n+":"+t+":"+i),document.write('<link href="'+r+'" rel="stylesheet" type="text/css">')),!0};wts.cssRuleExists=function(n,t,i){var r=document.createElement("meta"),u;return r.className=n,document.head.appendChild(r),u=window.getComputedStyle(r).getPropertyValue(t),document.head.removeChild(r),u===i}