layouts.js
55.5 KB
(()=>{var e={1719:(e,t,n)=>{e.exports=n(5707)},2886:(e,t,n)=>{"use strict";var r=n(7891),s=n(5527),o=n(9868),i=n(4204),a=n(5033),c=n(6773),l=n(6509),u=n(1382);e.exports=function(e){return new Promise((function(t,n){var d=e.data,h=e.headers,f=e.responseType;r.isFormData(d)&&delete h["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(m+":"+v)}var g=a(e.baseURL,e.url);function y(){if(p){var r="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,o={data:f&&"text"!==f&&"json"!==f?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:e,request:p};s(t,n,o),p=null}}if(p.open(e.method.toUpperCase(),i(g,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,"onloadend"in p?p.onloadend=y:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(y)},p.onabort=function(){p&&(n(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var b=(e.withCredentials||l(g))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;b&&(h[e.xsrfHeaderName]=b)}"setRequestHeader"in p&&r.forEach(h,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete h[t]:p.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),f&&"json"!==f&&(p.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),n(e),p=null)})),d||(d=null),p.send(d)}))}},5707:(e,t,n)=>{"use strict";var r=n(7891),s=n(2968),o=n(440),i=n(4989);function a(e){var t=new o(e),n=s(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var c=a(n(3091));c.Axios=o,c.create=function(e){return a(i(c.defaults,e))},c.Cancel=n(8019),c.CancelToken=n(889),c.isCancel=n(7983),c.all=function(e){return Promise.all(e)},c.spread=n(7654),c.isAxiosError=n(7041),e.exports=c,e.exports.default=c},8019:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},889:(e,t,n)=>{"use strict";var r=n(8019);function s(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}s.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},s.source=function(){var e;return{token:new s((function(t){e=t})),cancel:e}},e.exports=s},7983:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},440:(e,t,n)=>{"use strict";var r=n(7891),s=n(4204),o=n(4871),i=n(9560),a=n(4989),c=n(2115),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:l.transitional(l.boolean,"1.0.0"),forcedJSONParsing:l.transitional(l.boolean,"1.0.0"),clarifyTimeoutError:l.transitional(l.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var s,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!r){var u=[i,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),s=Promise.resolve(e);u.length;)s=s.then(u.shift(),u.shift());return s}for(var d=e;n.length;){var h=n.shift(),f=n.shift();try{d=h(d)}catch(e){f(e);break}}try{s=i(d)}catch(e){return Promise.reject(e)}for(;o.length;)s=s.then(o.shift(),o.shift());return s},u.prototype.getUri=function(e){return e=a(this.defaults,e),s(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}})),e.exports=u},4871:(e,t,n)=>{"use strict";var r=n(7891);function s(){this.handlers=[]}s.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},s.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},s.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=s},5033:(e,t,n)=>{"use strict";var r=n(6314),s=n(374);e.exports=function(e,t){return e&&!r(t)?s(e,t):t}},1382:(e,t,n)=>{"use strict";var r=n(3656);e.exports=function(e,t,n,s,o){var i=new Error(e);return r(i,t,n,s,o)}},9560:(e,t,n)=>{"use strict";var r=n(7891),s=n(5721),o=n(7983),i=n(3091);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=s.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return a(e),t.data=s.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(a(e),t&&t.response&&(t.response.data=s.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},3656:e=>{"use strict";e.exports=function(e,t,n,r,s){return e.config=t,n&&(e.code=n),e.request=r,e.response=s,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},4989:(e,t,n)=>{"use strict";var r=n(7891);e.exports=function(e,t){t=t||{};var n={},s=["url","method","data"],o=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function l(s){r.isUndefined(t[s])?r.isUndefined(e[s])||(n[s]=c(void 0,e[s])):n[s]=c(e[s],t[s])}r.forEach(s,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(o,l),r.forEach(i,(function(s){r.isUndefined(t[s])?r.isUndefined(e[s])||(n[s]=c(void 0,e[s])):n[s]=c(void 0,t[s])})),r.forEach(a,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var u=s.concat(o).concat(i).concat(a),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(d,l),n}},5527:(e,t,n)=>{"use strict";var r=n(1382);e.exports=function(e,t,n){var s=n.config.validateStatus;n.status&&s&&!s(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},5721:(e,t,n)=>{"use strict";var r=n(7891),s=n(3091);e.exports=function(e,t,n){var o=this||s;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},3091:(e,t,n)=>{"use strict";var r=n(7891),s=n(7413),o=n(3656),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=n(2886)),c),transformRequest:[function(e,t){return s(t,"Accept"),s(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||s&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(i)})),e.exports=l},2968:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},4204:(e,t,n)=>{"use strict";var r=n(7891);function s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var i=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),i.push(s(t)+"="+s(e))})))})),o=i.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},374:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},9868:(e,t,n)=>{"use strict";var r=n(7891);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,s,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(s)&&a.push("path="+s),r.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},6314:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},7041:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},6509:(e,t,n)=>{"use strict";var r=n(7891);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function s(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=s(window.location.href),function(t){var n=r.isString(t)?s(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},7413:(e,t,n)=>{"use strict";var r=n(7891);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},6773:(e,t,n)=>{"use strict";var r=n(7891),s=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,i={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(i[t]&&s.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}})),i):i}},7654:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},2115:(e,t,n)=>{"use strict";var r=n(80),s={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){s[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={},i=r.version.split(".");function a(e,t){for(var n=t?t.split("."):i,r=e.split("."),s=0;s<3;s++){if(n[s]>r[s])return!0;if(n[s]<r[s])return!1}return!1}s.transitional=function(e,t,n){var s=t&&a(t);function i(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(i(r," has been removed in "+t));return s&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={isOlderVersion:a,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),s=r.length;s-- >0;){var o=r[s],i=t[o];if(i){var a=e[o],c=void 0===a||i(a,o,e);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:s}},7891:(e,t,n)=>{"use strict";var r=n(2968),s=Object.prototype.toString;function o(e){return"[object Array]"===s.call(e)}function i(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==s.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===s.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.call(null,e[s],s,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===s.call(e)},isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isPlainObject:c,isUndefined:i,isDate:function(e){return"[object Date]"===s.call(e)},isFile:function(e){return"[object File]"===s.call(e)},isBlob:function(e){return"[object Blob]"===s.call(e)},isFunction:l,isStream:function(e){return a(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,s=arguments.length;r<s;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,s){e[s]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},3114:e=>{function t(e,t){if(!e)throw new Error(t||"AssertionError")}t.notEqual=function(e,n,r){t(e!=n,r)},t.notOk=function(e,n){t(!e,n)},t.equal=function(e,n,r){t(e==n,r)},t.ok=t,e.exports=t},9403:(e,t,n)=>{var r=n(7415),s=n(1511),o=n(3114);function i(e){if(!(this instanceof i))return new i(e);this._name=e||"nanobus",this._starListeners=[],this._listeners={}}e.exports=i,i.prototype.emit=function(e){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.emit: eventName should be type string or symbol");for(var t=[],n=1,r=arguments.length;n<r;n++)t.push(arguments[n]);var i=s(this._name+"('"+e.toString()+"')"),a=this._listeners[e];return a&&a.length>0&&this._emit(this._listeners[e],t),this._starListeners.length>0&&this._emit(this._starListeners,e,t,i.uuid),i(),this},i.prototype.on=i.prototype.addListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.on: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.on: listener should be type function"),"*"===e?this._starListeners.push(t):(this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)),this},i.prototype.prependListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.prependListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.prependListener: listener should be type function"),"*"===e?this._starListeners.unshift(t):(this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].unshift(t)),this},i.prototype.once=function(e,t){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.once: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.once: listener should be type function");var n=this;return this.on(e,(function r(){t.apply(n,arguments),n.removeListener(e,r)})),this},i.prototype.prependOnceListener=function(e,t){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.prependOnceListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.prependOnceListener: listener should be type function");var n=this;return this.prependListener(e,(function r(){t.apply(n,arguments),n.removeListener(e,r)})),this},i.prototype.removeListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.removeListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.removeListener: listener should be type function"),"*"===e?(this._starListeners=this._starListeners.slice(),n(this._starListeners,t)):(void 0!==this._listeners[e]&&(this._listeners[e]=this._listeners[e].slice()),n(this._listeners[e],t));function n(e,t){if(e){var n=e.indexOf(t);return-1!==n?(r(e,n,1),!0):void 0}}},i.prototype.removeAllListeners=function(e){return e?"*"===e?this._starListeners=[]:this._listeners[e]=[]:(this._starListeners=[],this._listeners={}),this},i.prototype.listeners=function(e){var t="*"!==e?this._listeners[e]:this._starListeners,n=[];if(t)for(var r=t.length,s=0;s<r;s++)n.push(t[s]);return n},i.prototype._emit=function(e,t,n,r){if(void 0!==e&&0!==e.length){void 0===n&&(n=t,t=null),t&&(n=void 0!==r?[t].concat(n,r):[t].concat(n));for(var s=e.length,o=0;o<s;o++){var i=e[o];i.apply(i,n)}}}},792:(e,t,n)=>{var r=n(3114),s="undefined"!=typeof window;function o(e){this.hasWindow=e,this.hasIdle=this.hasWindow&&window.requestIdleCallback,this.method=this.hasIdle?window.requestIdleCallback.bind(window):this.setTimeout,this.scheduled=!1,this.queue=[]}o.prototype.push=function(e){r.equal(typeof e,"function","nanoscheduler.push: cb should be type function"),this.queue.push(e),this.schedule()},o.prototype.schedule=function(){if(!this.scheduled){this.scheduled=!0;var e=this;this.method((function(t){for(;e.queue.length&&t.timeRemaining()>0;)e.queue.shift()(t);e.scheduled=!1,e.queue.length&&e.schedule()}))}},o.prototype.setTimeout=function(e){setTimeout(e,0,{timeRemaining:function(){return 1}})},e.exports=function(){var e;return s?(window._nanoScheduler||(window._nanoScheduler=new o(!0)),e=window._nanoScheduler):e=new o,e}},1511:(e,t,n)=>{var r,s=n(792)(),o=n(3114);i.disabled=!0;try{r=window.performance,i.disabled="true"===window.localStorage.DISABLE_NANOTIMING||!r.mark}catch(e){}function i(e){if(o.equal(typeof e,"string","nanotiming: name should be type string"),i.disabled)return a;var t=(1e4*r.now()).toFixed()%Number.MAX_SAFE_INTEGER,n="start-"+t+"-"+e;function c(o){var i="end-"+t+"-"+e;r.mark(i),s.push((function(){var s=null;try{var a=e+" ["+t+"]";r.measure(a,n,i),r.clearMarks(n),r.clearMarks(i)}catch(e){s=e}o&&o(s,e)}))}return r.mark(n),c.uuid=t,c}function a(e){e&&s.push((function(){e(new Error("nanotiming: performance API unavailable"))}))}e.exports=i},7415:e=>{"use strict";e.exports=function(e,t,n){var r,s=e.length;if(!(t>=s||0===n)){var o=s-(n=t+n>s?s-t:n);for(r=t;r<o;++r)e[r]=e[r+n];e.length=o}}},9204:e=>{function t(e,t){if(!e)throw new Error(t||"AssertionError")}t.notEqual=function(e,n,r){t(e!=n,r)},t.notOk=function(e,n){t(!e,n)},t.equal=function(e,n,r){t(e==n,r)},t.ok=t,e.exports=t},6559:(e,t,n)=>{var r=n(7069),s=n(7999),o=n(9204);function i(e){if(!(this instanceof i))return new i(e);this._name=e||"nanobus",this._starListeners=[],this._listeners={}}e.exports=i,i.prototype.emit=function(e){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.emit: eventName should be type string or symbol");for(var t=[],n=1,r=arguments.length;n<r;n++)t.push(arguments[n]);var i=s(this._name+"('"+e.toString()+"')"),a=this._listeners[e];return a&&a.length>0&&this._emit(this._listeners[e],t),this._starListeners.length>0&&this._emit(this._starListeners,e,t,i.uuid),i(),this},i.prototype.on=i.prototype.addListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.on: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.on: listener should be type function"),"*"===e?this._starListeners.push(t):(this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)),this},i.prototype.prependListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.prependListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.prependListener: listener should be type function"),"*"===e?this._starListeners.unshift(t):(this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].unshift(t)),this},i.prototype.once=function(e,t){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.once: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.once: listener should be type function");var n=this;return this.on(e,(function r(){t.apply(n,arguments),n.removeListener(e,r)})),this},i.prototype.prependOnceListener=function(e,t){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.prependOnceListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.prependOnceListener: listener should be type function");var n=this;return this.prependListener(e,(function r(){t.apply(n,arguments),n.removeListener(e,r)})),this},i.prototype.removeListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.removeListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.removeListener: listener should be type function"),"*"===e?(this._starListeners=this._starListeners.slice(),n(this._starListeners,t)):(void 0!==this._listeners[e]&&(this._listeners[e]=this._listeners[e].slice()),n(this._listeners[e],t));function n(e,t){if(e){var n=e.indexOf(t);return-1!==n?(r(e,n,1),!0):void 0}}},i.prototype.removeAllListeners=function(e){return e?"*"===e?this._starListeners=[]:this._listeners[e]=[]:(this._starListeners=[],this._listeners={}),this},i.prototype.listeners=function(e){var t="*"!==e?this._listeners[e]:this._starListeners,n=[];if(t)for(var r=t.length,s=0;s<r;s++)n.push(t[s]);return n},i.prototype._emit=function(e,t,n,r){if(void 0!==e&&0!==e.length){void 0===n&&(n=t,t=null),t&&(n=void 0!==r?[t].concat(n,r):[t].concat(n));for(var s=e.length,o=0;o<s;o++){var i=e[o];i.apply(i,n)}}}},8061:(e,t,n)=>{var r=n(9204),s="undefined"!=typeof window;function o(e){this.hasWindow=e,this.hasIdle=this.hasWindow&&window.requestIdleCallback,this.method=this.hasIdle?window.requestIdleCallback.bind(window):this.setTimeout,this.scheduled=!1,this.queue=[]}o.prototype.push=function(e){r.equal(typeof e,"function","nanoscheduler.push: cb should be type function"),this.queue.push(e),this.schedule()},o.prototype.schedule=function(){if(!this.scheduled){this.scheduled=!0;var e=this;this.method((function(t){for(;e.queue.length&&t.timeRemaining()>0;)e.queue.shift()(t);e.scheduled=!1,e.queue.length&&e.schedule()}))}},o.prototype.setTimeout=function(e){setTimeout(e,0,{timeRemaining:function(){return 1}})},e.exports=function(){var e;return s?(window._nanoScheduler||(window._nanoScheduler=new o(!0)),e=window._nanoScheduler):e=new o,e}},7999:(e,t,n)=>{var r,s=n(8061)(),o=n(9204);i.disabled=!0;try{r=window.performance,i.disabled="true"===window.localStorage.DISABLE_NANOTIMING||!r.mark}catch(e){}function i(e){if(o.equal(typeof e,"string","nanotiming: name should be type string"),i.disabled)return a;var t=(1e4*r.now()).toFixed()%Number.MAX_SAFE_INTEGER,n="start-"+t+"-"+e;function c(o){var i="end-"+t+"-"+e;r.mark(i),s.push((function(){var s=null;try{var a=e+" ["+t+"]";r.measure(a,n,i),r.clearMarks(n),r.clearMarks(i)}catch(e){s=e}o&&o(s,e)}))}return r.mark(n),c.uuid=t,c}function a(e){e&&s.push((function(){e(new Error("nanotiming: performance API unavailable"))}))}e.exports=i},7069:e=>{"use strict";e.exports=function(e,t,n){var r,s=e.length;if(!(t>=s||0===n)){var o=s-(n=t+n>s?s-t:n);for(r=t;r<o;++r)e[r]=e[r+n];e.length=o}}},80:e=>{"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(6559),t=n.n(e);class r{constructor(e){this.el=e,this.events=new(t()),this.Form=new s(e.querySelector(".new")),this.initEvents()}onOrdered(e){this.events.addListener("ordered",e)}getListScreen(){var e;return null!==(e=this.el.dataset.type)&&void 0!==e?e:""}initEvents(){const e=this.getButton();e&&e.addEventListener("click",(t=>{t.preventDefault(),e.classList.contains("open")?this.cancelNewLayout():this.addNewLayout()})),jQuery(this.el).find(".layouts__items").sortable({items:".layouts__item",axis:"y",containment:jQuery(this.el).find(".layouts__items"),handle:".cpacicon-move",stop:()=>{this.setNewOrder()}})}setNewOrder(){this.storeLayoutOrder(this.getOrder()).done((()=>{this.events.emit("ordered",this.getOrder())}))}getOrder(){let e=[];return this.el.querySelectorAll(".layouts__item").forEach((t=>{var n;e.push(null!==(n=t.dataset.screen)&&void 0!==n?n:"")})),e}storeLayoutOrder(e){return jQuery.ajax({url:ajaxurl,method:"POST",data:{_ajax_nonce:AC._ajax_nonce,action:"acp-update-layout-order",list_screen:this.getListScreen(),order:e}})}getButton(){return this.el.querySelector("a.add-new")}addNewLayout(){var e;null===(e=this.getButton())||void 0===e||e.classList.add("open"),this.Form.open()}cancelNewLayout(){var e;null===(e=this.getButton())||void 0===e||e.classList.remove("open"),this.Form.close()}}class s{constructor(e){this.el=e,this.initEvents()}open(){jQuery(this.el).slideDown()}close(){jQuery(this.el).slideUp()}initEvents(){var e;null===(e=this.el.querySelector(".new form"))||void 0===e||e.addEventListener("submit",(e=>{var t,n;(null===(t=this.el.querySelector(".row.name input"))||void 0===t?void 0:t.value.trim())||(e.preventDefault(),null===(n=this.el.querySelector(".row.name"))||void 0===n||n.classList.add("save-error"))}))}}class o{constructor(e){var t,n,r,s;this.form=e,this.columns=e.getColumns(),this.setting=e.getElement().querySelector('[data-setting="sorting-preference"]')||document.createElement("div"),this.selectElement=null!==(n=null===(t=this.setting)||void 0===t?void 0:t.querySelector('[name="sorting"]'))&&void 0!==n?n:document.createElement("select"),this.orderSelectElement=null!==(s=null===(r=this.setting)||void 0===r?void 0:r.querySelector('[name="sorting_order"]'))&&void 0!==s?s:document.createElement("select"),this.setting&&this.init()}getPreferences(e){var t,n,r,s;return e.sorting=null!==(n=null===(t=this.selectElement)||void 0===t?void 0:t.value)&&void 0!==n?n:"",e.sorting_order=null!==(s=null===(r=this.orderSelectElement)||void 0===r?void 0:r.value)&&void 0!==s?s:"",e}init(){this.columns.forEach((e=>{if(this.isSortable(e)){let n=document.createElement("option");if(n.value=e.getName(),n.text=(t=e.getJson().label)?t.replace(/(<([^>]+)>)/gi,""):"",!n.text){let t=e.getElement().querySelector(".ac-column__header__type > span");t&&(n.text=t.innerText)}this.selectElement.appendChild(n)}var t}));let e=this.selectElement.dataset.sorting;this.selectElement.querySelectorAll(`[value="${e}"]`).forEach((e=>e.selected=!0))}isSortable(e){return e.getElement().querySelectorAll('table[data-setting="sort"] input[value="on"]:checked').length>0}}const i=()=>acp_settings,a=()=>acp_settings_i18n;class c{constructor(e){this.Form=e,this.init()}getPreferences(e){var t;let n=this.Form.querySelector("select.roles");return e.roles=[...null!==(t=null==n?void 0:n.selectedOptions)&&void 0!==t?t:[]].map((e=>e.value)),e}init(){jQuery(this.Form.querySelector("select.roles")).ac_select2({placeholder:a().roles,theme:"acs2"}).on("select2:select",(function(){jQuery(this).ac_select2("open")})).on("select2:open",(function(){setTimeout((function(){jQuery(".select2-container.select2-container--open .select2-dropdown li[role=group]").each((function(){jQuery(this).find("li[aria-selected=false]").length>0?jQuery(this).show():jQuery(this).hide()}))}),1)}))}}class l{constructor(e){this.Form=e,this.init()}getPreferences(e){var t;let n=this.Form.querySelector("select.users");return e.users=[...null!==(t=null==n?void 0:n.selectedOptions)&&void 0!==t?t:[]].map((e=>e.value)),e}init(){jQuery(this.Form.querySelector("select.users")).ac_select2({placeholder:a().users,multiple:!0,theme:"acs2",minimumInputLength:0,escapeMarkup:function(e){return jQuery("<div>"+e+"</div>").text()},ajax:{type:"POST",url:ajaxurl,dataType:"json",delay:350,data:function(e){return{action:"acp-layout-get-users",_ajax_nonce:AC._ajax_nonce,search:e.term,page:e.page}},processResults:function(e){return e&&e.success&&e.data?e.data:{results:[]}},cache:!0}})}}class u{getPreferences(e){return e.horizontal_scrolling=document.querySelector("input[name=horizontal_scrolling][type=checkbox]").checked?"on":"off",e}}function d(){}function h(e){return e()}function f(){return Object.create(null)}function p(e){e.forEach(h)}function m(e){return"function"==typeof e}function v(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function g(e){return 0===Object.keys(e).length}function y(e,t,n,r){if(e){const s=b(e,t,n,r);return e[0](s)}}function b(e,t,n,r){return e[1]&&r?function(e,t){for(const n in t)e[n]=t[n];return e}(n.ctx.slice(),e[1](r(t))):n.ctx}function _(e,t,n,r){if(e[2]&&r){const s=e[2](r(n));if(void 0===t.dirty)return s;if("object"==typeof s){const e=[],n=Math.max(t.dirty.length,s.length);for(let r=0;r<n;r+=1)e[r]=t.dirty[r]|s[r];return e}return t.dirty|s}return t.dirty}function w(e,t,n,r,s,o){if(s){const i=b(t,n,r,o);e.p(i,s)}}function x(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let e=0;e<n;e++)t[e]=-1;return t}return-1}new Set;let k,$=!1;function E(e,t){e.appendChild(t)}function S(e,t,n){const r=function(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}(e);if(!r.getElementById(t)){const e=O("style");e.id=t,e.textContent=n,function(e,t){E(e.head||e,t),t.sheet}(r,e)}}function L(e,t,n){e.insertBefore(t,n||null)}function q(e){e.parentNode&&e.parentNode.removeChild(e)}function j(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function O(e){return document.createElement(e)}function C(e){return document.createTextNode(e)}function N(){return C(" ")}function A(){return C("")}function T(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function P(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function R(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function B(e,t,n){e.classList[n?"add":"remove"](t)}function F(e){k=e}function I(){if(!k)throw new Error("Function called outside component initialization");return k}function M(){const e=I();return(t,n,{cancelable:r=!1}={})=>{const s=e.$$.callbacks[t];if(s){const o=function(e,t,{bubbles:n=!1,cancelable:r=!1}={}){const s=document.createEvent("CustomEvent");return s.initCustomEvent(e,n,r,t),s}(t,n,{cancelable:r});return s.slice().forEach((t=>{t.call(e,o)})),!o.defaultPrevented}return!0}}new Map;const U=[],V=[],D=[],H=[],z=Promise.resolve();let J=!1;function Q(e){D.push(e)}function W(e){H.push(e)}const G=new Set;let X=0;function K(){const e=k;do{for(;X<U.length;){const e=U[X];X++,F(e),Y(e.$$)}for(F(null),U.length=0,X=0;V.length;)V.pop()();for(let e=0;e<D.length;e+=1){const t=D[e];G.has(t)||(G.add(t),t())}D.length=0}while(U.length);for(;H.length;)H.pop()();J=!1,G.clear(),F(e)}function Y(e){if(null!==e.fragment){e.update(),p(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Q)}}const Z=new Set;let ee,te;function ne(){ee={r:0,c:[],p:ee}}function re(){ee.r||p(ee.c),ee=ee.p}function se(e,t){e&&e.i&&(Z.delete(e),e.i(t))}function oe(e,t,n,r){if(e&&e.o){if(Z.has(e))return;Z.add(e),ee.c.push((()=>{Z.delete(e),r&&(n&&e.d(1),r())})),e.o(t)}else r&&r()}function ie(e,t,n){const r=e.$$.props[t];void 0!==r&&(e.$$.bound[r]=n,n(e.$$.ctx[r]))}function ae(e){e&&e.c()}function ce(e,t,n,r){const{fragment:s,after_update:o}=e.$$;s&&s.m(t,n),r||Q((()=>{const t=e.$$.on_mount.map(h).filter(m);e.$$.on_destroy?e.$$.on_destroy.push(...t):p(t),e.$$.on_mount=[]})),o.forEach(Q)}function le(e,t){const n=e.$$;null!==n.fragment&&(p(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ue(e,t,n,r,s,o,i,a=[-1]){const c=k;F(e);const l=e.$$={fragment:null,ctx:[],props:o,update:d,not_equal:s,bound:f(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:f(),dirty:a,skip_bound:!1,root:t.target||c.$$.root};i&&i(l.root);let u=!1;if(l.ctx=n?n(e,t.props||{},((t,n,...r)=>{const o=r.length?r[0]:n;return l.ctx&&s(l.ctx[t],l.ctx[t]=o)&&(!l.skip_bound&&l.bound[t]&&l.bound[t](o),u&&function(e,t){-1===e.$$.dirty[0]&&(U.push(e),J||(J=!0,z.then(K)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),n})):[],l.update(),u=!0,p(l.before_update),l.fragment=!!r&&r(l.ctx),t.target){if(t.hydrate){$=!0;const e=(h=t.target,Array.from(h.childNodes));l.fragment&&l.fragment.l(e),e.forEach(q)}else l.fragment&&l.fragment.c();t.intro&&se(e.$$.fragment),ce(e,t.target,t.anchor,t.customElement),$=!1,K()}var h;F(c)}"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global,new Set(["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"]),"function"==typeof HTMLElement&&(te=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(m);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){p(this.$$.on_disconnect)}$destroy(){le(this,1),this.$destroy=d}$on(e,t){if(!m(t))return d;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&!g(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});class de{$destroy(){le(this,1),this.$destroy=d}$on(e,t){if(!m(t))return d;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&!g(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function he(e){S(e,"svelte-1qts9gw",".ac-toggle-v2__toggle__track.svelte-1qts9gw.svelte-1qts9gw.svelte-1qts9gw{background:var(--baseBackground, #d8d8d8)}.ac-toggle-v2__toggle.svelte-1qts9gw input[type=checkbox].svelte-1qts9gw:checked~.ac-toggle-v2__toggle__track.svelte-1qts9gw{background:var(--activeBackground, var(--ac-primary-color))}.ac-toggle-v2.svelte-1qts9gw input[type=checkbox].svelte-1qts9gw:focus+.ac-toggle-v2__toggle__track.svelte-1qts9gw{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ac-primary-color)}")}function fe(e){let t;const n=e[10].default,r=y(n,e,e[9],null);return{c(){r&&r.c()},m(e,n){r&&r.m(e,n),t=!0},p(e,s){r&&r.p&&(!t||512&s)&&w(r,n,e,e[9],t?_(n,e[9],s,null):x(e[9]),null)},i(e){t||(se(r,e),t=!0)},o(e){oe(r,e),t=!1},d(e){r&&r.d(e)}}}function pe(e){let t;return{c(){t=C(e[3])},m(e,n){L(e,t,n)},p(e,n){8&n&&R(t,e[3])},i:d,o:d,d(e){e&&q(t)}}}function me(e){let t,n,r,s,o,i,a,c,l,u,d,h,f,m;const v=[pe,fe],g=[];function y(e,t){return e[3]?0:1}return u=y(e),d=g[u]=v[u](e),{c(){t=O("div"),n=O("span"),r=O("input"),s=N(),o=O("span"),i=N(),a=O("span"),c=N(),l=O("label"),d.c(),P(r,"class","ac-toggle-v2__toggle__input svelte-1qts9gw"),P(r,"type","checkbox"),r.__value="off",r.value=r.__value,P(r,"id",e[4]),r.disabled=e[2],P(o,"class","ac-toggle-v2__toggle__track svelte-1qts9gw"),P(a,"class","ac-toggle-v2__toggle__thumb"),P(n,"class","ac-toggle-v2__toggle svelte-1qts9gw"),P(l,"class","ac-toggle-v2__label"),P(l,"for",e[4]),P(t,"class","ac-toggle-v2 svelte-1qts9gw"),P(t,"style",e[1])},m(d,p){L(d,t,p),E(t,n),E(n,r),r.checked=e[0],E(n,s),E(n,o),E(n,i),E(n,a),E(t,c),E(t,l),g[u].m(l,null),h=!0,f||(m=[T(r,"change",e[11]),T(r,"input",e[12])],f=!0)},p(e,[n]){(!h||4&n)&&(r.disabled=e[2]),1&n&&(r.checked=e[0]);let s=u;u=y(e),u===s?g[u].p(e,n):(ne(),oe(g[s],1,1,(()=>{g[s]=null})),re(),d=g[u],d?d.p(e,n):(d=g[u]=v[u](e),d.c()),se(d,1),d.m(l,null)),(!h||2&n)&&P(t,"style",e[1])},i(e){h||(se(d),h=!0)},o(e){oe(d),h=!1},d(e){e&&q(t),g[u].d(),f=!1,p(m)}}}function ve(e,t,n){let r,s,{$$slots:o={},$$scope:i}=t,{customStyles:a=""}=t,{checked:c}=t,{trueValue:l=""}=t,{falseValue:u=""}=t,{disabled:d=!1}=t,h=(()=>{let e=()=>Math.floor(65536*(1+Math.random())).toString(16).substring(1);return"ac"+e()+e()+"-"+e()+"-"+e()+"-"+e()})(),f=M();const p=()=>{setTimeout((()=>f("input")))};return e.$$set=e=>{"customStyles"in e&&n(1,a=e.customStyles),"checked"in e&&n(0,c=e.checked),"trueValue"in e&&n(6,l=e.trueValue),"falseValue"in e&&n(7,u=e.falseValue),"disabled"in e&&n(2,d=e.disabled),"$$scope"in e&&n(9,i=e.$$scope)},e.$$.update=()=>{192&e.$$.dirty&&n(8,r=null!=u?u:l),321&e.$$.dirty&&n(3,s=c?l:r)},[c,a,d,s,h,p,l,u,r,i,o,function(){c=this.checked,n(0,c)},()=>p()]}const ge=class extends de{constructor(e){super(),ue(this,e,ve,me,v,{customStyles:1,checked:0,trueValue:6,falseValue:7,disabled:2},he)}};function ye(e){S(e,"svelte-1e1mv6c",".acui-checkbox.svelte-1e1mv6c.svelte-1e1mv6c.svelte-1e1mv6c{display:flex}.acui-checkbox.svelte-1e1mv6c input.svelte-1e1mv6c.svelte-1e1mv6c{position:absolute;left:0;opacity:0;outline:none;z-index:-1}.acui-checkbox__check.svelte-1e1mv6c.svelte-1e1mv6c.svelte-1e1mv6c{position:relative;display:inline-block;align-items:center;justify-content:center;border-radius:1px;width:20px;height:20px;background:#fff;border:1px solid #8c8f94;transform:scale(80%) translateY(-2px);margin-right:5px;text-align:center}.acui-checkbox__check.svelte-1e1mv6c svg.svelte-1e1mv6c.svelte-1e1mv6c{position:absolute;left:-2px;top:-2px;fill:white;display:none}.acui-checkbox.svelte-1e1mv6c input[type=checkbox].svelte-1e1mv6c:checked+.acui-checkbox__check.svelte-1e1mv6c{border-color:var(--ac-primary-color);background:var(--ac-primary-color)}.acui-checkbox.svelte-1e1mv6c input[type=checkbox]:checked+.acui-checkbox__check svg.svelte-1e1mv6c.svelte-1e1mv6c{display:block}.acui-checkbox.indeterminate.svelte-1e1mv6c input[type=checkbox].svelte-1e1mv6c+.acui-checkbox__check.svelte-1e1mv6c{border-color:var(--ac-primary-color);background:var(--ac-primary-color) url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpath fill='%23fff' d='M.15.4h.7v.2h-.7z'/%3E%3C/svg%3E\") no-repeat 50%}.acui-checkbox.svelte-1e1mv6c input[type=checkbox].svelte-1e1mv6c:focus+.acui-checkbox__check.svelte-1e1mv6c{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ac-primary-color)}.acui-checkbox.svelte-1e1mv6c input[disabled].svelte-1e1mv6c+.acui-checkbox__check.svelte-1e1mv6c{cursor:not-allowed;filter:grayscale(100%);opacity:.3}")}function be(e){let t;const n=e[12].default,r=y(n,e,e[11],null);return{c(){r&&r.c()},m(e,n){r&&r.m(e,n),t=!0},p(e,s){r&&r.p&&(!t||2048&s)&&w(r,n,e,e[11],t?_(n,e[11],s,null):x(e[11]),null)},i(e){t||(se(r,e),t=!0)},o(e){oe(r,e),t=!1},d(e){r&&r.d(e)}}}function _e(e){let t;return{c(){t=C(e[5])},m(e,n){L(e,t,n)},p(e,n){32&n&&R(t,e[5])},i:d,o:d,d(e){e&&q(t)}}}function we(e){let t,n,r,s,o,i,a,c,l,u,d;const h=[_e,be],f=[];function m(e,t){return e[5]?0:1}return a=m(e),c=f[a]=h[a](e),{c(){t=O("label"),n=O("input"),r=N(),s=O("span"),s.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" role="presentation" class="components-checkbox-control__checked svelte-1e1mv6c" aria-hidden="true" focusable="false"><path d="M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"></path></svg>',o=N(),i=O("span"),c.c(),P(n,"type","checkbox"),n.__value=e[1],n.value=n.__value,n.disabled=e[2],P(n,"class","svelte-1e1mv6c"),P(s,"class","acui-checkbox__check svelte-1e1mv6c"),P(i,"class","acui-checkbox__label"),P(t,"class","acui-checkbox svelte-1e1mv6c"),B(t,"indeterminate",e[0]),B(t,"disabled",e[2])},m(c,h){L(c,t,h),E(t,n),n.checked=e[3],e[14](n),E(t,r),E(t,s),E(t,o),E(t,i),f[a].m(i,null),l=!0,u||(d=[T(n,"change",e[13]),T(n,"input",e[6])],u=!0)},p(e,[r]){(!l||2&r)&&(n.__value=e[1],n.value=n.__value),(!l||4&r)&&(n.disabled=e[2]),8&r&&(n.checked=e[3]);let s=a;a=m(e),a===s?f[a].p(e,r):(ne(),oe(f[s],1,1,(()=>{f[s]=null})),re(),c=f[a],c?c.p(e,r):(c=f[a]=h[a](e),c.c()),se(c,1),c.m(i,null)),(!l||1&r)&&B(t,"indeterminate",e[0]),(!l||4&r)&&B(t,"disabled",e[2])},i(e){l||(se(c),l=!0)},o(e){oe(c),l=!1},d(n){n&&q(t),e[14](null),f[a].d(),u=!1,p(d)}}}function xe(e,t,n){let r,s,o,{$$slots:i={},$$scope:a}=t,{value:c}=t,{trueValue:l=""}=t,{falseValue:u=""}=t,{nativeValue:d=null}=t,{indeterminate:h=!1}=t,{disabled:f=!1}=t,p=!1,m=M();const v=e=>{if(Array.isArray(e)){let t=e.find((e=>e===d));n(3,p=void 0!==t)}else n(3,p=e)};var g;return g=()=>{v(c)},I().$$.on_mount.push(g),e.$$set=e=>{"value"in e&&n(7,c=e.value),"trueValue"in e&&n(8,l=e.trueValue),"falseValue"in e&&n(9,u=e.falseValue),"nativeValue"in e&&n(1,d=e.nativeValue),"indeterminate"in e&&n(0,h=e.indeterminate),"disabled"in e&&n(2,f=e.disabled),"$$scope"in e&&n(11,a=e.$$scope)},e.$$.update=()=>{128&e.$$.dirty&&v(c),768&e.$$.dirty&&n(10,r=null!=u?u:l),1288&e.$$.dirty&&n(5,s=p?l:r)},[h,d,f,p,o,s,()=>{n(0,h=!1),o.checked?(d&&Array.isArray(c)?(c.push(d),n(7,c)):n(7,c=!0),m("input")):(d&&Array.isArray(c)?(n(7,c=c.filter((e=>e!==d))),n(7,c)):n(7,c=!1),m("input"))},c,l,u,r,a,i,function(){p=this.checked,n(3,p)},function(e){V[e?"unshift":"push"]((()=>{o=e,n(4,o)}))}]}const ke=class extends de{constructor(e){super(),ue(this,e,xe,we,v,{value:7,trueValue:8,falseValue:9,nativeValue:1,indeterminate:0,disabled:2},ye)}};function $e(e,t,n){const r=e.slice();return r[8]=t[n],r[9]=t,r[10]=n,r}function Ee(e){let t,n=e[0].label+"";return{c(){t=C(n)},m(e,n){L(e,t,n)},p(e,r){1&r&&n!==(n=e[0].label+"")&&R(t,n)},d(e){e&&q(t)}}}function Se(e){let t,n,r=e[1].elements,s=[];for(let t=0;t<r.length;t+=1)s[t]=je($e(e,r,t));const o=e=>oe(s[e],1,1,(()=>{s[e]=null}));return{c(){t=O("div");for(let e=0;e<s.length;e+=1)s[e].c();P(t,"class","acu-mb-4")},m(e,r){L(e,t,r);for(let e=0;e<s.length;e+=1)s[e].m(t,null);n=!0},p(e,n){if(7&n){let i;for(r=e[1].elements,i=0;i<r.length;i+=1){const o=$e(e,r,i);s[i]?(s[i].p(o,n),se(s[i],1)):(s[i]=je(o),s[i].c(),se(s[i],1),s[i].m(t,null))}for(ne(),i=r.length;i<s.length;i+=1)o(i);re()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)se(s[e]);n=!0}},o(e){s=s.filter(Boolean);for(let e=0;e<s.length;e+=1)oe(s[e]);n=!1},d(e){e&&q(t),j(s,e)}}}function Le(e){let t,n,r,s,o;function i(t){e[6](t,e[8])}let a={disabled:!e[0].active||e[2],$$slots:{default:[qe]},$$scope:{ctx:e}};return void 0!==e[8].active&&(a.value=e[8].active),n=new ke({props:a}),V.push((()=>ie(n,"value",i))),{c(){t=O("div"),ae(n.$$.fragment),s=N(),P(t,"class","acu-pl-8.5 acu-mb-1")},m(e,r){L(e,t,r),ce(n,t,null),E(t,s),o=!0},p(t,s){e=t;const o={};5&s&&(o.disabled=!e[0].active||e[2]),2050&s&&(o.$$scope={dirty:s,ctx:e}),!r&&2&s&&(r=!0,o.value=e[8].active,W((()=>r=!1))),n.$set(o)},i(e){o||(se(n.$$.fragment,e),o=!0)},o(e){oe(n.$$.fragment,e),o=!1},d(e){e&&q(t),le(n)}}}function qe(e){let t,n=e[8].label+"";return{c(){t=C(n)},m(e,n){L(e,t,n)},p(e,r){2&r&&n!==(n=e[8].label+"")&&R(t,n)},d(e){e&&q(t)}}}function je(e){let t,n,r=e[8].dependent_on===e[0].name&&Le(e);return{c(){r&&r.c(),t=A()},m(e,s){r&&r.m(e,s),L(e,t,s),n=!0},p(e,n){e[8].dependent_on===e[0].name?r?(r.p(e,n),3&n&&se(r,1)):(r=Le(e),r.c(),se(r,1),r.m(t.parentNode,t)):r&&(ne(),oe(r,1,1,(()=>{r=null})),re())},i(e){n||(se(r),n=!0)},o(e){oe(r),n=!1},d(e){r&&r.d(e),e&&q(t)}}}function Oe(e){let t,n,r,s,o,i,a=e[1].elements.filter(e[4]).length>0;function c(t){e[5](t)}let l={disabled:e[2],$$slots:{default:[Ee]},$$scope:{ctx:e}};void 0!==e[0].active&&(l.checked=e[0].active),r=new ge({props:l}),V.push((()=>ie(r,"checked",c))),r.$on("input",e[3]);let u=a&&Se(e);return{c(){t=O("div"),n=O("div"),ae(r.$$.fragment),o=N(),u&&u.c(),P(n,"class","acu-mb-4 acu-mb-1.5")},m(e,s){L(e,t,s),E(t,n),ce(r,n,null),E(t,o),u&&u.m(t,null),i=!0},p(e,[n]){const o={};4&n&&(o.disabled=e[2]),2049&n&&(o.$$scope={dirty:n,ctx:e}),!s&&1&n&&(s=!0,o.checked=e[0].active,W((()=>s=!1))),r.$set(o),3&n&&(a=e[1].elements.filter(e[4]).length>0),a?u?(u.p(e,n),3&n&&se(u,1)):(u=Se(e),u.c(),se(u,1),u.m(t,null)):u&&(ne(),oe(u,1,1,(()=>{u=null})),re())},i(e){i||(se(r.$$.fragment,e),se(u),i=!0)},o(e){oe(r.$$.fragment,e),oe(u),i=!1},d(e){e&&q(t),le(r),u&&u.d()}}}function Ce(e,t,n){let{element:r}=t,{group:s}=t,{disabled:o=!1}=t;return e.$$set=e=>{"element"in e&&n(0,r=e.element),"group"in e&&n(1,s=e.group),"disabled"in e&&n(2,o=e.disabled)},[r,s,o,()=>{((e=!0)=>{s.elements.forEach((t=>{t.dependent_on===r.name&&(t.active=e)})),n(1,s)})(r.active)},e=>e.dependent_on===r.name,function(t){e.$$.not_equal(r.active,t)&&(r.active=t,n(0,r))},function(t,r){e.$$.not_equal(r.active,t)&&(r.active=t,n(1,s))}]}const Ne=class extends de{constructor(e){super(),ue(this,e,Ce,Oe,v,{element:0,group:1,disabled:2})}};class Ae{constructor(e){this.groups=e}getElements(){let e=[];return this.groups.forEach((t=>{t.elements.forEach((t=>e.push(t)))})),e}}jQuery;var Te=n(9403),Pe=n.n(Te);function Re(e,t,n){const r=e.slice();return r[5]=t[n],r[6]=t,r[7]=n,r}function Be(e,t,n){const r=e.slice();return r[8]=t[n],r[9]=t,r[10]=n,r}function Fe(e){let t,n,r,s;function o(t){e[3](t,e[8],e[9],e[10])}function i(t){e[4](t,e[5],e[6],e[7])}let a={disabled:e[1]};return void 0!==e[8]&&(a.element=e[8]),void 0!==e[5]&&(a.group=e[5]),t=new Ne({props:a}),V.push((()=>ie(t,"element",o))),V.push((()=>ie(t,"group",i))),{c(){ae(t.$$.fragment)},m(e,n){ce(t,e,n),s=!0},p(s,o){e=s;const i={};2&o&&(i.disabled=e[1]),!n&&1&o&&(n=!0,i.element=e[8],W((()=>n=!1))),!r&&1&o&&(r=!0,i.group=e[5],W((()=>r=!1))),t.$set(i)},i(e){s||(se(t.$$.fragment,e),s=!0)},o(e){oe(t.$$.fragment,e),s=!1},d(e){le(t,e)}}}function Ie(e){let t,n,r=null===e[8].dependent_on&&Fe(e);return{c(){r&&r.c(),t=A()},m(e,s){r&&r.m(e,s),L(e,t,s),n=!0},p(e,n){null===e[8].dependent_on?r?(r.p(e,n),1&n&&se(r,1)):(r=Fe(e),r.c(),se(r,1),r.m(t.parentNode,t)):r&&(ne(),oe(r,1,1,(()=>{r=null})),re())},i(e){n||(se(r),n=!0)},o(e){oe(r),n=!1},d(e){r&&r.d(e),e&&q(t)}}}function Me(e){let t,n,r,s,o,i,a,c=e[5].group_label+"",l=e[5].elements,u=[];for(let t=0;t<l.length;t+=1)u[t]=Ie(Be(e,l,t));const d=e=>oe(u[e],1,1,(()=>{u[e]=null}));return{c(){t=O("div"),n=O("strong"),r=C(c),s=N();for(let e=0;e<u.length;e+=1)u[e].c();var a,l;o=N(),P(n,"class","acu-mb-1 acu-block acu-uppercase"),a=n,l="color",null==="#8F8F8F"?a.style.removeProperty(l):a.style.setProperty(l,"#8F8F8F",""),P(t,"data-group-name",i=e[5].group_name),P(t,"class","acu-grow acu-pr-1")},m(e,i){L(e,t,i),E(t,n),E(n,r),E(t,s);for(let e=0;e<u.length;e+=1)u[e].m(t,null);E(t,o),a=!0},p(e,n){if((!a||1&n)&&c!==(c=e[5].group_label+"")&&R(r,c),3&n){let r;for(l=e[5].elements,r=0;r<l.length;r+=1){const s=Be(e,l,r);u[r]?(u[r].p(s,n),se(u[r],1)):(u[r]=Ie(s),u[r].c(),se(u[r],1),u[r].m(t,o))}for(ne(),r=l.length;r<u.length;r+=1)d(r);re()}(!a||1&n&&i!==(i=e[5].group_name))&&P(t,"data-group-name",i)},i(e){if(!a){for(let e=0;e<l.length;e+=1)se(u[e]);a=!0}},o(e){u=u.filter(Boolean);for(let e=0;e<u.length;e+=1)oe(u[e]);a=!1},d(e){e&&q(t),j(u,e)}}}function Ue(e){let t,n,r=e[0],s=[];for(let t=0;t<r.length;t+=1)s[t]=Me(Re(e,r,t));const o=e=>oe(s[e],1,1,(()=>{s[e]=null}));return{c(){t=O("div");for(let e=0;e<s.length;e+=1)s[e].c();P(t,"class","lg:acu-flex acu-pb-6")},m(e,r){L(e,t,r);for(let e=0;e<s.length;e+=1)s[e].m(t,null);n=!0},p(e,[n]){if(3&n){let i;for(r=e[0],i=0;i<r.length;i+=1){const o=Re(e,r,i);s[i]?(s[i].p(o,n),se(s[i],1)):(s[i]=Me(o),s[i].c(),se(s[i],1),s[i].m(t,null))}for(ne(),i=r.length;i<s.length;i+=1)o(i);re()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)se(s[e]);n=!0}},o(e){s=s.filter(Boolean);for(let e=0;e<s.length;e+=1)oe(s[e]);n=!1},d(e){e&&q(t),j(s,e)}}}function Ve(e,t,n){let{groups:r}=t,{disabled:s=!1}=t;return e.$$set=e=>{"groups"in e&&n(0,r=e.groups),"disabled"in e&&n(1,s=e.disabled)},[r,s,()=>{const e=new Ae(r).getElements();let t={};return e.forEach((e=>{t[e.name]=e.active?"off":"on"})),t},function(e,t,s,o){s[o]=e,n(0,r)},function(e,t,s,o){s[o]=e,n(0,r)}]}n(1719);const De=class extends de{constructor(e){super(),ue(this,e,Ve,Ue,v,{groups:0,disabled:1,getPreferences:2})}get getPreferences(){return this.$$.ctx[2]}};class He{constructor(e,t){this.element=e,this.disabled=t;const n=e.querySelector('[data-component="acp-table-elements"]');this.component=new De({target:n,props:{disabled:this.disabled,groups:i().table_elements}})}getPreferences(e){return Object.assign(e,this.component.getPreferences())}}class ze{constructor(e,t,n){this.key=e,this.element=t,this.defaultValue=n}getPreferences(e){var t,n;return e[this.key]=null!==(n=null===(t=this.element)||void 0===t?void 0:t.value)&&void 0!==n?n:this.defaultValue,e}}class Je{constructor(e,t,n){this.element=e,this.form=t,this.disabled=n,this.init()}init(){this.form.registerPreference(new c(this.element)),this.form.registerPreference(new l(this.element)),this.form.registerPreference(new o(this.form)),this.form.registerPreference(new He(this.element,this.disabled)),this.form.registerPreference(new u),this.form.registerPreference(new ze("primary_column",this.element.querySelector('select[name="primary_column"]'),"")),this.form.registerPreference(new ze("filter_segment",this.element.querySelector('select[name="filter_segment"]'),""))}}class Qe{constructor(e){this.element=e}static find(e){let t=document.querySelector(e);return null===t?null:new Qe(t)}static create(e){return new Qe(document.createElement(e))}getElement(){return this.element}addId(e){return this.element.id=e,this}toggleClass(e,t=null){return null===t?this.element.classList.contains(e)?this.removeClass(e):this.addClass(e):t?this.addClass(e):this.removeClasses(e)}addClass(e){return this.element.classList.add(e),this}addClasses(...e){return e.forEach((e=>this.addClass(e))),this}removeClasses(...e){return e.forEach((e=>this.removeClass(e))),this}removeClass(e){return this.element.classList.remove(e),this}setAttribute(e,t){return this.element.setAttribute(e,t),this}setAttributes(e){return Object.keys(e).forEach((t=>this.setAttribute(t,e[t]))),this}addHtml(e){return this.element.innerHTML=e,this}append(e){return this.element.appendChild(e),this}appendSelfTo(e){return e.append(this.element),this}prepend(e){return this.element.prepend(e),this}prependSelfTo(e){return e.prepend(this.element),this}css(e,t){return this.element.style[e]=t,this}insertAfter(e){var t;try{null===(t=this.element.parentElement)||void 0===t||t.insertBefore(e,this.element.nextElementSibling)}catch(e){console.error("Not able to insert element after current node",this.element)}}insertSelfBefore(e){var t;try{null===(t=e.parentElement)||void 0===t||t.insertBefore(this.element,e)}catch(e){console.error("Not able to insert element before current node",this.element)}return this}insertBefore(e){var t;try{null===(t=this.element.parentElement)||void 0===t||t.insertBefore(e,this.element)}catch(e){console.error("Not able to insert element before current node",this.element)}return this}addEventListener(e,t){return this.element.addEventListener(e,t),this}addEventListeners(e,t){return e.forEach((e=>this.addEventListener(e,t))),this}}class We{constructor(){this.filters={}}addFilter(e,t,n=10){this.filters.hasOwnProperty(e)||(this.filters[e]={}),this.filters[e].hasOwnProperty(n)||(this.filters[e][n]=[]),this.filters[e][n].push(t)}applyFilters(e,t,n={}){return this.filters.hasOwnProperty(e)?(Object.keys(this.filters[e]).forEach((r=>{this.filters[e][parseInt(r)].forEach((e=>{t=e(t,n)}))})),t):t}}const Ge=(window.AC_SERVICES||(window.AC_SERVICES=new class{constructor(){this.services={},this.events=new(Pe()),this.filters=new We,this.$=Qe}registerService(e,t){return this.services[e]=t,this.events.emit(`Service.Registered.${e}`,t),this}getService(e){return this.hasService(e)?this.services[e]:null}hasService(e){return this.services.hasOwnProperty(e)}addListener(e,t){this.events.addListener(e,t)}emitEvent(e,t){this.events.emit(e,t)}}),window.AC_SERVICES);Ge.addListener("Settings.Form.Ready",(e=>{const t=document.querySelector(".sidebox.layouts");if(t){const e=new r(t);Ge.registerService("OrderSidebox",e);const n=document.querySelector(".layout-selector ul");n&&e.onOrdered((e=>{const t=document.createElement("div");e.forEach((e=>{let r=n.querySelector(`[data-screen="${e}"]`);r&&t.appendChild(r)})),t.querySelectorAll("li").forEach((e=>{n.appendChild(e)}))}))}const n=document.querySelector(".ac-setbox");n&&Ge.registerService("ListScreenSettings",new Je(n,e,i().read_only));const s=document.querySelector('#listscreen_settings input[name="title"]');s&&s.addEventListener("keyup",(()=>{document.querySelectorAll(`.layout-selector [data-screen="${AC.layout}"] a`).forEach((e=>{e.innerHTML=s.value})),document.querySelectorAll(`.layouts__items [data-screen="${AC.layout}"] [data-label]`).forEach((e=>{e.innerHTML=s.value}))}))}))})()})();