@castlabs/ui 7.0.9 → 7.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/castlabs-ui-editor.css +1 -1
- package/dist/castlabs-ui-editor.umd.js +1 -1
- package/dist/castlabs-ui.common.js +1 -1
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.css +1 -1
- package/dist/castlabs-ui.umd.js +2 -2
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ClCard/style.variables.scss +4 -0
- package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap.scss +2 -0
- package/src/styles/layout/typography.scss +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.cl-form .ace_editor{font-size:16px;letter-spacing:.025em;font-stretch:80%;font-family:DM Mono,sfmono-regular,menlo,monaco,consolas,Liberation Mono,Courier New,monospace;font-weight:400;line-height:24px;background-color:var(--cl-color-background);border:1px solid #6d5e5e;border-radius:20px;color:#262a35;font-variant-ligatures:none}.cl-form .ace_editor.ace_focus{border-color:#cfc8c8}.cl-form .ace_editor .ace_gutter{background:var(--cl-color-background);color:#262a35}.cl-form .ace_editor .ace_gutter-active-line{background:var(--cl-color-background);font-weight:600}.cl-form .ace_editor .ace_fold-widget{opacity:.5}.cl-form .ace_editor .ace_marker-layer .ace_active-line{background-color:var(--cl-color-highlight)}.cl-form .ace_editor .ace_string{color:#096174}.cl-form .ace_editor .ace_storage,.cl-form .ace_editor .ace_keyword,.cl-form .ace_editor .ace_variable,.cl-form .ace_editor .ace_meta.ace_tag{color:#262a35}.cl-form .ace_editor .ace_constant,.cl-form .ace_editor .ace_constant.ace_buildin,.cl-form .ace_editor .ace_constant.ace_language,.cl-form .ace_editor .ace_constant.ace_library,.cl-form .ace_editor .ace_constant.ace_numeric{color:#6e1c3b}.cl-form .ace_editor.disabled .ace_storage,.cl-form .ace_editor.disabled .ace_keyword,.cl-form .ace_editor.disabled .ace_variable,.cl-form .ace_editor.disabled .ace_meta.ace_tag,.cl-form .ace_editor[disabled=true] .ace_storage,.cl-form .ace_editor[disabled=true] .ace_keyword,.cl-form .ace_editor[disabled=true] .ace_variable,.cl-form .ace_editor[disabled=true] .ace_meta.ace_tag,.cl-form .ace_editor.disabled .ace_constant,.cl-form .ace_editor.disabled .ace_constant.ace_buildin,.cl-form .ace_editor.disabled .ace_constant.ace_language,.cl-form .ace_editor.disabled .ace_constant.ace_library,.cl-form .ace_editor.disabled .ace_constant.ace_numeric,.cl-form .ace_editor[disabled=true] .ace_constant,.cl-form .ace_editor[disabled=true] .ace_constant.ace_buildin,.cl-form .ace_editor[disabled=true] .ace_constant.ace_language,.cl-form .ace_editor[disabled=true] .ace_constant.ace_library,.cl-form .ace_editor[disabled=true] .ace_constant.ace_numeric{opacity:.5}.cl-form .ace_editor :invalid{box-shadow:none}.cl-form .ace_editor[invalid],.cl-form .ace_editor.invalid{border-color:#71c0ff}.cl-form .ace_editor[invalid]+*+.invalid-feedback,.cl-form .ace_editor[invalid]+.invalid-feedback,.cl-form .ace_editor.invalid+*+.invalid-feedback,.cl-form .ace_editor.invalid+.invalid-feedback{display:block}.cl-form .ace_editor[invalid]+*+.valid-feedback,.cl-form .ace_editor[invalid]+.valid-feedback,.cl-form .ace_editor.invalid+*+.valid-feedback,.cl-form .ace_editor.invalid+.valid-feedback{display:none}
|
|
1
|
+
.cl-form .ace_editor{font-size:16px;letter-spacing:.025em;font-stretch:80%;font-family:DM Mono,sfmono-regular,menlo,monaco,consolas,Liberation Mono,Courier New,monospace;font-weight:400;line-height:24px;background-color:var(--cl-color-background);border:1px solid #6d5e5e;border-radius:20px;color:#262a35;font-variant-ligatures:none;letter-spacing:0;word-spacing:0}.cl-form .ace_editor.ace_focus{border-color:#cfc8c8}.cl-form .ace_editor .ace_gutter{background:var(--cl-color-background);color:#262a35}.cl-form .ace_editor .ace_gutter-active-line{background:var(--cl-color-background);font-weight:600}.cl-form .ace_editor .ace_fold-widget{opacity:.5}.cl-form .ace_editor .ace_marker-layer .ace_active-line{background-color:var(--cl-color-highlight)}.cl-form .ace_editor .ace_string{color:#096174}.cl-form .ace_editor .ace_storage,.cl-form .ace_editor .ace_keyword,.cl-form .ace_editor .ace_variable,.cl-form .ace_editor .ace_meta.ace_tag{color:#262a35}.cl-form .ace_editor .ace_constant,.cl-form .ace_editor .ace_constant.ace_buildin,.cl-form .ace_editor .ace_constant.ace_language,.cl-form .ace_editor .ace_constant.ace_library,.cl-form .ace_editor .ace_constant.ace_numeric{color:#6e1c3b}.cl-form .ace_editor.disabled .ace_storage,.cl-form .ace_editor.disabled .ace_keyword,.cl-form .ace_editor.disabled .ace_variable,.cl-form .ace_editor.disabled .ace_meta.ace_tag,.cl-form .ace_editor[disabled=true] .ace_storage,.cl-form .ace_editor[disabled=true] .ace_keyword,.cl-form .ace_editor[disabled=true] .ace_variable,.cl-form .ace_editor[disabled=true] .ace_meta.ace_tag,.cl-form .ace_editor.disabled .ace_constant,.cl-form .ace_editor.disabled .ace_constant.ace_buildin,.cl-form .ace_editor.disabled .ace_constant.ace_language,.cl-form .ace_editor.disabled .ace_constant.ace_library,.cl-form .ace_editor.disabled .ace_constant.ace_numeric,.cl-form .ace_editor[disabled=true] .ace_constant,.cl-form .ace_editor[disabled=true] .ace_constant.ace_buildin,.cl-form .ace_editor[disabled=true] .ace_constant.ace_language,.cl-form .ace_editor[disabled=true] .ace_constant.ace_library,.cl-form .ace_editor[disabled=true] .ace_constant.ace_numeric{opacity:.5}.cl-form .ace_editor :invalid{box-shadow:none}.cl-form .ace_editor[invalid],.cl-form .ace_editor.invalid{border-color:#71c0ff}.cl-form .ace_editor[invalid]+*+.invalid-feedback,.cl-form .ace_editor[invalid]+.invalid-feedback,.cl-form .ace_editor.invalid+*+.invalid-feedback,.cl-form .ace_editor.invalid+.invalid-feedback{display:block}.cl-form .ace_editor[invalid]+*+.valid-feedback,.cl-form .ace_editor[invalid]+.valid-feedback,.cl-form .ace_editor.invalid+*+.valid-feedback,.cl-form .ace_editor.invalid+.valid-feedback{display:none}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(ee,Y){typeof exports=="object"&&typeof module<"u"?Y(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],Y):(ee=typeof globalThis<"u"?globalThis:ee||self,Y(ee["castlabs-ui-editor"]={},ee.Vue))})(this,function(ee,Y){"use strict";var de=document.createElement("style");de.textContent=`.cl-form .ace_editor{font-size:16px;letter-spacing:.025em;font-stretch:80%;font-family:DM Mono,sfmono-regular,menlo,monaco,consolas,Liberation Mono,Courier New,monospace;font-weight:400;line-height:24px;background-color:var(--cl-color-background);border:1px solid #6d5e5e;border-radius:20px;color:#262a35;font-variant-ligatures:none}.cl-form .ace_editor.ace_focus{border-color:#cfc8c8}.cl-form .ace_editor .ace_gutter{background:var(--cl-color-background);color:#262a35}.cl-form .ace_editor .ace_gutter-active-line{background:var(--cl-color-background);font-weight:600}.cl-form .ace_editor .ace_fold-widget{opacity:.5}.cl-form .ace_editor .ace_marker-layer .ace_active-line{background-color:var(--cl-color-highlight)}.cl-form .ace_editor .ace_string{color:#096174}.cl-form .ace_editor .ace_storage,.cl-form .ace_editor .ace_keyword,.cl-form .ace_editor .ace_variable,.cl-form .ace_editor .ace_meta.ace_tag{color:#262a35}.cl-form .ace_editor .ace_constant,.cl-form .ace_editor .ace_constant.ace_buildin,.cl-form .ace_editor .ace_constant.ace_language,.cl-form .ace_editor .ace_constant.ace_library,.cl-form .ace_editor .ace_constant.ace_numeric{color:#6e1c3b}.cl-form .ace_editor.disabled .ace_storage,.cl-form .ace_editor.disabled .ace_keyword,.cl-form .ace_editor.disabled .ace_variable,.cl-form .ace_editor.disabled .ace_meta.ace_tag,.cl-form .ace_editor[disabled=true] .ace_storage,.cl-form .ace_editor[disabled=true] .ace_keyword,.cl-form .ace_editor[disabled=true] .ace_variable,.cl-form .ace_editor[disabled=true] .ace_meta.ace_tag,.cl-form .ace_editor.disabled .ace_constant,.cl-form .ace_editor.disabled .ace_constant.ace_buildin,.cl-form .ace_editor.disabled .ace_constant.ace_language,.cl-form .ace_editor.disabled .ace_constant.ace_library,.cl-form .ace_editor.disabled .ace_constant.ace_numeric,.cl-form .ace_editor[disabled=true] .ace_constant,.cl-form .ace_editor[disabled=true] .ace_constant.ace_buildin,.cl-form .ace_editor[disabled=true] .ace_constant.ace_language,.cl-form .ace_editor[disabled=true] .ace_constant.ace_library,.cl-form .ace_editor[disabled=true] .ace_constant.ace_numeric{opacity:.5}.cl-form .ace_editor :invalid{box-shadow:none}.cl-form .ace_editor[invalid],.cl-form .ace_editor.invalid{border-color:#71c0ff}.cl-form .ace_editor[invalid]+*+.invalid-feedback,.cl-form .ace_editor[invalid]+.invalid-feedback,.cl-form .ace_editor.invalid+*+.invalid-feedback,.cl-form .ace_editor.invalid+.invalid-feedback{display:block}.cl-form .ace_editor[invalid]+*+.valid-feedback,.cl-form .ace_editor[invalid]+.valid-feedback,.cl-form .ace_editor.invalid+*+.valid-feedback,.cl-form .ace_editor.invalid+.valid-feedback{display:none}
|
|
1
|
+
(function(ee,Y){typeof exports=="object"&&typeof module<"u"?Y(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],Y):(ee=typeof globalThis<"u"?globalThis:ee||self,Y(ee["castlabs-ui-editor"]={},ee.Vue))})(this,function(ee,Y){"use strict";var de=document.createElement("style");de.textContent=`.cl-form .ace_editor{font-size:16px;letter-spacing:.025em;font-stretch:80%;font-family:DM Mono,sfmono-regular,menlo,monaco,consolas,Liberation Mono,Courier New,monospace;font-weight:400;line-height:24px;background-color:var(--cl-color-background);border:1px solid #6d5e5e;border-radius:20px;color:#262a35;font-variant-ligatures:none;letter-spacing:0;word-spacing:0}.cl-form .ace_editor.ace_focus{border-color:#cfc8c8}.cl-form .ace_editor .ace_gutter{background:var(--cl-color-background);color:#262a35}.cl-form .ace_editor .ace_gutter-active-line{background:var(--cl-color-background);font-weight:600}.cl-form .ace_editor .ace_fold-widget{opacity:.5}.cl-form .ace_editor .ace_marker-layer .ace_active-line{background-color:var(--cl-color-highlight)}.cl-form .ace_editor .ace_string{color:#096174}.cl-form .ace_editor .ace_storage,.cl-form .ace_editor .ace_keyword,.cl-form .ace_editor .ace_variable,.cl-form .ace_editor .ace_meta.ace_tag{color:#262a35}.cl-form .ace_editor .ace_constant,.cl-form .ace_editor .ace_constant.ace_buildin,.cl-form .ace_editor .ace_constant.ace_language,.cl-form .ace_editor .ace_constant.ace_library,.cl-form .ace_editor .ace_constant.ace_numeric{color:#6e1c3b}.cl-form .ace_editor.disabled .ace_storage,.cl-form .ace_editor.disabled .ace_keyword,.cl-form .ace_editor.disabled .ace_variable,.cl-form .ace_editor.disabled .ace_meta.ace_tag,.cl-form .ace_editor[disabled=true] .ace_storage,.cl-form .ace_editor[disabled=true] .ace_keyword,.cl-form .ace_editor[disabled=true] .ace_variable,.cl-form .ace_editor[disabled=true] .ace_meta.ace_tag,.cl-form .ace_editor.disabled .ace_constant,.cl-form .ace_editor.disabled .ace_constant.ace_buildin,.cl-form .ace_editor.disabled .ace_constant.ace_language,.cl-form .ace_editor.disabled .ace_constant.ace_library,.cl-form .ace_editor.disabled .ace_constant.ace_numeric,.cl-form .ace_editor[disabled=true] .ace_constant,.cl-form .ace_editor[disabled=true] .ace_constant.ace_buildin,.cl-form .ace_editor[disabled=true] .ace_constant.ace_language,.cl-form .ace_editor[disabled=true] .ace_constant.ace_library,.cl-form .ace_editor[disabled=true] .ace_constant.ace_numeric{opacity:.5}.cl-form .ace_editor :invalid{box-shadow:none}.cl-form .ace_editor[invalid],.cl-form .ace_editor.invalid{border-color:#71c0ff}.cl-form .ace_editor[invalid]+*+.invalid-feedback,.cl-form .ace_editor[invalid]+.invalid-feedback,.cl-form .ace_editor.invalid+*+.invalid-feedback,.cl-form .ace_editor.invalid+.invalid-feedback{display:block}.cl-form .ace_editor[invalid]+*+.valid-feedback,.cl-form .ace_editor[invalid]+.valid-feedback,.cl-form .ace_editor.invalid+*+.valid-feedback,.cl-form .ace_editor.invalid+.valid-feedback{display:none}
|
|
2
2
|
/*$vite$:1*/`,document.head.appendChild(de);function Me(W){return W&&W.__esModule&&Object.prototype.hasOwnProperty.call(W,"default")?W.default:W}var ae={exports:{}},fe;function xe(){return fe||(fe=1,function(W,U){(function(){var k="ace",L=function(){return this}();!L&&typeof window<"u"&&(L=window);var H=function(i,o,n){if(typeof i!="string"){H.original?H.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(n=o),H.modules[i]||(H.payloads[i]=n,H.modules[i]=null)};H.modules={},H.payloads={};var E=function(i,o,n){if(typeof o=="string"){var t=a(i,o);if(t!=null)return n&&n(),t}else if(Object.prototype.toString.call(o)==="[object Array]"){for(var e=[],r=0,s=o.length;r<s;++r){var l=a(i,o[r]);if(l==null&&A.original)return;e.push(l)}return n&&n.apply(null,e)||!0}},A=function(i,o){var n=E("",i,o);return n==null&&A.original?A.original.apply(this,arguments):n},$=function(i,o){if(o.indexOf("!")!==-1){var n=o.split("!");return $(i,n[0])+"!"+$(i,n[1])}if(o.charAt(0)=="."){var t=i.split("/").slice(0,-1).join("/");for(o=t+"/"+o;o.indexOf(".")!==-1&&e!=o;){var e=o;o=o.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return o},a=function(i,o){o=$(i,o);var n=H.modules[o];if(!n){if(n=H.payloads[o],typeof n=="function"){var t={},e={id:o,uri:"",exports:t,packaged:!0},r=function(l,h){return E(o,l,h)},s=n(r,t,e);t=s||e.exports,H.modules[o]=t,delete H.payloads[o]}n=H.modules[o]=t||n}return n};function c(i){var o=L;L[i]||(L[i]={}),o=L[i],(!o.define||!o.define.packaged)&&(H.original=o.define,o.define=H,o.define.packaged=!0),(!o.require||!o.require.packaged)&&(A.original=o.require,o.require=A,o.require.packaged=!0)}c(k)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(k,L,H){function E(A,$,a){Object.defineProperty(A,$,{value:a,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||E(String.prototype,"startsWith",function(A,$){return $=$||0,this.lastIndexOf(A,$)===$}),String.prototype.endsWith||E(String.prototype,"endsWith",function(A,$){var a=this;($===void 0||$>a.length)&&($=a.length),$-=A.length;var c=a.indexOf(A,$);return c!==-1&&c===$}),String.prototype.repeat||E(String.prototype,"repeat",function(A){for(var $="",a=this;A>0;)A&1&&($+=a),(A>>=1)&&(a+=a);return $}),String.prototype.includes||E(String.prototype,"includes",function(A,$){return this.indexOf(A,$)!=-1}),Object.assign||(Object.assign=function(A){if(A==null)throw new TypeError("Cannot convert undefined or null to object");for(var $=Object(A),a=1;a<arguments.length;a++){var c=arguments[a];c!=null&&Object.keys(c).forEach(function(i){$[i]=c[i]})}return $}),Object.values||(Object.values=function(A){return Object.keys(A).map(function($){return A[$]})}),Array.prototype.find||E(Array.prototype,"find",function(A){for(var $=this.length,a=arguments[1],c=0;c<$;c++){var i=this[c];if(A.call(a,i,c,this))return i}}),Array.prototype.findIndex||E(Array.prototype,"findIndex",function(A){for(var $=this.length,a=arguments[1],c=0;c<$;c++){var i=this[c];if(A.call(a,i,c,this))return c}}),Array.prototype.includes||E(Array.prototype,"includes",function(A,$){return this.indexOf(A,$)!=-1}),Array.prototype.fill||E(Array.prototype,"fill",function(A){for(var $=this,a=$.length>>>0,c=arguments[1],i=c>>0,o=i<0?Math.max(a+i,0):Math.min(i,a),n=arguments[2],t=n===void 0?a:n>>0,e=t<0?Math.max(a+t,0):Math.min(t,a);o<e;)$[o]=A,o++;return $}),Array.of||E(Array,"of",function(){return Array.prototype.slice.call(arguments)})}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/es6-shim"],function(k,L,H){k("./es6-shim")}),ace.define("ace/lib/deep_copy",["require","exports","module"],function(k,L,H){L.deepCopy=function E(A){if(typeof A!="object"||!A)return A;var $;if(Array.isArray(A)){$=[];for(var a=0;a<A.length;a++)$[a]=E(A[a]);return $}if(Object.prototype.toString.call(A)!=="[object Object]")return A;$={};for(var a in A)$[a]=E(A[a]);return $}}),ace.define("ace/lib/lang",["require","exports","module","ace/lib/deep_copy"],function(k,L,H){L.last=function($){return $[$.length-1]},L.stringReverse=function($){return $.split("").reverse().join("")},L.stringRepeat=function($,a){for(var c="";a>0;)a&1&&(c+=$),(a>>=1)&&($+=$);return c};var E=/^\s\s*/,A=/\s\s*$/;L.stringTrimLeft=function($){return $.replace(E,"")},L.stringTrimRight=function($){return $.replace(A,"")},L.copyObject=function($){var a={};for(var c in $)a[c]=$[c];return a},L.copyArray=function($){for(var a=[],c=0,i=$.length;c<i;c++)$[c]&&typeof $[c]=="object"?a[c]=this.copyObject($[c]):a[c]=$[c];return a},L.deepCopy=k("./deep_copy").deepCopy,L.arrayToMap=function($){for(var a={},c=0;c<$.length;c++)a[$[c]]=1;return a},L.createMap=function($){var a=Object.create(null);for(var c in $)a[c]=$[c];return a},L.arrayRemove=function($,a){for(var c=0;c<=$.length;c++)a===$[c]&&$.splice(c,1)},L.escapeRegExp=function($){return $.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},L.escapeHTML=function($){return(""+$).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},L.getMatchOffsets=function($,a){var c=[];return $.replace(a,function(i){c.push({offset:arguments[arguments.length-2],length:i.length})}),c},L.deferredCall=function($){var a=null,c=function(){a=null,$()},i=function(o){return i.cancel(),a=setTimeout(c,o||0),i};return i.schedule=i,i.call=function(){return this.cancel(),$(),i},i.cancel=function(){return clearTimeout(a),a=null,i},i.isPending=function(){return a},i},L.delayedCall=function($,a){var c=null,i=function(){c=null,$()},o=function(n){c==null&&(c=setTimeout(i,n||a))};return o.delay=function(n){c&&clearTimeout(c),c=setTimeout(i,n||a)},o.schedule=o,o.call=function(){this.cancel(),$()},o.cancel=function(){c&&clearTimeout(c),c=null},o.isPending=function(){return c},o},L.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},L.skipEmptyMatch=function($,a,c){return c&&$.codePointAt(a)>65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(k,L,H){L.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},L.getOS=function(){return L.isMac?L.OS.MAC:L.isLinux?L.OS.LINUX:L.OS.WINDOWS};var E=typeof navigator=="object"?navigator:{},A=(/mac|win|linux/i.exec(E.platform)||["other"])[0].toLowerCase(),$=E.userAgent||"",a=E.appName||"";L.isWin=A=="win",L.isMac=A=="mac",L.isLinux=A=="linux",L.isIE=a=="Microsoft Internet Explorer"||a.indexOf("MSAppHost")>=0?parseFloat(($.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat(($.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),L.isOldIE=L.isIE&&L.isIE<9,L.isGecko=L.isMozilla=$.match(/ Gecko\/\d+/),L.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",L.isWebKit=parseFloat($.split("WebKit/")[1])||void 0,L.isChrome=parseFloat($.split(" Chrome/")[1])||void 0,L.isSafari=parseFloat($.split(" Safari/")[1])&&!L.isChrome||void 0,L.isEdge=parseFloat($.split(" Edge/")[1])||void 0,L.isAIR=$.indexOf("AdobeAIR")>=0,L.isAndroid=$.indexOf("Android")>=0,L.isChromeOS=$.indexOf(" CrOS ")>=0,L.isIOS=/iPad|iPhone|iPod/.test($)&&!window.MSStream,L.isIOS&&(L.isMac=!0),L.isMobile=L.isIOS||L.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(k,L,H){var E=k("./useragent"),A="http://www.w3.org/1999/xhtml";L.buildDom=function n(t,e,r){if(typeof t=="string"&&t){var s=document.createTextNode(t);return e&&e.appendChild(s),s}if(!Array.isArray(t))return t&&t.appendChild&&e&&e.appendChild(t),t;if(typeof t[0]!="string"||!t[0]){for(var l=[],h=0;h<t.length;h++){var v=n(t[h],e,r);v&&l.push(v)}return l}var m=document.createElement(t[0]),g=t[1],d=1;g&&typeof g=="object"&&!Array.isArray(g)&&(d=2);for(var h=d;h<t.length;h++)n(t[h],m,r);return d==2&&Object.keys(g).forEach(function(b){var M=g[b];b==="class"?m.className=Array.isArray(M)?M.join(" "):M:typeof M=="function"||b=="value"||b[0]=="$"?m[b]=M:b==="ref"?r&&(r[M]=m):b==="style"?typeof M=="string"&&(m.style.cssText=M):M!=null&&m.setAttribute(b,M)}),e&&e.appendChild(m),m},L.getDocumentHead=function(n){return n||(n=document),n.head||n.getElementsByTagName("head")[0]||n.documentElement},L.createElement=function(n,t){return document.createElementNS?document.createElementNS(t||A,n):document.createElement(n)},L.removeChildren=function(n){n.innerHTML=""},L.createTextNode=function(n,t){var e=t?t.ownerDocument:document;return e.createTextNode(n)},L.createFragment=function(n){var t=n?n.ownerDocument:document;return t.createDocumentFragment()},L.hasCssClass=function(n,t){var e=(n.className+"").split(/\s+/g);return e.indexOf(t)!==-1},L.addCssClass=function(n,t){L.hasCssClass(n,t)||(n.className+=" "+t)},L.removeCssClass=function(n,t){for(var e=n.className.split(/\s+/g);;){var r=e.indexOf(t);if(r==-1)break;e.splice(r,1)}n.className=e.join(" ")},L.toggleCssClass=function(n,t){for(var e=n.className.split(/\s+/g),r=!0;;){var s=e.indexOf(t);if(s==-1)break;r=!1,e.splice(s,1)}return r&&e.push(t),n.className=e.join(" "),r},L.setCssClass=function(n,t,e){e?L.addCssClass(n,t):L.removeCssClass(n,t)},L.hasCssString=function(n,t){var e=0,r;if(t=t||document,r=t.querySelectorAll("style")){for(;e<r.length;)if(r[e++].id===n)return!0}},L.removeElementById=function(n,t){t=t||document,t.getElementById(n)&&t.getElementById(n).remove()};var $,a=[];L.useStrictCSP=function(n){$=n,n==!1?c():a||(a=[])};function c(){var n=a;a=null,n&&n.forEach(function(t){i(t[0],t[1])})}function i(n,t,e){if(!(typeof document>"u")){if(a){if(e)c();else if(e===!1)return a.push([n,t])}if(!$){var r=e;!e||!e.getRootNode?r=document:(r=e.getRootNode(),(!r||r==e)&&(r=document));var s=r.ownerDocument||r;if(t&&L.hasCssString(t,r))return null;t&&(n+=`
|
|
3
3
|
/*# sourceURL=ace/css/`+t+" */");var l=L.createElement("style");l.appendChild(s.createTextNode(n)),t&&(l.id=t),r==s&&(r=L.getDocumentHead(s)),r.insertBefore(l,r.firstChild)}}}if(L.importCssString=i,L.importCssStylsheet=function(n,t){L.buildDom(["link",{rel:"stylesheet",href:n}],L.getDocumentHead(t))},L.scrollbarWidth=function(n){var t=L.createElement("ace_inner");t.style.width="100%",t.style.minWidth="0px",t.style.height="200px",t.style.display="block";var e=L.createElement("ace_outer"),r=e.style;r.position="absolute",r.left="-10000px",r.overflow="hidden",r.width="200px",r.minWidth="0px",r.height="150px",r.display="block",e.appendChild(t);var s=n&&n.documentElement||document&&document.documentElement;if(!s)return 0;s.appendChild(e);var l=t.offsetWidth;r.overflow="scroll";var h=t.offsetWidth;return l===h&&(h=e.clientWidth),s.removeChild(e),l-h},L.computedStyle=function(n,t){return window.getComputedStyle(n,"")||{}},L.setStyle=function(n,t,e){n[t]!==e&&(n[t]=e)},L.HAS_CSS_ANIMATION=!1,L.HAS_CSS_TRANSFORMS=!1,L.HI_DPI=E.isWin?typeof window<"u"&&window.devicePixelRatio>=1.5:!0,E.isChromeOS&&(L.HI_DPI=!1),typeof document<"u"){var o=document.createElement("div");L.HI_DPI&&o.style.transform!==void 0&&(L.HAS_CSS_TRANSFORMS=!0),!E.isEdge&&typeof o.style.animationName<"u"&&(L.HAS_CSS_ANIMATION=!0),o=null}L.HAS_CSS_TRANSFORMS?L.translate=function(n,t,e){n.style.transform="translate("+Math.round(t)+"px, "+Math.round(e)+"px)"}:L.translate=function(n,t,e){n.style.top=Math.round(e)+"px",n.style.left=Math.round(t)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(k,L,H){/*
|
|
4
4
|
* based on code from:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");var Qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ea(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Js={},Zs;function wa(){return Zs||(Zs=1,function(){var e=function(v,f){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var y in l)Object.prototype.hasOwnProperty.call(l,y)&&(h[y]=l[y])},e(v,f)},s=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Qs<"u"?Qs:typeof self<"u"?self:{},c=function(v){var f=typeof v;return v!=null&&(f=="object"||f=="function")},p=typeof s=="object"&&s&&s.Object===Object&&s,b=typeof self=="object"&&self&&self.Object===Object&&self,m=p||b||Function("return this")(),u=m,N=function(){return u.Date.now()},U=/\s/,ae=function(v){for(var f=v.length;f--&&U.test(v.charAt(f)););return f},we=/^\s+/,Se=function(v){return v&&v.slice(0,ae(v)+1).replace(we,"")},bt=m.Symbol,nt=bt,Xe=Object.prototype,Jn=Xe.hasOwnProperty,Vn=Xe.toString,ne=nt?nt.toStringTag:void 0,me=function(v){var f=Jn.call(v,ne),h=v[ne];try{v[ne]=void 0;var l=!0}catch{}var y=Vn.call(v);return l&&(f?v[ne]=h:delete v[ne]),y},oe=Object.prototype.toString,Zn=me,Mn=function(v){return oe.call(v)},ei=bt?bt.toStringTag:void 0,Oi=function(v){return v==null?v===void 0?"[object Undefined]":"[object Null]":ei&&ei in Object(v)?Zn(v):Mn(v)},Di=function(v){return v!=null&&typeof v=="object"},zn=Se,Ln=c,ti=function(v){return typeof v=="symbol"||Di(v)&&Oi(v)=="[object Symbol]"},Vi=/^[-+]0x[0-9a-f]+$/i,ni=/^0b[01]+$/i,ii=/^0o[0-7]+$/i,oi=parseInt,si=c,yt=N,_t=function(v){if(typeof v=="number")return v;if(ti(v))return NaN;if(Ln(v)){var f=typeof v.valueOf=="function"?v.valueOf():v;v=Ln(f)?f+"":f}if(typeof v!="string")return v===0?v:+v;v=zn(v);var h=ni.test(v);return h||ii.test(v)?oi(v.slice(2),h?2:8):Vi.test(v)?NaN:+v},Mi=Math.max,ri=Math.min,_=function(v,f,h){var l,y,T,D,L,K,X=0,le=!1,J=!1,ee=!0;if(typeof v!="function")throw new TypeError("Expected a function");function ve(te){var _e=l,de=y;return l=y=void 0,X=te,D=v.apply(de,_e)}function be(te){return X=te,L=setTimeout(Ve,f),le?ve(te):D}function ye(te){var _e=te-K;return K===void 0||_e>=f||_e<0||J&&te-X>=T}function Ve(){var te=yt();if(ye(te))return $t(te);L=setTimeout(Ve,function(_e){var de=f-(_e-K);return J?ri(de,T-(_e-X)):de}(te))}function $t(te){return L=void 0,ee&&l?ve(te):(l=y=void 0,D)}function Qe(){var te=yt(),_e=ye(te);if(l=arguments,y=this,K=te,_e){if(L===void 0)return be(K);if(J)return clearTimeout(L),L=setTimeout(Ve,f),ve(K)}return L===void 0&&(L=setTimeout(Ve,f)),D}return f=_t(f)||0,si(h)&&(le=!!h.leading,T=(J="maxWait"in h)?Mi(_t(h.maxWait)||0,f):T,ee="trailing"in h?!!h.trailing:ee),Qe.cancel=function(){L!==void 0&&clearTimeout(L),X=0,l=K=y=L=void 0},Qe.flush=function(){return L===void 0?D:$t(yt())},Qe},In=_,li=c,Fn=function(v,f,h){var l=!0,y=!0;if(typeof v!="function")throw new TypeError("Expected a function");return li(h)&&(l="leading"in h?!!h.leading:l,y="trailing"in h?!!h.trailing:y),In(v,f,{leading:l,maxWait:f,trailing:y})},se=function(){return se=Object.assign||function(v){for(var f,h=1,l=arguments.length;h<l;h++)for(var y in f=arguments[h])Object.prototype.hasOwnProperty.call(f,y)&&(v[y]=f[y]);return v},se.apply(this,arguments)};function Ye(v){return v&&v.ownerDocument&&v.ownerDocument.defaultView?v.ownerDocument.defaultView:window}function ge(v){return v&&v.ownerDocument?v.ownerDocument:document}var Ct=function(v){return Array.prototype.reduce.call(v,function(f,h){var l=h.name.match(/data-simplebar-(.+)/);if(l){var y=l[1].replace(/\W+(.)/g,function(T,D){return D.toUpperCase()});switch(h.value){case"true":f[y]=!0;break;case"false":f[y]=!1;break;case void 0:f[y]=!0;break;default:f[y]=h.value}}return f},{})};function S(v,f){var h;v&&(h=v.classList).add.apply(h,f.split(" "))}function it(v,f){v&&f.split(" ").forEach(function(h){v.classList.remove(h)})}function Pn(v){return".".concat(v.split(" ").join("."))}var xn=!(typeof window>"u"||!window.document||!window.document.createElement),zi=Object.freeze({__proto__:null,addClasses:S,canUseDOM:xn,classNamesToQuery:Pn,getElementDocument:ge,getElementWindow:Ye,getOptions:Ct,removeClasses:it}),De=null,jn=null;function Ke(){if(De===null){if(typeof document>"u")return De=0;var v=document.body,f=document.createElement("div");f.classList.add("simplebar-hide-scrollbar"),v.appendChild(f);var h=f.getBoundingClientRect().right;v.removeChild(f),De=h}return De}xn&&window.addEventListener("resize",function(){jn!==window.devicePixelRatio&&(jn=window.devicePixelRatio,De=null)});var ce=Ye,Wn=ge,Li=Ct,Le=S,Ie=it,re=Pn,kt=function(){function v(f,h){h===void 0&&(h={});var l=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var y=ce(l.el);l.scrollXTicking||(y.requestAnimationFrame(l.scrollX),l.scrollXTicking=!0),l.scrollYTicking||(y.requestAnimationFrame(l.scrollY),l.scrollYTicking=!0),l.isScrolling||(l.isScrolling=!0,Le(l.el,l.classNames.scrolling)),l.showScrollbar("x"),l.showScrollbar("y"),l.onStopScrolling()},this.scrollX=function(){l.axis.x.isOverflowing&&l.positionScrollbar("x"),l.scrollXTicking=!1},this.scrollY=function(){l.axis.y.isOverflowing&&l.positionScrollbar("y"),l.scrollYTicking=!1},this._onStopScrolling=function(){Ie(l.el,l.classNames.scrolling),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isScrolling=!1},this.onMouseEnter=function(){l.isMouseEntering||(Le(l.el,l.classNames.mouseEntered),l.showScrollbar("x"),l.showScrollbar("y"),l.isMouseEntering=!0),l.onMouseEntered()},this._onMouseEntered=function(){Ie(l.el,l.classNames.mouseEntered),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isMouseEntering=!1},this._onMouseMove=function(y){l.mouseX=y.clientX,l.mouseY=y.clientY,(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseMoveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseMoveForAxis("y")},this.onMouseLeave=function(){l.onMouseMove.cancel(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseLeaveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseLeaveForAxis("y"),l.mouseX=-1,l.mouseY=-1},this._onWindowResize=function(){l.scrollbarWidth=l.getScrollbarWidth(),l.hideNativeScrollbar()},this.onPointerEvent=function(y){var T,D;l.axis.x.track.el&&l.axis.y.track.el&&l.axis.x.scrollbar.el&&l.axis.y.scrollbar.el&&(l.axis.x.track.rect=l.axis.x.track.el.getBoundingClientRect(),l.axis.y.track.rect=l.axis.y.track.el.getBoundingClientRect(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&(T=l.isWithinBounds(l.axis.x.track.rect)),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&(D=l.isWithinBounds(l.axis.y.track.rect)),(T||D)&&(y.stopPropagation(),y.type==="pointerdown"&&y.pointerType!=="touch"&&(T&&(l.axis.x.scrollbar.rect=l.axis.x.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.x.scrollbar.rect)?l.onDragStart(y,"x"):l.onTrackClick(y,"x")),D&&(l.axis.y.scrollbar.rect=l.axis.y.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.y.scrollbar.rect)?l.onDragStart(y,"y"):l.onTrackClick(y,"y")))))},this.drag=function(y){var T,D,L,K,X,le,J,ee,ve,be,ye;if(l.draggedAxis&&l.contentWrapperEl){var Ve=l.axis[l.draggedAxis].track,$t=(D=(T=Ve.rect)===null||T===void 0?void 0:T[l.axis[l.draggedAxis].sizeAttr])!==null&&D!==void 0?D:0,Qe=l.axis[l.draggedAxis].scrollbar,te=(K=(L=l.contentWrapperEl)===null||L===void 0?void 0:L[l.axis[l.draggedAxis].scrollSizeAttr])!==null&&K!==void 0?K:0,_e=parseInt((le=(X=l.elStyles)===null||X===void 0?void 0:X[l.axis[l.draggedAxis].sizeAttr])!==null&&le!==void 0?le:"0px",10);y.preventDefault(),y.stopPropagation();var de=(l.draggedAxis==="y"?y.pageY:y.pageX)-((ee=(J=Ve.rect)===null||J===void 0?void 0:J[l.axis[l.draggedAxis].offsetAttr])!==null&&ee!==void 0?ee:0)-l.axis[l.draggedAxis].dragOffset,Fe=(de=l.draggedAxis==="x"&&l.isRtl?((be=(ve=Ve.rect)===null||ve===void 0?void 0:ve[l.axis[l.draggedAxis].sizeAttr])!==null&&be!==void 0?be:0)-Qe.size-de:de)/($t-Qe.size)*(te-_e);l.draggedAxis==="x"&&l.isRtl&&(Fe=!((ye=v.getRtlHelpers())===null||ye===void 0)&&ye.isScrollingToNegative?-Fe:Fe),l.contentWrapperEl[l.axis[l.draggedAxis].scrollOffsetAttr]=Fe}},this.onEndDrag=function(y){l.isDragging=!1;var T=Wn(l.el),D=ce(l.el);y.preventDefault(),y.stopPropagation(),Ie(l.el,l.classNames.dragging),l.onStopScrolling(),T.removeEventListener("mousemove",l.drag,!0),T.removeEventListener("mouseup",l.onEndDrag,!0),l.removePreventClickId=D.setTimeout(function(){T.removeEventListener("click",l.preventClick,!0),T.removeEventListener("dblclick",l.preventClick,!0),l.removePreventClickId=null})},this.preventClick=function(y){y.preventDefault(),y.stopPropagation()},this.el=f,this.options=se(se({},v.defaultOptions),h),this.classNames=se(se({},v.defaultOptions.classNames),h.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Fn(this._onMouseMove,64),this.onWindowResize=_(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=_(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=_(this._onMouseEntered,this.stopScrollDelay),this.init()}return v.getRtlHelpers=function(){if(v.rtlHelpers)return v.rtlHelpers;var f=document.createElement("div");f.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var h=f.firstElementChild,l=h?.firstElementChild;if(!l)return null;document.body.appendChild(h),h.scrollLeft=0;var y=v.getOffset(h),T=v.getOffset(l);h.scrollLeft=-999;var D=v.getOffset(l);return document.body.removeChild(h),v.rtlHelpers={isScrollOriginAtZero:y.left!==T.left,isScrollingToNegative:T.left!==D.left},v.rtlHelpers},v.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Ke()}catch{return Ke()}},v.getOffset=function(f){var h=f.getBoundingClientRect(),l=Wn(f),y=ce(f);return{top:h.top+(y.pageYOffset||l.documentElement.scrollTop),left:h.left+(y.pageXOffset||l.documentElement.scrollLeft)}},v.prototype.init=function(){xn&&(this.initDOM(),this.rtlHelpers=v.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},v.prototype.initDOM=function(){var f,h;this.wrapperEl=this.el.querySelector(re(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(re(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(re(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(re(this.classNames.offset)),this.maskEl=this.el.querySelector(re(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,re(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(re(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(re(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.vertical))),this.axis.x.scrollbar.el=((f=this.axis.x.track.el)===null||f===void 0?void 0:f.querySelector(re(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((h=this.axis.y.track.el)===null||h===void 0?void 0:h.querySelector(re(this.classNames.scrollbar)))||null,this.options.autoHide||(Le(this.axis.x.scrollbar.el,this.classNames.visible),Le(this.axis.y.scrollbar.el,this.classNames.visible))},v.prototype.initListeners=function(){var f,h=this,l=ce(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(f=this.contentWrapperEl)===null||f===void 0||f.addEventListener("scroll",this.onScroll),l.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var y=!1,T=l.ResizeObserver||ResizeObserver;this.resizeObserver=new T(function(){y&&l.requestAnimationFrame(function(){h.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),l.requestAnimationFrame(function(){y=!0})}this.mutationObserver=new l.MutationObserver(function(){l.requestAnimationFrame(function(){h.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},v.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var f=ce(this.el);this.elStyles=f.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var h=this.contentEl.offsetWidth,l=this.heightAutoObserverEl.offsetHeight<=1,y=this.heightAutoObserverEl.offsetWidth<=1||h>0,T=this.contentWrapperEl.offsetWidth,D=this.elStyles.overflowX,L=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var K=this.contentEl.scrollHeight,X=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=l?"auto":"100%",this.placeholderEl.style.width=y?"".concat(h||X,"px"):"auto",this.placeholderEl.style.height="".concat(K,"px");var le=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=h!==0&&X>h,this.axis.y.isOverflowing=K>le,this.axis.x.isOverflowing=D!=="hidden"&&this.axis.x.isOverflowing,this.axis.y.isOverflowing=L!=="hidden"&&this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var J=this.axis.x.isOverflowing?this.scrollbarWidth:0,ee=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&X>T-ee,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&K>le-J,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},v.prototype.getScrollbarSize=function(f){var h,l;if(f===void 0&&(f="y"),!this.axis[f].isOverflowing||!this.contentEl)return 0;var y,T=this.contentEl[this.axis[f].scrollSizeAttr],D=(l=(h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])!==null&&l!==void 0?l:0,L=D/T;return y=Math.max(~~(L*D),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(y=Math.min(y,this.options.scrollbarMaxSize)),y},v.prototype.positionScrollbar=function(f){var h,l,y;f===void 0&&(f="y");var T=this.axis[f].scrollbar;if(this.axis[f].isOverflowing&&this.contentWrapperEl&&T.el&&this.elStyles){var D=this.contentWrapperEl[this.axis[f].scrollSizeAttr],L=((h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])||0,K=parseInt(this.elStyles[this.axis[f].sizeAttr],10),X=this.contentWrapperEl[this.axis[f].scrollOffsetAttr];X=f==="x"&&this.isRtl&&(!((l=v.getRtlHelpers())===null||l===void 0)&&l.isScrollOriginAtZero)?-X:X,f==="x"&&this.isRtl&&(X=!((y=v.getRtlHelpers())===null||y===void 0)&&y.isScrollingToNegative?X:-X);var le=X/(D-K),J=~~((L-T.size)*le);J=f==="x"&&this.isRtl?-J+(L-T.size):J,T.el.style.transform=f==="x"?"translate3d(".concat(J,"px, 0, 0)"):"translate3d(0, ".concat(J,"px, 0)")}},v.prototype.toggleTrackVisibility=function(f){f===void 0&&(f="y");var h=this.axis[f].track.el,l=this.axis[f].scrollbar.el;h&&l&&this.contentWrapperEl&&(this.axis[f].isOverflowing||this.axis[f].forceVisible?(h.style.visibility="visible",this.contentWrapperEl.style[this.axis[f].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(f))):(h.style.visibility="hidden",this.contentWrapperEl.style[this.axis[f].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(f))),this.axis[f].isOverflowing?l.style.display="block":l.style.display="none")},v.prototype.showScrollbar=function(f){f===void 0&&(f="y"),this.axis[f].isOverflowing&&!this.axis[f].scrollbar.isVisible&&(Le(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!0)},v.prototype.hideScrollbar=function(f){f===void 0&&(f="y"),this.isDragging||this.axis[f].isOverflowing&&this.axis[f].scrollbar.isVisible&&(Ie(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!1)},v.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},v.prototype.onMouseMoveForAxis=function(f){f===void 0&&(f="y");var h=this.axis[f];h.track.el&&h.scrollbar.el&&(h.track.rect=h.track.el.getBoundingClientRect(),h.scrollbar.rect=h.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(h.track.rect)?(this.showScrollbar(f),Le(h.track.el,this.classNames.hover),this.isWithinBounds(h.scrollbar.rect)?Le(h.scrollbar.el,this.classNames.hover):Ie(h.scrollbar.el,this.classNames.hover)):(Ie(h.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)))},v.prototype.onMouseLeaveForAxis=function(f){f===void 0&&(f="y"),Ie(this.axis[f].track.el,this.classNames.hover),Ie(this.axis[f].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)},v.prototype.onDragStart=function(f,h){var l;h===void 0&&(h="y"),this.isDragging=!0;var y=Wn(this.el),T=ce(this.el),D=this.axis[h].scrollbar,L=h==="y"?f.pageY:f.pageX;this.axis[h].dragOffset=L-(((l=D.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])||0),this.draggedAxis=h,Le(this.el,this.classNames.dragging),y.addEventListener("mousemove",this.drag,!0),y.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(y.addEventListener("click",this.preventClick,!0),y.addEventListener("dblclick",this.preventClick,!0)):(T.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},v.prototype.onTrackClick=function(f,h){var l,y,T,D,L=this;h===void 0&&(h="y");var K=this.axis[h];if(this.options.clickOnTrack&&K.scrollbar.el&&this.contentWrapperEl){f.preventDefault();var X=ce(this.el);this.axis[h].scrollbar.rect=K.scrollbar.el.getBoundingClientRect();var le=(y=(l=this.axis[h].scrollbar.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])!==null&&y!==void 0?y:0,J=parseInt((D=(T=this.elStyles)===null||T===void 0?void 0:T[this.axis[h].sizeAttr])!==null&&D!==void 0?D:"0px",10),ee=this.contentWrapperEl[this.axis[h].scrollOffsetAttr],ve=(h==="y"?this.mouseY-le:this.mouseX-le)<0?-1:1,be=ve===-1?ee-J:ee+J,ye=function(){L.contentWrapperEl&&(ve===-1?ee>be&&(ee-=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)):ee<be&&(ee+=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)))};ye()}},v.prototype.getContentElement=function(){return this.contentEl},v.prototype.getScrollElement=function(){return this.contentWrapperEl},v.prototype.removeListeners=function(){var f=ce(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),f.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},v.prototype.unMount=function(){this.removeListeners()},v.prototype.isWithinBounds=function(f){return this.mouseX>=f.left&&this.mouseX<=f.left+f.width&&this.mouseY>=f.top&&this.mouseY<=f.top+f.height},v.prototype.findChild=function(f,h){var l=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.msMatchesSelector;return Array.prototype.filter.call(f.children,function(y){return l.call(y,h)})[0]},v.rtlHelpers=null,v.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},v.getOptions=Li,v.helpers=zi,v}(),Rn=kt.helpers,Ge=Rn.getOptions,Q=Rn.addClasses,ai=Rn.canUseDOM,ci=function(v){function f(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];var y=v.apply(this,h)||this;return f.instances.set(h[0],y),y}return function(h,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function y(){this.constructor=h}e(h,l),h.prototype=l===null?Object.create(l):(y.prototype=l.prototype,new y)}(f,v),f.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(h){h.getAttribute("data-simplebar")==="init"||f.instances.has(h)||new f(h,Ge(h.attributes))})},f.removeObserver=function(){var h;(h=f.globalObserver)===null||h===void 0||h.disconnect()},f.prototype.initDOM=function(){var h,l,y,T=this;if(!Array.prototype.filter.call(this.el.children,function(K){return K.classList.contains(T.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Q(this.wrapperEl,this.classNames.wrapper),Q(this.contentWrapperEl,this.classNames.contentWrapper),Q(this.offsetEl,this.classNames.offset),Q(this.maskEl,this.classNames.mask),Q(this.contentEl,this.classNames.contentEl),Q(this.placeholderEl,this.classNames.placeholder),Q(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Q(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(h=this.contentWrapperEl)===null||h===void 0||h.setAttribute("tabindex",this.options.tabIndex.toString()),(l=this.contentWrapperEl)===null||l===void 0||l.setAttribute("role","region"),(y=this.contentWrapperEl)===null||y===void 0||y.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var D=document.createElement("div"),L=document.createElement("div");Q(D,this.classNames.track),Q(L,this.classNames.scrollbar),D.appendChild(L),this.axis.x.track.el=D.cloneNode(!0),Q(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=D.cloneNode(!0),Q(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}kt.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},f.prototype.unMount=function(){kt.prototype.unMount.call(this),f.instances.delete(this.el)},f.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(f.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},f.handleMutations=function(h){h.forEach(function(l){l.addedNodes.forEach(function(y){y.nodeType===1&&(y.hasAttribute("data-simplebar")?!f.instances.has(y)&&document.documentElement.contains(y)&&new f(y,Ge(y.attributes)):y.querySelectorAll("[data-simplebar]").forEach(function(T){T.getAttribute("data-simplebar")!=="init"&&!f.instances.has(T)&&document.documentElement.contains(T)&&new f(T,Ge(T.attributes))}))}),l.removedNodes.forEach(function(y){var T;y.nodeType===1&&(y.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(y)&&((T=f.instances.get(y))===null||T===void 0||T.unMount()):Array.prototype.forEach.call(y.querySelectorAll('[data-simplebar="init"]'),function(D){var L;!document.documentElement.contains(D)&&((L=f.instances.get(D))===null||L===void 0||L.unMount())}))})})},f.instances=new WeakMap,f}(kt);return ai&&ci.initHtmlApi(),ci}()),Js}wa();const Sa=n.defineComponent({name:"ClUI",methods:{VITE_APP_VERSION:()=>"7.0.9"}}),B=(e,s)=>{const c=e.__vccOpts||e;for(const[p,b]of s)c[p]=b;return c};function Na(e,s,c,p,b,m){return n.toDisplayString(e.VITE_APP_VERSION())}const Ta=B(Sa,[["render",Na]]),Aa=n.defineComponent({name:"ClAlert",props:{type:{type:String,default:"info"}}});function Ba(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("p",{class:n.normalizeClass(["alert",`cl-alert-${e.type}`]),role:"alert"},[n.renderSlot(e.$slots,"default")],2)}const It=B(Aa,[["render",Ba]]);It.install=e=>{e.component(It.name??"ClNoName",It)};var Ti={exports:{}};/*!
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");var Qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ea(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Js={},Zs;function wa(){return Zs||(Zs=1,function(){var e=function(v,f){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var y in l)Object.prototype.hasOwnProperty.call(l,y)&&(h[y]=l[y])},e(v,f)},s=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Qs<"u"?Qs:typeof self<"u"?self:{},c=function(v){var f=typeof v;return v!=null&&(f=="object"||f=="function")},p=typeof s=="object"&&s&&s.Object===Object&&s,b=typeof self=="object"&&self&&self.Object===Object&&self,m=p||b||Function("return this")(),u=m,N=function(){return u.Date.now()},U=/\s/,ae=function(v){for(var f=v.length;f--&&U.test(v.charAt(f)););return f},we=/^\s+/,Se=function(v){return v&&v.slice(0,ae(v)+1).replace(we,"")},bt=m.Symbol,nt=bt,Xe=Object.prototype,Jn=Xe.hasOwnProperty,Vn=Xe.toString,ne=nt?nt.toStringTag:void 0,me=function(v){var f=Jn.call(v,ne),h=v[ne];try{v[ne]=void 0;var l=!0}catch{}var y=Vn.call(v);return l&&(f?v[ne]=h:delete v[ne]),y},oe=Object.prototype.toString,Zn=me,Mn=function(v){return oe.call(v)},ei=bt?bt.toStringTag:void 0,Oi=function(v){return v==null?v===void 0?"[object Undefined]":"[object Null]":ei&&ei in Object(v)?Zn(v):Mn(v)},Di=function(v){return v!=null&&typeof v=="object"},zn=Se,Ln=c,ti=function(v){return typeof v=="symbol"||Di(v)&&Oi(v)=="[object Symbol]"},Vi=/^[-+]0x[0-9a-f]+$/i,ni=/^0b[01]+$/i,ii=/^0o[0-7]+$/i,oi=parseInt,si=c,yt=N,_t=function(v){if(typeof v=="number")return v;if(ti(v))return NaN;if(Ln(v)){var f=typeof v.valueOf=="function"?v.valueOf():v;v=Ln(f)?f+"":f}if(typeof v!="string")return v===0?v:+v;v=zn(v);var h=ni.test(v);return h||ii.test(v)?oi(v.slice(2),h?2:8):Vi.test(v)?NaN:+v},Mi=Math.max,ri=Math.min,_=function(v,f,h){var l,y,T,D,L,K,X=0,le=!1,J=!1,ee=!0;if(typeof v!="function")throw new TypeError("Expected a function");function ve(te){var _e=l,de=y;return l=y=void 0,X=te,D=v.apply(de,_e)}function be(te){return X=te,L=setTimeout(Ve,f),le?ve(te):D}function ye(te){var _e=te-K;return K===void 0||_e>=f||_e<0||J&&te-X>=T}function Ve(){var te=yt();if(ye(te))return $t(te);L=setTimeout(Ve,function(_e){var de=f-(_e-K);return J?ri(de,T-(_e-X)):de}(te))}function $t(te){return L=void 0,ee&&l?ve(te):(l=y=void 0,D)}function Qe(){var te=yt(),_e=ye(te);if(l=arguments,y=this,K=te,_e){if(L===void 0)return be(K);if(J)return clearTimeout(L),L=setTimeout(Ve,f),ve(K)}return L===void 0&&(L=setTimeout(Ve,f)),D}return f=_t(f)||0,si(h)&&(le=!!h.leading,T=(J="maxWait"in h)?Mi(_t(h.maxWait)||0,f):T,ee="trailing"in h?!!h.trailing:ee),Qe.cancel=function(){L!==void 0&&clearTimeout(L),X=0,l=K=y=L=void 0},Qe.flush=function(){return L===void 0?D:$t(yt())},Qe},In=_,li=c,Fn=function(v,f,h){var l=!0,y=!0;if(typeof v!="function")throw new TypeError("Expected a function");return li(h)&&(l="leading"in h?!!h.leading:l,y="trailing"in h?!!h.trailing:y),In(v,f,{leading:l,maxWait:f,trailing:y})},se=function(){return se=Object.assign||function(v){for(var f,h=1,l=arguments.length;h<l;h++)for(var y in f=arguments[h])Object.prototype.hasOwnProperty.call(f,y)&&(v[y]=f[y]);return v},se.apply(this,arguments)};function Ye(v){return v&&v.ownerDocument&&v.ownerDocument.defaultView?v.ownerDocument.defaultView:window}function ge(v){return v&&v.ownerDocument?v.ownerDocument:document}var Ct=function(v){return Array.prototype.reduce.call(v,function(f,h){var l=h.name.match(/data-simplebar-(.+)/);if(l){var y=l[1].replace(/\W+(.)/g,function(T,D){return D.toUpperCase()});switch(h.value){case"true":f[y]=!0;break;case"false":f[y]=!1;break;case void 0:f[y]=!0;break;default:f[y]=h.value}}return f},{})};function S(v,f){var h;v&&(h=v.classList).add.apply(h,f.split(" "))}function it(v,f){v&&f.split(" ").forEach(function(h){v.classList.remove(h)})}function Pn(v){return".".concat(v.split(" ").join("."))}var xn=!(typeof window>"u"||!window.document||!window.document.createElement),zi=Object.freeze({__proto__:null,addClasses:S,canUseDOM:xn,classNamesToQuery:Pn,getElementDocument:ge,getElementWindow:Ye,getOptions:Ct,removeClasses:it}),De=null,jn=null;function Ke(){if(De===null){if(typeof document>"u")return De=0;var v=document.body,f=document.createElement("div");f.classList.add("simplebar-hide-scrollbar"),v.appendChild(f);var h=f.getBoundingClientRect().right;v.removeChild(f),De=h}return De}xn&&window.addEventListener("resize",function(){jn!==window.devicePixelRatio&&(jn=window.devicePixelRatio,De=null)});var ce=Ye,Wn=ge,Li=Ct,Le=S,Ie=it,re=Pn,kt=function(){function v(f,h){h===void 0&&(h={});var l=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var y=ce(l.el);l.scrollXTicking||(y.requestAnimationFrame(l.scrollX),l.scrollXTicking=!0),l.scrollYTicking||(y.requestAnimationFrame(l.scrollY),l.scrollYTicking=!0),l.isScrolling||(l.isScrolling=!0,Le(l.el,l.classNames.scrolling)),l.showScrollbar("x"),l.showScrollbar("y"),l.onStopScrolling()},this.scrollX=function(){l.axis.x.isOverflowing&&l.positionScrollbar("x"),l.scrollXTicking=!1},this.scrollY=function(){l.axis.y.isOverflowing&&l.positionScrollbar("y"),l.scrollYTicking=!1},this._onStopScrolling=function(){Ie(l.el,l.classNames.scrolling),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isScrolling=!1},this.onMouseEnter=function(){l.isMouseEntering||(Le(l.el,l.classNames.mouseEntered),l.showScrollbar("x"),l.showScrollbar("y"),l.isMouseEntering=!0),l.onMouseEntered()},this._onMouseEntered=function(){Ie(l.el,l.classNames.mouseEntered),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isMouseEntering=!1},this._onMouseMove=function(y){l.mouseX=y.clientX,l.mouseY=y.clientY,(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseMoveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseMoveForAxis("y")},this.onMouseLeave=function(){l.onMouseMove.cancel(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseLeaveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseLeaveForAxis("y"),l.mouseX=-1,l.mouseY=-1},this._onWindowResize=function(){l.scrollbarWidth=l.getScrollbarWidth(),l.hideNativeScrollbar()},this.onPointerEvent=function(y){var T,D;l.axis.x.track.el&&l.axis.y.track.el&&l.axis.x.scrollbar.el&&l.axis.y.scrollbar.el&&(l.axis.x.track.rect=l.axis.x.track.el.getBoundingClientRect(),l.axis.y.track.rect=l.axis.y.track.el.getBoundingClientRect(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&(T=l.isWithinBounds(l.axis.x.track.rect)),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&(D=l.isWithinBounds(l.axis.y.track.rect)),(T||D)&&(y.stopPropagation(),y.type==="pointerdown"&&y.pointerType!=="touch"&&(T&&(l.axis.x.scrollbar.rect=l.axis.x.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.x.scrollbar.rect)?l.onDragStart(y,"x"):l.onTrackClick(y,"x")),D&&(l.axis.y.scrollbar.rect=l.axis.y.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.y.scrollbar.rect)?l.onDragStart(y,"y"):l.onTrackClick(y,"y")))))},this.drag=function(y){var T,D,L,K,X,le,J,ee,ve,be,ye;if(l.draggedAxis&&l.contentWrapperEl){var Ve=l.axis[l.draggedAxis].track,$t=(D=(T=Ve.rect)===null||T===void 0?void 0:T[l.axis[l.draggedAxis].sizeAttr])!==null&&D!==void 0?D:0,Qe=l.axis[l.draggedAxis].scrollbar,te=(K=(L=l.contentWrapperEl)===null||L===void 0?void 0:L[l.axis[l.draggedAxis].scrollSizeAttr])!==null&&K!==void 0?K:0,_e=parseInt((le=(X=l.elStyles)===null||X===void 0?void 0:X[l.axis[l.draggedAxis].sizeAttr])!==null&&le!==void 0?le:"0px",10);y.preventDefault(),y.stopPropagation();var de=(l.draggedAxis==="y"?y.pageY:y.pageX)-((ee=(J=Ve.rect)===null||J===void 0?void 0:J[l.axis[l.draggedAxis].offsetAttr])!==null&&ee!==void 0?ee:0)-l.axis[l.draggedAxis].dragOffset,Fe=(de=l.draggedAxis==="x"&&l.isRtl?((be=(ve=Ve.rect)===null||ve===void 0?void 0:ve[l.axis[l.draggedAxis].sizeAttr])!==null&&be!==void 0?be:0)-Qe.size-de:de)/($t-Qe.size)*(te-_e);l.draggedAxis==="x"&&l.isRtl&&(Fe=!((ye=v.getRtlHelpers())===null||ye===void 0)&&ye.isScrollingToNegative?-Fe:Fe),l.contentWrapperEl[l.axis[l.draggedAxis].scrollOffsetAttr]=Fe}},this.onEndDrag=function(y){l.isDragging=!1;var T=Wn(l.el),D=ce(l.el);y.preventDefault(),y.stopPropagation(),Ie(l.el,l.classNames.dragging),l.onStopScrolling(),T.removeEventListener("mousemove",l.drag,!0),T.removeEventListener("mouseup",l.onEndDrag,!0),l.removePreventClickId=D.setTimeout(function(){T.removeEventListener("click",l.preventClick,!0),T.removeEventListener("dblclick",l.preventClick,!0),l.removePreventClickId=null})},this.preventClick=function(y){y.preventDefault(),y.stopPropagation()},this.el=f,this.options=se(se({},v.defaultOptions),h),this.classNames=se(se({},v.defaultOptions.classNames),h.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Fn(this._onMouseMove,64),this.onWindowResize=_(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=_(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=_(this._onMouseEntered,this.stopScrollDelay),this.init()}return v.getRtlHelpers=function(){if(v.rtlHelpers)return v.rtlHelpers;var f=document.createElement("div");f.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var h=f.firstElementChild,l=h?.firstElementChild;if(!l)return null;document.body.appendChild(h),h.scrollLeft=0;var y=v.getOffset(h),T=v.getOffset(l);h.scrollLeft=-999;var D=v.getOffset(l);return document.body.removeChild(h),v.rtlHelpers={isScrollOriginAtZero:y.left!==T.left,isScrollingToNegative:T.left!==D.left},v.rtlHelpers},v.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Ke()}catch{return Ke()}},v.getOffset=function(f){var h=f.getBoundingClientRect(),l=Wn(f),y=ce(f);return{top:h.top+(y.pageYOffset||l.documentElement.scrollTop),left:h.left+(y.pageXOffset||l.documentElement.scrollLeft)}},v.prototype.init=function(){xn&&(this.initDOM(),this.rtlHelpers=v.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},v.prototype.initDOM=function(){var f,h;this.wrapperEl=this.el.querySelector(re(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(re(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(re(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(re(this.classNames.offset)),this.maskEl=this.el.querySelector(re(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,re(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(re(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(re(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.vertical))),this.axis.x.scrollbar.el=((f=this.axis.x.track.el)===null||f===void 0?void 0:f.querySelector(re(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((h=this.axis.y.track.el)===null||h===void 0?void 0:h.querySelector(re(this.classNames.scrollbar)))||null,this.options.autoHide||(Le(this.axis.x.scrollbar.el,this.classNames.visible),Le(this.axis.y.scrollbar.el,this.classNames.visible))},v.prototype.initListeners=function(){var f,h=this,l=ce(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(f=this.contentWrapperEl)===null||f===void 0||f.addEventListener("scroll",this.onScroll),l.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var y=!1,T=l.ResizeObserver||ResizeObserver;this.resizeObserver=new T(function(){y&&l.requestAnimationFrame(function(){h.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),l.requestAnimationFrame(function(){y=!0})}this.mutationObserver=new l.MutationObserver(function(){l.requestAnimationFrame(function(){h.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},v.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var f=ce(this.el);this.elStyles=f.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var h=this.contentEl.offsetWidth,l=this.heightAutoObserverEl.offsetHeight<=1,y=this.heightAutoObserverEl.offsetWidth<=1||h>0,T=this.contentWrapperEl.offsetWidth,D=this.elStyles.overflowX,L=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var K=this.contentEl.scrollHeight,X=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=l?"auto":"100%",this.placeholderEl.style.width=y?"".concat(h||X,"px"):"auto",this.placeholderEl.style.height="".concat(K,"px");var le=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=h!==0&&X>h,this.axis.y.isOverflowing=K>le,this.axis.x.isOverflowing=D!=="hidden"&&this.axis.x.isOverflowing,this.axis.y.isOverflowing=L!=="hidden"&&this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var J=this.axis.x.isOverflowing?this.scrollbarWidth:0,ee=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&X>T-ee,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&K>le-J,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},v.prototype.getScrollbarSize=function(f){var h,l;if(f===void 0&&(f="y"),!this.axis[f].isOverflowing||!this.contentEl)return 0;var y,T=this.contentEl[this.axis[f].scrollSizeAttr],D=(l=(h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])!==null&&l!==void 0?l:0,L=D/T;return y=Math.max(~~(L*D),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(y=Math.min(y,this.options.scrollbarMaxSize)),y},v.prototype.positionScrollbar=function(f){var h,l,y;f===void 0&&(f="y");var T=this.axis[f].scrollbar;if(this.axis[f].isOverflowing&&this.contentWrapperEl&&T.el&&this.elStyles){var D=this.contentWrapperEl[this.axis[f].scrollSizeAttr],L=((h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])||0,K=parseInt(this.elStyles[this.axis[f].sizeAttr],10),X=this.contentWrapperEl[this.axis[f].scrollOffsetAttr];X=f==="x"&&this.isRtl&&(!((l=v.getRtlHelpers())===null||l===void 0)&&l.isScrollOriginAtZero)?-X:X,f==="x"&&this.isRtl&&(X=!((y=v.getRtlHelpers())===null||y===void 0)&&y.isScrollingToNegative?X:-X);var le=X/(D-K),J=~~((L-T.size)*le);J=f==="x"&&this.isRtl?-J+(L-T.size):J,T.el.style.transform=f==="x"?"translate3d(".concat(J,"px, 0, 0)"):"translate3d(0, ".concat(J,"px, 0)")}},v.prototype.toggleTrackVisibility=function(f){f===void 0&&(f="y");var h=this.axis[f].track.el,l=this.axis[f].scrollbar.el;h&&l&&this.contentWrapperEl&&(this.axis[f].isOverflowing||this.axis[f].forceVisible?(h.style.visibility="visible",this.contentWrapperEl.style[this.axis[f].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(f))):(h.style.visibility="hidden",this.contentWrapperEl.style[this.axis[f].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(f))),this.axis[f].isOverflowing?l.style.display="block":l.style.display="none")},v.prototype.showScrollbar=function(f){f===void 0&&(f="y"),this.axis[f].isOverflowing&&!this.axis[f].scrollbar.isVisible&&(Le(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!0)},v.prototype.hideScrollbar=function(f){f===void 0&&(f="y"),this.isDragging||this.axis[f].isOverflowing&&this.axis[f].scrollbar.isVisible&&(Ie(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!1)},v.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},v.prototype.onMouseMoveForAxis=function(f){f===void 0&&(f="y");var h=this.axis[f];h.track.el&&h.scrollbar.el&&(h.track.rect=h.track.el.getBoundingClientRect(),h.scrollbar.rect=h.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(h.track.rect)?(this.showScrollbar(f),Le(h.track.el,this.classNames.hover),this.isWithinBounds(h.scrollbar.rect)?Le(h.scrollbar.el,this.classNames.hover):Ie(h.scrollbar.el,this.classNames.hover)):(Ie(h.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)))},v.prototype.onMouseLeaveForAxis=function(f){f===void 0&&(f="y"),Ie(this.axis[f].track.el,this.classNames.hover),Ie(this.axis[f].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)},v.prototype.onDragStart=function(f,h){var l;h===void 0&&(h="y"),this.isDragging=!0;var y=Wn(this.el),T=ce(this.el),D=this.axis[h].scrollbar,L=h==="y"?f.pageY:f.pageX;this.axis[h].dragOffset=L-(((l=D.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])||0),this.draggedAxis=h,Le(this.el,this.classNames.dragging),y.addEventListener("mousemove",this.drag,!0),y.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(y.addEventListener("click",this.preventClick,!0),y.addEventListener("dblclick",this.preventClick,!0)):(T.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},v.prototype.onTrackClick=function(f,h){var l,y,T,D,L=this;h===void 0&&(h="y");var K=this.axis[h];if(this.options.clickOnTrack&&K.scrollbar.el&&this.contentWrapperEl){f.preventDefault();var X=ce(this.el);this.axis[h].scrollbar.rect=K.scrollbar.el.getBoundingClientRect();var le=(y=(l=this.axis[h].scrollbar.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])!==null&&y!==void 0?y:0,J=parseInt((D=(T=this.elStyles)===null||T===void 0?void 0:T[this.axis[h].sizeAttr])!==null&&D!==void 0?D:"0px",10),ee=this.contentWrapperEl[this.axis[h].scrollOffsetAttr],ve=(h==="y"?this.mouseY-le:this.mouseX-le)<0?-1:1,be=ve===-1?ee-J:ee+J,ye=function(){L.contentWrapperEl&&(ve===-1?ee>be&&(ee-=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)):ee<be&&(ee+=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)))};ye()}},v.prototype.getContentElement=function(){return this.contentEl},v.prototype.getScrollElement=function(){return this.contentWrapperEl},v.prototype.removeListeners=function(){var f=ce(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),f.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},v.prototype.unMount=function(){this.removeListeners()},v.prototype.isWithinBounds=function(f){return this.mouseX>=f.left&&this.mouseX<=f.left+f.width&&this.mouseY>=f.top&&this.mouseY<=f.top+f.height},v.prototype.findChild=function(f,h){var l=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.msMatchesSelector;return Array.prototype.filter.call(f.children,function(y){return l.call(y,h)})[0]},v.rtlHelpers=null,v.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},v.getOptions=Li,v.helpers=zi,v}(),Rn=kt.helpers,Ge=Rn.getOptions,Q=Rn.addClasses,ai=Rn.canUseDOM,ci=function(v){function f(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];var y=v.apply(this,h)||this;return f.instances.set(h[0],y),y}return function(h,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function y(){this.constructor=h}e(h,l),h.prototype=l===null?Object.create(l):(y.prototype=l.prototype,new y)}(f,v),f.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(h){h.getAttribute("data-simplebar")==="init"||f.instances.has(h)||new f(h,Ge(h.attributes))})},f.removeObserver=function(){var h;(h=f.globalObserver)===null||h===void 0||h.disconnect()},f.prototype.initDOM=function(){var h,l,y,T=this;if(!Array.prototype.filter.call(this.el.children,function(K){return K.classList.contains(T.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Q(this.wrapperEl,this.classNames.wrapper),Q(this.contentWrapperEl,this.classNames.contentWrapper),Q(this.offsetEl,this.classNames.offset),Q(this.maskEl,this.classNames.mask),Q(this.contentEl,this.classNames.contentEl),Q(this.placeholderEl,this.classNames.placeholder),Q(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Q(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(h=this.contentWrapperEl)===null||h===void 0||h.setAttribute("tabindex",this.options.tabIndex.toString()),(l=this.contentWrapperEl)===null||l===void 0||l.setAttribute("role","region"),(y=this.contentWrapperEl)===null||y===void 0||y.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var D=document.createElement("div"),L=document.createElement("div");Q(D,this.classNames.track),Q(L,this.classNames.scrollbar),D.appendChild(L),this.axis.x.track.el=D.cloneNode(!0),Q(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=D.cloneNode(!0),Q(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}kt.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},f.prototype.unMount=function(){kt.prototype.unMount.call(this),f.instances.delete(this.el)},f.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(f.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},f.handleMutations=function(h){h.forEach(function(l){l.addedNodes.forEach(function(y){y.nodeType===1&&(y.hasAttribute("data-simplebar")?!f.instances.has(y)&&document.documentElement.contains(y)&&new f(y,Ge(y.attributes)):y.querySelectorAll("[data-simplebar]").forEach(function(T){T.getAttribute("data-simplebar")!=="init"&&!f.instances.has(T)&&document.documentElement.contains(T)&&new f(T,Ge(T.attributes))}))}),l.removedNodes.forEach(function(y){var T;y.nodeType===1&&(y.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(y)&&((T=f.instances.get(y))===null||T===void 0||T.unMount()):Array.prototype.forEach.call(y.querySelectorAll('[data-simplebar="init"]'),function(D){var L;!document.documentElement.contains(D)&&((L=f.instances.get(D))===null||L===void 0||L.unMount())}))})})},f.instances=new WeakMap,f}(kt);return ai&&ci.initHtmlApi(),ci}()),Js}wa();const Sa=n.defineComponent({name:"ClUI",methods:{VITE_APP_VERSION:()=>"7.0.10"}}),B=(e,s)=>{const c=e.__vccOpts||e;for(const[p,b]of s)c[p]=b;return c};function Na(e,s,c,p,b,m){return n.toDisplayString(e.VITE_APP_VERSION())}const Ta=B(Sa,[["render",Na]]),Aa=n.defineComponent({name:"ClAlert",props:{type:{type:String,default:"info"}}});function Ba(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("p",{class:n.normalizeClass(["alert",`cl-alert-${e.type}`]),role:"alert"},[n.renderSlot(e.$slots,"default")],2)}const It=B(Aa,[["render",Ba]]);It.install=e=>{e.component(It.name??"ClNoName",It)};var Ti={exports:{}};/*!
|
|
2
2
|
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
3
3
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
4
4
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|