diff --git a/modules/backend/ServiceProvider.php b/modules/backend/ServiceProvider.php index 338096a147..74ca8dd395 100644 --- a/modules/backend/ServiceProvider.php +++ b/modules/backend/ServiceProvider.php @@ -10,6 +10,7 @@ use Backend\Models\UserRole; use Exception; use Illuminate\Support\Facades\Event; +use System\Classes\Asset\PackageManager; use System\Classes\CombineAssets; use System\Classes\MailManager; use System\Classes\SettingsManager; @@ -31,7 +32,6 @@ public function register() $this->registerConsole(); $this->registerMailer(); - $this->registerAssetBundles(); $this->registerBackendPermissions(); $this->registerBackendUserEvents(); @@ -53,6 +53,7 @@ public function register() */ public function boot() { + $this->registerAssetBundles(); parent::boot('backend'); } @@ -90,13 +91,12 @@ protected function registerAssetBundles() $combiner->registerBundle('~/modules/backend/assets/less/winter.less'); $combiner->registerBundle('~/modules/backend/assets/js/winter.js'); $combiner->registerBundle('~/modules/backend/widgets/table/assets/js/build.js'); + $combiner->registerBundle('~/modules/backend/assets/vendor/ace-codeeditor/build.js'); $combiner->registerBundle('~/modules/backend/widgets/mediamanager/assets/js/mediamanager-browser.js'); $combiner->registerBundle('~/modules/backend/widgets/mediamanager/assets/less/mediamanager.less'); $combiner->registerBundle('~/modules/backend/widgets/reportcontainer/assets/less/reportcontainer.less'); $combiner->registerBundle('~/modules/backend/widgets/table/assets/less/table.less'); - $combiner->registerBundle('~/modules/backend/formwidgets/codeeditor/assets/less/codeeditor.less'); $combiner->registerBundle('~/modules/backend/formwidgets/repeater/assets/less/repeater.less'); - $combiner->registerBundle('~/modules/backend/formwidgets/codeeditor/assets/js/build.js'); $combiner->registerBundle('~/modules/backend/formwidgets/fileupload/assets/less/fileupload.less'); $combiner->registerBundle('~/modules/backend/formwidgets/nestedform/assets/less/nestedform.less'); $combiner->registerBundle('~/modules/backend/formwidgets/richeditor/assets/js/build-plugins.js'); @@ -111,6 +111,10 @@ protected function registerAssetBundles() $combiner->registerBundle('~/modules/backend/formwidgets/richeditor/assets/js/build.js'); } }); + + PackageManager::instance()->registerCallback(function ($mix) { + $mix->registerPackage('module-backend.formwidgets.codeeditor', '~/modules/backend/formwidgets/codeeditor/assets/winter.mix.js'); + }); } /* diff --git a/modules/backend/assets/.gitignore b/modules/backend/assets/.gitignore new file mode 100644 index 0000000000..5e4176ac40 --- /dev/null +++ b/modules/backend/assets/.gitignore @@ -0,0 +1 @@ +!vendor diff --git a/modules/backend/assets/css/winter.css b/modules/backend/assets/css/winter.css index bb95343ba9..ac3cef6a3c 100644 --- a/modules/backend/assets/css/winter.css +++ b/modules/backend/assets/css/winter.css @@ -1021,7 +1021,8 @@ body.fancy-layout .master-tabs.control-tabs>.tab-content>.tab-pane.padded-pane, .fancy-layout *:not(.nested-form):not(.modal-body)>.form-widget>.layout-row>.control-tabs.secondary-tabs.secondary-content-tabs>div>ul.nav-tabs>li.active a>span.title{background-color:white} .fancy-layout *:not(.nested-form):not(.modal-body)>.form-widget>.layout-row>.control-tabs.secondary-tabs.secondary-content-tabs>div>ul.nav-tabs>li.active a>span.title:before, .fancy-layout *:not(.nested-form):not(.modal-body)>.form-widget>.layout-row>.control-tabs.secondary-tabs.secondary-content-tabs>div>ul.nav-tabs>li.active a>span.title:after{display:block} -.fancy-layout *:not(.nested-form):not(.modal-body)>.form-widget>.layout-row>.control-tabs.secondary-tabs.secondary-content-tabs.primary-collapsed .tab-collapse-icon.primary{color:white} +.fancy-layout *:not(.nested-form):not(.modal-body)>.form-widget>.layout-row>.control-tabs.secondary-tabs.secondary-content-tabs .tab-collapse-icon.primary{color:#000} +.fancy-layout *:not(.nested-form):not(.modal-body)>.form-widget>.layout-row>.control-tabs.secondary-tabs.secondary-content-tabs.primary-collapsed .tab-collapse-icon.primary{color:#fff} .fancy-layout *:not(.nested-form):not(.modal-body)>.form-widget>.layout-row>.control-tabs.secondary-tabs.secondary-content-tabs.primary-collapsed>div>ul.nav-tabs{background:#2da7c7} .fancy-layout *:not(.nested-form):not(.modal-body)>.form-widget>.layout-row>.control-tabs.secondary-tabs.secondary-content-tabs.primary-collapsed>div>ul.nav-tabs>li a{color:white} .fancy-layout *:not(.nested-form):not(.modal-body)>.form-widget>.layout-row>.control-tabs.secondary-tabs.secondary-content-tabs.primary-collapsed>div>ul.nav-tabs>li a>span.title:before, diff --git a/modules/backend/assets/js/preferences/preferences.js b/modules/backend/assets/js/preferences/preferences.js index 9e55335c9a..b8049d7035 100644 --- a/modules/backend/assets/js/preferences/preferences.js +++ b/modules/backend/assets/js/preferences/preferences.js @@ -1,71 +1 @@ -$(document).ready(function() { - - var editorEl = $('#editorpreferencesCodeeditor'), - editor = editorEl.codeEditor('getEditorObject'), - session = editor.getSession(), - renderer = editor.renderer - - editorEl.height($('#editorSettingsForm').height() - 23) - - $('#Form-field-Preference-editor_theme').on('change', function() { - editorEl.codeEditor('setTheme', $(this).val()) - }) - - $('#Form-field-Preference-editor_font_size').on('change', function() { - editor.setFontSize(parseInt($(this).val())) - }) - - $('#Form-field-Preference-editor_word_wrap').on('change', function() { - editorEl.codeEditor('setWordWrap', $(this).val()) - }) - - $('#Form-field-Preference-editor_code_folding').on('change', function() { - session.setFoldStyle($(this).val()) - }) - - $('#Form-field-Preference-editor_autocompletion').on('change', function() { - editor.setOption('enableBasicAutocompletion', false) - editor.setOption('enableLiveAutocompletion', false) - - var val = $(this).val() - if (val == 'basic') { - editor.setOption('enableBasicAutocompletion', true) - } - else if (val == 'live') { - editor.setOption('enableLiveAutocompletion', true) - } - }) - - $('#Form-field-Preference-editor_tab_size').on('change', function() { - session.setTabSize($(this).val()) - }) - - $('#Form-field-Preference-editor_show_invisibles').on('change', function() { - editor.setShowInvisibles($(this).is(':checked')) - }) - - $('#Form-field-Preference-editor_enable_snippets').on('change', function() { - editor.setOption('enableSnippets', $(this).is(':checked')) - }) - - $('#Form-field-Preference-editor_display_indent_guides').on('change', function() { - editor.setDisplayIndentGuides($(this).is(':checked')) - }) - - $('#Form-field-Preference-editor_show_print_margin').on('change', function() { - editor.setShowPrintMargin($(this).is(':checked')) - }) - - $('#Form-field-Preference-editor_highlight_active_line').on('change', function() { - editor.setHighlightActiveLine($(this).is(':checked')) - }) - - $('#Form-field-Preference-editor_use_hard_tabs').on('change', function() { - session.setUseSoftTabs(!$(this).is(':checked')) - }) - - $('#Form-field-Preference-editor_show_gutter').on('change', function() { - renderer.setShowGutter($(this).is(':checked')) - }) - -}) +"use strict";(self.webpackChunk_wintercms_wn_backend_module=self.webpackChunk_wintercms_wn_backend_module||[]).push([[429],{449:function(e,t,i){var n=i(171);(e=>{class t extends e.Singleton{construct(){this.widget=null}listens(){return{"backend.widget.initialized":"onWidgetInitialized"}}onWidgetInitialized(e,t){e===document.getElementById("CodeEditor-formEditorPreview-_editor_preview")&&(this.widget=t,this.enablePreferences())}enablePreferences(){(0,n.M)("change");Object.entries({show_gutter:"showGutter",highlight_active_line:"highlightActiveLine",use_hard_tabs:"!useSoftTabs",display_indent_guides:"displayIndentGuides",show_invisibles:"showInvisibles",show_print_margin:"showPrintMargin",show_minimap:"showMinimap",enable_folding:"codeFolding",bracket_colors:"bracketColors",show_colors:"showColors"}).forEach(([e,t])=>{this.element(e).addEventListener("change",e=>{this.widget.setConfig(t.replace(/^!/,""),/^!/.test(t)?!e.target.checked:e.target.checked)})}),this.element("theme").addEventListener("$change",e=>{this.widget.loadTheme(e.target.value)}),this.element("font_size").addEventListener("$change",e=>{this.widget.setConfig("fontSize",e.target.value)}),this.element("tab_size").addEventListener("$change",e=>{this.widget.setConfig("tabSize",e.target.value)}),this.element("word_wrap").addEventListener("$change",e=>{const{value:t}=e.target;switch(t){case"off":this.widget.setConfig("wordWrap",!1);break;case"fluid":this.widget.setConfig("wordWrap","fluid");break;default:this.widget.setConfig("wordWrap",parseInt(t,10))}}),document.querySelectorAll("[data-switch-lang]").forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();const i=e.dataset.switchLang,n=document.querySelector(`[data-lang-snippet="${i}"]`);n&&(this.widget.setValue(n.textContent.trim()),this.widget.setLanguage(i))})}),this.widget.events.once("create",()=>{const e=new MouseEvent("click");document.querySelector('[data-switch-lang="css"]').dispatchEvent(e)})}element(e){return document.getElementById(`Form-field-Preference-editor_${e}`)}}e.addPlugin("backend.preferences",t)})(window.Snowboard)}},function(e){e.O(0,[810],function(){return t=449,e(e.s=t);var t});e.O()}]); \ No newline at end of file diff --git a/modules/backend/assets/less/layout/fancylayout.less b/modules/backend/assets/less/layout/fancylayout.less index 906945807c..21c8c02640 100644 --- a/modules/backend/assets/less/layout/fancylayout.less +++ b/modules/backend/assets/less/layout/fancylayout.less @@ -437,9 +437,13 @@ body.fancy-layout .master-tabs.control-tabs, } } + .tab-collapse-icon.primary { + color: #000000; + } + &.primary-collapsed { .tab-collapse-icon.primary { - color: white; + color: @color-fancy-master-tabs-active-text; } > div > ul.nav-tabs { diff --git a/modules/backend/assets/ui/js/ajax/Handler.js b/modules/backend/assets/ui/js/ajax/Handler.js index 8cd2577c62..c7ea8866bc 100644 --- a/modules/backend/assets/ui/js/ajax/Handler.js +++ b/modules/backend/assets/ui/js/ajax/Handler.js @@ -37,6 +37,7 @@ export default class Handler extends Snowboard.Singleton { if (!window.jQuery) { return; } + delegate('render'); // Add global event for rendering in Snowboard delegate('render'); @@ -46,6 +47,11 @@ export default class Handler extends Snowboard.Singleton { // Add "render" event for backwards compatibility window.jQuery(document).trigger('render'); + + // Add global event for rendering in Snowboard + document.addEventListener('$render', () => { + this.snowboard.globalEvent('render'); + }); } /** diff --git a/modules/backend/assets/ui/js/build/backend.js b/modules/backend/assets/ui/js/build/backend.js index 251900720e..6bbe4316cf 100644 --- a/modules/backend/assets/ui/js/build/backend.js +++ b/modules/backend/assets/ui/js/build/backend.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_wintercms_wn_backend_module=self.webpackChunk_wintercms_wn_backend_module||[]).push([[476],{286:function(e,t,n){var i=n(35),r=n(171);class s extends Snowboard.Singleton{listens(){return{ready:"ready",ajaxFetchOptions:"ajaxFetchOptions",ajaxUpdateComplete:"ajaxUpdateComplete"}}ready(){window.jQuery&&((0,r.M)("render"),document.addEventListener("$render",(()=>{this.snowboard.globalEvent("render")})),window.jQuery(document).trigger("render"))}addPrefilter(){window.jQuery&&window.jQuery.ajaxPrefilter((e=>{this.hasToken()&&(e.headers||(e.headers={}),e.headers["X-CSRF-TOKEN"]=this.getToken())}))}ajaxFetchOptions(e){this.hasToken()&&(e.headers["X-CSRF-TOKEN"]=this.getToken())}ajaxUpdateComplete(){window.jQuery&&window.jQuery(document).trigger("render")}hasToken(){const e=document.querySelector('meta[name="csrf-token"]');return!!e&&!!e.hasAttribute("content")}getToken(){return document.querySelector('meta[name="csrf-token"]').getAttribute("content")}}class a extends Snowboard.PluginBase{construct(e,t){if(e instanceof Snowboard.PluginBase==!1)throw new Error("Event handling can only be applied to Snowboard classes.");if(!t)throw new Error("Event prefix is required.");this.instance=e,this.eventPrefix=t,this.events=[]}on(e,t){this.events.push({event:e,callback:t})}off(e,t){this.events=this.events.filter((n=>n.event!==e||n.callback!==t))}once(e,t){var n=this;const i=this.events.push({event:e,callback:function(){t(...arguments),n.events.splice(i-1,1)}})}fire(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;it.event===e));let s=!1;r.forEach((e=>{s||!1===e.callback(...n)&&(s=!0)})),s||this.snowboard.globalEvent(`${this.eventPrefix}.${e}`,...n)}firePromise(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;it.event===e)),s=r.filter((e=>null!==e),r.map((e=>e.callback(...n))));Promise.all(s).then((()=>{this.snowboard.globalPromiseEvent(`${this.eventPrefix}.${e}`,...n)}))}}class o extends Snowboard.Singleton{construct(){this.registeredWidgets=[],this.elements=[],this.events={mutate:e=>this.onMutation(e)},this.observer=null}listens(){return{ready:"onReady",render:"onRender",ajaxUpdate:"onAjaxUpdate"}}register(e,t,n){this.registeredWidgets.push({control:e,widget:t,callback:n})}unregister(e){this.registeredWidgets=this.registeredWidgets.filter((t=>t.control!==e))}onReady(){this.initializeWidgets(document.body),this.observer||(this.observer=new MutationObserver(this.events.mutate),this.observer.observe(document.body,{childList:!0,subtree:!0}))}onRender(){this.initializeWidgets(document.body)}onAjaxUpdate(e){this.initializeWidgets(e)}initializeWidgets(e){this.registeredWidgets.forEach((t=>{const n=e.querySelectorAll(`[data-control="${t.control}"]:not([data-widget-initialized])`);n.length&&n.forEach((e=>{if(e.dataset.widgetInitialized)return;const n=this.snowboard[t.widget](e);this.elements.push({element:e,instance:n}),e.dataset.widgetInitialized=!0,this.snowboard.globalEvent("backend.widget.initialized",e,n),"function"==typeof t.callback&&t.callback(n,e)}))}))}getWidget(e){const t=this.elements.find((t=>t.element===e));return t?t.instance:null}onMutation(e){const t=e.filter((e=>e.removedNodes.length)).map((e=>Array.from(e.removedNodes))).flat();t.length&&t.forEach((e=>{const t=this.elements.filter((t=>e.contains(t.element)));t.length&&t.forEach((e=>{e.instance.destruct(),this.elements=this.elements.filter((t=>t!==e))}))}))}}if(void 0===window.Snowboard)throw new Error("Snowboard must be loaded in order to use the Backend UI.");(e=>{e.addPlugin("backend.ajax.handler",s),e.addPlugin("backend.ui.eventHandler",a),e.addPlugin("backend.ui.widgetHandler",o),e["backend.ajax.handler"]().addPrefilter(),window.AssetManager={load:(t,n)=>{e.assetLoader().load(t).then((()=>{n&&"function"==typeof n&&n()}))}},window.assetManager=window.AssetManager})(window.Snowboard),window.Vue=i}},function(e){e.O(0,[429],(function(){return t=286,e(e.s=t);var t}));e.O()}]); \ No newline at end of file +"use strict";(self.webpackChunk_wintercms_wn_backend_module=self.webpackChunk_wintercms_wn_backend_module||[]).push([[476],{286:function(e,t,n){var i=n(35),r=n(171);class s extends Snowboard.Singleton{listens(){return{ready:"ready",ajaxFetchOptions:"ajaxFetchOptions",ajaxUpdateComplete:"ajaxUpdateComplete"}}ready(){window.jQuery&&((0,r.M)("render"),(0,r.M)("render"),document.addEventListener("$render",()=>{this.snowboard.globalEvent("render")}),window.jQuery(document).trigger("render"),document.addEventListener("$render",()=>{this.snowboard.globalEvent("render")}))}addPrefilter(){window.jQuery&&window.jQuery.ajaxPrefilter(e=>{this.hasToken()&&(e.headers||(e.headers={}),e.headers["X-CSRF-TOKEN"]=this.getToken())})}ajaxFetchOptions(e){this.hasToken()&&(e.headers["X-CSRF-TOKEN"]=this.getToken())}ajaxUpdateComplete(){window.jQuery&&window.jQuery(document).trigger("render")}hasToken(){const e=document.querySelector('meta[name="csrf-token"]');return!!e&&!!e.hasAttribute("content")}getToken(){return document.querySelector('meta[name="csrf-token"]').getAttribute("content")}}class a extends Snowboard.PluginBase{construct(e,t){if(e instanceof Snowboard.PluginBase==!1)throw new Error("Event handling can only be applied to Snowboard classes.");if(!t)throw new Error("Event prefix is required.");this.instance=e,this.eventPrefix=t,this.events=[]}on(e,t){this.events.push({event:e,callback:t})}off(e,t){this.events=this.events.filter(n=>n.event!==e||n.callback!==t)}once(e,t){const n=this.events.push({event:e,callback:(...e)=>{t(...e),this.events.splice(n-1,1)}})}fire(e,...t){const n=this.events.filter(t=>t.event===e);let i=!1;n.forEach(e=>{i||!1===e.callback(...t)&&(i=!0)}),i||this.snowboard.globalEvent(`${this.eventPrefix}.${e}`,...t)}firePromise(e,...t){const n=this.events.filter(t=>t.event===e),i=n.filter(e=>null!==e,n.map(e=>e.callback(...t)));Promise.all(i).then(()=>{this.snowboard.globalPromiseEvent(`${this.eventPrefix}.${e}`,...t)})}}class o extends Snowboard.Singleton{construct(){this.registeredWidgets=[],this.elements=[],this.events={mutate:e=>this.onMutation(e)},this.observer=null}listens(){return{ready:"onReady",render:"onRender",ajaxUpdate:"onAjaxUpdate"}}register(e,t,n){this.registeredWidgets.push({control:e,widget:t,callback:n})}unregister(e){this.registeredWidgets=this.registeredWidgets.filter(t=>t.control!==e)}onReady(){this.initializeWidgets(document.body),this.observer||(this.observer=new MutationObserver(this.events.mutate),this.observer.observe(document.body,{childList:!0,subtree:!0}))}onRender(){this.initializeWidgets(document.body)}onAjaxUpdate(e){this.initializeWidgets(e)}initializeWidgets(e){this.registeredWidgets.forEach(t=>{const n=e.querySelectorAll(`[data-control="${t.control}"]:not([data-widget-initialized])`);n.length&&n.forEach(e=>{if(e.dataset.widgetInitialized)return;const n=this.snowboard[t.widget](e);this.elements.push({element:e,instance:n}),e.dataset.widgetInitialized=!0,this.snowboard.globalEvent("backend.widget.initialized",e,n),"function"==typeof t.callback&&t.callback(n,e)})})}getWidget(e){const t=this.elements.find(t=>t.element===e);return t?t.instance:null}onMutation(e){const t=e.filter(e=>e.removedNodes.length).map(e=>Array.from(e.removedNodes)).flat();t.length&&t.forEach(e=>{const t=this.elements.filter(t=>e.contains(t.element));t.length&&t.forEach(e=>{e.instance.destruct(),this.elements=this.elements.filter(t=>t!==e)})})}}if(void 0===window.Snowboard)throw new Error("Snowboard must be loaded in order to use the Backend UI.");(e=>{e.addPlugin("backend.ajax.handler",s),e.addPlugin("backend.ui.eventHandler",a),e.addPlugin("backend.ui.widgetHandler",o),e["backend.ajax.handler"]().addPrefilter(),window.AssetManager={load:(t,n)=>{e.assetLoader().load(t).then(()=>{n&&"function"==typeof n&&n()})}},window.assetManager=window.AssetManager})(window.Snowboard),window.Vue=i},627:function(){}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[810,908],function(){return t(286),t(627)});e.O()}]); \ No newline at end of file diff --git a/modules/backend/assets/ui/js/build/manifest.js b/modules/backend/assets/ui/js/build/manifest.js index 058ea1c4c6..50ce84965b 100644 --- a/modules/backend/assets/ui/js/build/manifest.js +++ b/modules/backend/assets/ui/js/build/manifest.js @@ -1 +1 @@ -!function(){"use strict";var n,e={},r={};function t(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={id:n,exports:{}};return e[n](i,i.exports,t),i.exports}t.m=e,n=[],t.O=function(e,r,o,i){if(!r){var u=1/0;for(l=0;l=i)&&Object.keys(t.O).every((function(n){return t.O[n](r[c])}))?r.splice(c--,1):(f=!1,i0&&n[l-1][2]>i;l--)n[l]=n[l-1];n[l]=[r,o,i]},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,{a:e}),e},t.d=function(n,e){for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},function(){var n={624:0};t.O.j=function(e){return 0===n[e]};var e=function(e,r){var o,i,u=r[0],f=r[1],c=r[2],a=0;if(u.some((function(e){return 0!==n[e]}))){for(o in f)t.o(f,o)&&(t.m[o]=f[o]);if(c)var l=c(t)}for(e&&e(r);a=i)&&Object.keys(t.O).every(function(n){return t.O[n](r[c])})?r.splice(c--,1):(f=!1,i0&&n[l-1][2]>i;l--)n[l]=n[l-1];n[l]=[r,o,i]},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,{a:e}),e},t.d=function(n,e){for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},function(){var n={624:0,908:0};t.O.j=function(e){return 0===n[e]};var e=function(e,r){var o,i,u=r[0],f=r[1],c=r[2],a=0;if(u.some(function(e){return 0!==n[e]})){for(o in f)t.o(f,o)&&(t.m[o]=f[o]);if(c)var l=c(t)}for(e&&e(r);a{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}},35:function(e,t,n){n.r(t),n.d(t,{BaseTransition:function(){return Sr},BaseTransitionPropsValidators:function(){return yr},Comment:function(){return xi},DeprecationTypes:function(){return $c},EffectScope:function(){return be},ErrorCodes:function(){return Tn},ErrorTypeStrings:function(){return Rc},Fragment:function(){return _i},KeepAlive:function(){return to},ReactiveEffect:function(){return Te},Static:function(){return Ci},Suspense:function(){return hi},Teleport:function(){return fr},Text:function(){return Si},TrackOpTypes:function(){return un},Transition:function(){return Yc},TransitionGroup:function(){return Wl},TriggerOpTypes:function(){return fn},VueElement:function(){return $l},assertNumber:function(){return Cn},callWithAsyncErrorHandling:function(){return wn},callWithErrorHandling:function(){return En},camelize:function(){return M},capitalize:function(){return D},cloneVNode:function(){return ji},compatUtils:function(){return Dc},compile:function(){return Cp},computed:function(){return Tc},createApp:function(){return xa},createBlock:function(){return Mi},createCommentVNode:function(){return zi},createElementBlock:function(){return Oi},createElementVNode:function(){return Fi},createHydrationRenderer:function(){return Vs},createPropsRestProxy:function(){return Zo},createRenderer:function(){return $s},createSSRApp:function(){return Ca},createSlots:function(){return Ro},createStaticVNode:function(){return Wi},createTextVNode:function(){return qi},createVNode:function(){return Bi},customRef:function(){return nn},defineAsyncComponent:function(){return Qr},defineComponent:function(){return Ar},defineCustomElement:function(){return Pl},defineEmits:function(){return Uo},defineExpose:function(){return Ho},defineModel:function(){return Wo},defineOptions:function(){return jo},defineProps:function(){return Bo},defineSSRCustomElement:function(){return Ll},defineSlots:function(){return qo},devtools:function(){return Oc},effect:function(){return $e},effectScope:function(){return _e},getCurrentInstance:function(){return nc},getCurrentScope:function(){return Se},getCurrentWatcher:function(){return mn},getTransitionRawChildren:function(){return wr},guardReactiveProps:function(){return Hi},h:function(){return kc},handleError:function(){return An},hasInjectionContext:function(){return bs},hydrate:function(){return Sa},hydrateOnIdle:function(){return Kr},hydrateOnInteraction:function(){return Gr},hydrateOnMediaQuery:function(){return Yr},hydrateOnVisible:function(){return Jr},initCustomFormatter:function(){return Ec},initDirectivesForSSR:function(){return wa},inject:function(){return ys},isMemoSame:function(){return Ac},isProxy:function(){return Bt},isReactive:function(){return $t},isReadonly:function(){return Vt},isRef:function(){return Wt},isRuntimeOnly:function(){return hc},isShallow:function(){return Ft},isVNode:function(){return Pi},markRaw:function(){return Ht},mergeDefaults:function(){return Xo},mergeModels:function(){return Qo},mergeProps:function(){return Gi},nextTick:function(){return Dn},normalizeClass:function(){return X},normalizeProps:function(){return Q},normalizeStyle:function(){return z},onActivated:function(){return ro},onBeforeMount:function(){return fo},onBeforeUnmount:function(){return go},onBeforeUpdate:function(){return ho},onDeactivated:function(){return oo},onErrorCaptured:function(){return So},onMounted:function(){return po},onRenderTracked:function(){return _o},onRenderTriggered:function(){return bo},onScopeDispose:function(){return xe},onServerPrefetch:function(){return yo},onUnmounted:function(){return vo},onUpdated:function(){return mo},onWatcherCleanup:function(){return gn},openBlock:function(){return Ei},popScopeId:function(){return Xn},provide:function(){return vs},proxyRefs:function(){return en},pushScopeId:function(){return Gn},queuePostFlushCb:function(){return Fn},reactive:function(){return Ot},readonly:function(){return Pt},ref:function(){return zt},registerRuntimeCompiler:function(){return pc},render:function(){return _a},renderList:function(){return Io},renderSlot:function(){return Oo},resolveComponent:function(){return To},resolveDirective:function(){return wo},resolveDynamicComponent:function(){return Eo},resolveFilter:function(){return Lc},resolveTransitionHooks:function(){return Cr},setBlockTracking:function(){return Ii},setDevtoolsHook:function(){return Mc},setTransitionHooks:function(){return Er},shallowReactive:function(){return Mt},shallowReadonly:function(){return Lt},shallowRef:function(){return Kt},ssrContextKey:function(){return zs},ssrUtils:function(){return Pc},stop:function(){return Ve},toDisplayString:function(){return he},toHandlerKey:function(){return $},toHandlers:function(){return Po},toRaw:function(){return Ut},toRef:function(){return cn},toRefs:function(){return rn},toValue:function(){return Qt},transformVNodeArgs:function(){return Di},triggerRef:function(){return Gt},unref:function(){return Xt},useAttrs:function(){return Jo},useCssModule:function(){return Bl},useCssVars:function(){return hl},useHost:function(){return Vl},useId:function(){return Nr},useModel:function(){return ti},useSSRContext:function(){return Ks},useShadowRoot:function(){return Fl},useSlots:function(){return Ko},useTemplateRef:function(){return Rr},useTransitionState:function(){return gr},vModelCheckbox:function(){return ea},vModelDynamic:function(){return ca},vModelRadio:function(){return na},vModelSelect:function(){return ra},vModelText:function(){return Zl},vShow:function(){return fl},version:function(){return Nc},warn:function(){return Ic},watch:function(){return Xs},watchEffect:function(){return Js},watchPostEffect:function(){return Ys},watchSyncEffect:function(){return Gs},withAsyncContext:function(){return es},withCtx:function(){return Zn},withDefaults:function(){return zo},withDirectives:function(){return er},withKeys:function(){return ha},withMemo:function(){return wc},withModifiers:function(){return da},withScopeId:function(){return Qn}});var r={}; +"use strict";(self.webpackChunk_wintercms_wn_backend_module=self.webpackChunk_wintercms_wn_backend_module||[]).push([[810],{35:function(e,t,n){n.r(t),n.d(t,{BaseTransition:function(){return xr},BaseTransitionPropsValidators:function(){return _r},Comment:function(){return Ci},DeprecationTypes:function(){return Fc},EffectScope:function(){return be},ErrorCodes:function(){return kn},ErrorTypeStrings:function(){return Oc},Fragment:function(){return Si},KeepAlive:function(){return no},ReactiveEffect:function(){return ke},Static:function(){return Ti},Suspense:function(){return mi},Teleport:function(){return dr},Text:function(){return xi},TrackOpTypes:function(){return fn},Transition:function(){return Gc},TransitionGroup:function(){return zl},TriggerOpTypes:function(){return dn},VueElement:function(){return Fl},assertNumber:function(){return Tn},callWithAsyncErrorHandling:function(){return An},callWithErrorHandling:function(){return wn},camelize:function(){return M},capitalize:function(){return L},cloneVNode:function(){return qi},compatUtils:function(){return $c},compile:function(){return kp},computed:function(){return kc},createApp:function(){return Ca},createBlock:function(){return Pi},createCommentVNode:function(){return Ki},createElementBlock:function(){return Mi},createElementVNode:function(){return Bi},createHydrationRenderer:function(){return Vs},createPropsRestProxy:function(){return es},createRenderer:function(){return Fs},createSSRApp:function(){return Ta},createSlots:function(){return Oo},createStaticVNode:function(){return zi},createTextVNode:function(){return Wi},createVNode:function(){return Ui},customRef:function(){return rn},defineAsyncComponent:function(){return Zr},defineComponent:function(){return Nr},defineCustomElement:function(){return Dl},defineEmits:function(){return Ho},defineExpose:function(){return jo},defineModel:function(){return zo},defineOptions:function(){return qo},defineProps:function(){return Uo},defineSSRCustomElement:function(){return Ll},defineSlots:function(){return Wo},devtools:function(){return Mc},effect:function(){return Fe},effectScope:function(){return Se},getCurrentInstance:function(){return rc},getCurrentScope:function(){return xe},getCurrentWatcher:function(){return gn},getTransitionRawChildren:function(){return Ar},guardReactiveProps:function(){return ji},h:function(){return Ec},handleError:function(){return Nn},hasInjectionContext:function(){return bs},hydrate:function(){return xa},hydrateOnIdle:function(){return Jr},hydrateOnInteraction:function(){return Xr},hydrateOnMediaQuery:function(){return Gr},hydrateOnVisible:function(){return Yr},initCustomFormatter:function(){return wc},initDirectivesForSSR:function(){return Aa},inject:function(){return _s},isMemoSame:function(){return Nc},isProxy:function(){return Ut},isReactive:function(){return Ft},isReadonly:function(){return Vt},isRef:function(){return zt},isRuntimeOnly:function(){return mc},isShallow:function(){return Bt},isVNode:function(){return Di},markRaw:function(){return jt},mergeDefaults:function(){return Qo},mergeModels:function(){return Zo},mergeProps:function(){return Xi},nextTick:function(){return $n},normalizeClass:function(){return X},normalizeProps:function(){return Q},normalizeStyle:function(){return z},onActivated:function(){return oo},onBeforeMount:function(){return po},onBeforeUnmount:function(){return vo},onBeforeUpdate:function(){return mo},onDeactivated:function(){return so},onErrorCaptured:function(){return xo},onMounted:function(){return ho},onRenderTracked:function(){return So},onRenderTriggered:function(){return bo},onScopeDispose:function(){return Ce},onServerPrefetch:function(){return _o},onUnmounted:function(){return yo},onUpdated:function(){return go},onWatcherCleanup:function(){return vn},openBlock:function(){return wi},popScopeId:function(){return Qn},provide:function(){return ys},proxyRefs:function(){return tn},pushScopeId:function(){return Xn},queuePostFlushCb:function(){return Bn},reactive:function(){return Mt},readonly:function(){return Dt},ref:function(){return Kt},registerRuntimeCompiler:function(){return hc},render:function(){return Sa},renderList:function(){return Ro},renderSlot:function(){return Mo},resolveComponent:function(){return ko},resolveDirective:function(){return Ao},resolveDynamicComponent:function(){return wo},resolveFilter:function(){return Lc},resolveTransitionHooks:function(){return Tr},setBlockTracking:function(){return Ri},setDevtoolsHook:function(){return Pc},setTransitionHooks:function(){return wr},shallowReactive:function(){return Pt},shallowReadonly:function(){return Lt},shallowRef:function(){return Jt},ssrContextKey:function(){return Ks},ssrUtils:function(){return Dc},stop:function(){return Ve},toDisplayString:function(){return he},toHandlerKey:function(){return $},toHandlers:function(){return Do},toRaw:function(){return Ht},toRef:function(){return ln},toRefs:function(){return on},toValue:function(){return Zt},transformVNodeArgs:function(){return $i},triggerRef:function(){return Xt},unref:function(){return Qt},useAttrs:function(){return Yo},useCssModule:function(){return Ul},useCssVars:function(){return ml},useHost:function(){return Vl},useId:function(){return Ir},useModel:function(){return ni},useSSRContext:function(){return Js},useShadowRoot:function(){return Bl},useSlots:function(){return Jo},useTemplateRef:function(){return Or},useTransitionState:function(){return vr},vModelCheckbox:function(){return ta},vModelDynamic:function(){return la},vModelRadio:function(){return ra},vModelSelect:function(){return oa},vModelText:function(){return ea},vShow:function(){return dl},version:function(){return Ic},warn:function(){return Rc},watch:function(){return Qs},watchEffect:function(){return Ys},watchPostEffect:function(){return Gs},watchSyncEffect:function(){return Xs},withAsyncContext:function(){return ts},withCtx:function(){return er},withDefaults:function(){return Ko},withDirectives:function(){return tr},withKeys:function(){return ma},withMemo:function(){return Ac},withModifiers:function(){return pa},withScopeId:function(){return Zn}});var r={}; /** -* @vue/shared v3.5.13 +* @vue/shared v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ /*! #__NO_SIDE_EFFECTS__ */ -function o(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}n.r(r),n.d(r,{BaseTransition:function(){return Sr},BaseTransitionPropsValidators:function(){return yr},Comment:function(){return xi},DeprecationTypes:function(){return $c},EffectScope:function(){return be},ErrorCodes:function(){return Tn},ErrorTypeStrings:function(){return Rc},Fragment:function(){return _i},KeepAlive:function(){return to},ReactiveEffect:function(){return Te},Static:function(){return Ci},Suspense:function(){return hi},Teleport:function(){return fr},Text:function(){return Si},TrackOpTypes:function(){return un},Transition:function(){return Yc},TransitionGroup:function(){return Wl},TriggerOpTypes:function(){return fn},VueElement:function(){return $l},assertNumber:function(){return Cn},callWithAsyncErrorHandling:function(){return wn},callWithErrorHandling:function(){return En},camelize:function(){return M},capitalize:function(){return D},cloneVNode:function(){return ji},compatUtils:function(){return Dc},computed:function(){return Tc},createApp:function(){return xa},createBlock:function(){return Mi},createCommentVNode:function(){return zi},createElementBlock:function(){return Oi},createElementVNode:function(){return Fi},createHydrationRenderer:function(){return Vs},createPropsRestProxy:function(){return Zo},createRenderer:function(){return $s},createSSRApp:function(){return Ca},createSlots:function(){return Ro},createStaticVNode:function(){return Wi},createTextVNode:function(){return qi},createVNode:function(){return Bi},customRef:function(){return nn},defineAsyncComponent:function(){return Qr},defineComponent:function(){return Ar},defineCustomElement:function(){return Pl},defineEmits:function(){return Uo},defineExpose:function(){return Ho},defineModel:function(){return Wo},defineOptions:function(){return jo},defineProps:function(){return Bo},defineSSRCustomElement:function(){return Ll},defineSlots:function(){return qo},devtools:function(){return Oc},effect:function(){return $e},effectScope:function(){return _e},getCurrentInstance:function(){return nc},getCurrentScope:function(){return Se},getCurrentWatcher:function(){return mn},getTransitionRawChildren:function(){return wr},guardReactiveProps:function(){return Hi},h:function(){return kc},handleError:function(){return An},hasInjectionContext:function(){return bs},hydrate:function(){return Sa},hydrateOnIdle:function(){return Kr},hydrateOnInteraction:function(){return Gr},hydrateOnMediaQuery:function(){return Yr},hydrateOnVisible:function(){return Jr},initCustomFormatter:function(){return Ec},initDirectivesForSSR:function(){return wa},inject:function(){return ys},isMemoSame:function(){return Ac},isProxy:function(){return Bt},isReactive:function(){return $t},isReadonly:function(){return Vt},isRef:function(){return Wt},isRuntimeOnly:function(){return hc},isShallow:function(){return Ft},isVNode:function(){return Pi},markRaw:function(){return Ht},mergeDefaults:function(){return Xo},mergeModels:function(){return Qo},mergeProps:function(){return Gi},nextTick:function(){return Dn},normalizeClass:function(){return X},normalizeProps:function(){return Q},normalizeStyle:function(){return z},onActivated:function(){return ro},onBeforeMount:function(){return fo},onBeforeUnmount:function(){return go},onBeforeUpdate:function(){return ho},onDeactivated:function(){return oo},onErrorCaptured:function(){return So},onMounted:function(){return po},onRenderTracked:function(){return _o},onRenderTriggered:function(){return bo},onScopeDispose:function(){return xe},onServerPrefetch:function(){return yo},onUnmounted:function(){return vo},onUpdated:function(){return mo},onWatcherCleanup:function(){return gn},openBlock:function(){return Ei},popScopeId:function(){return Xn},provide:function(){return vs},proxyRefs:function(){return en},pushScopeId:function(){return Gn},queuePostFlushCb:function(){return Fn},reactive:function(){return Ot},readonly:function(){return Pt},ref:function(){return zt},registerRuntimeCompiler:function(){return pc},render:function(){return _a},renderList:function(){return Io},renderSlot:function(){return Oo},resolveComponent:function(){return To},resolveDirective:function(){return wo},resolveDynamicComponent:function(){return Eo},resolveFilter:function(){return Lc},resolveTransitionHooks:function(){return Cr},setBlockTracking:function(){return Ii},setDevtoolsHook:function(){return Mc},setTransitionHooks:function(){return Er},shallowReactive:function(){return Mt},shallowReadonly:function(){return Lt},shallowRef:function(){return Kt},ssrContextKey:function(){return zs},ssrUtils:function(){return Pc},stop:function(){return Ve},toDisplayString:function(){return he},toHandlerKey:function(){return $},toHandlers:function(){return Po},toRaw:function(){return Ut},toRef:function(){return cn},toRefs:function(){return rn},toValue:function(){return Qt},transformVNodeArgs:function(){return Di},triggerRef:function(){return Gt},unref:function(){return Xt},useAttrs:function(){return Jo},useCssModule:function(){return Bl},useCssVars:function(){return hl},useHost:function(){return Vl},useId:function(){return Nr},useModel:function(){return ti},useSSRContext:function(){return Ks},useShadowRoot:function(){return Fl},useSlots:function(){return Ko},useTemplateRef:function(){return Rr},useTransitionState:function(){return gr},vModelCheckbox:function(){return ea},vModelDynamic:function(){return ca},vModelRadio:function(){return na},vModelSelect:function(){return ra},vModelText:function(){return Zl},vShow:function(){return fl},version:function(){return Nc},warn:function(){return Ic},watch:function(){return Xs},watchEffect:function(){return Js},watchPostEffect:function(){return Ys},watchSyncEffect:function(){return Gs},withAsyncContext:function(){return es},withCtx:function(){return Zn},withDefaults:function(){return zo},withDirectives:function(){return er},withKeys:function(){return ha},withMemo:function(){return wc},withModifiers:function(){return da},withScopeId:function(){return Qn}});const s={},i=[],c=()=>{},l=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u=e=>e.startsWith("onUpdate:"),f=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,h=(e,t)=>p.call(e,t),m=Array.isArray,g=e=>"[object Map]"===k(e),v=e=>"[object Set]"===k(e),y=e=>"[object Date]"===k(e),b=e=>"function"==typeof e,_=e=>"string"==typeof e,S=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,C=e=>(x(e)||b(e))&&b(e.then)&&b(e.catch),T=Object.prototype.toString,k=e=>T.call(e),E=e=>k(e).slice(8,-1),w=e=>"[object Object]"===k(e),A=e=>_(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,N=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),I=o("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),R=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},O=/-(\w)/g,M=R((e=>e.replace(O,((e,t)=>t?t.toUpperCase():"")))),P=/\B([A-Z])/g,L=R((e=>e.replace(P,"-$1").toLowerCase())),D=R((e=>e.charAt(0).toUpperCase()+e.slice(1))),$=R((e=>e?`on${D(e)}`:"")),V=(e,t)=>!Object.is(e,t),F=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},U=e=>{const t=parseFloat(e);return isNaN(t)?e:t},H=e=>{const t=_(e)?Number(e):NaN;return isNaN(t)?e:t};let j;const q=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});const W=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function z(e){if(m(e)){const t={};for(let n=0;n{if(e){const n=e.split(J);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function X(e){let t="";if(_(e))t=e;else if(m(e))for(let n=0;n?@[\\\]^`{|}~]/g;function ue(e,t){return e.replace(ae,(e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`))}function fe(e,t){if(e===t)return!0;let n=y(e),r=y(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=S(e),r=S(t),n||r)return e===t;if(n=m(e),r=m(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&rfe(e,t)))}const pe=e=>!(!e||!0!==e.__v_isRef),he=e=>_(e)?e:null==e?"":m(e)||x(e)&&(e.toString===T||!b(e.toString))?pe(e)?he(e.value):JSON.stringify(e,me,2):String(e),me=(e,t)=>pe(t)?me(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[ge(t,r)+" =>"]=n,e)),{})}:v(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>ge(e)))}:S(t)?ge(t):!x(t)||m(t)||w(t)?t:String(t),ge=(e,t="")=>{var n;return S(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let ve,ye;class be{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ve,!e&&ve&&(this.index=(ve.scopes||(ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e0)return;if(Ee){let e=Ee;for(Ee=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;ke;){let t=ke;for(ke=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function Re(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Oe(e){let t,n=e.depsTail,r=n;for(;r;){const e=r.prevDep;-1===r.version?(r===n&&(n=e),Le(r),De(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Me(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Pe(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Pe(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===qe)return;e.globalVersion=qe;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Me(e))return void(e.flags&=-3);const n=ye,r=Fe;ye=e,Fe=!0;try{Re(e);const n=e.fn(e._value);(0===t.version||V(n,e._value))&&(e._value=n,t.version++)}catch(e){throw t.version++,e}finally{ye=n,Fe=r,Oe(e),e.flags&=-3}}function Le(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Le(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function De(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function $e(e,t){e.effect instanceof Te&&(e=e.effect.fn);const n=new Te(e);t&&f(n,t);try{n.run()}catch(e){throw n.stop(),e}const r=n.run.bind(n);return r.effect=n,r}function Ve(e){e.effect.stop()}let Fe=!0;const Be=[];function Ue(){Be.push(Fe),Fe=!1}function He(){const e=Be.pop();Fe=void 0===e||e}function je(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=ye;ye=void 0;try{t()}finally{ye=e}}}let qe=0;class We{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ze{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!ye||!Fe||ye===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==ye)t=this.activeLink=new We(ye,this),ye.deps?(t.prevDep=ye.depsTail,ye.depsTail.nextDep=t,ye.depsTail=t):ye.deps=ye.depsTail=t,Ke(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=ye.depsTail,t.nextDep=void 0,ye.depsTail.nextDep=t,ye.depsTail=t,ye.deps===t&&(ye.deps=e)}return t}trigger(e){this.version++,qe++,this.notify(e)}notify(e){Ne();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ie()}}}function Ke(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ke(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Je=new WeakMap,Ye=Symbol(""),Ge=Symbol(""),Xe=Symbol("");function Qe(e,t,n){if(Fe&&ye){let t=Je.get(e);t||Je.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new ze),r.map=t,r.key=n),r.track()}}function Ze(e,t,n,r,o,s){const i=Je.get(e);if(!i)return void qe++;const c=e=>{e&&e.trigger()};if(Ne(),"clear"===t)i.forEach(c);else{const o=m(e),s=o&&A(n);if(o&&"length"===n){const e=Number(r);i.forEach(((t,n)=>{("length"===n||n===Xe||!S(n)&&n>=e)&&c(t)}))}else switch((void 0!==n||i.has(void 0))&&c(i.get(n)),s&&c(i.get(Xe)),t){case"add":o?s&&c(i.get("length")):(c(i.get(Ye)),g(e)&&c(i.get(Ge)));break;case"delete":o||(c(i.get(Ye)),g(e)&&c(i.get(Ge)));break;case"set":g(e)&&c(i.get(Ye))}}Ie()}function et(e){const t=Ut(e);return t===e?t:(Qe(t,0,Xe),Ft(e)?t:t.map(jt))}function tt(e){return Qe(e=Ut(e),0,Xe),e}const nt={__proto__:null,[Symbol.iterator](){return rt(this,Symbol.iterator,jt)},concat(...e){return et(this).concat(...e.map((e=>m(e)?et(e):e)))},entries(){return rt(this,"entries",(e=>(e[1]=jt(e[1]),e)))},every(e,t){return st(this,"every",e,t,void 0,arguments)},filter(e,t){return st(this,"filter",e,t,(e=>e.map(jt)),arguments)},find(e,t){return st(this,"find",e,t,jt,arguments)},findIndex(e,t){return st(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return st(this,"findLast",e,t,jt,arguments)},findLastIndex(e,t){return st(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return st(this,"forEach",e,t,void 0,arguments)},includes(...e){return ct(this,"includes",e)},indexOf(...e){return ct(this,"indexOf",e)},join(e){return et(this).join(e)},lastIndexOf(...e){return ct(this,"lastIndexOf",e)},map(e,t){return st(this,"map",e,t,void 0,arguments)},pop(){return lt(this,"pop")},push(...e){return lt(this,"push",e)},reduce(e,...t){return it(this,"reduce",e,t)},reduceRight(e,...t){return it(this,"reduceRight",e,t)},shift(){return lt(this,"shift")},some(e,t){return st(this,"some",e,t,void 0,arguments)},splice(...e){return lt(this,"splice",e)},toReversed(){return et(this).toReversed()},toSorted(e){return et(this).toSorted(e)},toSpliced(...e){return et(this).toSpliced(...e)},unshift(...e){return lt(this,"unshift",e)},values(){return rt(this,"values",jt)}};function rt(e,t,n){const r=tt(e),o=r[t]();return r===e||Ft(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.value&&(e.value=n(e.value)),e}),o}const ot=Array.prototype;function st(e,t,n,r,o,s){const i=tt(e),c=i!==e&&!Ft(e),l=i[t];if(l!==ot[t]){const t=l.apply(e,s);return c?jt(t):t}let a=n;i!==e&&(c?a=function(t,r){return n.call(this,jt(t),r,e)}:n.length>2&&(a=function(t,r){return n.call(this,t,r,e)}));const u=l.call(i,a,r);return c&&o?o(u):u}function it(e,t,n,r){const o=tt(e);let s=n;return o!==e&&(Ft(e)?n.length>3&&(s=function(t,r,o){return n.call(this,t,r,o,e)}):s=function(t,r,o){return n.call(this,t,jt(r),o,e)}),o[t](s,...r)}function ct(e,t,n){const r=Ut(e);Qe(r,0,Xe);const o=r[t](...n);return-1!==o&&!1!==o||!Bt(n[0])?o:(n[0]=Ut(n[0]),r[t](...n))}function lt(e,t,n=[]){Ue(),Ne();const r=Ut(e)[t].apply(e,n);return Ie(),He(),r}const at=o("__proto__,__v_isRef,__isVue"),ut=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(S));function ft(e){S(e)||(e=String(e));const t=Ut(this);return Qe(t,0,e),t.hasOwnProperty(e)}class dt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Rt:It:o?Nt:At).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=m(e);if(!r){let e;if(s&&(e=nt[t]))return e;if("hasOwnProperty"===t)return ft}const i=Reflect.get(e,t,Wt(e)?e:n);return(S(t)?ut.has(t):at(t))?i:(r||Qe(e,0,t),o?i:Wt(i)?s&&A(t)?i:i.value:x(i)?r?Pt(i):Ot(i):i)}}class pt extends dt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){const t=Vt(o);if(Ft(n)||Vt(n)||(o=Ut(o),n=Ut(n)),!m(e)&&Wt(o)&&!Wt(n))return!t&&(o.value=n,!0)}const s=m(e)&&A(t)?Number(t)e,_t=e=>Reflect.getPrototypeOf(e);function St(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function xt(e,t){const n={get(n){const r=this.__v_raw,o=Ut(r),s=Ut(n);e||(V(n,s)&&Qe(o,0,n),Qe(o,0,s));const{has:i}=_t(o),c=t?bt:e?qt:jt;return i.call(o,n)?c(r.get(n)):i.call(o,s)?c(r.get(s)):void(r!==o&&r.get(n))},get size(){const t=this.__v_raw;return!e&&Qe(Ut(t),0,Ye),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,r=Ut(n),o=Ut(t);return e||(V(t,o)&&Qe(r,0,t),Qe(r,0,o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,r){const o=this,s=o.__v_raw,i=Ut(s),c=t?bt:e?qt:jt;return!e&&Qe(i,0,Ye),s.forEach(((e,t)=>n.call(r,c(e),c(t),o)))}};f(n,e?{add:St("add"),set:St("set"),delete:St("delete"),clear:St("clear")}:{add(e){t||Ft(e)||Vt(e)||(e=Ut(e));const n=Ut(this);return _t(n).has.call(n,e)||(n.add(e),Ze(n,"add",e,e)),this},set(e,n){t||Ft(n)||Vt(n)||(n=Ut(n));const r=Ut(this),{has:o,get:s}=_t(r);let i=o.call(r,e);i||(e=Ut(e),i=o.call(r,e));const c=s.call(r,e);return r.set(e,n),i?V(n,c)&&Ze(r,"set",e,n):Ze(r,"add",e,n),this},delete(e){const t=Ut(this),{has:n,get:r}=_t(t);let o=n.call(t,e);o||(e=Ut(e),o=n.call(t,e));r&&r.call(t,e);const s=t.delete(e);return o&&Ze(t,"delete",e,void 0),s},clear(){const e=Ut(this),t=0!==e.size,n=e.clear();return t&&Ze(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach((r=>{n[r]=function(e,t,n){return function(...r){const o=this.__v_raw,s=Ut(o),i=g(s),c="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,a=o[e](...r),u=n?bt:t?qt:jt;return!t&&Qe(s,0,l?Ge:Ye),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:c?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(r,e,t)})),n}function Ct(e,t){const n=xt(e,t);return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(h(n,r)&&r in t?n:t,r,o)}const Tt={get:Ct(!1,!1)},kt={get:Ct(!1,!0)},Et={get:Ct(!0,!1)},wt={get:Ct(!0,!0)};const At=new WeakMap,Nt=new WeakMap,It=new WeakMap,Rt=new WeakMap;function Ot(e){return Vt(e)?e:Dt(e,!1,mt,Tt,At)}function Mt(e){return Dt(e,!1,vt,kt,Nt)}function Pt(e){return Dt(e,!0,gt,Et,It)}function Lt(e){return Dt(e,!0,yt,wt,Rt)}function Dt(e,t,n,r,o){if(!x(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(E(c));var c;if(0===i)return e;const l=new Proxy(e,2===i?r:n);return o.set(e,l),l}function $t(e){return Vt(e)?$t(e.__v_raw):!(!e||!e.__v_isReactive)}function Vt(e){return!(!e||!e.__v_isReadonly)}function Ft(e){return!(!e||!e.__v_isShallow)}function Bt(e){return!!e&&!!e.__v_raw}function Ut(e){const t=e&&e.__v_raw;return t?Ut(t):e}function Ht(e){return!h(e,"__v_skip")&&Object.isExtensible(e)&&B(e,"__v_skip",!0),e}const jt=e=>x(e)?Ot(e):e,qt=e=>x(e)?Pt(e):e;function Wt(e){return!!e&&!0===e.__v_isRef}function zt(e){return Jt(e,!1)}function Kt(e){return Jt(e,!0)}function Jt(e,t){return Wt(e)?e:new Yt(e,t)}class Yt{constructor(e,t){this.dep=new ze,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Ut(e),this._value=t?e:jt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||Ft(e)||Vt(e);e=n?e:Ut(e),V(e,t)&&(this._rawValue=e,this._value=n?e:jt(e),this.dep.trigger())}}function Gt(e){e.dep&&e.dep.trigger()}function Xt(e){return Wt(e)?e.value:e}function Qt(e){return b(e)?e():Xt(e)}const Zt={get:(e,t,n)=>"__v_raw"===t?e:Xt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Wt(o)&&!Wt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function en(e){return $t(e)?e:new Proxy(e,Zt)}class tn{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new ze,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function nn(e){return new tn(e)}function rn(e){const t=m(e)?new Array(e.length):{};for(const n in e)t[n]=ln(e,n);return t}class on{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=Je.get(e);return n&&n.get(t)}(Ut(this._object),this._key)}}class sn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function cn(e,t,n){return Wt(e)?e:b(e)?new sn(e):x(e)&&arguments.length>1?ln(e,t,n):zt(e)}function ln(e,t,n){const r=e[t];return Wt(r)?r:new on(e,t,n)}class an{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new ze(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qe-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||ye===this))return Ae(this,!0),!0}get value(){const e=this.dep.track();return Pe(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const un={GET:"get",HAS:"has",ITERATE:"iterate"},fn={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},dn={},pn=new WeakMap;let hn;function mn(){return hn}function gn(e,t=!1,n=hn){if(n){let t=pn.get(n);t||pn.set(n,t=[]),t.push(e)}else 0}function vn(e,t=1/0,n){if(t<=0||!x(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Wt(e))vn(e.value,t,n);else if(m(e))for(let r=0;r{vn(e,t,n)}));else if(w(e)){for(const r in e)vn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&vn(e[r],t,n)}return e} +function o(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}n.r(r),n.d(r,{BaseTransition:function(){return xr},BaseTransitionPropsValidators:function(){return _r},Comment:function(){return Ci},DeprecationTypes:function(){return Fc},EffectScope:function(){return be},ErrorCodes:function(){return kn},ErrorTypeStrings:function(){return Oc},Fragment:function(){return Si},KeepAlive:function(){return no},ReactiveEffect:function(){return ke},Static:function(){return Ti},Suspense:function(){return mi},Teleport:function(){return dr},Text:function(){return xi},TrackOpTypes:function(){return fn},Transition:function(){return Gc},TransitionGroup:function(){return zl},TriggerOpTypes:function(){return dn},VueElement:function(){return Fl},assertNumber:function(){return Tn},callWithAsyncErrorHandling:function(){return An},callWithErrorHandling:function(){return wn},camelize:function(){return M},capitalize:function(){return L},cloneVNode:function(){return qi},compatUtils:function(){return $c},computed:function(){return kc},createApp:function(){return Ca},createBlock:function(){return Pi},createCommentVNode:function(){return Ki},createElementBlock:function(){return Mi},createElementVNode:function(){return Bi},createHydrationRenderer:function(){return Vs},createPropsRestProxy:function(){return es},createRenderer:function(){return Fs},createSSRApp:function(){return Ta},createSlots:function(){return Oo},createStaticVNode:function(){return zi},createTextVNode:function(){return Wi},createVNode:function(){return Ui},customRef:function(){return rn},defineAsyncComponent:function(){return Zr},defineComponent:function(){return Nr},defineCustomElement:function(){return Dl},defineEmits:function(){return Ho},defineExpose:function(){return jo},defineModel:function(){return zo},defineOptions:function(){return qo},defineProps:function(){return Uo},defineSSRCustomElement:function(){return Ll},defineSlots:function(){return Wo},devtools:function(){return Mc},effect:function(){return Fe},effectScope:function(){return Se},getCurrentInstance:function(){return rc},getCurrentScope:function(){return xe},getCurrentWatcher:function(){return gn},getTransitionRawChildren:function(){return Ar},guardReactiveProps:function(){return ji},h:function(){return Ec},handleError:function(){return Nn},hasInjectionContext:function(){return bs},hydrate:function(){return xa},hydrateOnIdle:function(){return Jr},hydrateOnInteraction:function(){return Xr},hydrateOnMediaQuery:function(){return Gr},hydrateOnVisible:function(){return Yr},initCustomFormatter:function(){return wc},initDirectivesForSSR:function(){return Aa},inject:function(){return _s},isMemoSame:function(){return Nc},isProxy:function(){return Ut},isReactive:function(){return Ft},isReadonly:function(){return Vt},isRef:function(){return zt},isRuntimeOnly:function(){return mc},isShallow:function(){return Bt},isVNode:function(){return Di},markRaw:function(){return jt},mergeDefaults:function(){return Qo},mergeModels:function(){return Zo},mergeProps:function(){return Xi},nextTick:function(){return $n},normalizeClass:function(){return X},normalizeProps:function(){return Q},normalizeStyle:function(){return z},onActivated:function(){return oo},onBeforeMount:function(){return po},onBeforeUnmount:function(){return vo},onBeforeUpdate:function(){return mo},onDeactivated:function(){return so},onErrorCaptured:function(){return xo},onMounted:function(){return ho},onRenderTracked:function(){return So},onRenderTriggered:function(){return bo},onScopeDispose:function(){return Ce},onServerPrefetch:function(){return _o},onUnmounted:function(){return yo},onUpdated:function(){return go},onWatcherCleanup:function(){return vn},openBlock:function(){return wi},popScopeId:function(){return Qn},provide:function(){return ys},proxyRefs:function(){return tn},pushScopeId:function(){return Xn},queuePostFlushCb:function(){return Bn},reactive:function(){return Mt},readonly:function(){return Dt},ref:function(){return Kt},registerRuntimeCompiler:function(){return hc},render:function(){return Sa},renderList:function(){return Ro},renderSlot:function(){return Mo},resolveComponent:function(){return ko},resolveDirective:function(){return Ao},resolveDynamicComponent:function(){return wo},resolveFilter:function(){return Lc},resolveTransitionHooks:function(){return Tr},setBlockTracking:function(){return Ri},setDevtoolsHook:function(){return Pc},setTransitionHooks:function(){return wr},shallowReactive:function(){return Pt},shallowReadonly:function(){return Lt},shallowRef:function(){return Jt},ssrContextKey:function(){return Ks},ssrUtils:function(){return Dc},stop:function(){return Ve},toDisplayString:function(){return he},toHandlerKey:function(){return $},toHandlers:function(){return Do},toRaw:function(){return Ht},toRef:function(){return ln},toRefs:function(){return on},toValue:function(){return Zt},transformVNodeArgs:function(){return $i},triggerRef:function(){return Xt},unref:function(){return Qt},useAttrs:function(){return Yo},useCssModule:function(){return Ul},useCssVars:function(){return ml},useHost:function(){return Vl},useId:function(){return Ir},useModel:function(){return ni},useSSRContext:function(){return Js},useShadowRoot:function(){return Bl},useSlots:function(){return Jo},useTemplateRef:function(){return Or},useTransitionState:function(){return vr},vModelCheckbox:function(){return ta},vModelDynamic:function(){return la},vModelRadio:function(){return ra},vModelSelect:function(){return oa},vModelText:function(){return ea},vShow:function(){return dl},version:function(){return Ic},warn:function(){return Rc},watch:function(){return Qs},watchEffect:function(){return Ys},watchPostEffect:function(){return Gs},watchSyncEffect:function(){return Xs},withAsyncContext:function(){return ts},withCtx:function(){return er},withDefaults:function(){return Ko},withDirectives:function(){return tr},withKeys:function(){return ma},withMemo:function(){return Ac},withModifiers:function(){return pa},withScopeId:function(){return Zn}});const s={},i=[],c=()=>{},l=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u=e=>e.startsWith("onUpdate:"),f=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,h=(e,t)=>p.call(e,t),m=Array.isArray,g=e=>"[object Map]"===k(e),v=e=>"[object Set]"===k(e),y=e=>"[object Date]"===k(e),_=e=>"function"==typeof e,b=e=>"string"==typeof e,S=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,C=e=>(x(e)||_(e))&&_(e.then)&&_(e.catch),T=Object.prototype.toString,k=e=>T.call(e),E=e=>k(e).slice(8,-1),w=e=>"[object Object]"===k(e),A=e=>b(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,N=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),I=o("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),R=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},O=/-(\w)/g,M=R(e=>e.replace(O,(e,t)=>t?t.toUpperCase():"")),P=/\B([A-Z])/g,D=R(e=>e.replace(P,"-$1").toLowerCase()),L=R(e=>e.charAt(0).toUpperCase()+e.slice(1)),$=R(e=>e?`on${L(e)}`:""),F=(e,t)=>!Object.is(e,t),V=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},U=e=>{const t=parseFloat(e);return isNaN(t)?e:t},H=e=>{const t=b(e)?Number(e):NaN;return isNaN(t)?e:t};let j;const q=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});const W=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function z(e){if(m(e)){const t={};for(let n=0;n{if(e){const n=e.split(J);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function X(e){let t="";if(b(e))t=e;else if(m(e))for(let n=0;n?@[\\\]^`{|}~]/g;function ue(e,t){return e.replace(ae,e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`)}function fe(e,t){if(e===t)return!0;let n=y(e),r=y(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=S(e),r=S(t),n||r)return e===t;if(n=m(e),r=m(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&rfe(e,t))}const pe=e=>!(!e||!0!==e.__v_isRef),he=e=>b(e)?e:null==e?"":m(e)||x(e)&&(e.toString===T||!_(e.toString))?pe(e)?he(e.value):JSON.stringify(e,me,2):String(e),me=(e,t)=>pe(t)?me(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[ge(t,r)+" =>"]=n,e),{})}:v(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>ge(e))}:S(t)?ge(t):!x(t)||m(t)||w(t)?t:String(t),ge=(e,t="")=>{var n;return S(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function ve(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:("number"==typeof e&&Number.isFinite(e),String(e))}let ye,_e;class be{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ye,!e&&ye&&(this.index=(ye.scopes||(ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e0&&0===--this._on&&(ye=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t0)return;if(we){let e=we;for(we=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ee;){let t=Ee;for(Ee=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function Oe(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Me(e){let t,n=e.depsTail,r=n;for(;r;){const e=r.prevDep;-1===r.version?(r===n&&(n=e),Le(r),$e(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Pe(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(De(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function De(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===We)return;if(e.globalVersion=We,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!Pe(e)))return;e.flags|=2;const t=e.dep,n=_e,r=Be;_e=e,Be=!0;try{Oe(e);const n=e.fn(e._value);(0===t.version||F(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{_e=n,Be=r,Me(e),e.flags&=-3}}function Le(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Le(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function $e(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Fe(e,t){e.effect instanceof ke&&(e=e.effect.fn);const n=new ke(e);t&&f(n,t);try{n.run()}catch(e){throw n.stop(),e}const r=n.run.bind(n);return r.effect=n,r}function Ve(e){e.effect.stop()}let Be=!0;const Ue=[];function He(){Ue.push(Be),Be=!1}function je(){const e=Ue.pop();Be=void 0===e||e}function qe(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=_e;_e=void 0;try{t()}finally{_e=e}}}let We=0;class ze{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ke{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!_e||!Be||_e===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==_e)t=this.activeLink=new ze(_e,this),_e.deps?(t.prevDep=_e.depsTail,_e.depsTail.nextDep=t,_e.depsTail=t):_e.deps=_e.depsTail=t,Je(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=_e.depsTail,t.nextDep=void 0,_e.depsTail.nextDep=t,_e.depsTail=t,_e.deps===t&&(_e.deps=e)}return t}trigger(e){this.version++,We++,this.notify(e)}notify(e){Ie();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Re()}}}function Je(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Je(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ye=new WeakMap,Ge=Symbol(""),Xe=Symbol(""),Qe=Symbol("");function Ze(e,t,n){if(Be&&_e){let t=Ye.get(e);t||Ye.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Ke),r.map=t,r.key=n),r.track()}}function et(e,t,n,r,o,s){const i=Ye.get(e);if(!i)return void We++;const c=e=>{e&&e.trigger()};if(Ie(),"clear"===t)i.forEach(c);else{const o=m(e),s=o&&A(n);if(o&&"length"===n){const e=Number(r);i.forEach((t,n)=>{("length"===n||n===Qe||!S(n)&&n>=e)&&c(t)})}else switch((void 0!==n||i.has(void 0))&&c(i.get(n)),s&&c(i.get(Qe)),t){case"add":o?s&&c(i.get("length")):(c(i.get(Ge)),g(e)&&c(i.get(Xe)));break;case"delete":o||(c(i.get(Ge)),g(e)&&c(i.get(Xe)));break;case"set":g(e)&&c(i.get(Ge))}}Re()}function tt(e){const t=Ht(e);return t===e?t:(Ze(t,0,Qe),Bt(e)?t:t.map(qt))}function nt(e){return Ze(e=Ht(e),0,Qe),e}const rt={__proto__:null,[Symbol.iterator](){return ot(this,Symbol.iterator,qt)},concat(...e){return tt(this).concat(...e.map(e=>m(e)?tt(e):e))},entries(){return ot(this,"entries",e=>(e[1]=qt(e[1]),e))},every(e,t){return it(this,"every",e,t,void 0,arguments)},filter(e,t){return it(this,"filter",e,t,e=>e.map(qt),arguments)},find(e,t){return it(this,"find",e,t,qt,arguments)},findIndex(e,t){return it(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return it(this,"findLast",e,t,qt,arguments)},findLastIndex(e,t){return it(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return it(this,"forEach",e,t,void 0,arguments)},includes(...e){return lt(this,"includes",e)},indexOf(...e){return lt(this,"indexOf",e)},join(e){return tt(this).join(e)},lastIndexOf(...e){return lt(this,"lastIndexOf",e)},map(e,t){return it(this,"map",e,t,void 0,arguments)},pop(){return at(this,"pop")},push(...e){return at(this,"push",e)},reduce(e,...t){return ct(this,"reduce",e,t)},reduceRight(e,...t){return ct(this,"reduceRight",e,t)},shift(){return at(this,"shift")},some(e,t){return it(this,"some",e,t,void 0,arguments)},splice(...e){return at(this,"splice",e)},toReversed(){return tt(this).toReversed()},toSorted(e){return tt(this).toSorted(e)},toSpliced(...e){return tt(this).toSpliced(...e)},unshift(...e){return at(this,"unshift",e)},values(){return ot(this,"values",qt)}};function ot(e,t,n){const r=nt(e),o=r[t]();return r===e||Bt(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.value&&(e.value=n(e.value)),e}),o}const st=Array.prototype;function it(e,t,n,r,o,s){const i=nt(e),c=i!==e&&!Bt(e),l=i[t];if(l!==st[t]){const t=l.apply(e,s);return c?qt(t):t}let a=n;i!==e&&(c?a=function(t,r){return n.call(this,qt(t),r,e)}:n.length>2&&(a=function(t,r){return n.call(this,t,r,e)}));const u=l.call(i,a,r);return c&&o?o(u):u}function ct(e,t,n,r){const o=nt(e);let s=n;return o!==e&&(Bt(e)?n.length>3&&(s=function(t,r,o){return n.call(this,t,r,o,e)}):s=function(t,r,o){return n.call(this,t,qt(r),o,e)}),o[t](s,...r)}function lt(e,t,n){const r=Ht(e);Ze(r,0,Qe);const o=r[t](...n);return-1!==o&&!1!==o||!Ut(n[0])?o:(n[0]=Ht(n[0]),r[t](...n))}function at(e,t,n=[]){He(),Ie();const r=Ht(e)[t].apply(e,n);return Re(),je(),r}const ut=o("__proto__,__v_isRef,__isVue"),ft=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(S));function dt(e){S(e)||(e=String(e));const t=Ht(this);return Ze(t,0,e),t.hasOwnProperty(e)}class pt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Ot:Rt:o?It:Nt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=m(e);if(!r){let e;if(s&&(e=rt[t]))return e;if("hasOwnProperty"===t)return dt}const i=Reflect.get(e,t,zt(e)?e:n);return(S(t)?ft.has(t):ut(t))?i:(r||Ze(e,0,t),o?i:zt(i)?s&&A(t)?i:i.value:x(i)?r?Dt(i):Mt(i):i)}}class ht extends pt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){const t=Vt(o);if(Bt(n)||Vt(n)||(o=Ht(o),n=Ht(n)),!m(e)&&zt(o)&&!zt(n))return!t&&(o.value=n,!0)}const s=m(e)&&A(t)?Number(t)e,St=e=>Reflect.getPrototypeOf(e);function xt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Ct(e,t){const n={get(n){const r=this.__v_raw,o=Ht(r),s=Ht(n);e||(F(n,s)&&Ze(o,0,n),Ze(o,0,s));const{has:i}=St(o),c=t?bt:e?Wt:qt;return i.call(o,n)?c(r.get(n)):i.call(o,s)?c(r.get(s)):void(r!==o&&r.get(n))},get size(){const t=this.__v_raw;return!e&&Ze(Ht(t),0,Ge),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,r=Ht(n),o=Ht(t);return e||(F(t,o)&&Ze(r,0,t),Ze(r,0,o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,r){const o=this,s=o.__v_raw,i=Ht(s),c=t?bt:e?Wt:qt;return!e&&Ze(i,0,Ge),s.forEach((e,t)=>n.call(r,c(e),c(t),o))}};f(n,e?{add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear")}:{add(e){t||Bt(e)||Vt(e)||(e=Ht(e));const n=Ht(this);return St(n).has.call(n,e)||(n.add(e),et(n,"add",e,e)),this},set(e,n){t||Bt(n)||Vt(n)||(n=Ht(n));const r=Ht(this),{has:o,get:s}=St(r);let i=o.call(r,e);i||(e=Ht(e),i=o.call(r,e));const c=s.call(r,e);return r.set(e,n),i?F(n,c)&&et(r,"set",e,n):et(r,"add",e,n),this},delete(e){const t=Ht(this),{has:n,get:r}=St(t);let o=n.call(t,e);o||(e=Ht(e),o=n.call(t,e));r&&r.call(t,e);const s=t.delete(e);return o&&et(t,"delete",e,void 0),s},clear(){const e=Ht(this),t=0!==e.size,n=e.clear();return t&&et(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=function(e,t,n){return function(...r){const o=this.__v_raw,s=Ht(o),i=g(s),c="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,a=o[e](...r),u=n?bt:t?Wt:qt;return!t&&Ze(s,0,l?Xe:Ge),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:c?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(r,e,t)}),n}function Tt(e,t){const n=Ct(e,t);return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(h(n,r)&&r in t?n:t,r,o)}const kt={get:Tt(!1,!1)},Et={get:Tt(!1,!0)},wt={get:Tt(!0,!1)},At={get:Tt(!0,!0)};const Nt=new WeakMap,It=new WeakMap,Rt=new WeakMap,Ot=new WeakMap;function Mt(e){return Vt(e)?e:$t(e,!1,gt,kt,Nt)}function Pt(e){return $t(e,!1,yt,Et,It)}function Dt(e){return $t(e,!0,vt,wt,Rt)}function Lt(e){return $t(e,!0,_t,At,Ot)}function $t(e,t,n,r,o){if(!x(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=(i=e).__v_skip||!Object.isExtensible(i)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(E(i));var i;if(0===s)return e;const c=o.get(e);if(c)return c;const l=new Proxy(e,2===s?r:n);return o.set(e,l),l}function Ft(e){return Vt(e)?Ft(e.__v_raw):!(!e||!e.__v_isReactive)}function Vt(e){return!(!e||!e.__v_isReadonly)}function Bt(e){return!(!e||!e.__v_isShallow)}function Ut(e){return!!e&&!!e.__v_raw}function Ht(e){const t=e&&e.__v_raw;return t?Ht(t):e}function jt(e){return!h(e,"__v_skip")&&Object.isExtensible(e)&&B(e,"__v_skip",!0),e}const qt=e=>x(e)?Mt(e):e,Wt=e=>x(e)?Dt(e):e;function zt(e){return!!e&&!0===e.__v_isRef}function Kt(e){return Yt(e,!1)}function Jt(e){return Yt(e,!0)}function Yt(e,t){return zt(e)?e:new Gt(e,t)}class Gt{constructor(e,t){this.dep=new Ke,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Ht(e),this._value=t?e:qt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||Bt(e)||Vt(e);e=n?e:Ht(e),F(e,t)&&(this._rawValue=e,this._value=n?e:qt(e),this.dep.trigger())}}function Xt(e){e.dep&&e.dep.trigger()}function Qt(e){return zt(e)?e.value:e}function Zt(e){return _(e)?e():Qt(e)}const en={get:(e,t,n)=>"__v_raw"===t?e:Qt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return zt(o)&&!zt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function tn(e){return Ft(e)?e:new Proxy(e,en)}class nn{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Ke,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function rn(e){return new nn(e)}function on(e){const t=m(e)?new Array(e.length):{};for(const n in e)t[n]=an(e,n);return t}class sn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=Ye.get(e);return n&&n.get(t)}(Ht(this._object),this._key)}}class cn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function ln(e,t,n){return zt(e)?e:_(e)?new cn(e):x(e)&&arguments.length>1?an(e,t,n):Kt(e)}function an(e,t,n){const r=e[t];return zt(r)?r:new sn(e,t,n)}class un{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Ke(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=We-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||_e===this))return Ne(this,!0),!0}get value(){const e=this.dep.track();return De(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const fn={GET:"get",HAS:"has",ITERATE:"iterate"},dn={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},pn={},hn=new WeakMap;let mn;function gn(){return mn}function vn(e,t=!1,n=mn){if(n){let t=hn.get(n);t||hn.set(n,t=[]),t.push(e)}else 0}function yn(e,t=1/0,n){if(t<=0||!x(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,zt(e))yn(e.value,t,n);else if(m(e))for(let r=0;r{yn(e,t,n)});else if(w(e)){for(const r in e)yn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&yn(e[r],t,n)}return e} /** -* @vue/runtime-core v3.5.13 +* @vue/runtime-core v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ -const yn=[];let bn=!1;function _n(e,...t){if(bn)return;bn=!0,Ue();const n=yn.length?yn[yn.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=function(){let e=yn[yn.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(r)En(r,n,11,[e+t.map((e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)})).join(""),n&&n.proxy,o.map((({vnode:e})=>`at <${xc(n,e.type)}>`)).join("\n"),o]);else{const n=[`[Vue warn]: ${e}`,...t];o.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,o=` at <${xc(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...Sn(e.props),s]:[o+s]}(e))})),t}(o)),console.warn(...n)}He(),bn=!1}function Sn(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xn(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xn(e,t,n){return _(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Wt(t)?(t=xn(e,Ut(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):b(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ut(t),n?t:[`${e}=`,t])}function Cn(e,t){}const Tn={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},kn={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function En(e,t,n,r){try{return r?e(...r):e()}catch(e){An(e,t,n)}}function wn(e,t,n,r){if(b(e)){const o=En(e,t,n,r);return o&&C(o)&&o.catch((e=>{An(e,t,n)})),o}if(m(e)){const o=[];for(let s=0;s=Hn(n)?Nn.push(e):Nn.splice(function(e){let t=In+1,n=Nn.length;for(;t>>1,o=Nn[r],s=Hn(o);sHn(e)-Hn(t)));if(Rn.length=0,On)return void On.push(...e);for(On=e,Mn=0;Mnnull==e.id?2&e.flags?-1:1/0:e.id;function jn(e){try{for(In=0;InZn;function Zn(e,t=Kn,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Ii(-1);const o=Yn(t);let s;try{s=e(...n)}finally{Yn(o),r._d&&Ii(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function er(e,t){if(null===Kn)return e;const n=yc(Kn),r=e.dirs||(e.dirs=[]);for(let e=0;ee.__isTeleport,or=e=>e&&(e.disabled||""===e.disabled),sr=e=>e&&(e.defer||""===e.defer),ir=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,cr=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,lr=(e,t)=>{const n=e&&e.to;if(_(n)){if(t){return t(n)}return null}return n},ar={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,c,l,a){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:g}}=a,v=or(t.props);let{shapeFlag:y,children:b,dynamicChildren:_}=t;if(null==e){const e=t.el=m(""),a=t.anchor=m("");p(e,n,r),p(a,n,r);const f=(e,t)=>{16&y&&(o&&o.isCE&&(o.ce._teleportTarget=e),u(b,e,t,o,s,i,c,l))},d=()=>{const e=t.target=lr(t.props,h),n=pr(e,t,m,p);e&&("svg"!==i&&ir(e)?i="svg":"mathml"!==i&&cr(e)&&(i="mathml"),v||(f(e,n),dr(t,!1)))};v&&(f(n,a),dr(t,!0)),sr(t.props)?Ds((()=>{d(),t.el.__isMounted=!0}),s):d()}else{if(sr(t.props)&&!e.el.__isMounted)return void Ds((()=>{ar.process(e,t,n,r,o,s,i,c,l,a),delete e.el.__isMounted}),s);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,p=t.target=e.target,m=t.targetAnchor=e.targetAnchor,g=or(e.props),y=g?n:p,b=g?u:m;if("svg"===i||ir(p)?i="svg":("mathml"===i||cr(p))&&(i="mathml"),_?(d(e.dynamicChildren,_,y,o,s,i,c),js(e,t,!0)):l||f(e,t,y,b,o,s,i,c,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ur(t,n,u,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=lr(t.props,h);e&&ur(t,e,null,a,0)}else g&&ur(t,p,m,a,1);dr(t,v)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:c,anchor:l,targetStart:a,targetAnchor:u,target:f,props:d}=e;if(f&&(o(a),o(u)),s&&o(l),16&i){const e=s||!or(d);for(let o=0;o{e.isMounted=!0})),go((()=>{e.isUnmounting=!0})),e}const vr=[Function,Array],yr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vr,onEnter:vr,onAfterEnter:vr,onEnterCancelled:vr,onBeforeLeave:vr,onLeave:vr,onAfterLeave:vr,onLeaveCancelled:vr,onBeforeAppear:vr,onAppear:vr,onAfterAppear:vr,onAppearCancelled:vr},br=e=>{const t=e.subTree;return t.component?br(t.component):t};function _r(e){let t=e[0];if(e.length>1){let n=!1;for(const r of e)if(r.type!==xi){0,t=r,n=!0;break}}return t}const Sr={name:"BaseTransition",props:yr,setup(e,{slots:t}){const n=nc(),r=gr();return()=>{const o=t.default&&wr(t.default(),!0);if(!o||!o.length)return;const s=_r(o),i=Ut(e),{mode:c}=i;if(r.isLeaving)return Tr(s);const l=kr(s);if(!l)return Tr(s);let a=Cr(l,i,r,n,(e=>a=e));l.type!==xi&&Er(l,a);let u=n.subTree&&kr(n.subTree);if(u&&u.type!==xi&&!Li(l,u)&&br(n).type!==xi){let e=Cr(u,i,r,n);if(Er(u,e),"out-in"===c&&l.type!==xi)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},Tr(s);"in-out"===c&&l.type!==xi?e.delayLeave=(e,t,n)=>{xr(r,u)[String(u.key)]=u,e[hr]=()=>{t(),e[hr]=void 0,delete a.delayedLeave,u=void 0},a.delayedLeave=()=>{n(),delete a.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function xr(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Cr(e,t,n,r,o){const{appear:s,mode:i,persisted:c=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:v,onAppear:y,onAfterAppear:b,onAppearCancelled:_}=t,S=String(e.key),x=xr(n,e),C=(e,t)=>{e&&wn(e,r,9,t)},T=(e,t)=>{const n=t[1];C(e,t),m(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},k={mode:i,persisted:c,beforeEnter(t){let r=l;if(!n.isMounted){if(!s)return;r=v||l}t[hr]&&t[hr](!0);const o=x[S];o&&Li(e,o)&&o.el[hr]&&o.el[hr](),C(r,[t])},enter(e){let t=a,r=u,o=f;if(!n.isMounted){if(!s)return;t=y||a,r=b||u,o=_||f}let i=!1;const c=e[mr]=t=>{i||(i=!0,C(t?o:r,[e]),k.delayedLeave&&k.delayedLeave(),e[mr]=void 0)};t?T(t,[e,c]):c()},leave(t,r){const o=String(e.key);if(t[mr]&&t[mr](!0),n.isUnmounting)return r();C(d,[t]);let s=!1;const i=t[hr]=n=>{s||(s=!0,r(),C(n?g:h,[t]),t[hr]=void 0,x[o]===e&&delete x[o])};x[o]=e,p?T(p,[t,i]):i()},clone(e){const s=Cr(e,t,n,r,o);return o&&o(s),s}};return k}function Tr(e){if(eo(e))return(e=ji(e)).children=null,e}function kr(e){if(!eo(e))return rr(e.type)&&e.children?_r(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&b(n.default))return n.default()}}function Er(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Er(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function wr(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let e=0;ef({name:e.name},t,{setup:e}))():e}function Nr(){const e=nc();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Ir(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Rr(e){const t=nc(),n=Kt(null);if(t){const r=t.refs===s?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}else 0;return n}function Or(e,t,n,r,o=!1){if(m(e))return void e.forEach(((e,s)=>Or(e,t&&(m(t)?t[s]:t),n,r,o)));if(Xr(r)&&!o)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&Or(e,t,n,r.component.subTree));const i=4&r.shapeFlag?yc(r.component):r.el,c=o?null:i,{i:l,r:a}=e;const u=t&&t.r,f=l.refs===s?l.refs={}:l.refs,p=l.setupState,g=Ut(p),v=p===s?()=>!1:e=>h(g,e);if(null!=u&&u!==a&&(_(u)?(f[u]=null,v(u)&&(p[u]=null)):Wt(u)&&(u.value=null)),b(a))En(a,l,12,[c,f]);else{const t=_(a),r=Wt(a);if(t||r){const s=()=>{if(e.f){const n=t?v(a)?p[a]:f[a]:a.value;o?m(n)&&d(n,i):m(n)?n.includes(i)||n.push(i):t?(f[a]=[i],v(a)&&(p[a]=f[a])):(a.value=[i],e.k&&(f[e.k]=a.value))}else t?(f[a]=c,v(a)&&(p[a]=c)):r&&(a.value=c,e.k&&(f[e.k]=c))};c?(s.id=-1,Ds(s,n)):s()}else 0}}let Mr=!1;const Pr=()=>{Mr||(console.error("Hydration completed but contains mismatches."),Mr=!0)},Lr=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},Dr=e=>8===e.nodeType;function $r(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:c,insert:l,createComment:u}}=e,f=(n,r,c,a,u,b=!1)=>{b=b||!!r.dynamicChildren;const _=Dr(n)&&"["===n.data,S=()=>m(n,r,c,a,u,_),{type:x,ref:C,shapeFlag:T,patchFlag:k}=r;let E=n.nodeType;r.el=n,-2===k&&(b=!1,r.dynamicChildren=null);let w=null;switch(x){case Si:3!==E?""===r.children?(l(r.el=o(""),i(n),n),w=n):w=S():(n.data!==r.children&&(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&_n("Hydration text mismatch in",n.parentNode,`\n - rendered on server: ${JSON.stringify(n.data)}\n - expected on client: ${JSON.stringify(r.children)}`),Pr(),n.data=r.children),w=s(n));break;case xi:y(n)?(w=s(n),v(r.el=n.content.firstChild,n,c)):w=8!==E||_?S():s(n);break;case Ci:if(_&&(E=(n=s(n)).nodeType),1===E||3===E){w=n;const e=!r.children.length;for(let t=0;t{i=i||!!t.dynamicChildren;const{type:l,props:u,patchFlag:f,shapeFlag:d,dirs:h,transition:m}=t,g="input"===l||"option"===l;if(g||-1!==f){h&&tr(t,null,n,"created");let l,b=!1;if(y(e)){b=Hs(null,m)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;b&&m.beforeEnter(r),v(r,e,n),t.el=e=r}if(16&d&&(!u||!u.innerHTML&&!u.textContent)){let r=p(e.firstChild,t,e,n,o,s,i),l=!1;for(;r;){qr(e,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!l&&(_n("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),l=!0),Pr());const t=r;r=r.nextSibling,c(t)}}else if(8&d){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1)),e.textContent!==n&&(qr(e,0)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&_n("Hydration text content mismatch on",e,`\n - rendered on server: ${e.textContent}\n - expected on client: ${t.children}`),Pr()),e.textContent=t.children)}if(u)if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||g||!i||48&f){const o=e.tagName.includes("-");for(const s in u)!__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||h&&h.some((e=>e.dir.created))||!Vr(e,s,u[s],t,n)||Pr(),(g&&(s.endsWith("value")||"indeterminate"===s)||a(s)&&!N(s)||"."===s[0]||o)&&r(e,s,null,u[s],void 0,n)}else if(u.onClick)r(e,"onClick",null,u.onClick,void 0,n);else if(4&f&&$t(u.style))for(const e in u.style)u.style[e];(l=u&&u.onVnodeBeforeMount)&&Xi(l,n,t),h&&tr(t,null,n,"beforeMount"),((l=u&&u.onVnodeMounted)||h||b)&&yi((()=>{l&&Xi(l,n,t),b&&m.enter(e),h&&tr(t,null,n,"mounted")}),o)}return e.nextSibling},p=(e,t,r,i,c,a,u)=>{u=u||!!t.dynamicChildren;const d=t.children,p=d.length;let h=!1;for(let t=0;t{const{slotScopeIds:a}=t;a&&(o=o?o.concat(a):a);const f=i(e),d=p(s(e),t,f,n,r,o,c);return d&&Dr(d)&&"]"===d.data?s(t.anchor=d):(Pr(),l(t.anchor=u("]"),f,d),d)},m=(e,t,r,o,l,a)=>{if(qr(e.parentElement,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&_n("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":Dr(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),Pr()),t.el=null,a){const t=g(e);for(;;){const n=s(e);if(!n||n===t)break;c(n)}}const u=s(e),f=i(e);return c(e),n(null,t,f,u,r,o,Lr(f),l),r&&(r.vnode.el=t.el,fi(r,t.el)),u},g=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=s(e))&&Dr(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return s(e);r--}return e},v=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},y=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&_n("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),Un(),void(t._vnode=e);f(t.firstChild,e,null,null,null),Un(),t._vnode=e},f]}function Vr(e,t,n,r,o){let s,i,c,l;if("class"===t)c=e.getAttribute("class"),l=X(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(Fr(c||""),Fr(l))||(s=2,i="class");else if("style"===t){c=e.getAttribute("style")||"",l=_(n)?n:function(e){if(!e)return"";if(_(e))return e;let t="";for(const n in e){const r=e[n];(_(r)||"number"==typeof r)&&(t+=`${n.startsWith("--")?n:L(n)}:${r};`)}return t}(z(n));const t=Br(c),a=Br(l);if(r.dirs)for(const{dir:e,value:t}of r.dirs)"show"!==e.name||t||a.set("display","none");o&&Ur(o,r,a),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}(t,a)||(s=3,i="style")}else(e instanceof SVGElement&&le(t)||e instanceof HTMLElement&&(se(t)||ce(t)))&&(se(t)?(c=e.hasAttribute(t),l=ie(n)):null==n?(c=e.hasAttribute(t),l=!1):(c=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,l=!!function(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}(n)&&String(n)),c!==l&&(s=4,i=t));if(null!=s&&!qr(e,s)){const t=e=>!1===e?"(not rendered)":`${i}="${e}"`;return _n(`Hydration ${jr[s]} mismatch on`,e,`\n - rendered on server: ${t(c)}\n - expected on client: ${t(l)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`),!0}return!1}function Fr(e){return new Set(e.trim().split(/\s+/))}function Br(e){const t=new Map;for(const n of e.split(";")){let[e,r]=n.split(":");e=e.trim(),r=r&&r.trim(),e&&r&&t.set(e,r)}return t}function Ur(e,t,n){const r=e.subTree;if(e.getCssVars&&(t===r||r&&r.type===_i&&r.children.includes(t))){const t=e.getCssVars();for(const e in t)n.set(`--${ue(e,!1)}`,String(t[e]))}t===r&&e.parent&&Ur(e.parent,e.vnode,n)}const Hr="data-allow-mismatch",jr={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function qr(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(Hr);)e=e.parentElement;const n=e&&e.getAttribute(Hr);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||n.split(",").includes(jr[t])}}const Wr=q().requestIdleCallback||(e=>setTimeout(e,1)),zr=q().cancelIdleCallback||(e=>clearTimeout(e)),Kr=(e=1e4)=>t=>{const n=Wr(t,{timeout:e});return()=>zr(n)};const Jr=e=>(t,n)=>{const r=new IntersectionObserver((e=>{for(const n of e)if(n.isIntersecting){r.disconnect(),t();break}}),e);return n((e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:s,innerWidth:i}=window;return(t>0&&t0&&r0&&n0&&or.disconnect()},Yr=e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},Gr=(e=[])=>(t,n)=>{_(e)&&(e=[e]);let r=!1;const o=e=>{r||(r=!0,s(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},s=()=>{n((t=>{for(const n of e)t.removeEventListener(n,o)}))};return n((t=>{for(const n of e)t.addEventListener(n,o,{once:!0})})),s};const Xr=e=>!!e.type.__asyncLoader -/*! #__NO_SIDE_EFFECTS__ */;function Qr(e){b(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:c=!0,onError:l}=e;let a,u=null,f=0;const d=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((f++,u=null,d()))),(()=>n(e)),f+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),a=t,t))))};return Ar({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(e,t,n){const r=s?()=>{const r=s(n,(t=>function(e,t){if(Dr(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(Dr(r))if("]"===r.data){if(0==--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)}(e,t)));r&&(t.bum||(t.bum=[])).push(r)}:n;a?r():d().then((()=>!t.isUnmounted&&r()))},get __asyncResolved(){return a},setup(){const e=tc;if(Ir(e),a)return()=>Zr(a,e);const t=t=>{u=null,An(t,e,13,!r)};if(c&&e.suspense||uc)return d().then((t=>()=>Zr(t,e))).catch((e=>(t(e),()=>r?Bi(r,{error:e}):null)));const s=zt(!1),l=zt(),f=zt(!!o);return o&&setTimeout((()=>{f.value=!1}),o),null!=i&&setTimeout((()=>{if(!s.value&&!l.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),l.value=e}}),i),d().then((()=>{s.value=!0,e.parent&&eo(e.parent.vnode)&&e.parent.update()})).catch((e=>{t(e),l.value=e})),()=>s.value&&a?Zr(a,e):l.value&&r?Bi(r,{error:l.value}):n&&!f.value?Bi(n):void 0}})}function Zr(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=Bi(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const eo=e=>e.type.__isKeepAlive,to={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=nc(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,s=new Set;let i=null;const c=n.suspense,{renderer:{p:l,m:a,um:u,o:{createElement:f}}}=r,d=f("div");function p(e){co(e),u(e,n,c,!0)}function h(e){o.forEach(((t,n)=>{const r=Sc(t.type);r&&!e(r)&&m(n)}))}function m(e){const t=o.get(e);!t||i&&Li(t,i)?i&&co(i):p(t),o.delete(e),s.delete(e)}r.activate=(e,t,n,r,o)=>{const s=e.component;a(e,t,n,0,c),l(s.vnode,e,t,n,s,c,r,e.slotScopeIds,o),Ds((()=>{s.isDeactivated=!1,s.a&&F(s.a);const t=e.props&&e.props.onVnodeMounted;t&&Xi(t,s.parent,e)}),c)},r.deactivate=e=>{const t=e.component;Ws(t.m),Ws(t.a),a(e,d,null,1,c),Ds((()=>{t.da&&F(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Xi(n,t.parent,e),t.isDeactivated=!0}),c)},Xs((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>no(e,t))),t&&h((e=>!no(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&(di(n.subTree.type)?Ds((()=>{o.set(g,lo(n.subTree))}),n.subTree.suspense):o.set(g,lo(n.subTree)))};return po(v),mo(v),go((()=>{o.forEach((e=>{const{subTree:t,suspense:r}=n,o=lo(t);if(e.type!==o.type||e.key!==o.key)p(e);else{co(o);const e=o.component.da;e&&Ds(e,r)}}))})),()=>{if(g=null,!t.default)return i=null;const n=t.default(),r=n[0];if(n.length>1)return i=null,n;if(!(Pi(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return i=null,r;let c=lo(r);if(c.type===xi)return i=null,c;const l=c.type,a=Sc(Xr(c)?c.type.__asyncResolved||{}:l),{include:u,exclude:f,max:d}=e;if(u&&(!a||!no(u,a))||f&&a&&no(f,a))return c.shapeFlag&=-257,i=c,r;const p=null==c.key?l:c.key,h=o.get(p);return c.el&&(c=ji(c),128&r.shapeFlag&&(r.ssContent=c)),g=p,h?(c.el=h.el,c.component=h.component,c.transition&&Er(c,c.transition),c.shapeFlag|=512,s.delete(p),s.add(p)):(s.add(p),d&&s.size>parseInt(d,10)&&m(s.values().next().value)),c.shapeFlag|=256,i=c,di(r.type)?r:c}}};function no(e,t){return m(e)?e.some((e=>no(e,t))):_(e)?e.split(",").includes(t):"[object RegExp]"===k(e)&&(e.lastIndex=0,e.test(t))}function ro(e,t){so(e,"a",t)}function oo(e,t){so(e,"da",t)}function so(e,t,n=tc){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(ao(t,r,n),n){let e=n.parent;for(;e&&e.parent;)eo(e.parent.vnode)&&io(r,t,n,e),e=e.parent}}function io(e,t,n,r){const o=ao(t,e,r,!0);vo((()=>{d(r[t],o)}),n)}function co(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function lo(e){return 128&e.shapeFlag?e.ssContent:e}function ao(e,t,n=tc,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{Ue();const o=sc(n),s=wn(t,n,e,r);return o(),He(),s});return r?o.unshift(s):o.push(s),s}}const uo=e=>(t,n=tc)=>{uc&&"sp"!==e||ao(e,((...e)=>t(...e)),n)},fo=uo("bm"),po=uo("m"),ho=uo("bu"),mo=uo("u"),go=uo("bum"),vo=uo("um"),yo=uo("sp"),bo=uo("rtg"),_o=uo("rtc");function So(e,t=tc){ao("ec",e,t)}const xo="components",Co="directives";function To(e,t){return Ao(xo,e,!0,t)||e}const ko=Symbol.for("v-ndc");function Eo(e){return _(e)?Ao(xo,e,!1)||e:e||ko}function wo(e){return Ao(Co,e)}function Ao(e,t,n=!0,r=!1){const o=Kn||tc;if(o){const n=o.type;if(e===xo){const e=Sc(n,!1);if(e&&(e===t||e===M(t)||e===D(M(t))))return n}const s=No(o[e]||n[e],t)||No(o.appContext[e],t);return!s&&r?n:s}}function No(e,t){return e&&(e[t]||e[M(t)]||e[D(M(t))])}function Io(e,t,n,r){let o;const s=n&&n[r],i=m(e);if(i||_(e)){let n=!1;i&&$t(e)&&(n=!Ft(e),e=tt(e)),o=new Array(e.length);for(let r=0,i=e.length;rt(e,n,void 0,s&&s[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,i=n.length;r{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Oo(e,t,n={},r,o){if(Kn.ce||Kn.parent&&Xr(Kn.parent)&&Kn.parent.ce)return"default"!==t&&(n.name=t),Ei(),Mi(_i,null,[Bi("slot",n,r&&r())],64);let s=e[t];s&&s._c&&(s._d=!1),Ei();const i=s&&Mo(s(n)),c=n.key||i&&i.key,l=Mi(_i,{key:(c&&!S(c)?c:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&1===e._?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Mo(e){return e.some((e=>!Pi(e)||e.type!==xi&&!(e.type===_i&&!Mo(e.children))))?e:null}function Po(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:$(r)]=e[r];return n}const Lo=e=>e?cc(e)?yc(e):Lo(e.parent):null,Do=f(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Lo(e.parent),$root:e=>Lo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ss(e),$forceUpdate:e=>e.f||(e.f=()=>{$n(e.update)}),$nextTick:e=>e.n||(e.n=Dn.bind(e.proxy)),$watch:e=>Zs.bind(e)}),$o=(e,t)=>e!==s&&!e.__isScriptSetup&&h(e,t),Vo={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:c,type:l,appContext:a}=e;let u;if("$"!==t[0]){const l=c[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if($o(r,t))return c[t]=1,r[t];if(o!==s&&h(o,t))return c[t]=2,o[t];if((u=e.propsOptions[0])&&h(u,t))return c[t]=3,i[t];if(n!==s&&h(n,t))return c[t]=4,n[t];ts&&(c[t]=0)}}const f=Do[t];let d,p;return f?("$attrs"===t&&Qe(e.attrs,0,""),f(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==s&&h(n,t)?(c[t]=4,n[t]):(p=a.config.globalProperties,h(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return $o(o,t)?(o[t]=n,!0):r!==s&&h(r,t)?(r[t]=n,!0):!h(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},c){let l;return!!n[c]||e!==s&&h(e,c)||$o(t,c)||(l=i[0])&&h(l,c)||h(r,c)||h(Do,c)||h(o.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:h(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const Fo=f({},Vo,{get(e,t){if(t!==Symbol.unscopables)return Vo.get(e,t,e)},has(e,t){return"_"!==t[0]&&!W(t)}});function Bo(){return null}function Uo(){return null}function Ho(e){0}function jo(e){0}function qo(){return null}function Wo(){0}function zo(e,t){return null}function Ko(){return Yo().slots}function Jo(){return Yo().attrs}function Yo(){const e=nc();return e.setupContext||(e.setupContext=vc(e))}function Go(e){return m(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function Xo(e,t){const n=Go(e);for(const e in t){if(e.startsWith("__skip"))continue;let r=n[e];r?m(r)||b(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function Qo(e,t){return e&&t?m(e)&&m(t)?e.concat(t):f({},Go(e),Go(t)):e||t}function Zo(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function es(e){const t=nc();let n=e();return ic(),C(n)&&(n=n.catch((e=>{throw sc(t),e}))),[n,()=>sc(t)]}let ts=!0;function ns(e){const t=ss(e),n=e.proxy,r=e.ctx;ts=!1,t.beforeCreate&&rs(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:l,provide:a,inject:u,created:f,beforeMount:d,mounted:p,beforeUpdate:h,updated:g,activated:v,deactivated:y,beforeDestroy:_,beforeUnmount:S,destroyed:C,unmounted:T,render:k,renderTracked:E,renderTriggered:w,errorCaptured:A,serverPrefetch:N,expose:I,inheritAttrs:R,components:O,directives:M,filters:P}=t;if(u&&function(e,t){m(e)&&(e=as(e));for(const n in e){const r=e[n];let o;o=x(r)?"default"in r?ys(r.from||n,r.default,!0):ys(r.from||n):ys(r),Wt(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[n]=o}}(u,r,null),i)for(const e in i){const t=i[e];b(t)&&(r[e]=t.bind(n))}if(o){0;const t=o.call(n,n);0,x(t)&&(e.data=Ot(t))}if(ts=!0,s)for(const e in s){const t=s[e],o=b(t)?t.bind(n,n):b(t.get)?t.get.bind(n,n):c;0;const i=!b(t)&&b(t.set)?t.set.bind(n):c,l=Tc({get:o,set:i});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(l)for(const e in l)os(l[e],r,n,e);if(a){const e=b(a)?a.call(n):a;Reflect.ownKeys(e).forEach((t=>{vs(t,e[t])}))}function L(e,t){m(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(f&&rs(f,e,"c"),L(fo,d),L(po,p),L(ho,h),L(mo,g),L(ro,v),L(oo,y),L(So,A),L(_o,E),L(bo,w),L(go,S),L(vo,T),L(yo,N),m(I))if(I.length){const t=e.exposed||(e.exposed={});I.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===c&&(e.render=k),null!=R&&(e.inheritAttrs=R),O&&(e.components=O),M&&(e.directives=M),N&&Ir(e)}function rs(e,t,n){wn(m(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function os(e,t,n,r){let o=r.includes(".")?ei(n,r):()=>n[r];if(_(e)){const n=t[e];b(n)&&Xs(o,n)}else if(b(e))Xs(o,e.bind(n));else if(x(e))if(m(e))e.forEach((e=>os(e,t,n,r)));else{const r=b(e.handler)?e.handler.bind(n):t[e.handler];b(r)&&Xs(o,r,e)}else 0}function ss(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,c=s.get(t);let l;return c?l=c:o.length||n||r?(l={},o.length&&o.forEach((e=>is(l,e,i,!0))),is(l,t,i)):l=t,x(t)&&s.set(t,l),l}function is(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&is(e,s,n,!0),o&&o.forEach((t=>is(e,t,n,!0)));for(const o in t)if(r&&"expose"===o);else{const r=cs[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const cs={data:ls,props:ds,emits:ds,methods:fs,computed:fs,beforeCreate:us,created:us,beforeMount:us,mounted:us,beforeUpdate:us,updated:us,beforeDestroy:us,beforeUnmount:us,destroyed:us,unmounted:us,activated:us,deactivated:us,errorCaptured:us,serverPrefetch:us,components:fs,directives:fs,watch:function(e,t){if(!e)return t;if(!t)return e;const n=f(Object.create(null),e);for(const r in t)n[r]=us(e[r],t[r]);return n},provide:ls,inject:function(e,t){return fs(as(e),as(t))}};function ls(e,t){return t?e?function(){return f(b(e)?e.call(this,this):e,b(t)?t.call(this,this):t)}:t:e}function as(e){if(m(e)){const t={};for(let n=0;n1)return n&&b(t)?t.call(r&&r.proxy):t}else 0}function bs(){return!!(tc||Kn||gs)}const _s={},Ss=()=>Object.create(_s),xs=e=>Object.getPrototypeOf(e)===_s;function Cs(e,t,n,r){const[o,i]=e.propsOptions;let c,l=!1;if(t)for(let s in t){if(N(s))continue;const a=t[s];let u;o&&h(o,u=M(s))?i&&i.includes(u)?(c||(c={}))[u]=a:n[u]=a:si(e.emitsOptions,s)||s in r&&a===r[s]||(r[s]=a,l=!0)}if(i){const t=Ut(n),r=c||s;for(let s=0;s{u=!0;const[n,r]=Es(e,t,!0);f(l,n),r&&a.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!c&&!u)return x(e)&&r.set(e,i),i;if(m(c))for(let e=0;e"_"===e[0]||"$stable"===e,Ns=e=>m(e)?e.map(Ki):[Ki(e)],Is=(e,t,n)=>{if(t._n)return t;const r=Zn(((...e)=>Ns(t(...e))),n);return r._c=!1,r},Rs=(e,t,n)=>{const r=e._ctx;for(const n in e){if(As(n))continue;const o=e[n];if(b(o))t[n]=Is(0,o,r);else if(null!=o){0;const e=Ns(o);t[n]=()=>e}}},Os=(e,t)=>{const n=Ns(t);e.slots.default=()=>n},Ms=(e,t,n)=>{for(const r in t)(n||"_"!==r)&&(e[r]=t[r])},Ps=(e,t,n)=>{const r=e.slots=Ss();if(32&e.vnode.shapeFlag){const e=t._;e?(Ms(r,t,n),n&&B(r,"_",e,!0)):Rs(t,r)}else t&&Os(e,t)},Ls=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,c=s;if(32&r.shapeFlag){const e=t._;e?n&&1===e?i=!1:Ms(o,t,n):(i=!t.$stable,Rs(t,o)),c=t}else t&&(Os(e,t),c={default:1});if(i)for(const e in o)As(e)||null!=c[e]||delete o[e]};const Ds=yi;function $s(e){return Fs(e)}function Vs(e){return Fs(e,$r)}function Fs(e,t){"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(q().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);q().__VUE__=!0;const{insert:n,remove:r,patchProp:o,createElement:l,createText:a,createComment:u,setText:f,setElementText:d,parentNode:p,nextSibling:m,setScopeId:g=c,insertStaticContent:v}=e,y=(e,t,n,r=null,o=null,s=null,i=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Li(e,t)&&(r=G(e),W(e,o,s,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:f}=t;switch(a){case Si:b(e,t,n,r);break;case xi:_(e,t,n,r);break;case Ci:null==e&&S(t,n,r,i);break;case _i:R(e,t,n,r,o,s,i,c,l);break;default:1&f?C(e,t,n,r,o,s,i,c,l):6&f?O(e,t,n,r,o,s,i,c,l):(64&f||128&f)&&a.process(e,t,n,r,o,s,i,c,l,Z)}null!=u&&o&&Or(u,e&&e.ref,s,t||e,!t)},b=(e,t,r,o)=>{if(null==e)n(t.el=a(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},_=(e,t,r,o)=>{null==e?n(t.el=u(t.children||""),r,o):t.el=e.el},S=(e,t,n,r)=>{[e.el,e.anchor]=v(e.children,t,n,r,e.el,e.anchor)},x=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=m(e),r(e),e=n;r(t)},C=(e,t,n,r,o,s,i,c,l)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?T(t,n,r,o,s,i,c,l):w(e,t,o,s,i,c,l)},T=(e,t,r,s,i,c,a,u)=>{let f,p;const{props:h,shapeFlag:m,transition:g,dirs:v}=e;if(f=e.el=l(e.type,c,h&&h.is,h),8&m?d(f,e.children):16&m&&E(e.children,f,null,s,i,Bs(e,c),a,u),v&&tr(e,null,s,"created"),k(f,e,e.scopeId,a,s),h){for(const e in h)"value"===e||N(e)||o(f,e,null,h[e],c,s);"value"in h&&o(f,"value",null,h.value,c),(p=h.onVnodeBeforeMount)&&Xi(p,s,e)}v&&tr(e,null,s,"beforeMount");const y=Hs(i,g);y&&g.beforeEnter(f),n(f,t,r),((p=h&&h.onVnodeMounted)||y||v)&&Ds((()=>{p&&Xi(p,s,e),y&&g.enter(f),v&&tr(e,null,s,"mounted")}),i)},k=(e,t,n,r,o)=>{if(n&&g(e,n),r)for(let t=0;t{for(let a=l;a{const a=t.el=e.el;let{patchFlag:u,dynamicChildren:f,dirs:p}=t;u|=16&e.patchFlag;const h=e.props||s,m=t.props||s;let g;if(n&&Us(n,!1),(g=m.onVnodeBeforeUpdate)&&Xi(g,n,t,e),p&&tr(t,e,n,"beforeUpdate"),n&&Us(n,!0),(h.innerHTML&&null==m.innerHTML||h.textContent&&null==m.textContent)&&d(a,""),f?A(e.dynamicChildren,f,a,n,r,Bs(t,i),c):l||B(e,t,a,null,n,r,Bs(t,i),c,!1),u>0){if(16&u)I(a,h,m,n,i);else if(2&u&&h.class!==m.class&&o(a,"class",null,m.class,i),4&u&&o(a,"style",h.style,m.style,i),8&u){const e=t.dynamicProps;for(let t=0;t{g&&Xi(g,n,t,e),p&&tr(t,e,n,"updated")}),r)},A=(e,t,n,r,o,s,i)=>{for(let c=0;c{if(t!==n){if(t!==s)for(const s in t)N(s)||s in n||o(e,s,t[s],null,i,r);for(const s in n){if(N(s))continue;const c=n[s],l=t[s];c!==l&&"value"!==s&&o(e,s,l,c,i,r)}"value"in n&&o(e,"value",t.value,n.value,i)}},R=(e,t,r,o,s,i,c,l,u)=>{const f=t.el=e?e.el:a(""),d=t.anchor=e?e.anchor:a("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(f,r,o),n(d,r,o),E(t.children||[],r,d,s,i,c,l,u)):p>0&&64&p&&h&&e.dynamicChildren?(A(e.dynamicChildren,h,r,s,i,c,l),(null!=t.key||s&&t===s.subTree)&&js(e,t,!0)):B(e,t,r,d,s,i,c,l,u)},O=(e,t,n,r,o,s,i,c,l)=>{t.slotScopeIds=c,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,l):P(t,n,r,o,s,i,l):D(e,t,l)},P=(e,t,n,r,o,s,i)=>{const c=e.component=ec(e,r,o);if(eo(e)&&(c.ctx.renderer=Z),fc(c,!1,i),c.asyncDep){if(o&&o.registerDep(c,$,i),!e.el){const e=c.subTree=Bi(xi);_(null,e,t,n)}}else $(c,e,t,n,o,s,i)},D=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:c,patchFlag:l}=t,a=s.emitsOptions;0;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!c||c&&c.$stable)||r!==i&&(r?!i||ui(r,i,a):!!i);if(1024&l)return!0;if(16&l)return r?ui(r,i,a):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;t{const c=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:l,vnode:a}=e;{const n=qs(e);if(n)return t&&(t.el=a.el,V(e,t,i)),void n.asyncDep.then((()=>{e.isUnmounted||c()}))}let u,f=t;0,Us(e,!1),t?(t.el=a.el,V(e,t,i)):t=a,n&&F(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Xi(u,l,t,a),Us(e,!0);const d=ii(e);0;const h=e.subTree;e.subTree=d,y(h,d,p(h.el),G(h),e,o,s),t.el=d.el,null===f&&fi(e,d.el),r&&Ds(r,o),(u=t.props&&t.props.onVnodeUpdated)&&Ds((()=>Xi(u,l,t,a)),o)}else{let i;const{el:c,props:l}=t,{bm:a,m:u,parent:f,root:d,type:p}=e,h=Xr(t);if(Us(e,!1),a&&F(a),!h&&(i=l&&l.onVnodeBeforeMount)&&Xi(i,f,t),Us(e,!0),c&&te){const t=()=>{e.subTree=ii(e),te(c,e.subTree,e,o,null)};h&&p.__asyncHydrate?p.__asyncHydrate(c,e,t):t()}else{d.ce&&d.ce._injectChildStyle(p);const i=e.subTree=ii(e);0,y(null,i,n,r,e,o,s),t.el=i.el}if(u&&Ds(u,o),!h&&(i=l&&l.onVnodeMounted)){const e=t;Ds((()=>Xi(i,f,e)),o)}(256&t.shapeFlag||f&&Xr(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&Ds(e.a,o),e.isMounted=!0,t=n=r=null}};e.scope.on();const l=e.effect=new Te(c);e.scope.off();const a=e.update=l.run.bind(l),u=e.job=l.runIfDirty.bind(l);u.i=e,u.id=e.uid,l.scheduler=()=>$n(u),Us(e,!0),a()},V=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,c=Ut(o),[l]=e.propsOptions;let a=!1;if(!(r||i>0)||16&i){let r;Cs(e,t,o,s)&&(a=!0);for(const s in c)t&&(h(t,s)||(r=L(s))!==s&&h(t,r))||(l?!n||void 0===n[s]&&void 0===n[r]||(o[s]=Ts(l,c,s,void 0,e,!0)):delete o[s]);if(s!==c)for(const e in s)t&&h(t,e)||(delete s[e],a=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let r=0;r{const a=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void H(a,f,n,r,o,s,i,c,l);if(256&p)return void U(a,f,n,r,o,s,i,c,l)}8&h?(16&u&&Y(a,o,s),f!==a&&d(n,f)):16&u?16&h?H(a,f,n,r,o,s,i,c,l):Y(a,o,s,!0):(8&u&&d(n,""),16&h&&E(f,n,r,o,s,i,c,l))},U=(e,t,n,r,o,s,c,l,a)=>{t=t||i;const u=(e=e||i).length,f=t.length,d=Math.min(u,f);let p;for(p=0;pf?Y(e,o,s,!0,!1,d):E(t,n,r,o,s,c,l,a,d)},H=(e,t,n,r,o,s,c,l,a)=>{let u=0;const f=t.length;let d=e.length-1,p=f-1;for(;u<=d&&u<=p;){const r=e[u],i=t[u]=a?Ji(t[u]):Ki(t[u]);if(!Li(r,i))break;y(r,i,n,null,o,s,c,l,a),u++}for(;u<=d&&u<=p;){const r=e[d],i=t[p]=a?Ji(t[p]):Ki(t[p]);if(!Li(r,i))break;y(r,i,n,null,o,s,c,l,a),d--,p--}if(u>d){if(u<=p){const e=p+1,i=ep)for(;u<=d;)W(e[u],o,s,!0),u++;else{const h=u,m=u,g=new Map;for(u=m;u<=p;u++){const e=t[u]=a?Ji(t[u]):Ki(t[u]);null!=e.key&&g.set(e.key,u)}let v,b=0;const _=p-m+1;let S=!1,x=0;const C=new Array(_);for(u=0;u<_;u++)C[u]=0;for(u=h;u<=d;u++){const r=e[u];if(b>=_){W(r,o,s,!0);continue}let i;if(null!=r.key)i=g.get(r.key);else for(v=m;v<=p;v++)if(0===C[v-m]&&Li(r,t[v])){i=v;break}void 0===i?W(r,o,s,!0):(C[i-m]=u+1,i>=x?x=i:S=!0,y(r,t[i],n,null,o,s,c,l,a),b++)}const T=S?function(e){const t=e.slice(),n=[0];let r,o,s,i,c;const l=e.length;for(r=0;r>1,e[n[c]]0&&(t[r]=n[s-1]),n[s]=r)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):i;for(v=T.length-1,u=_-1;u>=0;u--){const e=m+u,i=t[e],d=e+1{const{el:i,type:c,transition:l,children:a,shapeFlag:u}=e;if(6&u)return void j(e.component.subTree,t,r,o);if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void c.move(e,t,r,Z);if(c===_i){n(i,t,r);for(let e=0;e{let s;for(;e&&e!==t;)s=m(e),n(e,r,o),e=s;n(t,r,o)})(e,t,r);if(2!==o&&1&u&&l)if(0===o)l.beforeEnter(i),n(i,t,r),Ds((()=>l.enter(i)),s);else{const{leave:e,delayLeave:o,afterLeave:s}=l,c=()=>n(i,t,r),a=()=>{e(i,(()=>{c(),s&&s()}))};o?o(i,c,a):a()}else n(i,t,r)},W=(e,t,n,r=!1,o=!1)=>{const{type:s,props:i,ref:c,children:l,dynamicChildren:a,shapeFlag:u,patchFlag:f,dirs:d,cacheIndex:p}=e;if(-2===f&&(o=!1),null!=c&&Or(c,null,n,e,!0),null!=p&&(t.renderCache[p]=void 0),256&u)return void t.ctx.deactivate(e);const h=1&u&&d,m=!Xr(e);let g;if(m&&(g=i&&i.onVnodeBeforeUnmount)&&Xi(g,t,e),6&u)J(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);h&&tr(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,Z,r):a&&!a.hasOnce&&(s!==_i||f>0&&64&f)?Y(a,t,n,!1,!0):(s===_i&&384&f||!o&&16&u)&&Y(l,t,n),r&&z(e)}(m&&(g=i&&i.onVnodeUnmounted)||h)&&Ds((()=>{g&&Xi(g,t,e),h&&tr(e,null,t,"unmounted")}),n)},z=e=>{const{type:t,el:n,anchor:o,transition:s}=e;if(t===_i)return void K(n,o);if(t===Ci)return void x(e);const i=()=>{r(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:r}=s,o=()=>t(n,i);r?r(e.el,i,o):o()}else i()},K=(e,t)=>{let n;for(;e!==t;)n=m(e),r(e),e=n;r(t)},J=(e,t,n)=>{const{bum:r,scope:o,job:s,subTree:i,um:c,m:l,a:a}=e;Ws(l),Ws(a),r&&F(r),o.stop(),s&&(s.flags|=8,W(i,e,t,n)),c&&Ds(c,t),Ds((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Y=(e,t,n,r=!1,o=!1,s=0)=>{for(let i=s;i{if(6&e.shapeFlag)return G(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=m(e.anchor||e.el),n=t&&t[nr];return n?m(n):t};let X=!1;const Q=(e,t,n)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),t._vnode=e,X||(X=!0,Bn(),Un(),X=!1)},Z={p:y,um:W,m:j,r:z,mt:P,mc:E,pc:B,pbc:A,n:G,o:e};let ee,te;return t&&([ee,te]=t(Z)),{render:Q,hydrate:ee,createApp:ms(Q,ee)}}function Bs({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Us({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Hs(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function js(e,t,n=!1){const r=e.children,o=t.children;if(m(r)&&m(o))for(let e=0;e{{const e=ys(zs);return e}};function Js(e,t){return Qs(e,null,t)}function Ys(e,t){return Qs(e,null,{flush:"post"})}function Gs(e,t){return Qs(e,null,{flush:"sync"})}function Xs(e,t,n){return Qs(e,t,n)}function Qs(e,t,n=s){const{immediate:r,deep:o,flush:i,once:l}=n;const a=f({},n);const u=t&&r||!t&&"post"!==i;let p;if(uc)if("sync"===i){const e=Ks();p=e.__watcherHandles||(e.__watcherHandles=[])}else if(!u){const e=()=>{};return e.stop=c,e.resume=c,e.pause=c,e}const h=tc;a.call=(e,t,n)=>wn(e,h,t,n);let g=!1;"post"===i?a.scheduler=e=>{Ds(e,h&&h.suspense)}:"sync"!==i&&(g=!0,a.scheduler=(e,t)=>{t?e():$n(e)}),a.augmentJob=e=>{t&&(e.flags|=4),g&&(e.flags|=2,h&&(e.id=h.uid,e.i=h))};const v=function(e,t,n=s){const{immediate:r,deep:o,once:i,scheduler:l,augmentJob:a,call:u}=n,f=e=>o?e:Ft(e)||!1===o||0===o?vn(e,1):vn(e);let p,h,g,v,y=!1,_=!1;if(Wt(e)?(h=()=>e.value,y=Ft(e)):$t(e)?(h=()=>f(e),y=!0):m(e)?(_=!0,y=e.some((e=>$t(e)||Ft(e))),h=()=>e.map((e=>Wt(e)?e.value:$t(e)?f(e):b(e)?u?u(e,2):e():void 0))):h=b(e)?t?u?()=>u(e,2):e:()=>{if(g){Ue();try{g()}finally{He()}}const t=hn;hn=p;try{return u?u(e,3,[v]):e(v)}finally{hn=t}}:c,t&&o){const e=h,t=!0===o?1/0:o;h=()=>vn(e(),t)}const S=Se(),x=()=>{p.stop(),S&&S.active&&d(S.effects,p)};if(i&&t){const e=t;t=(...t)=>{e(...t),x()}}let C=_?new Array(e.length).fill(dn):dn;const T=e=>{if(1&p.flags&&(p.dirty||e))if(t){const e=p.run();if(o||y||(_?e.some(((e,t)=>V(e,C[t]))):V(e,C))){g&&g();const n=hn;hn=p;try{const n=[e,C===dn?void 0:_&&C[0]===dn?[]:C,v];u?u(t,3,n):t(...n),C=e}finally{hn=n}}}else p.run()};return a&&a(T),p=new Te(h),p.scheduler=l?()=>l(T,!1):T,v=e=>gn(e,!1,p),g=p.onStop=()=>{const e=pn.get(p);if(e){if(u)u(e,4);else for(const t of e)t();pn.delete(p)}},t?r?T(!0):C=p.run():l?l(T.bind(null,!0),!0):p.run(),x.pause=p.pause.bind(p),x.resume=p.resume.bind(p),x.stop=x,x}(e,t,a);return uc&&(p?p.push(v):u&&v()),v}function Zs(e,t,n){const r=this.proxy,o=_(e)?e.includes(".")?ei(r,e):()=>r[e]:e.bind(r,r);let s;b(t)?s=t:(s=t.handler,n=t);const i=sc(this),c=Qs(o,s.bind(r),n);return i(),c}function ei(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{let a,u,f=s;return Gs((()=>{const t=e[o];V(a,t)&&(a=t,l())})),{get(){return c(),n.get?n.get(a):a},set(e){const c=n.set?n.set(e):e;if(!(V(c,a)||f!==s&&V(e,f)))return;const d=r.vnode.props;d&&(t in d||o in d||i in d)&&(`onUpdate:${t}`in d||`onUpdate:${o}`in d||`onUpdate:${i}`in d)||(a=e,l()),r.emit(`update:${t}`,c),V(e,c)&&V(e,f)&&!V(c,u)&&l(),f=e,u=c}}}));return l[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?c||s:l,done:!1}:{done:!0}}}},l}const ni=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${M(t)}Modifiers`]||e[`${L(t)}Modifiers`];function ri(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||s;let o=n;const i=t.startsWith("update:"),c=i&&ni(r,t.slice(7));let l;c&&(c.trim&&(o=n.map((e=>_(e)?e.trim():e))),c.number&&(o=n.map(U)));let a=r[l=$(t)]||r[l=$(M(t))];!a&&i&&(a=r[l=$(L(t))]),a&&wn(a,e,6,o);const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,wn(u,e,6,o)}}function oi(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const s=e.emits;let i={},c=!1;if(!b(e)){const r=e=>{const n=oi(e,t,!0);n&&(c=!0,f(i,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||c?(m(s)?s.forEach((e=>i[e]=null)):f(i,s),x(e)&&r.set(e,i),i):(x(e)&&r.set(e,null),null)}function si(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),h(e,t[0].toLowerCase()+t.slice(1))||h(e,L(t))||h(e,t))}function ii(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:c,emit:l,render:a,renderCache:f,props:d,data:p,setupState:h,ctx:m,inheritAttrs:g}=e,v=Yn(e);let y,b;try{if(4&n.shapeFlag){const e=o||r,t=e;y=Ki(a.call(t,e,f,d,h,p,m)),b=c}else{const e=t;0,y=Ki(e.length>1?e(d,{attrs:c,slots:i,emit:l}):e(d,null)),b=t.props?c:li(c)}}catch(t){Ti.length=0,An(t,e,1),y=Bi(xi)}let _=y;if(b&&!1!==g){const e=Object.keys(b),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(u)&&(b=ai(b,s)),_=ji(_,b,!1,!0))}return n.dirs&&(_=ji(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Er(_,n.transition),y=_,Yn(v),y}function ci(e,t=!0){let n;for(let t=0;t{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},ai=(e,t)=>{const n={};for(const r in e)u(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function ui(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;let pi=0;const hi={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,c,l,a){if(null==e)!function(e,t,n,r,o,s,i,c,l){const{p:a,o:{createElement:u}}=l,f=u("div"),d=e.suspense=gi(e,o,r,t,f,n,s,i,c,l);a(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(mi(e,"onPending"),mi(e,"onFallback"),a(null,e.ssFallback,t,n,r,null,s,i),bi(d,e.ssFallback)):d.resolve(!1,!0)}(t,n,r,o,s,i,c,l,a);else{if(s&&s.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,o,s,i,c,{p:l,um:a,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=f;if(m)f.pendingBranch=d,Li(d,m)?(l(m,d,f.hiddenContainer,null,o,f,s,i,c),f.deps<=0?f.resolve():g&&(v||(l(h,p,n,r,o,null,s,i,c),bi(f,p)))):(f.pendingId=pi++,v?(f.isHydrating=!1,f.activeBranch=m):a(m,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),g?(l(null,d,f.hiddenContainer,null,o,f,s,i,c),f.deps<=0?f.resolve():(l(h,p,n,r,o,null,s,i,c),bi(f,p))):h&&Li(d,h)?(l(h,d,n,r,o,f,s,i,c),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,s,i,c),f.deps<=0&&f.resolve()));else if(h&&Li(d,h))l(h,d,n,r,o,f,s,i,c),bi(f,d);else if(mi(t,"onPending"),f.pendingBranch=d,512&d.shapeFlag?f.pendingId=d.component.suspenseId:f.pendingId=pi++,l(null,d,f.hiddenContainer,null,o,f,s,i,c),f.deps<=0)f.resolve();else{const{timeout:e,pendingId:t}=f;e>0?setTimeout((()=>{f.pendingId===t&&f.fallback(p)}),e):0===e&&f.fallback(p)}}(e,t,n,r,o,i,c,l,a)}},hydrate:function(e,t,n,r,o,s,i,c,l){const a=t.suspense=gi(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,c,!0),u=l(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve(!1,!0);return u},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=vi(r?n.default:n),e.ssFallback=r?vi(n.fallback):Bi(xi)}};function mi(e,t){const n=e.props&&e.props[t];b(n)&&n()}function gi(e,t,n,r,o,s,i,c,l,a,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:m,remove:g}}=a;let v;const y=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);y&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const b=e.props?H(e.props.timeout):void 0;const _=s,S={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:pi++,timeout:"number"==typeof b?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:i,pendingId:c,effects:l,parentComponent:a,container:u}=S;let f=!1;S.isHydrating?S.isHydrating=!1:e||(f=o&&i.transition&&"out-in"===i.transition.mode,f&&(o.transition.afterLeave=()=>{c===S.pendingId&&(d(i,u,s===_?h(o):s,0),Fn(l))}),o&&(m(o.el)===u&&(s=h(o)),p(o,a,S,!0)),f||d(i,u,s,0)),bi(S,i),S.pendingBranch=null,S.isInFallback=!1;let g=S.parent,b=!1;for(;g;){if(g.pendingBranch){g.effects.push(...l),b=!0;break}g=g.parent}b||f||Fn(l),S.effects=[],y&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),mi(r,"onResolve")},fallback(e){if(!S.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:s}=S;mi(t,"onFallback");const i=h(n),a=()=>{S.isInFallback&&(f(null,e,o,i,r,null,s,c,l),bi(S,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=a),S.isInFallback=!0,p(n,r,null,!0),u||a()},move(e,t,n){S.activeBranch&&d(S.activeBranch,e,t,n),S.container=e},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(e,t,n){const r=!!S.pendingBranch;r&&S.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{An(t,e,0)})).then((s=>{if(e.isUnmounted||S.isUnmounted||S.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:c}=e;dc(e,s,!1),o&&(c.el=o);const l=!o&&e.subTree.el;t(e,c,m(o||e.subTree.el),o?null:h(e.subTree),S,i,n),l&&g(l),fi(e,c.el),r&&0==--S.deps&&S.resolve()}))},unmount(e,t){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,e,t),S.pendingBranch&&p(S.pendingBranch,n,e,t)}};return S}function vi(e){let t;if(b(e)){const n=Ni&&e._c;n&&(e._d=!1,Ei()),e=e(),n&&(e._d=!0,t=ki,wi())}if(m(e)){const t=ci(e);0,e=t}return e=Ki(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function yi(e,t){t&&t.pendingBranch?m(e)?t.effects.push(...e):t.effects.push(e):Fn(e)}function bi(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,fi(r,o))}const _i=Symbol.for("v-fgt"),Si=Symbol.for("v-txt"),xi=Symbol.for("v-cmt"),Ci=Symbol.for("v-stc"),Ti=[];let ki=null;function Ei(e=!1){Ti.push(ki=e?null:[])}function wi(){Ti.pop(),ki=Ti[Ti.length-1]||null}let Ai,Ni=1;function Ii(e,t=!1){Ni+=e,e<0&&ki&&t&&(ki.hasOnce=!0)}function Ri(e){return e.dynamicChildren=Ni>0?ki||i:null,wi(),Ni>0&&ki&&ki.push(e),e}function Oi(e,t,n,r,o,s){return Ri(Fi(e,t,n,r,o,s,!0))}function Mi(e,t,n,r,o){return Ri(Bi(e,t,n,r,o,!0))}function Pi(e){return!!e&&!0===e.__v_isVNode}function Li(e,t){return e.type===t.type&&e.key===t.key}function Di(e){Ai=e}const $i=({key:e})=>null!=e?e:null,Vi=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?_(e)||Wt(e)||b(e)?{i:Kn,r:e,k:t,f:!!n}:e:null);function Fi(e,t=null,n=null,r=0,o=null,s=(e===_i?0:1),i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$i(t),ref:t&&Vi(t),scopeId:Jn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Kn};return c?(Yi(l,n),128&s&&e.normalize(l)):n&&(l.shapeFlag|=_(n)?8:16),Ni>0&&!i&&ki&&(l.patchFlag>0||6&s)&&32!==l.patchFlag&&ki.push(l),l}const Bi=Ui;function Ui(e,t=null,n=null,r=0,o=null,s=!1){if(e&&e!==ko||(e=xi),Pi(e)){const r=ji(e,t,!0);return n&&Yi(r,n),Ni>0&&!s&&ki&&(6&r.shapeFlag?ki[ki.indexOf(e)]=r:ki.push(r)),r.patchFlag=-2,r}if(Cc(e)&&(e=e.__vccOpts),t){t=Hi(t);let{class:e,style:n}=t;e&&!_(e)&&(t.class=X(e)),x(n)&&(Bt(n)&&!m(n)&&(n=f({},n)),t.style=z(n))}return Fi(e,t,n,r,o,_(e)?1:di(e)?128:rr(e)?64:x(e)?4:b(e)?2:0,s,!0)}function Hi(e){return e?Bt(e)||xs(e)?f({},e):e:null}function ji(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:c,transition:l}=e,a=t?Gi(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&$i(a),ref:t&&t.ref?n&&s?m(s)?s.concat(Vi(t)):[s,Vi(t)]:Vi(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_i?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ji(e.ssContent),ssFallback:e.ssFallback&&ji(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Er(u,l.clone(u)),u}function qi(e=" ",t=0){return Bi(Si,null,e,t)}function Wi(e,t){const n=Bi(Ci,null,e);return n.staticCount=t,n}function zi(e="",t=!1){return t?(Ei(),Mi(xi,null,e)):Bi(xi,null,e)}function Ki(e){return null==e||"boolean"==typeof e?Bi(xi):m(e)?Bi(_i,null,e.slice()):Pi(e)?Ji(e):Bi(Si,null,String(e))}function Ji(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ji(e)}function Yi(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(m(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Yi(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||xs(t)?3===r&&Kn&&(1===Kn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Kn}}else b(t)?(t={default:t,_ctx:Kn},n=32):(t=String(t),64&r?(n=16,t=[qi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Gi(...e){const t={};for(let n=0;ntc||Kn;let rc,oc;{const e=q(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};rc=t("__VUE_INSTANCE_SETTERS__",(e=>tc=e)),oc=t("__VUE_SSR_SETTERS__",(e=>uc=e))}const sc=e=>{const t=tc;return rc(e),e.scope.on(),()=>{e.scope.off(),rc(t)}},ic=()=>{tc&&tc.scope.off(),rc(null)};function cc(e){return 4&e.vnode.shapeFlag}let lc,ac,uc=!1;function fc(e,t=!1,n=!1){t&&oc(t);const{props:r,children:o}=e.vnode,s=cc(e);!function(e,t,n,r=!1){const o={},s=Ss();e.propsDefaults=Object.create(null),Cs(e,t,o,s);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);n?e.props=r?o:Mt(o):e.type.props?e.props=o:e.props=s,e.attrs=s}(e,r,s,t),Ps(e,o,n);const i=s?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Vo),!1;const{setup:r}=n;if(r){Ue();const n=e.setupContext=r.length>1?vc(e):null,o=sc(e),s=En(r,e,0,[e.props,n]),i=C(s);if(He(),o(),!i&&!e.sp||Xr(e)||Ir(e),i){if(s.then(ic,ic),t)return s.then((n=>{dc(e,n,t)})).catch((t=>{An(t,e,0)}));e.asyncDep=s}else dc(e,s,t)}else mc(e,t)}(e,t):void 0;return t&&oc(!1),i}function dc(e,t,n){b(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:x(t)&&(e.setupState=en(t)),mc(e,n)}function pc(e){lc=e,ac=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Fo))}}const hc=()=>!lc;function mc(e,t,n){const r=e.type;if(!e.render){if(!t&&lc&&!r.render){const t=r.template||ss(e).template;if(t){0;const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:i}=r,c=f(f({isCustomElement:n,delimiters:s},o),i);r.render=lc(t,c)}}e.render=r.render||c,ac&&ac(e)}{const t=sc(e);Ue();try{ns(e)}finally{He(),t()}}}const gc={get(e,t){return Qe(e,0,""),e[t]}};function vc(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,gc),slots:e.slots,emit:e.emit,expose:t}}function yc(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(en(Ht(e.exposed)),{get(t,n){return n in t?t[n]:n in Do?Do[n](e):void 0},has(e,t){return t in e||t in Do}})):e.proxy}const bc=/(?:^|[-_])(\w)/g,_c=e=>e.replace(bc,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Sc(e,t=!0){return b(e)?e.displayName||e.name:e.name||t&&e.__name}function xc(e,t,n=!1){let r=Sc(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?_c(r):n?"App":"Anonymous"}function Cc(e){return b(e)&&"__vccOpts"in e}const Tc=(e,t)=>{const n=function(e,t,n=!1){let r,o;return b(e)?r=e:(r=e.get,o=e.set),new an(r,o,n)}(e,0,uc);return n};function kc(e,t,n){const r=arguments.length;return 2===r?x(t)&&!m(t)?Pi(t)?Bi(e,null,[t]):Bi(e,t):Bi(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Pi(n)&&(n=[n]),Bi(e,t,n))}function Ec(){return void 0}function wc(e,t,n,r){const o=n[r];if(o&&Ac(o,e))return o;const s=t();return s.memo=e.slice(),s.cacheIndex=r,n[r]=s}function Ac(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e0&&ki&&ki.push(e),!0}const Nc="3.5.13",Ic=c,Rc=kn,Oc=qn,Mc=function e(t,n){var r,o;if(qn=t,qn)qn.enabled=!0,Wn.forEach((({event:e,args:t})=>qn.emit(e,...t))),Wn=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(o=null==(r=window.navigator)?void 0:r.userAgent)?void 0:o.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=>{e(t,n)})),setTimeout((()=>{qn||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,zn=!0,Wn=[])}),3e3)}else zn=!0,Wn=[]},Pc={createComponentInstance:ec,setupComponent:fc,renderComponentRoot:ii,setCurrentRenderingInstance:Yn,isVNode:Pi,normalizeVNode:Ki,getComponentPublicInstance:yc,ensureValidVNode:Mo,pushWarningContext:function(e){yn.push(e)},popWarningContext:function(){yn.pop()}},Lc=null,Dc=null,$c=null; +const _n=[];let bn=!1;function Sn(e,...t){if(bn)return;bn=!0,He();const n=_n.length?_n[_n.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=function(){let e=_n[_n.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(r)wn(r,n,11,[e+t.map(e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)}).join(""),n&&n.proxy,o.map(({vnode:e})=>`at <${Cc(n,e.type)}>`).join("\n"),o]);else{const n=[`[Vue warn]: ${e}`,...t];o.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,o=` at <${Cc(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...xn(e.props),s]:[o+s]}(e))}),t}(o)),console.warn(...n)}je(),bn=!1}function xn(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...Cn(n,e[n]))}),n.length>3&&t.push(" ..."),t}function Cn(e,t,n){return b(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:zt(t)?(t=Cn(e,Ht(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):_(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ht(t),n?t:[`${e}=`,t])}function Tn(e,t){}const kn={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},En={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function wn(e,t,n,r){try{return r?e(...r):e()}catch(e){Nn(e,t,n)}}function An(e,t,n,r){if(_(e)){const o=wn(e,t,n,r);return o&&C(o)&&o.catch(e=>{Nn(e,t,n)}),o}if(m(e)){const o=[];for(let s=0;s=jn(n)?In.push(e):In.splice(function(e){let t=Rn+1,n=In.length;for(;t>>1,o=In[r],s=jn(o);sjn(e)-jn(t));if(On.length=0,Mn)return void Mn.push(...e);for(Mn=e,Pn=0;Pnnull==e.id?2&e.flags?-1:1/0:e.id;function qn(e){try{for(Rn=0;Rner;function er(e,t=Jn,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Ri(-1);const o=Gn(t);let s;try{s=e(...n)}finally{Gn(o),r._d&&Ri(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function tr(e,t){if(null===Jn)return e;const n=_c(Jn),r=e.dirs||(e.dirs=[]);for(let e=0;ee.__isTeleport,sr=e=>e&&(e.disabled||""===e.disabled),ir=e=>e&&(e.defer||""===e.defer),cr=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,lr=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,ar=(e,t)=>{const n=e&&e.to;if(b(n)){if(t){return t(n)}return null}return n},ur={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,c,l,a){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:g}}=a,v=sr(t.props);let{shapeFlag:y,children:_,dynamicChildren:b}=t;if(null==e){const e=t.el=m(""),a=t.anchor=m("");p(e,n,r),p(a,n,r);const f=(e,t)=>{16&y&&(o&&o.isCE&&(o.ce._teleportTarget=e),u(_,e,t,o,s,i,c,l))},d=()=>{const e=t.target=ar(t.props,h),n=hr(e,t,m,p);e&&("svg"!==i&&cr(e)?i="svg":"mathml"!==i&&lr(e)&&(i="mathml"),v||(f(e,n),pr(t,!1)))};v&&(f(n,a),pr(t,!0)),ir(t.props)?(t.el.__isMounted=!1,$s(()=>{d(),delete t.el.__isMounted},s)):d()}else{if(ir(t.props)&&!1===e.el.__isMounted)return void $s(()=>{ur.process(e,t,n,r,o,s,i,c,l,a)},s);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,p=t.target=e.target,m=t.targetAnchor=e.targetAnchor,g=sr(e.props),y=g?n:p,_=g?u:m;if("svg"===i||cr(p)?i="svg":("mathml"===i||lr(p))&&(i="mathml"),b?(d(e.dynamicChildren,b,y,o,s,i,c),qs(e,t,!0)):l||f(e,t,y,_,o,s,i,c,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fr(t,n,u,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=ar(t.props,h);e&&fr(t,e,null,a,0)}else g&&fr(t,p,m,a,1);pr(t,v)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:c,anchor:l,targetStart:a,targetAnchor:u,target:f,props:d}=e;if(f&&(o(a),o(u)),s&&o(l),16&i){const e=s||!sr(d);for(let o=0;o{e.isMounted=!0}),vo(()=>{e.isUnmounting=!0}),e}const yr=[Function,Array],_r={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yr,onEnter:yr,onAfterEnter:yr,onEnterCancelled:yr,onBeforeLeave:yr,onLeave:yr,onAfterLeave:yr,onLeaveCancelled:yr,onBeforeAppear:yr,onAppear:yr,onAfterAppear:yr,onAppearCancelled:yr},br=e=>{const t=e.subTree;return t.component?br(t.component):t};function Sr(e){let t=e[0];if(e.length>1){let n=!1;for(const r of e)if(r.type!==Ci){0,t=r,n=!0;break}}return t}const xr={name:"BaseTransition",props:_r,setup(e,{slots:t}){const n=rc(),r=vr();return()=>{const o=t.default&&Ar(t.default(),!0);if(!o||!o.length)return;const s=Sr(o),i=Ht(e),{mode:c}=i;if(r.isLeaving)return kr(s);const l=Er(s);if(!l)return kr(s);let a=Tr(l,i,r,n,e=>a=e);l.type!==Ci&&wr(l,a);let u=n.subTree&&Er(n.subTree);if(u&&u.type!==Ci&&!Li(l,u)&&br(n).type!==Ci){let e=Tr(u,i,r,n);if(wr(u,e),"out-in"===c&&l.type!==Ci)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},kr(s);"in-out"===c&&l.type!==Ci?e.delayLeave=(e,t,n)=>{Cr(r,u)[String(u.key)]=u,e[mr]=()=>{t(),e[mr]=void 0,delete a.delayedLeave,u=void 0},a.delayedLeave=()=>{n(),delete a.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function Cr(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Tr(e,t,n,r,o){const{appear:s,mode:i,persisted:c=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:v,onAppear:y,onAfterAppear:_,onAppearCancelled:b}=t,S=String(e.key),x=Cr(n,e),C=(e,t)=>{e&&An(e,r,9,t)},T=(e,t)=>{const n=t[1];C(e,t),m(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},k={mode:i,persisted:c,beforeEnter(t){let r=l;if(!n.isMounted){if(!s)return;r=v||l}t[mr]&&t[mr](!0);const o=x[S];o&&Li(e,o)&&o.el[mr]&&o.el[mr](),C(r,[t])},enter(e){let t=a,r=u,o=f;if(!n.isMounted){if(!s)return;t=y||a,r=_||u,o=b||f}let i=!1;const c=e[gr]=t=>{i||(i=!0,C(t?o:r,[e]),k.delayedLeave&&k.delayedLeave(),e[gr]=void 0)};t?T(t,[e,c]):c()},leave(t,r){const o=String(e.key);if(t[gr]&&t[gr](!0),n.isUnmounting)return r();C(d,[t]);let s=!1;const i=t[mr]=n=>{s||(s=!0,r(),C(n?g:h,[t]),t[mr]=void 0,x[o]===e&&delete x[o])};x[o]=e,p?T(p,[t,i]):i()},clone(e){const s=Tr(e,t,n,r,o);return o&&o(s),s}};return k}function kr(e){if(to(e))return(e=qi(e)).children=null,e}function Er(e){if(!to(e))return or(e.type)&&e.children?Sr(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&_(n.default))return n.default()}}function wr(e,t){6&e.shapeFlag&&e.component?(e.transition=t,wr(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ar(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let e=0;ef({name:e.name},t,{setup:e}))():e}function Ir(){const e=rc();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Rr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Or(e){const t=rc(),n=Jt(null);if(t){const r=t.refs===s?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}else 0;return n}function Mr(e,t,n,r,o=!1){if(m(e))return void e.forEach((e,s)=>Mr(e,t&&(m(t)?t[s]:t),n,r,o));if(Qr(r)&&!o)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&Mr(e,t,n,r.component.subTree));const i=4&r.shapeFlag?_c(r.component):r.el,c=o?null:i,{i:l,r:a}=e;const u=t&&t.r,f=l.refs===s?l.refs={}:l.refs,p=l.setupState,g=Ht(p),v=p===s?()=>!1:e=>h(g,e);if(null!=u&&u!==a&&(b(u)?(f[u]=null,v(u)&&(p[u]=null)):zt(u)&&(u.value=null)),_(a))wn(a,l,12,[c,f]);else{const t=b(a),r=zt(a);if(t||r){const s=()=>{if(e.f){const n=t?v(a)?p[a]:f[a]:a.value;o?m(n)&&d(n,i):m(n)?n.includes(i)||n.push(i):t?(f[a]=[i],v(a)&&(p[a]=f[a])):(a.value=[i],e.k&&(f[e.k]=a.value))}else t?(f[a]=c,v(a)&&(p[a]=c)):r&&(a.value=c,e.k&&(f[e.k]=c))};c?(s.id=-1,$s(s,n)):s()}else 0}}let Pr=!1;const Dr=()=>{Pr||(console.error("Hydration completed but contains mismatches."),Pr=!0)},Lr=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},$r=e=>8===e.nodeType;function Fr(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:c,insert:l,createComment:u}}=e,f=(n,r,c,a,u,_=!1)=>{_=_||!!r.dynamicChildren;const b=$r(n)&&"["===n.data,S=()=>m(n,r,c,a,u,b),{type:x,ref:C,shapeFlag:T,patchFlag:k}=r;let E=n.nodeType;r.el=n,-2===k&&(_=!1,r.dynamicChildren=null);let w=null;switch(x){case xi:3!==E?""===r.children?(l(r.el=o(""),i(n),n),w=n):w=S():(n.data!==r.children&&(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Hydration text mismatch in",n.parentNode,`\n - rendered on server: ${JSON.stringify(n.data)}\n - expected on client: ${JSON.stringify(r.children)}`),Dr(),n.data=r.children),w=s(n));break;case Ci:y(n)?(w=s(n),v(r.el=n.content.firstChild,n,c)):w=8!==E||b?S():s(n);break;case Ti:if(b&&(E=(n=s(n)).nodeType),1===E||3===E){w=n;const e=!r.children.length;for(let t=0;t{i=i||!!t.dynamicChildren;const{type:l,props:u,patchFlag:f,shapeFlag:d,dirs:h,transition:m}=t,g="input"===l||"option"===l;if(g||-1!==f){h&&nr(t,null,n,"created");let l,_=!1;if(y(e)){_=js(null,m)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;if(_){const e=r.getAttribute("class");e&&(r.$cls=e),m.beforeEnter(r)}v(r,e,n),t.el=e=r}if(16&d&&(!u||!u.innerHTML&&!u.textContent)){let r=p(e.firstChild,t,e,n,o,s,i),l=!1;for(;r;){Wr(e,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!l&&(Sn("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),l=!0),Dr());const t=r;r=r.nextSibling,c(t)}}else if(8&d){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1)),e.textContent!==n&&(Wr(e,0)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Hydration text content mismatch on",e,`\n - rendered on server: ${e.textContent}\n - expected on client: ${t.children}`),Dr()),e.textContent=t.children)}if(u)if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||g||!i||48&f){const o=e.tagName.includes("-");for(const s in u)!__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||h&&h.some(e=>e.dir.created)||!Vr(e,s,u[s],t,n)||Dr(),(g&&(s.endsWith("value")||"indeterminate"===s)||a(s)&&!N(s)||"."===s[0]||o)&&r(e,s,null,u[s],void 0,n)}else if(u.onClick)r(e,"onClick",null,u.onClick,void 0,n);else if(4&f&&Ft(u.style))for(const e in u.style)u.style[e];(l=u&&u.onVnodeBeforeMount)&&Qi(l,n,t),h&&nr(t,null,n,"beforeMount"),((l=u&&u.onVnodeMounted)||h||_)&&_i(()=>{l&&Qi(l,n,t),_&&m.enter(e),h&&nr(t,null,n,"mounted")},o)}return e.nextSibling},p=(e,t,r,i,c,a,u)=>{u=u||!!t.dynamicChildren;const d=t.children,p=d.length;let h=!1;for(let t=0;t{const{slotScopeIds:a}=t;a&&(o=o?o.concat(a):a);const f=i(e),d=p(s(e),t,f,n,r,o,c);return d&&$r(d)&&"]"===d.data?s(t.anchor=d):(Dr(),l(t.anchor=u("]"),f,d),d)},m=(e,t,r,o,l,a)=>{if(Wr(e.parentElement,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":$r(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),Dr()),t.el=null,a){const t=g(e);for(;;){const n=s(e);if(!n||n===t)break;c(n)}}const u=s(e),f=i(e);return c(e),n(null,t,f,u,r,o,Lr(f),l),r&&(r.vnode.el=t.el,di(r,t.el)),u},g=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=s(e))&&$r(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return s(e);r--}return e},v=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},y=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),Hn(),void(t._vnode=e);f(t.firstChild,e,null,null,null),Hn(),t._vnode=e},f]}function Vr(e,t,n,r,o){let s,i,c,l;if("class"===t)e.$cls?(c=e.$cls,delete e.$cls):c=e.getAttribute("class"),l=X(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(Br(c||""),Br(l))||(s=2,i="class");else if("style"===t){c=e.getAttribute("style")||"",l=b(n)?n:function(e){if(!e)return"";if(b(e))return e;let t="";for(const n in e){const r=e[n];(b(r)||"number"==typeof r)&&(t+=`${n.startsWith("--")?n:D(n)}:${r};`)}return t}(z(n));const t=Ur(c),a=Ur(l);if(r.dirs)for(const{dir:e,value:t}of r.dirs)"show"!==e.name||t||a.set("display","none");o&&Hr(o,r,a),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}(t,a)||(s=3,i="style")}else(e instanceof SVGElement&&le(t)||e instanceof HTMLElement&&(se(t)||ce(t)))&&(se(t)?(c=e.hasAttribute(t),l=ie(n)):null==n?(c=e.hasAttribute(t),l=!1):(c=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,l=!!function(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}(n)&&String(n)),c!==l&&(s=4,i=t));if(null!=s&&!Wr(e,s)){const t=e=>!1===e?"(not rendered)":`${i}="${e}"`;return Sn(`Hydration ${qr[s]} mismatch on`,e,`\n - rendered on server: ${t(c)}\n - expected on client: ${t(l)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`),!0}return!1}function Br(e){return new Set(e.trim().split(/\s+/))}function Ur(e){const t=new Map;for(const n of e.split(";")){let[e,r]=n.split(":");e=e.trim(),r=r&&r.trim(),e&&r&&t.set(e,r)}return t}function Hr(e,t,n){const r=e.subTree;if(e.getCssVars&&(t===r||r&&r.type===Si&&r.children.includes(t))){const t=e.getCssVars();for(const e in t){const r=ve(t[e]);n.set(`--${ue(e,!1)}`,r)}}t===r&&e.parent&&Hr(e.parent,e.vnode,n)}const jr="data-allow-mismatch",qr={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Wr(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(jr);)e=e.parentElement;const n=e&&e.getAttribute(jr);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||e.includes(qr[t])}}const zr=q().requestIdleCallback||(e=>setTimeout(e,1)),Kr=q().cancelIdleCallback||(e=>clearTimeout(e)),Jr=(e=1e4)=>t=>{const n=zr(t,{timeout:e});return()=>Kr(n)};const Yr=e=>(t,n)=>{const r=new IntersectionObserver(e=>{for(const n of e)if(n.isIntersecting){r.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:s,innerWidth:i}=window;return(t>0&&t0&&r0&&n0&&or.disconnect()},Gr=e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},Xr=(e=[])=>(t,n)=>{b(e)&&(e=[e]);let r=!1;const o=e=>{r||(r=!0,s(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},s=()=>{n(t=>{for(const n of e)t.removeEventListener(n,o)})};return n(t=>{for(const n of e)t.addEventListener(n,o,{once:!0})}),s};const Qr=e=>!!e.type.__asyncLoader; +/*! #__NO_SIDE_EFFECTS__ */function Zr(e){_(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:c=!0,onError:l}=e;let a,u=null,f=0;const d=()=>{let e;return u||(e=u=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{l(e,()=>t((f++,u=null,d())),()=>n(e),f+1)});throw e}).then(t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),a=t,t)))};return Nr({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(e,t,n){let r=!1;(t.bu||(t.bu=[])).push(()=>r=!0);const o=()=>{r||n()},i=s?()=>{const n=s(o,t=>function(e,t){if($r(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if($r(r))if("]"===r.data){if(0===--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)}(e,t));n&&(t.bum||(t.bum=[])).push(n)}:o;a?i():d().then(()=>!t.isUnmounted&&i())},get __asyncResolved(){return a},setup(){const e=nc;if(Rr(e),a)return()=>eo(a,e);const t=t=>{u=null,Nn(t,e,13,!r)};if(c&&e.suspense||fc)return d().then(t=>()=>eo(t,e)).catch(e=>(t(e),()=>r?Ui(r,{error:e}):null));const s=Kt(!1),l=Kt(),f=Kt(!!o);return o&&setTimeout(()=>{f.value=!1},o),null!=i&&setTimeout(()=>{if(!s.value&&!l.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),l.value=e}},i),d().then(()=>{s.value=!0,e.parent&&to(e.parent.vnode)&&e.parent.update()}).catch(e=>{t(e),l.value=e}),()=>s.value&&a?eo(a,e):l.value&&r?Ui(r,{error:l.value}):n&&!f.value?Ui(n):void 0}})}function eo(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=Ui(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const to=e=>e.type.__isKeepAlive,no={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=rc(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,s=new Set;let i=null;const c=n.suspense,{renderer:{p:l,m:a,um:u,o:{createElement:f}}}=r,d=f("div");function p(e){lo(e),u(e,n,c,!0)}function h(e){o.forEach((t,n)=>{const r=xc(t.type);r&&!e(r)&&m(n)})}function m(e){const t=o.get(e);!t||i&&Li(t,i)?i&&lo(i):p(t),o.delete(e),s.delete(e)}r.activate=(e,t,n,r,o)=>{const s=e.component;a(e,t,n,0,c),l(s.vnode,e,t,n,s,c,r,e.slotScopeIds,o),$s(()=>{s.isDeactivated=!1,s.a&&V(s.a);const t=e.props&&e.props.onVnodeMounted;t&&Qi(t,s.parent,e)},c)},r.deactivate=e=>{const t=e.component;zs(t.m),zs(t.a),a(e,d,null,1,c),$s(()=>{t.da&&V(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Qi(n,t.parent,e),t.isDeactivated=!0},c)},Qs(()=>[e.include,e.exclude],([e,t])=>{e&&h(t=>ro(e,t)),t&&h(e=>!ro(t,e))},{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&(pi(n.subTree.type)?$s(()=>{o.set(g,ao(n.subTree))},n.subTree.suspense):o.set(g,ao(n.subTree)))};return ho(v),go(v),vo(()=>{o.forEach(e=>{const{subTree:t,suspense:r}=n,o=ao(t);if(e.type===o.type&&e.key===o.key){lo(o);const e=o.component.da;return void(e&&$s(e,r))}p(e)})}),()=>{if(g=null,!t.default)return i=null;const n=t.default(),r=n[0];if(n.length>1)return i=null,n;if(!(Di(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return i=null,r;let c=ao(r);if(c.type===Ci)return i=null,c;const l=c.type,a=xc(Qr(c)?c.type.__asyncResolved||{}:l),{include:u,exclude:f,max:d}=e;if(u&&(!a||!ro(u,a))||f&&a&&ro(f,a))return c.shapeFlag&=-257,i=c,r;const p=null==c.key?l:c.key,h=o.get(p);return c.el&&(c=qi(c),128&r.shapeFlag&&(r.ssContent=c)),g=p,h?(c.el=h.el,c.component=h.component,c.transition&&wr(c,c.transition),c.shapeFlag|=512,s.delete(p),s.add(p)):(s.add(p),d&&s.size>parseInt(d,10)&&m(s.values().next().value)),c.shapeFlag|=256,i=c,pi(r.type)?r:c}}};function ro(e,t){return m(e)?e.some(e=>ro(e,t)):b(e)?e.split(",").includes(t):"[object RegExp]"===k(e)&&(e.lastIndex=0,e.test(t))}function oo(e,t){io(e,"a",t)}function so(e,t){io(e,"da",t)}function io(e,t,n=nc){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(uo(t,r,n),n){let e=n.parent;for(;e&&e.parent;)to(e.parent.vnode)&&co(r,t,n,e),e=e.parent}}function co(e,t,n,r){const o=uo(t,e,r,!0);yo(()=>{d(r[t],o)},n)}function lo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ao(e){return 128&e.shapeFlag?e.ssContent:e}function uo(e,t,n=nc,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{He();const o=ic(n),s=An(t,n,e,r);return o(),je(),s});return r?o.unshift(s):o.push(s),s}}const fo=e=>(t,n=nc)=>{fc&&"sp"!==e||uo(e,(...e)=>t(...e),n)},po=fo("bm"),ho=fo("m"),mo=fo("bu"),go=fo("u"),vo=fo("bum"),yo=fo("um"),_o=fo("sp"),bo=fo("rtg"),So=fo("rtc");function xo(e,t=nc){uo("ec",e,t)}const Co="components",To="directives";function ko(e,t){return No(Co,e,!0,t)||e}const Eo=Symbol.for("v-ndc");function wo(e){return b(e)?No(Co,e,!1)||e:e||Eo}function Ao(e){return No(To,e)}function No(e,t,n=!0,r=!1){const o=Jn||nc;if(o){const n=o.type;if(e===Co){const e=xc(n,!1);if(e&&(e===t||e===M(t)||e===L(M(t))))return n}const s=Io(o[e]||n[e],t)||Io(o.appContext[e],t);return!s&&r?n:s}}function Io(e,t){return e&&(e[t]||e[M(t)]||e[L(M(t))])}function Ro(e,t,n,r){let o;const s=n&&n[r],i=m(e);if(i||b(e)){let n=!1,r=!1;i&&Ft(e)&&(n=!Bt(e),r=Vt(e),e=nt(e)),o=new Array(e.length);for(let i=0,c=e.length;it(e,n,void 0,s&&s[n]));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,i=n.length;r{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Mo(e,t,n={},r,o){if(Jn.ce||Jn.parent&&Qr(Jn.parent)&&Jn.parent.ce)return"default"!==t&&(n.name=t),wi(),Pi(Si,null,[Ui("slot",n,r&&r())],64);let s=e[t];s&&s._c&&(s._d=!1),wi();const i=s&&Po(s(n)),c=n.key||i&&i.key,l=Pi(Si,{key:(c&&!S(c)?c:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&1===e._?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Po(e){return e.some(e=>!Di(e)||e.type!==Ci&&!(e.type===Si&&!Po(e.children)))?e:null}function Do(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:$(r)]=e[r];return n}const Lo=e=>e?lc(e)?_c(e):Lo(e.parent):null,$o=f(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Lo(e.parent),$root:e=>Lo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>is(e),$forceUpdate:e=>e.f||(e.f=()=>{Fn(e.update)}),$nextTick:e=>e.n||(e.n=$n.bind(e.proxy)),$watch:e=>ei.bind(e)}),Fo=(e,t)=>e!==s&&!e.__isScriptSetup&&h(e,t),Vo={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:c,type:l,appContext:a}=e;let u;if("$"!==t[0]){const l=c[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Fo(r,t))return c[t]=1,r[t];if(o!==s&&h(o,t))return c[t]=2,o[t];if((u=e.propsOptions[0])&&h(u,t))return c[t]=3,i[t];if(n!==s&&h(n,t))return c[t]=4,n[t];ns&&(c[t]=0)}}const f=$o[t];let d,p;return f?("$attrs"===t&&Ze(e.attrs,0,""),f(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==s&&h(n,t)?(c[t]=4,n[t]):(p=a.config.globalProperties,h(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Fo(o,t)?(o[t]=n,!0):r!==s&&h(r,t)?(r[t]=n,!0):!h(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},c){let l;return!!n[c]||e!==s&&h(e,c)||Fo(t,c)||(l=i[0])&&h(l,c)||h(r,c)||h($o,c)||h(o.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:h(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const Bo=f({},Vo,{get(e,t){if(t!==Symbol.unscopables)return Vo.get(e,t,e)},has(e,t){return"_"!==t[0]&&!W(t)}});function Uo(){return null}function Ho(){return null}function jo(e){0}function qo(e){0}function Wo(){return null}function zo(){0}function Ko(e,t){return null}function Jo(){return Go("useSlots").slots}function Yo(){return Go("useAttrs").attrs}function Go(e){const t=rc();return t.setupContext||(t.setupContext=yc(t))}function Xo(e){return m(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Qo(e,t){const n=Xo(e);for(const e in t){if(e.startsWith("__skip"))continue;let r=n[e];r?m(r)||_(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function Zo(e,t){return e&&t?m(e)&&m(t)?e.concat(t):f({},Xo(e),Xo(t)):e||t}function es(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function ts(e){const t=rc();let n=e();return cc(),C(n)&&(n=n.catch(e=>{throw ic(t),e})),[n,()=>ic(t)]}let ns=!0;function rs(e){const t=is(e),n=e.proxy,r=e.ctx;ns=!1,t.beforeCreate&&os(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:l,provide:a,inject:u,created:f,beforeMount:d,mounted:p,beforeUpdate:h,updated:g,activated:v,deactivated:y,beforeDestroy:b,beforeUnmount:S,destroyed:C,unmounted:T,render:k,renderTracked:E,renderTriggered:w,errorCaptured:A,serverPrefetch:N,expose:I,inheritAttrs:R,components:O,directives:M,filters:P}=t;if(u&&function(e,t){m(e)&&(e=us(e));for(const n in e){const r=e[n];let o;o=x(r)?"default"in r?_s(r.from||n,r.default,!0):_s(r.from||n):_s(r),zt(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[n]=o}}(u,r,null),i)for(const e in i){const t=i[e];_(t)&&(r[e]=t.bind(n))}if(o){0;const t=o.call(n,n);0,x(t)&&(e.data=Mt(t))}if(ns=!0,s)for(const e in s){const t=s[e],o=_(t)?t.bind(n,n):_(t.get)?t.get.bind(n,n):c;0;const i=!_(t)&&_(t.set)?t.set.bind(n):c,l=kc({get:o,set:i});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(l)for(const e in l)ss(l[e],r,n,e);if(a){const e=_(a)?a.call(n):a;Reflect.ownKeys(e).forEach(t=>{ys(t,e[t])})}function D(e,t){m(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&os(f,e,"c"),D(po,d),D(ho,p),D(mo,h),D(go,g),D(oo,v),D(so,y),D(xo,A),D(So,E),D(bo,w),D(vo,S),D(yo,T),D(_o,N),m(I))if(I.length){const t=e.exposed||(e.exposed={});I.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===c&&(e.render=k),null!=R&&(e.inheritAttrs=R),O&&(e.components=O),M&&(e.directives=M),N&&Rr(e)}function os(e,t,n){An(m(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function ss(e,t,n,r){let o=r.includes(".")?ti(n,r):()=>n[r];if(b(e)){const n=t[e];_(n)&&Qs(o,n)}else if(_(e))Qs(o,e.bind(n));else if(x(e))if(m(e))e.forEach(e=>ss(e,t,n,r));else{const r=_(e.handler)?e.handler.bind(n):t[e.handler];_(r)&&Qs(o,r,e)}else 0}function is(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,c=s.get(t);let l;return c?l=c:o.length||n||r?(l={},o.length&&o.forEach(e=>cs(l,e,i,!0)),cs(l,t,i)):l=t,x(t)&&s.set(t,l),l}function cs(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&cs(e,s,n,!0),o&&o.forEach(t=>cs(e,t,n,!0));for(const o in t)if(r&&"expose"===o);else{const r=ls[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const ls={data:as,props:ps,emits:ps,methods:ds,computed:ds,beforeCreate:fs,created:fs,beforeMount:fs,mounted:fs,beforeUpdate:fs,updated:fs,beforeDestroy:fs,beforeUnmount:fs,destroyed:fs,unmounted:fs,activated:fs,deactivated:fs,errorCaptured:fs,serverPrefetch:fs,components:ds,directives:ds,watch:function(e,t){if(!e)return t;if(!t)return e;const n=f(Object.create(null),e);for(const r in t)n[r]=fs(e[r],t[r]);return n},provide:as,inject:function(e,t){return ds(us(e),us(t))}};function as(e,t){return t?e?function(){return f(_(e)?e.call(this,this):e,_(t)?t.call(this,this):t)}:t:e}function us(e){if(m(e)){const t={};for(let n=0;n1)return n&&_(t)?t.call(r&&r.proxy):t}else 0}function bs(){return!(!rc()&&!vs)}const Ss={},xs=()=>Object.create(Ss),Cs=e=>Object.getPrototypeOf(e)===Ss;function Ts(e,t,n,r){const[o,i]=e.propsOptions;let c,l=!1;if(t)for(let s in t){if(N(s))continue;const a=t[s];let u;o&&h(o,u=M(s))?i&&i.includes(u)?(c||(c={}))[u]=a:n[u]=a:ii(e.emitsOptions,s)||s in r&&a===r[s]||(r[s]=a,l=!0)}if(i){const t=Ht(n),r=c||s;for(let s=0;s{u=!0;const[n,r]=ws(e,t,!0);f(l,n),r&&a.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!c&&!u)return x(e)&&r.set(e,i),i;if(m(c))for(let e=0;e"_"===e||"__"===e||"_ctx"===e||"$stable"===e,Is=e=>m(e)?e.map(Ji):[Ji(e)],Rs=(e,t,n)=>{if(t._n)return t;const r=er((...e)=>Is(t(...e)),n);return r._c=!1,r},Os=(e,t,n)=>{const r=e._ctx;for(const n in e){if(Ns(n))continue;const o=e[n];if(_(o))t[n]=Rs(0,o,r);else if(null!=o){0;const e=Is(o);t[n]=()=>e}}},Ms=(e,t)=>{const n=Is(t);e.slots.default=()=>n},Ps=(e,t,n)=>{for(const r in t)!n&&Ns(r)||(e[r]=t[r])},Ds=(e,t,n)=>{const r=e.slots=xs();if(32&e.vnode.shapeFlag){const e=t.__;e&&B(r,"__",e,!0);const o=t._;o?(Ps(r,t,n),n&&B(r,"_",o,!0)):Os(t,r)}else t&&Ms(e,t)},Ls=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,c=s;if(32&r.shapeFlag){const e=t._;e?n&&1===e?i=!1:Ps(o,t,n):(i=!t.$stable,Os(t,o)),c=t}else t&&(Ms(e,t),c={default:1});if(i)for(const e in o)Ns(e)||null!=c[e]||delete o[e]};const $s=_i;function Fs(e){return Bs(e)}function Vs(e){return Bs(e,Fr)}function Bs(e,t){"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(q().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);q().__VUE__=!0;const{insert:n,remove:r,patchProp:o,createElement:l,createText:a,createComment:u,setText:f,setElementText:d,parentNode:p,nextSibling:g,setScopeId:v=c,insertStaticContent:y}=e,_=(e,t,n,r=null,o=null,s=null,i=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Li(e,t)&&(r=X(e),z(e,o,s,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:f}=t;switch(a){case xi:b(e,t,n,r);break;case Ci:S(e,t,n,r);break;case Ti:null==e&&x(t,n,r,i);break;case Si:O(e,t,n,r,o,s,i,c,l);break;default:1&f?T(e,t,n,r,o,s,i,c,l):6&f?P(e,t,n,r,o,s,i,c,l):(64&f||128&f)&&a.process(e,t,n,r,o,s,i,c,l,ee)}null!=u&&o?Mr(u,e&&e.ref,s,t||e,!t):null==u&&e&&null!=e.ref&&Mr(e.ref,null,s,e,!0)},b=(e,t,r,o)=>{if(null==e)n(t.el=a(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},S=(e,t,r,o)=>{null==e?n(t.el=u(t.children||""),r,o):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=y(e.children,t,n,r,e.el,e.anchor)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=g(e),r(e),e=n;r(t)},T=(e,t,n,r,o,s,i,c,l)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?k(t,n,r,o,s,i,c,l):A(e,t,o,s,i,c,l)},k=(e,t,r,s,i,c,a,u)=>{let f,p;const{props:h,shapeFlag:m,transition:g,dirs:v}=e;if(f=e.el=l(e.type,c,h&&h.is,h),8&m?d(f,e.children):16&m&&w(e.children,f,null,s,i,Us(e,c),a,u),v&&nr(e,null,s,"created"),E(f,e,e.scopeId,a,s),h){for(const e in h)"value"===e||N(e)||o(f,e,null,h[e],c,s);"value"in h&&o(f,"value",null,h.value,c),(p=h.onVnodeBeforeMount)&&Qi(p,s,e)}v&&nr(e,null,s,"beforeMount");const y=js(i,g);y&&g.beforeEnter(f),n(f,t,r),((p=h&&h.onVnodeMounted)||y||v)&&$s(()=>{p&&Qi(p,s,e),y&&g.enter(f),v&&nr(e,null,s,"mounted")},i)},E=(e,t,n,r,o)=>{if(n&&v(e,n),r)for(let t=0;t{for(let a=l;a{const a=t.el=e.el;let{patchFlag:u,dynamicChildren:f,dirs:p}=t;u|=16&e.patchFlag;const h=e.props||s,m=t.props||s;let g;if(n&&Hs(n,!1),(g=m.onVnodeBeforeUpdate)&&Qi(g,n,t,e),p&&nr(t,e,n,"beforeUpdate"),n&&Hs(n,!0),(h.innerHTML&&null==m.innerHTML||h.textContent&&null==m.textContent)&&d(a,""),f?I(e.dynamicChildren,f,a,n,r,Us(t,i),c):l||U(e,t,a,null,n,r,Us(t,i),c,!1),u>0){if(16&u)R(a,h,m,n,i);else if(2&u&&h.class!==m.class&&o(a,"class",null,m.class,i),4&u&&o(a,"style",h.style,m.style,i),8&u){const e=t.dynamicProps;for(let t=0;t{g&&Qi(g,n,t,e),p&&nr(t,e,n,"updated")},r)},I=(e,t,n,r,o,s,i)=>{for(let c=0;c{if(t!==n){if(t!==s)for(const s in t)N(s)||s in n||o(e,s,t[s],null,i,r);for(const s in n){if(N(s))continue;const c=n[s],l=t[s];c!==l&&"value"!==s&&o(e,s,l,c,i,r)}"value"in n&&o(e,"value",t.value,n.value,i)}},O=(e,t,r,o,s,i,c,l,u)=>{const f=t.el=e?e.el:a(""),d=t.anchor=e?e.anchor:a("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(f,r,o),n(d,r,o),w(t.children||[],r,d,s,i,c,l,u)):p>0&&64&p&&h&&e.dynamicChildren?(I(e.dynamicChildren,h,r,s,i,c,l),(null!=t.key||s&&t===s.subTree)&&qs(e,t,!0)):U(e,t,r,d,s,i,c,l,u)},P=(e,t,n,r,o,s,i,c,l)=>{t.slotScopeIds=c,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,l):L(t,n,r,o,s,i,l):$(e,t,l)},L=(e,t,n,r,o,s,i)=>{const c=e.component=tc(e,r,o);if(to(e)&&(c.ctx.renderer=ee),dc(c,!1,i),c.asyncDep){if(o&&o.registerDep(c,F,i),!e.el){const r=c.subTree=Ui(Ci);S(null,r,t,n),e.placeholder=r.el}}else F(c,e,t,n,o,s,i)},$=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:c,patchFlag:l}=t,a=s.emitsOptions;0;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!c||c&&c.$stable)||r!==i&&(r?!i||fi(r,i,a):!!i);if(1024&l)return!0;if(16&l)return r?fi(r,i,a):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;t{const c=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:l,vnode:a}=e;{const n=Ws(e);if(n)return t&&(t.el=a.el,B(e,t,i)),void n.asyncDep.then(()=>{e.isUnmounted||c()})}let u,f=t;0,Hs(e,!1),t?(t.el=a.el,B(e,t,i)):t=a,n&&V(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Qi(u,l,t,a),Hs(e,!0);const d=ci(e);0;const h=e.subTree;e.subTree=d,_(h,d,p(h.el),X(h),e,o,s),t.el=d.el,null===f&&di(e,d.el),r&&$s(r,o),(u=t.props&&t.props.onVnodeUpdated)&&$s(()=>Qi(u,l,t,a),o)}else{let i;const{el:c,props:l}=t,{bm:a,m:u,parent:f,root:d,type:p}=e,h=Qr(t);if(Hs(e,!1),a&&V(a),!h&&(i=l&&l.onVnodeBeforeMount)&&Qi(i,f,t),Hs(e,!0),c&&ne){const t=()=>{e.subTree=ci(e),ne(c,e.subTree,e,o,null)};h&&p.__asyncHydrate?p.__asyncHydrate(c,e,t):t()}else{d.ce&&!1!==d.ce._def.shadowRoot&&d.ce._injectChildStyle(p);const i=e.subTree=ci(e);0,_(null,i,n,r,e,o,s),t.el=i.el}if(u&&$s(u,o),!h&&(i=l&&l.onVnodeMounted)){const e=t;$s(()=>Qi(i,f,e),o)}(256&t.shapeFlag||f&&Qr(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&$s(e.a,o),e.isMounted=!0,t=n=r=null}};e.scope.on();const l=e.effect=new ke(c);e.scope.off();const a=e.update=l.run.bind(l),u=e.job=l.runIfDirty.bind(l);u.i=e,u.id=e.uid,l.scheduler=()=>Fn(u),Hs(e,!0),a()},B=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,c=Ht(o),[l]=e.propsOptions;let a=!1;if(!(r||i>0)||16&i){let r;Ts(e,t,o,s)&&(a=!0);for(const s in c)t&&(h(t,s)||(r=D(s))!==s&&h(t,r))||(l?!n||void 0===n[s]&&void 0===n[r]||(o[s]=ks(l,c,s,void 0,e,!0)):delete o[s]);if(s!==c)for(const e in s)t&&h(t,e)||(delete s[e],a=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let r=0;r{const a=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void j(a,f,n,r,o,s,i,c,l);if(256&p)return void H(a,f,n,r,o,s,i,c,l)}8&h?(16&u&&G(a,o,s),f!==a&&d(n,f)):16&u?16&h?j(a,f,n,r,o,s,i,c,l):G(a,o,s,!0):(8&u&&d(n,""),16&h&&w(f,n,r,o,s,i,c,l))},H=(e,t,n,r,o,s,c,l,a)=>{t=t||i;const u=(e=e||i).length,f=t.length,d=Math.min(u,f);let p;for(p=0;pf?G(e,o,s,!0,!1,d):w(t,n,r,o,s,c,l,a,d)},j=(e,t,n,r,o,s,c,l,a)=>{let u=0;const f=t.length;let d=e.length-1,p=f-1;for(;u<=d&&u<=p;){const r=e[u],i=t[u]=a?Yi(t[u]):Ji(t[u]);if(!Li(r,i))break;_(r,i,n,null,o,s,c,l,a),u++}for(;u<=d&&u<=p;){const r=e[d],i=t[p]=a?Yi(t[p]):Ji(t[p]);if(!Li(r,i))break;_(r,i,n,null,o,s,c,l,a),d--,p--}if(u>d){if(u<=p){const e=p+1,i=ep)for(;u<=d;)z(e[u],o,s,!0),u++;else{const h=u,m=u,g=new Map;for(u=m;u<=p;u++){const e=t[u]=a?Yi(t[u]):Ji(t[u]);null!=e.key&&g.set(e.key,u)}let v,y=0;const b=p-m+1;let S=!1,x=0;const C=new Array(b);for(u=0;u=b){z(r,o,s,!0);continue}let i;if(null!=r.key)i=g.get(r.key);else for(v=m;v<=p;v++)if(0===C[v-m]&&Li(r,t[v])){i=v;break}void 0===i?z(r,o,s,!0):(C[i-m]=u+1,i>=x?x=i:S=!0,_(r,t[i],n,null,o,s,c,l,a),y++)}const T=S?function(e){const t=e.slice(),n=[0];let r,o,s,i,c;const l=e.length;for(r=0;r>1,e[n[c]]0&&(t[r]=n[s-1]),n[s]=r)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):i;for(v=T.length-1,u=b-1;u>=0;u--){const e=m+u,i=t[e],d=t[e+1],p=e+1{const{el:c,type:l,transition:a,children:u,shapeFlag:f}=e;if(6&f)return void W(e.component.subTree,t,o,s);if(128&f)return void e.suspense.move(t,o,s);if(64&f)return void l.move(e,t,o,ee);if(l===Si){n(c,t,o);for(let e=0;e{let s;for(;e&&e!==t;)s=g(e),n(e,r,o),e=s;n(t,r,o)})(e,t,o);if(2!==s&&1&f&&a)if(0===s)a.beforeEnter(c),n(c,t,o),$s(()=>a.enter(c),i);else{const{leave:s,delayLeave:i,afterLeave:l}=a,u=()=>{e.ctx.isUnmounted?r(c):n(c,t,o)},f=()=>{s(c,()=>{u(),l&&l()})};i?i(c,u,f):f()}else n(c,t,o)},z=(e,t,n,r=!1,o=!1)=>{const{type:s,props:i,ref:c,children:l,dynamicChildren:a,shapeFlag:u,patchFlag:f,dirs:d,cacheIndex:p}=e;if(-2===f&&(o=!1),null!=c&&(He(),Mr(c,null,n,e,!0),je()),null!=p&&(t.renderCache[p]=void 0),256&u)return void t.ctx.deactivate(e);const h=1&u&&d,m=!Qr(e);let g;if(m&&(g=i&&i.onVnodeBeforeUnmount)&&Qi(g,t,e),6&u)Y(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);h&&nr(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,ee,r):a&&!a.hasOnce&&(s!==Si||f>0&&64&f)?G(a,t,n,!1,!0):(s===Si&&384&f||!o&&16&u)&&G(l,t,n),r&&K(e)}(m&&(g=i&&i.onVnodeUnmounted)||h)&&$s(()=>{g&&Qi(g,t,e),h&&nr(e,null,t,"unmounted")},n)},K=e=>{const{type:t,el:n,anchor:o,transition:s}=e;if(t===Si)return void J(n,o);if(t===Ti)return void C(e);const i=()=>{r(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:r}=s,o=()=>t(n,i);r?r(e.el,i,o):o()}else i()},J=(e,t)=>{let n;for(;e!==t;)n=g(e),r(e),e=n;r(t)},Y=(e,t,n)=>{const{bum:r,scope:o,job:s,subTree:i,um:c,m:l,a:a,parent:u,slots:{__:f}}=e;zs(l),zs(a),r&&V(r),u&&m(f)&&f.forEach(e=>{u.renderCache[e]=void 0}),o.stop(),s&&(s.flags|=8,z(i,e,t,n)),c&&$s(c,t),$s(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},G=(e,t,n,r=!1,o=!1,s=0)=>{for(let i=s;i{if(6&e.shapeFlag)return X(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=g(e.anchor||e.el),n=t&&t[rr];return n?g(n):t};let Q=!1;const Z=(e,t,n)=>{null==e?t._vnode&&z(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Q||(Q=!0,Un(),Hn(),Q=!1)},ee={p:_,um:z,m:W,r:K,mt:L,mc:w,pc:U,pbc:I,n:X,o:e};let te,ne;return t&&([te,ne]=t(ee)),{render:Z,hydrate:te,createApp:gs(Z,te)}}function Us({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Hs({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function js(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qs(e,t,n=!1){const r=e.children,o=t.children;if(m(r)&&m(o))for(let e=0;e{{const e=_s(Ks);return e}};function Ys(e,t){return Zs(e,null,t)}function Gs(e,t){return Zs(e,null,{flush:"post"})}function Xs(e,t){return Zs(e,null,{flush:"sync"})}function Qs(e,t,n){return Zs(e,t,n)}function Zs(e,t,n=s){const{immediate:r,deep:o,flush:i,once:l}=n;const a=f({},n);const u=t&&r||!t&&"post"!==i;let p;if(fc)if("sync"===i){const e=Js();p=e.__watcherHandles||(e.__watcherHandles=[])}else if(!u){const e=()=>{};return e.stop=c,e.resume=c,e.pause=c,e}const h=nc;a.call=(e,t,n)=>An(e,h,t,n);let g=!1;"post"===i?a.scheduler=e=>{$s(e,h&&h.suspense)}:"sync"!==i&&(g=!0,a.scheduler=(e,t)=>{t?e():Fn(e)}),a.augmentJob=e=>{t&&(e.flags|=4),g&&(e.flags|=2,h&&(e.id=h.uid,e.i=h))};const v=function(e,t,n=s){const{immediate:r,deep:o,once:i,scheduler:l,augmentJob:a,call:u}=n,f=e=>o?e:Bt(e)||!1===o||0===o?yn(e,1):yn(e);let p,h,g,v,y=!1,b=!1;if(zt(e)?(h=()=>e.value,y=Bt(e)):Ft(e)?(h=()=>f(e),y=!0):m(e)?(b=!0,y=e.some(e=>Ft(e)||Bt(e)),h=()=>e.map(e=>zt(e)?e.value:Ft(e)?f(e):_(e)?u?u(e,2):e():void 0)):h=_(e)?t?u?()=>u(e,2):e:()=>{if(g){He();try{g()}finally{je()}}const t=mn;mn=p;try{return u?u(e,3,[v]):e(v)}finally{mn=t}}:c,t&&o){const e=h,t=!0===o?1/0:o;h=()=>yn(e(),t)}const S=xe(),x=()=>{p.stop(),S&&S.active&&d(S.effects,p)};if(i&&t){const e=t;t=(...t)=>{e(...t),x()}}let C=b?new Array(e.length).fill(pn):pn;const T=e=>{if(1&p.flags&&(p.dirty||e))if(t){const e=p.run();if(o||y||(b?e.some((e,t)=>F(e,C[t])):F(e,C))){g&&g();const n=mn;mn=p;try{const n=[e,C===pn?void 0:b&&C[0]===pn?[]:C,v];C=e,u?u(t,3,n):t(...n)}finally{mn=n}}}else p.run()};return a&&a(T),p=new ke(h),p.scheduler=l?()=>l(T,!1):T,v=e=>vn(e,!1,p),g=p.onStop=()=>{const e=hn.get(p);if(e){if(u)u(e,4);else for(const t of e)t();hn.delete(p)}},t?r?T(!0):C=p.run():l?l(T.bind(null,!0),!0):p.run(),x.pause=p.pause.bind(p),x.resume=p.resume.bind(p),x.stop=x,x}(e,t,a);return fc&&(p?p.push(v):u&&v()),v}function ei(e,t,n){const r=this.proxy,o=b(e)?e.includes(".")?ti(r,e):()=>r[e]:e.bind(r,r);let s;_(t)?s=t:(s=t.handler,n=t);const i=ic(this),c=Zs(o,s.bind(r),n);return i(),c}function ti(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{let a,u,f=s;return Xs(()=>{const t=e[o];F(a,t)&&(a=t,l())}),{get(){return c(),n.get?n.get(a):a},set(e){const c=n.set?n.set(e):e;if(!(F(c,a)||f!==s&&F(e,f)))return;const d=r.vnode.props;d&&(t in d||o in d||i in d)&&(`onUpdate:${t}`in d||`onUpdate:${o}`in d||`onUpdate:${i}`in d)||(a=e,l()),r.emit(`update:${t}`,c),F(e,c)&&F(e,f)&&!F(c,u)&&l(),f=e,u=c}}});return l[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?c||s:l,done:!1}:{done:!0}}}},l}const ri=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${M(t)}Modifiers`]||e[`${D(t)}Modifiers`];function oi(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||s;let o=n;const i=t.startsWith("update:"),c=i&&ri(r,t.slice(7));let l;c&&(c.trim&&(o=n.map(e=>b(e)?e.trim():e)),c.number&&(o=n.map(U)));let a=r[l=$(t)]||r[l=$(M(t))];!a&&i&&(a=r[l=$(D(t))]),a&&An(a,e,6,o);const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,An(u,e,6,o)}}function si(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const s=e.emits;let i={},c=!1;if(!_(e)){const r=e=>{const n=si(e,t,!0);n&&(c=!0,f(i,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||c?(m(s)?s.forEach(e=>i[e]=null):f(i,s),x(e)&&r.set(e,i),i):(x(e)&&r.set(e,null),null)}function ii(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),h(e,t[0].toLowerCase()+t.slice(1))||h(e,D(t))||h(e,t))}function ci(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:c,emit:l,render:a,renderCache:f,props:d,data:p,setupState:h,ctx:m,inheritAttrs:g}=e,v=Gn(e);let y,_;try{if(4&n.shapeFlag){const e=o||r,t=e;y=Ji(a.call(t,e,f,d,h,p,m)),_=c}else{const e=t;0,y=Ji(e.length>1?e(d,{attrs:c,slots:i,emit:l}):e(d,null)),_=t.props?c:ai(c)}}catch(t){ki.length=0,Nn(t,e,1),y=Ui(Ci)}let b=y;if(_&&!1!==g){const e=Object.keys(_),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(u)&&(_=ui(_,s)),b=qi(b,_,!1,!0))}return n.dirs&&(b=qi(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&wr(b,n.transition),y=b,Gn(v),y}function li(e,t=!0){let n;for(let t=0;t{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},ui=(e,t)=>{const n={};for(const r in e)u(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function fi(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;let hi=0;const mi={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,c,l,a){if(null==e)!function(e,t,n,r,o,s,i,c,l){const{p:a,o:{createElement:u}}=l,f=u("div"),d=e.suspense=vi(e,o,r,t,f,n,s,i,c,l);a(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(gi(e,"onPending"),gi(e,"onFallback"),a(null,e.ssFallback,t,n,r,null,s,i),bi(d,e.ssFallback)):d.resolve(!1,!0)}(t,n,r,o,s,i,c,l,a);else{if(s&&s.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,o,s,i,c,{p:l,um:a,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=f;if(m)f.pendingBranch=d,Li(d,m)?(l(m,d,f.hiddenContainer,null,o,f,s,i,c),f.deps<=0?f.resolve():g&&(v||(l(h,p,n,r,o,null,s,i,c),bi(f,p)))):(f.pendingId=hi++,v?(f.isHydrating=!1,f.activeBranch=m):a(m,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),g?(l(null,d,f.hiddenContainer,null,o,f,s,i,c),f.deps<=0?f.resolve():(l(h,p,n,r,o,null,s,i,c),bi(f,p))):h&&Li(d,h)?(l(h,d,n,r,o,f,s,i,c),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,s,i,c),f.deps<=0&&f.resolve()));else if(h&&Li(d,h))l(h,d,n,r,o,f,s,i,c),bi(f,d);else if(gi(t,"onPending"),f.pendingBranch=d,512&d.shapeFlag?f.pendingId=d.component.suspenseId:f.pendingId=hi++,l(null,d,f.hiddenContainer,null,o,f,s,i,c),f.deps<=0)f.resolve();else{const{timeout:e,pendingId:t}=f;e>0?setTimeout(()=>{f.pendingId===t&&f.fallback(p)},e):0===e&&f.fallback(p)}}(e,t,n,r,o,i,c,l,a)}},hydrate:function(e,t,n,r,o,s,i,c,l){const a=t.suspense=vi(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,c,!0),u=l(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve(!1,!0);return u},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=yi(r?n.default:n),e.ssFallback=r?yi(n.fallback):Ui(Ci)}};function gi(e,t){const n=e.props&&e.props[t];_(n)&&n()}function vi(e,t,n,r,o,s,i,c,l,a,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:m,remove:g}}=a;let v;const y=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);y&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const _=e.props?H(e.props.timeout):void 0;const b=s,S={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:hi++,timeout:"number"==typeof _?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:i,pendingId:c,effects:l,parentComponent:a,container:u}=S;let f=!1;S.isHydrating?S.isHydrating=!1:e||(f=o&&i.transition&&"out-in"===i.transition.mode,f&&(o.transition.afterLeave=()=>{c===S.pendingId&&(d(i,u,s===b?h(o):s,0),Bn(l))}),o&&(m(o.el)===u&&(s=h(o)),p(o,a,S,!0)),f||d(i,u,s,0)),bi(S,i),S.pendingBranch=null,S.isInFallback=!1;let g=S.parent,_=!1;for(;g;){if(g.pendingBranch){g.effects.push(...l),_=!0;break}g=g.parent}_||f||Bn(l),S.effects=[],y&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),gi(r,"onResolve")},fallback(e){if(!S.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:s}=S;gi(t,"onFallback");const i=h(n),a=()=>{S.isInFallback&&(f(null,e,o,i,r,null,s,c,l),bi(S,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=a),S.isInFallback=!0,p(n,r,null,!0),u||a()},move(e,t,n){S.activeBranch&&d(S.activeBranch,e,t,n),S.container=e},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(e,t,n){const r=!!S.pendingBranch;r&&S.deps++;const o=e.vnode.el;e.asyncDep.catch(t=>{Nn(t,e,0)}).then(s=>{if(e.isUnmounted||S.isUnmounted||S.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:c}=e;pc(e,s,!1),o&&(c.el=o);const l=!o&&e.subTree.el;t(e,c,m(o||e.subTree.el),o?null:h(e.subTree),S,i,n),l&&g(l),di(e,c.el),r&&0===--S.deps&&S.resolve()})},unmount(e,t){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,e,t),S.pendingBranch&&p(S.pendingBranch,n,e,t)}};return S}function yi(e){let t;if(_(e)){const n=Ii&&e._c;n&&(e._d=!1,wi()),e=e(),n&&(e._d=!0,t=Ei,Ai())}if(m(e)){const t=li(e);0,e=t}return e=Ji(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function _i(e,t){t&&t.pendingBranch?m(e)?t.effects.push(...e):t.effects.push(e):Bn(e)}function bi(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,di(r,o))}const Si=Symbol.for("v-fgt"),xi=Symbol.for("v-txt"),Ci=Symbol.for("v-cmt"),Ti=Symbol.for("v-stc"),ki=[];let Ei=null;function wi(e=!1){ki.push(Ei=e?null:[])}function Ai(){ki.pop(),Ei=ki[ki.length-1]||null}let Ni,Ii=1;function Ri(e,t=!1){Ii+=e,e<0&&Ei&&t&&(Ei.hasOnce=!0)}function Oi(e){return e.dynamicChildren=Ii>0?Ei||i:null,Ai(),Ii>0&&Ei&&Ei.push(e),e}function Mi(e,t,n,r,o,s){return Oi(Bi(e,t,n,r,o,s,!0))}function Pi(e,t,n,r,o){return Oi(Ui(e,t,n,r,o,!0))}function Di(e){return!!e&&!0===e.__v_isVNode}function Li(e,t){return e.type===t.type&&e.key===t.key}function $i(e){Ni=e}const Fi=({key:e})=>null!=e?e:null,Vi=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?b(e)||zt(e)||_(e)?{i:Jn,r:e,k:t,f:!!n}:e:null);function Bi(e,t=null,n=null,r=0,o=null,s=(e===Si?0:1),i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fi(t),ref:t&&Vi(t),scopeId:Yn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Jn};return c?(Gi(l,n),128&s&&e.normalize(l)):n&&(l.shapeFlag|=b(n)?8:16),Ii>0&&!i&&Ei&&(l.patchFlag>0||6&s)&&32!==l.patchFlag&&Ei.push(l),l}const Ui=Hi;function Hi(e,t=null,n=null,r=0,o=null,s=!1){if(e&&e!==Eo||(e=Ci),Di(e)){const r=qi(e,t,!0);return n&&Gi(r,n),Ii>0&&!s&&Ei&&(6&r.shapeFlag?Ei[Ei.indexOf(e)]=r:Ei.push(r)),r.patchFlag=-2,r}if(Tc(e)&&(e=e.__vccOpts),t){t=ji(t);let{class:e,style:n}=t;e&&!b(e)&&(t.class=X(e)),x(n)&&(Ut(n)&&!m(n)&&(n=f({},n)),t.style=z(n))}return Bi(e,t,n,r,o,b(e)?1:pi(e)?128:or(e)?64:x(e)?4:_(e)?2:0,s,!0)}function ji(e){return e?Ut(e)||Cs(e)?f({},e):e:null}function qi(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:c,transition:l}=e,a=t?Xi(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Fi(a),ref:t&&t.ref?n&&s?m(s)?s.concat(Vi(t)):[s,Vi(t)]:Vi(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Si?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qi(e.ssContent),ssFallback:e.ssFallback&&qi(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&wr(u,l.clone(u)),u}function Wi(e=" ",t=0){return Ui(xi,null,e,t)}function zi(e,t){const n=Ui(Ti,null,e);return n.staticCount=t,n}function Ki(e="",t=!1){return t?(wi(),Pi(Ci,null,e)):Ui(Ci,null,e)}function Ji(e){return null==e||"boolean"==typeof e?Ui(Ci):m(e)?Ui(Si,null,e.slice()):Di(e)?Yi(e):Ui(xi,null,String(e))}function Yi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:qi(e)}function Gi(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(m(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Gi(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Cs(t)?3===r&&Jn&&(1===Jn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Jn}}else _(t)?(t={default:t,_ctx:Jn},n=32):(t=String(t),64&r?(n=16,t=[Wi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xi(...e){const t={};for(let n=0;nnc||Jn;let oc,sc;{const e=q(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};oc=t("__VUE_INSTANCE_SETTERS__",e=>nc=e),sc=t("__VUE_SSR_SETTERS__",e=>fc=e)}const ic=e=>{const t=nc;return oc(e),e.scope.on(),()=>{e.scope.off(),oc(t)}},cc=()=>{nc&&nc.scope.off(),oc(null)};function lc(e){return 4&e.vnode.shapeFlag}let ac,uc,fc=!1;function dc(e,t=!1,n=!1){t&&sc(t);const{props:r,children:o}=e.vnode,s=lc(e);!function(e,t,n,r=!1){const o={},s=xs();e.propsDefaults=Object.create(null),Ts(e,t,o,s);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);n?e.props=r?o:Pt(o):e.type.props?e.props=o:e.props=s,e.attrs=s}(e,r,s,t),Ds(e,o,n||t);const i=s?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Vo),!1;const{setup:r}=n;if(r){He();const n=e.setupContext=r.length>1?yc(e):null,o=ic(e),s=wn(r,e,0,[e.props,n]),i=C(s);if(je(),o(),!i&&!e.sp||Qr(e)||Rr(e),i){if(s.then(cc,cc),t)return s.then(n=>{pc(e,n,t)}).catch(t=>{Nn(t,e,0)});e.asyncDep=s}else pc(e,s,t)}else gc(e,t)}(e,t):void 0;return t&&sc(!1),i}function pc(e,t,n){_(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:x(t)&&(e.setupState=tn(t)),gc(e,n)}function hc(e){ac=e,uc=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Bo))}}const mc=()=>!ac;function gc(e,t,n){const r=e.type;if(!e.render){if(!t&&ac&&!r.render){const t=r.template||is(e).template;if(t){0;const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:i}=r,c=f(f({isCustomElement:n,delimiters:s},o),i);r.render=ac(t,c)}}e.render=r.render||c,uc&&uc(e)}{const t=ic(e);He();try{rs(e)}finally{je(),t()}}}const vc={get(e,t){return Ze(e,0,""),e[t]}};function yc(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,vc),slots:e.slots,emit:e.emit,expose:t}}function _c(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tn(jt(e.exposed)),{get(t,n){return n in t?t[n]:n in $o?$o[n](e):void 0},has(e,t){return t in e||t in $o}})):e.proxy}const bc=/(?:^|[-_])(\w)/g,Sc=e=>e.replace(bc,e=>e.toUpperCase()).replace(/[-_]/g,"");function xc(e,t=!0){return _(e)?e.displayName||e.name:e.name||t&&e.__name}function Cc(e,t,n=!1){let r=xc(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?Sc(r):n?"App":"Anonymous"}function Tc(e){return _(e)&&"__vccOpts"in e}const kc=(e,t)=>{const n=function(e,t,n=!1){let r,o;return _(e)?r=e:(r=e.get,o=e.set),new un(r,o,n)}(e,0,fc);return n};function Ec(e,t,n){const r=arguments.length;return 2===r?x(t)&&!m(t)?Di(t)?Ui(e,null,[t]):Ui(e,t):Ui(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Di(n)&&(n=[n]),Ui(e,t,n))}function wc(){return void 0}function Ac(e,t,n,r){const o=n[r];if(o&&Nc(o,e))return o;const s=t();return s.memo=e.slice(),s.cacheIndex=r,n[r]=s}function Nc(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e0&&Ei&&Ei.push(e),!0}const Ic="3.5.18",Rc=c,Oc=En,Mc=Wn,Pc=function e(t,n){var r,o;if(Wn=t,Wn)Wn.enabled=!0,zn.forEach(({event:e,args:t})=>Wn.emit(e,...t)),zn=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(o=null==(r=window.navigator)?void 0:r.userAgent)?void 0:o.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(t=>{e(t,n)}),setTimeout(()=>{Wn||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Kn=!0,zn=[])},3e3)}else Kn=!0,zn=[]},Dc={createComponentInstance:tc,setupComponent:dc,renderComponentRoot:ci,setCurrentRenderingInstance:Gn,isVNode:Di,normalizeVNode:Ji,getComponentPublicInstance:_c,ensureValidVNode:Po,pushWarningContext:function(e){_n.push(e)},popWarningContext:function(){_n.pop()}},Lc=null,$c=null,Fc=null; /** -* @vue/runtime-dom v3.5.13 +* @vue/runtime-dom v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ -let Vc;const Fc="undefined"!=typeof window&&window.trustedTypes;if(Fc)try{Vc=Fc.createPolicy("vue",{createHTML:e=>e})}catch(e){}const Bc=Vc?e=>Vc.createHTML(e):e=>e,Uc="undefined"!=typeof document?document:null,Hc=Uc&&Uc.createElement("template"),jc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o="svg"===t?Uc.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Uc.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Uc.createElement(e,{is:n}):Uc.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>Uc.createTextNode(e),createComment:e=>Uc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Uc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==s&&(o=o.nextSibling););else{Hc.innerHTML=Bc("svg"===r?`${e}`:"mathml"===r?`${e}`:e);const o=Hc.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qc="transition",Wc="animation",zc=Symbol("_vtc"),Kc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Jc=f({},yr,Kc),Yc=(e=>(e.displayName="Transition",e.props=Jc,e))(((e,{slots:t})=>kc(Sr,Qc(e),t))),Gc=(e,t=[])=>{m(e)?e.forEach((e=>e(...t))):e&&e(...t)},Xc=e=>!!e&&(m(e)?e.some((e=>e.length>1)):e.length>1);function Qc(e){const t={};for(const n in e)n in Kc||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:a=i,appearToClass:u=c,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(x(e))return[Zc(e.enter),Zc(e.leave)];{const t=Zc(e);return[t,t]}}(o),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:S,onLeaveCancelled:C,onBeforeAppear:T=y,onAppear:k=b,onAppearCancelled:E=_}=t,w=(e,t,n,r)=>{e._enterCancelled=r,tl(e,t?u:c),tl(e,t?a:i),n&&n()},A=(e,t)=>{e._isLeaving=!1,tl(e,d),tl(e,h),tl(e,p),t&&t()},N=e=>(t,n)=>{const o=e?k:b,i=()=>w(t,e,n);Gc(o,[t,i]),nl((()=>{tl(t,e?l:s),el(t,e?u:c),Xc(o)||ol(t,r,g,i)}))};return f(t,{onBeforeEnter(e){Gc(y,[e]),el(e,s),el(e,i)},onBeforeAppear(e){Gc(T,[e]),el(e,l),el(e,a)},onEnter:N(!1),onAppear:N(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);el(e,d),e._enterCancelled?(el(e,p),ll()):(ll(),el(e,p)),nl((()=>{e._isLeaving&&(tl(e,d),el(e,h),Xc(S)||ol(e,r,v,n))})),Gc(S,[e,n])},onEnterCancelled(e){w(e,!1,void 0,!0),Gc(_,[e])},onAppearCancelled(e){w(e,!0,void 0,!0),Gc(E,[e])},onLeaveCancelled(e){A(e),Gc(C,[e])}})}function Zc(e){return H(e)}function el(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[zc]||(e[zc]=new Set)).add(t)}function tl(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[zc];n&&(n.delete(t),n.size||(e[zc]=void 0))}function nl(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let rl=0;function ol(e,t,n,r){const o=e._endId=++rl,s=()=>{o===e._endId&&r()};if(null!=n)return setTimeout(s,n);const{type:i,timeout:c,propCount:l}=sl(e,t);if(!i)return r();const a=i+"end";let u=0;const f=()=>{e.removeEventListener(a,d),s()},d=t=>{t.target===e&&++u>=l&&f()};setTimeout((()=>{u(n[e]||"").split(", "),o=r(`${qc}Delay`),s=r(`${qc}Duration`),i=il(o,s),c=r(`${Wc}Delay`),l=r(`${Wc}Duration`),a=il(c,l);let u=null,f=0,d=0;t===qc?i>0&&(u=qc,f=i,d=s.length):t===Wc?a>0&&(u=Wc,f=a,d=l.length):(f=Math.max(i,a),u=f>0?i>a?qc:Wc:null,d=u?u===qc?s.length:l.length:0);return{type:u,timeout:f,propCount:d,hasTransform:u===qc&&/\b(transform|all)(,|$)/.test(r(`${qc}Property`).toString())}}function il(e,t){for(;e.lengthcl(t)+cl(e[n]))))}function cl(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function ll(){return document.body.offsetHeight}const al=Symbol("_vod"),ul=Symbol("_vsh"),fl={beforeMount(e,{value:t},{transition:n}){e[al]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):dl(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),dl(e,!0),r.enter(e)):r.leave(e,(()=>{dl(e,!1)})):dl(e,t))},beforeUnmount(e,{value:t}){dl(e,t)}};function dl(e,t){e.style.display=t?e[al]:"none",e[ul]=!t}const pl=Symbol("");function hl(e){const t=nc();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>gl(e,n)))};const r=()=>{const r=e(t.proxy);t.ce?gl(t.ce,r):ml(t.subTree,r),n(r)};ho((()=>{Fn(r)})),po((()=>{Xs(r,c,{flush:"post"});const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),vo((()=>e.disconnect()))}))}function ml(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{ml(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)gl(e.el,t);else if(e.type===_i)e.children.forEach((e=>ml(e,t)));else if(e.type===Ci){let{el:n,anchor:r}=e;for(;n&&(gl(n,t),n!==r);)n=n.nextSibling}}function gl(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t)n.setProperty(`--${e}`,t[e]),r+=`--${e}: ${t[e]};`;n[pl]=r}}const vl=/(^|;)\s*display\s*:/;const yl=/\s*!important$/;function bl(e,t,n){if(m(n))n.forEach((n=>bl(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=Sl[t];if(n)return n;let r=M(t);if("filter"!==r&&r in e)return Sl[t]=r;r=D(r);for(let n=0;n<_l.length;n++){const o=_l[n]+r;if(o in e)return Sl[t]=o}return t}(e,t);yl.test(n)?e.setProperty(L(r),n.replace(yl,""),"important"):e[r]=n}}const _l=["Webkit","Moz","ms"],Sl={};const xl="http://www.w3.org/1999/xlink";function Cl(e,t,n,r,o,s=oe(t)){r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(xl,t.slice(6,t.length)):e.setAttributeNS(xl,t,n):null==n||s&&!ie(n)?e.removeAttribute(t):e.setAttribute(t,s?"":S(n)?String(n):n)}function Tl(e,t,n,r,o){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?Bc(n):n));const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const r="OPTION"===s?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n);return r===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let i=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=ie(n):null==n&&"string"===r?(n="",i=!0):"number"===r&&(n=0,i=!0)}try{e[t]=n}catch(e){0}i&&e.removeAttribute(o||t)}function kl(e,t,n,r){e.addEventListener(t,n,r)}const El=Symbol("_vei");function wl(e,t,n,r,o=null){const s=e[El]||(e[El]={}),i=s[t];if(r&&i)i.value=r;else{const[n,c]=function(e){let t;if(Al.test(e)){let n;for(t={};n=e.match(Al);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):L(e.slice(2));return[n,t]}(t);if(r){const i=s[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();wn(function(e,t){if(m(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Rl(),n}(r,o);kl(e,n,i,c)}else i&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,i,c),s[t]=void 0)}}const Al=/(?:Once|Passive|Capture)$/;let Nl=0;const Il=Promise.resolve(),Rl=()=>Nl||(Il.then((()=>Nl=0)),Nl=Date.now());const Ol=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Ml={}; -/*! #__NO_SIDE_EFFECTS__ */function Pl(e,t,n){const r=Ar(e,t);w(r)&&f(r,t);class o extends $l{constructor(e){super(r,e,n)}}return o.def=r,o} -/*! #__NO_SIDE_EFFECTS__ */const Ll=(e,t)=>Pl(e,t,Ca),Dl="undefined"!=typeof HTMLElement?HTMLElement:class{};class $l extends Dl{constructor(e,t={},n=xa){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==xa?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof $l){this._parent=e;break}this._instance||(this._resolved?(this._setParent(),this._update()):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then((()=>{this._pendingResolve=void 0,this._resolveDef()})):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._instance.provides=e._instance.provides)}disconnectedCallback(){this._connected=!1,Dn((()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)}))}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e{for(const t of e)this._setAttr(t.attributeName)})),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:r}=e;let o;if(n&&!m(n))for(const e in n){const t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=H(this._props[e])),(o||(o=Object.create(null)))[M(e)]=!0)}this._numberProps=o,t&&this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then((t=>e(this._def=t,!0))):e(this._def)}_mount(e){this._app=this._createApp(e),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const e in t)h(this,e)||Object.defineProperty(this,e,{get:()=>Xt(t[e])})}_resolveProps(e){const{props:t}=e,n=m(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e]);for(const e of n.map(M))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):Ml;const r=M(e);t&&this._numberProps&&this._numberProps[r]&&(n=H(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(t===Ml?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){const n=this._ob;n&&n.disconnect(),!0===t?this.setAttribute(L(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(L(e),t+""):t||this.removeAttribute(L(e)),n&&n.observe(this,{attributes:!0})}}_update(){_a(this._createVNode(),this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=Bi(this._def,f(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,w(t[0])?f({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),L(e)!==e&&t(L(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const n=this._nonce;for(let t=e.length-1;t>=0;t--){const r=document.createElement("style");n&&r.setAttribute("nonce",n),r.textContent=e[t],this.shadowRoot.prepend(r)}}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const n=1===t.nodeType&&t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=(this._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let n=0;n(delete e.props.mode,e))({name:"TransitionGroup",props:f({},Jc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=nc(),r=gr();let o,s;return mo((()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode(),o=e[zc];o&&o.forEach((e=>{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const s=1===t.nodeType?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=sl(r);return s.removeChild(r),i}(o[0].el,n.vnode.el,t))return;o.forEach(zl),o.forEach(Kl);const r=o.filter(Jl);ll(),r.forEach((e=>{const n=e.el,r=n.style;el(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n[jl]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n[jl]=null,tl(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const i=Ut(e),c=Qc(i);let l=i.tag||_i;if(o=[],s)for(let e=0;e{const t=e.props["onUpdate:modelValue"]||!1;return m(t)?e=>F(t,e):t};function Gl(e){e.target.composing=!0}function Xl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ql=Symbol("_assign"),Zl={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Ql]=Yl(o);const s=r||o.props&&"number"===o.props.type;kl(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),s&&(r=U(r)),e[Ql](r)})),n&&kl(e,"change",(()=>{e.value=e.value.trim()})),t||(kl(e,"compositionstart",Gl),kl(e,"compositionend",Xl),kl(e,"change",Xl))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Ql]=Yl(i),e.composing)return;const c=null==t?"":t;if((!s&&"number"!==e.type||/^0\d/.test(e.value)?e.value:U(e.value))!==c){if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return;if(o&&e.value.trim()===c)return}e.value=c}}},ea={deep:!0,created(e,t,n){e[Ql]=Yl(n),kl(e,"change",(()=>{const t=e._modelValue,n=sa(e),r=e.checked,o=e[Ql];if(m(t)){const e=de(t,n),s=-1!==e;if(r&&!s)o(t.concat(n));else if(!r&&s){const n=[...t];n.splice(e,1),o(n)}}else if(v(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e)}else o(ia(e,r))}))},mounted:ta,beforeUpdate(e,t,n){e[Ql]=Yl(n),ta(e,t,n)}};function ta(e,{value:t,oldValue:n},r){let o;if(e._modelValue=t,m(t))o=de(t,r.props.value)>-1;else if(v(t))o=t.has(r.props.value);else{if(t===n)return;o=fe(t,ia(e,!0))}e.checked!==o&&(e.checked=o)}const na={created(e,{value:t},n){e.checked=fe(t,n.props.value),e[Ql]=Yl(n),kl(e,"change",(()=>{e[Ql](sa(e))}))},beforeUpdate(e,{value:t,oldValue:n},r){e[Ql]=Yl(r),t!==n&&(e.checked=fe(t,r.props.value))}},ra={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=v(t);kl(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?U(sa(e)):sa(e)));e[Ql](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,Dn((()=>{e._assigning=!1}))})),e[Ql]=Yl(r)},mounted(e,{value:t}){oa(e,t)},beforeUpdate(e,t,n){e[Ql]=Yl(n)},updated(e,{value:t}){e._assigning||oa(e,t)}};function oa(e,t){const n=e.multiple,r=m(t);if(!n||r||v(t)){for(let o=0,s=e.options.length;oString(e)===String(i))):de(t,i)>-1}else s.selected=t.has(i);else if(fe(sa(s),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function sa(e){return"_value"in e?e._value:e.value}function ia(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ca={created(e,t,n){aa(e,t,n,null,"created")},mounted(e,t,n){aa(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){aa(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){aa(e,t,n,r,"updated")}};function la(e,t){switch(e){case"SELECT":return ra;case"TEXTAREA":return Zl;default:switch(t){case"checkbox":return ea;case"radio":return na;default:return Zl}}}function aa(e,t,n,r,o){const s=la(e.tagName,n.props&&n.props.type)[o];s&&s(e,t,n,r)}const ua=["ctrl","shift","alt","meta"],fa={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ua.some((n=>e[`${n}Key`]&&!t.includes(n)))},da=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=L(n.key);return t.some((e=>e===r||pa[e]===r))?e(n):void 0})},ma=f({patchProp:(e,t,n,r,o,s)=>{const i="svg"===o;"class"===t?function(e,t,n){const r=e[zc];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,i):"style"===t?function(e,t,n){const r=e.style,o=_(n);let s=!1;if(n&&!o){if(t)if(_(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&bl(r,t,"")}else for(const e in t)null==n[e]&&bl(r,e,"");for(const e in n)"display"===e&&(s=!0),bl(r,e,n[e])}else if(o){if(t!==n){const e=r[pl];e&&(n+=";"+e),r.cssText=n,s=vl.test(n)}}else t&&e.removeAttribute("style");al in e&&(e[al]=s?r.display:"",e[ul]&&(r.display="none"))}(e,n,r):a(t)?u(t)||wl(e,t,0,r,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ol(t)&&b(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Ol(t)&&_(n))return!1;return t in e}(e,t,r,i))?(Tl(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Cl(e,t,r,i,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&_(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),Cl(e,t,r,i)):Tl(e,M(t),r,0,t)}},jc);let ga,va=!1;function ya(){return ga||(ga=$s(ma))}function ba(){return ga=va?ga:Vs(ma),va=!0,ga}const _a=(...e)=>{ya().render(...e)},Sa=(...e)=>{ba().hydrate(...e)},xa=(...e)=>{const t=ya().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=ka(e);if(!r)return;const o=t._component;b(o)||o.render||o.template||(o.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const s=n(r,!1,Ta(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t},Ca=(...e)=>{const t=ba().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=ka(e);if(t)return n(t,!0,Ta(t))},t};function Ta(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function ka(e){if(_(e)){return document.querySelector(e)}return e}let Ea=!1;const wa=()=>{Ea||(Ea=!0,Zl.getSSRProps=({value:e})=>({value:e}),na.getSSRProps=({value:e},t)=>{if(t.props&&fe(t.props.value,e))return{checked:!0}},ea.getSSRProps=({value:e},t)=>{if(m(e)){if(t.props&&de(e,t.props.value)>-1)return{checked:!0}}else if(v(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},ca.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=la(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},fl.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})},Aa=Symbol(""),Na=Symbol(""),Ia=Symbol(""),Ra=Symbol(""),Oa=Symbol(""),Ma=Symbol(""),Pa=Symbol(""),La=Symbol(""),Da=Symbol(""),$a=Symbol(""),Va=Symbol(""),Fa=Symbol(""),Ba=Symbol(""),Ua=Symbol(""),Ha=Symbol(""),ja=Symbol(""),qa=Symbol(""),Wa=Symbol(""),za=Symbol(""),Ka=Symbol(""),Ja=Symbol(""),Ya=Symbol(""),Ga=Symbol(""),Xa=Symbol(""),Qa=Symbol(""),Za=Symbol(""),eu=Symbol(""),tu=Symbol(""),nu=Symbol(""),ru=Symbol(""),ou=Symbol(""),su=Symbol(""),iu=Symbol(""),cu=Symbol(""),lu=Symbol(""),au=Symbol(""),uu=Symbol(""),fu=Symbol(""),du=Symbol(""),pu={[Aa]:"Fragment",[Na]:"Teleport",[Ia]:"Suspense",[Ra]:"KeepAlive",[Oa]:"BaseTransition",[Ma]:"openBlock",[Pa]:"createBlock",[La]:"createElementBlock",[Da]:"createVNode",[$a]:"createElementVNode",[Va]:"createCommentVNode",[Fa]:"createTextVNode",[Ba]:"createStaticVNode",[Ua]:"resolveComponent",[Ha]:"resolveDynamicComponent",[ja]:"resolveDirective",[qa]:"resolveFilter",[Wa]:"withDirectives",[za]:"renderList",[Ka]:"renderSlot",[Ja]:"createSlots",[Ya]:"toDisplayString",[Ga]:"mergeProps",[Xa]:"normalizeClass",[Qa]:"normalizeStyle",[Za]:"normalizeProps",[eu]:"guardReactiveProps",[tu]:"toHandlers",[nu]:"camelize",[ru]:"capitalize",[ou]:"toHandlerKey",[su]:"setBlockTracking",[iu]:"pushScopeId",[cu]:"popScopeId",[lu]:"withCtx",[au]:"unref",[uu]:"isRef",[fu]:"withMemo",[du]:"isMemoSame"};const hu={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function mu(e,t,n,r,o,s,i,c=!1,l=!1,a=!1,u=hu){return e&&(c?(e.helper(Ma),e.helper(ku(e.inSSR,a))):e.helper(Tu(e.inSSR,a)),i&&e.helper(Wa)),{type:13,tag:t,props:n,children:r,patchFlag:o,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:u}}function gu(e,t=hu){return{type:17,loc:t,elements:e}}function vu(e,t=hu){return{type:15,loc:t,properties:e}}function yu(e,t){return{type:16,loc:hu,key:_(e)?bu(e,!0):e,value:t}}function bu(e,t=!1,n=hu,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function _u(e,t=hu){return{type:8,loc:t,children:e}}function Su(e,t=[],n=hu){return{type:14,loc:n,callee:e,arguments:t}}function xu(e,t=void 0,n=!1,r=!1,o=hu){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:o}}function Cu(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:hu}}function Tu(e,t){return e||t?Da:$a}function ku(e,t){return e||t?Pa:La}function Eu(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(Tu(r,e.isComponent)),t(Ma),t(ku(r,e.isComponent)))}const wu=new Uint8Array([123,123]),Au=new Uint8Array([125,125]);function Nu(e){return e>=97&&e<=122||e>=65&&e<=90}function Iu(e){return 32===e||10===e||9===e||12===e||13===e}function Ru(e){return 47===e||62===e||Iu(e)}function Ou(e){const t=new Uint8Array(e.length);for(let n=0;n4===e.type&&e.isStatic;function Uu(e){switch(e){case"Teleport":case"teleport":return Na;case"Suspense":case"suspense":return Ia;case"KeepAlive":case"keep-alive":return Ra;case"BaseTransition":case"base-transition":return Oa}}const Hu=/^\d|[^\$\w\xA0-\uFFFF]/,ju=e=>!Hu.test(e),qu=/[A-Za-z_$\xA0-\uFFFF]/,Wu=/[\.\?\w$\xA0-\uFFFF]/,zu=/\s+[.[]\s*|\s*[.[]\s+/g,Ku=e=>4===e.type?e.content:e.loc.source,Ju=e=>{const t=Ku(e).trim().replace(zu,(e=>e.trim()));let n=0,r=[],o=0,s=0,i=null;for(let e=0;e|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Gu=e=>Yu.test(Ku(e));function Xu(e,t,n=!1){for(let r=0;r4===e.key.type&&e.key.content===r))}return n}function af(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}const uf=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,ff={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:l,isPreTag:l,isIgnoreNewlineTag:l,isCustomElement:l,onError:$u,onWarn:Vu,comments:!1,prefixIdentifiers:!1};let df=ff,pf=null,hf="",mf=null,gf=null,vf="",yf=-1,bf=-1,_f=0,Sf=!1,xf=null;const Cf=[],Tf=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=wu,this.delimiterClose=Au,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=wu,this.delimiterClose=Au}getPos(e){let t=1,n=e+1;for(let r=this.newlines.length-1;r>=0;r--){const o=this.newlines[r];if(e>o){t=r+2,n=e-o;break}}return{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?Ru(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||Iu(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart=e||(28===this.state?this.currentSequence===Mu.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(Cf,{onerr:Wf,ontext(e,t){Nf(wf(e,t),e,t)},ontextentity(e,t,n){Nf(e,t,n)},oninterpolation(e,t){if(Sf)return Nf(wf(e,t),e,t);let n=e+Tf.delimiterOpen.length,r=t-Tf.delimiterClose.length;for(;Iu(hf.charCodeAt(n));)n++;for(;Iu(hf.charCodeAt(r-1));)r--;let o=wf(n,r);o.includes("&")&&(o=df.decodeEntities(o,!1)),Ff({type:5,content:qf(o,!1,Bf(n,r)),loc:Bf(e,t)})},onopentagname(e,t){const n=wf(e,t);mf={type:1,tag:n,ns:df.getNamespace(n,Cf[0],df.ns),tagType:0,props:[],children:[],loc:Bf(e-1,t),codegenNode:void 0}},onopentagend(e){Af(e)},onclosetag(e,t){const n=wf(e,t);if(!df.isVoidTag(n)){let r=!1;for(let e=0;e0&&Wf(24,Cf[0].loc.start.offset);for(let n=0;n<=e;n++){If(Cf.shift(),t,n(7===e.type?e.rawName:e.name)===n))&&Wf(2,t)},onattribend(e,t){if(mf&&gf){if(Hf(gf.loc,t),0!==e)if(vf.includes("&")&&(vf=df.decodeEntities(vf,!0)),6===gf.type)"class"===gf.name&&(vf=Vf(vf).trim()),1!==e||vf||Wf(13,t),gf.value={type:2,content:vf,loc:1===e?Bf(yf,bf):Bf(yf-1,bf+1)},Tf.inSFCRoot&&"template"===mf.tag&&"lang"===gf.name&&vf&&"html"!==vf&&Tf.enterRCDATA(Ou("{const o=t.start.offset+n;return qf(e,!1,Bf(o,o+e.length),0,r?1:0)},c={source:i(s.trim(),n.indexOf(s,o.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=o.trim().replace(Ef,"").trim();const a=o.indexOf(l),u=l.match(kf);if(u){l=l.replace(kf,"").trim();const e=u[1].trim();let t;if(e&&(t=n.indexOf(e,a+l.length),c.key=i(e,t,!0)),u[2]){const r=u[2].trim();r&&(c.index=i(r,n.indexOf(r,c.key?t+e.length:a+l.length),!0))}}l&&(c.value=i(l,a,!0));return c}(gf.exp));let t=-1;"bind"===gf.name&&(t=gf.modifiers.findIndex((e=>"sync"===e.content)))>-1&&Du("COMPILER_V_BIND_SYNC",df,gf.loc,gf.rawName)&&(gf.name="model",gf.modifiers.splice(t,1))}7===gf.type&&"pre"===gf.name||mf.props.push(gf)}vf="",yf=bf=-1},oncomment(e,t){df.comments&&Ff({type:3,content:wf(e,t),loc:Bf(e-4,t+3)})},onend(){const e=hf.length;for(let t=0;t64&&n<91)||Uu(e)||df.isBuiltInComponent&&df.isBuiltInComponent(e)||df.isNativeTag&&!df.isNativeTag(e))return!0;var n;for(let e=0;e6===e.type&&"inline-template"===e.name));n&&Du("COMPILER_INLINE_TEMPLATE",df,n.loc)&&e.children.length&&(n.value={type:2,content:wf(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function Rf(e,t){let n=e;for(;hf.charCodeAt(n)!==t&&n>=0;)n--;return n}const Of=new Set(["if","else","else-if","for","slot"]);function Mf({tag:e,props:t}){if("template"===e)for(let e=0;e0){if(e>=2){c.codegenNode.patchFlag=-1,i.push(c);continue}}else{const e=c.codegenNode;if(13===e.type){const t=e.patchFlag;if((void 0===t||512===t||1===t)&&Zf(c,n)>=2){const t=ed(c);t&&(e.props=n.hoist(t))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(12===c.type){if((r?0:Gf(c,n))>=2){i.push(c);continue}}if(1===c.type){const t=1===c.tagType;t&&n.scopes.vSlot++,Yf(c,e,n,!1,o),t&&n.scopes.vSlot--}else if(11===c.type)Yf(c,e,n,1===c.children.length,!0);else if(9===c.type)for(let t=0;te.key===t||e.key.content===t));return n&&n.value}}i.length&&n.transformHoist&&n.transformHoist(s,n,e)}function Gf(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const r=n.get(e);if(void 0!==r)return r;const o=e.codegenNode;if(13!==o.type)return 0;if(o.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0===o.patchFlag){let r=3;const s=Zf(e,t);if(0===s)return n.set(e,0),0;s1)for(let o=0;on&&(w.childIndex--,w.onNodeRemoved()):(w.currentNode=null,w.onNodeRemoved()),w.parent.children.splice(n,1)},onNodeRemoved:c,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){_(e)&&(e=bu(e)),w.hoists.push(e);const t=bu(`_hoisted_${w.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){const r=function(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:hu}}(w.cached.length,e,t,n);return w.cached.push(r),r}};return w.filters=new Set,w}function nd(e,t){const n=td(e,t);rd(e,n),t.hoistStatic&&Kf(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e;if(1===r.length){const n=r[0];if(Jf(e,n)&&n.codegenNode){const r=n.codegenNode;13===r.type&&Eu(r,t),e.codegenNode=r}else e.codegenNode=n}else if(r.length>1){let r=64;0,e.codegenNode=mu(t,n(Aa),void 0,e.children,r,void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function rd(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let o=0;o{n--};for(;nt===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:o}=e;if(3===e.tagType&&o.some(tf))return;const s=[];for(let i=0;i`${pu[e]}: _${pu[e]}`;function cd(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:o="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:a="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:d=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:o,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssrRuntimeModuleName:a,ssr:u,isTS:f,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(e){return`_${pu[e]}`},push(e,t=-2,n){p.code+=e},indent(){h(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:h(--p.indentLevel)},newline(){h(p.indentLevel)}};function h(e){p.push("\n"+" ".repeat(e),0)}return p}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:o,prefixIdentifiers:s,indent:i,deindent:c,newline:l,scopeId:a,ssr:u}=n,f=Array.from(e.helpers),d=f.length>0,p=!s&&"module"!==r;!function(e,t){const{ssr:n,prefixIdentifiers:r,push:o,newline:s,runtimeModuleName:i,runtimeGlobalName:c,ssrRuntimeModuleName:l}=t,a=c,u=Array.from(e.helpers);if(u.length>0&&(o(`const _Vue = ${a}\n`,-1),e.hoists.length)){o(`const { ${[Da,$a,Va,Fa,Ba].filter((e=>u.includes(e))).map(id).join(", ")} } = _Vue\n`,-1)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r();for(let o=0;o0)&&l()),e.directives.length&&(ld(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),ld(e.filters,"filter",n),l()),e.temps>0){o("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(o("\n",0),l()),u||o("return "),e.codegenNode?fd(e.codegenNode,n):o("null"),p&&(c(),o("}")),c(),o("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function ld(e,t,{helper:n,push:r,newline:o,isTS:s}){const i=n("filter"===t?qa:"component"===t?Ua:ja);for(let n=0;n3||!1;t.push("["),n&&t.indent(),ud(e,t,n),n&&t.deindent(),t.push("]")}function ud(e,t,n=!1,r=!0){const{push:o,newline:s}=t;for(let i=0;ie||"null"))}([s,i,c,h,a]),t),n(")"),f&&n(")");u&&(n(", "),fd(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:r,pure:o}=t,s=_(e.callee)?e.callee:r(e.callee);o&&n(sd);n(s+"(",-2,e),ud(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:o,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",-2,e);const c=i.length>1||!1;n(c?"{":"{ "),c&&r();for(let e=0;e "),(l||c)&&(n("{"),r());i?(l&&n("return "),m(i)?ad(i,t):fd(i,t)):c&&fd(c,t);(l||c)&&(o(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:r,alternate:o,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!ju(n.content);e&&i("("),dd(n,t),e&&i(")")}else i("("),fd(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),fd(r,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===o.type;u||t.indentLevel++;fd(o,t),u||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:o,deindent:s,newline:i}=t,{needPauseTracking:c,needArraySpread:l}=e;l&&n("[...(");n(`_cache[${e.index}] || (`),c&&(o(),n(`${r(su)}(-1`),e.inVOnce&&n(", true"),n("),"),i(),n("("));n(`_cache[${e.index}] = `),fd(e.value,t),c&&(n(`).cacheIndex = ${e.index},`),i(),n(`${r(su)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")"),l&&n(")]")}(e,t);break;case 21:ud(e.body,t,!0,!1)}}function dd(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function pd(e,t){for(let n=0;nfunction(e,t,n,r){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(Fu(28,t.loc)),t.exp=bu("true",!1,r)}0;if("if"===t.name){const o=gd(e,t),s={type:9,loc:Uf(e.loc),branches:[o]};if(n.replaceNode(s),r)return r(s,o,!0)}else{const o=n.parent.children;let s=o.indexOf(e);for(;s-- >=-1;){const i=o[s];if(i&&3===i.type)n.removeNode(i);else{if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){"else-if"===t.name&&void 0===i.branches[i.branches.length-1].condition&&n.onError(Fu(30,e.loc)),n.removeNode();const o=gd(e,t);0,i.branches.push(o);const s=r&&r(i,o,!1);rd(o,n),s&&s(),n.currentNode=null}else n.onError(Fu(30,e.loc));break}n.removeNode(i)}}}}(e,t,n,((e,t,r)=>{const o=n.parent.children;let s=o.indexOf(e),i=0;for(;s-- >=0;){const e=o[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(r)e.codegenNode=vd(t,i,n);else{const r=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);r.alternate=vd(t,i+e.branches.length-1,n)}}}))));function gd(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Xu(e,"for")?e.children:[e],userKey:Qu(e,"key"),isTemplateIf:n}}function vd(e,t,n){return e.condition?Cu(e.condition,yd(e,t,n),Su(n.helper(Va),['""',"true"])):yd(e,t,n)}function yd(e,t,n){const{helper:r}=n,o=yu("key",bu(`${t}`,!1,hu,2)),{children:s}=e,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const e=i.codegenNode;return cf(e,o,n),e}{let t=64;return mu(n,r(Aa),vu([o]),s,t,void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=14===(c=e).type&&c.callee===fu?c.arguments[1].returns:c;return 13===t.type&&Eu(t,n),cf(t,o,n),e}var c}const bd=(e,t,n)=>{const{modifiers:r,loc:o}=e,s=e.arg;let{exp:i}=e;if(i&&4===i.type&&!i.content.trim()&&(i=void 0),!i){if(4!==s.type||!s.isStatic)return n.onError(Fu(52,s.loc)),{props:[yu(s,bu("",!0,o))]};_d(e),i=e.exp}return 4!==s.type?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=`${s.content} || ""`),r.some((e=>"camel"===e.content))&&(4===s.type?s.isStatic?s.content=M(s.content):s.content=`${n.helperString(nu)}(${s.content})`:(s.children.unshift(`${n.helperString(nu)}(`),s.children.push(")"))),n.inSSR||(r.some((e=>"prop"===e.content))&&Sd(s,"."),r.some((e=>"attr"===e.content))&&Sd(s,"^")),{props:[yu(s,i)]}},_d=(e,t)=>{const n=e.arg,r=M(n.content);e.exp=bu(r,!1,n.loc)},Sd=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},xd=od("for",((e,t,n)=>{const{helper:r,removeHelper:o}=n;return function(e,t,n,r){if(!t.exp)return void n.onError(Fu(31,t.loc));const o=t.forParseResult;if(!o)return void n.onError(Fu(32,t.loc));Cd(o,n);const{addIdentifiers:s,removeIdentifiers:i,scopes:c}=n,{source:l,value:a,key:u,index:f}=o,d={type:11,loc:t.loc,source:l,valueAlias:a,keyAlias:u,objectIndexAlias:f,parseResult:o,children:nf(e)?e.children:[e]};n.replaceNode(d),c.vFor++;const p=r&&r(d);return()=>{c.vFor--,p&&p()}}(e,t,n,(t=>{const s=Su(r(za),[t.source]),i=nf(e),c=Xu(e,"memo"),l=Qu(e,"key",!1,!0);l&&7===l.type&&!l.exp&&_d(l);let a=l&&(6===l.type?l.value?bu(l.value.content,!0):void 0:l.exp);const u=l&&a?yu("key",a):null,f=4===t.source.type&&t.source.constType>0,d=f?64:l?128:256;return t.codegenNode=mu(n,r(Aa),void 0,s,d,void 0,void 0,!0,!f,!1,e.loc),()=>{let l;const{children:d}=t;const p=1!==d.length||1!==d[0].type,h=rf(e)?e:i&&1===e.children.length&&rf(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&u&&cf(l,u,n)):p?l=mu(n,r(Aa),u?vu([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=d[0].codegenNode,i&&u&&cf(l,u,n),l.isBlock!==!f&&(l.isBlock?(o(Ma),o(ku(n.inSSR,l.isComponent))):o(Tu(n.inSSR,l.isComponent))),l.isBlock=!f,l.isBlock?(r(Ma),r(ku(n.inSSR,l.isComponent))):r(Tu(n.inSSR,l.isComponent))),c){const e=xu(Td(t.parseResult,[bu("_cached")]));e.body={type:21,body:[_u(["const _memo = (",c.exp,")"]),_u(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(du)}(_cached, _memo)) return _cached`]),_u(["const _item = ",l]),bu("_item.memo = _memo"),bu("return _item")],loc:hu},s.arguments.push(e,bu("_cache"),bu(String(n.cached.length))),n.cached.push(null)}else s.arguments.push(xu(Td(t.parseResult),l,!0))}}))}));function Cd(e,t){e.finalized||(e.finalized=!0)}function Td({value:e,key:t,index:n},r=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||bu("_".repeat(t+1),!1)))}([e,t,n,...r])}const kd=bu("undefined",!1),Ed=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Xu(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},wd=(e,t,n,r)=>xu(e,n,!1,!0,n.length?n[0].loc:r);function Ad(e,t,n=wd){t.helper(lu);const{children:r,loc:o}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Xu(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Bu(e)&&(c=!0),s.push(yu(e||bu("default",!0),n(t,void 0,r,o)))}let a=!1,u=!1;const f=[],d=new Set;let p=0;for(let e=0;e{const s=n(e,void 0,r,o);return t.compatConfig&&(s.isNonScopedSlot=!0),yu("default",s)};a?f.length&&f.some((e=>Rd(e)))&&(u?t.onError(Fu(39,f[0].loc)):s.push(e(void 0,f))):s.push(e(void 0,r))}const h=c?2:Id(e.children)?3:1;let m=vu(s.concat(yu("_",bu(h+"",!1))),o);return i.length&&(m=Su(t.helper(Ja),[m,gu(i)])),{slots:m,hasDynamicSlots:c}}function Nd(e,t,n){const r=[yu("name",e),yu("fn",t)];return null!=n&&r.push(yu("key",bu(String(n),!0))),vu(r)}function Id(e){for(let t=0;tfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:r}=e,o=1===e.tagType;let s=o?function(e,t,n=!1){let{tag:r}=e;const o=$d(r),s=Qu(e,"is",!1,!0);if(s)if(o||Lu("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===s.type?e=s.value&&bu(s.value.content,!0):(e=s.exp,e||(e=bu("is",!1,s.arg.loc))),e)return Su(t.helper(Ha),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(r=s.value.content.slice(4));const i=Uu(r)||t.isBuiltInComponent(r);if(i)return n||t.helper(i),i;return t.helper(Ua),t.components.add(r),af(r,"component")}(e,t):`"${n}"`;const i=x(s)&&s.callee===Ha;let c,l,a,u,f,d=0,p=i||s===Na||s===Ia||!o&&("svg"===n||"foreignObject"===n||"math"===n);if(r.length>0){const n=Pd(e,t,void 0,o,i);c=n.props,d=n.patchFlag,u=n.dynamicPropNames;const r=n.directives;f=r&&r.length?gu(r.map((e=>function(e,t){const n=[],r=Od.get(e);r?n.push(t.helperString(r)):(t.helper(ja),t.directives.add(e.name),n.push(af(e.name,"directive")));const{loc:o}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=bu("true",!1,o);n.push(vu(e.modifiers.map((e=>yu(e,t))),o))}return gu(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(p=!0)}if(e.children.length>0){s===Ra&&(p=!0,d|=1024);if(o&&s!==Na&&s!==Ra){const{slots:n,hasDynamicSlots:r}=Ad(e,t);l=n,r&&(d|=1024)}else if(1===e.children.length&&s!==Na){const n=e.children[0],r=n.type,o=5===r||8===r;o&&0===Gf(n,t)&&(d|=1),l=o||2===r?n:e.children}else l=e.children}u&&u.length&&(a=function(e){let t="[";for(let n=0,r=e.length;n0;let h=!1,m=0,g=!1,v=!1,y=!1,b=!1,_=!1,x=!1;const C=[],T=e=>{u.length&&(f.push(vu(Ld(u),c)),u=[]),e&&f.push(e)},k=()=>{t.scopes.vFor>0&&u.push(yu(bu("ref_for",!0),bu("true")))},E=({key:e,value:n})=>{if(Bu(e)){const s=e.content,i=a(s);if(!i||r&&!o||"onclick"===s.toLowerCase()||"onUpdate:modelValue"===s||N(s)||(b=!0),i&&N(s)&&(x=!0),i&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&Gf(n,t)>0)return;"ref"===s?g=!0:"class"===s?v=!0:"style"===s?y=!0:"key"===s||C.includes(s)||C.push(s),!r||"class"!==s&&"style"!==s||C.includes(s)||C.push(s)}else _=!0};for(let o=0;o"prop"===e.content))&&(m|=32);const x=t.directiveTransforms[n];if(x){const{props:n,needRuntime:r}=x(l,e,t);!s&&n.forEach(E),b&&o&&!Bu(o)?T(vu(n,c)):u.push(...n),r&&(d.push(l),S(r)&&Od.set(l,r))}else I(n)||(d.push(l),p&&(h=!0))}}let w;if(f.length?(T(),w=f.length>1?Su(t.helper(Ga),f,c):f[0]):u.length&&(w=vu(Ld(u),c)),_?m|=16:(v&&!r&&(m|=2),y&&!r&&(m|=4),C.length&&(m|=8),b&&(m|=32)),h||0!==m&&32!==m||!(g||x||d.length>0)||(m|=512),!t.inSSR&&w)switch(w.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t{if(rf(e)){const{children:n,loc:r}=e,{slotName:o,slotProps:s}=function(e,t){let n,r='"default"';const o=[];for(let t=0;t0){const{props:r,directives:s}=Pd(e,t,o,!1,!1);n=r,s.length&&t.onError(Fu(36,s[0].loc))}return{slotName:r,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=xu([],n,!1,!1,r),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=Su(t.helper(Ka),i,r)}};const Fd=(e,t,n,r)=>{const{loc:o,modifiers:s,arg:i}=e;let c;if(e.exp||s.length||n.onError(Fu(35,o)),4===i.type)if(i.isStatic){let e=i.content;0,e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);c=bu(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?$(M(e)):`on:${e}`,!0,i.loc)}else c=_u([`${n.helperString(ou)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(ou)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=Ju(l),t=!(e||Gu(l)),n=l.content.includes(";");0,(t||a&&e)&&(l=_u([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let u={props:[yu(c,l||bu("() => {}",!1,o))]};return r&&(u=r(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach((e=>e.key.isHandlerKey=!0)),u},Bd=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r,o=!1;for(let e=0;e7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e{if(1===e.type&&Xu(e,"once",!0)){if(Ud.has(e)||t.inVOnce||t.inSSR)return;return Ud.add(e),t.inVOnce=!0,t.helper(su),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}}},jd=(e,t,n)=>{const{exp:r,arg:o}=e;if(!r)return n.onError(Fu(41,e.loc)),qd();const s=r.loc.source.trim(),i=4===r.type?r.content:s,c=n.bindingMetadata[s];if("props"===c||"props-aliased"===c)return n.onError(Fu(44,r.loc)),qd();if(!i.trim()||!Ju(r))return n.onError(Fu(42,r.loc)),qd();const l=o||bu("modelValue",!0),a=o?Bu(o)?`onUpdate:${M(o.content)}`:_u(['"onUpdate:" + ',o]):"onUpdate:modelValue";let u;u=_u([`${n.isTS?"($event: any)":"$event"} => ((`,r,") = $event)"]);const f=[yu(l,e.exp),yu(a,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>e.content)).map((e=>(ju(e)?e:JSON.stringify(e))+": true")).join(", "),n=o?Bu(o)?`${o.content}Modifiers`:_u([o,' + "Modifiers"']):"modelModifiers";f.push(yu(n,bu(`{ ${t} }`,!1,e.loc,2)))}return qd(f)};function qd(e=[]){return{props:e}}const Wd=/[\w).+\-_$\]]/,zd=(e,t)=>{Lu("COMPILER_FILTERS",t)&&(5===e.type?Kd(e.content,t):1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Kd(e.exp,t)})))};function Kd(e,t){if(4===e.type)Jd(e,t);else for(let n=0;n=0&&(e=n.charAt(t)," "===e);t--);e&&Wd.test(e)||(u=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s{if(1===e.type){const n=Xu(e,"memo");if(!n||Gd.has(e))return;return Gd.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&Eu(r,t),e.codegenNode=Su(t.helper(fu),[n.exp,xu(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))}}};function Qd(e,t={}){const n=t.onError||$u,r="module"===t.mode;!0===t.prefixIdentifiers?n(Fu(47)):r&&n(Fu(48));t.cacheHandlers&&n(Fu(49)),t.scopeId&&!r&&n(Fu(50));const o=f({},t,{prefixIdentifiers:!1}),s=_(e)?zf(e,o):e,[i,c]=[[Hd,md,Xd,xd,zd,Vd,Md,Ed,Bd],{on:Fd,bind:bd,model:jd}];return nd(s,f({},o,{nodeTransforms:[...i,...t.nodeTransforms||[]],directiveTransforms:f({},c,t.directiveTransforms||{})})),cd(s,o)}const Zd=Symbol(""),ep=Symbol(""),tp=Symbol(""),np=Symbol(""),rp=Symbol(""),op=Symbol(""),sp=Symbol(""),ip=Symbol(""),cp=Symbol(""),lp=Symbol("");var ap;let up;ap={[Zd]:"vModelRadio",[ep]:"vModelCheckbox",[tp]:"vModelText",[np]:"vModelSelect",[rp]:"vModelDynamic",[op]:"withModifiers",[sp]:"withKeys",[ip]:"vShow",[cp]:"Transition",[lp]:"TransitionGroup"},Object.getOwnPropertySymbols(ap).forEach((e=>{pu[e]=ap[e]}));const fp={parseMode:"html",isVoidTag:ne,isNativeTag:e=>Z(e)||ee(e)||te(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(e,t=!1){return up||(up=document.createElement("div")),t?(up.innerHTML=`
`,up.children[0].getAttribute("foo")):(up.innerHTML=e,up.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?cp:"TransitionGroup"===e||"transition-group"===e?lp:void 0,getNamespace(e,t,n){let r=t?t.ns:n;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r}},dp=(e,t)=>{const n=G(e);return bu(JSON.stringify(n),!1,t,3)};function pp(e,t){return Fu(e,t)}const hp=o("passive,once,capture"),mp=o("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),gp=o("left,right"),vp=o("onkeyup,onkeydown,onkeypress"),yp=(e,t)=>Bu(e)&&"onclick"===e.content.toLowerCase()?bu(t,!0):4!==e.type?_u(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;const bp=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()};const _p=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:bu("style",!0,t.loc),exp:dp(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Sp={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(pp(53,o)),t.children.length&&(n.onError(pp(54,o)),t.children.length=0),{props:[yu(bu("innerHTML",!0,o),r||bu("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(pp(55,o)),t.children.length&&(n.onError(pp(56,o)),t.children.length=0),{props:[yu(bu("textContent",!0),r?Gf(r,n)>0?r:Su(n.helperString(Ya),[r],o):bu("",!0))]}},model:(e,t,n)=>{const r=jd(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(pp(58,e.arg.loc));const{tag:o}=t,s=n.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||s){let i=tp,c=!1;if("input"===o||s){const r=Qu(t,"type");if(r){if(7===r.type)i=rp;else if(r.value)switch(r.value.content){case"radio":i=Zd;break;case"checkbox":i=ep;break;case"file":c=!0,n.onError(pp(59,e.loc))}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(i=rp)}else"select"===o&&(i=np);c||(r.needRuntime=n.helper(i))}else n.onError(pp(57,e.loc));return r.props=r.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),r},on:(e,t,n)=>Fd(e,t,n,(t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:o,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n)=>{const r=[],o=[],s=[];for(let i=0;i{const{exp:r,loc:o}=e;return r||n.onError(pp(61,o)),{props:[],needRuntime:n.helper(ip)}}};const xp=Object.create(null);function Cp(e,t){if(!_(e)){if(!e.nodeType)return c;e=e.innerHTML}const n=function(e,t){return e+JSON.stringify(t,((e,t)=>"function"==typeof t?t.toString():t))}(e,t),o=xp[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);0,e=t?t.innerHTML:""}const s=f({hoistStatic:!0,onError:void 0,onWarn:c},t);s.isCustomElement||"undefined"==typeof customElements||(s.isCustomElement=e=>!!customElements.get(e));const{code:i}=function(e,t={}){return Qd(e,f({},fp,t,{nodeTransforms:[bp,..._p,...t.nodeTransforms||[]],directiveTransforms:f({},Sp,t.directiveTransforms||{}),transformHoist:null}))}(e,s);const l=new Function("Vue",i)(r);return l._rc=!0,xp[n]=l}pc(Cp)}}]); \ No newline at end of file +let Vc;const Bc="undefined"!=typeof window&&window.trustedTypes;if(Bc)try{Vc=Bc.createPolicy("vue",{createHTML:e=>e})}catch(e){}const Uc=Vc?e=>Vc.createHTML(e):e=>e,Hc="undefined"!=typeof document?document:null,jc=Hc&&Hc.createElement("template"),qc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o="svg"===t?Hc.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Hc.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Hc.createElement(e,{is:n}):Hc.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>Hc.createTextNode(e),createComment:e=>Hc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Hc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==s&&(o=o.nextSibling););else{jc.innerHTML=Uc("svg"===r?`${e}`:"mathml"===r?`${e}`:e);const o=jc.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Wc="transition",zc="animation",Kc=Symbol("_vtc"),Jc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yc=f({},_r,Jc),Gc=(e=>(e.displayName="Transition",e.props=Yc,e))((e,{slots:t})=>Ec(xr,Zc(e),t)),Xc=(e,t=[])=>{m(e)?e.forEach(e=>e(...t)):e&&e(...t)},Qc=e=>!!e&&(m(e)?e.some(e=>e.length>1):e.length>1);function Zc(e){const t={};for(const n in e)n in Jc||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:a=i,appearToClass:u=c,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(x(e))return[el(e.enter),el(e.leave)];{const t=el(e);return[t,t]}}(o),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:b,onLeave:S,onLeaveCancelled:C,onBeforeAppear:T=y,onAppear:k=_,onAppearCancelled:E=b}=t,w=(e,t,n,r)=>{e._enterCancelled=r,nl(e,t?u:c),nl(e,t?a:i),n&&n()},A=(e,t)=>{e._isLeaving=!1,nl(e,d),nl(e,h),nl(e,p),t&&t()},N=e=>(t,n)=>{const o=e?k:_,i=()=>w(t,e,n);Xc(o,[t,i]),rl(()=>{nl(t,e?l:s),tl(t,e?u:c),Qc(o)||sl(t,r,g,i)})};return f(t,{onBeforeEnter(e){Xc(y,[e]),tl(e,s),tl(e,i)},onBeforeAppear(e){Xc(T,[e]),tl(e,l),tl(e,a)},onEnter:N(!1),onAppear:N(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);tl(e,d),e._enterCancelled?(tl(e,p),al()):(al(),tl(e,p)),rl(()=>{e._isLeaving&&(nl(e,d),tl(e,h),Qc(S)||sl(e,r,v,n))}),Xc(S,[e,n])},onEnterCancelled(e){w(e,!1,void 0,!0),Xc(b,[e])},onAppearCancelled(e){w(e,!0,void 0,!0),Xc(E,[e])},onLeaveCancelled(e){A(e),Xc(C,[e])}})}function el(e){return H(e)}function tl(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Kc]||(e[Kc]=new Set)).add(t)}function nl(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[Kc];n&&(n.delete(t),n.size||(e[Kc]=void 0))}function rl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ol=0;function sl(e,t,n,r){const o=e._endId=++ol,s=()=>{o===e._endId&&r()};if(null!=n)return setTimeout(s,n);const{type:i,timeout:c,propCount:l}=il(e,t);if(!i)return r();const a=i+"end";let u=0;const f=()=>{e.removeEventListener(a,d),s()},d=t=>{t.target===e&&++u>=l&&f()};setTimeout(()=>{u(n[e]||"").split(", "),o=r(`${Wc}Delay`),s=r(`${Wc}Duration`),i=cl(o,s),c=r(`${zc}Delay`),l=r(`${zc}Duration`),a=cl(c,l);let u=null,f=0,d=0;t===Wc?i>0&&(u=Wc,f=i,d=s.length):t===zc?a>0&&(u=zc,f=a,d=l.length):(f=Math.max(i,a),u=f>0?i>a?Wc:zc:null,d=u?u===Wc?s.length:l.length:0);return{type:u,timeout:f,propCount:d,hasTransform:u===Wc&&/\b(transform|all)(,|$)/.test(r(`${Wc}Property`).toString())}}function cl(e,t){for(;e.lengthll(t)+ll(e[n])))}function ll(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function al(){return document.body.offsetHeight}const ul=Symbol("_vod"),fl=Symbol("_vsh"),dl={beforeMount(e,{value:t},{transition:n}){e[ul]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):pl(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),pl(e,!0),r.enter(e)):r.leave(e,()=>{pl(e,!1)}):pl(e,t))},beforeUnmount(e,{value:t}){pl(e,t)}};function pl(e,t){e.style.display=t?e[ul]:"none",e[fl]=!t}const hl=Symbol("");function ml(e){const t=rc();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>vl(e,n))};const r=()=>{const r=e(t.proxy);t.ce?vl(t.ce,r):gl(t.subTree,r),n(r)};mo(()=>{Bn(r)}),ho(()=>{Qs(r,c,{flush:"post"});const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),yo(()=>e.disconnect())})}function gl(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{gl(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)vl(e.el,t);else if(e.type===Si)e.children.forEach(e=>gl(e,t));else if(e.type===Ti){let{el:n,anchor:r}=e;for(;n&&(vl(n,t),n!==r);)n=n.nextSibling}}function vl(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t){const o=ve(t[e]);n.setProperty(`--${e}`,o),r+=`--${e}: ${o};`}n[hl]=r}}const yl=/(^|;)\s*display\s*:/;const _l=/\s*!important$/;function bl(e,t,n){if(m(n))n.forEach(n=>bl(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=xl[t];if(n)return n;let r=M(t);if("filter"!==r&&r in e)return xl[t]=r;r=L(r);for(let n=0;n{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();An(function(e,t){if(m(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Ol(),n}(r,o);El(e,n,i,c)}else i&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,i,c),s[t]=void 0)}}const Nl=/(?:Once|Passive|Capture)$/;let Il=0;const Rl=Promise.resolve(),Ol=()=>Il||(Rl.then(()=>Il=0),Il=Date.now());const Ml=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Pl={}; +/*! #__NO_SIDE_EFFECTS__ */function Dl(e,t,n){const r=Nr(e,t);w(r)&&f(r,t);class o extends Fl{constructor(e){super(r,e,n)}}return o.def=r,o} +/*! #__NO_SIDE_EFFECTS__ */const Ll=(e,t)=>Dl(e,t,Ta),$l="undefined"!=typeof HTMLElement?HTMLElement:class{};class Fl extends $l{constructor(e,t={},n=Ca){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==Ca?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._resolved||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Fl){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,$n(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e{for(const t of e)this._setAttr(t.attributeName)}),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:r}=e;let o;if(n&&!m(n))for(const e in n){const t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=H(this._props[e])),(o||(o=Object.create(null)))[M(e)]=!0)}this._numberProps=o,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const e in t)h(this,e)||Object.defineProperty(this,e,{get:()=>Qt(t[e])})}_resolveProps(e){const{props:t}=e,n=m(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e]);for(const e of n.map(M))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):Pl;const r=M(e);t&&this._numberProps&&this._numberProps[r]&&(n=H(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(t===Pl?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){const n=this._ob;n&&n.disconnect(),!0===t?this.setAttribute(D(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(D(e),t+""):t||this.removeAttribute(D(e)),n&&n.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Sa(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=Ui(this._def,f(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,w(t[0])?f({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),D(e)!==e&&t(D(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const n=this._nonce;for(let t=e.length-1;t>=0;t--){const r=document.createElement("style");n&&r.setAttribute("nonce",n),r.textContent=e[t],this.shadowRoot.prepend(r)}}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const n=1===t.nodeType&&t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=(this._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let n=0;n(delete e.props.mode,e))({name:"TransitionGroup",props:f({},Yc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=rc(),r=vr();let o,s;return go(()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode(),o=e[Kc];o&&o.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))});n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display="none";const s=1===t.nodeType?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=il(r);return s.removeChild(r),i}(o[0].el,n.vnode.el,t))return void(o=[]);o.forEach(Kl),o.forEach(Jl);const r=o.filter(Yl);al(),r.forEach(e=>{const n=e.el,r=n.style;tl(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n[ql]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n[ql]=null,nl(n,t))};n.addEventListener("transitionend",o)}),o=[]}),()=>{const i=Ht(e),c=Zc(i);let l=i.tag||Si;if(o=[],s)for(let e=0;e{const t=e.props["onUpdate:modelValue"]||!1;return m(t)?e=>V(t,e):t};function Xl(e){e.target.composing=!0}function Ql(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Zl=Symbol("_assign"),ea={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Zl]=Gl(o);const s=r||o.props&&"number"===o.props.type;El(e,t?"change":"input",t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),s&&(r=U(r)),e[Zl](r)}),n&&El(e,"change",()=>{e.value=e.value.trim()}),t||(El(e,"compositionstart",Xl),El(e,"compositionend",Ql),El(e,"change",Ql))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Zl]=Gl(i),e.composing)return;const c=null==t?"":t;if((!s&&"number"!==e.type||/^0\d/.test(e.value)?e.value:U(e.value))!==c){if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return;if(o&&e.value.trim()===c)return}e.value=c}}},ta={deep:!0,created(e,t,n){e[Zl]=Gl(n),El(e,"change",()=>{const t=e._modelValue,n=ia(e),r=e.checked,o=e[Zl];if(m(t)){const e=de(t,n),s=-1!==e;if(r&&!s)o(t.concat(n));else if(!r&&s){const n=[...t];n.splice(e,1),o(n)}}else if(v(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e)}else o(ca(e,r))})},mounted:na,beforeUpdate(e,t,n){e[Zl]=Gl(n),na(e,t,n)}};function na(e,{value:t,oldValue:n},r){let o;if(e._modelValue=t,m(t))o=de(t,r.props.value)>-1;else if(v(t))o=t.has(r.props.value);else{if(t===n)return;o=fe(t,ca(e,!0))}e.checked!==o&&(e.checked=o)}const ra={created(e,{value:t},n){e.checked=fe(t,n.props.value),e[Zl]=Gl(n),El(e,"change",()=>{e[Zl](ia(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Zl]=Gl(r),t!==n&&(e.checked=fe(t,r.props.value))}},oa={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=v(t);El(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?U(ia(e)):ia(e));e[Zl](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,$n(()=>{e._assigning=!1})}),e[Zl]=Gl(r)},mounted(e,{value:t}){sa(e,t)},beforeUpdate(e,t,n){e[Zl]=Gl(n)},updated(e,{value:t}){e._assigning||sa(e,t)}};function sa(e,t){const n=e.multiple,r=m(t);if(!n||r||v(t)){for(let o=0,s=e.options.length;oString(e)===String(i)):de(t,i)>-1}else s.selected=t.has(i);else if(fe(ia(s),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ia(e){return"_value"in e?e._value:e.value}function ca(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const la={created(e,t,n){ua(e,t,n,null,"created")},mounted(e,t,n){ua(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ua(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ua(e,t,n,r,"updated")}};function aa(e,t){switch(e){case"SELECT":return oa;case"TEXTAREA":return ea;default:switch(t){case"checkbox":return ta;case"radio":return ra;default:return ea}}}function ua(e,t,n,r,o){const s=aa(e.tagName,n.props&&n.props.type)[o];s&&s(e,t,n,r)}const fa=["ctrl","shift","alt","meta"],da={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>fa.some(n=>e[`${n}Key`]&&!t.includes(n))},pa=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=D(n.key);return t.some(e=>e===r||ha[e]===r)?e(n):void 0})},ga=f({patchProp:(e,t,n,r,o,s)=>{const i="svg"===o;"class"===t?function(e,t,n){const r=e[Kc];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,i):"style"===t?function(e,t,n){const r=e.style,o=b(n);let s=!1;if(n&&!o){if(t)if(b(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&bl(r,t,"")}else for(const e in t)null==n[e]&&bl(r,e,"");for(const e in n)"display"===e&&(s=!0),bl(r,e,n[e])}else if(o){if(t!==n){const e=r[hl];e&&(n+=";"+e),r.cssText=n,s=yl.test(n)}}else t&&e.removeAttribute("style");ul in e&&(e[ul]=s?r.display:"",e[fl]&&(r.display="none"))}(e,n,r):a(t)?u(t)||Al(e,t,0,r,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ml(t)&&_(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Ml(t)&&b(n))return!1;return t in e}(e,t,r,i))?(kl(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Tl(e,t,r,i,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&b(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),Tl(e,t,r,i)):kl(e,M(t),r,0,t)}},qc);let va,ya=!1;function _a(){return va||(va=Fs(ga))}function ba(){return va=ya?va:Vs(ga),ya=!0,va}const Sa=(...e)=>{_a().render(...e)},xa=(...e)=>{ba().hydrate(...e)},Ca=(...e)=>{const t=_a().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=Ea(e);if(!r)return;const o=t._component;_(o)||o.render||o.template||(o.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const s=n(r,!1,ka(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t},Ta=(...e)=>{const t=ba().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=Ea(e);if(t)return n(t,!0,ka(t))},t};function ka(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function Ea(e){if(b(e)){return document.querySelector(e)}return e}let wa=!1;const Aa=()=>{wa||(wa=!0,ea.getSSRProps=({value:e})=>({value:e}),ra.getSSRProps=({value:e},t)=>{if(t.props&&fe(t.props.value,e))return{checked:!0}},ta.getSSRProps=({value:e},t)=>{if(m(e)){if(t.props&&de(e,t.props.value)>-1)return{checked:!0}}else if(v(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},la.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=aa(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},dl.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})},Na=Symbol(""),Ia=Symbol(""),Ra=Symbol(""),Oa=Symbol(""),Ma=Symbol(""),Pa=Symbol(""),Da=Symbol(""),La=Symbol(""),$a=Symbol(""),Fa=Symbol(""),Va=Symbol(""),Ba=Symbol(""),Ua=Symbol(""),Ha=Symbol(""),ja=Symbol(""),qa=Symbol(""),Wa=Symbol(""),za=Symbol(""),Ka=Symbol(""),Ja=Symbol(""),Ya=Symbol(""),Ga=Symbol(""),Xa=Symbol(""),Qa=Symbol(""),Za=Symbol(""),eu=Symbol(""),tu=Symbol(""),nu=Symbol(""),ru=Symbol(""),ou=Symbol(""),su=Symbol(""),iu=Symbol(""),cu=Symbol(""),lu=Symbol(""),au=Symbol(""),uu=Symbol(""),fu=Symbol(""),du=Symbol(""),pu=Symbol(""),hu={[Na]:"Fragment",[Ia]:"Teleport",[Ra]:"Suspense",[Oa]:"KeepAlive",[Ma]:"BaseTransition",[Pa]:"openBlock",[Da]:"createBlock",[La]:"createElementBlock",[$a]:"createVNode",[Fa]:"createElementVNode",[Va]:"createCommentVNode",[Ba]:"createTextVNode",[Ua]:"createStaticVNode",[Ha]:"resolveComponent",[ja]:"resolveDynamicComponent",[qa]:"resolveDirective",[Wa]:"resolveFilter",[za]:"withDirectives",[Ka]:"renderList",[Ja]:"renderSlot",[Ya]:"createSlots",[Ga]:"toDisplayString",[Xa]:"mergeProps",[Qa]:"normalizeClass",[Za]:"normalizeStyle",[eu]:"normalizeProps",[tu]:"guardReactiveProps",[nu]:"toHandlers",[ru]:"camelize",[ou]:"capitalize",[su]:"toHandlerKey",[iu]:"setBlockTracking",[cu]:"pushScopeId",[lu]:"popScopeId",[au]:"withCtx",[uu]:"unref",[fu]:"isRef",[du]:"withMemo",[pu]:"isMemoSame"};const mu={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function gu(e,t,n,r,o,s,i,c=!1,l=!1,a=!1,u=mu){return e&&(c?(e.helper(Pa),e.helper(Eu(e.inSSR,a))):e.helper(ku(e.inSSR,a)),i&&e.helper(za)),{type:13,tag:t,props:n,children:r,patchFlag:o,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:u}}function vu(e,t=mu){return{type:17,loc:t,elements:e}}function yu(e,t=mu){return{type:15,loc:t,properties:e}}function _u(e,t){return{type:16,loc:mu,key:b(e)?bu(e,!0):e,value:t}}function bu(e,t=!1,n=mu,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Su(e,t=mu){return{type:8,loc:t,children:e}}function xu(e,t=[],n=mu){return{type:14,loc:n,callee:e,arguments:t}}function Cu(e,t=void 0,n=!1,r=!1,o=mu){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:o}}function Tu(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:mu}}function ku(e,t){return e||t?$a:Fa}function Eu(e,t){return e||t?Da:La}function wu(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(ku(r,e.isComponent)),t(Pa),t(Eu(r,e.isComponent)))}const Au=new Uint8Array([123,123]),Nu=new Uint8Array([125,125]);function Iu(e){return e>=97&&e<=122||e>=65&&e<=90}function Ru(e){return 32===e||10===e||9===e||12===e||13===e}function Ou(e){return 47===e||62===e||Ru(e)}function Mu(e){const t=new Uint8Array(e.length);for(let n=0;n4===e.type&&e.isStatic;function Hu(e){switch(e){case"Teleport":case"teleport":return Ia;case"Suspense":case"suspense":return Ra;case"KeepAlive":case"keep-alive":return Oa;case"BaseTransition":case"base-transition":return Ma}}const ju=/^$|^\d|[^\$\w\xA0-\uFFFF]/,qu=e=>!ju.test(e),Wu=/[A-Za-z_$\xA0-\uFFFF]/,zu=/[\.\?\w$\xA0-\uFFFF]/,Ku=/\s+[.[]\s*|\s*[.[]\s+/g,Ju=e=>4===e.type?e.content:e.loc.source,Yu=e=>{const t=Ju(e).trim().replace(Ku,e=>e.trim());let n=0,r=[],o=0,s=0,i=null;for(let e=0;e|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Xu=e=>Gu.test(Ju(e));function Qu(e,t,n=!1){for(let r=0;r4===e.key.type&&e.key.content===r)}return n}function ff(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>"-"===t?"_":e.charCodeAt(n).toString())}`}const df=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,pf={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:l,isPreTag:l,isIgnoreNewlineTag:l,isCustomElement:l,onError:Fu,onWarn:Vu,comments:!1,prefixIdentifiers:!1};let hf=pf,mf=null,gf="",vf=null,yf=null,_f="",bf=-1,Sf=-1,xf=0,Cf=!1,Tf=null;const kf=[],Ef=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Au,this.delimiterClose=Nu,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Au,this.delimiterClose=Nu}getPos(e){let t=1,n=e+1;for(let r=this.newlines.length-1;r>=0;r--){const o=this.newlines[r];if(e>o){t=r+2,n=e-o;break}}return{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?Ou(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||Ru(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart=e||(28===this.state?this.currentSequence===Pu.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(kf,{onerr:Kf,ontext(e,t){Rf(Nf(e,t),e,t)},ontextentity(e,t,n){Rf(e,t,n)},oninterpolation(e,t){if(Cf)return Rf(Nf(e,t),e,t);let n=e+Ef.delimiterOpen.length,r=t-Ef.delimiterClose.length;for(;Ru(gf.charCodeAt(n));)n++;for(;Ru(gf.charCodeAt(r-1));)r--;let o=Nf(n,r);o.includes("&")&&(o=hf.decodeEntities(o,!1)),Uf({type:5,content:zf(o,!1,Hf(n,r)),loc:Hf(e,t)})},onopentagname(e,t){const n=Nf(e,t);vf={type:1,tag:n,ns:hf.getNamespace(n,kf[0],hf.ns),tagType:0,props:[],children:[],loc:Hf(e-1,t),codegenNode:void 0}},onopentagend(e){If(e)},onclosetag(e,t){const n=Nf(e,t);if(!hf.isVoidTag(n)){let r=!1;for(let e=0;e0&&Kf(24,kf[0].loc.start.offset);for(let n=0;n<=e;n++){Of(kf.shift(),t,n(7===e.type?e.rawName:e.name)===n)&&Kf(2,t)},onattribend(e,t){if(vf&&yf){if(qf(yf.loc,t),0!==e)if(_f.includes("&")&&(_f=hf.decodeEntities(_f,!0)),6===yf.type)"class"===yf.name&&(_f=Bf(_f).trim()),1!==e||_f||Kf(13,t),yf.value={type:2,content:_f,loc:1===e?Hf(bf,Sf):Hf(bf-1,Sf+1)},Ef.inSFCRoot&&"template"===vf.tag&&"lang"===yf.name&&_f&&"html"!==_f&&Ef.enterRCDATA(Mu("{const o=t.start.offset+n;return zf(e,!1,Hf(o,o+e.length),0,r?1:0)},c={source:i(s.trim(),n.indexOf(s,o.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=o.trim().replace(Af,"").trim();const a=o.indexOf(l),u=l.match(wf);if(u){l=l.replace(wf,"").trim();const e=u[1].trim();let t;if(e&&(t=n.indexOf(e,a+l.length),c.key=i(e,t,!0)),u[2]){const r=u[2].trim();r&&(c.index=i(r,n.indexOf(r,c.key?t+e.length:a+l.length),!0))}}l&&(c.value=i(l,a,!0));return c}(yf.exp));let t=-1;"bind"===yf.name&&(t=yf.modifiers.findIndex(e=>"sync"===e.content))>-1&&$u("COMPILER_V_BIND_SYNC",hf,yf.loc,yf.arg.loc.source)&&(yf.name="model",yf.modifiers.splice(t,1))}7===yf.type&&"pre"===yf.name||vf.props.push(yf)}_f="",bf=Sf=-1},oncomment(e,t){hf.comments&&Uf({type:3,content:Nf(e,t),loc:Hf(e-4,t+3)})},onend(){const e=gf.length;for(let t=0;t64&&n<91)||Hu(e)||hf.isBuiltInComponent&&hf.isBuiltInComponent(e)||hf.isNativeTag&&!hf.isNativeTag(e))return!0;var n;for(let e=0;e6===e.type&&"inline-template"===e.name);n&&$u("COMPILER_INLINE_TEMPLATE",hf,n.loc)&&e.children.length&&(n.value={type:2,content:Nf(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function Mf(e,t){let n=e;for(;gf.charCodeAt(n)!==t&&n>=0;)n--;return n}const Pf=new Set(["if","else","else-if","for","slot"]);function Df({tag:e,props:t}){if("template"===e)for(let e=0;e3!==e.type);return 1!==t.length||1!==t[0].type||sf(t[0])?null:t[0]}function Xf(e,t,n,r=!1,o=!1){const{children:s}=e,i=[];for(let t=0;t0){if(e>=2){c.codegenNode.patchFlag=-1,i.push(c);continue}}else{const e=c.codegenNode;if(13===e.type){const t=e.patchFlag;if((void 0===t||512===t||1===t)&&td(c,n)>=2){const t=nd(c);t&&(e.props=n.hoist(t))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(12===c.type){if((r?0:Qf(c,n))>=2){14===c.codegenNode.type&&c.codegenNode.arguments.length>0&&c.codegenNode.arguments.push("-1"),i.push(c);continue}}if(1===c.type){const t=1===c.tagType;t&&n.scopes.vSlot++,Xf(c,e,n,!1,o),t&&n.scopes.vSlot--}else if(11===c.type)Xf(c,e,n,1===c.children.length,!0);else if(9===c.type)for(let t=0;te.key===t||e.key.content===t);return n&&n.value}}l.length&&1===e.type&&1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!m(e.codegenNode.children)&&15===e.codegenNode.children.type&&e.codegenNode.children.properties.push(_u("__",bu(JSON.stringify(l),!1))),i.length&&n.transformHoist&&n.transformHoist(s,n,e)}function Qf(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const r=n.get(e);if(void 0!==r)return r;const o=e.codegenNode;if(13!==o.type)return 0;if(o.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0===o.patchFlag){let r=3;const s=td(e,t);if(0===s)return n.set(e,0),0;s1)for(let o=0;on&&(w.childIndex--,w.onNodeRemoved()):(w.currentNode=null,w.onNodeRemoved()),w.parent.children.splice(n,1)},onNodeRemoved:c,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){b(e)&&(e=bu(e)),w.hoists.push(e);const t=bu(`_hoisted_${w.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){const r=function(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:mu}}(w.cached.length,e,t,n);return w.cached.push(r),r}};return w.filters=new Set,w}function od(e,t){const n=rd(e,t);sd(e,n),t.hoistStatic&&Yf(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e;if(1===r.length){const n=Gf(e);if(n&&n.codegenNode){const r=n.codegenNode;13===r.type&&wu(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else if(r.length>1){let r=64;0,e.codegenNode=gu(t,n(Na),void 0,e.children,r,void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function sd(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let o=0;o{n--};for(;nt===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:o}=e;if(3===e.tagType&&o.some(rf))return;const s=[];for(let i=0;i`${hu[e]}: _${hu[e]}`;function ad(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:o="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:a="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:d=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:o,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssrRuntimeModuleName:a,ssr:u,isTS:f,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(e){return`_${hu[e]}`},push(e,t=-2,n){p.code+=e},indent(){h(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:h(--p.indentLevel)},newline(){h(p.indentLevel)}};function h(e){p.push("\n"+" ".repeat(e),0)}return p}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:o,prefixIdentifiers:s,indent:i,deindent:c,newline:l,scopeId:a,ssr:u}=n,f=Array.from(e.helpers),d=f.length>0,p=!s&&"module"!==r;!function(e,t){const{ssr:n,prefixIdentifiers:r,push:o,newline:s,runtimeModuleName:i,runtimeGlobalName:c,ssrRuntimeModuleName:l}=t,a=c,u=Array.from(e.helpers);if(u.length>0&&(o(`const _Vue = ${a}\n`,-1),e.hoists.length)){o(`const { ${[$a,Fa,Va,Ba,Ua].filter(e=>u.includes(e)).map(ld).join(", ")} } = _Vue\n`,-1)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r();for(let o=0;o0)&&l()),e.directives.length&&(ud(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),ud(e.filters,"filter",n),l()),e.temps>0){o("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(o("\n",0),l()),u||o("return "),e.codegenNode?pd(e.codegenNode,n):o("null"),p&&(c(),o("}")),c(),o("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function ud(e,t,{helper:n,push:r,newline:o,isTS:s}){const i=n("filter"===t?Wa:"component"===t?Ha:qa);for(let n=0;n3||!1;t.push("["),n&&t.indent(),dd(e,t,n),n&&t.deindent(),t.push("]")}function dd(e,t,n=!1,r=!0){const{push:o,newline:s}=t;for(let i=0;ie||"null")}([s,i,c,h,a]),t),n(")"),f&&n(")");u&&(n(", "),pd(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:r,pure:o}=t,s=b(e.callee)?e.callee:r(e.callee);o&&n(cd);n(s+"(",-2,e),dd(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:o,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",-2,e);const c=i.length>1||!1;n(c?"{":"{ "),c&&r();for(let e=0;e "),(l||c)&&(n("{"),r());i?(l&&n("return "),m(i)?fd(i,t):pd(i,t)):c&&pd(c,t);(l||c)&&(o(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:r,alternate:o,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!qu(n.content);e&&i("("),hd(n,t),e&&i(")")}else i("("),pd(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),pd(r,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===o.type;u||t.indentLevel++;pd(o,t),u||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:o,deindent:s,newline:i}=t,{needPauseTracking:c,needArraySpread:l}=e;l&&n("[...(");n(`_cache[${e.index}] || (`),c&&(o(),n(`${r(iu)}(-1`),e.inVOnce&&n(", true"),n("),"),i(),n("("));n(`_cache[${e.index}] = `),pd(e.value,t),c&&(n(`).cacheIndex = ${e.index},`),i(),n(`${r(iu)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")"),l&&n(")]")}(e,t);break;case 21:dd(e.body,t,!0,!1)}}function hd(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function md(e,t){for(let n=0;nfunction(e,t,n,r){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(Bu(28,t.loc)),t.exp=bu("true",!1,r)}0;if("if"===t.name){const o=yd(e,t),s={type:9,loc:jf(e.loc),branches:[o]};if(n.replaceNode(s),r)return r(s,o,!0)}else{const o=n.parent.children;let s=o.indexOf(e);for(;s-- >=-1;){const i=o[s];if(i&&3===i.type)n.removeNode(i);else{if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){"else-if"===t.name&&void 0===i.branches[i.branches.length-1].condition&&n.onError(Bu(30,e.loc)),n.removeNode();const o=yd(e,t);0,i.branches.push(o);const s=r&&r(i,o,!1);sd(o,n),s&&s(),n.currentNode=null}else n.onError(Bu(30,e.loc));break}n.removeNode(i)}}}}(e,t,n,(e,t,r)=>{const o=n.parent.children;let s=o.indexOf(e),i=0;for(;s-- >=0;){const e=o[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(r)e.codegenNode=_d(t,i,n);else{const r=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);r.alternate=_d(t,i+e.branches.length-1,n)}}}));function yd(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Qu(e,"for")?e.children:[e],userKey:Zu(e,"key"),isTemplateIf:n}}function _d(e,t,n){return e.condition?Tu(e.condition,bd(e,t,n),xu(n.helper(Va),['""',"true"])):bd(e,t,n)}function bd(e,t,n){const{helper:r}=n,o=_u("key",bu(`${t}`,!1,mu,2)),{children:s}=e,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const e=i.codegenNode;return af(e,o,n),e}{let t=64;return gu(n,r(Na),yu([o]),s,t,void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=14===(c=e).type&&c.callee===du?c.arguments[1].returns:c;return 13===t.type&&wu(t,n),af(t,o,n),e}var c}const Sd=(e,t,n)=>{const{modifiers:r,loc:o}=e,s=e.arg;let{exp:i}=e;if(i&&4===i.type&&!i.content.trim()&&(i=void 0),!i){if(4!==s.type||!s.isStatic)return n.onError(Bu(52,s.loc)),{props:[_u(s,bu("",!0,o))]};xd(e),i=e.exp}return 4!==s.type?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=s.content?`${s.content} || ""`:'""'),r.some(e=>"camel"===e.content)&&(4===s.type?s.isStatic?s.content=M(s.content):s.content=`${n.helperString(ru)}(${s.content})`:(s.children.unshift(`${n.helperString(ru)}(`),s.children.push(")"))),n.inSSR||(r.some(e=>"prop"===e.content)&&Cd(s,"."),r.some(e=>"attr"===e.content)&&Cd(s,"^")),{props:[_u(s,i)]}},xd=(e,t)=>{const n=e.arg,r=M(n.content);e.exp=bu(r,!1,n.loc)},Cd=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Td=id("for",(e,t,n)=>{const{helper:r,removeHelper:o}=n;return function(e,t,n,r){if(!t.exp)return void n.onError(Bu(31,t.loc));const o=t.forParseResult;if(!o)return void n.onError(Bu(32,t.loc));kd(o,n);const{addIdentifiers:s,removeIdentifiers:i,scopes:c}=n,{source:l,value:a,key:u,index:f}=o,d={type:11,loc:t.loc,source:l,valueAlias:a,keyAlias:u,objectIndexAlias:f,parseResult:o,children:of(e)?e.children:[e]};n.replaceNode(d),c.vFor++;const p=r&&r(d);return()=>{c.vFor--,p&&p()}}(e,t,n,t=>{const s=xu(r(Ka),[t.source]),i=of(e),c=Qu(e,"memo"),l=Zu(e,"key",!1,!0);l&&7===l.type&&!l.exp&&xd(l);let a=l&&(6===l.type?l.value?bu(l.value.content,!0):void 0:l.exp);const u=l&&a?_u("key",a):null,f=4===t.source.type&&t.source.constType>0,d=f?64:l?128:256;return t.codegenNode=gu(n,r(Na),void 0,s,d,void 0,void 0,!0,!f,!1,e.loc),()=>{let l;const{children:d}=t;const p=1!==d.length||1!==d[0].type,h=sf(e)?e:i&&1===e.children.length&&sf(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&u&&af(l,u,n)):p?l=gu(n,r(Na),u?yu([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=d[0].codegenNode,i&&u&&af(l,u,n),l.isBlock!==!f&&(l.isBlock?(o(Pa),o(Eu(n.inSSR,l.isComponent))):o(ku(n.inSSR,l.isComponent))),l.isBlock=!f,l.isBlock?(r(Pa),r(Eu(n.inSSR,l.isComponent))):r(ku(n.inSSR,l.isComponent))),c){const e=Cu(Ed(t.parseResult,[bu("_cached")]));e.body={type:21,body:[Su(["const _memo = (",c.exp,")"]),Su(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(pu)}(_cached, _memo)) return _cached`]),Su(["const _item = ",l]),bu("_item.memo = _memo"),bu("return _item")],loc:mu},s.arguments.push(e,bu("_cache"),bu(String(n.cached.length))),n.cached.push(null)}else s.arguments.push(Cu(Ed(t.parseResult),l,!0))}})});function kd(e,t){e.finalized||(e.finalized=!0)}function Ed({value:e,key:t,index:n},r=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||bu("_".repeat(t+1),!1))}([e,t,n,...r])}const wd=bu("undefined",!1),Ad=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Qu(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Nd=(e,t,n,r)=>Cu(e,n,!1,!0,n.length?n[0].loc:r);function Id(e,t,n=Nd){t.helper(au);const{children:r,loc:o}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Qu(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Uu(e)&&(c=!0),s.push(_u(e||bu("default",!0),n(t,void 0,r,o)))}let a=!1,u=!1;const f=[],d=new Set;let p=0;for(let e=0;e{const s=n(e,void 0,r,o);return t.compatConfig&&(s.isNonScopedSlot=!0),_u("default",s)};a?f.length&&f.some(e=>Md(e))&&(u?t.onError(Bu(39,f[0].loc)):s.push(e(void 0,f))):s.push(e(void 0,r))}const h=c?2:Od(e.children)?3:1;let m=yu(s.concat(_u("_",bu(h+"",!1))),o);return i.length&&(m=xu(t.helper(Ya),[m,vu(i)])),{slots:m,hasDynamicSlots:c}}function Rd(e,t,n){const r=[_u("name",e),_u("fn",t)];return null!=n&&r.push(_u("key",bu(String(n),!0))),yu(r)}function Od(e){for(let t=0;tfunction(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:r}=e,o=1===e.tagType;let s=o?function(e,t,n=!1){let{tag:r}=e;const o=Vd(r),s=Zu(e,"is",!1,!0);if(s)if(o||Lu("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===s.type?e=s.value&&bu(s.value.content,!0):(e=s.exp,e||(e=bu("is",!1,s.arg.loc))),e)return xu(t.helper(ja),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(r=s.value.content.slice(4));const i=Hu(r)||t.isBuiltInComponent(r);if(i)return n||t.helper(i),i;return t.helper(Ha),t.components.add(r),ff(r,"component")}(e,t):`"${n}"`;const i=x(s)&&s.callee===ja;let c,l,a,u,f,d=0,p=i||s===Ia||s===Ra||!o&&("svg"===n||"foreignObject"===n||"math"===n);if(r.length>0){const n=Ld(e,t,void 0,o,i);c=n.props,d=n.patchFlag,u=n.dynamicPropNames;const r=n.directives;f=r&&r.length?vu(r.map(e=>function(e,t){const n=[],r=Pd.get(e);r?n.push(t.helperString(r)):(t.helper(qa),t.directives.add(e.name),n.push(ff(e.name,"directive")));const{loc:o}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=bu("true",!1,o);n.push(yu(e.modifiers.map(e=>_u(e,t)),o))}return vu(n,e.loc)}(e,t))):void 0,n.shouldUseBlock&&(p=!0)}if(e.children.length>0){s===Oa&&(p=!0,d|=1024);if(o&&s!==Ia&&s!==Oa){const{slots:n,hasDynamicSlots:r}=Id(e,t);l=n,r&&(d|=1024)}else if(1===e.children.length&&s!==Ia){const n=e.children[0],r=n.type,o=5===r||8===r;o&&0===Qf(n,t)&&(d|=1),l=o||2===r?n:e.children}else l=e.children}u&&u.length&&(a=function(e){let t="[";for(let n=0,r=e.length;n0;let h=!1,m=0,g=!1,v=!1,y=!1,_=!1,b=!1,x=!1;const C=[],T=e=>{u.length&&(f.push(yu($d(u),c)),u=[]),e&&f.push(e)},k=()=>{t.scopes.vFor>0&&u.push(_u(bu("ref_for",!0),bu("true")))},E=({key:e,value:n})=>{if(Uu(e)){const s=e.content,i=a(s);if(!i||r&&!o||"onclick"===s.toLowerCase()||"onUpdate:modelValue"===s||N(s)||(_=!0),i&&N(s)&&(x=!0),i&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&Qf(n,t)>0)return;"ref"===s?g=!0:"class"===s?v=!0:"style"===s?y=!0:"key"===s||C.includes(s)||C.push(s),!r||"class"!==s&&"style"!==s||C.includes(s)||C.push(s)}else b=!0};for(let o=0;o"prop"===e.content)&&(m|=32);const x=t.directiveTransforms[n];if(x){const{props:n,needRuntime:r}=x(l,e,t);!s&&n.forEach(E),_&&o&&!Uu(o)?T(yu(n,c)):u.push(...n),r&&(d.push(l),S(r)&&Pd.set(l,r))}else I(n)||(d.push(l),p&&(h=!0))}}let w;if(f.length?(T(),w=f.length>1?xu(t.helper(Xa),f,c):f[0]):u.length&&(w=yu($d(u),c)),b?m|=16:(v&&!r&&(m|=2),y&&!r&&(m|=4),C.length&&(m|=8),_&&(m|=32)),h||0!==m&&32!==m||!(g||x||d.length>0)||(m|=512),!t.inSSR&&w)switch(w.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t{if(sf(e)){const{children:n,loc:r}=e,{slotName:o,slotProps:s}=function(e,t){let n,r='"default"';const o=[];for(let t=0;t0){const{props:r,directives:s}=Ld(e,t,o,!1,!1);n=r,s.length&&t.onError(Bu(36,s[0].loc))}return{slotName:r,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=Cu([],n,!1,!1,r),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=xu(t.helper(Ja),i,r)}};const Ud=(e,t,n,r)=>{const{loc:o,modifiers:s,arg:i}=e;let c;if(e.exp||s.length||n.onError(Bu(35,o)),4===i.type)if(i.isStatic){let e=i.content;0,e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);c=bu(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?$(M(e)):`on:${e}`,!0,i.loc)}else c=Su([`${n.helperString(su)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(su)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=Yu(l),t=!(e||Xu(l)),n=l.content.includes(";");0,(t||a&&e)&&(l=Su([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let u={props:[_u(c,l||bu("() => {}",!1,o))]};return r&&(u=r(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},Hd=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r,o=!1;for(let e=0;e7===e.type&&!t.directiveTransforms[e.name])||"template"===e.tag)))for(let e=0;e{if(1===e.type&&Qu(e,"once",!0)){if(jd.has(e)||t.inVOnce||t.inSSR)return;return jd.add(e),t.inVOnce=!0,t.helper(iu),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}}},Wd=(e,t,n)=>{const{exp:r,arg:o}=e;if(!r)return n.onError(Bu(41,e.loc)),zd();const s=r.loc.source.trim(),i=4===r.type?r.content:s,c=n.bindingMetadata[s];if("props"===c||"props-aliased"===c)return n.onError(Bu(44,r.loc)),zd();if(!i.trim()||!Yu(r))return n.onError(Bu(42,r.loc)),zd();const l=o||bu("modelValue",!0),a=o?Uu(o)?`onUpdate:${M(o.content)}`:Su(['"onUpdate:" + ',o]):"onUpdate:modelValue";let u;u=Su([`${n.isTS?"($event: any)":"$event"} => ((`,r,") = $event)"]);const f=[_u(l,e.exp),_u(a,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>e.content).map(e=>(qu(e)?e:JSON.stringify(e))+": true").join(", "),n=o?Uu(o)?`${o.content}Modifiers`:Su([o,' + "Modifiers"']):"modelModifiers";f.push(_u(n,bu(`{ ${t} }`,!1,e.loc,2)))}return zd(f)};function zd(e=[]){return{props:e}}const Kd=/[\w).+\-_$\]]/,Jd=(e,t)=>{Lu("COMPILER_FILTERS",t)&&(5===e.type?Yd(e.content,t):1===e.type&&e.props.forEach(e=>{7===e.type&&"for"!==e.name&&e.exp&&Yd(e.exp,t)}))};function Yd(e,t){if(4===e.type)Gd(e,t);else for(let n=0;n=0&&(e=n.charAt(t)," "===e);t--);e&&Kd.test(e)||(u=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s{if(1===e.type){const n=Qu(e,"memo");if(!n||Qd.has(e))return;return Qd.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&wu(r,t),e.codegenNode=xu(t.helper(du),[n.exp,Cu(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))}}};function ep(e,t={}){const n=t.onError||Fu,r="module"===t.mode;!0===t.prefixIdentifiers?n(Bu(47)):r&&n(Bu(48));t.cacheHandlers&&n(Bu(49)),t.scopeId&&!r&&n(Bu(50));const o=f({},t,{prefixIdentifiers:!1}),s=b(e)?Jf(e,o):e,[i,c]=[[qd,vd,Zd,Td,Jd,Bd,Dd,Ad,Hd],{on:Ud,bind:Sd,model:Wd}];return od(s,f({},o,{nodeTransforms:[...i,...t.nodeTransforms||[]],directiveTransforms:f({},c,t.directiveTransforms||{})})),ad(s,o)}const tp=Symbol(""),np=Symbol(""),rp=Symbol(""),op=Symbol(""),sp=Symbol(""),ip=Symbol(""),cp=Symbol(""),lp=Symbol(""),ap=Symbol(""),up=Symbol("");var fp;let dp;fp={[tp]:"vModelRadio",[np]:"vModelCheckbox",[rp]:"vModelText",[op]:"vModelSelect",[sp]:"vModelDynamic",[ip]:"withModifiers",[cp]:"withKeys",[lp]:"vShow",[ap]:"Transition",[up]:"TransitionGroup"},Object.getOwnPropertySymbols(fp).forEach(e=>{hu[e]=fp[e]});const pp={parseMode:"html",isVoidTag:ne,isNativeTag:e=>Z(e)||ee(e)||te(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(e,t=!1){return dp||(dp=document.createElement("div")),t?(dp.innerHTML=`
`,dp.children[0].getAttribute("foo")):(dp.innerHTML=e,dp.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?ap:"TransitionGroup"===e||"transition-group"===e?up:void 0,getNamespace(e,t,n){let r=t?t.ns:n;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r}},hp=(e,t)=>{const n=G(e);return bu(JSON.stringify(n),!1,t,3)};function mp(e,t){return Bu(e,t)}const gp=o("passive,once,capture"),vp=o("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),yp=o("left,right"),_p=o("onkeyup,onkeydown,onkeypress"),bp=(e,t)=>Uu(e)&&"onclick"===e.content.toLowerCase()?bu(t,!0):4!==e.type?Su(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;const Sp=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()};const xp=[e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:bu("style",!0,t.loc),exp:hp(t.value.content,t.loc),modifiers:[],loc:t.loc})})}],Cp={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(mp(53,o)),t.children.length&&(n.onError(mp(54,o)),t.children.length=0),{props:[_u(bu("innerHTML",!0,o),r||bu("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(mp(55,o)),t.children.length&&(n.onError(mp(56,o)),t.children.length=0),{props:[_u(bu("textContent",!0),r?Qf(r,n)>0?r:xu(n.helperString(Ga),[r],o):bu("",!0))]}},model:(e,t,n)=>{const r=Wd(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(mp(58,e.arg.loc));const{tag:o}=t,s=n.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||s){let i=rp,c=!1;if("input"===o||s){const r=Zu(t,"type");if(r){if(7===r.type)i=sp;else if(r.value)switch(r.value.content){case"radio":i=tp;break;case"checkbox":i=np;break;case"file":c=!0,n.onError(mp(59,e.loc))}}else(function(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))})(t)&&(i=sp)}else"select"===o&&(i=op);c||(r.needRuntime=n.helper(i))}else n.onError(mp(57,e.loc));return r.props=r.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),r},on:(e,t,n)=>Ud(e,t,n,t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:o,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n)=>{const r=[],o=[],s=[];for(let i=0;i{const{exp:r,loc:o}=e;return r||n.onError(mp(61,o)),{props:[],needRuntime:n.helper(lp)}}};const Tp=Object.create(null);function kp(e,t){if(!b(e)){if(!e.nodeType)return c;e=e.innerHTML}const n=function(e,t){return e+JSON.stringify(t,(e,t)=>"function"==typeof t?t.toString():t)}(e,t),o=Tp[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);0,e=t?t.innerHTML:""}const s=f({hoistStatic:!0,onError:void 0,onWarn:c},t);s.isCustomElement||"undefined"==typeof customElements||(s.isCustomElement=e=>!!customElements.get(e));const{code:i}=function(e,t={}){return ep(e,f({},pp,t,{nodeTransforms:[Sp,...xp,...t.nodeTransforms||[]],directiveTransforms:f({},Cp,t.directiveTransforms||{}),transformHoist:null}))}(e,s);const l=new Function("Vue",i)(r);return l._rc=!0,Tp[n]=l}hc(kp)},171:function(e,t,n){n.d(t,{M:function(){return r}});var r=function(e,t){void 0===t&&(t=["event"]);var n=e.startsWith("$")?function(){return window.$(document).trigger(e.slice(1),[].slice.call(arguments)[0].detail)}:function(){var n=arguments,r=t.reduce(function(e,t,r){return e[t]=[].slice.call(n)[r],e},{});r.event.target.dispatchEvent(new CustomEvent("$"+e,{detail:r,bubbles:!0,cancelable:!0}))};return e.startsWith("$")?document.addEventListener(e,n):window.$(document).on(e,n),n}},433:function(e,t){t.A=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}},591:function(e,t,n){var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},s=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function c(e){for(var t=-1,n=0;n { + class Preferences extends Snowboard.Singleton { + construct() { + this.widget = null; + } + + listens() { + return { + 'backend.widget.initialized': 'onWidgetInitialized', + }; + } + + onWidgetInitialized(element, widget) { + if (element === document.getElementById('CodeEditor-formEditorPreview-_editor_preview')) { + this.widget = widget; + this.enablePreferences(); + } + } + + enablePreferences() { + delegate('change'); + + const checkboxes = { + show_gutter: 'showGutter', + highlight_active_line: 'highlightActiveLine', + use_hard_tabs: '!useSoftTabs', + display_indent_guides: 'displayIndentGuides', + show_invisibles: 'showInvisibles', + show_print_margin: 'showPrintMargin', + show_minimap: 'showMinimap', + enable_folding: 'codeFolding', + bracket_colors: 'bracketColors', + show_colors: 'showColors', + }; + + Object.entries(checkboxes).forEach(([key, value]) => { + this.element(key).addEventListener('change', (event) => { + this.widget.setConfig( + value.replace(/^!/, ''), + /^!/.test(value) ? !event.target.checked : event.target.checked, + ); + }); + }); + + this.element('theme').addEventListener('$change', (event) => { + this.widget.loadTheme(event.target.value); + }); + + this.element('font_size').addEventListener('$change', (event) => { + this.widget.setConfig('fontSize', event.target.value); + }); + + this.element('tab_size').addEventListener('$change', (event) => { + this.widget.setConfig('tabSize', event.target.value); + }); + + this.element('word_wrap').addEventListener('$change', (event) => { + const { value } = event.target; + switch (value) { + case 'off': + this.widget.setConfig('wordWrap', false); + break; + case 'fluid': + this.widget.setConfig('wordWrap', 'fluid'); + break; + default: + this.widget.setConfig('wordWrap', parseInt(value, 10)); + } + }); + + document.querySelectorAll('[data-switch-lang]').forEach((element) => { + element.addEventListener('click', (event) => { + event.preventDefault(); + const language = element.dataset.switchLang; + const template = document.querySelector(`[data-lang-snippet="${language}"]`); + + if (!template) { + return; + } + + this.widget.setValue(template.textContent.trim()); + this.widget.setLanguage(language); + }); + }); + + this.widget.events.once('create', () => { + const event = new MouseEvent('click'); + document.querySelector('[data-switch-lang="css"]').dispatchEvent(event); + }); + } + + element(key) { + return document.getElementById(`Form-field-Preference-editor_${key}`); + } + } + + Snowboard.addPlugin('backend.preferences', Preferences); +})(window.Snowboard); diff --git a/modules/backend/formwidgets/codeeditor/assets/js/build-min.js b/modules/backend/assets/vendor/ace-codeeditor/build-min.js similarity index 99% rename from modules/backend/formwidgets/codeeditor/assets/js/build-min.js rename to modules/backend/assets/vendor/ace-codeeditor/build-min.js index 27e8d4f92f..c22c2f754b 100644 --- a/modules/backend/formwidgets/codeeditor/assets/js/build-min.js +++ b/modules/backend/assets/vendor/ace-codeeditor/build-min.js @@ -1439,7 +1439,7 @@ this.embedTagRules(new JavaScriptHighlightRules({noJSX:true}).getRules(),"js-"," 'xmlwriter_start_dtd_attlist|xmlwriter_start_dtd_element|xmlwriter_start_dtd_entity|xmlwriter_start_element|xmlwriter_start_element_ns|'+'xmlwriter_start_pi|xmlwriter_text|xmlwriter_write_attribute|xmlwriter_write_attribute_ns|xmlwriter_write_cdata|xmlwriter_write_comment|'+'xmlwriter_write_dtd|xmlwriter_write_dtd_attlist|xmlwriter_write_dtd_element|xmlwriter_write_dtd_entity|xmlwriter_write_element|'+'xmlwriter_write_element_ns|xmlwriter_write_pi|xmlwriter_write_raw|xpath_eval|xpath_eval_expression|xpath_new_context|xpath_register_ns|'+'xpath_register_ns_auto|xptr_eval|xptr_new_context|xslt_backend_info|xslt_backend_name|xslt_backend_version|xslt_create|xslt_errno|'+'xslt_error|xslt_free|xslt_getopt|xslt_process|xslt_set_base|xslt_set_encoding|xslt_set_error_handler|xslt_set_log|xslt_set_object|'+'xslt_set_sax_handler|xslt_set_sax_handlers|xslt_set_scheme_handler|xslt_set_scheme_handlers|xslt_setopt|xsltprocessor|yaml_emit|'+ 'yaml_emit_file|yaml_parse|yaml_parse_file|yaml_parse_url|yaz_addinfo|yaz_ccl_conf|yaz_ccl_parse|yaz_close|yaz_connect|yaz_database|'+'yaz_element|yaz_errno|yaz_error|yaz_es|yaz_es_result|yaz_get_option|yaz_hits|yaz_itemorder|yaz_present|yaz_range|yaz_record|yaz_scan|'+'yaz_scan_result|yaz_schema|yaz_search|yaz_set_option|yaz_sort|yaz_syntax|yaz_wait|yp_all|yp_cat|yp_err_string|yp_errno|yp_first|'+'yp_get_default_domain|yp_master|yp_match|yp_next|yp_order|zend_logo_guid|zend_thread_id|zend_version|zip_close|zip_entry_close|'+'zip_entry_compressedsize|zip_entry_compressionmethod|zip_entry_filesize|zip_entry_name|zip_entry_open|zip_entry_read|zip_open|zip_read|'+'ziparchive|ziparchive_addemptydir|ziparchive_addfile|ziparchive_addfromstring|ziparchive_close|ziparchive_deleteindex|'+'ziparchive_deletename|ziparchive_extractto|ziparchive_getarchivecomment|ziparchive_getcommentindex|ziparchive_getcommentname|'+ 'ziparchive_getfromindex|ziparchive_getfromname|ziparchive_getnameindex|ziparchive_getstatusstring|ziparchive_getstream|'+'ziparchive_locatename|ziparchive_open|ziparchive_renameindex|ziparchive_renamename|ziparchive_setCommentName|ziparchive_setarchivecomment|'+'ziparchive_setcommentindex|ziparchive_statindex|ziparchive_statname|ziparchive_unchangeall|ziparchive_unchangearchive|'+'ziparchive_unchangeindex|ziparchive_unchangename|zlib_get_coding_type').split('|'));var keywords=lang.arrayToMap(('abstract|and|array|as|break|case|catch|class|clone|const|continue|declare|default|do|else|elseif|enddeclare|endfor|endforeach|endif|'+'endswitch|endwhile|extends|final|for|foreach|function|global|goto|if|implements|interface|instanceof|namespace|new|or|private|protected|'+'public|static|switch|throw|trait|try|use|var|while|xor').split('|'));var languageConstructs=lang.arrayToMap(('die|echo|empty|exit|eval|include|include_once|isset|list|require|require_once|return|print|unset').split('|'));var builtinConstants=lang.arrayToMap( -('true|TRUE|false|FALSE|null|NULL|__CLASS__|__DIR__|../vendor/ace/mode-php.js|__LINE__|__METHOD__|__FUNCTION__|__NAMESPACE__').split('|'));var builtinVariables=lang.arrayToMap(('$GLOBALS|$_SERVER|$_GET|$_POST|$_FILES|$_REQUEST|$_SESSION|$_ENV|$_COOKIE|$php_errormsg|$HTTP_RAW_POST_DATA|'+'$http_response_header|$argc|$argv').split('|'));var builtinFunctionsDeprecated=lang.arrayToMap(('key_exists|cairo_matrix_create_scale|cairo_matrix_create_translate|call_user_method|call_user_method_array|com_addref|com_get|'+'com_invoke|com_isenum|com_load|com_release|com_set|connection_timeout|cubrid_load_from_glo|cubrid_new_glo|cubrid_save_to_glo|'+'cubrid_send_glo|define_syslog_variables|dl|ereg|ereg_replace|eregi|eregi_replace|hw_documentattributes|hw_documentbodytag|'+'hw_documentsize|hw_outputdocument|imagedashedline|maxdb_bind_param|maxdb_bind_result|maxdb_client_encoding|maxdb_close_long_data|'+ +('true|TRUE|false|FALSE|null|NULL|__CLASS__|__DIR__|../ace/mode-php.js|__LINE__|__METHOD__|__FUNCTION__|__NAMESPACE__').split('|'));var builtinVariables=lang.arrayToMap(('$GLOBALS|$_SERVER|$_GET|$_POST|$_FILES|$_REQUEST|$_SESSION|$_ENV|$_COOKIE|$php_errormsg|$HTTP_RAW_POST_DATA|'+'$http_response_header|$argc|$argv').split('|'));var builtinFunctionsDeprecated=lang.arrayToMap(('key_exists|cairo_matrix_create_scale|cairo_matrix_create_translate|call_user_method|call_user_method_array|com_addref|com_get|'+'com_invoke|com_isenum|com_load|com_release|com_set|connection_timeout|cubrid_load_from_glo|cubrid_new_glo|cubrid_save_to_glo|'+'cubrid_send_glo|define_syslog_variables|dl|ereg|ereg_replace|eregi|eregi_replace|hw_documentattributes|hw_documentbodytag|'+'hw_documentsize|hw_outputdocument|imagedashedline|maxdb_bind_param|maxdb_bind_result|maxdb_client_encoding|maxdb_close_long_data|'+ 'maxdb_execute|maxdb_fetch|maxdb_get_metadata|maxdb_param_count|maxdb_send_long_data|mcrypt_ecb|mcrypt_generic_end|mime_content_type|'+'mysql_createdb|mysql_dbname|mysql_db_query|mysql_drop_db|mysql_dropdb|mysql_escape_string|mysql_fieldflags|mysql_fieldflags|'+'mysql_fieldname|mysql_fieldtable|mysql_fieldtype|mysql_freeresult|mysql_listdbs|mysql_list_fields|mysql_listfields|mysql_list_tables|'+'mysql_listtables|mysql_numfields|mysql_numrows|mysql_selectdb|mysql_tablename|mysqli_bind_param|mysqli_bind_result|'+'mysqli_disable_reads_from_master|mysqli_disable_rpl_parse|mysqli_enable_reads_from_master|mysqli_enable_rpl_parse|mysqli_execute|'+'mysqli_fetch|mysqli_get_metadata|mysqli_master_query|mysqli_param_count|mysqli_rpl_parse_enabled|mysqli_rpl_probe|mysqli_rpl_query_type|'+'mysqli_send_long_data|mysqli_send_query|mysqli_slave_query|ocibindbyname|ocicancel|ocicloselob|ocicollappend|ocicollassign|'+ 'ocicollassignelem|ocicollgetelem|ocicollmax|ocicollsize|ocicolltrim|ocicolumnisnull|ocicolumnname|ocicolumnprecision|ocicolumnscale|'+'ocicolumnsize|ocicolumntype|ocicolumntyperaw|ocicommit|ocidefinebyname|ocierror|ociexecute|ocifetch|ocifetchinto|ocifetchstatement|'+'ocifreecollection|ocifreecursor|ocifreedesc|ocifreestatement|ociinternaldebug|ociloadlob|ocilogoff|ocilogon|ocinewcollection|'+'ocinewcursor|ocinewdescriptor|ocinlogon|ocinumcols|ociparse|ociplogon|ociresult|ocirollback|ocirowcount|ocisavelob|ocisavelobfile|'+'ociserverversion|ocisetprefetch|ocistatementtype|ociwritelobtofile|ociwritetemporarylob|PDF_add_annotation|PDF_add_bookmark|'+'PDF_add_launchlink|PDF_add_locallink|PDF_add_note|PDF_add_outline|PDF_add_pdflink|PDF_add_weblink|PDF_attach_file|PDF_begin_page|'+'PDF_begin_template|PDF_close_pdi|PDF_close|PDF_findfont|PDF_get_font|PDF_get_fontname|PDF_get_fontsize|PDF_get_image_height|'+ 'PDF_get_image_width|PDF_get_majorversion|PDF_get_minorversion|PDF_get_pdi_parameter|PDF_get_pdi_value|PDF_open_ccitt|PDF_open_file|'+'PDF_open_gif|PDF_open_image_file|PDF_open_image|PDF_open_jpeg|PDF_open_pdi|PDF_open_tiff|PDF_place_image|PDF_place_pdi_page|'+'PDF_set_border_color|PDF_set_border_dash|PDF_set_border_style|PDF_set_char_spacing|PDF_set_duration|PDF_set_horiz_scaling|'+'PDF_set_info_author|PDF_set_info_creator|PDF_set_info_keywords|PDF_set_info_subject|PDF_set_info_title|PDF_set_leading|'+'PDF_set_text_matrix|PDF_set_text_rendering|PDF_set_text_rise|PDF_set_word_spacing|PDF_setgray_fill|PDF_setgray_stroke|PDF_setgray|'+'PDF_setpolydash|PDF_setrgbcolor_fill|PDF_setrgbcolor_stroke|PDF_setrgbcolor|PDF_show_boxed|php_check_syntax|px_set_tablename|'+'px_set_targetencoding|runkit_sandbox_output_handler|session_is_registered|session_register|session_unregister'+ @@ -2308,7 +2308,7 @@ if($.oc===undefined)$.oc=$.wn $.wn.codeEditorExtensionModes={'htm':'html','html':'html','md':'markdown','txt':'plain_text','js':'javascript','less':'less','scss':'scss','sass':'sass','css':'css'} $.fn.codeEditor.noConflict=function(){$.fn.codeEditor=old return this} -$(document).render(function(){$('[data-control="codeeditor"]').codeEditor()});+function(exports){if(exports.ace&&typeof exports.ace.require=='function'){var emmetExt=exports.ace.require('ace/ext/emmet') +$(document).render(function(){$('[data-control="ace-codeeditor"]').codeEditor()});+function(exports){if(exports.ace&&typeof exports.ace.require=='function'){var emmetExt=exports.ace.require('ace/ext/emmet') if(emmetExt&&emmetExt.AceEmmetEditor&&emmetExt.AceEmmetEditor.prototype.getSyntax){var coreGetSyntax=emmetExt.AceEmmetEditor.prototype.getSyntax emmetExt.AceEmmetEditor.prototype.getSyntax=function(){var $syntax=$.proxy(coreGetSyntax,this)() return $syntax=='twig'?'html':$syntax};}}}(window)}(window.jQuery); \ No newline at end of file diff --git a/modules/backend/assets/vendor/ace-codeeditor/build.js b/modules/backend/assets/vendor/ace-codeeditor/build.js new file mode 100644 index 0000000000..5e2db77ef9 --- /dev/null +++ b/modules/backend/assets/vendor/ace-codeeditor/build.js @@ -0,0 +1,30 @@ +/* + * This is a bundle file, you can compile this by running + * + * php artisan winter:util compile assets + * + * @see build-min.js + * + * Current Ace build v1.2.3 using "src-noconflict" + * https://github.com/ajaxorg/ace-builds/ + * + +=require ../emmet/emmet.js +=require ../ace/ace.js +=require ../ace/ext-emmet.js +=require ../ace/ext-language_tools.js +=require ../ace/mode-php.js +=require ../ace/mode-twig.js +=require ../ace/mode-markdown.js +=require ../ace/mode-plain_text.js +=require ../ace/mode-html.js +=require ../ace/mode-less.js +=require ../ace/mode-css.js +=require ../ace/mode-scss.js +=require ../ace/mode-sass.js +=require ../ace/mode-yaml.js +=require ../ace/mode-javascript.js + +=require codeeditor.js + +*/ diff --git a/modules/backend/assets/vendor/ace-codeeditor/codeeditor.js b/modules/backend/assets/vendor/ace-codeeditor/codeeditor.js new file mode 100644 index 0000000000..0037d38592 --- /dev/null +++ b/modules/backend/assets/vendor/ace-codeeditor/codeeditor.js @@ -0,0 +1,468 @@ +/* + * Code editor form field control + * + * Data attributes: + * - data-control="codeeditor" - enables the code editor plugin + * - data-vendor-path="/" - sets the path to find Ace editor files + * - data-language="php" - set the coding language used + * - data-theme="textmate" - the colour scheme and theme + * + * JavaScript API: + * $('textarea').codeEditor({ vendorPath: '/', language: 'php '}) + * + * Dependancies: + * - Ace Editor (ace.js) + */ + ++function ($) { "use strict"; + + var Base = $.wn.foundation.base, + BaseProto = Base.prototype + + // CODEEDITOR CLASS DEFINITION + // ============================ + + var CodeEditor = function(element, options) { + Base.call(this) + + this.options = options + this.$el = $(element) + this.$textarea = this.$el.find('>textarea:first') + this.$toolbar = this.$el.find('>.editor-toolbar:first') + this.$code = null + this.editor = null + this.$form = null + + // Toolbar links + this.isFullscreen = false + this.$fullscreenEnable = this.$toolbar.find('li.fullscreen-enable') + this.$fullscreenDisable = this.$toolbar.find('li.fullscreen-disable') + this.isSearchbox = false + this.$searchboxEnable = this.$toolbar.find('li.searchbox-enable') + this.$searchboxDisable = this.$toolbar.find('li.searchbox-disable') + this.isReplacebox = false + this.$replaceboxEnable = this.$toolbar.find('li.replacebox-enable') + this.$replaceboxDisable = this.$toolbar.find('li.replacebox-disable') + + $.wn.foundation.controlUtils.markDisposable(element) + + this.init(); + + this.$el.trigger('oc.codeEditorReady') + } + + CodeEditor.prototype = Object.create(BaseProto) + CodeEditor.prototype.constructor = CodeEditor + + CodeEditor.DEFAULTS = { + fontSize: 12, + wordWrap: 'off', + codeFolding: 'manual', + autocompletion: 'manual', + tabSize: 4, + theme: 'textmate', + showInvisibles: true, + highlightActiveLine: true, + useSoftTabs: true, + autoCloseTags: true, + showGutter: true, + enableEmmet: true, + language: 'php', + margin: 0, + vendorPath: '/', + showPrintMargin: false, + highlightSelectedWord: false, + hScrollBarAlwaysVisible: false, + scrollPastEnd: 0, + readOnly: false + } + + CodeEditor.prototype.init = function (){ + + var self = this; + + /* + * Control must have an identifier + */ + if (!this.$el.attr('id')) { + this.$el.attr('id', 'element-' + Math.random().toString(36).substring(7)) + } + + /* + * Create code container + */ + this.$code = $('
') + .addClass('editor-code') + .attr('id', this.$el.attr('id') + '-code') + .css({ + position: 'absolute', + top: 0, + right: 0, + bottom: 0, + left: 0 + }) + .appendTo(this.$el) + + /* + * Initialize ACE editor + */ + var editor = this.editor = ace.edit(this.$code.attr('id')), + options = this.options, + $form = this.$el.closest('form'); + + // Fixes a weird notice about scrolling + editor.$blockScrolling = Infinity + + this.$form = $form + + this.$textarea.hide(); + editor.getSession().setValue(this.$textarea.val()) + + editor.on('change', this.proxy(this.onChange)) + $form.on('oc.beforeRequest', this.proxy(this.onBeforeRequest)) + $(window).on('resize', this.proxy(this.onResize)) + $(window).on('oc.updateUi', this.proxy(this.onResize)) + this.$el.one('dispose-control', this.proxy(this.dispose)) + + /* + * Set theme, anticipated languages should be preloaded + */ + assetManager.load({ + js:[ + // options.vendorPath + '/mode-' + options.language + '.js', + options.vendorPath + '/theme-' + options.theme + '.js' + ] + }, function(){ + editor.setTheme('ace/theme/' + options.theme) + var inline = options.language === 'php' + editor.getSession().setMode({ path: 'ace/mode/'+options.language, inline: inline }) + }) + + /* + * Config editor + */ + editor.wrapper = this + editor.setShowInvisibles(options.showInvisibles) + editor.setBehavioursEnabled(options.autoCloseTags) + editor.setHighlightActiveLine(options.highlightActiveLine) + editor.renderer.setShowGutter(options.showGutter) + editor.renderer.setShowPrintMargin(options.showPrintMargin) + editor.setHighlightSelectedWord(options.highlightSelectedWord) + editor.renderer.setHScrollBarAlwaysVisible(options.hScrollBarAlwaysVisible) + editor.setDisplayIndentGuides(options.displayIndentGuides) + editor.getSession().setUseSoftTabs(options.useSoftTabs) + editor.getSession().setTabSize(options.tabSize) + editor.setReadOnly(options.readOnly) + editor.getSession().setFoldStyle(options.codeFolding) + editor.setFontSize(options.fontSize) + editor.on('blur', this.proxy(this.onBlur)) + editor.on('focus', this.proxy(this.onFocus)) + editor.setOption("scrollPastEnd", options.scrollPastEnd) + this.setWordWrap(options.wordWrap) + + // Set the vendor path for Ace's require path + ace.require('ace/config').set('basePath', this.options.vendorPath) + + editor.setOptions({ + enableEmmet: options.enableEmmet, + enableBasicAutocompletion: options.autocompletion === 'basic', + enableSnippets: options.enableSnippets, + enableLiveAutocompletion: options.autocompletion === 'live' + }) + + editor.renderer.setScrollMargin(options.margin, options.margin, 0, 0) + editor.renderer.setPadding(options.margin) + + /* + * Toolbar + */ + + this.$toolbar.find('>ul>li>a') + .each(function(){ + var abbr = $(this).find('>abbr'), + label = abbr.text(), + help = abbr.attr('title'), + title = label + ' (' + help + ')'; + + $(this).attr('title', title) + }) + .tooltip({ + delay: 500, + placement: 'top', + html: true + }) + ; + + this.$fullscreenDisable.hide() + this.$fullscreenEnable.on('click.codeeditor', '>a', $.proxy(this.toggleFullscreen, this)) + this.$fullscreenDisable.on('click.codeeditor', '>a', $.proxy(this.toggleFullscreen, this)) + + this.$searchboxDisable.hide() + this.$searchboxEnable.on('click.codeeditor', '>a', $.proxy(this.toggleSearchbox, this)) + this.$searchboxDisable.on('click.codeeditor', '>a', $.proxy(this.toggleSearchbox, this)) + + this.$replaceboxDisable.hide() + this.$replaceboxEnable.on('click.codeeditor', '>a', $.proxy(this.toggleReplacebox, this)) + this.$replaceboxDisable.on('click.codeeditor', '>a', $.proxy(this.toggleReplacebox, this)) + + /* + * Hotkeys + */ + this.$el.hotKey({ + hotkey: 'esc', + callback: this.proxy(this.onEscape) + }) + + editor.commands.addCommand({ + name: 'toggleFullscreen', + bindKey: { win: 'Ctrl+Shift+F', mac: 'Ctrl+Shift+F' }, + exec: $.proxy(this.toggleFullscreen, this), + readOnly: true + }) + } + + CodeEditor.prototype.dispose = function() { + if (this.$el === null) + return + + this.unregisterHandlers() + this.disposeAttachedControls() + + this.$el = null + this.$textarea = null + this.$toolbar = null + this.$code = null + this.$fullscreenEnable = null + this.$fullscreenDisable = null + this.$searchboxEnable = null + this.$searchboxDisable = null + this.$replaceboxEnable = null + this.$replaceboxDisable = null + this.$form = null + this.options = null + + BaseProto.dispose.call(this) + } + + CodeEditor.prototype.disposeAttachedControls = function() { + this.editor.destroy() + + var keys = Object.keys(this.editor.renderer) + for (var i=0, len=keys.length; iul>li>a').tooltip('destroy') + this.$el.removeData('oc.codeEditor') + this.$el.hotKey('dispose') + } + + CodeEditor.prototype.unregisterHandlers = function() { + this.editor.off('change', this.proxy(this.onChange)) + this.editor.off('blur', this.proxy(this.onBlur)) + this.editor.off('focus', this.proxy(this.onFocus)) + + this.$fullscreenEnable.off('.codeeditor') + this.$fullscreenDisable.off('.codeeditor') + this.$form.off('oc.beforeRequest', this.proxy(this.onBeforeRequest)) + + this.$el.off('dispose-control', this.proxy(this.dispose)) + + $(window).off('resize', this.proxy(this.onResize)) + $(window).off('oc.updateUi', this.proxy(this.onResize)) + } + + CodeEditor.prototype.onBeforeRequest = function() { + this.$textarea.val(this.editor.getSession().getValue()) + } + + CodeEditor.prototype.onChange = function() { + this.$textarea.trigger('change') + this.$textarea.trigger('oc.codeEditorChange') + } + + CodeEditor.prototype.onResize = function() { + this.editor.resize() + } + + CodeEditor.prototype.onBlur = function() { + this.$el.removeClass('editor-focus') + } + + CodeEditor.prototype.onFocus = function() { + this.$el.addClass('editor-focus') + } + + CodeEditor.prototype.onEscape = function() { + this.isFullscreen && this.toggleFullscreen() + } + + CodeEditor.prototype.setWordWrap = function(mode) { + var session = this.editor.getSession(), + renderer = this.editor.renderer + + switch (mode + '') { + default: + case "off": + session.setUseWrapMode(false) + renderer.setPrintMarginColumn(80) + break + case "40": + session.setUseWrapMode(true) + session.setWrapLimitRange(40, 40) + renderer.setPrintMarginColumn(40) + break + case "80": + session.setUseWrapMode(true) + session.setWrapLimitRange(80, 80) + renderer.setPrintMarginColumn(80) + break + case "fluid": + session.setUseWrapMode(true) + session.setWrapLimitRange(null, null) + renderer.setPrintMarginColumn(80) + break + } + } + + CodeEditor.prototype.setTheme = function(theme) { + var self = this + assetManager.load({ + js:[ + this.options.vendorPath + '/theme-' + theme + '.js' + ] + }, function(){ + self.editor.setTheme('ace/theme/' + theme) + }) + } + + CodeEditor.prototype.getContent = function() { + return this.editor.getSession().getValue() + } + + CodeEditor.prototype.setContent = function(html) { + this.editor.getSession().setValue(html) + } + + CodeEditor.prototype.getEditorObject = function() { + return this.editor + } + + CodeEditor.prototype.getToolbar = function() { + return this.$toolbar + } + + CodeEditor.prototype.toggleFullscreen = function() { + this.$el.toggleClass('editor-fullscreen') + this.$fullscreenEnable.toggle() + this.$fullscreenDisable.toggle() + + this.isFullscreen = this.$el.hasClass('editor-fullscreen') + + if (this.isFullscreen) { + $('body').css({ overflow: 'hidden' }) + } + else { + $('body').css({ overflow: 'inherit' }) + } + + this.editor.resize() + this.editor.focus() + } + + CodeEditor.prototype.toggleSearchbox = function() { + this.$searchboxEnable.toggle() + this.$searchboxDisable.toggle() + + this.editor.execCommand("find") + + this.editor.resize() + this.editor.focus() + } + + CodeEditor.prototype.toggleReplacebox = function() { + this.$replaceboxEnable.toggle() + this.$replaceboxDisable.toggle() + + this.editor.execCommand("replace") + + this.editor.resize() + this.editor.focus() + } + + // CODEEDITOR PLUGIN DEFINITION + // ============================ + + var old = $.fn.codeEditor + + $.fn.codeEditor = function (option) { + var args = Array.prototype.slice.call(arguments, 1), result + this.each(function () { + var $this = $(this) + var data = $this.data('oc.codeEditor') + var options = $.extend({}, CodeEditor.DEFAULTS, $this.data(), typeof option == 'object' && option) + if (!data) $this.data('oc.codeEditor', (data = new CodeEditor(this, options))) + if (typeof option == 'string') result = data[option].apply(data, args) + if (typeof result != 'undefined') return false + }) + + return result ? result : this + } + + $.fn.codeEditor.Constructor = CodeEditor + + if ($.wn === undefined) + $.wn = {} + if ($.oc === undefined) + $.oc = $.wn + + $.wn.codeEditorExtensionModes = { + 'htm': 'html', + 'html': 'html', + 'md': 'markdown', + 'txt': 'plain_text', + 'js': 'javascript', + 'less': 'less', + 'scss': 'scss', + 'sass': 'sass', + 'css': 'css' + } + + // CODEEDITOR NO CONFLICT + // ================= + + $.fn.codeEditor.noConflict = function () { + $.fn.codeEditor = old + return this + } + + // CODEEDITOR DATA-API + // =============== + $(document).render(function () { + $('[data-control="ace-codeeditor"]').codeEditor() + }); + + // FIX EMMET HTML WHEN SYNTAX IS TWIG + // ================================== + + +function (exports) { + if (exports.ace && typeof exports.ace.require == 'function') { + var emmetExt = exports.ace.require('ace/ext/emmet') + + if (emmetExt && emmetExt.AceEmmetEditor && emmetExt.AceEmmetEditor.prototype.getSyntax) { + var coreGetSyntax = emmetExt.AceEmmetEditor.prototype.getSyntax + + emmetExt.AceEmmetEditor.prototype.getSyntax = function () { + var $syntax = $.proxy(coreGetSyntax, this)() + return $syntax == 'twig' ? 'html' : $syntax + }; + } + } + }(window) + +}(window.jQuery); diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/ace.js b/modules/backend/assets/vendor/ace/ace.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/ace.js rename to modules/backend/assets/vendor/ace/ace.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-emmet.js b/modules/backend/assets/vendor/ace/ext-emmet.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-emmet.js rename to modules/backend/assets/vendor/ace/ext-emmet.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-language_tools.js b/modules/backend/assets/vendor/ace/ext-language_tools.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-language_tools.js rename to modules/backend/assets/vendor/ace/ext-language_tools.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-searchbox.js b/modules/backend/assets/vendor/ace/ext-searchbox.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-searchbox.js rename to modules/backend/assets/vendor/ace/ext-searchbox.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-css.js b/modules/backend/assets/vendor/ace/mode-css.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-css.js rename to modules/backend/assets/vendor/ace/mode-css.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-html.js b/modules/backend/assets/vendor/ace/mode-html.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-html.js rename to modules/backend/assets/vendor/ace/mode-html.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-javascript.js b/modules/backend/assets/vendor/ace/mode-javascript.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-javascript.js rename to modules/backend/assets/vendor/ace/mode-javascript.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-less.js b/modules/backend/assets/vendor/ace/mode-less.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-less.js rename to modules/backend/assets/vendor/ace/mode-less.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-markdown.js b/modules/backend/assets/vendor/ace/mode-markdown.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-markdown.js rename to modules/backend/assets/vendor/ace/mode-markdown.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-php.js b/modules/backend/assets/vendor/ace/mode-php.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-php.js rename to modules/backend/assets/vendor/ace/mode-php.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-plain_text.js b/modules/backend/assets/vendor/ace/mode-plain_text.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-plain_text.js rename to modules/backend/assets/vendor/ace/mode-plain_text.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-sass.js b/modules/backend/assets/vendor/ace/mode-sass.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-sass.js rename to modules/backend/assets/vendor/ace/mode-sass.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-scss.js b/modules/backend/assets/vendor/ace/mode-scss.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-scss.js rename to modules/backend/assets/vendor/ace/mode-scss.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-twig.js b/modules/backend/assets/vendor/ace/mode-twig.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-twig.js rename to modules/backend/assets/vendor/ace/mode-twig.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-yaml.js b/modules/backend/assets/vendor/ace/mode-yaml.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-yaml.js rename to modules/backend/assets/vendor/ace/mode-yaml.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/css.js b/modules/backend/assets/vendor/ace/snippets/css.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/css.js rename to modules/backend/assets/vendor/ace/snippets/css.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/html.js b/modules/backend/assets/vendor/ace/snippets/html.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/html.js rename to modules/backend/assets/vendor/ace/snippets/html.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/javascript.js b/modules/backend/assets/vendor/ace/snippets/javascript.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/javascript.js rename to modules/backend/assets/vendor/ace/snippets/javascript.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/markdown.js b/modules/backend/assets/vendor/ace/snippets/markdown.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/markdown.js rename to modules/backend/assets/vendor/ace/snippets/markdown.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/php-inline.js b/modules/backend/assets/vendor/ace/snippets/php-inline.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/php-inline.js rename to modules/backend/assets/vendor/ace/snippets/php-inline.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/php.js b/modules/backend/assets/vendor/ace/snippets/php.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/php.js rename to modules/backend/assets/vendor/ace/snippets/php.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/plain_text.js b/modules/backend/assets/vendor/ace/snippets/plain_text.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/plain_text.js rename to modules/backend/assets/vendor/ace/snippets/plain_text.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/sass.js b/modules/backend/assets/vendor/ace/snippets/sass.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/sass.js rename to modules/backend/assets/vendor/ace/snippets/sass.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/scss.js b/modules/backend/assets/vendor/ace/snippets/scss.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/scss.js rename to modules/backend/assets/vendor/ace/snippets/scss.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/text.js b/modules/backend/assets/vendor/ace/snippets/text.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/text.js rename to modules/backend/assets/vendor/ace/snippets/text.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/twig.js b/modules/backend/assets/vendor/ace/snippets/twig.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/twig.js rename to modules/backend/assets/vendor/ace/snippets/twig.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/yaml.js b/modules/backend/assets/vendor/ace/snippets/yaml.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/snippets/yaml.js rename to modules/backend/assets/vendor/ace/snippets/yaml.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-ambiance.js b/modules/backend/assets/vendor/ace/theme-ambiance.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-ambiance.js rename to modules/backend/assets/vendor/ace/theme-ambiance.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-chaos.js b/modules/backend/assets/vendor/ace/theme-chaos.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-chaos.js rename to modules/backend/assets/vendor/ace/theme-chaos.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-chrome.js b/modules/backend/assets/vendor/ace/theme-chrome.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-chrome.js rename to modules/backend/assets/vendor/ace/theme-chrome.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-clouds.js b/modules/backend/assets/vendor/ace/theme-clouds.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-clouds.js rename to modules/backend/assets/vendor/ace/theme-clouds.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-clouds_midnight.js b/modules/backend/assets/vendor/ace/theme-clouds_midnight.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-clouds_midnight.js rename to modules/backend/assets/vendor/ace/theme-clouds_midnight.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-cobalt.js b/modules/backend/assets/vendor/ace/theme-cobalt.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-cobalt.js rename to modules/backend/assets/vendor/ace/theme-cobalt.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-crimson_editor.js b/modules/backend/assets/vendor/ace/theme-crimson_editor.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-crimson_editor.js rename to modules/backend/assets/vendor/ace/theme-crimson_editor.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-dawn.js b/modules/backend/assets/vendor/ace/theme-dawn.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-dawn.js rename to modules/backend/assets/vendor/ace/theme-dawn.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-dreamweaver.js b/modules/backend/assets/vendor/ace/theme-dreamweaver.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-dreamweaver.js rename to modules/backend/assets/vendor/ace/theme-dreamweaver.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-eclipse.js b/modules/backend/assets/vendor/ace/theme-eclipse.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-eclipse.js rename to modules/backend/assets/vendor/ace/theme-eclipse.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-github.js b/modules/backend/assets/vendor/ace/theme-github.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-github.js rename to modules/backend/assets/vendor/ace/theme-github.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-idle_fingers.js b/modules/backend/assets/vendor/ace/theme-idle_fingers.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-idle_fingers.js rename to modules/backend/assets/vendor/ace/theme-idle_fingers.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-iplastic.js b/modules/backend/assets/vendor/ace/theme-iplastic.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-iplastic.js rename to modules/backend/assets/vendor/ace/theme-iplastic.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-katzenmilch.js b/modules/backend/assets/vendor/ace/theme-katzenmilch.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-katzenmilch.js rename to modules/backend/assets/vendor/ace/theme-katzenmilch.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-kr_theme.js b/modules/backend/assets/vendor/ace/theme-kr_theme.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-kr_theme.js rename to modules/backend/assets/vendor/ace/theme-kr_theme.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-kuroir.js b/modules/backend/assets/vendor/ace/theme-kuroir.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-kuroir.js rename to modules/backend/assets/vendor/ace/theme-kuroir.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-merbivore.js b/modules/backend/assets/vendor/ace/theme-merbivore.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-merbivore.js rename to modules/backend/assets/vendor/ace/theme-merbivore.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-merbivore_soft.js b/modules/backend/assets/vendor/ace/theme-merbivore_soft.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-merbivore_soft.js rename to modules/backend/assets/vendor/ace/theme-merbivore_soft.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-mono_industrial.js b/modules/backend/assets/vendor/ace/theme-mono_industrial.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-mono_industrial.js rename to modules/backend/assets/vendor/ace/theme-mono_industrial.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-monokai.js b/modules/backend/assets/vendor/ace/theme-monokai.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-monokai.js rename to modules/backend/assets/vendor/ace/theme-monokai.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-pastel_on_dark.js b/modules/backend/assets/vendor/ace/theme-pastel_on_dark.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-pastel_on_dark.js rename to modules/backend/assets/vendor/ace/theme-pastel_on_dark.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-solarized_dark.js b/modules/backend/assets/vendor/ace/theme-solarized_dark.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-solarized_dark.js rename to modules/backend/assets/vendor/ace/theme-solarized_dark.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-solarized_light.js b/modules/backend/assets/vendor/ace/theme-solarized_light.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-solarized_light.js rename to modules/backend/assets/vendor/ace/theme-solarized_light.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-sqlserver.js b/modules/backend/assets/vendor/ace/theme-sqlserver.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-sqlserver.js rename to modules/backend/assets/vendor/ace/theme-sqlserver.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-terminal.js b/modules/backend/assets/vendor/ace/theme-terminal.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-terminal.js rename to modules/backend/assets/vendor/ace/theme-terminal.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-textmate.js b/modules/backend/assets/vendor/ace/theme-textmate.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-textmate.js rename to modules/backend/assets/vendor/ace/theme-textmate.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow.js b/modules/backend/assets/vendor/ace/theme-tomorrow.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow.js rename to modules/backend/assets/vendor/ace/theme-tomorrow.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night.js b/modules/backend/assets/vendor/ace/theme-tomorrow_night.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night.js rename to modules/backend/assets/vendor/ace/theme-tomorrow_night.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_blue.js b/modules/backend/assets/vendor/ace/theme-tomorrow_night_blue.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_blue.js rename to modules/backend/assets/vendor/ace/theme-tomorrow_night_blue.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_bright.js b/modules/backend/assets/vendor/ace/theme-tomorrow_night_bright.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_bright.js rename to modules/backend/assets/vendor/ace/theme-tomorrow_night_bright.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_eighties.js b/modules/backend/assets/vendor/ace/theme-tomorrow_night_eighties.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_eighties.js rename to modules/backend/assets/vendor/ace/theme-tomorrow_night_eighties.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-twilight.js b/modules/backend/assets/vendor/ace/theme-twilight.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-twilight.js rename to modules/backend/assets/vendor/ace/theme-twilight.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-vibrant_ink.js b/modules/backend/assets/vendor/ace/theme-vibrant_ink.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-vibrant_ink.js rename to modules/backend/assets/vendor/ace/theme-vibrant_ink.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-xcode.js b/modules/backend/assets/vendor/ace/theme-xcode.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-xcode.js rename to modules/backend/assets/vendor/ace/theme-xcode.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-css.js b/modules/backend/assets/vendor/ace/worker-css.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-css.js rename to modules/backend/assets/vendor/ace/worker-css.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-html.js b/modules/backend/assets/vendor/ace/worker-html.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-html.js rename to modules/backend/assets/vendor/ace/worker-html.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-javascript.js b/modules/backend/assets/vendor/ace/worker-javascript.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-javascript.js rename to modules/backend/assets/vendor/ace/worker-javascript.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-php.js b/modules/backend/assets/vendor/ace/worker-php.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-php.js rename to modules/backend/assets/vendor/ace/worker-php.js diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/emmet/emmet.js b/modules/backend/assets/vendor/emmet/emmet.js similarity index 100% rename from modules/backend/formwidgets/codeeditor/assets/vendor/emmet/emmet.js rename to modules/backend/assets/vendor/emmet/emmet.js diff --git a/modules/backend/controllers/Preferences.php b/modules/backend/controllers/Preferences.php index 262c1059cd..8bfcd533e7 100644 --- a/modules/backend/controllers/Preferences.php +++ b/modules/backend/controllers/Preferences.php @@ -1,12 +1,14 @@ addCss('/modules/backend/formwidgets/codeeditor/assets/css/codeeditor.css', 'core'); - $this->addJs('/modules/backend/formwidgets/codeeditor/assets/js/build-min.js', 'core'); $this->addJs('/modules/backend/assets/js/preferences/preferences.js', 'core'); BackendMenu::setContext('Winter.System', 'system', 'mysettings'); diff --git a/modules/backend/controllers/preferences/_example_code.php b/modules/backend/controllers/preferences/_example_code.php index 0f95accedf..73692117d8 100644 --- a/modules/backend/controllers/preferences/_example_code.php +++ b/modules/backend/controllers/preferences/_example_code.php @@ -3,6 +3,7 @@ padding: 0; } +/* This is a comment */ body { background-color: white; font: 62.5% Helvetica, Arial, Tahoma, Verdana, Helvetica, sans-serif; @@ -11,3 +12,13 @@ p { font-size: 12px; } + +strong { + font-weight: bold; +} + +span.alert { + color: #ff0000; + border: 1px solid #ff0000; + padding: 2rem; +} diff --git a/modules/backend/controllers/preferences/_field_editor_preview.php b/modules/backend/controllers/preferences/_field_editor_preview.php deleted file mode 100644 index d8256a0247..0000000000 --- a/modules/backend/controllers/preferences/_field_editor_preview.php +++ /dev/null @@ -1,22 +0,0 @@ -
- -
diff --git a/modules/backend/controllers/preferences/_field_editor_preview_lang.php b/modules/backend/controllers/preferences/_field_editor_preview_lang.php new file mode 100644 index 0000000000..33c709e018 --- /dev/null +++ b/modules/backend/controllers/preferences/_field_editor_preview_lang.php @@ -0,0 +1,122 @@ +

+ : + CSS | + HTML | + JavaScript | + Twig | + PHP +

+ + + + + + + + + + diff --git a/modules/backend/formwidgets/CodeEditor.php b/modules/backend/formwidgets/CodeEditor.php index 2a360e01d3..ae7be3b0aa 100644 --- a/modules/backend/formwidgets/CodeEditor.php +++ b/modules/backend/formwidgets/CodeEditor.php @@ -1,7 +1,9 @@ vars['stretch'] = $this->formField->stretch; $this->vars['size'] = $this->formField->size; $this->vars['readOnly'] = $this->readOnly; - $this->vars['autocompletion'] = $this->autocompletion; - $this->vars['enableSnippets'] = $this->enableSnippets; $this->vars['displayIndentGuides'] = $this->displayIndentGuides; $this->vars['showPrintMargin'] = $this->showPrintMargin; + $this->vars['showMinimap'] = $this->showMinimap; + $this->vars['bracketColors'] = $this->bracketColors; + $this->vars['showColors'] = $this->showColors; // Double encode when escaping $this->vars['value'] = htmlentities($this->getLoadValue(), ENT_QUOTES, 'UTF-8', true); $this->vars['name'] = $this->getFieldName(); } + /** + * Loads a theme via AJAX. + * Supports both tmTheme (XML) and JSON formats. + */ + public function onLoadTheme() + { + $theme = post('theme'); + + if (empty($theme)) { + throw new ApplicationException('No theme specified'); + } + if (!preg_match('/^[a-z\-\_]+$/i', $theme)) { + throw new ApplicationException('Invalid theme name'); + } + + $themeDir = __DIR__ . '/codeeditor/assets/themes/'; + + // Try JSON format first (modern), then fall back to tmTheme (legacy) + $jsonPath = $themeDir . $theme . '.json'; + $tmThemePath = $themeDir . $theme . '.tmTheme'; + + if (File::exists($jsonPath)) { + return [ + 'format' => 'json', + 'data' => File::get($jsonPath), + ]; + } elseif (File::exists($tmThemePath)) { + return [ + 'format' => 'tmTheme', + 'data' => File::get($tmThemePath), + ]; + } + + throw new ApplicationException(sprintf('Theme "%s" not found', $theme)); + } + /** * @inheritDoc */ protected function loadAssets() { $this->addCss('css/codeeditor.css', 'core'); - $this->addJs('js/build-min.js', 'core'); + $this->addJs('js/build/codeeditor.bundle.js', 'core'); } /** @@ -209,7 +254,7 @@ protected function applyEditorPreferences() $this->fontSize = $preferences->editor_font_size; $this->wordWrap = $preferences->editor_word_wrap; - $this->codeFolding = $preferences->editor_code_folding; + $this->codeFolding = $preferences->editor_enable_folding ?? ($preferences->editor_code_folding !== 'manual'); $this->autoClosing = $preferences->editor_auto_closing; $this->tabSize = $preferences->editor_tab_size; $this->theme = $preferences->editor_theme; @@ -217,9 +262,10 @@ protected function applyEditorPreferences() $this->highlightActiveLine = $preferences->editor_highlight_active_line; $this->useSoftTabs = !$preferences->editor_use_hard_tabs; $this->showGutter = $preferences->editor_show_gutter; - $this->autocompletion = $preferences->editor_autocompletion; - $this->enableSnippets = $preferences->editor_enable_snippets; $this->displayIndentGuides = $preferences->editor_display_indent_guides; $this->showPrintMargin = $preferences->editor_show_print_margin; + $this->showMinimap = $preferences->editor_show_minimap; + $this->bracketColors = $preferences->editor_bracket_colors; + $this->showColors = $preferences->editor_show_colors; } } diff --git a/modules/backend/formwidgets/MarkdownEditor.php b/modules/backend/formwidgets/MarkdownEditor.php index a884fe5c1c..105e0d5cbc 100644 --- a/modules/backend/formwidgets/MarkdownEditor.php +++ b/modules/backend/formwidgets/MarkdownEditor.php @@ -1,9 +1,11 @@ -addCss('css/markdowneditor.css', 'core'); $this->addJs('js/markdowneditor.js', 'core'); - $this->addJs('/modules/backend/formwidgets/codeeditor/assets/js/build-min.js', 'core'); + $this->addJs('/modules/backend/assets/vendor/ace-codeeditor/build-min.js', 'core'); } /** diff --git a/modules/backend/formwidgets/RichEditor.php b/modules/backend/formwidgets/RichEditor.php index 15b7f8b1a1..02c9949f66 100644 --- a/modules/backend/formwidgets/RichEditor.php +++ b/modules/backend/formwidgets/RichEditor.php @@ -1,15 +1,17 @@ -addJs('js/build-plugins-min.js', 'core'); } - $this->addJs('/modules/backend/formwidgets/codeeditor/assets/js/build-min.js', 'core'); + $this->addJs('/modules/backend/assets/vendor/ace-codeeditor/build-min.js', 'core'); if ($lang = $this->getValidEditorLang()) { $this->addJs('vendor/froala/js/languages/'.$lang.'.js', 'core'); diff --git a/modules/backend/formwidgets/codeeditor/assets/css/codeeditor.css b/modules/backend/formwidgets/codeeditor/assets/css/codeeditor.css index 8f8aaa18b5..20a9699e68 100644 --- a/modules/backend/formwidgets/codeeditor/assets/css/codeeditor.css +++ b/modules/backend/formwidgets/codeeditor/assets/css/codeeditor.css @@ -1,27 +1 @@ -.field-codeeditor{width:100%;position:relative;border:2px solid #d1d6d9;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px} -.field-codeeditor textarea{opacity:0;filter:alpha(opacity=0)} -.field-codeeditor.editor-focus{border:2px solid #d1d6d9} -.field-codeeditor.size-tiny{min-height:50px} -.field-codeeditor.size-small{min-height:100px} -.field-codeeditor.size-large{min-height:200px} -.field-codeeditor.size-huge{min-height:250px} -.field-codeeditor.size-giant{min-height:350px} -.field-codeeditor .ace_search{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;color:#333;z-index:13} -.field-codeeditor .ace_search .ace_search_form.ace_nomatch{outline:none !important} -.field-codeeditor .ace_search .ace_search_form.ace_nomatch .ace_search_field{border:0.0625rem solid red;-webkit-box-shadow:0 0 0.1875rem 0.125rem red;box-shadow:0 0 0.1875rem 0.125rem red;z-index:1;position:relative} -.field-codeeditor .editor-code{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px} -.field-codeeditor .editor-toolbar{position:absolute;padding:0 5px;bottom:10px;right:25px;z-index:10;background:rgba(0,0,0,0.8);border-radius:5px} -.field-codeeditor .editor-toolbar>ul, -.field-codeeditor .editor-toolbar ul>li{list-style-type:none;padding:0;margin:0} -.field-codeeditor .editor-toolbar>ul>li{float:left} -.field-codeeditor .editor-toolbar>ul>li .tooltip.left{margin-right:25px} -.field-codeeditor .editor-toolbar>ul>li>a{display:block;height:25px;width:25px;color:#666;font-size:20px;text-align:center;text-decoration:none;text-shadow:0 0 5px #000} -.field-codeeditor .editor-toolbar>ul>li>a>abbr{position:absolute;font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0} -.field-codeeditor .editor-toolbar>ul>li>a>i{opacity:1;filter:alpha(opacity=100);display:block} -.field-codeeditor .editor-toolbar>ul>li>a>i:before{font-size:15px} -.field-codeeditor .editor-toolbar>ul>li>a:hover>i, -.field-codeeditor .editor-toolbar>ul>li>a:focus>i{opacity:1;filter:alpha(opacity=100);color:#fff} -.field-codeeditor.editor-fullscreen{z-index:301;position:fixed !important;top:0;left:0;height:100%;border-width:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} -.field-codeeditor.editor-fullscreen .editor-toolbar{z-index:302} -.field-codeeditor.editor-fullscreen .editor-code{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} -.field-codeeditor.editor-fullscreen .ace_search{z-index:303} \ No newline at end of file +.field-codeeditor{border:2px solid #d1d6d9;border-radius:3px;display:flex;flex-direction:column;position:relative;width:100%}.field-codeeditor.editor-focus{border:2px solid #d1d6d9}.field-codeeditor .editor-code{border-radius:3px}.field-codeeditor.size-tiny{height:50px}.field-codeeditor.size-small{height:100px}.field-codeeditor.size-large{height:200px}.field-codeeditor.size-huge{height:250px}.field-codeeditor.size-giant{height:350px}.field-codeeditor .editor-container{flex-grow:1;flex-shrink:1;height:100%;width:100%}.field-codeeditor .editor-toolbar{align-items:center;background:rgba(0,0,0,.8);display:flex;flex-direction:row;flex-grow:0;flex-shrink:0;font-size:11px;gap:20px;height:24px;padding:2px 8px;position:relative;z-index:10}.field-codeeditor .editor-toolbar:before{background:rgba(0,0,0,.08);content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:9}.field-codeeditor .editor-toolbar.is-dark:before{background:hsla(0,0%,100%,.08)}.field-codeeditor .editor-toolbar>div{z-index:11}.field-codeeditor .editor-toolbar .position{flex-grow:1}.field-codeeditor .editor-toolbar .actions .action{color:inherit;font-size:1.1rem;margin:-2px 0;opacity:.4;padding:0 5px}.field-codeeditor .editor-toolbar .actions .action:hover{opacity:.8}.field-codeeditor .editor-toolbar .actions .action.active{opacity:1}@font-face{font-display:block;font-family:codicon;src:url(../fonts/codicon.ttf?9d44d5a6cc2c9ad0152755e704fa37ba) format("truetype")}.codicon[class*=codicon-]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal normal normal 16px/1 codicon;text-align:center;text-decoration:none;text-rendering:auto;-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}@keyframes codicon-spin{to{transform:rotate(1turn)}}.codicon-gear.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-sync.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.5}.codicon-modifier-hidden{opacity:0}.codicon-loading{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.codicon-add:before,.codicon-gist-new:before,.codicon-plus:before,.codicon-repo-create:before{content:"\ea60"}.codicon-light-bulb:before,.codicon-lightbulb:before{content:"\ea61"}.codicon-repo-delete:before,.codicon-repo:before{content:"\ea62"}.codicon-gist-fork:before,.codicon-repo-forked:before{content:"\ea63"}.codicon-git-pull-request-abandoned:before,.codicon-git-pull-request:before{content:"\ea64"}.codicon-keyboard:before,.codicon-record-keys:before{content:"\ea65"}.codicon-tag-add:before,.codicon-tag-remove:before,.codicon-tag:before{content:"\ea66"}.codicon-person-filled:before,.codicon-person-follow:before,.codicon-person-outline:before,.codicon-person:before{content:"\ea67"}.codicon-git-branch-create:before,.codicon-git-branch-delete:before,.codicon-git-branch:before,.codicon-source-control:before{content:"\ea68"}.codicon-mirror-public:before,.codicon-mirror:before{content:"\ea69"}.codicon-star-add:before,.codicon-star-delete:before,.codicon-star-empty:before,.codicon-star:before{content:"\ea6a"}.codicon-comment-add:before,.codicon-comment:before{content:"\ea6b"}.codicon-alert:before,.codicon-warning:before{content:"\ea6c"}.codicon-search-save:before,.codicon-search:before{content:"\ea6d"}.codicon-log-out:before,.codicon-sign-out:before{content:"\ea6e"}.codicon-log-in:before,.codicon-sign-in:before{content:"\ea6f"}.codicon-eye-unwatch:before,.codicon-eye-watch:before,.codicon-eye:before{content:"\ea70"}.codicon-circle-filled:before,.codicon-close-dirty:before,.codicon-debug-breakpoint-disabled:before,.codicon-debug-breakpoint:before,.codicon-debug-hint:before,.codicon-primitive-dot:before,.codicon-terminal-decoration-success:before{content:"\ea71"}.codicon-primitive-square:before{content:"\ea72"}.codicon-edit:before,.codicon-pencil:before{content:"\ea73"}.codicon-info:before,.codicon-issue-opened:before{content:"\ea74"}.codicon-gist-private:before,.codicon-git-fork-private:before,.codicon-lock:before,.codicon-mirror-private:before{content:"\ea75"}.codicon-close:before,.codicon-remove-close:before,.codicon-x:before{content:"\ea76"}.codicon-repo-sync:before,.codicon-sync:before{content:"\ea77"}.codicon-clone:before,.codicon-desktop-download:before{content:"\ea78"}.codicon-beaker:before,.codicon-microscope:before{content:"\ea79"}.codicon-device-desktop:before,.codicon-vm:before{content:"\ea7a"}.codicon-file-text:before,.codicon-file:before{content:"\ea7b"}.codicon-ellipsis:before,.codicon-kebab-horizontal:before,.codicon-more:before{content:"\ea7c"}.codicon-mail-reply:before,.codicon-reply:before{content:"\ea7d"}.codicon-organization-filled:before,.codicon-organization-outline:before,.codicon-organization:before{content:"\ea7e"}.codicon-file-add:before,.codicon-new-file:before{content:"\ea7f"}.codicon-file-directory-create:before,.codicon-new-folder:before{content:"\ea80"}.codicon-trash:before,.codicon-trashcan:before{content:"\ea81"}.codicon-clock:before,.codicon-history:before{content:"\ea82"}.codicon-file-directory:before,.codicon-folder:before,.codicon-symbol-folder:before{content:"\ea83"}.codicon-github:before,.codicon-logo-github:before,.codicon-mark-github:before{content:"\ea84"}.codicon-console:before,.codicon-repl:before,.codicon-terminal:before{content:"\ea85"}.codicon-symbol-event:before,.codicon-zap:before{content:"\ea86"}.codicon-error:before,.codicon-stop:before{content:"\ea87"}.codicon-symbol-variable:before,.codicon-variable:before{content:"\ea88"}.codicon-array:before,.codicon-symbol-array:before{content:"\ea8a"}.codicon-symbol-module:before,.codicon-symbol-namespace:before,.codicon-symbol-object:before,.codicon-symbol-package:before{content:"\ea8b"}.codicon-symbol-constructor:before,.codicon-symbol-function:before,.codicon-symbol-method:before{content:"\ea8c"}.codicon-symbol-boolean:before,.codicon-symbol-null:before{content:"\ea8f"}.codicon-symbol-number:before,.codicon-symbol-numeric:before{content:"\ea90"}.codicon-symbol-struct:before,.codicon-symbol-structure:before{content:"\ea91"}.codicon-symbol-parameter:before,.codicon-symbol-type-parameter:before{content:"\ea92"}.codicon-symbol-key:before,.codicon-symbol-text:before{content:"\ea93"}.codicon-go-to-file:before,.codicon-symbol-reference:before{content:"\ea94"}.codicon-symbol-enum:before,.codicon-symbol-value:before{content:"\ea95"}.codicon-symbol-ruler:before,.codicon-symbol-unit:before{content:"\ea96"}.codicon-activate-breakpoints:before{content:"\ea97"}.codicon-archive:before{content:"\ea98"}.codicon-arrow-both:before{content:"\ea99"}.codicon-arrow-down:before{content:"\ea9a"}.codicon-arrow-left:before{content:"\ea9b"}.codicon-arrow-right:before{content:"\ea9c"}.codicon-arrow-small-down:before{content:"\ea9d"}.codicon-arrow-small-left:before{content:"\ea9e"}.codicon-arrow-small-right:before{content:"\ea9f"}.codicon-arrow-small-up:before{content:"\eaa0"}.codicon-arrow-up:before{content:"\eaa1"}.codicon-bell:before{content:"\eaa2"}.codicon-bold:before{content:"\eaa3"}.codicon-book:before{content:"\eaa4"}.codicon-bookmark:before{content:"\eaa5"}.codicon-debug-breakpoint-conditional-unverified:before{content:"\eaa6"}.codicon-debug-breakpoint-conditional-disabled:before,.codicon-debug-breakpoint-conditional:before{content:"\eaa7"}.codicon-debug-breakpoint-data-unverified:before{content:"\eaa8"}.codicon-debug-breakpoint-data-disabled:before,.codicon-debug-breakpoint-data:before{content:"\eaa9"}.codicon-debug-breakpoint-log-unverified:before{content:"\eaaa"}.codicon-debug-breakpoint-log-disabled:before,.codicon-debug-breakpoint-log:before{content:"\eaab"}.codicon-briefcase:before{content:"\eaac"}.codicon-broadcast:before{content:"\eaad"}.codicon-browser:before{content:"\eaae"}.codicon-bug:before{content:"\eaaf"}.codicon-calendar:before{content:"\eab0"}.codicon-case-sensitive:before{content:"\eab1"}.codicon-check:before{content:"\eab2"}.codicon-checklist:before{content:"\eab3"}.codicon-chevron-down:before{content:"\eab4"}.codicon-chevron-left:before{content:"\eab5"}.codicon-chevron-right:before{content:"\eab6"}.codicon-chevron-up:before{content:"\eab7"}.codicon-chrome-close:before{content:"\eab8"}.codicon-chrome-maximize:before{content:"\eab9"}.codicon-chrome-minimize:before{content:"\eaba"}.codicon-chrome-restore:before{content:"\eabb"}.codicon-circle-outline:before,.codicon-circle:before,.codicon-debug-breakpoint-unverified:before,.codicon-terminal-decoration-incomplete:before{content:"\eabc"}.codicon-circle-slash:before{content:"\eabd"}.codicon-circuit-board:before{content:"\eabe"}.codicon-clear-all:before{content:"\eabf"}.codicon-clippy:before{content:"\eac0"}.codicon-close-all:before{content:"\eac1"}.codicon-cloud-download:before{content:"\eac2"}.codicon-cloud-upload:before{content:"\eac3"}.codicon-code:before{content:"\eac4"}.codicon-collapse-all:before{content:"\eac5"}.codicon-color-mode:before{content:"\eac6"}.codicon-comment-discussion:before{content:"\eac7"}.codicon-credit-card:before{content:"\eac9"}.codicon-dash:before{content:"\eacc"}.codicon-dashboard:before{content:"\eacd"}.codicon-database:before{content:"\eace"}.codicon-debug-continue:before{content:"\eacf"}.codicon-debug-disconnect:before{content:"\ead0"}.codicon-debug-pause:before{content:"\ead1"}.codicon-debug-restart:before{content:"\ead2"}.codicon-debug-start:before{content:"\ead3"}.codicon-debug-step-into:before{content:"\ead4"}.codicon-debug-step-out:before{content:"\ead5"}.codicon-debug-step-over:before{content:"\ead6"}.codicon-debug-stop:before{content:"\ead7"}.codicon-debug:before{content:"\ead8"}.codicon-device-camera-video:before{content:"\ead9"}.codicon-device-camera:before{content:"\eada"}.codicon-device-mobile:before{content:"\eadb"}.codicon-diff-added:before{content:"\eadc"}.codicon-diff-ignored:before{content:"\eadd"}.codicon-diff-modified:before{content:"\eade"}.codicon-diff-removed:before{content:"\eadf"}.codicon-diff-renamed:before{content:"\eae0"}.codicon-diff:before{content:"\eae1"}.codicon-discard:before{content:"\eae2"}.codicon-editor-layout:before{content:"\eae3"}.codicon-empty-window:before{content:"\eae4"}.codicon-exclude:before{content:"\eae5"}.codicon-extensions:before{content:"\eae6"}.codicon-eye-closed:before{content:"\eae7"}.codicon-file-binary:before{content:"\eae8"}.codicon-file-code:before{content:"\eae9"}.codicon-file-media:before{content:"\eaea"}.codicon-file-pdf:before{content:"\eaeb"}.codicon-file-submodule:before{content:"\eaec"}.codicon-file-symlink-directory:before{content:"\eaed"}.codicon-file-symlink-file:before{content:"\eaee"}.codicon-file-zip:before{content:"\eaef"}.codicon-files:before{content:"\eaf0"}.codicon-filter:before{content:"\eaf1"}.codicon-flame:before{content:"\eaf2"}.codicon-fold-down:before{content:"\eaf3"}.codicon-fold-up:before{content:"\eaf4"}.codicon-fold:before{content:"\eaf5"}.codicon-folder-active:before{content:"\eaf6"}.codicon-folder-opened:before{content:"\eaf7"}.codicon-gear:before{content:"\eaf8"}.codicon-gift:before{content:"\eaf9"}.codicon-gist-secret:before{content:"\eafa"}.codicon-gist:before{content:"\eafb"}.codicon-git-commit:before{content:"\eafc"}.codicon-compare-changes:before,.codicon-git-compare:before{content:"\eafd"}.codicon-git-merge:before{content:"\eafe"}.codicon-github-action:before{content:"\eaff"}.codicon-github-alt:before{content:"\eb00"}.codicon-globe:before{content:"\eb01"}.codicon-grabber:before{content:"\eb02"}.codicon-graph:before{content:"\eb03"}.codicon-gripper:before{content:"\eb04"}.codicon-heart:before{content:"\eb05"}.codicon-home:before{content:"\eb06"}.codicon-horizontal-rule:before{content:"\eb07"}.codicon-hubot:before{content:"\eb08"}.codicon-inbox:before{content:"\eb09"}.codicon-issue-reopened:before{content:"\eb0b"}.codicon-issues:before{content:"\eb0c"}.codicon-italic:before{content:"\eb0d"}.codicon-jersey:before{content:"\eb0e"}.codicon-json:before{content:"\eb0f"}.codicon-kebab-vertical:before{content:"\eb10"}.codicon-key:before{content:"\eb11"}.codicon-law:before{content:"\eb12"}.codicon-lightbulb-autofix:before{content:"\eb13"}.codicon-link-external:before{content:"\eb14"}.codicon-link:before{content:"\eb15"}.codicon-list-ordered:before{content:"\eb16"}.codicon-list-unordered:before{content:"\eb17"}.codicon-live-share:before{content:"\eb18"}.codicon-loading:before{content:"\eb19"}.codicon-location:before{content:"\eb1a"}.codicon-mail-read:before{content:"\eb1b"}.codicon-mail:before{content:"\eb1c"}.codicon-markdown:before{content:"\eb1d"}.codicon-megaphone:before{content:"\eb1e"}.codicon-mention:before{content:"\eb1f"}.codicon-milestone:before{content:"\eb20"}.codicon-mortar-board:before{content:"\eb21"}.codicon-move:before{content:"\eb22"}.codicon-multiple-windows:before{content:"\eb23"}.codicon-mute:before{content:"\eb24"}.codicon-no-newline:before{content:"\eb25"}.codicon-note:before{content:"\eb26"}.codicon-octoface:before{content:"\eb27"}.codicon-open-preview:before{content:"\eb28"}.codicon-package:before{content:"\eb29"}.codicon-paintcan:before{content:"\eb2a"}.codicon-pin:before{content:"\eb2b"}.codicon-play:before,.codicon-run:before{content:"\eb2c"}.codicon-plug:before{content:"\eb2d"}.codicon-preserve-case:before{content:"\eb2e"}.codicon-preview:before{content:"\eb2f"}.codicon-project:before{content:"\eb30"}.codicon-pulse:before{content:"\eb31"}.codicon-question:before{content:"\eb32"}.codicon-quote:before{content:"\eb33"}.codicon-radio-tower:before{content:"\eb34"}.codicon-reactions:before{content:"\eb35"}.codicon-references:before{content:"\eb36"}.codicon-refresh:before{content:"\eb37"}.codicon-regex:before{content:"\eb38"}.codicon-remote-explorer:before{content:"\eb39"}.codicon-remote:before{content:"\eb3a"}.codicon-remove:before{content:"\eb3b"}.codicon-replace-all:before{content:"\eb3c"}.codicon-replace:before{content:"\eb3d"}.codicon-repo-clone:before{content:"\eb3e"}.codicon-repo-force-push:before{content:"\eb3f"}.codicon-repo-pull:before{content:"\eb40"}.codicon-repo-push:before{content:"\eb41"}.codicon-report:before{content:"\eb42"}.codicon-request-changes:before{content:"\eb43"}.codicon-rocket:before{content:"\eb44"}.codicon-root-folder-opened:before{content:"\eb45"}.codicon-root-folder:before{content:"\eb46"}.codicon-rss:before{content:"\eb47"}.codicon-ruby:before{content:"\eb48"}.codicon-save-all:before{content:"\eb49"}.codicon-save-as:before{content:"\eb4a"}.codicon-save:before{content:"\eb4b"}.codicon-screen-full:before{content:"\eb4c"}.codicon-screen-normal:before{content:"\eb4d"}.codicon-search-stop:before{content:"\eb4e"}.codicon-server:before{content:"\eb50"}.codicon-settings-gear:before{content:"\eb51"}.codicon-settings:before{content:"\eb52"}.codicon-shield:before{content:"\eb53"}.codicon-smiley:before{content:"\eb54"}.codicon-sort-precedence:before{content:"\eb55"}.codicon-split-horizontal:before{content:"\eb56"}.codicon-split-vertical:before{content:"\eb57"}.codicon-squirrel:before{content:"\eb58"}.codicon-star-full:before{content:"\eb59"}.codicon-star-half:before{content:"\eb5a"}.codicon-symbol-class:before{content:"\eb5b"}.codicon-symbol-color:before{content:"\eb5c"}.codicon-symbol-constant:before{content:"\eb5d"}.codicon-symbol-enum-member:before{content:"\eb5e"}.codicon-symbol-field:before{content:"\eb5f"}.codicon-symbol-file:before{content:"\eb60"}.codicon-symbol-interface:before{content:"\eb61"}.codicon-symbol-keyword:before{content:"\eb62"}.codicon-symbol-misc:before{content:"\eb63"}.codicon-symbol-operator:before{content:"\eb64"}.codicon-symbol-property:before,.codicon-wrench-subaction:before,.codicon-wrench:before{content:"\eb65"}.codicon-symbol-snippet:before{content:"\eb66"}.codicon-tasklist:before{content:"\eb67"}.codicon-telescope:before{content:"\eb68"}.codicon-text-size:before{content:"\eb69"}.codicon-three-bars:before{content:"\eb6a"}.codicon-thumbsdown:before{content:"\eb6b"}.codicon-thumbsup:before{content:"\eb6c"}.codicon-tools:before{content:"\eb6d"}.codicon-triangle-down:before{content:"\eb6e"}.codicon-triangle-left:before{content:"\eb6f"}.codicon-triangle-right:before{content:"\eb70"}.codicon-triangle-up:before{content:"\eb71"}.codicon-twitter:before{content:"\eb72"}.codicon-unfold:before{content:"\eb73"}.codicon-unlock:before{content:"\eb74"}.codicon-unmute:before{content:"\eb75"}.codicon-unverified:before{content:"\eb76"}.codicon-verified:before{content:"\eb77"}.codicon-versions:before{content:"\eb78"}.codicon-vm-active:before{content:"\eb79"}.codicon-vm-outline:before{content:"\eb7a"}.codicon-vm-running:before{content:"\eb7b"}.codicon-watch:before{content:"\eb7c"}.codicon-whitespace:before{content:"\eb7d"}.codicon-whole-word:before{content:"\eb7e"}.codicon-window:before{content:"\eb7f"}.codicon-word-wrap:before{content:"\eb80"}.codicon-zoom-in:before{content:"\eb81"}.codicon-zoom-out:before{content:"\eb82"}.codicon-list-filter:before{content:"\eb83"}.codicon-list-flat:before{content:"\eb84"}.codicon-list-selection:before,.codicon-selection:before{content:"\eb85"}.codicon-list-tree:before{content:"\eb86"}.codicon-debug-breakpoint-function-unverified:before{content:"\eb87"}.codicon-debug-breakpoint-function-disabled:before,.codicon-debug-breakpoint-function:before{content:"\eb88"}.codicon-debug-stackframe-active:before{content:"\eb89"}.codicon-circle-small-filled:before,.codicon-debug-stackframe-dot:before,.codicon-terminal-decoration-mark:before{content:"\eb8a"}.codicon-debug-stackframe-focused:before,.codicon-debug-stackframe:before{content:"\eb8b"}.codicon-debug-breakpoint-unsupported:before{content:"\eb8c"}.codicon-symbol-string:before{content:"\eb8d"}.codicon-debug-reverse-continue:before{content:"\eb8e"}.codicon-debug-step-back:before{content:"\eb8f"}.codicon-debug-restart-frame:before{content:"\eb90"}.codicon-debug-alt:before{content:"\eb91"}.codicon-call-incoming:before{content:"\eb92"}.codicon-call-outgoing:before{content:"\eb93"}.codicon-menu:before{content:"\eb94"}.codicon-expand-all:before{content:"\eb95"}.codicon-feedback:before{content:"\eb96"}.codicon-group-by-ref-type:before{content:"\eb97"}.codicon-ungroup-by-ref-type:before{content:"\eb98"}.codicon-account:before{content:"\eb99"}.codicon-bell-dot:before{content:"\eb9a"}.codicon-debug-console:before{content:"\eb9b"}.codicon-library:before{content:"\eb9c"}.codicon-output:before{content:"\eb9d"}.codicon-run-all:before{content:"\eb9e"}.codicon-sync-ignored:before{content:"\eb9f"}.codicon-pinned:before{content:"\eba0"}.codicon-github-inverted:before{content:"\eba1"}.codicon-server-process:before{content:"\eba2"}.codicon-server-environment:before{content:"\eba3"}.codicon-issue-closed:before,.codicon-pass:before{content:"\eba4"}.codicon-stop-circle:before{content:"\eba5"}.codicon-play-circle:before{content:"\eba6"}.codicon-record:before{content:"\eba7"}.codicon-debug-alt-small:before{content:"\eba8"}.codicon-vm-connect:before{content:"\eba9"}.codicon-cloud:before{content:"\ebaa"}.codicon-merge:before{content:"\ebab"}.codicon-export:before{content:"\ebac"}.codicon-graph-left:before{content:"\ebad"}.codicon-magnet:before{content:"\ebae"}.codicon-notebook:before{content:"\ebaf"}.codicon-redo:before{content:"\ebb0"}.codicon-check-all:before{content:"\ebb1"}.codicon-pinned-dirty:before{content:"\ebb2"}.codicon-pass-filled:before{content:"\ebb3"}.codicon-circle-large-filled:before{content:"\ebb4"}.codicon-circle-large-outline:before,.codicon-circle-large:before{content:"\ebb5"}.codicon-combine:before,.codicon-gather:before{content:"\ebb6"}.codicon-table:before{content:"\ebb7"}.codicon-variable-group:before{content:"\ebb8"}.codicon-type-hierarchy:before{content:"\ebb9"}.codicon-type-hierarchy-sub:before{content:"\ebba"}.codicon-type-hierarchy-super:before{content:"\ebbb"}.codicon-git-pull-request-create:before{content:"\ebbc"}.codicon-run-above:before{content:"\ebbd"}.codicon-run-below:before{content:"\ebbe"}.codicon-notebook-template:before{content:"\ebbf"}.codicon-debug-rerun:before{content:"\ebc0"}.codicon-workspace-trusted:before{content:"\ebc1"}.codicon-workspace-untrusted:before{content:"\ebc2"}.codicon-workspace-unknown:before{content:"\ebc3"}.codicon-terminal-cmd:before{content:"\ebc4"}.codicon-terminal-debian:before{content:"\ebc5"}.codicon-terminal-linux:before{content:"\ebc6"}.codicon-terminal-powershell:before{content:"\ebc7"}.codicon-terminal-tmux:before{content:"\ebc8"}.codicon-terminal-ubuntu:before{content:"\ebc9"}.codicon-terminal-bash:before{content:"\ebca"}.codicon-arrow-swap:before{content:"\ebcb"}.codicon-copy:before{content:"\ebcc"}.codicon-person-add:before{content:"\ebcd"}.codicon-filter-filled:before{content:"\ebce"}.codicon-wand:before{content:"\ebcf"}.codicon-debug-line-by-line:before{content:"\ebd0"}.codicon-inspect:before{content:"\ebd1"}.codicon-layers:before{content:"\ebd2"}.codicon-layers-dot:before{content:"\ebd3"}.codicon-layers-active:before{content:"\ebd4"}.codicon-compass:before{content:"\ebd5"}.codicon-compass-dot:before{content:"\ebd6"}.codicon-compass-active:before{content:"\ebd7"}.codicon-azure:before{content:"\ebd8"}.codicon-issue-draft:before{content:"\ebd9"}.codicon-git-pull-request-closed:before{content:"\ebda"}.codicon-git-pull-request-draft:before{content:"\ebdb"}.codicon-debug-all:before{content:"\ebdc"}.codicon-debug-coverage:before{content:"\ebdd"}.codicon-run-errors:before{content:"\ebde"}.codicon-folder-library:before{content:"\ebdf"}.codicon-debug-continue-small:before{content:"\ebe0"}.codicon-beaker-stop:before{content:"\ebe1"}.codicon-graph-line:before{content:"\ebe2"}.codicon-graph-scatter:before{content:"\ebe3"}.codicon-pie-chart:before{content:"\ebe4"}.codicon-bracket:before{content:"\eb0f"}.codicon-bracket-dot:before{content:"\ebe5"}.codicon-bracket-error:before{content:"\ebe6"}.codicon-lock-small:before{content:"\ebe7"}.codicon-azure-devops:before{content:"\ebe8"}.codicon-verified-filled:before{content:"\ebe9"}.codicon-newline:before{content:"\ebea"}.codicon-layout:before{content:"\ebeb"}.codicon-layout-activitybar-left:before{content:"\ebec"}.codicon-layout-activitybar-right:before{content:"\ebed"}.codicon-layout-panel-left:before{content:"\ebee"}.codicon-layout-panel-center:before{content:"\ebef"}.codicon-layout-panel-justify:before{content:"\ebf0"}.codicon-layout-panel-right:before{content:"\ebf1"}.codicon-layout-panel:before{content:"\ebf2"}.codicon-layout-sidebar-left:before{content:"\ebf3"}.codicon-layout-sidebar-right:before{content:"\ebf4"}.codicon-layout-statusbar:before{content:"\ebf5"}.codicon-layout-menubar:before{content:"\ebf6"}.codicon-layout-centered:before{content:"\ebf7"}.codicon-target:before{content:"\ebf8"}.codicon-indent:before{content:"\ebf9"}.codicon-record-small:before{content:"\ebfa"}.codicon-error-small:before,.codicon-terminal-decoration-error:before{content:"\ebfb"}.codicon-arrow-circle-down:before{content:"\ebfc"}.codicon-arrow-circle-left:before{content:"\ebfd"}.codicon-arrow-circle-right:before{content:"\ebfe"}.codicon-arrow-circle-up:before{content:"\ebff"}.codicon-layout-sidebar-right-off:before{content:"\ec00"}.codicon-layout-panel-off:before{content:"\ec01"}.codicon-layout-sidebar-left-off:before{content:"\ec02"}.codicon-blank:before{content:"\ec03"}.codicon-heart-filled:before{content:"\ec04"}.codicon-map:before{content:"\ec05"}.codicon-map-filled:before{content:"\ec06"}.codicon-circle-small:before{content:"\ec07"}.codicon-bell-slash:before{content:"\ec08"}.codicon-bell-slash-dot:before{content:"\ec09"}.codicon-comment-unresolved:before{content:"\ec0a"}.codicon-git-pull-request-go-to-changes:before{content:"\ec0b"}.codicon-git-pull-request-new-changes:before{content:"\ec0c"}.codicon-search-fuzzy:before{content:"\ec0d"}.codicon-comment-draft:before{content:"\ec0e"} diff --git a/modules/backend/formwidgets/codeeditor/assets/fonts/codicon.ttf b/modules/backend/formwidgets/codeeditor/assets/fonts/codicon.ttf new file mode 100644 index 0000000000..6d9ce31e08 Binary files /dev/null and b/modules/backend/formwidgets/codeeditor/assets/fonts/codicon.ttf differ diff --git a/modules/backend/formwidgets/codeeditor/assets/js/build.js b/modules/backend/formwidgets/codeeditor/assets/js/build.js deleted file mode 100644 index 2ec24991ad..0000000000 --- a/modules/backend/formwidgets/codeeditor/assets/js/build.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * This is a bundle file, you can compile this by running - * - * php artisan winter:util compile assets - * - * @see build-min.js - * - * Current Ace build v1.2.3 using "src-noconflict" - * https://github.com/ajaxorg/ace-builds/ - * - -=require ../vendor/emmet/emmet.js -=require ../vendor/ace/ace.js -=require ../vendor/ace/ext-emmet.js -=require ../vendor/ace/ext-language_tools.js -=require ../vendor/ace/mode-php.js -=require ../vendor/ace/mode-twig.js -=require ../vendor/ace/mode-markdown.js -=require ../vendor/ace/mode-plain_text.js -=require ../vendor/ace/mode-html.js -=require ../vendor/ace/mode-less.js -=require ../vendor/ace/mode-css.js -=require ../vendor/ace/mode-scss.js -=require ../vendor/ace/mode-sass.js -=require ../vendor/ace/mode-yaml.js -=require ../vendor/ace/mode-javascript.js - -=require codeeditor.js - -*/ diff --git a/modules/backend/formwidgets/codeeditor/assets/js/build/codeeditor.bundle.js b/modules/backend/formwidgets/codeeditor/assets/js/build/codeeditor.bundle.js new file mode 100644 index 0000000000..2a8eed0e73 --- /dev/null +++ b/modules/backend/formwidgets/codeeditor/assets/js/build/codeeditor.bundle.js @@ -0,0 +1,136 @@ +!function(){var e,t,i={77:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .margin-view-overlays .cmdr{height:100%;left:0;position:absolute;width:100%}",""]),t.A=o},163:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .parameter-hints-widget{cursor:default;display:flex;flex-direction:column;line-height:1.5em;z-index:39}.monaco-editor .parameter-hints-widget>.phwrapper{display:flex;flex-direction:row;max-width:440px}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.visible{transition:left .05s ease-in-out}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .body,.monaco-editor .parameter-hints-widget .monaco-scrollable-element{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:normal}.monaco-editor .parameter-hints-widget .docs .markdown-docs a:hover{cursor:pointer}.monaco-editor .parameter-hints-widget .docs .markdown-docs code{font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .docs .code,.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs code{border-radius:3px;padding:0 .4em}.monaco-editor .parameter-hints-widget .controls{align-items:center;display:none;flex-direction:column;justify-content:flex-end;min-width:22px}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{background-repeat:no-repeat;cursor:pointer;height:16px;width:16px}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{font-family:var(--monaco-monospace-font);height:12px;line-height:12px;text-align:center}.monaco-editor .parameter-hints-widget .signature .parameter.active{font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}",""]),t.A=o},170:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.monaco-keybinding>.monaco-keybinding-key{background-color:hsla(0,0%,87%,.4);border:1px solid hsla(0,0%,80%,.4);border-bottom-color:hsla(0,0%,73%,.4);box-shadow:inset 0 -1px 0 hsla(0,0%,73%,.4);color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:1px solid #6fc3df;box-shadow:none;color:#fff}.hc-light .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:1px solid #0f4a85;box-shadow:none;color:#292929}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:hsla(0,0%,50%,.17);border:1px solid rgba(51,51,51,.6);border-bottom-color:rgba(68,68,68,.6);box-shadow:inset 0 -1px 0 rgba(68,68,68,.6);color:#ccc}",""]),t.A=o},186:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i}).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var s=0;s.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}',""]),t.A=o},298:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-action-bar{height:100%;white-space:nowrap}.monaco-action-bar .actions-container{align-items:center;display:flex;height:100%;margin:0 auto;padding:0;width:100%}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{align-items:center;cursor:pointer;display:block;justify-content:center;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .codicon,.monaco-action-bar .action-item .icon{display:block}.monaco-action-bar .action-item .codicon{align-items:center;display:flex;height:16px;width:16px}.monaco-action-bar .action-label{border-radius:5px;font-size:11px;padding:3px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.6}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{border-bottom:1px solid #bbb;display:block;margin-left:.8em;margin-right:.8em;padding-top:1px}.monaco-action-bar .action-item .action-label.separator{background-color:#bbb;cursor:default;height:16px;margin:5px 4px!important;min-width:1px;padding:0;width:1px}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{align-items:center;display:flex;flex:1;justify-content:center;margin-right:10px;max-width:170px;min-width:60px;overflow:hidden}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-label{margin-right:1px}",""]),t.A=o},511:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,'.codeActionMenuWidget{background-color:var(--vscode-menu-background);border-color:none;border-radius:5px;border-width:0;box-shadow:0 2px 8px rgb(0,0,0,16%);color:var(--vscode-menu-foreground);display:block;font-size:13px;min-width:160px;overflow:auto;padding:8px 0;width:100%;z-index:40}.codeActionMenuWidget .monaco-list:not(.element-focused):focus:before{content:"";height:100%;left:0;outline:0 solid!important;outline-offset:0!important;outline-style:none!important;outline-width:0!important;pointer-events:none;position:absolute;top:0;width:100%;z-index:5}.codeActionMenuWidget .monaco-list{border:0!important;-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.codeActionMenuWidget .monaco-list .monaco-scrollable-element .monaco-list-rows{height:100%!important}.codeActionMenuWidget .monaco-list .monaco-scrollable-element{overflow:visible}.codeActionMenuWidget .monaco-list .monaco-list-row:not(.separator){background-position:2px 2px;background-repeat:no-repeat;-mox-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:flex;padding:0 26px;touch-action:none;white-space:nowrap;width:100%}.codeActionMenuWidget .monaco-list .monaco-list-row:hover:not(.option-disabled),.codeActionMenuWidget .monaco-list .moncao-list-row.focused:not(.option-disabled){background-color:var(--vscode-menu-selectionBackground)!important;color:var(--vscode-menu-selectionForeground)!important}.codeActionMenuWidget .monaco-list .option-disabled,.codeActionMenuWidget .monaco-list .option-disabled .focused{-webkit-touch-callout:none;color:var(--vscode-disabledForeground)!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.codeActionMenuWidget .monaco-list .separator{background-position:2px 2px;background-repeat:no-repeat;border-bottom:1px solid var(--vscode-menu-separatorBackground);border-radius:0;-mox-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:flex;font-size:inherit;height:0!important;margin:5px 0!important;opacity:1;padding-top:0!important;touch-action:none;white-space:nowrap;width:100%}',""]),t.A=o},710:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,'.monaco-split-view2{height:100%;position:relative;width:100%}.monaco-split-view2>.sash-container{height:100%;pointer-events:none;position:absolute;width:100%}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:auto}.monaco-split-view2>.monaco-scrollable-element{height:100%;width:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{height:100%;position:relative;white-space:nowrap;width:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{position:absolute;white-space:normal}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{background-color:var(--separator-border);content:" ";left:0;pointer-events:none;position:absolute;top:0;z-index:5}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}',""]),t.A=o},814:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-mouse-cursor-text{cursor:text}",""]),t.A=o},1098:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,'.monaco-hover{animation:fadein .1s linear;box-sizing:initial;cursor:default;line-height:1.5em;overflow:hidden;position:absolute;-moz-user-select:text;user-select:text;-webkit-user-select:text;-ms-user-select:text;z-index:50}.monaco-hover.hidden{display:none}.monaco-hover a:hover{cursor:pointer}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){word-wrap:break-word;max-width:500px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover .code,.monaco-hover p,.monaco-hover ul{margin:8px 0}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{border-left:0;border-right:0;box-sizing:border-box;height:1px;margin:4px -8px -4px}.monaco-hover .code:first-child,.monaco-hover p:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover .code:last-child,.monaco-hover p:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ol,.monaco-hover ul{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.monaco-hover .hover-row.status-bar .actions .action-container{cursor:pointer;margin-right:16px}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link,.monaco-hover .hover-contents a.code-link:hover{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{border-bottom:1px solid transparent;text-decoration:underline;text-underline-position:under}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{display:inline-block;margin-bottom:4px}.monaco-hover-content .action-container a{-webkit-user-select:none;-moz-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{cursor:default;opacity:.4;pointer-events:none}',""]),t.A=o},1368:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-custom-toggle{border:1px solid transparent;border-radius:3px;box-sizing:border-box;cursor:pointer;float:left;height:20px;margin-left:2px;overflow:hidden;padding:1px;-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none;width:20px}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle,.hc-light .monaco-custom-toggle:hover{background:none}.monaco-custom-toggle.monaco-checkbox{background-size:16px!important;border:1px solid transparent;border-radius:3px;height:18px;margin-left:0;margin-right:9px;opacity:1;padding:0;width:18px}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}",""]),t.A=o},1504:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-list{height:100%;position:relative;white-space:nowrap;width:100%}.monaco-list.mouse-support{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{height:100%;position:relative;width:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{min-width:100%;width:auto}.monaco-list-row{box-sizing:border-box;overflow:hidden;position:absolute;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-multiple,.monaco-list.selection-single{outline:0!important}.monaco-drag-image{border-radius:10px;display:inline-block;font-size:12px;padding:1px 7px;position:absolute;z-index:1000}.monaco-list-type-filter-message{box-sizing:border-box;height:100%;left:0;opacity:.7;padding:40px 1em 1em;pointer-events:none;position:absolute;text-align:center;top:0;white-space:normal;width:100%}.monaco-list-type-filter-message:empty{display:none}",""]),t.A=o},1713:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .bracket-match{box-sizing:border-box}",""]),t.A=o},1742:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(1turn)}}.codicon-gear.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin,.codicon-sync.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}",""]),t.A=o},2239:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .find-widget{box-sizing:border-box;height:33px;line-height:19px;overflow:hidden;padding:0 4px;position:absolute;transform:translateY(calc(-100% - 10px));transition:transform .2s linear;z-index:35}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform 0ms linear}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{display:flex;font-size:12px;margin:4px 0 0 17px}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-bottom:2px;padding-top:2px}.monaco-editor .find-widget>.find-part .find-actions,.monaco-editor .find-widget>.replace-part .replace-actions{align-items:center;display:flex;height:25px}.monaco-editor .find-widget .monaco-findInput{display:flex;flex:1;vertical-align:middle}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{box-sizing:border-box;display:flex;flex:initial;height:25px;line-height:23px;margin:0 0 0 3px;padding:2px 0 0 2px;text-align:center;vertical-align:middle}.monaco-editor .find-widget .button{align-items:center;background-position:50%;background-repeat:no-repeat;border-radius:5px;cursor:pointer;display:flex;flex:initial;height:16px;justify-content:center;margin-left:3px;padding:3px;width:16px}.monaco-editor .find-widget .codicon-find-selection{border-radius:5px;height:22px;padding:3px;width:22px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{padding:1px 6px;top:-1px;width:auto}.monaco-editor .find-widget .button.toggle{border-radius:0;box-sizing:border-box;height:100%;left:3px;position:absolute;top:0;width:18px}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{color:var(--vscode-disabledForeground);cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{display:flex;flex:auto;flex-grow:0;flex-shrink:0;position:relative;vertical-align:middle}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;right:2px;top:3px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{left:2px;position:relative;top:1px}",""]),t.A=o},2269:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{overflow:hidden;position:absolute}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:transparent!important;border-style:solid;border-width:1px;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{background:transparent!important;border-bottom-style:solid;border-bottom-width:2px;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{background:transparent!important;border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}",""]),t.A=o},2335:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .blockDecorations-container{position:absolute;top:0}.monaco-editor .blockDecorations-block{box-sizing:border-box;position:absolute}",""]),t.A=o},2362:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,':root{--sash-size:4px}.monaco-sash{position:absolute;touch-action:none;z-index:35}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;height:100%;top:0;width:var(--sash-size)}.monaco-sash.horizontal{cursor:ns-resize;height:var(--sash-size);left:0;width:100%}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";cursor:all-scroll;display:block;height:calc(var(--sash-size)*2);position:absolute;width:calc(var(--sash-size)*2);z-index:100}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--sash-size)*-.5);top:calc(var(--sash-size)*-1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{bottom:calc(var(--sash-size)*-1);left:calc(var(--sash-size)*-.5)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{left:calc(var(--sash-size)*-1);top:calc(var(--sash-size)*-.5)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{right:calc(var(--sash-size)*-1);top:calc(var(--sash-size)*-.5)}.monaco-sash:before{background:transparent;content:"";height:100%;pointer-events:none;position:absolute;transition:background-color .1s ease-out;width:100%}.monaco-sash.vertical:before{left:calc(50% - var(--sash-hover-size)/2);width:var(--sash-hover-size)}.monaco-sash.horizontal:before{height:var(--sash-hover-size);top:calc(50% - var(--sash-hover-size)/2)}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:cyan}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}',""]),t.A=o},2433:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .overlayWidgets{left:0;position:absolute;top:0}",""]),t.A=o},2474:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{border-radius:5px;display:flex!important;flex-direction:row}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;line-height:16px;margin-left:-3px;padding-left:0;padding-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{background-position:50%;background-repeat:no-repeat;background-size:16px;display:block}",""]),t.A=o},2541:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{background-color:var(--vscode-inputValidation-infoBackground);border:1px solid var(--vscode-inputValidation-infoBorder);color:var(--vscode-inputValidation-infoForeground);padding:1px 4px}.monaco-editor.hc-black .monaco-editor-overlaymessage .message,.monaco-editor.hc-light .monaco-editor-overlaymessage .message{border-width:2px}.monaco-editor .monaco-editor-overlaymessage .anchor{border:8px solid transparent;height:0!important;position:absolute;width:0!important;z-index:1000}.monaco-editor .monaco-editor-overlaymessage .anchor.top{border-bottom-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage .anchor.below{border-top-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage.below .anchor.below,.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}",""]),t.A=o},2577:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .lines-content .cdr{position:absolute}",""]),t.A=o},2584:function(){},2939:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .goto-definition-link{cursor:pointer;text-decoration:underline}",""]),t.A=o},3365:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,'.colorpicker-widget{height:190px;-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.colorpicker-color-decoration,.hc-light .colorpicker-color-decoration{border:.1em solid #000;box-sizing:border-box;cursor:pointer;display:inline-block;height:.8em;line-height:.8em;margin:.1em .2em 0;width:.8em}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:.1em solid #eee}.colorpicker-header{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");background-size:9px 9px;display:flex;height:24px;image-rendering:pixelated;position:relative}.colorpicker-header .picked-color{align-items:center;color:#fff;cursor:pointer;display:flex;flex:1;justify-content:center;line-height:24px;width:216px}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px;left:8px;position:absolute}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{cursor:pointer;width:74px;z-index:inherit}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{flex:1;height:150px;min-width:220px;overflow:hidden;position:relative}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{border:1px solid #fff;border-radius:100%;box-shadow:0 0 2px rgba(0,0,0,.8);height:9px;margin:-5px 0 0 -5px;position:absolute;width:9px}.colorpicker-body .strip{height:150px;width:25px}.colorpicker-body .hue-strip{background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);cursor:grab;margin-left:8px;position:relative}.colorpicker-body .opacity-strip{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");background-size:9px 9px;cursor:grab;image-rendering:pixelated;margin-left:8px;position:relative}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{border:1px solid hsla(0,0%,100%,.71);box-shadow:0 0 1px rgba(0,0,0,.85);box-sizing:border-box;height:4px;left:-2px;position:absolute;top:0;width:calc(100% + 4px)}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}',""]),t.A=o},3389:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-bottom-style:solid;border-bottom-width:0;border-top-style:solid;border-top-width:0;position:relative}",""]),t.A=o},3758:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".context-view{position:absolute}.context-view.fixed{all:initial;color:inherit;font-family:inherit;font-size:13px;position:fixed}",""]),t.A=o},3800:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-count-badge{border-radius:11px;box-sizing:border-box;display:inline-block;font-size:11px;font-weight:400;line-height:11px;min-height:18px;min-width:18px;padding:3px 6px;text-align:center}.monaco-count-badge.long{border-radius:2px;line-height:normal;min-height:auto;padding:2px 3px}",""]),t.A=o},3985:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .view-ruler{position:absolute;top:0}",""]),t.A=o},4010:function(e,t,i){"use strict";var n={initWith:function(e){const t=document.createElement("div"),i=e.editor.create(t),n=i.constructor.name,o=i.getModel().constructor.name;return{isInstanceValid:function(e){return e.constructor.name===n},isModelValid:function(e){return e.constructor.name===o},isRangesValid:function(e){return!!Array.isArray(e)&&e.every(function(e){return"object"==typeof e&&"Object"===e.constructor.name&&(!!e.hasOwnProperty("range")&&(!!Array.isArray(e.range)&&(4===e.range.length&&(!!e.range.every(e=>e>0&&parseInt(e)===e)&&((!e.hasOwnProperty("allowMultiline")||"boolean"==typeof e.allowMultiline)&&((!e.hasOwnProperty("label")||"string"==typeof e.label)&&(!e.hasOwnProperty("validate")||"function"==typeof e.validate)))))))})}}}};const o=function(e,t,i){return"The value for the "+t+" should be of type "+(Array.isArray(e)?e.join(" | "):e)+". "+(i||"")};var s=function(){const e=function(e,t){return"object"!=typeof e||null===e?this.freeze?Object.freeze(e):e:e instanceof Date?this.freeze?Object.freeze(new Date(e)):new Date(e):t.call(this,e)},t=function(t,i){const n=Object.keys(t),o=new Array(n.length);for(let s=0;s=this[i])&&(e-=this[i]),t}.bind(this),{})},t=Object.create(Object.defineProperties({},{withProto:{value:1},freeze:{value:2}}));for(let i=0;i<=3;i++)e.call(t,i);return t}(),o={withProto:i.bind(n[1]),andFreeze:i.bind(n[2]),withProtoAndFreeze:i.bind(n[3])},s=i.bind(n[0]);for(let e in o)Object.defineProperty(s,e,{enumerable:!1,writable:!1,configurable:!1,value:o[e]});return s}();var r={SINGLE_LINE_HIGHLIGHT_CLASS:"editableArea--single-line",MULTI_LINE_HIGHLIGHT_CLASS:"editableArea--multi-line"};var a=function(e,t,i){const n=i.Range,o=function(e,t){const i=e.range,n=t.range;if(i[0]n)throw new Error("Provided Start Line("+e+") is out of bounds. Max Lines in content is "+n);o[t]=e;break;case 1:{let n=e;const s=o[0],r=i[s-1].length;if(n<0){if(n=r-Math.abs(n),n<0)throw new Error("Provided Start Column("+e+") is out of bounds. Max Column in line "+s+" is "+r)}else if(n>r+1)throw new Error("Provided Start Column("+e+") is out of bounds. Max Column in line "+s+" is "+r);o[t]=n}break;case 2:{let i=e;if(i<0){if(i=n-Math.abs(e),i<0)throw new Error("Provided End Line("+e+") is out of bounds. Max Lines in content is "+n);in)throw new Error("Provided End Line("+e+") is out of bounds. Max Lines in content is "+n);o[t]=i}break;case 3:{let n=e;const s=o[2],r=i[s-1].length;if(n<0){if(n=r-Math.abs(n),n<0)throw new Error("Provided End Column("+e+") is out of bounds. Max Column in line "+s+" is "+r)}else if(n>r+1)throw new Error("Provided Start Column("+e+") is out of bounds. Max Column in line "+s+" is "+r);o[t]=n}}}),o}(e.range,i),s=o[0],r=o[1],a=o[2],l=o[3];e._originalRange=o.slice(),e.range=new n(s,r,a,l),e.index=t,e.allowMultiline||(e.allowMultiline=n.spansMultipleLines(e.range)),e.label||(e.label=`[${s},${r} -> ${a}${l}]`)})},h=function(){return a.reduce(function(e,t){return e[t.label]={allowMultiline:t.allowMultiline||!1,index:t.index,range:Object.assign({},t.range),originalRange:t._originalRange.slice()},e},{})},d=function(){return Promise.resolve().then(function(){e.editInRestrictedArea=!0,e.undo(),e.editInRestrictedArea=!1,e._hasHighlight&&e._oldDecorationsSource&&(e.deltaDecorations(e._oldDecorations,e._oldDecorationsSource),e._oldDecorationsSource.forEach(function(t){t.range=e.getDecorationRange(t.id)}))})},c=function(t,i,n,o,s,r){let l=i.endLineNumber,h=i.endColumn;t.prevRange=i,t.range=i.setEndPosition(n,o);const d=a.length;let c=s.length;const u=o-h,g=n-l,p=e._currentCursorPositions||[],m=p.length;if(c!==m&&(s=s.filter(function(e){const t=e.range;for(let e=0;el)break;i.startColumn+=u,i.endColumn+=u,t.range=i}for(let e=r+1;el){rangeMap[i.toString()]=o;break}i.startColumn+=u,i.endColumn+=u,t.range=i,rangeMap[i.toString()]=o}}},u=function(){console.debug("handler for unhandled promise rejection")},g=function(e){for(let t in e){const i=e[t];i.range=i.prevRange}},p=function(e,t){return!e.allowMultiline&&t.includes("\n")},m=function(e,t,i){return e.validate&&!e.validate(t,i,e.lastInfo)},f={_isRestrictedModel:!0,_isRestrictedValueValid:!0,_editableRangeChangeListener:[],_isCursorAtCheckPoint:function(t){t.some(function(t){const i=t.lineNumber,n=t.column,o=a.length;for(let t=0;t","ranges","Please refer constrained editor documentation for proper structure"))}throw new Error(o("ICodeEditor","editorInstance","This type interface can be found in monaco editor documentation"))},removeRestrictionsIn:function(e){if(r(e)){const t=e.uri.toString(),n=i[t];return n?n.disposeRestrictions():(console.warn("Current Model is not a restricted Model"),!1)}throw new Error(o("ICodeEditor","editorInstance","This type interface can be found in monaco editor documentation"))},disposeConstrainer:function(){if(h._editorInstance){const e=h._editorInstance.getDomNode();e&&e.removeEventListener("keydown",h._listener),h._onChangeModelDisposable&&h._onChangeModelDisposable.dispose(),delete h._listener,delete h._editorInstance._isInDevMode,delete h._editorInstance._devModeAction,delete h._editorInstance,delete h._onChangeModelDisposable;for(let e in i)delete i[e];return!0}return!1},toggleDevMode:function(){h._editorInstance._isInDevMode?(h._editorInstance._isInDevMode=!1,h._editorInstance._devModeAction.dispose(),delete h._editorInstance._devModeAction):(h._editorInstance._isInDevMode=!0,h._editorInstance._devModeAction=h._editorInstance.addAction({id:"showRange",label:"Show Range in console",contextMenuGroupId:"navigation",contextMenuOrder:1.5,run:function(e){const t=e.getSelections().reduce(function(e,{startLineNumber:t,endLineNumber:i,startColumn:n,endColumn:o}){return e.push("range : "+JSON.stringify([t,n,i,o])),e},[]).join("\n");console.log("Selected Ranges : \n"+JSON.stringify(t,null,2))}}))}};for(let e in c)Object.defineProperty(d,e,{enumerable:!1,writable:!1,configurable:!1,value:c[e]});return Object.freeze(d)},h=i(9416),d=i(6558);function c(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function u(e){for(var t=1;t{class t extends e.PluginBase{construct(e){this.element=e,this.elementObserver=null,this.config=this.snowboard.dataConfig(this,e),this.events=this.snowboard["backend.ui.eventHandler"](this,"backend.formwidget.codeeditor"),this.alias=this.config.get("alias"),this.monaco=d,this.model=null,this.resizeListener=!1,this.visibilityListener=!1,this.clickListener=!1,this.clickStartedInEditor=!1,this.editor=null,this.container=this.element.querySelector(".editor-container"),this.valueBag=this.element.querySelector("[data-value-bag]"),this.statusBar=this.element.querySelector("[data-status-bar]"),this.statusBar&&(this.language=this.statusBar.querySelector(".language"),this.position=this.statusBar.querySelector(".position")),this.fullscreen=!1,this.cachedThemes={},this.resizeThrottle=null,this.callbacks={fullScreenChange:()=>this.onFullScreenChange(),resize:()=>{clearTimeout(this.resizeThrottle),this.resizeThrottle=setTimeout(()=>this.onResize(),80)},click:e=>this.checkEditorClick(e),visibilityChange:()=>this.onVisibilityChange()},this.keybindings=[],this.customLineNumbering=null,this.disposables=[],this.observeElement()}defaults(){return{alias:null,autoCloseTags:!0,bracketColors:!1,codeFolding:!0,displayIndentGuides:!0,fontSize:12,highlightActiveLine:!0,language:"html",margin:0,readOnly:!1,semanticHighlighting:!0,selectionHighlighting:!0,showColors:!0,showGutter:!0,showInvisibles:!1,showMinimap:!0,showOccurrences:!0,showPrintMargin:!1,showScrollbar:!0,showSelectionOccurrences:!0,showSuggestions:!0,tabSize:4,theme:"vs-dark",useSoftTabs:!0,wordWrap:!0}}destruct(){this.dispose(),this.elementObserver&&this.elementObserver.disconnect(),this.visibilityListener&&(document.removeEventListener("visibilitychange",this.callbacks.visibilityChange),this.visibilityListener=!1),this.clickListener&&document.removeEventListener("click",this.callbacks.click)}dispose(){this.disposables.length>0&&(this.disposables.forEach(e=>{e.dispose()}),this.disposables=[]),this.resizeListener&&(window.removeEventListener("resize",this.callbacks.resize),this.resizeListener=!1),this.editor&&(this.editor.dispose(),this.editor=null),this.events.fire("dispose",this,this.editor)}observeElement(){this.elementObserver=new IntersectionObserver(e=>this.onObserve(e)),this.elementObserver.observe(this.element)}onObserve(e){e[0].isIntersecting?this.createEditor():this.dispose()}createEditor(){this.container.style.height=null,this.container.style.height=Math.round(Number(getComputedStyle(this.container).height.replace("px","")))+"px",this.editor=d.editor.create(this.element.querySelector(".editor-container"),this.getConfigOptions()),window.jQuery&&window.jQuery(this.element).data("oc.codeEditor",this),this.attachListeners(),this.loadTheme(),this.updateLanguage(),this.enableStatusBarActions(),this.registerKeyBindings(),this.events.fire("create",this,this.editor)}refresh(){this.dispose(),window.requestAnimationFrame(()=>this.createEditor())}getConfigOptions(){const e={automaticLayout:!0,"bracketPairColorization.enabled":this.config.get("bracketColors"),colorDecorators:this.config.get("showColors"),detectIndentation:!1,folding:this.config.get("codeFolding"),fontSize:this.config.get("fontSize"),guides:{bracketPairs:!!this.config.get("bracketColors")&&"active",bracketPairsHorizontal:!!this.config.get("bracketColors")&&"active",indentation:this.config.get("displayIndentGuides")},insertSpaces:this.config.get("useSoftTabs"),language:this.config.get("language"),lineNumbers:this.customLineNumbering?this.customLineNumbering:this.config.get("showGutter")?"on":"off",minimap:{enabled:this.config.get("showMinimap")},occurrencesHighlight:this.config.get("showOccurrences"),quickSuggestions:this.config.get("showSuggestions"),renderLineHighlight:this.getLineHighlightOption(),renderWhitespace:this.config.get("showInvisibles")?"all":"selection",scrollbar:{horizontalHasArrows:this.config.get("showScrollbar"),horizontalScrollbarSize:this.config.get("showScrollbar")?10:0,horizontalSliderSize:this.config.get("showScrollbar")?10:6,verticalHasArrows:this.config.get("showScrollbar"),verticalScrollbarSize:this.config.get("showScrollbar")?10:0,verticalSliderSize:this.config.get("showScrollbar")?10:6,useShadows:this.config.get("showScrollbar")},scrollBeyondLastLine:!1,selectionHighlight:this.config.get("showSelectionOccurrences"),"semanticHighlighting.enabled":!!this.config.get("semanticHighlighting")&&"configuredByTheme",tabSize:this.config.get("tabSize"),theme:this.config.get("themeVs"),value:this.valueBag.value};return"fluid"===this.config.get("wordWrap")?e.wordWrap="on":"number"==typeof this.config.get("wordWrap")?(e.wordWrap="bounded",e.wordWrapColumn=this.config.get("wordWrap")):e.wordWrap="off",this.config.get("showPrintMargin")&&(e.rulers=[80]),e}getLineHighlightOption(){return this.config.get("highlightActiveLine")?this.config.get("showGutter")?"all":"line":"none"}getEditor(){return this.editor}getModel(){return this.model}attachListeners(){this.model=this.editor.getModel(),this.disposables.push(this.model.onDidChangeContent(()=>{this.valueBag.value=this.model.getValue(),this.events.fire("input",this.valueBag.value,this,this.editor)})),this.disposables.push(this.editor.onDidChangeCursorPosition(e=>{this.updatePosition(e.position),this.events.fire("position",e)})),this.disposables.push(this.editor.onDidChangeCursorSelection(e=>{this.events.fire("selection",e)})),this.disposables.push(this.editor.onMouseDown(()=>{this.clickStartedInEditor=!0})),this.disposables.push(this.editor.onMouseUp(()=>{setTimeout(()=>{this.clickStartedInEditor=!1},20)})),document.addEventListener("click",this.callbacks.click,{capture:!0}),window.addEventListener("resize",this.callbacks.resize),this.resizeListener=!0,this.visibilityListener||(document.addEventListener("visibilitychange",this.callbacks.visibilityChange),this.visibilityListener=!0)}setConfig(e,t){this.config.set(e,t),this.editor&&(["showPrintMargin"].includes(e)?this.refresh():this.editor.updateOptions(this.getConfigOptions()))}getValue(){return this.model.getValue()}setValue(e){this.model.setValue(e)}focus(){this.editor.focus()}setMarkers(e,t){d.editor.setModelMarkers(this.editor.getModel(),e,t)}setDecorations(e,t){this._decorationIds||(this._decorationIds={});const i=this._decorationIds[e]||[],n=this.editor.deltaDecorations(i,t);this._decorationIds[e]=n}getPosition(){return this.editor.getPosition()}getSelection(){return this.editor.getSelection()}getSafeSelection(){const e=this.editor.getSelection();return new d.Selection(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn)}getSelections(){return this.editor.getSelections()}insert(e){return this.model.pushEditOperations(this.editor.getSelections(),[{forceMoveMarkers:!0,range:this.editor.getSelection(),text:e}])}wrap(e,t){return this.editor.getSelection().isEmpty()?this.insert(`${e}${t}`):this.model.pushEditOperations(this.editor.getSelections(),[{forceMoveMarkers:!0,range:this.editor.getSelection(),text:`${e}${this.editor.getModel().getValueInRange(this.editor.getSelection())}${t}`}],()=>[this.editor.getSelection()])}unwrap(e,t){if(this.editor.getSelection().isEmpty())return this.editor.getSelection();let i=this.editor.getModel().getValueInRange(this.editor.getSelection());return i.startsWith(e)&&(i=i.substring(e.length)),i.endsWith(t)&&(i=i.substring(0,i.length-t.length)),this.model.pushEditOperations(this.editor.getSelections(),[{forceMoveMarkers:!0,range:this.editor.getSelection(),text:i}],()=>[this.editor.getSelection()])}find(e,t){return this.findAll(e,t)[0]||null}findAll(e,t){const i=e instanceof RegExp?e.source:e;return this.model.findMatches(i,!0,e instanceof RegExp,t||!1,null,!0,1)}replace(e,t,i,n=!0){if("string"!=typeof e&&!(e instanceof RegExp))return this.model.pushEditOperations([d.Selection.fromRange(e)],[{forceMoveMarkers:!1,range:new d.Range(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),text:n?this.alignText(t,e.startColumn):t}]);const o=this.find(e,i);return o?this.model.pushEditOperations(this.editor.getSelections(),[{forceMoveMarkers:!1,range:new d.Range(o.range.startLineNumber,o.range.startColumn,o.range.endLineNumber,o.range.endColumn),text:n?this.alignText(t,e.startColumn):t}]):void 0}alignText(e,t){return e.split("\n").map((e,i)=>0===i?e:`${" ".repeat(t-1)}${e}`).join("\n")}setLanguage(e){d.editor.setModelLanguage(this.model,e),this.setConfig("language",e),this.updateLanguage()}updateLanguage(){this.language&&(this.language.innerText=this.getConfigOptions().language.toUpperCase())}loadTheme(e){const t=e||this.config.get("theme"),i=t.replace(/[^a-z0-9]+/g,"");return"vs"===t?(d.editor.setTheme("vs"),this.setConfig("theme","vs"),this.setConfig("themeVs","vs"),void this.updateStatusBarColor({colors:{"editor.foreground":"#000000","editor.background":"#ffffff"}})):"vs-dark"===t?(d.editor.setTheme("vs-dark"),this.setConfig("theme","vs-dark"),this.setConfig("themeVs","vs-dark"),void this.updateStatusBarColor({colors:{"editor.foreground":"#d4d4d4","editor.background":"#1E1E1E"}})):void(this.cachedThemes[t]?(d.editor.setTheme(i),this.setConfig("theme",t),this.setConfig("themeVs",i),this.updateStatusBarColor(this.cachedThemes[t])):this.snowboard.request(this.element,this.alias?`${this.alias}::onLoadTheme`:"onLoadTheme",{data:{theme:t},success:e=>{if(e.format&&e.data){let n;n="json"===e.format?this.convertJsonTheme(e.data):this.convertTmTheme(e.data),this.cachedThemes[t]=n,d.editor.defineTheme(i,n),d.editor.setTheme(i),this.setConfig("theme",t),this.setConfig("themeVs",i),this.updateStatusBarColor(n)}},error:()=>{}}))}convertJsonTheme(e){const t=JSON.parse(e),i={base:"light"===t.type?"vs":"vs-dark",inherit:!0,rules:[],colors:{}};return t.tokenColors&&Array.isArray(t.tokenColors)&&t.tokenColors.forEach(e=>{if(!e.scope)return;(Array.isArray(e.scope)?e.scope:e.scope.split(",").map(e=>e.trim())).forEach(t=>{const n={token:t};e.settings&&(e.settings.foreground&&(n.foreground=e.settings.foreground.replace("#","")),e.settings.background&&(n.background=e.settings.background.replace("#","")),e.settings.fontStyle&&(n.fontStyle=e.settings.fontStyle)),i.rules.push(n)})}),t.colors&&Object.keys(t.colors).forEach(e=>{i.colors[e]=t.colors[e]}),i}convertTmTheme(e){const t=(0,h.qg)(e),i=this.mapGlobalColors(t.settings.shift().settings),n=[{token:"",foreground:i["editor.foreground"].replace(/^#/,""),background:i["editor.background"].replace(/^#/,"")}];return t.settings.forEach(e=>{if(!e.scope)return;const t={token:e.scope};e.settings.foreground&&(t.foreground=this.parseColor(e.settings.foreground).replace(/^#/,"")),e.settings.background&&(t.background=this.parseColor(e.settings.background).replace(/^#/,"")),e.settings.fontStyle&&(t.fontStyle=e.settings.fontStyle),n.push(t)}),{base:this.isDarkTheme(i["editor.background"])?"vs-dark":"vs",inherit:!1,rules:this.populateMissingScopes(n),colors:i}}mapGlobalColors(e){const t={};return[{tm:"foreground",mn:"editor.foreground"},{tm:"background",mn:"editor.background"},{tm:"selection",mn:"editor.selectionBackground"},{tm:"inactiveSelection",mn:"editor.inactiveSelectionBackground"},{tm:"selectionHighlightColor",mn:"editor.selectionHighlightBackground"},{tm:"findMatchHighlight",mn:"editor.findMatchHighlightBackground"},{tm:"currentFindMatchHighlight",mn:"editor.findMatchBackground"},{tm:"hoverHighlight",mn:"editor.hoverHighlightBackground"},{tm:"wordHighlight",mn:"editor.wordHighlightBackground"},{tm:"wordHighlightStrong",mn:"editor.wordHighlightStrongBackground"},{tm:"findRangeHighlight",mn:"editor.findRangeHighlightBackground"},{tm:"findMatchHighlight",mn:"peekViewResult.matchHighlightBackground"},{tm:"referenceHighlight",mn:"peekViewEditor.matchHighlightBackground"},{tm:"lineHighlight",mn:"editor.lineHighlightBackground"},{tm:"rangeHighlight",mn:"editor.rangeHighlightBackground"},{tm:"guide",mn:"editorIndentGuide.background"},{tm:"activeGuide",mn:"editorIndentGuide.activeBackground"},{tm:"selectionBorder",mn:"editor.selectionHighlightBorder"}].forEach(i=>{e[i.tm]&&(t[i.mn]=this.parseColor(e[i.tm]))}),t}parseColor(e){let t=e;if(!t.length)return null;if(4===t.length&&(t=e.replace(/[a-fA-F\d]/g,"$&$&")),7===t.length)return t;if(9===e.length)return e;if(!e.match(/^#(..)(..)(..)(..)$/))return e;const i=e.match(/^#(..)(..)(..)(..)$/).slice(1).map(e=>parseInt(e,16));return i[3]=(i[3]/255).toPrecision(2),`rgba(${i.join(", ")})`}rgbColor(e){return"object"==typeof e?e:"#"===e[0]?e.match(/^#(..)(..)(..)/).slice(1).map(e=>parseInt(e,16)):e.match(/\(([^,]+),([^,]+),([^,]+)/).slice(1).map(e=>parseInt(e,10))}isDarkTheme(e){const t=this.rgbColor(e);return(.21*t[0]+.72*t[1]+.07*t[2])/255<.5}populateMissingScopes(e){const t={};Object.entries({comment:["comment.block","comment.line"],number:["constant.numeric","constant.number","string.number"],regexp:["string.regexp"],tag:["meta.tag","entity.name.tag"],metatag:["meta.tag","declaration.tag","constant.language","entity.name.tag"],annotation:["meta.embedded","meta.annotation","string.annotation","comment.block","comment.line"],attribute:["entity.other.attribute-name","support.type.property-name"],identifier:["entity.name.function","meta.tag","declaration.tag","constant.language","entity.name.tag","support.type"],type:["support.type","support.function"],operator:["support.constant","constant.numeric","constant.number","string.number","support"],"attribute.name":["support.type","support.constant","entity.other.attribute-name","support.type.property-name"],"attribute.value.html":["string.quoted.double.html","string.quoted.single.html","string.quoted.double","string.quoted.single","string"],"attribute.value.unit":["keyword.unit","support.unit","keyword","support","number","string.number","constant.numeric","constant.number"],"attribute.value.number":["number","string.number","constant.numeric","constant.number"]}).forEach(([e,i])=>{t[e]={scope:e,map:i,currentSettings:null,currentRank:null}}),e.forEach(e=>{if(!e.token)return;e.token.split(/, +/).forEach((i,n)=>{i.split(/ +/).forEach((i,o)=>{const s=Object.values(t).filter(e=>e.map.filter(e=>i.startsWith(e)).length>0);s.length&&s.forEach(s=>{const r=10-n-2*o-(s.map.includes(i)?s.map.indexOf(i):5);null!==s.currentRank&&s.currentRank>=r||(t[s.scope].currentSettings={},t[s.scope].currentRank=r,e.foreground&&(t[s.scope].currentSettings.foreground=e.foreground),e.background&&(t[s.scope].currentSettings.background=e.background),e.fontStyle&&(t[s.scope].currentSettings.fontStyle=e.fontStyle))})})})}),Object.values(t).forEach(t=>{if(!t.currentSettings)return;if(e.some(e=>e.token===t.scope))return;const i={token:t.scope};t.currentSettings.foreground&&(i.foreground=t.currentSettings.foreground),t.currentSettings.background&&(i.background=t.currentSettings.background),t.currentSettings.fontStyle&&(i.fontStyle=t.currentSettings.fontStyle),e.push(i)});const i=[];return e.forEach(e=>{if(-1===e.token.indexOf(","))return void i.push(e);e.token.split(/, +/).forEach(t=>{i.push({token:t,foreground:e.foreground,background:e.background,fontStyle:e.fontStyle})})}),i}updatePosition(e){this.position&&(this.position.innerText=`Line ${e.lineNumber}, Column ${e.column}`)}updateStatusBarColor(e){if(!this.statusBar)return;const t=e.colors["editor.foreground"],i=e.colors["editor.background"];this.isDarkTheme(i)?this.statusBar.classList.add("is-dark"):this.statusBar.classList.remove("is-dark"),this.statusBar.style.color=t,this.statusBar.style.backgroundColor=i}enableStatusBarActions(){if(!this.statusBar)return;const e=this.statusBar.querySelector("[data-full-screen]");e.addEventListener("click",()=>{this.fullscreen?document.exitFullscreen():this.element.requestFullscreen({navigationUI:"hide"}).then(()=>{this.fullscreen=!0,e.classList.add("active"),this.element.addEventListener("fullscreenchange",this.callbacks.fullScreenChange),this.editor&&window.requestAnimationFrame(()=>{this.editor.layout()})})})}onFullScreenChange(){document.fullscreenElement||(this.fullscreen=!1,this.statusBar&&this.statusBar.querySelector("[data-full-screen]").classList.remove("active"),this.element.removeEventListener("fullscreenchange",this.callbacks.fullScreenChange),this.editor&&window.requestAnimationFrame(()=>{this.editor.layout()}))}onResize(){this.editor&&this.editor.layout()}onVisibilityChange(){document.hidden?this.dispose():this.createEditor()}fromLine(e){if(e<=1)return void(this.customLineNumbering=null);const t=this.getModel().getFullModelRange().endLineNumber,i=this.getModel().getFullModelRange().endColumn;if(e>t)throw this.customLineNumbering=null,new Error("The line number is greater than the number of lines in the editor.");const n=new d.Range(1,1,e-1,i),o=new d.Range(e,1,t,i),s=l(d);s.initializeIn(this.editor),s.addRestrictionsTo(this.getModel(),[{range:[o.startLineNumber,o.startColumn,o.endLineNumber,o.endColumn],allowMultiline:!0}]),this.editor.setHiddenAreas([n]),this.config.get("showGutter")&&(this.customLineNumbering=t=>t>=e?String(t-e+1):"",this.editor.updateOptions(this.getConfigOptions()))}addKeyBinding(e,t){const i=this.normalizeKeyBinding(e);if(this.keybindings.push({keybinding:i,callback:t}),this.editor){const e=d.KeyCode[`Key${i.key.toUpperCase()}`];let n=0;i.shift&&(n|=d.KeyMod.Shift),i.ctrl&&(n|=d.KeyMod.CtrlCmd),i.alt&&(n|=d.KeyMod.Alt),n|=e,this.editor.addCommand(n,t)}}removeKeyBinding(e){const t=this.normalizeKeyBinding(e),i=this.keybindings.findIndex(e=>e.keybinding===t);-1!==i&&(this.keybindings[i].callback=()=>{})}normalizeKeyBinding(e){let t={key:null,ctrl:!1,alt:!1,shift:!1};return"string"==typeof e?e.startsWith("Shift+Ctrl+")?(t.key=e.replace("Shift+Ctrl+",""),t.shift=!0,t.ctrl=!0):e.startsWith("Shift+Alt+")?(t.key=e.replace("Shift+Alt+",""),t.shift=!0,t.alt=!0):e.startsWith("Ctrl+")?(t.key=e.replace("Ctrl+",""),t.ctrl=!0):e.startsWith("Alt+")&&(t.key=e.replace("Alt+",""),t.alt=!0):t=u(u({},t),e),t}registerKeyBindings(){0!==this.keybindings.length&&this.keybindings.forEach(e=>{const t=d.KeyCode[`Key${e.keybinding.key.toUpperCase()}`];let i=0;e.keybinding.shift&&(i|=d.KeyMod.Shift),e.keybinding.ctrl&&(i|=d.KeyMod.CtrlCmd),e.keybinding.alt&&(i|=d.KeyMod.Alt),i|=t,this.editor.addCommand(i,e.callback)})}checkEditorClick(e){this.clickStartedInEditor&&!this.element.contains(e.target)&&(e.stopImmediatePropagation(),e.preventDefault()),this.clickStartedInEditor=!1}addCodeLens(e,t,i=null){this.disposables.push(d.languages.registerCodeLensProvider(e,{provideCodeLenses:(e,i)=>t(e,i),resolveCodeLens:(e,t,n)=>i(e,t,n)??t}))}}e.addPlugin("backend.formwidgets.codeeditor",t),e["backend.ui.widgetHandler"]().register("codeeditor","backend.formwidgets.codeeditor")})(window.Snowboard)},4029:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,"::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{-webkit-text-size-adjust:100%;overflow:visible;position:relative}.monaco-editor .overflow-guard{overflow:hidden;position:relative}.monaco-editor .view-overlays{position:absolute;top:0}",""]),t.A=o},4254:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;right:2px;top:3px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.hc-light .monaco-findInput.highlight-0 .controls,.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.hc-light .monaco-findInput.highlight-1 .controls,.monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:hsla(0,0%,100%,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:hsla(0,0%,100%,.44)}99%{background:transparent}}",""]),t.A=o},4331:function(e,t){ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ +t.read=function(e,t,i,n,o){var s,r,a=8*o-n-1,l=(1<>1,d=-7,c=i?o-1:0,u=i?-1:1,g=e[t+c];for(c+=u,s=g&(1<<-d)-1,g>>=-d,d+=a;d>0;s=256*s+e[t+c],c+=u,d-=8);for(r=s&(1<<-d)-1,s>>=-d,d+=n;d>0;r=256*r+e[t+c],c+=u,d-=8);if(0===s)s=1-h;else{if(s===l)return r?NaN:1/0*(g?-1:1);r+=Math.pow(2,n),s-=h}return(g?-1:1)*r*Math.pow(2,s-n)},t.write=function(e,t,i,n,o,s){var r,a,l,h=8*s-o-1,d=(1<>1,u=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:s-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,r=d):(r=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-r))<1&&(r--,l*=2),(t+=r+c>=1?u/l:u*Math.pow(2,1-c))*l>=2&&(r++,l/=2),r+c>=d?(a=0,r=d):r+c>=1?(a=(t*l-1)*Math.pow(2,o),r+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,o),r=0));o>=8;e[i+g]=255&a,g+=p,a/=256,o-=8);for(r=r<0;e[i+g]=255&r,g+=p,r/=256,h-=8);e[i+g-p]|=128*m}},4486:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-progress-container{height:5px;overflow:hidden;width:100%}.monaco-progress-container .progress-bit{display:none;height:5px;left:0;position:absolute;width:2%}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-duration:4s;animation-iteration-count:infinite;animation-name:progress;animation-timing-function:linear;transform:translateZ(0)}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100)}@keyframes progress{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4900%) scaleX(1)}}",""]),t.A=o},4629:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .contentWidgets .codicon-light-bulb,.monaco-editor .contentWidgets .codicon-lightbulb-autofix{align-items:center;display:flex;justify-content:center}.monaco-editor .contentWidgets .codicon-light-bulb:hover,.monaco-editor .contentWidgets .codicon-lightbulb-autofix:hover{cursor:pointer}",""]),t.A=o},4697:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,'.quick-input-widget{-webkit-app-region:no-drag;left:50%;margin-left:-300px;position:absolute;width:600px;z-index:2550}.quick-input-titlebar{align-items:center;display:flex}.quick-input-left-action-bar{display:flex;flex:1;margin-left:4px}.quick-input-title{overflow:hidden;padding:3px 0;text-align:center;text-overflow:ellipsis}.quick-input-right-action-bar{display:flex;flex:1;margin-right:4px}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:50%;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;margin-bottom:-2px;padding:6px 6px 0}.quick-input-widget.hidden-input .quick-input-header{margin-bottom:0;padding:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{display:flex;flex-grow:1;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{left:-10000px;position:absolute}.quick-input-count{align-items:center;align-self:center;display:flex;position:absolute;right:4px}.quick-input-count .monaco-count-badge{border-radius:2px;line-height:normal;min-height:auto;padding:2px 4px;vertical-align:middle}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{align-items:center;display:flex;font-size:11px;height:27.5px;padding:0 6px}.quick-input-message{margin-top:-1px;overflow-wrap:break-word;padding:5px}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px;margin-top:6px;padding:0 1px 1px}.quick-input-widget.hidden-input .quick-input-list{margin-top:0}.quick-input-list .monaco-list{max-height:440px;overflow:hidden}.quick-input-list .quick-input-list-entry{box-sizing:border-box;display:flex;height:100%;overflow:hidden;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-style:solid;border-top-width:1px}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{display:flex;flex:1;height:100%;overflow:hidden}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{display:flex;flex:1;flex-direction:column;height:100%;margin-left:5px;overflow:hidden;text-overflow:ellipsis}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{align-items:center;display:flex}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{line-height:normal;opacity:.7;overflow:hidden;text-overflow:ellipsis}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:8px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-right:4px;margin-top:1px}.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}',""]),t.A=o},4713:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .scroll-decoration{height:6px;left:0;position:absolute;top:0}",""]),t.A=o},4806:function(e){var t,i,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function r(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(i){try{return t.call(null,e,0)}catch(i){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var a,l=[],h=!1,d=-1;function c(){h&&a&&(h=!1,a.length?l=a.concat(l):d=-1,l.length&&u())}function u(){if(!h){var e=r(c);h=!0;for(var t=l.length;t;){for(a=l,l=[];++d1)for(var i=1;i.monaco-keybinding-key{border-radius:3px;border-style:solid;border-width:1px;display:inline-block;font-size:11px;margin:0 2px;padding:3px 5px;vertical-align:middle}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}",""]),t.A=o},6271:function(e,t,i){"use strict";var n=i(8422),o=i(4331),s=i(8346); +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */function r(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(r()=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var i=e.length;if(0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return H(e).length;default:if(n)return z(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,i){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,i);case"utf8":case"utf-8":return x(this,t,i);case"ascii":return E(this,t,i);case"latin1":case"binary":return N(this,t,i);case"base64":return L(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,i);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function f(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function _(e,t,i,n,o){if(0===e.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=o?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(o)return-1;i=e.length-1}else if(i<0){if(!o)return-1;i=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:v(e,t,i,n,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):v(e,[t],i,n,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,i,n,o){var s,r=1,a=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;r=2,a/=2,l/=2,i/=2}function h(e,t){return 1===r?e[t]:e.readUInt16BE(t*r)}if(o){var d=-1;for(s=i;sa&&(i=a-l),s=i;s>=0;s--){for(var c=!0,u=0;uo&&(n=o):n=o;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var r=0;r>8,o=i%256,s.push(o),s.push(n);return s}(t,e.length-i),e,i,n)}function L(e,t,i){return 0===t&&i===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,i))}function x(e,t,i){i=Math.min(e.length,i);for(var n=[],o=t;o239?4:h>223?3:h>191?2:1;if(o+c<=i)switch(c){case 1:h<128&&(d=h);break;case 2:128==(192&(s=e[o+1]))&&(l=(31&h)<<6|63&s)>127&&(d=l);break;case 3:s=e[o+1],r=e[o+2],128==(192&s)&&128==(192&r)&&(l=(15&h)<<12|(63&s)<<6|63&r)>2047&&(l<55296||l>57343)&&(d=l);break;case 4:s=e[o+1],r=e[o+2],a=e[o+3],128==(192&s)&&128==(192&r)&&128==(192&a)&&(l=(15&h)<<18|(63&s)<<12|(63&r)<<6|63&a)>65535&&l<1114112&&(d=l)}null===d?(d=65533,c=1):d>65535&&(d-=65536,n.push(d>>>10&1023|55296),d=56320|1023&d),n.push(d),o+=c}return function(e){var t=e.length;if(t<=D)return String.fromCharCode.apply(String,e);var i="",n=0;for(;n0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),""},l.prototype.compare=function(e,t,i,n,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||i>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(this===e)return 0;for(var s=(o>>>=0)-(n>>>=0),r=(i>>>=0)-(t>>>=0),a=Math.min(s,r),h=this.slice(n,o),d=e.slice(t,i),c=0;co)&&(i=o),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return b(this,e,t,i);case"utf8":case"utf-8":return w(this,e,t,i);case"ascii":return C(this,e,t,i);case"latin1":case"binary":return y(this,e,t,i);case"base64":return S(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,i);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var D=4096;function E(e,t,i){var n="";i=Math.min(e.length,i);for(var o=t;on)&&(i=n);for(var o="",s=t;si)throw new RangeError("Trying to access beyond buffer length")}function T(e,t,i,n,o,s){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function O(e,t,i,n){t<0&&(t=65535+t+1);for(var o=0,s=Math.min(e.length-i,2);o>>8*(n?o:1-o)}function R(e,t,i,n){t<0&&(t=4294967295+t+1);for(var o=0,s=Math.min(e.length-i,4);o>>8*(n?o:3-o)&255}function P(e,t,i,n,o,s){if(i+n>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function F(e,t,i,n,s){return s||P(e,0,i,4),o.write(e,t,i,n,23,4),i+4}function B(e,t,i,n,s){return s||P(e,0,i,8),o.write(e,t,i,n,52,8),i+8}l.prototype.slice=function(e,t){var i,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(o*=256);)n+=this[e+--t]*o;return n},l.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,i){e|=0,t|=0,i||A(e,t,this.length);for(var n=this[e],o=1,s=0;++s=(o*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,i){e|=0,t|=0,i||A(e,t,this.length);for(var n=t,o=1,s=this[e+--n];n>0&&(o*=256);)s+=this[e+--n]*o;return s>=(o*=128)&&(s-=Math.pow(2,8*t)),s},l.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||A(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},l.prototype.readInt16BE=function(e,t){t||A(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},l.prototype.readInt32LE=function(e,t){return t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||A(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,i,n){(e=+e,t|=0,i|=0,n)||T(this,e,t,i,Math.pow(2,8*i)-1,0);var o=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+o]=e/s&255;return t+i},l.prototype.writeUInt8=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):O(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):O(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*i-1);T(this,e,t,i,o-1,-o)}var s=0,r=1,a=0;for(this[t]=255&e;++s=0&&(r*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/r|0)-a&255;return t+i},l.prototype.writeInt8=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):O(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):O(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,i){return F(this,e,t,!0,i)},l.prototype.writeFloatBE=function(e,t,i){return F(this,e,t,!1,i)},l.prototype.writeDoubleLE=function(e,t,i){return B(this,e,t,!0,i)},l.prototype.writeDoubleBE=function(e,t,i){return B(this,e,t,!1,i)},l.prototype.copy=function(e,t,i,n){if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+i];else if(s<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(s=t;s55295&&i<57344){if(!o){if(i>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(r+1===n){(t-=3)>-1&&s.push(239,191,189);continue}o=i;continue}if(i<56320){(t-=3)>-1&&s.push(239,191,189),o=i;continue}i=65536+(o-55296<<10|i-56320)}else o&&(t-=3)>-1&&s.push(239,191,189);if(o=null,i<128){if((t-=1)<0)break;s.push(i)}else if(i<2048){if((t-=2)<0)break;s.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;s.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return s}function H(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(V,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,i,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+i]=e[o];return o}},6330:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-inputbox{box-sizing:border-box;display:block;font-size:inherit;padding:0;position:relative}.monaco-inputbox.idle{border:1px solid transparent}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px}.monaco-inputbox>.ibwrapper{height:100%;position:relative;width:100%}.monaco-inputbox>.ibwrapper>.input{border:none;box-sizing:border-box;color:inherit;display:inline-block;font-family:inherit;font-size:inherit;height:100%;line-height:inherit;resize:none;width:100%}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{-ms-overflow-style:none;display:block;outline:none;scrollbar-width:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{word-wrap:break-word;box-sizing:border-box;display:inline-block;left:0;position:absolute;top:0;visibility:hidden;white-space:pre-wrap;width:100%}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{word-wrap:break-word;box-sizing:border-box;display:inline-block;font-size:12px;line-height:17px;margin-top:-1px;overflow:hidden;padding:.4em;text-align:left;width:100%}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;height:16px;width:16px}",""]),t.A=o},6384:function(e,t,i){"use strict";i.d(t,{IF:function(){return v}});var n,o,s=i(6558),r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,h=Object.prototype.hasOwnProperty,d=(e,t,i,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of l(t))h.call(e,o)||o===i||r(e,o,{get:()=>t[o],enumerable:!(n=a(t,o))||n.enumerable});return e},c={}; +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/d(c,n=s,"default"),o&&d(o,n,"default");var u=(e=>(e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext",e))(u||{}),g=(e=>(e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev",e))(g||{}),p=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(p||{}),m=(e=>(e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(m||{}),f=(e=>(e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e))(f||{}),_=class{_onDidChange=new c.Emitter;_onDidExtraLibsChange=new c.Emitter;_extraLibs;_removedExtraLibs;_eagerModelSync;_compilerOptions;_diagnosticsOptions;_workerOptions;_onDidExtraLibsChangeTimeout;_inlayHintsOptions;constructor(e,t,i,n){this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(i=void 0===t?`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let n=1;return this._removedExtraLibs[i]&&(n=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(n=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:n},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let e=this._extraLibs[i];e&&e.version===n&&(delete this._extraLibs[i],this._removedExtraLibs[i]=n,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(const t of e){const e=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=t.content;let n=1;this._removedExtraLibs[e]&&(n=this._removedExtraLibs[e]+1),this._extraLibs[e]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}},v=new _({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{}),b=new _({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{});function w(){return i.e(851).then(i.bind(i,3851))}c.languages.typescript={ModuleKind:u,JsxEmit:g,NewLineKind:p,ScriptTarget:m,ModuleResolutionKind:f,typescriptVersion:"4.5.5",typescriptDefaults:v,javascriptDefaults:b,getTypeScriptWorker:()=>w().then(e=>e.getTypeScriptWorker()),getJavaScriptWorker:()=>w().then(e=>e.getJavaScriptWorker())},c.languages.onLanguage("typescript",()=>w().then(e=>e.setupTypeScript(v))),c.languages.onLanguage("javascript",()=>w().then(e=>e.setupJavaScript(b)))},6477:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{align-items:center;display:flex;justify-content:center;position:absolute}",""]),t.A=o},6494:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,".monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-bottom-width:1px;border-top-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;padding:3em 0;text-align:center;width:100%}.monaco-editor .reference-zone-widget .ref-tree{background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground);line-height:23px}.monaco-editor .reference-zone-widget .ref-tree .reference{overflow:hidden;text-overflow:ellipsis}.monaco-editor .reference-zone-widget .ref-tree .reference-file{color:var(--vscode-peekViewResult-fileForeground);display:inline-flex;height:100%;width:100%}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-left:auto;margin-right:12px}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input,.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder,transparent);box-sizing:border-box}",""]),t.A=o},6514:function(e,t,i){"use strict";var n=i(186),o=i.n(n)()(function(e){return e[1]});o.push([e.id,'.monaco-editor{--monaco-monospace-font:"SF Mono",Monaco,Menlo,Consolas,"Ubuntu Mono","Liberation Mono","DejaVu Sans Mono","Courier New",monospace;font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif}.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;top:0;width:1px}.monaco-editor.hc-black,.monaco-editor.hc-light{-ms-high-contrast-adjust:none}@media screen and (-ms-high-contrast:active){.monaco-editor.vs .view-overlays .current-line,.monaco-editor.vs-dark .view-overlays .current-line{border-color:windowtext!important;border-left:0;border-right:0}.monaco-editor.vs .cursor,.monaco-editor.vs-dark .cursor{background-color:windowtext!important}.monaco-editor.vs .dnd-target,.monaco-editor.vs-dark .dnd-target{border-color:windowtext!important}.monaco-editor.vs .selected-text,.monaco-editor.vs-dark .selected-text{background-color:highlight!important}.monaco-editor.vs .view-line,.monaco-editor.vs-dark .view-line{-ms-high-contrast-adjust:none}.monaco-editor.vs .view-line span,.monaco-editor.vs-dark .view-line span{color:windowtext!important}.monaco-editor.vs .view-line span.inline-selected-text,.monaco-editor.vs-dark .view-line span.inline-selected-text{color:highlighttext!important}.monaco-editor.vs .view-overlays,.monaco-editor.vs-dark .view-overlays{-ms-high-contrast-adjust:none}.monaco-editor.vs .reference-decoration,.monaco-editor.vs .selectionHighlight,.monaco-editor.vs .wordHighlight,.monaco-editor.vs .wordHighlightStrong,.monaco-editor.vs-dark .reference-decoration,.monaco-editor.vs-dark .selectionHighlight,.monaco-editor.vs-dark .wordHighlight,.monaco-editor.vs-dark .wordHighlightStrong{background:transparent!important;border:2px dotted highlight!important;box-sizing:border-box}.monaco-editor.vs .rangeHighlight,.monaco-editor.vs-dark .rangeHighlight{background:transparent!important;border:1px dotted activeborder!important;box-sizing:border-box}.monaco-editor.vs .bracket-match,.monaco-editor.vs-dark .bracket-match{background:transparent!important;border-color:windowtext!important}.monaco-editor.vs .currentFindMatch,.monaco-editor.vs .findMatch,.monaco-editor.vs-dark .currentFindMatch,.monaco-editor.vs-dark .findMatch{background:transparent!important;border:2px dotted activeborder!important;box-sizing:border-box}.monaco-editor.vs .find-widget,.monaco-editor.vs-dark .find-widget{border:1px solid windowtext}.monaco-editor.vs .monaco-list .monaco-list-row,.monaco-editor.vs-dark .monaco-list .monaco-list-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs .monaco-list .monaco-list-row.focused,.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused{background-color:highlight!important;color:highlighttext!important}.monaco-editor.vs .monaco-list .monaco-list-row:hover,.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover{background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar{-ms-high-contrast-adjust:none;background:background!important;border:1px solid windowtext;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:windowtext!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider:hover,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider:hover{background:highlight!important}.monaco-editor.vs .decorationsOverviewRuler,.monaco-editor.vs-dark .decorationsOverviewRuler{opacity:0}.monaco-editor.vs .minimap,.monaco-editor.vs-dark .minimap{display:none}.monaco-editor.vs .squiggly-d-error,.monaco-editor.vs-dark .squiggly-d-error{background:transparent!important;border-bottom:4px double #e47777}.monaco-editor.vs .squiggly-b-info,.monaco-editor.vs .squiggly-c-warning,.monaco-editor.vs-dark .squiggly-b-info,.monaco-editor.vs-dark .squiggly-c-warning{border-bottom:4px double #71b771}.monaco-editor.vs .squiggly-a-hint,.monaco-editor.vs-dark .squiggly-a-hint{border-bottom:4px double #6c6c6c}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{-ms-high-contrast-adjust:none;background-color:highlight!important;color:highlighttext!important}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label{-ms-high-contrast-adjust:none;background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-diff-editor.vs .diffOverviewRuler,.monaco-diff-editor.vs-dark .diffOverviewRuler{display:none}.monaco-editor.vs .line-delete,.monaco-editor.vs .line-insert,.monaco-editor.vs-dark .line-delete,.monaco-editor.vs-dark .line-insert{background:transparent!important;border:1px solid highlight!important;box-sizing:border-box}.monaco-editor.vs .char-delete,.monaco-editor.vs .char-insert,.monaco-editor.vs-dark .char-delete,.monaco-editor.vs-dark .char-insert{background:transparent!important}}',""]),t.A=o},6558:function(e,t,i){"use strict";i.r(t),i.d(t,{CancellationTokenSource:function(){return Z5},Emitter:function(){return Y5},KeyCode:function(){return Q5},KeyMod:function(){return X5},MarkerSeverity:function(){return n3},MarkerTag:function(){return o3},Position:function(){return J5},Range:function(){return e3},Selection:function(){return t3},SelectionDirection:function(){return i3},Token:function(){return r3},Uri:function(){return s3},default:function(){return a7},editor:function(){return a3},languages:function(){return l3}});var n={};i.r(n),i.d(n,{PixelRatio:function(){return je},addMatchMediaChangeListener:function(){return Ue},getZoomFactor:function(){return Ke},isAndroid:function(){return Je},isChrome:function(){return Ze},isElectron:function(){return Xe},isFirefox:function(){return qe},isSafari:function(){return Ye},isStandalone:function(){return tt},isWebKit:function(){return Ge},isWebkitWebView:function(){return Qe}});var o={};i.r(o),i.d(o,{CancellationTokenSource:function(){return Z5},Emitter:function(){return Y5},KeyCode:function(){return Q5},KeyMod:function(){return X5},MarkerSeverity:function(){return n3},MarkerTag:function(){return o3},Position:function(){return J5},Range:function(){return e3},Selection:function(){return t3},SelectionDirection:function(){return i3},Token:function(){return r3},Uri:function(){return s3},editor:function(){return a3},languages:function(){return l3}});var s={};i.r(s),i.d(s,{CancellationTokenSource:function(){return Z5},Emitter:function(){return Y5},KeyCode:function(){return Q5},KeyMod:function(){return X5},MarkerSeverity:function(){return n3},MarkerTag:function(){return o3},Position:function(){return J5},Range:function(){return e3},Selection:function(){return t3},SelectionDirection:function(){return i3},Token:function(){return r3},Uri:function(){return s3},default:function(){return a7},editor:function(){return a3},languages:function(){return l3}});const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack){if(f.isErrorNoTelemetry(e))throw new f(e.message+"\n\n"+e.stack);throw new Error(e.message+"\n\n"+e.stack)}throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function a(e){c(e)||r.onUnexpectedError(e)}function l(e){c(e)||r.onUnexpectedExternalError(e)}function h(e){if(e instanceof Error){const{name:t,message:i}=e;return{$isError:!0,name:t,message:i,stack:e.stacktrace||e.stack,noTelemetry:f.isErrorNoTelemetry(e)}}return e}const d="Canceled";function c(e){return e instanceof u||e instanceof Error&&e.name===d&&e.message===d}class u extends Error{constructor(){super(d),this.name=this.message}}function g(){const e=new Error(d);return e.name=e.message,e}function p(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}class m extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class f extends Error{constructor(e){super(e),this.name="ErrorNoTelemetry"}static fromError(e){if(e instanceof f)return e;const t=new f;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"ErrorNoTelemetry"===e.name}}class _ extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,_.prototype)}}function v(e){const t=this;let i,n=!1;return function(){return n||(n=!0,i=e.apply(t,arguments)),i}}var b;!function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);function i(t,i=Number.POSITIVE_INFINITY){const n=[];if(0===i)return[n,t];const o=t[Symbol.iterator]();for(let t=0;te.length&&(i=e.length);te===t){const n=e[Symbol.iterator](),o=t[Symbol.iterator]();for(;;){const e=n.next(),t=o.next();if(e.done!==t.done)return!1;if(e.done)return!0;if(!i(e.value,t.value))return!1}}}(b||(b={}));let w=null;function C(e){return null==w||w.trackDisposable(e),e}function y(e){null==w||w.markAsDisposed(e)}function S(e,t){null==w||w.setParent(e,t)}function k(e){return null==w||w.markAsSingleton(e),e}class L extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function x(e){return"function"==typeof e.dispose&&0===e.dispose.length}function D(e){if(b.is(e)){const t=[];for(const i of e)if(i)try{i.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new L(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function E(...e){const t=N(()=>D(e));return function(e,t){if(w)for(const i of e)w.setParent(i,t)}(e,t),t}function N(e){const t=C({dispose:v(()=>{y(t),e()})});return t}class I{constructor(){this._toDispose=new Set,this._isDisposed=!1,C(this)}dispose(){this._isDisposed||(y(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{D(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return S(e,this),this._isDisposed?I.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}I.DISABLE_DISPOSED_WARNING=!1;class M{constructor(){this._store=new I,C(this),S(this._store,this)}dispose(){y(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}M.None=Object.freeze({dispose(){}});class A{constructor(){this._isDisposed=!1,C(this)}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),e&&S(e,this),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,y(this),null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}clearAndLeak(){const e=this._value;return this._value=void 0,e&&S(e,null),e}}class T{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return 0===--this._counter&&this._disposable.dispose(),this}}class O{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,C(this)}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0,y(this))},this}}class R{constructor(e){this.object=e}dispose(){}}class P{constructor(e){this.element=e,this.next=P.Undefined,this.prev=P.Undefined}}P.Undefined=new P(void 0);class F{constructor(){this._first=P.Undefined,this._last=P.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===P.Undefined}clear(){let e=this._first;for(;e!==P.Undefined;){const t=e.next;e.prev=P.Undefined,e.next=P.Undefined,e=t}this._first=P.Undefined,this._last=P.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new P(e);if(this._first===P.Undefined)this._first=i,this._last=i;else if(t){const e=this._last;this._last=i,i.prev=e,e.next=i}else{const e=this._first;this._first=i,i.next=e,e.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==P.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==P.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==P.Undefined&&e.next!==P.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===P.Undefined&&e.next===P.Undefined?(this._first=P.Undefined,this._last=P.Undefined):e.next===P.Undefined?(this._last=this._last.prev,this._last.next=P.Undefined):e.prev===P.Undefined&&(this._first=this._first.next,this._first.prev=P.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==P.Undefined;)yield e.element,e=e.next}}let B="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function V(e,t){let i;return i=0===t.length?e:e.replace(/\{(\d+)\}/g,(e,i)=>{const n=i[0],o=t[n];let s=e;return"string"==typeof o?s=o:"number"!=typeof o&&"boolean"!=typeof o&&null!=o||(s=String(o)),s}),B&&(i="["+i.replace(/[aouei]/g,"$&$&")+"]"),i}function W(e,t,...i){return V(t,i)}var z,H=i(4806);const U="en";let j,K,$=!1,q=!1,G=!1,Z=!1,Y=!1,Q=!1,X=!1,J=!1,ee=!1,te=null,ie=null;const ne="object"==typeof self?self:"object"==typeof i.g?i.g:{};let oe;void 0!==ne.vscode&&void 0!==ne.vscode.process?oe=ne.vscode.process:void 0!==H&&(oe=H);const se="string"==typeof(null===(z=null==oe?void 0:oe.versions)||void 0===z?void 0:z.electron),re=se&&"renderer"===(null==oe?void 0:oe.type);if("object"!=typeof navigator||re)if("object"==typeof oe){$="win32"===oe.platform,q="darwin"===oe.platform,G="linux"===oe.platform,Z=G&&!!oe.env.SNAP&&!!oe.env.SNAP_REVISION,X=se,ee=!!oe.env.CI||!!oe.env.BUILD_ARTIFACTSTAGINGDIRECTORY,j=U,te=U;const e=oe.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),i=t.availableLanguages["*"];j=t.locale,te=i||U,ie=t._translationsConfigFile}catch(e){}Y=!0}else console.error("Unable to resolve platform.");else{K=navigator.userAgent,$=K.indexOf("Windows")>=0,q=K.indexOf("Macintosh")>=0,J=(K.indexOf("Macintosh")>=0||K.indexOf("iPad")>=0||K.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,G=K.indexOf("Linux")>=0,Q=!0;j=void W(0,"_")||U,te=j}let ae=0;q?ae=1:$?ae=3:G&&(ae=2);const le=$,he=q,de=G,ce=Y,ue=Q,ge=Q&&"function"==typeof ne.importScripts,pe=J,me=K,fe="function"==typeof ne.postMessage&&!ne.importScripts,_e=(()=>{if(fe){const e=[];ne.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i{const n=++t;e.push({id:n,callback:i}),ne.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),ve=q||J?2:$?1:3;let be=!0,we=!1;function Ce(){if(!we){we=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);be=513===t[0]}return be}const ye=!!(me&&me.indexOf("Chrome")>=0),Se=!!(me&&me.indexOf("Firefox")>=0),ke=!!(!ye&&me&&me.indexOf("Safari")>=0),Le=!!(me&&me.indexOf("Edg/")>=0),xe=(me&&me.indexOf("Android"),ne.performance&&"function"==typeof ne.performance.now);class De{constructor(e){this._highResolution=xe&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new De(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?ne.performance.now():Date.now()}}var Ee;!function(e){function t(e){false}function i(e){return(t,i=null,n)=>{let o,s=!1;return o=e(e=>{if(!s)return o?o.dispose():s=!0,t.call(i,e)},null,n),s&&o.dispose(),o}}function n(e,t,i){return a((i,n=null,o)=>e(e=>i.call(n,t(e)),null,o),i)}function o(e,t,i){return a((i,n=null,o)=>e(e=>{t(e),i.call(n,e)},null,o),i)}function s(e,t,i){return a((i,n=null,o)=>e(e=>t(e)&&i.call(n,e),null,o),i)}function r(e,t,i,o){let s=i;return n(e,e=>(s=t(s,e),s),o)}function a(e,i){let n;const o={onFirstListenerAdd(){n=e(s.fire,s)},onLastListenerRemove(){null==n||n.dispose()}};i||t();const s=new Ae(o);return null==i||i.add(s),s.event}function l(e,i,n=100,o=!1,s,r){let a,l,h,d=0;const c={leakWarningThreshold:s,onFirstListenerAdd(){a=e(e=>{d++,l=i(l,e),o&&!h&&(u.fire(l),l=void 0),clearTimeout(h),h=setTimeout(()=>{const e=l;l=void 0,h=void 0,(!o||d>1)&&u.fire(e),d=0},n)})},onLastListenerRemove(){a.dispose()}};r||t();const u=new Ae(c);return null==r||r.add(u),u.event}function h(e,t=(e,t)=>e===t,i){let n,o=!0;return s(e,e=>{const i=o||!t(e,n);return o=!1,n=e,i},i)}e.None=()=>M.None,e.once=i,e.map=n,e.forEach=o,e.filter=s,e.signal=function(e){return e},e.any=function(...e){return(t,i=null,n)=>E(...e.map(e=>e(e=>t.call(i,e),null,n)))},e.reduce=r,e.debounce=l,e.latch=h,e.split=function(t,i,n){return[e.filter(t,i,n),e.filter(t,e=>!i(e),n)]},e.buffer=function(e,t=!1,i=[]){let n=i.slice(),o=e(e=>{n?n.push(e):r.fire(e)});const s=()=>{null==n||n.forEach(e=>r.fire(e)),n=null},r=new Ae({onFirstListenerAdd(){o||(o=e(e=>r.fire(e)))},onFirstListenerDidAdd(){n&&(t?setTimeout(s):s())},onLastListenerRemove(){o&&o.dispose(),o=null}});return r.event};class d{constructor(e){this.event=e,this.disposables=new I}map(e){return new d(n(this.event,e,this.disposables))}forEach(e){return new d(o(this.event,e,this.disposables))}filter(e){return new d(s(this.event,e,this.disposables))}reduce(e,t){return new d(r(this.event,e,t,this.disposables))}latch(){return new d(h(this.event,void 0,this.disposables))}debounce(e,t=100,i=!1,n){return new d(l(this.event,e,t,i,n,this.disposables))}on(e,t,i){return this.event(e,t,i)}once(e,t,n){return i(this.event)(e,t,n)}dispose(){this.disposables.dispose()}}e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,t,i=e=>e){const n=(...e)=>o.fire(i(...e)),o=new Ae({onFirstListenerAdd:()=>e.on(t,n),onLastListenerRemove:()=>e.removeListener(t,n)});return o.event},e.fromDOMEventEmitter=function(e,t,i=e=>e){const n=(...e)=>o.fire(i(...e)),o=new Ae({onFirstListenerAdd:()=>e.addEventListener(t,n),onLastListenerRemove:()=>e.removeEventListener(t,n)});return o.event},e.toPromise=function(e){return new Promise(t=>i(e)(t))},e.runAndSubscribe=function(e,t){return t(void 0),e(e=>t(e))},e.runAndSubscribeWithStore=function(e,t){let i=null;function n(e){null==i||i.dispose(),i=new I,t(e,i)}n(void 0);const o=e(e=>n(e));return N(()=>{o.dispose(),null==i||i.dispose()})};class c{constructor(e,i){this.obs=e,this._counter=0,this._hasChanged=!1;const n={onFirstListenerAdd:()=>{e.addObserver(this)},onLastListenerRemove:()=>{e.removeObserver(this)}};i||t(),this.emitter=new Ae(n),i&&i.add(this.emitter)}beginUpdate(e){this._counter++}handleChange(e,t){this._hasChanged=!0}endUpdate(e){0===--this._counter&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}e.fromObservable=function(e,t){return new c(e,t).emitter.event}}(Ee||(Ee={}));class Ne{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${Ne._idPool++}`}start(e){this._stopWatch=new De(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}Ne._idPool=0;class Ie{constructor(e){this.value=e}static create(){var e;return new Ie(null!==(e=(new Error).stack)&&void 0!==e?e:"")}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class Me{constructor(e,t,i){this.callback=e,this.callbackThis=t,this.stack=i,this.subscription=new O}invoke(e){this.callback.call(this.callbackThis,e)}}class Ae{constructor(e){var t,i;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=(null===(t=this._options)||void 0===t?void 0:t._profName)?new Ne(this._options._profName):void 0,this._deliveryQueue=null===(i=this._options)||void 0===i?void 0:i.deliveryQueue}dispose(){var e,t,i,n;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(i=null===(t=this._options)||void 0===t?void 0:t.onLastListenerRemove)||void 0===i||i.call(t),null===(n=this._leakageMon)||void 0===n||n.dispose())}get event(){return this._event||(this._event=(e,t,i)=>{var n,o,s;this._listeners||(this._listeners=new F);const r=this._listeners.isEmpty();let a,l;r&&(null===(n=this._options)||void 0===n?void 0:n.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this),this._leakageMon&&this._listeners.size>=30&&(l=Ie.create(),a=this._leakageMon.check(l,this._listeners.size+1));const h=new Me(e,t,l),d=this._listeners.push(h);r&&(null===(o=this._options)||void 0===o?void 0:o.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),(null===(s=this._options)||void 0===s?void 0:s.onListenerDidAdd)&&this._options.onListenerDidAdd(this,e,t);const c=h.subscription.set(()=>{if(null==a||a(),!this._disposed&&(d(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}});return i instanceof I?i.add(c):Array.isArray(i)&&i.push(c),c}),this._event}fire(e){var t,i;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Oe);for(const t of this._listeners)this._deliveryQueue.push(this,t,e);null===(t=this._perfMon)||void 0===t||t.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(i=this._perfMon)||void 0===i||i.stop()}}}class Te{constructor(){this._queue=new F}get size(){return this._queue.size}push(e,t,i){this._queue.push(new Re(e,t,i))}clear(e){const t=new F;for(const i of this._queue)i.emitter!==e&&t.push(i);this._queue=t}deliver(){for(;this._queue.size>0;){const e=this._queue.shift();try{e.listener.invoke(e.event)}catch(e){a(e)}}}}class Oe extends Te{clear(e){this._queue.clear()}}class Re{constructor(e,t,i){this.emitter=e,this.listener=t,this.event=i}}class Pe extends Ae{constructor(e){super(e),this._isPaused=0,this._eventQueue=new F,this._mergeFn=null==e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0===--this._isPaused)if(this._mergeFn){const e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class Fe extends Pe{constructor(e){var t;super(e),this._delay=null!==(t=e.delay)&&void 0!==t?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class Be{constructor(){this.buffers=[]}wrapEvent(e){return(t,i,n)=>e(e=>{const n=this.buffers[this.buffers.length-1];n?n.push(()=>t.call(i,e)):t.call(i,e)},void 0,n)}bufferEvents(e){const t=[];this.buffers.push(t);const i=e();return this.buffers.pop(),t.forEach(e=>e()),i}}class Ve{constructor(){this.listening=!1,this.inputEvent=Ee.None,this.inputEventListener=M.None,this.emitter=new Ae({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}class We{constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}We.INSTANCE=new We;class ze extends M{constructor(){super(),this._onDidChange=this._register(new Ae),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(!0),this._mediaQueryList=null,this._handleChange(!1)}_handleChange(e){var t;null===(t=this._mediaQueryList)||void 0===t||t.removeEventListener("change",this._listener),this._mediaQueryList=matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),e&&this._onDidChange.fire()}}class He extends M{constructor(){super(),this._onDidChange=this._register(new Ae),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();const e=this._register(new ze);this._register(e.onDidChange(()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)}))}get value(){return this._value}_getPixelRatio(){const e=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}}function Ue(e,t){"string"==typeof e&&(e=window.matchMedia(e)),e.addEventListener("change",t)}const je=new class{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=k(new He)),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}};function Ke(){return We.INSTANCE.getZoomFactor()}const $e=navigator.userAgent,qe=$e.indexOf("Firefox")>=0,Ge=$e.indexOf("AppleWebKit")>=0,Ze=$e.indexOf("Chrome")>=0,Ye=!Ze&&$e.indexOf("Safari")>=0,Qe=!Ze&&!Ye&&Ge,Xe=$e.indexOf("Electron/")>=0,Je=$e.indexOf("Android")>=0;let et=!1;if(window.matchMedia){const e=window.matchMedia("(display-mode: standalone)");et=e.matches,Ue(e,({matches:e})=>{et=e})}function tt(){return et}ce||document.queryCommandSupported&&document.queryCommandSupported("copy")||navigator&&navigator.clipboard&&navigator.clipboard.writeText,ce||navigator&&navigator.clipboard&&navigator.clipboard.readText,ce||tt()||navigator.keyboard,"ontouchstart"in window||navigator.maxTouchPoints;const it=window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0);class nt{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const ot=new nt,st=new nt,rt=new nt,at=new Array(230),lt={},ht=[],dt=Object.create(null),ct=Object.create(null),ut=[],gt=[];for(let e=0;e<=193;e++)ut[e]=-1;for(let e=0;e<=127;e++)gt[e]=-1;var pt;function mt(e,t){return(e|(65535&t)<<16>>>0)>>>0}function ft(e,t){if(0===e)return null;const i=(65535&e)>>>0,n=(4294901760&e)>>>16;return new bt(0!==n?[_t(i,t),_t(n,t)]:[_t(i,t)])}function _t(e,t){const i=!!(2048&e),n=!!(256&e);return new vt(2===t?n:i,!!(1024&e),!!(512&e),2===t?i:n,255&e)}!function(){const e="",t=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[0,1,1,"Hyper",0,e,0,e,e,e],[0,1,2,"Super",0,e,0,e,e,e],[0,1,3,"Fn",0,e,0,e,e,e],[0,1,4,"FnLock",0,e,0,e,e,e],[0,1,5,"Suspend",0,e,0,e,e,e],[0,1,6,"Resume",0,e,0,e,e,e],[0,1,7,"Turbo",0,e,0,e,e,e],[0,1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[0,1,9,"WakeUp",0,e,0,e,e,e],[31,0,10,"KeyA",31,"A",65,"VK_A",e,e],[32,0,11,"KeyB",32,"B",66,"VK_B",e,e],[33,0,12,"KeyC",33,"C",67,"VK_C",e,e],[34,0,13,"KeyD",34,"D",68,"VK_D",e,e],[35,0,14,"KeyE",35,"E",69,"VK_E",e,e],[36,0,15,"KeyF",36,"F",70,"VK_F",e,e],[37,0,16,"KeyG",37,"G",71,"VK_G",e,e],[38,0,17,"KeyH",38,"H",72,"VK_H",e,e],[39,0,18,"KeyI",39,"I",73,"VK_I",e,e],[40,0,19,"KeyJ",40,"J",74,"VK_J",e,e],[41,0,20,"KeyK",41,"K",75,"VK_K",e,e],[42,0,21,"KeyL",42,"L",76,"VK_L",e,e],[43,0,22,"KeyM",43,"M",77,"VK_M",e,e],[44,0,23,"KeyN",44,"N",78,"VK_N",e,e],[45,0,24,"KeyO",45,"O",79,"VK_O",e,e],[46,0,25,"KeyP",46,"P",80,"VK_P",e,e],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[48,0,27,"KeyR",48,"R",82,"VK_R",e,e],[49,0,28,"KeyS",49,"S",83,"VK_S",e,e],[50,0,29,"KeyT",50,"T",84,"VK_T",e,e],[51,0,30,"KeyU",51,"U",85,"VK_U",e,e],[52,0,31,"KeyV",52,"V",86,"VK_V",e,e],[53,0,32,"KeyW",53,"W",87,"VK_W",e,e],[54,0,33,"KeyX",54,"X",88,"VK_X",e,e],[55,0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[22,0,36,"Digit1",22,"1",49,"VK_1",e,e],[23,0,37,"Digit2",23,"2",50,"VK_2",e,e],[24,0,38,"Digit3",24,"3",51,"VK_3",e,e],[25,0,39,"Digit4",25,"4",52,"VK_4",e,e],[26,0,40,"Digit5",26,"5",53,"VK_5",e,e],[27,0,41,"Digit6",27,"6",54,"VK_6",e,e],[28,0,42,"Digit7",28,"7",55,"VK_7",e,e],[29,0,43,"Digit8",29,"8",56,"VK_8",e,e],[30,0,44,"Digit9",30,"9",57,"VK_9",e,e],[21,0,45,"Digit0",21,"0",48,"VK_0",e,e],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[10,1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,e,0,e,e,e],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[59,1,64,"F1",59,"F1",112,"VK_F1",e,e],[60,1,65,"F2",60,"F2",113,"VK_F2",e,e],[61,1,66,"F3",61,"F3",114,"VK_F3",e,e],[62,1,67,"F4",62,"F4",115,"VK_F4",e,e],[63,1,68,"F5",63,"F5",116,"VK_F5",e,e],[64,1,69,"F6",64,"F6",117,"VK_F6",e,e],[65,1,70,"F7",65,"F7",118,"VK_F7",e,e],[66,1,71,"F8",66,"F8",119,"VK_F8",e,e],[67,1,72,"F9",67,"F9",120,"VK_F9",e,e],[68,1,73,"F10",68,"F10",121,"VK_F10",e,e],[69,1,74,"F11",69,"F11",122,"VK_F11",e,e],[70,1,75,"F12",70,"F12",123,"VK_F12",e,e],[0,1,76,"PrintScreen",0,e,0,e,e,e],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",e,e],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[14,1,80,"Home",14,"Home",36,"VK_HOME",e,e],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[13,1,83,"End",13,"End",35,"VK_END",e,e],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",e,e],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",e,e],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",e,e],[3,1,94,"NumpadEnter",3,e,0,e,e,e],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",e,e],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",e,e],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",e,e],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",e,e],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",e,e],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",e,e],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",e,e],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",e,e],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",e,e],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",e,e],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",e,e],[58,1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[0,1,108,"Power",0,e,0,e,e,e],[0,1,109,"NumpadEqual",0,e,0,e,e,e],[71,1,110,"F13",71,"F13",124,"VK_F13",e,e],[72,1,111,"F14",72,"F14",125,"VK_F14",e,e],[73,1,112,"F15",73,"F15",126,"VK_F15",e,e],[74,1,113,"F16",74,"F16",127,"VK_F16",e,e],[75,1,114,"F17",75,"F17",128,"VK_F17",e,e],[76,1,115,"F18",76,"F18",129,"VK_F18",e,e],[77,1,116,"F19",77,"F19",130,"VK_F19",e,e],[0,1,117,"F20",0,e,0,"VK_F20",e,e],[0,1,118,"F21",0,e,0,"VK_F21",e,e],[0,1,119,"F22",0,e,0,"VK_F22",e,e],[0,1,120,"F23",0,e,0,"VK_F23",e,e],[0,1,121,"F24",0,e,0,"VK_F24",e,e],[0,1,122,"Open",0,e,0,e,e,e],[0,1,123,"Help",0,e,0,e,e,e],[0,1,124,"Select",0,e,0,e,e,e],[0,1,125,"Again",0,e,0,e,e,e],[0,1,126,"Undo",0,e,0,e,e,e],[0,1,127,"Cut",0,e,0,e,e,e],[0,1,128,"Copy",0,e,0,e,e,e],[0,1,129,"Paste",0,e,0,e,e,e],[0,1,130,"Find",0,e,0,e,e,e],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",e,e],[0,1,136,"KanaMode",0,e,0,e,e,e],[0,0,137,"IntlYen",0,e,0,e,e,e],[0,1,138,"Convert",0,e,0,e,e,e],[0,1,139,"NonConvert",0,e,0,e,e,e],[0,1,140,"Lang1",0,e,0,e,e,e],[0,1,141,"Lang2",0,e,0,e,e,e],[0,1,142,"Lang3",0,e,0,e,e,e],[0,1,143,"Lang4",0,e,0,e,e,e],[0,1,144,"Lang5",0,e,0,e,e,e],[0,1,145,"Abort",0,e,0,e,e,e],[0,1,146,"Props",0,e,0,e,e,e],[0,1,147,"NumpadParenLeft",0,e,0,e,e,e],[0,1,148,"NumpadParenRight",0,e,0,e,e,e],[0,1,149,"NumpadBackspace",0,e,0,e,e,e],[0,1,150,"NumpadMemoryStore",0,e,0,e,e,e],[0,1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[0,1,152,"NumpadMemoryClear",0,e,0,e,e,e],[0,1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[0,1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",e,e],[0,1,156,"NumpadClearEntry",0,e,0,e,e,e],[5,1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[4,1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[6,1,0,e,6,"Alt",18,"VK_MENU",e,e],[57,1,0,e,57,"Meta",0,"VK_COMMAND",e,e],[5,1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[4,1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[6,1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[57,1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[5,1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[4,1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[6,1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[57,1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[0,1,165,"BrightnessUp",0,e,0,e,e,e],[0,1,166,"BrightnessDown",0,e,0,e,e,e],[0,1,167,"MediaPlay",0,e,0,e,e,e],[0,1,168,"MediaRecord",0,e,0,e,e,e],[0,1,169,"MediaFastForward",0,e,0,e,e,e],[0,1,170,"MediaRewind",0,e,0,e,e,e],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",e,e],[0,1,174,"Eject",0,e,0,e,e,e],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[0,1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[0,1,180,"SelectTask",0,e,0,e,e,e],[0,1,181,"LaunchScreenSaver",0,e,0,e,e,e],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[0,1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[0,1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[0,1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[0,1,189,"ZoomToggle",0,e,0,e,e,e],[0,1,190,"MailReply",0,e,0,e,e,e],[0,1,191,"MailForward",0,e,0,e,e,e],[0,1,192,"MailSend",0,e,0,e,e,e],[109,1,0,e,109,"KeyInComposition",229,e,e,e],[111,1,0,e,111,"ABNT_C2",194,"VK_ABNT_C2",e,e],[91,1,0,e,91,"OEM_8",223,"VK_OEM_8",e,e],[0,1,0,e,0,e,0,"VK_KANA",e,e],[0,1,0,e,0,e,0,"VK_HANGUL",e,e],[0,1,0,e,0,e,0,"VK_JUNJA",e,e],[0,1,0,e,0,e,0,"VK_FINAL",e,e],[0,1,0,e,0,e,0,"VK_HANJA",e,e],[0,1,0,e,0,e,0,"VK_KANJI",e,e],[0,1,0,e,0,e,0,"VK_CONVERT",e,e],[0,1,0,e,0,e,0,"VK_NONCONVERT",e,e],[0,1,0,e,0,e,0,"VK_ACCEPT",e,e],[0,1,0,e,0,e,0,"VK_MODECHANGE",e,e],[0,1,0,e,0,e,0,"VK_SELECT",e,e],[0,1,0,e,0,e,0,"VK_PRINT",e,e],[0,1,0,e,0,e,0,"VK_EXECUTE",e,e],[0,1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[0,1,0,e,0,e,0,"VK_HELP",e,e],[0,1,0,e,0,e,0,"VK_APPS",e,e],[0,1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[0,1,0,e,0,e,0,"VK_PACKET",e,e],[0,1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_ATTN",e,e],[0,1,0,e,0,e,0,"VK_CRSEL",e,e],[0,1,0,e,0,e,0,"VK_EXSEL",e,e],[0,1,0,e,0,e,0,"VK_EREOF",e,e],[0,1,0,e,0,e,0,"VK_PLAY",e,e],[0,1,0,e,0,e,0,"VK_ZOOM",e,e],[0,1,0,e,0,e,0,"VK_NONAME",e,e],[0,1,0,e,0,e,0,"VK_PA1",e,e],[0,1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],i=[],n=[];for(const e of t){const[t,o,s,r,a,l,h,d,c,u]=e;if(n[s]||(n[s]=!0,ht[s]=r,dt[r]=s,ct[r.toLowerCase()]=s,o&&(ut[s]=a,0!==a&&3!==a&&5!==a&&4!==a&&6!==a&&57!==a&&(gt[a]=s))),!i[a]){if(i[a]=!0,!l)throw new Error(`String representation missing for key code ${a} around scan code ${r}`);ot.define(a,l),st.define(a,c||l),rt.define(a,u||c||l)}h&&(at[h]=a),d&&(lt[d]=a)}gt[3]=46}(),function(e){e.toString=function(e){return ot.keyCodeToStr(e)},e.fromString=function(e){return ot.strToKeyCode(e)},e.toUserSettingsUS=function(e){return st.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return rt.keyCodeToStr(e)},e.fromUserSettings=function(e){return st.strToKeyCode(e)||rt.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=93&&e<=108)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return ot.keyCodeToStr(e)}}(pt||(pt={}));class vt{constructor(e,t,i,n,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=n,this.keyCode=o}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new bt([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class bt{constructor(e){if(0===e.length)throw p("parts");this.parts=e}}class wt{constructor(e,t,i,n,o,s){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=n,this.keyLabel=o,this.keyAriaLabel=s}}class Ct{}const yt=he?256:2048,St=he?2048:256;class kt{constructor(e){this._standardKeyboardEventBrand=!0;const t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=function(e){if(e.charCode){const t=String.fromCharCode(e.charCode).toUpperCase();return pt.fromString(t)}const t=e.keyCode;if(3===t)return 7;if(qe){if(59===t)return 80;if(107===t)return 81;if(109===t)return 83;if(he&&224===t)return 57}else if(Ge){if(91===t)return 57;if(he&&93===t)return 57;if(!he&&92===t)return 57}return at[t]||0}(t),this.code=t.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=yt),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=St),t|=e,t}_computeRuntimeKeybinding(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new vt(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}let Lt=!1,xt=null;function Dt(e){if(!e.parent||e.parent===e)return null;try{const t=e.location,i=e.parent.location;if("null"!==t.origin&&"null"!==i.origin&&t.origin!==i.origin)return Lt=!0,null}catch(e){return Lt=!0,null}return e.parent}class Et{static getSameOriginWindowChain(){if(!xt){xt=[];let e,t=window;do{e=Dt(t),e?xt.push({window:t,iframeElement:t.frameElement||null}):xt.push({window:t,iframeElement:null}),t=e}while(t)}return xt.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let i=0,n=0;const o=this.getSameOriginWindowChain();for(const e of o){if(i+=e.window.scrollY,n+=e.window.scrollX,e.window===t)break;if(!e.iframeElement)break;const o=e.iframeElement.getBoundingClientRect();i+=o.top,n+=o.left}return{top:i,left:n}}}class Nt{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"==typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);const t=Et.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class It{constructor(e,t=0,i=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=i,this.deltaX=t,e){const t=e,i=e;if(void 0!==t.wheelDeltaY)this.deltaY=t.wheelDeltaY/120;else if(void 0!==i.VERTICAL_AXIS&&i.axis===i.VERTICAL_AXIS)this.deltaY=-i.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?this.deltaY=qe&&!he?-e.deltaY/3:-e.deltaY:this.deltaY=-e.deltaY/40}if(void 0!==t.wheelDeltaX)this.deltaX=Ye&&le?-t.wheelDeltaX/120:t.wheelDeltaX/120;else if(void 0!==i.HORIZONTAL_AXIS&&i.axis===i.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?this.deltaX=qe&&!he?-e.deltaX/3:-e.deltaX:this.deltaX=-e.deltaX/40}0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}var Mt=Object.hasOwnProperty,At=Object.setPrototypeOf,Tt=Object.isFrozen,Ot=Object.getPrototypeOf,Rt=Object.getOwnPropertyDescriptor,Pt=Object.freeze,Ft=Object.seal,Bt=Object.create,Vt="undefined"!=typeof Reflect&&Reflect,Wt=Vt.apply,zt=Vt.construct;Wt||(Wt=function(e,t,i){return e.apply(t,i)}),Pt||(Pt=function(e){return e}),Ft||(Ft=function(e){return e}),zt||(zt=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat( +/*! @license DOMPurify 2.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.1/LICENSE */ +function(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t1?i-1:0),o=1;o/gm),fi=Ft(/^data-[\-\w.\u00B7-\uFFFF]/),_i=Ft(/^aria-[\-\w]+$/),vi=Ft(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),bi=Ft(/^(?:\w+script|data):/i),wi=Ft(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ci="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function yi(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:Si(),i=function(t){return e(t)};if(i.version="2.3.1",i.removed=[],!t||!t.document||9!==t.document.nodeType)return i.isSupported=!1,i;var n=t.document,o=t.document,s=t.DocumentFragment,r=t.HTMLTemplateElement,a=t.Node,l=t.Element,h=t.NodeFilter,d=t.NamedNodeMap,c=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,u=t.Text,g=t.Comment,p=t.DOMParser,m=t.trustedTypes,f=l.prototype,_=ii(f,"cloneNode"),v=ii(f,"nextSibling"),b=ii(f,"childNodes"),w=ii(f,"parentNode");if("function"==typeof r){var C=o.createElement("template");C.content&&C.content.ownerDocument&&(o=C.content.ownerDocument)}var y=function(e,t){if("object"!==(void 0===e?"undefined":Ci(e))||"function"!=typeof e.createPolicy)return null;var i=null,n="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(n)&&(i=t.currentScript.getAttribute(n));var o="dompurify"+(i?"#"+i:"");try{return e.createPolicy(o,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(m,n),S=y&&te?y.createHTML(""):"",k=o,L=k.implementation,x=k.createNodeIterator,D=k.createDocumentFragment,E=k.getElementsByTagName,N=n.importNode,I={};try{I=ti(o).documentMode?o.documentMode:{}}catch(e){}var M={};i.isSupported="function"==typeof w&&L&&void 0!==L.createHTMLDocument&&9!==I;var A=pi,T=mi,O=fi,R=_i,P=bi,F=wi,B=vi,V=null,W=ei({},[].concat(yi(ni),yi(oi),yi(si),yi(ai),yi(hi))),z=null,H=ei({},[].concat(yi(di),yi(ci),yi(ui),yi(gi))),U=null,j=null,K=!0,$=!0,q=!1,G=!1,Z=!1,Y=!1,Q=!1,X=!1,J=!1,ee=!0,te=!1,ie=!0,ne=!0,oe=!1,se={},re=null,ae=ei({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),le=null,he=ei({},["audio","video","img","source","image","track"]),de=null,ce=ei({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ue="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",pe="http://www.w3.org/1999/xhtml",me=pe,fe=!1,_e=null,ve=o.createElement("form"),be=function(e){_e&&_e===e||(e&&"object"===(void 0===e?"undefined":Ci(e))||(e={}),e=ti(e),V="ALLOWED_TAGS"in e?ei({},e.ALLOWED_TAGS):W,z="ALLOWED_ATTR"in e?ei({},e.ALLOWED_ATTR):H,de="ADD_URI_SAFE_ATTR"in e?ei(ti(ce),e.ADD_URI_SAFE_ATTR):ce,le="ADD_DATA_URI_TAGS"in e?ei(ti(he),e.ADD_DATA_URI_TAGS):he,re="FORBID_CONTENTS"in e?ei({},e.FORBID_CONTENTS):ae,U="FORBID_TAGS"in e?ei({},e.FORBID_TAGS):{},j="FORBID_ATTR"in e?ei({},e.FORBID_ATTR):{},se="USE_PROFILES"in e&&e.USE_PROFILES,K=!1!==e.ALLOW_ARIA_ATTR,$=!1!==e.ALLOW_DATA_ATTR,q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,G=e.SAFE_FOR_TEMPLATES||!1,Z=e.WHOLE_DOCUMENT||!1,X=e.RETURN_DOM||!1,J=e.RETURN_DOM_FRAGMENT||!1,ee=!1!==e.RETURN_DOM_IMPORT,te=e.RETURN_TRUSTED_TYPE||!1,Q=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,ne=!1!==e.KEEP_CONTENT,oe=e.IN_PLACE||!1,B=e.ALLOWED_URI_REGEXP||B,me=e.NAMESPACE||pe,G&&($=!1),J&&(X=!0),se&&(V=ei({},[].concat(yi(hi))),z=[],!0===se.html&&(ei(V,ni),ei(z,di)),!0===se.svg&&(ei(V,oi),ei(z,ci),ei(z,gi)),!0===se.svgFilters&&(ei(V,si),ei(z,ci),ei(z,gi)),!0===se.mathMl&&(ei(V,ai),ei(z,ui),ei(z,gi))),e.ADD_TAGS&&(V===W&&(V=ti(V)),ei(V,e.ADD_TAGS)),e.ADD_ATTR&&(z===H&&(z=ti(z)),ei(z,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&ei(de,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(re===ae&&(re=ti(re)),ei(re,e.FORBID_CONTENTS)),ne&&(V["#text"]=!0),Z&&ei(V,["html","head","body"]),V.table&&(ei(V,["tbody"]),delete U.tbody),Pt&&Pt(e),_e=e)},we=ei({},["mi","mo","mn","ms","mtext"]),Ce=ei({},["foreignobject","desc","title","annotation-xml"]),ye=ei({},oi);ei(ye,si),ei(ye,ri);var Se=ei({},ai);ei(Se,li);var ke=function(e){Kt(i.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=S}catch(t){e.remove()}}},Le=function(e,t){try{Kt(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Kt(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!z[e])if(X||J)try{ke(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},xe=function(e){var t=void 0,i=void 0;if(Q)e=""+e;else{var n=qt(e,/^[\r\n\t ]+/);i=n&&n[0]}var s=y?y.createHTML(e):e;if(me===pe)try{t=(new p).parseFromString(s,"text/html")}catch(e){}if(!t||!t.documentElement){t=L.createDocument(me,"template",null);try{t.documentElement.innerHTML=fe?"":s}catch(e){}}var r=t.body||t.documentElement;return e&&i&&r.insertBefore(o.createTextNode(i),r.childNodes[0]||null),me===pe?E.call(t,Z?"html":"body")[0]:Z?t.documentElement:r},De=function(e){return x.call(e.ownerDocument||e,e,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT,null,!1)},Ee=function(e){return"object"===(void 0===a?"undefined":Ci(a))?e instanceof a:e&&"object"===(void 0===e?"undefined":Ci(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ne=function(e,t,n){M[e]&&Ut(M[e],function(e){e.call(i,t,n,_e)})},Ie=function(e){var t,n=void 0;if(Ne("beforeSanitizeElements",e,null),!((t=e)instanceof u||t instanceof g||"string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof c&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute&&"string"==typeof t.namespaceURI&&"function"==typeof t.insertBefore))return ke(e),!0;if(qt(e.nodeName,/[\u0080-\uFFFF]/))return ke(e),!0;var o=$t(e.nodeName);if(Ne("uponSanitizeElement",e,{tagName:o,allowedTags:V}),!Ee(e.firstElementChild)&&(!Ee(e.content)||!Ee(e.content.firstElementChild))&&Qt(/<[/\w]/g,e.innerHTML)&&Qt(/<[/\w]/g,e.textContent))return ke(e),!0;if("select"===o&&Qt(/