ul-question-test-ui 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";var Gk=Object.defineProperty;var Wk=(t,e,n)=>e in t?Gk(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Ie=(t,e,n)=>Wk(t,typeof e!="symbol"?e+"":e,n);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const Ce=require("vue");function Yk(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const Lp=Yk(Ce);function Nn(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;return e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),i&&(s._scopeId="data-v-"+i),{exports:t,options:s}}const Xk=Ce.defineComponent({name:"MyButton",emits:["click"],setup(t,{emit:e}){const n=Ce.version;return{onClick:r=>e("click",r),vueVersion:n}}});var Zk=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("button",{staticClass:"my-btn",on:{click:e.onClick}},[e._v(" "+e._s("vue-version:"+e.vueVersion)+" "),e._t("default")],2)},Jk=[],eC=Nn(Xk,Zk,Jk,!1,null,"11c7ae7a");const fl=eC.exports;fl.install=t=>t.component(fl.name,fl);var Ip=function(t,e){return Ip=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r])},Ip(t,e)};function tC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ip(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var qr=function(){return qr=Object.assign||function(e){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},qr.apply(this,arguments)};function Yl(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ab(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var o=n.call(t),r,i=[],a;try{for(;(e===void 0||e-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(l){a={error:l}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function Sb(t,e,n){if(arguments.length===2)for(var o=0,r=e.length,i;o<r;o++)(i||!(o in e))&&(i||(i=Array.prototype.slice.call(e,0,o)),i[o]=e[o]);return t.concat(i||Array.prototype.slice.call(e))}function gm(t){var e;ot(t,(e=To())===null||e===void 0?void 0:e.proxy)}var gs,pc=[],Eb=(function(){function t(e){this.active=!0,this.effects=[],this.cleanups=[],this.vm=e}return t.prototype.run=function(e){if(this.active)try{return this.on(),e()}finally{this.off()}else process.env.NODE_ENV!=="production"&&gm("cannot run an inactive effect scope.")},t.prototype.on=function(){this.active&&(pc.push(this),gs=this)},t.prototype.off=function(){this.active&&(pc.pop(),gs=pc[pc.length-1])},t.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach(function(e){return e.stop()}),this.cleanups.forEach(function(e){return e()}),this.active=!1)},t})(),$b=(function(t){tC(e,t);function e(n){n===void 0&&(n=!1);var o=this,r=void 0;return lC(function(){r=$s(ro())}),o=t.call(this,r)||this,n||nC(o),o}return e})(Eb);function nC(t,e){var n;if(e=e||gs,e&&e.active){e.effects.push(t);return}var o=(n=To())===null||n===void 0?void 0:n.proxy;o&&o.$on("hook:destroyed",function(){return t.stop()})}function oC(t){return new $b(t)}function Pb(){return gs}function rC(t){gs?gs.cleanups.push(t):process.env.NODE_ENV!=="production"&&gm("onScopeDispose() is called when there is no active effect scope to be associated with.")}function _b(){var t,e;return((t=Pb())===null||t===void 0?void 0:t.vm)||((e=To())===null||e===void 0?void 0:e.proxy)}function iC(t){if(!t.scope){var e=new Eb(t.proxy);t.scope=e,t.proxy.$on("hook:destroyed",function(){return e.stop()})}return t.scope}var Np=void 0;try{var _i=require("vue");_i&&Zf(_i)?Np=_i:_i&&"default"in _i&&Zf(_i.default)&&(Np=_i.default)}catch{}var Di=null,ja=null,Wc=!0,Mb="__composition_api_installed__";function Zf(t){return t&&xn(t)&&t.name==="Vue"}function aC(t){return Di&&to(t,Mb)}function ro(){return process.env.NODE_ENV!=="production"&&qu(Di,"must call Vue.use(VueCompositionAPI) before using any function."),Di}function Lb(){var t=Di||Np;return process.env.NODE_ENV!=="production"&&qu(t,"No vue dependency found."),t}function sC(t){process.env.NODE_ENV!=="production"&&Di&&t.__proto__!==Di.__proto__&&ot("[vue-composition-api] another instance of Vue installed"),Di=t,Object.defineProperty(t,Mb,{configurable:!0,writable:!0,value:!0})}function lC(t){var e=Wc;Wc=!1;try{t()}finally{Wc=e}}function cu(t){if(Wc){var e=ja;e==null||e.scope.off(),ja=t,ja==null||ja.scope.on()}}function To(){return ja}var Md=new WeakMap;function uu(t){if(Md.has(t))return Md.get(t);var e={proxy:t,update:t.$forceUpdate,type:t.$options,uid:t._uid,emit:t.$emit.bind(t),parent:null,root:null};iC(e);var n=["data","props","attrs","refs","vnode","slots"];return n.forEach(function(o){Qt(e,o,{get:function(){return t["$".concat(o)]}})}),Qt(e,"isMounted",{get:function(){return t._isMounted}}),Qt(e,"isUnmounted",{get:function(){return t._isDestroyed}}),Qt(e,"isDeactivated",{get:function(){return t._inactive}}),Qt(e,"emitted",{get:function(){return t._events}}),Md.set(t,e),t.$parent&&(e.parent=uu(t.$parent)),t.$root&&(e.root=uu(t.$root)),e}var cC=function(t){return Object.prototype.toString.call(t)};function Jf(t){return typeof t=="function"&&/native code/.test(t.toString())}var Ib=typeof Symbol<"u"&&Jf(Symbol)&&typeof Reflect<"u"&&Jf(Reflect.ownKeys),Do=function(t){return t};function Qt(t,e,n){var o=n.get,r=n.set;Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:o||Do,set:r||Do})}function Bu(t,e,n,o){Object.defineProperty(t,e,{value:n,enumerable:!!o,writable:!0,configurable:!0})}function to(t,e){return Object.hasOwnProperty.call(t,e)}function qu(t,e){if(!t)throw new Error("[vue-composition-api] ".concat(e))}function Nb(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function An(t){return Array.isArray(t)}var uC=Object.prototype.toString,Ob=function(t){return uC.call(t)},dC=function(t){return Ob(t)==="[object Map]"},pC=function(t){return Ob(t)==="[object Set]"},hC=4294967295;function Db(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)&&e<=hC}function dr(t){return t!==null&&typeof t=="object"}function no(t){return cC(t)==="[object Object]"}function xn(t){return typeof t=="function"}function Bb(t){return t==null}function ot(t,e){var n=Lb();!n||!n.util?console.warn("[vue-composition-api] ".concat(t)):n.util.warn(t,e)}function mC(t,e,n){if(process.env.NODE_ENV!=="production"&&ot("Error in ".concat(n,': "').concat(t.toString(),'"'),e),typeof window<"u"&&typeof console<"u")console.error(t);else throw t}function fC(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}function qb(t,e){return e=e||To(),process.env.NODE_ENV!=="production"&&!e&&ot("".concat(t," is called when there is no active component instance to be ")+"associated with. Lifecycle injection APIs can only be used during execution of setup()."),e}function $s(t,e){e===void 0&&(e={});var n=t.config.silent;t.config.silent=!0;var o=new t(e);return t.config.silent=n,o}function gC(t){var e=ro();return e&&t instanceof e}function vC(t,e){return(function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return t.$scopedSlots[e]?t.$scopedSlots[e].apply(t,n):process.env.NODE_ENV!=="production"?ot("slots.".concat(e,'() got called outside of the "render()" scope'),t):void 0})}function yC(t,e){var n;if(!t)n={};else{if(t._normalized)return t._normalized;n={};for(var o in t)t[o]&&o[0]!=="$"&&(n[o]=!0)}for(var o in e)o in n||(n[o]=!0);return n}var Ld,bC=function(){if(!Ld){var t=$s(ro(),{computed:{value:function(){return 0}}}),e=t._computedWatchers.value.constructor,n=t._data.__ob__.dep.constructor;Ld={Watcher:e,Dep:n},t.$destroy()}return Ld};function Fb(t){return Ib?Symbol.for(t):t}var Ya=Fb("composition-api.preFlushQueue"),gl=Fb("composition-api.postFlushQueue"),en="composition-api.refKey",eg=new WeakMap,Rb=new WeakMap,Fu=new WeakMap;function jb(t,e,n){var o=ro(),r=o.util,i=r.warn,a=r.defineReactive;process.env.NODE_ENV!=="production"&&(Bb(t)||Nb(t))&&i("Cannot set reactive property on undefined, null, or primitive value: ".concat(t));var l=t.__ob__;function s(){l&&dr(n)&&!to(n,"__ob__")&&bm(n)}if(An(t)){if(Db(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),s(),n;if(e==="length"&&n!==t.length)return t.length=n,l==null||l.dep.notify(),n}return e in t&&!(e in Object.prototype)?(t[e]=n,s(),n):t._isVue||l&&l.vmCount?(process.env.NODE_ENV!=="production"&&i("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):l?(a(l.value,e,n),Hb(t,e,n),s(),l.dep.notify(),n):(t[e]=n,n)}var zb=!1;function wC(){return zb}function tg(t){zb=t}var vm=(function(){function t(e){var n=e.get,o=e.set;Qt(this,"value",{get:n,set:o})}return t})();function Ps(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var o=new vm(t);n&&(o.effect=!0);var r=Object.seal(o);return e&&Fu.set(r,!0),r}function du(t){var e;if(yt(t))return t;var n=Xl((e={},e[en]=t,e));return Ps({get:function(){return n[en]},set:function(o){return n[en]=o}})}function yt(t){return t instanceof vm}function Op(t){return yt(t)?t.value:t}function Ub(t){if(process.env.NODE_ENV!=="production"&&!Wn(t)&&ot("toRefs() expects a reactive object but received a plain one."),!no(t))return t;var e={};for(var n in t)e[n]=Vb(t,n);return e}function xC(t){var e=du(0);return Ps(t(function(){return void e.value},function(){++e.value}))}function Vb(t,e){e in t||jb(t,e,void 0);var n=t[e];return yt(n)?n:Ps({get:function(){return t[e]},set:function(o){return t[e]=o}})}function TC(t){var e;if(yt(t))return t;var n=Kb((e={},e[en]=t,e));return Ps({get:function(){return n[en]},set:function(o){return n[en]=o}})}function kC(t){yt(t)&&(tg(!0),t.value=t.value,tg(!1))}function CC(t){var e,n,o;if(Wn(t))return t;var r=Xl((e={},e[en]=t,e));Bu(r,en,r[en],!1);var i=function(c){Qt(r,c,{get:function(){return yt(r[en][c])?r[en][c].value:r[en][c]},set:function(d){if(yt(r[en][c]))return r[en][c].value=Op(d);r[en][c]=Op(d)}})};try{for(var a=Yl(Object.keys(t)),l=a.next();!l.done;l=a.next()){var s=l.value;i(s)}}catch(c){n={error:c}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return r}var ym="__v_skip";function pr(t){var e;return!!(t&&to(t,"__ob__")&&typeof t.__ob__=="object"&&(!((e=t.__ob__)===null||e===void 0)&&e[ym]))}function Wn(t){var e;return!!(t&&to(t,"__ob__")&&typeof t.__ob__=="object"&&!(!((e=t.__ob__)===null||e===void 0)&&e[ym]))}function Dp(t){if(!(!no(t)||pr(t)||An(t)||yt(t)||gC(t)||eg.has(t))){eg.set(t,!0);for(var e=Object.keys(t),n=0;n<e.length;n++)Hb(t,e[n])}}function Hb(t,e,n){if(e!=="__ob__"&&!pr(t[e])){var o,r,i=Object.getOwnPropertyDescriptor(t,e);if(i){if(i.configurable===!1)return;o=i.get,r=i.set,(!o||r)&&arguments.length===2&&(n=t[e])}Dp(n),Qt(t,e,{get:function(){var l=o?o.call(t):n;return e!==en&&yt(l)?l.value:l},set:function(l){o&&!r||(e!==en&&yt(n)&&!yt(l)?n.value=l:(r&&r.call(t,l),n=l),Dp(l))}})}}function Ru(t){var e=Lb(),n;if(e.observable)n=e.observable(t);else{var o=$s(e,{data:{$$state:t}});n=o._data.$$state}return to(n,"__ob__")||bm(n),n}function bm(t,e){var n,o;if(e===void 0&&(e=new Set),!(e.has(t)||to(t,"__ob__")||!Object.isExtensible(t))){Bu(t,"__ob__",AC(t)),e.add(t);try{for(var r=Yl(Object.keys(t)),i=r.next();!i.done;i=r.next()){var a=i.value,l=t[a];!(no(l)||An(l))||pr(l)||!Object.isExtensible(l)||bm(l,e)}}catch(s){n={error:s}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}}}function AC(t){return t===void 0&&(t={}),{value:t,dep:{notify:Do,depend:Do,addSub:Do,removeSub:Do}}}function Qb(){return Ru({}).__ob__}function Kb(t){var e,n;if(!dr(t))return process.env.NODE_ENV!=="production"&&ot('"shallowReactive()" must be called on an object.'),t;if(!(no(t)||An(t))||pr(t)||!Object.isExtensible(t))return t;var o=Ru(An(t)?[]:{}),r=o.__ob__,i=function(c){var d=t[c],u,m,h=Object.getOwnPropertyDescriptor(t,c);if(h){if(h.configurable===!1)return"continue";u=h.get,m=h.set}Qt(o,c,{get:function(){var v;return(v=r.dep)===null||v===void 0||v.depend(),d},set:function(v){var f;u&&!m||!wC()&&d===v||(m?m.call(t,v):d=v,(f=r.dep)===null||f===void 0||f.notify())}})};try{for(var a=Yl(Object.keys(t)),l=a.next();!l.done;l=a.next()){var s=l.value;i(s)}}catch(c){e={error:c}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return o}function Xl(t){if(!dr(t))return process.env.NODE_ENV!=="production"&&ot('"reactive()" must be called on an object.'),t;if(!(no(t)||An(t))||pr(t)||!Object.isExtensible(t))return t;var e=Ru(t);return Dp(e),e}function SC(t){if(!(no(t)||An(t))||!Object.isExtensible(t))return t;var e=Qb();return e[ym]=!0,Bu(t,"__ob__",e),Rb.set(t,!0),t}function EC(t){var e;return pr(t)||!Object.isExtensible(t)?t:((e=t==null?void 0:t.__ob__)===null||e===void 0?void 0:e.value)||t}function $C(t){return Fu.has(t)}function PC(t){return process.env.NODE_ENV!=="production"&&!dr(t)?ot("value cannot be made reactive: ".concat(String(t))):Fu.set(t,!0),t}function _C(t){var e,n;if(!dr(t))return process.env.NODE_ENV!=="production"&&ot("value cannot be made reactive: ".concat(String(t))),t;if(!(no(t)||An(t))||!Object.isExtensible(t)&&!yt(t))return t;var o=yt(t)?new vm({}):Wn(t)?Ru({}):{},r=Xl({}),i=r.__ob__,a=function(d){var u=t[d],m,h=Object.getOwnPropertyDescriptor(t,d);if(h){if(h.configurable===!1&&!yt(t))return"continue";m=h.get}Qt(o,d,{get:function(){var v=m?m.call(t):u;return i.dep.depend(),v},set:function(p){process.env.NODE_ENV!=="production"&&ot('Set operation on key "'.concat(d,'" failed: target is readonly.'))}})};try{for(var l=Yl(Object.keys(t)),s=l.next();!s.done;s=l.next()){var c=s.value;a(c)}}catch(d){e={error:d}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}return Fu.set(o,!0),o}function MC(t,e){var n=ro(),o=n.util.warn;if(process.env.NODE_ENV!=="production"&&(Bb(t)||Nb(t))&&o("Cannot delete reactive property on undefined, null, or primitive value: ".concat(t)),An(t)&&Db(e)){t.splice(e,1);return}var r=t.__ob__;if(t._isVue||r&&r.vmCount){process.env.NODE_ENV!=="production"&&o("Avoid deleting properties on a Vue instance or its root $data - just set it to null.");return}to(t,e)&&(delete t[e],r&&r.dep.notify())}var LC=function(t){return"on".concat(t[0].toUpperCase()+t.slice(1))};function zo(t){return function(e,n){var o=qb(LC(t),n);return o&&IC(ro(),o,t,e)}}function IC(t,e,n,o){var r=e.proxy.$options,i=t.config.optionMergeStrategies[n],a=NC(e,o);return r[n]=i(r[n],a),a}function NC(t,e){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var r=To();cu(t);try{return e.apply(void 0,Sb([],Ab(n),!1))}finally{cu(r)}}}var OC=zo("beforeMount"),DC=zo("mounted"),BC=zo("beforeUpdate"),qC=zo("updated"),FC=zo("beforeDestroy"),RC=zo("destroyed"),jC=zo("errorCaptured"),zC=zo("activated"),UC=zo("deactivated"),VC=zo("serverPrefetch"),Yc;function HC(){pu(this,Ya)}function QC(){pu(this,gl)}function KC(t){return t[Ya]!==void 0}function GC(t){t[Ya]=[],t[gl]=[],t.$on("hook:beforeUpdate",HC),t.$on("hook:updated",QC)}function WC(t){return qr({immediate:!1,deep:!1,flush:"pre"},t)}function YC(t){return qr({flush:"pre"},t)}function Gb(){var t=_b();return t?KC(t)||GC(t):(Yc||(Yc=$s(ro())),t=Yc),t}function pu(t,e){for(var n=t[e],o=0;o<n.length;o++)n[o]();n.length=0}function XC(t,e,n){var o=function(){t.$nextTick(function(){t[Ya].length&&pu(t,Ya),t[gl].length&&pu(t,gl)})};switch(n){case"pre":o(),t[Ya].push(e);break;case"post":o(),t[gl].push(e);break;default:qu(!1,'flush must be one of ["post", "pre", "sync"], but got '.concat(n));break}}function ZC(t,e,n,o){var r=t._watchers.length;return t.$watch(e,n,{immediate:o.immediateInvokeCallback,deep:o.deep,lazy:o.noRun,sync:o.sync,before:o.before}),t._watchers[r]}function ng(t,e){var n=t.teardown;t.teardown=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];n.apply(t,o),e()}}function Wb(t,e,n,o){var r;process.env.NODE_ENV!=="production"&&!n&&(o.immediate!==void 0&&ot('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o.deep!==void 0&&ot('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));var i=o.flush,a=i==="sync",l,s=function(P){l=function(){try{P()}catch(N){mC(N,t,"onCleanup()")}}},c=function(){l&&(l(),l=null)},d=function(P){return a||t===Yc?P:(function(){for(var N=[],D=0;D<arguments.length;D++)N[D]=arguments[D];return XC(t,function(){P.apply(void 0,Sb([],Ab(N),!1))},i)})};if(n===null){var u=!1,m=function(){if(!u)try{u=!0,e(s)}finally{u=!1}},h=ZC(t,m,Do,{deep:o.deep||!1,sync:a,before:c});ng(h,c),h.lazy=!1;var p=h.get.bind(h);return h.get=d(p),function(){h.teardown()}}var v=o.deep,f=!1,b;if(yt(e)?b=function(){return e.value}:Wn(e)?(b=function(){return e},v=!0):An(e)?(f=!0,b=function(){return e.map(function(P){return yt(P)?P.value:Wn(P)?Ga(P):xn(P)?P():(process.env.NODE_ENV!=="production"&&ot("Invalid watch source: ".concat(JSON.stringify(P),`.
|
|
2
2
|
A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`),t),Do)})}):xn(e)?b=e:(b=Do,process.env.NODE_ENV!=="production"&&ot("Invalid watch source: ".concat(JSON.stringify(e),`.
|
|
3
3
|
A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`),t)),v){var x=b;b=function(){return Ga(x())}}var w=function(P,N){if(!(!v&&f&&P.every(function(D,W){return fC(D,N[W])})))return c(),n(P,N,s)},E=d(w);if(o.immediate){var S=E,$=function(P,N){return $=S,w(P,An(P)?[]:N)};E=function(P,N){return $(P,N)}}var q=t.$watch(b,E,{immediate:o.immediate,deep:v,sync:a}),B=t._watchers[t._watchers.length-1];return Wn(B.value)&&(!((r=B.value.__ob__)===null||r===void 0)&&r.dep)&&v&&B.value.__ob__.dep.addSub({update:function(){B.run()}}),ng(B,c),function(){q()}}function wm(t,e){var n=YC(e),o=Gb();return Wb(o,t,null,n)}function JC(t){return wm(t,{flush:"post"})}function eA(t){return wm(t,{flush:"sync"})}function tA(t,e,n){var o=null;xn(e)?o=e:(process.env.NODE_ENV!=="production"&&ot("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),n=e,o=null);var r=WC(n),i=Gb();return Wb(i,t,o,r)}function Ga(t,e){if(e===void 0&&(e=new Set),!dr(t)||e.has(t)||Rb.has(t))return t;if(e.add(t),yt(t))Ga(t.value,e);else if(An(t))for(var n=0;n<t.length;n++)Ga(t[n],e);else if(pC(t)||dC(t))t.forEach(function(r){Ga(r,e)});else if(no(t))for(var o in t)Ga(t[o],e);return t}function nA(t){var e=_b(),n,o;xn(t)?n=t:(n=t.get,o=t.set);var r,i;if(e&&!e.$isServer){var a=bC(),l=a.Watcher,s=a.Dep,c;i=function(){return c||(c=new l(e,n,Do,{lazy:!0})),c.dirty&&c.evaluate(),s.target&&c.depend(),c.value},r=function(u){if(process.env.NODE_ENV!=="production"&&!o){ot("Write operation failed: computed value is readonly.",e);return}o&&o(u)}}else{var d=$s(ro(),{computed:{$$state:{get:n,set:o}}});e&&e.$on("hook:destroyed",function(){return d.$destroy()}),i=function(){return d.$$state},r=function(u){if(process.env.NODE_ENV!=="production"&&!o){ot("Write operation failed: computed value is readonly.",e);return}d.$$state=u}}return Ps({get:i,set:r},!o,!0)}var Yb={};function oA(t,e){for(var n=e;n;){if(n._provided&&to(n._provided,t))return n._provided[t];n=n.$parent}return Yb}function rA(t,e){var n,o=(n=qb("provide"))===null||n===void 0?void 0:n.proxy;if(o){if(!o._provided){var r={};Qt(o,"_provided",{get:function(){return r},set:function(i){return Object.assign(r,i)}})}o._provided[t]=e}}function iA(t,e,n){var o;n===void 0&&(n=!1);var r=(o=To())===null||o===void 0?void 0:o.proxy;if(!r){process.env.NODE_ENV!=="production"&&ot("inject() can only be used inside setup() or functional components.");return}if(!t)return process.env.NODE_ENV!=="production"&&ot('injection "'.concat(String(t),'" not found.'),r),e;var i=oA(t,r);if(i!==Yb)return i;if(arguments.length>1)return n&&xn(e)?e():e;process.env.NODE_ENV!=="production"&&ot('Injection "'.concat(String(t),'" not found.'),r)}var og=process.env.NODE_ENV!=="production"?Object.freeze({}):{},Xb=function(t){var e;t===void 0&&(t="$style");var n=To();if(!n)return process.env.NODE_ENV!=="production"&&ot("useCssModule must be called inside setup()"),og;var o=(e=n.proxy)===null||e===void 0?void 0:e[t];return o||(process.env.NODE_ENV!=="production"&&ot('Current instance does not have CSS module named "'.concat(t,'".')),og)},aA=Xb;function sA(t,e){e===void 0&&(e=void 0);var n=ro(),o=void 0,r={},i={config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),provide:function(a,l){return r[a]=l,this},directive:function(a,l){return l?(n.directive(a,l),i):n.directive(a)},mount:function(a,l){return o?(process.env.NODE_ENV!=="production"&&ot("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`"),o):(o=new n(qr(qr({propsData:e},t),{provide:qr(qr({},r),t.provide)})),o.$mount(a,l),o)},unmount:function(){o?(o.$destroy(),o=void 0):process.env.NODE_ENV!=="production"&&ot("Cannot unmount an app that is not mounted.")}};return i}var lA=function(){for(var e,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return(e=ro())===null||e===void 0?void 0:e.nextTick.apply(this,n)},hc,cA=function(){for(var e,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var r=(this===null||this===void 0?void 0:this.proxy)||((e=To())===null||e===void 0?void 0:e.proxy);return r?r.$createElement.apply(r,n):(process.env.NODE_ENV!=="production"&&ot("`createElement()` has been called outside of render function."),hc||(hc=$s(ro()).$createElement),hc.apply(hc,n))};function uA(){return Zb().slots}function dA(){return Zb().attrs}function Zb(){var t=To();return process.env.NODE_ENV!=="production"&&!t&&ot("useContext() called without active instance."),t.setupContext}function pA(t,e,n){var o=t.__composition_api_state__=t.__composition_api_state__||{};o[e]=n}function hA(t,e){return(t.__composition_api_state__||{})[e]}var Vr={set:pA,get:hA};function mA(t,e,n){var o=t.$options.props;!(e in t)&&!(o&&to(o,e))?(yt(n)?Qt(t,e,{get:function(){return n.value},set:function(r){n.value=r}}):Qt(t,e,{get:function(){return Wn(n)&&n.__ob__.dep.depend(),n},set:function(r){n=r}}),process.env.NODE_ENV!=="production"&&t.$nextTick(function(){Object.keys(t._data).indexOf(e)===-1&&(yt(n)?Qt(t._data,e,{get:function(){return n.value},set:function(r){n.value=r}}):Qt(t._data,e,{get:function(){return n},set:function(r){n=r}}))})):process.env.NODE_ENV!=="production"&&(o&&to(o,e)?ot('The setup binding property "'.concat(e,'" is already declared as a prop.'),t):ot('The setup binding property "'.concat(e,'" is already declared.'),t))}function fA(t){var e=Vr.get(t,"rawBindings")||{};if(!(!e||!Object.keys(e).length)){for(var n=t.$refs,o=Vr.get(t,"refs")||[],r=0;r<o.length;r++){var i=o[r],a=e[i];!n[i]&&a&&yt(a)&&(a.value=null)}for(var l=Object.keys(n),s=[],r=0;r<l.length;r++){var i=l[r],a=e[i];n[i]&&a&&yt(a)&&(a.value=n[i],s.push(i))}Vr.set(t,"refs",s)}}function rg(t){for(var e=[t._vnode];e.length;){var n=e.pop();if(n&&(n.context&&fA(n.context),n.children))for(var o=0;o<n.children.length;++o)e.push(n.children[o])}}function ig(t,e){var n,o;if(t){var r=Vr.get(t,"attrBindings");if(!(!r&&!e)){if(!r){var i=Xl({});r={ctx:e,data:i},Vr.set(t,"attrBindings",r),Qt(e,"attrs",{get:function(){return r==null?void 0:r.data},set:function(){process.env.NODE_ENV!=="production"&&ot("Cannot assign to '$attrs' because it is a read-only property",t)}})}var a=t.$attrs,l=function(u){to(r.data,u)||Qt(r.data,u,{get:function(){return t.$attrs[u]}})};try{for(var s=Yl(Object.keys(a)),c=s.next();!c.done;c=s.next()){var d=c.value;l(d)}}catch(u){n={error:u}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}}}function ag(t,e){var n=t.$options._parentVnode;if(n){for(var o=Vr.get(t,"slots")||[],r=yC(n.data.scopedSlots,t.$slots),i=0;i<o.length;i++){var a=o[i];r[a]||delete e[a]}for(var l=Object.keys(r),i=0;i<l.length;i++){var a=l[i];e[a]||(e[a]=vC(t,a))}Vr.set(t,"slots",l)}}function Id(t,e,n){var o=To();cu(t);try{return e(t)}catch(r){throw r}finally{cu(o)}}function gA(t){t.mixin({beforeCreate:e,mounted:function(){rg(this)},beforeUpdate:function(){ig(this)},updated:function(){rg(this)}});function e(){var a=this,l=a.$options,s=l.setup,c=l.render;if(c&&(l.render=function(){for(var u=this,m=[],h=0;h<arguments.length;h++)m[h]=arguments[h];return Id(uu(a),function(){return c.apply(u,m)})}),!!s){if(!xn(s)){process.env.NODE_ENV!=="production"&&ot('The "setup" option should be a function that returns a object in component definitions.',a);return}var d=l.data;l.data=function(){return n(a,a.$props),xn(d)?d.call(a,a):d||{}}}}function n(a,l){l===void 0&&(l={});var s=a.$options.setup,c=i(a),d=uu(a);d.setupContext=c,Bu(l,"__ob__",Qb()),ag(a,c.slots);var u;if(Id(d,function(){u=s(l,c)}),!!u){if(xn(u)){var m=u;a.$options.render=function(){return ag(a,c.slots),Id(d,function(){return m()})};return}else if(dr(u)){Wn(u)&&(u=Ub(u)),Vr.set(a,"rawBindings",u);var h=u;Object.keys(h).forEach(function(p){var v=h[p];if(!yt(v))if(Wn(v))An(v)&&(v=du(v));else if(xn(v)){var f=v;v=v.bind(a),Object.keys(f).forEach(function(b){v[b]=f[b]})}else dr(v)?r(v)&&o(v):v=du(v);mA(a,p,v)});return}process.env.NODE_ENV!=="production"&&qu(!1,'"setup" must return a "Object" or a "Function", got "'.concat(Object.prototype.toString.call(u).slice(8,-1),'"'))}}function o(a,l){if(l===void 0&&(l=new Set),!l.has(a)&&!(!no(a)||yt(a)||Wn(a)||pr(a))){var s=ro(),c=s.util.defineReactive;Object.keys(a).forEach(function(d){var u=a[d];c(a,d,u),u&&(l.add(u),o(u,l))})}}function r(a,l){return l===void 0&&(l=new Map),l.has(a)?l.get(a):(l.set(a,!1),An(a)&&Wn(a)?(l.set(a,!0),!0):!no(a)||pr(a)||yt(a)?!1:Object.keys(a).some(function(s){return r(a[s],l)}))}function i(a){var l={slots:{}},s=["root","parent","refs","listeners","isServer","ssrContext"],c=["emit"];return s.forEach(function(d){var u="$".concat(d);Qt(l,d,{get:function(){return a[u]},set:function(){process.env.NODE_ENV!=="production"&&ot("Cannot assign to '".concat(d,"' because it is a read-only property"),a)}})}),ig(a,l),c.forEach(function(d){var u="$".concat(d);Qt(l,d,{get:function(){return function(){for(var m=[],h=0;h<arguments.length;h++)m[h]=arguments[h];var p=a[u];p.apply(a,m)}}})}),process.env.NODE_ENV==="test"&&(l._vm=a),l}}function Jb(t,e){if(!t)return e;if(!e)return t;for(var n,o,r,i=Ib?Reflect.ownKeys(t):Object.keys(t),a=0;a<i.length;a++)n=i[a],n!=="__ob__"&&(o=e[n],r=t[n],to(e,n)?o!==r&&no(o)&&!yt(o)&&no(r)&&!yt(r)&&Jb(r,o):e[n]=r);return e}function vA(t){if(aC(t)){process.env.NODE_ENV!=="production"&&ot("[vue-composition-api] already installed. Vue.use(VueCompositionAPI) should be called only once.");return}process.env.NODE_ENV!=="production"&&(t.version?(t.version[0]!=="2"||t.version[1]!==".")&&ot("[vue-composition-api] only works with Vue 2, v".concat(t.version," found.")):ot("[vue-composition-api] no Vue version found")),t.config.optionMergeStrategies.setup=function(e,n){return function(r,i){return Jb(xn(e)?e(r,i)||{}:void 0,xn(n)?n(r,i)||{}:void 0)}},sC(t),gA(t)}var e0={install:function(t){return vA(t)}};function yA(t){return t}function bA(t){xn(t)&&(t={loader:t});var e=t.loader,n=t.loadingComponent,o=t.errorComponent,r=t.delay,i=r===void 0?200:r,a=t.timeout,l=t.suspensible,s=l===void 0?!1:l,c=t.onError;process.env.NODE_ENV!=="production"&&s&&ot("The suspensiblbe option for async components is not supported in Vue2. It is ignored.");var d=null,u=0,m=function(){return u++,d=null,h()},h=function(){var p;return d||(p=d=e().catch(function(v){if(v=v instanceof Error?v:new Error(String(v)),c)return new Promise(function(f,b){var x=function(){return f(m())},w=function(){return b(v)};c(v,x,w,u+1)});throw v}).then(function(v){if(p!==d&&d)return d;if(process.env.NODE_ENV!=="production"&&!v&&ot("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),process.env.NODE_ENV!=="production"&&v&&!dr(v)&&!xn(v))throw new Error("Invalid async component load result: ".concat(v));return v}))};return function(){var p=h();return{component:p,delay:i,timeout:a,error:o,loading:n}}}var wA="1.7.2";typeof window<"u"&&window.Vue&&window.Vue.use(e0);const xA=Object.freeze(Object.defineProperty({__proto__:null,EffectScope:$b,computed:nA,createApp:sA,createRef:Ps,customRef:xC,default:e0,defineAsyncComponent:bA,defineComponent:yA,del:MC,effectScope:oC,getCurrentInstance:To,getCurrentScope:Pb,h:cA,inject:iA,isRaw:pr,isReactive:Wn,isReadonly:$C,isRef:yt,markRaw:SC,nextTick:lA,onActivated:zC,onBeforeMount:OC,onBeforeUnmount:FC,onBeforeUpdate:BC,onDeactivated:UC,onErrorCaptured:jC,onMounted:DC,onScopeDispose:rC,onServerPrefetch:VC,onUnmounted:RC,onUpdated:qC,provide:rA,proxyRefs:CC,reactive:Xl,readonly:PC,ref:du,set:jb,shallowReactive:Kb,shallowReadonly:_C,shallowRef:TC,toRaw:EC,toRef:Vb,toRefs:Ub,triggerRef:kC,unref:Op,useAttrs:dA,useCSSModule:aA,useCssModule:Xb,useSlots:uA,version:wA,warn:gm,watch:tA,watchEffect:wm,watchPostEffect:JC,watchSyncEffect:eA},Symbol.toStringTag,{value:"Module"}));var TA=Object.defineProperty,kA=(t,e,n)=>e in t?TA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ot=(t,e,n)=>kA(t,typeof e!="symbol"?e+"":e,n),Nd={exports:{}},Et={},Od={exports:{}},Mi={},sg;function t0(){if(sg)return Mi;sg=1;function t(){var i={};return i["align-content"]=!1,i["align-items"]=!1,i["align-self"]=!1,i["alignment-adjust"]=!1,i["alignment-baseline"]=!1,i.all=!1,i["anchor-point"]=!1,i.animation=!1,i["animation-delay"]=!1,i["animation-direction"]=!1,i["animation-duration"]=!1,i["animation-fill-mode"]=!1,i["animation-iteration-count"]=!1,i["animation-name"]=!1,i["animation-play-state"]=!1,i["animation-timing-function"]=!1,i.azimuth=!1,i["backface-visibility"]=!1,i.background=!0,i["background-attachment"]=!0,i["background-clip"]=!0,i["background-color"]=!0,i["background-image"]=!0,i["background-origin"]=!0,i["background-position"]=!0,i["background-repeat"]=!0,i["background-size"]=!0,i["baseline-shift"]=!1,i.binding=!1,i.bleed=!1,i["bookmark-label"]=!1,i["bookmark-level"]=!1,i["bookmark-state"]=!1,i.border=!0,i["border-bottom"]=!0,i["border-bottom-color"]=!0,i["border-bottom-left-radius"]=!0,i["border-bottom-right-radius"]=!0,i["border-bottom-style"]=!0,i["border-bottom-width"]=!0,i["border-collapse"]=!0,i["border-color"]=!0,i["border-image"]=!0,i["border-image-outset"]=!0,i["border-image-repeat"]=!0,i["border-image-slice"]=!0,i["border-image-source"]=!0,i["border-image-width"]=!0,i["border-left"]=!0,i["border-left-color"]=!0,i["border-left-style"]=!0,i["border-left-width"]=!0,i["border-radius"]=!0,i["border-right"]=!0,i["border-right-color"]=!0,i["border-right-style"]=!0,i["border-right-width"]=!0,i["border-spacing"]=!0,i["border-style"]=!0,i["border-top"]=!0,i["border-top-color"]=!0,i["border-top-left-radius"]=!0,i["border-top-right-radius"]=!0,i["border-top-style"]=!0,i["border-top-width"]=!0,i["border-width"]=!0,i.bottom=!1,i["box-decoration-break"]=!0,i["box-shadow"]=!0,i["box-sizing"]=!0,i["box-snap"]=!0,i["box-suppress"]=!0,i["break-after"]=!0,i["break-before"]=!0,i["break-inside"]=!0,i["caption-side"]=!1,i.chains=!1,i.clear=!0,i.clip=!1,i["clip-path"]=!1,i["clip-rule"]=!1,i.color=!0,i["color-interpolation-filters"]=!0,i["column-count"]=!1,i["column-fill"]=!1,i["column-gap"]=!1,i["column-rule"]=!1,i["column-rule-color"]=!1,i["column-rule-style"]=!1,i["column-rule-width"]=!1,i["column-span"]=!1,i["column-width"]=!1,i.columns=!1,i.contain=!1,i.content=!1,i["counter-increment"]=!1,i["counter-reset"]=!1,i["counter-set"]=!1,i.crop=!1,i.cue=!1,i["cue-after"]=!1,i["cue-before"]=!1,i.cursor=!1,i.direction=!1,i.display=!0,i["display-inside"]=!0,i["display-list"]=!0,i["display-outside"]=!0,i["dominant-baseline"]=!1,i.elevation=!1,i["empty-cells"]=!1,i.filter=!1,i.flex=!1,i["flex-basis"]=!1,i["flex-direction"]=!1,i["flex-flow"]=!1,i["flex-grow"]=!1,i["flex-shrink"]=!1,i["flex-wrap"]=!1,i.float=!1,i["float-offset"]=!1,i["flood-color"]=!1,i["flood-opacity"]=!1,i["flow-from"]=!1,i["flow-into"]=!1,i.font=!0,i["font-family"]=!0,i["font-feature-settings"]=!0,i["font-kerning"]=!0,i["font-language-override"]=!0,i["font-size"]=!0,i["font-size-adjust"]=!0,i["font-stretch"]=!0,i["font-style"]=!0,i["font-synthesis"]=!0,i["font-variant"]=!0,i["font-variant-alternates"]=!0,i["font-variant-caps"]=!0,i["font-variant-east-asian"]=!0,i["font-variant-ligatures"]=!0,i["font-variant-numeric"]=!0,i["font-variant-position"]=!0,i["font-weight"]=!0,i.grid=!1,i["grid-area"]=!1,i["grid-auto-columns"]=!1,i["grid-auto-flow"]=!1,i["grid-auto-rows"]=!1,i["grid-column"]=!1,i["grid-column-end"]=!1,i["grid-column-start"]=!1,i["grid-row"]=!1,i["grid-row-end"]=!1,i["grid-row-start"]=!1,i["grid-template"]=!1,i["grid-template-areas"]=!1,i["grid-template-columns"]=!1,i["grid-template-rows"]=!1,i["hanging-punctuation"]=!1,i.height=!0,i.hyphens=!1,i.icon=!1,i["image-orientation"]=!1,i["image-resolution"]=!1,i["ime-mode"]=!1,i["initial-letters"]=!1,i["inline-box-align"]=!1,i["justify-content"]=!1,i["justify-items"]=!1,i["justify-self"]=!1,i.left=!1,i["letter-spacing"]=!0,i["lighting-color"]=!0,i["line-box-contain"]=!1,i["line-break"]=!1,i["line-grid"]=!1,i["line-height"]=!1,i["line-snap"]=!1,i["line-stacking"]=!1,i["line-stacking-ruby"]=!1,i["line-stacking-shift"]=!1,i["line-stacking-strategy"]=!1,i["list-style"]=!0,i["list-style-image"]=!0,i["list-style-position"]=!0,i["list-style-type"]=!0,i.margin=!0,i["margin-bottom"]=!0,i["margin-left"]=!0,i["margin-right"]=!0,i["margin-top"]=!0,i["marker-offset"]=!1,i["marker-side"]=!1,i.marks=!1,i.mask=!1,i["mask-box"]=!1,i["mask-box-outset"]=!1,i["mask-box-repeat"]=!1,i["mask-box-slice"]=!1,i["mask-box-source"]=!1,i["mask-box-width"]=!1,i["mask-clip"]=!1,i["mask-image"]=!1,i["mask-origin"]=!1,i["mask-position"]=!1,i["mask-repeat"]=!1,i["mask-size"]=!1,i["mask-source-type"]=!1,i["mask-type"]=!1,i["max-height"]=!0,i["max-lines"]=!1,i["max-width"]=!0,i["min-height"]=!0,i["min-width"]=!0,i["move-to"]=!1,i["nav-down"]=!1,i["nav-index"]=!1,i["nav-left"]=!1,i["nav-right"]=!1,i["nav-up"]=!1,i["object-fit"]=!1,i["object-position"]=!1,i.opacity=!1,i.order=!1,i.orphans=!1,i.outline=!1,i["outline-color"]=!1,i["outline-offset"]=!1,i["outline-style"]=!1,i["outline-width"]=!1,i.overflow=!1,i["overflow-wrap"]=!1,i["overflow-x"]=!1,i["overflow-y"]=!1,i.padding=!0,i["padding-bottom"]=!0,i["padding-left"]=!0,i["padding-right"]=!0,i["padding-top"]=!0,i.page=!1,i["page-break-after"]=!1,i["page-break-before"]=!1,i["page-break-inside"]=!1,i["page-policy"]=!1,i.pause=!1,i["pause-after"]=!1,i["pause-before"]=!1,i.perspective=!1,i["perspective-origin"]=!1,i.pitch=!1,i["pitch-range"]=!1,i["play-during"]=!1,i.position=!1,i["presentation-level"]=!1,i.quotes=!1,i["region-fragment"]=!1,i.resize=!1,i.rest=!1,i["rest-after"]=!1,i["rest-before"]=!1,i.richness=!1,i.right=!1,i.rotation=!1,i["rotation-point"]=!1,i["ruby-align"]=!1,i["ruby-merge"]=!1,i["ruby-position"]=!1,i["shape-image-threshold"]=!1,i["shape-outside"]=!1,i["shape-margin"]=!1,i.size=!1,i.speak=!1,i["speak-as"]=!1,i["speak-header"]=!1,i["speak-numeral"]=!1,i["speak-punctuation"]=!1,i["speech-rate"]=!1,i.stress=!1,i["string-set"]=!1,i["tab-size"]=!1,i["table-layout"]=!1,i["text-align"]=!0,i["text-align-last"]=!0,i["text-combine-upright"]=!0,i["text-decoration"]=!0,i["text-decoration-color"]=!0,i["text-decoration-line"]=!0,i["text-decoration-skip"]=!0,i["text-decoration-style"]=!0,i["text-emphasis"]=!0,i["text-emphasis-color"]=!0,i["text-emphasis-position"]=!0,i["text-emphasis-style"]=!0,i["text-height"]=!0,i["text-indent"]=!0,i["text-justify"]=!0,i["text-orientation"]=!0,i["text-overflow"]=!0,i["text-shadow"]=!0,i["text-space-collapse"]=!0,i["text-transform"]=!0,i["text-underline-position"]=!0,i["text-wrap"]=!0,i.top=!1,i.transform=!1,i["transform-origin"]=!1,i["transform-style"]=!1,i.transition=!1,i["transition-delay"]=!1,i["transition-duration"]=!1,i["transition-property"]=!1,i["transition-timing-function"]=!1,i["unicode-bidi"]=!1,i["vertical-align"]=!1,i.visibility=!1,i["voice-balance"]=!1,i["voice-duration"]=!1,i["voice-family"]=!1,i["voice-pitch"]=!1,i["voice-range"]=!1,i["voice-rate"]=!1,i["voice-stress"]=!1,i["voice-volume"]=!1,i.volume=!1,i["white-space"]=!1,i.widows=!1,i.width=!0,i["will-change"]=!1,i["word-break"]=!0,i["word-spacing"]=!0,i["word-wrap"]=!0,i["wrap-flow"]=!1,i["wrap-through"]=!1,i["writing-mode"]=!1,i["z-index"]=!1,i}function e(i,a,l){}function n(i,a,l){}var o=/javascript\s*\:/img;function r(i,a){return o.test(a)?"":a}return Mi.whiteList=t(),Mi.getDefaultWhiteList=t,Mi.onAttr=e,Mi.onIgnoreAttr=n,Mi.safeAttrValue=r,Mi}var lg,cg;function n0(){return cg||(cg=1,lg={indexOf:function(t,e){var n,o;if(Array.prototype.indexOf)return t.indexOf(e);for(n=0,o=t.length;n<o;n++)if(t[n]===e)return n;return-1},forEach:function(t,e,n){var o,r;if(Array.prototype.forEach)return t.forEach(e,n);for(o=0,r=t.length;o<r;o++)e.call(n,t[o],o,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}}),lg}var Dd,ug;function CA(){if(ug)return Dd;ug=1;var t=n0();function e(n,o){n=t.trimRight(n),n[n.length-1]!==";"&&(n+=";");var r=n.length,i=!1,a=0,l=0,s="";function c(){if(!i){var m=t.trim(n.slice(a,l)),h=m.indexOf(":");if(h!==-1){var p=t.trim(m.slice(0,h)),v=t.trim(m.slice(h+1));if(p){var f=o(a,s.length,p,v,m);f&&(s+=f+"; ")}}}a=l+1}for(;l<r;l++){var d=n[l];if(d==="/"&&n[l+1]==="*"){var u=n.indexOf("*/",l+2);if(u===-1)break;l=u+1,a=l+1,i=!1}else d==="("?i=!0:d===")"?i=!1:d===";"?i||c():d===`
|
|
4
|
-
`&&c()}return t.trim(s)}return Dd=e,Dd}var Bd,dg;function AA(){if(dg)return Bd;dg=1;var t=t0(),e=CA();n0();function n(i){return i==null}function o(i){var a={};for(var l in i)a[l]=i[l];return a}function r(i){i=o(i||{}),i.whiteList=i.whiteList||t.whiteList,i.onAttr=i.onAttr||t.onAttr,i.onIgnoreAttr=i.onIgnoreAttr||t.onIgnoreAttr,i.safeAttrValue=i.safeAttrValue||t.safeAttrValue,this.options=i}return r.prototype.process=function(i){if(i=i||"",i=i.toString(),!i)return"";var a=this,l=a.options,s=l.whiteList,c=l.onAttr,d=l.onIgnoreAttr,u=l.safeAttrValue,m=e(i,function(h,p,v,f,b){var x=s[v],w=!1;if(x===!0?w=x:typeof x=="function"?w=x(f):x instanceof RegExp&&(w=x.test(f)),w!==!0&&(w=!1),f=u(v,f),!!f){var E={position:p,sourcePosition:h,source:b,isWhite:w};if(w){var S=c(v,f,E);return n(S)?v+":"+f:S}else{var S=d(v,f,E);if(!n(S))return S}}});return m},Bd=r,Bd}var pg;function Bp(){return pg||(pg=1,(function(t,e){var n=t0(),o=AA();function r(a,l){var s=new o(l);return s.process(a)}e=t.exports=r,e.FilterCSS=o;for(var i in n)e[i]=n[i];typeof window<"u"&&(window.filterCSS=t.exports)})(Od,Od.exports)),Od.exports}var hg,mg;function xm(){return mg||(mg=1,hg={indexOf:function(t,e){var n,o;if(Array.prototype.indexOf)return t.indexOf(e);for(n=0,o=t.length;n<o;n++)if(t[n]===e)return n;return-1},forEach:function(t,e,n){var o,r;if(Array.prototype.forEach)return t.forEach(e,n);for(o=0,r=t.length;o<r;o++)e.call(n,t[o],o,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/,n=e.exec(t);return n?n.index:-1}}),hg}var fg;function o0(){if(fg)return Et;fg=1;var t=Bp().FilterCSS,e=Bp().getDefaultWhiteList,n=xm();function o(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var r=new t;function i(k,z,O){}function a(k,z,O){}function l(k,z,O){}function s(k,z,O){}function c(k){return k.replace(u,"<").replace(m,">")}function d(k,z,O,K){if(O=N(O),z==="href"||z==="src"){if(O=n.trim(O),O==="#")return"#";if(!(O.substr(0,7)==="http://"||O.substr(0,8)==="https://"||O.substr(0,7)==="mailto:"||O.substr(0,4)==="tel:"||O.substr(0,11)==="data:image/"||O.substr(0,6)==="ftp://"||O.substr(0,2)==="./"||O.substr(0,3)==="../"||O[0]==="#"||O[0]==="/"))return""}else if(z==="background"){if(x.lastIndex=0,x.test(O))return""}else if(z==="style"){if(w.lastIndex=0,w.test(O)||(E.lastIndex=0,E.test(O)&&(x.lastIndex=0,x.test(O))))return"";K!==!1&&(K=K||r,O=K.process(O))}return O=D(O),O}var u=/</g,m=/>/g,h=/"/g,p=/"/g,v=/&#([a-zA-Z0-9]*);?/gim,f=/:?/gim,b=/&newline;?/gim,x=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,w=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,E=/u\s*r\s*l\s*\(.*/gi;function S(k){return k.replace(h,""")}function $(k){return k.replace(p,'"')}function q(k){return k.replace(v,function(z,O){return O[0]==="x"||O[0]==="X"?String.fromCharCode(parseInt(O.substr(1),16)):String.fromCharCode(parseInt(O,10))})}function B(k){return k.replace(f,":").replace(b," ")}function P(k){for(var z="",O=0,K=k.length;O<K;O++)z+=k.charCodeAt(O)<32?" ":k.charAt(O);return n.trim(z)}function N(k){return k=$(k),k=q(k),k=B(k),k=P(k),k}function D(k){return k=S(k),k=c(k),k}function W(){return""}function M(k,z){typeof z!="function"&&(z=function(){});var O=!Array.isArray(k);function K(te){return O?!0:n.indexOf(k,te)!==-1}var ne=[],re=!1;return{onIgnoreTag:function(te,Z,ee){if(K(te))if(ee.isClosing){var Y="[/removed]",se=ee.position+Y.length;return ne.push([re!==!1?re:ee.position,se]),re=!1,Y}else return re||(re=ee.position),"[removed]";else return z(te,Z,ee)},remove:function(te){var Z="",ee=0;return n.forEach(ne,function(Y){Z+=te.slice(ee,Y[0]),ee=Y[1]}),Z+=te.slice(ee),Z}}}function C(k){for(var z="",O=0;O<k.length;){var K=k.indexOf("<!--",O);if(K===-1){z+=k.slice(O);break}z+=k.slice(O,K);var ne=k.indexOf("-->",K);if(ne===-1)break;O=ne+3}return z}function V(k){var z=k.split("");return z=z.filter(function(O){var K=O.charCodeAt(0);return K===127?!1:K<=31?K===10||K===13:!0}),z.join("")}return Et.whiteList=o(),Et.getDefaultWhiteList=o,Et.onTag=i,Et.onIgnoreTag=a,Et.onTagAttr=l,Et.onIgnoreTagAttr=s,Et.safeAttrValue=d,Et.escapeHtml=c,Et.escapeQuote=S,Et.unescapeQuote=$,Et.escapeHtmlEntities=q,Et.escapeDangerHtml5Entities=B,Et.clearNonPrintableCharacter=P,Et.friendlyAttrValue=N,Et.escapeAttrValue=D,Et.onIgnoreTagStripAll=W,Et.StripTagBody=M,Et.stripCommentTag=C,Et.stripBlankChar=V,Et.cssFilter=r,Et.getDefaultCSSWhiteList=e,Et}var mc={},gg;function r0(){if(gg)return mc;gg=1;var t=xm();function e(u){var m=t.spaceIndex(u),h;return m===-1?h=u.slice(1,-1):h=u.slice(1,m+1),h=t.trim(h).toLowerCase(),h.slice(0,1)==="/"&&(h=h.slice(1)),h.slice(-1)==="/"&&(h=h.slice(0,-1)),h}function n(u){return u.slice(0,2)==="</"}function o(u,m,h){var p="",v=0,f=!1,b=!1,x=0,w=u.length,E="",S="";e:for(x=0;x<w;x++){var $=u.charAt(x);if(f===!1){if($==="<"){f=x;continue}}else if(b===!1){if($==="<"){p+=h(u.slice(v,x)),f=x,v=x;continue}if($===">"||x===w-1){p+=h(u.slice(v,f)),S=u.slice(f,x+1),E=e(S),p+=m(f,p.length,E,S,n(S)),v=x+1,f=!1;continue}if($==='"'||$==="'")for(var q=1,B=u.charAt(x-q);B.trim()===""||B==="=";){if(B==="="){b=$;continue e}B=u.charAt(x-++q)}}else if($===b){b=!1;continue}}return v<w&&(p+=h(u.substr(v))),p}var r=/[^a-zA-Z0-9\\_:.-]/gim;function i(u,m){var h=0,p=0,v=[],f=!1,b=u.length;function x(q,B){if(q=t.trim(q),q=q.replace(r,"").toLowerCase(),!(q.length<1)){var P=m(q,B||"");P&&v.push(P)}}for(var w=0;w<b;w++){var E=u.charAt(w),S,$;if(f===!1&&E==="="){f=u.slice(h,w),h=w+1,p=u.charAt(h)==='"'||u.charAt(h)==="'"?h:l(u,w+1);continue}if(f!==!1&&w===p){if($=u.indexOf(E,w+1),$===-1)break;S=t.trim(u.slice(p+1,$)),x(f,S),f=!1,w=$,h=w+1;continue}if(/\s|\n|\t/.test(E))if(u=u.replace(/\s|\n|\t/g," "),f===!1)if($=a(u,w),$===-1){S=t.trim(u.slice(h,w)),x(S),f=!1,h=w+1;continue}else{w=$-1;continue}else if($=s(u,w-1),$===-1){S=t.trim(u.slice(h,w)),S=d(S),x(f,S),f=!1,h=w+1;continue}else continue}return h<u.length&&(f===!1?x(u.slice(h)):x(f,d(t.trim(u.slice(h))))),t.trim(v.join(" "))}function a(u,m){for(;m<u.length;m++){var h=u[m];if(h!==" ")return h==="="?m:-1}}function l(u,m){for(;m<u.length;m++){var h=u[m];if(h!==" ")return h==="'"||h==='"'?m:-1}}function s(u,m){for(;m>0;m--){var h=u[m];if(h!==" ")return h==="="?m:-1}}function c(u){return u[0]==='"'&&u[u.length-1]==='"'||u[0]==="'"&&u[u.length-1]==="'"}function d(u){return c(u)?u.substr(1,u.length-2):u}return mc.parseTag=o,mc.parseAttr=i,mc}var qd,vg;function SA(){if(vg)return qd;vg=1;var t=Bp().FilterCSS,e=o0(),n=r0(),o=n.parseTag,r=n.parseAttr,i=xm();function a(u){return u==null}function l(u){var m=i.spaceIndex(u);if(m===-1)return{html:"",closing:u[u.length-2]==="/"};u=i.trim(u.slice(m+1,-1));var h=u[u.length-1]==="/";return h&&(u=i.trim(u.slice(0,-1))),{html:u,closing:h}}function s(u){var m={};for(var h in u)m[h]=u[h];return m}function c(u){var m={};for(var h in u)Array.isArray(u[h])?m[h.toLowerCase()]=u[h].map(function(p){return p.toLowerCase()}):m[h.toLowerCase()]=u[h];return m}function d(u){u=s(u||{}),u.stripIgnoreTag&&(u.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),u.onIgnoreTag=e.onIgnoreTagStripAll),u.whiteList||u.allowList?u.whiteList=c(u.whiteList||u.allowList):u.whiteList=e.whiteList,u.onTag=u.onTag||e.onTag,u.onTagAttr=u.onTagAttr||e.onTagAttr,u.onIgnoreTag=u.onIgnoreTag||e.onIgnoreTag,u.onIgnoreTagAttr=u.onIgnoreTagAttr||e.onIgnoreTagAttr,u.safeAttrValue=u.safeAttrValue||e.safeAttrValue,u.escapeHtml=u.escapeHtml||e.escapeHtml,this.options=u,u.css===!1?this.cssFilter=!1:(u.css=u.css||{},this.cssFilter=new t(u.css))}return d.prototype.process=function(u){if(u=u||"",u=u.toString(),!u)return"";var m=this,h=m.options,p=h.whiteList,v=h.onTag,f=h.onIgnoreTag,b=h.onTagAttr,x=h.onIgnoreTagAttr,w=h.safeAttrValue,E=h.escapeHtml,S=m.cssFilter;h.stripBlankChar&&(u=e.stripBlankChar(u)),h.allowCommentTag||(u=e.stripCommentTag(u));var $=!1;h.stripIgnoreTagBody&&($=e.StripTagBody(h.stripIgnoreTagBody,f),f=$.onIgnoreTag);var q=o(u,function(B,P,N,D,W){var M={sourcePosition:B,position:P,isClosing:W,isWhite:Object.prototype.hasOwnProperty.call(p,N)},C=v(N,D,M);if(!a(C))return C;if(M.isWhite){if(M.isClosing)return"</"+N+">";var V=l(D),k=p[N],z=r(V.html,function(O,K){var ne=i.indexOf(k,O)!==-1,re=b(N,O,K,ne);return a(re)?ne?(K=w(N,O,K,S),K?O+'="'+K+'"':O):(re=x(N,O,K,ne),a(re)?void 0:re):re});return D="<"+N,z&&(D+=" "+z),V.closing&&(D+=" /"),D+=">",D}else return C=f(N,D,M),a(C)?E(D):C},E);return $&&(q=$.remove(q)),q},qd=d,qd}var yg;function EA(){return yg||(yg=1,(function(t,e){var n=o0(),o=r0(),r=SA();function i(l,s){var c=new r(s);return c.process(l)}e=t.exports=i,e.filterXSS=i,e.FilterXSS=r,(function(){for(var l in n)e[l]=n[l];for(var s in o)e[s]=o[s]})(),typeof window<"u"&&(window.filterXSS=t.exports);function a(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}a()&&(self.filterXSS=t.exports)})(Nd,Nd.exports)),Nd.exports}var hu=EA();let Qn={enableAttrs:!0,enableHtml:!0,enableUrl:!0,html:{whiteList:{a:["class","style","contenteditable","data-id","data-title","data-size","href","data-last-modified"],address:["class","style"],area:["class","style"],article:["class","style"],aside:["class","style"],audio:["class","style"],b:["class","style"],bdi:["class","style"],bdo:["class","style"],big:["class","style"],blockquote:["class","style"],br:["class","style"],caption:["class","style"],center:["class","style"],cite:["class","style"],code:["class","style"],col:["class","style"],colgroup:["class","style"],dd:["class","style"],del:["class","style"],details:["class","style"],div:["class","style","spellcheck","data-gramm","spellcheck","data-mode","data-position","data-row","data-cell","data-rowspan","data-colspan","data-cell-bg","data-parent-bg"],dl:["class","style"],dt:["class","style"],em:["class","style"],figcaption:["class","style"],figure:["class","style"],font:["class","style"],footer:["class","style"],h1:["class","style"],h2:["class","style"],h3:["class","style"],h4:["class","style"],h5:["class","style"],h6:["class","style"],header:["class","style"],hr:["class","style"],i:["class","style","data-image-id","data-image"],img:["class","style","data-image-id","src"],input:["class","style","data-formula","data-link","data-video"],ins:["class","style"],li:["class","style"],mark:["class","style"],nav:["class","style"],ol:["class","style"],p:["class","style"],pre:["class","style"],s:["class","style"],section:["class","style"],small:["class","style"],span:["class","style","contenteditable","color","style"],sub:["class","style"],summary:["class","style"],sup:["class","style"],strong:["class","style"],strike:["class","style"],svg:["class","style","t","viewBox","viewbox","version","xmlns","p-id","xmlns:xlink"],path:["d","p-id"],table:["class","style"],tbody:["class","style"],td:["class","style","data-row","data-cell","data-cell-bg","data-parent-bg"],tfoot:["class","style"],th:["class","style"],thead:["class","style"],tr:["class","style","data-row"],tt:["class","style"],u:["class","style"],ul:["class","style"],video:["class","style"]}}};const $A=hu.getDefaultWhiteList&&hu.getDefaultWhiteList()||{};Qn.html.whiteList=Object.assign($A,Qn.html.whiteList);let i0=new hu.FilterXSS(Qn.html);const PA=()=>Qn,_A=t=>{var e;let n;(e=t==null?void 0:t.html)!=null&&e.whiteList&&(n=Object.assign(Qn.html.whiteList,t.html.whiteList)),Qn=Object.assign(Qn,t),n&&(Qn.html.whiteList=n),i0=new hu.FilterXSS(Qn.html)};let a0=t=>!Qn.enableHtml||typeof t!="string"?t:i0.process(t);const MA=t=>{a0=t};let s0=t=>!Qn.enableAttrs||typeof t!="string"?t:t.replace(/<.*?>/gi,"").replace(/on[a-z]+=/gi,"");const LA=t=>{s0=t};let l0=t=>{if(!Qn.enableUrl||typeof t!="string")return t;const e=t.replace(/&#(\w+)(^\w|;)?/g,(o,r)=>String.fromCharCode(r)).replace(/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,"").trim();if(!e)return"";if([".","/"].includes(e[0]))return e;const n=e.match(/^([^:]+):/gm);return n&&/^([^\w]*)(javascript|data|vbscript)/im.test(n[0])?"":e};const IA=t=>{l0=t},In={getXssOption:PA,setXssOption:_A,filterHtml:a0,setFilterHtml:MA,filterAttrs:s0,setFilterAttrs:LA,filterUrl:l0,setFilterUrl:IA},NA=globalThis,qp=NA.console,c0=Object.prototype.toString,Ct=Object.prototype.hasOwnProperty,OA=Object.getPrototypeOf,u0=Ct.toString,DA=u0.call(Object),BA={"[object Error]":"error","[object Object]":"object","[object RegExp]":"regExp","[object Date]":"date","[object Array]":"array","[object Function]":"function","[object AsyncFunction]":"asyncFunction","[object String]":"string","[object Number]":"number","[object Boolean]":"boolean"},Dt=t=>t==null,un=t=>Dt(t)?String(t):BA[c0.call(t)]||"object",Ro=t=>un(t)==="object",qA=t=>["asyncFunction","function"].includes(un(t)),hr=t=>{if(!t||c0.call(t)!=="[object Object]")return!1;const e=OA(t);if(!e)return!0;const n=Ct.call(e,"constructor")&&e.constructor;return typeof n=="function"&&u0.call(n)===DA},ju=t=>{const e=un(t);if(e==="object"||e==="array"){for(const n in t)if(Ct.call(t,n))return!1}return!0},sr=t=>typeof t=="number"&&isFinite(t);const Tm=t=>un(t)==="date",FA=(t,e)=>t===e||typeof t=="number"&&typeof e=="number"&&isNaN(t)&&isNaN(e);const tt=typeof window>"u",RA=()=>{let t=8;return document.addEventListener&&window.performance&&(t=9,window.atob&&window.matchMedia&&(t=10,!window.attachEvent&&!document.all&&(t=11))),t},jA=t=>{t.chrome&&~navigator.userAgent.indexOf("Edg")?(t.name="edge",t.edge=!0,delete t.chrome):!document.documentMode&&window.StyleMedia&&(t.name="edge",t.edge=!0)},mu=(()=>{if(tt)return null;const t={name:"",version:0,isDoc:typeof document<"u",isMobile:!1,isPC:!0,isNode:tt,chrome:!1,ie:!1,firefox:!1,safari:!1,opera:!1,edge:!1},e=/(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent);t.isMobile=e,t.isPC=!e;let n;if(window.chrome&&(window.chrome.webstore||/^Google\b/.test(window.navigator.vendor))?(t.name="chrome",t.chrome=!0,n=navigator.userAgent.match(/chrome\/(\d+)/i),t.version=!!n&&!!n[1]&&parseInt(n[1],10),n=void 0):document.all||document.documentMode?(t.name="ie",t.version=RA(),t.ie=!0):typeof window.InstallTrigger<"u"?(t.name="firefox",t.firefox=!0):Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0?(t.name="safari",t.safari=!0):(window.opr&&window.opr.addons||window.opera)&&(t.name="opera",t.opera=!0),jA(t),!~["ie","chrome"].indexOf(t.name)){const o=t.name+"/(\\d+)";n=navigator.userAgent.match(new RegExp(o,"i")),t.version=!!n&&!!n[1]&&parseInt(n[1],10),n=void 0}if(t.isDoc){const o=document.body||document.documentElement;["webkit","khtml","moz","ms","o"].forEach(r=>{t["-"+r]=!!o[r+"MatchesSelector"]})}return t})(),zA=/([:\-_]+(.))/g,UA=/^moz([A-Z])/,VA=t=>t.replace(zA,(e,n,o,r)=>r?o.toUpperCase():o).replace(UA,"Moz$1"),Oe=(t,e,n,o=!1)=>{t&&e&&n&&t.addEventListener(e,n,o)},Re=(t,e,n,o=!1)=>{t&&e&&t.removeEventListener(e,n,o)};const mn=(t,e="")=>{t&&e.split(" ").filter(n=>n).forEach(n=>t.classList.add(n))},fn=(t,e)=>{!t||!e||e.split(" ").filter(n=>n).forEach(n=>t.classList.remove(n))},Fd=(t,e)=>{if(!tt){if(!t||!e)return null;e=VA(e),e==="float"&&(e="cssFloat");try{if(t.style[e])return t.style[e];const n=window.getComputedStyle(t);return n?n[e]:null}catch{return t.style[e]}}},HA=(t,e)=>{if(tt)return;const n=!Dt(e);let o;return n?o=e?Fd(t,"overflow-y"):Fd(t,"overflow-x"):o=Fd(t,"overflow"),o?o.match(/(scroll|auto)/):null},d0=(t,e)=>{if(tt)return;let n=t;for(;n;){if(~[window,document,document.documentElement].indexOf(n))return window;if(HA(n,e))return n;n=n.parentNode}return n};const QA=()=>{const t=window;let e=t.document.documentElement,n=t.document.body;return{scrollTop:e.scrollTop||n.scrollTop,scrollLeft:e.scrollLeft||n.scrollLeft,visibleHeight:e.clientHeight||n.clientHeight,visibleWidth:e.clientWidth||n.clientWidth}};const km=t=>{if(tt)return!1;if(t){const e=getComputedStyle(t);if(e.getPropertyValue("position")==="fixed"){if(e.getPropertyValue("display")==="none")return!0;if(t.parentNode!==document.body)return km(t.parentNode)}else return t.offsetParent===null}return!1},p0=(function(){if(typeof Map<"u")return Map;const t=(e,n)=>{let o=-1;return e.some((r,i)=>r[0]===n?(o=i,!0):!1),o};return(function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(n){const o=t(this.__entries__,n),r=this.__entries__[o];return r&&r[1]},e.prototype.set=function(n,o){const r=t(this.__entries__,n);~r?this.__entries__[r][1]=o:this.__entries__.push([n,o])},e.prototype.delete=function(n){const o=this.__entries__,r=t(o,n);~r&&o.splice(r,1)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.has=function(n){return!!~t(this.__entries__,n)},e.prototype.forEach=function(n,o){o===void 0&&(o=null);for(let r=0,i=this.__entries__;r<i.length;r++){const a=i[r];n.call(o,a[1],a[0])}},e})()})(),KA=globalThis.Function,fu=(function(){const t=e=>e.Math===Math;return typeof global<"u"&&t(global)?global:typeof self<"u"&&t(self)?self:typeof window<"u"&&t(window)?window:KA("return this")()})(),GA=(function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(fu):function(t){return setTimeout(()=>t(Date.now()),1e3/60)}})();let WA=2;function YA(t,e){let n=!1,o=!1,r=0,i;const a=()=>{n&&(n=!1,t()),o&&i()},l=()=>{GA(a)};return i=()=>{const s=Date.now();if(n){if(s-r<WA)return;o=!0}else n=!0,o=!1,setTimeout(l,e);r=s},i}const XA=20,ZA=["top","right","bottom","left","width","height","size","weight"],JA=typeof MutationObserver<"u",e5=(function(){function t(){this.observers_=[],this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=YA(this.refresh.bind(this),XA)}return t.prototype.addObserver=function(e){!~this.observers_.indexOf(e)&&this.observers_.push(e),!this.connected_&&this.connect_()},t.prototype.removeObserver=function(e){const n=this.observers_,o=n.indexOf(e);~o&&n.splice(o,1),!n.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){const e=this.observers_.filter(n=>(n.gatherActive(),n.hasActive()));return e.forEach(n=>n.broadcastActive()),e.length>0},t.prototype.connect_=function(){if(!(tt||this.connected_)){if(Oe(document,"transitionend",this.onTransitionEnd_),Oe(window,"resize",this.refresh),JA){this.mutationsObserver_=new MutationObserver(this.refresh);const e={attributes:!0,childList:!0,characterData:!0,subtree:!0};this.mutationsObserver_.observe(document,e)}else Oe(document,"DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0;this.connected_=!0}},t.prototype.disconnect_=function(){tt||!this.connected_||(Re(document,"transitionend",this.onTransitionEnd_),Re(window,"resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&Re(document,"DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(e){const n=e.propertyName,o=n===void 0?"":n;ZA.some(r=>!!~o.indexOf(r))&&this.refresh()},t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t._instance=null,t})(),h0=function(t,e){for(let n=0,o=Object.keys(e);n<o.length;n++){const r=o[n];Object.defineProperty(t,r,{value:e[r],configurable:!0,writable:!1,enumerable:!1})}return t},zu=function(t,e,n,o){return{x:t,y:e,width:n,height:o}},vs=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||fu},m0=zu(0,0,0,0),gu=t=>parseFloat(t)||0,bg=function(t){let e=[];for(let n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((n,o)=>{const r=t[`border-${o}-width`];return n+gu(r)},0)},t5=function(t){const e=["top","right","bottom","left"];let n={};for(let o=0,r=e;o<r.length;o++){const i=r[o],a=t[`padding-${i}`];n[i]=gu(a)}return n},n5=function(t){const e=t.getBBox();return zu(0,0,e.width,e.height)},o5=function(t){return t===vs(t).document.documentElement},r5=function(t){const e=t.clientWidth,n=t.clientHeight;if(!n&&!e)return m0;const o=vs(t).getComputedStyle(t),r=t5(o),i=r.top+r.bottom,a=r.left+r.right;let l=gu(o.width),s=gu(o.height);if(o.boxSizing==="border-box"&&(Math.round(s+i)!==n&&(s-=bg(o,"top","bottom")+i),Math.round(l+a)!==e&&(l-=bg(o,"left","right")+a)),!o5(t)){const c=Math.round(s+i)-n,d=Math.round(l+a)-e;Math.abs(c)!==1&&(s-=c),Math.abs(d)!==1&&(l-=d)}return zu(r.left,r.top,l,s)},i5=(function(){return typeof SVGGraphicsElement<"u"?t=>t instanceof vs(t).SVGGraphicsElement:t=>t instanceof vs(t).SVGElement&&typeof t.getBBox=="function"})(),a5=function(t){return tt?m0:i5(t)?n5(t):r5(t)},s5=function(t){const e=t.x,n=t.y,o=t.width,r=t.height,i=Object.create((typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object).prototype);return h0(i,{x:e,y:n,width:o,height:r,top:n,right:e+o,bottom:r+n,left:e}),i},l5=(function(){function t(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=zu(0,0,0,0),this.target=e}return t.prototype.broadcastRect=function(){const e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},t.prototype.isActive=function(){const e=a5(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},t})(),c5=(function(){function t(e,n){const o=s5(n);h0(this,{target:e,contentRect:o})}return t})(),u5=(function(){function t(e,n,o){if(this.observations_=new p0,this.activeObservations_=[],typeof e!="function")throw new TypeError("[TINY-Resize] The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=n,this.callbackCtx_=o}return t.prototype.observe=function(e){if(!arguments.length)throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");if(typeof Element>"u"||!(Element instanceof Object))return;if(!(e instanceof vs(e).Element))throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');const n=this.observations_;n.has(e)||(n.set(e,new l5(e)),this.controller_.addObserver(this),this.controller_.refresh())},t.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("[TINY-Resize]1 argument required, but only 0 present.");if(typeof Element>"u"||!(Element instanceof Object))return;if(!(e instanceof vs(e).Element))throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');const n=this.observations_;n.has(e)&&(n.delete(e),!n.size&&this.controller_.removeObserver(this))},t.prototype.gatherActive=function(){const e=this;this.clearActive(),this.observations_.forEach(n=>{n.isActive()&&e.activeObservations_.push(n)})},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.broadcastActive=function(){if(!this.hasActive())return;const e=this.callbackCtx_,n=this.activeObservations_.map(o=>new c5(o.target,o.broadcastRect()));this.callback_.call(e,n,e),this.clearActive()},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t})(),f0=typeof WeakMap<"u"?new WeakMap:new p0,g0=(function(){function t(e){if(!(this instanceof t))throw new TypeError("[TINY-Resize] Cannot call a class as a function.");if(!arguments.length)throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");const n=e5.getInstance(),o=new u5(e,n,this);f0.set(this,o)}return t})();["observe","unobserve","disconnect"].forEach(t=>{g0.prototype[t]=function(){let e;return(e=f0.get(this))[t].apply(e,arguments)}});const d5=(function(){return typeof fu.ResizeObserver<"u"?fu.ResizeObserver:g0})(),p5="tcirzywvqlkjhgfbZQG_FLOWHSUBDNIMYREVKCAJxp57XP043891T62-modnaesu";p5.split("").reverse().join("");function h5(t){return!tt&&(t.document.all||t.document.documentMode)&&!t.crypto&&t.msCrypto}function m5(t){if(h5(t)){t.crypto=t.msCrypto;const e=t.crypto.getRandomValues;t.crypto.getRandomValues=function(n){const o=e.call(t.crypto,n),r=[];for(let i=0;i<n.length;i++)r[i]=o[i];return r}}}const f5=globalThis;m5(f5);let oo;const Lt=(t,e,n)=>{if(!t||!hr(t)||!e||typeof e!="string")return;const o=e.split(".");let r=t;const i=o.length;if(i>1){for(let l=0;l<i;l++)if(r=r[o[l]],Dt(r))return r;return r}else return r[o[0]]},v0=(t,e,n,o)=>{if(!t||!hr(t)||!e||typeof e!="string")return t;const r=e.split("."),i=t;let a=r.length,l=r[0];if(a>1){a--;let s=i,c,d;for(let u=0;u<a;u++)c=r[u],d=s[c],(d===null||!hr(d))&&(s[c]={},d=s[c]),s=d;l=r[a],s[l]=n}else i[l]=n;return i},Fp=(t,e,n,o)=>{const r=(i,a,l,s)=>{const c={};return a.forEach(d=>v0(c,d,Lt(i,d))),c};return hr(t)?Array.isArray(e)?r(t,e):oo(n!==!1,{},t):t},Cm=t=>Array.isArray(t)?t.map(e=>Fp(e)):t,g5=(t,e,n,o,r)=>{let i;if(n&&o&&(hr(o)||(i=Array.isArray(o))))if(i)i=!1,t[e]=Cm(o);else{const a=r&&hr(r)?r:{};t[e]=oo(n,a,o)}else if(o!==void 0)try{t[e]=o}catch{}};oo=function(...t){const e=t.length;let n=t[0]||{},o=1,r=!1;for(un(n)==="boolean"&&(r=n,n=t[o]||{},o++),!Ro(n)&&un(n)!=="function"&&(n={});o<e;o++){const i=t[o];if(i!==null&&Ro(i)){const a=Object.keys(i);for(const l of a){const s=n[l],c=i[l];n!==c&&g5(n,l,r,c,s)}}}return n};let vu;const ni=(t,e,n,o)=>{if(un(t)===un(e)){if(n=n!==!1,Array.isArray(o)){const a=Fp(t,o),l=Fp(e,o);return ni(a,l,n)}const r=vu(t,e,n),i=vu(e,t,n);return r&&i}return!1};vu=(t,e,n)=>{if(!hr(t)){if(!Array.isArray(t))return t===e;if(t.length!==e.length)return!1;for(let i=0,a=t.length;i<a;i++)if(!ni(t[i],e[i],n))return!1;return!0}let o=!0;const r=Object.keys(t);for(const i of r){if(Ct.call(e,i)){const a=t[i],l=e[i];n&&Ro(a)||Array.isArray(a)?o=vu(a,l,n):o=a===l}else o=!1;if(o===!1)break}return o};const v5=t=>{try{return JSON.stringify(t)}catch{return}},Rp=function(t,...e){for(let n=0,o=e.length;n<o;n++){const r=e[n]||{};for(const i in r)if(Ct.call(r,i)){const a=r[i];a!==void 0&&(t[i]=a)}}return t};const jp=".",y5=t=>{const e=t.split(jp),n=e[0],o=e[1];let r,i;if(o)r=parseInt(t.split(jp).join(""),10),i=o.length*-1;else{const a=n.match(/0+$/);if(a){const l=a[0].length;r=n.substr(0,n.length-l),i=l}else r=n,i=0}return{value:r,exp:i}},y0=t=>{let e;return t<=0?e="":e="0".repeat(t),e},b5=(t,e)=>{e=Math.abs(e);const n=e-t.length;let o=jp;n>=0&&(t=y0(n)+t,o="0.");const r=t.length,i=r-e,a=t.substr(0,i),l=t.substring(i,r);return a+o+l},w5=(t,e)=>String(t+y0(e)),Rd=(t,e)=>(e>=0?w5:b5)(String(t),e);function Ft(t){return!this||!(this instanceof Ft)?new Ft(t):t instanceof Ft?t:(this.internal=String(t),this.asInt=y5(this.internal),this.add=e=>{const n=[this,new Ft(e)];n.sort((l,s)=>l.asInt.exp-s.asInt.exp);const o=n[0].asInt.exp,r=n[1].asInt.exp,i=Number(Rd(n[1].asInt.value,r-o)),a=Number(n[0].asInt.value);return new Ft(Rd(String(i+a),o))},this.sub=e=>new Ft(this.add(e*-1)),this.mul=e=>{e=new Ft(e);const n=String(this.asInt.value*e.asInt.value),o=this.asInt.exp+e.asInt.exp;return new Ft(Rd(n,o))},this.div=e=>{e=new Ft(e);const n=Math.min(this.asInt.exp,e.asInt.exp),o=10**Math.abs(n),r=Ft.mul(o,this),i=Ft.mul(o,e);return new Ft(r.toNumber()/i.toNumber())},this.toString=()=>this.internal,this.toNumber=()=>Number(this.internal),this)}Ft.add=(t,e)=>new Ft(t).add(e);Ft.mul=(t,e)=>new Ft(t).mul(e);Ft.sub=(t,e)=>new Ft(t).sub(e);Ft.div=(t,e)=>new Ft(t).div(e);const Kn={text:"text",url:"url",html:"html",tmpl:"tmpl"},x5={"&":"&","<":"<",">":">",'"':""","'":"'","[":"[","]":"]"},Ut=t=>t==null||typeof t=="string"&&t.trim().length===0;function T5(t){let e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}const Fan=T5(t=>t.charAt(0).toUpperCase()+t.slice(1));function k5(t){const e=t.length;let n=0;for(let o=0;o<e;o++)t.charCodeAt(o)<=65535?n+=2:n+=4;return n}function C5(t){const e=t.length;let n=0;for(let o=0;o<e;o++){let r=t.charCodeAt(o);r<=127?n+=1:r<=2047?n+=2:r<=65535?n+=3:n+=4}return n}function A5(t){const e=t.length;let n=0;for(let o=0;o<e;o++)n++,t.charCodeAt(o)>>8&&n++;return n}const S5=(t,e)=>{if(!t||typeof t!="string")return 0;let n=0;if(typeof e=="string")e=e.toLowerCase(),e==="utf-16"||e==="utf16"?n=k5(t):e==="utf-8"||e==="utf8"?n=C5(t):n=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length;else{if(typeof e=="function")return e(t);n=A5(t)}return n},E5=(t,e,n,o="0")=>{if(typeof t=="string"&&typeof o=="string"&&sr(e)){let r=t.length-e;if(r>0)return n?t.substr(0,e):t.substr(r,e);{const i=[];for(r=Math.abs(r)/o.length;r>0;r--)i.push(o);const a=i.join("");return n?t+a:a+t}}},b0=()=>globalThis.crypto.getRandomValues(new Uint32Array(1))[0]/4294967296,Am=(t="",e=8)=>t+b0().toString().substr(2,e),w0=(t,e)=>!t||typeof t!="string"?t:(t=t.replace(/[&<>"']/g,n=>x5[n]),e?t.replace(/\s/g," "):t),$5=({sign:t,format:e,hasSign:n})=>{switch(t){case"#":e=Kn.text;break;case"@":e=Kn.url;break;case"$":e=Kn.html;break;case"%":e=Kn.tmpl;break;default:n=!1;break}return{format:e,hasSign:n}},P5=(t,e,n="html")=>{if(typeof t=="string")return t.replace(/(\/)?\{\{([\s\S]*?)}}/g,(o,r="",i="")=>{const a=i.substr(0,1);let l=!0,s=Kn.html,c=$5({sign:a,format:s,hasSign:l});s=c.format,l=c.hasSign,l?i=(i||"").substring(1):n&&(s=n);let d=Lt(e,i);return Dt(d)&&(d=""),s===Kn.tmpl?d=`{{${d}}}`:s===Kn.url?d=encodeURIComponent(d):d=s===Kn.html?w0(d):d,s===Kn.url&&d.length===0?"":r+d})},_5=()=>(t,e,n,o)=>t.replace(e,(r,i,a,l)=>{if(!Ut(i)&&!Ut(l))return`{${a}}`;const s=n[a],c=hr(s)?v5(s):s;return Ut(s)?"":typeof s=="string"&&typeof o=="function"?o(c):c}),M5=({type:t,res:e,formatText:n,string:o,reg:r,args:i})=>(t===Kn.url?e=n(o,r,i,encodeURIComponent):t===Kn.html?e=n(o,r,i,w0):e=n(o,r,i),e),L5=(t,e,n)=>{const o=t[t.length-1];return o!==e.text&&o!==e.url&&o!==e.html?t=Array.prototype.slice.call(t,1):(t=Array.prototype.slice.call(t,1,t.length-1),n=o),{args:t,type:n}},I5=({data:t,args:e,type:n,_arguments:o})=>{if(Array.isArray(t))e=t;else{const r=L5(o,Kn,n);e=r.args,n=r.type}return{args:e,type:n}},N5=function(t,e,n="text"){if(typeof t!="string"||arguments.length<2)return t;let o,r;if(hr(e))return P5(t,e,n);const i=I5({data:e,args:o,type:n,_arguments:arguments});o=i.args,n=i.type;const a=/(\\)?\{(\d+)(\\)?}/g,l=_5();return r=M5({type:n,res:r,formatText:l,string:t,reg:a,args:o}),r};const x0=t=>/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(t),T0=(t,e,n)=>{let o;if(tt)return{t,o:!1};const r=document.createElement("canvas").getContext("2d");r.font=e;let i=r.measureText(t);if(i.width<n)return{t,o:!1};for(let a=-1;;a--)if(o=t.slice(0,a)+"...",i=r.measureText(o),i.width<n)return{t:o,o:!0}},k0=[31,28,31,30,31,30,31,31,30,31,30,31],O5=new RegExp("^(\\d{4})(/|-)(((0)?[1-9])|(1[0-2]))((/|-)(((0)?[1-9])|([1-2][0-9])|(3[0-1])))?( ((0)?[0-9]|1[0-9]|20|21|22|23):([0-5]?[0-9])((:([0-5]?[0-9]))?(.([0-9]{1,6}))?)?)?$"),D5=new RegExp("^(((0)?[1-9])|(1[0-2]))(/|-)(((0)?[1-9])|([1-2][0-9])|(3[0-1]))?(/|-)?(\\d{4})( ((0)?[0-9]|1[0-9]|20|21|22|23):([0-5]?[0-9])((:([0-5]?[0-9]))?(.([0-9]{1,6}))?)?)?$"),B5=new RegExp("^(\\d{4})-(((0)?[1-9])|(1[0-2]))-(((0)?[1-9])|([1-2][0-9])|(3[0-1]))T(((0)?[0-9]|1[0-9]|20|21|22|23):([0-5]?[0-9])((:([0-5]?[0-9]))?(.([0-9]{1,6}))?)?)?(Z|([+-])((0)?[0-9]|1[0-9]|20|21|22|23):?([0-5]?[0-9]))$"),q5={"y{1,4}":/y{1,4}/,"M{1,2}":/M{1,2}/,"d{1,2}":/d{1,2}/,"h{1,2}":/h{1,2}/,"H{1,2}":/H{1,2}/,"m{1,2}":/m{1,2}/,"s{1,2}":/s{1,2}/,"S{1,3}":/S{1,3}/,"Z{1,1}":/Z{1,1}/},Or={YEAR:9999,MONTH:11,DATE:31,HOUR:23,MINUTE:59,SECOND:59,MILLISECOND:999},F5="-12:00,-11:00,-10:00,-09:30,-08:00,-07:00,-06:00,-05:00,-04:30,-04:00,-03:30,-02:00,-01:00",R5="-00:00,+00:00,+01:00,+02:00,+03:00,+03:30,+04:00,+04:30,+05:00,+05:30,+05:45,+06:00",j5="+06:30,+07:00,+08:00,+09:00,+10:00,+10:30,+11:00,+11:30,+12:00,+12:45,+13:00,+14:00",z5=[...F5.split(","),...R5.split(","),...j5.split(",")],U5=t=>{const e=0-t.getTimezoneOffset()/60;let n;return e===0?n="Z":e>0?n="+"+(e>10?e:"0"+e)+"00":n=(e<-10?e:"-0"+-e)+"00",n},C0=t=>t%400===0||t%4===0&&t%100!==0,A0=t=>t>Or.MILLISECOND?Number(String(t).substring(0,3)):t,Sm=({year:t,month:e,date:n,hours:o,minutes:r,seconds:i,milliseconds:a})=>{let l=k0[e];if(C0(t)&&e===1&&(l+=1),n<=l)return new Date(t,e,n,o,r,i,A0(a))},V5=t=>{if(t.length===23){const e=Number(t[1]),n=t[3]-1,o=Number(t[9]||1),r=t[15]||0,i=t[17]||0,a=t[20]||0,l=t[22]||0;return Sm({date:o,year:e,hours:r,month:n,seconds:a,minutes:i,milliseconds:l})}},H5=t=>{if(t.length===22){const e=Number(t[12]),n=t[1]-1,o=Number(t[6]||1),r=t[14]||0,i=t[16]||0,a=t[19]||0,l=t[21]||0;return Sm({year:e,month:n,date:o,hours:r,minutes:i,seconds:a,milliseconds:l})}},Q5=t=>{if(t.length!==25)return;const e=Number(t[1]),n=t[2]-1,o=Number(t[6]),r=new Date(e,n,o).getTimezoneOffset(),i=t[12]||0,a=t[14]||0,l=t[17]||0,s=t[19]||0;let c=t[20];const d=t[21],u=t[22]||0,m=t[24]||0;let h=k0[n],p,v;if(C0(e)&&n===1&&(h+=1),o<=h){if(c==="Z")p=i-r/60,v=a;else{if(c.includes(":")||(c=c.substr(0,3)+":"+c.substr(3)),!z5.includes(c))return;p=d==="+"?i-u-r/60:Number(i)+Number(u)-r/60,v=d==="+"?a-m:Number(a)+Number(m)}return new Date(e,n,o,p,v,l,A0(s))}},jd=[[O5,V5],[D5,H5],[B5,Q5]],K5=t=>{for(let e=0,n=jd.length;e<n;e++){const o=jd[e][0].exec(t);if(o&&o.length>0)return jd[e][1](o)}},G5=(t,e,n)=>{if(n)switch(n){case"yyyy":case"yy":t[0]=e;break;case"M":case"MM":t[1]=e-1;break;case"d":case"dd":t[2]=e;break;case"h":case"hh":t[3]=e;break;case"m":case"mm":t[4]=e;break;case"s":case"ss":t[5]=e;break;case"S":case"SS":case"SSS":t[6]=e;break}},W5=(t,e)=>{const n=[0,-1,0,0,0,0];if(t.length!==e.length)return n;let o=0,r=0;for(let i=0,a=t.length;i<a;i++){const l=t.substr(i,1),s=isNaN(Number(l))||l.trim()==="";if(s&&l===e.substr(i,1)||i===a-1){let c,d;if(s){c=t.substring(o,i),o=i+1;const u=e.indexOf(l,r);d=e.substring(r,u===-1?e.length:u),r=u+1}else c=t.substring(o,a),d=e.substring(r,a);(c.length===d.length||c)&&G5(n,c,d)}}return n},Li=(t,e,n)=>isNaN(t)||t<e||t>n,Y5=({year:t,month:e,date:n,hours:o,minutes:r,seconds:i,milliseconds:a})=>Li(t,0,Or.YEAR)||Li(e,0,Or.MONTH)||Li(n,0,Or.DATE)||Li(o,0,Or.HOUR)||Li(r,0,Or.MINUTE)||Li(i,0,Or.SECOND)||Li(a,0,Or.MILLISECOND),X5=(t,e)=>{if(typeof e=="string"){const n=W5(t,e),o=Number(n[0]),r=Number(n[1]),i=Number(n[2]||1),a=Number(n[3]||0),l=Number(n[4]||0),s=Number(n[5]||0),c=Number(n[6]||0);return Y5({year:o,month:r,date:i,hours:a,minutes:l,seconds:s,milliseconds:c})?void 0:Sm({year:o,date:i,month:r,minutes:l,hours:a,milliseconds:c,seconds:s})}else return K5(t)},Z5=(t,e,n)=>{let o;return sr(t)?o=new Date(t):typeof t=="string"&&(o=X5(t,e)),o},ll=function(t,e="yyyy/MM/dd hh:mm:ss"){if(Tm(t)){if(typeof e=="string"){const n={"y{1,4}":t.getFullYear(),"M{1,2}":t.getMonth()+1,"d{1,2}":t.getDate(),"h{1,2}":t.getHours(),"H{1,2}":t.getHours(),"m{1,2}":t.getMinutes(),"s{1,2}":t.getSeconds(),"S{1,3}":t.getMilliseconds(),"Z{1,1}":U5(t)};return Object.keys(n).forEach(o=>{const r=e.match(q5[o]);o&&r&&r.length&&(e=e.replace(r[0],o==="Z{1,1}"?n[o]:E5(n[o].toString(),r[0].length)))}),e}}else if(typeof t=="string"&&arguments.length>=2){let n=e;arguments.length===2?e=void 0:n=arguments[2];const o=Z5(t,e);return o?ll(o,n):""}};const ut={Backspace:8,Tab:9,Enter:13,Escape:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Delete:46,AtMark:64,KeyA:65,KeyF:70,KeyV:86,NumpadEnter:13,NumpadDecimal:110,NumpadComma:190};const J5="date,datetime,time,time-select,week,month,year,years,yearrange,daterange,monthrange,timerange,datetimerange,dates,quarter",_s={Day:"day",Date:"date",Dates:"dates",Year:"year",Years:"years",YearRange:"yearrange",PanelYearNum:12,Month:"month",Week:"week",Normal:"normal",Today:"today",PreMonth:"pre-month",NextMonth:"next-month",YearI18n:"ui.datepicker.year",List:[38,40,37,39],YearObj:{38:-4,40:4,37:-1,39:1},WeekObj:{38:-1,40:1,37:-1,39:1},DayObj:{38:-7,40:7,37:-1,39:1},Aviailable:"available",Default:"default",Current:"current",InRange:"in-range",StartDate:"start-date",EndDate:"end-date",Selected:"selected",Disabled:"disabled",Range:"range",fullMonths:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),fullWeeks:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],MonhtList:["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],Weeks:["sun","mon","tue","wed","thu","fri","sat"],PlacementMap:{left:"bottom-start",center:"bottom",right:"bottom-end"},QuarterMap:{0:0,1:3,2:6,3:9},MonthQuarterMap:{0:1,3:2,6:3,9:4},TriggerTypes:J5.split(","),DateFormats:{year:"yyyy",years:"yyyy",yearrange:"yyyy",month:"yyyy-MM",time:"HH:mm:ss",week:"yyyywWW",date:"yyyy-MM-dd",timerange:"HH:mm:ss",monthrange:"yyyy-MM",daterange:"yyyy-MM-dd",datetime:"yyyy-MM-dd HH:mm:ss",datetimerange:"yyyy-MM-dd HH:mm:ss"},Time:"time",TimeRange:"timerange",Quarter:"quarter",IconTime:"icon-time",IconDate:"icon-Calendar",DateRange:"daterange",DateTimeRange:"datetimerange",MonthRange:"monthrange",TimeSelect:"time-select",TimesTamp:"timestamp",DateTime:"datetime",SelectbaleRange:"selectableRange",Start:"09:00",End:"18:00",Step:"00:30",CompareOne:"-1:-1",CompareHundred:"100:100",selClass:".selected",queryClass:".tiny-picker-panel__content",disableClass:".time-select-item:not(.disabled)",defaultClass:".default",Qurtyli:'[data-tag="li"]',MappingKeyCode:{40:1,38:-1},DatePicker:"DatePicker",TimePicker:"TimePicker"},yu={IE:"ie",Edge:"edge"};const lr={},Em=["\\d\\d?","\\d{3}","\\d{4}"],Nr=Em[0],eS=Em[1],tS=Em[2],Xs="[^\\s]+",S0=/\[([^]*?)\]/gm,wg=()=>{},nS={shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",default:"ddd MMM dd yyyy HH:mm:ss",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},E0=(t,e)=>{let n=[];for(let o=0,r=t.length;o<r;o++)n.push(t[o].substr(0,e));return n},xg=t=>(e,n,o)=>{const r=o[t].indexOf(n.charAt(0).toUpperCase()+n.substr(1).toLowerCase());~r&&(e.month=r)},jn=(t,e)=>{for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t},oS=t=>t.replace(/[|\\{()[^$+*?.-]/g,"\\$&"),$0=/d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,P0=_s.fullWeeks,_0=_s.fullMonths,rS=E0(_0,3),iS=E0(P0,3),aS=["th","st","nd","rd"];lr.i18n={dayNames:P0,monthNames:_0,dayNamesShort:iS,monthNamesShort:rS,amPm:["am","pm"],doFn:t=>t+aS[t%10>3?0:(t-t%10!==10)*t%10]};const Tg={D:t=>t.getDay(),DD:t=>jn(t.getDay()),Do:(t,e)=>e.doFn(t.getDate()),d:t=>t.getDate(),dd:t=>jn(t.getDate()),ddd:(t,e)=>e.dayNamesShort[t.getDay()],dddd:(t,e)=>e.dayNames[t.getDay()],M:t=>t.getMonth()+1,MM:t=>jn(t.getMonth()+1),MMM:(t,e)=>e.monthNamesShort[t.getMonth()],MMMM:(t,e)=>e.monthNames[t.getMonth()],yy:t=>jn(String(t.getFullYear()),4).substr(2),yyyy:t=>jn(t.getFullYear(),4),h:t=>t.getHours()%12||12,hh:t=>jn(t.getHours()%12||12),H:t=>t.getHours(),HH:t=>jn(t.getHours()),m:t=>t.getMinutes(),mm:t=>jn(t.getMinutes()),s:t=>t.getSeconds(),ss:t=>jn(t.getSeconds()),S:t=>Math.round(t.getMilliseconds()/100),SS:t=>jn(Math.round(t.getMilliseconds()/10),2),SSS:t=>jn(t.getMilliseconds(),3),a:(t,e)=>t.getHours()<12?e.amPm[0]:e.amPm[1],A:(t,e)=>t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase(),ZZ:t=>{const e=t.getTimezoneOffset();return(e>0?"-":"+")+jn(Math.floor(Math.abs(e)/60)*100+Math.abs(e)%60,4)}},Fr={d:[Nr,(t,e)=>{t.day=e}],Do:[Nr+Xs,(t,e)=>{t.day=parseInt(e,10)}],M:[Nr,(t,e)=>{t.month=e-1}],yy:[Nr,(t,e)=>{const n=Number(String(new Date().getFullYear()).substr(0,2));t.year=String(e>68?n-1:n)+e}],h:[Nr,(t,e)=>{t.hour=e}],m:[Nr,(t,e)=>{t.minute=e}],s:[Nr,(t,e)=>{t.second=e}],yyyy:[tS,(t,e)=>{t.year=e}],S:["\\d",(t,e)=>{t.millisecond=e*100}],SS:["\\d{2}",(t,e)=>{t.millisecond=e*10}],SSS:[eS,(t,e)=>{t.millisecond=e}],D:[Nr,wg],ddd:[Xs,wg],MMM:[Xs,xg("monthNamesShort")],MMMM:[Xs,xg("monthNames")],a:[Xs,(t,e,n)=>{const o=e.toLowerCase();o===n.amPm[0]?t.isPm=!1:o===n.amPm[1]&&(t.isPm=!0)}],ZZ:["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",(t,e)=>{let n=String(e).match(/([+-]|\d\d)/gi),o;n&&(o=Number(n[1]*60)+parseInt(n[2],10),t.timezoneOffset=n[0]==="+"?o:-o)}]},sS=["A","DD","dd","mm","hh","MM","ss","hh","H","HH"];lr.masks=nS;Fr.dddd=Fr.ddd;sS.forEach(t=>{t==="MM"?Fr[t]=Fr[t.substr(0,1)]:Fr[t]=Fr[t.substr(0,1).toLowerCase()]});lr.format=(t,e,n)=>{const o=n||lr.i18n;if(typeof t=="number"&&(t=new Date(t)),!Tm(t)||isNaN(t.getTime()))throw new Error("Invalid Date in fecha.format");e=lr.masks[e]||e||lr.masks.default;let r=[];return e=e.replace(S0,(i,a)=>(r.push(a),"@@@")),e=e.replace($0,i=>i in Tg?Tg[i](t,o):i.slice(1,i.length-1)),e.replace(/@@@/g,()=>r.shift())};const lS=(t,e)=>{let n=[],o=oS(t).replace($0,r=>{if(Fr[r]){const i=Fr[r];return e.push(i[1]),"("+i[0]+")"}return r});return o=o.replace(/@@@/g,()=>n.shift()),o},cS=t=>{let e;const n=new Date;if(Dt(t.timezoneOffset)){const{year:o,month:r,day:i,hour:a,minute:l,second:s,millisecond:c}=t;e=new Date(o||n.getFullYear(),r||0,i||1,a||0,l||0,s||0,c||0)}else{t.minute=Number(t.minute||0)-Number(t.timezoneOffset);const{year:o,month:r,day:i,hour:a,minute:l,second:s,millisecond:c}=t;e=new Date(Date.UTC(o||n.getFullYear(),r||0,i||1,a||0,l||0,s||0,c||0))}return e};lr.parse=(t,e,n)=>{const o=n||lr.i18n;if(typeof e!="string")throw new TypeError("Invalid format in fecha.parse");if(e=lr.masks[e]||e,t.length>1e3)return null;let r={},i=[];e=e.replace(S0,(s,c)=>"@@@");const a=lS(e,i),l=t.match(new RegExp(a,"i"));if(!l)return null;for(let s=1,c=l.length;s<c;s++)i[s-1](r,l[s],o);return r.isPm===!0&&!Dt(r.hour)&&Number(r.hour)!==12?r.hour=Number(r.hour)+12:r.isPm===!1&&Number(r.hour)===12&&(r.hour=0),cS(r)};const Ran=_s.Weeks,jan=_s.MonhtList,zan=_s.DateFormats.date,Uan=_s.DateFormats.time;const M0=(t,e,n=FA)=>{if(Array.isArray(t)&&typeof n=="function"){for(let o=0,r=t.length;o<r;o++)if(n(t[o],e))return o}return-1},na=(t,e)=>{const n=M0(t,void 0,e);return n!==-1?t[n]:void 0},uS=(t,e)=>(Object.keys(e).forEach(n=>t[n]=e[n]),t),dS=t=>{const e={};for(let n=0;n<t.length;n++)t[n]&&uS(e,t[n]);return e},pS=(t,e="pId",n="children",o="id")=>{const r=[];return Array.isArray(t)&&t.forEach(i=>{if(!i[e]||i[e]==="0")r.push(i);else{const a=na(t,l=>l[o]===i[e]);if(!a)return;a[n]||(a[n]=[]),a[n].push(i)}delete i[e]}),r},hS=(t,e="id",n="pId")=>{let o;return Array.isArray(t)?o=t:o=[t],o=o.map(r=>({...r})),pS(o,n,"children",e)},mS=t=>{const e={};return Object.keys(t).forEach(n=>{const{type:o,value:r}=t[n];if(o==="enum"&&(e[n]={type:r.map(()=>0),value:r},r.length>1&&(t[n].relation="or")),o==="input"){const{relation:i,text:a}=r;e[n]={type:[i==="startwith"?8:i==="equals"?0:6],value:a}}}),JSON.stringify(e)},L0=(t,e)=>{const n=Array.isArray(e)?e:e.split("."),o=n.shift();if(o===void 0)return;const r=t[o];return Ro(r)&&n.length?L0(r,n):r},fS=(t,e)=>{if(e){const{page:n,sort:o,filters:r}=e,{currentPage:i,pageSize:a}=n||{},l=mS(r||{}),s=o&&o.property?o.property+" "+o.order:"";t.url=N5(t.url,{curPage:i,pageSize:a,filterStr:l,orderBy:s})}},fc=(t,e)=>{const{result:n,pageVO:o}=t,{key:r="id",parentKey:i}=e||{};let a=n||t;return i&&(a=hS(a,r,i)),o?{result:a,page:{total:o.totalRows}}:a},$m=({dataset:t,service:e,tree:n},o)=>new Promise((r,i)=>{if(Array.isArray(t))return r(fc(t,n));const a=t,{source:l,value:s,api:c}=a||{},d=e||a&&a.service;if(Array.isArray(s))return r(fc({result:s},n));if(!d)return r([]);if(Ro(l)&&l!=null&&l.url){const{type:u="GET",data:m,beforeRequest:h,afterRequest:p,success:v,hideErr:f,url:b,method:x,...w}=l;w.url=b,w.method=x||u.toLocaleLowerCase();const E=w.method==="get"?"params":"data";w[E]=m||{};const S=p||v,$={...w};fS($,o),h&&h($,o),d.network.request($).then(q=>{S&&S(q.data),r(fc(q.data,n))}).catch(q=>{f||i(q)})}else if(c){const u=L0(d,c.name);u&&u({...c.data,...o}).then(m=>{r(fc(m,n))}).catch(m=>{i(m)})}});const gS=/%[sdj%]/g,I0=()=>{};function bu(t){if(!t||!t.length)return null;const e={};return t.forEach(n=>{const o=n.field;e[o]=e[o]||[],e[o].push(n)}),e}function yo(t,...e){if(typeof t=="function")return t(...e);if(typeof t=="string"){let n=0;const o=e.length;return String(t).replace(gS,r=>{if(r==="%%")return"%";if(n>=o)return r;switch(r){case"%j":try{return JSON.stringify(e[n++])}catch{return"[Circular]"}case"%d":return Number(e[n++]).toString();case"%s":return String(e[n++]);default:return r}})}return String(t)}function vS(t){return t?["string","url","hex","email","pattern","digits","time","dateYMD","longDateTime","dateTime","dateYM","version","speczh","specialch","specialch2","acceptImg","acceptFile","fileSize"].includes(t):!1}function nn(t,e){return!!(Dt(t)||e==="array"&&Array.isArray(t)&&!t.length||vS(e)&&typeof t=="string"&&!t)}function yS(t){return Object.keys(t).length===0}function bS(t,e,n){let o=0;const r=[],i=t.length;function a(l){r.push(...l),o++,o===i&&n(r)}t.forEach(l=>{e(l,a)})}function kg(t,e,n){let o=0;const r=t.length;function i(a){if(a&&a.length){n(a);return}const l=o;o=o+1,l<r?e(t[l],i):n([])}i([])}function wS(t){const e=[];return Object.keys(t).forEach(n=>{e.push(...t[n])}),e}function N0(t,e,n,o){if(e.first){const d=new Promise((u,m)=>{const h=m,p=f=>(o(f),f.length?h({errors:f,fields:bu(f)}):u()),v=wS(t);kg(v,n,p)});return d.catch(u=>u.errors&&u.fields||qp.error(u)),d}let r=Array.isArray(e.firstFields)?e.firstFields:[];e.firstFields===!0&&(r=Object.keys(t));let i=0;const a=Object.keys(t),l=a.length,s=[],c=new Promise((d,u)=>{const m=u,h=p=>{if(s.push(...p),i++,i===l)return o(s),s.length?m({errors:s,fields:bu(s)}):d()};a.forEach(p=>{const v=t[p];r.includes(p)?kg(v,n,h):bS(v,n,h)})});return c.catch(d=>d.errors&&d.fields||qp.error(d)),c}function Pm(t){return e=>e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():String(e),field:(e==null?void 0:e.field)||t.fullField}}function zp(t,e){if(!e)return t;for(const n in e)if(Ct.call(e,n)){const o=e[n];typeof o=="object"&&typeof t[n]=="object"?t[n]={...t[n],...o}:t[n]=o}return t}const xS=Object.freeze(Object.defineProperty({__proto__:null,asyncMap:N0,complementError:Pm,convertFieldsError:bu,deepMerge:zp,format:yo,isEmptyObject:yS,isEmptyValue:nn,warning:I0},Symbol.toStringTag,{value:"Module"}));function Tt(t,e){Tt.getSystemMessage=()=>Tt.getDefaultMessage(e),Tt.messages=Tt.getSystemMessage(e),Tt.systemMessages=Tt.messages,this.rules=null,this._messages=Tt.systemMessages,this.define(t)}const TS=t=>e=>{let n,o=[],r={};function i(a){Array.isArray(a)?o=o.concat(...a):o.push(a)}for(n=0;n<e.length;n++)i(e[n]);o.length?r=bu(o):(o=null,r=null),t(o,r)},kS=(t,e)=>{let n=(t.type==="object"||t.type==="array")&&(typeof t.fields=="object"||typeof t.defaultField=="object");return n=n&&(t.required||!t.required&&e.value),n},CS=(t,e)=>{let n={};function o(r,i){return{...i,fullField:`${t.fullField}.${r}`}}if(t.defaultField)for(const r in e.value)Ct.call(e.value,r)&&(n[r]=t.defaultField);n={...n,...e.rule.fields};for(const r in n)if(Ct.call(n,r)){const i=Array.isArray(n[r])?n[r]:[n[r]];n[r]=i.map(o.bind(null,r))}return n},AS=t=>(Array.isArray(t)||(t=[t]),t),SS=({rule:t,failds:e,options:n})=>(t.message?e=[].concat(t.message).map(Pm(t)):n.error?e=[n.error(t,yo(n.messages.required,t.field))]:e=[],e),ES=({data:t,options:e})=>{if(t.rule.options){let{messages:n,error:o}=e;Object.assign(t.rule.options,{messages:n,error:o})}},$S=({failds:t,doIt:e})=>n=>{const o=[];t&&t.length&&o.push(...t),n&&n.length&&o.push(...n),e(o.length?o:null)},PS=(t,e,n,o,r)=>(i=[])=>{let a=i;const l=kS(e,r);if(a=AS(a),!t.suppressWarning&&a.length&&Tt.warning(),a.length&&e.message&&(a=[].concat(e.message)),a=a.map(Pm(e)),t.first&&a.length)return n[e.field]=1,o(a);if(l){if(e.required&&!r.value)return a=SS({rule:e,failds:a,options:t}),o(a);const s=new Tt(CS(e,r));s.messages(t.messages),ES({data:r,options:t}),s.validate(r.value,r.rule.options||t,$S({failds:a,doIt:o}))}else o(a)};Tt.prototype={messages(t){return t&&(this._messages=zp(Tt.getSystemMessage(),t)),this._messages},define(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(Array.isArray(t)||typeof t!="object")throw new TypeError("Rules must be an object");this.rules={};let e;Object.keys(t).forEach(n=>{Ct.call(t,n)&&(e=t[n],this.rules[n]=Array.isArray(e)?e:[e])})},getSeries(t,e,n){let o,r;const i={};return(t.keys||Object.keys(this.rules)).forEach(a=>{o=this.rules[a],r=e[a],o.forEach(l=>{let s=l;typeof s.transform=="function"&&(e===n&&(e={...e}),e[a]=s.transform(r),r=e[a]),typeof s=="function"?s={validator:s}:s={...s},s.validator=this.getValidationMethod(s),s.field=a,s.fullField=s.fullField||a,s.type=this.getType(s),t.custom&&Object.assign(s,t.custom),s.validator&&(i[a]=i[a]||[],i[a].push({rule:s,value:r,source:e,field:a}))})}),i},mergeMessage(t){if(t.messages){let e=this.messages();e===Tt.systemMessages&&(e=Tt.getSystemMessage()),zp(e,t.messages),t.messages=e}else t.messages=this.messages()},validate(t,e={},n=()=>{}){let o=t,r=e,i=n;if(typeof r=="function"&&(i=r,r={}),!this.rules||Object.keys(this.rules).length===0)return i&&i(),Promise.resolve();const a=TS(i);this.mergeMessage(r);const l=this.getSeries(r,o,t),s={};return N0(l,r,(c,d)=>{const u=c.rule,m=PS(r,u,s,d,c);let h;u.asyncValidator?h=u.asyncValidator(u,c.value,m,c.source,r):u.validator&&(h=u.validator(u,c.value,m,c.source,r),h===!0?m():h===!1?m(u.message||`${u.field} fails`):Array.isArray(h)?m(h):h instanceof Error&&m(h.message)),h&&h.then&&h.then(()=>m(),p=>m(p))},c=>{a(c)})},getValidationMethod(t){var e;if(qA(t.validator))return t.validator;const n=Object.keys(t),o=n.indexOf("message");return o>-1&&n.splice(o,1),n.length===1&&n[0]==="required"?(e=Tt.validators)==null?void 0:e.required:Tt.validators[this.getType(t)]||!1},getType(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Ct.call(Tt.validators,t.type))throw new Error(yo("Unknown rule type %s",t.type));return t.type||"string"}};Tt.register=(t,e)=>{if(typeof e!="function")throw new TypeError("Cannot register a validator by type, validator is not a function");Tt.validators[t]=e};Tt.validators={};Tt.warning=I0;Tt.messages={};Tt.systemMessages={};Tt.getDefaultMessage=()=>{};Tt.getSystemMessage=()=>{};function O0({rule:t,checkValue:e,source:n,errors:o,options:r,type:i}){t.required&&(!Ct.call(n,t.field)||nn(e,i||t.type))&&o.push(yo(r.messages.required))}const _S='^(([^<>()\\[\\]\\\\.,;:\\s@"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@"]+)*)|(".+"))',MS=new RegExp(_S+"@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,6}))$"),Io={acceptImg:/\.(png|jpe?g|gif)$/,acceptFile:/\.(doc?x|xls?x|ppt?x|txt)$/,email:MS,fileSize:/^\d+(\.\d+)?[KMGTPEZY]?B$/i,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,speczh:/^[0-9a-zA-Z_\u4E00-\u9FA5]+$/,specialch:/^[0-9a-zA-Z_\-.]+$/,specialch2:/^[0-9a-zA-Z_-]+$/,url:/^(([a-zA-Z]{3,}):)?\/\/([\w-]+\.)+[\w]+(\/[a-zA-Z- ./?%&=]*)?/i,version:/^\d+\.\d+(\.\d+)*$/},cl={integer:t=>cl.number(t)&&/^[-]?[\d]+$/.test(t),float:t=>cl.number(t)&&!cl.integer(t),array:Array.isArray,regexp(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:Tm,number:t=>sr(Number(t)),object:t=>Ro(t)&&!cl.array(t),method:t=>un(t)==="function",email:t=>Ut(t)||!!t.match(Io.email)&&t.length<255,url:t=>Ut(t)||!!t.match(Io.url),hex:t=>Ut(t)||!!t.match(Io.hex),digits:t=>Ut(t)||/^\d+$/.test(t),time:t=>Ut(t)||/^((0)[0-9]|1[0-9]|20|21|22|23):([0-5][0-9])$/.test(t),dateYM:t=>Ut(t)||ll(t,"yyyy-MM")===t,dateYMD:t=>Ut(t)||ll(t,"yyyy-MM-dd")===t,dateTime:t=>Ut(t)||ll(t,"yyyy-MM-dd hh:mm")===t,longDateTime:t=>Ut(t)||ll(t,"yyyy-MM-dd hh:mm:ss")===t,version:t=>Ut(t)||!!t.match(Io.version),speczh:t=>Ut(t)||!!t.match(Io.speczh),specialch:t=>Ut(t)||!!t.match(Io.specialch),specialch2:t=>Ut(t)||!!t.match(Io.specialch2),acceptImg:t=>Ut(t)||!!t.match(Io.acceptImg),acceptFile:t=>Ut(t)||!!t.match(Io.acceptFile),fileSize:t=>Ut(t)||!!t.match(Io.fileSize)};function LS(t,e,n,o,r){if(t.required&&e===void 0){O0({rule:t,checkValue:e,source:n,errors:o,options:r});return}const i=["array","acceptImg","acceptFile","date","digits","dateTime","dateYM","dateYMD","email","float","fileSize","hex","integer","longDateTime","method","number","object","regexp","speczh","specialch","specialch2","time","version","url"],a=t.type;i.includes(a)?cl[a](e)||o.push(yo(r.messages.types[a],t.type)):a&&typeof e!==t.type&&o.push(yo(r.messages.types[a],t.type))}function IS({min:t,max:e,val:n,key:o,rule:r,errors:i,util:a,options:l}){t&&!e&&n<r.min?i.push(a.format(l.messages[o].min,r.min)):e&&!t&&n>r.max?i.push(a.format(l.messages[o].max,r.max)):t&&e&&(n<r.min||n>r.max)&&i.push(a.format(l.messages[o].range,r.min,r.max))}function NS(t,e,n,o,r){const i=sr(t.len),a=sr(t.min),l=sr(t.max);let s=e,c=t.type;const d=sr(e),u=typeof e=="string",m=Array.isArray(e);if(d?c??(c="number"):u?c??(c="string"):m&&(c??(c="array")),!c)return!1;m&&(s=e.length),u&&(s=S5(e,"string")),t.type==="number"&&(s=e),i?s!==t.len&&o.push(yo(r.messages[c].len,t.len)):IS({min:a,max:l,val:s,key:c,rule:t,errors:o,util:xS,options:r})}const Fa="enum";function OS(t,e,n,o,r){t[Fa]=Array.isArray(t[Fa])?t[Fa]:[],t[Fa].includes(e)||o.push(yo(r.messages[Fa],t[Fa].join(", ")))}function DS(t,e,n,o,r){t.pattern&&(t.pattern instanceof RegExp?(t.pattern.lastIndex=0,t.pattern.test(e)||o.push(yo(r.messages.pattern.mismatch,e,t.pattern))):typeof t.pattern=="string"&&(new RegExp(t.pattern).test(e)||o.push(yo(r.messages.pattern.mismatch,e,t.pattern))))}function BS(t,e,n,o,r){(/^\s+$/.test(e)||e==="")&&o.push(yo(r.messages.whitespace))}const ft={type:LS,range:NS,pattern:DS,required:O0,whitespace:BS,enum:OS};function qS(t,e,n,o,r){const i=[],a=t.required||!t.required&&Ct.call(o,t.field),l=s=>s&&typeof s=="string"&&new Date(s).toString()!=="Invalid Date";if(a){if(nn(e)&&!t.required)return n();if(ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),!nn(e)){let s;typeof e=="number"||l(e)?s=new Date(e):s=e,ft.type(t,s,o,i,r),s&&typeof s.getTime=="function"&&ft.range(t,s.getTime(),o,i,r)}}n(i)}function on(t,e,n,o,r){const i=t.type,a=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e,i)&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:a,options:r,type:i}),nn(e,i)||ft.type(t,e,o,a,r)}n(a)}function FS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e)&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),e!==void 0&&(ft.type(t,e,o,i,r),ft.range(t,e,o,i,r))}n(i)}function RS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e,"array")&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r,type:"array"}),nn(e,"array")||(ft.type(t,e,o,i,r),ft.range(t,e,o,i,r))}n(i)}function jS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e,"string")&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r,type:"string"}),nn(e,"string")||(ft.type(t,e,o,i,r),ft.range(t,e,o,i,r),ft.pattern(t,e,o,i,r),t.whitespace===!0&&ft.whitespace(t,e,o,i,r))}n(i)}function gc(t,e,n,o,r){const i=t.required||!t.required&&Ct.call(o,t.field),a=[];if(i){if(!t.required&&nn(e))return n([]);ft.required({rule:t,checkValue:e,source:o,errors:a,options:r}),e!==void 0&&ft.type(t,e,o,a,r)}n(a)}function zS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(e===""&&(e=void 0),!t.required&&nn(e))return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),e!==void 0&&(ft.type(t,e,o,i,r),ft.range(t,e,o,i,r))}n(i)}function US(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e)&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),e!==void 0&&e!==""&&(ft.type(t,e,o,i,r),ft.range(t,e,o,i,r))}n(i)}function VS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e,"string")&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),nn(e,"string")||ft.pattern(t,e,o,i,r)}n(i)}function HS(t,e,n,o,r){const i=[],a=Array.isArray(e)?"array":typeof e;ft.required({rule:t,checkValue:e,source:o,errors:i,options:r,type:a}),n(i)}const QS="enum";function KS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e)&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),e!==void 0&&ft[QS](t,e,o,i,r)}n(i)}const GS={date:qS,float:FS,array:RS,string:jS,method:gc,number:zS,integer:US,pattern:VS,required:HS,hex:on,url:on,time:on,email:on,digits:on,dateYM:on,speczh:on,dateYMD:on,version:on,fileSize:on,regexp:gc,object:gc,dateTime:on,specialch:on,boolean:gc,acceptImg:on,specialch2:on,acceptFile:on,longDateTime:on,enum:KS},WS=t=>({string:t("validation.types.string"),method:t("validation.types.method"),array:t("validation.types.array"),object:t("validation.types.object"),number:t("validation.types.number"),date:t("validation.types.date"),boolean:t("validation.types.boolean"),integer:t("validation.types.integer"),float:t("validation.types.float"),regexp:t("validation.types.regexp"),email:t("validation.types.email"),url:t("validation.types.url"),hex:t("validation.types.hex"),digits:t("validation.types.digits"),time:t("validation.types.time"),dateYM:t("validation.types.dateYM"),dateYMD:t("validation.types.dateYMD"),dateTime:t("validation.types.dateTime"),longDateTime:t("validation.types.longDateTime"),version:t("validation.types.version"),speczh:t("validation.types.speczh"),specialch:t("validation.types.specialch"),specialch2:t("validation.types.hex"),acceptImg:t("validation.types.acceptImg"),acceptFile:t("validation.types.acceptFile"),fileSize:t("validation.types.fileSize")}),YS=(t=e=>e)=>({default:t("validation.default"),required:t("validation.required"),enum:t("validation.enum"),whitespace:t("validation.whitespace"),date:{format:t("validation.date.format"),parse:t("validation.date.parse"),invalid:t("validation.date.invalid")},types:WS(t),string:{len:t("validation.string.len"),min:t("validation.string.min"),max:t("validation.string.max"),range:t("validation.string.range")},number:{len:t("validation.number.len"),min:t("validation.number.min"),max:t("validation.number.max"),range:t("validation.number.range")},array:{len:t("validation.array.len"),min:t("validation.array.min"),max:t("validation.array.max"),range:t("validation.array.range")},pattern:{mismatch:t("validation.pattern.mismatch")}});Tt.validators=GS;Tt.getDefaultMessage=YS;const XS=(t,e,...n)=>{let o=!1;if(typeof t=="function"&&typeof e=="string"){const r=document.createEvent("HTMLEvents");r.initEvent(e,!1,!0),r.preventDefault=()=>{o=!0},n.unshift(r),n.unshift(e),t.apply(null,n)}return!o};const ZS=(t,e)=>{let n;if(t.target===null&&e)n=e;else{const o=t.composedPath();t.target!==o[0]&&(n=o[0])}n&&Object.defineProperty(t,"target",{get(){return n},enumerable:!0,configurable:!0})},JS=()=>{};const e3=(function(){return tt?function(t){setTimeout(()=>t(Date.now()),1e3/60)}:window.requestAnimationFrame.bind(window)})(),Up=t=>{t.scheduled||(t.scheduled=!0,t.raf(t3.bind(null,t)))},t3=t=>{const{reads:e,writes:n}=t;let o;try{t.runTasks(e),t.runTasks(n)}catch(r){o=r}if(t.scheduled=!1,(e.length||n.length)&&Up(t),o)if(t.catch)t.catch(o);else throw o},Cg=(t,e)=>{const n=t.indexOf(e);return!!~n&&!!t.splice(n,1)},n3=(t,e)=>{for(let n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n])};let o3=class{constructor(){this.reads=[],this.writes=[],this.raf=e3.bind(window)}runTasks(e){let n;for(;n=e.shift();)n()}measure(e,n){const o=n?e.bind(n):e;return this.reads.push(o),Up(this),o}mutate(e,n){const o=n?e.bind(n):e;return this.writes.push(o),Up(this),o}clear(e){return Cg(this.reads,e)||Cg(this.writes,e)}extend(e){if(!e||typeof e!="object")throw new Error("[TINY][FastDom] expected object");const n=Object.create(this);return n3(n,e),n.fastdom=this,n.initialize&&n.initialize(),n}};const ys=new o3,Ag=(t,e,n,o)=>{const r=t._tasks,i=t.fastdom;let a;const l=new Promise(function(s,c){a=i[e](function(){r.delete(l);try{s(o?n.call(o):n())}catch(d){c(d)}},o)});return r.set(l,a),l},r3={initialize(){this._tasks=new Map},mutate(t,e){return Ag(this,"mutate",t,e)},measure(t,e){return Ag(this,"measure",t,e)},clear(t){const e=this._tasks,n=e.get(t);this.fastdom.clear(n),e.delete(t)}};ys.extend(r3);const i3=(t,e)=>{let n=e.length;for(;n--;)t.clear(e[n]),e.splice(n,1)},a3=(t,e)=>{const n=t.indexOf(e);return!!~n&&!!t.splice(n,1)};class s3{constructor(e){this.fastdom=e,this.tasks=[]}measure(e,n){const o=this.tasks,r=this.fastdom.measure(function(){return o.splice(o.indexOf(r)),e.call(n)});return o.push(r),r}mutate(e,n){const o=this.tasks,r=this.fastdom.mutate(function(){return o.splice(o.indexOf(r)),e.call(n)});return this.tasks.push(r),r}clear(e){return arguments.length||i3(this.fastdom,this.tasks),a3(this.tasks,e),this.fastdom.clear(e)}}const l3={sandbox(){return new s3(this.fastdom)}};ys.extend(l3);const c3=["fullscreenElement","fullscreenEnabled","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],u3=["mozFullScreenElement","mozFullScreenEnabled","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],d3=["webkitFullscreenElement","webkitFullscreenEnabled","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror"],p3=["msFullscreenElement","msFullscreenEnabled","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"],zd=[c3,d3,u3,p3],or=typeof window<"u"&&typeof window.document<"u"?window.document:{};let Ht=null;const h3=()=>{if(!tt)for(let t=0,e=zd.length;t<e;t++){let n=zd[t];if(n&&n[1]in or){for(Ht={},t=0;t<n.length;t++)Ht[zd[0][t]]=n[t];return}}};h3();const Sg={change:Ht&&Ht.fullscreenchange,error:Ht&&Ht.fullscreenerror},zn={request(t,e){return new Promise((n,o)=>{const r=()=>{this.off("change",r),n()};if(this.on("change",r),t=t||(tt?null:or.documentElement),t&&Ht&&t[Ht.requestFullscreen]){const i=t[Ht.requestFullscreen](e);i instanceof Promise&&i.then(r).catch(o)}else o(new Error("Fullscreen API not supported or element is null."))})},exit(){return new Promise((t,e)=>{if(!this.isFullscreen){t();return}const n=()=>{this.off("change",n),t()};if(this.on("change",n),!tt&&Ht&&or[Ht.exitFullscreen]){const o=or[Ht.exitFullscreen]();o instanceof Promise&&o.then(n).catch(e)}else e(new Error("Fullscreen API not supported."))})},toggle(t,e){return this.isFullscreen?this.exit():this.request(t,e)},onchange(t){this.on("change",t)},onerror(t){this.on("error",t)},on(t,e){const n=Sg[t];n&&!tt&&Oe(or,n,e)},off(t,e){const n=Sg[t];n&&!tt&&Re(or,n,e)},raw:Ht||{}};tt?Object.defineProperties(zn,{isFullscreen:{get(){return!1}},element:{enumerable:!0,get(){return null}},isEnabled:{enumerable:!0,get(){return!1}}}):Object.defineProperties(zn,{isFullscreen:{get(){return!!or[Ht&&Ht.fullscreenElement]}},element:{enumerable:!0,get(){return or[Ht&&Ht.fullscreenElement]}},isEnabled:{enumerable:!0,get(){return!!or[Ht&&Ht.fullscreenEnabled]}}});const m3={callback:()=>{},fullscreenClass:"fullscreen",pageOnly:!1,teleport:!1};let wu,Xa;const D0=(t,e)=>{t.style.position=e.position,t.style.left=e.left,t.style.top=e.top,t.style.width=e.width,t.style.height=e.height,t.style.zIndex=e.zIndex},Eg=t=>{const e=t.targetElement;e&&(e.classList.remove(t.opts.fullscreenClass),(t.opts.teleport||t.opts.pageOnly)&&(t.opts.teleport&&Xa&&(Xa.insertBefore(e,wu),Xa.removeChild(wu)),e.__styleCache&&D0(e,e.__styleCache)))},f3=(t,e)=>{const{position:n,left:o,top:r,width:i,height:a,zIndex:l}=t.style;if(t.classList.add(e.fullscreenClass),e.teleport||e.pageOnly){const s={position:"fixed",left:"0",top:"0",width:"100%",height:"100%"};t.__styleCache={position:n,left:o,top:r,width:i,height:a,zIndex:l},e.zIndex&&(s.zIndex=e.zIndex),D0(t,s)}},g3=(t,e,n)=>(e=oo({},m3,e),n===document.body&&(e.teleport=!1),t.isEnabled||(e.pageOnly=!0),e),bs={targetElement:null,opts:null,isEnabled:zn.isEnabled,isFullscreen:!1,toggle(t,e,n){return n===void 0?this.isFullscreen?this.exit():this.request(t,e):n?this.request(t,e):this.exit()},request(t,e){if(this.isFullscreen)return Promise.resolve();if(t||(t=document.body),this.opts=g3(zn,e,t),f3(t,this.opts),this.opts.teleport&&(Xa=t.parentNode,Xa&&(wu=document.createComment("fullscreen-token"),Xa.insertBefore(wu,t),document.body.appendChild(t))),this.opts.pageOnly){const n=o=>{o.key==="Escape"&&(Re(document,"keyup",n),this.exit())};return this.isFullscreen=!0,this.targetElement=t,Re(document,"keyup",n),Oe(document,"keyup",n),this.opts.callback&&this.opts.callback(this.isFullscreen),Promise.resolve()}else{const n=()=>{zn.isFullscreen||(zn.off("change",n),Eg(this)),this.isFullscreen=zn.isFullscreen,this.targetElement=this.opts.teleport?t||null:zn.targetElement,this.opts.callback&&this.opts.callback(zn.isFullscreen)};return zn.on("change",n),zn.request(this.opts.teleport?document.body:t)}},exit(){return this.isFullscreen?this.opts.pageOnly?(Eg(this),this.isFullscreen=!1,this.targetElement=null,this.opts.callback&&this.opts.callback(this.isFullscreen),Promise.resolve()):zn.exit():Promise.resolve()}};bs.support=bs.isEnabled;bs.getState=()=>bs.isFullscreen;bs.enter=bs.request;const Za="$treeNodeId",_m=function(t,e){return t?e[t]:e[Za]},$g=function(t,e){!e||e[Za]||Object.defineProperty(e,Za,{value:t.id,enumerable:!1,configurable:!1,writable:!1})},Ud="children",Pg="isLeaf",vc=(t,e)=>{const n=t.store.props,o=t.data||{},r=n[e];if(un(r)==="string")return o[r];if(un(r)==="function")return r(o,t);if(typeof r>"u"){const i=o[e];return i===void 0?"":i}},Vp=t=>{let e=!0,n=!0,o=!0;for(let r=0,i=t.length;r<i;r++){const{checked:a,disabled:l,indeterminate:s}=t[r];(a!==!0||s)&&(e=!1,l||(o=!1)),(a!==!1||s)&&(n=!1)}return{all:e,none:n,allWithoutDisable:o,half:!e&&!n}},Xc=t=>{const e=t.childNodes;if(e.length===0)return;const{all:n,none:o,half:r}=Vp(e);n?Object.assign(t,{checked:!0,indeterminate:!1}):r?Object.assign(t,{checked:!1,indeterminate:!0}):o&&Object.assign(t,{checked:!1,indeterminate:!1});const i=t.parent;!i||i.level===0||!t.store.checkStrictly&&Xc(i)};let v3=0;class Dl{constructor(e){this.init(e);const n=this.store;if(!n)throw new Error("[TINY-Tree][Node]store is required!");n.registerNode(this);const o=n.props;if(o&&typeof o.isLeaf<"u"){const l=vc(this,Pg);typeof l=="boolean"&&(this.isLeafByUser=l)}if(this.initExpandState(),Array.isArray(this.data)||$g(this,this.data),!this.data)return;this.expandByDefaultKeys();const{key:r,lazy:i,currentNodeKey:a}=n;r&&a!==void 0&&this.key===a&&(n.currentNode=this,n.currentNode.isCurrent=!0),i&&n._initDefaultCheckedNode(this),this.updateLeafState()}initExpandState(){const{store:e,data:n,level:o}=this;e.lazy!==!0&&n?(this.setData(n),e.defaultExpandAll&&(this.expanded=!0,this.updateMethod(this,"expanded"))):o>0&&e.lazy&&e.defaultExpandAll&&this.expand()}init(e){var n,o;this.id=v3++,this.checked=!1,this.indeterminate=!1,this.expanded=!1,this.visible=!0,this.isCurrent=!1,this.text=null,this.data=null,this.parent=null,this.updateMethod=()=>{},Object.keys(e).forEach(i=>{Ct.call(e,i)&&(this[i]=e[i])});const r=((o=(n=this.store)==null?void 0:n.props)==null?void 0:o.isLeaf)||Pg;this.isLeaf=!!(this.data&&this.data[r]),this.loaded=this.isLeaf,this.loading=!1,this.childNodes=[],this.level=this.parent?this.parent.level+1:0}expandByDefaultKeys(){const{defaultExpandedKeys:e,key:n,autoExpandParent:o}=this.store;n&&e&&~e.indexOf(this.key)&&this.expand(null,o)}setData(e){Array.isArray(e)||$g(this,e),this.data=e,this.childNodes=[];let n;this.level===0&&Array.isArray(this.data)?n=this.data:n=vc(this,Ud)||[];for(let o=0,r=n.length;o<r;o++){const i=n[o];this.insertChild({data:i})}}get key(){const{store:e,data:n}=this,o=e.key;return n?n[o]:null}get label(){return vc(this,"label")}get disabled(){return vc(this,"disabled")}get nextSibling(){const e=this.parent;if(e){const n=e.childNodes,o=n.indexOf(this);if(~o)return n[o+1]}return null}get previousSibling(){const e=this.parent;if(e){const n=e.childNodes,o=n.indexOf(this);if(~o)return o>0?n[o-1]:null}return null}remove(){const e=this.parent;e&&e.removeChild(this)}contains(e,n=!0){const o=r=>{const i=r.childNodes||[];let a=!1;for(let l=0,s=i.length;l<s;l++){const c=i[l];if(c===e||n&&o(c)){a=!0;break}}return a};return o(this)}insertChild(e,n,o){if(!e)throw new Error("[TINY-Tree] insertChild error: child is required.");const r=({arr:i,index:a,item:l})=>{typeof a>"u"||a<0?i.push(l):i.splice(a,0,l)};if(!(e instanceof Dl)){if(!o){const i=this.getChildren(!0)||[];~i.indexOf(e.data)||r({arr:i,index:n,item:e.data})}Rp(e,{parent:this,store:this.store}),e=new Dl(e)}return e.level=this.level+1,r({arr:this.childNodes,index:n,item:e}),this.updateLeafState(),e}insertBefore(e,n){let o;n&&(o=this.childNodes.indexOf(n)),this.insertChild(e,o)}insertAfter(e,n){let o;n&&(o=this.childNodes.indexOf(n),~o&&(o+=1)),this.insertChild(e,o)}removeChild(e){const n=this.getChildren()||[];let o=n.indexOf(e.data);~o&&n.splice(o,1),o=this.childNodes.indexOf(e),~o&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(o,1)),this.updateLeafState()}removeChildByData(e){let n=null;for(let o=0,r=this.childNodes.length;o<r;o++){const i=this.childNodes[o];if(i.data===e){n=i;break}}n&&this.removeChild(n)}expand(e,n){const o=()=>{if(n){let r=this.parent;for(;r.level>0;)r.expanded=!0,r.updateMethod(r,"expanded"),r=r.parent}this.expanded=!0,this.updateMethod(this,"expanded"),e&&e()};this.shouldLoadData()?this.loadData(r=>{Array.isArray(r)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||Xc(this),o())}):o()}doCreateChildren(e,n={}){e.forEach(o=>{this.insertChild(Rp({data:o},n),void 0,!0)})}collapse(){this.expanded=!1,this.updateMethod(this,"expanded")}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){const{store:e,loaded:n,isLeafByUser:o}=this,r=e.lazy;if(r===!0&&n!==!0&&typeof o<"u"){this.isLeaf=o;return}const i=this.childNodes;if(!r||r===!0&&n===!0){this.isLeaf=!i||i.length===0;return}this.isLeaf=!1}getChildren(e=!1){const{level:n,data:o}=this;if(n===0)return o;if(!o)return null;const r=this.store.props;let i=Ud;return r&&(i=r.children||Ud),o[i]===void 0&&(o[i]=null),e&&!o[i]&&(o[i]=[]),o[i]}setChecked(e,n,o,r,i){this.checked=e===!0,this.indeterminate=e==="half";const{checkStrictly:a,checkDescendants:l}=this.store;if(a&&!i)return;let s=this.setCheckedInner({checkDescendants:l,value:e,isDeepChecked:n,passValue:r,checkEasily:i}),c=s.returnFlag;if(r=s.passValue,e=s.value,c||a&&i)return;const d=this.parent;!d||d.level===0||o||Xc(d)}setCheckedInner({checkDescendants:e,value:n,isDeepChecked:o,passValue:r,checkEasily:i}){let a=!1;if(this.shouldLoadData()&&!e)return{value:n,passValue:r,returnFlag:a};const{all:l,allWithoutDisable:s}=Vp(this.childNodes);!this.isLeaf&&!l&&s&&!i&&(this.checked=!1,n=!1);const c=()=>{if(o){const d=this.childNodes;for(let h=0,p=d.length;h<p;h++){const v=d[h];r=r||n!==!1;const f=v.disabled?v.checked:r;v.setChecked(f,o,!0,r,i)}const{half:u,all:m}=Vp(d);!m&&!i&&(this.checked=m,this.indeterminate=u)}};if(this.shouldLoadData()){const d=()=>{c(),Xc(this)};this.loadData(d,{checked:n!==!1}),a=!0}else c();return{value:n,passValue:r,returnFlag:a}}updateChildren(){const e=this.getChildren()||[],n=this.childNodes.map(i=>i.data),o={},r=[];e.forEach((i,a)=>{const l=i[Za];l&&M0(n,l,(s,c)=>s[Za]===c)>=0?o[l]={index:a,data:i}:r.push({index:a,data:i})}),this.store.lazy||n.forEach(i=>{o[i[Za]]||this.removeChildByData(i)}),r.forEach(({data:i,index:a})=>{this.insertChild({data:i},a)}),this.updateLeafState()}loadData(e,n={}){const{lazy:o,load:r}=this.store;o===!0&&r&&!this.loaded&&(!this.loading||Object.keys(n).length)?(this.loading=!0,this.store.load(this,i=>{this.loading=!1,this.loaded=!0,this.childNodes=[],this.doCreateChildren(i,n),this.updateLeafState(),e&&e.call(this,i),typeof this.store.afterLoad=="function"&&this.store.afterLoad({data:i})})):e&&e.call(this)}getPathData(e){const n=[e?this.data[e]:this.data];let o=this.parent;for(;o&&o.parent;)n.unshift(e?o.data[e]:o.data),o=o.parent;return n}getPathText(e,n=","){return(this.getPathData(e)||[]).join(n)}}class y3{constructor(e){Ot(this,"currentNode",null),Ot(this,"currentNodeKey",null),Ot(this,"nodesMap",{}),Ot(this,"root"),Ot(this,"data"),Ot(this,"lazy",!1),Ot(this,"load"),Ot(this,"afterLoad"),Ot(this,"props",{}),Ot(this,"filterNodeMethod"),Ot(this,"key",""),Ot(this,"defaultCheckedKeys",[]),Ot(this,"checkStrictly",!1),Ot(this,"defaultExpandedKeys",[]),Ot(this,"autoExpandParent",!0),this.currentNode=null,this.currentNodeKey=null;for(let n in e)Ct.call(e,n)&&(this[n]=e[n]);this.nodesMap={},this.root=new Dl({data:this.data,store:this}),this.lazy&&this.load?this.load(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes(),typeof this.afterLoad=="function"&&this.afterLoad({data:n,init:!0})}):this._initDefaultCheckedNodes()}getMappingData(e){const n=this.props||{},o={};for(let r in n)Ct.call(n,r)&&(o[r]=e[n[r]]);return{...e,...o}}filter(e){const{lazy:n,filterNodeMethod:o,getMappingData:r}=this,i=a=>{const l=a.root?a.root.childNodes:a.childNodes;if(l.forEach(s=>{const c=r.call(this,s.data);o&&(s.visible=o.call(s,e,c,s)),i(s)}),!a.visible&&l.length){let s=!l.some(({visible:c})=>c);a.root?a.root.visible=s===!1:a.visible=s===!1}e&&a.visible&&!a.isLeaf&&!n&&a.expand(null,this.autoExpandParent)};i(this)}setData(e){e!==this.root.data?(this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(e){if(e instanceof Dl)return e;const n=typeof e!="object"?e:_m(this.key,e);return this.nodesMap[n]||null}insertBefore(e,n){const o=this.getNode(n);o&&o.parent&&o.parent.insertBefore({data:e},o)}insertAfter(e,n){const o=this.getNode(n);o&&o.parent&&o.parent.insertAfter({data:e},o)}remove(e,n,o){const r=o?e:this.getNode(e);r&&r.parent&&(r===this.currentNode&&(this.currentNode=null),n&&r.childNodes&&r.childNodes.forEach(i=>{r.parent.insertChild({data:i.data})}),r.parent.removeChild(r))}append(e,n,o){const r=n?this.getNode(n):this.root;if(r){const i=r.insertChild({data:e},o);e._isNewNode&&this.registerNode(i)}}setDefaultCheckedKey(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}_initDefaultCheckedNodes(){const e=this.defaultCheckedKeys||[],n=this.nodesMap;e.forEach(o=>{const r=n[o];r&&r.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(e){~(this.defaultCheckedKeys||[]).indexOf(e.key)&&e.setChecked(!0,!this.checkStrictly)}getCheckedKeys(e=!1){return this.getCheckedNodes(e).map(n=>(n||{})[this.key])}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(e=>(e||{})[this.key])}deregisterNode(e){!this.key||!e||!e.data||(e.childNodes.forEach(n=>{this.deregisterNode(n)}),delete this.nodesMap[e.key])}registerNode(e){if(!this.key||!e||!e.data)return;const n=e.key;n!==void 0&&(this.nodesMap[n]=e)}getCheckedNodes(e=!1,n=!1,o=!1){const r=[],i=a=>{(a.root?a.root.childNodes:a.childNodes).forEach(l=>{const{checked:s,indeterminate:c,isLeaf:d,data:u}=l;(s||n&&c)&&(!e||e&&d)&&r.push(o?l:u),i(l)})};return i(this),r}getHalfCheckedNodes(){const e=[],n=o=>{(o.root?o.root.childNodes:o.childNodes).forEach(r=>{const{indeterminate:i,data:a}=r;i&&e.push(a),n(r)})};return n(this),e}_getAllNodes(){const e=[],n=this.nodesMap;return Object.keys(n).forEach(o=>{Ct.call(n,o)&&e.push(n[o])}),e}updateChildren(e,n){const o=this.nodesMap[e];if(!o)return;const r=o.childNodes;for(let i=r.length-1;i>=0;i--)this.remove(r[i].data,!1,!1);for(let i=0,a=n.length;i<a;i++){const l=n[i];this.append(l,o.data)}}_setCheckedKeys(e,n=!1,o={}){const r=this._getAllNodes().sort((l,s)=>s.level-l.level),i=Object.create(null),a=Object.keys(o);r.forEach(l=>{l.setChecked(!1,!1)});for(let l=0,s=r.length;l<s;l++){const c=r[l],d=c.data[e].toString();if(!~a.indexOf(d))c.checked&&!i[d]&&c.setChecked(!1,!1);else{let u=c.parent;for(;u&&u.level>0;)i[u.data[e]]=!0,u=u.parent;if(c.isLeaf||this.checkStrictly)c.setChecked(!0,!1);else if(n){c.setChecked(!1,!1);const m=h=>{h.childNodes.forEach(p=>{!p.isLeaf&&p.setChecked(!1,!1),m(p)})};m(c)}else c.setChecked(!0,!0)}}}setDefaultExpandedKeys(e){e=e||[],this.defaultExpandedKeys=e,e.forEach(n=>{const o=this.getNode(n);o&&o.expand(null,this.autoExpandParent)})}setCheckedKeys(e,n=!1){this.defaultCheckedKeys=e;const o={};e.forEach(r=>{o[r]=!0}),this._setCheckedKeys(this.key,n,o)}setCheckedNodes(e,n=!1){const o=this.key,r={};e.forEach(i=>{r[(i||{})[o]]=!0}),this._setCheckedKeys(o,n,r)}setChecked(e,n,o){const r=this.getNode(e);r&&r.setChecked(!!n,o)}setCurrentNode(e){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=e,e&&(this.currentNode.isCurrent=!0)}getCurrentNode(){return this.currentNode}setCurrentNodeKey(e){if(Dt(e)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const n=this.getNode(e);n&&this.setCurrentNode(n)}setUserCurrentNode(e){const n=e[this.key],o=this.nodesMap[n];this.setCurrentNode(o)}getData(e){return(this.getNode(e)||{}).data}getAllData(){const e=this.props.children,n=o=>o.map(r=>({...r.data,[e]:n(r.childNodes)}));return n(this.root.childNodes)}}function Hp(t,e,n,o){let r,i=0;typeof e!="boolean"&&(o=n,n=e,e=void 0);function a(){const s=this,c=new Date().valueOf()-i,d=arguments;function u(){i=new Date().valueOf(),n.apply(s,d)}function m(){r=void 0}o&&!r&&u(),r&&clearTimeout(r);const h=o===void 0;h&&c>t?u():e!==!0&&(r=setTimeout(o?m:u,h?t-c:t))}function l(){r&&(clearTimeout(r),r=null)}return a._cancel=l,a}function Sn(t,e,n){return n===void 0?Hp(t,e,!1):Hp(t,n,e!==!1)}let Bi=null;const b3="ws://localhost",_g=[27197,27198,27199];let Vd=0,qi,B0=1e3,q0=3e4,w3=0,Mm={},F0;const x3=20*1e3;let Mg=null,R0=null,Qp={},j0={},ln={},z0=()=>{},U0=()=>{};const V0=function(t){clearTimeout(Qp[t]),delete Mm[t],delete Qp[t]},T3=function(){R0=setTimeout(()=>{Bi.close()},5e3)},yr=function(t,e){let n=w3++;if(n=String(n),t.cid=n,!qi){e&&setTimeout(e,0,{ok:!1,message:"eSpace is not logged in."});return}typeof e=="function"&&(Mm[n]=e,Qp[n]=setTimeout(()=>{e({ok:!1,message:"time out"}),V0(n)},q0)),Bi.send(JSON.stringify(t))},H0=function(){Mg=setTimeout(()=>{qi?yr({type:"heartbeat"},()=>{H0()}):clearTimeout(Mg)},x3)},k3=function(t){qi=!0,H0(),clearTimeout(F0),clearTimeout(R0),U0(t)},C3=function(t){let e=t.data;if(typeof e=="string"&&(e=e.replace(/^\d+/,""),!!e)){try{e=JSON.parse(e)}catch(n){return!n}if(qi){let n=j0[e.type];if(n)return n(e.data);let o=e.cid,r=Mm[o];r&&(e.ok?r(null,e.data):r({ok:e.ok}),V0(o))}else e.type==="eSpace-ctrl-connection-success"?k3(e.data):Bi.close()}},A3=function(){Bi.onopen=T3,Bi.onclose=S3,Bi.onmessage=C3},Q0=function(t){F0=setTimeout(()=>{Vd>=_g.length&&(Vd=0),Bi=new WebSocket(b3+":"+_g[Vd++]),A3()},t||0)},S3=function(){(qi||typeof qi>"u")&&(qi=!1,z0()),Q0(B0)};ln.init=function(t){t&&(q0=t.timeout||3e4,B0=t.pollingInterval||0),Q0()};ln.ready=function(t){U0=t};ln.error=function(t){z0=t};const Lg=function(t,e,n){let o=[];for(let r=0;r<e;r++){let i=t;r&&(i+=r);let a=n[i];a&&o.push(a)}return o};ln.on=function(t,e){j0[t]=e};ln.getUserInfo=function(t,e){yr({type:"get-user-info",param:t},function(n,o){if(n)return e(n);const r=function(i){return{account:i.account,name:i.name,mobile:Lg("mobile",6,i),office_phone:Lg("office_phone",6,i),home_phone:i.home_phone,ip_phone:i.ip_phone,other_phone:i.other_phone}};if(o.account)e(null,r(o));else{let i={};for(let a in o)if(Object.prototype.hasOwnProperty.call(o,a)){let l=o[a];i[a]=l&&r(l)}e(null,i)}})};ln.subscribeUserStatus=function(t,e){Array.isArray(t)&&t.forEach(n=>{}),yr({type:"subscribe-user-status",param:t},e)};ln.eSpaceCall=function(t,e,n){yr({type:"espace-call",param:{account:t,number:e}},n)};ln.eSpaceCallByAccount=function(t,e){yr({type:"espace-call",param:{account:t}},e)};ln.eSpaceCallByNumber=function(t,e){yr({type:"espace-call",param:{number:t}},e)};ln.showImDialog=function(t,e){yr({type:"show-espace-im-dialog",param:t},e)};ln.showGroupDialog=function(t,e){yr({type:"show-espace-im-group-dialog",param:t},e)};ln.addContactList=function(t,e){yr({type:"add-contact-list",param:t},e)};if(tt||!window.WebSocket){const t=function(){};for(let e in ln)Object.prototype.hasOwnProperty.call(ln,e)&&typeof ln[e]=="function"&&(ln[e]=t)}class K0{constructor(e,n={}){if(e&&typeof e=="object"?n=e:e=[],typeof n.key!="string"||!n.key)throw new Error("Memorize Initialization error.");this._prefix="tiny_memorize_",this._customField1="frequency",this._customField2="time",this._sortBy=(n.sortBy||"frequency").toUpperCase(),this._sort=(n.sort||"desc").toUpperCase(),this._dataKey=n.dataKey||"value",this._highlightClass=n.highlightClass||"memorize-highlight",this._highlightNum=n.highlightNum||1/0,this._cacheNum=n.cacheNum||1/0,this._serialize=n.serialize||JSON.stringify,this._deserialize=n.deserialize||JSON.parse,this.setKey(n.key),this.assemble(e)}setKey(e){this._storeKey=this._prefix+(e||Number(new Date))}getValue(e=!0){const n=window.localStorage[this._storeKey]||"";if(n)try{const o=this._deserialize(n);return e?this.sort(o):o}catch{return[]}return[]}setValue(e){try{window.localStorage.setItem(this._storeKey,this._serialize(e))}catch{throw new Error("Memorize set localStorage error.")}}clear(){window.localStorage.removeItem(this._storeKey)}add(e){const n=this.getValue(!1),o={key:e};o[this._customField1]=1,o[this._customField2]=Number(new Date),n.length<this._cacheNum&&(n.push(o),this.setValue(n))}updateByKey(e){let n=!1;const o=this.getValue(!1);o.some(r=>r.key===e?(r[this._customField1]=(r[this._customField1]||0)+1,r[this._customField2]=Number(new Date),n=!0,!0):!1),n?this.setValue(o):this.add(e)}sort(e){return Array.isArray(e)?e.sort((n,o)=>{const r=this._sort==="DESC",i=r?[-1,1]:[1,-1],a=this._sortBy==="FREQUENCY"?this._customField1:this._customField2,l=n[a],s=o[a];return isNaN(l)?r?-1:1:isNaN(s)?-1:l>s?i[0]:i[1]}):e}assemble(e){const n=this.getValue(!0);if(!(Array.isArray(e)&&e.length)||!n.length)return e;let o=0;const r=i=>(a,l)=>a[this._dataKey]===i.key?(o++,e.splice(l,1),o<=this._highlightNum&&(a._highlightClass=this._highlightClass),e.unshift(a),!0):!1;for(let i=n.length-1;i>-1;i--){const a=n[i];e.some(r(a))}return e}}const yc={},Zs={leave:"v-modal-leave",enter:"v-modal-enter",modal:"v-modal"},E3=(t,e)=>{for(let n=t.length-1;n>=0;n--)if(t[n].id===e){t.splice(n,1);break}};let Kp;const it={step:2,zIndex:2e3,globalScroll:!1,modalFade:!0,modalStack:[],modalDom:null,hasModal:!1,popLockClass:"popup-parent--hidden",oldBodyBorder:"",viewportWindow:null,fixBodyBorder(){const t=window.innerWidth-document.documentElement.clientWidth;t&&(this.oldBodyBorder=document.documentElement.style.borderRight,document.body.style.borderRight=`${t}px solid transparent`)},resetBodyBorder(){document.body.style.borderRight=this.oldBodyBorder,this.oldBodyBorder=""},deregister:t=>{t&&(yc[t]=null,delete yc[t])},getInstance:t=>yc[t],register:(t,e)=>{t&&e&&(yc[t]=e)},nextZIndex:()=>{const t=it.zIndex;return it.zIndex+=it.step,t},openModal(t,e,n,o,r){if(tt||!t||e===void 0)return;this.modalFade=r;for(let l=0,s=this.modalStack.length;l<s;l++)if(this.modalStack[l].id===t)return;const i=Kp();mn(i,Zs.modal),this.modalFade&&!it.hasModal&&mn(i,Zs.enter),o&&o.trim().split(/\s+/).forEach(l=>mn(i,l)),setTimeout(()=>{fn(i,Zs.enter)},200),e&&(i.style.zIndex=e.toString()),i.style.display="",i.tabIndex=0;let a;n&&n.parentNode&&n.parentNode.nodeType!==11?a=n.parentNode:a=document.body,a.appendChild(i),this.modalStack.push({id:t,zIndex:e,modalClass:o})},doOnModalClick:()=>{const t=it.modalStack,e=t[t.length-1];if(!e)return;const n=it.getInstance(e.id);n&&n.closeOnClickModal&&typeof n.close=="function"&&n.close()},closeModal(t){const e=this.modalStack,n=Kp();if(e.length>0){const o=e[e.length-1];if(o.id===t){o.modalClass&&o.modalClass.trim().split(/\s+/).forEach(i=>fn(n,i)),e.pop();const r=e.length;r>0&&(n.style.zIndex=e[r-1].zIndex.toString())}else E3(e,t)}e.length===0&&(this.modalFade&&mn(n,Zs.leave),fn(document.body,this.popLockClass),this.resetBodyBorder(),setTimeout(()=>{e.length===0&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",it.modalDom=null),fn(n,Zs.leave)},200))}};Kp=()=>{if(tt)return null;let t=it.modalDom;return t?it.hasModal=!0:(it.hasModal=!1,t=document.createElement("div"),it.modalDom=t,t.addEventListener("touchmove",e=>{e.preventDefault(),e.stopPropagation()},{passive:!0}),Oe(t,"click",()=>{it.doOnModalClick()})),t};tt||Oe(window,"keydown",t=>{if(t.keyCode===ut.Escape){const e=it.modalStack;if(e.length>0){const n=e[e.length-1];if(!n)return;const o=it.getInstance(n.id);o&&o.closeOnPressEscape&&(o.handleClose?o.handleClose("esc"):o.handleAction?o.handleAction("cancel"):o.close())}}});const $3=["left","right","top","bottom"],G0=["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],P3={arrowOffset:0,arrowElement:"[x-arrow]",boundariesElement:"viewport",boundariesPadding:5,flipBehavior:"flip",forceAbsolute:!1,gpuAcceleration:!0,offset:0,placement:"bottom",preventOverflowOrder:$3,modifiers:G0,updateHiddenPopperOnScroll:!1},Zc=(t,e)=>{const n=o=>o!==""&&!isNaN(parseFloat(o))&&isFinite(o);Object.keys(e).forEach(o=>{let r="";~["width","height","top","right","bottom","left"].indexOf(o)&&n(e[o])&&(r="px"),t.style[o]=e[o]+r})},Hd=t=>{let e=t.offsetParent;return e===window.document.body||!e?window.document.documentElement:e},W0=(t,e)=>!t||t.nodeType!==1?void 0:window.getComputedStyle(t,null)[e],Y0=t=>t===window.document.body?!1:W0(t,"position")==="fixed"?!0:(t.host&&(t=t.host),t.parentNode?Y0(t.parentNode):!1),Gp=t=>{let e=t.getBoundingClientRect();return{left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.right-e.left,height:e.bottom-e.top}},X0=t=>{if(!t||t.nodeType!==1)return!1;const e=window.getComputedStyle(t,null),n=e.overflow,o=e.overflowX,r=e.overflowY,i=/(auto|scroll|overlay|clip)/;return(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth)&&i.test(n+r+o)},_3=t=>{const e=document.createElement("div");Zc(e,{opacity:0,position:"fixed",width:1,height:1,top:0,left:0,"z-index":"-99"}),t.appendChild(e);const n=Gp(e);return t.removeChild(e),n},Jc=t=>{let e=t.parentNode;return e?e===window.document?window.document.body.scrollTop||window.document.body.scrollLeft?window.document.body:window.document.documentElement:X0(e)?e:Jc(e):t},M3=(t,e,n,o)=>{let{top:r,left:i,width:a,height:l}=Gp(t);if(n){if(o.parentElement){const{top:c,left:d}=_3(o.parentElement);r-=c,i-=d}return{top:r,left:i,bottom:r+l,right:i+a,width:a,height:l}}let s=Gp(e);return{top:r-s.top,left:i-s.left,bottom:r-s.top+l,right:i-s.left+a,width:a,height:l}},L3=t=>t===document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):t.scrollTop||0,I3=t=>t===document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):t.scrollLeft||0,N3=(t,e)=>{const n=Math.max(t.scrollHeight,t.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight);return{width:Math.max(t.scrollWidth,t.offsetWidth,e.clientWidth,e.scrollWidth,e.offsetWidth),height:n}},Qd=t=>{let e=t.style.display,n=t.style.visibility;t.style.display="block",t.style.visibility="hidden";let o=window.getComputedStyle(t),r=parseFloat(o.marginTop)+parseFloat(o.marginBottom),i=parseFloat(o.marginLeft)+parseFloat(o.marginRight),a={width:t.offsetWidth+i,height:t.offsetHeight+r};return t.style.display=e,t.style.visibility=n,a},Ig=t=>{let e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,n=>e[n])},Js=t=>{let e={...t};return e.right=e.left+e.width,e.bottom=e.top+e.height,e},Z0=(t,e=[])=>{const n=t.parentNode;return n?(X0(n)&&e.push(n),W0(n,"position")==="fixed"?e:Z0(n,e)):e},Ng=t=>{const e={width:t.offsetWidth,height:t.offsetHeight,left:t.offsetLeft,top:t.offsetTop,right:0,bottom:0};return e.right=e.left+e.width,e.bottom=e.top+e.height,e},Og=t=>{t.stopPropagation()},Dg=!tt&&typeof ResizeObserver=="function"?new ResizeObserver(t=>{t.forEach(e=>{e.target.popperVm&&e.contentRect.height>50&&e.target.popperVm.update()})}):null;class O3{constructor(e,n,o){Ot(this,"_reference"),Ot(this,"_popper"),Ot(this,"state"),Ot(this,"_options"),Ot(this,"modifiers",{}),Ot(this,"popperOuterSize",null),this._reference=e,this._popper=n,this.state={},this._options={...P3,...o},this._options.modifierFns=G0.map(r=>this[r]),tt||(this._popper.setAttribute("x-placement",this._options.placement),this.state.position=this._getPopperPositionByRefernce(this._reference),Zc(this._popper,{position:this.state.position,top:0}),this._popper&&(this._popper.popperVm=this,Dg&&Dg.observe(this._popper)),this.update(),this._setupEventListeners())}destroy(){return this._popper.removeAttribute("x-placement"),this._popper.style.display="none",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this}onUpdate(e){return this.state.updateCallback=e,this}update(){let e={instance:this,styles:{}};this.stopEventBubble(),this.popperOuterSize=null,e.placement=e._originalPlacement=this._options.placement,e.offsets=this._getRefPopOffsets(this._popper,this._reference,e.placement),e.boundaries=this._getBoundaries(e,this._options.boundariesPadding,this._options.boundariesElement),e=this.runModifiers(e,this._options.modifierFns),typeof this.state.updateCallback=="function"&&this.state.updateCallback(e)}stopEventBubble(){this._popper&&(this._popper.onmousewheel||(this._popper.onmousewheel=Og),this._popper.onwheel||(this._popper.onwheel=Og))}runModifiers(e,n,o){let r=n.slice();const i=this._options;return o!==void 0&&(r=this._options.modifierFns.slice(0,i.modifierFns.findIndex(a=>a===o))),r.forEach(a=>{un(a)==="function"&&(e=a.call(this,e))}),e}applyStyle(e){let n={position:e.offsets.popper.position},o=Math.round(e.offsets.popper.left),r=Math.round(e.offsets.popper.top);return this._options.gpuAcceleration?(n.transform=`translate3d(${o}px, ${r}px, 0)`,Object.assign(n,{top:0,left:0})):Object.assign(n,{top:r,left:o}),Object.assign(n,e.styles),Zc(this._popper,n),this._popper.setAttribute("x-placement",e.placement),e.offsets.arrow&&Zc(e.arrowElement,e.offsets.arrow),e}shift(e){let n=e.placement,o=n.split("-")[0],r=n.split("-")[1];if(r){let{top:i,left:a,height:l,width:s}=e.offsets.reference,c=Js(e.offsets.popper),d={y:{start:{top:i},end:{top:i+l-c.height}},x:{start:{left:a},end:{left:a+s-c.width}}},u=~["bottom","top"].indexOf(o)?"x":"y";e.offsets.popper=Object.assign(c,d[u][r])}return e}preventOverflow(e){if(this._options.ignoreBoundaries)return e;let n=this._options.preventOverflowOrder,o=Js(e.offsets.popper),r={top:()=>{let{top:i}=o;return i<e.boundaries.top&&(i=Math.max(i,e.boundaries.top)),{top:i}},right:()=>{let{left:i}=o;return o.right>e.boundaries.right&&(i=Math.min(i,e.boundaries.right-o.width)),{left:i}},bottom:()=>{let{top:i}=o;return o.bottom>e.boundaries.bottom&&(i=Math.min(i,e.boundaries.bottom-o.height)),{top:i}},left:()=>{let{left:i}=o;return o.left<e.boundaries.left&&(i=Math.max(i,e.boundaries.left)),{left:i}}};return n.forEach(i=>{e.offsets.popper=Object.assign(o,r[i]())}),e}keepTogether(e){let n=Js(e.offsets.popper),o=e.offsets.reference;return n.right<Math.floor(o.left)&&(e.offsets.popper.left=Math.floor(o.left)-n.width),n.left>Math.floor(o.right)&&(e.offsets.popper.left=Math.floor(o.right)),n.bottom<Math.floor(o.top)&&(e.offsets.popper.top=Math.floor(o.top)-n.height),n.top>Math.floor(o.bottom)&&(e.offsets.popper.top=Math.floor(o.bottom)),e}flip(e){if(e.flipped&&e.placement===e._originalPlacement)return e;const n=e.placement.split("-");let o=n[0],r=Ig(o),i=n[1]||"",a=[o,r];return a.forEach((l,s)=>{if(o!==l||a.length===s+1)return;o=e.placement.split("-")[0],r=Ig(o);let c=Js(e.offsets.popper),d=["right","bottom"].includes(o),u=Math.floor(e.offsets.reference[o]),m=Math.floor(c[r]);(d&&u>m||!d&&u<m)&&(e.flipped=!0,e.placement=a[s+1],i&&(e.placement+=`-${i}`),e.offsets.popper=this._getRefPopOffsets(this._popper,this._reference,e.placement).popper,e=this.runModifiers(e,this._options.modifierFns,this.flip))}),e}offset(e){let n=this._options.offset,o=e.offsets.popper;return~e.placement.indexOf("left")?o.top-=n:~e.placement.indexOf("right")?o.top+=n:~e.placement.indexOf("top")?o.left-=n:~e.placement.indexOf("bottom")&&(o.left+=n),e}arrow(e){let n=this._options.arrowElement,o=this._options.arrowOffset;if(typeof n=="string"&&(n=this._popper.querySelector(n)),!n||!this._popper.contains(n))return e;let r={},i=e.placement.split("-")[0],a=Js(e.offsets.popper),l=e.offsets.reference,s=~["left","right"].indexOf(i),c=s?"height":"width",d=s?"bottom":"right",u=s?"left":"top",m=s?"top":"left",h=this.popperOuterSize?this.popperOuterSize:this.popperOuterSize=Qd(this._popper),p=Qd(n),v=p[c];l[d]-v<a[m]&&(e.offsets.popper[m]-=a[m]-(l[d]-v)),l[m]+v>a[d]&&(e.offsets.popper[m]+=l[m]+v-a[d]);let f=l[m]+(o||l[c]/2-v/2)-a[m];const b=4;f=Math.max(Math.min(a[c]-v-b,f),b),r[m]=f,r[u]="";const x=this._options.placement.split("-");return this._options.adjustArrow&&~["top","bottom"].indexOf(x[0])&&m==="left"&&(x[1]==="start"?r.left=b:x[1]||(r.left=(h.width-p.width)/2)),e.offsets.arrow=r,e.arrowElement=n,e}_getPopperPositionByRefernce(e){return this._options.forceAbsolute?"absolute":Y0(e)?"fixed":"absolute"}_getRefPopOffsets(e,n,o){o=o.split("-")[0];let r={position:this.state.position},i=r.position==="fixed",a=M3(n,Hd(e),i,e);const{width:l,height:s}=this.popperOuterSize?this.popperOuterSize:this.popperOuterSize=Qd(e);return~["right","left"].indexOf(o)?(r.top=a.top+a.height/2-s/2,o==="left"?r.left=a.left-l:r.left=a.right):(r.left=a.left+a.width/2-l/2,o==="top"?r.top=a.top-s:r.top=a.bottom),r.width=l,r.height=s,{popper:r,reference:a}}_setupEventListeners(){var e,n;if(this.state.updateBoundFn=this.update.bind(this),this.state.scrollUpdate=()=>{if(this._options.updateHiddenPopperOnScroll)this.state.updateBoundFn();else{if(km(this._reference))return;this.state.updateBoundFn()}},Oe(window,"resize",this.state.updateBoundFn),this._options.boundariesElement!=="window"){let o=this._options.scrollParent||Jc(this._reference);const r=[];if((n=(e=o==null?void 0:o.dataset)==null?void 0:e.tag)!=null&&n.includes("-form")){r.push(o);let i=Jc(o);(i===window.document.body||i===window.document.documentElement)&&(i=window),r.push(i)}if((o===window.document.body||o===window.document.documentElement)&&(o=window),this.state.scrollTarget=o,this._options.bubbling||it.globalScroll){let i=Z0(this._reference);this.state.scrollTargets=i||[],i.forEach(a=>{Oe(a,"scroll",this.state.scrollUpdate)})}else r.length?(this.state.scrollTargets=r,r.forEach(i=>{Oe(i,"scroll",this.state.scrollUpdate)})):Oe(o,"scroll",this.state.scrollUpdate)}}_removeEventListeners(){Re(window,"resize",this.state.updateBoundFn),this._options.boundariesElement!=="window"&&this.state.scrollTarget&&(Re(this.state.scrollTarget,"scroll",this.state.scrollUpdate),this.state.scrollTarget=null,(this._options.bubbling||it.globalScroll)&&((this.state.scrollTargets||[]).forEach(e=>{Re(e,"scroll",this.state.scrollUpdate)}),this.state.scrollTargets=null)),this.state.updateBoundFn=null,this.state.scrollUpdate=null}_getBoundaries(e,n,o){let r={right:0,left:0,top:0,bottom:0};if(o==="window"||o==="body"){let i=window.document.body,a=window.document.documentElement,{width:l,height:s}=N3(i,a);r={top:0,right:l,bottom:s,left:0}}else if(o==="viewport"){let i=Hd(this._popper),a=Jc(this._popper),l=Ng(i);const s=e.offsets.popper.position==="fixed"||!this._options.appendToBody&&["right","left"].includes(this._options.placement);let c=s?0:L3(a),d=s?0:I3(a);const u=it.viewportWindow||window;r={top:0-(l.top-c),right:u.document.documentElement.clientWidth-(l.left-d),bottom:u.document.documentElement.clientHeight-(l.top-c),left:0-(l.left-d)}}else if(Hd(this._popper)===o){const{clientWidth:i,clientHeight:a}=o;r={right:i,bottom:a,top:0,left:0}}else r=Ng(o);return r.right-=n,r.left+=n,r.bottom=r.bottom-n,r.top=r.top+n,r}setOptions(e){Object.assign(this._options,e)}}const Rr="__resizeListeners__",D3=t=>{t.forEach(e=>{const n=e.target[Rr]||[];n.length&&n.forEach(o=>{o()})})},ws=(t,e)=>{tt||(t[Rr]||(t[Rr]=[],t.__ro__=new d5(D3),t.__ro__.observe(t)),t[Rr].push(e))},xs=(t,e)=>{!t||!t[Rr]||(t[Rr].splice(t[Rr].indexOf(e),1),t[Rr].length||(t.__ro__.disconnect(),delete t.__ro__))};let bc;function B3(){if(tt)return 0;if(bc!==void 0)return bc;const t=document.createElement("div");t.className="tiny-scrollbar",t.style.visibility="hidden",t.style.position="absolute",t.style.top="-9999px";const e=document.createElement("div");e.className="tiny-scrollbar__wrap",e.style.width="100px",t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;e.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",e.appendChild(o);const r=o.offsetWidth;return e.parentNode.removeChild(e),bc=n-r,bc}const J0=(t,e)=>{if(tt)return;if(!e){t.scrollTop=0;return}const n=[];let{offsetParent:o,offsetTop:r,offsetHeight:i}=e;for(;o&&t!==o&&t.contains(o);)n.push(o),o=o.offsetParent;const a=r+n.reduce((d,u)=>d+u.offsetTop,0),l=a+i,s=t.scrollTop,c=s+t.clientHeight;a<s?t.scrollTop=a:l>c&&(t.scrollTop=l-t.clientHeight)};const Han=tt?null:Element.prototype.matches;var Uu={enUS:"英语",zhCN:"中文","zh-TW":"中国台湾",hello:"你好 {name}",code:"zh-CN",yes:"是",no:"否",ui:{input:{close:"关闭",more:"更多",detail:"详细信息"},numeric:{equalTo:"等于",notEqualTo:"不等于",moreThan:"大于",moreThanOrEqualTo:"大于等于",lessThan:"小于",lessThanOrEqualTo:"小于等于",empty:"为空",nonEmpty:"不为空"},queryBuilder:{addItem:"新增条件",addGroup:"新增子条件组",removeGroup:"移除条件组"},wizard:{previousStep:"上一步",nextStep:"下一步",save:"保存",submit:"提交"},linkMenu:{title:"消息",placeholder:"请输入关键字过滤...",sure:"确定",cancel:"取消"},todoList:{add:"提交",placeholder:"请输入内容..."},alert:{error:"错误",info:"消息",success:"成功",title:"消息提示",warning:"警告"},amount:{currency:"币种",amount:"金额",date:"日期",equalTo:"等于",notEqualTo:"不等于",moreThan:"大于",moreThanOrEqualTo:"大于等于",lessThan:"小于",lessThanOrEqualTo:"小于等于",empty:"为空",nonEmpty:"不为空"},actionMenu:{moreText:"更多"},base:{all:"全部",cancel:"取消",confirm:"确定",delete:"删除",edit:"编辑",more:"更多",reset:"重置",clear:"清空",comma:","},button:{cancel:"取消",confirm:"确定"},buttonGroup:{noData:"暂无数据"},buttonMessage:{cancel:"取消",confirm:"确定"},cell:{placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},chart:{auxiliary:"辅助",emptyText:"暂无数据",kName:"日K",other:"其他",summation:"总量",total:"总计",value:"数值"},colorSelectPanel:{confirm:"确定",cancel:"取消",predefine:"预定义颜色",history:"历史记录",empty:"暂无"},crop:{choose:"选择图片",zoomOut:"缩小10%",zoomIn:"放大10%",rotate_45:"逆时针旋转45°",rotate45:"顺时针旋转45°",closeCropArea:"隐藏选区",reset:"重置视图",closeCrop:"退出裁剪",cropImage:"选择区域"},datepicker:{clear:"清空",cancel:"取消",endDate:"结束日期",confirm:"确定",month:"月",endTime:"结束时间",month2:"2 月",month1:"1 月",month4:"4 月",month3:"3 月",month6:"6 月",month5:"5 月",month8:"8 月",month7:"7 月",month10:"10 月",month9:"9 月",month12:"12 月",month11:"11 月",months:{feb:"二月",jan:"一月",apr:"四月",mar:"三月",jun:"六月",may:"五月",aug:"八月",jul:"七月",oct:"十月",sep:"九月",dec:"十二月",nov:"十一月"},nextYear:"后一年",nextMonth:"下个月",prevMonth:"上个月",now:"此刻",selectDate:"选择日期",prevYear:"前一年",startDate:"开始日期",selectTime:"选择时间",today:"今天",currentMonth:"本月",startTime:"开始时间",week:"周次",weeks:{mon:"一",sun:"日",wed:"三",tue:"二",fri:"五",thu:"四",sat:"六"},timezone:"选择时区",year:"年",hour:"时",minute:"分",second:"秒",to:"至",yearMonth:"{year}年{month}月",yearMonthDay:"{year}年{month}月{day}日"},richTextEditor:{bold:"加粗",italic:"斜体",link:"链接",unlink:"移除链接",highlight:"高亮",underline:"下划线",strike:"中划线",subscript:"下标",superscript:"上标",code:"代码",unorderedlist:"无序列表",orderedlist:"有序列表",taskList:"任务列表",quote:"引用",codeBlock:"代码块",formatClear:"清除标记",nodeDelete:"删除节点",undo:"回退",redo:"前进",left:"左对齐",center:"居中",right:"右对齐",fontSize:"字号",lineHeight:"行高",hBox:"段落标题",img:"图片",color:"颜色",table:"表格",backgroundColor:"文字背景色",localResources:"本地资源",resourceLink:"资源链接"},calendar:{showType:{year:"年"}},dept:{code:"编码",company:"公司",dept1:"一级部门",dept2:"二级部门",dept3:"三级部门",dept4:"四级部门",dept5:"五级部门",dept6:"六级部门",dept7:"七级部门",dept8:"八级部门",input:"可输入部门编码或名称",name:"名称",search:"辅助查询",selected:"已选"},dialogBox:{confirm:"确定",cancel:"取消"},load:{dot:"加载中"},exception:{build:"模块正在建设中",busy:"系统繁忙,请稍等一下",noperm:"茫茫大海,找不到页面",weaknet:"网络不给力",pcview:"请到PC上查看文件",nodata:"暂无数据",create:"创建",provide:"TINY 开发团队提供",nodatamf:"暂无数据",nopermmf:"无访问权限",weaknetmf:"网络异常",noresult:"无相关搜索结果",nonews:"暂无最新消息",pagenoperm:"403:无访问权限",pageweaknet:"网络异常",pagenothing:"404:你访问的页面不存在",pageservererror:"500:服务器异常"},fileUpload:{largefile:"文件过大,将会分片上传,请耐心等待!",folder:"文件所在文件夹层数已超过 5 层,将不会上传该文件",init:"服务报错,请重试",token:"请先进行 EDM 鉴权,获取 token",exceed:"{fileName} 文件大小超过限制({maxSize})",largeFile:"文件大小超出限制 2G !!",fileSize:"{fileName} 文件大小低于限制({minSize}{sizeUnit})",deleteTip:"按 delete 键可删除",downloadFile:"下载文件",previewFile:"预览文件",updateFile:"更新文件",reUploadFile:"重新上传",cancelFile:"取消上传",deleteFile:"删除文件",empty:"是空文件!",kiaScanTip:"抱歉,从公网接入下载文档,需要通过KIA检测;当前文档正在KIA检测中,请稍后几分钟后再下载!",fileNameExceeds:"超过255个字符,请修改文件名。",fileName:"该文件名",calcHash:"文档正在计算加密中",uploadFile:"文件上传",downloadAll:"全部下载",onlySupport:"支持{type}格式文件",fileNotLessThan:"单个文件不能小于",fileNotMoreThan:"单个文件不能超过",fileSizeRange:"单个文件大小需在{moreThan}~{lessThan}之间",notSupport:"格式(.{format})暂不支持",notSupportNoSuffix:"暂不支持无后缀文件",notSupportSpecialCharacters:"文件名包含特殊字符,请重命名后上传",attachment:"附件",uploadList:"上传列表",numberExceed:"批量上传个数超过限制({number})",numberLimit:"最多上传{number}个文件",encryptDialogTitle:"水印及加密设置",addWatermark:"添加水印",encrypted:"加密",docPreview:"文档预览",networkError:"网络出错",pictureNetworkError:"网络出错,上传失败",reUploadTip:"{number}个文件上传失败!"},uploadList:{pictureUploading:"图片上传中",uploadFailed:"上传失败",uploading:"上传中",download:"下载",reUpload:"重新上传",delete:"删除",noAttachments:"暂无附件",cancel:"取消",preview:"预览",releaseAndUpload:"释放鼠标,上传文件",dragOrClickImport:"将文件拖到此处,或点击导入",shoot:"拍摄",selectFromAlbum:"从相册选择",uploadFailedAndReupload:"上传失败,点击重新上传"},upload:{addPicture:"添加图片",addAudio:"添加音频",addVideo:"添加视频"},grid:{dataUnchanged:"数据未改动!",deleteSelectRecord:"您确定要删除所选记录吗?",emptyText:"暂无数据",error:{delRevert:"方法 revert 已废弃,请使用 revertData",groupFixed:"如果使用分组表头,固定列必须在左右两侧",notDelete:"Delete 方法不存在",notQuery:"query 方法不存在",notResizable:"横向虚拟滚动不支持 resizable",notSave:"save 方法不存在",reqModule:"缺少 {{name}} 模块",rowIdEmpty:"参数 row-id 不允许为空",scrollYHeight:"启用虚拟滚动必须要设置 height 或 max-height",toolbarId:"工具栏需要设置唯一 id",treeFixedExpand:"树结构的固定列与展开行功能有冲突",treeInsert:"树结构不支持 insert 操作",treeRemove:"树结构不支持 remove 操作",unableInsert:"无法插入到指定位置",notAllowDragSelf:"不允许自己给自己拖动",notAllowDragFixed:"固定列不允许拖动",remoteMethod:"个性化模板管理远端存储需要设置 multipleHistory.remoteMethod",remoteSelectedMethod:"个性化模板管理远端存储需要设置 multipleHistory.remoteSelectedMethod",chainCallError:"列的默认插槽中存在语法错误,请检查。",renderParamError:"期望配置一个生成 VNode 的渲染方法。",classComponentError:"类组件渲染出错。",groupColumnFixedError:"同一个分组内不能设置不同的固定类型。",missingValueFormat:"渲染器无法格式化日期字符串,需要提供 valueFormat 源日期格式配置。",clipboardWriteError:"剪切板写入错误"},filter:{allSelect:"(全选)",endDate:"结束日期",startDate:"开始日期",dateTips:"请至少输入一个日期",clear:"清除当前列筛选",clearAll:"清除所有列筛选",confirmFilter:"筛选",empty:"为空",emptyText:"暂无数据",equal:"等于",include:"包含",prefix:"开头是",resetFilter:"重置",unempty:"不为空"},individuation:{cancelBtn:"取消",colConfigs:{visible:"显示",invisible:"隐藏",asc:"正序",desc:"倒序",unsorted:"未排序",frozenLeft:"左冻结",frozenRight:"右冻结",unfrozen:"未冻结",unfreeze:"取消冻结",unsort:"取消排序"},toolbar:{set:"设置",selected:"已选",freeze:"冻结",sort:"排序",clear:"清空",search:"搜索",all:"全选"},columnSet:"列设置",overwriteSave:"覆盖保存",saveAs:"另存为",saveTemplate:"存模板",selectTemplate:"选择模板",hideMsg:"至少保留一列显示",maxFreezeNumMsg:"冻结列不可超过6项",defaultTemplateName:"请输入名称,如未填写由系统按时间生成",reserveTemplateName:"如未填写名称将保留之前的名称",resetBtn:"重置",saveBtn:"确定",hideAll:"全部隐藏",showAll:"全部显示",tabs:{base:{title:"基础设置",tips:"点击图标按钮设置个性化"},other:{title:"其他设置",tips:"设置服务器排序或客户端排序、每页条数大小。",sortType:"排序类型",currPageSort:"当前页数据排序",allDataSort:"所有数据排序",pageSize:"每页条数"}},title:"个性化设置",switchtitle:"模板管理",switchsave:"保存配置",switchlabel:"配置列表:",switchapply:"使用",switchedit:"编辑",switchdel:"删除",switchconfirm:"确定",switchdelconfirm:"删除确认",switchonlytemp:"保存模板",switchtempapply:"保存并使用模板",switchtempoverwrite:"覆盖并使用模板",switchdelcon:"确定要删除这个模板?",switchdelyes:"确定",switchdelno:"取消",switchapplycon:"确定要使用这个模板?"},removeSelectRecord:"您确定要移除所选记录吗?",saveSuccess:"保存成功",selectOneRecord:"请至少选择一条记录!",isSaveMsg:"有修改的数据,是否要保存?"},hrapprover:{approver:"权签人",noselected:"没有选择权签人",noapprover:"没有权签人",remark:"备注"},imageViewer:{loadErrorAlt:"加载失败",save:"保存图片",del:"删除图片",thumbnail:"缩略图",menu:"目录",hide:"隐藏侧边栏",show:"显示侧边栏"},navMenu:{moreText:"更多"},logout:{in:"登录",out:"注销"},page:{goto:"前往",item:"条",next:"下一页",page:"条/页",pageClassifier:"页",pagesize:"条/页",prev:"上一页",total:"共",totals:"总条数:",jump:"跳至",hundredThousand:"10万+",million:"100万+",tenMillion:"1千万+",loadingTotals:"加载总条数…"},popeditor:{cancel:"取 消",confirm:"确 认",historyLists:"历史数据列表",reset:"重 置",search:"查 询",selectionLists:"选择数据列表",sourceLists:"所有数据列表",title:"选择",filterNode:"输入内容进行筛选"},popupload:{fileName:"文件名",fileSize:"文件大小",fileStatus:"文件状态",uploadError:"上传失败",dialogTitle:"文件上传",cancelButtonText:"取消",tipsFileText:"上传提示",saveButtonText:"开始上传",uploadSuccess:"上传成功!",uploadButtonText:"选择文件",uploadsButtonText:"选择批量文件",errorTypeTips:"上传文件类型不匹配",errorNumTips:"上传文件数量超出限制,已取消该操作",errorSizeTips:"上传文件大小超出限制",confirmDeleteTips:"确定要删除该文件吗?",delete:"删除",waitUpload:"等待上传",operation:"操作",success:"上传成功",listTip:"共{0}条数据:",errorListTip:"其中{0}条出错,请修改后重试",limitUploadFileNumber:"上传文件数限制为",limitUploadFileType:"上传文件类型限制为",limitUploadFileSize:"上传文件大小不超过"},rate:{level:{average:"一般",excellent:"很好",fair:"差",good:"好",poor:"很差"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"暂无相关数据",placeholder:"请选择",pleaseSearch:"请搜索",search:"搜索",selected:"已选",selectedNum:"已选 {num} 个",noSearchData:"无相关搜索结果,请重新输入",add:"新增",collapse:"收起"},search:{placeholder:"搜索"},signature:{confirm:"确认",rewrite:"重写",cancel:"取消",tips:"请手写签名",resign:"重新签名",placeholder:"请在此签名(必填)"},tabs:{moreItem:"更多"},tag:{add:"添加"},toggleMenu:{placeholder:"请输入内容进行筛选"},treeMenu:{placeholder:"输入关键字搜索"},transfer:{filterPlaceholder:"请输入搜索内容",hasCheckedFormat:"已选 {checked}/{total} 项",noCheckedFormat:"共 {total} 项",noData:"无数据",noMatch:"无匹配数据",titles:["列表 1","列表 2"]},tree:{loading:"加载中",emptyText:"暂无数据",switchText:"同时勾选下级",edit:"编辑",delete:"删除",addChild:"新增下级",newNodeTitle:"新增下级",deleteTip1:"删除后数据不可恢复,确定删除吗?",deleteTip2:"该节点存在下级节点,是否保留下级节点数据?",deleteTip3:"保留下级节点数据"},usercard:{address:"地址",collapse:"收起",email:"邮箱",empno:"工号",expand:"展开",fax:"传真",internal:"内线",manager:"主管",mobile:"手机",other:"其他",phone:"固定电话",timezone:"时区",travelcode:"出差联系信息",viop:"VIOP"},richText:{bold:"加粗",italic:"倾斜",underline:"下划线",header:"段落格式",strike:"删除线",blockquote:"块引用",codeBlock:"插入代码段",size:"字体大小",listOrdered:"编号列表",listBullet:"项目列表",header1:"h1",header2:"h2",align:"对齐方式",color:"字体颜色",background:"背景颜色",image:"图像",video:"视频",link:"添加链接",formula:"插入公式",clean:"清除格式",indent1:"向左缩进",indent2:"向右缩进",pickerLabel:"标题大小",headerPicker1:"标题一",headerPicker2:"标题二",headerPicker3:"标题三",headerPicker4:"标题四",headerPicker5:"标题五",headerPicker6:"标题六",normal:"标准",sizeSmall:"小号",sizeLarge:"大号",sizeHuge:"超大号",alignPicker1:"居左对齐",alignPicker2:"居中对齐",alignPicker3:"居右对齐",alignPicker4:"两端对齐",subScript:"下标",superScript:"上标",directionRTL:"从右到左",font:"字体",file:"文件",betterTable:"表格",fullscreen:"全屏",insertColumnRight:"右插入列",insertColumnLeft:"左插入列",insertRowUp:"上插入行",insertRowDown:"下插入行",mergeCells:"合并单元格",unmergeCells:"拆分单元格",deleteColumn:"删除当前列",deleteRow:"删除当前行",deleteTable:"删除表格",colorPicker:"背景颜色",placeholder:"在此处插入文本...",maxLength:"文本长度超过限制,支持的最大长度是 "},fluentEditor:{undo:"撤销",redo:"重做",lineheight:"行高"},steps:{done:"已完成",doing:"进行中",wait:"等待中"},actionSheet:{cancel:"取消"},image:{loadFail:"加载失败"},miniPicker:{cancel:"取消",confirm:"确定"},pullRefresh:{pullingDown:"下拉即可刷新",pullingUp:"上拉即可刷新",pulling:"下拉即可刷新",loosing:"释放即可刷新",success:"刷新成功",failed:"刷新失败",noMore:"没有更多了"},currency:{defaultCurrency:"默认币种",setDefault:"设为默认",chooseCurrency:"选择币种"},calendarBar:{week:{0:"日",1:"一",2:"二",3:"三",4:"四",5:"五",6:"六"},year:"%s年",yearMonth:"%y年%m月",month:{1:"1月",2:"2月",3:"3月",4:"4月",5:"5月",6:"6月",7:"7月",8:"8月",9:"9月",10:"10月",11:"11月",12:"12月"},monthAbbr:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"}},calendarView:{week:{0:"日",1:"一",2:"二",3:"三",4:"四",5:"五",6:"六"},weekDays:{0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},backToday:"回今天",new:"新增",noSchedule:"暂无日程",year:"年",month:"月",dateFormat:"yyyy 年 MM 月 dd 日",monthFormat:"yyyy 年 MM 月"},selectedBox:{select:"已选(%s)",allSelect:"已全选(%s)",clear:"清空",noData:"暂无数据"},record:{record:"录音",cancel:"取消",confirm:"确定",clickToStartRecording:"点击开始录音",clickToResumeRecording:"点击继续录音"},dialogSelect:{treeSearch:"请输入关键字并回车"},loadList:{errorText:"出错了",loadingText:"加载中...",finishedText:"没有更多了"}},validation:{array:{len:"长度必须为 %s",min:"长度不能小于 %s",max:"长度不能大于 %s",range:"长度必须介于 %s 和 %s 之间"},date:{format:"日期 %s 对于格式 %s 无效",invalid:"日期 %s 无效",parse:"无法分析 %s 日期, %s 无效"},default:"%s 字段校验错误",enum:"必须是 %s 中的一个",number:{len:"必须等于 %s",min:"不能小于 %s",max:"不能大于 %s",range:"必须介于 %s 和 %s 之间"},pattern:{mismatch:"值%s 与模式 %s 不匹配"},required:"必填",string:{len:"必须是 %s 个字符",min:"必须至少为 %s 个字符",max:"不能大于 %s 个字符",range:"必须介于 %s 和 %s 个字符之间"},types:{acceptFile:"只接受文件",acceptImg:"只接受图片格式",array:"非法数组",boolean:"非法布尔值",date:"不符合规则的日期格式",dateTime:"不符合规则的日期时间格式",dateYM:"不符合规则的日期格式(yyyy-mm)",dateYMD:"不符合规则的日期格式(yyyy-MM-dd)",digits:"非法纯数字",email:"非法邮件地址",fileSize:"文件大小的格式不正确,应如 3kb",float:"非法浮点数",hex:"非法十六进制",integer:"非法整数",longDateTime:"不符合规则的长日期格式",method:"必须是函数(Function)",number:"非法数字",object:"非法对象",regexp:"非法正则表达式",specialch:"只能包含数字、字母、下划线、横杠、点号",specialch2:"只能包含数字、字母、下划线、横杠",speczh:"只能包含数字、字母、下划线、汉",string:"非法字符串",time:"不符合规则的时间格式",url:"非法 URL 地址",version:"非法版本格式"},whitespace:"不能为空"}},Lm={enUS:"English",zhCN:"Chinese","zh-TW":"China Taiwan",hello:"Hello {name}",code:"en-US",yes:"Yes",no:"No",ui:{input:{close:"Close",more:"More",detail:"Detailed Info"},numeric:{equalTo:"Equal to",notEqualTo:"Not equal to",moreThan:"Greater than",moreThanOrEqualTo:"Greater than or equal to",lessThan:"Less than",lessThanOrEqualTo:"Less than or equal to",empty:"Null",nonEmpty:"Not null"},queryBuilder:{addItem:"Add Rule",addGroup:"Add Rule Group",removeGroup:"Del Rule Group"},wizard:{previousStep:"Previous",nextStep:"Next",save:"Save",submit:"Submit"},linkMenu:{title:"Messages",placeholder:"Enter a keyword.",sure:"OK",cancel:"Cancel"},todoList:{add:"Add",placeholder:"Please enter content..."},alert:{error:"Error",info:"Information",success:"Success",title:"Information",warning:"Warning"},amount:{currency:"Currency",amount:"Amount",date:"Date",equalTo:"Equal to",notEqualTo:"Not equal to",moreThan:"Greater than",moreThanOrEqualTo:"Greater than or equal to",lessThan:"Less than",lessThanOrEqualTo:"Less than or equal to",empty:"Null",nonEmpty:"Not null"},actionMenu:{moreText:"More"},base:{all:"All",cancel:"Cancel",confirm:"OK",delete:"Delete",edit:"Edit",more:"More",reset:"Reset",clear:"Clear",comma:","},button:{cancel:"Cancel",confirm:"Confirm"},buttonGroup:{noData:"No data"},buttonMessage:{cancel:"Cancel",confirm:"Confirm"},cell:{placeholder:"--Select--"},cascader:{noMatch:"No matches.",loading:"Loading",placeholder:"--Select--",noData:"No data available."},chart:{auxiliary:"Auxiliary",emptyText:"No Data",kName:"Daily K-line",other:"Other",summation:"Summation",total:"Total",value:"Value"},colorSelectPanel:{confirm:"Select",cancel:"Cancel",predefine:"Default Colors",history:"Recent Colors",empty:"None"},crop:{choose:"Select Picture",zoomOut:"Reduced by 10%",zoomIn:"Zoom in by 10%",rotate_45:"rotate -45°",rotate45:"rotate 45°",closeCropArea:"hide selection",reset:"reset",closeCrop:"Exit cropping",cropImage:"Selecting a Region"},datepicker:{clear:"Clear",cancel:"Cancel",endDate:"End Date",confirm:"OK",month:"Month",endTime:"End Time",month2:"Feb",month1:"Jan",month4:"Apr",month3:"Mar",month6:"Jun",month5:"May",month8:"Aug",month7:"Jul",month10:"Oct",month9:"Sep",month12:"Dec",month11:"Nov",months:{feb:"February",jan:"January",apr:"April",mar:"March",jun:"June",may:"May",aug:"August",jul:"July",oct:"October",sep:"September",dec:"December",nov:"November"},nextYear:"Next year",nextMonth:"Next Month",prevMonth:"Previous Month",now:"Now",selectDate:"Select a date.",prevYear:"Previous year",startDate:"Start Date",selectTime:"Select a time.",today:"Today",currentMonth:"This Month",startTime:"Start Time",week:"Week",weeks:{mon:"Mon",sun:"Sun",wed:"Wed",tue:"Tue",thu:"Thu",sat:"Sat",fri:"Fri"},timezone:"Select a time zone.",year:"",hour:"Hour",minute:"Minute",second:"Second",to:"-",yearMonth:"{month} {year}",yearMonthDay:"{month} {day}, {year}"},richTextEditor:{bold:"bold",italic:"Italic",link:"Link",unlink:"Unlink",highlight:"Highlight",underline:"Underline",strike:"Strikethrough",subscript:"Subscript",superscript:"Superscript",code:"Coding",unorderedlist:"Bullet Lists",orderedlist:"Numbered Lists",taskList:"Multi-level Lists",quote:"Reference",codeBlock:"Code Block",formatClear:"Clear Formatting",nodeDelete:"Delete Node",undo:"Undo",redo:"Redo",left:"Left-Aligned",center:"Centered",right:"Right-Aligned",fontSize:"Font Size",lineHeight:"Line Spacing",hBox:"Headings",img:"Picture",color:"Text Color",table:"Table",backgroundColor:"Background Color",localResources:"Upload Local File",resourceLink:"Past Link"},calendar:{showType:{year:"Year"}},dept:{code:"Code",company:"Company",dept1:"Level-1 Dept.",dept2:"Level-2 Dept.",dept3:"Level-3 Dept.",dept4:"Level-4 Dept.",dept5:"Level-5 Dept.",dept6:"Level-6 Dept.",dept7:"Level-7 Dept.",dept8:"Level-8 Dept.",input:"Enter a department code ID or name.",name:"Name",search:"Auxiliary Search",selected:"Selected"},dialogBox:{confirm:"OK",cancel:"Cancel"},load:{dot:"Loading…"},exception:{build:"The module is under construction.",busy:"The network is busy. Please wait",noperm:"Not find the page",weaknet:"Poor network performance",pcview:"View the file on the PC",nodata:"No data available.",create:"Create",provide:"Provided by the TINY Team DEV",nodatamf:"No data available.",nopermmf:"Insufficient permissions.",weaknetmf:"Network error.",noresult:"No results found.",nonews:"No messages.",pagenoperm:"403 Forbidden",pageweaknet:"Network error.",pagenothing:"404 Not Found",pageservererror:"500 Internal Server Error"},fileUpload:{largefile:"The file is too large and will be uploaded in segments. Please wait.",folder:"The file cannot be uploaded because it is more than five-folder levels deep.",init:"Service error. Please try again.",token:"Before starting, perform EDM authentication and obtain the token.",exceed:"{fileName} The file size exceeds the upper limit ({maxSize}).",largeFile:"The file exceeds 2 GB.",fileSize:"{fileName} The file is less than the minimum size ({minSize} {sizeUnit}).",deleteTip:"Press the Delete key.",downloadFile:"Download",previewFile:"Preview",updateFile:"Update",reUploadFile:"Upload Again",cancelFile:"Cancel Upload",deleteFile:"Delete",empty:"The file is empty.",kiaScanTip:"KIA needs to verify the download of documents from the public network. The current document is being checked by KIA. Try again later.",fileNameExceeds:"The file name contains more than 255 characters. Shorten the file name.",fileName:"This file name",calcHash:"The document is being analyzed and encrypted.",uploadFile:"Upload",downloadAll:"Download All",onlySupport:"Only {type} files are supported.",fileNotLessThan:"A single file cannot be less than ",fileNotMoreThan:"A single file cannot exceed ",fileSizeRange:"The size of a single file must range from {moreThan} to {lessThan}.",notSupport:"The format (.{format}) is not supported.",notSupportNoSuffix:"Files without file name extensions are not supported.",notSupportSpecialCharacters:"Special characters not allowed. Rename the file and upload it again.",attachment:"Attachments",uploadList:"File List",numberExceed:"Too many files in this batch. Max. supported: {number}",numberLimit:"Maximum files per batch: {number}",encryptDialogTitle:"Watermark and Encryption",addWatermark:"Add Watermark",encrypted:"Encryption",docPreview:"Preview",networkError:"Network error.",pictureNetworkError:"Network error. File upload failed.",reUploadTip:"{number} files failed to be uploaded."},uploadList:{pictureUploading:"Uploading",uploadFailed:"Upload failed",uploading:"Uploading",download:"Download",reUpload:"Upload Again",delete:"Delete",noAttachments:"No attachments available.",cancel:"Cancel",preview:"Preview",releaseAndUpload:"Release mouse capture to upload the file.",dragOrClickImport:"Drag a file here or click to import.",shoot:"Take Photo or Video",selectFromAlbum:"Select from Album",uploadFailedAndReupload:"Upload failed. Please try again."},upload:{addPicture:"Add Picture",addAudio:"Add Audio",addVideo:"Add Video"},grid:{dataUnchanged:"Data remains unchanged.",deleteSelectRecord:"Delete the selected records?",emptyText:"No data available.",error:{delRevert:"The <strong>revert</strong> method has been deprecated. Use <strong>revertData</strong> instead.",groupFixed:"If you want to use grouping headers, place the fixed columns on the left and right sides.",notDelete:"The <strong>delete</strong> method does not exist.",notQuery:"The <strong>query</strong> method does not exist.",notResizable:"Horizontal virtual scrolling cannot be resized.",notSave:"The <strong>save</strong> method does not exist.",reqModule:"The module {{name}} is missing.",rowIdEmpty:"The <strong>row-id</strong> parameter is required.",scrollYHeight:"The height or max-height must be specified before enabling virtual scrolling.",toolbarId:"A unique ID is required for the toolbar.",treeFixedExpand:"The fixed column conflicts with row expansion in the tree structure.",treeInsert:"The tree structure does not support the <strong>insert</strong> operation.",treeRemove:"The tree structure does not support the <strong>remove</strong> operation.",unableInsert:"Unable to insert data to the specified location.",notAllowDragSelf:"Self dragging is not allowed.",notAllowDragFixed:"Fixed columns cannot be dragged.",remoteMethod:"The <strong>multipleHistory.remoteSelectedMethod</strong> must be set for the remote storage of personalized template management.",remoteSelectedMethod:'"remoteSelectedMethod" needs to be set for remote storage for personalized template management.',chainCallError:"There are syntax errors in the default slot.",renderParamError:"A rendering method is required for generating VNode.",classComponentError:"There was an error in the class component rendering.",groupColumnFixedError:"Each group must have the same type.",missingValueFormat:"The renderer cannot format the date character string. The valueFormat source date format is required.",clipboardWriteError:"Clipboard write error."},filter:{allSelect:"All",endDate:"End Date",startDate:"Start Date",dateTips:"Select at least one date.",clear:"Clear Filter Criteria from Current Column",clearAll:"Clear Filter Criteria from All Columns",confirmFilter:"Filter",empty:"Empty",emptyText:"No data available.",equal:"Equal to",include:"Contains",prefix:"Starts with",resetFilter:"Reset",unempty:"Not empty"},individuation:{cancelBtn:"Cancel",colConfigs:{asc:"Ascending",desc:"Descending",frozenLeft:"Freeze left",frozenRight:"Freeze right",invisible:"Hide",unsorted:"Unsorted",unfrozen:"Unfrozen",visible:"Show",unfreeze:"Unfreeze",unsort:"Unsort"},toolbar:{set:"Operation",selected:"Selected",freeze:"Frozen",sort:"Sorting",clear:"Clear",search:"Search",all:"All"},columnSet:"Set Columns",overwriteSave:"Overwrite and Save",saveAs:"Save As",saveTemplate:"Save",selectTemplate:"Select",hideMsg:"There must be at least one column.",maxFreezeNumMsg:"A maximum of 6 columns can be frozen.",defaultTemplateName:"Enter a name. If no name is specified, a name will be automatically generated based on the time.",reserveTemplateName:"If no new name is specified, the original name will be kept.",resetBtn:"Reset",saveBtn:"OK",hideAll:"Hide All",showAll:"Show All",tabs:{base:{title:"Basic Settings",tips:"Click the icons to customize the display style."},other:{allDataSort:"All data",currPageSort:"Current page",pageSize:"Records per Page",title:"Other Settings",tips:"Set sorting for servers or clients and the number of records on each page.",sortType:"Sorting Data"}},title:"Custom Settings",switchtitle:"Manage",switchsave:"Save",switchlabel:"Configuration List:",switchapply:"Use",switchedit:"Edit",switchdel:"Delete",switchdelconfirm:"Deletion Confirmation",switchconfirm:"Confirm",switchonlytemp:"Save",switchtempapply:"Save and Use",switchtempoverwrite:"Overwrite and Use",switchdelcon:"Delete this template?",switchdelyes:"Confirm",switchdelno:"Cancel",switchapplycon:"Use this template??"},removeSelectRecord:"Remove the selected records?",saveSuccess:"Saved successfully.",selectOneRecord:"Select at least one record.",isSaveMsg:"Some data has been modified. Save the changes?"},hrapprover:{approver:"Authorized Approver",noapprover:"No authorized approver.",noselected:"No authorized approver selected.",remark:"Remarks"},imageViewer:{loadErrorAlt:"Loading failed.",save:"Save",del:"Delete",thumbnail:"Thumbnail",menu:"Directory",hide:"Hide Sidebar",show:"Show Sidebar"},navMenu:{moreText:"More"},logout:{in:"Login",out:"Logout"},page:{goto:"Go to",item:"items",next:"Next",page:"Records/Page",pageClassifier:"page",pagesize:"Records/Page",prev:"Previous",total:"Total:",totals:"Total:",jump:"Go to",hundredThousand:"100,000+",million:"1 million+",tenMillion:"10 million+",loadingTotals:"Loading the total number of items..."},popeditor:{cancel:"Cancel",confirm:"OK",historyLists:"History",reset:"Reset",search:"Query",selectionLists:"Selected",sourceLists:"All",title:"Select",filterNode:"Enter a keyword."},popupload:{fileName:"Name",fileSize:"Size",fileStatus:"Status",dialogTitle:"Upload Files",cancelButtonText:"Cancel",tipsFileText:"Info",uploadError:"Upload failed.",uploadButtonText:"Upload",uploadSuccess:"Upload completed.",saveButtonText:"Select File",uploadsButtonText:"Select Files",errorTypeTips:"Invalid file format.",errorSizeTips:"File too large.",confirmDeleteTips:"Delete This File?",delete:"Delete",waitUpload:"Waiting for upload",operation:"Operation",success:"Upload successful",listTip:"There are a total of {0} pieces of data: ",errorListTip:"There are {0} errors in them. Please modify them and try again",limitUploadFileType:"Supported file formats",limitUploadFileNumber:"Maximum files allowed",limitUploadFileSize:"Maximum file size",errorNumTips:"The number of uploaded files exceeds the limit. The operation has been cancelled"},rate:{level:{average:"Acceptable",excellent:"Very Good",fair:"Poor",good:"Good",poor:"Very Poor"}},select:{loading:"Loading...",noData:"No data available.",noMatch:"No matches.",placeholder:"--Select--",pleaseSearch:"Enter a keyword.",search:"Search",selected:"Selected",selectedNum:"{num} selected",noSearchData:"No matches. Enter another keyword.",add:"Add",collapse:"Collapse"},search:{placeholder:"Search"},signature:{confirm:"Done",rewrite:"Re-sign",cancel:"Cancel",tips:"Handwritten signature required.",resign:"Re-sign",placeholder:"Please sign here (mandatory)."},tabs:{moreItem:"More"},tag:{add:"Add"},toggleMenu:{placeholder:"Enter a keyword."},treeMenu:{placeholder:"Enter a keyword."},transfer:{filterPlaceholder:"Enter a keyword.",hasCheckedFormat:"{checked}/{total} checked",noData:"No data available.",noMatch:"No matches.",noCheckedFormat:"{total} items",titles:["List 1","List 2"]},tree:{loading:"Loading...",emptyText:"No data available.",switchText:"Select child nodes",edit:"Edit",delete:"Delete",addChild:"Add Child",newNodeTitle:"Add Child Node",deleteTip1:"Deleted data cannot be restored. Continue?",deleteTip2:"This node has child nodes. Retain them?",deleteTip3:"Retain child nodes"},usercard:{address:"Address",collapse:"Show less",email:"Email",empno:"Employee ID",expand:"Show more",fax:"Fax",internal:"Extension",manager:"Supervisor",mobile:"Mobile",other:"Additional Info",phone:"Landline",timezone:"Time Zone",travelcode:"Out-of-Office Message for a Business Trip",viop:"VIOP"},richText:{bold:"Bold",italic:"Tilt",underline:"Underline",header:"Paragraph Format",strike:"Delete Line",blockquote:"Block Reference",codeBlock:"Insert Code Segment",size:"Font Size",listOrdered:"No. List",listBullet:"Project List",header1:"H1",header2:"H2",align:"Alignment Mode",color:"Font Color",background:"Background Color",image:"Image",video:"Video",link:"Add Link",formula:"Insert Function",clean:"Clear Format",indent1:"Indent To The Left",indent2:"Indent To The Right",pickerLabel:"Title Size",headerPicker1:"Title 1",headerPicker2:"Title 2",headerPicker3:"Title 3",headerPicker4:"Title 4",headerPicker5:"Title 5",headerPicker6:"Title 6",normal:"Normal",sizeSmall:"Small",sizeLarge:"Large",sizeHuge:"Super Large Size",alignPicker1:"Align To The Left",alignPicker2:"Align In The Center",alignPicker3:"Align To The Right",alignPicker4:"Align The Two Ends",subScript:"Subscript",superScript:"Superscript",directionRTL:"Right To Left",font:"Font",file:"File",betterTable:"Table",fullscreen:"Fullscreen",insertColumnRight:"Insert Column Right",insertColumnLeft:"Insert Column Left",insertRowUp:"Insert Row Up",insertRowDown:"Insert Row Down",mergeCells:"Merge Cells",unmergeCells:"Split Cells",deleteColumn:"Delete Current Column",deleteRow:"Delete Current Row",deleteTable:"Delete Table",colorPicker:"Background Color",placeholder:"Insert text here...",maxLength:"Text Length exceeds the Limit, max Length config is "},fluentEditor:{undo:"Undo",redo:"Redo",lineheight:"Line Height"},steps:{done:"Completed",doing:"In Progress",wait:"Pending"},actionSheet:{cancel:"Cancel"},image:{loadFail:"Loading failed."},miniPicker:{cancel:"Cancel",confirm:"OK"},pullRefresh:{pullingDown:"Pull down to refresh.",pullingUp:"Pull up to refresh.",pulling:"Pull down to refresh.",loosing:"Release to refresh.",success:"Refreshed.",failed:"Refresh failed.",noMore:"No more data."},currency:{defaultCurrency:"Default",setDefault:"Set as default",chooseCurrency:"Select Currency"},calendarBar:{week:{0:"Sun",1:"Mon",2:"Tue",3:"Wed",4:"Thu",5:"Fri",6:"Sat"},year:"%s",yearMonth:"%m %y",month:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},monthAbbr:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sept",10:"Oct",11:"Nov",12:"Dec"}},calendarView:{week:{0:"Sun",1:"Mon",2:"Tue",3:"Wed",4:"Thu",5:"Fri",6:"Sat"},weekDays:{0:"SUN",1:"MON",2:"TUE",3:"WED",4:"THU",5:"FRI",6:"SAT"},backToday:"Today",new:"Add",noSchedule:"No Schedule",year:"",month:"",dateFormat:"yyyy-MM-dd",monthFormat:"yyyy-MM"},selectedBox:{select:"Selected (%s)",allSelect:"All Selected (%s)",clear:"Clear",noData:"No data"},record:{record:"Recording",cancel:"Cancel",confirm:"OK",clickToStartRecording:"Click to record.",clickToResumeRecording:"Click to continue recording."},dialogSelect:{treeSearch:"Enter a keyword and press Enter."},loadList:{errorText:"Something went wrong.",loadingText:"Loading...",finishedText:"There's no more."}},validation:{array:{len:"This field must contain %s characters.",min:"This field must contain %s characters or more.",max:"This field must contain %s characters or less.",range:"This field must have %s to %s characters."},date:{format:"The date %s does not match the %s format.",invalid:"%s field verification error.",parse:"Unable to parse %s, %s is invalid"},default:"%s field verification error.",enum:"Must be one of %s",number:{len:"The value must be %s.",min:"The value must be %s or larger.",max:"The value must be %s or less.",range:"The value must be between %s and %s."},pattern:{mismatch:"The value %s does not match %s."},required:"Required field",string:{len:"This field must contain %s characters.",min:"This field must contain at least %s characters.",max:"This field can contain a maximum of %s characters.",range:"This field must contain %s to %s characters."},types:{acceptFile:"Only files are supported.",acceptImg:"Only images are supported.",array:"Invalid array.",boolean:"Invalid boolean value.",date:"Invalid date format.",dateTime:"Invalid date and time format.",dateYM:"The date format (yyyy-mm) does not comply with the rule.",dateYMD:"The date format (y-MM-dd) does not comply with the rule.",digits:"Invalid number only.",email:"Invalid email address.",fileSize:"The file size is not in the correct format, such as 3kb.",float:"Invalid floating point number.",hex:"Invalid hexadecimal number.",integer:"Invalid integer.",longDateTime:"Invalid long date format.",method:"Must be a function.",number:"Invalid number.",object:"Invalid object.",regexp:"Invalid regular expression.",specialch:"Only digits, letters, underscores (_), hyphens (-), and dots (.) are allowed.",specialch2:"Only digits, letters, underscores (_), and hyphens (-) are allowed.",speczh:"Only digits, letters, and underscores (_) are allowed.",string:"Invalid string.",time:"Invalid time format.",url:"Invalid URL.",version:"Invalid version format."},whitespace:"This field cannot be left blank."}},Im={"en-US":"Español","zh-CN":"Chino","zh-TW":"Taiwan, China",hello:"Hola {name}",code:"zh-CN",yes:"Sí",no:"No",ui:{input:{close:"Cerrar",more:"Más",detail:"Información detallada"},numeric:{equalTo:"Igual a",notEqualTo:"Diferente de",moreThan:"Mayor que",moreThanOrEqualTo:"Mayor o igual que",lessThan:"Menor que",lessThanOrEqualTo:"Menor o igual que",empty:"Nulo",nonEmpty:"No nulo"},queryBuilder:{addItem:"Agregar regla",addGroup:"Agregar grupo de reglas",removeGroup:"Eliminar grupo de reglas"},wizard:{previousStep:"Anterior",nextStep:"Siguiente",save:"Guardar",submit:"Enviar"},linkMenu:{title:"Mensajes",placeholder:"Ingrese una palabra clave.",sure:"Aceptar",cancel:"Cancelar"},todoList:{add:"Añadir",placeholder:"Ingrese el contenido..."},alert:{error:"Error",info:"Información",success:"Operación exitosa",title:"Información",warning:"Advertencia"},amount:{currency:"Moneda",amount:"Monto",date:"Fecha",equalTo:"Igual a",notEqualTo:"Diferente de",moreThan:"Mayor que",moreThanOrEqualTo:"Mayor o igual que",lessThan:"Menor que",lessThanOrEqualTo:"Menor o igual que",empty:"Nulo",nonEmpty:"No nulo"},actionMenu:{moreText:"Más"},base:{all:"Todos",cancel:"Cancelar",confirm:"Aceptar",delete:"Eliminar",edit:"Editar",more:"Más",reset:"Restablecer",clear:"Borrar",comma:","},button:{cancel:"Cancelar",confirm:"Confirmar"},buttonGroup:{noData:"Sin datos"},buttonMessage:{cancel:"Cancelar",confirm:"Confirmar"},cell:{placeholder:"--Seleccionar--"},cascader:{noMatch:"No hay coincidencias",loading:"Cargando",placeholder:"--Seleccionar--",noData:"No hay datos disponibles."},chart:{auxiliary:"Auxiliares",emptyText:"Sin datos",kName:"Línea k diaria",other:"Otros",summation:"Sumatoria",total:"Total",value:"Valor"},colorSelectPanel:{confirm:"Seleccionar",cancel:"Cancelar",predefine:"Colores predeterminados",history:"Colores recientes",empty:"Ninguno"},crop:{choose:"Seleccionar imagen",zoomOut:"Reducida en un 10 %",zoomIn:"Acercar un 10 %",rotate_45:"Rotación -45°",rotate45:"girar 45°",closeCropArea:"ocultar selección",reset:"reinicio",closeCrop:"Salir del recorte",cropImage:"Selección de una región"},datepicker:{clear:"Borrar",cancel:"Cancelar",endDate:"Fecha final",confirm:"Aceptar",month:"Mes",endTime:"Hora final",month2:"Feb",month1:"Ene",month4:"Abr",month3:"Mar",month6:"Jun",month5:"May",month8:"Ago",month7:"Jul",month10:"Oct",month9:"Sep",month12:"Dic",month11:"Nov",months:{feb:"Febrero",jan:"Enero",apr:"Abril",mar:"Marzo",jun:"Junio",may:"Mayo",aug:"Agosto",jul:"Julio",oct:"Octubre",sep:"Septiembre",dec:"Diciembre",nov:"Noviembre"},nextYear:"Próximo año",nextMonth:"Próximo mes",prevMonth:"Mes anterior",now:"Ahora",selectDate:"Seleccione una fecha.",prevYear:"Año anterior",startDate:"Fecha inicial",selectTime:"Seleccione una hora.",today:"Hoy",currentMonth:"Este mes",startTime:"Hora inicial",week:"Semana",weeks:{mon:"Lun",sun:"Dom",wed:"Mié",tue:"Mar",fri:"Vie",thu:"Jue",sat:"Sáb"},timezone:"Seleccione un huso horario.",year:"",hour:"Hora",minute:"Minuto",second:"Segundo",to:"-",yearMonth:"{month} {year}",yearMonthDay:"{month} {day}, {year}"},richTextEditor:{bold:"Negrita",italic:"Cursiva",link:"Hipervínculo",unlink:"Quitar hipervínculo",highlight:"Desvincular",underline:"Subrayar",strike:"Tachado",subscript:"Subíndice",superscript:"Superíndice",code:"Programar",unorderedlist:"Listas con viñetas",orderedlist:"Listas numeradas",taskList:"Listas multinivel",quote:"Referencia",codeBlock:"Bloque de código",formatClear:"Borrar formato",nodeDelete:"Eliminar nodo",undo:"Deshacer",redo:"Rehacer",left:"Alineación izquierda",center:"Alineación centrada",right:"Alineación derecha",fontSize:"Tamaño de fuente",lineHeight:"Espaciado entre líneas",hBox:"Encabezados",img:"Imagen",color:"Color del texto",table:"Tabla",backgroundColor:"Color de fondo",localResources:"Cargar archivo local",resourceLink:"Enlace anterior"},calendar:{showType:{year:"Año"}},dept:{code:"Código",company:"Código",dept1:"Departamento de nivel 1",dept2:"Departamento de nivel 2",dept3:"Departamento de nivel 3",dept4:"Departamento de nivel 4",dept5:"Departamento de nivel 5",dept6:"Departamento de nivel 6",dept7:"Departamento de nivel 7",dept8:"Departamento de nivel 8",input:"Ingrese un código de departamento o nombre.",name:"Nombre",search:"Búsqueda auxiliar",selected:"Seleccionados"},dialogBox:{confirm:"Aceptar",cancel:"Cancelar"},load:{dot:"Cargando..."},exception:{build:"El módulo está en construcción.",busy:"La red está ocupada. Espere",noperm:"No encontrar la página",weaknet:"Bajo rendimiento de la red",pcview:"Ver el archivo en la PC",nodata:"No hay datos disponibles.",create:"Crear",provide:"Proporcionado por el equipo TINY DEV",nodatamf:"No hay datos disponibles.",nopermmf:"Permisos insuficientes.",weaknetmf:"Error de red.",noresult:"No se encontraron resultados.",nonews:"No hay mensajes.",pagenoperm:"403 prohibido.",pageweaknet:"Error de red.",pagenothing:"404 no encontrado.",pageservererror:"500 error interno del servidor."},fileUpload:{largefile:"El archivo es demasiado grande y se cargará en segmentos. Espere.",folder:"No se puede cargar el archivo porque tiene más de cinco niveles de profundidad.",init:"Error de servicio. Vuelva a intentarlo.",token:"Antes de comenzar, realice la autenticación de EDM y obtenga el token.",exceed:"{fileName} El tamaño del archivo supera el límite superior ({maxSize}).",largeFile:"El archivo supera los 2 GB.",fileSize:"{fileName} El tamaño del archivo es inferior al mínimo ({minSize} {sizeUnit}).",deleteTip:"Presione la tecla Suprimir.",downloadFile:"Descargar",previewFile:"Vista previa",updateFile:"Actualizar",reUploadFile:"Volver a cargar",cancelFile:"Cancelar carga",deleteFile:"Eliminar",empty:"El archivo está vacío.",kiaScanTip:"KIA necesita verificar la descarga de documentos desde la red pública. El documento actual está siendo revisado por KIA. Vuelva a intentarlo más tarde.",fileNameExceeds:"El nombre del archivo contiene más de 255 caracteres. Reduzca la longitud del nombre del archivo.",fileName:"Este nombre de archivo",calcHash:"El documento está siendo analizado y encriptado.",uploadFile:"Cargar",downloadAll:"Carregar",onlySupport:"Solo se admiten archivos {type}.",fileNotLessThan:"Un solo archivo no puede ser inferior a ",fileNotMoreThan:"Un solo archivo no puede exceder",fileSizeRange:"El tamaño de un solo archivo debe oscilar entre {moreThan} y {lessThan}.",notSupport:"El formato (.{format}) no es admitido.",notSupportNoSuffix:"No se admiten archivos sin extensiones de nombre de archivo.",notSupportSpecialCharacters:"No se permiten caracteres especiales. Renombre el archivo y cárguelo nuevamente.",attachment:"Adjuntos",uploadList:"Lista de archivos",numberExceed:"Demasiados archivos en este lote. Cantidad máxima permitida: {number}",numberLimit:"Cantidad máxima de archivos por lote: {number}",encryptDialogTitle:"Marca de agua y encriptado",addWatermark:"Agregar marca de agua",encrypted:"Encriptación",docPreview:"Vista previa",networkError:"Error de red.",pictureNetworkError:"Error de red. No se pudo cargar el archivo.",reUploadTip:"Error al cargar los archivos (total: {number})."},uploadList:{pictureUploading:"Cargando",uploadFailed:"Error al cargar",uploading:"Cargando",download:"Descargar",reUpload:"Volver a cargar",delete:"Eliminar",noAttachments:"No hay adjuntos disponibles.",cancel:"Cancelar",preview:"Vista previa",releaseAndUpload:"Libere el botón del ratón para subir el archivo.",dragOrClickImport:"Arrastre un archivo aquí o haga clic para importarlo.",shoot:"Tomar fotos o videos",selectFromAlbum:"Seleccionar del álbum",uploadFailedAndReupload:"Selecionar do álbum"},upload:{addPicture:"Agregar imagen",addAudio:"Agregar audio",addVideo:"Agregar video"},grid:{dataUnchanged:"Los datos permanecen sin cambios.",deleteSelectRecord:"¿Desea eliminar los registros seleccionados?",emptyText:"No hay datos disponibles.",error:{delRevert:'El método <b class="+ topic/ph hi-d/b " id="b11906194215133">revert</b> ha sido descontinuado. Utilice <b class="+ topic/ph hi-d/b " id="b89841652151316">revertData</b> en su lugar.',groupFixed:"Si desea utilizar encabezados agrupados, coloque las columnas fijas a los lados izquierdo y derecho.",notDelete:'El método <b class="+ topic/ph hi-d/b " id="b14530124121413">delete</b> no existe.',notQuery:'El método <b class="+ topic/ph hi-d/b " id="b062516599243">query</b> no existe.',notResizable:"El desplazamiento virtual horizontal no se puede redimensionar.",notSave:'El método <b class="+ topic/ph hi-d/b " id="b1354611422513">save</b> no existe.',reqModule:"El módulo {{name}} no está disponible.",rowIdEmpty:'El parámetro <b class="+ topic/ph hi-d/b " id="b1957753614167">row-id</b> es obligatorio.',scrollYHeight:"height o max-height deben especificarse antes de habilitar el desplazamiento virtual.",toolbarId:"Se requiere un ID único para la barra de herramientas.",treeFixedExpand:"La columna fija está en conflicto con la expansión de filas en la topología en árbol.",treeInsert:"La columna fija está en conflicto con la expansión de filas en la topología en árbol.",treeRemove:'La topología en árbol no admite la operación <b class="+ topic/ph hi-d/b " id="b108642112155">remove</b>.',unableInsert:"No se puede insertar datos en la ubicación especificada.",notAllowDragSelf:"No se permite autoarrastrar.",notAllowDragFixed:"Las columnas fijas no se pueden arrastrar.",remoteMethod:'El valor <b class="+ topic/ph hi-d/b " id="b16681131111612">multipleHistory.remoteMethod</b> debe configurarse para el almacenamiento remoto de la gestión de plantillas personalizadas.',remoteSelectedMethod:'El valor <b class="+ topic/ph hi-d/b " id="b1581542321716">multipleHistory.remoteSelectedMethod</b> debe configurarse para el almacenamiento remoto de la gestión de plantillas personalizadas.',chainCallError:"Hay errores de sintaxis en la ranura predeterminada.",renderParamError:"Se requiere un método de renderizado para generar VNode.",classComponentError:"Hubo un error en el renderizado del componente de clase.",groupColumnFixedError:"Cada grupo debe tener el mismo tipo.",missingValueFormat:"El renderizador no puede formatear la cadena de caracteres de fecha. Se requiere el formato de fecha de origen para valueFormat.",clipboardWriteError:"Error al escribir en el portapapeles."},filter:{allSelect:"Todos",endDate:"Fecha final",startDate:"Fecha inicial",dateTips:"Seleccionar al menos una fecha.",clear:"Deseleccionar los criterios de filtrado de la columna actual",clearAll:"Deseleccionar los criterios de filtrado de todas las columnas",confirmFilter:"Filtrar",empty:"Vacío",emptyText:"No hay datos disponibles.",equal:"Igual a",include:"Contiene",prefix:"Comienza con",resetFilter:"Restablecer",unempty:"No vacío"},individuation:{cancelBtn:"Cancelar",colConfigs:{visible:"Mostrar",invisible:"Ocultar",asc:"Ascendente",desc:"Descendente",unsorted:"Sin ordenar",frozenLeft:"Inmovilizar a la izquierda",frozenRight:"Inmovilizar a la derecha",unfrozen:"Desinmovilizada",unfreeze:"Movilizar",unsort:"Desordenar"},toolbar:{set:"Operación",selected:"Seleccionados",freeze:"Inmovilizada",sort:"Clasificación",clear:"Borrar",search:"Buscar",all:"Todas"},columnSet:"Configurar columnas",overwriteSave:"Sobrescribir y guardar",saveAs:"Guardar como",saveTemplate:"Guardar",selectTemplate:"Seleccionar",hideMsg:"Debe especificarse al menos una columna.",maxFreezeNumMsg:"Se pueden inmovilizar como máximo 6 columnas.",defaultTemplateName:"Ingrese un nombre. Si no se especifica ningún nombre, se generará automáticamente un nombre en función de la fecha y hora.",reserveTemplateName:"Si no se especifica ningún nombre nuevo, se conservará el nombre original.",resetBtn:"Restablecer",saveBtn:"Aceptar",hideAll:"Ocultar todo",showAll:"Mostrar todo",tabs:{base:{title:"Ajustes básicos",tips:"Haga clic en los íconos para personalizar el estilo de visualización."},other:{title:"Otros ajustes",tips:"Configure el orden para servidores o clientes y la cantidad de registros por página.",sortType:"Ordenando datos",currPageSort:"Página actual",allDataSort:"Todos los datos",pageSize:"Registros por página"}},title:"Ajustes personalizados",switchtitle:"Gestionar",switchsave:"Guardar",switchlabel:"Lista de configuraciones",switchapply:"Aplicar",switchedit:"Editar",switchdel:"Eliminar",switchconfirm:"Confirmar",switchdelconfirm:"Confirmación de eliminación",switchonlytemp:"Guardar",switchtempapply:"Guardar y aplicar",switchtempoverwrite:"Sobrescribir y aplicar",switchdelcon:"¿Desea eliminar esta plantilla?",switchdelyes:"Confirmar",switchdelno:"Cancelar",switchapplycon:"¿Utilizar esta plantilla?"},removeSelectRecord:"¿Desea remover los registros seleccionados?",saveSuccess:"Se guardó correctamente.",selectOneRecord:"Seleccione al menos un registro.",isSaveMsg:"Se han modificado algunos datos. ¿Desea guardar los cambios?"},hrapprover:{approver:"Aprobador autorizado",noselected:"No se ha seleccionado ningún aprobador autorizado.",noapprover:"Sin aprobador autorizado.",remark:"Comentarios"},imageViewer:{loadErrorAlt:"Error al cargar.",save:"Guardar",del:"Eliminar",thumbnail:"Miniatura",menu:"Directorio",hide:"Ocultar barra lateral",show:"Mostrar barra lateral"},navMenu:{moreText:"Más"},logout:{in:"Sesión iniciada",out:"Sesión cerrada"},page:{goto:"Ir a",item:"elementos",next:"Siguiente",page:"Records/Page",pageClassifier:"pagina",pagesize:"Records/Page",prev:"Anterior",total:"Total:",totals:"Total:",jump:"Ir a",hundredThousand:"más de 100,000",million:"más de 1 millón",tenMillion:"más de 10 millones",loadingTotals:"Cargando la cantidad total de elementos..."},popeditor:{cancel:"Cancelar",confirm:"Aceptar",historyLists:"Historial",reset:"Histórico",search:"Consultar",selectionLists:"Seleccionados",sourceLists:"Todas",title:"Seleccionar ",filterNode:"Ingrese una palabra clave."},popupload:{fileName:"Nombre",fileSize:"Tamaño",fileStatus:"Estado",uploadError:"Error al cargar.",dialogTitle:"Cargar archivos",cancelButtonText:"Cancelar",tipsFileText:"Información",saveButtonText:"Cargar",uploadSuccess:"Carga completa.",uploadButtonText:"Seleccionar archivo",uploadsButtonText:"Selecionar arquivo",errorTypeTips:"Formato de archivo no válido.",errorNumTips:"Carga cancelada. Demasiados archivos.",errorSizeTips:"Archivo demasiado grande.",confirmDeleteTips:"¿Confirma que desea eliminar este archivo?",delete:"Eliminar",waitUpload:"Esperando carga",operation:"Operación",success:"Carga exitosa",listTip:"Hay un total de {0} datos:",errorListTip:"Hay {0} errores en ellos. Modifíquelos y vuelva a intentarlo",limitUploadFileNumber:"Cantidad máxima de archivos permitida",limitUploadFileType:"Formatos de archivo admitidos",limitUploadFileSize:"Tamaño máximo del archivo"},rate:{level:{average:"Aceptable",excellent:"Muy bueno",fair:"Malo",good:"Bueno",poor:"Muy malo"}},select:{loading:"Cargando...",noMatch:"No hay coincidencias.",noData:"No hay datos disponibles.",placeholder:"--Seleccionar--",pleaseSearch:"Ingrese una palabra clave.",search:"Buscar",selected:"Seleccionados",selectedNum:"Elementos seleccionados: {num}",noSearchData:"No hay coincidencias. Ingrese otra palabra clave.",add:"Agregar",collapse:"Contraer"},search:{placeholder:"Buscar"},signature:{confirm:"Listo",rewrite:"Volver a firmar",cancel:"Cancelar",tips:"Se requiere firma manuscrita.",resign:"Volver a firmar",placeholder:"Firme aquí (obligatorio)."},tabs:{moreItem:"Más"},tag:{add:"Añadir"},toggleMenu:{placeholder:"Ingrese una palabra clave."},treeMenu:{placeholder:"Ingrese una palabra clave."},transfer:{filterPlaceholder:"Ingrese una palabra clave.",hasCheckedFormat:"{checked}/{total} verificado",noCheckedFormat:"{total} elementos",noData:"No hay datos disponibles.",noMatch:"No hay coincidencias.",titles:["Lista 1","Lista 2"]},tree:{loading:"Cargando...",emptyText:"No hay datos disponibles.",switchText:"Seleccione nodos secundarios",edit:"Editar",delete:"Editar",addChild:"Eliminar",newNodeTitle:"Agregar nodo secundario",deleteTip1:"Los datos eliminados no se pueden restaurar. ¿Confirma que desea continuar?",deleteTip2:"Este nodo tiene nodos secundarios. ¿Desea conservar los nodos secundarios?",deleteTip3:"Conservar nodos secundarios"},usercard:{address:"Dirección",collapse:"Mostrar menos",email:"Correo electrónico",empno:"ID de empleado",expand:"Mostrar más",fax:"Fax",internal:"Extensión",manager:"Supervisor",mobile:"Celular",other:"Información adicional",phone:"Teléfono fijo",timezone:"Huso horario",travelcode:"Mensaje de fuera de la oficina por viaje de negocios",viop:"VIOP"},richText:{bold:"Negrita",italic:"Inclinación",underline:"Subrayar",header:"Formato de párrafo",strike:"Eliminar línea",blockquote:"Referencia a bloque",codeBlock:"Insertar segmento de código",size:"Tamaño de fuente",listOrdered:"No. Lista",listBullet:"Lista de proyectos",header1:"H1",header2:"H2",align:"Modo de alineación",color:"Color de fuente",background:"Color de fondo",image:"Imagen",video:"Video",link:"Añadir enlace",formula:"Insertar función",clean:"Borrar formato",indent1:"Sangría a la izquierda",indent2:"Sangría a la derecha",pickerLabel:"Tamaño del título",headerPicker1:"Título 1",headerPicker2:"Título 2",headerPicker3:"Título 3",headerPicker4:"Título 4",headerPicker5:"Título 5",headerPicker6:"Título 6",normal:"Normal",sizeSmall:"Pequeño",sizeLarge:"Grande",sizeHuge:"Tamaño supergrande",alignPicker1:"Alinear a la izquierda",alignPicker2:"Alinear en el centro",alignPicker3:"Alinear a la derecha",alignPicker4:"Alinear los dos extremos",subScript:"Subíndice",superScript:"Superíndice",directionRTL:"De derecha a izquierda",font:"Fuente",file:"Archivo",betterTable:"Tabla",fullscreen:"Pantalla completa",insertColumnRight:"Insertar columna a la derecha",insertColumnLeft:"Insertar columna a la izquierda",insertRowUp:"Insertar fila hacia arriba",insertRowDown:"Insertar fila abajo",mergeCells:"Combinar celdas",unmergeCells:"Dividir celdas",deleteColumn:"Eliminar columna actual",deleteRow:"Eliminar fila actual",deleteTable:"Eliminar tabla",colorPicker:"Color de fondo",placeholder:"Insertar texto aquí...",maxLength:"La longitud del texto supera el límite, la configuración de longitud máxima es "},fluentEditor:{undo:"Deshacer",redo:"Rehacer",lineheight:"Altura de línea"},steps:{done:"Finalizado",doing:"En curso",wait:"Pendiente"},actionSheet:{cancel:"Cancelar"},image:{loadFail:"Error al cargar."},miniPicker:{cancel:"Cancelar",confirm:"Aceptar"},pullRefresh:{pullingDown:"Deslice hacia abajo para actualizar.",pullingUp:"Deslice hacia arriba para actualizar.",pulling:"Deslice hacia abajo para actualizar.",loosing:"Suelte para actualizar.",success:"Actualizado.",failed:"Error al actualizar.",noMore:"Falha na atualização."},currency:{defaultCurrency:"Predeterminada",setDefault:"Configurar como predeterminada",chooseCurrency:"Seleccionar moneda"},calendarBar:{week:{0:"Dom",1:"Lun",2:"Mar",3:"Mié",4:"Jue",5:"Vie",6:"Sáb"},year:"%s",yearMonth:"%m %y",month:{1:"Ene",2:"Feb",3:"Mar",4:"Abr",5:"May",6:"Jun",7:"Jul",8:"Ago",9:"Sep",10:"Oct",11:"Nov",12:"Dic"},monthAbbr:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"}},calendarView:{week:{0:"Sol",1:"Lun",2:"Mar",3:"Miér",4:"Jue",5:"Viernes",6:"Sábado"},weekDays:{0:"Dom",1:"Lun",2:"Mar",3:"Mié",4:"Jue",5:"Vie",6:"Sáb"},backToday:"Hoy",new:"Agregar",noSchedule:"Sin programación",year:"",month:"",dateFormat:"yyyy-MM-dd",monthFormat:"yyyy-MM"},selectedBox:{select:"Seleccionados (%s)",allSelect:"Todos seleccionados (%s)",clear:"Borrar",noData:"Sin datos"},record:{record:"Grabando",cancel:"Cancelar",confirm:"Aceptar",clickToStartRecording:"Haga clic para grabar.",clickToResumeRecording:"Clique para gravar."},dialogSelect:{treeSearch:"Ingrese una palabra clave y presione Intro."},loadList:{errorText:"Algo ha salido mal.",loadingText:"Cargando...",finishedText:"No hay más"}},validation:{array:{len:"Este campo debe contener %s caracteres.",min:"Este campo debe contener %s caracteres o más.",max:"Este campo debe contener %s caracteres o menos.",range:"Este campo debe tener entre %s y %s caracteres."},date:{format:"La fecha %s no coincide con el formato %s.",invalid:"%s no es válido.",parse:"No se puede analizar %s fecha, %s no es válido"},default:"Error de verificación de campo %s.",enum:"Debe ser uno de %s",number:{len:"El valor debe ser %s.",min:"El valor debe ser %s o superior.",max:"El valor debe ser %s o inferior.",range:"El valor debe estar entre %s y %s."},pattern:{mismatch:"El valor %s no coincide con %s."},required:"Este campo es obligatorio",string:{len:"Este campo debe contener %s caracteres.",min:"Este campo debe contener al menos %s caracteres.",max:"Este campo puede contener un máximo de %s caracteres.",range:"Este campo debe contener entre %s y %s caracteres."},types:{acceptFile:"Solo se admiten archivos.",acceptImg:"Solo se admiten imágenes.",array:"Array no válido.",boolean:"Valor booleano no válido.",date:"Formato de fecha no válido.",dateTime:"Formato de fecha y hora no válido.",dateYM:"El formato de fecha (yyyy-mm) no cumple con la regla.",dateYMD:"El formato de fecha (yyyy-MM-dd) no cumple con la regla.",digits:"Solo número no válido.",email:"Dirección de correo electrónico no válida.",fileSize:"El tamaño del archivo no está en el formato correcto, como 3kb.",float:"Número de punto flotante no válido.",hex:"Número hexadecimal no válido.",integer:"Entero no válido.",longDateTime:"Formato de fecha larga no válido.",method:"Debe ser una función.",number:"Número no válido.",object:"Objeto no válido.",regexp:"Expresión regular no válida.",specialch:"Solo se permiten dígitos, letras, guiones bajos (_), guiones medios (-) y puntos (.).",specialch2:" Solo se permiten dígitos, letras, guiones bajos (_) y guiones medios (-).",speczh:"Solo se permiten dígitos, letras y guiones bajos (_).",string:"Cadena de caracteres no válida.",time:"Formato de hora no válido.",url:"URL no válida.",version:"Formato de versión no válido."},whitespace:"Este campo es obligatorio."}},Nm={"en-US":"Inglês","zh-CN":"Chinês","zh-TW":"Taiwan, China",hello:"Olá {name}",code:"zh-CN",yes:"Sim",no:"Não",ui:{input:{close:"Fechar",more:"Mais",detail:"Informações detalhadas"},numeric:{equalTo:"Igual a",notEqualTo:"Diferente de",moreThan:"Maior que",moreThanOrEqualTo:"Maior ou igual a",lessThan:"Menor que",lessThanOrEqualTo:"Menor ou igual a",empty:"Nulo",nonEmpty:"Não é nulo"},queryBuilder:{addItem:"Adicionar regra",addGroup:"Adicionar grupo de regras",removeGroup:"Grupo de regras Del"},wizard:{previousStep:"Anterior",nextStep:"Próximo",save:"Salvar",submit:"Enviar"},linkMenu:{title:"Mensagens",placeholder:"Insira uma palavra-chave.",sure:"OK",cancel:"Cancelar"},todoList:{add:"Adicionar",placeholder:"Digite o conteúdo..."},alert:{error:"Erro",info:"Informações",success:"Concluído",title:"Informações",warning:"Aviso"},amount:{currency:"Moeda",amount:"Valor",date:"Data",equalTo:"Igual a",notEqualTo:"Diferente de",moreThan:"Maior que",moreThanOrEqualTo:"Maior ou igual a",lessThan:"Menor que",lessThanOrEqualTo:"Menor ou igual a",empty:"Nulo",nonEmpty:"Não é nulo"},actionMenu:{moreText:"Mais"},base:{all:"Todos",cancel:"Cancelar",confirm:"OK",delete:"Excluir",edit:"Editar",more:"Mais",reset:"Reiniciar",clear:"Limpar",comma:","},button:{cancel:"Cancelar",confirm:"Confirmar"},buttonGroup:{noData:"Nenhum dado"},buttonMessage:{cancel:"Cancelar",confirm:"Confirmar"},cell:{placeholder:"--Selecionar--"},cascader:{noMatch:"Nenhuma correspondência",loading:"Carregando",placeholder:"--Selecionar--",noData:"Não há dados disponíveis."},chart:{auxiliary:"Auxiliar",emptyText:"Sem dados",kName:"Linha K diária",other:"Outros",summation:"Somatório",total:"Total",value:"Valor"},colorSelectPanel:{confirm:"Selecionar",cancel:"Cancelar",predefine:"Cores padrão",history:"Cores recentes",empty:"Nenhum"},crop:{choose:"Selecionar imagem",zoomOut:"Redução de 10%",zoomIn:"Aumentar o zoom em 10%",rotate_45:"girar -45°",rotate45:"girar 45°",closeCropArea:"ocultar seleção",reset:"redefinir",closeCrop:"Sair do corte",cropImage:"Seleção de uma região"},datepicker:{clear:"Limpar",cancel:"Cancelar",endDate:"Data de término",confirm:"OK",month:"Mês",endTime:"Hora de término",month2:"Fev",month1:"Jan",month4:"Abr",month3:"Mar",month6:"Jun",month5:"Mai",month8:"Ago",month7:"Jul",month10:"Jul",month9:"Set",month12:"Dez",month11:"Nov",months:{feb:"Fevereiro",jan:"Janeiro",apr:"Abril",mar:"Março",jun:"Junho",may:"Maio",aug:"Agosto",jul:"Julho",oct:"Outubro",sep:"Setembro",dec:"Dezembro",nov:"Novembro"},nextYear:"Próximo ano",nextMonth:"Próximo mês",prevMonth:"Mês anterior",now:"Agora",selectDate:"Selecione uma data.",prevYear:"Ano anterior",startDate:"Data de início",selectTime:"Selecione um horário.",today:"Hoje",currentMonth:"Este mes",startTime:"Horário de início",week:"Semana",weeks:{mon:"Seg",sun:"Dom",wed:"Qua",tue:"Ter",fri:"Sex",thu:"Qui ",sat:"Sáb"},timezone:"Selecione um fuso horário.",year:"",hour:"Hora",minute:"Minuto",second:"Segundo",to:"-",yearMonth:"{month} {year}",yearMonthDay:"{day}/{month}/{year}"},richTextEditor:{bold:"Negrito",italic:"Itálico",link:"Vincular",unlink:"Desvincular",highlight:"Destacar",underline:"Sublinhado",strike:"Tachado",subscript:"Subscrito",superscript:"Sobrescrito",code:"Codificação",unorderedlist:"Listas com marcadores",orderedlist:"Listas numeradas",taskList:"Listas de vários níveis",quote:"Referência",codeBlock:"Bloco de código",formatClear:"Limpar formatação",nodeDelete:"Excluir nó",undo:"Desfazer",redo:"Refazer",left:"Alinhado à esquerda",center:"Centralizado",right:"Alinhado à direita",fontSize:"Tamanho da fonte",lineHeight:"Espaçamento entre linhas",hBox:"Cabeçalhos",img:"Imagem",color:"Cor do texto",table:"Tabela",backgroundColor:"Cor de fundo",localResources:"Carregar arquivo local",resourceLink:"Link anterior"},calendar:{showType:{year:"Ano"}},dept:{code:"Código",company:"Empresa",dept1:"Departamento de nível 1",dept2:"Departamento de nivel 2",dept3:"Departamento de nível 3",dept4:"Departamento de nível 4",dept5:"Departamento de nível 5",dept6:"Departamento de nível 6",dept7:"Departamento de nivel 7",dept8:"Departamento de nível 8",input:"Insira um ID ou nome de código de departamento.",name:"Nome",search:"Pesquisa auxiliar",selected:"Selecionado"},dialogBox:{confirm:"OK",cancel:"Cancelar"},load:{dot:"Carregando…"},exception:{build:"O módulo está em construção.",busy:"A rede está ocupada. Aguarde.",noperm:"Não encontrar a página.",weaknet:"Desempenho de rede ruim.",pcview:"Exibir o arquivo no PC.",nodata:"Não há dados disponíveis.",create:"Criar",provide:"Fornecido pela equipe TINY DEV.",nodatamf:"Não há dados disponíveis.",nopermmf:"Permissões insuficientes.",weaknetmf:"Erro de rede.",noresult:"Nenhum resultado encontrado.",nonews:"Nenhuma mensagem.",pagenoperm:"403 proibido.",pageweaknet:"Erro de rede.",pagenothing:"404 não encontrado.",pageservererror:"500 erro interno de servidor."},fileUpload:{largefile:"O arquivo é muito grande e será carregado em segmentos. Aguarde.",folder:"O arquivo não pode ser carregado porque tem mais de cinco níveis de profundidade.",init:"Erro de serviço. Tente novamente mais tarde.",token:"Antes de iniciar, realize a autenticação EDM e obtenha o token.",exceed:"{fileName} O tamanho do arquivo excede o limite máximo ({maxSize}).",largeFile:"O arquivo excede 2 GB.",fileSize:"{fileName} O arquivo é menor que o tamanho mínimo ({minSize} {sizeUnit}).",deleteTip:"Pressione a tecla Delete.",downloadFile:"Baixar",previewFile:"Pré-visualizar",updateFile:"Atualizar",reUploadFile:"Carregar novamente",cancelFile:"Cancelar carregamento",deleteFile:"Excluir",empty:"Arquivo vazio.",kiaScanTip:"A KIA precisa verificar o download de documentos da rede pública. O documento atual está sendo verificado pela KIA. Tente novamente mais tarde.",fileNameExceeds:"O nome do arquivo contém mais de 255 caracteres. Reduza o nome do arquivo.",fileName:"Esse nome de arquivo",calcHash:"O documento está sendo analisado e criptografado.",uploadFile:"Carregar",downloadAll:"Baixar tudo",onlySupport:"Apenas arquivos {type} são permitidos.",fileNotLessThan:"Um único arquivo não pode ter menos de",fileNotMoreThan:"Um único arquivo não pode exceder",fileSizeRange:"O tamanho de um único arquivo deve variar de {moreThan} a {lessThan}.",notSupport:"O formato (.{format}) não é permitido.",notSupportNoSuffix:"Arquivos sem extensões de nome de arquivo não são permitidos.",notSupportSpecialCharacters:"Caracteres especiais não são permitidos. Renomeie o arquivo e carregue-o novamente.",attachment:"Anexos",uploadList:"Lista de arquivos",numberExceed:"Muitos arquivos neste lote. Máximo permitido: {number}",numberLimit:"Máximo de arquivos por lote: {number}",encryptDialogTitle:"Marca d'água e criptografia",addWatermark:"Adicionar marca d'água",encrypted:"Criptografia",docPreview:"Pré-visualizar",networkError:"Erro de rede.",pictureNetworkError:"Erro de rede. Falha no carregamento do arquivo.",reUploadTip:"Falha ao carregar {number} arquivos."},uploadList:{pictureUploading:"Carregando",uploadFailed:"Falha ao carregar",uploading:"Carregando",download:"Baixar",reUpload:"Carregar novamente",delete:"Excluir",noAttachments:"Nenhum anexo disponível.",cancel:"Cancelar",preview:"Pré-visualizar",releaseAndUpload:"Libere a captura do mouse para carregar o arquivo.",dragOrClickImport:"Arraste um arquivo aqui ou clique para importar.",shoot:"Tirar foto ou gravar vídeo",selectFromAlbum:"Selecionar do álbum",uploadFailedAndReupload:"Falha ao carregar. Tente novamente mais tarde."},upload:{addPicture:"Adicionar imagem",addAudio:"Adicionar áudio",addVideo:"Adicionar vídeo"},grid:{dataUnchanged:"Dados permanecem inalterados.",deleteSelectRecord:"Excluir o registro selecionado?",emptyText:"Não há dados disponíveis.",error:{delRevert:'O método <b class="+ topic/ph hi-d/b " id="b11906194215133">revert</b> está obsoleto. Use o <b class="+ topic/ph hi-d/b " id="b89841652151316">revertData</b> em vez disso.',groupFixed:"Error al escribir en el portapapeles.",notDelete:'O método <b class="+ topic/ph hi-d/b " id="b14530124121413">delete</b> não existe.',notQuery:'O método <b class="+ topic/ph hi-d/b " id="b062516599243">query</b> não existe.',notResizable:"A rolagem virtual horizontal não pode ser redimensionada.",notSave:'O método <b class="+ topic/ph hi-d/b " id="b1354611422513">save</b> não existe.',reqModule:"O módulo {{name}} está faltando.",rowIdEmpty:'O parâmetro <b class="+ topic/ph hi-d/b " id="b1957753614167">row-id</b> é obrigatório.',scrollYHeight:"A altura ou altura máxima deve ser especificada antes de habilitar a rolagem virtual.",toolbarId:"Um ID exclusivo é necessário para a barra de ferramentas.",treeFixedExpand:"A coluna fixa entra em conflito com a expansão de linhas na estrutura de árvore.",treeInsert:'A estrutura de árvore não permite a operação <b class="+ topic/ph hi-d/b " id="b10900142581520">insert</b>.',treeRemove:'A estrutura de árvore não permite a operação <b class="+ topic/ph hi-d/b " id="b108642112155">remove</b>.',unableInsert:"Não é possível inserir dados no local especificado.",notAllowDragSelf:"Arrastar automaticamente não é permitido.",notAllowDragFixed:"As colunas fixas não podem ser arrastadas.",remoteMethod:'O <b class="+ topic/ph hi-d/b " id="b16681131111612">multipleHistory.remoteMethod</b> deve ser definido para o armazenamento remoto do gerenciamento de modelos personalizados.',remoteSelectedMethod:'O <b class="+ topic/ph hi-d/b " id="b1581542321716">multipleHistory.remoteSelectedMethod</b> deve ser definido para o armazenamento remoto do gerenciamento de modelos personalizados.',chainCallError:"Há erros de sintaxe no slot padrão.",renderParamError:"Um método de renderização é necessário para gerar VNode.",classComponentError:"Houve um erro na renderização do componente de classe.",groupColumnFixedError:"Cada grupo deve ter o mesmo tipo.",missingValueFormat:"O renderizador não pode formatar a string de data. É necessário o formato da data de origem em valueFormat.",clipboardWriteError:"Erro ao gravar na área de transferência."},filter:{allSelect:"Todos",endDate:"Data de término",startDate:"Data de início",dateTips:"Selecione pelo menos uma data.",clear:"Limpar critérios de filtro da coluna atual",clearAll:"Limpar critérios de filtro de todas as colunas",confirmFilter:"Filtrar",empty:"Vazio",emptyText:"Não há dados disponíveis.",equal:"Igual a",include:"Contém",prefix:"Começa com",resetFilter:"Reiniciar",unempty:"Não vazio"},individuation:{cancelBtn:"Cancelar",colConfigs:{visible:"Mostrar",invisible:"Ocultar",asc:"Crescente",desc:"Decrescente",unsorted:"Não classificado",frozenLeft:"Congelar à esquerda",frozenRight:"Congelar à direita",unfrozen:"Descongelado",unfreeze:"Descongelar",unsort:"Remover ordenação"},toolbar:{set:"Operação",selected:"Selecionado",freeze:"Congelado",sort:"Ordenação",clear:"Borrar",search:"Pesquisar",all:"Todos"},columnSet:"Definir colunas",overwriteSave:"Sobrescrever e salvar",saveAs:"Salvar como",saveTemplate:"Salvar",selectTemplate:"Selecionar",hideMsg:"Deve haver pelo menos uma coluna.",maxFreezeNumMsg:"No máximo 6 colunas podem ser congeladas.",defaultTemplateName:"Insira um nome. Se nenhum nome for especificado, um nome será gerado automaticamente com base na hora.",reserveTemplateName:"Se nenhum novo nome for especificado, o nome original será mantido.",resetBtn:"Reiniciar",saveBtn:"OK",hideAll:"Ocultar tudo",showAll:"Mostrar tudo",tabs:{base:{title:"Configurações básicas",tips:"Clique nos ícones para personalizar o estilo de exibição."},other:{title:"Outras configurações",tips:"Defina a ordenação para servidores ou clientes e o número de registros em cada página.",sortType:"Ordenando dados",currPageSort:"Página atual",allDataSort:"Todos os dados",pageSize:"Registros por página"}},title:"Configurações personalizadas",switchtitle:"Gerenciar",switchsave:"Salvar",switchlabel:"Lista de configuração",switchapply:"Usar",switchedit:"Editar",switchdel:"Excluir",switchconfirm:"Confirmar",switchdelconfirm:"Confirmação de exclusão",switchonlytemp:"Salvar",switchtempapply:"Salvar e usar",switchtempoverwrite:"Sobrescrever e usar",switchdelcon:"Excluir este modelo?",switchdelyes:"Confirmar",switchdelno:"Cancelar",switchapplycon:"Usar este modelo?"},removeSelectRecord:"Remover os registros selecionados?",saveSuccess:"Salvo com sucesso.",selectOneRecord:"Selecione pelo menos um registro.",isSaveMsg:"Alguns dados foram modificados. Salvar as alterações?"},hrapprover:{approver:"Aprovador autorizado",noselected:"No se ha seleccionado ningún aprobador autorizado.",noapprover:"Nenhum aprovador autorizado.",remark:"Observações"},imageViewer:{loadErrorAlt:"Falha no carregamento.",save:"Salvar",del:"Excluir",thumbnail:"Miniatura",menu:"Diretório",hide:"Ocultar barra lateral",show:"Mostrar barra lateral"},navMenu:{moreText:"Mais"},logout:{in:"Login",out:"Logout"},page:{goto:"Ir para",item:"itens",next:"Próximo",page:"Artigo/Página",pageClassifier:"página",pagesize:"Artigo/Página",prev:"Anterior",total:"Total:",totals:"Total:",jump:"Ir para",hundredThousand:"mais de 100 mil",million:"mais de 1 milhão",tenMillion:"mais de 10 milhões",loadingTotals:"Carregando o número total de itens..."},popeditor:{cancel:"Cancelar",confirm:"OK",historyLists:"Histórico",reset:"Reiniciar",search:"Consultar",selectionLists:"Selecionado",sourceLists:"Todos",title:"Selecionar",filterNode:"Insira uma palavra-chave."},popupload:{fileName:"Nome",fileSize:"Tamanho",fileStatus:"Status",uploadError:"Falha ao carregar.",dialogTitle:"Carregar arquivos",cancelButtonText:"Cancelar",tipsFileText:"Informação",saveButtonText:"Carregar",uploadSuccess:"Carregamento concluído.",uploadButtonText:"Selecionar arquivo",uploadsButtonText:"Selecionar arquivos",errorTypeTips:"Formato do arquivo inválido.",errorNumTips:"Carregamento cancelado. Muitos arquivos.",errorSizeTips:"Arquivo grande demais.",confirmDeleteTips:"Tem certeza de que deseja excluir este arquivo?",delete:"Excluir",waitUpload:"Aguardando upload",operation:"Operação",success:"Upload bem-sucedido",listTip:"Há um total de {0} pedaços de dados: ",errorListTip:"Há {0} erros neles. Modifique-os e tente novamente",limitUploadFileNumber:"Máximo de arquivos permitidos",limitUploadFileType:"Formatos de arquivo compatíveis",limitUploadFileSize:"Tamanho máximo do arquivo"},rate:{level:{average:"Aceitável",excellent:"Muito bom",fair:"Ruim",good:"Bom",poor:"Muito ruim"}},select:{loading:"Carregando...",noMatch:"Nenhuma correspondência.",noData:"Não há dados disponíveis.",placeholder:"--Selecionar--",pleaseSearch:"Insira uma palavra-chave.",search:"Pesquisar",selected:"Selecionado",selectedNum:"{num} selecionado(s)",noSearchData:"Nenhuma correspondência. Insira outra palavra-chave.",add:"Adicionar",collapse:"Recolher"},search:{placeholder:"Pesquisar"},signature:{confirm:"Concluído",rewrite:"Assinar novamente",cancel:"Cancelar",tips:"Assinatura manuscrita necessária.",resign:"Assinar novamente",placeholder:"Assine aqui (obrigatório)."},tabs:{moreItem:"Mais"},tag:{add:"Adicionar"},toggleMenu:{placeholder:"Insira uma palavra-chave."},treeMenu:{placeholder:"Insira uma palavra-chave."},transfer:{filterPlaceholder:"Insira uma palavra-chave.",hasCheckedFormat:"{checked}/{total} verificado",noCheckedFormat:"{total} itens",noData:"Não há dados disponíveis.",noMatch:"Nenhuma correspondência.",titles:["Lista 1","Lista 2"]},tree:{loading:"Carregando...",emptyText:"Não há dados disponíveis.",switchText:"Selecionar nós dependentes",edit:"Editar",delete:"Editar",addChild:"Excluir",newNodeTitle:"Adicionar nó dependente",deleteTip1:"Este nó possui nós dependentes. Deseja manter os nós dependentes?",deleteTip2:"Este nó possui nós dependentes. Manter os nós dependentes?",deleteTip3:"Manter nós dependentes"},usercard:{address:"Endereço",collapse:"Mostrar menos",email:"E-mail",empno:"ID de funcionário",expand:"Mostrar mais",fax:"Fax",internal:"Extensão",manager:"Supervisor",mobile:"Celular",other:"Informações adicionais",phone:"Telefone fixo",timezone:"Fuso horário",travelcode:"Mensagem de ausência para viagem de negócios",viop:"VIOP"},richText:{bold:"Negrito",italic:"Inclinar",underline:"Sublinhado",header:"Formato de parágrafo",strike:"Excluir linha",blockquote:"Referência de bloco",codeBlock:"Inserir segmento de código",size:"Tamanho da fonte",listOrdered:"Não. Lista",listBullet:"Lista de projetos",header1:"H1",header2:"H2",align:"Modo de alinhamento",color:"Cor da fonte",background:"Cor de fundo",image:"Imagem",video:"Vídeo",link:"Adicionar link",formula:"Inserir função",clean:"Limpar formato",indent1:"Recuo para a esquerda",indent2:"Recuo para a direita",pickerLabel:"Tamanho do título",headerPicker1:"Título 1",headerPicker2:"Título 2",headerPicker3:"Título 3",headerPicker4:"Título 4",headerPicker5:"Título 5",headerPicker6:"Título 6",normal:"Normal",sizeSmall:"Pequeno",sizeLarge:"Grande",sizeHuge:"Tamanho supergrande",alignPicker1:"Alinhe-se à esquerda",alignPicker2:"Alinhar no centro",alignPicker3:"Alinhar-se à direita",alignPicker4:"Alinhar as duas extremidades",subScript:"Subscrito",superScript:"Sobrescrito",directionRTL:"Da direita para a esquerda",font:"Fonte",file:"Arquivo",betterTable:"Tabela",fullscreen:"Tela cheia",insertColumnRight:"Inserir coluna à direita",insertColumnLeft:"Inserir coluna à esquerda",insertRowUp:"Inserir Linha para Cima",insertRowDown:"Inserir linha para baixo",mergeCells:"Mesclar células",unmergeCells:"Dividir células",deleteColumn:"Excluir coluna atual",deleteRow:"Excluir linha atual",deleteTable:"Excluir tabela",colorPicker:"Cor de fundo",placeholder:"Inserir texto aqui...",maxLength:"O comprimento do texto excede o limite, o comprimento máximo config é "},fluentEditor:{undo:"Desfazer",redo:"Refazer",lineheight:"Altura da linha"},steps:{done:"Completo",doing:"Em andamento",wait:"Pendente"},actionSheet:{cancel:"Cancelar"},image:{loadFail:"Falha no carregamento."},miniPicker:{cancel:"Cancelar",confirm:"OK"},pullRefresh:{pullingDown:"Puxe para baixo para atualizar.",pullingUp:"Puxe para cima para atualizar.",pulling:"Puxe para baixo para atualizar.",loosing:"Suelte para actualizar.",success:"Atualizado.",failed:"Falha na atualização.",noMore:"Nenhum outro dado."},currency:{defaultCurrency:"Padrão",setDefault:"Configurar como padrão",chooseCurrency:"Selecionar a moeda"},calendarBar:{week:{0:"Dom",1:"Seg",2:"Ter",3:"Qua",4:"Qui",5:"Sex",6:"Sáb"},year:"%s",yearMonth:"%m %y",month:{1:"Jan",2:"Fev",3:"Mar",4:"Abr",5:"Mai",6:"Jun",7:"Jul",8:"Ago",9:"Set",10:"Out",11:"Nov",12:"Dez"},monthAbbr:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"}},calendarView:{week:{0:"Sol",1:"Seg",2:"Ter",3:"Qua",4:"Qui",5:"Sex",6:"Sáb"},weekDays:{0:"Dom",1:"Seg",2:"Ter",3:"Qua",4:"Qui",5:"Sex",6:"Sáb"},backToday:"Hoje",new:"Adicionar",noSchedule:"Sem agendamento",year:"",month:"",dateFormat:"yyyy-MM-dd",monthFormat:"yyyy-MM"},selectedBox:{select:"Selecionado (%s)",allSelect:"Todos selecionados (%s)",clear:"Limpar",noData:"Nenhum dado"},record:{record:"Gravando",cancel:"Cancelar",confirm:"OK",clickToStartRecording:"Clique para gravar.",clickToResumeRecording:"Clique para continuar a gravação."},dialogSelect:{treeSearch:"Insira uma palavra-chave e pressione Enter."},loadList:{errorText:"Algo deu errado.",loadingText:"Carregando...",finishedText:"Não há mais"}},validation:{array:{len:"Este campo deve conter %s caracteres.",min:"Esse campo deve conter %s caracteres ou mais.",max:"Esse campo deve conter %s caracteres ou menos.",range:"Este campo deve ter de %s a %s caracteres."},date:{format:"A data %s não corresponde ao formato %s.",invalid:"%s é inválido.",parse:"Não é possível analisar a data %s, %s é inválido"},default:"Erro de verificação do campo %s.",enum:"Deve ser um dos %s",number:{len:"O valor deve ser %s.",min:"O valor deve ser %s ou maior.",max:"O valor deve ser %s ou menor.",range:"O valor deve estar entre %s e %s."},pattern:{mismatch:"O valor %s não corresponde a %s."},required:"Campo obrigatório",string:{len:"Este campo deve conter %s caracteres.",min:"Este campo deve conter pelo menos %s caracteres.",max:"Este campo pode conter no máximo %s caracteres.",range:"Este campo deve conter de %s a %s caracteres."},types:{acceptFile:" Apenas arquivos são permitidos.",acceptImg:"Apenas imagens são permitidas.",array:"Matriz inválida.",boolean:"Valor booleano inválido.",date:"Formato de data inválido.",dateTime:"Formato de data e hora inválido.",dateYM:"O formato de data (yyyy-mm) não está em conformidade com a regra.",dateYMD:"O formato de data (yyyy-MM-dd) não está em conformidade com a regra.",digits:"Apenas número inválido.",email:"Endereço de e-mail inválido.",fileSize:"O tamanho do arquivo não está no formato correto, como 3kb.",float:"Número de ponto flutuante inválido.",hex:"Número hexadecimal inválido.",integer:"Número inteiro inválido.",longDateTime:"Formato de data longa inválido.",method:"Deve ser uma função.",number:"Número inválido.",object:"Objeto inválido.",regexp:"Expressão regular inválida.",specialch:"Apenas dígitos, letras, sublinhados (_), hifens (-) e pontos (.) são permitidos.",specialch2:"Apenas dígitos, letras, sublinhados (_) e hifens (-) são permitidos.",speczh:"Somente números, letras e sublinhados (_) são permitidos.",string:"String inválida.",time:"Formato de hora inválido.",url:"URL inválida.",version:"Formato de versão inválido."},whitespace:"Este campo não pode ficar em branco."}},q3=/(%|)\{([0-9a-zA-Z_]+)\}/g;function F3(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return n.length===1&&typeof n[0]=="object"&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),t.replace(q3,function(r,i,a,l){var s;return t[l-1]==="{"&&t[l+r.length]==="}"?a:(s=Object.prototype.hasOwnProperty.call(n,a)?n[a]:null,s??"")})}var vl=Uu,yl=function(){var e=Object.getPrototypeOf(this||Ce).$t;if(typeof e=="function"&&e!==Vu)return e.apply(this,arguments)},Vu=function(e,n){n===void 0&&(n=void 0);var o=yl.apply(this,arguments);if(o==null||o===e){for(var r=e.split("."),i=vl,a=0,l=r.length;a<l;a++){var s=r[a];if(o=i[s]||"",a===l-1)return F3(o,n);if(!o)return"";i=o}return""}else return o},e2=function(e){return vl=e||vl,vl},R3=function(){return vl.code},t2=function(e){return yl=e||yl,yl},Om=oo,n2=function(e){var n=e.VueI18n,o=e.messages,r=o===void 0?{}:o,i=e.i18n,a=i===void 0?{}:i,l=e.merge;typeof l!="function"&&(l=function(u){var m=u.lang,h=u.i18n,p=u.messages;return Om.call(null,!0,m,h.messages,p)});var s={zhCN:Uu,enUS:Lm,esLA:Im,ptBR:Nm};if(typeof n=="function"){var c=new n({locale:a.locale||"zhCN",messages:l({lang:s,i18n:a,messages:r})});return yl=function(u,m){return c.t(u,m)},c}return Ce&&typeof Ce.prototype.$t!="function"&&(Ce.prototype.$t=Vu),l({lang:s,i18n:a,messages:r})},o2=!0,r2=!1,j3={isVue2:o2,isVue3:r2,extend:Om,i18n:t2,initI18n:n2,t:Vu,use:e2,enUS:Lm,zhCN:Uu,esLA:Im,ptBR:Nm},oi=Object.freeze(Object.defineProperty({__proto__:null,default:j3,enUS:Lm,esLA:Im,extend:Om,i18n:t2,initI18n:n2,isVue2:o2,isVue3:r2,language:R3,ptBR:Nm,t:Vu,use:e2,zhCN:Uu},Symbol.toStringTag,{value:"Module"})),Qan=oi.use,Ja=oi.t;oi.i18n;oi.initI18n;oi.extend;var Kan=oi.zhCN,Gan=oi.enUS,Wan=oi.language;const z3=({onMounted:t,onActivated:e,nextTick:n})=>o=>{let r;t(()=>{o(),n(()=>r=!0)}),e(()=>r&&o())};const U3=({getCurrentInstance:t,isVue2:e,nextTick:n,onUnmounted:o})=>()=>{const r=t().proxy;e||Object.defineProperty(r,"$scopedSlots",{configurable:!0,value:null}),Object.defineProperty(r,"instanceSlots",{configurable:!0,get:()=>r.$scopedSlots||r.$slots}),o(()=>{n(()=>{e||delete r.$scopedSlots,delete r.instanceSlots})})},V3=({computed:t,getCurrentInstance:e,inject:n,markRaw:o,nextTick:r,onMounted:i,onActivated:a,onUnmounted:l,provide:s,reactive:c,toRef:d})=>({relationKey:u,relationContainer:m,onChange:h,childrenKey:p,delivery:v}={})=>{if(!u)throw new Error("[TINY Error]<relationKey> must exist.");const f=e(),b=c({children:[],indexInParent:-1}),x=n(u,null);let w=[];if(x){const{link:$,unlink:q,callbacks:B,childrenKey:P,delivery:N}=x;w=B,p=p||P||"instanceChildren",v=N,b.indexInParent=$(f),l(()=>q(f))}else{p=p||"instanceChildren";const $=z3({onMounted:i,onActivated:a,nextTick:r}),q=h?()=>r(h):JS;let B;r(()=>{const P=typeof m=="function"?m():m;P&&(B=new MutationObserver((N,D)=>{const W=[];i2(P.childNodes,W),w.forEach(M=>M(W,N,D)),q()}),B.observe(P,{attributes:!0,childList:!0,subtree:!0}))}),$(()=>q()),l(()=>{B&&(B.disconnect(),B=null),w=null})}const E=$=>{const q=$.proxy;return b.children.push(o(q)),t(()=>b.children.indexOf(q))},S=$=>{const q=b.children.indexOf($.proxy);q>-1&&b.children.splice(q,1)};return w.push($=>H3(b.children,$)),s(u,{link:E,unlink:S,callbacks:w,childrenKey:p,delivery:v}),Object.defineProperty(f.proxy,p,{configurable:!0,get:()=>b.children}),l(()=>delete f.proxy[p]),{children:d(b,"children"),index:d(b,"indexInParent"),delivery:v}},i2=(t,e)=>{t.length&&t.forEach(n=>{e.push(n),n.childNodes&&i2(n.childNodes,e)})},H3=(t,e)=>{t.sort((n,o)=>e.indexOf(n.$el)-e.indexOf(o.$el))};function Q3(){return tt?!1:window.navigator&&window.navigator.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||window.navigator.maxTouchPoints>2&&/iPad|Macintosh/.test(window.navigator.userAgent))}const K3=()=>({isIOS:Q3()}),Bg=t=>t.stopPropagation(),qg=({state:t,props:e,vm:n,slots:o})=>{let r=t.referenceElm||e.reference||n.$refs.reference&&n.$refs.reference.$el||n.$refs.reference;return!r&&o.reference&&o.reference()[0]&&(t.referenceElm=o.reference()[0].elm||o.reference()[0].el,r=t.referenceElm),r},G3=t=>{if(!t||!t.nodeType)return;let e=r=>parseInt(window.getComputedStyle(r).zIndex,10)||0,n=e(t),o;do{if(t=t.parentNode,t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t)o=e(t);else break;n=o>n?o:n}while(t!==document.body);return n+1+""},Hu=t=>{const{parent:e,emit:n,nextTick:o,onBeforeUnmount:r,onDeactivated:i,props:a,watch:l,reactive:s,vm:c,slots:d,toRefs:u,popperVmRef:m}=t,h=s({popperJS:null,appended:!1,popperElm:null,showPopper:a.manual?!!a.modelValue:!1,referenceElm:null,currentPlacement:""}),p=S=>{if(h.appended)return;h.appended=!0;const $=document.createElement("div");$.setAttribute("x-arrow",""),$.className="popper__arrow",S.appendChild($)},v=S=>{const{followReferenceHide:$=!0}=(a==null?void 0:a.popperOptions)||{},{_popper:q,_reference:B}=S;$&&km(B)&&(q.style.display="none")},f=S=>a.zIndex==="relative"?G3(S):it.nextZIndex(),b=S=>{if(tt||(h.currentPlacement=h.currentPlacement||a.placement,!/^(top|bottom|left|right)(-start|-end)?$/g.test(h.currentPlacement)))return;const $=a.popperOptions||{gpuAcceleration:!1};h.popperElm=h.popperElm||a.popper||c.$refs.popper||m.popper||S;const q=h.popperElm;let B=qg({state:h,props:a,vm:c,slots:d});!q||!B||B.nodeType!==Node.ELEMENT_NODE||(a.visibleArrow&&p(q),a.appendToBody||a.popperAppendToBody?document.body.appendChild(h.popperElm):(e&&e.$el&&e.$el.appendChild(h.popperElm),$.forceAbsolute=!0),$.placement=h.currentPlacement,$.offset=a.offset||0,$.arrowOffset=a.arrowOffset||0,$.adjustArrow=a.adjustArrow||!1,$.appendToBody=a.appendToBody||a.popperAppendToBody,h.popperJS=new O3(B,q,$),n("created",h),typeof $.onUpdate=="function"&&h.popperJS.onUpdate($.onUpdate),h.popperJS._popper.style.zIndex=f(h.popperJS._reference),v(h.popperJS),Oe(h.popperElm,"click",Bg))},x=S=>{S&&S!==!0&&(h.popperElm=S);const $=h.popperJS;$?($._reference=qg({state:h,props:a,vm:c,slots:d}),$.update(),$._popper&&S!==!0&&($._popper.style.zIndex=f($._reference),v(h.popperJS))):b(S&&S!==!0?S:void 0)},w=S=>{!h.popperJS||h.showPopper&&!S||(h.popperJS.destroy(),h.popperJS=null)},E=S=>{S&&h.popperElm&&h.popperElm.parentNode===document.body&&(Re(h.popperElm,"click",Bg),h.popperElm.remove())};return l(()=>h.showPopper,S=>{a.disabled||(S&&o(x),a.trigger==="manual"&&n("update:modelValue",S))}),l(()=>a.placement,S=>{var $;h.currentPlacement=S,($=h.popperJS)==null||$.setOptions({placement:S}),!a.disabled&&(S&&o(x),a.trigger==="manual"&&n("update:modelValue",S))}),r(()=>{o(()=>{w(!0),(a.appendToBody||a.popperAppendToBody)&&E("remove")})}),i(()=>{w(!0),(a.appendToBody||a.popperAppendToBody)&&E("remove")}),{updatePopper:x,destroyPopper:E,doDestroy:w,...u(h)}};let W3=1;const Y3=({onMounted:t,onBeforeUnmount:e,watch:n,vm:o,api:r,props:i,state:a,nextTick:l})=>{t(()=>{o._popupId=`popup-${W3++}`,it.register(o._popupId,o)}),e(()=>{it.deregister(o._popupId),it.closeModal(o._popupId)}),n(()=>i.visible,s=>{if(s){if(o._opening)return;a.rendered?r.open():(a.rendered=!0,l(()=>{r.open()}))}else r.close()})},X3=({state:t,vm:e})=>n=>{t.rendered||(t.rendered=!0);const o=Rp({},e.$props||e,n);e._closeTimer&&(clearTimeout(e._closeTimer),e._closeTimer=null),clearTimeout(e._openTimer);const r=()=>{if(tt||t.opened)return;e._opening=!0;const a=e.$el,l=o.modal,s=o.zIndex;s&&(it.zIndex=s),l&&(e._closing&&(it.closeModal(e._popupId),e._closing=!1),it.openModal(e._popupId,it.nextZIndex(),o.modalAppendToBody?void 0:a,o.modalClass,!o.noAnimation),o.lockScroll&&(it.fixBodyBorder(),mn(document.body,it.popLockClass))),getComputedStyle(a).position==="static"&&(a.style.position="absolute"),a.style.zIndex=it.nextZIndex().toString(),t.opened=!0,e._opening=!1},i=Number(o.openDelay);i>0?e._openTimer=setTimeout(()=>{e._openTimer=null,r()},i):r()},Z3=({state:t,vm:e})=>()=>{e._openTimer!==null&&(clearTimeout(e._openTimer),e._openTimer=null),clearTimeout(e._closeTimer);const n=()=>{e._closing=!0,t.opened=!1,it.closeModal(e._popupId),e._closing=!1},o=Number(e.closeDelay);o>0?e._closeTimer=setTimeout(()=>{e._closeTimer=null,n()},o):n()},J3=t=>{const{api:e,nextTick:n,onBeforeUnmount:o,onMounted:r,props:i,reactive:a,toRefs:l,vm:s,watch:c}=t,d=a({opened:!1,rendered:!1});Y3({onMounted:r,onBeforeUnmount:o,watch:c,vm:s,api:e,props:i,state:d,nextTick:n});const u=X3({state:d,vm:s}),m=Z3({state:d,vm:s});return{open:u,close:m,PopupManager:it,...l(d)}};var Fg;function Yi(){return Yi=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Yi.apply(null,arguments)}var e6=function(){var e={},n=function(i,a,l){if(l===void 0&&(l=!1),i&&typeof i=="string"&&typeof a=="function"){var s=e[i]||[];e[i]=s,s.push(a),a.once=l}},o={emit:function(i){var a=arguments,l=e[i];l&&(l.forEach(function(s){return s.apply(null,[].slice.call(a,1))}),e[i]=l.filter(function(s){return!s.once}))},on:n,once:function(i,a){n(i,a,!0)},off:function(i,a){if(i&&typeof i=="string"){var l=e[i];typeof a=="function"?e[i]=l.filter(function(s){return s!==a}):delete e[i]}else e={}}};return o},t6=function(e,n){n===void 0&&(n={});var o={};for(var r in e)r.indexOf("_")!==0&&(o[r]=e[r]);for(var i in n)o[i]=n[i];return o},n6=function(e,n){if(e===void 0&&(e={}),typeof n=="object"){var o=Array.isArray(n)?n:Object.keys(n).filter(function(i){return n[i]}),r="";return o.forEach(function(i){e[i]&&(r+=e[i]+" ")}),r}else return e[n]||""},o6=0,r6=function(e){return function(n){for(var o=e.parent?Array.from(e.parent.childNodes):[],r=0;r<o.length;r++)if(o[r].textContent===n)return!0}},i6=function(e){var n=e.hasComment,o=e.startComment,r=e.state,i=e.endComment;return function(a){var l=document.createDocumentFragment();if(a)!n(o)&&l.appendChild(document.createComment(o)),r.nodes.forEach(function(h){return l.appendChild(h)}),!n(i)&&l.appendChild(document.createComment(i));else{var s=r.parent?Array.from(r.parent.childNodes):[],c,d;c=d=0;for(var u=0;u<s.length;u++){var m=s[u];if(m.nodeType===8&&(m.textContent===o&&(c=u),m.textContent===i)){d=u;break}}d>c&&s.slice(c+1,d).forEach(function(h){return l.appendChild(h)})}return l}},a6=function(e){var n=e.instance,o=e.getFragment,r=e.state,i=e.startComment,a=e.endComment;return function(){n.$el.appendChild(o());var l=[],s=r.parent?Array.from(r.parent.childNodes):[];s.forEach(function(u,m){u.nodeType===8&&(u.textContent===i||u.textContent===a)&&l.push(m)});var c=Math.min.apply(Math,l),d=Math.max.apply(Math,l);s.slice(c,d+1).reverse().forEach(function(u){return r.parent&&r.parent.removeChild(u)}),r.parent=null}},s6=function(e){var n=e.state,o=e.props,r=e.disable,i=e.getFragment;return function(){if(n.waiting=!1,n.parent=document.querySelector(o.to),!n.parent){r(),n.waiting=!0;return}o.where==="before"?n.parent.prepend(i(!0)):n.parent.appendChild(i(!0))}},l6=function(e){return function(){e.observer&&(e.observer.disconnect(),e.observer=null)}},c6=function(e){var n=e.state,o=e.disable,r=e.props,i=e.move;return function(a){for(var l=!1,s=0;s<a.length;s++){var c=a[s],d=Array.from(c.addedNodes).filter(function(u){return!n.nodes.includes(u)});Array.from(c.removedNodes).includes(n.parent)?(o(),n.waiting=!r.disabled):n.waiting&&d.length>0&&(l=!0)}l&&i()}},u6=function(e){var n=e.state,o=e.onMutations;return function(){n.observer||(n.observer=new MutationObserver(function(r){return o(r)}),n.observer.observe(document.body,{attributes:!1,characterData:!1,childList:!0,subtree:!0}))}},d6=function(e){var n=e.state,o=e.instance,r=e.props,i=e.bootObserver,a=e.maybeMove;return function(){n.nodes=Array.from(o.$el.childNodes),!r.disabled&&i(),a()}},p6=function(e){var n=e.disable,o=e.teardownObserver,r=e.bootObserver,i=e.move;return function(a){if(a){n(),o();return}r(),i()}},h6=function(e){var n=e.reactive,o=e.watch,r=e.getCurrentInstance,i=e.onUpdated,a=e.onMounted,l=e.onBeforeUnmount,s=e.h,c=e.defineComponent;return c({name:"Vue2Teleport",props:{to:{type:String,required:!0},where:{type:String,default:"after"},disabled:Boolean},setup:function(u){var m,h=n({nodes:[],waiting:!1,observer:null,parent:null,id:++o6}),p=(m=r())==null?void 0:m.proxy,v="["+h.id+"]vue2-teleporter-start",f="["+h.id+"]vue2-teleporter-end",b=r6(h),x=i6({hasComment:b,startComment:v,state:h,endComment:f}),w=a6({instance:p,getFragment:x,state:h,startComment:v,endComment:f}),E=s6({state:h,props:u,disable:w,getFragment:x}),S=function(){return!u.disabled&&E()},$=l6(h),q=c6({state:h,disable:w,props:u,move:E}),B=u6({state:h,onMutations:q}),P=d6({state:h,instance:p,props:u,bootObserver:B,maybeMove:S}),N=p6({disable:w,teardownObserver:$,bootObserver:B,move:E});return o(function(){return u.to},S),o(function(){return u.where},S),o(function(){return u.disabled},N),i(P),a(P),l(function(){w(),$()}),function(){return s("div",{class:"vue2-teleporter",style:{"visibility:hidden;display:none;":!u.disabled}},(typeof(p==null?void 0:p.$slots.default)=="function"?p.$slots.default():p.$slots.default)||null)}}})},ul=typeof window>"u"?null:window.__Longque__,a2=!!((Fg=Ce.version)!=null&&Fg.includes("2.7")),dt=a2?Lp:xA,Yan=h6(dt);!dt.default.__composition_api_installed__&&!a2&&Ce.use(dt.default);var m6=function(e){var n=e.loader,o=e.loadingComponent,r=e.errorComponent,i=e.delay,a=e.timeout;return function(){return{component:n(),loading:o,error:r,delay:i,timeout:a}}},f6=function(e){return e},s2=function(e){var n=e.view,o=n===void 0?null:n,r=e.component,i=r===void 0?null:r,a=e.props,l=e.customDesignProps,s=e.context,c=s.attrs,d=s.listeners,u=s.slots,m=e.extend,h=m===void 0?{}:m;return function(){var p;return dt.h(o&&o.value||i,Object.assign((p={props:Yi({},a,l),attrs:c},p[h.isSvg?"nativeOn":"on"]=d,p.ref="modeTemplate",p.scopedSlots=Yi({},u),p),h))}},Dm=function(){var e;return(e=dt.getCurrentInstance())==null?void 0:e.proxy.$root},g6=function(){var e,n,o=(e=dt.getCurrentInstance())==null?void 0:e.proxy;return(o==null||(n=o.$options)==null?void 0:n.propsData)||{}},l2=function(){var e,n,o,r,i=dt.getCurrentInstance(),a=i==null||(e=i.vnode)==null||(n=e.componentOptions)==null||(o=n.Ctor)==null||(r=o.extendOptions)==null?void 0:r.name;if(!a){var l,s,c,d,u;a=i==null||(l=i.parent)==null||(s=l.vnode)==null||(c=s.componentOptions)==null||(d=c.Ctor)==null||(u=d.extendOptions)==null?void 0:u.name}return a||""},v6=function(){return Ce},c2=function(){return Ce.prototype},y6=function(e){var n,o;if(e===void 0){var r;e=(r=dt.getCurrentInstance())==null?void 0:r.proxy}return{route:(n=e)==null?void 0:n.$route,router:(o=e)==null?void 0:o.$router}},b6=function(e){var n=function(r,i,a,l){r.$children.forEach(function(s){var c=s.$options.componentName;c===i?s.$emit(a,l):n(s,i,a,l)})};return{dispatch:function(r,i,a){for(var l,s=e.$parent||e.$root,c=s.$options.componentName;s&&(!c||c!==r);)s=s.$parent,s&&(c=s.$options.componentName);s&&(l=s).$emit.apply(l,[i].concat(a))},broadcast:function(r,i,a){n(e,r,i,a)}}},w6=function(e){return function(n){var o=e.$parent,r=0,i=function(l){return{level:r,vm:Ts({},l),el:l.$el,options:l.$options}};if(typeof n!="function")return o?i(o):{};for(r++;o&&!n(i(o));)o=o.$parent,r++}},x6=function(e){return function(n){if(typeof n!="function")return u2(e.$children);var o=1,r=function(a){var l=o++;a.some(function(s){return n({level:l,vm:Ts({},s),el:s.$el,options:s.$options,isLevel1:l===1})})||a.forEach(function(s){return r(s.$children)})};r(e.$children)}},u2=function(e){var n=[];return n.refs={},e.forEach(function(o){var r=Ts({},o);n.push(r),o.$vnode.data.ref&&(n.refs[o.$vnode.data.ref]=r)}),n},T6=function(e,n,o){var r=function(l){if(typeof o=="function"&&o(l))return 1;Object.defineProperty(e,l,{configurable:!0,enumerable:!0,get:function(){return n[l]},set:function(c){return n[l]=c}})};for(var i in n)r(i);return e},k6=function(e,n){var o=ul.SKIP_PREFIX_UNDERSCORE|ul.SKIP_PREFIX_DOLLAR|ul.SKIP_CONSTRUCTOR;ul.createDelegate(n,e,o)},d2=ul?k6:T6,p2=function(e){return e.indexOf("$")===0||e.indexOf("_")===0||e==="constructor"},Ts=function(e,n,o){return o===void 0&&(o=void 0),o||d2(e,n,p2),Object.defineProperties(e,{$attrs:{get:function(){return n.$attrs}},$children:{get:function(){return u2(n.$children)}},$constants:{get:function(){return n._constants}},$emit:{get:function(){return n.$emit.bind(n)}},$el:{get:function(){return n.$el}},$listeners:{get:function(){return n.$listeners}},$mode:{get:function(){return n._tiny_mode}},$nextTick:{get:function(){return dt.nextTick}},$off:{get:function(){return n.$off.bind(n)}},$on:{get:function(){return n.$on.bind(n)}},$once:{get:function(){return n.$once.bind(n)}},$options:{get:function(){return{componentName:n.$options.componentName}}},$parent:{get:function(){return n.$parent&&Ts({},n.$parent)}},$refs:{get:function(){return n.$refs}},$renderless:{get:function(){return n.tiny_renderless}},$scopedSlots:{get:function(){return n.$scopedSlots}},$set:{get:function(){return n.$set}},$slots:{get:function(){return n.$scopedSlots}},$template:{get:function(){return n.tiny_template}}}),e},C6=function(e,n){Object.keys(e.$refs).forEach(function(o){n[o]=e.$refs[o]})},A6=function(e,n){var o,r=(o=dt.getCurrentInstance())==null?void 0:o.proxy,i=r==null?void 0:r.$root,a=y6(r),l=a.route,s=a.router,c=i==null?void 0:i.$i18n,d=b6(r),u=d.dispatch,m=d.broadcast,h=w6(r),p=x6(r),v=Ts({},r,e),f=e.emit,b={},x=r.$parent?Ts({},r.$parent):null,w=function(q){var B=q.name,P=q.value;r.$parent[B]=P,x[B]=P},E=function(q){Object.defineProperties(v,q),Object.defineProperties(r,q)},S=function(q){x&&Object.defineProperties(x,q)};return dt.onBeforeMount(function(){return d2(v,r,p2)}),Lp&&dt.onMounted(function(){return C6(r,b)}),{framework:"vue2",vm:v,emit:f,emitter:e6,route:l,router:s,dispatch:u,broadcast:m,parentHandler:h,childrenHandler:p,refs:Lp?b:e.refs,i18n:c,slots:e.slots,scopedSlots:e.slots,attrs:e.attrs,parent:x,nextTick:dt.nextTick,constants:r==null?void 0:r._constants,mode:n,isPCMode:n==="pc",isMobileMode:n==="mobile",service:r==null?void 0:r.$service,getService:function(){return r==null?void 0:r.$getService(v)},setParentAttribute:w,defineInstanceProperties:E,defineParentInstanceProperties:S}},wc=function(e,n,o){if(typeof e[n]<"u"){var r=e[n];e[o]=function(i,a,l){a.instance=l.context,r(i,a,l)},delete e[n]}},ri=function(e){for(var n in e){var o=e[n];wc(o,"mounted","inserted"),wc(o,"beforeMount","bind"),wc(o,"updated","update"),wc(o,"unmounted","unbind")}return e},S6=function(e){var n=e.props,o=e.data,r=e.name,i=e.attr,a=i===void 0?r:i;Object.defineProperty(n,a,{get:function(){return o[r]},set:function(s){return o[r]=s}})},h2=function(e){var n={},o=e.componentOptions&&e.componentOptions.propsData||{};for(var r in o)S6({props:n,data:o,name:r});return e.props=n,e.type={name:e.componentOptions&&e.componentOptions.tag},e},m2=function(e){return!e||!e.tag},xu=dt.h,E6=function(e){return function(n){var o,r=n.component,i=n.propsData,a=n.el,l=Object.assign(r,{provide:(o={},o[e.configKey]=e.configInstance,o)});return new(Ce.extend(l))({propsData:i,el:a}).$mount()}},Se=dt.defineComponent,Qu=!0;var Xan=Ce.component("KeepAlive"),Wp=function(e){var n=[];return Object.keys(e).forEach(function(o){return e[o]&&n.push(o)}),n.join(" ")},$6=function(e){var n=[];return e.forEach(function(o){typeof o=="string"?n.push(o):typeof o=="object"&&n.push(Wp(o))}),n.join(" ")},Tu=function(e){if(!e)return"";if(typeof e=="string")return e;if(Array.isArray(e)&&e.length>0){var n=[];return e.forEach(function(o){o&&(typeof o=="string"?n.push(o):Array.isArray(o)?n.push($6(o)):typeof o=="object"&&n.push(Wp(o)))}),n.join(" ")}return typeof e=="object"?Wp(e):""},P6=function(e){var n=Tu(e),o=Array.from(new Set(n.split(" "))).filter(function(r){return r});return Tu(o)},_6=function(){var e=dt.ref(""),n=["2xl","xl","lg","md","sm"],o=function(s){return tt||typeof matchMedia!="function"?{matches:!1,media:s,addEventListener:function(){},removeEventListener:function(){}}:window.matchMedia(s)},r={"2xl":o("(min-width:1536px)"),xl:o("(min-width:1280px)"),lg:o("(min-width:1024px)"),md:o("(min-width:768px)"),sm:o("(min-width:640px)")},i=function(){for(var s=0;s<n.length;s++){var c=n[s];if(r[c].matches){e.value=c;return}}e.value="default"},a=Sn(0,function(){return i()});return i(),n.forEach(function(l){return r[l].addEventListener("change",a)}),dt.onBeforeUnmount(function(){n.forEach(function(l){return r[l].removeEventListener("change",a)})}),{current:e}};var M6=["IconLoadingShadow","IconNoData"],f2=0,g2=function(e,n){{var o,r;if((o=e.data)!=null&&(r=o.attrs)!=null&&r.id){var i=""+e.data.attrs.id+f2;n[e.data.attrs.id]=i,e.data.attrs.id=i}}Array.isArray(e==null?void 0:e.children)&&e.children.forEach(function(a){g2(a,n)})},v2=function(e,n){var o=["fill","mask","filter"];o.forEach(function(r){{var i,a,l;if((i=e.data)!=null&&(a=i.attrs)!=null&&(l=a[r])!=null&&l.includes("url(#")){var s=e.data.attrs[r].replace("url(#","").replace(")",""),c=n[s];c&&(e.data.attrs[r]="url(#"+c+")")}}}),Array.isArray(e==null?void 0:e.children)&&e.children.forEach(function(r){v2(r,n)})},L6=function(e){if(e){var n={};g2(e,n),v2(e,n),f2++}},Zan=U3(Yi({},dt,{isVue2:Qu})),Jan=V3(Yi({},dt,{isVue2:Qu})),Ue="Tiny",lt={tiny_mode:String,tiny_mode_root:Boolean,tiny_template:[Function,Object],tiny_renderless:Function,tiny_theme:String,tiny_mcp_config:Object,tiny_chart_theme:Object},Ye=["tiny_mode","tiny_mode_root","tiny_template","tiny_renderless","_constants","tiny_theme","tiny_chart_theme","tiny_mcp_config"],Bm=function(e,n){var o=function(u){return~["pc","mobile","mobile-first"].indexOf(u)},r=Dm(),i=typeof e.tiny_mode=="string"?e.tiny_mode:null,a=dt.inject("TinyMode",null),l;typeof r.tiny_mode=="string"?l=r.tiny_mode:r.tiny_mode&&(l=r.tiny_mode.value),o(i)||(i=null),o(a)||(a=null),o(l)||(l=null);var s=i||a||l||"pc";e.tiny_mode_root&&dt.provide("TinyMode",s);var c=dt.getCurrentInstance();return c=c.proxy,Object.defineProperty(c,"_tiny_mode",{value:s}),s},I6=function(e,n){var o=function(d){return~["tiny","saas"].indexOf(d)},r=Dm(),i=typeof e.tiny_theme=="string"?e.tiny_theme:null,a=dt.inject("TinyTheme",null),l=r.tiny_theme&&r.tiny_theme.value;o(i)||(i=null),o(a)||(a=null),o(l)||(l=null);var s=i||a||l||"tiny";return s},N6=function(e,n){var o=Dm(),r=typeof e.tiny_chart_theme=="object"?e.tiny_chart_theme:null,i=dt.inject("TinyChartTheme",null),a=o.tiny_chart_theme&&o.tiny_chart_theme.value,l=r||i||a||null;return l},y2={configKey:Symbol("designConfigKey"),configInstance:null};var Ku=E6(y2),O6={designConfig:null,twMerge:function(){return""}},b2=function(){var e,n,o,r=dt.inject(y2.configKey,{});r=((e=r)==null?void 0:e.value)||r||{};var i=(n=r)==null||(o=n.components)==null?void 0:o[l2().replace(Ue,"")];return{designConfig:i,globalDesignConfig:r}},D6=function(){l2().replace(Ue,"")},vt=function(e){var n=e.props,o=e.context,r=e.template,i=e.extend,a=i===void 0?{}:i,l=Bm(n),s=dt.computed(function(){if(typeof n.tiny_template<"u")return n.tiny_template;var p=r(l,n);return typeof p=="function"?m6(p):p}),c=b2(),d=c.designConfig,u={},m=d==null?void 0:d.props;if(m){var h=g6();Object.keys(m).forEach(function(p){var v=p.replace(/-(\w)/g,function(b,x){return x.toUpperCase()}),f=p.replace(/([A-Z])/g,"-$1").toLowerCase();!Object.prototype.hasOwnProperty.call(h,v)&&!Object.prototype.hasOwnProperty.call(h,f)&&(u[p]=m[p])})}return s2({view:s,props:n,customDesignProps:u,context:o,extend:a})},Bl=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return O6.twMerge(Tu(n))},je=function(e){var n=e.props,o=e.context,r=e.renderless,i=e.api,a=e.extendOptions,l=a===void 0?{}:a,s=e.mono,c=s===void 0?!1:s,d=e.classes,u=d===void 0?{}:d,m=typeof n.tiny_renderless=="function"?n.tiny_renderless:r,h=b2(),p=h.designConfig,v=h.globalDesignConfig,f=Yi({$prefix:Ue,t:Ja},A6(o,Bm(n)),{designConfig:p,globalDesignConfig:v,useBreakpoint:_6,mergeClass:Bl});f.vm.theme=I6(n),f.vm.chartTheme=N6(n);var b=m(n,dt,f,l);typeof(p==null?void 0:p.renderless)=="function"&&Object.assign(b,p.renderless(n,dt,f,b));var x={t:Ja,vm:f.vm,f:t6,a:B6,d:f.defineInstanceProperties,dp:f.defineParentInstanceProperties,gcls:function(E){return n6(u,E)},m:Bl};return x.d({slots:{get:function(){return f.vm.$slots},configurable:!0},scopedSlots:{get:function(){return f.vm.$scopedSlots},configurable:!0}}),x.dp({slots:{get:function(){return f.parent.$slots},configurable:!0},scopedSlots:{get:function(){return f.parent.$scopedSlots},configurable:!0}}),q6(),Array.isArray(i)&&(Array.isArray(p==null?void 0:p.api)&&(i=i.concat(p.api)),i.forEach(function(w){var E=b[w];typeof E<"u"&&(x[w]=E,c||f.setParentAttribute({name:w,value:E}))})),D6(),x};function _e(t){var e=t.name,n=e===void 0?"Icon":e,o=t.component;return function(r){return f6(Se({name:Ue+n,setup:function(a,l){var s=l.attrs||{},c=s.fill,d=s.width,u=s.height,m=s["custom-class"],h=s["first-color"],p=s["second-color"],v=Object.assign({},a,r||null),f=Bm(v),b=f==="mobile-first",x={"data-tag":b?"tiny-svg":null},w={attrs:x},E="tiny-svg";b&&(E=Bl("h-4 w-4 inline-block",m||"",v.class||""));var S=Object.assign({style:{fill:c,width:d,height:u,"--tiny-first-color":h||"","--tiny-second-color":p||""},class:E,isSvg:!0},w);return S.nativeOn=l.listeners,M6.includes(n)&&(o.__raw_render||(o.__raw_render=o.render),o.render=function(){var $=o.__raw_render.bind(this),q=$.apply(void 0,arguments);return L6(q),q}),s2({component:o,props:v,context:l,extend:S})}}))}}var B6=function(e,n,o){var r={},i=function(s){var c=n.some(function(d){return new RegExp(d).test(s)});(o&&c||!o&&!c)&&(r[s]=e[s])};for(var a in e)i(a);return r},eu={},q6=function(){for(var e in eu){var n=eu[e];typeof n.install=="function"&&n.install(v6()),typeof n.init=="function"&&n.init(c2())}eu={}};var F6=Object.defineProperty,R6=Object.defineProperties,j6=Object.getOwnPropertyDescriptors,Rg=Object.getOwnPropertySymbols,z6=Object.prototype.hasOwnProperty,U6=Object.prototype.propertyIsEnumerable,jg=(t,e,n)=>e in t?F6(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_t=(t,e)=>{for(var n in e||(e={}))z6.call(e,n)&&jg(t,n,e[n]);if(Rg)for(var n of Rg(e))U6.call(e,n)&&jg(t,n,e[n]);return t},En=(t,e)=>R6(t,j6(e));var V6=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M3.284 4h7.432a1 1 0 0 1 .735 1.678L7.735 9.704a1 1 0 0 1-1.47 0L2.55 5.678A1 1 0 0 1 3.284 4Z"}})])},H6={render:V6},w2=function(){return _e({name:"IconArrowBottom",component:H6})()},Q6=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"arrow-left_svg__st0",attrs:{d:"M6.3 11H20c.6 0 1 .4 1 1s-.4 1-1 1H6.3l5.4 5.4c.4.4.4 1 0 1.4-.4.4-1 .4-1.4 0l-7.1-7.1c-.4-.4-.4-1 0-1.4l7.1-7.1c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4L6.3 11z"}})])},K6={render:Q6},G6=function(){return _e({name:"IconArrowLeft",component:K6})()},W6=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"arrow-right_svg__st0",attrs:{d:"m17.7 11-5.4-5.4c-.4-.4-.4-1 0-1.4.4-.4 1-.4 1.4 0l7.1 7.1c.4.4.4 1 0 1.4l-7.1 7.1c-.4.4-1 .4-1.4 0-.4-.4-.4-1 0-1.4l5.4-5.4H4c-.6 0-1-.4-1-1s.4-1 1-1h13.7z"}})])},Y6={render:W6},X6=function(){return _e({name:"IconArrowRight",component:Y6})()},Z6=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M16 4c0-2-2-4-4-4H4C2 0 0 2 0 4v8c0 2 2 4 4 4h8c2 0 4-2 4-4V4Z",fill:"#fff","fill-rule":"evenodd"}}),o("path",{attrs:{d:"M16 4c0-2.21-1.8-4-4-4H4C1.79 0 0 1.79 0 4v8c0 2.2 1.79 4 4 4h8c2.2 0 4-1.8 4-4V4Zm-1 0c0-1.66-1.35-3-3-3H4C2.34 1 1 2.34 1 4v8c0 1.65 1.34 3 3 3h8c1.65 0 3-1.35 3-3V4Z",fill:"#191919","fill-rule":"evenodd"}})])},J6={render:Z6},Ms=function(){return _e({name:"IconCheck",component:J6})()},e4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M4 16h8c2.2 0 4-1.8 4-4V4c0-2.21-1.8-4-4-4H4C1.79 0 0 1.79 0 4v8c0 2.2 1.79 4 4 4Zm3.26-4.38 5.99-6.43a.6.6 0 1 0-.88-.82L6.8 10.35 3.6 7.19a.6.6 0 1 0-.84.86l3.64 3.59c.28.28.57.26.86-.02Z",fill:"currentColor","fill-rule":"evenodd"}}),o("path",{attrs:{d:"M13.25 5.17 7.26 11.6c-.29.29-.58.3-.86.02L2.76 8.03a.6.6 0 0 1-.01-.85c.24-.24.61-.24.85 0l3.2 3.15 5.57-5.98a.6.6 0 0 1 .85-.02c.24.22.26.6.03.84Z",fill:"#FFF","fill-rule":"evenodd"}})])},t4={render:e4},Ls=function(){return _e({name:"IconCheckedSur",component:t4})()},n4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticClass:"chevron-down_svg__st1",attrs:{d:"M3.16 5.36a.61.61 0 0 1 .79-.07l.09.07L8 9.32l3.96-3.96a.61.61 0 0 1 .79-.07l.09.07c.22.22.24.55.07.79l-.07.09-4.4 4.4a.61.61 0 0 1-.79.07l-.09-.07-4.4-4.4a.628.628 0 0 1 0-.88z"}})])},o4={render:n4},Zl=function(){return _e({name:"IconChevronDown",component:o4})()},r4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M5.42 7.42c-.31.32-.31.83 0 1.14l4.1 4.1c.23.23.62.23.85 0a.61.61 0 0 0 0-.85L6.56 8l3.81-3.83c.21-.2.23-.53.06-.76-.23-.24-.67-.3-.91-.08l-4.1 4.09Z"}})])},i4={render:r4},x2=function(){return _e({name:"IconChevronLeft",component:i4})()},a4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M10.56 7.43c.32.31.32.82 0 1.13l-4.1 4.1c-.23.24-.61.24-.85 0a.61.61 0 0 1 0-.85L9.43 8 5.61 4.18a.607.607 0 0 1-.06-.78l.06-.07c.24-.24.62-.24.85 0l4.1 4.1Z"}})])},s4={render:a4},Gu=function(){return _e({name:"IconChevronRight",component:s4})()},l4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"chevron-up_svg__st0",attrs:{d:"M3 17c0-.2.1-.5.2-.6l8-9.9c.2-.2.5-.4.8-.4s.6.1.8.4l7.9 9.9c.4.4.3 1.1-.2 1.4-.4.4-1.1.3-1.4-.2L12 8.7l-7.2 8.9c-.4.4-1 .5-1.4.2-.3-.2-.4-.5-.4-.8z"}})])},c4={render:l4},qm=function(){return _e({name:"IconChevronUp",component:c4})()},u4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12.49 3.3a.5.5 0 0 1 .05.62L8.58 7.89l3.91 3.88c.21.19.23.48.05.71-.17.19-.49.24-.71.06L7.88 8.58 4 12.49c-.18.17-.5.18-.68.01a.496.496 0 0 1-.08-.67l3.93-3.94L3.29 4a.524.524 0 0 1 .04-.71c.17-.14.42-.16.58-.05l3.97 3.93 3.9-3.87c.18-.22.51-.22.71 0Z","fill-rule":"evenodd"}})])},d4={render:u4},Kt=function(){return _e({name:"IconClose",component:d4})()},p4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"cloud-upload_svg__st0",attrs:{d:"M22.1 11.4c-.5-.7-1-1.2-1.6-1.6 0-.7-.2-1.3-.5-1.9-.3-.7-.8-1.4-1.5-2-.6-.6-1.3-1.1-2.1-1.4-.8-.3-1.6-.5-2.5-.5-1.3 0-2.6.4-3.7 1.1-.6.4-1.2.9-1.6 1.4-.3-.1-.7-.1-1-.1-.5 0-1.1.1-1.5.3-.5.2-.9.5-1.3.8-.4.4-.7.8-.9 1.2-.2.5-.3 1-.3 1.5v.4c-.5.3-1 .7-1.4 1.1-.8 1-1.2 2.1-1.2 3.3 0 .7.1 1.3.4 1.9.3.6.7 1.1 1.2 1.6s1.1.8 1.7 1.1c.6.2 1.3.4 2 .4H17c.8 0 1.6-.1 2.3-.4.7-.3 1.4-.7 1.9-1.2.6-.5 1-1.2 1.3-1.8.3-.7.4-1.4.4-2.2.1-1.1-.2-2.1-.8-3zM3.3 16c-.2-.4-.3-.8-.3-1.2 0-.4.1-.7.2-1.1.1-.3.3-.6.6-.9.3-.3.6-.6 1-.8l.9-.5-.2-1v-.3c0-.3.1-.5.2-.8.1-.2.3-.4.5-.6.2-.2.5-.4.7-.5.3-.1.6-.2.9-.2.2 0 .5 0 .7.1l1 .3.6-.8c.3-.4.7-.8 1.2-1.1.8-.5 1.7-.7 2.6-.7.7 0 1.3.1 1.8.3.6.2 1.1.5 1.5.9.5.4.8.9 1 1.4.2.4.3.9.3 1.4v.7l.6.4c.4.3.8.6 1.1 1l.1.1c.2.3.4.6.5 1 .1.3.2.7.2 1.1 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.2-.4.4-.8.6-1.3.8-.5.2-1 .3-1.6.3H6.5c-.5 0-.9-.1-1.3-.2-.4-.2-.8-.4-1.1-.7-.4-.2-.7-.6-.8-1zm7.6-3.5c.2 0 .4-.1.6-.2l1.7-1.5v5.5c0 .4.4.8.9.8s.9-.4.9-.8v-5.5l1.7 1.5c.2.2.4.2.6.2s.4-.1.6-.2c.3-.3.3-.8 0-1.1l-3.1-2.9c-.4-.2-.6-.3-.8-.3-.2 0-.4.1-.6.2l-3.1 2.9c-.3.3-.3.8 0 1.1.1.2.3.3.6.3z"}})])},h4={render:p4},T2=function(){return _e({name:"IconCloudUpload",component:h4})()},m4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"copy_svg__st0",attrs:{d:"m21.5 5.6-5-5.1-.3-.3s-.1 0-.1-.1H16c-.2 0-.4-.1-.7-.1H7c-.9 0-2 1.1-2 2v1H4c-.9 0-2 1.1-2 2v17c0 .9 1.1 2 2 2h13c.9 0 2-1.1 2-2v-1h1c.9 0 2-1.1 2-2V7c0-.4-.2-1.1-.5-1.4zM16 3l3 3h-3V3zm1 19H4V5h1v14c0 .9 1.2 2 2 2h10v1zm3-3H7V2h7v4c0 .9 1.1 2 2 2h4v11zm-5-9c0-.6-.4-1-.8-1H9.9c-.5 0-.9.4-.9 1s.4 1 .8 1h4.3c.5 0 .9-.4.9-1zm3 3c0-.6-.4-1-.8-1H9.9c-.5 0-.8.4-.8 1s.4 1 .8 1h7.3c.4 0 .8-.4.8-1zm-1 3c0-.6-.4-1-.9-1H9.9c-.5 0-.9.4-.9 1s.4 1 .9 1h6.2c.5 0 .9-.4.9-1z"}})])},f4={render:m4},k2=function(){return _e({name:"IconCopy",component:f4})()},g4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M9.37 1.03c.58 0 1.09.33 1.25.83l.5 1.76h3.01c.25 0 .5.25.5.5s-.25.5-.5.5H1.86c-.25 0-.5-.25-.5-.5s.25-.5.5-.5h2.92l.67-1.76c.17-.5.67-.83 1.17-.83h2.75Zm-2.67.92h2.67c.17 0 .25.08.33.16l.42 1.42H5.87l.5-1.42c0-.08.17-.16.33-.16Zm6.34 3.83c0-.25-.25-.5-.5-.5s-.5.25-.5.5v7.34c0 .5-.42.839-.83.839H4.45c-.5 0-.83-.42-.83-.84V5.78c0-.25-.25-.5-.5-.5s-.5.25-.5.5v7.34c0 1 .83 1.84 1.83 1.84h6.76c1 0 1.83-.84 1.83-1.84V5.78ZM6.28 6.79c.26 0 .51.25.51.5v4.58c0 .17-.09.25-.17.339-.08.08-.25.16-.34.16-.33 0-.5-.25-.5-.5V7.29c0-.25.25-.5.5-.5Zm3.59.5c0-.25-.25-.5-.5-.5s-.5.25-.5.5v4.58c0 .25.25.5.5.5s.5-.25.5-.5V7.29Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},v4={render:g4},C2=function(){return _e({name:"IconDel",component:v4})()},y4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"delta-down_svg__st0",attrs:{d:"M2 6h20L12 19z"}})])},b4={render:y4},w4=function(){return _e({name:"IconDeltaDown",component:b4})()},x4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8.54 2.6c0-.28-.22-.5-.5-.5s-.5.22-.5.5v8.359l-2.02-2.01c-.19-.199-.51-.199-.71 0-.19.19-.19.51 0 .701l2.83 2.83c.2.2.51.2.71 0l2.83-2.83a.502.502 0 0 0 0-.7l-.07-.061a.492.492 0 0 0-.64.06l-1.93 1.93v-8.28ZM14 10.5c.27 0 .5.219.5.5v1.28c0 1.22-1 2.22-2.22 2.22H3.71c-1.22 0-2.21-1-2.21-2.22V11a.501.501 0 0 1 1 0v1.28c0 .67.54 1.22 1.21 1.22h8.57c.67 0 1.22-.55 1.22-1.22V11c0-.281.22-.5.5-.5Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},T4={render:x4},k4=function(){return _e({name:"IconDownload",component:T4})()},C4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticStyle:{"fill-rule":"evenodd","clip-rule":"evenodd"},attrs:{d:"M5.48 14.29c.19-.08.35-.19.49-.33l7.69-7.69c.13-.13.25-.27.34-.42.08-.13.15-.27.21-.41s.1-.29.13-.44a2.074 2.074 0 0 0 0-1c-.03-.15-.07-.3-.13-.44s-.13-.28-.21-.41c-.09-.15-.21-.29-.34-.42-.13-.13-.27-.24-.42-.34-.13-.08-.26-.15-.4-.21-.15-.05-.29-.1-.44-.13-.17-.03-.33-.05-.5-.05-.18 0-.34.02-.51.05-.15.03-.29.08-.44.13-.14.06-.27.13-.4.21-.15.1-.29.21-.42.34l-7.69 7.69c-.15.15-.25.31-.33.49-.08.18-.11.38-.11.58v2.21c0 .1.01.19.05.27.03.08.08.16.15.22.07.07.14.12.23.16.08.03.17.05.27.05h2.21c.2 0 .39-.04.57-.11zm7.48-8.73-1.13 1.13-2.12-2.13 1.12-1.12c.09-.08.18-.15.27-.21.07-.05.15-.09.23-.12.08-.03.17-.06.25-.08a1.733 1.733 0 0 1 .63 0c.08.02.17.05.25.08.08.03.16.07.23.12.09.06.18.13.27.21.08.08.15.17.21.27.04.07.08.15.12.23.03.08.05.16.07.25.02.1.04.2.04.31s-.02.21-.04.31c-.02.09-.04.17-.07.25-.08.19-.19.36-.33.5zm-7.7 7.69 5.86-5.86L9 5.27l-5.86 5.86c-.1.1-.14.22-.14.36v1.91h1.91c.14 0 .26-.05.35-.15zm2.75.63c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5s-.22.5-.5.5h-5c-.28 0-.5-.22-.5-.5z"}})])},A4={render:C4},S4=function(){return _e({name:"IconEdit",component:A4})()},E4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticStyle:{"fill-rule":"evenodd","clip-rule":"evenodd"},attrs:{d:"M5.48 14.29c.19-.08.35-.19.49-.33l7.69-7.69c.13-.13.25-.27.34-.42.08-.13.15-.27.21-.41s.1-.29.13-.44a2.074 2.074 0 0 0 0-1c-.03-.15-.07-.3-.13-.44s-.13-.28-.21-.41c-.09-.15-.21-.29-.34-.42-.13-.13-.27-.24-.42-.34-.13-.08-.26-.15-.4-.21-.15-.05-.29-.1-.44-.13-.17-.03-.33-.05-.5-.05-.18 0-.34.02-.51.05-.15.03-.29.08-.44.13-.14.06-.27.13-.4.21-.15.1-.29.21-.42.34l-7.69 7.69c-.15.15-.25.31-.33.49-.08.18-.11.38-.11.58v2.21c0 .1.01.19.05.27.03.08.08.16.15.22.07.07.14.12.23.16.08.03.17.05.27.05h2.21c.2 0 .39-.04.57-.11zm7.48-8.73-1.13 1.13-2.12-2.13 1.12-1.12c.09-.08.18-.15.27-.21.07-.05.15-.09.23-.12.08-.03.17-.06.25-.08a1.733 1.733 0 0 1 .63 0c.08.02.17.05.25.08.08.03.16.07.23.12.09.06.18.13.27.21.08.08.15.17.21.27.04.07.08.15.12.23.03.08.05.16.07.25.02.1.04.2.04.31s-.02.21-.04.31c-.02.09-.04.17-.07.25-.08.19-.19.36-.33.5zm-7.7 7.69 5.86-5.86L9 5.27l-5.86 5.86c-.1.1-.14.22-.14.36v1.91h1.91c.14 0 .26-.05.35-.15zm2.75.63c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5s-.22.5-.5.5h-5c-.28 0-.5-.22-.5-.5z"}})])},$4={render:E4},P4=function(){return _e({name:"IconEditor",component:$4})()},_4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M2.55 7.96v.08c.02.65.55 1.16 1.2 1.16.66 0 1.2-.53 1.2-1.2 0-.66-.54-1.2-1.2-1.2-.65 0-1.18.52-1.2 1.16ZM6.79 8.01c0 .66.53 1.2 1.2 1.2.66 0 1.2-.54 1.2-1.2 0-.67-.54-1.2-1.2-1.2-.67 0-1.2.53-1.2 1.2ZM11.03 7.96v.08c.02.64.55 1.16 1.2 1.16.66 0 1.2-.54 1.2-1.2 0-.67-.54-1.2-1.2-1.2-.65 0-1.18.51-1.2 1.16Z"}})])},M4={render:_4},L4=function(){return _e({name:"IconEllipsis",component:M4})()},I4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{"data-name":"图层 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"}},e.$listeners),[o("path",{staticStyle:{"fill-rule":"evenodd",fill:"var(--tv-color-error-icon)"},attrs:{"data-name":"路径",d:"M8 1C4.13 1 1 4.13 1 8s3.13 7 7 7 7-3.14 7-7-3.14-7-7-7Z"}}),o("path",{staticStyle:{fill:"#fff","fill-rule":"evenodd"},attrs:{"data-name":"形状结合",d:"M10.62 4.9c.13 0 .24.05.34.14.09.09.14.2.14.34s-.05.24-.14.34L8.67 8.01l2.29 2.29c.09.09.14.2.14.34a.476.476 0 0 1-.48.48c-.14 0-.24-.05-.34-.14L7.99 8.69 5.7 10.98c-.09.09-.2.14-.34.14a.476.476 0 0 1-.48-.48c0-.14.05-.24.14-.34l2.29-2.29-2.29-2.29c-.09-.09-.14-.2-.14-.34a.476.476 0 0 1 .48-.48c.14 0 .24.05.34.14l2.29 2.29 2.29-2.29c.09-.09.2-.14.34-.14Z"}})])},N4={render:I4},Is=function(){return _e({name:"IconError",component:N4})()},O4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{attrs:{d:"m3.49 5.21.72.72-.23.18c-.16.13-.3.27-.46.4l-.25.23c-.39.39-.75.79-1.05 1.2L2.16 8l-.05.06-.17.24.28.38.19.24c.33.4.7.8 1.1 1.19l.18.16c1.32 1.18 2.78 1.87 4.32 1.87h.23c.61-.02 1.21-.17 1.78-.4l.76.76-.22.1c-.81.35-1.67.55-2.56.55h-.22c-1.81-.06-3.47-.92-4.95-2.29l-.27-.25c-.42-.42-.81-.86-1.15-1.3l-.04-.09-.05-.06-.17-.24-.14-.19-.1-.16-.04-.07a.5.5 0 0 1 0-.38l.04-.08.1-.16.13-.19.17-.24.1-.13.21-.27c.35-.44.76-.87 1.2-1.28.22-.19.44-.39.67-.56zm.27-2.35h.07c.1.01.19.06.28.15l1.12 1.12c.88-.42 1.8-.65 2.77-.65h.23c1.81.06 3.47.92 4.95 2.29l.27.25c.42.42.81.86 1.15 1.3l.05.07.05.06.17.24.13.19.1.16.04.07c.05.12.05.25.01.38l-.05.09-.1.16-.13.19-.17.25-.1.13-.2.27c-.35.44-.76.87-1.2 1.28l-.24.22c-.13.12-.28.24-.42.35l.79.79.05.06c.15.19.13.47-.05.65l-.06.05c-.19.15-.47.13-.65-.05l-.94-.93-.73-.73-1.33-1.33-.21-.22-6-6.01-.05-.06c-.15-.2-.14-.47.05-.66a.52.52 0 0 1 .35-.13zM5.3 7.02l.78.78-.03.12c-.03.13-.04.25-.04.38v.12c.05 1.06.92 1.88 1.99 1.88h.13c.13-.01.25-.04.39-.06l.78.78-.15.06c-.35.15-.74.23-1.14.23h-.14a2.993 2.993 0 0 1-2.86-2.99c-.02-.48.09-.91.29-1.3zM8 4.47h-.22c-.62.03-1.21.16-1.79.4l.73.73c.39-.18.82-.29 1.3-.29h.15c1.59.07 2.86 1.38 2.86 2.99v.17c-.02.4-.12.79-.29 1.13l1.09 1.09c.23-.18.46-.38.69-.59l.24-.23c.39-.39.75-.79 1.05-1.2l.05-.06.05-.06.18-.25-.28-.38-.19-.24c-.33-.4-.7-.8-1.1-1.19l-.18-.16C10.98 5.16 9.54 4.47 8 4.47zM8 6.3h-.13c-.14.02-.26.03-.38.06l2.45 2.45c.05-.17.07-.34.07-.52v-.12A2.02 2.02 0 0 0 8 6.3z"}})])},D4={render:O4},A2=function(){return _e({name:"IconEyeclose",component:D4})()},B4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticClass:"eyeopen_svg__st1",attrs:{d:"M8 3.16c1.89 0 3.63.87 5.17 2.3.53.5 1 1.02 1.41 1.55.03.05.07.09.1.14l.17.23.14.2.1.15c.1.16.1.37 0 .53l-.1.15-.14.2-.17.23-.1.14c-.41.52-.88 1.05-1.41 1.55-1.54 1.43-3.28 2.3-5.17 2.3-1.9 0-3.64-.87-5.18-2.3-.53-.5-1-1.03-1.41-1.55-.03-.05-.07-.09-.1-.14l-.17-.23-.14-.2-.1-.15c-.1-.16-.1-.37 0-.53l.1-.15.14-.2.17-.23.1-.14c.41-.53.88-1.05 1.41-1.55C4.36 4.03 6.1 3.16 8 3.16zm0 1c-1.61 0-3.12.76-4.5 2.03-.49.46-.92.95-1.3 1.43l-.09.12-.18.25.27.38c.38.48.81.97 1.3 1.42 1.38 1.28 2.89 2.04 4.5 2.04 1.6 0 3.11-.76 4.49-2.04.49-.45.92-.94 1.3-1.42l.09-.12.18-.26-.27-.37c-.38-.48-.81-.97-1.3-1.43C11.11 4.92 9.6 4.16 8 4.16zM8 5c1.65 0 3 1.34 3 3 0 1.65-1.35 3-3 3-1.66 0-3-1.35-3-3 0-1.66 1.34-3 3-3zm0 1c-1.11 0-2 .89-2 2a2 2 0 1 0 2-2z"}})])},q4={render:B4},S2=function(){return _e({name:"IconEyeopen",component:q4})()},F4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M9.311 9.033a.5.5 0 0 1 .41-.492l.09-.008h3.039c.593 0 1.08.449 1.143 1.025l.007.125v2.53a1.15 1.15 0 0 1-1.025 1.143l-.125.007H9.811a.5.5 0 0 1-.09-.992l.09-.008h3.039a.15.15 0 0 0 .142-.103l.008-.047v-2.53a.15.15 0 0 0-.103-.142l-.047-.008H9.811a.5.5 0 0 1-.5-.5Zm0-5.834a.5.5 0 0 1 .41-.492l.09-.008h1.01c.593 0 1.081.448 1.144 1.024l.006.126v2.53a1.15 1.15 0 0 1-1.024 1.143l-.126.007h-1.01a.5.5 0 0 1-.09-.992l.09-.008h1.01a.15.15 0 0 0 .143-.103l.007-.047v-2.53a.15.15 0 0 0-.102-.143L10.82 3.7h-1.01a.5.5 0 0 1-.5-.5Zm-2.006-.67a.5.5 0 0 1 .992-.094l.008.094v11a.5.5 0 0 1-.992.09l-.008-.09v-11ZM2 9.683c0-.593.449-1.08 1.025-1.143l.125-.007h2.651a.5.5 0 0 1 .09.992l-.09.008H3.15a.15.15 0 0 0-.142.103L3 9.683v2.53a.15.15 0 0 0 .103.142l.047.008h2.651a.5.5 0 0 1 .09.992l-.09.008H3.15a1.15 1.15 0 0 1-1.143-1.025L2 12.213v-2.53ZM3.971 3.85c0-.593.449-1.081 1.025-1.144l.125-.006h.68a.5.5 0 0 1 .09.992l-.09.008h-.68a.15.15 0 0 0-.142.102l-.008.048v2.53a.15.15 0 0 0 .103.142l.047.008h.68a.5.5 0 0 1 .09.992l-.09.008h-.68a1.15 1.15 0 0 1-1.143-1.025l-.007-.125v-2.53Z"}})])},R4={render:F4},E2=function(){return _e({name:"EditorAlignCenter",component:R4})()},j4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M4.498 8.498c-.644 0-1.166.523-1.166 1.167v2.5c0 .644.522 1.167 1.166 1.167h5.664a1.17 1.17 0 0 0 1.17-1.167v-2.5a1.17 1.17 0 0 0-1.17-1.167ZM1.835 2.672a.5.5 0 0 0-.492.41l-.008.09v9.656a.5.5 0 0 0 .992.09l.008-.09V3.172a.5.5 0 0 0-.5-.5Zm2.663 6.826h5.664a.17.17 0 0 1 .17.167v2.5a.17.17 0 0 1-.17.167H4.498a.167.167 0 0 1-.166-.167v-2.5c0-.092.074-.167.166-.167Zm0-6.83c-.644 0-1.166.523-1.166 1.167v2.5c0 .644.522 1.167 1.166 1.167h8.997a1.17 1.17 0 0 0 1.17-1.167v-2.5a1.17 1.17 0 0 0-1.17-1.167Zm-.006 1h9.003a.17.17 0 0 1 .17.167v2.5a.17.17 0 0 1-.17.167H4.492a.167.167 0 0 1-.167-.167v-2.5c0-.092.075-.167.167-.167Z"}})])},z4={render:j4},$2=function(){return _e({name:"EditorAlignLeft",component:z4})()},U4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M11.502 8.498c.644 0 1.166.523 1.166 1.167v2.5c0 .644-.522 1.167-1.166 1.167H5.838a1.17 1.17 0 0 1-1.17-1.167v-2.5a1.17 1.17 0 0 1 1.17-1.167Zm2.663-5.826a.5.5 0 0 1 .492.41l.008.09v9.656a.5.5 0 0 1-.992.09l-.008-.09V3.172a.5.5 0 0 1 .5-.5Zm-2.663 6.826H5.838a.17.17 0 0 0-.17.167v2.5a.17.17 0 0 0 .17.167h5.664a.167.167 0 0 0 .166-.167v-2.5a.167.167 0 0 0-.166-.167Zm0-6.83c.644 0 1.166.523 1.166 1.167v2.5c0 .644-.522 1.167-1.166 1.167H2.505a1.17 1.17 0 0 1-1.17-1.167v-2.5a1.17 1.17 0 0 1 1.17-1.167Zm.006 1H2.505a.17.17 0 0 0-.17.167v2.5a.17.17 0 0 0 .17.167h9.003a.167.167 0 0 0 .167-.167v-2.5a.167.167 0 0 0-.167-.167Z"}})])},V4={render:U4},P2=function(){return _e({name:"EditorAlignRight",component:V4})()},H4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M11.062 1.97c.397 0 .795.153 1.099.458.604.604.61 1.577.013 2.173L7.177 9.6a.655.655 0 0 1-.187.132l-2.764 1.303a.505.505 0 0 1-.67-.671l1.302-2.764a.664.664 0 0 1 .132-.187l4.997-4.997a1.514 1.514 0 0 1 1.075-.444ZM9.86 3.956 5.738 8.078l-.69 1.462 1.463-.69 4.122-4.122-.773-.773Zm1.202-.984-.047.002a.511.511 0 0 0-.321.15l-.127.125.773.773.127-.126a.515.515 0 0 0 .149-.325l.002-.047a.551.551 0 0 0-.164-.388.554.554 0 0 0-.392-.164ZM12.333 12.207a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-.5.5H3.667a.5.5 0 0 1-.5-.5v-1.5a.5.5 0 0 1 .5-.5Z"}})])},Q4={render:H4},_2=function(){return _e({name:"EditorBackground",component:Q4})()},K4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8.549 1.167a3.417 3.417 0 0 1 2.238 5.998 4.08 4.08 0 0 1 2.128 3.585 4.083 4.083 0 0 1-4.083 4.083.67.67 0 0 1-.139-.015l-.066.01-.078.005H4.75a1.667 1.667 0 0 1-1.663-1.557l-.004-.11V2.834c0-.883.688-1.606 1.557-1.663l.11-.003h3.798ZM4.417 8v5.167c0 .163.119.3.274.328l.06.005h3.798a.67.67 0 0 1 .14.015.67.67 0 0 1 .143-.016 2.75 2.75 0 1 0 0-5.499H4.417ZM8.55 2.5H4.75c-.163 0-.3.118-.328.273l-.005.06v3.834h4.13a2.083 2.083 0 0 0 0-4.167Z"}})])},G4={render:K4},M2=function(){return _e({name:"EditorBold",component:G4})()},W4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M9.73 3.675a.5.5 0 0 1 .299.585l-.021.065-3.089 7.721a.5.5 0 0 1-.95-.306l.022-.065 3.088-7.721a.5.5 0 0 1 .65-.279Zm-4.662.112a.5.5 0 0 1 .05.651l-.048.057-3.045 3.06a.657.657 0 0 0-.054.866l.054.062 3.007 3.023a.5.5 0 0 1-.653.754l-.056-.049L1.316 9.19a1.657 1.657 0 0 1-.08-2.252l.08-.087 3.045-3.06a.5.5 0 0 1 .707-.003Zm6.515-.046.056.048 3.045 3.06c.616.62.643 1.603.08 2.253l-.08.087-3.004 3.02a.5.5 0 0 1-.758-.65l.049-.056 3.004-3.02a.657.657 0 0 0 .054-.866l-.054-.062-3.045-3.06a.5.5 0 0 1 .653-.754Z"}})])},Y4={render:W4},L2=function(){return _e({name:"EditorCode",component:Y4})()},X4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M13.333 7.5a.5.5 0 0 1 .068.995l-.068.005H2.667a.5.5 0 0 1-.068-.995l.068-.005h10.666Z"}}),o("path",{attrs:{d:"M7.82 1.5c-1.189 0-2.158.293-2.913.878-.788.595-1.179 1.378-1.179 2.359 0 .995.41 1.76 1.242 2.308.46.321 1.27.66 2.426 1.013l1.055.31c.855.26 1.445.479 1.771.66.775.422 1.17 1.042 1.17 1.847 0 1.722-1.143 2.586-3.375 2.586-1.068 0-1.874-.224-2.42-.678-.382-.328-.669-.787-.86-1.378a24.088 24.088 0 0 1-.2-.718.519.519 0 0 0-.616-.37.531.531 0 0 0-.406.609c.05.284.093.493.132.628.52 1.822 1.813 2.795 3.895 2.93l.255.012.263.004c3.007 0 4.485-1.228 4.485-3.698 0-1.027-.432-1.833-1.306-2.428-.557-.381-1.524-.766-2.899-1.152l-.542-.167c-.856-.271-1.474-.509-1.858-.715-.7-.406-1.058-.951-1.058-1.627 0-.654.28-1.189.831-1.597.527-.385 1.223-.577 2.085-.577 1.04 0 1.826.233 2.353.702.402.338.69.831.867 1.478l.12.464a.523.523 0 0 0 .647.371.554.554 0 0 0 .39-.662c-.056-.235-.095-.39-.115-.469-.476-1.805-1.713-2.77-3.73-2.906l-.25-.013-.26-.004Z"}})])},Z4={render:X4},I2=function(){return _e({name:"EditorDeleteline",component:Z4})()},J4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8.588 1.99a2.002 2.002 0 0 1 2.83 0l2.591 2.591a2 2 0 0 1 0 2.83L7.412 14.01a2.002 2.002 0 0 1-2.83 0L1.99 11.419a2.003 2.003 0 0 1 0-2.831Zm4.703 11.177a.5.5 0 0 1 .067.995l-.067.005H10a.5.5 0 0 1-.068-.996l.068-.004h3.29ZM3.757 8.235l-1.06 1.06a1.003 1.003 0 0 0 0 1.417l2.592 2.59c.39.391 1.025.391 1.416 0l1.06-1.06-4.008-4.007Zm6.954-5.537a1.002 1.002 0 0 0-1.416 0l-4.83 4.83 4.006 4.007 4.831-4.83a1 1 0 0 0 .084-1.322l-.084-.095Z"}})])},eE={render:J4},N2=function(){return _e({name:"EditorEraser",component:eE})()},tE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M4.667 14.667a.5.5 0 0 1-.068-.996l.068-.004h1.596l2.45-11.334h-1.38a.5.5 0 0 1-.068-.995l.068-.005h4a.5.5 0 0 1 .068.996l-.068.004H9.737L7.286 13.666h1.38a.5.5 0 0 1 .069.996l-.068.005h-4Z"}})])},nE={render:tE},O2=function(){return _e({name:"EditorItalic",component:nE})()},oE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M2 2.667a.5.5 0 0 1 .995-.068L3 2.667v11a.5.5 0 0 1-.995.068L2 13.667v-11ZM14 4a2 2 0 0 0-1.882-1.997L12 2H4.167a.5.5 0 0 0-.068.995L4.167 3H12a1 1 0 0 1 .995.904L13 4v8a1 1 0 0 1-.904.995L12 13H4.167a.5.5 0 0 0-.068.995l.068.005H12a2 2 0 0 0 1.997-1.882L14 12V4Z"}})])},rE={render:oE},D2=function(){return _e({name:"EditorLeftBorder",component:rE})()},iE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M3.47 4c0-.42-.33-.75-.75-.75a.749.749 0 1 0 0 1.5c.42 0 .75-.34.75-.75Zm10.58 0c0-.28-.22-.5-.5-.5H5.1c-.27 0-.5.22-.5.5 0 .27.23.5.5.5h8.45c.28 0 .5-.23.5-.5ZM2.72 7.25c.42 0 .75.33.75.75a.749.749 0 1 1-1.5 0c0-.42.34-.75.75-.75ZM14.05 8c0-.28-.22-.5-.5-.5H5.1c-.27 0-.5.22-.5.5 0 .27.23.5.5.5h8.45c.28 0 .5-.23.5-.5ZM3.47 12c0-.42-.33-.75-.75-.75a.749.749 0 1 0 0 1.5c.42 0 .75-.34.75-.75Zm10.08-.5c.28 0 .5.22.5.5 0 .27-.22.5-.5.5H5.1c-.27 0-.5-.23-.5-.5 0-.28.23-.5.5-.5h8.45Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},aE={render:iE},B2=function(){return _e({name:"EditorList",component:aE})()},sE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M3.74 12.01a.666.666 0 1 1 .002 1.331.666.666 0 0 1-.001-1.332Zm8.686.146a.5.5 0 0 1 .068.996l-.068.004H5.76a.5.5 0 0 1-.067-.995l.067-.005h6.667ZM3.741 7.324a.666.666 0 1 1 0 1.332.666.666 0 0 1 0-1.332Zm8.685.166a.5.5 0 0 1 .068.996l-.068.004H5.76a.5.5 0 0 1-.067-.995l.067-.005h6.667ZM3.741 2.658a.666.666 0 1 1 0 1.332.666.666 0 0 1 0-1.332Zm8.685.166a.5.5 0 0 1 .068.996l-.068.004H5.76a.5.5 0 0 1-.067-.995l.067-.005h6.667Z"}})])},lE={render:sE},q2=function(){return _e({name:"EditorListDot",component:lE})()},cE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12.426 12.156a.5.5 0 0 1 .068.996l-.068.004H6.76a.5.5 0 0 1-.067-.995l.067-.005h5.667Zm0-4.666a.5.5 0 0 1 .068.996l-.068.004H6.76a.5.5 0 0 1-.067-.995l.067-.005h5.667Zm0-4.666a.5.5 0 0 1 .068.996l-.068.004H6.76a.5.5 0 0 1-.067-.995l.067-.005h5.667ZM4.3 1.65c.157 0 .287.111.317.259l.007.065v1.99h.602a.324.324 0 0 1 .065.642l-.065.007H3.374a.324.324 0 0 1-.065-.642l.065-.006h.601V2.298h-.6a.324.324 0 0 1-.318-.259l-.007-.065c0-.157.111-.287.259-.317l.065-.007H4.3ZM3.358 6.658a1.053 1.053 0 0 1 1.577 1.39l-.088.1-.603.602h.721c.17 0 .31.12.343.28l.007.07c0 .17-.12.31-.28.343l-.07.007H3.4a.35.35 0 0 1-.295-.54l.048-.057 1.2-1.2a.353.353 0 1 0-.597-.317l-.006.07a.35.35 0 1 1-.7.004 1.05 1.05 0 0 1 .308-.752ZM4.2 10.95c.632 0 1.15.439 1.15 1.04 0 .195-.05.358-.139.489l-.082.1c.14.163.221.37.221.612 0 .602-.518 1.04-1.15 1.04-.632 0-1.15-.438-1.15-1.04a.35.35 0 0 1 .693-.07l.007.07c0 .187.182.34.45.34s.45-.153.45-.34c0-.17-.165-.297-.45-.297a.35.35 0 1 1 0-.7c.328 0 .45-.074.45-.203 0-.187-.182-.341-.45-.341-.204 0-.372.114-.429.263l-.017.066a.35.35 0 1 1-.692-.105c.08-.534.57-.924 1.138-.924Z"}})])},uE={render:cE},F2=function(){return _e({name:"EditorListNum",component:uE})()},dE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M13.5 12.833a.5.5 0 0 1 .068.996l-.068.004h-11a.5.5 0 0 1-.068-.995l.068-.005h11ZM4.597 5.362c.21-.21.57-.06.57.236v4.805c0 .296-.36.445-.57.236l-2.26-2.262a.532.532 0 0 1 0-.754ZM13.5 9.278a.5.5 0 0 1 .068.995l-.068.005H6.833a.5.5 0 0 1-.068-.995l.068-.005H13.5Zm0-3.556a.5.5 0 0 1 .068.996l-.068.004H6.833a.5.5 0 0 1-.068-.995l.068-.005H13.5Zm0-3.555a.5.5 0 0 1 .068.995l-.068.005h-11a.5.5 0 0 1-.068-.996l.068-.004h11Z"}})])},pE={render:dE},R2=function(){return _e({name:"EditorMenuLeft",component:pE})()},hE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M13.5 12.833a.5.5 0 0 1 .068.996l-.068.004h-11a.5.5 0 0 1-.068-.995l.068-.005h11ZM2.167 5.598c0-.297.358-.446.569-.236l2.26 2.261a.532.532 0 0 1 0 .754l-2.26 2.261a.333.333 0 0 1-.57-.235ZM13.5 9.278a.5.5 0 0 1 .068.995l-.068.005H6.833a.5.5 0 0 1-.068-.995l.068-.005H13.5Zm0-3.556a.5.5 0 0 1 .068.996l-.068.004H6.833a.5.5 0 0 1-.068-.995l.068-.005H13.5Zm0-3.555a.5.5 0 0 1 .068.995l-.068.005h-11a.5.5 0 0 1-.068-.996l.068-.004h11Z"}})])},mE={render:hE},Fm=function(){return _e({name:"EditorMenuRight",component:mE})()},fE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M6.2 2.7a.3.3 0 0 1 .3.3v3.7h-.003v.048C6.396 10.198 4.232 13 1.5 13a.5.5 0 1 1 0-1c2.125 0 3.92-2.33 3.997-5.299L2.8 6.7a.3.3 0 0 1-.3-.3V3a.3.3 0 0 1 .3-.3h3.4Zm7 0a.3.3 0 0 1 .3.3v3.7h-.003v.048C13.396 10.198 11.232 13 8.5 13a.5.5 0 1 1 0-1c2.125 0 3.92-2.33 3.997-5.299L9.8 6.7a.3.3 0 0 1-.3-.3V3a.3.3 0 0 1 .3-.3h3.4Z"}})])},gE={render:fE},j2=function(){return _e({name:"EditorQuote",component:gE})()},vE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"m10.326 3.313 3.86 3.862a.834.834 0 0 1 0 1.179l-3.861 3.862a.828.828 0 0 1-.907.18.83.83 0 0 1-.515-.77L8.902 9.94c-1.688.05-3.127.357-4.283.913a.499.499 0 1 1-.434-.901c1.405-.676 3.16-1.02 5.218-1.02a.5.5 0 0 1 .5.5v1.794l3.46-3.46-3.46-3.46v1.793a.5.5 0 0 1-.41.492l-.09.008c-2.582 0-4.514.987-5.744 2.933C2.732 11 2.568 12.47 2.567 12.483a.5.5 0 1 1-.995-.104c.007-.067.757-6.46 7.33-6.77V3.904a.83.83 0 0 1 .516-.77.83.83 0 0 1 .908.18Z"}})])},yE={render:vE},z2=function(){return _e({name:"EditorRedo",component:yE})()},bE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M14 2.5a.5.5 0 0 0-.995-.068L13 2.5v11a.5.5 0 0 0 .995.068L14 13.5v-11ZM2 4a2 2 0 0 1 1.882-1.997L4 2h7.833a.5.5 0 0 1 .068.995L11.833 3H4a1 1 0 0 0-.995.904L3 4v8a1 1 0 0 0 .904.995L4 13h7.833a.5.5 0 0 1 .068.995l-.068.005H4a2 2 0 0 1-1.997-1.882L2 12V4Z"}})])},wE={render:bE},U2=function(){return _e({name:"EditorRightBorder",component:wE})()},xE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8.89 3.506a.5.5 0 0 1 .684.726L6.368 7.846l3.206 3.614a.5.5 0 0 1-.683.725l-.066-.062L5.7 8.6l-3.125 3.524-.066.062a.5.5 0 0 1-.683-.725L5.03 7.846 1.826 4.232a.5.5 0 0 1 .683-.726l.066.062L5.7 7.092l3.125-3.524ZM11.075 7.975a1.964 1.964 0 0 1 2.893 2.654l-.114.125-1.647 1.645 2.054.001a.5.5 0 0 1 .492.41l.008.09a.5.5 0 0 1-.41.492l-.09.008H11a.5.5 0 0 1-.41-.788l.056-.066 2.5-2.5a.964.964 0 1 0-1.638-.803l-.008.128a.5.5 0 0 1-1 .006 1.96 1.96 0 0 1 .575-1.402Z"}})])},TE={render:xE},V2=function(){return _e({name:"EditorSub",component:TE})()},kE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M2.8 2.496a.5.5 0 0 1 .492.41l.008.09v10a.5.5 0 0 1-.992.09l-.008-.09v-10a.5.5 0 0 1 .5-.5ZM8.8 2.496a.5.5 0 0 1 .492.41l.008.09v10a.5.5 0 0 1-.992.09l-.008-.09v-10a.5.5 0 0 1 .5-.5Z"}}),o("path",{attrs:{d:"M14.06 12.8H10.8l2.5-2.5a1.464 1.464 0 1 0-2.5-1.026",fill:"#fff"}}),o("path",{attrs:{d:"M8.8 7.5a.5.5 0 0 1 .09.992L8.8 8.5h-6a.5.5 0 0 1-.09-.992L2.8 7.5h6Z"}})])},CE={render:kE},H2=function(){return _e({name:"EditorSubtitle",component:CE})()},AE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M11.075 1.975a1.964 1.964 0 0 1 2.893 2.654l-.114.125-1.647 1.645 2.054.001a.5.5 0 0 1 .492.41l.008.09a.5.5 0 0 1-.41.492l-.09.008H11a.5.5 0 0 1-.41-.788l.056-.066 2.5-2.5a.964.964 0 1 0-1.638-.803l-.008.128a.5.5 0 0 1-1 .006 1.96 1.96 0 0 1 .575-1.402ZM8.891 3.715a.5.5 0 0 1 .683.725L6.368 8.057l3.2 3.611a.5.5 0 0 1-.682.726l-.066-.062L5.7 8.81l-3.12 3.522-.066.062a.5.5 0 0 1-.683-.726l3.2-3.61L1.826 4.44a.5.5 0 0 1 .683-.725l.065.062L5.7 7.303l3.126-3.526Z"}})])},SE={render:AE},Q2=function(){return _e({name:"EditorSuper",component:SE})()},EE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12 2.002a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2ZM5.641 6.5H3v5.503a1 1 0 0 0 .883.994l.117.006h1.641V6.5Zm3.667 0H6.641v6.503h2.667V6.5ZM13 6.497l-.025.003h-2.667v6.502H12a1 1 0 0 0 .993-.883l.007-.117V6.497Zm-1-3.495H4a1 1 0 0 0-1 1V5.5l9.975.001.025.001V4.002a1 1 0 0 0-.883-.993L12 3.002Z"}})])},$E={render:EE},K2=function(){return _e({name:"EditorTable",component:$E})()},PE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12.333 12.207a.5.5 0 0 1 .492.41l.008.09v1.5a.5.5 0 0 1-.41.492l-.09.008H3.667a.5.5 0 0 1-.492-.41l-.008-.09v-1.5a.5.5 0 0 1 .41-.492l.09-.008h8.666ZM9.036 1.959l.043.099 3.387 8.72a.5.5 0 0 1-.903.424l-.03-.062-1.272-3.276H5.738L4.466 11.14a.5.5 0 0 1-.952-.297l.02-.065 3.387-8.72a1.141 1.141 0 0 1 2.115-.099Zm-1.16.415-.023.046-1.726 4.444h3.746L8.147 2.42c-.06-.153-.197-.168-.271-.046Z"}})])},_E={render:PE},G2=function(){return _e({name:"EditorTextcolor",component:_E})()},ME=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M2.8 2.496a.5.5 0 0 1 .492.41l.008.09v10a.5.5 0 0 1-.992.09l-.008-.09v-10a.5.5 0 0 1 .5-.5ZM8.8 2.496a.5.5 0 0 1 .492.41l.008.09v10a.5.5 0 0 1-.992.09l-.008-.09v-10a.5.5 0 0 1 .5-.5Z"}}),o("path",{attrs:{d:"M8.8 7.5a.5.5 0 0 1 .09.992L8.8 8.5h-6a.5.5 0 0 1-.09-.992L2.8 7.5h6Z"}}),o("path",{attrs:{fill:"#fff",d:"m11.178 8.78 1.7-.942v5.238"}})])},LE={render:ME},W2=function(){return _e({name:"EditorTitle",component:LE})()},IE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12.333 13.667a.5.5 0 0 1 .068.996l-.068.004H3.667a.5.5 0 0 1-.068-.995l.068-.005h8.666Zm-.396-12.334a.5.5 0 0 1 .495.432l.005.068V8.23a4.437 4.437 0 0 1-8.871.156l-.003-.156V1.833a.5.5 0 0 1 .996-.068l.004.068V8.23a3.437 3.437 0 0 0 6.87.145l.004-.145V1.833a.5.5 0 0 1 .5-.5Z"}})])},NE={render:IE},Y2=function(){return _e({name:"EditorUnderline",component:NE})()},OE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"m6.574 6.158-.04-.01a.496.496 0 0 1-.076-.027l.031.013a.498.498 0 0 1-.318-.4l-.004-.067V3.873l-3.46 3.46 3.46 3.46V9l.002-.035.006-.055a.508.508 0 0 1 .424-.406l.068-.004c2.136 0 3.862.366 5.217 1.02a.5.5 0 1 1-.434.9c-1.111-.535-2.526-.86-4.283-.913V12a.5.5 0 0 1-.802.399l-.052-.045-4.667-4.667a.5.5 0 0 1-.048-.651l.048-.056 4.667-4.667a.5.5 0 0 1 .85.285l.004.069v2.511c2.828.132 4.824 1.385 6.09 3.388a8.747 8.747 0 0 1 1.016 2.31l.042.154.07.284.053.25.037.212c.01.065.017.122.022.172a.5.5 0 0 1-.994.104l-.016-.112-.02-.123A7.759 7.759 0 0 0 12.41 9.1c-1.162-1.84-3.006-2.934-5.744-2.934l-.093-.009Z"}})])},DE={render:OE},X2=function(){return _e({name:"EditorUndo",component:DE})()},BE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M9.757 2.833a2 2 0 0 1 1.997 1.883l.003.117v.53l1.621-.856a1.222 1.222 0 0 1 1.79.986l.004.094v4.826c0 .89-.913 1.47-1.71 1.121l-.085-.041-.646-.343a.5.5 0 0 1 .407-.91l.062.027.645.342a.222.222 0 0 0 .322-.148l.005-.048V5.587a.222.222 0 0 0-.281-.214l-.045.018-2.355 1.245a.5.5 0 0 1-.73-.373l-.004-.069v-1.36a1 1 0 0 0-.903-.996l-.097-.005H2.828a1 1 0 0 0-.995.904l-.005.096v6.334a1 1 0 0 0 .904.995l.096.005h6.93a1 1 0 0 0 .995-.904l.004-.096V7.893a.5.5 0 0 1 .996-.066l.004.066v3.274a2 2 0 0 1-1.882 1.996l-.118.004H2.828a2 2 0 0 1-1.997-1.883l-.003-.117V4.833A2 2 0 0 1 2.71 2.837l.118-.004h6.93ZM4.5 5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm0 .833a.667.667 0 1 0 0 1.334.667.667 0 0 0 0-1.334Z"}})])},qE={render:BE},Z2=function(){return _e({name:"EditorVideo",component:qE})()},FE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"fullscreen_svg__st0",attrs:{d:"M8 3H4.5l5.2 5.3c.4.4.4 1 0 1.4-.4.4-1 .4-1.4 0L3 4.3V8c0 .6-.4 1-1 1s-1-.4-1-1V2c0-.6.4-1 1-1h6c.5 0 1 .4 1 1s-.4 1-1 1zM8 21H4.5l5.2-5.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L3 19.7V16c0-.6-.4-1-1-1s-1 .4-1 1v6c0 .6.4 1 1 1h6c.5 0 1-.4 1-1s-.4-1-1-1zM16 3h3.5l-5.2 5.3c-.4.4-.4 1 0 1.4.4.4 1 .4 1.4 0L21 4.3V8c0 .6.4 1 1 1s1-.4 1-1V2c0-.6-.4-1-1-1h-6c-.5 0-1 .4-1 1s.4 1 1 1zM16 21h3.5l-5.2-5.3c-.4-.4-.4-1 0-1.4.4-.4 1-.4 1.4 0l5.3 5.4V16c0-.6.4-1 1-1s1 .4 1 1v6c0 .6-.4 1-1 1h-6c-.5 0-1-.4-1-1s.4-1 1-1z"}})])},RE={render:FE},Ns=function(){return _e({name:"IconFullscreen",component:RE})()},jE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M4 0h8c2.2 0 4 1.79 4 4v8c0 2.2-1.8 4-4 4H4c-2.21 0-4-1.8-4-4V4c0-2.21 1.79-4 4-4Zm6 5H6c-.56 0-1 .44-1 1v4c0 .55.44 1 1 1h4c.55 0 1-.45 1-1V6c0-.56-.45-1-1-1Z",fill:"currentColor","fill-rule":"evenodd"}}),o("path",{attrs:{d:"M6 5h4c.55 0 1 .44 1 1v4c0 .55-.45 1-1 1H6c-.56 0-1-.45-1-1V6c0-.56.44-1 1-1Z",fill:"#FFF","fill-rule":"evenodd"}})])},zE={render:jE},Wu=function(){return _e({name:"IconHalfselect",component:zE})()},UE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M15 8c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7 0 3.86 3.13 7 7 7 3.86 0 7-3.14 7-7ZM2 8c0-3.32 2.68-6 6-6 3.31 0 6 2.68 6 6 0 3.31-2.69 6-6 6-3.32 0-6-2.69-6-6Zm8.2-1.28c0-1.23-1-2.22-2.23-2.22s-2.22.99-2.22 2.22c0 .27.22.5.5.5.27 0 .5-.23.5-.5 0-.68.54-1.22 1.22-1.22.68 0 1.23.54 1.23 1.22 0 .67-.55 1.21-1.23 1.21-.27 0-.5.23-.5.5v1.23c0 .27.23.5.5.5l.09-.01c.24-.04.41-.24.41-.49v-.78l.12-.03c.93-.27 1.61-1.12 1.61-2.13Zm-2.27 3.87c.31 0 .57.25.57.56 0 .31-.26.56-.57.56a.56.56 0 0 1-.56-.56c0-.31.25-.56.56-.56Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},VE={render:UE},Rm=function(){return _e({name:"IconHelpCircle",component:VE})()},HE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{"data-name":"图层 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"}},e.$listeners),[o("path",{staticStyle:{"fill-rule":"evenodd",fill:"var(--tv-color-icon-control-active)"},attrs:{"data-name":"路径",d:"M8 1C4.13 1 1 4.13 1 8s3.13 7 7 7 7-3.14 7-7-3.14-7-7-7Z"}}),o("path",{staticStyle:{fill:"#fff","fill-rule":"evenodd"},attrs:{"data-name":"形状结合",d:"M7.93 5.71c-.47 0-.87-.39-.87-.87s.4-.84.87-.84.85.38.85.86-.38.85-.85.85Zm-.6 6.79c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h.3v-4h-.08c-.25 0-.45-.18-.49-.41V7c0-.28.22-.5.49-.5h1.08v5h.3c.28 0 .5.22.5.5s-.22.5-.5.5h-1.6Z"}})])},QE={render:HE},J2=function(){return _e({name:"IconHelp",component:QE})()},KE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"link_svg__st0",attrs:{d:"m16.9 12.7 1.4-1.4c1.6-1.6 1.6-4.1 0-5.7-1.6-1.6-4.1-1.6-5.7 0L11.2 7c-.4.4-1 .4-1.4 0-.4-.4-.4-1 0-1.4l1.4-1.4c2.3-2.3 6.1-2.3 8.5 0s2.3 6.1 0 8.5l-1.4 1.4c-.4.4-1 .4-1.4 0s-.3-1 0-1.4zm-4.2 4.2c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-1.4 1.4c-2.3 2.3-6.1 2.3-8.5 0s-2.3-6.1 0-8.5l1.4-1.4c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4l-1.4 1.4c-1.6 1.6-1.6 4.1 0 5.7 1.6 1.6 4.1 1.6 5.7 0l1.4-1.4zm-2.8-4.2 2.8-2.8c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-2.8 2.8c-.4.4-1 .4-1.4 0s-.4-1 0-1.4z"}})])},GE={render:KE},ew=function(){return _e({name:"IconLink",component:GE})()},WE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticClass:"loading_svg__icon",attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M511.883 287.998h-.362a31.999 31.999 0 0 1-31.66-31.977v-.361c0-.105.117-11.723.117-63.659v-96a31.999 31.999 0 1 1 64.001 0v96c0 52.586-.112 63.882-.12 64.338a32.003 32.003 0 0 1-31.976 31.66zm.115 672A31.999 31.999 0 0 1 480 928v-96.38c0-51.61-.112-63.174-.115-63.286s0-.242 0-.361a31.999 31.999 0 0 1 63.998-.314c0 .455.119 11.711.119 64.034v96.307a31.999 31.999 0 0 1-32.003 32zM330.9 363.021a31.898 31.898 0 0 1-22.866-9.612c-.076-.076-8.208-8.37-44.932-45.095l-67.903-67.885a31.999 31.999 0 0 1 45.257-45.253l67.881 67.882c37.183 37.183 45.09 45.253 45.412 45.578A31.999 31.999 0 0 1 330.9 363.02zm475.238 475.094a31.901 31.901 0 0 1-22.628-9.375l-67.885-67.88c-36.724-36.725-45.018-44.86-45.098-44.94a31.999 31.999 0 0 1 44.777-45.73c.325.318 8.395 8.23 45.578 45.412l67.881 67.882a31.999 31.999 0 0 1-22.625 54.63zm-582.137 0a31.901 31.901 0 0 0 22.628-9.375l67.882-67.88c36.724-36.725 45.022-44.86 45.097-44.94a31.999 31.999 0 0 0-44.776-45.73c-.325.318-8.395 8.23-45.578 45.412l-67.881 67.885A31.999 31.999 0 0 0 224 838.115zm31.949-294.056h-.362c-.104 0-11.722-.116-63.658-.116H95.943a31.999 31.999 0 1 1 0-64.002h95.997c52.586 0 63.882.112 64.337.12a31.999 31.999 0 0 1 31.66 31.977v.361a32.003 32.003 0 0 1-31.988 31.66zm511.99 0a32.003 32.003 0 0 1-31.995-31.667v-.361a31.999 31.999 0 0 1 31.66-31.97c.455 0 11.754-.12 64.34-.12h96.001a31.999 31.999 0 0 1 0 64.002h-96c-51.936 0-63.554.112-63.666.116h-.336zM693 363.018a31.999 31.999 0 0 1-22.863-54.382c.318-.325 8.23-8.395 45.412-45.578l67.882-67.885a31.999 31.999 0 1 1 45.263 45.256l-67.892 67.882c-31.02 31.023-41.644 41.76-44.241 44.393l-.697.723a31.909 31.909 0 0 1-22.864 9.59z"}})])},YE={render:WE},tw=function(){return _e({name:"IconLoading",component:YE})()},XE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"}},e.$listeners),[o("defs",{attrs:{fill:"none"}},[o("linearGradient",{attrs:{id:"loading-shadow_svg__a",x1:"-1285.88",y1:"25.63",x2:"-1286.89",y2:"25.13",gradientTransform:"matrix(29.6 0 0 29.6 38096.4 -732.8)",gradientUnits:"userSpaceOnUse"}},[o("stop",{attrs:{offset:"0","stop-color":"#191919","stop-opacity":"0"}}),o("stop",{attrs:{offset:"1","stop-color":"#191919"}})],1)],1),o("mask",{attrs:{fill:"none",id:"loading-shadow_svg__b","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0"}},[o("path",{attrs:{fill:"url(#loading-shadow_svg__a)",d:"M16 1.2c1 0 1.8.8 1.8 1.8S17 4.8 16 4.8C9.8 4.8 4.8 9.8 4.8 16s5 11.2 11.2 11.2 11.2-5 11.2-11.2c0-1 .8-1.8 1.8-1.8s1.8.8 1.8 1.8c0 8.2-6.6 14.8-14.8 14.8S1.2 24.2 1.2 16 7.8 1.2 16 1.2Z"}},[o("animateTransform",{attrs:{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 16 16",to:"360 16 16",dur:"1s",repeatCount:"indefinite"}})],1)]),o("g",{attrs:{mask:"url(#loading-shadow_svg__b)"}},[o("path",{attrs:{d:"M-.1 32H32V-.11H-.1V32Z","fill-rule":"evenodd"}})])])},ZE={render:XE},Yu=function(){return _e({name:"IconLoadingShadow",component:ZE})()},JE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"m520 875.2-29.9-33.6c-3-3.4-74.3-83.8-146.7-185.2-42.9-60.2-77.3-115.2-102-163.6C208.2 427.9 192 375.3 192 332c0-44.3 8.7-87.2 25.8-127.7 16.5-39.1 40.2-74.1 70.3-104.2 30.1-30.1 65.2-53.8 104.2-70.3C432.8 12.7 475.7 4 520 4s87.2 8.7 127.7 25.8c39.1 16.5 74.1 40.2 104.2 70.3 30.1 30.1 53.8 65.2 70.3 104.2C839.3 244.8 848 287.7 848 332c0 43.3-16.2 95.9-49.4 160.8-24.8 48.4-59.1 103.4-102 163.6-72.4 101.4-143.7 181.8-146.7 185.2L520 875.2zM520 84c-136.7 0-248 111.3-248 248 0 32.3 17.7 111.3 136.2 277.3 42 59 84.5 111.5 111.8 144.1 27.3-32.7 69.8-85.2 111.8-144.1C750.3 443.3 768 364.3 768 332c0-136.7-111.3-248-248-248z"}}),o("path",{attrs:{d:"M520 476c-80 0-145-65-145-145s65-145 145-145 145 65 145 145-65 145-145 145zm0-210c-35.8 0-65 29.2-65 65s29.2 65 65 65 65-29.2 65-65-29.2-65-65-65zm-.4 758c-125.6 0-244.4-17.7-334.3-49.9-46.2-16.5-83.1-36.3-109.6-58.8C34.6 880.4 26 845 26 821.5c0-28.1 12.1-69.8 69.8-108.9 37.4-25.4 88.5-46.4 151.8-62.5l19.7 77.5c-53.5 13.6-97.3 31.3-126.6 51.2-22.1 15-34.7 30.5-34.7 42.7 0 19.5 32.9 50.9 106.4 77.2C293.9 927.9 403 944 519.7 944c116.7 0 225.8-16.1 307.3-45.3 73.5-26.3 106.4-57.8 106.4-77.2 0-12.2-12.7-27.7-34.7-42.7-29.3-19.9-73.1-37.6-126.6-51.2l19.7-77.5c63.3 16.1 114.3 37.1 151.8 62.5 57.7 39.1 69.8 80.8 69.8 108.9 0 23.5-8.6 58.9-49.8 93.8-26.5 22.5-63.4 42.2-109.6 58.8-90 32.2-208.7 49.9-334.4 49.9z"}})])},e$={render:JE},t$=function(){return _e({name:"IconMarkOn",component:e$})()},n$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"minscreen_svg__st0",attrs:{d:"M3 8h3.5L1.3 2.7c-.4-.4-.4-1 0-1.4.4-.4 1-.4 1.4 0L8 6.7V3c0-.6.4-1 1-1s1 .4 1 1v6c0 .6-.4 1-1 1H3c-.5 0-1-.4-1-1s.4-1 1-1zM3 16h3.5l-5.2 5.3c-.4.4-.4 1 0 1.4.4.4 1 .4 1.4 0L8 17.3V21c0 .6.4 1 1 1s1-.4 1-1v-6c0-.6-.4-1-1-1H3c-.5 0-1 .4-1 1s.4 1 1 1zM21 8h-3.5l5.2-5.3c.4-.4.4-1 0-1.4s-1-.4-1.4 0L16 6.7V3c0-.6-.4-1-1-1s-1 .4-1 1v6c0 .6.4 1 1 1h6c.5 0 1-.4 1-1s-.4-1-1-1zM21 16h-3.5l5.2 5.3c.4.4.4 1 0 1.4-.4.4-1 .4-1.4 0L16 17.3V21c0 .6-.4 1-1 1s-1-.4-1-1v-6c0-.6.4-1 1-1h6c.5 0 1 .4 1 1s-.4 1-1 1z"}})])},o$={render:n$},Xu=function(){return _e({name:"IconMinscreen",component:o$})()},r$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12 1.5c1.38 0 2.5 1.11 2.5 2.5v8a2.5 2.5 0 0 1-2.5 2.5H4c-1.39 0-2.5-1.12-2.5-2.5V4c0-1.39 1.11-2.5 2.5-2.5h8Zm-8 1h8.1c.78.05 1.4.7 1.4 1.5v7.01l-2.18-2.1c-.42-.41-1.1-.4-1.52.02l-.75.76c-.04.03-.08.03-.12 0l-2.7-2.66a1.08 1.08 0 0 0-1.51 0L2.5 9.19V4c0-.83.67-1.5 1.5-1.5ZM10.02 4c.83 0 1.5.67 1.5 1.5 0 .82-.67 1.5-1.5 1.5s-1.5-.68-1.5-1.5c0-.83.67-1.5 1.5-1.5Zm-.5 1.5c0-.28.23-.5.5-.5.28 0 .5.22.5.5 0 .27-.22.5-.5.5-.27 0-.5-.23-.5-.5Zm-4.1 2.25-2.91 2.81L2.5 12c0 .79.61 1.44 1.39 1.49l.11.01h8a1.5 1.5 0 0 0 1.44-1.11l-2.81-2.76c-.04-.03-.09-.03-.12 0l-.75.77c-.42.42-1.1.42-1.53.01l-2.7-2.66a.08.08 0 0 0-.11 0Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},i$={render:r$},jm=function(){return _e({name:"IconPicture",component:i$})()},a$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"plus-square_svg__st0",attrs:{d:"M13 11h4c.6 0 1 .4 1 1s-.4 1-1 1h-4v4c0 .6-.4 1-1 1s-1-.4-1-1v-4H7c-.6 0-1-.4-1-1s.4-1 1-1h4V7c0-.6.4-1 1-1s1 .4 1 1v4zM3 1h18c.9 0 2 1.1 2 2v18c0 .9-1 2-2 2H3c-.9 0-2-1.1-2-2V3c0-.9 1.1-2 2-2zm0 2v18h18V3H3z"}})])},s$={render:a$},l$=function(){return _e({name:"IconPlusSquare",component:s$})()},c$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M2.3 7.78v.08c.02.65.561 1.17 1.221 1.17.68 0 1.229-.54 1.229-1.21 0-.672-.549-1.21-1.229-1.21-.66 0-1.2.519-1.22 1.17Zm4.241.04c0 .67.54 1.21 1.22 1.21.68 0 1.23-.54 1.23-1.21 0-.672-.55-1.21-1.23-1.21-.68 0-1.22.538-1.22 1.21Zm4.24.04v-.08c.02-.651.559-1.17 1.219-1.17.682 0 1.23.538 1.23 1.21 0 .67-.548 1.21-1.23 1.21-.66 0-1.2-.52-1.219-1.17Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},u$={render:c$},d$=function(){return _e({name:"IconPopup",component:u$})()},p$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 1a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"}}),o("path",{attrs:{d:"M3.757 12.243a6 6 0 1 0 8.486-8.486 6 6 0 0 0-8.486 8.486Z",fill:"#FFF"}})])},h$={render:p$},m$=function(){return _e({name:"IconRadio",component:h$})()},f$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M3.05 12.95a7 7 0 1 1 9.9-9.9 7 7 0 0 1-9.9 9.9Z"}}),o("circle",{attrs:{fill:"#FFF",cx:"8",cy:"8",r:"3"}})])},g$={render:f$},v$=function(){return _e({name:"IconRadioselected",component:g$})()},y$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"refres_svg__st0",attrs:{d:"M12.2 22.9c.5-.1.8-.5.7-1-.1-.5-.5-.8-1-.7-.4.1-.9.1-1.4.1-2.4 0-4.6-1-6.2-2.7S1.7 14.5 1.7 12s.9-4.8 2.6-6.5 3.9-2.7 6.2-2.7 4.6 1 6.2 2.7 2.6 4.1 2.6 6.5v.3l-1.9-2c-.3-.3-.9-.3-1.2 0-.3.3-.3.9 0 1.2l3.2 3.3c.3.3.9.3 1.2 0l3.2-3.3c.3-.3.3-.9 0-1.2-.3-.3-.9-.3-1.2 0L21 11.9c0-1.5-.3-2.9-.8-4.2-.5-1.3-1.3-2.5-2.2-3.5s-2.1-1.8-3.3-2.4c-1.4-.5-2.8-.8-4.2-.8s-2.8.3-4.1.9C5.2 2.4 4 3.2 3.1 4.2c-1 1-1.7 2.2-2.2 3.5C.3 9.1 0 10.5 0 12s.3 2.9.8 4.3c.5 1.3 1.3 2.5 2.2 3.5 1 1 2.1 1.8 3.3 2.4 1.3.6 2.7.9 4.1.9.7-.1 1.2-.1 1.8-.2z"}})])},b$={render:y$},nw=function(){return _e({name:"IconRefres",component:b$})()},w$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"repeat_svg__st0",attrs:{d:"M11.8 22.9c-.5-.1-.8-.5-.7-1 .1-.5.5-.8 1-.7.4.1.9.1 1.4.1 2.4 0 4.6-1 6.2-2.7s2.6-4.1 2.6-6.5c0-2.5-.9-4.8-2.6-6.5s-3.9-2.7-6.2-2.7-4.6 1-6.2 2.7S4.7 9.5 4.7 12v.3l1.9-2c.3-.3.9-.3 1.2 0 .3.3.3.9 0 1.2l-3.2 3.3c-.3.3-.9.3-1.2 0L.2 11.5c-.3-.3-.3-.9 0-1.2.3-.3.9-.3 1.2 0L3 11.9c0-1.5.3-2.9.8-4.2.5-1.3 1.3-2.5 2.2-3.5s2.1-1.8 3.3-2.4c1.4-.5 2.8-.8 4.2-.8s2.8.3 4.1.9c1.3.6 2.4 1.3 3.3 2.4 1 1 1.7 2.2 2.2 3.5.5 1.4.8 2.8.8 4.3s-.3 2.9-.8 4.3c-.5 1.3-1.3 2.5-2.2 3.5-1 1-2.1 1.8-3.3 2.4-1.3.6-2.7.9-4.1.9-.6-.2-1.1-.2-1.7-.3z"}})])},x$={render:w$},ow=function(){return _e({name:"IconRepeat",component:x$})()},T$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticClass:"search_svg__st1",attrs:{d:"M7.22 1.67c3.04 0 5.5 2.46 5.5 5.5 0 1.33-.47 2.55-1.25 3.49l2.73 2.69c.19.19.19.51 0 .7s-.51.19-.7 0l-2.73-2.68c-.96.81-2.19 1.3-3.54 1.3-3.04 0-5.5-2.46-5.5-5.5s2.46-5.5 5.49-5.5zm0 1.01a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z"}})])},k$={render:T$},zm=function(){return _e({name:"IconSearch",component:k$})()},C$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{"data-name":"图层 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"}},e.$listeners),[o("path",{staticStyle:{"fill-rule":"evenodd",fill:"var(--tv-color-success-icon)"},attrs:{"data-name":"路径",d:"M8 1C4.13 1 1 4.13 1 8s3.13 7 7 7 7-3.14 7-7-3.14-7-7-7Z"}}),o("path",{staticStyle:{fill:"#fff","fill-rule":"evenodd"},attrs:{"data-name":"形状结合",d:"M10.38 5.97c.18-.16.46-.16.63 0a.5.5 0 0 1 0 .65L7.73 9.9c-.18.17-.4.26-.63.26s-.46-.09-.65-.26L4.97 8.42a.487.487 0 0 1 0-.64c.18-.16.46-.16.64 0l1.48 1.48 3.28-3.28Z"}})])},A$={render:C$},rw=function(){return _e({name:"IconSuccess",component:A$})()},S$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{"data-name":"图层 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"}},e.$listeners),[o("path",{staticStyle:{"fill-rule":"evenodd",fill:"var(--tv-color-warn-icon)"},attrs:{"data-name":"三角形",d:"m8.84 1.5 6.04 11.13c.25.45.07 1.02-.39 1.26-.14.08-.29.12-.45.12H1.95c-.53 0-.95-.42-.95-.94 0-.16.03-.31.11-.44L7.15 1.5c.25-.46.83-.63 1.29-.38.17.08.31.22.4.38Z"}}),o("path",{staticStyle:{fill:"#fff","fill-rule":"evenodd"},attrs:{"data-name":"形状结合",d:"M8 12.01a.749.749 0 1 1 0-1.5c.42 0 .75.33.75.75s-.34.75-.75.75Zm0-7c.28 0 .5.22.5.5v3.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5v-3.5c0-.28.22-.5.5-.5Z"}})])},E$={render:S$},$$=function(){return _e({name:"IconWarningTriangle",component:E$})()},P$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{"data-name":"图层 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"}},e.$listeners),[o("path",{staticStyle:{"fill-rule":"evenodd",fill:"var(--tv-color-warn-icon)"},attrs:{"data-name":"三角形",d:"m8.84 1.5 6.04 11.13c.25.45.07 1.02-.39 1.26-.14.08-.29.12-.45.12H1.95c-.53 0-.95-.42-.95-.94 0-.16.03-.31.11-.44L7.15 1.5c.25-.46.83-.63 1.29-.38.17.08.31.22.4.38Z"}}),o("path",{staticStyle:{fill:"#fff","fill-rule":"evenodd"},attrs:{"data-name":"形状结合",d:"M8 12.01a.749.749 0 1 1 0-1.5c.42 0 .75.33.75.75s-.34.75-.75.75Zm0-7c.28 0 .5.22.5.5v3.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5v-3.5c0-.28.22-.5.5-.5Z"}})])},_$={render:P$},Um=function(){return _e({name:"IconWarning",component:_$})()},M$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticClass:"zoom-in_svg__icon",attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M943.616 892.416 742.4 691.712c24.064-29.184 44.032-61.44 58.88-96.256 19.968-47.104 30.208-97.792 30.208-149.504s-10.24-101.888-30.208-149.504c-19.456-45.568-47.104-86.528-81.92-121.856A385.587 385.587 0 0 0 597.504 92.16C550.4 72.192 500.224 61.952 448 61.952S346.112 72.192 298.496 92.16c-45.568 19.456-86.528 47.104-121.856 82.432s-62.976 76.288-81.92 121.856c-19.968 47.104-30.208 97.792-30.208 149.504S74.752 547.84 94.72 595.456c19.456 45.568 47.104 86.528 81.92 121.856 35.328 35.328 76.288 62.976 121.856 82.432 47.104 19.968 97.28 30.208 149.504 30.208 51.712 0 101.888-10.24 149.504-30.208 34.816-14.848 66.56-34.304 95.232-57.856l201.728 201.216c6.656 6.656 15.872 10.24 25.088 10.24 9.216 0 17.92-3.584 25.088-10.24 12.8-14.336 12.8-36.864-1.024-50.688zm-273.92-225.792c-.512.512-1.024.512-1.024 1.024l-1.024 1.024C608.768 727.04 530.432 759.296 448 759.296c-83.456 0-162.304-32.768-221.184-91.648s-91.648-137.728-91.648-221.184 32.256-162.304 91.648-221.184S364.544 133.632 448 133.632 610.304 166.4 669.184 225.28c58.88 58.88 91.648 137.728 91.648 221.184 0 82.944-32.768 161.28-91.136 220.16z"}}),o("path",{attrs:{d:"M573.952 418.816H473.088v-97.792c0-19.456-12.8-35.328-32.256-35.328s-32.256 15.872-32.256 35.328v97.792H305.152c-19.456 0-35.328 12.8-35.328 32.256s15.872 32.256 35.328 32.256h102.912V588.8c0 19.456 12.8 35.328 32.256 35.328s32.256-15.872 32.256-35.328V483.84H573.44c19.456 0 35.328-12.8 35.328-32.256s-15.36-32.768-34.816-32.768z"}})])},L$={render:M$},iw=function(){return _e({name:"IconZoomIn",component:L$})()},I$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticClass:"zoom-out_svg__icon",attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M948.522 896.4 715.467 663.347c58.54-70.264 95.164-159.438 95.164-258.044C810.63 181.458 629.166 0 405.32 0 181.486.001.022 181.458.022 405.301c0 223.838 181.465 405.302 405.3 405.302 98.6 0 187.773-36.617 258.038-95.15l233.056 233.056c14.391 14.384 37.715 14.384 52.106 0s14.393-37.73.001-52.108zm-543.2-159.489c-183.136 0-331.601-148.465-331.601-331.61S222.186 73.69 405.323 73.69c183.144 0 331.61 148.466 331.61 331.61 0 160.64-129.895 331.61-331.61 331.61z"}}),o("path",{attrs:{d:"M552.706 368.456H257.948c-20.353 0-36.853 16.5-36.853 36.845s16.5 36.845 36.853 36.845h294.758c20.353 0 36.845-16.5 36.845-36.845s-16.492-36.845-36.845-36.845z"}})])},N$={render:I$},aw=function(){return _e({name:"IconZoomOut",component:N$})()},O$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("g",{attrs:{"fill-rule":"nonzero"}},[o("path",{attrs:{d:"M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z",fill:"#FFF"}}),o("path",{attrs:{d:"M10 1a9 9 0 1 1 0 18 9 9 0 0 1 0-18Zm0 1a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"}})])])},D$={render:O$},B$=function(){return _e({name:"IconMobileRadio",component:D$})()},q$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M16.364 3.636A9 9 0 1 1 3.636 16.364 9 9 0 0 1 16.364 3.636ZM10 6a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z","fill-rule":"evenodd"}})])},F$={render:q$},R$=function(){return _e({name:"IconMobileRadioSelected",component:F$})()},j$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticStyle:{"fill-rule":"evenodd","clip-rule":"evenodd"},attrs:{d:"M11.5 0h-7C2 0 0 2 0 4.5v7C0 14 2 16 4.5 16h7c2.5 0 4.5-2 4.5-4.5v-7C16 2 14 0 11.5 0zM15 11.5c0 1.9-1.6 3.5-3.5 3.5h-7C2.6 15 1 13.4 1 11.5v-7C1 2.6 2.6 1 4.5 1h7C13.4 1 15 2.6 15 4.5v7zM11 8c0 .3-.2.5-.5.5h-5c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h5c.3 0 .5.2.5.5z"}})])},z$={render:j$},U$=function(){return _e({name:"IconExpand",component:z$})()},V$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticStyle:{"fill-rule":"evenodd","clip-rule":"evenodd"},attrs:{d:"M11.5 0h-7C2 0 0 2 0 4.5v7C0 14 2 16 4.5 16h7c2.5 0 4.5-2 4.5-4.5v-7C16 2 14 0 11.5 0zM15 11.5c0 1.9-1.6 3.5-3.5 3.5h-7C2.6 15 1 13.4 1 11.5v-7C1 2.6 2.6 1 4.5 1h7C13.4 1 15 2.6 15 4.5v7zM11 8c0 .3-.2.5-.5.5h-2v2c0 .3-.2.5-.5.5s-.5-.2-.5-.5v-2h-2c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h2v-2c0-.3.2-.5.5-.5s.5.2.5.5v2h2c.3 0 .5.2.5.5z"}})])},H$={render:V$},Q$=function(){return _e({name:"IconPutAway",component:H$})()},K$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticStyle:{"fill-rule":"evenodd","clip-rule":"evenodd"},attrs:{d:"M8 1.5C4.4 1.5 1.5 4.4 1.5 8s2.9 6.5 6.5 6.5 6.5-2.9 6.5-6.5S11.6 1.5 8 1.5zm0 12C5 13.5 2.5 11 2.5 8S5 2.5 8 2.5 13.5 5 13.5 8 11 13.5 8 13.5zM12 8c0 .3-.2.5-.5.5h-3v3c0 .3-.2.5-.5.5s-.5-.2-.5-.5v-3h-3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h3v-3c0-.3.2-.5.5-.5s.5.2.5.5v3h3c.3 0 .5.2.5.5z"}})])},G$={render:K$},W$=function(){return _e({name:"IconAddCircle",component:G$})()},Y$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8.49 10.45c-.27.27-.72.27-.99 0l-4.1-4.1c-.2-.2-.2-.51 0-.71.19-.19.51-.19.71 0L8 9.53l3.88-3.89c.18-.17.45-.19.64-.06l.07.06c.2.2.2.51 0 .71l-4.1 4.1Z"}})])},X$={render:Y$},tu=function(){return _e({name:"IconDownWard",component:X$})()},Z$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("path",{attrs:{d:"m5.84 8.78-.09-.1a1.06 1.06 0 0 1 .09-1.46L9.6 3.65l.07-.06c.21-.13.49-.12.67.06.21.2.21.51 0 .71L6.58 7.93l-.02.03c-.02.04-.01.08.02.11l3.76 3.57.06.07c.14.19.12.46-.06.64-.21.2-.54.2-.74 0L5.84 8.78z"}})])},J$={render:Z$},eP=function(){return _e({name:"IconLeftWardArrow",component:J$})()},tP=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M16 0v16H0V0h16Z",fill:"none"}}),o("path",{attrs:{d:"M6.98 10.15a.828.828 0 0 1-.43-.18l-.09-.07-1.48-1.49a.435.435 0 0 1 0-.63.43.43 0 0 1 .56-.06l.07.06 1.48 1.48 3.29-3.28c.17-.18.46-.18.63 0 .16.15.18.39.06.56l-.06.07L7.73 9.9c-.14.14-.32.23-.52.25l-.12.01-.11-.01Z","fill-rule":"evenodd"}})])},nP={render:tP},Vm=_e({name:"IconFinish",component:nP});const oP=({broadcast:t,emit:e,nextTick:n})=>o=>{t("TinyDropdownMenu","visible",o),n(()=>e("visible-change",o))},rP=t=>e=>{const n=t.$el.querySelector(".tiny-dropdown-selfdefine");n&&(e?mn(n,"focusing"):fn(n,"focusing"))},iP=({props:t,state:e,emit:n})=>()=>{t.disabled||(e.visibleIsBoolean?n("update:visible",!0):(clearTimeout(Number(e.timeout)),e.timeout=setTimeout(()=>{e.visible=!0},e.trigger==="click"?0:t.showTimeout)))},aP=({api:t,props:e,state:n,emit:o})=>()=>{e.disabled||(t.removeTabindex(),e.tabindex>=0&&n.triggerElm&&t.resetTabindex(n.triggerElm),n.visibleIsBoolean?o("update:visible",!1):(clearTimeout(Number(n.timeout)),n.timeout=setTimeout(()=>{n.visible=!1},n.trigger==="click"?0:e.hideTimeout)))},sP=({api:t,props:e,state:n,emit:o})=>()=>{e.disabled||(n.visibleIsBoolean?o("handle-click",e.visible):(o("handle-click",n.visible),n.visible?t.hide():t.show()))},lP=({api:t,state:e})=>n=>{const o=n.keyCode;~[ut.ArrowUp,ut.ArrowDown].indexOf(o)?(t.removeTabindex(),e.menuItems&&(t.resetTabindex(e.menuItems[0]),e.menuItems[0].focus()),n.preventDefault(),n.stopPropagation()):o===ut.Enter?t.handleClick():~[ut.Tab,ut.Escape].indexOf(o)&&t.hide()},cP=({api:t,props:e,state:n,emit:o})=>r=>{const i=r.keyCode,a=r.target,l=n.menuItemsArray.indexOf(a),s=n.menuItemsArray.length-1;let c;~[ut.ArrowUp,ut.ArrowDown].indexOf(i)?(i===ut.ArrowUp?c=l!==0?l-1:0:c=l<s?l+1:s,t.removeTabindex(),n.menuItems&&(t.resetTabindex(n.menuItems[c]),n.menuItems[c].focus()),r.preventDefault(),r.stopPropagation()):i===ut.Enter?(t.triggerElmFocus(),a==null||a.click(),e.hideOnClick&&(n.visible=!1)):~[ut.Tab,ut.Escape].indexOf(i)&&(t.hide(),t.triggerElmFocus())},uP=t=>e=>{t.removeTabindex(),e.setAttribute("tabindex","0")},dP=t=>()=>{var e,n;(e=t.triggerElm)==null||e.setAttribute("tabindex","-1"),(n=t.menuItemsArray)==null||n.forEach(o=>{o.setAttribute("tabindex","-1")})},pP=({state:t,props:e})=>()=>{var n,o,r,i,a;(n=t.dropdownElm)==null||n.setAttribute("id",t.listId),(o=t.triggerElm)==null||o.setAttribute("aria-haspopup","list"),(r=t.triggerElm)==null||r.setAttribute("aria-controls",t.listId),(!e.splitButton||!e.singleButton)&&((i=t.triggerElm)==null||i.setAttribute("role","button"),(a=t.triggerElm)==null||a.setAttribute("tabindex",String(e.tabindex)),mn(t.triggerElm,"tiny-dropdown-selfdefine"))},zg=({state:t,value:e})=>()=>{t.focusing=e},hP=({api:t,props:e,state:n,vm:o,mode:r})=>()=>{var i;let a=e.splitButton||e.singleButton;n.triggerElm=a||e.border?o.$refs.trigger.$el:o.$refs.trigger,Oe(n.triggerElm,"keydown",t.handleTriggerKeyDown),(i=n.dropdownElm)==null||i.addEventListener("keydown",t.handleItemKeyDown,!0),(!e.splitButton||!e.singleButton)&&(Oe(n.triggerElm,"focus",t.toggleFocusOnTrue),Oe(n.triggerElm,"blur",t.toggleFocusOnFalse),Oe(n.triggerElm,"click",t.toggleFocusOnFalse)),!n.visibleIsBoolean&&(n.trigger==="hover"?(Oe(n.triggerElm,"mouseenter",t.show),Oe(n.triggerElm,"mouseleave",t.hide),Oe(n.dropdownElm,"mouseenter",t.show),Oe(n.dropdownElm,"mouseleave",t.hide)):n.trigger==="click"&&Oe(n.triggerElm,"click",t.handleClick),r==="mobile-first"&&(e.splitButton||e.singleButton)&&Oe(n.triggerElm,"click",t.handleClick))},mP=({props:t,state:e,emit:n})=>({itemData:o,vm:r,disabled:i})=>{t.hideOnClick&&!i&&(e.visible=!1),i||n("item-click",{itemData:o,vm:r})},fP=t=>()=>{var e;(e=t.triggerElm)!=null&&e.focus&&t.triggerElm.focus()},gP=({api:t,state:e,vm:n})=>()=>{var o;e.dropdownElm=n.popperElm,e.menuItems=(o=e.dropdownElm)==null?void 0:o.querySelectorAll('[tabindex="-1"]'),e.menuItemsArray=[].slice.call(e.menuItems),t.initEvent(),t.initAria()},vP=({api:t,emit:e})=>n=>{e("button-click",n),t.hide()},yP=({api:t,vm:e,state:n,broadcast:o,props:r})=>()=>{n.showSelfIcon&&(n.showIcon=!1),e.$on("menu-item-click",t.handleMenuItemClick),e.$on("current-item-click",t.handleMenuItemClick),e.$on("selected-index",i=>{o("TinyDropdownMenu","menu-selected-index",i)}),n.visibleIsBoolean?r.visible&&o("TinyDropdownMenu","visible",!0):e.$on("is-disabled",t.clickOutside)},bP=({vm:t,api:e,state:n})=>()=>{n.triggerElm&&(Re(n.triggerElm,"keydown",e.handleTriggerKeyDown),Re(n.triggerElm,"focus",e.toggleFocusOnTrue),Re(n.triggerElm,"blur",e.toggleFocusOnFalse),Re(n.triggerElm,"click",e.toggleFocusOnFalse),Re(n.triggerElm,"mouseenter",e.show),Re(n.triggerElm,"mouseleave",e.hide),Re(n.triggerElm,"click",e.handleClick),n.triggerElm=null),n.dropdownElm&&(n.dropdownElm.removeEventListener("keydown",e.handleItemKeyDown,!0),Re(n.dropdownElm,"mouseenter",e.show),Re(n.dropdownElm,"mouseleave",e.hide),n.dropdownElm=null),t.$off("menu-item-click"),t.$off("current-item-click"),t.$off("selected-index"),t.$off("is-disabled")},wP=({props:t,api:e})=>n=>{t.hideOnClick&&(n?e.show():e.hide())},sw=["state","handleMainButtonClick","hide","show","initDomOperation","handleClick","clickOutside"],lw=(t,{reactive:e,watch:n,provide:o,onMounted:r,computed:i,onBeforeUnmount:a},{emit:l,parent:s,broadcast:c,vm:d,nextTick:u,mode:m,designConfig:h,useBreakpoint:p})=>{const v={},{current:f}=p(),b=e({current:f,visible:!1,timeout:null,focusing:!1,menuItems:[],menuItemsArray:[],triggerElm:null,dropdownElm:null,listId:`dropdown-menu-${Am()}`,showIcon:t.showIcon,showSelfIcon:t.showSelfIcon,designConfig:h,trigger:i(()=>{var x;return t.trigger||((x=h==null?void 0:h.props)==null?void 0:x.trigger)||"hover"}),visibleIsBoolean:i(()=>typeof t.visible=="boolean")});return o("dropdownVm",d),Object.assign(v,{state:b,watchVisible:oP({broadcast:c,emit:l,nextTick:u}),watchFocusing:rP(s),show:iP({props:t,state:b,emit:l}),hide:aP({api:v,props:t,state:b,emit:l}),mounted:yP({api:v,vm:d,state:b,broadcast:c,props:t}),handleClick:sP({api:v,props:t,state:b,emit:l}),handleTriggerKeyDown:lP({api:v,state:b}),handleItemKeyDown:cP({api:v,props:t,state:b,emit:l}),resetTabindex:uP(v),removeTabindex:dP(b),initAria:pP({state:b,props:t}),initEvent:hP({api:v,props:t,state:b,vm:d,mode:m}),handleMenuItemClick:mP({props:t,state:b,emit:l}),handleMainButtonClick:vP({api:v,emit:l}),triggerElmFocus:fP(b),initDomOperation:gP({api:v,state:b,vm:d}),beforeDistory:bP({vm:d,api:v,state:b}),clickOutside:wP({props:t,api:v}),toggleFocusOnTrue:zg({state:b,value:!0}),toggleFocusOnFalse:zg({state:b,value:!1})}),typeof t.visible=="boolean"?n(()=>t.visible,v.watchVisible):n(()=>b.visible,v.watchVisible),n(()=>b.focusing,v.watchFocusing),r(v.mounted),a(v.beforeDistory),v},xP=({emit:t,props:e,state:n,designConfig:o})=>r=>{var i,a;const l=In.filterUrl(e.href),s=1e3;let c=s;e.resetTime!==s?c=e.resetTime:c=(a=(i=o==null?void 0:o.props)==null?void 0:i.resetTime)!=null?a:e.resetTime,l?location.href=l:e.nativeType==="button"&&c>0&&(n.disabled=!0,n.timer=window.setTimeout(()=>{n.disabled=!1},c)),t("click",r)},TP=t=>()=>clearTimeout(t.timer),cw=["state","handleClick"],uw=(t,{computed:e,onBeforeUnmount:n,reactive:o,watch:r,inject:i},{emit:a,parent:l,designConfig:s})=>{l.tinyForm=l.tinyForm||i("form",null);const c=o({timer:0,disabled:t.disabled,plain:e(()=>t.plain||(l.buttonGroup||{}).plain),round:e(()=>{var u,m,h;return(h=(m=t.round)!=null?m:(u=s==null?void 0:s.props)==null?void 0:u.round)!=null?h:!1}),formDisabled:e(()=>(l.tinyForm||{}).disabled),buttonDisabled:e(()=>t.disabled||c.disabled||(l.buttonGroup||{}).disabled||c.formDisabled)});r(()=>t.disabled,u=>{c.disabled=u},{immediate:!0});const d={state:c,clearTimer:TP(c),handleClick:xP({emit:a,props:t,state:c,designConfig:s})};return n(d.clearTimer),d};function kP(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var CP=Se({emits:["click"],props:[].concat(Ye,["type","text","size","icon","resetTime","nativeType","loading","disabled","plain","autofocus","round","circle","tabindex","customClass","ghost","customStyle"]),components:{IconLoading:Yu()},setup:function(e,n){return je({props:e,context:n,renderless:uw,api:cw})}}),AP=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("button",e._b({staticClass:"tiny-button",class:[e.type?"tiny-button--"+e.type:"",e.size?"tiny-button--"+e.size:"",{"is-disabled":e.state.buttonDisabled,"is-loading":e.loading,"is-plain":e.state.plain,"is-ghost":e.ghost,"is-round":e.state.round,"is-circle":e.circle,"is-icon":e.icon&&!e.loading&&(e.text||e.slots.default),"is-only-icon":e.icon&&!e.loading&&!(e.text||e.slots.default)}],style:e.customStyle,attrs:{disabled:e.state.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType,tabindex:e.tabindex},on:{click:e.handleClick}},"button",e.a(e.$attrs,["class","style","title","id"],!0),!1),[e.loading?o("icon-loading",{staticClass:"tiny-icon-loading tiny-svg-size"}):e._e(),e.icon&&!e.loading?o(e.icon,{tag:"component",class:{"is-text":e.text||e.slots.default}}):e._e(),e._t("default",function(){return[o("span",[e._v(e._s(e.text))])]})],2)},SP=[],Ug={},EP=kP(CP,AP,SP,!1,$P);function $P(t){for(var e in Ug)this[e]=Ug[e]}var Vg=(function(){return EP.exports})();function PP(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var _P={button:"inline-block text-center overflow-hidden overflow-ellipsis whitespace-nowrap transition-button duration-300 delay-[0ms] active:transition-all active:scale-[0.95] active:ease-[cubic-bezier(0.33,0,0.67,1)]","size-default":"h-10 text-sm sm:h-7","size-medium":"h-10 text-sm sm:h-8","size-small":"h-8 text-sm sm:h-7","size-mini":"h-7 sm:h-6 sm:text-xs","type-default":"text-color-text-primary border-color-border hover:border-color-border-hover active:border-color-border-hover sm:cursor-pointer","type-primary":"text-color-text-inverse border-color-brand bg-color-brand hover:border-color-brand-hover hover:bg-color-brand-hover active:border-color-brand-active active:bg-color-brand-active sm:cursor-pointer","type-success":"text-color-text-inverse border-color-success bg-color-success hover:border-color-success-hover hover:bg-color-success-hover active:border-color-success-active active:bg-color-success-active sm:cursor-pointer","type-info":"text-color-text-inverse border-color-info-secondary bg-color-info-secondary hover:border-color-info-secondary-hover hover:bg-color-info-secondary-hover active:border-color-info-secondary-active active:bg-color-info-secondary-active sm:cursor-pointer","type-warning":"text-color-text-inverse border-color-warning bg-color-warning hover:border-color-warning-hover hover:bg-color-warning-hover active:border-color-warning-active active:bg-color-warning-active sm:cursor-pointer","type-danger":"text-color-text-inverse border-color-error bg-color-error hover:border-color-error-hover hover:bg-color-error-hover active:border-color-error-active active:bg-color-error-active sm:cursor-pointer","type-text":"border-none bg-transparent cursor-pointer text-color-text-placeholder active:text-color-text-primary sm:hover:text-color-text-primary sm:active:!text-color-brand-active","type-default-disabled":"text-color-text-disabled bg-color-bg-3 border-transparent hover:cursor-not-allowed","type-primary-disabled":"text-color-text-inverse bg-color-brand-disabled border-transparent hover:cursor-not-allowed","type-success-disabled":"text-color-text-inverse bg-color-success-disabled border-transparent hover:cursor-not-allowed","type-info-disabled":"text-color-text-inverse bg-color-info-secondary-disabled border-transparent hover:cursor-not-allowed","type-warning-disabled":"text-color-text-inverse bg-color-alert-disabled border-transparent hover:cursor-not-allowed","type-danger-disabled":"text-color-text-inverse bg-color-error-disabled border-transparent hover:cursor-not-allowed","type-text-disabled":"text-color-text-disabled hover:cursor-not-allowed","type-default-plain":"text-color-text-primary border-color-border hover:border-color-border-hover active:border-color-border-hover sm:cursor-pointer","type-primary-plain":"text-color-brand border-color-brand hover:text-color-brand-hover hover:border-color-brand-hover active:text-color-brand-active active:border-color-brand-active bg-color-bg-1 sm:cursor-pointer","type-success-plain":"text-color-success border-color-success hover:text-color-success-hover hover:border-color-success-hover active:text-color-success-active active:border-color-success-active bg-color-bg-1 sm:cursor-pointer","type-info-plain":"text-color-info-secondary border-color-info-secondary hover:text-color-info-secondary-hover hover:border-color-info-secondary-hover active:text-color-info-secondary-active active:border-color-info-secondary-active bg-color-bg-1 sm:cursor-pointer","type-warning-plain":"text-color-warning border-color-warning hover:text-color-warning-hover hover:border-color-warning-hover active:text-color-warning-active active:border-color-warning-active bg-color-bg-1 sm:cursor-pointer","type-danger-plain":"text-color-error border-color-error hover:text-color-error-hover hover:border-color-error-hover active:text-color-error-active active:border-color-error-active bg-color-bg-1 sm:cursor-pointer","type-text-plain":"text-color-brand hover:text-color-brand-hover active:text-color-brand-active","type-default-plain-disabled":"text-color-text-disabled bg-color-bg-1 border-color-border-disabled hover:cursor-not-allowed","type-primary-plain-disabled":"text-color-brand-disabled bg-color-bg-1 border-color-brand-disabled hover:cursor-not-allowed","type-success-plain-disabled":"text-color-success-disabled bg-color-bg-1 border-color-success-disabled hover:cursor-not-allowed","type-info-plain-disabled":"text-color-info-secondary-disabled bg-color-bg-1 border-color-info-secondary-disabled hover:cursor-not-allowed","type-warning-plain-disabled":"text-color-alert-disabled bg-color-bg-1 border-color-alert-disabled hover:cursor-not-allowed","type-danger-plain-disabled":"text-color-error-disabled bg-color-bg-1 border-color-error-disabled hover:cursor-not-allowed","type-text-plain-disabled":"text-color-text-disabled hover:cursor-not-allowed","no-round":"rounded","is-round":"rounded-full","is-border":"border-0.5 sm:border","no-circle":"sm:min-w-[theme(spacing.18)] pl-2 pr-2 leading-5.5","is-circle":"sm:min-w-[theme(spacing.18)] sm:rounded-full sm:pl-2 sm:pr-2","button-icon":"-mt-0.5 sm:text-base fill-current","button-icon-default":"text-color-icon-primary hover:text-color-icon-hover active:text-color-icon-active","button-icon-disabled":"text-color-icon-disabled hover:cursor-not-allowed","loading-svg":"animate-spin mr-1 fill-current -left-0.5 -right-0.5 -top-0.5 -bottom-0.5","button-link":"text-color-link hover:text-color-link-hover active:color-link-hover active:hover:text-color-link-hover sm:hover:text-color-link-hover","button-banner":" w-[calc(100%-theme(spacing.8))] mx-4"},MP=Se({emits:["click"],props:[].concat(Ye,["type","text","size","icon","resetTime","nativeType","loading","disabled","plain","autofocus","round","circle","tabindex","href","customClass","banner","customStyle"]),components:{IconLoading:tw()},setup:function(e,n){return je({props:e,context:n,renderless:uw,api:cw,classes:_P})}}),LP=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("button",e._b({class:e.m(e.gcls("button"),e.gcls(e.banner?"button-banner":""),e.gcls("size-"+(e.size||"default")),e.gcls("type-"+(e.type||"default")+(e.icon?"-icon":e.state.plain?"-plain":"")+(e.state.buttonDisabled||e.loading?"-disabled":"")),e.gcls(e.state.round?"is-round":"no-round"),e.gcls(e.circle?"is-circle":"no-circle"),e.gcls({"is-border":e.circle||!(e.type==="text"||e.icon)}),e.gcls({"button-link":e.href}),e.customClass),style:e.customStyle,attrs:{"data-tag":"tiny-button",disabled:e.state.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType,tabindex:e.tabindex},on:{click:e.handleClick}},"button",e.a(e.$attrs,["class","style","id"],!0),!1),[e.loading?o("icon-loading",{class:e.gcls("loading-svg")}):e._e(),e.icon&&!e.loading?o(e.icon,{tag:"component",class:[e.gcls("button-icon"),e.gcls("button-icon-"+(e.state.buttonDisabled?"disabled":"default"))]}):e._e(),e._t("default",function(){return[o("span",[e._v(e._s(e.text))])]})],2)},IP=[],Hg={},NP=PP(MP,LP,IP,!1,OP);function OP(t){for(var e in Hg)this[e]=Hg[e]}var DP=(function(){return NP.exports})();function Yp(){return Yp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Yp.apply(null,arguments)}var BP=function(e){var n,o=typeof process=="object"?(n=process.env)==null?void 0:n.TINY_MODE:null;return(o||e)==="pc"?Vg:(o||e)==="mobile-first"?DP:Vg},qP=Yp({},lt,{type:{type:String,default:"default"},tabindex:{type:String,default:"0"},icon:{type:[Object,String],default:""},text:{type:String,default:""},resetTime:{type:Number,default:1e3},nativeType:{type:String,default:"button"},href:{type:String,default:""},size:{type:String,default:"",validator:function(e){return["large","medium","small","mini",""].includes(e)}},round:{type:Boolean,default:void 0},plain:Boolean,circle:Boolean,loading:Boolean,disabled:Boolean,autofocus:Boolean,customClass:{type:String,default:""},banner:{type:Boolean,default:!1},customStyle:{type:Object,default:function(){return{}}},ghost:Boolean,onClick:{type:Function}}),Pt=Se({name:Ue+"Button",inject:{buttonGroup:{default:""}},props:qP,slots:Object,setup:function(e,n){return vt({props:e,context:n,template:BP})}}),FP="2.undefined";Pt.install=function(t){t.component(Pt.name,Pt)};Pt.version=FP;const RP=({emit:t,state:e})=>()=>{e.disabled||t("change",e.value)},jP=({emit:t,props:e,state:n})=>o=>{!n.disabled&&!o.disabled&&n.value!==o[e.valueField]&&(n.value=o[e.valueField],t("update:modelValue",n.value))},zP=({emit:t,props:e,state:n})=>o=>{if(!n.disabled){const r=n.moreData.indexOf(o);n.moreData.splice(r,1,n.buttonData[n.buttonData.length-1]),n.buttonData.splice(n.buttonData.length-1,1,o),n.value=o[e.valueField],t("update:modelValue",n.value)}},UP=({props:t,state:e})=>n=>e.disabled||n.disabled?{disabled:!0}:t.plain?{plain:t.plain,medium:t.size==="medium",small:t.size==="small",mini:t.size==="mini"}:{},VP=["state","handleClick","moreNodeClick","handleChange","getItemClass"],HP=(t,{computed:e,reactive:n,watch:o,inject:r},{emit:i,parent:a})=>{var l,s;a.tinyForm=a.tinyForm||r("form",null);const c=n({value:t.modelValue,buttonData:((l=t.data)==null?void 0:l.slice(0,t.showMore))||[],moreData:((s=t.data)==null?void 0:s.slice(t.showMore,t.data.length))||[],formDisabled:e(()=>(a.tinyForm||{}).disabled),disabled:e(()=>t.disabled||c.formDisabled)});o(()=>t.modelValue,u=>{!c.disabled&&c.value!==u&&(c.value=u)},{immediate:!0}),o(()=>c.value,()=>d.handleChange());const d={state:c,handleClick:jP({emit:i,props:t,state:c}),moreNodeClick:zP({emit:i,props:t,state:c}),handleChange:RP({emit:i,state:c}),getItemClass:UP({props:t,state:c})};return d},QP=({api:t,state:e,props:n,nextTick:o})=>{const{referenceElm:r,popperElm:i}=e;n.trigger==="click"?(Oe(r,"click",t.doToggle),Oe(document,"click",t.handleDocumentClick)):n.trigger==="hover"?(Oe(r,"mouseenter",t.handleMouseEnter),Oe(i,"mouseenter",t.handleMouseEnter),Oe(r,"mouseleave",t.handleMouseLeave),Oe(i,"mouseleave",t.handleMouseLeave)):n.trigger==="focus"?r.querySelector("input, textarea")?(Oe(r,"focusin",t.doShow),Oe(r,"focusout",t.doClose)):(Oe(r,"mousedown",t.doShow),Oe(r,"mouseup",t.doClose)):n.trigger==="manual"&&n.modelValue&&o(t.doShow)},KP=({api:t,state:e,constants:n,props:o,nextTick:r,mode:i})=>()=>{e.mounted=!0;const{referenceElm:a,popperElm:l,tooltipId:s}=e;a&&(i!=="mobile-first"&&mn(a,`${n.IDPREFIX}__reference`),a.setAttribute("aria-describedby",s),a.setAttribute("tabindex",o.tabindex.toString()),l.setAttribute("tabindex",0),o.trigger!=="click"&&(Oe(a,"focusin",()=>{t.handleFocus();const c=a.__vue__;c&&typeof c.focus=="function"&&c.focus()}),Oe(l,"focusin",t.handleFocus),Oe(a,"focusout",t.handleBlur),Oe(l,"focusout",t.handleBlur)),Oe(a,"keydown",t.handleKeydown),Oe(a,"click",t.handleClick)),QP({api:t,state:e,props:o,nextTick:r})},GP=t=>()=>{t.showPopper=!t.showPopper},WP=t=>()=>{t.showPopper=!0},YP=t=>()=>{t.showPopper=!1},XP=({props:t,state:e})=>()=>{mn(e.referenceElm,"focusing"),(t.trigger==="click"||t.trigger==="focus")&&(e.showPopper=!0)},ZP=t=>e=>{const n=t.popperElm;e!=null&&e.target&&n&&(t.webCompEventTarget=e.target),fn(t.referenceElm,"focusing")},JP=({props:t,state:e})=>()=>{fn(e.referenceElm,"focusing"),(t.trigger==="click"||t.trigger==="focus")&&(e.showPopper=!1)},e8=({props:t,state:e})=>()=>{clearTimeout(e.timer),t.openDelay?e.timer=window.setTimeout(()=>{e.showPopper=!0},t.openDelay):e.showPopper=!0},t8=({api:t,props:e})=>n=>{n.keyCode===ut.Escape&&e.trigger!=="manual"&&t.doClose()},n8=({props:t,state:e})=>()=>{clearTimeout(e.timer),t.closeDelay?e.timer=window.setTimeout(()=>{e.showPopper=!1},t.closeDelay):e.showPopper=!1},o8=({vm:t,state:e})=>n=>{const o=e.referenceElm,r=e.popperElm,i=t.$refs.root;let a=n.target;return a!=null&&a.shadowRoot&&r&&(a=e.webCompEventTarget),!i||!o||i.contains(a)||o.contains(a)||!r||r.contains(a)?!1:(e.showPopper=!1,!0)},r8=t=>()=>{t("after-enter")},i8=t=>()=>{t("after-leave")},a8=({emit:t,state:e})=>n=>{e.showPopper=!1,t("item-click",n)},s8=({props:t,state:e})=>()=>{t.openDelay&&clearTimeout(e.timer)},l8=({state:t,api:e})=>()=>{const{referenceElm:n,popperElm:o}=t;Re(n,"click",e.doToggle),Re(n,"mouseup",e.doClose),Re(n,"mousedown",e.doShow),Re(n,"focusin",e.doShow),Re(n,"focusout",e.doClose),Re(n,"mouseleave",e.handleMouseLeave),Re(n,"mouseenter",e.handleMouseEnter),Re(document,"click",e.handleDocumentClick),Re(o,"focusin",e.handleFocus),Re(o,"focusout",e.handleBlur),Re(o,"mouseenter",e.handleMouseEnter),Re(o,"mouseleave",e.handleMouseLeave),Re(n,"click",e.handleClick),Re(n,"focusout",e.handleBlur),Re(n,"keydown",e.handleKeydown)},c8=t=>()=>`${t.IDPREFIX}-${Am("",4)}`,u8=({api:t,props:e,vm:n,state:o})=>()=>{const{reference:r,popper:i,wrapper:a}=n.$refs,l=o.referenceElm=e.reference||r;o.popperElm=o.popperElm||i,!l&&a.children&&(o.referenceElm=a.children[0]||a),o.referenceElm&&t.mounted()},d8=({state:t,vm:e})=>n=>{for(let o of n)o.type==="attributes"&&o.attributeName==="x-placement"&&(t.xPlacement=e.$refs.popper.getAttribute("x-placement")||"bottom")},dw=["state","handleAfterEnter","handleAfterLeave","doToggle","doShow","doClose","doDestroy","handleItemClick","handleDocumentClick"],p8=({reactive:t,computed:e,api:n,popperElm:o,showPopper:r,referenceElm:i})=>t({popperElm:o,referenceElm:i,showPopper:r,timer:0,mounted:!1,xPlacement:"bottom",tooltipId:e(()=>n.computedTooltipId()),webCompEventTarget:null}),h8=({api:t,props:e,state:n,emit:o,doDestroy:r,constants:i,nextTick:a,vm:l,mode:s})=>{Object.assign(t,{state:n,mounted:KP({api:t,state:n,constants:i,props:e,nextTick:a,mode:s}),cleanup:s8({state:n,props:e}),destroyed:l8({state:n,api:t}),doDestroy:r,computedTooltipId:c8(i),doShow:WP(n),doClose:YP(n),doToggle:GP(n),handleClick:ZP(n),handleAfterEnter:r8(o),handleBlur:JP({props:e,state:n}),handleFocus:XP({props:e,state:n}),handleKeydown:t8({api:t,props:e}),handleMouseLeave:n8({props:e,state:n}),handleAfterLeave:i8(o),handleMouseEnter:e8({props:e,state:n}),handleDocumentClick:o8({vm:l,state:n}),wrapMounted:u8({api:t,props:e,vm:l,state:n}),handleItemClick:a8({emit:o,state:n}),observeCallback:d8({vm:l,state:n})})},m8=({watch:t,props:e,state:n,emit:o,api:r,nextTick:i,updatePopper:a,mode:l})=>{t(()=>n.showPopper,s=>{e.disabled||(s&&i(()=>a()),o(s?"show":"hide"))}),t(()=>e.reference,(s,c)=>{s!==c&&(r.destroyed(),i(()=>{r.wrapMounted()}))}),t(()=>e.modelValue,s=>{e.trigger==="manual"&&(n.showPopper=s,o("update:modelValue",s))})},pw=(t,{reactive:e,computed:n,watch:o,toRefs:r,onBeforeUnmount:i,onMounted:a,onUnmounted:l,onActivated:s,onDeactivated:c},{$prefix:d,emit:u,vm:m,slots:h,nextTick:p,mode:v})=>{const f={},b={IDPREFIX:`${d.toLowerCase()}-popover`},x={emit:u,onBeforeUnmount:i,nextTick:p,reactive:e,props:t,watch:o,onDeactivated:c,vm:m,slots:h,toRefs:r},{showPopper:w,popperElm:E,referenceElm:S,doDestroy:$,updatePopper:q}=Hu(x),B=p8({reactive:e,computed:n,api:f,popperElm:E,showPopper:w,referenceElm:S});return h8({api:f,constants:b,props:t,state:B,emit:u,doDestroy:$,nextTick:p,vm:m,mode:v}),c(()=>{f.destroyed(),f.cleanup()}),a(()=>{if(f.wrapMounted(),t.genArrowByHtml){const P={attributes:!0,childList:!1,subtree:!1};f.observer=new MutationObserver(f.observeCallback),f.observer.observe(m.$refs.popper,P)}}),s(f.mounted),l(()=>{f.destroyed(),f.observer&&f.observer.disconnect()}),i(f.cleanup),m8({watch:o,props:t,state:B,emit:u,api:f,nextTick:p,updatePopper:q,mode:v}),f};function f8(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var g8=Se({emits:["update:modelValue","hide","show","after-enter","after-leave","created"],props:[].concat(Ye,["appendToBody","arrowOffset","boundariesPadding","closeDelay","content","disabled","modelValue","offset","openDelay","placement","popper","popperClass","popperOptions","reference","tabindex","title","transition","trigger","visibleArrow","width","height"]),setup:function(e,n){return je({props:e,context:n,renderless:pw,api:dw})}}),v8=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("span",{ref:"root"},[o("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.state.showPopper,expression:"!disabled && state.showPopper"}],ref:"popper",staticClass:"tiny-popover tiny-popper",class:[e.popperClass,e.content&&"tiny-popover__plain",{"no-arrow":!e.visibleArrow}],style:{width:e.width==="auto"?e.width:e.width+"px",height:e.height==="auto"?e.height:e.height+"px"},attrs:{role:"tooltip",id:e.state.tooltipId}},[e.title?o("div",{staticClass:"tiny-popover__title",domProps:{textContent:e._s(e.title)}}):e._e(),e._t("default",function(){return[e._v(e._s(e.content))]})],2)]),o("span",{ref:"wrapper",staticClass:"reference-wrapper",class:{"reference-wrapper-show":!e.disabled&&e.state.showPopper}},[e._t("reference")],2)],1)},y8=[],Qg={},b8=f8(g8,v8,y8,!1,w8);function w8(t){for(var e in Qg)this[e]=Qg[e]}var Kg=(function(){return b8.exports})();function x8(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}function Xp(){return Xp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Xp.apply(null,arguments)}var T8={title:"text-color-icon-primary font-bold text-xs",popper:"sm:leading-5 sm:absolute sm:px-4 sm:py-3 sm:z-[2000] sm:text-justify sm:text-xs break-all sm:max-w-[theme(spacing.96)] sm:shadow-md sm:bg-color-bg-1 sm:rounded sm:[&[x-placement^=top]]:mb-2.5 sm:[&[x-placement^=bottom]]:mt-2.5 sm:[&[x-placement^=right]]:ml-2.5 sm:[&[x-placement^=left]]:mr-2.5",arrow:'absolute ml-0.5 border-b-color-bg-1 border-l-color-bg-1 rounded-bl-sm block w-0 h-0 border-4 border-transparent border-solid after:absolute after:block after:border-transparent after:border-solid after:content-[""]',"placement-top":"-bottom-1 left-1/2 -rotate-45","placement-bottom":"-top-1 left-1/2 rotate-[135deg]","placement-right":"-left-1.5 top-1/2 rotate-45","placement-left":"top-1/2 -right-1 rotate-[225deg]"},k8=Se({inheritAttrs:!1,name:Ue+"Popover",components:{IconClose:Kt()},emits:["update:modelValue","hide","show","after-enter","after-leave","created"],props:Xp({},lt,{appendToBody:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0},boundariesPadding:{type:Number,default:5},closeDelay:{type:Number,default:200},content:String,disabled:Boolean,modelValue:Boolean,offset:{default:0},openDelay:{type:Number,default:0},placement:{type:String,default:"bottom"},popper:{},popperClass:String,popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}},reference:{},tabindex:{type:Number,default:0},title:String,transformOrigin:{type:[Boolean,String],default:!0},transition:{type:String,default:"fade-in-linear"},trigger:{type:String,default:"click",validator:function(e){return~["click","focus","hover","manual"].indexOf(e)}},visibleArrow:{default:!0},genArrowByHtml:{type:Boolean,default:function(){return!0}},width:{}}),setup:function(e,n){return je({props:e,context:n,renderless:pw,api:dw,classes:T8})}}),C8=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("span",{ref:"root",class:e.$attrs.class},[o("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.state.showPopper,expression:"!disabled && state.showPopper"}],ref:"popper",class:[e.m(e.gcls("popper"),e.popperClass)],style:{width:e.width+"px"},attrs:{"data-tag":"tiny-popover tiny-popper",role:"tooltip",id:e.state.tooltipId}},[o("div",{staticClass:"hidden sm:block leading-5.5",attrs:{"data-tag":"tiny-popover-arrow"}},[e.slots.header?e._t("header"):e.title?o("div",{class:[e.gcls("title")],domProps:{textContent:e._s(e.title)}}):e._e(),e._t("default",function(){return[e._v(e._s(e.content))]}),e._t("footer"),e.visibleArrow?o("div",{class:[e.gcls("arrow"),e.gcls("placement-"+e.state.xPlacement.split("-")[0])],attrs:{"data-tag":"tiny-popover-visible","x-arrow":""}}):e._e()],2),o("div",{class:["sm:hidden block fixed left-0 right-0 top-0 bottom-0 text-sm text-color-text-primary transition-top ease-out duration-300","before:content-[''] before:fixed before:left-0 before:right-0 before:top-0 before:bottom-0 before:w-full before:h-full before:bg-color-bg-7"],attrs:{"data-tag":"tiny-popover-body"}},[o("div",{class:["absolute bottom-0 top-auto left-1/2 -translate-x-1/2 w-full max-h-full p-3 pointer-events-auto"]},[o("div",{staticClass:"flex flex-col w-full h-full rounded-lg overflow-hidden shadow-xl bg-color-bg-1"},[o("div",{staticClass:"flex items-center leading-6 text-sm px-6 pt-5",attrs:{"data-tag":"tiny-popover-header"}},[o("span",{staticClass:"flex-auto text-base truncate font-semibold"},[e._v(e._s(e.title||e.t("ui.alert.title")))]),o("icon-close",{on:{click:function(i){e.state.showPopper=!1}}})],1),o("div",{staticClass:"flex flex-auto leading-5 overflow-auto mx-6 mt-4 mb-5",attrs:{"data-tag":"tiny-popover-content"}},[e._t("default",function(){return[e._v(" "+e._s(e.content))]})],2),e.slots.footer?o("div",{staticClass:"w-full py-2.5 px-6 border-t-0.5 border-color-border-separator text-center",attrs:{"data-tag":"tiny-popover-footer"}},[e._t("footer")],2):e._e()])])])])]),o("span",{ref:"wrapper",attrs:{"data-tag":"tiny-popover-reference"}},[e._t("reference")],2)],1)},A8=[],Gg={},S8=x8(k8,C8,A8,!1,E8);function E8(t){for(var e in Gg)this[e]=Gg[e]}var $8=(function(){return S8.exports})();function Zp(){return Zp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Zp.apply(null,arguments)}var P8=function(e){var n,o=typeof process=="object"?(n=process.env)==null?void 0:n.TINY_MODE:null;return(o||e)==="pc"?Kg:(o||e)==="mobile-first"?$8:Kg},_8=Zp({},lt,{appendToBody:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0},boundariesPadding:{type:Number,default:5},closeDelay:{type:Number,default:200},content:String,disabled:Boolean,modelValue:Boolean,offset:{default:0},openDelay:{type:Number,default:0},placement:{type:String,default:"bottom"},popper:{},popperClass:String,popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}},reference:{},tabindex:{type:Number,default:0},title:String,transition:{type:String,default:"fade-in-linear"},trigger:{type:String,default:"click",validator:function(e){return!!~["click","focus","hover","manual"].indexOf(e)}},visibleArrow:{default:!0},width:{type:[String,Number]},height:{type:[String,Number]},maxHeight:{type:[String,Number]},listData:[Object,Array],genArrowByHtml:{type:Boolean,default:function(){return!0}}}),Fi=Se({inheritAttrs:!0,name:Ue+"Popover",props:_8,setup:function(e,n){return vt({props:e,context:n,template:P8})}}),M8="2.undefined";Fi.install=function(t){t.component(Fi.name,Fi)};Fi.model={prop:"modelValue",event:"update:modelValue"};Fi.version=M8;const L8=({api:t,state:e,props:n})=>o=>{const i=o&&o.type==="mouseenter"?200:0;if(n.visible==="auto"){const{clientWidth:a,scrollWidth:l}=e.referenceElm;if(l<=a)return}t.setExpectedState(!0),t.handleShowPopper(i)},I8=t=>()=>{t.setExpectedState(!1),t.debounceClose()},N8=({api:t,state:e})=>()=>{e.focusing=!0,t.show()},O8=({api:t,state:e})=>()=>{e.focusing=!1,t.hide()},D8=({api:t,state:e})=>()=>{e.focusing=!1,t.show()},B8=({props:t,state:e})=>n=>{!e.expectedState||t.manual||(clearTimeout(e.timeout),e.timeout=window.setTimeout(()=>{e.showPopper=!0},t.openDelay||n),t.hideAfter>0&&(e.timeoutPending=window.setTimeout(()=>{e.showPopper=!1},t.hideAfter)))},q8=({api:t,props:e,state:n})=>()=>{e.enterable&&n.expectedState||e.manual||(clearTimeout(n.timeout),n.timeoutPending&&clearTimeout(n.timeoutPending),n.showPopper=!1,e.disabled&&t.doDestroy())},F8=({props:t,api:e,state:n,popperVmRef:o})=>r=>{if(t.manual)return;const i=n.referenceElm,a=o.popper;!a||!i||a.contains(r.target)||i.contains(r.target)||n.showPopper&&(e.setExpectedState(!1),e.debounceClose())},R8=({state:t})=>e=>{t.expectedState===!1&&clearTimeout(t.timeoutPending),t.expectedState=e},j8=({state:t,api:e,vm:n})=>()=>{const o=t.referenceElm;t.showPopper=!1,o&&o.nodeType===1&&(Re(document,"click",e.handleDocumentClick),Re(o,"mouseenter",e.show),Re(o,"mouseleave",e.hide),Re(o,"focus",e.focusHandler),Re(o,"blur",e.handleBlur),Re(o,"click",e.removeFocusing)),n.popperVM&&(typeof n.popperVM.$destroy=="function"&&n.popperVM.$destroy(),n.popperVM=null)},z8=({api:t,props:e})=>Sn(e.closeDelay,()=>{t.handleClosePopper()}),U8=t=>e=>{e?mn(t.referenceElm,"focusing"):fn(t.referenceElm,"focusing")},V8=({slots:t,api:e})=>()=>{if(!t.default||!t.default().length){e.handleFocus();return}let n=t.default()[0];n=n.elm||n.el,n&&n.focus?n.focus():e.handleFocus()},H8=({api:t,state:e,vm:n})=>o=>{let r=null;n.$el.nodeType===8?r=o:n.$el.nodeType===1&&(r=n.$el),!(!r||r.nodeType===8||e.referenceElm)&&(e.referenceElm=r,r.setAttribute("aria-describedby",e.tooltipId),r.setAttribute("tabindex",e.tabindex.toString()),Oe(document,"click",t.handleDocumentClick),Oe(r,"mouseenter",t.show),Oe(r,"mouseleave",t.hide),Oe(r,"focus",t.focusHandler),Oe(r,"blur",t.handleBlur),Oe(r,"click",t.removeFocusing))},Q8=({state:t,popperVmRef:e})=>n=>{for(let o of n)o.type==="attributes"&&o.attributeName==="x-placement"&&(t.xPlacement=e.popper.getAttribute("x-placement")||"bottom")},K8=({vm:t,nextTick:e,popperVmRef:n})=>o=>{e(()=>t.bindEvent(o));let r=t.popperVM;t.$refs.popper?n.popper=t.$refs.popper:n.popper=r.$el,e(()=>{t.modelValue&&t.updatePopper()})},hw=["state","bindEvent","hide","show","doDestroy","handleFocus","debounceClose","handleShowPopper","handleClosePopper","setExpectedState","updatePopper","focusHandler"],G8=({reactive:t,showPopper:e,popperElm:n,referenceElm:o,props:r,inject:i,popperJS:a,currentPlacement:l})=>t({popperJS:a,showPopper:e,popperElm:n,referenceElm:o,currentPlacement:l,timeout:null,focusing:!1,expectedState:void 0,tooltipId:Am("tiny-tooltip-",4),tabindex:r.tabindex,xPlacement:"bottom",showContent:i("showContent",null),tipsMaxWidth:i("tips-max-width",null)}),mw=(t,{watch:e,toRefs:n,reactive:o,onBeforeUnmount:r,onDeactivated:i,onMounted:a,onUnmounted:l,inject:s},{vm:c,emit:d,slots:u,nextTick:m,parent:h})=>{const p={},v={},f={emit:d,props:t,nextTick:m,toRefs:n,reactive:o,parent:h.$parent,vm:c,popperVmRef:v};Object.assign(f,{slots:u,onBeforeUnmount:r,onDeactivated:i,watch:e});const{showPopper:b,updatePopper:x,popperElm:w,referenceElm:E,doDestroy:S,popperJS:$,currentPlacement:q}=Hu(f),B=G8({reactive:o,showPopper:b,popperElm:w,referenceElm:E,props:t,inject:s,popperJS:$,currentPlacement:q});return Object.assign(p,{state:B,doDestroy:S,updatePopper:x,show:L8({api:p,state:B,props:t}),hide:I8(p),destroyed:j8({state:B,api:p,vm:c}),bindPopper:K8({vm:c,nextTick:m,popperVmRef:v}),watchFocusing:U8(B),removeFocusing:D8({api:p,state:B}),handleBlur:O8({api:p,state:B}),handleFocus:N8({api:p,state:B}),debounceClose:z8({api:p,props:t}),setExpectedState:R8({state:B}),handleShowPopper:B8({props:t,state:B}),handleClosePopper:q8({api:p,props:t,state:B}),bindEvent:H8({api:p,state:B,vm:c}),focusHandler:V8({slots:u,api:p}),handleDocumentClick:F8({props:t,api:p,state:B,popperVmRef:v}),observeCallback:Q8({state:B,popperVmRef:v})}),e(()=>B.focusing,p.watchFocusing),e(()=>t.modelValue,P=>m(()=>t.manual&&(B.showPopper=P))),a(()=>{if(p.bindPopper(),t.genArrowByHtml){const P={attributes:!0,childList:!1,subtree:!1};p.observer=new MutationObserver(p.observeCallback),p.observer.observe(v.popper,P)}}),c.$on("tooltip-update",p.bindPopper),l(()=>{p.destroyed(),p.observer&&p.observer.disconnect(),c.$off("tooltip-update")}),p};function W8(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t,c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}function Jp(){return Jp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Jp.apply(null,arguments)}var Y8=Se({name:Ue+"Tooltip",componentName:"Tooltip",props:Jp({},lt,{visible:{type:String,default:function(){return"always"},validator:function(e){return["always","auto"].includes(e)}},adjustArrow:{type:Boolean,default:function(){return!1}},appendToBody:{type:Boolean,default:function(){return!0}},arrowOffset:{type:Number,default:function(){return 0}},boundariesPadding:{type:Number,default:function(){return 5}},closeDelay:{type:Number,default:function(){return 300}},content:{type:[String,Object]},disabled:{type:Boolean},effect:{type:String,default:function(){return"dark"}},enterable:{type:Boolean,default:function(){return!0}},hideAfter:{type:Number,default:function(){return 0}},manual:{type:Boolean},modelValue:{type:Boolean},offset:{default:function(){return 0}},openDelay:{type:Number,default:function(){return 0}},placement:{type:String,default:function(){return"bottom"}},popper:{},popperClass:{type:String},popperOptions:{default:function(){return{gpuAcceleration:!1,boundariesPadding:10}}},pre:{type:Boolean},reference:{},renderContent:{type:Function},tabindex:{type:Number,default:function(){return 0}},transition:{type:String,default:function(){return"tiny-fade-in-linear"}},type:{type:String,validator:function(e){return!!~["normal","warning","error","info","success"].indexOf(e)}},visibleArrow:{type:Boolean,default:function(){return!0}},zIndex:{type:String,default:function(){return"next"}},contentMaxHeight:{type:String}}),setup:function(e,n){return je({props:e,context:n,renderless:mw,api:hw})},render:function(){var e=this,n=arguments[0],o=function(c){var d=c.slots.content&&c.slots.content();if(d&&(!dt.Comment||d[0].type!==dt.Comment))return d;var u;return c.renderContent?u=c.renderContent(n,c.content):c.pre?u=c.content?n("pre",c.content):null:u=c.content,u};if(!Object.prototype.hasOwnProperty.call(this,"popperVM")){var r={value:null};this.d({popperVM:{get:function(){return r.value||(r.value=Ku({el:document.createElement("div"),propsData:null,component:{render:function(){var d=o(e),u=typeof d=="string",m={attrs:{name:e.transition},on:{"after-leave":e.doDestroy}},h="is-"+(e.type||e.effect||"dark"),p=function(){return e.setExpectedState(!0)},v=function(){e.setExpectedState(!1),e.debounceClose()};return e.$nextTick(function(){!e.disabled&&e.state.showPopper&&d&&e.updatePopper()}),n("transition",m,[n("div",{ref:"popper",attrs:{id:e.state.tooltipId,role:"tooltip","aria-hidden":e.disabled||!e.state.showPopper?"true":"false"},directives:[{name:"show",value:!e.disabled&&e.state.showPopper&&d}],class:["tiny-tooltip","tiny-tooltip__popper",h,e.popperClass,{"tiny-tooltip__show-tips":e.state.showContent}],style:"max-width:"+e.state.tipsMaxWidth+"px",on:{mouseenter:function(){return p()},mouseleave:function(){return v()}}},[u?n("div",{class:"tiny-tooltip__content-wrapper",style:"max-height:"+e.contentMaxHeight+";"},[d]):d])])}}})),r.value},set:function(c){return r.value=c}}})}var i=function(){var c=e.slots.default&&e.slots.default();if(!Array.isArray(c))return null;for(var d=null,u=0;u<c.length;u++){var m=h2(c[u]);if(!m2(m)){d=m;break}}return d},a=i();if(!a)return null;var l=a.data||a.props||(a.props={});return l.class=P6("tiny-tooltip "+Tu(l.class)),a}}),X8,Z8,Wg={},J8=W8(Y8,X8,Z8,!1,e_);function e_(t){for(var e in Wg)this[e]=Wg[e]}var Yg=(function(){return J8.exports})();function t_(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t,c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}function eh(){return eh=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},eh.apply(null,arguments)}var No={tooltip:"absolute bg-color-text-primary text-color-text-inverse shadow-none -left-[9999px] py-1 px-2 sm:py-1 sm:px-2 text-sm sm:text-xs leading-5 min-w-[theme(spacing.12)] max-w-[theme(spacing.80)] sm:max-w-[theme(spacing.112)] z-[2000] break-words rounded [&[x-placement^=top]]:mb-2.5 [&[x-placement^=bottom]]:mt-2.5 [&[x-placement^=right]]:ml-2.5 [&[x-placement^=left]]:mr-2.5","tooltip-sm":"sm:bg-color-bg-1 sm:text-color-text-primary sm:shadow-md",arrow:'drop-shadow-none absolute block w-0 h-0 border-[0.375rem] border-transparent border-solid after:absolute after:block after:w-0 after:h-0 after:border-[0.3125rem] after:border-transparent after:border-solid after:content-[""]',"placement-top":"-bottom-3 border-t-color-text-primary border-b-w-0 after:-bottom-1 after:-ml-1.5 after:border-t-color-text-primary after:border-b-w-0","placement-bottom":"-top-3 border-t-w-0 border-b-color-text-primary after:-top-1 after:-ml-1.5 after:border-t-w-0 after:border-b-color-text-primary","placement-right":"-left-3 border-r-color-text-primary border-l-w-0 after:-bottom-1 after:-left-1 after:border-r-color-text-primary after:border-l-w-0","placement-left":"-right-1.5 border-l-color-text-primary border-r-0 after:-bottom-1 after:right-px after:-ml-1.5 after:border-l-color-text-primary after:border-r-0","placement-top-sm":"sm:drop-shadow-[0_2px_2px_rgba(0,0,0,0.08)] sm:border-t-color-bg-1 sm:after:border-t-color-bg-1","placement-bottom-sm":"sm:drop-shadow-[0_-2px_2px_rgba(0,0,0,0.08)] sm:border-b-color-bg-1 sm:after:border-b-color-bg-1","placement-right-sm":"sm:drop-shadow-[-2px_0px_2px_rgba(0,0,0,0.08)] sm:border-r-color-bg-1 sm:after:border-r-color-bg-1","placement-left-sm":"sm:drop-shadow-[2px_0_2px_rgba(0,0,0,0.08)] sm:border-l-color-bg-1 sm:after:border-l-color-bg-1","placement-top-light":"border-t-color-bg-1 drop-shadow-[0_2px_2px_rgba(0,0,0,0.08)] after:border-t-color-bg-1","placement-bottom-light":"border-b-color-bg-1 drop-shadow-[0_-2px_2px_rgba(0,0,0,0.08)] after:border-b-color-bg-1","placement-left-light":"border-l-color-bg-1 drop-shadow-[2px_0_2px_rgba(0,0,0,0.08)] after:border-l-color-bg-1","placement-right-light":"border-r-color-bg-1 drop-shadow-[-2px_0px_2px_rgba(0,0,0,0.08)] after:border-r-color-bg-1","placement-top-dark":"border-t-color-text-primary after:border-t-color-text-primary","placement-bottom-dark":"border-b-color-text-primary after:border-b-color-text-primary","placement-left-dark":"border-l-color-text-primary after:border-l-color-text-primary","placement-right-dark":"border-r-color-text-primary after:border-r-color-text-primary","effect-dark":"bg-color-text-primary text-color-text-inverse shadow-none","effect-light":"bg-color-bg-1 text-color-text-primary shadow-md","is-warning":"text-color-text-inverse bg-color-warning border-color-warning","is-error":"text-color-text-inverse bg-color-error border-color-error","is-info":"text-color-text-inverse bg-color-info-secondary border-color-info-secondary","is-success":"text-color-text-inverse bg-color-success border-color-success","arrow-top-warning":"border-t-color-warning after:border-t-color-warning","arrow-bottom-warning":"border-b-color-warning after:border-b-color-warning","arrow-left-warning":"border-l-color-warning after:border-l-color-warning","arrow-right-warning":"border-r-color-warning after:border-r-color-warning","arrow-top-error":"border-t-color-error after:border-t-color-error","arrow-bottom-error":"border-b-color-error after:border-b-color-error","arrow-left-error":"border-l-color-error after:border-l-color-error","arrow-right-error":"border-r-color-error after:border-r-color-error","arrow-top-info":"border-t-color-info-secondary after:border-t-color-info-secondary","arrow-bottom-info":"border-b-color-info-secondary after:border-b-color-info-secondary","arrow-left-info":"border-l-color-info-secondary after:border-l-color-info-secondary","arrow-right-info":"border-r-color-info-secondary after:border-r-color-info-secondary","arrow-top-success":"border-t-color-success after:border-t-color-success","arrow-bottom-success":"border-b-color-success after:border-b-color-success","arrow-left-success":"border-l-color-success after:border-l-color-success","arrow-right-success":"border-r-color-success after:border-r-color-success"},n_=Se({name:Ue+"Tooltip",componentName:"Tooltip",props:eh({},lt,{adjustArrow:{type:Boolean,default:function(){return!1}},appendToBody:{type:Boolean,default:function(){return!0}},arrowOffset:{type:Number,default:function(){return 0}},boundariesPadding:{type:Number,default:function(){return 5}},closeDelay:{type:Number,default:function(){return 100}},content:{type:String},disabled:{type:Boolean},effect:{type:String,default:function(){return""}},enterable:{type:Boolean,default:function(){return!0}},hideAfter:{type:Number,default:function(){return 0}},manual:{type:Boolean},modelValue:{type:Boolean},offset:{default:function(){return 0}},openDelay:{type:Number,default:function(){return 0}},placement:{type:String,default:function(){return"bottom"}},popper:{},popperClass:{type:String},popperOptions:{default:function(){return{gpuAcceleration:!1,boundariesPadding:10}}},pre:{type:Boolean},reference:{},renderContent:{type:Function},tabindex:{type:Number,default:function(){return 0}},transformOrigin:{type:[Boolean,String],default:function(){return!0}},type:{type:String,validator:function(e){return~["normal","warning","error","info","success"].indexOf(e)}},visibleArrow:{type:Boolean,default:function(){return!0}},genArrowByHtml:{type:Boolean,default:function(){return!0}},zIndex:{type:String,default:function(){return"next"}},contentMaxHeight:{type:String}}),setup:function(e,n){return je({props:e,context:n,renderless:mw,api:hw})},render:function(){var e=this,n=arguments[0],o=function(u){var m=u.slots.content&&u.slots.content();if(m)return m;var h;return u.renderContent?h=u.renderContent(n,u.content):u.pre?h=u.content?n("pre",{class:"tiny-tooltip-text-pre whitespace-pre-wrap"},u.content):null:h=u.content,h};if(!Object.hasOwnProperty.call(this,"popperVM")){var r={value:null};this.d({popperVM:{get:function(){return r.value||(r.value=Ku({el:document.createElement("div"),component:{render:function(){var m=o(e),h=typeof m=="string",p={on:{"after-leave":e.doDestroy}},v=function(){return e.setExpectedState(!0)},f=function(){e.setExpectedState(!1),e.debounceClose()},b=e.state.xPlacement||"";return n("transition",p,[n("div",{attrs:{"data-tag":"tiny-tooltip",id:e.state.tooltipId,appendToBody:e.appendToBody,role:"tooltip","aria-hidden":e.disabled||!e.state.showPopper?"true":"false"},ref:"popper",directives:[{name:"show",value:!e.disabled&&e.state.showPopper&&m}],class:Bl([No.tooltip,!e.effect&&!e.type&&No["tooltip-sm"],e.effect&&No["effect-"+e.effect],e.type&&No["is-"+e.type],e.disabled||!e.state.showPopper?"hidden":"",e.popperClass]),on:{mouseenter:function(){return v()},mouseleave:function(){return f()}}},[h?n("div",{style:"overflow:auto;max-height:"+e.contentMaxHeight},[m]):m,e.visibleArrow?n("div",{attrs:{"x-arrow":!0},class:Bl([No.arrow,No["placement-"+b.split("-")[0]],!e.effect&&!e.type&&No["placement-"+b.split("-")[0]+"-sm"],e.effect==="light"?No["placement-"+b.split("-")[0]+"-light"]:"",e.effect==="dark"?No["placement-"+b.split("-")[0]+"-dark"]:"",e.type?No["arrow-"+b.split("-")[0]+"-"+e.type]:""])}):""])])}}})),r.value},set:function(u){return r.value=u}}})}var i=function(u,m){var h=function(x){return x&&x.trim()},p=function(x){var w=[];return x.forEach(function(E){E&&typeof E=="string"?w.push(h(E)):E&&typeof E=="object"&&w.push(v(E))}),w.join(" ")},v=function(x){var w=[];return Object.keys(x).forEach(function(E){x[E]&&w.push(E)}),w.join(" ")},f="";return u&&(typeof u=="string"?f=f+h(u):Array.isArray(u)?f=f+p(u):typeof u=="object"&&(f=f+v(u))),h(f.replace(m,""))},a=function(u){var m=i(u,/\btiny-tooltip\b/g);return"tiny-tooltip "+m},l=function(){var u=e.slots.default&&e.slots.default();if(!Array.isArray(u))return null;for(var m=null,h=0;h<u.length;h++){var p=h2(u[h]);if(!m2(p)){m=p;break}}return m},s=l();if(!s)return null;var c=s.data||s.props||(s.props={});return c.class=a(c.class),s}}),o_,r_,Xg={},i_=t_(n_,o_,r_,!1,a_);function a_(t){for(var e in Xg)this[e]=Xg[e]}var s_=(function(){return i_.exports})();function th(){return th=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},th.apply(null,arguments)}var l_=function(e){var n,o=typeof process=="object"?(n=process.env)==null?void 0:n.TINY_MODE:null;return(o||e)==="pc"?Yg:(o||e)==="mobile-first"?s_:Yg},c_=th({},lt,{visible:{type:String,default:function(){return"always"},validator:function(e){return["always","auto"].includes(e)}},adjustArrow:{type:Boolean,default:function(){return!1}},appendToBody:{type:Boolean,default:function(){return!0}},arrowOffset:{type:Number,default:function(){return 0}},content:{type:[String,Object]},disabled:{type:Boolean},enterable:{type:Boolean,default:function(){return!0}},hideAfter:{type:Number,default:function(){return 0}},manual:{type:Boolean},modelValue:{type:Boolean},offset:{default:function(){return 0}},effect:{type:String,default:function(){return""}},openDelay:{type:Number,default:function(){return 0}},closeDelay:{type:Number,default:function(){return 100}},placement:{type:String,default:function(){return"bottom"}},popper:{},popperClass:{type:String},popperOptions:{default:function(){return{}}},pre:{type:Boolean},reference:{},renderContent:{type:Function},tabindex:{type:Number,default:function(){return 0}},transition:{type:String,default:function(){return"tiny-fade-in-linear"}},type:{type:String,validator:function(e){return!!~["normal","warning","error","info","success"].indexOf(e)}},visibleArrow:{type:Boolean,default:function(){return!0}},genArrowByHtml:{type:Boolean,default:function(){return!0}},zIndex:{type:String,default:function(){return"next"}},contentMaxHeight:{type:String,default:function(){return"80vh"}}}),Cn=Se({name:Ue+"Tooltip",componentName:"Tooltip",props:c_,setup:function(e,n){return vt({props:e,context:n,template:l_})}}),u_="2.undefined";Cn.model={prop:"modelValue",event:"update:modelValue"};Cn.install=function(t){t.component(Cn.name,Cn)};Cn.version=u_;var d_=2,es={value:null},Kd=dt.ref(""),p_=function(e){var n=nh(e);return n?e.scrollWidth>e.clientWidth||e.scrollHeight-e.clientHeight>d_:!1},nh=function(e){return"content"in e.boundingValue?e.boundingValue.content:e.textContent},h_=function(e){var n;return!!(!(e==null||(n=e.boundingValue)==null)&&n.always)},Gd=function(e){var n;return(e==null||(n=e.boundingValue)==null?void 0:n.effect)==="dark"},Wd=function(e){var n;return((n=e.boundingValue)==null?void 0:n.placement)||"top"},fw=function(e){var n=e.currentTarget;if(n.boundingValue&&(h_(n)||p_(n))){var o;es.value||(Kd.value=nh(n),es.value=Ku({el:document.createElement("div"),propsData:{renderContent:function(){return xu("span",{class:"tiny-directive-tip__content"},Kd.value)},placement:Wd(n),effect:Gd(n)?"dark":"light"},component:Cn}));var r=es.value,i=r.state.popperElm;Kd.value=nh(n),r.state.referenceElm=n,r.state.currentPlacement=Wd(n),i&&i.classList.replace("is-"+(Gd(n)?"light":"dark"),"is-"+(Gd(n)?"dark":"light")),r.show(),(o=r.state.popperJS)!=null&&o._options&&(r.state.popperJS._options.placement=Wd(n)),r.updatePopper()}},gw=function(){es.value&&es.value.hide()},xc=function(e,n){var o,r=n.value,i=r===void 0?{}:r;e.boundingValue=i,i&&!((o=e.boundingValue)!=null&&o.listened)&&(e.addEventListener("mouseenter",fw),e.addEventListener("mouseleave",gw),e.boundingValue.listened=!0)},Zg=function(e){var n;if((n=e.boundingValue)!=null&&n.listened){var o=es.value;o&&e===o.state.referenceElm&&o.state.showPopper&&o.hide(),e.removeEventListener("mouseenter",fw),e.removeEventListener("mouseleave",gw)}},Jl={bind:xc,unbind:Zg,update:xc,beforeMount:xc,unmounted:Zg,updated:xc},Ni=[],Vt="@@clickoutsideContext",Wa,m_=0;tt||(Oe(document,"mousedown",function(t){Wa=t,Ni.filter(function(e){return e[Vt].mousedownTrigger}).forEach(function(e){return e[Vt].documentHandler(t,Wa)})}),Oe(document,"mouseup",function(t){Ni.filter(function(e){return!e[Vt].mousedownTrigger}).forEach(function(e){var n;return e[Vt].documentHandler(t,(n=e[Vt])!=null&&n.mouseupTrigger?t:Wa)}),Wa=null}));var Jg=function(e,n,o){return function(r,i){var a,l,s,c,d,u;r===void 0&&(r={}),i===void 0&&(i={});var m=o.context.popperElm||o.context.state&&o.context.state.popperElm,h=((a=i)==null||a.composedPath==null?void 0:a.composedPath())||[(l=i)==null?void 0:l.target],p=((s=r)==null||s.composedPath==null?void 0:s.composedPath())||[(c=r)==null?void 0:c.target],v=h.includes(e)||p.includes(e),f=m&&(h.includes(m)||p.includes(m));!((d=i)!=null&&d.target)||!((u=r)!=null&&u.target)||v||f||(n.expression&&e[Vt].methodName&&o.context[e[Vt].methodName]?o.context[e[Vt].methodName]():e[Vt].bindingFn&&e[Vt].bindingFn())}},oa={bind:function(e,n,o){Ni.push(e);var r=m_++,i=n.modifiers,a=n.expression,l=n.value,s=i||{},c=s.mousedown,d=c===void 0?!1:c,u=s.mouseup,m=u===void 0?!1:u;e[Vt]={id:r,documentHandler:Jg(e,n,o),methodName:a,bindingFn:l,mousedownTrigger:d,mouseupTrigger:m}},update:function(e,n,o){var r=n.modifiers,i=n.expression,a=n.value,l=r||{},s=l.mousedown,c=s===void 0?!1:s,d=l.mouseup,u=d===void 0?!1:d;e[Vt].documentHandler=Jg(e,n,o),e[Vt].methodName=i,e[Vt].bindingFn=a,e[Vt].mousedownTrigger=c,e[Vt].mouseupTrigger=u},unbind:function(e){if(e.nodeType===Node.ELEMENT_NODE){for(var n=Ni.length,o=0;o<n;o++)if(Ni[o][Vt].id===e[Vt].id){Ni.splice(o,1);break}Ni.length===0&&Wa&&(Wa=null),delete e[Vt]}}};function vw(t,e){for(var n=document.createTreeWalker(t,NodeFilter.SHOW_TEXT),o=[];n.nextNode();){var r=n.currentNode;e(r)&&o.push(r)}return o}function f_(t,e,n){e.forEach(function(o){var r=o.textContent,i=r.indexOf(n),a=r.substring(0,i),l=r.substring(i+n.length);o.textContent=a;var s=document.createElement("span");s.classList.add("tiny-hl-query-node"),s.textContent=n;var c=document.createTextNode(l);o.after(s,c)}),e.length&&Hm(t,n)}function g_(t){var e=new Set;t.forEach(function(n){var o;return e.add((o=n.parentElement)==null?void 0:o.parentElement)}),e.forEach(function(n){n.innerText=n.textContent})}function Hm(t,e){if(e){var n=vw(t,function(o){if(o.parentElement.classList.contains("tiny-hl-query-node"))return!1;var r=o.textContent||"";return r.includes(e)});f_(t,n,e)}}function v_(t){var e=vw(t,function(n){return n.parentElement.classList.contains("tiny-hl-query-node")});g_(e)}var e1=function(e,n){e.classList.toggle("tiny-hl-query",!0);var o=n.value;Hm(e,o)},t1=function(e){v_(e)},n1=function(e,n){var o=n.value;Hm(e,o)},y_={mounted:e1,beforeUpdate:t1,updated:n1,inserted:e1,update:t1,componentUpdated:n1};var ku="@@observevisibilityContext",b_=function(e){var n;return typeof e=="function"?n={callback:e}:n=e,n},yw=function(e){var n=e.options,o=e.instance,r=e.state;r.observer&&oh(r),!r.frozen&&(r.options=b_(n),r.callback=function(i,a){r.options.callback(i,a),i&&r.options.once&&(r.frozen=!0,oh(r))},r.callback&&r.options.throttle&&(r.callback=Hp(r.options.throttleDelay||20,r.callback)),r.observer=new IntersectionObserver(function(i){var a=i[0];if(i.length>1){var l=i.find(function(s){return s.isIntersecting});l&&(a=l)}r.callback&&r.callback(a.isIntersecting,a)},r.options.intersection),o.$nextTick(function(){r.observer&&r.observer.observe(r.el)}))},oh=function(e){e.observer&&(e.observer.disconnect(),e.observer=null),e.callback&&(e.callback=null)},w_=function(e){var n=e.el,o=e.options,r=e.instance,i={el:n,observer:null,frozen:!1};return yw({options:o,instance:r,state:i}),i},rh=function(e,n,o){var r=n.value,i=n.instance,a=o.context;if(r){if(typeof IntersectionObserver>"u")throw new TypeError("[TINY Error][ObserveVisibility] IntersectionObserver API is not available in your browser");i=i||a,e[ku]=w_({el:e,options:r,instance:i})}},o1=function(e,n,o){var r=n.value,i=n.oldValue,a=n.instance,l=o.context;if(!ni(r,i)){var s=e[ku];if(!r){ih(e);return}a=a||l,s?yw({options:r,instance:a,state:s}):rh(e,{value:r,instance:a},{context:l})}},ih=function(e){var n=e[ku];n&&(oh(n),delete e[ku])},x_={bind:rh,update:o1,unbind:ih,beforeMount:rh,updated:o1,unmounted:ih};function T_(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var k_=Se({emits:["change","edit","update:modelValue"],directives:{AutoTip:Jl},props:[].concat(Ye,["size","data","plain","modelValue","disabled","valueField","textField","showMore","showEdit","border"]),components:{TinyPopover:Fi,TinyButton:Pt,IconPopup:d$(),IconEditor:P4()},setup:function(e,n){return je({props:e,context:n,renderless:HP,api:VP})}}),C_=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("div",{staticClass:"tiny-button-group",class:[e.size?"tiny-button-group--"+e.size:"",e.border?"":"tiny-button-group--borderless"]},[e._t("default",function(){return[e.data.length>0?[e.showMore&&e.showMore>0?o("ul",{staticClass:"tiny-group-item show-more"},[e._l(e.state.buttonData,function(r,i){return o("li",{key:i,class:{active:e.state.value===r[e.valueField]}},[o("button",{class:e.getItemClass(r),on:{click:function(l){return e.handleClick(r)}}},[e._v(" "+e._s(r[e.textField])+" ")]),r.sup?o("span",{class:["tiny-group-item__sup",{"tiny-group-item__sup-text":!r.sup.slot&&!r.sup.icon&&r.sup.text&&r.sup.tag,"tiny-group-item__sup-icon":!r.sup.slot&&r.sup.icon&&r.sup.tag,"tiny-group-item__sup-tag":r.sup.tag},typeof r.sup.class=="string"?r.sup.class:""].concat(Array.isArray(r.sup.class)?r.sup.class:[])},[r.sup.slot?e._t(r.sup.slot,null,{sup:r.sup}):r.sup.icon?o(r.sup.icon,{tag:"component"}):r.sup.text?o("span",[e._v(e._s(r.sup.text))]):e._e()],2):e._e()])}),e.data.length>e.showMore?o("li",{staticClass:"tiny-group-item__more"},[o("tiny-popover",{attrs:{"visible-arrow":!1,"popper-class":"tiny-group-item__more-popover"},scopedSlots:e._u([{key:"reference",fn:function(){return[o("tiny-button",{staticClass:"more-button",attrs:{"reset-time":0}},[o("icon-popup")],1)]},proxy:!0}],null,!1,3560931275)},[o("ul",{staticClass:"more-list"},e._l(e.state.moreData,function(r,i){return o("li",{key:i,class:{active:e.state.value===r[e.valueField],"more-item":!0},on:{click:function(l){return e.moreNodeClick(r)}}},[e._v(" "+e._s(r[e.textField])+" ")])}),0)])],1):e._e(),e.showEdit?o("li",{staticClass:"tiny-group-item__edit"},[o("tiny-button",{staticClass:"edit-button",on:{click:function(i){return e.$emit("edit")}}},[o("Icon-editor")],1)],1):e._e()],2):o("ul",{staticClass:"tiny-group-item"},e._l(e.data,function(r,i){return o("li",{key:i,class:{active:e.state.value===r[e.valueField]}},[o("button",{directives:[{name:"auto-tip",rawName:"v-auto-tip",value:r.tip?{always:!0,content:r.tip}:!1,expression:"Boolean(node.tip) ? { always: true, content: node.tip } : false"}],class:e.getItemClass(r),attrs:{type:"button",tabindex:e.getItemClass(r).disabled?"-1":"0"},on:{click:function(l){return e.handleClick(r)}}},[e._v(" "+e._s(r[e.textField])+" ")]),r.sup?o("span",{class:["tiny-group-item__sup",{"tiny-group-item__sup-text":!r.sup.slot&&!r.sup.icon&&r.sup.text&&!r.sup.tag,"tiny-group-item__sup-icon":!r.sup.slot&&r.sup.icon&&!r.sup.tag,"tiny-group-item__sup-tag":r.sup.tag},typeof r.sup.class=="string"?r.sup.class:""].concat(Array.isArray(r.sup.class)?r.sup.class:[])},[r.sup.slot?e._t(r.sup.slot,null,{sup:r.sup}):r.sup.icon?o(r.sup.icon,{tag:"component"}):r.sup.text?o("span",[e._v(e._s(r.sup.text))]):e._e()],2):e._e()])}),0)]:o("span",{staticClass:"tiny-button-group--empty"},[e._t("empty",function(){return[e._v(e._s(e.t("ui.buttonGroup.noData")))]})],2)]})],2)},A_=[],r1={},S_=T_(k_,C_,A_,!1,E_);function E_(t){for(var e in r1)this[e]=r1[e]}var $_=(function(){return S_.exports})();function ah(){return ah=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ah.apply(null,arguments)}var P_=function(e){var n;return typeof process=="object"&&((n=process.env)==null||n.TINY_MODE),$_},__=ah({},lt,{size:{type:String,default:"",validator:function(e){return["medium","small","mini",""].includes(e)}},data:{type:Array,default:function(){return[]}},plain:Boolean,modelValue:[String,Number],disabled:Boolean,valueField:{type:String,default:"value"},textField:{type:String,default:"text"},showMore:Number,showEdit:{type:Boolean,default:!1},border:{type:Boolean,default:!0}}),Ri=Se({name:Ue+"ButtonGroup",provide:function(){return{buttonGroup:this}},props:__,setup:function(e,n){return vt({props:e,context:n,template:P_})}}),M_="2.undefined";Ri.model={prop:"modelValue",event:"update:modelValue"};Ri.install=function(t){t.component(Ri.name,Ri)};Ri.version=M_;const L_=t=>(e,n)=>{if(!n.disabled)if(n.type==="sort")!n.modelValue||n.modelValue==="desc"?(n.state.sort="asc",n.$emit("update:modelValue","asc"),n.$emit("click","asc")):(n.state.sort="desc",n.$emit("update:modelValue","desc"),n.$emit("click","desc"));else{const o=t.children.length===1&&n.state.showPopup;t.children.forEach((r,i)=>{i===e&&!o?r.toggle(!0):r.state.showPopup&&r.toggle(!1,{immediate:!0})})}},I_=({props:t,state:e,vm:n})=>()=>{if(!n.$refs.menu)return;const o=n.$refs.menu.getBoundingClientRect();t.direction==="down"?e.offset=o.bottom:e.offset=window.innerHeight-o.top},N_=({props:t,state:e})=>()=>{t.closeOnClickOutside&&t.closeOnClickOverlay&&e.children.forEach(n=>{n.type!=="filter"&&n.toggle(!1)})},O_=(t,e)=>{const n=/scroll|auto/i;let o=t,r=window.getComputedStyle;for(;o&&o.tagName!=="HTML"&&o.nodeType===1&&o!==e;){const{overflowY:i}=r(o);if(n.test(i)){if(o.tagName!=="BODY")return o;const{overflowY:a}=r(o.parentNode);if(n.test(a))return o}o=o.parentNode}return e||null},D_=({api:t,props:e,hooks:n,instance:o,state:r,dropdownVm:i,designConfig:a})=>{var l,s;const{nextTick:c,onBeforeUnmount:d,onDeactivated:u,onMounted:m,reactive:h,toRefs:p,watch:v}=n,{emit:f,slots:b,vm:x,parent:w}=o,E={placement:e.placement||((l=a==null?void 0:a.props)==null?void 0:l.placement)||"bottom-end",visibleArrow:e.visibleArrow||((s=a==null?void 0:a.props)==null?void 0:s.visibleArrow)||!1},S=Hu({emit:f,nextTick:c,onBeforeUnmount:d,onDeactivated:u,props:_t(_t({popperOptions:{boundariesPadding:0,gpuAcceleration:!1},offset:0,boundariesPadding:5},e),E),reactive:h,vm:x,slots:b,toRefs:p,watch:v});m(()=>{i&&(S.popperElm&&(i.popperElm=S.popperElm.value=x.$el,c(()=>{S.referenceElm&&(S.referenceElm.value=i.$el)}),!e.multiStage&&i.initDomOperation()),i.inheritWidth&&S.popperElm&&(i.popperElm.style.minWidth=i.$el.clientWidth+"px"))}),d(()=>{S.destroyPopper("remove"),S.popperElm=null,S.referenceElm=null}),t.doDestroy=S.doDestroy,r.size=(i==null?void 0:i.size)||"",r.showPopper=S.showPopper.value,w.$on("updatePopper",()=>{r.showPopper&&S.updatePopper()}),w.$on("visible",$=>{r.showPopper=$,S.showPopper.value=$,r.showPopper&&(r.initShowPopper=!0)}),v(()=>e.placement,$=>{S.currentPlacement.value=$})},B_=({api:t,parent:e,state:n})=>()=>{e.$on("menu-selected-index",o=>{n.selectedIndex=o}),e.$on("menu-item-click",t.handleMenuItemClick),e.$on("mouseenter-tips",(o,r)=>{n.label=r,n.showContent=o}),e.$on("mouseleave-tips",(o,r)=>{n.label=r,n.showContent=o})},q_=({state:t,dispatch:e})=>({itemData:n,vm:o,label:r,showContent:i,disabled:a})=>{t.label=r,t.showContent=i,e("TinyDropdown","current-item-click",{itemData:n,vm:o,disabled:a})},F_=t=>e=>{t("mouseenter",e)},R_=t=>e=>{t("mouseleave",e)},bw=["state","toggleItem","updateOffset","clickOutside","doDestroy","handleMouseenter","handleMouseleave"],ww=(t,e,n)=>{const o={},{reactive:r,provide:i,onMounted:a,inject:l}=e,{nextTick:s,mode:c,vm:d,parent:u,dispatch:m,emit:h,designConfig:p}=n;i("dropdownMenuVm",d),i("multiStage",t.multiStage);const v=l("dropdownVm"),f=r({offset:0,scroller:null,children:[],size:"",showPopper:!1,initShowPopper:!v.lazyShowPopper,label:"",showContent:!1,selected:!1,selectedIndex:-1,canvasHeight:l("change-size",null)});return c==="mobile"?s(()=>{f.scroller=O_(d.$refs.menu)}):D_({api:o,hooks:e,props:t,instance:n,state:f,dropdownVm:v,designConfig:p}),Object.assign(o,{state:f,toggleItem:L_(f),clickOutside:N_({props:t,state:f}),updateOffset:I_({props:t,state:f,vm:d}),mounted:B_({api:o,parent:u,state:f}),handleMouseenter:F_(h),handleMouseleave:R_(h),handleMenuItemClick:q_({dispatch:m,state:f})}),a(o.mounted),o},j_=t=>()=>{if(t.title)return t.title;const e=t.options.filter(n=>n.value===t.modelValue);return e.length?e[0].text:""},z_=({api:t,parent:e})=>n=>{(n?Oe:Re)(e.state.scroller,"scroll",t.onScroll,!0)},U_=({parent:t,props:e,state:n})=>o=>{o!==n.showPopup&&(n.transition=!e.options.immediate,n.showPopup=o,o&&(t.updateOffset(),n.showWrapper=!0))},V_=t=>()=>t.updateOffset(),H_=t=>e=>t.$el&&e.stopPropagation(),Q_=({emit:t,props:e,state:n})=>o=>{n.showPopup=!1,o!==e.modelValue&&(t("update:modelValue",o),t("change",o))},K_=({parent:t,state:e})=>()=>({zIndex:t.zIndex,top:t.direction==="down"?e.offset+"px":"",bottom:t.direction!=="down"?e.offset+"px":""}),G_=t=>(e,n)=>n.includes(e.value)?{color:t.activeColor?t.activeColor:"#f36f64",border:`1px solid ${t.activeColor?t.activeColor:"#f36f64"}`}:{color:"#333"},W_=({emit:t,state:e})=>()=>{e.showWrapper=!1,t("closed")},Y_=t=>()=>t("open"),X_=t=>()=>t("opened"),Z_=t=>()=>t("close"),J_=({emit:t,props:e})=>(n,o,r)=>{r.preventDefault(),r.stopPropagation();const i=e.modelValue.slice(),a=i[n],l=a.indexOf(o.value);l===-1?a.push(o.value):a.splice(l,1),i[n]=a,t("update:modelValue",i)},eM=({emit:t,props:e,state:n})=>()=>{n.showPopup=!1,t("confirm",e.modelValue)},tM=({emit:t,props:e})=>()=>{const n=e.modelValue.length,o=[];for(let r=0;r<n;r++)o.push([]);t("update:modelValue",o),t("reset",o)},nM=t=>()=>{t.closeOnClickOutside&&t.closeOnClickOverlay&&t.state.children.forEach(e=>{e.toggle(!1)})},oM=({state:t,props:e,dispatch:n,vm:o,emit:r})=>i=>{i.stopPropagation(),t.currentIndex=`${e.currentIndex}`;const a={itemData:e.itemData,vm:o,disabled:e.disabled};e.disabled||r("item-click",a),n("TinyDropdown","menu-item-click",a),n("TinyDropdown","is-disabled",[e.disabled]),n("TinyDropdown","selected-index",[t.currentIndex])},rM=({constants:t,designConfig:e})=>(n="leftWardArrow")=>(e==null?void 0:e.icons[n])||(t==null?void 0:t.ICON_MAP[n]),iM=({props:t,vm:e})=>()=>t.tip&&typeof t.tip=="function"?t.tip({itemData:t.itemData,vm:e}):t.tip||"",aM=["state","confirm","clickOutside","getOptionStyle","reset","tagClick","clickItem","clickWrapper","toggle","open","opened","close","closed","handleClick","computedTip"],sM=({reactive:t,computed:e,api:n,props:o,parent:r,dropdownMenuVm:i,dropdownVm:a})=>t({checkedStatus:i==null?void 0:i.checkedStatus,sort:o.modelValue,transition:!0,getTitle:!1,showWrapper:!1,showPopup:!1,duration:r.duration,overlay:e(()=>r.overlay),offset:e(()=>r.state.offset),direction:e(()=>r.direction),displayTitle:e(()=>n.getTitle()),itemStyle:e(()=>n.getItemStyle()),activeColor:e(()=>r.activeColor),closeOnClickOverlay:e(()=>r.closeOnClickOverlay),dropdownMenuVm:i,currentIndex:o.currentIndex,textField:(i==null?void 0:i.textField)||o.textField,popperClass:(i==null?void 0:i.popperClass)||"",sizeClass:a!=null&&a.size?`tiny-dropdown-item--${a==null?void 0:a.size}`:"",getIcon:e(()=>n.computedGetIcon()),children:[],computedTip:e(()=>n.computedTip())}),lM=({api:t,state:e,emit:n,props:o,parent:r,dispatch:i,vm:a,constants:l,designConfig:s})=>{Object.assign(t,{state:e,open:Y_(n),opened:X_(n),close:Z_(n),getTitle:j_(o),onScroll:V_(r),reset:tM({emit:n,props:o}),closed:W_({emit:n,state:e}),clickWrapper:H_(r),clickOutside:nM(r),tagClick:J_({emit:n,props:o}),getOptionStyle:G_(e),toggle:U_({parent:r,props:o,state:e}),clickItem:Q_({emit:n,props:o,state:e}),getItemStyle:K_({parent:r,state:e}),bindScroll:z_({api:t,parent:r}),confirm:eM({emit:n,props:o,state:e}),handleClick:oM({state:e,props:o,dispatch:i,vm:a,emit:n}),computedGetIcon:rM({constants:l,designConfig:s}),computedTip:iM({props:o,vm:a})})},cM=(t,{computed:e,onMounted:n,reactive:o,watch:r,inject:i},{parent:a,emit:l,vm:s,dispatch:c,constants:d,designConfig:u})=>{const m={},h=i("dropdownMenuVm",null),p=i("dropdownVm",null),v=sM({reactive:o,computed:e,api:m,props:t,parent:a,dropdownMenuVm:h,dropdownVm:p});return lM({api:m,state:v,emit:l,props:t,parent:a,dispatch:c,vm:s,constants:d,designConfig:u}),r(()=>v.showPopup,m.bindScroll),n(()=>{const f=a.$parent.$parent||{};f.state&&f.state.children?f.state.children.push(s):h&&(h.state.children=[...h.state.children,s]),t.disabled&&(v.checkedStatus=!1)}),m};function uM(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var dM=Se({name:Ue+"DropdownItem",componentName:Ue+"DropdownItem",directives:{AutoTip:Jl},emits:["item-click","update:modelValue","change","closed","open","opened","close","confirm","reset"],props:[].concat(Ye,["disabled","divided","icon","itemData","selected","currentIndex","title","titleClass","options","type","label","selectedField","multiStage","appendToBody","textField","tip","tipPosition","effect","isMono"]),components:{IconLeftWardArrow:eP()},setup:function(e,n){return je({props:e,context:n,renderless:cM,api:aM,mono:e.isMono})}}),pM=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("li",{directives:[{name:"auto-tip",rawName:"v-auto-tip",value:e.state.computedTip?{always:!0,content:e.state.computedTip,effect:e.effect,placement:e.tipPosition}:!1,expression:`
|
|
4
|
+
`&&c()}return t.trim(s)}return Dd=e,Dd}var Bd,dg;function AA(){if(dg)return Bd;dg=1;var t=t0(),e=CA();n0();function n(i){return i==null}function o(i){var a={};for(var l in i)a[l]=i[l];return a}function r(i){i=o(i||{}),i.whiteList=i.whiteList||t.whiteList,i.onAttr=i.onAttr||t.onAttr,i.onIgnoreAttr=i.onIgnoreAttr||t.onIgnoreAttr,i.safeAttrValue=i.safeAttrValue||t.safeAttrValue,this.options=i}return r.prototype.process=function(i){if(i=i||"",i=i.toString(),!i)return"";var a=this,l=a.options,s=l.whiteList,c=l.onAttr,d=l.onIgnoreAttr,u=l.safeAttrValue,m=e(i,function(h,p,v,f,b){var x=s[v],w=!1;if(x===!0?w=x:typeof x=="function"?w=x(f):x instanceof RegExp&&(w=x.test(f)),w!==!0&&(w=!1),f=u(v,f),!!f){var E={position:p,sourcePosition:h,source:b,isWhite:w};if(w){var S=c(v,f,E);return n(S)?v+":"+f:S}else{var S=d(v,f,E);if(!n(S))return S}}});return m},Bd=r,Bd}var pg;function Bp(){return pg||(pg=1,(function(t,e){var n=t0(),o=AA();function r(a,l){var s=new o(l);return s.process(a)}e=t.exports=r,e.FilterCSS=o;for(var i in n)e[i]=n[i];typeof window<"u"&&(window.filterCSS=t.exports)})(Od,Od.exports)),Od.exports}var hg,mg;function xm(){return mg||(mg=1,hg={indexOf:function(t,e){var n,o;if(Array.prototype.indexOf)return t.indexOf(e);for(n=0,o=t.length;n<o;n++)if(t[n]===e)return n;return-1},forEach:function(t,e,n){var o,r;if(Array.prototype.forEach)return t.forEach(e,n);for(o=0,r=t.length;o<r;o++)e.call(n,t[o],o,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/,n=e.exec(t);return n?n.index:-1}}),hg}var fg;function o0(){if(fg)return Et;fg=1;var t=Bp().FilterCSS,e=Bp().getDefaultWhiteList,n=xm();function o(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var r=new t;function i(k,z,O){}function a(k,z,O){}function l(k,z,O){}function s(k,z,O){}function c(k){return k.replace(u,"<").replace(m,">")}function d(k,z,O,K){if(O=N(O),z==="href"||z==="src"){if(O=n.trim(O),O==="#")return"#";if(!(O.substr(0,7)==="http://"||O.substr(0,8)==="https://"||O.substr(0,7)==="mailto:"||O.substr(0,4)==="tel:"||O.substr(0,11)==="data:image/"||O.substr(0,6)==="ftp://"||O.substr(0,2)==="./"||O.substr(0,3)==="../"||O[0]==="#"||O[0]==="/"))return""}else if(z==="background"){if(x.lastIndex=0,x.test(O))return""}else if(z==="style"){if(w.lastIndex=0,w.test(O)||(E.lastIndex=0,E.test(O)&&(x.lastIndex=0,x.test(O))))return"";K!==!1&&(K=K||r,O=K.process(O))}return O=D(O),O}var u=/</g,m=/>/g,h=/"/g,p=/"/g,v=/&#([a-zA-Z0-9]*);?/gim,f=/:?/gim,b=/&newline;?/gim,x=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,w=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,E=/u\s*r\s*l\s*\(.*/gi;function S(k){return k.replace(h,""")}function $(k){return k.replace(p,'"')}function q(k){return k.replace(v,function(z,O){return O[0]==="x"||O[0]==="X"?String.fromCharCode(parseInt(O.substr(1),16)):String.fromCharCode(parseInt(O,10))})}function B(k){return k.replace(f,":").replace(b," ")}function P(k){for(var z="",O=0,K=k.length;O<K;O++)z+=k.charCodeAt(O)<32?" ":k.charAt(O);return n.trim(z)}function N(k){return k=$(k),k=q(k),k=B(k),k=P(k),k}function D(k){return k=S(k),k=c(k),k}function W(){return""}function M(k,z){typeof z!="function"&&(z=function(){});var O=!Array.isArray(k);function K(te){return O?!0:n.indexOf(k,te)!==-1}var ne=[],re=!1;return{onIgnoreTag:function(te,Z,ee){if(K(te))if(ee.isClosing){var Y="[/removed]",se=ee.position+Y.length;return ne.push([re!==!1?re:ee.position,se]),re=!1,Y}else return re||(re=ee.position),"[removed]";else return z(te,Z,ee)},remove:function(te){var Z="",ee=0;return n.forEach(ne,function(Y){Z+=te.slice(ee,Y[0]),ee=Y[1]}),Z+=te.slice(ee),Z}}}function C(k){for(var z="",O=0;O<k.length;){var K=k.indexOf("<!--",O);if(K===-1){z+=k.slice(O);break}z+=k.slice(O,K);var ne=k.indexOf("-->",K);if(ne===-1)break;O=ne+3}return z}function V(k){var z=k.split("");return z=z.filter(function(O){var K=O.charCodeAt(0);return K===127?!1:K<=31?K===10||K===13:!0}),z.join("")}return Et.whiteList=o(),Et.getDefaultWhiteList=o,Et.onTag=i,Et.onIgnoreTag=a,Et.onTagAttr=l,Et.onIgnoreTagAttr=s,Et.safeAttrValue=d,Et.escapeHtml=c,Et.escapeQuote=S,Et.unescapeQuote=$,Et.escapeHtmlEntities=q,Et.escapeDangerHtml5Entities=B,Et.clearNonPrintableCharacter=P,Et.friendlyAttrValue=N,Et.escapeAttrValue=D,Et.onIgnoreTagStripAll=W,Et.StripTagBody=M,Et.stripCommentTag=C,Et.stripBlankChar=V,Et.cssFilter=r,Et.getDefaultCSSWhiteList=e,Et}var mc={},gg;function r0(){if(gg)return mc;gg=1;var t=xm();function e(u){var m=t.spaceIndex(u),h;return m===-1?h=u.slice(1,-1):h=u.slice(1,m+1),h=t.trim(h).toLowerCase(),h.slice(0,1)==="/"&&(h=h.slice(1)),h.slice(-1)==="/"&&(h=h.slice(0,-1)),h}function n(u){return u.slice(0,2)==="</"}function o(u,m,h){var p="",v=0,f=!1,b=!1,x=0,w=u.length,E="",S="";e:for(x=0;x<w;x++){var $=u.charAt(x);if(f===!1){if($==="<"){f=x;continue}}else if(b===!1){if($==="<"){p+=h(u.slice(v,x)),f=x,v=x;continue}if($===">"||x===w-1){p+=h(u.slice(v,f)),S=u.slice(f,x+1),E=e(S),p+=m(f,p.length,E,S,n(S)),v=x+1,f=!1;continue}if($==='"'||$==="'")for(var q=1,B=u.charAt(x-q);B.trim()===""||B==="=";){if(B==="="){b=$;continue e}B=u.charAt(x-++q)}}else if($===b){b=!1;continue}}return v<w&&(p+=h(u.substr(v))),p}var r=/[^a-zA-Z0-9\\_:.-]/gim;function i(u,m){var h=0,p=0,v=[],f=!1,b=u.length;function x(q,B){if(q=t.trim(q),q=q.replace(r,"").toLowerCase(),!(q.length<1)){var P=m(q,B||"");P&&v.push(P)}}for(var w=0;w<b;w++){var E=u.charAt(w),S,$;if(f===!1&&E==="="){f=u.slice(h,w),h=w+1,p=u.charAt(h)==='"'||u.charAt(h)==="'"?h:l(u,w+1);continue}if(f!==!1&&w===p){if($=u.indexOf(E,w+1),$===-1)break;S=t.trim(u.slice(p+1,$)),x(f,S),f=!1,w=$,h=w+1;continue}if(/\s|\n|\t/.test(E))if(u=u.replace(/\s|\n|\t/g," "),f===!1)if($=a(u,w),$===-1){S=t.trim(u.slice(h,w)),x(S),f=!1,h=w+1;continue}else{w=$-1;continue}else if($=s(u,w-1),$===-1){S=t.trim(u.slice(h,w)),S=d(S),x(f,S),f=!1,h=w+1;continue}else continue}return h<u.length&&(f===!1?x(u.slice(h)):x(f,d(t.trim(u.slice(h))))),t.trim(v.join(" "))}function a(u,m){for(;m<u.length;m++){var h=u[m];if(h!==" ")return h==="="?m:-1}}function l(u,m){for(;m<u.length;m++){var h=u[m];if(h!==" ")return h==="'"||h==='"'?m:-1}}function s(u,m){for(;m>0;m--){var h=u[m];if(h!==" ")return h==="="?m:-1}}function c(u){return u[0]==='"'&&u[u.length-1]==='"'||u[0]==="'"&&u[u.length-1]==="'"}function d(u){return c(u)?u.substr(1,u.length-2):u}return mc.parseTag=o,mc.parseAttr=i,mc}var qd,vg;function SA(){if(vg)return qd;vg=1;var t=Bp().FilterCSS,e=o0(),n=r0(),o=n.parseTag,r=n.parseAttr,i=xm();function a(u){return u==null}function l(u){var m=i.spaceIndex(u);if(m===-1)return{html:"",closing:u[u.length-2]==="/"};u=i.trim(u.slice(m+1,-1));var h=u[u.length-1]==="/";return h&&(u=i.trim(u.slice(0,-1))),{html:u,closing:h}}function s(u){var m={};for(var h in u)m[h]=u[h];return m}function c(u){var m={};for(var h in u)Array.isArray(u[h])?m[h.toLowerCase()]=u[h].map(function(p){return p.toLowerCase()}):m[h.toLowerCase()]=u[h];return m}function d(u){u=s(u||{}),u.stripIgnoreTag&&(u.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),u.onIgnoreTag=e.onIgnoreTagStripAll),u.whiteList||u.allowList?u.whiteList=c(u.whiteList||u.allowList):u.whiteList=e.whiteList,u.onTag=u.onTag||e.onTag,u.onTagAttr=u.onTagAttr||e.onTagAttr,u.onIgnoreTag=u.onIgnoreTag||e.onIgnoreTag,u.onIgnoreTagAttr=u.onIgnoreTagAttr||e.onIgnoreTagAttr,u.safeAttrValue=u.safeAttrValue||e.safeAttrValue,u.escapeHtml=u.escapeHtml||e.escapeHtml,this.options=u,u.css===!1?this.cssFilter=!1:(u.css=u.css||{},this.cssFilter=new t(u.css))}return d.prototype.process=function(u){if(u=u||"",u=u.toString(),!u)return"";var m=this,h=m.options,p=h.whiteList,v=h.onTag,f=h.onIgnoreTag,b=h.onTagAttr,x=h.onIgnoreTagAttr,w=h.safeAttrValue,E=h.escapeHtml,S=m.cssFilter;h.stripBlankChar&&(u=e.stripBlankChar(u)),h.allowCommentTag||(u=e.stripCommentTag(u));var $=!1;h.stripIgnoreTagBody&&($=e.StripTagBody(h.stripIgnoreTagBody,f),f=$.onIgnoreTag);var q=o(u,function(B,P,N,D,W){var M={sourcePosition:B,position:P,isClosing:W,isWhite:Object.prototype.hasOwnProperty.call(p,N)},C=v(N,D,M);if(!a(C))return C;if(M.isWhite){if(M.isClosing)return"</"+N+">";var V=l(D),k=p[N],z=r(V.html,function(O,K){var ne=i.indexOf(k,O)!==-1,re=b(N,O,K,ne);return a(re)?ne?(K=w(N,O,K,S),K?O+'="'+K+'"':O):(re=x(N,O,K,ne),a(re)?void 0:re):re});return D="<"+N,z&&(D+=" "+z),V.closing&&(D+=" /"),D+=">",D}else return C=f(N,D,M),a(C)?E(D):C},E);return $&&(q=$.remove(q)),q},qd=d,qd}var yg;function EA(){return yg||(yg=1,(function(t,e){var n=o0(),o=r0(),r=SA();function i(l,s){var c=new r(s);return c.process(l)}e=t.exports=i,e.filterXSS=i,e.FilterXSS=r,(function(){for(var l in n)e[l]=n[l];for(var s in o)e[s]=o[s]})(),typeof window<"u"&&(window.filterXSS=t.exports);function a(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}a()&&(self.filterXSS=t.exports)})(Nd,Nd.exports)),Nd.exports}var hu=EA();let Qn={enableAttrs:!0,enableHtml:!0,enableUrl:!0,html:{whiteList:{a:["class","style","contenteditable","data-id","data-title","data-size","href","data-last-modified"],address:["class","style"],area:["class","style"],article:["class","style"],aside:["class","style"],audio:["class","style"],b:["class","style"],bdi:["class","style"],bdo:["class","style"],big:["class","style"],blockquote:["class","style"],br:["class","style"],caption:["class","style"],center:["class","style"],cite:["class","style"],code:["class","style"],col:["class","style"],colgroup:["class","style"],dd:["class","style"],del:["class","style"],details:["class","style"],div:["class","style","spellcheck","data-gramm","spellcheck","data-mode","data-position","data-row","data-cell","data-rowspan","data-colspan","data-cell-bg","data-parent-bg"],dl:["class","style"],dt:["class","style"],em:["class","style"],figcaption:["class","style"],figure:["class","style"],font:["class","style"],footer:["class","style"],h1:["class","style"],h2:["class","style"],h3:["class","style"],h4:["class","style"],h5:["class","style"],h6:["class","style"],header:["class","style"],hr:["class","style"],i:["class","style","data-image-id","data-image"],img:["class","style","data-image-id","src"],input:["class","style","data-formula","data-link","data-video"],ins:["class","style"],li:["class","style"],mark:["class","style"],nav:["class","style"],ol:["class","style"],p:["class","style"],pre:["class","style"],s:["class","style"],section:["class","style"],small:["class","style"],span:["class","style","contenteditable","color","style"],sub:["class","style"],summary:["class","style"],sup:["class","style"],strong:["class","style"],strike:["class","style"],svg:["class","style","t","viewBox","viewbox","version","xmlns","p-id","xmlns:xlink"],path:["d","p-id"],table:["class","style"],tbody:["class","style"],td:["class","style","data-row","data-cell","data-cell-bg","data-parent-bg"],tfoot:["class","style"],th:["class","style"],thead:["class","style"],tr:["class","style","data-row"],tt:["class","style"],u:["class","style"],ul:["class","style"],video:["class","style"]}}};const $A=hu.getDefaultWhiteList&&hu.getDefaultWhiteList()||{};Qn.html.whiteList=Object.assign($A,Qn.html.whiteList);let i0=new hu.FilterXSS(Qn.html);const PA=()=>Qn,_A=t=>{var e;let n;(e=t==null?void 0:t.html)!=null&&e.whiteList&&(n=Object.assign(Qn.html.whiteList,t.html.whiteList)),Qn=Object.assign(Qn,t),n&&(Qn.html.whiteList=n),i0=new hu.FilterXSS(Qn.html)};let a0=t=>!Qn.enableHtml||typeof t!="string"?t:i0.process(t);const MA=t=>{a0=t};let s0=t=>!Qn.enableAttrs||typeof t!="string"?t:t.replace(/<.*?>/gi,"").replace(/on[a-z]+=/gi,"");const LA=t=>{s0=t};let l0=t=>{if(!Qn.enableUrl||typeof t!="string")return t;const e=t.replace(/&#(\w+)(^\w|;)?/g,(o,r)=>String.fromCharCode(r)).replace(/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,"").trim();if(!e)return"";if([".","/"].includes(e[0]))return e;const n=e.match(/^([^:]+):/gm);return n&&/^([^\w]*)(javascript|data|vbscript)/im.test(n[0])?"":e};const IA=t=>{l0=t},In={getXssOption:PA,setXssOption:_A,filterHtml:a0,setFilterHtml:MA,filterAttrs:s0,setFilterAttrs:LA,filterUrl:l0,setFilterUrl:IA},NA=globalThis,qp=NA.console,c0=Object.prototype.toString,Ct=Object.prototype.hasOwnProperty,OA=Object.getPrototypeOf,u0=Ct.toString,DA=u0.call(Object),BA={"[object Error]":"error","[object Object]":"object","[object RegExp]":"regExp","[object Date]":"date","[object Array]":"array","[object Function]":"function","[object AsyncFunction]":"asyncFunction","[object String]":"string","[object Number]":"number","[object Boolean]":"boolean"},Dt=t=>t==null,un=t=>Dt(t)?String(t):BA[c0.call(t)]||"object",Ro=t=>un(t)==="object",qA=t=>["asyncFunction","function"].includes(un(t)),hr=t=>{if(!t||c0.call(t)!=="[object Object]")return!1;const e=OA(t);if(!e)return!0;const n=Ct.call(e,"constructor")&&e.constructor;return typeof n=="function"&&u0.call(n)===DA},ju=t=>{const e=un(t);if(e==="object"||e==="array"){for(const n in t)if(Ct.call(t,n))return!1}return!0},sr=t=>typeof t=="number"&&isFinite(t);const Tm=t=>un(t)==="date",FA=(t,e)=>t===e||typeof t=="number"&&typeof e=="number"&&isNaN(t)&&isNaN(e);const tt=typeof window>"u",RA=()=>{let t=8;return document.addEventListener&&window.performance&&(t=9,window.atob&&window.matchMedia&&(t=10,!window.attachEvent&&!document.all&&(t=11))),t},jA=t=>{t.chrome&&~navigator.userAgent.indexOf("Edg")?(t.name="edge",t.edge=!0,delete t.chrome):!document.documentMode&&window.StyleMedia&&(t.name="edge",t.edge=!0)},mu=(()=>{if(tt)return null;const t={name:"",version:0,isDoc:typeof document<"u",isMobile:!1,isPC:!0,isNode:tt,chrome:!1,ie:!1,firefox:!1,safari:!1,opera:!1,edge:!1},e=/(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent);t.isMobile=e,t.isPC=!e;let n;if(window.chrome&&(window.chrome.webstore||/^Google\b/.test(window.navigator.vendor))?(t.name="chrome",t.chrome=!0,n=navigator.userAgent.match(/chrome\/(\d+)/i),t.version=!!n&&!!n[1]&&parseInt(n[1],10),n=void 0):document.all||document.documentMode?(t.name="ie",t.version=RA(),t.ie=!0):typeof window.InstallTrigger<"u"?(t.name="firefox",t.firefox=!0):Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0?(t.name="safari",t.safari=!0):(window.opr&&window.opr.addons||window.opera)&&(t.name="opera",t.opera=!0),jA(t),!~["ie","chrome"].indexOf(t.name)){const o=t.name+"/(\\d+)";n=navigator.userAgent.match(new RegExp(o,"i")),t.version=!!n&&!!n[1]&&parseInt(n[1],10),n=void 0}if(t.isDoc){const o=document.body||document.documentElement;["webkit","khtml","moz","ms","o"].forEach(r=>{t["-"+r]=!!o[r+"MatchesSelector"]})}return t})(),zA=/([:\-_]+(.))/g,UA=/^moz([A-Z])/,VA=t=>t.replace(zA,(e,n,o,r)=>r?o.toUpperCase():o).replace(UA,"Moz$1"),Oe=(t,e,n,o=!1)=>{t&&e&&n&&t.addEventListener(e,n,o)},Re=(t,e,n,o=!1)=>{t&&e&&t.removeEventListener(e,n,o)};const mn=(t,e="")=>{t&&e.split(" ").filter(n=>n).forEach(n=>t.classList.add(n))},fn=(t,e)=>{!t||!e||e.split(" ").filter(n=>n).forEach(n=>t.classList.remove(n))},Fd=(t,e)=>{if(!tt){if(!t||!e)return null;e=VA(e),e==="float"&&(e="cssFloat");try{if(t.style[e])return t.style[e];const n=window.getComputedStyle(t);return n?n[e]:null}catch{return t.style[e]}}},HA=(t,e)=>{if(tt)return;const n=!Dt(e);let o;return n?o=e?Fd(t,"overflow-y"):Fd(t,"overflow-x"):o=Fd(t,"overflow"),o?o.match(/(scroll|auto)/):null},d0=(t,e)=>{if(tt)return;let n=t;for(;n;){if(~[window,document,document.documentElement].indexOf(n))return window;if(HA(n,e))return n;n=n.parentNode}return n};const QA=()=>{const t=window;let e=t.document.documentElement,n=t.document.body;return{scrollTop:e.scrollTop||n.scrollTop,scrollLeft:e.scrollLeft||n.scrollLeft,visibleHeight:e.clientHeight||n.clientHeight,visibleWidth:e.clientWidth||n.clientWidth}};const km=t=>{if(tt)return!1;if(t){const e=getComputedStyle(t);if(e.getPropertyValue("position")==="fixed"){if(e.getPropertyValue("display")==="none")return!0;if(t.parentNode!==document.body)return km(t.parentNode)}else return t.offsetParent===null}return!1},p0=(function(){if(typeof Map<"u")return Map;const t=(e,n)=>{let o=-1;return e.some((r,i)=>r[0]===n?(o=i,!0):!1),o};return(function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(n){const o=t(this.__entries__,n),r=this.__entries__[o];return r&&r[1]},e.prototype.set=function(n,o){const r=t(this.__entries__,n);~r?this.__entries__[r][1]=o:this.__entries__.push([n,o])},e.prototype.delete=function(n){const o=this.__entries__,r=t(o,n);~r&&o.splice(r,1)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.has=function(n){return!!~t(this.__entries__,n)},e.prototype.forEach=function(n,o){o===void 0&&(o=null);for(let r=0,i=this.__entries__;r<i.length;r++){const a=i[r];n.call(o,a[1],a[0])}},e})()})(),KA=globalThis.Function,fu=(function(){const t=e=>e.Math===Math;return typeof global<"u"&&t(global)?global:typeof self<"u"&&t(self)?self:typeof window<"u"&&t(window)?window:KA("return this")()})(),GA=(function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(fu):function(t){return setTimeout(()=>t(Date.now()),1e3/60)}})();let WA=2;function YA(t,e){let n=!1,o=!1,r=0,i;const a=()=>{n&&(n=!1,t()),o&&i()},l=()=>{GA(a)};return i=()=>{const s=Date.now();if(n){if(s-r<WA)return;o=!0}else n=!0,o=!1,setTimeout(l,e);r=s},i}const XA=20,ZA=["top","right","bottom","left","width","height","size","weight"],JA=typeof MutationObserver<"u",e5=(function(){function t(){this.observers_=[],this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=YA(this.refresh.bind(this),XA)}return t.prototype.addObserver=function(e){!~this.observers_.indexOf(e)&&this.observers_.push(e),!this.connected_&&this.connect_()},t.prototype.removeObserver=function(e){const n=this.observers_,o=n.indexOf(e);~o&&n.splice(o,1),!n.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){const e=this.observers_.filter(n=>(n.gatherActive(),n.hasActive()));return e.forEach(n=>n.broadcastActive()),e.length>0},t.prototype.connect_=function(){if(!(tt||this.connected_)){if(Oe(document,"transitionend",this.onTransitionEnd_),Oe(window,"resize",this.refresh),JA){this.mutationsObserver_=new MutationObserver(this.refresh);const e={attributes:!0,childList:!0,characterData:!0,subtree:!0};this.mutationsObserver_.observe(document,e)}else Oe(document,"DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0;this.connected_=!0}},t.prototype.disconnect_=function(){tt||!this.connected_||(Re(document,"transitionend",this.onTransitionEnd_),Re(window,"resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&Re(document,"DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(e){const n=e.propertyName,o=n===void 0?"":n;ZA.some(r=>!!~o.indexOf(r))&&this.refresh()},t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t._instance=null,t})(),h0=function(t,e){for(let n=0,o=Object.keys(e);n<o.length;n++){const r=o[n];Object.defineProperty(t,r,{value:e[r],configurable:!0,writable:!1,enumerable:!1})}return t},zu=function(t,e,n,o){return{x:t,y:e,width:n,height:o}},vs=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||fu},m0=zu(0,0,0,0),gu=t=>parseFloat(t)||0,bg=function(t){let e=[];for(let n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((n,o)=>{const r=t[`border-${o}-width`];return n+gu(r)},0)},t5=function(t){const e=["top","right","bottom","left"];let n={};for(let o=0,r=e;o<r.length;o++){const i=r[o],a=t[`padding-${i}`];n[i]=gu(a)}return n},n5=function(t){const e=t.getBBox();return zu(0,0,e.width,e.height)},o5=function(t){return t===vs(t).document.documentElement},r5=function(t){const e=t.clientWidth,n=t.clientHeight;if(!n&&!e)return m0;const o=vs(t).getComputedStyle(t),r=t5(o),i=r.top+r.bottom,a=r.left+r.right;let l=gu(o.width),s=gu(o.height);if(o.boxSizing==="border-box"&&(Math.round(s+i)!==n&&(s-=bg(o,"top","bottom")+i),Math.round(l+a)!==e&&(l-=bg(o,"left","right")+a)),!o5(t)){const c=Math.round(s+i)-n,d=Math.round(l+a)-e;Math.abs(c)!==1&&(s-=c),Math.abs(d)!==1&&(l-=d)}return zu(r.left,r.top,l,s)},i5=(function(){return typeof SVGGraphicsElement<"u"?t=>t instanceof vs(t).SVGGraphicsElement:t=>t instanceof vs(t).SVGElement&&typeof t.getBBox=="function"})(),a5=function(t){return tt?m0:i5(t)?n5(t):r5(t)},s5=function(t){const e=t.x,n=t.y,o=t.width,r=t.height,i=Object.create((typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object).prototype);return h0(i,{x:e,y:n,width:o,height:r,top:n,right:e+o,bottom:r+n,left:e}),i},l5=(function(){function t(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=zu(0,0,0,0),this.target=e}return t.prototype.broadcastRect=function(){const e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},t.prototype.isActive=function(){const e=a5(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},t})(),c5=(function(){function t(e,n){const o=s5(n);h0(this,{target:e,contentRect:o})}return t})(),u5=(function(){function t(e,n,o){if(this.observations_=new p0,this.activeObservations_=[],typeof e!="function")throw new TypeError("[TINY-Resize] The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=n,this.callbackCtx_=o}return t.prototype.observe=function(e){if(!arguments.length)throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");if(typeof Element>"u"||!(Element instanceof Object))return;if(!(e instanceof vs(e).Element))throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');const n=this.observations_;n.has(e)||(n.set(e,new l5(e)),this.controller_.addObserver(this),this.controller_.refresh())},t.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("[TINY-Resize]1 argument required, but only 0 present.");if(typeof Element>"u"||!(Element instanceof Object))return;if(!(e instanceof vs(e).Element))throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');const n=this.observations_;n.has(e)&&(n.delete(e),!n.size&&this.controller_.removeObserver(this))},t.prototype.gatherActive=function(){const e=this;this.clearActive(),this.observations_.forEach(n=>{n.isActive()&&e.activeObservations_.push(n)})},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.broadcastActive=function(){if(!this.hasActive())return;const e=this.callbackCtx_,n=this.activeObservations_.map(o=>new c5(o.target,o.broadcastRect()));this.callback_.call(e,n,e),this.clearActive()},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t})(),f0=typeof WeakMap<"u"?new WeakMap:new p0,g0=(function(){function t(e){if(!(this instanceof t))throw new TypeError("[TINY-Resize] Cannot call a class as a function.");if(!arguments.length)throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");const n=e5.getInstance(),o=new u5(e,n,this);f0.set(this,o)}return t})();["observe","unobserve","disconnect"].forEach(t=>{g0.prototype[t]=function(){let e;return(e=f0.get(this))[t].apply(e,arguments)}});const d5=(function(){return typeof fu.ResizeObserver<"u"?fu.ResizeObserver:g0})(),p5="tcirzywvqlkjhgfbZQG_FLOWHSUBDNIMYREVKCAJxp57XP043891T62-modnaesu";p5.split("").reverse().join("");function h5(t){return!tt&&(t.document.all||t.document.documentMode)&&!t.crypto&&t.msCrypto}function m5(t){if(h5(t)){t.crypto=t.msCrypto;const e=t.crypto.getRandomValues;t.crypto.getRandomValues=function(n){const o=e.call(t.crypto,n),r=[];for(let i=0;i<n.length;i++)r[i]=o[i];return r}}}const f5=globalThis;m5(f5);let oo;const Lt=(t,e,n)=>{if(!t||!hr(t)||!e||typeof e!="string")return;const o=e.split(".");let r=t;const i=o.length;if(i>1){for(let l=0;l<i;l++)if(r=r[o[l]],Dt(r))return r;return r}else return r[o[0]]},v0=(t,e,n,o)=>{if(!t||!hr(t)||!e||typeof e!="string")return t;const r=e.split("."),i=t;let a=r.length,l=r[0];if(a>1){a--;let s=i,c,d;for(let u=0;u<a;u++)c=r[u],d=s[c],(d===null||!hr(d))&&(s[c]={},d=s[c]),s=d;l=r[a],s[l]=n}else i[l]=n;return i},Fp=(t,e,n,o)=>{const r=(i,a,l,s)=>{const c={};return a.forEach(d=>v0(c,d,Lt(i,d))),c};return hr(t)?Array.isArray(e)?r(t,e):oo(n!==!1,{},t):t},Cm=t=>Array.isArray(t)?t.map(e=>Fp(e)):t,g5=(t,e,n,o,r)=>{let i;if(n&&o&&(hr(o)||(i=Array.isArray(o))))if(i)i=!1,t[e]=Cm(o);else{const a=r&&hr(r)?r:{};t[e]=oo(n,a,o)}else if(o!==void 0)try{t[e]=o}catch{}};oo=function(...t){const e=t.length;let n=t[0]||{},o=1,r=!1;for(un(n)==="boolean"&&(r=n,n=t[o]||{},o++),!Ro(n)&&un(n)!=="function"&&(n={});o<e;o++){const i=t[o];if(i!==null&&Ro(i)){const a=Object.keys(i);for(const l of a){const s=n[l],c=i[l];n!==c&&g5(n,l,r,c,s)}}}return n};let vu;const ni=(t,e,n,o)=>{if(un(t)===un(e)){if(n=n!==!1,Array.isArray(o)){const a=Fp(t,o),l=Fp(e,o);return ni(a,l,n)}const r=vu(t,e,n),i=vu(e,t,n);return r&&i}return!1};vu=(t,e,n)=>{if(!hr(t)){if(!Array.isArray(t))return t===e;if(t.length!==e.length)return!1;for(let i=0,a=t.length;i<a;i++)if(!ni(t[i],e[i],n))return!1;return!0}let o=!0;const r=Object.keys(t);for(const i of r){if(Ct.call(e,i)){const a=t[i],l=e[i];n&&Ro(a)||Array.isArray(a)?o=vu(a,l,n):o=a===l}else o=!1;if(o===!1)break}return o};const v5=t=>{try{return JSON.stringify(t)}catch{return}},Rp=function(t,...e){for(let n=0,o=e.length;n<o;n++){const r=e[n]||{};for(const i in r)if(Ct.call(r,i)){const a=r[i];a!==void 0&&(t[i]=a)}}return t};const jp=".",y5=t=>{const e=t.split(jp),n=e[0],o=e[1];let r,i;if(o)r=parseInt(t.split(jp).join(""),10),i=o.length*-1;else{const a=n.match(/0+$/);if(a){const l=a[0].length;r=n.substr(0,n.length-l),i=l}else r=n,i=0}return{value:r,exp:i}},y0=t=>{let e;return t<=0?e="":e="0".repeat(t),e},b5=(t,e)=>{e=Math.abs(e);const n=e-t.length;let o=jp;n>=0&&(t=y0(n)+t,o="0.");const r=t.length,i=r-e,a=t.substr(0,i),l=t.substring(i,r);return a+o+l},w5=(t,e)=>String(t+y0(e)),Rd=(t,e)=>(e>=0?w5:b5)(String(t),e);function Ft(t){return!this||!(this instanceof Ft)?new Ft(t):t instanceof Ft?t:(this.internal=String(t),this.asInt=y5(this.internal),this.add=e=>{const n=[this,new Ft(e)];n.sort((l,s)=>l.asInt.exp-s.asInt.exp);const o=n[0].asInt.exp,r=n[1].asInt.exp,i=Number(Rd(n[1].asInt.value,r-o)),a=Number(n[0].asInt.value);return new Ft(Rd(String(i+a),o))},this.sub=e=>new Ft(this.add(e*-1)),this.mul=e=>{e=new Ft(e);const n=String(this.asInt.value*e.asInt.value),o=this.asInt.exp+e.asInt.exp;return new Ft(Rd(n,o))},this.div=e=>{e=new Ft(e);const n=Math.min(this.asInt.exp,e.asInt.exp),o=10**Math.abs(n),r=Ft.mul(o,this),i=Ft.mul(o,e);return new Ft(r.toNumber()/i.toNumber())},this.toString=()=>this.internal,this.toNumber=()=>Number(this.internal),this)}Ft.add=(t,e)=>new Ft(t).add(e);Ft.mul=(t,e)=>new Ft(t).mul(e);Ft.sub=(t,e)=>new Ft(t).sub(e);Ft.div=(t,e)=>new Ft(t).div(e);const Kn={text:"text",url:"url",html:"html",tmpl:"tmpl"},x5={"&":"&","<":"<",">":">",'"':""","'":"'","[":"[","]":"]"},Ut=t=>t==null||typeof t=="string"&&t.trim().length===0;function T5(t){let e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}const Ran=T5(t=>t.charAt(0).toUpperCase()+t.slice(1));function k5(t){const e=t.length;let n=0;for(let o=0;o<e;o++)t.charCodeAt(o)<=65535?n+=2:n+=4;return n}function C5(t){const e=t.length;let n=0;for(let o=0;o<e;o++){let r=t.charCodeAt(o);r<=127?n+=1:r<=2047?n+=2:r<=65535?n+=3:n+=4}return n}function A5(t){const e=t.length;let n=0;for(let o=0;o<e;o++)n++,t.charCodeAt(o)>>8&&n++;return n}const S5=(t,e)=>{if(!t||typeof t!="string")return 0;let n=0;if(typeof e=="string")e=e.toLowerCase(),e==="utf-16"||e==="utf16"?n=k5(t):e==="utf-8"||e==="utf8"?n=C5(t):n=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length;else{if(typeof e=="function")return e(t);n=A5(t)}return n},E5=(t,e,n,o="0")=>{if(typeof t=="string"&&typeof o=="string"&&sr(e)){let r=t.length-e;if(r>0)return n?t.substr(0,e):t.substr(r,e);{const i=[];for(r=Math.abs(r)/o.length;r>0;r--)i.push(o);const a=i.join("");return n?t+a:a+t}}},b0=()=>globalThis.crypto.getRandomValues(new Uint32Array(1))[0]/4294967296,Am=(t="",e=8)=>t+b0().toString().substr(2,e),w0=(t,e)=>!t||typeof t!="string"?t:(t=t.replace(/[&<>"']/g,n=>x5[n]),e?t.replace(/\s/g," "):t),$5=({sign:t,format:e,hasSign:n})=>{switch(t){case"#":e=Kn.text;break;case"@":e=Kn.url;break;case"$":e=Kn.html;break;case"%":e=Kn.tmpl;break;default:n=!1;break}return{format:e,hasSign:n}},P5=(t,e,n="html")=>{if(typeof t=="string")return t.replace(/(\/)?\{\{([\s\S]*?)}}/g,(o,r="",i="")=>{const a=i.substr(0,1);let l=!0,s=Kn.html,c=$5({sign:a,format:s,hasSign:l});s=c.format,l=c.hasSign,l?i=(i||"").substring(1):n&&(s=n);let d=Lt(e,i);return Dt(d)&&(d=""),s===Kn.tmpl?d=`{{${d}}}`:s===Kn.url?d=encodeURIComponent(d):d=s===Kn.html?w0(d):d,s===Kn.url&&d.length===0?"":r+d})},_5=()=>(t,e,n,o)=>t.replace(e,(r,i,a,l)=>{if(!Ut(i)&&!Ut(l))return`{${a}}`;const s=n[a],c=hr(s)?v5(s):s;return Ut(s)?"":typeof s=="string"&&typeof o=="function"?o(c):c}),M5=({type:t,res:e,formatText:n,string:o,reg:r,args:i})=>(t===Kn.url?e=n(o,r,i,encodeURIComponent):t===Kn.html?e=n(o,r,i,w0):e=n(o,r,i),e),L5=(t,e,n)=>{const o=t[t.length-1];return o!==e.text&&o!==e.url&&o!==e.html?t=Array.prototype.slice.call(t,1):(t=Array.prototype.slice.call(t,1,t.length-1),n=o),{args:t,type:n}},I5=({data:t,args:e,type:n,_arguments:o})=>{if(Array.isArray(t))e=t;else{const r=L5(o,Kn,n);e=r.args,n=r.type}return{args:e,type:n}},N5=function(t,e,n="text"){if(typeof t!="string"||arguments.length<2)return t;let o,r;if(hr(e))return P5(t,e,n);const i=I5({data:e,args:o,type:n,_arguments:arguments});o=i.args,n=i.type;const a=/(\\)?\{(\d+)(\\)?}/g,l=_5();return r=M5({type:n,res:r,formatText:l,string:t,reg:a,args:o}),r};const x0=t=>/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(t),T0=(t,e,n)=>{let o;if(tt)return{t,o:!1};const r=document.createElement("canvas").getContext("2d");r.font=e;let i=r.measureText(t);if(i.width<n)return{t,o:!1};for(let a=-1;;a--)if(o=t.slice(0,a)+"...",i=r.measureText(o),i.width<n)return{t:o,o:!0}},k0=[31,28,31,30,31,30,31,31,30,31,30,31],O5=new RegExp("^(\\d{4})(/|-)(((0)?[1-9])|(1[0-2]))((/|-)(((0)?[1-9])|([1-2][0-9])|(3[0-1])))?( ((0)?[0-9]|1[0-9]|20|21|22|23):([0-5]?[0-9])((:([0-5]?[0-9]))?(.([0-9]{1,6}))?)?)?$"),D5=new RegExp("^(((0)?[1-9])|(1[0-2]))(/|-)(((0)?[1-9])|([1-2][0-9])|(3[0-1]))?(/|-)?(\\d{4})( ((0)?[0-9]|1[0-9]|20|21|22|23):([0-5]?[0-9])((:([0-5]?[0-9]))?(.([0-9]{1,6}))?)?)?$"),B5=new RegExp("^(\\d{4})-(((0)?[1-9])|(1[0-2]))-(((0)?[1-9])|([1-2][0-9])|(3[0-1]))T(((0)?[0-9]|1[0-9]|20|21|22|23):([0-5]?[0-9])((:([0-5]?[0-9]))?(.([0-9]{1,6}))?)?)?(Z|([+-])((0)?[0-9]|1[0-9]|20|21|22|23):?([0-5]?[0-9]))$"),q5={"y{1,4}":/y{1,4}/,"M{1,2}":/M{1,2}/,"d{1,2}":/d{1,2}/,"h{1,2}":/h{1,2}/,"H{1,2}":/H{1,2}/,"m{1,2}":/m{1,2}/,"s{1,2}":/s{1,2}/,"S{1,3}":/S{1,3}/,"Z{1,1}":/Z{1,1}/},Or={YEAR:9999,MONTH:11,DATE:31,HOUR:23,MINUTE:59,SECOND:59,MILLISECOND:999},F5="-12:00,-11:00,-10:00,-09:30,-08:00,-07:00,-06:00,-05:00,-04:30,-04:00,-03:30,-02:00,-01:00",R5="-00:00,+00:00,+01:00,+02:00,+03:00,+03:30,+04:00,+04:30,+05:00,+05:30,+05:45,+06:00",j5="+06:30,+07:00,+08:00,+09:00,+10:00,+10:30,+11:00,+11:30,+12:00,+12:45,+13:00,+14:00",z5=[...F5.split(","),...R5.split(","),...j5.split(",")],U5=t=>{const e=0-t.getTimezoneOffset()/60;let n;return e===0?n="Z":e>0?n="+"+(e>10?e:"0"+e)+"00":n=(e<-10?e:"-0"+-e)+"00",n},C0=t=>t%400===0||t%4===0&&t%100!==0,A0=t=>t>Or.MILLISECOND?Number(String(t).substring(0,3)):t,Sm=({year:t,month:e,date:n,hours:o,minutes:r,seconds:i,milliseconds:a})=>{let l=k0[e];if(C0(t)&&e===1&&(l+=1),n<=l)return new Date(t,e,n,o,r,i,A0(a))},V5=t=>{if(t.length===23){const e=Number(t[1]),n=t[3]-1,o=Number(t[9]||1),r=t[15]||0,i=t[17]||0,a=t[20]||0,l=t[22]||0;return Sm({date:o,year:e,hours:r,month:n,seconds:a,minutes:i,milliseconds:l})}},H5=t=>{if(t.length===22){const e=Number(t[12]),n=t[1]-1,o=Number(t[6]||1),r=t[14]||0,i=t[16]||0,a=t[19]||0,l=t[21]||0;return Sm({year:e,month:n,date:o,hours:r,minutes:i,seconds:a,milliseconds:l})}},Q5=t=>{if(t.length!==25)return;const e=Number(t[1]),n=t[2]-1,o=Number(t[6]),r=new Date(e,n,o).getTimezoneOffset(),i=t[12]||0,a=t[14]||0,l=t[17]||0,s=t[19]||0;let c=t[20];const d=t[21],u=t[22]||0,m=t[24]||0;let h=k0[n],p,v;if(C0(e)&&n===1&&(h+=1),o<=h){if(c==="Z")p=i-r/60,v=a;else{if(c.includes(":")||(c=c.substr(0,3)+":"+c.substr(3)),!z5.includes(c))return;p=d==="+"?i-u-r/60:Number(i)+Number(u)-r/60,v=d==="+"?a-m:Number(a)+Number(m)}return new Date(e,n,o,p,v,l,A0(s))}},jd=[[O5,V5],[D5,H5],[B5,Q5]],K5=t=>{for(let e=0,n=jd.length;e<n;e++){const o=jd[e][0].exec(t);if(o&&o.length>0)return jd[e][1](o)}},G5=(t,e,n)=>{if(n)switch(n){case"yyyy":case"yy":t[0]=e;break;case"M":case"MM":t[1]=e-1;break;case"d":case"dd":t[2]=e;break;case"h":case"hh":t[3]=e;break;case"m":case"mm":t[4]=e;break;case"s":case"ss":t[5]=e;break;case"S":case"SS":case"SSS":t[6]=e;break}},W5=(t,e)=>{const n=[0,-1,0,0,0,0];if(t.length!==e.length)return n;let o=0,r=0;for(let i=0,a=t.length;i<a;i++){const l=t.substr(i,1),s=isNaN(Number(l))||l.trim()==="";if(s&&l===e.substr(i,1)||i===a-1){let c,d;if(s){c=t.substring(o,i),o=i+1;const u=e.indexOf(l,r);d=e.substring(r,u===-1?e.length:u),r=u+1}else c=t.substring(o,a),d=e.substring(r,a);(c.length===d.length||c)&&G5(n,c,d)}}return n},Li=(t,e,n)=>isNaN(t)||t<e||t>n,Y5=({year:t,month:e,date:n,hours:o,minutes:r,seconds:i,milliseconds:a})=>Li(t,0,Or.YEAR)||Li(e,0,Or.MONTH)||Li(n,0,Or.DATE)||Li(o,0,Or.HOUR)||Li(r,0,Or.MINUTE)||Li(i,0,Or.SECOND)||Li(a,0,Or.MILLISECOND),X5=(t,e)=>{if(typeof e=="string"){const n=W5(t,e),o=Number(n[0]),r=Number(n[1]),i=Number(n[2]||1),a=Number(n[3]||0),l=Number(n[4]||0),s=Number(n[5]||0),c=Number(n[6]||0);return Y5({year:o,month:r,date:i,hours:a,minutes:l,seconds:s,milliseconds:c})?void 0:Sm({year:o,date:i,month:r,minutes:l,hours:a,milliseconds:c,seconds:s})}else return K5(t)},Z5=(t,e,n)=>{let o;return sr(t)?o=new Date(t):typeof t=="string"&&(o=X5(t,e)),o},ll=function(t,e="yyyy/MM/dd hh:mm:ss"){if(Tm(t)){if(typeof e=="string"){const n={"y{1,4}":t.getFullYear(),"M{1,2}":t.getMonth()+1,"d{1,2}":t.getDate(),"h{1,2}":t.getHours(),"H{1,2}":t.getHours(),"m{1,2}":t.getMinutes(),"s{1,2}":t.getSeconds(),"S{1,3}":t.getMilliseconds(),"Z{1,1}":U5(t)};return Object.keys(n).forEach(o=>{const r=e.match(q5[o]);o&&r&&r.length&&(e=e.replace(r[0],o==="Z{1,1}"?n[o]:E5(n[o].toString(),r[0].length)))}),e}}else if(typeof t=="string"&&arguments.length>=2){let n=e;arguments.length===2?e=void 0:n=arguments[2];const o=Z5(t,e);return o?ll(o,n):""}};const ut={Backspace:8,Tab:9,Enter:13,Escape:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Delete:46,AtMark:64,KeyA:65,KeyF:70,KeyV:86,NumpadEnter:13,NumpadDecimal:110,NumpadComma:190};const J5="date,datetime,time,time-select,week,month,year,years,yearrange,daterange,monthrange,timerange,datetimerange,dates,quarter",_s={Day:"day",Date:"date",Dates:"dates",Year:"year",Years:"years",YearRange:"yearrange",PanelYearNum:12,Month:"month",Week:"week",Normal:"normal",Today:"today",PreMonth:"pre-month",NextMonth:"next-month",YearI18n:"ui.datepicker.year",List:[38,40,37,39],YearObj:{38:-4,40:4,37:-1,39:1},WeekObj:{38:-1,40:1,37:-1,39:1},DayObj:{38:-7,40:7,37:-1,39:1},Aviailable:"available",Default:"default",Current:"current",InRange:"in-range",StartDate:"start-date",EndDate:"end-date",Selected:"selected",Disabled:"disabled",Range:"range",fullMonths:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),fullWeeks:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],MonhtList:["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],Weeks:["sun","mon","tue","wed","thu","fri","sat"],PlacementMap:{left:"bottom-start",center:"bottom",right:"bottom-end"},QuarterMap:{0:0,1:3,2:6,3:9},MonthQuarterMap:{0:1,3:2,6:3,9:4},TriggerTypes:J5.split(","),DateFormats:{year:"yyyy",years:"yyyy",yearrange:"yyyy",month:"yyyy-MM",time:"HH:mm:ss",week:"yyyywWW",date:"yyyy-MM-dd",timerange:"HH:mm:ss",monthrange:"yyyy-MM",daterange:"yyyy-MM-dd",datetime:"yyyy-MM-dd HH:mm:ss",datetimerange:"yyyy-MM-dd HH:mm:ss"},Time:"time",TimeRange:"timerange",Quarter:"quarter",IconTime:"icon-time",IconDate:"icon-Calendar",DateRange:"daterange",DateTimeRange:"datetimerange",MonthRange:"monthrange",TimeSelect:"time-select",TimesTamp:"timestamp",DateTime:"datetime",SelectbaleRange:"selectableRange",Start:"09:00",End:"18:00",Step:"00:30",CompareOne:"-1:-1",CompareHundred:"100:100",selClass:".selected",queryClass:".tiny-picker-panel__content",disableClass:".time-select-item:not(.disabled)",defaultClass:".default",Qurtyli:'[data-tag="li"]',MappingKeyCode:{40:1,38:-1},DatePicker:"DatePicker",TimePicker:"TimePicker"},yu={IE:"ie",Edge:"edge"};const lr={},Em=["\\d\\d?","\\d{3}","\\d{4}"],Nr=Em[0],eS=Em[1],tS=Em[2],Xs="[^\\s]+",S0=/\[([^]*?)\]/gm,wg=()=>{},nS={shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",default:"ddd MMM dd yyyy HH:mm:ss",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},E0=(t,e)=>{let n=[];for(let o=0,r=t.length;o<r;o++)n.push(t[o].substr(0,e));return n},xg=t=>(e,n,o)=>{const r=o[t].indexOf(n.charAt(0).toUpperCase()+n.substr(1).toLowerCase());~r&&(e.month=r)},jn=(t,e)=>{for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t},oS=t=>t.replace(/[|\\{()[^$+*?.-]/g,"\\$&"),$0=/d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,P0=_s.fullWeeks,_0=_s.fullMonths,rS=E0(_0,3),iS=E0(P0,3),aS=["th","st","nd","rd"];lr.i18n={dayNames:P0,monthNames:_0,dayNamesShort:iS,monthNamesShort:rS,amPm:["am","pm"],doFn:t=>t+aS[t%10>3?0:(t-t%10!==10)*t%10]};const Tg={D:t=>t.getDay(),DD:t=>jn(t.getDay()),Do:(t,e)=>e.doFn(t.getDate()),d:t=>t.getDate(),dd:t=>jn(t.getDate()),ddd:(t,e)=>e.dayNamesShort[t.getDay()],dddd:(t,e)=>e.dayNames[t.getDay()],M:t=>t.getMonth()+1,MM:t=>jn(t.getMonth()+1),MMM:(t,e)=>e.monthNamesShort[t.getMonth()],MMMM:(t,e)=>e.monthNames[t.getMonth()],yy:t=>jn(String(t.getFullYear()),4).substr(2),yyyy:t=>jn(t.getFullYear(),4),h:t=>t.getHours()%12||12,hh:t=>jn(t.getHours()%12||12),H:t=>t.getHours(),HH:t=>jn(t.getHours()),m:t=>t.getMinutes(),mm:t=>jn(t.getMinutes()),s:t=>t.getSeconds(),ss:t=>jn(t.getSeconds()),S:t=>Math.round(t.getMilliseconds()/100),SS:t=>jn(Math.round(t.getMilliseconds()/10),2),SSS:t=>jn(t.getMilliseconds(),3),a:(t,e)=>t.getHours()<12?e.amPm[0]:e.amPm[1],A:(t,e)=>t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase(),ZZ:t=>{const e=t.getTimezoneOffset();return(e>0?"-":"+")+jn(Math.floor(Math.abs(e)/60)*100+Math.abs(e)%60,4)}},Fr={d:[Nr,(t,e)=>{t.day=e}],Do:[Nr+Xs,(t,e)=>{t.day=parseInt(e,10)}],M:[Nr,(t,e)=>{t.month=e-1}],yy:[Nr,(t,e)=>{const n=Number(String(new Date().getFullYear()).substr(0,2));t.year=String(e>68?n-1:n)+e}],h:[Nr,(t,e)=>{t.hour=e}],m:[Nr,(t,e)=>{t.minute=e}],s:[Nr,(t,e)=>{t.second=e}],yyyy:[tS,(t,e)=>{t.year=e}],S:["\\d",(t,e)=>{t.millisecond=e*100}],SS:["\\d{2}",(t,e)=>{t.millisecond=e*10}],SSS:[eS,(t,e)=>{t.millisecond=e}],D:[Nr,wg],ddd:[Xs,wg],MMM:[Xs,xg("monthNamesShort")],MMMM:[Xs,xg("monthNames")],a:[Xs,(t,e,n)=>{const o=e.toLowerCase();o===n.amPm[0]?t.isPm=!1:o===n.amPm[1]&&(t.isPm=!0)}],ZZ:["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",(t,e)=>{let n=String(e).match(/([+-]|\d\d)/gi),o;n&&(o=Number(n[1]*60)+parseInt(n[2],10),t.timezoneOffset=n[0]==="+"?o:-o)}]},sS=["A","DD","dd","mm","hh","MM","ss","hh","H","HH"];lr.masks=nS;Fr.dddd=Fr.ddd;sS.forEach(t=>{t==="MM"?Fr[t]=Fr[t.substr(0,1)]:Fr[t]=Fr[t.substr(0,1).toLowerCase()]});lr.format=(t,e,n)=>{const o=n||lr.i18n;if(typeof t=="number"&&(t=new Date(t)),!Tm(t)||isNaN(t.getTime()))throw new Error("Invalid Date in fecha.format");e=lr.masks[e]||e||lr.masks.default;let r=[];return e=e.replace(S0,(i,a)=>(r.push(a),"@@@")),e=e.replace($0,i=>i in Tg?Tg[i](t,o):i.slice(1,i.length-1)),e.replace(/@@@/g,()=>r.shift())};const lS=(t,e)=>{let n=[],o=oS(t).replace($0,r=>{if(Fr[r]){const i=Fr[r];return e.push(i[1]),"("+i[0]+")"}return r});return o=o.replace(/@@@/g,()=>n.shift()),o},cS=t=>{let e;const n=new Date;if(Dt(t.timezoneOffset)){const{year:o,month:r,day:i,hour:a,minute:l,second:s,millisecond:c}=t;e=new Date(o||n.getFullYear(),r||0,i||1,a||0,l||0,s||0,c||0)}else{t.minute=Number(t.minute||0)-Number(t.timezoneOffset);const{year:o,month:r,day:i,hour:a,minute:l,second:s,millisecond:c}=t;e=new Date(Date.UTC(o||n.getFullYear(),r||0,i||1,a||0,l||0,s||0,c||0))}return e};lr.parse=(t,e,n)=>{const o=n||lr.i18n;if(typeof e!="string")throw new TypeError("Invalid format in fecha.parse");if(e=lr.masks[e]||e,t.length>1e3)return null;let r={},i=[];e=e.replace(S0,(s,c)=>"@@@");const a=lS(e,i),l=t.match(new RegExp(a,"i"));if(!l)return null;for(let s=1,c=l.length;s<c;s++)i[s-1](r,l[s],o);return r.isPm===!0&&!Dt(r.hour)&&Number(r.hour)!==12?r.hour=Number(r.hour)+12:r.isPm===!1&&Number(r.hour)===12&&(r.hour=0),cS(r)};const jan=_s.Weeks,zan=_s.MonhtList,Uan=_s.DateFormats.date,Van=_s.DateFormats.time;const M0=(t,e,n=FA)=>{if(Array.isArray(t)&&typeof n=="function"){for(let o=0,r=t.length;o<r;o++)if(n(t[o],e))return o}return-1},na=(t,e)=>{const n=M0(t,void 0,e);return n!==-1?t[n]:void 0},uS=(t,e)=>(Object.keys(e).forEach(n=>t[n]=e[n]),t),dS=t=>{const e={};for(let n=0;n<t.length;n++)t[n]&&uS(e,t[n]);return e},pS=(t,e="pId",n="children",o="id")=>{const r=[];return Array.isArray(t)&&t.forEach(i=>{if(!i[e]||i[e]==="0")r.push(i);else{const a=na(t,l=>l[o]===i[e]);if(!a)return;a[n]||(a[n]=[]),a[n].push(i)}delete i[e]}),r},hS=(t,e="id",n="pId")=>{let o;return Array.isArray(t)?o=t:o=[t],o=o.map(r=>({...r})),pS(o,n,"children",e)},mS=t=>{const e={};return Object.keys(t).forEach(n=>{const{type:o,value:r}=t[n];if(o==="enum"&&(e[n]={type:r.map(()=>0),value:r},r.length>1&&(t[n].relation="or")),o==="input"){const{relation:i,text:a}=r;e[n]={type:[i==="startwith"?8:i==="equals"?0:6],value:a}}}),JSON.stringify(e)},L0=(t,e)=>{const n=Array.isArray(e)?e:e.split("."),o=n.shift();if(o===void 0)return;const r=t[o];return Ro(r)&&n.length?L0(r,n):r},fS=(t,e)=>{if(e){const{page:n,sort:o,filters:r}=e,{currentPage:i,pageSize:a}=n||{},l=mS(r||{}),s=o&&o.property?o.property+" "+o.order:"";t.url=N5(t.url,{curPage:i,pageSize:a,filterStr:l,orderBy:s})}},fc=(t,e)=>{const{result:n,pageVO:o}=t,{key:r="id",parentKey:i}=e||{};let a=n||t;return i&&(a=hS(a,r,i)),o?{result:a,page:{total:o.totalRows}}:a},$m=({dataset:t,service:e,tree:n},o)=>new Promise((r,i)=>{if(Array.isArray(t))return r(fc(t,n));const a=t,{source:l,value:s,api:c}=a||{},d=e||a&&a.service;if(Array.isArray(s))return r(fc({result:s},n));if(!d)return r([]);if(Ro(l)&&l!=null&&l.url){const{type:u="GET",data:m,beforeRequest:h,afterRequest:p,success:v,hideErr:f,url:b,method:x,...w}=l;w.url=b,w.method=x||u.toLocaleLowerCase();const E=w.method==="get"?"params":"data";w[E]=m||{};const S=p||v,$={...w};fS($,o),h&&h($,o),d.network.request($).then(q=>{S&&S(q.data),r(fc(q.data,n))}).catch(q=>{f||i(q)})}else if(c){const u=L0(d,c.name);u&&u({...c.data,...o}).then(m=>{r(fc(m,n))}).catch(m=>{i(m)})}});const gS=/%[sdj%]/g,I0=()=>{};function bu(t){if(!t||!t.length)return null;const e={};return t.forEach(n=>{const o=n.field;e[o]=e[o]||[],e[o].push(n)}),e}function yo(t,...e){if(typeof t=="function")return t(...e);if(typeof t=="string"){let n=0;const o=e.length;return String(t).replace(gS,r=>{if(r==="%%")return"%";if(n>=o)return r;switch(r){case"%j":try{return JSON.stringify(e[n++])}catch{return"[Circular]"}case"%d":return Number(e[n++]).toString();case"%s":return String(e[n++]);default:return r}})}return String(t)}function vS(t){return t?["string","url","hex","email","pattern","digits","time","dateYMD","longDateTime","dateTime","dateYM","version","speczh","specialch","specialch2","acceptImg","acceptFile","fileSize"].includes(t):!1}function nn(t,e){return!!(Dt(t)||e==="array"&&Array.isArray(t)&&!t.length||vS(e)&&typeof t=="string"&&!t)}function yS(t){return Object.keys(t).length===0}function bS(t,e,n){let o=0;const r=[],i=t.length;function a(l){r.push(...l),o++,o===i&&n(r)}t.forEach(l=>{e(l,a)})}function kg(t,e,n){let o=0;const r=t.length;function i(a){if(a&&a.length){n(a);return}const l=o;o=o+1,l<r?e(t[l],i):n([])}i([])}function wS(t){const e=[];return Object.keys(t).forEach(n=>{e.push(...t[n])}),e}function N0(t,e,n,o){if(e.first){const d=new Promise((u,m)=>{const h=m,p=f=>(o(f),f.length?h({errors:f,fields:bu(f)}):u()),v=wS(t);kg(v,n,p)});return d.catch(u=>u.errors&&u.fields||qp.error(u)),d}let r=Array.isArray(e.firstFields)?e.firstFields:[];e.firstFields===!0&&(r=Object.keys(t));let i=0;const a=Object.keys(t),l=a.length,s=[],c=new Promise((d,u)=>{const m=u,h=p=>{if(s.push(...p),i++,i===l)return o(s),s.length?m({errors:s,fields:bu(s)}):d()};a.forEach(p=>{const v=t[p];r.includes(p)?kg(v,n,h):bS(v,n,h)})});return c.catch(d=>d.errors&&d.fields||qp.error(d)),c}function Pm(t){return e=>e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():String(e),field:(e==null?void 0:e.field)||t.fullField}}function zp(t,e){if(!e)return t;for(const n in e)if(Ct.call(e,n)){const o=e[n];typeof o=="object"&&typeof t[n]=="object"?t[n]={...t[n],...o}:t[n]=o}return t}const xS=Object.freeze(Object.defineProperty({__proto__:null,asyncMap:N0,complementError:Pm,convertFieldsError:bu,deepMerge:zp,format:yo,isEmptyObject:yS,isEmptyValue:nn,warning:I0},Symbol.toStringTag,{value:"Module"}));function Tt(t,e){Tt.getSystemMessage=()=>Tt.getDefaultMessage(e),Tt.messages=Tt.getSystemMessage(e),Tt.systemMessages=Tt.messages,this.rules=null,this._messages=Tt.systemMessages,this.define(t)}const TS=t=>e=>{let n,o=[],r={};function i(a){Array.isArray(a)?o=o.concat(...a):o.push(a)}for(n=0;n<e.length;n++)i(e[n]);o.length?r=bu(o):(o=null,r=null),t(o,r)},kS=(t,e)=>{let n=(t.type==="object"||t.type==="array")&&(typeof t.fields=="object"||typeof t.defaultField=="object");return n=n&&(t.required||!t.required&&e.value),n},CS=(t,e)=>{let n={};function o(r,i){return{...i,fullField:`${t.fullField}.${r}`}}if(t.defaultField)for(const r in e.value)Ct.call(e.value,r)&&(n[r]=t.defaultField);n={...n,...e.rule.fields};for(const r in n)if(Ct.call(n,r)){const i=Array.isArray(n[r])?n[r]:[n[r]];n[r]=i.map(o.bind(null,r))}return n},AS=t=>(Array.isArray(t)||(t=[t]),t),SS=({rule:t,failds:e,options:n})=>(t.message?e=[].concat(t.message).map(Pm(t)):n.error?e=[n.error(t,yo(n.messages.required,t.field))]:e=[],e),ES=({data:t,options:e})=>{if(t.rule.options){let{messages:n,error:o}=e;Object.assign(t.rule.options,{messages:n,error:o})}},$S=({failds:t,doIt:e})=>n=>{const o=[];t&&t.length&&o.push(...t),n&&n.length&&o.push(...n),e(o.length?o:null)},PS=(t,e,n,o,r)=>(i=[])=>{let a=i;const l=kS(e,r);if(a=AS(a),!t.suppressWarning&&a.length&&Tt.warning(),a.length&&e.message&&(a=[].concat(e.message)),a=a.map(Pm(e)),t.first&&a.length)return n[e.field]=1,o(a);if(l){if(e.required&&!r.value)return a=SS({rule:e,failds:a,options:t}),o(a);const s=new Tt(CS(e,r));s.messages(t.messages),ES({data:r,options:t}),s.validate(r.value,r.rule.options||t,$S({failds:a,doIt:o}))}else o(a)};Tt.prototype={messages(t){return t&&(this._messages=zp(Tt.getSystemMessage(),t)),this._messages},define(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(Array.isArray(t)||typeof t!="object")throw new TypeError("Rules must be an object");this.rules={};let e;Object.keys(t).forEach(n=>{Ct.call(t,n)&&(e=t[n],this.rules[n]=Array.isArray(e)?e:[e])})},getSeries(t,e,n){let o,r;const i={};return(t.keys||Object.keys(this.rules)).forEach(a=>{o=this.rules[a],r=e[a],o.forEach(l=>{let s=l;typeof s.transform=="function"&&(e===n&&(e={...e}),e[a]=s.transform(r),r=e[a]),typeof s=="function"?s={validator:s}:s={...s},s.validator=this.getValidationMethod(s),s.field=a,s.fullField=s.fullField||a,s.type=this.getType(s),t.custom&&Object.assign(s,t.custom),s.validator&&(i[a]=i[a]||[],i[a].push({rule:s,value:r,source:e,field:a}))})}),i},mergeMessage(t){if(t.messages){let e=this.messages();e===Tt.systemMessages&&(e=Tt.getSystemMessage()),zp(e,t.messages),t.messages=e}else t.messages=this.messages()},validate(t,e={},n=()=>{}){let o=t,r=e,i=n;if(typeof r=="function"&&(i=r,r={}),!this.rules||Object.keys(this.rules).length===0)return i&&i(),Promise.resolve();const a=TS(i);this.mergeMessage(r);const l=this.getSeries(r,o,t),s={};return N0(l,r,(c,d)=>{const u=c.rule,m=PS(r,u,s,d,c);let h;u.asyncValidator?h=u.asyncValidator(u,c.value,m,c.source,r):u.validator&&(h=u.validator(u,c.value,m,c.source,r),h===!0?m():h===!1?m(u.message||`${u.field} fails`):Array.isArray(h)?m(h):h instanceof Error&&m(h.message)),h&&h.then&&h.then(()=>m(),p=>m(p))},c=>{a(c)})},getValidationMethod(t){var e;if(qA(t.validator))return t.validator;const n=Object.keys(t),o=n.indexOf("message");return o>-1&&n.splice(o,1),n.length===1&&n[0]==="required"?(e=Tt.validators)==null?void 0:e.required:Tt.validators[this.getType(t)]||!1},getType(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Ct.call(Tt.validators,t.type))throw new Error(yo("Unknown rule type %s",t.type));return t.type||"string"}};Tt.register=(t,e)=>{if(typeof e!="function")throw new TypeError("Cannot register a validator by type, validator is not a function");Tt.validators[t]=e};Tt.validators={};Tt.warning=I0;Tt.messages={};Tt.systemMessages={};Tt.getDefaultMessage=()=>{};Tt.getSystemMessage=()=>{};function O0({rule:t,checkValue:e,source:n,errors:o,options:r,type:i}){t.required&&(!Ct.call(n,t.field)||nn(e,i||t.type))&&o.push(yo(r.messages.required))}const _S='^(([^<>()\\[\\]\\\\.,;:\\s@"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@"]+)*)|(".+"))',MS=new RegExp(_S+"@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,6}))$"),Io={acceptImg:/\.(png|jpe?g|gif)$/,acceptFile:/\.(doc?x|xls?x|ppt?x|txt)$/,email:MS,fileSize:/^\d+(\.\d+)?[KMGTPEZY]?B$/i,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,speczh:/^[0-9a-zA-Z_\u4E00-\u9FA5]+$/,specialch:/^[0-9a-zA-Z_\-.]+$/,specialch2:/^[0-9a-zA-Z_-]+$/,url:/^(([a-zA-Z]{3,}):)?\/\/([\w-]+\.)+[\w]+(\/[a-zA-Z- ./?%&=]*)?/i,version:/^\d+\.\d+(\.\d+)*$/},cl={integer:t=>cl.number(t)&&/^[-]?[\d]+$/.test(t),float:t=>cl.number(t)&&!cl.integer(t),array:Array.isArray,regexp(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:Tm,number:t=>sr(Number(t)),object:t=>Ro(t)&&!cl.array(t),method:t=>un(t)==="function",email:t=>Ut(t)||!!t.match(Io.email)&&t.length<255,url:t=>Ut(t)||!!t.match(Io.url),hex:t=>Ut(t)||!!t.match(Io.hex),digits:t=>Ut(t)||/^\d+$/.test(t),time:t=>Ut(t)||/^((0)[0-9]|1[0-9]|20|21|22|23):([0-5][0-9])$/.test(t),dateYM:t=>Ut(t)||ll(t,"yyyy-MM")===t,dateYMD:t=>Ut(t)||ll(t,"yyyy-MM-dd")===t,dateTime:t=>Ut(t)||ll(t,"yyyy-MM-dd hh:mm")===t,longDateTime:t=>Ut(t)||ll(t,"yyyy-MM-dd hh:mm:ss")===t,version:t=>Ut(t)||!!t.match(Io.version),speczh:t=>Ut(t)||!!t.match(Io.speczh),specialch:t=>Ut(t)||!!t.match(Io.specialch),specialch2:t=>Ut(t)||!!t.match(Io.specialch2),acceptImg:t=>Ut(t)||!!t.match(Io.acceptImg),acceptFile:t=>Ut(t)||!!t.match(Io.acceptFile),fileSize:t=>Ut(t)||!!t.match(Io.fileSize)};function LS(t,e,n,o,r){if(t.required&&e===void 0){O0({rule:t,checkValue:e,source:n,errors:o,options:r});return}const i=["array","acceptImg","acceptFile","date","digits","dateTime","dateYM","dateYMD","email","float","fileSize","hex","integer","longDateTime","method","number","object","regexp","speczh","specialch","specialch2","time","version","url"],a=t.type;i.includes(a)?cl[a](e)||o.push(yo(r.messages.types[a],t.type)):a&&typeof e!==t.type&&o.push(yo(r.messages.types[a],t.type))}function IS({min:t,max:e,val:n,key:o,rule:r,errors:i,util:a,options:l}){t&&!e&&n<r.min?i.push(a.format(l.messages[o].min,r.min)):e&&!t&&n>r.max?i.push(a.format(l.messages[o].max,r.max)):t&&e&&(n<r.min||n>r.max)&&i.push(a.format(l.messages[o].range,r.min,r.max))}function NS(t,e,n,o,r){const i=sr(t.len),a=sr(t.min),l=sr(t.max);let s=e,c=t.type;const d=sr(e),u=typeof e=="string",m=Array.isArray(e);if(d?c??(c="number"):u?c??(c="string"):m&&(c??(c="array")),!c)return!1;m&&(s=e.length),u&&(s=S5(e,"string")),t.type==="number"&&(s=e),i?s!==t.len&&o.push(yo(r.messages[c].len,t.len)):IS({min:a,max:l,val:s,key:c,rule:t,errors:o,util:xS,options:r})}const Fa="enum";function OS(t,e,n,o,r){t[Fa]=Array.isArray(t[Fa])?t[Fa]:[],t[Fa].includes(e)||o.push(yo(r.messages[Fa],t[Fa].join(", ")))}function DS(t,e,n,o,r){t.pattern&&(t.pattern instanceof RegExp?(t.pattern.lastIndex=0,t.pattern.test(e)||o.push(yo(r.messages.pattern.mismatch,e,t.pattern))):typeof t.pattern=="string"&&(new RegExp(t.pattern).test(e)||o.push(yo(r.messages.pattern.mismatch,e,t.pattern))))}function BS(t,e,n,o,r){(/^\s+$/.test(e)||e==="")&&o.push(yo(r.messages.whitespace))}const ft={type:LS,range:NS,pattern:DS,required:O0,whitespace:BS,enum:OS};function qS(t,e,n,o,r){const i=[],a=t.required||!t.required&&Ct.call(o,t.field),l=s=>s&&typeof s=="string"&&new Date(s).toString()!=="Invalid Date";if(a){if(nn(e)&&!t.required)return n();if(ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),!nn(e)){let s;typeof e=="number"||l(e)?s=new Date(e):s=e,ft.type(t,s,o,i,r),s&&typeof s.getTime=="function"&&ft.range(t,s.getTime(),o,i,r)}}n(i)}function on(t,e,n,o,r){const i=t.type,a=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e,i)&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:a,options:r,type:i}),nn(e,i)||ft.type(t,e,o,a,r)}n(a)}function FS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e)&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),e!==void 0&&(ft.type(t,e,o,i,r),ft.range(t,e,o,i,r))}n(i)}function RS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e,"array")&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r,type:"array"}),nn(e,"array")||(ft.type(t,e,o,i,r),ft.range(t,e,o,i,r))}n(i)}function jS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e,"string")&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r,type:"string"}),nn(e,"string")||(ft.type(t,e,o,i,r),ft.range(t,e,o,i,r),ft.pattern(t,e,o,i,r),t.whitespace===!0&&ft.whitespace(t,e,o,i,r))}n(i)}function gc(t,e,n,o,r){const i=t.required||!t.required&&Ct.call(o,t.field),a=[];if(i){if(!t.required&&nn(e))return n([]);ft.required({rule:t,checkValue:e,source:o,errors:a,options:r}),e!==void 0&&ft.type(t,e,o,a,r)}n(a)}function zS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(e===""&&(e=void 0),!t.required&&nn(e))return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),e!==void 0&&(ft.type(t,e,o,i,r),ft.range(t,e,o,i,r))}n(i)}function US(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e)&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),e!==void 0&&e!==""&&(ft.type(t,e,o,i,r),ft.range(t,e,o,i,r))}n(i)}function VS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e,"string")&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),nn(e,"string")||ft.pattern(t,e,o,i,r)}n(i)}function HS(t,e,n,o,r){const i=[],a=Array.isArray(e)?"array":typeof e;ft.required({rule:t,checkValue:e,source:o,errors:i,options:r,type:a}),n(i)}const QS="enum";function KS(t,e,n,o,r){const i=[];if(t.required||!t.required&&Ct.call(o,t.field)){if(nn(e)&&!t.required)return n();ft.required({rule:t,checkValue:e,source:o,errors:i,options:r}),e!==void 0&&ft[QS](t,e,o,i,r)}n(i)}const GS={date:qS,float:FS,array:RS,string:jS,method:gc,number:zS,integer:US,pattern:VS,required:HS,hex:on,url:on,time:on,email:on,digits:on,dateYM:on,speczh:on,dateYMD:on,version:on,fileSize:on,regexp:gc,object:gc,dateTime:on,specialch:on,boolean:gc,acceptImg:on,specialch2:on,acceptFile:on,longDateTime:on,enum:KS},WS=t=>({string:t("validation.types.string"),method:t("validation.types.method"),array:t("validation.types.array"),object:t("validation.types.object"),number:t("validation.types.number"),date:t("validation.types.date"),boolean:t("validation.types.boolean"),integer:t("validation.types.integer"),float:t("validation.types.float"),regexp:t("validation.types.regexp"),email:t("validation.types.email"),url:t("validation.types.url"),hex:t("validation.types.hex"),digits:t("validation.types.digits"),time:t("validation.types.time"),dateYM:t("validation.types.dateYM"),dateYMD:t("validation.types.dateYMD"),dateTime:t("validation.types.dateTime"),longDateTime:t("validation.types.longDateTime"),version:t("validation.types.version"),speczh:t("validation.types.speczh"),specialch:t("validation.types.specialch"),specialch2:t("validation.types.hex"),acceptImg:t("validation.types.acceptImg"),acceptFile:t("validation.types.acceptFile"),fileSize:t("validation.types.fileSize")}),YS=(t=e=>e)=>({default:t("validation.default"),required:t("validation.required"),enum:t("validation.enum"),whitespace:t("validation.whitespace"),date:{format:t("validation.date.format"),parse:t("validation.date.parse"),invalid:t("validation.date.invalid")},types:WS(t),string:{len:t("validation.string.len"),min:t("validation.string.min"),max:t("validation.string.max"),range:t("validation.string.range")},number:{len:t("validation.number.len"),min:t("validation.number.min"),max:t("validation.number.max"),range:t("validation.number.range")},array:{len:t("validation.array.len"),min:t("validation.array.min"),max:t("validation.array.max"),range:t("validation.array.range")},pattern:{mismatch:t("validation.pattern.mismatch")}});Tt.validators=GS;Tt.getDefaultMessage=YS;const XS=(t,e,...n)=>{let o=!1;if(typeof t=="function"&&typeof e=="string"){const r=document.createEvent("HTMLEvents");r.initEvent(e,!1,!0),r.preventDefault=()=>{o=!0},n.unshift(r),n.unshift(e),t.apply(null,n)}return!o};const ZS=(t,e)=>{let n;if(t.target===null&&e)n=e;else{const o=t.composedPath();t.target!==o[0]&&(n=o[0])}n&&Object.defineProperty(t,"target",{get(){return n},enumerable:!0,configurable:!0})},JS=()=>{};const e3=(function(){return tt?function(t){setTimeout(()=>t(Date.now()),1e3/60)}:window.requestAnimationFrame.bind(window)})(),Up=t=>{t.scheduled||(t.scheduled=!0,t.raf(t3.bind(null,t)))},t3=t=>{const{reads:e,writes:n}=t;let o;try{t.runTasks(e),t.runTasks(n)}catch(r){o=r}if(t.scheduled=!1,(e.length||n.length)&&Up(t),o)if(t.catch)t.catch(o);else throw o},Cg=(t,e)=>{const n=t.indexOf(e);return!!~n&&!!t.splice(n,1)},n3=(t,e)=>{for(let n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n])};let o3=class{constructor(){this.reads=[],this.writes=[],this.raf=e3.bind(window)}runTasks(e){let n;for(;n=e.shift();)n()}measure(e,n){const o=n?e.bind(n):e;return this.reads.push(o),Up(this),o}mutate(e,n){const o=n?e.bind(n):e;return this.writes.push(o),Up(this),o}clear(e){return Cg(this.reads,e)||Cg(this.writes,e)}extend(e){if(!e||typeof e!="object")throw new Error("[TINY][FastDom] expected object");const n=Object.create(this);return n3(n,e),n.fastdom=this,n.initialize&&n.initialize(),n}};const ys=new o3,Ag=(t,e,n,o)=>{const r=t._tasks,i=t.fastdom;let a;const l=new Promise(function(s,c){a=i[e](function(){r.delete(l);try{s(o?n.call(o):n())}catch(d){c(d)}},o)});return r.set(l,a),l},r3={initialize(){this._tasks=new Map},mutate(t,e){return Ag(this,"mutate",t,e)},measure(t,e){return Ag(this,"measure",t,e)},clear(t){const e=this._tasks,n=e.get(t);this.fastdom.clear(n),e.delete(t)}};ys.extend(r3);const i3=(t,e)=>{let n=e.length;for(;n--;)t.clear(e[n]),e.splice(n,1)},a3=(t,e)=>{const n=t.indexOf(e);return!!~n&&!!t.splice(n,1)};class s3{constructor(e){this.fastdom=e,this.tasks=[]}measure(e,n){const o=this.tasks,r=this.fastdom.measure(function(){return o.splice(o.indexOf(r)),e.call(n)});return o.push(r),r}mutate(e,n){const o=this.tasks,r=this.fastdom.mutate(function(){return o.splice(o.indexOf(r)),e.call(n)});return this.tasks.push(r),r}clear(e){return arguments.length||i3(this.fastdom,this.tasks),a3(this.tasks,e),this.fastdom.clear(e)}}const l3={sandbox(){return new s3(this.fastdom)}};ys.extend(l3);const c3=["fullscreenElement","fullscreenEnabled","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],u3=["mozFullScreenElement","mozFullScreenEnabled","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],d3=["webkitFullscreenElement","webkitFullscreenEnabled","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror"],p3=["msFullscreenElement","msFullscreenEnabled","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"],zd=[c3,d3,u3,p3],or=typeof window<"u"&&typeof window.document<"u"?window.document:{};let Ht=null;const h3=()=>{if(!tt)for(let t=0,e=zd.length;t<e;t++){let n=zd[t];if(n&&n[1]in or){for(Ht={},t=0;t<n.length;t++)Ht[zd[0][t]]=n[t];return}}};h3();const Sg={change:Ht&&Ht.fullscreenchange,error:Ht&&Ht.fullscreenerror},zn={request(t,e){return new Promise((n,o)=>{const r=()=>{this.off("change",r),n()};if(this.on("change",r),t=t||(tt?null:or.documentElement),t&&Ht&&t[Ht.requestFullscreen]){const i=t[Ht.requestFullscreen](e);i instanceof Promise&&i.then(r).catch(o)}else o(new Error("Fullscreen API not supported or element is null."))})},exit(){return new Promise((t,e)=>{if(!this.isFullscreen){t();return}const n=()=>{this.off("change",n),t()};if(this.on("change",n),!tt&&Ht&&or[Ht.exitFullscreen]){const o=or[Ht.exitFullscreen]();o instanceof Promise&&o.then(n).catch(e)}else e(new Error("Fullscreen API not supported."))})},toggle(t,e){return this.isFullscreen?this.exit():this.request(t,e)},onchange(t){this.on("change",t)},onerror(t){this.on("error",t)},on(t,e){const n=Sg[t];n&&!tt&&Oe(or,n,e)},off(t,e){const n=Sg[t];n&&!tt&&Re(or,n,e)},raw:Ht||{}};tt?Object.defineProperties(zn,{isFullscreen:{get(){return!1}},element:{enumerable:!0,get(){return null}},isEnabled:{enumerable:!0,get(){return!1}}}):Object.defineProperties(zn,{isFullscreen:{get(){return!!or[Ht&&Ht.fullscreenElement]}},element:{enumerable:!0,get(){return or[Ht&&Ht.fullscreenElement]}},isEnabled:{enumerable:!0,get(){return!!or[Ht&&Ht.fullscreenEnabled]}}});const m3={callback:()=>{},fullscreenClass:"fullscreen",pageOnly:!1,teleport:!1};let wu,Xa;const D0=(t,e)=>{t.style.position=e.position,t.style.left=e.left,t.style.top=e.top,t.style.width=e.width,t.style.height=e.height,t.style.zIndex=e.zIndex},Eg=t=>{const e=t.targetElement;e&&(e.classList.remove(t.opts.fullscreenClass),(t.opts.teleport||t.opts.pageOnly)&&(t.opts.teleport&&Xa&&(Xa.insertBefore(e,wu),Xa.removeChild(wu)),e.__styleCache&&D0(e,e.__styleCache)))},f3=(t,e)=>{const{position:n,left:o,top:r,width:i,height:a,zIndex:l}=t.style;if(t.classList.add(e.fullscreenClass),e.teleport||e.pageOnly){const s={position:"fixed",left:"0",top:"0",width:"100%",height:"100%"};t.__styleCache={position:n,left:o,top:r,width:i,height:a,zIndex:l},e.zIndex&&(s.zIndex=e.zIndex),D0(t,s)}},g3=(t,e,n)=>(e=oo({},m3,e),n===document.body&&(e.teleport=!1),t.isEnabled||(e.pageOnly=!0),e),bs={targetElement:null,opts:null,isEnabled:zn.isEnabled,isFullscreen:!1,toggle(t,e,n){return n===void 0?this.isFullscreen?this.exit():this.request(t,e):n?this.request(t,e):this.exit()},request(t,e){if(this.isFullscreen)return Promise.resolve();if(t||(t=document.body),this.opts=g3(zn,e,t),f3(t,this.opts),this.opts.teleport&&(Xa=t.parentNode,Xa&&(wu=document.createComment("fullscreen-token"),Xa.insertBefore(wu,t),document.body.appendChild(t))),this.opts.pageOnly){const n=o=>{o.key==="Escape"&&(Re(document,"keyup",n),this.exit())};return this.isFullscreen=!0,this.targetElement=t,Re(document,"keyup",n),Oe(document,"keyup",n),this.opts.callback&&this.opts.callback(this.isFullscreen),Promise.resolve()}else{const n=()=>{zn.isFullscreen||(zn.off("change",n),Eg(this)),this.isFullscreen=zn.isFullscreen,this.targetElement=this.opts.teleport?t||null:zn.targetElement,this.opts.callback&&this.opts.callback(zn.isFullscreen)};return zn.on("change",n),zn.request(this.opts.teleport?document.body:t)}},exit(){return this.isFullscreen?this.opts.pageOnly?(Eg(this),this.isFullscreen=!1,this.targetElement=null,this.opts.callback&&this.opts.callback(this.isFullscreen),Promise.resolve()):zn.exit():Promise.resolve()}};bs.support=bs.isEnabled;bs.getState=()=>bs.isFullscreen;bs.enter=bs.request;const Za="$treeNodeId",_m=function(t,e){return t?e[t]:e[Za]},$g=function(t,e){!e||e[Za]||Object.defineProperty(e,Za,{value:t.id,enumerable:!1,configurable:!1,writable:!1})},Ud="children",Pg="isLeaf",vc=(t,e)=>{const n=t.store.props,o=t.data||{},r=n[e];if(un(r)==="string")return o[r];if(un(r)==="function")return r(o,t);if(typeof r>"u"){const i=o[e];return i===void 0?"":i}},Vp=t=>{let e=!0,n=!0,o=!0;for(let r=0,i=t.length;r<i;r++){const{checked:a,disabled:l,indeterminate:s}=t[r];(a!==!0||s)&&(e=!1,l||(o=!1)),(a!==!1||s)&&(n=!1)}return{all:e,none:n,allWithoutDisable:o,half:!e&&!n}},Xc=t=>{const e=t.childNodes;if(e.length===0)return;const{all:n,none:o,half:r}=Vp(e);n?Object.assign(t,{checked:!0,indeterminate:!1}):r?Object.assign(t,{checked:!1,indeterminate:!0}):o&&Object.assign(t,{checked:!1,indeterminate:!1});const i=t.parent;!i||i.level===0||!t.store.checkStrictly&&Xc(i)};let v3=0;class Dl{constructor(e){this.init(e);const n=this.store;if(!n)throw new Error("[TINY-Tree][Node]store is required!");n.registerNode(this);const o=n.props;if(o&&typeof o.isLeaf<"u"){const l=vc(this,Pg);typeof l=="boolean"&&(this.isLeafByUser=l)}if(this.initExpandState(),Array.isArray(this.data)||$g(this,this.data),!this.data)return;this.expandByDefaultKeys();const{key:r,lazy:i,currentNodeKey:a}=n;r&&a!==void 0&&this.key===a&&(n.currentNode=this,n.currentNode.isCurrent=!0),i&&n._initDefaultCheckedNode(this),this.updateLeafState()}initExpandState(){const{store:e,data:n,level:o}=this;e.lazy!==!0&&n?(this.setData(n),e.defaultExpandAll&&(this.expanded=!0,this.updateMethod(this,"expanded"))):o>0&&e.lazy&&e.defaultExpandAll&&this.expand()}init(e){var n,o;this.id=v3++,this.checked=!1,this.indeterminate=!1,this.expanded=!1,this.visible=!0,this.isCurrent=!1,this.text=null,this.data=null,this.parent=null,this.updateMethod=()=>{},Object.keys(e).forEach(i=>{Ct.call(e,i)&&(this[i]=e[i])});const r=((o=(n=this.store)==null?void 0:n.props)==null?void 0:o.isLeaf)||Pg;this.isLeaf=!!(this.data&&this.data[r]),this.loaded=this.isLeaf,this.loading=!1,this.childNodes=[],this.level=this.parent?this.parent.level+1:0}expandByDefaultKeys(){const{defaultExpandedKeys:e,key:n,autoExpandParent:o}=this.store;n&&e&&~e.indexOf(this.key)&&this.expand(null,o)}setData(e){Array.isArray(e)||$g(this,e),this.data=e,this.childNodes=[];let n;this.level===0&&Array.isArray(this.data)?n=this.data:n=vc(this,Ud)||[];for(let o=0,r=n.length;o<r;o++){const i=n[o];this.insertChild({data:i})}}get key(){const{store:e,data:n}=this,o=e.key;return n?n[o]:null}get label(){return vc(this,"label")}get disabled(){return vc(this,"disabled")}get nextSibling(){const e=this.parent;if(e){const n=e.childNodes,o=n.indexOf(this);if(~o)return n[o+1]}return null}get previousSibling(){const e=this.parent;if(e){const n=e.childNodes,o=n.indexOf(this);if(~o)return o>0?n[o-1]:null}return null}remove(){const e=this.parent;e&&e.removeChild(this)}contains(e,n=!0){const o=r=>{const i=r.childNodes||[];let a=!1;for(let l=0,s=i.length;l<s;l++){const c=i[l];if(c===e||n&&o(c)){a=!0;break}}return a};return o(this)}insertChild(e,n,o){if(!e)throw new Error("[TINY-Tree] insertChild error: child is required.");const r=({arr:i,index:a,item:l})=>{typeof a>"u"||a<0?i.push(l):i.splice(a,0,l)};if(!(e instanceof Dl)){if(!o){const i=this.getChildren(!0)||[];~i.indexOf(e.data)||r({arr:i,index:n,item:e.data})}Rp(e,{parent:this,store:this.store}),e=new Dl(e)}return e.level=this.level+1,r({arr:this.childNodes,index:n,item:e}),this.updateLeafState(),e}insertBefore(e,n){let o;n&&(o=this.childNodes.indexOf(n)),this.insertChild(e,o)}insertAfter(e,n){let o;n&&(o=this.childNodes.indexOf(n),~o&&(o+=1)),this.insertChild(e,o)}removeChild(e){const n=this.getChildren()||[];let o=n.indexOf(e.data);~o&&n.splice(o,1),o=this.childNodes.indexOf(e),~o&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(o,1)),this.updateLeafState()}removeChildByData(e){let n=null;for(let o=0,r=this.childNodes.length;o<r;o++){const i=this.childNodes[o];if(i.data===e){n=i;break}}n&&this.removeChild(n)}expand(e,n){const o=()=>{if(n){let r=this.parent;for(;r.level>0;)r.expanded=!0,r.updateMethod(r,"expanded"),r=r.parent}this.expanded=!0,this.updateMethod(this,"expanded"),e&&e()};this.shouldLoadData()?this.loadData(r=>{Array.isArray(r)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||Xc(this),o())}):o()}doCreateChildren(e,n={}){e.forEach(o=>{this.insertChild(Rp({data:o},n),void 0,!0)})}collapse(){this.expanded=!1,this.updateMethod(this,"expanded")}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){const{store:e,loaded:n,isLeafByUser:o}=this,r=e.lazy;if(r===!0&&n!==!0&&typeof o<"u"){this.isLeaf=o;return}const i=this.childNodes;if(!r||r===!0&&n===!0){this.isLeaf=!i||i.length===0;return}this.isLeaf=!1}getChildren(e=!1){const{level:n,data:o}=this;if(n===0)return o;if(!o)return null;const r=this.store.props;let i=Ud;return r&&(i=r.children||Ud),o[i]===void 0&&(o[i]=null),e&&!o[i]&&(o[i]=[]),o[i]}setChecked(e,n,o,r,i){this.checked=e===!0,this.indeterminate=e==="half";const{checkStrictly:a,checkDescendants:l}=this.store;if(a&&!i)return;let s=this.setCheckedInner({checkDescendants:l,value:e,isDeepChecked:n,passValue:r,checkEasily:i}),c=s.returnFlag;if(r=s.passValue,e=s.value,c||a&&i)return;const d=this.parent;!d||d.level===0||o||Xc(d)}setCheckedInner({checkDescendants:e,value:n,isDeepChecked:o,passValue:r,checkEasily:i}){let a=!1;if(this.shouldLoadData()&&!e)return{value:n,passValue:r,returnFlag:a};const{all:l,allWithoutDisable:s}=Vp(this.childNodes);!this.isLeaf&&!l&&s&&!i&&(this.checked=!1,n=!1);const c=()=>{if(o){const d=this.childNodes;for(let h=0,p=d.length;h<p;h++){const v=d[h];r=r||n!==!1;const f=v.disabled?v.checked:r;v.setChecked(f,o,!0,r,i)}const{half:u,all:m}=Vp(d);!m&&!i&&(this.checked=m,this.indeterminate=u)}};if(this.shouldLoadData()){const d=()=>{c(),Xc(this)};this.loadData(d,{checked:n!==!1}),a=!0}else c();return{value:n,passValue:r,returnFlag:a}}updateChildren(){const e=this.getChildren()||[],n=this.childNodes.map(i=>i.data),o={},r=[];e.forEach((i,a)=>{const l=i[Za];l&&M0(n,l,(s,c)=>s[Za]===c)>=0?o[l]={index:a,data:i}:r.push({index:a,data:i})}),this.store.lazy||n.forEach(i=>{o[i[Za]]||this.removeChildByData(i)}),r.forEach(({data:i,index:a})=>{this.insertChild({data:i},a)}),this.updateLeafState()}loadData(e,n={}){const{lazy:o,load:r}=this.store;o===!0&&r&&!this.loaded&&(!this.loading||Object.keys(n).length)?(this.loading=!0,this.store.load(this,i=>{this.loading=!1,this.loaded=!0,this.childNodes=[],this.doCreateChildren(i,n),this.updateLeafState(),e&&e.call(this,i),typeof this.store.afterLoad=="function"&&this.store.afterLoad({data:i})})):e&&e.call(this)}getPathData(e){const n=[e?this.data[e]:this.data];let o=this.parent;for(;o&&o.parent;)n.unshift(e?o.data[e]:o.data),o=o.parent;return n}getPathText(e,n=","){return(this.getPathData(e)||[]).join(n)}}class y3{constructor(e){Ot(this,"currentNode",null),Ot(this,"currentNodeKey",null),Ot(this,"nodesMap",{}),Ot(this,"root"),Ot(this,"data"),Ot(this,"lazy",!1),Ot(this,"load"),Ot(this,"afterLoad"),Ot(this,"props",{}),Ot(this,"filterNodeMethod"),Ot(this,"key",""),Ot(this,"defaultCheckedKeys",[]),Ot(this,"checkStrictly",!1),Ot(this,"defaultExpandedKeys",[]),Ot(this,"autoExpandParent",!0),this.currentNode=null,this.currentNodeKey=null;for(let n in e)Ct.call(e,n)&&(this[n]=e[n]);this.nodesMap={},this.root=new Dl({data:this.data,store:this}),this.lazy&&this.load?this.load(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes(),typeof this.afterLoad=="function"&&this.afterLoad({data:n,init:!0})}):this._initDefaultCheckedNodes()}getMappingData(e){const n=this.props||{},o={};for(let r in n)Ct.call(n,r)&&(o[r]=e[n[r]]);return{...e,...o}}filter(e){const{lazy:n,filterNodeMethod:o,getMappingData:r}=this,i=a=>{const l=a.root?a.root.childNodes:a.childNodes;if(l.forEach(s=>{const c=r.call(this,s.data);o&&(s.visible=o.call(s,e,c,s)),i(s)}),!a.visible&&l.length){let s=!l.some(({visible:c})=>c);a.root?a.root.visible=s===!1:a.visible=s===!1}e&&a.visible&&!a.isLeaf&&!n&&a.expand(null,this.autoExpandParent)};i(this)}setData(e){e!==this.root.data?(this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(e){if(e instanceof Dl)return e;const n=typeof e!="object"?e:_m(this.key,e);return this.nodesMap[n]||null}insertBefore(e,n){const o=this.getNode(n);o&&o.parent&&o.parent.insertBefore({data:e},o)}insertAfter(e,n){const o=this.getNode(n);o&&o.parent&&o.parent.insertAfter({data:e},o)}remove(e,n,o){const r=o?e:this.getNode(e);r&&r.parent&&(r===this.currentNode&&(this.currentNode=null),n&&r.childNodes&&r.childNodes.forEach(i=>{r.parent.insertChild({data:i.data})}),r.parent.removeChild(r))}append(e,n,o){const r=n?this.getNode(n):this.root;if(r){const i=r.insertChild({data:e},o);e._isNewNode&&this.registerNode(i)}}setDefaultCheckedKey(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}_initDefaultCheckedNodes(){const e=this.defaultCheckedKeys||[],n=this.nodesMap;e.forEach(o=>{const r=n[o];r&&r.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(e){~(this.defaultCheckedKeys||[]).indexOf(e.key)&&e.setChecked(!0,!this.checkStrictly)}getCheckedKeys(e=!1){return this.getCheckedNodes(e).map(n=>(n||{})[this.key])}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(e=>(e||{})[this.key])}deregisterNode(e){!this.key||!e||!e.data||(e.childNodes.forEach(n=>{this.deregisterNode(n)}),delete this.nodesMap[e.key])}registerNode(e){if(!this.key||!e||!e.data)return;const n=e.key;n!==void 0&&(this.nodesMap[n]=e)}getCheckedNodes(e=!1,n=!1,o=!1){const r=[],i=a=>{(a.root?a.root.childNodes:a.childNodes).forEach(l=>{const{checked:s,indeterminate:c,isLeaf:d,data:u}=l;(s||n&&c)&&(!e||e&&d)&&r.push(o?l:u),i(l)})};return i(this),r}getHalfCheckedNodes(){const e=[],n=o=>{(o.root?o.root.childNodes:o.childNodes).forEach(r=>{const{indeterminate:i,data:a}=r;i&&e.push(a),n(r)})};return n(this),e}_getAllNodes(){const e=[],n=this.nodesMap;return Object.keys(n).forEach(o=>{Ct.call(n,o)&&e.push(n[o])}),e}updateChildren(e,n){const o=this.nodesMap[e];if(!o)return;const r=o.childNodes;for(let i=r.length-1;i>=0;i--)this.remove(r[i].data,!1,!1);for(let i=0,a=n.length;i<a;i++){const l=n[i];this.append(l,o.data)}}_setCheckedKeys(e,n=!1,o={}){const r=this._getAllNodes().sort((l,s)=>s.level-l.level),i=Object.create(null),a=Object.keys(o);r.forEach(l=>{l.setChecked(!1,!1)});for(let l=0,s=r.length;l<s;l++){const c=r[l],d=c.data[e].toString();if(!~a.indexOf(d))c.checked&&!i[d]&&c.setChecked(!1,!1);else{let u=c.parent;for(;u&&u.level>0;)i[u.data[e]]=!0,u=u.parent;if(c.isLeaf||this.checkStrictly)c.setChecked(!0,!1);else if(n){c.setChecked(!1,!1);const m=h=>{h.childNodes.forEach(p=>{!p.isLeaf&&p.setChecked(!1,!1),m(p)})};m(c)}else c.setChecked(!0,!0)}}}setDefaultExpandedKeys(e){e=e||[],this.defaultExpandedKeys=e,e.forEach(n=>{const o=this.getNode(n);o&&o.expand(null,this.autoExpandParent)})}setCheckedKeys(e,n=!1){this.defaultCheckedKeys=e;const o={};e.forEach(r=>{o[r]=!0}),this._setCheckedKeys(this.key,n,o)}setCheckedNodes(e,n=!1){const o=this.key,r={};e.forEach(i=>{r[(i||{})[o]]=!0}),this._setCheckedKeys(o,n,r)}setChecked(e,n,o){const r=this.getNode(e);r&&r.setChecked(!!n,o)}setCurrentNode(e){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=e,e&&(this.currentNode.isCurrent=!0)}getCurrentNode(){return this.currentNode}setCurrentNodeKey(e){if(Dt(e)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const n=this.getNode(e);n&&this.setCurrentNode(n)}setUserCurrentNode(e){const n=e[this.key],o=this.nodesMap[n];this.setCurrentNode(o)}getData(e){return(this.getNode(e)||{}).data}getAllData(){const e=this.props.children,n=o=>o.map(r=>({...r.data,[e]:n(r.childNodes)}));return n(this.root.childNodes)}}function Hp(t,e,n,o){let r,i=0;typeof e!="boolean"&&(o=n,n=e,e=void 0);function a(){const s=this,c=new Date().valueOf()-i,d=arguments;function u(){i=new Date().valueOf(),n.apply(s,d)}function m(){r=void 0}o&&!r&&u(),r&&clearTimeout(r);const h=o===void 0;h&&c>t?u():e!==!0&&(r=setTimeout(o?m:u,h?t-c:t))}function l(){r&&(clearTimeout(r),r=null)}return a._cancel=l,a}function Sn(t,e,n){return n===void 0?Hp(t,e,!1):Hp(t,n,e!==!1)}let Bi=null;const b3="ws://localhost",_g=[27197,27198,27199];let Vd=0,qi,B0=1e3,q0=3e4,w3=0,Mm={},F0;const x3=20*1e3;let Mg=null,R0=null,Qp={},j0={},ln={},z0=()=>{},U0=()=>{};const V0=function(t){clearTimeout(Qp[t]),delete Mm[t],delete Qp[t]},T3=function(){R0=setTimeout(()=>{Bi.close()},5e3)},yr=function(t,e){let n=w3++;if(n=String(n),t.cid=n,!qi){e&&setTimeout(e,0,{ok:!1,message:"eSpace is not logged in."});return}typeof e=="function"&&(Mm[n]=e,Qp[n]=setTimeout(()=>{e({ok:!1,message:"time out"}),V0(n)},q0)),Bi.send(JSON.stringify(t))},H0=function(){Mg=setTimeout(()=>{qi?yr({type:"heartbeat"},()=>{H0()}):clearTimeout(Mg)},x3)},k3=function(t){qi=!0,H0(),clearTimeout(F0),clearTimeout(R0),U0(t)},C3=function(t){let e=t.data;if(typeof e=="string"&&(e=e.replace(/^\d+/,""),!!e)){try{e=JSON.parse(e)}catch(n){return!n}if(qi){let n=j0[e.type];if(n)return n(e.data);let o=e.cid,r=Mm[o];r&&(e.ok?r(null,e.data):r({ok:e.ok}),V0(o))}else e.type==="eSpace-ctrl-connection-success"?k3(e.data):Bi.close()}},A3=function(){Bi.onopen=T3,Bi.onclose=S3,Bi.onmessage=C3},Q0=function(t){F0=setTimeout(()=>{Vd>=_g.length&&(Vd=0),Bi=new WebSocket(b3+":"+_g[Vd++]),A3()},t||0)},S3=function(){(qi||typeof qi>"u")&&(qi=!1,z0()),Q0(B0)};ln.init=function(t){t&&(q0=t.timeout||3e4,B0=t.pollingInterval||0),Q0()};ln.ready=function(t){U0=t};ln.error=function(t){z0=t};const Lg=function(t,e,n){let o=[];for(let r=0;r<e;r++){let i=t;r&&(i+=r);let a=n[i];a&&o.push(a)}return o};ln.on=function(t,e){j0[t]=e};ln.getUserInfo=function(t,e){yr({type:"get-user-info",param:t},function(n,o){if(n)return e(n);const r=function(i){return{account:i.account,name:i.name,mobile:Lg("mobile",6,i),office_phone:Lg("office_phone",6,i),home_phone:i.home_phone,ip_phone:i.ip_phone,other_phone:i.other_phone}};if(o.account)e(null,r(o));else{let i={};for(let a in o)if(Object.prototype.hasOwnProperty.call(o,a)){let l=o[a];i[a]=l&&r(l)}e(null,i)}})};ln.subscribeUserStatus=function(t,e){Array.isArray(t)&&t.forEach(n=>{}),yr({type:"subscribe-user-status",param:t},e)};ln.eSpaceCall=function(t,e,n){yr({type:"espace-call",param:{account:t,number:e}},n)};ln.eSpaceCallByAccount=function(t,e){yr({type:"espace-call",param:{account:t}},e)};ln.eSpaceCallByNumber=function(t,e){yr({type:"espace-call",param:{number:t}},e)};ln.showImDialog=function(t,e){yr({type:"show-espace-im-dialog",param:t},e)};ln.showGroupDialog=function(t,e){yr({type:"show-espace-im-group-dialog",param:t},e)};ln.addContactList=function(t,e){yr({type:"add-contact-list",param:t},e)};if(tt||!window.WebSocket){const t=function(){};for(let e in ln)Object.prototype.hasOwnProperty.call(ln,e)&&typeof ln[e]=="function"&&(ln[e]=t)}class K0{constructor(e,n={}){if(e&&typeof e=="object"?n=e:e=[],typeof n.key!="string"||!n.key)throw new Error("Memorize Initialization error.");this._prefix="tiny_memorize_",this._customField1="frequency",this._customField2="time",this._sortBy=(n.sortBy||"frequency").toUpperCase(),this._sort=(n.sort||"desc").toUpperCase(),this._dataKey=n.dataKey||"value",this._highlightClass=n.highlightClass||"memorize-highlight",this._highlightNum=n.highlightNum||1/0,this._cacheNum=n.cacheNum||1/0,this._serialize=n.serialize||JSON.stringify,this._deserialize=n.deserialize||JSON.parse,this.setKey(n.key),this.assemble(e)}setKey(e){this._storeKey=this._prefix+(e||Number(new Date))}getValue(e=!0){const n=window.localStorage[this._storeKey]||"";if(n)try{const o=this._deserialize(n);return e?this.sort(o):o}catch{return[]}return[]}setValue(e){try{window.localStorage.setItem(this._storeKey,this._serialize(e))}catch{throw new Error("Memorize set localStorage error.")}}clear(){window.localStorage.removeItem(this._storeKey)}add(e){const n=this.getValue(!1),o={key:e};o[this._customField1]=1,o[this._customField2]=Number(new Date),n.length<this._cacheNum&&(n.push(o),this.setValue(n))}updateByKey(e){let n=!1;const o=this.getValue(!1);o.some(r=>r.key===e?(r[this._customField1]=(r[this._customField1]||0)+1,r[this._customField2]=Number(new Date),n=!0,!0):!1),n?this.setValue(o):this.add(e)}sort(e){return Array.isArray(e)?e.sort((n,o)=>{const r=this._sort==="DESC",i=r?[-1,1]:[1,-1],a=this._sortBy==="FREQUENCY"?this._customField1:this._customField2,l=n[a],s=o[a];return isNaN(l)?r?-1:1:isNaN(s)?-1:l>s?i[0]:i[1]}):e}assemble(e){const n=this.getValue(!0);if(!(Array.isArray(e)&&e.length)||!n.length)return e;let o=0;const r=i=>(a,l)=>a[this._dataKey]===i.key?(o++,e.splice(l,1),o<=this._highlightNum&&(a._highlightClass=this._highlightClass),e.unshift(a),!0):!1;for(let i=n.length-1;i>-1;i--){const a=n[i];e.some(r(a))}return e}}const yc={},Zs={leave:"v-modal-leave",enter:"v-modal-enter",modal:"v-modal"},E3=(t,e)=>{for(let n=t.length-1;n>=0;n--)if(t[n].id===e){t.splice(n,1);break}};let Kp;const it={step:2,zIndex:2e3,globalScroll:!1,modalFade:!0,modalStack:[],modalDom:null,hasModal:!1,popLockClass:"popup-parent--hidden",oldBodyBorder:"",viewportWindow:null,fixBodyBorder(){const t=window.innerWidth-document.documentElement.clientWidth;t&&(this.oldBodyBorder=document.documentElement.style.borderRight,document.body.style.borderRight=`${t}px solid transparent`)},resetBodyBorder(){document.body.style.borderRight=this.oldBodyBorder,this.oldBodyBorder=""},deregister:t=>{t&&(yc[t]=null,delete yc[t])},getInstance:t=>yc[t],register:(t,e)=>{t&&e&&(yc[t]=e)},nextZIndex:()=>{const t=it.zIndex;return it.zIndex+=it.step,t},openModal(t,e,n,o,r){if(tt||!t||e===void 0)return;this.modalFade=r;for(let l=0,s=this.modalStack.length;l<s;l++)if(this.modalStack[l].id===t)return;const i=Kp();mn(i,Zs.modal),this.modalFade&&!it.hasModal&&mn(i,Zs.enter),o&&o.trim().split(/\s+/).forEach(l=>mn(i,l)),setTimeout(()=>{fn(i,Zs.enter)},200),e&&(i.style.zIndex=e.toString()),i.style.display="",i.tabIndex=0;let a;n&&n.parentNode&&n.parentNode.nodeType!==11?a=n.parentNode:a=document.body,a.appendChild(i),this.modalStack.push({id:t,zIndex:e,modalClass:o})},doOnModalClick:()=>{const t=it.modalStack,e=t[t.length-1];if(!e)return;const n=it.getInstance(e.id);n&&n.closeOnClickModal&&typeof n.close=="function"&&n.close()},closeModal(t){const e=this.modalStack,n=Kp();if(e.length>0){const o=e[e.length-1];if(o.id===t){o.modalClass&&o.modalClass.trim().split(/\s+/).forEach(i=>fn(n,i)),e.pop();const r=e.length;r>0&&(n.style.zIndex=e[r-1].zIndex.toString())}else E3(e,t)}e.length===0&&(this.modalFade&&mn(n,Zs.leave),fn(document.body,this.popLockClass),this.resetBodyBorder(),setTimeout(()=>{e.length===0&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",it.modalDom=null),fn(n,Zs.leave)},200))}};Kp=()=>{if(tt)return null;let t=it.modalDom;return t?it.hasModal=!0:(it.hasModal=!1,t=document.createElement("div"),it.modalDom=t,t.addEventListener("touchmove",e=>{e.preventDefault(),e.stopPropagation()},{passive:!0}),Oe(t,"click",()=>{it.doOnModalClick()})),t};tt||Oe(window,"keydown",t=>{if(t.keyCode===ut.Escape){const e=it.modalStack;if(e.length>0){const n=e[e.length-1];if(!n)return;const o=it.getInstance(n.id);o&&o.closeOnPressEscape&&(o.handleClose?o.handleClose("esc"):o.handleAction?o.handleAction("cancel"):o.close())}}});const $3=["left","right","top","bottom"],G0=["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],P3={arrowOffset:0,arrowElement:"[x-arrow]",boundariesElement:"viewport",boundariesPadding:5,flipBehavior:"flip",forceAbsolute:!1,gpuAcceleration:!0,offset:0,placement:"bottom",preventOverflowOrder:$3,modifiers:G0,updateHiddenPopperOnScroll:!1},Zc=(t,e)=>{const n=o=>o!==""&&!isNaN(parseFloat(o))&&isFinite(o);Object.keys(e).forEach(o=>{let r="";~["width","height","top","right","bottom","left"].indexOf(o)&&n(e[o])&&(r="px"),t.style[o]=e[o]+r})},Hd=t=>{let e=t.offsetParent;return e===window.document.body||!e?window.document.documentElement:e},W0=(t,e)=>!t||t.nodeType!==1?void 0:window.getComputedStyle(t,null)[e],Y0=t=>t===window.document.body?!1:W0(t,"position")==="fixed"?!0:(t.host&&(t=t.host),t.parentNode?Y0(t.parentNode):!1),Gp=t=>{let e=t.getBoundingClientRect();return{left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.right-e.left,height:e.bottom-e.top}},X0=t=>{if(!t||t.nodeType!==1)return!1;const e=window.getComputedStyle(t,null),n=e.overflow,o=e.overflowX,r=e.overflowY,i=/(auto|scroll|overlay|clip)/;return(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth)&&i.test(n+r+o)},_3=t=>{const e=document.createElement("div");Zc(e,{opacity:0,position:"fixed",width:1,height:1,top:0,left:0,"z-index":"-99"}),t.appendChild(e);const n=Gp(e);return t.removeChild(e),n},Jc=t=>{let e=t.parentNode;return e?e===window.document?window.document.body.scrollTop||window.document.body.scrollLeft?window.document.body:window.document.documentElement:X0(e)?e:Jc(e):t},M3=(t,e,n,o)=>{let{top:r,left:i,width:a,height:l}=Gp(t);if(n){if(o.parentElement){const{top:c,left:d}=_3(o.parentElement);r-=c,i-=d}return{top:r,left:i,bottom:r+l,right:i+a,width:a,height:l}}let s=Gp(e);return{top:r-s.top,left:i-s.left,bottom:r-s.top+l,right:i-s.left+a,width:a,height:l}},L3=t=>t===document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):t.scrollTop||0,I3=t=>t===document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):t.scrollLeft||0,N3=(t,e)=>{const n=Math.max(t.scrollHeight,t.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight);return{width:Math.max(t.scrollWidth,t.offsetWidth,e.clientWidth,e.scrollWidth,e.offsetWidth),height:n}},Qd=t=>{let e=t.style.display,n=t.style.visibility;t.style.display="block",t.style.visibility="hidden";let o=window.getComputedStyle(t),r=parseFloat(o.marginTop)+parseFloat(o.marginBottom),i=parseFloat(o.marginLeft)+parseFloat(o.marginRight),a={width:t.offsetWidth+i,height:t.offsetHeight+r};return t.style.display=e,t.style.visibility=n,a},Ig=t=>{let e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,n=>e[n])},Js=t=>{let e={...t};return e.right=e.left+e.width,e.bottom=e.top+e.height,e},Z0=(t,e=[])=>{const n=t.parentNode;return n?(X0(n)&&e.push(n),W0(n,"position")==="fixed"?e:Z0(n,e)):e},Ng=t=>{const e={width:t.offsetWidth,height:t.offsetHeight,left:t.offsetLeft,top:t.offsetTop,right:0,bottom:0};return e.right=e.left+e.width,e.bottom=e.top+e.height,e},Og=t=>{t.stopPropagation()},Dg=!tt&&typeof ResizeObserver=="function"?new ResizeObserver(t=>{t.forEach(e=>{e.target.popperVm&&e.contentRect.height>50&&e.target.popperVm.update()})}):null;class O3{constructor(e,n,o){Ot(this,"_reference"),Ot(this,"_popper"),Ot(this,"state"),Ot(this,"_options"),Ot(this,"modifiers",{}),Ot(this,"popperOuterSize",null),this._reference=e,this._popper=n,this.state={},this._options={...P3,...o},this._options.modifierFns=G0.map(r=>this[r]),tt||(this._popper.setAttribute("x-placement",this._options.placement),this.state.position=this._getPopperPositionByRefernce(this._reference),Zc(this._popper,{position:this.state.position,top:0}),this._popper&&(this._popper.popperVm=this,Dg&&Dg.observe(this._popper)),this.update(),this._setupEventListeners())}destroy(){return this._popper.removeAttribute("x-placement"),this._popper.style.display="none",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this}onUpdate(e){return this.state.updateCallback=e,this}update(){let e={instance:this,styles:{}};this.stopEventBubble(),this.popperOuterSize=null,e.placement=e._originalPlacement=this._options.placement,e.offsets=this._getRefPopOffsets(this._popper,this._reference,e.placement),e.boundaries=this._getBoundaries(e,this._options.boundariesPadding,this._options.boundariesElement),e=this.runModifiers(e,this._options.modifierFns),typeof this.state.updateCallback=="function"&&this.state.updateCallback(e)}stopEventBubble(){this._popper&&(this._popper.onmousewheel||(this._popper.onmousewheel=Og),this._popper.onwheel||(this._popper.onwheel=Og))}runModifiers(e,n,o){let r=n.slice();const i=this._options;return o!==void 0&&(r=this._options.modifierFns.slice(0,i.modifierFns.findIndex(a=>a===o))),r.forEach(a=>{un(a)==="function"&&(e=a.call(this,e))}),e}applyStyle(e){let n={position:e.offsets.popper.position},o=Math.round(e.offsets.popper.left),r=Math.round(e.offsets.popper.top);return this._options.gpuAcceleration?(n.transform=`translate3d(${o}px, ${r}px, 0)`,Object.assign(n,{top:0,left:0})):Object.assign(n,{top:r,left:o}),Object.assign(n,e.styles),Zc(this._popper,n),this._popper.setAttribute("x-placement",e.placement),e.offsets.arrow&&Zc(e.arrowElement,e.offsets.arrow),e}shift(e){let n=e.placement,o=n.split("-")[0],r=n.split("-")[1];if(r){let{top:i,left:a,height:l,width:s}=e.offsets.reference,c=Js(e.offsets.popper),d={y:{start:{top:i},end:{top:i+l-c.height}},x:{start:{left:a},end:{left:a+s-c.width}}},u=~["bottom","top"].indexOf(o)?"x":"y";e.offsets.popper=Object.assign(c,d[u][r])}return e}preventOverflow(e){if(this._options.ignoreBoundaries)return e;let n=this._options.preventOverflowOrder,o=Js(e.offsets.popper),r={top:()=>{let{top:i}=o;return i<e.boundaries.top&&(i=Math.max(i,e.boundaries.top)),{top:i}},right:()=>{let{left:i}=o;return o.right>e.boundaries.right&&(i=Math.min(i,e.boundaries.right-o.width)),{left:i}},bottom:()=>{let{top:i}=o;return o.bottom>e.boundaries.bottom&&(i=Math.min(i,e.boundaries.bottom-o.height)),{top:i}},left:()=>{let{left:i}=o;return o.left<e.boundaries.left&&(i=Math.max(i,e.boundaries.left)),{left:i}}};return n.forEach(i=>{e.offsets.popper=Object.assign(o,r[i]())}),e}keepTogether(e){let n=Js(e.offsets.popper),o=e.offsets.reference;return n.right<Math.floor(o.left)&&(e.offsets.popper.left=Math.floor(o.left)-n.width),n.left>Math.floor(o.right)&&(e.offsets.popper.left=Math.floor(o.right)),n.bottom<Math.floor(o.top)&&(e.offsets.popper.top=Math.floor(o.top)-n.height),n.top>Math.floor(o.bottom)&&(e.offsets.popper.top=Math.floor(o.bottom)),e}flip(e){if(e.flipped&&e.placement===e._originalPlacement)return e;const n=e.placement.split("-");let o=n[0],r=Ig(o),i=n[1]||"",a=[o,r];return a.forEach((l,s)=>{if(o!==l||a.length===s+1)return;o=e.placement.split("-")[0],r=Ig(o);let c=Js(e.offsets.popper),d=["right","bottom"].includes(o),u=Math.floor(e.offsets.reference[o]),m=Math.floor(c[r]);(d&&u>m||!d&&u<m)&&(e.flipped=!0,e.placement=a[s+1],i&&(e.placement+=`-${i}`),e.offsets.popper=this._getRefPopOffsets(this._popper,this._reference,e.placement).popper,e=this.runModifiers(e,this._options.modifierFns,this.flip))}),e}offset(e){let n=this._options.offset,o=e.offsets.popper;return~e.placement.indexOf("left")?o.top-=n:~e.placement.indexOf("right")?o.top+=n:~e.placement.indexOf("top")?o.left-=n:~e.placement.indexOf("bottom")&&(o.left+=n),e}arrow(e){let n=this._options.arrowElement,o=this._options.arrowOffset;if(typeof n=="string"&&(n=this._popper.querySelector(n)),!n||!this._popper.contains(n))return e;let r={},i=e.placement.split("-")[0],a=Js(e.offsets.popper),l=e.offsets.reference,s=~["left","right"].indexOf(i),c=s?"height":"width",d=s?"bottom":"right",u=s?"left":"top",m=s?"top":"left",h=this.popperOuterSize?this.popperOuterSize:this.popperOuterSize=Qd(this._popper),p=Qd(n),v=p[c];l[d]-v<a[m]&&(e.offsets.popper[m]-=a[m]-(l[d]-v)),l[m]+v>a[d]&&(e.offsets.popper[m]+=l[m]+v-a[d]);let f=l[m]+(o||l[c]/2-v/2)-a[m];const b=4;f=Math.max(Math.min(a[c]-v-b,f),b),r[m]=f,r[u]="";const x=this._options.placement.split("-");return this._options.adjustArrow&&~["top","bottom"].indexOf(x[0])&&m==="left"&&(x[1]==="start"?r.left=b:x[1]||(r.left=(h.width-p.width)/2)),e.offsets.arrow=r,e.arrowElement=n,e}_getPopperPositionByRefernce(e){return this._options.forceAbsolute?"absolute":Y0(e)?"fixed":"absolute"}_getRefPopOffsets(e,n,o){o=o.split("-")[0];let r={position:this.state.position},i=r.position==="fixed",a=M3(n,Hd(e),i,e);const{width:l,height:s}=this.popperOuterSize?this.popperOuterSize:this.popperOuterSize=Qd(e);return~["right","left"].indexOf(o)?(r.top=a.top+a.height/2-s/2,o==="left"?r.left=a.left-l:r.left=a.right):(r.left=a.left+a.width/2-l/2,o==="top"?r.top=a.top-s:r.top=a.bottom),r.width=l,r.height=s,{popper:r,reference:a}}_setupEventListeners(){var e,n;if(this.state.updateBoundFn=this.update.bind(this),this.state.scrollUpdate=()=>{if(this._options.updateHiddenPopperOnScroll)this.state.updateBoundFn();else{if(km(this._reference))return;this.state.updateBoundFn()}},Oe(window,"resize",this.state.updateBoundFn),this._options.boundariesElement!=="window"){let o=this._options.scrollParent||Jc(this._reference);const r=[];if((n=(e=o==null?void 0:o.dataset)==null?void 0:e.tag)!=null&&n.includes("-form")){r.push(o);let i=Jc(o);(i===window.document.body||i===window.document.documentElement)&&(i=window),r.push(i)}if((o===window.document.body||o===window.document.documentElement)&&(o=window),this.state.scrollTarget=o,this._options.bubbling||it.globalScroll){let i=Z0(this._reference);this.state.scrollTargets=i||[],i.forEach(a=>{Oe(a,"scroll",this.state.scrollUpdate)})}else r.length?(this.state.scrollTargets=r,r.forEach(i=>{Oe(i,"scroll",this.state.scrollUpdate)})):Oe(o,"scroll",this.state.scrollUpdate)}}_removeEventListeners(){Re(window,"resize",this.state.updateBoundFn),this._options.boundariesElement!=="window"&&this.state.scrollTarget&&(Re(this.state.scrollTarget,"scroll",this.state.scrollUpdate),this.state.scrollTarget=null,(this._options.bubbling||it.globalScroll)&&((this.state.scrollTargets||[]).forEach(e=>{Re(e,"scroll",this.state.scrollUpdate)}),this.state.scrollTargets=null)),this.state.updateBoundFn=null,this.state.scrollUpdate=null}_getBoundaries(e,n,o){let r={right:0,left:0,top:0,bottom:0};if(o==="window"||o==="body"){let i=window.document.body,a=window.document.documentElement,{width:l,height:s}=N3(i,a);r={top:0,right:l,bottom:s,left:0}}else if(o==="viewport"){let i=Hd(this._popper),a=Jc(this._popper),l=Ng(i);const s=e.offsets.popper.position==="fixed"||!this._options.appendToBody&&["right","left"].includes(this._options.placement);let c=s?0:L3(a),d=s?0:I3(a);const u=it.viewportWindow||window;r={top:0-(l.top-c),right:u.document.documentElement.clientWidth-(l.left-d),bottom:u.document.documentElement.clientHeight-(l.top-c),left:0-(l.left-d)}}else if(Hd(this._popper)===o){const{clientWidth:i,clientHeight:a}=o;r={right:i,bottom:a,top:0,left:0}}else r=Ng(o);return r.right-=n,r.left+=n,r.bottom=r.bottom-n,r.top=r.top+n,r}setOptions(e){Object.assign(this._options,e)}}const Rr="__resizeListeners__",D3=t=>{t.forEach(e=>{const n=e.target[Rr]||[];n.length&&n.forEach(o=>{o()})})},ws=(t,e)=>{tt||(t[Rr]||(t[Rr]=[],t.__ro__=new d5(D3),t.__ro__.observe(t)),t[Rr].push(e))},xs=(t,e)=>{!t||!t[Rr]||(t[Rr].splice(t[Rr].indexOf(e),1),t[Rr].length||(t.__ro__.disconnect(),delete t.__ro__))};let bc;function B3(){if(tt)return 0;if(bc!==void 0)return bc;const t=document.createElement("div");t.className="tiny-scrollbar",t.style.visibility="hidden",t.style.position="absolute",t.style.top="-9999px";const e=document.createElement("div");e.className="tiny-scrollbar__wrap",e.style.width="100px",t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;e.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",e.appendChild(o);const r=o.offsetWidth;return e.parentNode.removeChild(e),bc=n-r,bc}const J0=(t,e)=>{if(tt)return;if(!e){t.scrollTop=0;return}const n=[];let{offsetParent:o,offsetTop:r,offsetHeight:i}=e;for(;o&&t!==o&&t.contains(o);)n.push(o),o=o.offsetParent;const a=r+n.reduce((d,u)=>d+u.offsetTop,0),l=a+i,s=t.scrollTop,c=s+t.clientHeight;a<s?t.scrollTop=a:l>c&&(t.scrollTop=l-t.clientHeight)};const Qan=tt?null:Element.prototype.matches;var Uu={enUS:"英语",zhCN:"中文","zh-TW":"中国台湾",hello:"你好 {name}",code:"zh-CN",yes:"是",no:"否",ui:{input:{close:"关闭",more:"更多",detail:"详细信息"},numeric:{equalTo:"等于",notEqualTo:"不等于",moreThan:"大于",moreThanOrEqualTo:"大于等于",lessThan:"小于",lessThanOrEqualTo:"小于等于",empty:"为空",nonEmpty:"不为空"},queryBuilder:{addItem:"新增条件",addGroup:"新增子条件组",removeGroup:"移除条件组"},wizard:{previousStep:"上一步",nextStep:"下一步",save:"保存",submit:"提交"},linkMenu:{title:"消息",placeholder:"请输入关键字过滤...",sure:"确定",cancel:"取消"},todoList:{add:"提交",placeholder:"请输入内容..."},alert:{error:"错误",info:"消息",success:"成功",title:"消息提示",warning:"警告"},amount:{currency:"币种",amount:"金额",date:"日期",equalTo:"等于",notEqualTo:"不等于",moreThan:"大于",moreThanOrEqualTo:"大于等于",lessThan:"小于",lessThanOrEqualTo:"小于等于",empty:"为空",nonEmpty:"不为空"},actionMenu:{moreText:"更多"},base:{all:"全部",cancel:"取消",confirm:"确定",delete:"删除",edit:"编辑",more:"更多",reset:"重置",clear:"清空",comma:","},button:{cancel:"取消",confirm:"确定"},buttonGroup:{noData:"暂无数据"},buttonMessage:{cancel:"取消",confirm:"确定"},cell:{placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},chart:{auxiliary:"辅助",emptyText:"暂无数据",kName:"日K",other:"其他",summation:"总量",total:"总计",value:"数值"},colorSelectPanel:{confirm:"确定",cancel:"取消",predefine:"预定义颜色",history:"历史记录",empty:"暂无"},crop:{choose:"选择图片",zoomOut:"缩小10%",zoomIn:"放大10%",rotate_45:"逆时针旋转45°",rotate45:"顺时针旋转45°",closeCropArea:"隐藏选区",reset:"重置视图",closeCrop:"退出裁剪",cropImage:"选择区域"},datepicker:{clear:"清空",cancel:"取消",endDate:"结束日期",confirm:"确定",month:"月",endTime:"结束时间",month2:"2 月",month1:"1 月",month4:"4 月",month3:"3 月",month6:"6 月",month5:"5 月",month8:"8 月",month7:"7 月",month10:"10 月",month9:"9 月",month12:"12 月",month11:"11 月",months:{feb:"二月",jan:"一月",apr:"四月",mar:"三月",jun:"六月",may:"五月",aug:"八月",jul:"七月",oct:"十月",sep:"九月",dec:"十二月",nov:"十一月"},nextYear:"后一年",nextMonth:"下个月",prevMonth:"上个月",now:"此刻",selectDate:"选择日期",prevYear:"前一年",startDate:"开始日期",selectTime:"选择时间",today:"今天",currentMonth:"本月",startTime:"开始时间",week:"周次",weeks:{mon:"一",sun:"日",wed:"三",tue:"二",fri:"五",thu:"四",sat:"六"},timezone:"选择时区",year:"年",hour:"时",minute:"分",second:"秒",to:"至",yearMonth:"{year}年{month}月",yearMonthDay:"{year}年{month}月{day}日"},richTextEditor:{bold:"加粗",italic:"斜体",link:"链接",unlink:"移除链接",highlight:"高亮",underline:"下划线",strike:"中划线",subscript:"下标",superscript:"上标",code:"代码",unorderedlist:"无序列表",orderedlist:"有序列表",taskList:"任务列表",quote:"引用",codeBlock:"代码块",formatClear:"清除标记",nodeDelete:"删除节点",undo:"回退",redo:"前进",left:"左对齐",center:"居中",right:"右对齐",fontSize:"字号",lineHeight:"行高",hBox:"段落标题",img:"图片",color:"颜色",table:"表格",backgroundColor:"文字背景色",localResources:"本地资源",resourceLink:"资源链接"},calendar:{showType:{year:"年"}},dept:{code:"编码",company:"公司",dept1:"一级部门",dept2:"二级部门",dept3:"三级部门",dept4:"四级部门",dept5:"五级部门",dept6:"六级部门",dept7:"七级部门",dept8:"八级部门",input:"可输入部门编码或名称",name:"名称",search:"辅助查询",selected:"已选"},dialogBox:{confirm:"确定",cancel:"取消"},load:{dot:"加载中"},exception:{build:"模块正在建设中",busy:"系统繁忙,请稍等一下",noperm:"茫茫大海,找不到页面",weaknet:"网络不给力",pcview:"请到PC上查看文件",nodata:"暂无数据",create:"创建",provide:"TINY 开发团队提供",nodatamf:"暂无数据",nopermmf:"无访问权限",weaknetmf:"网络异常",noresult:"无相关搜索结果",nonews:"暂无最新消息",pagenoperm:"403:无访问权限",pageweaknet:"网络异常",pagenothing:"404:你访问的页面不存在",pageservererror:"500:服务器异常"},fileUpload:{largefile:"文件过大,将会分片上传,请耐心等待!",folder:"文件所在文件夹层数已超过 5 层,将不会上传该文件",init:"服务报错,请重试",token:"请先进行 EDM 鉴权,获取 token",exceed:"{fileName} 文件大小超过限制({maxSize})",largeFile:"文件大小超出限制 2G !!",fileSize:"{fileName} 文件大小低于限制({minSize}{sizeUnit})",deleteTip:"按 delete 键可删除",downloadFile:"下载文件",previewFile:"预览文件",updateFile:"更新文件",reUploadFile:"重新上传",cancelFile:"取消上传",deleteFile:"删除文件",empty:"是空文件!",kiaScanTip:"抱歉,从公网接入下载文档,需要通过KIA检测;当前文档正在KIA检测中,请稍后几分钟后再下载!",fileNameExceeds:"超过255个字符,请修改文件名。",fileName:"该文件名",calcHash:"文档正在计算加密中",uploadFile:"文件上传",downloadAll:"全部下载",onlySupport:"支持{type}格式文件",fileNotLessThan:"单个文件不能小于",fileNotMoreThan:"单个文件不能超过",fileSizeRange:"单个文件大小需在{moreThan}~{lessThan}之间",notSupport:"格式(.{format})暂不支持",notSupportNoSuffix:"暂不支持无后缀文件",notSupportSpecialCharacters:"文件名包含特殊字符,请重命名后上传",attachment:"附件",uploadList:"上传列表",numberExceed:"批量上传个数超过限制({number})",numberLimit:"最多上传{number}个文件",encryptDialogTitle:"水印及加密设置",addWatermark:"添加水印",encrypted:"加密",docPreview:"文档预览",networkError:"网络出错",pictureNetworkError:"网络出错,上传失败",reUploadTip:"{number}个文件上传失败!"},uploadList:{pictureUploading:"图片上传中",uploadFailed:"上传失败",uploading:"上传中",download:"下载",reUpload:"重新上传",delete:"删除",noAttachments:"暂无附件",cancel:"取消",preview:"预览",releaseAndUpload:"释放鼠标,上传文件",dragOrClickImport:"将文件拖到此处,或点击导入",shoot:"拍摄",selectFromAlbum:"从相册选择",uploadFailedAndReupload:"上传失败,点击重新上传"},upload:{addPicture:"添加图片",addAudio:"添加音频",addVideo:"添加视频"},grid:{dataUnchanged:"数据未改动!",deleteSelectRecord:"您确定要删除所选记录吗?",emptyText:"暂无数据",error:{delRevert:"方法 revert 已废弃,请使用 revertData",groupFixed:"如果使用分组表头,固定列必须在左右两侧",notDelete:"Delete 方法不存在",notQuery:"query 方法不存在",notResizable:"横向虚拟滚动不支持 resizable",notSave:"save 方法不存在",reqModule:"缺少 {{name}} 模块",rowIdEmpty:"参数 row-id 不允许为空",scrollYHeight:"启用虚拟滚动必须要设置 height 或 max-height",toolbarId:"工具栏需要设置唯一 id",treeFixedExpand:"树结构的固定列与展开行功能有冲突",treeInsert:"树结构不支持 insert 操作",treeRemove:"树结构不支持 remove 操作",unableInsert:"无法插入到指定位置",notAllowDragSelf:"不允许自己给自己拖动",notAllowDragFixed:"固定列不允许拖动",remoteMethod:"个性化模板管理远端存储需要设置 multipleHistory.remoteMethod",remoteSelectedMethod:"个性化模板管理远端存储需要设置 multipleHistory.remoteSelectedMethod",chainCallError:"列的默认插槽中存在语法错误,请检查。",renderParamError:"期望配置一个生成 VNode 的渲染方法。",classComponentError:"类组件渲染出错。",groupColumnFixedError:"同一个分组内不能设置不同的固定类型。",missingValueFormat:"渲染器无法格式化日期字符串,需要提供 valueFormat 源日期格式配置。",clipboardWriteError:"剪切板写入错误"},filter:{allSelect:"(全选)",endDate:"结束日期",startDate:"开始日期",dateTips:"请至少输入一个日期",clear:"清除当前列筛选",clearAll:"清除所有列筛选",confirmFilter:"筛选",empty:"为空",emptyText:"暂无数据",equal:"等于",include:"包含",prefix:"开头是",resetFilter:"重置",unempty:"不为空"},individuation:{cancelBtn:"取消",colConfigs:{visible:"显示",invisible:"隐藏",asc:"正序",desc:"倒序",unsorted:"未排序",frozenLeft:"左冻结",frozenRight:"右冻结",unfrozen:"未冻结",unfreeze:"取消冻结",unsort:"取消排序"},toolbar:{set:"设置",selected:"已选",freeze:"冻结",sort:"排序",clear:"清空",search:"搜索",all:"全选"},columnSet:"列设置",overwriteSave:"覆盖保存",saveAs:"另存为",saveTemplate:"存模板",selectTemplate:"选择模板",hideMsg:"至少保留一列显示",maxFreezeNumMsg:"冻结列不可超过6项",defaultTemplateName:"请输入名称,如未填写由系统按时间生成",reserveTemplateName:"如未填写名称将保留之前的名称",resetBtn:"重置",saveBtn:"确定",hideAll:"全部隐藏",showAll:"全部显示",tabs:{base:{title:"基础设置",tips:"点击图标按钮设置个性化"},other:{title:"其他设置",tips:"设置服务器排序或客户端排序、每页条数大小。",sortType:"排序类型",currPageSort:"当前页数据排序",allDataSort:"所有数据排序",pageSize:"每页条数"}},title:"个性化设置",switchtitle:"模板管理",switchsave:"保存配置",switchlabel:"配置列表:",switchapply:"使用",switchedit:"编辑",switchdel:"删除",switchconfirm:"确定",switchdelconfirm:"删除确认",switchonlytemp:"保存模板",switchtempapply:"保存并使用模板",switchtempoverwrite:"覆盖并使用模板",switchdelcon:"确定要删除这个模板?",switchdelyes:"确定",switchdelno:"取消",switchapplycon:"确定要使用这个模板?"},removeSelectRecord:"您确定要移除所选记录吗?",saveSuccess:"保存成功",selectOneRecord:"请至少选择一条记录!",isSaveMsg:"有修改的数据,是否要保存?"},hrapprover:{approver:"权签人",noselected:"没有选择权签人",noapprover:"没有权签人",remark:"备注"},imageViewer:{loadErrorAlt:"加载失败",save:"保存图片",del:"删除图片",thumbnail:"缩略图",menu:"目录",hide:"隐藏侧边栏",show:"显示侧边栏"},navMenu:{moreText:"更多"},logout:{in:"登录",out:"注销"},page:{goto:"前往",item:"条",next:"下一页",page:"条/页",pageClassifier:"页",pagesize:"条/页",prev:"上一页",total:"共",totals:"总条数:",jump:"跳至",hundredThousand:"10万+",million:"100万+",tenMillion:"1千万+",loadingTotals:"加载总条数…"},popeditor:{cancel:"取 消",confirm:"确 认",historyLists:"历史数据列表",reset:"重 置",search:"查 询",selectionLists:"选择数据列表",sourceLists:"所有数据列表",title:"选择",filterNode:"输入内容进行筛选"},popupload:{fileName:"文件名",fileSize:"文件大小",fileStatus:"文件状态",uploadError:"上传失败",dialogTitle:"文件上传",cancelButtonText:"取消",tipsFileText:"上传提示",saveButtonText:"开始上传",uploadSuccess:"上传成功!",uploadButtonText:"选择文件",uploadsButtonText:"选择批量文件",errorTypeTips:"上传文件类型不匹配",errorNumTips:"上传文件数量超出限制,已取消该操作",errorSizeTips:"上传文件大小超出限制",confirmDeleteTips:"确定要删除该文件吗?",delete:"删除",waitUpload:"等待上传",operation:"操作",success:"上传成功",listTip:"共{0}条数据:",errorListTip:"其中{0}条出错,请修改后重试",limitUploadFileNumber:"上传文件数限制为",limitUploadFileType:"上传文件类型限制为",limitUploadFileSize:"上传文件大小不超过"},rate:{level:{average:"一般",excellent:"很好",fair:"差",good:"好",poor:"很差"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"暂无相关数据",placeholder:"请选择",pleaseSearch:"请搜索",search:"搜索",selected:"已选",selectedNum:"已选 {num} 个",noSearchData:"无相关搜索结果,请重新输入",add:"新增",collapse:"收起"},search:{placeholder:"搜索"},signature:{confirm:"确认",rewrite:"重写",cancel:"取消",tips:"请手写签名",resign:"重新签名",placeholder:"请在此签名(必填)"},tabs:{moreItem:"更多"},tag:{add:"添加"},toggleMenu:{placeholder:"请输入内容进行筛选"},treeMenu:{placeholder:"输入关键字搜索"},transfer:{filterPlaceholder:"请输入搜索内容",hasCheckedFormat:"已选 {checked}/{total} 项",noCheckedFormat:"共 {total} 项",noData:"无数据",noMatch:"无匹配数据",titles:["列表 1","列表 2"]},tree:{loading:"加载中",emptyText:"暂无数据",switchText:"同时勾选下级",edit:"编辑",delete:"删除",addChild:"新增下级",newNodeTitle:"新增下级",deleteTip1:"删除后数据不可恢复,确定删除吗?",deleteTip2:"该节点存在下级节点,是否保留下级节点数据?",deleteTip3:"保留下级节点数据"},usercard:{address:"地址",collapse:"收起",email:"邮箱",empno:"工号",expand:"展开",fax:"传真",internal:"内线",manager:"主管",mobile:"手机",other:"其他",phone:"固定电话",timezone:"时区",travelcode:"出差联系信息",viop:"VIOP"},richText:{bold:"加粗",italic:"倾斜",underline:"下划线",header:"段落格式",strike:"删除线",blockquote:"块引用",codeBlock:"插入代码段",size:"字体大小",listOrdered:"编号列表",listBullet:"项目列表",header1:"h1",header2:"h2",align:"对齐方式",color:"字体颜色",background:"背景颜色",image:"图像",video:"视频",link:"添加链接",formula:"插入公式",clean:"清除格式",indent1:"向左缩进",indent2:"向右缩进",pickerLabel:"标题大小",headerPicker1:"标题一",headerPicker2:"标题二",headerPicker3:"标题三",headerPicker4:"标题四",headerPicker5:"标题五",headerPicker6:"标题六",normal:"标准",sizeSmall:"小号",sizeLarge:"大号",sizeHuge:"超大号",alignPicker1:"居左对齐",alignPicker2:"居中对齐",alignPicker3:"居右对齐",alignPicker4:"两端对齐",subScript:"下标",superScript:"上标",directionRTL:"从右到左",font:"字体",file:"文件",betterTable:"表格",fullscreen:"全屏",insertColumnRight:"右插入列",insertColumnLeft:"左插入列",insertRowUp:"上插入行",insertRowDown:"下插入行",mergeCells:"合并单元格",unmergeCells:"拆分单元格",deleteColumn:"删除当前列",deleteRow:"删除当前行",deleteTable:"删除表格",colorPicker:"背景颜色",placeholder:"在此处插入文本...",maxLength:"文本长度超过限制,支持的最大长度是 "},fluentEditor:{undo:"撤销",redo:"重做",lineheight:"行高"},steps:{done:"已完成",doing:"进行中",wait:"等待中"},actionSheet:{cancel:"取消"},image:{loadFail:"加载失败"},miniPicker:{cancel:"取消",confirm:"确定"},pullRefresh:{pullingDown:"下拉即可刷新",pullingUp:"上拉即可刷新",pulling:"下拉即可刷新",loosing:"释放即可刷新",success:"刷新成功",failed:"刷新失败",noMore:"没有更多了"},currency:{defaultCurrency:"默认币种",setDefault:"设为默认",chooseCurrency:"选择币种"},calendarBar:{week:{0:"日",1:"一",2:"二",3:"三",4:"四",5:"五",6:"六"},year:"%s年",yearMonth:"%y年%m月",month:{1:"1月",2:"2月",3:"3月",4:"4月",5:"5月",6:"6月",7:"7月",8:"8月",9:"9月",10:"10月",11:"11月",12:"12月"},monthAbbr:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"}},calendarView:{week:{0:"日",1:"一",2:"二",3:"三",4:"四",5:"五",6:"六"},weekDays:{0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},backToday:"回今天",new:"新增",noSchedule:"暂无日程",year:"年",month:"月",dateFormat:"yyyy 年 MM 月 dd 日",monthFormat:"yyyy 年 MM 月"},selectedBox:{select:"已选(%s)",allSelect:"已全选(%s)",clear:"清空",noData:"暂无数据"},record:{record:"录音",cancel:"取消",confirm:"确定",clickToStartRecording:"点击开始录音",clickToResumeRecording:"点击继续录音"},dialogSelect:{treeSearch:"请输入关键字并回车"},loadList:{errorText:"出错了",loadingText:"加载中...",finishedText:"没有更多了"}},validation:{array:{len:"长度必须为 %s",min:"长度不能小于 %s",max:"长度不能大于 %s",range:"长度必须介于 %s 和 %s 之间"},date:{format:"日期 %s 对于格式 %s 无效",invalid:"日期 %s 无效",parse:"无法分析 %s 日期, %s 无效"},default:"%s 字段校验错误",enum:"必须是 %s 中的一个",number:{len:"必须等于 %s",min:"不能小于 %s",max:"不能大于 %s",range:"必须介于 %s 和 %s 之间"},pattern:{mismatch:"值%s 与模式 %s 不匹配"},required:"必填",string:{len:"必须是 %s 个字符",min:"必须至少为 %s 个字符",max:"不能大于 %s 个字符",range:"必须介于 %s 和 %s 个字符之间"},types:{acceptFile:"只接受文件",acceptImg:"只接受图片格式",array:"非法数组",boolean:"非法布尔值",date:"不符合规则的日期格式",dateTime:"不符合规则的日期时间格式",dateYM:"不符合规则的日期格式(yyyy-mm)",dateYMD:"不符合规则的日期格式(yyyy-MM-dd)",digits:"非法纯数字",email:"非法邮件地址",fileSize:"文件大小的格式不正确,应如 3kb",float:"非法浮点数",hex:"非法十六进制",integer:"非法整数",longDateTime:"不符合规则的长日期格式",method:"必须是函数(Function)",number:"非法数字",object:"非法对象",regexp:"非法正则表达式",specialch:"只能包含数字、字母、下划线、横杠、点号",specialch2:"只能包含数字、字母、下划线、横杠",speczh:"只能包含数字、字母、下划线、汉",string:"非法字符串",time:"不符合规则的时间格式",url:"非法 URL 地址",version:"非法版本格式"},whitespace:"不能为空"}},Lm={enUS:"English",zhCN:"Chinese","zh-TW":"China Taiwan",hello:"Hello {name}",code:"en-US",yes:"Yes",no:"No",ui:{input:{close:"Close",more:"More",detail:"Detailed Info"},numeric:{equalTo:"Equal to",notEqualTo:"Not equal to",moreThan:"Greater than",moreThanOrEqualTo:"Greater than or equal to",lessThan:"Less than",lessThanOrEqualTo:"Less than or equal to",empty:"Null",nonEmpty:"Not null"},queryBuilder:{addItem:"Add Rule",addGroup:"Add Rule Group",removeGroup:"Del Rule Group"},wizard:{previousStep:"Previous",nextStep:"Next",save:"Save",submit:"Submit"},linkMenu:{title:"Messages",placeholder:"Enter a keyword.",sure:"OK",cancel:"Cancel"},todoList:{add:"Add",placeholder:"Please enter content..."},alert:{error:"Error",info:"Information",success:"Success",title:"Information",warning:"Warning"},amount:{currency:"Currency",amount:"Amount",date:"Date",equalTo:"Equal to",notEqualTo:"Not equal to",moreThan:"Greater than",moreThanOrEqualTo:"Greater than or equal to",lessThan:"Less than",lessThanOrEqualTo:"Less than or equal to",empty:"Null",nonEmpty:"Not null"},actionMenu:{moreText:"More"},base:{all:"All",cancel:"Cancel",confirm:"OK",delete:"Delete",edit:"Edit",more:"More",reset:"Reset",clear:"Clear",comma:","},button:{cancel:"Cancel",confirm:"Confirm"},buttonGroup:{noData:"No data"},buttonMessage:{cancel:"Cancel",confirm:"Confirm"},cell:{placeholder:"--Select--"},cascader:{noMatch:"No matches.",loading:"Loading",placeholder:"--Select--",noData:"No data available."},chart:{auxiliary:"Auxiliary",emptyText:"No Data",kName:"Daily K-line",other:"Other",summation:"Summation",total:"Total",value:"Value"},colorSelectPanel:{confirm:"Select",cancel:"Cancel",predefine:"Default Colors",history:"Recent Colors",empty:"None"},crop:{choose:"Select Picture",zoomOut:"Reduced by 10%",zoomIn:"Zoom in by 10%",rotate_45:"rotate -45°",rotate45:"rotate 45°",closeCropArea:"hide selection",reset:"reset",closeCrop:"Exit cropping",cropImage:"Selecting a Region"},datepicker:{clear:"Clear",cancel:"Cancel",endDate:"End Date",confirm:"OK",month:"Month",endTime:"End Time",month2:"Feb",month1:"Jan",month4:"Apr",month3:"Mar",month6:"Jun",month5:"May",month8:"Aug",month7:"Jul",month10:"Oct",month9:"Sep",month12:"Dec",month11:"Nov",months:{feb:"February",jan:"January",apr:"April",mar:"March",jun:"June",may:"May",aug:"August",jul:"July",oct:"October",sep:"September",dec:"December",nov:"November"},nextYear:"Next year",nextMonth:"Next Month",prevMonth:"Previous Month",now:"Now",selectDate:"Select a date.",prevYear:"Previous year",startDate:"Start Date",selectTime:"Select a time.",today:"Today",currentMonth:"This Month",startTime:"Start Time",week:"Week",weeks:{mon:"Mon",sun:"Sun",wed:"Wed",tue:"Tue",thu:"Thu",sat:"Sat",fri:"Fri"},timezone:"Select a time zone.",year:"",hour:"Hour",minute:"Minute",second:"Second",to:"-",yearMonth:"{month} {year}",yearMonthDay:"{month} {day}, {year}"},richTextEditor:{bold:"bold",italic:"Italic",link:"Link",unlink:"Unlink",highlight:"Highlight",underline:"Underline",strike:"Strikethrough",subscript:"Subscript",superscript:"Superscript",code:"Coding",unorderedlist:"Bullet Lists",orderedlist:"Numbered Lists",taskList:"Multi-level Lists",quote:"Reference",codeBlock:"Code Block",formatClear:"Clear Formatting",nodeDelete:"Delete Node",undo:"Undo",redo:"Redo",left:"Left-Aligned",center:"Centered",right:"Right-Aligned",fontSize:"Font Size",lineHeight:"Line Spacing",hBox:"Headings",img:"Picture",color:"Text Color",table:"Table",backgroundColor:"Background Color",localResources:"Upload Local File",resourceLink:"Past Link"},calendar:{showType:{year:"Year"}},dept:{code:"Code",company:"Company",dept1:"Level-1 Dept.",dept2:"Level-2 Dept.",dept3:"Level-3 Dept.",dept4:"Level-4 Dept.",dept5:"Level-5 Dept.",dept6:"Level-6 Dept.",dept7:"Level-7 Dept.",dept8:"Level-8 Dept.",input:"Enter a department code ID or name.",name:"Name",search:"Auxiliary Search",selected:"Selected"},dialogBox:{confirm:"OK",cancel:"Cancel"},load:{dot:"Loading…"},exception:{build:"The module is under construction.",busy:"The network is busy. Please wait",noperm:"Not find the page",weaknet:"Poor network performance",pcview:"View the file on the PC",nodata:"No data available.",create:"Create",provide:"Provided by the TINY Team DEV",nodatamf:"No data available.",nopermmf:"Insufficient permissions.",weaknetmf:"Network error.",noresult:"No results found.",nonews:"No messages.",pagenoperm:"403 Forbidden",pageweaknet:"Network error.",pagenothing:"404 Not Found",pageservererror:"500 Internal Server Error"},fileUpload:{largefile:"The file is too large and will be uploaded in segments. Please wait.",folder:"The file cannot be uploaded because it is more than five-folder levels deep.",init:"Service error. Please try again.",token:"Before starting, perform EDM authentication and obtain the token.",exceed:"{fileName} The file size exceeds the upper limit ({maxSize}).",largeFile:"The file exceeds 2 GB.",fileSize:"{fileName} The file is less than the minimum size ({minSize} {sizeUnit}).",deleteTip:"Press the Delete key.",downloadFile:"Download",previewFile:"Preview",updateFile:"Update",reUploadFile:"Upload Again",cancelFile:"Cancel Upload",deleteFile:"Delete",empty:"The file is empty.",kiaScanTip:"KIA needs to verify the download of documents from the public network. The current document is being checked by KIA. Try again later.",fileNameExceeds:"The file name contains more than 255 characters. Shorten the file name.",fileName:"This file name",calcHash:"The document is being analyzed and encrypted.",uploadFile:"Upload",downloadAll:"Download All",onlySupport:"Only {type} files are supported.",fileNotLessThan:"A single file cannot be less than ",fileNotMoreThan:"A single file cannot exceed ",fileSizeRange:"The size of a single file must range from {moreThan} to {lessThan}.",notSupport:"The format (.{format}) is not supported.",notSupportNoSuffix:"Files without file name extensions are not supported.",notSupportSpecialCharacters:"Special characters not allowed. Rename the file and upload it again.",attachment:"Attachments",uploadList:"File List",numberExceed:"Too many files in this batch. Max. supported: {number}",numberLimit:"Maximum files per batch: {number}",encryptDialogTitle:"Watermark and Encryption",addWatermark:"Add Watermark",encrypted:"Encryption",docPreview:"Preview",networkError:"Network error.",pictureNetworkError:"Network error. File upload failed.",reUploadTip:"{number} files failed to be uploaded."},uploadList:{pictureUploading:"Uploading",uploadFailed:"Upload failed",uploading:"Uploading",download:"Download",reUpload:"Upload Again",delete:"Delete",noAttachments:"No attachments available.",cancel:"Cancel",preview:"Preview",releaseAndUpload:"Release mouse capture to upload the file.",dragOrClickImport:"Drag a file here or click to import.",shoot:"Take Photo or Video",selectFromAlbum:"Select from Album",uploadFailedAndReupload:"Upload failed. Please try again."},upload:{addPicture:"Add Picture",addAudio:"Add Audio",addVideo:"Add Video"},grid:{dataUnchanged:"Data remains unchanged.",deleteSelectRecord:"Delete the selected records?",emptyText:"No data available.",error:{delRevert:"The <strong>revert</strong> method has been deprecated. Use <strong>revertData</strong> instead.",groupFixed:"If you want to use grouping headers, place the fixed columns on the left and right sides.",notDelete:"The <strong>delete</strong> method does not exist.",notQuery:"The <strong>query</strong> method does not exist.",notResizable:"Horizontal virtual scrolling cannot be resized.",notSave:"The <strong>save</strong> method does not exist.",reqModule:"The module {{name}} is missing.",rowIdEmpty:"The <strong>row-id</strong> parameter is required.",scrollYHeight:"The height or max-height must be specified before enabling virtual scrolling.",toolbarId:"A unique ID is required for the toolbar.",treeFixedExpand:"The fixed column conflicts with row expansion in the tree structure.",treeInsert:"The tree structure does not support the <strong>insert</strong> operation.",treeRemove:"The tree structure does not support the <strong>remove</strong> operation.",unableInsert:"Unable to insert data to the specified location.",notAllowDragSelf:"Self dragging is not allowed.",notAllowDragFixed:"Fixed columns cannot be dragged.",remoteMethod:"The <strong>multipleHistory.remoteSelectedMethod</strong> must be set for the remote storage of personalized template management.",remoteSelectedMethod:'"remoteSelectedMethod" needs to be set for remote storage for personalized template management.',chainCallError:"There are syntax errors in the default slot.",renderParamError:"A rendering method is required for generating VNode.",classComponentError:"There was an error in the class component rendering.",groupColumnFixedError:"Each group must have the same type.",missingValueFormat:"The renderer cannot format the date character string. The valueFormat source date format is required.",clipboardWriteError:"Clipboard write error."},filter:{allSelect:"All",endDate:"End Date",startDate:"Start Date",dateTips:"Select at least one date.",clear:"Clear Filter Criteria from Current Column",clearAll:"Clear Filter Criteria from All Columns",confirmFilter:"Filter",empty:"Empty",emptyText:"No data available.",equal:"Equal to",include:"Contains",prefix:"Starts with",resetFilter:"Reset",unempty:"Not empty"},individuation:{cancelBtn:"Cancel",colConfigs:{asc:"Ascending",desc:"Descending",frozenLeft:"Freeze left",frozenRight:"Freeze right",invisible:"Hide",unsorted:"Unsorted",unfrozen:"Unfrozen",visible:"Show",unfreeze:"Unfreeze",unsort:"Unsort"},toolbar:{set:"Operation",selected:"Selected",freeze:"Frozen",sort:"Sorting",clear:"Clear",search:"Search",all:"All"},columnSet:"Set Columns",overwriteSave:"Overwrite and Save",saveAs:"Save As",saveTemplate:"Save",selectTemplate:"Select",hideMsg:"There must be at least one column.",maxFreezeNumMsg:"A maximum of 6 columns can be frozen.",defaultTemplateName:"Enter a name. If no name is specified, a name will be automatically generated based on the time.",reserveTemplateName:"If no new name is specified, the original name will be kept.",resetBtn:"Reset",saveBtn:"OK",hideAll:"Hide All",showAll:"Show All",tabs:{base:{title:"Basic Settings",tips:"Click the icons to customize the display style."},other:{allDataSort:"All data",currPageSort:"Current page",pageSize:"Records per Page",title:"Other Settings",tips:"Set sorting for servers or clients and the number of records on each page.",sortType:"Sorting Data"}},title:"Custom Settings",switchtitle:"Manage",switchsave:"Save",switchlabel:"Configuration List:",switchapply:"Use",switchedit:"Edit",switchdel:"Delete",switchdelconfirm:"Deletion Confirmation",switchconfirm:"Confirm",switchonlytemp:"Save",switchtempapply:"Save and Use",switchtempoverwrite:"Overwrite and Use",switchdelcon:"Delete this template?",switchdelyes:"Confirm",switchdelno:"Cancel",switchapplycon:"Use this template??"},removeSelectRecord:"Remove the selected records?",saveSuccess:"Saved successfully.",selectOneRecord:"Select at least one record.",isSaveMsg:"Some data has been modified. Save the changes?"},hrapprover:{approver:"Authorized Approver",noapprover:"No authorized approver.",noselected:"No authorized approver selected.",remark:"Remarks"},imageViewer:{loadErrorAlt:"Loading failed.",save:"Save",del:"Delete",thumbnail:"Thumbnail",menu:"Directory",hide:"Hide Sidebar",show:"Show Sidebar"},navMenu:{moreText:"More"},logout:{in:"Login",out:"Logout"},page:{goto:"Go to",item:"items",next:"Next",page:"Records/Page",pageClassifier:"page",pagesize:"Records/Page",prev:"Previous",total:"Total:",totals:"Total:",jump:"Go to",hundredThousand:"100,000+",million:"1 million+",tenMillion:"10 million+",loadingTotals:"Loading the total number of items..."},popeditor:{cancel:"Cancel",confirm:"OK",historyLists:"History",reset:"Reset",search:"Query",selectionLists:"Selected",sourceLists:"All",title:"Select",filterNode:"Enter a keyword."},popupload:{fileName:"Name",fileSize:"Size",fileStatus:"Status",dialogTitle:"Upload Files",cancelButtonText:"Cancel",tipsFileText:"Info",uploadError:"Upload failed.",uploadButtonText:"Upload",uploadSuccess:"Upload completed.",saveButtonText:"Select File",uploadsButtonText:"Select Files",errorTypeTips:"Invalid file format.",errorSizeTips:"File too large.",confirmDeleteTips:"Delete This File?",delete:"Delete",waitUpload:"Waiting for upload",operation:"Operation",success:"Upload successful",listTip:"There are a total of {0} pieces of data: ",errorListTip:"There are {0} errors in them. Please modify them and try again",limitUploadFileType:"Supported file formats",limitUploadFileNumber:"Maximum files allowed",limitUploadFileSize:"Maximum file size",errorNumTips:"The number of uploaded files exceeds the limit. The operation has been cancelled"},rate:{level:{average:"Acceptable",excellent:"Very Good",fair:"Poor",good:"Good",poor:"Very Poor"}},select:{loading:"Loading...",noData:"No data available.",noMatch:"No matches.",placeholder:"--Select--",pleaseSearch:"Enter a keyword.",search:"Search",selected:"Selected",selectedNum:"{num} selected",noSearchData:"No matches. Enter another keyword.",add:"Add",collapse:"Collapse"},search:{placeholder:"Search"},signature:{confirm:"Done",rewrite:"Re-sign",cancel:"Cancel",tips:"Handwritten signature required.",resign:"Re-sign",placeholder:"Please sign here (mandatory)."},tabs:{moreItem:"More"},tag:{add:"Add"},toggleMenu:{placeholder:"Enter a keyword."},treeMenu:{placeholder:"Enter a keyword."},transfer:{filterPlaceholder:"Enter a keyword.",hasCheckedFormat:"{checked}/{total} checked",noData:"No data available.",noMatch:"No matches.",noCheckedFormat:"{total} items",titles:["List 1","List 2"]},tree:{loading:"Loading...",emptyText:"No data available.",switchText:"Select child nodes",edit:"Edit",delete:"Delete",addChild:"Add Child",newNodeTitle:"Add Child Node",deleteTip1:"Deleted data cannot be restored. Continue?",deleteTip2:"This node has child nodes. Retain them?",deleteTip3:"Retain child nodes"},usercard:{address:"Address",collapse:"Show less",email:"Email",empno:"Employee ID",expand:"Show more",fax:"Fax",internal:"Extension",manager:"Supervisor",mobile:"Mobile",other:"Additional Info",phone:"Landline",timezone:"Time Zone",travelcode:"Out-of-Office Message for a Business Trip",viop:"VIOP"},richText:{bold:"Bold",italic:"Tilt",underline:"Underline",header:"Paragraph Format",strike:"Delete Line",blockquote:"Block Reference",codeBlock:"Insert Code Segment",size:"Font Size",listOrdered:"No. List",listBullet:"Project List",header1:"H1",header2:"H2",align:"Alignment Mode",color:"Font Color",background:"Background Color",image:"Image",video:"Video",link:"Add Link",formula:"Insert Function",clean:"Clear Format",indent1:"Indent To The Left",indent2:"Indent To The Right",pickerLabel:"Title Size",headerPicker1:"Title 1",headerPicker2:"Title 2",headerPicker3:"Title 3",headerPicker4:"Title 4",headerPicker5:"Title 5",headerPicker6:"Title 6",normal:"Normal",sizeSmall:"Small",sizeLarge:"Large",sizeHuge:"Super Large Size",alignPicker1:"Align To The Left",alignPicker2:"Align In The Center",alignPicker3:"Align To The Right",alignPicker4:"Align The Two Ends",subScript:"Subscript",superScript:"Superscript",directionRTL:"Right To Left",font:"Font",file:"File",betterTable:"Table",fullscreen:"Fullscreen",insertColumnRight:"Insert Column Right",insertColumnLeft:"Insert Column Left",insertRowUp:"Insert Row Up",insertRowDown:"Insert Row Down",mergeCells:"Merge Cells",unmergeCells:"Split Cells",deleteColumn:"Delete Current Column",deleteRow:"Delete Current Row",deleteTable:"Delete Table",colorPicker:"Background Color",placeholder:"Insert text here...",maxLength:"Text Length exceeds the Limit, max Length config is "},fluentEditor:{undo:"Undo",redo:"Redo",lineheight:"Line Height"},steps:{done:"Completed",doing:"In Progress",wait:"Pending"},actionSheet:{cancel:"Cancel"},image:{loadFail:"Loading failed."},miniPicker:{cancel:"Cancel",confirm:"OK"},pullRefresh:{pullingDown:"Pull down to refresh.",pullingUp:"Pull up to refresh.",pulling:"Pull down to refresh.",loosing:"Release to refresh.",success:"Refreshed.",failed:"Refresh failed.",noMore:"No more data."},currency:{defaultCurrency:"Default",setDefault:"Set as default",chooseCurrency:"Select Currency"},calendarBar:{week:{0:"Sun",1:"Mon",2:"Tue",3:"Wed",4:"Thu",5:"Fri",6:"Sat"},year:"%s",yearMonth:"%m %y",month:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},monthAbbr:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sept",10:"Oct",11:"Nov",12:"Dec"}},calendarView:{week:{0:"Sun",1:"Mon",2:"Tue",3:"Wed",4:"Thu",5:"Fri",6:"Sat"},weekDays:{0:"SUN",1:"MON",2:"TUE",3:"WED",4:"THU",5:"FRI",6:"SAT"},backToday:"Today",new:"Add",noSchedule:"No Schedule",year:"",month:"",dateFormat:"yyyy-MM-dd",monthFormat:"yyyy-MM"},selectedBox:{select:"Selected (%s)",allSelect:"All Selected (%s)",clear:"Clear",noData:"No data"},record:{record:"Recording",cancel:"Cancel",confirm:"OK",clickToStartRecording:"Click to record.",clickToResumeRecording:"Click to continue recording."},dialogSelect:{treeSearch:"Enter a keyword and press Enter."},loadList:{errorText:"Something went wrong.",loadingText:"Loading...",finishedText:"There's no more."}},validation:{array:{len:"This field must contain %s characters.",min:"This field must contain %s characters or more.",max:"This field must contain %s characters or less.",range:"This field must have %s to %s characters."},date:{format:"The date %s does not match the %s format.",invalid:"%s field verification error.",parse:"Unable to parse %s, %s is invalid"},default:"%s field verification error.",enum:"Must be one of %s",number:{len:"The value must be %s.",min:"The value must be %s or larger.",max:"The value must be %s or less.",range:"The value must be between %s and %s."},pattern:{mismatch:"The value %s does not match %s."},required:"Required field",string:{len:"This field must contain %s characters.",min:"This field must contain at least %s characters.",max:"This field can contain a maximum of %s characters.",range:"This field must contain %s to %s characters."},types:{acceptFile:"Only files are supported.",acceptImg:"Only images are supported.",array:"Invalid array.",boolean:"Invalid boolean value.",date:"Invalid date format.",dateTime:"Invalid date and time format.",dateYM:"The date format (yyyy-mm) does not comply with the rule.",dateYMD:"The date format (y-MM-dd) does not comply with the rule.",digits:"Invalid number only.",email:"Invalid email address.",fileSize:"The file size is not in the correct format, such as 3kb.",float:"Invalid floating point number.",hex:"Invalid hexadecimal number.",integer:"Invalid integer.",longDateTime:"Invalid long date format.",method:"Must be a function.",number:"Invalid number.",object:"Invalid object.",regexp:"Invalid regular expression.",specialch:"Only digits, letters, underscores (_), hyphens (-), and dots (.) are allowed.",specialch2:"Only digits, letters, underscores (_), and hyphens (-) are allowed.",speczh:"Only digits, letters, and underscores (_) are allowed.",string:"Invalid string.",time:"Invalid time format.",url:"Invalid URL.",version:"Invalid version format."},whitespace:"This field cannot be left blank."}},Im={"en-US":"Español","zh-CN":"Chino","zh-TW":"Taiwan, China",hello:"Hola {name}",code:"zh-CN",yes:"Sí",no:"No",ui:{input:{close:"Cerrar",more:"Más",detail:"Información detallada"},numeric:{equalTo:"Igual a",notEqualTo:"Diferente de",moreThan:"Mayor que",moreThanOrEqualTo:"Mayor o igual que",lessThan:"Menor que",lessThanOrEqualTo:"Menor o igual que",empty:"Nulo",nonEmpty:"No nulo"},queryBuilder:{addItem:"Agregar regla",addGroup:"Agregar grupo de reglas",removeGroup:"Eliminar grupo de reglas"},wizard:{previousStep:"Anterior",nextStep:"Siguiente",save:"Guardar",submit:"Enviar"},linkMenu:{title:"Mensajes",placeholder:"Ingrese una palabra clave.",sure:"Aceptar",cancel:"Cancelar"},todoList:{add:"Añadir",placeholder:"Ingrese el contenido..."},alert:{error:"Error",info:"Información",success:"Operación exitosa",title:"Información",warning:"Advertencia"},amount:{currency:"Moneda",amount:"Monto",date:"Fecha",equalTo:"Igual a",notEqualTo:"Diferente de",moreThan:"Mayor que",moreThanOrEqualTo:"Mayor o igual que",lessThan:"Menor que",lessThanOrEqualTo:"Menor o igual que",empty:"Nulo",nonEmpty:"No nulo"},actionMenu:{moreText:"Más"},base:{all:"Todos",cancel:"Cancelar",confirm:"Aceptar",delete:"Eliminar",edit:"Editar",more:"Más",reset:"Restablecer",clear:"Borrar",comma:","},button:{cancel:"Cancelar",confirm:"Confirmar"},buttonGroup:{noData:"Sin datos"},buttonMessage:{cancel:"Cancelar",confirm:"Confirmar"},cell:{placeholder:"--Seleccionar--"},cascader:{noMatch:"No hay coincidencias",loading:"Cargando",placeholder:"--Seleccionar--",noData:"No hay datos disponibles."},chart:{auxiliary:"Auxiliares",emptyText:"Sin datos",kName:"Línea k diaria",other:"Otros",summation:"Sumatoria",total:"Total",value:"Valor"},colorSelectPanel:{confirm:"Seleccionar",cancel:"Cancelar",predefine:"Colores predeterminados",history:"Colores recientes",empty:"Ninguno"},crop:{choose:"Seleccionar imagen",zoomOut:"Reducida en un 10 %",zoomIn:"Acercar un 10 %",rotate_45:"Rotación -45°",rotate45:"girar 45°",closeCropArea:"ocultar selección",reset:"reinicio",closeCrop:"Salir del recorte",cropImage:"Selección de una región"},datepicker:{clear:"Borrar",cancel:"Cancelar",endDate:"Fecha final",confirm:"Aceptar",month:"Mes",endTime:"Hora final",month2:"Feb",month1:"Ene",month4:"Abr",month3:"Mar",month6:"Jun",month5:"May",month8:"Ago",month7:"Jul",month10:"Oct",month9:"Sep",month12:"Dic",month11:"Nov",months:{feb:"Febrero",jan:"Enero",apr:"Abril",mar:"Marzo",jun:"Junio",may:"Mayo",aug:"Agosto",jul:"Julio",oct:"Octubre",sep:"Septiembre",dec:"Diciembre",nov:"Noviembre"},nextYear:"Próximo año",nextMonth:"Próximo mes",prevMonth:"Mes anterior",now:"Ahora",selectDate:"Seleccione una fecha.",prevYear:"Año anterior",startDate:"Fecha inicial",selectTime:"Seleccione una hora.",today:"Hoy",currentMonth:"Este mes",startTime:"Hora inicial",week:"Semana",weeks:{mon:"Lun",sun:"Dom",wed:"Mié",tue:"Mar",fri:"Vie",thu:"Jue",sat:"Sáb"},timezone:"Seleccione un huso horario.",year:"",hour:"Hora",minute:"Minuto",second:"Segundo",to:"-",yearMonth:"{month} {year}",yearMonthDay:"{month} {day}, {year}"},richTextEditor:{bold:"Negrita",italic:"Cursiva",link:"Hipervínculo",unlink:"Quitar hipervínculo",highlight:"Desvincular",underline:"Subrayar",strike:"Tachado",subscript:"Subíndice",superscript:"Superíndice",code:"Programar",unorderedlist:"Listas con viñetas",orderedlist:"Listas numeradas",taskList:"Listas multinivel",quote:"Referencia",codeBlock:"Bloque de código",formatClear:"Borrar formato",nodeDelete:"Eliminar nodo",undo:"Deshacer",redo:"Rehacer",left:"Alineación izquierda",center:"Alineación centrada",right:"Alineación derecha",fontSize:"Tamaño de fuente",lineHeight:"Espaciado entre líneas",hBox:"Encabezados",img:"Imagen",color:"Color del texto",table:"Tabla",backgroundColor:"Color de fondo",localResources:"Cargar archivo local",resourceLink:"Enlace anterior"},calendar:{showType:{year:"Año"}},dept:{code:"Código",company:"Código",dept1:"Departamento de nivel 1",dept2:"Departamento de nivel 2",dept3:"Departamento de nivel 3",dept4:"Departamento de nivel 4",dept5:"Departamento de nivel 5",dept6:"Departamento de nivel 6",dept7:"Departamento de nivel 7",dept8:"Departamento de nivel 8",input:"Ingrese un código de departamento o nombre.",name:"Nombre",search:"Búsqueda auxiliar",selected:"Seleccionados"},dialogBox:{confirm:"Aceptar",cancel:"Cancelar"},load:{dot:"Cargando..."},exception:{build:"El módulo está en construcción.",busy:"La red está ocupada. Espere",noperm:"No encontrar la página",weaknet:"Bajo rendimiento de la red",pcview:"Ver el archivo en la PC",nodata:"No hay datos disponibles.",create:"Crear",provide:"Proporcionado por el equipo TINY DEV",nodatamf:"No hay datos disponibles.",nopermmf:"Permisos insuficientes.",weaknetmf:"Error de red.",noresult:"No se encontraron resultados.",nonews:"No hay mensajes.",pagenoperm:"403 prohibido.",pageweaknet:"Error de red.",pagenothing:"404 no encontrado.",pageservererror:"500 error interno del servidor."},fileUpload:{largefile:"El archivo es demasiado grande y se cargará en segmentos. Espere.",folder:"No se puede cargar el archivo porque tiene más de cinco niveles de profundidad.",init:"Error de servicio. Vuelva a intentarlo.",token:"Antes de comenzar, realice la autenticación de EDM y obtenga el token.",exceed:"{fileName} El tamaño del archivo supera el límite superior ({maxSize}).",largeFile:"El archivo supera los 2 GB.",fileSize:"{fileName} El tamaño del archivo es inferior al mínimo ({minSize} {sizeUnit}).",deleteTip:"Presione la tecla Suprimir.",downloadFile:"Descargar",previewFile:"Vista previa",updateFile:"Actualizar",reUploadFile:"Volver a cargar",cancelFile:"Cancelar carga",deleteFile:"Eliminar",empty:"El archivo está vacío.",kiaScanTip:"KIA necesita verificar la descarga de documentos desde la red pública. El documento actual está siendo revisado por KIA. Vuelva a intentarlo más tarde.",fileNameExceeds:"El nombre del archivo contiene más de 255 caracteres. Reduzca la longitud del nombre del archivo.",fileName:"Este nombre de archivo",calcHash:"El documento está siendo analizado y encriptado.",uploadFile:"Cargar",downloadAll:"Carregar",onlySupport:"Solo se admiten archivos {type}.",fileNotLessThan:"Un solo archivo no puede ser inferior a ",fileNotMoreThan:"Un solo archivo no puede exceder",fileSizeRange:"El tamaño de un solo archivo debe oscilar entre {moreThan} y {lessThan}.",notSupport:"El formato (.{format}) no es admitido.",notSupportNoSuffix:"No se admiten archivos sin extensiones de nombre de archivo.",notSupportSpecialCharacters:"No se permiten caracteres especiales. Renombre el archivo y cárguelo nuevamente.",attachment:"Adjuntos",uploadList:"Lista de archivos",numberExceed:"Demasiados archivos en este lote. Cantidad máxima permitida: {number}",numberLimit:"Cantidad máxima de archivos por lote: {number}",encryptDialogTitle:"Marca de agua y encriptado",addWatermark:"Agregar marca de agua",encrypted:"Encriptación",docPreview:"Vista previa",networkError:"Error de red.",pictureNetworkError:"Error de red. No se pudo cargar el archivo.",reUploadTip:"Error al cargar los archivos (total: {number})."},uploadList:{pictureUploading:"Cargando",uploadFailed:"Error al cargar",uploading:"Cargando",download:"Descargar",reUpload:"Volver a cargar",delete:"Eliminar",noAttachments:"No hay adjuntos disponibles.",cancel:"Cancelar",preview:"Vista previa",releaseAndUpload:"Libere el botón del ratón para subir el archivo.",dragOrClickImport:"Arrastre un archivo aquí o haga clic para importarlo.",shoot:"Tomar fotos o videos",selectFromAlbum:"Seleccionar del álbum",uploadFailedAndReupload:"Selecionar do álbum"},upload:{addPicture:"Agregar imagen",addAudio:"Agregar audio",addVideo:"Agregar video"},grid:{dataUnchanged:"Los datos permanecen sin cambios.",deleteSelectRecord:"¿Desea eliminar los registros seleccionados?",emptyText:"No hay datos disponibles.",error:{delRevert:'El método <b class="+ topic/ph hi-d/b " id="b11906194215133">revert</b> ha sido descontinuado. Utilice <b class="+ topic/ph hi-d/b " id="b89841652151316">revertData</b> en su lugar.',groupFixed:"Si desea utilizar encabezados agrupados, coloque las columnas fijas a los lados izquierdo y derecho.",notDelete:'El método <b class="+ topic/ph hi-d/b " id="b14530124121413">delete</b> no existe.',notQuery:'El método <b class="+ topic/ph hi-d/b " id="b062516599243">query</b> no existe.',notResizable:"El desplazamiento virtual horizontal no se puede redimensionar.",notSave:'El método <b class="+ topic/ph hi-d/b " id="b1354611422513">save</b> no existe.',reqModule:"El módulo {{name}} no está disponible.",rowIdEmpty:'El parámetro <b class="+ topic/ph hi-d/b " id="b1957753614167">row-id</b> es obligatorio.',scrollYHeight:"height o max-height deben especificarse antes de habilitar el desplazamiento virtual.",toolbarId:"Se requiere un ID único para la barra de herramientas.",treeFixedExpand:"La columna fija está en conflicto con la expansión de filas en la topología en árbol.",treeInsert:"La columna fija está en conflicto con la expansión de filas en la topología en árbol.",treeRemove:'La topología en árbol no admite la operación <b class="+ topic/ph hi-d/b " id="b108642112155">remove</b>.',unableInsert:"No se puede insertar datos en la ubicación especificada.",notAllowDragSelf:"No se permite autoarrastrar.",notAllowDragFixed:"Las columnas fijas no se pueden arrastrar.",remoteMethod:'El valor <b class="+ topic/ph hi-d/b " id="b16681131111612">multipleHistory.remoteMethod</b> debe configurarse para el almacenamiento remoto de la gestión de plantillas personalizadas.',remoteSelectedMethod:'El valor <b class="+ topic/ph hi-d/b " id="b1581542321716">multipleHistory.remoteSelectedMethod</b> debe configurarse para el almacenamiento remoto de la gestión de plantillas personalizadas.',chainCallError:"Hay errores de sintaxis en la ranura predeterminada.",renderParamError:"Se requiere un método de renderizado para generar VNode.",classComponentError:"Hubo un error en el renderizado del componente de clase.",groupColumnFixedError:"Cada grupo debe tener el mismo tipo.",missingValueFormat:"El renderizador no puede formatear la cadena de caracteres de fecha. Se requiere el formato de fecha de origen para valueFormat.",clipboardWriteError:"Error al escribir en el portapapeles."},filter:{allSelect:"Todos",endDate:"Fecha final",startDate:"Fecha inicial",dateTips:"Seleccionar al menos una fecha.",clear:"Deseleccionar los criterios de filtrado de la columna actual",clearAll:"Deseleccionar los criterios de filtrado de todas las columnas",confirmFilter:"Filtrar",empty:"Vacío",emptyText:"No hay datos disponibles.",equal:"Igual a",include:"Contiene",prefix:"Comienza con",resetFilter:"Restablecer",unempty:"No vacío"},individuation:{cancelBtn:"Cancelar",colConfigs:{visible:"Mostrar",invisible:"Ocultar",asc:"Ascendente",desc:"Descendente",unsorted:"Sin ordenar",frozenLeft:"Inmovilizar a la izquierda",frozenRight:"Inmovilizar a la derecha",unfrozen:"Desinmovilizada",unfreeze:"Movilizar",unsort:"Desordenar"},toolbar:{set:"Operación",selected:"Seleccionados",freeze:"Inmovilizada",sort:"Clasificación",clear:"Borrar",search:"Buscar",all:"Todas"},columnSet:"Configurar columnas",overwriteSave:"Sobrescribir y guardar",saveAs:"Guardar como",saveTemplate:"Guardar",selectTemplate:"Seleccionar",hideMsg:"Debe especificarse al menos una columna.",maxFreezeNumMsg:"Se pueden inmovilizar como máximo 6 columnas.",defaultTemplateName:"Ingrese un nombre. Si no se especifica ningún nombre, se generará automáticamente un nombre en función de la fecha y hora.",reserveTemplateName:"Si no se especifica ningún nombre nuevo, se conservará el nombre original.",resetBtn:"Restablecer",saveBtn:"Aceptar",hideAll:"Ocultar todo",showAll:"Mostrar todo",tabs:{base:{title:"Ajustes básicos",tips:"Haga clic en los íconos para personalizar el estilo de visualización."},other:{title:"Otros ajustes",tips:"Configure el orden para servidores o clientes y la cantidad de registros por página.",sortType:"Ordenando datos",currPageSort:"Página actual",allDataSort:"Todos los datos",pageSize:"Registros por página"}},title:"Ajustes personalizados",switchtitle:"Gestionar",switchsave:"Guardar",switchlabel:"Lista de configuraciones",switchapply:"Aplicar",switchedit:"Editar",switchdel:"Eliminar",switchconfirm:"Confirmar",switchdelconfirm:"Confirmación de eliminación",switchonlytemp:"Guardar",switchtempapply:"Guardar y aplicar",switchtempoverwrite:"Sobrescribir y aplicar",switchdelcon:"¿Desea eliminar esta plantilla?",switchdelyes:"Confirmar",switchdelno:"Cancelar",switchapplycon:"¿Utilizar esta plantilla?"},removeSelectRecord:"¿Desea remover los registros seleccionados?",saveSuccess:"Se guardó correctamente.",selectOneRecord:"Seleccione al menos un registro.",isSaveMsg:"Se han modificado algunos datos. ¿Desea guardar los cambios?"},hrapprover:{approver:"Aprobador autorizado",noselected:"No se ha seleccionado ningún aprobador autorizado.",noapprover:"Sin aprobador autorizado.",remark:"Comentarios"},imageViewer:{loadErrorAlt:"Error al cargar.",save:"Guardar",del:"Eliminar",thumbnail:"Miniatura",menu:"Directorio",hide:"Ocultar barra lateral",show:"Mostrar barra lateral"},navMenu:{moreText:"Más"},logout:{in:"Sesión iniciada",out:"Sesión cerrada"},page:{goto:"Ir a",item:"elementos",next:"Siguiente",page:"Records/Page",pageClassifier:"pagina",pagesize:"Records/Page",prev:"Anterior",total:"Total:",totals:"Total:",jump:"Ir a",hundredThousand:"más de 100,000",million:"más de 1 millón",tenMillion:"más de 10 millones",loadingTotals:"Cargando la cantidad total de elementos..."},popeditor:{cancel:"Cancelar",confirm:"Aceptar",historyLists:"Historial",reset:"Histórico",search:"Consultar",selectionLists:"Seleccionados",sourceLists:"Todas",title:"Seleccionar ",filterNode:"Ingrese una palabra clave."},popupload:{fileName:"Nombre",fileSize:"Tamaño",fileStatus:"Estado",uploadError:"Error al cargar.",dialogTitle:"Cargar archivos",cancelButtonText:"Cancelar",tipsFileText:"Información",saveButtonText:"Cargar",uploadSuccess:"Carga completa.",uploadButtonText:"Seleccionar archivo",uploadsButtonText:"Selecionar arquivo",errorTypeTips:"Formato de archivo no válido.",errorNumTips:"Carga cancelada. Demasiados archivos.",errorSizeTips:"Archivo demasiado grande.",confirmDeleteTips:"¿Confirma que desea eliminar este archivo?",delete:"Eliminar",waitUpload:"Esperando carga",operation:"Operación",success:"Carga exitosa",listTip:"Hay un total de {0} datos:",errorListTip:"Hay {0} errores en ellos. Modifíquelos y vuelva a intentarlo",limitUploadFileNumber:"Cantidad máxima de archivos permitida",limitUploadFileType:"Formatos de archivo admitidos",limitUploadFileSize:"Tamaño máximo del archivo"},rate:{level:{average:"Aceptable",excellent:"Muy bueno",fair:"Malo",good:"Bueno",poor:"Muy malo"}},select:{loading:"Cargando...",noMatch:"No hay coincidencias.",noData:"No hay datos disponibles.",placeholder:"--Seleccionar--",pleaseSearch:"Ingrese una palabra clave.",search:"Buscar",selected:"Seleccionados",selectedNum:"Elementos seleccionados: {num}",noSearchData:"No hay coincidencias. Ingrese otra palabra clave.",add:"Agregar",collapse:"Contraer"},search:{placeholder:"Buscar"},signature:{confirm:"Listo",rewrite:"Volver a firmar",cancel:"Cancelar",tips:"Se requiere firma manuscrita.",resign:"Volver a firmar",placeholder:"Firme aquí (obligatorio)."},tabs:{moreItem:"Más"},tag:{add:"Añadir"},toggleMenu:{placeholder:"Ingrese una palabra clave."},treeMenu:{placeholder:"Ingrese una palabra clave."},transfer:{filterPlaceholder:"Ingrese una palabra clave.",hasCheckedFormat:"{checked}/{total} verificado",noCheckedFormat:"{total} elementos",noData:"No hay datos disponibles.",noMatch:"No hay coincidencias.",titles:["Lista 1","Lista 2"]},tree:{loading:"Cargando...",emptyText:"No hay datos disponibles.",switchText:"Seleccione nodos secundarios",edit:"Editar",delete:"Editar",addChild:"Eliminar",newNodeTitle:"Agregar nodo secundario",deleteTip1:"Los datos eliminados no se pueden restaurar. ¿Confirma que desea continuar?",deleteTip2:"Este nodo tiene nodos secundarios. ¿Desea conservar los nodos secundarios?",deleteTip3:"Conservar nodos secundarios"},usercard:{address:"Dirección",collapse:"Mostrar menos",email:"Correo electrónico",empno:"ID de empleado",expand:"Mostrar más",fax:"Fax",internal:"Extensión",manager:"Supervisor",mobile:"Celular",other:"Información adicional",phone:"Teléfono fijo",timezone:"Huso horario",travelcode:"Mensaje de fuera de la oficina por viaje de negocios",viop:"VIOP"},richText:{bold:"Negrita",italic:"Inclinación",underline:"Subrayar",header:"Formato de párrafo",strike:"Eliminar línea",blockquote:"Referencia a bloque",codeBlock:"Insertar segmento de código",size:"Tamaño de fuente",listOrdered:"No. Lista",listBullet:"Lista de proyectos",header1:"H1",header2:"H2",align:"Modo de alineación",color:"Color de fuente",background:"Color de fondo",image:"Imagen",video:"Video",link:"Añadir enlace",formula:"Insertar función",clean:"Borrar formato",indent1:"Sangría a la izquierda",indent2:"Sangría a la derecha",pickerLabel:"Tamaño del título",headerPicker1:"Título 1",headerPicker2:"Título 2",headerPicker3:"Título 3",headerPicker4:"Título 4",headerPicker5:"Título 5",headerPicker6:"Título 6",normal:"Normal",sizeSmall:"Pequeño",sizeLarge:"Grande",sizeHuge:"Tamaño supergrande",alignPicker1:"Alinear a la izquierda",alignPicker2:"Alinear en el centro",alignPicker3:"Alinear a la derecha",alignPicker4:"Alinear los dos extremos",subScript:"Subíndice",superScript:"Superíndice",directionRTL:"De derecha a izquierda",font:"Fuente",file:"Archivo",betterTable:"Tabla",fullscreen:"Pantalla completa",insertColumnRight:"Insertar columna a la derecha",insertColumnLeft:"Insertar columna a la izquierda",insertRowUp:"Insertar fila hacia arriba",insertRowDown:"Insertar fila abajo",mergeCells:"Combinar celdas",unmergeCells:"Dividir celdas",deleteColumn:"Eliminar columna actual",deleteRow:"Eliminar fila actual",deleteTable:"Eliminar tabla",colorPicker:"Color de fondo",placeholder:"Insertar texto aquí...",maxLength:"La longitud del texto supera el límite, la configuración de longitud máxima es "},fluentEditor:{undo:"Deshacer",redo:"Rehacer",lineheight:"Altura de línea"},steps:{done:"Finalizado",doing:"En curso",wait:"Pendiente"},actionSheet:{cancel:"Cancelar"},image:{loadFail:"Error al cargar."},miniPicker:{cancel:"Cancelar",confirm:"Aceptar"},pullRefresh:{pullingDown:"Deslice hacia abajo para actualizar.",pullingUp:"Deslice hacia arriba para actualizar.",pulling:"Deslice hacia abajo para actualizar.",loosing:"Suelte para actualizar.",success:"Actualizado.",failed:"Error al actualizar.",noMore:"Falha na atualização."},currency:{defaultCurrency:"Predeterminada",setDefault:"Configurar como predeterminada",chooseCurrency:"Seleccionar moneda"},calendarBar:{week:{0:"Dom",1:"Lun",2:"Mar",3:"Mié",4:"Jue",5:"Vie",6:"Sáb"},year:"%s",yearMonth:"%m %y",month:{1:"Ene",2:"Feb",3:"Mar",4:"Abr",5:"May",6:"Jun",7:"Jul",8:"Ago",9:"Sep",10:"Oct",11:"Nov",12:"Dic"},monthAbbr:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"}},calendarView:{week:{0:"Sol",1:"Lun",2:"Mar",3:"Miér",4:"Jue",5:"Viernes",6:"Sábado"},weekDays:{0:"Dom",1:"Lun",2:"Mar",3:"Mié",4:"Jue",5:"Vie",6:"Sáb"},backToday:"Hoy",new:"Agregar",noSchedule:"Sin programación",year:"",month:"",dateFormat:"yyyy-MM-dd",monthFormat:"yyyy-MM"},selectedBox:{select:"Seleccionados (%s)",allSelect:"Todos seleccionados (%s)",clear:"Borrar",noData:"Sin datos"},record:{record:"Grabando",cancel:"Cancelar",confirm:"Aceptar",clickToStartRecording:"Haga clic para grabar.",clickToResumeRecording:"Clique para gravar."},dialogSelect:{treeSearch:"Ingrese una palabra clave y presione Intro."},loadList:{errorText:"Algo ha salido mal.",loadingText:"Cargando...",finishedText:"No hay más"}},validation:{array:{len:"Este campo debe contener %s caracteres.",min:"Este campo debe contener %s caracteres o más.",max:"Este campo debe contener %s caracteres o menos.",range:"Este campo debe tener entre %s y %s caracteres."},date:{format:"La fecha %s no coincide con el formato %s.",invalid:"%s no es válido.",parse:"No se puede analizar %s fecha, %s no es válido"},default:"Error de verificación de campo %s.",enum:"Debe ser uno de %s",number:{len:"El valor debe ser %s.",min:"El valor debe ser %s o superior.",max:"El valor debe ser %s o inferior.",range:"El valor debe estar entre %s y %s."},pattern:{mismatch:"El valor %s no coincide con %s."},required:"Este campo es obligatorio",string:{len:"Este campo debe contener %s caracteres.",min:"Este campo debe contener al menos %s caracteres.",max:"Este campo puede contener un máximo de %s caracteres.",range:"Este campo debe contener entre %s y %s caracteres."},types:{acceptFile:"Solo se admiten archivos.",acceptImg:"Solo se admiten imágenes.",array:"Array no válido.",boolean:"Valor booleano no válido.",date:"Formato de fecha no válido.",dateTime:"Formato de fecha y hora no válido.",dateYM:"El formato de fecha (yyyy-mm) no cumple con la regla.",dateYMD:"El formato de fecha (yyyy-MM-dd) no cumple con la regla.",digits:"Solo número no válido.",email:"Dirección de correo electrónico no válida.",fileSize:"El tamaño del archivo no está en el formato correcto, como 3kb.",float:"Número de punto flotante no válido.",hex:"Número hexadecimal no válido.",integer:"Entero no válido.",longDateTime:"Formato de fecha larga no válido.",method:"Debe ser una función.",number:"Número no válido.",object:"Objeto no válido.",regexp:"Expresión regular no válida.",specialch:"Solo se permiten dígitos, letras, guiones bajos (_), guiones medios (-) y puntos (.).",specialch2:" Solo se permiten dígitos, letras, guiones bajos (_) y guiones medios (-).",speczh:"Solo se permiten dígitos, letras y guiones bajos (_).",string:"Cadena de caracteres no válida.",time:"Formato de hora no válido.",url:"URL no válida.",version:"Formato de versión no válido."},whitespace:"Este campo es obligatorio."}},Nm={"en-US":"Inglês","zh-CN":"Chinês","zh-TW":"Taiwan, China",hello:"Olá {name}",code:"zh-CN",yes:"Sim",no:"Não",ui:{input:{close:"Fechar",more:"Mais",detail:"Informações detalhadas"},numeric:{equalTo:"Igual a",notEqualTo:"Diferente de",moreThan:"Maior que",moreThanOrEqualTo:"Maior ou igual a",lessThan:"Menor que",lessThanOrEqualTo:"Menor ou igual a",empty:"Nulo",nonEmpty:"Não é nulo"},queryBuilder:{addItem:"Adicionar regra",addGroup:"Adicionar grupo de regras",removeGroup:"Grupo de regras Del"},wizard:{previousStep:"Anterior",nextStep:"Próximo",save:"Salvar",submit:"Enviar"},linkMenu:{title:"Mensagens",placeholder:"Insira uma palavra-chave.",sure:"OK",cancel:"Cancelar"},todoList:{add:"Adicionar",placeholder:"Digite o conteúdo..."},alert:{error:"Erro",info:"Informações",success:"Concluído",title:"Informações",warning:"Aviso"},amount:{currency:"Moeda",amount:"Valor",date:"Data",equalTo:"Igual a",notEqualTo:"Diferente de",moreThan:"Maior que",moreThanOrEqualTo:"Maior ou igual a",lessThan:"Menor que",lessThanOrEqualTo:"Menor ou igual a",empty:"Nulo",nonEmpty:"Não é nulo"},actionMenu:{moreText:"Mais"},base:{all:"Todos",cancel:"Cancelar",confirm:"OK",delete:"Excluir",edit:"Editar",more:"Mais",reset:"Reiniciar",clear:"Limpar",comma:","},button:{cancel:"Cancelar",confirm:"Confirmar"},buttonGroup:{noData:"Nenhum dado"},buttonMessage:{cancel:"Cancelar",confirm:"Confirmar"},cell:{placeholder:"--Selecionar--"},cascader:{noMatch:"Nenhuma correspondência",loading:"Carregando",placeholder:"--Selecionar--",noData:"Não há dados disponíveis."},chart:{auxiliary:"Auxiliar",emptyText:"Sem dados",kName:"Linha K diária",other:"Outros",summation:"Somatório",total:"Total",value:"Valor"},colorSelectPanel:{confirm:"Selecionar",cancel:"Cancelar",predefine:"Cores padrão",history:"Cores recentes",empty:"Nenhum"},crop:{choose:"Selecionar imagem",zoomOut:"Redução de 10%",zoomIn:"Aumentar o zoom em 10%",rotate_45:"girar -45°",rotate45:"girar 45°",closeCropArea:"ocultar seleção",reset:"redefinir",closeCrop:"Sair do corte",cropImage:"Seleção de uma região"},datepicker:{clear:"Limpar",cancel:"Cancelar",endDate:"Data de término",confirm:"OK",month:"Mês",endTime:"Hora de término",month2:"Fev",month1:"Jan",month4:"Abr",month3:"Mar",month6:"Jun",month5:"Mai",month8:"Ago",month7:"Jul",month10:"Jul",month9:"Set",month12:"Dez",month11:"Nov",months:{feb:"Fevereiro",jan:"Janeiro",apr:"Abril",mar:"Março",jun:"Junho",may:"Maio",aug:"Agosto",jul:"Julho",oct:"Outubro",sep:"Setembro",dec:"Dezembro",nov:"Novembro"},nextYear:"Próximo ano",nextMonth:"Próximo mês",prevMonth:"Mês anterior",now:"Agora",selectDate:"Selecione uma data.",prevYear:"Ano anterior",startDate:"Data de início",selectTime:"Selecione um horário.",today:"Hoje",currentMonth:"Este mes",startTime:"Horário de início",week:"Semana",weeks:{mon:"Seg",sun:"Dom",wed:"Qua",tue:"Ter",fri:"Sex",thu:"Qui ",sat:"Sáb"},timezone:"Selecione um fuso horário.",year:"",hour:"Hora",minute:"Minuto",second:"Segundo",to:"-",yearMonth:"{month} {year}",yearMonthDay:"{day}/{month}/{year}"},richTextEditor:{bold:"Negrito",italic:"Itálico",link:"Vincular",unlink:"Desvincular",highlight:"Destacar",underline:"Sublinhado",strike:"Tachado",subscript:"Subscrito",superscript:"Sobrescrito",code:"Codificação",unorderedlist:"Listas com marcadores",orderedlist:"Listas numeradas",taskList:"Listas de vários níveis",quote:"Referência",codeBlock:"Bloco de código",formatClear:"Limpar formatação",nodeDelete:"Excluir nó",undo:"Desfazer",redo:"Refazer",left:"Alinhado à esquerda",center:"Centralizado",right:"Alinhado à direita",fontSize:"Tamanho da fonte",lineHeight:"Espaçamento entre linhas",hBox:"Cabeçalhos",img:"Imagem",color:"Cor do texto",table:"Tabela",backgroundColor:"Cor de fundo",localResources:"Carregar arquivo local",resourceLink:"Link anterior"},calendar:{showType:{year:"Ano"}},dept:{code:"Código",company:"Empresa",dept1:"Departamento de nível 1",dept2:"Departamento de nivel 2",dept3:"Departamento de nível 3",dept4:"Departamento de nível 4",dept5:"Departamento de nível 5",dept6:"Departamento de nível 6",dept7:"Departamento de nivel 7",dept8:"Departamento de nível 8",input:"Insira um ID ou nome de código de departamento.",name:"Nome",search:"Pesquisa auxiliar",selected:"Selecionado"},dialogBox:{confirm:"OK",cancel:"Cancelar"},load:{dot:"Carregando…"},exception:{build:"O módulo está em construção.",busy:"A rede está ocupada. Aguarde.",noperm:"Não encontrar a página.",weaknet:"Desempenho de rede ruim.",pcview:"Exibir o arquivo no PC.",nodata:"Não há dados disponíveis.",create:"Criar",provide:"Fornecido pela equipe TINY DEV.",nodatamf:"Não há dados disponíveis.",nopermmf:"Permissões insuficientes.",weaknetmf:"Erro de rede.",noresult:"Nenhum resultado encontrado.",nonews:"Nenhuma mensagem.",pagenoperm:"403 proibido.",pageweaknet:"Erro de rede.",pagenothing:"404 não encontrado.",pageservererror:"500 erro interno de servidor."},fileUpload:{largefile:"O arquivo é muito grande e será carregado em segmentos. Aguarde.",folder:"O arquivo não pode ser carregado porque tem mais de cinco níveis de profundidade.",init:"Erro de serviço. Tente novamente mais tarde.",token:"Antes de iniciar, realize a autenticação EDM e obtenha o token.",exceed:"{fileName} O tamanho do arquivo excede o limite máximo ({maxSize}).",largeFile:"O arquivo excede 2 GB.",fileSize:"{fileName} O arquivo é menor que o tamanho mínimo ({minSize} {sizeUnit}).",deleteTip:"Pressione a tecla Delete.",downloadFile:"Baixar",previewFile:"Pré-visualizar",updateFile:"Atualizar",reUploadFile:"Carregar novamente",cancelFile:"Cancelar carregamento",deleteFile:"Excluir",empty:"Arquivo vazio.",kiaScanTip:"A KIA precisa verificar o download de documentos da rede pública. O documento atual está sendo verificado pela KIA. Tente novamente mais tarde.",fileNameExceeds:"O nome do arquivo contém mais de 255 caracteres. Reduza o nome do arquivo.",fileName:"Esse nome de arquivo",calcHash:"O documento está sendo analisado e criptografado.",uploadFile:"Carregar",downloadAll:"Baixar tudo",onlySupport:"Apenas arquivos {type} são permitidos.",fileNotLessThan:"Um único arquivo não pode ter menos de",fileNotMoreThan:"Um único arquivo não pode exceder",fileSizeRange:"O tamanho de um único arquivo deve variar de {moreThan} a {lessThan}.",notSupport:"O formato (.{format}) não é permitido.",notSupportNoSuffix:"Arquivos sem extensões de nome de arquivo não são permitidos.",notSupportSpecialCharacters:"Caracteres especiais não são permitidos. Renomeie o arquivo e carregue-o novamente.",attachment:"Anexos",uploadList:"Lista de arquivos",numberExceed:"Muitos arquivos neste lote. Máximo permitido: {number}",numberLimit:"Máximo de arquivos por lote: {number}",encryptDialogTitle:"Marca d'água e criptografia",addWatermark:"Adicionar marca d'água",encrypted:"Criptografia",docPreview:"Pré-visualizar",networkError:"Erro de rede.",pictureNetworkError:"Erro de rede. Falha no carregamento do arquivo.",reUploadTip:"Falha ao carregar {number} arquivos."},uploadList:{pictureUploading:"Carregando",uploadFailed:"Falha ao carregar",uploading:"Carregando",download:"Baixar",reUpload:"Carregar novamente",delete:"Excluir",noAttachments:"Nenhum anexo disponível.",cancel:"Cancelar",preview:"Pré-visualizar",releaseAndUpload:"Libere a captura do mouse para carregar o arquivo.",dragOrClickImport:"Arraste um arquivo aqui ou clique para importar.",shoot:"Tirar foto ou gravar vídeo",selectFromAlbum:"Selecionar do álbum",uploadFailedAndReupload:"Falha ao carregar. Tente novamente mais tarde."},upload:{addPicture:"Adicionar imagem",addAudio:"Adicionar áudio",addVideo:"Adicionar vídeo"},grid:{dataUnchanged:"Dados permanecem inalterados.",deleteSelectRecord:"Excluir o registro selecionado?",emptyText:"Não há dados disponíveis.",error:{delRevert:'O método <b class="+ topic/ph hi-d/b " id="b11906194215133">revert</b> está obsoleto. Use o <b class="+ topic/ph hi-d/b " id="b89841652151316">revertData</b> em vez disso.',groupFixed:"Error al escribir en el portapapeles.",notDelete:'O método <b class="+ topic/ph hi-d/b " id="b14530124121413">delete</b> não existe.',notQuery:'O método <b class="+ topic/ph hi-d/b " id="b062516599243">query</b> não existe.',notResizable:"A rolagem virtual horizontal não pode ser redimensionada.",notSave:'O método <b class="+ topic/ph hi-d/b " id="b1354611422513">save</b> não existe.',reqModule:"O módulo {{name}} está faltando.",rowIdEmpty:'O parâmetro <b class="+ topic/ph hi-d/b " id="b1957753614167">row-id</b> é obrigatório.',scrollYHeight:"A altura ou altura máxima deve ser especificada antes de habilitar a rolagem virtual.",toolbarId:"Um ID exclusivo é necessário para a barra de ferramentas.",treeFixedExpand:"A coluna fixa entra em conflito com a expansão de linhas na estrutura de árvore.",treeInsert:'A estrutura de árvore não permite a operação <b class="+ topic/ph hi-d/b " id="b10900142581520">insert</b>.',treeRemove:'A estrutura de árvore não permite a operação <b class="+ topic/ph hi-d/b " id="b108642112155">remove</b>.',unableInsert:"Não é possível inserir dados no local especificado.",notAllowDragSelf:"Arrastar automaticamente não é permitido.",notAllowDragFixed:"As colunas fixas não podem ser arrastadas.",remoteMethod:'O <b class="+ topic/ph hi-d/b " id="b16681131111612">multipleHistory.remoteMethod</b> deve ser definido para o armazenamento remoto do gerenciamento de modelos personalizados.',remoteSelectedMethod:'O <b class="+ topic/ph hi-d/b " id="b1581542321716">multipleHistory.remoteSelectedMethod</b> deve ser definido para o armazenamento remoto do gerenciamento de modelos personalizados.',chainCallError:"Há erros de sintaxe no slot padrão.",renderParamError:"Um método de renderização é necessário para gerar VNode.",classComponentError:"Houve um erro na renderização do componente de classe.",groupColumnFixedError:"Cada grupo deve ter o mesmo tipo.",missingValueFormat:"O renderizador não pode formatar a string de data. É necessário o formato da data de origem em valueFormat.",clipboardWriteError:"Erro ao gravar na área de transferência."},filter:{allSelect:"Todos",endDate:"Data de término",startDate:"Data de início",dateTips:"Selecione pelo menos uma data.",clear:"Limpar critérios de filtro da coluna atual",clearAll:"Limpar critérios de filtro de todas as colunas",confirmFilter:"Filtrar",empty:"Vazio",emptyText:"Não há dados disponíveis.",equal:"Igual a",include:"Contém",prefix:"Começa com",resetFilter:"Reiniciar",unempty:"Não vazio"},individuation:{cancelBtn:"Cancelar",colConfigs:{visible:"Mostrar",invisible:"Ocultar",asc:"Crescente",desc:"Decrescente",unsorted:"Não classificado",frozenLeft:"Congelar à esquerda",frozenRight:"Congelar à direita",unfrozen:"Descongelado",unfreeze:"Descongelar",unsort:"Remover ordenação"},toolbar:{set:"Operação",selected:"Selecionado",freeze:"Congelado",sort:"Ordenação",clear:"Borrar",search:"Pesquisar",all:"Todos"},columnSet:"Definir colunas",overwriteSave:"Sobrescrever e salvar",saveAs:"Salvar como",saveTemplate:"Salvar",selectTemplate:"Selecionar",hideMsg:"Deve haver pelo menos uma coluna.",maxFreezeNumMsg:"No máximo 6 colunas podem ser congeladas.",defaultTemplateName:"Insira um nome. Se nenhum nome for especificado, um nome será gerado automaticamente com base na hora.",reserveTemplateName:"Se nenhum novo nome for especificado, o nome original será mantido.",resetBtn:"Reiniciar",saveBtn:"OK",hideAll:"Ocultar tudo",showAll:"Mostrar tudo",tabs:{base:{title:"Configurações básicas",tips:"Clique nos ícones para personalizar o estilo de exibição."},other:{title:"Outras configurações",tips:"Defina a ordenação para servidores ou clientes e o número de registros em cada página.",sortType:"Ordenando dados",currPageSort:"Página atual",allDataSort:"Todos os dados",pageSize:"Registros por página"}},title:"Configurações personalizadas",switchtitle:"Gerenciar",switchsave:"Salvar",switchlabel:"Lista de configuração",switchapply:"Usar",switchedit:"Editar",switchdel:"Excluir",switchconfirm:"Confirmar",switchdelconfirm:"Confirmação de exclusão",switchonlytemp:"Salvar",switchtempapply:"Salvar e usar",switchtempoverwrite:"Sobrescrever e usar",switchdelcon:"Excluir este modelo?",switchdelyes:"Confirmar",switchdelno:"Cancelar",switchapplycon:"Usar este modelo?"},removeSelectRecord:"Remover os registros selecionados?",saveSuccess:"Salvo com sucesso.",selectOneRecord:"Selecione pelo menos um registro.",isSaveMsg:"Alguns dados foram modificados. Salvar as alterações?"},hrapprover:{approver:"Aprovador autorizado",noselected:"No se ha seleccionado ningún aprobador autorizado.",noapprover:"Nenhum aprovador autorizado.",remark:"Observações"},imageViewer:{loadErrorAlt:"Falha no carregamento.",save:"Salvar",del:"Excluir",thumbnail:"Miniatura",menu:"Diretório",hide:"Ocultar barra lateral",show:"Mostrar barra lateral"},navMenu:{moreText:"Mais"},logout:{in:"Login",out:"Logout"},page:{goto:"Ir para",item:"itens",next:"Próximo",page:"Artigo/Página",pageClassifier:"página",pagesize:"Artigo/Página",prev:"Anterior",total:"Total:",totals:"Total:",jump:"Ir para",hundredThousand:"mais de 100 mil",million:"mais de 1 milhão",tenMillion:"mais de 10 milhões",loadingTotals:"Carregando o número total de itens..."},popeditor:{cancel:"Cancelar",confirm:"OK",historyLists:"Histórico",reset:"Reiniciar",search:"Consultar",selectionLists:"Selecionado",sourceLists:"Todos",title:"Selecionar",filterNode:"Insira uma palavra-chave."},popupload:{fileName:"Nome",fileSize:"Tamanho",fileStatus:"Status",uploadError:"Falha ao carregar.",dialogTitle:"Carregar arquivos",cancelButtonText:"Cancelar",tipsFileText:"Informação",saveButtonText:"Carregar",uploadSuccess:"Carregamento concluído.",uploadButtonText:"Selecionar arquivo",uploadsButtonText:"Selecionar arquivos",errorTypeTips:"Formato do arquivo inválido.",errorNumTips:"Carregamento cancelado. Muitos arquivos.",errorSizeTips:"Arquivo grande demais.",confirmDeleteTips:"Tem certeza de que deseja excluir este arquivo?",delete:"Excluir",waitUpload:"Aguardando upload",operation:"Operação",success:"Upload bem-sucedido",listTip:"Há um total de {0} pedaços de dados: ",errorListTip:"Há {0} erros neles. Modifique-os e tente novamente",limitUploadFileNumber:"Máximo de arquivos permitidos",limitUploadFileType:"Formatos de arquivo compatíveis",limitUploadFileSize:"Tamanho máximo do arquivo"},rate:{level:{average:"Aceitável",excellent:"Muito bom",fair:"Ruim",good:"Bom",poor:"Muito ruim"}},select:{loading:"Carregando...",noMatch:"Nenhuma correspondência.",noData:"Não há dados disponíveis.",placeholder:"--Selecionar--",pleaseSearch:"Insira uma palavra-chave.",search:"Pesquisar",selected:"Selecionado",selectedNum:"{num} selecionado(s)",noSearchData:"Nenhuma correspondência. Insira outra palavra-chave.",add:"Adicionar",collapse:"Recolher"},search:{placeholder:"Pesquisar"},signature:{confirm:"Concluído",rewrite:"Assinar novamente",cancel:"Cancelar",tips:"Assinatura manuscrita necessária.",resign:"Assinar novamente",placeholder:"Assine aqui (obrigatório)."},tabs:{moreItem:"Mais"},tag:{add:"Adicionar"},toggleMenu:{placeholder:"Insira uma palavra-chave."},treeMenu:{placeholder:"Insira uma palavra-chave."},transfer:{filterPlaceholder:"Insira uma palavra-chave.",hasCheckedFormat:"{checked}/{total} verificado",noCheckedFormat:"{total} itens",noData:"Não há dados disponíveis.",noMatch:"Nenhuma correspondência.",titles:["Lista 1","Lista 2"]},tree:{loading:"Carregando...",emptyText:"Não há dados disponíveis.",switchText:"Selecionar nós dependentes",edit:"Editar",delete:"Editar",addChild:"Excluir",newNodeTitle:"Adicionar nó dependente",deleteTip1:"Este nó possui nós dependentes. Deseja manter os nós dependentes?",deleteTip2:"Este nó possui nós dependentes. Manter os nós dependentes?",deleteTip3:"Manter nós dependentes"},usercard:{address:"Endereço",collapse:"Mostrar menos",email:"E-mail",empno:"ID de funcionário",expand:"Mostrar mais",fax:"Fax",internal:"Extensão",manager:"Supervisor",mobile:"Celular",other:"Informações adicionais",phone:"Telefone fixo",timezone:"Fuso horário",travelcode:"Mensagem de ausência para viagem de negócios",viop:"VIOP"},richText:{bold:"Negrito",italic:"Inclinar",underline:"Sublinhado",header:"Formato de parágrafo",strike:"Excluir linha",blockquote:"Referência de bloco",codeBlock:"Inserir segmento de código",size:"Tamanho da fonte",listOrdered:"Não. Lista",listBullet:"Lista de projetos",header1:"H1",header2:"H2",align:"Modo de alinhamento",color:"Cor da fonte",background:"Cor de fundo",image:"Imagem",video:"Vídeo",link:"Adicionar link",formula:"Inserir função",clean:"Limpar formato",indent1:"Recuo para a esquerda",indent2:"Recuo para a direita",pickerLabel:"Tamanho do título",headerPicker1:"Título 1",headerPicker2:"Título 2",headerPicker3:"Título 3",headerPicker4:"Título 4",headerPicker5:"Título 5",headerPicker6:"Título 6",normal:"Normal",sizeSmall:"Pequeno",sizeLarge:"Grande",sizeHuge:"Tamanho supergrande",alignPicker1:"Alinhe-se à esquerda",alignPicker2:"Alinhar no centro",alignPicker3:"Alinhar-se à direita",alignPicker4:"Alinhar as duas extremidades",subScript:"Subscrito",superScript:"Sobrescrito",directionRTL:"Da direita para a esquerda",font:"Fonte",file:"Arquivo",betterTable:"Tabela",fullscreen:"Tela cheia",insertColumnRight:"Inserir coluna à direita",insertColumnLeft:"Inserir coluna à esquerda",insertRowUp:"Inserir Linha para Cima",insertRowDown:"Inserir linha para baixo",mergeCells:"Mesclar células",unmergeCells:"Dividir células",deleteColumn:"Excluir coluna atual",deleteRow:"Excluir linha atual",deleteTable:"Excluir tabela",colorPicker:"Cor de fundo",placeholder:"Inserir texto aqui...",maxLength:"O comprimento do texto excede o limite, o comprimento máximo config é "},fluentEditor:{undo:"Desfazer",redo:"Refazer",lineheight:"Altura da linha"},steps:{done:"Completo",doing:"Em andamento",wait:"Pendente"},actionSheet:{cancel:"Cancelar"},image:{loadFail:"Falha no carregamento."},miniPicker:{cancel:"Cancelar",confirm:"OK"},pullRefresh:{pullingDown:"Puxe para baixo para atualizar.",pullingUp:"Puxe para cima para atualizar.",pulling:"Puxe para baixo para atualizar.",loosing:"Suelte para actualizar.",success:"Atualizado.",failed:"Falha na atualização.",noMore:"Nenhum outro dado."},currency:{defaultCurrency:"Padrão",setDefault:"Configurar como padrão",chooseCurrency:"Selecionar a moeda"},calendarBar:{week:{0:"Dom",1:"Seg",2:"Ter",3:"Qua",4:"Qui",5:"Sex",6:"Sáb"},year:"%s",yearMonth:"%m %y",month:{1:"Jan",2:"Fev",3:"Mar",4:"Abr",5:"Mai",6:"Jun",7:"Jul",8:"Ago",9:"Set",10:"Out",11:"Nov",12:"Dez"},monthAbbr:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"}},calendarView:{week:{0:"Sol",1:"Seg",2:"Ter",3:"Qua",4:"Qui",5:"Sex",6:"Sáb"},weekDays:{0:"Dom",1:"Seg",2:"Ter",3:"Qua",4:"Qui",5:"Sex",6:"Sáb"},backToday:"Hoje",new:"Adicionar",noSchedule:"Sem agendamento",year:"",month:"",dateFormat:"yyyy-MM-dd",monthFormat:"yyyy-MM"},selectedBox:{select:"Selecionado (%s)",allSelect:"Todos selecionados (%s)",clear:"Limpar",noData:"Nenhum dado"},record:{record:"Gravando",cancel:"Cancelar",confirm:"OK",clickToStartRecording:"Clique para gravar.",clickToResumeRecording:"Clique para continuar a gravação."},dialogSelect:{treeSearch:"Insira uma palavra-chave e pressione Enter."},loadList:{errorText:"Algo deu errado.",loadingText:"Carregando...",finishedText:"Não há mais"}},validation:{array:{len:"Este campo deve conter %s caracteres.",min:"Esse campo deve conter %s caracteres ou mais.",max:"Esse campo deve conter %s caracteres ou menos.",range:"Este campo deve ter de %s a %s caracteres."},date:{format:"A data %s não corresponde ao formato %s.",invalid:"%s é inválido.",parse:"Não é possível analisar a data %s, %s é inválido"},default:"Erro de verificação do campo %s.",enum:"Deve ser um dos %s",number:{len:"O valor deve ser %s.",min:"O valor deve ser %s ou maior.",max:"O valor deve ser %s ou menor.",range:"O valor deve estar entre %s e %s."},pattern:{mismatch:"O valor %s não corresponde a %s."},required:"Campo obrigatório",string:{len:"Este campo deve conter %s caracteres.",min:"Este campo deve conter pelo menos %s caracteres.",max:"Este campo pode conter no máximo %s caracteres.",range:"Este campo deve conter de %s a %s caracteres."},types:{acceptFile:" Apenas arquivos são permitidos.",acceptImg:"Apenas imagens são permitidas.",array:"Matriz inválida.",boolean:"Valor booleano inválido.",date:"Formato de data inválido.",dateTime:"Formato de data e hora inválido.",dateYM:"O formato de data (yyyy-mm) não está em conformidade com a regra.",dateYMD:"O formato de data (yyyy-MM-dd) não está em conformidade com a regra.",digits:"Apenas número inválido.",email:"Endereço de e-mail inválido.",fileSize:"O tamanho do arquivo não está no formato correto, como 3kb.",float:"Número de ponto flutuante inválido.",hex:"Número hexadecimal inválido.",integer:"Número inteiro inválido.",longDateTime:"Formato de data longa inválido.",method:"Deve ser uma função.",number:"Número inválido.",object:"Objeto inválido.",regexp:"Expressão regular inválida.",specialch:"Apenas dígitos, letras, sublinhados (_), hifens (-) e pontos (.) são permitidos.",specialch2:"Apenas dígitos, letras, sublinhados (_) e hifens (-) são permitidos.",speczh:"Somente números, letras e sublinhados (_) são permitidos.",string:"String inválida.",time:"Formato de hora inválido.",url:"URL inválida.",version:"Formato de versão inválido."},whitespace:"Este campo não pode ficar em branco."}},q3=/(%|)\{([0-9a-zA-Z_]+)\}/g;function F3(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return n.length===1&&typeof n[0]=="object"&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),t.replace(q3,function(r,i,a,l){var s;return t[l-1]==="{"&&t[l+r.length]==="}"?a:(s=Object.prototype.hasOwnProperty.call(n,a)?n[a]:null,s??"")})}var vl=Uu,yl=function(){var e=Object.getPrototypeOf(this||Ce).$t;if(typeof e=="function"&&e!==Vu)return e.apply(this,arguments)},Vu=function(e,n){n===void 0&&(n=void 0);var o=yl.apply(this,arguments);if(o==null||o===e){for(var r=e.split("."),i=vl,a=0,l=r.length;a<l;a++){var s=r[a];if(o=i[s]||"",a===l-1)return F3(o,n);if(!o)return"";i=o}return""}else return o},e2=function(e){return vl=e||vl,vl},R3=function(){return vl.code},t2=function(e){return yl=e||yl,yl},Om=oo,n2=function(e){var n=e.VueI18n,o=e.messages,r=o===void 0?{}:o,i=e.i18n,a=i===void 0?{}:i,l=e.merge;typeof l!="function"&&(l=function(u){var m=u.lang,h=u.i18n,p=u.messages;return Om.call(null,!0,m,h.messages,p)});var s={zhCN:Uu,enUS:Lm,esLA:Im,ptBR:Nm};if(typeof n=="function"){var c=new n({locale:a.locale||"zhCN",messages:l({lang:s,i18n:a,messages:r})});return yl=function(u,m){return c.t(u,m)},c}return Ce&&typeof Ce.prototype.$t!="function"&&(Ce.prototype.$t=Vu),l({lang:s,i18n:a,messages:r})},o2=!0,r2=!1,j3={isVue2:o2,isVue3:r2,extend:Om,i18n:t2,initI18n:n2,t:Vu,use:e2,enUS:Lm,zhCN:Uu,esLA:Im,ptBR:Nm},oi=Object.freeze(Object.defineProperty({__proto__:null,default:j3,enUS:Lm,esLA:Im,extend:Om,i18n:t2,initI18n:n2,isVue2:o2,isVue3:r2,language:R3,ptBR:Nm,t:Vu,use:e2,zhCN:Uu},Symbol.toStringTag,{value:"Module"})),Kan=oi.use,Ja=oi.t;oi.i18n;oi.initI18n;oi.extend;var Gan=oi.zhCN,Wan=oi.enUS,Yan=oi.language;const z3=({onMounted:t,onActivated:e,nextTick:n})=>o=>{let r;t(()=>{o(),n(()=>r=!0)}),e(()=>r&&o())};const U3=({getCurrentInstance:t,isVue2:e,nextTick:n,onUnmounted:o})=>()=>{const r=t().proxy;e||Object.defineProperty(r,"$scopedSlots",{configurable:!0,value:null}),Object.defineProperty(r,"instanceSlots",{configurable:!0,get:()=>r.$scopedSlots||r.$slots}),o(()=>{n(()=>{e||delete r.$scopedSlots,delete r.instanceSlots})})},V3=({computed:t,getCurrentInstance:e,inject:n,markRaw:o,nextTick:r,onMounted:i,onActivated:a,onUnmounted:l,provide:s,reactive:c,toRef:d})=>({relationKey:u,relationContainer:m,onChange:h,childrenKey:p,delivery:v}={})=>{if(!u)throw new Error("[TINY Error]<relationKey> must exist.");const f=e(),b=c({children:[],indexInParent:-1}),x=n(u,null);let w=[];if(x){const{link:$,unlink:q,callbacks:B,childrenKey:P,delivery:N}=x;w=B,p=p||P||"instanceChildren",v=N,b.indexInParent=$(f),l(()=>q(f))}else{p=p||"instanceChildren";const $=z3({onMounted:i,onActivated:a,nextTick:r}),q=h?()=>r(h):JS;let B;r(()=>{const P=typeof m=="function"?m():m;P&&(B=new MutationObserver((N,D)=>{const W=[];i2(P.childNodes,W),w.forEach(M=>M(W,N,D)),q()}),B.observe(P,{attributes:!0,childList:!0,subtree:!0}))}),$(()=>q()),l(()=>{B&&(B.disconnect(),B=null),w=null})}const E=$=>{const q=$.proxy;return b.children.push(o(q)),t(()=>b.children.indexOf(q))},S=$=>{const q=b.children.indexOf($.proxy);q>-1&&b.children.splice(q,1)};return w.push($=>H3(b.children,$)),s(u,{link:E,unlink:S,callbacks:w,childrenKey:p,delivery:v}),Object.defineProperty(f.proxy,p,{configurable:!0,get:()=>b.children}),l(()=>delete f.proxy[p]),{children:d(b,"children"),index:d(b,"indexInParent"),delivery:v}},i2=(t,e)=>{t.length&&t.forEach(n=>{e.push(n),n.childNodes&&i2(n.childNodes,e)})},H3=(t,e)=>{t.sort((n,o)=>e.indexOf(n.$el)-e.indexOf(o.$el))};function Q3(){return tt?!1:window.navigator&&window.navigator.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||window.navigator.maxTouchPoints>2&&/iPad|Macintosh/.test(window.navigator.userAgent))}const K3=()=>({isIOS:Q3()}),Bg=t=>t.stopPropagation(),qg=({state:t,props:e,vm:n,slots:o})=>{let r=t.referenceElm||e.reference||n.$refs.reference&&n.$refs.reference.$el||n.$refs.reference;return!r&&o.reference&&o.reference()[0]&&(t.referenceElm=o.reference()[0].elm||o.reference()[0].el,r=t.referenceElm),r},G3=t=>{if(!t||!t.nodeType)return;let e=r=>parseInt(window.getComputedStyle(r).zIndex,10)||0,n=e(t),o;do{if(t=t.parentNode,t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t)o=e(t);else break;n=o>n?o:n}while(t!==document.body);return n+1+""},Hu=t=>{const{parent:e,emit:n,nextTick:o,onBeforeUnmount:r,onDeactivated:i,props:a,watch:l,reactive:s,vm:c,slots:d,toRefs:u,popperVmRef:m}=t,h=s({popperJS:null,appended:!1,popperElm:null,showPopper:a.manual?!!a.modelValue:!1,referenceElm:null,currentPlacement:""}),p=S=>{if(h.appended)return;h.appended=!0;const $=document.createElement("div");$.setAttribute("x-arrow",""),$.className="popper__arrow",S.appendChild($)},v=S=>{const{followReferenceHide:$=!0}=(a==null?void 0:a.popperOptions)||{},{_popper:q,_reference:B}=S;$&&km(B)&&(q.style.display="none")},f=S=>a.zIndex==="relative"?G3(S):it.nextZIndex(),b=S=>{if(tt||(h.currentPlacement=h.currentPlacement||a.placement,!/^(top|bottom|left|right)(-start|-end)?$/g.test(h.currentPlacement)))return;const $=a.popperOptions||{gpuAcceleration:!1};h.popperElm=h.popperElm||a.popper||c.$refs.popper||m.popper||S;const q=h.popperElm;let B=qg({state:h,props:a,vm:c,slots:d});!q||!B||B.nodeType!==Node.ELEMENT_NODE||(a.visibleArrow&&p(q),a.appendToBody||a.popperAppendToBody?document.body.appendChild(h.popperElm):(e&&e.$el&&e.$el.appendChild(h.popperElm),$.forceAbsolute=!0),$.placement=h.currentPlacement,$.offset=a.offset||0,$.arrowOffset=a.arrowOffset||0,$.adjustArrow=a.adjustArrow||!1,$.appendToBody=a.appendToBody||a.popperAppendToBody,h.popperJS=new O3(B,q,$),n("created",h),typeof $.onUpdate=="function"&&h.popperJS.onUpdate($.onUpdate),h.popperJS._popper.style.zIndex=f(h.popperJS._reference),v(h.popperJS),Oe(h.popperElm,"click",Bg))},x=S=>{S&&S!==!0&&(h.popperElm=S);const $=h.popperJS;$?($._reference=qg({state:h,props:a,vm:c,slots:d}),$.update(),$._popper&&S!==!0&&($._popper.style.zIndex=f($._reference),v(h.popperJS))):b(S&&S!==!0?S:void 0)},w=S=>{!h.popperJS||h.showPopper&&!S||(h.popperJS.destroy(),h.popperJS=null)},E=S=>{S&&h.popperElm&&h.popperElm.parentNode===document.body&&(Re(h.popperElm,"click",Bg),h.popperElm.remove())};return l(()=>h.showPopper,S=>{a.disabled||(S&&o(x),a.trigger==="manual"&&n("update:modelValue",S))}),l(()=>a.placement,S=>{var $;h.currentPlacement=S,($=h.popperJS)==null||$.setOptions({placement:S}),!a.disabled&&(S&&o(x),a.trigger==="manual"&&n("update:modelValue",S))}),r(()=>{o(()=>{w(!0),(a.appendToBody||a.popperAppendToBody)&&E("remove")})}),i(()=>{w(!0),(a.appendToBody||a.popperAppendToBody)&&E("remove")}),{updatePopper:x,destroyPopper:E,doDestroy:w,...u(h)}};let W3=1;const Y3=({onMounted:t,onBeforeUnmount:e,watch:n,vm:o,api:r,props:i,state:a,nextTick:l})=>{t(()=>{o._popupId=`popup-${W3++}`,it.register(o._popupId,o)}),e(()=>{it.deregister(o._popupId),it.closeModal(o._popupId)}),n(()=>i.visible,s=>{if(s){if(o._opening)return;a.rendered?r.open():(a.rendered=!0,l(()=>{r.open()}))}else r.close()})},X3=({state:t,vm:e})=>n=>{t.rendered||(t.rendered=!0);const o=Rp({},e.$props||e,n);e._closeTimer&&(clearTimeout(e._closeTimer),e._closeTimer=null),clearTimeout(e._openTimer);const r=()=>{if(tt||t.opened)return;e._opening=!0;const a=e.$el,l=o.modal,s=o.zIndex;s&&(it.zIndex=s),l&&(e._closing&&(it.closeModal(e._popupId),e._closing=!1),it.openModal(e._popupId,it.nextZIndex(),o.modalAppendToBody?void 0:a,o.modalClass,!o.noAnimation),o.lockScroll&&(it.fixBodyBorder(),mn(document.body,it.popLockClass))),getComputedStyle(a).position==="static"&&(a.style.position="absolute"),a.style.zIndex=it.nextZIndex().toString(),t.opened=!0,e._opening=!1},i=Number(o.openDelay);i>0?e._openTimer=setTimeout(()=>{e._openTimer=null,r()},i):r()},Z3=({state:t,vm:e})=>()=>{e._openTimer!==null&&(clearTimeout(e._openTimer),e._openTimer=null),clearTimeout(e._closeTimer);const n=()=>{e._closing=!0,t.opened=!1,it.closeModal(e._popupId),e._closing=!1},o=Number(e.closeDelay);o>0?e._closeTimer=setTimeout(()=>{e._closeTimer=null,n()},o):n()},J3=t=>{const{api:e,nextTick:n,onBeforeUnmount:o,onMounted:r,props:i,reactive:a,toRefs:l,vm:s,watch:c}=t,d=a({opened:!1,rendered:!1});Y3({onMounted:r,onBeforeUnmount:o,watch:c,vm:s,api:e,props:i,state:d,nextTick:n});const u=X3({state:d,vm:s}),m=Z3({state:d,vm:s});return{open:u,close:m,PopupManager:it,...l(d)}};var Fg;function Yi(){return Yi=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Yi.apply(null,arguments)}var e6=function(){var e={},n=function(i,a,l){if(l===void 0&&(l=!1),i&&typeof i=="string"&&typeof a=="function"){var s=e[i]||[];e[i]=s,s.push(a),a.once=l}},o={emit:function(i){var a=arguments,l=e[i];l&&(l.forEach(function(s){return s.apply(null,[].slice.call(a,1))}),e[i]=l.filter(function(s){return!s.once}))},on:n,once:function(i,a){n(i,a,!0)},off:function(i,a){if(i&&typeof i=="string"){var l=e[i];typeof a=="function"?e[i]=l.filter(function(s){return s!==a}):delete e[i]}else e={}}};return o},t6=function(e,n){n===void 0&&(n={});var o={};for(var r in e)r.indexOf("_")!==0&&(o[r]=e[r]);for(var i in n)o[i]=n[i];return o},n6=function(e,n){if(e===void 0&&(e={}),typeof n=="object"){var o=Array.isArray(n)?n:Object.keys(n).filter(function(i){return n[i]}),r="";return o.forEach(function(i){e[i]&&(r+=e[i]+" ")}),r}else return e[n]||""},o6=0,r6=function(e){return function(n){for(var o=e.parent?Array.from(e.parent.childNodes):[],r=0;r<o.length;r++)if(o[r].textContent===n)return!0}},i6=function(e){var n=e.hasComment,o=e.startComment,r=e.state,i=e.endComment;return function(a){var l=document.createDocumentFragment();if(a)!n(o)&&l.appendChild(document.createComment(o)),r.nodes.forEach(function(h){return l.appendChild(h)}),!n(i)&&l.appendChild(document.createComment(i));else{var s=r.parent?Array.from(r.parent.childNodes):[],c,d;c=d=0;for(var u=0;u<s.length;u++){var m=s[u];if(m.nodeType===8&&(m.textContent===o&&(c=u),m.textContent===i)){d=u;break}}d>c&&s.slice(c+1,d).forEach(function(h){return l.appendChild(h)})}return l}},a6=function(e){var n=e.instance,o=e.getFragment,r=e.state,i=e.startComment,a=e.endComment;return function(){n.$el.appendChild(o());var l=[],s=r.parent?Array.from(r.parent.childNodes):[];s.forEach(function(u,m){u.nodeType===8&&(u.textContent===i||u.textContent===a)&&l.push(m)});var c=Math.min.apply(Math,l),d=Math.max.apply(Math,l);s.slice(c,d+1).reverse().forEach(function(u){return r.parent&&r.parent.removeChild(u)}),r.parent=null}},s6=function(e){var n=e.state,o=e.props,r=e.disable,i=e.getFragment;return function(){if(n.waiting=!1,n.parent=document.querySelector(o.to),!n.parent){r(),n.waiting=!0;return}o.where==="before"?n.parent.prepend(i(!0)):n.parent.appendChild(i(!0))}},l6=function(e){return function(){e.observer&&(e.observer.disconnect(),e.observer=null)}},c6=function(e){var n=e.state,o=e.disable,r=e.props,i=e.move;return function(a){for(var l=!1,s=0;s<a.length;s++){var c=a[s],d=Array.from(c.addedNodes).filter(function(u){return!n.nodes.includes(u)});Array.from(c.removedNodes).includes(n.parent)?(o(),n.waiting=!r.disabled):n.waiting&&d.length>0&&(l=!0)}l&&i()}},u6=function(e){var n=e.state,o=e.onMutations;return function(){n.observer||(n.observer=new MutationObserver(function(r){return o(r)}),n.observer.observe(document.body,{attributes:!1,characterData:!1,childList:!0,subtree:!0}))}},d6=function(e){var n=e.state,o=e.instance,r=e.props,i=e.bootObserver,a=e.maybeMove;return function(){n.nodes=Array.from(o.$el.childNodes),!r.disabled&&i(),a()}},p6=function(e){var n=e.disable,o=e.teardownObserver,r=e.bootObserver,i=e.move;return function(a){if(a){n(),o();return}r(),i()}},h6=function(e){var n=e.reactive,o=e.watch,r=e.getCurrentInstance,i=e.onUpdated,a=e.onMounted,l=e.onBeforeUnmount,s=e.h,c=e.defineComponent;return c({name:"Vue2Teleport",props:{to:{type:String,required:!0},where:{type:String,default:"after"},disabled:Boolean},setup:function(u){var m,h=n({nodes:[],waiting:!1,observer:null,parent:null,id:++o6}),p=(m=r())==null?void 0:m.proxy,v="["+h.id+"]vue2-teleporter-start",f="["+h.id+"]vue2-teleporter-end",b=r6(h),x=i6({hasComment:b,startComment:v,state:h,endComment:f}),w=a6({instance:p,getFragment:x,state:h,startComment:v,endComment:f}),E=s6({state:h,props:u,disable:w,getFragment:x}),S=function(){return!u.disabled&&E()},$=l6(h),q=c6({state:h,disable:w,props:u,move:E}),B=u6({state:h,onMutations:q}),P=d6({state:h,instance:p,props:u,bootObserver:B,maybeMove:S}),N=p6({disable:w,teardownObserver:$,bootObserver:B,move:E});return o(function(){return u.to},S),o(function(){return u.where},S),o(function(){return u.disabled},N),i(P),a(P),l(function(){w(),$()}),function(){return s("div",{class:"vue2-teleporter",style:{"visibility:hidden;display:none;":!u.disabled}},(typeof(p==null?void 0:p.$slots.default)=="function"?p.$slots.default():p.$slots.default)||null)}}})},ul=typeof window>"u"?null:window.__Longque__,a2=!!((Fg=Ce.version)!=null&&Fg.includes("2.7")),dt=a2?Lp:xA,Xan=h6(dt);!dt.default.__composition_api_installed__&&!a2&&Ce.use(dt.default);var m6=function(e){var n=e.loader,o=e.loadingComponent,r=e.errorComponent,i=e.delay,a=e.timeout;return function(){return{component:n(),loading:o,error:r,delay:i,timeout:a}}},f6=function(e){return e},s2=function(e){var n=e.view,o=n===void 0?null:n,r=e.component,i=r===void 0?null:r,a=e.props,l=e.customDesignProps,s=e.context,c=s.attrs,d=s.listeners,u=s.slots,m=e.extend,h=m===void 0?{}:m;return function(){var p;return dt.h(o&&o.value||i,Object.assign((p={props:Yi({},a,l),attrs:c},p[h.isSvg?"nativeOn":"on"]=d,p.ref="modeTemplate",p.scopedSlots=Yi({},u),p),h))}},Dm=function(){var e;return(e=dt.getCurrentInstance())==null?void 0:e.proxy.$root},g6=function(){var e,n,o=(e=dt.getCurrentInstance())==null?void 0:e.proxy;return(o==null||(n=o.$options)==null?void 0:n.propsData)||{}},l2=function(){var e,n,o,r,i=dt.getCurrentInstance(),a=i==null||(e=i.vnode)==null||(n=e.componentOptions)==null||(o=n.Ctor)==null||(r=o.extendOptions)==null?void 0:r.name;if(!a){var l,s,c,d,u;a=i==null||(l=i.parent)==null||(s=l.vnode)==null||(c=s.componentOptions)==null||(d=c.Ctor)==null||(u=d.extendOptions)==null?void 0:u.name}return a||""},v6=function(){return Ce},c2=function(){return Ce.prototype},y6=function(e){var n,o;if(e===void 0){var r;e=(r=dt.getCurrentInstance())==null?void 0:r.proxy}return{route:(n=e)==null?void 0:n.$route,router:(o=e)==null?void 0:o.$router}},b6=function(e){var n=function(r,i,a,l){r.$children.forEach(function(s){var c=s.$options.componentName;c===i?s.$emit(a,l):n(s,i,a,l)})};return{dispatch:function(r,i,a){for(var l,s=e.$parent||e.$root,c=s.$options.componentName;s&&(!c||c!==r);)s=s.$parent,s&&(c=s.$options.componentName);s&&(l=s).$emit.apply(l,[i].concat(a))},broadcast:function(r,i,a){n(e,r,i,a)}}},w6=function(e){return function(n){var o=e.$parent,r=0,i=function(l){return{level:r,vm:Ts({},l),el:l.$el,options:l.$options}};if(typeof n!="function")return o?i(o):{};for(r++;o&&!n(i(o));)o=o.$parent,r++}},x6=function(e){return function(n){if(typeof n!="function")return u2(e.$children);var o=1,r=function(a){var l=o++;a.some(function(s){return n({level:l,vm:Ts({},s),el:s.$el,options:s.$options,isLevel1:l===1})})||a.forEach(function(s){return r(s.$children)})};r(e.$children)}},u2=function(e){var n=[];return n.refs={},e.forEach(function(o){var r=Ts({},o);n.push(r),o.$vnode.data.ref&&(n.refs[o.$vnode.data.ref]=r)}),n},T6=function(e,n,o){var r=function(l){if(typeof o=="function"&&o(l))return 1;Object.defineProperty(e,l,{configurable:!0,enumerable:!0,get:function(){return n[l]},set:function(c){return n[l]=c}})};for(var i in n)r(i);return e},k6=function(e,n){var o=ul.SKIP_PREFIX_UNDERSCORE|ul.SKIP_PREFIX_DOLLAR|ul.SKIP_CONSTRUCTOR;ul.createDelegate(n,e,o)},d2=ul?k6:T6,p2=function(e){return e.indexOf("$")===0||e.indexOf("_")===0||e==="constructor"},Ts=function(e,n,o){return o===void 0&&(o=void 0),o||d2(e,n,p2),Object.defineProperties(e,{$attrs:{get:function(){return n.$attrs}},$children:{get:function(){return u2(n.$children)}},$constants:{get:function(){return n._constants}},$emit:{get:function(){return n.$emit.bind(n)}},$el:{get:function(){return n.$el}},$listeners:{get:function(){return n.$listeners}},$mode:{get:function(){return n._tiny_mode}},$nextTick:{get:function(){return dt.nextTick}},$off:{get:function(){return n.$off.bind(n)}},$on:{get:function(){return n.$on.bind(n)}},$once:{get:function(){return n.$once.bind(n)}},$options:{get:function(){return{componentName:n.$options.componentName}}},$parent:{get:function(){return n.$parent&&Ts({},n.$parent)}},$refs:{get:function(){return n.$refs}},$renderless:{get:function(){return n.tiny_renderless}},$scopedSlots:{get:function(){return n.$scopedSlots}},$set:{get:function(){return n.$set}},$slots:{get:function(){return n.$scopedSlots}},$template:{get:function(){return n.tiny_template}}}),e},C6=function(e,n){Object.keys(e.$refs).forEach(function(o){n[o]=e.$refs[o]})},A6=function(e,n){var o,r=(o=dt.getCurrentInstance())==null?void 0:o.proxy,i=r==null?void 0:r.$root,a=y6(r),l=a.route,s=a.router,c=i==null?void 0:i.$i18n,d=b6(r),u=d.dispatch,m=d.broadcast,h=w6(r),p=x6(r),v=Ts({},r,e),f=e.emit,b={},x=r.$parent?Ts({},r.$parent):null,w=function(q){var B=q.name,P=q.value;r.$parent[B]=P,x[B]=P},E=function(q){Object.defineProperties(v,q),Object.defineProperties(r,q)},S=function(q){x&&Object.defineProperties(x,q)};return dt.onBeforeMount(function(){return d2(v,r,p2)}),Lp&&dt.onMounted(function(){return C6(r,b)}),{framework:"vue2",vm:v,emit:f,emitter:e6,route:l,router:s,dispatch:u,broadcast:m,parentHandler:h,childrenHandler:p,refs:Lp?b:e.refs,i18n:c,slots:e.slots,scopedSlots:e.slots,attrs:e.attrs,parent:x,nextTick:dt.nextTick,constants:r==null?void 0:r._constants,mode:n,isPCMode:n==="pc",isMobileMode:n==="mobile",service:r==null?void 0:r.$service,getService:function(){return r==null?void 0:r.$getService(v)},setParentAttribute:w,defineInstanceProperties:E,defineParentInstanceProperties:S}},wc=function(e,n,o){if(typeof e[n]<"u"){var r=e[n];e[o]=function(i,a,l){a.instance=l.context,r(i,a,l)},delete e[n]}},ri=function(e){for(var n in e){var o=e[n];wc(o,"mounted","inserted"),wc(o,"beforeMount","bind"),wc(o,"updated","update"),wc(o,"unmounted","unbind")}return e},S6=function(e){var n=e.props,o=e.data,r=e.name,i=e.attr,a=i===void 0?r:i;Object.defineProperty(n,a,{get:function(){return o[r]},set:function(s){return o[r]=s}})},h2=function(e){var n={},o=e.componentOptions&&e.componentOptions.propsData||{};for(var r in o)S6({props:n,data:o,name:r});return e.props=n,e.type={name:e.componentOptions&&e.componentOptions.tag},e},m2=function(e){return!e||!e.tag},xu=dt.h,E6=function(e){return function(n){var o,r=n.component,i=n.propsData,a=n.el,l=Object.assign(r,{provide:(o={},o[e.configKey]=e.configInstance,o)});return new(Ce.extend(l))({propsData:i,el:a}).$mount()}},Se=dt.defineComponent,Qu=!0;var Zan=Ce.component("KeepAlive"),Wp=function(e){var n=[];return Object.keys(e).forEach(function(o){return e[o]&&n.push(o)}),n.join(" ")},$6=function(e){var n=[];return e.forEach(function(o){typeof o=="string"?n.push(o):typeof o=="object"&&n.push(Wp(o))}),n.join(" ")},Tu=function(e){if(!e)return"";if(typeof e=="string")return e;if(Array.isArray(e)&&e.length>0){var n=[];return e.forEach(function(o){o&&(typeof o=="string"?n.push(o):Array.isArray(o)?n.push($6(o)):typeof o=="object"&&n.push(Wp(o)))}),n.join(" ")}return typeof e=="object"?Wp(e):""},P6=function(e){var n=Tu(e),o=Array.from(new Set(n.split(" "))).filter(function(r){return r});return Tu(o)},_6=function(){var e=dt.ref(""),n=["2xl","xl","lg","md","sm"],o=function(s){return tt||typeof matchMedia!="function"?{matches:!1,media:s,addEventListener:function(){},removeEventListener:function(){}}:window.matchMedia(s)},r={"2xl":o("(min-width:1536px)"),xl:o("(min-width:1280px)"),lg:o("(min-width:1024px)"),md:o("(min-width:768px)"),sm:o("(min-width:640px)")},i=function(){for(var s=0;s<n.length;s++){var c=n[s];if(r[c].matches){e.value=c;return}}e.value="default"},a=Sn(0,function(){return i()});return i(),n.forEach(function(l){return r[l].addEventListener("change",a)}),dt.onBeforeUnmount(function(){n.forEach(function(l){return r[l].removeEventListener("change",a)})}),{current:e}};var M6=["IconLoadingShadow","IconNoData"],f2=0,g2=function(e,n){{var o,r;if((o=e.data)!=null&&(r=o.attrs)!=null&&r.id){var i=""+e.data.attrs.id+f2;n[e.data.attrs.id]=i,e.data.attrs.id=i}}Array.isArray(e==null?void 0:e.children)&&e.children.forEach(function(a){g2(a,n)})},v2=function(e,n){var o=["fill","mask","filter"];o.forEach(function(r){{var i,a,l;if((i=e.data)!=null&&(a=i.attrs)!=null&&(l=a[r])!=null&&l.includes("url(#")){var s=e.data.attrs[r].replace("url(#","").replace(")",""),c=n[s];c&&(e.data.attrs[r]="url(#"+c+")")}}}),Array.isArray(e==null?void 0:e.children)&&e.children.forEach(function(r){v2(r,n)})},L6=function(e){if(e){var n={};g2(e,n),v2(e,n),f2++}},Jan=U3(Yi({},dt,{isVue2:Qu})),esn=V3(Yi({},dt,{isVue2:Qu})),Ue="Tiny",lt={tiny_mode:String,tiny_mode_root:Boolean,tiny_template:[Function,Object],tiny_renderless:Function,tiny_theme:String,tiny_mcp_config:Object,tiny_chart_theme:Object},Ye=["tiny_mode","tiny_mode_root","tiny_template","tiny_renderless","_constants","tiny_theme","tiny_chart_theme","tiny_mcp_config"],Bm=function(e,n){var o=function(u){return~["pc","mobile","mobile-first"].indexOf(u)},r=Dm(),i=typeof e.tiny_mode=="string"?e.tiny_mode:null,a=dt.inject("TinyMode",null),l;typeof r.tiny_mode=="string"?l=r.tiny_mode:r.tiny_mode&&(l=r.tiny_mode.value),o(i)||(i=null),o(a)||(a=null),o(l)||(l=null);var s=i||a||l||"pc";e.tiny_mode_root&&dt.provide("TinyMode",s);var c=dt.getCurrentInstance();return c=c.proxy,Object.defineProperty(c,"_tiny_mode",{value:s}),s},I6=function(e,n){var o=function(d){return~["tiny","saas"].indexOf(d)},r=Dm(),i=typeof e.tiny_theme=="string"?e.tiny_theme:null,a=dt.inject("TinyTheme",null),l=r.tiny_theme&&r.tiny_theme.value;o(i)||(i=null),o(a)||(a=null),o(l)||(l=null);var s=i||a||l||"tiny";return s},N6=function(e,n){var o=Dm(),r=typeof e.tiny_chart_theme=="object"?e.tiny_chart_theme:null,i=dt.inject("TinyChartTheme",null),a=o.tiny_chart_theme&&o.tiny_chart_theme.value,l=r||i||a||null;return l},y2={configKey:Symbol("designConfigKey"),configInstance:null};var Ku=E6(y2),O6={designConfig:null,twMerge:function(){return""}},b2=function(){var e,n,o,r=dt.inject(y2.configKey,{});r=((e=r)==null?void 0:e.value)||r||{};var i=(n=r)==null||(o=n.components)==null?void 0:o[l2().replace(Ue,"")];return{designConfig:i,globalDesignConfig:r}},D6=function(){l2().replace(Ue,"")},vt=function(e){var n=e.props,o=e.context,r=e.template,i=e.extend,a=i===void 0?{}:i,l=Bm(n),s=dt.computed(function(){if(typeof n.tiny_template<"u")return n.tiny_template;var p=r(l,n);return typeof p=="function"?m6(p):p}),c=b2(),d=c.designConfig,u={},m=d==null?void 0:d.props;if(m){var h=g6();Object.keys(m).forEach(function(p){var v=p.replace(/-(\w)/g,function(b,x){return x.toUpperCase()}),f=p.replace(/([A-Z])/g,"-$1").toLowerCase();!Object.prototype.hasOwnProperty.call(h,v)&&!Object.prototype.hasOwnProperty.call(h,f)&&(u[p]=m[p])})}return s2({view:s,props:n,customDesignProps:u,context:o,extend:a})},Bl=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return O6.twMerge(Tu(n))},je=function(e){var n=e.props,o=e.context,r=e.renderless,i=e.api,a=e.extendOptions,l=a===void 0?{}:a,s=e.mono,c=s===void 0?!1:s,d=e.classes,u=d===void 0?{}:d,m=typeof n.tiny_renderless=="function"?n.tiny_renderless:r,h=b2(),p=h.designConfig,v=h.globalDesignConfig,f=Yi({$prefix:Ue,t:Ja},A6(o,Bm(n)),{designConfig:p,globalDesignConfig:v,useBreakpoint:_6,mergeClass:Bl});f.vm.theme=I6(n),f.vm.chartTheme=N6(n);var b=m(n,dt,f,l);typeof(p==null?void 0:p.renderless)=="function"&&Object.assign(b,p.renderless(n,dt,f,b));var x={t:Ja,vm:f.vm,f:t6,a:B6,d:f.defineInstanceProperties,dp:f.defineParentInstanceProperties,gcls:function(E){return n6(u,E)},m:Bl};return x.d({slots:{get:function(){return f.vm.$slots},configurable:!0},scopedSlots:{get:function(){return f.vm.$scopedSlots},configurable:!0}}),x.dp({slots:{get:function(){return f.parent.$slots},configurable:!0},scopedSlots:{get:function(){return f.parent.$scopedSlots},configurable:!0}}),q6(),Array.isArray(i)&&(Array.isArray(p==null?void 0:p.api)&&(i=i.concat(p.api)),i.forEach(function(w){var E=b[w];typeof E<"u"&&(x[w]=E,c||f.setParentAttribute({name:w,value:E}))})),D6(),x};function _e(t){var e=t.name,n=e===void 0?"Icon":e,o=t.component;return function(r){return f6(Se({name:Ue+n,setup:function(a,l){var s=l.attrs||{},c=s.fill,d=s.width,u=s.height,m=s["custom-class"],h=s["first-color"],p=s["second-color"],v=Object.assign({},a,r||null),f=Bm(v),b=f==="mobile-first",x={"data-tag":b?"tiny-svg":null},w={attrs:x},E="tiny-svg";b&&(E=Bl("h-4 w-4 inline-block",m||"",v.class||""));var S=Object.assign({style:{fill:c,width:d,height:u,"--tiny-first-color":h||"","--tiny-second-color":p||""},class:E,isSvg:!0},w);return S.nativeOn=l.listeners,M6.includes(n)&&(o.__raw_render||(o.__raw_render=o.render),o.render=function(){var $=o.__raw_render.bind(this),q=$.apply(void 0,arguments);return L6(q),q}),s2({component:o,props:v,context:l,extend:S})}}))}}var B6=function(e,n,o){var r={},i=function(s){var c=n.some(function(d){return new RegExp(d).test(s)});(o&&c||!o&&!c)&&(r[s]=e[s])};for(var a in e)i(a);return r},eu={},q6=function(){for(var e in eu){var n=eu[e];typeof n.install=="function"&&n.install(v6()),typeof n.init=="function"&&n.init(c2())}eu={}};var F6=Object.defineProperty,R6=Object.defineProperties,j6=Object.getOwnPropertyDescriptors,Rg=Object.getOwnPropertySymbols,z6=Object.prototype.hasOwnProperty,U6=Object.prototype.propertyIsEnumerable,jg=(t,e,n)=>e in t?F6(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_t=(t,e)=>{for(var n in e||(e={}))z6.call(e,n)&&jg(t,n,e[n]);if(Rg)for(var n of Rg(e))U6.call(e,n)&&jg(t,n,e[n]);return t},En=(t,e)=>R6(t,j6(e));var V6=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M3.284 4h7.432a1 1 0 0 1 .735 1.678L7.735 9.704a1 1 0 0 1-1.47 0L2.55 5.678A1 1 0 0 1 3.284 4Z"}})])},H6={render:V6},w2=function(){return _e({name:"IconArrowBottom",component:H6})()},Q6=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"arrow-left_svg__st0",attrs:{d:"M6.3 11H20c.6 0 1 .4 1 1s-.4 1-1 1H6.3l5.4 5.4c.4.4.4 1 0 1.4-.4.4-1 .4-1.4 0l-7.1-7.1c-.4-.4-.4-1 0-1.4l7.1-7.1c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4L6.3 11z"}})])},K6={render:Q6},G6=function(){return _e({name:"IconArrowLeft",component:K6})()},W6=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"arrow-right_svg__st0",attrs:{d:"m17.7 11-5.4-5.4c-.4-.4-.4-1 0-1.4.4-.4 1-.4 1.4 0l7.1 7.1c.4.4.4 1 0 1.4l-7.1 7.1c-.4.4-1 .4-1.4 0-.4-.4-.4-1 0-1.4l5.4-5.4H4c-.6 0-1-.4-1-1s.4-1 1-1h13.7z"}})])},Y6={render:W6},X6=function(){return _e({name:"IconArrowRight",component:Y6})()},Z6=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M16 4c0-2-2-4-4-4H4C2 0 0 2 0 4v8c0 2 2 4 4 4h8c2 0 4-2 4-4V4Z",fill:"#fff","fill-rule":"evenodd"}}),o("path",{attrs:{d:"M16 4c0-2.21-1.8-4-4-4H4C1.79 0 0 1.79 0 4v8c0 2.2 1.79 4 4 4h8c2.2 0 4-1.8 4-4V4Zm-1 0c0-1.66-1.35-3-3-3H4C2.34 1 1 2.34 1 4v8c0 1.65 1.34 3 3 3h8c1.65 0 3-1.35 3-3V4Z",fill:"#191919","fill-rule":"evenodd"}})])},J6={render:Z6},Ms=function(){return _e({name:"IconCheck",component:J6})()},e4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M4 16h8c2.2 0 4-1.8 4-4V4c0-2.21-1.8-4-4-4H4C1.79 0 0 1.79 0 4v8c0 2.2 1.79 4 4 4Zm3.26-4.38 5.99-6.43a.6.6 0 1 0-.88-.82L6.8 10.35 3.6 7.19a.6.6 0 1 0-.84.86l3.64 3.59c.28.28.57.26.86-.02Z",fill:"currentColor","fill-rule":"evenodd"}}),o("path",{attrs:{d:"M13.25 5.17 7.26 11.6c-.29.29-.58.3-.86.02L2.76 8.03a.6.6 0 0 1-.01-.85c.24-.24.61-.24.85 0l3.2 3.15 5.57-5.98a.6.6 0 0 1 .85-.02c.24.22.26.6.03.84Z",fill:"#FFF","fill-rule":"evenodd"}})])},t4={render:e4},Ls=function(){return _e({name:"IconCheckedSur",component:t4})()},n4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticClass:"chevron-down_svg__st1",attrs:{d:"M3.16 5.36a.61.61 0 0 1 .79-.07l.09.07L8 9.32l3.96-3.96a.61.61 0 0 1 .79-.07l.09.07c.22.22.24.55.07.79l-.07.09-4.4 4.4a.61.61 0 0 1-.79.07l-.09-.07-4.4-4.4a.628.628 0 0 1 0-.88z"}})])},o4={render:n4},Zl=function(){return _e({name:"IconChevronDown",component:o4})()},r4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M5.42 7.42c-.31.32-.31.83 0 1.14l4.1 4.1c.23.23.62.23.85 0a.61.61 0 0 0 0-.85L6.56 8l3.81-3.83c.21-.2.23-.53.06-.76-.23-.24-.67-.3-.91-.08l-4.1 4.09Z"}})])},i4={render:r4},x2=function(){return _e({name:"IconChevronLeft",component:i4})()},a4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M10.56 7.43c.32.31.32.82 0 1.13l-4.1 4.1c-.23.24-.61.24-.85 0a.61.61 0 0 1 0-.85L9.43 8 5.61 4.18a.607.607 0 0 1-.06-.78l.06-.07c.24-.24.62-.24.85 0l4.1 4.1Z"}})])},s4={render:a4},Gu=function(){return _e({name:"IconChevronRight",component:s4})()},l4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"chevron-up_svg__st0",attrs:{d:"M3 17c0-.2.1-.5.2-.6l8-9.9c.2-.2.5-.4.8-.4s.6.1.8.4l7.9 9.9c.4.4.3 1.1-.2 1.4-.4.4-1.1.3-1.4-.2L12 8.7l-7.2 8.9c-.4.4-1 .5-1.4.2-.3-.2-.4-.5-.4-.8z"}})])},c4={render:l4},qm=function(){return _e({name:"IconChevronUp",component:c4})()},u4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12.49 3.3a.5.5 0 0 1 .05.62L8.58 7.89l3.91 3.88c.21.19.23.48.05.71-.17.19-.49.24-.71.06L7.88 8.58 4 12.49c-.18.17-.5.18-.68.01a.496.496 0 0 1-.08-.67l3.93-3.94L3.29 4a.524.524 0 0 1 .04-.71c.17-.14.42-.16.58-.05l3.97 3.93 3.9-3.87c.18-.22.51-.22.71 0Z","fill-rule":"evenodd"}})])},d4={render:u4},Kt=function(){return _e({name:"IconClose",component:d4})()},p4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"cloud-upload_svg__st0",attrs:{d:"M22.1 11.4c-.5-.7-1-1.2-1.6-1.6 0-.7-.2-1.3-.5-1.9-.3-.7-.8-1.4-1.5-2-.6-.6-1.3-1.1-2.1-1.4-.8-.3-1.6-.5-2.5-.5-1.3 0-2.6.4-3.7 1.1-.6.4-1.2.9-1.6 1.4-.3-.1-.7-.1-1-.1-.5 0-1.1.1-1.5.3-.5.2-.9.5-1.3.8-.4.4-.7.8-.9 1.2-.2.5-.3 1-.3 1.5v.4c-.5.3-1 .7-1.4 1.1-.8 1-1.2 2.1-1.2 3.3 0 .7.1 1.3.4 1.9.3.6.7 1.1 1.2 1.6s1.1.8 1.7 1.1c.6.2 1.3.4 2 .4H17c.8 0 1.6-.1 2.3-.4.7-.3 1.4-.7 1.9-1.2.6-.5 1-1.2 1.3-1.8.3-.7.4-1.4.4-2.2.1-1.1-.2-2.1-.8-3zM3.3 16c-.2-.4-.3-.8-.3-1.2 0-.4.1-.7.2-1.1.1-.3.3-.6.6-.9.3-.3.6-.6 1-.8l.9-.5-.2-1v-.3c0-.3.1-.5.2-.8.1-.2.3-.4.5-.6.2-.2.5-.4.7-.5.3-.1.6-.2.9-.2.2 0 .5 0 .7.1l1 .3.6-.8c.3-.4.7-.8 1.2-1.1.8-.5 1.7-.7 2.6-.7.7 0 1.3.1 1.8.3.6.2 1.1.5 1.5.9.5.4.8.9 1 1.4.2.4.3.9.3 1.4v.7l.6.4c.4.3.8.6 1.1 1l.1.1c.2.3.4.6.5 1 .1.3.2.7.2 1.1 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.2-.4.4-.8.6-1.3.8-.5.2-1 .3-1.6.3H6.5c-.5 0-.9-.1-1.3-.2-.4-.2-.8-.4-1.1-.7-.4-.2-.7-.6-.8-1zm7.6-3.5c.2 0 .4-.1.6-.2l1.7-1.5v5.5c0 .4.4.8.9.8s.9-.4.9-.8v-5.5l1.7 1.5c.2.2.4.2.6.2s.4-.1.6-.2c.3-.3.3-.8 0-1.1l-3.1-2.9c-.4-.2-.6-.3-.8-.3-.2 0-.4.1-.6.2l-3.1 2.9c-.3.3-.3.8 0 1.1.1.2.3.3.6.3z"}})])},h4={render:p4},T2=function(){return _e({name:"IconCloudUpload",component:h4})()},m4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"copy_svg__st0",attrs:{d:"m21.5 5.6-5-5.1-.3-.3s-.1 0-.1-.1H16c-.2 0-.4-.1-.7-.1H7c-.9 0-2 1.1-2 2v1H4c-.9 0-2 1.1-2 2v17c0 .9 1.1 2 2 2h13c.9 0 2-1.1 2-2v-1h1c.9 0 2-1.1 2-2V7c0-.4-.2-1.1-.5-1.4zM16 3l3 3h-3V3zm1 19H4V5h1v14c0 .9 1.2 2 2 2h10v1zm3-3H7V2h7v4c0 .9 1.1 2 2 2h4v11zm-5-9c0-.6-.4-1-.8-1H9.9c-.5 0-.9.4-.9 1s.4 1 .8 1h4.3c.5 0 .9-.4.9-1zm3 3c0-.6-.4-1-.8-1H9.9c-.5 0-.8.4-.8 1s.4 1 .8 1h7.3c.4 0 .8-.4.8-1zm-1 3c0-.6-.4-1-.9-1H9.9c-.5 0-.9.4-.9 1s.4 1 .9 1h6.2c.5 0 .9-.4.9-1z"}})])},f4={render:m4},k2=function(){return _e({name:"IconCopy",component:f4})()},g4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M9.37 1.03c.58 0 1.09.33 1.25.83l.5 1.76h3.01c.25 0 .5.25.5.5s-.25.5-.5.5H1.86c-.25 0-.5-.25-.5-.5s.25-.5.5-.5h2.92l.67-1.76c.17-.5.67-.83 1.17-.83h2.75Zm-2.67.92h2.67c.17 0 .25.08.33.16l.42 1.42H5.87l.5-1.42c0-.08.17-.16.33-.16Zm6.34 3.83c0-.25-.25-.5-.5-.5s-.5.25-.5.5v7.34c0 .5-.42.839-.83.839H4.45c-.5 0-.83-.42-.83-.84V5.78c0-.25-.25-.5-.5-.5s-.5.25-.5.5v7.34c0 1 .83 1.84 1.83 1.84h6.76c1 0 1.83-.84 1.83-1.84V5.78ZM6.28 6.79c.26 0 .51.25.51.5v4.58c0 .17-.09.25-.17.339-.08.08-.25.16-.34.16-.33 0-.5-.25-.5-.5V7.29c0-.25.25-.5.5-.5Zm3.59.5c0-.25-.25-.5-.5-.5s-.5.25-.5.5v4.58c0 .25.25.5.5.5s.5-.25.5-.5V7.29Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},v4={render:g4},C2=function(){return _e({name:"IconDel",component:v4})()},y4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"delta-down_svg__st0",attrs:{d:"M2 6h20L12 19z"}})])},b4={render:y4},w4=function(){return _e({name:"IconDeltaDown",component:b4})()},x4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8.54 2.6c0-.28-.22-.5-.5-.5s-.5.22-.5.5v8.359l-2.02-2.01c-.19-.199-.51-.199-.71 0-.19.19-.19.51 0 .701l2.83 2.83c.2.2.51.2.71 0l2.83-2.83a.502.502 0 0 0 0-.7l-.07-.061a.492.492 0 0 0-.64.06l-1.93 1.93v-8.28ZM14 10.5c.27 0 .5.219.5.5v1.28c0 1.22-1 2.22-2.22 2.22H3.71c-1.22 0-2.21-1-2.21-2.22V11a.501.501 0 0 1 1 0v1.28c0 .67.54 1.22 1.21 1.22h8.57c.67 0 1.22-.55 1.22-1.22V11c0-.281.22-.5.5-.5Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},T4={render:x4},k4=function(){return _e({name:"IconDownload",component:T4})()},C4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticStyle:{"fill-rule":"evenodd","clip-rule":"evenodd"},attrs:{d:"M5.48 14.29c.19-.08.35-.19.49-.33l7.69-7.69c.13-.13.25-.27.34-.42.08-.13.15-.27.21-.41s.1-.29.13-.44a2.074 2.074 0 0 0 0-1c-.03-.15-.07-.3-.13-.44s-.13-.28-.21-.41c-.09-.15-.21-.29-.34-.42-.13-.13-.27-.24-.42-.34-.13-.08-.26-.15-.4-.21-.15-.05-.29-.1-.44-.13-.17-.03-.33-.05-.5-.05-.18 0-.34.02-.51.05-.15.03-.29.08-.44.13-.14.06-.27.13-.4.21-.15.1-.29.21-.42.34l-7.69 7.69c-.15.15-.25.31-.33.49-.08.18-.11.38-.11.58v2.21c0 .1.01.19.05.27.03.08.08.16.15.22.07.07.14.12.23.16.08.03.17.05.27.05h2.21c.2 0 .39-.04.57-.11zm7.48-8.73-1.13 1.13-2.12-2.13 1.12-1.12c.09-.08.18-.15.27-.21.07-.05.15-.09.23-.12.08-.03.17-.06.25-.08a1.733 1.733 0 0 1 .63 0c.08.02.17.05.25.08.08.03.16.07.23.12.09.06.18.13.27.21.08.08.15.17.21.27.04.07.08.15.12.23.03.08.05.16.07.25.02.1.04.2.04.31s-.02.21-.04.31c-.02.09-.04.17-.07.25-.08.19-.19.36-.33.5zm-7.7 7.69 5.86-5.86L9 5.27l-5.86 5.86c-.1.1-.14.22-.14.36v1.91h1.91c.14 0 .26-.05.35-.15zm2.75.63c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5s-.22.5-.5.5h-5c-.28 0-.5-.22-.5-.5z"}})])},A4={render:C4},S4=function(){return _e({name:"IconEdit",component:A4})()},E4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticStyle:{"fill-rule":"evenodd","clip-rule":"evenodd"},attrs:{d:"M5.48 14.29c.19-.08.35-.19.49-.33l7.69-7.69c.13-.13.25-.27.34-.42.08-.13.15-.27.21-.41s.1-.29.13-.44a2.074 2.074 0 0 0 0-1c-.03-.15-.07-.3-.13-.44s-.13-.28-.21-.41c-.09-.15-.21-.29-.34-.42-.13-.13-.27-.24-.42-.34-.13-.08-.26-.15-.4-.21-.15-.05-.29-.1-.44-.13-.17-.03-.33-.05-.5-.05-.18 0-.34.02-.51.05-.15.03-.29.08-.44.13-.14.06-.27.13-.4.21-.15.1-.29.21-.42.34l-7.69 7.69c-.15.15-.25.31-.33.49-.08.18-.11.38-.11.58v2.21c0 .1.01.19.05.27.03.08.08.16.15.22.07.07.14.12.23.16.08.03.17.05.27.05h2.21c.2 0 .39-.04.57-.11zm7.48-8.73-1.13 1.13-2.12-2.13 1.12-1.12c.09-.08.18-.15.27-.21.07-.05.15-.09.23-.12.08-.03.17-.06.25-.08a1.733 1.733 0 0 1 .63 0c.08.02.17.05.25.08.08.03.16.07.23.12.09.06.18.13.27.21.08.08.15.17.21.27.04.07.08.15.12.23.03.08.05.16.07.25.02.1.04.2.04.31s-.02.21-.04.31c-.02.09-.04.17-.07.25-.08.19-.19.36-.33.5zm-7.7 7.69 5.86-5.86L9 5.27l-5.86 5.86c-.1.1-.14.22-.14.36v1.91h1.91c.14 0 .26-.05.35-.15zm2.75.63c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5s-.22.5-.5.5h-5c-.28 0-.5-.22-.5-.5z"}})])},$4={render:E4},P4=function(){return _e({name:"IconEditor",component:$4})()},_4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M2.55 7.96v.08c.02.65.55 1.16 1.2 1.16.66 0 1.2-.53 1.2-1.2 0-.66-.54-1.2-1.2-1.2-.65 0-1.18.52-1.2 1.16ZM6.79 8.01c0 .66.53 1.2 1.2 1.2.66 0 1.2-.54 1.2-1.2 0-.67-.54-1.2-1.2-1.2-.67 0-1.2.53-1.2 1.2ZM11.03 7.96v.08c.02.64.55 1.16 1.2 1.16.66 0 1.2-.54 1.2-1.2 0-.67-.54-1.2-1.2-1.2-.65 0-1.18.51-1.2 1.16Z"}})])},M4={render:_4},L4=function(){return _e({name:"IconEllipsis",component:M4})()},I4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{"data-name":"图层 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"}},e.$listeners),[o("path",{staticStyle:{"fill-rule":"evenodd",fill:"var(--tv-color-error-icon)"},attrs:{"data-name":"路径",d:"M8 1C4.13 1 1 4.13 1 8s3.13 7 7 7 7-3.14 7-7-3.14-7-7-7Z"}}),o("path",{staticStyle:{fill:"#fff","fill-rule":"evenodd"},attrs:{"data-name":"形状结合",d:"M10.62 4.9c.13 0 .24.05.34.14.09.09.14.2.14.34s-.05.24-.14.34L8.67 8.01l2.29 2.29c.09.09.14.2.14.34a.476.476 0 0 1-.48.48c-.14 0-.24-.05-.34-.14L7.99 8.69 5.7 10.98c-.09.09-.2.14-.34.14a.476.476 0 0 1-.48-.48c0-.14.05-.24.14-.34l2.29-2.29-2.29-2.29c-.09-.09-.14-.2-.14-.34a.476.476 0 0 1 .48-.48c.14 0 .24.05.34.14l2.29 2.29 2.29-2.29c.09-.09.2-.14.34-.14Z"}})])},N4={render:I4},Is=function(){return _e({name:"IconError",component:N4})()},O4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{attrs:{d:"m3.49 5.21.72.72-.23.18c-.16.13-.3.27-.46.4l-.25.23c-.39.39-.75.79-1.05 1.2L2.16 8l-.05.06-.17.24.28.38.19.24c.33.4.7.8 1.1 1.19l.18.16c1.32 1.18 2.78 1.87 4.32 1.87h.23c.61-.02 1.21-.17 1.78-.4l.76.76-.22.1c-.81.35-1.67.55-2.56.55h-.22c-1.81-.06-3.47-.92-4.95-2.29l-.27-.25c-.42-.42-.81-.86-1.15-1.3l-.04-.09-.05-.06-.17-.24-.14-.19-.1-.16-.04-.07a.5.5 0 0 1 0-.38l.04-.08.1-.16.13-.19.17-.24.1-.13.21-.27c.35-.44.76-.87 1.2-1.28.22-.19.44-.39.67-.56zm.27-2.35h.07c.1.01.19.06.28.15l1.12 1.12c.88-.42 1.8-.65 2.77-.65h.23c1.81.06 3.47.92 4.95 2.29l.27.25c.42.42.81.86 1.15 1.3l.05.07.05.06.17.24.13.19.1.16.04.07c.05.12.05.25.01.38l-.05.09-.1.16-.13.19-.17.25-.1.13-.2.27c-.35.44-.76.87-1.2 1.28l-.24.22c-.13.12-.28.24-.42.35l.79.79.05.06c.15.19.13.47-.05.65l-.06.05c-.19.15-.47.13-.65-.05l-.94-.93-.73-.73-1.33-1.33-.21-.22-6-6.01-.05-.06c-.15-.2-.14-.47.05-.66a.52.52 0 0 1 .35-.13zM5.3 7.02l.78.78-.03.12c-.03.13-.04.25-.04.38v.12c.05 1.06.92 1.88 1.99 1.88h.13c.13-.01.25-.04.39-.06l.78.78-.15.06c-.35.15-.74.23-1.14.23h-.14a2.993 2.993 0 0 1-2.86-2.99c-.02-.48.09-.91.29-1.3zM8 4.47h-.22c-.62.03-1.21.16-1.79.4l.73.73c.39-.18.82-.29 1.3-.29h.15c1.59.07 2.86 1.38 2.86 2.99v.17c-.02.4-.12.79-.29 1.13l1.09 1.09c.23-.18.46-.38.69-.59l.24-.23c.39-.39.75-.79 1.05-1.2l.05-.06.05-.06.18-.25-.28-.38-.19-.24c-.33-.4-.7-.8-1.1-1.19l-.18-.16C10.98 5.16 9.54 4.47 8 4.47zM8 6.3h-.13c-.14.02-.26.03-.38.06l2.45 2.45c.05-.17.07-.34.07-.52v-.12A2.02 2.02 0 0 0 8 6.3z"}})])},D4={render:O4},A2=function(){return _e({name:"IconEyeclose",component:D4})()},B4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticClass:"eyeopen_svg__st1",attrs:{d:"M8 3.16c1.89 0 3.63.87 5.17 2.3.53.5 1 1.02 1.41 1.55.03.05.07.09.1.14l.17.23.14.2.1.15c.1.16.1.37 0 .53l-.1.15-.14.2-.17.23-.1.14c-.41.52-.88 1.05-1.41 1.55-1.54 1.43-3.28 2.3-5.17 2.3-1.9 0-3.64-.87-5.18-2.3-.53-.5-1-1.03-1.41-1.55-.03-.05-.07-.09-.1-.14l-.17-.23-.14-.2-.1-.15c-.1-.16-.1-.37 0-.53l.1-.15.14-.2.17-.23.1-.14c.41-.53.88-1.05 1.41-1.55C4.36 4.03 6.1 3.16 8 3.16zm0 1c-1.61 0-3.12.76-4.5 2.03-.49.46-.92.95-1.3 1.43l-.09.12-.18.25.27.38c.38.48.81.97 1.3 1.42 1.38 1.28 2.89 2.04 4.5 2.04 1.6 0 3.11-.76 4.49-2.04.49-.45.92-.94 1.3-1.42l.09-.12.18-.26-.27-.37c-.38-.48-.81-.97-1.3-1.43C11.11 4.92 9.6 4.16 8 4.16zM8 5c1.65 0 3 1.34 3 3 0 1.65-1.35 3-3 3-1.66 0-3-1.35-3-3 0-1.66 1.34-3 3-3zm0 1c-1.11 0-2 .89-2 2a2 2 0 1 0 2-2z"}})])},q4={render:B4},S2=function(){return _e({name:"IconEyeopen",component:q4})()},F4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M9.311 9.033a.5.5 0 0 1 .41-.492l.09-.008h3.039c.593 0 1.08.449 1.143 1.025l.007.125v2.53a1.15 1.15 0 0 1-1.025 1.143l-.125.007H9.811a.5.5 0 0 1-.09-.992l.09-.008h3.039a.15.15 0 0 0 .142-.103l.008-.047v-2.53a.15.15 0 0 0-.103-.142l-.047-.008H9.811a.5.5 0 0 1-.5-.5Zm0-5.834a.5.5 0 0 1 .41-.492l.09-.008h1.01c.593 0 1.081.448 1.144 1.024l.006.126v2.53a1.15 1.15 0 0 1-1.024 1.143l-.126.007h-1.01a.5.5 0 0 1-.09-.992l.09-.008h1.01a.15.15 0 0 0 .143-.103l.007-.047v-2.53a.15.15 0 0 0-.102-.143L10.82 3.7h-1.01a.5.5 0 0 1-.5-.5Zm-2.006-.67a.5.5 0 0 1 .992-.094l.008.094v11a.5.5 0 0 1-.992.09l-.008-.09v-11ZM2 9.683c0-.593.449-1.08 1.025-1.143l.125-.007h2.651a.5.5 0 0 1 .09.992l-.09.008H3.15a.15.15 0 0 0-.142.103L3 9.683v2.53a.15.15 0 0 0 .103.142l.047.008h2.651a.5.5 0 0 1 .09.992l-.09.008H3.15a1.15 1.15 0 0 1-1.143-1.025L2 12.213v-2.53ZM3.971 3.85c0-.593.449-1.081 1.025-1.144l.125-.006h.68a.5.5 0 0 1 .09.992l-.09.008h-.68a.15.15 0 0 0-.142.102l-.008.048v2.53a.15.15 0 0 0 .103.142l.047.008h.68a.5.5 0 0 1 .09.992l-.09.008h-.68a1.15 1.15 0 0 1-1.143-1.025l-.007-.125v-2.53Z"}})])},R4={render:F4},E2=function(){return _e({name:"EditorAlignCenter",component:R4})()},j4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M4.498 8.498c-.644 0-1.166.523-1.166 1.167v2.5c0 .644.522 1.167 1.166 1.167h5.664a1.17 1.17 0 0 0 1.17-1.167v-2.5a1.17 1.17 0 0 0-1.17-1.167ZM1.835 2.672a.5.5 0 0 0-.492.41l-.008.09v9.656a.5.5 0 0 0 .992.09l.008-.09V3.172a.5.5 0 0 0-.5-.5Zm2.663 6.826h5.664a.17.17 0 0 1 .17.167v2.5a.17.17 0 0 1-.17.167H4.498a.167.167 0 0 1-.166-.167v-2.5c0-.092.074-.167.166-.167Zm0-6.83c-.644 0-1.166.523-1.166 1.167v2.5c0 .644.522 1.167 1.166 1.167h8.997a1.17 1.17 0 0 0 1.17-1.167v-2.5a1.17 1.17 0 0 0-1.17-1.167Zm-.006 1h9.003a.17.17 0 0 1 .17.167v2.5a.17.17 0 0 1-.17.167H4.492a.167.167 0 0 1-.167-.167v-2.5c0-.092.075-.167.167-.167Z"}})])},z4={render:j4},$2=function(){return _e({name:"EditorAlignLeft",component:z4})()},U4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M11.502 8.498c.644 0 1.166.523 1.166 1.167v2.5c0 .644-.522 1.167-1.166 1.167H5.838a1.17 1.17 0 0 1-1.17-1.167v-2.5a1.17 1.17 0 0 1 1.17-1.167Zm2.663-5.826a.5.5 0 0 1 .492.41l.008.09v9.656a.5.5 0 0 1-.992.09l-.008-.09V3.172a.5.5 0 0 1 .5-.5Zm-2.663 6.826H5.838a.17.17 0 0 0-.17.167v2.5a.17.17 0 0 0 .17.167h5.664a.167.167 0 0 0 .166-.167v-2.5a.167.167 0 0 0-.166-.167Zm0-6.83c.644 0 1.166.523 1.166 1.167v2.5c0 .644-.522 1.167-1.166 1.167H2.505a1.17 1.17 0 0 1-1.17-1.167v-2.5a1.17 1.17 0 0 1 1.17-1.167Zm.006 1H2.505a.17.17 0 0 0-.17.167v2.5a.17.17 0 0 0 .17.167h9.003a.167.167 0 0 0 .167-.167v-2.5a.167.167 0 0 0-.167-.167Z"}})])},V4={render:U4},P2=function(){return _e({name:"EditorAlignRight",component:V4})()},H4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M11.062 1.97c.397 0 .795.153 1.099.458.604.604.61 1.577.013 2.173L7.177 9.6a.655.655 0 0 1-.187.132l-2.764 1.303a.505.505 0 0 1-.67-.671l1.302-2.764a.664.664 0 0 1 .132-.187l4.997-4.997a1.514 1.514 0 0 1 1.075-.444ZM9.86 3.956 5.738 8.078l-.69 1.462 1.463-.69 4.122-4.122-.773-.773Zm1.202-.984-.047.002a.511.511 0 0 0-.321.15l-.127.125.773.773.127-.126a.515.515 0 0 0 .149-.325l.002-.047a.551.551 0 0 0-.164-.388.554.554 0 0 0-.392-.164ZM12.333 12.207a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-.5.5H3.667a.5.5 0 0 1-.5-.5v-1.5a.5.5 0 0 1 .5-.5Z"}})])},Q4={render:H4},_2=function(){return _e({name:"EditorBackground",component:Q4})()},K4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8.549 1.167a3.417 3.417 0 0 1 2.238 5.998 4.08 4.08 0 0 1 2.128 3.585 4.083 4.083 0 0 1-4.083 4.083.67.67 0 0 1-.139-.015l-.066.01-.078.005H4.75a1.667 1.667 0 0 1-1.663-1.557l-.004-.11V2.834c0-.883.688-1.606 1.557-1.663l.11-.003h3.798ZM4.417 8v5.167c0 .163.119.3.274.328l.06.005h3.798a.67.67 0 0 1 .14.015.67.67 0 0 1 .143-.016 2.75 2.75 0 1 0 0-5.499H4.417ZM8.55 2.5H4.75c-.163 0-.3.118-.328.273l-.005.06v3.834h4.13a2.083 2.083 0 0 0 0-4.167Z"}})])},G4={render:K4},M2=function(){return _e({name:"EditorBold",component:G4})()},W4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M9.73 3.675a.5.5 0 0 1 .299.585l-.021.065-3.089 7.721a.5.5 0 0 1-.95-.306l.022-.065 3.088-7.721a.5.5 0 0 1 .65-.279Zm-4.662.112a.5.5 0 0 1 .05.651l-.048.057-3.045 3.06a.657.657 0 0 0-.054.866l.054.062 3.007 3.023a.5.5 0 0 1-.653.754l-.056-.049L1.316 9.19a1.657 1.657 0 0 1-.08-2.252l.08-.087 3.045-3.06a.5.5 0 0 1 .707-.003Zm6.515-.046.056.048 3.045 3.06c.616.62.643 1.603.08 2.253l-.08.087-3.004 3.02a.5.5 0 0 1-.758-.65l.049-.056 3.004-3.02a.657.657 0 0 0 .054-.866l-.054-.062-3.045-3.06a.5.5 0 0 1 .653-.754Z"}})])},Y4={render:W4},L2=function(){return _e({name:"EditorCode",component:Y4})()},X4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M13.333 7.5a.5.5 0 0 1 .068.995l-.068.005H2.667a.5.5 0 0 1-.068-.995l.068-.005h10.666Z"}}),o("path",{attrs:{d:"M7.82 1.5c-1.189 0-2.158.293-2.913.878-.788.595-1.179 1.378-1.179 2.359 0 .995.41 1.76 1.242 2.308.46.321 1.27.66 2.426 1.013l1.055.31c.855.26 1.445.479 1.771.66.775.422 1.17 1.042 1.17 1.847 0 1.722-1.143 2.586-3.375 2.586-1.068 0-1.874-.224-2.42-.678-.382-.328-.669-.787-.86-1.378a24.088 24.088 0 0 1-.2-.718.519.519 0 0 0-.616-.37.531.531 0 0 0-.406.609c.05.284.093.493.132.628.52 1.822 1.813 2.795 3.895 2.93l.255.012.263.004c3.007 0 4.485-1.228 4.485-3.698 0-1.027-.432-1.833-1.306-2.428-.557-.381-1.524-.766-2.899-1.152l-.542-.167c-.856-.271-1.474-.509-1.858-.715-.7-.406-1.058-.951-1.058-1.627 0-.654.28-1.189.831-1.597.527-.385 1.223-.577 2.085-.577 1.04 0 1.826.233 2.353.702.402.338.69.831.867 1.478l.12.464a.523.523 0 0 0 .647.371.554.554 0 0 0 .39-.662c-.056-.235-.095-.39-.115-.469-.476-1.805-1.713-2.77-3.73-2.906l-.25-.013-.26-.004Z"}})])},Z4={render:X4},I2=function(){return _e({name:"EditorDeleteline",component:Z4})()},J4=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8.588 1.99a2.002 2.002 0 0 1 2.83 0l2.591 2.591a2 2 0 0 1 0 2.83L7.412 14.01a2.002 2.002 0 0 1-2.83 0L1.99 11.419a2.003 2.003 0 0 1 0-2.831Zm4.703 11.177a.5.5 0 0 1 .067.995l-.067.005H10a.5.5 0 0 1-.068-.996l.068-.004h3.29ZM3.757 8.235l-1.06 1.06a1.003 1.003 0 0 0 0 1.417l2.592 2.59c.39.391 1.025.391 1.416 0l1.06-1.06-4.008-4.007Zm6.954-5.537a1.002 1.002 0 0 0-1.416 0l-4.83 4.83 4.006 4.007 4.831-4.83a1 1 0 0 0 .084-1.322l-.084-.095Z"}})])},eE={render:J4},N2=function(){return _e({name:"EditorEraser",component:eE})()},tE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M4.667 14.667a.5.5 0 0 1-.068-.996l.068-.004h1.596l2.45-11.334h-1.38a.5.5 0 0 1-.068-.995l.068-.005h4a.5.5 0 0 1 .068.996l-.068.004H9.737L7.286 13.666h1.38a.5.5 0 0 1 .069.996l-.068.005h-4Z"}})])},nE={render:tE},O2=function(){return _e({name:"EditorItalic",component:nE})()},oE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M2 2.667a.5.5 0 0 1 .995-.068L3 2.667v11a.5.5 0 0 1-.995.068L2 13.667v-11ZM14 4a2 2 0 0 0-1.882-1.997L12 2H4.167a.5.5 0 0 0-.068.995L4.167 3H12a1 1 0 0 1 .995.904L13 4v8a1 1 0 0 1-.904.995L12 13H4.167a.5.5 0 0 0-.068.995l.068.005H12a2 2 0 0 0 1.997-1.882L14 12V4Z"}})])},rE={render:oE},D2=function(){return _e({name:"EditorLeftBorder",component:rE})()},iE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M3.47 4c0-.42-.33-.75-.75-.75a.749.749 0 1 0 0 1.5c.42 0 .75-.34.75-.75Zm10.58 0c0-.28-.22-.5-.5-.5H5.1c-.27 0-.5.22-.5.5 0 .27.23.5.5.5h8.45c.28 0 .5-.23.5-.5ZM2.72 7.25c.42 0 .75.33.75.75a.749.749 0 1 1-1.5 0c0-.42.34-.75.75-.75ZM14.05 8c0-.28-.22-.5-.5-.5H5.1c-.27 0-.5.22-.5.5 0 .27.23.5.5.5h8.45c.28 0 .5-.23.5-.5ZM3.47 12c0-.42-.33-.75-.75-.75a.749.749 0 1 0 0 1.5c.42 0 .75-.34.75-.75Zm10.08-.5c.28 0 .5.22.5.5 0 .27-.22.5-.5.5H5.1c-.27 0-.5-.23-.5-.5 0-.28.23-.5.5-.5h8.45Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},aE={render:iE},B2=function(){return _e({name:"EditorList",component:aE})()},sE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M3.74 12.01a.666.666 0 1 1 .002 1.331.666.666 0 0 1-.001-1.332Zm8.686.146a.5.5 0 0 1 .068.996l-.068.004H5.76a.5.5 0 0 1-.067-.995l.067-.005h6.667ZM3.741 7.324a.666.666 0 1 1 0 1.332.666.666 0 0 1 0-1.332Zm8.685.166a.5.5 0 0 1 .068.996l-.068.004H5.76a.5.5 0 0 1-.067-.995l.067-.005h6.667ZM3.741 2.658a.666.666 0 1 1 0 1.332.666.666 0 0 1 0-1.332Zm8.685.166a.5.5 0 0 1 .068.996l-.068.004H5.76a.5.5 0 0 1-.067-.995l.067-.005h6.667Z"}})])},lE={render:sE},q2=function(){return _e({name:"EditorListDot",component:lE})()},cE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12.426 12.156a.5.5 0 0 1 .068.996l-.068.004H6.76a.5.5 0 0 1-.067-.995l.067-.005h5.667Zm0-4.666a.5.5 0 0 1 .068.996l-.068.004H6.76a.5.5 0 0 1-.067-.995l.067-.005h5.667Zm0-4.666a.5.5 0 0 1 .068.996l-.068.004H6.76a.5.5 0 0 1-.067-.995l.067-.005h5.667ZM4.3 1.65c.157 0 .287.111.317.259l.007.065v1.99h.602a.324.324 0 0 1 .065.642l-.065.007H3.374a.324.324 0 0 1-.065-.642l.065-.006h.601V2.298h-.6a.324.324 0 0 1-.318-.259l-.007-.065c0-.157.111-.287.259-.317l.065-.007H4.3ZM3.358 6.658a1.053 1.053 0 0 1 1.577 1.39l-.088.1-.603.602h.721c.17 0 .31.12.343.28l.007.07c0 .17-.12.31-.28.343l-.07.007H3.4a.35.35 0 0 1-.295-.54l.048-.057 1.2-1.2a.353.353 0 1 0-.597-.317l-.006.07a.35.35 0 1 1-.7.004 1.05 1.05 0 0 1 .308-.752ZM4.2 10.95c.632 0 1.15.439 1.15 1.04 0 .195-.05.358-.139.489l-.082.1c.14.163.221.37.221.612 0 .602-.518 1.04-1.15 1.04-.632 0-1.15-.438-1.15-1.04a.35.35 0 0 1 .693-.07l.007.07c0 .187.182.34.45.34s.45-.153.45-.34c0-.17-.165-.297-.45-.297a.35.35 0 1 1 0-.7c.328 0 .45-.074.45-.203 0-.187-.182-.341-.45-.341-.204 0-.372.114-.429.263l-.017.066a.35.35 0 1 1-.692-.105c.08-.534.57-.924 1.138-.924Z"}})])},uE={render:cE},F2=function(){return _e({name:"EditorListNum",component:uE})()},dE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M13.5 12.833a.5.5 0 0 1 .068.996l-.068.004h-11a.5.5 0 0 1-.068-.995l.068-.005h11ZM4.597 5.362c.21-.21.57-.06.57.236v4.805c0 .296-.36.445-.57.236l-2.26-2.262a.532.532 0 0 1 0-.754ZM13.5 9.278a.5.5 0 0 1 .068.995l-.068.005H6.833a.5.5 0 0 1-.068-.995l.068-.005H13.5Zm0-3.556a.5.5 0 0 1 .068.996l-.068.004H6.833a.5.5 0 0 1-.068-.995l.068-.005H13.5Zm0-3.555a.5.5 0 0 1 .068.995l-.068.005h-11a.5.5 0 0 1-.068-.996l.068-.004h11Z"}})])},pE={render:dE},R2=function(){return _e({name:"EditorMenuLeft",component:pE})()},hE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M13.5 12.833a.5.5 0 0 1 .068.996l-.068.004h-11a.5.5 0 0 1-.068-.995l.068-.005h11ZM2.167 5.598c0-.297.358-.446.569-.236l2.26 2.261a.532.532 0 0 1 0 .754l-2.26 2.261a.333.333 0 0 1-.57-.235ZM13.5 9.278a.5.5 0 0 1 .068.995l-.068.005H6.833a.5.5 0 0 1-.068-.995l.068-.005H13.5Zm0-3.556a.5.5 0 0 1 .068.996l-.068.004H6.833a.5.5 0 0 1-.068-.995l.068-.005H13.5Zm0-3.555a.5.5 0 0 1 .068.995l-.068.005h-11a.5.5 0 0 1-.068-.996l.068-.004h11Z"}})])},mE={render:hE},Fm=function(){return _e({name:"EditorMenuRight",component:mE})()},fE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M6.2 2.7a.3.3 0 0 1 .3.3v3.7h-.003v.048C6.396 10.198 4.232 13 1.5 13a.5.5 0 1 1 0-1c2.125 0 3.92-2.33 3.997-5.299L2.8 6.7a.3.3 0 0 1-.3-.3V3a.3.3 0 0 1 .3-.3h3.4Zm7 0a.3.3 0 0 1 .3.3v3.7h-.003v.048C13.396 10.198 11.232 13 8.5 13a.5.5 0 1 1 0-1c2.125 0 3.92-2.33 3.997-5.299L9.8 6.7a.3.3 0 0 1-.3-.3V3a.3.3 0 0 1 .3-.3h3.4Z"}})])},gE={render:fE},j2=function(){return _e({name:"EditorQuote",component:gE})()},vE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"m10.326 3.313 3.86 3.862a.834.834 0 0 1 0 1.179l-3.861 3.862a.828.828 0 0 1-.907.18.83.83 0 0 1-.515-.77L8.902 9.94c-1.688.05-3.127.357-4.283.913a.499.499 0 1 1-.434-.901c1.405-.676 3.16-1.02 5.218-1.02a.5.5 0 0 1 .5.5v1.794l3.46-3.46-3.46-3.46v1.793a.5.5 0 0 1-.41.492l-.09.008c-2.582 0-4.514.987-5.744 2.933C2.732 11 2.568 12.47 2.567 12.483a.5.5 0 1 1-.995-.104c.007-.067.757-6.46 7.33-6.77V3.904a.83.83 0 0 1 .516-.77.83.83 0 0 1 .908.18Z"}})])},yE={render:vE},z2=function(){return _e({name:"EditorRedo",component:yE})()},bE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M14 2.5a.5.5 0 0 0-.995-.068L13 2.5v11a.5.5 0 0 0 .995.068L14 13.5v-11ZM2 4a2 2 0 0 1 1.882-1.997L4 2h7.833a.5.5 0 0 1 .068.995L11.833 3H4a1 1 0 0 0-.995.904L3 4v8a1 1 0 0 0 .904.995L4 13h7.833a.5.5 0 0 1 .068.995l-.068.005H4a2 2 0 0 1-1.997-1.882L2 12V4Z"}})])},wE={render:bE},U2=function(){return _e({name:"EditorRightBorder",component:wE})()},xE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8.89 3.506a.5.5 0 0 1 .684.726L6.368 7.846l3.206 3.614a.5.5 0 0 1-.683.725l-.066-.062L5.7 8.6l-3.125 3.524-.066.062a.5.5 0 0 1-.683-.725L5.03 7.846 1.826 4.232a.5.5 0 0 1 .683-.726l.066.062L5.7 7.092l3.125-3.524ZM11.075 7.975a1.964 1.964 0 0 1 2.893 2.654l-.114.125-1.647 1.645 2.054.001a.5.5 0 0 1 .492.41l.008.09a.5.5 0 0 1-.41.492l-.09.008H11a.5.5 0 0 1-.41-.788l.056-.066 2.5-2.5a.964.964 0 1 0-1.638-.803l-.008.128a.5.5 0 0 1-1 .006 1.96 1.96 0 0 1 .575-1.402Z"}})])},TE={render:xE},V2=function(){return _e({name:"EditorSub",component:TE})()},kE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M2.8 2.496a.5.5 0 0 1 .492.41l.008.09v10a.5.5 0 0 1-.992.09l-.008-.09v-10a.5.5 0 0 1 .5-.5ZM8.8 2.496a.5.5 0 0 1 .492.41l.008.09v10a.5.5 0 0 1-.992.09l-.008-.09v-10a.5.5 0 0 1 .5-.5Z"}}),o("path",{attrs:{d:"M14.06 12.8H10.8l2.5-2.5a1.464 1.464 0 1 0-2.5-1.026",fill:"#fff"}}),o("path",{attrs:{d:"M8.8 7.5a.5.5 0 0 1 .09.992L8.8 8.5h-6a.5.5 0 0 1-.09-.992L2.8 7.5h6Z"}})])},CE={render:kE},H2=function(){return _e({name:"EditorSubtitle",component:CE})()},AE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M11.075 1.975a1.964 1.964 0 0 1 2.893 2.654l-.114.125-1.647 1.645 2.054.001a.5.5 0 0 1 .492.41l.008.09a.5.5 0 0 1-.41.492l-.09.008H11a.5.5 0 0 1-.41-.788l.056-.066 2.5-2.5a.964.964 0 1 0-1.638-.803l-.008.128a.5.5 0 0 1-1 .006 1.96 1.96 0 0 1 .575-1.402ZM8.891 3.715a.5.5 0 0 1 .683.725L6.368 8.057l3.2 3.611a.5.5 0 0 1-.682.726l-.066-.062L5.7 8.81l-3.12 3.522-.066.062a.5.5 0 0 1-.683-.726l3.2-3.61L1.826 4.44a.5.5 0 0 1 .683-.725l.065.062L5.7 7.303l3.126-3.526Z"}})])},SE={render:AE},Q2=function(){return _e({name:"EditorSuper",component:SE})()},EE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12 2.002a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2ZM5.641 6.5H3v5.503a1 1 0 0 0 .883.994l.117.006h1.641V6.5Zm3.667 0H6.641v6.503h2.667V6.5ZM13 6.497l-.025.003h-2.667v6.502H12a1 1 0 0 0 .993-.883l.007-.117V6.497Zm-1-3.495H4a1 1 0 0 0-1 1V5.5l9.975.001.025.001V4.002a1 1 0 0 0-.883-.993L12 3.002Z"}})])},$E={render:EE},K2=function(){return _e({name:"EditorTable",component:$E})()},PE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12.333 12.207a.5.5 0 0 1 .492.41l.008.09v1.5a.5.5 0 0 1-.41.492l-.09.008H3.667a.5.5 0 0 1-.492-.41l-.008-.09v-1.5a.5.5 0 0 1 .41-.492l.09-.008h8.666ZM9.036 1.959l.043.099 3.387 8.72a.5.5 0 0 1-.903.424l-.03-.062-1.272-3.276H5.738L4.466 11.14a.5.5 0 0 1-.952-.297l.02-.065 3.387-8.72a1.141 1.141 0 0 1 2.115-.099Zm-1.16.415-.023.046-1.726 4.444h3.746L8.147 2.42c-.06-.153-.197-.168-.271-.046Z"}})])},_E={render:PE},G2=function(){return _e({name:"EditorTextcolor",component:_E})()},ME=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M2.8 2.496a.5.5 0 0 1 .492.41l.008.09v10a.5.5 0 0 1-.992.09l-.008-.09v-10a.5.5 0 0 1 .5-.5ZM8.8 2.496a.5.5 0 0 1 .492.41l.008.09v10a.5.5 0 0 1-.992.09l-.008-.09v-10a.5.5 0 0 1 .5-.5Z"}}),o("path",{attrs:{d:"M8.8 7.5a.5.5 0 0 1 .09.992L8.8 8.5h-6a.5.5 0 0 1-.09-.992L2.8 7.5h6Z"}}),o("path",{attrs:{fill:"#fff",d:"m11.178 8.78 1.7-.942v5.238"}})])},LE={render:ME},W2=function(){return _e({name:"EditorTitle",component:LE})()},IE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12.333 13.667a.5.5 0 0 1 .068.996l-.068.004H3.667a.5.5 0 0 1-.068-.995l.068-.005h8.666Zm-.396-12.334a.5.5 0 0 1 .495.432l.005.068V8.23a4.437 4.437 0 0 1-8.871.156l-.003-.156V1.833a.5.5 0 0 1 .996-.068l.004.068V8.23a3.437 3.437 0 0 0 6.87.145l.004-.145V1.833a.5.5 0 0 1 .5-.5Z"}})])},NE={render:IE},Y2=function(){return _e({name:"EditorUnderline",component:NE})()},OE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"m6.574 6.158-.04-.01a.496.496 0 0 1-.076-.027l.031.013a.498.498 0 0 1-.318-.4l-.004-.067V3.873l-3.46 3.46 3.46 3.46V9l.002-.035.006-.055a.508.508 0 0 1 .424-.406l.068-.004c2.136 0 3.862.366 5.217 1.02a.5.5 0 1 1-.434.9c-1.111-.535-2.526-.86-4.283-.913V12a.5.5 0 0 1-.802.399l-.052-.045-4.667-4.667a.5.5 0 0 1-.048-.651l.048-.056 4.667-4.667a.5.5 0 0 1 .85.285l.004.069v2.511c2.828.132 4.824 1.385 6.09 3.388a8.747 8.747 0 0 1 1.016 2.31l.042.154.07.284.053.25.037.212c.01.065.017.122.022.172a.5.5 0 0 1-.994.104l-.016-.112-.02-.123A7.759 7.759 0 0 0 12.41 9.1c-1.162-1.84-3.006-2.934-5.744-2.934l-.093-.009Z"}})])},DE={render:OE},X2=function(){return _e({name:"EditorUndo",component:DE})()},BE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M9.757 2.833a2 2 0 0 1 1.997 1.883l.003.117v.53l1.621-.856a1.222 1.222 0 0 1 1.79.986l.004.094v4.826c0 .89-.913 1.47-1.71 1.121l-.085-.041-.646-.343a.5.5 0 0 1 .407-.91l.062.027.645.342a.222.222 0 0 0 .322-.148l.005-.048V5.587a.222.222 0 0 0-.281-.214l-.045.018-2.355 1.245a.5.5 0 0 1-.73-.373l-.004-.069v-1.36a1 1 0 0 0-.903-.996l-.097-.005H2.828a1 1 0 0 0-.995.904l-.005.096v6.334a1 1 0 0 0 .904.995l.096.005h6.93a1 1 0 0 0 .995-.904l.004-.096V7.893a.5.5 0 0 1 .996-.066l.004.066v3.274a2 2 0 0 1-1.882 1.996l-.118.004H2.828a2 2 0 0 1-1.997-1.883l-.003-.117V4.833A2 2 0 0 1 2.71 2.837l.118-.004h6.93ZM4.5 5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm0 .833a.667.667 0 1 0 0 1.334.667.667 0 0 0 0-1.334Z"}})])},qE={render:BE},Z2=function(){return _e({name:"EditorVideo",component:qE})()},FE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"fullscreen_svg__st0",attrs:{d:"M8 3H4.5l5.2 5.3c.4.4.4 1 0 1.4-.4.4-1 .4-1.4 0L3 4.3V8c0 .6-.4 1-1 1s-1-.4-1-1V2c0-.6.4-1 1-1h6c.5 0 1 .4 1 1s-.4 1-1 1zM8 21H4.5l5.2-5.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L3 19.7V16c0-.6-.4-1-1-1s-1 .4-1 1v6c0 .6.4 1 1 1h6c.5 0 1-.4 1-1s-.4-1-1-1zM16 3h3.5l-5.2 5.3c-.4.4-.4 1 0 1.4.4.4 1 .4 1.4 0L21 4.3V8c0 .6.4 1 1 1s1-.4 1-1V2c0-.6-.4-1-1-1h-6c-.5 0-1 .4-1 1s.4 1 1 1zM16 21h3.5l-5.2-5.3c-.4-.4-.4-1 0-1.4.4-.4 1-.4 1.4 0l5.3 5.4V16c0-.6.4-1 1-1s1 .4 1 1v6c0 .6-.4 1-1 1h-6c-.5 0-1-.4-1-1s.4-1 1-1z"}})])},RE={render:FE},Ns=function(){return _e({name:"IconFullscreen",component:RE})()},jE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M4 0h8c2.2 0 4 1.79 4 4v8c0 2.2-1.8 4-4 4H4c-2.21 0-4-1.8-4-4V4c0-2.21 1.79-4 4-4Zm6 5H6c-.56 0-1 .44-1 1v4c0 .55.44 1 1 1h4c.55 0 1-.45 1-1V6c0-.56-.45-1-1-1Z",fill:"currentColor","fill-rule":"evenodd"}}),o("path",{attrs:{d:"M6 5h4c.55 0 1 .44 1 1v4c0 .55-.45 1-1 1H6c-.56 0-1-.45-1-1V6c0-.56.44-1 1-1Z",fill:"#FFF","fill-rule":"evenodd"}})])},zE={render:jE},Wu=function(){return _e({name:"IconHalfselect",component:zE})()},UE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M15 8c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7 0 3.86 3.13 7 7 7 3.86 0 7-3.14 7-7ZM2 8c0-3.32 2.68-6 6-6 3.31 0 6 2.68 6 6 0 3.31-2.69 6-6 6-3.32 0-6-2.69-6-6Zm8.2-1.28c0-1.23-1-2.22-2.23-2.22s-2.22.99-2.22 2.22c0 .27.22.5.5.5.27 0 .5-.23.5-.5 0-.68.54-1.22 1.22-1.22.68 0 1.23.54 1.23 1.22 0 .67-.55 1.21-1.23 1.21-.27 0-.5.23-.5.5v1.23c0 .27.23.5.5.5l.09-.01c.24-.04.41-.24.41-.49v-.78l.12-.03c.93-.27 1.61-1.12 1.61-2.13Zm-2.27 3.87c.31 0 .57.25.57.56 0 .31-.26.56-.57.56a.56.56 0 0 1-.56-.56c0-.31.25-.56.56-.56Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},VE={render:UE},Rm=function(){return _e({name:"IconHelpCircle",component:VE})()},HE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{"data-name":"图层 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"}},e.$listeners),[o("path",{staticStyle:{"fill-rule":"evenodd",fill:"var(--tv-color-icon-control-active)"},attrs:{"data-name":"路径",d:"M8 1C4.13 1 1 4.13 1 8s3.13 7 7 7 7-3.14 7-7-3.14-7-7-7Z"}}),o("path",{staticStyle:{fill:"#fff","fill-rule":"evenodd"},attrs:{"data-name":"形状结合",d:"M7.93 5.71c-.47 0-.87-.39-.87-.87s.4-.84.87-.84.85.38.85.86-.38.85-.85.85Zm-.6 6.79c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h.3v-4h-.08c-.25 0-.45-.18-.49-.41V7c0-.28.22-.5.49-.5h1.08v5h.3c.28 0 .5.22.5.5s-.22.5-.5.5h-1.6Z"}})])},QE={render:HE},J2=function(){return _e({name:"IconHelp",component:QE})()},KE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"link_svg__st0",attrs:{d:"m16.9 12.7 1.4-1.4c1.6-1.6 1.6-4.1 0-5.7-1.6-1.6-4.1-1.6-5.7 0L11.2 7c-.4.4-1 .4-1.4 0-.4-.4-.4-1 0-1.4l1.4-1.4c2.3-2.3 6.1-2.3 8.5 0s2.3 6.1 0 8.5l-1.4 1.4c-.4.4-1 .4-1.4 0s-.3-1 0-1.4zm-4.2 4.2c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-1.4 1.4c-2.3 2.3-6.1 2.3-8.5 0s-2.3-6.1 0-8.5l1.4-1.4c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4l-1.4 1.4c-1.6 1.6-1.6 4.1 0 5.7 1.6 1.6 4.1 1.6 5.7 0l1.4-1.4zm-2.8-4.2 2.8-2.8c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-2.8 2.8c-.4.4-1 .4-1.4 0s-.4-1 0-1.4z"}})])},GE={render:KE},ew=function(){return _e({name:"IconLink",component:GE})()},WE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticClass:"loading_svg__icon",attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M511.883 287.998h-.362a31.999 31.999 0 0 1-31.66-31.977v-.361c0-.105.117-11.723.117-63.659v-96a31.999 31.999 0 1 1 64.001 0v96c0 52.586-.112 63.882-.12 64.338a32.003 32.003 0 0 1-31.976 31.66zm.115 672A31.999 31.999 0 0 1 480 928v-96.38c0-51.61-.112-63.174-.115-63.286s0-.242 0-.361a31.999 31.999 0 0 1 63.998-.314c0 .455.119 11.711.119 64.034v96.307a31.999 31.999 0 0 1-32.003 32zM330.9 363.021a31.898 31.898 0 0 1-22.866-9.612c-.076-.076-8.208-8.37-44.932-45.095l-67.903-67.885a31.999 31.999 0 0 1 45.257-45.253l67.881 67.882c37.183 37.183 45.09 45.253 45.412 45.578A31.999 31.999 0 0 1 330.9 363.02zm475.238 475.094a31.901 31.901 0 0 1-22.628-9.375l-67.885-67.88c-36.724-36.725-45.018-44.86-45.098-44.94a31.999 31.999 0 0 1 44.777-45.73c.325.318 8.395 8.23 45.578 45.412l67.881 67.882a31.999 31.999 0 0 1-22.625 54.63zm-582.137 0a31.901 31.901 0 0 0 22.628-9.375l67.882-67.88c36.724-36.725 45.022-44.86 45.097-44.94a31.999 31.999 0 0 0-44.776-45.73c-.325.318-8.395 8.23-45.578 45.412l-67.881 67.885A31.999 31.999 0 0 0 224 838.115zm31.949-294.056h-.362c-.104 0-11.722-.116-63.658-.116H95.943a31.999 31.999 0 1 1 0-64.002h95.997c52.586 0 63.882.112 64.337.12a31.999 31.999 0 0 1 31.66 31.977v.361a32.003 32.003 0 0 1-31.988 31.66zm511.99 0a32.003 32.003 0 0 1-31.995-31.667v-.361a31.999 31.999 0 0 1 31.66-31.97c.455 0 11.754-.12 64.34-.12h96.001a31.999 31.999 0 0 1 0 64.002h-96c-51.936 0-63.554.112-63.666.116h-.336zM693 363.018a31.999 31.999 0 0 1-22.863-54.382c.318-.325 8.23-8.395 45.412-45.578l67.882-67.885a31.999 31.999 0 1 1 45.263 45.256l-67.892 67.882c-31.02 31.023-41.644 41.76-44.241 44.393l-.697.723a31.909 31.909 0 0 1-22.864 9.59z"}})])},YE={render:WE},tw=function(){return _e({name:"IconLoading",component:YE})()},XE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"}},e.$listeners),[o("defs",{attrs:{fill:"none"}},[o("linearGradient",{attrs:{id:"loading-shadow_svg__a",x1:"-1285.88",y1:"25.63",x2:"-1286.89",y2:"25.13",gradientTransform:"matrix(29.6 0 0 29.6 38096.4 -732.8)",gradientUnits:"userSpaceOnUse"}},[o("stop",{attrs:{offset:"0","stop-color":"#191919","stop-opacity":"0"}}),o("stop",{attrs:{offset:"1","stop-color":"#191919"}})],1)],1),o("mask",{attrs:{fill:"none",id:"loading-shadow_svg__b","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0"}},[o("path",{attrs:{fill:"url(#loading-shadow_svg__a)",d:"M16 1.2c1 0 1.8.8 1.8 1.8S17 4.8 16 4.8C9.8 4.8 4.8 9.8 4.8 16s5 11.2 11.2 11.2 11.2-5 11.2-11.2c0-1 .8-1.8 1.8-1.8s1.8.8 1.8 1.8c0 8.2-6.6 14.8-14.8 14.8S1.2 24.2 1.2 16 7.8 1.2 16 1.2Z"}},[o("animateTransform",{attrs:{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 16 16",to:"360 16 16",dur:"1s",repeatCount:"indefinite"}})],1)]),o("g",{attrs:{mask:"url(#loading-shadow_svg__b)"}},[o("path",{attrs:{d:"M-.1 32H32V-.11H-.1V32Z","fill-rule":"evenodd"}})])])},ZE={render:XE},Yu=function(){return _e({name:"IconLoadingShadow",component:ZE})()},JE=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"m520 875.2-29.9-33.6c-3-3.4-74.3-83.8-146.7-185.2-42.9-60.2-77.3-115.2-102-163.6C208.2 427.9 192 375.3 192 332c0-44.3 8.7-87.2 25.8-127.7 16.5-39.1 40.2-74.1 70.3-104.2 30.1-30.1 65.2-53.8 104.2-70.3C432.8 12.7 475.7 4 520 4s87.2 8.7 127.7 25.8c39.1 16.5 74.1 40.2 104.2 70.3 30.1 30.1 53.8 65.2 70.3 104.2C839.3 244.8 848 287.7 848 332c0 43.3-16.2 95.9-49.4 160.8-24.8 48.4-59.1 103.4-102 163.6-72.4 101.4-143.7 181.8-146.7 185.2L520 875.2zM520 84c-136.7 0-248 111.3-248 248 0 32.3 17.7 111.3 136.2 277.3 42 59 84.5 111.5 111.8 144.1 27.3-32.7 69.8-85.2 111.8-144.1C750.3 443.3 768 364.3 768 332c0-136.7-111.3-248-248-248z"}}),o("path",{attrs:{d:"M520 476c-80 0-145-65-145-145s65-145 145-145 145 65 145 145-65 145-145 145zm0-210c-35.8 0-65 29.2-65 65s29.2 65 65 65 65-29.2 65-65-29.2-65-65-65zm-.4 758c-125.6 0-244.4-17.7-334.3-49.9-46.2-16.5-83.1-36.3-109.6-58.8C34.6 880.4 26 845 26 821.5c0-28.1 12.1-69.8 69.8-108.9 37.4-25.4 88.5-46.4 151.8-62.5l19.7 77.5c-53.5 13.6-97.3 31.3-126.6 51.2-22.1 15-34.7 30.5-34.7 42.7 0 19.5 32.9 50.9 106.4 77.2C293.9 927.9 403 944 519.7 944c116.7 0 225.8-16.1 307.3-45.3 73.5-26.3 106.4-57.8 106.4-77.2 0-12.2-12.7-27.7-34.7-42.7-29.3-19.9-73.1-37.6-126.6-51.2l19.7-77.5c63.3 16.1 114.3 37.1 151.8 62.5 57.7 39.1 69.8 80.8 69.8 108.9 0 23.5-8.6 58.9-49.8 93.8-26.5 22.5-63.4 42.2-109.6 58.8-90 32.2-208.7 49.9-334.4 49.9z"}})])},e$={render:JE},t$=function(){return _e({name:"IconMarkOn",component:e$})()},n$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"minscreen_svg__st0",attrs:{d:"M3 8h3.5L1.3 2.7c-.4-.4-.4-1 0-1.4.4-.4 1-.4 1.4 0L8 6.7V3c0-.6.4-1 1-1s1 .4 1 1v6c0 .6-.4 1-1 1H3c-.5 0-1-.4-1-1s.4-1 1-1zM3 16h3.5l-5.2 5.3c-.4.4-.4 1 0 1.4.4.4 1 .4 1.4 0L8 17.3V21c0 .6.4 1 1 1s1-.4 1-1v-6c0-.6-.4-1-1-1H3c-.5 0-1 .4-1 1s.4 1 1 1zM21 8h-3.5l5.2-5.3c.4-.4.4-1 0-1.4s-1-.4-1.4 0L16 6.7V3c0-.6-.4-1-1-1s-1 .4-1 1v6c0 .6.4 1 1 1h6c.5 0 1-.4 1-1s-.4-1-1-1zM21 16h-3.5l5.2 5.3c.4.4.4 1 0 1.4-.4.4-1 .4-1.4 0L16 17.3V21c0 .6-.4 1-1 1s-1-.4-1-1v-6c0-.6.4-1 1-1h6c.5 0 1 .4 1 1s-.4 1-1 1z"}})])},o$={render:n$},Xu=function(){return _e({name:"IconMinscreen",component:o$})()},r$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M12 1.5c1.38 0 2.5 1.11 2.5 2.5v8a2.5 2.5 0 0 1-2.5 2.5H4c-1.39 0-2.5-1.12-2.5-2.5V4c0-1.39 1.11-2.5 2.5-2.5h8Zm-8 1h8.1c.78.05 1.4.7 1.4 1.5v7.01l-2.18-2.1c-.42-.41-1.1-.4-1.52.02l-.75.76c-.04.03-.08.03-.12 0l-2.7-2.66a1.08 1.08 0 0 0-1.51 0L2.5 9.19V4c0-.83.67-1.5 1.5-1.5ZM10.02 4c.83 0 1.5.67 1.5 1.5 0 .82-.67 1.5-1.5 1.5s-1.5-.68-1.5-1.5c0-.83.67-1.5 1.5-1.5Zm-.5 1.5c0-.28.23-.5.5-.5.28 0 .5.22.5.5 0 .27-.22.5-.5.5-.27 0-.5-.23-.5-.5Zm-4.1 2.25-2.91 2.81L2.5 12c0 .79.61 1.44 1.39 1.49l.11.01h8a1.5 1.5 0 0 0 1.44-1.11l-2.81-2.76c-.04-.03-.09-.03-.12 0l-.75.77c-.42.42-1.1.42-1.53.01l-2.7-2.66a.08.08 0 0 0-.11 0Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},i$={render:r$},jm=function(){return _e({name:"IconPicture",component:i$})()},a$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"plus-square_svg__st0",attrs:{d:"M13 11h4c.6 0 1 .4 1 1s-.4 1-1 1h-4v4c0 .6-.4 1-1 1s-1-.4-1-1v-4H7c-.6 0-1-.4-1-1s.4-1 1-1h4V7c0-.6.4-1 1-1s1 .4 1 1v4zM3 1h18c.9 0 2 1.1 2 2v18c0 .9-1 2-2 2H3c-.9 0-2-1.1-2-2V3c0-.9 1.1-2 2-2zm0 2v18h18V3H3z"}})])},s$={render:a$},l$=function(){return _e({name:"IconPlusSquare",component:s$})()},c$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M2.3 7.78v.08c.02.65.561 1.17 1.221 1.17.68 0 1.229-.54 1.229-1.21 0-.672-.549-1.21-1.229-1.21-.66 0-1.2.519-1.22 1.17Zm4.241.04c0 .67.54 1.21 1.22 1.21.68 0 1.23-.54 1.23-1.21 0-.672-.55-1.21-1.23-1.21-.68 0-1.22.538-1.22 1.21Zm4.24.04v-.08c.02-.651.559-1.17 1.219-1.17.682 0 1.23.538 1.23 1.21 0 .67-.548 1.21-1.23 1.21-.66 0-1.2-.52-1.219-1.17Z","clip-rule":"evenodd","fill-rule":"evenodd"}})])},u$={render:c$},d$=function(){return _e({name:"IconPopup",component:u$})()},p$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 1a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"}}),o("path",{attrs:{d:"M3.757 12.243a6 6 0 1 0 8.486-8.486 6 6 0 0 0-8.486 8.486Z",fill:"#FFF"}})])},h$={render:p$},m$=function(){return _e({name:"IconRadio",component:h$})()},f$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M3.05 12.95a7 7 0 1 1 9.9-9.9 7 7 0 0 1-9.9 9.9Z"}}),o("circle",{attrs:{fill:"#FFF",cx:"8",cy:"8",r:"3"}})])},g$={render:f$},v$=function(){return _e({name:"IconRadioselected",component:g$})()},y$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"refres_svg__st0",attrs:{d:"M12.2 22.9c.5-.1.8-.5.7-1-.1-.5-.5-.8-1-.7-.4.1-.9.1-1.4.1-2.4 0-4.6-1-6.2-2.7S1.7 14.5 1.7 12s.9-4.8 2.6-6.5 3.9-2.7 6.2-2.7 4.6 1 6.2 2.7 2.6 4.1 2.6 6.5v.3l-1.9-2c-.3-.3-.9-.3-1.2 0-.3.3-.3.9 0 1.2l3.2 3.3c.3.3.9.3 1.2 0l3.2-3.3c.3-.3.3-.9 0-1.2-.3-.3-.9-.3-1.2 0L21 11.9c0-1.5-.3-2.9-.8-4.2-.5-1.3-1.3-2.5-2.2-3.5s-2.1-1.8-3.3-2.4c-1.4-.5-2.8-.8-4.2-.8s-2.8.3-4.1.9C5.2 2.4 4 3.2 3.1 4.2c-1 1-1.7 2.2-2.2 3.5C.3 9.1 0 10.5 0 12s.3 2.9.8 4.3c.5 1.3 1.3 2.5 2.2 3.5 1 1 2.1 1.8 3.3 2.4 1.3.6 2.7.9 4.1.9.7-.1 1.2-.1 1.8-.2z"}})])},b$={render:y$},nw=function(){return _e({name:"IconRefres",component:b$})()},w$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","xml:space":"preserve"}},e.$listeners),[o("path",{staticClass:"repeat_svg__st0",attrs:{d:"M11.8 22.9c-.5-.1-.8-.5-.7-1 .1-.5.5-.8 1-.7.4.1.9.1 1.4.1 2.4 0 4.6-1 6.2-2.7s2.6-4.1 2.6-6.5c0-2.5-.9-4.8-2.6-6.5s-3.9-2.7-6.2-2.7-4.6 1-6.2 2.7S4.7 9.5 4.7 12v.3l1.9-2c.3-.3.9-.3 1.2 0 .3.3.3.9 0 1.2l-3.2 3.3c-.3.3-.9.3-1.2 0L.2 11.5c-.3-.3-.3-.9 0-1.2.3-.3.9-.3 1.2 0L3 11.9c0-1.5.3-2.9.8-4.2.5-1.3 1.3-2.5 2.2-3.5s2.1-1.8 3.3-2.4c1.4-.5 2.8-.8 4.2-.8s2.8.3 4.1.9c1.3.6 2.4 1.3 3.3 2.4 1 1 1.7 2.2 2.2 3.5.5 1.4.8 2.8.8 4.3s-.3 2.9-.8 4.3c-.5 1.3-1.3 2.5-2.2 3.5-1 1-2.1 1.8-3.3 2.4-1.3.6-2.7.9-4.1.9-.6-.2-1.1-.2-1.7-.3z"}})])},x$={render:w$},ow=function(){return _e({name:"IconRepeat",component:x$})()},T$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticClass:"search_svg__st1",attrs:{d:"M7.22 1.67c3.04 0 5.5 2.46 5.5 5.5 0 1.33-.47 2.55-1.25 3.49l2.73 2.69c.19.19.19.51 0 .7s-.51.19-.7 0l-2.73-2.68c-.96.81-2.19 1.3-3.54 1.3-3.04 0-5.5-2.46-5.5-5.5s2.46-5.5 5.49-5.5zm0 1.01a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z"}})])},k$={render:T$},zm=function(){return _e({name:"IconSearch",component:k$})()},C$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{"data-name":"图层 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"}},e.$listeners),[o("path",{staticStyle:{"fill-rule":"evenodd",fill:"var(--tv-color-success-icon)"},attrs:{"data-name":"路径",d:"M8 1C4.13 1 1 4.13 1 8s3.13 7 7 7 7-3.14 7-7-3.14-7-7-7Z"}}),o("path",{staticStyle:{fill:"#fff","fill-rule":"evenodd"},attrs:{"data-name":"形状结合",d:"M10.38 5.97c.18-.16.46-.16.63 0a.5.5 0 0 1 0 .65L7.73 9.9c-.18.17-.4.26-.63.26s-.46-.09-.65-.26L4.97 8.42a.487.487 0 0 1 0-.64c.18-.16.46-.16.64 0l1.48 1.48 3.28-3.28Z"}})])},A$={render:C$},rw=function(){return _e({name:"IconSuccess",component:A$})()},S$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{"data-name":"图层 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"}},e.$listeners),[o("path",{staticStyle:{"fill-rule":"evenodd",fill:"var(--tv-color-warn-icon)"},attrs:{"data-name":"三角形",d:"m8.84 1.5 6.04 11.13c.25.45.07 1.02-.39 1.26-.14.08-.29.12-.45.12H1.95c-.53 0-.95-.42-.95-.94 0-.16.03-.31.11-.44L7.15 1.5c.25-.46.83-.63 1.29-.38.17.08.31.22.4.38Z"}}),o("path",{staticStyle:{fill:"#fff","fill-rule":"evenodd"},attrs:{"data-name":"形状结合",d:"M8 12.01a.749.749 0 1 1 0-1.5c.42 0 .75.33.75.75s-.34.75-.75.75Zm0-7c.28 0 .5.22.5.5v3.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5v-3.5c0-.28.22-.5.5-.5Z"}})])},E$={render:S$},$$=function(){return _e({name:"IconWarningTriangle",component:E$})()},P$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{"data-name":"图层 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"}},e.$listeners),[o("path",{staticStyle:{"fill-rule":"evenodd",fill:"var(--tv-color-warn-icon)"},attrs:{"data-name":"三角形",d:"m8.84 1.5 6.04 11.13c.25.45.07 1.02-.39 1.26-.14.08-.29.12-.45.12H1.95c-.53 0-.95-.42-.95-.94 0-.16.03-.31.11-.44L7.15 1.5c.25-.46.83-.63 1.29-.38.17.08.31.22.4.38Z"}}),o("path",{staticStyle:{fill:"#fff","fill-rule":"evenodd"},attrs:{"data-name":"形状结合",d:"M8 12.01a.749.749 0 1 1 0-1.5c.42 0 .75.33.75.75s-.34.75-.75.75Zm0-7c.28 0 .5.22.5.5v3.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5v-3.5c0-.28.22-.5.5-.5Z"}})])},_$={render:P$},Um=function(){return _e({name:"IconWarning",component:_$})()},M$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticClass:"zoom-in_svg__icon",attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M943.616 892.416 742.4 691.712c24.064-29.184 44.032-61.44 58.88-96.256 19.968-47.104 30.208-97.792 30.208-149.504s-10.24-101.888-30.208-149.504c-19.456-45.568-47.104-86.528-81.92-121.856A385.587 385.587 0 0 0 597.504 92.16C550.4 72.192 500.224 61.952 448 61.952S346.112 72.192 298.496 92.16c-45.568 19.456-86.528 47.104-121.856 82.432s-62.976 76.288-81.92 121.856c-19.968 47.104-30.208 97.792-30.208 149.504S74.752 547.84 94.72 595.456c19.456 45.568 47.104 86.528 81.92 121.856 35.328 35.328 76.288 62.976 121.856 82.432 47.104 19.968 97.28 30.208 149.504 30.208 51.712 0 101.888-10.24 149.504-30.208 34.816-14.848 66.56-34.304 95.232-57.856l201.728 201.216c6.656 6.656 15.872 10.24 25.088 10.24 9.216 0 17.92-3.584 25.088-10.24 12.8-14.336 12.8-36.864-1.024-50.688zm-273.92-225.792c-.512.512-1.024.512-1.024 1.024l-1.024 1.024C608.768 727.04 530.432 759.296 448 759.296c-83.456 0-162.304-32.768-221.184-91.648s-91.648-137.728-91.648-221.184 32.256-162.304 91.648-221.184S364.544 133.632 448 133.632 610.304 166.4 669.184 225.28c58.88 58.88 91.648 137.728 91.648 221.184 0 82.944-32.768 161.28-91.136 220.16z"}}),o("path",{attrs:{d:"M573.952 418.816H473.088v-97.792c0-19.456-12.8-35.328-32.256-35.328s-32.256 15.872-32.256 35.328v97.792H305.152c-19.456 0-35.328 12.8-35.328 32.256s15.872 32.256 35.328 32.256h102.912V588.8c0 19.456 12.8 35.328 32.256 35.328s32.256-15.872 32.256-35.328V483.84H573.44c19.456 0 35.328-12.8 35.328-32.256s-15.36-32.768-34.816-32.768z"}})])},L$={render:M$},iw=function(){return _e({name:"IconZoomIn",component:L$})()},I$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticClass:"zoom-out_svg__icon",attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M948.522 896.4 715.467 663.347c58.54-70.264 95.164-159.438 95.164-258.044C810.63 181.458 629.166 0 405.32 0 181.486.001.022 181.458.022 405.301c0 223.838 181.465 405.302 405.3 405.302 98.6 0 187.773-36.617 258.038-95.15l233.056 233.056c14.391 14.384 37.715 14.384 52.106 0s14.393-37.73.001-52.108zm-543.2-159.489c-183.136 0-331.601-148.465-331.601-331.61S222.186 73.69 405.323 73.69c183.144 0 331.61 148.466 331.61 331.61 0 160.64-129.895 331.61-331.61 331.61z"}}),o("path",{attrs:{d:"M552.706 368.456H257.948c-20.353 0-36.853 16.5-36.853 36.845s16.5 36.845 36.853 36.845h294.758c20.353 0 36.845-16.5 36.845-36.845s-16.492-36.845-36.845-36.845z"}})])},N$={render:I$},aw=function(){return _e({name:"IconZoomOut",component:N$})()},O$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("g",{attrs:{"fill-rule":"nonzero"}},[o("path",{attrs:{d:"M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z",fill:"#FFF"}}),o("path",{attrs:{d:"M10 1a9 9 0 1 1 0 18 9 9 0 0 1 0-18Zm0 1a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"}})])])},D$={render:O$},B$=function(){return _e({name:"IconMobileRadio",component:D$})()},q$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M16.364 3.636A9 9 0 1 1 3.636 16.364 9 9 0 0 1 16.364 3.636ZM10 6a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z","fill-rule":"evenodd"}})])},F$={render:q$},R$=function(){return _e({name:"IconMobileRadioSelected",component:F$})()},j$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticStyle:{"fill-rule":"evenodd","clip-rule":"evenodd"},attrs:{d:"M11.5 0h-7C2 0 0 2 0 4.5v7C0 14 2 16 4.5 16h7c2.5 0 4.5-2 4.5-4.5v-7C16 2 14 0 11.5 0zM15 11.5c0 1.9-1.6 3.5-3.5 3.5h-7C2.6 15 1 13.4 1 11.5v-7C1 2.6 2.6 1 4.5 1h7C13.4 1 15 2.6 15 4.5v7zM11 8c0 .3-.2.5-.5.5h-5c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h5c.3 0 .5.2.5.5z"}})])},z$={render:j$},U$=function(){return _e({name:"IconExpand",component:z$})()},V$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticStyle:{"fill-rule":"evenodd","clip-rule":"evenodd"},attrs:{d:"M11.5 0h-7C2 0 0 2 0 4.5v7C0 14 2 16 4.5 16h7c2.5 0 4.5-2 4.5-4.5v-7C16 2 14 0 11.5 0zM15 11.5c0 1.9-1.6 3.5-3.5 3.5h-7C2.6 15 1 13.4 1 11.5v-7C1 2.6 2.6 1 4.5 1h7C13.4 1 15 2.6 15 4.5v7zM11 8c0 .3-.2.5-.5.5h-2v2c0 .3-.2.5-.5.5s-.5-.2-.5-.5v-2h-2c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h2v-2c0-.3.2-.5.5-.5s.5.2.5.5v2h2c.3 0 .5.2.5.5z"}})])},H$={render:V$},Q$=function(){return _e({name:"IconPutAway",component:H$})()},K$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("rect",{staticStyle:{fill:"none"}}),o("path",{staticStyle:{"fill-rule":"evenodd","clip-rule":"evenodd"},attrs:{d:"M8 1.5C4.4 1.5 1.5 4.4 1.5 8s2.9 6.5 6.5 6.5 6.5-2.9 6.5-6.5S11.6 1.5 8 1.5zm0 12C5 13.5 2.5 11 2.5 8S5 2.5 8 2.5 13.5 5 13.5 8 11 13.5 8 13.5zM12 8c0 .3-.2.5-.5.5h-3v3c0 .3-.2.5-.5.5s-.5-.2-.5-.5v-3h-3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h3v-3c0-.3.2-.5.5-.5s.5.2.5.5v3h3c.3 0 .5.2.5.5z"}})])},G$={render:K$},W$=function(){return _e({name:"IconAddCircle",component:G$})()},Y$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M8.49 10.45c-.27.27-.72.27-.99 0l-4.1-4.1c-.2-.2-.2-.51 0-.71.19-.19.51-.19.71 0L8 9.53l3.88-3.89c.18-.17.45-.19.64-.06l.07.06c.2.2.2.51 0 .71l-4.1 4.1Z"}})])},X$={render:Y$},tu=function(){return _e({name:"IconDownWard",component:X$})()},Z$=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({staticStyle:{"enable-background":"new 0 0 16 16"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","xml:space":"preserve"}},e.$listeners),[o("path",{attrs:{d:"m5.84 8.78-.09-.1a1.06 1.06 0 0 1 .09-1.46L9.6 3.65l.07-.06c.21-.13.49-.12.67.06.21.2.21.51 0 .71L6.58 7.93l-.02.03c-.02.04-.01.08.02.11l3.76 3.57.06.07c.14.19.12.46-.06.64-.21.2-.54.2-.74 0L5.84 8.78z"}})])},J$={render:Z$},eP=function(){return _e({name:"IconLeftWardArrow",component:J$})()},tP=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("svg",e._g({attrs:{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},e.$listeners),[o("path",{attrs:{d:"M16 0v16H0V0h16Z",fill:"none"}}),o("path",{attrs:{d:"M6.98 10.15a.828.828 0 0 1-.43-.18l-.09-.07-1.48-1.49a.435.435 0 0 1 0-.63.43.43 0 0 1 .56-.06l.07.06 1.48 1.48 3.29-3.28c.17-.18.46-.18.63 0 .16.15.18.39.06.56l-.06.07L7.73 9.9c-.14.14-.32.23-.52.25l-.12.01-.11-.01Z","fill-rule":"evenodd"}})])},nP={render:tP},Vm=_e({name:"IconFinish",component:nP});const oP=({broadcast:t,emit:e,nextTick:n})=>o=>{t("TinyDropdownMenu","visible",o),n(()=>e("visible-change",o))},rP=t=>e=>{const n=t.$el.querySelector(".tiny-dropdown-selfdefine");n&&(e?mn(n,"focusing"):fn(n,"focusing"))},iP=({props:t,state:e,emit:n})=>()=>{t.disabled||(e.visibleIsBoolean?n("update:visible",!0):(clearTimeout(Number(e.timeout)),e.timeout=setTimeout(()=>{e.visible=!0},e.trigger==="click"?0:t.showTimeout)))},aP=({api:t,props:e,state:n,emit:o})=>()=>{e.disabled||(t.removeTabindex(),e.tabindex>=0&&n.triggerElm&&t.resetTabindex(n.triggerElm),n.visibleIsBoolean?o("update:visible",!1):(clearTimeout(Number(n.timeout)),n.timeout=setTimeout(()=>{n.visible=!1},n.trigger==="click"?0:e.hideTimeout)))},sP=({api:t,props:e,state:n,emit:o})=>()=>{e.disabled||(n.visibleIsBoolean?o("handle-click",e.visible):(o("handle-click",n.visible),n.visible?t.hide():t.show()))},lP=({api:t,state:e})=>n=>{const o=n.keyCode;~[ut.ArrowUp,ut.ArrowDown].indexOf(o)?(t.removeTabindex(),e.menuItems&&(t.resetTabindex(e.menuItems[0]),e.menuItems[0].focus()),n.preventDefault(),n.stopPropagation()):o===ut.Enter?t.handleClick():~[ut.Tab,ut.Escape].indexOf(o)&&t.hide()},cP=({api:t,props:e,state:n,emit:o})=>r=>{const i=r.keyCode,a=r.target,l=n.menuItemsArray.indexOf(a),s=n.menuItemsArray.length-1;let c;~[ut.ArrowUp,ut.ArrowDown].indexOf(i)?(i===ut.ArrowUp?c=l!==0?l-1:0:c=l<s?l+1:s,t.removeTabindex(),n.menuItems&&(t.resetTabindex(n.menuItems[c]),n.menuItems[c].focus()),r.preventDefault(),r.stopPropagation()):i===ut.Enter?(t.triggerElmFocus(),a==null||a.click(),e.hideOnClick&&(n.visible=!1)):~[ut.Tab,ut.Escape].indexOf(i)&&(t.hide(),t.triggerElmFocus())},uP=t=>e=>{t.removeTabindex(),e.setAttribute("tabindex","0")},dP=t=>()=>{var e,n;(e=t.triggerElm)==null||e.setAttribute("tabindex","-1"),(n=t.menuItemsArray)==null||n.forEach(o=>{o.setAttribute("tabindex","-1")})},pP=({state:t,props:e})=>()=>{var n,o,r,i,a;(n=t.dropdownElm)==null||n.setAttribute("id",t.listId),(o=t.triggerElm)==null||o.setAttribute("aria-haspopup","list"),(r=t.triggerElm)==null||r.setAttribute("aria-controls",t.listId),(!e.splitButton||!e.singleButton)&&((i=t.triggerElm)==null||i.setAttribute("role","button"),(a=t.triggerElm)==null||a.setAttribute("tabindex",String(e.tabindex)),mn(t.triggerElm,"tiny-dropdown-selfdefine"))},zg=({state:t,value:e})=>()=>{t.focusing=e},hP=({api:t,props:e,state:n,vm:o,mode:r})=>()=>{var i;let a=e.splitButton||e.singleButton;n.triggerElm=a||e.border?o.$refs.trigger.$el:o.$refs.trigger,Oe(n.triggerElm,"keydown",t.handleTriggerKeyDown),(i=n.dropdownElm)==null||i.addEventListener("keydown",t.handleItemKeyDown,!0),(!e.splitButton||!e.singleButton)&&(Oe(n.triggerElm,"focus",t.toggleFocusOnTrue),Oe(n.triggerElm,"blur",t.toggleFocusOnFalse),Oe(n.triggerElm,"click",t.toggleFocusOnFalse)),!n.visibleIsBoolean&&(n.trigger==="hover"?(Oe(n.triggerElm,"mouseenter",t.show),Oe(n.triggerElm,"mouseleave",t.hide),Oe(n.dropdownElm,"mouseenter",t.show),Oe(n.dropdownElm,"mouseleave",t.hide)):n.trigger==="click"&&Oe(n.triggerElm,"click",t.handleClick),r==="mobile-first"&&(e.splitButton||e.singleButton)&&Oe(n.triggerElm,"click",t.handleClick))},mP=({props:t,state:e,emit:n})=>({itemData:o,vm:r,disabled:i})=>{t.hideOnClick&&!i&&(e.visible=!1),i||n("item-click",{itemData:o,vm:r})},fP=t=>()=>{var e;(e=t.triggerElm)!=null&&e.focus&&t.triggerElm.focus()},gP=({api:t,state:e,vm:n})=>()=>{var o;e.dropdownElm=n.popperElm,e.menuItems=(o=e.dropdownElm)==null?void 0:o.querySelectorAll('[tabindex="-1"]'),e.menuItemsArray=[].slice.call(e.menuItems),t.initEvent(),t.initAria()},vP=({api:t,emit:e})=>n=>{e("button-click",n),t.hide()},yP=({api:t,vm:e,state:n,broadcast:o,props:r})=>()=>{n.showSelfIcon&&(n.showIcon=!1),e.$on("menu-item-click",t.handleMenuItemClick),e.$on("current-item-click",t.handleMenuItemClick),e.$on("selected-index",i=>{o("TinyDropdownMenu","menu-selected-index",i)}),n.visibleIsBoolean?r.visible&&o("TinyDropdownMenu","visible",!0):e.$on("is-disabled",t.clickOutside)},bP=({vm:t,api:e,state:n})=>()=>{n.triggerElm&&(Re(n.triggerElm,"keydown",e.handleTriggerKeyDown),Re(n.triggerElm,"focus",e.toggleFocusOnTrue),Re(n.triggerElm,"blur",e.toggleFocusOnFalse),Re(n.triggerElm,"click",e.toggleFocusOnFalse),Re(n.triggerElm,"mouseenter",e.show),Re(n.triggerElm,"mouseleave",e.hide),Re(n.triggerElm,"click",e.handleClick),n.triggerElm=null),n.dropdownElm&&(n.dropdownElm.removeEventListener("keydown",e.handleItemKeyDown,!0),Re(n.dropdownElm,"mouseenter",e.show),Re(n.dropdownElm,"mouseleave",e.hide),n.dropdownElm=null),t.$off("menu-item-click"),t.$off("current-item-click"),t.$off("selected-index"),t.$off("is-disabled")},wP=({props:t,api:e})=>n=>{t.hideOnClick&&(n?e.show():e.hide())},sw=["state","handleMainButtonClick","hide","show","initDomOperation","handleClick","clickOutside"],lw=(t,{reactive:e,watch:n,provide:o,onMounted:r,computed:i,onBeforeUnmount:a},{emit:l,parent:s,broadcast:c,vm:d,nextTick:u,mode:m,designConfig:h,useBreakpoint:p})=>{const v={},{current:f}=p(),b=e({current:f,visible:!1,timeout:null,focusing:!1,menuItems:[],menuItemsArray:[],triggerElm:null,dropdownElm:null,listId:`dropdown-menu-${Am()}`,showIcon:t.showIcon,showSelfIcon:t.showSelfIcon,designConfig:h,trigger:i(()=>{var x;return t.trigger||((x=h==null?void 0:h.props)==null?void 0:x.trigger)||"hover"}),visibleIsBoolean:i(()=>typeof t.visible=="boolean")});return o("dropdownVm",d),Object.assign(v,{state:b,watchVisible:oP({broadcast:c,emit:l,nextTick:u}),watchFocusing:rP(s),show:iP({props:t,state:b,emit:l}),hide:aP({api:v,props:t,state:b,emit:l}),mounted:yP({api:v,vm:d,state:b,broadcast:c,props:t}),handleClick:sP({api:v,props:t,state:b,emit:l}),handleTriggerKeyDown:lP({api:v,state:b}),handleItemKeyDown:cP({api:v,props:t,state:b,emit:l}),resetTabindex:uP(v),removeTabindex:dP(b),initAria:pP({state:b,props:t}),initEvent:hP({api:v,props:t,state:b,vm:d,mode:m}),handleMenuItemClick:mP({props:t,state:b,emit:l}),handleMainButtonClick:vP({api:v,emit:l}),triggerElmFocus:fP(b),initDomOperation:gP({api:v,state:b,vm:d}),beforeDistory:bP({vm:d,api:v,state:b}),clickOutside:wP({props:t,api:v}),toggleFocusOnTrue:zg({state:b,value:!0}),toggleFocusOnFalse:zg({state:b,value:!1})}),typeof t.visible=="boolean"?n(()=>t.visible,v.watchVisible):n(()=>b.visible,v.watchVisible),n(()=>b.focusing,v.watchFocusing),r(v.mounted),a(v.beforeDistory),v},xP=({emit:t,props:e,state:n,designConfig:o})=>r=>{var i,a;const l=In.filterUrl(e.href),s=1e3;let c=s;e.resetTime!==s?c=e.resetTime:c=(a=(i=o==null?void 0:o.props)==null?void 0:i.resetTime)!=null?a:e.resetTime,l?location.href=l:e.nativeType==="button"&&c>0&&(n.disabled=!0,n.timer=window.setTimeout(()=>{n.disabled=!1},c)),t("click",r)},TP=t=>()=>clearTimeout(t.timer),cw=["state","handleClick"],uw=(t,{computed:e,onBeforeUnmount:n,reactive:o,watch:r,inject:i},{emit:a,parent:l,designConfig:s})=>{l.tinyForm=l.tinyForm||i("form",null);const c=o({timer:0,disabled:t.disabled,plain:e(()=>t.plain||(l.buttonGroup||{}).plain),round:e(()=>{var u,m,h;return(h=(m=t.round)!=null?m:(u=s==null?void 0:s.props)==null?void 0:u.round)!=null?h:!1}),formDisabled:e(()=>(l.tinyForm||{}).disabled),buttonDisabled:e(()=>t.disabled||c.disabled||(l.buttonGroup||{}).disabled||c.formDisabled)});r(()=>t.disabled,u=>{c.disabled=u},{immediate:!0});const d={state:c,clearTimer:TP(c),handleClick:xP({emit:a,props:t,state:c,designConfig:s})};return n(d.clearTimer),d};function kP(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var CP=Se({emits:["click"],props:[].concat(Ye,["type","text","size","icon","resetTime","nativeType","loading","disabled","plain","autofocus","round","circle","tabindex","customClass","ghost","customStyle"]),components:{IconLoading:Yu()},setup:function(e,n){return je({props:e,context:n,renderless:uw,api:cw})}}),AP=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("button",e._b({staticClass:"tiny-button",class:[e.type?"tiny-button--"+e.type:"",e.size?"tiny-button--"+e.size:"",{"is-disabled":e.state.buttonDisabled,"is-loading":e.loading,"is-plain":e.state.plain,"is-ghost":e.ghost,"is-round":e.state.round,"is-circle":e.circle,"is-icon":e.icon&&!e.loading&&(e.text||e.slots.default),"is-only-icon":e.icon&&!e.loading&&!(e.text||e.slots.default)}],style:e.customStyle,attrs:{disabled:e.state.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType,tabindex:e.tabindex},on:{click:e.handleClick}},"button",e.a(e.$attrs,["class","style","title","id"],!0),!1),[e.loading?o("icon-loading",{staticClass:"tiny-icon-loading tiny-svg-size"}):e._e(),e.icon&&!e.loading?o(e.icon,{tag:"component",class:{"is-text":e.text||e.slots.default}}):e._e(),e._t("default",function(){return[o("span",[e._v(e._s(e.text))])]})],2)},SP=[],Ug={},EP=kP(CP,AP,SP,!1,$P);function $P(t){for(var e in Ug)this[e]=Ug[e]}var Vg=(function(){return EP.exports})();function PP(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var _P={button:"inline-block text-center overflow-hidden overflow-ellipsis whitespace-nowrap transition-button duration-300 delay-[0ms] active:transition-all active:scale-[0.95] active:ease-[cubic-bezier(0.33,0,0.67,1)]","size-default":"h-10 text-sm sm:h-7","size-medium":"h-10 text-sm sm:h-8","size-small":"h-8 text-sm sm:h-7","size-mini":"h-7 sm:h-6 sm:text-xs","type-default":"text-color-text-primary border-color-border hover:border-color-border-hover active:border-color-border-hover sm:cursor-pointer","type-primary":"text-color-text-inverse border-color-brand bg-color-brand hover:border-color-brand-hover hover:bg-color-brand-hover active:border-color-brand-active active:bg-color-brand-active sm:cursor-pointer","type-success":"text-color-text-inverse border-color-success bg-color-success hover:border-color-success-hover hover:bg-color-success-hover active:border-color-success-active active:bg-color-success-active sm:cursor-pointer","type-info":"text-color-text-inverse border-color-info-secondary bg-color-info-secondary hover:border-color-info-secondary-hover hover:bg-color-info-secondary-hover active:border-color-info-secondary-active active:bg-color-info-secondary-active sm:cursor-pointer","type-warning":"text-color-text-inverse border-color-warning bg-color-warning hover:border-color-warning-hover hover:bg-color-warning-hover active:border-color-warning-active active:bg-color-warning-active sm:cursor-pointer","type-danger":"text-color-text-inverse border-color-error bg-color-error hover:border-color-error-hover hover:bg-color-error-hover active:border-color-error-active active:bg-color-error-active sm:cursor-pointer","type-text":"border-none bg-transparent cursor-pointer text-color-text-placeholder active:text-color-text-primary sm:hover:text-color-text-primary sm:active:!text-color-brand-active","type-default-disabled":"text-color-text-disabled bg-color-bg-3 border-transparent hover:cursor-not-allowed","type-primary-disabled":"text-color-text-inverse bg-color-brand-disabled border-transparent hover:cursor-not-allowed","type-success-disabled":"text-color-text-inverse bg-color-success-disabled border-transparent hover:cursor-not-allowed","type-info-disabled":"text-color-text-inverse bg-color-info-secondary-disabled border-transparent hover:cursor-not-allowed","type-warning-disabled":"text-color-text-inverse bg-color-alert-disabled border-transparent hover:cursor-not-allowed","type-danger-disabled":"text-color-text-inverse bg-color-error-disabled border-transparent hover:cursor-not-allowed","type-text-disabled":"text-color-text-disabled hover:cursor-not-allowed","type-default-plain":"text-color-text-primary border-color-border hover:border-color-border-hover active:border-color-border-hover sm:cursor-pointer","type-primary-plain":"text-color-brand border-color-brand hover:text-color-brand-hover hover:border-color-brand-hover active:text-color-brand-active active:border-color-brand-active bg-color-bg-1 sm:cursor-pointer","type-success-plain":"text-color-success border-color-success hover:text-color-success-hover hover:border-color-success-hover active:text-color-success-active active:border-color-success-active bg-color-bg-1 sm:cursor-pointer","type-info-plain":"text-color-info-secondary border-color-info-secondary hover:text-color-info-secondary-hover hover:border-color-info-secondary-hover active:text-color-info-secondary-active active:border-color-info-secondary-active bg-color-bg-1 sm:cursor-pointer","type-warning-plain":"text-color-warning border-color-warning hover:text-color-warning-hover hover:border-color-warning-hover active:text-color-warning-active active:border-color-warning-active bg-color-bg-1 sm:cursor-pointer","type-danger-plain":"text-color-error border-color-error hover:text-color-error-hover hover:border-color-error-hover active:text-color-error-active active:border-color-error-active bg-color-bg-1 sm:cursor-pointer","type-text-plain":"text-color-brand hover:text-color-brand-hover active:text-color-brand-active","type-default-plain-disabled":"text-color-text-disabled bg-color-bg-1 border-color-border-disabled hover:cursor-not-allowed","type-primary-plain-disabled":"text-color-brand-disabled bg-color-bg-1 border-color-brand-disabled hover:cursor-not-allowed","type-success-plain-disabled":"text-color-success-disabled bg-color-bg-1 border-color-success-disabled hover:cursor-not-allowed","type-info-plain-disabled":"text-color-info-secondary-disabled bg-color-bg-1 border-color-info-secondary-disabled hover:cursor-not-allowed","type-warning-plain-disabled":"text-color-alert-disabled bg-color-bg-1 border-color-alert-disabled hover:cursor-not-allowed","type-danger-plain-disabled":"text-color-error-disabled bg-color-bg-1 border-color-error-disabled hover:cursor-not-allowed","type-text-plain-disabled":"text-color-text-disabled hover:cursor-not-allowed","no-round":"rounded","is-round":"rounded-full","is-border":"border-0.5 sm:border","no-circle":"sm:min-w-[theme(spacing.18)] pl-2 pr-2 leading-5.5","is-circle":"sm:min-w-[theme(spacing.18)] sm:rounded-full sm:pl-2 sm:pr-2","button-icon":"-mt-0.5 sm:text-base fill-current","button-icon-default":"text-color-icon-primary hover:text-color-icon-hover active:text-color-icon-active","button-icon-disabled":"text-color-icon-disabled hover:cursor-not-allowed","loading-svg":"animate-spin mr-1 fill-current -left-0.5 -right-0.5 -top-0.5 -bottom-0.5","button-link":"text-color-link hover:text-color-link-hover active:color-link-hover active:hover:text-color-link-hover sm:hover:text-color-link-hover","button-banner":" w-[calc(100%-theme(spacing.8))] mx-4"},MP=Se({emits:["click"],props:[].concat(Ye,["type","text","size","icon","resetTime","nativeType","loading","disabled","plain","autofocus","round","circle","tabindex","href","customClass","banner","customStyle"]),components:{IconLoading:tw()},setup:function(e,n){return je({props:e,context:n,renderless:uw,api:cw,classes:_P})}}),LP=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("button",e._b({class:e.m(e.gcls("button"),e.gcls(e.banner?"button-banner":""),e.gcls("size-"+(e.size||"default")),e.gcls("type-"+(e.type||"default")+(e.icon?"-icon":e.state.plain?"-plain":"")+(e.state.buttonDisabled||e.loading?"-disabled":"")),e.gcls(e.state.round?"is-round":"no-round"),e.gcls(e.circle?"is-circle":"no-circle"),e.gcls({"is-border":e.circle||!(e.type==="text"||e.icon)}),e.gcls({"button-link":e.href}),e.customClass),style:e.customStyle,attrs:{"data-tag":"tiny-button",disabled:e.state.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType,tabindex:e.tabindex},on:{click:e.handleClick}},"button",e.a(e.$attrs,["class","style","id"],!0),!1),[e.loading?o("icon-loading",{class:e.gcls("loading-svg")}):e._e(),e.icon&&!e.loading?o(e.icon,{tag:"component",class:[e.gcls("button-icon"),e.gcls("button-icon-"+(e.state.buttonDisabled?"disabled":"default"))]}):e._e(),e._t("default",function(){return[o("span",[e._v(e._s(e.text))])]})],2)},IP=[],Hg={},NP=PP(MP,LP,IP,!1,OP);function OP(t){for(var e in Hg)this[e]=Hg[e]}var DP=(function(){return NP.exports})();function Yp(){return Yp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Yp.apply(null,arguments)}var BP=function(e){var n,o=typeof process=="object"?(n=process.env)==null?void 0:n.TINY_MODE:null;return(o||e)==="pc"?Vg:(o||e)==="mobile-first"?DP:Vg},qP=Yp({},lt,{type:{type:String,default:"default"},tabindex:{type:String,default:"0"},icon:{type:[Object,String],default:""},text:{type:String,default:""},resetTime:{type:Number,default:1e3},nativeType:{type:String,default:"button"},href:{type:String,default:""},size:{type:String,default:"",validator:function(e){return["large","medium","small","mini",""].includes(e)}},round:{type:Boolean,default:void 0},plain:Boolean,circle:Boolean,loading:Boolean,disabled:Boolean,autofocus:Boolean,customClass:{type:String,default:""},banner:{type:Boolean,default:!1},customStyle:{type:Object,default:function(){return{}}},ghost:Boolean,onClick:{type:Function}}),Pt=Se({name:Ue+"Button",inject:{buttonGroup:{default:""}},props:qP,slots:Object,setup:function(e,n){return vt({props:e,context:n,template:BP})}}),FP="2.undefined";Pt.install=function(t){t.component(Pt.name,Pt)};Pt.version=FP;const RP=({emit:t,state:e})=>()=>{e.disabled||t("change",e.value)},jP=({emit:t,props:e,state:n})=>o=>{!n.disabled&&!o.disabled&&n.value!==o[e.valueField]&&(n.value=o[e.valueField],t("update:modelValue",n.value))},zP=({emit:t,props:e,state:n})=>o=>{if(!n.disabled){const r=n.moreData.indexOf(o);n.moreData.splice(r,1,n.buttonData[n.buttonData.length-1]),n.buttonData.splice(n.buttonData.length-1,1,o),n.value=o[e.valueField],t("update:modelValue",n.value)}},UP=({props:t,state:e})=>n=>e.disabled||n.disabled?{disabled:!0}:t.plain?{plain:t.plain,medium:t.size==="medium",small:t.size==="small",mini:t.size==="mini"}:{},VP=["state","handleClick","moreNodeClick","handleChange","getItemClass"],HP=(t,{computed:e,reactive:n,watch:o,inject:r},{emit:i,parent:a})=>{var l,s;a.tinyForm=a.tinyForm||r("form",null);const c=n({value:t.modelValue,buttonData:((l=t.data)==null?void 0:l.slice(0,t.showMore))||[],moreData:((s=t.data)==null?void 0:s.slice(t.showMore,t.data.length))||[],formDisabled:e(()=>(a.tinyForm||{}).disabled),disabled:e(()=>t.disabled||c.formDisabled)});o(()=>t.modelValue,u=>{!c.disabled&&c.value!==u&&(c.value=u)},{immediate:!0}),o(()=>c.value,()=>d.handleChange());const d={state:c,handleClick:jP({emit:i,props:t,state:c}),moreNodeClick:zP({emit:i,props:t,state:c}),handleChange:RP({emit:i,state:c}),getItemClass:UP({props:t,state:c})};return d},QP=({api:t,state:e,props:n,nextTick:o})=>{const{referenceElm:r,popperElm:i}=e;n.trigger==="click"?(Oe(r,"click",t.doToggle),Oe(document,"click",t.handleDocumentClick)):n.trigger==="hover"?(Oe(r,"mouseenter",t.handleMouseEnter),Oe(i,"mouseenter",t.handleMouseEnter),Oe(r,"mouseleave",t.handleMouseLeave),Oe(i,"mouseleave",t.handleMouseLeave)):n.trigger==="focus"?r.querySelector("input, textarea")?(Oe(r,"focusin",t.doShow),Oe(r,"focusout",t.doClose)):(Oe(r,"mousedown",t.doShow),Oe(r,"mouseup",t.doClose)):n.trigger==="manual"&&n.modelValue&&o(t.doShow)},KP=({api:t,state:e,constants:n,props:o,nextTick:r,mode:i})=>()=>{e.mounted=!0;const{referenceElm:a,popperElm:l,tooltipId:s}=e;a&&(i!=="mobile-first"&&mn(a,`${n.IDPREFIX}__reference`),a.setAttribute("aria-describedby",s),a.setAttribute("tabindex",o.tabindex.toString()),l.setAttribute("tabindex",0),o.trigger!=="click"&&(Oe(a,"focusin",()=>{t.handleFocus();const c=a.__vue__;c&&typeof c.focus=="function"&&c.focus()}),Oe(l,"focusin",t.handleFocus),Oe(a,"focusout",t.handleBlur),Oe(l,"focusout",t.handleBlur)),Oe(a,"keydown",t.handleKeydown),Oe(a,"click",t.handleClick)),QP({api:t,state:e,props:o,nextTick:r})},GP=t=>()=>{t.showPopper=!t.showPopper},WP=t=>()=>{t.showPopper=!0},YP=t=>()=>{t.showPopper=!1},XP=({props:t,state:e})=>()=>{mn(e.referenceElm,"focusing"),(t.trigger==="click"||t.trigger==="focus")&&(e.showPopper=!0)},ZP=t=>e=>{const n=t.popperElm;e!=null&&e.target&&n&&(t.webCompEventTarget=e.target),fn(t.referenceElm,"focusing")},JP=({props:t,state:e})=>()=>{fn(e.referenceElm,"focusing"),(t.trigger==="click"||t.trigger==="focus")&&(e.showPopper=!1)},e8=({props:t,state:e})=>()=>{clearTimeout(e.timer),t.openDelay?e.timer=window.setTimeout(()=>{e.showPopper=!0},t.openDelay):e.showPopper=!0},t8=({api:t,props:e})=>n=>{n.keyCode===ut.Escape&&e.trigger!=="manual"&&t.doClose()},n8=({props:t,state:e})=>()=>{clearTimeout(e.timer),t.closeDelay?e.timer=window.setTimeout(()=>{e.showPopper=!1},t.closeDelay):e.showPopper=!1},o8=({vm:t,state:e})=>n=>{const o=e.referenceElm,r=e.popperElm,i=t.$refs.root;let a=n.target;return a!=null&&a.shadowRoot&&r&&(a=e.webCompEventTarget),!i||!o||i.contains(a)||o.contains(a)||!r||r.contains(a)?!1:(e.showPopper=!1,!0)},r8=t=>()=>{t("after-enter")},i8=t=>()=>{t("after-leave")},a8=({emit:t,state:e})=>n=>{e.showPopper=!1,t("item-click",n)},s8=({props:t,state:e})=>()=>{t.openDelay&&clearTimeout(e.timer)},l8=({state:t,api:e})=>()=>{const{referenceElm:n,popperElm:o}=t;Re(n,"click",e.doToggle),Re(n,"mouseup",e.doClose),Re(n,"mousedown",e.doShow),Re(n,"focusin",e.doShow),Re(n,"focusout",e.doClose),Re(n,"mouseleave",e.handleMouseLeave),Re(n,"mouseenter",e.handleMouseEnter),Re(document,"click",e.handleDocumentClick),Re(o,"focusin",e.handleFocus),Re(o,"focusout",e.handleBlur),Re(o,"mouseenter",e.handleMouseEnter),Re(o,"mouseleave",e.handleMouseLeave),Re(n,"click",e.handleClick),Re(n,"focusout",e.handleBlur),Re(n,"keydown",e.handleKeydown)},c8=t=>()=>`${t.IDPREFIX}-${Am("",4)}`,u8=({api:t,props:e,vm:n,state:o})=>()=>{const{reference:r,popper:i,wrapper:a}=n.$refs,l=o.referenceElm=e.reference||r;o.popperElm=o.popperElm||i,!l&&a.children&&(o.referenceElm=a.children[0]||a),o.referenceElm&&t.mounted()},d8=({state:t,vm:e})=>n=>{for(let o of n)o.type==="attributes"&&o.attributeName==="x-placement"&&(t.xPlacement=e.$refs.popper.getAttribute("x-placement")||"bottom")},dw=["state","handleAfterEnter","handleAfterLeave","doToggle","doShow","doClose","doDestroy","handleItemClick","handleDocumentClick"],p8=({reactive:t,computed:e,api:n,popperElm:o,showPopper:r,referenceElm:i})=>t({popperElm:o,referenceElm:i,showPopper:r,timer:0,mounted:!1,xPlacement:"bottom",tooltipId:e(()=>n.computedTooltipId()),webCompEventTarget:null}),h8=({api:t,props:e,state:n,emit:o,doDestroy:r,constants:i,nextTick:a,vm:l,mode:s})=>{Object.assign(t,{state:n,mounted:KP({api:t,state:n,constants:i,props:e,nextTick:a,mode:s}),cleanup:s8({state:n,props:e}),destroyed:l8({state:n,api:t}),doDestroy:r,computedTooltipId:c8(i),doShow:WP(n),doClose:YP(n),doToggle:GP(n),handleClick:ZP(n),handleAfterEnter:r8(o),handleBlur:JP({props:e,state:n}),handleFocus:XP({props:e,state:n}),handleKeydown:t8({api:t,props:e}),handleMouseLeave:n8({props:e,state:n}),handleAfterLeave:i8(o),handleMouseEnter:e8({props:e,state:n}),handleDocumentClick:o8({vm:l,state:n}),wrapMounted:u8({api:t,props:e,vm:l,state:n}),handleItemClick:a8({emit:o,state:n}),observeCallback:d8({vm:l,state:n})})},m8=({watch:t,props:e,state:n,emit:o,api:r,nextTick:i,updatePopper:a,mode:l})=>{t(()=>n.showPopper,s=>{e.disabled||(s&&i(()=>a()),o(s?"show":"hide"))}),t(()=>e.reference,(s,c)=>{s!==c&&(r.destroyed(),i(()=>{r.wrapMounted()}))}),t(()=>e.modelValue,s=>{e.trigger==="manual"&&(n.showPopper=s,o("update:modelValue",s))})},pw=(t,{reactive:e,computed:n,watch:o,toRefs:r,onBeforeUnmount:i,onMounted:a,onUnmounted:l,onActivated:s,onDeactivated:c},{$prefix:d,emit:u,vm:m,slots:h,nextTick:p,mode:v})=>{const f={},b={IDPREFIX:`${d.toLowerCase()}-popover`},x={emit:u,onBeforeUnmount:i,nextTick:p,reactive:e,props:t,watch:o,onDeactivated:c,vm:m,slots:h,toRefs:r},{showPopper:w,popperElm:E,referenceElm:S,doDestroy:$,updatePopper:q}=Hu(x),B=p8({reactive:e,computed:n,api:f,popperElm:E,showPopper:w,referenceElm:S});return h8({api:f,constants:b,props:t,state:B,emit:u,doDestroy:$,nextTick:p,vm:m,mode:v}),c(()=>{f.destroyed(),f.cleanup()}),a(()=>{if(f.wrapMounted(),t.genArrowByHtml){const P={attributes:!0,childList:!1,subtree:!1};f.observer=new MutationObserver(f.observeCallback),f.observer.observe(m.$refs.popper,P)}}),s(f.mounted),l(()=>{f.destroyed(),f.observer&&f.observer.disconnect()}),i(f.cleanup),m8({watch:o,props:t,state:B,emit:u,api:f,nextTick:p,updatePopper:q,mode:v}),f};function f8(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var g8=Se({emits:["update:modelValue","hide","show","after-enter","after-leave","created"],props:[].concat(Ye,["appendToBody","arrowOffset","boundariesPadding","closeDelay","content","disabled","modelValue","offset","openDelay","placement","popper","popperClass","popperOptions","reference","tabindex","title","transition","trigger","visibleArrow","width","height"]),setup:function(e,n){return je({props:e,context:n,renderless:pw,api:dw})}}),v8=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("span",{ref:"root"},[o("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.state.showPopper,expression:"!disabled && state.showPopper"}],ref:"popper",staticClass:"tiny-popover tiny-popper",class:[e.popperClass,e.content&&"tiny-popover__plain",{"no-arrow":!e.visibleArrow}],style:{width:e.width==="auto"?e.width:e.width+"px",height:e.height==="auto"?e.height:e.height+"px"},attrs:{role:"tooltip",id:e.state.tooltipId}},[e.title?o("div",{staticClass:"tiny-popover__title",domProps:{textContent:e._s(e.title)}}):e._e(),e._t("default",function(){return[e._v(e._s(e.content))]})],2)]),o("span",{ref:"wrapper",staticClass:"reference-wrapper",class:{"reference-wrapper-show":!e.disabled&&e.state.showPopper}},[e._t("reference")],2)],1)},y8=[],Qg={},b8=f8(g8,v8,y8,!1,w8);function w8(t){for(var e in Qg)this[e]=Qg[e]}var Kg=(function(){return b8.exports})();function x8(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}function Xp(){return Xp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Xp.apply(null,arguments)}var T8={title:"text-color-icon-primary font-bold text-xs",popper:"sm:leading-5 sm:absolute sm:px-4 sm:py-3 sm:z-[2000] sm:text-justify sm:text-xs break-all sm:max-w-[theme(spacing.96)] sm:shadow-md sm:bg-color-bg-1 sm:rounded sm:[&[x-placement^=top]]:mb-2.5 sm:[&[x-placement^=bottom]]:mt-2.5 sm:[&[x-placement^=right]]:ml-2.5 sm:[&[x-placement^=left]]:mr-2.5",arrow:'absolute ml-0.5 border-b-color-bg-1 border-l-color-bg-1 rounded-bl-sm block w-0 h-0 border-4 border-transparent border-solid after:absolute after:block after:border-transparent after:border-solid after:content-[""]',"placement-top":"-bottom-1 left-1/2 -rotate-45","placement-bottom":"-top-1 left-1/2 rotate-[135deg]","placement-right":"-left-1.5 top-1/2 rotate-45","placement-left":"top-1/2 -right-1 rotate-[225deg]"},k8=Se({inheritAttrs:!1,name:Ue+"Popover",components:{IconClose:Kt()},emits:["update:modelValue","hide","show","after-enter","after-leave","created"],props:Xp({},lt,{appendToBody:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0},boundariesPadding:{type:Number,default:5},closeDelay:{type:Number,default:200},content:String,disabled:Boolean,modelValue:Boolean,offset:{default:0},openDelay:{type:Number,default:0},placement:{type:String,default:"bottom"},popper:{},popperClass:String,popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}},reference:{},tabindex:{type:Number,default:0},title:String,transformOrigin:{type:[Boolean,String],default:!0},transition:{type:String,default:"fade-in-linear"},trigger:{type:String,default:"click",validator:function(e){return~["click","focus","hover","manual"].indexOf(e)}},visibleArrow:{default:!0},genArrowByHtml:{type:Boolean,default:function(){return!0}},width:{}}),setup:function(e,n){return je({props:e,context:n,renderless:pw,api:dw,classes:T8})}}),C8=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("span",{ref:"root",class:e.$attrs.class},[o("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.state.showPopper,expression:"!disabled && state.showPopper"}],ref:"popper",class:[e.m(e.gcls("popper"),e.popperClass)],style:{width:e.width+"px"},attrs:{"data-tag":"tiny-popover tiny-popper",role:"tooltip",id:e.state.tooltipId}},[o("div",{staticClass:"hidden sm:block leading-5.5",attrs:{"data-tag":"tiny-popover-arrow"}},[e.slots.header?e._t("header"):e.title?o("div",{class:[e.gcls("title")],domProps:{textContent:e._s(e.title)}}):e._e(),e._t("default",function(){return[e._v(e._s(e.content))]}),e._t("footer"),e.visibleArrow?o("div",{class:[e.gcls("arrow"),e.gcls("placement-"+e.state.xPlacement.split("-")[0])],attrs:{"data-tag":"tiny-popover-visible","x-arrow":""}}):e._e()],2),o("div",{class:["sm:hidden block fixed left-0 right-0 top-0 bottom-0 text-sm text-color-text-primary transition-top ease-out duration-300","before:content-[''] before:fixed before:left-0 before:right-0 before:top-0 before:bottom-0 before:w-full before:h-full before:bg-color-bg-7"],attrs:{"data-tag":"tiny-popover-body"}},[o("div",{class:["absolute bottom-0 top-auto left-1/2 -translate-x-1/2 w-full max-h-full p-3 pointer-events-auto"]},[o("div",{staticClass:"flex flex-col w-full h-full rounded-lg overflow-hidden shadow-xl bg-color-bg-1"},[o("div",{staticClass:"flex items-center leading-6 text-sm px-6 pt-5",attrs:{"data-tag":"tiny-popover-header"}},[o("span",{staticClass:"flex-auto text-base truncate font-semibold"},[e._v(e._s(e.title||e.t("ui.alert.title")))]),o("icon-close",{on:{click:function(i){e.state.showPopper=!1}}})],1),o("div",{staticClass:"flex flex-auto leading-5 overflow-auto mx-6 mt-4 mb-5",attrs:{"data-tag":"tiny-popover-content"}},[e._t("default",function(){return[e._v(" "+e._s(e.content))]})],2),e.slots.footer?o("div",{staticClass:"w-full py-2.5 px-6 border-t-0.5 border-color-border-separator text-center",attrs:{"data-tag":"tiny-popover-footer"}},[e._t("footer")],2):e._e()])])])])]),o("span",{ref:"wrapper",attrs:{"data-tag":"tiny-popover-reference"}},[e._t("reference")],2)],1)},A8=[],Gg={},S8=x8(k8,C8,A8,!1,E8);function E8(t){for(var e in Gg)this[e]=Gg[e]}var $8=(function(){return S8.exports})();function Zp(){return Zp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Zp.apply(null,arguments)}var P8=function(e){var n,o=typeof process=="object"?(n=process.env)==null?void 0:n.TINY_MODE:null;return(o||e)==="pc"?Kg:(o||e)==="mobile-first"?$8:Kg},_8=Zp({},lt,{appendToBody:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0},boundariesPadding:{type:Number,default:5},closeDelay:{type:Number,default:200},content:String,disabled:Boolean,modelValue:Boolean,offset:{default:0},openDelay:{type:Number,default:0},placement:{type:String,default:"bottom"},popper:{},popperClass:String,popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}},reference:{},tabindex:{type:Number,default:0},title:String,transition:{type:String,default:"fade-in-linear"},trigger:{type:String,default:"click",validator:function(e){return!!~["click","focus","hover","manual"].indexOf(e)}},visibleArrow:{default:!0},width:{type:[String,Number]},height:{type:[String,Number]},maxHeight:{type:[String,Number]},listData:[Object,Array],genArrowByHtml:{type:Boolean,default:function(){return!0}}}),Fi=Se({inheritAttrs:!0,name:Ue+"Popover",props:_8,setup:function(e,n){return vt({props:e,context:n,template:P8})}}),M8="2.undefined";Fi.install=function(t){t.component(Fi.name,Fi)};Fi.model={prop:"modelValue",event:"update:modelValue"};Fi.version=M8;const L8=({api:t,state:e,props:n})=>o=>{const i=o&&o.type==="mouseenter"?200:0;if(n.visible==="auto"){const{clientWidth:a,scrollWidth:l}=e.referenceElm;if(l<=a)return}t.setExpectedState(!0),t.handleShowPopper(i)},I8=t=>()=>{t.setExpectedState(!1),t.debounceClose()},N8=({api:t,state:e})=>()=>{e.focusing=!0,t.show()},O8=({api:t,state:e})=>()=>{e.focusing=!1,t.hide()},D8=({api:t,state:e})=>()=>{e.focusing=!1,t.show()},B8=({props:t,state:e})=>n=>{!e.expectedState||t.manual||(clearTimeout(e.timeout),e.timeout=window.setTimeout(()=>{e.showPopper=!0},t.openDelay||n),t.hideAfter>0&&(e.timeoutPending=window.setTimeout(()=>{e.showPopper=!1},t.hideAfter)))},q8=({api:t,props:e,state:n})=>()=>{e.enterable&&n.expectedState||e.manual||(clearTimeout(n.timeout),n.timeoutPending&&clearTimeout(n.timeoutPending),n.showPopper=!1,e.disabled&&t.doDestroy())},F8=({props:t,api:e,state:n,popperVmRef:o})=>r=>{if(t.manual)return;const i=n.referenceElm,a=o.popper;!a||!i||a.contains(r.target)||i.contains(r.target)||n.showPopper&&(e.setExpectedState(!1),e.debounceClose())},R8=({state:t})=>e=>{t.expectedState===!1&&clearTimeout(t.timeoutPending),t.expectedState=e},j8=({state:t,api:e,vm:n})=>()=>{const o=t.referenceElm;t.showPopper=!1,o&&o.nodeType===1&&(Re(document,"click",e.handleDocumentClick),Re(o,"mouseenter",e.show),Re(o,"mouseleave",e.hide),Re(o,"focus",e.focusHandler),Re(o,"blur",e.handleBlur),Re(o,"click",e.removeFocusing)),n.popperVM&&(typeof n.popperVM.$destroy=="function"&&n.popperVM.$destroy(),n.popperVM=null)},z8=({api:t,props:e})=>Sn(e.closeDelay,()=>{t.handleClosePopper()}),U8=t=>e=>{e?mn(t.referenceElm,"focusing"):fn(t.referenceElm,"focusing")},V8=({slots:t,api:e})=>()=>{if(!t.default||!t.default().length){e.handleFocus();return}let n=t.default()[0];n=n.elm||n.el,n&&n.focus?n.focus():e.handleFocus()},H8=({api:t,state:e,vm:n})=>o=>{let r=null;n.$el.nodeType===8?r=o:n.$el.nodeType===1&&(r=n.$el),!(!r||r.nodeType===8||e.referenceElm)&&(e.referenceElm=r,r.setAttribute("aria-describedby",e.tooltipId),r.setAttribute("tabindex",e.tabindex.toString()),Oe(document,"click",t.handleDocumentClick),Oe(r,"mouseenter",t.show),Oe(r,"mouseleave",t.hide),Oe(r,"focus",t.focusHandler),Oe(r,"blur",t.handleBlur),Oe(r,"click",t.removeFocusing))},Q8=({state:t,popperVmRef:e})=>n=>{for(let o of n)o.type==="attributes"&&o.attributeName==="x-placement"&&(t.xPlacement=e.popper.getAttribute("x-placement")||"bottom")},K8=({vm:t,nextTick:e,popperVmRef:n})=>o=>{e(()=>t.bindEvent(o));let r=t.popperVM;t.$refs.popper?n.popper=t.$refs.popper:n.popper=r.$el,e(()=>{t.modelValue&&t.updatePopper()})},hw=["state","bindEvent","hide","show","doDestroy","handleFocus","debounceClose","handleShowPopper","handleClosePopper","setExpectedState","updatePopper","focusHandler"],G8=({reactive:t,showPopper:e,popperElm:n,referenceElm:o,props:r,inject:i,popperJS:a,currentPlacement:l})=>t({popperJS:a,showPopper:e,popperElm:n,referenceElm:o,currentPlacement:l,timeout:null,focusing:!1,expectedState:void 0,tooltipId:Am("tiny-tooltip-",4),tabindex:r.tabindex,xPlacement:"bottom",showContent:i("showContent",null),tipsMaxWidth:i("tips-max-width",null)}),mw=(t,{watch:e,toRefs:n,reactive:o,onBeforeUnmount:r,onDeactivated:i,onMounted:a,onUnmounted:l,inject:s},{vm:c,emit:d,slots:u,nextTick:m,parent:h})=>{const p={},v={},f={emit:d,props:t,nextTick:m,toRefs:n,reactive:o,parent:h.$parent,vm:c,popperVmRef:v};Object.assign(f,{slots:u,onBeforeUnmount:r,onDeactivated:i,watch:e});const{showPopper:b,updatePopper:x,popperElm:w,referenceElm:E,doDestroy:S,popperJS:$,currentPlacement:q}=Hu(f),B=G8({reactive:o,showPopper:b,popperElm:w,referenceElm:E,props:t,inject:s,popperJS:$,currentPlacement:q});return Object.assign(p,{state:B,doDestroy:S,updatePopper:x,show:L8({api:p,state:B,props:t}),hide:I8(p),destroyed:j8({state:B,api:p,vm:c}),bindPopper:K8({vm:c,nextTick:m,popperVmRef:v}),watchFocusing:U8(B),removeFocusing:D8({api:p,state:B}),handleBlur:O8({api:p,state:B}),handleFocus:N8({api:p,state:B}),debounceClose:z8({api:p,props:t}),setExpectedState:R8({state:B}),handleShowPopper:B8({props:t,state:B}),handleClosePopper:q8({api:p,props:t,state:B}),bindEvent:H8({api:p,state:B,vm:c}),focusHandler:V8({slots:u,api:p}),handleDocumentClick:F8({props:t,api:p,state:B,popperVmRef:v}),observeCallback:Q8({state:B,popperVmRef:v})}),e(()=>B.focusing,p.watchFocusing),e(()=>t.modelValue,P=>m(()=>t.manual&&(B.showPopper=P))),a(()=>{if(p.bindPopper(),t.genArrowByHtml){const P={attributes:!0,childList:!1,subtree:!1};p.observer=new MutationObserver(p.observeCallback),p.observer.observe(v.popper,P)}}),c.$on("tooltip-update",p.bindPopper),l(()=>{p.destroyed(),p.observer&&p.observer.disconnect(),c.$off("tooltip-update")}),p};function W8(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t,c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}function Jp(){return Jp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Jp.apply(null,arguments)}var Y8=Se({name:Ue+"Tooltip",componentName:"Tooltip",props:Jp({},lt,{visible:{type:String,default:function(){return"always"},validator:function(e){return["always","auto"].includes(e)}},adjustArrow:{type:Boolean,default:function(){return!1}},appendToBody:{type:Boolean,default:function(){return!0}},arrowOffset:{type:Number,default:function(){return 0}},boundariesPadding:{type:Number,default:function(){return 5}},closeDelay:{type:Number,default:function(){return 300}},content:{type:[String,Object]},disabled:{type:Boolean},effect:{type:String,default:function(){return"dark"}},enterable:{type:Boolean,default:function(){return!0}},hideAfter:{type:Number,default:function(){return 0}},manual:{type:Boolean},modelValue:{type:Boolean},offset:{default:function(){return 0}},openDelay:{type:Number,default:function(){return 0}},placement:{type:String,default:function(){return"bottom"}},popper:{},popperClass:{type:String},popperOptions:{default:function(){return{gpuAcceleration:!1,boundariesPadding:10}}},pre:{type:Boolean},reference:{},renderContent:{type:Function},tabindex:{type:Number,default:function(){return 0}},transition:{type:String,default:function(){return"tiny-fade-in-linear"}},type:{type:String,validator:function(e){return!!~["normal","warning","error","info","success"].indexOf(e)}},visibleArrow:{type:Boolean,default:function(){return!0}},zIndex:{type:String,default:function(){return"next"}},contentMaxHeight:{type:String}}),setup:function(e,n){return je({props:e,context:n,renderless:mw,api:hw})},render:function(){var e=this,n=arguments[0],o=function(c){var d=c.slots.content&&c.slots.content();if(d&&(!dt.Comment||d[0].type!==dt.Comment))return d;var u;return c.renderContent?u=c.renderContent(n,c.content):c.pre?u=c.content?n("pre",c.content):null:u=c.content,u};if(!Object.prototype.hasOwnProperty.call(this,"popperVM")){var r={value:null};this.d({popperVM:{get:function(){return r.value||(r.value=Ku({el:document.createElement("div"),propsData:null,component:{render:function(){var d=o(e),u=typeof d=="string",m={attrs:{name:e.transition},on:{"after-leave":e.doDestroy}},h="is-"+(e.type||e.effect||"dark"),p=function(){return e.setExpectedState(!0)},v=function(){e.setExpectedState(!1),e.debounceClose()};return e.$nextTick(function(){!e.disabled&&e.state.showPopper&&d&&e.updatePopper()}),n("transition",m,[n("div",{ref:"popper",attrs:{id:e.state.tooltipId,role:"tooltip","aria-hidden":e.disabled||!e.state.showPopper?"true":"false"},directives:[{name:"show",value:!e.disabled&&e.state.showPopper&&d}],class:["tiny-tooltip","tiny-tooltip__popper",h,e.popperClass,{"tiny-tooltip__show-tips":e.state.showContent}],style:"max-width:"+e.state.tipsMaxWidth+"px",on:{mouseenter:function(){return p()},mouseleave:function(){return v()}}},[u?n("div",{class:"tiny-tooltip__content-wrapper",style:"max-height:"+e.contentMaxHeight+";"},[d]):d])])}}})),r.value},set:function(c){return r.value=c}}})}var i=function(){var c=e.slots.default&&e.slots.default();if(!Array.isArray(c))return null;for(var d=null,u=0;u<c.length;u++){var m=h2(c[u]);if(!m2(m)){d=m;break}}return d},a=i();if(!a)return null;var l=a.data||a.props||(a.props={});return l.class=P6("tiny-tooltip "+Tu(l.class)),a}}),X8,Z8,Wg={},J8=W8(Y8,X8,Z8,!1,e_);function e_(t){for(var e in Wg)this[e]=Wg[e]}var Yg=(function(){return J8.exports})();function t_(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t,c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}function eh(){return eh=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},eh.apply(null,arguments)}var No={tooltip:"absolute bg-color-text-primary text-color-text-inverse shadow-none -left-[9999px] py-1 px-2 sm:py-1 sm:px-2 text-sm sm:text-xs leading-5 min-w-[theme(spacing.12)] max-w-[theme(spacing.80)] sm:max-w-[theme(spacing.112)] z-[2000] break-words rounded [&[x-placement^=top]]:mb-2.5 [&[x-placement^=bottom]]:mt-2.5 [&[x-placement^=right]]:ml-2.5 [&[x-placement^=left]]:mr-2.5","tooltip-sm":"sm:bg-color-bg-1 sm:text-color-text-primary sm:shadow-md",arrow:'drop-shadow-none absolute block w-0 h-0 border-[0.375rem] border-transparent border-solid after:absolute after:block after:w-0 after:h-0 after:border-[0.3125rem] after:border-transparent after:border-solid after:content-[""]',"placement-top":"-bottom-3 border-t-color-text-primary border-b-w-0 after:-bottom-1 after:-ml-1.5 after:border-t-color-text-primary after:border-b-w-0","placement-bottom":"-top-3 border-t-w-0 border-b-color-text-primary after:-top-1 after:-ml-1.5 after:border-t-w-0 after:border-b-color-text-primary","placement-right":"-left-3 border-r-color-text-primary border-l-w-0 after:-bottom-1 after:-left-1 after:border-r-color-text-primary after:border-l-w-0","placement-left":"-right-1.5 border-l-color-text-primary border-r-0 after:-bottom-1 after:right-px after:-ml-1.5 after:border-l-color-text-primary after:border-r-0","placement-top-sm":"sm:drop-shadow-[0_2px_2px_rgba(0,0,0,0.08)] sm:border-t-color-bg-1 sm:after:border-t-color-bg-1","placement-bottom-sm":"sm:drop-shadow-[0_-2px_2px_rgba(0,0,0,0.08)] sm:border-b-color-bg-1 sm:after:border-b-color-bg-1","placement-right-sm":"sm:drop-shadow-[-2px_0px_2px_rgba(0,0,0,0.08)] sm:border-r-color-bg-1 sm:after:border-r-color-bg-1","placement-left-sm":"sm:drop-shadow-[2px_0_2px_rgba(0,0,0,0.08)] sm:border-l-color-bg-1 sm:after:border-l-color-bg-1","placement-top-light":"border-t-color-bg-1 drop-shadow-[0_2px_2px_rgba(0,0,0,0.08)] after:border-t-color-bg-1","placement-bottom-light":"border-b-color-bg-1 drop-shadow-[0_-2px_2px_rgba(0,0,0,0.08)] after:border-b-color-bg-1","placement-left-light":"border-l-color-bg-1 drop-shadow-[2px_0_2px_rgba(0,0,0,0.08)] after:border-l-color-bg-1","placement-right-light":"border-r-color-bg-1 drop-shadow-[-2px_0px_2px_rgba(0,0,0,0.08)] after:border-r-color-bg-1","placement-top-dark":"border-t-color-text-primary after:border-t-color-text-primary","placement-bottom-dark":"border-b-color-text-primary after:border-b-color-text-primary","placement-left-dark":"border-l-color-text-primary after:border-l-color-text-primary","placement-right-dark":"border-r-color-text-primary after:border-r-color-text-primary","effect-dark":"bg-color-text-primary text-color-text-inverse shadow-none","effect-light":"bg-color-bg-1 text-color-text-primary shadow-md","is-warning":"text-color-text-inverse bg-color-warning border-color-warning","is-error":"text-color-text-inverse bg-color-error border-color-error","is-info":"text-color-text-inverse bg-color-info-secondary border-color-info-secondary","is-success":"text-color-text-inverse bg-color-success border-color-success","arrow-top-warning":"border-t-color-warning after:border-t-color-warning","arrow-bottom-warning":"border-b-color-warning after:border-b-color-warning","arrow-left-warning":"border-l-color-warning after:border-l-color-warning","arrow-right-warning":"border-r-color-warning after:border-r-color-warning","arrow-top-error":"border-t-color-error after:border-t-color-error","arrow-bottom-error":"border-b-color-error after:border-b-color-error","arrow-left-error":"border-l-color-error after:border-l-color-error","arrow-right-error":"border-r-color-error after:border-r-color-error","arrow-top-info":"border-t-color-info-secondary after:border-t-color-info-secondary","arrow-bottom-info":"border-b-color-info-secondary after:border-b-color-info-secondary","arrow-left-info":"border-l-color-info-secondary after:border-l-color-info-secondary","arrow-right-info":"border-r-color-info-secondary after:border-r-color-info-secondary","arrow-top-success":"border-t-color-success after:border-t-color-success","arrow-bottom-success":"border-b-color-success after:border-b-color-success","arrow-left-success":"border-l-color-success after:border-l-color-success","arrow-right-success":"border-r-color-success after:border-r-color-success"},n_=Se({name:Ue+"Tooltip",componentName:"Tooltip",props:eh({},lt,{adjustArrow:{type:Boolean,default:function(){return!1}},appendToBody:{type:Boolean,default:function(){return!0}},arrowOffset:{type:Number,default:function(){return 0}},boundariesPadding:{type:Number,default:function(){return 5}},closeDelay:{type:Number,default:function(){return 100}},content:{type:String},disabled:{type:Boolean},effect:{type:String,default:function(){return""}},enterable:{type:Boolean,default:function(){return!0}},hideAfter:{type:Number,default:function(){return 0}},manual:{type:Boolean},modelValue:{type:Boolean},offset:{default:function(){return 0}},openDelay:{type:Number,default:function(){return 0}},placement:{type:String,default:function(){return"bottom"}},popper:{},popperClass:{type:String},popperOptions:{default:function(){return{gpuAcceleration:!1,boundariesPadding:10}}},pre:{type:Boolean},reference:{},renderContent:{type:Function},tabindex:{type:Number,default:function(){return 0}},transformOrigin:{type:[Boolean,String],default:function(){return!0}},type:{type:String,validator:function(e){return~["normal","warning","error","info","success"].indexOf(e)}},visibleArrow:{type:Boolean,default:function(){return!0}},genArrowByHtml:{type:Boolean,default:function(){return!0}},zIndex:{type:String,default:function(){return"next"}},contentMaxHeight:{type:String}}),setup:function(e,n){return je({props:e,context:n,renderless:mw,api:hw})},render:function(){var e=this,n=arguments[0],o=function(u){var m=u.slots.content&&u.slots.content();if(m)return m;var h;return u.renderContent?h=u.renderContent(n,u.content):u.pre?h=u.content?n("pre",{class:"tiny-tooltip-text-pre whitespace-pre-wrap"},u.content):null:h=u.content,h};if(!Object.hasOwnProperty.call(this,"popperVM")){var r={value:null};this.d({popperVM:{get:function(){return r.value||(r.value=Ku({el:document.createElement("div"),component:{render:function(){var m=o(e),h=typeof m=="string",p={on:{"after-leave":e.doDestroy}},v=function(){return e.setExpectedState(!0)},f=function(){e.setExpectedState(!1),e.debounceClose()},b=e.state.xPlacement||"";return n("transition",p,[n("div",{attrs:{"data-tag":"tiny-tooltip",id:e.state.tooltipId,appendToBody:e.appendToBody,role:"tooltip","aria-hidden":e.disabled||!e.state.showPopper?"true":"false"},ref:"popper",directives:[{name:"show",value:!e.disabled&&e.state.showPopper&&m}],class:Bl([No.tooltip,!e.effect&&!e.type&&No["tooltip-sm"],e.effect&&No["effect-"+e.effect],e.type&&No["is-"+e.type],e.disabled||!e.state.showPopper?"hidden":"",e.popperClass]),on:{mouseenter:function(){return v()},mouseleave:function(){return f()}}},[h?n("div",{style:"overflow:auto;max-height:"+e.contentMaxHeight},[m]):m,e.visibleArrow?n("div",{attrs:{"x-arrow":!0},class:Bl([No.arrow,No["placement-"+b.split("-")[0]],!e.effect&&!e.type&&No["placement-"+b.split("-")[0]+"-sm"],e.effect==="light"?No["placement-"+b.split("-")[0]+"-light"]:"",e.effect==="dark"?No["placement-"+b.split("-")[0]+"-dark"]:"",e.type?No["arrow-"+b.split("-")[0]+"-"+e.type]:""])}):""])])}}})),r.value},set:function(u){return r.value=u}}})}var i=function(u,m){var h=function(x){return x&&x.trim()},p=function(x){var w=[];return x.forEach(function(E){E&&typeof E=="string"?w.push(h(E)):E&&typeof E=="object"&&w.push(v(E))}),w.join(" ")},v=function(x){var w=[];return Object.keys(x).forEach(function(E){x[E]&&w.push(E)}),w.join(" ")},f="";return u&&(typeof u=="string"?f=f+h(u):Array.isArray(u)?f=f+p(u):typeof u=="object"&&(f=f+v(u))),h(f.replace(m,""))},a=function(u){var m=i(u,/\btiny-tooltip\b/g);return"tiny-tooltip "+m},l=function(){var u=e.slots.default&&e.slots.default();if(!Array.isArray(u))return null;for(var m=null,h=0;h<u.length;h++){var p=h2(u[h]);if(!m2(p)){m=p;break}}return m},s=l();if(!s)return null;var c=s.data||s.props||(s.props={});return c.class=a(c.class),s}}),o_,r_,Xg={},i_=t_(n_,o_,r_,!1,a_);function a_(t){for(var e in Xg)this[e]=Xg[e]}var s_=(function(){return i_.exports})();function th(){return th=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},th.apply(null,arguments)}var l_=function(e){var n,o=typeof process=="object"?(n=process.env)==null?void 0:n.TINY_MODE:null;return(o||e)==="pc"?Yg:(o||e)==="mobile-first"?s_:Yg},c_=th({},lt,{visible:{type:String,default:function(){return"always"},validator:function(e){return["always","auto"].includes(e)}},adjustArrow:{type:Boolean,default:function(){return!1}},appendToBody:{type:Boolean,default:function(){return!0}},arrowOffset:{type:Number,default:function(){return 0}},content:{type:[String,Object]},disabled:{type:Boolean},enterable:{type:Boolean,default:function(){return!0}},hideAfter:{type:Number,default:function(){return 0}},manual:{type:Boolean},modelValue:{type:Boolean},offset:{default:function(){return 0}},effect:{type:String,default:function(){return""}},openDelay:{type:Number,default:function(){return 0}},closeDelay:{type:Number,default:function(){return 100}},placement:{type:String,default:function(){return"bottom"}},popper:{},popperClass:{type:String},popperOptions:{default:function(){return{}}},pre:{type:Boolean},reference:{},renderContent:{type:Function},tabindex:{type:Number,default:function(){return 0}},transition:{type:String,default:function(){return"tiny-fade-in-linear"}},type:{type:String,validator:function(e){return!!~["normal","warning","error","info","success"].indexOf(e)}},visibleArrow:{type:Boolean,default:function(){return!0}},genArrowByHtml:{type:Boolean,default:function(){return!0}},zIndex:{type:String,default:function(){return"next"}},contentMaxHeight:{type:String,default:function(){return"80vh"}}}),Cn=Se({name:Ue+"Tooltip",componentName:"Tooltip",props:c_,setup:function(e,n){return vt({props:e,context:n,template:l_})}}),u_="2.undefined";Cn.model={prop:"modelValue",event:"update:modelValue"};Cn.install=function(t){t.component(Cn.name,Cn)};Cn.version=u_;var d_=2,es={value:null},Kd=dt.ref(""),p_=function(e){var n=nh(e);return n?e.scrollWidth>e.clientWidth||e.scrollHeight-e.clientHeight>d_:!1},nh=function(e){return"content"in e.boundingValue?e.boundingValue.content:e.textContent},h_=function(e){var n;return!!(!(e==null||(n=e.boundingValue)==null)&&n.always)},Gd=function(e){var n;return(e==null||(n=e.boundingValue)==null?void 0:n.effect)==="dark"},Wd=function(e){var n;return((n=e.boundingValue)==null?void 0:n.placement)||"top"},fw=function(e){var n=e.currentTarget;if(n.boundingValue&&(h_(n)||p_(n))){var o;es.value||(Kd.value=nh(n),es.value=Ku({el:document.createElement("div"),propsData:{renderContent:function(){return xu("span",{class:"tiny-directive-tip__content"},Kd.value)},placement:Wd(n),effect:Gd(n)?"dark":"light"},component:Cn}));var r=es.value,i=r.state.popperElm;Kd.value=nh(n),r.state.referenceElm=n,r.state.currentPlacement=Wd(n),i&&i.classList.replace("is-"+(Gd(n)?"light":"dark"),"is-"+(Gd(n)?"dark":"light")),r.show(),(o=r.state.popperJS)!=null&&o._options&&(r.state.popperJS._options.placement=Wd(n)),r.updatePopper()}},gw=function(){es.value&&es.value.hide()},xc=function(e,n){var o,r=n.value,i=r===void 0?{}:r;e.boundingValue=i,i&&!((o=e.boundingValue)!=null&&o.listened)&&(e.addEventListener("mouseenter",fw),e.addEventListener("mouseleave",gw),e.boundingValue.listened=!0)},Zg=function(e){var n;if((n=e.boundingValue)!=null&&n.listened){var o=es.value;o&&e===o.state.referenceElm&&o.state.showPopper&&o.hide(),e.removeEventListener("mouseenter",fw),e.removeEventListener("mouseleave",gw)}},Jl={bind:xc,unbind:Zg,update:xc,beforeMount:xc,unmounted:Zg,updated:xc},Ni=[],Vt="@@clickoutsideContext",Wa,m_=0;tt||(Oe(document,"mousedown",function(t){Wa=t,Ni.filter(function(e){return e[Vt].mousedownTrigger}).forEach(function(e){return e[Vt].documentHandler(t,Wa)})}),Oe(document,"mouseup",function(t){Ni.filter(function(e){return!e[Vt].mousedownTrigger}).forEach(function(e){var n;return e[Vt].documentHandler(t,(n=e[Vt])!=null&&n.mouseupTrigger?t:Wa)}),Wa=null}));var Jg=function(e,n,o){return function(r,i){var a,l,s,c,d,u;r===void 0&&(r={}),i===void 0&&(i={});var m=o.context.popperElm||o.context.state&&o.context.state.popperElm,h=((a=i)==null||a.composedPath==null?void 0:a.composedPath())||[(l=i)==null?void 0:l.target],p=((s=r)==null||s.composedPath==null?void 0:s.composedPath())||[(c=r)==null?void 0:c.target],v=h.includes(e)||p.includes(e),f=m&&(h.includes(m)||p.includes(m));!((d=i)!=null&&d.target)||!((u=r)!=null&&u.target)||v||f||(n.expression&&e[Vt].methodName&&o.context[e[Vt].methodName]?o.context[e[Vt].methodName]():e[Vt].bindingFn&&e[Vt].bindingFn())}},oa={bind:function(e,n,o){Ni.push(e);var r=m_++,i=n.modifiers,a=n.expression,l=n.value,s=i||{},c=s.mousedown,d=c===void 0?!1:c,u=s.mouseup,m=u===void 0?!1:u;e[Vt]={id:r,documentHandler:Jg(e,n,o),methodName:a,bindingFn:l,mousedownTrigger:d,mouseupTrigger:m}},update:function(e,n,o){var r=n.modifiers,i=n.expression,a=n.value,l=r||{},s=l.mousedown,c=s===void 0?!1:s,d=l.mouseup,u=d===void 0?!1:d;e[Vt].documentHandler=Jg(e,n,o),e[Vt].methodName=i,e[Vt].bindingFn=a,e[Vt].mousedownTrigger=c,e[Vt].mouseupTrigger=u},unbind:function(e){if(e.nodeType===Node.ELEMENT_NODE){for(var n=Ni.length,o=0;o<n;o++)if(Ni[o][Vt].id===e[Vt].id){Ni.splice(o,1);break}Ni.length===0&&Wa&&(Wa=null),delete e[Vt]}}};function vw(t,e){for(var n=document.createTreeWalker(t,NodeFilter.SHOW_TEXT),o=[];n.nextNode();){var r=n.currentNode;e(r)&&o.push(r)}return o}function f_(t,e,n){e.forEach(function(o){var r=o.textContent,i=r.indexOf(n),a=r.substring(0,i),l=r.substring(i+n.length);o.textContent=a;var s=document.createElement("span");s.classList.add("tiny-hl-query-node"),s.textContent=n;var c=document.createTextNode(l);o.after(s,c)}),e.length&&Hm(t,n)}function g_(t){var e=new Set;t.forEach(function(n){var o;return e.add((o=n.parentElement)==null?void 0:o.parentElement)}),e.forEach(function(n){n.innerText=n.textContent})}function Hm(t,e){if(e){var n=vw(t,function(o){if(o.parentElement.classList.contains("tiny-hl-query-node"))return!1;var r=o.textContent||"";return r.includes(e)});f_(t,n,e)}}function v_(t){var e=vw(t,function(n){return n.parentElement.classList.contains("tiny-hl-query-node")});g_(e)}var e1=function(e,n){e.classList.toggle("tiny-hl-query",!0);var o=n.value;Hm(e,o)},t1=function(e){v_(e)},n1=function(e,n){var o=n.value;Hm(e,o)},y_={mounted:e1,beforeUpdate:t1,updated:n1,inserted:e1,update:t1,componentUpdated:n1};var ku="@@observevisibilityContext",b_=function(e){var n;return typeof e=="function"?n={callback:e}:n=e,n},yw=function(e){var n=e.options,o=e.instance,r=e.state;r.observer&&oh(r),!r.frozen&&(r.options=b_(n),r.callback=function(i,a){r.options.callback(i,a),i&&r.options.once&&(r.frozen=!0,oh(r))},r.callback&&r.options.throttle&&(r.callback=Hp(r.options.throttleDelay||20,r.callback)),r.observer=new IntersectionObserver(function(i){var a=i[0];if(i.length>1){var l=i.find(function(s){return s.isIntersecting});l&&(a=l)}r.callback&&r.callback(a.isIntersecting,a)},r.options.intersection),o.$nextTick(function(){r.observer&&r.observer.observe(r.el)}))},oh=function(e){e.observer&&(e.observer.disconnect(),e.observer=null),e.callback&&(e.callback=null)},w_=function(e){var n=e.el,o=e.options,r=e.instance,i={el:n,observer:null,frozen:!1};return yw({options:o,instance:r,state:i}),i},rh=function(e,n,o){var r=n.value,i=n.instance,a=o.context;if(r){if(typeof IntersectionObserver>"u")throw new TypeError("[TINY Error][ObserveVisibility] IntersectionObserver API is not available in your browser");i=i||a,e[ku]=w_({el:e,options:r,instance:i})}},o1=function(e,n,o){var r=n.value,i=n.oldValue,a=n.instance,l=o.context;if(!ni(r,i)){var s=e[ku];if(!r){ih(e);return}a=a||l,s?yw({options:r,instance:a,state:s}):rh(e,{value:r,instance:a},{context:l})}},ih=function(e){var n=e[ku];n&&(oh(n),delete e[ku])},x_={bind:rh,update:o1,unbind:ih,beforeMount:rh,updated:o1,unmounted:ih};function T_(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var k_=Se({emits:["change","edit","update:modelValue"],directives:{AutoTip:Jl},props:[].concat(Ye,["size","data","plain","modelValue","disabled","valueField","textField","showMore","showEdit","border"]),components:{TinyPopover:Fi,TinyButton:Pt,IconPopup:d$(),IconEditor:P4()},setup:function(e,n){return je({props:e,context:n,renderless:HP,api:VP})}}),C_=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("div",{staticClass:"tiny-button-group",class:[e.size?"tiny-button-group--"+e.size:"",e.border?"":"tiny-button-group--borderless"]},[e._t("default",function(){return[e.data.length>0?[e.showMore&&e.showMore>0?o("ul",{staticClass:"tiny-group-item show-more"},[e._l(e.state.buttonData,function(r,i){return o("li",{key:i,class:{active:e.state.value===r[e.valueField]}},[o("button",{class:e.getItemClass(r),on:{click:function(l){return e.handleClick(r)}}},[e._v(" "+e._s(r[e.textField])+" ")]),r.sup?o("span",{class:["tiny-group-item__sup",{"tiny-group-item__sup-text":!r.sup.slot&&!r.sup.icon&&r.sup.text&&r.sup.tag,"tiny-group-item__sup-icon":!r.sup.slot&&r.sup.icon&&r.sup.tag,"tiny-group-item__sup-tag":r.sup.tag},typeof r.sup.class=="string"?r.sup.class:""].concat(Array.isArray(r.sup.class)?r.sup.class:[])},[r.sup.slot?e._t(r.sup.slot,null,{sup:r.sup}):r.sup.icon?o(r.sup.icon,{tag:"component"}):r.sup.text?o("span",[e._v(e._s(r.sup.text))]):e._e()],2):e._e()])}),e.data.length>e.showMore?o("li",{staticClass:"tiny-group-item__more"},[o("tiny-popover",{attrs:{"visible-arrow":!1,"popper-class":"tiny-group-item__more-popover"},scopedSlots:e._u([{key:"reference",fn:function(){return[o("tiny-button",{staticClass:"more-button",attrs:{"reset-time":0}},[o("icon-popup")],1)]},proxy:!0}],null,!1,3560931275)},[o("ul",{staticClass:"more-list"},e._l(e.state.moreData,function(r,i){return o("li",{key:i,class:{active:e.state.value===r[e.valueField],"more-item":!0},on:{click:function(l){return e.moreNodeClick(r)}}},[e._v(" "+e._s(r[e.textField])+" ")])}),0)])],1):e._e(),e.showEdit?o("li",{staticClass:"tiny-group-item__edit"},[o("tiny-button",{staticClass:"edit-button",on:{click:function(i){return e.$emit("edit")}}},[o("Icon-editor")],1)],1):e._e()],2):o("ul",{staticClass:"tiny-group-item"},e._l(e.data,function(r,i){return o("li",{key:i,class:{active:e.state.value===r[e.valueField]}},[o("button",{directives:[{name:"auto-tip",rawName:"v-auto-tip",value:r.tip?{always:!0,content:r.tip}:!1,expression:"Boolean(node.tip) ? { always: true, content: node.tip } : false"}],class:e.getItemClass(r),attrs:{type:"button",tabindex:e.getItemClass(r).disabled?"-1":"0"},on:{click:function(l){return e.handleClick(r)}}},[e._v(" "+e._s(r[e.textField])+" ")]),r.sup?o("span",{class:["tiny-group-item__sup",{"tiny-group-item__sup-text":!r.sup.slot&&!r.sup.icon&&r.sup.text&&!r.sup.tag,"tiny-group-item__sup-icon":!r.sup.slot&&r.sup.icon&&!r.sup.tag,"tiny-group-item__sup-tag":r.sup.tag},typeof r.sup.class=="string"?r.sup.class:""].concat(Array.isArray(r.sup.class)?r.sup.class:[])},[r.sup.slot?e._t(r.sup.slot,null,{sup:r.sup}):r.sup.icon?o(r.sup.icon,{tag:"component"}):r.sup.text?o("span",[e._v(e._s(r.sup.text))]):e._e()],2):e._e()])}),0)]:o("span",{staticClass:"tiny-button-group--empty"},[e._t("empty",function(){return[e._v(e._s(e.t("ui.buttonGroup.noData")))]})],2)]})],2)},A_=[],r1={},S_=T_(k_,C_,A_,!1,E_);function E_(t){for(var e in r1)this[e]=r1[e]}var $_=(function(){return S_.exports})();function ah(){return ah=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ah.apply(null,arguments)}var P_=function(e){var n;return typeof process=="object"&&((n=process.env)==null||n.TINY_MODE),$_},__=ah({},lt,{size:{type:String,default:"",validator:function(e){return["medium","small","mini",""].includes(e)}},data:{type:Array,default:function(){return[]}},plain:Boolean,modelValue:[String,Number],disabled:Boolean,valueField:{type:String,default:"value"},textField:{type:String,default:"text"},showMore:Number,showEdit:{type:Boolean,default:!1},border:{type:Boolean,default:!0}}),Ri=Se({name:Ue+"ButtonGroup",provide:function(){return{buttonGroup:this}},props:__,setup:function(e,n){return vt({props:e,context:n,template:P_})}}),M_="2.undefined";Ri.model={prop:"modelValue",event:"update:modelValue"};Ri.install=function(t){t.component(Ri.name,Ri)};Ri.version=M_;const L_=t=>(e,n)=>{if(!n.disabled)if(n.type==="sort")!n.modelValue||n.modelValue==="desc"?(n.state.sort="asc",n.$emit("update:modelValue","asc"),n.$emit("click","asc")):(n.state.sort="desc",n.$emit("update:modelValue","desc"),n.$emit("click","desc"));else{const o=t.children.length===1&&n.state.showPopup;t.children.forEach((r,i)=>{i===e&&!o?r.toggle(!0):r.state.showPopup&&r.toggle(!1,{immediate:!0})})}},I_=({props:t,state:e,vm:n})=>()=>{if(!n.$refs.menu)return;const o=n.$refs.menu.getBoundingClientRect();t.direction==="down"?e.offset=o.bottom:e.offset=window.innerHeight-o.top},N_=({props:t,state:e})=>()=>{t.closeOnClickOutside&&t.closeOnClickOverlay&&e.children.forEach(n=>{n.type!=="filter"&&n.toggle(!1)})},O_=(t,e)=>{const n=/scroll|auto/i;let o=t,r=window.getComputedStyle;for(;o&&o.tagName!=="HTML"&&o.nodeType===1&&o!==e;){const{overflowY:i}=r(o);if(n.test(i)){if(o.tagName!=="BODY")return o;const{overflowY:a}=r(o.parentNode);if(n.test(a))return o}o=o.parentNode}return e||null},D_=({api:t,props:e,hooks:n,instance:o,state:r,dropdownVm:i,designConfig:a})=>{var l,s;const{nextTick:c,onBeforeUnmount:d,onDeactivated:u,onMounted:m,reactive:h,toRefs:p,watch:v}=n,{emit:f,slots:b,vm:x,parent:w}=o,E={placement:e.placement||((l=a==null?void 0:a.props)==null?void 0:l.placement)||"bottom-end",visibleArrow:e.visibleArrow||((s=a==null?void 0:a.props)==null?void 0:s.visibleArrow)||!1},S=Hu({emit:f,nextTick:c,onBeforeUnmount:d,onDeactivated:u,props:_t(_t({popperOptions:{boundariesPadding:0,gpuAcceleration:!1},offset:0,boundariesPadding:5},e),E),reactive:h,vm:x,slots:b,toRefs:p,watch:v});m(()=>{i&&(S.popperElm&&(i.popperElm=S.popperElm.value=x.$el,c(()=>{S.referenceElm&&(S.referenceElm.value=i.$el)}),!e.multiStage&&i.initDomOperation()),i.inheritWidth&&S.popperElm&&(i.popperElm.style.minWidth=i.$el.clientWidth+"px"))}),d(()=>{S.destroyPopper("remove"),S.popperElm=null,S.referenceElm=null}),t.doDestroy=S.doDestroy,r.size=(i==null?void 0:i.size)||"",r.showPopper=S.showPopper.value,w.$on("updatePopper",()=>{r.showPopper&&S.updatePopper()}),w.$on("visible",$=>{r.showPopper=$,S.showPopper.value=$,r.showPopper&&(r.initShowPopper=!0)}),v(()=>e.placement,$=>{S.currentPlacement.value=$})},B_=({api:t,parent:e,state:n})=>()=>{e.$on("menu-selected-index",o=>{n.selectedIndex=o}),e.$on("menu-item-click",t.handleMenuItemClick),e.$on("mouseenter-tips",(o,r)=>{n.label=r,n.showContent=o}),e.$on("mouseleave-tips",(o,r)=>{n.label=r,n.showContent=o})},q_=({state:t,dispatch:e})=>({itemData:n,vm:o,label:r,showContent:i,disabled:a})=>{t.label=r,t.showContent=i,e("TinyDropdown","current-item-click",{itemData:n,vm:o,disabled:a})},F_=t=>e=>{t("mouseenter",e)},R_=t=>e=>{t("mouseleave",e)},bw=["state","toggleItem","updateOffset","clickOutside","doDestroy","handleMouseenter","handleMouseleave"],ww=(t,e,n)=>{const o={},{reactive:r,provide:i,onMounted:a,inject:l}=e,{nextTick:s,mode:c,vm:d,parent:u,dispatch:m,emit:h,designConfig:p}=n;i("dropdownMenuVm",d),i("multiStage",t.multiStage);const v=l("dropdownVm"),f=r({offset:0,scroller:null,children:[],size:"",showPopper:!1,initShowPopper:!v.lazyShowPopper,label:"",showContent:!1,selected:!1,selectedIndex:-1,canvasHeight:l("change-size",null)});return c==="mobile"?s(()=>{f.scroller=O_(d.$refs.menu)}):D_({api:o,hooks:e,props:t,instance:n,state:f,dropdownVm:v,designConfig:p}),Object.assign(o,{state:f,toggleItem:L_(f),clickOutside:N_({props:t,state:f}),updateOffset:I_({props:t,state:f,vm:d}),mounted:B_({api:o,parent:u,state:f}),handleMouseenter:F_(h),handleMouseleave:R_(h),handleMenuItemClick:q_({dispatch:m,state:f})}),a(o.mounted),o},j_=t=>()=>{if(t.title)return t.title;const e=t.options.filter(n=>n.value===t.modelValue);return e.length?e[0].text:""},z_=({api:t,parent:e})=>n=>{(n?Oe:Re)(e.state.scroller,"scroll",t.onScroll,!0)},U_=({parent:t,props:e,state:n})=>o=>{o!==n.showPopup&&(n.transition=!e.options.immediate,n.showPopup=o,o&&(t.updateOffset(),n.showWrapper=!0))},V_=t=>()=>t.updateOffset(),H_=t=>e=>t.$el&&e.stopPropagation(),Q_=({emit:t,props:e,state:n})=>o=>{n.showPopup=!1,o!==e.modelValue&&(t("update:modelValue",o),t("change",o))},K_=({parent:t,state:e})=>()=>({zIndex:t.zIndex,top:t.direction==="down"?e.offset+"px":"",bottom:t.direction!=="down"?e.offset+"px":""}),G_=t=>(e,n)=>n.includes(e.value)?{color:t.activeColor?t.activeColor:"#f36f64",border:`1px solid ${t.activeColor?t.activeColor:"#f36f64"}`}:{color:"#333"},W_=({emit:t,state:e})=>()=>{e.showWrapper=!1,t("closed")},Y_=t=>()=>t("open"),X_=t=>()=>t("opened"),Z_=t=>()=>t("close"),J_=({emit:t,props:e})=>(n,o,r)=>{r.preventDefault(),r.stopPropagation();const i=e.modelValue.slice(),a=i[n],l=a.indexOf(o.value);l===-1?a.push(o.value):a.splice(l,1),i[n]=a,t("update:modelValue",i)},eM=({emit:t,props:e,state:n})=>()=>{n.showPopup=!1,t("confirm",e.modelValue)},tM=({emit:t,props:e})=>()=>{const n=e.modelValue.length,o=[];for(let r=0;r<n;r++)o.push([]);t("update:modelValue",o),t("reset",o)},nM=t=>()=>{t.closeOnClickOutside&&t.closeOnClickOverlay&&t.state.children.forEach(e=>{e.toggle(!1)})},oM=({state:t,props:e,dispatch:n,vm:o,emit:r})=>i=>{i.stopPropagation(),t.currentIndex=`${e.currentIndex}`;const a={itemData:e.itemData,vm:o,disabled:e.disabled};e.disabled||r("item-click",a),n("TinyDropdown","menu-item-click",a),n("TinyDropdown","is-disabled",[e.disabled]),n("TinyDropdown","selected-index",[t.currentIndex])},rM=({constants:t,designConfig:e})=>(n="leftWardArrow")=>(e==null?void 0:e.icons[n])||(t==null?void 0:t.ICON_MAP[n]),iM=({props:t,vm:e})=>()=>t.tip&&typeof t.tip=="function"?t.tip({itemData:t.itemData,vm:e}):t.tip||"",aM=["state","confirm","clickOutside","getOptionStyle","reset","tagClick","clickItem","clickWrapper","toggle","open","opened","close","closed","handleClick","computedTip"],sM=({reactive:t,computed:e,api:n,props:o,parent:r,dropdownMenuVm:i,dropdownVm:a})=>t({checkedStatus:i==null?void 0:i.checkedStatus,sort:o.modelValue,transition:!0,getTitle:!1,showWrapper:!1,showPopup:!1,duration:r.duration,overlay:e(()=>r.overlay),offset:e(()=>r.state.offset),direction:e(()=>r.direction),displayTitle:e(()=>n.getTitle()),itemStyle:e(()=>n.getItemStyle()),activeColor:e(()=>r.activeColor),closeOnClickOverlay:e(()=>r.closeOnClickOverlay),dropdownMenuVm:i,currentIndex:o.currentIndex,textField:(i==null?void 0:i.textField)||o.textField,popperClass:(i==null?void 0:i.popperClass)||"",sizeClass:a!=null&&a.size?`tiny-dropdown-item--${a==null?void 0:a.size}`:"",getIcon:e(()=>n.computedGetIcon()),children:[],computedTip:e(()=>n.computedTip())}),lM=({api:t,state:e,emit:n,props:o,parent:r,dispatch:i,vm:a,constants:l,designConfig:s})=>{Object.assign(t,{state:e,open:Y_(n),opened:X_(n),close:Z_(n),getTitle:j_(o),onScroll:V_(r),reset:tM({emit:n,props:o}),closed:W_({emit:n,state:e}),clickWrapper:H_(r),clickOutside:nM(r),tagClick:J_({emit:n,props:o}),getOptionStyle:G_(e),toggle:U_({parent:r,props:o,state:e}),clickItem:Q_({emit:n,props:o,state:e}),getItemStyle:K_({parent:r,state:e}),bindScroll:z_({api:t,parent:r}),confirm:eM({emit:n,props:o,state:e}),handleClick:oM({state:e,props:o,dispatch:i,vm:a,emit:n}),computedGetIcon:rM({constants:l,designConfig:s}),computedTip:iM({props:o,vm:a})})},cM=(t,{computed:e,onMounted:n,reactive:o,watch:r,inject:i},{parent:a,emit:l,vm:s,dispatch:c,constants:d,designConfig:u})=>{const m={},h=i("dropdownMenuVm",null),p=i("dropdownVm",null),v=sM({reactive:o,computed:e,api:m,props:t,parent:a,dropdownMenuVm:h,dropdownVm:p});return lM({api:m,state:v,emit:l,props:t,parent:a,dispatch:c,vm:s,constants:d,designConfig:u}),r(()=>v.showPopup,m.bindScroll),n(()=>{const f=a.$parent.$parent||{};f.state&&f.state.children?f.state.children.push(s):h&&(h.state.children=[...h.state.children,s]),t.disabled&&(v.checkedStatus=!1)}),m};function uM(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var dM=Se({name:Ue+"DropdownItem",componentName:Ue+"DropdownItem",directives:{AutoTip:Jl},emits:["item-click","update:modelValue","change","closed","open","opened","close","confirm","reset"],props:[].concat(Ye,["disabled","divided","icon","itemData","selected","currentIndex","title","titleClass","options","type","label","selectedField","multiStage","appendToBody","textField","tip","tipPosition","effect","isMono"]),components:{IconLeftWardArrow:eP()},setup:function(e,n){return je({props:e,context:n,renderless:cM,api:aM,mono:e.isMono})}}),pM=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("li",{directives:[{name:"auto-tip",rawName:"v-auto-tip",value:e.state.computedTip?{always:!0,content:e.state.computedTip,effect:e.effect,placement:e.tipPosition}:!1,expression:`
|
|
5
5
|
state.computedTip ? { always: true, content: state.computedTip, effect, placement: tipPosition } : false
|
|
6
6
|
`}],ref:"dropdownItem",class:["tiny-dropdown-item","tiny-dropdown-menu__item",e.state.sizeClass,e.disabled?"is-disabled":"",e.divided?"tiny-dropdown-item--divided tiny-dropdown-menu__item--divided":"",e.state.checkedStatus&&e.selected?"tiny-dropdown-item--check-status":"",e.itemData.children&&e.itemData.children.length?"has-children":""],attrs:{"aria-disabled":e.disabled,tabindex:e.disabled?null:-1},on:{click:function(i){return i.stopPropagation(),e.handleClick.apply(null,arguments)},mousedown:function(i){i.stopPropagation()}}},[o("div",{staticClass:"tiny-dropdown-item__wrap"},[e.itemData.children&&e.itemData.children.length?o("span",{staticClass:"tiny-dropdown-item__expand tiny-dropdown-menu__item-expand"},[o(e.state.getIcon,{tag:"component"})],1):e._e(),o("div",{staticClass:"tiny-dropdown-item__content tiny-dropdown-menu__item-content"},[e.icon?o(e.icon,{tag:"component",staticClass:"tiny-svg-size tiny-dropdown-item__pre-icon"}):e._e(),o("span",{staticClass:"tiny-dropdown-item__label"},[e._t("default",function(){return[o("span",[e._v(e._s(e.label))])]},{itemData:e.itemData})],2)],1),e.itemData.children&&e.itemData.children.length?o("ul",{class:["tiny-dropdown-menu","tiny-dropdown-item--child tiny-dropdown-menu__item--child",e.state.popperClass]},e._l(e.itemData.children,function(r,i){return o("tiny-dropdown-item",{key:i,attrs:{label:r[e.state.textField],"item-data":r,_constants:e._constants,icon:r.icon,"is-mono":!0,disabled:r.disabled,divided:r.divided,tip:r.tip,"tip-position":r.tipPosition}},[e._t("default",null,{itemData:r})],2)}),1):e._e()])])},hM=[],i1={},mM=uM(dM,pM,hM,!1,fM);function fM(t){for(var e in i1)this[e]=i1[e]}var a1=(function(){return mM.exports})();const gM=["dataStore","handleClick","dataStore","mouseEnter","mouseLeave"],vM=(t,{reactive:e,inject:n},{dispatch:o,vm:r})=>{const i={},a=n("dropdownMenuVm",null);let l=e({checkedStatus:a==null?void 0:a.checkedStatus,multiStageMenu:"",multiStage:n("multiStage",null),itemData:"",itemLabel:"",showContent:!1,dropdownMenuVm:a,currentIndex:t.currentIndex,level:t.level});const s=({dataStore:u,props:m,vm:h})=>()=>{m.disabled&&(u.checkedStatus=!1),u.itemData=m.itemData,u.itemLabel="",u.showContent=!1,m.level==="2"?u.currentIndex=`${m.level}-${m.currentIndex}`:u.currentIndex=`${m.currentIndex}`,o("TinyDropdown","selected-index",[u.currentIndex]);const p={itemData:u.itemData,vm:h,label:u.itemLabel,showContent:u.showContent,disabled:m.disabled};o("TinyDropdownMenu","menu-item-click",p),o("TinyDropdown","is-disabled",[m.disabled])},c=({dataStore:u})=>()=>{u.itemLabel="",u.showContent=!1,o("TinyDropdownMenu","mouseleave-tips",[u.showContent,u.itemLabel])},d=({vm:u,dataStore:m,props:h})=>p=>{const v=p.target,f=v.textContent,b=window.getComputedStyle(v).font,x=v.getBoundingClientRect(),w=T0(f,b,x.width),E=m.dropdownMenuVm.$refs.tooltip;w.o&&(E.state.referenceElm=v,E.state.popperElm&&(E.state.popperElm.style.display="none"),E.doDestroy(),m.itemLabel=h.tooltipContent||f,u.$refs.level.scrollWidth>u.$refs.level.offsetWidth&&(m.showContent=!0),setTimeout(E.updatePopper,20)),o("TinyDropdownMenu","mouseenter-tips",[m.showContent,m.itemLabel])};return Object.assign(i,{dataStore:l,handleClick:s({dataStore:l,props:t,vm:r}),mouseEnter:d({dataStore:l,vm:r,props:t}),mouseLeave:c({dataStore:l})}),i};function yM(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var bM=Se({emits:["update:modelValue","change","closed","open","opened","close","confirm","reset","click"],props:[].concat(Ye,["disabled","icon","itemData","selected","label","level","currentIndex","tooltipContent"]),setup:function(e,n){return je({props:e,context:n,renderless:vM,api:gM})}}),wM=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("li",{class:e.m("!mb-1 rounded-sm list-none leading-10 sm:leading-5.5 outline-0 min-w-[theme(spacing.18)] max-w-[theme(spacing.52)] w-full [&_svg]:sm:w-3.5 [&_svg]:sm:h-3.5 [&_svg]:sm:mr-1.5 [&_svg]:mr-2 [&_svg]:align-text-bottom",e.disabled?"cursor-not-allowed text-color-text-disabled [&_svg]:fill-color-text-disabled":"text-color-text-primary active:bg-color-bg-4 visited:text-color-brand hover:bg-color-bg-2 focus:bg-color-bg-4 cursor-pointer",{"text-color-brand-focus bg-color-fill-6":e.dataStore.checkedStatus&&e.selected},e.dataStore.multiStage?"!px-0":"[&:not(:last-of-type)]:!mb-1"),attrs:{"data-tag":"tiny-dropdown-item","aria-disabled":e.disabled,tabindex:e.disabled?null:-1},on:{mouseenter:e.mouseEnter,mouseleave:e.mouseLeave,click:function(i){return i.stopPropagation(),e.handleClick.apply(null,arguments)}}},[o("div",{ref:"level",class:["text-sm",e.level==="2"?"mx-6 overflow-hidden text-ellipsis whitespace-nowrap":"mx-4 sm:mx-3 overflow-hidden text-ellipsis whitespace-nowrap"],attrs:{"data-tag":"tiny-dropdown-level"}},[e.icon?o(e.icon,{tag:"component",staticClass:"sm:w-3.5 sm:h-3.5 sm:mr-1.5 mr-2 align-text-bottom"}):e._e(),e._t("default")],2)])},xM=[],s1={},TM=yM(bM,wM,xM,!1,kM);function kM(t){for(var e in s1)this[e]=s1[e]}var CM=(function(){return TM.exports})();function sh(){return sh=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},sh.apply(null,arguments)}var AM=function(e){var n,o=typeof process=="object"?(n=process.env)==null?void 0:n.TINY_MODE:null;return(o||e)==="pc"?a1:(o||e)==="mobile-first"?CM:a1},SM={ICON_MAP:{leftWardArrow:"icon-left-ward-arrow"}},EM=sh({},lt,{_constants:{type:Object,default:function(){return SM}},icon:[String,Object],disabled:Boolean,divided:Boolean,itemData:{type:[String,Object],default:""},title:String,label:String,level:String,titleClass:String,options:{type:Array,default:function(){return[]}},type:{type:String,default:"selection"},selected:{type:Boolean,default:!1},selectedField:{type:String,default:"selected"},multiStage:{type:Boolean,default:!1},currentIndex:{type:Number,default:function(){return-1}},tooltipContent:{type:String,default:""},appendToBody:{type:Boolean,default:!0},textField:{type:String,default:"label"},tip:{type:[String,Function],default:""},tipPosition:{type:String,default:"right"},effect:{type:String,default:"light"}}),ji=Se({name:Ue+"DropdownItem",componentName:"TinyDropdownItem",props:EM,setup:function(e,n){return vt({props:e,context:n,template:AM})}}),$M="2.undefined";ji.model={prop:"modelValue",event:"update:modelValue"};ji.install=function(t){t.component(ji.name,ji)};ji.version=$M;function PM(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var _M=Se({components:{TinyDropdownItem:ji},emits:["mouseenter","mouseleave","click","update:modelValue","created"],props:[].concat(Ye,["visibleArrow","arrowOffset","placement","popperClass","popperAppendToBody","checkedStatus","textField","options"]),setup:function(e,n){return je({props:e,context:n,renderless:ww,api:bw})}}),MM=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("transition",{attrs:{name:"tiny-zoom-in-top"},on:{"after-leave":e.doDestroy}},[o("ul",{directives:[{name:"show",rawName:"v-show",value:e.state.showPopper,expression:"state.showPopper"}],staticClass:"tiny-dropdown-menu tiny-popper",class:[e.state.size&&"tiny-dropdown-menu--"+e.state.size,e.popperClass],on:{mouseenter:e.handleMouseenter,mouseleave:e.handleMouseleave}},[e.state.initShowPopper||e.state.showPopper?[e._t("default",function(){return e._l(e.options,function(r,i){return o("tiny-dropdown-item",{key:i,attrs:{"item-data":r,label:r[e.textField],icon:r.icon,disabled:r.disabled,divided:r.divided,tip:r.tip,"tip-position":r.tipPosition}})})},{selectedIndex:e.state.selectedIndex})]:e._e()],2)])},LM=[],l1={},IM=PM(_M,MM,LM,!1,NM);function NM(t){for(var e in l1)this[e]=l1[e]}var c1=(function(){return IM.exports})();function OM(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var DM=Se({props:[].concat(Ye,["visibleArrow","arrowOffset","placement","popperClass","popperAppendToBody","checkedStatus","multiStage","maxHeight"]),emits:["menu-item-click","created"],components:{TinyTooltip:Cn},setup:function(e,n){return je({props:e,context:n,renderless:ww,api:bw})}}),BM=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("transition",{attrs:{name:"tiny-zoom-in-top",duration:150},on:{"after-leave":e.doDestroy}},[o("ul",{directives:[{name:"show",rawName:"v-show",value:e.state.showPopper,expression:"state.showPopper"}],class:e.m("min-w-[theme(spacing.18)] max-w-[theme(spacing.52)] absoulte bg-color-bg-1 tiny-dropdown-popper",{"py-1.5":e.state.size==="medium"},{"py-1.5":e.state.size==="small"},{"py-0.75":e.state.size==="mini"},{"overflow-x-hidden scrollbar-size-0":e.maxHeight},e.multiStage?"!block rounded-none":"rounded py-1 shadow-sm sm:shadow-md px-1",e.state.canvasHeight?"sm:mb-6":!e.multiStage&&"sm:my-1 my-2",e.popperClass),style:{maxHeight:e.maxHeight+"px"},attrs:{"data-tag":"tiny-dropdown-menu"}},[o("tiny-tooltip",{ref:"tooltip",attrs:{effect:"light",content:e.state.label,placement:"top-start",manual:!0},model:{value:e.state.showContent,callback:function(i){e.$set(e.state,"showContent",i)},expression:"state.showContent"}}),e.state.initShowPopper||e.state.showPopper?[e._t("default",null,{selectedIndex:e.state.selectedIndex})]:e._e()],2)])},qM=[],u1={},FM=OM(DM,BM,qM,!1,RM);function RM(t){for(var e in u1)this[e]=u1[e]}var jM=(function(){return FM.exports})();function lh(){return lh=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},lh.apply(null,arguments)}var zM=function(e){var n,o=typeof process=="object"?(n=process.env)==null?void 0:n.TINY_MODE:null;return(o||e)==="pc"?c1:(o||e)==="mobile-first"?jM:c1},UM=lh({},lt,{multiStage:{type:Boolean,default:!1},checkedStatus:{type:Boolean,default:!1},visibleArrow:Boolean,arrowOffset:{type:Number,default:0},placement:String,popperClass:String,popperAppendToBody:{type:Boolean,default:!0},activeColor:String,closeOnClickOutside:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},direction:{type:String,default:"down"},duration:{type:[Number,String],default:.2},overlay:{type:Boolean,default:!0},zIndex:[Number,String],maxHeight:{type:[Number,String],default:"400"},options:{type:Array,default:function(){return[]}},textField:{type:String,default:"label"}}),ts=Se({name:Ue+"DropdownMenu",componentName:Ue+"DropdownMenu",props:UM,setup:function(e,n){return vt({props:e,context:n,template:zM})}}),VM="2.undefined";ts.install=function(t){t.component(ts.name,ts)};ts.version=VM;function HM(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t,c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}function ch(){return ch=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ch.apply(null,arguments)}var QM=Se({name:Ue+"Dropdown",componentName:"TinyDropdown",model:{prop:"visible",event:"update:visible"},components:{TinyButton:Pt,TinyButtonGroup:Ri,TinyDropdownMenu:ts,IconDownWard:tu()},directives:ri({Clickoutside:oa}),props:ch({},lt,{type:String,trigger:String,visible:{type:[Boolean,void 0],default:void 0},size:{type:String,default:""},disabled:{type:Boolean,default:!1},splitButton:Boolean,showTimeout:{type:Number,default:250},hideTimeout:{type:Number,default:150},hideOnClick:{type:Boolean,default:!0},tabindex:{type:Number,default:0},border:{type:Boolean,default:!1},round:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!0},menuOptions:{type:Object,default:function(){return{options:[],textField:"label",popperClass:"",placement:"bottom-end"}}},title:{type:String,default:"下拉菜单"},inheritWidth:{type:Boolean,default:!1},suffixIcon:Object,prefixIcon:Object,lazyShowPopper:{type:Boolean,default:!1}}),emits:["visible-change","item-click","button-click","menu-item-click","handle-click","is-disabled","selected-index","update:visible"],setup:function(e,n){return je({props:e,context:n,renderless:lw,api:sw})},render:function(){var e,n,o,r,i=arguments[0],a=this.splitButton,l=this.type,s=this.disabled,c=this.handleMainButtonClick,d=this.menuOptions,u=this.title,m=this.suffixIcon,h=this.prefixIcon,p=this.slots,v=this.size,f=this.state,b=this.border,x=this.showIcon,w=this.round,E=this.clickOutside,S=this.visible,$={visible:f.visible},q=null,B="tiny-dropdown__trigger tiny-dropdown-trigger",P=f.visibleIsBoolean?S:f.visible,N=P?"tiny-dropdown--visible tiny-dropdown-visible":"",D=m||((e=f.designConfig)==null||(n=e.icons)==null?void 0:n.dropdownIcon)||tu(),W=h,M=((o=f.designConfig)==null||(r=o.icons)==null?void 0:r.dropdownIcon)||tu(),C=p.default&&p.default($);if(a)q=i("tiny-button-group",[i("tiny-button",{attrs:{type:l,size:v,disabled:s},on:{click:c},class:"tiny-dropdown__title-button"},[C||i("span",[u])]),i("tiny-button",{ref:"trigger",attrs:{type:l,size:v,disabled:s,"reset-time":0},class:"tiny-dropdown__caret-button "+B},[i(M,{class:N})])]);else{var V,k=p["suffix-icon"]&&p["suffix-icon"](),z=p["prefix-icon"]&&p["prefix-icon"](),O=C&&((V=C[0])==null?void 0:V.data)||{},K=O.attrs,ne=K===void 0?{}:K;s&&!ne.disabled&&(ne.disabled=!0,O.attrs=ne);var re=x?i("span",{class:"tiny-dropdown__suffix-inner "+N},[k||i(D)]):"",te=h||z?i("span",{class:"tiny-dropdown__prefix-inner "+N},[z||i(W)]):"",Z=C||u?i("span",{class:"tiny-dropdown__title"},[C||u]):null;q=b?i("tiny-button",{ref:"trigger",attrs:{round:w,size:v,disabled:s,type:l,"reset-time":0},class:"tiny-dropdown__border "+(f.visible?"is-expand":"")+(x?" is-show-icon ":"")+" "+B},[te,Z,re]):i("span",{ref:"trigger",class:"is-text"+(f.visible?" is-expand":" is-hide")+(s?" is-disabled":"")+" "+B},[te,Z,re])}var ee=i("tiny-dropdown-menu",{attrs:{options:d.options,"text-field":d.textField||d["text-field"],"popper-class":d.popperClass||d["popper-class"],placement:d.placement}}),Y=s?null:p.dropdown&&p.dropdown()||ee;return i("div",{class:"tiny-dropdown",directives:[{name:"clickoutside",value:!f.visibleIsBoolean&&E}],attrs:{"aria-disabled":s}},[q,Y])}}),KM,GM,d1={},WM=HM(QM,KM,GM,!1,YM);function YM(t){for(var e in d1)this[e]=d1[e]}var p1=(function(){return WM.exports})();function XM(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t,c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}function uh(){return uh=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},uh.apply(null,arguments)}var ZM=Se({name:Ue+"Dropdown",componentName:"TinyDropdown",components:{TinyButton:Pt,TinyButtonGroup:Ri,IconChevronDown:Zl(),IconChevronUp:qm(),IconArrowBottom:w2()},directives:ri({Clickoutside:oa}),props:uh({},lt,{type:String,trigger:String,size:{type:String,default:""},disabled:{type:Boolean,default:!1},singleButton:{type:Boolean,default:!1},showTimeout:{type:Number,default:250},hideTimeout:{type:Number,default:150},hideOnClick:{type:Boolean,default:!0},tabindex:{type:Number,default:0},border:{type:Boolean,default:!1},round:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!0},modelValue:[String,Number],showSelfIcon:{type:Boolean,default:!1},lazyShowPopper:{type:Boolean,default:!1}}),emits:["visible-change","item-click","button-click","current-item-click","menu-item-click","is-disabled","selected-index"],setup:function(e,n){return je({props:e,context:n,renderless:lw,api:sw,mono:!0})},render:function(){var e=arguments[0],n=this.type,o=this.disabled,r=this.handleMainButtonClick,i=this.slots,a=this.size,l=this.state,s=this.border,c=this.round,d=this.m,u=this.clickOutside,m=this.singleButton,h={visible:l.visible},p=null;if(m)p=e("tiny-button",{ref:"trigger",attrs:{type:n==="primary"?n:"",size:a,customClass:d(["rounded active:rounded flex items-center justify-center",l.visible&&n!=="primary"&&"active:border-color-border-focus text-color-text-primary active:text-color-brand-focus focus:border-color-border-focus focus:text-color-brand-focus"]),disabled:o,"reset-time":0},on:{click:r}},[e("div",{class:"overflow-hidden overflow-ellipsis whitespace-nowrap w-full"},[i.default&&i.default(h)])]);else{var v=i.default&&i.default(h),f=i["suffix-icon"]&&i["suffix-icon"](),b=(v==null?void 0:v[0].data)||{},x=b.attrs,w=x===void 0?{}:x;o&&!w.disabled&&(w.disabled=!0,b.attrs=w);var E=e("span",{class:"block text-[0]"},[l.current!=="default"?e("icon-chevron-down",{class:"sm:block hidden will-change-transform"}):e("icon-arrow-bottom",{class:"sm:hidden block will-change-transform"})]),S=l.showIcon&&e("span",{attrs:{"data-tag":"tiny-dropdown-showicon"},class:["ml-1 sm:ml-2 [&_svg:nth-of-type(1)]:align-top w-4 h-4 inline-block [&_svg]:transition-transform [&_svg]:duration-300",{"fill-color-brand-focus [&_svg:nth-of-type(1)]:hover:fill-color-brand-hover [&_svg:nth-of-type(1)]:active:fill-color-brand-focus leading-4":!o&&!s},s&&(l.visible?"[&_svg]:rotate-180":"[&_svg]:rotate-0"),s&&n!=="primary"&&l.visible&&"[&_svg]:fill-color-border-focus visited:[&_svg]:fill-color-border-focus active:[&_svg]:fill-color-border-focus"]},[f||E]);p=s?e("tiny-button",{ref:"trigger",attrs:{round:c,size:a,type:n==="primary"?n:"",disabled:o,"reset-time":0},class:["rounded inline-flex items-center justify-center",n==="primary"?"[&_svg]:fill-color-bg-1":l.visible?"active:border-color-border-focus text-color-text-primary active:text-color-brand-focus focus:border-color-border-focus focus:text-color-brand-focus":"[&_svg]:fill-color-icon-placeholder"]},[v,S]):e("span",{ref:"trigger",class:[l.visible&&!l.showSelfIcon?"[&_svg]:rotate-180":"[&_svg]:rotate-0",o&&"cursor-not-allowed [&_svg]:fill-color-text-disabled","inline-flex [&_svg]:transition-transform [&_svg]:duration-300"]},[e("span",{class:["inline-flex h-4 leading-4",o?"text-color-text-disabled":"hover:text-color-brand-hover active:text-color-brand-focus"]},[v]),e("span",{class:"align-bottom leading-4 h-4"},[S])])}var $=o?null:i.dropdown&&i.dropdown();return e("div",{class:["relative inline-block [&>span:nth-of-type(1)]:text-color-brand-focus [&>span:nth-of-type(1)]:text-sm sm:[&>span:nth-of-type(1)]:text-sm",o&&"[&>span:nth-of-type(1)]:text-color-brand-focus",l.showSelfIcon&&"leading-4 h-4 [&_svg]:align-top [&_svg]:rotate-0"],directives:[{name:"clickoutside",value:u}],attrs:{"aria-disabled":o,"data-tag":"tiny-dropdown"}},[p,$])}}),JM,eL,h1={},tL=XM(ZM,JM,eL,!1,nL);function nL(t){for(var e in h1)this[e]=h1[e]}var oL=(function(){return tL.exports})();function dh(){return dh=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},dh.apply(null,arguments)}var rL=function(e){var n,o=typeof process=="object"?(n=process.env)==null?void 0:n.TINY_MODE:null;return(o||e)==="pc"?p1:(o||e)==="mobile-first"?oL:p1},iL=dh({},lt,{modelValue:[String,Number],visible:{type:[Boolean,void 0],default:void 0},type:String,trigger:String,size:{type:String,default:""},disabled:{type:Boolean,default:!1},splitButton:Boolean,singleButton:{type:Boolean,default:!1},showTimeout:{type:Number,default:250},hideTimeout:{type:Number,default:150},hideOnClick:{type:Boolean,default:!0},tabindex:{type:Number,default:0},border:{type:Boolean,default:!1},round:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!0},showSelfIcon:{type:Boolean,default:!1},menuOptions:{type:Object,default:function(){return{options:[],textField:"label",popperClass:"",placement:"bottom-end"}}},title:{type:String,default:"下拉菜单"},inheritWidth:{type:Boolean,default:!1},suffixIcon:Object,lazyShowPopper:{type:Boolean,default:!1}}),bl=Se({name:Ue+"Dropdown",componentName:"TinyDropdown",model:{prop:"visible",event:"update:visible"},props:iL,setup:function(e,n){return vt({props:e,context:n,template:rL})}}),aL="2.undefined";bl.install=function(t){t.component(bl.name,bl)};bl.version=aL;const sL=({state:t,props:e})=>()=>{e.contentPosition?(t.sheetMaskStyle={position:"absolute"},t.sheetContentStyle={"max-height":e.height}):(t.sheetMaskStyle={position:"fixed"},t.sheetContentStyle={position:"fixed","max-height":e.height}),t.contentStyle=e.contentStyle?e.contentStyle:""},lL=({state:t,nextTick:e,refs:n,BScroll:o})=>()=>{e(()=>{const{scrollMenu:r}=n;r&&(t.scroll?t.scroll.refresh():t.scroll=new o(r,{probeType:3,tap:"tap"}))})},cL=({emit:t,state:e})=>()=>{e.scroll=null,t("update:visible",!1),t("close",!1)},uL=({emit:t,state:e})=>n=>{setTimeout(()=>{e.toggle=n},0),t("update:visible",n)},dL=({emit:t,state:e})=>n=>{e.active=n.id,e.scroll=null,t("update:visible",!1),t("update:modelValue",n.id),t("click",n)},pL=({api:t})=>()=>{t.handleClose("close",!1)},hL=({api:t})=>()=>{t.handleClose("hide",!1)},mL=({emit:t,props:e})=>n=>{const{valueField:o}=e;t("update:visible",!1),t("update:modelValue",n[o]),t("click",n)},fL=({state:t,api:e})=>()=>{e.handleClose("confirm",t)},gL=({emit:t})=>(e,n)=>{t("update:visible",!1),t("click",e,n)},vL=({vm:t,emit:e,props:n})=>(o,r)=>{typeof n.beforeClose=="function"&&n.beforeClose(o)===!1||(o==="close"?t.$refs.drawer.close(!0):e("update:visible",!1),e(o,r))},yL=["state","setSheetStyle","initScrollMenu","visibleHandle","watchVisible","menuHandle","close","selectOption","confirm","actionSelectOption","hide"],bL=(t,{reactive:e,watch:n},{emit:o,nextTick:r,refs:i,vm:a},{BScroll:l})=>{const s=e({toggle:!1,sheetMaskStyle:{},sheetContentStyle:{},scroll:null}),c={};return Object.assign(c,{state:s,setSheetStyle:sL({state:s,props:t}),initScrollMenu:lL({state:s,nextTick:r,refs:i,BScroll:l}),visibleHandle:cL({emit:o,state:s}),watchVisible:uL({emit:o,state:s}),menuHandle:dL({state:s,emit:o}),confirm:fL({state:s,api:c}),selectOption:mL({emit:o,props:t}),actionSelectOption:gL({emit:o}),hide:hL({api:c}),close:pL({api:c}),handleClose:vL({vm:a,emit:o,props:t})}),n(()=>t.visible,d=>{d&&(c.setSheetStyle({state:s,props:t}),c.initScrollMenu({state:s,nextTick:r,refs:i,BScroll:l})),c.watchVisible(d)}),n(()=>t.visible,c.watchVisible,{immediate:!0}),c},wL=({state:t,designConfig:e,props:n,constants:o})=>()=>{var r;return t.width?t.width+"px":n.width||((r=e==null?void 0:e.constants)==null?void 0:r.DEFAULT_WIDTH)||o.DEFAULT_WIDTH},xL=({state:t,designConfig:e,props:n,constants:o})=>()=>{var r;return t.height?t.height+"px":n.height||((r=e==null?void 0:e.constants)==null?void 0:r.DEFAULT_HEIGHT)||o.DEFAULT_HEIGHT},TL=({api:t})=>(e=!0)=>{t.handleClose("close",typeof e=="boolean"?e:!1)},kL=({state:t,api:e})=>n=>{n?e.open():e.close()},CL=({state:t,emit:e,vm:n})=>()=>{t.visible||setTimeout(()=>{t.visible=!0,e("open",n),e("update:visible",!0)},0)},AL=({api:t})=>()=>{t.handleClose("confirm")},SL=({emit:t,props:e,state:n})=>(o,r)=>{const i=o==="mask"&&!e.maskClosable,a=!r&&typeof e.beforeClose=="function"&&e.beforeClose(o)===!1;i||a||n.visible&&(n.visible=!1,setTimeout(()=>{t("update:visible",!1),t(["close","confirm"].includes(o)?o:"close")},200))},EL=({state:t,vm:e})=>n=>{n.preventDefault();const o=n.touches?n.touches[0]:n,r=e.$refs.drawerBox;t.dragEvent.isDrag=!0,t.dragEvent.x=o.clientX,t.dragEvent.y=o.clientY,t.dragEvent.offsetWidth=r.offsetWidth,t.dragEvent.offsetHeight=r.offsetHeight},$L=({state:t,props:e,emit:n})=>Sn(1,o=>{if(!t.dragEvent.isDrag)return;o.preventDefault();const{placement:r}=e,{dragEvent:{x:i,y:a,offsetWidth:l,offsetHeight:s}}=t,{touches:c,targetTouches:d,changedTouches:u}=o,m=c&&c[0]||d&&d[0]||u&&u[0],{clientX:h,clientY:p}=m||o,v=h-i,f=p-a;if(r==="left")t.width=l+v;else if(r==="right")t.width=l-v;else if(r==="top"){const b=s+f;t.height=b>10?b:10}else if(r==="bottom"){const b=s-f;t.height=b>10?b:10}n("drag",{width:t.width,height:t.height})}),PL=({state:t})=>e=>{t.dragEvent.isDrag&&(e.preventDefault(),t.dragEvent.isDrag=!1)},_L=({api:t,vm:e})=>()=>{const n=e.$refs.dragBar;n.addEventListener("mousedown",t.mousedown),document.addEventListener("mousemove",t.mousemove),document.addEventListener("mouseup",t.mouseup),n.addEventListener("touchstart",t.mousedown),n.addEventListener("touchmove",t.mousemove),n.addEventListener("touchend",t.mouseup)},ML=({api:t,vm:e})=>()=>{const n=e.$refs.dragBar;n.removeEventListener("mousedown",t.mousedown),document.removeEventListener("mousemove",t.mousemove),document.removeEventListener("mouseup",t.mouseup),n.removeEventListener("touchstart",t.mousedown),n.removeEventListener("touchmove",t.mousemove),n.removeEventListener("touchend",t.mouseup)},LL=t=>()=>{mn(document.body,t)},IL=t=>()=>{fn(document.body,t)},xw=["state","close","confirm","handleClose","open"],Tw=(t,{reactive:e,watch:n,onMounted:o,onBeforeUnmount:r,computed:i},{emit:a,vm:l,mode:s,constants:c,designConfig:d})=>{const u=c.SCROLL_LOCK_CLASS(s),m={},h=e({visible:!1,width:0,height:0,dragEvent:{x:0,y:0,isDrag:!1,offsetWidth:0,offsetHeight:0},computedWidth:i(()=>m.computedWidth()),computedHeight:i(()=>m.computedHeight())});return Object.assign(m,{state:h,open:CL({state:h,emit:a,vm:l}),confirm:AL({api:m}),close:TL({api:m}),handleClose:SL({emit:a,props:t,state:h}),mousedown:EL({state:h,vm:l}),mousemove:$L({state:h,props:t,emit:a}),mouseup:PL({state:h}),addDragEvent:_L({api:m,vm:l}),removeDragEvent:ML({api:m,vm:l}),watchVisible:kL({state:h,api:m}),showScrollbar:LL(u),hideScrollbar:IL(u),computedWidth:wL({state:h,designConfig:d,props:t,constants:c}),computedHeight:xL({state:h,designConfig:d,props:t,constants:c})}),o(()=>{t.dragable&&m.addDragEvent(),t.lockScroll&&t.visible&&m.showScrollbar()}),r(()=>{t.dragable&&m.removeDragEvent(),t.lockScroll&&m.hideScrollbar()}),n(()=>t.visible,m.watchVisible,{immediate:!0}),n(()=>t.width,()=>h.width=0),m};function NL(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var OL=Se({components:{TinyButton:Pt,TinyTooltip:Cn,IconClose:Kt(),IconHelpCircle:Rm(),SlotWrapper:{props:["node"],render:function(){var e=this.node;return typeof e=="function"?e(xu):e}}},props:[].concat(Ye,["visible","title","showHeader","showFooter","customClass","placement","width","height","mask","dragable","maskClosable","lockScroll","flex","showClose","zIndex","beforeClose","tipsProps","customSlots"]),emits:["update:visible","open","close","confirm","drag"],setup:function(e,n){return je({props:e,context:n,renderless:Tw,api:xw})}}),DL=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("div",{staticClass:"tiny-drawer",attrs:{"data-tag":"tiny-drawer"}},[o("transition",{attrs:{name:"drawer-fade"}},[e.mask&&e.state.visible?o("div",{ref:"mask",staticClass:"tiny-drawer__mask show-bg-color",style:{zIndex:e.zIndex},on:{click:function(i){return e.handleClose("mask")}}}):e._e()]),o("transition",{attrs:{name:"drawer-slide-"+e.placement}},[o("div",{directives:[{name:"show",rawName:"v-show",value:e.state.visible,expression:"state.visible"}],ref:"drawerBox",class:["tiny-drawer__main",{"is-left":e.placement==="left","is-right":e.placement==="right","is-top":e.placement==="top","is-bottom":e.placement==="bottom","drag-effects":!e.state.dragEvent.isDrag,toggle:e.state.visible},"tiny-drawer-main",e.customClass],style:{width:["left","right"].includes(e.placement)?e.state.computedWidth:null,height:["top","bottom","left","right"].includes(e.placement)||e.dragable?e.state.computedHeight:null,zIndex:e.zIndex,transform:e.state.visible?"none":null},attrs:{"data-tag":"tiny-drawer-main"}},[e.dragable?o("div",{ref:"dragBar",class:["tiny-drawer__drag-bar",["left","right"].includes(e.placement)&&"p-left-Right",["top","bottom"].includes(e.placement)&&"p-top-Bottom",e.placement==="left"&&"p-left",e.placement==="right"&&"p-right",e.placement==="top"&&"p-top",e.placement==="bottom"&&"p-bottom"],attrs:{"data-tag":"drawer-drag-bar"}}):e._e(),o("div",{staticClass:"tiny-drawer__box"},[e.showHeader?o("div",{ref:"header",staticClass:"tiny-drawer__header-wrapper",attrs:{"data-tag":"drawer-header"}},[e._t("header",function(){var r;return[(r=e.customSlots)!==null&&r!==void 0&&r.header?o("slot-wrapper",{attrs:{node:e.customSlots.header}}):o("div",{staticClass:"tiny-drawer__header"},[o("div",{staticClass:"tiny-drawer__header-left"},[e.title?o("div",{staticClass:"tiny-drawer__title"},[e._v(e._s(e.title))]):e._e(),e.tipsProps?o("tiny-tooltip",e._b({},"tiny-tooltip",e.tipsProps,!1),[o("icon-help-circle",{staticClass:"tiny-drawer__help-icon"})],1):e._e()],1),o("div",{staticClass:"tiny-drawer__header-right"},[e._t("header-right",function(){var i;return[(i=e.customSlots)!==null&&i!==void 0&&i.headerRight?o("slot-wrapper",{attrs:{node:e.customSlots.headerRight}}):e._e()]})],2)])]}),e.showClose?o("button",{staticClass:"tiny-drawer__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:function(i){return e.handleClose("close")}}},[o("icon-close",{staticClass:"tiny-svg-size tiny-drawer__close"})],1):e._e()],2):e._e(),o("div",{ref:"body",class:["tiny-drawer__body",{"flex flex-col":e.flex},"drawer-body"],attrs:{"data-tag":"drawer-body"}},[e._t("default",function(){var r;return[o("slot-wrapper",{attrs:{node:(r=e.customSlots)===null||r===void 0?void 0:r.default}})]})],2),e.showFooter?o("div",{ref:"footer",staticClass:"tiny-drawer__footer",attrs:{"data-tag":"drawer-footer"}},[e._t("footer",function(){var r;return[(r=e.customSlots)!==null&&r!==void 0&&r.footer?o("slot-wrapper",{attrs:{node:e.customSlots.footer}}):[o("tiny-button",{staticClass:"tiny-drawer__cancel-btn",on:{click:function(a){return e.handleClose("cancel")}}},[e._v(e._s(e.t("ui.button.cancel")))]),o("tiny-button",{staticClass:"tiny-drawer__confirm-btn",attrs:{type:"primary"},on:{click:function(a){return e.handleClose("confirm")}}},[e._v(e._s(e.t("ui.button.confirm")))])]]})],2):e._e()])])])],1)},BL=[],m1={},qL=NL(OL,DL,BL,!1,FL);function FL(t){for(var e in m1)this[e]=m1[e]}var f1=(function(){return qL.exports})();function RL(t,e,n,o,r,i,a,l){var s=typeof t=="function"?t.options:t;e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0);var c;if(r&&(c=r),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(h,p){return c.call(p),d(h,p)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:s}}var jL=Se({components:{TinyButton:Pt,IconClose:Kt()},props:[].concat(Ye,["visible","title","showHeader","showFooter","customClass","placement","width","mask","dragable","maskClosable","lockScroll","flex","beforeClose"]),emits:["update:visible","open","close","confirm"],setup:function(e,n){return je({props:e,context:n,renderless:Tw,api:xw})}}),zL=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"text-sm",attrs:{"data-tag":"tiny-drawer"}},[e.mask?o("div",{ref:"mask",class:e.m("fixed z-50 left-0 right-0 top-0 bottom-0 w-full h-full transition ease-linear duration-200",{"bg-color-bg-7":e.state.visible}),on:{click:function(i){return e.handleClose("mask")}}}):e._e(),o("div",{ref:"drawerBox",class:e.m("fixed w-full max-w-full flex flex-col bg-color-bg-1 z-50 shadow-sm border-color-border-separator",{"transition-all ease-linear duration-200":!e.state.dragEvent.isDrag},{"h-full":["left","right"].includes(e.placement)},{"max-h-full":["top","bottom"].includes(e.placement)},{"left-0 bottom-0 translate-y-full border-t-0.5 rounded-t-lg":e.placement==="bottom"},{"left-0 top-0 -translate-y-full border-b-0.5 rounded-b-lg":e.placement==="top"},{"translate-y-0":["top","bottom"].includes(e.placement)&&e.state.visible},{"left-0 top-0 -translate-x-full border-r-0.5 rounded-r-lg":e.placement==="left"},{"right-0 top-0 translate-x-full border-l-0.5 rounded-l-lg":e.placement==="right"},{"translate-x-0":["left","right"].includes(e.placement)&&e.state.visible},e.customClass),style:{width:["left","right"].includes(e.placement)?e.state.computedWidth:null,height:["top","bottom"].includes(e.placement)&&e.dragable&&e.state.height?e.state.height+"px":null,transform:e.state.visible?"none":null},attrs:{"data-tag":"tiny-drawer-main"}},[e.dragable?o("div",{ref:"dragBar",class:["absolute",["left","right"].includes(e.placement)&&"cursor-e-resize h-full top-0 w-2",["top","bottom"].includes(e.placement)&&"cursor-n-resize w-full h-2 left-0",e.placement==="left"&&"-right-1",e.placement==="right"&&"-left-1",e.placement==="top"&&"-bottom-1",e.placement==="bottom"&&"-top-1"],attrs:{"data-tag":"drawer-drag-bar"}}):e._e(),o("div",{class:["flex-auto flex-col flex max-h-full overflow-hidden"]},[e.showHeader?o("div",{ref:"header",staticClass:"flex-none flex leading-6 p-4 text-base items-center",attrs:{"data-tag":"drawer-header"}},[e._t("header",function(){return[e.title?o("div",{staticClass:"max-w-[80%] pr-4 text-left truncate text-color-text-primary"},[e._v(e._s(e.title))]):e._e(),o("div",{staticClass:"flex-1 flex items-center justify-end"},[e._t("header-right",function(){return[o("IconClose",{staticClass:"fill-color-icon-primary",attrs:{"custom-class":"h-5 w-5 cursor-pointer"},on:{click:function(i){return e.handleClose("close")}}})]})],2)]})],2):e._e(),o("div",{ref:"body",class:["flex-auto overflow-auto",{"flex flex-col":e.flex}],attrs:{"data-tag":"drawer-body"}},[e._t("default")],2),e.showFooter?o("div",{ref:"footer",staticClass:"px-4 py-3",attrs:{"data-tag":"drawer-footer"}},[o("div",{staticClass:"flex-1 text-right"},[e._t("footer",function(){return[o("tiny-button",{attrs:{tiny_mode:"mobile-first"},on:{click:function(i){return e.handleClose("cancel")}}},[e._v(e._s(e.t("ui.button.cancel")))]),o("tiny-button",{staticClass:"ml-2",attrs:{tiny_mode:"mobile-first",type:"primary"},on:{click:function(i){return e.handleClose("confirm")}}},[e._v(e._s(e.t("ui.button.confirm")))])]})],2)]):e._e()])])])},UL=[],g1={},VL=RL(jL,zL,UL,!1,HL);function HL(t){for(var e in g1)this[e]=g1[e]}var QL=(function(){return VL.exports})();function ql(){return ql=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ql.apply(null,arguments)}var KL=function(e){var n,o=typeof process=="object"?(n=process.env)==null?void 0:n.TINY_MODE:null;return(o||e)==="pc"?f1:(o||e)==="mobile-first"?QL:f1},kw={SCROLL_LOCK_CLASS:function(e){var n={"mobile-first":"overflow-hidden",pc:"popup-parent--hidden dialog-box__scroll-lock"};return n[e]||""},DEFAULT_WIDTH:"500px",DEFAULT_HEIGHT:"100vh"},GL=ql({},lt,{_constants:{type:Object,default:function(){return kw}},visible:{type:Boolean,default:!1},customClass:[String,Object,Array],placement:{type:String,default:"right"},width:{type:String},height:{type:String},title:String,showClose:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!1},mask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},dragable:Boolean,lockScroll:{type:Boolean,default:!0},flex:{type:Boolean,default:!1},zIndex:{type:Number,default:2e3},beforeClose:Function,tipsProps:Object,customSlots:Object}),Hr=Se({name:Ue+"Drawer",props:GL,setup:function(e,n){return vt({props:e,context:n,template:KL})}}),WL={customClass:null,placement:"right",width:null,height:null,title:"",showClose:!0,showHeader:!0,showFooter:!1,mask:!0,maskClosable:!0,dragable:!1,lockScroll:!0,flex:!1,zIndex:2e3,beforeClose:null,tipsProps:null},Cw=function(e){var n;e===void 0&&(e={});var o={onOpen:function(s){var c;typeof((c=e.events)==null?void 0:c.open)=="function"&&e.events.open(s)},onClose:function(s){var c;typeof((c=e.events)==null?void 0:c.close)=="function"&&e.events.close(s)},onConfirm:function(s){var c;typeof((c=e.events)==null?void 0:c.confirm)=="function"&&e.events.confirm(s)}},r=ql({},WL,e,o),i=Ku({component:Hr,propsData:ql({},r,{_constants:kw,tiny_mode:e.tiny_mode||((n=c2().tiny_mode)==null?void 0:n.value)}),el:document.createElement("div")}),a=document.body;return a.appendChild(i.$el),dt.nextTick(function(){i.open()}),i},YL="2.undefined";Hr.model={prop:"visible",event:"update:visible"};Hr.service=Cw;Hr.install=function(t){t.component(Hr.name,Hr)};Hr.version=YL;eu.TINYDrawer={init:function(e){var n=e.$apiPrefix||"$";e[n+"drawer"]=Cw}};/*!
|
|
7
7
|
* better-scroll / core
|
|
@@ -451,4 +451,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
451
451
|
`,We+=Ne+`
|
|
452
452
|
`,We+=Ae[1]+`
|
|
453
453
|
`,We+=Ae[0]+`
|
|
454
|
-
`,We+="UNSIGNED-PAYLOAD",pe+="X-Amz-Signature="+qt(Nf(me,ke,this.sk,this.region,We)),{ActualSignedRequestHeaders:oe,SignedUrl:(this.isSecure?"https":"http")+"://"+ge+":"+this.port+pe}},st.prototype.createPostSignatureSync=function(y){var T=y.signatureContext||this.signatureContext;if(T.signature==="v4")return this.createV4PostSignatureSync(y);var R=(y=y||{}).Bucket?String(y.Bucket):null,j=y.Key?String(y.Key):null,X=y.Expires?parseInt(y.Expires,10):300,G={};if(y.FormParams&&y.FormParams instanceof Object&&!(y.FormParams instanceof Array))for(var U in y.FormParams)({}).hasOwnProperty.call(y.FormParams,U)&&(G[U]=y.FormParams[U]);this.securityToken&&!G[T.headerPrefix+"security-token"]&&(G[T.headerPrefix+"security-token"]=this.securityToken);var oe=new Date;oe.setTime(parseInt(new Date().getTime(),10)+1e3*X),oe=Mf(oe.toUTCString()),R&&(G.bucket=R),j&&(G.key=j);var ie=[];ie.push('{"expiration":"'),ie.push(oe),ie.push('", "conditions":[');var le=!0,ve=!0,pe=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(var de in G)if(de){var ge=G[de];(de=String(de).toLowerCase())==="bucket"?le=!1:de==="key"&&(ve=!1),jt.indexOf(de)<0&&pe.indexOf(de)<0&&de.indexOf(T.headerPrefix)!==0||(ie.push('{"'),ie.push(de),ie.push('":"'),ie.push(ge!==null?String(ge):""),ie.push('"},'))}le&&ie.push('["starts-with", "$bucket", ""],'),ve&&ie.push('["starts-with", "$key", ""],'),ie.push("]}");var we=ie.join("");ie=window.btoa?window.btoa(we):_o.encode(we);var me=Je("sha1",this.sk).update(ie).digest("base64");return{OriginPolicy:we,Policy:ie,Signature:me,Token:this.ak+":"+me+":"+ie}},st.prototype.createV4PostSignatureSync=function(y){var T=(y=y||{}).signatureContext||this.signatureContext,R=y.Bucket?String(y.Bucket):null,j=y.Key?String(y.Key):null,X=y.Expires?parseInt(y.Expires,10):300,G={};if(y.FormParams&&y.FormParams instanceof Object&&!(y.FormParams instanceof Array))for(var U in y.FormParams)({}).hasOwnProperty.call(y.FormParams,U)&&(G[U]=y.FormParams[U]);this.securityToken&&!G[T.headerPrefix+"security-token"]&&(G[T.headerPrefix+"security-token"]=this.securityToken);var oe=uc(new Date().toUTCString()),ie=oe[0],le=oe[1],ve=this.ak+"/"+ie+"/"+this.region+"/s3/aws4_request",pe=new Date;pe.setTime(parseInt(new Date().getTime(),10)+1e3*X),pe=Mf(pe.toUTCString()),G["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",G["X-Amz-Date"]=le,G["X-Amz-Credential"]=ve,R&&(G.bucket=R),j&&(G.key=j);var de=[];de.push('{"expiration":"'),de.push(pe),de.push('", "conditions":[');var ge=!0,we=!0,me=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(var ke in G)if(ke){var Ae=G[ke];(ke=String(ke).toLowerCase())==="bucket"?ge=!1:ke==="key"&&(we=!1),jt.indexOf(ke)<0&&me.indexOf(ke)<0&&ke.indexOf(T.headerPrefix)!==0||(de.push('{"'),de.push(ke),de.push('":"'),de.push(Ae!==null?String(Ae):""),de.push('"},'))}ge&&de.push('["starts-with", "$bucket", ""],'),we&&de.push('["starts-with", "$key", ""],'),de.push("]}");var Me=de.join("");de=window.btoa?window.btoa(Me):_o.encode(Me);var $e=If(ie,this.sk,this.region,de);return{OriginPolicy:Me,Policy:de,Algorithm:G["X-Amz-Algorithm"],Credential:G["X-Amz-Credential"],Date:G["X-Amz-Date"],Signature:$e}};var Ik=st,Of=Number.MAX_VALUE;function xd(){this.consoleLog=window.console,this._level=Of}xd.prototype.setLevel=function(y){y&&(y=(y=String(y).toLowerCase())==="info"?20:y==="warn"?30:y==="error"?40:y==="debug"?10:Of,this._level=y)},xd.prototype.runLog=function(y,T,R){if(y){var j=[new Date().toLocaleString(),y.toLowerCase(),T,R].join("|");y.toLowerCase()==="debug"&&this._level<=10?this.consoleLog.debug(j):y.toLowerCase()==="info"&&this._level<=20?this.consoleLog.info(j):y.toLowerCase()==="warn"&&this._level<=30?this.consoleLog.warn(j):y.toLowerCase()==="error"&&this._level<=40&&this.consoleLog.error(j)}};var Nk=xd,Ok=u(1062),Dk=u.t(Ok,2),Df=function(y){return Object.prototype.toString.call(y)==="[object String]"&&y.lastIndexOf("/")!==y.length-1&&(y+="/"),y},Bk={extend:function(y){y.prototype.dropFile=function(T,R){this.deleteObject(T,R)},y.prototype.dropFolder=function(T,R){var j=this;T=T||{};var X=(function(de,ge,we){de=de||function(){};var me=new Date().getTime();return function(ke,Ae){return ge.runLog("info","dropFolder","ObsClient cost "+(new Date().getTime()-me)+" ms"),Object.prototype.toString.call(ke)==="[object String]"?de(new Error(ke),Ae):de(ke,Ae)}})(R,j.log),G=(function(de){return de=de||function(){},function(ge,we,me){return Object.prototype.toString.call(me)==="[object Error]"?de(ge,we,me):Object.prototype.toString.call(me)==="[object String]"?de(ge,we,new Error(me)):me?me.CommonMsg.Status>300?de(ge,we,new Error("status:"+me.CommonMsg.Status+", code:"+me.CommonMsg.Code+", message:"+me.CommonMsg.Message)):void de(ge,we,me):void 0}})(T.EventCallback),U=T.TaskNum||1,oe=0,ie=[],le=function(de,ge,we,me){if(me)return ge.finished++,void we(ge);var ke=function(){oe++,j.dropFile({Bucket:ge.bucket,Key:de},function(Ae,Me){oe--,ge.finished++,(function(){for(;oe<U&&ie.length>0;)ie.shift()()})(),Ae?(G("dropFileFailed",de,Ae),ge.subDeleted=!1):Me.CommonMsg.Status>=300?(G("dropFileFailed",de,Me),ge.subDeleted=!1):G("dropFileSucceed",de,Me),we(ge)})};oe<U?ke():ie.push(ke)},ve=function(de,ge,we){return function(me){!me.isTruncated&&me.finished===me.total&&me.subDeleted&&le(de,ge,we,!1)}},pe=Df(T.Prefix);(function de(ge,we,me,ke,Ae){oe++,j.listObjects({Bucket:we,Prefix:me,Delimiter:"/",Marker:ke},function(Me,$e){if(oe--,Me)return X(Me);if($e.CommonMsg.Status>=300)return X(null,$e);if(ge.total+=$e.InterfaceResult.Contents.length,ge.total+=$e.InterfaceResult.CommonPrefixes.length,ge.total!==0){ge.isTruncated=$e.InterfaceResult.IsTruncated==="true";for(var Le=function(Ze){return function(){de({total:0,finished:0,isTruncated:!1,bucket:we,subDeleted:!0},we,Ze,null,ve(Ze,ge,Ae))}},ze=0;ze<$e.InterfaceResult.CommonPrefixes.length;ze++){var Ne=Df($e.InterfaceResult.CommonPrefixes[ze].Prefix);oe<U?de({total:0,finished:0,isTruncated:!1,bucket:we,subDeleted:!0},we,Ne,null,ve(Ne,ge,Ae)):ie.push(Le(Ne))}for(var Ve=0;Ve<$e.InterfaceResult.Contents.length;Ve++){var We=$e.InterfaceResult.Contents[Ve].Key;le(We,ge,Ae,We.lastIndexOf("/")===We.length-1)}ge.isTruncated&&(oe<U?de(ge,we,me,$e.InterfaceResult.NextMarker,Ae):ie.push(function(){de(ge,we,me,$e.InterfaceResult.NextMarker,Ae)}))}else Ae(ge)})})({total:0,finished:0,isTruncated:!1,bucket:T.Bucket,subDeleted:!0},T.Bucket,pe,null,function(de){if(!de.isTruncated&&de.finished===de.total)if(de.subDeleted)j.dropFile({Bucket:de.bucket,Key:pe},function(we,me){return we?(G("dropFileFailed",pe,we),X(we)):me.CommonMsg.Status>=300?(G("dropFileFailed",pe,me),X(null,me)):(G("dropFileSucceed",pe,me),X(null,me))});else{var ge="drop folder "+pe+" failed due to child file deletion failed";G("dropFileFailed",pe,new Error(ge)),X(ge)}})}}},qk=Bk,Td=5368709120,dc=function(y){var T=[];if(T.push(y.bucket),T.push(y.key),T.push(y.sourceFile.name),T.push(String(y.partSize)),T.push(String(y.partCount)),T.push(String(y.fileStat.fileSize)),T.push(String(y.fileStat.lastModified)),y.uploadId&&T.push(y.uploadId),y.sseC&&T.push(y.sseC),y.sseCKey&&T.push(y.sseCKey),y.parts)for(var R=0;R<y.parts.length;R++){var j=y.parts[R];j&&(T.push(String(j.partNumber)),T.push(String(j.offset)),T.push(String(j.partSize)),T.push(String(j.isCompleted)),j.etag&&T.push(String(j.etag)))}return window.btoa(Bn()(T.join(""),!1,!0))},kd=function(y,T,R){y&&y.uploadId&&R.abortMultipartUpload({Bucket:y.bucket,Key:y.key,RequestDate:y.requestDate,UploadId:y.uploadId},function(j,X){j?R.log.runLog("warn",T,"abort multipart upload failed, bucket:"+y.bucket+", key:"+y.key+", uploadId:"+y.uploadId+", err:"+j):X.CommonMsg.Status>=300?R.log.runLog("warn",T,"abort multipart upload failed, bucket:"+y.bucket+", key:"+y.key+", uploadId:"+y.uploadId+", status:"+X.CommonMsg.Status+", code:"+X.CommonMsg.Code+", message:"+X.CommonMsg.Message):(delete y.uploadId,R.log.runLog("warn",T,"abort multipart upload succeed, bucket:"+y.bucket+", key:"+y.key+", uploadId:"+y.uploadId))})},Bf=function(y){if(!(y.finishedCount<y.uploadCheckpoint.partCount)){if(y.isAbort)return kd(y.uploadCheckpoint,y.funcName,y.that),y.callback("uploadFile failed the upload task is aborted");if(y.isSuspend)return y.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint");if(y.hasError)return y.callback("uploadFile finished with error, you can retry with the uploadCheckpoint");for(var T=[],R=0;R<y.uploadCheckpoint.partCount;R++){var j=y.uploadCheckpoint.parts[R];T.push({PartNumber:j.partNumber,ETag:j.etag})}y.that.completeMultipartUpload({Bucket:y.uploadCheckpoint.bucket,Key:y.uploadCheckpoint.key,RequestDate:y.uploadCheckpoint.requestDate,UploadId:y.uploadCheckpoint.uploadId,Parts:T,CallbackUrl:y.callbackUrl,CallbackHost:y.callbackHost,CallbackBody:y.callbackBody,CallbackBodyType:y.callbackBodyType},function(X,G){var U={bucket:y.uploadCheckpoint.bucket,key:y.uploadCheckpoint.key,uploadId:y.uploadCheckpoint.uploadId};return X?(y.eventCallback("completeMultipartUploadFailed",U,X),y.callback(X)):G.CommonMsg.Status>=500?(y.eventCallback("completeMultipartUploadFailed",U,G),y.callback(null,G)):G.CommonMsg.Status>=300&&G.CommonMsg.Status<500?(y.eventCallback("completeMultipartUploadAborted",U,G),kd(y.uploadCheckpoint,y.funcName,y.that),y.callback(null,G)):(y.eventCallback("completeMultipartUploadSucceed",U,G),void y.callback(null,G))})}},qf=function(y){y.resumeCallback({cancel:function(){y.isSuspend=!0;for(var oe=0;oe<y.uploadPartParams.length;oe++){var ie=y.uploadPartParams[oe].cancelHook;le=ie,Object.prototype.toString.call(le)==="[object Function]"&&ie()}var le}},y.uploadCheckpoint);var T=[],R=function(){for(;y.runningTask<y.taskNum&&T.length>0;)T.shift()();T.length===0&&Bf(y)},j=window.btoa?window.btoa:_o.encode,X=function(oe){return function(){if(y.runningTask++,y.isSuspend||y.isAbort)return y.runningTask--,y.finishedCount++,y.finishedCount+=T.length,T=[],R();var ie,le,ve,pe,de=0,ge=function(ke){if(!de){de=1;var Ae,Me={Bucket:y.uploadCheckpoint.bucket,Key:y.uploadCheckpoint.key,RequestDate:y.uploadCheckpoint.requestDate,PartNumber:oe.partNumber,UploadId:y.uploadCheckpoint.uploadId,SourceFile:y.uploadCheckpoint.sourceFile,Offset:oe.offset,PartSize:oe.partSize,SseC:y.uploadCheckpoint.sseC,SseCKey:y.uploadCheckpoint.sseCKey,ProgressCallback:(Ae=oe.partNumber,function($e,Le,ze){y.progressCallback(Ae,$e)}),ContentMD5:ke};y.uploadPartParams.push(Me),y.that.uploadPart(Me,function($e,Le){if(y.runningTask--,y.finishedCount++,y.isSuspend)return R();var ze={partNumber:oe.partNumber,bucket:y.uploadCheckpoint.bucket,key:y.uploadCheckpoint.key,uploadId:y.uploadCheckpoint.uploadId};$e?(y.eventCallback("uploadPartFailed",ze,$e),y.hasError=!0):Le.CommonMsg.Status>=500||Le.CommonMsg.Status===400&&Le.CommonMsg.Code==="BadDigest"?(y.eventCallback("uploadPartFailed",ze,Le),y.hasError=!0):Le.CommonMsg.Status>=300&&Le.CommonMsg.Status<500?(y.isAbort=!0,y.hasError=!0,y.eventCallback("uploadPartAborted",ze,Le)):(oe.etag=Le.InterfaceResult.ETag,oe.isCompleted=!0,ze.etag=oe.etag,y.uploadCheckpoint.md5=dc(y.uploadCheckpoint),y.eventCallback("uploadPartSucceed",ze,Le),y.that.log.runLog("debug",y.funcName,"Part "+String(oe.partNumber)+" is finished, uploadId "+y.uploadCheckpoint.uploadId)),R()})}};if(y.verifyMd5&&window.FileReader&&(y.uploadCheckpoint.sourceFile instanceof window.File||y.uploadCheckpoint.sourceFile instanceof window.Blob)){var we=(ie=y.uploadCheckpoint.sourceFile,le=oe.offset,ve=oe.offset+oe.partSize,pe=pe||ie.type,ie.mozSlice?ie.mozSlice(le,ve,pe):ie.webkitSlice?ie.webkitSlice(le,ve,pe):ie.slice(le,ve,pe)),me=new window.FileReader;return me.onload=function(ke){var Ae=(function($e){$e=new Uint8Array($e);for(var Le,ze=0;ze<$e.length;){var Ne=ze+16384;Ne=Ne<=$e.length?Ne:$e.length,Le?Le+=String.fromCharCode.apply(null,$e.slice(ze,Ne)):Le=String.fromCharCode.apply(null,$e.slice(ze,Ne)),ze=Ne}return $e=null,Le})(ke.target.result),Me=j(Bn()(Ae,!1,!0));Ae=null,ge(Me)},me.onerror=function(ke){y.that.log.runLog("error",y.funcName,"Caculate md5 for part "+String(oe.partNumber)+" failed"),ge()},void me.readAsArrayBuffer(we)}ge()}};if(!y.isSuspend){for(var G=0;G<y.uploadCheckpoint.partCount;G++){var U=y.uploadCheckpoint.parts[G];U.isCompleted?(y.finishedCount++,y.finishedBytes+=U.partSize):T.push(X(U))}return T.length===0?Bf(y):R()}y.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint")},Fk={extend:function(y){y.prototype.uploadFile=function(T,R){var j=this;T=T||{};var X="uploadFile",G=(function(Ne,Ve,We){Ne=Ne||function(){};var Ze=new Date().getTime();return function(bt,wt){return Ve.runLog("info","uploadFile","ObsClient cost "+(new Date().getTime()-Ze)+" ms"),Object.prototype.toString.call(bt)==="[object String]"?Ne(new Error(bt),wt):Ne(bt,wt)}})(R,j.log),U=(function(Ne){return Ne=Ne||function(){},function(Ve,We,Ze){return Object.prototype.toString.call(Ze)==="[object Error]"?Ne(Ve,We,Ze):Object.prototype.toString.call(Ze)==="[object String]"?Ne(Ve,We,new Error(Ze)):Ze?Ze.CommonMsg.Status>300?Ne(Ve,We,new Error("status:"+Ze.CommonMsg.Status+", code:"+Ze.CommonMsg.Code+", message:"+Ze.CommonMsg.Message)):void Ne(Ve,We,Ze):void 0}})(T.EventCallback),oe=T.TaskNum||1,ie=T.ProgressCallback||function(){},le=T.ResumeCallback||function(){},ve=T.VerifyMd5||!1;j.log.runLog("info",X,"enter uploadFile...");var pe=null;if(T.UploadCheckpoint&&T.UploadCheckpoint.sourceFile&&T.UploadCheckpoint.fileStat&&T.UploadCheckpoint.uploadId&&T.UploadCheckpoint.md5===dc(T.UploadCheckpoint)?pe=T.UploadCheckpoint:kd(T.UploadCheckpoint,X,j),pe){var de=pe.sourceFile;if(!(de instanceof window.File||de instanceof window.Blob))return G("source file is not valid, must be an instanceof [File | Blob]");if(!de.mozSlice&&!de.webkitSlice&&!de.slice)return G("your browser cannot support the slice method for [File | Blob]")}else{var ge=T.SourceFile;if(!(ge instanceof window.File||ge instanceof window.Blob))return G("source file is not valid, must be an instanceof [File | Blob]");if(!ge.mozSlice&&!ge.webkitSlice&&!ge.slice)return G("your browser cannot support the slice method for [File | Blob]");j.log.runLog("debug",X,"Begin to uploadFile to OBS from file:"+ge.name);var we=ge.size,me=parseInt(T.PartSize,10),ke=0,Ae=[];if(we===0)me=0,ke=1,Ae.push({partNumber:1,offset:0,partSize:0,isCompleted:!1});else{if(me=isNaN(me)||me<102400?9437184:me>Td?Td:me,(ke=Math.floor(we/me))>=1e4&&(me=Math.floor(we/1e4),we%1e4!=0&&(me+=1),ke=Math.floor(we/me)),me>Td)return G("The source file "+ge.name+" is too large");var Me=we%me;Me!==0&&ke++;for(var $e=0;$e<ke;$e++)Ae.push({partNumber:$e+1,offset:$e*me,partSize:me,isCompleted:!1});Me!==0&&(Ae[ke-1].partSize=Me)}j.log.runLog("debug",X,"Total parts count "+ke),(pe={bucket:T.Bucket,key:T.Key,sourceFile:ge,partSize:me,partCount:ke,parts:Ae}).fileStat={fileSize:we,lastModified:ge.lastModified},T.SseC&&T.SseCKey&&(pe.sseC=T.SseC,pe.sseCKey=T.SseCKey),pe.md5=dc(pe)}pe.requestDate=T.RequestDate;var Le={start:new Date().getTime(),uploadCheckpoint:pe,funcName:X,taskNum:oe,callback:G,that:j,runningTask:0,finishedCount:0,hasError:!1,finishedBytes:0,isAbort:!1,resumeCallback:le,isSuspend:!1,partsLoaded:{},requestDate:T.RequestDate,uploadPartParams:[],verifyMd5:ve,callbackUrl:T.CallbackUrl,callbackHost:T.CallbackHost,callbackBody:T.CallbackBody,callbackBodyType:T.CallbackBodyType,eventCallback:function(Ne,Ve,We){Le.isSuspend||U(Ne,Ve,We)},progressCallback:function(Ne,Ve){Le.isSuspend||(Le.finishedBytes+=Ve,Le.partsLoaded[Ne]&&(Le.finishedBytes-=Le.partsLoaded[Ne]),Le.partsLoaded[Ne]=Ve,ie(Le.finishedBytes,Le.uploadCheckpoint.fileStat.fileSize,(new Date().getTime()-Le.start)/1e3))}};if(!pe.uploadId){var ze=T.ContentType;return!ze&&pe.key&&(ze=j.util.mimeTypes[pe.key.substring(pe.key.lastIndexOf(".")+1)]),!ze&&pe.sourceFile.name&&(ze=j.util.mimeTypes[pe.sourceFile.name.substring(pe.sourceFile.name.lastIndexOf(".")+1)]),void j.initiateMultipartUpload({Bucket:T.Bucket,Key:T.Key,RequestDate:T.RequestDate,ACL:T.ACL,Metadata:T.Metadata,WebsiteRedirectLocation:T.WebsiteRedirectLocation,StorageClass:T.StorageClass,ContentType:ze,Expires:T.Expires,SseKms:T.SseKms,SseKmsKey:T.SseKmsKey,SseC:T.SseC,SseCKey:T.SseCKey},function(Ne,Ve){var We={bucket:T.Bucket,key:T.Key};if(Ne)return Le.eventCallback("initiateMultipartUploadFailed",We,Ne),G(Ne);if(Ve.CommonMsg.Status>=300)return Le.eventCallback("initiateMultipartUploadFailed",We,Ve),G(null,Ve);var Ze=Ve.InterfaceResult.UploadId;pe.uploadId=Ze,pe.md5=dc(pe),Le.uploadCheckpoint=pe,We.uploadId=Ze,j.log.runLog("info",X,"Claim a new upload id "+Ze),Le.eventCallback("initiateMultipartUploadSucceed",We,Ve),qf(Le)})}qf(Le)}}},Rk=Fk;function Fe(y){this.factory(y)}function Ff(y){return y.slice(0,1).toUpperCase()+y.slice(1)}var Rf=["createBucket","listBuckets","getBucketMetadata","headBucket","deleteBucket","setBucketQuota","getBucketQuota","getBucketStorageInfo","setBucketPolicy","getBucketPolicy","deleteBucketPolicy","setBucketVersioningConfiguration","getBucketVersioningConfiguration","putBackToSource","deleteBackToSource","getBackToSource","getBucketLocation","listVersions","listObjects","setBucketLifecycleConfiguration","getBucketLifecycleConfiguration","deleteBucketLifecycleConfiguration","setBucketAcl","getBucketAcl","setBucketLoggingConfiguration","getBucketLoggingConfiguration","setBucketWebsiteConfiguration","getBucketWebsiteConfiguration","deleteBucketWebsiteConfiguration","setBucketNotification","getBucketNotification","setBucketTagging","getBucketTagging","deleteBucketTagging","getBucketCors","deleteBucketCors","setBucketStoragePolicy","getBucketStoragePolicy","getObject","getObjectMetadata","setObjectMetadata","setObjectAcl","getObjectAcl","deleteObject","deleteObjects","listMultipartUploads","listParts","abortMultipartUpload","completeMultipartUpload","getBucketInventory","setBucketInventory","deleteBucketInventory","getBucketEncryption","setBucketEncryption","deleteBucketEncryption","getBucketRequesterPay","setBucketRequesterPay","setMirrorBackToSource","getMirrorBackToSource","deleteMirrorBackToSource","getWorkflowTrigger","deleteWorkflowTrigger","createWorkflowTrigger","restoreFailedWorkflowExecution","createTemplate","createWorkflow","getWorkflowList","deleteWorkflow","getWorkflowTemplateList","getWorkflowInstanceList","deleteTemplate","updateWorkflow","getActionTemplates","getWorkflowAuthorization","openWorkflowAuthorization","getBucketDirectColdAccess","setBucketDirectColdAccess","deleteBucketDirectColdAccess","getBucketCustomDomain","setBucketCustomDomain","deleteBucketCustomDomain","setBucketCors","getBucketReplication","setBucketReplication","deleteBucketReplication","getCDNNotifyConfiguration","setCdnNotifyConfiguration","getQuota","getBucketDisPolicy","setBucketDisPolicy","deleteBucketDisPolicy","createOnlineDecom","getOnlineDecom","getWorkflowAgreements","openWorkflowAgreements","deleteOnlineDecom","getMyActionTemplates","createMyActionTemplate","getMyactiontemplateDetail","updateMyActionTemplate","deleteMyActionTemplate","forbidMyActionTemplate","updatePublicActionTemplate","getOmPublicActionTemplates","setSFSAcl","getSFSAcl","deleteSFSAcl","setBucketAlias","bindBucketAlias","unbindBucketAlias","deleteBucketAlias","listBucketsAlias","getBucketAlias"];function jk(y){return function(T,R){this.exec(Ff(y),T,R)}}for(var Cd=0;Cd<Rf.length;Cd++){var jf=Rf[Cd];Fe.prototype[jf]=jk(jf)}function Ad(y){return Object.prototype.toString.call(y)==="[object Function]"}function zk(y){return function(T,R){if(Ad(T))y.call(this,null,T);else{if(!Ad(R)){var j=this;return new Promise(function(X,G){y.call(j,T,function(U,oe){if(U)return G(U);X(oe)})})}y.call(this,T,R)}}}if(Fe.prototype.createTemplate=function(y,T){y.ApiPath="v2/workflowtemplates",this.exec("CreateTemplate",y,T)},Fe.prototype.createWorkflow=function(y,T){y.ApiPath="v2/workflows",this.exec("CreateWorkflow",y,T)},Fe.prototype.restoreFailedWorkflowExecution=function(y,T){y.ApiPath="v2/workflowexecutions",this.exec("RestoreFailedWorkflowExecution",y,T)},Fe.prototype.getWorkflowList=function(y,T){y.ApiPath="v2/workflows",this.exec("GetWorkflowList",y,T)},Fe.prototype.deleteWorkflow=function(y,T){y.ApiPath="v2/workflows",this.exec("DeleteWorkflow",y,T)},Fe.prototype.deleteTemplate=function(y,T){y.ApiPath="v2/workflowtemplates",this.exec("DeleteTemplate",y,T)},Fe.prototype.getWorkflowTemplateList=function(y,T){y.ApiPath="v2/workflowtemplates",this.exec("GetWorkflowTemplateList",y,T)},Fe.prototype.getWorkflowInstanceList=function(y,T){y.ApiPath="v2/workflowexecutions",this.exec("GetWorkflowInstanceList",y,T)},Fe.prototype.updateWorkflow=function(y,T){y.ApiPath="v2/workflows",this.exec("UpdateWorkflow",y,T)},Fe.prototype.getActionTemplates=function(y,T){y.ApiPath="v2/actiontemplates",this.exec("GetActionTemplates",y,T)},Fe.prototype.getWorkflowAuthorization=function(y,T){y.ApiPath="v2/workflow-authorization",this.exec("GetWorkflowAuthorization",y,T)},Fe.prototype.openWorkflowAuthorization=function(y,T){y.ApiPath="v2/workflow-authorization",this.exec("OpenWorkflowAuthorization",y,T)},Fe.prototype.getPublicationTemplates=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplates",y,T),this.util.pathStyle=!1},Fe.prototype.getPublicationTemplateDetail=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplateDetail",y,T),this.util.pathStyle=!1},Fe.prototype.getWorkflowAgreements=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/workflow-agreements",this.exec("GetWorkflowAgreements",y,T),this.util.pathStyle=!1},Fe.prototype.openWorkflowAgreements=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/workflow-agreements",this.exec("OpenWorkflowAgreements",y,T),this.util.pathStyle=!1},Fe.prototype.createMyActionTemplate=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("CreateMyActionTemplate",y,T),this.util.pathStyle=!1},Fe.prototype.getMyActionTemplates=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("GetMyActionTemplates",y,T),this.util.pathStyle=!1},Fe.prototype.getMyactiontemplateDetail=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("GetMyactiontemplateDetail",y,T),this.util.pathStyle=!1},Fe.prototype.updateMyActionTemplate=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("UpdateMyActionTemplate",y,T),this.util.pathStyle=!1},Fe.prototype.deleteMyActionTemplate=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("DeleteMyActionTemplate",y,T),this.util.pathStyle=!1},Fe.prototype.forbidMyActionTemplate=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("ForbidMyActionTemplate",y,T),this.util.pathStyle=!1},Fe.prototype.updatePublicActionTemplate=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/ompublicactiontemplates",this.exec("UpdatePublicActionTemplate",y,T),this.util.pathStyle=!1},Fe.prototype.getOmPublicActionTemplates=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/ompublicactiontemplates",this.exec("GetOmPublicActionTemplates",y,T),this.util.pathStyle=!1},Fe.prototype.putObject=function(y,T){if("Body"in y&&"SourceFile"in y){var R="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.runLog("error","PutObject",R),T(new Error(R),null)}if(!("ContentType"in y)&&("Key"in y&&(y.ContentType=this.util.mimeTypes[y.Key.substring(y.Key.lastIndexOf(".")+1)]),!y.ContentType&&"SourceFile"in y)){var j=y.SourceFile.name;y.ContentType=this.util.mimeTypes[j.substring(j.lastIndexOf(".")+1)]}this.exec("PutObject",y,T)},Fe.prototype.appendObject=function(y,T){if("Body"in y&&"SourceFile"in y){var R="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.isLevelEnabled("error")&&this.log.runLog("error","PutObject",R),T(new Error(R),null)}"ContentType"in y||("Key"in y&&(y.ContentType=this.util.mimeTypes[y.Key.substring(y.Key.lastIndexOf(".")+1)]),!y.ContentType&&"SourceFile"in y&&(y.ContentType=this.util.mimeTypes[y.SourceFile.substring(y.SourceFile.lastIndexOf(".")+1)])),this.exec("AppendObject",y,T)},Fe.prototype.copyObject=function(y,T){var R="CopySource";if(R in y){var j=y[R],X=j.lastIndexOf("?versionId=");y[R]=X>0?this.util.encodeURIWithSafe(j.slice(0,X))+j.slice(X):this.util.encodeURIWithSafe(j)}this.exec("CopyObject",y,T)},Fe.prototype.copyPart=function(y,T){var R="CopySource";if(R in y){var j=y[R],X=j.lastIndexOf("?versionId=");y[R]=X>0?this.util.encodeURIWithSafe(j.slice(0,X))+j.slice(X):this.util.encodeURIWithSafe(j)}this.exec("CopyPart",y,T)},Fe.prototype.restoreObject=function(y,T){this.exec("RestoreObject",y,function(R,j){!R&&j.InterfaceResult&&j.CommonMsg.Status<300&&(j.InterfaceResult.RestoreStatus=j.CommonMsg.Status===200?"AVALIABLE":"INPROGRESS"),T(R,j)})},Fe.prototype.initiateMultipartUpload=function(y,T){"ContentType"in y||"Key"in y&&(y.ContentType=this.util.mimeTypes[y.Key.substring(y.Key.lastIndexOf(".")+1)]),this.exec("InitiateMultipartUpload",y,T)},Fe.prototype.uploadPart=function(y,T){if("Body"in y&&"SourceFile"in y){var R="the input body and sourcefile exist at same time, please specify one of eigther a string or file to be send!";return this.log.runLog("error","UploadPart",R),T(new Error(R),null)}this.exec("UploadPart",y,T)},qk.extend(Fe),Rk.extend(Fe),Ad(Promise)){for(var Sd in Fe.prototype)if({}.hasOwnProperty.call(Fe.prototype,Sd)){var Uk=Fe.prototype[Sd];Fe.prototype[Sd]=zk(Uk)}}for(var Ed in Fe.prototype.exec=function(y,T,R){var j=this.log;j.runLog("info",y,"enter "+y+"...");var X=new Date().getTime();T=T||{},R=R||function(){},this.util.exec(y,T,function G(U,oe){G.$called||(G.$called=!0,!U||U instanceof Error||(U=new Error(U)),j.runLog("debug",y,"ObsClient cost "+(new Date().getTime()-X)+" ms"),R(U,oe))})},Fe.prototype.initLog=function(y){y=y||{},this.log.setLevel(y.level);var T=["[OBS SDK Version="+this.util.obsSdkVersion];if(this.util.server){var R=this.util.port?":"+this.util.port:"";T.push("Endpoint="+(this.util.is_secure?"https":"http")+"://"+this.util.server+R)}T.push("Access Mode="+(this.util.path_style?"Path":"Virtual Hosting")+"]"),this.log.runLog("warn","init",T.join("];["))},Fe.prototype.factory=function(y){this.log=new Nk,this.util=new Ik(this.log),y=y||{},this.util.initFactory(y.access_key_id,y.secret_access_key,y.is_secure,y.server,y.path_style,y.signature,y.region,y.port,y.timeout,y.security_token,y.is_signature_negotiation,y.is_cname,y.url_prefix,y.region_domains,y.setRequestHeaderHook,y.useRawXhr)},Fe.prototype.refresh=function(y,T,R){this.util.refresh(y,T,R)},Fe.prototype.createSignedUrlSync=function(y){return this.util.createSignedUrlSync(y)},Fe.prototype.createV2SignedUrlSync=function(y){return this.util.createV2SignedUrlSync(y)},Fe.prototype.createV4SignedUrlSync=function(y){return this.util.createV4SignedUrlSync(y)},Fe.prototype.createPostSignatureSync=function(y){return this.util.createPostSignatureSync(y)},Fe.prototype.createV4PostSignatureSync=function(y){return this.util.createV4PostSignatureSync(y)},Fe.prototype.enums=Dk,Fe.prototype)({}).hasOwnProperty.call(Fe.prototype,Ed)&&(Fe.prototype[Ff(Ed)]=Fe.prototype[Ed]);for(var Ks in Fe.prototype)if({}.hasOwnProperty.call(Fe.prototype,Ks)){var $d=Ks.indexOf("Configuration");$d>0&&$d+13===Ks.length&&(Fe.prototype[Ks.slice(0,$d)]=Fe.prototype[Ks])}var Vk=Fe})(),m.default})()}).call(this,r(5),r(4).Buffer)},function(n,o,r){var i="";i=r(6);var a={document:"doc,docx,xls,xlsx,ppt,pptx,pdf,txt,epub,pps,psd,xmind,dwg",image:"png,jpg,gif,jpeg,bmp",video:"mp4,avi,wmv,rm,rmvb,mpeg,mpg,mkv,mov,flv",audio:"mp3,wav,wma",zip:"zip,rar,7z",flash:"swf",srt:"srt",favico:"ico"},l=["document","image","video","audio","zip","flash","srt"];function s(d,u,m){if(d.indexOf(u)>-1){var h=new RegExp("("+u+"=)([^&]*)","gi");d=d.replace(h,u+"="+m)}else{var p=u+"="+m,v=d.indexOf("?");v<0?d+="?":v>=0&&v!=d.length-1&&(d+="&"),d+=p}return d}function c(d){d=d||{},this.multiple=!!d.multiple,this.maxSize=d.maxSize||512,this.fileTypes=d.fileTypes&&d.fileTypes.length>0?d.fileTypes:l,this.exts=d.exts||"",this.accetp="",this.mode=d.mode||"huawei",this.files=[],this.$trigger="",this.uptokenHost=d.uptokenHost||"https://courseapi.tongshike.cn",this.obsHost=d.obsHost||"",this.m3u8=d.m3u8,this.authorization=d.authorization,this.obsSign=d.obsSign,this.config=d.config||{},this.putExtra=d.putExtra||{},this.config.uphost||(this.config.uphost=""),this.obsHost&&this.obsHost.charAt(this.obsHost.length-1)=="/"&&(this.obsHost=this.obsHost.substring(0,this.obsHost.length-1))}c.prototype.initUpBtn=function(d){this.$trigger=d;var u=this,m=[];if(this.fileTypes.length>0)for(var h=0;h<this.fileTypes.length;h++){var p=this.fileTypes[h];m.push(a[p])}for(m=m.join(","),this.exts&&(m=this.exts),m=m.split(","),h=0;h<m.length;h++)m[h]="."+m[h];this.accetp=m.join(","),this.$el=document.createElement("input"),this.$el.style.display="none",this.$el.type="file",this.multiple&&this.$el.setAttribute("multiple",!0),this.$el.accept=this.accetp,document.body.appendChild(this.$el),this.$el.onchange=function(){this.files.length>0&&(u.handleFileChange(this.files),u.$el.value="")},this.$trigger.onclick=function(){u.$el.click()}},c.prototype.handleFileChange=function(d){this.uploadFiles(d)},c.prototype.uploadFiles=function(d){for(var u=0;u<d.length;u++){var m=d[u];if(m.ext=m.name.substring(m.name.lastIndexOf(".")).toLowerCase(),m.key="resources/web/"+Date.now()+Math.round(1e4*Math.random())+m.ext,m.percent=0,this.accetp.indexOf(m.ext)===-1)return this.error(m,{code:50001,msg:"不支持该类型文件"});if(1024*this.maxSize*1024<m.size)return this.error(m,{code:50002,msg:"文件不能超过"+this.maxSize+"mb"});this.onBeforeUpload&&this.onBeforeUpload(m),this.startUpload(m)}},c.prototype.startUpload=function(d){var u=this;switch(u.files.push(d),this.mode){case"qiniu":u.getToken(d,function(m){u.qiniuUploadByToken(d,m)});break;case"huawei":d.ext=d.ext||d.name.substring(d.name.lastIndexOf(".")),d.key=d.key||"resources/web/"+Date.now()+Math.round(1e4*Math.random())+d.ext,u.getObsClient(d.key,function(){u.putObject(d)})}},c.prototype.qiniuUploadByToken=function(d,u){var m=this;d.obsHost=m.obsHost,d.size>4194304&&(m.config.chunkSize=5);var h="".upload(d,d.key,u,m.putExtra,m.config);d.subscription=h.subscribe({next:function(p){m.onProgress&&m.onProgress(d,p.total.percent),d.onProgress&&d.onProgress(p.total.percent)},error:function(p){m.error(d,{code:50071,msg:"上传失败",err:p})},complete:function(p){d.duration=p.duration,d.key=p.key,m.success(d)}})},c.prototype.putObject=function(d){var u=this;this.obsClient.putObject({Bucket:u.obsClientConfig.bucket,Key:d.key,Metadata:{property:"property-value"},SourceFile:d,ProgressCallback:function(m,h,p){var v=Math.floor(100*m/h);v=v>99?99:v,d.percent=v,u.onProgress&&u.onProgress(d,v),d.onProgress&&d.onProgress(v)}}).then(function(m){if(console.log(m),m.CommonMsg.Status<300){d.obsHost=u.obsHost,d.ext.toLowerCase().includes("wma")&&(d.originKey=d.key,d.key=d.key.substring(0,d.key.lastIndexOf("."))+".mp3",u.hwAudioTranscoding(d)),d.ext.toLowerCase().includes("mp3")&&u.hwMp3Transcoding(d),d.ext.substring(1).toLowerCase();var h=u.getFileType(d.key);h=="video"?(u.m3u8&&(d.m3u8Key="resources/web/"+Date.now()+Math.round(1e4*Math.random())+".m3u8"),u.hwVideoTranscoding(d)):h=="audio"?u.getHuaweiMetadata(d.originKey||d.key,function(p){d.duration=p.duration,u.success(d)}):u.success(d)}}).catch(function(m){u.error(d,{code:50081,msg:"上传失败",err:m})})},c.prototype.download=function(d,u){var m=d.substring(d.lastIndexOf("/")+1);if(d.indexOf("?")>-1){var h=d.substring(0,d.lastIndexOf("?"));m=h.substring(h.lastIndexOf("/")+1)}u=u||m,this.mode=="qiniu"?this.qiniuDownload(d,u):this.huaweiDownload(d,u)},c.prototype.getDownloadUrl=function(d,u,m){var h=d.substring(d.lastIndexOf("/")+1);if(d.indexOf("?")>-1){var p=d.substring(0,d.lastIndexOf("?"));h=p.substring(p.lastIndexOf("/")+1)}u=u||h,this.mode=="qiniu"?m(s(d,"attname",u)):this.getHuaweiDownloadUrl(d,u,m)},c.prototype.getHuaweiDownloadUrl=function(d,u,m){var h=this,p=d.replace(/^(http|https):\/\/[^/]+\//,"");this.getDownloadObsClient(p,function(){h.getFileType(p)=="video"&&(p=p.substring(0,p.lastIndexOf("."))+".mp4",u=u.substring(0,u.lastIndexOf("."))+".mp4");var v=h.obsClient.createSignedUrlSync({Method:"GET",Bucket:h.obsClientConfig.bucket,Key:p,QueryParams:{"response-content-disposition":"attachment;fileName="+encodeURIComponent(u)},Expires:3600});m(v.SignedUrl)})},c.prototype.qiniuDownload=function(d,u){var m=s(d,"attname",u);window.open(m)},c.prototype.huaweiDownload=function(d,u){this.getHuaweiDownloadUrl(d,u,function(m){var h=document.createElement("a");h.style.display="none",h.href=m,document.body.appendChild(h),h.click()})},c.prototype.cancelUpload=function(d){switch(this.mode){case"qiniu":d.subscription.unsubscribe()}},c.prototype.error=function(d,u){this.onError&&this.onError(d,u),d&&d.onError&&d.onError(u)},c.prototype.success=function(d){d.isSuccessCalled||(d.percent=100,this.onProgress&&this.onProgress(d,100),d.onProgress&&d.onProgress(100),this.onSuccess&&this.onSuccess(d),d.onSuccess&&d.onSuccess(d),d.isSuccessCalled=!0)},c.prototype.getToken=function(d,u){var m=this;d.name&&d.name!=""||(d.name=String(new Date().getTime()+d.ext));var h=this.uptokenHost+"/files/getUptoken?fileName="+encodeURIComponent(d.name),p=new XMLHttpRequest;p.open("get",h),p.setRequestHeader("AUTHORIZATION",this.authorization),p.onreadystatechange=function(){if(p.readyState===4)if(p.status===200){var v=JSON.parse(p.responseText).uptoken;u&&u(v)}else m.error(d,{code:50070,msg:"上传失败"})},p.send(),console.log(p)},c.prototype.getObsClient=function(d,u){var m=this,h=this.uptokenHost+"/obs/uploadToken",p=new XMLHttpRequest;this.obsSign&&(h=this.uptokenHost+"/obs/uploadToken/sign"),p.open("get",h+"?path="+d,!0),this.obsSign?p.setRequestHeader("obsSign",this.obsSign):p.setRequestHeader("authorization",this.authorization),p.onreadystatechange=function(){m.getObsConfigCb(p,u)},p.send()},c.prototype.getDownloadObsClient=function(d,u){var m=this,h=this.uptokenHost+"/obs/downloadToken",p=new XMLHttpRequest;p.open("get",h+"?path="+d,!0),p.onreadystatechange=function(){m.getObsConfigCb(p,u)},p.send()},c.prototype.getObsConfigCb=function(d,u){if(d.readyState===4)if(d.status===200){var m=JSON.parse(d.responseText);m.code==1?(this.obsClientConfig=m.result,this.obsClient=new i({access_key_id:m.result.ak,secret_access_key:m.result.sk,security_token:m.result.securitytoken,server:m.result.endpoint,timeout:1800}),this.obsHost=this.obsClientConfig.domain,u&&u()):this.error("",{code:50080,msg:"上传失败"})}else this.error("",{code:50080,msg:"上传失败"})},c.prototype.getObjectData=function(d,u,m){var h=this;this.getDownloadObsClient(d,function(){h.obsClient.getObject({Bucket:h.obsClientConfig.bucket,Key:d},function(p,v){p?(console.error("Error-->"+p),m&&m(p)):v.CommonMsg.Status==200&&v.InterfaceResult&&u&&u(v.InterfaceResult)})})},c.prototype.dataURLtoBlob=function(d){for(var u=d.split(","),m=u[0].match(/:(.*?);/)[1],h=atob(u[1]),p=h.length,v=new Uint8Array(p);p--;)v[p]=h.charCodeAt(p);return new Blob([v],{type:m})},c.prototype.hwVideoTranscoding=function(d){var u=this,m=d.key.substring(d.key.indexOf("resources/")),h=m.substring(m.lastIndexOf("/")+1);h=h.substring(0,h.lastIndexOf("."));var p=this.uptokenHost+"/obs/transcoding/video/multi?path="+m,v=[{outputFileName:h,outputFormat:"mp4"}];if(this.m3u8){var f=d.m3u8Key.substring(d.m3u8Key.lastIndexOf("/")+1);f=f.substring(0,f.lastIndexOf(".")),v.push({outputFileName:f,outputFormat:"m3u8"})}var b=new XMLHttpRequest;b.onreadystatechange=function(){if(b.readyState===4){var x=JSON.parse(b.responseText);x.code==1?u.getVideoMetadata(d,function(){u.success(d)},function(){var w=setInterval(function(){console.log(Date.now()),u.getMediaLength(d.key,function(E){d.duration=E,u.success(d),clearInterval(w)})},3e3)}):x.code==2?(d.m3u8Key="",u.success(d)):x.code==0?u.error(d,{code:50082,msg:"文件编码格式无法解析,请尝试转码成mp4后再上传。"}):u.error(d,{code:50081,msg:"上传失败"})}},b.open("POST",p,!0),b.setRequestHeader("Content-Type","application/json"),b.send(JSON.stringify(v))},c.prototype.hwAudioTranscoding=function(d){if(d.ext.toLowerCase().includes("wma")){var u=d.key.substring(0,d.key.lastIndexOf("."))+d.ext,m=u.substring(u.lastIndexOf("/")+1);m=m.substring(0,m.lastIndexOf("."));var h=this.uptokenHost+"/obs/transcoding/audio?path="+u+"&outputFileName="+m,p=new XMLHttpRequest;p.onreadystatechange=function(){if(p.readyState===4){var v=JSON.parse(p.responseText);console.log(v)}},p.open("POST",h,!0),p.setRequestHeader("Content-Type","application/json"),p.send()}},c.prototype.hwMp3Transcoding=function(d){var u=this.uptokenHost+"/obs/transcoding/mp3?path="+d.key,m=new XMLHttpRequest;m.onreadystatechange=function(){if(m.readyState===4){var h=JSON.parse(m.responseText);console.log(h)}},m.open("POST",u,!0),m.setRequestHeader("authorization",this.authorization),m.setRequestHeader("Content-Type","application/json"),m.send()},c.prototype.getFileType=function(d){var u=d.substring(d.lastIndexOf(".")+1).toLowerCase();for(var m in a)if(a[m].includes(u))return m;return""},c.prototype.getVideoMetadata=function(d,u,m){var h=document.createElement("video");h.src=URL.createObjectURL(d),h.addEventListener("loadedmetadata",function(){console.log(h),h.duration!=1/0?(d.duration=h.duration,u&&u()):m&&m()}),h.addEventListener("error",function(p){console.log(p),m&&m()})},c.prototype.getHuaweiMetadata=function(d,u){var m=this.uptokenHost+"/obs/video/info?path="+d,h=new XMLHttpRequest;h.open("GET",m,!0),h.onreadystatechange=function(){if(h.readyState===4){var p=JSON.parse(h.responseText);p.code==1&&u&&u(p.result)}},h.send()},c.prototype.getMediaLength=function(d,u){var m=this.uptokenHost+"/obs/video/length?path="+d,h=new XMLHttpRequest;h.onreadystatechange=function(){if(h.readyState===4){var p=JSON.parse(h.responseText);p.code==1&&u&&u(p.result)}},h.open("GET",m,!0),h.send()},n.exports=c}])})})(Ap)),Ap.exports}var Win=Gin();const Pk=Wm(Win),Yin=Ce.defineComponent({name:"FileList",components:{Preview:Kin,TinyBaseSelect:cs,TinyOption:Hi,TinyDialogBox:Qr,TinyButton:Pt},props:{list:{type:Array,default:()=>[]},mode:{type:String,default:"edit"},type:{type:String,default:"block"},isPreview:{type:Boolean,default:!0},isShowLimitTimes:{type:Boolean,default:!0},canPreview:{type:Boolean,default:!0},editorble:{type:Boolean,default:!1},showDownLoad:{type:Boolean,default:!0},isQuestionBank:{type:Boolean,default:!1},hideFullScreen:{type:Boolean,default:!1},customFullSreen:{type:Boolean,default:!0},audioMode:{type:String,default:"bar"},isMobile:{type:Boolean,default:!1},audioTime:{type:Number,default:0},actionIndex:{type:Number,default:0}},setup(t,{emit:e}){const n=sc(),o=Ce.ref(!1),r=Ce.reactive({item:{},index:0});return{...Ce.reactive({obs:{},currentFile:{},playerTimes:[-1,1,2,3,4,5]}),t:n,fileIcon:Cin,getFileSvg:xin,formatSize:kin,cancelUpload:(h,p)=>{h.cancel&&h.cancel(),e("deleteFile",h,p)},deleteFile:(h,p)=>{r.item=h,r.index=p,o.value=!0},download:h=>{new Pk(t.uploadOptions).download(h)},showPreview:h=>{},isFileCanPreview:h=>{const p=ta(h.fileUrl);return["audio","video","image","document"].includes(p)},isAudio:h=>ta(h.fileUrl)==="audio",boxVisibility:o,curDeleteFile:r,deleteConfirm:()=>{e("deleteFile",r.item,r.index),o.value=!1}}}});var Xin=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"files-component"},[e.list&&e.list.length>0&&e.type==="block"?n("ul",{staticClass:"file-list-block"},e._l(e.list,function(o,r){return n("li",{key:r+o.fileUrl+o.fileKey},[!e.isPreview||o.status===1||o.status===3?[n("div",{staticClass:"icon-wrapper"},[n("img",{staticClass:"svg-img",attrs:{src:e.getFileSvg(o.fileUrl),alt:""}})]),n("div",{staticClass:"detail"},[n("div",{staticClass:"name"},[e._v(e._s(o.fileName))]),n("div",{staticClass:"info"},[n("span",{staticClass:"size"},[e._v(e._s(e.formatSize(o.fileSize)))]),e.mode==="edit"&&o.progress>=0&&o.progress<100&&o.status!==3?n("div",{staticClass:"progress-wrapper"},[n("div",{staticClass:"progress-bar"},[n("div",{staticClass:"bar",style:{width:o.progress+"%"}})]),n("span",{staticClass:"progress-value"},[e._v(e._s(o.progress)+"%")]),n("span",{staticClass:"cancel",on:{click:function(i){return e.cancelUpload(o,r)}}},[e._v(e._s(e.t("cancel")))])]):n("div",{staticClass:"operations"},[o.status===3?n("span",{staticClass:"upload-fail"},[e._v(e._s(o.errMessage))]):e._e(),e.mode==="edit"?n("a",{staticClass:"ul-link",attrs:{href:"javascript:;"},on:{click:function(i){return i.stopPropagation(),e.deleteFile(o,r)}}},[e._v(" "+e._s(e.t("delete"))+" ")]):e._e()])])])]:e.isPreview&&o.status!==3?n("div",{staticClass:"preview-container"},[n("div",{staticClass:"preview-content",class:{"audio-preview":e.isAudio(o)}},[n("Preview",{attrs:{resource:o,times:e.isShowLimitTimes?o.lisCount:0,"is-question-bank":e.isQuestionBank,showDownLoad:e.showDownLoad,customFullSreen:e.customFullSreen,audioMode:e.audioMode,isMobile:e.isMobile,audioTime:e.audioTime}}),e.mode==="edit"?n("div",{staticClass:"operations"},[n("a",{staticClass:"ul-link",attrs:{href:"javascript:;"},on:{click:function(i){return i.stopPropagation(),e.deleteFile(o,r)}}},[e._v(" "+e._s(e.t("delete"))+" ")])]):e._e()],1)]):e._e()],2)}),0):e._e(),e.list&&e.list.length>0&&e.type==="inline"?n("div",[n("ul",{staticClass:"file-list-inline"},e._l(e.list,function(o,r){return n("li",{key:r},[n("img",{staticClass:"svg-img",attrs:{src:e.getFileSvg(o.fileUrl),alt:""}}),n("span",{staticClass:"name"},[e._v(e._s(o.fileName))]),n("span",{staticClass:"size"},[e._v(e._s(e.formatSize(o.fileSize)))]),e.mode==="edit"&&o.progress>=0&&o.progress<100?n("div",{staticClass:"progress-wrapper"},[n("div",{staticClass:"progress-bar"},[n("div",{staticClass:"bar",style:{width:o.progress+"%"}})]),n("span",{staticClass:"progress-value"},[e._v(e._s(o.progress)+"%")]),n("span",{staticClass:"cancel",on:{click:function(i){return e.cancelUpload(o,r)}}},[e._v(e._s(e.t("cancel")))])]):e._e(),e.canPreview&&e.isFileCanPreview(o)&&o.status!==3?n("a",{staticClass:"ul-link",attrs:{href:"javascript:;"},on:{click:function(i){return e.showPreview(o)}}},[e._v(" "+e._s(e.t("view"))+" ")]):e._e(),o.status===3?n("span",{staticClass:"upload-fail"},[e._v(e._s(o.errMessage))]):e._e(),e.mode==="edit"?n("a",{staticClass:"ul-link",attrs:{href:"javascript:;"},on:{click:function(i){return e.deleteFile(o,r)}}},[e._v(" "+e._s(e.t("delete"))+" ")]):n("a",{staticClass:"ul-link",attrs:{href:"javascript:;"},on:{click:function(i){return e.download(o.fileUrl)}}},[e._v(" "+e._s(e.t("download"))+" ")])])}),0)]):e._e(),n("TinyDialogBox",{attrs:{title:e.t("messageTip"),width:"40%","append-to-body":!0},scopedSlots:e._u([{key:"footer",fn:function(){return[n("TinyButton",{on:{click:function(o){e.boxVisibility=!1}}},[e._v(e._s(e.t("cancel")))]),n("TinyButton",{attrs:{type:"primary"},on:{click:e.deleteConfirm}},[e._v(e._s(e.t("confirm")))])]},proxy:!0}]),model:{value:e.boxVisibility,callback:function(o){e.boxVisibility=o},expression:"boxVisibility"}},[n("span",[e._v(e._s(e.t("confirmDelete")))])])],1)},Zin=[],Jin=Nn(Yin,Xin,Zin,!1,null,"8204fcc8");const lc=Jin.exports,ean={obsHost:Sk,uptokenHost:Kae,authorization:eo.get("token")||eo.get("authorization")};class tan{constructor({id:e=0,fileName:n="",fileSize:o="",fileType:r="",fileUrl:i="",srt:a="",avatar:l="",lisCount:s=-1,progress:c=0,status:d=0,markedImage:u="",angle:m=0,location:h,title:p,contentSize:v,type:f}){this.id=e||Du(),this.fileName=n||p,this.fileSize=o||v,this.fileType=r||f,this.fileUrl=i||h,this.srt=a,this.avatar=l||"",this.lisCount=s,this.progress=c,this.status=d,this.markedImage=u,this.angle=m}handleOldAttach(e){let n={contentSize:e.contentSize||e.fileSize,title:e.title||e.fileName,location:e.location||e.fileUrl,duration:e.duration||0},o="";return n.location&&n.location.length>0&&(o=n.location.substring(n.location.lastIndexOf(".")+1).toLowerCase()),n.mimeType=e.mimeType||o,n.type=e.type||ta(n.location),{...e,...n}}}const nan=Ce.defineComponent({name:"RichTextarea",components:{TinyFluentEditor:fs,FileList:lc,TinyDialogBox:Qr,TinyButton:Pt},model:{prop:"value",event:"change"},props:{value:String,list:{type:Array,default(){return[]}},maxNum:{type:Number,default:1},isShowLimitTimes:{type:Boolean,default:!0},actionIndex:{type:Number,default:0},placeholderText:{type:String,default:""},isQuestionBank:{type:Boolean,default:!1},type:{type:Number,default:0}},emits:["change","addFile","deleteFile"],setup(t,{emit:e}){const n=Ce.ref(null),o=Ce.ref(t.value||""),r=Ce.ref(null),i=Ce.ref(Du()),a=Ce.ref(!1),l=Ce.computed(()=>"formula/index.html");Ce.onMounted(()=>{const v=r.value.state.quill.getModule("toolbar");n.value=new Pk({...ean});const f=document.getElementById(`upload-${i.value}`);n.value.initUpBtn(f),n.value.onBeforeUpload=b=>{let x=new tan({fileName:b.name,fileSize:b.size,fileUrl:b.name,status:1,lisCount:-1}),w=ta(x.fileUrl);b.onProgress=E=>{x.progress=fm(E,2,"floor")},b.onSuccess=()=>{x.fileUrl=b.obsHost+"/"+b.key,x.status=2,w=="image"&&c(`<img src="${x.fileUrl}" devui-editorx-image="true" data-image-id=${x.key} />`)},b.onError=E=>{x.errMessage=Ain(E.code),x.status=3},x.cancel=()=>{n.value.cancelUpload(b)},x.key=Du(),w!="image"&&e("addFile",x,t.actionIndex)},v.addHandler("image1",function(b){n.value.$el.accept=kp(["image"]),f.click()}),v.addHandler("video1",function(b){n.value.$el.accept=kp(["video"]),f.click()}),v.addHandler("audio",function(b){n.value.$el.accept=kp(["audio"]),f.click()}),v.addHandler("math",function(b){a.value=!0})}),Ce.onUnmounted(()=>{var p;(p=n.value)!=null&&p.$el&&n.value.$el.parentNode&&n.value.$el.parentNode.removeChild(n.value.$el)});const s=()=>{var b;const f=`\\(${((b=document.querySelector(".math-dialog iframe").contentWindow.document.getElementById("formulaTextarea"))==null?void 0:b.value)||""}\\)`;c(f),a.value=!1},c=p=>{if(!r.value)return;const v=r.value.state.quill,f=v.getSelection(),b=f?f.index:0;v.clipboard.dangerouslyPasteHTML(b,p);const x=new DOMParser().parseFromString(p,"text/html").body.textContent.length;v.setSelection(b+x)};Ce.watch(o,(p,v)=>{if(t.type==3){const f=/\s*\(\s*\)\s*/g;p=p.replace(f,"( )")}e("change",p)});const d=Ce.ref({placeholder:t.placeholderText,modules:{toolbar:[[{font:["yahei","songti","kaiti","heiti","lishu","mono","arial","arialblack","comic","impact","times"]},{size:["12px","13px","14px","15px","16px","17px","18px","19px","20px","22px","24px","26px","29px","32px","36px","40px","48px","72px"]},{lineheight:["1","1.2","1.5","2","2.5","3","4","5"]}],["bold","italic","underline","strike",{color:[]},{background:[]},{list:"ordered"},{list:"bullet"},{align:[]},{script:"sub"},{script:"super"},"image1","audio","video1","math","better-table"]]}});return{content:o,initSrtUploder:(p,v)=>{const f=document.getElementById(p);f&&(console.log("字幕上传按钮已找到",f),f.onclick=()=>{console.warn("字幕上传功能暂时不可用")})},deleteFile:(p,v)=>{e("deleteFile",v,t.actionIndex)},options:d,fluentEditorRef:r,insertContent:c,beforeEditorInit:p=>{const v='<svg t="1734490908682" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5918" width="200" height="200"><path d="M1084.416 32c52.288 0 95.296 40.064 99.84 91.136l0.448 9.152v764.288c0 52.288-40.064 95.232-91.136 99.84l-9.152 0.448H132.288a100.288 100.288 0 0 1-99.84-91.2L32 896.64V132.288c0-52.288 40.064-95.296 91.136-99.84L132.288 32h952.128z m-221.568 474.24l-223.808 167.872 87.936 62.336a41.216 41.216 0 0 1 12.992 51.584l-3.392 5.76a41.216 41.216 0 0 1-51.584 12.928l-5.76-3.392-275.2-196.096-290.112 201.856v87.488c0 8.768 5.952 16 14.08 17.92l4.288 0.448h952.128c8.832 0 16-5.952 17.92-14.08l0.448-4.288 3.136-176.448-2.688-1.472a35.2 35.2 0 0 1-4.672-2.944L862.848 506.24z m221.568-392.32H132.288a18.176 18.176 0 0 0-17.92 14.08l-0.448 4.288v579.712l266.368-188.608a40.32 40.32 0 0 1 41.792-3.392l5.376 3.392 141.888 100.928 271.104-203.392a41.28 41.28 0 0 1 46.784-1.792l4.992 3.84 210.56 187.008V132.288a18.176 18.176 0 0 0-14.08-17.92l-4.288-0.448z m-703.296 51.2a144 144 0 1 1-0.128 288.128 144 144 0 0 1 0.128-288.128z m0 69.12c-41.472 0-74.88 33.408-74.88 74.88 0 41.472 33.408 74.88 74.88 74.88 41.472 0 74.88-33.408 74.88-74.88 0-41.472-33.408-74.88-74.88-74.88z" fill-rule="nonzero"></path></svg>',f='<svg t="1734490908682" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5918" width="200" height="200"><path d="M992 705.6c-4.992 26.88-14.528 50.88-28.8 72.064-12.032 18.368-30.08 35.008-54.272 49.856-24.128 14.784-56.768 22.208-97.92 22.208-27.008 0-52.48-1.728-76.672-5.248a233.728 233.728 0 0 1-63.872-18.048 128.96 128.96 0 0 1-45.248-33.408 90.688 90.688 0 0 1-20.8-50.304 137.6 137.6 0 0 1 8.512-62.08c7.808-21.504 19.52-41.152 35.2-58.816a188.8 188.8 0 0 1 56.96-43.456 159.36 159.36 0 0 1 72.96-16.96c44.672 0 83.712 7.808 117.12 23.36V141.696L411.648 211.648l4.288 590.4v26.496c0 21.184-4.288 41.856-12.8 62.016a170.56 170.56 0 0 1-35.648 53.504 169.088 169.088 0 0 1-55.36 37.12 182.144 182.144 0 0 1-71.872 13.76c-28.416 0-54.656-2.624-78.784-7.936a234.688 234.688 0 0 1-63.872-23.296 139.072 139.072 0 0 1-44.8-38.144 104.64 104.64 0 0 1-20.16-52.48c-2.176-19.84 0.64-39.04 8.512-57.792 7.808-18.752 19.712-35.52 35.648-50.368 16-14.848 35.2-27.392 57.472-37.632 22.4-10.24 46.72-16.768 72.96-19.584a216.96 216.96 0 0 1 58.56-0.512c19.2 2.432 37.248 6.528 54.272 12.16V127.872L992 31.424v674.176z"></path></svg>',b='<svg t="1734491308472" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3380" width="200" height="200"><path d="M752.384 479.168a40.96 40.96 0 0 1 0 70.464l-205.696 122.88a41.28 41.28 0 0 1-62.08-35.2v-245.76a41.28 41.28 0 0 1 62.08-35.2l205.696 122.88z m-185.536-15.104v100.736l84.736-50.368-84.736-50.368z m534.848 450.88V113.92H114.304v801.024h987.392z m0 81.92H114.304c-45.44 0-82.304-36.672-82.304-81.92V113.92C32 68.672 68.864 32 114.304 32h987.392c45.44 0 82.304 36.672 82.304 81.92v801.024c0 45.248-36.864 81.92-82.304 81.92zM196.544 72.96c0-22.592 18.432-40.96 41.152-40.96 22.72 0 41.152 18.368 41.152 40.96v841.984c0 22.592-18.432 40.96-41.152 40.96a41.024 41.024 0 0 1-41.152-40.96V72.96z m41.152 277.632c22.72 0 41.152 18.304 41.152 40.96 0 22.592-18.432 40.96-41.152 40.96H73.152a41.024 41.024 0 0 1-41.152-40.96c0-22.656 18.432-40.96 41.152-40.96h164.544z m0 245.76c22.72 0 41.152 18.304 41.152 40.96 0 22.592-18.432 40.96-41.152 40.96H73.152a41.024 41.024 0 0 1-41.152-40.96c0-22.656 18.432-40.96 41.152-40.96h164.544zM937.152 72.96c0-22.592 18.432-40.96 41.152-40.96 22.72 0 41.152 18.368 41.152 40.96v841.984c0 22.592-18.432 40.96-41.152 40.96a41.024 41.024 0 0 1-41.152-40.96V72.96z m41.152 359.552a41.024 41.024 0 0 1-41.152-40.96c0-22.656 18.432-40.96 41.152-40.96h164.544c22.72 0 41.152 18.304 41.152 40.96 0 22.592-18.432 40.96-41.152 40.96h-164.544z m0 245.76a41.024 41.024 0 0 1-41.152-40.96c0-22.656 18.432-40.96 41.152-40.96h164.544c22.72 0 41.152 18.304 41.152 40.96 0 22.592-18.432 40.96-41.152 40.96h-164.544z"></path></svg>',x='<svg viewBox="0 0 1280 1024" width="24" height="24"><path d="M1106.944 340.416h-448V414.72l242.688 222.976-242.688 223.04v74.304h448v-111.488h-261.312l186.624-185.856-186.624-185.792h261.312z"></path><path d="M546.88 127.68L546.752 128 1330.944 128v76.48H529.728L359.04 972.48H267.648c-23.232-61.376-47.168-120.96-71.808-178.688A6116.032 6116.032 0 0 0 119.68 622.72l-96.832 30.272L0 581.504l176.256-56.32 36.992 79.616a2801.92 2801.92 0 0 1 99.008 241.024l145.408-718.08h89.216z"></path></svg>',w=p.import("ui/icons");w.image1=v,w.audio=f,w.video1=b,w.math=x;const E=p.import("parchment"),S=new E.StyleAttributor("image1","color",{scope:E.Scope.INLINE}),$=new E.StyleAttributor("video1","color",{scope:E.Scope.INLINE}),q=new E.StyleAttributor("audio","color",{scope:E.Scope.INLINE}),B=new E.StyleAttributor("math","color",{scope:E.Scope.INLINE});p.register("formats/image1",S),p.register("formats/video1",$),p.register("formats/audio",q),p.register("formats/math",B)},containerId:i,boxVisibility:a,mathConfirm:s,iframeUrl:l}}});var oan=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"ritchtextarea-container",attrs:{id:e.containerId}},[n("TinyFluentEditor",{ref:"fluentEditorRef",attrs:{"data-type":!1,"data-upgrade":!1,options:e.options,"before-editor-init":e.beforeEditorInit},model:{value:e.content,callback:function(o){e.content=o},expression:"content"}}),n("FileList",{ref:"fileList",attrs:{mode:"edit",type:"block",isPreview:!0,list:e.list,isShowLimitTimes:e.isShowLimitTimes,"is-question-bank":e.isQuestionBank},on:{deleteFile:e.deleteFile}}),n("button",{staticStyle:{display:"none"},attrs:{id:`upload-${e.containerId}`}}),n("TinyDialogBox",{attrs:{"dialog-class":"math-dialog",title:"消息",width:"60%","append-to-body":!0,"destroy-on-close":""},scopedSlots:e._u([{key:"footer",fn:function(){return[n("TinyButton",{on:{click:function(o){e.boxVisibility=!1}}},[e._v("取 消")]),n("TinyButton",{attrs:{type:"primary"},on:{click:e.mathConfirm}},[e._v("确 定")])]},proxy:!0}]),model:{value:e.boxVisibility,callback:function(o){e.boxVisibility=o},expression:"boxVisibility"}},[n("iframe",{attrs:{src:e.iframeUrl,frameborder:"0"}})])],1)},ran=[],ian=Nn(nan,oan,ran,!1,null,null);const _k=ian.exports;function Tb(t=document.body){try{if(!window.MathJax)return;window.MathJax.typesetPromise&&window.MathJax.typesetPromise([t]).catch(()=>{})}catch(e){console.log(e,"error")}}const aan=Ce.defineComponent({name:"Base",components:{RichTextarea:_k,FileList:lc,TinyButton:Pt},props:{question:{type:Object,required:!0,default:()=>{}},mode:{type:Number,default:0},isQuestionBank:{type:Boolean,default:!1},isSubmitted:{type:Boolean,default:!1}},emits:["blankAnswerChange"],setup(t,{emit:e}){const n=sc(),o=Ce.ref(null),r=Ce.ref([]),i=Ce.computed(()=>{if(t.question.type!==3||!t.question.title)return[{type:"text",content:t.question.title||""}];const h=/\( \)/g,p=[];let v=0,f,b=t.question.title.replace(/^<p>|<\/p>$/g,"");for(;(f=h.exec(b))!==null;)f.index>v&&p.push({type:"text",content:b.slice(v,f.index)}),p.push({type:"blank",content:f[0]}),v=h.lastIndex;return v<b.length&&p.push({type:"text",content:b.slice(v)}),p}),a=Ce.computed(()=>i.value.filter(h=>h.type==="blank").length);t.question.record||(t.question.record={}),t.mode!=1&&Ce.nextTick(()=>{Tb()}),Ce.watch(i,()=>{const h=i.value.filter(p=>p.type==="blank").length;if(h>r.value.length)for(let p=r.value.length;p<h;p++)r.value.push("");else h<r.value.length&&(r.value=r.value.slice(0,h));t.mode==3&&(r.value=t.question.record.answer)},{immediate:!0,deep:!0}),Ce.watch(()=>t.mode,h=>{var p,v;try{if(t.question.type==3)if(h==3&&((p=t.question.record)==null?void 0:p.answer.length)>0){const f=(v=t.question.record)==null?void 0:v.answer;Array.isArray(f)?r.value=[...f]:r.value=f.split(";")}else h==2&&(r.value=[]);h!=1&&Ce.nextTick(()=>{Tb()})}catch(f){console.error("Failed to parse record answer:",f)}});const l=h=>i.value.slice(0,h).filter(p=>p.type==="blank").length,s=h=>{Ce.nextTick(()=>{Jae(h.target,h.target.value)})},c=h=>{t.question.link.push(h)},d=h=>{t.question.link.splice(h,1)},u=()=>{o.value&&o.value.insertContent("( )")};return Ce.watch(r,(h,p)=>{e("blankAnswerChange",h),t.question.record&&(t.question.record.answer=h)},{deep:!0}),{t:n,insert:u,richTextareaRef:o,titleParts:i,blankCount:a,userAnswers:r,editWidth:s,checkAnswerCorrect:h=>{var b,x;const p=i.value.slice(0,h).filter(w=>w.type==="blank").length,v=(b=r.value[p])==null?void 0:b.trim();if(!v)return!1;let f=t.question.correctAnswer||[];if(t.question.allowExchange){const w=new Set;return f.forEach(E=>{E!=null&&E.trim().includes("//")?E.split("//").map($=>$.trim()).forEach($=>w.add($)):E!=null&&E.trim()&&w.add(E.trim())}),w.has(v)}else{const w=(x=f[p])==null?void 0:x.trim();return w&&w.includes("//")?w.split("//").map(S=>S.trim()).includes(v):w===v}},blankIndex:l,addTitleFile:c,deleteTitleFile:d}}});var san=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"base-container"},[e.mode==2||e.mode==3?[e.question.type==3?n("div",{staticClass:"completion-preview"},[e.mode==2?n("div",{staticClass:"preview-title"},[e._l(e.titleParts,function(o,r){return[o.type==="text"?n("span",{domProps:{innerHTML:e._s(o.content)}}):n("div",[n("span",{staticClass:"blank-index"},[e._v("["+e._s(e.blankIndex(r)+1)+"]")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.userAnswers[e.blankIndex(r)],expression:"userAnswers[blankIndex(index)]"}],staticClass:"completion-input",class:{"answer-correct":e.mode===3&&e.isSubmitted&&e.checkAnswerCorrect(r),"answer-error":e.mode===3&&e.isSubmitted&&!e.checkAnswerCorrect(r)},staticStyle:{margin:"0 2px"},attrs:{type:"text",disabled:!0},domProps:{value:e.userAnswers[e.blankIndex(r)]},on:{input:[function(i){i.target.composing||e.$set(e.userAnswers,e.blankIndex(r),i.target.value)},e.editWidth]}})])]})],2):e._e(),e.mode==3?n("div",{staticClass:"preview-title"},[e._l(e.titleParts,function(o,r){return[o.type==="text"?n("span",{domProps:{innerHTML:e._s(o.content)}}):n("div",[n("span",{staticClass:"blank-index"},[e._v("["+e._s(e.blankIndex(r)+1)+"]")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.userAnswers[e.blankIndex(r)],expression:"userAnswers[blankIndex(index)]"}],staticClass:"completion-input",class:{"answer-correct":e.mode===3&&e.isSubmitted&&e.checkAnswerCorrect(r),"answer-error":e.mode===3&&e.isSubmitted&&!e.checkAnswerCorrect(r)},staticStyle:{margin:"0 2px"},attrs:{type:"text",disabled:e.mode==3&&e.isSubmitted},domProps:{value:e.userAnswers[e.blankIndex(r)]},on:{input:[function(i){i.target.composing||e.$set(e.userAnswers,e.blankIndex(r),i.target.value)},e.editWidth]}})])]})],2):e._e(),e.question.allowExchange?n("div",{staticClass:"can-exchange"},[e._v("*"+e._s(e.t("answerCanChangeTip")))]):e._e()]):n("div",{staticClass:"preview-title",domProps:{innerHTML:e._s(e.question.title||"")}}),n("FileList",{attrs:{mode:"view",type:"block",isPreview:!0,list:e.question.link},on:{deleteFile:function(o){}}})]:n("RichTextarea",{ref:"richTextareaRef",attrs:{placeholderText:e.t("inputQuestionTitle"),list:e.question.link,maxNum:5,"is-question-bank":e.isQuestionBank,type:e.question.type},on:{addFile:e.addTitleFile,deleteFile:e.deleteTitleFile},model:{value:e.question.title,callback:function(o){e.$set(e.question,"title",o)},expression:"question.title"}}),e.question.type==3&&e.mode==1?n("TinyButton",{staticClass:"insert-blank",on:{click:e.insert}},[e._v(" "+e._s(e.t("insertQue"))+" ")]):e._e(),e._t("default")],2)},lan=[],can=Nn(aan,san,lan,!1,null,"a1a5c26f");const Ef=can.exports;class io{constructor({id:e,questionId:n="",type:o=0,title:r="",score:i=1,correctAnswer:a=[],reply:l="",record:s={},lisCount:c=-1,link:d=[],analyLinkList:u=[],answerlink:m="",correctChoiceIds:h=[],tags:p=[],hardlevel:v=3,knowledgeDTOS:f=[]}){this.id=e||n,this.questionid=this.id,this.type=o,this.title=r,this.score=i,this.correctAnswer=a,this.reply=l,this.record=new uan(s),this.lisCount=c,this.link=d||[],this.analyLinkList=u||[],this.answerlink=m,this.correctChoiceIds=h,this.tags=p||[],this.hardlevel=v,this.knowledgeDTOS=f||[]}scoring(){console.error("子类自行实现接口")}getOption(e){return String.fromCharCode(65+e)}getAnswer(){const e=this.record.answer;return e&&e.length>0?e[0]:""}getCorrectAnswer(){}}class uan{constructor({id:e="",answer:n=[],attachments:o=[],grade:r,reply:i="",remark1:a=""}){this.id=e,this.answer=n,this.attachments=o,this.score=r,this.reply=i||a}}let Sp=class{constructor({id:e="",questionID:n="",choiceId:o=0,text:r="",attachments:i=[],record:a={}}){this.id=e||n,this.choiceId=o,this.text=r,this.attachments=i,this.record=a}};class dan extends io{constructor(e){super(e),this.choices=[];for(let n=0;e.item&&n<e.item.length;n++){let o=e.item[n];this.choices.push(new Sp({id:Math.random(),choiceId:o.choiceId||0,text:o.title,attachments:o.link?[{fileUrl:o.link}]:[]}))}if(this.choices.length===0)for(let n=1;n<=4;n++)this.choices.push(new Sp({id:Math.random(),text:""}))}scoring(){}createChoice(){this.choices.push(new Sp({id:Math.random()}))}deleteChoice(e,n){this.choices.splice(n,1)}getAnswer(){return Array.isArray(this.record.answer)?this.record.answer.join(""):this.record.answer}getCorrectAnswer(){return Array.isArray(this.correctAnswer)?this.correctAnswer.join(""):this.correctAnswer}handleAnswer(e,n){if(!e||this.getAnswer().length===0)return"";const o=this.getOption(n),r=this.correctAnswer&&this.correctAnswer.includes(o);return this.record.answer&&this.record.answer.includes(o)?r?"correct":"error":r&&this.type===2?"no-select error":""}}let kb=class{constructor({id:e="",correctAnswer:n=""}){this.id=e,this.correctAnswer=n}},pan=class extends io{constructor(e){super(e),this.allowExchange=e.allowExchange||e.blankOrder||e.blackOrder||0,this.blanks=[];let n=0;this.title.replace(/[((](\s| )+[))]|_{5,}/gi,()=>{this.createBlank(),this.blanks[n].correctAnswer=this.correctAnswer[n],this.blanks[n].blankIndex=n+1,n++}),this.oldNums=this.blanks.length}createBlank(){this.blanks.push(new kb({id:Math.random(),correctAnswer:""})),this.correctAnswer.length<this.blanks.length&&this.correctAnswer.push("")}deleteBlank(e,n=1){this.blanks.splice(e,n),this.correctAnswer.splice(e,n)}createBlankByIndex(e,n){let o=new kb({id:Math.random(),correctAnswer:""});o.blankIndex=n,this.blanks.splice(e,0,o),this.correctAnswer.splice(e,0,"")}};class han extends io{constructor(e){super(e)}scoring(){}getAnswerResult(e){return e&&e.length>0&&e[0]?e[0].toLowerCase()==="true"||e[0]===!0:""}handleAnswer(e,n){const o=this.getAnswerResult(this.record.answer)===n;if(!e)return o?"select":"";const r=this.getAnswerResult(this.correctAnswer)===n;return o?r?"correct":"error":""}}class man extends io{constructor(e){super(e),this.answerLinkList=e.answerLinkList||[],this.answerLinkList.length==0&&this.answerlink&&this.answerLinkList.push({fileUrl:this.answerlink})}scoring(){}getAnswer(){return(this.record.answer.join("")||"").trim()}getCorrectAnswer(){return Array.isArray(this.correctAnswer)?this.correctAnswer[0]:this.correctAnswer}}class fan extends io{constructor(e){super(e),this.subQuestions=[];for(let n=0;e.subQuestions&&n<e.subQuestions.length;n++){let o=e.subQuestions[n];o.type=1,o=$f(o),o.qIndex=n+1,this.subQuestions.push(o)}this.oldNums=this.subQuestions.length}scoring(){}createSubQuestion(){this.subQuestions.push(Wl(1))}deleteSubQuestion(e,n){this.subQuestions.splice(e,n||1)}createSubQuestionByIndex(e,n){let o=Wl(1);o.qIndex=n,o.isNew=1,this.subQuestions.splice(e,0,o)}getAnswerText(e){if(e.correctAnswer.length===0)return"";let n=e.correctAnswer[0].charCodeAt(0)-65;return e.choices[n].text}}let Ep=class{constructor({id:e="",text:n="",option:o="",attachments:r=[]}){this.id=e,this.text=n,this.option=o,this.attachments=r}};class gan extends io{constructor(e){super(e),this.choices=[],this.subQuestions=[];for(let n=0;e.item&&n<e.item.length;n++){let o=e.item[n];this.choices.push(new Ep({id:Math.random(),text:o.title}))}if(this.choices.length===0)for(let n=1;n<=4;n++)this.choices.push(new Ep({id:Math.random(),text:""}));for(let n=0;e.subQuestions&&n<e.subQuestions.length;n++){let o=e.subQuestions[n];o=$f(o),o.qIndex=n+1,this.subQuestions.push(o)}this.oldNums=this.subQuestions.length}scoring(){}createChoice(){this.choices.push(new Ep({id:Math.random()}))}deleteChoice(e,n){this.choices.splice(n,1)}createSubQuestion(){this.subQuestions.push(Wl(1))}deleteSubQuestion(e,n){this.subQuestions.splice(e,n||1)}createSubQuestionByIndex(e,n){let o=Wl(1);o.qIndex=n,o.isNew=1,this.subQuestions.splice(e,0,o)}getAnswerText(e){if(e.correctAnswer.length===0||!e.correctAnswer[0])return"";let n=e.correctAnswer[0].charCodeAt(0)-65;return this.choices[n].text}getAnswer(){return Array.isArray(this.record.answer)?this.record.answer.join(""):this.record.answer}getCorrectAnswer(){return Array.isArray(this.correctAnswer)?this.correctAnswer.join(""):this.correctAnswer}handleAnswer(e,n){if(!e)return"";const o=this.getOption(n),r=this.correctAnswer&&this.correctAnswer.includes(o);return this.record.answer&&this.record.answer.includes(o)?r?"correct":"error":""}}class van extends io{constructor(e){super(e),this.subQuestions=[];for(let n=0;e.subQuestions&&n<e.subQuestions.length;n++){let o=e.subQuestions[n];this.subQuestions.push($f(o))}}scoring(){}createSubQuestion(e){let n=Wl(e);n.isEdit=!0,n.isNew=1,this.subQuestions.push(n)}deleteSubQuestion(e){this.subQuestions.splice(e,1)}}let $p=class{constructor({id:e="",text:n="",option:o=""}){this.id=e,this.text=n,this.option=o}};class yan extends io{constructor(e){super(e),this.choices=[];for(let n=0;e.item&&n<e.item.length;n++){let o=e.item[n];this.choices.push(new $p({id:Math.random(),text:o.title}))}if(this.choices.length===0)for(let n=1;n<=4;n++)this.choices.push(new $p({id:Math.random(),text:""}))}scoring(){this.record.score=0}createChoice(){this.choices.push(new $p({id:Math.random()}))}deleteChoice(e,n){this.choices.splice(n,1)}getAnswer(){const e=Array.isArray(this.record.answer)?this.record.answer:[this.record.answer];return e.filter(o=>o&&o.length>0).length>0?e.join("-"):""}getCorrectAnswer(){return Array.isArray(this.correctAnswer)?this.correctAnswer.join("-"):this.correctAnswer}handleAnswer(e,n){return e&&this.record.answer&&this.record.answer[n]?this.correctAnswer[n]===this.record.answer[n]?"correct":"error":""}}class ban extends io{constructor(e){super(e)}scoring(){}getAnswer(){return this.record.answer.join("")||""}}class wan extends io{constructor(e){super(e)}scoring(){}}class Cb{constructor({name:e="",precision:n,max:o,min:r}){this.name=e,this.precision=n||1,this.max=o,this.min=r}}class Pp{constructor({formula:e="",answerRange:n=0,precision:o=1}){this.formula=e,this.answerRange=n,this.precision=o}}class xan extends io{constructor(e){super(e),this.variables=[],this.blanks=[],this.scope={},this.desc1=e.desc1;try{for(let o=0;e.formulaVar&&o<e.formulaVar.length;o++){let r=e.formulaVar[o];this.variables.push(new Cb(r)),r.value!==void 0&&(this.scope[r.name]=r.value)}}catch(o){console.log(o)}let n=0;this.title.replace(/[((](\s| )+[))]|_{5,}/gi,()=>{let o={};const r=this.correctAnswer[n];r&&(o=typeof r=="string"&&r.length>0?JSON.parse(r):r);let i=new Pp(o);i.blankIndex=n+1,this.blanks.push(i),n++}),this.oldNums=this.blanks.length}createVariable(e){this.variables.push(new Cb({name:e}))}deleteVariable(e){for(let n=0;n<this.variables.length;n++)if(this.variables[n].name===e){this.variables.splice(n,1);return}}createBlank(){this.blanks.push(new Pp({}))}deleteBlank(e,n){this.blanks.splice(e,n||1)}createBlankByIndex(e,n){let o=new Pp({});o.blankIndex=n,this.blanks.splice(e,0,o)}initVariables(e){let n={};for(let o=0;o<this.variables.length;o++){let r=this.variables[o],i=r.min*1+Math.random()*(r.max-r.min);i=new Number(i);let a=0;r.precision!=1&&(a=(Math.round(.1/r.precision)+"").length),i=i.toFixed(a);let l=new RegExp("\\>"+r.name+"\\*\\<","g");e=e.replace(l,">"+i+"<"),n[r.name]=i}return this.scope=n,e}initDomVariables(e){for(let n in this.scope){let o=new RegExp("\\>"+n+"\\*\\<","g");e=e.replace(o,">"+this.scope[n]+"<")}return e}checkAnswer(e){let n=[];for(let i=0;i<this.blanks.length;i++)n.push({text:this.record.answer[i]||""});let o={scope:this.scope,answerResult:[]},r=0;for(let i=0;Object.values(this.scope).length>0&&i<n.length;i++)if(n[i].text&&n[i].text.trim().length>0){let a=this.blanks[i],l=a.formula,s=e.format(e.evaluate(l,this.scope),{precision:14})*1,c=n[i].text*1,d=0;a.precision!=1&&(d=(Math.round(.1/a.precision)+"").length),s=s.toFixed(d)*1,c=c.toFixed(d)*1,c>=s-a.answerRange*1&&c<=s+a.answerRange*1?(o.answerResult[i]=!0,r++):o.answerResult[i]=!1}else o.answerResult[i]=!1;this.record.extraAnswer=o,this.record.grade=this.score*(r/this.blanks.length),this.checkResult=o.answerResult}}function cc(t){let e=null;switch(t.type){case 1:case 2:e=new dan(t);break;case 3:e=new pan(t);break;case 4:e=new han(t);break;case 5:e=new man(t);break;case 12:e=new yan(t);break;case 11:case 23:e=new fan(t);break;case 17:e=new gan(t);break;case 16:e=new ban(t);break;case 19:e=new wan(t);break;case 24:e=new van(t);break;case 25:e=new xan(t);break;default:e=new io(t)}return e}function Wl(t){let e=cc({id:Math.random(),type:t});return e.key=Math.random(),e}function $f(t){if(t.id=t.id||t.questionid,t.allowExchange=t.allowExchange||t.blankOrder||t.blackOrder||0,t.correctAnswerAndReplay){let{correctAnswer:e,correctReplay:n,correctChoiceIds:o}=t.correctAnswerAndReplay;t.correctAnswer=e||t.correctAnswer,t.reply=n||t.reply,t.correctChoiceIds=o||[]}else t.correctAnswer=t.correctAnswer||t.correctanswer,t.reply=t.reply||t.correctreply;return t.correctAnswer=t.correctAnswer||t.correctanswer,t.reply=t.reply||t.correctreply,t.subQuestions=t.questionlist||t.subQuestions,t.subQuestions&&t.subQuestions.length>0&&(t.score=0,t.subQuestions.forEach((e,n)=>{e.score=e.score===0||e.score>0?Number(fm(e.score,2)):1,t.score+=e.score})),t.score=t.score===0||t.score>0?Number(fm(t.score,2)):1,t.type==25&&!t.formulaVar&&t.desc1&&(t.formulaVar=JSON.parse(t.desc1)),cc(t)}const Mk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQAElEQVR4AeydWawsVRWGj/MMzgIKgoCKODGqiIhMivOEPvigbxqJcYgGjJpANBEhEeODxieNMSYoogKigKCgqAiCE06IIqA4oSLiBA7/1zfFOefe7hp3rdpV9Zu1uqq7au+117/XV6vv9ZzLndf8PytgBVYqYEBWSuMLVmBtzYC4CqxAiQIGpEQcX7ICBsQ1YAVKFOgRkJKovmQFRqKAARnJRnmZwyjQFpCjtNzj5KfJfya/WX6+/L3yV8m3l9usQKQC1NyrFfAD8ovkt8h/JP+o/M3yI+WNrSkg91CEk+Xnyk+Sv0K+p3w7+RHy4+WfkF8gP1puswIRClBr1NzHFOyN8kPk95XvJX+N/P3y8+TULjWs03rWBJDDNOWF8rfJq2w/3XCO/N1ymxXoUwFqjFqj5qriULvUMLVcde/iel1A3qS7IfQgHZvYO3Xzp+RpzbNZgS0KUFvU2JZ39V6pYWr5tXVurwPI/proVHlbO0YDSUQHmxVIpgA1RW21nfB9GriDvNTqAHJK6Qz1LpIICdW723dZgXIFqCVqqvyu8qv8ob6y+1QBcoJiHCpPYSREYinm8hzzVYAaopZSKHCsJuFvZHVYblWA7L18WOtPSYwEW0/ggbNWgNqhhlKKsE/ZZFWA8OePsvFtrpEgibYZ2/sYB8hWAWqG2km9wH3LJiwDZEcN3FXeh5EoCfcxt+ecngLUCjXTR2atOwiA9LGgYk4SJvHivY9WYJkC1Ai1suxais9K67ysg3xf0W+T92kkjgB9xvDc41WA2qBG+szgirLJywC5XQO/Le/bEAAh+o7j+celADVBbfS96ivLApQBwrjv8RLgCIEgAaEGC+HA9RWgFqiJ+iPa39kJEH5al07SPnz9kQiCMPVH+M4pKkANUAsRuf1YQc6Wr7SqDnKxRr5LHmUIg0BR8RwnLwXYe2ogalX8RPpNZcGqAGEsk5zFSZAjEEIFhXOYTBRgz9n7qOUQ7+NVweoAwhz8nsdVnAQ5QpFAUDiHGVgB9po9j1oGtXxinWB1AeE3s/jlKCauM2+KexAM4VLMNfE5Rp0ee8xeRyVBDVPL1HRlzLqAMBETMjEBeB/hCIeAEbEcI14B9pY9jor8QwUiHrWs02prAgizMbEhQQl7VwWGgIPa5W+uaq+9KSBMbEhQwd5FgWg4fqDF0jkawaExrf/pUUOCevY2CkTDwY9M0Tl+0maxbTpIEceQFEpM+Zg2t1HBQepdAGG8IUEFex0FouHgx6ToHD+ts7hV93QFhHkNCSrYyxQYJRwklAIQ5jEkqGBfpkA0HN/VIvgDOf/ip067WSpAWIUhQQX7RgWGgIOvVVdvXESX85SAsA5Dggp2FKiEg5sSOj+2TudIBgdrSw0IcxoSVJi3DwEHnePnqWXvAxDWaEhQYZ4eDQe/MkvnSA4H29cXIMxtSFBhXh4Nx3ckL53jGh17sT4BYcGGBBXm4ZODg23rGxBiGBJUmLZHw3G55ORr1S90XGbJPosAhMUaElSYpg8BB1+rfhkhZxQg5GJIUGFaHg3HZZKPzhECh2K1/mlexrZxQ9JGtTzHDAEHnePaSDkiO0iRlyEplBjvMRoO/gFDOkcoHGzPEIAQ15Cgwjg9Go5LJROd41c6htu2gMQtwZDEaZ0q0qzgQLQhASG+IUGFcXg0HN+SLHSO63QczIYGhMQNCSrk7bOEgy3JARDWYUhQIU+PhuObkoE/kF+v4+CWCyAIYUhQIS8fAg6+Vt2QiwyhgNRI2pDUECnolmg4vqG86BzZwKH1hP8fhcSsckNSpVD/14eAg87x6/5TaxYhtw5SrN6QFErEH6PhuEQp0jmyg0PryrKDsC7ckKBCrEfD8XWlR+f4jY5ZWq4dpBDLkBRK9H80HEs0zh0QllwHEu5L6bR8CiblnDnPRa7kHLXGrykQ8W7UMWsbAyAIaEhQoR8fAg6+Vv22n3TSzjoWQMjakKBCWo+Gg//mJZ1jFHAg9ZgAYb2GBBXS+BBw0Dl+l2b5MbOMDRBUMSSo0M2j4bhIy6VzjAoOrTnrv+Zlfas8EJI7lsAGU1h3fDDSE3Igl6jlAwed4/dRAVPGGWMHKfI3JIUS9Y/RcHxVSwPGUcKhtY+2g7B23JCgQj2PhuMrWhad4w86jtbG3EEK0Q1JocTqo+FYrU3plSkAQoKGBBWWezQcF2oZfK36o46jt6kAwkaMDxJW3a8PAQdfq27qN6242acECKoZElTY4tFwXKCwdI7JwKF8Rv+HdHLY2g3J2toQcNA5/rT1Zoz9/dQ6SLEfc4YkGo4vS/Rj5JODQzlNsoOQFz5HSKLhOF9C0zn+rOMkbaodpNisOUGyCY5CgB6Pk4cD7aYOCDnOAZJoOM6TsHyt+ouOk7Y5AMIGThmSIeDga9XNCDt1nwsg7OMUIYmG41wJSeeYBRzKddJ/SCe/rX1KkAwBB53jr1uLOuX3c+ogxT5OAZJoOL4k8egcwKHT+dgcAWF3xwzJEHDQOW5BuLn5XAFhn8cISTQcX5RQdI5ZwqHcZ/dnEHLe6GOCJBqOcyQUneNvOs7W5txBik0fAySGo9it4KMB2SJ4zpBEw/EFScLXqlt1DLb8whmQ9T3JEZIh4OBr1d/XZZn3mQHZvP85QRINx9mSgs5hOCREYQakUGL9mAMkQ8BB5/jHugw+QwEDggrb+pCQRMNxltKncxgOCbG1GZCtFVl/PxQkFOv6Kvo9Aw46xz/7DZPB7C2XYEDKhRsCkvIVpbt6pqYCRsMhIVaZAVmlzPrnU4Tk80oPOP6lo61EAQNSIs6GS1OCBDj4WvXvDfn5dIUCBmSFMEs+ngIkn1NedA7DISHqmAGpo9L6PWOGBDjoHLetp+OzKgXqAFI1x9yujxGSz2qT6ByGQ0I0MQPSRK31e8cECXDQOW5fX77P6ipgQOoqte19Y4DkDC2bzmE4JEQbMyBtVFsfkzMkwEHn+M/6cn3WVAED0lSxbe/PEZLPaJl0DsMhIbrYwIB0WXpWY3OC5HQpAxz/1dHWUQED0lHADcNzgAQ4+Fr1vw3r8mkHBQxIB/GWDB0Skk9rPXQOwyEhUpkBSaWk55mkAgYk7bY+TtPx+xx76xhtdA9iR8eddLzpAhK/bXsp5GnyIeBQ2IUZkoUM6V4MSBotgYOn9+PTTNdpFkPSSb7Ngw3IZj3avHusBtE5coBDS1mYIVnI0P3FgHTT8DEaDhxP0DE3MyQJdsSAtBcROPha9cT2U/Q+0pB0lNiAtBBQQx4tp3PkDIeWuDBDspCh3YsBaa4bcNA5ntR86GAjDElL6Q1IM+H21O10jjHBoSUvzJAsZGj2YkDq6wUcdI4n1x+S3Z2GpOGWGJB6gu2h2+gcY4ZDKSzMkCxkqPdiQKp12l23AMc+OvZtUfMbkppKG5ByoYCDr1X7lt82yquGpMa2GZDVIj1Kl+gckXBcpZi4DiFmSCpkNiDLBQIOOsd+yy/38ilg8MtOOOe9BFkyqSFZIkrxkQEplFg/7qZTOscQcPALV7gh0SbkYAZk8y4AB51j/80f9/qObgEQgFEE4pzPuFZ81vFYOdydZIlEBmRdlF11SucYGg4tY2GGZCHDsC8GZIv+wEHnOGDL25BXugNdAhBWBeQa93DvqntSf+5OskFRA7K29kjpQefIDQ4ta2GGZCHDMC9zB2QXyQ4cB+oYZXQDugKFXzcm9zKGsXXHdL3PnUQKzhkQ4OBr1VOkQ5RR4BQ6Bd80JmMYyxxNx7a9vx4kbWcfwbi5ArKz9obOMRY4tNyFGZKFDHEvcwQEOOgcT42TeY2nPk9/CrxrWOZgLubsOlfd8bPtJHMD5BGqCDrHWOHQ8hdmSBYy9P8yJ0CAg87xtP5lvSMCT3me9hT0HR8mOmFO5iZGoikrp5ldJ5kLIA/X1tM5pgKH0lnY5CFZZDngyxwAAQ46x0GBOvNU5+lOAfcdlhjEImbfsYr5Z9NJpg7ITtpROsdU4VB6CzMkCxnSv0wZkB0lF3A8Xcco4ynO05yCjYpZxCEmsVlD8Vnfx8l3kqkCAhx8rTq47wrZMD+FSYFSqBs+Dj0lNmtgLVGBJw3JFAHZQZVB55gbHEp7YYZkIUPlS60bpgYIcNA5nlEr+zQ38bTmqU1hppmx+yyshTWxtu6z1Zthkp1kSoA8TPtI55g7HJJhYYZkIUO3l6kAAhx0jkO6ydFoNE9nntIUYqOBgTezNtbIWqPCTqqTTAGQh2rn6RyGQ0IsMUOyRJS6H40dkIcoUTrHM3WMMp7GPJUpvKiYXeOwVtbM2rvOVXf8JDpJO0DqStTvfYajmb6GpJlei7vHCsiDtXq+Vh2qY5Tx9OUpTKFFxUwdh7WTA7mknnvVfKPuJGMEBDj4WvWsVTvSw+cUFIVFgfUwfeiU5EAu5BQVeLSQjA2QB2lH6RyGQ0J0MENSU7wxAQIcdI7DauaW4jaesjxtKagU8+U0BzmRGzlGrWt0nSQ7QFbs1AP1OZ3DcEiIhGZIKsQcAyDAQec4vCKXlJd5qvJ0pYBSzpvjXORIruQctb7RdJLcAXmAdozOYTgkRI9mSFaImzMg99ea6RxH6BhlPEV5mlIwUTFziUPO5I4GUWvKvpPkCojhiCrRzXEMyWY91nIEZHutka9VR+qY0srm4qnJ05MCKbtvDtfQAC3QJCrfbDtJboAAB1+rjoraGcWhECgICkNvbVIALdAEbfQ2xLKEJCdAttM20DkMh4TIwAyJNiEXQICDzvFsrSnKeDrylKQQomKOLQ7aoBFaRa09q06SAyD3k/J0DsMhITK0WUMyNCD3VUHQOZ6jY5TxNOSpyMYnijn5adAKzdAuKtksOsmQgBiOqFJLE2eWkAwFyH20Z3ytOlrHKOPpx1OQjY6KObU4aIeGaBmV26CdZAhAgIOvVc+NUlhx2FA2lg3WW1sHBdAQLdG0wzSNhg4GSTQg95YsdA7DISFGbLOBJBIQ4KBzPC+wMHjK8bRjQwPDJgyV71RoirZoHLXK8E4SBci9pCCdw3BIiAnZ5CGJAAQ46BzPDywMnmo83djAwLCzDIXGaI3mUQKEdZK+AbmnFKNzGA4JMWGbLCR9AnIPFQSd4wU6RhlPMZ5mbFhUTMfZogCaoz17sOWT/l977yR9AWI4+i+OzhF6mGBykPQByN0lPF+rXqhjlPHU4unFBkXFdJzlCrAH7AV7svyO9J/21klSAwIcfK16UXoNVs7IRrAhbMzKm3whVAH2gj1hb6IC9wJJSkDuJiXoHIZDQtjWJgFJKkCAg87x4sDC4OnEU4qNCAzrUA0UYG/YI/aqwbBOtybtJCkAuavSoXMYDglhWyiw8WXUkHQFBDjoHC/ZqEjP5zyNeCohfM+hPH0iBdgr9oy9SzRl5TRJOkkXQO6iJdI5DIeEsFUqMEpI2gLCODrHSytlSXcDTx+eQgidblbPFKkAe8cespdRcTt1Egq96UIZYziaqub7CwVGBQnFXiy8zvFOd3Og1wAAAx9JREFUuomvVS/TMcp42vDUQdiomI7TrwLsJXvK3jaM1Pr2Vp2kCSDAQed4eeslNh+IgAiJoM1He0TOCrCn7C17HLXOxpA0AYTOYTiitnIecbKHpC4gH9R+QZ8OIcZThacLAoYEdJDBFGCP2Wv2PGoR1PIpdYLVAeSVmugN8ihDKARDuKiYjjOsAuw1e87eR63krQpU+V9JrgJkZ03yHnmUIRBCIVhUTMfJQwH2nL2nBqJWdPymQEveVAHyeo3ZQx5hCINACBURzzHyU4C9pwaohYjV8c/dlv5/eVWA7BKxSsVAEIRBIL21zVgBaoBaoCYiZNi3LEgVILuXDU50DSEQBGESTelpRq4AtUBNUBt9p7JPWYAqQPYsG5zgGgIgBIIkmM5TTEgBaoLaoEb6TKsTIH0ujMQRACH6jOO5x6sAtUGNUCuDZFHVQa6uuaqmt5EwiSNA07G+f14KUCPUCjXTR+ZXlk1aBcg1ZYNbXiNREibxllN42MwUoFaoGWondeqdALku8WpIkERJOPHUnm7iClAz1A41lDLVK8omq+ogH9bga+UpjMRIkERTzOc55qcAtUMNUUspsj9bk5whX2lVgNBB3rFydP0LJERiJFh/lO+0AtsqQA1RS9TUtlebfVL5UyJVgBDuk3qhk+jQykiEhEisxQQeYgW2UYBaoqaorW0u1vzgZN13qbzU6gDCBPzIyVt0cqu8iZ2lm0mEhHRqswLJFKCmqC1qrMmk1DC1fFydQXUBYa5T9XK4/Hx5ld2uG94u558fJRGd2qxAcgWoLWqMWqPmqgJQu9QwtVx17+J6E0AYQEs6Sicnys+UXy8v7DadXCL/kJxFnKSjzQpEKECtUXMfUbDL5Bth4S+ZTtdnJ8ipXWpYp/WsKSDFrATjnxjlhxn5kfj9dIH/xNrBOh4rv1huswKRClBzr1PAA+X8R5sO0HEn+W5yfkGKh7pOm1lbQDZGuUFv+LvkjdTqoxGYlzhVBajFy5XcjfJOlgKQTgvwYCuQswIGJOfd8doGV8CADL4FXkDOChiQnHfHaxtcAQPS0xZ42mko8H8AAAD//4/S4zYAAAAGSURBVAMApkn0vv0gIcoAAAAASUVORK5CYII=",Tan="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.01'%20width='18'%20height='18'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.57917%2015.9145C8.70747%2016.0428%208.8824%2016.1134%209.06382%2016.1102C9.43813%2016.1092%209.74175%2015.8068%209.74422%2015.4325V9.67071H15.5051C15.8805%209.66972%2016.1845%209.36568%2016.1855%208.99031C16.1887%208.8089%2016.118%208.63397%2015.9897%208.50567C15.8614%208.37737%2015.6865%208.30671%2015.5051%208.30991H9.74422V2.57151C9.74422%202.19574%209.43959%201.89111%209.06382%201.89111C8.68804%201.89111%208.38342%202.19574%208.38342%202.57151V8.30991H2.645C2.26923%208.30991%201.9646%208.61454%201.9646%208.99031C1.9646%209.36609%202.26923%209.67071%202.645%209.67071H8.38342V15.4298C8.38021%2015.6112%208.45087%2015.7862%208.57917%2015.9145ZM8.38342%209.67071H9.74422V8.30991H8.38342V9.67071Z'%20fill='%23529FFF'/%3e%3c/svg%3e",kan=Ce.defineComponent({name:"Choice",components:{TinyButton:Pt,TinyRadioGroup:Wi,TinyRadio:Jn,TinyCheckboxGroup:as,TinyCheckbox:Zn,TinyAlert:Vi,FileList:lc,Base:Ef,RichTextarea:_k},props:{oriQuestion:{type:Object,required:!0,default:()=>({type:1,choices:[],correctAnswer:null,record:{answer:null}})},mode:{type:Number,default:1,validator:t=>[1,2,3].includes(t)},needRichText:{type:Boolean,default:!0},isSubmitted:{type:Boolean,default:!1},showAnswer:{type:Boolean,default:!1}},emits:["save","cancel","change"],setup(t,{emit:e}){const n=sc(),o=Ce.ref({type:"warning",text:""}),r=($,q)=>{o.value={type:$,text:q},setTimeout(()=>{o.value.text=""},2e3)},i=Ce.ref(null),a=Ce.ref({}),l=Ce.ref(""),s=Ce.ref([]),c=Ce.ref(),d=()=>{var $,q,B,P;t.mode===3?($=a.value.record)!=null&&$.answer?a.value.type===1?(l.value=a.value.record.answer,c.value=a.value.record.answer):(s.value=Array.isArray(a.value.record.answer)?a.value.record.answer:((q=a.value.record.answer)==null?void 0:q.split(","))||[],c.value=Array.isArray(a.value.record.answer)?a.value.record.answer:((B=a.value.record.answer)==null?void 0:B.split(","))||[]):(l.value="",s.value=[]):a.value.correctAnswer?a.value.type===1?l.value=a.value.correctAnswer[0]:s.value=Array.isArray(a.value.correctAnswer)?a.value.correctAnswer:((P=a.value.correctAnswer)==null?void 0:P.split(","))||[]:(l.value="",s.value=[])};Ce.watch(()=>t.oriQuestion,$=>{a.value=cc($),d(),console.log(a.value,"--------Choice--------",$)},{immediate:!0}),Ce.watch([()=>t.mode,()=>t.isSubmitted],()=>{d()});const u=$=>String.fromCharCode(65+$),m=$=>$?Array.isArray($)?$.join(","):$:"-",h=$=>{var C;if(t.mode!==3||!t.isSubmitted)return"";const q=u($),B=((C=a.value.record)==null?void 0:C.answer)||"",P=a.value.correctAnswer||"",N=Array.isArray(B)?B:(B==null?void 0:B.split(","))||[],D=Array.isArray(P)?P:(P==null?void 0:P.split(","))||[],W=N.includes(q),M=D.includes(q);return M&&W?"correct":!M&&W?"wrong":M&&!W?"missed":""},p=()=>{t.mode===1&&(a.value.choices.length<20?v():console.warn(n("optionLimit")||"选项数量已达上限(20个)"))},v=()=>{a.value.choices||(a.value.choices=[]),a.value.choices.push({id:Date.now(),text:"",attachments:[]})},f=$=>{t.mode===1&&t.needRichText&&(i.value=$)},b=($,q)=>{t.mode===1&&a.value.choices[q].attachments.splice($,1)},x=($,q)=>{console.log($,q,a.value,"question.valuequestion.value"),t.mode===1&&a.value.choices[q].attachments.push($)},w=($,q)=>{if(t.mode===1)if(a.value.choices&&Array.isArray(a.value.choices)&&a.value.choices.length>2){if(a.value.choices.splice(q,1),a.value.correctAnswer){const P=(Array.isArray(a.value.correctAnswer)?a.value.correctAnswer:a.value.correctAnswer.split(",")).filter(N=>{const D=N.charCodeAt(0)-65;return D!==q&&D<a.value.choices.length});a.value.correctAnswer=a.value.type===1?P[0]||"":P}}else console.warn(n("atLeastTwo")||"至少需要两个选项")},E=()=>{if(t.mode!==1)return;if(!a.value.title){r("warning",n("questionTitleTip1"));return}if(a.value.choices.some(q=>!q.text)){r("warning",n("optionContentTip1"));return}if(!a.value.correctAnswer||a.value.correctAnswer.length===0){r("warning",n("inputAnswerTip4"));return}const $=JSON.parse(JSON.stringify(a.value));e("save",$)},S=()=>{e("cancel")};return Ce.watch(l,$=>{a.value.type===1&&(t.mode===1?a.value.correctAnswer=$:t.mode===3&&(a.value.record||(a.value.record={}),a.value.record.answer=$,e("change",a.value)))}),Ce.watch(s,$=>{a.value.type===2&&(t.mode===1?a.value.correctAnswer=$:t.mode===3&&!t.isSubmitted&&(a.value.record||(a.value.record={}),a.value.record.answer=$,e("change",a.value)))}),{t:n,question:a,radioAnswer:l,checkboxAnswer:s,getOption:u,formatAnswer:m,handleAnswerClass:h,addChoice:p,saveQuestion:E,cancel:S,createChoice:v,activeIndex:i,activeRichText:f,deleteFile:b,addFile:x,deleteChoice:w,userAnswer:c,alertInfo:o,showAlertHandler:r}}});var Can=function(){var o;var e=this,n=e._self._c;return e._self._setupProxy,n("Base",{staticClass:"choice-container",attrs:{question:e.question,mode:e.mode}},[e.mode===1?n("div",{staticClass:"edit-mode"},[n("div",{staticClass:"choice-list-base"},[e._l(e.question.choices,function(r,i){return n("div",{key:r.id},[n("div",{staticClass:"choice-item"},[n("span",{staticClass:"choice-option"},[e._v(e._s(e.getOption(i)))]),e.activeIndex===i?n("RichTextarea",{staticClass:"choice-input-wrap",attrs:{placeholder:e.t("optionContent"),list:r.attachments,isShowLimitTimes:!1,actionIndex:i,placeholderText:e.t("optionContent")},on:{addFile:e.addFile,deleteFile:e.deleteFile},model:{value:r.text,callback:function(a){e.$set(r,"text",a)},expression:"choice.text"}}):n("div",{staticClass:"choice-input-wrap"},[e.needRichText?n("div",{staticClass:"choice-input",on:{click:function(a){return e.activeRichText(i)}}},[r.text||r.attachments&&r.attachments.length>0?e._e():n("span",{staticClass:"no-content-tip"},[e._v(e._s(e.t("optionContent")))]),r.text?n("div",{staticClass:"rich-text",domProps:{innerHTML:e._s(r.text)}}):e._e(),n("FileList",{ref:"fileList",refInFor:!0,attrs:{mode:"edit",type:"block",isPreview:!0,list:r.attachments||[],isShowLimitTimes:!1,actionIndex:i},on:{deleteFile:e.deleteFile}})],1):n("input",{directives:[{name:"model",rawName:"v-model",value:r.text,expression:"choice.text"}],staticClass:"choice-input",attrs:{type:"text",placeholder:e.t("optionContent")},domProps:{value:r.text},on:{input:function(a){a.target.composing||e.$set(r,"text",a.target.value)}}})]),i>1?n("img",{staticClass:"btn-delete",attrs:{src:Mk,alt:""},on:{click:function(a){return e.deleteChoice(r,i)}}}):e._e()],1)])}),n("div",{staticClass:"btn-add",on:{click:e.addChoice}},[n("img",{attrs:{src:Tan,alt:""}}),e._v(e._s(e.t("addOption"))+" ")])],2),n("div",{staticClass:"choice-list"},[n("div",{staticClass:"answer-display"},[n("span",[e._v(e._s(e.t("answer"))+":")]),n("span",[e._v(e._s(e.formatAnswer(e.question.correctAnswer)))])]),e.question.type===1?n("TinyRadioGroup",{staticClass:"choices",model:{value:e.radioAnswer,callback:function(r){e.radioAnswer=r},expression:"radioAnswer"}},e._l(e.question.choices,function(r,i){return n("TinyRadio",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i)))])])}),1):e._e(),e.question.type===2?n("TinyCheckboxGroup",{staticClass:"choices",model:{value:e.checkboxAnswer,callback:function(r){e.checkboxAnswer=r},expression:"checkboxAnswer"}},e._l(e.question.choices,function(r,i){return n("TinyCheckbox",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i)))])])}),1):e._e()],1),n("div",{staticClass:"btn-save"},[n("TinyButton",{attrs:{type:"primary"},on:{click:e.saveQuestion}},[e._v(e._s(e.t("save")))]),n("TinyButton",{on:{click:e.cancel}},[e._v(e._s(e.t("cancel")))])],1)]):e._e(),e.mode===2?n("div",{staticClass:"preview-mode"},[n("div",{staticClass:"choice-list"},[e.question.type===1?n("TinyRadioGroup",{staticClass:"choices",attrs:{disabled:""},model:{value:e.radioAnswer,callback:function(r){e.radioAnswer=r},expression:"radioAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyRadio",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1}}):e._e()],1)])}),1):e._e(),e.question.type===2?n("TinyCheckboxGroup",{staticClass:"choices",attrs:{disabled:""},model:{value:e.checkboxAnswer,callback:function(r){e.checkboxAnswer=r},expression:"checkboxAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyCheckbox",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1}}):e._e()],1)])}),1):e._e()],1),n("div",{staticClass:"answer-display"},[n("span",[e._v(e._s(e.t("answer"))+":")]),n("span",[e._v(e._s(e.formatAnswer(e.question.correctAnswer)))])])]):e._e(),e.mode===3?n("div",{staticClass:"answer-mode"},[e.isSubmitted?n("div",{staticClass:"choice-list"},[e.question.type===1?n("TinyRadioGroup",{staticClass:"choices",attrs:{disabled:!0},model:{value:e.userAnswer,callback:function(r){e.userAnswer=r},expression:"userAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyRadio",{key:r.id,staticClass:"choice-item",class:e.handleAnswerClass(i),attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1,showDownLoad:e.mode!==3}}):e._e()],1)])}),1):e._e(),e.question.type===2?n("TinyCheckboxGroup",{staticClass:"choices",attrs:{disabled:!0},model:{value:e.userAnswer,callback:function(r){e.userAnswer=r},expression:"userAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyCheckbox",{key:r.id,staticClass:"choice-item",class:e.handleAnswerClass(i),attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1,showDownLoad:e.mode!==3}}):e._e()],1)])}),1):e._e()],1):n("div",{staticClass:"choice-list"},[e.question.type===1?n("TinyRadioGroup",{staticClass:"choices",model:{value:e.radioAnswer,callback:function(r){e.radioAnswer=r},expression:"radioAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyRadio",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1,showDownLoad:e.mode!==3}}):e._e()],1)])}),1):e._e(),e.question.type===2?n("TinyCheckboxGroup",{staticClass:"choices",model:{value:e.checkboxAnswer,callback:function(r){e.checkboxAnswer=r},expression:"checkboxAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyCheckbox",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1,showDownLoad:e.mode!==3}}):e._e()],1)])}),1):e._e()],1),e.isSubmitted&&e.showAnswer?n("div",[n("div",{staticClass:"answer-display"},[n("span",[e._v(e._s(e.t("stuAnswer"))+":")]),n("span",[e._v(e._s(e.formatAnswer((o=e.question.record)==null?void 0:o.answer)))])]),n("div",{staticClass:"correct-answer"},[n("span",[e._v(e._s(e.t("correctAnswer"))+":")]),n("span",[e._v(e._s(e.formatAnswer(e.question.correctAnswer)))])])]):e._e()]):e._e(),e.alertInfo.text?n("TinyAlert",{staticClass:"alert-warning",attrs:{type:e.alertInfo.type},scopedSlots:e._u([{key:"description",fn:function(){return[e._v(e._s(e.alertInfo.text))]},proxy:!0}],null,!1,3471111397)}):e._e()],1)},Aan=[],San=Nn(kan,Can,Aan,!1,null,"829ac6c0");const Ll=San.exports;Ll.install=t=>t.component(Ll.name,Ll);const Ean=Ce.defineComponent({name:"Completion",components:{Base:Ef,FileList:lc,TinyButton:Pt,TinyCheckbox:Zn,TinyAlert:Vi},props:{mode:{type:Number,default:1},oriQuestion:{type:Object,default:()=>({})},isSubmitted:{type:Boolean,default:!1},showAnswer:{type:Boolean,default:!1}},emits:["save","cancel","submit"],setup(t,{emit:e}){const n=Ce.ref({}),o=Ce.ref([]),r=Ce.ref({type:"warning",text:""}),i=(h,p)=>{r.value={type:h,text:p},setTimeout(()=>{r.value.text=""},2e3)},a=h=>{var W,M,C,V;if(t.mode!==1)return;const p=/\( \)/g;let v;const f=[];let b=0,x="<p>";for(;(v=p.exec(h))!==null;)f.push(v.index-5*b-x.length),b++;let w=0;if((W=u.value)!=null&&W.richTextareaRef){const k=(C=(M=u.value.richTextareaRef.$refs.fluentEditorRef.state.quill)==null?void 0:M.getSelection)==null?void 0:C.call(M);w=(k==null?void 0:k.index)??((V=n.value.title)==null?void 0:V.length)??0}let E=0;for(let k=0;k<f.length&&w>f[k];k++)E=k;const S=[...n.value.blanks||[]].sort((k,z)=>(k.orderIndex||0)-(z.orderIndex||0)),$=S.map(k=>k.correctAnswer||""),q=[];let B=0;const P=f.length,N=S.length,D=Array(P).fill("");if(N>0){const k=P>N;if(k)for(let z=0;z<P;z++)if(k&&z===E)D[z]="";else if(z<E)z<$.length&&(D[z]=$[z]);else{const O=z-1;O<$.length&&(D[z]=$[O])}else for(let z=0;z<P;z++)D[z]=$[z]}for(let k=0;k<f.length;k++)q.push({id:Du(),blankIndex:f[k],orderIndex:B,correctAnswer:D[k]}),B++;n.value.blanks=q,o.value=n.value.blanks.map(()=>""),l()};Ce.watch(()=>n.value.title,a),Ce.watch(()=>t.oriQuestion,h=>{n.value=cc(h)},{immediate:!0});const l=()=>{if(t.mode!==1)return;let h=[];if(n.value.blanks)for(let p=0;p<n.value.blanks.length;p++){let v=n.value.blanks[p];h.push(v.correctAnswer||"")}n.value.correctAnswer=h},s=()=>{if(t.mode!==1)return;if(l(),!n.value.title){i("warning",ar("questionTitleTip1"));return}let h=!1;for(let v=0;v<n.value.blanks.length;v++)if(!n.value.blanks[v].correctAnswer||n.value.blanks[v].correctAnswer.trim()===""){h=!0;break}if(h){i("warning",ar("optionContentTip1"));return}let p=!1;for(let v=0;v<n.value.blanks.length;v++)if((n.value.blanks[v].correctAnswer||"").length>1e3){p=!0;break}if(p){i("warning",ar("optionContentTip3"));return}console.log("save-completion",n.value),e("save",n.value)},c=()=>{e("cancel")},d=h=>{t.mode===3&&(n.value.record.answer=h,e("change",n.value))},u=Ce.ref(null);return{t:ar,question:n,userAnswers:o,saveQuestion:s,cancel:c,answerChange:l,blankAnswerChange:d,deleteBlank:(h,p)=>{var E;if(t.mode!==1)return;const v=n.value.blanks.findIndex(S=>S.id===h.id);if(v===-1)return;n.value.blanks.splice(v,1);let f=n.value.title;const b=/\( \)/g;let x,w=[];for(;(x=b.exec(f))!==null;)w.push(x.index);if(p>=0&&p<w.length){const S=w[p];f=f.substring(0,S)+f.substring(S+8),n.value.title=f,(E=u.value)!=null&&E.richTextareaRef&&(u.value.richTextareaRef.content=f);const $=/\( \)/g;let q,B=[];for(;(q=$.exec(f))!==null;)B.push(q.index);n.value.blanks.forEach((P,N)=>{B[N]!==void 0&&(P.blankIndex=B[N])})}o.value=n.value.blanks.map(()=>""),l()},baseComponent:u,alertInfo:r,showAlertHandler:i}}});var $an=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("Base",{ref:"baseComponent",staticClass:"completion-question",attrs:{question:e.question,mode:e.mode,isSubmitted:e.isSubmitted},on:{blankAnswerChange:e.blankAnswerChange}},[e.mode===1?[n("div",{staticClass:"edit-mode"},[n("div",{staticClass:"title"}),n("div",{staticClass:"correct-answer"},[n("span",{staticClass:"tip"},[e._v(e._s(e.t("answer"))+":")]),n("span",{staticClass:"correct-answer-tip"},[e._v("( "+e._s(e.t("inputAnswerTip2"))+" )")]),e._l(e.question.blanks,function(o,r){return n("div",{key:o.id||r},[n("div",{staticClass:"answer-item"},[n("span",{staticClass:"answer-option"},[e._v("["+e._s(r+1)+"]")]),n("input",{directives:[{name:"model",rawName:"v-model",value:o.correctAnswer,expression:"blank.correctAnswer"}],staticClass:"answer-input",attrs:{placeholder:e.t("inputAnswer"),type:"text"},domProps:{value:o.correctAnswer},on:{change:e.answerChange,input:function(i){i.target.composing||e.$set(o,"correctAnswer",i.target.value)}}}),n("div",{staticClass:"btn-delete"},[n("img",{attrs:{src:Mk,alt:""},on:{click:function(i){return e.deleteBlank(o,r)}}})])])])}),n("div",{staticClass:"can-exchange"},[n("TinyCheckbox",{attrs:{"false-label":0,"true-label":1},model:{value:e.question.allowExchange,callback:function(o){e.$set(e.question,"allowExchange",o)},expression:"question.allowExchange"}},[e._v("答案可互换顺序")])],1),n("div",{staticClass:"btn-save"},[n("TinyButton",{attrs:{type:"primary"},on:{click:e.saveQuestion}},[e._v(e._s(e.t("save")))]),n("TinyButton",{on:{click:e.cancel}},[e._v(e._s(e.t("cancel")))])],1)],2)])]:(e.mode===2||e.mode===3)&&e.showAnswer?[n("div",{staticClass:"preview-mode"},[n("FileList",{attrs:{list:e.question.link}}),n("div",{staticClass:"correct-answer-preview"},[n("div",{class:{title:e.mode===3}},[e._v(e._s(e.t("correctAnswer"))+":")]),e._l(e.question.blanks,function(o,r){return n("span",{key:o.id||r,staticClass:"answer-item"},[n("span",{staticClass:"answer-option"},[e._v("["+e._s(r+1)+"]")]),n("span",{staticClass:"answer-value"},[e._v(e._s(`${o.correctAnswer}${r!==e.question.blanks.length-1?"、":""}`||"-"))])])})],2)],1)]:e._e(),e.alertInfo.text?n("TinyAlert",{staticClass:"alert-warning",attrs:{type:e.alertInfo.type},scopedSlots:e._u([{key:"description",fn:function(){return[e._v(e._s(e.alertInfo.text))]},proxy:!0}],null,!1,3471111397)}):e._e()],2)},Pan=[],_an=Nn(Ean,$an,Pan,!1,null,"ea944f6b");const Il=_an.exports;Il.install=t=>t.component(Il.name,Il);const il="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.01'%20width='18'%20height='18'%20fill='%23475467'/%3e%3cpath%20d='M6.77719%2012.6257L2.59039%207.87367C2.34614%207.5802%201.96178%207.44255%201.58677%207.51423C1.21175%207.58592%200.905259%207.85563%200.786475%208.21849C0.66769%208.58135%200.755358%208.98009%201.01539%209.25967L5.96539%2014.8865C6.16186%2015.1092%206.4434%2015.2385%206.74039%2015.2422C7.03739%2015.246%207.32212%2015.124%207.52419%2014.9063L17.2712%204.40687C17.5406%204.13474%2017.6404%203.73748%2017.5316%203.37035C17.4227%203.00321%2017.1226%202.7245%2016.7484%202.64313C16.3742%202.56177%2015.9854%202.69067%2015.734%202.97947L6.77719%2012.6275V12.6257Z'%20fill='%23475467'/%3e%3c/svg%3e",al="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.01'%20width='16'%20height='16'%20fill='%23475467'/%3e%3cpath%20d='M9.48719%208.00012L15.2562%202.23012C15.6662%201.82112%2015.6662%201.15012%2015.2562%200.741117C14.8462%200.331117%2014.1762%200.331117%2013.7662%200.741117L7.99719%206.51112L2.22719%200.740117C1.81819%200.330117%201.14719%200.330117%200.738187%200.740117C0.328187%201.15012%200.328187%201.82012%200.738187%202.23012L6.50819%208.00012L0.737188%2013.7701C0.327188%2014.1791%200.327188%2014.8501%200.737188%2015.2591C1.14719%2015.6691%201.81719%2015.6691%202.22719%2015.2591L7.99719%209.48912L13.7672%2015.2591C14.1762%2015.6691%2014.8472%2015.6691%2015.2562%2015.2591C15.6662%2014.8491%2015.6662%2014.1791%2015.2562%2013.7691L9.48619%208.00012H9.48719Z'%20fill='%23475467'/%3e%3c/svg%3e",Man=Ce.defineComponent({name:"JudgeQuestion",components:{Base:Ef,TinyRadio:Jn,TinyRadioGroup:Wi,TinyButton:Pt,FileList:lc,TinyAlert:Vi},props:{mode:{type:Number,default:1},oriQuestion:{type:Object,default:()=>({})},showAnswer:{type:Boolean,default:!1},isSubmitted:{type:Boolean,default:!1}},emits:["save","cancel","change"],setup(t,{emit:e}){const n=sc(),o=Ce.ref({type:"warning",text:""}),r=(h,p)=>{o.value={type:h,text:p},setTimeout(()=>{o.value.text=""},2e3)},i=Ce.ref({}),a=Ce.ref(""),l=Ce.ref(""),s=Ce.computed(()=>t.isSubmitted&&a.value===l.value);Ce.watch(()=>t.oriQuestion,h=>{var p;i.value=cc(h),i.value.correctAnswer&&i.value.correctAnswer.length>0&&(l.value=i.value.correctAnswer[0]),t.mode===3&&((p=i.value.record)!=null&&p.answer?a.value=i.value.record.answer:a.value=""),console.log(i.value,"--------Judge--------")},{immediate:!0}),Ce.watch(()=>t.mode,h=>{var p;h!==3?a.value="":(p=i.value.record)!=null&&p.answer?a.value=i.value.record.answer:a.value=""}),Ce.watch(()=>t.isSubmitted,h=>{var p;h&&((p=i.value.record)!=null&&p.answer)&&(a.value=i.value.record.answer)});const c=()=>{if(t.mode===1){if(!i.value.title||!i.value.title.trim()){r("warning",n("questionTitleTip1"));return}if(!l.value){r("warning",n("inputAnswerTip4"));return}i.value.correctAnswer||(i.value.correctAnswer=[]),i.value.correctAnswer[0]=l.value,e("save",i.value)}},d=()=>{e("cancel")};return Ce.watch(a,h=>{t.mode===3&&h&&(i.value.record||(i.value.record={}),i.value.record.answer=h,e("change",i.value))}),{t:n,cancel:d,question:i,userAnswer:a,correctAnswer:l,isCorrect:s,saveQuestion:c,handleAnswerClass:h=>{if(!t.isSubmitted)return"";const p=(h?"true":"false")==a.value,v=(h?"true":"false")==l.value;return p?v?"correct":"wrong":""},handleCorrectAnswerClass:h=>t.isSubmitted&&(h?"true":"false")==l.value?"correct":"",alertInfo:o,showAlertHandler:r}}});var Lan=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("Base",{staticClass:"true-or-false-question",attrs:{question:e.question,mode:e.mode}},[e.mode===1?[n("div",{staticClass:"correct-answer"},[n("span",[e._v(e._s(e.t("correctAnswer"))+":")]),n("TinyRadioGroup",{model:{value:e.correctAnswer,callback:function(o){e.correctAnswer=o},expression:"correctAnswer"}},[n("TinyRadio",{attrs:{label:"true"}},[n("img",{attrs:{src:il,alt:""}})]),n("TinyRadio",{attrs:{label:"false"}},[n("img",{attrs:{src:al,alt:""}})])],1)],1),n("div",{staticClass:"action-buttons"},[n("TinyButton",{attrs:{type:"primary"},on:{click:e.saveQuestion}},[e._v(e._s(e.t("save")))]),n("TinyButton",{on:{click:e.cancel}},[e._v(e._s(e.t("cancel")))])],1)]:e.mode===2?[n("div",{staticClass:"preview-mode"},[n("div",{staticClass:"correct-answer-preview"},[n("span",[e._v(e._s(e.t("answer"))+":")]),n("TinyRadioGroup",{attrs:{disabled:""},model:{value:e.correctAnswer,callback:function(o){e.correctAnswer=o},expression:"correctAnswer"}},[n("TinyRadio",{attrs:{label:"true"}},[n("img",{attrs:{src:il,alt:""}})]),n("TinyRadio",{attrs:{label:"false"}},[n("img",{attrs:{src:al,alt:""}})])],1)],1)])]:e.mode===3?[n("div",{staticClass:"answer-mode"},[n("div",{staticClass:"user-answer"},[e.isSubmitted?n("div",{staticClass:"submit-result"},[n("div",{staticClass:"user-answer-display"},[n("span",[e._v(e._s(e.t("yourAnswer"))+":")]),n("TinyRadioGroup",{attrs:{disabled:""},model:{value:e.userAnswer,callback:function(o){e.userAnswer=o},expression:"userAnswer"}},[n("TinyRadio",{class:e.handleAnswerClass(!0),attrs:{label:"true"}},[n("img",{attrs:{src:il,alt:""}})]),n("TinyRadio",{class:e.handleAnswerClass(!1),attrs:{label:"false"}},[n("img",{attrs:{src:al,alt:""}})])],1)],1),e.showAnswer?n("div",{staticClass:"correct-answer-hint"},[n("span",[e._v(e._s(e.t("correctAnswer"))+":")]),n("TinyRadioGroup",{attrs:{disabled:""},model:{value:e.correctAnswer,callback:function(o){e.correctAnswer=o},expression:"correctAnswer"}},[n("TinyRadio",{class:e.handleCorrectAnswerClass(!0),attrs:{label:"true"}},[n("img",{attrs:{src:il,alt:""}})]),n("TinyRadio",{class:e.handleCorrectAnswerClass(!1),attrs:{label:"false"}},[n("img",{attrs:{src:al,alt:""}})])],1)],1):e._e()]):n("div",[n("TinyRadioGroup",{model:{value:e.userAnswer,callback:function(o){e.userAnswer=o},expression:"userAnswer"}},[n("TinyRadio",{attrs:{label:"true"}},[n("img",{attrs:{src:il,alt:""}})]),n("TinyRadio",{attrs:{label:"false"}},[n("img",{attrs:{src:al,alt:""}})])],1)],1)])])]:e._e(),e.alertInfo.text?n("TinyAlert",{staticClass:"alert-warning",attrs:{type:e.alertInfo.type},scopedSlots:e._u([{key:"description",fn:function(){return[e._v(e._s(e.alertInfo.text))]},proxy:!0}],null,!1,3471111397)}):e._e()],2)},Ian=[],Nan=Nn(Man,Lan,Ian,!1,null,"7d8d29c8");const Nl=Nan.exports;Nl.install=t=>t.component(Nl.name,Nl);Zae("3rdlib/mathjax-3.2.2/tex-mml-svg.js");const Oan=[fl,Pl,_l,Ll,Il,Nl],Dan=t=>{Oan.forEach(e=>t.use(e))},Ban={install:Dan};exports.Choice=Ll;exports.Completion=Il;exports.Judge=Nl;exports.MyButton=fl;exports.MyTinyButton=Pl;exports.MyTinyRadio=_l;exports.default=Ban;
|
|
454
|
+
`,We+="UNSIGNED-PAYLOAD",pe+="X-Amz-Signature="+qt(Nf(me,ke,this.sk,this.region,We)),{ActualSignedRequestHeaders:oe,SignedUrl:(this.isSecure?"https":"http")+"://"+ge+":"+this.port+pe}},st.prototype.createPostSignatureSync=function(y){var T=y.signatureContext||this.signatureContext;if(T.signature==="v4")return this.createV4PostSignatureSync(y);var R=(y=y||{}).Bucket?String(y.Bucket):null,j=y.Key?String(y.Key):null,X=y.Expires?parseInt(y.Expires,10):300,G={};if(y.FormParams&&y.FormParams instanceof Object&&!(y.FormParams instanceof Array))for(var U in y.FormParams)({}).hasOwnProperty.call(y.FormParams,U)&&(G[U]=y.FormParams[U]);this.securityToken&&!G[T.headerPrefix+"security-token"]&&(G[T.headerPrefix+"security-token"]=this.securityToken);var oe=new Date;oe.setTime(parseInt(new Date().getTime(),10)+1e3*X),oe=Mf(oe.toUTCString()),R&&(G.bucket=R),j&&(G.key=j);var ie=[];ie.push('{"expiration":"'),ie.push(oe),ie.push('", "conditions":[');var le=!0,ve=!0,pe=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(var de in G)if(de){var ge=G[de];(de=String(de).toLowerCase())==="bucket"?le=!1:de==="key"&&(ve=!1),jt.indexOf(de)<0&&pe.indexOf(de)<0&&de.indexOf(T.headerPrefix)!==0||(ie.push('{"'),ie.push(de),ie.push('":"'),ie.push(ge!==null?String(ge):""),ie.push('"},'))}le&&ie.push('["starts-with", "$bucket", ""],'),ve&&ie.push('["starts-with", "$key", ""],'),ie.push("]}");var we=ie.join("");ie=window.btoa?window.btoa(we):_o.encode(we);var me=Je("sha1",this.sk).update(ie).digest("base64");return{OriginPolicy:we,Policy:ie,Signature:me,Token:this.ak+":"+me+":"+ie}},st.prototype.createV4PostSignatureSync=function(y){var T=(y=y||{}).signatureContext||this.signatureContext,R=y.Bucket?String(y.Bucket):null,j=y.Key?String(y.Key):null,X=y.Expires?parseInt(y.Expires,10):300,G={};if(y.FormParams&&y.FormParams instanceof Object&&!(y.FormParams instanceof Array))for(var U in y.FormParams)({}).hasOwnProperty.call(y.FormParams,U)&&(G[U]=y.FormParams[U]);this.securityToken&&!G[T.headerPrefix+"security-token"]&&(G[T.headerPrefix+"security-token"]=this.securityToken);var oe=uc(new Date().toUTCString()),ie=oe[0],le=oe[1],ve=this.ak+"/"+ie+"/"+this.region+"/s3/aws4_request",pe=new Date;pe.setTime(parseInt(new Date().getTime(),10)+1e3*X),pe=Mf(pe.toUTCString()),G["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",G["X-Amz-Date"]=le,G["X-Amz-Credential"]=ve,R&&(G.bucket=R),j&&(G.key=j);var de=[];de.push('{"expiration":"'),de.push(pe),de.push('", "conditions":[');var ge=!0,we=!0,me=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(var ke in G)if(ke){var Ae=G[ke];(ke=String(ke).toLowerCase())==="bucket"?ge=!1:ke==="key"&&(we=!1),jt.indexOf(ke)<0&&me.indexOf(ke)<0&&ke.indexOf(T.headerPrefix)!==0||(de.push('{"'),de.push(ke),de.push('":"'),de.push(Ae!==null?String(Ae):""),de.push('"},'))}ge&&de.push('["starts-with", "$bucket", ""],'),we&&de.push('["starts-with", "$key", ""],'),de.push("]}");var Me=de.join("");de=window.btoa?window.btoa(Me):_o.encode(Me);var $e=If(ie,this.sk,this.region,de);return{OriginPolicy:Me,Policy:de,Algorithm:G["X-Amz-Algorithm"],Credential:G["X-Amz-Credential"],Date:G["X-Amz-Date"],Signature:$e}};var Ik=st,Of=Number.MAX_VALUE;function xd(){this.consoleLog=window.console,this._level=Of}xd.prototype.setLevel=function(y){y&&(y=(y=String(y).toLowerCase())==="info"?20:y==="warn"?30:y==="error"?40:y==="debug"?10:Of,this._level=y)},xd.prototype.runLog=function(y,T,R){if(y){var j=[new Date().toLocaleString(),y.toLowerCase(),T,R].join("|");y.toLowerCase()==="debug"&&this._level<=10?this.consoleLog.debug(j):y.toLowerCase()==="info"&&this._level<=20?this.consoleLog.info(j):y.toLowerCase()==="warn"&&this._level<=30?this.consoleLog.warn(j):y.toLowerCase()==="error"&&this._level<=40&&this.consoleLog.error(j)}};var Nk=xd,Ok=u(1062),Dk=u.t(Ok,2),Df=function(y){return Object.prototype.toString.call(y)==="[object String]"&&y.lastIndexOf("/")!==y.length-1&&(y+="/"),y},Bk={extend:function(y){y.prototype.dropFile=function(T,R){this.deleteObject(T,R)},y.prototype.dropFolder=function(T,R){var j=this;T=T||{};var X=(function(de,ge,we){de=de||function(){};var me=new Date().getTime();return function(ke,Ae){return ge.runLog("info","dropFolder","ObsClient cost "+(new Date().getTime()-me)+" ms"),Object.prototype.toString.call(ke)==="[object String]"?de(new Error(ke),Ae):de(ke,Ae)}})(R,j.log),G=(function(de){return de=de||function(){},function(ge,we,me){return Object.prototype.toString.call(me)==="[object Error]"?de(ge,we,me):Object.prototype.toString.call(me)==="[object String]"?de(ge,we,new Error(me)):me?me.CommonMsg.Status>300?de(ge,we,new Error("status:"+me.CommonMsg.Status+", code:"+me.CommonMsg.Code+", message:"+me.CommonMsg.Message)):void de(ge,we,me):void 0}})(T.EventCallback),U=T.TaskNum||1,oe=0,ie=[],le=function(de,ge,we,me){if(me)return ge.finished++,void we(ge);var ke=function(){oe++,j.dropFile({Bucket:ge.bucket,Key:de},function(Ae,Me){oe--,ge.finished++,(function(){for(;oe<U&&ie.length>0;)ie.shift()()})(),Ae?(G("dropFileFailed",de,Ae),ge.subDeleted=!1):Me.CommonMsg.Status>=300?(G("dropFileFailed",de,Me),ge.subDeleted=!1):G("dropFileSucceed",de,Me),we(ge)})};oe<U?ke():ie.push(ke)},ve=function(de,ge,we){return function(me){!me.isTruncated&&me.finished===me.total&&me.subDeleted&&le(de,ge,we,!1)}},pe=Df(T.Prefix);(function de(ge,we,me,ke,Ae){oe++,j.listObjects({Bucket:we,Prefix:me,Delimiter:"/",Marker:ke},function(Me,$e){if(oe--,Me)return X(Me);if($e.CommonMsg.Status>=300)return X(null,$e);if(ge.total+=$e.InterfaceResult.Contents.length,ge.total+=$e.InterfaceResult.CommonPrefixes.length,ge.total!==0){ge.isTruncated=$e.InterfaceResult.IsTruncated==="true";for(var Le=function(Ze){return function(){de({total:0,finished:0,isTruncated:!1,bucket:we,subDeleted:!0},we,Ze,null,ve(Ze,ge,Ae))}},ze=0;ze<$e.InterfaceResult.CommonPrefixes.length;ze++){var Ne=Df($e.InterfaceResult.CommonPrefixes[ze].Prefix);oe<U?de({total:0,finished:0,isTruncated:!1,bucket:we,subDeleted:!0},we,Ne,null,ve(Ne,ge,Ae)):ie.push(Le(Ne))}for(var Ve=0;Ve<$e.InterfaceResult.Contents.length;Ve++){var We=$e.InterfaceResult.Contents[Ve].Key;le(We,ge,Ae,We.lastIndexOf("/")===We.length-1)}ge.isTruncated&&(oe<U?de(ge,we,me,$e.InterfaceResult.NextMarker,Ae):ie.push(function(){de(ge,we,me,$e.InterfaceResult.NextMarker,Ae)}))}else Ae(ge)})})({total:0,finished:0,isTruncated:!1,bucket:T.Bucket,subDeleted:!0},T.Bucket,pe,null,function(de){if(!de.isTruncated&&de.finished===de.total)if(de.subDeleted)j.dropFile({Bucket:de.bucket,Key:pe},function(we,me){return we?(G("dropFileFailed",pe,we),X(we)):me.CommonMsg.Status>=300?(G("dropFileFailed",pe,me),X(null,me)):(G("dropFileSucceed",pe,me),X(null,me))});else{var ge="drop folder "+pe+" failed due to child file deletion failed";G("dropFileFailed",pe,new Error(ge)),X(ge)}})}}},qk=Bk,Td=5368709120,dc=function(y){var T=[];if(T.push(y.bucket),T.push(y.key),T.push(y.sourceFile.name),T.push(String(y.partSize)),T.push(String(y.partCount)),T.push(String(y.fileStat.fileSize)),T.push(String(y.fileStat.lastModified)),y.uploadId&&T.push(y.uploadId),y.sseC&&T.push(y.sseC),y.sseCKey&&T.push(y.sseCKey),y.parts)for(var R=0;R<y.parts.length;R++){var j=y.parts[R];j&&(T.push(String(j.partNumber)),T.push(String(j.offset)),T.push(String(j.partSize)),T.push(String(j.isCompleted)),j.etag&&T.push(String(j.etag)))}return window.btoa(Bn()(T.join(""),!1,!0))},kd=function(y,T,R){y&&y.uploadId&&R.abortMultipartUpload({Bucket:y.bucket,Key:y.key,RequestDate:y.requestDate,UploadId:y.uploadId},function(j,X){j?R.log.runLog("warn",T,"abort multipart upload failed, bucket:"+y.bucket+", key:"+y.key+", uploadId:"+y.uploadId+", err:"+j):X.CommonMsg.Status>=300?R.log.runLog("warn",T,"abort multipart upload failed, bucket:"+y.bucket+", key:"+y.key+", uploadId:"+y.uploadId+", status:"+X.CommonMsg.Status+", code:"+X.CommonMsg.Code+", message:"+X.CommonMsg.Message):(delete y.uploadId,R.log.runLog("warn",T,"abort multipart upload succeed, bucket:"+y.bucket+", key:"+y.key+", uploadId:"+y.uploadId))})},Bf=function(y){if(!(y.finishedCount<y.uploadCheckpoint.partCount)){if(y.isAbort)return kd(y.uploadCheckpoint,y.funcName,y.that),y.callback("uploadFile failed the upload task is aborted");if(y.isSuspend)return y.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint");if(y.hasError)return y.callback("uploadFile finished with error, you can retry with the uploadCheckpoint");for(var T=[],R=0;R<y.uploadCheckpoint.partCount;R++){var j=y.uploadCheckpoint.parts[R];T.push({PartNumber:j.partNumber,ETag:j.etag})}y.that.completeMultipartUpload({Bucket:y.uploadCheckpoint.bucket,Key:y.uploadCheckpoint.key,RequestDate:y.uploadCheckpoint.requestDate,UploadId:y.uploadCheckpoint.uploadId,Parts:T,CallbackUrl:y.callbackUrl,CallbackHost:y.callbackHost,CallbackBody:y.callbackBody,CallbackBodyType:y.callbackBodyType},function(X,G){var U={bucket:y.uploadCheckpoint.bucket,key:y.uploadCheckpoint.key,uploadId:y.uploadCheckpoint.uploadId};return X?(y.eventCallback("completeMultipartUploadFailed",U,X),y.callback(X)):G.CommonMsg.Status>=500?(y.eventCallback("completeMultipartUploadFailed",U,G),y.callback(null,G)):G.CommonMsg.Status>=300&&G.CommonMsg.Status<500?(y.eventCallback("completeMultipartUploadAborted",U,G),kd(y.uploadCheckpoint,y.funcName,y.that),y.callback(null,G)):(y.eventCallback("completeMultipartUploadSucceed",U,G),void y.callback(null,G))})}},qf=function(y){y.resumeCallback({cancel:function(){y.isSuspend=!0;for(var oe=0;oe<y.uploadPartParams.length;oe++){var ie=y.uploadPartParams[oe].cancelHook;le=ie,Object.prototype.toString.call(le)==="[object Function]"&&ie()}var le}},y.uploadCheckpoint);var T=[],R=function(){for(;y.runningTask<y.taskNum&&T.length>0;)T.shift()();T.length===0&&Bf(y)},j=window.btoa?window.btoa:_o.encode,X=function(oe){return function(){if(y.runningTask++,y.isSuspend||y.isAbort)return y.runningTask--,y.finishedCount++,y.finishedCount+=T.length,T=[],R();var ie,le,ve,pe,de=0,ge=function(ke){if(!de){de=1;var Ae,Me={Bucket:y.uploadCheckpoint.bucket,Key:y.uploadCheckpoint.key,RequestDate:y.uploadCheckpoint.requestDate,PartNumber:oe.partNumber,UploadId:y.uploadCheckpoint.uploadId,SourceFile:y.uploadCheckpoint.sourceFile,Offset:oe.offset,PartSize:oe.partSize,SseC:y.uploadCheckpoint.sseC,SseCKey:y.uploadCheckpoint.sseCKey,ProgressCallback:(Ae=oe.partNumber,function($e,Le,ze){y.progressCallback(Ae,$e)}),ContentMD5:ke};y.uploadPartParams.push(Me),y.that.uploadPart(Me,function($e,Le){if(y.runningTask--,y.finishedCount++,y.isSuspend)return R();var ze={partNumber:oe.partNumber,bucket:y.uploadCheckpoint.bucket,key:y.uploadCheckpoint.key,uploadId:y.uploadCheckpoint.uploadId};$e?(y.eventCallback("uploadPartFailed",ze,$e),y.hasError=!0):Le.CommonMsg.Status>=500||Le.CommonMsg.Status===400&&Le.CommonMsg.Code==="BadDigest"?(y.eventCallback("uploadPartFailed",ze,Le),y.hasError=!0):Le.CommonMsg.Status>=300&&Le.CommonMsg.Status<500?(y.isAbort=!0,y.hasError=!0,y.eventCallback("uploadPartAborted",ze,Le)):(oe.etag=Le.InterfaceResult.ETag,oe.isCompleted=!0,ze.etag=oe.etag,y.uploadCheckpoint.md5=dc(y.uploadCheckpoint),y.eventCallback("uploadPartSucceed",ze,Le),y.that.log.runLog("debug",y.funcName,"Part "+String(oe.partNumber)+" is finished, uploadId "+y.uploadCheckpoint.uploadId)),R()})}};if(y.verifyMd5&&window.FileReader&&(y.uploadCheckpoint.sourceFile instanceof window.File||y.uploadCheckpoint.sourceFile instanceof window.Blob)){var we=(ie=y.uploadCheckpoint.sourceFile,le=oe.offset,ve=oe.offset+oe.partSize,pe=pe||ie.type,ie.mozSlice?ie.mozSlice(le,ve,pe):ie.webkitSlice?ie.webkitSlice(le,ve,pe):ie.slice(le,ve,pe)),me=new window.FileReader;return me.onload=function(ke){var Ae=(function($e){$e=new Uint8Array($e);for(var Le,ze=0;ze<$e.length;){var Ne=ze+16384;Ne=Ne<=$e.length?Ne:$e.length,Le?Le+=String.fromCharCode.apply(null,$e.slice(ze,Ne)):Le=String.fromCharCode.apply(null,$e.slice(ze,Ne)),ze=Ne}return $e=null,Le})(ke.target.result),Me=j(Bn()(Ae,!1,!0));Ae=null,ge(Me)},me.onerror=function(ke){y.that.log.runLog("error",y.funcName,"Caculate md5 for part "+String(oe.partNumber)+" failed"),ge()},void me.readAsArrayBuffer(we)}ge()}};if(!y.isSuspend){for(var G=0;G<y.uploadCheckpoint.partCount;G++){var U=y.uploadCheckpoint.parts[G];U.isCompleted?(y.finishedCount++,y.finishedBytes+=U.partSize):T.push(X(U))}return T.length===0?Bf(y):R()}y.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint")},Fk={extend:function(y){y.prototype.uploadFile=function(T,R){var j=this;T=T||{};var X="uploadFile",G=(function(Ne,Ve,We){Ne=Ne||function(){};var Ze=new Date().getTime();return function(bt,wt){return Ve.runLog("info","uploadFile","ObsClient cost "+(new Date().getTime()-Ze)+" ms"),Object.prototype.toString.call(bt)==="[object String]"?Ne(new Error(bt),wt):Ne(bt,wt)}})(R,j.log),U=(function(Ne){return Ne=Ne||function(){},function(Ve,We,Ze){return Object.prototype.toString.call(Ze)==="[object Error]"?Ne(Ve,We,Ze):Object.prototype.toString.call(Ze)==="[object String]"?Ne(Ve,We,new Error(Ze)):Ze?Ze.CommonMsg.Status>300?Ne(Ve,We,new Error("status:"+Ze.CommonMsg.Status+", code:"+Ze.CommonMsg.Code+", message:"+Ze.CommonMsg.Message)):void Ne(Ve,We,Ze):void 0}})(T.EventCallback),oe=T.TaskNum||1,ie=T.ProgressCallback||function(){},le=T.ResumeCallback||function(){},ve=T.VerifyMd5||!1;j.log.runLog("info",X,"enter uploadFile...");var pe=null;if(T.UploadCheckpoint&&T.UploadCheckpoint.sourceFile&&T.UploadCheckpoint.fileStat&&T.UploadCheckpoint.uploadId&&T.UploadCheckpoint.md5===dc(T.UploadCheckpoint)?pe=T.UploadCheckpoint:kd(T.UploadCheckpoint,X,j),pe){var de=pe.sourceFile;if(!(de instanceof window.File||de instanceof window.Blob))return G("source file is not valid, must be an instanceof [File | Blob]");if(!de.mozSlice&&!de.webkitSlice&&!de.slice)return G("your browser cannot support the slice method for [File | Blob]")}else{var ge=T.SourceFile;if(!(ge instanceof window.File||ge instanceof window.Blob))return G("source file is not valid, must be an instanceof [File | Blob]");if(!ge.mozSlice&&!ge.webkitSlice&&!ge.slice)return G("your browser cannot support the slice method for [File | Blob]");j.log.runLog("debug",X,"Begin to uploadFile to OBS from file:"+ge.name);var we=ge.size,me=parseInt(T.PartSize,10),ke=0,Ae=[];if(we===0)me=0,ke=1,Ae.push({partNumber:1,offset:0,partSize:0,isCompleted:!1});else{if(me=isNaN(me)||me<102400?9437184:me>Td?Td:me,(ke=Math.floor(we/me))>=1e4&&(me=Math.floor(we/1e4),we%1e4!=0&&(me+=1),ke=Math.floor(we/me)),me>Td)return G("The source file "+ge.name+" is too large");var Me=we%me;Me!==0&&ke++;for(var $e=0;$e<ke;$e++)Ae.push({partNumber:$e+1,offset:$e*me,partSize:me,isCompleted:!1});Me!==0&&(Ae[ke-1].partSize=Me)}j.log.runLog("debug",X,"Total parts count "+ke),(pe={bucket:T.Bucket,key:T.Key,sourceFile:ge,partSize:me,partCount:ke,parts:Ae}).fileStat={fileSize:we,lastModified:ge.lastModified},T.SseC&&T.SseCKey&&(pe.sseC=T.SseC,pe.sseCKey=T.SseCKey),pe.md5=dc(pe)}pe.requestDate=T.RequestDate;var Le={start:new Date().getTime(),uploadCheckpoint:pe,funcName:X,taskNum:oe,callback:G,that:j,runningTask:0,finishedCount:0,hasError:!1,finishedBytes:0,isAbort:!1,resumeCallback:le,isSuspend:!1,partsLoaded:{},requestDate:T.RequestDate,uploadPartParams:[],verifyMd5:ve,callbackUrl:T.CallbackUrl,callbackHost:T.CallbackHost,callbackBody:T.CallbackBody,callbackBodyType:T.CallbackBodyType,eventCallback:function(Ne,Ve,We){Le.isSuspend||U(Ne,Ve,We)},progressCallback:function(Ne,Ve){Le.isSuspend||(Le.finishedBytes+=Ve,Le.partsLoaded[Ne]&&(Le.finishedBytes-=Le.partsLoaded[Ne]),Le.partsLoaded[Ne]=Ve,ie(Le.finishedBytes,Le.uploadCheckpoint.fileStat.fileSize,(new Date().getTime()-Le.start)/1e3))}};if(!pe.uploadId){var ze=T.ContentType;return!ze&&pe.key&&(ze=j.util.mimeTypes[pe.key.substring(pe.key.lastIndexOf(".")+1)]),!ze&&pe.sourceFile.name&&(ze=j.util.mimeTypes[pe.sourceFile.name.substring(pe.sourceFile.name.lastIndexOf(".")+1)]),void j.initiateMultipartUpload({Bucket:T.Bucket,Key:T.Key,RequestDate:T.RequestDate,ACL:T.ACL,Metadata:T.Metadata,WebsiteRedirectLocation:T.WebsiteRedirectLocation,StorageClass:T.StorageClass,ContentType:ze,Expires:T.Expires,SseKms:T.SseKms,SseKmsKey:T.SseKmsKey,SseC:T.SseC,SseCKey:T.SseCKey},function(Ne,Ve){var We={bucket:T.Bucket,key:T.Key};if(Ne)return Le.eventCallback("initiateMultipartUploadFailed",We,Ne),G(Ne);if(Ve.CommonMsg.Status>=300)return Le.eventCallback("initiateMultipartUploadFailed",We,Ve),G(null,Ve);var Ze=Ve.InterfaceResult.UploadId;pe.uploadId=Ze,pe.md5=dc(pe),Le.uploadCheckpoint=pe,We.uploadId=Ze,j.log.runLog("info",X,"Claim a new upload id "+Ze),Le.eventCallback("initiateMultipartUploadSucceed",We,Ve),qf(Le)})}qf(Le)}}},Rk=Fk;function Fe(y){this.factory(y)}function Ff(y){return y.slice(0,1).toUpperCase()+y.slice(1)}var Rf=["createBucket","listBuckets","getBucketMetadata","headBucket","deleteBucket","setBucketQuota","getBucketQuota","getBucketStorageInfo","setBucketPolicy","getBucketPolicy","deleteBucketPolicy","setBucketVersioningConfiguration","getBucketVersioningConfiguration","putBackToSource","deleteBackToSource","getBackToSource","getBucketLocation","listVersions","listObjects","setBucketLifecycleConfiguration","getBucketLifecycleConfiguration","deleteBucketLifecycleConfiguration","setBucketAcl","getBucketAcl","setBucketLoggingConfiguration","getBucketLoggingConfiguration","setBucketWebsiteConfiguration","getBucketWebsiteConfiguration","deleteBucketWebsiteConfiguration","setBucketNotification","getBucketNotification","setBucketTagging","getBucketTagging","deleteBucketTagging","getBucketCors","deleteBucketCors","setBucketStoragePolicy","getBucketStoragePolicy","getObject","getObjectMetadata","setObjectMetadata","setObjectAcl","getObjectAcl","deleteObject","deleteObjects","listMultipartUploads","listParts","abortMultipartUpload","completeMultipartUpload","getBucketInventory","setBucketInventory","deleteBucketInventory","getBucketEncryption","setBucketEncryption","deleteBucketEncryption","getBucketRequesterPay","setBucketRequesterPay","setMirrorBackToSource","getMirrorBackToSource","deleteMirrorBackToSource","getWorkflowTrigger","deleteWorkflowTrigger","createWorkflowTrigger","restoreFailedWorkflowExecution","createTemplate","createWorkflow","getWorkflowList","deleteWorkflow","getWorkflowTemplateList","getWorkflowInstanceList","deleteTemplate","updateWorkflow","getActionTemplates","getWorkflowAuthorization","openWorkflowAuthorization","getBucketDirectColdAccess","setBucketDirectColdAccess","deleteBucketDirectColdAccess","getBucketCustomDomain","setBucketCustomDomain","deleteBucketCustomDomain","setBucketCors","getBucketReplication","setBucketReplication","deleteBucketReplication","getCDNNotifyConfiguration","setCdnNotifyConfiguration","getQuota","getBucketDisPolicy","setBucketDisPolicy","deleteBucketDisPolicy","createOnlineDecom","getOnlineDecom","getWorkflowAgreements","openWorkflowAgreements","deleteOnlineDecom","getMyActionTemplates","createMyActionTemplate","getMyactiontemplateDetail","updateMyActionTemplate","deleteMyActionTemplate","forbidMyActionTemplate","updatePublicActionTemplate","getOmPublicActionTemplates","setSFSAcl","getSFSAcl","deleteSFSAcl","setBucketAlias","bindBucketAlias","unbindBucketAlias","deleteBucketAlias","listBucketsAlias","getBucketAlias"];function jk(y){return function(T,R){this.exec(Ff(y),T,R)}}for(var Cd=0;Cd<Rf.length;Cd++){var jf=Rf[Cd];Fe.prototype[jf]=jk(jf)}function Ad(y){return Object.prototype.toString.call(y)==="[object Function]"}function zk(y){return function(T,R){if(Ad(T))y.call(this,null,T);else{if(!Ad(R)){var j=this;return new Promise(function(X,G){y.call(j,T,function(U,oe){if(U)return G(U);X(oe)})})}y.call(this,T,R)}}}if(Fe.prototype.createTemplate=function(y,T){y.ApiPath="v2/workflowtemplates",this.exec("CreateTemplate",y,T)},Fe.prototype.createWorkflow=function(y,T){y.ApiPath="v2/workflows",this.exec("CreateWorkflow",y,T)},Fe.prototype.restoreFailedWorkflowExecution=function(y,T){y.ApiPath="v2/workflowexecutions",this.exec("RestoreFailedWorkflowExecution",y,T)},Fe.prototype.getWorkflowList=function(y,T){y.ApiPath="v2/workflows",this.exec("GetWorkflowList",y,T)},Fe.prototype.deleteWorkflow=function(y,T){y.ApiPath="v2/workflows",this.exec("DeleteWorkflow",y,T)},Fe.prototype.deleteTemplate=function(y,T){y.ApiPath="v2/workflowtemplates",this.exec("DeleteTemplate",y,T)},Fe.prototype.getWorkflowTemplateList=function(y,T){y.ApiPath="v2/workflowtemplates",this.exec("GetWorkflowTemplateList",y,T)},Fe.prototype.getWorkflowInstanceList=function(y,T){y.ApiPath="v2/workflowexecutions",this.exec("GetWorkflowInstanceList",y,T)},Fe.prototype.updateWorkflow=function(y,T){y.ApiPath="v2/workflows",this.exec("UpdateWorkflow",y,T)},Fe.prototype.getActionTemplates=function(y,T){y.ApiPath="v2/actiontemplates",this.exec("GetActionTemplates",y,T)},Fe.prototype.getWorkflowAuthorization=function(y,T){y.ApiPath="v2/workflow-authorization",this.exec("GetWorkflowAuthorization",y,T)},Fe.prototype.openWorkflowAuthorization=function(y,T){y.ApiPath="v2/workflow-authorization",this.exec("OpenWorkflowAuthorization",y,T)},Fe.prototype.getPublicationTemplates=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplates",y,T),this.util.pathStyle=!1},Fe.prototype.getPublicationTemplateDetail=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplateDetail",y,T),this.util.pathStyle=!1},Fe.prototype.getWorkflowAgreements=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/workflow-agreements",this.exec("GetWorkflowAgreements",y,T),this.util.pathStyle=!1},Fe.prototype.openWorkflowAgreements=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/workflow-agreements",this.exec("OpenWorkflowAgreements",y,T),this.util.pathStyle=!1},Fe.prototype.createMyActionTemplate=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("CreateMyActionTemplate",y,T),this.util.pathStyle=!1},Fe.prototype.getMyActionTemplates=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("GetMyActionTemplates",y,T),this.util.pathStyle=!1},Fe.prototype.getMyactiontemplateDetail=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("GetMyactiontemplateDetail",y,T),this.util.pathStyle=!1},Fe.prototype.updateMyActionTemplate=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("UpdateMyActionTemplate",y,T),this.util.pathStyle=!1},Fe.prototype.deleteMyActionTemplate=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("DeleteMyActionTemplate",y,T),this.util.pathStyle=!1},Fe.prototype.forbidMyActionTemplate=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/myactiontemplates",this.exec("ForbidMyActionTemplate",y,T),this.util.pathStyle=!1},Fe.prototype.updatePublicActionTemplate=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/ompublicactiontemplates",this.exec("UpdatePublicActionTemplate",y,T),this.util.pathStyle=!1},Fe.prototype.getOmPublicActionTemplates=function(y,T){this.util.pathStyle=!0,y.ApiPath="v2/ompublicactiontemplates",this.exec("GetOmPublicActionTemplates",y,T),this.util.pathStyle=!1},Fe.prototype.putObject=function(y,T){if("Body"in y&&"SourceFile"in y){var R="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.runLog("error","PutObject",R),T(new Error(R),null)}if(!("ContentType"in y)&&("Key"in y&&(y.ContentType=this.util.mimeTypes[y.Key.substring(y.Key.lastIndexOf(".")+1)]),!y.ContentType&&"SourceFile"in y)){var j=y.SourceFile.name;y.ContentType=this.util.mimeTypes[j.substring(j.lastIndexOf(".")+1)]}this.exec("PutObject",y,T)},Fe.prototype.appendObject=function(y,T){if("Body"in y&&"SourceFile"in y){var R="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.isLevelEnabled("error")&&this.log.runLog("error","PutObject",R),T(new Error(R),null)}"ContentType"in y||("Key"in y&&(y.ContentType=this.util.mimeTypes[y.Key.substring(y.Key.lastIndexOf(".")+1)]),!y.ContentType&&"SourceFile"in y&&(y.ContentType=this.util.mimeTypes[y.SourceFile.substring(y.SourceFile.lastIndexOf(".")+1)])),this.exec("AppendObject",y,T)},Fe.prototype.copyObject=function(y,T){var R="CopySource";if(R in y){var j=y[R],X=j.lastIndexOf("?versionId=");y[R]=X>0?this.util.encodeURIWithSafe(j.slice(0,X))+j.slice(X):this.util.encodeURIWithSafe(j)}this.exec("CopyObject",y,T)},Fe.prototype.copyPart=function(y,T){var R="CopySource";if(R in y){var j=y[R],X=j.lastIndexOf("?versionId=");y[R]=X>0?this.util.encodeURIWithSafe(j.slice(0,X))+j.slice(X):this.util.encodeURIWithSafe(j)}this.exec("CopyPart",y,T)},Fe.prototype.restoreObject=function(y,T){this.exec("RestoreObject",y,function(R,j){!R&&j.InterfaceResult&&j.CommonMsg.Status<300&&(j.InterfaceResult.RestoreStatus=j.CommonMsg.Status===200?"AVALIABLE":"INPROGRESS"),T(R,j)})},Fe.prototype.initiateMultipartUpload=function(y,T){"ContentType"in y||"Key"in y&&(y.ContentType=this.util.mimeTypes[y.Key.substring(y.Key.lastIndexOf(".")+1)]),this.exec("InitiateMultipartUpload",y,T)},Fe.prototype.uploadPart=function(y,T){if("Body"in y&&"SourceFile"in y){var R="the input body and sourcefile exist at same time, please specify one of eigther a string or file to be send!";return this.log.runLog("error","UploadPart",R),T(new Error(R),null)}this.exec("UploadPart",y,T)},qk.extend(Fe),Rk.extend(Fe),Ad(Promise)){for(var Sd in Fe.prototype)if({}.hasOwnProperty.call(Fe.prototype,Sd)){var Uk=Fe.prototype[Sd];Fe.prototype[Sd]=zk(Uk)}}for(var Ed in Fe.prototype.exec=function(y,T,R){var j=this.log;j.runLog("info",y,"enter "+y+"...");var X=new Date().getTime();T=T||{},R=R||function(){},this.util.exec(y,T,function G(U,oe){G.$called||(G.$called=!0,!U||U instanceof Error||(U=new Error(U)),j.runLog("debug",y,"ObsClient cost "+(new Date().getTime()-X)+" ms"),R(U,oe))})},Fe.prototype.initLog=function(y){y=y||{},this.log.setLevel(y.level);var T=["[OBS SDK Version="+this.util.obsSdkVersion];if(this.util.server){var R=this.util.port?":"+this.util.port:"";T.push("Endpoint="+(this.util.is_secure?"https":"http")+"://"+this.util.server+R)}T.push("Access Mode="+(this.util.path_style?"Path":"Virtual Hosting")+"]"),this.log.runLog("warn","init",T.join("];["))},Fe.prototype.factory=function(y){this.log=new Nk,this.util=new Ik(this.log),y=y||{},this.util.initFactory(y.access_key_id,y.secret_access_key,y.is_secure,y.server,y.path_style,y.signature,y.region,y.port,y.timeout,y.security_token,y.is_signature_negotiation,y.is_cname,y.url_prefix,y.region_domains,y.setRequestHeaderHook,y.useRawXhr)},Fe.prototype.refresh=function(y,T,R){this.util.refresh(y,T,R)},Fe.prototype.createSignedUrlSync=function(y){return this.util.createSignedUrlSync(y)},Fe.prototype.createV2SignedUrlSync=function(y){return this.util.createV2SignedUrlSync(y)},Fe.prototype.createV4SignedUrlSync=function(y){return this.util.createV4SignedUrlSync(y)},Fe.prototype.createPostSignatureSync=function(y){return this.util.createPostSignatureSync(y)},Fe.prototype.createV4PostSignatureSync=function(y){return this.util.createV4PostSignatureSync(y)},Fe.prototype.enums=Dk,Fe.prototype)({}).hasOwnProperty.call(Fe.prototype,Ed)&&(Fe.prototype[Ff(Ed)]=Fe.prototype[Ed]);for(var Ks in Fe.prototype)if({}.hasOwnProperty.call(Fe.prototype,Ks)){var $d=Ks.indexOf("Configuration");$d>0&&$d+13===Ks.length&&(Fe.prototype[Ks.slice(0,$d)]=Fe.prototype[Ks])}var Vk=Fe})(),m.default})()}).call(this,r(5),r(4).Buffer)},function(n,o,r){var i="";i=r(6);var a={document:"doc,docx,xls,xlsx,ppt,pptx,pdf,txt,epub,pps,psd,xmind,dwg",image:"png,jpg,gif,jpeg,bmp",video:"mp4,avi,wmv,rm,rmvb,mpeg,mpg,mkv,mov,flv",audio:"mp3,wav,wma",zip:"zip,rar,7z",flash:"swf",srt:"srt",favico:"ico"},l=["document","image","video","audio","zip","flash","srt"];function s(d,u,m){if(d.indexOf(u)>-1){var h=new RegExp("("+u+"=)([^&]*)","gi");d=d.replace(h,u+"="+m)}else{var p=u+"="+m,v=d.indexOf("?");v<0?d+="?":v>=0&&v!=d.length-1&&(d+="&"),d+=p}return d}function c(d){d=d||{},this.multiple=!!d.multiple,this.maxSize=d.maxSize||512,this.fileTypes=d.fileTypes&&d.fileTypes.length>0?d.fileTypes:l,this.exts=d.exts||"",this.accetp="",this.mode=d.mode||"huawei",this.files=[],this.$trigger="",this.uptokenHost=d.uptokenHost||"https://courseapi.tongshike.cn",this.obsHost=d.obsHost||"",this.m3u8=d.m3u8,this.authorization=d.authorization,this.obsSign=d.obsSign,this.config=d.config||{},this.putExtra=d.putExtra||{},this.config.uphost||(this.config.uphost=""),this.obsHost&&this.obsHost.charAt(this.obsHost.length-1)=="/"&&(this.obsHost=this.obsHost.substring(0,this.obsHost.length-1))}c.prototype.initUpBtn=function(d){this.$trigger=d;var u=this,m=[];if(this.fileTypes.length>0)for(var h=0;h<this.fileTypes.length;h++){var p=this.fileTypes[h];m.push(a[p])}for(m=m.join(","),this.exts&&(m=this.exts),m=m.split(","),h=0;h<m.length;h++)m[h]="."+m[h];this.accetp=m.join(","),this.$el=document.createElement("input"),this.$el.style.display="none",this.$el.type="file",this.multiple&&this.$el.setAttribute("multiple",!0),this.$el.accept=this.accetp,document.body.appendChild(this.$el),this.$el.onchange=function(){this.files.length>0&&(u.handleFileChange(this.files),u.$el.value="")},this.$trigger.onclick=function(){u.$el.click()}},c.prototype.handleFileChange=function(d){this.uploadFiles(d)},c.prototype.uploadFiles=function(d){for(var u=0;u<d.length;u++){var m=d[u];if(m.ext=m.name.substring(m.name.lastIndexOf(".")).toLowerCase(),m.key="resources/web/"+Date.now()+Math.round(1e4*Math.random())+m.ext,m.percent=0,this.accetp.indexOf(m.ext)===-1)return this.error(m,{code:50001,msg:"不支持该类型文件"});if(1024*this.maxSize*1024<m.size)return this.error(m,{code:50002,msg:"文件不能超过"+this.maxSize+"mb"});this.onBeforeUpload&&this.onBeforeUpload(m),this.startUpload(m)}},c.prototype.startUpload=function(d){var u=this;switch(u.files.push(d),this.mode){case"qiniu":u.getToken(d,function(m){u.qiniuUploadByToken(d,m)});break;case"huawei":d.ext=d.ext||d.name.substring(d.name.lastIndexOf(".")),d.key=d.key||"resources/web/"+Date.now()+Math.round(1e4*Math.random())+d.ext,u.getObsClient(d.key,function(){u.putObject(d)})}},c.prototype.qiniuUploadByToken=function(d,u){var m=this;d.obsHost=m.obsHost,d.size>4194304&&(m.config.chunkSize=5);var h="".upload(d,d.key,u,m.putExtra,m.config);d.subscription=h.subscribe({next:function(p){m.onProgress&&m.onProgress(d,p.total.percent),d.onProgress&&d.onProgress(p.total.percent)},error:function(p){m.error(d,{code:50071,msg:"上传失败",err:p})},complete:function(p){d.duration=p.duration,d.key=p.key,m.success(d)}})},c.prototype.putObject=function(d){var u=this;this.obsClient.putObject({Bucket:u.obsClientConfig.bucket,Key:d.key,Metadata:{property:"property-value"},SourceFile:d,ProgressCallback:function(m,h,p){var v=Math.floor(100*m/h);v=v>99?99:v,d.percent=v,u.onProgress&&u.onProgress(d,v),d.onProgress&&d.onProgress(v)}}).then(function(m){if(console.log(m),m.CommonMsg.Status<300){d.obsHost=u.obsHost,d.ext.toLowerCase().includes("wma")&&(d.originKey=d.key,d.key=d.key.substring(0,d.key.lastIndexOf("."))+".mp3",u.hwAudioTranscoding(d)),d.ext.toLowerCase().includes("mp3")&&u.hwMp3Transcoding(d),d.ext.substring(1).toLowerCase();var h=u.getFileType(d.key);h=="video"?(u.m3u8&&(d.m3u8Key="resources/web/"+Date.now()+Math.round(1e4*Math.random())+".m3u8"),u.hwVideoTranscoding(d)):h=="audio"?u.getHuaweiMetadata(d.originKey||d.key,function(p){d.duration=p.duration,u.success(d)}):u.success(d)}}).catch(function(m){u.error(d,{code:50081,msg:"上传失败",err:m})})},c.prototype.download=function(d,u){var m=d.substring(d.lastIndexOf("/")+1);if(d.indexOf("?")>-1){var h=d.substring(0,d.lastIndexOf("?"));m=h.substring(h.lastIndexOf("/")+1)}u=u||m,this.mode=="qiniu"?this.qiniuDownload(d,u):this.huaweiDownload(d,u)},c.prototype.getDownloadUrl=function(d,u,m){var h=d.substring(d.lastIndexOf("/")+1);if(d.indexOf("?")>-1){var p=d.substring(0,d.lastIndexOf("?"));h=p.substring(p.lastIndexOf("/")+1)}u=u||h,this.mode=="qiniu"?m(s(d,"attname",u)):this.getHuaweiDownloadUrl(d,u,m)},c.prototype.getHuaweiDownloadUrl=function(d,u,m){var h=this,p=d.replace(/^(http|https):\/\/[^/]+\//,"");this.getDownloadObsClient(p,function(){h.getFileType(p)=="video"&&(p=p.substring(0,p.lastIndexOf("."))+".mp4",u=u.substring(0,u.lastIndexOf("."))+".mp4");var v=h.obsClient.createSignedUrlSync({Method:"GET",Bucket:h.obsClientConfig.bucket,Key:p,QueryParams:{"response-content-disposition":"attachment;fileName="+encodeURIComponent(u)},Expires:3600});m(v.SignedUrl)})},c.prototype.qiniuDownload=function(d,u){var m=s(d,"attname",u);window.open(m)},c.prototype.huaweiDownload=function(d,u){this.getHuaweiDownloadUrl(d,u,function(m){var h=document.createElement("a");h.style.display="none",h.href=m,document.body.appendChild(h),h.click()})},c.prototype.cancelUpload=function(d){switch(this.mode){case"qiniu":d.subscription.unsubscribe()}},c.prototype.error=function(d,u){this.onError&&this.onError(d,u),d&&d.onError&&d.onError(u)},c.prototype.success=function(d){d.isSuccessCalled||(d.percent=100,this.onProgress&&this.onProgress(d,100),d.onProgress&&d.onProgress(100),this.onSuccess&&this.onSuccess(d),d.onSuccess&&d.onSuccess(d),d.isSuccessCalled=!0)},c.prototype.getToken=function(d,u){var m=this;d.name&&d.name!=""||(d.name=String(new Date().getTime()+d.ext));var h=this.uptokenHost+"/files/getUptoken?fileName="+encodeURIComponent(d.name),p=new XMLHttpRequest;p.open("get",h),p.setRequestHeader("AUTHORIZATION",this.authorization),p.onreadystatechange=function(){if(p.readyState===4)if(p.status===200){var v=JSON.parse(p.responseText).uptoken;u&&u(v)}else m.error(d,{code:50070,msg:"上传失败"})},p.send(),console.log(p)},c.prototype.getObsClient=function(d,u){var m=this,h=this.uptokenHost+"/obs/uploadToken",p=new XMLHttpRequest;this.obsSign&&(h=this.uptokenHost+"/obs/uploadToken/sign"),p.open("get",h+"?path="+d,!0),this.obsSign?p.setRequestHeader("obsSign",this.obsSign):p.setRequestHeader("authorization",this.authorization),p.onreadystatechange=function(){m.getObsConfigCb(p,u)},p.send()},c.prototype.getDownloadObsClient=function(d,u){var m=this,h=this.uptokenHost+"/obs/downloadToken",p=new XMLHttpRequest;p.open("get",h+"?path="+d,!0),p.onreadystatechange=function(){m.getObsConfigCb(p,u)},p.send()},c.prototype.getObsConfigCb=function(d,u){if(d.readyState===4)if(d.status===200){var m=JSON.parse(d.responseText);m.code==1?(this.obsClientConfig=m.result,this.obsClient=new i({access_key_id:m.result.ak,secret_access_key:m.result.sk,security_token:m.result.securitytoken,server:m.result.endpoint,timeout:1800}),this.obsHost=this.obsClientConfig.domain,u&&u()):this.error("",{code:50080,msg:"上传失败"})}else this.error("",{code:50080,msg:"上传失败"})},c.prototype.getObjectData=function(d,u,m){var h=this;this.getDownloadObsClient(d,function(){h.obsClient.getObject({Bucket:h.obsClientConfig.bucket,Key:d},function(p,v){p?(console.error("Error-->"+p),m&&m(p)):v.CommonMsg.Status==200&&v.InterfaceResult&&u&&u(v.InterfaceResult)})})},c.prototype.dataURLtoBlob=function(d){for(var u=d.split(","),m=u[0].match(/:(.*?);/)[1],h=atob(u[1]),p=h.length,v=new Uint8Array(p);p--;)v[p]=h.charCodeAt(p);return new Blob([v],{type:m})},c.prototype.hwVideoTranscoding=function(d){var u=this,m=d.key.substring(d.key.indexOf("resources/")),h=m.substring(m.lastIndexOf("/")+1);h=h.substring(0,h.lastIndexOf("."));var p=this.uptokenHost+"/obs/transcoding/video/multi?path="+m,v=[{outputFileName:h,outputFormat:"mp4"}];if(this.m3u8){var f=d.m3u8Key.substring(d.m3u8Key.lastIndexOf("/")+1);f=f.substring(0,f.lastIndexOf(".")),v.push({outputFileName:f,outputFormat:"m3u8"})}var b=new XMLHttpRequest;b.onreadystatechange=function(){if(b.readyState===4){var x=JSON.parse(b.responseText);x.code==1?u.getVideoMetadata(d,function(){u.success(d)},function(){var w=setInterval(function(){console.log(Date.now()),u.getMediaLength(d.key,function(E){d.duration=E,u.success(d),clearInterval(w)})},3e3)}):x.code==2?(d.m3u8Key="",u.success(d)):x.code==0?u.error(d,{code:50082,msg:"文件编码格式无法解析,请尝试转码成mp4后再上传。"}):u.error(d,{code:50081,msg:"上传失败"})}},b.open("POST",p,!0),b.setRequestHeader("Content-Type","application/json"),b.send(JSON.stringify(v))},c.prototype.hwAudioTranscoding=function(d){if(d.ext.toLowerCase().includes("wma")){var u=d.key.substring(0,d.key.lastIndexOf("."))+d.ext,m=u.substring(u.lastIndexOf("/")+1);m=m.substring(0,m.lastIndexOf("."));var h=this.uptokenHost+"/obs/transcoding/audio?path="+u+"&outputFileName="+m,p=new XMLHttpRequest;p.onreadystatechange=function(){if(p.readyState===4){var v=JSON.parse(p.responseText);console.log(v)}},p.open("POST",h,!0),p.setRequestHeader("Content-Type","application/json"),p.send()}},c.prototype.hwMp3Transcoding=function(d){var u=this.uptokenHost+"/obs/transcoding/mp3?path="+d.key,m=new XMLHttpRequest;m.onreadystatechange=function(){if(m.readyState===4){var h=JSON.parse(m.responseText);console.log(h)}},m.open("POST",u,!0),m.setRequestHeader("authorization",this.authorization),m.setRequestHeader("Content-Type","application/json"),m.send()},c.prototype.getFileType=function(d){var u=d.substring(d.lastIndexOf(".")+1).toLowerCase();for(var m in a)if(a[m].includes(u))return m;return""},c.prototype.getVideoMetadata=function(d,u,m){var h=document.createElement("video");h.src=URL.createObjectURL(d),h.addEventListener("loadedmetadata",function(){console.log(h),h.duration!=1/0?(d.duration=h.duration,u&&u()):m&&m()}),h.addEventListener("error",function(p){console.log(p),m&&m()})},c.prototype.getHuaweiMetadata=function(d,u){var m=this.uptokenHost+"/obs/video/info?path="+d,h=new XMLHttpRequest;h.open("GET",m,!0),h.onreadystatechange=function(){if(h.readyState===4){var p=JSON.parse(h.responseText);p.code==1&&u&&u(p.result)}},h.send()},c.prototype.getMediaLength=function(d,u){var m=this.uptokenHost+"/obs/video/length?path="+d,h=new XMLHttpRequest;h.onreadystatechange=function(){if(h.readyState===4){var p=JSON.parse(h.responseText);p.code==1&&u&&u(p.result)}},h.open("GET",m,!0),h.send()},n.exports=c}])})})(Ap)),Ap.exports}var Win=Gin();const Pk=Wm(Win),Yin=Ce.defineComponent({name:"FileList",components:{Preview:Kin,TinyBaseSelect:cs,TinyOption:Hi,TinyDialogBox:Qr,TinyButton:Pt},props:{list:{type:Array,default:()=>[]},mode:{type:String,default:"edit"},type:{type:String,default:"block"},isPreview:{type:Boolean,default:!0},isShowLimitTimes:{type:Boolean,default:!0},canPreview:{type:Boolean,default:!0},editorble:{type:Boolean,default:!1},showDownLoad:{type:Boolean,default:!0},isQuestionBank:{type:Boolean,default:!1},hideFullScreen:{type:Boolean,default:!1},customFullSreen:{type:Boolean,default:!0},audioMode:{type:String,default:"bar"},isMobile:{type:Boolean,default:!1},audioTime:{type:Number,default:0},actionIndex:{type:Number,default:0}},setup(t,{emit:e}){const n=sc(),o=Ce.ref(!1),r=Ce.reactive({item:{},index:0});return{...Ce.reactive({obs:{},currentFile:{},playerTimes:[-1,1,2,3,4,5]}),t:n,fileIcon:Cin,getFileSvg:xin,formatSize:kin,cancelUpload:(h,p)=>{h.cancel&&h.cancel(),e("deleteFile",h,p)},deleteFile:(h,p)=>{r.item=h,r.index=p,o.value=!0},download:h=>{new Pk(t.uploadOptions).download(h)},showPreview:h=>{},isFileCanPreview:h=>{const p=ta(h.fileUrl);return["audio","video","image","document"].includes(p)},isAudio:h=>ta(h.fileUrl)==="audio",boxVisibility:o,curDeleteFile:r,deleteConfirm:()=>{e("deleteFile",r.item,r.index),o.value=!1}}}});var Xin=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"files-component"},[e.list&&e.list.length>0&&e.type==="block"?n("ul",{staticClass:"file-list-block"},e._l(e.list,function(o,r){return n("li",{key:r+o.fileUrl+o.fileKey},[!e.isPreview||o.status===1||o.status===3?[n("div",{staticClass:"icon-wrapper"},[n("img",{staticClass:"svg-img",attrs:{src:e.getFileSvg(o.fileUrl),alt:""}})]),n("div",{staticClass:"detail"},[n("div",{staticClass:"name"},[e._v(e._s(o.fileName))]),n("div",{staticClass:"info"},[n("span",{staticClass:"size"},[e._v(e._s(e.formatSize(o.fileSize)))]),e.mode==="edit"&&o.progress>=0&&o.progress<100&&o.status!==3?n("div",{staticClass:"progress-wrapper"},[n("div",{staticClass:"progress-bar"},[n("div",{staticClass:"bar",style:{width:o.progress+"%"}})]),n("span",{staticClass:"progress-value"},[e._v(e._s(o.progress)+"%")]),n("span",{staticClass:"cancel",on:{click:function(i){return e.cancelUpload(o,r)}}},[e._v(e._s(e.t("cancel")))])]):n("div",{staticClass:"operations"},[o.status===3?n("span",{staticClass:"upload-fail"},[e._v(e._s(o.errMessage))]):e._e(),e.mode==="edit"?n("a",{staticClass:"ul-link",attrs:{href:"javascript:;"},on:{click:function(i){return i.stopPropagation(),e.deleteFile(o,r)}}},[e._v(" "+e._s(e.t("delete"))+" ")]):e._e()])])])]:e.isPreview&&o.status!==3?n("div",{staticClass:"preview-container"},[n("div",{staticClass:"preview-content",class:{"audio-preview":e.isAudio(o)}},[n("Preview",{attrs:{resource:o,times:e.isShowLimitTimes?o.lisCount:0,"is-question-bank":e.isQuestionBank,showDownLoad:e.showDownLoad,customFullSreen:e.customFullSreen,audioMode:e.audioMode,isMobile:e.isMobile,audioTime:e.audioTime}}),e.mode==="edit"?n("div",{staticClass:"operations"},[n("a",{staticClass:"ul-link",attrs:{href:"javascript:;"},on:{click:function(i){return i.stopPropagation(),e.deleteFile(o,r)}}},[e._v(" "+e._s(e.t("delete"))+" ")])]):e._e()],1)]):e._e()],2)}),0):e._e(),e.list&&e.list.length>0&&e.type==="inline"?n("div",[n("ul",{staticClass:"file-list-inline"},e._l(e.list,function(o,r){return n("li",{key:r},[n("img",{staticClass:"svg-img",attrs:{src:e.getFileSvg(o.fileUrl),alt:""}}),n("span",{staticClass:"name"},[e._v(e._s(o.fileName))]),n("span",{staticClass:"size"},[e._v(e._s(e.formatSize(o.fileSize)))]),e.mode==="edit"&&o.progress>=0&&o.progress<100?n("div",{staticClass:"progress-wrapper"},[n("div",{staticClass:"progress-bar"},[n("div",{staticClass:"bar",style:{width:o.progress+"%"}})]),n("span",{staticClass:"progress-value"},[e._v(e._s(o.progress)+"%")]),n("span",{staticClass:"cancel",on:{click:function(i){return e.cancelUpload(o,r)}}},[e._v(e._s(e.t("cancel")))])]):e._e(),e.canPreview&&e.isFileCanPreview(o)&&o.status!==3?n("a",{staticClass:"ul-link",attrs:{href:"javascript:;"},on:{click:function(i){return e.showPreview(o)}}},[e._v(" "+e._s(e.t("view"))+" ")]):e._e(),o.status===3?n("span",{staticClass:"upload-fail"},[e._v(e._s(o.errMessage))]):e._e(),e.mode==="edit"?n("a",{staticClass:"ul-link",attrs:{href:"javascript:;"},on:{click:function(i){return e.deleteFile(o,r)}}},[e._v(" "+e._s(e.t("delete"))+" ")]):n("a",{staticClass:"ul-link",attrs:{href:"javascript:;"},on:{click:function(i){return e.download(o.fileUrl)}}},[e._v(" "+e._s(e.t("download"))+" ")])])}),0)]):e._e(),n("TinyDialogBox",{attrs:{title:e.t("messageTip"),width:"40%","append-to-body":!0},scopedSlots:e._u([{key:"footer",fn:function(){return[n("TinyButton",{on:{click:function(o){e.boxVisibility=!1}}},[e._v(e._s(e.t("cancel")))]),n("TinyButton",{attrs:{type:"primary"},on:{click:e.deleteConfirm}},[e._v(e._s(e.t("confirm")))])]},proxy:!0}]),model:{value:e.boxVisibility,callback:function(o){e.boxVisibility=o},expression:"boxVisibility"}},[n("span",[e._v(e._s(e.t("confirmDelete")))])])],1)},Zin=[],Jin=Nn(Yin,Xin,Zin,!1,null,"8204fcc8");const lc=Jin.exports,ean={obsHost:Sk,uptokenHost:Kae,authorization:eo.get("token")||eo.get("authorization")};class tan{constructor({id:e=0,fileName:n="",fileSize:o="",fileType:r="",fileUrl:i="",srt:a="",avatar:l="",lisCount:s=-1,progress:c=0,status:d=0,markedImage:u="",angle:m=0,location:h,title:p,contentSize:v,type:f}){this.id=e||Du(),this.fileName=n||p,this.fileSize=o||v,this.fileType=r||f,this.fileUrl=i||h,this.srt=a,this.avatar=l||"",this.lisCount=s,this.progress=c,this.status=d,this.markedImage=u,this.angle=m}handleOldAttach(e){let n={contentSize:e.contentSize||e.fileSize,title:e.title||e.fileName,location:e.location||e.fileUrl,duration:e.duration||0},o="";return n.location&&n.location.length>0&&(o=n.location.substring(n.location.lastIndexOf(".")+1).toLowerCase()),n.mimeType=e.mimeType||o,n.type=e.type||ta(n.location),{...e,...n}}}const nan=Ce.defineComponent({name:"RichTextarea",components:{TinyFluentEditor:fs,FileList:lc,TinyDialogBox:Qr,TinyButton:Pt},model:{prop:"value",event:"change"},props:{value:String,list:{type:Array,default(){return[]}},maxNum:{type:Number,default:1},isShowLimitTimes:{type:Boolean,default:!0},actionIndex:{type:Number,default:0},placeholderText:{type:String,default:""},isQuestionBank:{type:Boolean,default:!1},type:{type:Number,default:0}},emits:["change","addFile","deleteFile"],setup(t,{emit:e}){const n=Ce.ref(null),o=Ce.ref(t.value||""),r=Ce.ref(null),i=Ce.ref(Du()),a=Ce.ref(!1),l=Ce.computed(()=>"formula/index.html");Ce.onMounted(()=>{const v=r.value.state.quill.getModule("toolbar");n.value=new Pk({...ean});const f=document.getElementById(`upload-${i.value}`);n.value.initUpBtn(f),n.value.onBeforeUpload=b=>{let x=new tan({fileName:b.name,fileSize:b.size,fileUrl:b.name,status:1,lisCount:-1}),w=ta(x.fileUrl);b.onProgress=E=>{x.progress=fm(E,2,"floor")},b.onSuccess=()=>{x.fileUrl=b.obsHost+"/"+b.key,x.status=2,w=="image"&&c(`<img src="${x.fileUrl}" devui-editorx-image="true" data-image-id=${x.key} />`)},b.onError=E=>{x.errMessage=Ain(E.code),x.status=3},x.cancel=()=>{n.value.cancelUpload(b)},x.key=Du(),w!="image"&&e("addFile",x,t.actionIndex)},v.addHandler("image1",function(b){n.value.$el.accept=kp(["image"]),f.click()}),v.addHandler("video1",function(b){n.value.$el.accept=kp(["video"]),f.click()}),v.addHandler("audio",function(b){n.value.$el.accept=kp(["audio"]),f.click()}),v.addHandler("math",function(b){a.value=!0})}),Ce.onUnmounted(()=>{var p;(p=n.value)!=null&&p.$el&&n.value.$el.parentNode&&n.value.$el.parentNode.removeChild(n.value.$el)});const s=()=>{var b;const f=`\\(${((b=document.querySelector(".math-dialog iframe").contentWindow.document.getElementById("formulaTextarea"))==null?void 0:b.value)||""}\\)`;c(f),a.value=!1},c=p=>{if(!r.value)return;const v=r.value.state.quill,f=v.getSelection(),b=f?f.index:0;v.clipboard.dangerouslyPasteHTML(b,p);const x=new DOMParser().parseFromString(p,"text/html").body.textContent.length;v.setSelection(b+x)};Ce.watch(o,(p,v)=>{if(t.type==3){const f=/\s*\(\s*\)\s*/g;p=p.replace(f,"( )")}e("change",p)});const d=Ce.ref({placeholder:t.placeholderText,modules:{toolbar:[[{font:["yahei","songti","kaiti","heiti","lishu","mono","arial","arialblack","comic","impact","times"]},{size:["12px","13px","14px","15px","16px","17px","18px","19px","20px","22px","24px","26px","29px","32px","36px","40px","48px","72px"]},{lineheight:["1","1.2","1.5","2","2.5","3","4","5"]}],["bold","italic","underline","strike",{color:[]},{background:[]},{list:"ordered"},{list:"bullet"},{align:[]},{script:"sub"},{script:"super"},"image1","audio","video1","math","better-table"]]}});return{content:o,initSrtUploder:(p,v)=>{const f=document.getElementById(p);f&&(console.log("字幕上传按钮已找到",f),f.onclick=()=>{console.warn("字幕上传功能暂时不可用")})},deleteFile:(p,v)=>{e("deleteFile",v,t.actionIndex)},options:d,fluentEditorRef:r,insertContent:c,beforeEditorInit:p=>{const v='<svg t="1734490908682" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5918" width="200" height="200"><path d="M1084.416 32c52.288 0 95.296 40.064 99.84 91.136l0.448 9.152v764.288c0 52.288-40.064 95.232-91.136 99.84l-9.152 0.448H132.288a100.288 100.288 0 0 1-99.84-91.2L32 896.64V132.288c0-52.288 40.064-95.296 91.136-99.84L132.288 32h952.128z m-221.568 474.24l-223.808 167.872 87.936 62.336a41.216 41.216 0 0 1 12.992 51.584l-3.392 5.76a41.216 41.216 0 0 1-51.584 12.928l-5.76-3.392-275.2-196.096-290.112 201.856v87.488c0 8.768 5.952 16 14.08 17.92l4.288 0.448h952.128c8.832 0 16-5.952 17.92-14.08l0.448-4.288 3.136-176.448-2.688-1.472a35.2 35.2 0 0 1-4.672-2.944L862.848 506.24z m221.568-392.32H132.288a18.176 18.176 0 0 0-17.92 14.08l-0.448 4.288v579.712l266.368-188.608a40.32 40.32 0 0 1 41.792-3.392l5.376 3.392 141.888 100.928 271.104-203.392a41.28 41.28 0 0 1 46.784-1.792l4.992 3.84 210.56 187.008V132.288a18.176 18.176 0 0 0-14.08-17.92l-4.288-0.448z m-703.296 51.2a144 144 0 1 1-0.128 288.128 144 144 0 0 1 0.128-288.128z m0 69.12c-41.472 0-74.88 33.408-74.88 74.88 0 41.472 33.408 74.88 74.88 74.88 41.472 0 74.88-33.408 74.88-74.88 0-41.472-33.408-74.88-74.88-74.88z" fill-rule="nonzero"></path></svg>',f='<svg t="1734490908682" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5918" width="200" height="200"><path d="M992 705.6c-4.992 26.88-14.528 50.88-28.8 72.064-12.032 18.368-30.08 35.008-54.272 49.856-24.128 14.784-56.768 22.208-97.92 22.208-27.008 0-52.48-1.728-76.672-5.248a233.728 233.728 0 0 1-63.872-18.048 128.96 128.96 0 0 1-45.248-33.408 90.688 90.688 0 0 1-20.8-50.304 137.6 137.6 0 0 1 8.512-62.08c7.808-21.504 19.52-41.152 35.2-58.816a188.8 188.8 0 0 1 56.96-43.456 159.36 159.36 0 0 1 72.96-16.96c44.672 0 83.712 7.808 117.12 23.36V141.696L411.648 211.648l4.288 590.4v26.496c0 21.184-4.288 41.856-12.8 62.016a170.56 170.56 0 0 1-35.648 53.504 169.088 169.088 0 0 1-55.36 37.12 182.144 182.144 0 0 1-71.872 13.76c-28.416 0-54.656-2.624-78.784-7.936a234.688 234.688 0 0 1-63.872-23.296 139.072 139.072 0 0 1-44.8-38.144 104.64 104.64 0 0 1-20.16-52.48c-2.176-19.84 0.64-39.04 8.512-57.792 7.808-18.752 19.712-35.52 35.648-50.368 16-14.848 35.2-27.392 57.472-37.632 22.4-10.24 46.72-16.768 72.96-19.584a216.96 216.96 0 0 1 58.56-0.512c19.2 2.432 37.248 6.528 54.272 12.16V127.872L992 31.424v674.176z"></path></svg>',b='<svg t="1734491308472" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3380" width="200" height="200"><path d="M752.384 479.168a40.96 40.96 0 0 1 0 70.464l-205.696 122.88a41.28 41.28 0 0 1-62.08-35.2v-245.76a41.28 41.28 0 0 1 62.08-35.2l205.696 122.88z m-185.536-15.104v100.736l84.736-50.368-84.736-50.368z m534.848 450.88V113.92H114.304v801.024h987.392z m0 81.92H114.304c-45.44 0-82.304-36.672-82.304-81.92V113.92C32 68.672 68.864 32 114.304 32h987.392c45.44 0 82.304 36.672 82.304 81.92v801.024c0 45.248-36.864 81.92-82.304 81.92zM196.544 72.96c0-22.592 18.432-40.96 41.152-40.96 22.72 0 41.152 18.368 41.152 40.96v841.984c0 22.592-18.432 40.96-41.152 40.96a41.024 41.024 0 0 1-41.152-40.96V72.96z m41.152 277.632c22.72 0 41.152 18.304 41.152 40.96 0 22.592-18.432 40.96-41.152 40.96H73.152a41.024 41.024 0 0 1-41.152-40.96c0-22.656 18.432-40.96 41.152-40.96h164.544z m0 245.76c22.72 0 41.152 18.304 41.152 40.96 0 22.592-18.432 40.96-41.152 40.96H73.152a41.024 41.024 0 0 1-41.152-40.96c0-22.656 18.432-40.96 41.152-40.96h164.544zM937.152 72.96c0-22.592 18.432-40.96 41.152-40.96 22.72 0 41.152 18.368 41.152 40.96v841.984c0 22.592-18.432 40.96-41.152 40.96a41.024 41.024 0 0 1-41.152-40.96V72.96z m41.152 359.552a41.024 41.024 0 0 1-41.152-40.96c0-22.656 18.432-40.96 41.152-40.96h164.544c22.72 0 41.152 18.304 41.152 40.96 0 22.592-18.432 40.96-41.152 40.96h-164.544z m0 245.76a41.024 41.024 0 0 1-41.152-40.96c0-22.656 18.432-40.96 41.152-40.96h164.544c22.72 0 41.152 18.304 41.152 40.96 0 22.592-18.432 40.96-41.152 40.96h-164.544z"></path></svg>',x='<svg viewBox="0 0 1280 1024" width="24" height="24"><path d="M1106.944 340.416h-448V414.72l242.688 222.976-242.688 223.04v74.304h448v-111.488h-261.312l186.624-185.856-186.624-185.792h261.312z"></path><path d="M546.88 127.68L546.752 128 1330.944 128v76.48H529.728L359.04 972.48H267.648c-23.232-61.376-47.168-120.96-71.808-178.688A6116.032 6116.032 0 0 0 119.68 622.72l-96.832 30.272L0 581.504l176.256-56.32 36.992 79.616a2801.92 2801.92 0 0 1 99.008 241.024l145.408-718.08h89.216z"></path></svg>',w=p.import("ui/icons");w.image1=v,w.audio=f,w.video1=b,w.math=x;const E=p.import("parchment"),S=new E.StyleAttributor("image1","color",{scope:E.Scope.INLINE}),$=new E.StyleAttributor("video1","color",{scope:E.Scope.INLINE}),q=new E.StyleAttributor("audio","color",{scope:E.Scope.INLINE}),B=new E.StyleAttributor("math","color",{scope:E.Scope.INLINE});p.register("formats/image1",S),p.register("formats/video1",$),p.register("formats/audio",q),p.register("formats/math",B)},containerId:i,boxVisibility:a,mathConfirm:s,iframeUrl:l}}});var oan=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"ritchtextarea-container",attrs:{id:e.containerId}},[n("TinyFluentEditor",{ref:"fluentEditorRef",attrs:{"data-type":!1,"data-upgrade":!1,options:e.options,"before-editor-init":e.beforeEditorInit},model:{value:e.content,callback:function(o){e.content=o},expression:"content"}}),n("FileList",{ref:"fileList",attrs:{mode:"edit",type:"block",isPreview:!0,list:e.list,isShowLimitTimes:e.isShowLimitTimes,"is-question-bank":e.isQuestionBank},on:{deleteFile:e.deleteFile}}),n("button",{staticStyle:{display:"none"},attrs:{id:`upload-${e.containerId}`}}),n("TinyDialogBox",{attrs:{"dialog-class":"math-dialog",title:"消息",width:"60%","append-to-body":!0,"destroy-on-close":""},scopedSlots:e._u([{key:"footer",fn:function(){return[n("TinyButton",{on:{click:function(o){e.boxVisibility=!1}}},[e._v("取 消")]),n("TinyButton",{attrs:{type:"primary"},on:{click:e.mathConfirm}},[e._v("确 定")])]},proxy:!0}]),model:{value:e.boxVisibility,callback:function(o){e.boxVisibility=o},expression:"boxVisibility"}},[n("iframe",{attrs:{src:e.iframeUrl,frameborder:"0"}})])],1)},ran=[],ian=Nn(nan,oan,ran,!1,null,null);const _k=ian.exports;function Tb(t=document.body){try{if(!window.MathJax)return;window.MathJax.typesetPromise&&window.MathJax.typesetPromise([t]).catch(()=>{})}catch(e){console.log(e,"error")}}function aan(){try{window.MathJax||(window.MathJax={tex:{packages:{"[+]":["ams"]},inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]]},mathml:{displayAlign:"center"},svg:{fontCache:"global",scale:1,displayAlign:"center"},options:{ignoreHtmlClass:"script|noscript|style|textarea|pre|code|a",enableMenu:!1},startup:{typeset:!1}}),Zae("3rdlib/mathjax-3.2.2/tex-mml-svg.js")}catch(t){console.log(t)}}const san=Ce.defineComponent({name:"Base",components:{RichTextarea:_k,FileList:lc,TinyButton:Pt},props:{question:{type:Object,required:!0,default:()=>{}},mode:{type:Number,default:0},isQuestionBank:{type:Boolean,default:!1},isSubmitted:{type:Boolean,default:!1}},emits:["blankAnswerChange"],setup(t,{emit:e}){const n=sc(),o=Ce.ref(null),r=Ce.ref([]),i=Ce.computed(()=>{if(t.question.type!==3||!t.question.title)return[{type:"text",content:t.question.title||""}];const h=/\( \)/g,p=[];let v=0,f,b=t.question.title.replace(/^<p>|<\/p>$/g,"");for(;(f=h.exec(b))!==null;)f.index>v&&p.push({type:"text",content:b.slice(v,f.index)}),p.push({type:"blank",content:f[0]}),v=h.lastIndex;return v<b.length&&p.push({type:"text",content:b.slice(v)}),p}),a=Ce.computed(()=>i.value.filter(h=>h.type==="blank").length);t.question.record||(t.question.record={}),t.mode!=1&&Ce.nextTick(()=>{Tb()}),Ce.watch(i,()=>{const h=i.value.filter(p=>p.type==="blank").length;if(h>r.value.length)for(let p=r.value.length;p<h;p++)r.value.push("");else h<r.value.length&&(r.value=r.value.slice(0,h));t.mode==3&&(r.value=t.question.record.answer)},{immediate:!0,deep:!0}),Ce.watch(()=>t.mode,h=>{var p,v;try{if(t.question.type==3)if(h==3&&((p=t.question.record)==null?void 0:p.answer.length)>0){const f=(v=t.question.record)==null?void 0:v.answer;Array.isArray(f)?r.value=[...f]:r.value=f.split(";")}else h==2&&(r.value=[]);h!=1&&Ce.nextTick(()=>{Tb()})}catch(f){console.error("Failed to parse record answer:",f)}});const l=h=>i.value.slice(0,h).filter(p=>p.type==="blank").length,s=h=>{Ce.nextTick(()=>{Jae(h.target,h.target.value)})},c=h=>{t.question.link.push(h)},d=h=>{t.question.link.splice(h,1)},u=()=>{o.value&&o.value.insertContent("( )")};return Ce.watch(r,(h,p)=>{e("blankAnswerChange",h),t.question.record&&(t.question.record.answer=h)},{deep:!0}),{t:n,insert:u,richTextareaRef:o,titleParts:i,blankCount:a,userAnswers:r,editWidth:s,checkAnswerCorrect:h=>{var b,x;const p=i.value.slice(0,h).filter(w=>w.type==="blank").length,v=(b=r.value[p])==null?void 0:b.trim();if(!v)return!1;let f=t.question.correctAnswer||[];if(t.question.allowExchange){const w=new Set;return f.forEach(E=>{E!=null&&E.trim().includes("//")?E.split("//").map($=>$.trim()).forEach($=>w.add($)):E!=null&&E.trim()&&w.add(E.trim())}),w.has(v)}else{const w=(x=f[p])==null?void 0:x.trim();return w&&w.includes("//")?w.split("//").map(S=>S.trim()).includes(v):w===v}},blankIndex:l,addTitleFile:c,deleteTitleFile:d}}});var lan=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"base-container"},[e.mode==2||e.mode==3?[e.question.type==3?n("div",{staticClass:"completion-preview"},[e.mode==2?n("div",{staticClass:"ql-editor preview-title"},[e._l(e.titleParts,function(o,r){return[o.type==="text"?n("span",{domProps:{innerHTML:e._s(o.content)}}):n("div",[n("span",{staticClass:"blank-index"},[e._v("["+e._s(e.blankIndex(r)+1)+"]")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.userAnswers[e.blankIndex(r)],expression:"userAnswers[blankIndex(index)]"}],staticClass:"completion-input",class:{"answer-correct":e.mode===3&&e.isSubmitted&&e.checkAnswerCorrect(r),"answer-error":e.mode===3&&e.isSubmitted&&!e.checkAnswerCorrect(r)},staticStyle:{margin:"0 2px"},attrs:{type:"text",disabled:!0},domProps:{value:e.userAnswers[e.blankIndex(r)]},on:{input:[function(i){i.target.composing||e.$set(e.userAnswers,e.blankIndex(r),i.target.value)},e.editWidth]}})])]})],2):e._e(),e.mode==3?n("div",{staticClass:"ql-editor preview-title"},[e._l(e.titleParts,function(o,r){return[o.type==="text"?n("span",{domProps:{innerHTML:e._s(o.content)}}):n("div",[n("span",{staticClass:"blank-index"},[e._v("["+e._s(e.blankIndex(r)+1)+"]")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.userAnswers[e.blankIndex(r)],expression:"userAnswers[blankIndex(index)]"}],staticClass:"completion-input",class:{"answer-correct":e.mode===3&&e.isSubmitted&&e.checkAnswerCorrect(r),"answer-error":e.mode===3&&e.isSubmitted&&!e.checkAnswerCorrect(r)},staticStyle:{margin:"0 2px"},attrs:{type:"text",disabled:e.mode==3&&e.isSubmitted},domProps:{value:e.userAnswers[e.blankIndex(r)]},on:{input:[function(i){i.target.composing||e.$set(e.userAnswers,e.blankIndex(r),i.target.value)},e.editWidth]}})])]})],2):e._e(),e.question.allowExchange?n("div",{staticClass:"can-exchange"},[e._v("*"+e._s(e.t("answerCanChangeTip")))]):e._e()]):n("div",{staticClass:"ql-editor preview-title",domProps:{innerHTML:e._s(e.question.title||"")}}),n("FileList",{attrs:{mode:"view",type:"block",isPreview:!0,list:e.question.link},on:{deleteFile:function(o){}}})]:n("RichTextarea",{ref:"richTextareaRef",attrs:{placeholderText:e.t("inputQuestionTitle"),list:e.question.link,maxNum:5,"is-question-bank":e.isQuestionBank,type:e.question.type},on:{addFile:e.addTitleFile,deleteFile:e.deleteTitleFile},model:{value:e.question.title,callback:function(o){e.$set(e.question,"title",o)},expression:"question.title"}}),e.question.type==3&&e.mode==1?n("TinyButton",{staticClass:"insert-blank",on:{click:e.insert}},[e._v(" "+e._s(e.t("insertQue"))+" ")]):e._e(),e._t("default")],2)},can=[],uan=Nn(san,lan,can,!1,null,"5ac4a1be");const Ef=uan.exports;class io{constructor({id:e,questionId:n="",type:o=0,title:r="",score:i=1,correctAnswer:a=[],reply:l="",record:s={},lisCount:c=-1,link:d=[],analyLinkList:u=[],answerlink:m="",correctChoiceIds:h=[],tags:p=[],hardlevel:v=3,knowledgeDTOS:f=[]}){this.id=e||n,this.questionid=this.id,this.type=o,this.title=r,this.score=i,this.correctAnswer=a,this.reply=l,this.record=new dan(s),this.lisCount=c,this.link=d||[],this.analyLinkList=u||[],this.answerlink=m,this.correctChoiceIds=h,this.tags=p||[],this.hardlevel=v,this.knowledgeDTOS=f||[]}scoring(){console.error("子类自行实现接口")}getOption(e){return String.fromCharCode(65+e)}getAnswer(){const e=this.record.answer;return e&&e.length>0?e[0]:""}getCorrectAnswer(){}}class dan{constructor({id:e="",answer:n=[],attachments:o=[],grade:r,reply:i="",remark1:a=""}){this.id=e,this.answer=n,this.attachments=o,this.score=r,this.reply=i||a}}let Sp=class{constructor({id:e="",questionID:n="",choiceId:o=0,text:r="",attachments:i=[],record:a={}}){this.id=e||n,this.choiceId=o,this.text=r,this.attachments=i,this.record=a}};class pan extends io{constructor(e){super(e),this.choices=[];for(let n=0;e.item&&n<e.item.length;n++){let o=e.item[n];this.choices.push(new Sp({id:Math.random(),choiceId:o.choiceId||0,text:o.title,attachments:o.link?[{fileUrl:o.link}]:[]}))}if(this.choices.length===0)for(let n=1;n<=4;n++)this.choices.push(new Sp({id:Math.random(),text:""}))}scoring(){}createChoice(){this.choices.push(new Sp({id:Math.random()}))}deleteChoice(e,n){this.choices.splice(n,1)}getAnswer(){return Array.isArray(this.record.answer)?this.record.answer.join(""):this.record.answer}getCorrectAnswer(){return Array.isArray(this.correctAnswer)?this.correctAnswer.join(""):this.correctAnswer}handleAnswer(e,n){if(!e||this.getAnswer().length===0)return"";const o=this.getOption(n),r=this.correctAnswer&&this.correctAnswer.includes(o);return this.record.answer&&this.record.answer.includes(o)?r?"correct":"error":r&&this.type===2?"no-select error":""}}let kb=class{constructor({id:e="",correctAnswer:n=""}){this.id=e,this.correctAnswer=n}},han=class extends io{constructor(e){super(e),this.allowExchange=e.allowExchange||e.blankOrder||e.blackOrder||0,this.blanks=[];let n=0;this.title.replace(/[((](\s| )+[))]|_{5,}/gi,()=>{this.createBlank(),this.blanks[n].correctAnswer=this.correctAnswer[n],this.blanks[n].blankIndex=n+1,n++}),this.oldNums=this.blanks.length}createBlank(){this.blanks.push(new kb({id:Math.random(),correctAnswer:""})),this.correctAnswer.length<this.blanks.length&&this.correctAnswer.push("")}deleteBlank(e,n=1){this.blanks.splice(e,n),this.correctAnswer.splice(e,n)}createBlankByIndex(e,n){let o=new kb({id:Math.random(),correctAnswer:""});o.blankIndex=n,this.blanks.splice(e,0,o),this.correctAnswer.splice(e,0,"")}};class man extends io{constructor(e){super(e)}scoring(){}getAnswerResult(e){return e&&e.length>0&&e[0]?e[0].toLowerCase()==="true"||e[0]===!0:""}handleAnswer(e,n){const o=this.getAnswerResult(this.record.answer)===n;if(!e)return o?"select":"";const r=this.getAnswerResult(this.correctAnswer)===n;return o?r?"correct":"error":""}}class fan extends io{constructor(e){super(e),this.answerLinkList=e.answerLinkList||[],this.answerLinkList.length==0&&this.answerlink&&this.answerLinkList.push({fileUrl:this.answerlink})}scoring(){}getAnswer(){return(this.record.answer.join("")||"").trim()}getCorrectAnswer(){return Array.isArray(this.correctAnswer)?this.correctAnswer[0]:this.correctAnswer}}class gan extends io{constructor(e){super(e),this.subQuestions=[];for(let n=0;e.subQuestions&&n<e.subQuestions.length;n++){let o=e.subQuestions[n];o.type=1,o=$f(o),o.qIndex=n+1,this.subQuestions.push(o)}this.oldNums=this.subQuestions.length}scoring(){}createSubQuestion(){this.subQuestions.push(Wl(1))}deleteSubQuestion(e,n){this.subQuestions.splice(e,n||1)}createSubQuestionByIndex(e,n){let o=Wl(1);o.qIndex=n,o.isNew=1,this.subQuestions.splice(e,0,o)}getAnswerText(e){if(e.correctAnswer.length===0)return"";let n=e.correctAnswer[0].charCodeAt(0)-65;return e.choices[n].text}}let Ep=class{constructor({id:e="",text:n="",option:o="",attachments:r=[]}){this.id=e,this.text=n,this.option=o,this.attachments=r}};class van extends io{constructor(e){super(e),this.choices=[],this.subQuestions=[];for(let n=0;e.item&&n<e.item.length;n++){let o=e.item[n];this.choices.push(new Ep({id:Math.random(),text:o.title}))}if(this.choices.length===0)for(let n=1;n<=4;n++)this.choices.push(new Ep({id:Math.random(),text:""}));for(let n=0;e.subQuestions&&n<e.subQuestions.length;n++){let o=e.subQuestions[n];o=$f(o),o.qIndex=n+1,this.subQuestions.push(o)}this.oldNums=this.subQuestions.length}scoring(){}createChoice(){this.choices.push(new Ep({id:Math.random()}))}deleteChoice(e,n){this.choices.splice(n,1)}createSubQuestion(){this.subQuestions.push(Wl(1))}deleteSubQuestion(e,n){this.subQuestions.splice(e,n||1)}createSubQuestionByIndex(e,n){let o=Wl(1);o.qIndex=n,o.isNew=1,this.subQuestions.splice(e,0,o)}getAnswerText(e){if(e.correctAnswer.length===0||!e.correctAnswer[0])return"";let n=e.correctAnswer[0].charCodeAt(0)-65;return this.choices[n].text}getAnswer(){return Array.isArray(this.record.answer)?this.record.answer.join(""):this.record.answer}getCorrectAnswer(){return Array.isArray(this.correctAnswer)?this.correctAnswer.join(""):this.correctAnswer}handleAnswer(e,n){if(!e)return"";const o=this.getOption(n),r=this.correctAnswer&&this.correctAnswer.includes(o);return this.record.answer&&this.record.answer.includes(o)?r?"correct":"error":""}}class yan extends io{constructor(e){super(e),this.subQuestions=[];for(let n=0;e.subQuestions&&n<e.subQuestions.length;n++){let o=e.subQuestions[n];this.subQuestions.push($f(o))}}scoring(){}createSubQuestion(e){let n=Wl(e);n.isEdit=!0,n.isNew=1,this.subQuestions.push(n)}deleteSubQuestion(e){this.subQuestions.splice(e,1)}}let $p=class{constructor({id:e="",text:n="",option:o=""}){this.id=e,this.text=n,this.option=o}};class ban extends io{constructor(e){super(e),this.choices=[];for(let n=0;e.item&&n<e.item.length;n++){let o=e.item[n];this.choices.push(new $p({id:Math.random(),text:o.title}))}if(this.choices.length===0)for(let n=1;n<=4;n++)this.choices.push(new $p({id:Math.random(),text:""}))}scoring(){this.record.score=0}createChoice(){this.choices.push(new $p({id:Math.random()}))}deleteChoice(e,n){this.choices.splice(n,1)}getAnswer(){const e=Array.isArray(this.record.answer)?this.record.answer:[this.record.answer];return e.filter(o=>o&&o.length>0).length>0?e.join("-"):""}getCorrectAnswer(){return Array.isArray(this.correctAnswer)?this.correctAnswer.join("-"):this.correctAnswer}handleAnswer(e,n){return e&&this.record.answer&&this.record.answer[n]?this.correctAnswer[n]===this.record.answer[n]?"correct":"error":""}}class wan extends io{constructor(e){super(e)}scoring(){}getAnswer(){return this.record.answer.join("")||""}}class xan extends io{constructor(e){super(e)}scoring(){}}class Cb{constructor({name:e="",precision:n,max:o,min:r}){this.name=e,this.precision=n||1,this.max=o,this.min=r}}class Pp{constructor({formula:e="",answerRange:n=0,precision:o=1}){this.formula=e,this.answerRange=n,this.precision=o}}class Tan extends io{constructor(e){super(e),this.variables=[],this.blanks=[],this.scope={},this.desc1=e.desc1;try{for(let o=0;e.formulaVar&&o<e.formulaVar.length;o++){let r=e.formulaVar[o];this.variables.push(new Cb(r)),r.value!==void 0&&(this.scope[r.name]=r.value)}}catch(o){console.log(o)}let n=0;this.title.replace(/[((](\s| )+[))]|_{5,}/gi,()=>{let o={};const r=this.correctAnswer[n];r&&(o=typeof r=="string"&&r.length>0?JSON.parse(r):r);let i=new Pp(o);i.blankIndex=n+1,this.blanks.push(i),n++}),this.oldNums=this.blanks.length}createVariable(e){this.variables.push(new Cb({name:e}))}deleteVariable(e){for(let n=0;n<this.variables.length;n++)if(this.variables[n].name===e){this.variables.splice(n,1);return}}createBlank(){this.blanks.push(new Pp({}))}deleteBlank(e,n){this.blanks.splice(e,n||1)}createBlankByIndex(e,n){let o=new Pp({});o.blankIndex=n,this.blanks.splice(e,0,o)}initVariables(e){let n={};for(let o=0;o<this.variables.length;o++){let r=this.variables[o],i=r.min*1+Math.random()*(r.max-r.min);i=new Number(i);let a=0;r.precision!=1&&(a=(Math.round(.1/r.precision)+"").length),i=i.toFixed(a);let l=new RegExp("\\>"+r.name+"\\*\\<","g");e=e.replace(l,">"+i+"<"),n[r.name]=i}return this.scope=n,e}initDomVariables(e){for(let n in this.scope){let o=new RegExp("\\>"+n+"\\*\\<","g");e=e.replace(o,">"+this.scope[n]+"<")}return e}checkAnswer(e){let n=[];for(let i=0;i<this.blanks.length;i++)n.push({text:this.record.answer[i]||""});let o={scope:this.scope,answerResult:[]},r=0;for(let i=0;Object.values(this.scope).length>0&&i<n.length;i++)if(n[i].text&&n[i].text.trim().length>0){let a=this.blanks[i],l=a.formula,s=e.format(e.evaluate(l,this.scope),{precision:14})*1,c=n[i].text*1,d=0;a.precision!=1&&(d=(Math.round(.1/a.precision)+"").length),s=s.toFixed(d)*1,c=c.toFixed(d)*1,c>=s-a.answerRange*1&&c<=s+a.answerRange*1?(o.answerResult[i]=!0,r++):o.answerResult[i]=!1}else o.answerResult[i]=!1;this.record.extraAnswer=o,this.record.grade=this.score*(r/this.blanks.length),this.checkResult=o.answerResult}}function cc(t){let e=null;switch(t.type){case 1:case 2:e=new pan(t);break;case 3:e=new han(t);break;case 4:e=new man(t);break;case 5:e=new fan(t);break;case 12:e=new ban(t);break;case 11:case 23:e=new gan(t);break;case 17:e=new van(t);break;case 16:e=new wan(t);break;case 19:e=new xan(t);break;case 24:e=new yan(t);break;case 25:e=new Tan(t);break;default:e=new io(t)}return e}function Wl(t){let e=cc({id:Math.random(),type:t});return e.key=Math.random(),e}function $f(t){if(t.id=t.id||t.questionid,t.allowExchange=t.allowExchange||t.blankOrder||t.blackOrder||0,t.correctAnswerAndReplay){let{correctAnswer:e,correctReplay:n,correctChoiceIds:o}=t.correctAnswerAndReplay;t.correctAnswer=e||t.correctAnswer,t.reply=n||t.reply,t.correctChoiceIds=o||[]}else t.correctAnswer=t.correctAnswer||t.correctanswer,t.reply=t.reply||t.correctreply;return t.correctAnswer=t.correctAnswer||t.correctanswer,t.reply=t.reply||t.correctreply,t.subQuestions=t.questionlist||t.subQuestions,t.subQuestions&&t.subQuestions.length>0&&(t.score=0,t.subQuestions.forEach((e,n)=>{e.score=e.score===0||e.score>0?Number(fm(e.score,2)):1,t.score+=e.score})),t.score=t.score===0||t.score>0?Number(fm(t.score,2)):1,t.type==25&&!t.formulaVar&&t.desc1&&(t.formulaVar=JSON.parse(t.desc1)),cc(t)}const Mk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQAElEQVR4AeydWawsVRWGj/MMzgIKgoCKODGqiIhMivOEPvigbxqJcYgGjJpANBEhEeODxieNMSYoogKigKCgqAiCE06IIqA4oSLiBA7/1zfFOefe7hp3rdpV9Zu1uqq7au+117/XV6vv9ZzLndf8PytgBVYqYEBWSuMLVmBtzYC4CqxAiQIGpEQcX7ICBsQ1YAVKFOgRkJKovmQFRqKAARnJRnmZwyjQFpCjtNzj5KfJfya/WX6+/L3yV8m3l9usQKQC1NyrFfAD8ovkt8h/JP+o/M3yI+WNrSkg91CEk+Xnyk+Sv0K+p3w7+RHy4+WfkF8gP1puswIRClBr1NzHFOyN8kPk95XvJX+N/P3y8+TULjWs03rWBJDDNOWF8rfJq2w/3XCO/N1ymxXoUwFqjFqj5qriULvUMLVcde/iel1A3qS7IfQgHZvYO3Xzp+RpzbNZgS0KUFvU2JZ39V6pYWr5tXVurwPI/proVHlbO0YDSUQHmxVIpgA1RW21nfB9GriDvNTqAHJK6Qz1LpIICdW723dZgXIFqCVqqvyu8qv8ob6y+1QBcoJiHCpPYSREYinm8hzzVYAaopZSKHCsJuFvZHVYblWA7L18WOtPSYwEW0/ggbNWgNqhhlKKsE/ZZFWA8OePsvFtrpEgibYZ2/sYB8hWAWqG2km9wH3LJiwDZEcN3FXeh5EoCfcxt+ecngLUCjXTR2atOwiA9LGgYk4SJvHivY9WYJkC1Ai1suxais9K67ysg3xf0W+T92kkjgB9xvDc41WA2qBG+szgirLJywC5XQO/Le/bEAAh+o7j+celADVBbfS96ivLApQBwrjv8RLgCIEgAaEGC+HA9RWgFqiJ+iPa39kJEH5al07SPnz9kQiCMPVH+M4pKkANUAsRuf1YQc6Wr7SqDnKxRr5LHmUIg0BR8RwnLwXYe2ogalX8RPpNZcGqAGEsk5zFSZAjEEIFhXOYTBRgz9n7qOUQ7+NVweoAwhz8nsdVnAQ5QpFAUDiHGVgB9po9j1oGtXxinWB1AeE3s/jlKCauM2+KexAM4VLMNfE5Rp0ee8xeRyVBDVPL1HRlzLqAMBETMjEBeB/hCIeAEbEcI14B9pY9jor8QwUiHrWs02prAgizMbEhQQl7VwWGgIPa5W+uaq+9KSBMbEhQwd5FgWg4fqDF0jkawaExrf/pUUOCevY2CkTDwY9M0Tl+0maxbTpIEceQFEpM+Zg2t1HBQepdAGG8IUEFex0FouHgx6ToHD+ts7hV93QFhHkNCSrYyxQYJRwklAIQ5jEkqGBfpkA0HN/VIvgDOf/ip067WSpAWIUhQQX7RgWGgIOvVVdvXESX85SAsA5Dggp2FKiEg5sSOj+2TudIBgdrSw0IcxoSVJi3DwEHnePnqWXvAxDWaEhQYZ4eDQe/MkvnSA4H29cXIMxtSFBhXh4Nx3ckL53jGh17sT4BYcGGBBXm4ZODg23rGxBiGBJUmLZHw3G55ORr1S90XGbJPosAhMUaElSYpg8BB1+rfhkhZxQg5GJIUGFaHg3HZZKPzhECh2K1/mlexrZxQ9JGtTzHDAEHnePaSDkiO0iRlyEplBjvMRoO/gFDOkcoHGzPEIAQ15Cgwjg9Go5LJROd41c6htu2gMQtwZDEaZ0q0qzgQLQhASG+IUGFcXg0HN+SLHSO63QczIYGhMQNCSrk7bOEgy3JARDWYUhQIU+PhuObkoE/kF+v4+CWCyAIYUhQIS8fAg6+Vt2QiwyhgNRI2pDUECnolmg4vqG86BzZwKH1hP8fhcSsckNSpVD/14eAg87x6/5TaxYhtw5SrN6QFErEH6PhuEQp0jmyg0PryrKDsC7ckKBCrEfD8XWlR+f4jY5ZWq4dpBDLkBRK9H80HEs0zh0QllwHEu5L6bR8CiblnDnPRa7kHLXGrykQ8W7UMWsbAyAIaEhQoR8fAg6+Vv22n3TSzjoWQMjakKBCWo+Gg//mJZ1jFHAg9ZgAYb2GBBXS+BBw0Dl+l2b5MbOMDRBUMSSo0M2j4bhIy6VzjAoOrTnrv+Zlfas8EJI7lsAGU1h3fDDSE3Igl6jlAwed4/dRAVPGGWMHKfI3JIUS9Y/RcHxVSwPGUcKhtY+2g7B23JCgQj2PhuMrWhad4w86jtbG3EEK0Q1JocTqo+FYrU3plSkAQoKGBBWWezQcF2oZfK36o46jt6kAwkaMDxJW3a8PAQdfq27qN6242acECKoZElTY4tFwXKCwdI7JwKF8Rv+HdHLY2g3J2toQcNA5/rT1Zoz9/dQ6SLEfc4YkGo4vS/Rj5JODQzlNsoOQFz5HSKLhOF9C0zn+rOMkbaodpNisOUGyCY5CgB6Pk4cD7aYOCDnOAZJoOM6TsHyt+ouOk7Y5AMIGThmSIeDga9XNCDt1nwsg7OMUIYmG41wJSeeYBRzKddJ/SCe/rX1KkAwBB53jr1uLOuX3c+ogxT5OAZJoOL4k8egcwKHT+dgcAWF3xwzJEHDQOW5BuLn5XAFhn8cISTQcX5RQdI5ZwqHcZ/dnEHLe6GOCJBqOcyQUneNvOs7W5txBik0fAySGo9it4KMB2SJ4zpBEw/EFScLXqlt1DLb8whmQ9T3JEZIh4OBr1d/XZZn3mQHZvP85QRINx9mSgs5hOCREYQakUGL9mAMkQ8BB5/jHugw+QwEDggrb+pCQRMNxltKncxgOCbG1GZCtFVl/PxQkFOv6Kvo9Aw46xz/7DZPB7C2XYEDKhRsCkvIVpbt6pqYCRsMhIVaZAVmlzPrnU4Tk80oPOP6lo61EAQNSIs6GS1OCBDj4WvXvDfn5dIUCBmSFMEs+ngIkn1NedA7DISHqmAGpo9L6PWOGBDjoHLetp+OzKgXqAFI1x9yujxGSz2qT6ByGQ0I0MQPSRK31e8cECXDQOW5fX77P6ipgQOoqte19Y4DkDC2bzmE4JEQbMyBtVFsfkzMkwEHn+M/6cn3WVAED0lSxbe/PEZLPaJl0DsMhIbrYwIB0WXpWY3OC5HQpAxz/1dHWUQED0lHADcNzgAQ4+Fr1vw3r8mkHBQxIB/GWDB0Skk9rPXQOwyEhUpkBSaWk55mkAgYk7bY+TtPx+xx76xhtdA9iR8eddLzpAhK/bXsp5GnyIeBQ2IUZkoUM6V4MSBotgYOn9+PTTNdpFkPSSb7Ngw3IZj3avHusBtE5coBDS1mYIVnI0P3FgHTT8DEaDhxP0DE3MyQJdsSAtBcROPha9cT2U/Q+0pB0lNiAtBBQQx4tp3PkDIeWuDBDspCh3YsBaa4bcNA5ntR86GAjDElL6Q1IM+H21O10jjHBoSUvzJAsZGj2YkDq6wUcdI4n1x+S3Z2GpOGWGJB6gu2h2+gcY4ZDKSzMkCxkqPdiQKp12l23AMc+OvZtUfMbkppKG5ByoYCDr1X7lt82yquGpMa2GZDVIj1Kl+gckXBcpZi4DiFmSCpkNiDLBQIOOsd+yy/38ilg8MtOOOe9BFkyqSFZIkrxkQEplFg/7qZTOscQcPALV7gh0SbkYAZk8y4AB51j/80f9/qObgEQgFEE4pzPuFZ81vFYOdydZIlEBmRdlF11SucYGg4tY2GGZCHDsC8GZIv+wEHnOGDL25BXugNdAhBWBeQa93DvqntSf+5OskFRA7K29kjpQefIDQ4ta2GGZCHDMC9zB2QXyQ4cB+oYZXQDugKFXzcm9zKGsXXHdL3PnUQKzhkQ4OBr1VOkQ5RR4BQ6Bd80JmMYyxxNx7a9vx4kbWcfwbi5ArKz9obOMRY4tNyFGZKFDHEvcwQEOOgcT42TeY2nPk9/CrxrWOZgLubsOlfd8bPtJHMD5BGqCDrHWOHQ8hdmSBYy9P8yJ0CAg87xtP5lvSMCT3me9hT0HR8mOmFO5iZGoikrp5ldJ5kLIA/X1tM5pgKH0lnY5CFZZDngyxwAAQ46x0GBOvNU5+lOAfcdlhjEImbfsYr5Z9NJpg7ITtpROsdU4VB6CzMkCxnSv0wZkB0lF3A8Xcco4ynO05yCjYpZxCEmsVlD8Vnfx8l3kqkCAhx8rTq47wrZMD+FSYFSqBs+Dj0lNmtgLVGBJw3JFAHZQZVB55gbHEp7YYZkIUPlS60bpgYIcNA5nlEr+zQ38bTmqU1hppmx+yyshTWxtu6z1Zthkp1kSoA8TPtI55g7HJJhYYZkIUO3l6kAAhx0jkO6ydFoNE9nntIUYqOBgTezNtbIWqPCTqqTTAGQh2rn6RyGQ0IsMUOyRJS6H40dkIcoUTrHM3WMMp7GPJUpvKiYXeOwVtbM2rvOVXf8JDpJO0DqStTvfYajmb6GpJlei7vHCsiDtXq+Vh2qY5Tx9OUpTKFFxUwdh7WTA7mknnvVfKPuJGMEBDj4WvWsVTvSw+cUFIVFgfUwfeiU5EAu5BQVeLSQjA2QB2lH6RyGQ0J0MENSU7wxAQIcdI7DauaW4jaesjxtKagU8+U0BzmRGzlGrWt0nSQ7QFbs1AP1OZ3DcEiIhGZIKsQcAyDAQec4vCKXlJd5qvJ0pYBSzpvjXORIruQctb7RdJLcAXmAdozOYTgkRI9mSFaImzMg99ea6RxH6BhlPEV5mlIwUTFziUPO5I4GUWvKvpPkCojhiCrRzXEMyWY91nIEZHutka9VR+qY0srm4qnJ05MCKbtvDtfQAC3QJCrfbDtJboAAB1+rjoraGcWhECgICkNvbVIALdAEbfQ2xLKEJCdAttM20DkMh4TIwAyJNiEXQICDzvFsrSnKeDrylKQQomKOLQ7aoBFaRa09q06SAyD3k/J0DsMhITK0WUMyNCD3VUHQOZ6jY5TxNOSpyMYnijn5adAKzdAuKtksOsmQgBiOqFJLE2eWkAwFyH20Z3ytOlrHKOPpx1OQjY6KObU4aIeGaBmV26CdZAhAgIOvVc+NUlhx2FA2lg3WW1sHBdAQLdG0wzSNhg4GSTQg95YsdA7DISFGbLOBJBIQ4KBzPC+wMHjK8bRjQwPDJgyV71RoirZoHLXK8E4SBci9pCCdw3BIiAnZ5CGJAAQ46BzPDywMnmo83djAwLCzDIXGaI3mUQKEdZK+AbmnFKNzGA4JMWGbLCR9AnIPFQSd4wU6RhlPMZ5mbFhUTMfZogCaoz17sOWT/l977yR9AWI4+i+OzhF6mGBykPQByN0lPF+rXqhjlPHU4unFBkXFdJzlCrAH7AV7svyO9J/21klSAwIcfK16UXoNVs7IRrAhbMzKm3whVAH2gj1hb6IC9wJJSkDuJiXoHIZDQtjWJgFJKkCAg87x4sDC4OnEU4qNCAzrUA0UYG/YI/aqwbBOtybtJCkAuavSoXMYDglhWyiw8WXUkHQFBDjoHC/ZqEjP5zyNeCohfM+hPH0iBdgr9oy9SzRl5TRJOkkXQO6iJdI5DIeEsFUqMEpI2gLCODrHSytlSXcDTx+eQgidblbPFKkAe8cespdRcTt1Egq96UIZYziaqub7CwVGBQnFXiy8zvFOd3Og1wAAAx9JREFUuomvVS/TMcp42vDUQdiomI7TrwLsJXvK3jaM1Pr2Vp2kCSDAQed4eeslNh+IgAiJoM1He0TOCrCn7C17HLXOxpA0AYTOYTiitnIecbKHpC4gH9R+QZ8OIcZThacLAoYEdJDBFGCP2Wv2PGoR1PIpdYLVAeSVmugN8ihDKARDuKiYjjOsAuw1e87eR63krQpU+V9JrgJkZ03yHnmUIRBCIVhUTMfJQwH2nL2nBqJWdPymQEveVAHyeo3ZQx5hCINACBURzzHyU4C9pwaohYjV8c/dlv5/eVWA7BKxSsVAEIRBIL21zVgBaoBaoCYiZNi3LEgVILuXDU50DSEQBGESTelpRq4AtUBNUBt9p7JPWYAqQPYsG5zgGgIgBIIkmM5TTEgBaoLaoEb6TKsTIH0ujMQRACH6jOO5x6sAtUGNUCuDZFHVQa6uuaqmt5EwiSNA07G+f14KUCPUCjXTR+ZXlk1aBcg1ZYNbXiNREibxllN42MwUoFaoGWondeqdALku8WpIkERJOPHUnm7iClAz1A41lDLVK8omq+ogH9bga+UpjMRIkERTzOc55qcAtUMNUUspsj9bk5whX2lVgNBB3rFydP0LJERiJFh/lO+0AtsqQA1RS9TUtlebfVL5UyJVgBDuk3qhk+jQykiEhEisxQQeYgW2UYBaoqaorW0u1vzgZN13qbzU6gDCBPzIyVt0cqu8iZ2lm0mEhHRqswLJFKCmqC1qrMmk1DC1fFydQXUBYa5T9XK4/Hx5ld2uG94u558fJRGd2qxAcgWoLWqMWqPmqgJQu9QwtVx17+J6E0AYQEs6Sicnys+UXy8v7DadXCL/kJxFnKSjzQpEKECtUXMfUbDL5Bth4S+ZTtdnJ8ipXWpYp/WsKSDFrATjnxjlhxn5kfj9dIH/xNrBOh4rv1huswKRClBzr1PAA+X8R5sO0HEn+W5yfkGKh7pOm1lbQDZGuUFv+LvkjdTqoxGYlzhVBajFy5XcjfJOlgKQTgvwYCuQswIGJOfd8doGV8CADL4FXkDOChiQnHfHaxtcAQPS0xZ42mko8H8AAAD//4/S4zYAAAAGSURBVAMApkn0vv0gIcoAAAAASUVORK5CYII=",kan="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.01'%20width='18'%20height='18'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.57917%2015.9145C8.70747%2016.0428%208.8824%2016.1134%209.06382%2016.1102C9.43813%2016.1092%209.74175%2015.8068%209.74422%2015.4325V9.67071H15.5051C15.8805%209.66972%2016.1845%209.36568%2016.1855%208.99031C16.1887%208.8089%2016.118%208.63397%2015.9897%208.50567C15.8614%208.37737%2015.6865%208.30671%2015.5051%208.30991H9.74422V2.57151C9.74422%202.19574%209.43959%201.89111%209.06382%201.89111C8.68804%201.89111%208.38342%202.19574%208.38342%202.57151V8.30991H2.645C2.26923%208.30991%201.9646%208.61454%201.9646%208.99031C1.9646%209.36609%202.26923%209.67071%202.645%209.67071H8.38342V15.4298C8.38021%2015.6112%208.45087%2015.7862%208.57917%2015.9145ZM8.38342%209.67071H9.74422V8.30991H8.38342V9.67071Z'%20fill='%23529FFF'/%3e%3c/svg%3e",Can=Ce.defineComponent({name:"Choice",components:{TinyButton:Pt,TinyRadioGroup:Wi,TinyRadio:Jn,TinyCheckboxGroup:as,TinyCheckbox:Zn,TinyAlert:Vi,FileList:lc,Base:Ef,RichTextarea:_k},props:{oriQuestion:{type:Object,required:!0,default:()=>({type:1,choices:[],correctAnswer:null,record:{answer:null}})},mode:{type:Number,default:1,validator:t=>[1,2,3].includes(t)},needRichText:{type:Boolean,default:!0},isSubmitted:{type:Boolean,default:!1},showAnswer:{type:Boolean,default:!1}},emits:["save","cancel","change"],setup(t,{emit:e}){const n=sc(),o=Ce.ref({type:"warning",text:""}),r=($,q)=>{o.value={type:$,text:q},setTimeout(()=>{o.value.text=""},2e3)},i=Ce.ref(null),a=Ce.ref({}),l=Ce.ref(""),s=Ce.ref([]),c=Ce.ref(),d=()=>{var $,q,B,P;t.mode===3?($=a.value.record)!=null&&$.answer?a.value.type===1?(l.value=a.value.record.answer,c.value=a.value.record.answer):(s.value=Array.isArray(a.value.record.answer)?a.value.record.answer:((q=a.value.record.answer)==null?void 0:q.split(","))||[],c.value=Array.isArray(a.value.record.answer)?a.value.record.answer:((B=a.value.record.answer)==null?void 0:B.split(","))||[]):(l.value="",s.value=[]):a.value.correctAnswer?a.value.type===1?l.value=a.value.correctAnswer[0]:s.value=Array.isArray(a.value.correctAnswer)?a.value.correctAnswer:((P=a.value.correctAnswer)==null?void 0:P.split(","))||[]:(l.value="",s.value=[])};Ce.watch(()=>t.oriQuestion,$=>{a.value=cc($),d(),console.log(a.value,"--------Choice--------",$)},{immediate:!0}),Ce.watch([()=>t.mode,()=>t.isSubmitted],()=>{d()});const u=$=>String.fromCharCode(65+$),m=$=>$?Array.isArray($)?$.join(","):$:"-",h=$=>{var C;if(t.mode!==3||!t.isSubmitted)return"";const q=u($),B=((C=a.value.record)==null?void 0:C.answer)||"",P=a.value.correctAnswer||"",N=Array.isArray(B)?B:(B==null?void 0:B.split(","))||[],D=Array.isArray(P)?P:(P==null?void 0:P.split(","))||[],W=N.includes(q),M=D.includes(q);return M&&W?"correct":!M&&W?"wrong":M&&!W?"missed":""},p=()=>{t.mode===1&&(a.value.choices.length<20?v():console.warn(n("optionLimit")||"选项数量已达上限(20个)"))},v=()=>{a.value.choices||(a.value.choices=[]),a.value.choices.push({id:Date.now(),text:"",attachments:[]})},f=$=>{t.mode===1&&t.needRichText&&(i.value=$)},b=($,q)=>{t.mode===1&&a.value.choices[q].attachments.splice($,1)},x=($,q)=>{console.log($,q,a.value,"question.valuequestion.value"),t.mode===1&&a.value.choices[q].attachments.push($)},w=($,q)=>{if(t.mode===1)if(a.value.choices&&Array.isArray(a.value.choices)&&a.value.choices.length>2){if(a.value.choices.splice(q,1),a.value.correctAnswer){const P=(Array.isArray(a.value.correctAnswer)?a.value.correctAnswer:a.value.correctAnswer.split(",")).filter(N=>{const D=N.charCodeAt(0)-65;return D!==q&&D<a.value.choices.length});a.value.correctAnswer=a.value.type===1?P[0]||"":P}}else console.warn(n("atLeastTwo")||"至少需要两个选项")},E=()=>{if(t.mode!==1)return;if(!a.value.title){r("warning",n("questionTitleTip1"));return}if(a.value.choices.some(q=>!q.text)){r("warning",n("optionContentTip1"));return}if(!a.value.correctAnswer||a.value.correctAnswer.length===0){r("warning",n("inputAnswerTip4"));return}const $=JSON.parse(JSON.stringify(a.value));e("save",$)},S=()=>{e("cancel")};return Ce.watch(l,$=>{a.value.type===1&&(t.mode===1?a.value.correctAnswer=$:t.mode===3&&(a.value.record||(a.value.record={}),a.value.record.answer=$,e("change",a.value)))}),Ce.watch(s,$=>{a.value.type===2&&(t.mode===1?a.value.correctAnswer=$:t.mode===3&&!t.isSubmitted&&(a.value.record||(a.value.record={}),a.value.record.answer=$,e("change",a.value)))}),{t:n,question:a,radioAnswer:l,checkboxAnswer:s,getOption:u,formatAnswer:m,handleAnswerClass:h,addChoice:p,saveQuestion:E,cancel:S,createChoice:v,activeIndex:i,activeRichText:f,deleteFile:b,addFile:x,deleteChoice:w,userAnswer:c,alertInfo:o,showAlertHandler:r}}});var Aan=function(){var o;var e=this,n=e._self._c;return e._self._setupProxy,n("Base",{staticClass:"choice-container",attrs:{question:e.question,mode:e.mode}},[e.mode===1?n("div",{staticClass:"edit-mode"},[n("div",{staticClass:"choice-list-base"},[e._l(e.question.choices,function(r,i){return n("div",{key:r.id},[n("div",{staticClass:"choice-item"},[n("span",{staticClass:"choice-option"},[e._v(e._s(e.getOption(i)))]),e.activeIndex===i?n("RichTextarea",{staticClass:"choice-input-wrap",attrs:{placeholder:e.t("optionContent"),list:r.attachments,isShowLimitTimes:!1,actionIndex:i,placeholderText:e.t("optionContent")},on:{addFile:e.addFile,deleteFile:e.deleteFile},model:{value:r.text,callback:function(a){e.$set(r,"text",a)},expression:"choice.text"}}):n("div",{staticClass:"choice-input-wrap"},[e.needRichText?n("div",{staticClass:"choice-input",on:{click:function(a){return e.activeRichText(i)}}},[r.text||r.attachments&&r.attachments.length>0?e._e():n("span",{staticClass:"no-content-tip"},[e._v(e._s(e.t("optionContent")))]),r.text?n("div",{staticClass:"rich-text",domProps:{innerHTML:e._s(r.text)}}):e._e(),n("FileList",{ref:"fileList",refInFor:!0,attrs:{mode:"edit",type:"block",isPreview:!0,list:r.attachments||[],isShowLimitTimes:!1,actionIndex:i},on:{deleteFile:e.deleteFile}})],1):n("input",{directives:[{name:"model",rawName:"v-model",value:r.text,expression:"choice.text"}],staticClass:"choice-input",attrs:{type:"text",placeholder:e.t("optionContent")},domProps:{value:r.text},on:{input:function(a){a.target.composing||e.$set(r,"text",a.target.value)}}})]),i>1?n("img",{staticClass:"btn-delete",attrs:{src:Mk,alt:""},on:{click:function(a){return e.deleteChoice(r,i)}}}):e._e()],1)])}),n("div",{staticClass:"btn-add",on:{click:e.addChoice}},[n("img",{attrs:{src:kan,alt:""}}),e._v(e._s(e.t("addOption"))+" ")])],2),n("div",{staticClass:"choice-list"},[n("div",{staticClass:"answer-display"},[n("span",[e._v(e._s(e.t("answer"))+":")]),n("span",[e._v(e._s(e.formatAnswer(e.question.correctAnswer)))])]),e.question.type===1?n("TinyRadioGroup",{staticClass:"choices",model:{value:e.radioAnswer,callback:function(r){e.radioAnswer=r},expression:"radioAnswer"}},e._l(e.question.choices,function(r,i){return n("TinyRadio",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i)))])])}),1):e._e(),e.question.type===2?n("TinyCheckboxGroup",{staticClass:"choices",model:{value:e.checkboxAnswer,callback:function(r){e.checkboxAnswer=r},expression:"checkboxAnswer"}},e._l(e.question.choices,function(r,i){return n("TinyCheckbox",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i)))])])}),1):e._e()],1),n("div",{staticClass:"btn-save"},[n("TinyButton",{attrs:{type:"primary"},on:{click:e.saveQuestion}},[e._v(e._s(e.t("save")))]),n("TinyButton",{on:{click:e.cancel}},[e._v(e._s(e.t("cancel")))])],1)]):e._e(),e.mode===2?n("div",{staticClass:"preview-mode"},[n("div",{staticClass:"choice-list"},[e.question.type===1?n("TinyRadioGroup",{staticClass:"choices",attrs:{disabled:""},model:{value:e.radioAnswer,callback:function(r){e.radioAnswer=r},expression:"radioAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyRadio",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text ql-editor not-edit",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1}}):e._e()],1)])}),1):e._e(),e.question.type===2?n("TinyCheckboxGroup",{staticClass:"choices",attrs:{disabled:""},model:{value:e.checkboxAnswer,callback:function(r){e.checkboxAnswer=r},expression:"checkboxAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyCheckbox",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text ql-editor not-edit",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1}}):e._e()],1)])}),1):e._e()],1),n("div",{staticClass:"answer-display"},[n("span",[e._v(e._s(e.t("answer"))+":")]),n("span",[e._v(e._s(e.formatAnswer(e.question.correctAnswer)))])])]):e._e(),e.mode===3?n("div",{staticClass:"answer-mode"},[e.isSubmitted?n("div",{staticClass:"choice-list"},[e.question.type===1?n("TinyRadioGroup",{staticClass:"choices",attrs:{disabled:!0},model:{value:e.userAnswer,callback:function(r){e.userAnswer=r},expression:"userAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyRadio",{key:r.id,staticClass:"choice-item",class:e.handleAnswerClass(i),attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text ql-editor not-edit",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1,showDownLoad:e.mode!==3}}):e._e()],1)])}),1):e._e(),e.question.type===2?n("TinyCheckboxGroup",{staticClass:"choices",attrs:{disabled:!0},model:{value:e.userAnswer,callback:function(r){e.userAnswer=r},expression:"userAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyCheckbox",{key:r.id,staticClass:"choice-item",class:e.handleAnswerClass(i),attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text ql-editor",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1,showDownLoad:e.mode!==3}}):e._e()],1)])}),1):e._e()],1):n("div",{staticClass:"choice-list"},[e.question.type===1?n("TinyRadioGroup",{staticClass:"choices",model:{value:e.radioAnswer,callback:function(r){e.radioAnswer=r},expression:"radioAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyRadio",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text ql-editor not-edit",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1,showDownLoad:e.mode!==3}}):e._e()],1)])}),1):e._e(),e.question.type===2?n("TinyCheckboxGroup",{staticClass:"choices",model:{value:e.checkboxAnswer,callback:function(r){e.checkboxAnswer=r},expression:"checkboxAnswer"}},e._l(e.question.choices,function(r,i){var a;return n("TinyCheckbox",{key:r.id,staticClass:"choice-item",attrs:{label:e.getOption(i)}},[n("span",{staticClass:"index"},[e._v(e._s(e.getOption(i))+". ")]),n("div",{staticClass:"choice-content"},[n("span",{staticClass:"rich-text ql-editor not-edit",domProps:{innerHTML:e._s(r.text)}}),(a=r.attachments)!=null&&a.length?n("FileList",{staticClass:"choice-file-list",attrs:{mode:"preview",type:"block",isPreview:!0,list:r.attachments,isShowLimitTimes:!1,showDownLoad:e.mode!==3}}):e._e()],1)])}),1):e._e()],1),e.isSubmitted&&e.showAnswer?n("div",[n("div",{staticClass:"answer-display"},[n("span",[e._v(e._s(e.t("stuAnswer"))+":")]),n("span",[e._v(e._s(e.formatAnswer((o=e.question.record)==null?void 0:o.answer)))])]),n("div",{staticClass:"correct-answer"},[n("span",[e._v(e._s(e.t("correctAnswer"))+":")]),n("span",[e._v(e._s(e.formatAnswer(e.question.correctAnswer)))])])]):e._e()]):e._e(),e.alertInfo.text?n("TinyAlert",{staticClass:"alert-warning",attrs:{type:e.alertInfo.type},scopedSlots:e._u([{key:"description",fn:function(){return[e._v(e._s(e.alertInfo.text))]},proxy:!0}],null,!1,3471111397)}):e._e()],1)},San=[],Ean=Nn(Can,Aan,San,!1,null,"2e610653");const Ll=Ean.exports;Ll.install=t=>t.component(Ll.name,Ll);const $an=Ce.defineComponent({name:"Completion",components:{Base:Ef,FileList:lc,TinyButton:Pt,TinyCheckbox:Zn,TinyAlert:Vi},props:{mode:{type:Number,default:1},oriQuestion:{type:Object,default:()=>({})},isSubmitted:{type:Boolean,default:!1},showAnswer:{type:Boolean,default:!1}},emits:["save","cancel","submit"],setup(t,{emit:e}){const n=Ce.ref({}),o=Ce.ref([]),r=Ce.ref({type:"warning",text:""}),i=(h,p)=>{r.value={type:h,text:p},setTimeout(()=>{r.value.text=""},2e3)},a=h=>{var W,M,C,V;if(t.mode!==1)return;const p=/\( \)/g;let v;const f=[];let b=0,x="<p>";for(;(v=p.exec(h))!==null;)f.push(v.index-5*b-x.length),b++;let w=0;if((W=u.value)!=null&&W.richTextareaRef){const k=(C=(M=u.value.richTextareaRef.$refs.fluentEditorRef.state.quill)==null?void 0:M.getSelection)==null?void 0:C.call(M);w=(k==null?void 0:k.index)??((V=n.value.title)==null?void 0:V.length)??0}let E=0;for(let k=0;k<f.length&&w>f[k];k++)E=k;const S=[...n.value.blanks||[]].sort((k,z)=>(k.orderIndex||0)-(z.orderIndex||0)),$=S.map(k=>k.correctAnswer||""),q=[];let B=0;const P=f.length,N=S.length,D=Array(P).fill("");if(N>0){const k=P>N;if(k)for(let z=0;z<P;z++)if(k&&z===E)D[z]="";else if(z<E)z<$.length&&(D[z]=$[z]);else{const O=z-1;O<$.length&&(D[z]=$[O])}else for(let z=0;z<P;z++)D[z]=$[z]}for(let k=0;k<f.length;k++)q.push({id:Du(),blankIndex:f[k],orderIndex:B,correctAnswer:D[k]}),B++;n.value.blanks=q,o.value=n.value.blanks.map(()=>""),l()};Ce.watch(()=>n.value.title,a),Ce.watch(()=>t.oriQuestion,h=>{n.value=cc(h)},{immediate:!0});const l=()=>{if(t.mode!==1)return;let h=[];if(n.value.blanks)for(let p=0;p<n.value.blanks.length;p++){let v=n.value.blanks[p];h.push(v.correctAnswer||"")}n.value.correctAnswer=h},s=()=>{if(t.mode!==1)return;if(l(),!n.value.title){i("warning",ar("questionTitleTip1"));return}let h=!1;for(let v=0;v<n.value.blanks.length;v++)if(!n.value.blanks[v].correctAnswer||n.value.blanks[v].correctAnswer.trim()===""){h=!0;break}if(h){i("warning",ar("optionContentTip1"));return}let p=!1;for(let v=0;v<n.value.blanks.length;v++)if((n.value.blanks[v].correctAnswer||"").length>1e3){p=!0;break}if(p){i("warning",ar("optionContentTip3"));return}console.log("save-completion",n.value),e("save",n.value)},c=()=>{e("cancel")},d=h=>{t.mode===3&&(n.value.record.answer=h,e("change",n.value))},u=Ce.ref(null);return{t:ar,question:n,userAnswers:o,saveQuestion:s,cancel:c,answerChange:l,blankAnswerChange:d,deleteBlank:(h,p)=>{var E;if(t.mode!==1)return;const v=n.value.blanks.findIndex(S=>S.id===h.id);if(v===-1)return;n.value.blanks.splice(v,1);let f=n.value.title;const b=/\( \)/g;let x,w=[];for(;(x=b.exec(f))!==null;)w.push(x.index);if(p>=0&&p<w.length){const S=w[p];f=f.substring(0,S)+f.substring(S+8),n.value.title=f,(E=u.value)!=null&&E.richTextareaRef&&(u.value.richTextareaRef.content=f);const $=/\( \)/g;let q,B=[];for(;(q=$.exec(f))!==null;)B.push(q.index);n.value.blanks.forEach((P,N)=>{B[N]!==void 0&&(P.blankIndex=B[N])})}o.value=n.value.blanks.map(()=>""),l()},baseComponent:u,alertInfo:r,showAlertHandler:i}}});var Pan=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("Base",{ref:"baseComponent",staticClass:"completion-question",attrs:{question:e.question,mode:e.mode,isSubmitted:e.isSubmitted},on:{blankAnswerChange:e.blankAnswerChange}},[e.mode===1?[n("div",{staticClass:"edit-mode"},[n("div",{staticClass:"title"}),n("div",{staticClass:"correct-answer"},[n("span",{staticClass:"tip"},[e._v(e._s(e.t("answer"))+":")]),n("span",{staticClass:"correct-answer-tip"},[e._v("( "+e._s(e.t("inputAnswerTip2"))+" )")]),e._l(e.question.blanks,function(o,r){return n("div",{key:o.id||r},[n("div",{staticClass:"answer-item"},[n("span",{staticClass:"answer-option"},[e._v("["+e._s(r+1)+"]")]),n("input",{directives:[{name:"model",rawName:"v-model",value:o.correctAnswer,expression:"blank.correctAnswer"}],staticClass:"answer-input",attrs:{placeholder:e.t("inputAnswer"),type:"text"},domProps:{value:o.correctAnswer},on:{change:e.answerChange,input:function(i){i.target.composing||e.$set(o,"correctAnswer",i.target.value)}}}),n("div",{staticClass:"btn-delete"},[n("img",{attrs:{src:Mk,alt:""},on:{click:function(i){return e.deleteBlank(o,r)}}})])])])}),n("div",{staticClass:"can-exchange"},[n("TinyCheckbox",{attrs:{"false-label":0,"true-label":1},model:{value:e.question.allowExchange,callback:function(o){e.$set(e.question,"allowExchange",o)},expression:"question.allowExchange"}},[e._v("答案可互换顺序")])],1),n("div",{staticClass:"btn-save"},[n("TinyButton",{attrs:{type:"primary"},on:{click:e.saveQuestion}},[e._v(e._s(e.t("save")))]),n("TinyButton",{on:{click:e.cancel}},[e._v(e._s(e.t("cancel")))])],1)],2)])]:(e.mode===2||e.mode===3)&&e.showAnswer?[n("div",{staticClass:"preview-mode"},[n("FileList",{attrs:{list:e.question.link}}),n("div",{staticClass:"correct-answer-preview"},[n("div",{class:{title:e.mode===3}},[e._v(e._s(e.t("correctAnswer"))+":")]),e._l(e.question.blanks,function(o,r){return n("span",{key:o.id||r,staticClass:"answer-item"},[n("span",{staticClass:"answer-option"},[e._v("["+e._s(r+1)+"]")]),n("span",{staticClass:"answer-value"},[e._v(e._s(`${o.correctAnswer}${r!==e.question.blanks.length-1?"、":""}`||"-"))])])})],2)],1)]:e._e(),e.alertInfo.text?n("TinyAlert",{staticClass:"alert-warning",attrs:{type:e.alertInfo.type},scopedSlots:e._u([{key:"description",fn:function(){return[e._v(e._s(e.alertInfo.text))]},proxy:!0}],null,!1,3471111397)}):e._e()],2)},_an=[],Man=Nn($an,Pan,_an,!1,null,"ea944f6b");const Il=Man.exports;Il.install=t=>t.component(Il.name,Il);const il="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.01'%20width='18'%20height='18'%20fill='%23475467'/%3e%3cpath%20d='M6.77719%2012.6257L2.59039%207.87367C2.34614%207.5802%201.96178%207.44255%201.58677%207.51423C1.21175%207.58592%200.905259%207.85563%200.786475%208.21849C0.66769%208.58135%200.755358%208.98009%201.01539%209.25967L5.96539%2014.8865C6.16186%2015.1092%206.4434%2015.2385%206.74039%2015.2422C7.03739%2015.246%207.32212%2015.124%207.52419%2014.9063L17.2712%204.40687C17.5406%204.13474%2017.6404%203.73748%2017.5316%203.37035C17.4227%203.00321%2017.1226%202.7245%2016.7484%202.64313C16.3742%202.56177%2015.9854%202.69067%2015.734%202.97947L6.77719%2012.6275V12.6257Z'%20fill='%23475467'/%3e%3c/svg%3e",al="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.01'%20width='16'%20height='16'%20fill='%23475467'/%3e%3cpath%20d='M9.48719%208.00012L15.2562%202.23012C15.6662%201.82112%2015.6662%201.15012%2015.2562%200.741117C14.8462%200.331117%2014.1762%200.331117%2013.7662%200.741117L7.99719%206.51112L2.22719%200.740117C1.81819%200.330117%201.14719%200.330117%200.738187%200.740117C0.328187%201.15012%200.328187%201.82012%200.738187%202.23012L6.50819%208.00012L0.737188%2013.7701C0.327188%2014.1791%200.327188%2014.8501%200.737188%2015.2591C1.14719%2015.6691%201.81719%2015.6691%202.22719%2015.2591L7.99719%209.48912L13.7672%2015.2591C14.1762%2015.6691%2014.8472%2015.6691%2015.2562%2015.2591C15.6662%2014.8491%2015.6662%2014.1791%2015.2562%2013.7691L9.48619%208.00012H9.48719Z'%20fill='%23475467'/%3e%3c/svg%3e",Lan=Ce.defineComponent({name:"JudgeQuestion",components:{Base:Ef,TinyRadio:Jn,TinyRadioGroup:Wi,TinyButton:Pt,FileList:lc,TinyAlert:Vi},props:{mode:{type:Number,default:1},oriQuestion:{type:Object,default:()=>({})},showAnswer:{type:Boolean,default:!1},isSubmitted:{type:Boolean,default:!1}},emits:["save","cancel","change"],setup(t,{emit:e}){const n=sc(),o=Ce.ref({type:"warning",text:""}),r=(h,p)=>{o.value={type:h,text:p},setTimeout(()=>{o.value.text=""},2e3)},i=Ce.ref({}),a=Ce.ref(""),l=Ce.ref(""),s=Ce.computed(()=>t.isSubmitted&&a.value===l.value);Ce.watch(()=>t.oriQuestion,h=>{var p;i.value=cc(h),i.value.correctAnswer&&i.value.correctAnswer.length>0&&(l.value=i.value.correctAnswer[0]),t.mode===3&&((p=i.value.record)!=null&&p.answer?a.value=i.value.record.answer:a.value=""),console.log(i.value,"--------Judge--------")},{immediate:!0}),Ce.watch(()=>t.mode,h=>{var p;h!==3?a.value="":(p=i.value.record)!=null&&p.answer?a.value=i.value.record.answer:a.value=""}),Ce.watch(()=>t.isSubmitted,h=>{var p;h&&((p=i.value.record)!=null&&p.answer)&&(a.value=i.value.record.answer)});const c=()=>{if(t.mode===1){if(!i.value.title||!i.value.title.trim()){r("warning",n("questionTitleTip1"));return}if(!l.value){r("warning",n("inputAnswerTip4"));return}i.value.correctAnswer||(i.value.correctAnswer=[]),i.value.correctAnswer[0]=l.value,e("save",i.value)}},d=()=>{e("cancel")};return Ce.watch(a,h=>{t.mode===3&&h&&(i.value.record||(i.value.record={}),i.value.record.answer=h,e("change",i.value))}),{t:n,cancel:d,question:i,userAnswer:a,correctAnswer:l,isCorrect:s,saveQuestion:c,handleAnswerClass:h=>{if(!t.isSubmitted)return"";const p=(h?"true":"false")==a.value,v=(h?"true":"false")==l.value;return p?v?"correct":"wrong":""},handleCorrectAnswerClass:h=>t.isSubmitted&&(h?"true":"false")==l.value?"correct":"",alertInfo:o,showAlertHandler:r}}});var Ian=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("Base",{staticClass:"true-or-false-question",attrs:{question:e.question,mode:e.mode}},[e.mode===1?[n("div",{staticClass:"correct-answer"},[n("span",[e._v(e._s(e.t("correctAnswer"))+":")]),n("TinyRadioGroup",{model:{value:e.correctAnswer,callback:function(o){e.correctAnswer=o},expression:"correctAnswer"}},[n("TinyRadio",{attrs:{label:"true"}},[n("img",{attrs:{src:il,alt:""}})]),n("TinyRadio",{attrs:{label:"false"}},[n("img",{attrs:{src:al,alt:""}})])],1)],1),n("div",{staticClass:"action-buttons"},[n("TinyButton",{attrs:{type:"primary"},on:{click:e.saveQuestion}},[e._v(e._s(e.t("save")))]),n("TinyButton",{on:{click:e.cancel}},[e._v(e._s(e.t("cancel")))])],1)]:e.mode===2?[n("div",{staticClass:"preview-mode"},[n("div",{staticClass:"correct-answer-preview"},[n("span",[e._v(e._s(e.t("answer"))+":")]),n("TinyRadioGroup",{attrs:{disabled:""},model:{value:e.correctAnswer,callback:function(o){e.correctAnswer=o},expression:"correctAnswer"}},[n("TinyRadio",{attrs:{label:"true"}},[n("img",{attrs:{src:il,alt:""}})]),n("TinyRadio",{attrs:{label:"false"}},[n("img",{attrs:{src:al,alt:""}})])],1)],1)])]:e.mode===3?[n("div",{staticClass:"answer-mode"},[n("div",{staticClass:"user-answer"},[e.isSubmitted?n("div",{staticClass:"submit-result"},[n("div",{staticClass:"user-answer-display"},[n("span",[e._v(e._s(e.t("yourAnswer"))+":")]),n("TinyRadioGroup",{attrs:{disabled:""},model:{value:e.userAnswer,callback:function(o){e.userAnswer=o},expression:"userAnswer"}},[n("TinyRadio",{class:e.handleAnswerClass(!0),attrs:{label:"true"}},[n("img",{attrs:{src:il,alt:""}})]),n("TinyRadio",{class:e.handleAnswerClass(!1),attrs:{label:"false"}},[n("img",{attrs:{src:al,alt:""}})])],1)],1),e.showAnswer?n("div",{staticClass:"correct-answer-hint"},[n("span",[e._v(e._s(e.t("correctAnswer"))+":")]),n("TinyRadioGroup",{attrs:{disabled:""},model:{value:e.correctAnswer,callback:function(o){e.correctAnswer=o},expression:"correctAnswer"}},[n("TinyRadio",{class:e.handleCorrectAnswerClass(!0),attrs:{label:"true"}},[n("img",{attrs:{src:il,alt:""}})]),n("TinyRadio",{class:e.handleCorrectAnswerClass(!1),attrs:{label:"false"}},[n("img",{attrs:{src:al,alt:""}})])],1)],1):e._e()]):n("div",[n("TinyRadioGroup",{model:{value:e.userAnswer,callback:function(o){e.userAnswer=o},expression:"userAnswer"}},[n("TinyRadio",{attrs:{label:"true"}},[n("img",{attrs:{src:il,alt:""}})]),n("TinyRadio",{attrs:{label:"false"}},[n("img",{attrs:{src:al,alt:""}})])],1)],1)])])]:e._e(),e.alertInfo.text?n("TinyAlert",{staticClass:"alert-warning",attrs:{type:e.alertInfo.type},scopedSlots:e._u([{key:"description",fn:function(){return[e._v(e._s(e.alertInfo.text))]},proxy:!0}],null,!1,3471111397)}):e._e()],2)},Nan=[],Oan=Nn(Lan,Ian,Nan,!1,null,"7d8d29c8");const Nl=Oan.exports;Nl.install=t=>t.component(Nl.name,Nl);aan();const Dan=[fl,Pl,_l,Ll,Il,Nl],Ban=t=>{Dan.forEach(e=>t.use(e))},qan={install:Ban};exports.Choice=Ll;exports.Completion=Il;exports.Judge=Nl;exports.MyButton=fl;exports.MyTinyButton=Pl;exports.MyTinyRadio=_l;exports.default=qan;
|