diff --git a/assets/401-BIkHzDoS.css b/assets/401-BIkHzDoS.css new file mode 100644 index 00000000..d6ac225d --- /dev/null +++ b/assets/401-BIkHzDoS.css @@ -0,0 +1 @@ +.errPage-container[data-v-9001f8b1]{width:800px;max-width:100%;margin:100px auto}.errPage-container .pan-back-btn[data-v-9001f8b1]{color:#fff;background:#008489;border:none!important}.errPage-container .pan-gif[data-v-9001f8b1]{display:block;margin:0 auto}.errPage-container .pan-img[data-v-9001f8b1]{display:block;width:100%;margin:0 auto}.errPage-container .text-jumbo[data-v-9001f8b1]{font-size:60px;font-weight:700;color:#484848}.errPage-container .list-unstyled[data-v-9001f8b1]{font-size:14px}.errPage-container .list-unstyled li[data-v-9001f8b1]{padding-bottom:5px}.errPage-container .list-unstyled a[data-v-9001f8b1]{color:#008489;text-decoration:none}.errPage-container .list-unstyled a[data-v-9001f8b1]:hover{text-decoration:underline} diff --git a/assets/401-CbnovuuC.js b/assets/401-CbnovuuC.js new file mode 100644 index 00000000..464b3ea1 --- /dev/null +++ b/assets/401-CbnovuuC.js @@ -0,0 +1 @@ +import{a as s,c as a}from"./index-BtvUkC1a.js";import{j as e,I as t,J as i,k as r,l as o}from"./vue-CfXu-DEr.js";import"./element-plus-MHsvnF2v.js";import"./lodash-es-DIelbCxD.js";import"./fabric-Dlz3ta-n.js";import"./clipper-lib-Cdu7DM5D.js";const p={class:"errPage-container"},l=a(e({__name:"401",setup(a){const e=t({ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1});return i(e),s(),(s,a)=>(r(),o("div",p))}}),[["__scopeId","data-v-9001f8b1"]]);export{l as default}; diff --git a/assets/404-B6H4Y_Ye.js b/assets/404-B6H4Y_Ye.js new file mode 100644 index 00000000..dd584120 --- /dev/null +++ b/assets/404-B6H4Y_Ye.js @@ -0,0 +1 @@ +var e=Object.defineProperty,r=Object.defineProperties,t=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,p=(r,t,o)=>t in r?e(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o;import{j as i,k as c,l as n}from"./vue-CfXu-DEr.js";import{c as l}from"./index-BtvUkC1a.js";import"./element-plus-MHsvnF2v.js";import"./lodash-es-DIelbCxD.js";import"./fabric-Dlz3ta-n.js";import"./clipper-lib-Cdu7DM5D.js";const b={class:"wscn-http404-container"},j=i((m=((e,r)=>{for(var t in r||(r={}))a.call(r,t)&&p(e,t,r[t]);if(o)for(var t of o(r))s.call(r,t)&&p(e,t,r[t]);return e})({},{name:"Page404"}),r(m,t({setup:e=>(e,r)=>(c(),n("div",b))}))));var m;const f=l(j,[["__scopeId","data-v-7aedc72b"]]);export{f as default}; diff --git a/assets/404-DQrWRSfw.css b/assets/404-DQrWRSfw.css new file mode 100644 index 00000000..214955ae --- /dev/null +++ b/assets/404-DQrWRSfw.css @@ -0,0 +1 @@ +.wscn-http404-container[data-v-7aedc72b]{position:absolute;top:40%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.wscn-http404[data-v-7aedc72b]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-7aedc72b]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-7aedc72b]{width:100%}.wscn-http404 .pic-404__child[data-v-7aedc72b]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-7aedc72b]{top:17px;left:220px;width:80px;opacity:0;-webkit-animation-name:cloudLeft-7aedc72b;animation-name:cloudLeft-7aedc72b;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .pic-404__child.mid[data-v-7aedc72b]{top:10px;left:420px;width:46px;opacity:0;-webkit-animation-name:cloudMid-7aedc72b;animation-name:cloudMid-7aedc72b;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-delay:1.2s;animation-delay:1.2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .pic-404__child.right[data-v-7aedc72b]{top:100px;left:500px;width:62px;opacity:0;-webkit-animation-name:cloudRight-7aedc72b;animation-name:cloudRight-7aedc72b;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes cloudLeft-7aedc72b{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@keyframes cloudLeft-7aedc72b{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@-webkit-keyframes cloudMid-7aedc72b{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@keyframes cloudMid-7aedc72b{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@-webkit-keyframes cloudRight-7aedc72b{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}@keyframes cloudRight-7aedc72b{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}.wscn-http404 .bullshit[data-v-7aedc72b]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-7aedc72b]{margin-bottom:20px;font-size:32px;font-weight:700;line-height:40px;color:#1482f0;opacity:0;-webkit-animation-name:slideUp-7aedc72b;animation-name:slideUp-7aedc72b;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-7aedc72b]{margin-bottom:10px;font-size:20px;font-weight:700;line-height:24px;color:#222;opacity:0;-webkit-animation-name:slideUp-7aedc72b;animation-name:slideUp-7aedc72b;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-delay:.1s;animation-delay:.1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-7aedc72b]{margin-bottom:30px;font-size:13px;line-height:21px;color:gray;opacity:0;-webkit-animation-name:slideUp-7aedc72b;animation-name:slideUp-7aedc72b;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-delay:.2s;animation-delay:.2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__return-home[data-v-7aedc72b]{display:block;float:left;width:110px;height:36px;font-size:14px;line-height:36px;color:#fff;text-align:center;cursor:pointer;background:#1482f0;border-radius:100px;opacity:0;-webkit-animation-name:slideUp-7aedc72b;animation-name:slideUp-7aedc72b;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes slideUp-7aedc72b{0%{opacity:0;-webkit-transform:translateY(60px);transform:translateY(60px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slideUp-7aedc72b{0%{opacity:0;-webkit-transform:translateY(60px);transform:translateY(60px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}} diff --git a/assets/clipper-lib-Cdu7DM5D.js b/assets/clipper-lib-Cdu7DM5D.js new file mode 100644 index 00000000..43b2782a --- /dev/null +++ b/assets/clipper-lib-Cdu7DM5D.js @@ -0,0 +1 @@ +var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function i(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var i=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};i.prototype=e.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(i,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),i}var n,o={exports:{}};n=o,function(){var t,e={version:"6.4.2.2",use_lines:!0,use_xyz:!1},i=!1;if(n.exports?(n.exports=e,i=!0):"undefined"!=typeof document?window.ClipperLib=e:self.ClipperLib=e,i)o="chrome",t="Netscape";else{var o=navigator.userAgent.toString().toLowerCase();t=navigator.appName}var r,s={};function l(t,i,n){e.biginteger_used=1,null!=t&&("number"==typeof t&&void 0===i?this.fromInt(t):"number"==typeof t?this.fromNumber(t,i,n):null==i&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,i))}function p(){return new l(null,void 0,void 0)}-1!=o.indexOf("chrome")&&-1==o.indexOf("chromium")?s.chrome=1:s.chrome=0,-1!=o.indexOf("chromium")?s.chromium=1:s.chromium=0,-1!=o.indexOf("safari")&&-1==o.indexOf("chrome")&&-1==o.indexOf("chromium")?s.safari=1:s.safari=0,-1!=o.indexOf("firefox")?s.firefox=1:s.firefox=0,-1!=o.indexOf("firefox/17")?s.firefox17=1:s.firefox17=0,-1!=o.indexOf("firefox/15")?s.firefox15=1:s.firefox15=0,-1!=o.indexOf("firefox/3")?s.firefox3=1:s.firefox3=0,-1!=o.indexOf("opera")?s.opera=1:s.opera=0,-1!=o.indexOf("msie 10")?s.msie10=1:s.msie10=0,-1!=o.indexOf("msie 9")?s.msie9=1:s.msie9=0,-1!=o.indexOf("msie 8")?s.msie8=1:s.msie8=0,-1!=o.indexOf("msie 7")?s.msie7=1:s.msie7=0,-1!=o.indexOf("msie ")?s.msie=1:s.msie=0,e.biginteger_used=null,"Microsoft Internet Explorer"==t?(l.prototype.am=function(t,e,i,n,o,r){for(var s=32767&e,l=e>>15;--r>=0;){var p=32767&this[t],u=this[t++]>>15,h=l*p+u*s;o=((p=s*p+((32767&h)<<15)+i[n]+(1073741823&o))>>>30)+(h>>>15)+l*u+(o>>>30),i[n++]=1073741823&p}return o},r=30):"Netscape"!=t?(l.prototype.am=function(t,e,i,n,o,r){for(;--r>=0;){var s=e*this[t++]+i[n]+o;o=Math.floor(s/67108864),i[n++]=67108863&s}return o},r=26):(l.prototype.am=function(t,e,i,n,o,r){for(var s=16383&e,l=e>>14;--r>=0;){var p=16383&this[t],u=this[t++]>>14,h=l*p+u*s;o=((p=s*p+((16383&h)<<14)+i[n]+o)>>28)+(h>>14)+l*u,i[n++]=268435455&p}return o},r=28),l.prototype.DB=r,l.prototype.DM=(1<>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}function c(t){this.m=t}function v(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,e+=16),255&t||(t>>=8,e+=8),15&t||(t>>=4,e+=4),3&t||(t>>=2,e+=2),1&t||++e,e}function E(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function T(){}function g(t){return t}function X(t){this.r2=p(),this.q3=p(),l.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}c.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},c.prototype.revert=function(t){return t},c.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},c.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},c.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},v.prototype.convert=function(t){var e=p();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(l.ZERO)>0&&this.m.subTo(e,e),e},v.prototype.revert=function(t){var e=p();return t.copyTo(e),this.reduce(e),e},v.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},v.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},v.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},l.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},l.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},l.prototype.fromString=function(t,e){var i;if(16==e)i=4;else if(8==e)i=3;else if(256==e)i=8;else if(2==e)i=1;else if(32==e)i=5;else{if(4!=e)return void this.fromRadix(t,e);i=2}this.t=0,this.s=0;for(var n=t.length,o=!1,r=0;--n>=0;){var s=8==i?255&t[n]:P(t,n);s<0?"-"==t.charAt(n)&&(o=!0):(o=!1,0==r?this[this.t++]=s:r+i>this.DB?(this[this.t-1]|=(s&(1<>this.DB-r):this[this.t-1]|=s<=this.DB&&(r-=this.DB))}8==i&&128&t[0]&&(this.s=-1,r>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t},l.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;i>=0;--i)e[i+t]=this[i];for(i=t-1;i>=0;--i)e[i]=0;e.t=this.t+t,e.s=this.s},l.prototype.drShiftTo=function(t,e){for(var i=t;i=0;--i)e[i+s+1]=this[i]>>o|l,l=(this[i]&r)<=0;--i)e[i]=0;e[s]=l,e.t=this.t+s+1,e.s=this.s,e.clamp()},l.prototype.rShiftTo=function(t,e){e.s=this.s;var i=Math.floor(t/this.DB);if(i>=this.t)e.t=0;else{var n=t%this.DB,o=this.DB-n,r=(1<>n;for(var s=i+1;s>n;n>0&&(e[this.t-i-1]|=(this.s&r)<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[i++]=this.DV+n:n>0&&(e[i++]=n),e.t=i,e.clamp()},l.prototype.multiplyTo=function(t,e){var i=this.abs(),n=t.abs(),o=i.t;for(e.t=o+n.t;--o>=0;)e[o]=0;for(o=0;o=0;)t[i]=0;for(i=0;i=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},l.prototype.divRemTo=function(t,e,i){var n=t.abs();if(!(n.t<=0)){var o=this.abs();if(o.t0?(n.lShiftTo(h,r),o.lShiftTo(h,i)):(n.copyTo(r),o.copyTo(i));var a=r.t,f=r[a-1];if(0!=f){var d=f*(1<1?r[a-2]>>this.F2:0),P=this.FV/d,m=(1<=0&&(i[i.t++]=1,i.subTo(I,i)),l.ONE.dlShiftTo(a,I),I.subTo(r,r);r.t=0;){var x=i[--v]==f?this.DM:Math.floor(i[v]*P+(i[v-1]+c)*m);if((i[v]+=r.am(0,x,i,C,0,a))0&&i.rShiftTo(h,i),s<0&&l.ZERO.subTo(i,i)}}},l.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(!(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},l.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},l.prototype.exp=function(t,e){if(t>4294967295||t<1)return l.ONE;var i=p(),n=p(),o=e.convert(this),r=y(t)-1;for(o.copyTo(i);--r>=0;)if(e.sqrTo(i,n),(t&1<0)e.mulTo(n,o,i);else{var s=i;i=n,n=s}return e.revert(i)},l.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var i,n=(1<0)for(l>l)>0&&(o=!0,r=d(i));s>=0;)l>(l+=this.DB-e)):(i=this[s]>>(l-=e)&n,l<=0&&(l+=this.DB,--s)),i>0&&(o=!0),o&&(r+=d(i));return o?r:"0"},l.prototype.negate=function(){var t=p();return l.ZERO.subTo(this,t),t},l.prototype.abs=function(){return this.s<0?this.negate():this},l.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var i=this.t;if(0!=(e=i-t.t))return this.s<0?-e:e;for(;--i>=0;)if(0!=(e=this[i]-t[i]))return e;return 0},l.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+y(this[this.t-1]^this.s&this.DM)},l.prototype.mod=function(t){var e=p();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(l.ZERO)>0&&t.subTo(e,e),e},l.prototype.modPowInt=function(t,e){var i;return i=t<256||e.isEven()?new c(e):new v(e),this.exp(t,i)},l.ZERO=m(0),l.ONE=m(1),T.prototype.convert=g,T.prototype.revert=g,T.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i)},T.prototype.sqrTo=function(t,e){t.squareTo(e)},X.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=p();return t.copyTo(e),this.reduce(e),e},X.prototype.revert=function(t){return t},X.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},X.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},X.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var O=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],N=(1<<26)/O[O.length-1];l.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},l.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),i=Math.pow(t,e),n=m(i),o=p(),r=p(),s="";for(this.divRemTo(n,o,r);o.signum()>0;)s=(i+r.intValue()).toString(t).substr(1)+s,o.divRemTo(n,o,r);return r.intValue().toString(t)+s},l.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var i=this.chunkSize(e),n=Math.pow(e,i),o=!1,r=0,s=0,p=0;p=i&&(this.dMultiply(n),this.dAddOffset(s,0),r=0,s=0))}r>0&&(this.dMultiply(Math.pow(e,r)),this.dAddOffset(s,0)),o&&l.ZERO.subTo(this,this)},l.prototype.fromNumber=function(t,e,i){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(l.ONE.shiftLeft(t-1),I,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(l.ONE.shiftLeft(t-1),this);else{var n=new Array,o=7&t;n.length=1+(t>>3),e.nextBytes(n),o>0?n[0]&=(1<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;i>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[i++]=n:n<-1&&(e[i++]=this.DV+n),e.t=i,e.clamp()},l.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},l.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},l.prototype.multiplyLowerTo=function(t,e,i){var n,o=Math.min(this.t+t.t,e);for(i.s=0,i.t=o;o>0;)i[--o]=0;for(n=i.t-this.t;o=0;)i[n]=0;for(n=Math.max(e-this.t,0);n0)if(0==e)i=this[0]%t;else for(var n=this.t-1;n>=0;--n)i=(e*i+this[n])%t;return i},l.prototype.millerRabin=function(t){var e=this.subtract(l.ONE),i=e.getLowestSetBit();if(i<=0)return!1;var n=e.shiftRight(i);(t=t+1>>1)>O.length&&(t=O.length);for(var o=p(),r=0;r>24},l.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},l.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},l.prototype.toByteArray=function(){var t=this.t,e=new Array;e[0]=this.s;var i,n=this.DB-t*this.DB%8,o=0;if(t-- >0)for(n>n)!=(this.s&this.DM)>>n&&(e[o++]=i|this.s<=0;)n<8?(i=(this[t]&(1<>(n+=this.DB-8)):(i=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),128&i&&(i|=-256),0==o&&(128&this.s)!=(128&i)&&++o,(o>0||i!=this.s)&&(e[o++]=i);return e},l.prototype.equals=function(t){return 0==this.compareTo(t)},l.prototype.min=function(t){return this.compareTo(t)<0?this:t},l.prototype.max=function(t){return this.compareTo(t)>0?this:t},l.prototype.and=function(t){var e=p();return this.bitwiseTo(t,C,e),e},l.prototype.or=function(t){var e=p();return this.bitwiseTo(t,I,e),e},l.prototype.xor=function(t){var e=p();return this.bitwiseTo(t,x,e),e},l.prototype.andNot=function(t){var e=p();return this.bitwiseTo(t,_,e),e},l.prototype.not=function(){for(var t=p(),e=0;e=this.t?0!=this.s:!!(this[e]&1<1){var a=p();for(n.sqrTo(s[1],a);l<=h;)s[l]=p(),n.mulTo(a,s[l-2],s[l]),l+=2}var f,d,P=t.t-1,C=!0,I=p();for(o=y(t[P])-1;P>=0;){for(o>=u?f=t[P]>>o-u&h:(f=(t[P]&(1<0&&(f|=t[P-1]>>this.DB+o-u)),l=i;!(1&f);)f>>=1,--l;if((o-=l)<0&&(o+=this.DB,--P),C)s[f].copyTo(r),C=!1;else{for(;l>1;)n.sqrTo(r,I),n.sqrTo(I,r),l-=2;l>0?n.sqrTo(r,I):(d=r,r=I,I=d),n.mulTo(I,s[f],r)}for(;P>=0&&!(t[P]&1<=0?(i.subTo(n,i),e&&o.subTo(s,o),r.subTo(p,r)):(n.subTo(i,n),e&&s.subTo(o,s),p.subTo(r,p))}return 0!=n.compareTo(l.ONE)?l.ZERO:p.compareTo(t)>=0?p.subtract(t):p.signum()<0?(p.addTo(t,p),p.signum()<0?p.add(t):p):p},l.prototype.pow=function(t){return this.exp(t,new T)},l.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(e.compareTo(i)<0){var n=e;e=i,i=n}var o=e.getLowestSetBit(),r=i.getLowestSetBit();if(r<0)return e;for(o0&&(e.rShiftTo(r,e),i.rShiftTo(r,i));e.signum()>0;)(o=e.getLowestSetBit())>0&&e.rShiftTo(o,e),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),e.compareTo(i)>=0?(e.subTo(i,e),e.rShiftTo(1,e)):(i.subTo(e,i),i.rShiftTo(1,i));return r>0&&i.lShiftTo(r,i),i},l.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&i[0]<=O[O.length-1]){for(e=0;e0},Y.op_LessThan=function(t,e){return t.compareTo(e)<0},Y.op_Addition=function(t,e){return new Y(t,void 0,void 0).add(new Y(e,void 0,void 0))},Y.op_Subtraction=function(t,e){return new Y(t,void 0,void 0).subtract(new Y(e,void 0,void 0))},Y.Int128Mul=function(t,e){return new Y(t,void 0,void 0).multiply(new Y(e,void 0,void 0))},Y.op_Division=function(t,e){return t.divide(e)},Y.prototype.ToDouble=function(){return parseFloat(this.toString())};var S=function(t,e){var i;if(void 0===Object.getOwnPropertyNames){for(i in e.prototype)void 0!==t.prototype[i]&&t.prototype[i]!==Object.prototype[i]||(t.prototype[i]=e.prototype[i]);for(i in e)void 0===t[i]&&(t[i]=e[i]);t.$baseCtor=e}else{for(var n=Object.getOwnPropertyNames(e.prototype),o=0;o0?this.m_Childs[0]:this.GetNextSiblingUp()},e.PolyNode.prototype.GetNextSiblingUp=function(){return null===this.m_Parent?null:this.m_Index===this.m_Parent.m_Childs.length-1?this.m_Parent.GetNextSiblingUp():this.m_Parent.m_Childs[this.m_Index+1]},e.PolyNode.prototype.Childs=function(){return this.m_Childs},e.PolyNode.prototype.Parent=function(){return this.m_Parent},e.PolyNode.prototype.IsHole=function(){return this.IsHoleNode()},e.PolyTree=function(){this.m_AllPolys=[],e.PolyNode.call(this)},e.PolyTree.prototype.Clear=function(){for(var t=0,e=this.m_AllPolys.length;t0?this.m_Childs[0]:null},e.PolyTree.prototype.Total=function(){var t=this.m_AllPolys.length;return t>0&&this.m_Childs[0]!==this.m_AllPolys[0]&&t--,t},S(e.PolyTree,e.PolyNode),e.Math_Abs_Int64=e.Math_Abs_Int32=e.Math_Abs_Double=function(t){return Math.abs(t)},e.Math_Max_Int32_Int32=function(t,e){return Math.max(t,e)},s.msie||s.opera||s.safari?e.Cast_Int32=function(t){return 0|t}:e.Cast_Int32=function(t){return~~t},void 0===Number.toInteger&&(Number.toInteger=null),s.chrome?e.Cast_Int64=function(t){return t<-2147483648||t>2147483647?t<0?Math.ceil(t):Math.floor(t):~~t}:s.firefox&&"function"==typeof Number.toInteger?e.Cast_Int64=function(t){return Number.toInteger(t)}:s.msie7||s.msie8?e.Cast_Int64=function(t){return parseInt(t,10)}:s.msie?e.Cast_Int64=function(t){return t<-2147483648||t>2147483647?t<0?Math.ceil(t):Math.floor(t):0|t}:e.Cast_Int64=function(t){return t<0?Math.ceil(t):Math.floor(t)},e.Clear=function(t){t.length=0},e.PI=3.141592653589793,e.PI2=6.283185307179586,e.IntPoint=function(){var t=arguments,i=t.length;if(this.X=0,this.Y=0,e.use_xyz)if(this.Z=0,3===i)this.X=t[0],this.Y=t[1],this.Z=t[2];else if(2===i)this.X=t[0],this.Y=t[1],this.Z=0;else if(1===i)if(t[0]instanceof e.DoublePoint){var n=t[0];this.X=e.Clipper.Round(n.X),this.Y=e.Clipper.Round(n.Y),this.Z=0}else void 0===(o=t[0]).Z&&(o.Z=0),this.X=o.X,this.Y=o.Y,this.Z=o.Z;else this.X=0,this.Y=0,this.Z=0;else if(2===i)this.X=t[0],this.Y=t[1];else if(1===i)if(t[0]instanceof e.DoublePoint)n=t[0],this.X=e.Clipper.Round(n.X),this.Y=e.Clipper.Round(n.Y);else{var o=t[0];this.X=o.X,this.Y=o.Y}else this.X=0,this.Y=0},e.IntPoint.op_Equality=function(t,e){return t.X===e.X&&t.Y===e.Y},e.IntPoint.op_Inequality=function(t,e){return t.X!==e.X||t.Y!==e.Y},e.IntPoint0=function(){this.X=0,this.Y=0,e.use_xyz&&(this.Z=0)},e.IntPoint0.prototype=e.IntPoint.prototype,e.IntPoint1=function(t){this.X=t.X,this.Y=t.Y,e.use_xyz&&(void 0===t.Z?this.Z=0:this.Z=t.Z)},e.IntPoint1.prototype=e.IntPoint.prototype,e.IntPoint1dp=function(t){this.X=e.Clipper.Round(t.X),this.Y=e.Clipper.Round(t.Y),e.use_xyz&&(this.Z=0)},e.IntPoint1dp.prototype=e.IntPoint.prototype,e.IntPoint2=function(t,i,n){this.X=t,this.Y=i,e.use_xyz&&(this.Z=void 0===n?0:n)},e.IntPoint2.prototype=e.IntPoint.prototype,e.IntRect=function(){var t=arguments,e=t.length;if(4===e)this.left=t[0],this.top=t[1],this.right=t[2],this.bottom=t[3];else if(1===e){var i=t[0];this.left=i.left,this.top=i.top,this.right=i.right,this.bottom=i.bottom}else this.left=0,this.top=0,this.right=0,this.bottom=0},e.IntRect0=function(){this.left=0,this.top=0,this.right=0,this.bottom=0},e.IntRect0.prototype=e.IntRect.prototype,e.IntRect1=function(t){this.left=t.left,this.top=t.top,this.right=t.right,this.bottom=t.bottom},e.IntRect1.prototype=e.IntRect.prototype,e.IntRect4=function(t,e,i,n){this.left=t,this.top=e,this.right=i,this.bottom=n},e.IntRect4.prototype=e.IntRect.prototype,e.ClipType={ctIntersection:0,ctUnion:1,ctDifference:2,ctXor:3},e.PolyType={ptSubject:0,ptClip:1},e.PolyFillType={pftEvenOdd:0,pftNonZero:1,pftPositive:2,pftNegative:3},e.JoinType={jtSquare:0,jtRound:1,jtMiter:2},e.EndType={etOpenSquare:0,etOpenRound:1,etOpenButt:2,etClosedLine:3,etClosedPolygon:4},e.EdgeSide={esLeft:0,esRight:1},e.Direction={dRightToLeft:0,dLeftToRight:1},e.TEdge=function(){this.Bot=new e.IntPoint0,this.Curr=new e.IntPoint0,this.Top=new e.IntPoint0,this.Delta=new e.IntPoint0,this.Dx=0,this.PolyTyp=e.PolyType.ptSubject,this.Side=e.EdgeSide.esLeft,this.WindDelta=0,this.WindCnt=0,this.WindCnt2=0,this.OutIdx=0,this.Next=null,this.Prev=null,this.NextInLML=null,this.NextInAEL=null,this.PrevInAEL=null,this.NextInSEL=null,this.PrevInSEL=null},e.IntersectNode=function(){this.Edge1=null,this.Edge2=null,this.Pt=new e.IntPoint0},e.MyIntersectNodeSort=function(){},e.MyIntersectNodeSort.Compare=function(t,e){var i=e.Pt.Y-t.Pt.Y;return i>0?1:i<0?-1:0},e.LocalMinima=function(){this.Y=0,this.LeftBound=null,this.RightBound=null,this.Next=null},e.Scanbeam=function(){this.Y=0,this.Next=null},e.Maxima=function(){this.X=0,this.Next=null,this.Prev=null},e.OutRec=function(){this.Idx=0,this.IsHole=!1,this.IsOpen=!1,this.FirstLeft=null,this.Pts=null,this.BottomPt=null,this.PolyNode=null},e.OutPt=function(){this.Idx=0,this.Pt=new e.IntPoint0,this.Next=null,this.Prev=null},e.Join=function(){this.OutPt1=null,this.OutPt2=null,this.OffPt=new e.IntPoint0},e.ClipperBase=function(){this.m_MinimaList=null,this.m_CurrentLM=null,this.m_edges=new Array,this.m_UseFullRange=!1,this.m_HasOpenPaths=!1,this.PreserveCollinear=!1,this.m_Scanbeam=null,this.m_PolyOuts=null,this.m_ActiveEdges=null},e.ClipperBase.horizontal=-9007199254740992,e.ClipperBase.Skip=-2,e.ClipperBase.Unassigned=-1,e.ClipperBase.tolerance=1e-20,e.ClipperBase.loRange=47453132,e.ClipperBase.hiRange=0xfffffffffffff,e.ClipperBase.near_zero=function(t){return t>-e.ClipperBase.tolerance&&te.X==t.Xe.Y==t.Ye.X==t.Xe.Y==t.Ye.ClipperBase.hiRange||t.Y>e.ClipperBase.hiRange||-t.X>e.ClipperBase.hiRange||-t.Y>e.ClipperBase.hiRange)&&e.Error("Coordinate outside allowed range in RangeTest()."):(t.X>e.ClipperBase.loRange||t.Y>e.ClipperBase.loRange||-t.X>e.ClipperBase.loRange||-t.Y>e.ClipperBase.loRange)&&(i.Value=!0,this.RangeTest(t,i))},e.ClipperBase.prototype.InitEdge=function(t,i,n,o){t.Next=i,t.Prev=n,t.Curr.X=o.X,t.Curr.Y=o.Y,e.use_xyz&&(t.Curr.Z=o.Z),t.OutIdx=-1},e.ClipperBase.prototype.InitEdge2=function(t,i){t.Curr.Y>=t.Next.Curr.Y?(t.Bot.X=t.Curr.X,t.Bot.Y=t.Curr.Y,e.use_xyz&&(t.Bot.Z=t.Curr.Z),t.Top.X=t.Next.Curr.X,t.Top.Y=t.Next.Curr.Y,e.use_xyz&&(t.Top.Z=t.Next.Curr.Z)):(t.Top.X=t.Curr.X,t.Top.Y=t.Curr.Y,e.use_xyz&&(t.Top.Z=t.Curr.Z),t.Bot.X=t.Next.Curr.X,t.Bot.Y=t.Next.Curr.Y,e.use_xyz&&(t.Bot.Z=t.Next.Curr.Z)),this.SetDx(t),t.PolyTyp=i},e.ClipperBase.prototype.FindNextLocMin=function(t){for(var i;;){for(;e.IntPoint.op_Inequality(t.Bot,t.Prev.Bot)||e.IntPoint.op_Equality(t.Curr,t.Top);)t=t.Next;if(t.Dx!==e.ClipperBase.horizontal&&t.Prev.Dx!==e.ClipperBase.horizontal)break;for(;t.Prev.Dx===e.ClipperBase.horizontal;)t=t.Prev;for(i=t;t.Dx===e.ClipperBase.horizontal;)t=t.Next;if(t.Top.Y!==t.Prev.Bot.Y){i.Prev.Bot.Xr.Next.Top.X&&(r=o.Prev)}for(;t!==r;)t.NextInLML=t.Next,t.Dx===e.ClipperBase.horizontal&&t!==n&&t.Bot.X!==t.Prev.Top.X&&this.ReverseHorizontal(t),t=t.Next;t.Dx===e.ClipperBase.horizontal&&t!==n&&t.Bot.X!==t.Prev.Top.X&&this.ReverseHorizontal(t),r=r.Next}else{for(;r.Top.Y===r.Prev.Bot.Y&&r.Prev.OutIdx!==e.ClipperBase.Skip;)r=r.Prev;if(r.Dx===e.ClipperBase.horizontal&&r.Prev.OutIdx!==e.ClipperBase.Skip){for(o=r;o.Next.Dx===e.ClipperBase.horizontal;)o=o.Next;(o.Next.Top.X===r.Prev.Top.X||o.Next.Top.X>r.Prev.Top.X)&&(r=o.Next)}for(;t!==r;)t.NextInLML=t.Prev,t.Dx===e.ClipperBase.horizontal&&t!==n&&t.Bot.X!==t.Next.Top.X&&this.ReverseHorizontal(t),t=t.Prev;t.Dx===e.ClipperBase.horizontal&&t!==n&&t.Bot.X!==t.Next.Top.X&&this.ReverseHorizontal(t),r=r.Prev}return r},e.ClipperBase.prototype.AddPath=function(t,i,n){e.use_lines?n||i!==e.PolyType.ptClip||e.Error("AddPath: Open paths must be subject."):n||e.Error("AddPath: Open paths have been disabled.");var o=t.length-1;if(n)for(;o>0&&e.IntPoint.op_Equality(t[o],t[0]);)--o;for(;o>0&&e.IntPoint.op_Equality(t[o],t[o-1]);)--o;if(n&&o<2||!n&&o<1)return!1;for(var r=new Array,s=0;s<=o;s++)r.push(new e.TEdge);var l=!0;r[1].Curr.X=t[1].X,r[1].Curr.Y=t[1].Y,e.use_xyz&&(r[1].Curr.Z=t[1].Z);var p={Value:this.m_UseFullRange};for(this.RangeTest(t[0],p),this.m_UseFullRange=p.Value,p.Value=this.m_UseFullRange,this.RangeTest(t[o],p),this.m_UseFullRange=p.Value,this.InitEdge(r[0],r[1],r[o],t[0]),this.InitEdge(r[o],r[0],r[o-1],t[o]),s=o-1;s>=1;--s)p.Value=this.m_UseFullRange,this.RangeTest(t[s],p),this.m_UseFullRange=p.Value,this.InitEdge(r[s],r[s+1],r[s-1],t[s]);for(var u,h=r[0],a=h,f=h;;)if(a.Curr!==a.Next.Curr||!n&&a.Next===h){if(a.Prev===a.Next)break;if(!n||!e.ClipperBase.SlopesEqual4(a.Prev.Curr,a.Curr,a.Next.Curr,this.m_UseFullRange)||this.PreserveCollinear&&this.Pt2IsBetweenPt1AndPt3(a.Prev.Curr,a.Curr,a.Next.Curr)){if((a=a.Next)===f||!n&&a.Next===h)break}else a===h&&(h=a.Next),f=a=(a=this.RemoveEdge(a)).Prev}else{if(a===a.Next)break;a===h&&(h=a.Next),f=a=this.RemoveEdge(a)}if(!n&&a===a.Next||n&&a.Prev===a.Next)return!1;n||(this.m_HasOpenPaths=!0,h.Prev.OutIdx=e.ClipperBase.Skip),a=h;do{this.InitEdge2(a,i),a=a.Next,l&&a.Curr.Y!==h.Curr.Y&&(l=!1)}while(a!==h);if(l){if(n)return!1;for(a.Prev.OutIdx=e.ClipperBase.Skip,(P=new e.LocalMinima).Next=null,P.Y=a.Bot.Y,P.LeftBound=null,P.RightBound=a,P.RightBound.Side=e.EdgeSide.esRight,P.RightBound.WindDelta=0;a.Bot.X!==a.Prev.Top.X&&this.ReverseHorizontal(a),a.Next.OutIdx!==e.ClipperBase.Skip;)a.NextInLML=a.Next,a=a.Next;return this.InsertLocalMinima(P),this.m_edges.push(r),!0}this.m_edges.push(r);var d=null;for(e.IntPoint.op_Equality(a.Prev.Bot,a.Prev.Top)&&(a=a.Next);(a=this.FindNextLocMin(a))!==d;){var P;null===d&&(d=a),(P=new e.LocalMinima).Next=null,P.Y=a.Bot.Y,a.Dxt.X==i.Xt.Y==i.Y=this.m_MinimaList.Y)t.Next=this.m_MinimaList,this.m_MinimaList=t;else{for(var e=this.m_MinimaList;null!==e.Next&&t.Ythis.m_Scanbeam.Y){var i=new e.Scanbeam;i.Y=t,i.Next=this.m_Scanbeam,this.m_Scanbeam=i}else{for(var n=this.m_Scanbeam;null!==n.Next&&t<=n.Next.Y;)n=n.Next;if(t===n.Y)return;var o=new e.Scanbeam;o.Y=t,o.Next=n.Next,n.Next=o}},e.ClipperBase.prototype.PopScanbeam=function(t){return null===this.m_Scanbeam?(t.v=0,!1):(t.v=this.m_Scanbeam.Y,this.m_Scanbeam=this.m_Scanbeam.Next,!0)},e.ClipperBase.prototype.LocalMinimaPending=function(){return null!==this.m_CurrentLM},e.ClipperBase.prototype.CreateOutRec=function(){var t=new e.OutRec;return t.Idx=e.ClipperBase.Unassigned,t.IsHole=!1,t.IsOpen=!1,t.FirstLeft=null,t.Pts=null,t.BottomPt=null,t.PolyNode=null,this.m_PolyOuts.push(t),t.Idx=this.m_PolyOuts.length-1,t},e.ClipperBase.prototype.DisposeOutRec=function(t){var e=this.m_PolyOuts[t];e.Pts=null,e=null,this.m_PolyOuts[t]=null},e.ClipperBase.prototype.UpdateEdgeIntoAEL=function(t){null===t.NextInLML&&e.Error("UpdateEdgeIntoAEL: invalid call");var i=t.PrevInAEL,n=t.NextInAEL;return t.NextInLML.OutIdx=t.OutIdx,null!==i?i.NextInAEL=t.NextInLML:this.m_ActiveEdges=t.NextInLML,null!==n&&(n.PrevInAEL=t.NextInLML),t.NextInLML.Side=t.Side,t.NextInLML.WindDelta=t.WindDelta,t.NextInLML.WindCnt=t.WindCnt,t.NextInLML.WindCnt2=t.WindCnt2,(t=t.NextInLML).Curr.X=t.Bot.X,t.Curr.Y=t.Bot.Y,t.PrevInAEL=i,t.NextInAEL=n,e.ClipperBase.IsHorizontal(t)||this.InsertScanbeam(t.Top.Y),t},e.ClipperBase.prototype.SwapPositionsInAEL=function(t,e){if(t.NextInAEL!==t.PrevInAEL&&e.NextInAEL!==e.PrevInAEL){if(t.NextInAEL===e){var i=e.NextInAEL;null!==i&&(i.PrevInAEL=t);var n=t.PrevInAEL;null!==n&&(n.NextInAEL=e),e.PrevInAEL=n,e.NextInAEL=t,t.PrevInAEL=e,t.NextInAEL=i}else if(e.NextInAEL===t){var o=t.NextInAEL;null!==o&&(o.PrevInAEL=e);var r=e.PrevInAEL;null!==r&&(r.NextInAEL=t),t.PrevInAEL=r,t.NextInAEL=e,e.PrevInAEL=t,e.NextInAEL=o}else{var s=t.NextInAEL,l=t.PrevInAEL;t.NextInAEL=e.NextInAEL,null!==t.NextInAEL&&(t.NextInAEL.PrevInAEL=t),t.PrevInAEL=e.PrevInAEL,null!==t.PrevInAEL&&(t.PrevInAEL.NextInAEL=t),e.NextInAEL=s,null!==e.NextInAEL&&(e.NextInAEL.PrevInAEL=e),e.PrevInAEL=l,null!==e.PrevInAEL&&(e.PrevInAEL.NextInAEL=e)}null===t.PrevInAEL?this.m_ActiveEdges=t:null===e.PrevInAEL&&(this.m_ActiveEdges=e)}},e.ClipperBase.prototype.DeleteFromAEL=function(t){var e=t.PrevInAEL,i=t.NextInAEL;null===e&&null===i&&t!==this.m_ActiveEdges||(null!==e?e.NextInAEL=i:this.m_ActiveEdges=i,null!==i&&(i.PrevInAEL=e),t.NextInAEL=null,t.PrevInAEL=null)},e.Clipper=function(t){void 0===t&&(t=0),this.m_PolyOuts=null,this.m_ClipType=e.ClipType.ctIntersection,this.m_Scanbeam=null,this.m_Maxima=null,this.m_ActiveEdges=null,this.m_SortedEdges=null,this.m_IntersectList=null,this.m_IntersectNodeComparer=null,this.m_ExecuteLocked=!1,this.m_ClipFillType=e.PolyFillType.pftEvenOdd,this.m_SubjFillType=e.PolyFillType.pftEvenOdd,this.m_Joins=null,this.m_GhostJoins=null,this.m_UsingPolyTree=!1,this.ReverseSolution=!1,this.StrictlySimple=!1,e.ClipperBase.call(this),this.m_Scanbeam=null,this.m_Maxima=null,this.m_ActiveEdges=null,this.m_SortedEdges=null,this.m_IntersectList=new Array,this.m_IntersectNodeComparer=e.MyIntersectNodeSort.Compare,this.m_ExecuteLocked=!1,this.m_UsingPolyTree=!1,this.m_PolyOuts=new Array,this.m_Joins=new Array,this.m_GhostJoins=new Array,this.ReverseSolution=!!(1&t),this.StrictlySimple=!!(2&t),this.PreserveCollinear=!!(4&t),e.use_xyz&&(this.ZFillFunction=null)},e.Clipper.ioReverseSolution=1,e.Clipper.ioStrictlySimple=2,e.Clipper.ioPreserveCollinear=4,e.Clipper.prototype.Clear=function(){0!==this.m_edges.length&&(this.DisposeAllPolyPts(),e.ClipperBase.prototype.Clear.call(this))},e.Clipper.prototype.InsertMaxima=function(t){var i=new e.Maxima;if(i.X=t,null===this.m_Maxima)this.m_Maxima=i,this.m_Maxima.Next=null,this.m_Maxima.Prev=null;else if(t=n.Next.X;)n=n.Next;if(t===n.X)return;i.Next=n.Next,i.Prev=n,null!==n.Next&&(n.Next.Prev=i),n.Next=i}},e.Clipper.prototype.Execute=function(){var t=arguments,i=t.length,n=t[1]instanceof e.PolyTree;if(4===i&&!n){var o=t[0],r=t[1],s=t[2],l=t[3];if(this.m_ExecuteLocked)return!1;this.m_HasOpenPaths&&e.Error("Error: PolyTree struct is needed for open path clipping."),this.m_ExecuteLocked=!0,e.Clear(r),this.m_SubjFillType=s,this.m_ClipFillType=l,this.m_ClipType=o,this.m_UsingPolyTree=!1;try{(u=this.ExecuteInternal())&&this.BuildResult(r)}finally{this.DisposeAllPolyPts(),this.m_ExecuteLocked=!1}return u}if(4===i&&n){o=t[0];var p=t[1];if(s=t[2],l=t[3],this.m_ExecuteLocked)return!1;this.m_ExecuteLocked=!0,this.m_SubjFillType=s,this.m_ClipFillType=l,this.m_ClipType=o,this.m_UsingPolyTree=!0;try{var u;(u=this.ExecuteInternal())&&this.BuildResult2(p)}finally{this.DisposeAllPolyPts(),this.m_ExecuteLocked=!1}return u}return 2!==i||n?2===i&&n?(o=t[0],p=t[1],this.Execute(o,p,e.PolyFillType.pftEvenOdd,e.PolyFillType.pftEvenOdd)):void 0:(o=t[0],r=t[1],this.Execute(o,r,e.PolyFillType.pftEvenOdd,e.PolyFillType.pftEvenOdd))},e.Clipper.prototype.FixHoleLinkage=function(t){if(null!==t.FirstLeft&&(t.IsHole===t.FirstLeft.IsHole||null===t.FirstLeft.Pts)){for(var e=t.FirstLeft;null!==e&&(e.IsHole===t.IsHole||null===e.Pts);)e=e.FirstLeft;t.FirstLeft=e}},e.Clipper.prototype.ExecuteInternal=function(){try{this.Reset(),this.m_SortedEdges=null,this.m_Maxima=null;var t,e,i,n={},o={};if(!this.PopScanbeam(n))return!1;for(this.InsertLocalMinimaIntoAEL(n.v);this.PopScanbeam(o)||this.LocalMinimaPending();){if(this.ProcessHorizontals(),this.m_GhostJoins.length=0,!this.ProcessIntersections(o.v))return!1;this.ProcessEdgesAtTopOfScanbeam(o.v),n.v=o.v,this.InsertLocalMinimaIntoAEL(n.v)}for(e=0,i=this.m_PolyOuts.length;e0&&this.ReversePolyPtLinks(t.Pts);for(this.JoinCommonEdges(),e=0,i=this.m_PolyOuts.length;e0&&0!==n.WindDelta)for(var s=0,l=this.m_GhostJoins.length;s=0&&null!==i.PrevInAEL&&i.PrevInAEL.Curr.X===i.Bot.X&&i.PrevInAEL.OutIdx>=0&&e.ClipperBase.SlopesEqual5(i.PrevInAEL.Curr,i.PrevInAEL.Top,i.Curr,i.Top,this.m_UseFullRange)&&0!==i.WindDelta&&0!==i.PrevInAEL.WindDelta){var u=this.AddOutPt(i.PrevInAEL,i.Bot);this.AddJoin(r,u,i.Top)}if(i.NextInAEL!==n){n.OutIdx>=0&&n.PrevInAEL.OutIdx>=0&&e.ClipperBase.SlopesEqual5(n.PrevInAEL.Curr,n.PrevInAEL.Top,n.Curr,n.Top,this.m_UseFullRange)&&0!==n.WindDelta&&0!==n.PrevInAEL.WindDelta&&(u=this.AddOutPt(n.PrevInAEL,n.Bot),this.AddJoin(r,u,n.Top));var h=i.NextInAEL;if(null!==h)for(;h!==n;)this.IntersectEdges(n,h,i.Curr),h=h.NextInAEL}}}},e.Clipper.prototype.InsertEdgeIntoAEL=function(t,e){if(null===this.m_ActiveEdges)t.PrevInAEL=null,t.NextInAEL=null,this.m_ActiveEdges=t;else if(null===e&&this.E2InsertsBeforeE1(this.m_ActiveEdges,t))t.PrevInAEL=null,t.NextInAEL=this.m_ActiveEdges,this.m_ActiveEdges.PrevInAEL=t,this.m_ActiveEdges=t;else{for(null===e&&(e=this.m_ActiveEdges);null!==e.NextInAEL&&!this.E2InsertsBeforeE1(e.NextInAEL,t);)e=e.NextInAEL;t.NextInAEL=e.NextInAEL,null!==e.NextInAEL&&(e.NextInAEL.PrevInAEL=t),t.PrevInAEL=e,e.NextInAEL=t}},e.Clipper.prototype.E2InsertsBeforeE1=function(t,i){return i.Curr.X===t.Curr.X?i.Top.Y>t.Top.Y?i.Top.Xe.Clipper.TopX(i,t.Top.Y):i.Curr.X0;default:return t.WindCnt2<0}case e.ClipType.ctUnion:switch(n){case e.PolyFillType.pftEvenOdd:case e.PolyFillType.pftNonZero:return 0===t.WindCnt2;case e.PolyFillType.pftPositive:return t.WindCnt2<=0;default:return t.WindCnt2>=0}case e.ClipType.ctDifference:if(t.PolyTyp===e.PolyType.ptSubject)switch(n){case e.PolyFillType.pftEvenOdd:case e.PolyFillType.pftNonZero:return 0===t.WindCnt2;case e.PolyFillType.pftPositive:return t.WindCnt2<=0;default:return t.WindCnt2>=0}else switch(n){case e.PolyFillType.pftEvenOdd:case e.PolyFillType.pftNonZero:return 0!==t.WindCnt2;case e.PolyFillType.pftPositive:return t.WindCnt2>0;default:return t.WindCnt2<0}case e.ClipType.ctXor:if(0!==t.WindDelta)return!0;switch(n){case e.PolyFillType.pftEvenOdd:case e.PolyFillType.pftNonZero:return 0===t.WindCnt2;case e.PolyFillType.pftPositive:return t.WindCnt2<=0;default:return t.WindCnt2>=0}}return!0},e.Clipper.prototype.SetWindingCount=function(t){for(var i=t.PrevInAEL;null!==i&&(i.PolyTyp!==t.PolyTyp||0===i.WindDelta);)i=i.PrevInAEL;if(null===i){var n=t.PolyTyp===e.PolyType.ptSubject?this.m_SubjFillType:this.m_ClipFillType;0===t.WindDelta?t.WindCnt=n===e.PolyFillType.pftNegative?-1:1:t.WindCnt=t.WindDelta,t.WindCnt2=0,i=this.m_ActiveEdges}else if(0===t.WindDelta&&this.m_ClipType!==e.ClipType.ctUnion)t.WindCnt=1,t.WindCnt2=i.WindCnt2,i=i.NextInAEL;else if(this.IsEvenOddFillType(t)){if(0===t.WindDelta){for(var o=!0,r=i.PrevInAEL;null!==r;)r.PolyTyp===i.PolyTyp&&0!==r.WindDelta&&(o=!o),r=r.PrevInAEL;t.WindCnt=o?0:1}else t.WindCnt=t.WindDelta;t.WindCnt2=i.WindCnt2,i=i.NextInAEL}else i.WindCnt*i.WindDelta<0?Math.abs(i.WindCnt)>1?i.WindDelta*t.WindDelta<0?t.WindCnt=i.WindCnt:t.WindCnt=i.WindCnt+t.WindDelta:t.WindCnt=0===t.WindDelta?1:t.WindDelta:0===t.WindDelta?t.WindCnt=i.WindCnt<0?i.WindCnt-1:i.WindCnt+1:i.WindDelta*t.WindDelta<0?t.WindCnt=i.WindCnt:t.WindCnt=i.WindCnt+t.WindDelta,t.WindCnt2=i.WindCnt2,i=i.NextInAEL;if(this.IsEvenOddAltFillType(t))for(;i!==t;)0!==i.WindDelta&&(t.WindCnt2=0===t.WindCnt2?1:0),i=i.NextInAEL;else for(;i!==t;)t.WindCnt2+=i.WindDelta,i=i.NextInAEL},e.Clipper.prototype.AddEdgeToSEL=function(t){null===this.m_SortedEdges?(this.m_SortedEdges=t,t.PrevInSEL=null,t.NextInSEL=null):(t.NextInSEL=this.m_SortedEdges,t.PrevInSEL=null,this.m_SortedEdges.PrevInSEL=t,this.m_SortedEdges=t)},e.Clipper.prototype.PopEdgeFromSEL=function(t){if(t.v=this.m_SortedEdges,null===t.v)return!1;var e=t.v;return this.m_SortedEdges=t.v.NextInSEL,null!==this.m_SortedEdges&&(this.m_SortedEdges.PrevInSEL=null),e.NextInSEL=null,e.PrevInSEL=null,!0},e.Clipper.prototype.CopyAELToSEL=function(){var t=this.m_ActiveEdges;for(this.m_SortedEdges=t;null!==t;)t.PrevInSEL=t.PrevInAEL,t.NextInSEL=t.NextInAEL,t=t.NextInAEL},e.Clipper.prototype.SwapPositionsInSEL=function(t,e){if(!(null===t.NextInSEL&&null===t.PrevInSEL||null===e.NextInSEL&&null===e.PrevInSEL)){if(t.NextInSEL===e)null!==(i=e.NextInSEL)&&(i.PrevInSEL=t),null!==(n=t.PrevInSEL)&&(n.NextInSEL=e),e.PrevInSEL=n,e.NextInSEL=t,t.PrevInSEL=e,t.NextInSEL=i;else if(e.NextInSEL===t)null!==(i=t.NextInSEL)&&(i.PrevInSEL=e),null!==(n=e.PrevInSEL)&&(n.NextInSEL=t),t.PrevInSEL=n,t.NextInSEL=e,e.PrevInSEL=t,e.NextInSEL=i;else{var i=t.NextInSEL,n=t.PrevInSEL;t.NextInSEL=e.NextInSEL,null!==t.NextInSEL&&(t.NextInSEL.PrevInSEL=t),t.PrevInSEL=e.PrevInSEL,null!==t.PrevInSEL&&(t.PrevInSEL.NextInSEL=t),e.NextInSEL=i,null!==e.NextInSEL&&(e.NextInSEL.PrevInSEL=e),e.PrevInSEL=n,null!==e.PrevInSEL&&(e.PrevInSEL.NextInSEL=e)}null===t.PrevInSEL?this.m_SortedEdges=t:null===e.PrevInSEL&&(this.m_SortedEdges=e)}},e.Clipper.prototype.AddLocalMaxPoly=function(t,e,i){this.AddOutPt(t,i),0===e.WindDelta&&this.AddOutPt(e,i),t.OutIdx===e.OutIdx?(t.OutIdx=-1,e.OutIdx=-1):t.OutIdxi.Dx?(o=this.AddOutPt(t,n),i.OutIdx=t.OutIdx,t.Side=e.EdgeSide.esLeft,i.Side=e.EdgeSide.esRight,s=(r=t).PrevInAEL===i?i.PrevInAEL:r.PrevInAEL):(o=this.AddOutPt(i,n),t.OutIdx=i.OutIdx,t.Side=e.EdgeSide.esRight,i.Side=e.EdgeSide.esLeft,s=(r=i).PrevInAEL===t?t.PrevInAEL:r.PrevInAEL),null!==s&&s.OutIdx>=0&&s.Top.Ye&&(o=t,t=e,e=o),i>n&&(o=i,i=n,n=o),t=0&&0!==i.WindDelta&&(null===n?n=i:n.OutIdx===i.OutIdx&&(n=null)),i=i.PrevInAEL;null===n?(e.FirstLeft=null,e.IsHole=!1):(e.FirstLeft=this.m_PolyOuts[n.OutIdx],e.IsHole=!e.FirstLeft.IsHole)},e.Clipper.prototype.GetDx=function(t,i){return t.Y===i.Y?e.ClipperBase.horizontal:(i.X-t.X)/(i.Y-t.Y)},e.Clipper.prototype.FirstIsBottomPt=function(t,i){for(var n=t.Prev;e.IntPoint.op_Equality(n.Pt,t.Pt)&&n!==t;)n=n.Prev;var o=Math.abs(this.GetDx(t.Pt,n.Pt));for(n=t.Next;e.IntPoint.op_Equality(n.Pt,t.Pt)&&n!==t;)n=n.Next;var r=Math.abs(this.GetDx(t.Pt,n.Pt));for(n=i.Prev;e.IntPoint.op_Equality(n.Pt,i.Pt)&&n!==i;)n=n.Prev;var s=Math.abs(this.GetDx(i.Pt,n.Pt));for(n=i.Next;e.IntPoint.op_Equality(n.Pt,i.Pt)&&n!==i;)n=n.Next;var l=Math.abs(this.GetDx(i.Pt,n.Pt));return Math.max(o,r)===Math.max(s,l)&&Math.min(o,r)===Math.min(s,l)?this.Area(t)>0:o>=s&&o>=l||r>=s&&r>=l},e.Clipper.prototype.GetBottomPt=function(t){for(var i=null,n=t.Next;n!==t;)n.Pt.Y>t.Pt.Y?(t=n,i=null):n.Pt.Y===t.Pt.Y&&n.Pt.X<=t.Pt.X&&(n.Pt.Xn.Pt.Y?t:i.Pt.Yn.Pt.X||i.Next===i?e:n.Next===n||this.FirstIsBottomPt(i,n)?t:e},e.Clipper.prototype.OutRec1RightOfOutRec2=function(t,e){do{if((t=t.FirstLeft)===e)return!0}while(null!==t);return!1},e.Clipper.prototype.GetOutRec=function(t){for(var e=this.m_PolyOuts[t];e!==this.m_PolyOuts[e.Idx];)e=this.m_PolyOuts[e.Idx];return e},e.Clipper.prototype.AppendPolygon=function(t,i){var n,o=this.m_PolyOuts[t.OutIdx],r=this.m_PolyOuts[i.OutIdx];n=this.OutRec1RightOfOutRec2(o,r)?r:this.OutRec1RightOfOutRec2(r,o)?o:this.GetLowermostRec(o,r);var s=o.Pts,l=s.Prev,p=r.Pts,u=p.Prev;t.Side===e.EdgeSide.esLeft?i.Side===e.EdgeSide.esLeft?(this.ReversePolyPtLinks(p),p.Next=s,s.Prev=p,l.Next=u,u.Prev=l,o.Pts=u):(u.Next=s,s.Prev=u,p.Prev=l,l.Next=p,o.Pts=p):i.Side===e.EdgeSide.esRight?(this.ReversePolyPtLinks(p),l.Next=u,u.Prev=l,p.Next=s,s.Prev=p):(l.Next=p,p.Prev=l,s.Prev=u,u.Next=s),o.BottomPt=null,n===r&&(r.FirstLeft!==o&&(o.FirstLeft=r.FirstLeft),o.IsHole=r.IsHole),r.Pts=null,r.BottomPt=null,r.FirstLeft=o;var h=t.OutIdx,a=i.OutIdx;t.OutIdx=-1,i.OutIdx=-1;for(var f=this.m_ActiveEdges;null!==f;){if(f.OutIdx===a){f.OutIdx=h,f.Side=t.Side;break}f=f.NextInAEL}r.Idx=o.Idx},e.Clipper.prototype.ReversePolyPtLinks=function(t){if(null!==t){var e,i;e=t;do{i=e.Next,e.Next=e.Prev,e.Prev=i,e=i}while(e!==t)}},e.Clipper.SwapSides=function(t,e){var i=t.Side;t.Side=e.Side,e.Side=i},e.Clipper.SwapPolyIndexes=function(t,e){var i=t.OutIdx;t.OutIdx=e.OutIdx,e.OutIdx=i},e.Clipper.prototype.IntersectEdges=function(t,i,n){var o=t.OutIdx>=0,r=i.OutIdx>=0;if(e.use_xyz&&this.SetZ(n,t,i),!e.use_lines||0!==t.WindDelta&&0!==i.WindDelta){if(t.PolyTyp===i.PolyTyp)if(this.IsEvenOddFillType(t)){var s=t.WindCnt;t.WindCnt=i.WindCnt,i.WindCnt=s}else t.WindCnt+i.WindDelta===0?t.WindCnt=-t.WindCnt:t.WindCnt+=i.WindDelta,i.WindCnt-t.WindDelta==0?i.WindCnt=-i.WindCnt:i.WindCnt-=t.WindDelta;else this.IsEvenOddFillType(i)?t.WindCnt2=0===t.WindCnt2?1:0:t.WindCnt2+=i.WindDelta,this.IsEvenOddFillType(t)?i.WindCnt2=0===i.WindCnt2?1:0:i.WindCnt2-=t.WindDelta;var l,p,u,h,a,f;switch(t.PolyTyp===e.PolyType.ptSubject?(l=this.m_SubjFillType,u=this.m_ClipFillType):(l=this.m_ClipFillType,u=this.m_SubjFillType),i.PolyTyp===e.PolyType.ptSubject?(p=this.m_SubjFillType,h=this.m_ClipFillType):(p=this.m_ClipFillType,h=this.m_SubjFillType),l){case e.PolyFillType.pftPositive:a=t.WindCnt;break;case e.PolyFillType.pftNegative:a=-t.WindCnt;break;default:a=Math.abs(t.WindCnt)}switch(p){case e.PolyFillType.pftPositive:f=i.WindCnt;break;case e.PolyFillType.pftNegative:f=-i.WindCnt;break;default:f=Math.abs(i.WindCnt)}if(o&&r)0!==a&&1!==a||0!==f&&1!==f||t.PolyTyp!==i.PolyTyp&&this.m_ClipType!==e.ClipType.ctXor?this.AddLocalMaxPoly(t,i,n):(this.AddOutPt(t,n),this.AddOutPt(i,n),e.Clipper.SwapSides(t,i),e.Clipper.SwapPolyIndexes(t,i));else if(o)0!==f&&1!==f||(this.AddOutPt(t,n),e.Clipper.SwapSides(t,i),e.Clipper.SwapPolyIndexes(t,i));else if(r)0!==a&&1!==a||(this.AddOutPt(i,n),e.Clipper.SwapSides(t,i),e.Clipper.SwapPolyIndexes(t,i));else if(!(0!==a&&1!==a||0!==f&&1!==f)){var d,P;switch(u){case e.PolyFillType.pftPositive:d=t.WindCnt2;break;case e.PolyFillType.pftNegative:d=-t.WindCnt2;break;default:d=Math.abs(t.WindCnt2)}switch(h){case e.PolyFillType.pftPositive:P=i.WindCnt2;break;case e.PolyFillType.pftNegative:P=-i.WindCnt2;break;default:P=Math.abs(i.WindCnt2)}if(t.PolyTyp!==i.PolyTyp)this.AddLocalMinPoly(t,i,n);else if(1===a&&1===f)switch(this.m_ClipType){case e.ClipType.ctIntersection:d>0&&P>0&&this.AddLocalMinPoly(t,i,n);break;case e.ClipType.ctUnion:d<=0&&P<=0&&this.AddLocalMinPoly(t,i,n);break;case e.ClipType.ctDifference:(t.PolyTyp===e.PolyType.ptClip&&d>0&&P>0||t.PolyTyp===e.PolyType.ptSubject&&d<=0&&P<=0)&&this.AddLocalMinPoly(t,i,n);break;case e.ClipType.ctXor:this.AddLocalMinPoly(t,i,n)}else e.Clipper.SwapSides(t,i)}}else{if(0===t.WindDelta&&0===i.WindDelta)return;t.PolyTyp===i.PolyTyp&&t.WindDelta!==i.WindDelta&&this.m_ClipType===e.ClipType.ctUnion?0===t.WindDelta?r&&(this.AddOutPt(t,n),o&&(t.OutIdx=-1)):o&&(this.AddOutPt(i,n),r&&(i.OutIdx=-1)):t.PolyTyp!==i.PolyTyp&&(0!==t.WindDelta||1!==Math.abs(i.WindCnt)||this.m_ClipType===e.ClipType.ctUnion&&0!==i.WindCnt2?0!==i.WindDelta||1!==Math.abs(t.WindCnt)||this.m_ClipType===e.ClipType.ctUnion&&0!==t.WindCnt2||(this.AddOutPt(i,n),r&&(i.OutIdx=-1)):(this.AddOutPt(t,n),o&&(t.OutIdx=-1)))}},e.Clipper.prototype.DeleteFromSEL=function(t){var e=t.PrevInSEL,i=t.NextInSEL;null===e&&null===i&&t!==this.m_SortedEdges||(null!==e?e.NextInSEL=i:this.m_SortedEdges=i,null!==i&&(i.PrevInSEL=e),t.NextInSEL=null,t.PrevInSEL=null)},e.Clipper.prototype.ProcessHorizontals=function(){for(var t={};this.PopEdgeFromSEL(t);)this.ProcessHorizontal(t.v)},e.Clipper.prototype.GetHorzDirection=function(t,i){t.Bot.X=l.Top.X&&(u=null)}else{for(;null!==u.Next&&u.Next.X=0&&!s&&this.AddOutPt(t,new e.IntPoint2(u.X,t.Bot.Y)),u=u.Next;else for(;null!==u&&u.X>f.Curr.X;)t.OutIdx>=0&&!s&&this.AddOutPt(t,new e.IntPoint2(u.X,t.Bot.Y)),u=u.Prev;if(n===e.Direction.dLeftToRight&&f.Curr.X>r||n===e.Direction.dRightToLeft&&f.Curr.X=0&&!s){e.use_xyz&&(n===e.Direction.dLeftToRight?this.SetZ(f.Curr,t,f):this.SetZ(f.Curr,f,t)),h=this.AddOutPt(t,f.Curr);for(var d=this.m_SortedEdges;null!==d;){if(d.OutIdx>=0&&this.HorzSegmentsOverlap(t.Bot.X,t.Top.X,d.Bot.X,d.Top.X)){var P=this.GetLastOutPt(d);this.AddJoin(P,h,d.Top)}d=d.NextInSEL}this.AddGhostJoin(h,t.Bot)}if(f===p&&a)return t.OutIdx>=0&&this.AddLocalMaxPoly(t,p,t.Top),this.DeleteFromAEL(t),void this.DeleteFromAEL(p);if(n===e.Direction.dLeftToRight){var m=new e.IntPoint2(f.Curr.X,t.Curr.Y);this.IntersectEdges(t,f,m)}else m=new e.IntPoint2(f.Curr.X,t.Curr.Y),this.IntersectEdges(f,t,m);var y=this.GetNextInAEL(f,n);this.SwapPositionsInAEL(t,f),f=y}if(null===t.NextInLML||!e.ClipperBase.IsHorizontal(t.NextInLML))break;(t=this.UpdateEdgeIntoAEL(t)).OutIdx>=0&&this.AddOutPt(t,t.Bot),i={Dir:n,Left:o,Right:r},this.GetHorzDirection(t,i),n=i.Dir,o=i.Left,r=i.Right}if(t.OutIdx>=0&&null===h){for(h=this.GetLastOutPt(t),d=this.m_SortedEdges;null!==d;)d.OutIdx>=0&&this.HorzSegmentsOverlap(t.Bot.X,t.Top.X,d.Bot.X,d.Top.X)&&(P=this.GetLastOutPt(d),this.AddJoin(P,h,d.Top)),d=d.NextInSEL;this.AddGhostJoin(h,t.Top)}if(null!==t.NextInLML)if(t.OutIdx>=0){if(h=this.AddOutPt(t,t.Top),0===(t=this.UpdateEdgeIntoAEL(t)).WindDelta)return;var c=t.PrevInAEL;y=t.NextInAEL,null!==c&&c.Curr.X===t.Bot.X&&c.Curr.Y===t.Bot.Y&&0===c.WindDelta&&c.OutIdx>=0&&c.Curr.Y>c.Top.Y&&e.ClipperBase.SlopesEqual3(t,c,this.m_UseFullRange)?(P=this.AddOutPt(c,t.Bot),this.AddJoin(h,P,t.Top)):null!==y&&y.Curr.X===t.Bot.X&&y.Curr.Y===t.Bot.Y&&0!==y.WindDelta&&y.OutIdx>=0&&y.Curr.Y>y.Top.Y&&e.ClipperBase.SlopesEqual3(t,y,this.m_UseFullRange)&&(P=this.AddOutPt(y,t.Bot),this.AddJoin(h,P,t.Top))}else t=this.UpdateEdgeIntoAEL(t);else t.OutIdx>=0&&this.AddOutPt(t,t.Top),this.DeleteFromAEL(t)},e.Clipper.prototype.GetNextInAEL=function(t,i){return i===e.Direction.dLeftToRight?t.NextInAEL:t.PrevInAEL},e.Clipper.prototype.IsMinima=function(t){return null!==t&&t.Prev.NextInLML!==t&&t.Next.NextInLML!==t},e.Clipper.prototype.IsMaxima=function(t,e){return null!==t&&t.Top.Y===e&&null===t.NextInLML},e.Clipper.prototype.IsIntermediate=function(t,e){return t.Top.Y===e&&null!==t.NextInLML},e.Clipper.prototype.GetMaximaPair=function(t){return e.IntPoint.op_Equality(t.Next.Top,t.Top)&&null===t.Next.NextInLML?t.Next:e.IntPoint.op_Equality(t.Prev.Top,t.Top)&&null===t.Prev.NextInLML?t.Prev:null},e.Clipper.prototype.GetMaximaPairEx=function(t){var i=this.GetMaximaPair(t);return null===i||i.OutIdx===e.ClipperBase.Skip||i.NextInAEL===i.PrevInAEL&&!e.ClipperBase.IsHorizontal(i)?null:i},e.Clipper.prototype.ProcessIntersections=function(t){if(null===this.m_ActiveEdges)return!0;try{if(this.BuildIntersectList(t),0===this.m_IntersectList.length)return!0;if(1!==this.m_IntersectList.length&&!this.FixupIntersectionOrder())return!1;this.ProcessIntersectList()}catch(i){this.m_SortedEdges=null,this.m_IntersectList.length=0,e.Error("ProcessIntersections error")}return this.m_SortedEdges=null,!0},e.Clipper.prototype.BuildIntersectList=function(t){if(null!==this.m_ActiveEdges){var i=this.m_ActiveEdges;for(this.m_SortedEdges=i;null!==i;)i.PrevInSEL=i.PrevInAEL,i.NextInSEL=i.NextInAEL,i.Curr.X=e.Clipper.TopX(i,t),i=i.NextInAEL;for(var n=!0;n&&null!==this.m_SortedEdges;){for(n=!1,i=this.m_SortedEdges;null!==i.NextInSEL;){var o=i.NextInSEL,r=new e.IntPoint0;if(i.Curr.X>o.Curr.X){this.IntersectPoint(i,o,r),r.Y2147483647?Math.floor(t):0|t}:e.Clipper.Round=function(t){return t<0?Math.ceil(t-.5):Math.floor(t+.5)},e.Clipper.TopX=function(t,i){return i===t.Top.Y?t.Top.X:t.Bot.X+e.Clipper.Round(t.Dx*(i-t.Bot.Y))},e.Clipper.prototype.IntersectPoint=function(t,i,n){var o,r;if(n.X=0,n.Y=0,t.Dx===i.Dx)return n.Y=t.Curr.Y,void(n.X=e.Clipper.TopX(t,n.Y));if(0===t.Delta.X)n.X=t.Bot.X,e.ClipperBase.IsHorizontal(i)?n.Y=i.Bot.Y:(r=i.Bot.Y-i.Bot.X/i.Dx,n.Y=e.Clipper.Round(n.X/i.Dx+r));else if(0===i.Delta.X)n.X=i.Bot.X,e.ClipperBase.IsHorizontal(t)?n.Y=t.Bot.Y:(o=t.Bot.Y-t.Bot.X/t.Dx,n.Y=e.Clipper.Round(n.X/t.Dx+o));else{o=t.Bot.X-t.Bot.Y*t.Dx;var s=((r=i.Bot.X-i.Bot.Y*i.Dx)-o)/(t.Dx-i.Dx);n.Y=e.Clipper.Round(s),Math.abs(t.Dx)i.Top.Y)return n.Y=t.Top.Y,n.X=e.Clipper.TopX(i,t.Top.Y),n.Xt.Curr.Y&&(n.Y=t.Curr.Y,Math.abs(t.Dx)>Math.abs(i.Dx)?n.X=e.Clipper.TopX(i,n.Y):n.X=e.Clipper.TopX(t,n.Y))},e.Clipper.prototype.ProcessEdgesAtTopOfScanbeam=function(t){for(var i=this.m_ActiveEdges;null!==i;){var n=this.IsMaxima(i,t);if(n){var o=this.GetMaximaPairEx(i);n=null===o||!e.ClipperBase.IsHorizontal(o)}if(n){this.StrictlySimple&&this.InsertMaxima(i.Top.X);var r=i.PrevInAEL;this.DoMaxima(i),i=null===r?this.m_ActiveEdges:r.NextInAEL}else{if(this.IsIntermediate(i,t)&&e.ClipperBase.IsHorizontal(i.NextInLML)?((i=this.UpdateEdgeIntoAEL(i)).OutIdx>=0&&this.AddOutPt(i,i.Bot),this.AddEdgeToSEL(i)):(i.Curr.X=e.Clipper.TopX(i,t),i.Curr.Y=t),e.use_xyz&&(i.Top.Y===t?i.Curr.Z=i.Top.Z:i.Bot.Y===t?i.Curr.Z=i.Bot.Z:i.Curr.Z=0),this.StrictlySimple&&(r=i.PrevInAEL,i.OutIdx>=0&&0!==i.WindDelta&&null!==r&&r.OutIdx>=0&&r.Curr.X===i.Curr.X&&0!==r.WindDelta)){var s=new e.IntPoint1(i.Curr);e.use_xyz&&this.SetZ(s,r,i);var l=this.AddOutPt(r,s),p=this.AddOutPt(i,s);this.AddJoin(l,p,s)}i=i.NextInAEL}}for(this.ProcessHorizontals(),this.m_Maxima=null,i=this.m_ActiveEdges;null!==i;){if(this.IsIntermediate(i,t)){l=null,i.OutIdx>=0&&(l=this.AddOutPt(i,i.Top)),r=(i=this.UpdateEdgeIntoAEL(i)).PrevInAEL;var u=i.NextInAEL;null!==r&&r.Curr.X===i.Bot.X&&r.Curr.Y===i.Bot.Y&&null!==l&&r.OutIdx>=0&&r.Curr.Y===r.Top.Y&&e.ClipperBase.SlopesEqual5(i.Curr,i.Top,r.Curr,r.Top,this.m_UseFullRange)&&0!==i.WindDelta&&0!==r.WindDelta?(p=this.AddOutPt(ePrev2,i.Bot),this.AddJoin(l,p,i.Top)):null!==u&&u.Curr.X===i.Bot.X&&u.Curr.Y===i.Bot.Y&&null!==l&&u.OutIdx>=0&&u.Curr.Y===u.Top.Y&&e.ClipperBase.SlopesEqual5(i.Curr,i.Top,u.Curr,u.Top,this.m_UseFullRange)&&0!==i.WindDelta&&0!==u.WindDelta&&(p=this.AddOutPt(u,i.Bot),this.AddJoin(l,p,i.Top))}i=i.NextInAEL}},e.Clipper.prototype.DoMaxima=function(t){var i=this.GetMaximaPairEx(t);if(null===i)return t.OutIdx>=0&&this.AddOutPt(t,t.Top),void this.DeleteFromAEL(t);for(var n=t.NextInAEL;null!==n&&n!==i;)this.IntersectEdges(t,n,t.Top),this.SwapPositionsInAEL(t,n),n=t.NextInAEL;-1===t.OutIdx&&-1===i.OutIdx?(this.DeleteFromAEL(t),this.DeleteFromAEL(i)):t.OutIdx>=0&&i.OutIdx>=0?(t.OutIdx>=0&&this.AddLocalMaxPoly(t,i,t.Top),this.DeleteFromAEL(t),this.DeleteFromAEL(i)):e.use_lines&&0===t.WindDelta?(t.OutIdx>=0&&(this.AddOutPt(t,t.Top),t.OutIdx=e.ClipperBase.Unassigned),this.DeleteFromAEL(t),i.OutIdx>=0&&(this.AddOutPt(i,t.Top),i.OutIdx=e.ClipperBase.Unassigned),this.DeleteFromAEL(i)):e.Error("DoMaxima error")},e.Clipper.ReversePaths=function(t){for(var e=0,i=t.length;e=0},e.Clipper.prototype.PointCount=function(t){if(null===t)return 0;var e=0,i=t;do{e++,i=i.Next}while(i!==t);return e},e.Clipper.prototype.BuildResult=function(t){e.Clear(t);for(var i=0,n=this.m_PolyOuts.length;ii.Pt.X?e.Direction.dRightToLeft:e.Direction.dLeftToRight,p=n.Pt.X>o.Pt.X?e.Direction.dRightToLeft:e.Direction.dLeftToRight;if(l===p)return!1;if(l===e.Direction.dLeftToRight){for(;t.Next.Pt.X<=r.X&&t.Next.Pt.X>=t.Pt.X&&t.Next.Pt.Y===r.Y;)t=t.Next;s&&t.Pt.X!==r.X&&(t=t.Next),i=this.DupOutPt(t,!s),e.IntPoint.op_Inequality(i.Pt,r)&&((t=i).Pt.X=r.X,t.Pt.Y=r.Y,e.use_xyz&&(t.Pt.Z=r.Z),i=this.DupOutPt(t,!s))}else{for(;t.Next.Pt.X>=r.X&&t.Next.Pt.X<=t.Pt.X&&t.Next.Pt.Y===r.Y;)t=t.Next;s||t.Pt.X===r.X||(t=t.Next),i=this.DupOutPt(t,s),e.IntPoint.op_Inequality(i.Pt,r)&&((t=i).Pt.X=r.X,t.Pt.Y=r.Y,e.use_xyz&&(t.Pt.Z=r.Z),i=this.DupOutPt(t,s))}if(p===e.Direction.dLeftToRight){for(;n.Next.Pt.X<=r.X&&n.Next.Pt.X>=n.Pt.X&&n.Next.Pt.Y===r.Y;)n=n.Next;s&&n.Pt.X!==r.X&&(n=n.Next),o=this.DupOutPt(n,!s),e.IntPoint.op_Inequality(o.Pt,r)&&((n=o).Pt.X=r.X,n.Pt.Y=r.Y,e.use_xyz&&(n.Pt.Z=r.Z),o=this.DupOutPt(n,!s))}else{for(;n.Next.Pt.X>=r.X&&n.Next.Pt.X<=n.Pt.X&&n.Next.Pt.Y===r.Y;)n=n.Next;s||n.Pt.X===r.X||(n=n.Next),o=this.DupOutPt(n,s),e.IntPoint.op_Inequality(o.Pt,r)&&((n=o).Pt.X=r.X,n.Pt.Y=r.Y,e.use_xyz&&(n.Pt.Z=r.Z),o=this.DupOutPt(n,s))}return l===e.Direction.dLeftToRight===s?(t.Prev=n,n.Next=t,i.Next=o,o.Prev=i):(t.Next=n,n.Prev=t,i.Prev=o,o.Next=i),!0},e.Clipper.prototype.JoinPoints=function(t,i,n){var o=t.OutPt1,r=new e.OutPt,s=t.OutPt2,l=new e.OutPt,p=t.OutPt1.Pt.Y===t.OffPt.Y;if(p&&e.IntPoint.op_Equality(t.OffPt,t.OutPt1.Pt)&&e.IntPoint.op_Equality(t.OffPt,t.OutPt2.Pt)){if(i!==n)return!1;for(r=t.OutPt1.Next;r!==o&&e.IntPoint.op_Equality(r.Pt,t.OffPt);)r=r.Next;var u=r.Pt.Y>t.OffPt.Y;for(l=t.OutPt2.Next;l!==s&&e.IntPoint.op_Equality(l.Pt,t.OffPt);)l=l.Next;return u!==l.Pt.Y>t.OffPt.Y&&(u?(r=this.DupOutPt(o,!1),l=this.DupOutPt(s,!0),o.Prev=s,s.Next=o,r.Next=l,l.Prev=r,t.OutPt1=o,t.OutPt2=r,!0):(r=this.DupOutPt(o,!0),l=this.DupOutPt(s,!1),o.Next=s,s.Prev=o,r.Prev=l,l.Next=r,t.OutPt1=o,t.OutPt2=r,!0))}if(p){for(r=o;o.Prev.Pt.Y===o.Pt.Y&&o.Prev!==r&&o.Prev!==s;)o=o.Prev;for(;r.Next.Pt.Y===r.Pt.Y&&r.Next!==o&&r.Next!==s;)r=r.Next;if(r.Next===o||r.Next===s)return!1;for(l=s;s.Prev.Pt.Y===s.Pt.Y&&s.Prev!==l&&s.Prev!==r;)s=s.Prev;for(;l.Next.Pt.Y===l.Pt.Y&&l.Next!==s&&l.Next!==o;)l=l.Next;if(l.Next===s||l.Next===o)return!1;var h={Left:null,Right:null};if(!this.GetOverlap(o.Pt.X,r.Pt.X,s.Pt.X,l.Pt.X,h))return!1;var a,f=h.Left,d=h.Right,P=new e.IntPoint0;return o.Pt.X>=f&&o.Pt.X<=d?(P.X=o.Pt.X,P.Y=o.Pt.Y,e.use_xyz&&(P.Z=o.Pt.Z),a=o.Pt.X>r.Pt.X):s.Pt.X>=f&&s.Pt.X<=d?(P.X=s.Pt.X,P.Y=s.Pt.Y,e.use_xyz&&(P.Z=s.Pt.Z),a=s.Pt.X>l.Pt.X):r.Pt.X>=f&&r.Pt.X<=d?(P.X=r.Pt.X,P.Y=r.Pt.Y,e.use_xyz&&(P.Z=r.Pt.Z),a=r.Pt.X>o.Pt.X):(P.X=l.Pt.X,P.Y=l.Pt.Y,e.use_xyz&&(P.Z=l.Pt.Z),a=l.Pt.X>s.Pt.X),t.OutPt1=o,t.OutPt2=s,this.JoinHorz(o,r,s,l,P,a)}for(r=o.Next;e.IntPoint.op_Equality(r.Pt,o.Pt)&&r!==o;)r=r.Next;var m=r.Pt.Y>o.Pt.Y||!e.ClipperBase.SlopesEqual4(o.Pt,r.Pt,t.OffPt,this.m_UseFullRange);if(m){for(r=o.Prev;e.IntPoint.op_Equality(r.Pt,o.Pt)&&r!==o;)r=r.Prev;if(r.Pt.Y>o.Pt.Y||!e.ClipperBase.SlopesEqual4(o.Pt,r.Pt,t.OffPt,this.m_UseFullRange))return!1}for(l=s.Next;e.IntPoint.op_Equality(l.Pt,s.Pt)&&l!==s;)l=l.Next;var y=l.Pt.Y>s.Pt.Y||!e.ClipperBase.SlopesEqual4(s.Pt,l.Pt,t.OffPt,this.m_UseFullRange);if(y){for(l=s.Prev;e.IntPoint.op_Equality(l.Pt,s.Pt)&&l!==s;)l=l.Prev;if(l.Pt.Y>s.Pt.Y||!e.ClipperBase.SlopesEqual4(s.Pt,l.Pt,t.OffPt,this.m_UseFullRange))return!1}return!(r===o||l===s||r===l||i===n&&m===y||(m?(r=this.DupOutPt(o,!1),l=this.DupOutPt(s,!0),o.Prev=s,s.Next=o,r.Next=l,l.Prev=r,t.OutPt1=o,t.OutPt2=r,0):(r=this.DupOutPt(o,!0),l=this.DupOutPt(s,!1),o.Next=s,s.Prev=o,r.Prev=l,l.Next=r,t.OutPt1=o,t.OutPt2=r,0)))},e.Clipper.GetBounds=function(t){for(var i=0,n=t.length;io.right&&(o.right=t[i][r].X),t[i][r].Yo.bottom&&(o.bottom=t[i][r].Y);return o},e.Clipper.prototype.GetBounds2=function(t){var i=t,n=new e.IntRect;for(n.left=t.Pt.X,n.right=t.Pt.X,n.top=t.Pt.Y,n.bottom=t.Pt.Y,t=t.Next;t!==i;)t.Pt.Xn.right&&(n.right=t.Pt.X),t.Pt.Yn.bottom&&(n.bottom=t.Pt.Y),t=t.Next;return n},e.Clipper.PointInPolygon=function(t,e){var i=0,n=e.length;if(n<3)return 0;for(var o=e[0],r=1;r<=n;++r){var s=r===n?e[0]:e[r];if(s.Y===t.Y&&(s.X===t.X||o.Y===t.Y&&s.X>t.X==o.X=t.X)if(s.X>t.X)i=1-i;else{if(0==(l=(o.X-t.X)*(s.Y-t.Y)-(s.X-t.X)*(o.Y-t.Y)))return-1;l>0==s.Y>o.Y&&(i=1-i)}else if(s.X>t.X){var l;if(0==(l=(o.X-t.X)*(s.Y-t.Y)-(s.X-t.X)*(o.Y-t.Y)))return-1;l>0==s.Y>o.Y&&(i=1-i)}o=s}return i},e.Clipper.prototype.PointInPolygon=function(t,e){var i=0,n=e,o=t.X,r=t.Y,s=e.Pt.X,l=e.Pt.Y;do{var p=(e=e.Next).Pt.X,u=e.Pt.Y;if(u===r&&(p===o||l===r&&p>o==s=o)if(p>o)i=1-i;else{if(0==(h=(s-o)*(u-r)-(p-o)*(l-r)))return-1;h>0==u>l&&(i=1-i)}else if(p>o){var h;if(0==(h=(s-o)*(u-r)-(p-o)*(l-r)))return-1;h>0==u>l&&(i=1-i)}s=p,l=u}while(n!==e);return i},e.Clipper.prototype.Poly2ContainsPoly1=function(t,e){var i=t;do{var n=this.PointInPolygon(i.Pt,e);if(n>=0)return n>0;i=i.Next}while(i!==t);return!0},e.Clipper.prototype.FixupFirstLefts1=function(t,i){for(var n,o,r=0,s=this.m_PolyOuts.length;r0&&this.ReversePolyPtLinks(r.Pts)):this.Poly2ContainsPoly1(o.Pts,r.Pts)?(r.IsHole=o.IsHole,o.IsHole=!r.IsHole,r.FirstLeft=o.FirstLeft,o.FirstLeft=r,this.m_UsingPolyTree&&this.FixupFirstLefts2(o,r),(o.IsHole^this.ReverseSolution)==this.Area$1(o)>0&&this.ReversePolyPtLinks(o.Pts)):(r.IsHole=o.IsHole,r.FirstLeft=o.FirstLeft,this.m_UsingPolyTree&&this.FixupFirstLefts1(o,r))):(r.Pts=null,r.BottomPt=null,r.Idx=o.Idx,o.IsHole=i.IsHole,i===r&&(o.FirstLeft=r.FirstLeft),r.FirstLeft=o,this.m_UsingPolyTree&&this.FixupFirstLefts3(r,o)))))}},e.Clipper.prototype.UpdateOutPtIdxs=function(t){var e=t.Pts;do{e.Idx=t.Idx,e=e.Prev}while(e!==t.Pts)},e.Clipper.prototype.DoSimplePolygons=function(){for(var t=0;tMath.abs(t.Y-i.Y)?t.X>i.X==t.Xt.X==i.Xi.Y==t.Yt.Y==i.Y0&&o&&n.push(t.m_polygon);for(var r=0,s=t.Childs(),l=s.length,p=s[r];r0&&e.IntPoint.op_Equality(t[0],t[o]);)o--;r.m_polygon.push(t[0]);for(var s=0,l=0,p=1;p<=o;p++)e.IntPoint.op_Inequality(r.m_polygon[s],t[p])&&(s++,r.m_polygon.push(t[p]),(t[p].Y>r.m_polygon[l].Y||t[p].Y===r.m_polygon[l].Y&&t[p].Xu.Y||r.m_polygon[l].Y===u.Y&&r.m_polygon[l].X=0&&!e.Clipper.Orientation(this.m_polyNodes.Childs()[this.m_lowest.X].m_polygon))for(var t=0;t2?this.m_miterLim=2/(this.MiterLimit*this.MiterLimit):this.m_miterLim=.5,n=this.ArcTolerance<=0?e.ClipperOffset.def_arc_tolerance:this.ArcTolerance>Math.abs(t)*e.ClipperOffset.def_arc_tolerance?Math.abs(t)*e.ClipperOffset.def_arc_tolerance:this.ArcTolerance;var o=3.14159265358979/Math.acos(1-n/Math.abs(t));for(this.m_sin=Math.sin(e.ClipperOffset.two_pi/o),this.m_cos=Math.cos(e.ClipperOffset.two_pi/o),this.m_StepsPerRad=o/e.ClipperOffset.two_pi,t<0&&(this.m_sin=-this.m_sin),i=0;i0;f--)this.m_normals[f]=new e.DoublePoint2(-this.m_normals[f-1].X,-this.m_normals[f-1].Y);for(this.m_normals[0]=new e.DoublePoint2(-p.X,-p.Y),l=0,f=s-1;f>=0;f--)l=this.OffsetPoint(f,l,r.m_jointype);this.m_destPolys.push(this.m_destPoly)}else{var u;for(l=0,f=1;f0;f--)this.m_normals[f]=new e.DoublePoint2(-this.m_normals[f-1].X,-this.m_normals[f-1].Y);for(this.m_normals[0]=new e.DoublePoint2(-this.m_normals[1].X,-this.m_normals[1].Y),f=(l=s-1)-1;f>0;--f)l=this.OffsetPoint(f,l,r.m_jointype);r.m_endtype===e.EndType.etOpenButt?(u=new e.IntPoint2(e.ClipperOffset.Round(this.m_srcPoly[0].X-this.m_normals[0].X*t),e.ClipperOffset.Round(this.m_srcPoly[0].Y-this.m_normals[0].Y*t)),this.m_destPoly.push(u),u=new e.IntPoint2(e.ClipperOffset.Round(this.m_srcPoly[0].X+this.m_normals[0].X*t),e.ClipperOffset.Round(this.m_srcPoly[0].Y+this.m_normals[0].Y*t)),this.m_destPoly.push(u)):(l=1,this.m_sinA=0,r.m_endtype===e.EndType.etOpenSquare?this.DoSquare(0,1):this.DoRound(0,1)),this.m_destPolys.push(this.m_destPoly)}}else{if(r.m_jointype===e.JoinType.jtRound)for(var h=1,a=0,f=1;f<=o;f++){this.m_destPoly.push(new e.IntPoint2(e.ClipperOffset.Round(this.m_srcPoly[0].X+h*t),e.ClipperOffset.Round(this.m_srcPoly[0].Y+a*t)));var d=h;h=h*this.m_cos-this.m_sin*a,a=d*this.m_sin+a*this.m_cos}else{h=-1,a=-1;for(var f=0;f<4;++f)this.m_destPoly.push(new e.IntPoint2(e.ClipperOffset.Round(this.m_srcPoly[0].X+h*t),e.ClipperOffset.Round(this.m_srcPoly[0].Y+a*t))),h<0?h=1:a<0?a=1:h=-1}this.m_destPolys.push(this.m_destPoly)}}}},e.ClipperOffset.prototype.Execute=function(){var t=arguments;if(t[0]instanceof e.PolyTree)if(s=t[1],(r=t[0]).Clear(),this.FixOrientations(),this.DoOffset(s),(o=new e.Clipper(0)).AddPaths(this.m_destPolys,e.PolyType.ptSubject,!0),s>0)o.Execute(e.ClipType.ctUnion,r,e.PolyFillType.pftPositive,e.PolyFillType.pftPositive);else if(p=e.Clipper.GetBounds(this.m_destPolys),(l=new e.Path).push(new e.IntPoint2(p.left-10,p.bottom+10)),l.push(new e.IntPoint2(p.right+10,p.bottom+10)),l.push(new e.IntPoint2(p.right+10,p.top-10)),l.push(new e.IntPoint2(p.left-10,p.top-10)),o.AddPath(l,e.PolyType.ptSubject,!0),o.ReverseSolution=!0,o.Execute(e.ClipType.ctUnion,r,e.PolyFillType.pftNegative,e.PolyFillType.pftNegative),1===r.ChildCount()&&r.Childs()[0].ChildCount()>0){var i=r.Childs()[0];r.Childs()[0]=i.Childs()[0],r.Childs()[0].m_Parent=r;for(var n=1;n0)o.Execute(e.ClipType.ctUnion,r,e.PolyFillType.pftPositive,e.PolyFillType.pftPositive);else{var l,p=e.Clipper.GetBounds(this.m_destPolys);(l=new e.Path).push(new e.IntPoint2(p.left-10,p.bottom+10)),l.push(new e.IntPoint2(p.right+10,p.bottom+10)),l.push(new e.IntPoint2(p.right+10,p.top-10)),l.push(new e.IntPoint2(p.left-10,p.top-10)),o.AddPath(l,e.PolyType.ptSubject,!0),o.ReverseSolution=!0,o.Execute(e.ClipType.ctUnion,r,e.PolyFillType.pftNegative,e.PolyFillType.pftNegative),r.length>0&&r.splice(0,1)}}},e.ClipperOffset.prototype.OffsetPoint=function(t,i,n){if(this.m_sinA=this.m_normals[i].X*this.m_normals[t].Y-this.m_normals[t].X*this.m_normals[i].Y,Math.abs(this.m_sinA*this.m_delta)<1){if(this.m_normals[i].X*this.m_normals[t].X+this.m_normals[t].Y*this.m_normals[i].Y>0)return this.m_destPoly.push(new e.IntPoint2(e.ClipperOffset.Round(this.m_srcPoly[t].X+this.m_normals[i].X*this.m_delta),e.ClipperOffset.Round(this.m_srcPoly[t].Y+this.m_normals[i].Y*this.m_delta))),i}else this.m_sinA>1?this.m_sinA=1:this.m_sinA<-1&&(this.m_sinA=-1);if(this.m_sinA*this.m_delta<0)this.m_destPoly.push(new e.IntPoint2(e.ClipperOffset.Round(this.m_srcPoly[t].X+this.m_normals[i].X*this.m_delta),e.ClipperOffset.Round(this.m_srcPoly[t].Y+this.m_normals[i].Y*this.m_delta))),this.m_destPoly.push(new e.IntPoint1(this.m_srcPoly[t])),this.m_destPoly.push(new e.IntPoint2(e.ClipperOffset.Round(this.m_srcPoly[t].X+this.m_normals[t].X*this.m_delta),e.ClipperOffset.Round(this.m_srcPoly[t].Y+this.m_normals[t].Y*this.m_delta)));else switch(n){case e.JoinType.jtMiter:var o=this.m_normals[t].X*this.m_normals[i].X+this.m_normals[t].Y*this.m_normals[i].Y+1;o>=this.m_miterLim?this.DoMiter(t,i,o):this.DoSquare(t,i);break;case e.JoinType.jtSquare:this.DoSquare(t,i);break;case e.JoinType.jtRound:this.DoRound(t,i)}return i=t},e.ClipperOffset.prototype.DoSquare=function(t,i){var n=Math.tan(Math.atan2(this.m_sinA,this.m_normals[i].X*this.m_normals[t].X+this.m_normals[i].Y*this.m_normals[t].Y)/4);this.m_destPoly.push(new e.IntPoint2(e.ClipperOffset.Round(this.m_srcPoly[t].X+this.m_delta*(this.m_normals[i].X-this.m_normals[i].Y*n)),e.ClipperOffset.Round(this.m_srcPoly[t].Y+this.m_delta*(this.m_normals[i].Y+this.m_normals[i].X*n)))),this.m_destPoly.push(new e.IntPoint2(e.ClipperOffset.Round(this.m_srcPoly[t].X+this.m_delta*(this.m_normals[t].X+this.m_normals[t].Y*n)),e.ClipperOffset.Round(this.m_srcPoly[t].Y+this.m_delta*(this.m_normals[t].Y-this.m_normals[t].X*n))))},e.ClipperOffset.prototype.DoMiter=function(t,i,n){var o=this.m_delta/n;this.m_destPoly.push(new e.IntPoint2(e.ClipperOffset.Round(this.m_srcPoly[t].X+(this.m_normals[i].X+this.m_normals[t].X)*o),e.ClipperOffset.Round(this.m_srcPoly[t].Y+(this.m_normals[i].Y+this.m_normals[t].Y)*o)))},e.ClipperOffset.prototype.DoRound=function(t,i){for(var n,o=Math.atan2(this.m_sinA,this.m_normals[i].X*this.m_normals[t].X+this.m_normals[i].Y*this.m_normals[t].Y),r=Math.max(e.Cast_Int32(e.ClipperOffset.Round(this.m_StepsPerRad*Math.abs(o))),1),s=this.m_normals[i].X,l=this.m_normals[i].Y,p=0;p1?(c=h.X,v=h.Y):y>0&&(c+=P*y,v+=m*y)),(P=a.X-c)*P+(m=a.Y-v)*m<=x&&(f[o+1]=1,o++);for(l.push({X:r[0].X,Y:r[0].Y}),o=1;o2&&_.push(l)}return C||(_=_[0]),void 0===_&&(_=[]),_},e.JS.PerimeterOfPath=function(t,e,i){if(void 0===t)return 0;var n,o,r=Math.sqrt,s=0,l=0,p=0,u=0,h=0,a=t.length;if(a<2)return 0;for(e&&(t[a]=t[0],a++);--a;)l=(n=t[a]).X,p=n.Y,s+=r((l-(u=(o=t[a-1]).X))*(l-u)+(p-(h=o.Y))*(p-h));return e&&t.pop(),s/i},e.JS.PerimeterOfPaths=function(t,i,n){n||(n=1);for(var o=0,r=0;rn in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,s=(e,t)=>{for(var n in t||(t={}))l.call(t,n)&&i(e,n,t[n]);if(o)for(var n of o(t))a.call(t,n)&&i(e,n,t[n]);return e},u=(e,o)=>t(e,n(o)),c=(e,t)=>{var n={};for(var r in e)l.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&o)for(var r of o(e))t.indexOf(r)<0&&a.call(e,r)&&(n[r]=e[r]);return n},d=(e,t,n)=>new Promise(((o,l)=>{var a=e=>{try{i(n.next(e))}catch(t){l(t)}},r=e=>{try{i(n.throw(e))}catch(t){l(t)}},i=e=>e.done?o(e.value):Promise.resolve(e.value).then(a,r);i((n=n.apply(e,t)).next())}));import{u as p,g as f,o as v,r as m,w as g,a as h,b,c as y,n as w,s as x,d as k,e as C,i as S,f as E,h as I,j as O,k as T,l as B,m as M,p as L,q as _,t as A,N as R,v as $,x as F,y as V,z as P,A as N,B as z,C as D,D as j,E as H,F as q,G as W,H as K,I as U,J as Y,K as G,L as X,M as Z,O as J,P as Q,Q as ee,R as te,S as ne,T as oe,U as le,V as ae,W as re,X as ie,Y as se,Z as ue,_ as ce,$ as de,a0 as pe,a1 as fe,a2 as ve,a3 as me,a4 as ge,a5 as he,a6 as be,a7 as ye,a8 as we,a9 as xe,aa as ke,ab as Ce,ac as Se,ad as Ee,ae as Ie,af as Oe,ag as Te,ah as Be,ai as Me,aj as Le,ak as _e,al as Ae,am as Re,an as $e,ao as Fe,ap as Ve,aq as Pe,ar as Ne,as as ze,at as De}from"./vue-CfXu-DEr.js";import{i as je,g as He,s as qe,f as We,p as Ke,c as Ue,a as Ye,b as Ge,t as Xe,d as Ze,e as Je,h as Qe,j as et,o as tt}from"./lodash-es-DIelbCxD.js";var nt=!1;const ot=e=>Array.from(e.querySelectorAll('a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])')).filter((e=>lt(e)&&(e=>"fixed"!==getComputedStyle(e).position&&null!==e.offsetParent)(e))),lt=e=>{if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return!("hidden"===e.type||"file"===e.type);case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},at=function(e,t,...n){let o;o=t.includes("mouse")||t.includes("click")?"MouseEvents":t.includes("key")?"KeyboardEvent":"HTMLEvents";const l=document.createEvent(o);return l.initEvent(t,...n),e.dispatchEvent(l),e},rt=(e,t,{checkForDefaultPrevented:n=!0}={})=>o=>{const l=null==e?void 0:e(o);if(!1===n||!l)return null==t?void 0:t(o)},it=e=>t=>"mouse"===t.pointerType?e(t):void 0;var st,ut=Object.defineProperty,ct=Object.defineProperties,dt=Object.getOwnPropertyDescriptors,pt=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,mt=(e,t,n)=>t in e?ut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function gt(e,t){const n=x();var o,l;return k((()=>{n.value=e()}),(o=((e,t)=>{for(var n in t||(t={}))ft.call(t,n)&&mt(e,n,t[n]);if(pt)for(var n of pt(t))vt.call(t,n)&&mt(e,n,t[n]);return e})({},t),l={flush:null!=void 0?void 0:"sync"},ct(o,dt(l)))),h(n)}const ht="undefined"!=typeof window,bt=e=>"string"==typeof e,yt=()=>{},wt=ht&&(null==(st=null==window?void 0:window.navigator)?void 0:st.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function xt(e){return"function"==typeof e?e():p(e)}function kt(e,t){return function(...n){return new Promise(((o,l)=>{Promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisArg:this,args:n})).then(o).catch(l)}))}}function Ct(e){return!!f()&&(v(e),!0)}function St(e,t=200,n={}){return kt(function(e,t={}){let n,o,l=yt;const a=e=>{clearTimeout(e),l(),l=yt};return r=>{const i=xt(e),s=xt(t.maxWait);return n&&a(n),i<=0||void 0!==s&&s<=0?(o&&(a(o),o=null),Promise.resolve(r())):new Promise(((e,u)=>{l=t.rejectOnCancel?u:e,s&&!o&&(o=setTimeout((()=>{n&&a(n),o=null,e(r())}),s)),n=setTimeout((()=>{o&&a(o),o=null,e(r())}),i)}))}}(t,n),e)}function Et(e,t=200,n=!1,o=!0,l=!1){return kt(function(e,t=!0,n=!0,o=!1){let l,a,r=0,i=!0,s=yt;const u=()=>{l&&(clearTimeout(l),l=void 0,s(),s=yt)};return c=>{const d=xt(e),p=Date.now()-r,f=()=>a=c();return u(),d<=0?(r=Date.now(),f()):(p>d&&(n||!i)?(r=Date.now(),f()):t&&(a=new Promise(((e,t)=>{s=o?t:e,l=setTimeout((()=>{r=Date.now(),i=!0,e(f()),u()}),Math.max(0,d-p))}))),n||l||(l=setTimeout((()=>i=!0),d)),i=!1,a)}}(t,n,o,l),e)}function It(e,t,n={}){const{immediate:o=!0}=n,l=m(!1);let a=null;function r(){a&&(clearTimeout(a),a=null)}function i(){l.value=!1,r()}function s(...n){r(),l.value=!0,a=setTimeout((()=>{l.value=!1,a=null,e(...n)}),xt(t))}return o&&(l.value=!0,ht&&s()),Ct(i),{isPending:h(l),start:s,stop:i}}function Ot(e){var t;const n=xt(e);return null!=(t=null==n?void 0:n.$el)?t:n}const Tt=ht?window:void 0,Bt=ht?window.document:void 0;function Mt(...e){let t,n,o,l;if(bt(e[0])||Array.isArray(e[0])?([n,o,l]=e,t=Tt):[t,n,o,l]=e,!t)return yt;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],r=()=>{a.forEach((e=>e())),a.length=0},i=g((()=>[Ot(t),xt(l)]),(([e,t])=>{r(),e&&a.push(...n.flatMap((n=>o.map((o=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,n,o,t))))))}),{immediate:!0,flush:"post"}),s=()=>{i(),r()};return Ct(s),s}let Lt=!1;function _t(e,t=!1){const n=m(),o=()=>n.value=Boolean(e());return o(),function(e,t=!0){b()?y(e):t?e():w(e)}(o,t),n}const At="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Rt="__vueuse_ssr_handlers__";At[Rt]=At[Rt]||{};var $t=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable;function Pt(e,t,n={}){const o=n,{window:l=Tt}=o,a=((e,t)=>{var n={};for(var o in e)Ft.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&$t)for(var o of $t(e))t.indexOf(o)<0&&Vt.call(e,o)&&(n[o]=e[o]);return n})(o,["window"]);let r;const i=_t((()=>l&&"ResizeObserver"in l)),s=()=>{r&&(r.disconnect(),r=void 0)},u=g((()=>Ot(e)),(e=>{s(),i.value&&l&&e&&(r=new ResizeObserver(t),r.observe(e,a))}),{immediate:!0,flush:"post"}),c=()=>{s(),u()};return Ct(c),{isSupported:i,stop:c}}var Nt,zt,Dt=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable;function qt(e,t,n={}){const o=n,{window:l=Tt}=o,a=((e,t)=>{var n={};for(var o in e)jt.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&Dt)for(var o of Dt(e))t.indexOf(o)<0&&Ht.call(e,o)&&(n[o]=e[o]);return n})(o,["window"]);let r;const i=_t((()=>l&&"MutationObserver"in l)),s=()=>{r&&(r.disconnect(),r=void 0)},u=g((()=>Ot(e)),(e=>{s(),i.value&&l&&e&&(r=new MutationObserver(t),r.observe(e,a))}),{immediate:!0}),c=()=>{s(),u()};return Ct(c),{isSupported:i,stop:c}}(zt=Nt||(Nt={})).UP="UP",zt.RIGHT="RIGHT",zt.DOWN="DOWN",zt.LEFT="LEFT",zt.NONE="NONE";var Wt=Object.defineProperty,Kt=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Gt=(e,t,n)=>t in e?Wt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function Xt(e,t,n,o={}){var l,a,r;const{clone:i=!1,passive:s=!1,eventName:u,deep:c=!1,defaultValue:d}=o,p=b(),f=n||(null==p?void 0:p.emit)||(null==(l=null==p?void 0:p.$emit)?void 0:l.bind(p))||(null==(r=null==(a=null==p?void 0:p.proxy)?void 0:a.$emit)?void 0:r.bind(null==p?void 0:p.proxy));let v=u;t||(t="modelValue"),v=u||v||`update:${t.toString()}`;const h=e=>{return i?(e=>"function"==typeof e)(i)?i(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},y=()=>void 0!==e[t]?h(e[t]):d;if(s){const n=y(),o=m(n);return g((()=>e[t]),(e=>o.value=h(e))),g(o,(n=>{(n!==e[t]||c)&&f(v,n)}),{deep:c}),o}return C({get:()=>y(),set(e){f(v,e)}})}((e,t)=>{for(var n in t||(t={}))Ut.call(t,n)&&Gt(e,n,t[n]);if(Kt)for(var n of Kt(t))Yt.call(t,n)&&Gt(e,n,t[n])})({linear:function(e){return e}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const Zt=e=>void 0===e,Jt=e=>"boolean"==typeof e,Qt=e=>"number"==typeof e,en=e=>"undefined"!=typeof Element&&e instanceof Element,tn=e=>je(e),nn=e=>E(e),on=e=>Object.keys(e),ln=(e,t,n)=>({get value(){return He(e,t,n)},set value(n){qe(e,t,n)}});class an extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function rn(e,t){throw new an(`[${e}] ${t}`)}const sn=(e="")=>e.split(" ").filter((e=>!!e.trim())),un=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},cn=(e,t)=>{e&&t.trim()&&e.classList.add(...sn(t))},dn=(e,t)=>{e&&t.trim()&&e.classList.remove(...sn(t))},pn=(e,t)=>{var n;if(!ht||!e||!t)return"";let o=I(t);"float"===o&&(o="cssFloat");try{const t=e.style[o];if(t)return t;const l=null==(n=document.defaultView)?void 0:n.getComputedStyle(e,"");return l?l[o]:""}catch(l){return e.style[o]}};function fn(e,t="px"){return e?Qt(e)||S(n=e)&&!Number.isNaN(Number(n))?`${e}${t}`:S(e)?e:void 0:"";var n}const vn=(e,t)=>{if(!ht)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],o=pn(e,n);return["scroll","auto","overlay"].some((e=>o.includes(e)))};let mn; +/*! Element Plus Icons Vue v2.3.1 */ +var gn=O({name:"ArrowDown",__name:"arrow-down",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}),hn=O({name:"ArrowLeft",__name:"arrow-left",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}),bn=O({name:"ArrowRight",__name:"arrow-right",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}),yn=O({name:"ArrowUp",__name:"arrow-up",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}),wn=O({name:"Check",__name:"check",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}),xn=O({name:"CircleCheck",__name:"circle-check",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),M("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}),kn=O({name:"CircleCloseFilled",__name:"circle-close-filled",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}),Cn=O({name:"CircleClose",__name:"circle-close",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),M("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),Sn=O({name:"Close",__name:"close",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}),En=O({name:"Delete",__name:"delete",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}),In=O({name:"Document",__name:"document",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}),On=O({name:"FullScreen",__name:"full-screen",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}),Tn=O({name:"Hide",__name:"hide",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),M("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}),Bn=O({name:"InfoFilled",__name:"info-filled",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}),Mn=O({name:"Loading",__name:"loading",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}),Ln=O({name:"Lock",__name:"lock",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),M("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}),_n=O({name:"Message",__name:"message",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),M("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056"})]))}),An=O({name:"Minus",__name:"minus",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}),Rn=O({name:"More",__name:"more",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}),$n=O({name:"Plus",__name:"plus",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}),Fn=O({name:"RefreshLeft",__name:"refresh-left",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}),Vn=O({name:"RefreshRight",__name:"refresh-right",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}),Pn=O({name:"ScaleToOriginal",__name:"scale-to-original",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}),Nn=O({name:"Search",__name:"search",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}),zn=O({name:"SuccessFilled",__name:"success-filled",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}),Dn=O({name:"UploadFilled",__name:"upload-filled",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}),jn=O({name:"View",__name:"view",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}),Hn=O({name:"WarningFilled",__name:"warning-filled",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}),qn=O({name:"ZoomIn",__name:"zoom-in",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}),Wn=O({name:"ZoomOut",__name:"zoom-out",setup:e=>(e,t)=>(T(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[M("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))});const Kn="__epPropKey",Un=(e,t)=>{if(!L(e)||L(n=e)&&n[Kn])return e;var n;const{values:o,required:l,default:a,type:r,validator:i}=e,s=o||i?n=>{let l=!1,r=[];if(o&&(r=Array.from(o),_(e,"default")&&r.push(a),l||(l=r.includes(n))),i&&(l||(l=i(n))),!l&&r.length>0){const e=[...new Set(r)].map((e=>JSON.stringify(e))).join(", ");A(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${e}], got value ${JSON.stringify(n)}.`)}return l}:void 0,u={type:r,required:!!l,validator:s,[Kn]:!0};return _(e,"default")&&(u.default=a),u},Yn=e=>We(Object.entries(e).map((([e,t])=>[e,Un(t,e)]))),Gn=[String,Object,Function],Xn={Close:Sn},Zn={Close:Sn,SuccessFilled:zn,InfoFilled:Bn,WarningFilled:Hn,CircleCloseFilled:kn},Jn={success:zn,warning:Hn,error:kn,info:Bn},Qn={validating:Mn,success:xn,error:Cn},eo=(e,t)=>{if(e.install=n=>{for(const o of[e,...Object.values(null!=t?t:{})])n.component(o.name,o)},t)for(const[n,o]of Object.entries(t))e[n]=o;return e},to=e=>(e.install=R,e),no=(...e)=>t=>{e.forEach((e=>{$(e)?e(t):e.value=t}))},oo={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},lo="update:modelValue",ao="change",ro="input",io=["","default","small","large"],so=e=>["",...io].includes(e);var uo=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(uo||{});const co=e=>{const t=F(e)?e:[e],n=[];return t.forEach((e=>{var t;F(e)?n.push(...co(e)):V(e)&&F(e.children)?n.push(...co(e.children)):(n.push(e),V(e)&&(null==(t=e.component)?void 0:t.subTree)&&n.push(...co(e.component.subTree)))})),n},po=["class","style"],fo=/^on[A-Z]/,vo=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,o=C((()=>((null==n?void 0:n.value)||[]).concat(po))),l=b();return C(l?()=>{var e;return We(Object.entries(null==(e=l.proxy)?void 0:e.$attrs).filter((([e])=>!(o.value.includes(e)||t&&fo.test(e)))))}:()=>({}))},mo=({from:e,replacement:t,scope:n,version:o,ref:l,type:a="API"},r)=>{g((()=>p(r)),(e=>{}),{immediate:!0})},go=(e,t,n,o)=>{let l={offsetX:0,offsetY:0};const a=t=>{const n=t.clientX,a=t.clientY,{offsetX:r,offsetY:i}=l,s=e.value.getBoundingClientRect(),u=s.left,c=s.top,d=s.width,p=s.height,f=document.documentElement.clientWidth,v=document.documentElement.clientHeight,m=-u+r,g=-c+i,h=f-u-d+r,b=v-c-p+i,y=t=>{let s=r+t.clientX-n,u=i+t.clientY-a;(null==o?void 0:o.value)||(s=Math.min(Math.max(s,m),h),u=Math.min(Math.max(u,g),b)),l={offsetX:s,offsetY:u},e.value&&(e.value.style.transform=`translate(${fn(s)}, ${fn(u)})`)},w=()=>{document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",w)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",w)},r=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",a)};return y((()=>{k((()=>{n.value?t.value&&e.value&&t.value.addEventListener("mousedown",a):r()}))})),P((()=>{r()})),{resetPosition:()=>{l={offsetX:0,offsetY:0},e.value&&(e.value.style.transform="none")}}};var ho={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const bo=e=>(t,n)=>yo(t,n,p(e)),yo=(e,t,n)=>He(n,e,e).replace(/\{(\w+)\}/g,((e,n)=>{var o;return`${null!=(o=null==t?void 0:t[n])?o:`{${n}}`}`})),wo=Symbol("localeContextKey"),xo=e=>{const t=e||N(wo,m());return(e=>({lang:C((()=>p(e).name)),locale:z(e)?e:m(e),t:bo(e)}))(C((()=>t.value||ho)))},ko="el",Co=(e,t,n,o,l)=>{let a=`${e}-${t}`;return n&&(a+=`-${n}`),o&&(a+=`__${o}`),l&&(a+=`--${l}`),a},So=Symbol("namespaceContextKey"),Eo=e=>{const t=e||(b()?N(So,m(ko)):m(ko));return C((()=>p(t)||ko))},Io=(e,t)=>{const n=Eo(t);return{namespace:n,b:(t="")=>Co(n.value,e,t,"",""),e:t=>t?Co(n.value,e,"",t,""):"",m:t=>t?Co(n.value,e,"","",t):"",be:(t,o)=>t&&o?Co(n.value,e,t,o,""):"",em:(t,o)=>t&&o?Co(n.value,e,"",t,o):"",bm:(t,o)=>t&&o?Co(n.value,e,t,"",o):"",bem:(t,o,l)=>t&&o&&l?Co(n.value,e,t,o,l):"",is:(e,...t)=>{const n=!(t.length>=1)||t[0];return e&&n?`is-${e}`:""},cssVar:e=>{const t={};for(const o in e)e[o]&&(t[`--${n.value}-${o}`]=e[o]);return t},cssVarName:e=>`--${n.value}-${e}`,cssVarBlock:t=>{const o={};for(const l in t)t[l]&&(o[`--${n.value}-${e}-${l}`]=t[l]);return o},cssVarBlockName:t=>`--${n.value}-${e}-${t}`}},Oo=(e,t={})=>{z(e)||rn("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||Io("popup"),o=C((()=>n.bm("parent","hidden")));if(!ht||un(document.body,o.value))return;let l=0,a=!1,r="0";const i=()=>{setTimeout((()=>{dn(null==document?void 0:document.body,o.value),a&&document&&(document.body.style.width=r)}),200)};g(e,(e=>{if(!e)return void i();a=!un(document.body,o.value),a&&(r=document.body.style.width),l=(e=>{var t;if(!ht)return 0;if(void 0!==mn)return mn;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const l=document.createElement("div");l.style.width="100%",n.appendChild(l);const a=l.offsetWidth;return null==(t=n.parentNode)||t.removeChild(n),mn=o-a,mn})(n.namespace.value);const t=document.documentElement.clientHeight0&&(t||"scroll"===s)&&a&&(document.body.style.width=`calc(100% - ${l}px)`),cn(document.body,o.value)})),v((()=>i()))},To=Un({type:Boolean,default:null}),Bo=Un({type:Function}),Mo=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,o=[t];return{useModelToggle:({indicator:o,toggleReason:l,shouldHideWhenRouteChanges:a,shouldProceed:r,onShow:i,onHide:u})=>{const c=b(),{emit:d}=c,p=c.props,f=C((()=>$(p[n]))),v=C((()=>null===p[e])),m=e=>{!0!==o.value&&(o.value=!0,l&&(l.value=e),$(i)&&i(e))},h=e=>{!1!==o.value&&(o.value=!1,l&&(l.value=e),$(u)&&u(e))},w=e=>{if(!0===p.disabled||$(r)&&!r())return;const n=f.value&&ht;n&&d(t,!0),!v.value&&n||m(e)},x=e=>{if(!0===p.disabled||!ht)return;const n=f.value&&ht;n&&d(t,!1),!v.value&&n||h(e)},k=e=>{Jt(e)&&(p.disabled&&e?f.value&&d(t,!1):o.value!==e&&(e?m():h()))};return g((()=>p[e]),k),a&&void 0!==c.appContext.config.globalProperties.$route&&g((()=>s({},c.proxy.$route)),(()=>{a.value&&o.value&&x()})),y((()=>{k(p[e])})),{hide:x,show:w,toggle:()=>{o.value?x():w()},hasUpdateHandler:f}},useModelToggleProps:{[e]:To,[n]:Bo},useModelToggleEmits:o}};Mo("modelValue");const Lo=e=>{const t=b();return C((()=>{var n,o;return null==(o=null==(n=null==t?void 0:t.proxy)?void 0:n.$props)?void 0:o[e]}))};var _o="top",Ao="bottom",Ro="right",$o="left",Fo="auto",Vo=[_o,Ao,Ro,$o],Po="start",No="end",zo="clippingParents",Do="viewport",jo="popper",Ho="reference",qo=Vo.reduce((function(e,t){return e.concat([t+"-"+Po,t+"-"+No])}),[]),Wo=[].concat(Vo,[Fo]).reduce((function(e,t){return e.concat([t,t+"-"+Po,t+"-"+No])}),[]),Ko=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Uo(e){return e?(e.nodeName||"").toLowerCase():null}function Yo(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Go(e){return e instanceof Yo(e).Element||e instanceof Element}function Xo(e){return e instanceof Yo(e).HTMLElement||e instanceof HTMLElement}function Zo(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Yo(e).ShadowRoot||e instanceof ShadowRoot)}var Jo={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},l=t.elements[e];!Xo(l)||!Uo(l)||(Object.assign(l.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?l.removeAttribute(e):l.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],l=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});!Xo(o)||!Uo(o)||(Object.assign(o.style,a),Object.keys(l).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Qo(e){return e.split("-")[0]}var el=Math.max,tl=Math.min,nl=Math.round;function ol(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,l=1;if(Xo(e)&&t){var a=e.offsetHeight,r=e.offsetWidth;r>0&&(o=nl(n.width)/r||1),a>0&&(l=nl(n.height)/a||1)}return{width:n.width/o,height:n.height/l,top:n.top/l,right:n.right/o,bottom:n.bottom/l,left:n.left/o,x:n.left/o,y:n.top/l}}function ll(e){var t=ol(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function al(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Zo(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function rl(e){return Yo(e).getComputedStyle(e)}function il(e){return["table","td","th"].indexOf(Uo(e))>=0}function sl(e){return((Go(e)?e.ownerDocument:e.document)||window.document).documentElement}function ul(e){return"html"===Uo(e)?e:e.assignedSlot||e.parentNode||(Zo(e)?e.host:null)||sl(e)}function cl(e){return Xo(e)&&"fixed"!==rl(e).position?e.offsetParent:null}function dl(e){for(var t=Yo(e),n=cl(e);n&&il(n)&&"static"===rl(n).position;)n=cl(n);return n&&("html"===Uo(n)||"body"===Uo(n)&&"static"===rl(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Xo(e)&&"fixed"===rl(e).position)return null;var n=ul(e);for(Zo(n)&&(n=n.host);Xo(n)&&["html","body"].indexOf(Uo(n))<0;){var o=rl(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function pl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function fl(e,t,n){return el(e,tl(t,n))}function vl(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ml(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var gl={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,l=e.options,a=n.elements.arrow,r=n.modifiersData.popperOffsets,i=Qo(n.placement),s=pl(i),u=[$o,Ro].indexOf(i)>=0?"height":"width";if(a&&r){var c=function(e,t){return vl("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ml(e,Vo))}(l.padding,n),d=ll(a),p="y"===s?_o:$o,f="y"===s?Ao:Ro,v=n.rects.reference[u]+n.rects.reference[s]-r[s]-n.rects.popper[u],m=r[s]-n.rects.reference[s],g=dl(a),h=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,b=v/2-m/2,y=c[p],w=h-d[u]-c[f],x=h/2-d[u]/2+b,k=fl(y,x,w),C=s;n.modifiersData[o]=((t={})[C]=k,t.centerOffset=k-x,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"==typeof o&&!(o=t.elements.popper.querySelector(o))||!al(t.elements.popper,o)||(t.elements.arrow=o))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function hl(e){return e.split("-")[1]}var bl={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yl(e){var t,n=e.popper,o=e.popperRect,l=e.placement,a=e.variation,r=e.offsets,i=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=r.x,f=void 0===p?0:p,v=r.y,m=void 0===v?0:v,g="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var h=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),y=$o,w=_o,x=window;if(u){var k=dl(n),C="clientHeight",S="clientWidth";if(k===Yo(n)&&("static"!==rl(k=sl(n)).position&&"absolute"===i&&(C="scrollHeight",S="scrollWidth")),l===_o||(l===$o||l===Ro)&&a===No)w=Ao,m-=(d&&k===x&&x.visualViewport?x.visualViewport.height:k[C])-o.height,m*=s?1:-1;if(l===$o||(l===_o||l===Ao)&&a===No)y=Ro,f-=(d&&k===x&&x.visualViewport?x.visualViewport.width:k[S])-o.width,f*=s?1:-1}var E,I=Object.assign({position:i},u&&bl),O=!0===c?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:nl(t*o)/o||0,y:nl(n*o)/o||0}}({x:f,y:m}):{x:f,y:m};return f=O.x,m=O.y,s?Object.assign({},I,((E={})[w]=b?"0":"",E[y]=h?"0":"",E.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",E)):Object.assign({},I,((t={})[w]=b?m+"px":"",t[y]=h?f+"px":"",t.transform="",t))}var wl={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,l=void 0===o||o,a=n.adaptive,r=void 0===a||a,i=n.roundOffsets,s=void 0===i||i,u={placement:Qo(t.placement),variation:hl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:l,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,yl(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,yl(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},xl={passive:!0};var kl={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,l=o.scroll,a=void 0===l||l,r=o.resize,i=void 0===r||r,s=Yo(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,xl)})),i&&s.addEventListener("resize",n.update,xl),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,xl)})),i&&s.removeEventListener("resize",n.update,xl)}},data:{}},Cl={left:"right",right:"left",bottom:"top",top:"bottom"};function Sl(e){return e.replace(/left|right|bottom|top/g,(function(e){return Cl[e]}))}var El={start:"end",end:"start"};function Il(e){return e.replace(/start|end/g,(function(e){return El[e]}))}function Ol(e){var t=Yo(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Tl(e){return ol(sl(e)).left+Ol(e).scrollLeft}function Bl(e){var t=rl(e),n=t.overflow,o=t.overflowX,l=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+l+o)}function Ml(e){return["html","body","#document"].indexOf(Uo(e))>=0?e.ownerDocument.body:Xo(e)&&Bl(e)?e:Ml(ul(e))}function Ll(e,t){var n;void 0===t&&(t=[]);var o=Ml(e),l=o===(null==(n=e.ownerDocument)?void 0:n.body),a=Yo(o),r=l?[a].concat(a.visualViewport||[],Bl(o)?o:[]):o,i=t.concat(r);return l?i:i.concat(Ll(ul(r)))}function _l(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Al(e,t){return t===Do?_l(function(e){var t=Yo(e),n=sl(e),o=t.visualViewport,l=n.clientWidth,a=n.clientHeight,r=0,i=0;return o&&(l=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=o.offsetLeft,i=o.offsetTop)),{width:l,height:a,x:r+Tl(e),y:i}}(e)):Go(t)?function(e){var t=ol(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):_l(function(e){var t,n=sl(e),o=Ol(e),l=null==(t=e.ownerDocument)?void 0:t.body,a=el(n.scrollWidth,n.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),r=el(n.scrollHeight,n.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),i=-o.scrollLeft+Tl(e),s=-o.scrollTop;return"rtl"===rl(l||n).direction&&(i+=el(n.clientWidth,l?l.clientWidth:0)-a),{width:a,height:r,x:i,y:s}}(sl(e)))}function Rl(e,t,n){var o="clippingParents"===t?function(e){var t=Ll(ul(e)),n=["absolute","fixed"].indexOf(rl(e).position)>=0&&Xo(e)?dl(e):e;return Go(n)?t.filter((function(e){return Go(e)&&al(e,n)&&"body"!==Uo(e)})):[]}(e):[].concat(t),l=[].concat(o,[n]),a=l[0],r=l.reduce((function(t,n){var o=Al(e,n);return t.top=el(o.top,t.top),t.right=tl(o.right,t.right),t.bottom=tl(o.bottom,t.bottom),t.left=el(o.left,t.left),t}),Al(e,a));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function $l(e){var t,n=e.reference,o=e.element,l=e.placement,a=l?Qo(l):null,r=l?hl(l):null,i=n.x+n.width/2-o.width/2,s=n.y+n.height/2-o.height/2;switch(a){case _o:t={x:i,y:n.y-o.height};break;case Ao:t={x:i,y:n.y+n.height};break;case Ro:t={x:n.x+n.width,y:s};break;case $o:t={x:n.x-o.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?pl(a):null;if(null!=u){var c="y"===u?"height":"width";switch(r){case Po:t[u]=t[u]-(n[c]/2-o[c]/2);break;case No:t[u]=t[u]+(n[c]/2-o[c]/2)}}return t}function Fl(e,t){void 0===t&&(t={});var n=t,o=n.placement,l=void 0===o?e.placement:o,a=n.boundary,r=void 0===a?zo:a,i=n.rootBoundary,s=void 0===i?Do:i,u=n.elementContext,c=void 0===u?jo:u,d=n.altBoundary,p=void 0!==d&&d,f=n.padding,v=void 0===f?0:f,m=vl("number"!=typeof v?v:ml(v,Vo)),g=c===jo?Ho:jo,h=e.rects.popper,b=e.elements[p?g:c],y=Rl(Go(b)?b:b.contextElement||sl(e.elements.popper),r,s),w=ol(e.elements.reference),x=$l({reference:w,element:h,strategy:"absolute",placement:l}),k=_l(Object.assign({},h,x)),C=c===jo?k:w,S={top:y.top-C.top+m.top,bottom:C.bottom-y.bottom+m.bottom,left:y.left-C.left+m.left,right:C.right-y.right+m.right},E=e.modifiersData.offset;if(c===jo&&E){var I=E[l];Object.keys(S).forEach((function(e){var t=[Ro,Ao].indexOf(e)>=0?1:-1,n=[_o,Ao].indexOf(e)>=0?"y":"x";S[e]+=I[n]*t}))}return S}var Vl={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var l=n.mainAxis,a=void 0===l||l,r=n.altAxis,i=void 0===r||r,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,v=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,h=Qo(g),b=s||(h===g||!v?[Sl(g)]:function(e){if(Qo(e)===Fo)return[];var t=Sl(e);return[Il(e),t,Il(t)]}(g)),y=[g].concat(b).reduce((function(e,n){return e.concat(Qo(n)===Fo?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,l=n.boundary,a=n.rootBoundary,r=n.padding,i=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?Wo:s,c=hl(o),d=c?i?qo:qo.filter((function(e){return hl(e)===c})):Vo,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=Fl(e,{placement:n,boundary:l,rootBoundary:a,padding:r})[Qo(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:v,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,k=new Map,C=!0,S=y[0],E=0;E=0,M=B?"width":"height",L=Fl(t,{placement:I,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),_=B?T?Ro:$o:T?Ao:_o;w[M]>x[M]&&(_=Sl(_));var A=Sl(_),R=[];if(a&&R.push(L[O]<=0),i&&R.push(L[_]<=0,L[A]<=0),R.every((function(e){return e}))){S=I,C=!1;break}k.set(I,R)}if(C)for(var $=function(e){var t=y.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},F=v?3:1;F>0;F--){if("break"===$(F))break}t.placement!==S&&(t.modifiersData[o]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Pl(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Nl(e){return[_o,Ro,Ao,$o].some((function(t){return e[t]>=0}))}var zl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,l=t.rects.popper,a=t.modifiersData.preventOverflow,r=Fl(t,{elementContext:"reference"}),i=Fl(t,{altBoundary:!0}),s=Pl(r,o),u=Pl(i,l,a),c=Nl(s),d=Nl(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}};var Dl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,l=n.offset,a=void 0===l?[0,0]:l,r=Wo.reduce((function(e,n){return e[n]=function(e,t,n){var o=Qo(e),l=[$o,_o].indexOf(o)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,r=a[0],i=a[1];return r=r||0,i=(i||0)*l,[$o,Ro].indexOf(o)>=0?{x:i,y:r}:{x:r,y:i}}(n,t.rects,a),e}),{}),i=r[t.placement],s=i.x,u=i.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[o]=r}};var jl={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=$l({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Hl={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,l=n.mainAxis,a=void 0===l||l,r=n.altAxis,i=void 0!==r&&r,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,v=n.tetherOffset,m=void 0===v?0:v,g=Fl(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),h=Qo(t.placement),b=hl(t.placement),y=!b,w=pl(h),x=function(e){return"x"===e?"y":"x"}(w),k=t.modifiersData.popperOffsets,C=t.rects.reference,S=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,I="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(k){if(a){var B,M="y"===w?_o:$o,L="y"===w?Ao:Ro,_="y"===w?"height":"width",A=k[w],R=A+g[M],$=A-g[L],F=f?-S[_]/2:0,V=b===Po?C[_]:S[_],P=b===Po?-S[_]:-C[_],N=t.elements.arrow,z=f&&N?ll(N):{width:0,height:0},D=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},j=D[M],H=D[L],q=fl(0,C[_],z[_]),W=y?C[_]/2-F-q-j-I.mainAxis:V-q-j-I.mainAxis,K=y?-C[_]/2+F+q+H+I.mainAxis:P+q+H+I.mainAxis,U=t.elements.arrow&&dl(t.elements.arrow),Y=U?"y"===w?U.clientTop||0:U.clientLeft||0:0,G=null!=(B=null==O?void 0:O[w])?B:0,X=A+K-G,Z=fl(f?tl(R,A+W-G-Y):R,A,f?el($,X):$);k[w]=Z,T[w]=Z-A}if(i){var J,Q="x"===w?_o:$o,ee="x"===w?Ao:Ro,te=k[x],ne="y"===x?"height":"width",oe=te+g[Q],le=te-g[ee],ae=-1!==[_o,$o].indexOf(h),re=null!=(J=null==O?void 0:O[x])?J:0,ie=ae?oe:te-C[ne]-S[ne]-re+I.altAxis,se=ae?te+C[ne]+S[ne]-re-I.altAxis:le,ue=f&&ae?function(e,t,n){var o=fl(e,t,n);return o>n?n:o}(ie,te,se):fl(f?ie:oe,te,f?se:le);k[x]=ue,T[x]=ue-te}t.modifiersData[o]=T}},requiresIfExists:["offset"]};function ql(e,t,n){void 0===n&&(n=!1);var o=Xo(t),l=Xo(t)&&function(e){var t=e.getBoundingClientRect(),n=nl(t.width)/e.offsetWidth||1,o=nl(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),a=sl(t),r=ol(e,l),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&(("body"!==Uo(t)||Bl(a))&&(i=function(e){return e!==Yo(e)&&Xo(e)?function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):Ol(e)}(t)),Xo(t)?((s=ol(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Tl(a))),{x:r.left+i.scrollLeft-s.x,y:r.top+i.scrollTop-s.y,width:r.width,height:r.height}}function Wl(e){var t=new Map,n=new Set,o=[];function l(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&l(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||l(e)})),o}function Kl(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Ul={placement:"bottom",modifiers:[],strategy:"absolute"};function Yl(){for(var e=arguments.length,t=new Array(e),n=0;n{const o={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=function(e){const t=Object.keys(e.elements),n=We(t.map((t=>[t,e.styles[t]||{}]))),o=We(t.map((t=>[t,e.attributes[t]])));return{styles:n,attributes:o}}(e);Object.assign(r.value,t)},requires:["computeStyles"]},l=C((()=>{const{onFirstUpdate:e,placement:t,strategy:l,modifiers:a}=p(n);return{onFirstUpdate:e,placement:t||"bottom",strategy:l||"absolute",modifiers:[...a||[],o,{name:"applyStyles",enabled:!1}]}})),a=x(),r=m({styles:{popper:{position:p(l).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=()=>{a.value&&(a.value.destroy(),a.value=void 0)};return g(l,(e=>{const t=p(a);t&&t.setOptions(e)}),{deep:!0}),g([e,t],(([e,t])=>{i(),e&&t&&(a.value=Xl(e,t,p(l)))})),P((()=>{i()})),{state:C((()=>{var e;return s({},(null==(e=p(a))?void 0:e.state)||{})})),styles:C((()=>p(r).styles)),attributes:C((()=>p(r).attributes)),update:()=>{var e;return null==(e=p(a))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=p(a))?void 0:e.forceUpdate()},instanceRef:C((()=>p(a)))}};const Jl=e=>{if(!e)return{onClick:R,onMousedown:R,onMouseup:R};let t=!1,n=!1;return{onClick:o=>{t&&n&&e(o),t=n=!1},onMousedown:e=>{t=e.target===e.currentTarget},onMouseup:e=>{n=e.target===e.currentTarget}}};function Ql(){let e;const t=()=>window.clearTimeout(e);return Ct((()=>t())),{registerTimeout:(n,o)=>{t(),e=window.setTimeout(n,o)},cancelTimeout:t}}const ea={prefix:Math.floor(1e4*Math.random()),current:0},ta=Symbol("elIdInjection"),na=()=>b()?N(ta,ea):ea,oa=e=>{const t=na(),n=Eo();return C((()=>p(e)||`${n.value}-id-${t.prefix}-${t.current++}`))};let la=[];const aa=e=>{const t=e;t.key===oo.esc&&la.forEach((e=>e(t)))};let ra;const ia=()=>{const e=Eo(),t=na(),n=C((()=>`${e.value}-popper-container-${t.prefix}`)),o=C((()=>`#${n.value}`));return{id:n,selector:o}},sa=()=>{const{id:e,selector:t}=ia();return D((()=>{ht&&(ra&&document.body.querySelector(t.value)||(ra=(e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t})(e.value)))})),{id:e,selector:t}},ua=Yn({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),ca=Symbol("elForwardRef"),da={current:0},pa=m(0),fa=2e3,va=Symbol("elZIndexContextKey"),ma=Symbol("zIndexContextKey"),ga=e=>{const t=b()?N(va,da):da,n=e||(b()?N(ma,void 0):void 0),o=C((()=>{const e=p(n);return Qt(e)?e:fa})),l=C((()=>o.value+pa.value));return!ht&&N(va),{initialZIndex:o,currentZIndex:l,nextZIndex:()=>(t.current++,pa.value=t.current,l.value)}},ha=Math.min,ba=Math.max,ya=Math.round,wa=Math.floor,xa=e=>({x:e,y:e}),ka={left:"right",right:"left",bottom:"top",top:"bottom"},Ca={start:"end",end:"start"};function Sa(e,t,n){return ba(e,ha(t,n))}function Ea(e,t){return"function"==typeof e?e(t):e}function Ia(e){return e.split("-")[0]}function Oa(e){return e.split("-")[1]}function Ta(e){return"x"===e?"y":"x"}function Ba(e){return"y"===e?"height":"width"}function Ma(e){return["top","bottom"].includes(Ia(e))?"y":"x"}function La(e){return Ta(Ma(e))}function _a(e){return e.replace(/start|end/g,(e=>Ca[e]))}function Aa(e){return e.replace(/left|right|bottom|top/g,(e=>ka[e]))}function Ra(e){return"number"!=typeof e?function(e){return s({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function $a(e){const{x:t,y:n,width:o,height:l}=e;return{width:o,height:l,top:n,left:t,right:t+o,bottom:n+l,x:t,y:n}}function Fa(e,t,n){let{reference:o,floating:l}=e;const a=Ma(t),r=La(t),i=Ba(r),s=Ia(t),u="y"===a,c=o.x+o.width/2-l.width/2,d=o.y+o.height/2-l.height/2,p=o[i]/2-l[i]/2;let f;switch(s){case"top":f={x:c,y:o.y-l.height};break;case"bottom":f={x:c,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-l.width,y:d};break;default:f={x:o.x,y:o.y}}switch(Oa(t)){case"start":f[r]-=p*(n&&u?-1:1);break;case"end":f[r]+=p*(n&&u?-1:1)}return f}function Va(e,t){return d(this,null,(function*(){var n;void 0===t&&(t={});const{x:o,y:l,platform:a,rects:r,elements:i,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=Ea(t,e),v=Ra(f),m=i[p?"floating"===d?"reference":"floating":d],g=$a(yield a.getClippingRect({element:null==(n=yield null==a.isElement?void 0:a.isElement(m))||n?m:m.contextElement||(yield null==a.getDocumentElement?void 0:a.getDocumentElement(i.floating)),boundary:u,rootBoundary:c,strategy:s})),h="floating"===d?{x:o,y:l,width:r.floating.width,height:r.floating.height}:r.reference,b=yield null==a.getOffsetParent?void 0:a.getOffsetParent(i.floating),y=(yield null==a.isElement?void 0:a.isElement(b))&&(yield null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},w=$a(a.convertOffsetParentRelativeRectToViewportRelativeRect?yield a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:h,offsetParent:b,strategy:s}):h);return{top:(g.top-w.top+v.top)/y.y,bottom:(w.bottom-g.bottom+v.bottom)/y.y,left:(g.left-w.left+v.left)/y.x,right:(w.right-g.right+v.right)/y.x}}))}function Pa(e){return Da(e)?(e.nodeName||"").toLowerCase():"#document"}function Na(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function za(e){var t;return null==(t=(Da(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Da(e){return e instanceof Node||e instanceof Na(e).Node}function ja(e){return e instanceof Element||e instanceof Na(e).Element}function Ha(e){return e instanceof HTMLElement||e instanceof Na(e).HTMLElement}function qa(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Na(e).ShadowRoot)}function Wa(e){const{overflow:t,overflowX:n,overflowY:o,display:l}=Za(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(l)}function Ka(e){return["table","td","th"].includes(Pa(e))}function Ua(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(n){return!1}}))}function Ya(e){const t=Ga(),n=ja(e)?Za(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Ga(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Xa(e){return["html","body","#document"].includes(Pa(e))}function Za(e){return Na(e).getComputedStyle(e)}function Ja(e){return ja(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Qa(e){if("html"===Pa(e))return e;const t=e.assignedSlot||e.parentNode||qa(e)&&e.host||za(e);return qa(t)?t.host:t}function er(e){const t=Qa(e);return Xa(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ha(t)&&Wa(t)?t:er(t)}function tr(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const l=er(e),a=l===(null==(o=e.ownerDocument)?void 0:o.body),r=Na(l);if(a){const e=nr(r);return t.concat(r,r.visualViewport||[],Wa(l)?l:[],e&&n?tr(e):[])}return t.concat(l,tr(l,[],n))}function nr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function or(e){const t=Za(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const l=Ha(e),a=l?e.offsetWidth:n,r=l?e.offsetHeight:o,i=ya(n)!==a||ya(o)!==r;return i&&(n=a,o=r),{width:n,height:o,$:i}}function lr(e){return ja(e)?e:e.contextElement}function ar(e){const t=lr(e);if(!Ha(t))return xa(1);const n=t.getBoundingClientRect(),{width:o,height:l,$:a}=or(t);let r=(a?ya(n.width):n.width)/o,i=(a?ya(n.height):n.height)/l;return r&&Number.isFinite(r)||(r=1),i&&Number.isFinite(i)||(i=1),{x:r,y:i}}const rr=xa(0);function ir(e){const t=Na(e);return Ga()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:rr}function sr(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect(),a=lr(e);let r=xa(1);t&&(o?ja(o)&&(r=ar(o)):r=ar(e));const i=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Na(e))&&t}(a,n,o)?ir(a):xa(0);let s=(l.left+i.x)/r.x,u=(l.top+i.y)/r.y,c=l.width/r.x,d=l.height/r.y;if(a){const e=Na(a),t=o&&ja(o)?Na(o):o;let n=e,l=nr(n);for(;l&&o&&t!==n;){const e=ar(l),t=l.getBoundingClientRect(),o=Za(l),a=t.left+(l.clientLeft+parseFloat(o.paddingLeft))*e.x,r=t.top+(l.clientTop+parseFloat(o.paddingTop))*e.y;s*=e.x,u*=e.y,c*=e.x,d*=e.y,s+=a,u+=r,n=Na(l),l=nr(n)}}return $a({width:c,height:d,x:s,y:u})}function ur(e){return sr(za(e)).left+Ja(e).scrollLeft}function cr(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=Na(e),o=za(e),l=n.visualViewport;let a=o.clientWidth,r=o.clientHeight,i=0,s=0;if(l){a=l.width,r=l.height;const e=Ga();(!e||e&&"fixed"===t)&&(i=l.offsetLeft,s=l.offsetTop)}return{width:a,height:r,x:i,y:s}}(e,n);else if("document"===t)o=function(e){const t=za(e),n=Ja(e),o=e.ownerDocument.body,l=ba(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=ba(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+ur(e);const i=-n.scrollTop;return"rtl"===Za(o).direction&&(r+=ba(t.clientWidth,o.clientWidth)-l),{width:l,height:a,x:r,y:i}}(za(e));else if(ja(t))o=function(e,t){const n=sr(e,!0,"fixed"===t),o=n.top+e.clientTop,l=n.left+e.clientLeft,a=Ha(e)?ar(e):xa(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:l*a.x,y:o*a.y}}(t,n);else{const n=ir(e);o=u(s({},t),{x:t.x-n.x,y:t.y-n.y})}return $a(o)}function dr(e,t){const n=Qa(e);return!(n===t||!ja(n)||Xa(n))&&("fixed"===Za(n).position||dr(n,t))}function pr(e,t,n){const o=Ha(t),l=za(t),a="fixed"===n,r=sr(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const s=xa(0);if(o||!o&&!a)if(("body"!==Pa(t)||Wa(l))&&(i=Ja(t)),o){const e=sr(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else l&&(s.x=ur(l));return{x:r.left+i.scrollLeft-s.x,y:r.top+i.scrollTop-s.y,width:r.width,height:r.height}}function fr(e){return"static"===Za(e).position}function vr(e,t){return Ha(e)&&"fixed"!==Za(e).position?t?t(e):e.offsetParent:null}function mr(e,t){const n=Na(e);if(Ua(e))return n;if(!Ha(e)){let t=Qa(e);for(;t&&!Xa(t);){if(ja(t)&&!fr(t))return t;t=Qa(t)}return n}let o=vr(e,t);for(;o&&Ka(o)&&fr(o);)o=vr(o,t);return o&&Xa(o)&&fr(o)&&!Ya(o)?n:o||function(e){let t=Qa(e);for(;Ha(t)&&!Xa(t);){if(Ya(t))return t;if(Ua(t))return null;t=Qa(t)}return null}(e)||n}const gr={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:l}=e;const a="fixed"===l,r=za(o),i=!!t&&Ua(t.floating);if(o===r||i&&a)return n;let s={scrollLeft:0,scrollTop:0},u=xa(1);const c=xa(0),d=Ha(o);if((d||!d&&!a)&&(("body"!==Pa(o)||Wa(r))&&(s=Ja(o)),Ha(o))){const e=sr(o);u=ar(o),c.x=e.x+o.clientLeft,c.y=e.y+o.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x,y:n.y*u.y-s.scrollTop*u.y+c.y}},getDocumentElement:za,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e;const a=[..."clippingAncestors"===n?Ua(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let o=tr(e,[],!1).filter((e=>ja(e)&&"body"!==Pa(e))),l=null;const a="fixed"===Za(e).position;let r=a?Qa(e):e;for(;ja(r)&&!Xa(r);){const t=Za(r),n=Ya(r);n||"fixed"!==t.position||(l=null),(a?!n&&!l:!n&&"static"===t.position&&l&&["absolute","fixed"].includes(l.position)||Wa(r)&&!n&&dr(e,r))?o=o.filter((e=>e!==r)):l=t,r=Qa(r)}return t.set(e,o),o}(t,this._c):[].concat(n),o],r=a[0],i=a.reduce(((e,n)=>{const o=cr(t,n,l);return e.top=ba(o.top,e.top),e.right=ha(o.right,e.right),e.bottom=ha(o.bottom,e.bottom),e.left=ba(o.left,e.left),e}),cr(t,r,l));return{width:i.right-i.left,height:i.bottom-i.top,x:i.left,y:i.top}},getOffsetParent:mr,getElementRects:function(e){return d(this,null,(function*(){const t=this.getOffsetParent||mr,n=this.getDimensions,o=yield n(e.floating);return{reference:pr(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}}))},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=or(e);return{width:t,height:n}},getScale:ar,isElement:ja,isRTL:function(e){return"rtl"===Za(e).direction}};function hr(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:l=!0,ancestorResize:a=!0,elementResize:r="function"==typeof ResizeObserver,layoutShift:i="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,d=lr(e),p=l||a?[...d?tr(d):[],...tr(t)]:[];p.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const f=d&&i?function(e,t){let n,o=null;const l=za(e);function a(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function r(i,c){void 0===i&&(i=!1),void 0===c&&(c=1),a();const{left:d,top:p,width:f,height:v}=e.getBoundingClientRect();if(i||t(),!f||!v)return;const m={rootMargin:-wa(p)+"px "+-wa(l.clientWidth-(d+f))+"px "+-wa(l.clientHeight-(p+v))+"px "+-wa(d)+"px",threshold:ba(0,ha(1,c))||1};let g=!0;function h(e){const t=e[0].intersectionRatio;if(t!==c){if(!g)return r();t?r(!1,t):n=setTimeout((()=>{r(!1,1e-7)}),1e3)}g=!1}try{o=new IntersectionObserver(h,u(s({},m),{root:l.ownerDocument}))}catch(b){o=new IntersectionObserver(h,m)}o.observe(e)}(!0),a}(d,n):null;let v,m=-1,g=null;r&&(g=new ResizeObserver((e=>{let[o]=e;o&&o.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),n()})),d&&!c&&g.observe(d),g.observe(t));let h=c?sr(e):null;return c&&function t(){const o=sr(e);!h||o.x===h.x&&o.y===h.y&&o.width===h.width&&o.height===h.height||n();h=o,v=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach((e=>{l&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==f||f(),null==(e=g)||e.disconnect(),g=null,c&&cancelAnimationFrame(v)}}const br=Va,yr=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn(t){return d(this,null,(function*(){var n,o;const{x:l,y:a,placement:r,middlewareData:i}=t,c=yield function(e,t){return d(this,null,(function*(){const{placement:n,platform:o,elements:l}=e,a=yield null==o.isRTL?void 0:o.isRTL(l.floating),r=Ia(n),i=Oa(n),u="y"===Ma(n),c=["left","top"].includes(r)?-1:1,d=a&&u?-1:1,p=Ea(t,e);let{mainAxis:f,crossAxis:v,alignmentAxis:m}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:s({mainAxis:0,crossAxis:0,alignmentAxis:null},p);return i&&"number"==typeof m&&(v="end"===i?-1*m:m),u?{x:v*d,y:f*c}:{x:f*c,y:v*d}}))}(t,e);return r===(null==(n=i.offset)?void 0:n.placement)&&null!=(o=i.arrow)&&o.alignmentOffset?{}:{x:l+c.x,y:a+c.y,data:u(s({},c),{placement:r})}}))}}},wr=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn(t){return d(this,null,(function*(){const{x:n,y:o,placement:l}=t,a=Ea(e,t),{mainAxis:r=!0,crossAxis:i=!1,limiter:d={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}}}=a,p=c(a,["mainAxis","crossAxis","limiter"]),f={x:n,y:o},v=yield Va(t,p),m=Ma(Ia(l)),g=Ta(m);let h=f[g],b=f[m];if(r){const e="y"===g?"bottom":"right";h=Sa(h+v["y"===g?"top":"left"],h,h-v[e])}if(i){const e="y"===m?"bottom":"right";b=Sa(b+v["y"===m?"top":"left"],b,b-v[e])}const y=d.fn(u(s({},t),{[g]:h,[m]:b}));return u(s({},y),{data:{x:y.x-n,y:y.y-o}})}))}}},xr=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn(t){return d(this,null,(function*(){var n,o;const{placement:l,middlewareData:a,rects:r,initialPlacement:i,platform:s,elements:u}=t,d=Ea(e,t),{mainAxis:p=!0,crossAxis:f=!0,fallbackPlacements:v,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0}=d,b=c(d,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};const y=Ia(l),w=Ma(i),x=Ia(i)===i,k=yield null==s.isRTL?void 0:s.isRTL(u.floating),C=v||(x||!h?[Aa(i)]:function(e){const t=Aa(e);return[_a(e),t,_a(t)]}(i)),S="none"!==g;!v&&S&&C.push(...function(e,t,n,o){const l=Oa(e);let a=function(e,t,n){const o=["left","right"],l=["right","left"],a=["top","bottom"],r=["bottom","top"];switch(e){case"top":case"bottom":return n?t?l:o:t?o:l;case"left":case"right":return t?a:r;default:return[]}}(Ia(e),"start"===n,o);return l&&(a=a.map((e=>e+"-"+l)),t&&(a=a.concat(a.map(_a)))),a}(i,h,g,k));const E=[i,...C],I=yield Va(t,b),O=[];let T=(null==(o=a.flip)?void 0:o.overflows)||[];if(p&&O.push(I[y]),f){const e=function(e,t,n){void 0===n&&(n=!1);const o=Oa(e),l=La(e),a=Ba(l);let r="x"===l?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[a]>t.floating[a]&&(r=Aa(r)),[r,Aa(r)]}(l,r,k);O.push(I[e[0]],I[e[1]])}if(T=[...T,{placement:l,overflows:O}],!O.every((e=>e<=0))){var B,M;const e=((null==(B=a.flip)?void 0:B.index)||0)+1,t=E[e];if(t)return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(M=T.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:M.placement;if(!n)switch(m){case"bestFit":{var L;const e=null==(L=T.filter((e=>{if(S){const t=Ma(e.placement);return t===w||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:L[0];e&&(n=e);break}case"initialPlacement":n=i}if(l!==n)return{reset:{placement:n}}}return{}}))}}},kr=e=>({name:"arrow",options:e,fn(t){return d(this,null,(function*(){const{x:n,y:o,placement:l,rects:a,platform:r,elements:i,middlewareData:u}=t,{element:c,padding:d=0}=Ea(e,t)||{};if(null==c)return{};const p=Ra(d),f={x:n,y:o},v=La(l),m=Ba(v),g=yield r.getDimensions(c),h="y"===v,b=h?"top":"left",y=h?"bottom":"right",w=h?"clientHeight":"clientWidth",x=a.reference[m]+a.reference[v]-f[v]-a.floating[m],k=f[v]-a.reference[v],C=yield null==r.getOffsetParent?void 0:r.getOffsetParent(c);let S=C?C[w]:0;S&&(yield null==r.isElement?void 0:r.isElement(C))||(S=i.floating[w]||a.floating[m]);const E=x/2-k/2,I=S/2-g[m]/2-1,O=ha(p[b],I),T=ha(p[y],I),B=O,M=S-g[m]-T,L=S/2-g[m]/2+E,_=Sa(B,L,M),A=!u.arrow&&null!=Oa(l)&&L!==_&&a.reference[m]/2-(L{const o=new Map,l=s({platform:gr},n),a=u(s({},l.platform),{_c:o});return((e,t,n)=>d(void 0,null,(function*(){const{placement:o="bottom",strategy:l="absolute",middleware:a=[],platform:r}=n,i=a.filter(Boolean),c=yield null==r.isRTL?void 0:r.isRTL(t);let d=yield r.getElementRects({reference:e,floating:t,strategy:l}),{x:p,y:f}=Fa(d,o,c),v=o,m={},g=0;for(let n=0;n{const n={},o=x([]);return{children:o,addChild:l=>{n[l.uid]=l,o.value=((e,t,n)=>co(e.subTree).filter((e=>{var n;return V(e)&&(null==(n=e.type)?void 0:n.name)===t&&!!e.component})).map((e=>e.component.uid)).map((e=>n[e])).filter((e=>!!e)))(e,t,n)},removeChild:e=>{delete n[e],o.value=o.value.filter((t=>t.uid!==e))}}},Er=Un({type:String,values:io,required:!1}),Ir=Symbol("size");function Or(e,{beforeFocus:t,afterFocus:n,beforeBlur:o,afterBlur:l}={}){const a=b(),{emit:r}=a,i=x(),s=m(!1),u=e=>{!!$(t)&&t(e)||s.value||(s.value=!0,r("focus",e),null==n||n())},c=e=>{var t;!!$(o)&&o(e)||e.relatedTarget&&(null==(t=i.value)?void 0:t.contains(e.relatedTarget))||(s.value=!1,r("blur",e),null==l||l())};return g(i,(e=>{e&&e.setAttribute("tabindex","-1")})),Mt(i,"focus",u,!0),Mt(i,"blur",c,!0),Mt(i,"click",(()=>{var t,n;(null==(t=i.value)?void 0:t.contains(document.activeElement))&&i.value!==document.activeElement||null==(n=e.value)||n.focus()}),!0),{isFocused:s,wrapperRef:i,handleFocus:u,handleBlur:c}}function Tr({afterComposition:e,emit:t}){const n=m(!1),o=e=>{var o;null==t||t("compositionupdate",e);const l=null==(o=e.target)?void 0:o.value,a=l[l.length-1]||"";n.value=!(e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e))(a)},l=o=>{null==t||t("compositionend",o),n.value&&(n.value=!1,w((()=>e(o))))};return{isComposing:n,handleComposition:e=>{"compositionend"===e.type?l(e):o(e)},handleCompositionStart:e=>{null==t||t("compositionstart",e),n.value=!0},handleCompositionUpdate:o,handleCompositionEnd:l}}const Br=Symbol("emptyValuesContextKey"),Mr=["",void 0,null],Lr=Yn({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>$(e)?!e():!e}}),_r=Yn({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),Ar=e=>Ke(_r,e),Rr=Symbol(),$r=m();function Fr(e,t=void 0){const n=b()?N(Rr,$r):$r;return e?C((()=>{var o,l;return null!=(l=null==(o=n.value)?void 0:o[e])?l:t})):n}function Vr(e,t){const n=Fr(),o=Io(e,C((()=>{var e;return(null==(e=n.value)?void 0:e.namespace)||ko}))),l=xo(C((()=>{var e;return null==(e=n.value)?void 0:e.locale}))),a=ga(C((()=>{var e;return(null==(e=n.value)?void 0:e.zIndex)||fa}))),r=C((()=>{var e;return p(t)||(null==(e=n.value)?void 0:e.size)||""}));return Pr(C((()=>p(n)||{}))),{ns:o,locale:l,zIndex:a,size:r}}const Pr=(e,t,n=!1)=>{const o=!!b(),l=o?Fr():void 0,a=null!=void 0?undefined:o?j:void 0;if(!a)return;const r=C((()=>{const t=p(e);return(null==l?void 0:l.value)?Nr(l.value,t):t}));return a(Rr,r),a(wo,C((()=>r.value.locale))),a(So,C((()=>r.value.namespace))),a(ma,C((()=>r.value.zIndex))),a(Ir,{size:C((()=>r.value.size||""))}),a(Br,C((()=>({emptyValues:r.value.emptyValues,valueOnClear:r.value.valueOnClear})))),!n&&$r.value||($r.value=r.value),r},Nr=(e,t)=>{const n=[...new Set([...on(e),...on(t)])],o={};for(const l of n)o[l]=void 0!==t[l]?t[l]:e[l];return o},zr=Yn(s({a11y:{type:Boolean,default:!0},locale:{type:Object},size:Er,button:{type:Object},experimentalFeatures:{type:Object},keyboardNavigation:{type:Boolean,default:!0},message:{type:Object},zIndex:Number,namespace:{type:String,default:"el"}},Lr)),Dr={},jr=eo(O({name:"ElConfigProvider",props:zr,setup(e,{slots:t}){g((()=>e.message),(e=>{Object.assign(Dr,null!=e?e:{})}),{immediate:!0,deep:!0});const n=Pr(e);return()=>H(t,"default",{config:null==n?void 0:n.value})}}));var Hr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,l]of t)n[o]=l;return n};const qr=Yn({size:{type:[Number,String]},color:{type:String}}),Wr=O({name:"ElIcon",inheritAttrs:!1});const Kr=eo(Hr(O(u(s({},Wr),{props:qr,setup(e){const t=e,n=Io("icon"),o=C((()=>{const{size:e,color:n}=t;return e||n?{fontSize:Zt(e)?void 0:fn(e),"--color":n}:{}}));return(e,t)=>(T(),B("i",q({class:p(n).b(),style:p(o)},e.$attrs),[H(e.$slots,"default")],16))}})),[["__file","icon.vue"]])),Ur=Symbol("formContextKey"),Yr=Symbol("formItemContextKey"),Gr=(e,t={})=>{const n=m(void 0),o=t.prop?n:Lo("size"),l=t.global?n:(()=>{const e=N(Ir,{});return C((()=>p(e.size)||""))})(),a=t.form?{size:void 0}:N(Ur,void 0),r=t.formItem?{size:void 0}:N(Yr,void 0);return C((()=>o.value||p(e)||(null==r?void 0:r.size)||(null==a?void 0:a.size)||l.value||""))},Xr=e=>{const t=Lo("disabled"),n=N(Ur,void 0);return C((()=>t.value||p(e)||(null==n?void 0:n.disabled)||!1))},Zr=()=>({form:N(Ur,void 0),formItem:N(Yr,void 0)}),Jr=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:o})=>{n||(n=m(!1)),o||(o=m(!1));const l=m();let a;const r=C((()=>{var n;return!!(!e.label&&!e.ariaLabel&&t&&t.inputIds&&(null==(n=t.inputIds)?void 0:n.length)<=1)}));return y((()=>{a=g([W(e,"id"),n],(([e,n])=>{const a=null!=e?e:n?void 0:oa().value;a!==l.value&&((null==t?void 0:t.removeInputId)&&(l.value&&t.removeInputId(l.value),(null==o?void 0:o.value)||n||!a||t.addInputId(a)),l.value=a)}),{immediate:!0})})),K((()=>{a&&a(),(null==t?void 0:t.removeInputId)&&l.value&&t.removeInputId(l.value)})),{isLabeledByFormItem:r,inputId:l}},Qr=Yn({size:{type:String,values:io},disabled:Boolean}),ei=Yn(u(s({},Qr),{model:Object,rules:{type:Object},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}})),ti={validate:(e,t,n)=>(F(e)||S(e))&&Jt(t)&&S(n)};const ni=(e,t)=>{const n=Ue(t);return n.length>0?e.filter((e=>e.prop&&n.includes(e.prop))):e},oi=O({name:"ElForm"});var li=Hr(O(u(s({},oi),{props:ei,emits:ti,setup(e,{expose:t,emit:n}){const o=e,l=[],a=Gr(),r=Io("form"),i=C((()=>{const{labelPosition:e,inline:t}=o;return[r.b(),r.m(a.value||"default"),{[r.m(`label-${e}`)]:e,[r.m("inline")]:t}]})),c=(e=[])=>{o.model&&ni(l,e).forEach((e=>e.resetField()))},f=(e=[])=>{ni(l,e).forEach((e=>e.clearValidate()))},v=C((()=>!!o.model)),h=e=>d(this,null,(function*(){return y(void 0,e)})),b=(...e)=>d(this,[...e],(function*(e=[]){if(!v.value)return!1;const t=(e=>{if(0===l.length)return[];const t=ni(l,e);return t.length?t:[]})(e);if(0===t.length)return!0;let n={};for(const l of t)try{yield l.validate("")}catch(o){n=s(s({},n),o)}return 0===Object.keys(n).length||Promise.reject(n)})),y=(...e)=>d(this,[...e],(function*(e=[],t){const n=!$(t);try{const n=yield b(e);return!0===n&&(yield null==t?void 0:t(n)),n}catch(l){if(l instanceof Error)throw l;const e=l;return o.scrollToError&&w(Object.keys(e)[0]),yield null==t?void 0:t(!1,e),n&&Promise.reject(e)}})),w=e=>{var t;const n=ni(l,e)[0];n&&(null==(t=n.$el)||t.scrollIntoView(o.scrollIntoViewOptions))};return g((()=>o.rules),(()=>{o.validateOnRuleChange&&h().catch((e=>{}))}),{deep:!0}),j(Ur,U(s(u(s({},Y(o)),{emit:n,resetFields:c,clearValidate:f,validateField:y,getField:e=>l.find((t=>t.prop===e)),addField:e=>{l.push(e)},removeField:e=>{e.prop&&l.splice(l.indexOf(e),1)}}),function(){const e=m([]),t=C((()=>{if(!e.value.length)return"0";const t=Math.max(...e.value);return t?`${t}px`:""}));function n(n){const o=e.value.indexOf(n);return-1===o&&t.value,o}return{autoLabelWidth:t,registerLabelWidth:function(t,o){if(t&&o){const l=n(o);e.value.splice(l,1,t)}else t&&e.value.push(t)},deregisterLabelWidth:function(t){const o=n(t);o>-1&&e.value.splice(o,1)}}}()))),t({validate:h,validateField:y,resetFields:c,clearValidate:f,scrollToField:w,fields:l}),(e,t)=>(T(),B("form",{class:G(p(i))},[H(e.$slots,"default")],2))}})),[["__file","form.vue"]]);function ai(){return ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),o=1;o=a)return e;switch(e){case"%s":return String(n[l++]);case"%d":return Number(n[l++]);case"%j":try{return JSON.stringify(n[l++])}catch(t){return"[Circular]"}break;default:return e}})):e}function vi(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function mi(e,t,n){var o=0,l=e.length;!function a(r){if(r&&r.length)n(r);else{var i=o;o+=1,i()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,Ci=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,Si={integer:function(e){return Si.number(e)&&parseInt(e,10)===e},float:function(e){return Si.number(e)&&!Si.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!Si.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(ki)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(wi)return wi;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",l=("\n(?:\n(?:"+o+":){7}(?:"+o+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+o+":){6}(?:"+n+"|:"+o+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+o+":){5}(?::"+n+"|(?::"+o+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+o+":){4}(?:(?::"+o+"){0,1}:"+n+"|(?::"+o+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+o+":){3}(?:(?::"+o+"){0,2}:"+n+"|(?::"+o+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+o+":){2}(?:(?::"+o+"){0,3}:"+n+"|(?::"+o+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+o+":){1}(?:(?::"+o+"){0,4}:"+n+"|(?::"+o+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+o+"){0,5}:"+n+"|(?::"+o+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+n+"$)|(?:^"+l+"$)"),r=new RegExp("^"+n+"$"),i=new RegExp("^"+l+"$"),s=function(e){return e&&e.exact?a:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+l+t(e)+")","g")};s.v4=function(e){return e&&e.exact?r:new RegExp(""+t(e)+n+t(e),"g")},s.v6=function(e){return e&&e.exact?i:new RegExp(""+t(e)+l+t(e),"g")};var u=s.v4().source,c=s.v6().source;return wi=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+u+"|"+c+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(Ci)}},Ei="enum",Ii={required:xi,whitespace:function(e,t,n,o,l){(/^\s+$/.test(t)||""===t)&&o.push(fi(l.messages.whitespace,e.fullField))},type:function(e,t,n,o,l){if(e.required&&void 0===t)xi(e,t,n,o,l);else{var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?Si[a](t)||o.push(fi(l.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&o.push(fi(l.messages.types[a],e.fullField,e.type))}},range:function(e,t,n,o,l){var a="number"==typeof e.len,r="number"==typeof e.min,i="number"==typeof e.max,s=t,u=null,c="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(c?u="number":d?u="string":p&&(u="array"),!u)return!1;p&&(s=t.length),d&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?s!==e.len&&o.push(fi(l.messages[u].len,e.fullField,e.len)):r&&!i&&se.max?o.push(fi(l.messages[u].max,e.fullField,e.max)):r&&i&&(se.max)&&o.push(fi(l.messages[u].range,e.fullField,e.min,e.max))},enum:function(e,t,n,o,l){e[Ei]=Array.isArray(e[Ei])?e[Ei]:[],-1===e[Ei].indexOf(t)&&o.push(fi(l.messages[Ei],e.fullField,e[Ei].join(", ")))},pattern:function(e,t,n,o,l){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(fi(l.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(fi(l.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},Oi=function(e,t,n,o,l){var a=e.type,r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t,a)&&!e.required)return n();Ii.required(e,t,o,r,l,a),vi(t,a)||Ii.type(e,t,o,r,l)}n(r)},Ti={string:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t,"string")&&!e.required)return n();Ii.required(e,t,o,a,l,"string"),vi(t,"string")||(Ii.type(e,t,o,a,l),Ii.range(e,t,o,a,l),Ii.pattern(e,t,o,a,l),!0===e.whitespace&&Ii.whitespace(e,t,o,a,l))}n(a)},method:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t)&&!e.required)return n();Ii.required(e,t,o,a,l),void 0!==t&&Ii.type(e,t,o,a,l)}n(a)},number:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(""===t&&(t=void 0),vi(t)&&!e.required)return n();Ii.required(e,t,o,a,l),void 0!==t&&(Ii.type(e,t,o,a,l),Ii.range(e,t,o,a,l))}n(a)},boolean:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t)&&!e.required)return n();Ii.required(e,t,o,a,l),void 0!==t&&Ii.type(e,t,o,a,l)}n(a)},regexp:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t)&&!e.required)return n();Ii.required(e,t,o,a,l),vi(t)||Ii.type(e,t,o,a,l)}n(a)},integer:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t)&&!e.required)return n();Ii.required(e,t,o,a,l),void 0!==t&&(Ii.type(e,t,o,a,l),Ii.range(e,t,o,a,l))}n(a)},float:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t)&&!e.required)return n();Ii.required(e,t,o,a,l),void 0!==t&&(Ii.type(e,t,o,a,l),Ii.range(e,t,o,a,l))}n(a)},array:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();Ii.required(e,t,o,a,l,"array"),null!=t&&(Ii.type(e,t,o,a,l),Ii.range(e,t,o,a,l))}n(a)},object:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t)&&!e.required)return n();Ii.required(e,t,o,a,l),void 0!==t&&Ii.type(e,t,o,a,l)}n(a)},enum:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t)&&!e.required)return n();Ii.required(e,t,o,a,l),void 0!==t&&Ii.enum(e,t,o,a,l)}n(a)},pattern:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t,"string")&&!e.required)return n();Ii.required(e,t,o,a,l),vi(t,"string")||Ii.pattern(e,t,o,a,l)}n(a)},date:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t,"date")&&!e.required)return n();var r;if(Ii.required(e,t,o,a,l),!vi(t,"date"))r=t instanceof Date?t:new Date(t),Ii.type(e,r,o,a,l),r&&Ii.range(e,r.getTime(),o,a,l)}n(a)},url:Oi,hex:Oi,email:Oi,required:function(e,t,n,o,l){var a=[],r=Array.isArray(t)?"array":typeof t;Ii.required(e,t,o,a,l,r),n(a)},any:function(e,t,n,o,l){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(vi(t)&&!e.required)return n();Ii.required(e,t,o,a,l)}n(a)}};function Bi(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Mi=Bi(),Li=function(){function e(e){this.rules=null,this._messages=Mi,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var o=e[n];t.rules[n]=Array.isArray(o)?o:[o]}))},t.messages=function(e){return e&&(this._messages=yi(Bi(),e)),this._messages},t.validate=function(t,n,o){var l=this;void 0===n&&(n={}),void 0===o&&(o=function(){});var a=t,r=n,i=o;if("function"==typeof r&&(i=r,r={}),!this.rules||0===Object.keys(this.rules).length)return i&&i(null,a),Promise.resolve(a);if(r.messages){var s=this.messages();s===Mi&&(s=Bi()),yi(s,r.messages),r.messages=s}else r.messages=this.messages();var u={};(r.keys||Object.keys(this.rules)).forEach((function(e){var n=l.rules[e],o=a[e];n.forEach((function(n){var r=n;"function"==typeof r.transform&&(a===t&&(a=ai({},a)),o=a[e]=r.transform(o)),(r="function"==typeof r?{validator:r}:ai({},r)).validator=l.getValidationMethod(r),r.validator&&(r.field=e,r.fullField=r.fullField||e,r.type=l.getType(r),u[e]=u[e]||[],u[e].push({rule:r,value:o,source:a,field:e}))}))}));var c={};return hi(u,r,(function(t,n){var o,l=t.rule,i=!("object"!==l.type&&"array"!==l.type||"object"!=typeof l.fields&&"object"!=typeof l.defaultField);function s(e,t){return ai({},t,{fullField:l.fullField+"."+e,fullFields:l.fullFields?[].concat(l.fullFields,[e]):[e]})}function u(o){void 0===o&&(o=[]);var u=Array.isArray(o)?o:[o];!r.suppressWarning&&u.length&&e.warning("async-validator:",u),u.length&&void 0!==l.message&&(u=[].concat(l.message));var d=u.map(bi(l,a));if(r.first&&d.length)return c[l.field]=1,n(d);if(i){if(l.required&&!t.value)return void 0!==l.message?d=[].concat(l.message).map(bi(l,a)):r.error&&(d=[r.error(l,fi(r.messages.required,l.field))]),n(d);var p={};l.defaultField&&Object.keys(t.value).map((function(e){p[e]=l.defaultField})),p=ai({},p,t.rule.fields);var f={};Object.keys(p).forEach((function(e){var t=p[e],n=Array.isArray(t)?t:[t];f[e]=n.map(s.bind(null,e))}));var v=new e(f);v.messages(r.messages),t.rule.options&&(t.rule.options.messages=r.messages,t.rule.options.error=r.error),v.validate(t.value,t.rule.options||r,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(d)}if(i=i&&(l.required||!l.required&&t.value),l.field=t.field,l.asyncValidator)o=l.asyncValidator(l,t.value,u,t.source,r);else if(l.validator){try{o=l.validator(l,t.value,u,t.source,r)}catch(d){console.error,r.suppressValidatorError||setTimeout((function(){throw d}),0),u(d.message)}!0===o?u():!1===o?u("function"==typeof l.message?l.message(l.fullField||l.field):l.message||(l.fullField||l.field)+" fails"):o instanceof Array?u(o):o instanceof Error&&u(o.message)}o&&o.then&&o.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){!function(e){for(var t,n,o=[],l={},r=0;r");const l=Io("form"),a=m(),r=m(0),i=(o="update")=>{w((()=>{t.default&&e.isAutoWidth&&("update"===o?r.value=(()=>{var e;if(null==(e=a.value)?void 0:e.firstElementChild){const e=window.getComputedStyle(a.value.firstElementChild).width;return Math.ceil(Number.parseFloat(e))}return 0})():"remove"===o&&(null==n||n.deregisterLabelWidth(r.value)))}))},s=()=>i("update");return y((()=>{s()})),P((()=>{i("remove")})),X((()=>s())),g(r,((t,o)=>{e.updateAll&&(null==n||n.registerLabelWidth(t,o))})),Pt(C((()=>{var e,t;return null!=(t=null==(e=a.value)?void 0:e.firstElementChild)?t:null})),s),()=>{var i,s;if(!t)return null;const{isAutoWidth:u}=e;if(u){const e=null==n?void 0:n.autoLabelWidth,s={};if((null==o?void 0:o.hasLabel)&&e&&"auto"!==e){const t=Math.max(0,Number.parseInt(e,10)-r.value),l=o.labelPosition||n.labelPosition;t&&(s["left"===l?"marginRight":"marginLeft"]=`${t}px`)}return Z("div",{ref:a,class:[l.be("item","label-wrap")],style:s},[null==(i=t.default)?void 0:i.call(t)])}return Z(J,{ref:a},[null==(s=t.default)?void 0:s.call(t)])}}});const $i=O({name:"ElFormItem"});var Fi=Hr(O(u(s({},$i),{props:_i,setup(e,{expose:t}){const n=e,o=Q(),l=N(Ur,void 0),a=N(Yr,void 0),r=Gr(void 0,{formItem:!1}),i=Io("form-item"),f=oa().value,v=m([]),h=m(""),b=function(e,t=200,n={}){const o=m(e.value),l=St((()=>{o.value=e.value}),t,n);return g(e,(()=>l())),o}(h,100),x=m(""),k=m();let E,I=!1;const O=C((()=>n.labelPosition||(null==l?void 0:l.labelPosition))),L=C((()=>{if("top"===O.value)return{};const e=fn(n.labelWidth||(null==l?void 0:l.labelWidth)||"");return e?{width:e}:{}})),_=C((()=>{if("top"===O.value||(null==l?void 0:l.inline))return{};if(!n.label&&!n.labelWidth&&W)return{};const e=fn(n.labelWidth||(null==l?void 0:l.labelWidth)||"");return n.label||o.label?{}:{marginLeft:e}})),A=C((()=>[i.b(),i.m(r.value),i.is("error","error"===h.value),i.is("validating","validating"===h.value),i.is("success","success"===h.value),i.is("required",se.value||n.required),i.is("no-asterisk",null==l?void 0:l.hideRequiredAsterisk),"right"===(null==l?void 0:l.requireAsteriskPosition)?"asterisk-right":"asterisk-left",{[i.m("feedback")]:null==l?void 0:l.statusIcon,[i.m(`label-${O.value}`)]:O.value}])),R=C((()=>Jt(n.inlineMessage)?n.inlineMessage:(null==l?void 0:l.inlineMessage)||!1)),F=C((()=>[i.e("error"),{[i.em("error","inline")]:R.value}])),V=C((()=>n.prop?S(n.prop)?n.prop:n.prop.join("."):"")),z=C((()=>!(!n.label&&!o.label))),D=C((()=>n.for||(1===v.value.length?v.value[0]:void 0))),q=C((()=>!D.value&&z.value)),W=!!a,K=C((()=>{const e=null==l?void 0:l.model;if(e&&n.prop)return ln(e,n.prop).value})),X=C((()=>{const{required:e}=n,t=[];n.rules&&t.push(...Ue(n.rules));const o=null==l?void 0:l.rules;if(o&&n.prop){const e=ln(o,n.prop).value;e&&t.push(...Ue(e))}if(void 0!==e){const n=t.map(((e,t)=>[e,t])).filter((([e])=>Object.keys(e).includes("required")));if(n.length>0)for(const[o,l]of n)o.required!==e&&(t[l]=u(s({},o),{required:e}));else t.push({required:e})}return t})),J=C((()=>X.value.length>0)),se=C((()=>X.value.some((e=>e.required)))),ue=C((()=>{var e;return"error"===b.value&&n.showMessage&&(null==(e=null==l?void 0:l.showMessage)||e)})),ce=C((()=>`${n.label||""}${(null==l?void 0:l.labelSuffix)||""}`)),de=e=>{h.value=e},pe=e=>d(this,null,(function*(){const t=V.value;return new Li({[t]:e}).validate({[t]:K.value},{firstFields:!0}).then((()=>(de("success"),null==l||l.emit("validate",n.prop,!0,""),!0))).catch((e=>((e=>{var t,o;const{errors:a,fields:r}=e;de("error"),x.value=a?null!=(o=null==(t=null==a?void 0:a[0])?void 0:t.message)?o:`${n.prop} is required`:"",null==l||l.emit("validate",n.prop,!1,x.value)})(e),Promise.reject(e))))})),fe=(e,t)=>d(this,null,(function*(){if(I||!n.prop)return!1;const o=$(t);if(!J.value)return null==t||t(!1),!1;const l=(e=>X.value.filter((t=>!t.trigger||!e||(Array.isArray(t.trigger)?t.trigger.includes(e):t.trigger===e))).map((e=>{var t=e,{trigger:n}=t;return c(t,["trigger"])})))(e);return 0===l.length?(null==t||t(!0),!0):(de("validating"),pe(l).then((()=>(null==t||t(!0),!0))).catch((e=>{const{fields:n}=e;return null==t||t(!1,n),!o&&Promise.reject(n)})))})),ve=()=>{de(""),x.value="",I=!1},me=()=>d(this,null,(function*(){const e=null==l?void 0:l.model;if(!e||!n.prop)return;const t=ln(e,n.prop);I=!0,t.value=Ye(E),yield w(),ve(),I=!1}));g((()=>n.error),(e=>{x.value=e||"",de(e?"error":"")}),{immediate:!0}),g((()=>n.validateStatus),(e=>de(e||"")));const ge=U(u(s({},Y(n)),{$el:k,size:r,validateState:h,labelId:f,inputIds:v,isGroup:q,hasLabel:z,fieldValue:K,addInputId:e=>{v.value.includes(e)||v.value.push(e)},removeInputId:e=>{v.value=v.value.filter((t=>t!==e))},resetField:me,clearValidate:ve,validate:fe}));return j(Yr,ge),y((()=>{n.prop&&(null==l||l.addField(ge),E=Ye(K.value))})),P((()=>{null==l||l.removeField(ge)})),t({size:r,validateMessage:x,validateState:h,validate:fe,clearValidate:ve,resetField:me}),(e,t)=>{var n;return T(),B("div",{ref_key:"formItemRef",ref:k,class:G(p(A)),role:p(q)?"group":void 0,"aria-labelledby":p(q)?p(f):void 0},[Z(p(Ri),{"is-auto-width":"auto"===p(L).width,"update-all":"auto"===(null==(n=p(l))?void 0:n.labelWidth)},{default:ee((()=>[p(z)?(T(),te(ne(p(D)?"label":"div"),{key:0,id:p(f),for:p(D),class:G(p(i).e("label")),style:oe(p(L))},{default:ee((()=>[H(e.$slots,"label",{label:p(ce)},(()=>[le(ae(p(ce)),1)]))])),_:3},8,["id","for","class","style"])):re("v-if",!0)])),_:3},8,["is-auto-width","update-all"]),M("div",{class:G(p(i).e("content")),style:oe(p(_))},[H(e.$slots,"default"),Z(ie,{name:`${p(i).namespace.value}-zoom-in-top`},{default:ee((()=>[p(ue)?H(e.$slots,"error",{key:0,error:x.value},(()=>[M("div",{class:G(p(F))},ae(x.value),3)])):re("v-if",!0)])),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}})),[["__file","form-item.vue"]]);const Vi=eo(li,{FormItem:Fi}),Pi=to(Fi);let Ni;const zi=`\n height:0 !important;\n visibility:hidden !important;\n ${ht&&/firefox/i.test(window.navigator.userAgent)?"":"overflow:hidden !important;"}\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`,Di=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function ji(e,t=1,n){var o;Ni||(Ni=document.createElement("textarea"),document.body.appendChild(Ni));const{paddingSize:l,borderSize:a,boxSizing:r,contextStyle:i}=function(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),l=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:Di.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";"),paddingSize:o,borderSize:l,boxSizing:n}}(e);Ni.setAttribute("style",`${i};${zi}`),Ni.value=e.value||e.placeholder||"";let s=Ni.scrollHeight;const u={};"border-box"===r?s+=a:"content-box"===r&&(s-=l),Ni.value="";const c=Ni.scrollHeight-l;if(Qt(t)){let e=c*t;"border-box"===r&&(e=e+l+a),s=Math.max(e,s),u.minHeight=`${e}px`}if(Qt(n)){let e=c*n;"border-box"===r&&(e=e+l+a),s=Math.min(e,s)}return u.height=`${s}px`,null==(o=Ni.parentNode)||o.removeChild(Ni),Ni=void 0,u}const Hi=Yn(s({id:{type:String,default:void 0},size:Er,disabled:Boolean,modelValue:{type:[String,Number,Object],default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:Gn},prefixIcon:{type:Gn},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:[Object,Array,String],default:()=>({})},autofocus:Boolean,rows:{type:Number,default:2}},Ar(["ariaLabel"]))),qi={[lo]:e=>S(e),input:e=>S(e),change:e=>S(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},Wi=O({name:"ElInput",inheritAttrs:!1});const Ki=eo(Hr(O(u(s({},Wi),{props:Hi,emits:qi,setup(e,{expose:t,emit:n}){const o=e,l=se(),a=Q(),r=C((()=>{const e={};return"combobox"===o.containerRole&&(e["aria-haspopup"]=l["aria-haspopup"],e["aria-owns"]=l["aria-owns"],e["aria-expanded"]=l["aria-expanded"]),e})),i=C((()=>["textarea"===o.type?E.b():S.b(),S.m(b.value),S.is("disabled",k.value),S.is("exceed",ve.value),{[S.b("group")]:a.prepend||a.append,[S.m("prefix")]:a.prefix||o.prefixIcon,[S.m("suffix")]:a.suffix||o.suffixIcon||o.clearable||o.showPassword,[S.bm("suffix","password-clear")]:ce.value&&de.value,[S.b("hidden")]:"hidden"===o.type},l.class])),u=C((()=>[S.e("wrapper"),S.is("focus",N.value)])),c=vo({excludeKeys:C((()=>Object.keys(r.value)))}),{form:f,formItem:v}=Zr(),{inputId:h}=Jr(o,{formItemContext:v}),b=Gr(),k=Xr(),S=Io("input"),E=Io("textarea"),I=x(),O=x(),_=m(!1),A=m(!1),$=m(),F=x(o.inputStyle),V=C((()=>I.value||O.value)),{wrapperRef:P,isFocused:N,handleFocus:z,handleBlur:D}=Or(V,{beforeFocus:()=>k.value,afterBlur(){var e;o.validateEvent&&(null==(e=null==v?void 0:v.validate)||e.call(v,"blur").catch((e=>{})))}}),j=C((()=>{var e;return null!=(e=null==f?void 0:f.statusIcon)&&e})),K=C((()=>(null==v?void 0:v.validateState)||"")),U=C((()=>K.value&&Qn[K.value])),Y=C((()=>A.value?jn:Tn)),X=C((()=>[l.style])),le=C((()=>[o.inputStyle,F.value,{resize:o.resize}])),ie=C((()=>je(o.modelValue)?"":String(o.modelValue))),ce=C((()=>o.clearable&&!k.value&&!o.readonly&&!!ie.value&&(N.value||_.value))),de=C((()=>o.showPassword&&!k.value&&!o.readonly&&!!ie.value&&(!!ie.value||N.value))),pe=C((()=>o.showWordLimit&&!!o.maxlength&&("text"===o.type||"textarea"===o.type)&&!k.value&&!o.readonly&&!o.showPassword)),fe=C((()=>ie.value.length)),ve=C((()=>!!pe.value&&fe.value>Number(o.maxlength))),me=C((()=>!!a.suffix||!!o.suffixIcon||ce.value||o.showPassword||pe.value||!!K.value&&j.value)),[ge,he]=function(e){let t;return[function(){if(null==e.value)return;const{selectionStart:n,selectionEnd:o,value:l}=e.value;if(null==n||null==o)return;const a=l.slice(0,Math.max(0,n)),r=l.slice(Math.max(0,o));t={selectionStart:n,selectionEnd:o,value:l,beforeTxt:a,afterTxt:r}},function(){if(null==e.value||null==t)return;const{value:n}=e.value,{beforeTxt:o,afterTxt:l,selectionStart:a}=t;if(null==o||null==l||null==a)return;let r=n.length;if(n.endsWith(l))r=n.length-l.length;else if(n.startsWith(o))r=o.length;else{const e=o[a-1],t=n.indexOf(e,a-1);-1!==t&&(r=t+1)}e.value.setSelectionRange(r,r)}]}(I);Pt(O,(e=>{if(ye(),!pe.value||"both"!==o.resize)return;const t=e[0],{width:n}=t.contentRect;$.value={right:`calc(100% - ${n+15+6}px)`}}));const be=()=>{const{type:e,autosize:t}=o;if(ht&&"textarea"===e&&O.value)if(t){const e=L(t)?t.minRows:void 0,n=L(t)?t.maxRows:void 0,o=ji(O.value,e,n);F.value=s({overflowY:"hidden"},o),w((()=>{O.value.offsetHeight,F.value=o}))}else F.value={minHeight:ji(O.value).minHeight}},ye=(e=>{let t=!1;return()=>{var n;if(t||!o.autosize)return;null===(null==(n=O.value)?void 0:n.offsetParent)||(e(),t=!0)}})(be),we=()=>{const e=V.value,t=o.formatter?o.formatter(ie.value):ie.value;e&&e.value!==t&&(e.value=t)},xe=e=>d(this,null,(function*(){ge();let{value:t}=e.target;o.formatter&&(t=o.parser?o.parser(t):t),Ce.value||(t!==ie.value?(n(lo,t),n("input",t),yield w(),we(),he()):we())})),ke=e=>{n("change",e.target.value)},{isComposing:Ce,handleCompositionStart:Se,handleCompositionUpdate:Ee,handleCompositionEnd:Ie}=Tr({emit:n,afterComposition:xe}),Oe=()=>{A.value=!A.value,Te()},Te=()=>d(this,null,(function*(){var e;yield w(),null==(e=V.value)||e.focus()})),Be=e=>{_.value=!1,n("mouseleave",e)},Me=e=>{_.value=!0,n("mouseenter",e)},Le=e=>{n("keydown",e)},_e=()=>{n(lo,""),n("change",""),n("clear"),n("input","")};return g((()=>o.modelValue),(()=>{var e;w((()=>be())),o.validateEvent&&(null==(e=null==v?void 0:v.validate)||e.call(v,"change").catch((e=>{})))})),g(ie,(()=>we())),g((()=>o.type),(()=>d(this,null,(function*(){yield w(),we(),be()})))),y((()=>{!o.formatter&&o.parser,we(),w(be)})),t({input:I,textarea:O,ref:V,textareaStyle:le,autosize:W(o,"autosize"),isComposing:Ce,focus:Te,blur:()=>{var e;return null==(e=V.value)?void 0:e.blur()},select:()=>{var e;null==(e=V.value)||e.select()},clear:_e,resizeTextarea:be}),(e,t)=>(T(),B("div",q(p(r),{class:[p(i),{[p(S).bm("group","append")]:e.$slots.append,[p(S).bm("group","prepend")]:e.$slots.prepend}],style:p(X),role:e.containerRole,onMouseenter:Me,onMouseleave:Be}),[re(" input "),"textarea"!==e.type?(T(),B(J,{key:0},[re(" prepend slot "),e.$slots.prepend?(T(),B("div",{key:0,class:G(p(S).be("group","prepend"))},[H(e.$slots,"prepend")],2)):re("v-if",!0),M("div",{ref_key:"wrapperRef",ref:P,class:G(p(u))},[re(" prefix slot "),e.$slots.prefix||e.prefixIcon?(T(),B("span",{key:0,class:G(p(S).e("prefix"))},[M("span",{class:G(p(S).e("prefix-inner"))},[H(e.$slots,"prefix"),e.prefixIcon?(T(),te(p(Kr),{key:0,class:G(p(S).e("icon"))},{default:ee((()=>[(T(),te(ne(e.prefixIcon)))])),_:1},8,["class"])):re("v-if",!0)],2)],2)):re("v-if",!0),M("input",q({id:p(h),ref_key:"input",ref:I,class:p(S).e("inner")},p(c),{minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?A.value?"text":"password":e.type,disabled:p(k),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,onCompositionstart:p(Se),onCompositionupdate:p(Ee),onCompositionend:p(Ie),onInput:xe,onChange:ke,onKeydown:Le}),null,16,["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","onCompositionstart","onCompositionupdate","onCompositionend"]),re(" suffix slot "),p(me)?(T(),B("span",{key:1,class:G(p(S).e("suffix"))},[M("span",{class:G(p(S).e("suffix-inner"))},[p(ce)&&p(de)&&p(pe)?re("v-if",!0):(T(),B(J,{key:0},[H(e.$slots,"suffix"),e.suffixIcon?(T(),te(p(Kr),{key:0,class:G(p(S).e("icon"))},{default:ee((()=>[(T(),te(ne(e.suffixIcon)))])),_:1},8,["class"])):re("v-if",!0)],64)),p(ce)?(T(),te(p(Kr),{key:1,class:G([p(S).e("icon"),p(S).e("clear")]),onMousedown:ue(p(R),["prevent"]),onClick:_e},{default:ee((()=>[Z(p(Cn))])),_:1},8,["class","onMousedown"])):re("v-if",!0),p(de)?(T(),te(p(Kr),{key:2,class:G([p(S).e("icon"),p(S).e("password")]),onClick:Oe},{default:ee((()=>[(T(),te(ne(p(Y))))])),_:1},8,["class"])):re("v-if",!0),p(pe)?(T(),B("span",{key:3,class:G(p(S).e("count"))},[M("span",{class:G(p(S).e("count-inner"))},ae(p(fe))+" / "+ae(e.maxlength),3)],2)):re("v-if",!0),p(K)&&p(U)&&p(j)?(T(),te(p(Kr),{key:4,class:G([p(S).e("icon"),p(S).e("validateIcon"),p(S).is("loading","validating"===p(K))])},{default:ee((()=>[(T(),te(ne(p(U))))])),_:1},8,["class"])):re("v-if",!0)],2)],2)):re("v-if",!0)],2),re(" append slot "),e.$slots.append?(T(),B("div",{key:1,class:G(p(S).be("group","append"))},[H(e.$slots,"append")],2)):re("v-if",!0)],64)):(T(),B(J,{key:1},[re(" textarea "),M("textarea",q({id:p(h),ref_key:"textarea",ref:O,class:[p(E).e("inner"),p(S).is("focus",p(N))]},p(c),{minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:p(k),readonly:e.readonly,autocomplete:e.autocomplete,style:p(le),"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,onCompositionstart:p(Se),onCompositionupdate:p(Ee),onCompositionend:p(Ie),onInput:xe,onFocus:p(z),onBlur:p(D),onChange:ke,onKeydown:Le}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),p(pe)?(T(),B("span",{key:0,style:oe($.value),class:G(p(S).e("count"))},ae(p(fe))+" / "+ae(e.maxlength),7)):re("v-if",!0)],64))],16,["role"]))}})),[["__file","input.vue"]])),Ui={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Yi=Symbol("scrollbarContextKey"),Gi=Yn({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean});var Xi=Hr(O({__name:"thumb",props:Gi,setup(e){const t=e,n=N(Yi),o=Io("scrollbar");n||rn("Thumb","can not inject scrollbar context");const l=m(),a=m(),i=m({}),s=m(!1);let u=!1,c=!1,d=ht?document.onselectstart:null;const f=C((()=>Ui[t.vertical?"vertical":"horizontal"])),v=C((()=>(({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}))({size:t.size,move:t.move,bar:f.value}))),g=C((()=>r(l.value[f.value.offset],2)/n.wrapElement[f.value.scrollSize]/t.ratio/a.value[f.value.offset])),h=e=>{var t;if(e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button))return;null==(t=window.getSelection())||t.removeAllRanges(),y(e);const n=e.currentTarget;n&&(i.value[f.value.axis]=n[f.value.offset]-(e[f.value.client]-n.getBoundingClientRect()[f.value.direction]))},b=e=>{if(!a.value||!l.value||!n.wrapElement)return;const t=100*(Math.abs(e.target.getBoundingClientRect()[f.value.direction]-e[f.value.client])-a.value[f.value.offset]/2)*g.value/l.value[f.value.offset];n.wrapElement[f.value.scroll]=t*n.wrapElement[f.value.scrollSize]/100},y=e=>{e.stopImmediatePropagation(),u=!0,document.addEventListener("mousemove",w),document.addEventListener("mouseup",x),d=document.onselectstart,document.onselectstart=()=>!1},w=e=>{if(!l.value||!a.value)return;if(!1===u)return;const t=i.value[f.value.axis];if(!t)return;const o=100*(-1*(l.value.getBoundingClientRect()[f.value.direction]-e[f.value.client])-(a.value[f.value.offset]-t))*g.value/l.value[f.value.offset];n.wrapElement[f.value.scroll]=o*n.wrapElement[f.value.scrollSize]/100},x=()=>{u=!1,i.value[f.value.axis]=0,document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",x),k(),c&&(s.value=!1)};P((()=>{k(),document.removeEventListener("mouseup",x)}));const k=()=>{document.onselectstart!==d&&(document.onselectstart=d)};return Mt(W(n,"scrollbarElement"),"mousemove",(()=>{c=!1,s.value=!!t.size})),Mt(W(n,"scrollbarElement"),"mouseleave",(()=>{c=!0,s.value=u})),(e,t)=>(T(),te(pe,{name:p(o).b("fade"),persisted:""},{default:ee((()=>[ce(M("div",{ref_key:"instance",ref:l,class:G([p(o).e("bar"),p(o).is(p(f).key)]),onMousedown:b},[M("div",{ref_key:"thumb",ref:a,class:G(p(o).e("thumb")),style:oe(p(v)),onMousedown:h},null,38)],34),[[de,e.always||s.value]])])),_:1},8,["name"]))}}),[["__file","thumb.vue"]]);const Zi=Yn({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}});var Ji=Hr(O({__name:"bar",props:Zi,setup(e,{expose:t}){const n=e,o=N(Yi),l=m(0),a=m(0),i=m(""),s=m(""),u=m(1),c=m(1);return t({handleScroll:e=>{if(e){const t=e.offsetHeight-4,n=e.offsetWidth-4;a.value=100*e.scrollTop/t*u.value,l.value=100*e.scrollLeft/n*c.value}},update:()=>{const e=null==o?void 0:o.wrapElement;if(!e)return;const t=e.offsetHeight-4,l=e.offsetWidth-4,a=r(t,2)/e.scrollHeight,d=r(l,2)/e.scrollWidth,p=Math.max(a,n.minSize),f=Math.max(d,n.minSize);u.value=a/(t-a)/(p/(t-p)),c.value=d/(l-d)/(f/(l-f)),s.value=p+4(T(),B(J,null,[Z(Xi,{move:l.value,ratio:c.value,size:i.value,always:e.always},null,8,["move","ratio","size","always"]),Z(Xi,{move:a.value,ratio:u.value,size:s.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}}),[["__file","bar.vue"]]);const Qi=Yn(s({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:[String,Object,Array],default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String},Ar(["ariaLabel","ariaOrientation"]))),es={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Qt)},ts=O({name:"ElScrollbar"});const ns=eo(Hr(O(u(s({},ts),{props:Qi,emits:es,setup(e,{expose:t,emit:n}){const o=e,l=Io("scrollbar");let a,r,i=0,s=0;const u=m(),c=m(),d=m(),f=m(),v=C((()=>{const e={};return o.height&&(e.height=fn(o.height)),o.maxHeight&&(e.maxHeight=fn(o.maxHeight)),[o.wrapStyle,e]})),h=C((()=>[o.wrapClass,l.e("wrap"),{[l.em("wrap","hidden-default")]:!o.native}])),b=C((()=>[l.e("view"),o.viewClass])),x=()=>{var e;c.value&&(null==(e=f.value)||e.handleScroll(c.value),i=c.value.scrollTop,s=c.value.scrollLeft,n("scroll",{scrollTop:c.value.scrollTop,scrollLeft:c.value.scrollLeft}))};const k=()=>{var e;null==(e=f.value)||e.update()};return g((()=>o.noresize),(e=>{e?(null==a||a(),null==r||r()):(({stop:a}=Pt(d,k)),r=Mt("resize",k))}),{immediate:!0}),g((()=>[o.maxHeight,o.height]),(()=>{o.native||w((()=>{var e;k(),c.value&&(null==(e=f.value)||e.handleScroll(c.value))}))})),j(Yi,U({scrollbarElement:u,wrapElement:c})),fe((()=>{c.value.scrollTop=i,c.value.scrollLeft=s})),y((()=>{o.native||w((()=>{k()}))})),X((()=>k())),t({wrapRef:c,update:k,scrollTo:function(e,t){L(e)?c.value.scrollTo(e):Qt(e)&&Qt(t)&&c.value.scrollTo(e,t)},setScrollTop:e=>{Qt(e)&&(c.value.scrollTop=e)},setScrollLeft:e=>{Qt(e)&&(c.value.scrollLeft=e)},handleScroll:x}),(e,t)=>(T(),B("div",{ref_key:"scrollbarRef",ref:u,class:G(p(l).b())},[M("div",{ref_key:"wrapRef",ref:c,class:G(p(h)),style:oe(p(v)),onScroll:x},[(T(),te(ne(e.tag),{id:e.id,ref_key:"resizeRef",ref:d,class:G(p(b)),style:oe(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:ee((()=>[H(e.$slots,"default")])),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),e.native?re("v-if",!0):(T(),te(Ji,{key:0,ref_key:"barRef",ref:f,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}})),[["__file","scrollbar.vue"]])),os=Symbol("popper"),ls=Symbol("popperContent"),as=Yn({role:{type:String,values:["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],default:"tooltip"}}),rs=O({name:"ElPopper",inheritAttrs:!1});var is=Hr(O(u(s({},rs),{props:as,setup(e,{expose:t}){const n=e,o={triggerRef:m(),popperInstanceRef:m(),contentRef:m(),referenceRef:m(),role:C((()=>n.role))};return t(o),j(os,o),(e,t)=>H(e.$slots,"default")}})),[["__file","popper.vue"]]);const ss=Yn({arrowOffset:{type:Number,default:5}}),us=O({name:"ElPopperArrow",inheritAttrs:!1});var cs=Hr(O(u(s({},us),{props:ss,setup(e,{expose:t}){const n=e,o=Io("popper"),{arrowOffset:l,arrowRef:a,arrowStyle:r}=N(ls,void 0);return g((()=>n.arrowOffset),(e=>{l.value=e})),P((()=>{a.value=void 0})),t({arrowRef:a}),(e,t)=>(T(),B("span",{ref_key:"arrowRef",ref:a,class:G(p(o).e("arrow")),style:oe(p(r)),"data-popper-arrow":""},null,6))}})),[["__file","arrow.vue"]]);const ds=O({name:"ElOnlyChild",setup(e,{slots:t,attrs:n}){var o;const l=N(ca),a=(r=null!=(o=null==l?void 0:l.setForwardRef)?o:R,{mounted(e){r(e)},updated(e){r(e)},unmounted(){r(null)}});var r;return()=>{var e;const o=null==(e=t.default)?void 0:e.call(t,n);if(!o)return null;if(o.length>1)return null;const l=ps(o);return l?ce(ve(l,n),[[a]]):null}}});function ps(e){if(!e)return null;const t=e;for(const n of t){if(L(n))switch(n.type){case ge:continue;case me:case"svg":return fs(n);case J:return ps(n.children);default:return n}return fs(n)}return null}function fs(e){const t=Io("only-child");return Z("span",{class:t.e("content")},[e])}const vs=Yn({virtualRef:{type:Object},virtualTriggering:Boolean,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onContextmenu:{type:Function},id:String,open:Boolean}),ms=O({name:"ElPopperTrigger",inheritAttrs:!1});var gs=Hr(O(u(s({},ms),{props:vs,setup(e,{expose:t}){const n=e,{role:o,triggerRef:l}=N(os,void 0);var a;a=l,j(ca,{setForwardRef:e=>{a.value=e}});const r=C((()=>s.value?n.id:void 0)),i=C((()=>{if(o&&"tooltip"===o.value)return n.open&&n.id?n.id:void 0})),s=C((()=>{if(o&&"tooltip"!==o.value)return o.value})),u=C((()=>s.value?`${n.open}`:void 0));let c;const d=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return y((()=>{g((()=>n.virtualRef),(e=>{e&&(l.value=Ot(e))}),{immediate:!0}),g(l,((e,t)=>{null==c||c(),c=void 0,en(e)&&(d.forEach((o=>{var l;const a=n[o];a&&(e.addEventListener(o.slice(2).toLowerCase(),a),null==(l=null==t?void 0:t.removeEventListener)||l.call(t,o.slice(2).toLowerCase(),a))})),c=g([r,i,s,u],(t=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(((n,o)=>{je(t[o])?e.removeAttribute(n):e.setAttribute(n,t[o])}))}),{immediate:!0})),en(t)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((e=>t.removeAttribute(e)))}),{immediate:!0})})),P((()=>{if(null==c||c(),c=void 0,l.value&&en(l.value)){const e=l.value;d.forEach((t=>{const o=n[t];o&&e.removeEventListener(t.slice(2).toLowerCase(),o)})),l.value=void 0}})),t({triggerRef:l}),(e,t)=>e.virtualTriggering?re("v-if",!0):(T(),te(p(ds),q({key:0},e.$attrs,{"aria-controls":p(r),"aria-describedby":p(i),"aria-expanded":p(u),"aria-haspopup":p(s)}),{default:ee((()=>[H(e.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}})),[["__file","trigger.vue"]]);const hs="focus-trap.focus-after-trapped",bs="focus-trap.focus-after-released",ys={cancelable:!0,bubbles:!1},ws={cancelable:!0,bubbles:!1},xs="focusAfterTrapped",ks="focusAfterReleased",Cs=Symbol("elFocusTrap"),Ss=m(),Es=m(0),Is=m(0);let Os=0;const Ts=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Bs=(e,t)=>{for(const n of e)if(!Ms(n,t))return n},Ms=(e,t)=>{if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},Ls=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),Is.value=window.performance.now(),e!==n&&(e=>e instanceof HTMLInputElement&&"select"in e)(e)&&t&&e.select()}};function _s(e,t){const n=[...e],o=e.indexOf(t);return-1!==o&&n.splice(o,1),n}const As=(()=>{let e=[];return{push:t=>{const n=e[0];n&&t!==n&&n.pause(),e=_s(e,t),e.unshift(t)},remove:t=>{var n,o;e=_s(e,t),null==(o=null==(n=e[0])?void 0:n.resume)||o.call(n)}}})(),Rs=()=>{Ss.value="pointer",Es.value=window.performance.now()},$s=()=>{Ss.value="keyboard",Es.value=window.performance.now()},Fs=e=>new CustomEvent("focus-trap.focusout-prevented",u(s({},ws),{detail:e}));var Vs=Hr(O({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[xs,ks,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=m();let o,l;const{focusReason:a}=(y((()=>{0===Os&&(document.addEventListener("mousedown",Rs),document.addEventListener("touchstart",Rs),document.addEventListener("keydown",$s)),Os++})),P((()=>{Os--,Os<=0&&(document.removeEventListener("mousedown",Rs),document.removeEventListener("touchstart",Rs),document.removeEventListener("keydown",$s))})),{focusReason:Ss,lastUserFocusTimestamp:Es,lastAutomatedFocusTimestamp:Is});var r;r=n=>{e.trapped&&!i.paused&&t("release-requested",n)},y((()=>{0===la.length&&document.addEventListener("keydown",aa),ht&&la.push(r)})),P((()=>{la=la.filter((e=>e!==r)),0===la.length&&ht&&document.removeEventListener("keydown",aa)}));const i={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},c=n=>{if(!e.loop&&!e.trapped)return;if(i.paused)return;const{key:o,altKey:l,ctrlKey:r,metaKey:s,currentTarget:u,shiftKey:c}=n,{loop:d}=e,p=o===oo.tab&&!l&&!r&&!s,f=document.activeElement;if(p&&f){const e=u,[o,l]=(e=>{const t=Ts(e);return[Bs(t,e),Bs(t.reverse(),e)]})(e);if(o&&l)if(c||f!==l){if(c&&[o,e].includes(f)){const e=Fs({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),d&&Ls(l,!0))}}else{const e=Fs({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),d&&Ls(o,!0))}else if(f===e){const e=Fs({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||n.preventDefault()}}};j(Cs,{focusTrapRef:n,onKeydown:c}),g((()=>e.focusTrapEl),(e=>{e&&(n.value=e)}),{immediate:!0}),g([n],(([e],[t])=>{e&&(e.addEventListener("keydown",c),e.addEventListener("focusin",h),e.addEventListener("focusout",b)),t&&(t.removeEventListener("keydown",c),t.removeEventListener("focusin",h),t.removeEventListener("focusout",b))}));const f=e=>{t(xs,e)},v=e=>t(ks,e),h=a=>{const r=p(n);if(!r)return;const s=a.target,u=a.relatedTarget,c=s&&r.contains(s);if(!e.trapped){u&&r.contains(u)||(o=u)}c&&t("focusin",a),i.paused||e.trapped&&(c?l=s:Ls(l,!0))},b=o=>{const r=p(n);if(!i.paused&&r)if(e.trapped){const n=o.relatedTarget;je(n)||r.contains(n)||setTimeout((()=>{if(!i.paused&&e.trapped){const e=Fs({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||Ls(l,!0)}}),0)}else{const e=o.target;e&&r.contains(e)||t("focusout",o)}};function x(){return d(this,null,(function*(){yield w();const t=p(n);if(t){As.push(i);const n=t.contains(document.activeElement)?o:document.activeElement;o=n;if(!t.contains(n)){const o=new Event(hs,ys);t.addEventListener(hs,f),t.dispatchEvent(o),o.defaultPrevented||w((()=>{let o=e.focusStartEl;S(o)||(Ls(o),document.activeElement!==o&&(o="first")),"first"===o&&((e,t=!1)=>{const n=document.activeElement;for(const o of e)if(Ls(o,t),document.activeElement!==n)return})(Ts(t),!0),document.activeElement!==n&&"container"!==o||Ls(t)}))}}}))}function k(){const e=p(n);if(e){e.removeEventListener(hs,f);const t=new CustomEvent(bs,u(s({},ys),{detail:{focusReason:a.value}}));e.addEventListener(bs,v),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=a.value&&Es.value>Is.value&&!e.contains(document.activeElement)||Ls(null!=o?o:document.body),e.removeEventListener(bs,v),As.remove(i)}}return y((()=>{e.trapped&&x(),g((()=>e.trapped),(e=>{e?x():k()}))})),P((()=>{e.trapped&&k(),n.value&&(n.value.removeEventListener("keydown",c),n.value.removeEventListener("focusin",h),n.value.removeEventListener("focusout",b),n.value=void 0)})),{onKeydown:c}}}),[["render",function(e,t,n,o,l,a){return H(e.$slots,"default",{handleKeydown:e.onKeydown})}],["__file","focus-trap.vue"]]);const Ps=Yn({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Array,default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Wo,default:"bottom"},popperOptions:{type:Object,default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),Ns=Yn(s(u(s({},Ps),{id:String,style:{type:[String,Array,Object]},className:{type:[String,Array,Object]},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:[String,Array,Object]},popperStyle:{type:[String,Array,Object]},referenceEl:{type:Object},triggerTargetEl:{type:Object},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number}),Ar(["ariaLabel"]))),zs={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0};function Ds(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,null!=t?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:o}},{name:"computeStyles",options:{gpuAcceleration:n}}]}const js=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:o,role:l}=N(os,void 0),a=m(),r=m(),i=C((()=>({name:"eventListeners",enabled:!!e.visible}))),c=C((()=>{var e;const t=p(a),n=null!=(e=p(r))?e:0;return{name:"arrow",enabled:!Ge(t),options:{element:t,padding:n}}})),d=C((()=>s({onFirstUpdate:()=>{w()}},((e,t=[])=>{const{placement:n,strategy:o,popperOptions:l}=e,a=u(s({placement:n,strategy:o},l),{modifiers:[...Ds(e),...t]});return function(e,t){t&&(e.modifiers=[...e.modifiers,...null!=t?t:[]])}(a,null==l?void 0:l.modifiers),a})(e,[p(c),p(i)])))),f=C((()=>(e=>{if(ht)return Ot(e)})(e.referenceEl)||p(o))),{attributes:v,state:h,styles:b,update:w,forceUpdate:x,instanceRef:k}=Zl(f,n,d);return g(k,(e=>t.value=e)),y((()=>{g((()=>{var e;return null==(e=p(f))?void 0:e.getBoundingClientRect()}),(()=>{w()}))})),{attributes:v,arrowRef:a,contentRef:n,instanceRef:k,state:h,styles:b,role:l,forceUpdate:x,update:w}},Hs=O({name:"ElPopperContent"});var qs=Hr(O(u(s({},Hs),{props:Ns,emits:zs,setup(e,{expose:t,emit:n}){const o=e,{focusStartRef:l,trapped:a,onFocusAfterReleased:r,onFocusAfterTrapped:i,onFocusInTrap:c,onFocusoutPrevented:d,onReleaseRequested:f}=((e,t)=>{const n=m(!1),o=m();return{focusStartRef:o,trapped:n,onFocusAfterReleased:e=>{var n;"pointer"!==(null==(n=e.detail)?void 0:n.focusReason)&&(o.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:t=>{e.visible&&!n.value&&(t.target&&(o.value=t.target),n.value=!0)},onFocusoutPrevented:t=>{e.trapping||("pointer"===t.detail.focusReason&&t.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}})(o,n),{attributes:v,arrowRef:h,contentRef:b,styles:w,instanceRef:x,role:k,update:S}=js(o),{ariaModal:E,arrowStyle:I,contentAttrs:O,contentClass:M,contentStyle:L,updateZIndex:_}=((e,{attributes:t,styles:n,role:o})=>{const{nextZIndex:l}=ga(),a=Io("popper"),r=C((()=>p(t).popper)),i=m(Qt(e.zIndex)?e.zIndex:l()),s=C((()=>[a.b(),a.is("pure",e.pure),a.is(e.effect),e.popperClass])),u=C((()=>[{zIndex:p(i)},p(n).popper,e.popperStyle||{}]));return{ariaModal:C((()=>"dialog"===o.value?"false":void 0)),arrowStyle:C((()=>p(n).arrow||{})),contentAttrs:r,contentClass:s,contentStyle:u,contentZIndex:i,updateZIndex:()=>{i.value=Qt(e.zIndex)?e.zIndex:l()}}})(o,{styles:w,attributes:v,role:k}),A=N(Yr,void 0),$=m();let F;j(ls,{arrowStyle:I,arrowRef:h,arrowOffset:$}),A&&j(Yr,u(s({},A),{addInputId:R,removeInputId:R}));const V=(e=!0)=>{S(),e&&_()},z=()=>{V(!1),o.visible&&o.focusOnShow?a.value=!0:!1===o.visible&&(a.value=!1)};return y((()=>{g((()=>o.triggerTargetEl),((e,t)=>{null==F||F(),F=void 0;const n=p(e||b.value),l=p(t||b.value);en(n)&&(F=g([k,()=>o.ariaLabel,E,()=>o.id],(e=>{["role","aria-label","aria-modal","id"].forEach(((t,o)=>{je(e[o])?n.removeAttribute(t):n.setAttribute(t,e[o])}))}),{immediate:!0})),l!==n&&en(l)&&["role","aria-label","aria-modal","id"].forEach((e=>{l.removeAttribute(e)}))}),{immediate:!0}),g((()=>o.visible),z,{immediate:!0})})),P((()=>{null==F||F(),F=void 0})),t({popperContentRef:b,popperInstanceRef:x,updatePopper:V,contentStyle:L}),(e,t)=>(T(),B("div",q({ref_key:"contentRef",ref:b},p(O),{style:p(L),class:p(M),tabindex:"-1",onMouseenter:t=>e.$emit("mouseenter",t),onMouseleave:t=>e.$emit("mouseleave",t)}),[Z(p(Vs),{trapped:p(a),"trap-on-focus-in":!0,"focus-trap-el":p(b),"focus-start-el":p(l),onFocusAfterTrapped:p(i),onFocusAfterReleased:p(r),onFocusin:p(c),onFocusoutPrevented:p(d),onReleaseRequested:p(f)},{default:ee((()=>[H(e.$slots,"default")])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}})),[["__file","content.vue"]]);const Ws=eo(is),Ks=Symbol("elTooltip"),Us=Yn(s(u(s(s({},ua),Ns),{appendTo:{type:[String,Object]},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:Boolean,default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),Ar(["ariaLabel"]))),Ys=Yn(u(s({},vs),{disabled:Boolean,trigger:{type:[String,Array],default:"hover"},triggerKeys:{type:Array,default:()=>[oo.enter,oo.space]}})),{useModelToggleProps:Gs,useModelToggleEmits:Xs,useModelToggle:Zs}=Mo("visible"),Js=Yn(u(s(s(s(s(s({},as),Gs),Us),Ys),ss),{showArrow:{type:Boolean,default:!0}})),Qs=[...Xs,"before-show","before-hide","show","hide","open","close"],eu=(e,t,n)=>o=>{((e,t)=>F(e)?e.includes(t):e===t)(p(e),t)&&n(o)},tu=O({name:"ElTooltipTrigger"});var nu=Hr(O(u(s({},tu),{props:Ys,setup(e,{expose:t}){const n=e,o=Io("tooltip"),{controlled:l,id:a,open:r,onOpen:i,onClose:s,onToggle:u}=N(Ks,void 0),c=m(null),d=()=>{if(p(l)||n.disabled)return!0},f=W(n,"trigger"),v=rt(d,eu(f,"hover",i)),g=rt(d,eu(f,"hover",s)),h=rt(d,eu(f,"click",(e=>{0===e.button&&u(e)}))),b=rt(d,eu(f,"focus",i)),y=rt(d,eu(f,"focus",s)),w=rt(d,eu(f,"contextmenu",(e=>{e.preventDefault(),u(e)}))),x=rt(d,(e=>{const{code:t}=e;n.triggerKeys.includes(t)&&(e.preventDefault(),u(e))}));return t({triggerRef:c}),(e,t)=>(T(),te(p(gs),{id:p(a),"virtual-ref":e.virtualRef,open:p(r),"virtual-triggering":e.virtualTriggering,class:G(p(o).e("trigger")),onBlur:p(y),onClick:p(h),onContextmenu:p(w),onFocus:p(b),onMouseenter:p(v),onMouseleave:p(g),onKeydown:p(x)},{default:ee((()=>[H(e.$slots,"default")])),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}})),[["__file","trigger.vue"]]);const ou=Yn({to:{type:[String,Object],required:!0},disabled:Boolean});const lu=eo(Hr(O({__name:"teleport",props:ou,setup:e=>(e,t)=>e.disabled?H(e.$slots,"default",{key:0}):(T(),te(he,{key:1,to:e.to},[H(e.$slots,"default")],8,["to"]))}),[["__file","teleport.vue"]])),au=O({name:"ElTooltipContent",inheritAttrs:!1});var ru=Hr(O(u(s({},au),{props:Us,setup(e,{expose:t}){const n=e,{selector:o}=ia(),l=Io("tooltip"),a=m(null);let r;const{controlled:i,id:s,open:u,trigger:c,onClose:d,onOpen:f,onShow:v,onHide:h,onBeforeShow:b,onBeforeHide:y}=N(Ks,void 0),w=C((()=>n.transition||`${l.namespace.value}-fade-in-linear`)),x=C((()=>n.persistent));P((()=>{null==r||r()}));const k=C((()=>!!p(x)||p(u))),S=C((()=>!n.disabled&&p(u))),E=C((()=>n.appendTo||o.value)),I=C((()=>{var e;return null!=(e=n.style)?e:{}})),O=C((()=>!p(u))),B=()=>{h()},M=()=>{if(p(i))return!0},L=rt(M,(()=>{n.enterable&&"hover"===p(c)&&f()})),_=rt(M,(()=>{"hover"===p(c)&&d()})),A=()=>{var e,t;null==(t=null==(e=a.value)?void 0:e.updatePopper)||t.call(e),null==b||b()},R=()=>{null==y||y()},$=()=>{v(),r=function(e,t,n={}){const{window:o=Tt,ignore:l=[],capture:a=!0,detectIframe:r=!1}=n;if(!o)return;wt&&!Lt&&(Lt=!0,Array.from(o.document.body.children).forEach((e=>e.addEventListener("click",yt))));let i=!0;const s=e=>l.some((t=>{if("string"==typeof t)return Array.from(o.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const n=Ot(t);return n&&(e.target===n||e.composedPath().includes(n))}})),u=[Mt(o,"click",(n=>{const o=Ot(e);o&&o!==n.target&&!n.composedPath().includes(o)&&(0===n.detail&&(i=!s(n)),i?t(n):i=!0)}),{passive:!0,capture:a}),Mt(o,"pointerdown",(t=>{const n=Ot(e);n&&(i=!t.composedPath().includes(n)&&!s(t))}),{passive:!0}),r&&Mt(o,"blur",(n=>{var l;const a=Ot(e);"IFRAME"!==(null==(l=o.document.activeElement)?void 0:l.tagName)||(null==a?void 0:a.contains(o.document.activeElement))||t(n)}))].filter(Boolean);return()=>u.forEach((e=>e()))}(C((()=>{var e;return null==(e=a.value)?void 0:e.popperContentRef})),(()=>{if(p(i))return;"hover"!==p(c)&&d()}))},F=()=>{n.virtualTriggering||d()};return g((()=>p(u)),(e=>{e||null==r||r()}),{flush:"post"}),g((()=>n.content),(()=>{var e,t;null==(t=null==(e=a.value)?void 0:e.updatePopper)||t.call(e)})),t({contentRef:a}),(e,t)=>(T(),te(p(lu),{disabled:!e.teleported,to:p(E)},{default:ee((()=>[Z(pe,{name:p(w),onAfterLeave:B,onBeforeEnter:A,onAfterEnter:$,onBeforeLeave:R},{default:ee((()=>[p(k)?ce((T(),te(p(qs),q({key:0,id:p(s),ref_key:"contentRef",ref:a},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":p(O),"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,p(I)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:p(S),"z-index":e.zIndex,onMouseenter:p(L),onMouseleave:p(_),onBlur:F,onClose:p(d)}),{default:ee((()=>[H(e.$slots,"default")])),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[de,p(S)]]):re("v-if",!0)])),_:3},8,["name"])])),_:3},8,["disabled","to"]))}})),[["__file","content.vue"]]);const iu=O({name:"ElTooltip"});const su=eo(Hr(O(u(s({},iu),{props:Js,emits:Qs,setup(e,{expose:t,emit:n}){const o=e;sa();const l=oa(),a=m(),r=m(),i=()=>{var e;const t=p(a);t&&(null==(e=t.popperInstanceRef)||e.update())},s=m(!1),u=m(),{show:c,hide:d,hasUpdateHandler:f}=Zs({indicator:s,toggleReason:u}),{onOpen:v,onClose:b}=(({showAfter:e,hideAfter:t,autoClose:n,open:o,close:l})=>{const{registerTimeout:a}=Ql(),{registerTimeout:r,cancelTimeout:i}=Ql();return{onOpen:t=>{a((()=>{o(t);const e=p(n);Qt(e)&&e>0&&r((()=>{l(t)}),e)}),p(e))},onClose:e=>{i(),a((()=>{l(e)}),p(t))}}})({showAfter:W(o,"showAfter"),hideAfter:W(o,"hideAfter"),autoClose:W(o,"autoClose"),open:c,close:d}),y=C((()=>Jt(o.visible)&&!f.value));j(Ks,{controlled:y,id:l,open:h(s),trigger:W(o,"trigger"),onOpen:e=>{v(e)},onClose:e=>{b(e)},onToggle:e=>{p(s)?b(e):v(e)},onShow:()=>{n("show",u.value)},onHide:()=>{n("hide",u.value)},onBeforeShow:()=>{n("before-show",u.value)},onBeforeHide:()=>{n("before-hide",u.value)},updatePopper:i}),g((()=>o.disabled),(e=>{e&&s.value&&(s.value=!1)}));return be((()=>s.value&&d())),t({popperRef:a,contentRef:r,isFocusInsideContent:e=>{var t,n;const o=null==(n=null==(t=r.value)?void 0:t.contentRef)?void 0:n.popperContentRef,l=(null==e?void 0:e.relatedTarget)||document.activeElement;return o&&o.contains(l)},updatePopper:i,onOpen:v,onClose:b,hide:d}),(e,t)=>(T(),te(p(Ws),{ref_key:"popperRef",ref:a,role:e.role},{default:ee((()=>[Z(nu,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:ee((()=>[e.$slots.default?H(e.$slots,"default",{key:0}):re("v-if",!0)])),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),Z(ru,{ref_key:"contentRef",ref:r,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:ee((()=>[H(e.$slots,"content",{},(()=>[e.rawContent?(T(),B("span",{key:0,innerHTML:e.content},null,8,["innerHTML"])):(T(),B("span",{key:1},ae(e.content),1))])),e.showArrow?(T(),te(p(cs),{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):re("v-if",!0)])),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])])),_:3},8,["role"]))}})),[["__file","tooltip.vue"]])),uu=Yn({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:[String,Object,Array]},offset:{type:Array,default:[0,0]},badgeClass:{type:String}}),cu=O({name:"ElBadge"});const du=eo(Hr(O(u(s({},cu),{props:uu,setup(e,{expose:t}){const n=e,o=Io("badge"),l=C((()=>n.isDot?"":Qt(n.value)&&Qt(n.max)?n.max{var e,t,o,l,a;return[{backgroundColor:n.color,marginRight:fn(-(null!=(t=null==(e=n.offset)?void 0:e[0])?t:0)),marginTop:fn(null!=(l=null==(o=n.offset)?void 0:o[1])?l:0)},null!=(a=n.badgeStyle)?a:{}]}));return t({content:l}),(e,t)=>(T(),B("div",{class:G(p(o).b())},[H(e.$slots,"default"),Z(pe,{name:`${p(o).namespace.value}-zoom-in-center`,persisted:""},{default:ee((()=>[ce(M("sup",{class:G([p(o).e("content"),p(o).em("content",e.type),p(o).is("fixed",!!e.$slots.default),p(o).is("dot",e.isDot),e.badgeClass]),style:oe(p(a)),textContent:ae(p(l))},null,14,["textContent"]),[[de,!e.hidden&&(p(l)||e.isDot)]])])),_:1},8,["name"])],2))}})),[["__file","badge.vue"]])),pu=Symbol("buttonGroupContextKey"),fu=Yn({size:Er,disabled:Boolean,type:{type:String,values:["default","primary","success","warning","info","danger","text",""],default:""},icon:{type:Gn},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:Gn,default:()=>Mn},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:[String,Object],default:"button"}}),vu={click:e=>e instanceof MouseEvent};function mu(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function gu(e){return Math.min(1,Math.max(0,e))}function hu(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function bu(e){return e<=1?"".concat(100*Number(e),"%"):e}function yu(e){return 1===e.length?"0"+e:String(e)}function wu(e,t,n){e=mu(e,255),t=mu(t,255),n=mu(n,255);var o=Math.max(e,t,n),l=Math.min(e,t,n),a=0,r=0,i=(o+l)/2;if(o===l)r=0,a=0;else{var s=o-l;switch(r=i>.5?s/(2-o-l):s/(o+l),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ku(e,t,n){e=mu(e,255),t=mu(t,255),n=mu(n,255);var o=Math.max(e,t,n),l=Math.min(e,t,n),a=0,r=o,i=o-l,s=0===o?0:i/o;if(o===l)a=0;else{switch(o){case e:a=(t-n)/i+(t>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var l=Ou(t);this.originalInput=t,this.r=l.r,this.g=l.g,this.b=l.b,this.a=l.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:l.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=l.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,o=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=hu(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=ku(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=ku(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=wu(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=wu(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),Cu(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,o,l){var a,r=[yu(Math.round(e).toString(16)),yu(Math.round(t).toString(16)),yu(Math.round(n).toString(16)),yu((a=o,Math.round(255*parseFloat(a)).toString(16)))];return l&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))&&r[3].startsWith(r[3].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0):r.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*mu(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*mu(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+Cu(this.r,this.g,this.b,!1),t=0,n=Object.entries(Iu);t=0;return t||!o||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=gu(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=gu(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=gu(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=gu(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var o=this.toRgb(),l=new e(t).toRgb(),a=n/100;return new e({r:(l.r-o.r)*a+o.r,g:(l.g-o.g)*a+o.g,b:(l.b-o.b)*a+o.b,a:(l.a-o.a)*a+o.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var o=this.toHsl(),l=360/n,a=[this];for(o.h=(o.h-(l*t>>1)+720)%360;--t;)o.h=(o.h+l)%360,a.push(new e(o));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),o=n.h,l=n.s,a=n.v,r=[],i=1/t;t--;)r.push(new e({h:o,s:l,v:a})),a=(a+i)%1;return r},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb(),l=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/l,g:(n.g*n.a+o.g*o.a*(1-n.a))/l,b:(n.b*n.a+o.b*o.a*(1-n.a))/l,a:l})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,l=[this],a=360/t,r=1;r{let o={},l=e.color;if(l){const a=l.match(/var\((.*?)\)/);a&&(l=window.getComputedStyle(window.document.documentElement).getPropertyValue(a[1]));const r=new Au(l),i=e.dark?r.tint(20).toString():Ru(r,20);if(e.plain)o=n.cssVarBlock({"bg-color":e.dark?Ru(r,90):r.tint(90).toString(),"text-color":l,"border-color":e.dark?Ru(r,50):r.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":l,"hover-border-color":l,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(o[n.cssVarBlockName("disabled-bg-color")]=e.dark?Ru(r,90):r.tint(90).toString(),o[n.cssVarBlockName("disabled-text-color")]=e.dark?Ru(r,50):r.tint(50).toString(),o[n.cssVarBlockName("disabled-border-color")]=e.dark?Ru(r,80):r.tint(80).toString());else{const a=e.dark?Ru(r,30):r.tint(30).toString(),s=r.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(o=n.cssVarBlock({"bg-color":l,"text-color":s,"border-color":l,"hover-bg-color":a,"hover-text-color":s,"hover-border-color":a,"active-bg-color":i,"active-border-color":i}),t.value){const t=e.dark?Ru(r,50):r.tint(50).toString();o[n.cssVarBlockName("disabled-bg-color")]=t,o[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,o[n.cssVarBlockName("disabled-border-color")]=t}}}return o}))}(o),a=Io("button"),{_ref:r,_size:i,_type:s,_disabled:u,_props:c,shouldAddSpace:d,handleClick:f}=((e,t)=>{mo({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},C((()=>"text"===e.type)));const n=N(pu,void 0),o=Fr("button"),{form:l}=Zr(),a=Gr(C((()=>null==n?void 0:n.size))),r=Xr(),i=m(),s=Q(),u=C((()=>e.type||(null==n?void 0:n.type)||"")),c=C((()=>{var t,n,l;return null!=(l=null!=(n=e.autoInsertSpace)?n:null==(t=o.value)?void 0:t.autoInsertSpace)&&l})),d=C((()=>"button"===e.tag?{ariaDisabled:r.value||e.loading,disabled:r.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{})),p=C((()=>{var e;const t=null==(e=s.default)?void 0:e.call(s);if(c.value&&1===(null==t?void 0:t.length)){const e=t[0];if((null==e?void 0:e.type)===me){const t=e.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(t.trim())}}return!1}));return{_disabled:r,_size:a,_type:u,_ref:i,_props:d,shouldAddSpace:p,handleClick:n=>{r.value||e.loading?n.stopPropagation():("reset"===e.nativeType&&(null==l||l.resetFields()),t("click",n))}}})(o,n),v=C((()=>[a.b(),a.m(s.value),a.m(i.value),a.is("disabled",u.value),a.is("loading",o.loading),a.is("plain",o.plain),a.is("round",o.round),a.is("circle",o.circle),a.is("text",o.text),a.is("link",o.link),a.is("has-bg",o.bg)]));return t({ref:r,size:i,type:s,disabled:u,shouldAddSpace:d}),(e,t)=>(T(),te(ne(e.tag),q({ref_key:"_ref",ref:r},p(c),{class:p(v),style:p(l),onClick:p(f)}),{default:ee((()=>[e.loading?(T(),B(J,{key:0},[e.$slots.loading?H(e.$slots,"loading",{key:0}):(T(),te(p(Kr),{key:1,class:G(p(a).is("loading"))},{default:ee((()=>[(T(),te(ne(e.loadingIcon)))])),_:1},8,["class"]))],64)):e.icon||e.$slots.icon?(T(),te(p(Kr),{key:1},{default:ee((()=>[e.icon?(T(),te(ne(e.icon),{key:0})):H(e.$slots,"icon",{key:1})])),_:3})):re("v-if",!0),e.$slots.default?(T(),B("span",{key:2,class:G({[p(a).em("text","expand")]:p(d)})},[H(e.$slots,"default")],2)):re("v-if",!0)])),_:3},16,["class","style","onClick"]))}})),[["__file","button.vue"]]);const Vu={size:fu.size,type:fu.type},Pu=O({name:"ElButtonGroup"});var Nu=Hr(O(u(s({},Pu),{props:Vu,setup(e){const t=e;j(pu,U({size:W(t,"size"),type:W(t,"type")}));const n=Io("button");return(e,t)=>(T(),B("div",{class:G(p(n).b("group"))},[H(e.$slots,"default")],2))}})),[["__file","button-group.vue"]]);const zu=eo(Fu,{ButtonGroup:Nu}),Du=to(Nu),ju=new Map;if(ht){let e;document.addEventListener("mousedown",(t=>e=t)),document.addEventListener("mouseup",(t=>{if(e){for(const n of ju.values())for(const{documentHandler:o}of n)o(t,e);e=void 0}}))}function Hu(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:en(t.arg)&&n.push(t.arg),function(o,l){const a=t.instance.popperRef,r=o.target,i=null==l?void 0:l.target,s=!t||!t.instance,u=!r||!i,c=e.contains(r)||e.contains(i),d=e===r,p=n.length&&n.some((e=>null==e?void 0:e.contains(r)))||n.length&&n.includes(i),f=a&&(a.contains(r)||a.contains(i));s||u||c||d||p||f||t.value(o,l)}}const qu={beforeMount(e,t){ju.has(e)||ju.set(e,[]),ju.get(e).push({documentHandler:Hu(e,t),bindingFn:t.value})},updated(e,t){ju.has(e)||ju.set(e,[]);const n=ju.get(e),o=n.findIndex((e=>e.bindingFn===t.oldValue)),l={documentHandler:Hu(e,t),bindingFn:t.value};o>=0?n.splice(o,1,l):n.push(l)},unmounted(e){ju.delete(e)}},Wu=100,Ku=600,Uu={beforeMount(e,t){const n=t.value,{interval:o=Wu,delay:l=Ku}=$(n)?{}:n;let a,r;const i=()=>$(n)?n():n.handler(),s=()=>{r&&(clearTimeout(r),r=void 0),a&&(clearInterval(a),a=void 0)};e.addEventListener("mousedown",(e=>{0===e.button&&(s(),i(),document.addEventListener("mouseup",(()=>s()),{once:!0}),r=setTimeout((()=>{a=setInterval((()=>{i()}),o)}),l))}))}},Yu="_trap-focus-children",Gu=[],Xu=e=>{if(0===Gu.length)return;const t=Gu[Gu.length-1][Yu];if(t.length>0&&e.code===oo.tab){if(1===t.length)return e.preventDefault(),void(document.activeElement!==t[0]&&t[0].focus());const n=e.shiftKey,o=e.target===t[0],l=e.target===t[t.length-1];o&&n&&(e.preventDefault(),t[t.length-1].focus()),l&&!n&&(e.preventDefault(),t[0].focus())}},Zu={beforeMount(e){e[Yu]=ot(e),Gu.push(e),Gu.length<=1&&document.addEventListener("keydown",Xu)},updated(e){w((()=>{e[Yu]=ot(e)}))},unmounted(){Gu.shift(),0===Gu.length&&document.removeEventListener("keydown",Xu)}},Ju=Yn({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),Qu={change:(e,t)=>[e,t].every(Qt)},ec=Symbol("carouselContextKey"),tc="ElCarouselItem",nc=(e,t,n)=>{const{children:o,addChild:l,removeChild:a}=Sr(b(),tc),r=Q(),i=m(-1),s=m(null),u=m(!1),c=m(),d=m(0),f=m(!0),v=m(!0),h=m(!1),w=C((()=>"never"!==e.arrow&&!p(I))),k=C((()=>o.value.some((e=>e.props.label.toString().length>0)))),E=C((()=>"card"===e.type)),I=C((()=>"vertical"===e.direction)),O=C((()=>"auto"!==e.height?{height:e.height}:{height:`${d.value}px`,overflow:"hidden"})),T=Xe((e=>{A(e)}),300,{trailing:!0}),B=Xe((t=>{!function(t){"hover"===e.trigger&&t!==i.value&&(i.value=t,v.value||(h.value=!0))}(t)}),300);function M(){s.value&&(clearInterval(s.value),s.value=null)}function L(){e.interval<=0||!e.autoplay||s.value||(s.value=setInterval((()=>_()),e.interval))}const _=()=>{v.value||(h.value=!0),v.value=!1,i.valuee.props.name===t));e.length>0&&(t=o.value.indexOf(e[0]))}if(t=Number(t),Number.isNaN(t)||t!==Math.floor(t))return;const n=o.value.length,l=i.value;i.value=t<0?e.loop?n-1:0:t>=n?e.loop?0:n-1:t,l===i.value&&R(l),$()}function R(e){o.value.forEach(((t,n)=>{t.translateItem(n,i.value,e)}))}function $(){M(),e.pauseOnHover||L()}g((()=>i.value),((e,n)=>{R(n),f.value&&(e%=2,n%=2),n>-1&&t("change",e,n)})),g((()=>e.autoplay),(e=>{e?L():M()})),g((()=>e.loop),(()=>{A(i.value)})),g((()=>e.interval),(()=>{$()}));const F=x();return y((()=>{g((()=>o.value),(()=>{o.value.length>0&&A(e.initialIndex)}),{immediate:!0}),F.value=Pt(c.value,(()=>{R()})),L()})),P((()=>{M(),c.value&&F.value&&F.value.stop()})),j(ec,{root:c,isCardType:E,isVertical:I,items:o,loop:e.loop,cardScale:e.cardScale,addItem:l,removeItem:a,setActiveItem:A,setContainerHeight:function(t){"auto"===e.height&&(d.value=t)}}),{root:c,activeIndex:i,arrowDisplay:w,hasLabel:k,hover:u,isCardType:E,isTransitioning:h,items:o,isVertical:I,containerStyle:O,isItemsTwoLength:f,handleButtonEnter:function(e){p(I)||o.value.forEach(((t,n)=>{e===function(e,t){var n,l,a,r;const i=p(o),s=i.length;if(0===s||!e.states.inStage)return!1;const u=t+1,c=t-1,d=s-1,f=i[d].states.active,v=i[0].states.active,m=null==(l=null==(n=i[u])?void 0:n.states)?void 0:l.active,g=null==(r=null==(a=i[c])?void 0:a.states)?void 0:r.active;return t===d&&v||m?"left":!!(0===t&&f||g)&&"right"}(t,n)&&(t.states.hover=!0)}))},handleTransitionEnd:function(){h.value=!1},handleButtonLeave:function(){p(I)||o.value.forEach((e=>{e.states.hover=!1}))},handleIndicatorClick:function(e){e!==i.value&&(v.value||(h.value=!0)),i.value=e},handleMouseEnter:function(){u.value=!0,e.pauseOnHover&&M()},handleMouseLeave:function(){u.value=!1,L()},setActiveItem:A,prev:function(){A(i.value-1)},next:function(){A(i.value+1)},PlaceholderItem:function(){var t;const n=null==(t=r.default)?void 0:t.call(r);if(!n)return null;const o=co(n).filter((e=>V(e)&&e.type.name===tc));return 2===(null==o?void 0:o.length)&&e.loop&&!E.value?(f.value=!0,o):(f.value=!1,null)},isTwoLengthShow:e=>!f.value||(i.value<=1?e<=1:e>1),throttledArrowClick:T,throttledIndicatorHover:B}},oc=O({name:"ElCarousel"});var lc=Hr(O(u(s({},oc),{props:Ju,emits:Qu,setup(e,{expose:t,emit:n}){const o=e,{root:l,activeIndex:a,arrowDisplay:r,hasLabel:i,hover:s,isCardType:u,items:c,isVertical:d,containerStyle:f,handleButtonEnter:v,handleButtonLeave:m,isTransitioning:g,handleIndicatorClick:h,handleMouseEnter:b,handleMouseLeave:y,handleTransitionEnd:w,setActiveItem:x,prev:k,next:S,PlaceholderItem:E,isTwoLengthShow:I,throttledArrowClick:O,throttledIndicatorHover:L}=nc(o,n),_=Io("carousel"),{t:A}=xo(),R=C((()=>{const e=[_.b(),_.m(o.direction)];return p(u)&&e.push(_.m("card")),e})),$=C((()=>{const e=[_.e("container")];return o.motionBlur&&p(g)&&e.push(p(d)?`${_.namespace.value}-transitioning-vertical`:`${_.namespace.value}-transitioning`),e})),F=C((()=>{const e=[_.e("indicators"),_.em("indicators",o.direction)];return p(i)&&e.push(_.em("indicators","labels")),"outside"===o.indicatorPosition&&e.push(_.em("indicators","outside")),p(d)&&e.push(_.em("indicators","right")),e}));return t({activeIndex:a,setActiveItem:x,prev:k,next:S}),(e,t)=>(T(),B("div",{ref_key:"root",ref:l,class:G(p(R)),onMouseenter:ue(p(b),["stop"]),onMouseleave:ue(p(y),["stop"])},[p(r)?(T(),te(pe,{key:0,name:"carousel-arrow-left",persisted:""},{default:ee((()=>[ce(M("button",{type:"button",class:G([p(_).e("arrow"),p(_).em("arrow","left")]),"aria-label":p(A)("el.carousel.leftArrow"),onMouseenter:e=>p(v)("left"),onMouseleave:p(m),onClick:ue((e=>p(O)(p(a)-1)),["stop"])},[Z(p(Kr),null,{default:ee((()=>[Z(p(hn))])),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[de,("always"===e.arrow||p(s))&&(o.loop||p(a)>0)]])])),_:1})):re("v-if",!0),p(r)?(T(),te(pe,{key:1,name:"carousel-arrow-right",persisted:""},{default:ee((()=>[ce(M("button",{type:"button",class:G([p(_).e("arrow"),p(_).em("arrow","right")]),"aria-label":p(A)("el.carousel.rightArrow"),onMouseenter:e=>p(v)("right"),onMouseleave:p(m),onClick:ue((e=>p(O)(p(a)+1)),["stop"])},[Z(p(Kr),null,{default:ee((()=>[Z(p(bn))])),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[de,("always"===e.arrow||p(s))&&(o.loop||p(a)ce((T(),B("li",{key:n,class:G([p(_).e("indicator"),p(_).em("indicator",e.direction),p(_).is("active",n===p(a))]),onMouseenter:e=>p(L)(n),onClick:ue((e=>p(h)(n)),["stop"])},[M("button",{class:G(p(_).e("button")),"aria-label":p(A)("el.carousel.indicator",{index:n+1})},[p(i)?(T(),B("span",{key:0},ae(t.props.label),1)):re("v-if",!0)],10,["aria-label"])],42,["onMouseenter","onClick"])),[[de,p(I)(n)]]))),128))],2)):re("v-if",!0),o.motionBlur?(T(),B("svg",{key:3,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},[M("defs",null,[M("filter",{id:"elCarouselHorizontal"},[M("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),M("filter",{id:"elCarouselVertical"},[M("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])])])):re("v-if",!0)],42,["onMouseenter","onMouseleave"]))}})),[["__file","carousel.vue"]]);const ac=Yn({name:{type:String,default:""},label:{type:[String,Number],default:""}}),rc=e=>{const t=N(ec),n=b(),o=m(),l=m(!1),a=m(0),r=m(1),i=m(!1),s=m(!1),u=m(!1),c=m(!1),{isCardType:d,isVertical:f,cardScale:v}=t;const g=(e,n,l)=>{var m;const g=p(d),h=null!=(m=t.items.value.length)?m:Number.NaN,b=e===n;g||Zt(l)||(c.value=b||e===l),!b&&h>2&&t.loop&&(e=function(e,t,n){const o=n-1,l=n/2;return 0===t&&e===o?-1:t===o&&0===e?n:e=l?n+1:e>t+1&&e-t>=l?-2:e}(e,n,h));const y=p(f);i.value=b,g?(u.value=Math.round(Math.abs(e-n))<=1,a.value=function(e,n){var o,l;const a=p(f)?(null==(o=t.root.value)?void 0:o.offsetHeight)||0:(null==(l=t.root.value)?void 0:l.offsetWidth)||0;return u.value?a*((2-v)*(e-n)+1)/4:e{t.addItem({props:e,states:U({hover:l,translate:a,scale:r,active:i,ready:s,inStage:u,animating:c}),uid:n.uid,translateItem:g})})),K((()=>{t.removeItem(n.uid)})),{carouselItemRef:o,active:i,animating:c,hover:l,inStage:u,isVertical:f,translate:a,isCardType:d,scale:r,ready:s,handleItemClick:function(){if(t&&p(d)){const e=t.items.value.findIndex((({uid:e})=>e===n.uid));t.setActiveItem(e)}}}},ic=O({name:tc});var sc=Hr(O(u(s({},ic),{props:ac,setup(e){const t=e,n=Io("carousel"),{carouselItemRef:o,active:l,animating:a,hover:r,inStage:i,isVertical:s,translate:u,isCardType:c,scale:d,ready:f,handleItemClick:v}=rc(t),m=C((()=>[n.e("item"),n.is("active",l.value),n.is("in-stage",i.value),n.is("hover",r.value),n.is("animating",a.value),{[n.em("item","card")]:c.value,[n.em("item","card-vertical")]:c.value&&s.value}])),g=C((()=>({transform:[`${"translate"+(p(s)?"Y":"X")}(${p(u)}px)`,`scale(${p(d)})`].join(" ")})));return(e,t)=>ce((T(),B("div",{ref_key:"carouselItemRef",ref:o,class:G(p(m)),style:oe(p(g)),onClick:p(v)},[p(c)?ce((T(),B("div",{key:0,class:G(p(n).e("mask"))},null,2)),[[de,!p(l)]]):re("v-if",!0),H(e.$slots,"default")],14,["onClick"])),[[de,p(f)]])}})),[["__file","carousel-item.vue"]]);const uc=eo(lc,{CarouselItem:sc}),cc=to(sc),dc=s({modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:Er,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},Ar(["ariaControls"])),pc={[lo]:e=>S(e)||Qt(e)||Jt(e),change:e=>S(e)||Qt(e)||Jt(e)},fc=Symbol("checkboxGroupContextKey"),vc=(e,{model:t,isLimitExceeded:n,hasOwnLabel:o,isDisabled:l,isLabeledByFormItem:a})=>{const r=N(fc,void 0),{formItem:i}=Zr(),{emit:s}=b();function u(t){var n,o,l,a;return[!0,e.trueValue,e.trueLabel].includes(t)?null==(o=null!=(n=e.trueValue)?n:e.trueLabel)||o:null!=(a=null!=(l=e.falseValue)?l:e.falseLabel)&&a}const c=C((()=>(null==r?void 0:r.validateEvent)||e.validateEvent));return g((()=>e.modelValue),(()=>{c.value&&(null==i||i.validate("change").catch((e=>{})))})),{handleChange:function(e){if(n.value)return;const t=e.target;s("change",u(t.checked),e)},onClickRoot:function(r){return d(this,null,(function*(){if(!n.value&&!o.value&&!l.value&&a.value){r.composedPath().some((e=>"LABEL"===e.tagName))||(t.value=u([!1,e.falseValue,e.falseLabel].includes(t.value)),yield w(),function(e,t){s("change",u(e),t)}(t.value,r))}}))}}},mc=(e,t)=>{const{formItem:n}=Zr(),{model:o,isGroup:l,isLimitExceeded:a}=(e=>{const t=m(!1),{emit:n}=b(),o=N(fc,void 0),l=C((()=>!1===Zt(o))),a=m(!1),r=C({get(){var n,a;return l.value?null==(n=null==o?void 0:o.modelValue)?void 0:n.value:null!=(a=e.modelValue)?a:t.value},set(e){var i,s;l.value&&F(e)?(a.value=void 0!==(null==(i=null==o?void 0:o.max)?void 0:i.value)&&e.length>(null==o?void 0:o.max.value)&&e.length>r.value.length,!1===a.value&&(null==(s=null==o?void 0:o.changeEvent)||s.call(o,e))):(n(lo,e),t.value=e)}});return{model:r,isGroup:l,isLimitExceeded:a}})(e),{isFocused:r,isChecked:i,checkboxButtonSize:s,checkboxSize:u,hasOwnLabel:c,actualValue:d}=((e,t,{model:n})=>{const o=N(fc,void 0),l=m(!1),a=C((()=>tn(e.value)?e.label:e.value)),r=C((()=>{const t=n.value;return Jt(t)?t:F(t)?L(a.value)?t.map(we).some((e=>Ze(e,a.value))):t.map(we).includes(a.value):null!=t?t===e.trueValue||t===e.trueLabel:!!t}));return{checkboxButtonSize:Gr(C((()=>{var e;return null==(e=null==o?void 0:o.size)?void 0:e.value})),{prop:!0}),isChecked:r,isFocused:l,checkboxSize:Gr(C((()=>{var e;return null==(e=null==o?void 0:o.size)?void 0:e.value}))),hasOwnLabel:C((()=>!!t.default||!tn(a.value))),actualValue:a}})(e,t,{model:o}),{isDisabled:p}=(({model:e,isChecked:t})=>{const n=N(fc,void 0),o=C((()=>{var o,l;const a=null==(o=null==n?void 0:n.max)?void 0:o.value,r=null==(l=null==n?void 0:n.min)?void 0:l.value;return!Zt(a)&&e.value.length>=a&&!t.value||!Zt(r)&&e.value.length<=r&&t.value}));return{isDisabled:Xr(C((()=>(null==n?void 0:n.disabled.value)||o.value))),isLimitDisabled:o}})({model:o,isChecked:i}),{inputId:f,isLabeledByFormItem:v}=Jr(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:l}),{handleChange:g,onClickRoot:h}=vc(e,{model:o,isLimitExceeded:a,hasOwnLabel:c,isDisabled:p,isLabeledByFormItem:v});var y,w;return e.checked&&(F(o.value)&&!o.value.includes(d.value)?o.value.push(d.value):o.value=null==(w=null!=(y=e.trueValue)?y:e.trueLabel)||w),mo({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},C((()=>l.value&&tn(e.value)))),mo({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},C((()=>!!e.trueLabel))),mo({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},C((()=>!!e.falseLabel))),{inputId:f,isLabeledByFormItem:v,isChecked:i,isDisabled:p,isFocused:r,checkboxButtonSize:s,checkboxSize:u,hasOwnLabel:c,model:o,actualValue:d,handleChange:g,onClickRoot:h}},gc=O({name:"ElCheckbox"});var hc=Hr(O(u(s({},gc),{props:dc,emits:pc,setup(e){const t=e,n=Q(),{inputId:o,isLabeledByFormItem:l,isChecked:a,isDisabled:r,isFocused:i,checkboxSize:s,hasOwnLabel:u,model:c,actualValue:d,handleChange:f,onClickRoot:v}=mc(t,n),m=Io("checkbox"),g=C((()=>[m.b(),m.m(s.value),m.is("disabled",r.value),m.is("bordered",t.border),m.is("checked",a.value)])),h=C((()=>[m.e("input"),m.is("disabled",r.value),m.is("checked",a.value),m.is("indeterminate",t.indeterminate),m.is("focus",i.value)]));return(e,t)=>(T(),te(ne(!p(u)&&p(l)?"span":"label"),{class:G(p(g)),"aria-controls":e.indeterminate?e.ariaControls:null,onClick:p(v)},{default:ee((()=>{var t,n;return[M("span",{class:G(p(h))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?ce((T(),B("input",{key:0,id:p(o),"onUpdate:modelValue":e=>z(c)?c.value=e:null,class:G(p(m).e("original")),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:p(r),"true-value":null!=(t=e.trueValue)?t:e.trueLabel,"false-value":null!=(n=e.falseValue)?n:e.falseLabel,onChange:p(f),onFocus:e=>i.value=!0,onBlur:e=>i.value=!1,onClick:ue((()=>{}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[xe,p(c)]]):ce((T(),B("input",{key:1,id:p(o),"onUpdate:modelValue":e=>z(c)?c.value=e:null,class:G(p(m).e("original")),type:"checkbox",indeterminate:e.indeterminate,disabled:p(r),value:p(d),name:e.name,tabindex:e.tabindex,onChange:p(f),onFocus:e=>i.value=!0,onBlur:e=>i.value=!1,onClick:ue((()=>{}),["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[xe,p(c)]]),M("span",{class:G(p(m).e("inner"))},null,2)],2),p(u)?(T(),B("span",{key:0,class:G(p(m).e("label"))},[H(e.$slots,"default"),e.$slots.default?re("v-if",!0):(T(),B(J,{key:0},[le(ae(e.label),1)],64))],2)):re("v-if",!0)]})),_:3},8,["class","aria-controls","onClick"]))}})),[["__file","checkbox.vue"]]);const bc=O({name:"ElCheckboxButton"});var yc=Hr(O(u(s({},bc),{props:dc,emits:pc,setup(e){const t=e,n=Q(),{isFocused:o,isChecked:l,isDisabled:a,checkboxButtonSize:r,model:i,actualValue:s,handleChange:u}=mc(t,n),c=N(fc,void 0),d=Io("checkbox"),f=C((()=>{var e,t,n,o;const l=null!=(t=null==(e=null==c?void 0:c.fill)?void 0:e.value)?t:"";return{backgroundColor:l,borderColor:l,color:null!=(o=null==(n=null==c?void 0:c.textColor)?void 0:n.value)?o:"",boxShadow:l?`-1px 0 0 0 ${l}`:void 0}})),v=C((()=>[d.b("button"),d.bm("button",r.value),d.is("disabled",a.value),d.is("checked",l.value),d.is("focus",o.value)]));return(e,t)=>{var n,r;return T(),B("label",{class:G(p(v))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?ce((T(),B("input",{key:0,"onUpdate:modelValue":e=>z(i)?i.value=e:null,class:G(p(d).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:p(a),"true-value":null!=(n=e.trueValue)?n:e.trueLabel,"false-value":null!=(r=e.falseValue)?r:e.falseLabel,onChange:p(u),onFocus:e=>o.value=!0,onBlur:e=>o.value=!1,onClick:ue((()=>{}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[xe,p(i)]]):ce((T(),B("input",{key:1,"onUpdate:modelValue":e=>z(i)?i.value=e:null,class:G(p(d).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:p(a),value:p(s),onChange:p(u),onFocus:e=>o.value=!0,onBlur:e=>o.value=!1,onClick:ue((()=>{}),["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[xe,p(i)]]),e.$slots.default||e.label?(T(),B("span",{key:2,class:G(p(d).be("button","inner")),style:oe(p(l)?p(f):void 0)},[H(e.$slots,"default",{},(()=>[le(ae(e.label),1)]))],6)):re("v-if",!0)],2)}}})),[["__file","checkbox-button.vue"]]);const wc=Yn(s({modelValue:{type:Array,default:()=>[]},disabled:Boolean,min:Number,max:Number,size:Er,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}},Ar(["ariaLabel"]))),xc={[lo]:e=>F(e),change:e=>F(e)},kc=O({name:"ElCheckboxGroup"});var Cc=Hr(O(u(s({},kc),{props:wc,emits:xc,setup(e,{emit:t}){const n=e,o=Io("checkbox"),{formItem:l}=Zr(),{inputId:a,isLabeledByFormItem:r}=Jr(n,{formItemContext:l}),i=e=>d(this,null,(function*(){t(lo,e),yield w(),t("change",e)})),c=C({get:()=>n.modelValue,set(e){i(e)}});return j(fc,u(s({},Ke(Y(n),["size","min","max","disabled","validateEvent","fill","textColor"])),{modelValue:c,changeEvent:i})),g((()=>n.modelValue),(()=>{n.validateEvent&&(null==l||l.validate("change").catch((e=>{})))})),(e,t)=>{var n;return T(),te(ne(e.tag),{id:p(a),class:G(p(o).b("group")),role:"group","aria-label":p(r)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":p(r)?null==(n=p(l))?void 0:n.labelId:void 0},{default:ee((()=>[H(e.$slots,"default")])),_:3},8,["id","class","aria-label","aria-labelledby"])}}})),[["__file","checkbox-group.vue"]]);const Sc=eo(hc,{CheckboxButton:yc,CheckboxGroup:Cc}),Ec=to(yc),Ic=to(Cc),Oc=Yn({modelValue:{type:[String,Number,Boolean],default:void 0},size:Er,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),Tc=Yn(u(s({},Oc),{border:Boolean})),Bc={[lo]:e=>S(e)||Qt(e)||Jt(e),[ao]:e=>S(e)||Qt(e)||Jt(e)},Mc=Symbol("radioGroupKey"),Lc=(e,t)=>{const n=m(),o=N(Mc,void 0),l=C((()=>!!o)),a=C((()=>tn(e.value)?e.label:e.value)),r=C({get:()=>l.value?o.modelValue:e.modelValue,set(r){l.value?o.changeEvent(r):t&&t(lo,r),n.value.checked=e.modelValue===a.value}}),i=Gr(C((()=>null==o?void 0:o.size))),s=Xr(C((()=>null==o?void 0:o.disabled))),u=m(!1),c=C((()=>s.value||l.value&&r.value!==a.value?-1:0));return mo({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},C((()=>l.value&&tn(e.value)))),{radioRef:n,isGroup:l,radioGroup:o,focus:u,size:i,disabled:s,tabIndex:c,modelValue:r,actualValue:a}},_c=O({name:"ElRadio"});var Ac=Hr(O(u(s({},_c),{props:Tc,emits:Bc,setup(e,{emit:t}){const n=e,o=Io("radio"),{radioRef:l,radioGroup:a,focus:r,size:i,disabled:s,modelValue:u,actualValue:c}=Lc(n,t);function d(){w((()=>t("change",u.value)))}return(e,t)=>{var n;return T(),B("label",{class:G([p(o).b(),p(o).is("disabled",p(s)),p(o).is("focus",p(r)),p(o).is("bordered",e.border),p(o).is("checked",p(u)===p(c)),p(o).m(p(i))])},[M("span",{class:G([p(o).e("input"),p(o).is("disabled",p(s)),p(o).is("checked",p(u)===p(c))])},[ce(M("input",{ref_key:"radioRef",ref:l,"onUpdate:modelValue":e=>z(u)?u.value=e:null,class:G(p(o).e("original")),value:p(c),name:e.name||(null==(n=p(a))?void 0:n.name),disabled:p(s),checked:p(u)===p(c),type:"radio",onFocus:e=>r.value=!0,onBlur:e=>r.value=!1,onChange:d,onClick:ue((()=>{}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[ke,p(u)]]),M("span",{class:G(p(o).e("inner"))},null,2)],2),M("span",{class:G(p(o).e("label")),onKeydown:ue((()=>{}),["stop"])},[H(e.$slots,"default",{},(()=>[le(ae(e.label),1)]))],42,["onKeydown"])],2)}}})),[["__file","radio.vue"]]);const Rc=Yn(s({},Oc)),$c=O({name:"ElRadioButton"});var Fc=Hr(O(u(s({},$c),{props:Rc,setup(e){const t=e,n=Io("radio"),{radioRef:o,focus:l,size:a,disabled:r,modelValue:i,radioGroup:s,actualValue:u}=Lc(t),c=C((()=>({backgroundColor:(null==s?void 0:s.fill)||"",borderColor:(null==s?void 0:s.fill)||"",boxShadow:(null==s?void 0:s.fill)?`-1px 0 0 0 ${s.fill}`:"",color:(null==s?void 0:s.textColor)||""})));return(e,t)=>{var d;return T(),B("label",{class:G([p(n).b("button"),p(n).is("active",p(i)===p(u)),p(n).is("disabled",p(r)),p(n).is("focus",p(l)),p(n).bm("button",p(a))])},[ce(M("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":e=>z(i)?i.value=e:null,class:G(p(n).be("button","original-radio")),value:p(u),type:"radio",name:e.name||(null==(d=p(s))?void 0:d.name),disabled:p(r),onFocus:e=>l.value=!0,onBlur:e=>l.value=!1,onClick:ue((()=>{}),["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[ke,p(i)]]),M("span",{class:G(p(n).be("button","inner")),style:oe(p(i)===p(u)?p(c):{}),onKeydown:ue((()=>{}),["stop"])},[H(e.$slots,"default",{},(()=>[le(ae(e.label),1)]))],46,["onKeydown"])],2)}}})),[["__file","radio-button.vue"]]);const Vc=Yn(s({id:{type:String,default:void 0},size:Er,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}},Ar(["ariaLabel"]))),Pc=Bc,Nc=O({name:"ElRadioGroup"}),zc=O(u(s({},Nc),{props:Vc,emits:Pc,setup(e,{emit:t}){const n=e,o=Io("radio"),l=oa(),a=m(),{formItem:r}=Zr(),{inputId:i,isLabeledByFormItem:c}=Jr(n,{formItemContext:r});y((()=>{const e=a.value.querySelectorAll("[type=radio]"),t=e[0];!Array.from(e).some((e=>e.checked))&&t&&(t.tabIndex=0)}));const d=C((()=>n.name||l.value));return j(Mc,U(u(s({},Y(n)),{changeEvent:e=>{t(lo,e),w((()=>t("change",e)))},name:d}))),g((()=>n.modelValue),(()=>{n.validateEvent&&(null==r||r.validate("change").catch((e=>{})))})),(e,t)=>(T(),B("div",{id:p(i),ref_key:"radioGroupRef",ref:a,class:G(p(o).b("group")),role:"radiogroup","aria-label":p(c)?void 0:e.ariaLabel||"radio-group","aria-labelledby":p(c)?p(r).labelId:void 0},[H(e.$slots,"default")],10,["id","aria-label","aria-labelledby"]))}}));var Dc=Hr(zc,[["__file","radio-group.vue"]]);const jc=eo(Ac,{RadioButton:Fc,RadioGroup:Dc}),Hc=to(Dc),qc=to(Fc),Wc=Yn({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:io},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),Kc={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},Uc=O({name:"ElTag"});const Yc=eo(Hr(O(u(s({},Uc),{props:Wc,emits:Kc,setup(e,{emit:t}){const n=e,o=Gr(),l=Io("tag"),a=C((()=>{const{type:e,hit:t,effect:a,closable:r,round:i}=n;return[l.b(),l.is("closable",r),l.m(e||"primary"),l.m(o.value),l.m(a),l.is("hit",t),l.is("round",i)]})),r=e=>{t("close",e)},i=e=>{t("click",e)},s=e=>{e.component.subTree.component.bum=null};return(e,t)=>e.disableTransitions?(T(),B("span",{key:0,class:G(p(a)),style:oe({backgroundColor:e.color}),onClick:i},[M("span",{class:G(p(l).e("content"))},[H(e.$slots,"default")],2),e.closable?(T(),te(p(Kr),{key:0,class:G(p(l).e("close")),onClick:ue(r,["stop"])},{default:ee((()=>[Z(p(Sn))])),_:1},8,["class","onClick"])):re("v-if",!0)],6)):(T(),te(pe,{key:1,name:`${p(l).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:s},{default:ee((()=>[M("span",{class:G(p(a)),style:oe({backgroundColor:e.color}),onClick:i},[M("span",{class:G(p(l).e("content"))},[H(e.$slots,"default")],2),e.closable?(T(),te(p(Kr),{key:0,class:G(p(l).e("close")),onClick:ue(r,["stop"])},{default:ee((()=>[Z(p(Sn))])),_:1},8,["class","onClick"])):re("v-if",!0)],6)])),_:3},8,["name"]))}})),[["__file","tag.vue"]])),Gc=Symbol("rowContextKey"),Xc=Yn({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:["start","center","end","space-around","space-between","space-evenly"],default:"start"},align:{type:String,values:["top","middle","bottom"]}}),Zc=O({name:"ElRow"});const Jc=eo(Hr(O(u(s({},Zc),{props:Xc,setup(e){const t=e,n=Io("row"),o=C((()=>t.gutter));j(Gc,{gutter:o});const l=C((()=>{const e={};return t.gutter?(e.marginRight=e.marginLeft=`-${t.gutter/2}px`,e):e})),a=C((()=>[n.b(),n.is(`justify-${t.justify}`,"start"!==t.justify),n.is(`align-${t.align}`,!!t.align)]));return(e,t)=>(T(),te(ne(e.tag),{class:G(p(a)),style:oe(p(l))},{default:ee((()=>[H(e.$slots,"default")])),_:3},8,["class","style"]))}})),[["__file","row.vue"]])),Qc=Yn({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:[Number,Object],default:()=>({})},sm:{type:[Number,Object],default:()=>({})},md:{type:[Number,Object],default:()=>({})},lg:{type:[Number,Object],default:()=>({})},xl:{type:[Number,Object],default:()=>({})}}),ed=O({name:"ElCol"});const td=eo(Hr(O(u(s({},ed),{props:Qc,setup(e){const t=e,{gutter:n}=N(Gc,{gutter:C((()=>0))}),o=Io("col"),l=C((()=>{const e={};return n.value&&(e.paddingLeft=e.paddingRight=n.value/2+"px"),e})),a=C((()=>{const e=[];["span","offset","pull","push"].forEach((n=>{const l=t[n];Qt(l)&&("span"===n?e.push(o.b(`${t[n]}`)):l>0&&e.push(o.b(`${n}-${t[n]}`)))}));return["xs","sm","md","lg","xl"].forEach((n=>{Qt(t[n])?e.push(o.b(`${n}-${t[n]}`)):L(t[n])&&Object.entries(t[n]).forEach((([t,l])=>{e.push("span"!==t?o.b(`${n}-${t}-${l}`):o.b(`${n}-${l}`))}))})),n.value&&e.push(o.is("guttered")),[o.b(),e]}));return(e,t)=>(T(),te(ne(e.tag),{class:G(p(a)),style:oe(p(l))},{default:ee((()=>[H(e.$slots,"default")])),_:3},8,["class","style"]))}})),[["__file","col.vue"]])),nd=O({name:"ElCollapseTransition"});const od=eo(Hr(O(u(s({},nd),{setup(e){const t=Io("collapse-transition"),n=e=>{e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},o={beforeEnter(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height&&(e.dataset.elExistsHeight=e.style.height),e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0},enter(e){requestAnimationFrame((()=>{e.dataset.oldOverflow=e.style.overflow,e.dataset.elExistsHeight?e.style.maxHeight=e.dataset.elExistsHeight:0!==e.scrollHeight?e.style.maxHeight=`${e.scrollHeight}px`:e.style.maxHeight=0,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom,e.style.overflow="hidden"}))},afterEnter(e){e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow},enterCancelled(e){n(e)},beforeLeave(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.maxHeight=`${e.scrollHeight}px`,e.style.overflow="hidden"},leave(e){0!==e.scrollHeight&&(e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0)},afterLeave(e){n(e)},leaveCancelled(e){n(e)}};return(e,n)=>(T(),te(pe,q({name:p(t).b()},Ce(o)),{default:ee((()=>[H(e.$slots,"default")])),_:3},16,["name"]))}})),[["__file","collapse-transition.vue"]])),ld=O({name:"ElContainer"});var ad=Hr(O(u(s({},ld),{props:{direction:{type:String}},setup(e){const t=e,n=Q(),o=Io("container"),l=C((()=>{if("vertical"===t.direction)return!0;if("horizontal"===t.direction)return!1;if(n&&n.default){return n.default().some((e=>{const t=e.type.name;return"ElHeader"===t||"ElFooter"===t}))}return!1}));return(e,t)=>(T(),B("section",{class:G([p(o).b(),p(o).is("vertical",p(l))])},[H(e.$slots,"default")],2))}})),[["__file","container.vue"]]);const rd=O({name:"ElAside"});var id=Hr(O(u(s({},rd),{props:{width:{type:String,default:null}},setup(e){const t=e,n=Io("aside"),o=C((()=>t.width?n.cssVarBlock({width:t.width}):{}));return(e,t)=>(T(),B("aside",{class:G(p(n).b()),style:oe(p(o))},[H(e.$slots,"default")],6))}})),[["__file","aside.vue"]]);const sd=O({name:"ElFooter"});var ud=Hr(O(u(s({},sd),{props:{height:{type:String,default:null}},setup(e){const t=e,n=Io("footer"),o=C((()=>t.height?n.cssVarBlock({height:t.height}):{}));return(e,t)=>(T(),B("footer",{class:G(p(n).b()),style:oe(p(o))},[H(e.$slots,"default")],6))}})),[["__file","footer.vue"]]);const cd=O({name:"ElHeader"});var dd=Hr(O(u(s({},cd),{props:{height:{type:String,default:null}},setup(e){const t=e,n=Io("header"),o=C((()=>t.height?n.cssVarBlock({height:t.height}):{}));return(e,t)=>(T(),B("header",{class:G(p(n).b()),style:oe(p(o))},[H(e.$slots,"default")],6))}})),[["__file","header.vue"]]);const pd=O({name:"ElMain"});var fd=Hr(O(u(s({},pd),{setup(e){const t=Io("main");return(e,n)=>(T(),B("main",{class:G(p(t).b())},[H(e.$slots,"default")],2))}})),[["__file","main.vue"]]);const vd=eo(ad,{Aside:id,Footer:ud,Header:dd,Main:fd}),md=to(id);to(ud);const gd=to(dd),hd=to(fd),bd=Yn({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:[String,Array,Object]},zIndex:{type:[String,Number]}});const yd=O({name:"ElOverlay",props:bd,emits:{click:e=>e instanceof MouseEvent},setup(e,{slots:t,emit:n}){const o=Io("overlay"),{onClick:l,onMousedown:a,onMouseup:r}=Jl(e.customMaskEvent?void 0:e=>{n("click",e)});return()=>e.mask?Z("div",{class:[o.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:l,onMousedown:a,onMouseup:r},[H(t,"default")],uo.STYLE|uo.CLASS|uo.PROPS,["onClick","onMouseup","onMousedown"]):Se("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[H(t,"default")])}}),wd=Symbol("dialogInjectionKey"),xd=Yn({center:Boolean,alignCenter:Boolean,closeIcon:{type:Gn},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),kd=O({name:"ElDialogContent"});var Cd=Hr(O(u(s({},kd),{props:xd,emits:{close:()=>!0},setup(e,{expose:t}){const n=e,{t:o}=xo(),{Close:l}=Xn,{dialogRef:a,headerRef:r,bodyId:i,ns:s,style:u}=N(wd),{focusTrapRef:c}=N(Cs),d=C((()=>[s.b(),s.is("fullscreen",n.fullscreen),s.is("draggable",n.draggable),s.is("align-center",n.alignCenter),{[s.m("center")]:n.center}])),f=no(c,a),v=C((()=>n.draggable)),m=C((()=>n.overflow)),{resetPosition:g}=go(a,r,v,m);return t({resetPosition:g}),(e,t)=>(T(),B("div",{ref:p(f),class:G(p(d)),style:oe(p(u)),tabindex:"-1"},[M("header",{ref_key:"headerRef",ref:r,class:G([p(s).e("header"),{"show-close":e.showClose}])},[H(e.$slots,"header",{},(()=>[M("span",{role:"heading","aria-level":e.ariaLevel,class:G(p(s).e("title"))},ae(e.title),11,["aria-level"])])),e.showClose?(T(),B("button",{key:0,"aria-label":p(o)("el.dialog.close"),class:G(p(s).e("headerbtn")),type:"button",onClick:t=>e.$emit("close")},[Z(p(Kr),{class:G(p(s).e("close"))},{default:ee((()=>[(T(),te(ne(e.closeIcon||p(l))))])),_:1},8,["class"])],10,["aria-label","onClick"])):re("v-if",!0)],2),M("div",{id:p(i),class:G(p(s).e("body"))},[H(e.$slots,"default")],10,["id"]),e.$slots.footer?(T(),B("footer",{key:0,class:G(p(s).e("footer"))},[H(e.$slots,"footer")],2)):re("v-if",!0)],6))}})),[["__file","dialog-content.vue"]]);const Sd=Yn(u(s({},xd),{appendToBody:Boolean,appendTo:{type:[String,Object],default:"body"},beforeClose:{type:Function},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"}})),Ed={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[lo]:e=>Jt(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Id=(e,t)=>{var n;const o=b().emit,{nextZIndex:l}=ga();let a="";const r=oa(),i=oa(),s=m(!1),u=m(!1),c=m(!1),d=m(null!=(n=e.zIndex)?n:l());let p,f;const v=Fr("namespace",ko),h=C((()=>{const t={},n=`--${v.value}-dialog`;return e.fullscreen||(e.top&&(t[`${n}-margin-top`]=e.top),e.width&&(t[`${n}-width`]=fn(e.width))),t})),x=C((()=>e.alignCenter?{display:"flex"}:{}));function k(){null==f||f(),null==p||p(),e.openDelay&&e.openDelay>0?({stop:p}=It((()=>I()),e.openDelay)):I()}function S(){null==p||p(),null==f||f(),e.closeDelay&&e.closeDelay>0?({stop:f}=It((()=>O()),e.closeDelay)):O()}function E(){e.beforeClose?e.beforeClose((function(e){e||(u.value=!0,s.value=!1)})):S()}function I(){ht&&(s.value=!0)}function O(){s.value=!1}return e.lockScroll&&Oo(s),g((()=>e.modelValue),(n=>{n?(u.value=!1,k(),c.value=!0,d.value=Ge(e.zIndex)?l():d.value++,w((()=>{o("open"),t.value&&(t.value.scrollTop=0)}))):s.value&&S()})),g((()=>e.fullscreen),(e=>{t.value&&(e?(a=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=a)})),y((()=>{e.modelValue&&(s.value=!0,c.value=!0,k())})),{afterEnter:function(){o("opened")},afterLeave:function(){o("closed"),o(lo,!1),e.destroyOnClose&&(c.value=!1)},beforeLeave:function(){o("close")},handleClose:E,onModalClick:function(){e.closeOnClickModal&&E()},close:S,doClose:O,onOpenAutoFocus:function(){o("openAutoFocus")},onCloseAutoFocus:function(){o("closeAutoFocus")},onCloseRequested:function(){e.closeOnPressEscape&&E()},onFocusoutPrevented:function(e){var t;"pointer"===(null==(t=e.detail)?void 0:t.focusReason)&&e.preventDefault()},titleId:r,bodyId:i,closed:u,style:h,overlayDialogStyle:x,rendered:c,visible:s,zIndex:d}},Od=O({name:"ElDialog",inheritAttrs:!1});const Td=eo(Hr(O(u(s({},Od),{props:Sd,emits:Ed,setup(e,{expose:t}){const n=e,o=Q();mo({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},C((()=>!!o.title)));const l=Io("dialog"),a=m(),r=m(),i=m(),{visible:s,titleId:u,bodyId:c,style:d,overlayDialogStyle:f,rendered:v,zIndex:g,afterEnter:h,afterLeave:b,beforeLeave:y,handleClose:w,onModalClick:x,onOpenAutoFocus:k,onCloseAutoFocus:S,onCloseRequested:E,onFocusoutPrevented:I}=Id(n,a);j(wd,{dialogRef:a,headerRef:r,bodyId:c,ns:l,rendered:v,style:d});const O=Jl(x),B=C((()=>n.draggable&&!n.fullscreen));return t({visible:s,dialogContentRef:i,resetPosition:()=>{var e;null==(e=i.value)||e.resetPosition()}}),(e,t)=>(T(),te(p(lu),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:ee((()=>[Z(pe,{name:"dialog-fade",onAfterEnter:p(h),onAfterLeave:p(b),onBeforeLeave:p(y),persisted:""},{default:ee((()=>[ce(Z(p(yd),{"custom-mask-event":"",mask:e.modal,"overlay-class":e.modalClass,"z-index":p(g)},{default:ee((()=>[M("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:p(u),"aria-describedby":p(c),class:G(`${p(l).namespace.value}-overlay-dialog`),style:oe(p(f)),onClick:p(O).onClick,onMousedown:p(O).onMousedown,onMouseup:p(O).onMouseup},[Z(p(Vs),{loop:"",trapped:p(s),"focus-start-el":"container",onFocusAfterTrapped:p(k),onFocusAfterReleased:p(S),onFocusoutPrevented:p(I),onReleaseRequested:p(E)},{default:ee((()=>[p(v)?(T(),te(Cd,q({key:0,ref_key:"dialogContentRef",ref:i},e.$attrs,{center:e.center,"align-center":e.alignCenter,"close-icon":e.closeIcon,draggable:p(B),overflow:e.overflow,fullscreen:e.fullscreen,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:p(w)}),Ee({header:ee((()=>[e.$slots.title?H(e.$slots,"title",{key:1}):H(e.$slots,"header",{key:0,close:p(w),titleId:p(u),titleClass:p(l).e("title")})])),default:ee((()=>[H(e.$slots,"default")])),_:2},[e.$slots.footer?{name:"footer",fn:ee((()=>[H(e.$slots,"footer")]))}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):re("v-if",!0)])),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,["aria-label","aria-labelledby","aria-describedby","onClick","onMousedown","onMouseup"])])),_:3},8,["mask","overlay-class","z-index"]),[[de,p(s)]])])),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])])),_:3},8,["to","disabled"]))}})),[["__file","dialog.vue"]])),Bd=Yn({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:String,default:"solid"}}),Md=O({name:"ElDivider"});const Ld=eo(Hr(O(u(s({},Md),{props:Bd,setup(e){const t=e,n=Io("divider"),o=C((()=>n.cssVar({"border-style":t.borderStyle})));return(e,t)=>(T(),B("div",{class:G([p(n).b(),p(n).m(e.direction)]),style:oe(p(o)),role:"separator"},[e.$slots.default&&"vertical"!==e.direction?(T(),B("div",{key:0,class:G([p(n).e("text"),p(n).is(e.contentPosition)])},[H(e.$slots,"default")],2)):re("v-if",!0)],6))}})),[["__file","divider.vue"]])),_d=Yn(u(s({},Sd),{direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}})),Ad=Ed,Rd=O({name:"ElDrawer",inheritAttrs:!1});const $d=eo(Hr(O(u(s({},Rd),{props:_d,emits:Ad,setup(e,{expose:t}){const n=e,o=Q();mo({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},C((()=>!!o.title)));const l=m(),a=m(),r=Io("drawer"),{t:i}=xo(),{afterEnter:s,afterLeave:u,beforeLeave:c,visible:d,rendered:f,titleId:v,bodyId:g,zIndex:h,onModalClick:b,onOpenAutoFocus:y,onCloseAutoFocus:w,onFocusoutPrevented:x,onCloseRequested:k,handleClose:S}=Id(n,l),E=C((()=>"rtl"===n.direction||"ltr"===n.direction)),I=C((()=>fn(n.size)));return t({handleClose:S,afterEnter:s,afterLeave:u}),(e,t)=>(T(),te(p(lu),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:ee((()=>[Z(pe,{name:p(r).b("fade"),onAfterEnter:p(s),onAfterLeave:p(u),onBeforeLeave:p(c),persisted:""},{default:ee((()=>[ce(Z(p(yd),{mask:e.modal,"overlay-class":e.modalClass,"z-index":p(h),onClick:p(b)},{default:ee((()=>[Z(p(Vs),{loop:"",trapped:p(d),"focus-trap-el":l.value,"focus-start-el":a.value,onFocusAfterTrapped:p(y),onFocusAfterReleased:p(w),onFocusoutPrevented:p(x),onReleaseRequested:p(k)},{default:ee((()=>[M("div",q({ref_key:"drawerRef",ref:l,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:p(v),"aria-describedby":p(g)},e.$attrs,{class:[p(r).b(),e.direction,p(d)&&"open"],style:p(E)?"width: "+p(I):"height: "+p(I),role:"dialog",onClick:ue((()=>{}),["stop"])}),[M("span",{ref_key:"focusStartRef",ref:a,class:G(p(r).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(T(),B("header",{key:0,class:G(p(r).e("header"))},[e.$slots.title?H(e.$slots,"title",{key:1},(()=>[re(" DEPRECATED SLOT ")])):H(e.$slots,"header",{key:0,close:p(S),titleId:p(v),titleClass:p(r).e("title")},(()=>[e.$slots.title?re("v-if",!0):(T(),B("span",{key:0,id:p(v),role:"heading","aria-level":e.headerAriaLevel,class:G(p(r).e("title"))},ae(e.title),11,["id","aria-level"]))])),e.showClose?(T(),B("button",{key:2,"aria-label":p(i)("el.drawer.close"),class:G(p(r).e("close-btn")),type:"button",onClick:p(S)},[Z(p(Kr),{class:G(p(r).e("close"))},{default:ee((()=>[Z(p(Sn))])),_:1},8,["class"])],10,["aria-label","onClick"])):re("v-if",!0)],2)):re("v-if",!0),p(f)?(T(),B("div",{key:1,id:p(g),class:G(p(r).e("body"))},[H(e.$slots,"default")],10,["id"])):re("v-if",!0),e.$slots.footer?(T(),B("div",{key:2,class:G(p(r).e("footer"))},[H(e.$slots,"footer")],2)):re("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])])),_:3},8,["mask","overlay-class","z-index","onClick"]),[[de,p(d)]])])),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])])),_:3},8,["to","disabled"]))}})),[["__file","drawer.vue"]]));var Fd=Hr(O({inheritAttrs:!1}),[["render",function(e,t,n,o,l,a){return H(e.$slots,"default")}],["__file","collection.vue"]]);var Vd=Hr(O({name:"ElCollectionItem",inheritAttrs:!1}),[["render",function(e,t,n,o,l,a){return H(e.$slots,"default")}],["__file","collection-item.vue"]]);const Pd="data-el-collection-item",Nd=e=>{const t=`El${e}Collection`,n=`${t}Item`,o=Symbol(t),l=Symbol(n),a=u(s({},Fd),{name:t,setup(){const e=m(null),t=new Map;j(o,{itemMap:t,getItems:()=>{const n=p(e);if(!n)return[];const o=Array.from(n.querySelectorAll(`[${Pd}]`));return[...t.values()].sort(((e,t)=>o.indexOf(e.ref)-o.indexOf(t.ref)))},collectionRef:e})}}),r=u(s({},Vd),{name:n,setup(e,{attrs:t}){const n=m(null),a=N(o,void 0);j(l,{collectionItemRef:n}),y((()=>{const e=p(n);e&&a.itemMap.set(e,s({ref:e},t))})),P((()=>{const e=p(n);a.itemMap.delete(e)}))}});return{COLLECTION_INJECTION_KEY:o,COLLECTION_ITEM_INJECTION_KEY:l,ElCollection:a,ElCollectionItem:r}},zd=Yn({style:{type:[String,Array,Object]},currentTabId:{type:String},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:String},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:Dd,ElCollectionItem:jd,COLLECTION_INJECTION_KEY:Hd,COLLECTION_ITEM_INJECTION_KEY:qd}=Nd("RovingFocusGroup"),Wd=Symbol("elRovingFocusGroup"),Kd=Symbol("elRovingFocusGroupItem"),Ud={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},Yd=e=>{const{activeElement:t}=document;for(const n of e){if(n===t)return;if(n.focus(),t!==document.activeElement)return}},Gd="currentTabIdChange",Xd="rovingFocusGroup.entryFocus",Zd={bubbles:!1,cancelable:!0},Jd=O({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:zd,emits:[Gd,"entryFocus"],setup(e,{emit:t}){var n;const o=m(null!=(n=e.currentTabId||e.defaultCurrentTabId)?n:null),l=m(!1),a=m(!1),r=m(null),{getItems:i}=N(Hd,void 0),s=C((()=>[{outline:"none"},e.style])),u=rt((t=>{var n;null==(n=e.onMousedown)||n.call(e,t)}),(()=>{a.value=!0})),c=rt((t=>{var n;null==(n=e.onFocus)||n.call(e,t)}),(e=>{const t=!p(a),{target:n,currentTarget:r}=e;if(n===r&&t&&!p(l)){const e=new Event(Xd,Zd);if(null==r||r.dispatchEvent(e),!e.defaultPrevented){const e=i().filter((e=>e.focusable)),t=[e.find((e=>e.active)),e.find((e=>e.id===p(o))),...e].filter(Boolean).map((e=>e.ref));Yd(t)}}a.value=!1})),d=rt((t=>{var n;null==(n=e.onBlur)||n.call(e,t)}),(()=>{l.value=!1}));j(Wd,{currentTabbedId:h(o),loop:W(e,"loop"),tabIndex:C((()=>p(l)?-1:0)),rovingFocusGroupRef:r,rovingFocusGroupRootStyle:s,orientation:W(e,"orientation"),dir:W(e,"dir"),onItemFocus:e=>{t(Gd,e)},onItemShiftTab:()=>{l.value=!0},onBlur:d,onFocus:c,onMousedown:u}),g((()=>e.currentTabId),(e=>{o.value=null!=e?e:null})),Mt(r,Xd,((...e)=>{t("entryFocus",...e)}))}});var Qd=Hr(O({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Dd,ElRovingFocusGroupImpl:Hr(Jd,[["render",function(e,t,n,o,l,a){return H(e.$slots,"default")}],["__file","roving-focus-group-impl.vue"]])}}),[["render",function(e,t,n,o,l,a){const r=Ie("el-roving-focus-group-impl"),i=Ie("el-focus-group-collection");return T(),te(i,null,{default:ee((()=>[Z(r,Oe(Te(e.$attrs)),{default:ee((()=>[H(e.$slots,"default")])),_:3},16)])),_:3})}],["__file","roving-focus-group.vue"]]);var ep=Hr(O({components:{ElRovingFocusCollectionItem:jd},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,loop:o,onItemFocus:l,onItemShiftTab:a}=N(Wd,void 0),{getItems:r}=N(Hd,void 0),i=oa(),s=m(null),u=rt((e=>{t("mousedown",e)}),(t=>{e.focusable?l(p(i)):t.preventDefault()})),c=rt((e=>{t("focus",e)}),(()=>{l(p(i))})),d=rt((e=>{t("keydown",e)}),(e=>{const{key:t,shiftKey:n,target:l,currentTarget:i}=e;if(t===oo.tab&&n)return void a();if(l!==i)return;const s=(e=>{const t=e.key;return Ud[t]})(e);if(s){e.preventDefault();let t=r().filter((e=>e.focusable)).map((e=>e.ref));switch(s){case"last":t.reverse();break;case"prev":case"next":{"prev"===s&&t.reverse();const e=t.indexOf(i);t=o.value?(c=e+1,(u=t).map(((e,t)=>u[(t+c)%u.length]))):t.slice(e+1);break}}w((()=>{Yd(t)}))}var u,c})),f=C((()=>n.value===p(i)));return j(Kd,{rovingFocusGroupItemRef:s,tabIndex:C((()=>p(f)?0:-1)),handleMousedown:u,handleFocus:c,handleKeydown:d}),{id:i,handleKeydown:d,handleFocus:c,handleMousedown:u}}}),[["render",function(e,t,n,o,l,a){const r=Ie("el-roving-focus-collection-item");return T(),te(r,{id:e.id,focusable:e.focusable,active:e.active},{default:ee((()=>[H(e.$slots,"default")])),_:3},8,["id","focusable","active"])}],["__file","roving-focus-item.vue"]]);const tp=Yn({trigger:Ys.trigger,effect:u(s({},Us.effect),{default:"light"}),type:{type:String},placement:{type:String,default:"bottom"},popperOptions:{type:Object,default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:[Number,String],default:0},maxHeight:{type:[Number,String],default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,default:"menu"},buttonProps:{type:Object},teleported:Us.teleported}),np=Yn({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:Gn}}),op=Yn({onKeydown:{type:Function}}),lp=[oo.up,oo.pageUp,oo.end],ap=[...[oo.down,oo.pageDown,oo.home],...lp],{ElCollection:rp,ElCollectionItem:ip,COLLECTION_INJECTION_KEY:sp,COLLECTION_ITEM_INJECTION_KEY:up}=Nd("Dropdown"),cp=Symbol("elDropdown"),{ButtonGroup:dp}=zu;var pp=Hr(O({name:"ElDropdown",components:{ElButton:zu,ElButtonGroup:dp,ElScrollbar:ns,ElDropdownCollection:rp,ElTooltip:su,ElRovingFocusGroup:Qd,ElOnlyChild:ds,ElIcon:Kr,ArrowDown:gn},props:tp,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=b(),o=Io("dropdown"),{t:l}=xo(),a=m(),r=m(),i=m(null),s=m(null),u=m(null),c=m(null),d=m(!1),f=[oo.enter,oo.space,oo.down],v=C((()=>({maxHeight:fn(e.maxHeight)}))),h=C((()=>[o.m(S.value)])),y=C((()=>Ue(e.trigger))),w=oa().value,x=C((()=>e.id||w));function k(){var e;null==(e=i.value)||e.onClose()}g([a,y],(([e,t],[n])=>{var o,l,a;(null==(o=null==n?void 0:n.$el)?void 0:o.removeEventListener)&&n.$el.removeEventListener("pointerenter",E),(null==(l=null==e?void 0:e.$el)?void 0:l.removeEventListener)&&e.$el.removeEventListener("pointerenter",E),(null==(a=null==e?void 0:e.$el)?void 0:a.addEventListener)&&t.includes("hover")&&e.$el.addEventListener("pointerenter",E)}),{immediate:!0}),P((()=>{var e,t;(null==(t=null==(e=a.value)?void 0:e.$el)?void 0:t.removeEventListener)&&a.value.$el.removeEventListener("pointerenter",E)}));const S=Gr();function E(){var e,t;null==(t=null==(e=a.value)?void 0:e.$el)||t.focus()}j(cp,{contentRef:s,role:C((()=>e.role)),triggerId:x,isUsingKeyboard:d,onItemEnter:function(){},onItemLeave:function(){const e=p(s);y.value.includes("hover")&&(null==e||e.focus()),c.value=null}}),j("elDropdown",{instance:n,dropdownSize:S,handleClick:function(){k()},commandHandler:function(...e){t("command",...e)},trigger:W(e,"trigger"),hideOnClick:W(e,"hideOnClick")});return{t:l,ns:o,scrollbar:u,wrapStyle:v,dropdownTriggerKls:h,dropdownSize:S,triggerId:x,triggerKeys:f,currentTabId:c,handleCurrentTabIdChange:function(e){c.value=e},handlerMainButtonClick:e=>{t("click",e)},handleEntryFocus:function(e){d.value||(e.preventDefault(),e.stopImmediatePropagation())},handleClose:k,handleOpen:function(){var e;null==(e=i.value)||e.onOpen()},handleBeforeShowTooltip:function(){t("visible-change",!0)},handleShowTooltip:function(e){"keydown"===(null==e?void 0:e.type)&&s.value.focus()},handleBeforeHideTooltip:function(){t("visible-change",!1)},onFocusAfterTrapped:e=>{var t,n;e.preventDefault(),null==(n=null==(t=s.value)?void 0:t.focus)||n.call(t,{preventScroll:!0})},popperRef:i,contentRef:s,triggeringElementRef:a,referenceElementRef:r}}}),[["render",function(e,t,n,o,l,a){var r;const i=Ie("el-dropdown-collection"),s=Ie("el-roving-focus-group"),u=Ie("el-scrollbar"),c=Ie("el-only-child"),d=Ie("el-tooltip"),p=Ie("el-button"),f=Ie("arrow-down"),v=Ie("el-icon"),m=Ie("el-button-group");return T(),B("div",{class:G([e.ns.b(),e.ns.is("disabled",e.disabled)])},[Z(d,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":"hover"===e.trigger?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":null==(r=e.referenceElementRef)?void 0:r.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":"hover"===e.trigger?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"",persistent:"",onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},Ee({content:ee((()=>[Z(u,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:ee((()=>[Z(s,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:ee((()=>[Z(i,null,{default:ee((()=>[H(e.$slots,"dropdown")])),_:3})])),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])])),_:3},8,["wrap-style","view-class"])])),_:2},[e.splitButton?void 0:{name:"default",fn:ee((()=>[Z(c,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:ee((()=>[H(e.$slots,"default")])),_:3},8,["id","tabindex"])]))}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(T(),te(m,{key:0},{default:ee((()=>[Z(p,q({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:ee((()=>[H(e.$slots,"default")])),_:3},16,["size","type","disabled","tabindex","onClick"]),Z(p,q({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:ee((()=>[Z(v,{class:G(e.ns.e("icon"))},{default:ee((()=>[Z(f)])),_:1},8,["class"])])),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])])),_:3})):re("v-if",!0)],2)}],["__file","dropdown.vue"]]);const fp=O({name:"DropdownItemImpl",components:{ElIcon:Kr},props:np,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Io("dropdown"),{role:o}=N(cp,void 0),{collectionItemRef:l}=N(up,void 0),{collectionItemRef:a}=N(qd,void 0),{rovingFocusGroupItemRef:r,tabIndex:i,handleFocus:s,handleKeydown:u,handleMousedown:c}=N(Kd,void 0),d=no(l,a,r),p=C((()=>"menu"===o.value?"menuitem":"navigation"===o.value?"link":"button")),f=rt((e=>{const{code:n}=e;if(n===oo.enter||n===oo.space)return e.preventDefault(),e.stopImmediatePropagation(),t("clickimpl",e),!0}),u);return{ns:n,itemRef:d,dataset:{[Pd]:""},role:p,tabIndex:i,handleFocus:s,handleKeydown:f,handleMousedown:c}}});const vp=()=>{const e=N("elDropdown",{}),t=C((()=>null==e?void 0:e.dropdownSize));return{elDropdown:e,_elDropdownSize:t}};var mp=Hr(O({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ip,ElRovingFocusItem:ep,ElDropdownItemImpl:Hr(fp,[["render",function(e,t,n,o,l,a){const r=Ie("el-icon");return T(),B(J,null,[e.divided?(T(),B("li",q({key:0,role:"separator",class:e.ns.bem("menu","item","divided")},e.$attrs),null,16)):re("v-if",!0),M("li",q({ref:e.itemRef},s(s({},e.dataset),e.$attrs),{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t=>e.$emit("clickimpl",t),onFocus:e.handleFocus,onKeydown:ue(e.handleKeydown,["self"]),onMousedown:e.handleMousedown,onPointermove:t=>e.$emit("pointermove",t),onPointerleave:t=>e.$emit("pointerleave",t)}),[e.icon?(T(),te(r,{key:0},{default:ee((()=>[(T(),te(ne(e.icon)))])),_:1})):re("v-if",!0),H(e.$slots,"default")],16,["aria-disabled","tabindex","role","onClick","onFocus","onKeydown","onMousedown","onPointermove","onPointerleave"])],64)}],["__file","dropdown-item-impl.vue"]])},inheritAttrs:!1,props:np,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:o}=vp(),l=b(),a=m(null),r=C((()=>{var e,t;return null!=(t=null==(e=p(a))?void 0:e.textContent)?t:""})),{onItemEnter:i,onItemLeave:u}=N(cp,void 0),c=rt((e=>(t("pointermove",e),e.defaultPrevented)),it((t=>{if(e.disabled)return void u(t);const n=t.currentTarget;n===document.activeElement||n.contains(document.activeElement)||(i(t),t.defaultPrevented||null==n||n.focus())}))),d=rt((e=>(t("pointerleave",e),e.defaultPrevented)),it(u));return{handleClick:rt((n=>{if(!e.disabled)return t("click",n),"keydown"!==n.type&&n.defaultPrevented}),(t=>{var n,a,r;e.disabled?t.stopImmediatePropagation():((null==(n=null==o?void 0:o.hideOnClick)?void 0:n.value)&&(null==(a=o.handleClick)||a.call(o)),null==(r=o.commandHandler)||r.call(o,e.command,l,t))})),handlePointerMove:c,handlePointerLeave:d,textContent:r,propsAndAttrs:C((()=>s(s({},e),n)))}}}),[["render",function(e,t,n,o,l,a){var r;const i=Ie("el-dropdown-item-impl"),s=Ie("el-roving-focus-item"),u=Ie("el-dropdown-collection-item");return T(),te(u,{disabled:e.disabled,"text-value":null!=(r=e.textValue)?r:e.textContent},{default:ee((()=>[Z(s,{focusable:!e.disabled},{default:ee((()=>[Z(i,q(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:ee((()=>[H(e.$slots,"default")])),_:3},16,["onPointerleave","onPointermove","onClickimpl"])])),_:3},8,["focusable"])])),_:3},8,["disabled","text-value"])}],["__file","dropdown-item.vue"]]);var gp=Hr(O({name:"ElDropdownMenu",props:op,setup(e){const t=Io("dropdown"),{_elDropdownSize:n}=vp(),o=n.value,{focusTrapRef:l,onKeydown:a}=N(Cs,void 0),{contentRef:r,role:i,triggerId:s}=N(cp,void 0),{collectionRef:u,getItems:c}=N(sp,void 0),{rovingFocusGroupRef:d,rovingFocusGroupRootStyle:f,tabIndex:v,onBlur:m,onFocus:g,onMousedown:h}=N(Wd,void 0),{collectionRef:b}=N(Hd,void 0),y=C((()=>[t.b("menu"),t.bm("menu",null==o?void 0:o.value)])),w=no(r,u,l,d,b),x=rt((t=>{var n;null==(n=e.onKeydown)||n.call(e,t)}),(e=>{const{currentTarget:t,code:n,target:o}=e;if(t.contains(o),oo.tab===n&&e.stopImmediatePropagation(),e.preventDefault(),o!==p(r)||!ap.includes(n))return;const l=c().filter((e=>!e.disabled)).map((e=>e.ref));lp.includes(n)&&l.reverse(),Yd(l)}));return{size:o,rovingFocusGroupRootStyle:f,tabIndex:v,dropdownKls:y,role:i,triggerId:s,dropdownListWrapperRef:w,handleKeydown:e=>{x(e),a(e)},onBlur:m,onFocus:g,onMousedown:h}}}),[["render",function(e,t,n,o,l,a){return T(),B("ul",{ref:e.dropdownListWrapperRef,class:G(e.dropdownKls),style:oe(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:e.onBlur,onFocus:e.onFocus,onKeydown:ue(e.handleKeydown,["self"]),onMousedown:ue(e.onMousedown,["self"])},[H(e.$slots,"default")],46,["role","aria-labelledby","onBlur","onFocus","onKeydown","onMousedown"])}],["__file","dropdown-menu.vue"]]);const hp=eo(pp,{DropdownItem:mp,DropdownMenu:gp}),bp=to(mp),yp=to(gp),wp=Yn({urlList:{type:Array,default:()=>[]},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:String}}),xp={close:()=>!0,switch:e=>Qt(e),rotate:e=>Qt(e)},kp=O({name:"ElImageViewer"});const Cp=eo(Hr(O(u(s({},kp),{props:wp,emits:xp,setup(e,{expose:t,emit:n}){var o;const l=e,a={CONTAIN:{name:"contain",icon:Be(On)},ORIGINAL:{name:"original",icon:Be(Pn)}},{t:r}=xo(),i=Io("image-viewer"),{nextZIndex:c}=ga(),d=m(),f=m([]),v=Me(),h=m(!0),b=m(l.initialIndex),k=x(a.CONTAIN),S=m({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),E=m(null!=(o=l.zIndex)?o:c()),I=C((()=>{const{urlList:e}=l;return e.length<=1})),O=C((()=>0===b.value)),L=C((()=>b.value===l.urlList.length-1)),_=C((()=>l.urlList[b.value])),A=C((()=>[i.e("btn"),i.e("prev"),i.is("disabled",!l.infinite&&O.value)])),R=C((()=>[i.e("btn"),i.e("next"),i.is("disabled",!l.infinite&&L.value)])),$=C((()=>{const{scale:e,deg:t,offsetX:n,offsetY:o,enableTransition:l}=S.value;let r=n/e,i=o/e;const s=t*Math.PI/180,u=Math.cos(s),c=Math.sin(s);r=r*u+i*c,i=i*u-n/e*c;const d={transform:`scale(${e}) rotate(${t}deg) translate(${r}px, ${i}px)`,transition:l?"transform .3s":""};return k.value.name===a.CONTAIN.name&&(d.maxWidth=d.maxHeight="100%"),d}));function F(){v.stop(),n("close")}function V(){h.value=!1}function P(e){h.value=!1,e.target.alt=r("el.image.error")}function N(e){if(h.value||0!==e.button||!d.value)return;S.value.enableTransition=!1;const{offsetX:t,offsetY:n}=S.value,o=e.pageX,l=e.pageY,a=Xe((e=>{S.value=u(s({},S.value),{offsetX:t+e.pageX-o,offsetY:n+e.pageY-l})})),r=Mt(document,"mousemove",a);Mt(document,"mouseup",(()=>{r()})),e.preventDefault()}function z(){S.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function D(){if(h.value)return;const e=on(a),t=Object.values(a),n=k.value.name,o=(t.findIndex((e=>e.name===n))+1)%e.length;k.value=a[e[o]],z()}function j(e){const t=l.urlList.length;b.value=(e+t)%t}function q(){O.value&&!l.infinite||j(b.value-1)}function W(){L.value&&!l.infinite||j(b.value+1)}function K(e,t={}){if(h.value)return;const{minScale:o,maxScale:a}=l,{zoomRate:r,rotateDeg:i,enableTransition:u}=s({zoomRate:l.zoomRate,rotateDeg:90,enableTransition:!0},t);switch(e){case"zoomOut":S.value.scale>o&&(S.value.scale=Number.parseFloat((S.value.scale/r).toFixed(3)));break;case"zoomIn":S.value.scale{w((()=>{const e=f.value[0];(null==e?void 0:e.complete)||(h.value=!0)}))})),g(b,(e=>{z(),n("switch",e)})),y((()=>{var e,t;!function(){const e=Xe((e=>{switch(e.code){case oo.esc:l.closeOnPressEscape&&F();break;case oo.space:D();break;case oo.left:q();break;case oo.up:K("zoomIn");break;case oo.right:W();break;case oo.down:K("zoomOut")}})),t=Xe((e=>{K((e.deltaY||e.deltaX)<0?"zoomIn":"zoomOut",{zoomRate:l.zoomRate,enableTransition:!1})}));v.run((()=>{Mt(document,"keydown",e),Mt(document,"wheel",t)}))}(),null==(t=null==(e=d.value)?void 0:e.focus)||t.call(e)})),t({setActiveItem:j}),(e,t)=>(T(),te(p(lu),{to:"body",disabled:!e.teleported},{default:ee((()=>[Z(pe,{name:"viewer-fade",appear:""},{default:ee((()=>[M("div",{ref_key:"wrapper",ref:d,tabindex:-1,class:G(p(i).e("wrapper")),style:oe({zIndex:E.value})},[M("div",{class:G(p(i).e("mask")),onClick:ue((t=>e.hideOnClickModal&&F()),["self"])},null,10,["onClick"]),re(" CLOSE "),M("span",{class:G([p(i).e("btn"),p(i).e("close")]),onClick:F},[Z(p(Kr),null,{default:ee((()=>[Z(p(Sn))])),_:1})],2),re(" ARROW "),p(I)?re("v-if",!0):(T(),B(J,{key:0},[M("span",{class:G(p(A)),onClick:q},[Z(p(Kr),null,{default:ee((()=>[Z(p(hn))])),_:1})],2),M("span",{class:G(p(R)),onClick:W},[Z(p(Kr),null,{default:ee((()=>[Z(p(bn))])),_:1})],2)],64)),re(" ACTIONS "),M("div",{class:G([p(i).e("btn"),p(i).e("actions")])},[M("div",{class:G(p(i).e("actions__inner"))},[Z(p(Kr),{onClick:e=>K("zoomOut")},{default:ee((()=>[Z(p(Wn))])),_:1},8,["onClick"]),Z(p(Kr),{onClick:e=>K("zoomIn")},{default:ee((()=>[Z(p(qn))])),_:1},8,["onClick"]),M("i",{class:G(p(i).e("actions__divider"))},null,2),Z(p(Kr),{onClick:D},{default:ee((()=>[(T(),te(ne(p(k).icon)))])),_:1}),M("i",{class:G(p(i).e("actions__divider"))},null,2),Z(p(Kr),{onClick:e=>K("anticlockwise")},{default:ee((()=>[Z(p(Fn))])),_:1},8,["onClick"]),Z(p(Kr),{onClick:e=>K("clockwise")},{default:ee((()=>[Z(p(Vn))])),_:1},8,["onClick"])],2)],2),re(" CANVAS "),M("div",{class:G(p(i).e("canvas"))},[(T(!0),B(J,null,ye(e.urlList,((t,n)=>ce((T(),B("img",{ref_for:!0,ref:e=>f.value[n]=e,key:t,src:t,style:oe(p($)),class:G(p(i).e("img")),crossorigin:e.crossorigin,onLoad:V,onError:P,onMousedown:N},null,46,["src","crossorigin"])),[[de,n===b.value]]))),128))],2),H(e.$slots,"default")],6)])),_:3})])),_:3},8,["disabled"]))}})),[["__file","image-viewer.vue"]])),Sp=Yn({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:[String,Object]},previewSrcList:{type:Array,default:()=>[]},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:String}}),Ep={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>Qt(e),close:()=>!0,show:()=>!0},Ip=O({name:"ElImage",inheritAttrs:!1});const Op=eo(Hr(O(u(s({},Ip),{props:Sp,emits:Ep,setup(e,{emit:t}){const n=e;let o="";const{t:l}=xo(),a=Io("image"),r=se(),i=C((()=>We(Object.entries(r).filter((([e])=>/^(data-|on[A-Z])/i.test(e)||["id","style"].includes(e)))))),s=vo({excludeListeners:!0,excludeKeys:C((()=>Object.keys(i.value)))}),u=m(),c=m(!1),f=m(!0),v=m(!1),h=m(),b=m(),x=ht&&"loading"in HTMLImageElement.prototype;let k,E;const I=C((()=>[a.e("inner"),L.value&&a.e("preview"),f.value&&a.is("loading")])),O=C((()=>{const{fit:e}=n;return ht&&e?{objectFit:e}:{}})),L=C((()=>{const{previewSrcList:e}=n;return Array.isArray(e)&&e.length>0})),_=C((()=>{const{previewSrcList:e,initialIndex:t}=n;let o=t;return t>e.length-1&&(o=0),o})),A=C((()=>"eager"!==n.loading&&(!x&&"lazy"===n.loading||n.lazy))),R=()=>{ht&&(f.value=!0,c.value=!1,u.value=n.src)};function $(e){f.value=!1,c.value=!1,t("load",e)}function F(e){f.value=!1,c.value=!0,t("error",e)}function V(){((e,t)=>{if(!ht||!e||!t)return!1;const n=e.getBoundingClientRect();let o;return o=t instanceof Element?t.getBoundingClientRect():{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.topo.top&&n.right>o.left&&n.left{if(!ht)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(vn(n,t))return n;n=n.parentNode}return n})(h.value)),b.value&&(k=Mt(b,"scroll",P),setTimeout((()=>V()),100))}))}function z(){ht&&b.value&&P&&(null==k||k(),b.value=void 0)}function D(e){if(e.ctrlKey)return e.deltaY<0||e.deltaY>0?(e.preventDefault(),!1):void 0}function j(){L.value&&(E=Mt("wheel",D,{passive:!1}),o=document.body.style.overflow,document.body.style.overflow="hidden",v.value=!0,t("show"))}function W(){null==E||E(),document.body.style.overflow=o,v.value=!1,t("close")}function K(e){t("switch",e)}return g((()=>n.src),(()=>{A.value?(f.value=!0,c.value=!1,z(),N()):R()})),y((()=>{A.value?N():R()})),(e,t)=>(T(),B("div",q({ref_key:"container",ref:h},p(i),{class:[p(a).b(),e.$attrs.class]}),[c.value?H(e.$slots,"error",{key:0},(()=>[M("div",{class:G(p(a).e("error"))},ae(p(l)("el.image.error")),3)])):(T(),B(J,{key:1},[void 0!==u.value?(T(),B("img",q({key:0},p(s),{src:u.value,loading:e.loading,style:p(O),class:p(I),crossorigin:e.crossorigin,onClick:j,onLoad:$,onError:F}),null,16,["src","loading","crossorigin"])):re("v-if",!0),f.value?(T(),B("div",{key:1,class:G(p(a).e("wrapper"))},[H(e.$slots,"placeholder",{},(()=>[M("div",{class:G(p(a).e("placeholder"))},null,2)]))],2)):re("v-if",!0)],64)),p(L)?(T(),B(J,{key:2},[v.value?(T(),te(p(Cp),{key:0,"z-index":e.zIndex,"initial-index":p(_),infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"url-list":e.previewSrcList,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:W,onSwitch:K},{default:ee((()=>[e.$slots.viewer?(T(),B("div",{key:0},[H(e.$slots,"viewer")])):re("v-if",!0)])),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):re("v-if",!0)],64)):re("v-if",!0)],16))}})),[["__file","image.vue"]])),Tp=Yn(s({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:Er,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>null===e||Qt(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0}},Ar(["ariaLabel"]))),Bp={[ao]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[ro]:e=>Qt(e)||je(e),[lo]:e=>Qt(e)||je(e)},Mp=O({name:"ElInputNumber"});const Lp=eo(Hr(O(u(s({},Mp),{props:Tp,emits:Bp,setup(e,{expose:t,emit:n}){const o=e,{t:l}=xo(),a=Io("input-number"),r=m(),i=U({currentValue:o.modelValue,userInput:null}),{formItem:s}=Zr(),u=C((()=>Qt(o.modelValue)&&o.modelValue<=o.min)),c=C((()=>Qt(o.modelValue)&&o.modelValue>=o.max)),d=C((()=>{const e=x(o.step);return Zt(o.precision)?Math.max(x(o.modelValue),e):(o.precision,o.precision)})),f=C((()=>o.controls&&"right"===o.controlsPosition)),v=Gr(),h=Xr(),b=C((()=>{if(null!==i.userInput)return i.userInput;let e=i.currentValue;if(je(e))return"";if(Qt(e)){if(Number.isNaN(e))return"";Zt(o.precision)||(e=e.toFixed(o.precision))}return e})),w=(e,t)=>{if(Zt(t)&&(t=d.value),0===t)return Math.round(e);let n=String(e);const o=n.indexOf(".");if(-1===o)return e;if(!n.replace(".","").split("")[o+t])return e;const l=n.length;return"5"===n.charAt(l-1)&&(n=`${n.slice(0,Math.max(0,l-1))}6`),Number.parseFloat(Number(n).toFixed(t))},x=e=>{if(je(e))return 0;const t=e.toString(),n=t.indexOf(".");let o=0;return-1!==n&&(o=t.length-n-1),o},k=(e,t=1)=>Qt(e)?w(e+o.step*t):i.currentValue,E=()=>{if(o.readonly||h.value||c.value)return;const e=Number(b.value)||0,t=k(e);M(t),n(ro,i.currentValue),$()},I=()=>{if(o.readonly||h.value||u.value)return;const e=Number(b.value)||0,t=k(e,-1);M(t),n(ro,i.currentValue),$()},O=(e,t)=>{const{max:l,min:a,step:r,precision:i,stepStrictly:s,valueOnClear:u}=o;ll||cl?l:a,t&&n(lo,c)),c},M=(e,t=!0)=>{var l;const a=i.currentValue,r=O(e);t?a===r&&e||(i.userInput=null,n(lo,r),a!==r&&n(ao,r,a),o.validateEvent&&(null==(l=null==s?void 0:s.validate)||l.call(s,"change").catch((e=>{}))),i.currentValue=r):n(lo,r)},L=e=>{i.userInput=e;const t=""===e?null:Number(e);n(ro,t),M(t,!1)},_=e=>{const t=""!==e?Number(e):"";(Qt(t)&&!Number.isNaN(t)||""===e)&&M(t),$(),i.userInput=null},A=e=>{n("focus",e)},R=e=>{var t;i.userInput=null,n("blur",e),o.validateEvent&&(null==(t=null==s?void 0:s.validate)||t.call(s,"blur").catch((e=>{})))},$=()=>{i.currentValue!==o.modelValue&&(i.currentValue=o.modelValue)},F=e=>{document.activeElement===e.target&&e.preventDefault()};return g((()=>o.modelValue),((e,t)=>{const n=O(e,!0);null===i.userInput&&n!==t&&(i.currentValue=n)}),{immediate:!0}),y((()=>{var e;const{min:t,max:l,modelValue:a}=o,s=null==(e=r.value)?void 0:e.input;if(s.setAttribute("role","spinbutton"),Number.isFinite(l)?s.setAttribute("aria-valuemax",String(l)):s.removeAttribute("aria-valuemax"),Number.isFinite(t)?s.setAttribute("aria-valuemin",String(t)):s.removeAttribute("aria-valuemin"),s.setAttribute("aria-valuenow",i.currentValue||0===i.currentValue?String(i.currentValue):""),s.setAttribute("aria-disabled",String(h.value)),!Qt(a)&&null!=a){let e=Number(a);Number.isNaN(e)&&(e=null),n(lo,e)}s.addEventListener("wheel",F,{passive:!1})})),X((()=>{var e,t;const n=null==(e=r.value)?void 0:e.input;null==n||n.setAttribute("aria-valuenow",`${null!=(t=i.currentValue)?t:""}`)})),t({focus:()=>{var e,t;null==(t=null==(e=r.value)?void 0:e.focus)||t.call(e)},blur:()=>{var e,t;null==(t=null==(e=r.value)?void 0:e.blur)||t.call(e)}}),(e,t)=>(T(),B("div",{class:G([p(a).b(),p(a).m(p(v)),p(a).is("disabled",p(h)),p(a).is("without-controls",!e.controls),p(a).is("controls-right",p(f))]),onDragstart:ue((()=>{}),["prevent"])},[e.controls?ce((T(),B("span",{key:0,role:"button","aria-label":p(l)("el.inputNumber.decrease"),class:G([p(a).e("decrease"),p(a).is("disabled",p(u))]),onKeydown:Le(I,["enter"])},[H(e.$slots,"decrease-icon",{},(()=>[Z(p(Kr),null,{default:ee((()=>[p(f)?(T(),te(p(gn),{key:0})):(T(),te(p(An),{key:1}))])),_:1})]))],42,["aria-label","onKeydown"])),[[p(Uu),I]]):re("v-if",!0),e.controls?ce((T(),B("span",{key:1,role:"button","aria-label":p(l)("el.inputNumber.increase"),class:G([p(a).e("increase"),p(a).is("disabled",p(c))]),onKeydown:Le(E,["enter"])},[H(e.$slots,"increase-icon",{},(()=>[Z(p(Kr),null,{default:ee((()=>[p(f)?(T(),te(p(yn),{key:0})):(T(),te(p($n),{key:1}))])),_:1})]))],42,["aria-label","onKeydown"])),[[p(Uu),E]]):re("v-if",!0),Z(p(Ki),{id:e.id,ref_key:"input",ref:r,type:"number",step:e.step,"model-value":p(b),placeholder:e.placeholder,readonly:e.readonly,disabled:p(h),size:p(v),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,onKeydown:[Le(ue(E,["prevent"]),["up"]),Le(ue(I,["prevent"]),["down"])],onBlur:R,onFocus:A,onInput:L,onChange:_},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],42,["onDragstart"]))}})),[["__file","input-number.vue"]]));let _p=class{constructor(e,t){this.parent=e,this.domNode=t,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,(t=>{t.addEventListener("keydown",(t=>{let n=!1;switch(t.code){case oo.down:this.gotoSubIndex(this.subIndex+1),n=!0;break;case oo.up:this.gotoSubIndex(this.subIndex-1),n=!0;break;case oo.tab:at(e,"mouseleave");break;case oo.enter:case oo.space:n=!0,t.currentTarget.click()}return n&&(t.preventDefault(),t.stopPropagation()),!1}))}))}},Ap=class{constructor(e,t){this.domNode=e,this.submenu=null,this.submenu=null,this.init(t)}init(e){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(`.${e}-menu`);t&&(this.submenu=new _p(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",(e=>{let t=!1;switch(e.code){case oo.down:at(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),t=!0;break;case oo.up:at(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),t=!0;break;case oo.tab:at(e.currentTarget,"mouseleave");break;case oo.enter:case oo.space:t=!0,e.currentTarget.click()}t&&e.preventDefault()}))}},Rp=class{constructor(e,t){this.domNode=e,this.init(t)}init(e){const t=this.domNode.childNodes;Array.from(t).forEach((t=>{1===t.nodeType&&new Ap(t,e)}))}};var $p=Hr(O({name:"ElMenuCollapseTransition",setup(){const e=Io("menu");return{listeners:{onBeforeEnter:e=>e.style.opacity="0.2",onEnter(t,n){cn(t,`${e.namespace.value}-opacity-transition`),t.style.opacity="1",n()},onAfterEnter(t){dn(t,`${e.namespace.value}-opacity-transition`),t.style.opacity=""},onBeforeLeave(t){t.dataset||(t.dataset={}),un(t,e.m("collapse"))?(dn(t,e.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),cn(t,e.m("collapse"))):(cn(t,e.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),dn(t,e.m("collapse"))),t.style.width=`${t.scrollWidth}px`,t.style.overflow="hidden"},onLeave(e){cn(e,"horizontal-collapse-transition"),e.style.width=`${e.dataset.scrollWidth}px`}}}}}),[["render",function(e,t,n,o,l,a){return T(),te(pe,q({mode:"out-in"},e.listeners),{default:ee((()=>[H(e.$slots,"default")])),_:3},16)}],["__file","menu-collapse-transition.vue"]]);function Fp(e,t){const n=C((()=>{let n=e.parent;const o=[t.value];for(;"ElMenu"!==n.type.name;)n.props.index&&o.unshift(n.props.index),n=n.parent;return o}));return{parentMenu:C((()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t})),indexPath:n}}function Vp(e){return C((()=>{const t=e.backgroundColor;return t?new Au(t).shade(20).toString():""}))}const Pp=(e,t)=>{const n=Io("menu");return C((()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Vp(e).value||"","active-color":e.activeTextColor||"",level:`${t}`})))},Np=Yn({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:Gn},expandOpenIcon:{type:Gn},collapseCloseIcon:{type:Gn},collapseOpenIcon:{type:Gn}}),zp="ElSubMenu";var Dp=O({name:zp,props:Np,setup(e,{slots:t,expose:n}){const o=b(),{indexPath:l,parentMenu:a}=Fp(o,C((()=>e.index))),r=Io("menu"),i=Io("sub-menu"),s=N("rootMenu");s||rn(zp,"can not inject root menu");const u=N(`subMenu:${a.value.uid}`);u||rn(zp,"can not inject sub menu");const c=m({}),d=m({});let p;const f=m(!1),v=m(),h=m(null),w=C((()=>"horizontal"===M.value&&k.value?"bottom-start":"right-start")),x=C((()=>"horizontal"===M.value&&k.value||"vertical"===M.value&&!s.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?T.value?e.expandOpenIcon:e.expandCloseIcon:gn:e.collapseCloseIcon&&e.collapseOpenIcon?T.value?e.collapseOpenIcon:e.collapseCloseIcon:bn)),k=C((()=>0===u.level)),E=C((()=>{const t=e.teleported;return void 0===t?k.value:t})),I=C((()=>s.props.collapse?`${r.namespace.value}-zoom-in-left`:`${r.namespace.value}-zoom-in-top`)),O=C((()=>"horizontal"===M.value&&k.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"])),T=C((()=>s.openedMenus.includes(e.index))),B=C((()=>{let e=!1;return Object.values(c.value).forEach((t=>{t.active&&(e=!0)})),Object.values(d.value).forEach((t=>{t.active&&(e=!0)})),e})),M=C((()=>s.props.mode)),L=U({index:e.index,indexPath:l,active:B}),_=Pp(s.props,u.level+1),A=C((()=>{var t;return null!=(t=e.popperOffset)?t:s.props.popperOffset})),R=C((()=>{var t;return null!=(t=e.popperClass)?t:s.props.popperClass})),$=C((()=>{var t;return null!=(t=e.showTimeout)?t:s.props.showTimeout})),F=C((()=>{var t;return null!=(t=e.hideTimeout)?t:s.props.hideTimeout})),V=e=>{var t,n,o;e||null==(o=null==(n=null==(t=h.value)?void 0:t.popperRef)?void 0:n.popperInstanceRef)||o.destroy()},z=()=>{"hover"===s.props.menuTrigger&&"horizontal"===s.props.mode||s.props.collapse&&"vertical"===s.props.mode||e.disabled||s.handleSubMenuClick({index:e.index,indexPath:l.value,active:B.value})},D=(t,n=$.value)=>{var o;"focus"!==t.type&&("click"===s.props.menuTrigger&&"horizontal"===s.props.mode||!s.props.collapse&&"vertical"===s.props.mode||e.disabled?u.mouseInChild.value=!0:(u.mouseInChild.value=!0,null==p||p(),({stop:p}=It((()=>{s.openMenu(e.index,l.value)}),n)),E.value&&(null==(o=a.value.vnode.el)||o.dispatchEvent(new MouseEvent("mouseenter")))))},H=(t=!1)=>{var n;"click"===s.props.menuTrigger&&"horizontal"===s.props.mode||!s.props.collapse&&"vertical"===s.props.mode?u.mouseInChild.value=!1:(null==p||p(),u.mouseInChild.value=!1,({stop:p}=It((()=>!f.value&&s.closeMenu(e.index,l.value)),F.value)),E.value&&t&&(null==(n=u.handleMouseleave)||n.call(u,!0)))};g((()=>s.props.collapse),(e=>V(Boolean(e))));{const e=e=>{d.value[e.index]=e},t=e=>{delete d.value[e.index]};j(`subMenu:${o.uid}`,{addSubMenu:e,removeSubMenu:t,handleMouseleave:H,mouseInChild:f,level:u.level+1})}return n({opened:T}),y((()=>{s.addSubMenu(L),u.addSubMenu(L)})),P((()=>{u.removeSubMenu(L),s.removeSubMenu(L)})),()=>{var n;const l=[null==(n=t.title)?void 0:n.call(t),Se(Kr,{class:i.e("icon-arrow"),style:{transform:T.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&s.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>S(x.value)?Se(o.appContext.components[x.value]):Se(x.value)})],a=s.isMenuPopup?Se(su,{ref:h,visible:T.value,effect:"light",pure:!0,offset:A.value,showArrow:!1,persistent:!0,popperClass:R.value,placement:w.value,teleported:E.value,fallbackPlacements:O.value,transition:I.value,gpuAcceleration:!1},{content:()=>{var e;return Se("div",{class:[r.m(M.value),r.m("popup-container"),R.value],onMouseenter:e=>D(e,100),onMouseleave:()=>H(!0),onFocus:e=>D(e,100)},[Se("ul",{class:[r.b(),r.m("popup"),r.m(`popup-${w.value}`)],style:_.value},[null==(e=t.default)?void 0:e.call(t)])])},default:()=>Se("div",{class:i.e("title"),onClick:z},l)}):Se(J,{},[Se("div",{class:i.e("title"),ref:v,onClick:z},l),Se(od,{},{default:()=>{var e;return ce(Se("ul",{role:"menu",class:[r.b(),r.m("inline")],style:_.value},[null==(e=t.default)?void 0:e.call(t)]),[[de,T.value]])}})]);return Se("li",{class:[i.b(),i.is("active",B.value),i.is("opened",T.value),i.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:T.value,onMouseenter:D,onMouseleave:()=>H(),onFocus:D},[a])}}});const jp=Yn({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:Array,default:()=>[]},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:Gn,default:()=>Rn},popperEffect:{type:String,default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),Hp=e=>Array.isArray(e)&&e.every((e=>S(e)));var qp=O({name:"ElMenu",props:jp,emits:{close:(e,t)=>S(e)&&Hp(t),open:(e,t)=>S(e)&&Hp(t),select:(e,t,n,o)=>S(e)&&Hp(t)&&L(n)&&(void 0===o||o instanceof Promise)},setup(e,{emit:t,slots:n,expose:o}){const l=b(),a=l.appContext.config.globalProperties.$router,r=m(),i=Io("menu"),s=Io("sub-menu"),u=m(-1),c=m(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),d=m(e.defaultActive),p=m({}),f=m({}),v=C((()=>"horizontal"===e.mode||"vertical"===e.mode&&e.collapse)),h=(n,o)=>{c.value.includes(n)||(e.uniqueOpened&&(c.value=c.value.filter((e=>o.includes(e)))),c.value.push(n),t("open",n,o))},x=e=>{const t=c.value.indexOf(e);-1!==t&&c.value.splice(t,1)},S=(e,n)=>{x(e),t("close",e,n)},E=({index:e,indexPath:t})=>{c.value.includes(e)?S(e,t):h(e,t)},I=n=>{("horizontal"===e.mode||e.collapse)&&(c.value=[]);const{index:o,indexPath:l}=n;if(!je(o)&&!je(l))if(e.router&&a){const e=n.route||o,r=a.push(e).then((e=>(e||(d.value=o),e)));t("select",o,l,{index:o,indexPath:l,route:e},r)}else d.value=o,t("select",o,l,{index:o,indexPath:l})},O=()=>{var e,t;if(!r.value)return-1;const n=Array.from(null!=(t=null==(e=r.value)?void 0:e.childNodes)?t:[]).filter((e=>"#comment"!==e.nodeName&&("#text"!==e.nodeName||e.nodeValue))),o=getComputedStyle(r.value),l=Number.parseInt(o.paddingLeft,10),a=Number.parseInt(o.paddingRight,10),i=r.value.clientWidth-l-a;let s=0,u=0;return n.forEach(((e,t)=>{s+=(e=>{const t=getComputedStyle(e),n=Number.parseInt(t.marginLeft,10),o=Number.parseInt(t.marginRight,10);return e.offsetWidth+n+o||0})(e),s<=i-64&&(u=t+1)})),u===n.length?-1:u};let T=!0;const B=()=>{if(u.value===O())return;const e=()=>{u.value=-1,w((()=>{u.value=O()}))};T?e():((e,t=33.34)=>{let n;return()=>{n&&clearTimeout(n),n=setTimeout((()=>{e()}),t)}})(e)(),T=!1};let M;g((()=>e.defaultActive),(t=>{p.value[t]||(d.value=""),(t=>{const n=p.value,o=n[t]||d.value&&n[d.value]||n[e.defaultActive];d.value=o?o.index:t})(t)})),g((()=>e.collapse),(e=>{e&&(c.value=[])})),g(p.value,(()=>{const t=d.value&&p.value[d.value];if(!t||"horizontal"===e.mode||e.collapse)return;t.indexPath.forEach((e=>{const t=f.value[e];t&&h(e,t.indexPath)}))})),k((()=>{"horizontal"===e.mode&&e.ellipsis?M=Pt(r,B).stop:null==M||M()}));const L=m(!1);{const t=e=>{f.value[e.index]=e},n=e=>{delete f.value[e.index]},o=e=>{p.value[e.index]=e},a=e=>{delete p.value[e.index]};j("rootMenu",U({props:e,openedMenus:c,items:p,subMenus:f,activeIndex:d,isMenuPopup:v,addMenuItem:o,removeMenuItem:a,addSubMenu:t,removeSubMenu:n,openMenu:h,closeMenu:S,handleMenuItemClick:I,handleSubMenuClick:E})),j(`subMenu:${l.uid}`,{addSubMenu:t,removeSubMenu:n,mouseInChild:L,level:0})}y((()=>{"horizontal"===e.mode&&new Rp(l.vnode.el,i.namespace.value)}));o({open:e=>{const{indexPath:t}=f.value[e];t.forEach((e=>h(e,t)))},close:x,handleResize:B});return()=>{var o,l;let a=null!=(l=null==(o=n.default)?void 0:o.call(n))?l:[];const d=[];if("horizontal"===e.mode&&r.value){const t=co(a),n=-1===u.value?t:t.slice(0,u.value),o=-1===u.value?[]:t.slice(u.value);(null==o?void 0:o.length)&&e.ellipsis&&(a=n,d.push(Se(Dp,{index:"sub-menu-more",class:s.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>Se(Kr,{class:s.e("icon-more")},{default:()=>Se(e.ellipsisIcon)}),default:()=>o})))}const p=Pp(e,0),v=e.closeOnClickOutside?[[qu,()=>{c.value.length&&(L.value||(c.value.forEach((e=>{return t("close",e,(n=e,f.value[n].indexPath));var n})),c.value=[]))}]]:[],m=ce(Se("ul",{key:String(e.collapse),role:"menubar",ref:r,style:p.value,class:{[i.b()]:!0,[i.m(e.mode)]:!0,[i.m("collapse")]:e.collapse}},[...a,...d]),v);return e.collapseTransition&&"vertical"===e.mode?Se($p,(()=>m)):m}}});const Wp=Yn({index:{type:[String,null],default:null},route:{type:[String,Object]},disabled:Boolean}),Kp="ElMenuItem";var Up=Hr(O({name:Kp,components:{ElTooltip:su},props:Wp,emits:{click:e=>S(e.index)&&Array.isArray(e.indexPath)},setup(e,{emit:t}){const n=b(),o=N("rootMenu"),l=Io("menu"),a=Io("menu-item");o||rn(Kp,"can not inject root menu");const{parentMenu:r,indexPath:i}=Fp(n,W(e,"index")),s=N(`subMenu:${r.value.uid}`);s||rn(Kp,"can not inject sub menu");const u=C((()=>e.index===o.activeIndex)),c=U({index:e.index,indexPath:i,active:u});return y((()=>{s.addSubMenu(c),o.addMenuItem(c)})),P((()=>{s.removeSubMenu(c),o.removeMenuItem(c)})),{parentMenu:r,rootMenu:o,active:u,nsMenu:l,nsMenuItem:a,handleClick:()=>{e.disabled||(o.handleMenuItemClick({index:e.index,indexPath:i.value,route:e.route}),t("click",c))}}}}),[["render",function(e,t,n,o,l,a){const r=Ie("el-tooltip");return T(),B("li",{class:G([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:e.handleClick},["ElMenu"===e.parentMenu.type.name&&e.rootMenu.props.collapse&&e.$slots.title?(T(),te(r,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:ee((()=>[H(e.$slots,"title")])),default:ee((()=>[M("div",{class:G(e.nsMenu.be("tooltip","trigger"))},[H(e.$slots,"default")],2)])),_:3},8,["effect"])):(T(),B(J,{key:1},[H(e.$slots,"default"),H(e.$slots,"title")],64))],10,["onClick"])}],["__file","menu-item.vue"]]);var Yp=Hr(O({name:"ElMenuItemGroup",props:{title:String},setup:()=>({ns:Io("menu-item-group")})}),[["render",function(e,t,n,o,l,a){return T(),B("li",{class:G(e.ns.b())},[M("div",{class:G(e.ns.e("title"))},[e.$slots.title?H(e.$slots,"title",{key:1}):(T(),B(J,{key:0},[le(ae(e.title),1)],64))],2),M("ul",null,[H(e.$slots,"default")])],2)}],["__file","menu-item-group.vue"]]);const Gp=eo(qp,{MenuItem:Up,MenuItemGroup:Yp,SubMenu:Dp}),Xp=to(Up);to(Yp),to(Dp);const Zp=Symbol("ElSelectGroup"),Jp=Symbol("ElSelect");var Qp=Hr(O({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(e){const t=Io("select"),n=oa(),o=C((()=>[t.be("dropdown","item"),t.is("disabled",p(i)),t.is("selected",p(r)),t.is("hovering",p(f))])),l=U({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:a,itemSelected:r,isDisabled:i,select:s,hoverItem:u,updateOption:c}=function(e,t){const n=N(Jp),o=N(Zp,{disabled:!1}),l=C((()=>c(Ue(n.props.modelValue),e.value))),a=C((()=>{var e;if(n.props.multiple){const t=Ue(null!=(e=n.props.modelValue)?e:[]);return!l.value&&t.length>=n.props.multipleLimit&&n.props.multipleLimit>0}return!1})),r=C((()=>e.label||(L(e.value)?"":e.value))),i=C((()=>e.value||e.label||"")),s=C((()=>e.disabled||t.groupDisabled||a.value)),u=b(),c=(t=[],o)=>{if(L(e.value)){const e=n.props.valueKey;return t&&t.some((t=>we(He(t,e))===He(o,e)))}return t&&t.includes(o)};return g((()=>r.value),(()=>{e.created||n.props.remote||n.setSelected()})),g((()=>e.value),((t,o)=>{const{remote:l,valueKey:a}=n.props;if(t!==o&&(n.onOptionDestroy(o,u.proxy),n.onOptionCreate(u.proxy)),!e.created&&!l){if(a&&L(t)&&L(o)&&t[a]===o[a])return;n.setSelected()}})),g((()=>o.disabled),(()=>{t.groupDisabled=o.disabled}),{immediate:!0}),{select:n,currentLabel:r,currentValue:i,itemSelected:l,isDisabled:s,hoverItem:()=>{e.disabled||o.disabled||(n.states.hoveringIndex=n.optionsArray.indexOf(u.proxy))},updateOption:n=>{const o=new RegExp(((e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"))(n),"i");t.visible=o.test(r.value)||e.created}}}(e,l),{visible:d,hover:f}=Y(l),v=b().proxy;return s.onOptionCreate(v),P((()=>{const e=v.value,{selected:t}=s.states,n=(s.props.multiple?t:[t]).some((e=>e.value===v.value));w((()=>{s.states.cachedOptions.get(e)!==v||n||s.states.cachedOptions.delete(e)})),s.onOptionDestroy(e,v)})),{ns:t,id:n,containerKls:o,currentLabel:a,itemSelected:r,isDisabled:i,select:s,hoverItem:u,updateOption:c,visible:d,hover:f,selectOptionClick:function(){i.value||s.handleOptionSelect(v)},states:l}}}),[["render",function(e,t,n,o,l,a){return ce((T(),B("li",{id:e.id,class:G(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMouseenter:e.hoverItem,onClick:ue(e.selectOptionClick,["stop"])},[H(e.$slots,"default",{},(()=>[M("span",null,ae(e.currentLabel),1)]))],42,["id","aria-disabled","aria-selected","onMouseenter","onClick"])),[[de,e.visible]])}],["__file","option.vue"]]);var ef=Hr(O({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=N(Jp),t=Io("select"),n=C((()=>e.props.popperClass)),o=C((()=>e.props.multiple)),l=C((()=>e.props.fitInputWidth)),a=m("");function r(){var t;a.value=`${null==(t=e.selectRef)?void 0:t.offsetWidth}px`}return y((()=>{r(),Pt(e.selectRef,r)})),{ns:t,minWidth:a,popperClass:n,isMultiple:o,isFitInputWidth:l}}}),[["render",function(e,t,n,o,l,a){return T(),B("div",{class:G([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:oe({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(T(),B("div",{key:0,class:G(e.ns.be("dropdown","header"))},[H(e.$slots,"header")],2)):re("v-if",!0),H(e.$slots,"default"),e.$slots.footer?(T(),B("div",{key:1,class:G(e.ns.be("dropdown","footer"))},[H(e.$slots,"footer")],2)):re("v-if",!0)],6)}],["__file","select-dropdown.vue"]]);const tf=(e,t)=>{const{t:n}=xo(),o=oa(),l=Io("select"),a=Io("input"),r=U({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:[],selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),i=m(null),s=m(null),u=m(null),c=m(null),d=m(null),p=m(null),f=m(null),v=m(null),h=m(null),x=m(null),S=m(null),E=m(null),{isComposing:I,handleCompositionStart:O,handleCompositionUpdate:T,handleCompositionEnd:B}=Tr({afterComposition:e=>ye(e)}),{wrapperRef:M,isFocused:_}=Or(d,{beforeFocus:()=>H.value,afterFocus(){e.automaticDropdown&&!A.value&&(A.value=!0,r.menuVisibleOnFocus=!0)},beforeBlur(e){var t,n;return(null==(t=u.value)?void 0:t.isFocusInsideContent(e))||(null==(n=c.value)?void 0:n.isFocusInsideContent(e))},afterBlur(){A.value=!1,r.menuVisibleOnFocus=!1}}),A=m(!1),R=m(),{form:V,formItem:P}=Zr(),{inputId:z}=Jr(e,{formItemContext:P}),{valueOnClear:D,isEmptyValue:j}=(e=>{const t=b()?N(Br,m({})):m({}),n=C((()=>e.emptyValues||t.value.emptyValues||Mr)),o=C((()=>$(e.valueOnClear)?e.valueOnClear():void 0!==e.valueOnClear?e.valueOnClear:$(t.value.valueOnClear)?t.value.valueOnClear():void 0!==t.value.valueOnClear?t.value.valueOnClear:void 0));return n.value.includes(o.value),{emptyValues:n,valueOnClear:o,isEmptyValue:e=>n.value.includes(e)}})(e),H=C((()=>e.disabled||(null==V?void 0:V.disabled))),q=C((()=>F(e.modelValue)?e.modelValue.length>0:!j(e.modelValue))),W=C((()=>e.clearable&&!H.value&&r.inputHovering&&q.value)),K=C((()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon)),Y=C((()=>l.is("reverse",K.value&&A.value))),G=C((()=>(null==P?void 0:P.validateState)||"")),X=C((()=>Qn[G.value])),Z=C((()=>e.remote?300:0)),J=C((()=>e.loading?e.loadingText||n("el.select.loading"):!(e.remote&&!r.inputValue&&0===r.options.size)&&(e.filterable&&r.inputValue&&r.options.size>0&&0===Q.value?e.noMatchText||n("el.select.noMatch"):0===r.options.size?e.noDataText||n("el.select.noData"):null))),Q=C((()=>ee.value.filter((e=>e.visible)).length)),ee=C((()=>{const e=Array.from(r.options.values()),t=[];return r.optionValues.forEach((n=>{const o=e.findIndex((e=>e.value===n));o>-1&&t.push(e[o])})),t.length>=e.length?t:e})),te=C((()=>Array.from(r.cachedOptions.values()))),ne=C((()=>{const t=ee.value.filter((e=>!e.created)).some((e=>e.currentLabel===r.inputValue));return e.filterable&&e.allowCreate&&""!==r.inputValue&&!t})),oe=()=>{e.filterable&&$(e.filterMethod)||e.filterable&&e.remote&&$(e.remoteMethod)||ee.value.forEach((e=>{var t;null==(t=e.updateOption)||t.call(e,r.inputValue)}))},le=Gr(),ae=C((()=>["small"].includes(le.value)?"small":"default")),re=C({get:()=>A.value&&!1!==J.value,set(e){A.value=e}}),ie=C((()=>{if(e.multiple&&!Zt(e.modelValue))return 0===Ue(e.modelValue).length&&!r.inputValue;const t=F(e.modelValue)?e.modelValue[0]:e.modelValue;return!e.filterable&&!Zt(t)||!r.inputValue})),se=C((()=>{var t;const o=null!=(t=e.placeholder)?t:n("el.select.placeholder");return e.multiple||!q.value?o:r.selectedLabel})),ue=C((()=>wt?null:"mouseenter"));g((()=>e.modelValue),((t,n)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(r.inputValue="",ce("")),pe(),!Ze(t,n)&&e.validateEvent&&(null==P||P.validate("change").catch((e=>{})))}),{flush:"post",deep:!0}),g((()=>A.value),(e=>{e?ce(r.inputValue):(r.inputValue="",r.previousQuery=null,r.isBeforeHide=!0),t("visible-change",e)})),g((()=>r.options.entries()),(()=>{var t;if(!ht)return;const n=(null==(t=i.value)?void 0:t.querySelectorAll("input"))||[];(e.filterable||e.defaultFirstOption||Zt(e.modelValue))&&Array.from(n).includes(document.activeElement)||pe(),e.defaultFirstOption&&(e.filterable||e.remote)&&Q.value&&de()}),{flush:"post"}),g((()=>r.hoveringIndex),(e=>{Qt(e)&&e>-1?R.value=ee.value[e]||{}:R.value={},ee.value.forEach((e=>{e.hover=R.value===e}))})),k((()=>{r.isBeforeHide||oe()}));const ce=t=>{r.previousQuery===t||I.value||(r.previousQuery=t,e.filterable&&$(e.filterMethod)?e.filterMethod(t):e.filterable&&e.remote&&$(e.remoteMethod)&&e.remoteMethod(t),e.defaultFirstOption&&(e.filterable||e.remote)&&Q.value?w(de):w(ve))},de=()=>{const e=ee.value.filter((e=>e.visible&&!e.disabled&&!e.states.groupDisabled)),t=e.find((e=>e.created)),n=e[0];r.hoveringIndex=Ee(ee.value,t||n)},pe=()=>{if(!e.multiple){const t=F(e.modelValue)?e.modelValue[0]:e.modelValue,n=fe(t);return r.selectedLabel=n.currentLabel,void(r.selected=[n])}r.selectedLabel="";const t=[];Zt(e.modelValue)||Ue(e.modelValue).forEach((e=>{t.push(fe(e))})),r.selected=t},fe=t=>{let n;const o="object"===_e(t).toLowerCase(),l="null"===_e(t).toLowerCase(),a="undefined"===_e(t).toLowerCase();for(let i=r.cachedOptions.size-1;i>=0;i--){const l=te.value[i];if(o?He(l.value,e.valueKey)===He(t,e.valueKey):l.value===t){n={value:t,currentLabel:l.currentLabel,get isDisabled(){return l.isDisabled}};break}}if(n)return n;return{value:t,currentLabel:o?t.label:l||a?"":t}},ve=()=>{r.hoveringIndex=ee.value.findIndex((e=>r.selected.some((t=>Le(t)===Le(e)))))},me=()=>{r.calculatorWidth=p.value.getBoundingClientRect().width},ge=()=>{var e,t;null==(t=null==(e=u.value)?void 0:e.updatePopper)||t.call(e)},he=()=>{var e,t;null==(t=null==(e=c.value)?void 0:e.updatePopper)||t.call(e)},be=()=>{r.inputValue.length>0&&!A.value&&(A.value=!0),ce(r.inputValue)},ye=t=>{if(r.inputValue=t.target.value,!e.remote)return be();xe()},xe=Je((()=>{be()}),Z.value),ke=n=>{Ze(e.modelValue,n)||t(ao,n)},Ce=n=>{n.stopPropagation();const o=e.multiple?[]:D.value;if(e.multiple)for(const e of r.selected)e.isDisabled&&o.push(e.value);t(lo,o),ke(o),r.hoveringIndex=-1,A.value=!1,t("clear"),Te()},Se=n=>{var o;if(e.multiple){const l=Ue(null!=(o=e.modelValue)?o:[]).slice(),a=Ee(l,n.value);a>-1?l.splice(a,1):(e.multipleLimit<=0||l.length{Ie(n)}))},Ee=(t=[],n)=>{if(!L(n))return t.indexOf(n);const o=e.valueKey;let l=-1;return t.some(((e,t)=>we(He(e,o))===He(n,o)&&(l=t,!0))),l},Ie=e=>{var t,n,o,a,r;const i=F(e)?e[0]:e;let s=null;if(null==i?void 0:i.value){const e=ee.value.filter((e=>e.value===i.value));e.length>0&&(s=e[0].$el)}if(u.value&&s){const e=null==(a=null==(o=null==(n=null==(t=u.value)?void 0:t.popperRef)?void 0:n.contentRef)?void 0:o.querySelector)?void 0:a.call(o,`.${l.be("dropdown","wrap")}`);e&&function(e,t){if(!ht)return;if(!t)return void(e.scrollTop=0);const n=[];let o=t.offsetParent;for(;null!==o&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const l=t.offsetTop+n.reduce(((e,t)=>e+t.offsetTop),0),a=l+t.offsetHeight,r=e.scrollTop,i=r+e.clientHeight;li&&(e.scrollTop=a-e.clientHeight)}(e,s)}null==(r=E.value)||r.handleScroll()},Oe=C((()=>{var e,t;return null==(t=null==(e=u.value)?void 0:e.popperRef)?void 0:t.contentRef})),Te=()=>{var e;null==(e=d.value)||e.focus()},Be=()=>{var e;null==(e=d.value)||e.blur()},Me=()=>{H.value||(wt&&(r.inputHovering=!0),r.menuVisibleOnFocus?r.menuVisibleOnFocus=!1:A.value=!A.value)},Le=t=>L(t.value)?He(t.value,e.valueKey):t.value,Ae=C((()=>ee.value.filter((e=>e.visible)).every((e=>e.disabled)))),Re=C((()=>e.multiple?e.collapseTags?r.selected.slice(0,e.maxCollapseTags):r.selected:[])),$e=C((()=>e.multiple&&e.collapseTags?r.selected.slice(e.maxCollapseTags):[])),Fe=e=>{if(A.value){if(0!==r.options.size&&0!==r.filteredOptionsCount&&!I.value&&!Ae.value){"next"===e?(r.hoveringIndex++,r.hoveringIndex===r.options.size&&(r.hoveringIndex=0)):"prev"===e&&(r.hoveringIndex--,r.hoveringIndex<0&&(r.hoveringIndex=r.options.size-1));const t=ee.value[r.hoveringIndex];!0!==t.disabled&&!0!==t.states.groupDisabled&&t.visible||Fe(e),w((()=>Ie(R.value)))}}else A.value=!0},Ve=C((()=>{const t=(()=>{if(!s.value)return 0;const e=window.getComputedStyle(s.value);return Number.parseFloat(e.gap||"6px")})();return{maxWidth:`${S.value&&1===e.maxCollapseTags?r.selectionWidth-r.collapseItemWidth-t:r.selectionWidth}px`}})),Pe=C((()=>({maxWidth:`${r.selectionWidth}px`}))),Ne=C((()=>({width:`${Math.max(r.calculatorWidth,11)}px`})));return Pt(s,(()=>{r.selectionWidth=s.value.getBoundingClientRect().width})),Pt(p,me),Pt(h,ge),Pt(M,ge),Pt(x,he),Pt(S,(()=>{r.collapseItemWidth=S.value.getBoundingClientRect().width})),y((()=>{pe()})),{inputId:z,contentId:o,nsSelect:l,nsInput:a,states:r,isFocused:_,expanded:A,optionsArray:ee,hoverOption:R,selectSize:le,filteredOptionsCount:Q,resetCalculatorWidth:me,updateTooltip:ge,updateTagTooltip:he,debouncedOnInputChange:xe,onInput:ye,deletePrevTag:n=>{if(e.multiple&&n.code!==oo.delete&&n.target.value.length<=0){const n=Ue(e.modelValue).slice(),o=(e=>Qe(e,(e=>!r.disabledOptions.has(e))))(n);if(o<0)return;const l=n[o];n.splice(o,1),t(lo,n),ke(n),t("remove-tag",l)}},deleteTag:(n,o)=>{const l=r.selected.indexOf(o);if(l>-1&&!H.value){const n=Ue(e.modelValue).slice();n.splice(l,1),t(lo,n),ke(n),t("remove-tag",o.value)}n.stopPropagation(),Te()},deleteSelected:Ce,handleOptionSelect:Se,scrollToOption:Ie,hasModelValue:q,shouldShowPlaceholder:ie,currentPlaceholder:se,mouseEnterEventName:ue,showClose:W,iconComponent:K,iconReverse:Y,validateState:G,validateIcon:X,showNewOption:ne,updateOptions:oe,collapseTagSize:ae,setSelected:pe,selectDisabled:H,emptyText:J,handleCompositionStart:O,handleCompositionUpdate:T,handleCompositionEnd:B,onOptionCreate:e=>{r.options.set(e.value,e),r.cachedOptions.set(e.value,e),e.disabled&&r.disabledOptions.set(e.value,e)},onOptionDestroy:(e,t)=>{r.options.get(e)===t&&r.options.delete(e)},handleMenuEnter:()=>{r.isBeforeHide=!1,w((()=>Ie(r.selected)))},focus:Te,blur:Be,handleClearClick:e=>{Ce(e)},handleClickOutside:()=>{A.value=!1,_.value&&Be()},handleEsc:()=>{r.inputValue.length>0?r.inputValue="":A.value=!1},toggleMenu:Me,selectOption:()=>{A.value?ee.value[r.hoveringIndex]&&Se(ee.value[r.hoveringIndex]):Me()},getValueKey:Le,navigateOptions:Fe,dropdownMenuVisible:re,showTagList:Re,collapseTagList:$e,tagStyle:Ve,collapseTagStyle:Pe,inputStyle:Ne,popperRef:Oe,inputRef:d,tooltipRef:u,tagTooltipRef:c,calculatorRef:p,prefixRef:f,suffixRef:v,selectRef:i,wrapperRef:M,selectionRef:s,scrollbarRef:E,menuRef:h,tagMenuRef:x,collapseItemRef:S}};var nf=O({name:"ElOptions",setup(e,{slots:t}){const n=N(Jp);let o=[];return()=>{var e,l;const a=null==(e=t.default)?void 0:e.call(t),r=[];return a.length&&function e(t){F(t)&&t.forEach((t=>{var n,o,l,a;const i=null==(n=(null==t?void 0:t.type)||{})?void 0:n.name;"ElOptionGroup"===i?e(S(t.children)||F(t.children)||!$(null==(o=t.children)?void 0:o.default)?t.children:null==(l=t.children)?void 0:l.default()):"ElOption"===i?r.push(null==(a=t.props)?void 0:a.value):F(t.children)&&e(t.children)}))}(null==(l=a[0])?void 0:l.children),Ze(r,o)||(o=r,n&&(n.states.optionValues=r)),a}}});const of=Yn(s(s({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:Er,effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:Us.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:Gn,default:Cn},fitInputWidth:Boolean,suffixIcon:{type:Gn,default:gn},tagType:u(s({},Wc.type),{default:"info"}),tagEffect:u(s({},Wc.effect),{default:"light"}),validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:String,values:Wo,default:"bottom-start"},fallbackPlacements:{type:Array,default:["bottom-start","top-start","right","left"]}},Lr),Ar(["ariaLabel"]))),lf="ElSelect";var af=Hr(O({name:lf,componentName:lf,components:{ElSelectMenu:ef,ElOption:Qp,ElOptions:nf,ElTag:Yc,ElScrollbar:ns,ElTooltip:su,ElIcon:Kr},directives:{ClickOutside:qu},props:of,emits:[lo,ao,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const n=C((()=>{const{modelValue:t,multiple:n}=e,o=n?[]:void 0;return F(t)?n?t:o:n?o:t})),o=U(u(s({},Y(e)),{modelValue:n})),l=tf(o,t);return j(Jp,U({props:o,states:l.states,optionsArray:l.optionsArray,handleOptionSelect:l.handleOptionSelect,onOptionCreate:l.onOptionCreate,onOptionDestroy:l.onOptionDestroy,selectRef:l.selectRef,setSelected:l.setSelected})),u(s({},l),{modelValue:n})}}),[["render",function(e,t,n,o,l,a){const r=Ie("el-tag"),i=Ie("el-tooltip"),s=Ie("el-icon"),u=Ie("el-option"),c=Ie("el-options"),d=Ie("el-scrollbar"),p=Ie("el-select-menu"),f=Ae("click-outside");return ce((T(),B("div",{ref:"selectRef",class:G([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),[$e(e.mouseEnterEventName)]:t=>e.states.inputHovering=!0,onMouseleave:t=>e.states.inputHovering=!1},[Z(i,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,onBeforeShow:e.handleMenuEnter,onHide:t=>e.states.isBeforeHide=!1},{default:ee((()=>{var t;return[M("div",{ref:"wrapperRef",class:G([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:ue(e.toggleMenu,["prevent"])},[e.$slots.prefix?(T(),B("div",{key:0,ref:"prefixRef",class:G(e.nsSelect.e("prefix"))},[H(e.$slots,"prefix")],2)):re("v-if",!0),M("div",{ref:"selectionRef",class:G([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?H(e.$slots,"tag",{key:0},(()=>[(T(!0),B(J,null,ye(e.showTagList,(t=>(T(),B("div",{key:e.getValueKey(t),class:G(e.nsSelect.e("selected-item"))},[Z(r,{closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:oe(e.tagStyle),onClose:n=>e.deleteTag(n,t)},{default:ee((()=>[M("span",{class:G(e.nsSelect.e("tags-text"))},[H(e.$slots,"label",{label:t.currentLabel,value:t.value},(()=>[le(ae(t.currentLabel),1)]))],2)])),_:2},1032,["closable","size","type","effect","style","onClose"])],2)))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(T(),te(i,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:ee((()=>[M("div",{ref:"collapseItemRef",class:G(e.nsSelect.e("selected-item"))},[Z(r,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:oe(e.collapseTagStyle)},{default:ee((()=>[M("span",{class:G(e.nsSelect.e("tags-text"))}," + "+ae(e.states.selected.length-e.maxCollapseTags),3)])),_:1},8,["size","type","effect","style"])],2)])),content:ee((()=>[M("div",{ref:"tagMenuRef",class:G(e.nsSelect.e("selection"))},[(T(!0),B(J,null,ye(e.collapseTagList,(t=>(T(),B("div",{key:e.getValueKey(t),class:G(e.nsSelect.e("selected-item"))},[Z(r,{class:"in-tooltip",closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:n=>e.deleteTag(n,t)},{default:ee((()=>[M("span",{class:G(e.nsSelect.e("tags-text"))},[H(e.$slots,"label",{label:t.currentLabel,value:t.value},(()=>[le(ae(t.currentLabel),1)]))],2)])),_:2},1032,["closable","size","type","effect","onClose"])],2)))),128))],2)])),_:3},8,["disabled","effect","teleported"])):re("v-if",!0)])):re("v-if",!0),e.selectDisabled?re("v-if",!0):(T(),B("div",{key:1,class:G([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[ce(M("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":t=>e.states.inputValue=t,type:"text",name:e.name,class:G([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:oe(e.inputStyle),role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":(null==(t=e.hoverOption)?void 0:t.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:[Le(ue((t=>e.navigateOptions("next")),["stop","prevent"]),["down"]),Le(ue((t=>e.navigateOptions("prev")),["stop","prevent"]),["up"]),Le(ue(e.handleEsc,["stop","prevent"]),["esc"]),Le(ue(e.selectOption,["stop","prevent"]),["enter"]),Le(ue(e.deletePrevTag,["stop"]),["delete"])],onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onInput:e.onInput,onClick:ue(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[Re,e.states.inputValue]]),e.filterable?(T(),B("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:G(e.nsSelect.e("input-calculator")),textContent:ae(e.states.inputValue)},null,10,["textContent"])):re("v-if",!0)],2)),e.shouldShowPlaceholder?(T(),B("div",{key:2,class:G([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?H(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},(()=>[M("span",null,ae(e.currentPlaceholder),1)])):(T(),B("span",{key:1},ae(e.currentPlaceholder),1))],2)):re("v-if",!0)],2),M("div",{ref:"suffixRef",class:G(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClose?(T(),te(s,{key:0,class:G([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:ee((()=>[(T(),te(ne(e.iconComponent)))])),_:1},8,["class"])):re("v-if",!0),e.showClose&&e.clearIcon?(T(),te(s,{key:1,class:G([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:ee((()=>[(T(),te(ne(e.clearIcon)))])),_:1},8,["class","onClick"])):re("v-if",!0),e.validateState&&e.validateIcon?(T(),te(s,{key:2,class:G([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:ee((()=>[(T(),te(ne(e.validateIcon)))])),_:1},8,["class"])):re("v-if",!0)],2)],10,["onClick"])]})),content:ee((()=>[Z(p,{ref:"menuRef"},{default:ee((()=>[e.$slots.header?(T(),B("div",{key:0,class:G(e.nsSelect.be("dropdown","header")),onClick:ue((()=>{}),["stop"])},[H(e.$slots,"header")],10,["onClick"])):re("v-if",!0),ce(Z(d,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:G([e.nsSelect.is("empty",0===e.filteredOptionsCount)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:ee((()=>[e.showNewOption?(T(),te(u,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):re("v-if",!0),Z(c,null,{default:ee((()=>[H(e.$slots,"default")])),_:3})])),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[de,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(T(),B("div",{key:1,class:G(e.nsSelect.be("dropdown","loading"))},[H(e.$slots,"loading")],2)):e.loading||0===e.filteredOptionsCount?(T(),B("div",{key:2,class:G(e.nsSelect.be("dropdown","empty"))},[H(e.$slots,"empty",{},(()=>[M("span",null,ae(e.emptyText),1)]))],2)):re("v-if",!0),e.$slots.footer?(T(),B("div",{key:3,class:G(e.nsSelect.be("dropdown","footer")),onClick:ue((()=>{}),["stop"])},[H(e.$slots,"footer")],10,["onClick"])):re("v-if",!0)])),_:3},512)])),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","onBeforeShow","onHide"])],16,["onMouseleave"])),[[f,e.handleClickOutside,e.popperRef]])}],["__file","select.vue"]]);var rf=Hr(O({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Io("select"),n=m(null),o=b(),l=m([]);j(Zp,U(s({},Y(e))));const a=C((()=>l.value.some((e=>!0===e.visible)))),r=e=>{const t=Ue(e),n=[];return t.forEach((e=>{var t,o;(e=>{var t,n;return"ElOption"===(null==(t=e.type)?void 0:t.name)&&!!(null==(n=e.component)?void 0:n.proxy)})(e)?n.push(e.component.proxy):(null==(t=e.children)?void 0:t.length)?n.push(...r(e.children)):(null==(o=e.component)?void 0:o.subTree)&&n.push(...r(e.component.subTree))})),n},i=()=>{l.value=r(o.subTree)};return y((()=>{i()})),qt(n,i,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:a,ns:t}}}),[["render",function(e,t,n,o,l,a){return ce((T(),B("ul",{ref:"groupRef",class:G(e.ns.be("group","wrap"))},[M("li",{class:G(e.ns.be("group","title"))},ae(e.label),3),M("li",null,[M("ul",{class:G(e.ns.b("group"))},[H(e.$slots,"default")],2)])],2)),[[de,e.visible]])}],["__file","option-group.vue"]]);const sf=eo(af,{Option:Qp,OptionGroup:rf}),uf=to(Qp),cf=to(rf),df=Yn({trigger:Ys.trigger,placement:tp.placement,disabled:Ys.disabled,visible:Us.visible,transition:Us.transition,popperOptions:tp.popperOptions,tabindex:tp.tabindex,content:Us.content,popperStyle:Us.popperStyle,popperClass:Us.popperClass,enterable:u(s({},Us.enterable),{default:!0}),effect:u(s({},Us.effect),{default:"light"}),teleported:Us.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),pf={"update:visible":e=>Jt(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},ff=O({name:"ElPopover"}),vf=O(u(s({},ff),{props:df,emits:pf,setup(e,{expose:t,emit:n}){const o=e,l=C((()=>o["onUpdate:visible"])),a=Io("popover"),r=m(),i=C((()=>{var e;return null==(e=p(r))?void 0:e.popperRef})),s=C((()=>[{width:fn(o.width)},o.popperStyle])),u=C((()=>[a.b(),o.popperClass,{[a.m("plain")]:!!o.content}])),c=C((()=>o.transition===`${a.namespace.value}-fade-in-linear`)),d=()=>{n("before-enter")},f=()=>{n("before-leave")},v=()=>{n("after-enter")},g=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:i,hide:()=>{var e;null==(e=r.value)||e.hide()}}),(e,t)=>(T(),te(p(su),q({ref_key:"tooltipRef",ref:r},e.$attrs,{trigger:e.trigger,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":p(u),"popper-style":p(s),teleported:e.teleported,persistent:e.persistent,"gpu-acceleration":p(c),"onUpdate:visible":p(l),onBeforeShow:d,onBeforeHide:f,onShow:v,onHide:g}),{content:ee((()=>[e.title?(T(),B("div",{key:0,class:G(p(a).e("title")),role:"title"},ae(e.title),3)):re("v-if",!0),H(e.$slots,"default",{},(()=>[le(ae(e.content),1)]))])),default:ee((()=>[e.$slots.reference?H(e.$slots,"reference",{key:0}):re("v-if",!0)])),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}}));const mf=(e,t)=>{const n=t.arg||t.value,o=null==n?void 0:n.popperRef;o&&(o.triggerRef=e)};var gf,hf;const bf=eo(Hr(vf,[["__file","popover.vue"]]),{directive:(hf="popover",(gf={mounted(e,t){mf(e,t)},updated(e,t){mf(e,t)}}).install=e=>{e.directive(hf,gf)},gf)}),yf=Yn({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},striped:Boolean,stripedFlow:Boolean,format:{type:Function,default:e=>`${e}%`}}),wf=O({name:"ElProgress"});const xf=eo(Hr(O(u(s({},wf),{props:yf,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},o=Io("progress"),l=C((()=>{const e={width:`${t.percentage}%`,animationDuration:`${t.duration}s`},n=b(t.percentage);return n.includes("gradient")?e.background=n:e.backgroundColor=n,e})),a=C((()=>(t.strokeWidth/t.width*100).toFixed(1))),r=C((()=>["circle","dashboard"].includes(t.type)?Number.parseInt(""+(50-Number.parseFloat(a.value)/2),10):0)),i=C((()=>{const e=r.value,n="dashboard"===t.type;return`\n M 50 50\n m 0 ${n?"":"-"}${e}\n a ${e} ${e} 0 1 1 0 ${n?"-":""}${2*e}\n a ${e} ${e} 0 1 1 0 ${n?"":"-"}${2*e}\n `})),s=C((()=>2*Math.PI*r.value)),u=C((()=>"dashboard"===t.type?.75:1)),c=C((()=>`${-1*s.value*(1-u.value)/2}px`)),d=C((()=>({strokeDasharray:`${s.value*u.value}px, ${s.value}px`,strokeDashoffset:c.value}))),f=C((()=>({strokeDasharray:`${s.value*u.value*(t.percentage/100)}px, ${s.value}px`,strokeDashoffset:c.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"}))),v=C((()=>{let e;return e=t.color?b(t.percentage):n[t.status]||n.default,e})),m=C((()=>"warning"===t.status?Hn:"line"===t.type?"success"===t.status?xn:Cn:"success"===t.status?wn:Sn)),g=C((()=>"line"===t.type?12+.4*t.strokeWidth:.111111*t.width+2)),h=C((()=>t.format(t.percentage)));const b=e=>{var n;const{color:o}=t;if($(o))return o(e);if(S(o))return o;{const t=function(e){const t=100/e.length;return e.map(((e,n)=>S(e)?{color:e,percentage:(n+1)*t}:e)).sort(((e,t)=>e.percentage-t.percentage))}(o);for(const n of t)if(n.percentage>e)return n.color;return null==(n=t[t.length-1])?void 0:n.color}};return(e,t)=>(T(),B("div",{class:G([p(o).b(),p(o).m(e.type),p(o).is(e.status),{[p(o).m("without-text")]:!e.showText,[p(o).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},["line"===e.type?(T(),B("div",{key:0,class:G(p(o).b("bar"))},[M("div",{class:G(p(o).be("bar","outer")),style:oe({height:`${e.strokeWidth}px`})},[M("div",{class:G([p(o).be("bar","inner"),{[p(o).bem("bar","inner","indeterminate")]:e.indeterminate},{[p(o).bem("bar","inner","striped")]:e.striped},{[p(o).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:oe(p(l))},[(e.showText||e.$slots.default)&&e.textInside?(T(),B("div",{key:0,class:G(p(o).be("bar","innerText"))},[H(e.$slots,"default",{percentage:e.percentage},(()=>[M("span",null,ae(p(h)),1)]))],2)):re("v-if",!0)],6)],6)],2)):(T(),B("div",{key:1,class:G(p(o).b("circle")),style:oe({height:`${e.width}px`,width:`${e.width}px`})},[(T(),B("svg",{viewBox:"0 0 100 100"},[M("path",{class:G(p(o).be("circle","track")),d:p(i),stroke:`var(${p(o).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":p(a),fill:"none",style:oe(p(d))},null,14,["d","stroke","stroke-linecap","stroke-width"]),M("path",{class:G(p(o).be("circle","path")),d:p(i),stroke:p(v),fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":p(a),style:oe(p(f))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),!e.showText&&!e.$slots.default||e.textInside?re("v-if",!0):(T(),B("div",{key:2,class:G(p(o).e("text")),style:oe({fontSize:`${p(g)}px`})},[H(e.$slots,"default",{percentage:e.percentage},(()=>[e.status?(T(),te(p(Kr),{key:1},{default:ee((()=>[(T(),te(ne(p(m))))])),_:1})):(T(),B("span",{key:0},ae(p(h)),1))]))],6))],10,["aria-valuenow"]))}})),[["__file","progress.vue"]])),kf=Symbol("sliderContextKey"),Cf=Yn(s({modelValue:{type:[Number,Array],default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:Er,inputSize:Er,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:Function,default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:Function,default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Wo,default:"top"},marks:{type:Object},validateEvent:{type:Boolean,default:!0}},Ar(["ariaLabel"]))),Sf=e=>Qt(e)||F(e)&&e.every(Qt),Ef={[lo]:Sf,[ro]:Sf,[ao]:Sf},If=(e,t,n)=>{const{form:o,formItem:l}=Zr(),a=x(),r=m(),i=m(),s={firstButton:r,secondButton:i},u=C((()=>e.disabled||(null==o?void 0:o.disabled)||!1)),c=C((()=>Math.min(t.firstValue,t.secondValue))),p=C((()=>Math.max(t.firstValue,t.secondValue))),f=C((()=>e.range?100*(p.value-c.value)/(e.max-e.min)+"%":100*(t.firstValue-e.min)/(e.max-e.min)+"%")),v=C((()=>e.range?100*(c.value-e.min)/(e.max-e.min)+"%":"0%")),g=C((()=>e.vertical?{height:e.height}:{})),h=C((()=>e.vertical?{height:f.value,bottom:v.value}:{width:f.value,left:v.value})),b=()=>{a.value&&(t.sliderSize=a.value["client"+(e.vertical?"Height":"Width")])},y=n=>{const o=(n=>{const o=e.min+n*(e.max-e.min)/100;if(!e.range)return r;let l;return l=Math.abs(c.value-o)t.secondValue?"firstButton":"secondButton",s[l]})(n);return o.value.setPosition(n),o},k=e=>{n(lo,e),n(ro,e)},S=()=>d(void 0,null,(function*(){yield w(),n(ao,e.range?[c.value,p.value]:e.modelValue)})),E=n=>{var o,l,r,i,s,c;if(u.value||t.dragging)return;b();let d=0;if(e.vertical){const e=null!=(r=null==(l=null==(o=n.touches)?void 0:o.item(0))?void 0:l.clientY)?r:n.clientY;d=(a.value.getBoundingClientRect().bottom-e)/t.sliderSize*100}else{d=((null!=(c=null==(s=null==(i=n.touches)?void 0:i.item(0))?void 0:s.clientX)?c:n.clientX)-a.value.getBoundingClientRect().left)/t.sliderSize*100}return d<0||d>100?void 0:y(d)};return{elFormItem:l,slider:a,firstButton:r,secondButton:i,sliderDisabled:u,minValue:c,maxValue:p,runwayStyle:g,barStyle:h,resetSize:b,setPosition:y,emitChange:S,onSliderWrapperPrevent:e=>{var t,n;((null==(t=s.firstButton.value)?void 0:t.dragging)||(null==(n=s.secondButton.value)?void 0:n.dragging))&&e.preventDefault()},onSliderClick:e=>{E(e)&&S()},onSliderDown:e=>d(void 0,null,(function*(){const t=E(e);t&&(yield w(),t.value.onButtonDown(e))})),onSliderMarkerDown:e=>{u.value||t.dragging||y(e)},setFirstValue:n=>{t.firstValue=null!=n?n:e.min,k(e.range?[c.value,p.value]:null!=n?n:e.min)},setSecondValue:n=>{t.secondValue=n,e.range&&k([c.value,p.value])}}},{left:Of,down:Tf,right:Bf,up:Mf,home:Lf,end:_f,pageUp:Af,pageDown:Rf}=oo,$f=(e,t,n)=>{const{disabled:o,min:l,max:a,step:r,showTooltip:i,precision:s,sliderSize:u,formatTooltip:c,emitChange:p,resetSize:f,updateDragging:v}=N(kf),{tooltip:h,tooltipVisible:b,formatValue:y,displayTooltip:x,hideTooltip:k}=((e,t,n)=>{const o=m(),l=m(!1),a=C((()=>t.value instanceof Function)),r=C((()=>a.value&&t.value(e.modelValue)||e.modelValue)),i=Je((()=>{n.value&&(l.value=!0)}),50),s=Je((()=>{n.value&&(l.value=!1)}),50);return{tooltip:o,tooltipVisible:l,formatValue:r,displayTooltip:i,hideTooltip:s}})(e,c,i),S=m(),E=C((()=>(e.modelValue-l.value)/(a.value-l.value)*100+"%")),I=C((()=>e.vertical?{bottom:E.value}:{left:E.value})),O=e=>{o.value||(e.preventDefault(),M(e),window.addEventListener("mousemove",L),window.addEventListener("touchmove",L),window.addEventListener("mouseup",_),window.addEventListener("touchend",_),window.addEventListener("contextmenu",_),S.value.focus())},T=e=>{o.value||(t.newPosition=Number.parseFloat(E.value)+e/(a.value-l.value)*100,A(t.newPosition),p())},B=e=>{let t,n;return e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},M=n=>{t.dragging=!0,t.isClick=!0;const{clientX:o,clientY:l}=B(n);e.vertical?t.startY=l:t.startX=o,t.startPosition=Number.parseFloat(E.value),t.newPosition=t.startPosition},L=n=>{if(t.dragging){let o;t.isClick=!1,x(),f();const{clientX:l,clientY:a}=B(n);e.vertical?(t.currentY=a,o=(t.startY-t.currentY)/u.value*100):(t.currentX=l,o=(t.currentX-t.startX)/u.value*100),t.newPosition=t.startPosition+o,A(t.newPosition)}},_=()=>{t.dragging&&(setTimeout((()=>{t.dragging=!1,t.hovering||k(),t.isClick||A(t.newPosition),p()}),0),window.removeEventListener("mousemove",L),window.removeEventListener("touchmove",L),window.removeEventListener("mouseup",_),window.removeEventListener("touchend",_),window.removeEventListener("contextmenu",_))},A=o=>d(void 0,null,(function*(){if(null===o||Number.isNaN(+o))return;o<0?o=0:o>100&&(o=100);const i=100/((a.value-l.value)/r.value);let u=Math.round(o/i)*i*(a.value-l.value)*.01+l.value;u=Number.parseFloat(u.toFixed(s.value)),u!==e.modelValue&&n(lo,u),t.dragging||e.modelValue===t.oldValue||(t.oldValue=e.modelValue),yield w(),t.dragging&&x(),h.value.updatePopper()}));return g((()=>t.dragging),(e=>{v(e)})),Mt(S,"touchstart",O,{passive:!1}),{disabled:o,button:S,tooltip:h,tooltipVisible:b,showTooltip:i,wrapperStyle:I,formatValue:y,handleMouseEnter:()=>{t.hovering=!0,x()},handleMouseLeave:()=>{t.hovering=!1,t.dragging||k()},onButtonDown:O,onKeyDown:e=>{let t=!0;[Of,Tf].includes(e.key)?T(-r.value):[Bf,Mf].includes(e.key)?T(r.value):e.key===Lf?o.value||(A(0),p()):e.key===_f?o.value||(A(100),p()):e.key===Rf?T(4*-r.value):e.key===Af?T(4*r.value):t=!1,t&&e.preventDefault()},setPosition:A}},Ff=Yn({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Wo,default:"top"}}),Vf={[lo]:e=>Qt(e)},Pf=O({name:"ElSliderButton"});var Nf=Hr(O(u(s({},Pf),{props:Ff,emits:Vf,setup(e,{expose:t,emit:n}){const o=e,l=Io("slider"),a=U({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:o.modelValue}),{disabled:r,button:i,tooltip:s,showTooltip:u,tooltipVisible:c,wrapperStyle:d,formatValue:f,handleMouseEnter:v,handleMouseLeave:m,onButtonDown:g,onKeyDown:h,setPosition:b}=$f(o,a,n),{hovering:y,dragging:w}=Y(a);return t({onButtonDown:g,onKeyDown:h,setPosition:b,hovering:y,dragging:w}),(e,t)=>(T(),B("div",{ref_key:"button",ref:i,class:G([p(l).e("button-wrapper"),{hover:p(y),dragging:p(w)}]),style:oe(p(d)),tabindex:p(r)?-1:0,onMouseenter:p(v),onMouseleave:p(m),onMousedown:p(g),onFocus:p(v),onBlur:p(m),onKeydown:p(h)},[Z(p(su),{ref_key:"tooltip",ref:s,visible:p(c),placement:e.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":e.tooltipClass,disabled:!p(u),persistent:""},{content:ee((()=>[M("span",null,ae(p(f)),1)])),default:ee((()=>[M("div",{class:G([p(l).e("button"),{hover:p(y),dragging:p(w)}])},null,2)])),_:1},8,["visible","placement","popper-class","disabled"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}})),[["__file","button.vue"]]);const zf=Yn({mark:{type:[String,Object],default:void 0}});var Df=O({name:"ElSliderMarker",props:zf,setup(e){const t=Io("slider"),n=C((()=>S(e.mark)?e.mark:e.mark.label)),o=C((()=>S(e.mark)?void 0:e.mark.style));return()=>Se("div",{class:t.e("marks-text"),style:o.value},n.value)}});const jf=O({name:"ElSlider"});const Hf=eo(Hr(O(u(s({},jf),{props:Cf,emits:Ef,setup(e,{expose:t,emit:n}){const o=e,l=Io("slider"),{t:a}=xo(),r=U({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:i,slider:c,firstButton:f,secondButton:v,sliderDisabled:h,minValue:b,maxValue:x,runwayStyle:k,barStyle:S,resetSize:E,emitChange:I,onSliderWrapperPrevent:O,onSliderClick:L,onSliderDown:_,onSliderMarkerDown:A,setFirstValue:R,setSecondValue:$}=If(o,r,n),{stops:F,getStopStyle:V}=((e,t,n,o)=>({stops:C((()=>{if(!e.showStops||e.min>e.max)return[];if(0===e.step)return[];const l=(e.max-e.min)/e.step,a=100*e.step/(e.max-e.min),r=Array.from({length:l-1}).map(((e,t)=>(t+1)*a));return e.range?r.filter((t=>t<100*(n.value-e.min)/(e.max-e.min)||t>100*(o.value-e.min)/(e.max-e.min))):r.filter((n=>n>100*(t.firstValue-e.min)/(e.max-e.min)))})),getStopStyle:t=>e.vertical?{bottom:`${t}%`}:{left:`${t}%`}}))(o,r,b,x),{inputId:P,isLabeledByFormItem:N}=Jr(o,{formItemContext:i}),z=Gr(),D=C((()=>o.inputSize||z.value)),H=C((()=>o.ariaLabel||a("el.slider.defaultLabel",{min:o.min,max:o.max}))),q=C((()=>o.range?o.rangeStartLabel||a("el.slider.defaultRangeStartLabel"):H.value)),W=C((()=>o.formatValueText?o.formatValueText(ae.value):`${ae.value}`)),K=C((()=>o.rangeEndLabel||a("el.slider.defaultRangeEndLabel"))),X=C((()=>o.formatValueText?o.formatValueText(ie.value):`${ie.value}`)),Q=C((()=>[l.b(),l.m(z.value),l.is("vertical",o.vertical),{[l.m("with-input")]:o.showInput}])),ee=(e=>C((()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort(((e,t)=>e-t)).filter((t=>t<=e.max&&t>=e.min)).map((t=>({point:t,position:100*(t-e.min)/(e.max-e.min),mark:e.marks[t]}))):[])))(o);((e,t,n,o,l,a)=>{const r=e=>{l(lo,e),l(ro,e)},i=()=>e.range?![n.value,o.value].every(((e,n)=>e===t.oldValue[n])):e.modelValue!==t.oldValue,s=()=>{var n,o;e.min>e.max&&rn("Slider","min should not be greater than max.");const l=e.modelValue;e.range&&Array.isArray(l)?l[1]e.max?r([e.max,e.max]):l[0]e.max?r([l[0],e.max]):(t.firstValue=l[0],t.secondValue=l[1],i()&&(e.validateEvent&&(null==(n=null==a?void 0:a.validate)||n.call(a,"change").catch((e=>{}))),t.oldValue=l.slice())):e.range||"number"!=typeof l||Number.isNaN(l)||(le.max?r(e.max):(t.firstValue=l,i()&&(e.validateEvent&&(null==(o=null==a?void 0:a.validate)||o.call(a,"change").catch((e=>{}))),t.oldValue=l)))};s(),g((()=>t.dragging),(e=>{e||s()})),g((()=>e.modelValue),((e,n)=>{t.dragging||Array.isArray(e)&&Array.isArray(n)&&e.every(((e,t)=>e===n[t]))&&t.firstValue===e[0]&&t.secondValue===e[1]||s()}),{deep:!0}),g((()=>[e.min,e.max]),(()=>{s()}))})(o,r,b,x,n,i);const ne=C((()=>{const e=[o.min,o.max,o.step].map((e=>{const t=`${e}`.split(".")[1];return t?t.length:0}));return Math.max.apply(null,e)})),{sliderWrapper:le}=((e,t,n)=>{const o=m();return y((()=>d(void 0,null,(function*(){e.range?(Array.isArray(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):("number"!=typeof e.modelValue||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),Mt(window,"resize",n),yield w(),n()})))),{sliderWrapper:o}})(o,r,E),{firstValue:ae,secondValue:ie,sliderSize:se}=Y(r);return Mt(le,"touchstart",O,{passive:!1}),Mt(le,"touchmove",O,{passive:!1}),j(kf,u(s({},Y(o)),{sliderSize:se,disabled:h,precision:ne,emitChange:I,resetSize:E,updateDragging:e=>{r.dragging=e}})),t({onSliderClick:L}),(e,t)=>{var n,o;return T(),B("div",{id:e.range?p(P):void 0,ref_key:"sliderWrapper",ref:le,class:G(p(Q)),role:e.range?"group":void 0,"aria-label":e.range&&!p(N)?p(H):void 0,"aria-labelledby":e.range&&p(N)?null==(n=p(i))?void 0:n.labelId:void 0},[M("div",{ref_key:"slider",ref:c,class:G([p(l).e("runway"),{"show-input":e.showInput&&!e.range},p(l).is("disabled",p(h))]),style:oe(p(k)),onMousedown:p(_),onTouchstartPassive:p(_)},[M("div",{class:G(p(l).e("bar")),style:oe(p(S))},null,6),Z(Nf,{id:e.range?void 0:p(P),ref_key:"firstButton",ref:f,"model-value":p(ae),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":e.range||!p(N)?p(q):void 0,"aria-labelledby":!e.range&&p(N)?null==(o=p(i))?void 0:o.labelId:void 0,"aria-valuemin":e.min,"aria-valuemax":e.range?p(ie):e.max,"aria-valuenow":p(ae),"aria-valuetext":p(W),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":p(h),"onUpdate:modelValue":p(R)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),e.range?(T(),te(Nf,{key:0,ref_key:"secondButton",ref:v,"model-value":p(ie),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":p(K),"aria-valuemin":p(ae),"aria-valuemax":e.max,"aria-valuenow":p(ie),"aria-valuetext":p(X),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":p(h),"onUpdate:modelValue":p($)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):re("v-if",!0),e.showStops?(T(),B("div",{key:1},[(T(!0),B(J,null,ye(p(F),((e,t)=>(T(),B("div",{key:t,class:G(p(l).e("stop")),style:oe(p(V)(e))},null,6)))),128))])):re("v-if",!0),p(ee).length>0?(T(),B(J,{key:2},[M("div",null,[(T(!0),B(J,null,ye(p(ee),((e,t)=>(T(),B("div",{key:t,style:oe(p(V)(e.position)),class:G([p(l).e("stop"),p(l).e("marks-stop")])},null,6)))),128))]),M("div",{class:G(p(l).e("marks"))},[(T(!0),B(J,null,ye(p(ee),((e,t)=>(T(),te(p(Df),{key:t,mark:e.mark,style:oe(p(V)(e.position)),onMousedown:ue((t=>p(A)(e.position)),["stop"])},null,8,["mark","style","onMousedown"])))),128))],2)],64)):re("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),e.showInput&&!e.range?(T(),te(p(Lp),{key:0,ref:"input","model-value":p(ae),class:G(p(l).e("input")),step:e.step,disabled:p(h),controls:e.showInputControls,min:e.min,max:e.max,precision:p(ne),debounce:e.debounce,size:p(D),"onUpdate:modelValue":p(R),onChange:p(I)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):re("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}})),[["__file","slider.vue"]])),qf=Yn(s({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:so},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:Gn},activeActionIcon:{type:Gn},activeIcon:{type:Gn},inactiveIcon:{type:Gn},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:Function},id:String,tabindex:{type:[String,Number]}},Ar(["ariaLabel"]))),Wf={[lo]:e=>Jt(e)||S(e)||Qt(e),[ao]:e=>Jt(e)||S(e)||Qt(e),[ro]:e=>Jt(e)||S(e)||Qt(e)},Kf="ElSwitch",Uf=O({name:Kf});const Yf=eo(Hr(O(u(s({},Uf),{props:qf,emits:Wf,setup(e,{expose:t,emit:n}){const o=e,{formItem:l}=Zr(),a=Gr(),r=Io("switch"),{inputId:i}=Jr(o,{formItemContext:l}),s=Xr(C((()=>o.loading))),u=m(!1!==o.modelValue),c=m(),d=m(),f=C((()=>[r.b(),r.m(a.value),r.is("disabled",s.value),r.is("checked",k.value)])),v=C((()=>[r.e("label"),r.em("label","left"),r.is("active",!k.value)])),h=C((()=>[r.e("label"),r.em("label","right"),r.is("active",k.value)])),b=C((()=>({width:fn(o.width)})));g((()=>o.modelValue),(()=>{u.value=!0}));const x=C((()=>!!u.value&&o.modelValue)),k=C((()=>x.value===o.activeValue));[o.activeValue,o.inactiveValue].includes(x.value)||(n(lo,o.inactiveValue),n(ao,o.inactiveValue),n(ro,o.inactiveValue)),g(k,(e=>{var t;c.value.checked=e,o.validateEvent&&(null==(t=null==l?void 0:l.validate)||t.call(l,"change").catch((e=>{})))}));const S=()=>{const e=k.value?o.inactiveValue:o.activeValue;n(lo,e),n(ao,e),n(ro,e),w((()=>{c.value.checked=k.value}))},E=()=>{if(s.value)return;const{beforeChange:e}=o;if(!e)return void S();const t=e();[Fe(t),Jt(t)].includes(!0)||rn(Kf,"beforeChange must return type `Promise` or `boolean`"),Fe(t)?t.then((e=>{e&&S()})).catch((e=>{})):t&&S()};return y((()=>{c.value.checked=k.value})),t({focus:()=>{var e,t;null==(t=null==(e=c.value)?void 0:e.focus)||t.call(e)},checked:k}),(e,t)=>(T(),B("div",{class:G(p(f)),onClick:ue(E,["prevent"])},[M("input",{id:p(i),ref_key:"input",ref:c,class:G(p(r).e("input")),type:"checkbox",role:"switch","aria-checked":p(k),"aria-disabled":p(s),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:p(s),tabindex:e.tabindex,onChange:S,onKeydown:Le(E,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),e.inlinePrompt||!e.inactiveIcon&&!e.inactiveText?re("v-if",!0):(T(),B("span",{key:0,class:G(p(v))},[e.inactiveIcon?(T(),te(p(Kr),{key:0},{default:ee((()=>[(T(),te(ne(e.inactiveIcon)))])),_:1})):re("v-if",!0),!e.inactiveIcon&&e.inactiveText?(T(),B("span",{key:1,"aria-hidden":p(k)},ae(e.inactiveText),9,["aria-hidden"])):re("v-if",!0)],2)),M("span",{ref_key:"core",ref:d,class:G(p(r).e("core")),style:oe(p(b))},[e.inlinePrompt?(T(),B("div",{key:0,class:G(p(r).e("inner"))},[e.activeIcon||e.inactiveIcon?(T(),te(p(Kr),{key:0,class:G(p(r).is("icon"))},{default:ee((()=>[(T(),te(ne(p(k)?e.activeIcon:e.inactiveIcon)))])),_:1},8,["class"])):e.activeText||e.inactiveText?(T(),B("span",{key:1,class:G(p(r).is("text")),"aria-hidden":!p(k)},ae(p(k)?e.activeText:e.inactiveText),11,["aria-hidden"])):re("v-if",!0)],2)):re("v-if",!0),M("div",{class:G(p(r).e("action"))},[e.loading?(T(),te(p(Kr),{key:0,class:G(p(r).is("loading"))},{default:ee((()=>[Z(p(Mn))])),_:1},8,["class"])):p(k)?H(e.$slots,"active-action",{key:1},(()=>[e.activeActionIcon?(T(),te(p(Kr),{key:0},{default:ee((()=>[(T(),te(ne(e.activeActionIcon)))])),_:1})):re("v-if",!0)])):p(k)?re("v-if",!0):H(e.$slots,"inactive-action",{key:2},(()=>[e.inactiveActionIcon?(T(),te(p(Kr),{key:0},{default:ee((()=>[(T(),te(ne(e.inactiveActionIcon)))])),_:1})):re("v-if",!0)]))],2)],6),e.inlinePrompt||!e.activeIcon&&!e.activeText?re("v-if",!0):(T(),B("span",{key:1,class:G(p(h))},[e.activeIcon?(T(),te(p(Kr),{key:0},{default:ee((()=>[(T(),te(ne(e.activeIcon)))])),_:1})):re("v-if",!0),!e.activeIcon&&e.activeText?(T(),B("span",{key:1,"aria-hidden":!p(k)},ae(e.activeText),9,["aria-hidden"])):re("v-if",!0)],2))],10,["onClick"]))}})),[["__file","switch.vue"]])),Gf=Symbol("tabsRootContextKey"),Xf=Yn({tabs:{type:Array,default:()=>[]}}),Zf="ElTabBar",Jf=O({name:Zf});var Qf=Hr(O(u(s({},Jf),{props:Xf,setup(e,{expose:t}){const n=e,o=b(),l=N(Gf);l||rn(Zf,"");const a=Io("tabs"),r=m(),i=m(),s=()=>i.value=(()=>{let e=0,t=0;const a=["top","bottom"].includes(l.props.tabPosition)?"width":"height",r="width"===a?"x":"y",i="x"===r?"left":"top";return n.tabs.every((n=>{var l,r;const s=null==(r=null==(l=o.parent)?void 0:l.refs)?void 0:r[`tab-${n.uid}`];if(!s)return!1;if(!n.active)return!0;e=s[`offset${nn(i)}`],t=s[`client${nn(a)}`];const u=window.getComputedStyle(s);return"width"===a&&(t-=Number.parseFloat(u.paddingLeft)+Number.parseFloat(u.paddingRight),e+=Number.parseFloat(u.paddingLeft)),!1})),{[a]:`${t}px`,transform:`translate${nn(r)}(${e}px)`}})(),u=[];g((()=>n.tabs),(()=>d(this,null,(function*(){yield w(),s(),(()=>{var e;u.forEach((e=>e.stop())),u.length=0;const t=null==(e=o.parent)?void 0:e.refs;if(t)for(const n in t)if(n.startsWith("tab-")){const e=t[n];e&&u.push(Pt(e,s))}})()}))),{immediate:!0});const c=Pt(r,(()=>s()));return P((()=>{u.forEach((e=>e.stop())),u.length=0,c.stop()})),t({ref:r,update:s}),(e,t)=>(T(),B("div",{ref_key:"barRef",ref:r,class:G([p(a).e("active-bar"),p(a).is(p(l).props.tabPosition)]),style:oe(i.value)},null,6))}})),[["__file","tab-bar.vue"]]);const ev=Yn({panes:{type:Array,default:()=>[]},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),tv="ElTabNav",nv=O({name:tv,props:ev,emits:{tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},setup(e,{expose:t,emit:n}){const o=N(Gf);o||rn(tv,"");const l=Io("tabs"),a=function({document:e=Bt}={}){if(!e)return m("visible");const t=m(e.visibilityState);return Mt(e,"visibilitychange",(()=>{t.value=e.visibilityState})),t}(),r=function({window:e=Tt}={}){if(!e)return m(!1);const t=m(e.document.hasFocus());return Mt(e,"blur",(()=>{t.value=!1})),Mt(e,"focus",(()=>{t.value=!0})),t}(),i=m(),s=m(),u=m(),c=m(),p=m(!1),f=m(0),v=m(!1),h=m(!0),b=C((()=>["top","bottom"].includes(o.props.tabPosition)?"width":"height")),x=C((()=>({transform:`translate${"width"===b.value?"X":"Y"}(-${f.value}px)`}))),k=()=>{if(!i.value)return;const e=i.value[`offset${nn(b.value)}`],t=f.value;if(!t)return;const n=t>e?t-e:0;f.value=n},S=()=>{if(!i.value||!s.value)return;const e=s.value[`offset${nn(b.value)}`],t=i.value[`offset${nn(b.value)}`],n=f.value;if(e-n<=t)return;const o=e-n>2*t?n+t:e-t;f.value=o},E=()=>d(this,null,(function*(){const e=s.value;if(!(p.value&&u.value&&i.value&&e))return;yield w();const t=u.value.querySelector(".is-active");if(!t)return;const n=i.value,l=["top","bottom"].includes(o.props.tabPosition),a=t.getBoundingClientRect(),r=n.getBoundingClientRect(),c=l?e.offsetWidth-r.width:e.offsetHeight-r.height,d=f.value;let v=d;l?(a.leftr.right&&(v=d+a.right-r.right)):(a.topr.bottom&&(v=d+(a.bottom-r.bottom))),v=Math.max(v,0),f.value=Math.min(v,c)})),I=()=>{var t;if(!s.value||!i.value)return;e.stretch&&(null==(t=c.value)||t.update());const n=s.value[`offset${nn(b.value)}`],o=i.value[`offset${nn(b.value)}`],l=f.value;o0&&(f.value=0))},O=e=>{const t=e.code,{up:n,down:o,left:l,right:a}=oo;if(![n,o,l,a].includes(t))return;const r=Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),i=r.indexOf(e.target);let s;s=t===l||t===n?0===i?r.length-1:i-1:i{h.value&&(v.value=!0)},B=()=>v.value=!1;return g(a,(e=>{"hidden"===e?h.value=!1:"visible"===e&&setTimeout((()=>h.value=!0),50)})),g(r,(e=>{e?setTimeout((()=>h.value=!0),50):h.value=!1})),Pt(u,I),y((()=>setTimeout((()=>E()),0))),X((()=>I())),t({scrollToActiveTab:E,removeFocus:B}),()=>{const t=p.value?[Z("span",{class:[l.e("nav-prev"),l.is("disabled",!p.value.prev)],onClick:k},[Z(Kr,null,{default:()=>[Z(hn,null,null)]})]),Z("span",{class:[l.e("nav-next"),l.is("disabled",!p.value.next)],onClick:S},[Z(Kr,null,{default:()=>[Z(bn,null,null)]})])]:null,a=e.panes.map(((t,a)=>{var r,i,s,u;const c=t.uid,d=t.props.disabled,p=null!=(i=null!=(r=t.props.name)?r:t.index)?i:`${a}`,f=!d&&(t.isClosable||e.editable);t.index=`${a}`;const m=f?Z(Kr,{class:"is-icon-close",onClick:e=>n("tabRemove",t,e)},{default:()=>[Z(Sn,null,null)]}):null,g=(null==(u=(s=t.slots).label)?void 0:u.call(s))||t.props.label,h=!d&&t.active?0:-1;return Z("div",{ref:`tab-${c}`,class:[l.e("item"),l.is(o.props.tabPosition),l.is("active",t.active),l.is("disabled",d),l.is("closable",f),l.is("focus",v.value)],id:`tab-${p}`,key:`tab-${c}`,"aria-controls":`pane-${p}`,role:"tab","aria-selected":t.active,tabindex:h,onFocus:()=>T(),onBlur:()=>B(),onClick:e=>{B(),n("tabClick",t,p,e)},onKeydown:e=>{!f||e.code!==oo.delete&&e.code!==oo.backspace||n("tabRemove",t,e)}},[g,m])}));return Z("div",{ref:u,class:[l.e("nav-wrap"),l.is("scrollable",!!p.value),l.is(o.props.tabPosition)]},[t,Z("div",{class:l.e("nav-scroll"),ref:i},[Z("div",{class:[l.e("nav"),l.is(o.props.tabPosition),l.is("stretch",e.stretch&&["top","bottom"].includes(o.props.tabPosition))],ref:s,style:x.value,role:"tablist",onKeydown:O},[e.type?null:Z(Qf,{ref:c,tabs:[...e.panes]},null),a])])])}}}),ov=Yn({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:Function,default:()=>!0},stretch:Boolean}),lv=e=>S(e)||Qt(e),av={[lo]:e=>lv(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>lv(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>lv(e),tabAdd:()=>!0},rv=O({name:"ElTabs",props:ov,emits:av,setup(e,{emit:t,slots:n,expose:o}){var l;const a=Io("tabs"),r=C((()=>["left","right"].includes(e.tabPosition))),{children:i,addChild:s,removeChild:u}=Sr(b(),"ElTabPane"),c=m(),p=m(null!=(l=e.modelValue)?l:"0"),f=(n,o=!1)=>d(this,null,(function*(){var l,a,r;if(p.value!==n&&!Zt(n))try{!1!==(yield null==(l=e.beforeLeave)?void 0:l.call(e,n,p.value))&&(p.value=n,o&&(t(lo,n),t("tabChange",n)),null==(r=null==(a=c.value)?void 0:a.removeFocus)||r.call(a))}catch(i){}})),v=(e,n,o)=>{e.props.disabled||(f(n,!0),t("tabClick",e,o))},h=(e,n)=>{e.props.disabled||Zt(e.props.name)||(n.stopPropagation(),t("edit",e.props.name,"remove"),t("tabRemove",e.props.name))},y=()=>{t("edit",void 0,"add"),t("tabAdd")};g((()=>e.modelValue),(e=>f(e))),g(p,(()=>d(this,null,(function*(){var e;yield w(),null==(e=c.value)||e.scrollToActiveTab()})))),j(Gf,{props:e,currentName:p,registerPane:e=>{i.value.push(e)},sortPane:s,unregisterPane:u}),o({currentName:p});const x=({render:e})=>e();return()=>{const t=n["add-icon"],o=e.editable||e.addable?Z("div",{class:[a.e("new-tab"),r.value&&a.e("new-tab-vertical")],tabindex:"0",onClick:y,onKeydown:e=>{e.code===oo.enter&&y()}},[t?H(n,"add-icon"):Z(Kr,{class:a.is("icon-plus")},{default:()=>[Z($n,null,null)]})]):null,l=Z("div",{class:[a.e("header"),r.value&&a.e("header-vertical"),a.is(e.tabPosition)]},[Z(x,{render:()=>{const t=i.value.some((e=>e.slots.label));return Z(nv,{ref:c,currentName:p.value,editable:e.editable,type:e.type,panes:i.value,stretch:e.stretch,onTabClick:v,onTabRemove:h},{$stable:!t})}},null),o]),s=Z("div",{class:a.e("content")},[H(n,"default")]);return Z("div",{class:[a.b(),a.m(e.tabPosition),{[a.m("card")]:"card"===e.type,[a.m("border-card")]:"border-card"===e.type}]},[s,l])}}}),iv=Yn({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),sv="ElTabPane",uv=O({name:sv});var cv=Hr(O(u(s({},uv),{props:iv,setup(e){const t=e,n=b(),o=Q(),l=N(Gf);l||rn(sv,"usage: ");const a=Io("tab-pane"),r=m(),i=C((()=>t.closable||l.props.closable)),s=gt((()=>{var e;return l.currentName.value===(null!=(e=t.name)?e:r.value)})),u=m(s.value),c=C((()=>{var e;return null!=(e=t.name)?e:r.value})),d=gt((()=>!t.lazy||u.value||s.value));g(s,(e=>{e&&(u.value=!0)}));const f=U({uid:n.uid,slots:o,props:t,paneName:c,active:s,index:r,isClosable:i});return l.registerPane(f),y((()=>{l.sortPane(f)})),K((()=>{l.unregisterPane(f.uid)})),(e,t)=>p(d)?ce((T(),B("div",{key:0,id:`pane-${p(c)}`,class:G(p(a).b()),role:"tabpanel","aria-hidden":!p(s),"aria-labelledby":`tab-${p(c)}`},[H(e.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[de,p(s)]]):re("v-if",!0)}})),[["__file","tab-pane.vue"]]);const dv=eo(rv,{TabPane:cv}),pv=to(cv),fv=Symbol("uploadContextKey");class vv extends Error{constructor(e,t,n,o){super(e),this.name="UploadAjaxError",this.status=t,this.method=n,this.url=o}}function mv(e,t,n){let o;return o=n.response?`${n.response.error||n.response}`:n.responseText?`${n.responseText}`:`fail to ${t.method} ${e} ${n.status}`,new vv(o,n.status,t.method,e)}const gv=["text","picture","picture-card"];let hv=1;const bv=()=>Date.now()+hv++,yv=Yn({action:{type:String,default:"#"},headers:{type:Object},method:{type:String,default:"post"},data:{type:[Object,Function,Promise],default:()=>({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:Array,default:()=>[]},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:gv,default:"text"},httpRequest:{type:Function,default:e=>{"undefined"==typeof XMLHttpRequest&&rn("ElUpload","XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",(t=>{const n=t;n.percent=t.total>0?t.loaded/t.total*100:0,e.onProgress(n)}));const o=new FormData;if(e.data)for(const[a,r]of Object.entries(e.data))F(r)&&r.length?o.append(a,...r):o.append(a,r);o.append(e.filename,e.file,e.file.name),t.addEventListener("error",(()=>{e.onError(mv(n,e,t))})),t.addEventListener("load",(()=>{if(t.status<200||t.status>=300)return e.onError(mv(n,e,t));e.onSuccess(function(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}(t))})),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const l=e.headers||{};if(l instanceof Headers)l.forEach(((e,n)=>t.setRequestHeader(n,e)));else for(const[a,r]of Object.entries(l))je(r)||t.setRequestHeader(a,String(r));return t.send(o),t}},disabled:Boolean,limit:Number}),wv=Yn(u(s({},yv),{beforeUpload:{type:Function,default:R},beforeRemove:{type:Function},onRemove:{type:Function,default:R},onChange:{type:Function,default:R},onPreview:{type:Function,default:R},onSuccess:{type:Function,default:R},onProgress:{type:Function,default:R},onError:{type:Function,default:R},onExceed:{type:Function,default:R},crossorigin:{type:String}})),xv=Yn({files:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},handlePreview:{type:Function,default:R},listType:{type:String,values:gv,default:"text"},crossorigin:{type:String}}),kv=O({name:"ElUploadList"});var Cv=Hr(O(u(s({},kv),{props:xv,emits:{remove:e=>!!e},setup(e,{emit:t}){const n=e,{t:o}=xo(),l=Io("upload"),a=Io("icon"),r=Io("list"),i=Xr(),s=m(!1),u=C((()=>[l.b("list"),l.bm("list",n.listType),l.is("disabled",n.disabled)])),c=e=>{t("remove",e)};return(e,t)=>(T(),te(ie,{tag:"ul",class:G(p(u)),name:p(r).b()},{default:ee((()=>[(T(!0),B(J,null,ye(e.files,((t,n)=>(T(),B("li",{key:t.uid||t.name,class:G([p(l).be("list","item"),p(l).is(t.status),{focusing:s.value}]),tabindex:"0",onKeydown:Le((e=>!p(i)&&c(t)),["delete"]),onFocus:e=>s.value=!0,onBlur:e=>s.value=!1,onClick:e=>s.value=!1},[H(e.$slots,"default",{file:t,index:n},(()=>["picture"===e.listType||"uploading"!==t.status&&"picture-card"===e.listType?(T(),B("img",{key:0,class:G(p(l).be("list","item-thumbnail")),src:t.url,crossorigin:e.crossorigin,alt:""},null,10,["src","crossorigin"])):re("v-if",!0),"uploading"===t.status||"picture-card"!==e.listType?(T(),B("div",{key:1,class:G(p(l).be("list","item-info"))},[M("a",{class:G(p(l).be("list","item-name")),onClick:ue((n=>e.handlePreview(t)),["prevent"])},[Z(p(Kr),{class:G(p(a).m("document"))},{default:ee((()=>[Z(p(In))])),_:1},8,["class"]),M("span",{class:G(p(l).be("list","item-file-name")),title:t.name},ae(t.name),11,["title"])],10,["onClick"]),"uploading"===t.status?(T(),te(p(xf),{key:0,type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:Number(t.percentage),style:oe("picture-card"===e.listType?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):re("v-if",!0)],2)):re("v-if",!0),M("label",{class:G(p(l).be("list","item-status-label"))},["text"===e.listType?(T(),te(p(Kr),{key:0,class:G([p(a).m("upload-success"),p(a).m("circle-check")])},{default:ee((()=>[Z(p(xn))])),_:1},8,["class"])):["picture-card","picture"].includes(e.listType)?(T(),te(p(Kr),{key:1,class:G([p(a).m("upload-success"),p(a).m("check")])},{default:ee((()=>[Z(p(wn))])),_:1},8,["class"])):re("v-if",!0)],2),p(i)?re("v-if",!0):(T(),te(p(Kr),{key:2,class:G(p(a).m("close")),onClick:e=>c(t)},{default:ee((()=>[Z(p(Sn))])),_:2},1032,["class","onClick"])),re(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),re(" This is a bug which needs to be fixed "),re(" TODO: Fix the incorrect navigation interaction "),p(i)?re("v-if",!0):(T(),B("i",{key:3,class:G(p(a).m("close-tip"))},ae(p(o)("el.upload.deleteTip")),3)),"picture-card"===e.listType?(T(),B("span",{key:4,class:G(p(l).be("list","item-actions"))},[M("span",{class:G(p(l).be("list","item-preview")),onClick:n=>e.handlePreview(t)},[Z(p(Kr),{class:G(p(a).m("zoom-in"))},{default:ee((()=>[Z(p(qn))])),_:1},8,["class"])],10,["onClick"]),p(i)?re("v-if",!0):(T(),B("span",{key:0,class:G(p(l).be("list","item-delete")),onClick:e=>c(t)},[Z(p(Kr),{class:G(p(a).m("delete"))},{default:ee((()=>[Z(p(En))])),_:1},8,["class"])],10,["onClick"]))],2)):re("v-if",!0)]))],42,["onKeydown","onFocus","onBlur","onClick"])))),128)),H(e.$slots,"append")])),_:3},8,["class","name"]))}})),[["__file","upload-list.vue"]]);const Sv=Yn({disabled:{type:Boolean,default:!1}}),Ev={file:e=>F(e)},Iv="ElUploadDrag",Ov=O({name:Iv});var Tv=Hr(O(u(s({},Ov),{props:Sv,emits:Ev,setup(e,{emit:t}){N(fv)||rn(Iv,"usage: ");const n=Io("upload"),o=m(!1),l=Xr(),a=e=>{if(l.value)return;o.value=!1,e.stopPropagation();const n=Array.from(e.dataTransfer.files);t("file",n)},r=()=>{l.value||(o.value=!0)};return(e,t)=>(T(),B("div",{class:G([p(n).b("dragger"),p(n).is("dragover",o.value)]),onDrop:ue(a,["prevent"]),onDragover:ue(r,["prevent"]),onDragleave:ue((e=>o.value=!1),["prevent"])},[H(e.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}})),[["__file","upload-dragger.vue"]]);const Bv=Yn(u(s({},yv),{beforeUpload:{type:Function,default:R},onRemove:{type:Function,default:R},onStart:{type:Function,default:R},onSuccess:{type:Function,default:R},onProgress:{type:Function,default:R},onError:{type:Function,default:R},onExceed:{type:Function,default:R}})),Mv=O({name:"ElUploadContent",inheritAttrs:!1});var Lv=Hr(O(u(s({},Mv),{props:Bv,setup(e,{expose:t}){const n=e,o=Io("upload"),l=Xr(),a=x({}),r=x(),i=e=>{if(0===e.length)return;const{autoUpload:t,limit:o,fileList:l,multiple:a,onStart:r,onExceed:i}=n;if(o&&l.length+e.length>o)i(e,l);else{a||(e=e.slice(0,1));for(const n of e){const e=n;e.uid=bv(),r(e),t&&s(e)}}},s=e=>d(this,null,(function*(){if(r.value.value="",!n.beforeUpload)return c(e);let t,o={};try{const l=n.data,a=n.beforeUpload(e);o=Ve(n.data)?et(n.data):n.data,t=yield a,Ve(n.data)&&Ze(l,o)&&(o=et(n.data))}catch(a){t=!1}if(!1===t)return void n.onRemove(e);let l=e;t instanceof Blob&&(l=t instanceof File?t:new File([t],e.name,{type:e.type})),c(Object.assign(l,{uid:e.uid}),o)})),u=(e,t)=>d(this,null,(function*(){return $(e)?e(t):e})),c=(e,t)=>d(this,null,(function*(){const{headers:o,data:l,method:r,withCredentials:i,name:s,action:c,onProgress:d,onSuccess:p,onError:f,httpRequest:v}=n;try{t=yield u(null!=t?t:l,e)}catch(b){return void n.onRemove(e)}const{uid:m}=e,g={headers:o||{},withCredentials:i,file:e,data:t,method:r,filename:s,action:c,onProgress:t=>{d(t,e)},onSuccess:t=>{p(t,e),delete a.value[m]},onError:t=>{f(t,e),delete a.value[m]}},h=v(g);a.value[m]=h,h instanceof Promise&&h.then(g.onSuccess,g.onError)})),f=e=>{const t=e.target.files;t&&i(Array.from(t))},v=()=>{l.value||(r.value.value="",r.value.click())},m=()=>{v()};return t({abort:e=>{var t;(t=a.value,Object.entries(t)).filter(e?([t])=>String(e.uid)===t:()=>!0).forEach((([e,t])=>{t instanceof XMLHttpRequest&&t.abort(),delete a.value[e]}))},upload:s}),(e,t)=>(T(),B("div",{class:G([p(o).b(),p(o).m(e.listType),p(o).is("drag",e.drag),p(o).is("disabled",p(l))]),tabindex:p(l)?"-1":"0",onClick:v,onKeydown:Le(ue(m,["self"]),["enter","space"])},[e.drag?(T(),te(Tv,{key:0,disabled:p(l),onFile:i},{default:ee((()=>[H(e.$slots,"default")])),_:3},8,["disabled"])):H(e.$slots,"default",{key:1}),M("input",{ref_key:"inputRef",ref:r,class:G(p(o).e("input")),name:e.name,disabled:p(l),multiple:e.multiple,accept:e.accept,type:"file",onChange:f,onClick:ue((()=>{}),["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}})),[["__file","upload-content.vue"]]);const _v="ElUpload",Av=e=>{var t;(null==(t=e.url)?void 0:t.startsWith("blob:"))&&URL.revokeObjectURL(e.url)},Rv=O({name:"ElUpload"});const $v=eo(Hr(O(u(s({},Rv),{props:wv,setup(e,{expose:t}){const n=e,o=Xr(),l=x(),{abort:a,submit:r,clearFiles:i,uploadFiles:c,handleStart:f,handleError:v,handleRemove:m,handleSuccess:h,handleProgress:b,revokeFileObjectURL:y}=((e,t)=>{const n=Xt(e,"fileList",void 0,{passive:!0}),o=e=>n.value.find((t=>t.uid===e.uid));function l(e){var n;null==(n=t.value)||n.abort(e)}function a(e){n.value=n.value.filter((t=>t!==e))}return g((()=>e.listType),(t=>{"picture-card"!==t&&"picture"!==t||(n.value=n.value.map((t=>{const{raw:o,url:l}=t;if(!l&&o)try{t.url=URL.createObjectURL(o)}catch(a){e.onError(a,t,n.value)}return t})))})),g(n,(e=>{for(const t of e)t.uid||(t.uid=bv()),t.status||(t.status="success")}),{immediate:!0,deep:!0}),{uploadFiles:n,abort:l,clearFiles:function(e=["ready","uploading","success","fail"]){n.value=n.value.filter((t=>!e.includes(t.status)))},handleError:(t,l)=>{const r=o(l);r&&(r.status="fail",a(r),e.onError(t,r,n.value),e.onChange(r,n.value))},handleProgress:(t,l)=>{const a=o(l);a&&(e.onProgress(t,a,n.value),a.status="uploading",a.percentage=Math.round(t.percent))},handleStart:t=>{je(t.uid)&&(t.uid=bv());const o={name:t.name,percentage:0,status:"ready",size:t.size,raw:t,uid:t.uid};if("picture-card"===e.listType||"picture"===e.listType)try{o.url=URL.createObjectURL(t)}catch(l){l.message,e.onError(l,o,n.value)}n.value=[...n.value,o],e.onChange(o,n.value)},handleSuccess:(t,l)=>{const a=o(l);a&&(a.status="success",a.response=t,e.onSuccess(t,a,n.value),e.onChange(a,n.value))},handleRemove:t=>d(void 0,null,(function*(){const r=t instanceof File?o(t):t;r||rn(_v,"file to be removed not found");const i=t=>{l(t),a(t),e.onRemove(t,n.value),Av(t)};e.beforeRemove?!1!==(yield e.beforeRemove(r,n.value))&&i(r):i(r)})),submit:function(){n.value.filter((({status:e})=>"ready"===e)).forEach((({raw:e})=>{var n;return e&&(null==(n=t.value)?void 0:n.upload(e))}))},revokeFileObjectURL:Av}})(n,l),w=C((()=>"picture-card"===n.listType)),k=C((()=>u(s({},n),{fileList:c.value,onStart:f,onProgress:b,onSuccess:h,onError:v,onRemove:m})));return P((()=>{c.value.forEach(y)})),j(fv,{accept:W(n,"accept")}),t({abort:a,submit:r,clearFiles:i,handleStart:f,handleRemove:m}),(e,t)=>(T(),B("div",null,[p(w)&&e.showFileList?(T(),te(Cv,{key:0,disabled:p(o),"list-type":e.listType,files:p(c),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:p(m)},Ee({append:ee((()=>[Z(Lv,q({ref_key:"uploadRef",ref:l},p(k)),{default:ee((()=>[e.$slots.trigger?H(e.$slots,"trigger",{key:0}):re("v-if",!0),!e.$slots.trigger&&e.$slots.default?H(e.$slots,"default",{key:1}):re("v-if",!0)])),_:3},16)])),_:2},[e.$slots.file?{name:"default",fn:ee((({file:t,index:n})=>[H(e.$slots,"file",{file:t,index:n})]))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):re("v-if",!0),!p(w)||p(w)&&!e.showFileList?(T(),te(Lv,q({key:1,ref_key:"uploadRef",ref:l},p(k)),{default:ee((()=>[e.$slots.trigger?H(e.$slots,"trigger",{key:0}):re("v-if",!0),!e.$slots.trigger&&e.$slots.default?H(e.$slots,"default",{key:1}):re("v-if",!0)])),_:3},16)):re("v-if",!0),e.$slots.trigger?H(e.$slots,"default",{key:2}):re("v-if",!0),H(e.$slots,"tip"),!p(w)&&e.showFileList?(T(),te(Cv,{key:3,disabled:p(o),"list-type":e.listType,files:p(c),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:p(m)},Ee({_:2},[e.$slots.file?{name:"default",fn:ee((({file:t,index:n})=>[H(e.$slots,"file",{file:t,index:n})]))}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):re("v-if",!0)]))}})),[["__file","upload.vue"]])),Fv=Yn({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:Object},targetAreaClickable:{type:Boolean,default:!0}}),Vv=(e,t,n,o,l)=>{const a=m(null),r=()=>{let t;return t=S(e.value)?document.querySelector(e.value):$(e.value)?e.value():e.value,t},i=()=>{const e=r();if(!e||!t.value)return void(a.value=null);!function(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:o,right:l,bottom:a,left:r}=e.getBoundingClientRect();return o>=0&&r>=0&&l<=t&&a<=n}(e)&&t.value&&e.scrollIntoView(l.value);const{left:n,top:o,width:i,height:s}=e.getBoundingClientRect();a.value={left:n,top:o,width:i,height:s,radius:0}};y((()=>{g([t,e],(()=>{i()}),{immediate:!0}),window.addEventListener("resize",i)})),P((()=>{window.removeEventListener("resize",i)}));const s=e=>{var t;return null!=(t=F(n.value.offset)?n.value.offset[e]:n.value.offset)?t:6},u=C((()=>{var e;if(!a.value)return a.value;const t=s(0),o=s(1),l=(null==(e=n.value)?void 0:e.radius)||2;return{left:a.value.left-t,top:a.value.top-o,width:a.value.width+2*t,height:a.value.height+2*o,radius:l}})),c=C((()=>{const e=r();return o.value&&e&&window.DOMRect?{getBoundingClientRect(){var e,t,n,o;return window.DOMRect.fromRect({width:(null==(e=u.value)?void 0:e.width)||0,height:(null==(t=u.value)?void 0:t.height)||0,x:(null==(n=u.value)?void 0:n.left)||0,y:(null==(o=u.value)?void 0:o.top)||0})}}:e||void 0}));return{mergedPosInfo:u,triggerTarget:c}},Pv=Symbol("ElTour");const Nv=()=>({name:"overflow",fn(e){return d(this,null,(function*(){const t=yield br(e);let n=0;t.left>0&&(n=t.left),t.right>0&&(n=t.right);return{data:{maxWidth:e.rects.floating.width-n}}}))}}),zv=O({name:"ElTourMask",inheritAttrs:!1});var Dv=Hr(O(u(s({},zv),{props:Fv,setup(e){const t=e,{ns:n}=N(Pv),o=C((()=>{var e,n;return null!=(n=null==(e=t.pos)?void 0:e.radius)?n:2})),l=C((()=>{const e=o.value,t=`a${e},${e} 0 0 1`;return{topRight:`${t} ${e},${e}`,bottomRight:`${t} ${-e},${e}`,bottomLeft:`${t} ${-e},${-e}`,topLeft:`${t} ${e},${-e}`}})),a=C((()=>{const e=window.innerWidth,n=window.innerHeight,a=l.value,r=`M${e},0 L0,0 L0,${n} L${e},${n} L${e},0 Z`,i=o.value;return t.pos?`${r} M${t.pos.left+i},${t.pos.top} h${t.pos.width-2*i} ${a.topRight} v${t.pos.height-2*i} ${a.bottomRight} h${-t.pos.width+2*i} ${a.bottomLeft} v${-t.pos.height+2*i} ${a.topLeft} z`:r})),r=C((()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"})));return Oo(W(t,"visible"),{ns:n}),(e,t)=>e.visible?(T(),B("div",q({key:0,class:p(n).e("mask"),style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:e.zIndex,pointerEvents:e.pos&&e.targetAreaClickable?"none":"auto"}},e.$attrs),[(T(),B("svg",{style:{width:"100%",height:"100%"}},[M("path",{class:G(p(n).e("hollow")),style:oe(p(r)),d:p(a)},null,14,["d"])]))],16)):re("v-if",!0)}})),[["__file","mask.vue"]]);const jv=Yn({placement:{type:String,values:["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],default:"bottom"},reference:{type:Object,default:null},strategy:{type:String,values:["absolute","fixed"],default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),Hv=O({name:"ElTourContent"});var qv=Hr(O(u(s({},Hv),{props:jv,emits:{close:()=>!0},setup(e,{emit:t}){const n=e,o=m(n.placement),l=m(n.strategy),a=m(null),r=m(null);g((()=>n.placement),(()=>{o.value=n.placement}));const{contentStyle:i,arrowStyle:s}=((e,t,n,o,l,a,r,i)=>{const s=m(),u=m(),c=m({}),f={x:s,y:u,placement:o,strategy:l,middlewareData:c},v=C((()=>{const e=[yr(p(a)),xr(),wr(),Nv()];return p(i)&&p(n)&&e.push(kr({element:p(n)})),e})),g=()=>d(void 0,null,(function*(){if(!ht)return;const n=p(e),a=p(t);if(!n||!a)return;const r=yield Cr(n,a,{placement:p(o),strategy:p(l),middleware:p(v)});on(f).forEach((e=>{f[e].value=r[e]}))})),h=C((()=>{if(!p(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:p(r)};const{overflow:t}=p(c);return{position:p(l),zIndex:p(r),top:null!=p(u)?`${p(u)}px`:"",left:null!=p(s)?`${p(s)}px`:"",maxWidth:(null==t?void 0:t.maxWidth)?`${null==t?void 0:t.maxWidth}px`:""}})),b=C((()=>{if(!p(i))return{};const{arrow:e}=p(c);return{left:null!=(null==e?void 0:e.x)?`${null==e?void 0:e.x}px`:"",top:null!=(null==e?void 0:e.y)?`${null==e?void 0:e.y}px`:""}}));let w;return y((()=>{const n=p(e),o=p(t);n&&o&&(w=hr(n,o,g)),k((()=>{g()}))})),P((()=>{w&&w()})),{update:g,contentStyle:h,arrowStyle:b}})(W(n,"reference"),a,r,o,l,W(n,"offset"),W(n,"zIndex"),W(n,"showArrow")),u=C((()=>o.value.split("-")[0])),{ns:c}=N(Pv),f=()=>{t("close")},v=e=>{"pointer"===e.detail.focusReason&&e.preventDefault()};return(e,t)=>(T(),B("div",{ref_key:"contentRef",ref:a,style:oe(p(i)),class:G(p(c).e("content")),"data-side":p(u),tabindex:"-1"},[Z(p(Vs),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":a.value||void 0,onReleaseRequested:f,onFocusoutPrevented:v},{default:ee((()=>[H(e.$slots,"default")])),_:3},8,["focus-trap-el"]),e.showArrow?(T(),B("span",{key:0,ref_key:"arrowRef",ref:r,style:oe(p(s)),class:G(p(c).e("arrow"))},null,6)):re("v-if",!0)],14,["data-side"]))}})),[["__file","content.vue"]]),Wv=O({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let o=0;return()=>{var l,a;const r=null==(l=t.default)?void 0:l.call(t),i=[];let s=0;var u;return r.length&&(u=co(null==(a=r[0])?void 0:a.children),F(u)&&u.forEach((e=>{var t;"ElTourStep"===(null==(t=(null==e?void 0:e.type)||{})?void 0:t.name)&&(i.push(e),s+=1)}))),o!==s&&(o=s,n("update-total",s)),i.length?i[e.current]:null}}});const Kv=Yn({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:Gn},placement:jv.placement,contentStyle:{type:[Object]},mask:{type:[Boolean,Object],default:!0},gap:{type:Object,default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:[Boolean,Object],default:()=>({block:"center"})},type:{type:String},appendTo:{type:[String,Object],default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),Uv={[lo]:e=>Jt(e),"update:current":e=>Qt(e),close:e=>Qt(e),finish:()=>!0,change:e=>Qt(e)},Yv=O({name:"ElTour"});var Gv=Hr(O(u(s({},Yv),{props:Kv,emits:Uv,setup(e,{emit:t}){const n=e,o=Io("tour"),l=m(0),a=m(),r=Xt(n,"current",t,{passive:!0}),i=C((()=>{var e;return null==(e=a.value)?void 0:e.target})),s=C((()=>[o.b(),"primary"===y.value?o.m("primary"):""])),u=C((()=>{var e;return(null==(e=a.value)?void 0:e.placement)||n.placement})),c=C((()=>{var e,t;return null!=(t=null==(e=a.value)?void 0:e.contentStyle)?t:n.contentStyle})),d=C((()=>{var e,t;return null!=(t=null==(e=a.value)?void 0:e.mask)?t:n.mask})),f=C((()=>!!d.value&&n.modelValue)),v=C((()=>Jt(d.value)?void 0:d.value)),h=C((()=>{var e,t;return!!i.value&&(null!=(t=null==(e=a.value)?void 0:e.showArrow)?t:n.showArrow)})),b=C((()=>{var e,t;return null!=(t=null==(e=a.value)?void 0:e.scrollIntoViewOptions)?t:n.scrollIntoViewOptions})),y=C((()=>{var e,t;return null!=(t=null==(e=a.value)?void 0:e.type)?t:n.type})),{nextZIndex:w}=ga(),x=w(),k=C((()=>{var e;return null!=(e=n.zIndex)?e:x})),{mergedPosInfo:S,triggerTarget:E}=Vv(i,W(n,"modelValue"),W(n,"gap"),d,b);g((()=>n.modelValue),(e=>{e||(r.value=0)}));const I=()=>{n.closeOnPressEscape&&(t("update:modelValue",!1),t("close",r.value))},O=e=>{l.value=e},L=Q();return j(Pv,{currentStep:a,current:r,total:l,showClose:W(n,"showClose"),closeIcon:W(n,"closeIcon"),mergedType:y,ns:o,slots:L,updateModelValue(e){t("update:modelValue",e)},onClose(){t("close",r.value)},onFinish(){t("finish")},onChange(){t("change",r.value)}}),(e,t)=>(T(),B(J,null,[Z(p(lu),{to:e.appendTo},{default:ee((()=>{var t,n;return[M("div",q({class:p(s)},e.$attrs),[Z(Dv,{visible:p(f),fill:null==(t=p(v))?void 0:t.color,style:oe(null==(n=p(v))?void 0:n.style),pos:p(S),"z-index":p(k),"target-area-clickable":e.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),e.modelValue?(T(),te(qv,{key:p(r),reference:p(E),placement:p(u),"show-arrow":p(h),"z-index":p(k),style:oe(p(c)),onClose:I},{default:ee((()=>[Z(p(Wv),{current:p(r),onUpdateTotal:O},{default:ee((()=>[H(e.$slots,"default")])),_:3},8,["current"])])),_:3},8,["reference","placement","show-arrow","z-index","style"])):re("v-if",!0)],16)]})),_:3},8,["to"]),re(" just for IDE "),re("v-if",!0)],64))}})),[["__file","tour.vue"]]);const Xv=Yn({target:{type:[String,Object,Function]},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:Gn},showArrow:{type:Boolean,default:void 0},placement:jv.placement,mask:{type:[Boolean,Object],default:void 0},contentStyle:{type:[Object]},prevButtonProps:{type:Object},nextButtonProps:{type:Object},scrollIntoViewOptions:{type:[Boolean,Object],default:void 0},type:{type:String}}),Zv=O({name:"ElTourStep"});var Jv=Hr(O(u(s({},Zv),{props:Xv,emits:{close:()=>!0},setup(e,{emit:t}){const n=e,{Close:o}=Xn,{t:l}=xo(),{currentStep:a,current:r,total:i,showClose:s,closeIcon:u,mergedType:c,ns:d,slots:f,updateModelValue:v,onClose:m,onFinish:h,onChange:b}=N(Pv);g(n,(e=>{a.value=e}),{immediate:!0});const y=C((()=>{var e;return null!=(e=n.showClose)?e:s.value})),w=C((()=>{var e,t;return null!=(t=null!=(e=n.closeIcon)?e:u.value)?t:o})),x=e=>{if(e)return tt(e,["children","onClick"])},k=()=>{var e,t;r.value-=1,(null==(e=n.prevButtonProps)?void 0:e.onClick)&&(null==(t=n.prevButtonProps)||t.onClick()),b()},S=()=>{var e;r.value>=i.value-1?E():r.value+=1,(null==(e=n.nextButtonProps)?void 0:e.onClick)&&n.nextButtonProps.onClick(),b()},E=()=>{I(),h()},I=()=>{v(!1),m(),t("close")};return(e,t)=>(T(),B(J,null,[p(y)?(T(),B("button",{key:0,"aria-label":"Close",class:G(p(d).e("closebtn")),type:"button",onClick:I},[Z(p(Kr),{class:G(p(d).e("close"))},{default:ee((()=>[(T(),te(ne(p(w))))])),_:1},8,["class"])],2)):re("v-if",!0),M("header",{class:G([p(d).e("header"),{"show-close":p(s)}])},[H(e.$slots,"header",{},(()=>[M("span",{role:"heading",class:G(p(d).e("title"))},ae(e.title),3)]))],2),M("div",{class:G(p(d).e("body"))},[H(e.$slots,"default",{},(()=>[M("span",null,ae(e.description),1)]))],2),M("footer",{class:G(p(d).e("footer"))},[M("div",{class:G(p(d).b("indicators"))},[p(f).indicators?(T(),te(ne(p(f).indicators),{key:0,current:p(r),total:p(i)},null,8,["current","total"])):(T(!0),B(J,{key:1},ye(p(i),((e,t)=>(T(),B("span",{key:e,class:G([p(d).b("indicator"),t===p(r)?"is-active":""])},null,2)))),128))],2),M("div",{class:G(p(d).b("buttons"))},[p(r)>0?(T(),te(p(zu),q({key:0,size:"small",type:p(c)},x(e.prevButtonProps),{onClick:k}),{default:ee((()=>{var t,n;return[le(ae(null!=(n=null==(t=e.prevButtonProps)?void 0:t.children)?n:p(l)("el.tour.previous")),1)]})),_:1},16,["type"])):re("v-if",!0),p(r)<=p(i)-1?(T(),te(p(zu),q({key:1,size:"small",type:"primary"===p(c)?"default":"primary"},x(e.nextButtonProps),{onClick:S}),{default:ee((()=>{var t,n;return[le(ae(null!=(n=null==(t=e.nextButtonProps)?void 0:t.children)?n:p(r)===p(i)-1?p(l)("el.tour.finish"):p(l)("el.tour.next")),1)]})),_:1},16,["type"])):re("v-if",!0)],2)],2)],64))}})),[["__file","step.vue"]]);const Qv=eo(Gv,{TourStep:Jv}),em=to(Jv);function tm(e){let t;const n=m(!1),o=U(u(s({},e),{originalPosition:"",originalOverflow:"",visible:!1}));function l(){var e,t;null==(t=null==(e=c.$el)?void 0:e.parentNode)||t.removeChild(c.$el)}function a(){if(!n.value)return;const e=o.parent;n.value=!1,e.vLoadingAddClassList=void 0,function(){const e=o.parent,t=c.ns;if(!e.vLoadingAddClassList){let n=e.getAttribute("loading-number");n=Number.parseInt(n)-1,n?e.setAttribute("loading-number",n.toString()):(dn(e,t.bm("parent","relative")),e.removeAttribute("loading-number")),dn(e,t.bm("parent","hidden"))}l(),i.unmount()}()}const r=O({name:"ElLoading",setup(e,{expose:t}){const{ns:n,zIndex:l}=Vr("loading");return t({ns:n,zIndex:l}),()=>{const e=o.spinner||o.svg,t=Se("svg",s({class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50"},e?{innerHTML:e}:{}),[Se("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),l=o.text?Se("p",{class:n.b("text")},[o.text]):void 0;return Se(pe,{name:n.b("fade"),onAfterLeave:a},{default:ee((()=>[ce(Z("div",{style:{backgroundColor:o.background||""},class:[n.b("mask"),o.customClass,o.fullscreen?"is-fullscreen":""]},[Se("div",{class:n.b("spinner")},[t,l])]),[[de,o.visible]])]))})}}}),i=Pe(r),c=i.mount(document.createElement("div"));return u(s({},Y(o)),{setText:function(e){o.text=e},removeElLoadingChild:l,close:function(){var l;e.beforeClose&&!e.beforeClose()||(n.value=!0,clearTimeout(t),t=setTimeout(a,400),o.visible=!1,null==(l=e.closed)||l.call(e))},handleAfterLeave:a,vm:c,get $el(){return c.$el}})}let nm;const om=function(e={}){if(!ht)return;const t=lm(e);if(t.fullscreen&&nm)return nm;const n=tm(u(s({},t),{closed:()=>{var e;null==(e=t.closed)||e.call(t),t.fullscreen&&(nm=void 0)}}));am(t,t.parent,n),rm(t,t.parent,n),t.parent.vLoadingAddClassList=()=>rm(t,t.parent,n);let o=t.parent.getAttribute("loading-number");return o=o?`${Number.parseInt(o)+1}`:"1",t.parent.setAttribute("loading-number",o),t.parent.appendChild(n.$el),w((()=>n.visible.value=t.visible)),t.fullscreen&&(nm=n),n},lm=e=>{var t,n,o,l;let a;return a=S(e.target)?null!=(t=document.querySelector(e.target))?t:document.body:e.target||document.body,{parent:a===document.body||e.body?document.body:a,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:a===document.body&&(null==(n=e.fullscreen)||n),lock:null!=(o=e.lock)&&o,customClass:e.customClass||"",visible:null==(l=e.visible)||l,beforeClose:e.beforeClose,closed:e.closed,target:a}},am=(e,t,n)=>d(void 0,null,(function*(){const{nextZIndex:o}=n.vm.zIndex||n.vm._.exposed.zIndex,l={};if(e.fullscreen)n.originalPosition.value=pn(document.body,"position"),n.originalOverflow.value=pn(document.body,"overflow"),l.zIndex=o();else if(e.parent===document.body){n.originalPosition.value=pn(document.body,"position"),yield w();for(const t of["top","left"]){const n="top"===t?"scrollTop":"scrollLeft";l[t]=e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]-Number.parseInt(pn(document.body,`margin-${t}`),10)+"px"}for(const t of["height","width"])l[t]=`${e.target.getBoundingClientRect()[t]}px`}else n.originalPosition.value=pn(t,"position");for(const[e,t]of Object.entries(l))n.$el.style[e]=t})),rm=(e,t,n)=>{const o=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?dn(t,o.bm("parent","relative")):cn(t,o.bm("parent","relative")),e.fullscreen&&e.lock?cn(t,o.bm("parent","hidden")):dn(t,o.bm("parent","hidden"))},im=Symbol("ElLoading"),sm=(e,t)=>{var n,o,l,a;const r=t.instance,i=e=>L(t.value)?t.value[e]:void 0,s=t=>(e=>{const t=S(e)&&(null==r?void 0:r[e])||e;return t?m(t):t})(i(t)||e.getAttribute(`element-loading-${Ne(t)}`)),u=null!=(n=i("fullscreen"))?n:t.modifiers.fullscreen,c={text:s("text"),svg:s("svg"),svgViewBox:s("svgViewBox"),spinner:s("spinner"),background:s("background"),customClass:s("customClass"),fullscreen:u,target:null!=(o=i("target"))?o:u?void 0:e,body:null!=(l=i("body"))?l:t.modifiers.body,lock:null!=(a=i("lock"))?a:t.modifiers.lock};e[im]={options:c,instance:om(c)}},um={mounted(e,t){t.value&&sm(e,t)},updated(e,t){const n=e[im];t.oldValue!==t.value&&(t.value&&!t.oldValue?sm(e,t):t.value&&t.oldValue?L(t.value)&&((e,t)=>{for(const n of Object.keys(t))z(t[n])&&(t[n].value=e[n])})(t.value,n.options):null==n||n.instance.close())},unmounted(e){var t;null==(t=e[im])||t.instance.close(),e[im]=null}},cm={install(e){e.directive("loading",um),e.config.globalProperties.$loading=om},directive:um,service:om},dm=["success","info","warning","error"],pm={customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:ht?document.body:void 0},fm=Yn({customClass:{type:String,default:pm.customClass},center:{type:Boolean,default:pm.center},dangerouslyUseHTMLString:{type:Boolean,default:pm.dangerouslyUseHTMLString},duration:{type:Number,default:pm.duration},icon:{type:Gn,default:pm.icon},id:{type:String,default:pm.id},message:{type:[String,Object,Function],default:pm.message},onClose:{type:Function,default:pm.onClose},showClose:{type:Boolean,default:pm.showClose},type:{type:String,values:dm,default:pm.type},plain:{type:Boolean,default:pm.plain},offset:{type:Number,default:pm.offset},zIndex:{type:Number,default:pm.zIndex},grouping:{type:Boolean,default:pm.grouping},repeatNum:{type:Number,default:pm.repeatNum}}),vm=ze([]),mm=e=>{const{prev:t}=(e=>{const t=vm.findIndex((t=>t.id===e)),n=vm[t];let o;return t>0&&(o=vm[t-1]),{current:n,prev:o}})(e);return t?t.vm.exposed.bottom.value:0},gm=O({name:"ElMessage"});var hm=Hr(O(u(s({},gm),{props:fm,emits:{destroy:()=>!0},setup(e,{expose:t}){const n=e,{Close:o}=Zn,{ns:l,zIndex:a}=Vr("message"),{currentZIndex:r,nextZIndex:i}=a,s=m(),u=m(!1),c=m(0);let d;const f=C((()=>n.type?"error"===n.type?"danger":n.type:"info")),v=C((()=>{const e=n.type;return{[l.bm("icon",e)]:e&&Jn[e]}})),h=C((()=>n.icon||Jn[n.type]||"")),b=C((()=>mm(n.id))),w=C((()=>((e,t)=>vm.findIndex((t=>t.id===e))>0?16:t)(n.id,n.offset)+b.value)),x=C((()=>c.value+w.value)),k=C((()=>({top:`${w.value}px`,zIndex:r.value})));function S(){0!==n.duration&&({stop:d}=It((()=>{I()}),n.duration))}function E(){null==d||d()}function I(){u.value=!1}return y((()=>{S(),i(),u.value=!0})),g((()=>n.repeatNum),(()=>{E(),S()})),Mt(document,"keydown",(function({code:e}){e===oo.esc&&I()})),Pt(s,(()=>{c.value=s.value.getBoundingClientRect().height})),t({visible:u,bottom:x,close:I}),(e,t)=>(T(),te(pe,{name:p(l).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t=>e.$emit("destroy"),persisted:""},{default:ee((()=>[ce(M("div",{id:e.id,ref_key:"messageRef",ref:s,class:G([p(l).b(),{[p(l).m(e.type)]:e.type},p(l).is("center",e.center),p(l).is("closable",e.showClose),p(l).is("plain",e.plain),e.customClass]),style:oe(p(k)),role:"alert",onMouseenter:E,onMouseleave:S},[e.repeatNum>1?(T(),te(p(du),{key:0,value:e.repeatNum,type:p(f),class:G(p(l).e("badge"))},null,8,["value","type","class"])):re("v-if",!0),p(h)?(T(),te(p(Kr),{key:1,class:G([p(l).e("icon"),p(v)])},{default:ee((()=>[(T(),te(ne(p(h))))])),_:1},8,["class"])):re("v-if",!0),H(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?(T(),B(J,{key:1},[re(" Caution here, message could've been compromised, never use user's input as message "),M("p",{class:G(p(l).e("content")),innerHTML:e.message},null,10,["innerHTML"])],2112)):(T(),B("p",{key:0,class:G(p(l).e("content"))},ae(e.message),3))])),e.showClose?(T(),te(p(Kr),{key:2,class:G(p(l).e("closeBtn")),onClick:ue(I,["stop"])},{default:ee((()=>[Z(p(o))])),_:1},8,["class","onClick"])):re("v-if",!0)],46,["id"]),[[de,u.value]])])),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}})),[["__file","message.vue"]]);let bm=1;const ym=e=>{const t=!e||S(e)||V(e)||$(e)?{message:e}:e,n=s(s({},pm),t);if(n.appendTo){if(S(n.appendTo)){let e=document.querySelector(n.appendTo);en(e)||(e=document.body),n.appendTo=e}}else n.appendTo=document.body;return Jt(Dr.grouping)&&!n.grouping&&(n.grouping=Dr.grouping),Qt(Dr.duration)&&3e3===n.duration&&(n.duration=Dr.duration),Qt(Dr.offset)&&16===n.offset&&(n.offset=Dr.offset),Jt(Dr.showClose)&&!n.showClose&&(n.showClose=Dr.showClose),n},wm=(e,t)=>{var n=e,{appendTo:o}=n,l=c(n,["appendTo"]);const a="message_"+bm++,r=l.onClose,i=document.createElement("div"),d=u(s({},l),{id:a,onClose:()=>{null==r||r(),(e=>{const t=vm.indexOf(e);if(-1===t)return;vm.splice(t,1);const{handler:n}=e;n.close()})(m)},onDestroy:()=>{De(null,i)}}),p=Z(hm,d,$(d.message)||V(d.message)?{default:$(d.message)?d.message:()=>d.message}:null);p.appContext=t||xm._context,De(p,i),o.appendChild(i.firstElementChild);const f=p.component,v={close:()=>{f.exposed.visible.value=!1}},m={id:a,vnode:p,vm:f,handler:v,props:p.component.props};return m},xm=(e={},t)=>{if(!ht)return{close:()=>{}};const n=ym(e);if(n.grouping&&vm.length){const e=vm.find((({vnode:e})=>{var t;return(null==(t=e.props)?void 0:t.message)===n.message}));if(e)return e.props.repeatNum+=1,e.props.type=n.type,e.handler}if(Qt(Dr.max)&&vm.length>=Dr.max)return{close:()=>{}};const o=wm(n,t);return vm.push(o),o.handler};dm.forEach((e=>{xm[e]=(t={},n)=>{const o=ym(t);return xm(u(s({},o),{type:e}),n)}})),xm.closeAll=function(e){for(const t of vm)e&&e!==t.props.type||t.handler.close()},xm._context=null;const km=((e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e))(xm,"$message");var Cm=Hr(O({name:"ElMessageBox",directives:{TrapFocus:Zu},components:s({ElButton:zu,ElFocusTrap:Vs,ElInput:Ki,ElOverlay:yd,ElIcon:Kr},Zn),inheritAttrs:!1,props:{buttonSize:{type:String,validator:so},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:o,ns:l,size:a}=Vr("message-box",C((()=>e.buttonSize))),{t:r}=n,{nextZIndex:i}=o,c=m(!1),p=U({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:Be(Mn),cancelButtonLoadingIcon:Be(Mn),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:i()}),f=C((()=>{const e=p.type;return{[l.bm("icon",e)]:e&&Jn[e]}})),v=oa(),h=oa(),b=C((()=>p.icon||Jn[p.type]||"")),x=C((()=>!!p.message)),k=m(),S=m(),E=m(),I=m(),O=m(),T=C((()=>p.confirmButtonClass));g((()=>p.inputValue),(t=>d(this,null,(function*(){yield w(),"prompt"===e.boxType&&null!==t&&$()}))),{immediate:!0}),g((()=>c.value),(t=>{var n,o;t&&("prompt"!==e.boxType&&(p.autofocus?E.value=null!=(o=null==(n=O.value)?void 0:n.$el)?o:k.value:E.value=k.value),p.zIndex=i()),"prompt"===e.boxType&&(t?w().then((()=>{var e;I.value&&I.value.$el&&(p.autofocus?E.value=null!=(e=F())?e:k.value:E.value=k.value)})):(p.editorErrorMessage="",p.validateError=!1))}));const B=C((()=>e.draggable)),M=C((()=>e.overflow));function L(){c.value&&(c.value=!1,w((()=>{p.action&&t("action",p.action)})))}go(k,S,B,M),y((()=>d(this,null,(function*(){yield w(),e.closeOnHashChange&&window.addEventListener("hashchange",L)})))),P((()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",L)}));const _=()=>{e.closeOnClickModal&&R(p.distinguishCancelAndClose?"close":"cancel")},A=Jl(_),R=t=>{var n;("prompt"!==e.boxType||"confirm"!==t||$())&&(p.action=t,p.beforeClose?null==(n=p.beforeClose)||n.call(p,t,p,L):L())},$=()=>{if("prompt"===e.boxType){const e=p.inputPattern;if(e&&!e.test(p.inputValue||""))return p.editorErrorMessage=p.inputErrorMessage||r("el.messagebox.error"),p.validateError=!0,!1;const t=p.inputValidator;if("function"==typeof t){const e=t(p.inputValue);if(!1===e)return p.editorErrorMessage=p.inputErrorMessage||r("el.messagebox.error"),p.validateError=!0,!1;if("string"==typeof e)return p.editorErrorMessage=e,p.validateError=!0,!1}}return p.editorErrorMessage="",p.validateError=!1,!0},F=()=>{const e=I.value.$refs;return e.input||e.textarea},V=()=>{R("close")};return e.lockScroll&&Oo(c),u(s({},Y(p)),{ns:l,overlayEvent:A,visible:c,hasMessage:x,typeClass:f,contentId:v,inputId:h,btnSize:a,iconComponent:b,confirmButtonClasses:T,rootRef:k,focusStartRef:E,headerRef:S,inputRef:I,confirmRef:O,doClose:L,handleClose:V,onCloseRequested:()=>{e.closeOnPressEscape&&V()},handleWrapperClick:_,handleInputEnter:e=>{if("textarea"!==p.inputType)return e.preventDefault(),R("confirm")},handleAction:R,t:r})}}),[["render",function(e,t,n,o,l,a){const r=Ie("el-icon"),i=Ie("close"),s=Ie("el-input"),u=Ie("el-button"),c=Ie("el-focus-trap"),d=Ie("el-overlay");return T(),te(pe,{name:"fade-in-linear",onAfterLeave:t=>e.$emit("vanish"),persisted:""},{default:ee((()=>[ce(Z(d,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:ee((()=>[M("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:G(`${e.ns.namespace.value}-overlay-message-box`),onClick:e.overlayEvent.onClick,onMousedown:e.overlayEvent.onMousedown,onMouseup:e.overlayEvent.onMouseup},[Z(c,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:ee((()=>[M("div",{ref:"rootRef",class:G([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),{[e.ns.m("center")]:e.center}]),style:oe(e.customStyle),tabindex:"-1",onClick:ue((()=>{}),["stop"])},[null!==e.title&&void 0!==e.title?(T(),B("div",{key:0,ref:"headerRef",class:G([e.ns.e("header"),{"show-close":e.showClose}])},[M("div",{class:G(e.ns.e("title"))},[e.iconComponent&&e.center?(T(),te(r,{key:0,class:G([e.ns.e("status"),e.typeClass])},{default:ee((()=>[(T(),te(ne(e.iconComponent)))])),_:1},8,["class"])):re("v-if",!0),M("span",null,ae(e.title),1)],2),e.showClose?(T(),B("button",{key:0,type:"button",class:G(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),onKeydown:Le(ue((t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),["prevent"]),["enter"])},[Z(r,{class:G(e.ns.e("close"))},{default:ee((()=>[Z(i)])),_:1},8,["class"])],42,["aria-label","onClick","onKeydown"])):re("v-if",!0)],2)):re("v-if",!0),M("div",{id:e.contentId,class:G(e.ns.e("content"))},[M("div",{class:G(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(T(),te(r,{key:0,class:G([e.ns.e("status"),e.typeClass])},{default:ee((()=>[(T(),te(ne(e.iconComponent)))])),_:1},8,["class"])):re("v-if",!0),e.hasMessage?(T(),B("div",{key:1,class:G(e.ns.e("message"))},[H(e.$slots,"default",{},(()=>[e.dangerouslyUseHTMLString?(T(),te(ne(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(T(),te(ne(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:ee((()=>[le(ae(e.dangerouslyUseHTMLString?"":e.message),1)])),_:1},8,["for"]))]))],2)):re("v-if",!0)],2),ce(M("div",{class:G(e.ns.e("input"))},[Z(s,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t=>e.inputValue=t,type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:G({invalid:e.validateError}),onKeydown:Le(e.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),M("div",{class:G(e.ns.e("errormsg")),style:oe({visibility:e.editorErrorMessage?"visible":"hidden"})},ae(e.editorErrorMessage),7)],2),[[de,e.showInput]])],10,["id"]),M("div",{class:G(e.ns.e("btns"))},[e.showCancelButton?(T(),te(u,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:G([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t=>e.handleAction("cancel"),onKeydown:Le(ue((t=>e.handleAction("cancel")),["prevent"]),["enter"])},{default:ee((()=>[le(ae(e.cancelButtonText||e.t("el.messagebox.cancel")),1)])),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):re("v-if",!0),ce(Z(u,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:G([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t=>e.handleAction("confirm"),onKeydown:Le(ue((t=>e.handleAction("confirm")),["prevent"]),["enter"])},{default:ee((()=>[le(ae(e.confirmButtonText||e.t("el.messagebox.confirm")),1)])),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[de,e.showConfirmButton]])],2)],14,["onClick"])])),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,["aria-label","aria-describedby","onClick","onMousedown","onMouseup"])])),_:3},8,["z-index","overlay-class","mask"]),[[de,e.visible]])])),_:3},8,["onAfterLeave"])}],["__file","index.vue"]]);const Sm=new Map,Em=(e,t,n=null)=>{const o=Z(Cm,e,$(e.message)||V(e.message)?{default:$(e.message)?e.message:()=>e.message}:null);return o.appContext=n,De(o,t),(e=>{let t=document.body;return e.appendTo&&(S(e.appendTo)&&(t=document.querySelector(e.appendTo)),en(e.appendTo)&&(t=e.appendTo),en(t)||(t=document.body)),t})(e).appendChild(t.firstElementChild),o.component},Im=(e,t)=>{const n=document.createElement("div");e.onVanish=()=>{De(null,n),Sm.delete(l)},e.onAction=t=>{const n=Sm.get(l);let a;a=e.showInput?{value:l.inputValue,action:t}:t,e.callback?e.callback(a,o.proxy):"cancel"===t||"close"===t?e.distinguishCancelAndClose&&"cancel"!==t?n.reject("close"):n.reject("cancel"):n.resolve(a)};const o=Em(e,n,t),l=o.proxy;for(const a in e)_(e,a)&&!_(l.$props,a)&&(l[a]=e[a]);return l.visible=!0,l};function Om(e,t=null){if(!ht)return Promise.reject();let n;return S(e)||V(e)?e={message:e}:n=e.callback,new Promise(((o,l)=>{const a=Im(e,null!=t?t:Om._context);Sm.set(a,{options:e,callback:n,resolve:o,reject:l})}))}const Tm={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};["alert","confirm","prompt"].forEach((e=>{Om[e]=function(e){return(t,n,o,l)=>{let a="";return L(n)?(o=n,a=""):a=Zt(n)?"":n,Om(Object.assign(s({title:a,message:t,type:""},Tm[e]),o,{boxType:e}),l)}}(e)})),Om.close=()=>{Sm.forEach(((e,t)=>{t.doClose()})),Sm.clear()},Om._context=null;const Bm=Om;Bm.install=e=>{Bm._context=e._context,e.config.globalProperties.$msgbox=Bm,e.config.globalProperties.$messageBox=Bm,e.config.globalProperties.$alert=Bm.alert,e.config.globalProperties.$confirm=Bm.confirm,e.config.globalProperties.$prompt=Bm.prompt};const Mm=Bm;export{Qv as $,Vi as A,Nn as B,vd as C,Yc as D,jr as E,gd as F,Xp as G,Gp as H,md as I,hd as J,su as K,bp as L,yp as M,hp as N,$d as O,cm as P,pv as Q,dv as R,Ec as S,cc as T,uc as U,Du as V,Ld as W,cf as X,Ic as Y,Sc as Z,em as _,km as a,Mm as b,Lp as c,Td as d,Kr as e,$v as f,bv as g,qc as h,nt as i,Hc as j,Hf as k,Yf as l,zu as m,uf as n,sf as o,td as p,Jc as q,bf as r,jc as s,Ki as t,Dn as u,um as v,_n as w,Ln as x,Op as y,Pi as z}; diff --git a/assets/element-plus-MHsvnF2v.js.gz b/assets/element-plus-MHsvnF2v.js.gz new file mode 100644 index 00000000..fbab2311 Binary files /dev/null and b/assets/element-plus-MHsvnF2v.js.gz differ diff --git a/assets/fabric-Dlz3ta-n.js b/assets/fabric-Dlz3ta-n.js new file mode 100644 index 00000000..8293f292 --- /dev/null +++ b/assets/fabric-Dlz3ta-n.js @@ -0,0 +1 @@ +var t=Math.pow,e=(t,e,s)=>new Promise(((i,r)=>{var n=t=>{try{a(s.next(t))}catch(e){r(e)}},o=t=>{try{a(s.throw(t))}catch(e){r(e)}},a=t=>t.done?i(t.value):Promise.resolve(t.value).then(n,o);a((s=s.apply(t,e)).next())}));function s(t,e,s){return(e="symbol"==typeof(i=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,"string");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e))?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t;var i}function i(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function r(t){for(var e=1;e=0)continue;s[i]=t[i]}return s}(t,e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);for(i=0;i=0||{}.propertyIsEnumerable.call(t,s)&&(r[s]=t[s])}return r}function o(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}class a{constructor(){s(this,"browserShadowBlurConstant",1),s(this,"DPI",96),s(this,"devicePixelRatio","undefined"!=typeof window?window.devicePixelRatio:1),s(this,"perfLimitSizeTotal",2097152),s(this,"maxCacheSideLimit",4096),s(this,"minCacheSideLimit",256),s(this,"disableStyleCopyPaste",!1),s(this,"enableGLFiltering",!0),s(this,"textureSize",4096),s(this,"forceGLPutImageData",!1),s(this,"cachesBoundsOfCurve",!0),s(this,"fontPaths",{}),s(this,"NUM_FRACTION_DIGITS",4)}}const h=new class extends a{constructor(t){super(),this.configure(t)}configure(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.assign(this,t)}addFonts(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fontPaths=r(r({},this.fontPaths),t)}removeFonts(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((t=>{delete this.fontPaths[t]}))}clearFonts(){this.fontPaths={}}restoreDefaults(t){const e=new a,s=(null==t?void 0:t.reduce(((t,s)=>(t[s]=e[s],t)),{}))||e;this.configure(s)}},c=function(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),i=1;ithis.testPrecision(e,t))),e.getExtension("WEBGL_lose_context").loseContext(),c("log","WebGL: max texture size ".concat(this.maxTextureSize)))}isSupported(t){return!!this.maxTextureSize&&this.maxTextureSize>=t}}const f={};let p;const m=()=>p||(p={document:document,window:window,isTouchSupported:"ontouchstart"in window||"ontouchstart"in document||window&&window.navigator&&window.navigator.maxTouchPoints>0,WebGLProbe:new g,dispose(){},copyPasteData:f}),v=()=>m().document,y=()=>m().window,_=()=>{var t;return Math.max(null!==(t=h.devicePixelRatio)&&void 0!==t?t:y().devicePixelRatio,1)},x=new class{constructor(){s(this,"charWidthsCache",{}),s(this,"boundsOfCurveCache",{})}getFontCache(t){let{fontFamily:e,fontStyle:s,fontWeight:i}=t;e=e.toLowerCase(),this.charWidthsCache[e]||(this.charWidthsCache[e]={});const r=this.charWidthsCache[e],n="".concat(s.toLowerCase(),"_").concat((i+"").toLowerCase());return r[n]||(r[n]={}),r[n]}clearFontCache(t){(t=(t||"").toLowerCase())?this.charWidthsCache[t]&&delete this.charWidthsCache[t]:this.charWidthsCache={}}limitDimsByArea(t){const{perfLimitSizeTotal:e}=h,s=Math.sqrt(e*t);return[Math.floor(s),Math.floor(e/s)]}},C="6.4.1";function b(){}const S=Math.PI/2,w=2*Math.PI,T=Math.PI/180,O=Object.freeze([1,0,0,1,0,0]),D=16,k=.4477152502,M="center",E="left",P="top",A="bottom",j="right",F="none",L=/\r?\n/,R="moving",I="scaling",B="rotating",X="rotate",Y="skewing",W="resizing",V="modifyPoly",H="modifyPath",G="changed",z="scale",N="scaleX",U="scaleY",q="skewX",K="skewY",J="fill",Q="stroke",Z="modified",$="json",tt="svg",et=new class{constructor(){this[$]=new Map,this[tt]=new Map}has(t){return this[$].has(t)}getClass(t){const e=this[$].get(t);if(!e)throw new l("No class registered for ".concat(t));return e}setClass(t,e){e?this[$].set(e,t):(this[$].set(t.type,t),this[$].set(t.type.toLowerCase(),t))}getSVGClass(t){return this[tt].get(t)}setSVGClass(t,e){this[tt].set(null!=e?e:t.type.toLowerCase(),t)}},st=new class extends Array{remove(t){const e=this.indexOf(t);e>-1&&this.splice(e,1)}cancelAll(){const t=this.splice(0);return t.forEach((t=>t.abort())),t}cancelByCanvas(t){if(!t)return[];const e=this.filter((e=>{var s;return e.target===t||"object"==typeof e.target&&(null===(s=e.target)||void 0===s?void 0:s.canvas)===t}));return e.forEach((t=>t.abort())),e}cancelByTarget(t){if(!t)return[];const e=this.filter((e=>e.target===t));return e.forEach((t=>t.abort())),e}};class it{constructor(){s(this,"__eventListeners",{})}on(t,e){if(this.__eventListeners||(this.__eventListeners={}),"object"==typeof t)return Object.entries(t).forEach((t=>{let[e,s]=t;this.on(e,s)})),()=>this.off(t);if(e){const s=t;return this.__eventListeners[s]||(this.__eventListeners[s]=[]),this.__eventListeners[s].push(e),()=>this.off(s,e)}return()=>!1}once(t,e){if("object"==typeof t){const e=[];return Object.entries(t).forEach((t=>{let[s,i]=t;e.push(this.once(s,i))})),()=>e.forEach((t=>t()))}if(e){const s=this.on(t,(function(){for(var t=arguments.length,i=new Array(t),r=0;r!1}_removeEventListener(t,e){if(this.__eventListeners[t])if(e){const s=this.__eventListeners[t],i=s.indexOf(e);i>-1&&s.splice(i,1)}else this.__eventListeners[t]=[]}off(t,e){if(this.__eventListeners)if(void 0===t)for(const s in this.__eventListeners)this._removeEventListener(s);else"object"==typeof t?Object.entries(t).forEach((t=>{let[e,s]=t;this._removeEventListener(e,s)})):this._removeEventListener(t,e)}fire(t,e){var s;if(!this.__eventListeners)return;const i=null===(s=this.__eventListeners[t])||void 0===s?void 0:s.concat();if(i)for(let r=0;r{const s=t.indexOf(e);return-1!==s&&t.splice(s,1),t},nt=t=>{if(0===t)return 1;switch(Math.abs(t)/S){case 1:case 3:return 0;case 2:return-1}return Math.cos(t)},ot=t=>{if(0===t)return 0;const e=t/S,s=Math.sign(t);switch(e){case 1:return s;case 2:return 0;case 3:return-s}return Math.sin(t)};class at{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;"object"==typeof t?(this.x=t.x,this.y=t.y):(this.x=t,this.y=e)}add(t){return new at(this.x+t.x,this.y+t.y)}addEquals(t){return this.x+=t.x,this.y+=t.y,this}scalarAdd(t){return new at(this.x+t,this.y+t)}scalarAddEquals(t){return this.x+=t,this.y+=t,this}subtract(t){return new at(this.x-t.x,this.y-t.y)}subtractEquals(t){return this.x-=t.x,this.y-=t.y,this}scalarSubtract(t){return new at(this.x-t,this.y-t)}scalarSubtractEquals(t){return this.x-=t,this.y-=t,this}multiply(t){return new at(this.x*t.x,this.y*t.y)}scalarMultiply(t){return new at(this.x*t,this.y*t)}scalarMultiplyEquals(t){return this.x*=t,this.y*=t,this}divide(t){return new at(this.x/t.x,this.y/t.y)}scalarDivide(t){return new at(this.x/t,this.y/t)}scalarDivideEquals(t){return this.x/=t,this.y/=t,this}eq(t){return this.x===t.x&&this.y===t.y}lt(t){return this.xt.x&&this.y>t.y}gte(t){return this.x>=t.x&&this.y>=t.y}lerp(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5;return e=Math.max(Math.min(1,e),0),new at(this.x+(t.x-this.x)*e,this.y+(t.y-this.y)*e)}distanceFrom(t){const e=this.x-t.x,s=this.y-t.y;return Math.sqrt(e*e+s*s)}midPointFrom(t){return this.lerp(t)}min(t){return new at(Math.min(this.x,t.x),Math.min(this.y,t.y))}max(t){return new at(Math.max(this.x,t.x),Math.max(this.y,t.y))}toString(){return"".concat(this.x,",").concat(this.y)}setXY(t,e){return this.x=t,this.y=e,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setFromPoint(t){return this.x=t.x,this.y=t.y,this}swap(t){const e=this.x,s=this.y;this.x=t.x,this.y=t.y,t.x=e,t.y=s}clone(){return new at(this.x,this.y)}rotate(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht;const s=ot(t),i=nt(t),r=this.subtract(e);return new at(r.x*i-r.y*s,r.x*s+r.y*i).add(e)}transform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new at(t[0]*this.x+t[2]*this.y+(e?0:t[4]),t[1]*this.x+t[3]*this.y+(e?0:t[5]))}}const ht=new at(0,0),ct=t=>!!t&&Array.isArray(t._objects);function lt(t){class e extends t{constructor(){super(...arguments),s(this,"_objects",[])}_onObjectAdded(t){}_onObjectRemoved(t){}_onStackOrderChanged(t){}add(){for(var t=arguments.length,e=new Array(t),s=0;sthis._onObjectAdded(t))),i}insertAt(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),i=1;ithis._onObjectAdded(t))),this._objects.length}remove(){const t=this._objects,e=[];for(var s=arguments.length,i=new Array(s),r=0;r{const i=t.indexOf(s);-1!==i&&(t.splice(i,1),e.push(s),this._onObjectRemoved(s))})),e}forEachObject(t){this.getObjects().forEach(((e,s,i)=>t(e,s,i)))}getObjects(){for(var t=arguments.length,e=new Array(t),s=0;st.isType(...e)))}item(t){return this._objects[t]}isEmpty(){return 0===this._objects.length}size(){return this._objects.length}contains(t,s){return!!this._objects.includes(t)||!!s&&this._objects.some((s=>s instanceof e&&s.contains(t,!0)))}complexity(){return this._objects.reduce(((t,e)=>t+(e.complexity?e.complexity():0)),0)}sendObjectToBack(t){return!(!t||t===this._objects[0]||(rt(this._objects,t),this._objects.unshift(t),this._onStackOrderChanged(t),0))}bringObjectToFront(t){return!(!t||t===this._objects[this._objects.length-1]||(rt(this._objects,t),this._objects.push(t),this._onStackOrderChanged(t),0))}sendObjectBackwards(t,e){if(!t)return!1;const s=this._objects.indexOf(t);if(0!==s){const i=this.findNewLowerIndex(t,s,e);return rt(this._objects,t),this._objects.splice(i,0,t),this._onStackOrderChanged(t),!0}return!1}bringObjectForward(t,e){if(!t)return!1;const s=this._objects.indexOf(t);if(s!==this._objects.length-1){const i=this.findNewUpperIndex(t,s,e);return rt(this._objects,t),this._objects.splice(i,0,t),this._onStackOrderChanged(t),!0}return!1}moveObjectTo(t,e){return t!==this._objects[e]&&(rt(this._objects,t),this._objects.splice(e,0,t),this._onStackOrderChanged(t),!0)}findNewLowerIndex(t,e,s){let i;if(s){i=e;for(let s=e-1;s>=0;--s)if(t.isOverlapping(this._objects[s])){i=s;break}}else i=e-1;return i}findNewUpperIndex(t,e,s){let i;if(s){i=e;for(let s=e+1;s1&&void 0!==arguments[1]?arguments[1]:{};const o=[],a=new at(e,s),h=a.add(new at(i,r));for(let c=this._objects.length-1;c>=0;c--){const t=this._objects[c];t.selectable&&t.visible&&(n&&t.intersectsWithRect(a,h)||t.isContainedWithinRect(a,h)||n&&t.containsPoint(a)||n&&t.containsPoint(h))&&o.push(t)}return o}}return e}class ut extends it{_setOptions(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(const e in t)this.set(e,t[e])}_setObject(t){for(const e in t)this._set(e,t[e])}set(t,e){return"object"==typeof t?this._setObject(t):this._set(t,e),this}_set(t,e){this[t]=e}toggle(t){const e=this.get(t);return"boolean"==typeof e&&this.set(t,!e),this}get(t){return this[t]}}function dt(t){return y().requestAnimationFrame(t)}function gt(t){return y().cancelAnimationFrame(t)}let ft=0;const pt=()=>ft++,mt=()=>{const t=v().createElement("canvas");if(!t||void 0===t.getContext)throw new l("Failed to create `canvas` element");return t},vt=()=>v().createElement("img"),yt=(t,e,s)=>t.toDataURL("image/".concat(e),s),_t=t=>t*T,xt=t=>t/T,Ct=t=>t.every(((t,e)=>t===O[e])),bt=(t,e,s)=>new at(t).transform(e,s),St=t=>{const e=1/(t[0]*t[3]-t[1]*t[2]),s=[e*t[3],-e*t[1],-e*t[2],e*t[0],0,0],{x:i,y:r}=new at(t[4],t[5]).transform(s,!0);return s[4]=-i,s[5]=-r,s},wt=(t,e,s)=>[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],s?0:t[0]*e[4]+t[2]*e[5]+t[4],s?0:t[1]*e[4]+t[3]*e[5]+t[5]],Tt=(t,e)=>t.reduceRight(((t,s)=>s&&t?wt(s,t,e):s||t),void 0)||O.concat(),Ot=t=>{let[e,s]=t;return Math.atan2(s,e)},Dt=t=>{const e=Ot(t),s=Math.pow(t[0],2)+Math.pow(t[1],2),i=Math.sqrt(s),r=(t[0]*t[3]-t[2]*t[1])/i,n=Math.atan2(t[0]*t[2]+t[1]*t[3],s);return{angle:xt(e),scaleX:i,scaleY:r,skewX:xt(n),skewY:0,translateX:t[4]||0,translateY:t[5]||0}},kt=function(t){return[1,0,0,1,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0]};function Mt(){let{angle:t=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{x:e=0,y:s=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=_t(t),r=nt(i),n=ot(i);return[r,n,-n,r,e?e-(r*e-n*s):0,s?s-(n*e+r*s):0]}const Et=function(t){return[t,0,0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,0,0]},Pt=t=>Math.tan(_t(t)),At=t=>[1,0,Pt(t),1,0,0],jt=t=>[1,Pt(t),0,1,0,0],Ft=t=>{let{scaleX:e=1,scaleY:s=1,flipX:i=!1,flipY:r=!1,skewX:n=0,skewY:o=0}=t,a=Et(i?-e:e,r?-s:s);return n&&(a=wt(a,At(n),!0)),o&&(a=wt(a,jt(o),!0)),a},Lt=t=>{const{translateX:e=0,translateY:s=0,angle:i=0}=t;let r=kt(e,s);i&&(r=wt(r,Mt({angle:i})));const n=Ft(t);return Ct(n)||(r=wt(r,n)),r},Rt=function(t){let{signal:e,crossOrigin:s=null}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(i,r){if(e&&e.aborted)return r(new u("loadImage"));const n=vt();let o;e&&(o=function(t){n.src="",r(t)},e.addEventListener("abort",o,{once:!0}));const a=function(){n.onload=n.onerror=null,o&&(null==e||e.removeEventListener("abort",o)),i(n)};t?(n.onload=a,n.onerror=function(){o&&(null==e||e.removeEventListener("abort",o)),r(new l("Error loading ".concat(n.src)))},s&&(n.crossOrigin=s),n.src=t):a()}))},It=function(t){let{signal:e,reviver:s=b}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(((i,r)=>{const n=[];e&&e.addEventListener("abort",r,{once:!0}),Promise.all(t.map((t=>et.getClass(t.type).fromObject(t,{signal:e}).then((e=>(s(t,e),n.push(e),e)))))).then(i).catch((t=>{n.forEach((t=>{t.dispose&&t.dispose()})),r(t)})).finally((()=>{e&&e.removeEventListener("abort",r)}))}))},Bt=function(t){let{signal:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(((s,i)=>{const r=[];e&&e.addEventListener("abort",i,{once:!0});const n=Object.values(t).map((t=>t&&t.type&&et.has(t.type)?It([t],{signal:e}).then((t=>{let[e]=t;return r.push(e),e})):t)),o=Object.keys(t);Promise.all(n).then((t=>t.reduce(((t,e,s)=>(t[o[s]]=e,t)),{}))).then(s).catch((t=>{r.forEach((t=>{t.dispose&&t.dispose()})),i(t)})).finally((()=>{e&&e.removeEventListener("abort",i)}))}))},Xt=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).reduce(((e,s)=>(s in t&&(e[s]=t[s]),e)),{})},Yt=(t,e)=>Object.keys(t).reduce(((s,i)=>(e(t[i],i,t)&&(s[i]=t[i]),s)),{}),Wt={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#0FF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000",blanchedalmond:"#FFEBCD",blue:"#00F",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#0FF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#F0F",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#789",lightslategrey:"#789",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#0F0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#F0F",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#639",red:"#F00",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFF",whitesmoke:"#F5F5F5",yellow:"#FF0",yellowgreen:"#9ACD32"},Vt=(t,e,s)=>(s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+6*(e-t)*s:s<.5?e:s<2/3?t+(e-t)*(2/3-s)*6:t),Ht=(t,e,s,i)=>{t/=255,e/=255,s/=255;const r=Math.max(t,e,s),n=Math.min(t,e,s);let o,a;const h=(r+n)/2;if(r===n)o=a=0;else{const i=r-n;switch(a=h>.5?i/(2-r-n):i/(r+n),r){case t:o=(e-s)/i+(e0&&void 0!==arguments[0]?arguments[0]:"1";return parseFloat(t)/(t.endsWith("%")?100:1)},zt=t=>Math.min(Math.round(t),255).toString(16).toUpperCase().padStart(2,"0"),Nt=t=>{let[e,s,i,r=1]=t;const n=Math.round(.3*e+.59*s+.11*i);return[n,n,n,r]};class Ut{constructor(t){if(s(this,"isUnrecognised",!1),t)if(t instanceof Ut)this.setSource([...t._source]);else if(Array.isArray(t)){const[e,s,i,r=1]=t;this.setSource([e,s,i,r])}else this.setSource(this._tryParsingColor(t));else this.setSource([0,0,0,1])}_tryParsingColor(t){return t in Wt&&(t=Wt[t]),"transparent"===t?[255,255,255,0]:Ut.sourceFromHex(t)||Ut.sourceFromRgb(t)||Ut.sourceFromHsl(t)||(this.isUnrecognised=!0)&&[0,0,0,1]}getSource(){return this._source}setSource(t){this._source=t}toRgb(){const[t,e,s]=this.getSource();return"rgb(".concat(t,",").concat(e,",").concat(s,")")}toRgba(){return"rgba(".concat(this.getSource().join(","),")")}toHsl(){const[t,e,s]=Ht(...this.getSource());return"hsl(".concat(t,",").concat(e,"%,").concat(s,"%)")}toHsla(){const[t,e,s,i]=Ht(...this.getSource());return"hsla(".concat(t,",").concat(e,"%,").concat(s,"%,").concat(i,")")}toHex(){return this.toHexa().slice(0,6)}toHexa(){const[t,e,s,i]=this.getSource();return"".concat(zt(t)).concat(zt(e)).concat(zt(s)).concat(zt(Math.round(255*i)))}getAlpha(){return this.getSource()[3]}setAlpha(t){return this._source[3]=t,this}toGrayscale(){return this.setSource(Nt(this.getSource())),this}toBlackWhite(t){const[e,,,s]=Nt(this.getSource()),i=e<(t||127)?0:255;return this.setSource([i,i,i,s]),this}overlayWith(t){t instanceof Ut||(t=new Ut(t));const e=this.getSource(),s=t.getSource(),[i,r,n]=e.map(((t,e)=>Math.round(.5*t+.5*s[e])));return this.setSource([i,r,n,e[3]]),this}static fromRgb(t){return Ut.fromRgba(t)}static fromRgba(t){return new Ut(Ut.sourceFromRgb(t))}static sourceFromRgb(t){const e=t.match(/^rgba?\(\s*(\d{0,3}(?:\.\d+)?%?)\s*[\s|,]\s*(\d{0,3}(?:\.\d+)?%?)\s*[\s|,]\s*(\d{0,3}(?:\.\d+)?%?)\s*(?:\s*[,/]\s*(\d{0,3}(?:\.\d+)?%?)\s*)?\)$/i);if(e){const[t,s,i]=e.slice(1,4).map((t=>{const e=parseFloat(t);return t.endsWith("%")?Math.round(2.55*e):e}));return[t,s,i,Gt(e[4])]}}static fromHsl(t){return Ut.fromHsla(t)}static fromHsla(t){return new Ut(Ut.sourceFromHsl(t))}static sourceFromHsl(t){const e=t.match(/^hsla?\(\s*([+-]?\d{0,3}(?:\.\d+)?(?:deg|turn|rad)?)\s*[\s|,]\s*(\d{0,3}(?:\.\d+)?%?)\s*[\s|,]\s*(\d{0,3}(?:\.\d+)?%?)\s*(?:\s*[,/]\s*(\d*(?:\.\d+)?%?)\s*)?\)$/i);if(!e)return;const s=(Ut.parseAngletoDegrees(e[1])%360+360)%360/360,i=parseFloat(e[2])/100,r=parseFloat(e[3])/100;let n,o,a;if(0===i)n=o=a=r;else{const t=r<=.5?r*(i+1):r+i-r*i,e=2*r-t;n=Vt(e,t,s+1/3),o=Vt(e,t,s),a=Vt(e,t,s-1/3)}return[Math.round(255*n),Math.round(255*o),Math.round(255*a),Gt(e[4])]}static fromHex(t){return new Ut(Ut.sourceFromHex(t))}static sourceFromHex(t){if(t.match(/^#?(([0-9a-f]){3,4}|([0-9a-f]{2}){3,4})$/i)){const e=t.slice(t.indexOf("#")+1);let s;s=e.length<=4?e.split("").map((t=>t+t)):e.match(/.{2}/g);const[i,r,n,o=255]=s.map((t=>parseInt(t,16)));return[i,r,n,o/255]}}static parseAngletoDegrees(t){const e=t.toLowerCase(),s=parseFloat(e);return e.includes("rad")?xt(s):e.includes("turn")?360*s:s}}const qt=(t,e)=>parseFloat(Number(t).toFixed(e)),Kt=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D;const s=/\D{0,2}$/.exec(t),i=parseFloat(t),r=h.DPI;switch(null==s?void 0:s[0]){case"mm":return i*r/25.4;case"cm":return i*r/2.54;case"in":return i*r;case"pt":return i*r/72;case"pc":return i*r/72*12;case"em":return i*e;default:return i}},Jt=t=>{const[e,s]=t.trim().split(" "),[i,r]=(n=e)&&n!==F?[n.slice(1,4),n.slice(5,8)]:n===F?[n,n]:["Mid","Mid"];var n;return{meetOrSlice:s||"meet",alignX:i,alignY:r}},Qt=t=>"matrix("+t.map((t=>qt(t,h.NUM_FRACTION_DIGITS))).join(" ")+")",Zt=function(t,e){let s,i,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e)if(e.toLive)s="url(#SVGID_".concat(e.id,")");else{const t=new Ut(e),r=t.getAlpha();s=t.toRgb(),1!==r&&(i=r.toString())}else s="none";return r?"".concat(t,": ").concat(s,"; ").concat(i?"".concat(t,"-opacity: ").concat(i,"; "):""):"".concat(t,'="').concat(s,'" ').concat(i?"".concat(t,'-opacity="').concat(i,'" '):"")},$t=t=>!!t&&void 0!==t.toLive,te=t=>!!t&&"function"==typeof t.toObject,ee=t=>!!t&&void 0!==t.offsetX&&"source"in t,se=t=>!!t&&"function"==typeof t._renderText,ie=t=>!!t&&"multiSelectionStacking"in t;function re(t){const e=t&&ne(t);let s=0,i=0;if(!t||!e)return{left:s,top:i};let r=t;const n=e.documentElement,o=e.body||{scrollLeft:0,scrollTop:0};for(;r&&(r.parentNode||r.host)&&(r=r.parentNode||r.host,r===e?(s=o.scrollLeft||n.scrollLeft||0,i=o.scrollTop||n.scrollTop||0):(s+=r.scrollLeft||0,i+=r.scrollTop||0),1!==r.nodeType||"fixed"!==r.style.position););return{left:s,top:i}}const ne=t=>t.ownerDocument||null,oe=t=>{var e;return(null===(e=t.ownerDocument)||void 0===e?void 0:e.defaultView)||null},ae=function(t,e,s){let{width:i,height:r}=s,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;t.width=i,t.height=r,n>1&&(t.setAttribute("width",(i*n).toString()),t.setAttribute("height",(r*n).toString()),e.scale(n,n))},he=(t,e)=>{let{width:s,height:i}=e;s&&(t.style.width="number"==typeof s?"".concat(s,"px"):s),i&&(t.style.height="number"==typeof i?"".concat(i,"px"):i)};function ce(t){return void 0!==t.onselectstart&&(t.onselectstart=()=>!1),t.style.userSelect=F,t}class le{constructor(t){s(this,"_originalCanvasStyle",void 0),s(this,"lower",void 0);const e=this.createLowerCanvas(t);this.lower={el:e,ctx:e.getContext("2d")}}createLowerCanvas(t){const e=(s=t)&&void 0!==s.getContext?t:t&&v().getElementById(t)||mt();var s;if(e.hasAttribute("data-fabric"))throw new l("Trying to initialize a canvas that has already been initialized. Did you forget to dispose the canvas?");return this._originalCanvasStyle=e.style.cssText,e.setAttribute("data-fabric","main"),e.classList.add("lower-canvas"),e}cleanupDOM(t){let{width:e,height:s}=t;const{el:i}=this.lower;i.classList.remove("lower-canvas"),i.removeAttribute("data-fabric"),i.setAttribute("width","".concat(e)),i.setAttribute("height","".concat(s)),i.style.cssText=this._originalCanvasStyle||"",this._originalCanvasStyle=void 0}setDimensions(t,e){const{el:s,ctx:i}=this.lower;ae(s,i,t,e)}setCSSDimensions(t){he(this.lower.el,t)}calcOffset(){return function(t){var e;const s=t&&ne(t),i={left:0,top:0};if(!s)return i;const r=(null===(e=oe(t))||void 0===e?void 0:e.getComputedStyle(t,null))||{};i.left+=parseInt(r.borderLeftWidth,10)||0,i.top+=parseInt(r.borderTopWidth,10)||0,i.left+=parseInt(r.paddingLeft,10)||0,i.top+=parseInt(r.paddingTop,10)||0;let n={left:0,top:0};const o=s.documentElement;void 0!==t.getBoundingClientRect&&(n=t.getBoundingClientRect());const a=re(t);return{left:n.left+a.left-(o.clientLeft||0)+i.left,top:n.top+a.top-(o.clientTop||0)+i.top}}(this.lower.el)}dispose(){m().dispose(this.lower.el),delete this.lower}}const ue={backgroundVpt:!0,backgroundColor:"",overlayVpt:!0,overlayColor:"",includeDefaultValues:!0,svgViewportTransformation:!0,renderOnAddRemove:!0,skipOffscreen:!0,enableRetinaScaling:!0,imageSmoothingEnabled:!0,controlsAboveOverlay:!1,allowTouchScrolling:!1,viewportTransform:[...O]};class de extends(lt(ut)){get lowerCanvasEl(){var t;return null===(t=this.elements.lower)||void 0===t?void 0:t.el}get contextContainer(){var t;return null===(t=this.elements.lower)||void 0===t?void 0:t.ctx}static getDefaults(){return de.ownDefaults}constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),Object.assign(this,this.constructor.getDefaults()),this.set(e),this.initElements(t),this._setDimensionsImpl({width:this.width||this.elements.lower.el.width||0,height:this.height||this.elements.lower.el.height||0}),this.skipControlsDrawing=!1,this.viewportTransform=[...this.viewportTransform],this.calcViewportBoundaries()}initElements(t){this.elements=new le(t)}add(){const t=super.add(...arguments);return arguments.length>0&&this.renderOnAddRemove&&this.requestRenderAll(),t}insertAt(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),i=1;i0&&this.renderOnAddRemove&&this.requestRenderAll(),r}remove(){const t=super.remove(...arguments);return t.length>0&&this.renderOnAddRemove&&this.requestRenderAll(),t}_onObjectAdded(t){t.canvas&&t.canvas!==this&&(c("warn","Canvas is trying to add an object that belongs to a different canvas.\nResulting to default behavior: removing object from previous canvas and adding to new canvas"),t.canvas.remove(t)),t._set("canvas",this),t.setCoords(),this.fire("object:added",{target:t}),t.fire("added",{target:this})}_onObjectRemoved(t){t._set("canvas",void 0),this.fire("object:removed",{target:t}),t.fire("removed",{target:this})}_onStackOrderChanged(){this.renderOnAddRemove&&this.requestRenderAll()}getRetinaScaling(){return this.enableRetinaScaling?_():1}calcOffset(){return this._offset=this.elements.calcOffset()}getWidth(){return this.width}getHeight(){return this.height}setWidth(t,e){return this.setDimensions({width:t},e)}setHeight(t,e){return this.setDimensions({height:t},e)}_setDimensionsImpl(t){let{cssOnly:e=!1,backstoreOnly:s=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e){const e=r({width:this.width,height:this.height},t);this.elements.setDimensions(e,this.getRetinaScaling()),this.hasLostContext=!0,this.width=e.width,this.height=e.height}s||this.elements.setCSSDimensions(t),this.calcOffset()}setDimensions(t,e){this._setDimensionsImpl(t,e),e&&e.cssOnly||this.requestRenderAll()}getZoom(){return this.viewportTransform[0]}setViewportTransform(t){this.viewportTransform=t,this.calcViewportBoundaries(),this.renderOnAddRemove&&this.requestRenderAll()}zoomToPoint(t,e){const s=t,i=[...this.viewportTransform],r=bt(t,St(i));i[0]=e,i[3]=e;const n=bt(r,i);i[4]+=s.x-n.x,i[5]+=s.y-n.y,this.setViewportTransform(i)}setZoom(t){this.zoomToPoint(new at(0,0),t)}absolutePan(t){const e=[...this.viewportTransform];return e[4]=-t.x,e[5]=-t.y,this.setViewportTransform(e)}relativePan(t){return this.absolutePan(new at(-t.x-this.viewportTransform[4],-t.y-this.viewportTransform[5]))}getElement(){return this.elements.lower.el}clearContext(t){t.clearRect(0,0,this.width,this.height)}getContext(){return this.elements.lower.ctx}clear(){this.remove(...this.getObjects()),this.backgroundImage=void 0,this.overlayImage=void 0,this.backgroundColor="",this.overlayColor="",this.clearContext(this.getContext()),this.fire("canvas:cleared"),this.renderOnAddRemove&&this.requestRenderAll()}renderAll(){this.cancelRequestedRender(),this.destroyed||this.renderCanvas(this.getContext(),this._objects)}renderAndReset(){this.nextRenderHandle=0,this.renderAll()}requestRenderAll(){this.nextRenderHandle||this.disposed||this.destroyed||(this.nextRenderHandle=dt((()=>this.renderAndReset())))}calcViewportBoundaries(){const t=this.width,e=this.height,s=St(this.viewportTransform),i=bt({x:0,y:0},s),r=bt({x:t,y:e},s),n=i.min(r),o=i.max(r);return this.vptCoords={tl:n,tr:new at(o.x,n.y),bl:new at(n.x,o.y),br:o}}cancelRequestedRender(){this.nextRenderHandle&&(gt(this.nextRenderHandle),this.nextRenderHandle=0)}drawControls(t){}renderCanvas(t,e){if(this.destroyed)return;const s=this.viewportTransform,i=this.clipPath;this.calcViewportBoundaries(),this.clearContext(t),t.imageSmoothingEnabled=this.imageSmoothingEnabled,t.patternQuality="best",this.fire("before:render",{ctx:t}),this._renderBackground(t),t.save(),t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._renderObjects(t,e),t.restore(),this.controlsAboveOverlay||this.skipControlsDrawing||this.drawControls(t),i&&(i._set("canvas",this),i.shouldCache(),i._transformDone=!0,i.renderCache({forClipping:!0}),this.drawClipPathOnCanvas(t,i)),this._renderOverlay(t),this.controlsAboveOverlay&&!this.skipControlsDrawing&&this.drawControls(t),this.fire("after:render",{ctx:t}),this.__cleanupTask&&(this.__cleanupTask(),this.__cleanupTask=void 0)}drawClipPathOnCanvas(t,e){const s=this.viewportTransform;t.save(),t.transform(...s),t.globalCompositeOperation="destination-in",e.transform(t),t.scale(1/e.zoomX,1/e.zoomY),t.drawImage(e._cacheCanvas,-e.cacheTranslationX,-e.cacheTranslationY),t.restore()}_renderObjects(t,e){for(let s=0,i=e.length;s!t.excludeFromExport)).map((s=>this._toObject(s,t,e)))},this.__serializeBgOverlay(t,e)),i?{clipPath:i}:null)}_toObject(t,e,s){let i;this.includeDefaultValues||(i=t.includeDefaultValues,t.includeDefaultValues=!1);const r=t[e](s);return this.includeDefaultValues||(t.includeDefaultValues=!!i),r}__serializeBgOverlay(t,e){const s={},i=this.backgroundImage,r=this.overlayImage,n=this.backgroundColor,o=this.overlayColor;return $t(n)?n.excludeFromExport||(s.background=n.toObject(e)):n&&(s.background=n),$t(o)?o.excludeFromExport||(s.overlay=o.toObject(e)):o&&(s.overlay=o),i&&!i.excludeFromExport&&(s.backgroundImage=this._toObject(i,t,e)),r&&!r.excludeFromExport&&(s.overlayImage=this._toObject(r,t,e)),s}toSVG(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;t.reviver=e;const s=[];return this._setSVGPreamble(s,t),this._setSVGHeader(s,t),this.clipPath&&s.push('\n')),this._setSVGBgOverlayColor(s,"background"),this._setSVGBgOverlayImage(s,"backgroundImage",e),this._setSVGObjects(s,e),this.clipPath&&s.push("\n"),this._setSVGBgOverlayColor(s,"overlay"),this._setSVGBgOverlayImage(s,"overlayImage",e),s.push(""),s.join("")}_setSVGPreamble(t,e){e.suppressPreamble||t.push('\n','\n')}_setSVGHeader(t,e){const s=e.width||"".concat(this.width),i=e.height||"".concat(this.height),r=h.NUM_FRACTION_DIGITS,n=e.viewBox;let o;if(n)o='viewBox="'.concat(n.x," ").concat(n.y," ").concat(n.width," ").concat(n.height,'" ');else if(this.svgViewportTransformation){const t=this.viewportTransform;o='viewBox="'.concat(qt(-t[4]/t[0],r)," ").concat(qt(-t[5]/t[3],r)," ").concat(qt(this.width/t[0],r)," ").concat(qt(this.height/t[3],r),'" ')}else o='viewBox="0 0 '.concat(this.width," ").concat(this.height,'" ');t.push("\n',"Created with Fabric.js ",C,"\n","\n",this.createSVGFontFacesMarkup(),this.createSVGRefElementsMarkup(),this.createSVGClipPathMarkup(e),"\n")}createSVGClipPathMarkup(t){const e=this.clipPath;return e?(e.clipPathId="CLIPPATH_".concat(pt()),'\n').concat(e.toClipPathSVG(t.reviver),"\n")):""}createSVGRefElementsMarkup(){return["background","overlay"].map((t=>{const e=this["".concat(t,"Color")];if($t(e)){const s=this["".concat(t,"Vpt")],i=this.viewportTransform,r={isType:()=>!1,width:this.width/(s?i[0]:1),height:this.height/(s?i[3]:1)};return e.toSVG(r,{additionalTransform:s?Qt(i):""})}})).join("")}createSVGFontFacesMarkup(){const t=[],e={},s=h.fontPaths;this._objects.forEach((function e(s){t.push(s),ct(s)&&s._objects.forEach(e)})),t.forEach((t=>{if(!se(t))return;const{styles:i,fontFamily:r}=t;!e[r]&&s[r]&&(e[r]=!0,i&&Object.values(i).forEach((t=>{Object.values(t).forEach((t=>{let{fontFamily:i=""}=t;!e[i]&&s[i]&&(e[i]=!0)}))})))}));const i=Object.keys(e).map((t=>"\t\t@font-face {\n\t\t\tfont-family: '".concat(t,"';\n\t\t\tsrc: url('").concat(s[t],"');\n\t\t}\n"))).join("");return i?'\t\n"):""}_setSVGObjects(t,e){this.forEachObject((s=>{s.excludeFromExport||this._setSVGObject(t,s,e)}))}_setSVGObject(t,e,s){t.push(e.toSVG(s))}_setSVGBgOverlayImage(t,e,s){const i=this[e];i&&!i.excludeFromExport&&i.toSVG&&t.push(i.toSVG(s))}_setSVGBgOverlayColor(t,e){const s=this["".concat(e,"Color")];if(s)if($t(s)){const i=s.repeat||"",r=this.width,n=this.height,o=this["".concat(e,"Vpt")]?Qt(St(this.viewportTransform)):"";t.push('\n'))}else t.push('\n")}loadFromJSON(t,e){let{signal:s}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return Promise.reject(new l("`json` is undefined"));const i="string"==typeof t?JSON.parse(t):t,{objects:r=[],backgroundImage:n,background:o,overlayImage:a,overlay:h,clipPath:c}=i,u=this.renderOnAddRemove;return this.renderOnAddRemove=!1,Promise.all([It(r,{reviver:e,signal:s}),Bt({backgroundImage:n,backgroundColor:o,overlayImage:a,overlayColor:h,clipPath:c},{signal:s})]).then((t=>{let[e,s]=t;return this.clear(),this.add(...e),this.set(i),this.set(s),this.renderOnAddRemove=u,this}))}clone(t){const e=this.toObject(t);return this.cloneWithoutData().loadFromJSON(e)}cloneWithoutData(){const t=mt();return t.width=this.width,t.height=this.height,new this.constructor(t)}toDataURL(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{format:e="png",quality:s=1,multiplier:i=1,enableRetinaScaling:r=!1}=t,n=i*(r?this.getRetinaScaling():1);return yt(this.toCanvasElement(n,t),e,s)}toCanvasElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,{width:e,height:s,left:i,top:r,filter:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=(e||this.width)*t,a=(s||this.height)*t,h=this.getZoom(),c=this.width,l=this.height,u=this.skipControlsDrawing,d=h*t,g=this.viewportTransform,f=[d,0,0,d,(g[4]-(i||0))*t,(g[5]-(r||0))*t],p=this.enableRetinaScaling,m=mt(),v=n?this._objects.filter((t=>n(t))):this._objects;return m.width=o,m.height=a,this.enableRetinaScaling=!1,this.viewportTransform=f,this.width=o,this.height=a,this.skipControlsDrawing=!0,this.calcViewportBoundaries(),this.renderCanvas(m.getContext("2d"),v),this.viewportTransform=g,this.width=c,this.height=l,this.calcViewportBoundaries(),this.enableRetinaScaling=p,this.skipControlsDrawing=u,m}dispose(){return!this.disposed&&this.elements.cleanupDOM({width:this.width,height:this.height}),st.cancelByCanvas(this),this.disposed=!0,new Promise(((t,e)=>{const s=()=>{this.destroy(),t(!0)};s.kill=e,this.__cleanupTask&&this.__cleanupTask.kill("aborted"),this.destroyed?t(!1):this.nextRenderHandle?this.__cleanupTask=s:s()}))}destroy(){this.destroyed=!0,this.cancelRequestedRender(),this.forEachObject((t=>t.dispose())),this._objects=[],this.backgroundImage&&this.backgroundImage.dispose(),this.backgroundImage=void 0,this.overlayImage&&this.overlayImage.dispose(),this.overlayImage=void 0,this.elements.dispose()}toString(){return"#")}}s(de,"ownDefaults",ue);const ge=["touchstart","touchmove","touchend"],fe=t=>{const e=re(t.target),s=function(t){const e=t.changedTouches;return e&&e[0]?e[0]:t}(t);return new at(s.clientX+e.left,s.clientY+e.top)},pe=t=>ge.includes(t.type)||"touch"===t.pointerType,me=t=>{t.preventDefault(),t.stopPropagation()},ve=t=>{if(0===t.length)return{left:0,top:0,width:0,height:0};const{min:e,max:s}=t.reduce(((t,e)=>{let{min:s,max:i}=t;return{min:s.min(e),max:i.max(e)}}),{min:new at(t[0]),max:new at(t[0])}),i=s.subtract(e);return{left:e.x,top:e.y,width:i.x,height:i.y}},ye=["translateX","translateY","scaleX","scaleY"],_e=(t,e)=>xe(t,wt(e,t.calcOwnMatrix())),xe=(t,e)=>{const s=Dt(e),{translateX:i,translateY:r,scaleX:o,scaleY:a}=s,h=n(s,ye),c=new at(i,r);t.flipX=!1,t.flipY=!1,Object.assign(t,h),t.set({scaleX:o,scaleY:a}),t.setPositionByOrigin(c,M,M)},Ce=t=>{t.scaleX=1,t.scaleY=1,t.skewX=0,t.skewY=0,t.flipX=!1,t.flipY=!1,t.rotate(0)},be=t=>({scaleX:t.scaleX,scaleY:t.scaleY,skewX:t.skewX,skewY:t.skewY,angle:t.angle,left:t.left,flipX:t.flipX,flipY:t.flipY,top:t.top}),Se=(t,e,s)=>{const i=t/2,r=e/2,n=[new at(-i,-r),new at(i,-r),new at(-i,r),new at(i,r)].map((t=>t.transform(s))),o=ve(n);return new at(o.width,o.height)},we=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O;return wt(St(arguments.length>1&&void 0!==arguments[1]?arguments[1]:O),t)},Te=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O;return t.transform(we(e,s))},Oe=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O;return t.transform(we(e,s),!0)},De=(t,e,s)=>{const i=we(e,s);return xe(t,wt(i,t.calcOwnMatrix())),i},ke=(t,e)=>{var s;const{transform:{target:i}}=e;null===(s=i.canvas)||void 0===s||s.fire("object:".concat(t),r(r({},e),{},{target:i})),i.fire(t,e)},Me={left:-.5,top:-.5,center:0,bottom:.5,right:.5},Ee=t=>"string"==typeof t?Me[t]:t-.5,Pe="not-allowed";function Ae(t){return Ee(t.originX)===Ee(M)&&Ee(t.originY)===Ee(M)}function je(t){return.5-Ee(t)}const Fe=(t,e)=>t[e],Le=(t,e,s,i)=>({e:t,transform:e,pointer:new at(s,i)});function Re(t,e){const s=t.getTotalAngle()+xt(Math.atan2(e.y,e.x))+360;return Math.round(s%360/45)}function Ie(t,e,s,i,r){var n;let{target:o,corner:a}=t;const h=o.controls[a],c=(null===(n=o.canvas)||void 0===n?void 0:n.getZoom())||1,l=o.padding/c,u=function(t,e,s,i){const r=t.getRelativeCenterPoint(),n=void 0!==s&&void 0!==i?t.translateToGivenOrigin(r,M,M,s,i):new at(t.left,t.top);return(t.angle?e.rotate(-_t(t.angle),r):e).subtract(n)}(o,new at(i,r),e,s);return u.x>=l&&(u.x-=l),u.x<=-l&&(u.x+=l),u.y>=l&&(u.y-=l),u.y<=l&&(u.y+=l),u.x-=h.offsetX,u.y-=h.offsetY,u}const Be=(t,e,s,i)=>{const{target:r,offsetX:n,offsetY:o}=e,a=s-n,h=i-o,c=!Fe(r,"lockMovementX")&&r.left!==a,l=!Fe(r,"lockMovementY")&&r.top!==h;return c&&r.set(E,a),l&&r.set(P,h),(c||l)&&ke(R,Le(t,e,s,i)),c||l};class Xe{getSvgStyles(t){const e=this.fillRule?this.fillRule:"nonzero",s=this.strokeWidth?this.strokeWidth:"0",i=this.strokeDashArray?this.strokeDashArray.join(" "):F,r=this.strokeDashOffset?this.strokeDashOffset:"0",n=this.strokeLineCap?this.strokeLineCap:"butt",o=this.strokeLineJoin?this.strokeLineJoin:"miter",a=this.strokeMiterLimit?this.strokeMiterLimit:"4",h=void 0!==this.opacity?this.opacity:"1",c=this.visible?"":" visibility: hidden;",l=t?"":this.getSvgFilter(),u=Zt(J,this.fill);return[Zt(Q,this.stroke),"stroke-width: ",s,"; ","stroke-dasharray: ",i,"; ","stroke-linecap: ",n,"; ","stroke-dashoffset: ",r,"; ","stroke-linejoin: ",o,"; ","stroke-miterlimit: ",a,"; ",u,"fill-rule: ",e,"; ","opacity: ",h,";",l,c].join("")}getSvgFilter(){return this.shadow?"filter: url(#SVGID_".concat(this.shadow.id,");"):""}getSvgCommons(){return[this.id?'id="'.concat(this.id,'" '):"",this.clipPath?'clip-path="url(#'.concat(this.clipPath.clipPathId,')" '):""].join("")}getSvgTransform(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const s=t?this.calcTransformMatrix():this.calcOwnMatrix(),i='transform="'.concat(Qt(s));return"".concat(i).concat(e,'" ')}_toSVG(t){return[""]}toSVG(t){return this._createBaseSVGMarkup(this._toSVG(t),{reviver:t})}toClipPathSVG(t){return"\t"+this._createBaseClipPathSVGMarkup(this._toSVG(t),{reviver:t})}_createBaseClipPathSVGMarkup(t){let{reviver:e,additionalTransform:s=""}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=[this.getSvgTransform(!0,s),this.getSvgCommons()].join(""),r=t.indexOf("COMMON_PARTS");return t[r]=i,e?e(t.join("")):t.join("")}_createBaseSVGMarkup(t){let{noStyle:e,reviver:s,withShadow:i,additionalTransform:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e?"":'style="'.concat(this.getSvgStyles(),'" '),o=i?'style="'.concat(this.getSvgFilter(),'" '):"",a=this.clipPath,h=this.strokeUniform?'vector-effect="non-scaling-stroke" ':"",c=a&&a.absolutePositioned,l=this.stroke,u=this.fill,d=this.shadow,g=[],f=t.indexOf("COMMON_PARTS");let p;a&&(a.clipPathId="CLIPPATH_".concat(pt()),p='\n').concat(a.toClipPathSVG(s),"\n")),c&&g.push("\n"),g.push("\n");const m=[n,h,e?"":this.addPaintOrder()," ",r?'transform="'.concat(r,'" '):""].join("");return t[f]=m,$t(u)&&g.push(u.toSVG(this)),$t(l)&&g.push(l.toSVG(this)),d&&g.push(d.toSVG(this)),a&&g.push(p),g.push(t.join("")),g.push("\n"),c&&g.push("\n"),s?s(g.join("")):g.join("")}addPaintOrder(){return this.paintFirst!==J?' paint-order="'.concat(this.paintFirst,'" '):""}}function Ye(t){return new RegExp("^("+t.join("|")+")\\b","i")}var We,Ve;const He=String.raw(We||(We=o(["(?:[-+]?(?:d*.d+|d+.?)(?:[eE][-+]?d+)?)"],["(?:[-+]?(?:\\d*\\.\\d+|\\d+\\.?)(?:[eE][-+]?\\d+)?)"]))),Ge="http://www.w3.org/2000/svg";String.raw(Ve||(Ve=o(["(?:s+,?s*|,s*|$)"],["(?:\\s+,?\\s*|,\\s*|$)"])));const ze=new RegExp("(normal|italic)?\\s*(normal|small-caps)?\\s*(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)?\\s*("+He+"(?:px|cm|mm|em|pt|pc|in)*)(?:\\/(normal|"+He+"))?\\s+(.*)"),Ne={cx:E,x:E,r:"radius",cy:P,y:P,display:"visible",visibility:"visible",transform:"transformMatrix","fill-opacity":"fillOpacity","fill-rule":"fillRule","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","letter-spacing":"charSpacing","paint-order":"paintFirst","stroke-dasharray":"strokeDashArray","stroke-dashoffset":"strokeDashOffset","stroke-linecap":"strokeLineCap","stroke-linejoin":"strokeLineJoin","stroke-miterlimit":"strokeMiterLimit","stroke-opacity":"strokeOpacity","stroke-width":"strokeWidth","text-decoration":"textDecoration","text-anchor":"textAnchor",opacity:"opacity","clip-path":"clipPath","clip-rule":"clipRule","vector-effect":"strokeUniform","image-rendering":"imageSmoothing"},Ue="font-size",qe="clip-path",Ke=Ye(["path","circle","polygon","polyline","ellipse","rect","line","image","text"]),Je=Ye(["symbol","image","marker","pattern","view","svg"]),Qe=Ye(["symbol","g","a","svg","clipPath","defs"]),Ze=new RegExp("^\\s*("+He+"+)\\s*,?\\s*("+He+"+)\\s*,?\\s*("+He+"+)\\s*,?\\s*("+He+"+)\\s*$"),$e=new at(1,0),ts=new at,es=(t,e)=>t.rotate(e),ss=(t,e)=>new at(e).subtract(t),is=t=>t.distanceFrom(ts),rs=(t,e)=>Math.atan2(hs(t,e),cs(t,e)),ns=t=>rs($e,t),os=t=>t.eq(ts)?t:t.scalarDivide(is(t)),as=function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return os(new at(-t.y,t.x).scalarMultiply(e?1:-1))},hs=(t,e)=>t.x*e.y-t.y*e.x,cs=(t,e)=>t.x*e.x+t.y*e.y,ls=(t,e,s)=>{if(t.eq(e)||t.eq(s))return!0;const i=hs(e,s),r=hs(e,t),n=hs(s,t);return i>=0?r>=0&&n<=0:!(r<=0&&n>=0)},us="(-?\\d+(?:\\.\\d*)?(?:px)?(?:\\s?|$))?",ds=new RegExp("(?:\\s|^)"+us+us+"("+He+"?(?:px)?)?(?:\\s?|$)(?:$|\\s)");class gs{constructor(t){const e="string"==typeof t?gs.parseShadow(t):t;Object.assign(this,gs.ownDefaults,e),this.id=pt()}static parseShadow(t){const e=t.trim(),[,s=0,i=0,r=0]=(ds.exec(e)||[]).map((t=>parseFloat(t)||0));return{color:(e.replace(ds,"")||"rgb(0,0,0)").trim(),offsetX:s,offsetY:i,blur:r}}toString(){return[this.offsetX,this.offsetY,this.blur,this.color].join("px ")}toSVG(t){const e=es(new at(this.offsetX,this.offsetY),_t(-t.angle)),s=new Ut(this.color);let i=40,r=40;return t.width&&t.height&&(i=100*qt((Math.abs(e.x)+this.blur)/t.width,h.NUM_FRACTION_DIGITS)+20,r=100*qt((Math.abs(e.y)+this.blur)/t.height,h.NUM_FRACTION_DIGITS)+20),t.flipX&&(e.x*=-1),t.flipY&&(e.y*=-1),'\n\t\n\t\n\t\n\t\n\t\n\t\t\n\t\t\n\t\n\n')}toObject(){const t={color:this.color,blur:this.blur,offsetX:this.offsetX,offsetY:this.offsetY,affectStroke:this.affectStroke,nonScaling:this.nonScaling,type:this.constructor.type},e=gs.ownDefaults;return this.includeDefaultValues?t:Yt(t,((t,s)=>t!==e[s]))}static fromObject(t){return e(this,null,(function*(){return new this(t)}))}}s(gs,"ownDefaults",{color:"rgb(0,0,0)",blur:0,offsetX:0,offsetY:0,affectStroke:!1,includeDefaultValues:!0,nonScaling:!1}),s(gs,"type","shadow"),et.setClass(gs,"shadow");const fs=(t,e,s)=>Math.max(t,Math.min(e,s)),ps=[P,E,N,U,"flipX","flipY","originX","originY","angle","opacity","globalCompositeOperation","shadow","visible",q,K],ms=[J,Q,"strokeWidth","strokeDashArray","width","height","paintFirst","strokeUniform","strokeLineCap","strokeDashOffset","strokeLineJoin","strokeMiterLimit","backgroundColor","clipPath"],vs={top:0,left:0,width:0,height:0,angle:0,flipX:!1,flipY:!1,scaleX:1,scaleY:1,minScaleLimit:0,skewX:0,skewY:0,originX:E,originY:P,strokeWidth:1,strokeUniform:!1,padding:0,opacity:1,paintFirst:J,fill:"rgb(0,0,0)",fillRule:"nonzero",stroke:null,strokeDashArray:null,strokeDashOffset:0,strokeLineCap:"butt",strokeLineJoin:"miter",strokeMiterLimit:4,globalCompositeOperation:"source-over",backgroundColor:"",shadow:null,visible:!0,includeDefaultValues:!0,excludeFromExport:!1,objectCaching:!0,clipPath:void 0,inverted:!1,absolutePositioned:!1,centeredRotation:!0,centeredScaling:!1,dirty:!0},ys=(t,e,s,i)=>(tt*Math.pow(2,10*(i-=1))*Math.sin((i*r-e)*w/s),xs=(t,e,s,i)=>-s*Math.cos(t/i*S)+s+e,Cs=(t,e,s,i)=>(t/=i)<1/2.75?s*(7.5625*t*t)+e:t<2/2.75?s*(7.5625*(t-=1.5/2.75)*t+.75)+e:t<2.5/2.75?s*(7.5625*(t-=2.25/2.75)*t+.9375)+e:s*(7.5625*(t-=2.625/2.75)*t+.984375)+e,bs=(t,e,s,i)=>s-Cs(i-t,0,s,i)+e;var Ss=Object.freeze({__proto__:null,defaultEasing:xs,easeInBack:function(t,e,s,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1.70158;return s*(t/=i)*t*((r+1)*t-r)+e},easeInBounce:bs,easeInCirc:(t,e,s,i)=>-s*(Math.sqrt(1-(t/=i)*t)-1)+e,easeInCubic:(e,s,i,r)=>i*t(e/r,3)+s,easeInElastic:(t,e,s,i)=>{const r=s;let n=0;if(0===t)return e;if(1==(t/=i))return e+s;n||(n=.3*i);const{a:o,s:a,p:h}=ys(r,s,n,1.70158);return-_s(o,a,h,t,i)+e},easeInExpo:(e,s,i,r)=>0===e?s:i*t(2,10*(e/r-1))+s,easeInOutBack:function(t,e,s,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1.70158;return(t/=i/2)<1?s/2*(t*t*((1+(r*=1.525))*t-r))+e:s/2*((t-=2)*t*((1+(r*=1.525))*t+r)+2)+e},easeInOutBounce:(t,e,s,i)=>t(e/=r/2)<1?-i/2*(Math.sqrt(1-t(e,2))-1)+s:i/2*(Math.sqrt(1-(e-=2)*e)+1)+s,easeInOutCubic:(e,s,i,r)=>(e/=r/2)<1?i/2*t(e,3)+s:i/2*(t(e-2,3)+2)+s,easeInOutElastic:(t,e,s,i)=>{const r=s;let n=0;if(0===t)return e;if(2==(t/=i/2))return e+s;n||(n=i*(.3*1.5));const{a:o,s:a,p:h,c:c}=ys(r,s,n,1.70158);return t<1?-.5*_s(o,a,h,t,i)+e:o*Math.pow(2,-10*(t-=1))*Math.sin((t*i-a)*w/h)*.5+c+e},easeInOutExpo:(e,s,i,r)=>0===e?s:e===r?s+i:(e/=r/2)<1?i/2*t(2,10*(e-1))+s:i/2*-(t(2,-10*--e)+2)+s,easeInOutQuad:(e,s,i,r)=>(e/=r/2)<1?i/2*t(e,2)+s:-i/2*(--e*(e-2)-1)+s,easeInOutQuart:(e,s,i,r)=>(e/=r/2)<1?i/2*t(e,4)+s:-i/2*((e-=2)*t(e,3)-2)+s,easeInOutQuint:(e,s,i,r)=>(e/=r/2)<1?i/2*t(e,5)+s:i/2*(t(e-2,5)+2)+s,easeInOutSine:(t,e,s,i)=>-s/2*(Math.cos(Math.PI*t/i)-1)+e,easeInQuad:(t,e,s,i)=>s*(t/=i)*t+e,easeInQuart:(e,s,i,r)=>i*(e/=r)*t(e,3)+s,easeInQuint:(e,s,i,r)=>i*t(e/r,5)+s,easeInSine:(t,e,s,i)=>-s*Math.cos(t/i*S)+s+e,easeOutBack:function(t,e,s,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1.70158;return s*((t=t/i-1)*t*((r+1)*t+r)+1)+e},easeOutBounce:Cs,easeOutCirc:(t,e,s,i)=>s*Math.sqrt(1-(t=t/i-1)*t)+e,easeOutCubic:(e,s,i,r)=>i*(t(e/r-1,3)+1)+s,easeOutElastic:(e,s,i,r)=>{const n=i;let o=0;if(0===e)return s;if(1==(e/=r))return s+i;o||(o=.3*r);const{a:a,s:h,p:c,c:l}=ys(n,i,o,1.70158);return a*t(2,-10*e)*Math.sin((e*r-h)*w/c)+l+s},easeOutExpo:(e,s,i,r)=>e===r?s+i:i*-(t(2,-10*e/r)+1)+s,easeOutQuad:(t,e,s,i)=>-s*(t/=i)*(t-2)+e,easeOutQuart:(e,s,i,r)=>-i*((e=e/r-1)*t(e,3)-1)+s,easeOutQuint:(e,s,i,r)=>i*(t(e/r-1,5)+1)+s,easeOutSine:(t,e,s,i)=>s*Math.sin(t/i*S)+e});const ws=()=>!1;class Ts{constructor(t){let{startValue:e,byValue:i,duration:r=500,delay:n=0,easing:o=xs,onStart:a=b,onChange:h=b,onComplete:c=b,abort:l=ws,target:u}=t;s(this,"_state","pending"),s(this,"durationProgress",0),s(this,"valueProgress",0),this.tick=this.tick.bind(this),this.duration=r,this.delay=n,this.easing=o,this._onStart=a,this._onChange=h,this._onComplete=c,this._abort=l,this.target=u,this.startValue=e,this.byValue=i,this.value=this.startValue,this.endValue=Object.freeze(this.calculate(this.duration).value)}get state(){return this._state}isDone(){return"aborted"===this._state||"completed"===this._state}start(){const t=t=>{"pending"===this._state&&(this.startTime=t||+new Date,this._state="running",this._onStart(),this.tick(this.startTime))};this.register(),this.delay>0?setTimeout((()=>dt(t)),this.delay):dt(t)}tick(t){const e=(t||+new Date)-this.startTime,s=Math.min(e,this.duration);this.durationProgress=s/this.duration;const{value:i,valueProgress:r}=this.calculate(s);this.value=Object.freeze(i),this.valueProgress=r,"aborted"!==this._state&&(this._abort(this.value,this.valueProgress,this.durationProgress)?(this._state="aborted",this.unregister()):e>=this.duration?(this.durationProgress=this.valueProgress=1,this._onChange(this.endValue,this.valueProgress,this.durationProgress),this._state="completed",this._onComplete(this.endValue,this.valueProgress,this.durationProgress),this.unregister()):(this._onChange(this.value,this.valueProgress,this.durationProgress),dt(this.tick)))}register(){st.push(this)}unregister(){st.remove(this)}abort(){this._state="aborted",this.unregister()}}const Os=["startValue","endValue"];class Ds extends Ts{constructor(t){let{startValue:e=0,endValue:s=100}=t;super(r(r({},n(t,Os)),{},{startValue:e,byValue:s-e}))}calculate(t){const e=this.easing(t,this.startValue,this.byValue,this.duration);return{value:e,valueProgress:Math.abs((e-this.startValue)/this.byValue)}}}const ks=["startValue","endValue"];class Ms extends Ts{constructor(t){let{startValue:e=[0],endValue:s=[100]}=t;super(r(r({},n(t,ks)),{},{startValue:e,byValue:s.map(((t,s)=>t-e[s]))}))}calculate(t){const e=this.startValue.map(((e,s)=>this.easing(t,e,this.byValue[s],this.duration,s)));return{value:e,valueProgress:Math.abs((e[0]-this.startValue[0])/this.byValue[0])}}}const Es=["startValue","endValue","easing","onChange","onComplete","abort"],Ps=(t,e,s,i)=>e+s*(1-Math.cos(t/i*S)),As=t=>t&&((e,s,i)=>t(new Ut(e).toRgba(),s,i));class js extends Ts{constructor(t){let{startValue:e,endValue:s,easing:i=Ps,onChange:o,onComplete:a,abort:h}=t,c=n(t,Es);const l=new Ut(e).getSource(),u=new Ut(s).getSource();super(r(r({},c),{},{startValue:l,byValue:u.map(((t,e)=>t-l[e])),easing:i,onChange:As(o),onComplete:As(a),abort:As(h)}))}calculate(t){const[e,s,i,r]=this.startValue.map(((e,s)=>this.easing(t,e,this.byValue[s],this.duration,s))),n=[...[e,s,i].map(Math.round),fs(0,r,1)];return{value:n,valueProgress:n.map(((t,e)=>0!==this.byValue[e]?Math.abs((t-this.startValue[e])/this.byValue[e]):0)).find((t=>0!==t))||0}}}function Fs(t){const e=(s=t,Array.isArray(s.startValue)||Array.isArray(s.endValue)?new Ms(t):new Ds(t));var s;return e.start(),e}function Ls(t){const e=new js(t);return e.start(),e}class Rs{constructor(t){this.status=t,this.points=[]}includes(t){return this.points.some((e=>e.eq(t)))}append(){for(var t=arguments.length,e=new Array(t),s=0;s!this.includes(t)))),this}static isPointContained(t,e,s){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(e.eq(s))return t.eq(e);if(e.x===s.x)return t.x===e.x&&(i||t.y>=Math.min(e.y,s.y)&&t.y<=Math.max(e.y,s.y));if(e.y===s.y)return t.y===e.y&&(i||t.x>=Math.min(e.x,s.x)&&t.x<=Math.max(e.x,s.x));{const r=ss(e,s),n=ss(e,t).divide(r);return i?Math.abs(n.x)===Math.abs(n.y):n.x===n.y&&n.x>=0&&n.x<=1}}static isPointInPolygon(t,e){const s=new at(t).setX(Math.min(t.x-1,...e.map((t=>t.x))));let i=0;for(let r=0;r4&&void 0!==arguments[4])||arguments[4],n=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];const o=e.x-t.x,a=e.y-t.y,h=i.x-s.x,c=i.y-s.y,l=t.x-s.x,u=t.y-s.y,d=h*u-c*l,g=o*u-a*l,f=c*o-h*a;if(0!==f){const e=d/f,s=g/f;return(r||0<=e&&e<=1)&&(n||0<=s&&s<=1)?new Rs("Intersection").append(new at(t.x+e*o,t.y+e*a)):new Rs}if(0===d||0===g){const o=r||n||Rs.isPointContained(t,s,i)||Rs.isPointContained(e,s,i)||Rs.isPointContained(s,t,e)||Rs.isPointContained(i,t,e);return new Rs(o?"Coincident":void 0)}return new Rs("Parallel")}static intersectSegmentLine(t,e,s,i){return Rs.intersectLineLine(t,e,s,i,!1,!0)}static intersectSegmentSegment(t,e,s,i){return Rs.intersectLineLine(t,e,s,i,!1,!1)}static intersectLinePolygon(t,e,s){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const r=new Rs,n=s.length;for(let o,a,h,c=0;c0&&(r.status="Intersection"),r}static intersectSegmentPolygon(t,e,s){return Rs.intersectLinePolygon(t,e,s,!1)}static intersectPolygonPolygon(t,e){const s=new Rs,i=t.length,r=[];for(let n=0;n0&&r.length===t.length?new Rs("Coincident"):(s.points.length>0&&(s.status="Intersection"),s)}static intersectPolygonRectangle(t,e,s){const i=e.min(s),r=e.max(s),n=new at(r.x,i.y),o=new at(i.x,r.y);return Rs.intersectPolygonPolygon(t,[i,n,r,o])}}class Is extends ut{getX(){return this.getXY().x}setX(t){this.setXY(this.getXY().setX(t))}getY(){return this.getXY().y}setY(t){this.setXY(this.getXY().setY(t))}getRelativeX(){return this.left}setRelativeX(t){this.left=t}getRelativeY(){return this.top}setRelativeY(t){this.top=t}getXY(){const t=this.getRelativeXY();return this.group?bt(t,this.group.calcTransformMatrix()):t}setXY(t,e,s){this.group&&(t=bt(t,St(this.group.calcTransformMatrix()))),this.setRelativeXY(t,e,s)}getRelativeXY(){return new at(this.left,this.top)}setRelativeXY(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.originX,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.originY;this.setPositionByOrigin(t,e,s)}isStrokeAccountedForInDimensions(){return!1}getCoords(){const{tl:t,tr:e,br:s,bl:i}=this.aCoords||(this.aCoords=this.calcACoords()),r=[t,e,s,i];if(this.group){const t=this.group.calcTransformMatrix();return r.map((e=>bt(e,t)))}return r}intersectsWithRect(t,e){return"Intersection"===Rs.intersectPolygonRectangle(this.getCoords(),t,e).status}intersectsWithObject(t){const e=Rs.intersectPolygonPolygon(this.getCoords(),t.getCoords());return"Intersection"===e.status||"Coincident"===e.status||t.isContainedWithinObject(this)||this.isContainedWithinObject(t)}isContainedWithinObject(t){return this.getCoords().every((e=>t.containsPoint(e)))}isContainedWithinRect(t,e){const{left:s,top:i,width:r,height:n}=this.getBoundingRect();return s>=t.x&&s+r<=e.x&&i>=t.y&&i+n<=e.y}isOverlapping(t){return this.intersectsWithObject(t)||this.isContainedWithinObject(t)||t.isContainedWithinObject(this)}containsPoint(t){return Rs.isPointInPolygon(t,this.getCoords())}isOnScreen(){if(!this.canvas)return!1;const{tl:t,br:e}=this.canvas.vptCoords;return!!this.getCoords().some((s=>s.x<=e.x&&s.x>=t.x&&s.y<=e.y&&s.y>=t.y))||!!this.intersectsWithRect(t,e)||this.containsPoint(t.midPointFrom(e))}isPartiallyOnScreen(){if(!this.canvas)return!1;const{tl:t,br:e}=this.canvas.vptCoords;return!!this.intersectsWithRect(t,e)||this.getCoords().every((s=>(s.x>=e.x||s.x<=t.x)&&(s.y>=e.y||s.y<=t.y)))&&this.containsPoint(t.midPointFrom(e))}getBoundingRect(){return ve(this.getCoords())}getScaledWidth(){return this._getTransformedDimensions().x}getScaledHeight(){return this._getTransformedDimensions().y}scale(t){this._set(N,t),this._set(U,t),this.setCoords()}scaleToWidth(t){const e=this.getBoundingRect().width/this.getScaledWidth();return this.scale(t/this.width/e)}scaleToHeight(t){const e=this.getBoundingRect().height/this.getScaledHeight();return this.scale(t/this.height/e)}getCanvasRetinaScaling(){var t;return(null===(t=this.canvas)||void 0===t?void 0:t.getRetinaScaling())||1}getTotalAngle(){return this.group?xt(Ot(this.calcTransformMatrix())):this.angle}getViewportTransform(){var t;return(null===(t=this.canvas)||void 0===t?void 0:t.viewportTransform)||O.concat()}calcACoords(){const t=Mt({angle:this.angle}),{x:e,y:s}=this.getRelativeCenterPoint(),i=kt(e,s),r=wt(i,t),n=this._getTransformedDimensions(),o=n.x/2,a=n.y/2;return{tl:bt({x:-o,y:-a},r),tr:bt({x:o,y:-a},r),bl:bt({x:-o,y:a},r),br:bt({x:o,y:a},r)}}setCoords(){this.aCoords=this.calcACoords()}transformMatrixKey(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=[];return!t&&this.group&&(e=this.group.transformMatrixKey(t)),e.push(this.top,this.left,this.width,this.height,this.scaleX,this.scaleY,this.angle,this.strokeWidth,this.skewX,this.skewY,+this.flipX,+this.flipY,Ee(this.originX),Ee(this.originY)),e}calcTransformMatrix(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.calcOwnMatrix();if(t||!this.group)return e;const s=this.transformMatrixKey(t),i=this.matrixCache;return i&&i.key.every(((t,e)=>t===s[e]))?i.value:(this.group&&(e=wt(this.group.calcTransformMatrix(!1),e)),this.matrixCache={key:s,value:e},e)}calcOwnMatrix(){const t=this.transformMatrixKey(!0),e=this.ownMatrixCache;if(e&&e.key===t)return e.value;const s=this.getRelativeCenterPoint(),i={angle:this.angle,translateX:s.x,translateY:s.y,scaleX:this.scaleX,scaleY:this.scaleY,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY},r=Lt(i);return this.ownMatrixCache={key:t,value:r},r}_getNonTransformedDimensions(){return new at(this.width,this.height).scalarAdd(this.strokeWidth)}_calculateCurrentDimensions(t){return this._getTransformedDimensions(t).transform(this.getViewportTransform(),!0).scalarAdd(2*this.padding)}_getTransformedDimensions(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=r({scaleX:this.scaleX,scaleY:this.scaleY,skewX:this.skewX,skewY:this.skewY,width:this.width,height:this.height,strokeWidth:this.strokeWidth},t),s=e.strokeWidth;let i=s,n=0;this.strokeUniform&&(i=0,n=s);const o=e.width+i,a=e.height+i;let h;return h=0===e.skewX&&0===e.skewY?new at(o*e.scaleX,a*e.scaleY):Se(o,a,Ft(e)),h.scalarAdd(n)}translateToGivenOrigin(t,e,s,i,r){let n=t.x,o=t.y;const a=Ee(i)-Ee(e),h=Ee(r)-Ee(s);if(a||h){const t=this._getTransformedDimensions();n+=a*t.x,o+=h*t.y}return new at(n,o)}translateToCenterPoint(t,e,s){if(e===M&&s===M)return t;const i=this.translateToGivenOrigin(t,e,s,M,M);return this.angle?i.rotate(_t(this.angle),t):i}translateToOriginPoint(t,e,s){const i=this.translateToGivenOrigin(t,M,M,e,s);return this.angle?i.rotate(_t(this.angle),t):i}getCenterPoint(){const t=this.getRelativeCenterPoint();return this.group?bt(t,this.group.calcTransformMatrix()):t}getRelativeCenterPoint(){return this.translateToCenterPoint(new at(this.left,this.top),this.originX,this.originY)}getPointByOrigin(t,e){return this.translateToOriginPoint(this.getRelativeCenterPoint(),t,e)}setPositionByOrigin(t,e,s){const i=this.translateToCenterPoint(t,e,s),r=this.translateToOriginPoint(i,this.originX,this.originY);this.set({left:r.x,top:r.y})}_getLeftTopCoords(){return this.translateToOriginPoint(this.getRelativeCenterPoint(),E,P)}}const Bs=["type"],Xs=["extraParam"];let Ys=class t extends Is{static getDefaults(){return t.ownDefaults}get type(){const t=this.constructor.type;return"FabricObject"===t?"object":t.toLowerCase()}set type(t){c("warn","Setting type has no effect",t)}constructor(e){super(),s(this,"_cacheContext",null),Object.assign(this,t.ownDefaults),this.setOptions(e)}_createCacheCanvas(){this._cacheCanvas=mt(),this._cacheContext=this._cacheCanvas.getContext("2d"),this._updateCacheCanvas(),this.dirty=!0}_limitCacheSize(t){const e=t.width,s=t.height,i=h.maxCacheSideLimit,r=h.minCacheSideLimit;if(e<=i&&s<=i&&e*s<=h.perfLimitSizeTotal)return ec&&(t.zoomX/=e/c,t.width=c,t.capped=!0),s>l&&(t.zoomY/=s/l,t.height=l,t.capped=!0),t}_getCacheCanvasDimensions(){const t=this.getTotalObjectScaling(),e=this._getTransformedDimensions({skewX:0,skewY:0}),s=e.x*t.x/this.scaleX,i=e.y*t.y/this.scaleY;return{width:s+2,height:i+2,zoomX:t.x,zoomY:t.y,x:s,y:i}}_updateCacheCanvas(){const t=this._cacheCanvas,e=this._cacheContext,s=this._limitCacheSize(this._getCacheCanvasDimensions()),i=h.minCacheSideLimit,r=s.width,n=s.height,o=s.zoomX,a=s.zoomY,c=r!==t.width||n!==t.height,l=this.zoomX!==o||this.zoomY!==a;if(!t||!e)return!1;let u,d,g=c||l,f=0,p=0,m=!1;if(c){const t=this._cacheCanvas.width,e=this._cacheCanvas.height,o=r>t||n>e;m=o||(r<.9*t||n<.9*e)&&t>i&&e>i,o&&!s.capped&&(r>i||n>i)&&(f=.1*r,p=.1*n)}return se(this)&&this.path&&(g=!0,m=!0,f+=this.getHeightOfLine(0)*this.zoomX,p+=this.getHeightOfLine(0)*this.zoomY),!!g&&(m?(t.width=Math.ceil(r+f),t.height=Math.ceil(n+p)):(e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,t.width,t.height)),u=s.x/2,d=s.y/2,this.cacheTranslationX=Math.round(t.width/2-u)+u,this.cacheTranslationY=Math.round(t.height/2-d)+d,e.translate(this.cacheTranslationX,this.cacheTranslationY),e.scale(o,a),this.zoomX=o,this.zoomY=a,!0)}setOptions(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setOptions(t)}transform(t){const e=this.group&&!this.group._transformDone||this.group&&this.canvas&&t===this.canvas.contextTop,s=this.calcTransformMatrix(!e);t.transform(s[0],s[1],s[2],s[3],s[4],s[5])}getObjectScaling(){if(!this.group)return new at(Math.abs(this.scaleX),Math.abs(this.scaleY));const t=Dt(this.calcTransformMatrix());return new at(Math.abs(t.scaleX),Math.abs(t.scaleY))}getTotalObjectScaling(){const t=this.getObjectScaling();if(this.canvas){const e=this.canvas.getZoom(),s=this.getCanvasRetinaScaling();return t.scalarMultiply(e*s)}return t}getObjectOpacity(){let t=this.opacity;return this.group&&(t*=this.group.getObjectOpacity()),t}_constrainScale(t){return Math.abs(t)0&&void 0!==arguments[0]&&arguments[0];if(this.isNotVisible())return!1;const e=this._cacheCanvas,s=this._cacheContext;return!(!e||!s||t||!this._updateCacheCanvas())||!!(this.dirty||this.clipPath&&this.clipPath.absolutePositioned)&&(e&&s&&!t&&(s.save(),s.setTransform(1,0,0,1,0,0),s.clearRect(0,0,e.width,e.height),s.restore()),!0)}_renderBackground(t){if(!this.backgroundColor)return;const e=this._getNonTransformedDimensions();t.fillStyle=this.backgroundColor,t.fillRect(-e.x/2,-e.y/2,e.x,e.y),this._removeShadow(t)}_setOpacity(t){this.group&&!this.group._transformDone?t.globalAlpha=this.getObjectOpacity():t.globalAlpha*=this.opacity}_setStrokeStyles(t,e){const s=e.stroke;s&&(t.lineWidth=e.strokeWidth,t.lineCap=e.strokeLineCap,t.lineDashOffset=e.strokeDashOffset,t.lineJoin=e.strokeLineJoin,t.miterLimit=e.strokeMiterLimit,$t(s)?"percentage"===s.gradientUnits||s.gradientTransform||s.patternTransform?this._applyPatternForTransformedGradient(t,s):(t.strokeStyle=s.toLive(t),this._applyPatternGradientTransform(t,s)):t.strokeStyle=e.stroke)}_setFillStyles(t,e){let{fill:s}=e;s&&($t(s)?(t.fillStyle=s.toLive(t),this._applyPatternGradientTransform(t,s)):t.fillStyle=s)}_setClippingProperties(t){t.globalAlpha=1,t.strokeStyle="transparent",t.fillStyle="#000000"}_setLineDash(t,e){e&&0!==e.length&&(1&e.length&&e.push(...e),t.setLineDash(e))}_setShadow(t){if(!this.shadow)return;const e=this.shadow,s=this.canvas,i=this.getCanvasRetinaScaling(),[r,,,n]=(null==s?void 0:s.viewportTransform)||O,o=r*i,a=n*i,c=e.nonScaling?new at(1,1):this.getObjectScaling();t.shadowColor=e.color,t.shadowBlur=e.blur*h.browserShadowBlurConstant*(o+a)*(c.x+c.y)/4,t.shadowOffsetX=e.offsetX*o*c.x,t.shadowOffsetY=e.offsetY*a*c.y}_removeShadow(t){this.shadow&&(t.shadowColor="",t.shadowBlur=t.shadowOffsetX=t.shadowOffsetY=0)}_applyPatternGradientTransform(t,e){if(!$t(e))return{offsetX:0,offsetY:0};const s=e.gradientTransform||e.patternTransform,i=-this.width/2+e.offsetX||0,r=-this.height/2+e.offsetY||0;return"percentage"===e.gradientUnits?t.transform(this.width,0,0,this.height,i,r):t.transform(1,0,0,1,i,r),s&&t.transform(s[0],s[1],s[2],s[3],s[4],s[5]),{offsetX:i,offsetY:r}}_renderPaintInOrder(t){this.paintFirst===Q?(this._renderStroke(t),this._renderFill(t)):(this._renderFill(t),this._renderStroke(t))}_render(t){}_renderFill(t){this.fill&&(t.save(),this._setFillStyles(t,this),"evenodd"===this.fillRule?t.fill("evenodd"):t.fill(),t.restore())}_renderStroke(t){if(this.stroke&&0!==this.strokeWidth){if(this.shadow&&!this.shadow.affectStroke&&this._removeShadow(t),t.save(),this.strokeUniform){const e=this.getObjectScaling();t.scale(1/e.x,1/e.y)}this._setLineDash(t,this.strokeDashArray),this._setStrokeStyles(t,this),t.stroke(),t.restore()}}_applyPatternForTransformedGradient(t,e){var s;const i=this._limitCacheSize(this._getCacheCanvasDimensions()),r=mt(),n=this.getCanvasRetinaScaling(),o=i.x/this.scaleX/n,a=i.y/this.scaleY/n;r.width=Math.ceil(o),r.height=Math.ceil(a);const h=r.getContext("2d");h&&(h.beginPath(),h.moveTo(0,0),h.lineTo(o,0),h.lineTo(o,a),h.lineTo(0,a),h.closePath(),h.translate(o/2,a/2),h.scale(i.zoomX/this.scaleX/n,i.zoomY/this.scaleY/n),this._applyPatternGradientTransform(h,e),h.fillStyle=e.toLive(t),h.fill(),t.translate(-this.width/2-this.strokeWidth/2,-this.height/2-this.strokeWidth/2),t.scale(n*this.scaleX/i.zoomX,n*this.scaleY/i.zoomY),t.strokeStyle=null!==(s=h.createPattern(r,"no-repeat"))&&void 0!==s?s:"")}_findCenterFromElement(){return new at(this.left+this.width/2,this.top+this.height/2)}clone(t){const e=this.toObject(t);return this.constructor.fromObject(e)}cloneAsImage(t){const e=this.toCanvasElement(t);return new(et.getClass("image"))(e)}toCanvasElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=be(this),s=this.group,i=this.shadow,r=Math.abs,n=t.enableRetinaScaling?_():1,o=(t.multiplier||1)*n,a=t.canvasProvider||(t=>new de(t,{enableRetinaScaling:!1,renderOnAddRemove:!1,skipOffscreen:!1}));delete this.group,t.withoutTransform&&Ce(this),t.withoutShadow&&(this.shadow=null),t.viewportTransform&&De(this,this.getViewportTransform()),this.setCoords();const h=mt(),c=this.getBoundingRect(),l=this.shadow,u=new at;if(l){const t=l.blur,e=l.nonScaling?new at(1,1):this.getObjectScaling();u.x=2*Math.round(r(l.offsetX)+t)*r(e.x),u.y=2*Math.round(r(l.offsetY)+t)*r(e.y)}const d=c.width+u.x,g=c.height+u.y;h.width=Math.ceil(d),h.height=Math.ceil(g);const f=a(h);"jpeg"===t.format&&(f.backgroundColor="#fff"),this.setPositionByOrigin(new at(f.width/2,f.height/2),M,M);const p=this.canvas;f._objects=[this],this.set("canvas",f),this.setCoords();const m=f.toCanvasElement(o||1,t);return this.set("canvas",p),this.shadow=i,s&&(this.group=s),this.set(e),this.setCoords(),f._objects=[],f.destroy(),m}toDataURL(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return yt(this.toCanvasElement(t),t.format||"png",t.quality||1)}isType(){for(var t=arguments.length,e=new Array(t),s=0;s{let[i,r]=s;return t[i]=this._animate(i,r,e),t}),{})}_animate(t,e){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=t.split("."),n=this.constructor.colorProperties.includes(i[i.length-1]),{abort:o,startValue:a,onChange:h,onComplete:c}=s,l=r(r({},s),{},{target:this,startValue:null!=a?a:i.reduce(((t,e)=>t[e]),this),endValue:e,abort:null==o?void 0:o.bind(this),onChange:(t,e,s)=>{i.reduce(((e,s,r)=>(r===i.length-1&&(e[s]=t),e[s])),this),h&&h(t,e,s)},onComplete:(t,e,s)=>{this.setCoords(),c&&c(t,e,s)}});return n?Ls(l):Fs(l)}isDescendantOf(t){const{parent:e,group:s}=this;return e===t||s===t||!!e&&e.isDescendantOf(t)||!!s&&s!==e&&s.isDescendantOf(t)}getAncestors(){const t=[];let e=this;do{e=e.parent,e&&t.push(e)}while(e);return t}findCommonAncestors(t){if(this===t)return{fork:[],otherFork:[],common:[this,...this.getAncestors()]};const e=this.getAncestors(),s=t.getAncestors();if(0===e.length&&s.length>0&&this===s[s.length-1])return{fork:[],otherFork:[t,...s.slice(0,s.length-1)],common:[this]};for(let i,r=0;r-1&&n>o}toObject(){const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).concat(t.customProperties,this.constructor.customProperties||[]);let s;const i=h.NUM_FRACTION_DIGITS,{clipPath:n,fill:o,stroke:a,shadow:c,strokeDashArray:l,left:u,top:d,originX:g,originY:f,width:p,height:m,strokeWidth:v,strokeLineCap:y,strokeDashOffset:_,strokeLineJoin:x,strokeUniform:b,strokeMiterLimit:S,scaleX:w,scaleY:T,angle:O,flipX:D,flipY:k,opacity:M,visible:E,backgroundColor:P,fillRule:A,paintFirst:j,globalCompositeOperation:F,skewX:L,skewY:R}=this;n&&!n.excludeFromExport&&(s=n.toObject(e.concat("inverted","absolutePositioned")));const I=t=>qt(t,i),B=r(r({},Xt(this,e)),{},{type:this.constructor.type,version:C,originX:g,originY:f,left:I(u),top:I(d),width:I(p),height:I(m),fill:te(o)?o.toObject():o,stroke:te(a)?a.toObject():a,strokeWidth:I(v),strokeDashArray:l?l.concat():l,strokeLineCap:y,strokeDashOffset:_,strokeLineJoin:x,strokeUniform:b,strokeMiterLimit:I(S),scaleX:I(w),scaleY:I(T),angle:I(O),flipX:D,flipY:k,opacity:I(M),shadow:c?c.toObject():c,visible:E,backgroundColor:P,fillRule:A,paintFirst:j,globalCompositeOperation:F,skewX:I(L),skewY:I(R)},s?{clipPath:s}:null);return this.includeDefaultValues?B:this._removeDefaultValues(B)}toDatalessObject(t){return this.toObject(t)}_removeDefaultValues(t){const e=this.constructor.getDefaults(),s=Object.keys(e).length>0?e:Object.getPrototypeOf(this);return Yt(t,((t,e)=>{if(e===E||e===P||"type"===e)return!0;const i=s[e];return t!==i&&!(Array.isArray(t)&&Array.isArray(i)&&0===t.length&&0===i.length)}))}toString(){return"#<".concat(this.constructor.type,">")}static _fromObject(t){let e=n(t,Bs),s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{extraParam:i}=s,r=n(s,Xs);return Bt(e,r).then((t=>i?(delete t[i],new this(e[i],t)):new this(t)))}static fromObject(t,e){return this._fromObject(t,e)}};s(Ys,"stateProperties",ps),s(Ys,"cacheProperties",ms),s(Ys,"ownDefaults",vs),s(Ys,"type","FabricObject"),s(Ys,"colorProperties",[J,Q,"backgroundColor"]),s(Ys,"customProperties",[]),et.setClass(Ys),et.setClass(Ys,"object");const Ws=(t,e,s)=>(i,n,o,a)=>{const h=e(i,n,o,a);return h&&ke(t,r(r({},Le(i,n,o,a)),s)),h};function Vs(t){return(e,s,i,r)=>{const{target:n,originX:o,originY:a}=s,h=n.getRelativeCenterPoint(),c=n.translateToOriginPoint(h,o,a),l=t(e,s,i,r);return n.setPositionByOrigin(c,s.originX,s.originY),l}}const Hs=Ws(W,Vs(((t,e,s,i)=>{const r=Ie(e,e.originX,e.originY,s,i);if(Ee(e.originX)===Ee(M)||Ee(e.originX)===Ee(j)&&r.x<0||Ee(e.originX)===Ee(E)&&r.x>0){const{target:t}=e,s=t.strokeWidth/(t.strokeUniform?t.scaleX:1),i=Ae(e)?2:1,n=t.width,o=Math.ceil(Math.abs(r.x*i/t.scaleX)-s);return t.set("width",Math.max(o,0)),n!==t.width}return!1})));function Gs(t,e,s,i,r){i=i||{};const n=this.sizeX||i.cornerSize||r.cornerSize,o=this.sizeY||i.cornerSize||r.cornerSize,a=void 0!==i.transparentCorners?i.transparentCorners:r.transparentCorners,h=a?Q:J,c=!a&&(i.cornerStrokeColor||r.cornerStrokeColor);let l,u=e,d=s;t.save(),t.fillStyle=i.cornerColor||r.cornerColor||"",t.strokeStyle=i.cornerStrokeColor||r.cornerStrokeColor||"",n>o?(l=n,t.scale(1,o/n),d=s*n/o):o>n?(l=o,t.scale(n/o,1),u=e*o/n):l=n,t.lineWidth=1,t.beginPath(),t.arc(u,d,l/2,0,w,!1),t[h](),c&&t.stroke(),t.restore()}function zs(t,e,s,i,r){i=i||{};const n=this.sizeX||i.cornerSize||r.cornerSize,o=this.sizeY||i.cornerSize||r.cornerSize,a=void 0!==i.transparentCorners?i.transparentCorners:r.transparentCorners,h=a?Q:J,c=!a&&(i.cornerStrokeColor||r.cornerStrokeColor),l=n/2,u=o/2;t.save(),t.fillStyle=i.cornerColor||r.cornerColor||"",t.strokeStyle=i.cornerStrokeColor||r.cornerStrokeColor||"",t.lineWidth=1,t.translate(e,s);const d=r.getTotalAngle();t.rotate(_t(d)),t["".concat(h,"Rect")](-l,-u,n,o),c&&t.strokeRect(-l,-u,n,o),t.restore()}class Ns{constructor(t){s(this,"visible",!0),s(this,"actionName",z),s(this,"angle",0),s(this,"x",0),s(this,"y",0),s(this,"offsetX",0),s(this,"offsetY",0),s(this,"sizeX",0),s(this,"sizeY",0),s(this,"touchSizeX",0),s(this,"touchSizeY",0),s(this,"cursorStyle","crosshair"),s(this,"withConnection",!1),Object.assign(this,t)}shouldActivate(t,e,s,i){var r;let{tl:n,tr:o,br:a,bl:h}=i;return(null===(r=e.canvas)||void 0===r?void 0:r.getActiveObject())===e&&e.isControlVisible(t)&&Rs.isPointInPolygon(s,[n,o,a,h])}getActionHandler(t,e,s){return this.actionHandler}getMouseDownHandler(t,e,s){return this.mouseDownHandler}getMouseUpHandler(t,e,s){return this.mouseUpHandler}cursorStyleHandler(t,e,s){return e.cursorStyle}getActionName(t,e,s){return e.actionName}getVisibility(t,e){var s,i;return null!==(s=null===(i=t._controlsVisibility)||void 0===i?void 0:i[e])&&void 0!==s?s:this.visible}setVisibility(t,e,s){this.visible=t}positionHandler(t,e,s,i){return new at(this.x*t.x+this.offsetX,this.y*t.y+this.offsetY).transform(e)}calcCornerCoords(t,e,s,i,r,n){const o=Tt([kt(s,i),Mt({angle:t}),Et((r?this.touchSizeX:this.sizeX)||e,(r?this.touchSizeY:this.sizeY)||e)]);return{tl:new at(-.5,-.5).transform(o),tr:new at(.5,-.5).transform(o),br:new at(.5,.5).transform(o),bl:new at(-.5,.5).transform(o)}}render(t,e,s,i,r){"circle"===((i=i||{}).cornerStyle||r.cornerStyle)?Gs.call(this,t,e,s,i,r):zs.call(this,t,e,s,i,r)}}const Us=(t,e,s)=>s.lockRotation?Pe:e.cursorStyle,qs=Ws(B,Vs(((t,e,s,i)=>{let{target:r,ex:n,ey:o,theta:a,originX:h,originY:c}=e;const l=r.translateToOriginPoint(r.getRelativeCenterPoint(),h,c);if(Fe(r,"lockRotation"))return!1;const u=Math.atan2(o-l.y,n-l.x),d=Math.atan2(i-l.y,s-l.x);let g=xt(d-u+a);if(r.snapAngle&&r.snapAngle>0){const t=r.snapAngle,e=r.snapThreshold||t,s=Math.ceil(g/t)*t,i=Math.floor(g/t)*t;Math.abs(g-i){const i=Ks(t,s);if(Js(s,0!==e.x&&0===e.y?"x":0===e.x&&0!==e.y?"y":"",i))return Pe;const r=Re(s,e);return"".concat(Qs[r],"-resize")};function $s(t,e,s,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const n=e.target,o=r.by,a=Ks(t,n);let h,c,l,u,d,g;if(Js(n,o,a))return!1;if(e.gestureScale)c=e.scaleX*e.gestureScale,l=e.scaleY*e.gestureScale;else{if(h=Ie(e,e.originX,e.originY,s,i),d="y"!==o?Math.sign(h.x||e.signX||1):1,g="x"!==o?Math.sign(h.y||e.signY||1):1,e.signX||(e.signX=d),e.signY||(e.signY=g),Fe(n,"lockScalingFlip")&&(e.signX!==d||e.signY!==g))return!1;if(u=n._getTransformedDimensions(),a&&!o){const t=Math.abs(h.x)+Math.abs(h.y),{original:s}=e,i=t/(Math.abs(u.x*s.scaleX/n.scaleX)+Math.abs(u.y*s.scaleY/n.scaleY));c=s.scaleX*i,l=s.scaleY*i}else c=Math.abs(h.x*n.scaleX/u.x),l=Math.abs(h.y*n.scaleY/u.y);Ae(e)&&(c*=2,l*=2),e.signX!==d&&"y"!==o&&(e.originX=je(e.originX),c*=-1,e.signX=d),e.signY!==g&&"x"!==o&&(e.originY=je(e.originY),l*=-1,e.signY=g)}const f=n.scaleX,p=n.scaleY;return o?("x"===o&&n.set(N,c),"y"===o&&n.set(U,l)):(!Fe(n,"lockScalingX")&&n.set(N,c),!Fe(n,"lockScalingY")&&n.set(U,l)),f!==n.scaleX||p!==n.scaleY}const ti=Ws(I,Vs(((t,e,s,i)=>$s(t,e,s,i)))),ei=Ws(I,Vs(((t,e,s,i)=>$s(t,e,s,i,{by:"x"})))),si=Ws(I,Vs(((t,e,s,i)=>$s(t,e,s,i,{by:"y"})))),ii=["target","ex","ey","skewingSide"],ri={x:{counterAxis:"y",scale:N,skew:q,lockSkewing:"lockSkewingX",origin:"originX",flip:"flipX"},y:{counterAxis:"x",scale:U,skew:K,lockSkewing:"lockSkewingY",origin:"originY",flip:"flipY"}},ni=["ns","nesw","ew","nwse"],oi=(t,e,s)=>{if(0!==e.x&&Fe(s,"lockSkewingY"))return Pe;if(0!==e.y&&Fe(s,"lockSkewingX"))return Pe;const i=Re(s,e)%4;return"".concat(ni[i],"-resize")};function ai(t,e,s,i,o){const{target:a}=s,{counterAxis:h,origin:c,lockSkewing:l,skew:u,flip:d}=ri[t];if(Fe(a,l))return!1;const{origin:g,flip:f}=ri[h],p=Ee(s[g])*(a[f]?-1:1),m=-Math.sign(p)*(a[d]?-1:1),v=-(0===a[u]&&Ie(s,M,M,i,o)[t]>0||a[u]>0?1:-1)*m*.5+.5;return Ws(Y,Vs(((e,s,i,r)=>function(t,e,s){let{target:i,ex:r,ey:o,skewingSide:a}=e,h=n(e,ii);const{skew:c}=ri[t],l=s.subtract(new at(r,o)).divide(new at(i.scaleX,i.scaleY))[t],u=i[c],d=h[c],g=Math.tan(_t(d)),f="y"===t?i._getTransformedDimensions({scaleX:1,scaleY:1,skewX:0}).x:i._getTransformedDimensions({scaleX:1,scaleY:1}).y,p=2*l*a/Math.max(f,1)+g,m=xt(Math.atan(p));i.set(c,m);const v=u!==i[c];if(v&&"y"===t){const{skewX:t,scaleX:e}=i,s=i._getTransformedDimensions({skewY:u}),r=i._getTransformedDimensions(),n=0!==t?s.x/r.x:1;1!==n&&i.set(N,n*e)}return v}(t,s,new at(i,r)))))(e,r(r({},s),{},{[c]:v,skewingSide:m}),i,o)}const hi=(t,e,s,i)=>ai("x",t,e,s,i),ci=(t,e,s,i)=>ai("y",t,e,s,i);function li(t,e){return t[e.canvas.altActionKey]}const ui=(t,e,s)=>{const i=li(t,s);return 0===e.x?i?q:U:0===e.y?i?K:N:""},di=(t,e,s)=>li(t,s)?oi(0,e,s):Zs(t,e,s),gi=(t,e,s,i)=>li(t,e.target)?ci(t,e,s,i):ei(t,e,s,i),fi=(t,e,s,i)=>li(t,e.target)?hi(t,e,s,i):si(t,e,s,i),pi=()=>({ml:new Ns({x:-.5,y:0,cursorStyleHandler:di,actionHandler:gi,getActionName:ui}),mr:new Ns({x:.5,y:0,cursorStyleHandler:di,actionHandler:gi,getActionName:ui}),mb:new Ns({x:0,y:.5,cursorStyleHandler:di,actionHandler:fi,getActionName:ui}),mt:new Ns({x:0,y:-.5,cursorStyleHandler:di,actionHandler:fi,getActionName:ui}),tl:new Ns({x:-.5,y:-.5,cursorStyleHandler:Zs,actionHandler:ti}),tr:new Ns({x:.5,y:-.5,cursorStyleHandler:Zs,actionHandler:ti}),bl:new Ns({x:-.5,y:.5,cursorStyleHandler:Zs,actionHandler:ti}),br:new Ns({x:.5,y:.5,cursorStyleHandler:Zs,actionHandler:ti}),mtr:new Ns({x:0,y:-.5,actionHandler:qs,cursorStyleHandler:Us,offsetY:-40,withConnection:!0,actionName:X})}),mi=()=>({mr:new Ns({x:.5,y:0,actionHandler:Hs,cursorStyleHandler:di,actionName:W}),ml:new Ns({x:-.5,y:0,actionHandler:Hs,cursorStyleHandler:di,actionName:W})}),vi=()=>r(r({},pi()),mi());class yi extends Ys{static getDefaults(){return r(r({},super.getDefaults()),yi.ownDefaults)}constructor(t){super(),Object.assign(this,this.constructor.createControls(),yi.ownDefaults),this.setOptions(t)}static createControls(){return{controls:pi()}}_updateCacheCanvas(){const t=this.canvas;if(this.noScaleCache&&t&&t._currentTransform){const e=t._currentTransform,s=e.target,i=e.action;if(this===s&&i&&i.startsWith(z))return!1}return super._updateCacheCanvas()}getActiveControl(){const t=this.__corner;return t?{key:t,control:this.controls[t],coord:this.oCoords[t]}:void 0}findControl(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasControls||!this.canvas)return;this.__corner=void 0;const s=Object.entries(this.oCoords);for(let i=s.length-1;i>=0;i--){const[r,n]=s[i],o=this.controls[r];if(o.shouldActivate(r,this,t,e?n.touchCorner:n.corner))return this.__corner=r,{key:r,control:o,coord:this.oCoords[r]}}}calcOCoords(){const t=this.getViewportTransform(),e=this.getCenterPoint(),s=kt(e.x,e.y),i=Mt({angle:this.getTotalAngle()-(this.group&&this.flipX?180:0)}),r=wt(s,i),n=wt(t,r),o=wt(n,[1/t[0],0,0,1/t[3],0,0]),a=this.group?Dt(this.calcTransformMatrix()):void 0;a&&(a.scaleX=Math.abs(a.scaleX),a.scaleY=Math.abs(a.scaleY));const h=this._calculateCurrentDimensions(a),c={};return this.forEachControl(((t,e)=>{const s=t.positionHandler(h,o,this,t);c[e]=Object.assign(s,this._calcCornerCoords(t,s))})),c}_calcCornerCoords(t,e){const s=this.getTotalAngle();return{corner:t.calcCornerCoords(s,this.cornerSize,e.x,e.y,!1,this),touchCorner:t.calcCornerCoords(s,this.touchCornerSize,e.x,e.y,!0,this)}}setCoords(){super.setCoords(),this.canvas&&(this.oCoords=this.calcOCoords())}forEachControl(t){for(const e in this.controls)t(this.controls[e],e,this)}drawSelectionBackground(t){if(!this.selectionBackgroundColor||this.canvas&&this.canvas._activeObject!==this)return;t.save();const e=this.getRelativeCenterPoint(),s=this._calculateCurrentDimensions(),i=this.getViewportTransform();t.translate(e.x,e.y),t.scale(1/i[0],1/i[3]),t.rotate(_t(this.angle)),t.fillStyle=this.selectionBackgroundColor,t.fillRect(-s.x/2,-s.y/2,s.x,s.y),t.restore()}strokeBorders(t,e){t.strokeRect(-e.x/2,-e.y/2,e.x,e.y)}_drawBorders(t,e){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=r({hasControls:this.hasControls,borderColor:this.borderColor,borderDashArray:this.borderDashArray},s);t.save(),t.strokeStyle=i.borderColor,this._setLineDash(t,i.borderDashArray),this.strokeBorders(t,e),i.hasControls&&this.drawControlsConnectingLines(t,e),t.restore()}_renderControls(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{hasBorders:s,hasControls:i}=this,n=r({hasBorders:s,hasControls:i},e),o=this.getViewportTransform(),a=n.hasBorders,h=n.hasControls,c=wt(o,this.calcTransformMatrix()),l=Dt(c);t.save(),t.translate(l.translateX,l.translateY),t.lineWidth=1*this.borderScaleFactor,this.group===this.parent&&(t.globalAlpha=this.isMoving?this.borderOpacityWhenMoving:1),this.flipX&&(l.angle-=180),t.rotate(_t(this.group?l.angle:this.angle)),a&&this.drawBorders(t,l,e),h&&this.drawControls(t,e),t.restore()}drawBorders(t,e,s){let i;if(s&&s.forActiveSelection||this.group){const t=Se(this.width,this.height,Ft(e)),s=this.isStrokeAccountedForInDimensions()?ht:(this.strokeUniform?(new at).scalarAdd(this.canvas?this.canvas.getZoom():1):new at(e.scaleX,e.scaleY)).scalarMultiply(this.strokeWidth);i=t.add(s).scalarAdd(this.borderScaleFactor).scalarAdd(2*this.padding)}else i=this._calculateCurrentDimensions().scalarAdd(this.borderScaleFactor);this._drawBorders(t,i,s)}drawControlsConnectingLines(t,e){let s=!1;t.beginPath(),this.forEachControl(((i,r)=>{i.withConnection&&i.getVisibility(this,r)&&(s=!0,t.moveTo(i.x*e.x,i.y*e.y),t.lineTo(i.x*e.x+i.offsetX,i.y*e.y+i.offsetY))})),s&&t.stroke()}drawControls(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.save();const s=this.getCanvasRetinaScaling(),{cornerStrokeColor:i,cornerDashArray:n,cornerColor:o}=this,a=r({cornerStrokeColor:i,cornerDashArray:n,cornerColor:o},e);t.setTransform(s,0,0,s,0,0),t.strokeStyle=t.fillStyle=a.cornerColor,this.transparentCorners||(t.strokeStyle=a.cornerStrokeColor),this._setLineDash(t,a.cornerDashArray),this.forEachControl(((e,s)=>{if(e.getVisibility(this,s)){const i=this.oCoords[s];e.render(t,i.x,i.y,a,this)}})),t.restore()}isControlVisible(t){return this.controls[t]&&this.controls[t].getVisibility(this,t)}setControlVisible(t,e){this._controlsVisibility||(this._controlsVisibility={}),this._controlsVisibility[t]=e}setControlsVisibility(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.entries(t).forEach((t=>{let[e,s]=t;return this.setControlVisible(e,s)}))}clearContextTop(t){if(!this.canvas)return;const e=this.canvas.contextTop;if(!e)return;const s=this.canvas.viewportTransform;e.save(),e.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this.transform(e);const i=this.width+4,r=this.height+4;return e.clearRect(-i/2,-r/2,i,r),t||e.restore(),e}onDeselect(t){return!1}onSelect(t){return!1}shouldStartDragging(t){return!1}onDragStart(t){return!1}canDrop(t){return!1}renderDragSourceEffect(t){}renderDropTargetEffect(t){}}function _i(t,e){return e.forEach((e=>{Object.getOwnPropertyNames(e.prototype).forEach((s=>{"constructor"!==s&&Object.defineProperty(t.prototype,s,Object.getOwnPropertyDescriptor(e.prototype,s)||Object.create(null))}))})),t}s(yi,"ownDefaults",{noScaleCache:!0,lockMovementX:!1,lockMovementY:!1,lockRotation:!1,lockScalingX:!1,lockScalingY:!1,lockSkewingX:!1,lockSkewingY:!1,lockScalingFlip:!1,cornerSize:13,touchCornerSize:24,transparentCorners:!0,cornerColor:"rgb(178,204,255)",cornerStrokeColor:"",cornerStyle:"rect",cornerDashArray:null,hasControls:!0,borderColor:"rgb(178,204,255)",borderDashArray:null,borderOpacityWhenMoving:.4,borderScaleFactor:1,hasBorders:!0,selectionBackgroundColor:"",selectable:!0,evented:!0,perPixelTargetFind:!1,activeOn:"down",hoverCursor:null,moveCursor:null});class xi extends yi{}_i(xi,[Xe]),et.setClass(xi),et.setClass(xi,"object");const Ci=(t,e,s,i)=>{const r=2*(i=Math.round(i))+1,{data:n}=t.getImageData(e-i,s-i,r,r);for(let o=3;o0)return!1;return!0};class bi{constructor(t){this.options=t,this.strokeProjectionMagnitude=this.options.strokeWidth/2,this.scale=new at(this.options.scaleX,this.options.scaleY),this.strokeUniformScalar=this.options.strokeUniform?new at(1/this.options.scaleX,1/this.options.scaleY):new at(1,1)}createSideVector(t,e){const s=ss(t,e);return this.options.strokeUniform?s.multiply(this.scale):s}projectOrthogonally(t,e,s){return this.applySkew(t.add(this.calcOrthogonalProjection(t,e,s)))}isSkewed(){return 0!==this.options.skewX||0!==this.options.skewY}applySkew(t){const e=new at(t);return e.y+=e.x*Math.tan(_t(this.options.skewY)),e.x+=e.y*Math.tan(_t(this.options.skewX)),e}scaleUnitVector(t,e){return t.multiply(this.strokeUniformScalar).scalarMultiply(e)}}const Si=new at;class wi extends bi{static getOrthogonalRotationFactor(t,e){const s=e?rs(t,e):ns(t);return Math.abs(s)2&&void 0!==arguments[2]?arguments[2]:this.strokeProjectionMagnitude;const i=this.createSideVector(t,e),r=as(i),n=wi.getOrthogonalRotationFactor(r,this.bisector);return this.scaleUnitVector(r,s*n)}projectBevel(){const t=[];return(this.alpha%w==0?[this.B]:[this.B,this.C]).forEach((e=>{t.push(this.projectOrthogonally(this.A,e)),t.push(this.projectOrthogonally(this.A,e,-this.strokeProjectionMagnitude))})),t}projectMiter(){const t=[],e=Math.abs(this.alpha),s=1/Math.sin(e/2),i=this.scaleUnitVector(this.bisector,-this.strokeProjectionMagnitude*s),r=this.options.strokeUniform?is(this.scaleUnitVector(this.bisector,this.options.strokeMiterLimit)):this.options.strokeMiterLimit;return is(i)/this.strokeProjectionMagnitude<=r&&t.push(this.applySkew(this.A.add(i))),t.push(...this.projectBevel()),t}projectRoundNoSkew(t,e){const s=[],i=new at(wi.getOrthogonalRotationFactor(this.bisector),wi.getOrthogonalRotationFactor(new at(this.bisector.y,this.bisector.x)));return[new at(1,0).scalarMultiply(this.strokeProjectionMagnitude).multiply(this.strokeUniformScalar).multiply(i),new at(0,1).scalarMultiply(this.strokeProjectionMagnitude).multiply(this.strokeUniformScalar).multiply(i)].forEach((i=>{ls(i,t,e)&&s.push(this.A.add(i))})),s}projectRoundWithSkew(e,s){const i=[],{skewX:r,skewY:n,scaleX:o,scaleY:a,strokeUniform:h}=this.options,c=new at(Math.tan(_t(r)),Math.tan(_t(n))),l=this.strokeProjectionMagnitude,u=h?l/a/Math.sqrt(1/t(a,2)+1/t(o,2)*t(c.y,2)):l/Math.sqrt(1+t(c.y,2)),d=new at(Math.sqrt(Math.max(t(l,2)-t(u,2),0)),u),g=h?l/Math.sqrt(1+t(c.x,2)*t(1/a,2)/t(1/o+1/o*c.x*c.y,2)):l/Math.sqrt(1+t(c.x,2)/t(1+c.x*c.y,2)),f=new at(g,Math.sqrt(Math.max(t(l,2)-t(g,2),0)));return[f,f.scalarMultiply(-1),d,d.scalarMultiply(-1)].map((t=>this.applySkew(h?t.multiply(this.strokeUniformScalar):t))).forEach((t=>{ls(t,e,s)&&i.push(this.applySkew(this.A).add(t))})),i}projectRound(){const t=[];t.push(...this.projectBevel());const e=this.alpha%w==0,s=this.applySkew(this.A),i=t[e?0:2].subtract(s),r=t[e?1:0].subtract(s),n=e?this.applySkew(this.AB.scalarMultiply(-1)):this.applySkew(this.bisector.multiply(this.strokeUniformScalar).scalarMultiply(-1)),o=hs(i,n)>0,a=o?i:r,h=o?r:i;return this.isSkewed()?t.push(...this.projectRoundWithSkew(a,h)):t.push(...this.projectRoundNoSkew(a,h)),t}projectPoints(){switch(this.options.strokeLineJoin){case"miter":return this.projectMiter();case"round":return this.projectRound();default:return this.projectBevel()}}project(){return this.projectPoints().map((t=>({originPoint:this.A,projectedPoint:t,angle:this.alpha,bisector:this.bisector})))}}class Ti extends bi{constructor(t,e,s){super(s),this.A=new at(t),this.T=new at(e)}calcOrthogonalProjection(t,e){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.strokeProjectionMagnitude;const i=this.createSideVector(t,e);return this.scaleUnitVector(as(i),s)}projectButt(){return[this.projectOrthogonally(this.A,this.T,this.strokeProjectionMagnitude),this.projectOrthogonally(this.A,this.T,-this.strokeProjectionMagnitude)]}projectRound(){const t=[];if(!this.isSkewed()&&this.A.eq(this.T)){const e=new at(1,1).scalarMultiply(this.strokeProjectionMagnitude).multiply(this.strokeUniformScalar);t.push(this.applySkew(this.A.add(e)),this.applySkew(this.A.subtract(e)))}else t.push(...new wi(this.A,this.T,this.T,this.options).projectRound());return t}projectSquare(){const t=[];if(this.A.eq(this.T)){const e=new at(1,1).scalarMultiply(this.strokeProjectionMagnitude).multiply(this.strokeUniformScalar);t.push(this.A.add(e),this.A.subtract(e))}else{const e=this.calcOrthogonalProjection(this.A,this.T,this.strokeProjectionMagnitude),s=this.scaleUnitVector(os(this.createSideVector(this.A,this.T)),-this.strokeProjectionMagnitude),i=this.A.add(s);t.push(i.add(e),i.subtract(e))}return t.map((t=>this.applySkew(t)))}projectPoints(){switch(this.options.strokeLineCap){case"round":return this.projectRound();case"square":return this.projectSquare();default:return this.projectButt()}}project(){return this.projectPoints().map((t=>({originPoint:this.A,projectedPoint:t})))}}const Oi=function(t,e){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const i=[];if(0===t.length)return i;const r=t.reduce(((t,e)=>(t[t.length-1].eq(e)||t.push(new at(e)),t)),[new at(t[0])]);if(1===r.length)s=!0;else if(!s){const t=r[0],e=((t,e)=>{for(let s=t.length-1;s>=0;s--)if(e(t[s]))return s;return-1})(r,(e=>!e.eq(t)));r.splice(e+1)}return r.forEach(((t,r,n)=>{let o,a;0===r?(a=n[1],o=s?t:n[n.length-1]):r===n.length-1?(o=n[r-1],a=s?t:n[0]):(o=n[r-1],a=n[r+1]),s&&1===n.length?i.push(...new Ti(t,t,e).project()):!s||0!==r&&r!==n.length-1?i.push(...new wi(t,o,a,e).project()):i.push(...new Ti(t,0===r?a:o,e).project())})),i},Di=t=>{const e={};return Object.keys(t).forEach((s=>{e[s]={},Object.keys(t[s]).forEach((i=>{e[s][i]=r({},t[s][i])}))})),e},ki=t=>t.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">"),Mi=t=>{const e=[];for(let s,i=0;i{const s=t.charCodeAt(e);if(isNaN(s))return"";if(s<55296||s>57343)return t.charAt(e);if(55296<=s&&s<=56319){if(t.length<=e+1)throw"High surrogate without following low surrogate";const s=t.charCodeAt(e+1);if(56320>s||s>57343)throw"High surrogate without following low surrogate";return t.charAt(e)+t.charAt(e+1)}if(0===e)throw"Low surrogate without preceding high surrogate";const i=t.charCodeAt(e-1);if(55296>i||i>56319)throw"Low surrogate without preceding high surrogate";return!1};var Pi=Object.freeze({__proto__:null,capitalize:function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"".concat(t.charAt(0).toUpperCase()).concat(e?t.slice(1):t.slice(1).toLowerCase())},escapeXml:ki,graphemeSplit:Mi});const Ai=function(t,e){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t.fill!==e.fill||t.stroke!==e.stroke||t.strokeWidth!==e.strokeWidth||t.fontSize!==e.fontSize||t.fontFamily!==e.fontFamily||t.fontWeight!==e.fontWeight||t.fontStyle!==e.fontStyle||t.textBackgroundColor!==e.textBackgroundColor||t.deltaY!==e.deltaY||s&&(t.overline!==e.overline||t.underline!==e.underline||t.linethrough!==e.linethrough)},ji=(t,e)=>{const s=e.split("\n"),i=[];let r=-1,n={};t=Di(t);for(let o=0;o0&&(Ai(n,e,!0)?i.push({start:r,end:r+1,style:e}):i[i.length-1].end++),n=e||{}}else r+=e.length,n={}}return i},Fi=(t,e)=>{if(!Array.isArray(t))return Di(t);const s=e.split(L),i={};let n=-1,o=0;for(let a=0;a{var e;return null!==(e=Ne[t])&&void 0!==e?e:t},Xi=new RegExp("(".concat(He,")"),"gi"),Yi=t=>t.replace(Xi," $1 ").replace(/,/gi," ").replace(/\s+/gi," ");var Wi,Vi,Hi,Gi,zi,Ni,Ui;const qi="(".concat(He,")"),Ki=String.raw(Wi||(Wi=o(["(skewX)(",")"],["(skewX)\\(","\\)"])),qi),Ji=String.raw(Vi||(Vi=o(["(skewY)(",")"],["(skewY)\\(","\\)"])),qi),Qi=String.raw(Hi||(Hi=o(["(rotate)(","(?: "," ",")?)"],["(rotate)\\(","(?: "," ",")?\\)"])),qi,qi,qi),Zi=String.raw(Gi||(Gi=o(["(scale)(","(?: ",")?)"],["(scale)\\(","(?: ",")?\\)"])),qi,qi),$i=String.raw(zi||(zi=o(["(translate)(","(?: ",")?)"],["(translate)\\(","(?: ",")?\\)"])),qi,qi),tr=String.raw(Ni||(Ni=o(["(matrix)("," "," "," "," "," ",")"],["(matrix)\\("," "," "," "," "," ","\\)"])),qi,qi,qi,qi,qi,qi),er="(?:".concat(tr,"|").concat($i,"|").concat(Qi,"|").concat(Zi,"|").concat(Ki,"|").concat(Ji,")"),sr="(?:".concat(er,"*)"),ir=String.raw(Ui||(Ui=o(["^s*(?:","?)s*$"],["^\\s*(?:","?)\\s*$"])),sr),rr=new RegExp(ir),nr=new RegExp(er),or=new RegExp(er,"g");function ar(t){const e=[];if(!(t=Yi(t).replace(/\s*([()])\s*/gi,"$1"))||t&&!rr.test(t))return[...O];for(const s of t.matchAll(or)){const t=nr.exec(s[0]);if(!t)continue;let i=O;const r=t.filter((t=>!!t)),[,n,...o]=r,[a,h,c,l,u,d]=o.map((t=>parseFloat(t)));switch(n){case"translate":i=kt(a,h);break;case X:i=Mt({angle:a},{x:h,y:c});break;case z:i=Et(a,h);break;case q:i=At(a);break;case K:i=jt(a);break;case"matrix":i=[a,h,c,l,u,d]}e.push(i)}return Tt(e)}function hr(t,e,s,i){const r=Array.isArray(e);let n,o=e;if(t!==J&&t!==Q||e!==F){if("strokeUniform"===t)return"non-scaling-stroke"===e;if("strokeDashArray"===t)o=e===F?null:e.replace(/,/g," ").split(/\s+/).map(parseFloat);else if("transformMatrix"===t)o=s&&s.transformMatrix?wt(s.transformMatrix,ar(e)):ar(e);else if("visible"===t)o=e!==F&&"hidden"!==e,s&&!1===s.visible&&(o=!1);else if("opacity"===t)o=parseFloat(e),s&&void 0!==s.opacity&&(o*=s.opacity);else if("textAnchor"===t)o="start"===e?E:"end"===e?j:M;else if("charSpacing"===t)n=Kt(e,i)/i*1e3;else if("paintFirst"===t){const t=e.indexOf(J),s=e.indexOf(Q);o=J,(t>-1&&s>-1&&s-1)&&(o=Q)}else{if("href"===t||"xlink:href"===t||"font"===t||"id"===t)return e;if("imageSmoothing"===t)return"optimizeQuality"===e;n=r?e.map(Kt):Kt(e,i)}}else o="";return!r&&isNaN(n)?o:n}function cr(t,e){t.replace(/;\s*$/,"").split(";").forEach((t=>{if(!t)return;const[s,i]=t.split(":");e[s.trim().toLowerCase()]=i.trim()}))}const lr={stroke:"strokeOpacity",fill:"fillOpacity"};function ur(t,e,s){if(!t)return{};let i,n={},o=D;t.parentNode&&Qe.test(t.parentNode.nodeName)&&(n=ur(t.parentElement,e,s),n.fontSize&&(i=o=Kt(n.fontSize)));const a=r(r(r({},e.reduce(((e,s)=>{const i=t.getAttribute(s);return i&&(e[s]=i),e}),{})),function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s={};for(const i in e)Ii(t,i.split(" "))&&(s=r(r({},s),e[i]));return s}(t,s)),function(t){const e={},s=t.getAttribute("style");return s?("string"==typeof s?cr(s,e):(i=s,r=e,Object.entries(i).forEach((t=>{let[e,s]=t;void 0!==s&&(r[e.toLowerCase()]=s)}))),e):e;var i,r}(t));a[qe]&&t.setAttribute(qe,a[qe]),a[Ue]&&(i=Kt(a[Ue],o),a[Ue]="".concat(i));const h={};for(const r in a){const t=Bi(r),e=hr(t,a[r],n,i);h[t]=e}h&&h.font&&function(t,e){const s=t.match(ze);if(!s)return;const i=s[1],r=s[3],n=s[4],o=s[5],a=s[6];i&&(e.fontStyle=i),r&&(e.fontWeight=isNaN(parseFloat(r))?r:parseFloat(r)),n&&(e.fontSize=Kt(n)),a&&(e.fontFamily=a),o&&(e.lineHeight="normal"===o?1:o)}(h.font,h);const c=r(r({},n),h);return Qe.test(t.nodeName)?c:function(t){const e=xi.getDefaults();return Object.entries(lr).forEach((s=>{let[i,r]=s;if(void 0===t[r]||""===t[i])return;if(void 0===t[i]){if(!e[i])return;t[i]=e[i]}if(0===t[i].indexOf("url("))return;const n=new Ut(t[i]);t[i]=n.setAlpha(qt(n.getAlpha()*t[r],2)).toRgba()})),t}(c)}const dr=["left","top","width","height","visible"],gr=["rx","ry"];class fr extends xi{static getDefaults(){return r(r({},super.getDefaults()),fr.ownDefaults)}constructor(t){super(),Object.assign(this,fr.ownDefaults),this.setOptions(t),this._initRxRy()}_initRxRy(){const{rx:t,ry:e}=this;t&&!e?this.ry=t:e&&!t&&(this.rx=e)}_render(t){const{width:e,height:s}=this,i=-e/2,r=-s/2,n=this.rx?Math.min(this.rx,e/2):0,o=this.ry?Math.min(this.ry,s/2):0,a=0!==n||0!==o;t.beginPath(),t.moveTo(i+n,r),t.lineTo(i+e-n,r),a&&t.bezierCurveTo(i+e-k*n,r,i+e,r+k*o,i+e,r+o),t.lineTo(i+e,r+s-o),a&&t.bezierCurveTo(i+e,r+s-k*o,i+e-k*n,r+s,i+e-n,r+s),t.lineTo(i+n,r+s),a&&t.bezierCurveTo(i+k*n,r+s,i,r+s-k*o,i,r+s-o),t.lineTo(i,r+o),a&&t.bezierCurveTo(i,r+k*o,i+k*n,r,i+n,r),t.closePath(),this._renderPaintInOrder(t)}toObject(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return super.toObject([...gr,...t])}_toSVG(){const{width:t,height:e,rx:s,ry:i}=this;return["\n')]}static fromElement(t,s,i){return e(this,null,(function*(){const e=ur(t,this.ATTRIBUTE_NAMES,i),{left:o=0,top:a=0,width:h=0,height:c=0,visible:l=!0}=e,u=n(e,dr);return new this(r(r(r({},s),u),{},{left:o,top:a,width:h,height:c,visible:Boolean(l&&h&&c)}))}))}}s(fr,"type","Rect"),s(fr,"cacheProperties",[...ms,...gr]),s(fr,"ownDefaults",{rx:0,ry:0}),s(fr,"ATTRIBUTE_NAMES",[...Li,"x","y","rx","ry","width","height"]),et.setClass(fr),et.setSVGClass(fr);const pr="initialization",mr="added",vr="removed",yr="imperative",_r=(t,e)=>{const{strokeUniform:s,strokeWidth:i,width:r,height:n,group:o}=e,a=o&&o!==t?we(o.calcTransformMatrix(),t.calcTransformMatrix()):null,h=a?e.getRelativeCenterPoint().transform(a):e.getRelativeCenterPoint(),c=!e.isStrokeAccountedForInDimensions(),l=s&&c?Oe(new at(i,i),void 0,t.calcTransformMatrix()):ht,u=!s&&c?i:0,d=Se(r+u,n+u,Tt([a,e.calcOwnMatrix()],!0)).add(l).scalarDivide(2);return[h.subtract(d),h.add(d)]};class xr{calcLayoutResult(t,e){if(this.shouldPerformLayout(t))return this.calcBoundingBox(e,t)}shouldPerformLayout(t){let{type:e,prevStrategy:s,strategy:i}=t;return e===pr||e===yr||!!s&&i!==s}shouldLayoutClipPath(t){let{type:e,target:{clipPath:s}}=t;return e!==pr&&s&&!s.absolutePositioned}getInitialSize(t,e){return e.size}calcBoundingBox(t,e){const{type:s,target:i}=e;if(s===yr&&e.overrides)return e.overrides;if(0===t.length)return;const{left:r,top:n,width:o,height:a}=ve(t.map((t=>_r(i,t))).reduce(((t,e)=>t.concat(e)),[])),h=new at(o,a),c=new at(r,n).add(h.scalarDivide(2));if(s===pr){const t=this.getInitialSize(e,{size:h,center:c});return{center:c,relativeCorrection:new at(0,0),size:t}}return{center:c.transform(i.calcOwnMatrix()),size:h}}}s(xr,"type","strategy");class Cr extends xr{shouldPerformLayout(t){return!0}}s(Cr,"type","fit-content"),et.setClass(Cr);const br=["strategy"],Sr=["target","strategy","bubbles","prevStrategy"],wr="layoutManager";class Tr{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Cr;s(this,"strategy",void 0),this.strategy=t,this._subscriptions=new Map}performLayout(t){const e=r(r({bubbles:!0,strategy:this.strategy},t),{},{prevStrategy:this._prevLayoutStrategy,stopPropagation(){this.bubbles=!1}});this.onBeforeLayout(e);const s=this.getLayoutResult(e);s&&this.commitLayout(e,s),this.onAfterLayout(e,s),this._prevLayoutStrategy=e.strategy}attachHandlers(t,e){const{target:s}=e;return[Z,R,W,B,I,Y,G,V,H].map((e=>t.on(e,(t=>this.performLayout(e===Z?{type:"object_modified",trigger:e,e:t,target:s}:{type:"object_modifying",trigger:e,e:t,target:s})))))}subscribe(t,e){this.unsubscribe(t,e);const s=this.attachHandlers(t,e);this._subscriptions.set(t,s)}unsubscribe(t,e){(this._subscriptions.get(t)||[]).forEach((t=>t())),this._subscriptions.delete(t)}unsubscribeTargets(t){t.targets.forEach((e=>this.unsubscribe(e,t)))}subscribeTargets(t){t.targets.forEach((e=>this.subscribe(e,t)))}onBeforeLayout(t){const{target:e,type:s}=t,{canvas:i}=e;if(s===pr||s===mr?this.subscribeTargets(t):s===vr&&this.unsubscribeTargets(t),e.fire("layout:before",{context:t}),i&&i.fire("object:layout:before",{target:e,context:t}),s===yr&&t.deep){const s=n(t,br);e.forEachObject((t=>t.layoutManager&&t.layoutManager.performLayout(r(r({},s),{},{bubbles:!1,target:t}))))}}getLayoutResult(t){const{target:e,strategy:s,type:i}=t,r=s.calcLayoutResult(t,e.getObjects());if(!r)return;const n=i===pr?new at:e.getRelativeCenterPoint(),{center:o,correction:a=new at,relativeCorrection:h=new at}=r,c=n.subtract(o).add(a).transform(i===pr?O:St(e.calcOwnMatrix()),!0).add(h);return{result:r,prevCenter:n,nextCenter:o,offset:c}}commitLayout(t,e){const{target:s}=t,{result:{size:i},nextCenter:r}=e;var n,o;s.set({width:i.x,height:i.y}),this.layoutObjects(t,e),t.type===pr?s.set({left:null!==(n=t.x)&&void 0!==n?n:r.x+i.x*Ee(s.originX),top:null!==(o=t.y)&&void 0!==o?o:r.y+i.y*Ee(s.originY)}):(s.setPositionByOrigin(r,M,M),s.setCoords(),s.set("dirty",!0))}layoutObjects(t,e){const{target:s}=t;s.forEachObject((i=>{i.group===s&&this.layoutObject(t,e,i)})),t.strategy.shouldLayoutClipPath(t)&&this.layoutObject(t,e,s.clipPath)}layoutObject(t,e,s){let{offset:i}=e;s.set({left:s.left+i.x,top:s.top+i.y})}onAfterLayout(t,e){const{target:s,strategy:i,bubbles:o,prevStrategy:a}=t,h=n(t,Sr),{canvas:c}=s;s.fire("layout:after",{context:t,result:e}),c&&c.fire("object:layout:after",{context:t,result:e,target:s});const l=s.parent;o&&null!=l&&l.layoutManager&&((h.path||(h.path=[])).push(s),l.layoutManager.performLayout(r(r({},h),{},{target:l}))),s.set("dirty",!0)}dispose(){const{_subscriptions:t}=this;t.forEach((t=>t.forEach((t=>t())))),t.clear()}toObject(){return{type:wr,strategy:this.strategy.constructor.type}}toJSON(){return this.toObject()}}et.setClass(Tr,wr);const Or=["type","objects","layoutManager"];class Dr extends Tr{performLayout(){}}class kr extends(lt(xi)){static getDefaults(){return r(r({},super.getDefaults()),kr.ownDefaults)}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),s(this,"_activeObjects",[]),s(this,"__objectSelectionTracker",void 0),s(this,"__objectSelectionDisposer",void 0),Object.assign(this,kr.ownDefaults),this.setOptions(e),this.groupInit(t,e)}groupInit(t,e){var s;this._objects=[...t],this.__objectSelectionTracker=this.__objectSelectionMonitor.bind(this,!0),this.__objectSelectionDisposer=this.__objectSelectionMonitor.bind(this,!1),this.forEachObject((t=>{this.enterGroup(t,!1)})),this.layoutManager=null!==(s=e.layoutManager)&&void 0!==s?s:new Tr,this.layoutManager.performLayout({type:pr,target:this,targets:[...t],x:e.left,y:e.top})}canEnterGroup(t){return t===this||this.isDescendantOf(t)?(c("error","Group: circular object trees are not supported, this call has no effect"),!1):-1===this._objects.indexOf(t)||(c("error","Group: duplicate objects are not supported inside group, this call has no effect"),!1)}_filterObjectsBeforeEnteringGroup(t){return t.filter(((t,e,s)=>this.canEnterGroup(t)&&s.indexOf(t)===e))}add(){for(var t=arguments.length,e=new Array(t),s=0;s1?e-1:0),i=1;i{s._set(t,e)})),this}_shouldSetNestedCoords(){return this.subTargetCheck}removeAll(){return this._activeObjects=[],this.remove(...this._objects)}__objectSelectionMonitor(t,e){let{target:s}=e;const i=this._activeObjects;if(t)i.push(s),this._set("dirty",!0);else if(i.length>0){const t=i.indexOf(s);t>-1&&(i.splice(t,1),this._set("dirty",!0))}}_watchObject(t,e){t&&this._watchObject(!1,e),t?(e.on("selected",this.__objectSelectionTracker),e.on("deselected",this.__objectSelectionDisposer)):(e.off("selected",this.__objectSelectionTracker),e.off("deselected",this.__objectSelectionDisposer))}enterGroup(t,e){t.group&&t.group.remove(t),t._set("parent",this),this._enterGroup(t,e)}_enterGroup(t,e){e&&xe(t,wt(St(this.calcTransformMatrix()),t.calcTransformMatrix())),this._shouldSetNestedCoords()&&t.setCoords(),t._set("group",this),t._set("canvas",this.canvas),this._watchObject(!0,t);const s=this.canvas&&this.canvas.getActiveObject&&this.canvas.getActiveObject();s&&(s===t||t.isDescendantOf(s))&&this._activeObjects.push(t)}exitGroup(t,e){this._exitGroup(t,e),t._set("parent",void 0),t._set("canvas",void 0)}_exitGroup(t,e){t._set("group",void 0),e||(xe(t,wt(this.calcTransformMatrix(),t.calcTransformMatrix())),t.setCoords()),this._watchObject(!1,t);const s=this._activeObjects.length>0?this._activeObjects.indexOf(t):-1;s>-1&&this._activeObjects.splice(s,1)}shouldCache(){const t=xi.prototype.shouldCache.call(this);if(t)for(let e=0;et.setCoords()))}triggerLayout(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.layoutManager.performLayout(r({target:this,type:yr},t))}render(t){this._transformDone=!0,super.render(t),this._transformDone=!1}__serializeObjects(t,e){const s=this.includeDefaultValues;return this._objects.filter((function(t){return!t.excludeFromExport})).map((function(i){const r=i.includeDefaultValues;i.includeDefaultValues=s;const n=i[t||"toObject"](e);return i.includeDefaultValues=r,n}))}toObject(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const e=this.layoutManager.toObject();return r(r(r({},super.toObject(["subTargetCheck","interactive",...t])),"fit-content"!==e.strategy||this.includeDefaultValues?{layoutManager:e}:{}),{},{objects:this.__serializeObjects("toObject",t)})}toString(){return"#")}dispose(){this.layoutManager.unsubscribeTargets({targets:this.getObjects(),target:this}),this._activeObjects=[],this.forEachObject((t=>{this._watchObject(!1,t),t.dispose()})),super.dispose()}_createSVGBgRect(t){if(!this.backgroundColor)return"";const e=fr.prototype._toSVG.call(this),s=e.indexOf("COMMON_PARTS");e[s]='for="group" ';const i=e.join("");return t?t(i):i}_toSVG(t){const e=["\n"],s=this._createSVGBgRect(t);s&&e.push("\t\t",s);for(let i=0;i\n"),e}getSvgStyles(){const t=void 0!==this.opacity&&1!==this.opacity?"opacity: ".concat(this.opacity,";"):"",e=this.visible?"":" visibility: hidden;";return[t,this.getSvgFilter(),e].join("")}toClipPathSVG(t){const e=[],s=this._createSVGBgRect(t);s&&e.push("\t",s);for(let i=0;i{let[e,s]=t;const i=new this(e,r(r(r({},a),s),{},{layoutManager:new Dr}));if(o){const t=et.getClass(o.type),e=et.getClass(o.strategy);i.layoutManager=new t(new e)}else i.layoutManager=new Tr;return i.layoutManager.subscribeTargets({type:pr,target:i,targets:i.getObjects()}),i.setCoords(),i}))}}s(kr,"type","Group"),s(kr,"ownDefaults",{strokeWidth:0,subTargetCheck:!1,interactive:!1}),et.setClass(kr);const Mr=(t,e)=>Math.min(e.width/t.width,e.height/t.height),Er=(t,e)=>Math.max(e.width/t.width,e.height/t.height);var Pr;const Ar="(".concat(He,")"),jr="(M) (?:".concat(Ar," ").concat(Ar," ?)+"),Fr="(L) (?:".concat(Ar," ").concat(Ar," ?)+"),Lr="(H) (?:".concat(Ar," ?)+"),Rr="(V) (?:".concat(Ar," ?)+"),Ir=String.raw(Pr||(Pr=o(["(Z)s*"],["(Z)\\s*"]))),Br="(C) (?:".concat(Ar," ").concat(Ar," ").concat(Ar," ").concat(Ar," ").concat(Ar," ").concat(Ar," ?)+"),Xr="(S) (?:".concat(Ar," ").concat(Ar," ").concat(Ar," ").concat(Ar," ?)+"),Yr="(Q) (?:".concat(Ar," ").concat(Ar," ").concat(Ar," ").concat(Ar," ?)+"),Wr="(T) (?:".concat(Ar," ").concat(Ar," ?)+"),Vr="(A) (?:".concat(Ar," ").concat(Ar," ").concat(Ar," ([01]) ?([01]) ").concat(Ar," ").concat(Ar," ?)+"),Hr="(?:(?:".concat(jr,")")+"|(?:".concat(Fr,")")+"|(?:".concat(Lr,")")+"|(?:".concat(Rr,")")+"|(?:".concat(Ir,")")+"|(?:".concat(Br,")")+"|(?:".concat(Xr,")")+"|(?:".concat(Yr,")")+"|(?:".concat(Wr,")")+"|(?:".concat(Vr,"))"),Gr={m:"l",M:"L"},zr=(t,e,s,i,r,n,o,a,h,c,l)=>{const u=nt(t),d=ot(t),g=nt(e),f=ot(e),p=s*r*g-i*n*f+o,m=i*r*g+s*n*f+a;return["C",c+h*(-s*r*d-i*n*u),l+h*(-i*r*d+s*n*u),p+h*(s*r*f+i*n*g),m+h*(i*r*f-s*n*g),p,m]},Nr=(t,e,s,i)=>{const r=Math.atan2(e,t),n=Math.atan2(i,s);return n>=r?n-r:2*Math.PI-(r-n)};function Ur(t,e,s,i,r,n,o,a){let c;if(h.cachesBoundsOfCurve&&(c=[...arguments].join(),x.boundsOfCurveCache[c]))return x.boundsOfCurveCache[c];const l=Math.sqrt,u=Math.abs,d=[],g=[[0,0],[0,0]];let f=6*t-12*s+6*r,p=-3*t+9*s-9*r+3*o,m=3*s-3*t;for(let h=0;h<2;++h){if(h>0&&(f=6*e-12*i+6*n,p=-3*e+9*i-9*n+3*a,m=3*i-3*e),u(p)<1e-12){if(u(f)<1e-12)continue;const t=-m/f;0{let[r,n,o,a,h,c,l,u]=i;const d=((e,s,i,r,n,o,a)=>{if(0===i||0===r)return[];let h=0,c=0,l=0;const u=Math.PI,d=a*T,g=ot(d),f=nt(d),p=.5*(-f*e-g*s),m=.5*(-f*s+g*e),v=t(i,2),y=t(r,2),_=t(m,2),x=t(p,2),C=v*y-v*_-y*x;let b=Math.abs(i),S=Math.abs(r);if(C<0){const t=Math.sqrt(1-C/(v*y));b*=t,S*=t}else l=(n===o?-1:1)*Math.sqrt(C/(v*_+y*x));const w=l*b*m/S,O=-l*S*p/b,D=f*w-g*O+.5*e,k=g*w+f*O+.5*s;let M=Nr(1,0,(p-w)/b,(m-O)/S),E=Nr((p-w)/b,(m-O)/S,(-p-w)/b,(-m-O)/S);0===o&&E>0?E-=2*u:1===o&&E<0&&(E+=2*u);const P=Math.ceil(Math.abs(E/u*2)),A=[],j=E/P,F=8/3*Math.sin(j/4)*Math.sin(j/4)/Math.sin(j/2);let L=M+j;for(let t=0;t{let e=0,s=0,i=0,r=0;const n=[];let o,a=0,h=0;for(const c of t){const t=[...c];let l;switch(t[0]){case"l":t[1]+=e,t[2]+=s;case"L":e=t[1],s=t[2],l=["L",e,s];break;case"h":t[1]+=e;case"H":e=t[1],l=["L",e,s];break;case"v":t[1]+=s;case"V":s=t[1],l=["L",e,s];break;case"m":t[1]+=e,t[2]+=s;case"M":e=t[1],s=t[2],i=t[1],r=t[2],l=["M",e,s];break;case"c":t[1]+=e,t[2]+=s,t[3]+=e,t[4]+=s,t[5]+=e,t[6]+=s;case"C":a=t[3],h=t[4],e=t[5],s=t[6],l=["C",t[1],t[2],a,h,e,s];break;case"s":t[1]+=e,t[2]+=s,t[3]+=e,t[4]+=s;case"S":"C"===o?(a=2*e-a,h=2*s-h):(a=e,h=s),e=t[3],s=t[4],l=["C",a,h,t[1],t[2],e,s],a=l[3],h=l[4];break;case"q":t[1]+=e,t[2]+=s,t[3]+=e,t[4]+=s;case"Q":a=t[1],h=t[2],e=t[3],s=t[4],l=["Q",a,h,e,s];break;case"t":t[1]+=e,t[2]+=s;case"T":"Q"===o?(a=2*e-a,h=2*s-h):(a=e,h=s),e=t[1],s=t[2],l=["Q",a,h,e,s];break;case"a":t[6]+=e,t[7]+=s;case"A":qr(e,s,t).forEach((t=>n.push(t))),e=t[6],s=t[7];break;case"z":case"Z":e=i,s=r,l=["Z"]}l?(n.push(l),o=l[0]):o=""}return n},Jr=(e,s,i,r)=>Math.sqrt(t(i-e,2)+t(r-s,2)),Qr=(e,s,i,r,n,o,a,h)=>c=>{const l=t(c,3),u=3*t(f=c,2)*(1-f),d=(e=>3*e*t(1-e,2))(c),g=(e=>t(1-e,3))(c);var f;return new at(a*l+n*u+i*d+e*g,h*l+o*u+r*d+s*g)},Zr=e=>t(e,2),$r=t=>2*t*(1-t),tn=e=>t(1-e,2),en=(t,e,s,i,r,n,o,a)=>h=>{const c=Zr(h),l=$r(h),u=tn(h),d=3*(u*(s-t)+l*(r-s)+c*(o-r)),g=3*(u*(i-e)+l*(n-i)+c*(a-n));return Math.atan2(g,d)},sn=(t,e,s,i,r,n)=>o=>{const a=Zr(o),h=$r(o),c=tn(o);return new at(r*a+s*h+t*c,n*a+i*h+e*c)},rn=(t,e,s,i,r,n)=>o=>{const a=1-o,h=2*(a*(s-t)+o*(r-s)),c=2*(a*(i-e)+o*(n-i));return Math.atan2(c,h)},nn=(t,e,s)=>{let i=new at(e,s),r=0;for(let n=1;n<=100;n+=1){const e=t(n/100);r+=Jr(i.x,i.y,e.x,e.y),i=e}return r},on=t=>{let e,s,i=0,r=0,n=0,o=0,a=0;const h=[];for(const c of t){const t={x:r,y:n,command:c[0],length:0};switch(c[0]){case"M":s=t,s.x=o=r=c[1],s.y=a=n=c[2];break;case"L":s=t,s.length=Jr(r,n,c[1],c[2]),r=c[1],n=c[2];break;case"C":e=Qr(r,n,c[1],c[2],c[3],c[4],c[5],c[6]),s=t,s.iterator=e,s.angleFinder=en(r,n,c[1],c[2],c[3],c[4],c[5],c[6]),s.length=nn(e,r,n),r=c[5],n=c[6];break;case"Q":e=sn(r,n,c[1],c[2],c[3],c[4]),s=t,s.iterator=e,s.angleFinder=rn(r,n,c[1],c[2],c[3],c[4]),s.length=nn(e,r,n),r=c[3],n=c[4];break;case"Z":s=t,s.destX=o,s.destY=a,s.length=Jr(r,n,o,a),r=o,n=a}i+=s.length,h.push(s)}return h.push({length:i,x:r,y:n}),h},an=function(t,e){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:on(t),i=0;for(;e-s[i].length>0&&i{let s,i=0,n=0,o={x:t.x,y:t.y},a=r({},o),h=.01,c=0;const l=t.iterator,u=t.angleFinder;for(;n1e-4;)a=l(i),c=i,s=Jr(o.x,o.y,a.x,a.y),s+n>e?(i-=h,h/=2):(o=a,i+=h,n+=s);return r(r({},a),{},{angle:u(c)})})(n,e)}},hn=new RegExp(Hr,"gi"),cn=new RegExp(Hr,"i"),ln=t=>{t=Yi(t);const e=[];for(let[s]of t.matchAll(hn)){const t=[];let i;do{if(i=cn.exec(s),!i)break;const e=i.filter((t=>t));e.shift();const r=e.map((t=>{const e=Number.parseFloat(t);return Number.isNaN(e)?t:e}));if(t.push(r),e.length<=1)break;e.shift(),s=s.replace(new RegExp("".concat(e.join(" ?")," ?$")),"")}while(i);t.reverse().forEach(((t,s)=>{const i=Gr[t[0]];s>0&&("l"==i||"L"==i)&&(t[0]=i),e.push(t)}))}return e},un=(t,e)=>t.map((t=>t.map(((t,s)=>0===s||void 0===e?t:qt(t,e))).join(" "))).join(" ");function dn(t,e){const s=t.style;s&&e&&("string"==typeof e?s.cssText+=";"+e:Object.entries(e).forEach((t=>{let[e,i]=t;return s.setProperty(e,i)})))}const gn=(t,e)=>{let s=t._findCenterFromElement();t.transformMatrix&&((t=>{if(t.transformMatrix){const{scaleX:e,scaleY:s,angle:i,skewX:r}=Dt(t.transformMatrix);t.flipX=!1,t.flipY=!1,t.set(N,e),t.set(U,s),t.angle=i,t.skewX=r,t.skewY=0}})(t),s=s.transform(t.transformMatrix)),delete t.transformMatrix,e&&(t.scaleX*=e.scaleX,t.scaleY*=e.scaleY,t.cropX=e.cropX,t.cropY=e.cropY,s.x+=e.offsetLeft,s.y+=e.offsetTop,t.width=e.width,t.height=e.height),t.setPositionByOrigin(s,M,M)};var fn=Object.freeze({__proto__:null,addTransformToObject:_e,animate:Fs,animateColor:Ls,applyTransformToObject:xe,calcAngleBetweenVectors:rs,calcDimensionsMatrix:Ft,calcPlaneChangeMatrix:we,calcVectorRotation:ns,cancelAnimFrame:gt,capValue:fs,composeMatrix:Lt,copyCanvasElement:t=>{var e;const s=mt();return s.width=t.width,s.height=t.height,null===(e=s.getContext("2d"))||void 0===e||e.drawImage(t,0,0),s},cos:nt,createCanvasElement:mt,createImage:vt,createRotateMatrix:Mt,createScaleMatrix:Et,createSkewXMatrix:At,createSkewYMatrix:jt,createTranslateMatrix:kt,createVector:ss,crossProduct:hs,degreesToRadians:_t,dotProduct:cs,ease:Ss,enlivenObjectEnlivables:Bt,enlivenObjects:It,findScaleToCover:Er,findScaleToFit:Mr,getBoundsOfCurve:Ur,getOrthonormalVector:as,getPathSegmentsInfo:on,getPointOnPath:an,getPointer:fe,getRandomInt:(t,e)=>Math.floor(Math.random()*(e-t+1))+t,getRegularPolygonPath:(t,e)=>{const s=2*Math.PI/t;let i=-S;t%2==0&&(i+=s/2);const r=new Array(t+1);for(let n=0;n1&&void 0!==arguments[1]?arguments[1]:0,s=new at(t[0]),i=new at(t[1]),r=1,n=0;const o=[],a=t.length,h=a>2;let c;for(h&&(r=t[2].xt[c-2].x?1:s.x===t[c-2].x?0:-1,n=s.y>t[c-2].y?1:s.y===t[c-2].y?0:-1),o.push(["L",s.x+r*e,s.y+n*e]),o},getSvgAttributes:t=>{const e=["instantiated_by_use","style","id","class"];switch(t){case"linearGradient":return e.concat(["x1","y1","x2","y2","gradientUnits","gradientTransform"]);case"radialGradient":return e.concat(["gradientUnits","gradientTransform","cx","cy","r","fx","fy","fr"]);case"stop":return e.concat(["offset","stop-color","stop-opacity"])}return e},getUnitVector:os,groupSVGElements:(t,e)=>t&&1===t.length?t[0]:new kr(t,e),hasStyleChanged:Ai,invertTransform:St,isBetweenVectors:ls,isIdentityMatrix:Ct,isTouchEvent:pe,isTransparent:Ci,joinPath:un,loadImage:Rt,magnitude:is,makeBoundingBoxFromPoints:ve,makePathSimpler:Kr,matrixToSVG:Qt,mergeClipPaths:(t,e)=>{var s;let i=t,r=e;i.inverted&&!r.inverted&&(i=e,r=t),De(r,null===(s=r.group)||void 0===s?void 0:s.calcTransformMatrix(),i.calcTransformMatrix());const n=i.inverted&&r.inverted;return n&&(i.inverted=r.inverted=!1),new kr([i],{clipPath:r,inverted:n})},multiplyTransformMatrices:wt,multiplyTransformMatrixArray:Tt,parsePath:ln,parsePreserveAspectRatioAttribute:Jt,parseUnit:Kt,pick:Xt,projectStrokeOnPoints:Oi,qrDecompose:Dt,radiansToDegrees:xt,removeFromArray:rt,removeTransformFromObject:(t,e)=>{const s=St(e),i=wt(s,t.calcOwnMatrix());xe(t,i)},removeTransformMatrixForSvgParsing:gn,request:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=e.onComplete||b,i=new(y().XMLHttpRequest),r=e.signal,n=function(){i.abort()},o=function(){r&&r.removeEventListener("abort",n),i.onerror=i.ontimeout=b};if(r&&r.aborted)throw new u("request");return r&&r.addEventListener("abort",n,{once:!0}),i.onreadystatechange=function(){4===i.readyState&&(o(),s(i),i.onreadystatechange=b)},i.onerror=i.ontimeout=o,i.open("get",t,!0),i.send(),i},requestAnimFrame:dt,resetObjectTransform:Ce,rotatePoint:(t,e,s)=>t.rotate(s,e),rotateVector:es,saveObjectTransform:be,sendObjectToPlane:De,sendPointToPlane:Te,sendVectorToPlane:Oe,setStyle:dn,sin:ot,sizeAfterTransform:Se,string:Pi,stylesFromArray:Fi,stylesToArray:ji,toDataURL:yt,toFixed:qt,transformPath:(t,e,s)=>(s&&(e=wt(e,[1,0,0,1,-s.x,-s.y])),t.map((t=>{const s=[...t];for(let i=1;i1&&void 0!==arguments[1]?arguments[1]:{};super(t),s(this,"upper",void 0),s(this,"container",void 0);const{el:r}=this.lower,n=this.createUpperCanvas();this.upper={el:n,ctx:n.getContext("2d")},this.applyCanvasStyle(r,{allowTouchScrolling:e}),this.applyCanvasStyle(n,{allowTouchScrolling:e,styles:{position:"absolute",left:"0",top:"0"}});const o=this.createContainerElement();o.classList.add(i),r.parentNode&&r.parentNode.replaceChild(o,r),o.append(r,n),this.container=o}createUpperCanvas(){const{el:t}=this.lower,e=mt();return e.className=t.className,e.classList.remove("lower-canvas"),e.classList.add("upper-canvas"),e.setAttribute("data-fabric","top"),e.style.cssText=t.style.cssText,e.setAttribute("draggable","true"),e}createContainerElement(){const t=v().createElement("div");return t.setAttribute("data-fabric","wrapper"),dn(t,{position:"relative"}),ce(t),t}applyCanvasStyle(t,e){const{styles:s,allowTouchScrolling:i}=e;dn(t,r(r({},s),{},{"touch-action":i?"manipulation":F})),ce(t)}setDimensions(t,e){super.setDimensions(t,e);const{el:s,ctx:i}=this.upper;ae(s,i,t,e)}setCSSDimensions(t){super.setCSSDimensions(t),he(this.upper.el,t),he(this.container,t)}cleanupDOM(t){const e=this.container,{el:s}=this.lower,{el:i}=this.upper;super.cleanupDOM(t),e.removeChild(i),e.removeChild(s),e.parentNode&&e.parentNode.replaceChild(s,e)}dispose(){super.dispose(),m().dispose(this.upper.el),delete this.upper,delete this.container}}class mn extends de{constructor(){super(...arguments),s(this,"targets",[]),s(this,"_hoveredTargets",[]),s(this,"_objectsToRender",void 0),s(this,"_currentTransform",null),s(this,"_groupSelector",null),s(this,"contextTopDirty",!1)}static getDefaults(){return r(r({},super.getDefaults()),mn.ownDefaults)}get upperCanvasEl(){var t;return null===(t=this.elements.upper)||void 0===t?void 0:t.el}get contextTop(){var t;return null===(t=this.elements.upper)||void 0===t?void 0:t.ctx}get wrapperEl(){return this.elements.container}initElements(t){this.elements=new pn(t,{allowTouchScrolling:this.allowTouchScrolling,containerClass:this.containerClass}),this._createCacheCanvas()}_onObjectAdded(t){this._objectsToRender=void 0,super._onObjectAdded(t)}_onObjectRemoved(t){this._objectsToRender=void 0,t===this._activeObject&&(this.fire("before:selection:cleared",{deselected:[t]}),this._discardActiveObject(),this.fire("selection:cleared",{deselected:[t]}),t.fire("deselected",{target:t})),t===this._hoveredTarget&&(this._hoveredTarget=void 0,this._hoveredTargets=[]),super._onObjectRemoved(t)}_onStackOrderChanged(){this._objectsToRender=void 0,super._onStackOrderChanged()}_chooseObjectsToRender(){const t=this._activeObject;return!this.preserveObjectStacking&&t?this._objects.filter((e=>!e.group&&e!==t)).concat(t):this._objects}renderAll(){this.cancelRequestedRender(),this.destroyed||(!this.contextTopDirty||this._groupSelector||this.isDrawingMode||(this.clearContext(this.contextTop),this.contextTopDirty=!1),this.hasLostContext&&(this.renderTopLayer(this.contextTop),this.hasLostContext=!1),!this._objectsToRender&&(this._objectsToRender=this._chooseObjectsToRender()),this.renderCanvas(this.getContext(),this._objectsToRender))}renderTopLayer(t){t.save(),this.isDrawingMode&&this._isCurrentlyDrawing&&(this.freeDrawingBrush&&this.freeDrawingBrush._render(),this.contextTopDirty=!0),this.selection&&this._groupSelector&&(this._drawSelection(t),this.contextTopDirty=!0),t.restore()}renderTop(){const t=this.contextTop;this.clearContext(t),this.renderTopLayer(t),this.fire("after:render",{ctx:t})}setTargetFindTolerance(t){t=Math.round(t),this.targetFindTolerance=t;const e=this.getRetinaScaling(),s=Math.ceil((2*t+1)*e);this.pixelFindCanvasEl.width=this.pixelFindCanvasEl.height=s,this.pixelFindContext.scale(e,e)}isTargetTransparent(t,e,s){const i=this.targetFindTolerance,r=this.pixelFindContext;this.clearContext(r),r.save(),r.translate(-e+i,-s+i),r.transform(...this.viewportTransform);const n=t.selectionBackgroundColor;t.selectionBackgroundColor="",t.render(r),t.selectionBackgroundColor=n,r.restore();const o=Math.round(i*this.getRetinaScaling());return Ci(r,o,o,o)}_isSelectionKeyPressed(t){const e=this.selectionKey;return!!e&&(Array.isArray(e)?!!e.find((e=>!!e&&!0===t[e])):t[e])}_shouldClearSelection(t,e){const s=this.getActiveObjects(),i=this._activeObject;return!!(!e||e&&i&&s.length>1&&-1===s.indexOf(e)&&i!==e&&!this._isSelectionKeyPressed(t)||e&&!e.evented||e&&!e.selectable&&i&&i!==e)}_shouldCenterTransform(t,e,s){if(!t)return;let i;return e===z||e===N||e===U||e===W?i=this.centeredScaling||t.centeredScaling:e===X&&(i=this.centeredRotation||t.centeredRotation),i?!s:s}_getOriginFromCorner(t,e){const s={x:t.originX,y:t.originY};return e?(["ml","tl","bl"].includes(e)?s.x=j:["mr","tr","br"].includes(e)&&(s.x=E),["tl","mt","tr"].includes(e)?s.y=A:["bl","mb","br"].includes(e)&&(s.y=P),s):s}_setupCurrentTransform(t,e,s){var i;const n=e.group?Te(this.getScenePoint(t),void 0,e.group.calcTransformMatrix()):this.getScenePoint(t),{key:o="",control:a}=e.getActiveControl()||{},h=s&&a?null===(i=a.getActionHandler(t,e,a))||void 0===i?void 0:i.bind(a):Be,c=((t,e,s,i)=>{if(!e||!t)return"drag";const r=i.controls[e];return r.getActionName(s,r,i)})(s,o,t,e),l=t[this.centeredKey],u=this._shouldCenterTransform(e,c,l)?{x:M,y:M}:this._getOriginFromCorner(e,o),d={target:e,action:c,actionHandler:h,actionPerformed:!1,corner:o,scaleX:e.scaleX,scaleY:e.scaleY,skewX:e.skewX,skewY:e.skewY,offsetX:n.x-e.left,offsetY:n.y-e.top,originX:u.x,originY:u.y,ex:n.x,ey:n.y,lastX:n.x,lastY:n.y,theta:_t(e.angle),width:e.width,height:e.height,shiftKey:t.shiftKey,altKey:l,original:r(r({},be(e)),{},{originX:u.x,originY:u.y})};this._currentTransform=d,this.fire("before:transform",{e:t,transform:d})}setCursor(t){this.upperCanvasEl.style.cursor=t}_drawSelection(t){const{x:e,y:s,deltaX:i,deltaY:r}=this._groupSelector,n=new at(e,s).transform(this.viewportTransform),o=new at(e+i,s+r).transform(this.viewportTransform),a=this.selectionLineWidth/2;let h=Math.min(n.x,o.x),c=Math.min(n.y,o.y),l=Math.max(n.x,o.x),u=Math.max(n.y,o.y);this.selectionColor&&(t.fillStyle=this.selectionColor,t.fillRect(h,c,l-h,u-c)),this.selectionLineWidth&&this.selectionBorderColor&&(t.lineWidth=this.selectionLineWidth,t.strokeStyle=this.selectionBorderColor,h+=a,c+=a,l-=a,u-=a,xi.prototype._setLineDash.call(this,t,this.selectionDashArray),t.strokeRect(h,c,l-h,u-c))}findTarget(t){if(this.skipTargetFind)return;const e=this.getViewportPoint(t),s=this._activeObject,i=this.getActiveObjects();if(this.targets=[],s&&i.length>=1){if(s.findControl(e,pe(t)))return s;if(i.length>1&&this.searchPossibleTargets([s],e))return s;if(s===this.searchPossibleTargets([s],e)){if(this.preserveObjectStacking){const i=this.targets;this.targets=[];const r=this.searchPossibleTargets(this._objects,e);return t[this.altSelectionKey]&&r&&r!==s?(this.targets=i,s):r}return s}}return this.searchPossibleTargets(this._objects,e)}_pointIsInObjectSelectionArea(t,e){let s=t.getCoords();const i=this.getZoom(),r=t.padding/i;if(r){const[t,e,i,n]=s,o=Math.atan2(e.y-t.y,e.x-t.x),a=nt(o)*r,h=ot(o)*r,c=a+h,l=a-h;s=[new at(t.x-l,t.y-c),new at(e.x+c,e.y-l),new at(i.x+l,i.y+c),new at(n.x-c,n.y+l)]}return Rs.isPointInPolygon(e,s)}_checkTarget(t,e){if(t&&t.visible&&t.evented&&this._pointIsInObjectSelectionArea(t,Te(e,void 0,this.viewportTransform))){if(!this.perPixelTargetFind&&!t.perPixelTargetFind||t.isEditing)return!0;if(!this.isTargetTransparent(t,e.x,e.y))return!0}return!1}_searchPossibleTargets(t,e){let s=t.length;for(;s--;){const i=t[s];if(this._checkTarget(i,e)){if(ct(i)&&i.subTargetCheck){const t=this._searchPossibleTargets(i._objects,e);t&&this.targets.push(t)}return i}}}searchPossibleTargets(t,e){const s=this._searchPossibleTargets(t,e);if(s&&ct(s)&&s.interactive&&this.targets[0]){const t=this.targets;for(let e=t.length-1;e>0;e--){const s=t[e];if(!ct(s)||!s.interactive)return s}return t[0]}return s}getViewportPoint(t){return this._pointer?this._pointer:this.getPointer(t,!0)}getScenePoint(t){return this._absolutePointer?this._absolutePointer:this.getPointer(t)}getPointer(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const s=this.upperCanvasEl,i=s.getBoundingClientRect();let r=fe(t),n=i.width||0,o=i.height||0;n&&o||(P in i&&A in i&&(o=Math.abs(i.top-i.bottom)),j in i&&E in i&&(n=Math.abs(i.right-i.left))),this.calcOffset(),r.x=r.x-this._offset.left,r.y=r.y-this._offset.top,e||(r=Te(r,void 0,this.viewportTransform));const a=this.getRetinaScaling();1!==a&&(r.x/=a,r.y/=a);const h=0===n||0===o?new at(1,1):new at(s.width/n,s.height/o);return r.multiply(h)}_setDimensionsImpl(t,e){this._resetTransformEventData(),super._setDimensionsImpl(t,e),this._isCurrentlyDrawing&&this.freeDrawingBrush&&this.freeDrawingBrush._setBrushStyles(this.contextTop)}_createCacheCanvas(){this.pixelFindCanvasEl=mt(),this.pixelFindContext=this.pixelFindCanvasEl.getContext("2d",{willReadFrequently:!0}),this.setTargetFindTolerance(this.targetFindTolerance)}getTopContext(){return this.elements.upper.ctx}getSelectionContext(){return this.elements.upper.ctx}getSelectionElement(){return this.elements.upper.el}getActiveObject(){return this._activeObject}getActiveObjects(){const t=this._activeObject;return ie(t)?t.getObjects():t?[t]:[]}_fireSelectionEvents(t,e){let s=!1,i=!1;const r=this.getActiveObjects(),n=[],o=[];t.forEach((t=>{r.includes(t)||(s=!0,t.fire("deselected",{e:e,target:t}),o.push(t))})),r.forEach((i=>{t.includes(i)||(s=!0,i.fire("selected",{e:e,target:i}),n.push(i))})),t.length>0&&r.length>0?(i=!0,s&&this.fire("selection:updated",{e:e,selected:n,deselected:o})):r.length>0?(i=!0,this.fire("selection:created",{e:e,selected:n})):t.length>0&&(i=!0,this.fire("selection:cleared",{e:e,deselected:o})),i&&(this._objectsToRender=void 0)}setActiveObject(t,e){const s=this.getActiveObjects(),i=this._setActiveObject(t,e);return this._fireSelectionEvents(s,e),i}_setActiveObject(t,e){const s=this._activeObject;return!(s===t||!this._discardActiveObject(e,t)&&this._activeObject||t.onSelect({e:e})||(this._activeObject=t,ie(t)&&s!==t&&t.set("canvas",this),t.setCoords(),0))}_discardActiveObject(t,e){const s=this._activeObject;return!!s&&!s.onDeselect({e:t,object:e})&&(this._currentTransform&&this._currentTransform.target===s&&this.endCurrentTransform(t),ie(s)&&s===this._hoveredTarget&&(this._hoveredTarget=void 0),this._activeObject=void 0,!0)}discardActiveObject(t){const e=this.getActiveObjects(),s=this.getActiveObject();e.length&&this.fire("before:selection:cleared",{e:t,deselected:[s]});const i=this._discardActiveObject(t);return this._fireSelectionEvents(e,t),i}endCurrentTransform(t){const e=this._currentTransform;this._finalizeCurrentTransform(t),e&&e.target&&(e.target.isMoving=!1),this._currentTransform=null}_finalizeCurrentTransform(t){const e=this._currentTransform,s=e.target,i={e:t,target:s,transform:e,action:e.action};s._scaling&&(s._scaling=!1),s.setCoords(),e.actionPerformed&&(this.fire("object:modified",i),s.fire(Z,i))}setViewportTransform(t){super.setViewportTransform(t);const e=this._activeObject;e&&e.setCoords()}destroy(){const t=this._activeObject;ie(t)&&(t.removeAll(),t.dispose()),delete this._activeObject,super.destroy(),this.pixelFindContext=null,this.pixelFindCanvasEl=void 0}clear(){this.discardActiveObject(),this._activeObject=void 0,this.clearContext(this.contextTop),super.clear()}drawControls(t){const e=this._activeObject;e&&e._renderControls(t)}_toObject(t,e,s){const i=this._realizeGroupTransformOnObject(t),r=super._toObject(t,e,s);return t.set(i),r}_realizeGroupTransformOnObject(t){const{group:e}=t;if(e&&ie(e)&&this._activeObject===e){const s=Xt(t,["angle","flipX","flipY",E,N,U,q,K,P]);return _e(t,e.calcOwnMatrix()),s}return{}}_setSVGObject(t,e,s){const i=this._realizeGroupTransformOnObject(e);super._setSVGObject(t,e,s),e.set(i)}}s(mn,"ownDefaults",{uniformScaling:!0,uniScaleKey:"shiftKey",centeredScaling:!1,centeredRotation:!1,centeredKey:"altKey",altActionKey:"shiftKey",selection:!0,selectionKey:"shiftKey",selectionColor:"rgba(100, 100, 255, 0.3)",selectionDashArray:[],selectionBorderColor:"rgba(255, 255, 255, 0.3)",selectionLineWidth:1,selectionFullyContained:!1,hoverCursor:"move",moveCursor:"move",defaultCursor:"default",freeDrawingCursor:"crosshair",notAllowedCursor:"not-allowed",perPixelTargetFind:!1,targetFindTolerance:0,skipTargetFind:!1,stopContextMenu:!1,fireRightClick:!1,fireMiddleClick:!1,enablePointerEvents:!1,containerClass:"canvas-container",preserveObjectStacking:!1});class vn{constructor(t){s(this,"targets",[]),s(this,"__disposer",void 0);const e=()=>{const{hiddenTextarea:e}=t.getActiveObject()||{};e&&e.focus()},i=t.upperCanvasEl;i.addEventListener("click",e),this.__disposer=()=>i.removeEventListener("click",e)}exitTextEditing(){this.target=void 0,this.targets.forEach((t=>{t.isEditing&&t.exitEditing()}))}add(t){this.targets.push(t)}remove(t){this.unregister(t),rt(this.targets,t)}register(t){this.target=t}unregister(t){t===this.target&&(this.target=void 0)}onMouseMove(t){var e;(null===(e=this.target)||void 0===e?void 0:e.isEditing)&&this.target.updateSelectionOnMouseMove(t)}clear(){this.targets=[],this.target=void 0}dispose(){this.clear(),this.__disposer(),delete this.__disposer}}const yn=["target","oldTarget","fireCanvas","e"],_n={passive:!1},xn=(t,e)=>{const s=t.getViewportPoint(e),i=t.getScenePoint(e);return{viewportPoint:s,scenePoint:i,pointer:s,absolutePointer:i}},Cn=function(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),i=1;i1?e-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{}),s(this,"_isClick",void 0),s(this,"textEditingManager",new vn(this)),["_onMouseDown","_onTouchStart","_onMouseMove","_onMouseUp","_onTouchEnd","_onResize","_onMouseWheel","_onMouseOut","_onMouseEnter","_onContextMenu","_onDoubleClick","_onDragStart","_onDragEnd","_onDragProgress","_onDragOver","_onDragEnter","_onDragLeave","_onDrop"].forEach((t=>{this[t]=this[t].bind(this)})),this.addOrRemove(Cn,"add")}_getEventPrefix(){return this.enablePointerEvents?"pointer":"mouse"}addOrRemove(t,e){const s=this.upperCanvasEl,i=this._getEventPrefix();t(oe(s),"resize",this._onResize),t(s,i+"down",this._onMouseDown),t(s,"".concat(i,"move"),this._onMouseMove,_n),t(s,"".concat(i,"out"),this._onMouseOut),t(s,"".concat(i,"enter"),this._onMouseEnter),t(s,"wheel",this._onMouseWheel),t(s,"contextmenu",this._onContextMenu),t(s,"dblclick",this._onDoubleClick),t(s,"dragstart",this._onDragStart),t(s,"dragend",this._onDragEnd),t(s,"dragover",this._onDragOver),t(s,"dragenter",this._onDragEnter),t(s,"dragleave",this._onDragLeave),t(s,"drop",this._onDrop),this.enablePointerEvents||t(s,"touchstart",this._onTouchStart,_n)}removeListeners(){this.addOrRemove(bn,"remove");const t=this._getEventPrefix(),e=ne(this.upperCanvasEl);bn(e,"".concat(t,"up"),this._onMouseUp),bn(e,"touchend",this._onTouchEnd,_n),bn(e,"".concat(t,"move"),this._onMouseMove,_n),bn(e,"touchmove",this._onMouseMove,_n)}_onMouseWheel(t){this.__onMouseWheel(t)}_onMouseOut(t){const e=this._hoveredTarget,s=r({e:t},xn(this,t));this.fire("mouse:out",r(r({},s),{},{target:e})),this._hoveredTarget=void 0,e&&e.fire("mouseout",r({},s)),this._hoveredTargets.forEach((t=>{this.fire("mouse:out",r(r({},s),{},{target:t})),t&&t.fire("mouseout",r({},s))})),this._hoveredTargets=[]}_onMouseEnter(t){this._currentTransform||this.findTarget(t)||(this.fire("mouse:over",r({e:t},xn(this,t))),this._hoveredTarget=void 0,this._hoveredTargets=[])}_onDragStart(t){this._isClick=!1;const e=this.getActiveObject();if(e&&e.onDragStart(t)){this._dragSource=e;const s={e:t,target:e};return this.fire("dragstart",s),e.fire("dragstart",s),void Cn(this.upperCanvasEl,"drag",this._onDragProgress)}me(t)}_renderDragEffects(t,e,s){let i=!1;const r=this._dropTarget;r&&r!==e&&r!==s&&(r.clearContextTop(),i=!0),null==e||e.clearContextTop(),s!==e&&(null==s||s.clearContextTop());const n=this.contextTop;n.save(),n.transform(...this.viewportTransform),e&&(n.save(),e.transform(n),e.renderDragSourceEffect(t),n.restore(),i=!0),s&&(n.save(),s.transform(n),s.renderDropTargetEffect(t),n.restore(),i=!0),n.restore(),i&&(this.contextTopDirty=!0)}_onDragEnd(t){const e=!!t.dataTransfer&&t.dataTransfer.dropEffect!==F,s=e?this._activeObject:void 0,i={e:t,target:this._dragSource,subTargets:this.targets,dragSource:this._dragSource,didDrop:e,dropTarget:s};bn(this.upperCanvasEl,"drag",this._onDragProgress),this.fire("dragend",i),this._dragSource&&this._dragSource.fire("dragend",i),delete this._dragSource,this._onMouseUp(t)}_onDragProgress(t){const e={e:t,target:this._dragSource,dragSource:this._dragSource,dropTarget:this._draggedoverTarget};this.fire("drag",e),this._dragSource&&this._dragSource.fire("drag",e)}findDragTargets(t){return this.targets=[],{target:this._searchPossibleTargets(this._objects,this.getViewportPoint(t)),targets:[...this.targets]}}_onDragOver(t){const e="dragover",{target:s,targets:i}=this.findDragTargets(t),r=this._dragSource,n={e:t,target:s,subTargets:i,dragSource:r,canDrop:!1,dropTarget:void 0};let o;this.fire(e,n),this._fireEnterLeaveEvents(s,n),s&&(s.canDrop(t)&&(o=s),s.fire(e,n));for(let a=0;a0)return;this.__onMouseUp(t),this._resetTransformEventData(),delete this.mainTouchId;const e=this._getEventPrefix(),s=ne(this.upperCanvasEl);bn(s,"touchend",this._onTouchEnd,_n),bn(s,"touchmove",this._onMouseMove,_n),this._willAddMouseDown&&clearTimeout(this._willAddMouseDown),this._willAddMouseDown=setTimeout((()=>{Cn(this.upperCanvasEl,"".concat(e,"down"),this._onMouseDown),this._willAddMouseDown=0}),400)}_onMouseUp(t){this.__onMouseUp(t),this._resetTransformEventData();const e=this.upperCanvasEl,s=this._getEventPrefix();if(this._isMainEvent(t)){const t=ne(this.upperCanvasEl);bn(t,"".concat(s,"up"),this._onMouseUp),bn(t,"".concat(s,"move"),this._onMouseMove,_n),Cn(e,"".concat(s,"move"),this._onMouseMove,_n)}}_onMouseMove(t){const e=this.getActiveObject();!this.allowTouchScrolling&&(!e||!e.shouldStartDragging(t))&&t.preventDefault&&t.preventDefault(),this.__onMouseMove(t)}_onResize(){this.calcOffset(),this._resetTransformEventData()}_shouldRender(t){const e=this.getActiveObject();return!!e!=!!t||e&&t&&e!==t}__onMouseUp(t){var e;this._cacheTransformEventData(t),this._handleEvent(t,"up:before");const s=this._currentTransform,i=this._isClick,r=this._target,{button:n}=t;if(n)return(this.fireMiddleClick&&1===n||this.fireRightClick&&2===n)&&this._handleEvent(t,"up"),void this._resetTransformEventData();if(this.isDrawingMode&&this._isCurrentlyDrawing)return void this._onMouseUpInDrawingMode(t);if(!this._isMainEvent(t))return;let o,a,h=!1;if(s&&(this._finalizeCurrentTransform(t),h=s.actionPerformed),!i){const e=r===this._activeObject;this.handleSelection(t),h||(h=this._shouldRender(r)||!e&&r===this._activeObject)}if(r){const e=r.findControl(this.getViewportPoint(t),pe(t)),{key:i,control:n}=e||{};if(a=i,r.selectable&&r!==this._activeObject&&"up"===r.activeOn)this.setActiveObject(r,t),h=!0;else if(n){const e=n.getMouseUpHandler(t,r,n);e&&(o=this.getScenePoint(t),e.call(n,t,s,o.x,o.y))}r.isMoving=!1}if(s&&(s.target!==r||s.corner!==a)){const e=s.target&&s.target.controls[s.corner],i=e&&e.getMouseUpHandler(t,s.target,e);o=o||this.getScenePoint(t),i&&i.call(e,t,s,o.x,o.y)}this._setCursorFromEvent(t,r),this._handleEvent(t,"up"),this._groupSelector=null,this._currentTransform=null,r&&(r.__corner=void 0),h?this.requestRenderAll():i||null!==(e=this._activeObject)&&void 0!==e&&e.isEditing||this.renderTop()}_basicEventHandler(t,e){const{target:s,subTargets:i=[]}=e;this.fire(t,e),s&&s.fire(t,e);for(let r=0;r{s=t.hoverCursor||s})),this.setCursor(s)}handleMultiSelection(t,e){const s=this._activeObject,i=ie(s);if(s&&this._isSelectionKeyPressed(t)&&this.selection&&e&&e.selectable&&(s!==e||i)&&(i||!e.isDescendantOf(s)&&!s.isDescendantOf(e))&&!e.onSelect({e:t})&&!s.getActiveControl()){if(i){const i=s.getObjects();if(e===s){const s=this.getViewportPoint(t);if(!(e=this.searchPossibleTargets(i,s)||this.searchPossibleTargets(this._objects,s))||!e.selectable)return!1}e.group===s?(s.remove(e),this._hoveredTarget=e,this._hoveredTargets=[...this.targets],1===s.size()&&this._setActiveObject(s.item(0),t)):(s.multiSelectAdd(e),this._hoveredTarget=s,this._hoveredTargets=[...this.targets]),this._fireSelectionEvents(i,t)}else{s.exitEditing&&s.exitEditing();const i=new(et.getClass("ActiveSelection"))([],{canvas:this});i.multiSelectAdd(s,e),this._hoveredTarget=i,this._setActiveObject(i,t),this._fireSelectionEvents([s],t)}return!0}return!1}handleSelection(t){if(!this.selection||!this._groupSelector)return!1;const{x:e,y:s,deltaX:i,deltaY:r}=this._groupSelector,n=new at(e,s),o=n.add(new at(i,r)),a=n.min(o),h=n.max(o).subtract(a),c=this.collectObjects({left:a.x,top:a.y,width:h.x,height:h.y},{includeIntersecting:!this.selectionFullyContained}),l=n.eq(o)?c[0]?[c[0]]:[]:c.length>1?c.filter((e=>!e.onSelect({e:t}))).reverse():c;if(1===l.length)this.setActiveObject(l[0],t);else if(l.length>1){const e=et.getClass("ActiveSelection");this.setActiveObject(new e(l,{canvas:this}),t)}return this._groupSelector=null,!0}clear(){this.textEditingManager.clear(),super.clear()}destroy(){this.removeListeners(),this.textEditingManager.dispose(),super.destroy()}}const Tn={x1:0,y1:0,x2:0,y2:0},On=r(r({},Tn),{},{r1:0,r2:0}),Dn=(t,e)=>isNaN(t)&&"number"==typeof e?e:t,kn=/^(\d+\.\d+)%|(\d+)%$/;function Mn(t){return t&&kn.test(t)}function En(t,e){const s="number"==typeof t?t:"string"==typeof t?parseFloat(t)/(Mn(t)?100:1):NaN;return fs(0,Dn(s,e),1)}const Pn=/\s*;\s*/,An=/\s*:\s*/;function jn(t,e){let s,i;const r=t.getAttribute("style");if(r){const t=r.split(Pn);""===t[t.length-1]&&t.pop();for(let e=t.length;e--;){const[r,n]=t[e].split(An).map((t=>t.trim()));"stop-color"===r?s=n:"stop-opacity"===r&&(i=n)}}const n=new Ut(s||t.getAttribute("stop-color")||"rgb(0,0,0)");return{offset:En(t.getAttribute("offset"),0),color:n.toRgb(),opacity:Dn(parseFloat(i||t.getAttribute("stop-opacity")||""),1)*n.getAlpha()*e}}function Fn(t,e){const s=[],i=t.getElementsByTagName("stop"),r=En(e,1);for(let n=i.length;n--;)s.push(jn(i[n],r));return s}function Ln(t){return"linearGradient"===t.nodeName||"LINEARGRADIENT"===t.nodeName?"linear":"radial"}function Rn(t){return"userSpaceOnUse"===t.getAttribute("gradientUnits")?"pixels":"percentage"}function In(t,e){return t.getAttribute(e)}function Bn(t,e){return function(t,e){let s,{width:i,height:r,gradientUnits:n}=e;return Object.keys(t).reduce(((e,o)=>{const a=t[o];return"Infinity"===a?s=1:"-Infinity"===a?s=0:(s="string"==typeof a?parseFloat(a):a,"string"==typeof a&&Mn(a)&&(s*=.01,"pixels"===n&&("x1"!==o&&"x2"!==o&&"r2"!==o||(s*=i),"y1"!==o&&"y2"!==o||(s*=r)))),e[o]=s,e}),{})}("linear"===Ln(t)?{x1:In(s=t,"x1")||0,y1:In(s,"y1")||0,x2:In(s,"x2")||"100%",y2:In(s,"y2")||0}:function(t){return{x1:In(t,"fx")||In(t,"cx")||"50%",y1:In(t,"fy")||In(t,"cy")||"50%",r1:0,x2:In(t,"cx")||"50%",y2:In(t,"cy")||"50%",r2:In(t,"r")||"50%"}}(t),r(r({},e),{},{gradientUnits:Rn(t)}));var s}class Xn{constructor(t){const{type:e="linear",gradientUnits:s="pixels",coords:i={},colorStops:n=[],offsetX:o=0,offsetY:a=0,gradientTransform:h,id:c}=t||{};Object.assign(this,{type:e,gradientUnits:s,coords:r(r({},"radial"===e?On:Tn),i),colorStops:n,offsetX:o,offsetY:a,gradientTransform:h,id:c?"".concat(c,"_").concat(pt()):pt()})}addColorStop(t){for(const e in t){const s=new Ut(t[e]);this.colorStops.push({offset:parseFloat(e),color:s.toRgb(),opacity:s.getAlpha()})}return this}toObject(t){return r(r({},Xt(this,t)),{},{type:this.type,coords:r({},this.coords),colorStops:this.colorStops.map((t=>r({},t))),offsetX:this.offsetX,offsetY:this.offsetY,gradientUnits:this.gradientUnits,gradientTransform:this.gradientTransform?[...this.gradientTransform]:void 0})}toSVG(t){let{additionalTransform:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=[],i=this.gradientTransform?this.gradientTransform.concat():O.concat(),n="pixels"===this.gradientUnits?"userSpaceOnUse":"objectBoundingBox",o=this.colorStops.map((t=>r({},t))).sort(((t,e)=>t.offset-e.offset));let a=-this.offsetX,h=-this.offsetY;var c;"objectBoundingBox"===n?(a/=t.width,h/=t.height):(a+=t.width/2,h+=t.height/2),(c=t)&&"function"==typeof c._renderPathCommands&&"percentage"!==this.gradientUnits&&(a-=t.pathOffset.x,h-=t.pathOffset.y),i[4]-=a,i[5]-=h;const l=['id="SVGID_'.concat(this.id,'"'),'gradientUnits="'.concat(n,'"'),'gradientTransform="'.concat(e?e+" ":"").concat(Qt(i),'"'),""].join(" ");if("linear"===this.type){const{x1:t,y1:e,x2:i,y2:r}=this.coords;s.push("\n')}else if("radial"===this.type){const{x1:t,y1:e,x2:i,y2:r,r1:n,r2:a}=this.coords,h=n>a;s.push("\n'),h&&(o.reverse(),o.forEach((t=>{t.offset=1-t.offset})));const c=Math.min(n,a);if(c>0){const t=c/Math.max(n,a);o.forEach((e=>{e.offset+=t*(1-e.offset)}))}}return o.forEach((t=>{let{color:e,offset:i,opacity:r}=t;s.push("\n')})),s.push("linear"===this.type?"":"","\n"),s.join("")}toLive(t){const{x1:e,y1:s,x2:i,y2:r,r1:n,r2:o}=this.coords,a="linear"===this.type?t.createLinearGradient(e,s,i,r):t.createRadialGradient(e,s,n,i,r,o);return this.colorStops.forEach((t=>{let{color:e,opacity:s,offset:i}=t;a.addColorStop(i,void 0!==s?new Ut(e).setAlpha(s).toRgba():e)})),a}static fromObject(t){return e(this,null,(function*(){const{colorStops:e,gradientTransform:s}=t;return new this(r(r({},t),{},{colorStops:e?e.map((t=>r({},t))):void 0,gradientTransform:s?[...s]:void 0}))}))}static fromElement(t,e,s){const i=Rn(t),n=e._findCenterFromElement();return new this(r({id:t.getAttribute("id")||void 0,type:Ln(t),coords:Bn(t,{width:s.viewBoxWidth||s.width,height:s.viewBoxHeight||s.height}),colorStops:Fn(t,s.opacity),gradientUnits:i,gradientTransform:ar(t.getAttribute("gradientTransform")||"")},"pixels"===i?{offsetX:e.width/2-n.x,offsetY:e.height/2-n.y}:{offsetX:0,offsetY:0}))}}s(Xn,"type","Gradient"),et.setClass(Xn,"gradient"),et.setClass(Xn,"linear"),et.setClass(Xn,"radial");const Yn=["type","source","patternTransform"];class Wn{get type(){return"pattern"}set type(t){c("warn","Setting type has no effect",t)}constructor(t){s(this,"repeat","repeat"),s(this,"offsetX",0),s(this,"offsetY",0),s(this,"crossOrigin",""),this.id=pt(),Object.assign(this,t)}isImageSource(){return!!this.source&&"string"==typeof this.source.src}isCanvasSource(){return!!this.source&&!!this.source.toDataURL}sourceToString(){return this.isImageSource()?this.source.src:this.isCanvasSource()?this.source.toDataURL():""}toLive(t){return this.source&&(!this.isImageSource()||this.source.complete&&0!==this.source.naturalWidth&&0!==this.source.naturalHeight)?t.createPattern(this.source,this.repeat):null}toObject(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const{repeat:e,crossOrigin:s}=this;return r(r({},Xt(this,t)),{},{type:"pattern",source:this.sourceToString(),repeat:e,crossOrigin:s,offsetX:qt(this.offsetX,h.NUM_FRACTION_DIGITS),offsetY:qt(this.offsetY,h.NUM_FRACTION_DIGITS),patternTransform:this.patternTransform?[...this.patternTransform]:null})}toSVG(t){let{width:e,height:s}=t;const{source:i,repeat:r,id:n}=this,o=Dn(this.offsetX/e,0),a=Dn(this.offsetY/s,0),h="repeat-y"===r||"no-repeat"===r?1+Math.abs(o||0):Dn(i.width/e,0),c="repeat-x"===r||"no-repeat"===r?1+Math.abs(a||0):Dn(i.height/s,0);return[''),''),"",""].join("\n")}static fromObject(t,s){return e(this,null,(function*(){let{type:e,source:i,patternTransform:o}=t,a=n(t,Yn);const h=yield Rt(i,r(r({},s),{},{crossOrigin:a.crossOrigin}));return new this(r(r({},a),{},{patternTransform:o&&o.slice(0),source:h}))}))}}s(Wn,"type","Pattern"),et.setClass(Wn),et.setClass(Wn,"pattern");const Vn=["path","left","top"],Hn=["d"];class Gn extends xi{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{path:s,left:i,top:r}=e,o=n(e,Vn);super(),Object.assign(this,Gn.ownDefaults),this.setOptions(o),this._setPath(t||[],!0),"number"==typeof i&&this.set(E,i),"number"==typeof r&&this.set(P,r)}_setPath(t,e){this.path=Kr(Array.isArray(t)?t:ln(t)),this.setBoundingBox(e)}_findCenterFromElement(){const t=this._calcBoundsFromPath();return new at(t.left+t.width/2,t.top+t.height/2)}_renderPathCommands(t){const e=-this.pathOffset.x,s=-this.pathOffset.y;t.beginPath();for(const i of this.path)switch(i[0]){case"L":t.lineTo(i[1]+e,i[2]+s);break;case"M":t.moveTo(i[1]+e,i[2]+s);break;case"C":t.bezierCurveTo(i[1]+e,i[2]+s,i[3]+e,i[4]+s,i[5]+e,i[6]+s);break;case"Q":t.quadraticCurveTo(i[1]+e,i[2]+s,i[3]+e,i[4]+s);break;case"Z":t.closePath()}}_render(t){this._renderPathCommands(t),this._renderPaintInOrder(t)}toString(){return"#")}toObject(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r(r({},super.toObject(t)),{},{path:this.path.map((t=>t.slice()))})}toDatalessObject(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const e=this.toObject(t);return this.sourcePath&&(delete e.path,e.sourcePath=this.sourcePath),e}_toSVG(){const t=un(this.path,h.NUM_FRACTION_DIGITS);return["\n')]}_getOffsetTransform(){const t=h.NUM_FRACTION_DIGITS;return" translate(".concat(qt(-this.pathOffset.x,t),", ").concat(qt(-this.pathOffset.y,t),")")}toClipPathSVG(t){const e=this._getOffsetTransform();return"\t"+this._createBaseClipPathSVGMarkup(this._toSVG(),{reviver:t,additionalTransform:e})}toSVG(t){const e=this._getOffsetTransform();return this._createBaseSVGMarkup(this._toSVG(),{reviver:t,additionalTransform:e})}complexity(){return this.path.length}setDimensions(){this.setBoundingBox()}setBoundingBox(t){const{width:e,height:s,pathOffset:i}=this._calcDimensions();this.set({width:e,height:s,pathOffset:i}),t&&this.setPositionByOrigin(i,M,M)}_calcBoundsFromPath(){const t=[];let e=0,s=0,i=0,r=0;for(const n of this.path)switch(n[0]){case"L":i=n[1],r=n[2],t.push(new at(e,s),new at(i,r));break;case"M":i=n[1],r=n[2],e=i,s=r;break;case"C":t.push(...Ur(i,r,n[1],n[2],n[3],n[4],n[5],n[6])),i=n[5],r=n[6];break;case"Q":t.push(...Ur(i,r,n[1],n[2],n[1],n[2],n[3],n[4])),i=n[3],r=n[4];break;case"Z":i=e,r=s}return ve(t)}_calcDimensions(){const t=this._calcBoundsFromPath();return r(r({},t),{},{pathOffset:new at(t.left+t.width/2,t.top+t.height/2)})}static fromObject(t){return this._fromObject(t,{extraParam:"path"})}static fromElement(t,s,i){return e(this,null,(function*(){const e=ur(t,this.ATTRIBUTE_NAMES,i),{d:o}=e;return new this(o,r(r(r({},n(e,Hn)),s),{},{left:void 0,top:void 0}))}))}}s(Gn,"type","Path"),s(Gn,"cacheProperties",[...ms,"path","fillRule"]),s(Gn,"ATTRIBUTE_NAMES",[...Li,"d"]),et.setClass(Gn),et.setSVGClass(Gn);const zn=["left","top","radius"],Nn=["radius","startAngle","endAngle","counterClockwise"];class Un extends xi{static getDefaults(){return r(r({},super.getDefaults()),Un.ownDefaults)}constructor(t){super(),Object.assign(this,Un.ownDefaults),this.setOptions(t)}_set(t,e){return super._set(t,e),"radius"===t&&this.setRadius(e),this}_render(t){t.beginPath(),t.arc(0,0,this.radius,_t(this.startAngle),_t(this.endAngle),this.counterClockwise),this._renderPaintInOrder(t)}getRadiusX(){return this.get("radius")*this.get(N)}getRadiusY(){return this.get("radius")*this.get(U)}setRadius(t){this.radius=t,this.set({width:2*t,height:2*t})}toObject(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return super.toObject([...Nn,...t])}_toSVG(){const t=(this.endAngle-this.startAngle)%360;if(0===t)return["\n'];{const{radius:e}=this,s=_t(this.startAngle),i=_t(this.endAngle),r=nt(s)*e,n=ot(s)*e,o=nt(i)*e,a=ot(i)*e,h=t>180?1:0,c=this.counterClockwise?0:1;return['\n"]}}static fromElement(t,s,i){return e(this,null,(function*(){const e=ur(t,this.ATTRIBUTE_NAMES,i),{left:s=0,top:o=0,radius:a=0}=e;return new this(r(r({},n(e,zn)),{},{radius:a,left:s-a,top:o-a}))}))}static fromObject(t){return super._fromObject(t)}}s(Un,"type","Circle"),s(Un,"cacheProperties",[...ms,...Nn]),s(Un,"ownDefaults",{radius:0,startAngle:0,endAngle:360,counterClockwise:!1}),s(Un,"ATTRIBUTE_NAMES",["cx","cy","r",...Li]),et.setClass(Un),et.setSVGClass(Un);const qn=["x1","y1","x2","y2"],Kn=["x1","y1","x2","y2"],Jn=["x1","x2","y1","y2"];class Qn extends xi{constructor(){let[t,e,s,i]=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[0,0,0,0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),Object.assign(this,Qn.ownDefaults),this.setOptions(r),this.x1=t,this.x2=s,this.y1=e,this.y2=i,this._setWidthHeight();const{left:n,top:o}=r;"number"==typeof n&&this.set(E,n),"number"==typeof o&&this.set(P,o)}_setWidthHeight(){const{x1:t,y1:e,x2:s,y2:i}=this;this.width=Math.abs(s-t),this.height=Math.abs(i-e);const{left:r,top:n,width:o,height:a}=ve([{x:t,y:e},{x:s,y:i}]),h=new at(r+o/2,n+a/2);this.setPositionByOrigin(h,M,M)}_set(t,e){return super._set(t,e),Jn.includes(t)&&this._setWidthHeight(),this}_render(t){t.beginPath();const e=this.calcLinePoints();t.moveTo(e.x1,e.y1),t.lineTo(e.x2,e.y2),t.lineWidth=this.strokeWidth;const s=t.strokeStyle;var i;$t(this.stroke)?t.strokeStyle=this.stroke.toLive(t):t.strokeStyle=null!==(i=this.stroke)&&void 0!==i?i:t.fillStyle,this.stroke&&this._renderStroke(t),t.strokeStyle=s}_findCenterFromElement(){return new at((this.x1+this.x2)/2,(this.y1+this.y2)/2)}toObject(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r(r({},super.toObject(t)),this.calcLinePoints())}_getNonTransformedDimensions(){const t=super._getNonTransformedDimensions();return"butt"===this.strokeLineCap&&(0===this.width&&(t.y-=this.strokeWidth),0===this.height&&(t.x-=this.strokeWidth)),t}calcLinePoints(){const{x1:t,x2:e,y1:s,y2:i,width:r,height:n}=this,o=t<=e?-1:1,a=s<=i?-1:1;return{x1:o*r/2,x2:o*-r/2,y1:a*n/2,y2:a*-n/2}}_toSVG(){const{x1:t,x2:e,y1:s,y2:i}=this.calcLinePoints();return["\n')]}static fromElement(t,s,i){return e(this,null,(function*(){const e=ur(t,this.ATTRIBUTE_NAMES,i),{x1:s=0,y1:r=0,x2:o=0,y2:a=0}=e;return new this([s,r,o,a],n(e,qn))}))}static fromObject(t){let{x1:e,y1:s,x2:i,y2:o}=t,a=n(t,Kn);return this._fromObject(r(r({},a),{},{points:[e,s,i,o]}),{extraParam:"points"})}}s(Qn,"type","Line"),s(Qn,"cacheProperties",[...ms,...Jn]),s(Qn,"ATTRIBUTE_NAMES",Li.concat(Jn)),et.setClass(Qn),et.setSVGClass(Qn);class Zn extends xi{static getDefaults(){return r(r({},super.getDefaults()),Zn.ownDefaults)}constructor(t){super(),Object.assign(this,Zn.ownDefaults),this.setOptions(t)}_render(t){const e=this.width/2,s=this.height/2;t.beginPath(),t.moveTo(-e,s),t.lineTo(0,-s),t.lineTo(e,s),t.closePath(),this._renderPaintInOrder(t)}_toSVG(){const t=this.width/2,e=this.height/2;return["']}}s(Zn,"type","Triangle"),s(Zn,"ownDefaults",{width:100,height:100}),et.setClass(Zn),et.setSVGClass(Zn);const $n=["rx","ry"];class to extends xi{static getDefaults(){return r(r({},super.getDefaults()),to.ownDefaults)}constructor(t){super(),Object.assign(this,to.ownDefaults),this.setOptions(t)}_set(t,e){switch(super._set(t,e),t){case"rx":this.rx=e,this.set("width",2*e);break;case"ry":this.ry=e,this.set("height",2*e)}return this}getRx(){return this.get("rx")*this.get(N)}getRy(){return this.get("ry")*this.get(U)}toObject(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return super.toObject([...$n,...t])}_toSVG(){return["\n')]}_render(t){t.beginPath(),t.save(),t.transform(1,0,0,this.ry/this.rx,0,0),t.arc(0,0,this.rx,0,w,!1),t.restore(),this._renderPaintInOrder(t)}static fromElement(t,s,i){return e(this,null,(function*(){const e=ur(t,this.ATTRIBUTE_NAMES,i);return e.left=(e.left||0)-e.rx,e.top=(e.top||0)-e.ry,new this(e)}))}}s(to,"type","Ellipse"),s(to,"cacheProperties",[...ms,...$n]),s(to,"ownDefaults",{rx:0,ry:0}),s(to,"ATTRIBUTE_NAMES",[...Li,"cx","cy","rx","ry"]),et.setClass(to),et.setSVGClass(to);const eo=["left","top"],so={exactBoundingBox:!1};class io extends xi{static getDefaults(){return r(r({},super.getDefaults()),io.ownDefaults)}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),s(this,"strokeDiff",void 0),Object.assign(this,io.ownDefaults),this.setOptions(e),this.points=t;const{left:i,top:r}=e;this.initialized=!0,this.setBoundingBox(!0),"number"==typeof i&&this.set(E,i),"number"==typeof r&&this.set(P,r)}isOpen(){return!0}_projectStrokeOnPoints(t){return Oi(this.points,t,this.isOpen())}_calcDimensions(t){t=r({scaleX:this.scaleX,scaleY:this.scaleY,skewX:this.skewX,skewY:this.skewY,strokeLineCap:this.strokeLineCap,strokeLineJoin:this.strokeLineJoin,strokeMiterLimit:this.strokeMiterLimit,strokeUniform:this.strokeUniform,strokeWidth:this.strokeWidth},t||{});const e=this.exactBoundingBox?this._projectStrokeOnPoints(t).map((t=>t.projectedPoint)):this.points;if(0===e.length)return{left:0,top:0,width:0,height:0,pathOffset:new at,strokeOffset:new at,strokeDiff:new at};const s=ve(e),i=Ft(r(r({},t),{},{scaleX:1,scaleY:1})),n=ve(this.points.map((t=>bt(t,i,!0)))),o=new at(this.scaleX,this.scaleY);let a=s.left+s.width/2,h=s.top+s.height/2;return this.exactBoundingBox&&(a-=h*Math.tan(_t(this.skewX)),h-=a*Math.tan(_t(this.skewY))),r(r({},s),{},{pathOffset:new at(a,h),strokeOffset:new at(n.left,n.top).subtract(new at(s.left,s.top)).multiply(o),strokeDiff:new at(s.width,s.height).subtract(new at(n.width,n.height)).multiply(o)})}_findCenterFromElement(){const t=ve(this.points);return new at(t.left+t.width/2,t.top+t.height/2)}setDimensions(){this.setBoundingBox()}setBoundingBox(t){const{left:e,top:s,width:i,height:r,pathOffset:n,strokeOffset:o,strokeDiff:a}=this._calcDimensions();this.set({width:i,height:r,pathOffset:n,strokeOffset:o,strokeDiff:a}),t&&this.setPositionByOrigin(new at(e+i/2,s+r/2),M,M)}isStrokeAccountedForInDimensions(){return this.exactBoundingBox}_getNonTransformedDimensions(){return this.exactBoundingBox?new at(this.width,this.height):super._getNonTransformedDimensions()}_getTransformedDimensions(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.exactBoundingBox){let n;if(Object.keys(t).some((t=>this.strokeUniform||this.constructor.layoutProperties.includes(t)))){var e,s;const{width:i,height:r}=this._calcDimensions(t);n=new at(null!==(e=t.width)&&void 0!==e?e:i,null!==(s=t.height)&&void 0!==s?s:r)}else{var i,r;n=new at(null!==(i=t.width)&&void 0!==i?i:this.width,null!==(r=t.height)&&void 0!==r?r:this.height)}return n.multiply(new at(t.scaleX||this.scaleX,t.scaleY||this.scaleY))}return super._getTransformedDimensions(t)}_set(t,e){const s=this.initialized&&this[t]!==e,i=super._set(t,e);return this.exactBoundingBox&&s&&((t===N||t===U)&&this.strokeUniform&&this.constructor.layoutProperties.includes("strokeUniform")||this.constructor.layoutProperties.includes(t))&&this.setDimensions(),i}toObject(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r(r({},super.toObject(t)),{},{points:this.points.map((t=>{let{x:e,y:s}=t;return{x:e,y:s}}))})}_toSVG(){const t=[],e=this.pathOffset.x,s=this.pathOffset.y,i=h.NUM_FRACTION_DIGITS;for(let r=0,n=this.points.length;r\n')]}_render(t){const e=this.points.length,s=this.pathOffset.x,i=this.pathOffset.y;if(e&&!isNaN(this.points[e-1].y)){t.beginPath(),t.moveTo(this.points[0].x-s,this.points[0].y-i);for(let r=0;rvoid 0!==t));this._setStyleDeclaration(s,i,n)}getSelectionStyles(t,e,s){const i=[];for(let r=t;r<(e||t);r++)i.push(this.getStyleAtPosition(r,s));return i}getStyleAtPosition(t,e){const{lineIndex:s,charIndex:i}=this.get2DCursorLocation(t);return e?this.getCompleteStyleDeclaration(s,i):this._getStyleDeclaration(s,i)}setSelectionStyles(t,e,s){for(let i=e;i<(s||e);i++)this._extendStyles(i,t);this._forceClearCache=!0}_getStyleDeclaration(t,e){var s;const i=this.styles&&this.styles[t];return i&&null!==(s=i[e])&&void 0!==s?s:{}}getCompleteStyleDeclaration(t,e){return r(r({},Xt(this,this.constructor._styleProperties)),this._getStyleDeclaration(t,e))}_setStyleDeclaration(t,e,s){this.styles[t][e]=s}_deleteStyleDeclaration(t,e){delete this.styles[t][e]}_getLineStyle(t){return!!this.styles[t]}_setLineStyle(t){this.styles[t]={}}_deleteLineStyle(t){delete this.styles[t]}}s(mo,"_styleProperties",co);const vo=/ +/g,yo=/"/g;function _o(t,e,s,i,r){return"\t\t".concat(function(t,e){let{left:s,top:i,width:r,height:n}=e,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.NUM_FRACTION_DIGITS;const a=Zt(J,t,!1),[c,l,u,d]=[s,i,r,n].map((t=>qt(t,o)));return"')}(t,{left:e,top:s,width:i,height:r}),"\n")}const xo=["textAnchor","textDecoration","dx","dy","top","left","fontSize","strokeWidth"];let Co;class bo extends mo{static getDefaults(){return r(r({},super.getDefaults()),bo.ownDefaults)}constructor(t,e){super(),s(this,"__charBounds",[]),Object.assign(this,bo.ownDefaults),this.setOptions(e),this.styles||(this.styles={}),this.text=t,this.initialized=!0,this.path&&this.setPathInfo(),this.initDimensions(),this.setCoords()}setPathInfo(){const t=this.path;t&&(t.segmentsInfo=on(t.path))}_splitText(){const t=this._splitTextIntoLines(this.text);return this.textLines=t.lines,this._textLines=t.graphemeLines,this._unwrappedTextLines=t._unwrappedLines,this._text=t.graphemeText,t}initDimensions(){this._splitText(),this._clearCache(),this.dirty=!0,this.path?(this.width=this.path.width,this.height=this.path.height):(this.width=this.calcTextWidth()||this.cursorWidth||this.MIN_TEXT_WIDTH,this.height=this.calcTextHeight()),this.textAlign.includes(uo)&&this.enlargeSpaces()}enlargeSpaces(){let t,e,s,i,r,n,o;for(let a=0,h=this._textLines.length;a')}_getCacheCanvasDimensions(){const t=super._getCacheCanvasDimensions(),e=this.fontSize;return t.width+=e*t.zoomX,t.height+=e*t.zoomY,t}_render(t){const e=this.path;e&&!e.isNotVisible()&&e._render(t),this._setTextStyles(t),this._renderTextLinesBackground(t),this._renderTextDecoration(t,"underline"),this._renderText(t),this._renderTextDecoration(t,"overline"),this._renderTextDecoration(t,"linethrough")}_renderText(t){this.paintFirst===Q?(this._renderTextStroke(t),this._renderTextFill(t)):(this._renderTextFill(t),this._renderTextStroke(t))}_setTextStyles(t,e,s){if(t.textBaseline="alphabetic",this.path)switch(this.pathAlign){case M:t.textBaseline="middle";break;case"ascender":t.textBaseline=P;break;case"descender":t.textBaseline=A}t.font=this._getFontDeclaration(e,s)}calcTextWidth(){let t=this.getLineWidth(0);for(let e=1,s=this._textLines.length;et&&(t=s)}return t}_renderTextLine(t,e,s,i,r,n){this._renderChars(t,e,s,i,r,n)}_renderTextLinesBackground(t){if(!this.textBackgroundColor&&!this.styleHas("textBackgroundColor"))return;const e=t.fillStyle,s=this._getLeftOffset();let i=this._getTopOffset();for(let r=0,n=this._textLines.length;r=0:ie?t%=e:t<0&&(t+=e),this._setGraphemeOnPath(t,s),t+=s.kernedWidth}return{width:i,numOfSpaces:0}}_setGraphemeOnPath(t,e){const s=t+e.kernedWidth/2,i=this.path,r=an(i.path,s,i.segmentsInfo);e.renderLeft=r.x-i.pathOffset.x,e.renderTop=r.y-i.pathOffset.y,e.angle=r.angle+(this.pathSide===j?Math.PI:0)}_getGraphemeBox(t,e,s,i,r){const n=this.getCompleteStyleDeclaration(e,s),o=i?this.getCompleteStyleDeclaration(e,s-1):{},a=this._measureChar(t,n,i,o);let h,c=a.kernedWidth,l=a.width;0!==this.charSpacing&&(h=this._getWidthOfCharSpacing(),l+=h,c+=h);const u={width:l,left:0,height:n.fontSize,kernedWidth:c,deltaY:n.deltaY};if(s>0&&!r){const t=this.__charBounds[e][s-1];u.left=t.left+t.width+a.kernedWidth-a.width}return u}getHeightOfLine(t){if(this.__lineHeights[t])return this.__lineHeights[t];let e=this.getHeightOfChar(t,0);for(let s=1,i=this._textLines[t].length;s0){let e=i+u+f;"rtl"===this.direction&&(e=this.width-e-p),m&&v&&(t.fillStyle=v,t.fillRect(e,y+o*_+x,p,this.fontSize/15)),f=n.left,p=n.width,m=d,v=g,_=h,x=c}else p+=n.kernedWidth}let C=i+u+f;"rtl"===this.direction&&(C=this.width-C-p),t.fillStyle=g,d&&g&&t.fillRect(C,y+o*_+x,p-n,this.fontSize/15),s+=h}this._removeShadow(t)}_getFontDeclaration(){let{fontFamily:t=this.fontFamily,fontStyle:e=this.fontStyle,fontWeight:s=this.fontWeight,fontSize:i=this.fontSize}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;const n=t.includes("'")||t.includes('"')||t.includes(",")||bo.genericFonts.includes(t.toLowerCase())?t:'"'.concat(t,'"');return[e,s,"".concat(r?this.CACHE_FONT_SIZE:i,"px"),n].join(" ")}render(t){this.visible&&(this.canvas&&this.canvas.skipOffscreen&&!this.group&&!this.isOnScreen()||(this._forceClearCache&&this.initDimensions(),super.render(t)))}graphemeSplit(t){return Mi(t)}_splitTextIntoLines(t){const e=t.split(this._reNewline),s=new Array(e.length),i=["\n"];let r=[];for(let n=0;n0&&void 0!==arguments[0]?arguments[0]:[];return r(r({},super.toObject([...ho,...t])),{},{styles:ji(this.styles,this.text)},this.path?{path:this.path.toObject()}:{})}set(t,e){const{textLayoutProperties:s}=this.constructor;super.set(t,e);let i=!1,r=!1;if("object"==typeof t)for(const n in t)"path"===n&&this.setPathInfo(),i=i||s.includes(n),r=r||"path"===n;else i=s.includes(t),r="path"===t;return r&&this.setPathInfo(),i&&this.initialized&&(this.initDimensions(),this.setCoords()),this}complexity(){return 1}static fromElement(t,s,i){return e(this,null,(function*(){const e=ur(t,bo.ATTRIBUTE_NAMES,i),o=r(r({},s),e),{textAnchor:a=E,textDecoration:h="",dx:c=0,dy:l=0,top:u=0,left:d=0,fontSize:g=D,strokeWidth:f=1}=o,p=n(o,xo),m=new this((t.textContent||"").replace(/^\s+|\s+$|\n+/g,"").replace(/\s+/g," "),r({left:d+c,top:u+l,underline:h.includes("underline"),overline:h.includes("overline"),linethrough:h.includes("line-through"),strokeWidth:0,fontSize:g},p)),v=m.getScaledHeight()/m.height,y=((m.height+m.strokeWidth)*m.lineHeight-m.height)*v,_=m.getScaledHeight()+y;let x=0;return a===M&&(x=m.getScaledWidth()/2),a===j&&(x=m.getScaledWidth()),m.set({left:m.left-x,top:m.top-(_-m.fontSize*(.07+m._fontSizeFraction))/m.lineHeight,strokeWidth:f}),m}))}static fromObject(t){return this._fromObject(r(r({},t),{},{styles:Fi(t.styles||{},t.text)}),{extraParam:"text"})}}s(bo,"textLayoutProperties",ao),s(bo,"cacheProperties",[...ms,...ho]),s(bo,"ownDefaults",lo),s(bo,"type","Text"),s(bo,"genericFonts",["sans-serif","serif","cursive","fantasy","monospace"]),s(bo,"ATTRIBUTE_NAMES",Li.concat("x","y","dx","dy","font-family","font-style","font-weight","font-size","letter-spacing","text-decoration","text-anchor")),_i(bo,[class extends Xe{_toSVG(){const t=this._getSVGLeftTopOffsets(),e=this._getSVGTextAndBg(t.textTop,t.textLeft);return this._wrapSVGTextAndBg(e)}toSVG(t){return this._createBaseSVGMarkup(this._toSVG(),{reviver:t,noStyle:!0,withShadow:!0})}_getSVGLeftTopOffsets(){return{textLeft:-this.width/2,textTop:-this.height/2,lineTop:this.getHeightOfLine(0)}}_wrapSVGTextAndBg(t){let{textBgRects:e,textSpans:s}=t;const i=this.getSvgTextDecoration(this);return[e.join(""),'\t\t",s.join(""),"\n"]}_getSVGTextAndBg(t,e){const s=[],i=[];let r,n=t;this.backgroundColor&&i.push(..._o(this.backgroundColor,-this.width/2,-this.height/2,this.width,this.height));for(let o=0,a=this._textLines.length;o").concat(ki(t),"")}_setSVGTextLineText(t,e,s,i){const r=this.getHeightOfLine(e),n=this.textAlign.includes(uo),o=this._textLines[e];let a,h,c,l,u,d="",g=0;i+=r*(1-this._fontSizeFraction)/this.lineHeight;for(let f=0,p=o.length-1;f<=p;f++)u=f===p||this.charSpacing,d+=o[f],c=this.__charBounds[e][f],0===g?(s+=c.kernedWidth-c.width,g+=c.width):g+=c.kernedWidth,n&&!u&&this._reSpaceAndTab.test(o[f])&&(u=!0),u||(a=a||this.getCompleteStyleDeclaration(e,f),h=this.getCompleteStyleDeclaration(e,f+1),u=Ai(a,h,!0)),u&&(l=this._getStyleDeclaration(e,f),t.push(this._createTextCharSpan(d,l,s,i)),d="",a=h,"rtl"===this.direction?s-=g:s+=g,g=0)}_setSVGTextLineBg(t,e,s,i){const r=this._textLines[e],n=this.getHeightOfLine(e)/this.lineHeight;let o,a=0,h=0,c=this.getValueOfPropertyAt(e,0,"textBackgroundColor");for(let l=0;lt[e.replace("-","")])).join(" ")}}]),et.setClass(bo),et.setSVGClass(bo);class So{constructor(t){s(this,"target",void 0),s(this,"__mouseDownInPlace",!1),s(this,"__dragStartFired",!1),s(this,"__isDraggingOver",!1),s(this,"__dragStartSelection",void 0),s(this,"__dragImageDisposer",void 0),s(this,"_dispose",void 0),this.target=t;const e=[this.target.on("dragenter",this.dragEnterHandler.bind(this)),this.target.on("dragover",this.dragOverHandler.bind(this)),this.target.on("dragleave",this.dragLeaveHandler.bind(this)),this.target.on("dragend",this.dragEndHandler.bind(this)),this.target.on("drop",this.dropHandler.bind(this))];this._dispose=()=>{e.forEach((t=>t())),this._dispose=void 0}}isPointerOverSelection(t){const e=this.target,s=e.getSelectionStartFromPointer(t);return e.isEditing&&s>=e.selectionStart&&s<=e.selectionEnd&&e.selectionStart{_.remove()},ne(t.target||this.target.hiddenTextarea).body.appendChild(_),null===(s=t.dataTransfer)||void 0===s||s.setDragImage(_,p.x,p.y)}onDragStart(t){this.__dragStartFired=!0;const e=this.target,s=this.isActive();if(s&&t.dataTransfer){const s=this.__dragStartSelection={selectionStart:e.selectionStart,selectionEnd:e.selectionEnd},i=e._text.slice(s.selectionStart,s.selectionEnd).join(""),n=r({text:e.text,value:i},s);t.dataTransfer.setData("text/plain",i),t.dataTransfer.setData("application/fabric",JSON.stringify({value:i,styles:e.getSelectionStyles(s.selectionStart,s.selectionEnd,!0)})),t.dataTransfer.effectAllowed="copyMove",this.setDragImage(t,n)}return e.abortCursorAnimation(),s}canDrop(t){if(this.target.editable&&!this.target.getActiveControl()&&!t.defaultPrevented){if(this.isActive()&&this.__dragStartSelection){const e=this.target.getSelectionStartFromPointer(t),s=this.__dragStartSelection;return es.selectionEnd}return!0}return!1}targetCanDrop(t){return this.target.canDrop(t)}dragEnterHandler(t){let{e:e}=t;const s=this.targetCanDrop(e);!this.__isDraggingOver&&s&&(this.__isDraggingOver=!0)}dragOverHandler(t){const{e:e}=t,s=this.targetCanDrop(e);!this.__isDraggingOver&&s?this.__isDraggingOver=!0:this.__isDraggingOver&&!s&&(this.__isDraggingOver=!1),this.__isDraggingOver&&(e.preventDefault(),t.canDrop=!0,t.dropTarget=this.target)}dragLeaveHandler(){(this.__isDraggingOver||this.isActive())&&(this.__isDraggingOver=!1)}dropHandler(t){var e;const{e:s}=t,i=s.defaultPrevented;this.__isDraggingOver=!1,s.preventDefault();let r=null===(e=s.dataTransfer)||void 0===e?void 0:e.getData("text/plain");if(r&&!i){const e=this.target,i=e.canvas;let n=e.getSelectionStartFromPointer(s);const{styles:o}=s.dataTransfer.types.includes("application/fabric")?JSON.parse(s.dataTransfer.getData("application/fabric")):{},a=r[Math.max(0,r.length-1)],h=0;if(this.__dragStartSelection){const t=this.__dragStartSelection.selectionStart,s=this.__dragStartSelection.selectionEnd;n>t&&n<=s?n=t:n>s&&(n-=s-t),e.removeChars(t,s),delete this.__dragStartSelection}e._reNewline.test(a)&&(e._reNewline.test(e._text[n])||n===e._text.length)&&(r=r.trimEnd()),t.didDrop=!0,t.dropTarget=e,e.insertChars(r,o,n),i.setActiveObject(e),e.enterEditing(s),e.selectionStart=Math.min(n+h,e._text.length),e.selectionEnd=Math.min(e.selectionStart+r.length,e._text.length),e.hiddenTextarea.value=e.text,e._updateTextarea(),e.hiddenTextarea.focus(),e.fire(G,{index:n+h,action:"drop"}),i.fire("text:changed",{target:e}),i.contextTopDirty=!0,i.requestRenderAll()}}dragEndHandler(t){let{e:e}=t;if(this.isActive()&&this.__dragStartFired&&this.__dragStartSelection){var s;const t=this.target,i=this.target.canvas,{selectionStart:r,selectionEnd:n}=this.__dragStartSelection,o=(null===(s=e.dataTransfer)||void 0===s?void 0:s.dropEffect)||F;o===F?(t.selectionStart=r,t.selectionEnd=n,t._updateTextarea(),t.hiddenTextarea.focus()):(t.clearContextTop(),"move"===o&&(t.removeChars(r,n),t.selectionStart=t.selectionEnd=r,t.hiddenTextarea&&(t.hiddenTextarea.value=t.text),t._updateTextarea(),t.fire(G,{index:r,action:"dragend"}),i.fire("text:changed",{target:t}),i.requestRenderAll()),t.exitEditing())}this.__dragImageDisposer&&this.__dragImageDisposer(),delete this.__dragImageDisposer,delete this.__dragStartSelection,this.__isDraggingOver=!1}dispose(){this._dispose&&this._dispose()}}const wo=/[ \n\.,;!\?\-]/;class To extends bo{constructor(){super(...arguments),s(this,"_currentCursorOpacity",1)}initBehavior(){this._tick=this._tick.bind(this),this._onTickComplete=this._onTickComplete.bind(this),this.updateSelectionOnMouseMove=this.updateSelectionOnMouseMove.bind(this)}onDeselect(t){return this.isEditing&&this.exitEditing(),this.selected=!1,super.onDeselect(t)}_animateCursor(t){let{toValue:e,duration:s,delay:i,onComplete:r}=t;return Fs({startValue:this._currentCursorOpacity,endValue:e,duration:s,delay:i,onComplete:r,abort:()=>!this.canvas||this.selectionStart!==this.selectionEnd,onChange:t=>{this._currentCursorOpacity=t,this.renderCursorOrSelection()}})}_tick(t){this._currentTickState=this._animateCursor({toValue:0,duration:this.cursorDuration/2,delay:Math.max(t||0,100),onComplete:this._onTickComplete})}_onTickComplete(){var t;null===(t=this._currentTickCompleteState)||void 0===t||t.abort(),this._currentTickCompleteState=this._animateCursor({toValue:1,duration:this.cursorDuration,onComplete:this._tick})}initDelayedCursor(t){this.abortCursorAnimation(),this._tick(t?0:this.cursorDelay)}abortCursorAnimation(){let t=!1;[this._currentTickState,this._currentTickCompleteState].forEach((e=>{e&&!e.isDone()&&(t=!0,e.abort())})),this._currentCursorOpacity=1,t&&this.clearContextTop()}restartCursorIfNeeded(){[this._currentTickState,this._currentTickCompleteState].some((t=>!t||t.isDone()))&&this.initDelayedCursor()}selectAll(){return this.selectionStart=0,this.selectionEnd=this._text.length,this._fireSelectionChanged(),this._updateTextarea(),this}getSelectedText(){return this._text.slice(this.selectionStart,this.selectionEnd).join("")}findWordBoundaryLeft(t){let e=0,s=t-1;if(this._reSpace.test(this._text[s]))for(;this._reSpace.test(this._text[s]);)e++,s--;for(;/\S/.test(this._text[s])&&s>-1;)e++,s--;return t-e}findWordBoundaryRight(t){let e=0,s=t;if(this._reSpace.test(this._text[s]))for(;this._reSpace.test(this._text[s]);)e++,s++;for(;/\S/.test(this._text[s])&&s-1;)e++,s--;return t-e}findLineBoundaryRight(t){let e=0,s=t;for(;!/\n/.test(this._text[s])&&s0&&this._reSpace.test(s[t])&&(-1===e||!L.test(s[t-1]))?t-1:t,r=s[i];for(;i>0&&ithis.__selectionStartOnMouseDown?(this.selectionStart=this.__selectionStartOnMouseDown,this.selectionEnd=s):(this.selectionStart=s,this.selectionEnd=this.__selectionStartOnMouseDown),this.selectionStart===i&&this.selectionEnd===r||(this._fireSelectionChanged(),this._updateTextarea(),this.renderCursorOrSelection()))}_setEditingProps(){this.hoverCursor="text",this.canvas&&(this.canvas.defaultCursor=this.canvas.moveCursor="text"),this.borderColor=this.editingBorderColor,this.hasControls=this.selectable=!1,this.lockMovementX=this.lockMovementY=!0}fromStringToGraphemeSelection(t,e,s){const i=s.slice(0,t),r=this.graphemeSplit(i).length;if(t===e)return{selectionStart:r,selectionEnd:r};const n=s.slice(t,e);return{selectionStart:r,selectionEnd:r+this.graphemeSplit(n).length}}fromGraphemeToStringSelection(t,e,s){const i=s.slice(0,t).join("").length;return t===e?{selectionStart:i,selectionEnd:i}:{selectionStart:i,selectionEnd:i+s.slice(t,e).join("").length}}_updateTextarea(){if(this.cursorOffsetCache={},this.hiddenTextarea){if(!this.inCompositionMode){const t=this.fromGraphemeToStringSelection(this.selectionStart,this.selectionEnd,this._text);this.hiddenTextarea.selectionStart=t.selectionStart,this.hiddenTextarea.selectionEnd=t.selectionEnd}this.updateTextareaPosition()}}updateFromTextArea(){if(!this.hiddenTextarea)return;this.cursorOffsetCache={};const t=this.hiddenTextarea;this.text=t.value,this.set("dirty",!0),this.initDimensions(),this.setCoords();const e=this.fromStringToGraphemeSelection(t.selectionStart,t.selectionEnd,t.value);this.selectionEnd=this.selectionStart=e.selectionEnd,this.inCompositionMode||(this.selectionStart=e.selectionStart),this.updateTextareaPosition()}updateTextareaPosition(){if(this.selectionStart===this.selectionEnd){const t=this._calcTextareaPosition();this.hiddenTextarea.style.left=t.left,this.hiddenTextarea.style.top=t.top}}_calcTextareaPosition(){if(!this.canvas)return{left:"1px",top:"1px"};const t=this.inCompositionMode?this.compositionStart:this.selectionStart,e=this._getCursorBoundaries(t),s=this.get2DCursorLocation(t),i=s.lineIndex,r=s.charIndex,n=this.getValueOfPropertyAt(i,r,"fontSize")*this.lineHeight,o=e.leftOffset,a=this.getCanvasRetinaScaling(),h=this.canvas.upperCanvasEl,c=h.width/a,l=h.height/a,u=c-n,d=l-n,g=new at(e.left+o,e.top+e.topOffset+n).transform(this.calcTransformMatrix()).transform(this.canvas.viewportTransform).multiply(new at(h.clientWidth/c,h.clientHeight/l));return g.x<0&&(g.x=0),g.x>u&&(g.x=u),g.y<0&&(g.y=0),g.y>d&&(g.y=d),g.x+=this.canvas._offset.left,g.y+=this.canvas._offset.top,{left:"".concat(g.x,"px"),top:"".concat(g.y,"px"),fontSize:"".concat(n,"px"),charHeight:n}}_saveEditingProps(){this._savedProps={hasControls:this.hasControls,borderColor:this.borderColor,lockMovementX:this.lockMovementX,lockMovementY:this.lockMovementY,hoverCursor:this.hoverCursor,selectable:this.selectable,defaultCursor:this.canvas&&this.canvas.defaultCursor,moveCursor:this.canvas&&this.canvas.moveCursor}}_restoreEditingProps(){this._savedProps&&(this.hoverCursor=this._savedProps.hoverCursor,this.hasControls=this._savedProps.hasControls,this.borderColor=this._savedProps.borderColor,this.selectable=this._savedProps.selectable,this.lockMovementX=this._savedProps.lockMovementX,this.lockMovementY=this._savedProps.lockMovementY,this.canvas&&(this.canvas.defaultCursor=this._savedProps.defaultCursor||this.canvas.defaultCursor,this.canvas.moveCursor=this._savedProps.moveCursor||this.canvas.moveCursor),delete this._savedProps)}_exitEditing(){const t=this.hiddenTextarea;this.selected=!1,this.isEditing=!1,t&&(t.blur&&t.blur(),t.parentNode&&t.parentNode.removeChild(t)),this.hiddenTextarea=null,this.abortCursorAnimation(),this.selectionStart!==this.selectionEnd&&this.clearContextTop()}exitEditing(){const t=this._textBeforeEdit!==this.text;return this._exitEditing(),this.selectionEnd=this.selectionStart,this._restoreEditingProps(),this._forceClearCache&&(this.initDimensions(),this.setCoords()),this.fire("editing:exited"),t&&this.fire(Z),this.canvas&&(this.canvas.fire("text:editing:exited",{target:this}),t&&this.canvas.fire("object:modified",{target:this})),this}_removeExtraneousStyles(){for(const t in this.styles)this._textLines[t]||delete this.styles[t]}removeStyleFromTo(t,e){const{lineIndex:s,charIndex:i}=this.get2DCursorLocation(t,!0),{lineIndex:r,charIndex:n}=this.get2DCursorLocation(e,!0);if(s!==r){if(this.styles[s])for(let t=i;t=n&&(t[s-e]=t[i],delete t[i])}}}shiftLineStyles(t,e){const s=Object.assign({},this.styles);for(const i in this.styles){const r=parseInt(i,10);r>t&&(this.styles[r+e]=s[r],s[r-e]||delete this.styles[r])}}insertNewlineStyleObject(t,e,s,i){const n={},o=this._unwrappedTextLines[t].length,a=o===e;let h=!1;s||(s=1),this.shiftLineStyles(t,s);const c=this.styles[t]?this.styles[t][0===e?e:e-1]:void 0;for(const r in this.styles[t]){const s=parseInt(r,10);s>=e&&(h=!0,n[s-e]=this.styles[t][r],a&&0===e||delete this.styles[t][r])}let l=!1;for(h&&!a&&(this.styles[t+s]=n,l=!0),(l||o>e)&&s--;s>0;)i&&i[s-1]?this.styles[t+s]={0:r({},i[s-1])}:c?this.styles[t+s]={0:r({},c)}:delete this.styles[t+s],s--;this._forceClearCache=!0}insertCharStyleObject(t,e,s,i){this.styles||(this.styles={});const n=this.styles[t],o=n?r({},n):{};s||(s=1);for(const r in o){const t=parseInt(r,10);t>=e&&(n[t+s]=o[t],o[t-s]||delete n[t])}if(this._forceClearCache=!0,i){for(;s--;)Object.keys(i[s]).length&&(this.styles[t]||(this.styles[t]={}),this.styles[t][e+s]=r({},i[s]));return}if(!n)return;const a=n[e?e-1:1];for(;a&&s--;)this.styles[t][e+s]=r({},a)}insertNewStyleBlock(t,e,s){const i=this.get2DCursorLocation(e,!0),r=[0];let n,o=0;for(let a=0;a0&&(this.insertCharStyleObject(i.lineIndex,i.charIndex,r[0],s),s=s&&s.slice(r[0]+1)),o&&this.insertNewlineStyleObject(i.lineIndex,i.charIndex+r[0],o),n=1;n0?this.insertCharStyleObject(i.lineIndex+n,0,r[n],s):s&&this.styles[i.lineIndex+n]&&s[0]&&(this.styles[i.lineIndex+n][0]=s[0]),s=s&&s.slice(r[n]+1);r[n]>0&&this.insertCharStyleObject(i.lineIndex+n,0,r[n],s)}removeChars(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t+1;this.removeStyleFromTo(t,e),this._text.splice(t,e-t),this.text=this._text.join(""),this.set("dirty",!0),this.initDimensions(),this.setCoords(),this._removeExtraneousStyles()}insertChars(t,e,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s;i>s&&this.removeStyleFromTo(s,i);const r=this.graphemeSplit(t);this.insertNewStyleBlock(r,s,e),this._text=[...this._text.slice(0,s),...r,...this._text.slice(i)],this.text=this._text.join(""),this.set("dirty",!0),this.initDimensions(),this.setCoords(),this._removeExtraneousStyles()}setSelectionStartEndWithShift(t,e,s){s<=t?(e===t?this._selectionDirection=E:this._selectionDirection===j&&(this._selectionDirection=E,this.selectionEnd=t),this.selectionStart=s):s>t&&s{let[s,i]=t;return e.setAttribute(s,i)}));const{top:s,left:i,fontSize:r}=this._calcTextareaPosition();e.style.cssText="position: absolute; top: ".concat(s,"; left: ").concat(i,"; z-index: -999; opacity: 0; width: 1px; height: 1px; font-size: 1px; padding-top: ").concat(r,";"),(this.hiddenTextareaContainer||t.body).appendChild(e),Object.entries({blur:"blur",keydown:"onKeyDown",keyup:"onKeyUp",input:"onInput",copy:"copy",cut:"copy",paste:"paste",compositionstart:"onCompositionStart",compositionupdate:"onCompositionUpdate",compositionend:"onCompositionEnd"}).map((t=>{let[s,i]=t;return e.addEventListener(s,this[i].bind(this))})),this.hiddenTextarea=e}blur(){this.abortCursorAnimation()}onKeyDown(t){if(!this.isEditing)return;const e="rtl"===this.direction?this.keysMapRtl:this.keysMap;if(t.keyCode in e)this[e[t.keyCode]](t);else{if(!(t.keyCode in this.ctrlKeysMapDown)||!t.ctrlKey&&!t.metaKey)return;this[this.ctrlKeysMapDown[t.keyCode]](t)}t.stopImmediatePropagation(),t.preventDefault(),t.keyCode>=33&&t.keyCode<=40?(this.inCompositionMode=!1,this.clearContextTop(),this.renderCursorOrSelection()):this.canvas&&this.canvas.requestRenderAll()}onKeyUp(t){!this.isEditing||this._copyDone||this.inCompositionMode?this._copyDone=!1:t.keyCode in this.ctrlKeysMapUp&&(t.ctrlKey||t.metaKey)&&(this[this.ctrlKeysMapUp[t.keyCode]](t),t.stopImmediatePropagation(),t.preventDefault(),this.canvas&&this.canvas.requestRenderAll())}onInput(t){const e=this.fromPaste;if(this.fromPaste=!1,t&&t.stopPropagation(),!this.isEditing)return;const s=()=>{this.updateFromTextArea(),this.fire(G),this.canvas&&(this.canvas.fire("text:changed",{target:this}),this.canvas.requestRenderAll())};if(""===this.hiddenTextarea.value)return this.styles={},void s();const i=this._splitTextIntoLines(this.hiddenTextarea.value).graphemeText,r=this._text.length,n=i.length,o=this.selectionStart,a=this.selectionEnd,c=o!==a;let l,u,d,g,f=n-r;const p=this.fromStringToGraphemeSelection(this.hiddenTextarea.selectionStart,this.hiddenTextarea.selectionEnd,this.hiddenTextarea.value),v=o>p.selectionStart;c?(u=this._text.slice(o,a),f+=a-o):nl[0]))),c?(d=o,g=a):v?(d=a-u.length,g=a):(d=a,g=a+u.length),this.removeStyleFromTo(d,g)),y.length){const{copyPasteData:t}=m();e&&y.join("")===t.copiedText&&!h.disableStyleCopyPaste&&(l=t.copiedTextStyle),this.insertNewStyleBlock(y,o,l)}s()}onCompositionStart(){this.inCompositionMode=!0}onCompositionEnd(){this.inCompositionMode=!1}onCompositionUpdate(t){let{target:e}=t;const{selectionStart:s,selectionEnd:i}=e;this.compositionStart=s,this.compositionEnd=i,this.updateTextareaPosition()}copy(){if(this.selectionStart===this.selectionEnd)return;const{copyPasteData:t}=m();t.copiedText=this.getSelectedText(),h.disableStyleCopyPaste?t.copiedTextStyle=void 0:t.copiedTextStyle=this.getSelectionStyles(this.selectionStart,this.selectionEnd,!0),this._copyDone=!0}paste(){this.fromPaste=!0}_getWidthBeforeCursor(t,e){let s,i=this._getLineLeftOffset(t);return e>0&&(s=this.__charBounds[t][e-1],i+=s.left+s.width),i}getDownCursorOffset(t,e){const s=this._getSelectionForOffset(t,e),i=this.get2DCursorLocation(s),r=i.lineIndex;if(r===this._textLines.length-1||t.metaKey||34===t.keyCode)return this._text.length-s;const n=i.charIndex,o=this._getWidthBeforeCursor(r,n),a=this._getIndexOnLine(r+1,o);return this._textLines[r].slice(n).length+a+1+this.missingNewlineOffset(r)}_getSelectionForOffset(t,e){return t.shiftKey&&this.selectionStart!==this.selectionEnd&&e?this.selectionEnd:this.selectionStart}getUpCursorOffset(t,e){const s=this._getSelectionForOffset(t,e),i=this.get2DCursorLocation(s),r=i.lineIndex;if(0===r||t.metaKey||33===t.keyCode)return-s;const n=i.charIndex,o=this._getWidthBeforeCursor(r,n),a=this._getIndexOnLine(r-1,o),h=this._textLines[r].slice(0,n),c=this.missingNewlineOffset(r-1);return-this._textLines[r-1].length+a-h.length+(1-c)}_getIndexOnLine(t,e){const s=this._textLines[t];let i,r,n=this._getLineLeftOffset(t),o=0;for(let a=0,h=s.length;ae){r=!0;const t=n-i,s=n,h=Math.abs(t-e);o=Math.abs(s-e)=this._text.length&&this.selectionEnd>=this._text.length||this._moveCursorUpOrDown("Down",t)}moveCursorUp(t){0===this.selectionStart&&0===this.selectionEnd||this._moveCursorUpOrDown("Up",t)}_moveCursorUpOrDown(t,e){const s=this["get".concat(t,"CursorOffset")](e,this._selectionDirection===j);if(e.shiftKey?this.moveCursorWithShift(s):this.moveCursorWithoutShift(s),0!==s){const t=this.text.length;this.selectionStart=fs(0,this.selectionStart,t),this.selectionEnd=fs(0,this.selectionEnd,t),this.abortCursorAnimation(),this.initDelayedCursor(),this._fireSelectionChanged(),this._updateTextarea()}}moveCursorWithShift(t){const e=this._selectionDirection===E?this.selectionStart+t:this.selectionEnd+t;return this.setSelectionStartEndWithShift(this.selectionStart,this.selectionEnd,e),0!==t}moveCursorWithoutShift(t){return t<0?(this.selectionStart+=t,this.selectionEnd=this.selectionStart):(this.selectionEnd+=t,this.selectionStart=this.selectionEnd),0!==t}moveCursorLeft(t){0===this.selectionStart&&0===this.selectionEnd||this._moveCursorLeftOrRight("Left",t)}_move(t,e,s){let i;if(t.altKey)i=this["findWordBoundary".concat(s)](this[e]);else{if(!t.metaKey&&35!==t.keyCode&&36!==t.keyCode)return this[e]+="Left"===s?-1:1,!0;i=this["findLineBoundary".concat(s)](this[e])}return void 0!==i&&this[e]!==i&&(this[e]=i,!0)}_moveLeft(t,e){return this._move(t,e,"Left")}_moveRight(t,e){return this._move(t,e,"Right")}moveCursorLeftWithoutShift(t){let e=!0;return this._selectionDirection=E,this.selectionEnd===this.selectionStart&&0!==this.selectionStart&&(e=this._moveLeft(t,"selectionStart")),this.selectionEnd=this.selectionStart,e}moveCursorLeftWithShift(t){return this._selectionDirection===j&&this.selectionStart!==this.selectionEnd?this._moveLeft(t,"selectionEnd"):0!==this.selectionStart?(this._selectionDirection=E,this._moveLeft(t,"selectionStart")):void 0}moveCursorRight(t){this.selectionStart>=this._text.length&&this.selectionEnd>=this._text.length||this._moveCursorLeftOrRight("Right",t)}_moveCursorLeftOrRight(t,e){const s="moveCursor".concat(t).concat(e.shiftKey?"WithShift":"WithoutShift");this._currentCursorOpacity=1,this[s](e)&&(this.abortCursorAnimation(),this.initDelayedCursor(),this._fireSelectionChanged(),this._updateTextarea())}moveCursorRightWithShift(t){return this._selectionDirection===E&&this.selectionStart!==this.selectionEnd?this._moveRight(t,"selectionStart"):this.selectionEnd!==this._text.length?(this._selectionDirection=j,this._moveRight(t,"selectionEnd")):void 0}moveCursorRightWithoutShift(t){let e=!0;return this._selectionDirection=j,this.selectionStart===this.selectionEnd?(e=this._moveRight(t,"selectionStart"),this.selectionEnd=this.selectionStart):this.selectionStart=this.selectionEnd,e}}const Do=t=>!!t.button;class ko extends Oo{constructor(){super(...arguments),s(this,"draggableTextDelegate",void 0)}initBehavior(){this.on("mousedown",this._mouseDownHandler),this.on("mousedown:before",this._mouseDownHandlerBefore),this.on("mouseup",this.mouseUpHandler),this.on("mousedblclick",this.doubleClickHandler),this.on("tripleclick",this.tripleClickHandler),this.__lastClickTime=+new Date,this.__lastLastClickTime=+new Date,this.__lastPointer={},this.on("mousedown",this.onMouseDown),this.draggableTextDelegate=new So(this),super.initBehavior()}shouldStartDragging(){return this.draggableTextDelegate.isActive()}onDragStart(t){return this.draggableTextDelegate.onDragStart(t)}canDrop(t){return this.draggableTextDelegate.canDrop(t)}onMouseDown(t){if(!this.canvas)return;this.__newClickTime=+new Date;const e=t.pointer;this.isTripleClick(e)&&(this.fire("tripleclick",t),me(t.e)),this.__lastLastClickTime=this.__lastClickTime,this.__lastClickTime=this.__newClickTime,this.__lastPointer=e,this.__lastSelected=this.selected&&!this.getActiveControl()}isTripleClick(t){return this.__newClickTime-this.__lastClickTime<500&&this.__lastClickTime-this.__lastLastClickTime<500&&this.__lastPointer.x===t.x&&this.__lastPointer.y===t.y}doubleClickHandler(t){this.isEditing&&this.selectWord(this.getSelectionStartFromPointer(t.e))}tripleClickHandler(t){this.isEditing&&this.selectLine(this.getSelectionStartFromPointer(t.e))}_mouseDownHandler(t){let{e:e}=t;this.canvas&&this.editable&&!Do(e)&&!this.getActiveControl()&&(this.draggableTextDelegate.start(e)||(this.canvas.textEditingManager.register(this),this.selected&&(this.inCompositionMode=!1,this.setCursorByClick(e)),this.isEditing&&(this.__selectionStartOnMouseDown=this.selectionStart,this.selectionStart===this.selectionEnd&&this.abortCursorAnimation(),this.renderCursorOrSelection())))}_mouseDownHandlerBefore(t){let{e:e}=t;this.canvas&&this.editable&&!Do(e)&&(this.selected=this===this.canvas._activeObject)}mouseUpHandler(t){let{e:e,transform:s}=t;const i=this.draggableTextDelegate.end(e);if(this.canvas){this.canvas.textEditingManager.unregister(this);const t=this.canvas._activeObject;if(t&&t!==this)return}!this.editable||this.group&&!this.group.interactive||s&&s.actionPerformed||Do(e)||i||(this.__lastSelected&&!this.getActiveControl()?(this.selected=!1,this.__lastSelected=!1,this.enterEditing(e),this.selectionStart===this.selectionEnd?this.initDelayedCursor(!0):this.renderCursorOrSelection()):this.selected=!0)}setCursorByClick(t){const e=this.getSelectionStartFromPointer(t),s=this.selectionStart,i=this.selectionEnd;t.shiftKey?this.setSelectionStartEndWithShift(s,i,e):(this.selectionStart=e,this.selectionEnd=e),this.isEditing&&(this._fireSelectionChanged(),this._updateTextarea())}getSelectionStartFromPointer(t){const e=this.canvas.getScenePoint(t).transform(St(this.calcTransformMatrix())).add(new at(-this._getLeftOffset(),-this._getTopOffset()));let s=0,i=0,r=0;for(let h=0;h0&&(i+=this._textLines[h-1].length+this.missingNewlineOffset(h-1));let n=Math.abs(this._getLineLeftOffset(r));const o=this._textLines[r].length,a=this.__charBounds[r];for(let h=0;h0&&void 0!==arguments[0]?arguments[0]:this.selectionStart||0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selectionEnd,s=arguments.length>2?arguments[2]:void 0;return super.getSelectionStyles(t,e,s)}setSelectionStyles(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selectionStart||0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.selectionEnd;return super.setSelectionStyles(t,e,s)}get2DCursorLocation(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.selectionStart,e=arguments.length>1?arguments[1]:void 0;return super.get2DCursorLocation(t,e)}render(t){super.render(t),this.cursorOffsetCache={},this.renderCursorOrSelection()}toCanvasElement(t){const e=this.isEditing;this.isEditing=!1;const s=super.toCanvasElement(t);return this.isEditing=e,s}renderCursorOrSelection(){if(!this.isEditing)return;const t=this.clearContextTop(!0);if(!t)return;const e=this._getCursorBoundaries();this.selectionStart===this.selectionEnd?this.renderCursor(t,e):this.renderSelection(t,e),this.canvas.contextTopDirty=!0,t.restore()}_getCursorBoundaries(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.selectionStart,e=arguments.length>1?arguments[1]:void 0;const s=this._getLeftOffset(),i=this._getTopOffset(),r=this._getCursorBoundariesOffsets(t,e);return{left:s,top:i,leftOffset:r.left,topOffset:r.top}}_getCursorBoundariesOffsets(t,e){return e?this.__getCursorBoundariesOffsets(t):this.cursorOffsetCache&&"top"in this.cursorOffsetCache?this.cursorOffsetCache:this.cursorOffsetCache=this.__getCursorBoundariesOffsets(t)}__getCursorBoundariesOffsets(t){let e=0,s=0;const{charIndex:i,lineIndex:r}=this.get2DCursorLocation(t);for(let h=0;h0?s:0)};return"rtl"===this.direction&&(this.textAlign===j||this.textAlign===uo||this.textAlign===fo?a.left*=-1:this.textAlign===E||this.textAlign===go?a.left=n-(s>0?s:0):this.textAlign!==M&&this.textAlign!==po||(a.left=n-(s>0?s:0))),a}renderCursorAt(t){const e=this._getCursorBoundaries(t,!0);this._renderCursor(this.canvas.contextTop,e,t)}renderCursor(t,e){this._renderCursor(t,e,this.selectionStart)}_renderCursor(t,e,s){const i=this.get2DCursorLocation(s),r=i.lineIndex,n=i.charIndex>0?i.charIndex-1:0,o=this.getValueOfPropertyAt(r,n,"fontSize"),a=this.getObjectScaling().x*this.canvas.getZoom(),h=this.cursorWidth/a,c=this.getValueOfPropertyAt(r,n,"deltaY"),l=e.topOffset+(1-this._fontSizeFraction)*this.getHeightOfLine(r)/this.lineHeight-o*(1-this._fontSizeFraction);this.inCompositionMode&&this.renderSelection(t,e),t.fillStyle=this.cursorColor||this.getValueOfPropertyAt(r,n,J),t.globalAlpha=this._currentCursorOpacity,t.fillRect(e.left+e.leftOffset-h/2,l+e.top+c,h,o)}renderSelection(t,e){const s={selectionStart:this.inCompositionMode?this.hiddenTextarea.selectionStart:this.selectionStart,selectionEnd:this.inCompositionMode?this.hiddenTextarea.selectionEnd:this.selectionEnd};this._renderSelection(t,s,e)}renderDragSourceEffect(){const t=this.draggableTextDelegate.getDragStartSelection();this._renderSelection(this.canvas.contextTop,t,this._getCursorBoundaries(t.selectionStart,!0))}renderDropTargetEffect(t){const e=this.getSelectionStartFromPointer(t);this.renderCursorAt(e)}_renderSelection(t,e,s){const i=e.selectionStart,r=e.selectionEnd,n=this.textAlign.includes(uo),o=this.get2DCursorLocation(i),a=this.get2DCursorLocation(r),h=o.lineIndex,c=a.lineIndex,l=o.charIndex<0?0:o.charIndex,u=a.charIndex<0?0:a.charIndex;for(let d=h;d<=c;d++){const e=this._getLineLeftOffset(d)||0;let i=this.getHeightOfLine(d),r=0,o=0,a=0;if(d===h&&(o=this.__charBounds[h][l].left),d>=h&&d1)&&(i/=this.lineHeight);let g=s.left+e+o,f=i,p=0;const m=a-o;this.inCompositionMode?(t.fillStyle=this.compositionColor||"black",f=1,p=i):t.fillStyle=this.selectionColor,"rtl"===this.direction&&(this.textAlign===j||this.textAlign===uo||this.textAlign===fo?g=this.width-g-m:this.textAlign===E||this.textAlign===go?g=s.left+e-a:this.textAlign!==M&&this.textAlign!==po||(g=s.left+e-a)),t.fillRect(g,s.top+s.topOffset+p,m,f),s.topOffset+=r}}getCurrentCharFontSize(){const t=this._getCurrentCharIndex();return this.getValueOfPropertyAt(t.l,t.c,"fontSize")}getCurrentCharColor(){const t=this._getCurrentCharIndex();return this.getValueOfPropertyAt(t.l,t.c,J)}_getCurrentCharIndex(){const t=this.get2DCursorLocation(this.selectionStart,!0),e=t.charIndex>0?t.charIndex-1:0;return{l:t.lineIndex,c:e}}dispose(){this._exitEditing(),this.draggableTextDelegate.dispose(),super.dispose()}}s(Lo,"ownDefaults",Fo),s(Lo,"type","IText"),et.setClass(Lo),et.setClass(Lo,"i-text");class Ro extends Lo{static getDefaults(){return r(r({},super.getDefaults()),Ro.ownDefaults)}constructor(t,e){super(t,r(r({},Ro.ownDefaults),e))}static createControls(){return{controls:vi()}}initDimensions(){this.initialized&&(this.isEditing&&this.initDelayedCursor(),this._clearCache(),this.dynamicMinWidth=0,this._styleMap=this._generateStyleMap(this._splitText()),this.dynamicMinWidth>this.width&&this._set("width",this.dynamicMinWidth),this.textAlign.includes(uo)&&this.enlargeSpaces(),this.height=this.calcTextHeight())}_generateStyleMap(t){let e=0,s=0,i=0;const r={};for(let n=0;n0?(s=0,i++,e++):!this.splitByGrapheme&&this._reSpaceAndTab.test(t.graphemeText[i])&&n>0&&(s++,i++),r[n]={line:e,offset:s},i+=t.graphemeLines[n].length,s+=t.graphemeLines[n].length;return r}styleHas(t,e){if(this._styleMap&&!this.isWrapping){const t=this._styleMap[e];t&&(e=t.line)}return super.styleHas(t,e)}isEmptyStyles(t){if(!this.styles)return!0;let e,s=0,i=t+1,r=!1;const n=this._styleMap[t],o=this._styleMap[t+1];n&&(t=n.line,s=n.offset),o&&(i=o.line,r=i===t,e=o.offset);const a=void 0===t?this.styles:{line:this.styles[t]};for(const h in a)for(const t in a[h]){const i=parseInt(t,10);if(i>=s&&(!r||i{let n=0;const o=e?this.graphemeSplit(t):this.wordSplit(t);return 0===o.length?[{word:[],width:0}]:o.map((t=>{const o=e?[t]:this.graphemeSplit(t),a=this._measureWord(o,r,n);return i=Math.max(a,i),n+=o.length+s.length,{word:o,width:a}}))})),largestWordWidth:i}}_measureWord(t,e){let s,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=0;for(let n=0,o=t.length;n3&&void 0!==arguments[3]?arguments[3]:0;const o=this._getWidthOfCharSpacing(),a=this.splitByGrapheme,h=[],c=a?"":" ";let l=0,u=[],d=0,g=0,f=!0;e-=n;const p=Math.max(e,i,this.dynamicMinWidth),m=r[t];let v;for(d=0,v=0;vp&&!f?(h.push(u),u=[],l=s,f=!0):l+=o,f||a||u.push(c),u=u.concat(e),g=a?0:this._measureWord([c],t,d),d++,f=!1}return v&&h.push(u),i+n>this.dynamicMinWidth&&(this.dynamicMinWidth=i-o+n),h}isEndOfWrapping(t){return!this._styleMap[t+1]||this._styleMap[t+1].line!==this._styleMap[t].line}missingNewlineOffset(t,e){return this.splitByGrapheme&&!e?this.isEndOfWrapping(t)?1:0:1}_splitTextIntoLines(t){const e=super._splitTextIntoLines(t),s=this._wrapText(e.lines,this.width),i=new Array(s.length);for(let r=0;r0&&void 0!==arguments[0]?arguments[0]:[];return super.toObject(["minWidth","splitByGrapheme",...t])}}s(Ro,"type","Textbox"),s(Ro,"textLayoutProperties",[...Lo.textLayoutProperties,"width"]),s(Ro,"ownDefaults",{minWidth:20,dynamicMinWidth:2,lockScalingFlip:!0,noScaleCache:!1,_wordJoiners:/[ \t\r]/,splitByGrapheme:!1}),et.setClass(Ro);class Io extends xr{shouldPerformLayout(t){return!!t.target.clipPath&&super.shouldPerformLayout(t)}shouldLayoutClipPath(){return!1}calcLayoutResult(t,e){const{target:s}=t,{clipPath:i,group:r}=s;if(!i||!this.shouldPerformLayout(t))return;const{width:n,height:o}=ve(_r(s,i)),a=new at(n,o);if(i.absolutePositioned)return{center:Te(i.getRelativeCenterPoint(),void 0,r?r.calcTransformMatrix():void 0),size:a};{const r=i.getRelativeCenterPoint().transform(s.calcOwnMatrix(),!0);if(this.shouldPerformLayout(t)){const{center:s=new at,correction:i=new at}=this.calcBoundingBox(e,t)||{};return{center:s.add(r),correction:i.subtract(r),size:a}}return{center:s.getRelativeCenterPoint().add(r),size:a}}}}s(Io,"type","clip-path"),et.setClass(Io);class Bo extends xr{getInitialSize(t,e){let{target:s}=t,{size:i}=e;return new at(s.width||i.x,s.height||i.y)}}s(Bo,"type","fixed"),et.setClass(Bo);class Xo extends Tr{subscribeTargets(t){const e=t.target;t.targets.reduce(((t,e)=>(e.parent&&t.add(e.parent),t)),new Set).forEach((t=>{t.layoutManager.subscribeTargets({target:t,targets:[e]})}))}unsubscribeTargets(t){const e=t.target,s=e.getObjects();t.targets.reduce(((t,e)=>(e.parent&&t.add(e.parent),t)),new Set).forEach((t=>{!s.some((e=>e.parent===t))&&t.layoutManager.unsubscribeTargets({target:t,targets:[e]})}))}}class Yo extends kr{static getDefaults(){return r(r({},super.getDefaults()),Yo.ownDefaults)}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),Object.assign(this,Yo.ownDefaults),this.setOptions(e);const{left:s,top:i,layoutManager:r}=e;this.groupInit(t,{left:s,top:i,layoutManager:null!=r?r:new Xo})}_shouldSetNestedCoords(){return!0}__objectSelectionMonitor(){}multiSelectAdd(){for(var t=arguments.length,e=new Array(t),s=0;s{const e=this._objects.findIndex((e=>e.isInFrontOf(t))),s=-1===e?this.size():e;this.insertAt(s,t)}))}canEnterGroup(t){return this.getObjects().some((e=>e.isDescendantOf(t)||t.isDescendantOf(e)))?(c("error","ActiveSelection: circular object trees are not supported, this call has no effect"),!1):super.canEnterGroup(t)}enterGroup(t,e){t.parent&&t.parent===t.group?t.parent._exitGroup(t):t.group&&t.parent!==t.group&&t.group.remove(t),this._enterGroup(t,e)}exitGroup(t,e){this._exitGroup(t,e),t.parent&&t.parent._enterGroup(t,!0)}_onAfterObjectsChange(t,e){super._onAfterObjectsChange(t,e);const s=new Set;e.forEach((t=>{const{parent:e}=t;e&&s.add(e)})),t===vr?s.forEach((t=>{t._onAfterObjectsChange(mr,e)})):s.forEach((t=>{t._set("dirty",!0)}))}onDeselect(){return this.removeAll(),!1}toString(){return"#")}shouldCache(){return!1}isOnACache(){return!1}_renderControls(t,e,s){t.save(),t.globalAlpha=this.isMoving?this.borderOpacityWhenMoving:1;const i=r(r({hasControls:!1},s),{},{forActiveSelection:!0});for(let r=0;r{t.applyTo(o)}));const{imageData:a}=o;return a.width===s&&a.height===i||(r.width=a.width,r.height=a.height),n.putImageData(a,0,0),o}}class Vo{constructor(){let{tileSize:t=h.textureSize}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,"aPosition",new Float32Array([0,0,0,1,1,0,1,1])),s(this,"resources",{}),this.tileSize=t,this.setupGLContext(t,t),this.captureGPUInfo()}setupGLContext(t,e){this.dispose(),this.createWebGLCanvas(t,e)}createWebGLCanvas(t,e){const s=mt();s.width=t,s.height=e;const i=s.getContext("webgl",{alpha:!0,premultipliedAlpha:!1,depth:!1,stencil:!1,antialias:!1});i&&(i.clearColor(0,0,0,0),this.canvas=s,this.gl=i)}applyFilters(t,e,s,i,r,n){const o=this.gl,a=r.getContext("2d");if(!o||!a)return;let h;n&&(h=this.getCachedTexture(n,e));const c={originalWidth:e.width||e.originalWidth||0,originalHeight:e.height||e.originalHeight||0,sourceWidth:s,sourceHeight:i,destinationWidth:s,destinationHeight:i,context:o,sourceTexture:this.createTexture(o,s,i,h?void 0:e),targetTexture:this.createTexture(o,s,i),originalTexture:h||this.createTexture(o,s,i,h?void 0:e),passes:t.length,webgl:!0,aPosition:this.aPosition,programCache:this.programCache,pass:0,filterBackend:this,targetCanvas:r},l=o.createFramebuffer();return o.bindFramebuffer(o.FRAMEBUFFER,l),t.forEach((t=>{t&&t.applyTo(c)})),function(t){const e=t.targetCanvas,s=e.width,i=e.height,r=t.destinationWidth,n=t.destinationHeight;s===r&&i===n||(e.width=r,e.height=n)}(c),this.copyGLTo2D(o,c),o.bindTexture(o.TEXTURE_2D,null),o.deleteTexture(c.sourceTexture),o.deleteTexture(c.targetTexture),o.deleteFramebuffer(l),a.setTransform(1,0,0,1,0,0),c}dispose(){this.canvas&&(this.canvas=null,this.gl=null),this.clearWebGLCaches()}clearWebGLCaches(){this.programCache={},this.textureCache={}}createTexture(t,e,s,i,r){const{NEAREST:n,TEXTURE_2D:o,RGBA:a,UNSIGNED_BYTE:h,CLAMP_TO_EDGE:c,TEXTURE_MAG_FILTER:l,TEXTURE_MIN_FILTER:u,TEXTURE_WRAP_S:d,TEXTURE_WRAP_T:g}=t,f=t.createTexture();return t.bindTexture(o,f),t.texParameteri(o,l,r||n),t.texParameteri(o,u,r||n),t.texParameteri(o,d,c),t.texParameteri(o,g,c),i?t.texImage2D(o,0,a,a,h,i):t.texImage2D(o,0,a,e,s,0,a,h,null),f}getCachedTexture(t,e,s){const{textureCache:i}=this;if(i[t])return i[t];{const r=this.createTexture(this.gl,e.width,e.height,e,s);return r&&(i[t]=r),r}}evictCachesForKey(t){this.textureCache[t]&&(this.gl.deleteTexture(this.textureCache[t]),delete this.textureCache[t])}copyGLTo2D(t,e){const s=t.canvas,i=e.targetCanvas,r=i.getContext("2d");if(!r)return;r.translate(0,i.height),r.scale(1,-1);const n=s.height-i.height;r.drawImage(s,0,n,i.width,i.height,0,0,i.width,i.height)}copyGLTo2DPutImageData(t,e){const s=e.targetCanvas.getContext("2d"),i=e.destinationWidth,r=e.destinationHeight,n=i*r*4;if(!s)return;const o=new Uint8Array(this.imageBuffer,0,n),a=new Uint8ClampedArray(this.imageBuffer,0,n);t.readPixels(0,0,i,r,t.RGBA,t.UNSIGNED_BYTE,o);const h=new ImageData(a,i,r);s.putImageData(h,0,0)}captureGPUInfo(){if(this.gpuInfo)return this.gpuInfo;const t=this.gl,e={renderer:"",vendor:""};if(!t)return e;const s=t.getExtension("WEBGL_debug_renderer_info");if(s){const i=t.getParameter(s.UNMASKED_RENDERER_WEBGL),r=t.getParameter(s.UNMASKED_VENDOR_WEBGL);i&&(e.renderer=i.toLowerCase()),r&&(e.vendor=r.toLowerCase())}return this.gpuInfo=e,e}}let Ho;function Go(){return!Ho&&(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(Ho=function(){const{WebGLProbe:t}=m();return t.queryWebGL(mt()),h.enableGLFiltering&&t.isSupported(h.textureSize)?new Vo({tileSize:h.textureSize}):new Wo}()),Ho}const zo=["filters","resizeFilter","src","crossOrigin","type"],No=["cropX","cropY"];class Uo extends xi{static getDefaults(){return r(r({},super.getDefaults()),Uo.ownDefaults)}constructor(t,e){super(),s(this,"_lastScaleX",1),s(this,"_lastScaleY",1),s(this,"_filterScalingX",1),s(this,"_filterScalingY",1),this.filters=[],Object.assign(this,Uo.ownDefaults),this.setOptions(e),this.cacheKey="texture".concat(pt()),this.setElement("string"==typeof t?(this.canvas&&ne(this.canvas.getElement())||v()).getElementById(t):t,e)}getElement(){return this._element}setElement(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.removeTexture(this.cacheKey),this.removeTexture("".concat(this.cacheKey,"_filtered")),this._element=t,this._originalElement=t,this._setWidthHeight(e),t.classList.add(Uo.CSS_CANVAS),0!==this.filters.length&&this.applyFilters(),this.resizeFilter&&this.applyResizeFilters()}removeTexture(t){const e=Go(!1);e instanceof Vo&&e.evictCachesForKey(t)}dispose(){super.dispose(),this.removeTexture(this.cacheKey),this.removeTexture("".concat(this.cacheKey,"_filtered")),this._cacheContext=null,["_originalElement","_element","_filteredEl","_cacheCanvas"].forEach((t=>{const e=this[t];e&&m().dispose(e),this[t]=void 0}))}getCrossOrigin(){return this._originalElement&&(this._originalElement.crossOrigin||null)}getOriginalSize(){const t=this.getElement();return t?{width:t.naturalWidth||t.width,height:t.naturalHeight||t.height}:{width:0,height:0}}_stroke(t){if(!this.stroke||0===this.strokeWidth)return;const e=this.width/2,s=this.height/2;t.beginPath(),t.moveTo(-e,-s),t.lineTo(e,-s),t.lineTo(e,s),t.lineTo(-e,s),t.lineTo(-e,-s),t.closePath()}toObject(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const e=[];return this.filters.forEach((t=>{t&&e.push(t.toObject())})),r(r({},super.toObject([...No,...t])),{},{src:this.getSrc(),crossOrigin:this.getCrossOrigin(),filters:e},this.resizeFilter?{resizeFilter:this.resizeFilter.toObject()}:{})}hasCrop(){return!!this.cropX||!!this.cropY||this.width\n','\t\n',"\n"),o=' clip-path="url(#imageCrop_'+t+')" '}if(this.imageSmoothing||(a=' image-rendering="optimizeSpeed"'),t.push("\t\n")),this.stroke||this.strokeDashArray){const t=this.fill;this.fill=null,n=['\t\n')],this.fill=t}return r=this.paintFirst!==J?r.concat(n,t):r.concat(t,n),r}getSrc(t){const e=t?this._element:this._originalElement;return e?e.toDataURL?e.toDataURL():this.srcFromAttribute?e.getAttribute("src")||"":e.src:this.src||""}getSvgSrc(t){return this.getSrc(t)}setSrc(t){let{crossOrigin:e,signal:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Rt(t,{crossOrigin:e,signal:s}).then((t=>{void 0!==e&&this.set({crossOrigin:e}),this.setElement(t)}))}toString(){return'#')}applyResizeFilters(){const t=this.resizeFilter,e=this.minimumScaleTrigger,s=this.getTotalObjectScaling(),i=s.x,r=s.y,n=this._filteredEl||this._originalElement;if(this.group&&this.set("dirty",!0),!t||i>e&&r>e)return this._element=n,this._filterScalingX=1,this._filterScalingY=1,this._lastScaleX=i,void(this._lastScaleY=r);const o=mt(),a=n.width,h=n.height;o.width=a,o.height=h,this._element=o,this._lastScaleX=t.scaleX=i,this._lastScaleY=t.scaleY=r,Go().applyFilters([t],n,a,h,this._element),this._filterScalingX=o.width/this._originalElement.width,this._filterScalingY=o.height/this._originalElement.height}applyFilters(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.filters||[];if(t=t.filter((t=>t&&!t.isNeutralState())),this.set("dirty",!0),this.removeTexture("".concat(this.cacheKey,"_filtered")),0===t.length)return this._element=this._originalElement,this._filteredEl=void 0,this._filterScalingX=1,void(this._filterScalingY=1);const e=this._originalElement,s=e.naturalWidth||e.width,i=e.naturalHeight||e.height;if(this._element===this._originalElement){const t=mt();t.width=s,t.height=i,this._element=t,this._filteredEl=t}else this._filteredEl&&(this._element=this._filteredEl,this._filteredEl.getContext("2d").clearRect(0,0,s,i),this._lastScaleX=1,this._lastScaleY=1);Go().applyFilters(t,this._originalElement,s,i,this._element),this._originalElement.width===this._element.width&&this._originalElement.height===this._element.height||(this._filterScalingX=this._element.width/this._originalElement.width,this._filterScalingY=this._element.height/this._originalElement.height)}_render(t){t.imageSmoothingEnabled=this.imageSmoothing,!0!==this.isMoving&&this.resizeFilter&&this._needsResize()&&this.applyResizeFilters(),this._stroke(t),this._renderPaintInOrder(t)}drawCacheOnCanvas(t){t.imageSmoothingEnabled=this.imageSmoothing,super.drawCacheOnCanvas(t)}shouldCache(){return this.needsItsOwnCache()}_renderFill(t){const e=this._element;if(!e)return;const s=this._filterScalingX,i=this._filterScalingY,r=this.width,n=this.height,o=Math.max(this.cropX,0),a=Math.max(this.cropY,0),h=e.naturalWidth||e.width,c=e.naturalHeight||e.height,l=o*s,u=a*i,d=Math.min(r*s,h-l),g=Math.min(n*i,c-u),f=-r/2,p=-n/2,m=Math.min(r,h/s-o),v=Math.min(n,c/i-a);e&&t.drawImage(e,l,u,d,g,f,p,m,v)}_needsResize(){const t=this.getTotalObjectScaling();return t.x!==this._lastScaleX||t.y!==this._lastScaleY}_resetWidthHeight(){this.set(this.getOriginalSize())}_setWidthHeight(){let{width:t,height:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const s=this.getOriginalSize();this.width=t||s.width,this.height=e||s.height}parsePreserveAspectRatioAttribute(){const t=Jt(this.preserveAspectRatio||""),e=this.width,s=this.height,i={width:e,height:s};let r,n=this._element.width,o=this._element.height,a=1,h=1,c=0,l=0,u=0,d=0;return!t||t.alignX===F&&t.alignY===F?(a=e/n,h=s/o):("meet"===t.meetOrSlice&&(a=h=Mr(this._element,i),r=(e-n*a)/2,"Min"===t.alignX&&(c=-r),"Max"===t.alignX&&(c=r),r=(s-o*h)/2,"Min"===t.alignY&&(l=-r),"Max"===t.alignY&&(l=r)),"slice"===t.meetOrSlice&&(a=h=Er(this._element,i),r=n-e/a,"Mid"===t.alignX&&(u=r/2),"Max"===t.alignX&&(u=r),r=o-s/h,"Mid"===t.alignY&&(d=r/2),"Max"===t.alignY&&(d=r),n=e/a,o=s/h)),{width:n,height:o,scaleX:a,scaleY:h,offsetLeft:c,offsetTop:l,cropX:u,cropY:d}}static fromObject(t,e){let{filters:s,resizeFilter:i,src:o,crossOrigin:a,type:h}=t,c=n(t,zo);return Promise.all([Rt(o,r(r({},e),{},{crossOrigin:a})),s&&It(s,e),i&&It([i],e),Bt(c,e)]).then((t=>{let[e,s=[],[i]=[],n={}]=t;return new this(e,r(r({},c),{},{src:o,filters:s,resizeFilter:i},n))}))}static fromURL(t){let{crossOrigin:e=null,signal:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return Rt(t,{crossOrigin:e,signal:s}).then((t=>new this(t,i)))}static fromElement(t){return e(this,arguments,(function*(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;const i=ur(t,this.ATTRIBUTE_NAMES,s);return this.fromURL(i["xlink:href"],e,i).catch((t=>(c("log","Unable to parse Image",t),null)))}))}}function qo(t){if(!Je.test(t.nodeName))return{};const e=t.getAttribute("viewBox");let s,i,r=1,n=1,o=0,a=0;const h=t.getAttribute("width"),c=t.getAttribute("height"),l=t.getAttribute("x")||0,u=t.getAttribute("y")||0,d=!(e&&Ze.test(e)),g=!h||!c||"100%"===h||"100%"===c;let f="",p=0,m=0;if(d&&(l||u)&&t.parentNode&&"#document"!==t.parentNode.nodeName&&(f=" translate("+Kt(l||"0")+" "+Kt(u||"0")+") ",s=(t.getAttribute("transform")||"")+f,t.setAttribute("transform",s),t.removeAttribute("x"),t.removeAttribute("y")),d&&g)return{width:0,height:0};const v={width:0,height:0};if(d)return v.width=Kt(h),v.height=Kt(c),v;const y=e.match(Ze);o=-parseFloat(y[1]),a=-parseFloat(y[2]);const _=parseFloat(y[3]),x=parseFloat(y[4]);v.minX=o,v.minY=a,v.viewBoxWidth=_,v.viewBoxHeight=x,g?(v.width=_,v.height=x):(v.width=Kt(h),v.height=Kt(c),r=v.width/_,n=v.height/x);const C=Jt(t.getAttribute("preserveAspectRatio")||"");if(C.alignX!==F&&("meet"===C.meetOrSlice&&(n=r=r>n?n:r),"slice"===C.meetOrSlice&&(n=r=r>n?r:n),p=v.width-_*r,m=v.height-x*r,"Mid"===C.alignX&&(p/=2),"Mid"===C.alignY&&(m/=2),"Min"===C.alignX&&(p=0),"Min"===C.alignY&&(m=0)),1===r&&1===n&&0===o&&0===a&&0===l&&0===u)return v;if((l||u)&&"#document"!==t.parentNode.nodeName&&(f=" translate("+Kt(l||"0")+" "+Kt(u||"0")+") "),s=f+" matrix("+r+" 0 0 "+n+" "+(o*r+p)+" "+(a*n+m)+") ","svg"===t.nodeName){for(i=t.ownerDocument.createElementNS(Ge,"g");t.firstChild;)i.appendChild(t.firstChild);t.appendChild(i)}else i=t,i.removeAttribute("x"),i.removeAttribute("y"),s=i.getAttribute("transform")+s;return i.setAttribute("transform",s),v}s(Uo,"type","Image"),s(Uo,"cacheProperties",[...ms,...No]),s(Uo,"ownDefaults",{strokeWidth:0,srcFromAttribute:!1,minimumScaleTrigger:.5,cropX:0,cropY:0,imageSmoothing:!0}),s(Uo,"CSS_CANVAS","canvas-img"),s(Uo,"ATTRIBUTE_NAMES",[...Li,"x","y","width","height","preserveAspectRatio","xlink:href","crossOrigin","image-rendering"]),et.setClass(Uo),et.setSVGClass(Uo);const Ko=t=>t.tagName.replace("svg:",""),Jo=Ye(["pattern","defs","symbol","metadata","clipPath","mask","desc"]);function Qo(t,e){let s,i,r,n,o=[];for(r=0,n=e.length;r{const s=r.getAttribute(t);!e.hasAttribute(t)&&s&&e.setAttribute(t,s)})),!e.children.length)){const t=r.cloneNode(!0);for(;t.firstChild;)e.appendChild(t.firstChild)}e.removeAttribute($o)}const ea=["linearGradient","radialGradient","svg:linearGradient","svg:radialGradient"];const sa=t=>et.getSVGClass(Ko(t).toLowerCase());class ia{constructor(t,e,s,i,n){this.elements=t,this.options=e,this.reviver=s,this.regexUrl=/^url\(['"]?#([^'"]+)['"]?\)/g,this.doc=i,this.clipPaths=n,this.gradientDefs=function(t){const e=Qo(t,ea),s={};let i=e.length;for(;i--;){const r=e[i];r.getAttribute("xlink:href")&&ta(t,r);const n=r.getAttribute("id");n&&(s[n]=r)}return s}(i),this.cssRules=function(t){const e=t.getElementsByTagName("style");let s,i;const n={};for(s=0,i=e.length;ss.length>1&&t.trim())).forEach((t=>{if((t.match(/{/g)||[]).length>1&&t.trim().startsWith("@"))return;const e=t.split("{"),o={},a=e[1].trim().split(";").filter((function(t){return t.trim()}));for(s=0,i=a.length;s{""!==(t=t.replace(/^svg/i,"").trim())&&(n[t]=r(r({},n[t]||{}),o))}))}))}return n}(i)}parse(){return Promise.all(this.elements.map((t=>this.createObject(t))))}createObject(t){return e(this,null,(function*(){const e=sa(t);if(e){const s=yield e.fromElement(t,this.options,this.cssRules);return this.resolveGradient(s,t,J),this.resolveGradient(s,t,Q),s instanceof Uo&&s._originalElement?gn(s,s.parsePreserveAspectRatioAttribute()):gn(s),yield this.resolveClipPath(s,t),this.reviver&&this.reviver(t,s),s}return null}))}extractPropertyDefinition(t,e,s){const i=t[e],r=this.regexUrl;if(!r.test(i))return;r.lastIndex=0;const n=r.exec(i)[1];return r.lastIndex=0,s[n]}resolveGradient(t,e,s){const i=this.extractPropertyDefinition(t,s,this.gradientDefs);if(i){const n=e.getAttribute(s+"-opacity"),o=Xn.fromElement(i,t,r(r({},this.options),{},{opacity:n}));t.set(s,o)}}resolveClipPath(t,s){return e(this,null,(function*(){const e=this.extractPropertyDefinition(t,"clipPath",this.clipPaths);if(e){const i=St(t.calcTransformMatrix()),r=e[0].parentElement;let n=s;for(;n.parentElement&&n.getAttribute("clip-path")!==t.clipPath;)n=n.parentElement;n.parentElement.appendChild(r);const o=ar("".concat(n.getAttribute("transform")||""," ").concat(r.getAttribute("originalTransform")||""));r.setAttribute("transform","matrix(".concat(o.join(","),")"));const a=yield Promise.all(e.map((t=>sa(t).fromElement(t,this.options,this.cssRules).then((t=>(gn(t),t.fillRule=t.clipRule,delete t.clipRule,t)))))),h=1===a.length?a[0]:new kr(a),c=wt(i,h.calcTransformMatrix());h.clipPath&&(yield this.resolveClipPath(h,n));const{scaleX:l,scaleY:u,angle:d,skewX:g,translateX:f,translateY:p}=Dt(c);h.set({flipX:!1,flipY:!1}),h.set({scaleX:l,scaleY:u,angle:d,skewX:g,skewY:0}),h.setPositionByOrigin(new at(f,p),M,M),t.clipPath=h}else delete t.clipPath}))}}const ra=t=>Ke.test(Ko(t)),na=()=>({objects:[],elements:[],options:{},allElements:[]});function oa(t,s,i){return function(t,s){return e(this,arguments,(function*(t,e){let{crossOrigin:s,signal:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i&&i.aborted)return c("log",new u("parseSVGDocument")),na();const n=t.documentElement;!function(t){const e=Qo(t,["use","svg:use"]),s=["x","y","xlink:href","href","transform"];for(const i of e){const e=i.attributes,r={};for(const t of e)t.value&&(r[t.name]=t.value);const n=(r["xlink:href"]||r.href||"").slice(1);if(""===n)return;const o=t.getElementById(n);if(null===o)return;let a=o.cloneNode(!0);const h=a.attributes,c={};for(const t of h)t.value&&(c[t.name]=t.value);const{x:l=0,y:u=0,transform:d=""}=r,g="".concat(d," ").concat(c.transform||""," translate(").concat(l,", ").concat(u,")");if(qo(a),/^svg$/i.test(a.nodeName)){const t=a.ownerDocument.createElementNS(Ge,"g");Object.entries(c).forEach((e=>{let[s,i]=e;return t.setAttributeNS(Ge,s,i)})),t.append(...a.childNodes),a=t}for(const t of e){if(!t)continue;const{name:e,value:i}=t;if(!s.includes(e))if("style"===e){const t={};cr(i,t),Object.entries(c).forEach((e=>{let[s,i]=e;t[s]=i})),cr(c.style||"",t);const s=Object.entries(t).map((t=>t.join(":"))).join(";");a.setAttribute(e,s)}else!c[e]&&a.setAttribute(e,i)}a.setAttribute("transform",g),a.setAttribute("instantiated_by_use","1"),a.removeAttribute("id"),i.parentNode.replaceChild(a,i)}}(t);const o=Array.from(n.getElementsByTagName("*")),a=r(r({},qo(n)),{},{crossOrigin:s,signal:i}),h=o.filter((t=>(qo(t),ra(t)&&!function(t){let e=t;for(;e&&(e=e.parentElement);)if(e&&e.nodeName&&Jo.test(Ko(e))&&!e.getAttribute("instantiated_by_use"))return!0;return!1}(t))));if(!h||h&&!h.length)return r(r({},na()),{},{options:a,allElements:o});const l={};o.filter((t=>"clipPath"===Ko(t))).forEach((t=>{t.setAttribute("originalTransform",t.getAttribute("transform")||"");const e=t.getAttribute("id");l[e]=Array.from(t.getElementsByTagName("*")).filter((t=>ra(t)))}));const d=new ia(h,a,e,t,l);return{objects:yield d.parse(),elements:h,options:a,allElements:o}}))}((new(y().DOMParser)).parseFromString(t.trim(),"text/xml"),s,i)}const aa=V,ha=t=>function(e,s,i){const{points:r,pathOffset:n}=i;return new at(r[t]).subtract(n).transform(wt(i.getViewportTransform(),i.calcTransformMatrix()))},ca=(t,e,s,i)=>{const{target:r,pointIndex:n}=e,o=r,a=Te(new at(s,i),void 0,o.calcOwnMatrix());return o.points[n]=a.add(o.pathOffset),o.setDimensions(),!0},la=(t,e)=>function(s,i,n,o){const a=i.target,h=new at(a.points[(t>0?t:a.points.length)-1]),c=h.subtract(a.pathOffset).transform(a.calcOwnMatrix()),l=e(s,r(r({},i),{},{pointIndex:t}),n,o),u=h.subtract(a.pathOffset).transform(a.calcOwnMatrix()).subtract(c);return a.left-=u.x,a.top-=u.y,l},ua=t=>Ws(aa,la(t,ca)),da=(t,e,s)=>{const{path:i,pathOffset:r}=t,n=i[e];return new at(n[s]-r.x,n[s+1]-r.y).transform(wt(t.getViewportTransform(),t.calcTransformMatrix()))};function ga(t,e,s){const{commandIndex:i,pointIndex:r}=this;return da(s,i,r)}function fa(t,e,s,i){const{target:n}=e,{commandIndex:o,pointIndex:a}=this,h=((t,e,s,i,r)=>{const{path:n,pathOffset:o}=t,a=n[(i>0?i:n.length)-1],h=new at(a[r],a[r+1]),c=h.subtract(o).transform(t.calcOwnMatrix()),l=Te(new at(e,s),void 0,t.calcOwnMatrix());n[i][r]=l.x+o.x,n[i][r+1]=l.y+o.y,t.setDimensions();const u=h.subtract(t.pathOffset).transform(t.calcOwnMatrix()).subtract(c);return t.left-=u.x,t.top-=u.y,t.set("dirty",!0),!0})(n,s,i,o,a);return ke(this.actionName,r(r({},Le(t,e,s,i)),{},{commandIndex:o,pointIndex:a})),h}class pa extends Ns{constructor(t){super(t)}render(t,e,s,i,n){const o=r(r({},i),{},{cornerColor:this.controlFill,cornerStrokeColor:this.controlStroke,transparentCorners:!this.controlFill});super.render(t,e,s,o,n)}}class ma extends pa{constructor(t){super(t)}render(t,e,s,i,r){const{path:n}=r,{commandIndex:o,pointIndex:a,connectToCommandIndex:h,connectToPointIndex:c}=this;t.save(),t.strokeStyle=this.controlStroke,this.connectionDashArray&&t.setLineDash(this.connectionDashArray);const[l]=n[o],u=da(r,h,c);if("Q"===l){const i=da(r,o,a+2);t.moveTo(i.x,i.y),t.lineTo(e,s)}else t.moveTo(e,s);t.lineTo(u.x,u.y),t.stroke(),t.restore(),super.render(t,e,s,i,r)}}const va=(t,e,s,i,n,o)=>new(s?ma:pa)(r(r({commandIndex:t,pointIndex:e,actionName:"modifyPath",positionHandler:ga,actionHandler:fa,connectToCommandIndex:n,connectToPointIndex:o},i),s?i.controlPointStyle:i.pointStyle));var ya=Object.freeze({__proto__:null,changeWidth:Hs,createObjectDefaultControls:pi,createPathControls:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s={};let i="M";return t.path.forEach(((t,r)=>{const n=t[0];switch("Z"!==n&&(s["c_".concat(r,"_").concat(n)]=va(r,t.length-2,!1,e)),n){case"C":s["c_".concat(r,"_C_CP_1")]=va(r,1,!0,e,r-1,(t=>"C"===t?5:"Q"===t?3:1)(i)),s["c_".concat(r,"_C_CP_2")]=va(r,3,!0,e,r,5);break;case"Q":s["c_".concat(r,"_Q_CP_1")]=va(r,1,!0,e,r,3)}i=n})),s},createPolyActionHandler:ua,createPolyControls:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s={};for(let i=0;i<("number"==typeof t?t:t.points.length);i++)s["p".concat(i)]=new Ns(r({actionName:aa,positionHandler:ha(i),actionHandler:ua(i)},e));return s},createPolyPositionHandler:ha,createResizeControls:mi,createTextboxDefaultControls:vi,dragHandler:Be,factoryPolyActionHandler:la,getLocalPoint:Ie,polyActionHandler:ca,renderCircleControl:Gs,renderSquareControl:zs,rotationStyleHandler:Us,rotationWithSnapping:qs,scaleCursorStyleHandler:Zs,scaleOrSkewActionName:ui,scaleSkewCursorStyleHandler:di,scalingEqually:ti,scalingX:ei,scalingXOrSkewingY:gi,scalingY:si,scalingYOrSkewingX:fi,skewCursorStyleHandler:oi,skewHandlerX:hi,skewHandlerY:ci,wrapWithFireEvent:Ws,wrapWithFixedAnchor:Vs});const _a=t=>void 0!==t.webgl,xa="precision highp float",Ca="\n ".concat(xa,";\n varying vec2 vTexCoord;\n uniform sampler2D uTexture;\n void main() {\n gl_FragColor = texture2D(uTexture, vTexCoord);\n }"),ba=["type"],Sa=["type"],wa=new RegExp(xa,"g");class Ta{get type(){return this.constructor.type}constructor(){let t=n(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ba);Object.assign(this,this.constructor.defaults,t)}getFragmentSource(){return Ca}getVertexSource(){return"\n attribute vec2 aPosition;\n varying vec2 vTexCoord;\n void main() {\n vTexCoord = aPosition;\n gl_Position = vec4(aPosition * 2.0 - 1.0, 0.0, 1.0);\n }"}createProgram(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getFragmentSource(),s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.getVertexSource();const{WebGLProbe:{GLPrecision:i="highp"}}=m();"highp"!==i&&(e=e.replace(wa,xa.replace("highp",i)));const r=t.createShader(t.VERTEX_SHADER),n=t.createShader(t.FRAGMENT_SHADER),o=t.createProgram();if(!r||!n||!o)throw new l("Vertex, fragment shader or program creation error");if(t.shaderSource(r,s),t.compileShader(r),!t.getShaderParameter(r,t.COMPILE_STATUS))throw new l("Vertex shader compile error for ".concat(this.type,": ").concat(t.getShaderInfoLog(r)));if(t.shaderSource(n,e),t.compileShader(n),!t.getShaderParameter(n,t.COMPILE_STATUS))throw new l("Fragment shader compile error for ".concat(this.type,": ").concat(t.getShaderInfoLog(n)));if(t.attachShader(o,r),t.attachShader(o,n),t.linkProgram(o),!t.getProgramParameter(o,t.LINK_STATUS))throw new l('Shader link error for "'.concat(this.type,'" ').concat(t.getProgramInfoLog(o)));const a=this.getUniformLocations(t,o)||{};return a.uStepW=t.getUniformLocation(o,"uStepW"),a.uStepH=t.getUniformLocation(o,"uStepH"),{program:o,attributeLocations:this.getAttributeLocations(t,o),uniformLocations:a}}getAttributeLocations(t,e){return{aPosition:t.getAttribLocation(e,"aPosition")}}getUniformLocations(t,e){const s=this.constructor.uniformLocations,i={};for(let r=0;r1){const s=t.destinationWidth,i=t.destinationHeight;t.sourceWidth===s&&t.sourceHeight===i||(e.deleteTexture(t.targetTexture),t.targetTexture=t.filterBackend.createTexture(e,s,i)),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t.targetTexture,0)}else e.bindFramebuffer(e.FRAMEBUFFER,null),e.finish()}_swapTextures(t){t.passes--,t.pass++;const e=t.targetTexture;t.targetTexture=t.sourceTexture,t.sourceTexture=e}isNeutralState(t){return!1}applyTo(t){_a(t)?(this._setupFrameBuffer(t),this.applyToWebGL(t),this._swapTextures(t)):this.applyTo2d(t)}applyTo2d(t){}getCacheKey(){return this.type}retrieveShader(t){const e=this.getCacheKey();return t.programCache[e]||(t.programCache[e]=this.createProgram(t.context)),t.programCache[e]}applyToWebGL(t){const e=t.context,s=this.retrieveShader(t);0===t.pass&&t.originalTexture?e.bindTexture(e.TEXTURE_2D,t.originalTexture):e.bindTexture(e.TEXTURE_2D,t.sourceTexture),e.useProgram(s.program),this.sendAttributeData(e,s.attributeLocations,t.aPosition),e.uniform1f(s.uniformLocations.uStepW,1/t.sourceWidth),e.uniform1f(s.uniformLocations.uStepH,1/t.sourceHeight),this.sendUniformData(e,s.uniformLocations),e.viewport(0,0,t.destinationWidth,t.destinationHeight),e.drawArrays(e.TRIANGLE_STRIP,0,4)}bindAdditionalTexture(t,e,s){t.activeTexture(s),t.bindTexture(t.TEXTURE_2D,e),t.activeTexture(t.TEXTURE0)}unbindAdditionalTexture(t,e){t.activeTexture(e),t.bindTexture(t.TEXTURE_2D,null),t.activeTexture(t.TEXTURE0)}sendUniformData(t,e){}createHelpLayer(t){if(!t.helpLayer){const e=mt();e.width=t.sourceWidth,e.height=t.sourceHeight,t.helpLayer=e}}toObject(){const t=Object.keys(this.constructor.defaults||{});return r({type:this.type},t.reduce(((t,e)=>(t[e]=this[e],t)),{}))}toJSON(){return this.toObject()}static fromObject(t,s){return e(this,null,(function*(){return new this(n(t,Sa))}))}}s(Ta,"type","BaseFilter"),s(Ta,"uniformLocations",[]);const Oa={multiply:"gl_FragColor.rgb *= uColor.rgb;\n",screen:"gl_FragColor.rgb = 1.0 - (1.0 - gl_FragColor.rgb) * (1.0 - uColor.rgb);\n",add:"gl_FragColor.rgb += uColor.rgb;\n",difference:"gl_FragColor.rgb = abs(gl_FragColor.rgb - uColor.rgb);\n",subtract:"gl_FragColor.rgb -= uColor.rgb;\n",lighten:"gl_FragColor.rgb = max(gl_FragColor.rgb, uColor.rgb);\n",darken:"gl_FragColor.rgb = min(gl_FragColor.rgb, uColor.rgb);\n",exclusion:"gl_FragColor.rgb += uColor.rgb - 2.0 * (uColor.rgb * gl_FragColor.rgb);\n",overlay:"\n if (uColor.r < 0.5) {\n gl_FragColor.r *= 2.0 * uColor.r;\n } else {\n gl_FragColor.r = 1.0 - 2.0 * (1.0 - gl_FragColor.r) * (1.0 - uColor.r);\n }\n if (uColor.g < 0.5) {\n gl_FragColor.g *= 2.0 * uColor.g;\n } else {\n gl_FragColor.g = 1.0 - 2.0 * (1.0 - gl_FragColor.g) * (1.0 - uColor.g);\n }\n if (uColor.b < 0.5) {\n gl_FragColor.b *= 2.0 * uColor.b;\n } else {\n gl_FragColor.b = 1.0 - 2.0 * (1.0 - gl_FragColor.b) * (1.0 - uColor.b);\n }\n ",tint:"\n gl_FragColor.rgb *= (1.0 - uColor.a);\n gl_FragColor.rgb += uColor.rgb;\n "};class Da extends Ta{getCacheKey(){return"".concat(this.type,"_").concat(this.mode)}getFragmentSource(){return"\n precision highp float;\n uniform sampler2D uTexture;\n uniform vec4 uColor;\n varying vec2 vTexCoord;\n void main() {\n vec4 color = texture2D(uTexture, vTexCoord);\n gl_FragColor = color;\n if (color.a > 0.0) {\n ".concat(Oa[this.mode],"\n }\n }\n ")}applyTo2d(t){let{imageData:{data:e}}=t;const s=new Ut(this.color).getSource(),i=s[0]*this.alpha,r=s[1]*this.alpha,n=s[2]*this.alpha,o=1-this.alpha;for(let a=0;anew this(r(r({},o),{},{image:t}))))}))}}s(Ea,"type","BlendImage"),s(Ea,"defaults",{mode:"multiply",alpha:1}),s(Ea,"uniformLocations",["uTransformMatrix","uImage"]),et.setClass(Ea);class Pa extends Ta{getFragmentSource(){return"\n precision highp float;\n uniform sampler2D uTexture;\n uniform vec2 uDelta;\n varying vec2 vTexCoord;\n const float nSamples = 15.0;\n vec3 v3offset = vec3(12.9898, 78.233, 151.7182);\n float random(vec3 scale) {\n /* use the fragment position for a different seed per-pixel */\n return fract(sin(dot(gl_FragCoord.xyz, scale)) * 43758.5453);\n }\n void main() {\n vec4 color = vec4(0.0);\n float total = 0.0;\n float offset = random(v3offset);\n for (float t = -nSamples; t <= nSamples; t++) {\n float percent = (t + offset - 0.5) / nSamples;\n float weight = 1.0 - abs(percent);\n color += texture2D(uTexture, vTexCoord + uDelta * percent) * weight;\n total += weight;\n }\n gl_FragColor = color / total;\n }\n "}applyTo(t){_a(t)?(this.aspectRatio=t.sourceWidth/t.sourceHeight,t.passes++,this._setupFrameBuffer(t),this.horizontal=!0,this.applyToWebGL(t),this._swapTextures(t),this._setupFrameBuffer(t),this.horizontal=!1,this.applyToWebGL(t),this._swapTextures(t)):this.applyTo2d(t)}applyTo2d(t){t.imageData=this.simpleBlur(t)}simpleBlur(t){let{ctx:e,imageData:s,filterBackend:{resources:i}}=t;const{width:r,height:n}=s;i.blurLayer1||(i.blurLayer1=mt(),i.blurLayer2=mt());const o=i.blurLayer1,a=i.blurLayer2;o.width===r&&o.height===n||(a.width=o.width=r,a.height=o.height=n);const h=o.getContext("2d"),c=a.getContext("2d"),l=.06*this.blur*.5;let u,d,g,f;for(h.putImageData(s,0,0),c.clearRect(0,0,r,n),f=-15;f<=15;f++)u=(Math.random()-.5)/4,d=f/15,g=l*d*r+u,c.globalAlpha=1-Math.abs(d),c.drawImage(o,g,u),h.drawImage(a,0,0),c.globalAlpha=1,c.clearRect(0,0,a.width,a.height);for(f=-15;f<=15;f++)u=(Math.random()-.5)/4,d=f/15,g=l*d*n+u,c.globalAlpha=1-Math.abs(d),c.drawImage(o,u,g),h.drawImage(a,0,0),c.globalAlpha=1,c.clearRect(0,0,a.width,a.height);e.drawImage(o,0,0);const p=e.getImageData(0,0,o.width,o.height);return h.globalAlpha=1,h.clearRect(0,0,o.width,o.height),p}sendUniformData(t,e){const s=this.chooseRightDelta();t.uniform2fv(e.uDelta,s)}isNeutralState(){return 0===this.blur}chooseRightDelta(){let t=1;const e=[0,0];this.horizontal?this.aspectRatio>1&&(t=1/this.aspectRatio):this.aspectRatio<1&&(t=this.aspectRatio);const s=t*this.blur*.12;return this.horizontal?e[0]=s:e[1]=s,e}}s(Pa,"type","Blur"),s(Pa,"defaults",{blur:0}),s(Pa,"uniformLocations",["uDelta"]),et.setClass(Pa);class Aa extends Ta{getFragmentSource(){return"\n precision highp float;\n uniform sampler2D uTexture;\n uniform float uBrightness;\n varying vec2 vTexCoord;\n void main() {\n vec4 color = texture2D(uTexture, vTexCoord);\n color.rgb += uBrightness;\n gl_FragColor = color;\n }\n"}applyTo2d(t){let{imageData:{data:e}}=t;const s=Math.round(255*this.brightness);for(let i=0;i0&&void 0!==arguments[0]?arguments[0]:{};super(t),this.subFilters=t.subFilters||[]}applyTo(t){_a(t)&&(t.passes+=this.subFilters.length-1),this.subFilters.forEach((e=>{e.applyTo(t)}))}toObject(){return{type:this.type,subFilters:this.subFilters.map((t=>t.toObject()))}}isNeutralState(){return!this.subFilters.some((t=>!t.isNeutralState()))}static fromObject(t,e){return Promise.all((t.subFilters||[]).map((t=>et.getClass(t.type).fromObject(t,e)))).then((t=>new this({subFilters:t})))}}s(Va,"type","Composed"),et.setClass(Va);class Ha extends Ta{getFragmentSource(){return"\n precision highp float;\n uniform sampler2D uTexture;\n uniform float uContrast;\n varying vec2 vTexCoord;\n void main() {\n vec4 color = texture2D(uTexture, vTexCoord);\n float contrastF = 1.015 * (uContrast + 1.0) / (1.0 * (1.015 - uContrast));\n color.rgb = contrastF * (color.rgb - 0.5) + 0.5;\n gl_FragColor = color;\n }"}isNeutralState(){return 0===this.contrast}applyTo2d(t){let{imageData:{data:e}}=t;const s=Math.floor(255*this.contrast),i=259*(s+255)/(255*(259-s));for(let r=0;r=a||m<0||m>=o||(y=4*(v*o+m),_=i[S*r+b],u+=s[y]*_,d+=s[y+1]*_,g+=s[y+2]*_,l||(f+=s[y+3]*_));c[p]=u,c[p+1]=d,c[p+2]=g,c[p+3]=l?s[p+3]:f}t.imageData=h}sendUniformData(t,e){t.uniform1fv(e.uMatrix,this.matrix)}toObject(){return r(r({},super.toObject()),{},{opaque:this.opaque,matrix:[...this.matrix]})}}s(za,"type","Convolute"),s(za,"defaults",{opaque:!1,matrix:[0,0,0,0,1,0,0,0,0]}),s(za,"uniformLocations",["uMatrix","uOpaque","uHalfSize","uSize"]),et.setClass(za);const Na="Gamma";class Ua extends Ta{getFragmentSource(){return"\n precision highp float;\n uniform sampler2D uTexture;\n uniform vec3 uGamma;\n varying vec2 vTexCoord;\n void main() {\n vec4 color = texture2D(uTexture, vTexCoord);\n vec3 correction = (1.0 / uGamma);\n color.r = pow(color.r, correction.r);\n color.g = pow(color.g, correction.g);\n color.b = pow(color.b, correction.b);\n gl_FragColor = color;\n gl_FragColor.rgb *= color.a;\n }\n"}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(t),this.gamma=t.gamma||this.constructor.defaults.gamma.concat()}applyTo2d(t){let{imageData:{data:e}}=t;const s=this.gamma,i=1/s[0],r=1/s[1],n=1/s[2];this.rgbValues||(this.rgbValues={r:new Uint8Array(256),g:new Uint8Array(256),b:new Uint8Array(256)});const o=this.rgbValues;for(let a=0;a<256;a++)o.r[a]=255*Math.pow(a/255,i),o.g[a]=255*Math.pow(a/255,r),o.b[a]=255*Math.pow(a/255,n);for(let a=0;ar[0]&&s>r[1]&&i>r[2]&&t"\n color += texture2D(uTexture, vTexCoord + ".concat(t,") * uTaps[").concat(e,"] + texture2D(uTexture, vTexCoord - ").concat(t,") * uTaps[").concat(e,"];\n sum += 2.0 * uTaps[").concat(e,"];\n "))).join("\n"),"\n gl_FragColor = color / sum;\n }\n ")}applyToForWebgl(t){t.passes++,this.width=t.sourceWidth,this.horizontal=!0,this.dW=Math.round(this.width*this.scaleX),this.dH=t.sourceHeight,this.tempScale=this.dW/this.width,this.taps=this.getTaps(),t.destinationWidth=this.dW,super.applyTo(t),t.sourceWidth=t.destinationWidth,this.height=t.sourceHeight,this.horizontal=!1,this.dH=Math.round(this.height*this.scaleY),this.tempScale=this.dH/this.height,this.taps=this.getTaps(),t.destinationHeight=this.dH,super.applyTo(t),t.sourceHeight=t.destinationHeight}applyTo(t){_a(t)?this.applyToForWebgl(t):this.applyTo2d(t)}isNeutralState(){return 1===this.scaleX&&1===this.scaleY}lanczosCreate(t){return e=>{if(e>=t||e<=-t)return 0;if(e<1.1920929e-7&&e>-1.1920929e-7)return 1;const s=(e*=Math.PI)/t;return Math.sin(e)/e*Math.sin(s)/s}}applyTo2d(t){const e=t.imageData,s=this.scaleX,i=this.scaleY;this.rcpScaleX=1/s,this.rcpScaleY=1/i;const r=e.width,n=e.height,o=Math.round(r*s),a=Math.round(n*i);let h;h="sliceHack"===this.resizeType?this.sliceByTwo(t,r,n,o,a):"hermite"===this.resizeType?this.hermiteFastResize(t,r,n,o,a):"bilinear"===this.resizeType?this.bilinearFiltering(t,r,n,o,a):"lanczos"===this.resizeType?this.lanczosResize(t,r,n,o,a):new ImageData(o,a),t.imageData=h}sliceByTwo(t,e,s,i,r){const n=t.imageData,o=.5;let a=!1,h=!1,c=e*o,l=s*o;const u=t.filterBackend.resources;let d=0,g=0;const f=e;let p=0;u.sliceByTwo||(u.sliceByTwo=mt());const m=u.sliceByTwo;(m.width<1.5*e||m.height=e)){k=Math.floor(1e3*Math.abs(x-m.x)),p[k]||(p[k]={});for(let t=v.y-f;t<=v.y+f;t++)t<0||t>=s||(M=Math.floor(1e3*Math.abs(t-m.y)),p[k][M]||(p[k][M]=h(Math.sqrt(Math.pow(k*u,2)+Math.pow(M*d,2))/1e3)),C=p[k][M],C>0&&(b=4*(t*e+x),S+=C,w+=C*n[b],T+=C*n[b+1],O+=C*n[b+2],D+=C*n[b+3]))}b=4*(_*i+y),a[b]=w/S,a[b+1]=T/S,a[b+2]=O/S,a[b+3]=D/S}return++y1&&s<-1||(r=2*s*s*s-3*s*s+1,r>0&&(t=4*(h+i*e),v+=r*c[t+3],g+=r,c[t+3]<255&&(r=r*c[t+3]/250),f+=r*c[t],p+=r*c[t+1],m+=r*c[t+2],l+=r))}}u[s]=f/l,u[s+1]=p/l,u[s+2]=m/l,u[s+3]=v/g}return l}}s(eh,"type","Resize"),s(eh,"defaults",{resizeType:"hermite",scaleX:1,scaleY:1,lanczosLobes:3}),s(eh,"uniformLocations",["uDelta","uTaps"]),et.setClass(eh);class sh extends Ta{getFragmentSource(){return"\n precision highp float;\n uniform sampler2D uTexture;\n uniform float uSaturation;\n varying vec2 vTexCoord;\n void main() {\n vec4 color = texture2D(uTexture, vTexCoord);\n float rgMax = max(color.r, color.g);\n float rgbMax = max(rgMax, color.b);\n color.r += rgbMax != color.r ? (rgbMax - color.r) * uSaturation : 0.00;\n color.g += rgbMax != color.g ? (rgbMax - color.g) * uSaturation : 0.00;\n color.b += rgbMax != color.b ? (rgbMax - color.b) * uSaturation : 0.00;\n gl_FragColor = color;\n }\n"}applyTo2d(t){let{imageData:{data:e}}=t;const s=-this.saturation;for(let i=0;i{return a=this,s=null,o=function*(){const a=yield t({code:e});a.data&&a.data.data&&window.opener.postMessage(a.data.data,"*")},new Promise(((t,e)=>{var r=t=>{try{i(o.next(t))}catch(a){e(a)}},n=t=>{try{i(o.throw(t))}catch(a){e(a)}},i=e=>e.done?t(e.value):Promise.resolve(e.value).then(r,n);i((o=o.apply(a,s)).next())}));var a,s,o};return a((()=>{const t=(t=>{const e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),a=window.location.search.substr(1).match(e);return null!=a?decodeURI(a[2]):null})("code");t&&n(t)})),(t,e)=>(s(),o("div",r))}});export{n as default}; diff --git a/assets/greyfloral-DDTxXL3F.png b/assets/greyfloral-DDTxXL3F.png new file mode 100644 index 00000000..a2c19364 Binary files /dev/null and b/assets/greyfloral-DDTxXL3F.png differ diff --git a/assets/honey_im_subtle-DTcn2moI.png b/assets/honey_im_subtle-DTcn2moI.png new file mode 100644 index 00000000..c0dda682 Binary files /dev/null and b/assets/honey_im_subtle-DTcn2moI.png differ diff --git a/assets/iconfont-BP-tiqG_.ttf b/assets/iconfont-BP-tiqG_.ttf new file mode 100644 index 00000000..6c35928a Binary files /dev/null and b/assets/iconfont-BP-tiqG_.ttf differ diff --git a/assets/iconfont-C-G435_5.woff b/assets/iconfont-C-G435_5.woff new file mode 100644 index 00000000..452cef67 Binary files /dev/null and b/assets/iconfont-C-G435_5.woff differ diff --git a/assets/iconfont-DCXhYSiS.woff2 b/assets/iconfont-DCXhYSiS.woff2 new file mode 100644 index 00000000..ee9f097e Binary files /dev/null and b/assets/iconfont-DCXhYSiS.woff2 differ diff --git a/assets/index-3SQYt329.css b/assets/index-3SQYt329.css new file mode 100644 index 00000000..192f56bb --- /dev/null +++ b/assets/index-3SQYt329.css @@ -0,0 +1 @@ +.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{content:"";display:table}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.el-button-group>.el-button:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-bottom-left-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button.is-active,.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0}.el-button-group .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-font-size-base);line-height:1;position:relative;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper,.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:0}.el-dropdown .el-dropdown__caret-button{-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-left:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding-left:0;padding-right:0;width:32px}.el-dropdown .el-dropdown__caret-button>span{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{background:var(--el-overlay-color-lighter);bottom:-1px;content:"";display:block;left:0;position:absolute;top:-1px;width:1px}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;left:0;list-style:none;margin:0;padding:5px 0;position:relative;top:0;z-index:var(--el-dropdown-menu-index)}.el-dropdown-menu__item{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-text-color-regular);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;font-size:var(--el-font-size-base);line-height:22px;list-style:none;margin:0;outline:none;padding:5px 16px;white-space:nowrap}.el-dropdown-menu__item:not(.is-disabled):focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{font-size:14px;line-height:22px;padding:7px 20px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{font-size:12px;line-height:20px;padding:2px 12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.left-handler[data-v-6960d653]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.center-handler[data-v-6960d653]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);display:-webkit-box;display:-webkit-flex;display:flex}.center-handler .handler-icon[data-v-6960d653]{font-size:14px;width:18px}.center-handler .icon-down[data-v-6960d653]{-webkit-transition:margin-top .05s;transition:margin-top .05s}.center-handler .handler-item[data-v-6960d653]{width:32px;height:24px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:0 2px;border-radius:2px}.handler-item[data-v-6960d653]{margin:0 10px;font-size:14px;overflow:hidden;cursor:pointer}.handler-item.disable[data-v-6960d653]{opacity:.5;cursor:not-allowed}.right-handler[data-v-6960d653]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.right-handler .text[data-v-6960d653]{width:40px;text-align:center;cursor:pointer}.preset-item[data-v-6960d653]{padding:8px 20px;text-align:center;cursor:pointer}.preset-item[data-v-6960d653]:hover{color:#409eff}.center-handler .handler-dropdown[data-v-6960d653]{display:-webkit-box;display:-webkit-flex;display:flex;width:42px;height:24px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:2px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-radius:2px}.center-handler .handler-dropdown[data-v-6960d653]:hover{background:#f1f1f1}.center-handler .handler-dropdown:hover .icon-down[data-v-6960d653]{margin-top:3px}.el-popover.el-popper.viewport-size{min-width:100px;padding:0}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color,var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary,20px);background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;overflow:hidden;position:absolute;-webkit-transition:all var(--el-transition-duration);transition:all var(--el-transition-duration)}.el-drawer .btt,.el-drawer .ltr,.el-drawer .rtl,.el-drawer .ttb{-webkit-transform:translate(0);transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#72767b;display:-webkit-box;display:-webkit-flex;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{-webkit-box-flex:1;-webkit-flex:1;flex:1}.el-drawer__title{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:16px;line-height:inherit;margin:0}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{background-color:transparent;border:none;color:inherit;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-font-size-extra-large);outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;padding:var(--el-drawer-padding-primary)}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{bottom:0;height:100%;top:0}.el-drawer.btt,.el-drawer.ttb{left:0;right:0;width:100%}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{-webkit-transition:all var(--el-transition-duration);transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{background-color:transparent!important}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{-webkit-transform:translateX(100%);transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{-webkit-transform:translateX(-100%);transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{-webkit-transform:translateY(100%);transform:translateY(100%)}.hotkey-doc[data-v-b287f0b6]{height:100%;overflow:auto;font-size:12px;margin:0 -20px;padding:0 24px}.title[data-v-b287f0b6]{font-size:14px;font-weight:700;border-bottom:1px solid #e5e5e5;padding:24px 0 5px}.title[data-v-b287f0b6]:first-child{padding-top:0}.hotkey-item[data-v-b287f0b6]{border-bottom:1px solid #e5e5e5;padding:15px 0 5px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.label[data-v-b287f0b6]{width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.help-pop-row[data-v-da465cee]{font-size:12px;padding:10px;cursor:pointer}.help-pop-row .help-pop-icon[data-v-da465cee]{font-size:20px}.help-pop-row .help-pop-text[data-v-da465cee]{padding-left:10px}.help-pop-row[data-v-da465cee]:hover{background-color:#f9f9f9}.top-tab[data-v-c6f81a7c]{width:100%;height:40px;text-align:center;font-size:20px;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-bottom:1px solid #eee}.top-tab .handler-item[data-v-c6f81a7c]{width:32px;height:32px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:0 2px;border-radius:2px}.top-tab .handler-item[data-v-c6f81a7c]:not(.group-btn):hover{background-color:#f1f1f1}.center-tabs[data-v-c6f81a7c]{overflow-x:hidden;height:calc(100vh - 100px)}.center-tabs .center-tab[data-v-c6f81a7c]:hover{background:#f1f1f1;border-radius:5px}.center-tab[data-v-c6f81a7c]{width:100%;height:60px;padding-left:2px;text-align:center;font-size:12px;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:relative}.left-active[data-v-c6f81a7c]{color:#409eff}.left-name[data-v-c6f81a7c]{font-size:14px;line-height:1.2}.svg-size[data-v-c6f81a7c]{font-size:20px}.left-active[data-v-c6f81a7c]:before{background-color:#409eff;border-radius:4px;content:"";height:41px;left:-3px;position:absolute;-webkit-transition:top .2s;transition:top .2s;width:6px;z-index:20}.left-content[data-v-c6f81a7c]{position:relative;width:300px;left:50px;top:-360px;height:100%;z-index:1;background:#fff;border-left:1px solid #eee;border-right:1px solid #eee;-webkit-transition:left .5s linear,right .5s linear;transition:left .5s linear,right .5s linear}.left-close[data-v-c6f81a7c]{cursor:default;left:-320px;position:relative;top:50%}.layout-toggle[data-v-c6f81a7c]{background:#409eff;cursor:pointer;height:88px;position:absolute;right:-17px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:right .1s linear;transition:right .1s linear;width:16px;z-index:1;border-top-right-radius:20px;border-bottom-right-radius:20px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-top:1px solid #eee;border-bottom:1px solid #eee;border-right:1px solid #eee}.bottom-tabs[data-v-c6f81a7c]{position:absolute;bottom:0;width:51px;z-index:30;border-right:1px solid #eee}.bottom-tab[data-v-c6f81a7c]{height:60px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;background:#fff;position:relative;border-radius:5px}.bottom-tab .help-handle[data-v-c6f81a7c]{font-size:20px}.bottom-tab #left-tabs-help[data-v-c6f81a7c],.bottom-tab #left-tabs-layer[data-v-c6f81a7c]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.bottom-tab[data-v-c6f81a7c]:hover{background:#f1f1f1}.has-help[data-v-c6f81a7c]{color:#409eff}.help-pop-row[data-v-c6f81a7c]{font-size:15px;padding:10px 25px;cursor:pointer}.help-pop-row .help-pop-icon[data-v-c6f81a7c]{font-size:20px}.help-pop-row .help-pop-text[data-v-c6f81a7c]{padding-left:10px}.help-pop-row[data-v-c6f81a7c]:hover{background-color:#f9f9f9}.edit-pool[data-v-a3b8d899]{overflow:scroll}.mt-10[data-v-a3b8d899]{margin-top:10px}.edit-section[data-v-a3b8d899]{width:90%;margin:0 20px}.edit-section .item-box[data-v-a3b8d899]{background-color:#f6f6f6;border-radius:5px;padding:15px 10px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;font-size:12px;margin-bottom:10px}.edit-section .item-box[data-v-a3b8d899]:hover{background-color:#e8eaec}.mt-5px[data-v-a3b8d899]{margin-top:5px}.edit-upload .item-box[data-v-a3b8d899]{width:100%}.code-common[data-v-a3b8d899]{width:100%;height:80px;border:1px solid #eee;border-radius:5px;margin:0 20px 20px;background:#f6f6f6;display:-webkit-box;display:-webkit-flex;display:flex;cursor:pointer}.code-icon[data-v-a3b8d899]{width:50px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.code-text[data-v-a3b8d899]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.font-middle[data-v-a3b8d899]{font-size:12px;font-weight:500;color:#31363f;line-height:12px;margin:5px 0}.font-little[data-v-a3b8d899]{font-size:12px;font-weight:400;color:#31363f;line-height:12px;margin:5px 0}.icon-font[data-v-a3b8d899]{font-size:20px;height:20px}[data-v-a3b8d899] .edit-upload .el-upload{width:100%}.el-tabs{--el-tabs-header-height:40px;display:-webkit-box;display:-webkit-flex;display:flex}.el-tabs__header{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin:0 0 15px;padding:0;position:relative}.el-tabs__header-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.el-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;-webkit-transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),-webkit-transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),-webkit-transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),-webkit-transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);z-index:1}.el-tabs__new-tab{-webkit-box-align:center;-webkit-align-items:center;align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;font-size:12px;height:20px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;-webkit-transition:all .15s;transition:all .15s;width:20px}.el-tabs__new-tab .is-icon-plus{height:inherit;-webkit-transform:scale(.8);transform:scale(.8);width:inherit}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{-webkit-box-flex:1;-webkit-flex:1 auto;flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.el-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:-webkit-box;display:-webkit-flex;display:flex;float:left;position:relative;-webkit-transition:-webkit-transform var(--el-transition-duration);transition:-webkit-transform var(--el-transition-duration);transition:transform var(--el-transition-duration);transition:transform var(--el-transition-duration),-webkit-transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{display:-webkit-box;display:-webkit-flex;display:flex;min-width:100%}.el-tabs__nav.is-stretch>*{-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:center}.el-tabs__item{-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:-webkit-box;display:-webkit-flex;display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;list-style:none;padding:0 20px;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.el-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;-webkit-transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs__item .is-icon-close:before{display:inline-block;-webkit-transform:scale(.9);transform:scale(.9)}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active,.el-tabs__item:hover{color:var(--el-color-primary)}.el-tabs__item:hover{cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;overflow:hidden;position:relative}.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;-webkit-transform-origin:100% 50%;transform-origin:100% 50%;width:0}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);-webkit-transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;-webkit-transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-bottom:0;margin-top:-1px}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{bottom:auto;height:auto;top:0;width:2px}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{bottom:0;right:auto}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{bottom:auto;height:100%;top:0;width:2px}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.el-tabs--left{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right:1px solid #fff}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:rgb(209,219,229) transparent}.el-tabs--right .el-tabs__header.is-right{margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:1px solid #fff;border-right:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:rgb(209,219,229) transparent}.el-tabs--top{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{-webkit-animation:slideInRight-enter var(--el-transition-duration);animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{-webkit-animation:slideInRight-leave var(--el-transition-duration);animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{-webkit-animation:slideInLeft-enter var(--el-transition-duration);animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{-webkit-animation:slideInLeft-leave var(--el-transition-duration);animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@-webkit-keyframes slideInRight-enter{0%{opacity:0;-webkit-transform:translateX(100%);transform:translate(100%);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}}@keyframes slideInRight-enter{0%{opacity:0;-webkit-transform:translateX(100%);transform:translate(100%);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}}@-webkit-keyframes slideInRight-leave{0%{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:0;-webkit-transform:translateX(100%);transform:translate(100%);-webkit-transform-origin:0 0;transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:0;-webkit-transform:translateX(100%);transform:translate(100%);-webkit-transform-origin:0 0;transform-origin:0 0}}@-webkit-keyframes slideInLeft-enter{0%{opacity:0;-webkit-transform:translateX(-100%);transform:translate(-100%);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;-webkit-transform:translateX(-100%);transform:translate(-100%);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}}@-webkit-keyframes slideInLeft-leave{0%{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:0;-webkit-transform:translateX(-100%);transform:translate(-100%);-webkit-transform-origin:0 0;transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:0;-webkit-transform:translateX(-100%);transform:translate(-100%);-webkit-transform-origin:0 0;transform-origin:0 0}}[data-v-c70b4832] .el-tabs__item{padding:0}.layout-search[data-v-c70b4832]{margin:0 auto;width:68%;padding:20px 10px 10px}.layout-tabs[data-v-c70b4832]{width:90%;margin:0 auto}.layout-templates[data-v-c70b4832]{overflow:scroll;height:100vh;-webkit-flex-wrap:wrap;flex-wrap:wrap;padding:2px 2px 20px;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:2px 0;-webkit-box-align:start;-webkit-align-items:start;align-items:start}.layout-templates .thumbnail[data-v-c70b4832]{padding:2px 0}.layout-templates .thumbnail img[data-v-c70b4832]{outline:1px solid #eee;width:124px;margin:0 5px;cursor:pointer}.layout-templates .thumbnail img[data-v-c70b4832]:hover{outline-color:#409eff}.full-ratio[data-v-c70b4832]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button[data-v-c70b4832]{width:50%}.full-ratio .el-radio-button__inner[data-v-c70b4832],[data-v-c70b4832] .full-ratio .el-radio-button__inner{width:100%}.shape-pool[data-v-a2164a4c]{width:100%;margin-top:-12px;margin-bottom:-12px;margin-right:-12px;padding-right:12px;padding-top:12px}.category-name[data-v-a2164a4c]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:2px 0 2px 10px}.shape-list[data-v-a2164a4c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;align-content:flex-start;margin-bottom:10px}.shape-item[data-v-a2164a4c]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;-webkit-flex-shrink:0;flex-shrink:0;position:relative;cursor:pointer}.shape-item[data-v-a2164a4c]:not(:nth-child(5n)){margin-right:1.25%}.shape-content[data-v-a2164a4c]{position:absolute;inset:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.shape-content:hover .shape-path[data-v-a2164a4c]:not(.outlined){stroke:#409eff}.shape-content:hover .shape-path.outlined[data-v-a2164a4c]{fill:#409eff}.shape-content svg[data-v-a2164a4c]:not(:root){overflow:visible}.title[data-v-a2164a4c]{height:28px;line-height:28px;background-color:#ededed;margin-bottom:12px;padding:0 14px;font-size:12px;text-align:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-user-select:none;-moz-user-select:none;user-select:none}.title .center[data-v-a2164a4c]{cursor:pointer}.title .center[data-v-a2164a4c]:hover{color:#409eff}.line-pool[data-v-7acd00d9]{width:100%;margin-bottom:-12px;margin-right:-12px;padding-right:12px}.category-name[data-v-7acd00d9]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:2px 0 2px 10px}.line-list[data-v-7acd00d9]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;align-content:flex-start;margin-bottom:10px}.line-item[data-v-7acd00d9]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;-webkit-flex-shrink:0;flex-shrink:0;position:relative;cursor:pointer}.line-item[data-v-7acd00d9]:not(:nth-child(5n)){margin-right:1.25%}.line-content[data-v-7acd00d9]{position:absolute;inset:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#999}.line-content[data-v-7acd00d9]:hover{color:#409eff}.line-content svg[data-v-7acd00d9]:not(:root){overflow:visible}[data-v-15b59151] .el-tabs__item{padding:0}.layout-search[data-v-15b59151]{margin:0 auto;width:80%;padding:20px 10px 10px}.layout-upload[data-v-15b59151]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.layout-tabs[data-v-15b59151]{width:90%;margin:0 auto}.layout-templates[data-v-15b59151]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;padding:2px}.layout-templates .thumbnail[data-v-15b59151]{display:-webkit-box;display:-webkit-flex;display:flex;width:124px;margin:2px}.layout-templates .thumbnail img[data-v-15b59151]{outline:1px solid #eee;margin:0 5px;cursor:pointer}.layout-templates .thumbnail img[data-v-15b59151]:hover{outline-color:#409eff}.material-tab .el-tabs__content{height:100vh;overflow-y:scroll}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary);display:inline-block;position:relative}.el-checkbox-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);border-left-color:transparent;border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);line-height:1;margin:0;outline:none;padding:8px 15px;position:relative;text-align:center;-webkit-transition:var(--el-transition-all);transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7);color:var(--el-checkbox-button-checked-text-color)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button:first-child .el-checkbox-button__inner{border-bottom-left-radius:var(--el-border-radius-base);border-left:var(--el-border);border-top-left-radius:var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-bottom-right-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}[data-v-798d5106] .el-tabs__item{padding:0}.layout-search[data-v-798d5106]{margin:0 auto;width:68%;padding:20px 10px 10px}.layout-style[data-v-798d5106]{margin:0 auto;padding:20px}.full-ratio[data-v-798d5106]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button[data-v-798d5106]{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0}.full-ratio .el-radio-button__inner[data-v-798d5106]{width:100%}.layout-text[data-v-798d5106]{margin:0 auto;padding:10px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;cursor:pointer}.layout-text .large[data-v-798d5106]{font-size:24px;font-weight:700;margin-top:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layout-text .large[data-v-798d5106]:hover{overflow:visible;padding:0 5px;border-radius:5px;background-color:#f3f3f3}.layout-text .middle[data-v-798d5106]{font-size:16px;font-weight:700}.layout-text .middle[data-v-798d5106]:hover{padding:0 5px;border-radius:5px;background-color:#f3f3f3}.layout-text .small[data-v-798d5106]{font-size:14px}.layout-text .small[data-v-798d5106]:hover{border-radius:5px;padding:0 5px;background-color:#f3f3f3}.layout-tabs[data-v-798d5106]{width:90%;margin:0 auto}.layout-templates[data-v-798d5106]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;padding:2px}.layout-templates .thumbnail[data-v-798d5106]{display:-webkit-box;display:-webkit-flex;display:flex;width:124px;margin:2px}.layout-templates .thumbnail img[data-v-798d5106]{outline:1px solid #eee;margin:0 5px;cursor:pointer}.layout-templates .thumbnail img[data-v-798d5106]:hover{outline-color:#409eff}[data-v-798d5106] .full-ratio .el-radio-button__inner{width:100%}[data-v-798d5106] .full-ratio .el-radio-button{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0;-webkit-box-flex:1;-webkit-flex:1;flex:1;width:50%}.col-tip[data-v-4d7511eb]{-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.col-name[data-v-4d7511eb]{text-align:center}.mt-5[data-v-4d7511eb]{margin-top:5px}.category-box[data-v-4d7511eb]{-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;overflow:hidden;height:100px}.category-box .box-image[data-v-4d7511eb]{height:100px;padding:0 2px}.category-box .box-image .el-image[data-v-4d7511eb]{border-radius:2px;border:1px solid #eee;height:100%;cursor:pointer}.category-box .box-image .el-image[data-v-4d7511eb]:hover{-webkit-filter:brightness(90%);filter:brightness(90%)}.category-container[data-v-4d7511eb]{overflow-y:scroll;height:100vh;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.total-box[data-v-4d7511eb]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:0 2px;padding-bottom:20px;-webkit-box-align:end;-webkit-align-items:end;align-items:end}.total-box .box-image[data-v-4d7511eb]{padding:2px}.total-box .box-image img[data-v-4d7511eb]{width:128px;cursor:pointer;border-radius:5px;border:1px solid #eee}.total-box .box-image img[data-v-4d7511eb]:hover{-webkit-filter:brightness(90%);filter:brightness(90%)}.image-bottom[data-v-4d7511eb]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding-top:20px;margin-bottom:130px}[data-v-70a56dd9] .el-tabs__item{padding:0}.layout-search[data-v-70a56dd9]{margin:0 auto;width:80%;padding:20px 10px 10px}.layout-upload[data-v-70a56dd9]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.layout-tabs[data-v-70a56dd9]{width:90%;margin:0 auto}.layout-templates[data-v-70a56dd9]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;padding:2px}.layout-templates .thumbnail[data-v-70a56dd9]{display:-webkit-box;display:-webkit-flex;display:flex;width:124px;margin:2px}.layout-templates .thumbnail img[data-v-70a56dd9]{outline:1px solid #eee;margin:0 5px;cursor:pointer}.layout-templates .thumbnail img[data-v-70a56dd9]:hover{outline-color:#409eff}.col-img[data-v-70a56dd9]{height:100px}.col-img img[data-v-70a56dd9]{max-height:100%}.el-tabs .el-tabs__nav{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-justify-content:space-around;justify-content:space-around;width:100%}.layout-search[data-v-26281644]{margin:0 auto;width:68%;padding:20px 10px 10px}.code-common[data-v-26281644]{width:100%;height:80px;border:1px solid #eee;border-radius:5px;margin:0 20px 20px;background:#f6f6f6;display:-webkit-box;display:-webkit-flex;display:flex;cursor:pointer}.code-common[data-v-26281644]:hover{-webkit-filter:brightness(90%);filter:brightness(90%)}.code-icon[data-v-26281644]{width:50px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.code-text[data-v-26281644]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.font-middle[data-v-26281644]{font-size:12px;font-weight:500;color:#31363f;line-height:12px;margin:5px 0}.font-little[data-v-26281644]{font-size:12px;font-weight:400;color:#31363f;line-height:12px;margin:5px 0}.icon-font[data-v-26281644]{font-size:20px}.layout-search[data-v-dab5d425]{margin:0 auto;width:68%;padding:20px 10px 10px}.code-common[data-v-dab5d425]{width:100%;height:80px;border:1px solid #eee;border-radius:5px;margin:0 20px 20px;background:#f6f6f6;display:-webkit-box;display:-webkit-flex;display:flex;cursor:pointer}.code-common[data-v-dab5d425]:hover{-webkit-filter:brightness(90%);filter:brightness(90%)}.code-icon[data-v-dab5d425]{width:50px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.code-text[data-v-dab5d425]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.font-middle[data-v-dab5d425]{font-size:12px;font-weight:500;color:#31363f;line-height:12px;margin:5px 0}.font-little[data-v-dab5d425]{font-size:12px;font-weight:400;color:#31363f;line-height:12px;margin:5px 0}.icon-font[data-v-dab5d425]{font-size:20px}.layout-search[data-v-18a801ce]{margin:0 auto;width:68%;padding:20px 10px 10px}.layer-content .element-content[data-v-18a801ce]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:30px;padding:5px;border:1px solid #eee;border-radius:5px;margin-bottom:5px}.layer-content .element-content .element-info[data-v-18a801ce]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.layer-content .element-content .element-handler[data-v-18a801ce]{display:-webkit-box;display:-webkit-flex;display:flex}.layer-content .element-content[data-v-18a801ce]:not(.group-btn):hover{border:1px solid #409eff}.layer-content .layer-active[data-v-18a801ce]{border:1px solid #409eff}.element-type[data-v-18a801ce]{width:58px;margin-left:10px;font-size:12px}.element-text[data-v-18a801ce]{width:50px;font-size:12px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.element-layer[data-v-18a801ce]{width:80px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.element-layer[data-v-18a801ce]:hover{text-overflow:inherit;overflow:visible;white-space:pre-line}.common-icon[data-v-18a801ce]{width:24px;height:24px;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-radius:2px}.common-icon[data-v-18a801ce]:not(.group-btn):hover{background-color:#f1f1f1}.layout-search[data-v-da2de18b]{margin:0 auto;width:68%;padding:20px 10px 10px}.layer-draggable[data-v-da2de18b]{overflow-y:scroll;height:calc(100% - 100px)}.layer-content .element-content[data-v-da2de18b]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:30px;padding:5px;border:1px solid #eee;border-radius:5px;margin-bottom:5px}.layer-content .element-content .element-info[data-v-da2de18b]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.layer-content .element-content .element-handler[data-v-da2de18b]{display:-webkit-box;display:-webkit-flex;display:flex}.layer-content .element-content[data-v-da2de18b]:not(.group-btn):hover{border:1px solid #409eff}.layer-content .layer-active[data-v-da2de18b]{border:1px solid #409eff}.element-type[data-v-da2de18b]{width:58px;margin-left:10px;font-size:12px}.element-text[data-v-da2de18b]{width:50px;font-size:12px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.common-icon[data-v-da2de18b]{width:24px;height:24px;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-radius:2px}.common-icon[data-v-da2de18b]:not(.group-btn):hover{background-color:#f1f1f1}.layout-search[data-v-2758a033]{margin:0 auto;width:68%;padding:20px 10px 10px}.layer-draggable[data-v-2758a033]{overflow-y:scroll;height:calc(100% - 100px)}.layer-content .element-content[data-v-2758a033]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:30px;padding:5px;border:1px solid #eee;border-radius:5px;margin-bottom:5px}.layer-content .element-content .element-info[data-v-2758a033]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.layer-content .element-content .element-handler[data-v-2758a033]{display:-webkit-box;display:-webkit-flex;display:flex}.layer-content .element-content[data-v-2758a033]:not(.group-btn):hover{border:1px solid #409eff}.layer-content .layer-active[data-v-2758a033]{border:1px solid #409eff}.element-type[data-v-2758a033]{width:58px;margin-left:10px;font-size:12px}.element-text[data-v-2758a033]{width:50px;font-size:12px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.common-icon[data-v-2758a033]{width:24px;height:24px;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-radius:2px}.common-icon[data-v-2758a033]:not(.group-btn):hover{background-color:#f1f1f1}.layout-search[data-v-8eced280]{margin:0 auto;width:68%;padding:20px 10px 10px}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:rgba(31,45,61,.11);--el-carousel-arrow-hover-background:rgba(31,45,61,.23);--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal,.el-carousel--vertical{overflow:hidden}.el-carousel__container{height:300px;position:relative}.el-carousel__arrow{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-carousel-arrow-background);border:none;border-radius:50%;color:#fff;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-carousel-arrow-font-size);height:var(--el-carousel-arrow-size);-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:0;outline:none;padding:0;position:absolute;text-align:center;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:var(--el-transition-duration);transition:var(--el-transition-duration);width:var(--el-carousel-arrow-size);z-index:10}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{list-style:none;margin:0;padding:0;position:absolute;z-index:calc(var(--el-index-normal) + 1)}.el-carousel__indicators--horizontal{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:calc(var(--el-carousel-indicator-height) + var(--el-carousel-indicator-padding-vertical)*2);position:static;text-align:center;-webkit-transform:none;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--right{right:0}.el-carousel__indicators--labels{left:0;right:0;text-align:center;-webkit-transform:none;transform:none}.el-carousel__indicators--labels .el-carousel__button{color:#000;font-size:12px;height:auto;padding:2px 18px;width:auto}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal)}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{height:calc(var(--el-carousel-indicator-width)/2);width:var(--el-carousel-indicator-height)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{background-color:#fff;border:none;cursor:pointer;display:block;height:var(--el-carousel-indicator-height);margin:0;opacity:.48;outline:none;padding:0;-webkit-transition:var(--el-transition-duration);transition:var(--el-transition-duration);width:var(--el-carousel-indicator-width)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{opacity:0;-webkit-transform:translateY(-50%) translateX(-10px);transform:translateY(-50%) translate(-10px)}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{opacity:0;-webkit-transform:translateY(-50%) translateX(10px);transform:translateY(-50%) translate(10px)}.el-transitioning{-webkit-filter:url(#elCarouselHorizontal);filter:url(#elCarouselHorizontal)}.el-transitioning-vertical{-webkit-filter:url(#elCarouselVertical);filter:url(#elCarouselVertical)}.el-carousel__item{display:inline-block;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.el-carousel__item,.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item--card,.el-carousel__item.is-animating{-webkit-transition:-webkit-transform .4s ease-in-out;transition:-webkit-transform .4s ease-in-out;transition:transform .4s ease-in-out;transition:transform .4s ease-in-out,-webkit-transform .4s ease-in-out}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__item--card-vertical{height:50%;width:100%}.el-carousel__mask{background-color:var(--el-color-white);height:100%;left:0;opacity:.24;position:absolute;top:0;-webkit-transition:var(--el-transition-duration-fast);transition:var(--el-transition-duration-fast);width:100%}.layout-search[data-v-13beb6a4]{margin:0 auto;width:68%;padding:20px 10px 10px}.code-content[data-v-13beb6a4]{width:90%;margin:0 auto}.code-style[data-v-13beb6a4]{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;box-sizing:border-box;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;overflow-x:auto}.row[data-v-13beb6a4]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.code-item[data-v-13beb6a4]{width:100px;height:100px;margin-top:10px;background:pink}.full-ratio[data-v-13beb6a4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button[data-v-13beb6a4]{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0}.full-ratio .el-radio-button__inner[data-v-13beb6a4]{width:100%}.layout-templates[data-v-13beb6a4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;padding:2px}.layout-templates .thumbnail[data-v-13beb6a4]{display:-webkit-box;display:-webkit-flex;display:flex;width:124px;margin:2px}.layout-templates .thumbnail img[data-v-13beb6a4]{outline:1px solid #eee;margin:0 5px;cursor:pointer}.layout-templates .thumbnail img[data-v-13beb6a4]:hover{outline-color:#409eff}[data-v-13beb6a4] .full-ratio .el-radio-button__inner{width:100%}[data-v-13beb6a4] .full-ratio .el-radio-button{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0;-webkit-box-flex:1;-webkit-flex:1;flex:1;width:25%}.el-carousel__item[data-v-13beb6a4]{border-radius:10px}.el-carousel__item div[data-v-13beb6a4]{color:#475669;opacity:.75;line-height:135px;margin:0;text-align:center}.el-carousel__item[data-v-13beb6a4]:nth-child(2n){background-color:#99a9bf}.el-carousel__item[data-v-13beb6a4]:nth-child(odd){background-color:#d3dce6}.menu-content[data-v-ecd48d8d]{position:absolute;width:300px;left:50px;top:59px;z-index:1;background:#fff;border-left:1px solid #eee;border-right:1px solid #eee;border-bottom:1px solid #eee;-webkit-transition:left .5s linear,right .5s linear;transition:left .5s linear,right .5s linear}.menu-pool[data-v-ecd48d8d]{width:300px;height:100vh;-webkit-transition:left .3s linear;transition:left .3s linear;border-bottom:1px solid #eee}.menu-close[data-v-ecd48d8d]{cursor:default;left:-251px;top:calc(50% + 59px);-webkit-transform:translateY(-50%);transform:translateY(-50%);position:absolute}.layout-toggle[data-v-ecd48d8d]{background:#409eff;cursor:pointer;height:88px;position:absolute;right:-17px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:right .1s linear;transition:right .1s linear;width:16px;z-index:1;border-top-right-radius:20px;border-bottom-right-radius:20px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-top:1px solid #eee;border-bottom:1px solid #eee;border-right:1px solid #eee}.toggle-icon[data-v-ecd48d8d]{color:#fff}.thumbnail-slide[data-v-6ddf1c5c]{background-color:#fff;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none}.elements[data-v-6ddf1c5c]{-webkit-transform-origin:0 0;transform-origin:0 0}.background[data-v-6ddf1c5c]{width:100%;height:100%;background-position:center;position:absolute}.placeholder[data-v-6ddf1c5c]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.thumb-handle[data-v-bcc4d5dd]{height:40px;font-size:12px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;border-bottom:1px solid #eee}.thumb-handle .btn[data-v-bcc4d5dd]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.thumb-handle .btn[data-v-bcc4d5dd]:hover{background-color:#f9f9f9}.thumb-handle .select-btn[data-v-bcc4d5dd]{width:30px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-left:1px solid #eee}.thumb-handle .select-btn[data-v-bcc4d5dd]:hover{background-color:#f9f9f9}.thumb-handle .icon[data-v-bcc4d5dd]{margin-right:3px;font-size:14px}.thumb-content[data-v-bcc4d5dd]{padding:5px 0;-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;border-left:1px solid #eee}.thumbnail-item[data-v-bcc4d5dd]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:5px 0}.thumbnail-item .thumbnail[data-v-bcc4d5dd]{outline:1px solid rgba(64,158,255,.15)}.thumbnail-item.active .label[data-v-bcc4d5dd]{color:#409eff}.thumbnail-item.active .thumbnail[data-v-bcc4d5dd],.thumbnail-item.selected .thumbnail[data-v-bcc4d5dd]{outline-color:#409eff}.label[data-v-bcc4d5dd]{font-size:12px;color:#999;width:20px;cursor:-webkit-grab;cursor:grab}.label.offset-left[data-v-bcc4d5dd]{position:relative;left:-4px}.label[data-v-bcc4d5dd]:active{cursor:-webkit-grabbing;cursor:grabbing}.thumb-number[data-v-bcc4d5dd]{height:0;font-size:12px;border-top:1px solid #eee;line-height:40px;text-align:center;color:#666}.background-grid[data-v-4d182fc1]{--offsetX: 0px;--offsetY: 0px;--size: 8px;--color: #dedcdc;background-image:-webkit-linear-gradient(45deg,var(--color) 25%,transparent 0,transparent 75%,var(--color) 0),-webkit-linear-gradient(45deg,var(--color) 25%,transparent 0,transparent 75%,var(--color) 0);background-image:linear-gradient(45deg,var(--color) 25%,transparent 0,transparent 75%,var(--color) 0),linear-gradient(45deg,var(--color) 25%,transparent 0,transparent 75%,var(--color) 0);background-position:var(--offsetX) var(--offsetY),calc(var(--size) + var(--offsetX)) calc(var(--size) + var(--offsetY));background-size:calc(var(--size) * 2) calc(var(--size) * 2)}.handler-icon[data-v-c4d2b706]{font-size:16px;width:18px}.el-divider{position:relative}.el-divider--horizontal{border-top:1px var(--el-border-color) var(--el-border-style);display:block;height:1px;margin:24px 0;width:100%}.el-divider--vertical{border-left:1px var(--el-border-color) var(--el-border-style);display:inline-block;height:1em;margin:0 8px;position:relative;vertical-align:middle;width:1px}.el-divider__text{background-color:var(--el-bg-color);color:var(--el-text-color-primary);font-size:14px;font-weight:500;padding:0 20px;position:absolute}.el-divider__text.is-left{left:20px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-divider__text.is-center{left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.self-main[data-v-520996ff]{padding:30px;background:#e8e8e8}.self-content[data-v-520996ff]{margin:0 auto;width:300px}.self-main canvas[data-v-520996ff]{max-width:100%;width:300px;max-height:100%;height:200px;-o-object-fit:contain;object-fit:contain;-webkit-filter:drop-shadow(2px 2px 8px rgba(0,0,0,.2));filter:drop-shadow(2px 2px 8px rgba(0,0,0,.2))}.self-footer[data-v-520996ff]{padding:15px 30px;margin:0 auto;text-align:center}.self-color[data-v-520996ff]{margin:15px 0}.color-content[data-v-520996ff]{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;max-width:calc(100% - 90px)}.color-item[data-v-520996ff]{height:32px;width:32px;-webkit-box-flex:0;-webkit-flex:0 1 32px;flex:0 1 32px;display:inline-block;cursor:pointer;margin:0 2px;-webkit-transition:box-shadow .2s ease,-webkit-transform .2s ease;transition:box-shadow .2s ease,-webkit-transform .2s ease;transition:transform .2s ease,box-shadow .2s ease;transition:transform .2s ease,box-shadow .2s ease,-webkit-transform .2s ease}.ml-5[data-v-520996ff]{margin-left:5px}.color-select[data-v-520996ff]{width:32px;height:32px}.self-background .el-dialog__body,.self-background .el-dialog__header{padding:0}.icon-btn[data-v-05f84f9a]{cursor:pointer}.canvas-design-panel[data-v-05f84f9a]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.row[data-v-05f84f9a]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.title[data-v-05f84f9a]{margin-bottom:10px}.fixed-ratio[data-v-05f84f9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.slider-name[data-v-05f84f9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.slider-num[data-v-05f84f9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.mb-10[data-v-05f84f9a]{margin-bottom:10px}.full-row[data-v-05f84f9a]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.full-group[data-v-05f84f9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-group .el-button[data-v-05f84f9a]{width:50%}.full-ratio[data-v-05f84f9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button[data-v-05f84f9a]{width:50%}.full-ratio .el-radio-button__inner[data-v-05f84f9a]{width:100%}.background-image[data-v-05f84f9a]{height:0;padding-bottom:56.25%;border:1px dashed var(--el-border-color);border-radius:2px;position:relative;-webkit-transition:all .2s;transition:all .2s}.background-image[data-v-05f84f9a]:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.background-image .content[data-v-05f84f9a]{position:absolute;inset:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.theme-list[data-v-05f84f9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;align-content:flex-start}.theme-item[data-v-05f84f9a]{width:48%;margin-bottom:4%;padding-bottom:30%;border-radius:2px;position:relative;cursor:pointer}.theme-item[data-v-05f84f9a]:not(:nth-child(2n)){margin-right:4%}.theme-item .theme-item-content[data-v-05f84f9a]{position:absolute;inset:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:8px;border:1px solid #eee}.theme-item .text[data-v-05f84f9a]{font-size:16px}.theme-item .colors[data-v-05f84f9a]{display:-webkit-box;display:-webkit-flex;display:flex}.theme-item .color-block[data-v-05f84f9a]{margin-top:8px;width:12px;height:12px;margin-right:2px}.theme-item:hover .btns[data-v-05f84f9a]{display:-webkit-box;display:-webkit-flex;display:flex}.theme-item .btns[data-v-05f84f9a]{position:absolute;inset:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:none;background-color:#00000040}.theme-item .btn[data-v-05f84f9a]{width:72px;padding:5px 0;text-align:center;background-color:#409eff;color:#fff;font-size:12px;border-radius:2px}.theme-item .btn[data-v-05f84f9a]:hover{background-color:#c42f19}.theme-item .btn+.btn[data-v-05f84f9a]{margin-top:5px}.slider[data-v-05f84f9a]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.mt-10[data-v-05f84f9a]{margin-top:10px}.color-group[data-v-05f84f9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1 1;flex:1 1}.color-box[data-v-05f84f9a]{-webkit-box-flex:1;-webkit-flex:1 1;flex:1 1;height:25px}.color-contianer[data-v-05f84f9a]:hover{box-shadow:0 0 20px 2px #0006;width:calc(100% - 5px)!important;cursor:pointer}.config-strength[data-v-05f84f9a],.config-variance[data-v-05f84f9a],.config-size[data-v-05f84f9a]{-webkit-box-flex:10;-webkit-flex:10;flex:10}.gradient-box[data-v-05f84f9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.gradient-box .el-button[data-v-05f84f9a]{width:100%}.background-gradient-body[data-v-05f84f9a]{height:300px;overflow:auto}.gradient-content[data-v-05f84f9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding-bottom:2px}.gradient-content[data-v-05f84f9a]:hover{width:calc(100% - 2px)!important;border-color:#409eff;cursor:pointer}.background-shading-body[data-v-05f84f9a]{height:500px;overflow:auto}.shading-box[data-v-05f84f9a]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:50px;margin-bottom:5px;border:1px solid transparent;border-color:#d9d9d9;border-radius:5px}.shading-box[data-v-05f84f9a]:hover{width:calc(100% - 2px)!important;cursor:pointer;border-color:#409eff}.color-item[data-v-05f84f9a]{height:42px;border:1px solid transparent;border-color:#d9d9d9;border-radius:5px;-webkit-box-flex:1;-webkit-flex:1;flex:1;display:inline-block;cursor:pointer;margin:0 2px;-webkit-transition:box-shadow .2s ease,-webkit-transform .2s ease;transition:box-shadow .2s ease,-webkit-transform .2s ease;transition:transform .2s ease,box-shadow .2s ease;transition:transform .2s ease,box-shadow .2s ease,-webkit-transform .2s ease}.color-item[data-v-05f84f9a]:hover{border-color:#409eff}.color-non[data-v-05f84f9a]{display:none}.color-select[data-v-05f84f9a]{width:100%;height:100%}.common-slider[data-v-05f84f9a]{width:90%;margin:0 auto}[data-v-05f84f9a] .el-input .el-input-group__prepend,[data-v-05f84f9a] .el-input .el-input-group__append{padding:0 5px}[data-v-05f84f9a] .full-ratio .el-radio-button__inner{width:100%}[data-v-46538cf2] .w-full .el-radio-button__inner{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.icon-btn[data-v-6e0b4194]{cursor:pointer}.canvas-design-panel[data-v-6e0b4194]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.row[data-v-6e0b4194]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.title[data-v-6e0b4194]{margin-bottom:10px}.fixed-ratio[data-v-6e0b4194]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.slider-name[data-v-6e0b4194]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.mb-10[data-v-6e0b4194]{margin-bottom:10px}.full-row[data-v-6e0b4194]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.full-group[data-v-6e0b4194]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-group .el-button[data-v-6e0b4194]{width:50%}.full-ratio[data-v-6e0b4194]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button[data-v-6e0b4194]{width:50%}.full-ratio .el-radio-button__inner[data-v-6e0b4194]{width:100%}.background-image[data-v-6e0b4194]{height:0;padding-bottom:56.25%;border:1px dashed var(--el-border-color);border-radius:2px;position:relative;-webkit-transition:all .2s;transition:all .2s}.background-image[data-v-6e0b4194]:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.background-image .content[data-v-6e0b4194]{position:absolute;inset:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.theme-list[data-v-6e0b4194]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;align-content:flex-start}.theme-item[data-v-6e0b4194]{width:48%;margin-bottom:4%;padding-bottom:30%;border-radius:2px;position:relative;cursor:pointer}.theme-item[data-v-6e0b4194]:not(:nth-child(2n)){margin-right:4%}.theme-item .theme-item-content[data-v-6e0b4194]{position:absolute;inset:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:8px;border:1px solid #eee}.theme-item .text[data-v-6e0b4194]{font-size:16px}.theme-item .colors[data-v-6e0b4194]{display:-webkit-box;display:-webkit-flex;display:flex}.theme-item .color-block[data-v-6e0b4194]{margin-top:8px;width:12px;height:12px;margin-right:2px}.theme-item:hover .btns[data-v-6e0b4194]{display:-webkit-box;display:-webkit-flex;display:flex}.theme-item .btns[data-v-6e0b4194]{position:absolute;inset:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:none;background-color:#00000040}.theme-item .btn[data-v-6e0b4194]{width:72px;padding:5px 0;text-align:center;background-color:#409eff;color:#fff;font-size:12px;border-radius:2px}.theme-item .btn[data-v-6e0b4194]:hover{background-color:#c42f19}.theme-item .btn+.btn[data-v-6e0b4194]{margin-top:5px}.mt-10[data-v-6e0b4194]{margin-top:10px}.slider-num[data-v-6e0b4194]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}[data-v-6e0b4194] .el-input .el-input-group__prepend,[data-v-6e0b4194] .el-input .el-input-group__append{padding:0 5px}[data-v-6e0b4194] .full-ratio .el-radio-button__inner{width:100%}[data-v-6e0b4194] .size-row .el-input-group__prepend{min-width:24px}.align-item[data-v-ed36b269]{height:30px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;border-radius:2px}.align-item[data-v-ed36b269]:hover{background-color:#f1f1f1}.mb-10[data-v-ed36b269]{margin-bottom:10px}.fixed-ratio[data-v-ed36b269]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.position-col[data-v-ed36b269] .el-input-number{width:auto}.position-col .swipe-input[data-v-ed36b269]{position:relative}.position-col .swipe-input[data-v-ed36b269]:after{width:25px;content:attr(content);height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:absolute;right:var(--el-input-number-unit-offset-x);color:#999}.angle-col[data-v-ed36b269]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;border-radius:2px}.angle-col[data-v-ed36b269]:hover{background-color:#f1f1f1}[data-v-ed36b269] .el-input .el-input-group__prepend{padding:0 5px;width:7px}[data-v-ed36b269] .el-input .el-input-group__append{padding:0 5px}[data-v-ed36b269] .full-ratio .el-radio-button__inner{width:100%}.row[data-v-b05d2e3f]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.stroke-name[data-v-b05d2e3f]{-webkit-box-flex:2;-webkit-flex:2;flex:2}.stroke-option[data-v-b05d2e3f]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.switch-wrapper[data-v-b05d2e3f]{text-align:right}.slider[data-v-b05d2e3f]{-webkit-box-flex:3;-webkit-flex:3;flex:3;width:80%}.row[data-v-7276bdbc]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-7276bdbc]{text-align:right}.slider[data-v-7276bdbc]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.slider-name[data-v-7276bdbc]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.slider-num[data-v-7276bdbc]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.row[data-v-dcd9707f]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.slider[data-v-dcd9707f]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.slider-name[data-v-dcd9707f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.slider-num[data-v-dcd9707f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.row[data-v-906843ba]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-906843ba]{text-align:right}.slider[data-v-906843ba],.select[data-v-906843ba]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.full-btn[data-v-fda38ebf]{width:98%}.full-btn .btn-right[data-v-fda38ebf]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.icon-btn[data-v-a8879790]{cursor:pointer}.canvas-design-panel[data-v-a8879790]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.row[data-v-a8879790]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.title[data-v-a8879790]{margin-bottom:10px}.fixed-ratio[data-v-a8879790]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.slider-name[data-v-a8879790]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.slider-num[data-v-a8879790]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.mb-10[data-v-a8879790]{margin-bottom:10px}.full-row[data-v-a8879790]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.full-group[data-v-a8879790]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-group .el-button[data-v-a8879790]{width:50%}.full-ratio[data-v-a8879790]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button[data-v-a8879790]{width:50%}.full-ratio .el-radio-button__inner[data-v-a8879790]{width:100%}.background-image[data-v-a8879790]{height:0;padding-bottom:56.25%;border:1px dashed var(--el-border-color);border-radius:2px;position:relative;-webkit-transition:all .2s;transition:all .2s}.background-image[data-v-a8879790]:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.background-image .content[data-v-a8879790]{position:absolute;inset:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.theme-list[data-v-a8879790]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;align-content:flex-start}.theme-item[data-v-a8879790]{width:48%;margin-bottom:4%;padding-bottom:30%;border-radius:2px;position:relative;cursor:pointer}.theme-item[data-v-a8879790]:not(:nth-child(2n)){margin-right:4%}.theme-item .theme-item-content[data-v-a8879790]{position:absolute;inset:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:8px;border:1px solid #eee}.theme-item .text[data-v-a8879790]{font-size:16px}.theme-item .colors[data-v-a8879790]{display:-webkit-box;display:-webkit-flex;display:flex}.theme-item .color-block[data-v-a8879790]{margin-top:8px;width:12px;height:12px;margin-right:2px}.theme-item:hover .btns[data-v-a8879790]{display:-webkit-box;display:-webkit-flex;display:flex}.theme-item .btns[data-v-a8879790]{position:absolute;inset:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:none;background-color:#00000040}.theme-item .btn[data-v-a8879790]{width:72px;padding:5px 0;text-align:center;background-color:#409eff;color:#fff;font-size:12px;border-radius:2px}.theme-item .btn[data-v-a8879790]:hover{background-color:#c42f19}.theme-item .btn+.btn[data-v-a8879790]{margin-top:5px}.slider[data-v-a8879790]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.mt-10[data-v-a8879790]{margin-top:10px}.color-group[data-v-a8879790]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1 1;flex:1 1}.color-box[data-v-a8879790]{-webkit-box-flex:1;-webkit-flex:1 1;flex:1 1;height:25px}.color-contianer[data-v-a8879790]:hover{box-shadow:0 0 20px 2px #0006;width:calc(100% - 5px)!important;cursor:pointer}.config-strength[data-v-a8879790],.config-variance[data-v-a8879790],.config-size[data-v-a8879790]{-webkit-box-flex:10;-webkit-flex:10;flex:10}.gradient-box[data-v-a8879790]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.gradient-box .el-button[data-v-a8879790]{width:100%}.background-gradient-body[data-v-a8879790]{height:300px;overflow:auto}.gradient-content[data-v-a8879790]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding-bottom:2px}.gradient-content[data-v-a8879790]:hover{width:calc(100% - 2px)!important;border-color:#409eff;cursor:pointer}.background-shading-body[data-v-a8879790]{height:500px;overflow:auto}.shading-box[data-v-a8879790]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:50px;margin-bottom:5px;border:1px solid transparent;border-color:#d9d9d9;border-radius:5px}.shading-box[data-v-a8879790]:hover{width:calc(100% - 2px)!important;cursor:pointer;border-color:#409eff}.color-item[data-v-a8879790]{height:42px;border:1px solid transparent;border-color:#d9d9d9;border-radius:5px;-webkit-box-flex:1;-webkit-flex:1;flex:1;display:inline-block;cursor:pointer;margin:0 2px;-webkit-transition:box-shadow .2s ease,-webkit-transform .2s ease;transition:box-shadow .2s ease,-webkit-transform .2s ease;transition:transform .2s ease,box-shadow .2s ease;transition:transform .2s ease,box-shadow .2s ease,-webkit-transform .2s ease}.color-item[data-v-a8879790]:hover{border-color:#409eff}.color-non[data-v-a8879790]{display:none}.color-select[data-v-a8879790]{width:100%;height:100%}.common-slider[data-v-a8879790]{width:90%;margin:0 auto}[data-v-a8879790] .el-input .el-input-group__prepend,[data-v-a8879790] .el-input .el-input-group__append{padding:0 5px}[data-v-a8879790] .full-ratio .el-radio-button__inner{width:100%}.text-style-panel[data-v-b094bc3f]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.row[data-v-b094bc3f]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.preset-style[data-v-b094bc3f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:10px}.preset-style-item[data-v-b094bc3f]{width:50%;height:50px;border:solid 1px #d6d6d6;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;position:relative;cursor:pointer;-webkit-transition:all .2s;transition:all .2s}.preset-style-item[data-v-b094bc3f]:hover{border-color:#409eff;color:#409eff;z-index:1}.preset-style-item[data-v-b094bc3f]:nth-child(2n){margin-left:-1px}.preset-style-item[data-v-b094bc3f]:nth-child(n+3){margin-top:-1px}.font-size-btn[data-v-b094bc3f]{padding:0}.link-popover[data-v-b094bc3f]{width:240px}.link-popover .btns[data-v-b094bc3f]{margin-top:10px;text-align:right}.mt-10[data-v-b094bc3f]{margin-top:10px}.full-group[data-v-b094bc3f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-group .el-button[data-v-b094bc3f]{width:50%}.tooltip-popover .el-button[data-v-b094bc3f]{width:100%;border-radius:0}.tooltip-popover .font-color[data-v-b094bc3f]{border-top-left-radius:4px;border-bottom-left-radius:4px;border-right:0}.tooltip-popover .high-light[data-v-b094bc3f]{border-right:0}.font-size[data-v-b094bc3f]{border-top-left-radius:0;border-bottom-left-radius:0}.full-ratio[data-v-b094bc3f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button[data-v-b094bc3f]{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button__inner[data-v-b094bc3f]{width:100%}.flex-align[data-v-b094bc3f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.full-checkbox[data-v-b094bc3f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-button[data-v-b094bc3f]{width:100%}.full-button .iconfont[data-v-b094bc3f]{font-size:32px}[data-v-b094bc3f] .full-ratio .el-radio-button__inner{width:100%}[data-v-b094bc3f] .full-ratio .el-radio-button,[data-v-b094bc3f] .full-checkbox .el-checkbox-button{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0;-webkit-box-flex:1;-webkit-flex:1;flex:1}[data-v-b094bc3f] .full-checkbox .el-checkbox-button__inner{width:100%}.row[data-v-5fd274a4]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-5fd274a4]{text-align:right}.el-checkbox-group{font-size:0;line-height:0}.row[data-v-17d5d823]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.full-group[data-v-17d5d823]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-group .el-checkbox-button[data-v-17d5d823]{width:50%}[data-v-17d5d823] .full-group .el-checkbox-button__inner{width:100%}.row[data-v-bf670e29]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.switch-wrapper[data-v-bf670e29]{text-align:right}.filter[data-v-bf670e29]{font-size:12px}.filter-item[data-v-bf670e29]{padding:8px 0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.filter-item .name[data-v-bf670e29]{width:60px}.filter-item .filter-slider[data-v-bf670e29]{-webkit-box-flex:1;-webkit-flex:1;flex:1;margin:0 6px}.slider-num[data-v-bf670e29]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.flex-align[data-v-bf670e29]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.flex-right[data-v-bf670e29]{text-align:right}.mt-10[data-v-bf670e29]{margin-top:10px}.full-group[data-v-bf670e29]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-group .el-checkbox-button[data-v-bf670e29]{width:50%}.full-checkbox[data-v-bf670e29]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-checkbox .el-checkbox-button[data-v-bf670e29]{width:25%}.full-ratio[data-v-bf670e29]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button[data-v-bf670e29]{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0}.full-ratio .el-radio-button__inner[data-v-bf670e29]{width:100%}.slider-wrapper[data-v-bf670e29]{width:88%;margin:0 auto}[data-v-bf670e29] .full-group .el-checkbox-button__inner{width:100%}[data-v-bf670e29] .full-checkbox .el-checkbox-button__inner{width:100%;padding:8px 0}[data-v-bf670e29] .full-ratio .el-radio-button__inner{width:100%}[data-v-bf670e29] .full-ratio .el-radio-button{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0;-webkit-box-flex:1;-webkit-flex:1;flex:1;width:25%}.row[data-v-f1298c81]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-f1298c81]{text-align:right}.opacity-slider[data-v-f1298c81]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.slider-name[data-v-f1298c81]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.slider-num[data-v-f1298c81]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.blend-row[data-v-05da0de7]{margin-top:10px}.belnd-col[data-v-05da0de7]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base)}.row[data-v-a89c593e]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-a89c593e]{text-align:right}.origin-image[data-v-a89c593e]{height:100px;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f9f9f9;margin-bottom:10px}.full-width-btn[data-v-a89c593e]{width:100%;margin-bottom:10px}.full-btn[data-v-a89c593e]{width:100%}.btn-icon[data-v-a89c593e]{margin-right:3px}.clip[data-v-a89c593e]{width:260px;font-size:12px}.clip .title[data-v-a89c593e]{margin-bottom:5px}.shape-clip[data-v-a89c593e]{margin-bottom:10px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;align-content:flex-start}.shape-clip-item[data-v-a89c593e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;width:16%;margin-bottom:5%}.shape-clip-item[data-v-a89c593e]:not(:nth-child(5n)){margin-right:5%}.shape-clip-item:hover .shape[data-v-a89c593e]{background-color:#ccc}.shape-clip-item .shape[data-v-a89c593e]{width:40px;height:40px;background-color:#e1e1e1}.clip-image[data-v-a89c593e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.clip-image .clip-button[data-v-a89c593e]{width:70%}.clip-image .clip-popover[data-v-a89c593e]{width:30%}.matting-button[data-v-a89c593e]{width:100%}.mt-10[data-v-a89c593e]{margin-top:10px}.shape-style-panel[data-v-a9f37d6c]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.row[data-v-a9f37d6c]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.font-size-btn[data-v-a9f37d6c]{padding:0}.slider[data-v-a9f37d6c]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.mb-10[data-v-a9f37d6c]{margin-bottom:10px}.full-row[data-v-a9f37d6c]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.gradient-box[data-v-a9f37d6c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.gradient-box .el-button[data-v-a9f37d6c]{width:100%}.mt-10[data-v-a9f37d6c]{margin-top:10px}.full-group[data-v-a9f37d6c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-group .el-button[data-v-a9f37d6c]{width:50%}.tooltip-popover .el-button[data-v-a9f37d6c]{width:100%;border-radius:0}.tooltip-popover .font-color[data-v-a9f37d6c]{border-top-left-radius:4px;border-bottom-left-radius:4px;border-right:0}.tooltip-popover .high-light[data-v-a9f37d6c]{border-right:0}.font-size[data-v-a9f37d6c]{border-top-left-radius:0;border-bottom-left-radius:0}.shape-style-panel[data-v-8caca6da]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.row[data-v-8caca6da]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.font-size-btn[data-v-8caca6da]{padding:0}.slider[data-v-8caca6da]{-webkit-box-flex:3;-webkit-flex:3;flex:3}.mb-10[data-v-8caca6da]{margin-bottom:10px}.full-row[data-v-8caca6da]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.gradient-box[data-v-8caca6da]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.gradient-box .el-button[data-v-8caca6da]{width:100%}.mt-10[data-v-8caca6da]{margin-top:10px}.full-group[data-v-8caca6da]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-group .el-button[data-v-8caca6da]{width:50%}.tooltip-popover .el-button[data-v-8caca6da]{width:100%;border-radius:0}.tooltip-popover .font-color[data-v-8caca6da]{border-top-left-radius:4px;border-bottom-left-radius:4px;border-right:0}.tooltip-popover .high-light[data-v-8caca6da]{border-right:0}.font-size[data-v-8caca6da]{border-top-left-radius:0;border-bottom-left-radius:0}.row[data-v-b6b1c530]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.line-btn[data-v-b6b1c530]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0!important}.line-btn .line-wrapper[data-v-b6b1c530]{margin-left:8px}.line-wrapper[data-v-b6b1c530]{overflow:visible}.line-btn-icon[data-v-b6b1c530]{width:30px;font-size:12px;margin-top:2px;color:#bfbfbf}.preset-point-style[data-v-b6b1c530]{padding:0 10px}.preset-point-style+.preset-point-style[data-v-b6b1c530]{margin-top:10px}.row[data-v-60084897]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-60084897]{text-align:right}.origin-image[data-v-60084897]{height:100px;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f9f9f9;margin-bottom:10px}.full-width-btn[data-v-60084897]{width:100%;margin-bottom:10px}.btn-icon[data-v-60084897]{margin-right:3px}.clip[data-v-60084897]{width:260px;font-size:12px}.clip .title[data-v-60084897]{margin-bottom:5px}.title[data-v-60084897]{margin-bottom:10px}.shape-clip[data-v-60084897]{margin-bottom:10px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;align-content:flex-start}.shape-clip-item[data-v-60084897]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;width:16%;margin-bottom:5%}.shape-clip-item[data-v-60084897]:not(:nth-child(5n)){margin-right:5%}.shape-clip-item:hover .shape[data-v-60084897]{background-color:#ccc}.shape-clip-item .shape[data-v-60084897]{width:40px;height:40px;background-color:#e1e1e1}.config-margin[data-v-60084897],.full-ratio[data-v-60084897]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button[data-v-60084897]{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0}.full-ratio .el-radio-button__inner[data-v-60084897],[data-v-60084897] .full-ratio .el-radio-button__inner{width:100%}[data-v-60084897] .full-ratio .el-radio-button{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0;-webkit-box-flex:1;-webkit-flex:1;flex:1;width:25%}.el-carousel__item[data-v-60084897]{border-radius:10px}.el-carousel__item div[data-v-60084897]{color:#475669;opacity:.75;line-height:var(--QRSize) + "px";margin:0;text-align:center}.el-carousel__item[data-v-60084897]:nth-child(2n){background-color:#99a9bf}.el-carousel__item[data-v-60084897]:nth-child(odd){background-color:#d3dce6}.row[data-v-442adfb6]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-442adfb6]{text-align:right}.origin-image[data-v-442adfb6]{height:100px;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f9f9f9;margin-bottom:10px}.full-width-btn[data-v-442adfb6]{width:100%;margin-bottom:10px}.btn-icon[data-v-442adfb6]{margin-right:3px}.mb-10[data-v-442adfb6]{margin-bottom:10px}.clip[data-v-442adfb6]{width:260px;font-size:12px}.clip .title[data-v-442adfb6]{margin-bottom:5px}.title[data-v-442adfb6]{margin-bottom:10px}.shape-clip[data-v-442adfb6]{margin-bottom:10px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;align-content:flex-start}.shape-clip-item[data-v-442adfb6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;width:16%;margin-bottom:5%}.shape-clip-item[data-v-442adfb6]:not(:nth-child(5n)){margin-right:5%}.shape-clip-item:hover .shape[data-v-442adfb6]{background-color:#ccc}.shape-clip-item .shape[data-v-442adfb6]{width:40px;height:40px;background-color:#e1e1e1}.config-margin[data-v-442adfb6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-row[data-v-442adfb6]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.full-ratio[data-v-442adfb6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button[data-v-442adfb6]{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0}.full-ratio .el-radio-button__inner[data-v-442adfb6],[data-v-442adfb6] .full-ratio .el-radio-button__inner{width:100%}[data-v-442adfb6] .full-ratio .el-radio-button{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0;-webkit-box-flex:1;-webkit-flex:1;flex:1;width:25%}.el-carousel__item[data-v-442adfb6]{border-radius:10px}.el-carousel__item div[data-v-442adfb6]{color:#475669;opacity:.75;line-height:var(--QRSize) + "px";margin:0;text-align:center}.el-carousel__item[data-v-442adfb6]:nth-child(2n){background-color:#99a9bf}.el-carousel__item[data-v-442adfb6]:nth-child(odd){background-color:#d3dce6}[data-v-442adfb6] .size-row .el-input-group__prepend{min-width:24px}.row[data-v-a6a7e778]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.font-size-btn[data-v-a6a7e778]{padding:0}.mt-10[data-v-a6a7e778]{margin-top:10px}.full-group[data-v-a6a7e778]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-group .el-button[data-v-a6a7e778]{width:50%}.tooltip-popover .el-button[data-v-a6a7e778]{width:100%;border-radius:0}.tooltip-popover .font-color[data-v-a6a7e778]{border-top-left-radius:4px;border-bottom-left-radius:4px;border-right:0}.tooltip-popover .high-light[data-v-a6a7e778]{border-right:0}.font-size[data-v-a6a7e778]{border-top-left-radius:0;border-bottom-left-radius:0}.full-ratio[data-v-a6a7e778]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button[data-v-a6a7e778]{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0;-webkit-box-flex:1;-webkit-flex:1;flex:1}.full-ratio .el-radio-button__inner[data-v-a6a7e778],[data-v-a6a7e778] .full-ratio .el-radio-button__inner{width:100%}[data-v-a6a7e778] .full-ratio .el-radio-button{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:0;-webkit-box-flex:1;-webkit-flex:1;flex:1}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary);-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-checkbox-text-color);cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);height:var(--el-checkbox-height,32px);margin-right:30px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{border-radius:calc(var(--el-border-radius-base) - 1px);padding:0 11px 0 7px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{border-radius:var(--el-checkbox-border-radius);outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px}.el-checkbox__input{cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:none;position:relative;white-space:nowrap}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-icon-color);cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-checked-icon-color);-webkit-transform:rotate(45deg) scaleY(1);transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-checked-icon-color);content:"";display:block;height:2px;left:0;position:absolute;right:0;top:5px;-webkit-transform:scale(.5);transform:scale(.5)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{background-color:var(--el-checkbox-bg-color);border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;display:inline-block;height:var(--el-checkbox-input-height);position:relative;-webkit-transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);width:var(--el-checkbox-input-width);z-index:var(--el-index-normal)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{border:1px solid transparent;border-left:0;border-top:0;box-sizing:content-box;content:"";height:7px;left:4px;position:absolute;top:1px;-webkit-transform:rotate(45deg) scaleY(0);transform:rotate(45deg) scaleY(0);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:-webkit-transform .15s ease-in .05s;transition:-webkit-transform .15s ease-in .05s;transition:transform .15s ease-in .05s;transition:transform .15s ease-in .05s,-webkit-transform .15s ease-in .05s;width:3px}.el-checkbox__original{height:0;margin:0;opacity:0;outline:none;position:absolute;width:0;z-index:-1}.el-checkbox__label{display:inline-block;font-size:var(--el-checkbox-font-size);line-height:1;padding-left:8px}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox:last-of-type{margin-right:0}.row-info[data-v-7d377b04]{margin-top:10px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.row-info .el-col[data-v-7d377b04]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.row-info .info-handler[data-v-7d377b04]{-webkit-box-pack:end;-webkit-justify-content:end;justify-content:end}.row-effect[data-v-7d377b04]{-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin-top:10px}.row-effect .effect-handler[data-v-7d377b04]{-webkit-box-pack:end;-webkit-justify-content:end;justify-content:end}.row-effect .effect-handler .el-col[data-v-7d377b04]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.row-effect .effect-layer[data-v-7d377b04]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.row-effect .effect-layer .layer-icon[data-v-7d377b04]{font-size:12px}.row-effect .effect-layer .icon-size[data-v-7d377b04]{font-size:14px}.row-effect .effect-style[data-v-7d377b04]{margin-top:10px;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.row-effect .effect-style .style-row[data-v-7d377b04]{-webkit-box-pack:end;-webkit-justify-content:end;justify-content:end}.row-effect .effect-style .style-row .el-col .color-btn[data-v-7d377b04]{margin-left:1px}.row-effect .effect-style .color-btn[data-v-7d377b04]{width:99%}.handler-item[data-v-7d377b04]{width:32px;height:32px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:0 2px;border-radius:2px;font-size:16px;overflow:hidden;cursor:pointer}.handler-item[data-v-7d377b04]:hover{background:#f1f1f1}.handler-item:hover .icon-down[data-v-7d377b04]{margin-top:3px}[data-v-7d377b04] .effect-style .el-input .el-input__wrapper{padding:1px 5px;margin-right:1px}[data-v-7d377b04] .effect-style .el-input .el-input__inner{text-align:left}[data-v-7d377b04] .effect-style .el-select .el-select__wrapper{padding:0 5px}[data-v-7d377b04] .effect-style .el-select .el-select__placeholder{width:200%}[data-v-7d377b04] .style-row .el-input-number{width:60px}[data-v-7d377b04] .style-row .el-input-number span{width:12px;border-right:1px solid var(--el-border-color)}.layer-content .element-content[data-v-e8d16f20]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:35px;padding:5px 2px;border:1px solid #eee;border-radius:2px;margin-bottom:5px}.layer-content .element-content .element-info[data-v-e8d16f20]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.layer-content .element-content .element-handler[data-v-e8d16f20]{display:-webkit-box;display:-webkit-flex;display:flex}.layer-content .element-content[data-v-e8d16f20]:not(.group-btn):hover{border:1px solid #409eff}.layer-content .layer-active[data-v-e8d16f20]{border:1px solid #409eff}.element-type[data-v-e8d16f20]{margin-left:5px;font-size:12px}.element-text[data-v-e8d16f20]{width:50px;font-size:12px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.element-layer[data-v-e8d16f20]{margin-left:3px;width:80px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.element-layer[data-v-e8d16f20]:hover{text-overflow:inherit;overflow:visible;white-space:pre-line}.common-icon[data-v-e8d16f20]{width:24px;height:24px;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-radius:2px}.common-icon[data-v-e8d16f20]:not(.group-btn):hover{background-color:#f1f1f1}.common-span[data-v-e8d16f20]{width:24px}.icon-font[data-v-e8d16f20]{cursor:pointer;border-radius:2px}.icon-font[data-v-e8d16f20]:not(.group-btn):hover{background-color:#f1f1f1}.icon-span[data-v-e8d16f20]{width:16px}.mask-image[data-v-e8d16f20]{height:35px;padding:3px 0}.mask-image img[data-v-e8d16f20]{height:100%;border:1px solid #eee}.layer-draggable[data-v-4f005c69]{overflow-y:scroll;overflow-x:hidden;height:calc(100% - 100px)}.layer-draggable[data-v-ce066ac9]{overflow-y:scroll;overflow-x:hidden;height:calc(100% - 100px);width:102%}.layout-search[data-v-ccaee7e3]{margin:0 auto;width:68%;padding:20px 10px 10px}.right-top[data-v-a0c9d282]{height:40px;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-bottom:1px solid #eee}.right-bottom[data-v-a0c9d282]{height:calc(100% - 40px)}.right-tabs[data-v-a0c9d282]{height:32px;font-size:12px;-webkit-flex-shrink:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tab[data-v-a0c9d282]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:#f9f9f9;border-bottom:1px solid #eee;cursor:pointer}.tab.active[data-v-a0c9d282]{background-color:#fff;border-bottom-color:#fff}.tab+.tab[data-v-a0c9d282]{border-left:1px solid #eee}.right-content[data-v-a0c9d282]{padding:10px 5px 10px 10px;font-size:13px;overflow-y:scroll;overflow-x:hidden;height:100%}.dom-barcode[data-v-3d10c257],.dom-snap[data-v-3d10c257]{height:50%}.el-tour{--el-tour-width:520px;--el-tour-padding-primary:12px;--el-tour-font-line-height:var(--el-font-line-height-primary);--el-tour-title-font-size:16px;--el-tour-title-text-color:var(--el-text-color-primary);--el-tour-title-font-weight:400;--el-tour-close-color:var(--el-color-info);--el-tour-font-size:14px;--el-tour-color:var(--el-text-color-primary);--el-tour-bg-color:var(--el-bg-color);--el-tour-border-radius:4px}.el-tour__hollow{-webkit-transition:all var(--el-transition-duration) ease;transition:all var(--el-transition-duration) ease}.el-tour__content{border-radius:var(--el-tour-border-radius);box-shadow:var(--el-box-shadow-light);outline:none;overflow-wrap:break-word;padding:var(--el-tour-padding-primary);width:var(--el-tour-width)}.el-tour__arrow,.el-tour__content{background:var(--el-tour-bg-color);box-sizing:border-box}.el-tour__arrow{height:10px;pointer-events:none;position:absolute;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:10px}.el-tour__content[data-side^=top] .el-tour__arrow{border-left-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=bottom] .el-tour__arrow{border-bottom-color:transparent;border-right-color:transparent}.el-tour__content[data-side^=left] .el-tour__arrow{border-bottom-color:transparent;border-left-color:transparent}.el-tour__content[data-side^=right] .el-tour__arrow{border-right-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=top] .el-tour__arrow{bottom:-5px}.el-tour__content[data-side^=bottom] .el-tour__arrow{top:-5px}.el-tour__content[data-side^=left] .el-tour__arrow{right:-5px}.el-tour__content[data-side^=right] .el-tour__arrow{left:-5px}.el-tour__closebtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-tour__closebtn .el-tour__close{color:var(--el-tour-close-color);font-size:inherit}.el-tour__closebtn:focus .el-tour__close,.el-tour__closebtn:hover .el-tour__close{color:var(--el-color-primary)}.el-tour__header{padding-bottom:var(--el-tour-padding-primary)}.el-tour__header.show-close{padding-right:calc(var(--el-tour-padding-primary) + var(--el-message-close-size, 16px))}.el-tour__title{color:var(--el-tour-title-text-color);font-size:var(--el-tour-title-font-size);font-weight:var(--el-tour-title-font-weight);line-height:var(--el-tour-font-line-height)}.el-tour__body{color:var(--el-tour-text-color);font-size:var(--el-tour-font-size)}.el-tour__body img,.el-tour__body video{max-width:100%}.el-tour__footer{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding-top:var(--el-tour-padding-primary)}.el-tour__content .el-tour-indicators{display:inline-block;-webkit-box-flex:1;-webkit-flex:1;flex:1}.el-tour__content .el-tour-indicator{background:var(--el-color-info-light-9);border-radius:50%;display:inline-block;height:6px;margin-right:6px;width:6px}.el-tour__content .el-tour-indicator.is-active{background:var(--el-color-primary)}.el-tour.el-tour--primary{--el-tour-title-text-color:#fff;--el-tour-text-color:#fff;--el-tour-bg-color:var(--el-color-primary);--el-tour-close-color:#fff}.el-tour.el-tour--primary .el-tour__closebtn:focus .el-tour__close,.el-tour.el-tour--primary .el-tour__closebtn:hover .el-tour__close{color:var(--el-tour-title-text-color)}.el-tour.el-tour--primary .el-button--default{background:#fff;border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-tour.el-tour--primary .el-button--primary{border-color:#fff}.el-tour.el-tour--primary .el-tour-indicator{background:#ffffff26}.el-tour.el-tour--primary .el-tour-indicator.is-active{background:#fff}.el-tour-parent--hidden{overflow:hidden}.layout-content[data-v-a8b3a4cb]{height:calc(100% - 40px)}.layout-content-center[data-v-a8b3a4cb]{width:calc(100% - 470px)}.layout-content-center .center-body[data-v-a8b3a4cb]{height:100%}.layout-content-center .center-footer[data-v-a8b3a4cb]{border-top:1px solid #eee;background-color:#f9f9f9}.background-grid[data-v-417b2c55]{--offsetX: 0px;--offsetY: 0px;--size: 8px;--color: #dedcdc;background-image:-webkit-linear-gradient(45deg,var(--color) 25%,transparent 0,transparent 75%,var(--color) 0),-webkit-linear-gradient(45deg,var(--color) 25%,transparent 0,transparent 75%,var(--color) 0);background-image:linear-gradient(45deg,var(--color) 25%,transparent 0,transparent 75%,var(--color) 0),linear-gradient(45deg,var(--color) 25%,transparent 0,transparent 75%,var(--color) 0);background-position:var(--offsetX) var(--offsetY),calc(var(--size) + var(--offsetX)) calc(var(--size) + var(--offsetY));background-size:calc(var(--size) * 2) calc(var(--size) * 2)}.yft-design[data-v-90f56373]{height:100%}.layout-content[data-v-90f56373]{height:calc(100% - 40px);display:-webkit-box;display:-webkit-flex;display:flex}.layout-mobile-thumb[data-v-90f56373]{position:absolute;z-index:10;width:160px;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;border-right:solid 1px #eee;background-color:#fff;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-transition:left .5s linear,right .5s linear;transition:left .5s linear,right .5s linear}.layout-mobile-center[data-v-90f56373]{width:100%}.layout-mobile-center .center-header[data-v-90f56373]{position:relative;border-bottom:1px solid #eee;background-color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 10px;font-size:13px;-webkit-user-select:none;-moz-user-select:none;user-select:none;height:40px}.layout-mobile-center .center-body[data-v-90f56373]{height:calc(100% - 40px)}.layout-mobile-center .center-footer[data-v-90f56373]{height:40px;position:relative;border-top:1px solid #eee;background-color:#f9f9f9;line-height:1.5;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.layout-barcode[data-v-90f56373]{position:absolute;top:-200px} diff --git a/assets/index-3SQYt329.css.gz b/assets/index-3SQYt329.css.gz new file mode 100644 index 00000000..1e24d804 Binary files /dev/null and b/assets/index-3SQYt329.css.gz differ diff --git a/assets/index-BtvUkC1a.js b/assets/index-BtvUkC1a.js new file mode 100644 index 00000000..961e2b52 --- /dev/null +++ b/assets/index-BtvUkC1a.js @@ -0,0 +1,54 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-eD7CRpP4.js","./vue-CfXu-DEr.js","./element-plus-MHsvnF2v.js","./lodash-es-DIelbCxD.js","./index-CIyjKADP.js","./fabric-Dlz3ta-n.js","./clipper-lib-Cdu7DM5D.js","./index-DHLu7O71.css","./index-D5HAQ7mM.js","./opentype.js-QlGfLlyt.js","./index-3SQYt329.css","./github-BS2ImFWR.js","./401-CbnovuuC.js","./401-BIkHzDoS.css","./404-B6H4Y_Ye.js","./404-DQrWRSfw.css"])))=>i.map(i=>d[i]); +var e=Object.defineProperty,t=Object.defineProperties,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,i=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=Reflect.get,l=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),c=Math.pow,h=(t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,u=(e,t)=>{for(var n in t||(t={}))o.call(t,n)&&h(e,n,t[n]);if(r)for(var n of r(t))s.call(t,n)&&h(e,n,t[n]);return e},d=(e,r)=>t(e,n(r)),f=(e,t)=>{var n={};for(var i in e)o.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&r)for(var i of r(e))t.indexOf(i)<0&&s.call(e,i)&&(n[i]=e[i]);return n},p=(e,t,n)=>h(e,"symbol"!=typeof t?t+"":t,n),g=(e,t,n)=>new Promise(((r,i)=>{var o=e=>{try{a(n.next(e))}catch(t){i(t)}},s=e=>{try{a(n.throw(e))}catch(t){i(t)}},a=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,s);a((n=n.apply(e,t)).next())})),k=function(e,t){this[0]=e,this[1]=t},m=(e,t,n)=>{var r=(e,t,i,o)=>{try{var s=n[e](t),a=(t=s.value)instanceof k,l=s.done;Promise.resolve(a?t[0]:t).then((n=>a?r("return"===e?e:"next",t[1]?{done:n.done,value:n.value}:n,i,o):i({value:n,done:l}))).catch((e=>r("throw",e,i,o)))}catch(c){o(c)}},i=e=>o[e]=t=>new Promise(((n,i)=>r(e,t,n,i))),o={};return n=n.apply(e,t),o[l("asyncIterator")]=()=>o,i("next"),i("throw"),i("return"),o},v=e=>{var t,n=e[l("asyncIterator")],r=!1,i={};return null==n?(n=e[l("iterator")](),t=e=>i[e]=t=>n[e](t)):(n=n.call(e),t=e=>i[e]=t=>{if(r){if(r=!1,"throw"===e)throw t;return t}return r=!0,{done:!1,value:new k(new Promise((r=>{var i=n[e](t);i instanceof Object||(e=>{throw TypeError(e)})("Object expected"),r(i)})),1)}}),i[l("iterator")]=()=>i,t("next"),"throw"in n?t("throw"):i.throw=e=>{throw e},"return"in n&&t("return"),i};import{a8 as y,B as L,au as w,G as b,ai as _,r as x,ah as C,w as S,I as j,A as M,g as E,o as T,n as O,av as A,J as P,e as I,j as R,ac as B,c as W,H,s as z,C as D,O as N,b as F,M as V,a3 as U,k as $,R as Y,Q as X,u as Z,ae as G,as as q,D as K,d as J,l as Q,T as ee,m as te,K as ne,E as re,a7 as ie,W as oe,P as se,_ as ae,U as le,V as ce,S as he,$ as ue,Z as de,at as fe,aq as pe}from"./vue-CfXu-DEr.js";import{i as ge,E as ke,a as me,b as ve,c as ye,d as Le,u as we,g as be,e as _e,f as xe,v as Ce,h as Se,j as je,k as Me,l as Ee,m as Te,n as Oe,o as Ae,p as Pe,q as Ie,r as Re,s as Be,t as We,w as He,x as ze,y as De,z as Ne,A as Fe}from"./element-plus-MHsvnF2v.js";import{o as Ve,Q as Ue,t as $e,M as Ye,G as Xe,N as Ze,_ as Ge,U as qe,a as Ke,p as Je,b as Qe,c as et,d as tt,e as nt,J as rt,f as it,F as ot,z as st,g as at,m as lt,h as ct,j as ht,i as ut,C as dt}from"./fabric-Dlz3ta-n.js";import{k as ft,a as pt,e as gt,t as kt,l as mt,d as vt,m as yt}from"./lodash-es-DIelbCxD.js";import{c as Lt,g as wt,a as bt,C as _t}from"./clipper-lib-Cdu7DM5D.js"; +/*! + * pinia v2.2.2 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */ +let xt;!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const Ct=e=>xt=e,St=Symbol();function jt(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var Mt,Et;(Et=Mt||(Mt={})).direct="direct",Et.patchObject="patch object",Et.patchFunction="patch function";const Tt=()=>{};function Ot(e,t,n,r=Tt){e.push(t);const i=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),r())};return!n&&E()&&T(i),i}function At(e,...t){e.slice().forEach((e=>{e(...t)}))}const Pt=e=>e(),It=Symbol(),Rt=Symbol();function Bt(e,t){e instanceof Map&&t instanceof Map?t.forEach(((t,n)=>e.set(n,t))):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];jt(i)&&jt(r)&&e.hasOwnProperty(n)&&!L(r)&&!w(r)?e[n]=Bt(i,r):e[n]=r}return e}const Wt=Symbol();const{assign:Ht}=Object;function zt(e,t,n={},r,i,o){let s;const a=Ht({actions:{}},n),l={deep:!0};let c,h,u,d=[],f=[];const p=r.state.value[e];let g;function k(t){let n;c=h=!1,"function"==typeof t?(t(r.state.value[e]),n={type:Mt.patchFunction,storeId:e,events:u}):(Bt(r.state.value[e],t),n={type:Mt.patchObject,payload:t,storeId:e,events:u});const i=g=Symbol();O().then((()=>{g===i&&(c=!0)})),h=!0,At(d,n,r.state.value[e])}o||p||(r.state.value[e]={}),x({});const m=o?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{Ht(e,t)}))}:Tt;const v=(t,n="")=>{if(It in t)return t[Rt]=n,t;const i=function(){Ct(r);const n=Array.from(arguments),o=[],s=[];let a;At(f,{args:n,name:i[Rt],store:C,after:function(e){o.push(e)},onError:function(e){s.push(e)}});try{a=t.apply(this&&this.$id===e?this:C,n)}catch(l){throw At(s,l),l}return a instanceof Promise?a.then((e=>(At(o,e),e))).catch((e=>(At(s,e),Promise.reject(e)))):(At(o,a),a)};return i[It]=!0,i[Rt]=n,i},b={_p:r,$id:e,$onAction:Ot.bind(null,f),$patch:k,$reset:m,$subscribe(t,n={}){const i=Ot(d,t,n.detached,(()=>o())),o=s.run((()=>S((()=>r.state.value[e]),(r=>{("sync"===n.flush?h:c)&&t({storeId:e,type:Mt.direct,events:u},r)}),Ht({},l,n))));return i},$dispose:function(){s.stop(),d=[],f=[],r._s.delete(e)}},C=j(b);r._s.set(e,C);const M=(r._a&&r._a.runWithContext||Pt)((()=>r._e.run((()=>(s=_()).run((()=>t({action:v})))))));for(const y in M){const t=M[y];if(L(t)&&(!L(T=t)||!T.effect)||w(t))o||(!p||jt(E=t)&&E.hasOwnProperty(Wt)||(L(t)?t.value=p[y]:Bt(t,p[y])),r.state.value[e][y]=t);else if("function"==typeof t){const e=v(t,y);M[y]=e,a.actions[y]=t}}var E,T;return Ht(C,M),Ht(y(C),M),Object.defineProperty(C,"$state",{get:()=>r.state.value[e],set:e=>{k((t=>{Ht(t,e)}))}}),r._p.forEach((e=>{Ht(C,s.run((()=>e({store:C,app:r._a,pinia:r,options:a}))))})),p&&o&&n.hydrate&&n.hydrate(C.$state,p),c=!0,h=!0,C}function Dt(e,t,n){let r,i;const o="function"==typeof t;function s(e,n){const s=A();(e=e||(s?M(St,null):null))&&Ct(e),(e=xt)._s.has(r)||(o?zt(r,t,i,e):function(e,t,n){const{state:r,actions:i,getters:o}=t,s=n.state.value[e];let a;a=zt(e,(function(){s||(n.state.value[e]=r?r():{});const t=P(n.state.value[e]);return Ht(t,i,Object.keys(o||{}).reduce(((t,r)=>(t[r]=C(I((()=>{Ct(n);const t=n._s.get(e);return o[r].call(t,t)}))),t)),{}))}),t,n,0,!0)}(r,i,e));return e._s.get(r)}return"string"==typeof e?(r=e,i=o?n:t):(i=e,r=e.id),s.$id=r,s}function Nt(e){{e=y(e);const t={};for(const n in e){const r=e[n];(L(r)||w(r))&&(t[n]=b(e,n))}return t}} +/*! + * shared v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const Ft="undefined"!=typeof window,Vt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Ut=(e,t,n)=>$t({l:e,k:t,s:n}),$t=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Yt=e=>"number"==typeof e&&isFinite(e),Xt=e=>"[object Date]"===hn(e),Zt=e=>"[object RegExp]"===hn(e),Gt=e=>un(e)&&0===Object.keys(e).length,qt=Object.assign;let Kt;const Jt=()=>Kt||(Kt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function Qt(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const en=Object.prototype.hasOwnProperty;function tn(e,t){return en.call(e,t)}const nn=Array.isArray,rn=e=>"function"==typeof e,on=e=>"string"==typeof e,sn=e=>"boolean"==typeof e,an=e=>null!==e&&"object"==typeof e,ln=e=>an(e)&&rn(e.then)&&rn(e.catch),cn=Object.prototype.toString,hn=e=>cn.call(e),un=e=>{if(!an(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object};function dn(e){let t=e;return()=>++t}function fn(e,t){}const pn=e=>!an(e)||nn(e);function gn(e,t){if(pn(e)||pn(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((r=>{pn(e[r])||pn(t[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]})}))}} +/*! + * message-compiler v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function kn(e,t,n){return{start:e,end:t}}const mn=/\{([0-9a-zA-Z]+)\}/g;function vn(e,...t){return 1===t.length&&wn(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(mn,((e,n)=>t.hasOwnProperty(n)?t[n]:""))}const yn=Object.assign,Ln=e=>"string"==typeof e,wn=e=>null!==e&&"object"==typeof e;function bn(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}const _n={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},xn={[_n.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};const Cn={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Sn={[Cn.EXPECTED_TOKEN]:"Expected token: '{0}'",[Cn.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Cn.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Cn.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Cn.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Cn.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Cn.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Cn.EMPTY_PLACEHOLDER]:"Empty placeholder",[Cn.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Cn.INVALID_LINKED_FORMAT]:"Invalid linked format",[Cn.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Cn.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Cn.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Cn.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Cn.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Cn.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function jn(e,t,n={}){const{domain:r,messages:i,args:o}=n,s=vn((i||Sn)[e]||"",...o||[]),a=new SyntaxError(String(s));return a.code=e,t&&(a.location=t),a.domain=r,a}function Mn(e){throw e}const En=" ",Tn="\r",On="\n",An=String.fromCharCode(8232),Pn=String.fromCharCode(8233);function In(e){const t=e;let n=0,r=1,i=1,o=0;const s=e=>t[e]===Tn&&t[e+1]===On,a=e=>t[e]===Pn,l=e=>t[e]===An,c=e=>s(e)||(e=>t[e]===On)(e)||a(e)||l(e),h=e=>s(e)||a(e)||l(e)?On:t[e];function u(){return o=0,c(n)&&(r++,i=0),s(n)&&n++,n++,i++,t[n]}return{index:()=>n,line:()=>r,column:()=>i,peekOffset:()=>o,charAt:h,currentChar:()=>h(n),currentPeek:()=>h(n+o),next:u,peek:function(){return s(n+o)&&o++,o++,t[n+o]},reset:function(){n=0,r=1,i=1,o=0},resetPeek:function(e=0){o=e},skipToPeek:function(){const e=n+o;for(;e!==n;)u();o=0}}}const Rn=void 0,Bn="'",Wn="tokenizer";function Hn(e,t={}){const n=!1!==t.location,r=In(e),i=()=>r.index(),o=()=>{return e=r.line(),t=r.column(),n=r.index(),{line:e,column:t,offset:n};var e,t,n},s=o(),a=i(),l={currentType:14,offset:a,startLoc:s,endLoc:s,lastType:14,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:h}=t;function u(e,t,r,...i){const o=c();if(t.column+=r,t.offset+=r,h){const r=jn(e,n?kn(o.startLoc,t):null,{domain:Wn,args:i});h(r)}}function d(e,t,r){e.endLoc=o(),e.currentType=t;const i={type:t};return n&&(i.loc=kn(e.startLoc,e.endLoc)),null!=r&&(i.value=r),i}const f=e=>d(e,14);function p(e,t){return e.currentChar()===t?(e.next(),t):(u(Cn.EXPECTED_TOKEN,o(),0,t),"")}function g(e){let t="";for(;e.currentPeek()===En||e.currentPeek()===On;)t+=e.currentPeek(),e.peek();return t}function k(e){const t=g(e);return e.skipToPeek(),t}function m(e){if(e===Rn)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function v(e,t){const{currentType:n}=t;if(2!==n)return!1;g(e);const r=function(e){if(e===Rn)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}function y(e){g(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function L(e,t=!0){const n=(t=!1,r="",i=!1)=>{const o=e.currentPeek();return"{"===o?"%"!==r&&t:"@"!==o&&o?"%"===o?(e.peek(),n(t,"%",!0)):"|"===o?!("%"!==r&&!i)||!(r===En||r===On):o===En?(e.peek(),n(!0,En,i)):o!==On||(e.peek(),n(!0,On,i)):"%"===r||t},r=n();return t&&e.resetPeek(),r}function w(e,t){const n=e.currentChar();return n===Rn?Rn:t(n)?(e.next(),n):null}function b(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function _(e){return w(e,b)}function x(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function C(e){return w(e,x)}function S(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function j(e){return w(e,S)}function M(e){const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function E(e){return w(e,M)}function T(e){let t="",n="";for(;t=j(e);)n+=t;return n}function O(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!L(e))break;t+=n,e.next()}else if(n===En||n===On)if(L(e))t+=n,e.next();else{if(y(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function A(e){return e!==Bn&&e!==On}function P(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return I(e,t,4);case"U":return I(e,t,6);default:return u(Cn.UNKNOWN_ESCAPE_SEQUENCE,o(),0,t),""}}function I(e,t,n){p(e,t);let r="";for(let i=0;i=1&&u(Cn.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),e.next(),n=d(t,2,"{"),k(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&u(Cn.EMPTY_PLACEHOLDER,o(),0),e.next(),n=d(t,3,"}"),t.braceNest--,t.braceNest>0&&k(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&u(Cn.UNTERMINATED_CLOSING_BRACE,o(),0),n=H(e,t)||f(t),t.braceNest=0,n;default:{let r=!0,i=!0,s=!0;if(y(e))return t.braceNest>0&&u(Cn.UNTERMINATED_CLOSING_BRACE,o(),0),n=d(t,1,B(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return u(Cn.UNTERMINATED_CLOSING_BRACE,o(),0),t.braceNest=0,z(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;g(e);const r=m(e.currentPeek());return e.resetPeek(),r}(e,t))return n=d(t,5,function(e){k(e);let t="",n="";for(;t=C(e);)n+=t;return e.currentChar()===Rn&&u(Cn.UNTERMINATED_CLOSING_BRACE,o(),0),n}(e)),k(e),n;if(i=v(e,t))return n=d(t,6,function(e){k(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${T(e)}`):t+=T(e),e.currentChar()===Rn&&u(Cn.UNTERMINATED_CLOSING_BRACE,o(),0),t}(e)),k(e),n;if(s=function(e,t){const{currentType:n}=t;if(2!==n)return!1;g(e);const r=e.currentPeek()===Bn;return e.resetPeek(),r}(e,t))return n=d(t,7,function(e){k(e),p(e,"'");let t="",n="";for(;t=w(e,A);)n+="\\"===t?P(e):t;const r=e.currentChar();return r===On||r===Rn?(u(Cn.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),r===On&&(e.next(),p(e,"'")),n):(p(e,"'"),n)}(e)),k(e),n;if(!r&&!i&&!s)return n=d(t,13,function(e){k(e);let t="",n="";for(;t=w(e,R);)n+=t;return n}(e)),u(Cn.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,n.value),k(e),n;break}}return n}function H(e,t){const{currentType:n}=t;let r=null;const i=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||i!==On&&i!==En||u(Cn.INVALID_LINKED_FORMAT,o(),0),i){case"@":return e.next(),r=d(t,8,"@"),t.inLinked=!0,r;case".":return k(e),e.next(),d(t,9,".");case":":return k(e),e.next(),d(t,10,":");default:return y(e)?(r=d(t,1,B(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(8!==n)return!1;g(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;g(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(k(e),H(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;g(e);const r=m(e.currentPeek());return e.resetPeek(),r}(e,t)?(k(e),d(t,12,function(e){let t="",n="";for(;t=_(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(10!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?m(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===En||!t)&&(t===On?(e.peek(),r()):L(e,!1))},i=r();return e.resetPeek(),i}(e,t)?(k(e),"{"===i?W(e,t)||r:d(t,11,function(e){const t=n=>{const r=e.currentChar();return"{"!==r&&"%"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===En?n:(n+=r,e.next(),t(n)):n};return t("")}(e))):(8===n&&u(Cn.INVALID_LINKED_FORMAT,o(),0),t.braceNest=0,t.inLinked=!1,z(e,t))}}function z(e,t){let n={type:14};if(t.braceNest>0)return W(e,t)||f(t);if(t.inLinked)return H(e,t)||f(t);switch(e.currentChar()){case"{":return W(e,t)||f(t);case"}":return u(Cn.UNBALANCED_CLOSING_BRACE,o(),0),e.next(),d(t,3,"}");case"@":return H(e,t)||f(t);default:{if(y(e))return n=d(t,1,B(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:r,hasSpace:i}=function(e){const t=g(e),n="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}(e);if(r)return i?d(t,0,O(e)):d(t,4,function(e){k(e);const t=e.currentChar();return"%"!==t&&u(Cn.EXPECTED_TOKEN,o(),0,t),e.next(),"%"}(e));if(L(e))return d(t,0,O(e));break}}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:s}=l;return l.lastType=e,l.lastOffset=t,l.lastStartLoc=n,l.lastEndLoc=s,l.offset=i(),l.startLoc=o(),r.currentChar()===Rn?d(l,14):z(r,l)},currentOffset:i,currentPosition:o,context:c}}const zn="parser",Dn=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Nn(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function Fn(e={}){const t=!1!==e.location,{onError:n,onWarn:r}=e;function i(e,r,i,o,...s){const a=e.currentPosition();if(a.offset+=o,a.column+=o,n){const e=jn(r,t?kn(i,a):null,{domain:zn,args:s});n(e)}}function o(e,n,i,o,...s){const a=e.currentPosition();if(a.offset+=o,a.column+=o,r){const e=t?kn(i,a):null;r(function(e,t,...n){const r=vn(xn[e],...n||[]),i={message:String(r),code:e};return t&&(i.location=t),i}(n,e,s))}}function s(e,n,r){const i={type:e};return t&&(i.start=n,i.end=n,i.loc={start:r,end:r}),i}function a(e,n,r,i){t&&(e.end=n,e.loc&&(e.loc.end=r))}function l(e,t){const n=e.context(),r=s(3,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function c(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:i}=n,o=s(5,r,i);return o.index=parseInt(t,10),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function h(e,t,n){const r=e.context(),{lastOffset:i,lastStartLoc:o}=r,l=s(4,i,o);return l.key=t,!0===n&&(l.modulo=!0),e.nextToken(),a(l,e.currentOffset(),e.currentPosition()),l}function u(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:i}=n,o=s(9,r,i);return o.value=t.replace(Dn,Nn),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function d(e){const t=e.context(),n=s(6,t.offset,t.startLoc);let r=e.nextToken();if(9===r.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:r,lastStartLoc:o}=n,l=s(8,r,o);return 12!==t.type?(i(e,Cn.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),l.value="",a(l,r,o),{nextConsumeToken:t,node:l}):(null==t.value&&i(e,Cn.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,Vn(t)),l.value=t.value||"",a(l,e.currentOffset(),e.currentPosition()),{node:l})}(e);n.modifier=t.node,r=t.nextConsumeToken||e.nextToken()}switch(10!==r.type&&i(e,Cn.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Vn(r)),r=e.nextToken(),2===r.type&&(r=e.nextToken()),r.type){case 11:null==r.value&&i(e,Cn.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Vn(r)),n.key=function(e,t){const n=e.context(),r=s(7,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}(e,r.value||"");break;case 5:null==r.value&&i(e,Cn.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Vn(r)),n.key=h(e,r.value||"");break;case 6:null==r.value&&i(e,Cn.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Vn(r)),n.key=c(e,r.value||"");break;case 7:null==r.value&&i(e,Cn.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Vn(r)),n.key=u(e,r.value||"");break;default:{i(e,Cn.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);const o=e.context(),l=s(7,o.offset,o.startLoc);return l.value="",a(l,o.offset,o.startLoc),n.key=l,a(n,o.offset,o.startLoc),{nextConsumeToken:r,node:n}}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function f(e){const t=e.context(),n=s(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let r=null,f=null;do{const s=r||e.nextToken();switch(r=null,s.type){case 0:null==s.value&&i(e,Cn.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Vn(s)),n.items.push(l(e,s.value||""));break;case 6:null==s.value&&i(e,Cn.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Vn(s)),n.items.push(c(e,s.value||""));break;case 4:f=!0;break;case 5:null==s.value&&i(e,Cn.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Vn(s)),n.items.push(h(e,s.value||"",!!f)),f&&(o(e,_n.USE_MODULO_SYNTAX,t.lastStartLoc,0,Vn(s)),f=null);break;case 7:null==s.value&&i(e,Cn.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Vn(s)),n.items.push(u(e,s.value||""));break;case 8:{const t=d(e);n.items.push(t.node),r=t.nextConsumeToken||null;break}}}while(14!==t.currentType&&1!==t.currentType);return a(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function p(e){const t=e.context(),{offset:n,startLoc:r}=t,o=f(e);return 14===t.currentType?o:function(e,t,n,r){const o=e.context();let l=0===r.items.length;const c=s(1,t,n);c.cases=[],c.cases.push(r);do{const t=f(e);l||(l=0===t.items.length),c.cases.push(t)}while(14!==o.currentType);return l&&i(e,Cn.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),a(c,e.currentOffset(),e.currentPosition()),c}(e,n,r,o)}return{parse:function(n){const r=Hn(n,yn({},e)),o=r.context(),l=s(0,o.offset,o.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=p(r),e.onCacheKey&&(l.cacheKey=e.onCacheKey(n)),14!==o.currentType&&i(r,Cn.UNEXPECTED_LEXICAL_ANALYSIS,o.lastStartLoc,0,n[o.offset]||""),a(l,r.currentOffset(),r.currentPosition()),l}}}function Vn(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Un(e,t){for(let n=0;nt,helper:e=>(t.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&$n(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Xn(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let n=0;n{const n=Ln(t.mode)?t.mode:"normal",r=Ln(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,o=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",s=t.needIndent?t.needIndent:"arrow"!==n,a=e.helpers||[],l=function(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:o}=t,s=!1!==t.location,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:o,indentLevel:0};function l(e,t){a.code+=e}function c(e,t=!0){const n=t?i:"";l(o?n+" ".repeat(e):n)}return s&&e.loc&&(a.source=e.loc.source),{context:()=>a,push:l,indent:function(e=!0){const t=++a.indentLevel;e&&c(t)},deindent:function(e=!0){const t=--a.indentLevel;e&&c(t)},newline:function(){c(a.indentLevel)},helper:e=>`_${e}`,needIndent:()=>a.needIndent}}(e,{mode:n,filename:r,sourceMap:i,breakLineCode:o,needIndent:s});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),a.length>0&&(l.push(`const { ${bn(a.map((e=>`${e}: _${e}`)),", ")} } = ctx`),l.newline()),l.push("return "),Kn(l,e),l.deindent(s),l.push("}"),delete e.helpers;const{code:c,map:h}=l.context();return{ast:e,code:c,map:h?h.toJSON():void 0}};function Qn(e,t={}){const n=yn({},t),r=!!n.jit,i=!!n.minify,o=null==n.optimize||n.optimize,s=Fn(n).parse(e);return r?(o&&function(e){const t=e.body;2===t.type?Xn(t):t.cases.forEach((e=>Xn(e)))}(s),i&&Gn(s),{ast:s,code:""}):(Yn(s,n),Jn(s,n))} +/*! + * core-base v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const er=[];er[0]={w:[0],i:[3,0],"[":[4],o:[7]},er[1]={w:[1],".":[2],"[":[4],o:[7]},er[2]={w:[2],i:[3,0],0:[3,0]},er[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},er[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},er[5]={"'":[4,0],o:8,l:[5,0]},er[6]={'"':[4,0],o:8,l:[6,0]};const tr=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function nr(e){if(null==e)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function rr(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,tr.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const ir=new Map;function or(e,t){return an(e)?e[t]:null}const sr=e=>e,ar=e=>"",lr="text",cr=e=>0===e.length?"":function(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}(e),hr=e=>null==e?"":nn(e)||un(e)&&e.toString===cn?JSON.stringify(e,null,2):String(e);function ur(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function dr(e={}){const t=e.locale,n=function(e){const t=Yt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Yt(e.named.count)||Yt(e.named.n))?Yt(e.named.count)?e.named.count:Yt(e.named.n)?e.named.n:t:t}(e),r=an(e.pluralRules)&&on(t)&&rn(e.pluralRules[t])?e.pluralRules[t]:ur,i=an(e.pluralRules)&&on(t)&&rn(e.pluralRules[t])?ur:void 0,o=e.list||[],s=e.named||{};Yt(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,s);function a(t){const n=rn(e.messages)?e.messages(t):!!an(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):ar)}const l=un(e.processor)&&rn(e.processor.normalize)?e.processor.normalize:cr,c=un(e.processor)&&rn(e.processor.interpolate)?e.processor.interpolate:hr,h={list:e=>o[e],named:e=>s[e],plural:e=>e[r(n,e.length,i)],linked:(t,...n)=>{const[r,i]=n;let o="text",s="";1===n.length?an(r)?(s=r.modifier||s,o=r.type||o):on(r)&&(s=r||s):2===n.length&&(on(r)&&(s=r||s),on(i)&&(o=i||o));const l=a(t)(h),c="vnode"===o&&nn(l)&&s?l[0]:l;return s?(u=s,e.modifiers?e.modifiers[u]:sr)(c,o):c;var u},message:a,type:un(e.processor)&&on(e.processor.type)?e.processor.type:lr,interpolate:c,normalize:l,values:qt({},o,s)};return h}let fr=null;const pr=gr("function:translate");function gr(e){return t=>fr&&fr.emit(e,t)}const kr=_n.__EXTEND_POINT__,mr=dn(kr),vr={NOT_FOUND_KEY:kr,FALLBACK_TO_TRANSLATE:mr(),CANNOT_FORMAT_NUMBER:mr(),FALLBACK_TO_NUMBER_FORMAT:mr(),CANNOT_FORMAT_DATE:mr(),FALLBACK_TO_DATE_FORMAT:mr(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:mr(),__EXTEND_POINT__:mr()},yr=Cn.__EXTEND_POINT__,Lr=dn(yr),wr={INVALID_ARGUMENT:yr,INVALID_DATE_ARGUMENT:Lr(),INVALID_ISO_DATE_ARGUMENT:Lr(),NOT_SUPPORT_NON_STRING_MESSAGE:Lr(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Lr(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Lr(),NOT_SUPPORT_LOCALE_TYPE:Lr(),__EXTEND_POINT__:Lr()};function br(e){return jn(e,null,void 0)}function _r(e,t){return null!=t.locale?Cr(t.locale):Cr(e.locale)}let xr;function Cr(e){if(on(e))return e;if(rn(e)){if(e.resolvedOnce&&null!=xr)return xr;if("Function"===e.constructor.name){const t=e();if(ln(t))throw br(wr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return xr=t}throw br(wr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw br(wr.NOT_SUPPORT_LOCALE_TYPE)}function Sr(e,t,n){return[...new Set([n,...nn(t)?t:an(t)?Object.keys(t):on(t)?[t]:[n]])]}function jr(e,t,n){const r=on(n)?n:Pr,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let e=[n];for(;nn(e);)e=Mr(o,e,t);const s=nn(t)||!un(t)?t:t.default?t.default:null;e=on(s)?[s]:s,nn(e)&&Mr(o,e,!1),i.__localeChainCache.set(r,o)}return o}function Mr(e,t,n){let r=!0;for(let i=0;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let Br,Wr,Hr;function zr(e){Br=e}let Dr=null;const Nr=()=>Dr;let Fr=null;const Vr=e=>{Fr=e},Ur=()=>Fr;let $r=0;function Yr(e={}){const t=rn(e.onWarn)?e.onWarn:fn,n=on(e.version)?e.version:Or,r=on(e.locale)||rn(e.locale)?e.locale:Pr,i=rn(r)?Pr:r,o=nn(e.fallbackLocale)||un(e.fallbackLocale)||on(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:i,s=un(e.messages)?e.messages:{[i]:{}},a=un(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},l=un(e.numberFormats)?e.numberFormats:{[i]:{}},c=qt({},e.modifiers||{},{upper:(e,t)=>"text"===t&&on(e)?e.toUpperCase():"vnode"===t&&an(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&on(e)?e.toLowerCase():"vnode"===t&&an(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&on(e)?Rr(e):"vnode"===t&&an(e)&&"__v_isVNode"in e?Rr(e.children):e}),h=e.pluralRules||{},u=rn(e.missing)?e.missing:null,d=!sn(e.missingWarn)&&!Zt(e.missingWarn)||e.missingWarn,f=!sn(e.fallbackWarn)&&!Zt(e.fallbackWarn)||e.fallbackWarn,p=!!e.fallbackFormat,g=!!e.unresolving,k=rn(e.postTranslation)?e.postTranslation:null,m=un(e.processor)?e.processor:null,v=!sn(e.warnHtmlMessage)||e.warnHtmlMessage,y=!!e.escapeParameter,L=rn(e.messageCompiler)?e.messageCompiler:Br,w=rn(e.messageResolver)?e.messageResolver:Wr||or,b=rn(e.localeFallbacker)?e.localeFallbacker:Hr||Sr,_=an(e.fallbackContext)?e.fallbackContext:void 0,x=e,C=an(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,S=an(x.__numberFormatters)?x.__numberFormatters:new Map,j=an(x.__meta)?x.__meta:{};$r++;const M={version:n,cid:$r,locale:r,fallbackLocale:o,messages:s,modifiers:c,pluralRules:h,missing:u,missingWarn:d,fallbackWarn:f,fallbackFormat:p,unresolving:g,postTranslation:k,processor:m,warnHtmlMessage:v,escapeParameter:y,messageCompiler:L,messageResolver:w,localeFallbacker:b,fallbackContext:_,onWarn:t,__meta:j};return M.datetimeFormats=a,M.numberFormats=l,M.__datetimeFormatters=C,M.__numberFormatters=S,__INTLIFY_PROD_DEVTOOLS__&&function(e,t,n){fr&&fr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}(M,n,j),M}function Xr(e,t,n,r,i){const{missing:o,onWarn:s}=e;if(null!==o){const r=o(e,n,t,i);return on(r)?r:t}return t}function Zr(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Gr(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let o=n+1;ofunction(e,t){const n=t.b||t.body;if(1===(n.t||n.type)){const t=n,r=t.c||t.cases;return e.plural(r.reduce(((t,n)=>[...t,Kr(e,n)]),[]))}return Kr(e,n)}(t,e)}function Kr(e,t){const n=t.s||t.static;if(n)return"text"===e.type?n:e.normalize([n]);{const n=(t.i||t.items).reduce(((t,n)=>[...t,Jr(e,n)]),[]);return e.normalize(n)}}function Jr(e,t){const n=t.t||t.type;switch(n){case 3:{const e=t;return e.v||e.value}case 9:{const e=t;return e.v||e.value}case 4:{const n=t;return e.interpolate(e.named(n.k||n.key))}case 5:{const n=t;return e.interpolate(e.list(null!=n.i?n.i:n.index))}case 6:{const n=t,r=n.m||n.modifier;return e.linked(Jr(e,n.k||n.key),r?Jr(e,r):void 0,e.type)}case 7:{const e=t;return e.v||e.value}case 8:{const e=t;return e.v||e.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Qr=e=>e;let ei=Object.create(null);const ti=e=>an(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e);function ni(e,t={}){let n=!1;const r=t.onError||Mn;return t.onError=e=>{n=!0,r(e)},d(u({},Qn(e,t)),{detectError:n})}const ri=(e,t)=>{if(!on(e))throw br(wr.NOT_SUPPORT_NON_STRING_MESSAGE);{!sn(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||Qr)(e),r=ei[n];if(r)return r;const{code:i,detectError:o}=ni(e,t),s=new Function(`return ${i}`)();return o?s:ei[n]=s}};const ii=()=>"",oi=e=>rn(e);function si(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:o,fallbackLocale:s,messages:a}=e,[l,c]=ci(...t),h=sn(c.missingWarn)?c.missingWarn:e.missingWarn,u=sn(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=sn(c.escapeParameter)?c.escapeParameter:e.escapeParameter,f=!!c.resolvedMessage,p=on(c.default)||sn(c.default)?sn(c.default)?o?l:()=>l:c.default:n?o?l:()=>l:"",g=n||""!==p,k=_r(e,c);d&&function(e){nn(e.list)?e.list=e.list.map((e=>on(e)?Qt(e):e)):an(e.named)&&Object.keys(e.named).forEach((t=>{on(e.named[t])&&(e.named[t]=Qt(e.named[t]))}))}(c);let[m,v,y]=f?[l,k,a[k]||{}]:ai(e,l,k,s,u,h),L=m,w=l;if(f||on(L)||ti(L)||oi(L)||g&&(L=p,w=L),!(f||(on(L)||ti(L)||oi(L))&&on(v)))return i?Ar:l;let b=!1;const _=oi(L)?L:li(e,l,v,L,w,(()=>{b=!0}));if(b)return L;const x=function(e,t,n,r){const{modifiers:i,pluralRules:o,messageResolver:s,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:h}=e,u=r=>{let i=s(n,r);if(null==i&&h){const[,,e]=ai(h,r,t,a,l,c);i=s(e,r)}if(on(i)||ti(i)){let n=!1;const o=li(e,r,t,i,r,(()=>{n=!0}));return n?ii:o}return oi(i)?i:ii},d={locale:t,modifiers:i,pluralRules:o,messages:u};e.processor&&(d.processor=e.processor);r.list&&(d.list=r.list);r.named&&(d.named=r.named);Yt(r.plural)&&(d.pluralIndex=r.plural);return d}(e,v,y,c),C=function(e,t,n){const r=t(n);return r}(0,_,dr(x)),S=r?r(C,l):C;if(__INTLIFY_PROD_DEVTOOLS__){const t={timestamp:Date.now(),key:on(l)?l:oi(L)?L.key:"",locale:v||(oi(L)?L.locale:""),format:on(L)?L:oi(L)?L.source:"",message:S};t.meta=qt({},e.__meta,Nr()||{}),pr(t)}return S}function ai(e,t,n,r,i,o){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:c}=e,h=c(e,r,n);let u,d={},f=null;for(let p=0;pr;return e.locale=n,e.key=t,e}const l=s(r,function(e,t,n,r,i,o){return{locale:t,key:n,warnHtmlMessage:i,onError:e=>{throw o&&o(e),e},onCacheKey:e=>Ut(t,n,e)}}(0,n,i,0,a,o));return l.locale=n,l.key=t,l.source=r,l}function ci(...e){const[t,n,r]=e,i={};if(!(on(t)||Yt(t)||oi(t)||ti(t)))throw br(wr.INVALID_ARGUMENT);const o=Yt(t)?String(t):(oi(t),t);return Yt(n)?i.plural=n:on(n)?i.default=n:un(n)&&!Gt(n)?i.named=n:nn(n)&&(i.list=n),Yt(r)?i.plural=r:on(r)?i.default=r:un(r)&&qt(i,r),[o,i]}function hi(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__datetimeFormatters:a}=e,[l,c,h,u]=di(...t);sn(h.missingWarn)?h.missingWarn:e.missingWarn;sn(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn;const d=!!h.part,f=_r(e,h),p=s(e,i,f);if(!on(l)||""===l)return new Intl.DateTimeFormat(f,u).format(c);let g,k={},m=null;for(let L=0;L{ui.includes(e)?a[e]=n[e]:o[e]=n[e]})),on(r)?o.locale=r:un(r)&&(a=r),un(i)&&(a=i),[o.key||"",s,o,a]}function fi(e,t,n){const r=e;for(const i in n){const e=`${t}__${i}`;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function pi(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__numberFormatters:a}=e,[l,c,h,u]=ki(...t);sn(h.missingWarn)?h.missingWarn:e.missingWarn;sn(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn;const d=!!h.part,f=_r(e,h),p=s(e,i,f);if(!on(l)||""===l)return new Intl.NumberFormat(f,u).format(c);let g,k={},m=null;for(let L=0;L{gi.includes(e)?s[e]=n[e]:o[e]=n[e]})),on(r)?o.locale=r:un(r)&&(s=r),un(i)&&(s=i),[o.key||"",a,o,s]}function mi(e,t,n){const r=e;for(const i in n){const e=`${t}__${i}`;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Jt().__INTLIFY_PROD_DEVTOOLS__=!1),"boolean"!=typeof __INTLIFY_JIT_COMPILATION__&&(Jt().__INTLIFY_JIT_COMPILATION__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(Jt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1); +/*! + * vue-i18n v9.14.0 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */ +const vi="9.14.0";const yi=vr.__EXTEND_POINT__,Li=dn(yi);Li(),Li(),Li(),Li(),Li(),Li(),Li(),Li(),Li();const wi=wr.__EXTEND_POINT__,bi=dn(wi),_i={UNEXPECTED_RETURN_TYPE:wi,INVALID_ARGUMENT:bi(),MUST_BE_CALL_SETUP_TOP:bi(),NOT_INSTALLED:bi(),NOT_AVAILABLE_IN_LEGACY_MODE:bi(),REQUIRED_VALUE:bi(),INVALID_VALUE:bi(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:bi(),NOT_INSTALLED_WITH_PROVIDE:bi(),UNEXPECTED_ERROR:bi(),NOT_COMPATIBLE_LEGACY_VUE_I18N:bi(),BRIDGE_SUPPORT_VUE_2_ONLY:bi(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:bi(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:bi(),__EXTEND_POINT__:bi()};function xi(e,...t){return jn(e,null,void 0)}const Ci=Vt("__translateVNode"),Si=Vt("__datetimeParts"),ji=Vt("__numberParts"),Mi=Vt("__setPluralRules"),Ei=Vt("__injectWithOption"),Ti=Vt("__dispose");function Oi(e){if(!an(e))return e;for(const t in e)if(tn(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let i=e,o=!1;for(let e=0;e{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(s[t]=s[t]||{},gn(n,s[t])):gn(n,s)}else on(e)&&gn(JSON.parse(e),s)})),null==i&&o)for(const a in s)tn(s,a)&&Oi(s[a]);return s}function Pi(e){return e.type}function Ii(e,t,n){let r=an(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Ai(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);if(i.length&&i.forEach((t=>{e.mergeLocaleMessage(t,r[t])})),an(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(an(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function Ri(e){return V(U,null,e,0)}const Bi=()=>[],Wi=()=>!1;let Hi=0;function zi(e){return(t,n,r,i)=>e(n,r,F()||void 0,i)}function Di(e={},t){const{__root:n,__injectWithOption:r}=e,i=void 0===n,o=e.flatJson,s=Ft?x:z,a=!!e.translateExistCompatible;let l=!sn(e.inheritLocale)||e.inheritLocale;const c=s(n&&l?n.locale.value:on(e.locale)?e.locale:Pr),h=s(n&&l?n.fallbackLocale.value:on(e.fallbackLocale)||nn(e.fallbackLocale)||un(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:c.value),u=s(Ai(c.value,e)),d=s(un(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),f=s(un(e.numberFormats)?e.numberFormats:{[c.value]:{}});let p=n?n.missingWarn:!sn(e.missingWarn)&&!Zt(e.missingWarn)||e.missingWarn,g=n?n.fallbackWarn:!sn(e.fallbackWarn)&&!Zt(e.fallbackWarn)||e.fallbackWarn,k=n?n.fallbackRoot:!sn(e.fallbackRoot)||e.fallbackRoot,m=!!e.fallbackFormat,v=rn(e.missing)?e.missing:null,y=rn(e.missing)?zi(e.missing):null,L=rn(e.postTranslation)?e.postTranslation:null,w=n?n.warnHtmlMessage:!sn(e.warnHtmlMessage)||e.warnHtmlMessage,b=!!e.escapeParameter;const _=n?n.modifiers:un(e.modifiers)?e.modifiers:{};let C,j=e.pluralRules||n&&n.pluralRules;C=(()=>{i&&Vr(null);const t={version:vi,locale:c.value,fallbackLocale:h.value,messages:u.value,modifiers:_,pluralRules:j,missing:null===y?void 0:y,missingWarn:p,fallbackWarn:g,fallbackFormat:m,unresolving:!0,postTranslation:null===L?void 0:L,warnHtmlMessage:w,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=d.value,t.numberFormats=f.value,t.__datetimeFormatters=un(C)?C.__datetimeFormatters:void 0,t.__numberFormatters=un(C)?C.__numberFormatters:void 0;const n=Yr(t);return i&&Vr(n),n})(),Zr(C,c.value,h.value);const M=I({get:()=>c.value,set:e=>{c.value=e,C.locale=c.value}}),E=I({get:()=>h.value,set:e=>{h.value=e,C.fallbackLocale=h.value,Zr(C,c.value,e)}}),T=I((()=>u.value)),O=I((()=>d.value)),A=I((()=>f.value));const P=(e,t,r,o,s,a)=>{let l;c.value,h.value,u.value,d.value,f.value;try{__INTLIFY_PROD_DEVTOOLS__,i||(C.fallbackContext=n?Ur():void 0),l=e(C)}finally{__INTLIFY_PROD_DEVTOOLS__,i||(C.fallbackContext=void 0)}if("translate exists"!==r&&Yt(l)&&l===Ar||"translate exists"===r&&!l){const[e,r]=t();return n&&k?o(n):s(e)}if(a(l))return l;throw xi(_i.UNEXPECTED_RETURN_TYPE)};function R(...e){return P((t=>Reflect.apply(si,null,[t,...e])),(()=>ci(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>on(e)))}const B={normalize:function(e){return e.map((e=>on(e)||Yt(e)||sn(e)?Ri(String(e)):e))},interpolate:e=>e,type:"vnode"};function W(e){return u.value[e]||{}}Hi++,n&&Ft&&(S(n.locale,(e=>{l&&(c.value=e,C.locale=e,Zr(C,c.value,h.value))})),S(n.fallbackLocale,(e=>{l&&(h.value=e,C.fallbackLocale=e,Zr(C,c.value,h.value))})));const H={id:Hi,locale:M,fallbackLocale:E,get inheritLocale(){return l},set inheritLocale(e){l=e,e&&n&&(c.value=n.locale.value,h.value=n.fallbackLocale.value,Zr(C,c.value,h.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:T,get modifiers(){return _},get pluralRules(){return j||{}},get isGlobal(){return i},get missingWarn(){return p},set missingWarn(e){p=e,C.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(e){g=e,C.fallbackWarn=g},get fallbackRoot(){return k},set fallbackRoot(e){k=e},get fallbackFormat(){return m},set fallbackFormat(e){m=e,C.fallbackFormat=m},get warnHtmlMessage(){return w},set warnHtmlMessage(e){w=e,C.warnHtmlMessage=e},get escapeParameter(){return b},set escapeParameter(e){b=e,C.escapeParameter=e},t:R,getLocaleMessage:W,setLocaleMessage:function(e,t){if(o){const n={[e]:t};for(const e in n)tn(n,e)&&Oi(n[e]);t=n[e]}u.value[e]=t,C.messages=u.value},mergeLocaleMessage:function(e,t){u.value[e]=u.value[e]||{};const n={[e]:t};if(o)for(const r in n)tn(n,r)&&Oi(n[r]);gn(t=n[e],u.value[e]),C.messages=u.value},getPostTranslationHandler:function(){return rn(L)?L:null},setPostTranslationHandler:function(e){L=e,C.postTranslation=e},getMissingHandler:function(){return v},setMissingHandler:function(e){null!==e&&(y=zi(e)),v=e,C.missing=y},[Mi]:function(e){j=e,C.pluralRules=j}};return H.datetimeFormats=O,H.numberFormats=A,H.rt=function(...e){const[t,n,r]=e;if(r&&!an(r))throw xi(_i.INVALID_ARGUMENT);return R(t,n,qt({resolvedMessage:!0},r||{}))},H.te=function(e,t){return P((()=>{if(!e)return!1;const n=W(on(t)?t:c.value),r=C.messageResolver(n,e);return a?null!=r:ti(r)||oi(r)||on(r)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),Wi,(e=>sn(e)))},H.tm=function(e){const t=function(e){let t=null;const n=jr(C,h.value,c.value);for(let r=0;rReflect.apply(hi,null,[t,...e])),(()=>di(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>Ir),(e=>on(e)))},H.n=function(...e){return P((t=>Reflect.apply(pi,null,[t,...e])),(()=>ki(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>Ir),(e=>on(e)))},H.getDateTimeFormat=function(e){return d.value[e]||{}},H.setDateTimeFormat=function(e,t){d.value[e]=t,C.datetimeFormats=d.value,fi(C,e,t)},H.mergeDateTimeFormat=function(e,t){d.value[e]=qt(d.value[e]||{},t),C.datetimeFormats=d.value,fi(C,e,t)},H.getNumberFormat=function(e){return f.value[e]||{}},H.setNumberFormat=function(e,t){f.value[e]=t,C.numberFormats=f.value,mi(C,e,t)},H.mergeNumberFormat=function(e,t){f.value[e]=qt(f.value[e]||{},t),C.numberFormats=f.value,mi(C,e,t)},H[Ei]=r,H[Ci]=function(...e){return P((t=>{let n;const r=t;try{r.processor=B,n=Reflect.apply(si,null,[r,...e])}finally{r.processor=null}return n}),(()=>ci(...e)),"translate",(t=>t[Ci](...e)),(e=>[Ri(e)]),(e=>nn(e)))},H[Si]=function(...e){return P((t=>Reflect.apply(hi,null,[t,...e])),(()=>di(...e)),"datetime format",(t=>t[Si](...e)),Bi,(e=>on(e)||nn(e)))},H[ji]=function(...e){return P((t=>Reflect.apply(pi,null,[t,...e])),(()=>ki(...e)),"number format",(t=>t[ji](...e)),Bi,(e=>on(e)||nn(e)))},H}function Ni(e={},t){{const t=Di(function(e){const t=on(e.locale)?e.locale:Pr,n=on(e.fallbackLocale)||nn(e.fallbackLocale)||un(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=rn(e.missing)?e.missing:void 0,i=!sn(e.silentTranslationWarn)&&!Zt(e.silentTranslationWarn)||!e.silentTranslationWarn,o=!sn(e.silentFallbackWarn)&&!Zt(e.silentFallbackWarn)||!e.silentFallbackWarn,s=!sn(e.fallbackRoot)||e.fallbackRoot,a=!!e.formatFallbackMessages,l=un(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,h=rn(e.postTranslation)?e.postTranslation:void 0,u=!on(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,d=!!e.escapeParameterHtml,f=!sn(e.sync)||e.sync;let p=e.messages;if(un(e.sharedMessages)){const t=e.sharedMessages;p=Object.keys(t).reduce(((e,n)=>{const r=e[n]||(e[n]={});return qt(r,t[n]),e}),p||{})}const{__i18n:g,__root:k,__injectWithOption:m}=e,v=e.datetimeFormats,y=e.numberFormats,L=e.flatJson,w=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:p,flatJson:L,datetimeFormats:v,numberFormats:y,missing:r,missingWarn:i,fallbackWarn:o,fallbackRoot:s,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:h,warnHtmlMessage:u,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:f,translateExistCompatible:w,__i18n:g,__root:k,__injectWithOption:m}}(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return sn(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=sn(e)?!e:e},get silentFallbackWarn(){return sn(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=sn(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,r,i]=e,o={};let s=null,a=null;if(!on(n))throw xi(_i.INVALID_ARGUMENT);const l=n;return on(r)?o.locale=r:nn(r)?s=r:un(r)&&(a=r),nn(i)?s=i:un(i)&&(a=i),Reflect.apply(t.t,t,[l,s||a||{},o])},rt:(...e)=>Reflect.apply(t.rt,t,[...e]),tc(...e){const[n,r,i]=e,o={plural:1};let s=null,a=null;if(!on(n))throw xi(_i.INVALID_ARGUMENT);const l=n;return on(r)?o.locale=r:Yt(r)?o.plural=r:nn(r)?s=r:un(r)&&(a=r),on(i)?o.locale=i:nn(i)?s=i:un(i)&&(a=i),Reflect.apply(t.t,t,[l,s||a||{},o])},te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex:(e,t)=>-1};return r.__extender=n,r}}const Fi={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Vi(e){return N}const Ui=R({name:"i18n-t",props:qt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Yt(e)||!isNaN(e)}},Fi),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||eo({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter((e=>"_"!==e)),s={};e.locale&&(s.locale=e.locale),void 0!==e.plural&&(s.plural=on(e.plural)?+e.plural:e.plural);const a=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...t.type===N?t.children:[t]]),[]);return t.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),{})}(t,o),l=i[Ci](e.keypath,a,s),c=qt({},r),h=on(e.tag)||an(e.tag)?e.tag:Vi();return B(h,c,l)}}});function $i(e,t,n,r){const{slots:i,attrs:o}=t;return()=>{const t={part:!0};let s={};e.locale&&(t.locale=e.locale),on(e.format)?t.key=e.format:an(e.format)&&(on(e.format.key)&&(t.key=e.format.key),s=Object.keys(e.format).reduce(((t,r)=>n.includes(r)?qt({},t,{[r]:e.format[r]}):t),{}));const a=r(e.value,t,s);let l=[t.key];nn(a)?l=a.map(((e,t)=>{const n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:a}):[e.value];var o;return nn(o=r)&&!on(o[0])&&(r[0].key=`${e.type}-${t}`),r})):on(a)&&(l=[a]);const c=qt({},o),h=on(e.tag)||an(e.tag)?e.tag:Vi();return B(h,c,l)}}const Yi=R({name:"i18n-n",props:qt({value:{type:Number,required:!0},format:{type:[String,Object]}},Fi),setup(e,t){const n=e.i18n||eo({useScope:e.scope,__useComponent:!0});return $i(e,t,gi,((...e)=>n[ji](...e)))}}),Xi=R({name:"i18n-d",props:qt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fi),setup(e,t){const n=e.i18n||eo({useScope:e.scope,__useComponent:!0});return $i(e,t,ui,((...e)=>n[Si](...e)))}});function Zi(e){if(on(e))return{path:e};if(un(e)){if(!("path"in e))throw xi(_i.REQUIRED_VALUE);return e}throw xi(_i.INVALID_VALUE)}function Gi(e){const{path:t,locale:n,args:r,choice:i,plural:o}=e,s={},a=r||{};return on(n)&&(s.locale=n),Yt(i)&&(s.plural=i),Yt(o)&&(s.plural=o),[t,a,s]}function qi(e,t,...n){const r=un(n[0])?n[0]:{},i=!!r.useI18nComponentName;(!sn(r.globalInstall)||r.globalInstall)&&([i?"i18n":Ui.name,"I18nT"].forEach((t=>e.component(t,Ui))),[Yi.name,"I18nN"].forEach((t=>e.component(t,Yi))),[Xi.name,"I18nD"].forEach((t=>e.component(t,Xi)))),e.directive("t",function(e){const t=t=>{const{instance:n,modifiers:r,value:i}=t;if(!n||!n.$)throw xi(_i.UNEXPECTED_ERROR);const o=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}(e,n.$),s=Zi(i);return[Reflect.apply(o.t,o,[...Gi(s)]),o]};return{created:(n,r)=>{const[i,o]=t(r);Ft&&e.global===o&&(n.__i18nWatcher=S(o.locale,(()=>{r.instance&&r.instance.$forceUpdate()}))),n.__composer=o,n.textContent=i},unmounted:e=>{Ft&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=Zi(t);e.textContent=Reflect.apply(n.t,n,[...Gi(r)])}},getSSRProps:e=>{const[n]=t(e);return{textContent:n}}}}(t))}function Ki(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Mi](t.pluralizationRules||e.pluralizationRules);const n=Ai(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const Ji=Vt("global-vue-i18n");function Qi(e={},t){const n=__VUE_I18N_LEGACY_API__&&sn(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=!sn(e.globalInjection)||e.globalInjection,i=!__VUE_I18N_LEGACY_API__||!n||!!e.allowComposition,o=new Map,[s,a]=function(e,t){const n=_();{const r=__VUE_I18N_LEGACY_API__&&t?n.run((()=>Ni(e))):n.run((()=>Di(e)));if(null==r)throw xi(_i.UNEXPECTED_ERROR);return[n,r]}}(e,n),l=Vt("");{const e={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},install(t,...i){return g(this,null,(function*(){if(t.__VUE_I18N_SYMBOL__=l,t.provide(t.__VUE_I18N_SYMBOL__,e),un(i[0])){const t=i[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let o=null;!n&&r&&(o=function(e,t){const n=Object.create(null);to.forEach((e=>{const r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw xi(_i.UNEXPECTED_ERROR);const i=L(r.value)?{get:()=>r.value.value,set(e){r.value.value=e}}:{get:()=>r.get&&r.get()};Object.defineProperty(n,e,i)})),e.config.globalProperties.$i18n=n,no.forEach((n=>{const r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw xi(_i.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}));const r=()=>{delete e.config.globalProperties.$i18n,no.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return r}(t,e.global)),__VUE_I18N_FULL_INSTALL__&&qi(t,e,...i),__VUE_I18N_LEGACY_API__&&n&&t.mixin(function(e,t,n){return{beforeCreate(){const r=F();if(!r)throw xi(_i.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const r=i.i18n;if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=t,this===this.$root)this.$i18n=Ki(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Ni(r);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=Ki(e,i);else{this.$i18n=Ni({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&Ii(t,i,i),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const e=F();if(!e)throw xi(_i.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(a,a.__composer,e));const s=t.unmount;t.unmount=()=>{o&&o(),e.dispose(),s()}}))},get global(){return a},dispose(){s.stop()},__instances:o,__getInstance:function(e){return o.get(e)||null},__setInstance:function(e,t){o.set(e,t)},__deleteInstance:function(e){o.delete(e)}};return e}}function eo(e={}){const t=F();if(null==t)throw xi(_i.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw xi(_i.NOT_INSTALLED);const n=function(e){{const t=M(e.isCE?Ji:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw xi(e.isCE?_i.NOT_INSTALLED_WITH_PROVIDE:_i.UNEXPECTED_ERROR);return t}}(t),r=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),i=Pi(t),o=function(e,t){return Gt(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,i);if(__VUE_I18N_LEGACY_API__&&"legacy"===n.mode&&!e.__useComponent){if(!n.allowComposition)throw xi(_i.NOT_AVAILABLE_IN_LEGACY_MODE);return function(e,t,n,r={}){const i="local"===t,o=z(null);if(i&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw xi(_i.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=sn(r.inheritLocale)?r.inheritLocale:!on(r.locale),a=x(!i||s?n.locale.value:on(r.locale)?r.locale:Pr),l=x(!i||s?n.fallbackLocale.value:on(r.fallbackLocale)||nn(r.fallbackLocale)||un(r.fallbackLocale)||!1===r.fallbackLocale?r.fallbackLocale:a.value),c=x(Ai(a.value,r)),h=x(un(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),u=x(un(r.numberFormats)?r.numberFormats:{[a.value]:{}}),d=i?n.missingWarn:!sn(r.missingWarn)&&!Zt(r.missingWarn)||r.missingWarn,f=i?n.fallbackWarn:!sn(r.fallbackWarn)&&!Zt(r.fallbackWarn)||r.fallbackWarn,p=i?n.fallbackRoot:!sn(r.fallbackRoot)||r.fallbackRoot,g=!!r.fallbackFormat,k=rn(r.missing)?r.missing:null,m=rn(r.postTranslation)?r.postTranslation:null,v=i?n.warnHtmlMessage:!sn(r.warnHtmlMessage)||r.warnHtmlMessage,y=!!r.escapeParameter,L=i?n.modifiers:un(r.modifiers)?r.modifiers:{},w=r.pluralRules||i&&n.pluralRules;function b(){return[a.value,l.value,c.value,h.value,u.value]}const _=I({get:()=>o.value?o.value.locale.value:a.value,set:e=>{o.value&&(o.value.locale.value=e),a.value=e}}),C=I({get:()=>o.value?o.value.fallbackLocale.value:l.value,set:e=>{o.value&&(o.value.fallbackLocale.value=e),l.value=e}}),S=I((()=>o.value?o.value.messages.value:c.value)),j=I((()=>h.value)),M=I((()=>u.value));function E(){return o.value?o.value.getPostTranslationHandler():m}function T(e){o.value&&o.value.setPostTranslationHandler(e)}function O(){return o.value?o.value.getMissingHandler():k}function A(e){o.value&&o.value.setMissingHandler(e)}function P(e){return b(),e()}function R(...e){return o.value?P((()=>Reflect.apply(o.value.t,null,[...e]))):P((()=>""))}function B(...e){return o.value?Reflect.apply(o.value.rt,null,[...e]):""}function W(...e){return o.value?P((()=>Reflect.apply(o.value.d,null,[...e]))):P((()=>""))}function H(...e){return o.value?P((()=>Reflect.apply(o.value.n,null,[...e]))):P((()=>""))}function N(e){return o.value?o.value.tm(e):{}}function F(e,t){return!!o.value&&o.value.te(e,t)}function V(e){return o.value?o.value.getLocaleMessage(e):{}}function U(e,t){o.value&&(o.value.setLocaleMessage(e,t),c.value[e]=t)}function $(e,t){o.value&&o.value.mergeLocaleMessage(e,t)}function Y(e){return o.value?o.value.getDateTimeFormat(e):{}}function X(e,t){o.value&&(o.value.setDateTimeFormat(e,t),h.value[e]=t)}function Z(e,t){o.value&&o.value.mergeDateTimeFormat(e,t)}function G(e){return o.value?o.value.getNumberFormat(e):{}}function q(e,t){o.value&&(o.value.setNumberFormat(e,t),u.value[e]=t)}function K(e,t){o.value&&o.value.mergeNumberFormat(e,t)}const J={get id(){return o.value?o.value.id:-1},locale:_,fallbackLocale:C,messages:S,datetimeFormats:j,numberFormats:M,get inheritLocale(){return o.value?o.value.inheritLocale:s},set inheritLocale(e){o.value&&(o.value.inheritLocale=e)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(c.value)},get modifiers(){return o.value?o.value.modifiers:L},get pluralRules(){return o.value?o.value.pluralRules:w},get isGlobal(){return!!o.value&&o.value.isGlobal},get missingWarn(){return o.value?o.value.missingWarn:d},set missingWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackWarn(){return o.value?o.value.fallbackWarn:f},set fallbackWarn(e){o.value&&(o.value.missingWarn=e)},get fallbackRoot(){return o.value?o.value.fallbackRoot:p},set fallbackRoot(e){o.value&&(o.value.fallbackRoot=e)},get fallbackFormat(){return o.value?o.value.fallbackFormat:g},set fallbackFormat(e){o.value&&(o.value.fallbackFormat=e)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:v},set warnHtmlMessage(e){o.value&&(o.value.warnHtmlMessage=e)},get escapeParameter(){return o.value?o.value.escapeParameter:y},set escapeParameter(e){o.value&&(o.value.escapeParameter=e)},t:R,getPostTranslationHandler:E,setPostTranslationHandler:T,getMissingHandler:O,setMissingHandler:A,rt:B,d:W,n:H,tm:N,te:F,getLocaleMessage:V,setLocaleMessage:U,mergeLocaleMessage:$,getDateTimeFormat:Y,setDateTimeFormat:X,mergeDateTimeFormat:Z,getNumberFormat:G,setNumberFormat:q,mergeNumberFormat:K};function Q(e){e.locale.value=a.value,e.fallbackLocale.value=l.value,Object.keys(c.value).forEach((t=>{e.mergeLocaleMessage(t,c.value[t])})),Object.keys(h.value).forEach((t=>{e.mergeDateTimeFormat(t,h.value[t])})),Object.keys(u.value).forEach((t=>{e.mergeNumberFormat(t,u.value[t])})),e.escapeParameter=y,e.fallbackFormat=g,e.fallbackRoot=p,e.fallbackWarn=f,e.missingWarn=d,e.warnHtmlMessage=v}return D((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw xi(_i.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const n=o.value=e.proxy.$i18n.__composer;"global"===t?(a.value=n.locale.value,l.value=n.fallbackLocale.value,c.value=n.messages.value,h.value=n.datetimeFormats.value,u.value=n.numberFormats.value):i&&Q(n)})),J}(t,o,r,e)}if("global"===o)return Ii(r,e,i),r;if("parent"===o){let i=function(e,t,n=!1){let r=null;const i=t.root;let o=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,n);for(;null!=o;){const t=e;if("composition"===e.mode)r=t.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const e=t.__getInstance(o);null!=e&&(r=e.__composer,n&&r&&!r[Ei]&&(r=null))}if(null!=r)break;if(i===o)break;o=o.parent}return r}(n,t,e.__useComponent);return null==i&&(i=r),i}const s=n;let a=s.__getInstance(t);if(null==a){const n=qt({},e);"__i18n"in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),a=Di(n),s.__composerExtend&&(a[Ti]=s.__composerExtend(a)),function(e,t,n){W((()=>{}),t),H((()=>{const r=n;e.__deleteInstance(t);const i=r[Ti];i&&(i(),delete r[Ti])}),t)}(s,t,a),s.__setInstance(t,a)}return a}const to=["locale","fallbackLocale","availableLocales"],no=["t","rt","d","n","tm","te"];var ro;if("boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(Jt().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __VUE_I18N_LEGACY_API__&&(Jt().__VUE_I18N_LEGACY_API__=!0),"boolean"!=typeof __INTLIFY_JIT_COMPILATION__&&(Jt().__INTLIFY_JIT_COMPILATION__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(Jt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Jt().__INTLIFY_PROD_DEVTOOLS__=!1),__INTLIFY_JIT_COMPILATION__?zr((function(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&on(e)){!sn(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||Qr)(e),r=ei[n];if(r)return r;const{ast:i,detectError:o}=ni(e,d(u({},t),{location:!1,jit:!0})),s=qr(i);return o?s:ei[n]=s}{const t=e.cacheKey;if(t){return ei[t]||(ei[t]=qr(e))}return qr(e)}})):zr(ri),Wr=function(e,t){if(!an(e))return null;let n=ir.get(t);if(n||(n=function(e){const t=[];let n,r,i,o,s,a,l,c=-1,h=0,u=0;const d=[];function f(){const t=e[c+1];if(5===h&&"'"===t||6===h&&'"'===t)return c++,i="\\"+t,d[0](),!0}for(d[0]=()=>{void 0===r?r=i:r+=i},d[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},d[2]=()=>{d[0](),u++},d[3]=()=>{if(u>0)u--,h=4,d[0]();else{if(u=0,void 0===r)return!1;if(r=rr(r),!1===r)return!1;d[1]()}};null!==h;)if(c++,n=e[c],"\\"!==n||!f()){if(o=nr(n),l=er[h],s=l[o]||l.l||8,8===s)return;if(h=s[0],void 0!==s[1]&&(a=d[s[1]],a&&(i=n,!1===a())))return;if(7===h)return t}}(t),n&&ir.set(t,n)),!n)return null;const r=n.length;let i=e,o=0;for(;o{let e=function(e){const t=localStorage.getItem(e);return t?JSON.parse(t):null}(lo);if(!e){let t=navigator.language;if(t){const n=t.split("-")[0];t=n,e=n,co(lo,n)}}return e},fo=()=>{const e=uo(),t=Object.assign({"./lang/en.ts":oo,"./lang/zh.ts":ao}),n={};return Object.keys(t).forEach((e=>{const r=e.replace("./lang/","").split(".")[0];n[r]=t[e].default})),{legacy:!1,locale:e,messages:n,allowComposition:!0,globalInjection:!0,silentTranslationWarn:!0,missingWarn:!1,silentFallbackWarn:!1}},po=e=>g(void 0,null,(function*(){const t=null==ho?void 0:ho.global;if(!t)return;return t.locale!==e?((e=>{"legacy"===(null==ho?void 0:ho.mode)?ho.global.locale=e:(null==ho?void 0:ho.global.locale).value=e,co(lo,e)})(e),e):void 0})),go=()=>u({changeLocale:po},eo()||{}),ko=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},mo=ko(R({__name:"App",setup(e){const{messages:t}=go(),n=I((()=>t.value));return window.addEventListener("beforeinstallprompt",(e=>{e.preventDefault(),window.deferredPrompt=e})),(e,t)=>{const r=G("router-view"),i=ke;return $(),Y(i,{locale:Z(n).el},{default:X((()=>[V(r)])),_:1},8,["locale"])}}}),[["__scopeId","data-v-67d15830"]]),vo={},yo=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){const e=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),o=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(t.map((t=>{if(t=function(e,t){return new URL(e,t).href}(t,n),t in vo)return;vo[t]=!0;const r=t.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!n)for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.href===t&&(!r||"stylesheet"===i.rel))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;const s=document.createElement("link");return s.rel=r?"stylesheet":"modulepreload",r||(s.as="script"),s.crossOrigin="",s.href=t,o&&s.setAttribute("nonce",o),document.head.appendChild(s),r?new Promise(((e,n)=>{s.addEventListener("load",e),s.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${t}`))))})):void 0})))}return r.then((()=>e())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))},Lo="undefined"!=typeof document;const wo=Object.assign;function bo(e,t){const n={};for(const r in t){const i=t[r];n[r]=xo(i)?i.map(e):e(i)}return n}const _o=()=>{},xo=Array.isArray,Co=/#/g,So=/&/g,jo=/\//g,Mo=/=/g,Eo=/\?/g,To=/\+/g,Oo=/%5B/g,Ao=/%5D/g,Po=/%5E/g,Io=/%60/g,Ro=/%7B/g,Bo=/%7C/g,Wo=/%7D/g,Ho=/%20/g;function zo(e){return encodeURI(""+e).replace(Bo,"|").replace(Oo,"[").replace(Ao,"]")}function Do(e){return zo(e).replace(To,"%2B").replace(Ho,"+").replace(Co,"%23").replace(So,"%26").replace(Io,"`").replace(Ro,"{").replace(Wo,"}").replace(Po,"^")}function No(e){return null==e?"":function(e){return zo(e).replace(Co,"%23").replace(Eo,"%3F")}(e).replace(jo,"%2F")}function Fo(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Vo=/\/$/,Uo=e=>e.replace(Vo,"");function $o(e,t,n="/"){let r,i={},o="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),i=e(o)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];".."!==i&&"."!==i||r.push("");let o,s,a=n.length-1;for(o=0;o1&&a--}return n.slice(0,a).join("/")+"/"+r.slice(o).join("/")}(null!=r?r:t,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:Fo(s)}}function Yo(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Xo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Zo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Go(e[n],t[n]))return!1;return!0}function Go(e,t){return xo(e)?qo(e,t):xo(t)?qo(t,e):e===t}function qo(e,t){return xo(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const Ko={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Jo,Qo,es,ts;(Qo=Jo||(Jo={})).pop="pop",Qo.push="push",(ts=es||(es={})).back="back",ts.forward="forward",ts.unknown="";const ns=/^[^#]+#/;function rs(e,t){return e.replace(ns,"#")+t}const is=()=>({left:window.scrollX,top:window.scrollY});function os(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),i="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function ss(e,t){return(history.state?history.state.position-t:-1)+e}const as=new Map;let ls=()=>location.protocol+"//"+location.host;function cs(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let t=i.includes(e.slice(o))?e.slice(o).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),Yo(n,"")}return Yo(n,e)+r+i}function hs(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?is():null}}function us(e){return"string"==typeof e||"symbol"==typeof e}const ds=Symbol("");var fs,ps;function gs(e,t){return wo(new Error,{type:e,[ds]:!0},t)}function ks(e,t){return e instanceof Error&&ds in e&&(null==t||!!(e.type&t))}(ps=fs||(fs={}))[ps.aborted=4]="aborted",ps[ps.cancelled=8]="cancelled",ps[ps.duplicated=16]="duplicated";const ms="[^/]+?",vs={sensitive:!1,strict:!1,start:!0,end:!0},ys=/[.+*?^${}()[\]/\\]/g;function Ls(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function ws(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const _s={type:0,value:""},xs=/[a-zA-Z0-9_]/;function Cs(e,t,n){const r=function(e,t){const n=wo({},vs,t),r=[];let i=n.start?"^":"";const o=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(i+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:h,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{o(d)}:_o}function o(e){if(us(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(e){const t=function(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;ws(e,t[i])<0?r=i:n=i+1}const i=function(e){let t=e;for(;t=t.parent;)if(As(t)&&0===ws(e,t))return t;return}(e);i&&(r=t.lastIndexOf(i,r-1));return r}(e,n);n.splice(t,0,e),e.record.name&&!Es(e)&&r.set(e.record.name,e)}return t=Os({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>i(e))),{addRoute:i,resolve:function(e,t){let i,o,s,a={};if("name"in e&&e.name){if(i=r.get(e.name),!i)throw gs(1,{location:e});s=i.record.name,a=wo(js(t.params,i.keys.filter((e=>!e.optional)).concat(i.parent?i.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&js(e.params,i.keys.map((e=>e.name)))),o=i.stringify(a)}else if(null!=e.path)o=e.path,i=n.find((e=>e.re.test(o))),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!i)throw gs(1,{location:e,currentLocation:t});s=i.record.name,a=wo({},t.params,e.params),o=i.stringify(a)}const l=[];let c=i;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:o,params:a,matched:l,meta:Ts(l)}},removeRoute:o,clearRoutes:function(){n.length=0,r.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function js(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ms(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"==typeof n?n[r]:n;return t}function Es(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ts(e){return e.reduce(((e,t)=>wo(e,t.meta)),{})}function Os(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function As({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ps(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;re&&Do(e))):[r&&Do(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Rs(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=xo(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const Bs=Symbol(""),Ws=Symbol(""),Hs=Symbol(""),zs=Symbol(""),Ds=Symbol("");function Ns(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Fs(e,t,n,r,i,o=e=>e()){const s=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var o;!1===e?l(gs(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(o=e)||o&&"object"==typeof o?l(gs(2,{from:t,to:e})):(s&&r.enterCallbacks[i]===s&&"function"==typeof e&&s.push(e),a())},h=o((()=>e.call(r&&r.instances[i],t,n,c)));let u=Promise.resolve(h);e.length<3&&(u=u.then(c)),u.catch((e=>l(e)))}))}function Vs(e,t,n,r,i=e=>e()){const o=[];for(const a of e)for(const e in a.components){let l=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=l)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(l.__vccOpts||l)[t];s&&o.push(Fs(s,n,r,a,e,i))}else{let s=l();o.push((()=>s.then((o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(l=o).__esModule||"Module"===l[Symbol.toStringTag]?o.default:o;var l;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Fs(c,n,r,a,e,i)()}))))}}var s;return o}function Us(e){const t=M(Hs),n=M(zs),r=I((()=>{const n=Z(e.to);return t.resolve(n)})),i=I((()=>{const{matched:e}=r.value,{length:t}=e,i=e[t-1],o=n.matched;if(!i||!o.length)return-1;const s=o.findIndex(Xo.bind(null,i));if(s>-1)return s;const a=Ys(e[t-2]);return t>1&&Ys(i)===a&&o[o.length-1].path!==a?o.findIndex(Xo.bind(null,e[t-2])):s})),o=I((()=>i.value>-1&&function(e,t){for(const n in t){const r=t[n],i=e[n];if("string"==typeof r){if(r!==i)return!1}else if(!xo(i)||i.length!==r.length||r.some(((e,t)=>e!==i[t])))return!1}return!0}(n.params,r.value.params))),s=I((()=>i.value>-1&&i.value===n.matched.length-1&&Zo(n.params,r.value.params)));return{route:r,href:I((()=>r.value.href)),isActive:o,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Z(e.replace)?"replace":"push"](Z(e.to)).catch(_o):Promise.resolve()}}}const $s=R({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Us,setup(e,{slots:t}){const n=j(Us(e)),{options:r}=M(Hs),i=I((()=>({[Xs(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Xs(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const r=t.default&&t.default(n);return e.custom?r:B("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function Ys(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Xs=(e,t,n)=>null!=e?e:null!=t?t:n;function Zs(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Gs=R({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=M(Ds),i=I((()=>e.route||r.value)),o=M(Ws,0),s=I((()=>{let e=Z(o);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=I((()=>i.value.matched[s.value]));K(Ws,I((()=>s.value+1))),K(Bs,a),K(Ds,i);const l=x();return S((()=>[l.value,a.value,e.name]),(([e,t,n],[r,i,o])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&Xo(t,i)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const r=i.value,o=e.name,s=a.value,c=s&&s.components[o];if(!c)return Zs(n.default,{Component:c,route:r});const h=s.props[o],u=h?!0===h?r.params:"function"==typeof h?h(r):h:null,d=B(c,wo({},u,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[o]=null)},ref:l}));return Zs(n.default,{Component:d,route:r})||d}}});function qs(){return M(Hs)}const Ks=[{path:"/home",component:()=>yo((()=>import("./index-eD7CRpP4.js")),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),meta:{hidden:!0,title:"yft-home"}},{path:"/",name:"/",component:()=>yo((()=>import("./index-D5HAQ7mM.js")),__vite__mapDeps([8,1,2,3,5,6,4,9,10]),import.meta.url),meta:{title:"yft-design"}},{path:"/github",component:()=>yo((()=>import("./github-BS2ImFWR.js")),__vite__mapDeps([11,1,2,3,5,6]),import.meta.url),meta:{title:"yft-github"}},{path:"/401",component:()=>yo((()=>import("./401-CbnovuuC.js")),__vite__mapDeps([12,1,2,3,5,6,13]),import.meta.url),meta:{hidden:!0}},{path:"/404",component:()=>yo((()=>import("./404-B6H4Y_Ye.js")),__vite__mapDeps([14,1,2,3,5,6,15]),import.meta.url),meta:{hidden:!0}}],Js=function(e){const t=Ss(e.routes,e),n=e.parseQuery||Ps,r=e.stringifyQuery||Is,i=e.history,o=Ns(),s=Ns(),a=Ns(),l=z(Ko);let c=Ko;Lo&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const h=bo.bind(null,(e=>""+e)),u=bo.bind(null,No),d=bo.bind(null,Fo);function f(e,o){if(o=wo({},o||l.value),"string"==typeof e){const r=$o(n,e,o.path),s=t.resolve({path:r.path},o),a=i.createHref(r.fullPath);return wo(r,s,{params:d(s.params),hash:Fo(r.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=wo({},e,{path:$o(n,e.path,o.path).path});else{const t=wo({},e.params);for(const e in t)null==t[e]&&delete t[e];s=wo({},e,{params:u(t)}),o.params=u(o.params)}const a=t.resolve(s,o),c=e.hash||"";a.params=h(d(a.params));const f=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,wo({},e,{hash:(p=c,zo(p).replace(Ro,"{").replace(Wo,"}").replace(Po,"^")),path:a.path}));var p;const g=i.createHref(f);return wo({fullPath:f,hash:c,query:r===Is?Rs(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function p(e){return"string"==typeof e?$o(n,e,l.value.path):wo({},e)}function g(e,t){if(c!==e)return gs(8,{from:t,to:e})}function k(e){return v(e)}function m(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=p(r):{path:r},r.params={}),wo({query:e.query,hash:e.hash,params:null!=r.path?{}:e.params},r)}}function v(e,t){const n=c=f(e),i=l.value,o=e.state,s=e.force,a=!0===e.replace,h=m(n);if(h)return v(wo(p(h),{state:"object"==typeof h?wo({},o,h.state):o,force:s,replace:a}),t||n);const u=n;let d;return u.redirectedFrom=t,!s&&function(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Xo(t.matched[r],n.matched[i])&&Zo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,i,n)&&(d=gs(16,{to:u,from:i}),A(i,i,!0,!1)),(d?Promise.resolve(d):w(u,i)).catch((e=>ks(e)?ks(e,2)?e:T(e):E(e,u,i))).then((e=>{if(e){if(ks(e,2))return v(wo({replace:a},p(e.to),{state:"object"==typeof e.to?wo({},o,e.to.state):o,force:s}),t||u)}else e=_(u,i,!0,a,o);return b(u,i,e),e}))}function y(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function L(e){const t=R.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[r,i,a]=function(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;sXo(e,o)))?r.push(o):n.push(o));const a=e.matched[s];a&&(t.matched.find((e=>Xo(e,a)))||i.push(a))}return[n,r,i]}(e,t);n=Vs(r.reverse(),"beforeRouteLeave",e,t);for(const o of r)o.leaveGuards.forEach((r=>{n.push(Fs(r,e,t))}));const l=y.bind(null,e,t);return n.push(l),W(n).then((()=>{n=[];for(const r of o.list())n.push(Fs(r,e,t));return n.push(l),W(n)})).then((()=>{n=Vs(i,"beforeRouteUpdate",e,t);for(const r of i)r.updateGuards.forEach((r=>{n.push(Fs(r,e,t))}));return n.push(l),W(n)})).then((()=>{n=[];for(const r of a)if(r.beforeEnter)if(xo(r.beforeEnter))for(const i of r.beforeEnter)n.push(Fs(i,e,t));else n.push(Fs(r.beforeEnter,e,t));return n.push(l),W(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Vs(a,"beforeRouteEnter",e,t,L),n.push(l),W(n)))).then((()=>{n=[];for(const r of s.list())n.push(Fs(r,e,t));return n.push(l),W(n)})).catch((e=>ks(e,8)?e:Promise.reject(e)))}function b(e,t,n){a.list().forEach((r=>L((()=>r(e,t,n)))))}function _(e,t,n,r,o){const s=g(e,t);if(s)return s;const a=t===Ko,c=Lo?history.state:{};n&&(r||a?i.replace(e.fullPath,wo({scroll:a&&c&&c.scroll},o)):i.push(e.fullPath,o)),l.value=e,A(e,t,n,a),T()}let x;function C(){x||(x=i.listen(((e,t,n)=>{if(!B.listening)return;const r=f(e),o=m(r);if(o)return void v(wo(o,{replace:!0}),r).catch(_o);c=r;const s=l.value;var a,h;Lo&&(a=ss(s.fullPath,n.delta),h=is(),as.set(a,h)),w(r,s).catch((e=>ks(e,12)?e:ks(e,2)?(v(e.to,r).then((e=>{ks(e,20)&&!n.delta&&n.type===Jo.pop&&i.go(-1,!1)})).catch(_o),Promise.reject()):(n.delta&&i.go(-n.delta,!1),E(e,r,s)))).then((e=>{(e=e||_(r,s,!1))&&(n.delta&&!ks(e,8)?i.go(-n.delta,!1):n.type===Jo.pop&&ks(e,20)&&i.go(-1,!1)),b(r,s,e)})).catch(_o)})))}let S,j=Ns(),M=Ns();function E(e,t,n){T(e);const r=M.list();return r.length&&r.forEach((r=>r(e,t,n))),Promise.reject(e)}function T(e){return S||(S=!e,C(),j.list().forEach((([t,n])=>e?n(e):t())),j.reset()),e}function A(t,n,r,i){const{scrollBehavior:o}=e;if(!Lo||!o)return Promise.resolve();const s=!r&&function(e){const t=as.get(e);return as.delete(e),t}(ss(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return O().then((()=>o(t,n,s))).then((e=>e&&os(e))).catch((e=>E(e,t,n)))}const P=e=>i.go(e);let I;const R=new Set,B={currentRoute:l,listening:!0,addRoute:function(e,n){let r,i;return us(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:f,options:e,push:k,replace:function(e){return k(wo(p(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:M.add,isReady:function(){return S&&l.value!==Ko?Promise.resolve():new Promise(((e,t)=>{j.add([e,t])}))},install(e){e.component("RouterLink",$s),e.component("RouterView",Gs),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Z(l)}),Lo&&!I&&l.value===Ko&&(I=!0,k(i.location).catch((e=>{})));const t={};for(const r in Ko)Object.defineProperty(t,r,{get:()=>l.value[r],enumerable:!0});e.provide(Hs,this),e.provide(zs,q(t)),e.provide(Ds,l);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=Ko,x&&x(),x=null,l.value=Ko,I=!1,S=!1),n()}}};function W(e){return e.reduce(((e,t)=>e.then((()=>L(t)))),Promise.resolve())}return B}({history:function(e){const t=function(e){const{history:t,location:n}=window,r={value:cs(e,n)},i={value:t.state};function o(r,o,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+r:ls()+e+r;try{t[s?"replaceState":"pushState"](o,"",l),i.value=o}catch(c){n[s?"replace":"assign"](l)}}return i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:i,push:function(e,n){const s=wo({},i.value,t.state,{forward:e,scroll:is()});o(s.current,s,!0),o(e,wo({},hs(r.value,e,null),{position:s.position+1},n),!1),r.value=e},replace:function(e,n){o(e,wo({},t.state,hs(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}}}(e=function(e){if(!e)if(Lo){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),Uo(e)}(e)),n=function(e,t,n,r){let i=[],o=[],s=null;const a=({state:o})=>{const a=cs(e,location),l=n.value,c=t.value;let h=0;if(o){if(n.value=a,t.value=o,s&&s===l)return void(s=null);h=c?o.position-c.position:0}else r(a);i.forEach((e=>{e(n.value,l,{delta:h,type:Jo.pop,direction:h?h>0?es.forward:es.back:es.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(wo({},e.state,{scroll:is()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return o.push(t),t},destroy:function(){for(const e of o)e();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace),r=wo({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:rs.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}(),routes:Ks,scrollBehavior:()=>({left:0,top:0})});Js.beforeResolve(((e,t,n)=>{window.document.title=e.meta.title,n()}));const Qs=(e,t,n,r,i="source-over")=>g(void 0,null,(function*(){var o;const s=r.width,a=r.height,l=r.getSrc();let c=document.createElement("canvas");const h=c.getContext("2d");if(!h)return;if(0===t)return;h.save(),h.clearRect(0,0,c.width,c.height),h.restore(),c.width=s+2*t,c.height=a+2*t;const u=[-1,-1,0,-1,1,-1,-1,0,1,0,-1,1,0,1,1,1],d=yield ea(l);if(!d)return;for(let e=0;eg(void 0,null,(function*(){return new Promise(((t,n)=>{const r=new Image;r.crossOrigin="anonymous",r.onload=()=>t(r),r.onerror=()=>n(),r.src=e}))})),ta=e=>e-0==0,na=e=>g(void 0,null,(function*(){const t=new Image;return t.crossOrigin="anonymous",t.src=e,yield new Promise((e=>{t.onload=()=>e()})),createImageBitmap(t)}));const ra=[{label:"纵横比(方形)",children:[{key:"1:1",ratio:1}]},{label:"纵横比(纵向)",children:[{key:"2:3",ratio:1.5},{key:"3:4",ratio:4/3},{key:"3:5",ratio:5/3},{key:"4:5",ratio:5/4}]},{label:"纵横比(横向)",children:[{key:"3:2",ratio:2/3},{key:"4:3",ratio:3/4},{key:"5:3",ratio:.6},{key:"5:4",ratio:.8}]},{children:[{key:"16:9",ratio:9/16},{key:"16:10",ratio:.625}]}],ia={rect:{name:"矩形",type:"rect",radius:"0",style:"",createPath:(e,t)=>`M ${-e/2} ${-t/2} L ${e/2} ${-t/2} L ${e/2} ${t/2} L ${e/2} ${t/2} L ${-e/2} ${t/2} Z`},rect2:{name:"矩形2",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 0 100%)",createPath:(e,t)=>`M ${-e/2} ${-t/2} L ${.3*e} ${-t/2} L ${e/2} ${.3*-t} L ${e/2} ${t/2} L ${-e/2} ${t/2} Z`},rect3:{name:"矩形3",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 20% 100%, 0% 80%)",createPath:(e,t)=>`M ${-e/2} ${-t/2} L ${.3*e} ${-t/2} L ${e/2} ${.3*-t} L ${e/2} ${t/2} L ${.3*-e} ${t/2} L ${-e/2} ${.3*t} Z`},roundRect:{name:"圆角矩形",type:"rect",radius:"10px",style:"inset(0 0 0 0 round 10px 10px 10px 10px)",createPath:(e,t,n=50)=>`M ${-e/2+n} ${-t/2}\n Q ${-e/2} ${-t/2} ${-e/2} ${-t/2+n}\n L ${-e/2} ${t/2-n}\n Q ${-e/2} ${t/2} ${-e/2+n} ${t/2}\n L ${e/2-n} ${t/2}\n Q ${e/2} ${t/2} ${e/2} ${t/2-n}\n L ${e/2} ${-t/2+n}\n Q ${e/2} ${-t/2} ${e/2-n} ${-t/2}\n L ${-e/2+n} ${-t/2}\n Z`},ellipse:{name:"圆形",type:"ellipse",style:"ellipse(50% 50% at 50% 50%)",createPath:(e,t,n=100)=>{const r=Math.min(e,t);return`M ${r/2} 0\n A ${r/2} ${r/2} 0 1 0 ${-r/2} 0\n A ${r/2} ${r/2} 0 1 0 ${r/2} 0\n Z`}},triangle:{name:"三角形",type:"polygon",style:"polygon(50% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M 0 ${-t/2} L ${-e/2} ${t/2} L ${e/2} ${t/2} Z`},triangle2:{name:"三角形2",type:"polygon",style:"polygon(50% 100%, 0% 0%, 100% 0%)",createPath:(e,t)=>`M 0 ${t/2} L ${-e/2} ${-t/2} L ${e/2} ${-t/2} Z`},triangle3:{name:"三角形3",type:"polygon",style:"polygon(0% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M ${-e/2} ${-t/2} L ${-e/2} ${t/2} L ${e/2} ${t/2} Z`},rhombus:{name:"菱形",type:"polygon",style:"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)",createPath:(e,t)=>`M 0 ${-t/2} L ${e/2} 0 L 0 ${t/2} L ${-e/2} 0 Z`},pentagon:{name:"五边形",type:"polygon",style:"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)",createPath:(e,t)=>`M 0 ${-t/2} L ${e/2} ${-.12*t} L ${.32*e} ${t/2} L ${-.32*e} ${t/2} L ${-e/2} ${-.12*t} Z`},hexagon:{name:"六边形",type:"polygon",style:"polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%)",createPath:(e,t)=>`M ${.3*-e} ${-t/2} L ${.3*e} ${-t/2} L ${e/2} 0 L ${.3*e} ${t/2} L ${.3*-e} ${t/2} L ${-e/2} 0 Z`},heptagon:{name:"七边形",type:"polygon",style:"polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%)",createPath:(e,t)=>`M 0 ${-t/2} L ${.4*e} ${.3*-t} L ${e/2} ${.1*t} L ${.25*e} ${t/2} L ${.25*-e} ${t/2} L ${.5*-e} ${.1*t} L ${.4*-e} ${.3*-t} Z`},octagon:{name:"八边形",type:"polygon",style:"polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%)",createPath:(e,t)=>`M ${.2*-e} ${.5*-t} L ${.2*e} ${.5*-t} L ${.5*e} ${.2*-t} L ${.5*e} ${.2*t} L ${.2*e} ${.5*t} L ${.2*-e} ${.5*t} L ${.5*-e} ${.2*t} L ${.5*-e} ${.2*-t} Z`},chevron:{name:"V形",type:"polygon",style:"polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%)",createPath:(e,t)=>`M ${.25*e} ${.5*-t} L ${.5*e} 0 L ${.25*e} ${.5*t} L ${.5*-e} ${.5*t} L ${.25*-e} 0 L ${.5*-e} ${.5*-t} Z`},point:{name:"点",type:"polygon",style:"polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%)",createPath:(e,t)=>`M ${.5*-e} ${.5*-t} L ${.25*e} ${.5*-t} L ${.5*e} 0 L ${.25*e} ${.5*t} L ${.5*-e} ${.5*t} Z`},arrow:{name:"箭头",type:"polygon",style:"polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%)",createPath:(e,t)=>`M ${.5*-e} ${.3*-t} L ${.1*e} ${.3*-t} L ${.1*e} ${.5*-t} L ${.5*e} 0 L ${.1*e} ${.5*t} L ${.1*e} ${.3*t} L ${.5*-e} ${.3*t} Z`},parallelogram:{name:"平行四边形",type:"polygon",style:"polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%)",createPath:(e,t)=>`M ${.2*-e} ${.5*-t} L ${.5*e} ${.5*-t} L ${.2*e} ${.5*t} L ${.5*-e} ${.5*t} Z`},parallelogram2:{name:"平行四边形2",type:"polygon",style:"polygon(30% 100%, 100% 100%, 70% 0%, 0% 0%)",createPath:(e,t)=>`M ${.2*-e} ${.5*t} L ${.5*e} ${.5*t} L ${.2*e} ${.5*-t} L ${.5*-e} ${.5*-t} Z`},trapezoid:{name:"梯形",type:"polygon",style:"polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%)",createPath:(e,t)=>`M ${.25*-e} ${.5*-t} L ${.25*e} ${.5*-t} L ${.5*e} ${.5*t} L ${.5*-e} ${.5*t} Z`},trapezoid2:{name:"梯形2",type:"polygon",style:"polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%)",createPath:(e,t)=>`M ${.5*-e} ${.5*-t} L ${.5*e} ${.5*-t} L ${.25*e} ${.5*t} L ${.25*-e} ${.5*t} Z`}},oa=[{name:"escheresque",url:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAdCAMAAADiia4GAAAAJ1BMVEXb29vj4+Pm5ubk5OTd3d3g4ODc3Nzh4eHl5eXe3t7i4uLf3t7f399+XFm3AAABH0lEQVR42nXUCw6DIBAE0EEUFvT+5y3utJ3wM9FUebKAQ4Fw/I944kopt1/BH+eULpxRIEDcMkrk1XksyMbrggfvlzVyRc3eL2uEkduNm50QgC+rrecZpV0FUgM6CvLAk0qOR2htIy9W8NgC24PWNvHjqCnVSfPhih92ofQFrOCyY8V5f/ootUQnm2f+E3DBd0G15aqvke25Zmea955roYs+w8BZWBnwew5IKXjvyZmu9xQICioz9p7kniBOLS545NRdNf5wTt/k2sCNOf6uwAOOSmWt46YhcoY5dgFxJh7QxShiCMjE+xiR6/NPXFEQV7gmrs0qroBMXDESZ0A2XICc227LtQWda2g7rv8hVE18y7V0YFD05DbxFpSur1g+eZYPS/as5GIAAAAASUVORK5CYII=",import.meta.url).href},{name:"greyfloral",url:new URL(""+new URL("greyfloral-DDTxXL3F.png",import.meta.url).href,import.meta.url).href},{name:"honey_im_subtle",url:new URL(""+new URL("honey_im_subtle-DTcn2moI.png",import.meta.url).href,import.meta.url).href},{name:"nasty_fabric",url:new URL(""+new URL("nasty_fabric-Bnd87WVK.png",import.meta.url).href,import.meta.url).href},{name:"retina_wood",url:new URL(""+new URL("retina_wood-DDlTS6MU.png",import.meta.url).href,import.meta.url).href}],sa="Grayscale",aa=[0,-1,0,-1,5,-1,0,-1,0],la=[1,1,1,1,.7,-1,-1,-1,-1],ca=[{id:0,name:"背景",type:"backgrounds",category:[],total:[]},{id:1,name:"自然",type:"nature",category:[],total:[]},{id:2,name:"科学",type:"science",category:[],total:[]},{id:3,name:"教育",type:"education",category:[],total:[]},{id:4,name:"情感",type:"feelings",category:[],total:[]},{id:5,name:"健康",type:"health",category:[],total:[]},{id:6,name:"场所",type:"places",category:[],total:[]},{id:7,name:"动物",type:"animals",category:[],total:[]},{id:8,name:"工业",type:"industry",category:[],total:[]},{id:9,name:"计算机",type:"computer",category:[],total:[]},{id:10,name:"食品",type:"food",category:[],total:[]},{id:11,name:"体育",type:"sports",category:[],total:[]},{id:12,name:"交通",type:"transportation",category:[],total:[]},{id:13,name:"旅游",type:"travel",category:[],total:[]},{id:14,name:"建筑",type:"buildings",category:[],total:[]},{id:15,name:"商业",type:"business",category:[],total:[]},{id:16,name:"时尚",type:"fashion",category:[],total:[]},{id:17,name:"人物",type:"people",category:[],total:[]}],ha=[{id:"universal",key:"universal",name:"通用"},{id:"people",key:"people",name:"人像"}],ua=[{id:"source-over",key:"source-over",name:"正常"},{id:"screen",key:"screen",name:"滤色"},{id:"multiply",key:"multiply",name:"正片叠加"},{id:"darken",key:"darken",name:"变暗"},{id:"lighten",key:"lighten",name:"变亮"},{id:"color-dodge",key:"color-dodge",name:"颜色减淡"},{id:"color-burn",key:"color-burn",name:"颜色加深"},{id:"hard-light",key:"hard-light",name:"强光"},{id:"soft-light",key:"soft-light",name:"柔光"},{id:"difference",key:"difference",name:"差值"},{id:"exclusion",key:"exclusion",name:"排除"},{id:"hue",key:"hue",name:"色相"},{id:"saturation",key:"saturation",name:"饱和度"},{id:"color",key:"color",name:"颜色"},{id:"luminosity",key:"luminosity",name:"明度"}];function da(e){return!!E()&&(T(e),!0)}function fa(e){return null!=Z(e)}function pa(e){return"function"==typeof e?e():Z(e)}const ga="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const ka=e=>null!=e,ma=Object.prototype.toString,va=e=>"[object Object]"===ma.call(e),ya=()=>{};function La(e,t=!0,n){F()?W(e,n):t?e():O(e)}function wa(e){var t;const n=pa(e);return null!=(t=null==n?void 0:n.$el)?t:n}const ba=ga?window:void 0;function _a(...e){let t,n,r,i;if("string"==typeof e[0]||Array.isArray(e[0])?([n,r,i]=e,t=ba):[t,n,r,i]=e,!t)return ya;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],s=()=>{o.forEach((e=>e())),o.length=0},a=S((()=>[wa(t),pa(i)]),(([e,t])=>{if(s(),!e)return;const i=va(t)?u({},t):t;o.push(...n.flatMap((t=>r.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)))(e,t,n,i))))))}),{immediate:!0,flush:"post"}),l=()=>{a(),s()};return da(l),l}function xa(e){const t=function(){const e=x(!1),t=F();return t&&W((()=>{e.value=!0}),t),e}();return I((()=>(t.value,Boolean(e()))))}function Ca(e,t,n={}){const r=n,{window:i=ba}=r,o=f(r,["window"]);let s;const a=xa((()=>i&&"MutationObserver"in i)),l=()=>{s&&(s.disconnect(),s=void 0)},c=I((()=>{const t=pa(e),n=(Array.isArray(t)?t:[t]).map(wa).filter(ka);return new Set(n)})),h=S((()=>c.value),(e=>{l(),a.value&&e.size&&(s=new MutationObserver(t),e.forEach((e=>s.observe(e,o))))}),{immediate:!0,flush:"post"}),u=()=>{l(),h()};return da(u),{isSupported:a,stop:u,takeRecords:()=>null==s?void 0:s.takeRecords()}}function Sa(e={}){var t;const{window:n=ba,deep:r=!0,triggerOnRemoval:i=!1}=e,o=null!=(t=e.document)?t:null==n?void 0:n.document,s=x(),a=()=>{s.value=(()=>{var e;let t=null==o?void 0:o.activeElement;if(r)for(;null==t?void 0:t.shadowRoot;)t=null==(e=null==t?void 0:t.shadowRoot)?void 0:e.activeElement;return t})()};return n&&(_a(n,"blur",(e=>{null===e.relatedTarget&&a()}),!0),_a(n,"focus",a,!0)),i&&Ca(o,(e=>{e.filter((e=>e.removedNodes.length)).map((e=>Array.from(e.removedNodes))).flat().forEach((e=>{e===s.value&&a()}))}),{childList:!0,subtree:!0}),a(),s}function ja(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:o=!0}=t,s=x(0),a=x(0),l=x(0),c=x(0),h=x(0),u=x(0),d=x(0),p=x(0);function g(){const t=wa(e);if(!t)return void(n&&(s.value=0,a.value=0,l.value=0,c.value=0,h.value=0,u.value=0,d.value=0,p.value=0));const r=t.getBoundingClientRect();s.value=r.height,a.value=r.bottom,l.value=r.left,c.value=r.right,h.value=r.top,u.value=r.width,d.value=r.x,p.value=r.y}return function(e,t,n={}){const r=n,{window:i=ba}=r,o=f(r,["window"]);let s;const a=xa((()=>i&&"ResizeObserver"in i)),l=()=>{s&&(s.disconnect(),s=void 0)},c=I((()=>Array.isArray(e)?e.map((e=>wa(e))):[wa(e)])),h=S(c,(e=>{if(l(),a.value&&i){s=new ResizeObserver(t);for(const t of e)t&&s.observe(t,o)}}),{immediate:!0,flush:"post"}),u=()=>{l(),h()};da(u)}(e,g),S((()=>wa(e)),(e=>!e&&g())),Ca(e,g,{attributeFilter:["style","class"]}),i&&_a("scroll",g,{capture:!0,passive:!0}),r&&_a("resize",g,{passive:!0}),La((()=>{o&&g()})),{height:s,bottom:a,left:l,right:c,top:h,width:u,x:d,y:p,update:g}}const Ma={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Ea(e,t,n,r={}){var i,o,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:h=!1,defaultValue:u,shouldEmit:d}=r,f=F(),p=n||(null==f?void 0:f.emit)||(null==(i=null==f?void 0:f.$emit)?void 0:i.bind(f))||(null==(s=null==(o=null==f?void 0:f.proxy)?void 0:o.$emit)?void 0:s.bind(null==f?void 0:f.proxy));let g=c;g=g||`update:${t.toString()}`;const k=e=>{return a?"function"==typeof a?a(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},m=()=>void 0!==e[t]?k(e[t]):u,v=e=>{d?d(e)&&p(g,e):p(g,e)};if(l){const n=m(),r=x(n);let i=!1;return S((()=>e[t]),(e=>{i||(i=!0,r.value=k(e),O((()=>i=!1)))})),S(r,(n=>{i||n===e[t]&&!h||v(n)}),{deep:h}),r}return I({get:()=>m(),set(e){v(e)}})}let Ta=e=>crypto.getRandomValues(new Uint8Array(e)),Oa=(e,t=21)=>((e,t,n)=>{let r=(2<{let s="";for(;;){let t=n(i),a=i;for(;a--;)if(s+=e[t[a]&r]||"",s.length===o)return s}}})(e,t,Ta),Aa=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t};function Pa(e,t){return void 0===t&&(t=15),+parseFloat(Number(e).toPrecision(t))}function Ia(e){var t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function Ra(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));var t=Ia(e);return t>0?Pa(Number(e)*Math.pow(10,t)):Number(e)}function Ba(e){Fa&&(e>Number.MAX_SAFE_INTEGER||Number.MIN_SAFE_INTEGER)}function Wa(e){return function(){for(var t=[],n=0;nMath.random()*(t-e),$a=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|HarmonyOS/i.test(navigator.userAgent),Ya=Math.PI/180,Xa=(e,t=2)=>Va.round(e,t),Za=25.4,Ga=20,qa=e=>new Promise((t=>{const n=document.createElement("img");n.src=e,n.style.opacity="0",document.body.appendChild(n),n.onload=()=>{const e=n.clientWidth,r=n.clientHeight;n.onload=null,n.onerror=null,document.body.removeChild(n),t({width:e,height:r})},n.onerror=()=>{n.onload=null,n.onerror=null}})),Ka=e=>new Promise((t=>{const n=new FileReader;n.addEventListener("load",(()=>{t(n.result)})),n.readAsDataURL(e)})),Ja=e=>new Promise((t=>{const n=new FileReader;n.addEventListener("load",(()=>{t(n.result)})),n.readAsText(e)})),Qa=e=>e/300*Za,el=e=>300*e/Za,tl=Dt({id:"fabricStore",state:()=>({wrapperRef:null,canvasRef:null,zoom:1,clip:2,safe:5,round:0,diagonal:18,opacity:.1,showClip:!1,showSafe:!1,isDragging:!1,isDrawing:!1,isTexting:!1,isCropping:!1,isCtrlKey:!1,isModifed:!1,isChecked:!1,verticalLines:[],horizontalLines:[],elementCoords:[],elementHover:"",scalePercentage:80}),getters:{},actions:{getWidth(){var e;return(null==(e=this.wrapperRef)?void 0:e.offsetWidth)||window.innerWidth-420},getHeight(){var e;return(null==(e=this.wrapperRef)?void 0:e.offsetHeight)||window.innerHeight-40},setZoom(e){this.zoom=e},setCanvasPercentage(e){this.scalePercentage=e},setIsDraggingState(e){this.isDragging=e}}}),nl=[{label:"Arial",value:"Arial"},{label:"微软雅黑",value:"Microsoft Yahei"},{label:"宋体",value:"SimSun"},{label:"黑体",value:"SimHei"},{label:"楷体",value:"KaiTi"},{label:"新宋体",value:"NSimSun"},{label:"仿宋",value:"FangSong"},{label:"苹方",value:"PingFang SC"},{label:"华文黑体",value:"STHeiti"},{label:"华文楷体",value:"STKaiti"},{label:"华文宋体",value:"STSong"},{label:"华文仿宋",value:"STFangSong"},{label:"华文中宋",value:"STZhongSong"},{label:"华文琥珀",value:"STHupo"},{label:"华文新魏",value:"STXinwei"},{label:"华文隶书",value:"STLiti"},{label:"华文行楷",value:"STXingkai"},{label:"冬青黑体",value:"Hiragino Sans GB"},{label:"兰亭黑",value:"Lantinghei SC"},{label:"偏偏体",value:"Hanzipen SC"},{label:"手札体",value:"Hannotate SC"},{label:"宋体",value:"Songti SC"},{label:"娃娃体",value:"Wawati SC"},{label:"行楷",value:"Xingkai SC"},{label:"圆体",value:"Yuanti SC"},{label:"华文细黑",value:"STXihei"},{label:"幼圆",value:"YouYuan"},{label:"隶书",value:"LiSu"}],rl=[{label:"仓耳小丸子",value:"仓耳小丸子"},{label:"优设标题黑",value:"优设标题黑"},{label:"峰广明锐体",value:"峰广明锐体"},{label:"摄图摩登小方体",value:"摄图摩登小方体"},{label:"站酷快乐体",value:"站酷快乐体"},{label:"字制区喜脉体",value:"字制区喜脉体"},{label:"素材集市康康体",value:"素材集市康康体"},{label:"素材集市酷方体",value:"素材集市酷方体"},{label:"途牛类圆体",value:"途牛类圆体"},{label:"锐字真言体",value:"锐字真言体"},{label:"得意黑",value:"得意黑"},{label:"xuminY",value:"xuminY"}];function il(e){return g(this,null,(function*(){let t;try{t=(yield window.queryLocalFonts()).filter((t=>t.family===e))[0]}catch(n){}finally{return t}}))}var ol=(e=>(e.TEXTBOX="textbox",e.TEXT="text",e.ITEXT="i-text",e.INPUTTEXT="itext",e.ARCTEXT="arctext",e.VERTICALTEXT="verticaltext",e.IMAGE="image",e.SVGIMAGE="svgimage",e.CROPIMAGE="cropimage",e.MASK="mask",e.PATH="path",e.RECT="rect",e.LINE="line",e.ARROW="arrow",e.POLYLINE="polyline",e.ELLIPSE="ellipse",e.QRCODE="qrcode",e.BARCODE="barcode",e.GROUP="group",e.ACTIVE="activeselection",e.CIRCLE="circle",e.REFERENCELINE="referenceline",e.DOT="dot",e))(ol||{});const sl=["group","activeselection","itext","text","textbox","image"];var al=(e=>(e.ROUND_RECT="roundRect",e.ROUND_RECT_DIAGONAL="roundRectDiagonal",e.ROUND_RECT_SINGLE="roundRectSingle",e.ROUND_RECT_SAMESIDE="roundRectSameSide",e.CUT_RECT_DIAGONAL="cutRectDiagonal",e.CUT_RECT_SINGLE="cutRectSingle",e.CUT_RECT_SAMESIDE="cutRectSameSide",e.MESSAGE="message",e.ROUND_MESSAGE="roundMessage",e.L="L",e.RING_RECT="ringRect",e.PLUS="plus",e.TRIANGLE="triangle",e.PARALLELOGRAM_LEFT="parallelogramLeft",e.PARALLELOGRAM_RIGHT="parallelogramRight",e.TRAPEZOID="trapezoid",e.BULLET="bullet",e.INDICATOR="indicator",e))(al||{}),ll=(e=>(e.ELEMENT_CANVAS="design",e.ELEMENT_TEXT="text",e.ELEMENT_SVG="path",e.ELEMENT_IMAGE="image",e.ELEMENT_CODE="code",e.ELEMENT_STYLE="style",e.ELEMENT_POSITION="position",e.ELEMENT_LAYER="layer",e.ELEMENT_EFFECT="effect",e))(ll||{}),cl=(e=>(e.LEFT="left",e.RIGHT="right",e.HORIZONTAL="horizontal",e.VERTICAL="vertical",e.CENTER="center",e.TOP="top",e.BOTTOM="bottom",e))(cl||{}),hl=(e=>(e.UP="left",e.DOWN="right",e.TOP="top",e.BOTTOM="bottom",e))(hl||{});function ul(e,t){return function(){return e.apply(t,arguments)}}const{toString:dl}=Object.prototype,{getPrototypeOf:fl}=Object,pl=(e=>t=>{const n=dl.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),gl=e=>(e=e.toLowerCase(),t=>pl(t)===e),kl=e=>t=>typeof t===e,{isArray:ml}=Array,vl=kl("undefined");const yl=gl("ArrayBuffer");const Ll=kl("string"),wl=kl("function"),bl=kl("number"),_l=e=>null!==e&&"object"==typeof e,xl=e=>{if("object"!==pl(e))return!1;const t=fl(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Cl=gl("Date"),Sl=gl("File"),jl=gl("Blob"),Ml=gl("FileList"),El=gl("URLSearchParams"),[Tl,Ol,Al,Pl]=["ReadableStream","Request","Response","Headers"].map(gl);function Il(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),ml(e))for(r=0,i=e.length;r0;)if(r=n[i],t===r.toLowerCase())return r;return null}const Bl="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Wl=e=>!vl(e)&&e!==Bl;const Hl=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&fl(Uint8Array)),zl=gl("HTMLFormElement"),Dl=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Nl=gl("RegExp"),Fl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Il(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},Vl="abcdefghijklmnopqrstuvwxyz",Ul="0123456789",$l={DIGIT:Ul,ALPHA:Vl,ALPHA_DIGIT:Vl+Vl.toUpperCase()+Ul};const Yl=gl("AsyncFunction"),Xl=(Zl="function"==typeof setImmediate,Gl=wl(Bl.postMessage),Zl?setImmediate:Gl?(ql=`axios@${Math.random()}`,Kl=[],Bl.addEventListener("message",(({source:e,data:t})=>{e===Bl&&t===ql&&Kl.length&&Kl.shift()()}),!1),e=>{Kl.push(e),Bl.postMessage(ql,"*")}):e=>setTimeout(e));var Zl,Gl,ql,Kl;const Jl="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Bl):"undefined"!=typeof process&&process.nextTick||Xl,Ql={isArray:ml,isArrayBuffer:yl,isBuffer:function(e){return null!==e&&!vl(e)&&null!==e.constructor&&!vl(e.constructor)&&wl(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||wl(e.append)&&("formdata"===(t=pl(e))||"object"===t&&wl(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&yl(e.buffer),t},isString:Ll,isNumber:bl,isBoolean:e=>!0===e||!1===e,isObject:_l,isPlainObject:xl,isReadableStream:Tl,isRequest:Ol,isResponse:Al,isHeaders:Pl,isUndefined:vl,isDate:Cl,isFile:Sl,isBlob:jl,isRegExp:Nl,isFunction:wl,isStream:e=>_l(e)&&wl(e.pipe),isURLSearchParams:El,isTypedArray:Hl,isFileList:Ml,forEach:Il,merge:function e(){const{caseless:t}=Wl(this)&&this||{},n={},r=(r,i)=>{const o=t&&Rl(n,i)||i;xl(n[o])&&xl(r)?n[o]=e(n[o],r):xl(r)?n[o]=e({},r):ml(r)?n[o]=r.slice():n[o]=r};for(let i=0,o=arguments.length;i(Il(t,((t,r)=>{n&&wl(t)?e[r]=ul(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,s;const a={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],r&&!r(s,e,t)||a[s]||(t[s]=e[s],a[s]=!0);e=!1!==n&&fl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:pl,kindOfTest:gl,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(ml(e))return e;let t=e.length;if(!bl(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:zl,hasOwnProperty:Dl,hasOwnProp:Dl,reduceDescriptors:Fl,freezeMethods:e=>{Fl(e,((t,n)=>{if(wl(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];wl(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return ml(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Rl,global:Bl,isContextDefined:Wl,ALPHABET:$l,generateString:(e=16,t=$l.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&wl(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(_l(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=ml(e)?[]:{};return Il(e,((e,t)=>{const o=n(e,r+1);!vl(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:Yl,isThenable:e=>e&&(_l(e)||wl(e))&&wl(e.then)&&wl(e.catch),setImmediate:Xl,asap:Jl};function ec(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}Ql.inherits(ec,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ql.toJSONObject(this.config),code:this.code,status:this.status}}});const tc=ec.prototype,nc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{nc[e]={value:e}})),Object.defineProperties(ec,nc),Object.defineProperty(tc,"isAxiosError",{value:!0}),ec.from=(e,t,n,r,i,o)=>{const s=Object.create(tc);return Ql.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ec.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};function rc(e){return Ql.isPlainObject(e)||Ql.isArray(e)}function ic(e){return Ql.endsWith(e,"[]")?e.slice(0,-2):e}function oc(e,t,n){return e?e.concat(t).map((function(e,t){return e=ic(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const sc=Ql.toFlatObject(Ql,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ac(e,t,n){if(!Ql.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Ql.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Ql.isUndefined(t[e])}))).metaTokens,i=n.visitor||c,o=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Ql.isSpecCompliantForm(t);if(!Ql.isFunction(i))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Ql.isDate(e))return e.toISOString();if(!a&&Ql.isBlob(e))throw new ec("Blob is not supported. Use a Buffer instead.");return Ql.isArrayBuffer(e)||Ql.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,i){let a=e;if(e&&!i&&"object"==typeof e)if(Ql.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Ql.isArray(e)&&function(e){return Ql.isArray(e)&&!e.some(rc)}(e)||(Ql.isFileList(e)||Ql.endsWith(n,"[]"))&&(a=Ql.toArray(e)))return n=ic(n),a.forEach((function(e,r){!Ql.isUndefined(e)&&null!==e&&t.append(!0===s?oc([n],r,o):null===s?n:n+"[]",l(e))})),!1;return!!rc(e)||(t.append(oc(i,n,o),l(e)),!1)}const h=[],u=Object.assign(sc,{defaultVisitor:c,convertValue:l,isVisitable:rc});if(!Ql.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Ql.isUndefined(n)){if(-1!==h.indexOf(n))throw Error("Circular reference detected in "+r.join("."));h.push(n),Ql.forEach(n,(function(n,o){!0===(!(Ql.isUndefined(n)||null===n)&&i.call(t,n,Ql.isString(o)?o.trim():o,r,u))&&e(n,r?r.concat(o):[o])})),h.pop()}}(e),t}function lc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function cc(e,t){this._pairs=[],e&&ac(e,this,t)}const hc=cc.prototype;function uc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function dc(e,t,n){if(!t)return e;const r=n&&n.encode||uc,i=n&&n.serialize;let o;if(o=i?i(t,n):Ql.isURLSearchParams(t)?t.toString():new cc(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}hc.append=function(e,t){this._pairs.push([e,t])},hc.toString=function(e){const t=e?function(t){return e.call(this,t,lc)}:lc;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class fc{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Ql.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const pc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},gc={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:cc,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},kc="undefined"!=typeof window&&"undefined"!=typeof document,mc="object"==typeof navigator&&navigator||void 0,vc=kc&&(!mc||["ReactNative","NativeScript","NS"].indexOf(mc.product)<0),yc="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Lc=kc&&window.location.href||"http://localhost",wc=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:kc,hasStandardBrowserEnv:vc,hasStandardBrowserWebWorkerEnv:yc,navigator:mc,origin:Lc},Symbol.toStringTag,{value:"Module"})),bc=u(u({},wc),gc);function _c(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const s=Number.isFinite(+o),a=i>=e.length;if(o=!o&&Ql.isArray(r)?r.length:o,a)return Ql.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!s;r[o]&&Ql.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],i)&&Ql.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r{t(function(e){return Ql.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const xc={transitional:pc,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=Ql.isObject(e);i&&Ql.isHTMLForm(e)&&(e=new FormData(e));if(Ql.isFormData(e))return r?JSON.stringify(_c(e)):e;if(Ql.isArrayBuffer(e)||Ql.isBuffer(e)||Ql.isStream(e)||Ql.isFile(e)||Ql.isBlob(e)||Ql.isReadableStream(e))return e;if(Ql.isArrayBufferView(e))return e.buffer;if(Ql.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ac(e,new bc.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return bc.isNode&&Ql.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=Ql.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ac(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(Ql.isString(e))try{return(t||JSON.parse)(e),Ql.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||xc.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Ql.isResponse(e)||Ql.isReadableStream(e))return e;if(e&&Ql.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(i){if(n){if("SyntaxError"===i.name)throw ec.from(i,ec.ERR_BAD_RESPONSE,this,null,this.response);throw i}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bc.classes.FormData,Blob:bc.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ql.forEach(["delete","get","head","post","put","patch"],(e=>{xc.headers[e]={}}));const Cc=Ql.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Sc=Symbol("internals");function jc(e){return e&&String(e).trim().toLowerCase()}function Mc(e){return!1===e||null==e?e:Ql.isArray(e)?e.map(Mc):String(e)}function Ec(e,t,n,r,i){return Ql.isFunction(r)?r.call(this,t,n):(i&&(t=n),Ql.isString(t)?Ql.isString(r)?-1!==t.indexOf(r):Ql.isRegExp(r)?r.test(t):void 0:void 0)}class Tc{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=jc(t);if(!i)throw new Error("header name must be a non-empty string");const o=Ql.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Mc(e))}const o=(e,t)=>Ql.forEach(e,((e,n)=>i(e,n,t)));if(Ql.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(Ql.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&Cc[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Ql.isHeaders(e))for(const[s,a]of e.entries())i(a,s,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=jc(e)){const n=Ql.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Ql.isFunction(t))return t.call(this,e,n);if(Ql.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=jc(e)){const n=Ql.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ec(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=jc(e)){const i=Ql.findKey(n,e);!i||t&&!Ec(0,n[i],i,t)||(delete n[i],r=!0)}}return Ql.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!Ec(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return Ql.forEach(this,((r,i)=>{const o=Ql.findKey(n,i);if(o)return t[o]=Mc(r),void delete t[i];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();s!==i&&delete t[i],t[s]=Mc(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Ql.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Ql.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Sc]=this[Sc]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=jc(e);t[r]||(!function(e,t){const n=Ql.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return Ql.isArray(e)?e.forEach(r):r(e),this}}function Oc(e,t){const n=this||xc,r=t||n,i=Tc.from(r.headers);let o=r.data;return Ql.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function Ac(e){return!(!e||!e.__CANCEL__)}function Pc(e,t,n){ec.call(this,null==e?"canceled":e,ec.ERR_CANCELED,t,n),this.name="CanceledError"}function Ic(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ec("Request failed with status code "+n.status,[ec.ERR_BAD_REQUEST,ec.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Tc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ql.reduceDescriptors(Tc.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Ql.freezeMethods(Tc),Ql.inherits(Pc,ec,{__CANCEL__:!0});const Rc=(e,t,n=3)=>{let r=0;const i=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,s=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),c=r[s];i||(i=l),n[o]=a,r[o]=l;let h=s,u=0;for(;h!==o;)u+=n[h++],h%=e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),l-i{i=o,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-i;a>=o?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),o-a)))},()=>n&&s(n)]}((n=>{const o=n.loaded,s=n.lengthComputable?n.total:void 0,a=o-r,l=i(a);r=o;e({loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&o<=s?(s-o)/l:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},Bc=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Wc=e=>(...t)=>Ql.asap((()=>e(...t))),Hc=bc.hasStandardBrowserEnv?function(){const e=bc.navigator&&/(msie|trident)/i.test(bc.navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=Ql.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}(),zc=bc.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const s=[e+"="+encodeURIComponent(t)];Ql.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Ql.isString(r)&&s.push("path="+r),Ql.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Dc(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Nc=e=>e instanceof Tc?u({},e):e;function Fc(e,t){t=t||{};const n={};function r(e,t,n){return Ql.isPlainObject(e)&&Ql.isPlainObject(t)?Ql.merge.call({caseless:n},e,t):Ql.isPlainObject(t)?Ql.merge({},t):Ql.isArray(t)?t.slice():t}function i(e,t,n){return Ql.isUndefined(t)?Ql.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!Ql.isUndefined(t))return r(void 0,t)}function s(e,t){return Ql.isUndefined(t)?Ql.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>i(Nc(e),Nc(t),!0)};return Ql.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=l[r]||i,s=o(e[r],t[r],r);Ql.isUndefined(s)&&o!==a||(n[r]=s)})),n}const Vc=e=>{const t=Fc({},e);let n,{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:l}=t;if(t.headers=a=Tc.from(a),t.url=dc(Dc(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Ql.isFormData(r))if(bc.hasStandardBrowserEnv||bc.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(bc.hasStandardBrowserEnv&&(i&&Ql.isFunction(i)&&(i=i(t)),i||!1!==i&&Hc(t.url))){const e=o&&s&&zc.read(s);e&&a.set(o,e)}return t},Uc="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Vc(e);let i=r.data;const o=Tc.from(r.headers).normalize();let s,a,l,c,h,{responseType:u,onUploadProgress:d,onDownloadProgress:f}=r;function p(){c&&c(),h&&h(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let g=new XMLHttpRequest;function k(){if(!g)return;const r=Tc.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Ic((function(e){t(e),p()}),(function(e){n(e),p()}),{data:u&&"text"!==u&&"json"!==u?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=k:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(k)},g.onabort=function(){g&&(n(new ec("Request aborted",ec.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new ec("Network Error",ec.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||pc;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new ec(t,i.clarifyTimeoutError?ec.ETIMEDOUT:ec.ECONNABORTED,e,g)),g=null},void 0===i&&o.setContentType(null),"setRequestHeader"in g&&Ql.forEach(o.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),Ql.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),u&&"json"!==u&&(g.responseType=r.responseType),f&&([l,h]=Rc(f,!0),g.addEventListener("progress",l)),d&&g.upload&&([a,c]=Rc(d),g.upload.addEventListener("progress",a),g.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(s=t=>{g&&(n(!t||t.type?new Pc(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const m=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);m&&-1===bc.protocols.indexOf(m)?n(new ec("Unsupported protocol "+m+":",ec.ERR_BAD_REQUEST,e)):g.send(i||null)}))},$c=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const i=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof ec?t:new Pc(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{o=null,i(new ec(`timeout ${t} of ms exceeded`,ec.ETIMEDOUT))}),t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:a}=r;return a.unsubscribe=()=>Ql.asap(s),a}},Yc=function*(e,t){let n=e.byteLength;if(!t||n(t=e[l("asyncIterator")])?t.call(e):(e=e[l("iterator")](),t={},(n=(n,r)=>(r=e[n])&&(t[n]=t=>new Promise(((n,i,o)=>(t=r.call(e,t),o=t.done,Promise.resolve(t.value).then((e=>n({value:e,done:o})),i))))))("next"),n("return"),t))(Zc(e));n=!(r=yield new k(o.next())).done;n=!1){const e=r.value;yield*v(Yc(e,t))}}catch(r){i=[r]}finally{try{n&&(r=o.return)&&(yield new k(r.call(o)))}finally{if(i)throw i[0]}}}))},Zc=function(e){return m(this,null,(function*(){if(e[Symbol.asyncIterator])return void(yield*v(e));const t=e.getReader();try{for(;;){const{done:e,value:n}=yield new k(t.read());if(e)break;yield n}}finally{yield new k(t.cancel())}}))},Gc=(e,t,n,r)=>{const i=Xc(e,t);let o,s=0,a=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({pull(e){return g(this,null,(function*(){try{const{done:t,value:r}=yield i.next();if(t)return a(),void e.close();let o=r.byteLength;if(n){let e=s+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw a(t),t}}))},cancel:e=>(a(e),i.return())},{highWaterMark:2})},qc="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Kc=qc&&"function"==typeof ReadableStream,Jc=qc&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):e=>g(void 0,null,(function*(){return new Uint8Array(yield new Response(e).arrayBuffer())}))),Qc=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},eh=Kc&&Qc((()=>{let e=!1;const t=new Request(bc.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),th=Kc&&Qc((()=>Ql.isReadableStream(new Response("").body))),nh={stream:th&&(e=>e.body)};var rh;qc&&(rh=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!nh[e]&&(nh[e]=Ql.isFunction(rh[e])?t=>t[e]():(t,n)=>{throw new ec(`Response type '${e}' is not supported`,ec.ERR_NOT_SUPPORT,n)})})));const ih=(e,t)=>g(void 0,null,(function*(){const n=Ql.toFiniteNumber(e.getContentLength());return null==n?(e=>g(void 0,null,(function*(){if(null==e)return 0;if(Ql.isBlob(e))return e.size;if(Ql.isSpecCompliantForm(e)){const t=new Request(bc.origin,{method:"POST",body:e});return(yield t.arrayBuffer()).byteLength}return Ql.isArrayBufferView(e)||Ql.isArrayBuffer(e)?e.byteLength:(Ql.isURLSearchParams(e)&&(e+=""),Ql.isString(e)?(yield Jc(e)).byteLength:void 0)})))(t):n})),oh={http:null,xhr:Uc,fetch:qc&&(e=>g(void 0,null,(function*(){let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:h,withCredentials:f="same-origin",fetchOptions:p}=Vc(e);c=c?(c+"").toLowerCase():"text";let g,k=$c([i,o&&o.toAbortSignal()],s);const m=k&&k.unsubscribe&&(()=>{k.unsubscribe()});let v;try{if(l&&eh&&"get"!==n&&"head"!==n&&0!==(v=yield ih(h,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Ql.isFormData(r)&&(e=n.headers.get("content-type"))&&h.setContentType(e),n.body){const[e,t]=Bc(v,Rc(Wc(l)));r=Gc(n.body,65536,e,t)}}Ql.isString(f)||(f=f?"include":"omit");const i="credentials"in Request.prototype;g=new Request(t,d(u({},p),{signal:k,method:n.toUpperCase(),headers:h.normalize().toJSON(),body:r,duplex:"half",credentials:i?f:void 0}));let o=yield fetch(g);const s=th&&("stream"===c||"response"===c);if(th&&(a||s&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=Ql.toFiniteNumber(o.headers.get("content-length")),[n,r]=a&&Bc(t,Rc(Wc(a),!0))||[];o=new Response(Gc(o.body,65536,n,(()=>{r&&r(),m&&m()})),e)}c=c||"text";let y=yield nh[Ql.findKey(nh,c)||"text"](o,e);return!s&&m&&m(),yield new Promise(((t,n)=>{Ic(t,n,{data:y,headers:Tc.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:g})}))}catch(y){if(m&&m(),y&&"TypeError"===y.name&&/fetch/i.test(y.message))throw Object.assign(new ec("Network Error",ec.ERR_NETWORK,e,g),{cause:y.cause||y});throw ec.from(y,y&&y.code,e,g)}})))};Ql.forEach(oh,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const sh=e=>`- ${e}`,ah=e=>Ql.isFunction(e)||null===e||!1===e,lh=e=>{e=Ql.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new ec("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(sh).join("\n"):" "+sh(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function ch(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pc(null,e)}function hh(e){ch(e),e.headers=Tc.from(e.headers),e.data=Oc.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return lh(e.adapter||xc.adapter)(e).then((function(t){return ch(e),t.data=Oc.call(e,e.transformResponse,t),t.headers=Tc.from(t.headers),t}),(function(t){return Ac(t)||(ch(e),t&&t.response&&(t.response.data=Oc.call(e,e.transformResponse,t.response),t.response.headers=Tc.from(t.response.headers))),Promise.reject(t)}))}const uh="1.7.7",dh={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{dh[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const fh={};dh.transitional=function(e,t,n){return(r,i,o)=>{if(!1===e)throw new ec(function(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}(i," has been removed"+(t?" in "+t:"")),ec.ERR_DEPRECATED);return t&&!fh[i]&&(fh[i]=!0),!e||e(r,i,o)}};const ph={assertOptions:function(e,t,n){if("object"!=typeof e)throw new ec("options must be an object",ec.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const t=e[o],n=void 0===t||s(t,o,e);if(!0!==n)throw new ec("option "+o+" must be "+n,ec.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ec("Unknown option "+o,ec.ERR_BAD_OPTION)}},validators:dh},gh=ph.validators;class kh{constructor(e){this.defaults=e,this.interceptors={request:new fc,response:new fc}}request(e,t){return g(this,null,(function*(){try{return yield this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(r){}}throw n}}))}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Fc(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&ph.assertOptions(n,{silentJSONParsing:gh.transitional(gh.boolean),forcedJSONParsing:gh.transitional(gh.boolean),clarifyTimeoutError:gh.transitional(gh.boolean)},!1),null!=r&&(Ql.isFunction(r)?t.paramsSerializer={serialize:r}:ph.assertOptions(r,{encode:gh.function,serialize:gh.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&Ql.merge(i.common,i[t.method]);i&&Ql.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=Tc.concat(o,i);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let h,u=0;if(!a){const e=[hh.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,l),h=e.length,c=Promise.resolve(t);u{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new Pc(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new mh((function(t){e=t})),cancel:e}}}const vh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(vh).forEach((([e,t])=>{vh[t]=e}));const yh=function e(t){const n=new kh(t),r=ul(kh.prototype.request,n);return Ql.extend(r,kh.prototype,n,{allOwnKeys:!0}),Ql.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Fc(t,n))},r}(xc);yh.Axios=kh,yh.CanceledError=Pc,yh.CancelToken=mh,yh.isCancel=Ac,yh.VERSION=uh,yh.toFormData=ac,yh.AxiosError=ec,yh.Cancel=yh.CanceledError,yh.all=function(e){return Promise.all(e)},yh.spread=function(e){return function(t){return e.apply(null,t)}},yh.isAxiosError=function(e){return Ql.isObject(e)&&!0===e.isAxiosError},yh.mergeConfig=Fc,yh.AxiosHeaders=Tc,yh.formToJSON=e=>_c(Ql.isHTMLForm(e)?new FormData(e):e),yh.getAdapter=lh,yh.HttpStatusCode=vh,yh.default=yh;const Lh={set(e,t){window.localStorage.setItem(e,JSON.stringify(t))},get(e){const t=window.localStorage.getItem(e);return JSON.parse(t)},remove(e){window.localStorage.removeItem(e)},clear(){window.localStorage.clear()}},wh=yh.create({baseURL:void 0,timeout:5e5,headers:{"Content-Type":"application/json;charset=utf-8"}});wh.interceptors.request.use((e=>{if(!e.headers)throw new Error("Expected 'config' and 'config.headers' not to be undefined");const{loginStatus:t}=Nt(Dg());return t&&Lh.get("access_token")&&(e.headers.Authorization=`Bearer ${Lh.get("access_token")}`),e}),(e=>Promise.reject(e))),wh.interceptors.response.use((e=>{const{code:t,msg:n}=e.data;return 200===t?e:401===t?(Lh.remove("access_token"),e):e.data instanceof ArrayBuffer||e.data instanceof Array?e:(me({message:n||"系统出错",type:"error"}),Promise.reject(new Error(n||"Error")))}),(e=>{if(e.response.data){const{detail:t}=e.response.data;"Signature has expired."===t?ve.confirm("当前页面已失效,请重新登录","Warning",{confirmButtonText:"OK",type:"warning"}).then((()=>{Lh.clear(),window.location.href="/"})):me({message:t||"系统出错",type:"error"})}return Promise.reject(e.message)}));const bh="WorkSpaceDrawType",_h="WorkSpaceClipType",xh="WorkSpaceSafeType",Ch="WorkSpaceMaskType",Sh="WorkSpaceLineType",jh=[bh,_h,xh,Ch,Sh],Mh=[_h,xh,Ch,Sh],Eh="YFT_DISCARD_DB",Th={selectable:!1,transparentCorners:!1,evented:!1,excludeFromExport:!0,hasControls:!1,hasBorders:!1,perPixelTargetFind:!1,lockMovementX:!0,lockMovementY:!0,lockRotation:!0,lockScalingX:!0,lockScalingY:!0,lockUniScaling:!0,hoverCursor:"default",name:"YFT-DRAW"},Oh=["id","name","layer","isShow","editable","color","axis","mask","padding","cropKey","cropPath","cropSize","fill","selectable","evented","fillType","fillURL","fillRepeat","lockMovementX","lockMovementY","objectCaching","transparentCorners","codeOption","codeContent","background","hasBorders","originSrc","radius","curvature","effect","reverse","startStyle","endStyle","effects","mask","originSrc","originWidth","originHeight","globalCompositeOperation"],Ah={rx:0,ry:0,id:"WorkSpaceDrawType",name:"rect",fill:"#fff",selectable:!1,evented:!1,lockMovementX:!1,lockMovementY:!1,objectCaching:!0,transparentCorners:!1,hasBorders:!0,type:"Rect",version:"6.0.0-beta9",originX:"left",originY:"top",left:0,top:0,width:1070.5512,height:645.3543,stroke:"rgba(255,255,255,1)",strokeWidth:1,strokeDashArray:null,strokeLineCap:"butt",strokeDashOffset:0,strokeLineJoin:"miter",strokeUniform:!1,strokeMiterLimit:4,scaleX:1,scaleY:1,angle:0,flipX:!1,flipY:!1,opacity:1,shadow:null,visible:!0,backgroundColor:"",fillRule:"nonzero",paintFirst:"fill",globalCompositeOperation:"source-over",skewX:0,skewY:0};class Ph extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function Ih(e){if((t=e)&&"object"==typeof t&&"function"==typeof t[Symbol.iterator]){const t=[];for(const r of e)if(r)try{r.dispose()}catch(n){t.push(n)}if(1===t.length)throw t[0];if(t.length>1)throw new Ph(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e;var t}class Rh{constructor(){p(this,"_toDispose",new Set),p(this,"_isDisposed",!1)}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{Ih(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed||this._toDispose.add(e),e}}p(Rh,"DISABLE_DISPOSED_WARNING",!1);class Bh{constructor(){p(this,"_store",new Rh)}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}class Wh extends UIEvent{constructor(e,t){super(e,t),p(this,"touches"),p(this,"targetTouches"),p(this,"changedTouches"),this.touches=t.touches,this.targetTouches=t.targetTouches,this.changedTouches=t.changedTouches}}const Hh=(e={})=>{const{onSwipe:t,onSwipeEnd:n,onSwipeStart:r}=e,i=j({x:0,y:0}),o=j({x:0,y:0}),s=x(!1),a=x(!1),l=I((()=>o.x-i.x)),c=I((()=>o.y-i.y)),h=e=>{o.x=e.x,o.y=e.y},u=function(e,t){const[n]=yu();n.on(e,t);const r=()=>{n.off(e,t)};return da(r),r}({"mouse:down":e=>{var t;e.e instanceof Wh&&1!==e.e.touches.length||(a.value=!0,t=e.viewportPoint,i.x=t.x,i.y=t.y,h(e.viewportPoint),null==r||r(e))},"mouse:move":e=>{a.value&&(e.e instanceof Wh&&1!==e.e.touches.length||(h(e.viewportPoint),s.value=!0,null==t||t(e)))},"mouse:up":e=>{s.value&&(null==n||n(e)),a.value=!1,s.value=!1}});return da(u),{isSwiping:s,coordsStart:i,coordsEnd:o,lengthX:l,lengthY:c,stop:u}};class zh extends Bh{constructor(e){super(),p(this,"options",{move:{defaultCursor:"default",skipTargetFind:!1,selection:!0},handMove:{defaultCursor:"grab",skipTargetFind:!0,selection:!1},shape:{defaultCursor:"crosshair",skipTargetFind:!0,selection:!1}}),p(this,"_handMoveActivate",!1),this.canvas=e,this.initHandMove()}get handMoveActivate(){return this._handMoveActivate}set handMoveActivate(e){this._handMoveActivate=e}applyOption(e){const{defaultCursor:t,skipTargetFind:n,selection:r}=this.options[e];this.canvas.defaultCursor=t,this.canvas.setCursor(t),this.canvas.skipTargetFind=n,this.canvas.selection=r}initHandMove(){const e=this.canvas;let t=e.viewportTransform;const{spaceKeyState:n}=Nt(zg()),{lengthX:r,lengthY:i,isSwiping:o}=Hh({onSwipeStart:r=>{(2===r.e.buttons||n.value&&1===r.e.buttons)&&(o.value=!0,t=e.viewportTransform,this.handMoveActivate=!0,this.applyOption("handMove"),e.setCursor("grab"))},onSwipe:()=>{this.handMoveActivate&&(e.setCursor("grab"),requestAnimationFrame((()=>{const n=new Ve(r.value,i.value).scalarDivide(e.getZoom()).transform(t).scalarMultiply(-1);e.absolutePan(n,!0)})))},onSwipeEnd:()=>{this.applyOption(n.value?"handMove":"move"),this.handMoveActivate&&(n.value||(this.handMoveActivate=!1))}}),s=Sa(),a=I((()=>{var e,t;return"INPUT"!==(null==(e=s.value)?void 0:e.tagName)&&"TEXTAREA"!==(null==(t=s.value)?void 0:t.tagName)}));S(I((()=>[n.value,a.value].every((e=>pa(e))))),(e=>{this.applyOption(e?"handMove":"move"),o.value||(this.handMoveActivate=e)}))}}const Dh=e=>!!e&&Array.isArray(e._objects),Nh=e=>e instanceof Ue,Fh=e=>!!e&&e.isType("Text","IText","Textbox","ArcText"),Vh=e=>e instanceof Ye,Uh=e=>e instanceof $e,$h=e=>Object.keys(e);class Yh extends Bh{constructor(e){super(),p(this,"canvasEvents"),p(this,"aligningLineMargin",10),p(this,"aligningLineWidth",1),p(this,"aligningLineColor","#F68066"),p(this,"verticalLines",[]),p(this,"horizontalLines",[]),p(this,"activeObj"),p(this,"ignoreObjTypes",[]),p(this,"pickObjTypes",[]),p(this,"dirty",!1),this.canvas=e;this.canvasEvents={"before:render":this.clearGuideline.bind(this),"after:render":this.drawGuideLines.bind(this),"object:moving":this.objectMoving.bind(this),"mouse:up":()=>{(this.horizontalLines.length||this.verticalLines.length)&&(this.clearGuideline(),this.clearStretLine())}},e.on(this.canvasEvents)}objectMoving({target:e}){if(this.clearStretLine(),Uh(e))return!1;if(!this.canvas._currentTransform)return;this.activeObj=e;const t=this.canvas.getActiveObjects(),n=[],r=i=>{const o=i.getObjects().filter((n=>this.ignoreObjTypes.length?!this.ignoreObjTypes.some((e=>n.get(e.key)===e.value)):this.pickObjTypes.length?this.pickObjTypes.some((e=>n.get(e.key)===e.value)):!t.includes(n)&&(!!n.visible&&(Nh(n)?(r(n),!1):!Dh(n)||!e.group||n!==e.group||(r(n),!1)))));n.push(...o)};if(Nh(e)){const t=new Set;e.forEachObject((e=>{const n=e.group?e.group:this.canvas;n&&t.add(n)})),t.forEach((e=>{Vh(e)&&n.push(e),r(e)}))}else{const t=e.group?e.group:this.canvas;Vh(t)&&n.push(t),r(t)}this.traversAllObjects(e,n)}clearStretLine(){this.verticalLines.length=this.horizontalLines.length=0}getObjDraggingObjCoords(e){const t=this.getCoords(e),n=this.calcCenterPointByACoords(t).subtract(e.getCenterPoint()),r=$h(t).map((e=>t[e].subtract(n)));return{tl:r[0],tr:r[1],br:r[2],bl:r[3],c:e.getCenterPoint()}}getObjMaxWidthHeightByCoords(e){const{c:t,tl:n,tr:r}=e;return{objHeight:2*Math.max(Math.abs(t.y-n.y),Math.abs(t.y-r.y)),objWidth:2*Math.max(Math.abs(t.x-n.x),Math.abs(t.x-r.x))}}omitCoords(e,t){const n=e,r="vertical"===t?"x":"y";return $h(e).forEach((t=>{e[t][r]n.tl[r]&&(n[t]=e[t])})),n}isInRange(e,t){return Math.abs(Math.round(e)-Math.round(t))<=this.aligningLineMargin/this.canvas.getZoom()}getCoords(e){const[t,n,r,i]=e.getCoords();return{tl:t,tr:n,br:r,bl:i}}calcCenterPointByACoords(e){return new Ve((e.tl.x+e.br.x)/2,(e.tl.y+e.br.y)/2)}traversAllObjects(e,t){const n=this.getObjDraggingObjCoords(e),r=new Set,i=new Set;for(let o=t.length;o--;){const s=d(u({},this.getCoords(t[o])),{c:t[o].getCenterPoint()}),{objHeight:a,objWidth:l}=this.getObjMaxWidthHeightByCoords(s);$h(n).forEach((r=>{const a=0!==t[o].angle?this.omitCoords(s,"horizontal"):s;$h(a).forEach((t=>{if(this.isInRange(n[r].y,s[t].y)){const o=s[t].y,a=n[r].y-o;i.add(n.c.y-a);const c=this.getCoords(e),{x1:h,x2:f}=function(e,t){let n,i;return"c"===e?(n=Math.min(s.c.x-l/2,t[r].x),i=Math.max(s.c.x+l/2,t[r].x)):(n=Math.min(s[e].x,t[r].x),i=Math.max(s[e].x,t[r].x)),{x1:n,x2:i}}(t,d(u({},c),{c:this.calcCenterPointByACoords(c)}));this.horizontalLines.push({y:o,x1:h,x2:f})}}))})),$h(n).forEach((i=>{const l=0!==t[o].angle?this.omitCoords(s,"vertical"):s;$h(l).forEach((t=>{if(this.isInRange(n[i].x,s[t].x)){const o=s[t].x,c=n[i].x-o;r.add(n.c.x-c);const h=this.getCoords(e),{y1:f,y2:p}=function(e,t){let n,r;return"c"===e?(n=Math.min(l.c.y-a/2,t[i].y),r=Math.max(l.c.y+a/2,t[i].y)):(n=Math.min(s[e].y,t[i].y),r=Math.max(s[e].y,t[i].y)),{y1:n,y2:r}}(t,d(u({},h),{c:this.calcCenterPointByACoords(h)}));this.verticalLines.push({x:o,y1:f,y2:p})}}))}))}this.snap({activeObject:e,draggingObjCoords:n,snapXPoints:r,snapYPoints:i})}snap({activeObject:e,draggingObjCoords:t,snapXPoints:n,snapYPoints:r}){if(0===n.size&&0===r.size)return;const i=(e,t)=>{if(0===e.size)return t;return[...e].sort(((e,n)=>Math.abs(t-e)-Math.abs(t-n)))[0]};e.setXY(new Ve(i(n,t.c.x),i(r,t.c.y)),"center","center")}drawSign(e,t){const n=this.canvas.getTopContext();n.strokeStyle=this.aligningLineColor,n.beginPath();n.moveTo(e-3,t-3),n.lineTo(e+3,t+3),n.moveTo(e+3,t-3),n.lineTo(e-3,t+3),n.stroke()}drawLine(e,t,n,r){const i=this.canvas.getTopContext(),o=Ge.transformPoint(new Ve(e,t),this.canvas.viewportTransform),s=Ge.transformPoint(new Ve(n,r),this.canvas.viewportTransform);i.save(),i.lineWidth=this.aligningLineWidth,i.strokeStyle=this.aligningLineColor,i.beginPath(),i.moveTo(o.x,o.y),i.lineTo(s.x,s.y),i.stroke(),this.drawSign(o.x,o.y),this.drawSign(s.x,s.y),i.restore(),this.dirty=!0}drawVerticalLine(e,t){Object.values(t).some((t=>Math.abs(t.x-e.x)<1e-4))&&this.drawLine(e.x,Math.min(e.y1,e.y2),e.x,Math.max(e.y1,e.y2))}drawHorizontalLine(e,t){Object.values(t).some((t=>Math.abs(t.y-e.y)<1e-4))&&this.drawLine(Math.min(e.x1,e.x2),e.y,Math.max(e.x1,e.x2),e.y)}drawGuideLines(e){if(!e.ctx||!this.verticalLines.length&&!this.horizontalLines.length||!this.activeObj)return;const t=this.getObjDraggingObjCoords(this.activeObj);for(let n=this.verticalLines.length;n--;)this.drawVerticalLine(this.verticalLines[n],t);for(let n=this.horizontalLines.length;n--;)this.drawHorizontalLine(this.horizontalLines[n],t)}clearGuideline(){this.dirty&&(this.dirty=!1,this.canvas.clearContext(this.canvas.getTopContext()))}dispose(){super.dispose(),this.canvas.off(this.canvasEvents)}}class Xh{constructor(e,t,n,r){p(this,"_handler"),p(this,"_node"),p(this,"_type"),p(this,"_options"),this._node=e,this._type=t,this._handler=n,this._options=r||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}class Zh extends Bh{constructor(e){var t,n;super(),p(this,"canvasEvents"),p(this,"lineWidth",2),p(this,"hoveredTarget"),this.canvas=e,this.canvasEvents={"mouse:out":this.clearBorder.bind(this),"mouse:over":this.drawBorder.bind(this)},e.on(this.canvasEvents),this._register((t=this.canvas.upperCanvasEl,new Xh(t,"mouseout",(()=>{this.canvas.contextTopDirty&&this.hoveredTarget&&(this.clearContextTop(this.hoveredTarget.group||this.hoveredTarget),this.hoveredTarget=void 0)}),n))),this.initWatch()}clearContextTop(e,t=!1){const n=this.canvas.contextTop;n.save(),n.transform(...this.canvas.viewportTransform),e.transform(n);const{strokeWidth:r,scaleX:i,scaleY:o,strokeUniform:s}=e,a=this.canvas.getZoom(),l=e.width+4/a+(s?r/i:r),c=e.height+4/a+(s?r/o:r);return n.clearRect(-l/2,-c/2,l,c),t||n.restore(),n}clearBorder(e){const t=e.target;this.hoveredTarget=void 0,t&&t!==this.canvas._activeObject&&this.clearBorderByObject(t)}clearBorderByObject(e){this.canvas.contextTopDirty&&this.clearContextTop(e)}drawBorder(e){const t=e.target;t&&t!==this.canvas._activeObject&&this.drawBorderByObject(t)}drawBorderByObject(e){this.hoveredTarget=e;const t=this.clearContextTop(e,!0);if(!t)return;const n=pt(e);if(n instanceof qe&&n.isType("Textbox"))return void this.showUnderline(t,n);if(n instanceof Ke&&n.isType("IText"))return void this.showUnderline(t,n);(Dh(n)||n.isType("ArcText"))&&(n._render=Je.prototype._render);const{strokeWidth:r,strokeUniform:i}=n;let{width:o,height:s}=n;o+=i?r/n.scaleX:r,s+=i?r/n.scaleY:r;const a=n.getTotalObjectScaling(),l=Math.min(this.lineWidth,o*a.x,s*a.y);o-=l/a.x,s-=l/a.y,n.set({width:o,height:s,stroke:"rgb(60,126,255)",strokeWidth:l,strokeDashArray:null,strokeDashOffset:0,strokeLineCap:"butt",strokeLineJoin:"miter",strokeMiterLimit:4}),n._renderPaintInOrder=()=>{t.save();const e=n.getTotalObjectScaling();t.scale(1/e.x,1/e.y),n._setLineDash(t,n.strokeDashArray),n._setStrokeStyles(t,n),t.stroke(),t.restore()},n._render(t),t.restore(),this.canvas.contextTopDirty=!0}showUnderline(e,t){t.underline=!0,t.fill="rgb(60,126,255)",t._renderTextDecoration(e,"underline"),t._drawClipPath(e,t.clipPath),e.restore(),this.canvas.contextTopDirty=!0}initWatch(){const e=wu(),{hoveredObject:t,leavedObject:n}=Nt(e);I((()=>{t.value?this.drawBorderByObject(t.value):this.clearBorderByObject(n.value)}))}dispose(){super.dispose(),this.canvas.off(this.canvasEvents)}}class Gh extends Bh{constructor(e){super(),p(this,"edgeMoveStatus",!0),p(this,"setCoords",gt((()=>{const{renderOnAddRemove:e}=this.canvas;this.canvas.renderOnAddRemove=!1,this.canvas.setViewportTransform(this.canvas.viewportTransform),this.canvas.renderOnAddRemove=e}),150)),this.canvas=e,this.initWhellScroll(),this.initEdgeMove()}initWhellScroll(){const{ctrl:e,cmd:t,shift:n}=function(e={}){const{reactive:t=!1,target:n=ba,aliasMap:r=Ma,passive:i=!0,onEventFired:o=ya}=e,s=j(new Set),a={toJSON:()=>({}),current:s},l=t?j(a):a,c=new Set,h=new Set;function u(e,n){e in l&&(t?l[e]=n:l[e].value=n)}function d(){s.clear();for(const e of h)u(e,!1)}function f(e,t){var n,r;const i=null==(n=e.key)?void 0:n.toLowerCase(),o=[null==(r=e.code)?void 0:r.toLowerCase(),i].filter(Boolean);i&&(t?s.add(i):s.delete(i));for(const s of o)h.add(s),u(s,t);"meta"!==i||t?"function"==typeof e.getModifierState&&e.getModifierState("Meta")&&t&&[...s,...o].forEach((e=>c.add(e))):(c.forEach((e=>{s.delete(e),u(e,!1)})),c.clear())}_a(n,"keydown",(e=>(f(e,!0),o(e))),{passive:i}),_a(n,"keyup",(e=>(f(e,!1),o(e))),{passive:i}),_a("blur",d,{passive:!0}),_a("focus",d,{passive:!0});const p=new Proxy(l,{get(e,n,i){if("string"!=typeof n)return Reflect.get(e,n,i);if((n=n.toLowerCase())in r&&(n=r[n]),!(n in l))if(/[+_-]/.test(n)){const e=n.split(/[+_-]/g).map((e=>e.trim()));l[n]=I((()=>e.every((e=>pa(p[e])))))}else l[n]=x(!1);const o=Reflect.get(e,n,i);return t?pa(o):o}});return p}(),r=tl(),{zoom:i}=Nt(r),o=r=>{r.e.preventDefault(),r.e.stopPropagation();const{deltaX:o,deltaY:s,offsetX:a,offsetY:l}=r.e;if(e.value||t.value){const e=Math.abs(s)<10?2*s:s/3;let t=this.canvas.getZoom()*(1-e/200);return t>.97&&t<1.03&&(t=1),i.value=t,this.canvas.zoomToPoint(new Ve(a,l),t),void this.setCoords()}const c=new Ve;n.value?c.x=s>0?-20:20:c.y=s>0?-20:20,this.canvas.relativePan(c),this.setCoords()};var s;this.canvas.on("mouse:wheel",o),this._register((s=()=>{this.canvas.off("mouse:wheel",o)},{dispose:ft((()=>{s()}))}))}initEdgeMove(){!function(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:i=!1}=n;let o=null;const s=x(!1);function a(){o&&(clearInterval(o),o=null)}function l(){s.value=!1,a()}function c(){const n=pa(t);n<=0||(s.value=!0,a(),o=setInterval(e,n))}r&&ga&&c(),(L(t)||"function"==typeof t)&&da(S(t,(()=>{s.value&&ga&&c()})));da(l)}((()=>{}),16,{immediate:!1})}judgePosition(e,t,n){let r=0,i=0;return e.xn.x&&(r|=2,i+=e.x-n.x),e.yn.y&&(r|=8,i+=e.y-n.y),[r,i]}}const qh="rgba(0,0,0,0)",Kh=30,Jh=800,Qh=[{id:0,name:"mm"},{id:1,name:"px"}],eu=[{id:0,name:"名片",disabled:!1},{id:1,name:"单页",disabled:!1},{id:2,name:"自定义",disabled:!0}],tu=[{id:0,name:"纯色填充"},{id:1,name:"图片填充"},{id:2,name:"渐变填充"},{id:3,name:"网格填充"},{id:4,name:"形状填充"},{id:5,name:"智能填充"}],nu=[{id:"contain",name:"缩放"},{id:"repeat",name:"拼贴"},{id:"cover",name:"铺满"}],ru=[{id:0,name:"线性渐变",value:"linear"},{id:1,name:"径向渐变",value:"radial"}],iu=[{id:0,name:"渐变",value:"interpolateLinear"},{id:1,name:"闪烁",value:"sparkle"},{id:2,name:"阴影",value:"shadows"}];class ou extends et{constructor(e,t={}){const n=999999;let r="horizontal"===t.axis?[-n,0,n,0]:[0,-n,0,n];"object"==typeof e&&(r=e),"number"==typeof e&&(r="horizontal"===t.axis?[-n,e,n,e]:[e,-n,e,n]);const i="horizontal"===t.axis;t[i?"lockMovementX":"lockMovementY"]=!0,super(r,t),p(this,"axis",""),this.axis=t.axis,this.initEvent(),this.hoverCursor=i?"ns-resize":"ew-resize"}initEvent(){const e=()=>{};this.on("mousedown:before",(e=>{var t;"down"===this.activeOn&&(null==(t=this.canvas)||t.setActiveObject(this,e.e))})),this.on("moving",(e=>{var t;this.isPointOnRuler(e.e)?this.moveCursor="not-allowed":this.moveCursor=this.isHorizontal()?"ns-resize":"ew-resize",null==(t=this.canvas)||t.fire("referenceline:moving",{target:this,e:e.e})})),this.on("mouseup",(e=>{var t,n,r;this.isPointOnRuler(e.e)?null==(t=this.canvas)||t.remove(this):(this.moveCursor=this.isHorizontal()?"ns-resize":"ew-resize",this.selectable=!1,null==(n=this.canvas)||n.fire("referenceline:mouseup",{target:this,e:e.e}),null==(r=this.canvas)||r.fire("object:modified"))})),this.on("removed",(()=>{var t;this.off("removed",e),this.off("mousedown:before",e),this.off("moving",e),this.off("mouseup",e),null==(t=this.canvas)||t.fire("object:modified")}))}isHorizontal(){return 0===this.height}getBoundingRect(e,t){var n;null==(n=this.canvas)||n.bringObjectToFront(this);const r=this.isHorizontal(),i=super.getBoundingRect();return i[r?"top":"left"]+=i[r?"height":"width"]/2,i[r?"height":"width"]=0,i}isPointOnRuler(e){var t;const n=this.isHorizontal(),r=null==(t=this.canvas.ruler)?void 0:t.getPointHover(new Ve(e.offsetX,e.offsetY));return!!(n&&"horizontal"===r||!n&&"vertical"===r)&&r}fire(e,t){super.fire(e,t)}fromObject(e){return g(this,null,(function*(){const t=0===e.height;return e.xy=t?e.y1:e.x1,e.axis=t?"horizontal":"vertical",yield tt._fromObject(e.type,e)}))}}p(ou,"type","ReferenceLine"),Qe.setClass(ou,"ReferenceLine");class su extends Bh{constructor(e){super(),p(this,"canvasEvents"),p(this,"lastCursor"),p(this,"workSpaceDraw"),p(this,"options"),p(this,"tempReferenceLine"),p(this,"activeOn","up"),p(this,"objectRect"),this.canvas=e,this.lastCursor=this.canvas.defaultCursor,this.options=Object.assign({ruleSize:20,fontSize:8,enabled:!$a()});const{unitMode:t}=Nt(wu());J((()=>{const e=Qh.filter((e=>e.id===t.value))[0].name;this.options=u(u({},this.options),{backgroundColor:"#fff",borderColor:"#ccc",highlightColor:"#165dff3b",textColor:"#444",unitName:e}),this.render({ctx:this.canvas.contextContainer})})),this.canvasEvents={"after:render":this.render.bind(this),"mouse:move":this.mouseMove.bind(this),"mouse:down":this.mouseDown.bind(this),"mouse:up":this.mouseUp.bind(this),"referenceline:moving":this.referenceLineMoving.bind(this),"referenceline:mouseup":this.referenceLineMouseup.bind(this)},this.enabled=this.options.enabled,e.ruler=this}getPointHover(e){return new Je({left:0,top:0,width:this.options.ruleSize,height:this.canvas.height,absolutePositioned:!0}).containsPoint(e)?"vertical":new Je({left:0,top:0,width:this.canvas.width,height:this.options.ruleSize,absolutePositioned:!0}).containsPoint(e)?"horizontal":""}mouseMove(e){if(!e.viewportPoint)return;if(this.tempReferenceLine&&e.scenePoint){const t={};"horizontal"===this.tempReferenceLine.axis?t.top=e.scenePoint.y:t.left=e.scenePoint.x,this.tempReferenceLine.set(d(u({},t),{visible:!0})),this.canvas.renderAll();const n=this.getCommonEventInfo(e);this.canvas.fire("object:moving",n),this.tempReferenceLine.fire("moving",n)}const t=this.getPointHover(e.viewportPoint);this.canvas.defaultCursor=this.lastCursor,t&&(this.lastCursor=this.canvas.defaultCursor,this.canvas.defaultCursor="horizontal"===t?"ns-resize":"ew-resize")}mouseDown(e){const t=this.getPointHover(e.viewportPoint);if(t&&"up"===this.activeOn){this.canvas.selection=!1,this.activeOn="down";const n="horizontal"===t?e.viewportPoint.y:e.viewportPoint.x;this.tempReferenceLine=new ou(n,{type:"ReferenceLine",axis:t,visible:!1,name:"ReferenceLine",hasControls:!1,hasBorders:!1,stroke:"pink",fill:"pink",originX:"center",originY:"center",padding:4,globalCompositeOperation:"difference"}),this.canvas.add(this.tempReferenceLine);Ou().addElement(this.tempReferenceLine),this.canvas.setActiveObject(this.tempReferenceLine),this.canvas._setupCurrentTransform(e.e,this.tempReferenceLine,!0),this.tempReferenceLine.fire("down",this.getCommonEventInfo(e))}}getCommonEventInfo(e){if(this.tempReferenceLine&&e.scenePoint)return{e:e.e,transform:this.tempReferenceLine.get("transform"),pointer:{x:e.scenePoint.x,y:e.scenePoint.y},target:this.tempReferenceLine}}mouseUp(e){var t;"down"===this.activeOn&&(this.canvas.selection=!0,this.tempReferenceLine.selectable=!1,this.canvas.renderAll(),this.activeOn="up",null==(t=this.tempReferenceLine)||t.fire("up",this.getCommonEventInfo(e)),this.tempReferenceLine=void 0)}setWorkSpaceDraw(){this.workSpaceDraw=this.canvas.getObjects().filter((e=>e.id===bh))[0]}isRectOut(e,t){return!1}referenceLineMoving(e){if(!this.workSpaceDraw)return void this.setWorkSpaceDraw();const{target:t}=e;this.isRectOut(this.workSpaceDraw,t)&&(t.moveCursor="not-allowed")}referenceLineMouseup(e){var t;if(!this.workSpaceDraw)return void this.setWorkSpaceDraw();const{target:n}=e;this.isRectOut(this.workSpaceDraw,n)&&(this.canvas.remove(n),this.canvas.setCursor(null!=(t=this.canvas.defaultCursor)?t:""))}get enabled(){return this.options.enabled}set enabled(e){this.options.enabled=e,e?(this.canvas.on(this.canvasEvents),this.render({ctx:this.canvas.contextContainer})):(this.canvas.off(this.canvasEvents),this.canvas.requestRenderAll())}getSize(){return{width:this.canvas.width,height:this.canvas.height}}render({ctx:e}){if(e!==this.canvas.contextContainer)return;const{viewportTransform:t}=this.canvas;this.calcObjectRect(),this.draw({ctx:e,isHorizontal:!0,rulerLength:this.getSize().width,startCalibration:-t[4]/t[0]}),this.draw({ctx:e,isHorizontal:!1,rulerLength:this.getSize().height,startCalibration:-t[5]/t[3]});const{borderColor:n,backgroundColor:r,ruleSize:i,textColor:o}=this.options;this.darwRect(e,{left:0,top:0,width:i,height:i,fill:r,stroke:n}),this.darwText(e,{text:this.options.unitName,left:i/2,top:i/2,align:"center",baseline:"middle",fill:o})}draw(e){const{ctx:t,isHorizontal:n,rulerLength:r,startCalibration:i}=e,o=this.canvas.getZoom(),s=this.getGap(o),a=Math.ceil(r/o),l=Math.floor(i/s)*s,c=l-i,h=this.getSize(),{textColor:u,borderColor:d,ruleSize:f,highlightColor:p}=this.options;this.darwRect(t,{left:0,top:0,width:n?h.width:f,height:n?f:h.height,fill:this.options.backgroundColor,stroke:this.options.borderColor});for(let g=0;g+c<=a;g+=s)for(let e=0;e<10;e++){const r=Math.round((c+g+s*e/10)*o),i=0===e,[a,l]=n?[r,i?0:f-8]:[i?0:f-8,r],[h,u]=n?[0,f-l]:[f-a,0];this.darwLine(t,{left:a,top:l,width:h,height:u,stroke:d})}if(this.objectRect){const e=n?"x":"y";this.objectRect[e].forEach((r=>{if(r.skip===e)return;const[s,a,l,c]=n?[(r.left-i)*o,0,r.width*o,f]:[0,(r.top-i)*o,f,r.height*o];this.darwRect(t,{left:s,top:a,width:l,height:c,fill:p})}))}for(let g=0;g+c<=a;g+=s){const e=(c+g)*o;let r=(l+g).toString();"mm"===this.options.unitName&&(r=Qa(l+g).toFixed(0));const[i,s,a]=n?[e+6,2.5,0]:[2.5,e-6,-90];this.darwText(t,{text:r,left:i,top:s,fill:u,angle:a})}}getGap(e){const t=[.02,.03,.05,.1,.2,.5,1,2,5];let n=0;for(;n{const n=t.getBoundingRect();return e.push(n),e}),[]);0!==t.length&&(this.objectRect={x:this.mergeLines(t,!0),y:this.mergeLines(t,!1)})}mergeLines(e,t){const n=t?"left":"top",r=t?"width":"height";e.sort(((e,t)=>e[n]-t[n]));const i=[];let o=Object.assign({},e[0]);for(let s=1;s=t[n]?o[r]=Math.max(o[n]+o[r],t[n]+t[r])-o[n]:(i.push(o),o=Object.assign({},t))}return i.push(o),i}dispose(){super.dispose(),this.enabled=!1}}class au extends Bh{constructor(e){super(),p(this,"isTwoTouch",!1),p(this,"isDragging",!1),p(this,"startDistance",1),p(this,"startX",0),p(this,"startY",0),p(this,"startScale",1),p(this,"lastPan"),p(this,"touchStartHandle",(e=>{e.preventDefault();const t=this.canvas;if(!t)return;const n=e.touches;if(2===n.length){t.isDrawingMode=!0,this.isTwoTouch=!0;const e=n[0],r=n[1];this.startDistance=Math.hypot(r.pageX-e.pageX,r.pageY-e.pageY),this.startX=(e.pageX+r.pageX)/2,this.startY=(e.pageY+r.pageY)/2,this.startScale=t.getZoom()}})),p(this,"touchMoveHandle",(e=>{e.preventDefault();const t=this.canvas;if(!t)return;const n=e.touches;if(2===n.length){const e=n[0],r=n[1],i=Math.hypot(r.pageX-e.pageX,r.pageY-e.pageY),o=(e.pageX+r.pageX)/2,s=(e.pageY+r.pageY)/2;let a=this.startScale*(i/this.startDistance);a=Math.max(.03,Math.min(5,a)),t.zoomToPoint(new Ve(this.startX,this.startY),a);const l=new Ve(o-this.startX,s-this.startY);tl().setZoom(a),this.isDragging?this.lastPan&&(t.relativePan(new Ve(l.x-this.lastPan.x,l.y-this.lastPan.y)),this.lastPan=l,this.saveTransform()):(this.isDragging=!0,this.lastPan=l)}})),p(this,"touchEndHandle",(e=>{this.isDragging=!1,this.canvas.isDrawingMode=!1,this.isTwoTouch&&0===e.touches.length&&(this.isTwoTouch=!1)})),p(this,"saveTransform",gt((()=>{var e,t;(null==(e=this.canvas)?void 0:e.viewportTransform)&&(null==(t=this.canvas)||t.requestRenderAll())}),500)),this.canvas=e,this.initTouchEvent()}initTouchEvent(){var e;const t=null==(e=this.canvas)?void 0:e.upperCanvasEl;t&&(t.addEventListener("touchstart",this.touchStartHandle,{passive:!1}),t.addEventListener("touchmove",this.touchMoveHandle,{passive:!1}),t.addEventListener("touchend",this.touchEndHandle,{passive:!1}))}removeTouchEvent(){var e;const t=null==(e=this.canvas)?void 0:e.upperCanvasEl;t&&(t.removeEventListener("touchstart",this.touchStartHandle),t.removeEventListener("touchmove",this.touchMoveHandle),t.removeEventListener("touchend",this.touchEndHandle))}}const lu=e=>{if(e.ref)return e;const t=["id","name","hideOnLayer","originX","originY","top","left","width","height","scaleX","scaleY","flipX","flipY","opacity","angle","skewX","skewY","hoverCursor","moveCursor","padding","borderColor","borderDashArray","cornerColor","cornerStrokeColor","cornerStyle","cornerDashArray","centeredScaling","centeredRotation","fill","fillRule","globalCompositeOperation","backgroundColor","selectionBackgroundColor","stroke","strokeWidth","strokeDashArray","strokeDashOffset","strokeLineCap","strokeLineJoin","strokeMiterLimit","shadow","borderScaleFactor","minScaleLimit","selectable","evented","visible","hasControls","hasBorders","perPixelTargetFind","includeDefaultValues","lockMovementX","lockMovementY","lockRotation","lockScalingX","lockScalingY","lockSkewingX","lockSkewingY","lockScalingFlip","excludeFromExport","objectCaching","noScaleCache","strokeUniform","dirty","paintFirst","activeOn","colorProperties","inverted","absolutePositioned"];return e.isType("Rect")&&t.push("rx","ry"),e.isType("Text","Textbox")&&t.push("text","charSpacing","lineHeight","fontSize","fontWeight","fontFamily","fontStyle","pathSide","pathAlign","underline","overline","linethrough","textAlign","direction"),e.ref=j({}),t.forEach((t=>{e.ref[t]=e[t],Object.defineProperty(e,t,{get(){return this.ref[t]},set(e){this.ref[t]!==e&&(this.ref[t]=e)}})})),e};class cu extends nt{constructor(e,t){super(e,t),p(this,"ruler"),p(this,"loading"),p(this,"activeObject",z())}get _activeObject(){return this.activeObject?this.activeObject.value:void 0}set _activeObject(e){wu().setCanvasObject(e),this.activeObject.value=e}add(...e){return super.add(...e.map((e=>(this.setDefaultAttr(e),lu(e)))))}insertAt(e,...t){return super.insertAt(e,...t.map((e=>(this.setDefaultAttr(e),lu(e)))))}setDefaultAttr(e){var t;e.name||e.set({name:e.type}),e.id||e.set({id:(t=8,Oa("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")(t))}),Fh(e)&&e.set({color:e.fill}),Dh(e)&&e._objects.forEach((e=>{this.setDefaultAttr(e)}))}absolutePan(e,t){const n=[...this.viewportTransform];n[4]=-e.x,n[5]=-e.y,t?this.viewportTransform=n:this.setViewportTransform(n)}relativePan(e,t){return this.absolutePan(new Ve(-e.x-this.viewportTransform[4],-e.y-this.viewportTransform[5]),t)}}const hu=(e,t)=>{if(0===e.length)return null;const n=[];e.forEach((e=>{const t=e.getRelativeCenterPoint();let r=e._getTransformedDimensions().scalarDivide(2);if(e.angle){const t=Ge.degreesToRadians(e.angle),n=Math.abs(Ge.sin(t)),i=Math.abs(Ge.cos(t)),o=r.x*i+r.y*n,s=r.x*n+r.y*i;r=new Ve(o,s)}n.push(t.subtract(r),t.add(r))}));const{left:r,top:i,width:o,height:s}=Ge.makeBoundingBoxFromPoints(n),a=new Ve(o,s),l=new Ve(r,i).add(a.scalarDivide(2)).transform([1,0,0,1,0,0]);return{centerX:l.x,centerY:l.y,width:a.x,height:a.y}},uu=()=>({initCommon:()=>{const[e]=yu();if(!e)return;const t=e.getObjects().filter((e=>e.id===bh))[0];if(!t)return;const n=tl(),{clip:r,safe:i,diagonal:o,opacity:s,showClip:a,showSafe:l}=Nt(n);e.remove(...e.getObjects().filter((e=>Mh.includes(e.id))));const c=t.width,h=t.height,d=25e3,f=96*r.value/Za,p=96*o.value/Za,g=2*i.value*96/Za,k=t.left,m=t.top,v=new Je(u({left:k+f,top:m+f,width:c-2*f,height:h-2*f,fill:qh,stroke:"red",strokeWidth:1,visible:a.value,id:_h},Th)),y=new Je(u({left:k+g,top:m+g,width:c-2*g,height:h-2*g,fill:qh,stroke:"yellow",strokeWidth:1,visible:l.value,id:xh},Th)),L=new rt(`M0 0 L50000 0 L50000 50000 L0 50000 L0 0 Z \n M${d+k} ${d+m} \n L${d+k} ${d+m+h} \n L${d+k+c} ${d+m+h} \n L${d+k+c} ${d+m} \n L${d+k} ${d+m} Z`,u({left:-25e3,top:-25e3,fill:"#f3f3f3",opacity:s.value,id:Ch,originX:"left",originY:"top"},Th)),w=p/2,b=[];[[d-w-f,d+f,d-w/2-f,d+f],[d,d-w,d,d-w/2],[d-w-f,d+h-f,d-w/2-f,d+h-f],[d,d+w+h,d,d+h+w/2],[d+c+f,d+f,d+c+w/2+f,d+f],[d+c-2*f,d-w,d+c-2*f,d-w/2],[d+c+f,d+h-f,d+c+w/2+f,d+h-f],[d+c-2*f,d+w+h,d+c-2*f,d+h+w/2]].forEach((e=>{const t=new et(e,{selectable:!1,hoverCursor:"default",evented:!1,excludeFromExport:!1,hasBorders:!1,perPixelTargetFind:!0,strokeWidth:1,stroke:"red"});b.push(t)}));const _=new Ye([...b],u({id:_h,left:k-w,top:m-w,visible:a.value},Th));e.add(v),e.add(y),e.add(_),e.add(L),e.renderAll(),e.getObjects("ReferenceLine").forEach((t=>{const n=t;n.set({selectable:!0,hasControls:!1,hasBorders:!1,padding:5}),e.bringObjectToFront(n),e.renderAll()}))}});var du=(e=>(e[e.ADD=1]="ADD",e[e.DELETE=2]="DELETE",e[e.MODIFY=3]="MODIFY",e[e.ORDER=4]="ORDER",e[e.GROUP=5]="GROUP",e[e.UNGROUP=6]="UNGROUP",e[e.LOCK=7]="LOCK",e[e.UNLOCK=8]="UNLOCK",e))(du||{});const fu=()=>{const e=Hg();return{addHistorySnapshot:gt((function(t){e.addSnapshot(t)}),10,{trailing:!0}),redo:kt((function(){e.reDo()}),100,{leading:!0,trailing:!1}),undo:kt((function(){e.unDo()}),100,{leading:!0,trailing:!1}),clearHistorySnapshot:kt((function(){e.clear()}),100,{leading:!0,trailing:!1})}};let pu=null;const gu=()=>{tt.ownDefaults.objectCaching=!1,tt.ownDefaults.borderColor="blue",tt.ownDefaults.cornerColor="white",tt.ownDefaults.cornerStrokeColor="#c0c0c0",tt.ownDefaults.borderOpacityWhenMoving=1,tt.ownDefaults.borderScaleFactor=1,tt.ownDefaults.cornerSize=8,tt.ownDefaults.cornerStyle="rect",tt.ownDefaults.centeredScaling=!1,tt.ownDefaults.centeredRotation=!0,tt.ownDefaults.transparentCorners=!1,tt.ownDefaults.controls=Kg(),Object.assign(qe.ownDefaults,{controls:Jg()}),Object.assign(Ke.ownDefaults,{controls:Jg()});const e={getWidthHeight(e=!1){const t=this.getObjectScaling(),n=this._getTransformedDimensions({scaleX:t.x,scaleY:t.y});return e||(n.setX(n.x),n.setY(n.y)),n},getHeight(){return this.getWidthHeight().y},getWidth(){return this.getWidthHeight().x}};Object.assign(tt.prototype,e)},ku=()=>{if(!pu)return;const e=tl(),{zoom:t,wrapperRef:n,scalePercentage:r}=Nt(e),{width:i,height:o}=ja(n.value);pu.setDimensions({width:i.value,height:o.value});const s=pu.getObjects().filter((e=>!Mh.includes(e.id))),a=hu(s);if(!a)return;let l=a.width,c=a.height,h=a.centerX,u=a.centerY;const d=pu.getObjects().filter((e=>e.id===bh))[0];d&&(l=d.width,c=d.height,h=d.left+d.width/2,u=d.top+d.height/2),t.value=Math.min(pu.getWidth()/l,pu.getHeight()/c)*r.value/100,pu.setZoom(t.value),pu.absolutePan(new Ve(h,u).scalarMultiply(t.value).subtract(pu.getCenterPoint()),!0)},mu=e=>g(void 0,null,(function*(){if(!pu)return;const{initCommon:t}=uu(),n=Ou(),{currentTemplate:r}=Nt(n);e&&Number(e)>0||(yield pu.loadFromJSON(r.value),ku(),t(),(()=>{if(!pu)return;const e=Ou(),{templateId:t}=Nt(e);pu.on("object:modified",(e=>{var n;const{transform:r,action:i}=e,o=null==(n=null==pu?void 0:pu._activeObject)?void 0:n.toObject(Oh),s=null==pu?void 0:pu._objects.findIndex((e=>e.id===o.id));if(!s)return;const a={type:du.MODIFY,index:s,target:o,transform:r,action:i,tid:t.value},{addHistorySnapshot:l}=fu();l(a)}))})())})),vu=e=>g(void 0,null,(function*(){const t=tl(),{wrapperRef:n}=Nt(t);gu(),(()=>{const e=tl(),{canvasRef:t}=Nt(e),n=e.getWidth(),r=e.getHeight();t.value&&(pu=new cu(t.value,{width:n,height:r}),new zh(pu),new Yh(pu),new Zh(pu),new Gh(pu),new su(pu),new au(pu),pu.preserveObjectStacking=!0,pu.renderAll())})(),mu(e);const{width:r,height:i}=ja(n.value);S([r,i],(()=>{ku()}))})),yu=()=>[pu],Lu=Oa("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")(10),wu=Dt("main",{state:()=>({canvasObject:void 0,clonedObject:void 0,hoveredObject:void 0,leavedObject:void 0,currentPoint:null,rightState:ll.ELEMENT_CANVAS,imageCategoryType:[],imageCategoryData:ca,illustrationCategoryType:[],illustrationCategoryData:ca,handleElementId:"",sizeMode:0,unitMode:0,gridColorSelf:[[]],databaseId:Lu,selectedTemplatesIndex:[],thumbnailsFocus:!1,drawAreaFocus:!1,systemFonts:nl,onlineFonts:[],disableHotkeys:!1,exportType:"image",lastEdit:"editor",lastHelp:"editor",poolType:"editor",poolShow:!1}),getters:{activeElementList(){},handleElement(){}},actions:{setCanvasObject(e){this.canvasObject=e},setHoveredObject(e){this.hoveredObject=e},setLeaveddObject(e){this.leavedObject=e},setActiveObject(){const[e]=yu();e&&e._activeObject},setPoolType(e){"help"===e&&(this.lastHelp=this.poolType),this.poolType=e},setRightState(e){this.rightState=e},setThumbnailsFocus(e){this.thumbnailsFocus=e},getFonts(){this.getSystemFonts(),this.getOnlineFonts()},getSystemFonts(){this.systemFonts=(e=>{const t=100,n=100,r=document.createElement("canvas"),i=r.getContext("2d",{willReadFrequently:!0});return i?(r.width=t,r.height=n,i.textAlign="center",i.fillStyle="black",i.textBaseline="middle",e.filter((e=>{if("string"!=typeof e.value)return!1;const r="Arial";if(e.value.toLowerCase()===r.toLowerCase())return!0;const o=e=>{i.clearRect(0,0,t,n),i.font=`100px ${e}, ${r}`,i.fillText("a",50,50);const o=i.getImageData(0,0,t,n).data;return[].slice.call(o).filter((e=>0!==e))};return o(r).join("")!==o(e.value).join("")}))):[]})(nl)},getOnlineFonts(){return g(this,null,(function*(){const e=yield wh({url:"api/design/font/info",method:"get",params:t});var t;if(200===e.data.code){const t=document.createElement("style");t.type="text/css",e.data.data.forEach((e=>{this.onlineFonts.push({label:e.fontname,value:e.fontname}),t.appendChild(document.createTextNode(`@font-face {font-family: '${e.fontname}'; src: url(${e.url}) format('truetype');}`))})),document.head.appendChild(t)}}))},setExportType(e){this.exportType=e},setDrawAreaFocus(e){this.drawAreaFocus=e},updateSelectedTemplatesIndex(e){this.selectedTemplatesIndex=e}}}),bu=[{version:"6.0.0-beta12",id:"APxCmQX_hz",background:"rgba(255,255,255,0)",objects:[{rx:0,ry:0,id:"WorkSpaceDrawType",name:"rect",color:"#ffffff",padding:0,fill:"#ffffff",selectable:!1,evented:!1,fillType:0,lockMovementX:!1,lockMovementY:!1,objectCaching:!0,transparentCorners:!1,hasBorders:!0,globalCompositeOperation:"source-over",type:"Rect",version:"6.0.0-beta12",originX:"left",originY:"top",left:0,top:0,width:1070.5512,height:645.3543,stroke:"",strokeWidth:1,strokeDashArray:null,strokeLineCap:"butt",strokeDashOffset:0,strokeLineJoin:"miter",strokeUniform:!1,strokeMiterLimit:4,scaleX:1,scaleY:1,angle:0,flipX:!1,flipY:!1,opacity:1,shadow:null,visible:!0,backgroundColor:"rgba(0,0,0,0)",fillRule:"nonzero",paintFirst:"fill",skewX:0,skewY:0},{id:"CIRlKuzGBu",name:"path",padding:0,fill:"#ff5e17",selectable:!0,evented:!0,lockMovementX:!1,lockMovementY:!1,objectCaching:!1,transparentCorners:!1,hasBorders:!0,globalCompositeOperation:"source-over",type:"Path",version:"6.0.0-beta12",originX:"left",originY:"left",left:435.2756,top:217.0772,width:200,height:200,stroke:null,strokeWidth:1,strokeDashArray:null,strokeLineCap:"butt",strokeDashOffset:0,strokeLineJoin:"miter",strokeUniform:!1,strokeMiterLimit:4,scaleX:1,scaleY:1,angle:0,flipX:!1,flipY:!1,opacity:1,shadow:null,visible:!0,backgroundColor:"",fillRule:"nonzero",paintFirst:"fill",skewX:0,skewY:0,path:[["M",50,0],["L",150,0],["Q",200,0,200,50],["L",200,150],["Q",200,200,150,200],["L",50,200],["Q",0,200,0,150],["L",0,50],["Q",0,0,50,0],["Z"]]},{fontSize:"160",fontWeight:"normal",fontFamily:"得意黑",fontStyle:"normal",lineHeight:1.3,text:"yft",charSpacing:3,textAlign:"justify-center",styles:[],path:null,pathStartOffset:0,pathSide:"left",pathAlign:"baseline",underline:!1,overline:!1,linethrough:!1,textBackgroundColor:"",direction:"ltr",minWidth:20,splitByGrapheme:!1,id:"XBWMxwBboP",name:"textbox",editable:!0,color:"rgb(0,0,0)",padding:0,fill:"rgb(0,0,0)",selectable:!0,evented:!0,fillType:0,lockMovementX:!1,lockMovementY:!1,objectCaching:!1,transparentCorners:!1,hasBorders:!0,radius:66,globalCompositeOperation:"source-over",type:"Textbox",version:"6.0.0-beta12",originX:"left",originY:"top",left:136.1019,top:226.6772,width:153.92,height:180.8,stroke:null,strokeWidth:1,strokeDashArray:null,strokeLineCap:"butt",strokeDashOffset:0,strokeLineJoin:"miter",strokeUniform:!1,strokeMiterLimit:4,scaleX:1,scaleY:1,angle:0,flipX:!1,flipY:!1,opacity:1,shadow:null,visible:!0,backgroundColor:"",fillRule:"nonzero",paintFirst:"fill",skewX:0,skewY:0},{id:"evc7yQi-5F",name:"path",color:"#000000",padding:0,fill:"#000000",selectable:!0,evented:!0,fillType:0,lockMovementX:!1,lockMovementY:!1,objectCaching:!1,transparentCorners:!1,background:{fillType:0,fill:"#000000",color:"#000000"},hasBorders:!0,globalCompositeOperation:"source-over",type:"Path",version:"6.0.0-beta12",originX:"left",originY:"left",left:451.5156,top:232.2772,width:167.52,height:169.6,stroke:null,strokeWidth:1,strokeDashArray:null,strokeLineCap:"butt",strokeDashOffset:0,strokeLineJoin:"miter",strokeUniform:!1,strokeMiterLimit:4,scaleX:1,scaleY:1,angle:0,flipX:!1,flipY:!1,opacity:1,shadow:null,visible:!0,backgroundColor:"",fillRule:"nonzero",paintFirst:"fill",skewX:0,skewY:0,path:[["M",71.04,-92.8],["L",37.76,.64],["Q",32.96,14.24,28.72,22.56],["Q",24.48,30.88,19.04,34.64],["Q",13.6,38.4,5.12,38.4],["L",5.12,38.4],["Q",1.6,38.4,-1.92,37.84],["Q",-5.44,37.28,-9.44,35.84],["L",-9.44,35.84],["L",-7.2,22.08],["Q",-4.32,22.88,-1.6,23.44],["Q",1.12,24,4,24],["L",4,24],["Q",9.44,24,13.12,20],["Q",16.8,16,18.72,9.76],["L",18.72,9.76],["L",8.16,-92.8],["L",24,-92.8],["L",28.32,-32.64],["Q",28.64,-27.84,28.88,-23.04],["Q",29.12,-18.24,29.28,-13.44],["L",29.28,-13.44],["Q",30.88,-18.24,32.4,-23.04],["Q",33.92,-27.84,35.52,-32.64],["L",35.52,-32.64],["L",55.04,-92.8],["L",71.04,-92.8],["Z"],["M",72.16,-78.72],["L",74.24,-92.8],["L",84.96,-92.8],["L",85.76,-98.4],["Q",87.52,-111.2,91.36,-118.32],["Q",95.2,-125.44,100.56,-128.32],["Q",105.92,-131.2,112.32,-131.2],["L",112.32,-131.2],["Q",117.6,-131.2,121.12,-130.08],["L",121.12,-130.08],["L",119.04,-115.84],["Q",117.76,-116.16,116.08,-116.48],["Q",114.4,-116.8,112.96,-116.8],["L",112.96,-116.8],["Q",106.24,-116.8,104,-110.48],["Q",101.76,-104.16,100.16,-92.8],["L",100.16,-92.8],["L",118.08,-92.8],["L",116,-78.72],["L",98.24,-78.72],["L",87.04,4.8],["L",71.52,4.8],["L",83.04,-78.72],["L",72.16,-78.72],["Z"],["M",114.24,-23.52],["L",114.24,-23.52],["L",122.88,-78.72],["L",112.48,-78.72],["L",114.56,-92.8],["L",125.12,-92.8],["L",129.28,-119.68],["L",144,-119.68],["L",140,-92.8],["L",158.08,-92.8],["L",156,-78.72],["L",137.76,-78.72],["L",129.76,-25.28],["Q",128.48,-16.48,129.68,-12.24],["Q",130.88,-8,135.36,-8],["L",135.36,-8],["Q",139.2,-8,143.52,-11.04],["L",143.52,-11.04],["L",148.48,2.08],["Q",143.52,4.32,138.16,5.6],["Q",132.8,6.88,127.84,6.24],["Q",122.88,5.6,119.28,2.48],["Q",115.68,-.64,114.16,-6.96],["Q",112.64,-13.28,114.24,-23.52],["Z"]]},{id:"NkbIrgbD",name:"path",color:"rgba(255,94,23,1)",padding:0,fill:"rgba(255,94,23,1)",selectable:!0,evented:!0,fillType:0,lockMovementX:!1,lockMovementY:!1,objectCaching:!1,transparentCorners:!1,background:{fillType:0,fill:"rgba(255,94,23,1)",color:"rgba(255,94,23,1)"},hasBorders:!0,globalCompositeOperation:"source-over",type:"Path",version:"6.0.0-beta12",originX:"left",originY:"top",left:767.3619,top:217.0772,width:200,height:200,stroke:null,strokeWidth:1,strokeDashArray:null,strokeLineCap:"butt",strokeDashOffset:0,strokeLineJoin:"miter",strokeUniform:!1,strokeMiterLimit:4,scaleX:1,scaleY:1,angle:0,flipX:!1,flipY:!1,opacity:1,shadow:null,visible:!0,backgroundColor:"",fillRule:"nonzero",paintFirst:"fill",skewX:0,skewY:0,path:[["M",151,.01],["L",152.01,.02],["L",153.01,.05],["L",153.99,.08],["L",155,.13],["L",156,.19],["L",156.99,.26],["L",157.99,.35],["L",158.98,.44],["L",159.98,.55],["L",160.97,.68],["L",161.95,.82],["L",162.95,.97],["L",163.93,1.13],["L",164.92,1.32],["L",165.89,1.52],["L",166.87,1.73],["L",167.84,1.96],["L",168.81,2.21],["L",169.79,2.48],["L",170.75,2.76],["L",171.69,3.06],["L",172.64,3.39],["L",173.59,3.73],["L",174.52,4.09],["L",175.44,4.47],["L",176.35,4.88],["L",177.26,5.3],["L",178.15,5.74],["L",179.04,6.21],["L",179.92,6.71],["L",180.77,7.22],["L",181.61,7.74],["L",182.45,8.3],["L",183.26,8.88],["L",184.07,9.49],["L",184.85,10.1],["L",185.61,10.75],["L",186.35,11.4],["L",187.08,12.09],["L",187.79,12.79],["L",188.48,13.52],["L",189.15,14.27],["L",189.8,15.03],["L",190.42,15.81],["L",191.03,16.61],["L",191.61,17.42],["L",192.17,18.26],["L",192.7,19.09],["L",193.22,19.96],["L",193.71,20.82],["L",194.18,21.71],["L",194.63,22.6],["L",195.06,23.5],["L",195.46,24.41],["L",195.85,25.34],["L",196.21,26.27],["L",196.56,27.22],["L",196.89,28.16],["L",197.19,29.1],["L",197.48,30.06],["L",197.75,31.03],["L",198,32],["L",198.23,32.97],["L",198.45,33.95],["L",198.65,34.92],["L",198.84,35.91],["L",199,36.88],["L",199.16,37.88],["L",199.3,38.86],["L",199.43,39.86],["L",199.54,40.85],["L",199.64,41.84],["L",199.72,42.85],["L",199.8,43.84],["L",199.86,44.84],["L",199.91,45.84],["L",199.95,46.84],["L",199.98,47.84],["L",199.99,48.83],["L",200,49.83],["L",200,150.84],["L",199.96,152.84],["L",199.92,153.83],["L",199.88,154.83],["L",199.82,155.84],["L",199.75,156.83],["L",199.67,157.82],["L",199.57,158.82],["L",199.46,159.82],["L",199.34,160.82],["L",199.21,161.8],["L",199.06,162.8],["L",198.89,163.78],["L",198.71,164.75],["L",198.51,165.75],["L",198.31,166.71],["L",198.07,167.7],["L",197.83,168.66],["L",197.56,169.63],["L",197.29,170.58],["L",196.98,171.54],["L",196.66,172.49],["L",196.33,173.43],["L",195.97,174.36],["L",195.59,175.28],["L",195.19,176.2],["L",194.77,177.12],["L",194.32,178.02],["L",193.86,178.9],["L",193.38,179.76],["L",192.87,180.64],["L",192.34,181.48],["L",191.79,182.32],["L",191.21,183.13],["L",190.62,183.93],["L",190,184.72],["L",189.37,185.48],["L",188.7,186.24],["L",188.02,186.97],["L",187.32,187.68],["L",186.59,188.38],["L",185.85,189.05],["L",185.1,189.69],["L",184.32,190.32],["L",183.51,190.94],["L",182.7,191.52],["L",181.88,192.08],["L",181.04,192.62],["L",180.19,193.13],["L",179.32,193.63],["L",178.43,194.11],["L",177.54,194.56],["L",176.63,194.99],["L",175.73,195.4],["L",174.82,195.79],["L",173.89,196.15],["L",172.94,196.5],["L",172,196.83],["L",171.04,197.14],["L",170.09,197.43],["L",169.12,197.71],["L",168.15,197.96],["L",167.19,198.2],["L",166.21,198.42],["L",165.24,198.62],["L",164.26,198.81],["L",163.26,198.98],["L",162.27,199.14],["L",161.29,199.28],["L",160.3,199.41],["L",159.31,199.52],["L",158.31,199.62],["L",157.3,199.71],["L",156.32,199.79],["L",155.32,199.85],["L",154.32,199.9],["L",153.31,199.94],["L",152.32,199.97],["L",151.32,199.99],["L",150.32,200],["L",49.32,200],["L",48.33,199.99],["L",47.33,199.96],["L",46.32,199.93],["L",45.33,199.89],["L",44.32,199.83],["L",43.33,199.76],["L",42.34,199.68],["L",41.33,199.59],["L",40.34,199.48],["L",39.36,199.36],["L",38.36,199.23],["L",37.37,199.08],["L",36.38,198.92],["L",35.39,198.74],["L",34.41,198.55],["L",33.45,198.34],["L",32.45,198.11],["L",31.5,197.87],["L",30.54,197.61],["L",29.57,197.33],["L",28.6,197.03],["L",27.67,196.72],["L",26.71,196.38],["L",25.79,196.03],["L",24.86,195.65],["L",23.94,195.25],["L",23.03,194.84],["L",22.13,194.4],["L",21.25,193.94],["L",20.36,193.45],["L",19.5,192.95],["L",18.66,192.43],["L",17.82,191.88],["L",16.99,191.31],["L",16.19,190.72],["L",15.41,190.11],["L",14.63,189.47],["L",13.88,188.81],["L",13.14,188.13],["L",12.43,187.43],["L",11.73,186.71],["L",11.06,185.97],["L",10.41,185.22],["L",9.77,184.44],["L",9.17,183.65],["L",8.57,182.83],["L",8.02,182.02],["L",7.47,181.18],["L",6.94,180.32],["L",6.45,179.46],["L",5.97,178.58],["L",5.51,177.69],["L",5.08,176.78],["L",4.66,175.88],["L",4.27,174.95],["L",3.9,174.03],["L",3.55,173.09],["L",3.22,172.15],["L",2.9,171.19],["L",2.61,170.24],["L",2.34,169.29],["L",2.08,168.31],["L",1.84,167.35],["L",1.62,166.37],["L",1.41,165.39],["L",1.22,164.4],["L",1.05,163.43],["L",.89,162.44],["L",.74,161.44],["L",.61,160.45],["L",.39,158.47],["L",.3,157.47],["L",.22,156.48],["L",.16,155.48],["L",.06,153.48],["L",.03,152.48],["L",.01,151.48],["L",0,150.49],["L",0,49.49],["L",.01,48.47],["L",.03,47.48],["L",.06,46.48],["L",.11,45.49],["L",.16,44.48],["L",.23,43.49],["L",.31,42.49],["L",.4,41.49],["L",.5,40.49],["L",.62,39.51],["L",.75,38.52],["L",.89,37.52],["L",1.05,36.54],["L",1.23,35.55],["L",1.42,34.57],["L",1.63,33.59],["L",1.85,32.61],["L",2.09,31.65],["L",2.34,30.69],["L",2.62,29.72],["L",2.92,28.77],["L",3.23,27.81],["L",3.56,26.88],["L",3.91,25.94],["L",4.28,25.01],["L",4.68,24.09],["L",5.09,23.18],["L",5.53,22.28],["L",5.98,21.39],["L",6.47,20.5],["L",6.97,19.64],["L",7.49,18.79],["L",8.04,17.95],["L",8.59,17.14],["L",9.19,16.32],["L",9.8,15.53],["L",10.43,14.75],["L",11.09,13.99],["L",11.75,13.27],["L",12.45,12.55],["L",13.17,11.85],["L",13.9,11.17],["L",14.66,10.51],["L",15.44,9.87],["L",16.22,9.26],["L",17.02,8.67],["L",17.85,8.1],["L",18.69,7.55],["L",19.53,7.03],["L",20.4,6.53],["L",21.28,6.04],["L",22.16,5.59],["L",23.07,5.15],["L",23.97,4.73],["L",24.89,4.33],["L",25.81,3.96],["L",26.75,3.61],["L",27.71,3.27],["L",28.64,2.96],["L",29.61,2.66],["L",30.56,2.38],["L",31.54,2.12],["L",32.49,1.88],["L",33.47,1.65],["L",34.45,1.44],["L",35.43,1.25],["L",36.42,1.07],["L",37.41,.91],["L",38.39,.77],["L",39.38,.63],["L",40.38,.51],["L",41.37,.41],["L",42.36,.32],["L",43.36,.24],["L",44.36,.17],["L",45.35,.11],["L",46.36,.07],["L",47.35,.04],["L",48.35,.01],["L",49.36,0],["L",150.01,0],["Z"],["M",34.3,53.6],["L",33.9,54.14],["L",34,55.13],["L",34.1,56.14],["L",34.2,57.13],["L",34.31,58.12],["L",34.41,59.11],["L",34.51,60.11],["L",34.61,61.1],["L",34.72,62.1],["L",34.82,63.09],["L",34.92,64.09],["L",35.12,66.07],["L",35.23,67.07],["L",35.33,68.06],["L",35.43,69.07],["L",35.53,70.05],["L",35.64,71.06],["L",35.94,74.03],["L",36.05,75.04],["L",36.25,77.02],["L",36.35,78.02],["L",36.46,79],["L",36.56,80.01],["L",36.66,81],["L",36.76,82],["L",36.87,82.99],["L",36.97,83.99],["L",37.07,84.98],["L",37.17,85.98],["L",37.28,86.97],["L",37.48,88.95],["L",37.58,89.96],["L",37.69,90.95],["L",37.79,91.94],["L",37.89,92.94],["L",37.99,93.93],["L",38.1,94.93],["L",38.2,95.93],["L",38.3,96.91],["L",38.4,97.91],["L",38.5,98.9],["L",38.61,99.89],["L",38.71,100.88],["L",38.81,101.88],["L",38.92,102.89],["L",39.02,103.88],["L",39.12,104.88],["L",39.22,105.86],["L",39.32,106.87],["L",39.43,107.85],["L",39.53,108.86],["L",39.73,110.84],["L",39.84,111.83],["L",39.94,112.83],["L",40.14,114.81],["L",40.25,115.81],["L",40.35,116.8],["L",40.45,117.81],["L",40.55,118.81],["L",40.65,119.78],["L",40.76,120.79],["L",40.96,122.77],["L",41.07,123.78],["L",41.17,124.76],["L",41.27,125.77],["L",41.37,126.75],["L",41.47,127.74],["L",41.58,128.74],["L",41.68,129.75],["L",41.78,130.74],["L",41.88,131.72],["L",41.99,132.73],["L",42.09,133.72],["L",42.19,134.72],["L",42.29,135.71],["L",42.4,136.7],["L",42.5,137.71],["L",42.6,138.69],["L",42.7,139.68],["L",42.81,140.68],["L",42.91,141.68],["L",43.11,143.66],["L",43.22,144.67],["L",43.32,145.65],["L",43.42,146.65],["L",43.52,147.64],["L",43.63,148.64],["L",43.73,149.63],["L",43.83,150.63],["L",44.03,152.61],["L",44.14,153.61],["L",44.34,155.61],["L",44.27,156.57],["L",43.95,157.52],["L",43.6,158.47],["L",43.23,159.38],["L",42.81,160.31],["L",42.38,161.2],["L",41.91,162.08],["L",41.39,162.95],["L",40.85,163.79],["L",40.28,164.6],["L",39.67,165.4],["L",39.02,166.16],["L",38.33,166.88],["L",37.59,167.57],["L",36.82,168.17],["L",35.98,168.73],["L",35.1,169.2],["L",34.18,169.61],["L",33.23,169.92],["L",32.27,170.15],["L",31.28,170.31],["L",30.27,170.39],["L",29.28,170.4],["L",28.27,170.37],["L",27.28,170.3],["L",26.29,170.2],["L",25.3,170.06],["L",24.31,169.89],["L",23.33,169.68],["L",22.36,169.47],["L",21.39,169.24],["L",20.42,169],["L",19.44,168.74],["L",18.49,168.48],["L",18.32,169.47],["L",18,171.43],["L",17.52,174.4],["L",17.36,175.38],["L",17.19,176.38],["L",17.03,177.37],["L",16.87,178.35],["L",16.39,181.32],["L",16.3,182.26],["L",17.23,182.59],["L",18.19,182.9],["L",19.14,183.19],["L",20.12,183.46],["L",21.08,183.7],["L",22.06,183.92],["L",23.04,184.12],["L",24.02,184.28],["L",25.01,184.42],["L",26.01,184.54],["L",27,184.64],["L",27.99,184.71],["L",29,184.76],["L",30,184.79],["L",31,184.8],["L",31.99,184.78],["L",33,184.73],["L",34,184.66],["L",34.99,184.55],["L",35.98,184.4],["L",36.96,184.23],["L",37.94,184.01],["L",38.9,183.75],["L",39.85,183.46],["L",40.8,183.11],["L",41.71,182.73],["L",42.62,182.29],["L",43.49,181.82],["L",44.36,181.29],["L",45.16,180.72],["L",45.96,180.11],["L",46.72,179.47],["L",47.47,178.78],["L",48.16,178.08],["L",48.85,177.34],["L",49.5,176.58],["L",50.12,175.81],["L",50.73,175.01],["L",51.31,174.19],["L",51.87,173.36],["L",52.4,172.52],["L",52.92,171.67],["L",53.42,170.8],["L",53.9,169.92],["L",54.36,169.04],["L",54.82,168.13],["L",55.25,167.25],["L",55.69,166.34],["L",56.11,165.44],["L",56.53,164.53],["L",56.94,163.61],["L",57.35,162.7],["L",57.74,161.79],["L",58.13,160.87],["L",58.52,159.94],["L",58.9,159.02],["L",59.28,158.09],["L",59.65,157.17],["L",60.02,156.24],["L",60.39,155.3],["L",60.75,154.37],["L",61.1,153.44],["L",61.46,152.49],["L",61.81,151.56],["L",62.15,150.63],["L",62.49,149.68],["L",62.83,148.75],["L",63.17,147.81],["L",63.5,146.86],["L",63.84,145.93],["L",64.17,144.98],["L",64.51,144.04],["L",64.85,143.08],["L",65.18,142.15],["L",65.52,141.21],["L",65.85,140.26],["L",66.18,139.33],["L",66.53,138.38],["L",67.19,136.5],["L",67.53,135.56],["L",67.87,134.61],["L",68.2,133.68],["L",68.54,132.73],["L",68.87,131.79],["L",69.21,130.84],["L",69.54,129.9],["L",69.88,128.97],["L",70.21,128.02],["L",70.55,127.08],["L",70.89,126.13],["L",71.22,125.19],["L",71.55,124.26],["L",71.89,123.31],["L",72.23,122.37],["L",72.56,121.43],["L",72.9,120.48],["L",73.23,119.54],["L",73.57,118.59],["L",73.9,117.67],["L",74.24,116.72],["L",74.57,115.78],["L",74.91,114.83],["L",75.24,113.9],["L",75.58,112.94],["L",75.92,112.01],["L",76.25,111.06],["L",76.59,110.13],["L",76.92,109.19],["L",77.6,107.29],["L",77.93,106.36],["L",78.27,105.41],["L",78.6,104.47],["L",78.94,103.53],["L",79.28,102.58],["L",79.61,101.64],["L",79.95,100.7],["L",80.28,99.76],["L",80.62,98.81],["L",80.95,97.87],["L",81.29,96.93],["L",81.62,96],["L",81.96,95.04],["L",82.29,94.11],["L",82.63,93.16],["L",82.96,92.23],["L",83.3,91.29],["L",83.63,90.35],["L",83.97,89.39],["L",84.3,88.46],["L",84.98,86.58],["L",85.31,85.63],["L",85.65,84.68],["L",85.98,83.74],["L",86.66,81.86],["L",86.99,80.93],["L",87.33,79.97],["L",87.66,79.04],["L",88,78.09],["L",88.33,77.15],["L",88.67,76.2],["L",89,75.27],["L",89.34,74.32],["L",89.67,73.39],["L",90.01,72.44],["L",90.34,71.51],["L",90.68,70.55],["L",91.02,69.61],["L",91.35,68.66],["L",91.69,67.73],["L",92.02,66.79],["L",92.36,65.84],["L",92.69,64.91],["L",93.03,63.96],["L",93.37,63.02],["L",93.7,62.08],["L",94.04,61.13],["L",94.37,60.19],["L",94.71,59.25],["L",95.04,58.31],["L",95.38,57.36],["L",95.71,56.42],["L",96.05,55.49],["L",96.39,54.54],["L",96.72,53.6],["L",81.37,53.6],["L",80.61,53.94],["L",80.3,54.88],["L",79.99,55.85],["L",79.68,56.79],["L",79.38,57.74],["L",79.06,58.7],["L",78.76,59.64],["L",78.45,60.59],["L",78.14,61.56],["L",77.83,62.51],["L",77.52,63.45],["L",77.21,64.41],["L",76.9,65.36],["L",76.6,66.3],["L",75.67,69.15],["L",75.36,70.12],["L",75.05,71.06],["L",74.74,72.02],["L",74.44,72.97],["L",73.82,74.87],["L",73.51,75.81],["L",73.2,76.77],["L",72.89,77.72],["L",72.58,78.68],["L",72.28,79.62],["L",71.97,80.58],["L",71.66,81.52],["L",71.35,82.47],["L",71.04,83.43],["L",70.42,85.33],["L",70.12,86.28],["L",69.5,88.18],["L",69.19,89.14],["L",68.26,91.99],["L",67.96,92.93],["L",67.34,94.85],["L",67.03,95.79],["L",66.72,96.74],["L",66.41,97.7],["L",66.11,98.64],["L",65.8,99.6],["L",65.49,100.54],["L",65.18,101.5],["L",64.87,102.44],["L",64.25,104.36],["L",63.95,105.3],["L",63.63,106.26],["L",63.33,107.21],["L",63.02,108.15],["L",62.71,109.11],["L",62.4,110.06],["L",62.09,111.02],["L",61.78,111.96],["L",61.48,112.91],["L",61.16,113.87],["L",60.85,114.81],["L",60.53,115.77],["L",60.23,116.7],["L",59.91,117.66],["L",59.6,118.62],["L",59.29,119.57],["L",58.99,120.51],["L",58.68,121.47],["L",58.38,122.42],["L",58.07,123.38],["L",57.77,124.33],["L",57.47,125.27],["L",57.16,126.23],["L",56.86,127.18],["L",56.55,128.14],["L",56.24,129.08],["L",55.93,130.03],["L",55.61,130.99],["L",55.3,131.93],["L",54.98,132.89],["L",54.93,132.04],["L",54.89,131.05],["L",54.86,130.03],["L",54.78,128.05],["L",54.73,127.03],["L",54.69,126.04],["L",54.64,125.05],["L",54.59,124.05],["L",54.54,123.04],["L",54.49,122.05],["L",54.44,121.05],["L",54.39,120.06],["L",54.33,119.05],["L",54.27,118.05],["L",54.15,116.07],["L",54.08,115.05],["L",54.02,114.06],["L",53.95,113.06],["L",53.81,111.08],["L",53.73,110.06],["L",53.66,109.08],["L",53.59,108.07],["L",53.52,107.08],["L",53.38,105.08],["L",53.31,104.09],["L",53.23,103.09],["L",53.09,101.09],["L",53.02,100.11],["L",52.95,99.1],["L",52.88,98.11],["L",52.8,97.1],["L",52.73,96.12],["L",52.52,93.12],["L",52.45,92.13],["L",52.37,91.12],["L",52.3,90.13],["L",52.23,89.13],["L",52.16,88.14],["L",52.09,87.13],["L",52.02,86.13],["L",51.94,85.13],["L",51.8,83.15],["L",51.73,82.14],["L",51.66,81.15],["L",51.59,80.15],["L",51.52,79.16],["L",51.44,78.16],["L",51.37,77.16],["L",51.3,76.15],["L",51.23,75.17],["L",51.16,74.16],["L",51.09,73.17],["L",51.01,72.16],["L",50.94,71.18],["L",50.87,70.18],["L",50.8,69.17],["L",50.73,68.18],["L",50.65,67.18],["L",50.58,66.19],["L",50.51,65.18],["L",50.44,64.18],["L",50.37,63.2],["L",50.3,62.19],["L",50.23,61.2],["L",50.15,60.21],["L",49.94,57.21],["L",49.87,56.2],["L",49.8,55.21],["L",49.72,54.22],["L",49.3,53.6],["Z"],["M",148.42,68.55],["L",148.12,70.51],["L",147.96,71.5],["L",147.81,72.49],["L",147.65,73.48],["L",147.5,74.48],["L",147.34,75.46],["L",147.19,76.44],["L",147.03,77.44],["L",146.73,79.4],["L",146.57,80.4],["L",146.42,81.38],["L",146.26,82.36],["L",146.1,83.37],["L",145.95,84.35],["L",145.8,85.34],["L",145.64,86.33],["L",145.49,87.32],["L",145.33,88.29],["L",145.18,89.3],["L",145.02,90.27],["L",144.87,91.27],["L",144.71,92.25],["L",144.56,93.24],["L",144.4,94.23],["L",144.25,95.22],["L",144.09,96.21],["L",143.79,98.19],["L",143.63,99.17],["L",143.48,100.15],["L",143.32,101.14],["L",143.17,102.13],["L",143.01,103.13],["L",142.86,104.11],["L",142.7,105.09],["L",142.55,106.09],["L",142.39,107.08],["L",142.24,108.05],["L",142.08,109.06],["L",141.78,111.02],["L",141.62,112.01],["L",141.47,113],["L",141.31,113.98],["L",141.16,114.97],["L",141,115.97],["L",140.85,116.95],["L",140.69,117.93],["L",140.54,118.93],["L",140.38,119.91],["L",140.23,120.9],["L",140.07,121.9],["L",139.92,122.88],["L",139.79,123.71],["L",139.66,124.71],["L",139.53,125.68],["L",139.42,126.69],["L",139.32,127.68],["L",139.24,128.69],["L",139.18,129.66],["L",139.13,130.67],["L",139.1,131.67],["L",139.1,132.67],["L",139.12,133.67],["L",139.17,134.66],["L",139.24,135.66],["L",139.34,136.66],["L",139.48,137.65],["L",139.66,138.63],["L",139.88,139.61],["L",140.14,140.57],["L",140.43,141.54],["L",140.76,142.49],["L",141.13,143.41],["L",141.55,144.32],["L",142.01,145.2],["L",142.53,146.06],["L",143.1,146.87],["L",143.73,147.66],["L",144.42,148.39],["L",145.16,149.05],["L",145.94,149.67],["L",146.77,150.24],["L",147.63,150.75],["L",148.52,151.21],["L",149.44,151.61],["L",150.38,151.94],["L",151.34,152.22],["L",152.3,152.44],["L",153.29,152.61],["L",154.3,152.73],["L",155.3,152.81],["L",156.28,152.85],["L",157.28,152.85],["L",158.28,152.82],["L",159.29,152.75],["L",160.28,152.64],["L",161.27,152.51],["L",162.26,152.34],["L",163.23,152.14],["L",164.22,151.91],["L",165.17,151.66],["L",166.15,151.4],["L",167.11,151.12],["L",168.05,150.83],["L",169,150.51],["L",169.94,150.18],["L",170.88,149.84],["L",171.81,149.48],["L",172.74,149.1],["L",173.66,148.71],["L",173.99,148.04],["L",173.65,147.13],["L",173.29,146.18],["L",172.93,145.24],["L",172.58,144.31],["L",172.23,143.37],["L",171.88,142.44],["L",171.52,141.5],["L",171.17,140.56],["L",170.82,139.64],["L",170.46,138.7],["L",170.11,137.77],["L",169.75,136.83],["L",169.4,135.89],["L",168.85,135.6],["L",168.01,136.14],["L",167.14,136.65],["L",166.25,137.11],["L",165.34,137.51],["L",164.4,137.85],["L",163.42,138.12],["L",162.45,138.3],["L",161.46,138.39],["L",160.46,138.38],["L",159.46,138.25],["L",158.51,137.96],["L",157.62,137.51],["L",156.85,136.88],["L",156.22,136.1],["L",155.74,135.23],["L",155.4,134.29],["L",155.15,133.31],["L",154.99,132.33],["L",154.87,131.33],["L",154.81,130.34],["L",154.78,129.33],["L",154.79,128.34],["L",154.82,127.34],["L",154.87,126.35],["L",154.95,125.34],["L",155.04,124.35],["L",155.15,123.35],["L",155.27,122.37],["L",155.4,121.38],["L",155.55,120.38],["L",155.85,118.4],["L",156,117.4],["L",156.14,116.42],["L",156.29,115.43],["L",156.44,114.45],["L",156.59,113.46],["L",156.73,112.47],["L",156.88,111.47],["L",157.03,110.5],["L",157.18,109.51],["L",157.33,108.51],["L",157.47,107.53],["L",157.62,106.53],["L",157.77,105.56],["L",157.92,104.56],["L",158.22,102.58],["L",158.36,101.58],["L",158.51,100.59],["L",158.81,98.63],["L",158.95,97.64],["L",159.1,96.65],["L",159.25,95.65],["L",159.4,94.67],["L",159.55,93.68],["L",159.69,92.7],["L",159.84,91.7],["L",160.14,89.72],["L",160.29,88.72],["L",160.44,87.75],["L",160.59,86.75],["L",160.73,85.77],["L",160.88,84.77],["L",161.03,83.79],["L",161.33,81.81],["L",161.47,80.82],["L",161.62,79.84],["L",161.92,77.86],["L",162.06,76.87],["L",162.36,74.89],["L",162.51,73.89],["L",162.66,72.9],["L",162.81,71.92],["L",162.95,70.92],["L",163.1,69.94],["L",163.25,68.95],["L",163.4,67.97],["L",164.16,67.68],["L",181.15,67.68],["L",181.75,67.21],["L",181.89,66.23],["L",182.04,65.23],["L",182.19,64.24],["L",182.33,63.26],["L",182.48,62.26],["L",182.63,61.28],["L",182.77,60.29],["L",182.92,59.31],["L",183.06,58.31],["L",183.36,56.33],["L",183.5,55.34],["L",183.65,54.36],["L",183.52,53.6],["L",166.53,53.6],["L",165.7,53.44],["L",165.85,52.44],["L",166,51.47],["L",166.14,50.48],["L",166.44,48.5],["L",166.59,47.5],["L",166.73,46.52],["L",166.88,45.54],["L",167.03,44.54],["L",167.18,43.55],["L",167.32,42.57],["L",167.62,40.59],["L",167.76,39.59],["L",167.91,38.61],["L",168.06,37.61],["L",168.2,36.63],["L",168.35,35.63],["L",168.5,34.64],["L",168.65,33.66],["L",168.79,32.67],["L",169.24,29.7],["L",169.38,28.72],["L",169.53,27.72],["L",169.68,26.74],["L",168.69,26.72],["L",155.69,26.72],["L",154.92,26.99],["L",154.77,27.96],["L",154.61,28.97],["L",154.31,30.93],["L",154.16,31.92],["L",154,32.9],["L",153.85,33.91],["L",153.69,34.89],["L",153.54,35.88],["L",153.39,36.86],["L",153.24,37.85],["L",153.08,38.84],["L",152.93,39.83],["L",152.78,40.81],["L",152.62,41.81],["L",152.47,42.8],["L",152.17,44.76],["L",152.01,45.75],["L",151.86,46.75],["L",151.71,47.73],["L",151.55,48.73],["L",151.4,49.72],["L",151.25,50.7],["L",151.1,51.69],["L",150.94,52.67],["L",150.73,53.6],["L",126.02,53.6],["L",125.96,52.79],["L",126.1,51.79],["L",126.26,50.8],["L",126.41,49.82],["L",126.75,47.84],["L",127.11,45.88],["L",127.31,44.89],["L",127.51,43.92],["L",127.72,42.94],["L",127.95,41.97],["L",128.18,40.99],["L",128.43,40.03],["L",128.69,39.06],["L",128.97,38.1],["L",129.27,37.15],["L",129.58,36.19],["L",129.93,35.26],["L",130.35,34.35],["L",130.86,33.49],["L",131.45,32.67],["L",132.11,31.95],["L",132.88,31.29],["L",133.71,30.76],["L",134.61,30.32],["L",135.56,30],["L",136.53,29.77],["L",137.53,29.65],["L",138.54,29.6],["L",139.53,29.63],["L",140.52,29.72],["L",141.51,29.87],["L",142.5,30.06],["L",143.48,30.27],["L",144.46,30.49],["L",144.82,29.85],["L",144.97,28.86],["L",145.11,27.86],["L",145.26,26.87],["L",145.4,25.9],["L",145.55,24.89],["L",145.69,23.92],["L",145.84,22.92],["L",146.12,20.94],["L",146.27,19.95],["L",146.41,18.97],["L",146.56,17.98],["L",146.7,16.99],["L",146.49,16.23],["L",145.52,15.96],["L",144.54,15.75],["L",143.55,15.58],["L",142.56,15.45],["L",141.57,15.34],["L",140.57,15.27],["L",139.57,15.23],["L",138.57,15.2],["L",137.58,15.2],["L",136.58,15.24],["L",135.59,15.31],["L",134.58,15.42],["L",133.6,15.56],["L",132.62,15.75],["L",131.64,15.97],["L",130.68,16.24],["L",129.72,16.55],["L",128.79,16.9],["L",127.86,17.28],["L",126.96,17.71],["L",126.07,18.17],["L",125.21,18.68],["L",124.38,19.24],["L",123.59,19.84],["L",122.82,20.49],["L",122.09,21.16],["L",121.39,21.88],["L",120.73,22.62],["L",120.08,23.4],["L",119.48,24.19],["L",118.91,25],["L",118.35,25.85],["L",117.83,26.69],["L",117.33,27.56],["L",116.85,28.45],["L",116.4,29.33],["L",115.98,30.24],["L",115.59,31.16],["L",115.21,32.1],["L",114.87,33.02],["L",114.54,33.97],["L",114.23,34.91],["L",113.94,35.87],["L",113.66,36.83],["L",113.4,37.81],["L",113.16,38.76],["L",112.92,39.74],["L",112.71,40.73],["L",112.5,41.7],["L",112.31,42.67],["L",111.95,44.65],["L",111.79,45.63],["L",111.49,47.61],["L",111.21,49.59],["L",111.07,50.59],["L",110.79,52.57],["L",110.65,53.55],["L",109.69,53.6],["L",100.69,53.6],["L",99.89,53.82],["L",99.74,54.82],["L",99.59,55.8],["L",99.45,56.79],["L",99.3,57.79],["L",99.15,58.78],["L",99.01,59.78],["L",98.86,60.76],["L",98.72,61.75],["L",98.57,62.74],["L",98.42,63.72],["L",98.28,64.71],["L",98.13,65.69],["L",97.99,66.69],["L",97.84,67.68],["L",108.57,67.68],["L",108.61,68.51],["L",108.47,69.5],["L",108.33,70.48],["L",108.2,71.49],["L",107.92,73.45],["L",107.79,74.44],["L",107.51,76.44],["L",107.38,77.42],["L",107.1,79.4],["L",106.97,80.39],["L",106.69,82.37],["L",106.56,83.36],["L",106.42,84.36],["L",106.28,85.34],["L",106.15,86.35],["L",105.87,88.33],["L",105.74,89.31],["L",105.6,90.31],["L",105.46,91.29],["L",105.33,92.29],["L",105.19,93.28],["L",105.05,94.26],["L",104.92,95.26],["L",104.64,97.24],["L",104.51,98.23],["L",104.37,99.23],["L",104.23,100.21],["L",104.1,101.2],["L",103.96,102.19],["L",103.82,103.19],["L",103.69,104.18],["L",103.55,105.16],["L",103.41,106.16],["L",103.28,107.15],["L",103.14,108.12],["L",103,109.13],["L",102.87,110.11],["L",102.73,111.11],["L",102.59,112.1],["L",102.46,113.09],["L",102.18,115.07],["L",102.05,116.05],["L",101.91,117.05],["L",101.77,118.04],["L",101.64,119.03],["L",101.5,120.03],["L",101.36,121.02],["L",101.23,122],["L",101.09,123],["L",100.95,123.98],["L",100.82,124.97],["L",100.68,125.97],["L",100.54,126.96],["L",100.41,127.95],["L",100.27,128.93],["L",100.13,129.94],["L",100,130.92],["L",99.72,132.9],["L",99.59,133.89],["L",99.45,134.87],["L",99.31,135.88],["L",99.18,136.87],["L",99.04,137.85],["L",98.9,138.84],["L",98.77,139.83],["L",98.63,140.83],["L",98.49,141.82],["L",98.36,142.81],["L",98.22,143.79],["L",98.08,144.79],["L",97.95,145.78],["L",97.67,147.76],["L",97.54,148.75],["L",97.4,149.75],["L",97.26,150.73],["L",97.73,151.2],["L",111.73,151.2],["L",112.72,151.18],["L",112.85,150.2],["L",112.99,149.22],["L",113.12,148.23],["L",113.25,147.23],["L",113.38,146.24],["L",113.52,145.24],["L",113.65,144.26],["L",113.78,143.27],["L",113.92,142.28],["L",114.05,141.29],["L",114.18,140.28],["L",114.32,139.3],["L",114.45,138.31],["L",114.58,137.31],["L",114.72,136.32],["L",114.85,135.34],["L",115.11,133.36],["L",115.25,132.35],["L",115.38,131.37],["L",115.64,129.39],["L",115.78,128.41],["L",115.91,127.41],["L",116.04,126.42],["L",116.18,125.43],["L",116.31,124.43],["L",116.44,123.45],["L",116.57,122.46],["L",116.71,121.46],["L",116.97,119.48],["L",117.11,118.49],["L",117.37,116.51],["L",117.51,115.51],["L",117.9,112.54],["L",118.04,111.55],["L",118.17,110.56],["L",118.3,109.56],["L",118.43,108.58],["L",118.57,107.57],["L",118.7,106.6],["L",118.83,105.61],["L",118.97,104.62],["L",119.1,103.62],["L",119.23,102.63],["L",119.37,101.64],["L",119.5,100.64],["L",119.63,99.66],["L",119.77,98.66],["L",119.9,97.67],["L",120.03,96.69],["L",120.16,95.69],["L",120.3,94.7],["L",120.43,93.71],["L",120.56,92.71],["L",120.7,91.73],["L",120.83,90.74],["L",120.96,89.73],["L",121.09,88.76],["L",121.23,87.76],["L",121.36,86.76],["L",121.49,85.78],["L",121.63,84.78],["L",121.76,83.8],["L",121.89,82.8],["L",122.02,81.81],["L",122.16,80.82],["L",122.29,79.82],["L",122.42,78.84],["L",122.56,77.86],["L",122.82,75.86],["L",122.96,74.87],["L",123.09,73.89],["L",123.22,72.89],["L",123.35,71.91],["L",123.49,70.9],["L",123.62,69.91],["L",123.75,68.93],["L",123.89,67.93],["L",124.66,67.68],["L",148.43,67.68],["Z"]]},{fontSize:80,fontWeight:"normal",fontFamily:"Arial",fontStyle:"normal",lineHeight:1.3,text:"双击修改文字",charSpacing:3,textAlign:"justify-center",styles:[],pathStartOffset:0,pathSide:"left",pathAlign:"baseline",underline:!1,overline:!1,linethrough:!1,textBackgroundColor:"",direction:"ltr",minWidth:20,splitByGrapheme:!0,id:"BijrkWb91U",name:"textbox",editable:!0,color:"rgb(0,0,0)",padding:0,fill:"rgb(0,0,0)",selectable:!0,evented:!0,fillType:0,lockMovementX:!1,lockMovementY:!1,objectCaching:!1,transparentCorners:!1,hasBorders:!0,radius:66,globalCompositeOperation:"source-over",type:"Textbox",version:"6.0.0-beta12",originX:"left",originY:"top",left:154.0756,top:53.0588,width:481.2,height:90.4,stroke:null,strokeWidth:1,strokeDashArray:null,strokeLineCap:"butt",strokeDashOffset:0,strokeLineJoin:"miter",strokeUniform:!1,strokeMiterLimit:4,scaleX:1,scaleY:1,angle:0,flipX:!1,flipY:!1,opacity:1,shadow:null,visible:!1,backgroundColor:"",fillRule:"nonzero",paintFirst:"fill",skewX:0,skewY:0},{fontSize:80,fontWeight:"normal",fontFamily:"Arial",fontStyle:"normal",lineHeight:1.3,text:"双击修改文字",charSpacing:3,textAlign:"justify-center",styles:[],pathStartOffset:0,pathSide:"left",pathAlign:"baseline",underline:!1,overline:!1,linethrough:!1,textBackgroundColor:"",direction:"ltr",id:"yuIEbg5-5j",name:"textbox",editable:!0,color:"rgb(0,0,0)",padding:0,fill:"rgb(0,0,0)",selectable:!0,evented:!0,fillType:0,lockMovementX:!1,lockMovementY:!1,objectCaching:!1,transparentCorners:!1,hasBorders:!0,radius:331,curvature:30.211480362537763,globalCompositeOperation:"source-over",type:"ArcText",version:"6.0.0-beta12",originX:"left",originY:"top",left:0,top:.5,width:533.8893,height:165.355,stroke:null,strokeWidth:1,strokeDashArray:null,strokeLineCap:"butt",strokeDashOffset:0,strokeLineJoin:"miter",strokeUniform:!1,strokeMiterLimit:4,scaleX:.6917,scaleY:.6917,angle:0,flipX:!1,flipY:!1,opacity:1,shadow:null,visible:!0,backgroundColor:"",fillRule:"nonzero",paintFirst:"fill",skewX:0,skewY:0},{fontSize:60,fontWeight:"normal",fontFamily:"Arial",fontStyle:"normal",lineHeight:12,text:"双击123修改abc文字",charSpacing:3,textAlign:"right",styles:[],pathStartOffset:0,pathSide:"left",pathAlign:"baseline",underline:!1,overline:!1,linethrough:!1,textBackgroundColor:"",direction:"rtl",id:"M_VAPTvm1m",name:"textbox",editable:!0,color:"rgb(0,0,0)",padding:0,fill:"rgb(0,0,0)",selectable:!0,evented:!0,fillType:0,lockMovementX:!1,lockMovementY:!1,objectCaching:!1,transparentCorners:!1,hasBorders:!0,radius:66,globalCompositeOperation:"source-over",type:"VerticalText",version:"6.0.0-beta12",originX:"left",originY:"top",left:673.2276,top:36.0343,width:67.8,height:562.0857,stroke:null,strokeWidth:1,strokeDashArray:null,strokeLineCap:"butt",strokeDashOffset:0,strokeLineJoin:"miter",strokeUniform:!1,strokeMiterLimit:4,scaleX:1,scaleY:1,angle:0,flipX:!1,flipY:!1,opacity:1,shadow:null,visible:!0,backgroundColor:"",fillRule:"nonzero",paintFirst:"fill",skewX:0,skewY:0}],workSpace:{fillType:0,left:0,top:0,angle:0,scaleX:1,scaleY:1,color:"#ffffff",fill:"#ffffff",backgroundColor:"rgba(0,0,0,0)"},zoom:.4298950822503346,width:456.97508743145806,height:274.18505245887485}],_u=()=>{const[e]=yu(),t=e.getObjects().filter((e=>e.id===bh))[0],n=e.getObjects().filter((e=>!Mh.includes(e.id))),r=hu(n);let i=0,o=0,s=e.getCenterPoint(),a=e.getWidth(),l=e.getHeight();return r&&(s=new Ve(r.centerX,r.centerY),a=r.width,l=r.height,i=r.centerX-r.width/2,o=r.centerY-r.height/2),t&&(s=new Ve(t.left+t.width/2,t.top+t.height/2),a=t.width,l=t.height,i=t.left,o=t.top),{width:a,height:l,left:i,top:o,centerPoint:s}},xu=()=>{const e=tl(),{zoom:t,wrapperRef:n,scalePercentage:r}=Nt(e),i=I((()=>Math.round(100*t.value)+"%")),o=()=>{const[t]=yu();if(!t)return;const{zoom:n}=Nt(e),i=t.getObjects().filter((e=>!Mh.includes(e.id))),o=hu(i),{width:s,height:a,centerPoint:l}=_u();o&&(n.value=Math.min(t.getWidth()/s,t.getHeight()/a)*r.value/100,t.setZoom(n.value),t.absolutePan(new Ve(l.x,l.y).scalarMultiply(n.value).subtract(t.getCenterPoint()),!0))};return{canvasScalePercentage:i,setCanvasScalePercentage:e=>{const[n]=yu(),{centerPoint:r}=_u();n.zoomToPoint(r,e/100),n.absolutePan(new Ve(r.x,r.y).scalarMultiply(n.getZoom()).subtract(n.getCenterPoint())),t.value=n.getZoom()},setCanvasTransform:o,setWorkSpace:(e,t)=>{const[n]=yu();if(!n)return;const r=tl(),i=Ou(),{scalePercentage:o,zoom:s,clip:a}=Nt(r),{currentTemplate:l}=Nt(i),c=o.value/100;let h=1;const u=l.value.width/l.value.zoom,d=l.value.height/l.value.zoom;return(ed/t?u/(e*c):d/(t*c)),s.value=1/h,a.value=l.value.clip,n.setZoom(s.value),{workWidth:u,workHeight:d}},scaleCanvas:e=>{const[n]=yu();let r=Math.round(100*t.value);"+"===e&&r<=500&&(r+=5),"-"===e&&r>=10&&(r-=5);const{centerPoint:i}=_u();n.zoomToPoint(i,r/100),n.absolutePan(new Ve(i.x,i.y).scalarMultiply(n.getZoom()).subtract(n.getCenterPoint()),!0),t.value=n.getZoom()},resetCanvas:()=>{o()},setCanvasSize:()=>{const[e]=yu(),{width:t,height:r}=ja(n.value);e.setDimensions({width:t.value,height:r.value})}}};function Cu(e){return new Worker(""+new URL("pixi-_8LqhXwz.js",import.meta.url).href,{name:null==e?void 0:e.name})}let Su;const ju=()=>{const e=window.devicePixelRatio,t=document.createElement("canvas");t.style.width="800px",t.style.height="600px",document.body.appendChild(t),Su=new Cu;const n=t.transferControlToOffscreen();Su.postMessage({width:800,height:600,resolution:e,view:n},[n]),Eu(Su),document.body.removeChild(t)},Mu=(e,t)=>{if(t)for(let n=0;n{Ou();const[t]=yu();e.addEventListener("message",(e=>g(void 0,null,(function*(){const n=e.data,r=t.getObjects(),i=Mu(n.id,r);i instanceof it&&(i.originSrc=i.getSrc(),yield i.setSrc(n.res),i.dirty=!0,t.renderAll())}))))},Tu=()=>[Su],Ou=Dt("Templates",{state:()=>({templateId:"",templates:bu,templateIndex:0,templateCanvas:new Map}),getters:{currentTemplate:e=>e.templates[e.templateIndex],currentTemplateWidth(e){const t=e.templates[e.templateIndex];return t.width/t.zoom},currentTemplateHeight(e){const t=e.templates[e.templateIndex];return t.height/t.zoom},currentTemplateElement(e){const t=e.templates[e.templateIndex],[n]=yu(),r=n.getActiveObject();return t.objects.filter((e=>e.id===r.id))[0]}},actions:{renderTemplate(){return g(this,null,(function*(){const[e]=yu(),{initCommon:t}=uu(),{setCanvasSize:n}=xu();yield e.loadFromJSON(this.currentTemplate),this.setObjectFilter(this.currentTemplate.objects),n(),t()}))},renderElement(){return g(this,null,(function*(){const[e]=yu(),{initCommon:t}=uu(),{setCanvasSize:n}=xu(),r=wu();e.discardActiveObject(),r.setCanvasObject(void 0),yield e.loadFromJSON(this.currentTemplate),n(),t()}))},modifedElement(e,t){const[n]=yu(),{addHistorySnapshot:r}=fu(),i=n._objects.findIndex((t=>t.id===e.id));r({type:du.MODIFY,index:i,target:e.toObject(Oh),tid:this.templateId}),e.set(u({},t)),t.filters&&e.applyFilters(),n.setActiveObject(e),n.renderAll()},addElement(e){const[t]=yu(),{addHistorySnapshot:n}=fu();n({type:du.ADD,index:t._objects.indexOf(e),target:e.toObject(Oh),tid:this.templateId})},groupElement(e,t){const[n]=yu(),{addHistorySnapshot:r}=fu();r({type:du.GROUP,index:n._objects.indexOf(e),target:e.toObject(Oh),objects:t.map((e=>e.toObject(Oh))),tid:this.templateId})},ungroupElement(){},deleteElement(e){const[t]=yu(),{addHistorySnapshot:n}=fu(),r={type:du.DELETE,index:t._objects.indexOf(e),target:e.toObject(Oh),tid:this.templateId};t.remove(e),t.renderAll(),n(r)},setClip(e){fu(),this.templates.forEach((t=>{t.clip=e}))},setSize(e,t,n){const{initCommon:r}=uu();fu(),this.templates.forEach((r=>{r.width=e,r.height=t,r.zoom=n,r.objects.filter((e=>e.id===bh)).map((r=>{r.width=e/n,r.height=t/n}))})),r()},setObjectFilter(e){e.forEach((e=>{e.type.toLowerCase()===ol.IMAGE&&this.setImageFilter(e),e.type.toLowerCase()===ol.GROUP&&this.setObjectFilter(e.objects)}))},setImageFilter(e){if(!e.pixiFilters)return;const[t]=Tu();t.postMessage({id:e.id,type:"filter",src:e.src,pixiFilters:JSON.stringify(e.pixiFilters),width:e.width,height:e.height})},setImageMask(e){if(!e.mask)return;const[t]=Tu();t.postMessage({id:e.id,type:"mask",src:e.src,mask:JSON.stringify(e.mask),width:e.width,height:e.height})},changeTemplate(e){return g(this,null,(function*(){const{setCanvasTransform:t}=xu(),n=Array.isArray(e)?e:[e];this.templates=n,this.templateIndex=0,yield this.renderTemplate(),t()}))},setTemplates(e){this.templates=e},setTemplateId(e){this.templateId=e},setTemplateIndex(e){this.templateIndex=e},addTemplate(e){return g(this,null,(function*(){const t=Array.isArray(e)?e:[e],n=this.templateIndex+1;this.templates.splice(n,0,...t),this.templateIndex=n,yield this.renderTemplate()}))},updateTemplate(e){fu();const t=this.templateIndex;this.templates[t]=u(u({},this.templates[t]),e)},deleteTemplate(e){fu();const t=Array.isArray(e)?e:[e],n=[];for(let o=0;oe.id===t[o]));n.push(e)}let r=Math.min(...n);const i=this.templates.length-t.length-1;r>i&&(r=i),this.templateIndex=r,this.templates=this.templates.filter((e=>!t.includes(e.id)))},clearTemplate(){const e=this.templates[this.templateIndex].objects.filter((e=>e.id===bh));this.templates[this.templateIndex].objects=e,this.renderTemplate()},updateWorkSpace(e){const t=this.templateIndex;this.templates[t]=u(u({},this.templates[t]),e)},updateElement(e){fu();const{id:t,props:n}=e,r="string"==typeof t?[t]:t;if(!r)return;const i=this.templates[this.templateIndex].objects.map((e=>r.includes(e.id)?u(u({},e),n):e));this.templates[this.templateIndex].objects=i},setBackgroundImage(e){this.currentTemplate.backgroundImage=e}}}),Au="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Pu=Object.keys,Iu=Array.isArray;function Ru(e,t){return"object"!=typeof t||Pu(t).forEach((function(n){e[n]=t[n]})),e}"undefined"==typeof Promise||Au.Promise||(Au.Promise=Promise);const Bu=Object.getPrototypeOf,Wu={}.hasOwnProperty;function Hu(e,t){return Wu.call(e,t)}function zu(e,t){"function"==typeof t&&(t=t(Bu(e))),("undefined"==typeof Reflect?Pu:Reflect.ownKeys)(t).forEach((n=>{Nu(e,n,t[n])}))}const Du=Object.defineProperty;function Nu(e,t,n,r){Du(e,t,Ru(n&&Hu(n,"get")&&"function"==typeof n.get?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},r))}function Fu(e){return{from:function(t){return e.prototype=Object.create(t.prototype),Nu(e.prototype,"constructor",e),{extend:zu.bind(null,e.prototype)}}}}const Vu=Object.getOwnPropertyDescriptor;function Uu(e,t){let n;return Vu(e,t)||(n=Bu(e))&&Uu(n,t)}const $u=[].slice;function Yu(e,t,n){return $u.call(e,t,n)}function Xu(e,t){return t(e)}function Zu(e){if(!e)throw new Error("Assertion Failed")}function Gu(e){Au.setImmediate?setImmediate(e):setTimeout(e,0)}function qu(e,t){return e.reduce(((e,n,r)=>{var i=t(n,r);return i&&(e[i[0]]=i[1]),e}),{})}function Ku(e,t){if("string"==typeof t&&Hu(e,t))return e[t];if(!t)return e;if("string"!=typeof t){for(var n=[],r=0,i=t.length;r["Int","Uint","Float"].map((t=>t+e+"Array")))))).filter((e=>Au[e])),rd=nd.map((e=>Au[e]));qu(nd,(e=>[e,!0]));let id=null;function od(e){id="undefined"!=typeof WeakMap&&new WeakMap;const t=sd(e);return id=null,t}function sd(e){if(!e||"object"!=typeof e)return e;let t=id&&id.get(e);if(t)return t;if(Iu(e)){t=[],id&&id.set(e,t);for(var n=0,r=e.length;n=0)t=e;else{const n=Bu(e);for(var i in t=n===Object.prototype?{}:Object.create(n),id&&id.set(e,t),e)Hu(e,i)&&(t[i]=sd(e[i]))}return t}const{toString:ad}={};function ld(e){return ad.call(e).slice(8,-1)}const cd="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator",hd="symbol"==typeof cd?function(e){var t;return null!=e&&(t=e[cd])&&t.apply(e)}:function(){return null},ud={};function dd(e){var t,n,r,i;if(1===arguments.length){if(Iu(e))return e.slice();if(this===ud&&"string"==typeof e)return[e];if(i=hd(e)){for(n=[];!(r=i.next()).done;)n.push(r.value);return n}if(null==e)return[e];if("number"==typeof(t=e.length)){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}const fd="undefined"!=typeof Symbol?e=>"AsyncFunction"===e[Symbol.toStringTag]:()=>!1;var pd="undefined"!=typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function gd(e,t){pd=e,kd=t}var kd=()=>!0;const md=!new Error("").stack;function vd(){if(md)try{throw vd.arguments,new Error}catch(e){return e}return new Error}function yd(e,t){var n=e.stack;return n?(t=t||0,0===n.indexOf(e.name)&&(t+=(e.name+e.message).split("\n").length),n.split("\n").slice(t).filter(kd).map((e=>"\n"+e)).join("")):""}var Ld=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],wd=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(Ld),bd={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function _d(e,t){this._e=vd(),this.name=e,this.message=t}function xd(e,t){return e+". Errors: "+Object.keys(t).map((e=>t[e].toString())).filter(((e,t,n)=>n.indexOf(e)===t)).join("\n")}function Cd(e,t,n,r){this._e=vd(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=xd(e,t)}function Sd(e,t){this._e=vd(),this.name="BulkError",this.failures=Object.keys(t).map((e=>t[e])),this.failuresByPos=t,this.message=xd(e,t)}Fu(_d).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+yd(this._e,2))}},toString:function(){return this.name+": "+this.message}}),Fu(Cd).from(_d),Fu(Sd).from(_d);var jd=wd.reduce(((e,t)=>(e[t]=t+"Error",e)),{});const Md=_d;var Ed=wd.reduce(((e,t)=>{var n=t+"Error";function r(e,r){this._e=vd(),this.name=n,e?"string"==typeof e?(this.message=`${e}${r?"\n "+r:""}`,this.inner=r||null):"object"==typeof e&&(this.message=`${e.name} ${e.message}`,this.inner=e):(this.message=bd[t]||n,this.inner=null)}return Fu(r).from(Md),e[t]=r,e}),{});Ed.Syntax=SyntaxError,Ed.Type=TypeError,Ed.Range=RangeError;var Td=Ld.reduce(((e,t)=>(e[t+"Error"]=Ed[t],e)),{}),Od=wd.reduce(((e,t)=>(-1===["Syntax","Type","Range"].indexOf(t)&&(e[t+"Error"]=Ed[t]),e)),{});function Ad(){}function Pd(e){return e}function Id(e,t){return null==e||e===Pd?t:function(n){return t(e(n))}}function Rd(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function Bd(e,t){return e===Ad?t:function(){var n=e.apply(this,arguments);void 0!==n&&(arguments[0]=n);var r=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?Rd(r,this.onsuccess):r),i&&(this.onerror=this.onerror?Rd(i,this.onerror):i),void 0!==o?o:n}}function Wd(e,t){return e===Ad?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?Rd(n,this.onsuccess):n),r&&(this.onerror=this.onerror?Rd(r,this.onerror):r)}}function Hd(e,t){return e===Ad?t:function(n){var r=e.apply(this,arguments);Ru(n,r);var i=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var s=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?Rd(i,this.onsuccess):i),o&&(this.onerror=this.onerror?Rd(o,this.onerror):o),void 0===r?void 0===s?void 0:s:Ru(r,s)}}function zd(e,t){return e===Ad?t:function(){return!1!==t.apply(this,arguments)&&e.apply(this,arguments)}}function Dd(e,t){return e===Ad?t:function(){var n=e.apply(this,arguments);if(n&&"function"==typeof n.then){for(var r=this,i=arguments.length,o=new Array(i);i--;)o[i]=arguments[i];return n.then((function(){return t.apply(r,o)}))}return t.apply(this,arguments)}}Od.ModifyError=Cd,Od.DexieError=_d,Od.BulkError=Sd;var Nd={};const Fd=100,[Vd,Ud,$d]="undefined"==typeof Promise?[]:(()=>{let e=Promise.resolve();if("undefined"==typeof crypto||!crypto.subtle)return[e,Bu(e),e];const t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,Bu(t),e]})(),Yd=Ud&&Ud.then,Xd=Vd&&Vd.constructor,Zd=!!$d;var Gd=!1,qd=$d?()=>{$d.then(Lf)}:Au.setImmediate?setImmediate.bind(null,Lf):Au.MutationObserver?()=>{var e=document.createElement("div");new MutationObserver((()=>{Lf(),e=null})).observe(e,{attributes:!0}),e.setAttribute("i","1")}:()=>{setTimeout(Lf,0)},Kd=function(e,t){af.push([e,t]),Qd&&(qd(),Qd=!1)},Jd=!0,Qd=!0,ef=[],tf=[],nf=null,rf=Pd,of={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:$f,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach((e=>{try{$f(e[0],e[1])}catch(t){}}))}},sf=of,af=[],lf=0,cf=[];function hf(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=Ad,this._lib=!1;var t=this._PSD=sf;if(pd&&(this._stackHolder=vd(),this._prev=null,this._numPrev=0),"function"!=typeof e){if(e!==Nd)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&pf(this,this._value))}this._state=null,this._value=null,++t.ref,ff(this,e)}const uf={get:function(){var e=sf,t=Tf;function n(n,r){var i=!e.global&&(e!==sf||t!==Tf);const o=i&&!If();var s=new hf(((t,s)=>{kf(this,new df(Ff(n,e,i,o),Ff(r,e,i,o),t,s,e))}));return pd&&yf(s,this),s}return n.prototype=Nd,n},set:function(e){Nu(this,"then",e&&e.prototype===Nd?uf:{get:function(){return e},set:uf.set})}};function df(e,t,n,r,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r,this.psd=i}function ff(e,t){try{t((t=>{if(null===e._state){if(t===e)throw new TypeError("A promise cannot be resolved with itself.");var n=e._lib&&wf();t&&"function"==typeof t.then?ff(e,((e,n)=>{t instanceof hf?t._then(e,n):t.then(e,n)})):(e._state=!0,e._value=t,gf(e)),n&&bf()}}),pf.bind(null,e))}catch(n){pf(e,n)}}function pf(e,t){if(tf.push(t),null===e._state){var n=e._lib&&wf();t=rf(t),e._state=!1,e._value=t,pd&&null!==t&&"object"==typeof t&&!t._promise&&function(){try{(()=>{var n=Uu(t,"stack");t._promise=e,Nu(t,"stack",{get:()=>Gd?n&&(n.get?n.get.apply(t):n.value):e.stack})}).apply(null,void 0)}catch(n){}}(),r=e,ef.some((e=>e._value===r._value))||ef.push(r),gf(e),n&&bf()}var r}function gf(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n{0==--lf&&_f()}),[]))}function kf(e,t){if(null!==e._state){var n=e._state?t.onFulfilled:t.onRejected;if(null===n)return(e._state?t.resolve:t.reject)(e._value);++t.psd.ref,++lf,Kd(mf,[n,e,t])}else e._listeners.push(t)}function mf(e,t,n){try{nf=t;var r,i=t._value;t._state?r=e(i):(tf.length&&(tf=[]),r=e(i),-1===tf.indexOf(i)&&function(e){for(var t=ef.length;t;)if(ef[--t]._value===e._value)return void ef.splice(t,1)}(t)),n.resolve(r)}catch(o){n.reject(o)}finally{nf=null,0==--lf&&_f(),--n.psd.ref||n.psd.finalize()}}function vf(e,t,n){if(t.length===n)return t;var r="";if(!1===e._state){var i,o,s=e._value;null!=s?(i=s.name||"Error",o=s.message||s,r=yd(s,0)):(i=s,o=""),t.push(i+(o?": "+o:"")+r)}return pd&&((r=yd(e._stackHolder,2))&&-1===t.indexOf(r)&&t.push(r),e._prev&&vf(e._prev,t,n)),t}function yf(e,t){var n=t?t._numPrev+1:0;n<100&&(e._prev=t,e._numPrev=n)}function Lf(){wf()&&bf()}function wf(){var e=Jd;return Jd=!1,Qd=!1,e}function bf(){var e,t,n;do{for(;af.length>0;)for(e=af,af=[],n=e.length,t=0;t0);Jd=!0,Qd=!0}function _f(){var e=ef;ef=[],e.forEach((e=>{e._PSD.onunhandled.call(null,e._value,e)}));for(var t=cf.slice(0),n=t.length;n;)t[--n]()}function xf(e){return new hf(Nd,!1,e)}function Cf(e,t){var n=sf;return function(){var r=wf(),i=sf;try{return Hf(n,!0),e.apply(this,arguments)}catch(o){t&&t(o)}finally{Hf(i,!1),r&&bf()}}}zu(hf.prototype,{then:uf,_then:function(e,t){kf(this,new df(null,null,e,t,sf))},catch:function(e){if(1===arguments.length)return this.then(null,e);var t=arguments[0],n=arguments[1];return"function"==typeof t?this.then(null,(e=>e instanceof t?n(e):xf(e))):this.then(null,(e=>e&&e.name===t?n(e):xf(e)))},finally:function(e){return this.then((t=>(e(),t)),(t=>(e(),xf(t))))},stack:{get:function(){if(this._stack)return this._stack;try{Gd=!0;var e=vf(this,[],20).join("\nFrom previous: ");return null!==this._state&&(this._stack=e),e}finally{Gd=!1}}},timeout:function(e,t){return e<1/0?new hf(((n,r)=>{var i=setTimeout((()=>r(new Ed.Timeout(t))),e);this.then(n,r).finally(clearTimeout.bind(null,i))})):this}}),"undefined"!=typeof Symbol&&Symbol.toStringTag&&Nu(hf.prototype,Symbol.toStringTag,"Dexie.Promise"),of.env=zf(),zu(hf,{all:function(){var e=dd.apply(null,arguments).map(Rf);return new hf((function(t,n){0===e.length&&t([]);var r=e.length;e.forEach(((i,o)=>hf.resolve(i).then((n=>{e[o]=n,--r||t(e)}),n)))}))},resolve:e=>{if(e instanceof hf)return e;if(e&&"function"==typeof e.then)return new hf(((t,n)=>{e.then(t,n)}));var t=new hf(Nd,!0,e);return yf(t,nf),t},reject:xf,race:function(){var e=dd.apply(null,arguments).map(Rf);return new hf(((t,n)=>{e.map((e=>hf.resolve(e).then(t,n)))}))},PSD:{get:()=>sf,set:e=>sf=e},totalEchoes:{get:()=>Tf},newPSD:Af,usePSD:Df,scheduler:{get:()=>Kd,set:e=>{Kd=e}},rejectionMapper:{get:()=>rf,set:e=>{rf=e}},follow:(e,t)=>new hf(((n,r)=>Af(((t,n)=>{var r=sf;r.unhandleds=[],r.onunhandled=n,r.finalize=Rd((function(){var e;e=()=>{0===this.unhandleds.length?t():n(this.unhandleds[0])},cf.push((function t(){e(),cf.splice(cf.indexOf(t),1)})),++lf,Kd((()=>{0==--lf&&_f()}),[])}),r.finalize),e()}),t,n,r)))}),Xd&&(Xd.allSettled&&Nu(hf,"allSettled",(function(){const e=dd.apply(null,arguments).map(Rf);return new hf((t=>{0===e.length&&t([]);let n=e.length;const r=new Array(n);e.forEach(((e,i)=>hf.resolve(e).then((e=>r[i]={status:"fulfilled",value:e}),(e=>r[i]={status:"rejected",reason:e})).then((()=>--n||t(r)))))}))})),Xd.any&&"undefined"!=typeof AggregateError&&Nu(hf,"any",(function(){const e=dd.apply(null,arguments).map(Rf);return new hf(((t,n)=>{0===e.length&&n(new AggregateError([]));let r=e.length;const i=new Array(r);e.forEach(((e,o)=>hf.resolve(e).then((e=>t(e)),(e=>{i[o]=e,--r||n(new AggregateError(i))}))))}))})));const Sf={awaits:0,echoes:0,id:0};var jf=0,Mf=[],Ef=0,Tf=0,Of=0;function Af(e,t,n,r){var i=sf,o=Object.create(i);o.parent=i,o.ref=0,o.global=!1,o.id=++Of;var s=of.env;o.env=Zd?{Promise:hf,PromiseProp:{value:hf,configurable:!0,writable:!0},all:hf.all,race:hf.race,allSettled:hf.allSettled,any:hf.any,resolve:hf.resolve,reject:hf.reject,nthen:Vf(s.nthen,o),gthen:Vf(s.gthen,o)}:{},t&&Ru(o,t),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var a=Df(o,e,n,r);return 0===o.ref&&o.finalize(),a}function Pf(){return Sf.id||(Sf.id=++jf),++Sf.awaits,Sf.echoes+=Fd,Sf.id}function If(){return!!Sf.awaits&&(0==--Sf.awaits&&(Sf.id=0),Sf.echoes=Sf.awaits*Fd,!0)}function Rf(e){return Sf.echoes&&e&&e.constructor===Xd?(Pf(),e.then((e=>(If(),e)),(e=>(If(),Yf(e))))):e}function Bf(e){++Tf,Sf.echoes&&0!=--Sf.echoes||(Sf.echoes=Sf.id=0),Mf.push(sf),Hf(e,!0)}function Wf(){var e=Mf[Mf.length-1];Mf.pop(),Hf(e,!1)}function Hf(e,t){var n=sf;if((t?!Sf.echoes||Ef++&&e===sf:!Ef||--Ef&&e===sf)||Nf(t?Bf.bind(null,e):Wf),e!==sf&&(sf=e,n===of&&(of.env=zf()),Zd)){var r=of.env.Promise,i=e.env;Ud.then=i.nthen,r.prototype.then=i.gthen,(n.global||e.global)&&(Object.defineProperty(Au,"Promise",i.PromiseProp),r.all=i.all,r.race=i.race,r.resolve=i.resolve,r.reject=i.reject,i.allSettled&&(r.allSettled=i.allSettled),i.any&&(r.any=i.any))}}function zf(){var e=Au.Promise;return Zd?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(Au,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:Ud.then,gthen:e.prototype.then}:{}}function Df(e,t,n,r,i){var o=sf;try{return Hf(e,!0),t(n,r,i)}finally{Hf(o,!1)}}function Nf(e){Yd.call(Vd,e)}function Ff(e,t,n,r){return"function"!=typeof e?e:function(){var i=sf;n&&Pf(),Hf(t,!0);try{return e.apply(this,arguments)}finally{Hf(i,!1),r&&Nf(If)}}}function Vf(e,t){return function(n,r){return e.call(this,Ff(n,t),Ff(r,t))}}-1===(""+Yd).indexOf("[native code]")&&(Pf=If=Ad);const Uf="unhandledrejection";function $f(e,t){var n;try{n=t.onuncatched(e)}catch(o){}if(!1!==n)try{var r,i={promise:t,reason:e};if(Au.document&&document.createEvent?((r=document.createEvent("Event")).initEvent(Uf,!0,!0),Ru(r,i)):Au.CustomEvent&&Ru(r=new CustomEvent(Uf,{detail:i}),i),r&&Au.dispatchEvent&&(dispatchEvent(r),!Au.PromiseRejectionEvent&&Au.onunhandledrejection))try{Au.onunhandledrejection(r)}catch(o){}pd&&r&&r.defaultPrevented}catch(o){}}var Yf=hf.reject;function Xf(e,t,n,r){if(e.idbdb&&(e._state.openComplete||sf.letThrough||e._vip)){var i=e._createTransaction(t,n,e._dbSchema);try{i.create(),e._state.PR1398_maxLoop=3}catch(o){return o.name===jd.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(e._close(),e.open().then((()=>Xf(e,t,n,r)))):Yf(o)}return i._promise(t,((e,t)=>Af((()=>(sf.trans=i,r(e,t,i)))))).then((e=>i._completion.then((()=>e))))}if(e._state.openComplete)return Yf(new Ed.DatabaseClosed(e._state.dbOpenError));if(!e._state.isBeingOpened){if(!e._options.autoOpen)return Yf(new Ed.DatabaseClosed);e.open().catch(Ad)}return e._state.dbReadyPromise.then((()=>Xf(e,t,n,r)))}const Zf="3.2.7",Gf=String.fromCharCode(65535),qf=-1/0,Kf="Invalid key provided. Keys must be of type string, number, Date or Array.",Jf="String expected.",Qf=[],ep="undefined"!=typeof navigator&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),tp=ep,np=ep,rp=e=>!/(dexie\.js|dexie\.min\.js)/.test(e),ip="__dbnames",op="readonly",sp="readwrite";function ap(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}const lp={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function cp(e){return"string"!=typeof e||/\./.test(e)?e=>e:t=>(void 0===t[e]&&e in t&&delete(t=od(t))[e],t)}class hp{_trans(e,t,n){const r=this._tx||sf.trans,i=this.name;function o(e,n,r){if(!r.schema[i])throw new Ed.NotFound("Table "+i+" not part of transaction");return t(r.idbtrans,r)}const s=wf();try{return r&&r.db===this.db?r===sf.trans?r._promise(e,o,n):Af((()=>r._promise(e,o,n)),{trans:r,transless:sf.transless||sf}):Xf(this.db,e,[this.name],o)}finally{s&&bf()}}get(e,t){return e&&e.constructor===Object?this.where(e).first(t):this._trans("readonly",(t=>this.core.get({trans:t,key:e}).then((e=>this.hook.reading.fire(e))))).then(t)}where(e){if("string"==typeof e)return new this.db.WhereClause(this,e);if(Iu(e))return new this.db.WhereClause(this,`[${e.join("+")}]`);const t=Pu(e);if(1===t.length)return this.where(t[0]).equals(e[t[0]]);const n=this.schema.indexes.concat(this.schema.primKey).filter((e=>{if(e.compound&&t.every((t=>e.keyPath.indexOf(t)>=0))){for(let n=0;ne.keyPath.length-t.keyPath.length))[0];if(n&&this.db._maxKey!==Gf){const r=n.keyPath.slice(0,t.length);return this.where(r).equals(r.map((t=>e[t])))}const{idxByName:r}=this.schema,i=this.db._deps.indexedDB;function o(e,t){try{return 0===i.cmp(e,t)}catch(n){return!1}}const[s,a]=t.reduce((([t,n],i)=>{const s=r[i],a=e[i];return[t||s,t||!s?ap(n,s&&s.multi?e=>{const t=Ku(e,i);return Iu(t)&&t.some((e=>o(a,e)))}:e=>o(a,Ku(e,i))):n]}),[null,null]);return s?this.where(s.name).equals(e[s.keyPath]).filter(a):n?this.filter(a):this.where(t).equals("")}filter(e){return this.toCollection().and(e)}count(e){return this.toCollection().count(e)}offset(e){return this.toCollection().offset(e)}limit(e){return this.toCollection().limit(e)}each(e){return this.toCollection().each(e)}toArray(e){return this.toCollection().toArray(e)}toCollection(){return new this.db.Collection(new this.db.WhereClause(this))}orderBy(e){return new this.db.Collection(new this.db.WhereClause(this,Iu(e)?`[${e.join("+")}]`:e))}reverse(){return this.toCollection().reverse()}mapToClass(e){this.schema.mappedClass=e;const t=t=>{if(!t)return t;const n=Object.create(e.prototype);for(var r in t)if(Hu(t,r))try{n[r]=t[r]}catch(i){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=t,this.hook("reading",t),e}defineClass(){return this.mapToClass((function(e){Ru(this,e)}))}add(e,t){const{auto:n,keyPath:r}=this.schema.primKey;let i=e;return r&&n&&(i=cp(r)(e)),this._trans("readwrite",(e=>this.core.mutate({trans:e,type:"add",keys:null!=t?[t]:null,values:[i]}))).then((e=>e.numFailures?hf.reject(e.failures[0]):e.lastResult)).then((t=>{if(r)try{Ju(e,r,t)}catch(n){}return t}))}update(e,t){if("object"!=typeof e||Iu(e))return this.where(":id").equals(e).modify(t);{const r=Ku(e,this.schema.primKey.keyPath);if(void 0===r)return Yf(new Ed.InvalidArgument("Given object does not contain its primary key"));try{"function"!=typeof t?Pu(t).forEach((n=>{Ju(e,n,t[n])})):t(e,{value:e,primKey:r})}catch(n){}return this.where(":id").equals(r).modify(t)}}put(e,t){const{auto:n,keyPath:r}=this.schema.primKey;let i=e;return r&&n&&(i=cp(r)(e)),this._trans("readwrite",(e=>this.core.mutate({trans:e,type:"put",values:[i],keys:null!=t?[t]:null}))).then((e=>e.numFailures?hf.reject(e.failures[0]):e.lastResult)).then((t=>{if(r)try{Ju(e,r,t)}catch(n){}return t}))}delete(e){return this._trans("readwrite",(t=>this.core.mutate({trans:t,type:"delete",keys:[e]}))).then((e=>e.numFailures?hf.reject(e.failures[0]):void 0))}clear(){return this._trans("readwrite",(e=>this.core.mutate({trans:e,type:"deleteRange",range:lp}))).then((e=>e.numFailures?hf.reject(e.failures[0]):void 0))}bulkGet(e){return this._trans("readonly",(t=>this.core.getMany({keys:e,trans:t}).then((e=>e.map((e=>this.hook.reading.fire(e)))))))}bulkAdd(e,t,n){const r=Array.isArray(t)?t:void 0,i=(n=n||(r?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",(t=>{const{auto:n,keyPath:o}=this.schema.primKey;if(o&&r)throw new Ed.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(r&&r.length!==e.length)throw new Ed.InvalidArgument("Arguments objects and keys must have the same length");const s=e.length;let a=o&&n?e.map(cp(o)):e;return this.core.mutate({trans:t,type:"add",keys:r,values:a,wantResults:i}).then((({numFailures:e,results:t,lastResult:n,failures:r})=>{if(0===e)return i?t:n;throw new Sd(`${this.name}.bulkAdd(): ${e} of ${s} operations failed`,r)}))}))}bulkPut(e,t,n){const r=Array.isArray(t)?t:void 0,i=(n=n||(r?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",(t=>{const{auto:n,keyPath:o}=this.schema.primKey;if(o&&r)throw new Ed.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(r&&r.length!==e.length)throw new Ed.InvalidArgument("Arguments objects and keys must have the same length");const s=e.length;let a=o&&n?e.map(cp(o)):e;return this.core.mutate({trans:t,type:"put",keys:r,values:a,wantResults:i}).then((({numFailures:e,results:t,lastResult:n,failures:r})=>{if(0===e)return i?t:n;throw new Sd(`${this.name}.bulkPut(): ${e} of ${s} operations failed`,r)}))}))}bulkDelete(e){const t=e.length;return this._trans("readwrite",(t=>this.core.mutate({trans:t,type:"delete",keys:e}))).then((({numFailures:e,lastResult:n,failures:r})=>{if(0===e)return n;throw new Sd(`${this.name}.bulkDelete(): ${e} of ${t} operations failed`,r)}))}}function up(e){var t={},n=function(n,r){if(r){for(var i=arguments.length,o=new Array(i-1);--i;)o[i-1]=arguments[i];return t[n].subscribe.apply(null,o),e}if("string"==typeof n)return t[n]};n.addEventType=o;for(var r=1,i=arguments.length;rap(r(),t()):t,e.justLimit=n&&!r}function kp(e,t){if(e.isPrimKey)return t.primaryKey;const n=t.getIndexByKeyPath(e.index);if(!n)throw new Ed.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return n}function mp(e,t,n){const r=kp(e,t.schema);return t.openCursor({trans:n,values:!e.keysOnly,reverse:"prev"===e.dir,unique:!!e.unique,query:{index:r,range:e.range}})}function vp(e,t,n,r){const i=e.replayFilter?ap(e.filter,e.replayFilter()):e.filter;if(e.or){const o={},s=(e,n,r)=>{if(!i||i(n,r,(e=>n.stop(e)),(e=>n.fail(e)))){var s=n.primaryKey,a=""+s;"[object ArrayBuffer]"===a&&(a=""+new Uint8Array(s)),Hu(o,a)||(o[a]=!0,t(e,n,r))}};return Promise.all([e.or._iterate(s,n),yp(mp(e,r,n),e.algorithm,s,!e.keysOnly&&e.valueMapper)])}return yp(mp(e,r,n),ap(e.algorithm,i),t,!e.keysOnly&&e.valueMapper)}function yp(e,t,n,r){var i=Cf(r?(e,t,i)=>n(r(e),t,i):n);return e.then((e=>{if(e)return e.start((()=>{var n=()=>e.continue();t&&!t(e,(e=>n=e),(t=>{e.stop(t),n=Ad}),(t=>{e.fail(t),n=Ad}))||i(e.value,e,(e=>n=e)),n()}))}))}function Lp(e,t){try{const n=wp(e),r=wp(t);if(n!==r)return"Array"===n?1:"Array"===r?-1:"binary"===n?1:"binary"===r?-1:"string"===n?1:"string"===r?-1:"Date"===n?1:"Date"!==r?NaN:-1;switch(n){case"number":case"Date":case"string":return e>t?1:evp(t,e,n,t.table.core)))}count(e){return this._read((e=>{const t=this._ctx,n=t.table.core;if(fp(t,!0))return n.count({trans:e,query:{index:kp(t,n.schema),range:t.range}}).then((e=>Math.min(e,t.limit)));var r=0;return vp(t,(()=>(++r,!1)),e,n).then((()=>r))})).then(e)}sortBy(e,t){const n=e.split(".").reverse(),r=n[0],i=n.length-1;function o(e,t){return t?o(e[n[t]],t-1):e[r]}var s="next"===this._ctx.dir?1:-1;function a(e,t){var n=o(e,i),r=o(t,i);return nr?s:0}return this.toArray((function(e){return e.sort(a)})).then(t)}toArray(e){return this._read((e=>{var t=this._ctx;if("next"===t.dir&&fp(t,!0)&&t.limit>0){const{valueMapper:n}=t,r=kp(t,t.table.core.schema);return t.table.core.query({trans:e,limit:t.limit,values:!0,query:{index:r,range:t.range}}).then((({result:e})=>n?e.map(n):e))}{const n=[];return vp(t,(e=>n.push(e)),e,t.table.core).then((()=>n))}}),e)}offset(e){var t=this._ctx;return e<=0||(t.offset+=e,fp(t)?gp(t,(()=>{var t=e;return(e,n)=>0===t||(1===t?(--t,!1):(n((()=>{e.advance(t),t=0})),!1))})):gp(t,(()=>{var t=e;return()=>--t<0}))),this}limit(e){return this._ctx.limit=Math.min(this._ctx.limit,e),gp(this._ctx,(()=>{var t=e;return function(e,n,r){return--t<=0&&n(r),t>=0}}),!0),this}until(e,t){return pp(this._ctx,(function(n,r,i){return!e(n.value)||(r(i),t)})),this}first(e){return this.limit(1).toArray((function(e){return e[0]})).then(e)}last(e){return this.reverse().first(e)}filter(e){var t,n;return pp(this._ctx,(function(t){return e(t.value)})),t=this._ctx,n=e,t.isMatch=ap(t.isMatch,n),this}and(e){return this.filter(e)}or(e){return new this.db.WhereClause(this._ctx.table,e,this)}reverse(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this}desc(){return this.reverse()}eachKey(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each((function(t,n){e(n.key,n)}))}eachUniqueKey(e){return this._ctx.unique="unique",this.eachKey(e)}eachPrimaryKey(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each((function(t,n){e(n.primaryKey,n)}))}keys(e){var t=this._ctx;t.keysOnly=!t.isMatch;var n=[];return this.each((function(e,t){n.push(t.key)})).then((function(){return n})).then(e)}primaryKeys(e){var t=this._ctx;if("next"===t.dir&&fp(t,!0)&&t.limit>0)return this._read((e=>{var n=kp(t,t.table.core.schema);return t.table.core.query({trans:e,values:!1,limit:t.limit,query:{index:n,range:t.range}})})).then((({result:e})=>e)).then(e);t.keysOnly=!t.isMatch;var n=[];return this.each((function(e,t){n.push(t.primaryKey)})).then((function(){return n})).then(e)}uniqueKeys(e){return this._ctx.unique="unique",this.keys(e)}firstKey(e){return this.limit(1).keys((function(e){return e[0]})).then(e)}lastKey(e){return this.reverse().firstKey(e)}distinct(){var e=this._ctx,t=e.index&&e.table.schema.idxByName[e.index];if(!t||!t.multi)return this;var n={};return pp(this._ctx,(function(e){var t=e.primaryKey.toString(),r=Hu(n,t);return n[t]=!0,!r})),this}modify(e){var t=this._ctx;return this._write((n=>{var r;if("function"==typeof e)r=e;else{var i=Pu(e),o=i.length;r=function(t){for(var n=!1,r=0;r{const{failures:n,numFailures:r}=t;u+=e-r;for(let i of Pu(n))h.push(n[i])};return this.clone().primaryKeys().then((i=>{const o=h=>{const u=Math.min(c,i.length-h);return s.getMany({trans:n,keys:i.slice(h,h+u),cache:"immutable"}).then((d=>{const p=[],g=[],k=a?[]:null,m=[];for(let e=0;e0&&s.mutate({trans:n,type:"add",values:p}).then((e=>{for(let t in e.failures)m.splice(parseInt(t),1);f(p.length,e)}))).then((()=>(g.length>0||v&&"object"==typeof e)&&s.mutate({trans:n,type:"put",keys:k,values:g,criteria:v,changeSpec:"function"!=typeof e&&e}).then((e=>f(g.length,e))))).then((()=>(m.length>0||v&&e===xp)&&s.mutate({trans:n,type:"delete",keys:m,criteria:v}).then((e=>f(m.length,e))))).then((()=>i.length>h+u&&o(h+c)))}))};return o(0).then((()=>{if(h.length>0)throw new Cd("Error modifying one or more objects",h,u,d);return i.length}))}))}))}delete(){var e=this._ctx,t=e.range;return fp(e)&&(e.isPrimKey&&!np||3===t.type)?this._write((n=>{const{primaryKey:r}=e.table.core.schema,i=t;return e.table.core.count({trans:n,query:{index:r,range:i}}).then((t=>e.table.core.mutate({trans:n,type:"deleteRange",range:i}).then((({failures:e,lastResult:n,results:r,numFailures:i})=>{if(i)throw new Cd("Could not delete some values",Object.keys(e).map((t=>e[t])),t-i);return t-i}))))})):this.modify(xp)}}const xp=(e,t)=>t.value=null;function Cp(e,t){return et?-1:e===t?0:1}function jp(e,t,n){var r=e instanceof Pp?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function Mp(e){return new e.Collection(e,(()=>Ap(""))).limit(0)}function Ep(e,t,n,r,i,o){for(var s=Math.min(e.length,r.length),a=-1,l=0;l=0?e.substr(0,a)+t[a]+n.substr(a+1):null;i(e[l],c)<0&&(a=l)}return s"string"==typeof e)))return jp(e,Jf);function d(e){i=function(e){return"next"===e?e=>e.toUpperCase():e=>e.toLowerCase()}(e),o=function(e){return"next"===e?e=>e.toLowerCase():e=>e.toUpperCase()}(e),s="next"===e?Cp:Sp;var t=n.map((function(e){return{lower:o(e),upper:i(e)}})).sort((function(e,t){return s(e.lower,t.lower)}));a=t.map((function(e){return e.upper})),l=t.map((function(e){return e.lower})),c=e,h="next"===e?"":r}d("next");var f=new e.Collection(e,(()=>Op(a[0],l[u-1]+r)));f._ondirectionchange=function(e){d(e)};var p=0;return f._addAlgorithm((function(e,n,r){var i=e.key;if("string"!=typeof i)return!1;var d=o(i);if(t(d,l,p))return!0;for(var f=null,g=p;g0)&&(f=k)}return n(null!==f?function(){e.continue(f+h)}:r),!1})),f}function Op(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function Ap(e){return{type:1,lower:e,upper:e}}class Pp{get Collection(){return this._ctx.table.db.Collection}between(e,t,n,r){n=!1!==n,r=!0===r;try{return this._cmp(e,t)>0||0===this._cmp(e,t)&&(n||r)&&(!n||!r)?Mp(this):new this.Collection(this,(()=>Op(e,t,!n,!r)))}catch(i){return jp(this,Kf)}}equals(e){return null==e?jp(this,Kf):new this.Collection(this,(()=>Ap(e)))}above(e){return null==e?jp(this,Kf):new this.Collection(this,(()=>Op(e,void 0,!0)))}aboveOrEqual(e){return null==e?jp(this,Kf):new this.Collection(this,(()=>Op(e,void 0,!1)))}below(e){return null==e?jp(this,Kf):new this.Collection(this,(()=>Op(void 0,e,!1,!0)))}belowOrEqual(e){return null==e?jp(this,Kf):new this.Collection(this,(()=>Op(void 0,e)))}startsWith(e){return"string"!=typeof e?jp(this,Jf):this.between(e,e+Gf,!0,!0)}startsWithIgnoreCase(e){return""===e?this.startsWith(e):Tp(this,((e,t)=>0===e.indexOf(t[0])),[e],Gf)}equalsIgnoreCase(e){return Tp(this,((e,t)=>e===t[0]),[e],"")}anyOfIgnoreCase(){var e=dd.apply(ud,arguments);return 0===e.length?Mp(this):Tp(this,((e,t)=>-1!==t.indexOf(e)),e,"")}startsWithAnyOfIgnoreCase(){var e=dd.apply(ud,arguments);return 0===e.length?Mp(this):Tp(this,((e,t)=>t.some((t=>0===e.indexOf(t)))),e,Gf)}anyOf(){const e=dd.apply(ud,arguments);let t=this._cmp;try{e.sort(t)}catch(i){return jp(this,Kf)}if(0===e.length)return Mp(this);const n=new this.Collection(this,(()=>Op(e[0],e[e.length-1])));n._ondirectionchange=n=>{t="next"===n?this._ascending:this._descending,e.sort(t)};let r=0;return n._addAlgorithm(((n,i,o)=>{const s=n.key;for(;t(s,e[r])>0;)if(++r,r===e.length)return i(o),!1;return 0===t(s,e[r])||(i((()=>{n.continue(e[r])})),!1)})),n}notEqual(e){return this.inAnyRange([[qf,e],[e,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})}noneOf(){const e=dd.apply(ud,arguments);if(0===e.length)return new this.Collection(this);try{e.sort(this._ascending)}catch(n){return jp(this,Kf)}const t=e.reduce(((e,t)=>e?e.concat([[e[e.length-1][1],t]]):[[qf,t]]),null);return t.push([e[e.length-1],this.db._maxKey]),this.inAnyRange(t,{includeLowers:!1,includeUppers:!1})}inAnyRange(e,t){const n=this._cmp,r=this._ascending,i=this._descending,o=this._min,s=this._max;if(0===e.length)return Mp(this);if(!e.every((e=>void 0!==e[0]&&void 0!==e[1]&&r(e[0],e[1])<=0)))return jp(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",Ed.InvalidArgument);const a=!t||!1!==t.includeLowers,l=t&&!0===t.includeUppers;let c,h=r;function u(e,t){return h(e[0],t[0])}try{c=e.reduce((function(e,t){let r=0,i=e.length;for(;r0){i[0]=o(i[0],t[0]),i[1]=s(i[1],t[1]);break}}return r===i&&e.push(t),e}),[]),c.sort(u)}catch(m){return jp(this,Kf)}let d=0;const f=l?e=>r(e,c[d][1])>0:e=>r(e,c[d][1])>=0,p=a?e=>i(e,c[d][0])>0:e=>i(e,c[d][0])>=0;let g=f;const k=new this.Collection(this,(()=>Op(c[0][0],c[c.length-1][1],!a,!l)));return k._ondirectionchange=e=>{"next"===e?(g=f,h=r):(g=p,h=i),c.sort(u)},k._addAlgorithm(((e,t,n)=>{for(var i=e.key;g(i);)if(++d,d===c.length)return t(n),!1;return!(o=i,(f(o)||p(o))&&(0===this._cmp(i,c[d][1])||0===this._cmp(i,c[d][0])||t((()=>{h===r?e.continue(c[d][0]):e.continue(c[d][1])})),1));var o})),k}startsWithAnyOf(){const e=dd.apply(ud,arguments);return e.every((e=>"string"==typeof e))?0===e.length?Mp(this):this.inAnyRange(e.map((e=>[e,e+Gf]))):jp(this,"startsWithAnyOf() only works with strings")}}function Ip(e){return Cf((function(t){return Rp(t),e(t.target.error),!1}))}function Rp(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}const Bp="storagemutated",Wp="x-storagemutated-1",Hp=up(null,Bp);class zp{_lock(){return Zu(!sf.global),++this._reculock,1!==this._reculock||sf.global||(sf.lockOwnerFor=this),this}_unlock(){if(Zu(!sf.global),0==--this._reculock)for(sf.global||(sf.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var e=this._blockedFuncs.shift();try{Df(e[1],e[0])}catch(t){}}return this}_locked(){return this._reculock&&sf.lockOwnerFor!==this}create(e){if(!this.mode)return this;const t=this.db.idbdb,n=this.db._state.dbOpenError;if(Zu(!this.idbtrans),!e&&!t)switch(n&&n.name){case"DatabaseClosedError":throw new Ed.DatabaseClosed(n);case"MissingAPIError":throw new Ed.MissingAPI(n.message,n);default:throw new Ed.OpenFailed(n)}if(!this.active)throw new Ed.TransactionInactive;return Zu(null===this._completion._state),(e=this.idbtrans=e||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):t.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=Cf((t=>{Rp(t),this._reject(e.error)})),e.onabort=Cf((t=>{Rp(t),this.active&&this._reject(new Ed.Abort(e.error)),this.active=!1,this.on("abort").fire(t)})),e.oncomplete=Cf((()=>{this.active=!1,this._resolve(),"mutatedParts"in e&&Hp.storagemutated.fire(e.mutatedParts)})),this}_promise(e,t,n){if("readwrite"===e&&"readwrite"!==this.mode)return Yf(new Ed.ReadOnly("Transaction is readonly"));if(!this.active)return Yf(new Ed.TransactionInactive);if(this._locked())return new hf(((r,i)=>{this._blockedFuncs.push([()=>{this._promise(e,t,n).then(r,i)},sf])}));if(n)return Af((()=>{var e=new hf(((e,n)=>{this._lock();const r=t(e,n,this);r&&r.then&&r.then(e,n)}));return e.finally((()=>this._unlock())),e._lib=!0,e}));var r=new hf(((e,n)=>{var r=t(e,n,this);r&&r.then&&r.then(e,n)}));return r._lib=!0,r}_root(){return this.parent?this.parent._root():this}waitFor(e){var t=this._root();const n=hf.resolve(e);if(t._waitingFor)t._waitingFor=t._waitingFor.then((()=>n));else{t._waitingFor=n,t._waitingQueue=[];var r=t.idbtrans.objectStore(t.storeNames[0]);!function e(){for(++t._spinCount;t._waitingQueue.length;)t._waitingQueue.shift()();t._waitingFor&&(r.get(-1/0).onsuccess=e)}()}var i=t._waitingFor;return new hf(((e,r)=>{n.then((n=>t._waitingQueue.push(Cf(e.bind(null,n)))),(e=>t._waitingQueue.push(Cf(r.bind(null,e))))).finally((()=>{t._waitingFor===i&&(t._waitingFor=null)}))}))}abort(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new Ed.Abort))}table(e){const t=this._memoizedTables||(this._memoizedTables={});if(Hu(t,e))return t[e];const n=this.schema[e];if(!n)throw new Ed.NotFound("Table "+e+" not part of transaction");const r=new this.db.Table(e,n,this);return r.core=this.db.core.table(e),t[e]=r,r}}function Dp(e,t,n,r,i,o,s){return{name:e,keyPath:t,unique:n,multi:r,auto:i,compound:o,src:(n&&!s?"&":"")+(r?"*":"")+(i?"++":"")+Np(t)}}function Np(e){return"string"==typeof e?e:e?"["+[].join.call(e,"+")+"]":""}function Fp(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:qu(n,(e=>[e.name,e]))}}let Vp=e=>{try{return e.only([[]]),Vp=()=>[[]],[[]]}catch(t){return Vp=()=>Gf,Gf}};function Up(e){return null==e?()=>{}:"string"==typeof e?1===(t=e).split(".").length?e=>e[t]:e=>Ku(e,t):t=>Ku(t,e);var t}function $p(e){return[].slice.call(e)}let Yp=0;function Xp(e){return null==e?":id":"string"==typeof e?e:`[${e.join("+")}]`}function Zp({_novip:e},t){const n=t.db,r=function(e,t,{IDBKeyRange:n,indexedDB:r},i){const o=(s=function(e,t,n){function r(e){if(3===e.type)return null;if(4===e.type)throw new Error("Cannot convert never type to IDBKeyRange");const{lower:n,upper:r,lowerOpen:i,upperOpen:o}=e;return void 0===n?void 0===r?null:t.upperBound(r,!!o):void 0===r?t.lowerBound(n,!!i):t.bound(n,r,!!i,!!o)}const{schema:i,hasGetAll:o}=function(e,t){const n=$p(e.objectStoreNames);return{schema:{name:e.name,tables:n.map((e=>t.objectStore(e))).map((e=>{const{keyPath:t,autoIncrement:n}=e,r=Iu(t),i=null==t,o={},s={name:e.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:i,compound:r,keyPath:t,autoIncrement:n,unique:!0,extractKey:Up(t)},indexes:$p(e.indexNames).map((t=>e.index(t))).map((e=>{const{name:t,unique:n,multiEntry:r,keyPath:i}=e,s={name:t,compound:Iu(i),keyPath:i,unique:n,multiEntry:r,extractKey:Up(i)};return o[Xp(i)]=s,s})),getIndexByKeyPath:e=>o[Xp(e)]};return o[":id"]=s.primaryKey,null!=t&&(o[Xp(t)]=s.primaryKey),s}))},hasGetAll:n.length>0&&"getAll"in t.objectStore(n[0])&&!("undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}(e,n),s=i.tables.map((e=>function(e){const t=e.name;return{name:t,schema:e,mutate:function({trans:e,type:n,keys:i,values:o,range:s}){return new Promise(((a,l)=>{a=Cf(a);const c=e.objectStore(t),h=null==c.keyPath,u="put"===n||"add"===n;if(!u&&"delete"!==n&&"deleteRange"!==n)throw new Error("Invalid operation type: "+n);const{length:d}=i||o||{length:1};if(i&&o&&i.length!==o.length)throw new Error("Given keys array must have same length as given values array.");if(0===d)return a({numFailures:0,failures:{},results:[],lastResult:void 0});let f;const p=[],g=[];let k=0;const m=e=>{++k,Rp(e)};if("deleteRange"===n){if(4===s.type)return a({numFailures:k,failures:g,results:[],lastResult:void 0});3===s.type?p.push(f=c.clear()):p.push(f=c.delete(r(s)))}else{const[e,t]=u?h?[o,i]:[o,null]:[i,null];if(u)for(let r=0;r{const t=e.target.result;p.forEach(((e,t)=>null!=e.error&&(g[t]=e.error))),a({numFailures:k,failures:g,results:"delete"===n?i:p.map((e=>e.result)),lastResult:t})};f.onerror=e=>{m(e),v(e)},f.onsuccess=v}))},getMany:({trans:e,keys:n})=>new Promise(((r,i)=>{r=Cf(r);const o=e.objectStore(t),s=n.length,a=new Array(s);let l,c=0,h=0;const u=e=>{const t=e.target;a[t._pos]=t.result,++h===c&&r(a)},d=Ip(i);for(let e=0;enew Promise(((r,i)=>{r=Cf(r);const o=e.objectStore(t).get(n);o.onsuccess=e=>r(e.target.result),o.onerror=Ip(i)})),query:function(e){return n=>new Promise(((i,o)=>{i=Cf(i);const{trans:s,values:a,limit:l,query:c}=n,h=l===1/0?void 0:l,{index:u,range:d}=c,f=s.objectStore(t),p=u.isPrimaryKey?f:f.index(u.name),g=r(d);if(0===l)return i({result:[]});if(e){const e=a?p.getAll(g,h):p.getAllKeys(g,h);e.onsuccess=e=>i({result:e.target.result}),e.onerror=Ip(o)}else{let e=0;const t=a||!("openKeyCursor"in p)?p.openCursor(g):p.openKeyCursor(g),n=[];t.onsuccess=r=>{const o=t.result;return o?(n.push(a?o.value:o.primaryKey),++e===l?i({result:n}):void o.continue()):i({result:n})},t.onerror=Ip(o)}}))}(o),openCursor:function({trans:e,values:n,query:i,reverse:o,unique:s}){return new Promise(((a,l)=>{a=Cf(a);const{index:c,range:h}=i,u=e.objectStore(t),d=c.isPrimaryKey?u:u.index(c.name),f=o?s?"prevunique":"prev":s?"nextunique":"next",p=n||!("openKeyCursor"in d)?d.openCursor(r(h),f):d.openKeyCursor(r(h),f);p.onerror=Ip(l),p.onsuccess=Cf((t=>{const n=p.result;if(!n)return void a(null);n.___id=++Yp,n.done=!1;const r=n.continue.bind(n);let i=n.continuePrimaryKey;i&&(i=i.bind(n));const o=n.advance.bind(n),s=()=>{throw new Error("Cursor not stopped")};n.trans=e,n.stop=n.continue=n.continuePrimaryKey=n.advance=()=>{throw new Error("Cursor not started")},n.fail=Cf(l),n.next=function(){let e=1;return this.start((()=>e--?this.continue():this.stop())).then((()=>this))},n.start=e=>{const t=new Promise(((e,t)=>{e=Cf(e),p.onerror=Ip(t),n.fail=t,n.stop=t=>{n.stop=n.continue=n.continuePrimaryKey=n.advance=s,e(t)}})),a=()=>{if(p.result)try{e()}catch(t){n.fail(t)}else n.done=!0,n.start=()=>{throw new Error("Cursor behind last entry")},n.stop()};return p.onsuccess=Cf((e=>{p.onsuccess=a,a()})),n.continue=r,n.continuePrimaryKey=i,n.advance=o,a(),t},a(n)}),l)}))},count({query:e,trans:n}){const{index:i,range:o}=e;return new Promise(((e,s)=>{const a=n.objectStore(t),l=i.isPrimaryKey?a:a.index(i.name),c=r(o),h=c?l.count(c):l.count();h.onsuccess=Cf((t=>e(t.target.result))),h.onerror=Ip(s)}))}}}(e))),a={};return s.forEach((e=>a[e.name]=e)),{stack:"dbcore",transaction:e.transaction.bind(e),table(e){if(!a[e])throw new Error(`Table '${e}' not found`);return a[e]},MIN_KEY:-1/0,MAX_KEY:Vp(t),schema:i}}(t,n,i),e.dbcore.reduce(((e,{create:t})=>u(u({},e),t(e))),s));var s;return{dbcore:o}}(e._middlewares,n,e._deps,t);e.core=r.dbcore,e.tables.forEach((t=>{const n=t.name;e.core.schema.tables.some((e=>e.name===n))&&(t.core=e.core.table(n),e[n]instanceof e.Table&&(e[n].core=t.core))}))}function Gp({_novip:e},t,n,r){n.forEach((n=>{const i=r[n];t.forEach((t=>{const r=Uu(t,n);(!r||"value"in r&&void 0===r.value)&&(t===e.Transaction.prototype||t instanceof e.Transaction?Nu(t,n,{get(){return this.table(n)},set(e){Du(this,n,{value:e,writable:!0,configurable:!0,enumerable:!0})}}):t[n]=new e.Table(n,i))}))}))}function qp({_novip:e},t){t.forEach((t=>{for(let n in t)t[n]instanceof e.Table&&delete t[n]}))}function Kp(e,t){return e._cfg.version-t._cfg.version}function Jp(e,t){const n={del:[],add:[],change:[]};let r;for(r in e)t[r]||n.del.push(r);for(r in t){const i=e[r],o=t[r];if(i){const e={name:r,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(i.primKey.keyPath||"")!=""+(o.primKey.keyPath||"")||i.primKey.auto!==o.primKey.auto&&!ep)e.recreate=!0,n.change.push(e);else{const t=i.idxByName,r=o.idxByName;let s;for(s in t)r[s]||e.del.push(s);for(s in r){const n=t[s],i=r[s];n?n.src!==i.src&&e.change.push(i):e.add.push(i)}(e.del.length>0||e.add.length>0||e.change.length>0)&&n.change.push(e)}}else n.add.push([r,o])}return n}function Qp(e,t,n,r){const i=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach((e=>eg(i,e))),i}function eg(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function tg(e,t,n){const r={};return Yu(t.objectStoreNames,0).forEach((e=>{const t=n.objectStore(e);let i=t.keyPath;const o=Dp(Np(i),i||"",!1,!1,!!t.autoIncrement,i&&"string"!=typeof i,!0),s=[];for(let n=0;n{if(null!==e[n]){var r=e[n].split(",").map(((e,t)=>{const n=(e=e.trim()).replace(/([&*]|\+\+)/g,""),r=/^\[/.test(n)?n.match(/^\[(.*)\]$/)[1].split("+"):n;return Dp(n,r||null,/\&/.test(e),/\*/.test(e),/\+\+/.test(e),Iu(r),0===t)})),i=r.shift();if(i.multi)throw new Ed.Schema("Primary key cannot be multi-valued");r.forEach((e=>{if(e.auto)throw new Ed.Schema("Only primary key can be marked as autoIncrement (++)");if(!e.keyPath)throw new Ed.Schema("Index must have a name and cannot be an empty string")})),t[n]=Fp(n,i,r)}}))}stores(e){const t=this.db;this._cfg.storesSource=this._cfg.storesSource?Ru(this._cfg.storesSource,e):e;const n=t._versions,r={};let i={};return n.forEach((e=>{Ru(r,e._cfg.storesSource),i=e._cfg.dbschema={},e._parseStoresSpec(r,i)})),t._dbSchema=i,qp(t,[t._allTables,t,t.Transaction.prototype]),Gp(t,[t._allTables,t,t.Transaction.prototype,this._cfg.tables],Pu(i),i),t._storeNames=Pu(i),this}upgrade(e){return this._cfg.contentUpgrade=Dd(this._cfg.contentUpgrade||Ad,e),this}}function ig(e,t){let n=e._dbNamesDB;return n||(n=e._dbNamesDB=new Sg(ip,{addons:[],indexedDB:e,IDBKeyRange:t}),n.version(1).stores({dbnames:"name"})),n.table("dbnames")}function og(e){return e&&"function"==typeof e.databases}function sg(e){return Af((function(){return sf.letThrough=!0,e()}))}function ag(){var e;return!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise((function(t){var n=function(){return indexedDB.databases().finally(t)};e=setInterval(n,100),n()})).finally((function(){return clearInterval(e)})):Promise.resolve()}function lg(e){const t=e._state,{indexedDB:n}=e._deps;if(t.isBeingOpened||e.idbdb)return t.dbReadyPromise.then((()=>t.dbOpenError?Yf(t.dbOpenError):e));pd&&(t.openCanceller._stackHolder=vd()),t.isBeingOpened=!0,t.dbOpenError=null,t.openComplete=!1;const r=t.openCanceller;function i(){if(t.openCanceller!==r)throw new Ed.DatabaseClosed("db.open() was cancelled")}let o=t.dbReadyResolve,s=null,a=!1;const l=()=>new hf(((r,o)=>{if(i(),!n)throw new Ed.MissingAPI;const l=e.name,c=t.autoSchema?n.open(l):n.open(l,Math.round(10*e.verno));if(!c)throw new Ed.MissingAPI;c.onerror=Ip(o),c.onblocked=Cf(e._fireOnBlocked),c.onupgradeneeded=Cf((r=>{if(s=c.transaction,t.autoSchema&&!e._options.allowEmptyDB){c.onerror=Rp,s.abort(),c.result.close();const e=n.deleteDatabase(l);e.onsuccess=e.onerror=Cf((()=>{o(new Ed.NoSuchDatabase(`Database ${l} doesnt exist`))}))}else{s.onerror=Ip(o);var i=r.oldVersion>Math.pow(2,62)?0:r.oldVersion;a=i<1,e._novip.idbdb=c.result,function(e,t,n,r){const i=e._dbSchema,o=e._createTransaction("readwrite",e._storeNames,i);o.create(n),o._completion.catch(r);const s=o._reject.bind(o),a=sf.transless||sf;Af((()=>{sf.trans=o,sf.transless=a,0===t?(Pu(i).forEach((e=>{Qp(n,e,i[e].primKey,i[e].indexes)})),Zp(e,n),hf.follow((()=>e.on.populate.fire(o))).catch(s)):function({_novip:e},t,n,r){const i=[],o=e._versions;let s=e._dbSchema=tg(0,e.idbdb,r),a=!1;return o.filter((e=>e._cfg.version>=t)).forEach((o=>{i.push((()=>{const i=s,l=o._cfg.dbschema;ng(e,i,r),ng(e,l,r),s=e._dbSchema=l;const c=Jp(i,l);c.add.forEach((e=>{Qp(r,e[0],e[1].primKey,e[1].indexes)})),c.change.forEach((e=>{if(e.recreate)throw new Ed.Upgrade("Not yet support for changing primary key");{const t=r.objectStore(e.name);e.add.forEach((e=>eg(t,e))),e.change.forEach((e=>{t.deleteIndex(e.name),eg(t,e)})),e.del.forEach((e=>t.deleteIndex(e)))}}));const h=o._cfg.contentUpgrade;if(h&&o._cfg.version>t){Zp(e,r),n._memoizedTables={},a=!0;let t=Qu(l);c.del.forEach((e=>{t[e]=i[e]})),qp(e,[e.Transaction.prototype]),Gp(e,[e.Transaction.prototype],Pu(t),t),n.schema=t;const o=fd(h);let s;o&&Pf();const u=hf.follow((()=>{if(s=h(n),s&&o){var e=If.bind(null,null);s.then(e,e)}}));return s&&"function"==typeof s.then?hf.resolve(s):u.then((()=>s))}})),i.push((t=>{var r,i;a&&tp||(r=o._cfg.dbschema,i=t,[].slice.call(i.db.objectStoreNames).forEach((e=>null==r[e]&&i.db.deleteObjectStore(e)))),qp(e,[e.Transaction.prototype]),Gp(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema}))})),function e(){return i.length?hf.resolve(i.shift()(n.idbtrans)).then(e):hf.resolve()}().then((()=>{var e,t;t=r,Pu(e=s).forEach((n=>{t.db.objectStoreNames.contains(n)||Qp(t,n,e[n].primKey,e[n].indexes)}))}))}(e,t,o,n).catch(s)}))}(e,i/10,s,o)}}),o),c.onsuccess=Cf((()=>{s=null;const n=e._novip.idbdb=c.result,i=Yu(n.objectStoreNames);if(i.length>0)try{const r=n.transaction(1===(o=i).length?o[0]:o,"readonly");t.autoSchema?function({_novip:e},t,n){e.verno=t.version/10;const r=e._dbSchema=tg(0,t,n);e._storeNames=Yu(t.objectStoreNames,0),Gp(e,[e._allTables],Pu(r),r)}(e,n,r):(ng(e,e._dbSchema,r),function(e,t){const n=Jp(tg(0,e.idbdb,t),e._dbSchema);n.add.length||n.change.some((e=>e.add.length||e.change.length))}(e,r)),Zp(e,r)}catch(h){}var o;Qf.push(e),n.onversionchange=Cf((n=>{t.vcFired=!0,e.on("versionchange").fire(n)})),n.onclose=Cf((t=>{e.on("close").fire(t)})),a&&function({indexedDB:e,IDBKeyRange:t},n){!og(e)&&n!==ip&&ig(e,t).put({name:n}).catch(Ad)}(e._deps,l),r()}),o)})).catch((e=>e&&"UnknownError"===e.name&&t.PR1398_maxLoop>0?(t.PR1398_maxLoop--,l()):hf.reject(e)));return hf.race([r,("undefined"==typeof navigator?hf.resolve():ag()).then(l)]).then((()=>(i(),t.onReadyBeingFired=[],hf.resolve(sg((()=>e.on.ready.fire(e.vip)))).then((function n(){if(t.onReadyBeingFired.length>0){let r=t.onReadyBeingFired.reduce(Dd,Ad);return t.onReadyBeingFired=[],hf.resolve(sg((()=>r(e.vip)))).then(n)}}))))).finally((()=>{t.onReadyBeingFired=null,t.isBeingOpened=!1})).then((()=>e)).catch((n=>{t.dbOpenError=n;try{s&&s.abort()}catch(i){}return r===t.openCanceller&&e._close(),Yf(n)})).finally((()=>{t.openComplete=!0,o()}))}function cg(e){var t=t=>e.next(t),n=i(t),r=i((t=>e.throw(t)));function i(e){return t=>{var i=e(t),o=i.value;return i.done?o:o&&"function"==typeof o.then?o.then(n,r):Iu(o)?Promise.all(o).then(n,r):n(o)}}return i(t)()}function hg(e,t,n){var r=arguments.length;if(r<2)throw new Ed.InvalidArgument("Too few arguments");for(var i=new Array(r-1);--r;)i[r-1]=arguments[r];return n=i.pop(),[e,td(i),n]}function ug(e,t,n,r,i){return hf.resolve().then((()=>{const o=sf.transless||sf,s=e._createTransaction(t,n,e._dbSchema,r),a={trans:s,transless:o};if(r)s.idbtrans=r.idbtrans;else try{s.create(),e._state.PR1398_maxLoop=3}catch(u){return u.name===jd.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(e._close(),e.open().then((()=>ug(e,t,n,null,i)))):Yf(u)}const l=fd(i);let c;l&&Pf();const h=hf.follow((()=>{if(c=i.call(s,s),c)if(l){var e=If.bind(null,null);c.then(e,e)}else"function"==typeof c.next&&"function"==typeof c.throw&&(c=cg(c))}),a);return(c&&"function"==typeof c.then?hf.resolve(c).then((e=>s.active?e:Yf(new Ed.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn")))):h.then((()=>c))).then((e=>(r&&s._resolve(),s._completion.then((()=>e))))).catch((e=>(s._reject(e),Yf(e))))}))}function dg(e,t,n){const r=Iu(e)?e.slice():[e];for(let i=0;i0,h=d(u({},n),{isVirtual:c,keyTail:t,keyLength:l,extractKey:Up(e),unique:!c&&n.unique});return a.push(h),h.isPrimaryKey||o.push(h),l>1&&s(2===l?e[0]:e.slice(0,l-1),t+1,n),a.sort(((e,t)=>e.keyTail-t.keyTail)),h}const a=s(r.primaryKey.keyPath,0,r.primaryKey);i[":id"]=[a];for(const e of r.indexes)s(e.keyPath,0,e);function l(t){const n=t.query.index;return n.isVirtual?d(u({},t),{query:{index:n,range:(r=t.query.range,i=n.keyTail,{type:1===r.type?2:r.type,lower:dg(r.lower,r.lowerOpen?e.MAX_KEY:e.MIN_KEY,i),lowerOpen:!0,upper:dg(r.upper,r.upperOpen?e.MIN_KEY:e.MAX_KEY,i),upperOpen:!0})}}):t;var r,i}return d(u({},n),{schema:d(u({},r),{primaryKey:a,indexes:o,getIndexByKeyPath:function(e){const t=i[Xp(e)];return t&&t[0]}}),count:e=>n.count(l(e)),query:e=>n.query(l(e)),openCursor(t){const{keyTail:r,isVirtual:i,keyLength:o}=t.query.index;return i?n.openCursor(l(t)).then((n=>{return n&&(i=n,Object.create(i,{continue:{value:function(n){null!=n?i.continue(dg(n,t.reverse?e.MAX_KEY:e.MIN_KEY,r)):t.unique?i.continue(i.key.slice(0,o).concat(t.reverse?e.MIN_KEY:e.MAX_KEY,r)):i.continue()}},continuePrimaryKey:{value(t,n){i.continuePrimaryKey(dg(t,e.MAX_KEY,r),n)}},primaryKey:{get:()=>i.primaryKey},key:{get(){const e=i.key;return 1===o?e[0]:e.slice(0,o)}},value:{get:()=>i.value}}));var i})):n.openCursor(t)}})}})}};function pg(e,t,n,r){return n=n||{},r=r||"",Pu(e).forEach((i=>{if(Hu(t,i)){var o=e[i],s=t[i];if("object"==typeof o&&"object"==typeof s&&o&&s){const e=ld(o);e!==ld(s)?n[r+i]=t[i]:"Object"===e?pg(o,s,n,r+i+"."):o!==s&&(n[r+i]=t[i])}else o!==s&&(n[r+i]=t[i])}else n[r+i]=void 0})),Pu(t).forEach((i=>{Hu(e,i)||(n[r+i]=t[i])})),n}const gg={stack:"dbcore",name:"HooksMiddleware",level:2,create:e=>d(u({},e),{table(t){const n=e.table(t),{primaryKey:r}=n.schema;return d(u({},n),{mutate(e){const i=sf.trans,{deleting:o,creating:s,updating:a}=i.table(t).hook;switch(e.type){case"add":if(s.fire===Ad)break;return i._promise("readwrite",(()=>l(e)),!0);case"put":if(s.fire===Ad&&a.fire===Ad)break;return i._promise("readwrite",(()=>l(e)),!0);case"delete":if(o.fire===Ad)break;return i._promise("readwrite",(()=>l(e)),!0);case"deleteRange":if(o.fire===Ad)break;return i._promise("readwrite",(()=>{return c((t=e).trans,t.range,1e4);var t}),!0)}return n.mutate(e);function l(e){const t=sf.trans,i=e.keys||(l=r,"delete"===(c=e).type?c.keys:c.keys||c.values.map(l.extractKey));var l,c;if(!i)throw new Error("Keys missing");return"delete"!==(e="add"===e.type||"put"===e.type?d(u({},e),{keys:i}):u({},e)).type&&(e.values=[...e.values]),e.keys&&(e.keys=[...e.keys]),function(e,t,n){return"add"===t.type?Promise.resolve([]):e.getMany({trans:t.trans,keys:n,cache:"immutable"})}(n,e,i).then((l=>{const c=i.map(((n,i)=>{const c=l[i],h={onerror:null,onsuccess:null};if("delete"===e.type)o.fire.call(h,n,c,t);else if("add"===e.type||void 0===c){const o=s.fire.call(h,n,e.values[i],t);null==n&&null!=o&&(n=o,e.keys[i]=n,r.outbound||Ju(e.values[i],r.keyPath,n))}else{const r=pg(c,e.values[i]),o=a.fire.call(h,r,n,c,t);if(o){const t=e.values[i];Object.keys(o).forEach((e=>{Hu(t,e)?t[e]=o[e]:Ju(t,e,o[e])}))}}return h}));return n.mutate(e).then((({failures:t,results:n,numFailures:r,lastResult:o})=>{for(let s=0;s(c.forEach((t=>t.onerror&&t.onerror(e))),Promise.reject(e))))}))}function c(e,t,i){return n.query({trans:e,values:!1,query:{index:r,range:t},limit:i}).then((({result:n})=>l({type:"delete",keys:n,trans:e}).then((r=>r.numFailures>0?Promise.reject(r.failures[0]):n.length({table:t=>{const n=e.table(t);return d(u({},n),{getMany:e=>{if(!e.cache)return n.getMany(e);const t=kg(e.keys,e.trans._cache,"clone"===e.cache);return t?hf.resolve(t):n.getMany(e).then((t=>(e.trans._cache={keys:e.keys,values:"clone"===e.cache?od(t):t},t)))},mutate:e=>("add"!==e.type&&(e.trans._cache=null),n.mutate(e))})}})};function vg(e){return!("from"in e)}const yg=function(e,t){if(!this){const t=new yg;return e&&"d"in e&&Ru(t,e),t}Ru(this,arguments.length?{d:1,from:e,to:arguments.length>1?t:e}:{d:0})};function Lg(e,t,n){const r=Lp(t,n);if(isNaN(r))return;if(r>0)throw RangeError();if(vg(e))return Ru(e,{from:t,to:n,d:1});const i=e.l,o=e.r;if(Lp(n,e.from)<0)return i?Lg(i,t,n):e.l={from:t,to:n,d:1,l:null,r:null},_g(e);if(Lp(t,e.to)>0)return o?Lg(o,t,n):e.r={from:t,to:n,d:1,l:null,r:null},_g(e);Lp(t,e.from)<0&&(e.from=t,e.l=null,e.d=o?o.d+1:1),Lp(n,e.to)>0&&(e.to=n,e.r=null,e.d=e.l?e.l.d+1:1);const s=!e.r;i&&!e.l&&wg(e,i),o&&s&&wg(e,o)}function wg(e,t){vg(t)||function e(t,{from:n,to:r,l:i,r:o}){Lg(t,n,r),i&&e(t,i),o&&e(t,o)}(e,t)}function bg(e){let t=vg(e)?null:{s:0,n:e};return{next(e){const n=arguments.length>0;for(;t;)switch(t.s){case 0:if(t.s=1,n)for(;t.n.l&&Lp(e,t.n.from)<0;)t={up:t,n:t.n.l,s:1};else for(;t.n.l;)t={up:t,n:t.n.l,s:1};case 1:if(t.s=2,!n||Lp(e,t.n.to)<=0)return{value:t.n,done:!1};case 2:if(t.n.r){t.s=3,t={up:t,n:t.n.r,s:0};continue}case 3:t=t.up}return{done:!0}}}}function _g(e){var t,n;const r=((null===(t=e.r)||void 0===t?void 0:t.d)||0)-((null===(n=e.l)||void 0===n?void 0:n.d)||0),i=r>1?"r":r<-1?"l":"";if(i){const t="r"===i?"l":"r",n=u({},e),r=e[i];e.from=r.from,e.to=r.to,e[i]=r[i],n[i]=r[t],e[t]=n,n.d=xg(n)}e.d=xg(e)}function xg({r:e,l:t}){return(e?t?Math.max(e.d,t.d):e.d:t?t.d:0)+1}zu(yg.prototype,{add(e){return wg(this,e),this},addKey(e){return Lg(this,e,e),this},addKeys(e){return e.forEach((e=>Lg(this,e,e))),this},[cd](){return bg(this)}});const Cg={stack:"dbcore",level:0,create:e=>{const t=e.schema.name,n=new yg(e.MIN_KEY,e.MAX_KEY);return d(u({},e),{table:r=>{const i=e.table(r),{schema:o}=i,{primaryKey:s}=o,{extractKey:a,outbound:l}=s,c=d(u({},i),{mutate:e=>{const s=e.trans,a=s.mutatedParts||(s.mutatedParts={}),l=e=>{const n=`idb://${t}/${r}/${e}`;return a[n]||(a[n]=new yg)},c=l(""),h=l(":dels"),{type:u}=e;let[d,f]="deleteRange"===e.type?[e.range]:"delete"===e.type?[e.keys]:e.values.length<50?[[],e.values]:[];const p=e.trans._cache;return i.mutate(e).then((e=>{if(Iu(d)){"delete"!==u&&(d=e.results),c.addKeys(d);const n=kg(d,p);n||"add"===u||h.addKeys(d),(n||f)&&(t=l,r=n,i=f,o.indexes.forEach((function(e){const n=t(e.name||"");function o(t){return null!=t?e.extractKey(t):null}const s=t=>e.multiEntry&&Iu(t)?t.forEach((e=>n.addKey(e))):n.addKey(t);(r||i).forEach(((e,t)=>{const n=r&&o(r[t]),a=i&&o(i[t]);0!==Lp(n,a)&&(null!=n&&s(n),null!=a&&s(a))}))})))}else if(d){const e={from:d.lower,to:d.upper};h.add(e),c.add(e)}else c.add(n),h.add(n),o.indexes.forEach((e=>l(e.name).add(n)));var t,r,i;return e}))}}),h=({query:{index:t,range:n}})=>{var r,i;return[t,new yg(null!==(r=n.lower)&&void 0!==r?r:e.MIN_KEY,null!==(i=n.upper)&&void 0!==i?i:e.MAX_KEY)]},f={get:e=>[s,new yg(e.key)],getMany:e=>[s,(new yg).addKeys(e.keys)],count:h,query:h,openCursor:h};return Pu(f).forEach((e=>{c[e]=function(o){const{subscr:s}=sf;if(s){const c=e=>{const n=`idb://${t}/${r}/${e}`;return s[n]||(s[n]=new yg)},h=c(""),p=c(":dels"),[g,k]=f[e](o);if(c(g.name||"").add(k),!g.isPrimaryKey){if("count"!==e){const t="query"===e&&l&&o.values&&i.query(d(u({},o),{values:!1}));return i[e].apply(this,arguments).then((n=>{if("query"===e){if(l&&o.values)return t.then((({result:e})=>(h.addKeys(e),n)));const e=o.values?n.result.map(a):n.result;o.values?h.addKeys(e):p.addKeys(e)}else if("openCursor"===e){const e=n,t=o.values;return e&&Object.create(e,{key:{get:()=>(p.addKey(e.primaryKey),e.key)},primaryKey:{get(){const t=e.primaryKey;return p.addKey(t),t}},value:{get:()=>(t&&h.addKey(e.primaryKey),e.value)}})}return n}))}p.add(n)}}return i[e].apply(this,arguments)}})),c}})}};class Sg{constructor(e,t){this._middlewares={},this.verno=0;const n=Sg.dependencies;this._options=t=u({addons:Sg.addons,autoOpen:!0,indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange},t),this._deps={indexedDB:t.indexedDB,IDBKeyRange:t.IDBKeyRange};const{addons:r}=t;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;const i={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:Ad,dbReadyPromise:null,cancelOpen:Ad,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};var o,s;i.dbReadyPromise=new hf((e=>{i.dbReadyResolve=e})),i.openCanceller=new hf(((e,t)=>{i.cancelOpen=t})),this._state=i,this.name=e,this.on=up(this,"populate","blocked","versionchange","close",{ready:[Dd,Ad]}),this.on.ready.subscribe=Xu(this.on.ready.subscribe,(e=>(t,n)=>{Sg.vip((()=>{const r=this._state;if(r.openComplete)r.dbOpenError||hf.resolve().then(t),n&&e(t);else if(r.onReadyBeingFired)r.onReadyBeingFired.push(t),n&&e(t);else{e(t);const r=this;n||e((function e(){r.on.ready.unsubscribe(t),r.on.ready.unsubscribe(e)}))}}))})),this.Collection=(o=this,dp(_p.prototype,(function(e,t){this.db=o;let n=lp,r=null;if(t)try{n=t()}catch(l){r=l}const i=e._ctx,s=i.table,a=s.hook.reading.fire;this._ctx={table:s,index:i.index,isPrimKey:!i.index||s.schema.primKey.keyPath&&i.index===s.schema.primKey.name,range:n,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:r,or:i.or,valueMapper:a!==Pd?a:null}}))),this.Table=(s=this,dp(hp.prototype,(function(e,t,n){this.db=s,this._tx=n,this.name=e,this.schema=t,this.hook=s._allTables[e]?s._allTables[e].hook:up(null,{creating:[Bd,Ad],reading:[Id,Pd],updating:[Hd,Ad],deleting:[Wd,Ad]})}))),this.Transaction=function(e){return dp(zp.prototype,(function(t,n,r,i,o){this.db=e,this.mode=t,this.storeNames=n,this.schema=r,this.chromeTransactionDurability=i,this.idbtrans=null,this.on=up(this,"complete","error","abort"),this.parent=o||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new hf(((e,t)=>{this._resolve=e,this._reject=t})),this._completion.then((()=>{this.active=!1,this.on.complete.fire()}),(e=>{var t=this.active;return this.active=!1,this.on.error.fire(e),this.parent?this.parent._reject(e):t&&this.idbtrans&&this.idbtrans.abort(),Yf(e)}))}))}(this),this.Version=function(e){return dp(rg.prototype,(function(t){this.db=e,this._cfg={version:t,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}}))}(this),this.WhereClause=function(e){return dp(Pp.prototype,(function(t,n,r){this.db=e,this._ctx={table:t,index:":id"===n?null:n,or:r};const i=e._deps.indexedDB;if(!i)throw new Ed.MissingAPI;this._cmp=this._ascending=i.cmp.bind(i),this._descending=(e,t)=>i.cmp(t,e),this._max=(e,t)=>i.cmp(e,t)>0?e:t,this._min=(e,t)=>i.cmp(e,t)<0?e:t,this._IDBKeyRange=e._deps.IDBKeyRange}))}(this),this.on("versionchange",(e=>{e.newVersion,this.close()})),this.on("blocked",(e=>{!e.newVersion||(e.newVersion,e.oldVersion)})),this._maxKey=Vp(t.IDBKeyRange),this._createTransaction=(e,t,n,r)=>new this.Transaction(e,t,n,this._options.chromeTransactionDurability,r),this._fireOnBlocked=e=>{this.on("blocked").fire(e),Qf.filter((e=>e.name===this.name&&e!==this&&!e._state.vcFired)).map((t=>t.on("versionchange").fire(e)))},this.use(fg),this.use(gg),this.use(Cg),this.use(mg),this.vip=Object.create(this,{_vip:{value:!0}}),r.forEach((e=>e(this)))}version(e){if(isNaN(e)||e<.1)throw new Ed.Type("Given version is not a positive number");if(e=Math.round(10*e)/10,this.idbdb||this._state.isBeingOpened)throw new Ed.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,e);const t=this._versions;var n=t.filter((t=>t._cfg.version===e))[0];return n||(n=new this.Version(e),t.push(n),t.sort(Kp),n.stores({}),this._state.autoSchema=!1,n)}_whenReady(e){return this.idbdb&&(this._state.openComplete||sf.letThrough||this._vip)?e():new hf(((e,t)=>{if(this._state.openComplete)return t(new Ed.DatabaseClosed(this._state.dbOpenError));if(!this._state.isBeingOpened){if(!this._options.autoOpen)return void t(new Ed.DatabaseClosed);this.open().catch(Ad)}this._state.dbReadyPromise.then(e,t)})).then(e)}use({stack:e,create:t,level:n,name:r}){r&&this.unuse({stack:e,name:r});const i=this._middlewares[e]||(this._middlewares[e]=[]);return i.push({stack:e,create:t,level:null==n?10:n,name:r}),i.sort(((e,t)=>e.level-t.level)),this}unuse({stack:e,name:t,create:n}){return e&&this._middlewares[e]&&(this._middlewares[e]=this._middlewares[e].filter((e=>n?e.create!==n:!!t&&e.name!==t))),this}open(){return lg(this)}_close(){const e=this._state,t=Qf.indexOf(this);if(t>=0&&Qf.splice(t,1),this.idbdb){try{this.idbdb.close()}catch(n){}this._novip.idbdb=null}e.dbReadyPromise=new hf((t=>{e.dbReadyResolve=t})),e.openCanceller=new hf(((t,n)=>{e.cancelOpen=n}))}close(){this._close();const e=this._state;this._options.autoOpen=!1,e.dbOpenError=new Ed.DatabaseClosed,e.isBeingOpened&&e.cancelOpen(e.dbOpenError)}delete(){const e=arguments.length>0,t=this._state;return new hf(((n,r)=>{const i=()=>{this.close();var e=this._deps.indexedDB.deleteDatabase(this.name);e.onsuccess=Cf((()=>{!function({indexedDB:e,IDBKeyRange:t},n){!og(e)&&n!==ip&&ig(e,t).delete(n).catch(Ad)}(this._deps,this.name),n()})),e.onerror=Ip(r),e.onblocked=this._fireOnBlocked};if(e)throw new Ed.InvalidArgument("Arguments not allowed in db.delete()");t.isBeingOpened?t.dbReadyPromise.then(i):i()}))}backendDB(){return this.idbdb}isOpen(){return null!==this.idbdb}hasBeenClosed(){const e=this._state.dbOpenError;return e&&"DatabaseClosed"===e.name}hasFailed(){return null!==this._state.dbOpenError}dynamicallyOpened(){return this._state.autoSchema}get tables(){return Pu(this._allTables).map((e=>this._allTables[e]))}transaction(){const e=hg.apply(this,arguments);return this._transaction.apply(this,e)}_transaction(e,t,n){let r=sf.trans;r&&r.db===this&&-1===e.indexOf("!")||(r=null);const i=-1!==e.indexOf("?");let o,s;e=e.replace("!","").replace("?","");try{if(s=t.map((e=>{var t=e instanceof this.Table?e.name:e;if("string"!=typeof t)throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return t})),"r"==e||e===op)o=op;else{if("rw"!=e&&e!=sp)throw new Ed.InvalidArgument("Invalid transaction mode: "+e);o=sp}if(r){if(r.mode===op&&o===sp){if(!i)throw new Ed.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");r=null}r&&s.forEach((e=>{if(r&&-1===r.storeNames.indexOf(e)){if(!i)throw new Ed.SubTransaction("Table "+e+" not included in parent transaction.");r=null}})),i&&r&&!r.active&&(r=null)}}catch(l){return r?r._promise(null,((e,t)=>{t(l)})):Yf(l)}const a=ug.bind(null,this,o,s,r,n);return r?r._promise(o,a,"lock"):sf.trans?Df(sf.transless,(()=>this._whenReady(a))):this._whenReady(a)}table(e){if(!Hu(this._allTables,e))throw new Ed.InvalidTable(`Table ${e} does not exist`);return this._allTables[e]}}const jg="undefined"!=typeof Symbol&&"observable"in Symbol?Symbol.observable:"@@observable";class Mg{constructor(e){this._subscribe=e}subscribe(e,t,n){return this._subscribe(e&&"function"!=typeof e?e:{next:e,error:t,complete:n})}[jg](){return this}}function Eg(e,t){return Pu(t).forEach((n=>{wg(e[n]||(e[n]=new yg),t[n])})),e}let Tg;try{Tg={indexedDB:Au.indexedDB||Au.mozIndexedDB||Au.webkitIndexedDB||Au.msIndexedDB,IDBKeyRange:Au.IDBKeyRange||Au.webkitIDBKeyRange}}catch(jT){Tg={indexedDB:null,IDBKeyRange:null}}const Og=Sg;function Ag(e){let t=Pg;try{Pg=!0,Hp.storagemutated.fire(e)}finally{Pg=t}}zu(Og,d(u({},Od),{delete:e=>new Og(e,{addons:[]}).delete(),exists:e=>new Og(e,{addons:[]}).open().then((e=>(e.close(),!0))).catch("NoSuchDatabaseError",(()=>!1)),getDatabaseNames(e){try{return function({indexedDB:e,IDBKeyRange:t}){return og(e)?Promise.resolve(e.databases()).then((e=>e.map((e=>e.name)).filter((e=>e!==ip)))):ig(e,t).toCollection().primaryKeys()}(Og.dependencies).then(e)}catch(t){return Yf(new Ed.MissingAPI)}},defineClass:()=>function(e){Ru(this,e)},ignoreTransaction:e=>sf.trans?Df(sf.transless,e):e(),vip:sg,async:function(e){return function(){try{var t=cg(e.apply(this,arguments));return t&&"function"==typeof t.then?t:hf.resolve(t)}catch(n){return Yf(n)}}},spawn:function(e,t,n){try{var r=cg(e.apply(n,t||[]));return r&&"function"==typeof r.then?r:hf.resolve(r)}catch(i){return Yf(i)}},currentTransaction:{get:()=>sf.trans||null},waitFor:function(e,t){const n=hf.resolve("function"==typeof e?Og.ignoreTransaction(e):e).timeout(t||6e4);return sf.trans?sf.trans.waitFor(n):n},Promise:hf,debug:{get:()=>pd,set:e=>{gd(e,"dexie"===e?()=>!0:rp)}},derive:Fu,extend:Ru,props:zu,override:Xu,Events:up,on:Hp,liveQuery:function(e){let t,n=!1;const r=new Mg((r=>{const i=fd(e);let o=!1,s={},a={};const l={get closed(){return o},unsubscribe:()=>{o=!0,Hp.storagemutated.unsubscribe(d)}};r.start&&r.start(l);let c=!1,h=!1;function u(){return Pu(a).some((e=>s[e]&&function(e,t){const n=bg(t);let r=n.next();if(r.done)return!1;let i=r.value;const o=bg(e);let s=o.next(i.from),a=s.value;for(;!r.done&&!s.done;){if(Lp(a.from,i.to)<=0&&Lp(a.to,i.from)>=0)return!0;Lp(i.from,a.from)<0?i=(r=n.next(a.from)).value:a=(s=o.next(i.from)).value}return!1}(s[e],a[e])))}const d=e=>{Eg(s,e),u()&&f()},f=()=>{if(c||o)return;s={};const p={},g=function(t){i&&Pf();const n=()=>Af(e,{subscr:t,trans:null}),r=sf.trans?Df(sf.transless,n):n();return i&&r.then(If,If),r}(p);h||(Hp(Bp,d),h=!0),c=!0,Promise.resolve(g).then((e=>{n=!0,t=e,c=!1,o||(u()?f():(s={},a=p,r.next&&r.next(e)))}),(e=>{c=!1,n=!1,r.error&&r.error(e),l.unsubscribe()}))};return f(),l}));return r.hasValue=()=>n,r.getValue=()=>t,r},extendObservabilitySet:Eg,getByKeyPath:Ku,setByKeyPath:Ju,delByKeyPath:function(e,t){"string"==typeof t?Ju(e,t,void 0):"length"in t&&[].map.call(t,(function(t){Ju(e,t,void 0)}))},shallowClone:Qu,deepClone:od,getObjectDiff:pg,cmp:Lp,asap:Gu,minKey:qf,addons:[],connections:Qf,errnames:jd,dependencies:Tg,semVer:Zf,version:Zf.split(".").map((e=>parseInt(e))).reduce(((e,t,n)=>e+t/Math.pow(10,2*n)))})),Og.maxKey=Vp(Og.dependencies.IDBKeyRange),"undefined"!=typeof dispatchEvent&&"undefined"!=typeof addEventListener&&(Hp(Bp,(e=>{if(!Pg){let t;ep?(t=document.createEvent("CustomEvent"),t.initCustomEvent(Wp,!0,!0,e)):t=new CustomEvent(Wp,{detail:e}),Pg=!0,dispatchEvent(t),Pg=!1}})),addEventListener(Wp,(({detail:e})=>{Pg||Ag(e)})));let Pg=!1;if("undefined"!=typeof BroadcastChannel){const e=new BroadcastChannel(Wp);"function"==typeof e.unref&&e.unref(),Hp(Bp,(t=>{Pg||e.postMessage(t)})),e.onmessage=e=>{e.data&&Ag(e.data)}}else if("undefined"!=typeof self&&"undefined"!=typeof navigator){Hp(Bp,(e=>{try{Pg||("undefined"!=typeof localStorage&&localStorage.setItem(Wp,JSON.stringify({trig:Math.random(),changedParts:e})),"object"==typeof self.clients&&[...self.clients.matchAll({includeUncontrolled:!0})].forEach((t=>t.postMessage({type:Wp,changedParts:e}))))}catch(t){}})),"undefined"!=typeof addEventListener&&addEventListener("storage",(e=>{if(e.key===Wp){const t=JSON.parse(e.newValue);t&&Ag(t.changedParts)}}));const e=self.document&&navigator.serviceWorker;e&&e.addEventListener("message",(function({data:e}){e&&e.type===Wp&&Ag(e.changedParts)}))}hf.rejectionMapper=function(e,t){if(!e||e instanceof _d||e instanceof TypeError||e instanceof SyntaxError||!e.name||!Td[e.name])return e;var n=new Td[e.name](t||e.message,e);return"stack"in e&&Nu(n,"stack",{get:function(){return this.inner.stack}}),n},gd(pd,rp);const Ig="YFT",Rg=()=>g(void 0,null,(function*(){const e=(new Date).getTime(),t=localStorage.getItem(Eh),n=t?JSON.parse(t):[],r=(yield Sg.getDatabaseNames()).filter((t=>{if(-1===t.indexOf(Ig))return!1;const[r,i,o]=t.split("_");return r!==Ig||!i||!o||(!!n.includes(i)||e-+o>=432e5)}));for(const i of r)Sg.delete(i);localStorage.removeItem(Eh)}));const Bg=new class extends Sg{constructor(){super(`${Ig}_${Lu}_${(new Date).getTime()}`),p(this,"snapshots"),p(this,"writingBoardImgs"),this.version(1).stores({snapshots:"++id",writingBoardImgs:"++id"}),this.snapshots=this.table("snapshots"),this.writingBoardImgs=this.table("writingBoardImgs")}},Wg=e=>g(void 0,null,(function*(){return yield Qe.getClass(e.type).fromObject(e)})),Hg=Dt("snapshot",{state:()=>({snapshotCursor:-1,snapshotLength:0,processing:!1,layering:!1}),getters:{canUndo:e=>e.snapshotCursor>=0,canRedo:e=>e.snapshotCursor20&&(n.push(t[0]),r--),yield Bg.snapshots.bulkDelete(n),this.setSnapshotCursor(r-1),this.setSnapshotLength(r)}))},unDo(){return g(this,null,(function*(){const[e]=yu(),t=Ou(),{templateId:n}=Nt(t),r=this.snapshotCursor,i=(yield Bg.snapshots.orderBy("id").toArray())[r];if(!i)return;const{type:o,index:s,transform:a,action:l,target:c,objects:h,tid:f}=i,p=e._objects.findIndex((e=>e.id===c.id));switch(o){case du.ADD:e.remove(e._objects[p]);break;case du.DELETE:this.addTarget(c,p);break;case du.GROUP:const t=e._objects[s];if(!h)return;h.forEach((n=>g(this,null,(function*(){n.left+=t.left+t.width/2,n.top+=t.top+t.height/2;const r=yield Wg(n);e.add(r)})))),e.remove(t);break;case du.MODIFY:this.layering=!0;const n=d(u(u(u({},c),a),null==a?void 0:a.original),{originX:c.originX,originY:c.originY}),r=yield Wg(n);e.remove(e._objects[p]),e.insertAt(p,r),this.layering=!1}e.requestRenderAll(),this.setSnapshotCursor(r-1)}))},reDo(){return g(this,null,(function*(){const[e]=yu();if(this.snapshotCursor>=this.snapshotLength-1)return;const t=this.snapshotCursor+1,n=(yield Bg.snapshots.orderBy("id").toArray())[t],{type:r,index:i,transform:o,action:s,target:a,objects:l,tid:c}=n,h=e._objects.findIndex((e=>e.id===a.id));switch(r){case du.ADD:this.addTarget(a,h);break;case du.DELETE:e.remove(e._objects[h]);break;case du.MODIFY:this.layering=!0;const t=d(u(u(u({},a),o),null==o?void 0:o.original),{originX:a.originX,originY:a.originY}),n=yield Wg(t);e.remove(e._objects[h]),e.insertAt(h,n),this.layering=!1}this.setSnapshotCursor(t)}))},clear(){return g(this,null,(function*(){const e=yield Bg.snapshots.orderBy("id").keys();yield Bg.snapshots.bulkDelete(e),this.setSnapshotCursor(-1),this.setSnapshotLength(0)}))},addTarget(e,t){return g(this,null,(function*(){const[n]=yu(),r=yield Wg(e);n.insertAt(t,r)}))}}}),zg=Dt("keyboard",{state:()=>({ctrlKeyState:!1,shiftKeyState:!1,spaceKeyState:!1}),getters:{ctrlOrShiftKeyActive:e=>e.ctrlKeyState||e.shiftKeyState},actions:{setCtrlKeyState(e){this.ctrlKeyState=e},setShiftKeyState(e){this.shiftKeyState=e},setSpaceKeyState(e){this.spaceKeyState=e}}}),Dg=Dt("user",{state:()=>({id:0,uuid:"",username:"",nickname:"",phone:"",avatar:"",deptId:0,email:"",isMultiLogin:!1,isStaff:!1,isSuperuser:!1,joinTime:"",lastLoginTime:"",loginStatus:!1,token:""}),getters:{activeElementList(){}},actions:{setLoginStatus(e){this.loginStatus=e}}});function Ng(e,t,n){var r,i;const o=this.pointIndex,s=n.points[o].x-n.pathOffset.x,a=n.points[o].y-n.pathOffset.y,l=(null==(r=n.canvas)?void 0:r.viewportTransform)?null==(i=n.canvas)?void 0:i.viewportTransform:[1,0,0,1,0,0],c=Ge.transformPoint({x:s,y:a},Ge.multiplyTransformMatrices(l,n.calcTransformMatrix()));return n.pointMoving(o,c),c}const Fg=e=>{const t=e.scaleX,n=e.scaleY,r=e.strokeWidth,i=e.width,o=e.height,s=new Ve(e.strokeUniform?1/t:1,e.strokeUniform?1/n:1).scalarMultiply(r);return new Ve(i+s.x,o+s.y)},Vg=(e,t)=>function(n,r,i,o){const s=r.target,a=s.points[e].x,l=s.points[e].y,c=new Ve({x:a-s.pathOffset.x,y:l-s.pathOffset.y}),h=Ge.transformPoint(c,s.calcTransformMatrix()),u=t(n,r,i,o);s.setDimensions();const d=Fg(s),f=(a-s.pathOffset.x)/d.x,p=(l-s.pathOffset.y)/d.y;return s.setPositionByOrigin(h,f+.5,p+.5),u},Ug=(e,t,n,r)=>{const i=t.target;if(!i.__corner)return;const o=i.controls[i.__corner],s=ot.getLocalPoint(t,"center","center",n,r),a=Fg(i),l=i._getTransformedDimensions(0),c={x:s.x*a.x/l.x+i.pathOffset.x,y:s.y*a.y/l.y+i.pathOffset.y};return i.points[o.pointIndex]=c,!0},$g=(e,t=!1)=>{const n=e.getObjectScaling(),r=e._getTransformedDimensions({scaleX:n.x,scaleY:n.y});return t||(r.setX(Xa(r.x)),r.setY(Xa(r.y))),r},Yg=e=>`url("data:image/svg+xml,") 12 12,auto`,Xg=e=>({sizeX:16,sizeY:16,actionHandler:(t,n,r,i)=>{var o;return null==(o=n.target.canvas)||o.setCursor(Yg(n.target.angle+e)),((e,t,n,r)=>{const{shiftKey:i}=e,{target:o}=t,{rotationWithSnapping:s}=ot;let a;i&&(a=o.snapAngle,o.snapAngle=15);const l=s(e,t,n,r);return a&&(o.snapAngle=a),l})(t,n,r,i)},cursorStyleHandler:(t,n,r)=>Yg(r.angle+e),render:ya,actionName:"rotate"}),Zg={cursorStyleHandler:ot.scaleCursorStyleHandler,actionHandler:ot.scalingEqually,actionName:"scaling"},Gg=ot.wrapWithFireEvent("scaling",ot.wrapWithFixedAnchor(ot.changeWidth)),qg=ot.wrapWithFireEvent("scaling",ot.wrapWithFixedAnchor(((e,t,n,r)=>{const i=ot.getLocalPoint(t,t.originX,t.originY,n,r),{target:o}=t;if("top"===t.originY&&i.y>0||"bottom"===t.originY&&i.y<0){const e=o.strokeWidth?o.strokeWidth:0;if(!o.scaleY)return!1;const t=e/(o.strokeUniform?o.scaleY:1),n=o.height,r=Math.ceil(Math.abs(1*i.y/o.scaleY)-t);return o.set("height",Math.max(r,0)),n!==o.height}return!1})));ot.wrapWithFireEvent("scaling",ot.wrapWithFixedAnchor(((e,t,n,r)=>{const i=t.target;let o,s=ot.getLocalPoint(t,t.originX,t.originY,n,r),a=i.strokeWidth/(i.strokeUniform?i.scaleX:1),l="center"===t.originY?2:1,c=(s.y+i.controls[t.corner].offsetY-i.height/2+i._contentOffsetY)*l/i.scaleY-a,h=i.calcTextHeight();return o=Math.abs(c)<=h/2?0:c>0?c-h/2:c+h/2,i.set(o),!1})));const Kg=()=>({size:new st({x:0,y:.5,cursorStyleHandler:()=>"",offsetY:14,sizeX:1e-4,sizeY:1e-4,touchSizeX:1e-4,touchSizeY:1e-4,render:(e,t,n,r,i)=>{e.save(),e.translate(t,n);e.rotate((()=>{const e=i.group?i.getTotalAngle():i.angle,t=e*Ya,n=Math.sin(t),r=Math.cos(t);return(e-(Math.abs(n)>Math.abs(r)?90*Math.sign(n):90*Math.sign(r)-90))*Ya})());e.font="12px Tahoma",e.textAlign="center",e.textBaseline="middle";const{x:o,y:s}=$g(i),{unitMode:a}=Nt(wu());let l=0===a.value?`${Xa(Qa(o))} × ${Xa(Qa(s))}`:`${o} × ${s}`;const c=e.measureText(l).width+8;e.fillStyle="#0066ff",e.fillRect(-c/2,-9,c,18),e.fill(),e.fillStyle="#fff",e.fillText(l,0,1),e.restore()},positionHandler:(e,t,n,r)=>{var i,o;const s=(null==(i=n.canvas)?void 0:i.getActiveObject)instanceof Function?null==(o=n.canvas)?void 0:o.getActiveObject():null;if(s&&s===n){const e=n.getTotalAngle()*Ya,t=Math.sin(e),i=Math.cos(e);if(Math.abs(t)>=Math.abs(i)){const e=Math.sign(t);r.x=e/2,r.y=0,r.offsetX=14*e,r.offsetY=0}else{const e=Math.sign(i);r.x=0,r.y=e/2,r.offsetX=0,r.offsetY=14*e}(e=>{if(!e.canvas)return;const t=e.canvas.getZoom(),n=$g(e).scalarMultiply(t),r=e.controls;["ml","mr"].forEach((t=>{r[t].sizeX=e.cornerSize,r[t].sizeY=n.y,r[t].touchSizeX=e.touchCornerSize,r[t].touchSizeY=n.y})),["mt","mb"].forEach((t=>{r[t].sizeX=n.x,r[t].sizeY=e.cornerSize,r[t].touchSizeX=n.x,r[t].touchSizeY=e.touchCornerSize}))})(n)}return((e,t,n,r)=>new Ve(r.x*e.x+r.offsetX,r.y*e.y+r.offsetY).transform(t))(e,t,0,r)}}),tlr:new st(u({x:-.5,y:-.5,offsetX:-4,offsetY:-4},Xg(0))),trr:new st(u({x:.5,y:-.5,offsetX:4,offsetY:-4},Xg(90))),brr:new st(u({x:.5,y:.5,offsetX:4,offsetY:4},Xg(180))),blr:new st(u({x:-.5,y:.5,offsetX:-4,offsetY:4},Xg(270))),ml:new st({x:-.5,y:0,actionHandler:ot.scalingXOrSkewingY,cursorStyleHandler:ot.scaleSkewCursorStyleHandler,actionName:"scaling",render:ya}),mr:new st({x:.5,y:0,actionHandler:ot.scalingXOrSkewingY,cursorStyleHandler:ot.scaleSkewCursorStyleHandler,actionName:"scaling",render:ya}),mb:new st({x:0,y:.5,actionHandler:ot.scalingYOrSkewingX,cursorStyleHandler:ot.scaleSkewCursorStyleHandler,actionName:"scaling",render:ya}),mt:new st({x:0,y:-.5,actionHandler:ot.scalingYOrSkewingX,cursorStyleHandler:ot.scaleSkewCursorStyleHandler,actionName:"scaling",render:ya}),tl:new st(u({x:-.5,y:-.5},Zg)),tr:new st(u({x:.5,y:-.5},Zg)),bl:new st(u({x:-.5,y:.5},Zg)),br:new st(u({x:.5,y:.5},Zg))}),Jg=()=>u(u({},Kg()),{mr:new st({x:.5,y:0,actionHandler:Gg,cursorStyleHandler:ot.scaleSkewCursorStyleHandler,render:ya}),ml:new st({x:-.5,y:0,actionHandler:Gg,cursorStyleHandler:ot.scaleSkewCursorStyleHandler,render:ya}),mt:new st({x:0,y:-.5,actionHandler:qg,cursorStyleHandler:ot.scaleSkewCursorStyleHandler,render:ya}),mb:new st({x:0,y:.5,actionHandler:qg,cursorStyleHandler:ot.scaleSkewCursorStyleHandler,render:ya})});function Qg(e,t,n,r){const i=e.getRelativeCenterPoint(),o=e.translateToGivenOrigin(i,"center","center",n,r);return(e.angle?t.rotate(-Ge.degreesToRadians(e.angle),i):t).subtract(o)}function ek(e,t,n,r,i){const o=Math.abs(e.x/n),s=Math.abs(e.y/t);return r||i?Math.max(o,s):Math.min(o,s)}function tk(e,t,n,r){const i=t,o="right",{width:s}=i.target,a=-s/2,l=i.target.getRelativeCenterPoint(),c=Qg(i.target,new Ve(n,r),"center","center"),h=i.target.translateToOriginPoint(l,o,i.originY);let u=c.x/i.target.scaleX-a,d=s-u;return i.target.cropX+u<0&&(u=-i.target.cropX,d=s+i.target.cropX),d<=0&&(u+=d,d=0),i.target.width=d,i.target.setPositionByOrigin(h,o,i.originY),i.target.cropX+=u,!0}function nk(e,t,n,r){const i=t,o="right",{width:s}=i.target,a=i.target.getOriginalElementWidth(),l=-s/2,c=i.target.getRelativeCenterPoint(),h=Qg(i.target,new Ve(n,r),"center","center"),u=i.target.translateToOriginPoint(c,o,i.originY);let d=s-(h.x/i.target.scaleX-l);return d+i.target.cropX>a&&(d=a-i.target.cropX),d<0&&(d=0),i.target.width=d,i.target.setPositionByOrigin(u,o,i.originY),!0}function rk(e,t,n,r){const i=t,o="left",{width:s}=i.target,a=i.target.getOriginalElementWidth(),l=s/2,c=i.target.getRelativeCenterPoint(),h=Qg(i.target,new Ve(n,r),"center","center"),u=i.target.translateToOriginPoint(c,o,i.originY);let d=s-(l-h.x/i.target.scaleX);return d+i.target.cropX>a&&(d=a-i.target.cropX),d<0&&(d=0),i.target.width=d,i.target.setPositionByOrigin(u,o,i.originY),!0}function ik(e,t,n,r){const i=t,o="left",{width:s}=i.target,a=s/2,l=i.target.getRelativeCenterPoint(),c=ot.getLocalPoint(t,"center","center",n,r),h=i.target.translateToOriginPoint(l,o,i.originY);let u=a-c.x/i.target.scaleX,d=s-u;return i.target.cropX+u<0&&(u=-i.target.cropX,d=s+i.target.cropX),d<=0&&(u+=d,d=0),i.target.width=d,i.target.setPositionByOrigin(h,o,i.originY),i.target.cropX+=u,!0}function ok(e,t,n,r){const i=t,o="bottom",{height:s}=i.target,a=-s/2,l=i.target.getRelativeCenterPoint(),c=ot.getLocalPoint(t,"center","center",n,r),h=i.target.translateToOriginPoint(l,i.originX,o);let u=c.y/i.target.scaleY-a,d=s-u;return i.target.cropY+u<0&&(u=-i.target.cropY,d=s+i.target.cropY),d<=0&&(u+=d,d=0),i.target.height=d,i.target.setPositionByOrigin(h,i.originX,o),i.target.cropY+=u,!0}function sk(e,t,n,r){const i=t,o="bottom",{height:s}=i.target,a=i.target.getOriginalElementHeight(),l=-s/2,c=i.target.getRelativeCenterPoint(),h=ot.getLocalPoint(t,"center","center",n,r),u=i.target.translateToOriginPoint(c,i.originX,o);let d=s-(h.y/i.target.scaleY-l);return d+i.target.cropY>a&&(d=a-i.target.cropY),d<0&&(d=0),i.target.height=d,i.target.setPositionByOrigin(u,i.originX,o),!0}function ak(e,t,n,r){const i=t,{height:o}=i.target,s=i.target.getOriginalElementHeight(),a=o/2,l=i.target.getRelativeCenterPoint(),c=ot.getLocalPoint(t,"center","center",n,r),h=i.target.translateToOriginPoint(l,i.originX,"top");let u=o-(a-c.y/i.target.scaleY);return u+i.target.cropY>s&&(u=s-i.target.cropY),u<0&&(u=0),i.target.height=u,i.target.setPositionByOrigin(h,i.originX,"top"),!0}function lk(e,t,n,r){const i=t,{height:o}=i.target,s=o/2,a=i.target.getRelativeCenterPoint(),l=ot.getLocalPoint(t,"center","center",n,r),c=i.target.translateToOriginPoint(a,i.originX,"top");let h=s-l.y/i.target.scaleY,u=o-h;return i.target.cropY+h<0&&(h=-i.target.cropY,u=o+i.target.cropY),u<=0&&(h+=u,u=0),i.target.height=u,i.target.setPositionByOrigin(c,i.originX,"top"),i.target.cropY+=h,!0}const ck=e=>(t,n,r,i)=>e(t,n,r,i),hk=ck(((e,t,n,r)=>{const{target:i}=t,o=i.flipX?nk(0,t,n,r):tk(0,t,n,r),s=i.flipY?sk(0,t,n,r):ok(0,t,n,r);return o||s})),uk=ck(((e,t,n,r)=>{const{target:i}=t,o=i.flipX?ik(0,t,n,r):rk(0,t,n,r),s=i.flipY?lk(0,t,n,r):ak(0,t,n,r);return o||s})),dk=ck(((e,t,n,r)=>{const{target:i}=t,o=i.flipX?nk(0,t,n,r):tk(0,t,n,r),s=i.flipY?lk(0,t,n,r):ak(0,t,n,r);return o||s})),fk=ck(((e,t,n,r)=>{const{target:i}=t,o=i.flipX?ik(0,t,n,r):rk(0,t,n,r),s=i.flipY?sk(0,t,n,r):ok(0,t,n,r);return o||s}));function pk(e,t,n){const r=n.calcTransformMatrix(),i=n.getViewportTransform(),o=Ge.multiplyTransformMatrices(i,r),s={x:-n.width/2-n.cropX,y:-n.height/2-n.cropY};return Ge.transformPoint(s,o)}function gk(e,t,n){const r=n.calcTransformMatrix(),i=n.getViewportTransform(),o=Ge.multiplyTransformMatrices(i,r),s={x:n.getOriginalElementWidth()-n.width/2-n.cropX,y:-n.height/2-n.cropY};return Ge.transformPoint(s,o)}function kk(e,t,n){const r=n.calcTransformMatrix(),i=n.getViewportTransform(),o=Ge.multiplyTransformMatrices(i,r),s=n.getOriginalElementWidth(),a=n.getOriginalElementHeight(),l={x:s-n.width/2-n.cropX,y:a-n.height/2-n.cropY};return Ge.transformPoint(l,o)}function mk(e,t,n){const r=n.calcTransformMatrix(),i=n.getViewportTransform(),o=Ge.multiplyTransformMatrices(i,r),s=n.getOriginalElementHeight(),a={x:-n.width/2-n.cropX,y:s-n.height/2-n.cropY};return Ge.transformPoint(a,o)}function vk(e,t,n,r){const{target:i}=t,o=i.getOriginalElementWidth(),s=i.getOriginalElementHeight(),a=s-i.height-i.cropY,l=i.cropX/i.width,c=a/i.height,h=i.getRelativeCenterPoint(),u=i.translateToOriginPoint(h,-l,1+c),d=ot.getLocalPoint(t,-l,1+c,n,r),f=i.scaleX,p=i.scaleY,g=ek(d,s,o,i.flipX,i.flipY),k=g/f,m=g/p,v=i.width/k,y=i.height/m,L=a/m,w=i.cropX/k,b=s-y-L;if(w+v>o||L+y>s)return!1;i.scaleX=g,i.scaleY=g,i.height=y,i.width=v,i.cropX=w,i.cropY=b,i.clippingPath&&(i.clippingPath.scaleX/=k,i.clippingPath.scaleY/=m);const _=L/i.height,x=i.cropX/i.width;return i.setPositionByOrigin(u,-x,1+_),!0}function yk(e,t,n,r){const{target:i}=t,o=i.getOriginalElementWidth(),s=i.getOriginalElementHeight(),a=i.cropX/i.width,l=i.cropY/i.height,c=i.getRelativeCenterPoint(),h=i.translateToOriginPoint(c,-a,-l),u=ot.getLocalPoint(t,-a,-l,n,r),d=i.scaleX,f=i.scaleY,p=ek(u,s,o,i.flipX,i.flipY),g=p/d,k=p/f,m=i.width/g,v=i.height/k,y=i.cropX/g,L=i.cropY/k;if(y+m>o||L+v>s)return!1;i.scaleX=p,i.scaleY=p,i.height=v,i.width=m,i.cropX=y,i.cropY=L,i.clippingPath&&(i.clippingPath.scaleX/=g,i.clippingPath.scaleY/=k);const w=i.cropX/i.width,b=i.cropY/i.height;return i.setPositionByOrigin(h,-w,-b),!0}function Lk(e,t,n,r){const{target:i}=t,o=i.getOriginalElementWidth(),s=i.getOriginalElementHeight(),a=o-i.width-i.cropX,l=a/i.width,c=i.cropY/i.height,h=i.getRelativeCenterPoint(),u=i.translateToOriginPoint(h,1+l,-c),d=ot.getLocalPoint(t,1+l,-c,n,r),f=i.scaleX,p=i.scaleY,g=ek(d,s,o,i.flipX,i.flipY),k=g/f,m=g/p,v=i.width/k,y=i.height/m,L=a/k,w=o-v-L,b=i.cropY/m;if(v+a>o||y+b>s)return!1;i.scaleX=g,i.scaleY=g,i.height=y,i.width=v,i.cropX=w,i.cropY=b,i.clippingPath&&(i.clippingPath.scaleX/=k,i.clippingPath.scaleY/=m);const _=L/v,x=b/y;return i.setPositionByOrigin(u,1+_,-x),!0}function wk(e,t,n,r){const{target:i}=t,o=i.getOriginalElementWidth(),s=i.getOriginalElementHeight(),a=o-i.width-i.cropX,l=s-i.height-i.cropY,c=1+a/i.width,h=1+l/i.height,u=i.getRelativeCenterPoint(),d=i.translateToOriginPoint(u,c,h),f=ek(ot.getLocalPoint(t,c,h,n,r),s,o,i.flipX,i.flipY),p=f/i.scaleX,g=f/i.scaleY,k=a/p,m=l/g,v=i.width/p,y=i.height/g,L=o-v-k,w=s-y-m;if(v+k>o||y+m>s)return!1;i.scaleX=f,i.scaleY=f,i.width=v,i.height=y,i.cropX=L,i.cropY=w,i.clippingPath&&(i.clippingPath.scaleX/=p,i.clippingPath.scaleY/=g);const b=1+k/v,_=1+m/y;return i.setPositionByOrigin(d,b,_),!0}function bk(){delete this.__targetlessCanvasDrag,this.defaultCursor=this.__defaultCursor,delete this.__defaultCursor}function _k(e){const t=e.target,n=this.getActiveObject();if(n&&(!t||n.id!==t.id)&&n.isCropping){const{tlS:t,trS:r,blS:i,brS:o}=n.oCoords,s=[{x:t.x,y:t.y},{x:r.x,y:r.y},{x:o.x,y:o.y},{x:i.x,y:i.y}];if(n.__corner)return;const a=function(e,t){let n=!1;for(let r=0,i=t.length-1;re.y!=l>e.y&&e.x<(a-o)*(e.y-s)/(l-s)+o&&(n=!n)}return n}(n.canvas.getPointer(e,!0),s);if(a)return n.resetCropModeAnchors(),n.canvas.__targetlessCanvasDrag=!0,n.canvas.__defaultCursor=n.canvas.defaultCursor,n.canvas.defaultCursor="move",n.canvas.selectable=!1,void(n.canvas.evented=!1);if(n.cropPath){const e=new rt(n.cropPath);n.set({clipPath:e,width:e.width,height:e.height})}n.onDeselectEvent(),n.isCropping=!1,n.canvas.defaultCursor="default",n.canvas.renderAll()}}function xk({e:e}){var t;const n=this.getActiveObject();if(!n||!(null==(t=n.canvas)?void 0:t.__targetlessCanvasDrag)||"mousemove"!==e.type||!n)return;const r={x:e.movementX,y:e.movementY},i=n.calcTransformMatrix(),o=n.canvas.viewportTransform,s=Ge.invertTransform(Ge.multiplyTransformMatrices(o,i));s[4]=0,s[5]=0;const a=Ge.transformPoint(r,s);n.cropX-=a.x,n.cropY-=a.y,n.fire("moving"),n.canvas.requestRenderAll()}const Ck=Ge.degreesToRadians;function Sk(e,t,n,r,i){if(!this.getVisibility(i))return;e.save(),e.translate(t,n),e.rotate(Ck(this.angle+i.angle)),e.beginPath(),e.lineWidth=6,e.lineCap="round",e.strokeStyle="#dfe2e8",e.moveTo(0,10),e.lineTo(0,0),e.lineTo(10,0),e.stroke(),e.restore()}function jk(e,t,n,r,i){if(this.visibility=!0,!this.getVisibility(i)||i.clippingPath)return void(this.visibility=!1);e.save(),e.translate(t,n),e.rotate(Ck(this.angle+i.angle)),e.beginPath(),e.lineWidth=4,e.lineCap="round",e.strokeStyle="#dfe2e8",e.moveTo(-6,0),e.lineTo(6,0),e.stroke(),e.restore()}function Mk(e,t,n){return function(r,i,o,s,a){r.save(),r.shadowColor="rgba(12, 18, 28, 0.38)",r.shadowBlur=4,r.shadowOffsetX=e,r.shadowOffsetY=t,n.call(this,r,i,o,s,a),r.restore()}}const{scaleCursorStyleHandler:Ek,renderCircleControl:Tk}=ot,Ok=Mk(2,2,Sk),Ak=Mk(-2,2,Sk),Pk=Mk(2,-2,Sk),Ik=Mk(-2,-2,Sk),Rk=Mk(0,2,jk),Bk=Mk(0,-2,jk),Wk=Mk(2,0,jk),Hk=Mk(-2,0,jk),zk={tlS:new st({x:-.5,y:-.5,actionName:"tlS",cursorStyleHandler:Ek,positionHandler:pk,actionHandler:wk,render:Tk}),trS:new st({x:.5,y:-.5,actionName:"trS",cursorStyleHandler:Ek,positionHandler:gk,actionHandler:vk,render:Tk}),blS:new st({x:-.5,y:.5,actionName:"blS",cursorStyleHandler:Ek,positionHandler:mk,actionHandler:Lk,render:Tk}),brS:new st({x:.5,y:.5,actionName:"brS",cursorStyleHandler:Ek,positionHandler:kk,actionHandler:yk,render:Tk}),cropLeft:new st({x:-.5,y:0,actionName:"cropLeft",render:Wk,actionHandler:tk,angle:90}),cropRight:new st({x:.5,y:0,actionName:"cropRight",render:Hk,actionHandler:rk,angle:90}),cropTop:new st({x:0,y:-.5,actionName:"cropTop",render:Rk,actionHandler:ok}),cropBottom:new st({x:0,y:.5,actionName:"cropBottom",render:Bk,actionHandler:ak}),cropCornerTL:new st({x:-.5,y:-.5,actionName:"cropCornerTL",render:Ok,actionHandler:hk}),cropCornerBL:new st({x:-.5,y:.5,actionName:"cropCornerBL",render:Pk,angle:270,actionHandler:dk}),cropCornerBR:new st({x:.5,y:.5,actionName:"cropCornerBR",render:Ik,angle:180,actionHandler:uk}),cropCornerTR:new st({x:.5,y:-.5,actionName:"cropCornerTR",render:Ak,angle:90,actionHandler:fk})};tt.prototype.controls;const Dk={tlS:new st({x:-.5,y:-.5,actionName:"tlS",cursorStyleHandler:Ek,positionHandler:gk,actionHandler:vk,render:Tk}),trS:new st({x:.5,y:-.5,actionName:"trS",cursorStyleHandler:Ek,positionHandler:pk,actionHandler:wk,render:Tk}),blS:new st({x:-.5,y:.5,actionName:"blS",cursorStyleHandler:Ek,positionHandler:kk,actionHandler:yk,render:Tk}),brS:new st({x:.5,y:.5,actionName:"brS",cursorStyleHandler:Ek,positionHandler:mk,actionHandler:Lk,render:Tk}),cropLeft:new st({x:-.5,y:0,actionName:"cropLeft",render:Wk,actionHandler:nk,angle:90}),cropRight:new st({x:.5,y:0,actionName:"cropRight",render:Hk,actionHandler:ik,angle:90}),cropTop:new st({x:0,y:-.5,actionName:"cropTop",render:Rk,actionHandler:ok}),cropBottom:new st({x:0,y:.5,actionName:"cropBottom",render:Bk,actionHandler:ak}),cropCornerTL:new st({x:-.5,y:-.5,actionName:"cropCornerTL",render:Ok,actionHandler:hk}),cropCornerBL:new st({x:-.5,y:.5,actionName:"cropCornerBL",render:Pk,angle:270,actionHandler:dk}),cropCornerBR:new st({x:.5,y:.5,actionName:"cropCornerBR",render:Ik,angle:180,actionHandler:uk}),cropCornerTR:new st({x:.5,y:-.5,actionName:"cropCornerTR",render:Ak,angle:90,actionHandler:fk})},Nk={tlS:new st({x:-.5,y:-.5,actionName:"tlS",cursorStyleHandler:Ek,positionHandler:mk,actionHandler:Lk,render:Tk}),trS:new st({x:.5,y:-.5,actionName:"trS",cursorStyleHandler:Ek,positionHandler:kk,actionHandler:yk,render:Tk}),blS:new st({x:-.5,y:.5,actionName:"blS",cursorStyleHandler:Ek,positionHandler:pk,actionHandler:wk,render:Tk}),brS:new st({x:.5,y:.5,actionName:"brS",cursorStyleHandler:Ek,positionHandler:gk,actionHandler:vk,render:Tk}),cropLeft:new st({x:-.5,y:0,actionName:"cropLeft",render:Wk,actionHandler:tk,angle:90}),cropRight:new st({x:.5,y:0,actionName:"cropRight",render:Hk,actionHandler:rk,angle:90}),cropTop:new st({x:0,y:-.5,actionName:"cropTop",render:Rk,actionHandler:sk}),cropBottom:new st({x:0,y:.5,actionName:"cropBottom",render:Bk,actionHandler:lk}),cropCornerTL:new st({x:-.5,y:-.5,actionName:"cropCornerTL",render:Ok,actionHandler:hk}),cropCornerBL:new st({x:-.5,y:.5,actionName:"cropCornerBL",render:Pk,angle:270,actionHandler:dk}),cropCornerBR:new st({x:.5,y:.5,actionName:"cropCornerBR",render:Ik,angle:180,actionHandler:uk}),cropCornerTR:new st({x:.5,y:-.5,actionName:"cropCornerTR",render:Ak,angle:90,actionHandler:fk})},Fk={tlS:new st({x:-.5,y:-.5,actionName:"tlS",cursorStyleHandler:Ek,positionHandler:kk,actionHandler:function(e,t,n,r){const{target:i}=t,o=i.getOriginalElementWidth(),s=i.getOriginalElementHeight(),a=1+i.cropX/i.width,l=1+i.cropY/i.height,c=i.getRelativeCenterPoint(),h=i.translateToOriginPoint(c,a,l),u=ot.getLocalPoint(t,a,l,n,r),d=i.scaleX,f=i.scaleY,p=ek(u,s,o,i.flipX,i.flipY),g=p/d,k=p/f,m=i.width/g,v=i.height/k,y=i.cropX/g,L=i.cropY/k;if(y+m>o||L+v>s)return!1;i.scaleX=p,i.scaleY=p,i.height=v,i.width=m,i.cropX=y,i.cropY=L,i.clippingPath&&(i.clippingPath.scaleX/=g,i.clippingPath.scaleY/=k);const w=1+i.cropX/i.width,b=1+i.cropY/i.height;return i.setPositionByOrigin(h,w,b),!0},render:Tk}),trS:new st({x:.5,y:-.5,actionName:"trS",cursorStyleHandler:Ek,positionHandler:mk,actionHandler:function(e,t,n,r){const{target:i}=t,o=i.getOriginalElementWidth(),s=i.getOriginalElementHeight(),a=o-i.width-i.cropX,l=a/i.width,c=i.cropY/i.height,h=i.getRelativeCenterPoint(),u=i.translateToOriginPoint(h,-l,1+c),d=ot.getLocalPoint(t,-l,1+c,n,r),f=i.scaleX,p=i.scaleY,g=ek(d,s,o,i.flipX,i.flipY),k=g/f,m=g/p,v=i.width/k,y=i.height/m,L=a/k,w=o-v-L,b=i.cropY/m;if(v+a>o||y+b>s)return!1;i.scaleX=g,i.scaleY=g,i.height=y,i.width=v,i.cropX=w,i.cropY=b,i.clippingPath&&(i.clippingPath.scaleX/=k,i.clippingPath.scaleY/=m);const _=L/v,x=b/y;return i.setPositionByOrigin(u,-_,1+x),!0},render:Tk}),blS:new st({x:-.5,y:.5,actionName:"blS",cursorStyleHandler:Ek,positionHandler:gk,actionHandler:function(e,t,n,r){const{target:i}=t,o=i.getOriginalElementWidth(),s=i.getOriginalElementHeight(),a=s-i.height-i.cropY,l=i.cropX/i.width,c=a/i.height,h=i.getRelativeCenterPoint(),u=i.translateToOriginPoint(h,1+l,-c),d=ot.getLocalPoint(t,1+l,-c,n,r),f=i.scaleX,p=i.scaleY,g=ek(d,s,o,i.flipX,i.flipY),k=g/f,m=g/p,v=i.width/k,y=i.height/m,L=a/m,w=i.cropX/k,b=s-y-L;if(w+v>o||L+y>s)return!1;i.scaleX=g,i.scaleY=g,i.height=y,i.width=v,i.cropX=w,i.cropY=b,i.clippingPath&&(i.clippingPath.scaleX/=k,i.clippingPath.scaleY/=m);const _=L/i.height,x=i.cropX/i.width;return i.setPositionByOrigin(u,1+x,-_),!0},render:Tk}),brS:new st({x:.5,y:.5,actionName:"brS",cursorStyleHandler:Ek,positionHandler:pk,actionHandler:function(e,t,n,r){const{target:i}=t,o=i.getOriginalElementWidth(),s=i.getOriginalElementHeight(),a=o-i.width-i.cropX,l=s-i.height-i.cropY,c=a/i.width,h=l/i.height,u=i.getRelativeCenterPoint(),d=i.translateToOriginPoint(u,-c,-h),f=ek(ot.getLocalPoint(t,-c,-h,n,r),s,o,i.flipX,i.flipY),p=f/i.scaleX,g=f/i.scaleY,k=a/p,m=l/g,v=i.width/p,y=i.height/g,L=o-v-k,w=s-y-m;if(v+k>o||y+m>s)return!1;i.scaleX=f,i.scaleY=f,i.width=v,i.height=y,i.cropX=L,i.cropY=w,i.clippingPath&&(i.clippingPath.scaleX/=p,i.clippingPath.scaleY/=g);const b=k/v,_=m/y;return i.setPositionByOrigin(d,-b,-_),!0},render:Tk}),cropLeft:new st({x:-.5,y:0,actionName:"cropLeft",render:Wk,actionHandler:nk,angle:90}),cropRight:new st({x:.5,y:0,actionName:"cropRight",render:Hk,actionHandler:ik,angle:90}),cropTop:new st({x:0,y:-.5,actionName:"cropTop",render:Rk,actionHandler:sk}),cropBottom:new st({x:0,y:.5,actionName:"cropBottom",render:Bk,actionHandler:lk}),cropCornerTL:new st({x:-.5,y:-.5,actionName:"cropCornerTL",render:Ok,actionHandler:hk}),cropCornerBL:new st({x:-.5,y:.5,actionName:"cropCornerBL",render:Pk,angle:270,actionHandler:dk}),cropCornerBR:new st({x:.5,y:.5,actionName:"cropCornerBR",render:Ik,angle:180,actionHandler:uk}),cropCornerTR:new st({x:.5,y:-.5,actionName:"cropCornerTR",render:Ak,angle:90,actionHandler:fk})};let Vk=class extends it{constructor(e,t){super(e,u({filters:[]},t)),p(this,"isCropping"),p(this,"cropKey"),p(this,"cropPath"),p(this,"cropSize"),p(this,"originWidth"),p(this,"originHeight"),p(this,"effects"),p(this,"groupMask"),this.effects=null==t?void 0:t.effects,this.groupMask=null==t?void 0:t.groupMask,this.renderEffects(),this.on("mousedblclick",this.doubleClickHandler.bind(this))}doubleClickHandler(e){!this.canvas||!e.target||e.target!==this||e.target.lockMovementX&&e.target.lockMovementY||(this.set({__isCropping:!0,clipPath:void 0}),this.canvas.setActiveObject(this),this.canvas.requestRenderAll())}get __isCropping(){return this.isCropping}set __isCropping(e){this.isCropping=e,this.__isCropping&&this.onMousedbclickEvent()}onMousedbclickEvent(){const e=this.canvas;e&&(e.defaultCursor="move",function(e){const{canvas:t}=e;if(!t)return;e.hoverCursor=tt.prototype.hoverCursor,t.requestRenderAll();const n=e.onDeselect;e.onDeselect=(...t)=>(n.call(e,...t),!0)}(this),this.lastEventTop=this.top,this.lastEventLeft=this.left,this.setupDragMatrix(),this.bindCropModeHandlers(),this.controls=zk,this.flipX&&!this.flipY&&(this.controls=Dk),this.flipY&&!this.flipX&&(this.controls=Nk),this.flipX&&this.flipY&&(this.controls=Fk),this.scaleX!=this.scaleY?this.setControlsVisibility({tlS:!1,trS:!1,blS:!1,brS:!1}):this.setControlsVisibility({tlS:!0,trS:!0,blS:!0,brS:!0}),this.setCoords(),e.centeredKey=null,e.altActionKey=null,e.selection=!1)}get _cropKey(){return this.cropKey}set _cropKey(e){this.cropSize=Math.min(this.width,this.height),this.cropKey!==e&&e&&(this.clipPath=void 0),this.cropKey=e,this.setCropCoords(this.cropSize,this.cropSize)}initEffects(){this.effects&&(this.originWidth=this.width,this.originHeight=this.height,this.originSrc=this.getSrc())}setCropCoords(e,t){if(!this.clipPath){const n=this.left+this.getOriginalElementWidth()/2-e/2,r=this.top+this.getOriginalElementHeight()/2-t/2;this.cropX=n-this.left,this.cropY=r-this.top,this.width=e,this.height=t}}getOriginalElementWidth(){return this._originalElement?this._originalElement.naturalWidth||this._originalElement.width:0}getOriginalElementHeight(){return this._originalElement?this._originalElement.naturalHeight||this._originalElement.height:0}getElementWidth(){return this._element?this._element.naturalWidth||this._element.width:0}getElementHeight(){return this._element?this._element.naturalHeight||this._element.height:0}_getOriginalTransformedDimensions(e={}){const t=u({scaleX:this.scaleX,scaleY:this.scaleY,skewX:this.skewX,skewY:this.skewY,width:this.getOriginalElementWidth(),height:this.getOriginalElementHeight(),strokeWidth:this.strokeWidth},e),n=t.strokeWidth;let r=n,i=0;this.strokeUniform&&(r=0,i=n);const o=t.width+r,s=t.height+r;let a;return a=0===t.skewX&&0===t.skewY?new Ve(o*t.scaleX,s*t.scaleY):Ge.sizeAfterTransform(o,s,t),a.scalarAdd(i)}_render(e){const t=this.width||0,n=this.height||0,r=this._element;if(e.save(),this.__isCropping){this._removeShadow(e),e.globalAlpha=.5;const i=this.getElementWidth(),o=this.getElementHeight(),s=-(this.cropX||0)-t/2,a=-(this.cropY||0)-n/2;e.drawImage(r,s,a,i,o),e.globalAlpha=1}super._render(e),this._drawCroppingLines(e),this._drawCroppingPath(e),e.restore()}drawBorders(e,t,n){this._renderCroppingBorders(e),super.drawBorders(e,t,n)}renderEffects(e){return g(this,null,(function*(){if(this.effects){this.initEffects(),this.originSrc&&(yield this.setSrc(this.originSrc));for(let t=0;t{const r=n.top-t.top,i=n.left-t.left;r<=0&&i<=0&&n.height+r>=t.height&&n.width+i>=t.width||(e.fillStyle="#000",r>0&&e.fillRect(0,0,t.width,r),i>0&&e.fillRect(0,0,i,t.height),r+n.heightnew this(e,r)))}))}static fromObject(e,t){return g(this,null,(function*(){var n=e,{filters:r,resizeFilter:i,src:o,crossOrigin:s}=n,a=f(n,["filters","resizeFilter","src","crossOrigin"]);return a.originSrc&&a.effects&&(o=a.originSrc),a.originWidth&&a.effects&&(a.width=a.originWidth),a.originHeight&&a.effects&&(a.height=a.originHeight),Promise.all([Ge.loadImage(o,d(u({},t),{crossOrigin:s})),r&&Ge.enlivenObjects(r,t),i&&Ge.enlivenObjects([i],t),Ge.enlivenObjectEnlivables(a,t)]).then((([e,t=[],[n]=[],r={}])=>{const i=new this(e,u(d(u({},a),{src:o,crossOrigin:s,filters:t,resizeFilter:n}),r));return i.renderMask(),i}))}))}};Object.assign(Vk.prototype,u(u({cacheProperties:[...tt.cacheProperties,"cropX","cropY"]},{type:"Image",strokeWidth:0,srcFromAttribute:!1,minimumScaleTrigger:.5,cropX:0,cropY:0,imageSmoothing:!0}),{cropBorderColor:"#43b9d3",cropBorderScaleFactor:2,cropCornerStyle:"default",cropDarkLayer:"#16191e",cropLinesColor:"#f6f7fa",croppingBeforeVals:["stroke","strokeWidth","cornerSize"],bindCropModeHandlers(){this.unbindCropModeHandlers(),this.on("moving",this.cropModeHandlerMoveImage),this.on("mousedown",this.resetCropModeAnchors),this.canvas.on("before:transform",this.cropBeforeHelper),this.canvas.on("mouse:up",bk),this.canvas.on("mouse:down",_k),this.canvas.on("mouse:move",xk)},unbindCropModeHandlers(){this.off("moving",this.cropModeHandlerMoveImage),this.off("mousedown",this.resetCropModeAnchors),this.canvas.off("before:transform",this.cropBeforeHelper),this.canvas.off("mouse:up",bk),this.canvas.off("mouse:down",_k),this.canvas.off("mouse:move",xk)},onDeselectEvent(){const e=this.canvas;var t,n;e&&(function(e){const{canvas:t}=e;if(!t)return;t.requestRenderAll();const n=e.onDeselect;e.onDeselect=(...t)=>(n.call(e,...t),!1)}(this),delete this.lastEventTop,delete this.lastEventLeft,this.unbindCropModeHandlers(),e.centeredKey=nt.prototype.centeredKey,e.altActionKey=nt.prototype.altActionKey,e.selection=!0,this.controls=Kg(),this.setCoords(),null==(n=(t=this).canvas)||n.fire("object:modified",{action:"cropImage",target:t}))},_drawDarkLayer(e){!this.isCropping&&!this.isInPerspectiveMode||this===this.canvas.backgroundImage||(e.save(),e.setTransform(1,0,0,1,0,0),e.globalAlpha=.5,e.fillStyle=this.cropDarkLayer,e.fillRect(0,0,this.canvas.lowerCanvasEl.width,this.canvas.lowerCanvasEl.height),e.restore())},_drawCroppingLines(e){if(!this.__isCropping||!this.canvas||this.cropKey)return;const t=this.width,n=this.height,r=this.canvas.getZoom()*at.devicePixelRatio;e.save(),e.lineWidth=1,e.globalAlpha=1,e.strokeStyle=this.cropLinesColor,e.beginPath(),e.moveTo(-t/2+t/3,-n/2),e.lineTo(-t/2+t/3,n/2),e.moveTo(-t/2+2*t/3,-n/2),e.lineTo(-t/2+2*t/3,n/2),e.moveTo(-t/2,-n/2+n/3),e.lineTo(t/2,-n/2+n/3),e.moveTo(-t/2,-n/2+2*n/3),e.lineTo(t/2,-n/2+2*n/3),e.scale(1/(this.scaleX*r),1/(this.scaleY*r)),e.stroke(),e.restore()},_drawCroppingPath(e){if(!this.__isCropping||!this.canvas||!this.cropKey)return;const t=this.canvas.getZoom()*at.devicePixelRatio;e.save(),e.lineWidth=1,e.globalAlpha=1,e.strokeStyle=this.cropLinesColor,this.cropPath=ia[this.cropKey].createPath(this.width,this.height),e.stroke(new Path2D(this.cropPath)),e.scale(1/(this.scaleX*t),1/(this.scaleY*t)),e.restore()},resetCropModeAnchors(){this.lastEventTop=this.top,this.lastEventLeft=this.left,this.lastTop=void 0,this.lastLeft=void 0},setupDragMatrix(){this.moveTransformationMatrix=Ge.invertTransform(this.calcTransformMatrix()),this.changeToPositionMatrix=this.calcTransformMatrix().concat(),this.moveTransformationMatrix[4]=0,this.moveTransformationMatrix[5]=0,this.changeToPositionMatrix[4]=0,this.changeToPositionMatrix[5]=0},cropBeforeHelper({transform:e}){const{action:t,target:n}=e;"scale"===t.substring(0,5)&&(n.cropAnchorPoint=n.translateToOriginPoint(n.getCenterPoint(),e.originX,e.originY))},cropModeHandlerMoveImage(){if(!this.isCropping)return;const e=void 0===this.lastTop?this.lastEventTop:this.lastTop,t=void 0===this.lastLeft?this.lastEventLeft:this.lastLeft,n=new Ve(t-this.left,e-this.top),r=Ge.transformPoint(n,this.moveTransformationMatrix),i=this._element.naturalWidth||this._element.width,o=this._element.naturalHeight||this._element.height,s=r.x,a=r.y;let l=this.cropX+s,c=this.cropY+a;l<0?(this.cropX,l=0):l+this.width>i&&(l=i-this.width,this.cropX,this.width),c<0?(this.cropY,c=0):c+this.height>o&&(c=o-this.height,this.cropY,this.height),this.cropX=l,this.cropY=c,this.lastTop=this.top,this.lastLeft=this.left,this.top=this.lastEventTop,this.left=this.lastEventLeft}})),Qe.setClass(Vk),Qe.setSVGClass(Vk);Qe.setClass(class e extends Ye{constructor(e,t){super(e,t),p(this,"subTargetCheck",!0),p(this,"interactive",!1),p(this,"isShow",!1),this.on("mousedblclick",this.doubleClickHandler.bind(this))}addDeselectedEvent(e){e.once("deselected",(()=>{var e;const t=null==(e=this.canvas)?void 0:e.getActiveObject();t&&t.getAncestors().includes(this)?this.addDeselectedEvent(t):this.set({interactive:!1,objectCaching:!0})}))}onActiveTarget(e){this.canvas&&e.group&&!e.group.interactive&&e.getAncestors().forEach((t=>{const n=t;n.interactive||(n.set({interactive:!0,objectCaching:!1}),n.addDeselectedEvent(e))}))}doubleClickHandler(e){var t;if(!this.canvas||!e.target||e.target!==this||!e.subTargets||0===e.subTargets.length||this.interactive)return;this.set({interactive:!0,objectCaching:!1}),this.addDeselectedEvent(this);const n=e.subTargets.indexOf(this),r=null!=(t=e.subTargets[n-1])?t:e.subTargets[e.subTargets.length-1];this.canvas.setActiveObject(r),this.canvas.requestRenderAll()}_onObjectRemoved(e,t){if(super._onObjectRemoved(e,t),0===this.size()){const e=this.group?this.group:this.canvas;e&&e.remove(this)}}static fromObject(t,n){return g(this,null,(function*(){var r,o,s,l=t,{type:c,objects:h=[],layoutManager:d}=l,p=f(l,["type","objects","layoutManager"]);return p.mask&&h.forEach((e=>e.groupMask=p.mask)),(r=e,o=this,s="fromObject",a(i(r),s,o)).call(this,u({type:c,objects:h,layoutManager:d},p),n)}))}});const Uk=e=>Object.keys(e);Qe.setClass(class extends lt{constructor(e,t){super(e,t),p(this,"canvasEvents"),p(this,"pointSize",10),p(this,"aligningLineMargin",10),p(this,"aligningLineWidth",1),p(this,"aligningLineColor","#F68066"),p(this,"verticalLines",[]),p(this,"horizontalLines",[]),p(this,"ignoreObjTypes",[]),p(this,"pickObjTypes",[]),p(this,"startStyle"),p(this,"endStyle"),this.startStyle=t.startStyle,this.endStyle=t.endStyle;this.canvasEvents={mouseup:()=>{(this.horizontalLines.length||this.verticalLines.length)&&(this.clearGuideline(),this.clearStretLine())}},this.on(this.canvasEvents),this.initControls()}pointMoving(e,t){var n;if(!(null==(n=this.canvas)?void 0:n.contextTop))return t;if(this.clearStretLine(),!this.canvas)return t;if(!this.canvas._currentTransform)return t;const r=this.canvas.getActiveObjects(),i=[],o=e=>{const t=e.getObjects().filter((e=>this.ignoreObjTypes.length?!this.ignoreObjTypes.some((t=>e.get(t.key)===t.value)):this.pickObjTypes.length?this.pickObjTypes.some((t=>e.get(t.key)===t.value)):!r.includes(e)&&(!!e.visible&&(Nh(e)?(o(e),!1):!Dh(e)||!this.group||e!==this.group||(o(e),!1)))));i.push(...t)},s=this.group?this.group:this.canvas;return Vh(s)&&i.push(s),o(s),this.traversAllObjects(e,t,i)}clearStretLine(){this.verticalLines.length=this.horizontalLines.length=0}initControls(){const e={};this.points.forEach(((t,n)=>{e[n]=new st({positionHandler:Ng,actionHandler:Vg(n>0?n-1:this.points.length-1,Ug),actionName:"modifyPolygon",pointIndex:n})})),this.controls=e}traversAllObjects(e,t,n){const r=this.getObjDraggingObjCoords(),i=new Set,o=new Set;for(let s=n.length;s--;){const e=d(u({},this.__getCoords(n[s])),{c:n[s].getCenterPoint()}),{objHeight:t,objWidth:a}=this.getObjMaxWidthHeightByCoords(e);Uk(r).forEach((t=>{const i=0!==n[s].angle?this.omitCoords(e,"horizontal"):e;Uk(i).forEach((n=>{if(this.isInRange(r[t].y,e[n].y)){const i=e[n].y,s=r[t].y-i;o.add(r.c.y-s);const l=this.__getCoords(this),{x1:c,x2:h}=function(n,r){let i,o;return"c"===n?(i=Math.min(e.c.x-a/2,r[t].x),o=Math.max(e.c.x+a/2,r[t].x)):(i=Math.min(e[n].x,r[t].x),o=Math.max(e[n].x,r[t].x)),{x1:i,x2:o}}(n,d(u({},l),{c:this.calcCenterPointByACoords(l)}));this.horizontalLines.push({y:i,x1:c,x2:h})}}))})),Uk(r).forEach((o=>{const a=0!==n[s].angle?this.omitCoords(e,"vertical"):e;Uk(a).forEach((n=>{if(this.isInRange(r[o].x,e[n].x)){const s=e[n].x,l=r[o].x-s;i.add(r.c.x-l);const c=this.__getCoords(this),{y1:h,y2:f}=function(n,r){let i,s;return"c"===n?(i=Math.min(a.c.y-t/2,r[o].y),s=Math.max(a.c.y+t/2,r[o].y)):(i=Math.min(e[n].y,r[o].y),s=Math.max(e[n].y,r[o].y)),{y1:i,y2:s}}(n,d(u({},c),{c:this.calcCenterPointByACoords(c)}));this.verticalLines.push({x:s,y1:h,y2:f})}}))}))}return this.snap({point:t,snapXPoints:i,snapYPoints:o})}getObjDraggingObjCoords(){const e=this.__getCoords(this),t=this.calcCenterPointByACoords(e).subtract(this.getCenterPoint()),n=Uk(e).map((n=>e[n].subtract(t)));return{tl:n[0],tr:n[1],br:n[2],bl:n[3],c:this.getCenterPoint()}}getObjMaxWidthHeightByCoords(e){const{c:t,tl:n,tr:r}=e;return{objHeight:2*Math.max(Math.abs(t.y-n.y),Math.abs(t.y-r.y)),objWidth:2*Math.max(Math.abs(t.x-n.x),Math.abs(t.x-r.x))}}omitCoords(e,t){const n=e,r="vertical"===t?"x":"y";return Uk(e).forEach((t=>{e[t][r]n.tl[r]&&(n[t]=e[t])})),n}isInRange(e,t){return!!this.canvas&&Math.abs(Math.round(e)-Math.round(t))<=this.aligningLineMargin/this.canvas.getZoom()}__getCoords(e){const[t,n,r,i]=e.getCoords();return{tl:t,tr:n,br:r,bl:i}}calcCenterPointByACoords(e){return new Ve((e.tl.x+e.br.x)/2,(e.tl.y+e.br.y)/2)}snap({point:e,snapXPoints:t,snapYPoints:n}){if(0===t.size&&0===n.size)return e;const r=(e,t)=>{if(0===e.size)return t;return[...e].sort(((e,n)=>Math.abs(t-e)-Math.abs(t-n)))[0]};return new Ve(r(t,e.x),r(n,e.y))}setLineMode(e,t){"start"===t&&(this.startStyle=e),"end"===t&&(this.endStyle=e)}_render(e){super._render(e),this.clearGuideline(),this.renderStartStyle(e),this.renderEndStyle(e),this.drawGuideLines()}renderStartStyle(e){if(!this.startStyle)return;const t=this.points[0],n=this.points[this.points.length-1],r=t.x-n.x,i=t.y-n.y,o=Math.atan2(i,r);this.startStyle===ol.ARROW&&(e.save(),e.translate((t.x-n.x)/2,(t.y-n.y)/2),e.rotate(o),e.beginPath(),e.moveTo(this.pointSize,0),e.lineTo(-this.pointSize,this.pointSize),e.lineTo(-this.pointSize,-this.pointSize),e.closePath(),e.fillStyle=this.stroke,e.fill(),e.restore()),this.startStyle===ol.DOT&&(e.save(),e.translate((t.x-n.x)/2,(t.y-n.y)/2),e.rotate(o),e.beginPath(),e.arc(0,0,this.pointSize,0,2*Math.PI),e.closePath(),e.fillStyle=this.stroke,e.fill(),e.restore())}renderEndStyle(e){if(!this.endStyle)return;this.points[0];const t=this.points[this.points.length-1],n=t.x-this.points[0].x,r=t.y-this.points[0].y,i=Math.atan2(r,n);this.endStyle===ol.ARROW&&(e.save(),e.translate((t.x-this.points[0].x)/2,(t.y-this.points[0].y)/2),e.rotate(i),e.beginPath(),e.moveTo(this.pointSize,0),e.lineTo(-this.pointSize,this.pointSize),e.lineTo(-this.pointSize,-this.pointSize),e.closePath(),e.fillStyle=this.stroke,e.fill(),e.restore()),this.endStyle===ol.DOT&&(e.save(),e.translate((t.x-this.points[0].x)/2,(t.y-this.points[0].y)/2),e.rotate(i),e.beginPath(),e.arc(0,0,this.pointSize,0,2*Math.PI),e.closePath(),e.fillStyle=this.stroke,e.fill(),e.restore())}drawVerticalLine(e,t){this.drawLine(e.x,Math.min(e.y1,e.y2),e.x,Math.max(e.y1,e.y2))}drawSign(e,t){if(!this.canvas)return;const n=this.canvas.getTopContext();n.strokeStyle=this.aligningLineColor,n.beginPath();n.moveTo(e-3,t-3),n.lineTo(e+3,t+3),n.moveTo(e+3,t-3),n.lineTo(e-3,t+3),n.stroke()}drawLine(e,t,n,r){if(!this.canvas)return;const i=this.canvas.getTopContext(),o=Ge.transformPoint(new Ve(e,t),this.canvas.viewportTransform),s=Ge.transformPoint(new Ve(n,r),this.canvas.viewportTransform);i.save(),i.lineWidth=this.aligningLineWidth,i.strokeStyle=this.aligningLineColor,i.beginPath(),i.moveTo(o.x,o.y),i.lineTo(s.x,s.y),i.stroke(),this.drawSign(o.x,o.y),this.drawSign(s.x,s.y),i.restore(),this.dirty=!0}drawHorizontalLine(e,t){this.drawLine(Math.min(e.x1,e.x2),e.y,Math.max(e.x1,e.x2),e.y)}drawGuideLines(){if(!this.canvas)return;const e=this.getObjDraggingObjCoords();if(this.verticalLines.length)for(let t=this.verticalLines.length;t--;)this.drawVerticalLine(this.verticalLines[t],e);if(this.horizontalLines.length)for(let t=this.horizontalLines.length;t--;)this.drawHorizontalLine(this.horizontalLines[t],e);this.canvas.calcOffset()}clearGuideline(){this.canvas&&(this.dirty=!1,this.canvas.contextTop&&this.canvas.clearContext(this.canvas.getTopContext()))}toSVG(e){return super.toSVG(e)}dispose(){super.dispose(),this.off(this.canvasEvents)}});const $k=e=>Object.keys(e);class Yk extends ct{constructor(e,t){super(e,t),p(this,"canvasEvents"),p(this,"pointSize",10),p(this,"aligningLineMargin",10),p(this,"aligningLineWidth",1),p(this,"aligningLineColor","#F68066"),p(this,"verticalLines",[]),p(this,"horizontalLines",[]),p(this,"ignoreObjTypes",[]),p(this,"pickObjTypes",[]),p(this,"startStyle"),p(this,"endStyle"),this.startStyle=t.startStyle,this.endStyle=t.endStyle;this.canvasEvents={mouseup:()=>{(this.horizontalLines.length||this.verticalLines.length)&&(this.clearGuideline(),this.clearStretLine())}},this.on(this.canvasEvents),this.initControls()}pointMoving(e,t){var n;if(!(null==(n=this.canvas)?void 0:n.contextTop))return t;if(this.clearStretLine(),!this.canvas)return t;if(!this.canvas._currentTransform)return t;const r=this.canvas.getActiveObjects(),i=[],o=e=>{const t=e.getObjects().filter((e=>this.ignoreObjTypes.length?!this.ignoreObjTypes.some((t=>e.get(t.key)===t.value)):this.pickObjTypes.length?this.pickObjTypes.some((t=>e.get(t.key)===t.value)):!r.includes(e)&&(!!e.visible&&(Nh(e)?(o(e),!1):!Dh(e)||!this.group||e!==this.group||(o(e),!1)))));i.push(...t)},s=this.group?this.group:this.canvas;return Vh(s)&&i.push(s),o(s),this.traversAllObjects(e,t,i)}clearStretLine(){this.verticalLines.length=this.horizontalLines.length=0}initControls(){const e={};this.points.forEach(((t,n)=>{e[n]=new st({positionHandler:Ng,actionHandler:Vg(n>0?n-1:this.points.length-1,Ug),actionName:"modifyPolyline",pointIndex:n})})),this.controls=e}traversAllObjects(e,t,n){const r=this.getObjDraggingObjCoords(),i=new Set,o=new Set;for(let s=n.length;s--;){const e=d(u({},this.__getCoords(n[s])),{c:n[s].getCenterPoint()}),{objHeight:t,objWidth:a}=this.getObjMaxWidthHeightByCoords(e);$k(r).forEach((t=>{const i=0!==n[s].angle?this.omitCoords(e,"horizontal"):e;$k(i).forEach((n=>{if(this.isInRange(r[t].y,e[n].y)){const i=e[n].y,s=r[t].y-i;o.add(r.c.y-s);const l=this.__getCoords(this),{x1:c,x2:h}=function(n,r){let i,o;return"c"===n?(i=Math.min(e.c.x-a/2,r[t].x),o=Math.max(e.c.x+a/2,r[t].x)):(i=Math.min(e[n].x,r[t].x),o=Math.max(e[n].x,r[t].x)),{x1:i,x2:o}}(n,d(u({},l),{c:this.calcCenterPointByACoords(l)}));this.horizontalLines.push({y:i,x1:c,x2:h})}}))})),$k(r).forEach((o=>{const a=0!==n[s].angle?this.omitCoords(e,"vertical"):e;$k(a).forEach((n=>{if(this.isInRange(r[o].x,e[n].x)){const s=e[n].x,l=r[o].x-s;i.add(r.c.x-l);const c=this.__getCoords(this),{y1:h,y2:f}=function(n,r){let i,s;return"c"===n?(i=Math.min(a.c.y-t/2,r[o].y),s=Math.max(a.c.y+t/2,r[o].y)):(i=Math.min(e[n].y,r[o].y),s=Math.max(e[n].y,r[o].y)),{y1:i,y2:s}}(n,d(u({},c),{c:this.calcCenterPointByACoords(c)}));this.verticalLines.push({x:s,y1:h,y2:f})}}))}))}return this.snap({point:t,snapXPoints:i,snapYPoints:o})}getObjDraggingObjCoords(){const e=this.__getCoords(this),t=this.calcCenterPointByACoords(e).subtract(this.getCenterPoint()),n=$k(e).map((n=>e[n].subtract(t)));return{tl:n[0],tr:n[1],br:n[2],bl:n[3],c:this.getCenterPoint()}}getObjMaxWidthHeightByCoords(e){const{c:t,tl:n,tr:r}=e;return{objHeight:2*Math.max(Math.abs(t.y-n.y),Math.abs(t.y-r.y)),objWidth:2*Math.max(Math.abs(t.x-n.x),Math.abs(t.x-r.x))}}omitCoords(e,t){const n=e,r="vertical"===t?"x":"y";return $k(e).forEach((t=>{e[t][r]n.tl[r]&&(n[t]=e[t])})),n}isInRange(e,t){return!!this.canvas&&Math.abs(Math.round(e)-Math.round(t))<=this.aligningLineMargin/this.canvas.getZoom()}__getCoords(e){const[t,n,r,i]=e.getCoords();return{tl:t,tr:n,br:r,bl:i}}calcCenterPointByACoords(e){return new Ve((e.tl.x+e.br.x)/2,(e.tl.y+e.br.y)/2)}snap({point:e,snapXPoints:t,snapYPoints:n}){if(0===t.size&&0===n.size)return e;const r=(e,t)=>{if(0===e.size)return t;return[...e].sort(((e,n)=>Math.abs(t-e)-Math.abs(t-n)))[0]};return new Ve(r(t,e.x),r(n,e.y))}setLineMode(e,t){"start"===t&&(this.startStyle=e),"end"===t&&(this.endStyle=e)}_render(e){super._render(e)}renderStartStyle(e){if(!this.startStyle)return;const t=this.points[0],n=this.points[this.points.length-1],r=t.x-n.x,i=t.y-n.y,o=Math.atan2(i,r);this.renderPointStyle(e,r,i,o,this.startStyle)}renderEndStyle(e){if(!this.endStyle)return;const t=this.points[this.points.length-2],n=this.points[this.points.length-1],r=n.x-t.x,i=n.y-t.y,o=Math.atan2(i,r);this.renderPointStyle(e,r,i,o,this.endStyle)}renderPointStyle(e,t,n,r,i){e.save(),e.translate(t/2,n/2),e.rotate(r),e.beginPath(),"arrow"===i?(e.moveTo(this.pointSize,0),e.lineTo(-this.pointSize,this.pointSize),e.lineTo(-this.pointSize,-this.pointSize)):e.arc(0,0,this.pointSize,0,2*Math.PI),e.closePath(),e.fillStyle=this.stroke,e.fill(),e.restore()}drawVerticalLine(e,t){this.drawLine(e.x,Math.min(e.y1,e.y2),e.x,Math.max(e.y1,e.y2))}drawSign(e,t){if(!this.canvas)return;const n=this.canvas.getTopContext();n.strokeStyle=this.aligningLineColor,n.beginPath();n.moveTo(e-3,t-3),n.lineTo(e+3,t+3),n.moveTo(e+3,t-3),n.lineTo(e-3,t+3),n.stroke()}drawLine(e,t,n,r){if(!this.canvas)return;const i=this.canvas.getTopContext(),o=Ge.transformPoint(new Ve(e,t),this.canvas.viewportTransform),s=Ge.transformPoint(new Ve(n,r),this.canvas.viewportTransform);i.save(),i.lineWidth=this.aligningLineWidth,i.strokeStyle=this.aligningLineColor,i.beginPath(),i.moveTo(o.x,o.y),i.lineTo(s.x,s.y),i.stroke(),this.drawSign(o.x,o.y),this.drawSign(s.x,s.y),i.restore(),this.dirty=!0}drawHorizontalLine(e,t){this.drawLine(Math.min(e.x1,e.x2),e.y,Math.max(e.x1,e.x2),e.y)}drawGuideLines(){if(!this.canvas)return;const e=this.getObjDraggingObjCoords();if(this.verticalLines.length)for(let t=this.verticalLines.length;t--;)this.drawVerticalLine(this.verticalLines[t],e);if(this.horizontalLines.length)for(let t=this.horizontalLines.length;t--;)this.drawHorizontalLine(this.horizontalLines[t],e);this.canvas.calcOffset()}clearGuideline(){this.canvas&&(this.dirty=!1,this.canvas.contextTop&&this.canvas.clearContext(this.canvas.getTopContext()))}toSVG(e){return super.toSVG(e)}dispose(){super.dispose(),this.off(this.canvasEvents)}}Qe.setClass(Yk);const Xk=e=>Object.keys(e);Qe.setClass(class extends et{constructor([e,t,n,r],i){super([e,t,n,r],i),p(this,"canvasEvents"),p(this,"aligningLineMargin",10),p(this,"aligningLineWidth",1),p(this,"aligningLineColor","#F68066"),p(this,"verticalLines",[]),p(this,"horizontalLines",[]),p(this,"ignoreObjTypes",[]),p(this,"pickObjTypes",[]),p(this,"startStyle"),p(this,"endStyle");this.canvasEvents={mouseup:()=>{(this.horizontalLines.length||this.verticalLines.length)&&(this.clearGuideline(),this.clearStretLine())}},this.on(this.canvasEvents)}pointMoving(e,t){var n;if(!(null==(n=this.canvas)?void 0:n.contextTop))return t;if(this.clearStretLine(),!this.canvas)return t;if(!this.canvas._currentTransform)return t;const r=this.canvas.getActiveObjects(),i=[],o=e=>{const t=e.getObjects().filter((e=>this.ignoreObjTypes.length?!this.ignoreObjTypes.some((t=>e.get(t.key)===t.value)):this.pickObjTypes.length?this.pickObjTypes.some((t=>e.get(t.key)===t.value)):!r.includes(e)&&(!!e.visible&&(Nh(e)?(o(e),!1):!Dh(e)||!this.group||e!==this.group||(o(e),!1)))));i.push(...t)},s=this.group?this.group:this.canvas;return Vh(s)&&i.push(s),o(s),this.traversAllObjects(e,t,i)}clearStretLine(){this.verticalLines.length=this.horizontalLines.length=0}traversAllObjects(e,t,n){const r=this.getObjDraggingObjCoords(),i=new Set,o=new Set;for(let s=n.length;s--;){const e=d(u({},this.__getCoords(n[s])),{c:n[s].getCenterPoint()}),{objHeight:t,objWidth:a}=this.getObjMaxWidthHeightByCoords(e);Xk(r).forEach((t=>{const i=0!==n[s].angle?this.omitCoords(e,"horizontal"):e;Xk(i).forEach((n=>{if(this.isInRange(r[t].y,e[n].y)){const i=e[n].y,s=r[t].y-i;o.add(r.c.y-s);const l=this.__getCoords(this),{x1:c,x2:h}=function(n,r){let i,o;return"c"===n?(i=Math.min(e.c.x-a/2,r[t].x),o=Math.max(e.c.x+a/2,r[t].x)):(i=Math.min(e[n].x,r[t].x),o=Math.max(e[n].x,r[t].x)),{x1:i,x2:o}}(n,d(u({},l),{c:this.calcCenterPointByACoords(l)}));this.horizontalLines.push({y:i,x1:c,x2:h})}}))})),Xk(r).forEach((o=>{const a=0!==n[s].angle?this.omitCoords(e,"vertical"):e;Xk(a).forEach((n=>{if(this.isInRange(r[o].x,e[n].x)){const s=e[n].x,l=r[o].x-s;i.add(r.c.x-l);const c=this.__getCoords(this),{y1:h,y2:f}=function(n,r){let i,s;return"c"===n?(i=Math.min(a.c.y-t/2,r[o].y),s=Math.max(a.c.y+t/2,r[o].y)):(i=Math.min(e[n].y,r[o].y),s=Math.max(e[n].y,r[o].y)),{y1:i,y2:s}}(n,d(u({},c),{c:this.calcCenterPointByACoords(c)}));this.verticalLines.push({x:s,y1:h,y2:f})}}))}))}return this.snap({point:t,snapXPoints:i,snapYPoints:o})}getObjDraggingObjCoords(){const e=this.__getCoords(this),t=this.calcCenterPointByACoords(e).subtract(this.getCenterPoint()),n=Xk(e).map((n=>e[n].subtract(t)));return{tl:n[0],tr:n[1],br:n[2],bl:n[3],c:this.getCenterPoint()}}getObjMaxWidthHeightByCoords(e){const{c:t,tl:n,tr:r}=e;return{objHeight:2*Math.max(Math.abs(t.y-n.y),Math.abs(t.y-r.y)),objWidth:2*Math.max(Math.abs(t.x-n.x),Math.abs(t.x-r.x))}}omitCoords(e,t){const n=e,r="vertical"===t?"x":"y";return Xk(e).forEach((t=>{e[t][r]n.tl[r]&&(n[t]=e[t])})),n}isInRange(e,t){return!!this.canvas&&Math.abs(Math.round(e)-Math.round(t))<=this.aligningLineMargin/this.canvas.getZoom()}__getCoords(e){const[t,n,r,i]=e.getCoords();return{tl:t,tr:n,br:r,bl:i}}calcCenterPointByACoords(e){return new Ve((e.tl.x+e.br.x)/2,(e.tl.y+e.br.y)/2)}snap({point:e,snapXPoints:t,snapYPoints:n}){if(0===t.size&&0===n.size)return e;const r=(e,t)=>{if(0===e.size)return t;return[...e].sort(((e,n)=>Math.abs(t-e)-Math.abs(t-n)))[0]};return new Ve(r(t,e.x),r(n,e.y))}setLineMode(e,t){"start"===t&&(this.startStyle=e),"end"===t&&(this.endStyle=e)}_render(e){if(super._render(e),this.endStyle===ol.ARROW){e.save();const t=this.x2-this.x1,n=this.y2-this.y1,r=Math.atan2(n,t);e.translate(t/2,n/2),e.rotate(r),e.beginPath(),e.moveTo(5,0),e.lineTo(-5,5),e.lineTo(-5,-5),e.closePath(),e.fillStyle=this.stroke,e.fill(),e.restore()}}drawVerticalLine(e,t){this.drawLine(e.x,Math.min(e.y1,e.y2),e.x,Math.max(e.y1,e.y2))}drawSign(e,t){if(!this.canvas)return;const n=this.canvas.getTopContext();n.strokeStyle=this.aligningLineColor,n.beginPath();n.moveTo(e-3,t-3),n.lineTo(e+3,t+3),n.moveTo(e+3,t-3),n.lineTo(e-3,t+3),n.stroke()}drawLine(e,t,n,r){if(!this.canvas)return;const i=this.canvas.getTopContext(),o=Ge.transformPoint(new Ve(e,t),this.canvas.viewportTransform),s=Ge.transformPoint(new Ve(n,r),this.canvas.viewportTransform);i.save(),i.lineWidth=this.aligningLineWidth,i.strokeStyle=this.aligningLineColor,i.beginPath(),i.moveTo(o.x,o.y),i.lineTo(s.x,s.y),i.stroke(),this.drawSign(o.x,o.y),this.drawSign(s.x,s.y),i.restore(),this.dirty=!0}drawHorizontalLine(e,t){this.drawLine(Math.min(e.x1,e.x2),e.y,Math.max(e.x1,e.x2),e.y)}drawGuideLines(){if(!this.canvas)return;const e=this.getObjDraggingObjCoords();if(this.verticalLines.length)for(let t=this.verticalLines.length;t--;)this.drawVerticalLine(this.verticalLines[t],e);if(this.horizontalLines.length)for(let t=this.horizontalLines.length;t--;)this.drawHorizontalLine(this.horizontalLines[t],e);this.canvas.calcOffset()}clearGuideline(){this.canvas&&(this.dirty=!1,this.canvas.contextTop&&this.canvas.clearContext(this.canvas.getTopContext()))}toSVG(e){return super.toSVG(e)}dispose(){super.dispose(),this.off(this.canvasEvents)}});let Zk=class extends it{constructor(e,t){super(e,u({filters:[]},t))}};Qe.setClass(Zk,"BarCode");class Gk extends it{constructor(e,t){super(e,u({filters:[]},t))}}Qe.setClass(Gk,"QRCode");class qk extends it{constructor(){super(...arguments),p(this,"originWidth"),p(this,"originHeight"),p(this,"originScale"),p(this,"srcWidth"),p(this,"srcHeight")}static getScale(e,t){return g(this,null,(function*(){if(!t.srcWidth&&!t.srcHeight){const{width:n,height:r}=yield qa(e);t.srcWidth=n,t.srcHeight=r}if(!t.srcWidth||!t.srcHeight)return;const n=t.width/t.srcWidth,r=t.height/t.srcHeight,i=n>r?n:r;t.originWidth||(t.originWidth=t.width),t.originHeight||(t.originHeight=t.height),t.originScale||(t.originScale=t.scaleX),t.scaleX=t.scaleY=i,t.width=t.originWidth/i,t.height=t.originHeight/i}))}static fromURL(e){return g(this,arguments,(function*(e,t={}){return Ge.loadImage(e,t).then((e=>new this(e,t)))}))}static fromObject(e,t){return g(this,null,(function*(){var n=e,{filters:r,resizeFilter:i,src:o,crossOrigin:s}=n,a=f(n,["filters","resizeFilter","src","crossOrigin"]);return yield this.getScale(o,a),Promise.all([Ge.loadImage(o,d(u({},t),{crossOrigin:s})),r&&Ge.enlivenObjects(r,t),i&&Ge.enlivenObjects([i],t),Ge.enlivenObjectEnlivables(a,t)]).then((([e,t=[],[n]=[],r={}])=>{const i=new this(e,u(d(u({},a),{src:o,crossOrigin:s,filters:t,resizeFilter:n}),r));return a.originWidth&&(i.originWidth=a.originWidth),a.originHeight&&(i.originHeight=a.originHeight),a.originScale&&(i.originScale=a.originScale),a.srcWidth&&(i.srcWidth=a.srcWidth),a.srcHeight&&(i.srcHeight=a.srcHeight),i}))}))}toObject(e){const t=super.toObject(e);return t.originWidth&&(t.width=t.originWidth),t.originHeight&&(t.height=t.originHeight),this.srcWidth&&(t.srcWidth=this.srcWidth),this.srcHeight&&(t.srcHeight=this.srcWidth),t.originScale&&(t.scaleX=t.scaleY=t.originScale),t}}p(qk,"type","svgimage"),Qe.setClass(qk);const Kk=(e,t)=>Qk(e,t,(function(e,t){return e>=t})),Jk=(e,t)=>Qk(e,t,(function(e,t){return e{if(!e||0===e.length)return;let r=e.length-1,i=t?e[r][t]:e[r];if(t)for(;r--;)n(e[r][t],i)&&(i=e[r][t]);else for(;r--;)n(e[r],i)&&(i=e[r]);return i};class em extends Ke{constructor(e,t){super(e,t),p(this,"letters"),p(this,"hasEffect",!1),p(this,"radius",100),p(this,"range",5),p(this,"smallFont",10),p(this,"largeFont",30),p(this,"effect","curved"),p(this,"spacing",20),p(this,"reverse",!1),p(this,"_isRendering",0),p(this,"_textLines",[]),p(this,"_dimensionAffectingProps",["fontSize","fontWeight","fontFamily","fontStyle","lineHeight","text","charSpacing","textAlign","styles","scaleX","scaleY"]),this.radius=t.width/2,this.on("editing:entered",this.editingEnterdHandler.bind(this)),this.on("editing:exited",this.editingExitedHandler.bind(this)),this.letters=new Ye([],{selectable:!1,padding:0}),this.initialize(e,t)}initialize(e,t){this.hasEffect=!0,this.setOptions(t),this.setText(e,t),this._render()}setText(e,t){if(this.letters&&this.hasEffect){this.letters._objects=[];for(let n=0;nn.set(e,t)))),this}_calcBounds(e){let t,n,r,i=[],o=[],s=["tr","br","bl","tl"],a=this.letters._objects.length,l=s.length;for(let c=0;c"];if(this.letters)for(let n=0,r=this.letters.size();n"),e?e(t.join("")):t.join("")}}function tm(e,t){let n=t-e;for(;n>=2*Math.PI;)n-=2*Math.PI;for(;n<=0;)n+=2*Math.PI;return n}function nm(e,t,n){return tm(e,t)+tm(t,n)<2*Math.PI}function rm(e,t,n,r){let i=e.x,o=e.y,s=i,a=o;t.xs&&(s=t.x),t.ya&&(a=t.y);let l=Math.atan2(e.y-n.y,e.x-n.x),c=Math.atan2(t.y-n.y,t.x-n.x);if(nm(l,0,c)){let e=n.x+r;e>s&&(s=e)}if(nm(l,Math.PI/2,c)){let e=n.y+r;e>a&&(a=e)}if(nm(l,Math.PI,c)){let e=n.x-r;ee.button&&1!==e.button,om={minFontSize:2,maxFontSize:250,minLineHeight:2,maxLineHeight:200,maxStrokeWidth(){return Math.ceil(this.getFontSize()/10)},setProperty(e,t){this[e]=t,this._textBeforeEdit=this.text},_removeStyle(e){for(let t in this.styles)for(let n in this.styles[t])delete this.styles[t][n][e]},_removeStyleAt(e,t){let n=this.getStylePosition(t);if(!this._getLineStyle(n.lineIndex)||!this._getStyleDeclaration(n.lineIndex,n.charIndex))return;let r=this.styles[n.lineIndex][n.charIndex];delete r[e],Object.keys(r).length||(delete this.styles[n.lineIndex][n.charIndex],this.styles[n.lineIndex].length||delete this.styles[n.lineIndex])},_modifyObjectStyleProperty(e,t){let n=0;for(let r in this.styles)for(let i in this.styles[r]){if(void 0!==this.styles[r][i]&&this.styles[r][i][e]!==t)return;n++}n===this.text.length&&(this._removeStyle(e),this[e]=t)},setStyleInterval(e,t,n,r){if(void 0===t||this[e]===t){for(let t=n;tthis.__selectionStartOnMouseDown?(this.selectionStart=this.__selectionStartOnMouseDown,this.selectionEnd=t):(this.selectionStart=t,this.selectionEnd=this.__selectionStartOnMouseDown),this.selectionStart===n&&this.selectionEnd===r||(this.restartCursorIfNeeded(),this._fireSelectionChanged(),this._updateTextarea(),this.renderCursorOrSelection()),this.group&&delete e.e._group)}},sm=["fontSize","fontWeight","fontFamily","fontStyle","lineHeight","text","charSpacing","textAlign","styles","color","canvas","curvature"],am=/ +/g;class lm extends Ke{constructor(e,t){super(e,t),p(this,"curvature",151),p(this,"radius",66),p(this,"useRenderBoundingBoxes",!0),p(this,"showCurvature"),p(this,"color"),p(this,"splitByGrapheme"),p(this,"borderWidth",0),p(this,"__isMousedown",!1),p(this,"__lineInfo",[]),p(this,"__renderOffsetTop",0),p(this,"_linesRads",[]),p(this,"_contentOffsetX",0),p(this,"_contentOffsetY",0),p(this,"_curvingCenter",new Ve(0,0)),p(this,"_specialArray",[]),p(this,"_translatedX",0),p(this,"_translatedY",0),p(this,"_charTransformations",[]),p(this,"textTransform",""),p(this,"useBothRenderingMethod",!0),p(this,"backgroundStroke"),this.createCurvatureControl(),this.curvature=t.curvature?t.curvature:this.curvature,this.showCurvature=!0}get type(){return"ArcText"}createCurvatureControl(){this.on("scaling",this.updateCurvingControl)}updateCurvingControl(){this.controls.c}changeCurvature(e,t,n,r){const i=t.target,o=ot.getLocalPoint(t,t.originX,t.originY,n,r),s=i.strokeWidth/(i.strokeUniform?i.scaleX:1),a="center"===t.originY?2:1,l=(o.y+i.controls[t.corner].offsetY-i.height/2+i._contentOffsetY)*a/i.scaleY-s,c=i.calcTextHeight();let h=0;return Math.abs(l)>c/2&&(h=l>0?l-c/2:l+c/2),i.setRadius(h),!1}setRadius(e){this.setCurvature(1e4/e)}setCurvature(e){var t;this.set("curvature",e),null==(t=this.canvas)||t.fire("object:modified")}renderCharCallback(e,t,n,r,i,o,s,a){for(let l=r;l<=i;l++){const r=this._charTransformations[n][l];if(t.textAlign="center",r.char){let n=this.curvature>0?-r.charAngle:-r.charAngle-Math.PI;r.contour&&a.contourStroke&&(t.save(),t.lineWidth=a.contourStrokeWidth,t.strokeStyle=a.contourStroke,t.beginPath(),t.moveTo(r.contour.tl.x,r.contour.tl.y),t.lineTo(r.contour.tr.x,r.contour.tr.y),t.lineTo(r.contour.br.x,r.contour.br.y),t.lineTo(r.contour.bl.x,r.contour.bl.y),t.closePath(),t.stroke(),t.restore()),this.runCharRendering(e,t,r.char,r.cl.x,r.cl.y,n,a,"center")}}}runCharRendering(e,t,n,r,i,o,s,a){t&&(t.save(),t.translate(r,i),t.rotate(o)),this.defaultTextRender(e,t,n,s),t&&t.restore()}getSelectionStartFromPointer(e){const t=this.getLocalPointer(e);let n=t.x+(-this.width/2+this._contentOffsetX)*this.scaleX,r=t.y+(-this.height/2-this._curvingCenter.y+this._contentOffsetY)*this.scaleY,i=Math.atan2(-n,-r),o=Math.sqrt(n*n+r*r)/this.scaleY,s=0;if(this.curvature>0)for(;othis._linesRads[s];)s++;s>=this._textLines.length&&(s=this._textLines.length-1);let a=0;for(let f=0;f0?t/2+this.radius:-t/2+this.radius;this._curvingCenter=new Ve(0,i);let o=0;r>0&&(o=t),this._linesRads=[],-1!==this.textAlign.indexOf("justify")&&this.enArcLargeSpaces(n);const s=this._charTransformations=[];let a=1/0,l=-1/0,c=1/0,h=-1/0;for(let k=0;k0?o-=d:o+=d;const p=Math.abs(this.radius)+o;this._linesRads.push(p);for(let n=0;n0){v=m+p,y=m+p+d,L=m+p+f,w=m+p+d-d/this.lineHeight;const e=(3*v+2*y)/5;b=-(u+o.left)/e,x=-(u+o.left+o.width)/e,_=-(u+o.left+o.width/2)/e}else{v=m+p,y=m+p-d,L=m+p-f,w=m+p-d+d/this.lineHeight;let e=(2*v+3*y)/5;b=Math.PI+(u+o.left)/e,x=Math.PI+(u+o.left+o.width)/e,_=Math.PI+(u+o.left+o.width/2)/e}const j=Math.sin(x),M=Math.cos(x),E=Math.sin(b),T=Math.cos(b),O=Math.sin(_),A=Math.cos(_),P={contour:o.contour&&{x:o.contour.x*g.fontSize,w:o.contour.w*g.fontSize,h:o.contour.h*g.fontSize,y:this._getBaseLine(g.fontSize)+o.contour.y*g.fontSize},char:this._textLines[k][n],charAngle:_,leftAngle:b,rightAngle:x,charRadius:L,bottomRadius:v,topRadius:y,lineRadius:w,renderLeftAngle:C,renderRightAngle:S,bl:{x:0-v*E,y:i-v*T},br:{x:0-v*j,y:i-v*M},tl:{x:0-y*E,y:i-y*T},tr:{x:0-y*j,y:i-y*M},nl:{x:0-w*E,y:i-w*T},nr:{x:0-w*j,y:i-w*M},cl:{x:0-L*O,y:i-L*A},lc:{x:0-w*O,y:i-w*A}};if((null==(e=P.char)?void 0:e.trim())&&o.contour){let e=Ge.cos(-_),t=Ge.sin(-_),i=[e,t,-t,e,0,0],o=Ge.multiplyTransformMatrices([1,0,0,1,P.lc.x,P.lc.y],i),s=P.contour.y;if(r>0){const e=P.contour.x-this.__charBounds[k][n].width/2;P.contour.br=Ge.transformPoint({x:e+P.contour.w,y:-s},o),P.contour.bl=Ge.transformPoint({x:e,y:-s},o),P.contour.tl=Ge.transformPoint({x:e,y:-s-P.contour.h},o),P.contour.tr=Ge.transformPoint({x:e+P.contour.w,y:-s-P.contour.h},o)}else{const e=-P.contour.x+this.__charBounds[k][n].width/2;P.contour.br=Ge.transformPoint({x:e-P.contour.w,y:s},o),P.contour.bl=Ge.transformPoint({x:e,y:s},o),P.contour.tl=Ge.transformPoint({x:e,y:s+P.contour.h},o),P.contour.tr=Ge.transformPoint({x:e-P.contour.w,y:s+P.contour.h},o)}c=Math.min(c,P.contour.br.x,P.contour.bl.x,P.contour.tl.x,P.contour.tr.x),h=Math.max(h,P.contour.br.x,P.contour.bl.x,P.contour.tl.x,P.contour.tr.x),a=Math.min(a,P.contour.br.y,P.contour.bl.y,P.contour.tl.y,P.contour.tr.y),l=Math.max(l,P.contour.br.y,P.contour.bl.y,P.contour.tl.y,P.contour.tr.y)}s[k][n]=P}}for(let k=0;k0?(i=rm(t.tl,n.tr,this._curvingCenter,this._linesRads[k]+this.__lineHeights[k]),o=rm(t.nl,n.nr,this._curvingCenter,this._linesRads[k])):(i=rm(n.tr,t.tl,this._curvingCenter,this._linesRads[k]-this.__lineHeights[k]),o=rm(n.nr,t.nl,this._curvingCenter,this._linesRads[k])),c=Math.min(c,i.x,o.x),h=Math.max(h,i.x+i.width,o.x+o.width),a=Math.min(a,i.y,o.y),l=Math.max(l,i.y+i.height,o.y+o.height)}this._enableDiacritics();const u=-c-n/2,d=h-n/2,f=-a-t/2,p=l-t/2;this.width=Math.max(n+u+d,this.MIN_TEXT_WIDTH),this.height=t+f+p,this._contentOffsetY=p/2-f/2,this._contentOffsetX=d/2-u/2;const g="left"===this.originX?u:this._contentOffsetX;this._translate(g,f),this.updateCurvingControl()}_hasStyleChanged(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!0;for(let n in e)if(e[n]!==t[n])return!0;return!1}interateTextChunks(e,t,n){let r,i,o,s=0,a=this._specialArray,l=this._textLines[e],c=-1!==this.textAlign.indexOf("justify");if(c||0!==this.charSpacing||a&&a[e]||!this.isEmptyStyles(e))for(let h=0,u=l.length-1;h<=u;h++)o=h===u||this.charSpacing,n&&n(h),c&&!o&&this._reSpaceAndTab.test(l[h])&&(o=!0),o||(r=r||this.getCompleteStyleDeclaration(e,h),i=this.getCompleteStyleDeclaration(e,h+1),o=a&&a[e]&&a[e][h]!==a[e][h+1]||this._hasStyleChanged(r,i)),o&&(t(s,h,r),s=h+1,r=i);else t(0,l.length,null)}_enableDiacritics(){const e=this._charTransformations,t=["́","̀","̂","̌","̋","̏","̃","̇","̣","·","̈","ː","̆","̑","͗","̃","҃","̩","̄","̱","⃓","̷","̵","̊","̓","̒","̔","̉","̛","̦","̧","̡","̢","̨","͝","͡","","͞","͠"];for(let n in e)for(let r in e[n])if(e[n][r].char&&t.includes(e[n][r].char))for(let t=r;t--;)if(e[n][t].char){e[n][t].char+=e[n][r].char,e[n][r].isDiacritic=!0,delete e[n][r].char;break}}_drawTextLinesDecorationSector(e,t,n,r,i,o){e.fillStyle=t,e.lineWidth=this.fontSize/15;let s=this._charTransformations[r][i],a=this._charTransformations[r][o-1];e.beginPath(),this.curvature<0?e.arc(this._curvingCenter.x,this._curvingCenter.y,s.charRadius+1+n,-s.leftAngle-Math.PI/2,-a.rightAngle-Math.PI/2,!0):e.arc(this._curvingCenter.x,this._curvingCenter.y,s.charRadius-1-n,-s.leftAngle-Math.PI/2,-a.rightAngle-Math.PI/2,!1),e.stroke()}_contextSelectBackgroundSector(e,t,n,r,i){e.beginPath();let o=this._charTransformations[t][n],s=this._charTransformations[t][r];e.moveTo(o.tl.x,o.tl.y);let a=i?o.bottomRadius:o.lineRadius;const l=this.curvature<0;e.arc(this._curvingCenter.x,this._curvingCenter.y,a,-o.leftAngle-Math.PI/2,-s.rightAngle-Math.PI/2,l),e.lineTo(s.tr.x,s.tr.y);const c=!(this.curvature<0);e.arc(this._curvingCenter.x,this._curvingCenter.y,o.topRadius,-s.rightAngle-Math.PI/2,-o.leftAngle-Math.PI/2,c),e.closePath()}_renderTextLinesBackground(e){if(!this.textBackgroundColor&&!this.styleHas("textBackgroundColor"))return;let t,n,r,i=e.fillStyle;for(let o=0,s=this._textLines.length;o=s&&h0?n.charIndex-1:0,o=this.scaleX*this.canvas.getZoom(),s=this.cursorWidth/o;this.inCompositionMode&&this.renderSelection(e,t);const a=this._charTransformations[n.lineIndex][n.charIndex];e.save(),e.translate(-this._contentOffsetX,-this._contentOffsetY),e.lineWidth=s,e.strokeStyle=this.getValueOfPropertyAt(r,i,"fill"),e.globalAlpha=this.__isMousedown?1:this._currentCursorOpacity,e.beginPath(),e.moveTo(a.nl.x,a.nl.y),e.lineTo(a.tl.x,a.tl.y),e.stroke(),e.restore()}_renderText(e){if(this.fill&&(e.fillStyle=this.fill),this.useBothRenderingMethod)return this._renderTextCommon(e,"both");"stroke"===this.paintFirst?(this._renderTextStroke(e),this._renderTextFill(e)):(this._renderTextFill(e),this._renderTextStroke(e))}_splitText(){let e=this.text;this.textTransform&&("uppercase"===this.textTransform&&(e=e.toUpperCase()),"lowercase"===this.textTransform&&(e=e.toLowerCase()),"capitalize"===this.textTransform&&(e=Ge.string.capitalize(e)));let t=this._splitTextIntoLines(e);return this.textLines=t.lines,this._textLines=t.graphemeLines,this._unwrappedTextLines=t._unwrappedLines,this._text=t.graphemeText,this.useRenderBoundingBoxes&&(this.__lineInfo=[]),t}calcTextHeight(){let e,t=0;for(let n=0,r=this._textLines.length;n{this._renderStr(e,t,o,n,s,r,i),r+=l,l=0}),(e=>{s=this.__charBounds[o][e],0===l?(r+=s.kernedWidth-s.width,l+=s.width):l+=s.kernedWidth})),t&&t.restore()}_renderStr(e,t,n,r,i,o,s){const a=this._getStyleDeclaration(n,r),l=this.getCompleteStyleDeclaration(n,r),c="fillText"===e&&l.fill,h="strokeText"===e&&l.stroke&&l.strokeWidth;if("calc"===e||"both"===e||h||c){if(t&&a&&t.save(),c&&this._setFillStyles(t,l),h&&this._setStrokeStyles(t,l),a&&a.textBackgroundColor&&this._removeShadow(t),a&&a.deltaY&&(s+=a.deltaY),l.special=this._specialArray&&this._specialArray[n]&&this._specialArray[n][r],this.renderCharCallback)this.renderCharCallback(e,t,n,r,i,o,s,l);else{const a=this._textLines[n].slice(r,i+1).join("");this.runCharRendering(e,t,a,o,s,0,l)}t&&a&&t.restore()}}_renderBackground(e){if(!this.backgroundColor&&!this.backgroundStroke)return;let t=this._getNonTransformedDimensions();this.backgroundColor&&(e.fillStyle=this.backgroundColor,e.fillRect(-t.x/2,-t.y/2,t.x,t.y)),this.backgroundStroke&&(this._setStrokeStyles(e,this.backgroundStroke),e.strokeRect(-t.x/2,-t.y/2,t.x,t.y)),this._removeShadow(e)}defaultTextRender(e,t,n,r){return"both"===e?(r.fill&&"fill"===this.paintFirst&&t.fillText(n,0,0),r.stroke&&r.strokeWidth&&(this.shadow&&!this.shadow.affectStroke&&this._removeShadow(t),t.save(),this._setLineDash(t,this.strokeDashArray),t.beginPath(),t.strokeText(n,0,0),t.closePath(),t.restore()),r.fill&&"stroke"===this.paintFirst&&t.fillText(n,0,0)):("fillText"===e&&r.fill&&t.fillText(n,0,0),"strokeText"===e&&r.stroke&&r.strokeWidth&&t.strokeText(n,0,0)),!0}getHeightOfLine(e){if(this.__lineHeights||this.initDimensions(),this.__lineHeights[e])return this.__lineHeights[e];const t=this._textLines[e];let n=this.getHeightOfChar(e,0);for(let r=1,i=t.length;r`}_toSVG(){const e=this._getSVGLeftTopOffsets(),t=this._getSVGTextAndBg(e.textTop,e.textLeft);return this._wrapSVGTextAndBg(t)}_getSVGLeftTopOffsets(){return{textLeft:-this.width/2,textTop:-this.height/2,lineTop:this.getHeightOfLine(0)}}_wrapSVGTextAndBg(e){const t=this.getSvgTextDecoration(this);return[e.textBgRects.join(""),'\t\t",e.textSpans.join(""),"\n"]}_setSVGBg(e){this.backgroundColor&&e.push("\t\t\n')}_getSVGTextAndBg(e,t){let n,r=[],i=[],o=e;this._setSVGBg(i);for(let s=0,a=this._textLines.length;s",Ge.string.escapeXml(e),""].join("")}_hasStyleChangedForSvg(e,t){return this._hasStyleChanged(e,t)||e.overline!==t.overline||e.underline!==t.underline||e.linethrough!==t.linethrough}_setSVGTextLineText(e,t,n,r){let i,o,s,a,l,c=this.getHeightOfLine(t),h=-1!==this.textAlign.indexOf("justify"),u="",d=0,f=this._textLines[t];this._fontSizeFraction,this.lineHeight;for(let p=0,g=f.length-1;p<=g;p++){l=p===g||this.charSpacing,u+=f[p],s=this._charTransformations[t][p];const n=this.curvature>0?-s.charAngle:-s.charAngle-Math.PI;if(0===d?(s.kernedWidth-s.width,d+=s.width):d+=s.kernedWidth,h&&!l&&this._reSpaceAndTab.test(f[p])&&(l=!0),l||(i=i||this.getCompleteStyleDeclaration(t,p),o=this.getCompleteStyleDeclaration(t,p+1),l=this._hasStyleChangedForSvg(i,o)),l){a=this._getStyleDeclaration(t,p)||{};const r=180*n/Math.PI;e.push(this._createTextCharSpan(u,a,s.cl.x,s.cl.y,r)),u="",i=o,d=0}}}_pushTextBgRect(e,t,n,r,i,o){e.push("\t\t\n')}_setSVGTextLineBg(e,t,n,r){let i,o,s=this._textLines[t],a=this.getHeightOfLine(t)/this.lineHeight,l=0,c=0,h=this.getValueOfPropertyAt(t,0,"textBackgroundColor");for(let u=0,d=s.length;u=0;a--){const e=this.effects[a];t.save(),t.strokeStyle=e.stroke,t.lineJoin=e.strokeLineJoin,t.lineWidth=e.strokeWidth,t.strokeText(i,o,s),t.restore()}super._renderChar(e,t,n,r,i,o,s)}}Qe.setClass(hm),Qe.setSVGClass(hm);const um=e=>e.button&&1!==e.button,dm={minFontSize:2,maxFontSize:250,minLineHeight:2,maxLineHeight:200,maxStrokeWidth(){return Math.ceil(this.getFontSize()/10)},setProperty(e,t){this[e]=t,this._textBeforeEdit=this.text},_removeStyle(e){for(let t in this.styles)for(let n in this.styles[t])delete this.styles[t][n][e]},_removeStyleAt(e,t){let n=this.getStylePosition(t);if(!this._getLineStyle(n.lineIndex)||!this._getStyleDeclaration(n.lineIndex,n.charIndex))return;let r=this.styles[n.lineIndex][n.charIndex];delete r[e],Object.keys(r).length||(delete this.styles[n.lineIndex][n.charIndex],this.styles[n.lineIndex].length||delete this.styles[n.lineIndex])},_modifyObjectStyleProperty(e,t){let n=0;for(let r in this.styles)for(let i in this.styles[r]){if(void 0!==this.styles[r][i]&&this.styles[r][i][e]!==t)return;n++}n===this.text.length&&(this._removeStyle(e),this[e]=t)},setStyleInterval(e,t,n,r){if(void 0===t||this[e]===t){for(let t=n;tthis.__selectionStartOnMouseDown?(this.selectionStart=this.__selectionStartOnMouseDown,this.selectionEnd=t):(this.selectionStart=t,this.selectionEnd=this.__selectionStartOnMouseDown),this.selectionStart===n&&this.selectionEnd===r||(this.restartCursorIfNeeded(),this._fireSelectionChanged(),this._updateTextarea(),this.renderCursorOrSelection()),this.group&&delete e.e._group)}},fm=/[a-zA-Z\.\s]+/,pm=/[0-9]/,gm=/[\(\)\]\[\{\}\]]/,km=/[ー「」『』()〔〕[]{}⦅⦆〈〉《》【】〖〗〘〙〚〛゛゜。、・゠=〜…•‥◦﹅﹆]/;class mm extends Ke{constructor(e,t){super(e,t),p(this,"minHeight"),p(this,"__isMousedown",!1),this.textAlign="right",this.direction="rtl",this.minHeight=t.width,this.offsets={underline:.05,linethrough:.65,overline:1.1}}initDimensions(){super.initDimensions(),this.heightn&&(n=r)}return n+this.cursorWidth}getSelectionStartFromPointer(e){let t,n,r=this.getLocalPointer(e),i=0,o=0,s=0,a=0,l=0,c=0,h=0;0!==this.charSpacing&&(h=this._getWidthOfCharSpacing()),r.x=this.width*this.scaleX-r.x+o;for(let d=0,f=this._textLines.length;d0&&(a+=this._textLines[d-1].length+this.missingNewlineOffset(d-1));n=this._textLines[l];const u=n.length;for(let d=0;do||s<0?0:1);return this.flipX&&(a=i-a),a>this._text.length&&(a=this._text.length),a}_getCursorBoundariesOffsets(e,t){if(this.cursorOffsetCache&&"top"in this.cursorOffsetCache)return this.cursorOffsetCache;let n,r,i,o,s,a=0,l=0,c=this.get2DCursorLocation(e);i=c.charIndex,r=c.lineIndex;for(let h=0;h0?a:0),left:l},"rtl"===this.direction&&(o.left*=-1),this.cursorOffsetCache=o,this.cursorOffsetCache}_getGraphemeBox(e,t,n,r,i){let o=super._getGraphemeBox(e,t,n,r,i);if(o.top=0,o.height=Number(o.height),n>0&&!i){const e=this.__charBounds[t][n-1],r=this._isLatin(this._textLines[t][n-1]);o.top=e.top+e[r?"width":"height"]}return o}renderSelection(e,t){var n,r;let i=this.inCompositionMode?null==(n=this.hiddenTextarea)?void 0:n.selectionStart:this.selectionStart,o=this.inCompositionMode?null==(r=this.hiddenTextarea)?void 0:r.selectionEnd:this.selectionEnd,s=-1!==this.textAlign.indexOf("justify"),a=this.get2DCursorLocation(i),l=this.get2DCursorLocation(o),c=a.lineIndex,h=l.lineIndex,u=a.charIndex<0?0:a.charIndex,d=l.charIndex<0?0:l.charIndex;for(let f=c;f<=h;f++){let n=this.getHeightOfLine(f),r=0,i=0;if(f===c&&(r=this.__charBounds[c][u].top),f>=c&&f1)&&(a/=this.lineHeight),this.inCompositionMode?e.fillStyle=this.compositionColor||"black":e.fillStyle=this.selectionColor,"rtl"===this.direction&&(o=this.width-o-a),e.fillRect(o,t.top+r,a,l),t.leftOffset-=n}}renderCursor(e,t){let n=this.get2DCursorLocation(),r=n.lineIndex,i=n.charIndex>0?n.charIndex-1:0,o=this.__charBounds[r][i],s=this.getValueOfPropertyAt(r,i,"fontSize"),a=this.scaleX*this.canvas.getZoom(),l=this.cursorWidth/a,c=t.topOffset,h=this.getHeightOfLine(r),u=t.left-t.leftOffset+(h/this.lineHeight+o.height)/2;this.inCompositionMode&&this.renderSelection(e,t),"rtl"===this.direction&&(u=this.width-u),e.fillStyle=this.cursorColor||this.getValueOfPropertyAt(r,i,"fill"),e.globalAlpha=this.__isMousedown?1:this._currentCursorOpacity,e.fillRect(u,c+t.top,s,l)}_renderTextLinesBackground(e){if(!this.textBackgroundColor&&!this.styleHas("textBackgroundColor"))return;let t,n,r,i,o,s,a=e.fillStyle,l=this.width-this._getLeftOffset(),c=this._getTopOffset(),h=this.path,u=0,d=0,f=null;for(let p=0,g=this._textLines.length;p`}getLocalPointer(e,t){t=t||this.canvas.getPointer(e);let n=new Ve(t.x,t.y);const r=this._getLeftTopCoords();return this.angle&&(n=Ge.rotatePoint(n,r,Ge.degreesToRadians(-this.angle))),{x:n.x-r.x,y:n.y-r.y}}_renderTextDecoration(e,t){if(!this.get(t)&&!this.styleHas(t))return;let n,r,i,o,s,a,l,c,h,u,d,f=0,p=0,g=0,k=0,m="",v=this.width-this._getLeftOffset(),y=this._getTopOffset(),L=this.offsets[t];for(let w=0,b=this._textLines.length;w0?(a&&d&&(e.fillStyle=d,e.fillRect(v-p+n-f*L,y+g,this.fontSize/15,k)),l=c.width,k=this._isLatin(m)?c.width:c.height,a=h,d=u,r=f,i=o,g=c.top):(this._isLatin(m)?k+=c.kernedWidth:k+=c.height,l+=c.kernedWidth);e.fillStyle=u,h&&u&&e.fillRect(v-p+n-f*L,y+g,this.fontSize/15,k)}this._removeShadow(e)}}function vm(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}p(mm,"type","VerticalText"),Object.assign(mm.prototype,u({},dm)),Qe.setClass(mm),function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){if(!a&&vm)return vm(s,!0);if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,(function(e){var n=t[s][1][e];return i(n||e)}),c,c.exports,e,t,n,r)}return n[s].exports}for(var o=vm,s=0;s>=l,h-=l,k!==o){if(k===s)break;for(var m=ko;)y=p[y]>>8,++v;var L=y;if(d+v+(m!==k?1:0)>r)return;n[d++]=L;var w=d+=v;for(m!==k&&(n[d++]=L),y=m;v--;)y=p[y],n[--w]=255&y,y>>=8;null!==g&&a<4096&&(p[a++]=g<<8|L,a>=c+1&&l<12&&(++l,c=c<<1|1)),g=k}else a=s+1,c=(1<<(l=i+1))-1,g=null}return n}try{n.GifWriter=function(e,t,n,r){var i=0,o=void 0===(r=void 0===r?{}:r).loop?null:r.loop,s=void 0===r.palette?null:r.palette;if(t<=0||n<=0||t>65535||n>65535)throw"Width/Height invalid.";function a(e){var t=e.length;if(t<2||t>256||t&t-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return t}e[i++]=71,e[i++]=73,e[i++]=70,e[i++]=56,e[i++]=57,e[i++]=97;var l=0,c=0;if(null!==s){for(var h=a(s);h>>=1;)++l;if(h=1<=h)throw"Background index out of range.";if(0===c)throw"Background index explicitly passed as 0."}}if(e[i++]=255&t,e[i++]=t>>8&255,e[i++]=255&n,e[i++]=n>>8&255,e[i++]=(null!==s?128:0)|l,e[i++]=c,e[i++]=0,null!==s)for(var u=0,d=s.length;u>16&255,e[i++]=f>>8&255,e[i++]=255&f}if(null!==o){if(o<0||o>65535)throw"Loop count invalid.";e[i++]=33,e[i++]=255,e[i++]=11,e[i++]=78,e[i++]=69,e[i++]=84,e[i++]=83,e[i++]=67,e[i++]=65,e[i++]=80,e[i++]=69,e[i++]=50,e[i++]=46,e[i++]=48,e[i++]=3,e[i++]=1,e[i++]=255&o,e[i++]=o>>8&255,e[i++]=0}var p=!1;this.addFrame=function(t,n,r,o,l,c){if(!0===p&&(--i,p=!1),c=void 0===c?{}:c,t<0||n<0||t>65535||n>65535)throw"x/y invalid.";if(r<=0||o<=0||r>65535||o>65535)throw"Width/Height invalid.";if(l.length>=1;)++f;d=1<3)throw"Disposal out of range.";var m=!1,v=0;if(void 0!==c.transparent&&null!==c.transparent&&(m=!0,(v=c.transparent)<0||v>=d))throw"Transparent color index.";if((0!==k||m||0!==g)&&(e[i++]=33,e[i++]=249,e[i++]=4,e[i++]=k<<2|(!0===m?1:0),e[i++]=255&g,e[i++]=g>>8&255,e[i++]=v,e[i++]=0),e[i++]=44,e[i++]=255&t,e[i++]=t>>8&255,e[i++]=255&n,e[i++]=n>>8&255,e[i++]=255&r,e[i++]=r>>8&255,e[i++]=255&o,e[i++]=o>>8&255,e[i++]=!0===h?128|f-1:0,!0===h)for(var y=0,L=u.length;y>16&255,e[i++]=w>>8&255,e[i++]=255&w}i=function(e,t,n,r){e[t++]=n;var i=t++,o=1<=n;)e[t++]=255&u,u>>=8,h-=8,t===i+256&&(e[i]=255,i=t++)}function f(e){u|=e<=8;)e[t++]=255&u,u>>=8,h-=8,t===i+256&&(e[i]=255,i=t++);4096===l?(f(o),l=a+1,c=n+1,g={}):(l>=1<>7,a=1<<1+(7&o);e[t++],e[t++];var l=null;s&&(l=t,t+=3*a);var c=!0,h=[],u=0,d=null,f=0,p=null;for(this.width=n,this.height=i;c&&t>2&7,t++;break;case 254:for(;0!==(C=e[t++]);)t+=C;break;default:throw"Unknown graphic control label: 0x"+e[t-1].toString(16)}break;case 44:var k=e[t++]|e[t++]<<8,m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,L=e[t++],w=L>>6&1,b=l,_=!1;L>>7&&(_=!0,b=t,t+=3*(1<<1+(7&L)));var x=t;for(t++;;){var C;if(0===(C=e[t++]))break;t+=C}h.push({x:k,y:m,width:v,height:y,has_local_palette:_,palette_offset:b,data_offset:x,data_length:t-x,transparent_index:d,interlaced:!!w,delay:u,disposal:f});break;case 59:c=!1;break;default:throw"Unknown gif block: 0x"+e[t-1].toString(16)}this.numFrames=function(){return h.length},this.loopCount=function(){return p},this.frameInfo=function(e){if(e<0||e>=h.length)throw"Frame index out of range.";return h[e]},this.decodeAndBlitFrameBGRA=function(t,i){var o=this.frameInfo(t),s=o.width*o.height,a=new Uint8Array(s);r(e,o.data_offset,a,s);var l=o.palette_offset,c=o.transparent_index;null===c&&(c=256);var h=o.width,u=n-h,d=h,f=4*(o.y*n+o.x),p=4*((o.y+o.height)*n+o.x),g=f,k=4*u;!0===o.interlaced&&(k+=4*n*7);for(var m=8,v=0,y=a.length;v=p&&(k=4*u+4*n*(m-1),g=f+(h+u)*(m<<1),m>>=1)),L===c)g+=4;else{var w=e[l+3*L],b=e[l+3*L+1],_=e[l+3*L+2];i[g++]=_,i[g++]=b,i[g++]=w,i[g++]=255}--d}},this.decodeAndBlitFrameRGBA=function(t,i){var o=this.frameInfo(t),s=o.width*o.height,a=new Uint8Array(s);r(e,o.data_offset,a,s);var l=o.palette_offset,c=o.transparent_index;null===c&&(c=256);var h=o.width,u=n-h,d=h,f=4*(o.y*n+o.x),p=4*((o.y+o.height)*n+o.x),g=f,k=4*u;!0===o.interlaced&&(k+=4*n*7);for(var m=8,v=0,y=a.length;v=p&&(k=4*u+4*n*(m-1),g=f+(h+u)*(m<<1),m>>=1)),L===c)g+=4;else{var w=e[l+3*L],b=e[l+3*L+1],_=e[l+3*L+2];i[g++]=w,i[g++]=b,i[g++]=_,i[g++]=255}--d}}}}catch(jT){}},{}],2:[function(e,t,n){var r,i,o,s,a,l,c,h=function(e,t){return function(){return e.apply(t,arguments)}};i=e("omggif").GifReader,l=function(e){var t;return(t=new XMLHttpRequest).open("GET",e,!0),t.responseType="arraybuffer",{xhr:t,get:function(e){return t.onload=c(e),t.send(),this},animate:function(e){var n;return n=a(e),t.onload=c((function(e){return e.animateInCanvas(n)})),t.send(),this},frames:function(e,n,r){var i;return null==r&&(r=!1),i=a(e),t.onload=c((function(e){return e.onDrawFrame=n,e.animateInCanvas(i,r)})),t.send(),this}}},c=function(e){return function(t){return e(new r(new i(new Uint8Array(this.response))))}},a=function(e){var t,n;if("string"==typeof e&&"CANVAS"===(null!=(n=t=document.querySelector(e))?n.tagName:void 0))return t;if("CANVAS"===(null!=e?e.tagName:void 0))return e;throw new Error("Unexpected selector type. Valid types are query-selector-string/canvas-element")},o=function(e,t,n){var r,i,o;return i=(r=document.createElement("canvas")).getContext("2d"),r.width=e.width,r.height=e.height,(o=i.createImageData(t,n)).data.set(e.pixels),i.putImageData(o,-e.x,-e.y),r},s=function(e,t){var n;return function(){n=[];for(var t=0,r=e.numFrames();0<=r?tr;0<=r?t++:t--)n.push(t);return n}.apply(this).map(function(){return function(t){var n;return(n=e.frameInfo(t)).pixels=new Uint8ClampedArray(e.width*e.height*4),e.decodeAndBlitFrameRGBA(t,n.pixels),n}}())},r=function(){function e(e){var t;this._reader=e,this._advanceFrame=h(this._advanceFrame,this),this._nextFrameRender=h(this._nextFrameRender,this),this._nextFrame=h(this._nextFrame,this),t=this._reader,this.width=t.width,this.height=t.height,this._frames=s(this._reader),this._loopCount=this._reader.loopCount(),this._loops=0,this._frameIndex=0,this._running=!1}return e.prototype.start=function(){return this._lastTime=(new Date).valueOf(),this._delayCompensation=0,this._running=!0,setTimeout(this._nextFrame,0),this},e.prototype.stop=function(){return this._running=!1,this},e.prototype.reset=function(){return this._frameIndex=0,this._loops=0,this},e.prototype._nextFrame=function(){requestAnimationFrame(this._nextFrameRender)},e.prototype._nextFrameRender=function(){var e,t;if(this._running)return e=this._frames[this._frameIndex],null!=(t=this.onFrame)&&t.apply(this,[e,this._frameIndex]),this._enqueueNextFrame()},e.prototype._advanceFrame=function(){this._frameIndex+=1,this._frameIndex>=this._frames.length&&(0!==this._loopCount&&this._loopCount===this._loops?this.stop():(this._frameIndex=0,this._loops+=1))},e.prototype._enqueueNextFrame=function(){var e,t,n,r;for(this._advanceFrame();this._running;){if(n=this._frames[this._frameIndex],t=(new Date).valueOf()-this._lastTime,this._lastTime+=t,this._delayCompensation+=t,e=(r=10*n.delay)-this._delayCompensation,this._delayCompensation-=r,!(e<0)){setTimeout(this._nextFrame,e);break}this._advanceFrame()}},e.prototype.animateInCanvas=function(e,t){var n;return null==t&&(t=!0),t&&(e.width=this.width,e.height=this.height),n=e.getContext("2d"),null==this.onDrawFrame&&(this.onDrawFrame=function(e,t,n){return e.drawImage(t.buffer,t.x,t.y)}),null==this.onFrame&&(this.onFrame=function(t){return function(r,i){var s,a;switch(null==r.buffer&&(r.buffer=o(r,t.width,t.height)),"function"==typeof t.disposeFrame&&t.disposeFrame(),r.disposal){case 2:t.disposeFrame=function(){return n.clearRect(0,0,e.width,e.height)};break;case 3:a=n.getImageData(0,0,e.width,e.height),t.disposeFrame=function(){return n.putImageData(a,0,0)};break;default:t.disposeFrame=null}return null!=(s=t.onDrawFrame)?s.apply(t,[n,r,i]):void 0}}(this)),this.start(),this},e}(),l.Animator=r,l.decodeFrames=s,l.createBufferCanvas=o,"undefined"!=typeof window&&null!==window&&(window.gifler=l),null!=t&&(t.exports=l)},{omggif:1}]},{},[2]);class ym extends it{constructor(e,t){super(e,t),p(this,"gifCanvas"),p(this,"gifler"),p(this,"isStarted",!1),this.gifCanvas=document.createElement("canvas")}drawFrame(e,t){var n;this.gifCanvas&&(this.gifCanvas.width=t.width,this.gifCanvas.height=t.height,e.drawImage(t.buffer,0,0),this.setSrc(this.gifCanvas.toDataURL()),null==(n=this.canvas)||n.renderAll())}_render(e){super._render(e),this.dirty=!0,this.isStarted||(this.isStarted=!0,this.gifler=window.gifler(this.getSrc()).frames(this.gifCanvas,((e,t)=>{this.isStarted=!0,this.drawFrame(e,t)})))}static fromURL(e,t={}){return Ge.loadImage(e,t).then((e=>new this(e,t)))}}p(ym,"type","GifImage"),Qe.setClass(ym);Qe.setClass(class extends $e{constructor(e={}){super(e),p(this,"line1"),p(this,"line2"),p(this,"line3"),this.initEvent()}initEvent(){this.on("selected",this.onObjectSelected.bind(this)),this.on("moving",this.onObjectMoving.bind(this)),this.on("deselected",this.onSelectionCleared.bind(this))}onObjectSelected(e){var t;const n=e.target;"p0"!==n.name&&"p2"!==n.name||(n.line2.animate("opacity","1",{duration:200,onChange:null==(t=this.canvas)?void 0:t.renderAll.bind(this.canvas)}),n.line2.selectable=!0)}onObjectMoving(e){const t=e.target;t&&("p0"===t.name||"p2"===t.name?t.line1?(t.line1.path[0][1]=t.left,t.line1.path[0][2]=t.top):t.line3&&(t.line3.path[1][3]=t.left,t.line3.path[1][4]=t.top):"p1"===t.name?t.line2&&(t.line2.path[1][1]=t.left,t.line2.path[1][2]=t.top):"p0"!==t.name&&"p2"!==t.name||(t.line1&&t.line1.set({x2:t.left,y2:t.top}),t.line2&&t.line2.set({x1:t.left,y1:t.top}),t.line3&&t.line3.set({x1:t.left,y1:t.top}),t.line4&&t.line4.set({x1:t.left,y1:t.top})))}onSelectionCleared(e){var t,n,r=e.target;"p0"===r.name||"p2"===r.name?(r.line2.animate("opacity","0",{duration:200,onChange:null==(t=this.canvas)?void 0:t.renderAll.bind(this.canvas)}),r.line2.selectable=!1):"p1"===r.name&&(r.animate("opacity","0",{duration:200,onChange:null==(n=this.canvas)?void 0:n.renderAll.bind(this.canvas)}),r.selectable=!1)}destroyed(){this.off("selected",this.onObjectSelected.bind(this)),this.off("moving",this.onObjectMoving.bind(this)),this.off("deselected",this.onSelectionCleared.bind(this))}});const Lm=["xlink:href"],wm=ko(R({__name:"index",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},setup(e){const t=e,n=I((()=>{return e=t.iconClass,/^(https?:|mailto:|tel:)/.test(e);var e})),r=I((()=>`#icon-${t.iconClass}`)),i=I((()=>t.className?`svg-icon ${t.className}`:"svg-icon")),o=I((()=>({mask:`url(${t.iconClass}) no-repeat 50% 50%`,"-webkit-mask":`url(${t.iconClass}) no-repeat 50% 50%`})));return(e,t)=>n.value?($(),Q("div",{key:0,style:ee(o.value),class:"svg-external-icon svg-icon"},null,4)):($(),Q("svg",{key:1,class:ne(i.value),"aria-hidden":"true"},[te("use",{"xlink:href":r.value},null,8,Lm)],2))}}),[["__scopeId","data-v-2e52bf5e"]]),bm={install(e){e.component("SvgIcon",wm)}};var _m={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};var xm=Symbol("icon-context");function Cm(e,t,n){return{name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(r){var i="icon-"+(4294967296*(1+Math.random())|0).toString(16).substring(1),o=M(xm,_m);return function(){var s=r.size,a=r.strokeWidth,l=r.strokeLinecap,c=r.strokeLinejoin,h=r.theme,u=r.fill,d=r.spin,f=function(e,t,n){var r="string"==typeof t.fill?[t.fill]:t.fill||[],i=[];switch(t.theme||n.theme){case"outline":i.push("string"==typeof r[0]?r[0]:"currentColor"),i.push("none"),i.push("string"==typeof r[0]?r[0]:"currentColor"),i.push("none");break;case"filled":i.push("string"==typeof r[0]?r[0]:"currentColor"),i.push("string"==typeof r[0]?r[0]:"currentColor"),i.push("#FFF"),i.push("#FFF");break;case"two-tone":i.push("string"==typeof r[0]?r[0]:"currentColor"),i.push("string"==typeof r[1]?r[1]:n.colors.twoTone.twoTone),i.push("string"==typeof r[0]?r[0]:"currentColor"),i.push("string"==typeof r[1]?r[1]:n.colors.twoTone.twoTone);break;case"multi-color":i.push("string"==typeof r[0]?r[0]:"currentColor"),i.push("string"==typeof r[1]?r[1]:n.colors.multiColor.outFillColor),i.push("string"==typeof r[2]?r[2]:n.colors.multiColor.innerStrokeColor),i.push("string"==typeof r[3]?r[3]:n.colors.multiColor.innerFillColor)}return{size:t.size||n.size,strokeWidth:t.strokeWidth||n.strokeWidth,strokeLinecap:t.strokeLinecap||n.strokeLinecap,strokeLinejoin:t.strokeLinejoin||n.strokeLinejoin,colors:i,id:e}}(i,{size:s,strokeWidth:a,strokeLinecap:l,strokeLinejoin:c,theme:h,fill:u},o),p=[o.prefix+"-icon"];return p.push(o.prefix+"-icon-"+e),t&&o.rtl&&p.push(o.prefix+"-icon-rtl"),d&&p.push(o.prefix+"-icon-spin"),V("span",{class:p.join(" ")},[n(f)])}}}}const Sm=Cm("add-text",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M4 8H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M28 21H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M18 42L18 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M36 42L36 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),jm=Cm("add-text-two",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("circle",{cx:"24",cy:"24",r:"20",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null),V("path",{d:"M32 16H16",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 34V16",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Mm=Cm("align-bottom",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"17",y:"6",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 42H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Em=Cm("align-horizontally",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"7",y:"17",width:"34",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Tm=Cm("align-left",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"14.5",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6.5 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Om=Cm("align-right",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"6",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Am=Cm("align-text-both",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M42 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Pm=Cm("align-text-bottom-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M27 34H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Im=Cm("align-text-center",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M36 19H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M36 39H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Rm=Cm("align-text-center-one",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M30 24H18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34 15H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34 33H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Bm=Cm("align-text-left",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Wm=Cm("align-text-middle-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M26 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Hm=Cm("align-text-right",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 19H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 39H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),zm=Cm("align-text-top-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M26 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34 13H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Dm=Cm("align-top",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"17",y:"14.5",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 6.5H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Nm=Cm("align-vertically",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"17",y:"7",width:"14",height:"34",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 24H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Fm=Cm("all-application",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M18 6H8C6.89543 6 6 6.89543 6 8V18C6 19.1046 6.89543 20 8 20H18C19.1046 20 20 19.1046 20 18V8C20 6.89543 19.1046 6 18 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M18 28H8C6.89543 28 6 28.8954 6 30V40C6 41.1046 6.89543 42 8 42H18C19.1046 42 20 41.1046 20 40V30C20 28.8954 19.1046 28 18 28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M40 6H30C28.8954 6 28 6.89543 28 8V18C28 19.1046 28.8954 20 30 20H40C41.1046 20 42 19.1046 42 18V8C42 6.89543 41.1046 6 40 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M40 28H30C28.8954 28 28 28.8954 28 30V40C28 41.1046 28.8954 42 30 42H40C41.1046 42 42 41.1046 42 40V30C42 28.8954 41.1046 28 40 28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),Vm=Cm("application-menu",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M10 14C12.2091 14 14 12.2091 14 10C14 7.79086 12.2091 6 10 6C7.79086 6 6 7.79086 6 10C6 12.2091 7.79086 14 10 14Z",fill:e.colors[0]},null),V("path",{d:"M24 14C26.2091 14 28 12.2091 28 10C28 7.79086 26.2091 6 24 6C21.7909 6 20 7.79086 20 10C20 12.2091 21.7909 14 24 14Z",fill:e.colors[0]},null),V("path",{d:"M38 14C40.2091 14 42 12.2091 42 10C42 7.79086 40.2091 6 38 6C35.7909 6 34 7.79086 34 10C34 12.2091 35.7909 14 38 14Z",fill:e.colors[0]},null),V("path",{d:"M10 28C12.2091 28 14 26.2091 14 24C14 21.7909 12.2091 20 10 20C7.79086 20 6 21.7909 6 24C6 26.2091 7.79086 28 10 28Z",fill:e.colors[0]},null),V("path",{d:"M24 28C26.2091 28 28 26.2091 28 24C28 21.7909 26.2091 20 24 20C21.7909 20 20 21.7909 20 24C20 26.2091 21.7909 28 24 28Z",fill:e.colors[0]},null),V("path",{d:"M38 28C40.2091 28 42 26.2091 42 24C42 21.7909 40.2091 20 38 20C35.7909 20 34 21.7909 34 24C34 26.2091 35.7909 28 38 28Z",fill:e.colors[0]},null),V("path",{d:"M10 42C12.2091 42 14 40.2091 14 38C14 35.7909 12.2091 34 10 34C7.79086 34 6 35.7909 6 38C6 40.2091 7.79086 42 10 42Z",fill:e.colors[0]},null),V("path",{d:"M24 42C26.2091 42 28 40.2091 28 38C28 35.7909 26.2091 34 24 34C21.7909 34 20 35.7909 20 38C20 40.2091 21.7909 42 24 42Z",fill:e.colors[0]},null),V("path",{d:"M38 42C40.2091 42 42 40.2091 42 38C42 35.7909 40.2091 34 38 34C35.7909 34 34 35.7909 34 38C34 40.2091 35.7909 42 38 42Z",fill:e.colors[0]},null)])})),Um=Cm("arrow-circle-left",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32.4917 24.5H14.4917",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M23.4917 15.5L14.4917 24.5L23.4917 33.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),$m=Cm("back",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M44 40.8361C39.1069 34.8632 34.7617 31.4739 30.9644 30.6682C27.1671 29.8625 23.5517 29.7408 20.1182 30.303V41L4 23.5453L20.1182 7V17.167C26.4667 17.2172 31.8638 19.4948 36.3095 24C40.7553 28.5052 43.3187 34.1172 44 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),Ym=Cm("background-color",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 37C39.2091 37 41 35.2091 41 33C41 31.5272 39.6667 29.5272 37 27C34.3333 29.5272 33 31.5272 33 33C33 35.2091 34.7909 37 37 37Z",fill:e.colors[0]},null),V("path",{d:"M20.8535 5.50439L24.389 9.03993",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M23.6818 8.33281L8.12549 23.8892L19.4392 35.2029L34.9955 19.6465L23.6818 8.33281Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 20.0732L28.961 25.6496",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M4 43H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),Xm=Cm("bar-code",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M4 20H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 6V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 25.9956V37.9992",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M20.4 6V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M20.4 26V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34.8 6V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 6V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34.8 26V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M13.2 6V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M13.2 26V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M27.6 6V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M27.6 26V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 26V38",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Zm=Cm("bring-forward",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"6",y:"34",width:"36",height:"8",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("rect",{x:"6",y:"20",width:"36",height:"8",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M30 12L24 6L18 12V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 28V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 6V20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Gm=Cm("bring-to-front",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M41 18H19C18.4477 18 18 18.4477 18 19V41C18 41.5523 18.4477 42 19 42H41C41.5523 42 42 41.5523 42 41V19C42 18.4477 41.5523 18 41 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M26.0023 6H30V10.0152",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 16C6 18.6536 6 19.9869 6 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M30 16C30 18.6765 30 19.3456 30 18.0074",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M15.9922 30H17.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),qm=Cm("bring-to-front-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M14 21V34H27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 14H34V27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M5 21V5H21V21H5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M27 43V27H43V43H27Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Km=Cm("chart-histogram",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 30V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M22 22V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M30 6V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M38 14V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Jm=Cm("chart-histogram-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M18 34H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M26 26H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 18H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34 10L14 10",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Qm=Cm("chart-line",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 34L22 18L32 27L42 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),ev=Cm("chart-line-area",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 34L22 18L32 27L42 6V34H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),tv=Cm("chart-pie",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4V24H44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43.0844 18H30V4.91553C36.2202 6.86917 41.1308 11.7798 43.0844 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),nv=Cm("chart-proportion",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M16.3446 5.51758C13.9 6.53124 11.7001 8.01574 9.85786 9.85797C6.23858 13.4773 4 18.4773 4 24.0001C4 35.0458 12.9543 44.0001 24 44.0001V44.0001C29.5228 44.0001 34.5228 41.7615 38.1421 38.1422C39.9844 36.3 41.4689 34.1001 42.4825 31.6555",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 24H44C44 12.9543 35.0457 4 24 4L24 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),rv=Cm("chart-ring",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M43.7756 20.9938C42.4735 12.3555 35.6463 5.5277 27.0084 4.22461M20.9757 4.22702C11.3651 5.68478 4 13.9822 4 23.9998C4 34.0212 11.3705 42.321 20.9863 43.7743C21.9692 43.9228 22.9756 43.9998 24 43.9998C25.0209 43.9998 26.024 43.9233 27.0038 43.7758C35.6458 42.4741 42.4762 35.6427 43.7764 27.0003",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 16C19.5817 16 16 19.5817 16 24C16 28.4183 19.5817 32 24 32C28.4183 32 32 28.4183 32 24C32 19.5817 28.4183 16 24 16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),iv=Cm("chart-scatter",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 24C22.2091 24 24 22.2091 24 20C24 17.7909 22.2091 16 20 16C17.7909 16 16 17.7909 16 20C16 22.2091 17.7909 24 20 24Z",fill:e.colors[0]},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 16C39.7614 16 42 13.7614 42 11C42 8.23858 39.7614 6 37 6C34.2386 6 32 8.23858 32 11C32 13.7614 34.2386 16 37 16Z",fill:e.colors[0]},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15 36C16.6569 36 18 34.6569 18 33C18 31.3431 16.6569 30 15 30C13.3431 30 12 31.3431 12 33C12 34.6569 13.3431 36 15 36Z",fill:e.colors[0]},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 32C34.6569 32 36 30.6569 36 29C36 27.3431 34.6569 26 33 26C31.3431 26 30 27.3431 30 29C30 30.6569 31.3431 32 33 32Z",fill:e.colors[0]},null)])})),ov=Cm("check-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 24L22 30L34 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),sv=Cm("clear",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 5.91406H28V13.9141H43V21.9141H5V13.9141H20V5.91406Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M8 40H40V22H8V40Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 39.8977V33.8977",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),av=Cm("click",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22 22L42 26L36 30L42 36L36 42L30 36L26 42L22 22Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M38.1421 9.85789L32.4853 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M9.85787 38.1421L15.5147 32.4853",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 24H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M9.85795 9.85787L15.5148 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),lv=Cm("click-tap",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M15 26V15C15 13.3431 16.3431 12 18 12C19.6569 12 21 13.3431 21 15V26",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M39 25V31.5C39 37.8513 33.8513 43 27.5 43H26.5C20.1487 43 15 37.8513 15 31.5V25",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 29V27.1058V24C21 22.3431 22.3431 21 24 21C25.6569 21 27 22.3431 27 24V27.1818V29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M27 29V27.1058V24C27 22.3431 28.3431 21 30 21C31.6569 21 33 22.3431 33 24V27.1818V29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M33 29V27.1058V24C33 22.3431 34.3431 21 36 21C37.6569 21 39 22.3431 39 24V27.1818V29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M28 15C28 13.9489 27.8378 12.9357 27.5371 11.9839C27.2008 10.9195 26.6913 9.93208 26.0415 9.0547C24.2198 6.59472 21.2961 5 18 5C14.7039 5 11.7802 6.59472 9.95847 9.0547C9.30873 9.93208 8.79916 10.9195 8.46286 11.9839C8.16217 12.9357 8 13.9489 8 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),cv=Cm("close",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),hv=Cm("close-small",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M14 14L34 34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 34L34 14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),uv=Cm("code",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M16 13L4 25.4322L16 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 13L44 25.4322L32 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M28 4L21 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),dv=Cm("color-filter",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 40.9444C26.123 42.8446 28.9266 44 32 44C38.6274 44 44 38.6274 44 32C44 26.4085 40.1757 21.7102 35 20.3781",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M13 20.3781C7.82432 21.7102 4 26.4085 4 32C4 38.6274 9.37258 44 16 44C22.6274 44 28 38.6274 28 32C28 30.4506 27.7063 28.9697 27.1716 27.6101",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 28C30.6274 28 36 22.6274 36 16C36 9.37258 30.6274 4 24 4C17.3726 4 12 9.37258 12 16C12 22.6274 17.3726 28 24 28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),fv=Cm("connection",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M39 34L44 39L39 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 8L20 8C22.2091 8 24 9.79086 24 12V35C24 37.2091 25.7909 39 28 39H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),pv=Cm("contrast-view-circle",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44V4Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 4C35.0457 4 44 12.9543 44 24C44 35.0457 35.0457 44 24 44V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 36H9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 28H5",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 20H5",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 12H9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),gv=Cm("copy",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),kv=Cm("copy-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M13 38H41V16H30V4H13V38Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M30 4L41 16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M7 20V44H28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M19 20H23",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M19 28H31",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),mv=Cm("cutting-one",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M11 42C13.7614 42 16 39.7614 16 37C16 34.2386 13.7614 32 11 32C8.23858 32 6 34.2386 6 37C6 39.7614 8.23858 42 11 42Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M37 42C39.7614 42 42 39.7614 42 37C42 34.2386 39.7614 32 37 32C34.2386 32 32 34.2386 32 37C32 39.7614 34.2386 42 37 42Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M15.3774 39.4131L17.5 35.8162L34.5 6.37138",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M13.4957 6.17518L30.4957 35.62L32.6265 39.4131",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),vv=Cm("delete",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M9 10V44H39V10H9Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M20 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M28 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 10H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),yv=Cm("distortion",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M4 19V40H17M4 19V8H17M4 19C4 19 13 13 24 19C35 25 44 19 44 19M44 19V8H17M44 19V40H17M4 29C4 29 13 23 24 29C35 35 44 29 44 29M17 8C17 8 23 16 17 24C11 32 17 40 17 40M31 8C31 8 37 16 31 24C25 32 31 40 31 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Lv=Cm("dividing-line",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M5 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 38H27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M37 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 10H27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M5 38H11",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M5 10H11",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M37 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),wv=Cm("down",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M36 18L24 30L12 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),bv=Cm("down-one",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M36 19L24 31L12 19H36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),_v=Cm("download-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M11.6777 20.271C7.27476 21.3181 4 25.2766 4 30C4 35.5228 8.47715 40 14 40C14.9474 40 15.864 39.8683 16.7325 39.6221",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M36.0547 20.271C40.4577 21.3181 43.7324 25.2766 43.7324 30C43.7324 35.5228 39.2553 40 33.7324 40C32.785 40 31.8684 39.8683 30.9999 39.6221",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M36 20C36 13.3726 30.6274 8 24 8C17.3726 8 12 13.3726 12 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M17.0654 30.119L23.9999 37.0764L31.1318 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 20V33.5382",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),xv=Cm("edit",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M7 42H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M11 26.7199V34H18.3172L39 13.3081L31.6951 6L11 26.7199Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),Cv=Cm("effects",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24.9507 42.3603L30.4164 30.3695L43.1046 26.6501L33.3383 17.7699L33.7059 4.60732L22.2044 11.1099L9.74329 6.69439L12.4013 19.5934L4.33228 30.027L17.4766 31.4965L24.9507 42.3603Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M36.1777 36.0537L44.1777 44.0179",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Sv=Cm("erase",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M4 42H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M31 4L7 28L13 34H21L41 14L31 4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),jv=Cm("exclude-selection",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"16",y:"16",width:"27",height:"27",rx:"2",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("rect",{x:"5",y:"5",width:"27",height:"27",rx:"2",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M25.0005 32L16.0005 41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M41.0005 16L32.0005 25",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16.0005 23L7.00049 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32.0005 7L23.0005 16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43.0005 24L24.0005 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24.0005 5L5.00049 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43.0005 34L34.0005 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 5L5 14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Mv=Cm("expand-down-one",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 9L42 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 19L42 19",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 26L24 40L42 26",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Ev=Cm("fill",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("rect",{x:"14",y:"14",width:"20",height:"20",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34 23L23 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M25 14L14 25",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34 14L14 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 22V34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M22 14H34V26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Tv=Cm("flip-horizontally",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 34L16 12V34H4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 34H32V12L44 34Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),Ov=Cm("flip-vertically",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M42 24L6 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 4L36 16H14V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 44V32H36L14 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),Av=Cm("fold-up-one",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 10L42 10",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 20L42 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 40L24 26L42 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Pv=Cm("folder-close",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M5 8C5 6.89543 5.89543 6 7 6H19L24 12H41C42.1046 12 43 12.8954 43 14V40C43 41.1046 42.1046 42 41 42H7C5.89543 42 5 41.1046 5 40V8Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43 22H5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M5 16V28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43 16V28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Iv=Cm("font-size",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M8 10.9333L8 6H40V10.9333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 42H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Rv=Cm("format",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"8",y:"24",width:"32",height:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 13H18V6H30V13H44V24H4V13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 32L16 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),Bv=Cm("format-brush",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M34 5H6V20H34V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34.0251 12H43V28.1014L19 31.2004V43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Wv=Cm("formula",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M40 9L37 6H8L26 24L8 42H37L40 39",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Hv=Cm("full-screen",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),zv=Cm("full-screen-one",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Dv=Cm("full-screen-play",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M16 40H6C4.89543 40 4 39.1046 4 38V10C4 8.89543 4.89543 8 6 8H42C43.1046 8 44 8.89543 44 10V16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 24H26C24.8954 24 24 24.8954 24 26V38C24 39.1046 24.8954 40 26 40H42C43.1046 40 44 39.1046 44 38V26C44 24.8954 43.1046 24 42 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),Nv=Cm("fullwidth",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M42 6V42M17 19L12 24M12 24L17 29M12 24H36M31 19L36 24M36 24L31 29M6 6L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Fv=Cm("github",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4ZM0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z",fill:e.colors[0]},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.1833 45.4716C18.9898 45.2219 18.9898 42.9973 19.1833 38.798C17.1114 38.8696 15.8024 38.7258 15.2563 38.3667C14.437 37.828 13.6169 36.1667 12.8891 34.9959C12.1614 33.8251 10.5463 33.64 9.89405 33.3783C9.24182 33.1165 9.07809 32.0496 11.6913 32.8565C14.3044 33.6634 14.4319 35.8607 15.2563 36.3745C16.0806 36.8883 18.0515 36.6635 18.9448 36.2519C19.8382 35.8403 19.7724 34.3078 19.9317 33.7007C20.1331 33.134 19.4233 33.0083 19.4077 33.0037C18.5355 33.0037 13.9539 32.0073 12.6955 27.5706C11.437 23.134 13.0581 20.2341 13.9229 18.9875C14.4995 18.1564 14.4485 16.3852 13.7699 13.6737C16.2335 13.3589 18.1347 14.1343 19.4734 16.0001C19.4747 16.0108 21.2285 14.9572 24.0003 14.9572C26.772 14.9572 27.7553 15.8154 28.5142 16.0001C29.2731 16.1848 29.88 12.7341 34.5668 13.6737C33.5883 15.5969 32.7689 18.0001 33.3943 18.9875C34.0198 19.9749 36.4745 23.1147 34.9666 27.5706C33.9614 30.5413 31.9853 32.3523 29.0384 33.0037C28.7005 33.1115 28.5315 33.2855 28.5315 33.5255C28.5315 33.8856 28.9884 33.9249 29.6465 35.6117C30.0853 36.7362 30.117 39.948 29.7416 45.247C28.7906 45.4891 28.0508 45.6516 27.5221 45.7347C26.5847 45.882 25.5669 45.9646 24.5669 45.9965C23.5669 46.0284 23.2196 46.0248 21.837 45.8961C20.9154 45.8103 20.0308 45.6688 19.1833 45.4716Z",fill:e.colors[0]},null)])})),Vv=Cm("graphic-design",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M19 32C11.268 32 5 25.732 5 18C5 10.268 11.268 4 19 4C26.732 4 33 10.268 33 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 18H18V44H44V18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),Uv=Cm("group",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M12 4H4V12H12V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 36H36V44H44V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 36H4V44H12V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 4H36V12H44V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M8 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M40 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 8H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 16H25.6V22.4H32V32H22.4V25.6H16V16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),$v=Cm("guide-board",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 4V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 8H39.5455L42 12L39.5455 16H24V8Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 22H8.45455L6 26L8.45455 30H24V22Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 42H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Yv=Cm("h1",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 8V40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M25 8V40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 24H25",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34.2261 24L39.0001 19.0166V40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Xv=Cm("h3",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 8V40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 8V40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M7 24H23",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 20H42L35 29C39 29 42 31 42 35C42 39 39 40 37 40C34.619 40 33 39 32 37.9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Zv=Cm("hamburger-button",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M7.94971 11.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M7.94971 23.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M7.94971 35.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Gv=Cm("headset-one",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M36 32C40.4183 32 44 28.4183 44 24C44 19.5817 40.4183 16 36 16",fill:e.colors[1]},null),V("path",{d:"M36 32V32C40.4183 32 44 28.4183 44 24C44 19.5817 40.4183 16 36 16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 16C7.58172 16 4 19.5817 4 24C4 28.4183 7.58172 32 12 32",fill:e.colors[1]},null),V("path",{d:"M12 16C7.58172 16 4 19.5817 4 24C4 28.4183 7.58172 32 12 32V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 32V31.5V29V24V16C12 9.37258 17.3726 4 24 4C30.6274 4 36 9.37258 36 16V32C36 38.6274 30.6274 44 24 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),qv=Cm("helpcenter",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 28.625V24.625C27.3137 24.625 30 21.9387 30 18.625C30 15.3113 27.3137 12.625 24 12.625C20.6863 12.625 18 15.3113 18 18.625",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37.625C25.3807 37.625 26.5 36.5057 26.5 35.125C26.5 33.7443 25.3807 32.625 24 32.625C22.6193 32.625 21.5 33.7443 21.5 35.125C21.5 36.5057 22.6193 37.625 24 37.625Z",fill:e.colors[2]},null)])})),Kv=Cm("high-light",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 44L6 25H12V17H36V25H42V44H6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M17 17V8L31 4V17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Jv=Cm("home",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M9 18V42H39V18L24 6L9 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M19 29V42H29V29H19Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M9 42H39",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),Qv=Cm("id-card",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M42 8H6C4.89543 8 4 8.89543 4 10V38C4 39.1046 4.89543 40 6 40H42C43.1046 40 44 39.1046 44 38V10C44 8.89543 43.1046 8 42 8Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M36 16H28V24H36V16Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 32H36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 16H18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 24H18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),ey=Cm("indent-left",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 9H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M19 19H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M19 29H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M11 19L6 24L11 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 39H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),ty=Cm("indent-right",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M29 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M29 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M37 19L42 24L37 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),ny=Cm("insert-table",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M39.3 6H8.7C7.20883 6 6 7.20883 6 8.7V39.3C6 40.7912 7.20883 42 8.7 42H39.3C40.7912 42 42 40.7912 42 39.3V8.7C42 7.20883 40.7912 6 39.3 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth},null),V("path",{d:"M18 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M30 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M6 18H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M6 30H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),ry=Cm("intersect-selection",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"16",y:"16",width:"27",height:"27",rx:"2",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("rect",{x:"5",y:"5",width:"27",height:"27",rx:"2",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M27 16L16 27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 21L21 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),iy=Cm("intersection",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M31 31H40C41.1046 31 42 30.1046 42 29V8C42 6.89543 41.1046 6 40 6H19C17.8954 6 17 6.89543 17 8V17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M17 17H8C6.89543 17 6 17.8954 6 19V40C6 41.1046 6.89543 42 8 42H29C30.1046 42 31 41.1046 31 40V31",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("rect",{x:"17",y:"17",width:"14",height:"14",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),oy=Cm("keyboard-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"4",y:"18",width:"40",height:"24",rx:"2",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("circle",{cx:"14",cy:"24",r:"2",fill:e.colors[0]},null),V("circle",{cx:"16",cy:"30",r:"2",fill:e.colors[0]},null),V("circle",{cx:"10",cy:"30",r:"2",fill:e.colors[0]},null),V("circle",{cx:"20",cy:"24",r:"2",fill:e.colors[0]},null),V("circle",{cx:"22",cy:"30",r:"2",fill:e.colors[0]},null),V("circle",{cx:"26",cy:"24",r:"2",fill:e.colors[0]},null),V("circle",{cx:"28",cy:"30",r:"2",fill:e.colors[0]},null),V("circle",{cx:"32",cy:"24",r:"2",fill:e.colors[0]},null),V("circle",{cx:"34",cy:"30",r:"2",fill:e.colors[0]},null),V("circle",{cx:"38",cy:"24",r:"2",fill:e.colors[0]},null),V("path",{d:"M17 36H31",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M33 18V13.125C33 12.5727 33.4477 12.125 34 12.125H39C39.5523 12.125 40 11.6773 40 11.125V6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),sy=Cm("layers",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M4 11.9143L24 19L44 11.9143L24 5L4 11.9143Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 20L24 27L44 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 28L24 35L44 28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 36L24 43L44 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),ay=Cm("left",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M31 36L19 24L31 12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),ly=Cm("left-c",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M27 33L18 24L27 15",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),cy=Cm("left-small-down",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M15 33L32 16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M33 33H15V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),hy=Cm("left-small-up",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M32 32L15 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M15 33V15H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),uy=Cm("left-two",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 5L6 24L24 43L24 31L42 31V17H24V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),dy=Cm("link-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M26.2401 16.373L17.1001 7.23303C14.4388 4.57168 10.0653 4.6303 7.33158 7.36397C4.59791 10.0976 4.53929 14.4712 7.20064 17.1325L15.1359 25.0678",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32.9027 23.0031L40.838 30.9384C43.4994 33.5998 43.4407 37.9733 40.7071 40.707C37.9734 43.4407 33.5999 43.4993 30.9385 40.8379L21.7985 31.6979",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M26.1093 26.1416C28.843 23.4079 28.9016 19.0344 26.2403 16.373",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21.7989 21.7984C19.0652 24.5321 19.0066 28.9056 21.6679 31.5669",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),fy=Cm("list",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M5 10L8 13L14 7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M5 24L8 27L14 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M5 38L8 41L14 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),py=Cm("list-view",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"4",y:"6",width:"40",height:"36",rx:"3",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 14H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M20 24H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M20 32H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 24H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 32H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),gy=Cm("lock",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"6",y:"22",width:"36",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 22V14C14 8.47715 18.4772 4 24 4C29.5228 4 34 8.47715 34 14V22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),ky=Cm("logout",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M23.9917 6H6V42H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M33 33L42 24L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 23.9917H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),my=Cm("magic",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M20.1005 8.1005L24.3431 12.3431M30 4V10V4ZM39.8995 8.1005L35.6569 12.3431L39.8995 8.1005ZM44 18H38H44ZM39.8995 27.8995L35.6569 23.6569L39.8995 27.8995ZM30 32V26V32ZM20.1005 27.8995L24.3431 23.6569L20.1005 27.8995ZM16 18H22H16Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M29.5856 18.4143L5.54395 42.4559",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),vy=Cm("magic-wand",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M7.57932 35.4207C5.32303 32.1826 4 28.2458 4 24C4 12.9543 12.9543 4 24 4C35.0457 4 44 12.9543 44 24C44 35.0457 35.0457 44 24 44C19.7542 44 15.8174 42.677 12.5793 40.4207M7.57932 35.4207C8.93657 37.3685 10.6315 39.0634 12.5793 40.4207M7.57932 35.4207L16 27M12.5793 40.4207L21 32M16 27L20 23L25 28L21 32M16 27L21 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M17 14H21M19 12V16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M28 17H34M31 14V20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 29H36M34 27V31",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),yy=Cm("mail",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M4 39H44V24V9H24H4V24V39Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 9L24 24L44 9",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 9H4V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 24V9H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Ly=Cm("map-draw",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M17 12L4 6V36L17 42L31 36L44 42V12L31 6L17 12Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M31 6V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M17 12V42",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M10.5 9L17 12L31 6L37.5 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M10.5 39L17 42L31 36L37.5 39",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),wy=Cm("minus",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M10.5 24L38.5 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),by=Cm("more",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("circle",{cx:"12",cy:"24",r:"3",fill:e.colors[0]},null),V("circle",{cx:"24",cy:"24",r:"3",fill:e.colors[0]},null),V("circle",{cx:"36",cy:"24",r:"3",fill:e.colors[0]},null)])})),_y=Cm("navigation",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24.5 4L9 44L24.5 34.9091L40 44L24.5 4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),xy=Cm("needle",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("g",{"clip-path":"url(#"+e.id+"3d50a8e2)"},[V("path",{d:"M39 23L25 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43.9995 17L30.9995 4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34.999 18.999L39.999 13.999",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M28.999 12.999L33.999 7.99902",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M11 37L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M27.9999 12.0001L11.9999 27.9998L10.9999 37L19.9999 35.9998L35.9999 20.0001L27.9999 12.0001Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)]),V("defs",null,[V("clipPath",{id:e.id+"3d50a8e2"},[V("rect",{width:"48",height:"48",fill:e.colors[2]},null)])])])})),Cy=Cm("newlybuild",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M19 10V7C19 5.89543 19.8954 5 21 5H41C42.1046 5 43 5.89543 43 7V29C43 30.1046 42.1046 31 41 31H37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("rect",{x:"5",y:"18",width:"24",height:"24",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M17 25V35",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 30H22",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Sy=Cm("next",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 40.8361C8.89307 34.8632 13.2383 31.4739 17.0356 30.6682C20.8329 29.8625 24.4483 29.7408 27.8818 30.303V41L44 23.5453L27.8818 7V17.167C21.5333 17.2172 16.1362 19.4948 11.6905 24C7.24474 28.5052 4.68126 34.1172 4 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),jy=Cm("off-screen-one",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 7V16H41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 7V16H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 41V32H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 41V32H40.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),My=Cm("ordered-list",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M9 4V13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 13H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 27H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 19.9998C6 19.9998 9 16.9998 11 19.9998C13 22.9999 6 26.9998 6 26.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6.00016 34.5001C6.00016 34.5001 8.00016 31.5 11.0002 33.5C14.0002 35.5 11.0002 38 11.0002 38C11.0002 38 14.0002 40.5 11.0002 42.5C8.00015 44.5 6.00015 41.5 6.00015 41.5",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M11 38H9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M9 4L6 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Ey=Cm("page-template",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M23 4H4V26H23V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 34H4V43H44V34Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 4H31V12H44V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 18H31V26H44V18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),Ty=Cm("pause",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M16 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Oy=Cm("pay-code-two",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M16 6H8C6.89543 6 6 6.89543 6 8V16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 42H8C6.89543 42 6 41.1046 6 40V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 42H40C41.1046 42 42 41.1046 42 40V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 6H40C41.1046 6 42 6.89543 42 8V16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 16V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 16V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 16V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Ay=Cm("peoples",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M19 20C22.866 20 26 16.866 26 13C26 9.13401 22.866 6 19 6C15.134 6 12 9.13401 12 13C12 16.866 15.134 20 19 20Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32.6077 7C34.6405 8.2249 36.0001 10.4537 36.0001 13C36.0001 15.5463 34.6405 17.7751 32.6077 19",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 40.8V42H34V40.8C34 36.3196 34 34.0794 33.1281 32.3681C32.3611 30.8628 31.1372 29.6389 29.6319 28.8719C27.9206 28 25.6804 28 21.2 28H16.8C12.3196 28 10.0794 28 8.36808 28.8719C6.86278 29.6389 5.63893 30.8628 4.87195 32.3681C4 34.0794 4 36.3196 4 40.8Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43.9999 42.0001V40.8001C43.9999 36.3197 43.9999 34.0795 43.128 32.3682C42.361 30.8629 41.1371 29.6391 39.6318 28.8721",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Py=Cm("picture",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M18 23C20.7614 23 23 20.7614 23 18C23 15.2386 20.7614 13 18 13C15.2386 13 13 15.2386 13 18C13 20.7614 15.2386 23 18 23Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M27.7901 26.2194C28.6064 25.1269 30.2528 25.1538 31.0329 26.2725L39.8077 38.8561C40.7322 40.182 39.7835 42.0001 38.1671 42.0001H16L27.7901 26.2194Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Iy=Cm("platte",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 44C29.9601 44 26.3359 35.136 30 31C33.1264 27.4709 44 29.0856 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M28 17C29.6569 17 31 15.6569 31 14C31 12.3431 29.6569 11 28 11C26.3431 11 25 12.3431 25 14C25 15.6569 26.3431 17 28 17Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 21C17.6569 21 19 19.6569 19 18C19 16.3431 17.6569 15 16 15C14.3431 15 13 16.3431 13 18C13 19.6569 14.3431 21 16 21Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M17 34C18.6569 34 20 32.6569 20 31C20 29.3431 18.6569 28 17 28C15.3431 28 14 29.3431 14 31C14 32.6569 15.3431 34 17 34Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),Ry=Cm("play-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M15 24V11.8756L25.5 17.9378L36 24L25.5 30.0622L15 36.1244V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),By=Cm("plus",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24.0605 10L24.0239 38",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M10 24L38 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Wy=Cm("power",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M14.5 8C13.8406 8.37652 13.2062 8.79103 12.6 9.24051C11.5625 10.0097 10.6074 10.8814 9.75 11.8402C6.79377 15.1463 5 19.4891 5 24.2455C5 34.6033 13.5066 43 24 43C34.4934 43 43 34.6033 43 24.2455C43 19.4891 41.2062 15.1463 38.25 11.8402C37.3926 10.8814 36.4375 10.0097 35.4 9.24051C34.7938 8.79103 34.1594 8.37652 33.5 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 4V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Hy=Cm("ppt",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M4 8H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 8H40V34H8V8Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M22 16L27 21L22 26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 42L24 34L32 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),zy=Cm("preview-close",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 16C6.63472 17.2193 7.59646 18.3504 8.82276 19.3554C12.261 22.1733 17.779 24 24 24C30.221 24 35.739 22.1733 39.1772 19.3554C40.4035 18.3504 41.3653 17.2193 42 16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M28.9775 24L31.048 31.7274",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M37.3535 21.3536L43.0103 27.0104",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M5.00004 27.0103L10.6569 21.3534",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16.9278 31.7276L18.9983 24.0001",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Dy=Cm("preview-close-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M9.85786 18C6.23858 21 4 24 4 24C4 24 12.9543 36 24 36C25.3699 36 26.7076 35.8154 28 35.4921M20.0318 12.5C21.3144 12.1816 22.6414 12 24 12C35.0457 12 44 24 44 24C44 24 41.7614 27 38.1421 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M20.3142 20.6211C19.4981 21.5109 19 22.6972 19 23.9998C19 26.7612 21.2386 28.9998 24 28.9998C25.3627 28.9998 26.5981 28.4546 27.5 27.5705",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 42L6 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Ny=Cm("preview-open",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 36C35.0457 36 44 24 44 24C44 24 35.0457 12 24 12C12.9543 12 4 24 4 24C4 24 12.9543 36 24 36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 29C26.7614 29 29 26.7614 29 24C29 21.2386 26.7614 19 24 19C21.2386 19 19 21.2386 19 24C19 26.7614 21.2386 29 24 29Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),Fy=Cm("quote",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.8533 9.11587C11.3227 13.9521 7.13913 19.5811 6.30256 26.0028C5.00021 35.9999 13.9404 40.8932 18.4703 36.4966C23.0002 32.1 20.2848 26.5195 17.0047 24.9941C13.7246 23.4686 11.7187 23.9999 12.0686 21.9614C12.4185 19.923 17.0851 14.2712 21.1849 11.6391C21.4569 11.4078 21.5604 10.959 21.2985 10.6185C21.1262 10.3946 20.7883 9.95545 20.2848 9.30102C19.8445 8.72875 19.4227 8.75017 18.8533 9.11587Z",fill:e.colors[0]},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M38.6789 9.11587C31.1484 13.9521 26.9648 19.5811 26.1282 26.0028C24.8259 35.9999 33.7661 40.8932 38.296 36.4966C42.8259 32.1 40.1105 26.5195 36.8304 24.9941C33.5503 23.4686 31.5443 23.9999 31.8943 21.9614C32.2442 19.923 36.9108 14.2712 41.0106 11.6391C41.2826 11.4078 41.3861 10.959 41.1241 10.6185C40.9519 10.3946 40.614 9.95545 40.1105 9.30102C39.6702 8.72875 39.2484 8.75017 38.6789 9.11587Z",fill:e.colors[0]},null)])})),Vy=Cm("reduce-one",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 24L32 24",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Uy=Cm("refresh",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M42 8V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 24L6 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 24C42 14.0589 33.9411 6 24 6C18.9145 6 14.3216 8.10896 11.0481 11.5M6 24C6 33.9411 14.0589 42 24 42C28.8556 42 33.2622 40.0774 36.5 36.9519",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),$y=Cm("right",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M19 12L31 24L19 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Yy=Cm("right-angle",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 9.1153C8 7.29468 10.2347 6.42094 11.4696 7.75874L40.9016 39.6434C42.0842 40.9246 41.1755 43 39.432 43H10C8.89543 43 8 42.1046 8 41V9.1153Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Xy=Cm("right-c",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 33L30 24L21 15",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Zy=Cm("right-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M20 12L32 24L20 36V12Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),Gy=Cm("right-small-down",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M32.3535 32.3535L15.3535 15.3535",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32.3535 14.3535V32.3535H14.3535",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),qy=Cm("right-small-up",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M16 32L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M15 15H33V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Ky=Cm("right-two",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 43L42 24L24 5L24 17L6 17V31H24V43Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Jy=Cm("rotate",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M12 24H42V42H12V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 8V17H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M38.4747 13.2985C35.1956 8.87049 29.933 6 24 6C18.1788 6 13.0029 8.76334 9.71272 13.0498L6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),Qy=Cm("round",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("circle",{cx:"24",cy:"24",r:"20",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])})),eL=Cm("row-height",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M16 35L10 41L4 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 13L10 7L4 13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M10 7V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 9H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M36 19H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 29H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M36 39H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),tL=Cm("ruler",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M44 14L34 4L30.25 7.75L26.5 11.5L19 19L11.5 26.5L7.75 30.25L4 34L14 44L44 14Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M30.25 7.75L7.75 30.25",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M9 29L13 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 24L20 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M19 19L23 23",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 14L30 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M29 9L33 13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),nL=Cm("save",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 9C6 7.34315 7.34315 6 9 6H34.2814L42 13.2065V39C42 40.6569 40.6569 42 39 42H9C7.34315 42 6 40.6569 6 39V9Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24.0083 6L24 13.3846C24 13.7245 23.5523 14 23 14H15C14.4477 14 14 13.7245 14 13.3846L14 6",fill:e.colors[3]},null),V("path",{d:"M24.0083 6L24 13.3846C24 13.7245 23.5523 14 23 14H15C14.4477 14 14 13.7245 14 13.3846L14 6H24.0083Z",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M9 6H34.2814",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 26H34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 34H24.0083",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),rL=Cm("screen-rotation",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M4 24C4 35.0457 12.9543 44 24 44L19 39",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 24C44 12.9543 35.0457 4 24 4L29 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M30 41L7 18L18 7L41 30L30 41Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),iL=Cm("send-backward",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{width:"36",height:"8",transform:"matrix(1 0 0 -1 6 14)",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("rect",{width:"36",height:"8",transform:"matrix(1 0 0 -1 6 28)",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M30 36L24 42L18 36V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 42V28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 14V20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),oL=Cm("send-to-back",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M14 21H5V5H21V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 27H43V43H27V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 32V14H32V32H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),sL=Cm("sent-to-back",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M30 18H41C41.5523 18 42 18.4477 42 19V41C42 41.5523 41.5523 42 41 42H19C18.4477 42 18 41.5523 18 41V30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M26 30H29.9971V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M26.0023 6H30V9.99785",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M6 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M30 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M15.9922 30H19.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),aL=Cm("share",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M28 6H42V20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 29.4737V39C42 40.6569 40.6569 42 39 42H9C7.34315 42 6 40.6569 6 39V9C6 7.34315 7.34315 6 9 6L18 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M25.7998 22.1999L41.0998 6.8999",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),lL=Cm("share-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M35 16C37.7614 16 40 13.7614 40 11C40 8.23858 37.7614 6 35 6C32.2386 6 30 8.23858 30 11C30 13.7614 32.2386 16 35 16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M13 29C15.7614 29 18 26.7614 18 24C18 21.2386 15.7614 19 13 19C10.2386 19 8 21.2386 8 24C8 26.7614 10.2386 29 13 29Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M30.0004 13.5745L17.3393 21.2454",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M17.3385 26.5639L30.6789 34.4469",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M35 32C37.7614 32 40 34.2386 40 37C40 39.7614 37.7614 42 35 42C32.2386 42 30 39.7614 30 37C30 34.2386 32.2386 32 35 32Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),cL=Cm("shield",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M6 8.25564L24.0086 3L42 8.25564V19.0337C42 30.3622 34.7502 40.4194 24.0026 44.0005C13.2521 40.4195 6 30.36 6 19.0287V8.25564Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),hL=Cm("shuffle-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M40 33L44 37L40 41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M40 7L44 11L40 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M44 11H37C29.8203 11 24 16.8203 24 24C24 31.1797 29.8203 37 37 37H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M4 37H11C18.1797 37 24 31.1797 24 24C24 16.8203 18.1797 11 11 11H4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),uL=Cm("square",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])})),dL=Cm("stopwatch-start",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 44C33.3888 44 41 36.3888 41 27C41 17.6112 33.3888 10 24 10C14.6112 10 7 17.6112 7 27C7 36.3888 14.6112 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M18 4H30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 19V27",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 27H24",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 4V8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),fL=Cm("strikethrough",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M5 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 24C40 30 34 44 24 44C13.9999 44 12 36 12 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M35.9999 12C35.9999 12 33 4 23.9999 4C14.9999 4 11.4359 11.5995 15.6096 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 36C12 36 15.9999 44 24 44C32 44 36.564 36.4005 32.3903 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),pL=Cm("subtract-selection",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"16",y:"16",width:"27",height:"27",rx:"2",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 32H7C5.89543 32 5 31.1046 5 30V7C5 5.89543 5.89543 5 7 5H30C31.1046 5 32 5.89543 32 7V16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M29 16L16 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M38 16L16 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43 21L23 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43 32L33 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),gL=Cm("subtract-selection-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M32 16H41C42.1046 16 43 16.8954 43 18V41C43 42.1046 42.1046 43 41 43H18C16.8954 43 16 42.1046 16 41V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("rect",{x:"5",y:"5",width:"27",height:"27",rx:"2",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M18 5L5 19",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M27 5L5 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 10L12 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 21L22 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),kL=Cm("tailoring",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M12 4V36H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M20 12H36V28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 12H4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M36 44V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),mL=Cm("tencent-qq",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M23.7927 44.5178C20.1344 44.5178 16.7762 43.2933 14.6142 41.4646C13.5161 41.7927 12.1115 42.3204 11.2254 42.9751C10.4664 43.535 10.5613 44.1059 10.6979 44.3362C11.298 45.3491 20.9938 44.9831 23.7927 44.6678V44.5178ZM23.7927 44.5178C27.4516 44.5178 30.8095 43.2933 32.9718 41.4646C34.0693 41.7927 35.4742 42.3204 36.3606 42.9751C37.119 43.535 37.0244 44.1059 36.8875 44.3362C36.2874 45.3491 26.5919 44.9831 23.7927 44.6678V44.5178Z",fill:e.colors[0]},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M36.3386 20.9326C34.6979 21.3809 29.856 22.5505 23.8144 22.5914H23.7698C17.5753 22.5491 12.6423 21.3214 11.1274 20.8999C10.816 20.8129 10.6458 20.6334 10.6458 20.6334C10.644 20.5785 10.6207 19.6503 10.6207 19.171C10.6207 11.1055 14.4284 3.00029 23.7922 3C33.1561 3.00029 36.9635 11.1052 36.9635 19.1713C36.9635 19.65 36.9402 20.5785 36.9387 20.6337C36.9387 20.6337 36.7297 20.8255 36.3386 20.9326ZM38.8284 25.3504C39.3462 26.7001 39.8573 28.1055 40.2318 29.3107C42.0176 35.0578 41.4388 37.4364 40.9986 37.4898C40.0532 37.6039 37.3187 33.1634 37.3187 33.1634C37.3187 37.6757 33.2448 44.604 23.916 44.6677H23.6685C14.3394 44.604 10.2655 37.6757 10.2655 33.1634C10.2655 33.1634 7.53131 37.6039 6.58588 37.4895C6.14542 37.4364 5.5666 35.0581 7.35268 29.3107C7.72717 28.1058 8.23827 26.7001 8.75609 25.3504C8.75609 25.3504 9.10519 25.3285 9.28207 25.3795C10.7319 25.798 12.2762 26.1689 13.8447 26.4792C13.5776 28.1343 13.4249 30.1827 13.5692 32.6021C13.9533 39.0363 17.7745 43.081 23.6727 43.1394H23.9121C29.8106 43.081 33.6314 39.0363 34.0161 32.6021C34.1604 30.1823 34.0075 28.1345 33.7402 26.4793C35.3363 26.1633 36.9076 25.7848 38.3798 25.3571C38.5307 25.3136 38.8284 25.3504 38.8284 25.3504ZM33.7402 26.4793C30.3004 27.1601 26.7448 27.5502 23.8144 27.5147H23.7698C20.8396 27.5498 17.2841 27.1598 13.8447 26.4792C13.8586 26.3929 13.8728 26.3076 13.8874 26.2234C17.3136 26.8989 20.8513 27.2853 23.769 27.2503H23.8137L23.814 27.25C26.7323 27.2856 30.2709 26.8989 33.6974 26.2231C33.712 26.3074 33.7262 26.3928 33.7402 26.4793ZM18.0376 11.6868C18.1059 13.5266 19.1912 14.9735 20.4615 14.916C21.7309 14.8594 22.7044 13.3208 22.6349 11.4802C22.566 9.6398 21.4811 8.19348 20.2122 8.2504C18.9419 8.30791 17.9687 9.84646 18.0376 11.6868ZM27.1253 14.916C28.3957 14.9735 29.4809 13.5263 29.5489 11.6868C29.6181 9.84646 28.6449 8.30791 27.3746 8.2504C26.1055 8.19378 25.0208 9.64009 24.9519 11.4805C24.8825 13.3208 25.8556 14.8591 27.1253 14.916ZM23.8148 15.9248C28.0469 15.9248 31.4658 16.7625 31.805 17.5141V17.5144C31.821 17.5477 31.8295 17.5841 31.8298 17.621C31.8294 17.6731 31.8131 17.7238 31.7831 17.7663C31.497 18.1835 27.701 20.2436 23.8148 20.2436H23.7692C19.8827 20.2436 16.0867 18.1829 15.8006 17.7663C15.7708 17.7239 15.7545 17.6734 15.7539 17.6216C15.7542 17.5845 15.7627 17.5479 15.7787 17.5144C16.1182 16.7625 19.5368 15.9248 23.7692 15.9248H23.8148Z",fill:e.colors[0]},null),V("path",{d:"M22.0218 11.7142C22.0799 12.441 21.6812 13.0867 21.1327 13.157C20.5831 13.2277 20.0912 12.6958 20.0329 11.969C19.9754 11.2416 20.3735 10.596 20.9211 10.5259C21.4716 10.4547 21.9643 10.9871 22.0218 11.7139V11.7142ZM25.5117 11.9571C25.624 11.7559 26.3885 10.6984 27.9714 11.0834C28.3874 11.1847 28.5797 11.3336 28.6203 11.392C28.6801 11.4784 28.6968 11.6015 28.6358 11.7673C28.5155 12.096 28.2671 12.087 28.1296 12.0227C28.0406 11.9813 26.9381 11.2463 25.9223 12.3429C25.8523 12.418 25.7274 12.4439 25.6091 12.3546C25.4903 12.2647 25.4416 12.0832 25.5117 11.9571Z",fill:e.colors[0]},null),V("path",{d:"M15.5039 26.7117V33.0437C15.5039 33.0437 18.4044 33.6286 21.3105 33.2235V27.383C19.4695 27.2788 17.4841 27.0468 15.5039 26.7117Z",fill:e.colors[0]},null),V("path",{d:"M36.9385 20.6337C36.9385 20.6337 31.2962 22.4148 23.8142 22.4653H23.7695C16.2998 22.4151 10.6648 20.6395 10.6456 20.6337L8.75586 25.35C13.4824 26.775 19.3401 27.6933 23.7695 27.6399H23.8142C28.2436 27.6933 34.101 26.775 38.8282 25.35L36.9385 20.6337Z",fill:e.colors[0]},null)])})),vL=Cm("text",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 19V16H32V19",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M22 34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 18L24 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),yL=Cm("text-bold",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 24C29.5056 24 33.9688 19.5228 33.9688 14C33.9688 8.47715 29.5056 4 24 4H11V24H24Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M28.0312 44C33.5368 44 38 39.5228 38 34C38 28.4772 33.5368 24 28.0312 24H11V44H28.0312Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),LL=Cm("text-italic",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M20 6H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M12 42H28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M29 5.95215L19 41.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),wL=Cm("text-rotation-down",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M29 35L21 31.3333M29 13L21 16.6667M21 16.6667L17 18.5L5 24L17 29.5L21 31.3333M21 16.6667V31.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M37 6V42L43 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),bL=Cm("text-rotation-none",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M13 29L16.6667 21M35 29L31.3333 21M31.3333 21L29.5 17L24 5L18.5 17L16.6667 21M31.3333 21H16.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 37H42L36 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),_L=Cm("text-style-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M4 42L8.94118 30M32 42L27.0588 30M27.0588 30L25 25L18 8L11 25L8.94118 30M27.0588 30H8.94118",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M28 10L44 10",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 20L44 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M36 30L44 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M40 40H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),xL=Cm("text-underline",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M8 44H40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M37 6.09717C37 12.7638 37 15.3335 37 22.0002C37 29.1799 31.1797 35.0002 24 35.0002C16.8203 35.0002 11 29.1799 11 22.0002C11 15.3335 11 12.7638 11 6.09717",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),CL=Cm("theme",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M18 6C18 9.31371 20.6863 12 24 12C27.3137 12 30 9.31371 30 6H35.4545L42 15.8182L36.2727 20.7273V42H11.7273V20.7273L6 15.8182L12.5455 6H18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),SL=Cm("transfer-data",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M10 8L4 14L10 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M38 28L44 34L38 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 14H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M4 34H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),jL=Cm("transform",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("circle",{cx:"13.7146",cy:"13.7141",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("circle",{cx:"34.2859",cy:"34.2854",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24.001 44C12.9553 44 4.00098 35.0457 4.00098 24L10.6676 27.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24.001 4C35.0467 4 44.001 12.9543 44.001 24L37.3343 20.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),ML=Cm("translate",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M28.2857 37H39.7143M42 42L39.7143 37L42 42ZM26 42L28.2857 37L26 42ZM28.2857 37L34 24L39.7143 37H28.2857Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M16 6L17 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 11H28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M10 16C10 16 11.7895 22.2609 16.2632 25.7391C20.7368 29.2174 28 32 28 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 11C24 11 22.2105 19.2174 17.7368 23.7826C13.2632 28.3478 6 32 6 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),EL=Cm("triangle-round-rectangle",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M20 29H6V43H20V29Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 4L34 21H14L24 4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M36 44C40.4183 44 44 40.4183 44 36C44 31.5817 40.4183 28 36 28C31.5817 28 28 31.5817 28 36C28 40.4183 31.5817 44 36 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),TL=Cm("two-dimensional-code-two",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M18 6H6V18H18V6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M18 30H6V42H18V30Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M42 6H30V18H42V6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 6V18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M42 24H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M34 30V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M42 30V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M26 30V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),OL=Cm("undo",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M11.2721 36.7279C14.5294 39.9853 19.0294 42 24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6C19.0294 6 14.5294 8.01472 11.2721 11.2721C9.61407 12.9301 6 17 6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 9V17H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),AL=Cm("ungroup",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M11.2727 4H4V11.2727H11.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43.9998 36.7271H36.7271V43.9998H43.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M11.2727 24H4V31.2727H11.2727V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M23.9998 36.7271H16.7271V43.9998H23.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M31.2727 4H24V11.2727H31.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43.9998 16.7271H36.7271V23.9998H43.9998V16.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M11.2729 7.63623H24.0002",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 40.3638H36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M11.2729 27.6366H27.6366V11.2729",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M28.8275 20.3633H36.7269M20.3633 36.7269V27.6282V36.7269Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M7.63672 11.2725V23.9997",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M40.3633 24V36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),PL=Cm("union-selection",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M32 16H41C42.1046 16 43 16.8954 43 18V41C43 42.1046 42.1046 43 41 43H18C16.8954 43 16 42.1046 16 41V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 16V7C32 5.89543 31.1046 5 30 5H7C5.89543 5 5 5.89543 5 7V30C5 31.1046 5.89543 32 7 32H16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M41.0005 16L17.0005 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32.0005 7L7.00049 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32.0005 16L16.0005 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43.0005 24L24.0005 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24.0005 5L5.00049 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M43.0005 34L34.0005 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14.0005 5L5.00049 14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),IL=Cm("unlock",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"7",y:"22.0476",width:"34",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 22V14.0047C13.9948 8.87022 17.9227 4.56718 23.0859 4.05117C28.249 3.53516 32.9673 6.97408 34 12.0059",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),RL=Cm("up",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M13 30L25 18L37 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),BL=Cm("upload",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("mask",{id:e.id+"04cec2fa",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"48",height:"48",style:{maskType:"alpha"}},[V("path",{d:"M48 0H0V48H48V0Z",fill:e.colors[2]},null)]),V("g",{mask:"url(#"+e.id+"04cec2fa)"},[V("path",{d:"M6 24.0083V42H42V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M33 15L24 6L15 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M23.9917 32V6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])])})),WL=Cm("upload-one",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M11.6777 20.271C7.27476 21.3181 4 25.2766 4 30C4 35.5228 8.47715 40 14 40C14.9474 40 15.864 39.8683 16.7325 39.6221",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M36.0547 20.271C40.4577 21.3181 43.7324 25.2766 43.7324 30C43.7324 35.5228 39.2553 40 33.7324 40C32.785 40 31.8684 39.8683 30.9999 39.6221",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M36 20C36 13.3726 30.6274 8 24 8C17.3726 8 12 13.3726 12 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M17.0654 27.8812L23.9999 20.9238L31.1318 28.0002",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M24 38.0001V24.4619",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),HL=Cm("vertical-spacing-between-items",!1,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M8 6V12H40V6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M14 24H34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),V("path",{d:"M8 42V36H40V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),zL=Cm("video-two",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M20.5 28V21.9378L25.75 24.9689L31 28L25.75 31.0311L20.5 34.0622V28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M6 15H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M33 6L27 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 6L15 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),DL=Cm("view-list",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{x:"8",y:"4",width:"32",height:"40",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 14H33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 24H33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M21 34H33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15 16C16.1046 16 17 15.1046 17 14C17 12.8954 16.1046 12 15 12C13.8954 12 13 12.8954 13 14C13 15.1046 13.8954 16 15 16Z",fill:e.colors[2]},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15 26C16.1046 26 17 25.1046 17 24C17 22.8954 16.1046 22 15 22C13.8954 22 13 22.8954 13 24C13 25.1046 13.8954 26 15 26Z",fill:e.colors[2]},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15 36C16.1046 36 17 35.1046 17 34C17 32.8954 16.1046 32 15 32C13.8954 32 13 32.8954 13 34C13 35.1046 13.8954 36 15 36Z",fill:e.colors[2]},null)])})),NL=Cm("volume-mute",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("rect",{opacity:"0.01",x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null),V("mask",{id:e.id+"603476ab",maskUnits:"userSpaceOnUse",x:"30",y:"18",width:"13",height:"13",style:{maskType:"alpha"}},[V("rect",{x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null)]),V("g",{mask:"url(#"+e.id+"603476ab)"},[V("path",{d:"M40.7348 20.2858L32.2495 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32.2496 20.2858L40.7349 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)]),V("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])})),FL=Cm("volume-notice",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M34.2359 41.1857C40.0836 37.6953 44 31.305 44 24C44 16.8085 40.2043 10.5035 34.507 6.97906",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])})),VL=Cm("volume-small",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),UL=Cm("wechat",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M36.9974 21.7112C36.8434 13.0079 29.7401 6 21 6C12.1634 6 5 13.1634 5 22C5 26.1701 6.59531 29.9676 9.20892 32.8154L8.01043 40.0257L15.125 36.9699C18.2597 38.0122 21.218 38.2728 24 37.7516",fill:e.colors[1]},null),V("path",{d:"M36.9974 21.7112C36.8434 13.0079 29.7401 6 21 6C12.1634 6 5 13.1634 5 22C5 26.1701 6.59531 29.9676 9.20892 32.8154L8.01043 40.0257L15.125 36.9699C18.2597 38.0122 21.218 38.2728 24 37.7516",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M15.125 20.4667C16.3676 20.4667 17.375 19.4519 17.375 18.2C17.375 16.9482 16.3676 15.9333 15.125 15.9333C13.8824 15.9333 12.875 16.9482 12.875 18.2C12.875 19.4519 13.8824 20.4667 15.125 20.4667Z",fill:e.colors[2]},null),V("path",{d:"M24.125 20.4667C25.3676 20.4667 26.375 19.4519 26.375 18.2C26.375 16.9482 25.3676 15.9333 24.125 15.9333C22.8824 15.9333 21.875 16.9482 21.875 18.2C21.875 19.4519 22.8824 20.4667 24.125 20.4667Z",fill:e.colors[2]},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M38.7618 39.9293C37.0135 41.2302 34.8467 42 32.5 42C26.701 42 22 37.299 22 31.5C22 25.701 26.701 21 32.5 21C38.299 21 43 25.701 43 31.5C43 33.0997 42.6423 34.6159 42.0024 35.9728",fill:e.colors[1]},null),V("path",{d:"M38.7618 39.9293C37.0135 41.2302 34.8467 42 32.5 42C26.701 42 22 37.299 22 31.5C22 25.701 26.701 21 32.5 21C38.299 21 43 25.701 43 31.5C43 33.0997 42.6423 34.6159 42.0024 35.9728",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M42.0024 35.9728L43 42L38.7618 39.9293",fill:e.colors[1]},null),V("path",{d:"M42.0024 35.9728L43 42L38.7618 39.9293",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M35.6875 30.7999C34.7555 30.7999 34 30.0388 34 29.0999C34 28.161 34.7555 27.3999 35.6875 27.3999C36.6195 27.3999 37.375 28.161 37.375 29.0999C37.375 30.0388 36.6195 30.7999 35.6875 30.7999Z",fill:e.colors[2]},null),V("path",{d:"M28.9375 30.7999C28.0055 30.7999 27.25 30.0388 27.25 29.0999C27.25 28.161 28.0055 27.3999 28.9375 27.3999C29.8695 27.3999 30.625 28.161 30.625 29.0999C30.625 30.0388 29.8695 30.7999 28.9375 30.7999Z",fill:e.colors[2]},null)])})),$L={IconPlayOne:Ry,IconFullScreenPlay:Dv,IconLock:gy,IconUnlock:IL,IconPpt:Hy,IconFormat:Rv,IconPicture:Py,IconFullScreen:Hv,IconList:fy,IconOrderedList:My,IconHelpcenter:qv,IconFlipVertically:Ov,IconFlipHorizontally:Tv,IconFontSize:Iv,IconCode:uv,IconTextBold:yL,IconTextItalic:LL,IconTextUnderline:xL,IconStrikethrough:fL,IconEdit:xv,IconQuote:Fy,IconBackgroundColor:Ym,IconGroup:Uv,IconUngroup:AL,IconBack:$m,IconNext:Sy,IconFullwidth:Nv,IconAlignTop:Dm,IconAlignLeft:Tm,IconAlignRight:Om,IconAlignBottom:Mm,IconAlignVertically:Nm,IconAlignHorizontally:Em,IconBringToFront:Gm,IconSendToBack:oL,IconAlignTextLeft:Bm,IconAlignTextRight:Hm,IconAlignTextCenter:Im,IconRowHeight:eL,IconWrite:Cm("write",!0,(function(e){return V("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[V("path",{d:"M5.32497 43.4996L13.81 43.4998L44.9227 12.3871L36.4374 3.90186L5.32471 35.0146L5.32497 43.4996Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),V("path",{d:"M27.9521 12.3872L36.4374 20.8725",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])})),IconInsertTable:ny,IconAddText:Sm,IconFill:Ev,IconTailoring:kL,IconEffects:Cv,IconColorFilter:dv,IconUp:RL,IconDown:wv,IconPlus:By,IconMinus:wy,IconConnection:fv,IconBringToFrontOne:qm,IconSentToBack:sL,IconGithub:Fv,IconChartProportion:nv,IconChartHistogram:Km,IconChartHistogramOne:Jm,IconChartLineArea:ev,IconChartRing:rv,IconChartScatter:iv,IconChartLine:Qm,IconChartPie:tv,IconText:vL,IconRotate:Jy,IconLeftTwo:uy,IconRightTwo:Ky,IconPlatte:Iy,IconClose:cv,IconCloseSmall:hv,IconUndo:OL,IconTransform:jL,IconClick:av,IconTheme:CL,IconArrowCircleLeft:Um,IconGraphicDesign:Vv,IconLogout:ky,IconErase:Sv,IconClear:sv,IconFolderClose:Pv,IconAlignTextTopOne:zm,IconAlignTextBottomOne:Pm,IconAlignTextMiddleOne:Wm,IconPause:Ty,IconVolumeMute:NL,IconVolumeNotice:FL,IconVolumeSmall:VL,IconVideoTwo:zL,IconFormula:Wv,IconLinkOne:dy,IconFullScreenOne:zv,IconOffScreenOne:jy,IconPower:Wy,IconListView:py,IconMagic:my,IconHighLight:Kv,IconShare:aL,IconIndentLeft:ey,IconIndentRight:ty,IconVerticalSpacingBetweenItems:HL,IconCopy:gv,IconDelete:vv,IconSquare:uL,IconRound:Qy,IconNeedle:xy,IconTextRotationNone:bL,IconTextRotationDown:wL,IconFormatBrush:Bv,IconPreviewOpen:Ny,IconPreviewClose:zy,IconStopwatchStart:dL,IconShuffleOne:hL,IconReduceOne:Vy,IconTwoDimensionalCodeTwo:TL,IconMore:by,IconRightAngle:Yy,IconPageTemplate:Ey,IconTriangleRoundRectangle:EL,IconLeft:ay,IconRight:$y,IconGuideBoard:$v,IconKeyboardOne:oy,IconHeadsetOne:Gv,IconApplicationMenu:Vm,IconPreviewCloseOne:Dy,IconUpload:BL,IconLayers:sy,IconAlignTextCenterOne:Rm,IconRefresh:Uy,IconPeoples:Ay,IconScreenRotation:rL,IconUploadOne:WL,IconDownloadOne:_v,IconSave:nL,IconShield:cL,IconCuttingOne:mv,IconRuler:tL,IconIdCard:Qv,IconExpandDownOne:Mv,IconFoldUpOne:Av,IconClickTap:lv,IconAddTextTwo:jm,IconCheckOne:ov,IconBarCode:Xm,IconPayCodeTwo:Oy,IconTextStyleOne:_L,IconIntersection:iy,IconSendBackward:iL,IconBringForward:Zm,IconIntersectSelection:ry,IconUnionSelection:PL,IconExcludeSelection:jv,IconSubtractSelection:pL,IconSubtractSelectionOne:gL,IconAllApplication:Fm,IconHome:Jv,IconNewlybuild:Cy,IconDividingLine:Lv,IconAlignTextBoth:Am,IconDistortion:yv,IconTranslate:ML,IconMagicWand:vy,IconH1:Yv,IconH3:Xv,IconTransferData:SL,IconHamburgerButton:Zv,IconContrastViewCircle:pv,IconLeftSmallUp:hy,IconLeftSmallDown:cy,IconRightSmallUp:qy,IconRightSmallDown:Gy,IconMapDraw:Ly,IconRightC:Xy,IconLeftC:ly,IconRightOne:Zy,IconDownOne:bv,IconCopyOne:kv,IconWechat:UL,IconTencentQq:mL,IconMail:yy,IconShareOne:lL,IconNavigation:_y,IconViewList:DL},YL={install(e){for(const[t,n]of Object.entries($L))e.component(t,n)}},XL=["accept"],ZL=ko(R({__name:"FileInput",props:{accept:{type:String,default:"image/*"}},emits:["change"],setup(e,{emit:t}){const n=t,r=x();return(t,i)=>($(),Q("div",{class:"file-input",onClick:i[1]||(i[1]=e=>{r.value&&(r.value.value="",r.value.click())})},[re(t.$slots,"default",{},void 0,!0),te("input",{class:"input",type:"file",name:"upload",ref_key:"inputRef",ref:r,accept:e.accept,onChange:i[0]||(i[0]=e=>(e=>{const t=e.target.files;t&&n("change",t)})(e))},null,40,XL)]))}}),[["__scopeId","data-v-b2d0b82e"]]);function GL(e){return(GL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var qL=/^\s+/,KL=/\s+$/;function JL(e,t){if(t=t||{},(e=e||"")instanceof JL)return e;if(!(this instanceof JL))return new JL(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,s=!1,a=!1;"string"==typeof e&&(e=function(e){e=e.replace(qL,"").replace(KL,"").toLowerCase();var t,n=!1;if(gw[e])e=gw[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=Mw.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=Mw.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=Mw.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=Mw.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=Mw.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=Mw.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=Mw.hex8.exec(e))return{r:Lw(t[1]),g:Lw(t[2]),b:Lw(t[3]),a:xw(t[4]),format:n?"name":"hex8"};if(t=Mw.hex6.exec(e))return{r:Lw(t[1]),g:Lw(t[2]),b:Lw(t[3]),format:n?"name":"hex"};if(t=Mw.hex4.exec(e))return{r:Lw(t[1]+""+t[1]),g:Lw(t[2]+""+t[2]),b:Lw(t[3]+""+t[3]),a:xw(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=Mw.hex3.exec(e))return{r:Lw(t[1]+""+t[1]),g:Lw(t[2]+""+t[2]),b:Lw(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==GL(e)&&(Ew(e.r)&&Ew(e.g)&&Ew(e.b)?(l=e.r,c=e.g,h=e.b,t={r:255*vw(l,255),g:255*vw(c,255),b:255*vw(h,255)},s=!0,a="%"===String(e.r).substr(-1)?"prgb":"rgb"):Ew(e.h)&&Ew(e.s)&&Ew(e.v)?(r=bw(e.s),i=bw(e.v),t=function(e,t,n){e=6*vw(e,360),t=vw(t,100),n=vw(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),s=n*(1-i*t),a=n*(1-(1-i)*t),l=r%6,c=[n,s,o,o,a,n][l],h=[a,n,n,s,o,o][l],u=[o,o,a,n,n,s][l];return{r:255*c,g:255*h,b:255*u}}(e.h,r,i),s=!0,a="hsv"):Ew(e.h)&&Ew(e.s)&&Ew(e.l)&&(r=bw(e.s),o=bw(e.l),t=function(e,t,n){var r,i,o;function s(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=vw(e,360),t=vw(t,100),n=vw(n,100),0===t)r=i=o=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=s(l,a,e+1/3),i=s(l,a,e),o=s(l,a,e-1/3)}return{r:255*r,g:255*i,b:255*o}}(e.h,r,o),s=!0,a="hsl"),e.hasOwnProperty("a")&&(n=e.a));var l,c,h;return n=mw(n),{ok:s,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function QL(e,t,n){e=vw(e,255),t=vw(t,255),n=vw(n,255);var r,i,o=Math.max(e,t,n),s=Math.min(e,t,n),a=(o+s)/2;if(o==s)r=i=0;else{var l=o-s;switch(i=a>.5?l/(2-o-s):l/(o+s),o){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(JL(r));return o}function pw(e,t){t=t||6;for(var n=JL(e).toHsv(),r=n.h,i=n.s,o=n.v,s=[],a=1/t;t--;)s.push(JL({h:r,s:i,v:o})),o=(o+a)%1;return s}JL.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=mw(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=ew(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=ew(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=QL(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=QL(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return tw(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,i){var o=[ww(Math.round(e).toString(16)),ww(Math.round(t).toString(16)),ww(Math.round(n).toString(16)),ww(_w(r))];if(i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*vw(this._r,255))+"%",g:Math.round(100*vw(this._g,255))+"%",b:Math.round(100*vw(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*vw(this._r,255))+"%, "+Math.round(100*vw(this._g,255))+"%, "+Math.round(100*vw(this._b,255))+"%)":"rgba("+Math.round(100*vw(this._r,255))+"%, "+Math.round(100*vw(this._g,255))+"%, "+Math.round(100*vw(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(kw[tw(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+nw(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=JL(e);n="#"+nw(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return JL(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(sw,arguments)},brighten:function(){return this._applyModification(aw,arguments)},darken:function(){return this._applyModification(lw,arguments)},desaturate:function(){return this._applyModification(rw,arguments)},saturate:function(){return this._applyModification(iw,arguments)},greyscale:function(){return this._applyModification(ow,arguments)},spin:function(){return this._applyModification(cw,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(fw,arguments)},complement:function(){return this._applyCombination(hw,arguments)},monochromatic:function(){return this._applyCombination(pw,arguments)},splitcomplement:function(){return this._applyCombination(dw,arguments)},triad:function(){return this._applyCombination(uw,[3])},tetrad:function(){return this._applyCombination(uw,[4])}},JL.fromRatio=function(e,t){if("object"==GL(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:bw(e[r]));e=n}return JL(e,t)},JL.equals=function(e,t){return!(!e||!t)&&JL(e).toRgbString()==JL(t).toRgbString()},JL.random=function(){return JL.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},JL.mix=function(e,t,n){n=0===n?0:n||50;var r=JL(e).toRgb(),i=JL(t).toRgb(),o=n/100;return JL({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},JL.readability=function(e,t){var n=JL(e),r=JL(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},JL.isReadable=function(e,t,n){var r,i,o=JL.readability(e,t);switch(i=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7}return i},JL.mostReadable=function(e,t,n){var r,i,o,s,a=null,l=0;i=(n=n||{}).includeFallbackColors,o=n.level,s=n.size;for(var c=0;cl&&(l=r,a=JL(t[c]));return JL.isReadable(e,a,{level:o,size:s})||!i?a:(n.includeFallbackColors=!1,JL.mostReadable(e,["#fff","#000"],n))};var gw=JL.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},kw=JL.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(gw);function mw(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function vw(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function yw(e){return Math.min(1,Math.max(0,e))}function Lw(e){return parseInt(e,16)}function ww(e){return 1==e.length?"0"+e:""+e}function bw(e){return e<=1&&(e=100*e+"%"),e}function _w(e){return Math.round(255*parseFloat(e)).toString(16)}function xw(e){return Lw(e)/255}var Cw,Sw,jw,Mw=(Sw="[\\s|\\(]+("+(Cw="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+Cw+")[,|\\s]+("+Cw+")\\s*\\)?",jw="[\\s|\\(]+("+Cw+")[,|\\s]+("+Cw+")[,|\\s]+("+Cw+")[,|\\s]+("+Cw+")\\s*\\)?",{CSS_UNIT:new RegExp(Cw),rgb:new RegExp("rgb"+Sw),rgba:new RegExp("rgba"+jw),hsl:new RegExp("hsl"+Sw),hsla:new RegExp("hsla"+jw),hsv:new RegExp("hsv"+Sw),hsva:new RegExp("hsva"+jw),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Ew(e){return!!Mw.CSS_UNIT.exec(e)}const Tw=(()=>{let e=0;return()=>(e+=1,`u${`0000${(Math.random()*c(36,4)|0).toString(36)}`.slice(-4)}${e}`)})();function Ow(e){const t=[];for(let n=0,r=e.length;n{const r=new Image;r.decode=()=>t(r),r.onload=()=>t(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e}))}function Bw(e,t,n){return g(this,null,(function*(){const r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),o=document.createElementNS(r,"foreignObject");return i.setAttribute("width",`${t}`),i.setAttribute("height",`${n}`),i.setAttribute("viewBox",`0 0 ${t} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),i.appendChild(o),o.appendChild(e),function(e){return g(this,null,(function*(){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(e))).then(encodeURIComponent).then((e=>`data:image/svg+xml;charset=utf-8,${e}`))}))}(i)}))}const Ww=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return null!==n&&(n.constructor.name===t.name||Ww(n,t))};function Hw(e,t,n){const r=`.${e}:${t}`,i=n.cssText?function(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}(n):function(e){return Ow(e).map((t=>`${t}: ${e.getPropertyValue(t)}${e.getPropertyPriority(t)?" !important":""};`)).join(" ")}(n);return document.createTextNode(`${r}{${i}}`)}function zw(e,t,n){const r=window.getComputedStyle(e,n),i=r.getPropertyValue("content");if(""===i||"none"===i)return;const o=Tw();try{t.className=`${t.className} ${o}`}catch(a){return}const s=document.createElement("style");s.appendChild(Hw(o,n,r)),t.appendChild(s)}const Dw="application/font-woff",Nw="image/jpeg",Fw={woff:Dw,woff2:Dw,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Nw,jpeg:Nw,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Vw(e){const t=function(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}(e).toLowerCase();return Fw[t]||""}function Uw(e){return-1!==e.search(/^(data:)/)}function $w(e,t,n){return g(this,null,(function*(){const r=yield fetch(e,t);if(404===r.status)throw new Error(`Resource "${r.url}" not found`);const i=yield r.blob();return new Promise(((e,t)=>{const o=new FileReader;o.onerror=t,o.onloadend=()=>{try{e(n({res:r,result:o.result}))}catch(i){t(i)}},o.readAsDataURL(i)}))}))}const Yw={};function Xw(e,t,n){return g(this,null,(function*(){const r=function(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}(e,t,n.includeQueryParams);if(null!=Yw[r])return Yw[r];let i;n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());try{const r=yield $w(e,n.fetchRequestInit,(({res:e,result:n})=>(t||(t=e.headers.get("Content-Type")||""),function(e){return e.split(/,/)[1]}(n))));i=function(e,t){return`data:${t};base64,${e}`}(r,t)}catch(o){i=n.imagePlaceholder||"";let t=`Failed to fetch resource: ${e}`;o&&(t="string"==typeof o?o:o.message)}return Yw[r]=i,i}))}function Zw(e,t){return g(this,null,(function*(){return Ww(e,HTMLCanvasElement)?function(e){return g(this,null,(function*(){const t=e.toDataURL();return"data:,"===t?e.cloneNode(!1):Rw(t)}))}(e):Ww(e,HTMLVideoElement)?function(e,t){return g(this,null,(function*(){if(e.currentSrc){const t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.clientWidth,t.height=e.clientHeight,null==n||n.drawImage(e,0,0,t.width,t.height),Rw(t.toDataURL())}const n=e.poster,r=Vw(n);return Rw(yield Xw(n,r,t))}))}(e,t):Ww(e,HTMLIFrameElement)?function(e){return g(this,null,(function*(){var t;try{if(null===(t=null==e?void 0:e.contentDocument)||void 0===t?void 0:t.body)return yield Kw(e.contentDocument.body,{},!0)}catch(n){}return e.cloneNode(!1)}))}(e):e.cloneNode(!1)}))}const Gw=e=>null!=e.tagName&&"SLOT"===e.tagName.toUpperCase();function qw(e,t){return Ww(t,Element)&&(function(e,t){const n=t.style;if(!n)return;const r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):Ow(r).forEach((i=>{let o=r.getPropertyValue(i);if("font-size"===i&&o.endsWith("px")){const e=Math.floor(parseFloat(o.substring(0,o.length-2)))-.1;o=`${e}px`}Ww(e,HTMLIFrameElement)&&"display"===i&&"inline"===o&&(o="block"),"d"===i&&t.getAttribute("d")&&(o=`path(${t.getAttribute("d")})`),n.setProperty(i,o,r.getPropertyPriority(i))}))}(e,t),function(e,t){zw(e,t,":before"),zw(e,t,":after")}(e,t),function(e,t){Ww(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),Ww(e,HTMLInputElement)&&t.setAttribute("value",e.value)}(e,t),function(e,t){if(Ww(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find((t=>e.value===t.getAttribute("value")));r&&r.setAttribute("selected","")}}(e,t)),t}function Kw(e,t,n){return g(this,null,(function*(){return n||!t.filter||t.filter(e)?Promise.resolve(e).then((e=>Zw(e,t))).then((n=>function(e,t,n){return g(this,null,(function*(){var r,i;let o=[];return o=Gw(e)&&e.assignedNodes?Ow(e.assignedNodes()):Ww(e,HTMLIFrameElement)&&(null===(r=e.contentDocument)||void 0===r?void 0:r.body)?Ow(e.contentDocument.body.childNodes):Ow((null!==(i=e.shadowRoot)&&void 0!==i?i:e).childNodes),0===o.length||Ww(e,HTMLVideoElement)||(yield o.reduce(((e,r)=>e.then((()=>Kw(r,n))).then((e=>{e&&t.appendChild(e)}))),Promise.resolve())),t}))}(e,n,t))).then((t=>qw(e,t))).then((e=>function(e,t){return g(this,null,(function*(){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(0===n.length)return e;const r={};for(let o=0;o{for(;;){const[n,,r]=Qw.exec(e)||[];if(!r)return"";if(r===t)return`src: ${n};`}})):e}(e,n),i=function(e){const t=[];return e.replace(Jw,((e,n,r)=>(t.push(r),e))),t.filter((e=>!Uw(e)))}(r);return i.reduce(((e,r)=>e.then((e=>tb(e,r,t,n)))),Promise.resolve(r))}))}function ib(e,t,n){return g(this,null,(function*(){var r;const i=null===(r=t.style)||void 0===r?void 0:r.getPropertyValue(e);if(i){const r=yield rb(i,null,n);return t.style.setProperty(e,r,t.style.getPropertyPriority(e)),!0}return!1}))}function ob(e,t){return g(this,null,(function*(){Ww(e,Element)&&(yield function(e,t){return g(this,null,(function*(){(yield ib("background",e,t))||(yield ib("background-image",e,t)),(yield ib("mask",e,t))||(yield ib("mask-image",e,t))}))}(e,t),yield function(e,t){return g(this,null,(function*(){const n=Ww(e,HTMLImageElement);if((!n||Uw(e.src))&&(!Ww(e,SVGImageElement)||Uw(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,i=yield Xw(r,Vw(r),t);yield new Promise(((t,r)=>{e.onload=t,e.onerror=r;const o=e;o.decode&&(o.decode=t),"lazy"===o.loading&&(o.loading="eager"),n?(e.srcset="",e.src=i):e.href.baseVal=i}))}))}(e,t),yield function(e,t){return g(this,null,(function*(){const n=Ow(e.childNodes).map((e=>ob(e,t)));yield Promise.all(n).then((()=>e))}))}(e,t))}))}const sb={};function ab(e){return g(this,null,(function*(){let t=sb[e];if(null!=t)return t;const n=yield fetch(e),r=yield n.text();return t={url:e,cssText:r},sb[e]=t,t}))}function lb(e,t){return g(this,null,(function*(){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,i=(n.match(/url\([^)]+\)/g)||[]).map((i=>g(this,null,(function*(){let o=i.replace(r,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),$w(o,t.fetchRequestInit,(({result:e})=>(n=n.replace(i,`url(${e})`),[i,e])))}))));return Promise.all(i).then((()=>n))}))}function cb(e){if(null==e)return[];const t=[];let n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const e=r.exec(n);if(null===e)break;t.push(e[0])}n=n.replace(r,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let e=i.exec(n);if(null===e){if(e=o.exec(n),null===e)break;i.lastIndex=o.lastIndex}else o.lastIndex=i.lastIndex;t.push(e[0])}return t}function hb(e,t){return g(this,null,(function*(){if(null==e.ownerDocument)throw new Error("Provided element is not within a Document");const n=Ow(e.ownerDocument.styleSheets),r=yield function(e,t){return g(this,null,(function*(){const n=[],r=[];return e.forEach((n=>{if("cssRules"in n)try{Ow(n.cssRules||[]).forEach(((e,i)=>{if(e.type===CSSRule.IMPORT_RULE){let o=i+1;const s=ab(e.href).then((e=>lb(e,t))).then((e=>cb(e).forEach((e=>{try{n.insertRule(e,e.startsWith("@import")?o+=1:n.cssRules.length)}catch(t){}})))).catch((e=>{}));r.push(s)}}))}catch(jT){const o=e.find((e=>null==e.href))||document.styleSheets[0];null!=n.href&&r.push(ab(n.href).then((e=>lb(e,t))).then((e=>cb(e).forEach((e=>{o.insertRule(e,n.cssRules.length)})))).catch((e=>{})))}})),Promise.all(r).then((()=>(e.forEach((e=>{if("cssRules"in e)try{Ow(e.cssRules||[]).forEach((e=>{n.push(e)}))}catch(jT){}})),n)))}))}(n,t);return function(e){return e.filter((e=>e.type===CSSRule.FONT_FACE_RULE)).filter((e=>nb(e.style.getPropertyValue("src"))))}(r)}))}function ub(e,t){return g(this,null,(function*(){const n=null!=t.fontEmbedCSS?t.fontEmbedCSS:t.skipFonts?null:yield function(e,t){return g(this,null,(function*(){const n=yield hb(e,t);return(yield Promise.all(n.map((e=>{const n=e.parentStyleSheet?e.parentStyleSheet.href:null;return rb(e.cssText,n,t)})))).join("\n")}))}(e,t);if(n){const t=document.createElement("style"),r=document.createTextNode(n);t.appendChild(r),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}}))}function db(e){return g(this,arguments,(function*(e,t={}){const{width:n,height:r}=Pw(e,t),i=yield Kw(e,t,!0);yield ub(i,t),yield ob(i,t),function(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;null!=r&&Object.keys(r).forEach((e=>{n[e]=r[e]}))}(i,t);return yield Bw(i,n,r)}))}function fb(e){return g(this,arguments,(function*(e,t={}){const{width:n,height:r}=Pw(e,t),i=yield db(e,t),o=yield Rw(i),s=document.createElement("canvas"),a=s.getContext("2d"),l=t.pixelRatio||function(){let e,t;try{t=process}catch(jT){}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}(),c=t.canvasWidth||n,h=t.canvasHeight||r;return s.width=c*l,s.height=h*l,t.skipAutoScale||function(e){(e.width>Iw||e.height>Iw)&&(e.width>Iw&&e.height>Iw?e.width>e.height?(e.height*=Iw/e.width,e.width=Iw):(e.width*=Iw/e.height,e.height=Iw):e.width>Iw?(e.height*=Iw/e.width,e.width=Iw):(e.width*=Iw/e.height,e.height=Iw))}(s),s.style.width=`${c}`,s.style.height=`${h}`,t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,s.width,s.height)),a.drawImage(o,0,0,s.width,s.height),s}))}const pb=ko(R({__name:"Checkboard",props:{size:{type:Number,default:8},white:{type:String,default:"#fff"},grey:{type:String,default:"#e6e6e6"}},setup(e){const t=e,n={},r=(e,t,r)=>{const i=e+","+t+","+r;if(n[i])return n[i];const o=((e,t,n)=>{const r=document.createElement("canvas");r.width=r.height=2*n;const i=r.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,r.width,r.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),r.toDataURL()):null})(e,t,r);return n[i]=o,o},i=I((()=>({backgroundImage:`url(${r(t.white,t.grey,t.size)})`})));return(e,t)=>($(),Q("div",{class:"checkerboard",style:ee(i.value)},null,4))}}),[["__scopeId","data-v-b1c2a1c4"]]),gb={class:"alpha"},kb={class:"alpha-checkboard-wrap"},mb=ko(R({__name:"Alpha",props:{value:{type:Object,required:!0}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,i=I((()=>n.value)),o=I((()=>{const e=[i.value.r,i.value.g,i.value.b].join(",");return`linear-gradient(to right, rgba(${e}, 0) 0%, rgba(${e}, 1) 100%)`})),s=x(),a=e=>{if(e.preventDefault(),!s.value)return;const t=s.value.clientWidth,n=s.value.getBoundingClientRect().left+window.pageXOffset,o=e.pageX-n;let a;a=o<0?0:o>t?1:Math.round(100*o/t)/100,i.value.a!==a&&r("colorChange",{r:i.value.r,g:i.value.g,b:i.value.b,a:a})},l=()=>{window.removeEventListener("mousemove",a),window.removeEventListener("mouseup",l)};return H(l),(e,t)=>($(),Q("div",gb,[te("div",kb,[V(pb)]),te("div",{class:"alpha-gradient",style:ee({background:o.value})},null,4),te("div",{class:"alpha-container",ref_key:"alphaRef",ref:s,onMousedown:t[0]||(t[0]=e=>(a(e),window.addEventListener("mousemove",a),void window.addEventListener("mouseup",l)))},[te("div",{class:"alpha-pointer",style:ee({left:100*i.value.a+"%"})},t[1]||(t[1]=[te("div",{class:"alpha-picker"},null,-1)]),4)],544)]))}}),[["__scopeId","data-v-fe195959"]]),vb={class:"hue"},yb=ko(R({__name:"Hue",props:{value:{type:Object,required:!0},hue:{type:Number,required:!0}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,i=x(0),o=x(""),s=I((()=>{const e=JL(n.value).toHsl();return-1!==n.hue&&(e.h=n.hue),e})),a=I((()=>0===s.value.h&&"right"===o.value?"100%":100*s.value.h/360+"%"));S((()=>n.value),(()=>{const e=JL(n.value).toHsl(),t=0===e.s?n.hue:e.h;0!==t&&t-i.value>0&&(o.value="right"),0!==t&&t-i.value<0&&(o.value="left"),i.value=t}));const l=x(),c=e=>{if(e.preventDefault(),!l.value)return;const t=l.value.clientWidth,i=l.value.getBoundingClientRect().left+window.pageXOffset,o=e.pageX-i;let a,c;o<0?a=0:o>t?a=360:(c=100*o/t,a=360*c/100),-1!==n.hue&&s.value.h===a||r("colorChange",{h:a,l:s.value.l,s:s.value.s,a:s.value.a})},h=()=>{window.removeEventListener("mousemove",c),window.removeEventListener("mouseup",h)};return H(h),(e,t)=>($(),Q("div",vb,[te("div",{class:"hue-container",ref_key:"hueRef",ref:l,onMousedown:t[0]||(t[0]=e=>(c(e),window.addEventListener("mousemove",c),void window.addEventListener("mouseup",h)))},[te("div",{class:"hue-pointer",style:ee({left:a.value})},t[1]||(t[1]=[te("div",{class:"hue-picker"},null,-1)]),4)],544)]))}}),[["__scopeId","data-v-f9d05544"]]),Lb=ko(R({__name:"Saturation",props:{value:{type:Object,required:!0},hue:{type:Number,required:!0}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,i=I((()=>{const e=JL(n.value).toHsv();return-1!==n.hue&&(e.h=n.hue),e})),o=I((()=>`hsl(${i.value.h}, 100%, 50%)`)),s=I((()=>-100*i.value.v+1+100+"%")),a=I((()=>100*i.value.s+"%")),l=kt((function(e){r("colorChange",e)}),20,{leading:!0,trailing:!1}),c=x(),h=e=>{if(e.preventDefault(),!c.value)return;const t=c.value.clientWidth,n=c.value.clientHeight,r=c.value.getBoundingClientRect().left+window.pageXOffset,o=c.value.getBoundingClientRect().top+window.pageYOffset,s=mt(e.pageX-r,0,t),a=mt(e.pageY-o,0,n),h=s/t,u=mt(-a/n+1,0,1);l({h:i.value.h,s:h,v:u,a:i.value.a})},u=()=>{window.removeEventListener("mousemove",h),window.removeEventListener("mouseup",u)};return H(u),(e,t)=>($(),Q("div",{class:"saturation",ref_key:"saturationRef",ref:c,style:ee({background:o.value}),onMousedown:t[0]||(t[0]=e=>(h(e),window.addEventListener("mousemove",h),void window.addEventListener("mouseup",u)))},[t[2]||(t[2]=te("div",{class:"saturation-white"},null,-1)),t[3]||(t[3]=te("div",{class:"saturation-black"},null,-1)),te("div",{class:"saturation-pointer",style:ee({top:s.value,left:a.value})},t[1]||(t[1]=[te("div",{class:"saturation-circle"},null,-1)]),4)],36))}}),[["__scopeId","data-v-31f6e420"]]),wb={class:"editable-input"},bb=["value"],_b=ko(R({__name:"EditableInput",props:{value:{type:Object,required:!0}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,i=I((()=>{let e="";return e=n.value.a<1?JL(n.value).toHex8String().toUpperCase():JL(n.value).toHexString().toUpperCase(),e.replace("#","")}));return(e,t)=>($(),Q("div",wb,[te("input",{class:"input-content",value:i.value,onInput:t[0]||(t[0]=e=>(e=>{const t=e.target.value;t.length>=6&&r("colorChange",JL(t).toRgb())})(e))},null,40,bb)]))}}),[["__scopeId","data-v-1448e47d"]]),xb={class:"color-picker"},Cb={class:"picker-saturation-wrap"},Sb={class:"picker-controls"},jb={class:"picker-color-wrap"},Mb={class:"picker-sliders"},Eb={class:"picker-hue-wrap"},Tb={class:"picker-alpha-wrap"},Ob={class:"picker-field"},Ab={class:"picker-presets"},Pb=["onClick"],Ib={class:"picker-gradient-presets"},Rb=["onClick"],Bb={class:"picker-presets"},Wb=["onClick"],Hb={key:0,class:"recent-colors-title"},zb={class:"picker-presets"},Db=["onClick"],Nb="RECENT_COLORS",Fb=ko(R({__name:"index",props:{modelValue:{type:String,default:"#e86b99"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,i=[["#7f7f7f","#f2f2f2"],["#0d0d0d","#808080"],["#1c1a10","#ddd8c3"],["#0e243d","#c6d9f0"],["#233f5e","#dae5f0"],["#632623","#f2dbdb"],["#4d602c","#eaf1de"],["#3f3150","#e6e0ec"],["#1e5867","#d9eef3"],["#99490f","#fee9da"]],o=(e,t,n)=>{const r=JL(e).toRgb(),i=JL(t).toRgb(),o=(i.r-r.r)/n,s=(i.g-r.g)/n,a=(i.b-r.b)/n,l=[];for(let c=0;cJL(n.modelValue).toRgb(),set(e){const t=`rgba(${[e.r,e.g,e.b,e.a].join(",")})`;r("update:modelValue",t)}}),u=(()=>{const e=[];for(const t of i)e.push(o(t[1],t[0],5));return e})(),d=I((()=>`rgba(${[h.value.r,h.value.g,h.value.b,h.value.a].join(",")})`)),f=e=>{l.value=JL(e).toHsl().h,r("update:modelValue",e)},p=gt((function(){const e=JL(h.value).toRgbString();if(!c.value.includes(e)){c.value=[e,...c.value];const t=10;c.value.length>t&&(c.value=c.value.slice(0,t))}}),300,{trailing:!0});W((()=>{const e=localStorage.getItem(Nb);e&&(c.value=JSON.parse(e))})),S(c,(()=>{const e=JSON.stringify(c.value);localStorage.setItem(Nb,e)}));const g=e=>{"h"in e?(l.value=e.h,h.value=JL(e).toRgb()):(l.value=JL(e).toHsl().h,h.value=e),p()},k=()=>{me({type:"success",message:"按 ESC 键关闭取色吸管"});(new window.EyeDropper).open().then((e=>{const t=JL(e.sRGBHex);l.value=t.toHsl().h,h.value=t.toRgb(),p()})).catch((()=>{me({type:"success",message:"关闭取色吸管"})}))},m=()=>{const e=document.querySelector(".canvas");if(!e)return;const t=document.createElement("div");t.style.cssText="position: fixed; top: 0; left: 0; bottom: 0; right: 0; z-index: 9999; cursor: wait;",document.body.appendChild(t);const n=document.createElement("div");n.style.cssText="position: absolute; top: -100px; left: -100px; width: 16px; height: 16px; border: 1px solid #000; z-index: 999",t.appendChild(n);const{left:r,top:i,width:o,height:s}=e.getBoundingClientRect();fb(e,{filter:e=>(!e.tagName||"FOREIGNOBJECT"!==e.tagName.toUpperCase())&&(!e.classList||!e.classList.contains("operate")),fontEmbedCSS:"",width:o,height:s,canvasWidth:o,canvasHeight:s,pixelRatio:1}).then((e=>{e.style.cssText=`position: absolute; top: ${i}px; left: ${r}px; cursor: crosshair;`,t.style.cursor="default",t.appendChild(e);const o=e.getContext("2d");if(!o)return;let s="";const a=e=>{const t=e.x,a=e.y,l=t-r,c=a-i,[h,u,d,f]=o.getImageData(l,c,1,1).data;s=`rgba(${h}, ${u}, ${d}, ${(f/255).toFixed(2)})`,n.style.left=t+10+"px",n.style.top=a+10+"px",n.style.backgroundColor=s},c=()=>{s="",n.style.left="-100px",n.style.top="-100px",n.style.backgroundColor=""},u=n=>{if(s&&0===n.button){const e=JL(s);l.value=e.toHsl().h,h.value=e.toRgb(),p()}document.body.removeChild(t),e.removeEventListener("mousemove",a),e.removeEventListener("mouseleave",c),window.removeEventListener("mousedown",u)};e.addEventListener("mousemove",a),e.addEventListener("mouseleave",c),window.addEventListener("mousedown",u)})).catch((()=>{me({type:"error",message:"取色吸管初始化失败"}),document.body.removeChild(t)}))};return(e,t)=>{const n=G("IconNeedle");return $(),Q("div",xb,[te("div",Cb,[V(Lb,{value:h.value,hue:l.value,onColorChange:t[0]||(t[0]=e=>g(e))},null,8,["value","hue"])]),te("div",Sb,[te("div",jb,[te("div",{class:"picker-current-color",style:ee({background:d.value})},null,4),V(pb)]),te("div",Mb,[te("div",Eb,[V(yb,{value:h.value,hue:l.value,onColorChange:t[1]||(t[1]=e=>g(e))},null,8,["value","hue"])]),te("div",Tb,[V(mb,{value:h.value,onColorChange:t[2]||(t[2]=e=>g(e))},null,8,["value"])])])]),te("div",Ob,[V(_b,{class:"input",value:h.value,onColorChange:t[3]||(t[3]=e=>g(e))},null,8,["value"]),te("div",{class:"straw",onClick:t[4]||(t[4]=e=>{"EyeDropper"in window?k():m()})},[V(n)])]),te("div",Ab,[($(),Q(N,null,ie(s,(e=>te("div",{class:"picker-presets-color",key:e,style:ee({background:e}),onClick:t=>f(e)},null,12,Pb))),64))]),te("div",Ib,[($(!0),Q(N,null,ie(Z(u),((e,t)=>($(),Q("div",{class:"picker-gradient-col",key:t},[($(!0),Q(N,null,ie(e,(e=>($(),Q("div",{class:"picker-gradient-color",key:e,style:ee({background:e}),onClick:t=>f(e)},null,12,Rb)))),128))])))),128))]),te("div",Bb,[($(),Q(N,null,ie(a,(e=>te("div",{key:e,class:"picker-presets-color",style:ee({background:e}),onClick:t=>f(e)},null,12,Wb))),64))]),c.value.length?($(),Q("div",Hb,"最近使用:")):oe("",!0),te("div",zb,[($(!0),Q(N,null,ie(c.value,(e=>($(),Q("div",{key:e,class:"picker-presets-color alpha",onClick:t=>f(e)},[te("div",{class:"picker-presets-color-content",style:ee({background:e})},null,4)],8,Db)))),128))])])}}}),[["__scopeId","data-v-5ad11601"]]),Vb={class:"color-btn el-button"},Ub={class:"color-block"},$b=ko(R({__name:"ColorButton",props:{color:{type:String,required:!0}},setup:e=>(t,n)=>{const r=G("IconPlatte");return $(),Q("div",Vb,[te("div",Ub,[te("div",{class:"content",style:ee({backgroundColor:e.color})},null,4)]),V(r,{class:"color-btn-icon"})])}}),[["__scopeId","data-v-5bfc3800"]]),Yb={class:"text-color-btn"},Xb={class:"text-color-block"},Zb=ko(R({__name:"TextColorButton",props:{color:{type:String,required:!0}},setup:e=>(t,n)=>($(),Q("div",Yb,[re(t.$slots,"default",{},void 0,!0),te("div",Xb,[te("div",{class:"text-color-block-content",style:ee({backgroundColor:e.color})},null,4)])]))}),[["__scopeId","data-v-059633ad"]]),Gb={key:0,class:"fullscreen-spin"},qb=ko(R({__name:"FullscreenSpin",props:{loading:{type:Boolean,default:!1},tip:{type:String,default:""}},setup:e=>(t,n)=>{const r=G("Spin");return e.loading?($(),Q("div",Gb,[V(r,{tip:e.tip,size:"large"},null,8,["tip"])])):oe("",!0)}}),[["__scopeId","data-v-2c307610"]]),Kb=["id","markerWidth","markerHeight","refX","refY"],Jb=["d","fill","transform"],Qb=R({__name:"LinePointMarker",props:{id:{type:String,required:!0},position:{type:String,required:!0},type:{type:String,required:!0},color:{type:String},baseSize:{type:Number,required:!0}},setup(e){const t=e,n={dot:"m0 5a5 5 0 1 0 10 0a5 5 0 1 0 -10 0z",arrow:"M0,0 L10,5 0,10 Z"},r={"arrow-start":180,"arrow-end":0},i=I((()=>n[t.type])),o=I((()=>r[`${t.type}-${t.position}`]||0)),s=I((()=>t.baseSize<2?2:t.baseSize));return(t,n)=>($(),Q("marker",{id:`${e.id}-${e.type}-${e.position}`,markerUnits:"userSpaceOnUse",orient:"auto",markerWidth:3*s.value,markerHeight:3*s.value,refX:1.5*s.value,refY:1.5*s.value},[te("path",{d:i.value,fill:e.color,transform:`scale(${.3*s.value}, ${.3*s.value}) rotate(${o.value}, 5, 5)`},null,8,Jb)],8,Kb))}}),e_=()=>{const e=wu(),{unitMode:t}=Nt(e),n=e=>0===t.value?Qa(e):e;return{handleActive:e=>{const[t]=yu(),r=x();let i=!1;J((()=>{if(!fa(t.activeObject))return void(r.value=void 0);const o=t.activeObject.value;let s;switch(i=!0,e){case"width":s=n(o.getWidth());break;case"height":s=n(o.getHeight());break;case"opacity":s=Va.times(o.opacity,100);break;case"angle":s=(e=>{const t=(e%360+360)%360;return t>180?t-360:t})(o.angle);break;case"left":s=n(o.left);break;case"top":s=n(o.top);break;case"fontSize":if(Fh(o)){let e=o.getStyleAtPosition(0).fontSize,t=!0;for(let n=1;ni=!1))}));const o=(t,n)=>{"opacity"===e&&(n=Va.divide(n,100)),t.get(e)!==n&&t.set(e,n)},s=(n,r)=>{var s;const a=t.activeObject.value;!i&&fa(a)&&(["width","height","left","top","angle"].includes(e)?(a.set(e,Number(n)),"change"===r&&(null==(s=a.group)?void 0:s.updateLayout)&&a.group.updateLayout()):a.isType("Text","Textbox")&&["fontSize"].includes(e)&&a.selectionEnd-a.selectionStart>0?a.setSelectionStyles({fontSize:n}):Dh(a)&&!["left","top","visible","globalCompositeOperation","opacity"].includes(e)?a.forEachObject((e=>{o(e,n)})):o(a,n),t.requestRenderAll())};return I((()=>({disabled:!fa(t.activeObject.value),modelValue:r.value,onSwipe:e=>{s(e,"swipe")},onChange:e=>{s(e,"change"),fa(t.activeObject)&&t.fire("object:modified",{target:t.activeObject.value})}})))},handleInput:e=>0===t.value?el(e):e,handleUnit:n}},t_=ko(R({__name:"SwipeInput",props:{label:{},modelValue:{},modelEvent:{default:"change"},step:{default:1},max:{},min:{}},emits:["update:modelValue","change","swipe"],setup(e,{emit:t}){const{handleInput:n}=e_(),r=e,i=t;se();const o=Ea(r,"modelValue",i);S(o,(e=>{e&&(o.value=Xa(e))}),{immediate:!0});const s=(e,t)=>{e&&(e=n(e),i("change",e,t))};return(e,t)=>{const n=ye;return $(),Y(n,{class:"swipe-input",modelValue:Z(o),"onUpdate:modelValue":t[0]||(t[0]=e=>L(o)?o.value=e:null),step:e.step,max:e.max,min:e.min,controls:!1,label:e.label,onChange:s},null,8,["modelValue","step","max","min","label"])}}}),[["__scopeId","data-v-6884a013"]]);function n_(e,t){const n=new FormData;return n.append("file",e),n.append("type",t),wh({url:"/api/design/parse/file",method:"post",data:n,headers:{"Content-Type":"multipart/form-data"}})}const r_=()=>({setZindex:e=>{e.sendObjectToBack(e.getObjects().filter((e=>e.id===bh))[0]),e.bringObjectToFront(e.getObjects().filter((e=>e.id===Ch))[0]),e.bringObjectToFront(e.getObjects().filter((e=>e.id===_h))[0]),e.bringObjectToFront(e.getObjects().filter((e=>e.id===xh))[0])}}),i_=()=>{const e=wu(),t=Ou(),{setZindex:n}=r_(),{t:r}=Qi(fo()).global,{rightState:i,systemFonts:o}=Nt(e),s=e=>{const[r]=yu();r.viewportCenterObject(e),r.add(e),r.setActiveObject(e),i.value=ll.ELEMENT_STYLE,n(r),r.renderAll(),t.addElement(e)},a=(e,t=!1,n="双击修改文字")=>{const{centerPoint:r}=_u(),i=new mm(n,{id:Aa(10),left:r.x,top:r.y,fontSize:e,fontFamily:o.value[0].value,fillType:0,hasControls:!0,hasBorders:!0,fontWeight:"normal",charSpacing:3,opacity:1,lineHeight:1.3,originX:"left",originY:"top",name:ol.VERTICALTEXT});i.set({left:i.left-i.width/2,top:i.top-i.height/2}),t&&(i.fill="",i.stroke="black",i.strokeWidth=1),s(i)},l=(e,t,n,r)=>{const{centerPoint:i}=_u(),o=new Yk(e,{id:Aa(10),left:i.x,top:i.y,strokeWidth:4,stroke:"pink",fill:"",scaleX:1,scaleY:1,originX:"left",originY:"top",startStyle:t,endStyle:n,hasBorders:!1,objectCaching:!1,transparentCorners:!1,strokeDashArray:r,name:ol.LINE});s(o)};return{createTextElement:(e,t="transverse",n=!1,i=r("default.textValue"))=>{if("direction"===t)return void a(e,n,i);const{centerPoint:l}=_u(),c=new cm(i,{id:Aa(10),left:l.x,top:l.y,fontSize:e,fontFamily:o.value[0].value,fillType:0,hasControls:!0,hasBorders:!0,fontWeight:"normal",charSpacing:3,opacity:1,lineHeight:1.3,originX:"left",originY:"top",textAlign:"justify-center",name:ol.TEXTBOX,splitByGrapheme:!1,width:e*i.length/2});c.set({left:c.left-c.width/2,top:c.top-c.height/2,splitByGrapheme:!0}),n&&(c.fill="",c.stroke="black",c.strokeWidth=1),s(c)},createPathElement:(e,t,n)=>{const{centerPoint:r}=_u(),i=new rt(e,{id:Aa(10),left:t||r.x,top:n||r.y,hasControls:!0,hasBorders:!0,opacity:1,originX:"left",originY:"top",fill:"#ff5e17",name:ol.PATH});i.left-=i.width/2,i.top-=i.height/2,s(i)},createLineElement:(e,t,n,r)=>{l(e,t,n,r)},createImageElement:e=>{const{zoom:t}=Nt(tl()),{currentTemplateWidth:n,currentTemplateHeight:r}=Nt(Ou()),{centerPoint:i}=_u();qa(e).then((o=>g(void 0,[o],(function*({width:o,height:a}){let l=1;a/on.value?l=n.value/o:a>r.value&&(l=r.value/a);const c=yield Vk.fromURL(e,{},{id:Aa(10),angle:0,left:i.x-o*l/2,top:i.y-a*l/2,scaleX:l,scaleY:l,hasControls:!0,hasBorders:!0,opacity:1,originX:"left",originY:"top",borderColor:"#ff8d23",name:ol.IMAGE,crossOrigin:"anonymous"});s(c)}))))},createQRCodeElement:(e,t,n)=>g(void 0,null,(function*(){const{centerPoint:r}=_u(),i=yield Gk.fromURL(e,{},{id:Aa(10),name:ol.QRCODE,angle:0,left:r.x,top:r.y,hasControls:!0,hasBorders:!0,opacity:1,originX:"left",originY:"top",borderColor:"#ff8d23",codeContent:n,codeOption:t,crossOrigin:"anonymous"});i.left-=i.width/2,i.top-=i.height/2,s(i)})),createBarCodeElement:(e,t,n)=>g(void 0,null,(function*(){const{centerPoint:r}=_u(),i=yield Zk.fromURL(e,{},{id:Aa(10),name:ol.BARCODE,angle:0,left:r.x,top:r.y,hasControls:!0,hasBorders:!0,opacity:1,originX:"left",originY:"top",borderColor:"#ff8d23",codeContent:t,codeOption:n,crossOrigin:"anonymous"});i.left-=i.width/2,i.top-=i.height/2,s(i)})),createVideoElement:e=>{const{centerPoint:t}=_u(),[n]=yu(),r=document.createElement("video");r.loop=!0,r.crossOrigin="anonymous",r.controls=!0,r.style.display="none";const i=document.createElement("source");i.src=e,r.appendChild(i),r.addEventListener("loadeddata",(function(){r.width=r.videoWidth,r.height=r.videoHeight;const e=new it(r,{left:t.x,top:t.y,originX:"center",originY:"center",objectCaching:!1});n.add(e);e.getElement().play(),Ge.requestAnimFrame((function e(){n.renderAll(),Ge.requestAnimFrame(e)}))}))},createArcTextElement:(e,t="transverse",n=!1,r="双击修改文字")=>{const{centerPoint:i}=_u(),a=new lm(r,{id:Aa(10),left:i.x,top:i.y,fontSize:e,fontFamily:o.value[0].value,fillType:0,hasControls:!0,hasBorders:!0,fontWeight:"normal",charSpacing:3,opacity:1,lineHeight:1.3,originX:"left",originY:"top",textAlign:"justify-center",name:ol.TEXTBOX,splitByGrapheme:"direction"===t});a.set({left:a.left-a.width/2,top:a.top-a.height/2}),n&&(a.fill="",a.stroke="black",a.strokeWidth=1),s(a)},createVerticalTextElement:a,createTableElement:()=>{}}};var o_={exports:{}}; +/*! + * clipboard.js v2.0.11 + * https://clipboardjs.com/ + * + * Licensed MIT © Zeno Rocha + */const s_=wt(o_.exports=function(){return function(){var e={686:function(e,t,n){n.d(t,{default:function(){return b}});var r=n(279),i=n.n(r),o=n(370),s=n.n(o),a=n(817),l=n.n(a);function c(e){try{return document.execCommand(e)}catch(t){return!1}}var h=function(e){var t=l()(e);return c("cut"),t},u=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=l()(n);return c("copy"),n.remove(),r},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=u(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=u(e.value,t):(n=l()(e),c("copy")),n};function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,i=e.target,o=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i){if(!i||"object"!==f(i)||1!==i.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return o?d(o,{container:r}):i?"cut"===n?h(i):d(i,{container:r}):void 0};function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===g(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=s()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=p({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return L("action",e)}},{key:"defaultTarget",value:function(e){var t=L("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return L("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(e,t)}},{key:"cut",value:function(e){return h(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&k(t.prototype,n),r&&k(t,r),o}(i()),b=w},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function i(e,t,n,r,i){var s=o.apply(this,arguments);return e.addEventListener(n,s,i),{destroy:function(){e.removeEventListener(n,s,i)}}}function o(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}e.exports=function(e,t,n,r,o){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return i(e,t,n,r,o)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),i=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return i(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r>>2]>>>24-o%4*8&255;t[r+o>>>2]|=s<<24-(r+o)%4*8}else for(var a=0;a>>2]=n[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},u=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},d=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(jT){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},f=s.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,s=this.blockSize,a=o/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,h=e.min(4*c,o);if(c){for(var u=0;u>>2]|=e[i]<<24-i%4*8;n.call(this,r,t)}else n.apply(this,arguments)};r.prototype=t}}(),e.lib.WordArray)),k_.exports;var e}var v_,y_={exports:{}};function L_(){return v_?y_.exports:(v_=1,y_.exports=(e=u_(),function(){var t=e,n=t.lib.WordArray,r=t.enc;function i(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>16-i%4*8&65535;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i>>1]|=e.charCodeAt(i)<<16-i%2*16;return n.create(r,2*t)}},r.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>16-o%4*8&65535);r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){for(var t=e.length,r=[],o=0;o>>1]|=i(e.charCodeAt(o)<<16-o%2*16);return n.create(r,2*t)}}}(),e.enc.Utf16));var e}var w_,b_={exports:{}};function __(){return w_||(w_=1,b_.exports=(e=u_(),function(){var t=e,n=t.lib.WordArray;function r(e,t,r){for(var i=[],o=0,s=0;s>>6-s%4*2;i[o>>>2]|=a<<24-o%4*8,o++}return n.create(i,o)}t.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a>>6*(3-a)&63));var l=r.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o>>6-s%4*2;i[o>>>2]|=a<<24-o%4*8,o++}return n.create(i,o)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,r=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var o=[],s=0;s>>2]>>>24-s%4*8&255)<<16|(n[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|n[s+2>>>2]>>>24-(s+2)%4*8&255,l=0;l<4&&s+.75*l>>6*(3-l)&63));var c=i.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,i=t?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var s=0;s>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,s=e[t+0],l=e[t+1],f=e[t+2],p=e[t+3],g=e[t+4],k=e[t+5],m=e[t+6],v=e[t+7],y=e[t+8],L=e[t+9],w=e[t+10],b=e[t+11],_=e[t+12],x=e[t+13],C=e[t+14],S=e[t+15],j=o[0],M=o[1],E=o[2],T=o[3];j=c(j,M,E,T,s,7,a[0]),T=c(T,j,M,E,l,12,a[1]),E=c(E,T,j,M,f,17,a[2]),M=c(M,E,T,j,p,22,a[3]),j=c(j,M,E,T,g,7,a[4]),T=c(T,j,M,E,k,12,a[5]),E=c(E,T,j,M,m,17,a[6]),M=c(M,E,T,j,v,22,a[7]),j=c(j,M,E,T,y,7,a[8]),T=c(T,j,M,E,L,12,a[9]),E=c(E,T,j,M,w,17,a[10]),M=c(M,E,T,j,b,22,a[11]),j=c(j,M,E,T,_,7,a[12]),T=c(T,j,M,E,x,12,a[13]),E=c(E,T,j,M,C,17,a[14]),j=h(j,M=c(M,E,T,j,S,22,a[15]),E,T,l,5,a[16]),T=h(T,j,M,E,m,9,a[17]),E=h(E,T,j,M,b,14,a[18]),M=h(M,E,T,j,s,20,a[19]),j=h(j,M,E,T,k,5,a[20]),T=h(T,j,M,E,w,9,a[21]),E=h(E,T,j,M,S,14,a[22]),M=h(M,E,T,j,g,20,a[23]),j=h(j,M,E,T,L,5,a[24]),T=h(T,j,M,E,C,9,a[25]),E=h(E,T,j,M,p,14,a[26]),M=h(M,E,T,j,y,20,a[27]),j=h(j,M,E,T,x,5,a[28]),T=h(T,j,M,E,f,9,a[29]),E=h(E,T,j,M,v,14,a[30]),j=u(j,M=h(M,E,T,j,_,20,a[31]),E,T,k,4,a[32]),T=u(T,j,M,E,y,11,a[33]),E=u(E,T,j,M,b,16,a[34]),M=u(M,E,T,j,C,23,a[35]),j=u(j,M,E,T,l,4,a[36]),T=u(T,j,M,E,g,11,a[37]),E=u(E,T,j,M,v,16,a[38]),M=u(M,E,T,j,w,23,a[39]),j=u(j,M,E,T,x,4,a[40]),T=u(T,j,M,E,s,11,a[41]),E=u(E,T,j,M,p,16,a[42]),M=u(M,E,T,j,m,23,a[43]),j=u(j,M,E,T,L,4,a[44]),T=u(T,j,M,E,_,11,a[45]),E=u(E,T,j,M,S,16,a[46]),j=d(j,M=u(M,E,T,j,f,23,a[47]),E,T,s,6,a[48]),T=d(T,j,M,E,v,10,a[49]),E=d(E,T,j,M,C,15,a[50]),M=d(M,E,T,j,k,21,a[51]),j=d(j,M,E,T,_,6,a[52]),T=d(T,j,M,E,p,10,a[53]),E=d(E,T,j,M,w,15,a[54]),M=d(M,E,T,j,l,21,a[55]),j=d(j,M,E,T,y,6,a[56]),T=d(T,j,M,E,S,10,a[57]),E=d(E,T,j,M,m,15,a[58]),M=d(M,E,T,j,x,21,a[59]),j=d(j,M,E,T,g,6,a[60]),T=d(T,j,M,E,b,10,a[61]),E=d(E,T,j,M,f,15,a[62]),M=d(M,E,T,j,L,21,a[63]),o[0]=o[0]+j|0,o[1]=o[1]+M|0,o[2]=o[2]+E|0,o[3]=o[3]+T|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;n[i>>>5]|=128<<24-i%32;var o=t.floor(r/4294967296),s=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,l=a.words,c=0;c<4;c++){var h=l[c];l[c]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return a},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,r,i,o,s){var a=e+(t&n|~t&r)+i+s;return(a<>>32-o)+t}function h(e,t,n,r,i,o,s){var a=e+(t&r|n&~r)+i+s;return(a<>>32-o)+t}function u(e,t,n,r,i,o,s){var a=e+(t^n^r)+i+s;return(a<>>32-o)+t}function d(e,t,n,r,i,o,s){var a=e+(n^(t|~r))+i+s;return(a<>>32-o)+t}n.MD5=o._createHelper(l),n.HmacMD5=o._createHmacHelper(l)}(Math),e.MD5)),M_.exports;var e}var T_,O_={exports:{}};function A_(){return T_||(T_=1,O_.exports=(a=u_(),t=(e=a).lib,n=t.WordArray,r=t.Hasher,i=e.algo,o=[],s=i.SHA1=r.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],s=n[2],a=n[3],l=n[4],c=0;c<80;c++){if(c<16)o[c]=0|e[t+c];else{var h=o[c-3]^o[c-8]^o[c-14]^o[c-16];o[c]=h<<1|h>>>31}var u=(r<<5|r>>>27)+l+o[c];u+=c<20?1518500249+(i&s|~i&a):c<40?1859775393+(i^s^a):c<60?(i&s|i&a|s&a)-1894007588:(i^s^a)-899497514,l=a,a=s,s=i<<30|i>>>2,i=r,r=u}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+s|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA1=r._createHelper(s),e.HmacSHA1=r._createHmacHelper(s),a.SHA1)),O_.exports;var e,t,n,r,i,o,s,a}var P_,I_={exports:{}};function R_(){return P_||(P_=1,I_.exports=(e=u_(),function(t){var n=e,r=n.lib,i=r.WordArray,o=r.Hasher,s=n.algo,a=[],l=[];!function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)e(r)&&(i<8&&(a[i]=n(t.pow(r,.5))),l[i]=n(t.pow(r,1/3)),i++),r++}();var c=[],h=s.SHA256=o.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],s=n[3],a=n[4],h=n[5],u=n[6],d=n[7],f=0;f<64;f++){if(f<16)c[f]=0|e[t+f];else{var p=c[f-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,k=c[f-2],m=(k<<15|k>>>17)^(k<<13|k>>>19)^k>>>10;c[f]=g+c[f-7]+m+c[f-16]}var v=r&i^r&o^i&o,y=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),L=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&h^~a&u)+l[f]+c[f];d=u,u=h,h=a,a=s+L|0,s=o,o=i,i=r,r=L+(y+v)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+h|0,n[6]=n[6]+u|0,n[7]=n[7]+d|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=t.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=o._createHelper(h),n.HmacSHA256=o._createHmacHelper(h)}(Math),e.SHA256)),I_.exports;var e}var B_,W_={exports:{}};var H_,z_={exports:{}};function D_(){return H_||(H_=1,z_.exports=(e=u_(),p_(),function(){var t=e,n=t.lib.Hasher,r=t.x64,i=r.Word,o=r.WordArray,s=t.algo;function a(){return i.create.apply(i,arguments)}var l=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=a()}();var h=s.SHA512=n.extend({_doReset:function(){this._hash=new o.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],s=n[3],a=n[4],h=n[5],u=n[6],d=n[7],f=r.high,p=r.low,g=i.high,k=i.low,m=o.high,v=o.low,y=s.high,L=s.low,w=a.high,b=a.low,_=h.high,x=h.low,C=u.high,S=u.low,j=d.high,M=d.low,E=f,T=p,O=g,A=k,P=m,I=v,R=y,B=L,W=w,H=b,z=_,D=x,N=C,F=S,V=j,U=M,$=0;$<80;$++){var Y,X,Z=c[$];if($<16)X=Z.high=0|e[t+2*$],Y=Z.low=0|e[t+2*$+1];else{var G=c[$-15],q=G.high,K=G.low,J=(q>>>1|K<<31)^(q>>>8|K<<24)^q>>>7,Q=(K>>>1|q<<31)^(K>>>8|q<<24)^(K>>>7|q<<25),ee=c[$-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,ie=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),oe=c[$-7],se=oe.high,ae=oe.low,le=c[$-16],ce=le.high,he=le.low;X=(X=(X=J+se+((Y=Q+ae)>>>0>>0?1:0))+re+((Y+=ie)>>>0>>0?1:0))+ce+((Y+=he)>>>0>>0?1:0),Z.high=X,Z.low=Y}var ue,de=W&z^~W&N,fe=H&D^~H&F,pe=E&O^E&P^O&P,ge=T&A^T&I^A&I,ke=(E>>>28|T<<4)^(E<<30|T>>>2)^(E<<25|T>>>7),me=(T>>>28|E<<4)^(T<<30|E>>>2)^(T<<25|E>>>7),ve=(W>>>14|H<<18)^(W>>>18|H<<14)^(W<<23|H>>>9),ye=(H>>>14|W<<18)^(H>>>18|W<<14)^(H<<23|W>>>9),Le=l[$],we=Le.high,be=Le.low,_e=V+ve+((ue=U+ye)>>>0>>0?1:0),xe=me+ge;V=N,U=F,N=z,F=D,z=W,D=H,W=R+(_e=(_e=(_e=_e+de+((ue+=fe)>>>0>>0?1:0))+we+((ue+=be)>>>0>>0?1:0))+X+((ue+=Y)>>>0>>0?1:0))+((H=B+ue|0)>>>0>>0?1:0)|0,R=P,B=I,P=O,I=A,O=E,A=T,E=_e+(ke+pe+(xe>>>0>>0?1:0))+((T=ue+xe|0)>>>0>>0?1:0)|0}p=r.low=p+T,r.high=f+E+(p>>>0>>0?1:0),k=i.low=k+A,i.high=g+O+(k>>>0>>0?1:0),v=o.low=v+I,o.high=m+P+(v>>>0>>0?1:0),L=s.low=L+B,s.high=y+R+(L>>>0>>0?1:0),b=a.low=b+H,a.high=w+W+(b>>>0>>0?1:0),x=h.low=x+D,h.high=_+z+(x>>>0>>0?1:0),S=u.low=S+F,u.high=C+N+(S>>>0>>0?1:0),M=d.low=M+U,d.high=j+V+(M>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=n._createHelper(h),t.HmacSHA512=n._createHmacHelper(h)}(),e.SHA512)),z_.exports;var e}var N_,F_={exports:{}};var V_,U_={exports:{}};function $_(){return V_?U_.exports:(V_=1,U_.exports=(e=u_(),p_(),function(t){var n=e,r=n.lib,i=r.WordArray,o=r.Hasher,s=n.x64.Word,a=n.algo,l=[],c=[],h=[];!function(){for(var e=1,t=0,n=0;n<24;n++){l[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)c[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,o=0;o<24;o++){for(var a=0,u=0,d=0;d<7;d++){if(1&i){var f=(1<>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(M=n[i]).high^=s,M.low^=o}for(var a=0;a<24;a++){for(var d=0;d<5;d++){for(var f=0,p=0,g=0;g<5;g++)f^=(M=n[d+5*g]).high,p^=M.low;var k=u[d];k.high=f,k.low=p}for(d=0;d<5;d++){var m=u[(d+4)%5],v=u[(d+1)%5],y=v.high,L=v.low;for(f=m.high^(y<<1|L>>>31),p=m.low^(L<<1|y>>>31),g=0;g<5;g++)(M=n[d+5*g]).high^=f,M.low^=p}for(var w=1;w<25;w++){var b=(M=n[w]).high,_=M.low,x=l[w];x<32?(f=b<>>32-x,p=_<>>32-x):(f=_<>>64-x,p=b<>>64-x);var C=u[c[w]];C.high=f,C.low=p}var S=u[0],j=n[0];for(S.high=j.high,S.low=j.low,d=0;d<5;d++)for(g=0;g<5;g++){var M=n[w=d+5*g],E=u[w],T=u[(d+1)%5+5*g],O=u[(d+2)%5+5*g];M.high=E.high^~T.high&O.high,M.low=E.low^~T.low&O.low}M=n[0];var A=h[a];M.high^=A.high,M.low^=A.low}},_doFinalize:function(){var e=this._data,n=e.words;this._nDataBytes;var r=8*e.sigBytes,o=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,l=a/8,c=[],h=0;h>>24)|4278255360&(d<<24|d>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),c.push(f),c.push(d)}return new i.init(c,a)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=o._createHelper(d),n.HmacSHA3=o._createHmacHelper(d)}(Math),e.SHA3));var e}var Y_,X_={exports:{}};var Z_,G_={exports:{}};function q_(){return Z_||(Z_=1,G_.exports=(e=u_(),n=(t=e).lib.Base,r=t.enc.Utf8,void(t.algo.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),s=this._iKey=t.clone(),a=o.words,l=s.words,c=0;c>>2];e.sigBytes-=t}};r.BlockCipher=h.extend({cfg:h.cfg.extend({mode:f,padding:p}),reset:function(){var e;h.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var g=r.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),k=(n.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?o.create([1398893684,1701076831]).concat(n).concat(t):t).toString(l)},parse:function(e){var t,n=l.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=o.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),g.create({ciphertext:n,salt:t})}},m=r.SerializableCipher=i.extend({cfg:i.extend({format:k}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),s=i.cfg;return g.create({ciphertext:o,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),v=(n.kdf={}).OpenSSL={execute:function(e,t,n,r,i){if(r||(r=o.random(8)),i)s=c.create({keySize:t+n,hasher:i}).compute(e,r);else var s=c.create({keySize:t+n}).compute(e,r);var a=o.create(s.words.slice(t),4*n);return s.sigBytes=4*t,g.create({key:s,iv:a,salt:r})}},y=r.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:v}),encrypt:function(e,t,n,r){var i=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=i.iv;var o=m.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);return r.iv=i.iv,m.decrypt.call(this,e,t,i.key,r)}})}()))),rx.exports;var e}var ox,sx={exports:{}};var ax,lx={exports:{}};var cx,hx={exports:{}};function ux(){return cx?hx.exports:(cx=1,hx.exports=(e=u_(),ix(), +/** @preserve + * Counter block mode compatible with Dr Brian Gladman fileenc.c + * derived from CryptoJS.mode.CTR + * Jan Hruby jhruby.web@gmail.com + */ +e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function n(e){if(255&~(e>>24))e+=1<<24;else{var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}return e}function r(e){return 0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),r(s);var a=s.slice(0);n.encryptBlock(a,0);for(var l=0;l>>5]>>>31-r%32&1}for(var i=this._subKeys=[],o=0;o<16;o++){var c=i[o]=[],h=l[o];for(n=0;n<24;n++)c[n/6|0]|=t[(a[n]-1+h)%28]<<31-n%6,c[4+(n/6|0)]|=t[28+(a[n+24]-1+h)%28]<<31-n%6;for(c[0]=c[0]<<1|c[0]>>>31,n=1;n<7;n++)c[n]=c[n]>>>4*(n-1)+3;c[7]=c[7]<<5|c[7]>>>27}var u=this._invSubKeys=[];for(n=0;n<16;n++)u[n]=i[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),d.call(this,1,1431655765);for(var r=0;r<16;r++){for(var i=n[r],o=this._lBlock,s=this._rBlock,a=0,l=0;l<8;l++)a|=c[l][((s^i[l])&h[l])>>>0];this._lBlock=s,this._rBlock=o^a}var u=this._lBlock;this._lBlock=this._rBlock,this._rBlock=u,d.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=u.createEncryptor(r.create(t)),this._des2=u.createEncryptor(r.create(n)),this._des3=u.createEncryptor(r.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=i._createHelper(p)}(),e.TripleDES));var e}var Px,Ix={exports:{}};var Rx,Bx={exports:{}};var Wx,Hx={exports:{}};var zx,Dx,Nx,Fx,Vx,Ux,$x,Yx={exports:{}};function Xx(){return zx||(zx=1,Yx.exports=(e=u_(),__(),E_(),tx(),ix(),function(){var t=e,n=t.lib.BlockCipher,r=t.algo;const i=16,o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var a={pbox:[],sbox:[]};function l(e,t){let n=t>>24&255,r=t>>16&255,i=t>>8&255,o=255&t,s=e.sbox[0][n]+e.sbox[1][r];return s^=e.sbox[2][i],s+=e.sbox[3][o],s}function c(e,t,n){let r,o=t,s=n;for(let a=0;a1;--a)o^=e.pbox[a],s=l(e,o)^s,r=o,o=s,s=r;return r=o,o=s,s=r,s^=e.pbox[1],o^=e.pbox[0],{left:o,right:s}}function u(e,t,n){for(let i=0;i<4;i++){e.sbox[i]=[];for(let t=0;t<256;t++)e.sbox[i][t]=s[i][t]}let r=0;for(let s=0;s=n&&(r=0);let a=0,l=0,h=0;for(let o=0;o>>24)|4278255360&(i<<24|i>>>8)}var o,d,y,L,w,b,_,x,C,S,j,M=this._hash.words,E=h.words,T=u.words,O=s.words,A=a.words,P=l.words,I=c.words;for(b=o=M[0],_=d=M[1],x=y=M[2],C=L=M[3],S=w=M[4],n=0;n<80;n+=1)j=o+e[t+O[n]]|0,j+=n<16?f(d,y,L)+E[0]:n<32?p(d,y,L)+E[1]:n<48?g(d,y,L)+E[2]:n<64?k(d,y,L)+E[3]:m(d,y,L)+E[4],j=(j=v(j|=0,P[n]))+w|0,o=w,w=L,L=v(y,10),y=d,d=j,j=b+e[t+A[n]]|0,j+=n<16?m(_,x,C)+T[0]:n<32?k(_,x,C)+T[1]:n<48?g(_,x,C)+T[2]:n<64?p(_,x,C)+T[3]:f(_,x,C)+T[4],j=(j=v(j|=0,I[n]))+S|0,b=S,S=C,C=v(x,10),x=_,_=j;j=M[1]+y+C|0,M[1]=M[2]+L+S|0,M[2]=M[3]+w+b|0,M[3]=M[4]+o+_|0,M[4]=M[0]+d+x|0,M[0]=j},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,n){return e^t^n}function p(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function k(e,t,n){return e&n|t&~n}function m(e,t,n){return e^(t|~n)}function v(e,t){return e<>>32-t}t.RIPEMD160=i._createHelper(d),t.HmacRIPEMD160=i._createHmacHelper(d)}(),e.RIPEMD160));var e}(),q_(),function(){return K_?J_.exports:(K_=1,J_.exports=(l=u_(),R_(),q_(),t=(e=l).lib,n=t.Base,r=t.WordArray,i=e.algo,o=i.SHA256,s=i.HMAC,a=i.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:o,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=s.create(n.hasher,e),o=r.create(),a=r.create([1]),l=o.words,c=a.words,h=n.keySize,u=n.iterations;l.length>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923));var e}(),function(){return vx?yx.exports:(vx=1,yx.exports=(e=u_(),ix(),e.pad.Iso10126={pad:function(t,n){var r=4*n,i=r-t.sigBytes%r;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126));var e}(),function(){return Lx?wx.exports:(Lx=1,wx.exports=(e=u_(),ix(),e.pad.Iso97971={pad:function(t,n){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,n)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971));var e}(),function(){return bx?_x.exports:(bx=1,_x.exports=(e=u_(),ix(),e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding));var e}(),function(){return xx?Cx.exports:(xx=1,Cx.exports=(e=u_(),ix(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding));var e}(),function(){return Sx?jx.exports:(Sx=1,jx.exports=(r=u_(),ix(),t=(e=r).lib.CipherParams,n=e.enc.Hex,e.format.Hex={stringify:function(e){return e.ciphertext.toString(n)},parse:function(e){var r=n.parse(e);return t.create({ciphertext:r})}},r.format.Hex));var e,t,n,r}(),function(){return Mx?Ex.exports:(Mx=1,Ex.exports=(e=u_(),__(),E_(),tx(),ix(),function(){var t=e,n=t.lib.BlockCipher,r=t.algo,i=[],o=[],s=[],a=[],l=[],c=[],h=[],u=[],d=[],f=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var p=r^r<<1^r<<2^r<<3^r<<4;p=p>>>8^255&p^99,i[n]=p,o[p]=n;var g=e[n],k=e[g],m=e[k],v=257*e[p]^16843008*p;s[n]=v<<24|v>>>8,a[n]=v<<16|v>>>16,l[n]=v<<8|v>>>24,c[n]=v,v=16843009*m^65537*k^257*g^16843008*n,h[p]=v<<24|v>>>8,u[p]=v<<16|v>>>16,d[p]=v<<8|v>>>24,f[p]=v,n?(n=g^e[e[e[m^g]]],r^=e[e[r]]):n=r=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],g=r.AES=n.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],s=0;s6&&s%n==4&&(c=i[c>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c]):(c=i[(c=c<<8|c>>>24)>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c],c^=p[s/n|0]<<24),o[s]=o[s-n]^c);for(var a=this._invKeySchedule=[],l=0;l>>24]]^u[i[c>>>16&255]]^d[i[c>>>8&255]]^f[i[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,l,c,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,h,u,d,f,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,o,s,a){for(var l=this._nRounds,c=e[t]^n[0],h=e[t+1]^n[1],u=e[t+2]^n[2],d=e[t+3]^n[3],f=4,p=1;p>>24]^i[h>>>16&255]^o[u>>>8&255]^s[255&d]^n[f++],k=r[h>>>24]^i[u>>>16&255]^o[d>>>8&255]^s[255&c]^n[f++],m=r[u>>>24]^i[d>>>16&255]^o[c>>>8&255]^s[255&h]^n[f++],v=r[d>>>24]^i[c>>>16&255]^o[h>>>8&255]^s[255&u]^n[f++];c=g,h=k,u=m,d=v}g=(a[c>>>24]<<24|a[h>>>16&255]<<16|a[u>>>8&255]<<8|a[255&d])^n[f++],k=(a[h>>>24]<<24|a[u>>>16&255]<<16|a[d>>>8&255]<<8|a[255&c])^n[f++],m=(a[u>>>24]<<24|a[d>>>16&255]<<16|a[c>>>8&255]<<8|a[255&h])^n[f++],v=(a[d>>>24]<<24|a[c>>>16&255]<<16|a[h>>>8&255]<<8|a[255&u])^n[f++],e[t]=g,e[t+1]=k,e[t+2]=m,e[t+3]=v},keySize:8});t.AES=n._createHelper(g)}(),e.AES));var e}(),Ax(),function(){return Px?Ix.exports:(Px=1,Ix.exports=(e=u_(),__(),E_(),tx(),ix(),function(){var t=e,n=t.lib.StreamCipher,r=t.algo,i=r.RC4=n.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],i=0;i<256;i++)r[i]=i;i=0;for(var o=0;i<256;i++){var s=i%n,a=t[s>>>2]>>>24-s%4*8&255;o=(o+r[i]+a)%256;var l=r[i];r[i]=r[o],r[o]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var e=this._S,t=this._i,n=this._j,r=0,i=0;i<4;i++){n=(n+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[n],e[n]=o,r|=e[(e[t]+e[n])%256]<<24-8*i}return this._i=t,this._j=n,r}t.RC4=n._createHelper(i);var s=r.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)o.call(this)}});t.RC4Drop=n._createHelper(s)}(),e.RC4));var e}(),function(){return Rx?Bx.exports:(Rx=1,Bx.exports=(e=u_(),__(),E_(),tx(),ix(),function(){var t=e,n=t.lib.StreamCipher,r=t.algo,i=[],o=[],s=[],a=r.Rabbit=n.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var o=t.words,s=o[0],a=o[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=c>>>16|4294901760&h,d=h<<16|65535&c;for(i[0]^=c,i[1]^=u,i[2]^=h,i[3]^=d,i[4]^=c,i[5]^=u,i[6]^=h,i[7]^=d,n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)o[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,a=r>>>16,l=((i*i>>>17)+i*a>>>15)+a*a,c=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=l^c}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=n._createHelper(a)}(),e.Rabbit));var e}(),function(){return Wx?Hx.exports:(Wx=1,Hx.exports=(e=u_(),__(),E_(),tx(),ix(),function(){var t=e,n=t.lib.StreamCipher,r=t.algo,i=[],o=[],s=[],a=r.RabbitLegacy=n.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)l.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var o=t.words,s=o[0],a=o[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=c>>>16|4294901760&h,d=h<<16|65535&c;for(r[0]^=c,r[1]^=u,r[2]^=h,r[3]^=d,r[4]^=c,r[5]^=u,r[6]^=h,r[7]^=d,i=0;i<4;i++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)o[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,a=r>>>16,l=((i*i>>>17)+i*a>>>15)+a*a,c=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=l^c}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=n._createHelper(a)}(),e.RabbitLegacy));var e}(),Xx())); +/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */function Gx(e){let t=e.length;for(;--t>=0;)e[t]=0}const qx=256,Kx=286,Jx=30,Qx=15,eC=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),tC=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),nC=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),rC=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),iC=new Array(576);Gx(iC);const oC=new Array(60);Gx(oC);const sC=new Array(512);Gx(sC);const aC=new Array(256);Gx(aC);const lC=new Array(29);Gx(lC);const cC=new Array(Jx);function hC(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}let uC,dC,fC;function pC(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}Gx(cC);const gC=e=>e<256?sC[e]:sC[256+(e>>>7)],kC=(e,t)=>{e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},mC=(e,t,n)=>{e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<{mC(e,n[2*t],n[2*t+1])},yC=(e,t)=>{let n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},LC=(e,t,n)=>{const r=new Array(16);let i,o,s=0;for(i=1;i<=Qx;i++)s=s+n[i-1]<<1,r[i]=s;for(o=0;o<=t;o++){let t=e[2*o+1];0!==t&&(e[2*o]=yC(r[t]++,t))}},wC=e=>{let t;for(t=0;t{e.bi_valid>8?kC(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},_C=(e,t,n,r)=>{const i=2*t,o=2*n;return e[i]{const r=e.heap[n];let i=n<<1;for(;i<=e.heap_len&&(i{let r,i,o,s,a=0;if(0!==e.sym_next)do{r=255&e.pending_buf[e.sym_buf+a++],r+=(255&e.pending_buf[e.sym_buf+a++])<<8,i=e.pending_buf[e.sym_buf+a++],0===r?vC(e,i,t):(o=aC[i],vC(e,o+qx+1,t),s=eC[o],0!==s&&(i-=lC[o],mC(e,i,s)),r--,o=gC(r),vC(e,o,n),s=tC[o],0!==s&&(r-=cC[o],mC(e,r,s)))}while(a{const n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,o=t.stat_desc.elems;let s,a,l,c=-1;for(e.heap_len=0,e.heap_max=573,s=0;s>1;s>=1;s--)xC(e,n,s);l=o;do{s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],xC(e,n,1),a=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=a,n[2*l]=n[2*s]+n[2*a],e.depth[l]=(e.depth[s]>=e.depth[a]?e.depth[s]:e.depth[a])+1,n[2*s+1]=n[2*a+1]=l,e.heap[1]=l++,xC(e,n,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],((e,t)=>{const n=t.dyn_tree,r=t.max_code,i=t.stat_desc.static_tree,o=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,a=t.stat_desc.extra_base,l=t.stat_desc.max_length;let c,h,u,d,f,p,g=0;for(d=0;d<=Qx;d++)e.bl_count[d]=0;for(n[2*e.heap[e.heap_max]+1]=0,c=e.heap_max+1;c<573;c++)h=e.heap[c],d=n[2*n[2*h+1]+1]+1,d>l&&(d=l,g++),n[2*h+1]=d,h>r||(e.bl_count[d]++,f=0,h>=a&&(f=s[h-a]),p=n[2*h],e.opt_len+=p*(d+f),o&&(e.static_len+=p*(i[2*h+1]+f)));if(0!==g){do{for(d=l-1;0===e.bl_count[d];)d--;e.bl_count[d]--,e.bl_count[d+1]+=2,e.bl_count[l]--,g-=2}while(g>0);for(d=l;0!==d;d--)for(h=e.bl_count[d];0!==h;)u=e.heap[--c],u>r||(n[2*u+1]!==d&&(e.opt_len+=(d-n[2*u+1])*n[2*u],n[2*u+1]=d),h--)}})(e,t),LC(n,c,e.bl_count)},jC=(e,t,n)=>{let r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=s,s=t[2*(r+1)+1],++a{let r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),r=0;r<=n;r++)if(i=s,s=t[2*(r+1)+1],!(++a{mC(e,0+(r?1:0),3),bC(e),kC(e,n),kC(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n};var OC={_tr_init:e=>{EC||((()=>{let e,t,n,r,i;const o=new Array(16);for(n=0,r=0;r<28;r++)for(lC[r]=n,e=0;e<1<>=7;r{let i,o,s=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=(e=>{let t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t{let t;for(jC(e,e.dyn_ltree,e.l_desc.max_code),jC(e,e.dyn_dtree,e.d_desc.max_code),SC(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*rC[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t})(e),i=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?TC(e,t,n,r):4===e.strategy||o===i?(mC(e,2+(r?1:0),3),CC(e,iC,oC)):(mC(e,4+(r?1:0),3),((e,t,n,r)=>{let i;for(mC(e,t-257,5),mC(e,n-1,5),mC(e,r-4,4),i=0;i(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(aC[n]+qx+1)]++,e.dyn_dtree[2*gC(t)]++),e.sym_next===e.sym_end),_tr_align:e=>{mC(e,2,3),vC(e,256,iC),(e=>{16===e.bi_valid?(kC(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)})(e)}};var AC=(e,t,n,r)=>{let i=65535&e,o=e>>>16&65535,s=0;for(;0!==n;){s=n>2e3?2e3:n,n-=s;do{i=i+t[r++]|0,o=o+i|0}while(--s);i%=65521,o%=65521}return i|o<<16};const PC=new Uint32Array((()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t})());var IC=(e,t,n,r)=>{const i=PC,o=r+n;e^=-1;for(let s=r;s>>8^i[255&(e^t[s])];return~e},RC={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},BC={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:WC,_tr_stored_block:HC,_tr_flush_block:zC,_tr_tally:DC,_tr_align:NC}=OC,{Z_NO_FLUSH:FC,Z_PARTIAL_FLUSH:VC,Z_FULL_FLUSH:UC,Z_FINISH:$C,Z_BLOCK:YC,Z_OK:XC,Z_STREAM_END:ZC,Z_STREAM_ERROR:GC,Z_DATA_ERROR:qC,Z_BUF_ERROR:KC,Z_DEFAULT_COMPRESSION:JC,Z_FILTERED:QC,Z_HUFFMAN_ONLY:eS,Z_RLE:tS,Z_FIXED:nS,Z_DEFAULT_STRATEGY:rS,Z_UNKNOWN:iS,Z_DEFLATED:oS}=BC,sS=258,aS=262,lS=42,cS=113,hS=666,uS=(e,t)=>(e.msg=RC[t],t),dS=e=>2*e-(e>4?9:0),fS=e=>{let t=e.length;for(;--t>=0;)e[t]=0},pS=e=>{let t,n,r,i=e.w_size;t=e.hash_size,r=t;do{n=e.head[--r],e.head[r]=n>=i?n-i:0}while(--t);t=i,r=t;do{n=e.prev[--r],e.prev[r]=n>=i?n-i:0}while(--t)};let gS=(e,t,n)=>(t<{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},mS=(e,t)=>{zC(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,kS(e.strm)},vS=(e,t)=>{e.pending_buf[e.pending++]=t},yS=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},LS=(e,t,n,r)=>{let i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),1===e.state.wrap?e.adler=AC(e.adler,t,i,n):2===e.state.wrap&&(e.adler=IC(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},wS=(e,t)=>{let n,r,i=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match;const l=e.strstart>e.w_size-aS?e.strstart-(e.w_size-aS):0,c=e.window,h=e.w_mask,u=e.prev,d=e.strstart+sS;let f=c[o+s-1],p=c[o+s];e.prev_length>=e.good_match&&(i>>=2),a>e.lookahead&&(a=e.lookahead);do{if(n=t,c[n+s]===p&&c[n+s-1]===f&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&os){if(e.match_start=t,s=r,r>=a)break;f=c[o+s-1],p=c[o+s]}}}while((t=u[t&h])>l&&0!=--i);return s<=e.lookahead?s:e.lookahead},bS=e=>{const t=e.w_size;let n,r,i;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-aS)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),pS(e),r+=t),0===e.strm.avail_in)break;if(n=LS(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=3)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=gS(e,e.ins_h,e.window[i+1]);e.insert&&(e.ins_h=gS(e,e.ins_h,e.window[i+3-1]),e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead{let n,r,i,o=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,s=0,a=e.strm.avail_in;do{if(n=65535,i=e.bi_valid+42>>3,e.strm.avail_outr+e.strm.avail_in&&(n=r+e.strm.avail_in),n>i&&(n=i),n>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,kS(e.strm),r&&(r>n&&(r=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+r),e.strm.next_out),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r,e.block_start+=r,n-=r),n&&(LS(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(0===s);return a-=e.strm.avail_in,a&&(a>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=a&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-a,e.strm.next_in),e.strstart),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.block_start=e.strstart),e.high_wateri&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(LS(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water>3,i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i,o=i>e.w_size?e.w_size:i,r=e.strstart-e.block_start,(r>=o||(r||t===$C)&&t!==FC&&0===e.strm.avail_in&&r<=i)&&(n=r>i?i:r,s=t===$C&&0===e.strm.avail_in&&n===r?1:0,HC(e,e.block_start,n,s),e.block_start+=n,kS(e.strm)),s?3:1)},xS=(e,t)=>{let n,r;for(;;){if(e.lookahead=3&&(e.ins_h=gS(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-aS&&(e.match_length=wS(e,n)),e.match_length>=3)if(r=DC(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=gS(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=gS(e,e.ins_h,e.window[e.strstart+1]);else r=DC(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(mS(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===$C?(mS(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(mS(e,!1),0===e.strm.avail_out)?1:2},CS=(e,t)=>{let n,r,i;for(;;){if(e.lookahead=3&&(e.ins_h=gS(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=DC(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=gS(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(mS(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if(r=DC(e,0,e.window[e.strstart-1]),r&&mS(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=DC(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===$C?(mS(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(mS(e,!1),0===e.strm.avail_out)?1:2};function SS(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}const jS=[new SS(0,0,0,0,_S),new SS(4,4,8,4,xS),new SS(4,5,16,8,xS),new SS(4,6,32,32,xS),new SS(4,4,16,16,CS),new SS(8,16,32,32,CS),new SS(8,16,128,128,CS),new SS(8,32,128,256,CS),new SS(32,128,258,1024,CS),new SS(32,258,258,4096,CS)];function MS(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=oS,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),fS(this.dyn_ltree),fS(this.dyn_dtree),fS(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),fS(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),fS(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const ES=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==lS&&57!==t.status&&69!==t.status&&73!==t.status&&91!==t.status&&103!==t.status&&t.status!==cS&&t.status!==hS?1:0},TS=e=>{if(ES(e))return uS(e,GC);e.total_in=e.total_out=0,e.data_type=iS;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?lS:cS,e.adler=2===t.wrap?0:1,t.last_flush=-2,WC(t),XC},OS=e=>{const t=TS(e);var n;return t===XC&&((n=e.state).window_size=2*n.w_size,fS(n.head),n.max_lazy_match=jS[n.level].max_lazy,n.good_match=jS[n.level].good_length,n.nice_match=jS[n.level].nice_length,n.max_chain_length=jS[n.level].max_chain,n.strstart=0,n.block_start=0,n.lookahead=0,n.insert=0,n.match_length=n.prev_length=2,n.match_available=0,n.ins_h=0),t},AS=(e,t,n,r,i,o)=>{if(!e)return GC;let s=1;if(t===JC&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),i<1||i>9||n!==oS||r<8||r>15||t<0||t>9||o<0||o>nS||8===r&&1!==s)return uS(e,GC);8===r&&(r=9);const a=new MS;return e.state=a,a.strm=e,a.status=lS,a.wrap=s,a.gzhead=null,a.w_bits=r,a.w_size=1<AS(e,t,oS,15,8,rS),deflateInit2:AS,deflateReset:OS,deflateResetKeep:TS,deflateSetHeader:(e,t)=>ES(e)||2!==e.state.wrap?GC:(e.state.gzhead=t,XC),deflate:(e,t)=>{if(ES(e)||t>YC||t<0)return e?uS(e,GC):GC;const n=e.state;if(!e.output||0!==e.avail_in&&!e.input||n.status===hS&&t!==$C)return uS(e,0===e.avail_out?KC:GC);const r=n.last_flush;if(n.last_flush=t,0!==n.pending){if(kS(e),0===e.avail_out)return n.last_flush=-1,XC}else if(0===e.avail_in&&dS(t)<=dS(r)&&t!==$C)return uS(e,KC);if(n.status===hS&&0!==e.avail_in)return uS(e,KC);if(n.status===lS&&0===n.wrap&&(n.status=cS),n.status===lS){let t=oS+(n.w_bits-8<<4)<<8,r=-1;if(r=n.strategy>=eS||n.level<2?0:n.level<6?1:6===n.level?2:3,t|=r<<6,0!==n.strstart&&(t|=32),t+=31-t%31,yS(n,t),0!==n.strstart&&(yS(n,e.adler>>>16),yS(n,65535&e.adler)),e.adler=1,n.status=cS,kS(e),0!==n.pending)return n.last_flush=-1,XC}if(57===n.status)if(e.adler=0,vS(n,31),vS(n,139),vS(n,8),n.gzhead)vS(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),vS(n,255&n.gzhead.time),vS(n,n.gzhead.time>>8&255),vS(n,n.gzhead.time>>16&255),vS(n,n.gzhead.time>>24&255),vS(n,9===n.level?2:n.strategy>=eS||n.level<2?4:0),vS(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(vS(n,255&n.gzhead.extra.length),vS(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=IC(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(vS(n,0),vS(n,0),vS(n,0),vS(n,0),vS(n,0),vS(n,9===n.level?2:n.strategy>=eS||n.level<2?4:0),vS(n,3),n.status=cS,kS(e),0!==n.pending)return n.last_flush=-1,XC;if(69===n.status){if(n.gzhead.extra){let t=n.pending,r=(65535&n.gzhead.extra.length)-n.gzindex;for(;n.pending+r>n.pending_buf_size;){let i=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+i),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>t&&(e.adler=IC(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex+=i,kS(e),0!==n.pending)return n.last_flush=-1,XC;t=0,r-=i}let i=new Uint8Array(n.gzhead.extra);n.pending_buf.set(i.subarray(n.gzindex,n.gzindex+r),n.pending),n.pending+=r,n.gzhead.hcrc&&n.pending>t&&(e.adler=IC(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){let t,r=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(e.adler=IC(e.adler,n.pending_buf,n.pending-r,r)),kS(e),0!==n.pending)return n.last_flush=-1,XC;r=0}t=n.gzindexr&&(e.adler=IC(e.adler,n.pending_buf,n.pending-r,r)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){let t,r=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(e.adler=IC(e.adler,n.pending_buf,n.pending-r,r)),kS(e),0!==n.pending)return n.last_flush=-1,XC;r=0}t=n.gzindexr&&(e.adler=IC(e.adler,n.pending_buf,n.pending-r,r))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(kS(e),0!==n.pending))return n.last_flush=-1,XC;vS(n,255&e.adler),vS(n,e.adler>>8&255),e.adler=0}if(n.status=cS,kS(e),0!==n.pending)return n.last_flush=-1,XC}if(0!==e.avail_in||0!==n.lookahead||t!==FC&&n.status!==hS){let r=0===n.level?_S(n,t):n.strategy===eS?((e,t)=>{let n;for(;;){if(0===e.lookahead&&(bS(e),0===e.lookahead)){if(t===FC)return 1;break}if(e.match_length=0,n=DC(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(mS(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===$C?(mS(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(mS(e,!1),0===e.strm.avail_out)?1:2})(n,t):n.strategy===tS?((e,t)=>{let n,r,i,o;const s=e.window;for(;;){if(e.lookahead<=sS){if(bS(e),e.lookahead<=sS&&t===FC)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(i=e.strstart-1,r=s[i],r===s[++i]&&r===s[++i]&&r===s[++i])){o=e.strstart+sS;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&ie.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=DC(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=DC(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(mS(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===$C?(mS(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(mS(e,!1),0===e.strm.avail_out)?1:2})(n,t):jS[n.level].func(n,t);if(3!==r&&4!==r||(n.status=hS),1===r||3===r)return 0===e.avail_out&&(n.last_flush=-1),XC;if(2===r&&(t===VC?NC(n):t!==YC&&(HC(n,0,0,!1),t===UC&&(fS(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),kS(e),0===e.avail_out))return n.last_flush=-1,XC}return t!==$C?XC:n.wrap<=0?ZC:(2===n.wrap?(vS(n,255&e.adler),vS(n,e.adler>>8&255),vS(n,e.adler>>16&255),vS(n,e.adler>>24&255),vS(n,255&e.total_in),vS(n,e.total_in>>8&255),vS(n,e.total_in>>16&255),vS(n,e.total_in>>24&255)):(yS(n,e.adler>>>16),yS(n,65535&e.adler)),kS(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?XC:ZC)},deflateEnd:e=>{if(ES(e))return GC;const t=e.state.status;return e.state=null,t===cS?uS(e,qC):XC},deflateSetDictionary:(e,t)=>{let n=t.length;if(ES(e))return GC;const r=e.state,i=r.wrap;if(2===i||1===i&&r.status!==lS||r.lookahead)return GC;if(1===i&&(e.adler=AC(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(fS(r.head),r.strstart=0,r.block_start=0,r.insert=0);let e=new Uint8Array(r.w_size);e.set(t.subarray(n-r.w_size,n),0),t=e,n=r.w_size}const o=e.avail_in,s=e.next_in,a=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,bS(r);r.lookahead>=3;){let e=r.strstart,t=r.lookahead-2;do{r.ins_h=gS(r,r.ins_h,r.window[e+3-1]),r.prev[e&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=e,e++}while(--t);r.strstart=e,r.lookahead=2,bS(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=a,e.avail_in=o,r.wrap=i,XC},deflateInfo:"pako deflate (from Nodeca project)"};const IS=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var RS={assign:function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(const t in n)IS(n,t)&&(e[t]=n[t])}}return e},flattenChunks:e=>{let t=0;for(let r=0,i=e.length;r=252?6:ET>=248?5:ET>=240?4:ET>=224?3:ET>=192?2:1;WS[254]=WS[254]=1;var HS={string2buf:e=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);let t,n,r,i,o,s=e.length,a=0;for(i=0;i>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},buf2string:(e,t)=>{const n=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));let r,i;const o=new Array(2*n);for(i=0,r=0;r4)o[i++]=65533,r+=s-1;else{for(t&=2===s?31:3===s?15:7;s>1&&r1?o[i++]=65533:t<65536?o[i++]=t:(t-=65536,o[i++]=55296|t>>10&1023,o[i++]=56320|1023&t)}}return((e,t)=>{if(t<65534&&e.subarray&&BS)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r{(t=t||e.length)>e.length&&(t=e.length);let n=t-1;for(;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+WS[e[n]]>t?n:t}};var zS=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const DS=Object.prototype.toString,{Z_NO_FLUSH:NS,Z_SYNC_FLUSH:FS,Z_FULL_FLUSH:VS,Z_FINISH:US,Z_OK:$S,Z_STREAM_END:YS,Z_DEFAULT_COMPRESSION:XS,Z_DEFAULT_STRATEGY:ZS,Z_DEFLATED:GS}=BC;function qS(e){this.options=RS.assign({level:XS,method:GS,chunkSize:16384,windowBits:15,memLevel:8,strategy:ZS},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zS,this.strm.avail_out=0;let n=PS.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==$S)throw new Error(RC[n]);if(t.header&&PS.deflateSetHeader(this.strm,t.header),t.dictionary){let e;if(e="string"==typeof t.dictionary?HS.string2buf(t.dictionary):"[object ArrayBuffer]"===DS.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,n=PS.deflateSetDictionary(this.strm,e),n!==$S)throw new Error(RC[n]);this._dict_set=!0}}function KS(e,t){const n=new qS(t);if(n.push(e,!0),n.err)throw n.msg||RC[n.err];return n.result}qS.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize;let i,o;if(this.ended)return!1;for(o=t===~~t?t:!0===t?US:NS,"string"==typeof e?n.input=HS.string2buf(e):"[object ArrayBuffer]"===DS.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;)if(0===n.avail_out&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(o===FS||o===VS)&&n.avail_out<=6)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else{if(i=PS.deflate(n,o),i===YS)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),i=PS.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===$S;if(0!==n.avail_out){if(o>0&&n.next_out>0)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else if(0===n.avail_in)break}else this.onData(n.output)}return!0},qS.prototype.onData=function(e){this.chunks.push(e)},qS.prototype.onEnd=function(e){e===$S&&(this.result=RS.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var JS={Deflate:qS,deflate:KS,deflateRaw:function(e,t){return(t=t||{}).raw=!0,KS(e,t)},gzip:function(e,t){return(t=t||{}).gzip=!0,KS(e,t)},constants:BC};const QS=16209;var ej=function(e,t){let n,r,i,o,s,a,l,c,h,u,d,f,p,g,k,m,v,y,L,w,b,_,x,C;const S=e.state;n=e.next_in,x=e.input,r=n+(e.avail_in-5),i=e.next_out,C=e.output,o=i-(t-e.avail_out),s=i+(e.avail_out-257),a=S.dmax,l=S.wsize,c=S.whave,h=S.wnext,u=S.window,d=S.hold,f=S.bits,p=S.lencode,g=S.distcode,k=(1<>>24,d>>>=y,f-=y,y=v>>>16&255,0===y)C[i++]=65535&v;else{if(!(16&y)){if(64&y){if(32&y){S.mode=16191;break e}e.msg="invalid literal/length code",S.mode=QS;break e}v=p[(65535&v)+(d&(1<>>=y,f-=y),f<15&&(d+=x[n++]<>>24,d>>>=y,f-=y,y=v>>>16&255,16&y){if(w=65535&v,y&=15,fa){e.msg="invalid distance too far back",S.mode=QS;break e}if(d>>>=y,f-=y,y=i-o,w>y){if(y=w-y,y>c&&S.sane){e.msg="invalid distance too far back",S.mode=QS;break e}if(b=0,_=u,0===h){if(b+=l-y,y2;)C[i++]=_[b++],C[i++]=_[b++],C[i++]=_[b++],L-=3;L&&(C[i++]=_[b++],L>1&&(C[i++]=_[b++]))}else{b=i-w;do{C[i++]=C[b++],C[i++]=C[b++],C[i++]=C[b++],L-=3}while(L>2);L&&(C[i++]=C[b++],L>1&&(C[i++]=C[b++]))}break}if(64&y){e.msg="invalid distance code",S.mode=QS;break e}v=g[(65535&v)+(d&(1<>3,n-=L,f-=L<<3,d&=(1<{const l=a.bits;let c,h,u,d,f,p,g=0,k=0,m=0,v=0,y=0,L=0,w=0,b=0,_=0,x=0,C=null;const S=new Uint16Array(16),j=new Uint16Array(16);let M,E,T,O=null;for(g=0;g<=tj;g++)S[g]=0;for(k=0;k=1&&0===S[v];v--);if(y>v&&(y=v),0===v)return i[o++]=20971520,i[o++]=20971520,a.bits=1,0;for(m=1;m0&&(0===e||1!==v))return-1;for(j[1]=0,g=1;g852||2===e&&_>592)return 1;for(;;){M=g-w,s[k]+1=p?(E=O[s[k]-p],T=C[s[k]-p]):(E=96,T=0),c=1<>w)+h]=M<<24|E<<16|T}while(0!==h);for(c=1<>=1;if(0!==c?(x&=c-1,x+=c):x=0,k++,0==--S[g]){if(g===v)break;g=t[n+s[k]]}if(g>y&&(x&d)!==u){for(0===w&&(w=y),f+=m,L=g-w,b=1<852||2===e&&_>592)return 1;u=x&d,i[u]=y<<24|L<<16|f-o}}return 0!==x&&(i[f+x]=g-w<<24|64<<16),a.bits=y,0};const{Z_FINISH:aj,Z_BLOCK:lj,Z_TREES:cj,Z_OK:hj,Z_STREAM_END:uj,Z_NEED_DICT:dj,Z_STREAM_ERROR:fj,Z_DATA_ERROR:pj,Z_MEM_ERROR:gj,Z_BUF_ERROR:kj,Z_DEFLATED:mj}=BC,vj=16180,yj=16190,Lj=16191,wj=16192,bj=16194,_j=16199,xj=16200,Cj=16206,Sj=16209,jj=e=>(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function Mj(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Ej=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode16211?1:0},Tj=e=>{if(Ej(e))return fj;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=vj,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,hj},Oj=e=>{if(Ej(e))return fj;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,Tj(e)},Aj=(e,t)=>{let n;if(Ej(e))return fj;const r=e.state;return t<0?(n=0,t=-t):(n=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?fj:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Oj(e))},Pj=(e,t)=>{if(!e)return fj;const n=new Mj;e.state=n,n.strm=e,n.window=null,n.mode=vj;const r=Aj(e,t);return r!==hj&&(e.state=null),r};let Ij,Rj,Bj=!0;const Wj=e=>{if(Bj){Ij=new Int32Array(512),Rj=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(sj(1,e.lens,0,288,Ij,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;sj(2,e.lens,0,32,Rj,0,e.work,{bits:5}),Bj=!1}e.lencode=Ij,e.lenbits=9,e.distcode=Rj,e.distbits=5},Hj=(e,t,n,r)=>{let i;const o=e.state;return null===o.window&&(o.wsize=1<=o.wsize?(o.window.set(t.subarray(n-o.wsize,n),0),o.wnext=0,o.whave=o.wsize):(i=o.wsize-o.wnext,i>r&&(i=r),o.window.set(t.subarray(n-r,n-r+i),o.wnext),(r-=i)?(o.window.set(t.subarray(n-r,n),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whavePj(e,15),inflateInit2:Pj,inflate:(e,t)=>{let n,r,i,o,s,a,l,c,h,u,d,f,p,g,k,m,v,y,L,w,b,_,x=0;const C=new Uint8Array(4);let S,j;const M=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Ej(e)||!e.output||!e.input&&0!==e.avail_in)return fj;n=e.state,n.mode===Lj&&(n.mode=wj),s=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,r=e.input,a=e.avail_in,c=n.hold,h=n.bits,u=a,d=l,_=hj;e:for(;;)switch(n.mode){case vj:if(0===n.wrap){n.mode=wj;break}for(;h<16;){if(0===a)break e;a--,c+=r[o++]<>>8&255,n.check=IC(n.check,C,2,0),c=0,h=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=Sj;break}if((15&c)!==mj){e.msg="unknown compression method",n.mode=Sj;break}if(c>>>=4,h-=4,b=8+(15&c),0===n.wbits&&(n.wbits=b),b>15||b>n.wbits){e.msg="invalid window size",n.mode=Sj;break}n.dmax=1<>8&1),512&n.flags&&4&n.wrap&&(C[0]=255&c,C[1]=c>>>8&255,n.check=IC(n.check,C,2,0)),c=0,h=0,n.mode=16182;case 16182:for(;h<32;){if(0===a)break e;a--,c+=r[o++]<>>8&255,C[2]=c>>>16&255,C[3]=c>>>24&255,n.check=IC(n.check,C,4,0)),c=0,h=0,n.mode=16183;case 16183:for(;h<16;){if(0===a)break e;a--,c+=r[o++]<>8),512&n.flags&&4&n.wrap&&(C[0]=255&c,C[1]=c>>>8&255,n.check=IC(n.check,C,2,0)),c=0,h=0,n.mode=16184;case 16184:if(1024&n.flags){for(;h<16;){if(0===a)break e;a--,c+=r[o++]<>>8&255,n.check=IC(n.check,C,2,0)),c=0,h=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&n.flags&&(f=n.length,f>a&&(f=a),f&&(n.head&&(b=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(o,o+f),b)),512&n.flags&&4&n.wrap&&(n.check=IC(n.check,r,f,o)),a-=f,o+=f,n.length-=f),n.length))break e;n.length=0,n.mode=16186;case 16186:if(2048&n.flags){if(0===a)break e;f=0;do{b=r[o+f++],n.head&&b&&n.length<65536&&(n.head.name+=String.fromCharCode(b))}while(b&&f>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Lj;break;case 16189:for(;h<32;){if(0===a)break e;a--,c+=r[o++]<>>=7&h,h-=7&h,n.mode=Cj;break}for(;h<3;){if(0===a)break e;a--,c+=r[o++]<>>=1,h-=1,3&c){case 0:n.mode=16193;break;case 1:if(Wj(n),n.mode=_j,t===cj){c>>>=2,h-=2;break e}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=Sj}c>>>=2,h-=2;break;case 16193:for(c>>>=7&h,h-=7&h;h<32;){if(0===a)break e;a--,c+=r[o++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=Sj;break}if(n.length=65535&c,c=0,h=0,n.mode=bj,t===cj)break e;case bj:n.mode=16195;case 16195:if(f=n.length,f){if(f>a&&(f=a),f>l&&(f=l),0===f)break e;i.set(r.subarray(o,o+f),s),a-=f,o+=f,l-=f,s+=f,n.length-=f;break}n.mode=Lj;break;case 16196:for(;h<14;){if(0===a)break e;a--,c+=r[o++]<>>=5,h-=5,n.ndist=1+(31&c),c>>>=5,h-=5,n.ncode=4+(15&c),c>>>=4,h-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Sj;break}n.have=0,n.mode=16197;case 16197:for(;n.have>>=3,h-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,S={bits:n.lenbits},_=sj(0,n.lens,0,19,n.lencode,0,n.work,S),n.lenbits=S.bits,_){e.msg="invalid code lengths set",n.mode=Sj;break}n.have=0,n.mode=16198;case 16198:for(;n.have>>24,m=x>>>16&255,v=65535&x,!(k<=h);){if(0===a)break e;a--,c+=r[o++]<>>=k,h-=k,n.lens[n.have++]=v;else{if(16===v){for(j=k+2;h>>=k,h-=k,0===n.have){e.msg="invalid bit length repeat",n.mode=Sj;break}b=n.lens[n.have-1],f=3+(3&c),c>>>=2,h-=2}else if(17===v){for(j=k+3;h>>=k,h-=k,b=0,f=3+(7&c),c>>>=3,h-=3}else{for(j=k+7;h>>=k,h-=k,b=0,f=11+(127&c),c>>>=7,h-=7}if(n.have+f>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Sj;break}for(;f--;)n.lens[n.have++]=b}}if(n.mode===Sj)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=Sj;break}if(n.lenbits=9,S={bits:n.lenbits},_=sj(1,n.lens,0,n.nlen,n.lencode,0,n.work,S),n.lenbits=S.bits,_){e.msg="invalid literal/lengths set",n.mode=Sj;break}if(n.distbits=6,n.distcode=n.distdyn,S={bits:n.distbits},_=sj(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,S),n.distbits=S.bits,_){e.msg="invalid distances set",n.mode=Sj;break}if(n.mode=_j,t===cj)break e;case _j:n.mode=xj;case xj:if(a>=6&&l>=258){e.next_out=s,e.avail_out=l,e.next_in=o,e.avail_in=a,n.hold=c,n.bits=h,ej(e,d),s=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,r=e.input,a=e.avail_in,c=n.hold,h=n.bits,n.mode===Lj&&(n.back=-1);break}for(n.back=0;x=n.lencode[c&(1<>>24,m=x>>>16&255,v=65535&x,!(k<=h);){if(0===a)break e;a--,c+=r[o++]<>y)],k=x>>>24,m=x>>>16&255,v=65535&x,!(y+k<=h);){if(0===a)break e;a--,c+=r[o++]<>>=y,h-=y,n.back+=y}if(c>>>=k,h-=k,n.back+=k,n.length=v,0===m){n.mode=16205;break}if(32&m){n.back=-1,n.mode=Lj;break}if(64&m){e.msg="invalid literal/length code",n.mode=Sj;break}n.extra=15&m,n.mode=16201;case 16201:if(n.extra){for(j=n.extra;h>>=n.extra,h-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;x=n.distcode[c&(1<>>24,m=x>>>16&255,v=65535&x,!(k<=h);){if(0===a)break e;a--,c+=r[o++]<>y)],k=x>>>24,m=x>>>16&255,v=65535&x,!(y+k<=h);){if(0===a)break e;a--,c+=r[o++]<>>=y,h-=y,n.back+=y}if(c>>>=k,h-=k,n.back+=k,64&m){e.msg="invalid distance code",n.mode=Sj;break}n.offset=v,n.extra=15&m,n.mode=16203;case 16203:if(n.extra){for(j=n.extra;h>>=n.extra,h-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Sj;break}n.mode=16204;case 16204:if(0===l)break e;if(f=d-l,n.offset>f){if(f=n.offset-f,f>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Sj;break}f>n.wnext?(f-=n.wnext,p=n.wsize-f):p=n.wnext-f,f>n.length&&(f=n.length),g=n.window}else g=i,p=s-n.offset,f=n.length;f>l&&(f=l),l-=f,n.length-=f;do{i[s++]=g[p++]}while(--f);0===n.length&&(n.mode=xj);break;case 16205:if(0===l)break e;i[s++]=n.length,l--,n.mode=xj;break;case Cj:if(n.wrap){for(;h<32;){if(0===a)break e;a--,c|=r[o++]<{if(Ej(e))return fj;let t=e.state;return t.window&&(t.window=null),e.state=null,hj},inflateGetHeader:(e,t)=>{if(Ej(e))return fj;const n=e.state;return 2&n.wrap?(n.head=t,t.done=!1,hj):fj},inflateSetDictionary:(e,t)=>{const n=t.length;let r,i,o;return Ej(e)?fj:(r=e.state,0!==r.wrap&&r.mode!==yj?fj:r.mode===yj&&(i=1,i=AC(i,t,n,0),i!==r.check)?pj:(o=Hj(e,t,n,n),o?(r.mode=16210,gj):(r.havedict=1,hj)))},inflateInfo:"pako inflate (from Nodeca project)"};var Dj=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const Nj=Object.prototype.toString,{Z_NO_FLUSH:Fj,Z_FINISH:Vj,Z_OK:Uj,Z_STREAM_END:$j,Z_NEED_DICT:Yj,Z_STREAM_ERROR:Xj,Z_DATA_ERROR:Zj,Z_MEM_ERROR:Gj}=BC;function qj(e){this.options=RS.assign({chunkSize:65536,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zS,this.strm.avail_out=0;let n=zj.inflateInit2(this.strm,t.windowBits);if(n!==Uj)throw new Error(RC[n]);if(this.header=new Dj,zj.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=HS.string2buf(t.dictionary):"[object ArrayBuffer]"===Nj.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=zj.inflateSetDictionary(this.strm,t.dictionary),n!==Uj)))throw new Error(RC[n])}function Kj(e,t){const n=new qj(t);if(n.push(e),n.err)throw n.msg||RC[n.err];return n.result}qj.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,i=this.options.dictionary;let o,s,a;if(this.ended)return!1;for(s=t===~~t?t:!0===t?Vj:Fj,"[object ArrayBuffer]"===Nj.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(0===n.avail_out&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),o=zj.inflate(n,s),o===Yj&&i&&(o=zj.inflateSetDictionary(n,i),o===Uj?o=zj.inflate(n,s):o===Zj&&(o=Yj));n.avail_in>0&&o===$j&&n.state.wrap>0&&0!==e[n.next_in];)zj.inflateReset(n),o=zj.inflate(n,s);switch(o){case Xj:case Zj:case Yj:case Gj:return this.onEnd(o),this.ended=!0,!1}if(a=n.avail_out,n.next_out&&(0===n.avail_out||o===$j))if("string"===this.options.to){let e=HS.utf8border(n.output,n.next_out),t=n.next_out-e,i=HS.buf2string(n.output,e);n.next_out=t,n.avail_out=r-t,t&&n.output.set(n.output.subarray(e,e+t),0),this.onData(i)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(o!==Uj||0!==a){if(o===$j)return o=zj.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(0===n.avail_in)break}}return!0},qj.prototype.onData=function(e){this.chunks.push(e)},qj.prototype.onEnd=function(e){e===Uj&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=RS.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var Jj={Inflate:qj,inflate:Kj,inflateRaw:function(e,t){return(t=t||{}).raw=!0,Kj(e,t)},ungzip:Kj,constants:BC};const{Deflate:Qj,deflate:eM,deflateRaw:tM,gzip:nM}=JS,{Inflate:rM,inflate:iM,inflateRaw:oM,ungzip:sM}=Jj;var aM={Deflate:Qj,deflate:eM,deflateRaw:tM,gzip:nM,Inflate:rM,inflate:iM,inflateRaw:oM,ungzip:sM,constants:BC};const lM="yft-design",cM=e=>{let t=atob(e);const n=t.split("").map((function(e){return e.charCodeAt(0)})),r=new Uint8Array(n),i=aM.inflate(r);return t=new TextDecoder("utf-8").decode(i),JSON.parse(t)},hM=e=>new Promise(((t,n)=>{const r=document.createElement("button"),i=new s_(r,{text:()=>e,action:()=>"copy",container:document.body});i.on("success",(e=>{i.destroy(),t(e)})),i.on("error",(e=>{i.destroy(),n(e)})),document.body.appendChild(r),r.click(),document.body.removeChild(r)})),uM=e=>{let t;try{t=JSON.parse((n=e,Zx.AES.decrypt(n,lM).toString(Zx.enc.Utf8)))}catch(jT){t=e}var n;return t};var dM=(e=>(e.C="C",e.V="V",e.X="X",e.Z="Z",e.Y="Y",e.A="A",e.G="G",e.L="L",e.F="F",e.D="D",e.B="B",e.P="P",e.R="R",e.MINUS="-",e.EQUAL="=",e.DELETE="DELETE",e.UP="ARROWUP",e.DOWN="ARROWDOWN",e.LEFT="ARROWLEFT",e.RIGHT="ARROWRIGHT",e.ENTER="ENTER",e.SPACE=" ",e.TAB="TAB",e.BACKSPACE="BACKSPACE",e.ESC="ESCAPE",e.PAGEUP="PAGEUP",e.PAGEDOWN="PAGEDOWN",e.F5="F5",e))(dM||{});const fM=[{type:"通用",children:[{label:"剪切",value:"Ctrl + X"},{label:"复制",value:"Ctrl + C"},{label:"粘贴",value:"Ctrl + V"},{label:"全选",value:"Ctrl + A"},{label:"撤销",value:"Ctrl + Z"},{label:"恢复",value:"Ctrl + Y"},{label:"删除",value:"Delete / Backspace"},{label:"多选",value:"按住 Ctrl 或 Shift"},{label:"打印",value:"Ctrl + P"},{label:"关闭",value:"ESC"}]},{type:"页面预览",children:[{label:"从第一页预览",value:"F5"},{label:"从当前页预览",value:"Shift + F5"},{label:"切换上一页",value:"↑ / ← / PgUp"},{label:"切换下一页",value:"↓ / → / PgDown"},{label:"切换下一页",value:"Enter / Space"},{label:"退出预览",value:"ESC"}]},{type:"页面编辑",children:[{label:"新建页面",value:"Enter"},{label:"移动画布",value:"Space + 鼠标拖拽"},{label:"缩放画布",value:"Ctrl + 鼠标滚轮"},{label:"放大画布",value:"Ctrl + ="},{label:"缩小画布",value:"Ctrl + -"},{label:"适应屏幕",value:"Ctrl + 0"},{label:"上一页(未选中元素)",value:"↑ / ←"},{label:"下一页(未选中元素)",value:"↓ / →"},{label:"上一页",value:"鼠标上滚 / PgUp"},{label:"下一页",value:"鼠标下滚 / PgDown"}]},{type:"元素操作",children:[{label:"移动",value:"↑ / ← / ↓ / →"},{label:"锁定",value:"Ctrl + L"},{label:"组合",value:"Ctrl + G"},{label:"取消组合",value:"Ctrl + Shift + G"},{label:"置顶层",value:"Alt + F"},{label:"置底层",value:"Alt + B"},{label:"锁定宽高比例",value:"按住 Ctrl 或 Shift"},{label:"创建水平 / 垂直线条",value:"按住 Ctrl 或 Shift"},{label:"切换焦点元素",value:"Tab"},{label:"确认图片裁剪",value:"Enter"}]},{type:"表格编辑",children:[{label:"聚焦到下一个单元格",value:"Tab"},{label:"在上方插入一行",value:"Ctrl + ↑"},{label:"在下方插入一行",value:"Ctrl + ↓"},{label:"在左侧插入一列",value:"Ctrl + ←"},{label:"在右侧插入一列",value:"Ctrl + →"}]},{type:"文本编辑",children:[{label:"加粗",value:"Ctrl + B"},{label:"斜体",value:"Ctrl + I"},{label:"下划线",value:"Ctrl + U"},{label:"删除线",value:"Ctrl + D"}]}],pM=e=>{const t={},n={};for(const r of e){const e=r.type===ol.GROUP?r.id:"";e&&!t[e]&&(t[e]=Aa(10)),n[r.id]=Aa(10)}return{groupIdMap:t,elIdMap:n}},gM=()=>{wu();const e=Ou(),{currentTemplate:t}=Nt(e);return{addElementsFromData:n=>{const{groupIdMap:r,elIdMap:i}=pM(n),o=t.value.objects.map((e=>e.id));for(const e of n){const t=o.includes(e.id);e.id=i[e.id],t&&e.left&&e.top&&(e.left=e.left+10,e.top=e.top+10),e.type===ol.GROUP&&(e.id=r[e.id])}e.addElement(n)},addTemplatesFromData:t=>{const n=(e=>{const t={};for(const n of e)t[n.id]=Aa(10);return t})(t),r=t.map((e=>{const{groupIdMap:t,elIdMap:r}=pM(e.objects);for(const n of e.objects)n.id=r[n.id];return d(u({},e),{id:n[e.id]})}));e.addTemplate(r)}}},kM=()=>{const e=Ou(),t=wu(),{templates:n,templateIndex:r,currentTemplate:i}=Nt(e),{selectedTemplatesIndex:o}=Nt(t),s=I((()=>[...o.value,r.value])),a=I((()=>n.value.filter(((e,t)=>s.value.includes(t))))),l=I((()=>a.value.map((e=>e.id)))),{pasteTextClipboardData:c}=(()=>{const{createTextElement:e}=i_(),{addElementsFromData:t,addTemplatesFromData:n}=gM();return{pasteTextClipboardData:(r,i)=>{const o=(null==i?void 0:i.onlySlide)||!1,s=(null==i?void 0:i.onlyElements)||!1,a=uM(r);if("object"==typeof a){const{type:e,data:r}=a;"elements"!==e||o?"templates"!==e||s||n(r):t(r)}else s||o||e(36)}}})(),h=()=>({id:Aa(10),version:"5.3.0",zoom:i.value.zoom,width:i.value.width,height:i.value.height,clip:i.value.clip,objects:i.value.objects.filter((e=>e.id===bh)),workSpace:{fillType:0,left:0,top:0,angle:0,scaleX:1,scaleY:1},background:"rgba(255,255,255,0)"}),u=()=>g(void 0,null,(function*(){e.setTemplateIndex(0),e.setTemplates([h()]),yield e.renderTemplate()})),d=()=>{const e=(n=JSON.stringify({type:"slides",data:a.value}),Zx.AES.encrypt(n,lM).toString());var n;hM(e).then((()=>{t.setThumbnailsFocus(!0)}))},f=(r=l.value)=>{n.value.length===r.length?u():e.deleteTemplate(r),t.updateSelectedTemplatesIndex([])};return{resetTemplate:u,updateTemplateIndex:t=>g(void 0,null,(function*(){t===dM.UP&&r.value>0?e.setTemplateIndex(r.value-1):t===dM.DOWN&&r.value{new Promise(((e,t)=>{var n;(null==(n=navigator.clipboard)?void 0:n.readText)?navigator.clipboard.readText().then((n=>(n||t("剪贴板为空或者不包含文本"),e(n)))):t("浏览器不支持或禁止访问剪贴板,请使用快捷键 Ctrl + V")})).then((e=>{c(e,{onlySlide:!0})})).catch((e=>me({message:e,type:"warning"})))},createTemplate:()=>g(void 0,null,(function*(){yield e.addTemplate(h()),e.setTemplateIndex(r.value),yield e.renderTemplate()})),deleteTemplate:f,cutTemplate:()=>{const e=[...l.value];d(),f(e)},addTemplate:t=>g(void 0,null,(function*(){yield e.addTemplate(t),e.setTemplateIndex(r.value),yield e.renderTemplate()})),sortTemplates:(t,r)=>{if(r===t)return;const i=JSON.parse(JSON.stringify(n.value)),o=i[r];i.splice(r,1),i.splice(t,0,o),e.setTemplates(i),e.setTemplateIndex(t),e.renderElement()}}},mM=R({__name:"index",props:{visible:{type:Boolean,required:!0}},emits:["close"],setup(e,{emit:t}){const n=Ou(),{setCanvasTransform:r}=xu(),{createImageElement:i,createVideoElement:o}=i_(),{addTemplate:s}=kM(),a=x(!1),l=x(!1),c=x(".pdf,.psd,.cdr,.ai,.svg,.jpg,.jpeg,.png,.webp,.json,.mp4"),h=x(),u=e,d=t;S((()=>u.visible),(e=>{var t;a.value=e,e&&(null==(t=h.value)||t.clearFiles())}));const f=()=>{d("close")},p=e=>g(this,null,(function*(){const t=yield dt(e),n=t.options,r=[];t.objects.slice(0,1e3).forEach((e=>r.push(e.toObject(Oh)))),Ah.width=n.width,Ah.height=n.height;return{id:Aa(10),version:"6.12",zoom:1,width:n.width,height:n.height,clip:2,objects:[Ah,...r],workSpace:{fillType:0,left:0,top:0,angle:0,scaleX:1,scaleY:1}}})),k=e=>g(this,null,(function*(){const t=e.file.name.split(".").pop();if(!c.value.split(",").includes(`.${t}`))return;if("svg"===t){const t=yield Ja(e.file),i=yield p(t);return yield n.addTemplate(i),r(),void d("close")}if("json"===t){const t=yield Ja(e.file),n=JSON.parse(t);return s(n),void d("close")}if(["jpg","jpeg","png","webp"].includes(t)){const t=yield Ka(e.file);return i(t),void d("close")}if(["mp4"].includes(t)){const t=URL.createObjectURL(e.file);return o(t),void d("close")}l.value=!0;const a=yield n_(e.file,t);if(l.value=!1,a&&200===a.data.code){const e=a.data.data;if(!e)return;if(["pdf","ai"].includes(t))return yield n.addTemplate(e),r(),void d("close");yield n.addTemplate(e),r(),d("close")}})),m=e=>{h.value.clearFiles();const t=e[0];t.uid=be(),h.value.handleStart(t)};return(e,t)=>{const n=_e,r=xe,i=Le,o=Ce;return $(),Y(i,{modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),title:"导入文件",width:"35%",class:"upload-dialog","before-close":f},{default:X((()=>[ae(($(),Y(r,{class:"upload-demo",ref_key:"uploadRef",ref:h,"on-exceed":m,drag:"",action:"http","http-request":k,limit:1,accept:c.value},{tip:X((()=>t[1]||(t[1]=[te("div",{class:"el-upload__tip"}," 支持 PSD / PDF / SVG / CDR 以及 图片 等格式 ",-1)]))),default:X((()=>[V(n,{size:50},{default:X((()=>[V(Z(we))])),_:1}),t[2]||(t[2]=te("div",{class:"el-upload__text"},[le(" 拖拽文件到这里 或者 "),te("em",null,"选择文件上传")],-1))])),_:1},8,["accept"])),[[o,l.value]])])),_:1},8,["modelValue"])}}});var vM,yM={exports:{}};vM=yM,function(){function e(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){s(r.response,t,n)},r.onerror=function(){},r.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(n){}return 200<=t.status&&299>=t.status}function r(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof Lt&&Lt.global===Lt?Lt:void 0,o=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=i.saveAs||("object"!=typeof window||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(e,o,s){var a=i.URL||i.webkitURL,l=document.createElement("a");o=o||e.name||"download",l.download=o,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?r(l):n(l.href)?t(e,o,s):r(l,l.target="_blank")):(l.href=a.createObjectURL(e),setTimeout((function(){a.revokeObjectURL(l.href)}),4e4),setTimeout((function(){r(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(i,o,s){if(o=o||i.name||"download","string"!=typeof i)navigator.msSaveOrOpenBlob(e(i,s),o);else if(n(i))t(i,o,s);else{var a=document.createElement("a");a.href=i,a.target="_blank",setTimeout((function(){r(a)}))}}:function(e,n,r,s){if((s=s||open("","_blank"))&&(s.document.title=s.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var a="application/octet-stream"===e.type,l=/constructor/i.test(i.HTMLElement)||i.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||a&&l||o)&&"undefined"!=typeof FileReader){var h=new FileReader;h.onloadend=function(){var e=h.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),s?s.location.href=e:location=e,s=null},h.readAsDataURL(e)}else{var u=i.URL||i.webkitURL,d=u.createObjectURL(e);s?s.location=d:location.href=d,s=null,setTimeout((function(){u.revokeObjectURL(d)}),4e4)}});i.saveAs=s.saveAs=s,vM.exports=s}();var LM=yM.exports;const wM=(e,t)=>{const n=document.createElement("a");n.style.display="none",n.download=t,n.href=e,document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(e)};var bM={};Object.defineProperty(bM,"__esModule",{value:!0}),bM.changeDpiBlob=function(e,t){var n=e.slice(0,33);return new Promise((function(r,i){var o=new FileReader;o.onload=function(){var n=new Uint8Array(o.result),i=e.slice(33),s=RM(n,t,e.type);r(new Blob([s,i],{type:e.type}))},o.readAsArrayBuffer(n)}))};var _M=bM.changeDpiDataUrl=function(e,t){var n=e.split(","),r=n[0],i=n[1],o=void 0,s=void 0,a=!1;if(-1!==r.indexOf(SM)){o=SM;var l=function(e){var t=e.indexOf(MM);-1===t&&(t=e.indexOf(EM));-1===t&&(t=e.indexOf(TM));return t}(i);l>=0?(s=4*Math.ceil((l+28)/3),a=!0):s=44}-1!==r.indexOf(jM)&&(o=jM,s=24);for(var c=i.substring(0,s),h=i.substring(s),u=atob(c),d=new Uint8Array(u.length),f=0;f>>1:n>>>1;e[t]=n}return e}());for(var n=0;n>>8;return~t}var CM=void 0,SM="image/png",jM="image/jpeg",MM="AAlwSFlz",EM="AAAJcEhZ",TM="AAAACXBI",OM="p".charCodeAt(0),AM="H".charCodeAt(0),PM="Y".charCodeAt(0),IM="s".charCodeAt(0);function RM(e,t,n,r){if(n===jM)return e[13]=1,e[14]=t>>8,e[15]=255&t,e[16]=t>>8,e[17]=255&t,e;if(n===SM){var i=new Uint8Array(13);t*=39.3701,i[0]=OM,i[1]=AM,i[2]=PM,i[3]=IM,i[4]=t>>>24,i[5]=t>>>16,i[6]=t>>>8,i[7]=255&t,i[8]=i[4],i[9]=i[5],i[10]=i[6],i[11]=i[7],i[12]=1;var o=xM(i),s=new Uint8Array(4);if(s[0]=o>>>24,s[1]=o>>>16,s[2]=o>>>8,s[3]=255&o,r){var a=function(e){for(var t=e.length-1;t>=4;t--)if(9===e[t-4]&&e[t-3]===OM&&e[t-2]===AM&&e[t-1]===PM&&e[t]===IM)return t-3}(e);return e.set(i,a),e.set(s,a+13),e}var l=new Uint8Array(4);l[0]=0,l[1]=0,l[2]=0,l[3]=9;var c=new Uint8Array(54);return c.set(e,0),c.set(l,33),c.set(i,37),c.set(s,50),c}}const BM=()=>{const e=x(!1),{showClip:t,showSafe:n}=Nt(tl()),{currentTemplate:r,templateCanvas:i,templates:o}=Nt(Ou()),s=()=>{const[e]=yu(),{left:t,top:n,width:r,height:i}=_u();e.getObjects().filter((e=>e.type===ol.REFERENCELINE&&!0===e.visible)).map((e=>e.set({visible:!1}))),e.renderAll();const o=e.toSVG({viewBox:{x:t,y:n,width:r,height:i},width:r+"px",height:i+"px"},(e=>e));return e.getObjects().filter((e=>e.type===ol.REFERENCELINE&&!1===e.visible)).map((e=>e.set({visible:!0}))),e.renderAll(),o},a=()=>{const[e]=yu(),t=e.toObject(Oh);return t.workSpace=r.value.workSpace,t.zoom=r.value.zoom,t.width=r.value.width,t.height=r.value.height,t},l=(t,n)=>g(void 0,null,(function*(){e.value=!0;const a=[];if("all"===n)for(let e=0;ee.type===ol.REFERENCELINE&&!0===e.visible)).map((e=>e.set({visible:!1})));const l=s.toSVG({viewBox:{x:0,y:0,width:n,height:r},width:n+"px",height:r+"px"},(e=>e));a.push(btoa(unescape(encodeURIComponent(l)))),s.getObjects().filter((e=>e.type===ol.REFERENCELINE&&!1===e.visible)).map((e=>e.set({visible:!0})))}else a.push(btoa(unescape(encodeURIComponent(s()))));const l={data:a,filetype:t,width:r.value.width/r.value.zoom,height:r.value.height/r.value.zoom},c=yield(h=l,wh({url:"/api/design/export/file",method:"post",data:h}));var h;c&&c.data.link&&wM(c.data.link,`yft-design-${Date.now()}.${t}`),e.value=!1}));return{exportImage:(r,i,o,s=!0)=>{e.value=!0;const[a]=yu(),{left:l,top:c,width:h,height:u}=_u(),d=a.getZoom(),f=a.viewportTransform,p=a.getActiveObject();let g=a.getObjects().filter((e=>jh.includes(e.id)));"jpeg"===r&&(g=a.getObjects().filter((e=>Mh.includes(e.id)))),s&&(g.map((e=>e.set({visible:!1}))),a.renderAll()),p&&a.discardActiveObject(),a.getObjects().filter((e=>e.type===ol.REFERENCELINE&&!0===e.visible)).map((e=>e.set({visible:!1}))),a.set({background:"rgba(255,255,255,0)"}),a.renderAll();let k=a.toDataURL({multiplier:1/d,quality:i,format:r,width:h*d,height:u*d,left:l*d+f[4],top:c*d+f[5]});k=_M(k,o),LM.saveAs(k,`yft-design-${Date.now()}.${r}`),e.value=!1,g.map((e=>e.set({visible:!0}))),a.getObjects().filter((e=>e.id===_h)).map((e=>e.set({visible:t.value}))),a.getObjects().filter((e=>e.id===xh)).map((e=>e.set({visible:n.value}))),p&&a.setActiveObject(p),a.getObjects().filter((e=>e.type===ol.REFERENCELINE&&!1===e.visible)).map((e=>e.set({visible:!0}))),a.renderAll()},exportPDF:e=>g(void 0,null,(function*(){l("pdf",e)})),exportPSD:()=>g(void 0,null,(function*(){l("psd")})),exportJSON:()=>{const e=a(),t=new Blob([JSON.stringify(e)]);LM.saveAs(t,`yft-design-${Date.now()}.json`)},exportSVG:()=>{const[e]=yu(),r=e.getObjects().filter((e=>Mh.includes(e.id)));r.map((e=>e.set({visible:!1}))),e.renderAll();((e,t)=>{const n=new Blob([e],{type:"image/svg+xml"}),r=URL.createObjectURL(n),i=document.createElement("a");i.style.display="none",i.download=t,i.href=r,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r)})(s(),`yft-design-${Date.now()}.svg`),r.map((e=>e.set({visible:!0}))),e.getObjects().filter((e=>e.id===_h)).map((e=>e.set({visible:t.value}))),e.getObjects().filter((e=>e.id===xh)).map((e=>e.set({visible:n.value}))),e.renderAll()},getJSONData:a,getSVGData:s,Exporting:e}},WM={class:"export-img-dialog"},HM={class:"configs"},zM={class:"row"},DM={class:"title"},NM={class:"row"},FM={class:"title"},VM={key:0,class:"row"},UM=["data-range"],$M={class:"row"},YM={class:"title"},XM={class:"row"},ZM={class:"title"},GM={class:"row"},qM={class:"title"},KM={class:"config-item"},JM={class:"btns"},QM=ko(R({__name:"ExportImage",emits:["close"],setup(e,{emit:t}){const n=t,{templates:r}=Nt(Ou()),{t:i}=go(),{Exporting:o,exportImage:s}=BM(),a=x("current"),l=x(300),c=x([1,r.value.length]),h=x("jpeg"),u=x(1);x(!1);const d=x(!0);return(e,t)=>{const f=Se,p=je,g=Me,k=Ee,m=Te,v=Ce;return $(),Q("div",WM,[te("div",HM,[te("div",zM,[te("div",DM,ce(Z(i)("message.exportFormat"))+":",1),V(p,{class:"config-item",modelValue:h.value,"onUpdate:modelValue":t[0]||(t[0]=e=>h.value=e)},{default:X((()=>[V(f,{style:{width:"50%"},value:"jpeg",label:"jpeg"},{default:X((()=>t[8]||(t[8]=[le("JPEG")]))),_:1}),V(f,{style:{width:"50%"},value:"png",label:"png"},{default:X((()=>t[9]||(t[9]=[le("PNG")]))),_:1})])),_:1},8,["modelValue"])]),te("div",NM,[te("div",FM,ce(Z(i)("exportRange"))+":",1),V(p,{class:"config-item",modelValue:a.value,"onUpdate:modelValue":t[1]||(t[1]=e=>a.value=e)},{default:X((()=>[V(f,{style:{width:"50%"},value:"all",label:"all"},{default:X((()=>[le(ce(Z(i)("message.allPages")),1)])),_:1}),V(f,{style:{width:"50%"},value:"current",label:"current"},{default:X((()=>[le(ce(Z(i)("message.currentPage")),1)])),_:1})])),_:1},8,["modelValue"])]),"custom"===a.value?($(),Q("div",VM,[te("div",{class:"title","data-range":`(${c.value[0]} ~ ${c.value[1]})`},ce(Z(i)("message.selfRange"))+":",9,UM),V(g,{class:"config-item",range:"",min:1,max:Z(r).length,step:1,modelValue:c.value,"onUpdate:modelValue":t[2]||(t[2]=e=>c.value=e)},null,8,["max","modelValue"])])):oe("",!0),te("div",$M,[te("div",YM,ce(Z(i)("message.imageQuality"))+":",1),V(g,{class:"config-item",min:0,max:1,step:.1,modelValue:u.value,"onUpdate:modelValue":t[3]||(t[3]=e=>u.value=e)},null,8,["modelValue"])]),te("div",XM,[te("div",ZM,ce(Z(i)("message.imageResolution"))+":",1),V(p,{class:"config-item",modelValue:l.value,"onUpdate:modelValue":t[4]||(t[4]=e=>l.value=e)},{default:X((()=>[V(f,{style:{width:"33.33%"},value:72,label:72},{default:X((()=>t[10]||(t[10]=[le("72DPI")]))),_:1}),V(f,{style:{width:"33.33%"},value:150,label:150},{default:X((()=>t[11]||(t[11]=[le("150DPI")]))),_:1}),V(f,{style:{width:"33.33%"},value:300,label:300},{default:X((()=>t[12]||(t[12]=[le("300DPI")]))),_:1})])),_:1},8,["modelValue"])]),te("div",GM,[te("div",qM,ce(Z(i)("message.ignoreBloods"))+":",1),te("div",KM,[V(k,{modelValue:d.value,"onUpdate:modelValue":t[5]||(t[5]=e=>d.value=e)},null,8,["modelValue"])])])]),te("div",JM,[ae(($(),Y(m,{class:"btn export",type:"primary",onClick:t[6]||(t[6]=e=>{s(h.value,u.value,l.value,d.value)})},{default:X((()=>[le(ce(Z(i)("message.exportImages")),1)])),_:1})),[[v,Z(o),void 0,{fullscreen:!0,lock:!0}]]),V(m,{class:"btn close",onClick:t[7]||(t[7]=e=>n("close"))},{default:X((()=>[le(ce(Z(i)("message.close")),1)])),_:1})])])}}}),[["__scopeId","data-v-09befa72"]]),eE={class:"export-svg-dialog"},tE=["innerHTML"],nE={class:"btns"},rE=ko(R({__name:"ExportSVG",emits:["close"],setup(e,{emit:t}){const n=t,{exportSVG:r,getSVGData:i}=BM(),o=I((()=>i()));return(e,t)=>{const i=Te;return $(),Q("div",eE,[te("div",{class:"preview",innerHTML:o.value},null,8,tE),te("div",nE,[V(i,{class:"btn export",type:"primary",onClick:t[0]||(t[0]=e=>Z(r)())},{default:X((()=>t[2]||(t[2]=[le("导出 SVG")]))),_:1}),V(i,{class:"btn close",onClick:t[1]||(t[1]=e=>n("close"))},{default:X((()=>t[3]||(t[3]=[le("关闭")]))),_:1})])])}}}),[["__scopeId","data-v-a11da92d"]]),iE={class:"export-pdf-dialog"},oE={class:"configs"},sE={class:"row"},aE={class:"title"},lE={class:"row"},cE={class:"title"},hE={class:"row"},uE={class:"title"},dE={class:"config-item"},fE={class:"btns"},pE=ko(R({__name:"ExportPDF",emits:["close"],setup(e,{emit:t}){const{exportPDF:n}=BM(),{t:r}=go(),i=t,o=x("all"),s=x(1),a=x(!1),l=e=>{s.value=e};return(e,t)=>{const c=Se,h=je,u=Oe,d=Ae,f=Ee,p=Te;return $(),Q("div",iE,[te("div",oE,[te("div",sE,[te("div",aE,ce(Z(r)("message.exportRange"))+":",1),V(h,{class:"config-item",modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)},{default:X((()=>[V(c,{style:{width:"50%"},value:"all"},{default:X((()=>[le(ce(Z(r)("message.allPages")),1)])),_:1}),V(c,{style:{width:"50%"},value:"current"},{default:X((()=>[le(ce(Z(r)("message.currentPage")),1)])),_:1})])),_:1},8,["modelValue"])]),te("div",lE,[te("div",cE,ce(Z(r)("message.quantityPerPage"))+":",1),V(d,{class:"config-item",modelValue:s.value,"onUpdate:modelValue":t[1]||(t[1]=e=>s.value=e),onChange:l},{default:X((()=>[V(u,{value:"1",label:"1"}),V(u,{value:"2",label:"2"}),V(u,{value:"3",label:"3"})])),_:1},8,["modelValue"])]),te("div",hE,[te("div",uE,ce(Z(r)("message.blankEdges"))+":",1),te("div",dE,[V(f,{modelValue:a.value,"onUpdate:modelValue":t[2]||(t[2]=e=>a.value=e)},null,8,["modelValue"])])])]),te("div",fE,[V(p,{class:"btn export",type:"primary",onClick:t[3]||(t[3]=e=>Z(n)(o.value))},{default:X((()=>[le(ce(Z(r)("message.exportPDF")),1)])),_:1}),V(p,{class:"btn close",onClick:t[4]||(t[4]=e=>i("close"))},{default:X((()=>[le(ce(Z(r)("message.close")),1)])),_:1})])])}}}),[["__scopeId","data-v-9933e094"]]),gE={class:"export-pdf-dialog"},kE={class:"configs"},mE={class:"row"},vE={class:"title"},yE={class:"row"},LE={class:"title"},wE={class:"row"},bE={class:"title"},_E={class:"config-item"},xE={class:"btns"},CE=ko(R({__name:"ExportPSD",emits:["close"],setup(e,{emit:t}){const{exportPSD:n}=BM(),{t:r}=go(),i=t,o=x("all"),s=x(1),a=x(!1);return(e,t)=>{const l=Se,c=je,h=Oe,u=Ae,d=Ee,f=Te;return $(),Q("div",gE,[te("div",kE,[te("div",mE,[te("div",vE,ce(Z(r)("message.exportRange"))+":",1),V(c,{class:"config-item",modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)},{default:X((()=>[V(l,{style:{width:"50%"},value:"all"},{default:X((()=>[le(ce(Z(r)("message.allPages")),1)])),_:1}),V(l,{style:{width:"50%"},value:"current"},{default:X((()=>[le(ce(Z(r)("message.currentPage")),1)])),_:1})])),_:1},8,["modelValue"])]),te("div",yE,[te("div",LE,ce(Z(r)("message.quantityPerPage"))+":",1),V(u,{class:"config-item",value:s.value,"onUpdate:value":t[1]||(t[1]=e=>s.value=e)},{default:X((()=>[V(h,{value:1},{default:X((()=>t[5]||(t[5]=[le("1")]))),_:1}),V(h,{value:2},{default:X((()=>t[6]||(t[6]=[le("2")]))),_:1}),V(h,{value:3},{default:X((()=>t[7]||(t[7]=[le("3")]))),_:1})])),_:1},8,["value"])]),te("div",wE,[te("div",bE,ce(Z(r)("message.blankEdges"))+":",1),te("div",_E,[V(d,{checked:a.value,"onUpdate:checked":t[2]||(t[2]=e=>a.value=e)},null,8,["checked"])])])]),te("div",xE,[V(f,{class:"btn export",type:"primary",onClick:t[3]||(t[3]=e=>{n()})},{default:X((()=>[le(ce(Z(r)("message.exportPSD")),1)])),_:1}),V(f,{class:"btn close",onClick:t[4]||(t[4]=e=>i("close"))},{default:X((()=>[le(ce(Z(r)("message.close")),1)])),_:1})])])}}}),[["__scopeId","data-v-98a2e02e"]]),SE={class:"export-json-dialog"},jE={class:"preview"},ME={class:"btns"},EE=ko(R({__name:"ExportJSON",emits:["close"],setup(e,{emit:t}){const n=t,{exportJSON:r,getJSONData:i}=BM();return(e,t)=>{const o=Te;return $(),Q("div",SE,[te("div",jE,[te("pre",null,ce(Z(i)()),1)]),te("div",ME,[V(o,{class:"btn export",type:"primary",onClick:t[0]||(t[0]=e=>Z(r)())},{default:X((()=>t[2]||(t[2]=[le("导出 JSON")]))),_:1}),V(o,{class:"btn close",onClick:t[1]||(t[1]=e=>n("close"))},{default:X((()=>t[3]||(t[3]=[le("关闭")]))),_:1})])])}}}),[["__scopeId","data-v-6d4fbabd"]]),TE={class:"export-dialog"},OE={class:"tabs"},AE=["onClick"],PE={class:"content"},IE=ko(R({__name:"index",props:{visible:{type:Boolean,required:!0}},emits:["close"],setup(e,{emit:t}){const n=wu(),{exportType:r}=Nt(n),i=x(!1),o=n.setExportType,s=e,a=t;S((()=>s.visible),(e=>{i.value=e}));const l=[{key:"image",label:"导出图片"},{key:"svg",label:"导出SVG"},{key:"pdf",label:"导出PDF"},{key:"json",label:"导出JSON"}],c=I((()=>({image:QM,svg:rE,pdf:pE,psd:CE,json:EE,"":""}[r.value]||null))),h=()=>{a("close")};return(e,t)=>{const n=Le;return $(),Y(n,{modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),width:"35%",class:"export-dialog","before-close":h},{default:X((()=>[te("div",TE,[te("div",OE,[($(),Q(N,null,ie(l,(e=>te("div",{class:ne(["tab",{active:e.key===Z(r)}]),key:e.key,onClick:t=>Z(o)(e.key)},ce(e.label),11,AE))),64))]),te("div",PE,[($(),Y(he(c.value),{onClose:h},null,32))])])])),_:1},8,["modelValue"])}}}),[["__scopeId","data-v-91c08403"]]);const RE={class:"el-upload__text"},BE={class:"el-upload__tip"},WE={class:"content"},HE=["src","alt"],zE=["src","alt"],DE={class:"dialog-footer"},NE=R({__name:"index",props:{visible:{type:Boolean,required:!0},imageId:{type:String,required:!1},image:{type:String,required:!1}},emits:["close"],setup(e,{emit:t}){const{t:n}=go();Ou(),xu(),i_(),kM();const r=j({dialogVisible:!1,fileAccept:".jpg,.jpeg,.png,.webp",show:!1,filename:"",originImage:"",resultImage:"",offsetWidth:0,percent:0,progress:0,progressText:"",toolModel:!0,loading:!1}),i=x(!1),o=x(ha[0].key),s=x(),a=e,l=t;S((()=>a.visible),(e=>{var t;r.dialogVisible=e,e&&(null==(t=s.value)||t.clearFiles(),u(a.image))}));const c=()=>{l("close")},h=e=>g(this,null,(function*(){r.filename=e.file.name;const t=r.filename.split(".").pop();if(!r.fileAccept.split(",").includes(`.${t}`))return;r.originImage=yield Ka(e.file);const n=(yield function(e){const t=new FormData;return t.append("image",e),wh({url:"/api/design/matting/file",method:"post",data:t,headers:{"Content-Type":"multipart/form-data"}})}(e.file)).data;yield qa(r.originImage),200===n.code&&(r.resultImage=n.resultImage,requestAnimationFrame(k))})),u=e=>g(this,null,(function*(){if(!e)return;r.originImage=e;const t=yield function(e){return wh({url:"/api/matting/url",method:"post",data:{image:e}})}(e),n=t.data;yield qa(r.originImage),200===n.code&&(r.resultImage=n.resultImage,requestAnimationFrame(k))})),d=()=>g(this,null,(function*(){const[e]=yu(),t=e.getActiveObject();t&&(yield t.setSrc(r.resultImage),e.renderAll(),l("close"))})),f=e=>{s.value.clearFiles();const t=e[0];t.uid=be(),s.value.handleStart(t)},p=()=>{URL.revokeObjectURL(r.originImage),r.originImage="",r.resultImage="",r.percent=0,r.offsetWidth=0},k=()=>{r.percent+=1,i.value=!0,r.percent<100?requestAnimationFrame(k):i.value=!1},m=()=>{},v=()=>{r.resultImage&&wM(r.resultImage,`yft-design-${Date.now()}-matting-${r.filename}`)},y=e=>{!i.value&&(r.percent=e.offsetX/e.target.width*100)};return(e,t)=>{const i=Pe,l=Oe,u=Ae,g=Ie,k=_e,L=xe,w=Te,b=Le,_=Ce;return $(),Y(b,{modelValue:r.dialogVisible,"onUpdate:modelValue":t[1]||(t[1]=e=>r.dialogVisible=e),title:Z(n)("message.AICutoutImage"),width:"35%",class:"matting-dialog","before-close":c,"close-on-click-modal":!1},{footer:X((()=>[te("div",DE,[ae(V(w,{type:"danger",onClick:p},{default:X((()=>[le(ce(Z(n)("message.clear")),1)])),_:1},512),[[ue,r.originImage&&r.toolModel]]),ae(V(w,{type:"primary",onClick:m},{default:X((()=>[le(ce(Z(n)("message.edit")),1)])),_:1},512),[[ue,r.resultImage]]),ae(V(w,{type:"success",onClick:v},{default:X((()=>[le(ce(Z(n)("message.download")),1)])),_:1},512),[[ue,r.resultImage&&r.toolModel]]),ae(($(),Y(w,{type:"primary"},{default:X((()=>[le(ce(r.loading?Z(n)("message.uploading"):Z(n)("message.completeImageCutout")),1)])),_:1})),[[ue,r.resultImage&&!r.toolModel],[_,r.loading]]),ae(($(),Y(w,{type:"primary",onClick:d},{default:X((()=>t[2]||(t[2]=[le(" 替换 ")]))),_:1})),[[ue,r.resultImage&&a.image],[_,r.loading]])])])),default:X((()=>[V(g,{class:"model-row"},{default:X((()=>[V(i,{span:2,class:"model-tip"},{default:X((()=>[le(ce(Z(n)("message.model")),1)])),_:1}),V(i,{span:4},{default:X((()=>[V(u,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)},{default:X((()=>[($(!0),Q(N,null,ie(Z(ha),(e=>($(),Y(l,{key:e.key,value:e.id,label:e.name},null,8,["value","label"])))),128))])),_:1},8,["modelValue"])])),_:1})])),_:1}),r.originImage?oe("",!0):ae(($(),Y(L,{key:0,class:"upload-demo",ref_key:"uploadRef",ref:s,"on-exceed":f,drag:"",action:"http","http-request":h,limit:1,accept:r.fileAccept},{tip:X((()=>[te("div",BE,ce(Z(n)("message.imageLimit2MTips")),1)])),default:X((()=>[V(k,{size:50},{default:X((()=>[V(Z(we))])),_:1}),te("div",RE,[le(ce(Z(n)("message.dragAndDropFiles")),1),te("em",null,ce(Z(n)("message.selectFileUpload")),1)])])),_:1},8,["accept"])),[[_,r.loading]]),te("div",WE,[ae(($(),Q("div",{style:ee({width:r.offsetWidth?r.offsetWidth+"px":"100%"}),class:"scan-effect transparent-background"},[te("img",{ref:"raw",style:ee({"clip-path":"inset(0 0 0 "+r.percent+"%)"}),src:r.originImage,alt:Z(n)("message.rawImage")},null,12,HE),ae(te("img",{src:r.resultImage,onMousemove:y,alt:Z(n)("message.resultImage")},null,40,zE),[[ue,r.resultImage]]),ae(te("div",{style:ee({left:r.percent+"%"}),class:"scan-line"},null,4),[[ue,r.resultImage]])],4)),[[ue,r.originImage],[_,!r.resultImage]])])])),_:1},8,["modelValue","title"])}}}),FE=ko(NE,[["__scopeId","data-v-cb4c81ee"]]),VE={key:1},UE={class:"dialog-footer"},$E=R({__name:"ImageFillColor",props:{visible:{type:Boolean,required:!0}},emits:["close"],setup(e,{emit:t}){const{t:n}=go();Ou(),xu(),i_(),kM();const r=x(!1),i=x(!1),o=x(!0),s=x(".jpg,.jpeg,.png,.webp,"),a=x(),l=e,c=x(400),h=x(""),u=x("#ffffff"),d=t;S((()=>l.visible),(e=>{var t;r.value=e,e&&(null==(t=a.value)||t.clearFiles())}));const f=()=>{d("close")},p=e=>g(this,null,(function*(){const t=e.file.name.split(".").pop();s.value.split(",").includes(`.${t}`)&&["jpg","jpeg","png","webp"].includes(t)&&(h.value=yield Ka(e.file),o.value=!1,O((()=>{y()})))})),k=()=>{h.value="",o.value=!0},m=e=>{a.value.clearFiles();const t=e[0];t.uid=be(),a.value.handleStart(t)};let v=null;const y=()=>{v=document.getElementById("ImageFillColor");const e=v.getContext("2d",{willReadFrequently:!0}),t=new Image;t.src=h.value,t.onload=()=>{const n=Math.max(t.width,t.height),r=c.value/n;v.width=t.width*r,v.height=t.height*r,e.drawImage(t,0,0,v.width,v.height),h.value=e.getImageData(0,0,v.width,v.height)},v.addEventListener("click",(t=>{const n=t.offsetX,r=t.offsetY;if(!h.value)return;e.putImageData(h.value,0,0);const i=e.getImageData(0,0,v.width,v.height),o=w(n,r,i),s=JL(u.value).toRgb(),a=[s.r,s.g,s.b,255],l=[{x:n,y:r}];for(;l.length>0;){const{x:e,y:t}=l.pop();if(e<0||e>=v.width||t<0||t>=v.height)continue;const n=L(e,t),r=w(e,t,i);b(r,o)<=100&&0!==b(r,a)&&(i.data.set(a,n),l.push({x:e+1,y:t}),l.push({x:e-1,y:t}),l.push({x:e,y:t+1}),l.push({x:e,y:t-1}))}e.putImageData(i,0,0),h.value=i}))},L=(e,t)=>4*(t*v.width+e),w=(e,t,n)=>{const r=L(e,t);return[n.data[r],n.data[r+1],n.data[r+2],n.data[r+3]]},b=(e,t)=>Math.abs(e[0]-t[0])+Math.abs(e[1]-t[1])+Math.abs(e[2]-t[2])+Math.abs(e[3]-t[3]),_=()=>{if(!h.value)return;const e=document.getElementById("ImageFillColor");wM(e.toDataURL("image/png"),`yft-design-${Date.now()}-ImageFillColor.png`)};return(e,t)=>{const l=_e,c=xe,d=$b,g=Fb,v=Re,y=Te,L=Le,w=Ce;return $(),Y(L,{modelValue:r.value,"onUpdate:modelValue":t[1]||(t[1]=e=>r.value=e),width:432,title:e.$t("message.ColorFillImage"),class:"upload-dialog","before-close":f,"close-on-click-modal":!1},{footer:X((()=>[te("div",UE,[ae(V(y,{type:"danger",onClick:k},{default:X((()=>[le(ce(Z(n)("message.clear")),1)])),_:1},512),[[ue,!o.value&&h.value]]),ae(V(y,{type:"success",onClick:_},{default:X((()=>[le(ce(Z(n)("message.download")),1)])),_:1},512),[[ue,!o.value&&h.value]])])])),default:X((()=>[o.value?ae(($(),Y(c,{key:0,class:"upload-demo",ref_key:"uploadRef",ref:a,"on-exceed":m,drag:"",action:"http","http-request":p,limit:1,accept:s.value},{tip:X((()=>t[2]||(t[2]=[te("div",{class:"el-upload__tip"}," 支持图片格式 ",-1)]))),default:X((()=>[V(l,{size:50},{default:X((()=>[V(Z(we))])),_:1}),t[3]||(t[3]=te("div",{class:"el-upload__text"},[le(" 拖拽图片到这里 或者 "),te("em",null,"选择图片上传")],-1))])),_:1},8,["accept"])),[[w,i.value]]):($(),Q("div",VE,[V(v,{trigger:"click",width:265},{reference:X((()=>[V(d,{color:u.value},null,8,["color"])])),default:X((()=>[V(g,{modelValue:u.value,"onUpdate:modelValue":t[0]||(t[0]=e=>(e=>{u.value=JL(e).toHexString()})(e))},null,8,["modelValue"])])),_:1}),t[4]||(t[4]=te("canvas",{id:"ImageFillColor",class:"mt-10px"},null,-1))]))])),_:1},8,["modelValue","title"])}}}),YE=ko(R({__name:"ReferencePopover",props:{referenceRef:{type:null},referencePopoverRef:{type:null}},emits:["add"],setup(e,{emit:t}){const n=x(!1),r=x("horizontal"),i=x(0),o=e,s=e=>{n.value=e},a=()=>{const[e]=yu();if(!e.ruler)return;const t=new ou(Number(i.value),{type:"ReferenceLine",axis:r.value,visible:!0,name:"ReferenceLine",selectable:!0,hasControls:!1,hasBorders:!1,stroke:"pink",fill:"pink",originX:"center",originY:"center",padding:4,globalCompositeOperation:"difference"});e.add(t),e.renderAll();Ou().addElement(t)};return(e,t)=>{const n=Pe,l=Be,c=je,h=Ie,u=We,d=Te,f=Re;return $(),Q("div",null,[V(f,{placement:"right",trigger:"click","popper-style":{padding:0},width:"240",onBeforeEnter:t[3]||(t[3]=e=>s(!0)),onHide:t[4]||(t[4]=e=>s(!1)),ref:o.referencePopoverRef,"virtual-ref":o.referenceRef,"virtual-triggering":""},{default:X((()=>[V(h,{class:"reference-pop-row"},{default:X((()=>[V(n,{span:8,class:"reference-pop-text"},{default:X((()=>[le(ce(e.$t("default.direction"))+":",1)])),_:1}),V(n,{span:16,class:"reference-pop-direction"},{default:X((()=>[V(c,{modelValue:r.value,"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e)},{default:X((()=>[V(l,{value:"vertical",size:"small"},{default:X((()=>[le("X "+ce(e.$t("style.axis")),1)])),_:1}),V(l,{value:"horizontal",size:"small"},{default:X((()=>[le("Y "+ce(e.$t("style.axis")),1)])),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1}),V(h,{class:"reference-pop-row"},{default:X((()=>[V(n,{span:6,class:"reference-pop-text"},{default:X((()=>[le(ce(e.$t("style.position"))+":",1)])),_:1}),V(n,{span:18},{default:X((()=>[V(h,{class:"reference-flex-end"},{default:X((()=>[V(n,{span:10},{default:X((()=>[V(u,{modelValue:i.value,"onUpdate:modelValue":t[1]||(t[1]=e=>i.value=e),size:"small"},null,8,["modelValue"])])),_:1}),V(n,{span:4,class:"reference-pop-text reference-flex-end"},{default:X((()=>t[5]||(t[5]=[le("px")]))),_:1})])),_:1})])),_:1})])),_:1}),V(h,{class:"reference-pop-btn"},{default:X((()=>[V(d,{size:"small",onClick:t[2]||(t[2]=e=>s(!1))},{default:X((()=>[le(ce(e.$t("default.cancel")),1)])),_:1}),V(d,{size:"small",type:"primary",onClick:a},{default:X((()=>[le(ce(e.$t("default.ok")),1)])),_:1})])),_:1})])),_:1},8,["virtual-ref"])])}}}),[["__scopeId","data-v-eda23971"]]),XE={class:"pop-text"},ZE={class:"pop-text"},GE={class:"pop-text"},qE=ko(R({__name:"HomePopover",props:{menuRef:{type:null},menuPopoverRef:{type:null},menuVisibleRef:{type:Boolean,default:!1}},emits:["hide"],setup(e,{emit:t}){const{createTemplate:n}=kM(),{t:r}=go(),i=x(!1);x(!1);const o=x(!1),s=x(),a=x(),l=e,c=e=>{i.value=e},h=()=>{o.value=!0},u=()=>{o.value=!1};return(e,t)=>{const i=G("IconPlus"),d=Ie,f=G("IconNewlybuild"),p=G("IconUpload"),g=G("IconDividingLine"),k=Re,m=mM;return $(),Q("div",null,[V(k,{placement:"right",width:"220",trigger:"click","popper-class":"home-pop",onBeforeEnter:t[1]||(t[1]=e=>c(!0)),onHide:t[2]||(t[2]=e=>c(!1)),ref:l.menuPopoverRef,"virtual-ref":l.menuRef,"virtual-triggering":""},{default:X((()=>[V(d,{class:"pop-row",onClick:t[0]||(t[0]=e=>Z(n)())},{default:X((()=>[V(i,{class:"pop-icon"}),t[3]||(t[3]=te("span",{class:"pop-text"},"添加模板",-1))])),_:1}),V(d,{class:"pop-row"},{default:X((()=>[V(f,{class:"pop-icon"}),te("span",XE,ce(Z(r)("message.createDesign")),1)])),_:1}),V(d,{class:"pop-row",onClick:h},{default:X((()=>[V(p,{class:"pop-icon"}),te("span",ZE,ce(Z(r)("message.uploadFiles")),1)])),_:1}),V(d,{class:"pop-row",ref_key:"referenceRef",ref:s},{default:X((()=>[V(g,{class:"pop-icon"}),te("span",GE,ce(Z(r)("message.referenceLine")),1)])),_:1},512)])),_:1},8,["virtual-ref"]),V(m,{visible:o.value,onClose:u},null,8,["visible"]),V(YE,{"reference-ref":s.value,"reference-popover-ref":a.value},null,8,["reference-ref","reference-popover-ref"])])}}}),[["__scopeId","data-v-8ca0e5b0"]]);function KE(e){return wh({url:"/api/oauth/github/callback",method:"get",params:e})}const JE={class:"overflow-hidden relative mt-[20px] mx-auto p-[10px] border border-solid border-[rgba(0, 0, 0, .08)] rounded-[8px] justify-center"},QE={class:"w-[150px] h-[150px]"},eT=["src"],tT={key:0},nT={key:1},rT={class:"w-[170px] h-[45px]"},iT=R({__name:"index",props:{visible:{type:Boolean,required:!0}},emits:["close"],setup(e,{emit:t}){const n=x(!1),r=I((()=>$a()?"75%":"35%")),i=x(""),o=x(1),s=x(2),a=x("用户"),l=x(""),c=x(!1),{loginStatus:h,username:u}=Nt(Dg()),d=e,f=j({email:"",password:"",captcha:""}),p=j({email:[{required:!0,message:"请输入邮箱",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}],captcha:[{required:!0,message:"请输入验证码",trigger:"blur"}]}),k=t;S((()=>d.visible),(e=>{n.value=e,e&&y()}));const m=()=>{k("close",!1),i.value=""},v=e=>{o.value=e},y=()=>g(this,null,(function*(){c.value=!0;const e=yield wh({url:"/api/oauth/captcha/image",method:"get"});200===e.data.code&&(l.value="data:image/png;base64,"+e.data.data.image,c.value=!1)})),L=()=>g(this,null,(function*(){if(!f.email)return;const e=yield(t={email:f.email},wh({url:"/api/oauth/captcha/email",method:"post",data:t}));var t;e&&e.data&&me.success(e.data.data.msg)})),w=()=>{1===o.value?_():b()},b=()=>g(this,null,(function*(){const e=yield(t=f,wh({url:"/api/oauth/register",method:"post",data:t}));var t;if(200===e.data.code&&e.data.data.code){me.success("注册成功");const t=e.data.data.code;yield _(t)}})),_=e=>g(this,null,(function*(){e&&(f.captcha=e);const t=yield(n=f,wh({url:"/api/oauth/login",method:"post",data:n}));var n;if(200===t.data.code){h.value=!0;const e=t.data.data;Lh.set("access_token",e.access_token),u.value=e.user.username,k("close",!1),me.success("登陆成功")}})),C=()=>g(this,null,(function*(){const e=yield wh({url:"/api/oauth/github/token",method:"get"});if(e.data&&200===e.data.code){const t=window.open(e.data.data,"_blank","width=600,height=400,menubar=no,toolbar=no,location=no");window.addEventListener("message",(e=>{if(e.origin===window.location.origin){h.value=!0;const n=e.data;Lh.set("access_token",n.access_token),u.value=n.user.username,null==t||t.close(),k("close",!1)}}))}})),M=()=>{s.value=1,a.value="微信"},E=()=>{s.value=2,a.value="用户",y()};return(e,t)=>{const h=Ie,u=De,d=We,g=Ne,k=Te,b=Fe,_=G("IconGithub"),x=Pe,S=G("IconTencentQq"),j=G("IconMail"),T=Le,O=Ce;return $(),Y(T,{modelValue:n.value,"onUpdate:modelValue":t[6]||(t[6]=e=>n.value=e),title:"",width:r.value,class:"login-dialog","before-close":m},{footer:X((()=>[V(h,{class:"justify-center text-[12px] text-[#9da3ac]"},{default:X((()=>t[11]||(t[11]=[le(" 登录即代表您同意《"),te("strong",null,[te("a",{href:"",class:"hover:text-blue-700"},"用户服务协议")],-1),le("》 ")]))),_:1})])),default:X((()=>[V(h,null,{default:X((()=>[V(h,{class:"text-[20px] text-[#222529] font-semibold leading-snug justify-center"},{default:X((()=>[le(ce(a.value)+"登录 ",1)])),_:1}),V(h,{class:"text-[12px] mt-[10px] justify-center"},{default:X((()=>t[7]||(t[7]=[le(" 仅用于身份识别,yft-design不会获取您的任何隐私信息~ ")]))),_:1}),1===s.value?($(),Y(h,{key:0},{default:X((()=>[te("div",JE,[te("div",QE,[ae(V(u,{src:i.value,class:"w-full h-full"},null,8,["src"]),[[O,!i.value]])])])])),_:1})):oe("",!0),2===s.value?($(),Y(h,{key:1,class:"content-center"},{default:X((()=>[V(h,{class:"h-[170px] mx-auto mt-[20px] content-center"},{default:X((()=>[V(b,{ref:"loginFormRef",model:Z(f),rules:Z(p),class:"w-[235px]"},{default:X((()=>[V(g,{prop:"email"},{default:X((()=>[V(d,{type:"email",autocomplete:"off","prefix-icon":Z(He),modelValue:Z(f).email,"onUpdate:modelValue":t[0]||(t[0]=e=>Z(f).email=e)},null,8,["prefix-icon","modelValue"])])),_:1}),V(g,{prop:"password"},{default:X((()=>[V(d,{type:"password",autocomplete:"off","prefix-icon":Z(ze),modelValue:Z(f).password,"onUpdate:modelValue":t[1]||(t[1]=e=>Z(f).password=e),"show-password":""},null,8,["prefix-icon","modelValue"])])),_:1}),1===o.value?($(),Y(g,{key:0,class:"captcha"},{default:X((()=>[V(d,{style:{width:"120px"},modelValue:Z(f).captcha,"onUpdate:modelValue":t[2]||(t[2]=e=>Z(f).captcha=e)},null,8,["modelValue"]),te("div",{class:"w-[90px] h-full captcha-image",onClick:y},[ae(te("img",{src:l.value,alt:""},null,8,eT),[[O,c.value]])])])),_:1})):oe("",!0),2===o.value?($(),Y(g,{key:1,class:"captcha"},{default:X((()=>[V(d,{style:{width:"120px"},modelValue:Z(f).captcha,"onUpdate:modelValue":t[3]||(t[3]=e=>Z(f).captcha=e)},null,8,["modelValue"]),V(k,{onClick:L},{default:X((()=>t[8]||(t[8]=[le("获取验证码")]))),_:1})])),_:1})):oe("",!0)])),_:1},8,["model","rules"])])),_:1}),V(h,{class:"content-center"},{default:X((()=>[V(k,{class:"w-[230px]",type:"primary",onClick:w},{default:X((()=>[le(ce(1===o.value?"登录":"注册"),1)])),_:1})])),_:1}),V(h,{class:"content-center mt-[5px] text-[12px]"},{default:X((()=>[1===o.value?($(),Q("span",tT,[t[9]||(t[9]=le("没有账号?点击")),te("a",{href:"javascript:;",class:"text-[#1e2ad7] font-[800]",onClick:t[4]||(t[4]=e=>v(2))},"注册账号")])):oe("",!0),2===o.value?($(),Q("span",nT,[t[10]||(t[10]=le("已有账号!")),te("a",{href:"javascript:;",class:"text-[#1e2ad7] font-[800]",onClick:t[5]||(t[5]=e=>v(1))},"立即登陆")])):oe("",!0)])),_:1})])),_:1})):oe("",!0),V(h,{class:"mt-[28px] justify-center"},{default:X((()=>[te("div",rT,[V(h,{class:"h-full"},{default:X((()=>[V(x,{span:8,class:"flex justify-center"},{default:X((()=>[V(k,{class:"h-full",onClick:C},{default:X((()=>[V(_,{class:"text-[20px]"})])),_:1})])),_:1}),V(x,{span:8,class:"flex justify-center"},{default:X((()=>[V(k,{class:"h-full",onClick:M},{default:X((()=>[V(S,{class:"text-[20px]"})])),_:1})])),_:1}),V(x,{span:8,class:"flex justify-center"},{default:X((()=>[V(k,{class:"h-full",onClick:E},{default:X((()=>[V(j,{class:"text-[20px]"})])),_:1})])),_:1})])),_:1})])])),_:1})])),_:1})])),_:1},8,["modelValue","width"])}}}),oT=ko(iT,[["__scopeId","data-v-a7f16e6f"]]),sT={FileInput:ZL,ColorButton:$b,TextColorButton:Zb,ColorPicker:Fb,FullscreenSpin:qb,LinePointMarker:Qb,SwipeInput:t_,FileUpload:mM,FileExport:IE,ImageMatting:FE,ImageFillColor:$E,HomePopover:qE,LoginDialog:oT},aT={install(e){for(const t of Object.keys(sT))e.component(t,sT[t])}};var lT={exports:{}};window,lT.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){var r,i;r=[n(2)],void 0===(i=function(e){function t(r){if(t.is(r,"function"))return n?r():e.on("raphael.DOMload",r);if(t.is(r,T))return t._engine.create[f](t,r.splice(0,3+t.is(r[0],E))).add(r);var i=Array.prototype.slice.call(arguments,0);if(t.is(i[i.length-1],"function")){var o=i.pop();return n?o.call(t._engine.create[f](t,i)):e.on("raphael.DOMload",(function(){o.call(t._engine.create[f](t,i))}))}return t._engine.create[f](t,arguments)}t.version="2.3.0",t.eve=e;var n,r,i,o,s=/[, ]+/,a={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},l=/\{(\d+)\}/g,c="hasOwnProperty",h={doc:document,win:window},u={was:Object.prototype[c].call(h.win,"Raphael"),is:h.win.Raphael},d=function(){this.ca=this.customAttributes={}},f="apply",p="concat",g="ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,k="",m=" ",v=String,y="split",L="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[y](m),w={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},b=v.prototype.toLowerCase,_=Math,x=_.max,C=_.min,S=_.abs,j=_.pow,M=_.PI,E="number",T="array",O=Object.prototype.toString,A=(t._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i),P={NaN:1,Infinity:1,"-Infinity":1},I=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,R=_.round,B=parseFloat,W=parseInt,H=v.prototype.toUpperCase,z=t._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0,class:""},D=t._availableAnimAttrs={blur:E,"clip-rect":"csv",cx:E,cy:E,fill:"colour","fill-opacity":E,"font-size":E,height:E,opacity:E,path:"path",r:E,rx:E,ry:E,stroke:"colour","stroke-opacity":E,"stroke-width":E,transform:"transform",width:E,x:E,y:E},N=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,F={hs:1,rg:1},V=/,?([achlmqrstvxz]),?/gi,U=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,$=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,Y=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,X=(t._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,{}),Z=function(e,t){return B(e)-B(t)},G=function(e){return e},q=t._rectPath=function(e,t,n,r,i){return i?[["M",e+i,t],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:[["M",e,t],["l",n,0],["l",0,r],["l",-n,0],["z"]]},K=function(e,t,n,r){return null==r&&(r=n),[["M",e,t],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]]},J=t._getPath={path:function(e){return e.attr("path")},circle:function(e){var t=e.attrs;return K(t.cx,t.cy,t.r)},ellipse:function(e){var t=e.attrs;return K(t.cx,t.cy,t.rx,t.ry)},rect:function(e){var t=e.attrs;return q(t.x,t.y,t.width,t.height,t.r)},image:function(e){var t=e.attrs;return q(t.x,t.y,t.width,t.height)},text:function(e){var t=e._getBBox();return q(t.x,t.y,t.width,t.height)},set:function(e){var t=e._getBBox();return q(t.x,t.y,t.width,t.height)}},Q=t.mapPath=function(e,t){if(!t)return e;var n,r,i,o,s,a,l;for(i=0,s=(e=je(e)).length;i',(ee=te.firstChild).style.behavior="url(#default#VML)",!ee||"object"!=typeof ee.adj)return t.type=k;te=null}function ne(e){if("function"==typeof e||Object(e)!==e)return e;var t=new e.constructor;for(var n in e)e[c](n)&&(t[n]=ne(e[n]));return t}t.svg=!(t.vml="VML"==t.type),t._Paper=d,t.fn=r=d.prototype=t.prototype,t._id=0,t.is=function(e,t){return"finite"==(t=b.call(t))?!P[c](+e):"array"==t?e instanceof Array:"null"==t&&null===e||t==typeof e&&null!==e||"object"==t&&e===Object(e)||"array"==t&&Array.isArray&&Array.isArray(e)||O.call(e).slice(8,-1).toLowerCase()==t},t.angle=function(e,n,r,i,o,s){if(null==o){var a=e-r,l=n-i;return a||l?(180+180*_.atan2(-l,-a)/M+360)%360:0}return t.angle(e,n,o,s)-t.angle(r,i,o,s)},t.rad=function(e){return e%360*M/180},t.deg=function(e){return Math.round(180*e/M%360*1e3)/1e3},t.snapTo=function(e,n,r){if(r=t.is(r,"finite")?r:10,t.is(e,T)){for(var i=e.length;i--;)if(S(e[i]-n)<=r)return e[i]}else{var o=n%(e=+e);if(oe-r)return n-o+e}return n},t.createUUID=(i=/[xy]/g,o=function(e){var t=16*_.random()|0;return("x"==e?t:3&t|8).toString(16)},function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(i,o).toUpperCase()}),t.setWindow=function(n){e("raphael.setWindow",t,h.win,n),h.win=n,h.doc=h.win.document,t._engine.initWin&&t._engine.initWin(h.win)};var re=function(e){if(t.vml){var n,r=/^\s+|\s+$/g;try{var i=new ActiveXObject("htmlfile");i.write(""),i.close(),n=i.body}catch(a){n=createPopup().document.body}var o=n.createTextRange();re=ce((function(e){try{n.style.color=v(e).replace(r,k);var t=o.queryCommandValue("ForeColor");return"#"+("000000"+(t=(255&t)<<16|65280&t|(16711680&t)>>>16).toString(16)).slice(-6)}catch(i){return"none"}}))}else{var s=h.doc.createElement("i");s.title="Raphaël Colour Picker",s.style.display="none",h.doc.body.appendChild(s),re=ce((function(e){return s.style.color=e,h.doc.defaultView.getComputedStyle(s,k).getPropertyValue("color")}))}return re(e)},ie=function(){return"hsb("+[this.h,this.s,this.b]+")"},oe=function(){return"hsl("+[this.h,this.s,this.l]+")"},se=function(){return this.hex},ae=function(e,n,r){if(null==n&&t.is(e,"object")&&"r"in e&&"g"in e&&"b"in e&&(r=e.b,n=e.g,e=e.r),null==n&&t.is(e,"string")){var i=t.getRGB(e);e=i.r,n=i.g,r=i.b}return(e>1||n>1||r>1)&&(e/=255,n/=255,r/=255),[e,n,r]},le=function(e,n,r,i){var o={r:e*=255,g:n*=255,b:r*=255,hex:t.rgb(e,n,r),toString:se};return t.is(i,"finite")&&(o.opacity=i),o};function ce(e,t,n){return function r(){var i=Array.prototype.slice.call(arguments,0),o=i.join("␀"),s=r.cache=r.cache||{},a=r.count=r.count||[];return s[c](o)?(function(e,t){for(var n=0,r=e.length;n=1e3&&delete s[a.shift()],a.push(o),s[o]=e[f](t,i),n?n(s[o]):s[o])}}function he(){return this.hex}function ue(e,t){for(var n=[],r=0,i=e.length;i-2*!t>r;r+=2){var o=[{x:+e[r-2],y:+e[r-1]},{x:+e[r],y:+e[r+1]},{x:+e[r+2],y:+e[r+3]},{x:+e[r+4],y:+e[r+5]}];t?r?i-4==r?o[3]={x:+e[0],y:+e[1]}:i-2==r&&(o[2]={x:+e[0],y:+e[1]},o[3]={x:+e[2],y:+e[3]}):o[0]={x:+e[i-2],y:+e[i-1]}:i-4==r?o[3]=o[2]:r||(o[0]={x:+e[r],y:+e[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}t.color=function(e){var n;return t.is(e,"object")&&"h"in e&&"s"in e&&"b"in e?(n=t.hsb2rgb(e),e.r=n.r,e.g=n.g,e.b=n.b,e.hex=n.hex):t.is(e,"object")&&"h"in e&&"s"in e&&"l"in e?(n=t.hsl2rgb(e),e.r=n.r,e.g=n.g,e.b=n.b,e.hex=n.hex):(t.is(e,"string")&&(e=t.getRGB(e)),t.is(e,"object")&&"r"in e&&"g"in e&&"b"in e?(n=t.rgb2hsl(e),e.h=n.h,e.s=n.s,e.l=n.l,n=t.rgb2hsb(e),e.v=n.b):(e={hex:"none"}).r=e.g=e.b=e.h=e.s=e.v=e.l=-1),e.toString=se,e},t.hsb2rgb=function(e,t,n,r){var i,o,s,a,l;return this.is(e,"object")&&"h"in e&&"s"in e&&"b"in e&&(n=e.b,t=e.s,r=e.o,e=e.h),a=(l=n*t)*(1-S((e=(e*=360)%360/60)%2-1)),i=o=s=n-l,le(i+=[l,a,0,0,a,l][e=~~e],o+=[a,l,l,a,0,0][e],s+=[0,0,a,l,l,a][e],r)},t.hsl2rgb=function(e,t,n,r){var i,o,s,a,l;return this.is(e,"object")&&"h"in e&&"s"in e&&"l"in e&&(n=e.l,t=e.s,e=e.h),(e>1||t>1||n>1)&&(e/=360,t/=100,n/=100),a=(l=2*t*(n<.5?n:1-n))*(1-S((e=(e*=360)%360/60)%2-1)),i=o=s=n-l/2,le(i+=[l,a,0,0,a,l][e=~~e],o+=[a,l,l,a,0,0][e],s+=[0,0,a,l,l,a][e],r)},t.rgb2hsb=function(e,t,n){var r,i;return e=(n=ae(e,t,n))[0],t=n[1],n=n[2],{h:((0==(i=(r=x(e,t,n))-C(e,t,n))?null:r==e?(t-n)/i:r==t?(n-e)/i+2:(e-t)/i+4)+360)%6*60/360,s:0==i?0:i/r,b:r,toString:ie}},t.rgb2hsl=function(e,t,n){var r,i,o,s;return e=(n=ae(e,t,n))[0],t=n[1],n=n[2],r=((i=x(e,t,n))+(o=C(e,t,n)))/2,{h:((0==(s=i-o)?null:i==e?(t-n)/s:i==t?(n-e)/s+2:(e-t)/s+4)+360)%6*60/360,s:0==s?0:r<.5?s/(2*r):s/(2-2*r),l:r,toString:oe}},t._path2string=function(){return this.join(",").replace(V,"$1")},t._preload=function(e,t){var n=h.doc.createElement("img");n.style.cssText="position:absolute;left:-9999em;top:-9999em",n.onload=function(){t.call(this),this.onload=null,h.doc.body.removeChild(this)},n.onerror=function(){h.doc.body.removeChild(this)},h.doc.body.appendChild(n),n.src=e},t.getRGB=ce((function(e){if(!e||(e=v(e)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:he};if("none"==e)return{r:-1,g:-1,b:-1,hex:"none",toString:he};!F[c](e.toLowerCase().substring(0,2))&&"#"!=e.charAt()&&(e=re(e));var n,r,i,o,s,a,l=e.match(A);return l?(l[2]&&(i=W(l[2].substring(5),16),r=W(l[2].substring(3,5),16),n=W(l[2].substring(1,3),16)),l[3]&&(i=W((s=l[3].charAt(3))+s,16),r=W((s=l[3].charAt(2))+s,16),n=W((s=l[3].charAt(1))+s,16)),l[4]&&(a=l[4][y](N),n=B(a[0]),"%"==a[0].slice(-1)&&(n*=2.55),r=B(a[1]),"%"==a[1].slice(-1)&&(r*=2.55),i=B(a[2]),"%"==a[2].slice(-1)&&(i*=2.55),"rgba"==l[1].toLowerCase().slice(0,4)&&(o=B(a[3])),a[3]&&"%"==a[3].slice(-1)&&(o/=100)),l[5]?(a=l[5][y](N),n=B(a[0]),"%"==a[0].slice(-1)&&(n*=2.55),r=B(a[1]),"%"==a[1].slice(-1)&&(r*=2.55),i=B(a[2]),"%"==a[2].slice(-1)&&(i*=2.55),("deg"==a[0].slice(-3)||"°"==a[0].slice(-1))&&(n/=360),"hsba"==l[1].toLowerCase().slice(0,4)&&(o=B(a[3])),a[3]&&"%"==a[3].slice(-1)&&(o/=100),t.hsb2rgb(n,r,i,o)):l[6]?(a=l[6][y](N),n=B(a[0]),"%"==a[0].slice(-1)&&(n*=2.55),r=B(a[1]),"%"==a[1].slice(-1)&&(r*=2.55),i=B(a[2]),"%"==a[2].slice(-1)&&(i*=2.55),("deg"==a[0].slice(-3)||"°"==a[0].slice(-1))&&(n/=360),"hsla"==l[1].toLowerCase().slice(0,4)&&(o=B(a[3])),a[3]&&"%"==a[3].slice(-1)&&(o/=100),t.hsl2rgb(n,r,i,o)):((l={r:n,g:r,b:i,toString:he}).hex="#"+(16777216|i|r<<8|n<<16).toString(16).slice(1),t.is(o,"finite")&&(l.opacity=o),l)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:he}}),t),t.hsb=ce((function(e,n,r){return t.hsb2rgb(e,n,r).hex})),t.hsl=ce((function(e,n,r){return t.hsl2rgb(e,n,r).hex})),t.rgb=ce((function(e,t,n){function r(e){return e+.5|0}return"#"+(16777216|r(n)|r(t)<<8|r(e)<<16).toString(16).slice(1)})),t.getColor=function(e){var t=this.getColor.start=this.getColor.start||{h:0,s:1,b:e||.75},n=this.hsb2rgb(t.h,t.s,t.b);return t.h+=.075,t.h>1&&(t.h=0,t.s-=.2,t.s<=0&&(this.getColor.start={h:0,s:1,b:t.b})),n.hex},t.getColor.reset=function(){delete this.start},t.parsePathString=function(e){if(!e)return null;var n=de(e);if(n.arr)return ye(n.arr);var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},i=[];return t.is(e,T)&&t.is(e[0],T)&&(i=ye(e)),i.length||v(e).replace(U,(function(e,t,n){var o=[],s=t.toLowerCase();if(n.replace(Y,(function(e,t){t&&o.push(+t)})),"m"==s&&o.length>2&&(i.push([t][p](o.splice(0,2))),s="l",t="m"==t?"l":"L"),"r"==s)i.push([t][p](o));else for(;o.length>=r[s]&&(i.push([t][p](o.splice(0,r[s]))),r[s]););})),i.toString=t._path2string,n.arr=ye(i),i},t.parseTransformString=ce((function(e){if(!e)return null;var n=[];return t.is(e,T)&&t.is(e[0],T)&&(n=ye(e)),n.length||v(e).replace($,(function(e,t,r){var i=[];b.call(t),r.replace(Y,(function(e,t){t&&i.push(+t)})),n.push([t][p](i))})),n.toString=t._path2string,n}),this,(function(e){if(!e)return e;for(var t=[],n=0;n1?1:l<0?0:l)/2,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],u=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,f=0;f<12;f++){var p=c*h[f]+c,g=fe(p,e,n,i,s),k=fe(p,t,r,o,a),m=g*g+k*k;d+=u[f]*_.sqrt(m)}return c*d}function ge(e,t,n,r,i,o,s,a){if(!(x(e,n)x(i,s)||x(t,r)x(o,a))){var l=(e-n)*(o-a)-(t-r)*(i-s);if(l){var c=((e*r-t*n)*(i-s)-(e-n)*(i*a-o*s))/l,h=((e*r-t*n)*(o-a)-(t-r)*(i*a-o*s))/l,u=+c.toFixed(2),d=+h.toFixed(2);if(!(u<+C(e,n).toFixed(2)||u>+x(e,n).toFixed(2)||u<+C(i,s).toFixed(2)||u>+x(i,s).toFixed(2)||d<+C(t,r).toFixed(2)||d>+x(t,r).toFixed(2)||d<+C(o,a).toFixed(2)||d>+x(o,a).toFixed(2)))return{x:c,y:h}}}}function ke(e,n,r){var i=t.bezierBBox(e),o=t.bezierBBox(n);if(!t.isBBoxIntersect(i,o))return r?0:[];for(var s=pe.apply(0,e),a=pe.apply(0,n),l=x(~~(s/5),1),c=x(~~(a/5),1),h=[],u=[],d={},f=r?0:[],p=0;p=0&&j<=1.001&&M>=0&&M<=1.001&&(r?f++:f.push({x:_.x,y:_.y,t1:C(j,1),t2:C(M,1)}))}}return f}function me(e,n,r){e=t._path2curve(e),n=t._path2curve(n);for(var i,o,s,a,l,c,h,u,d,f,p=r?0:[],g=0,k=e.length;gv||m=e.x&&t<=e.x2&&n>=e.y&&n<=e.y2},t.isBBoxIntersect=function(e,n){var r=t.isPointInsideBBox;return r(n,e.x,e.y)||r(n,e.x2,e.y)||r(n,e.x,e.y2)||r(n,e.x2,e.y2)||r(e,n.x,n.y)||r(e,n.x2,n.y)||r(e,n.x,n.y2)||r(e,n.x2,n.y2)||(e.xn.x||n.xe.x)&&(e.yn.y||n.ye.y)},t.pathIntersection=function(e,t){return me(e,t)},t.pathIntersectionNumber=function(e,t){return me(e,t,1)},t.isPointInsidePath=function(e,n,r){var i=t.pathBBox(e);return t.isPointInsideBBox(i,n,r)&&me(e,[["M",n,r],["H",i.x2+10]],1)%2==1},t._removedFactory=function(t){return function(){e("raphael.log",null,"Raphaël: you are calling to method “"+t+"” of removed object",t)}};var ve=t.pathBBox=function(e){var t=de(e);if(t.bbox)return ne(t.bbox);if(!e)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var n,r=0,i=0,o=[],s=[],a=0,l=(e=je(e)).length;a1&&(n*=v=_.sqrt(v),r*=v);var L=n*n,w=r*r,b=(o==s?-1:1)*_.sqrt(S((L*w-L*m*m-w*k*k)/(L*m*m+w*k*k))),x=b*n*m/r+(e+a)/2,C=b*-r*k/n+(t+l)/2,j=_.asin(((t-C)/r).toFixed(9)),E=_.asin(((l-C)/r).toFixed(9));(j=eE&&(j-=2*M),!s&&E>j&&(E-=2*M)}var T=E-j;if(S(T)>u){var O=E,A=a,P=l;E=j+u*(s&&E>j?1:-1),a=x+n*_.cos(E),l=C+r*_.sin(E),f=xe(a,l,n,r,i,0,s,A,P,[E,O,x,C])}T=E-j;var I=_.cos(j),R=_.sin(j),B=_.cos(E),W=_.sin(E),H=_.tan(T/4),z=4/3*n*H,D=4/3*r*H,N=[e,t],F=[e+z*R,t-D*I],V=[a+z*W,l-D*B],U=[a,l];if(F[0]=2*N[0]-F[0],F[1]=2*N[1]-F[1],c)return[F,V,U][p](f);for(var $=[],Y=0,X=(f=[F,V,U][p](f).join()[y](",")).length;Y"1e12"&&(d=.5),S(p)>"1e12"&&(p=.5),d>0&&d<1&&(l=Ce(e,t,n,r,i,o,s,a,d),k.push(l.x),g.push(l.y)),p>0&&p<1&&(l=Ce(e,t,n,r,i,o,s,a,p),k.push(l.x),g.push(l.y)),c=o-2*r+t-(a-2*o+r),u=t-r,d=(-(h=2*(r-t)-2*(o-r))+_.sqrt(h*h-4*c*u))/2/c,p=(-h-_.sqrt(h*h-4*c*u))/2/c,S(d)>"1e12"&&(d=.5),S(p)>"1e12"&&(p=.5),d>0&&d<1&&(l=Ce(e,t,n,r,i,o,s,a,d),k.push(l.x),g.push(l.y)),p>0&&p<1&&(l=Ce(e,t,n,r,i,o,s,a,p),k.push(l.x),g.push(l.y)),{min:{x:C[f](0,k),y:C[f](0,g)},max:{x:x[f](0,k),y:x[f](0,g)}}})),je=t._path2curve=ce((function(e,t){var n=!t&&de(e);if(!t&&n.curve)return ye(n.curve);for(var r=we(e),i=t&&we(t),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a=function(e,t,n){var r,i;if(!e)return["C",t.x,t.y,t.x,t.y,t.x,t.y];switch(!(e[0]in{T:1,Q:1})&&(t.qx=t.qy=null),e[0]){case"M":t.X=e[1],t.Y=e[2];break;case"A":e=["C"][p](xe[f](0,[t.x,t.y][p](e.slice(1))));break;case"S":"C"==n||"S"==n?(r=2*t.x-t.bx,i=2*t.y-t.by):(r=t.x,i=t.y),e=["C",r,i][p](e.slice(1));break;case"T":"Q"==n||"T"==n?(t.qx=2*t.x-t.qx,t.qy=2*t.y-t.qy):(t.qx=t.x,t.qy=t.y),e=["C"][p](_e(t.x,t.y,t.qx,t.qy,e[1],e[2]));break;case"Q":t.qx=e[1],t.qy=e[2],e=["C"][p](_e(t.x,t.y,e[1],e[2],e[3],e[4]));break;case"L":e=["C"][p](be(t.x,t.y,e[1],e[2]));break;case"H":e=["C"][p](be(t.x,t.y,e[1],t.y));break;case"V":e=["C"][p](be(t.x,t.y,t.x,e[1]));break;case"Z":e=["C"][p](be(t.x,t.y,t.X,t.Y))}return e},l=function(e,t){if(e[t].length>7){e[t].shift();for(var n=e[t];n.length;)h[t]="A",i&&(u[t]="A"),e.splice(t++,0,["C"][p](n.splice(0,6)));e.splice(t,1),m=x(r.length,i&&i.length||0)}},c=function(e,t,n,o,s){e&&t&&"M"==e[s][0]&&"M"!=t[s][0]&&(t.splice(s,0,["M",o.x,o.y]),n.bx=0,n.by=0,n.x=e[s][1],n.y=e[s][2],m=x(r.length,i&&i.length||0))},h=[],u=[],d="",g="",k=0,m=x(r.length,i&&i.length||0);k.01;)c=pe(e,t,n,r,i,o,s,a,u+=(ci){if(n&&!d.start){if(u+=["C"+(h=Xe(s,a,l[1],l[2],l[3],l[4],l[5],l[6],i-f)).start.x,h.start.y,h.m.x,h.m.y,h.x,h.y],o)return u;d.start=u,u=["M"+h.x,h.y+"C"+h.n.x,h.n.y,h.end.x,h.end.y,l[5],l[6]].join(),f+=c,s=+l[5],a=+l[6];continue}if(!e&&!n)return{x:(h=Xe(s,a,l[1],l[2],l[3],l[4],l[5],l[6],i-f)).x,y:h.y,alpha:h.alpha}}f+=c,s=+l[5],a=+l[6]}u+=l.shift()+l}return d.end=u,(h=e?f:n?d:t.findDotsAtSegment(s,a,l[0],l[1],l[2],l[3],l[4],l[5],1)).alpha&&(h={x:h.x,y:h.y,alpha:h.alpha}),h}},Ge=Ze(1),qe=Ze(),Ke=Ze(0,1);t.getTotalLength=Ge,t.getPointAtLength=qe,t.getSubpath=function(e,t,n){if(this.getTotalLength(e)-n<1e-6)return Ke(e,t).end;var r=Ke(e,n,1);return t?Ke(r,t).end:r},Ve.getTotalLength=function(){var e=this.getPath();if(e)return this.node.getTotalLength?this.node.getTotalLength():Ge(e)},Ve.getPointAtLength=function(e){var t=this.getPath();if(t)return qe(t,e)},Ve.getPath=function(){var e,n=t._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return n&&(e=n(this)),e},Ve.getSubpath=function(e,n){var r=this.getPath();if(r)return t.getSubpath(r,e,n)};var Je=t.easing_formulas={linear:function(e){return e},"<":function(e){return j(e,1.7)},">":function(e){return j(e,.48)},"<>":function(e){var t=.48-e/1.04,n=_.sqrt(.1734+t*t),r=n-t,i=-n-t,o=j(S(r),1/3)*(r<0?-1:1)+j(S(i),1/3)*(i<0?-1:1)+.5;return 3*(1-o)*o*o+o*o*o},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},elastic:function(e){return e==!!e?e:j(2,-10*e)*_.sin(2*M*(e-.075)/.3)+1},bounce:function(e){var t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375}};Je.easeIn=Je["ease-in"]=Je["<"],Je.easeOut=Je["ease-out"]=Je[">"],Je.easeInOut=Je["ease-in-out"]=Je["<>"],Je["back-in"]=Je.backIn,Je["back-out"]=Je.backOut;var Qe=[],et=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){setTimeout(e,16)},tt=function(){for(var n=+new Date,r=0;r1&&!i.next){for(s in f)f[c](s)&&(v[s]=i.totalOrigin[s]);i.el.attr(v),ot(i.anim,i.el,i.anim.percents[0],null,i.totalOrigin,i.repeat-1)}i.next&&!i.stop&&ot(i.anim,i.el,i.next,null,i.totalOrigin,i.repeat)}}}Qe.length&&et(tt)},nt=function(e){return e>255?255:e<0?0:e};function rt(e,t,n,r,i,o){var s,a=3*t,l=3*(r-t)-a,c=1-a-l,h=3*n,u=3*(i-n)-h,d=1-h-u;function f(e){return((c*e+l)*e+a)*e}return s=function(e,t){var n,r,i,o,s,h;for(i=e,h=0;h<8;h++){if(o=f(i)-e,S(o)(r=1))return r;for(;no?n=i:r=i,i=(r-n)/2+n}return i}(e,1/(200*o)),((d*s+u)*s+h)*s}function it(e,t){var n=[],r={};if(this.ms=t,this.times=1,e){for(var i in e)e[c](i)&&(r[B(i)]=e[i],n.push(B(i)));n.sort(Z)}this.anim=r,this.top=n[n.length-1],this.percents=n}function ot(n,r,i,o,a,l){i=B(i);var h,u,d,f,g,k,m=n.ms,L={},w={},b={};if(o)for(x=0,C=Qe.length;xo*n.top){i=n.percents[x],g=n.percents[x-1]||0,m=m/n.top*(i-g),f=n.percents[x+1],h=n.anim[i];break}o&&r.attr(n.anim[n.percents[x]])}if(h){if(u)u.initstatus=o,u.start=new Date-u.ms*o;else{for(var S in h)if(h[c](S)&&(D[c](S)||r.paper.customAttributes[c](S)))switch(L[S]=r.attr(S),null==L[S]&&(L[S]=z[S]),w[S]=h[S],D[S]){case E:b[S]=(w[S]-L[S])/m;break;case"colour":L[S]=t.getRGB(L[S]);var j=t.getRGB(w[S]);b[S]={r:(j.r-L[S].r)/m,g:(j.g-L[S].g)/m,b:(j.b-L[S].b)/m};break;case"path":var M=je(L[S],w[S]),T=M[1];for(L[S]=M[0],b[S]=[],x=0,C=L[S].length;xl&&(l=u)}!e[l+="%"].callback&&(e[l].callback=i)}return new it(e,n)},Ve.animate=function(e,n,r,i){if(this.removed)return i&&i.call(this),this;var o=e instanceof it?e:t.animation(e,n,r,i);return ot(o,this,o.percents[0],null,this.attr()),this},Ve.setTime=function(e,t){return e&&null!=t&&this.status(e,C(t,e.ms)/e.ms),this},Ve.status=function(e,t){var n,r,i=[],o=0;if(null!=t)return ot(e,this,-1,C(t,1)),this;for(n=Qe.length;o1)for(var r=0,i=n.length;r.5)-1;l(d-.5,2)+l(f-.5,2)>.25&&(f=o.sqrt(.25-l(d-.5,2))*i+.5)&&.5!=f&&(f=f.toFixed(5)-1e-5*i)}return u}))).split(/\s*\-\s*/),"linear"==c){var L=i.shift();if(L=-r(L),isNaN(L))return null;var w=[0,0,o.cos(e.rad(L)),o.sin(e.rad(L))],b=1/(s(a(w[2]),a(w[3]))||1);w[2]*=b,w[3]*=b,w[2]<0&&(w[0]=-w[2],w[2]=0),w[3]<0&&(w[1]=-w[3],w[3]=0)}var _=e._parseDots(i);if(!_)return null;if(h=h.replace(/[\(\)\s,\xb0#]/g,"_"),t.gradient&&h!=t.gradient.id&&(g.defs.removeChild(t.gradient),delete t.gradient),!t.gradient){y=k(c+"Gradient",{id:h}),t.gradient=y,k(y,"radial"==c?{fx:d,fy:f}:{x1:w[0],y1:w[1],x2:w[2],y2:w[3],gradientTransform:t.matrix.invert()}),g.defs.appendChild(y);for(var x=0,C=_.length;x1?P.opacity/100:P.opacity});case"stroke":P=e.getRGB(g),l.setAttribute(p,P.hex),"stroke"==p&&P[t]("opacity")&&k(l,{"stroke-opacity":P.opacity>1?P.opacity/100:P.opacity}),"stroke"==p&&r._.arrows&&("startString"in r._.arrows&&L(r,r._.arrows.startString),"endString"in r._.arrows&&L(r,r._.arrows.endString,1));break;case"gradient":("circle"==r.type||"ellipse"==r.type||"r"!=n(g).charAt())&&m(r,g);break;case"opacity":h.gradient&&!h[t]("stroke-opacity")&&k(l,{"stroke-opacity":g>1?g/100:g});case"fill-opacity":if(h.gradient){(I=e._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,u)))&&(R=I.getElementsByTagName("stop"),k(R[R.length-1],{"stop-opacity":g}));break}default:"font-size"==p&&(g=i(g,10)+"px");var B=p.replace(/(\-.)/g,(function(e){return e.substring(1).toUpperCase()}));l.style[B]=g,r._.dirty=1,l.setAttribute(p,g)}}x(r,o),l.style.visibility=d},x=function(r,o){if("text"==r.type&&(o[t]("text")||o[t]("font")||o[t]("font-size")||o[t]("x")||o[t]("y"))){var s=r.attrs,a=r.node,l=a.firstChild?i(e._g.doc.defaultView.getComputedStyle(a.firstChild,u).getPropertyValue("font-size"),10):10;if(o[t]("text")){for(s.text=o.text;a.firstChild;)a.removeChild(a.firstChild);for(var c,h=n(o.text).split("\n"),d=[],f=0,p=h.length;f"));var Z=Y.getBoundingClientRect();j.W=g.w=(Z.right-Z.left)/100,j.H=g.h=(Z.bottom-Z.top)/100,j.X=g.x,j.Y=g.y+j.H/2,("x"in l||"y"in l)&&(j.path.v=e.format("m{0},{1}l{2},{1}",o(g.x*v),o(g.y*v),o(g.x*v)+1));for(var G=["x","y","text","font","font-family","font-weight","font-style","font-size"],q=0,K=G.length;q.25&&(n=i.sqrt(.25-a(t-.5,2))*(2*(n>.5)-1)+.5),c=t+u+n),d}))).split(/\s*\-\s*/),"linear"==l){var h=o.shift();if(h=-r(h),isNaN(h))return null}var f=e._parseDots(o);if(!f)return null;if(t=t.shape||t.node,f.length){t.removeChild(s),s.on=!0,s.method="none",s.color=f[0].color,s.color2=f[f.length-1].color;for(var p=[],g=0,k=f.length;g')}}catch(n){_=function(e){return t.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},e._engine.initWin(e._g.win),e._engine.create=function(){var t=e._getContainer.apply(0,arguments),n=t.container,r=t.height,i=t.width,o=t.x,s=t.y;if(!n)throw new Error("VML container not found.");var a=new e._Paper,l=a.canvas=e._g.doc.createElement("div"),c=l.style;return o=o||0,s=s||0,i=i||512,r=r||342,a.width=i,a.height=r,i==+i&&(i+="px"),r==+r&&(r+="px"),a.coordsize=216e5+u+216e5,a.coordorigin="0 0",a.span=e._g.doc.createElement("span"),a.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",l.appendChild(a.span),c.cssText=e.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",i,r),1==n?(e._g.doc.body.appendChild(l),c.left=o+"px",c.top=s+"px",c.position="absolute"):n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l),a.renderfix=function(){},a},e.prototype.clear=function(){e.eve("raphael.clear",this),this.canvas.innerHTML=d,this.span=e._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},e.prototype.remove=function(){for(var t in e.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas),this)this[t]="function"==typeof this[t]?e._removedFactory(t):null;return!0};var E=e.st;for(var T in M)M[t](T)&&!E[t](T)&&(E[T]=function(e){return function(){var t=arguments;return this.forEach((function(n){n[e].apply(n,t)}))}}(T))}}.apply(t,r))||(e.exports=i)}]);const cT=wt(lT.exports);const hT=(e,t,n,r=0,i=0)=>{const o=e.path.toString().replaceAll(","," ").split("Z");let s=[];for(let a=0;a{var n,r,i="";for(n=0;n{e.forEach((e=>{const n="center"===t?e.left+e.width/2:e.left-e.width/2,r="center"===t?e.top+e.height/2:e.top-e.height/2;e.set({originX:t,originY:t,left:n,top:r})}))},fT=()=>{const e=Ou(),t=wu(),{currentTemplate:n}=Nt(e);Nt(tl());const{canvasObject:r,clonedObject:i,currentPoint:o}=Nt(t),{setZindex:s}=r_(),a=()=>g(void 0,null,(function*(){r.value&&(i.value=yield r.value.clone(Oh),navigator.clipboard.writeText(""))})),l=e=>{const[t]=yu();if(e.isEditing){const n=e;return n.getSelectedText()?n.removeChars(n.selectionStart,n.selectionEnd):n.removeChars(n.selectionStart,n.selectionStart+1),t.renderAll(),!0}return!1},c=n=>{const[r]=yu(),i=u(n);if(i){if(i.group)if(1===i.group._objects.length){const e=i.group;c(e.id)}else{if(i.type===ol.TEXTBOX&&l(i))return;i.group.remove(i)}i.type===ol.TEXTBOX&&l(i)||(r.discardActiveObject(),t.setCanvasObject(void 0),r.remove(i),r.renderAll(),e.deleteElement(i))}},h=(e,t)=>{if(t)for(let n=0;n{const[t]=yu(),n=t.getObjects().filter((e=>!jh.includes(e.id)));let r=n.filter((t=>t.id===e))[0];return r||h(e,n)},d=(e,t)=>{for(let n=0;n{const t=n.value.objects;let r=t.filter((t=>t.id===e))[0];return r||d(e,t)};return{layerElement:(e,t)=>{if(jh.includes(e.draggedContext.element.id))return!1},sortElement:t=>g(void 0,null,(function*(){if(jh.includes(t.moved.element.id))return;const r=t.moved.newIndex,i=t.moved.oldIndex,o=t.moved.element;if(i===r)return;const s=u(o.id);if(s){if(s.group){const e=f(s.group.id);if(!e)return;const t=e.objects[i];e.objects.splice(i,1),e.objects.splice(r,0,t)}else{const e=JSON.parse(JSON.stringify(n.value.objects.reverse())),t=e[i];e.splice(i,1),e.splice(r,0,t),n.value.objects=e.reverse()}yield e.renderElement()}})),lockElement:(t,n)=>{const[i]=yu(),o=u(t);if(!o)return;const s={lockMovementX:n,lockMovementY:n,selectable:!1};n&&(o.hoverCursor="not-allowed",r.value&&r.value.id==o.id&&i.discardActiveObject()),i.renderAll(),e.modifedElement(o,s)},copyElement:a,cutElement:()=>{r.value&&(a(),c(r.value.id))},pasteElement:()=>g(void 0,null,(function*(){const[n]=yu();if(!i.value)return;const r=yield i.value.clone(Oh);let a=i.value.left+10,l=i.value.top+10;if(o.value&&(a=o.value.x,l=o.value.y),n.discardActiveObject(),t.setCanvasObject(void 0),r.set({left:a,top:l,evented:!0}),r.type===ol.ACTIVE){r.canvas=n;r.forEachObject((t=>{n.add(t),s(n),e.addElement(t)})),r.setCoords()}else n.add(r),s(n),e.addElement(r);i.value.top=l,i.value.left=a,n.setActiveObject(r),n.renderAll()})),deleteElement:c,moveElement:(t,n=2)=>{const[r]=yu(),i=r.getActiveObject();if(!i||!i.left||!i.top)return;const o=Sa();if(o.value){const e=o.value.tagName;if("INPUT"===e||"TEXTARE"===e)return}const s=i.left,a=i.top;switch(t){case dM.LEFT:i.set("left",s-n),i.setCoords(),r.renderAll();break;case dM.RIGHT:i.set("left",s+n),i.setCoords(),r.renderAll();break;case dM.UP:i.set("top",a-n),i.setCoords(),r.renderAll();break;case dM.DOWN:i.set("top",a+n),i.setCoords(),r.renderAll()}e.updateElement({id:i.id,props:i.toObject(Oh)})},combineElements:()=>g(void 0,null,(function*(){const[t]=yu(),n=t.getActiveObjects();if(!n)return;t.discardActiveObject();const r=new Ye(n,{id:Aa(10),name:ol.GROUP,interactive:!1,subTargetCheck:!0});t.remove(...n),t.add(r),e.addElement(r),e.renderElement()})),uncombineElements:()=>{const[e]=yu(),n=e.getActiveObject();if(!n)return;const r=n.removeAll();e.discardActiveObject(),t.setCanvasObject(void 0),n.group?(n.group.add(...r),n.group.remove(n)):(e.add(...r),e.remove(n)),s(e),e.renderAll()},queryElement:u,selectElement:e=>{const[t]=yu(),n=u(e);n&&(t.setActiveObject(n),t.renderAll())},visibleElement:(t,n)=>{const[r]=yu(),i=u(t);i&&(r.discardActiveObject(),r.renderAll(),e.modifedElement(i,{visible:n}))},showElement:t=>{const n=u(t);n&&e.modifedElement(n,{isShow:!n.isShow})},mouseoverElement:e=>{const n=r.value;if(n&&n.id===e)return;const i=u(e);i&&t.setHoveredObject(i)},mouseleaveElement:e=>{t.setHoveredObject(void 0);const n=r.value;if(n&&n.id===e)return;const i=u(e);i&&t.setLeaveddObject(i)},cancelElement:()=>{const[e]=yu();t.setCanvasObject(void 0),e.discardActiveObject(),e.renderAll()},forwardElement:()=>{const[e]=yu();r.value&&(s(e),e.renderAll())},backwardElement:()=>{const[e]=yu();r.value&&(s(e),e.renderAll())},checkElement:t=>{const[n]=yu();u(t).isSelected=!0,n.renderAll(),e.modifedElement()},intersectElements:e=>{const[t]=yu();let n=t.getActiveObjects();if(!n)return;1===n.length&&n[0].type===ol.GROUP&&(n=n[0]._objects);const r=function(e,t){dT(e,"center");const n=e[0],r=e[1],i=r.left-n.left,o=r.top-n.top,s=r.pathOffset.x-n.pathOffset.x,a=r.pathOffset.y-n.pathOffset.y,l=hT(n,n.scaleX,n.scaleY),c=hT(r,r.scaleX,r.scaleY,-s+i,-a+o);_t.JS.ScaleUpPaths(l,100),_t.JS.ScaleUpPaths(c,100);const h=new _t.Clipper;h.AddPaths(l,_t.PolyType.ptSubject,!0),h.AddPaths(c,_t.PolyType.ptClip,!0);const u=_t.PolyFillType.pftNonZero,d=_t.PolyFillType.pftNonZero,f=[_t.ClipType.ctUnion,_t.ClipType.ctDifference,_t.ClipType.ctIntersection,_t.ClipType.ctXor];let p=new _t.Paths;return h.Execute(f[t],p,u,d),dT(e,"left"),uT(p,100)}(n,e),i=new rt(r);t.add(i),t.renderAll()},maskElement:e=>{},resetElements:()=>{ve.confirm("确认是否清空画布?","Warning",{confirmButtonText:"OK",type:"warning"}).then((()=>{e.clearTemplate()}))}}},pT={class:"menu-content"},gT=["onClick"],kT={class:"text"},mT={key:0,class:"sub-text"},vT=ko(R({__name:"MenuContent",props:{menus:{type:Array,required:!0},handleClickMenuItem:{type:Function,required:!0}},setup:e=>(t,n)=>{const r=G("menu-content",!0);return $(),Q("ul",pT,[($(!0),Q(N,null,ie(e.menus,((t,n)=>($(),Q(N,{key:t.text||n},[t.hide?oe("",!0):($(),Q("li",{key:0,class:ne(["menu-item",{divider:t.divider,disable:t.disable}]),onClick:de((n=>e.handleClickMenuItem(t)),["stop"])},[t.divider?oe("",!0):($(),Q("div",{key:0,class:ne(["menu-item-content",{"has-children":t.children,"has-handler":t.handler}])},[te("span",kT,ce(t.text),1),t.subText&&!t.children?($(),Q("span",mT,ce(t.subText),1)):oe("",!0),t.children&&t.children.length?($(),Y(r,{key:1,class:"sub-menu",menus:t.children,handleClickMenuItem:e.handleClickMenuItem},null,8,["menus","handleClickMenuItem"])):oe("",!0)],2))],10,gT))],64)))),128))])}}),[["__scopeId","data-v-10e0a8c0"]]),yT=R({__name:"index",props:{axis:{type:Object,required:!0},el:{type:Object,required:!0},menus:{type:Array,required:!0},removeContextmenu:{type:Function,required:!0}},setup(e){const t=e,n=I((()=>{const{x:e,y:n}=t.axis,r=30*t.menus.filter((e=>!(e.divider||e.hide))).length+11*t.menus.filter((e=>e.divider)).length+10;return{left:document.body.clientWidth<=e+170?e-170:e,top:document.body.clientHeight<=n+r?n-r:n}})),r=e=>{e.disable||e.children&&!e.handler||(e.handler&&e.handler(t.el),t.removeContextmenu())};return(t,i)=>($(),Q(N,null,[te("div",{class:"mask",onContextmenu:i[0]||(i[0]=de((t=>e.removeContextmenu()),["prevent"])),onMousedown:i[1]||(i[1]=t=>e.removeContextmenu())},null,32),te("div",{class:"contextmenu",style:ee({left:n.value.left+"px",top:n.value.top+"px"}),onContextmenu:i[2]||(i[2]=de((()=>{}),["prevent"]))},[V(vT,{menus:e.menus,handleClickMenuItem:r},null,8,["menus"])],36)],64))}}),LT=(e,t,n)=>{t.stopPropagation(),t.preventDefault(),(()=>{const{elementHover:e}=Nt(tl()),{selectElement:t}=fT();e.value&&t(e.value)})();const r=n.value(e);if(!r)return;let i=null;const o=()=>{i&&(document.body.removeChild(i),i=null),document.body.removeEventListener("scroll",o),window.removeEventListener("resize",o)},s={axis:{x:t.x,y:t.y},el:e,menus:r,removeContextmenu:o};i=document.createElement("div");const a=V(yT,s,null);fe(a,i),document.body.appendChild(i),document.body.addEventListener("scroll",o),window.addEventListener("resize",o)},wT={mounted(e,t){e.addEventListener("contextmenu",(n=>LT(e,n,t)))},unmounted(e,t){if(e){const n=n=>LT(e,n,t);e.removeEventListener("contextmenu",n)}}},bT=(e,t,n)=>{const r=n.value,i=t.composedPath();(i?i.indexOf(e)<0:!e.contains(t.target))&&r(t)},_T={mounted(e,t){const n=n=>bT(e,n,t);setTimeout((()=>{document.addEventListener("click",n)}),0)},unmounted(e,t){document.removeEventListener("click",(n=>bT(e,n,t)))}},xT=(e,t)=>{Object.entries(t).forEach((t=>g(void 0,[t],(function*([t,n]){e.style[t]=""}))))},CT={mounted(e,t){const n=t.value.highlightStyle||{backgroundColor:"#f0f0f0"};e.addEventListener("dragover",(e=>e.preventDefault())),e.addEventListener("dragenter",(()=>((e,t)=>{Object.entries(t).forEach((([t,n])=>{e.style[t]=n}))})(e,n))),e.addEventListener("dragleave",(()=>xT(e,n))),e.addEventListener("drop",(r=>{r.preventDefault(),xT(e,n);const i=r.dataTransfer.files;t.value.uploadFunction&&"function"==typeof t.value.uploadFunction?t.value.uploadFunction(i):t.value.url&&(e=>{g(void 0,null,(function*(){const{addTemplate:t}=kM(),{createImageElement:n}=i_(),r=Ou(),{setCanvasTransform:i}=xu();Array.from(e).forEach((e=>g(void 0,null,(function*(){const[o]=yu(),s=e.name.split(".").pop();if(!".pdf,.psd,.cdr,.ai,.svg,.jpg,.jpeg,.png,.webp,.json".split(",").includes(`.${s}`))return;if("svg"===s){const t=yield Ja(e),n=yield dt(t);o.add(...n.objects),o.renderAll()}if("json"===s){const n=yield Ja(e),r=JSON.parse(n);t(r)}if(["jpg","jpeg","png","webp"].includes(s)){const t=yield Ka(e);n(t)}const a=yield n_(e,s);if(a&&200===a.data.code){const e=a.data.data;if(!e)return;yield r.addTemplate(e),i()}}))))}))})(i,t.value.url)}))}},ST={install(e){e.directive("contextmenu",wT),e.directive("click-outside",_T),e.directive("drop-image",CT)}};if("undefined"!=typeof window){let e=function(){var e=document.body,t=document.getElementById("__svg__icons__dom__");t||((t=document.createElementNS("http://www.w3.org/2000/svg","svg")).style.position="absolute",t.style.width="0",t.style.height="0",t.id="__svg__icons__dom__",t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),t.innerHTML='',e.insertBefore(t,e.lastChild)};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}!function(e={}){const{immediate:t=!0,onNeedRefresh:n,onOfflineReady:r,onRegistered:i,onRegisteredSW:o,onRegisterError:s}=e,a=x(!1),l=x(!1);(function(e={}){const{immediate:t=!1,onNeedRefresh:n,onOfflineReady:r,onRegistered:i,onRegisteredSW:o,onRegisterError:s}=e;let a,l;l=function(){return g(this,null,(function*(){if("serviceWorker"in navigator){const{Workbox:e}=yield yo((()=>g(this,null,(function*(){const{Workbox:e}=yield import("./workbox-window.prod.es5-CIVDLvzL.js");return{Workbox:e}}))),[],import.meta.url);a=new e("./sw.js",{scope:"./",type:"classic"}),a.addEventListener("activated",(e=>{(e.isUpdate||e.isExternal)&&window.location.reload()})),a.addEventListener("installed",(e=>{e.isUpdate||null==r||r()})),a.register({immediate:t}).then((e=>{o?o("./sw.js",e):null==i||i(e)})).catch((e=>{null==s||s(e)}))}}))}()})({immediate:t,onNeedRefresh(){a.value=!0,null==n||n()},onOfflineReady(){l.value=!0,null==r||r()},onRegistered:i,onRegisteredSW:o,onRegisterError:s})}(),function(){g(this,null,(function*(){const e=pe(mo);yield(e=>g(void 0,null,(function*(){const t=fo();ho=Qi(t),e.use(ho)})))(e),e.use(Js),e.use(function(){const e=_(!0),t=e.run((()=>x({})));let n=[],r=[];const i=C({install(e){Ct(i),i._a=e,e.provide(St,i),e.config.globalProperties.$pinia=i,r.forEach((e=>n.push(e))),r=[]},use(e){return this._a||ge?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}()),e.use(YL),e.use(bm),e.use(aT),e.use(ST),e.mount("#app")}))}();export{$b as $,cl as A,hM as B,$E as C,bh as D,ol as E,hu as F,ym as G,fM as H,zg as I,vu as J,dM as K,hl as L,ju as M,co as N,lo as O,Ga as P,Fb as Q,tu as R,al as S,qh as T,nu as U,ru as V,Mh as W,iu as X,Oh as Y,Ua as Z,oT as _,qs as a,Aa as a0,Qa as a1,Qh as a2,eu as a3,el as a4,Kh as a5,Jh as a6,_h as a7,Ch as a8,e_ as a9,t_ as aa,oa as ab,ll as ac,mm as ad,rl as ae,il as af,lm as ag,Zb as ah,aa as ai,la as aj,sa as ak,ua as al,ia as am,ra as an,sl as ao,jh as ap,IE as aq,Lh as ar,Rg as as,Eh as at,$a as au,KE as av,wm as b,ko as c,_u as d,Ou as e,yu as f,r_ as g,tl as h,wu as i,go as j,xu as k,fT as l,Hg as m,fu as n,kM as o,i_ as p,Ja as q,Ka as r,Nt as s,n_ as t,Dg as u,Qb as v,FE as w,cM as x,ZL as y,wh as z}; diff --git a/assets/index-BtvUkC1a.js.gz b/assets/index-BtvUkC1a.js.gz new file mode 100644 index 00000000..31ad30ce Binary files /dev/null and b/assets/index-BtvUkC1a.js.gz differ diff --git a/assets/index-CIyjKADP.js b/assets/index-CIyjKADP.js new file mode 100644 index 00000000..cc257254 --- /dev/null +++ b/assets/index-CIyjKADP.js @@ -0,0 +1 @@ +import{z as a}from"./index-BtvUkC1a.js";const e=e=>a({url:"/api/design/template/info/pages",method:"get",params:e}),t=e=>a({url:"/api/design/template/detail/pages",method:"get",params:e}),s=e=>a({url:`/api/design/template/data/${e}`,method:"get"});export{t as a,s as b,e as g}; diff --git a/assets/index-CS_RRQug.css b/assets/index-CS_RRQug.css new file mode 100644 index 00000000..4d033136 --- /dev/null +++ b/assets/index-CS_RRQug.css @@ -0,0 +1 @@ +@charset "UTF-8";#app{height:100%}[data-v-67d15830] #app .el-divider .el-divider--horizontal{margin:12px 0}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645,.045,.355,1);--el-transition-function-fast-bezier:cubic-bezier(.23,1,.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.04),0px 8px 20px rgba(0,0,0,.08);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.12);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.08),0px 12px 32px rgba(0,0,0,.12),0px 8px 16px -8px rgba(0,0,0,.16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0,0,0,.8);--el-overlay-color-light:rgba(0,0,0,.7);--el-overlay-color-lighter:rgba(0,0,0,.5);--el-mask-color:rgba(255,255,255,.9);--el-mask-color-extra-light:rgba(255,255,255,.3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{-webkit-transition:var(--el-transition-fade-linear);transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{-webkit-transition:var(--el-transition-fade-linear);transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{-webkit-transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1);transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{-webkit-transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1);transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:center top;transform-origin:center top;-webkit-transition:var(--el-transition-md-fade);transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{-webkit-transform-origin:center bottom;transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-transition:var(--el-transition-md-fade);transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:top left;transform-origin:top left;-webkit-transition:var(--el-transition-md-fade);transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;-webkit-transform:scale(.45);transform:scale(.45)}.collapse-transition{-webkit-transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out;transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{-webkit-transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out;transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{-webkit-transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out;transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{-webkit-transition:all 1s;transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;-webkit-transform:translateY(-30px);transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{-webkit-transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1);transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotating{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.el-icon{--color:inherit;-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;height:1em;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:1em;position:relative;width:1em;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-affix--fixed{position:fixed}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:14px;--el-alert-title-with-description-font-size:16px;--el-alert-description-font-size:14px;--el-alert-close-font-size:16px;--el-alert-close-customed-font-size:14px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-color-white);border-radius:var(--el-alert-border-radius-base);box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;margin:0;opacity:1;overflow:hidden;padding:var(--el-alert-padding);position:relative;-webkit-transition:opacity var(--el-transition-duration-fast);transition:opacity var(--el-transition-duration-fast);width:100%}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color)}.el-alert--success.is-light,.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color)}.el-alert--info.is-light,.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color)}.el-alert--warning.is-light,.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color)}.el-alert--error.is-light,.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;gap:4px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);margin-right:8px;width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);margin-right:12px;width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:24px}.el-alert__title.with-description{font-size:var(--el-alert-title-with-description-font-size)}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:0}.el-alert .el-alert__close-btn{cursor:pointer;font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;right:16px;top:12px}.el-alert .el-alert__close-btn.is-customed{font-size:var(--el-alert-close-customed-font-size);font-style:normal;line-height:24px;top:8px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{box-sizing:border-box;-webkit-flex-shrink:0;flex-shrink:0;overflow:auto;width:var(--el-aside-width,300px)}.el-autocomplete{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;position:relative;width:var(--el-input-width)}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper,.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__wrap{box-sizing:border-box;max-height:280px;padding:10px 0}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);line-height:34px;list-style:none;margin:0;overflow:hidden;padding:0 20px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-autocomplete-suggestion li.highlighted,.el-autocomplete-suggestion li:hover{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{border-top:1px solid var(--el-color-black);margin-top:6px}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{color:var(--el-text-color-secondary);font-size:20px;height:100px;line-height:100px;text-align:center}.el-autocomplete-suggestion.is-loading li:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-avatar{--el-avatar-text-color:var(--el-color-white);--el-avatar-bg-color:var(--el-text-color-disabled);--el-avatar-text-size:14px;--el-avatar-icon-size:18px;--el-avatar-border-radius:var(--el-border-radius-base);--el-avatar-size-large:56px;--el-avatar-size-small:24px;--el-avatar-size:40px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:var(--el-avatar-bg-color);box-sizing:border-box;color:var(--el-avatar-text-color);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-avatar-text-size);height:var(--el-avatar-size);-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;overflow:hidden;text-align:center;width:var(--el-avatar-size)}.el-avatar>img{display:block;height:100%;width:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size:24px}.el-avatar--large{--el-avatar-size:56px}.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-backtop-bg-color);border-radius:50%;box-shadow:var(--el-box-shadow-lighter);color:var(--el-backtop-text-color);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;font-size:20px;height:40px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:fixed;width:40px;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;display:inline-block;position:relative;vertical-align:middle;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content}.el-badge__content{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;-webkit-transform:translateY(-50%) translateX(100%);transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{content:"";display:table}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{color:var(--el-text-color-placeholder);font-weight:700;margin:0 9px}.el-breadcrumb__separator.el-icon{font-weight:400;margin:0 6px}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;float:left}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{color:var(--el-text-color-primary);font-weight:700;text-decoration:none;-webkit-transition:var(--el-transition-color);transition:var(--el-transition-color)}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{color:var(--el-text-color-regular);cursor:text;font-weight:400}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{content:"";display:table}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.el-button-group>.el-button:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-bottom-left-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button.is-active,.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0}.el-button-group .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-calendar{--el-calendar-border:var(--el-table-border,1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom:var(--el-calendar-border);--el-calendar-selected-bg-color:var(--el-color-primary-light-9);--el-calendar-cell-width:85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{border-bottom:var(--el-calendar-header-border-bottom);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:12px 20px}.el-calendar__title{-webkit-align-self:center;align-self:center;color:var(--el-text-color)}.el-calendar__body{padding:12px 20px 35px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{color:var(--el-text-color-regular);font-weight:400;padding:12px 0}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);-webkit-transition:background-color var(--el-transition-duration-fast) ease;transition:background-color var(--el-transition-duration-fast) ease;vertical-align:top}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;height:var(--el-calendar-cell-width);padding:8px}.el-calendar-table .el-calendar-day:hover{background-color:var(--el-calendar-selected-bg-color);cursor:pointer}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank);background-color:var(--el-card-bg-color);border:1px solid var(--el-card-border-color);border-radius:var(--el-card-border-radius);color:var(--el-text-color-primary);overflow:hidden;-webkit-transition:var(--el-transition-duration);transition:var(--el-transition-duration)}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-card__body{padding:var(--el-card-padding)}.el-card__footer{border-top:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-carousel__item{display:inline-block;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.el-carousel__item,.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item--card,.el-carousel__item.is-animating{-webkit-transition:-webkit-transform .4s ease-in-out;transition:-webkit-transform .4s ease-in-out;transition:transform .4s ease-in-out;transition:transform .4s ease-in-out,-webkit-transform .4s ease-in-out}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__item--card-vertical{height:50%;width:100%}.el-carousel__mask{background-color:var(--el-color-white);height:100%;left:0;opacity:.24;position:absolute;top:0;-webkit-transition:var(--el-transition-duration-fast);transition:var(--el-transition-duration-fast);width:100%}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:rgba(31,45,61,.11);--el-carousel-arrow-hover-background:rgba(31,45,61,.23);--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal,.el-carousel--vertical{overflow:hidden}.el-carousel__container{height:300px;position:relative}.el-carousel__arrow{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-carousel-arrow-background);border:none;border-radius:50%;color:#fff;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-carousel-arrow-font-size);height:var(--el-carousel-arrow-size);-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:0;outline:none;padding:0;position:absolute;text-align:center;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:var(--el-transition-duration);transition:var(--el-transition-duration);width:var(--el-carousel-arrow-size);z-index:10}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{list-style:none;margin:0;padding:0;position:absolute;z-index:calc(var(--el-index-normal) + 1)}.el-carousel__indicators--horizontal{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:calc(var(--el-carousel-indicator-height) + var(--el-carousel-indicator-padding-vertical)*2);position:static;text-align:center;-webkit-transform:none;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--right{right:0}.el-carousel__indicators--labels{left:0;right:0;text-align:center;-webkit-transform:none;transform:none}.el-carousel__indicators--labels .el-carousel__button{color:#000;font-size:12px;height:auto;padding:2px 18px;width:auto}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal)}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{height:calc(var(--el-carousel-indicator-width)/2);width:var(--el-carousel-indicator-height)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{background-color:#fff;border:none;cursor:pointer;display:block;height:var(--el-carousel-indicator-height);margin:0;opacity:.48;outline:none;padding:0;-webkit-transition:var(--el-transition-duration);transition:var(--el-transition-duration);width:var(--el-carousel-indicator-width)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{opacity:0;-webkit-transform:translateY(-50%) translateX(-10px);transform:translateY(-50%) translate(-10px)}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{opacity:0;-webkit-transform:translateY(-50%) translateX(10px);transform:translateY(-50%) translate(10px)}.el-transitioning{-webkit-filter:url(#elCarouselHorizontal);filter:url(#elCarouselHorizontal)}.el-transitioning-vertical{-webkit-filter:url(#elCarouselVertical);filter:url(#elCarouselVertical)}.el-cascader-panel{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);display:-webkit-box;display:-webkit-flex;display:flex;font-size:var(--el-cascader-menu-font-size)}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{border-right:var(--el-cascader-menu-border);box-sizing:border-box;color:var(--el-cascader-menu-text-color);min-width:180px}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{box-sizing:border-box;list-style:none;margin:0;min-height:100%;padding:6px 0;position:relative}.el-cascader-menu__hover-zone{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.el-cascader-menu__empty-text{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-cascader-color-empty);display:-webkit-box;display:-webkit-flex;display:flex;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;height:34px;line-height:34px;outline:none;padding:0 30px 0 20px;position:relative}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{left:10px;position:absolute}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:hidden;padding:0 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-cascader-node>.el-checkbox,.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);display:inline-block;font-size:var(--el-font-size-base);line-height:32px;outline:none;position:relative;vertical-align:middle}.el-cascader:not(.is-disabled):hover .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset;cursor:pointer}.el-cascader .el-input{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex}.el-cascader .el-input .el-input__inner{cursor:pointer;text-overflow:ellipsis}.el-cascader .el-input .el-input__suffix-inner .el-icon{height:calc(100% - 2px)}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{font-size:14px;-webkit-transition:-webkit-transform var(--el-transition-duration);transition:-webkit-transform var(--el-transition-duration);transition:transform var(--el-transition-duration);transition:transform var(--el-transition-duration),-webkit-transform var(--el-transition-duration)}.el-cascader .el-input .icon-arrow-down.is-reverse{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color,var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader.is-disabled .el-cascader__label{color:var(--el-disabled-text-color);z-index:calc(var(--el-index-normal) + 1)}.el-cascader__dropdown{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill)}.el-cascader__dropdown.el-popper,.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__tags{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;left:0;line-height:normal;position:absolute;right:30px;text-align:left;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-cascader__tags .el-tag{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:var(--el-cascader-tag-background);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin:2px 0 2px 6px;max-width:100%;text-overflow:ellipsis}.el-cascader__tags .el-tag.el-tag--dark,.el-cascader__tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__tags .el-tag>span{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);-webkit-box-flex:0;-webkit-flex:none;flex:none}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:var(--el-fill-color);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin:2px 0 2px 6px;max-width:100%;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag.el-tag--dark,.el-cascader__collapse-tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__collapse-tags .el-tag>span{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);-webkit-box-flex:0;-webkit-flex:none;flex:none}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{color:var(--el-cascader-menu-text-color);font-size:var(--el-font-size-base);margin:0;max-height:204px;padding:6px 0;text-align:center}.el-cascader__suggestion-item{-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;height:34px;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;outline:none;padding:0 15px;text-align:left}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{color:var(--el-cascader-color-empty);margin:10px 0}.el-cascader__search-input{background:transparent;border:none;box-sizing:border-box;color:var(--el-cascader-menu-text-color);-webkit-box-flex:1;-webkit-flex:1;flex:1;height:24px;margin:2px 0 2px 11px;min-width:60px;outline:none;padding:0}.el-cascader__search-input::-moz-placeholder{color:transparent}.el-cascader__search-input::-webkit-input-placeholder{color:transparent}.el-cascader__search-input::placeholder{color:transparent}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:700;line-height:var(--el-font-size-base);padding:7px 15px;-webkit-transition:var(--el-transition-all);transition:var(--el-transition-all)}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--primary.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.el-check-tag--primary.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-check-tag.el-check-tag--primary.is-checked.is-disabled{background-color:var(--el-color-primary-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-checked.is-disabled:hover{background-color:var(--el-color-primary-light-8)}.el-check-tag.el-check-tag--primary.is-disabled{background-color:var(--el-color-info-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-check-tag.el-check-tag--success.is-checked{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.el-check-tag.el-check-tag--success.is-checked:hover{background-color:var(--el-color-success-light-7)}.el-check-tag.el-check-tag--success.is-checked.is-disabled{background-color:var(--el-color-success-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-checked.is-disabled:hover{background-color:var(--el-color-success-light-8)}.el-check-tag.el-check-tag--success.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-disabled,.el-check-tag.el-check-tag--success.is-disabled:hover{background-color:var(--el-color-success-light-9)}.el-check-tag.el-check-tag--warning.is-checked{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.el-check-tag.el-check-tag--warning.is-checked:hover{background-color:var(--el-color-warning-light-7)}.el-check-tag.el-check-tag--warning.is-checked.is-disabled{background-color:var(--el-color-warning-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-checked.is-disabled:hover{background-color:var(--el-color-warning-light-8)}.el-check-tag.el-check-tag--warning.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-disabled,.el-check-tag.el-check-tag--warning.is-disabled:hover{background-color:var(--el-color-warning-light-9)}.el-check-tag.el-check-tag--danger.is-checked{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.el-check-tag.el-check-tag--danger.is-checked:hover{background-color:var(--el-color-danger-light-7)}.el-check-tag.el-check-tag--danger.is-checked.is-disabled{background-color:var(--el-color-danger-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-checked.is-disabled:hover{background-color:var(--el-color-danger-light-8)}.el-check-tag.el-check-tag--danger.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-disabled,.el-check-tag.el-check-tag--danger.is-disabled:hover{background-color:var(--el-color-danger-light-9)}.el-check-tag.el-check-tag--error.is-checked{background-color:var(--el-color-error-light-8);color:var(--el-color-error)}.el-check-tag.el-check-tag--error.is-checked:hover{background-color:var(--el-color-error-light-7)}.el-check-tag.el-check-tag--error.is-checked.is-disabled{background-color:var(--el-color-error-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-checked.is-disabled:hover{background-color:var(--el-color-error-light-8)}.el-check-tag.el-check-tag--error.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-disabled,.el-check-tag.el-check-tag--error.is-disabled:hover{background-color:var(--el-color-error-light-9)}.el-check-tag.el-check-tag--info.is-checked{background-color:var(--el-color-info-light-8);color:var(--el-color-info)}.el-check-tag.el-check-tag--info.is-checked:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--info.is-checked.is-disabled{background-color:var(--el-color-info-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-checked.is-disabled:hover{background-color:var(--el-color-info-light-8)}.el-check-tag.el-check-tag--info.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-disabled,.el-check-tag.el-check-tag--info.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary);display:inline-block;position:relative}.el-checkbox-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);border-left-color:transparent;border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);line-height:1;margin:0;outline:none;padding:8px 15px;position:relative;text-align:center;-webkit-transition:var(--el-transition-all);transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7);color:var(--el-checkbox-button-checked-text-color)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button:first-child .el-checkbox-button__inner{border-bottom-left-radius:var(--el-border-radius-base);border-left:var(--el-border);border-top-left-radius:var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-bottom-right-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary);-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-checkbox-text-color);cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);height:var(--el-checkbox-height,32px);margin-right:30px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{border-radius:calc(var(--el-border-radius-base) - 1px);padding:0 11px 0 7px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{border-radius:var(--el-checkbox-border-radius);outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px}.el-checkbox__input{cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:none;position:relative;white-space:nowrap}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-icon-color);cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-checked-icon-color);-webkit-transform:rotate(45deg) scaleY(1);transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-checked-icon-color);content:"";display:block;height:2px;left:0;position:absolute;right:0;top:5px;-webkit-transform:scale(.5);transform:scale(.5)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{background-color:var(--el-checkbox-bg-color);border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;display:inline-block;height:var(--el-checkbox-input-height);position:relative;-webkit-transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);width:var(--el-checkbox-input-width);z-index:var(--el-index-normal)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{border:1px solid transparent;border-left:0;border-top:0;box-sizing:content-box;content:"";height:7px;left:4px;position:absolute;top:1px;-webkit-transform:rotate(45deg) scaleY(0);transform:rotate(45deg) scaleY(0);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:-webkit-transform .15s ease-in .05s;transition:-webkit-transform .15s ease-in .05s;transition:transform .15s ease-in .05s;transition:transform .15s ease-in .05s,-webkit-transform .15s ease-in .05s;width:3px}.el-checkbox__original{height:0;margin:0;opacity:0;outline:none;position:absolute;width:0;z-index:-1}.el-checkbox__label{display:inline-block;font-size:var(--el-checkbox-font-size);line-height:1;padding-left:8px}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox:last-of-type{margin-right:0}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-bottom:1px solid var(--el-collapse-border-color);border-top:1px solid var(--el-collapse-border-color)}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-collapse-header-bg-color);border:none;border-bottom:1px solid var(--el-collapse-border-color);color:var(--el-collapse-header-text-color);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;font-size:var(--el-collapse-header-font-size);font-weight:500;height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);outline:none;padding:0;-webkit-transition:border-bottom-color var(--el-transition-duration);transition:border-bottom-color var(--el-transition-duration);width:100%}.el-collapse-item__arrow{font-weight:300;margin:0 8px 0 auto;-webkit-transition:-webkit-transform var(--el-transition-duration);transition:-webkit-transform var(--el-transition-duration);transition:transform var(--el-transition-duration);transition:transform var(--el-transition-duration),-webkit-transform var(--el-transition-duration)}.el-collapse-item__arrow.is-active{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{background-color:var(--el-collapse-content-bg-color);border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;overflow:hidden;will-change:height}.el-collapse-item__content{color:var(--el-collapse-content-text-color);font-size:var(--el-collapse-content-font-size);line-height:1.7692307692;padding-bottom:25px}.el-collapse-item:last-child{margin-bottom:-1px}.el-color-predefine{display:-webkit-box;display:-webkit-flex;display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-wrap:wrap;flex-wrap:wrap}.el-color-predefine__color-selector{border-radius:4px;cursor:pointer;height:20px;margin:0 0 8px 8px;width:20px}.el-color-predefine__color-selector:nth-child(10n+1){margin-left:0}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector>div{border-radius:3px;display:-webkit-box;display:-webkit-flex;display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:red;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:-webkit-linear-gradient(left,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00);background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:-webkit-linear-gradient(top,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00);background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{height:180px;position:relative;width:280px}.el-color-svpanel__black,.el-color-svpanel__white{inset:0;position:absolute}.el-color-svpanel__white{background:-webkit-linear-gradient(left,#fff,rgba(255,255,255,0));background:linear-gradient(90deg,#fff,#fff0)}.el-color-svpanel__black{background:-webkit-linear-gradient(bottom,#000,rgba(0,0,0,0));background:linear-gradient(0deg,#000,#0000)}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;cursor:head;height:4px;-webkit-transform:translate(-2px,-2px);transform:translate(-2px,-2px);width:4px}.el-color-alpha-slider{background-image:-webkit-linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),-webkit-linear-gradient(315deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),-webkit-linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),-webkit-linear-gradient(315deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider__bar{background:-webkit-linear-gradient(left,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,rgb(255,255,255));background:linear-gradient(180deg,#fff0 0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{clear:both;content:"";display:table}.el-color-dropdown__btns{margin-top:12px;text-align:right}.el-color-dropdown__value{color:#000;float:left;font-size:12px;line-height:26px;width:160px}.el-color-picker{display:inline-block;line-height:normal;outline:none;position:relative}.el-color-picker:hover:not(.is-disabled,.is-focused) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-focused .el-color-picker__trigger{border-color:var(--el-color-primary)}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed}.el-color-picker--large{height:40px}.el-color-picker--large .el-color-picker__trigger{height:40px;width:40px}.el-color-picker--large .el-color-picker__mask{height:38px;width:38px}.el-color-picker--small{height:24px}.el-color-picker--small .el-color-picker__trigger{height:24px;width:24px}.el-color-picker--small .el-color-picker__mask{height:22px;width:22px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{-webkit-transform:scale(.8);transform:scale(.8)}.el-color-picker__mask{background-color:#ffffffb3;border-radius:4px;cursor:not-allowed;height:30px;left:1px;position:absolute;top:1px;width:30px;z-index:1}.el-color-picker__trigger{-webkit-box-align:center;-webkit-align-items:center;align-items:center;border:1px solid var(--el-border-color);border-radius:4px;box-sizing:border-box;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:0;height:32px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:4px;position:relative;width:32px}.el-color-picker__color{border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);box-sizing:border-box;display:block;height:100%;position:relative;text-align:center;width:100%}.el-color-picker__color.is-alpha{background-image:-webkit-linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),-webkit-linear-gradient(315deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),-webkit-linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),-webkit-linear-gradient(315deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px}.el-color-picker__color-inner{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;height:100%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:100%}.el-color-picker .el-color-picker__empty{color:var(--el-text-color-secondary);font-size:12px}.el-color-picker .el-color-picker__icon{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:12px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.el-color-picker__panel{background-color:#fff;border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light);box-sizing:content-box;padding:6px;position:absolute;z-index:10}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a:#333333}.el-container{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-basis:auto;flex-basis:auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;min-width:0}.el-container.is-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{box-sizing:border-box;cursor:pointer;height:30px;padding:4px 0;position:relative;text-align:center;width:32px}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;display:block;height:24px;left:50%;line-height:24px;margin:0 auto;position:absolute;-webkit-transform:translateX(-50%);transform:translate(-50%);width:24px}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed;opacity:1}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);border-radius:15px;color:#fff}.el-date-table td.week{color:var(--el-datepicker-header-text-color);font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{border-bottom:1px solid var(--el-border-color-lighter);color:var(--el-datepicker-header-text-color);font-weight:400;padding:5px}.el-month-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-month-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-month-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .el-date-table-cell__text,.el-month-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-month-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-month-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-month-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;-webkit-transform:translateX(-50%);transform:translate(-50%);width:54px}.el-month-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date .el-date-table-cell,.el-month-table td.start-date .el-date-table-cell{color:#fff}.el-month-table td.end-date .el-date-table-cell__text,.el-month-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px;margin-left:3px}.el-month-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-year-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-year-table td.today.end-date .el-date-table-cell__text,.el-year-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-year-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-year-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-year-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;-webkit-transform:translateX(-50%);transform:translate(-50%);width:60px}.el-year-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-year-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-year-table td.end-date .el-date-table-cell,.el-year-table td.start-date .el-date-table-cell{color:#fff}.el-year-table td.end-date .el-date-table-cell__text,.el-year-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px}.el-year-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px}.el-year-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{display:inline-block;max-height:192px;overflow:auto;position:relative;vertical-align:top;width:50%}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;overflow:hidden;text-align:center}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{-webkit-transform:translateY(-32px);transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;height:30px;left:0;line-height:30px;position:absolute;text-align:center;width:100%;z-index:var(--el-index-normal)}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__list{list-style:none;margin:0}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;height:80px;width:100%}.el-time-spinner__item{color:var(--el-text-color-regular);font-size:12px;height:32px;line-height:32px}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper,.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;position:relative;text-align:left;vertical-align:middle}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{height:var(--el-input-height,var(--el-component-size));width:var(--el-date-editor-width)}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .clear-icon,.el-date-editor .close-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__icon{color:var(--el-text-color-placeholder);float:left;font-size:14px;height:inherit}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-text-color-regular);display:inline-block;font-size:var(--el-font-size-base);height:30px;line-height:30px;margin:0;outline:none;padding:0;text-align:center;width:39%}.el-date-editor .el-range-input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input::-webkit-input-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-text-color-primary);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:14px;height:100%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:0;overflow-wrap:break-word;padding:0 5px}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);cursor:pointer;font-size:14px;height:inherit;width:unset}.el-date-editor .el-range__close-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;padding:0 10px;vertical-align:middle}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{font-size:14px;height:38px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{font-size:12px;height:22px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled,.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input::-webkit-input-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{background:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);color:var(--el-text-color-regular);line-height:30px}.el-picker-panel .el-time-panel{background-color:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{clear:both;content:"";display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{background-color:var(--el-bg-color-overlay);border-top:1px solid var(--el-datepicker-inner-border-color);font-size:0;padding:4px 12px;position:relative;text-align:right}.el-picker-panel__shortcut{background-color:transparent;border:0;color:var(--el-datepicker-text-color);cursor:pointer;display:block;font-size:14px;line-height:28px;outline:none;padding-left:12px;text-align:left;width:100%}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{background-color:transparent;border:1px solid var(--el-fill-color-darker);border-radius:2px;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:24px;outline:none;padding:0 20px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{background:transparent;border:0;color:var(--el-datepicker-icon-color);cursor:pointer;font-size:12px;margin-top:8px;outline:none}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{background-color:var(--el-bg-color-overlay);border-right:1px solid var(--el-datepicker-inner-border-color);bottom:0;box-sizing:border-box;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-picker__header{padding:12px 12px 0;text-align:center}.el-date-picker__header--bordered{border-bottom:1px solid var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{cursor:pointer;float:left;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{height:28px;position:relative;text-align:center}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{box-sizing:border-box;float:left;margin:0;padding:16px;width:50%}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-range-picker__time-header>.el-icon-arrow-right{color:var(--el-datepicker-icon-color);display:table-cell;font-size:20px;vertical-align:middle}.el-date-range-picker__time-picker-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{background:#fff;position:absolute;right:0;top:13px;z-index:1}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{overflow:visible;width:354px}.el-time-range-picker__content{padding:10px;position:relative;text-align:center;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;display:inline-block;margin:0;padding:4px 7px 7px;width:50%}.el-time-range-picker__header{font-size:14px;margin-bottom:5px;text-align:center}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{border-radius:2px;box-sizing:content-box;left:0;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:180px;z-index:var(--el-index-top)}.el-time-panel__content{font-size:0;overflow:hidden;position:relative}.el-time-panel__content:after,.el-time-panel__content:before{box-sizing:border-box;content:"";height:32px;left:0;margin-top:-16px;padding-top:6px;position:absolute;right:0;text-align:left;top:50%;z-index:-1}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{border-bottom:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));box-sizing:border-box;height:36px;line-height:25px;padding:4px;text-align:right}.el-time-panel__btn{background-color:transparent;border:none;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:28px;margin:0 5px;outline:none;padding:0 5px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.el-descriptions__header{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;font-size:14px;font-weight:400;line-height:23px;text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{background:var(--el-descriptions-item-bordered-label-background);color:var(--el-text-color-regular);font-weight:700}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}.el-divider{position:relative}.el-divider--horizontal{border-top:1px var(--el-border-color) var(--el-border-style);display:block;height:1px;margin:24px 0;width:100%}.el-divider--vertical{border-left:1px var(--el-border-color) var(--el-border-style);display:inline-block;height:1em;margin:0 8px;position:relative;vertical-align:middle;width:1px}.el-divider__text{background-color:var(--el-bg-color);color:var(--el-text-color-primary);font-size:14px;font-weight:500;padding:0 20px;position:absolute}.el-divider__text.is-left{left:20px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-divider__text.is-center{left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color,var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary,20px);background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;overflow:hidden;position:absolute;-webkit-transition:all var(--el-transition-duration);transition:all var(--el-transition-duration)}.el-drawer .btt,.el-drawer .ltr,.el-drawer .rtl,.el-drawer .ttb{-webkit-transform:translate(0);transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#72767b;display:-webkit-box;display:-webkit-flex;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{-webkit-box-flex:1;-webkit-flex:1;flex:1}.el-drawer__title{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:16px;line-height:inherit;margin:0}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{background-color:transparent;border:none;color:inherit;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-font-size-extra-large);outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;padding:var(--el-drawer-padding-primary)}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{bottom:0;height:100%;top:0}.el-drawer.btt,.el-drawer.ttb{left:0;right:0;width:100%}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{-webkit-transition:all var(--el-transition-duration);transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{background-color:transparent!important}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{-webkit-transform:translateX(100%);transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{-webkit-transform:translateX(-100%);transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{-webkit-transform:translateY(100%);transform:translateY(100%)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-font-size-base);line-height:1;position:relative;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper,.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:0}.el-dropdown .el-dropdown__caret-button{-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-left:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding-left:0;padding-right:0;width:32px}.el-dropdown .el-dropdown__caret-button>span{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{background:var(--el-overlay-color-lighter);bottom:-1px;content:"";display:block;left:0;position:absolute;top:-1px;width:1px}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;left:0;list-style:none;margin:0;padding:5px 0;position:relative;top:0;z-index:var(--el-dropdown-menu-index)}.el-dropdown-menu__item{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-text-color-regular);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;font-size:var(--el-font-size-base);line-height:22px;list-style:none;margin:0;outline:none;padding:5px 16px;white-space:nowrap}.el-dropdown-menu__item:not(.is-disabled):focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{font-size:14px;line-height:22px;padding:7px 20px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{font-size:12px;line-height:20px;padding:2px 12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:var(--el-empty-padding);text-align:center}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{height:100%;-o-object-fit:contain;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:top;width:100%}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:100%;vertical-align:top;width:100%}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);margin:0}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;box-sizing:border-box;-webkit-flex-shrink:0;flex-shrink:0;height:var(--el-footer-height);padding:var(--el-footer-padding)}.el-header{--el-header-padding:0 20px;--el-header-height:60px;box-sizing:border-box;-webkit-flex-shrink:0;flex-shrink:0;height:var(--el-header-height);padding:var(--el-header-padding)}.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder);-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-link-text-color);cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;outline:none;padding:0;position:relative;text-decoration:none;vertical-align:middle}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link.is-underline:hover:after{border-bottom:1px solid var(--el-link-hover-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link.el-link--default:after{border-color:var(--el-link-hover-text-color)}.el-link__inner{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--primary.is-underline:hover:after,.el-link.el-link--primary:after{border-color:var(--el-link-text-color)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--success.is-underline:hover:after,.el-link.el-link--success:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--warning.is-underline:hover:after,.el-link.el-link--warning:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--danger.is-underline:hover:after,.el-link.el-link--danger:after{border-color:var(--el-link-text-color)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--error.is-underline:hover:after,.el-link.el-link--error:after{border-color:var(--el-link-text-color)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.el-link--info.is-underline:hover:after,.el-link.el-link--info:after{border-color:var(--el-link-text-color)}.el-main{--el-main-padding:20px;box-sizing:border-box;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-basis:auto;flex-basis:auto;overflow:auto;padding:var(--el-main-padding)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{background-color:var(--el-menu-bg-color);border-right:1px solid var(--el-menu-border-color);box-sizing:border-box;list-style:none;margin:0;padding-left:0;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title{padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level)*var(--el-menu-level-padding));white-space:nowrap}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{border-right:none;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:1px solid var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-bottom:2px solid transparent;color:var(--el-menu-text-color);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;height:100%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:0}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{border-bottom:2px solid transparent;color:var(--el-menu-text-color);height:100%}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-menu-bg-color);color:var(--el-menu-text-color);display:-webkit-box;display:-webkit-flex;display:flex;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{background-color:var(--el-menu-hover-bg-color);color:var(--el-menu-hover-text-color);outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding)*2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{border:none;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light);min-width:200px;padding:5px 0;z-index:100}.el-menu .el-icon{-webkit-flex-shrink:0;flex-shrink:0}.el-menu-item{-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;-webkit-transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-menu-item [class^=el-icon]{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;height:100%;left:0;padding:0 var(--el-menu-base-level-padding);position:absolute;top:0;width:100%}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;-webkit-transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:focus,.el-sub-menu__title:hover{outline:none}.el-sub-menu__title.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu .el-icon{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;margin-right:0;margin-top:-6px;position:absolute;right:var(--el-menu-base-level-padding);top:50%;-webkit-transition:-webkit-transform var(--el-transition-duration);transition:-webkit-transform var(--el-transition-duration);transition:transform var(--el-transition-duration);transition:transform var(--el-transition-duration),-webkit-transform var(--el-transition-duration);width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{color:var(--el-text-color-secondary);font-size:12px;line-height:normal;padding:7px 0 7px var(--el-menu-base-level-padding)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{opacity:0;-webkit-transition:var(--el-transition-duration-fast);transition:var(--el-transition-duration-fast)}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);-webkit-backface-visibility:hidden;backface-visibility:hidden;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);box-shadow:var(--el-messagebox-box-shadow);box-sizing:border-box;display:inline-block;font-size:var(--el-messagebox-font-size);max-width:var(--el-messagebox-width);overflow:hidden;overflow-wrap:break-word;padding:var(--el-messagebox-padding-primary);position:relative;text-align:left;vertical-align:middle;width:100%}.el-message-box:focus{outline:none!important}.el-overlay.is-message-box .el-overlay-message-box{inset:0;overflow:auto;padding:16px;position:fixed;text-align:center}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size, 16px))}.el-message-box__title{color:var(--el-messagebox-title-color);font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;gap:12px}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;gap:6px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.fade-in-linear-enter-active .el-overlay-message-box{-webkit-animation:msgbox-fade-in var(--el-transition-duration);animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@-webkit-keyframes msgbox-fade-in{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes msgbox-fade-in{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;gap:8px;left:50%;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;top:20px;-webkit-transform:translateX(-50%);transform:translate(-50%);-webkit-transition:opacity var(--el-transition-duration),top .4s,-webkit-transform .4s;transition:opacity var(--el-transition-duration),top .4s,-webkit-transform .4s;transition:opacity var(--el-transition-duration),transform .4s,top .4s;transition:opacity var(--el-transition-duration),transform .4s,top .4s,-webkit-transform .4s;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content}.el-message.is-center{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size,16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular);background-color:var(--el-bg-color-overlay);border:1px solid var(--el-notification-border-color);border-radius:var(--el-notification-radius);box-shadow:var(--el-notification-shadow);box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;overflow:hidden;overflow-wrap:break-word;padding:var(--el-notification-padding);position:fixed;-webkit-transition:opacity var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration),-webkit-transform var(--el-transition-duration);transition:opacity var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration),-webkit-transform var(--el-transition-duration);transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration),-webkit-transform var(--el-transition-duration);width:var(--el-notification-width);z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right)}.el-notification__title{color:var(--el-notification-title-color);font-size:var(--el-notification-title-font-size);font-weight:700;line-height:var(--el-notification-icon-size);margin:0}.el-notification__content{color:var(--el-notification-content-color);font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0}.el-notification__content p{margin:0}.el-notification .el-notification__icon{font-size:var(--el-notification-icon-size);height:var(--el-notification-icon-size);width:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{color:var(--el-notification-close-color);cursor:pointer;font-size:var(--el-notification-close-font-size);position:absolute;right:15px;top:18px}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;-webkit-transform:translateX(100%);transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;-webkit-transform:translateX(-100%);transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;line-height:24px}.el-page-header__left{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;margin-right:40px;position:relative}.el-page-header__back{-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;font-size:16px;margin-right:10px}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.el-pagination{--el-pagination-font-size:14px;--el-pagination-bg-color:var(--el-fill-color-blank);--el-pagination-text-color:var(--el-text-color-primary);--el-pagination-border-radius:2px;--el-pagination-button-color:var(--el-text-color-primary);--el-pagination-button-width:32px;--el-pagination-button-height:32px;--el-pagination-button-disabled-color:var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color:var(--el-fill-color-blank);--el-pagination-button-bg-color:var(--el-fill-color);--el-pagination-hover-color:var(--el-color-primary);--el-pagination-font-size-small:12px;--el-pagination-button-width-small:24px;--el-pagination-button-height-small:24px;--el-pagination-button-width-large:40px;--el-pagination-button-height-large:40px;--el-pagination-item-gap:16px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-pagination-text-color);display:-webkit-box;display:-webkit-flex;display:flex;font-size:var(--el-pagination-font-size);font-weight:400;white-space:nowrap}.el-pagination .el-input__inner{-moz-appearance:textfield;text-align:center}.el-pagination .el-select{width:128px}.el-pagination button{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pagination button *{pointer-events:none}.el-pagination button:focus{outline:none}.el-pagination button.is-active,.el-pagination button:hover{color:var(--el-pagination-hover-color)}.el-pagination button.is-active{cursor:default;font-weight:700}.el-pagination button.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pagination button.is-disabled,.el-pagination button:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pagination button:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination>.is-first{margin-left:0!important}.el-pagination>.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{color:var(--el-text-color-regular);font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-text-color-regular);display:-webkit-box;display:-webkit-flex;display:flex;font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{box-sizing:border-box;text-align:center}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{background-color:var(--el-pagination-button-bg-color);margin:0 4px}.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .el-pager li.is-disabled,.el-pagination.is-background .el-pager li:disabled{background-color:var(--el-disabled-bg-color);color:var(--el-text-color-placeholder)}.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active{background-color:var(--el-fill-color-dark);color:var(--el-text-color-secondary)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li{font-size:var(--el-pagination-font-size-small);height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pagination--large .btn-next,.el-pagination--large .btn-prev,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{font-size:0;list-style:none;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-pager,.el-pager li{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex}.el-pager li{background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li.is-active,.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pager li.is-disabled,.el-pager li:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm__main{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{margin-top:8px;text-align:right}.el-rate{--el-rate-height:20px;--el-rate-font-size:var(--el-font-size-base);--el-rate-icon-size:18px;--el-rate-icon-margin:6px;--el-rate-void-color:var(--el-border-color-darker);--el-rate-fill-color:#f7ba2a;--el-rate-disabled-void-color:var(--el-fill-color);--el-rate-text-color:var(--el-text-color-primary);-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;height:32px}.el-rate:active,.el-rate:focus{outline:none}.el-rate__item{color:var(--el-rate-void-color);cursor:pointer;display:inline-block;font-size:0;line-height:normal;position:relative;vertical-align:middle}.el-rate .el-rate__icon{display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);position:relative;-webkit-transition:var(--el-transition-duration);transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{-webkit-transform:scale(1.15);transform:scale(1.15)}.el-rate .el-rate__icon .path2{left:0;position:absolute;top:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{color:var(--el-rate-fill-color);display:inline-block;overflow:hidden}.el-rate__decimal,.el-rate__decimal--box{left:0;position:absolute;top:0}.el-rate__text{color:var(--el-rate-text-color);font-size:var(--el-rate-font-size);vertical-align:middle}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{color:var(--el-rate-disabled-void-color);cursor:auto}.el-result{--el-result-padding:40px 30px;--el-result-icon-font-size:64px;--el-result-title-font-size:20px;--el-result-title-margin-top:20px;--el-result-subtitle-margin-top:10px;--el-result-extra-margin-top:30px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:var(--el-result-padding);text-align:center}.el-result__icon svg{height:var(--el-result-icon-font-size);width:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{color:var(--el-text-color-primary);font-size:var(--el-result-title-font-size);line-height:1.3;margin:0}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1.3;margin:0}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color:var(--el-color-primary);color:var(--el-result-color)}.el-result .icon-success{--el-result-color:var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color:var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color:var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{background-color:var(--el-color-primary);background-position:50%;background-repeat:no-repeat;border-right:none;border-top:none;content:"";height:12px;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;position:absolute;right:20px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:12px}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);border-radius:var(--el-border-radius-base);display:inline-block;height:16px;width:100%}.el-skeleton__circle{border-radius:50%;height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size);width:var(--el-skeleton-circle-size)}.el-skeleton__button{border-radius:4px;height:40px;width:64px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{height:var(--el-font-size-small);width:100%}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-radius:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:unset}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:22%;width:22%}.el-skeleton{--el-skeleton-color:var(--el-fill-color);--el-skeleton-to-color:var(--el-fill-color-darker)}@-webkit-keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{background:var(--el-skeleton-color);height:16px;margin-top:16px}.el-skeleton.is-animated .el-skeleton__item{-webkit-animation:el-skeleton-loading 1.4s ease infinite;animation:el-skeleton-loading 1.4s ease infinite;background:-webkit-linear-gradient(left,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%}.el-space{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;vertical-align:top}.el-space__item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.el-space__item>*{-webkit-box-flex:1;-webkit-flex:1;flex:1}.el-space--vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.el-time-spinner{white-space:nowrap;width:100%}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite;height:50px;width:50px}.el-spinner-inner .path{stroke:var(--el-border-color-lighter);stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite}@-webkit-keyframes rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-step{-webkit-flex-shrink:1;flex-shrink:1;position:relative}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{-webkit-flex-basis:auto!important;flex-basis:auto!important;-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0;-webkit-flex-shrink:0;flex-shrink:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{border-color:var(--el-text-color-primary);color:var(--el-text-color-primary)}.el-step__head.is-wait{border-color:var(--el-text-color-placeholder);color:var(--el-text-color-placeholder)}.el-step__head.is-success{border-color:var(--el-color-success);color:var(--el-color-success)}.el-step__head.is-error{border-color:var(--el-color-danger);color:var(--el-color-danger)}.el-step__head.is-finish{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-step__icon{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:var(--el-bg-color);box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:14px;height:24px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:relative;-webkit-transition:.15s ease-out;transition:.15s ease-out;width:24px;z-index:1}.el-step__icon.is-text{border:2px solid;border-color:inherit;border-radius:50%}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{color:inherit;display:inline-block;font-weight:700;line-height:1;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{-webkit-transform:translateY(1px);transform:translateY(1px)}.el-step__line{background-color:var(--el-text-color-placeholder);border-color:inherit;position:absolute}.el-step__line-inner{border:1px solid;border-color:inherit;box-sizing:border-box;display:block;height:0;-webkit-transition:.15s ease-out;transition:.15s ease-out;width:0}.el-step__main{text-align:left;white-space:normal}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{color:var(--el-text-color-primary);font-weight:700}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{font-size:12px;font-weight:400;line-height:20px;margin-top:-5px;padding-right:10%}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;left:0;right:0;top:11px}.el-step.is-vertical{display:-webkit-box;display:-webkit-flex;display:flex}.el-step.is-vertical .el-step__head{-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;padding-left:10px}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{bottom:0;left:11px;top:0;width:2px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex}.el-step.is-simple .el-step__head{font-size:0;padding-right:10px;width:auto}.el-step.is-simple .el-step__icon{background:transparent;font-size:12px;height:16px;width:16px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{-webkit-transform:scale(.8) translateY(1px);transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;position:relative}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;overflow-wrap:break-word}.el-step.is-simple .el-step__arrow{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{background:var(--el-text-color-placeholder);content:"";display:inline-block;height:15px;position:absolute;width:1px}.el-step.is-simple .el-step__arrow:before{-webkit-transform:rotate(-45deg) translateY(-4px);transform:rotate(-45deg) translateY(-4px);-webkit-transform-origin:0 0;transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{-webkit-transform:rotate(45deg) translateY(4px);transform:rotate(45deg) translateY(4px);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{display:-webkit-box;display:-webkit-flex;display:flex}.el-steps--simple{background:var(--el-fill-color-light);border-radius:4px;padding:13px 8%}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column;flex-flow:column;height:100%}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{background-color:#fff;border:1px solid var(--el-border-color-lighter);border-radius:2px;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{list-style:none;margin:0;min-width:100px;padding:5px 0}.el-table-filter__list-item{cursor:pointer;font-size:var(--el-font-size-base);line-height:36px;padding:0 10px}.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{background:transparent;border:none;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button:focus{outline:none}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;height:unset;margin-bottom:12px;margin-left:5px;margin-right:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-bg-color);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-bg-color);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0,0,0,.15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0,0,0,.15);--el-table-index:var(--el-index-normal);background-color:var(--el-table-bg-color);box-sizing:border-box;color:var(--el-table-text-color);font-size:14px;height:-moz-fit-content;height:-webkit-fit-content;height:fit-content;max-width:100%;overflow:hidden;position:relative;width:100%}.el-table__inner-wrapper{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:100%;position:relative}.el-table__inner-wrapper:before{bottom:0;height:1px;left:0}.el-table tbody:focus-visible{outline:none}.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell,.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell{border-bottom-color:transparent}.el-table__empty-block{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;left:0;min-height:60px;position:-webkit-sticky;position:sticky;text-align:center;width:100%}.el-table__empty-text{color:var(--el-text-color-secondary);line-height:60px;width:50%}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table__expand-icon{color:var(--el-text-color-regular);cursor:pointer;font-size:12px;height:20px;position:relative;-webkit-transition:-webkit-transform var(--el-transition-duration-fast) ease-in-out;transition:-webkit-transform var(--el-transition-duration-fast) ease-in-out;transition:transform var(--el-transition-duration-fast) ease-in-out;transition:transform var(--el-transition-duration-fast) ease-in-out,-webkit-transform var(--el-transition-duration-fast) ease-in-out}.el-table__expand-icon--expanded{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-bottom:0;border-right:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--fit .el-table__inner-wrapper:before{width:100%}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{box-sizing:border-box;min-width:0;padding:8px 0;position:relative;text-align:left;text-overflow:ellipsis;vertical-align:middle;z-index:var(--el-table-index)}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{border-bottom-width:0;border-right-width:0;padding:0;width:15px}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;line-height:23px;overflow:hidden;overflow-wrap:break-word;padding:0 12px;text-overflow:ellipsis;white-space:normal}.el-table .cell.el-tooltip{min-width:50px;white-space:nowrap}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:14px}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{background:#ff4d51;border-radius:50%;content:"";display:inline-block;height:8px;margin-right:5px;vertical-align:middle;width:8px}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border .el-table__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{background-color:var(--el-table-border-color);content:"";position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table--border .el-table__inner-wrapper:after{height:1px;left:0;top:0;width:100%;z-index:calc(var(--el-table-index) + 2)}.el-table--border:before{height:100%;left:0;top:-1px;width:1px}.el-table--border:after{height:100%;right:0;top:-1px;width:1px}.el-table--border .el-table__inner-wrapper{border-bottom:none;border-right:none}.el-table--border .el-table__footer-wrapper{-webkit-flex-shrink:0;flex-shrink:0;position:relative}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right,.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background:inherit;position:-webkit-sticky!important;position:sticky!important;z-index:calc(var(--el-table-index) + 1)}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{bottom:-1px;box-shadow:none;content:"";overflow-x:hidden;overflow-y:hidden;pointer-events:none;position:absolute;top:0;touch-action:none;width:10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{box-shadow:none;right:-10px}.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch,.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch{background:#fff;position:-webkit-sticky!important;position:sticky!important;right:0;z-index:calc(var(--el-table-index) + 1)}.el-table__header-wrapper{-webkit-flex-shrink:0;flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body,.el-table__footer,.el-table__header{border-collapse:separate;table-layout:fixed}.el-table__header-wrapper{overflow:hidden}.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__footer-wrapper{-webkit-flex-shrink:0;flex-shrink:0;overflow:hidden}.el-table__footer-wrapper tfoot td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__body-wrapper .el-table-column--selection>.cell,.el-table__header-wrapper .el-table-column--selection>.cell{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;height:23px}.el-table__body-wrapper .el-table-column--selection .el-checkbox,.el-table__header-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:14px;overflow:initial;position:relative;vertical-align:middle;width:24px}.el-table .sort-caret{border:5px solid transparent;height:0;left:7px;position:absolute;width:0}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{position:absolute;visibility:hidden;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell,.el-table__body tr>td.hover-cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table.el-table--scrollable-y .el-table__body-header{position:-webkit-sticky;position:sticky;top:0;z-index:calc(var(--el-table-index) + 2)}.el-table.el-table--scrollable-y .el-table__body-footer{bottom:0;position:-webkit-sticky;position:sticky;z-index:calc(var(--el-table-index) + 2)}.el-table__column-resize-proxy{border-left:var(--el-table-border);bottom:0;left:200px;position:absolute;top:0;width:0;z-index:calc(var(--el-table-index) + 9)}.el-table__column-filter-trigger{cursor:pointer;display:inline-block}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{height:100%;top:0;width:1px}.el-table__border-bottom-patch,.el-table__border-left-patch{background-color:var(--el-table-border-color);left:0;position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table__border-bottom-patch{height:1px}.el-table__border-right-patch{background-color:var(--el-table-border-color);height:100%;position:absolute;top:0;width:1px;z-index:calc(var(--el-table-index) + 2)}.el-table--enable-row-transition .el-table__body td.el-table__cell{-webkit-transition:background-color .25s ease;transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;height:12px;line-height:12px;margin-right:8px;text-align:center;width:12px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-bg-color);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-bg-color);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0,0,0,.15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0,0,0,.15);--el-table-index:var(--el-index-normal);font-size:14px}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{background-color:var(--el-bg-color);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{background-color:var(--el-bg-color);box-shadow:2px 0 4px #0000000f;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0;z-index:1}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__horizontal,.el-table-v2__left .el-vl__vertical{z-index:-1}.el-table-v2__right{background-color:var(--el-bg-color);box-shadow:-2px 0 4px #0000000f;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse;overflow:hidden;position:absolute;right:0;top:0;z-index:1}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__horizontal,.el-table-v2__right .el-vl__vertical{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{-webkit-padding-end:var(--el-table-scrollbar-size);-moz-padding-end:var(--el-table-scrollbar-size);padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{overflow:hidden;position:relative}.el-table-v2__footer{bottom:0;overflow:hidden;right:0}.el-table-v2__empty,.el-table-v2__footer,.el-table-v2__overlay{left:0;position:absolute}.el-table-v2__overlay{bottom:0;right:0;top:0;z-index:9999}.el-table-v2__header-row{border-bottom:var(--el-table-border);display:-webkit-box;display:-webkit-flex;display:flex}.el-table-v2__header-cell{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-table-header-bg-color);color:var(--el-table-header-text-color);display:-webkit-box;display:-webkit-flex;display:flex;font-weight:700;height:100%;overflow:hidden;padding:0 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__header-cell.is-align-center{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.el-table-v2__header-cell.is-align-right{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;text-align:right}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{display:none;opacity:.6;-webkit-transition:opacity,display var(--el-transition-duration);transition:opacity,display var(--el-transition-duration)}.el-table-v2__sort-icon.is-sorting{display:block;opacity:1}.el-table-v2__row{-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-bottom:var(--el-table-border);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-transition:background-color var(--el-transition-duration);transition:background-color var(--el-transition-duration)}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;height:100%;overflow:hidden;padding:0 8px}.el-table-v2__row-cell.is-align-center{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.el-table-v2__row-cell.is-align-right{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;text-align:right}.el-table-v2__expand-icon{cursor:pointer;margin:0 4px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__expand-icon svg{-webkit-transition:-webkit-transform var(--el-transition-duration);transition:-webkit-transform var(--el-transition-duration);transition:transform var(--el-transition-duration);transition:transform var(--el-transition-duration),-webkit-transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-table-v2.is-dynamic .el-table-v2__row{-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{overflow-wrap:break-word}.el-tabs{--el-tabs-header-height:40px;display:-webkit-box;display:-webkit-flex;display:flex}.el-tabs__header{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin:0 0 15px;padding:0;position:relative}.el-tabs__header-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.el-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;-webkit-transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),-webkit-transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),-webkit-transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),-webkit-transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);z-index:1}.el-tabs__new-tab{-webkit-box-align:center;-webkit-align-items:center;align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;font-size:12px;height:20px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;-webkit-transition:all .15s;transition:all .15s;width:20px}.el-tabs__new-tab .is-icon-plus{height:inherit;-webkit-transform:scale(.8);transform:scale(.8);width:inherit}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{-webkit-box-flex:1;-webkit-flex:1 auto;flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.el-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:-webkit-box;display:-webkit-flex;display:flex;float:left;position:relative;-webkit-transition:-webkit-transform var(--el-transition-duration);transition:-webkit-transform var(--el-transition-duration);transition:transform var(--el-transition-duration);transition:transform var(--el-transition-duration),-webkit-transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{display:-webkit-box;display:-webkit-flex;display:flex;min-width:100%}.el-tabs__nav.is-stretch>*{-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:center}.el-tabs__item{-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:-webkit-box;display:-webkit-flex;display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;list-style:none;padding:0 20px;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.el-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;-webkit-transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs__item .is-icon-close:before{display:inline-block;-webkit-transform:scale(.9);transform:scale(.9)}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active,.el-tabs__item:hover{color:var(--el-color-primary)}.el-tabs__item:hover{cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;overflow:hidden;position:relative}.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;-webkit-transform-origin:100% 50%;transform-origin:100% 50%;width:0}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);-webkit-transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;-webkit-transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-bottom:0;margin-top:-1px}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{bottom:auto;height:auto;top:0;width:2px}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{bottom:0;right:auto}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{bottom:auto;height:100%;top:0;width:2px}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.el-tabs--left{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right:1px solid #fff}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:rgb(209,219,229) transparent}.el-tabs--right .el-tabs__header.is-right{margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:1px solid #fff;border-right:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:rgb(209,219,229) transparent}.el-tabs--top{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{-webkit-animation:slideInRight-enter var(--el-transition-duration);animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{-webkit-animation:slideInRight-leave var(--el-transition-duration);animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{-webkit-animation:slideInLeft-enter var(--el-transition-duration);animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{-webkit-animation:slideInLeft-leave var(--el-transition-duration);animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@-webkit-keyframes slideInRight-enter{0%{opacity:0;-webkit-transform:translateX(100%);transform:translate(100%);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}}@keyframes slideInRight-enter{0%{opacity:0;-webkit-transform:translateX(100%);transform:translate(100%);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}}@-webkit-keyframes slideInRight-leave{0%{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:0;-webkit-transform:translateX(100%);transform:translate(100%);-webkit-transform-origin:0 0;transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:0;-webkit-transform:translateX(100%);transform:translate(100%);-webkit-transform-origin:0 0;transform-origin:0 0}}@-webkit-keyframes slideInLeft-enter{0%{opacity:0;-webkit-transform:translateX(-100%);transform:translate(-100%);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;-webkit-transform:translateX(-100%);transform:translate(-100%);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}}@-webkit-keyframes slideInLeft-leave{0%{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:0;-webkit-transform:translateX(-100%);transform:translate(-100%);-webkit-transform-origin:0 0;transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;-webkit-transform:translateX(0);transform:translate(0);-webkit-transform-origin:0 0;transform-origin:0 0}to{opacity:0;-webkit-transform:translateX(-100%);transform:translate(-100%);-webkit-transform-origin:0 0;transform-origin:0 0}}.el-text{--el-text-font-size:var(--el-font-size-base);--el-text-color:var(--el-text-color-regular);-webkit-align-self:center;align-self:center;color:var(--el-text-color);font-size:var(--el-text-font-size);margin:0;overflow-wrap:break-word;padding:0}.el-text.is-truncated{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-text.is-line-clamp{display:-webkit-inline-box;-webkit-box-orient:vertical;overflow:hidden}.el-text--large{--el-text-font-size:var(--el-font-size-medium)}.el-text--default{--el-text-font-size:var(--el-font-size-base)}.el-text--small{--el-text-font-size:var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color:var(--el-color-primary)}.el-text.el-text--success{--el-text-color:var(--el-color-success)}.el-text.el-text--warning{--el-text-color:var(--el-color-warning)}.el-text.el-text--danger{--el-text-color:var(--el-color-danger)}.el-text.el-text--error{--el-text-color:var(--el-color-error)}.el-text.el-text--info{--el-text-color:var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{margin:0;max-height:200px}.time-select-item{font-size:14px;line-height:20px;padding:8px 10px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);cursor:pointer;font-weight:700}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{padding-left:28px;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;left:4px;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:absolute}.el-timeline-item__node--normal{height:var(--el-timeline-node-size-normal);left:-1px;width:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{height:var(--el-timeline-node-size-large);left:-2px;width:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);font-size:var(--el-font-size-small);line-height:1}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);list-style:none;margin:0}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-tooltip-v2__content{--el-tooltip-v2-padding:5px 10px;--el-tooltip-v2-border-radius:4px;--el-tooltip-v2-border-color:var(--el-border-color);background-color:var(--el-color-white);border:1px solid var(--el-border-color);border-radius:var(--el-tooltip-v2-border-radius);color:var(--el-color-black);padding:var(--el-tooltip-v2-padding)}.el-tooltip-v2__arrow{color:var(--el-color-white);height:var(--el-tooltip-v2-arrow-height);left:var(--el-tooltip-v2-arrow-x);pointer-events:none;position:absolute;top:var(--el-tooltip-v2-arrow-y);width:var(--el-tooltip-v2-arrow-width)}.el-tooltip-v2__arrow:after,.el-tooltip-v2__arrow:before{border:var(--el-tooltip-v2-arrow-border-width) solid transparent;content:"";height:0;position:absolute;width:0}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow{bottom:0}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:before{border-bottom:0;border-top-color:var(--el-color-white);border-top-width:var(--el-tooltip-v2-arrow-border-width);top:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:after{border-bottom:0;border-top-color:var(--el-border-color);border-top-width:var(--el-tooltip-v2-arrow-border-width);top:100%;z-index:-1}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow{top:0}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:before{border-bottom-color:var(--el-color-white);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:after{border-bottom-color:var(--el-border-color);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:100%;z-index:-1}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow{right:0}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:before{border-left-color:var(--el-color-white);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:after{border-left-color:var(--el-border-color);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:100%;z-index:-1}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow{left:0}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:before{border-left:0;border-right-color:var(--el-color-white);border-right-width:var(--el-tooltip-v2-arrow-border-width);right:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:after{border-left:0;border-right-color:var(--el-border-color);border-right-width:var(--el-tooltip-v2-arrow-border-width);right:100%;z-index:-1}.el-tooltip-v2__content.is-dark{--el-tooltip-v2-border-color:transparent;color:var(--el-color-white)}.el-tooltip-v2__content.is-dark,.el-tooltip-v2__content.is-dark .el-tooltip-v2__arrow{background-color:var(--el-color-black);border-color:transparent}.el-transfer{--el-transfer-border-color:var(--el-border-color-lighter);--el-transfer-border-radius:var(--el-border-radius-base);--el-transfer-panel-width:200px;--el-transfer-panel-header-height:40px;--el-transfer-panel-header-bg-color:var(--el-fill-color-light);--el-transfer-panel-footer-height:40px;--el-transfer-panel-body-height:278px;--el-transfer-item-height:30px;--el-transfer-filter-height:32px;font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;padding:0 30px;vertical-align:middle}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{background:var(--el-bg-color-overlay);box-sizing:border-box;display:inline-block;max-height:100%;overflow:hidden;position:relative;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width)}.el-transfer-panel__body{border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);height:var(--el-transfer-panel-body-height);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.el-transfer-panel__list{box-sizing:border-box;height:var(--el-transfer-panel-body-height);list-style:none;margin:0;overflow:auto;padding:6px 0}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{display:block!important;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular)}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{box-sizing:border-box;display:block;line-height:var(--el-transfer-item-height);overflow:hidden;padding-left:22px;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{box-sizing:border-box;padding:15px;text-align:center}.el-transfer-panel__filter .el-input__inner{border-radius:calc(var(--el-transfer-filter-height)/2);box-sizing:border-box;display:inline-block;font-size:12px;height:var(--el-transfer-filter-height);width:100%}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:var(--el-transfer-panel-header-bg-color);border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black);display:-webkit-box;display:-webkit-flex;display:flex;height:var(--el-transfer-panel-header-height);margin:0;padding-left:15px}.el-transfer-panel .el-transfer-panel__header .el-checkbox{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;width:100%}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{color:var(--el-text-color-primary);font-size:16px;font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{color:var(--el-text-color-secondary);font-size:12px;font-weight:400;position:absolute;right:15px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.el-transfer-panel .el-transfer-panel__footer{background:var(--el-bg-color-overlay);border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);height:var(--el-transfer-panel-footer-height);margin:0;padding:0}.el-transfer-panel .el-transfer-panel__footer:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{color:var(--el-text-color-regular);padding-left:20px}.el-transfer-panel .el-transfer-panel__empty{color:var(--el-text-color-secondary);height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);margin:0;padding:6px 15px 0;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-transfer-panel .el-checkbox__inner{border-radius:3px;height:14px;width:14px}.el-transfer-panel .el-checkbox__inner:after{height:6px;left:4px;width:3px}.el-tree{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder);background:var(--el-fill-color-blank);color:var(--el-tree-text-color);cursor:default;font-size:var(--el-font-size-base);position:relative}.el-tree__empty-block{height:100%;min-height:60px;position:relative;text-align:center;width:100%}.el-tree__empty-text{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.el-tree__drop-indicator{background-color:var(--el-color-primary);height:1px;left:0;position:absolute;right:0}.el-tree-node{outline:none;white-space:nowrap}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{--el-checkbox-height:var(--el-tree-node-content-height);-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;height:var(--el-tree-node-content-height)}.el-tree-node__content>.el-tree-node__expand-icon{box-sizing:content-box;padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{color:var(--el-tree-expand-icon-color);cursor:pointer;font-size:12px;-webkit-transform:rotate(0deg);transform:rotate(0);-webkit-transition:-webkit-transform var(--el-transition-duration) ease-in-out;transition:-webkit-transform var(--el-transition-duration) ease-in-out;transition:transform var(--el-transition-duration) ease-in-out;transition:transform var(--el-transition-duration) ease-in-out,-webkit-transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{color:var(--el-tree-expand-icon-color);font-size:var(--el-font-size-base);margin-right:8px}.el-tree-node>.el-tree-node__children{background-color:transparent;overflow:hidden}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__list>.el-select-dropdown__item{padding-left:32px}.el-tree-select__popper .el-select-dropdown__item{background:transparent!important;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:20px;line-height:20px;padding-left:0}.el-vl__wrapper{position:relative}.el-vl__wrapper.always-on .el-virtual-scrollbar,.el-vl__wrapper:hover .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;-webkit-transition:opacity .34s ease-out;transition:opacity .34s ease-out}.el-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-statistic{--el-statistic-title-font-weight:400;--el-statistic-title-font-size:var(--el-font-size-extra-small);--el-statistic-title-color:var(--el-text-color-regular);--el-statistic-content-font-weight:400;--el-statistic-content-font-size:var(--el-font-size-extra-large);--el-statistic-content-color:var(--el-text-color-primary)}.el-statistic__head{color:var(--el-statistic-title-color);font-size:var(--el-statistic-title-font-size);font-weight:var(--el-statistic-title-font-weight);line-height:20px;margin-bottom:4px}.el-statistic__content{color:var(--el-statistic-content-color);font-size:var(--el-statistic-content-font-size);font-weight:var(--el-statistic-content-font-weight)}.el-statistic__value{display:inline-block}.el-statistic__prefix{display:inline-block;margin-right:4px}.el-statistic__suffix{display:inline-block;margin-left:4px}.el-tour{--el-tour-width:520px;--el-tour-padding-primary:12px;--el-tour-font-line-height:var(--el-font-line-height-primary);--el-tour-title-font-size:16px;--el-tour-title-text-color:var(--el-text-color-primary);--el-tour-title-font-weight:400;--el-tour-close-color:var(--el-color-info);--el-tour-font-size:14px;--el-tour-color:var(--el-text-color-primary);--el-tour-bg-color:var(--el-bg-color);--el-tour-border-radius:4px}.el-tour__hollow{-webkit-transition:all var(--el-transition-duration) ease;transition:all var(--el-transition-duration) ease}.el-tour__content{border-radius:var(--el-tour-border-radius);box-shadow:var(--el-box-shadow-light);outline:none;overflow-wrap:break-word;padding:var(--el-tour-padding-primary);width:var(--el-tour-width)}.el-tour__arrow,.el-tour__content{background:var(--el-tour-bg-color);box-sizing:border-box}.el-tour__arrow{height:10px;pointer-events:none;position:absolute;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:10px}.el-tour__content[data-side^=top] .el-tour__arrow{border-left-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=bottom] .el-tour__arrow{border-bottom-color:transparent;border-right-color:transparent}.el-tour__content[data-side^=left] .el-tour__arrow{border-bottom-color:transparent;border-left-color:transparent}.el-tour__content[data-side^=right] .el-tour__arrow{border-right-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=top] .el-tour__arrow{bottom:-5px}.el-tour__content[data-side^=bottom] .el-tour__arrow{top:-5px}.el-tour__content[data-side^=left] .el-tour__arrow{right:-5px}.el-tour__content[data-side^=right] .el-tour__arrow{left:-5px}.el-tour__closebtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-tour__closebtn .el-tour__close{color:var(--el-tour-close-color);font-size:inherit}.el-tour__closebtn:focus .el-tour__close,.el-tour__closebtn:hover .el-tour__close{color:var(--el-color-primary)}.el-tour__header{padding-bottom:var(--el-tour-padding-primary)}.el-tour__header.show-close{padding-right:calc(var(--el-tour-padding-primary) + var(--el-message-close-size, 16px))}.el-tour__title{color:var(--el-tour-title-text-color);font-size:var(--el-tour-title-font-size);font-weight:var(--el-tour-title-font-weight);line-height:var(--el-tour-font-line-height)}.el-tour__body{color:var(--el-tour-text-color);font-size:var(--el-tour-font-size)}.el-tour__body img,.el-tour__body video{max-width:100%}.el-tour__footer{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding-top:var(--el-tour-padding-primary)}.el-tour__content .el-tour-indicators{display:inline-block;-webkit-box-flex:1;-webkit-flex:1;flex:1}.el-tour__content .el-tour-indicator{background:var(--el-color-info-light-9);border-radius:50%;display:inline-block;height:6px;margin-right:6px;width:6px}.el-tour__content .el-tour-indicator.is-active{background:var(--el-color-primary)}.el-tour.el-tour--primary{--el-tour-title-text-color:#fff;--el-tour-text-color:#fff;--el-tour-bg-color:var(--el-color-primary);--el-tour-close-color:#fff}.el-tour.el-tour--primary .el-tour__closebtn:focus .el-tour__close,.el-tour.el-tour--primary .el-tour__closebtn:hover .el-tour__close{color:var(--el-tour-title-text-color)}.el-tour.el-tour--primary .el-button--default{background:#fff;border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-tour.el-tour--primary .el-button--primary{border-color:#fff}.el-tour.el-tour--primary .el-tour-indicator{background:#ffffff26}.el-tour.el-tour--primary .el-tour-indicator.is-active{background:#fff}.el-tour-parent--hidden{overflow:hidden}.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);border-radius:4px;opacity:0;position:absolute;z-index:0}.el-anchor.el-anchor--vertical .el-anchor__marker{height:14px;left:0;top:8px;-webkit-transition:top .25s ease-in-out,opacity .25s;transition:top .25s ease-in-out,opacity .25s;width:4px}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{background-color:#0505050f;content:"";height:100%;left:0;position:absolute;width:2px}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{bottom:0;height:2px;-webkit-transition:left .25s ease-in-out,opacity .25s,width .25s;transition:left .25s ease-in-out,opacity .25s,width .25s;width:20px}.el-anchor.el-anchor--horizontal .el-anchor__list{display:-webkit-box;display:-webkit-flex;display:flex;padding-bottom:4px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{background-color:#0505050f;bottom:0;content:"";height:2px;position:absolute;width:100%}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;overflow:hidden}.el-anchor__link{cursor:pointer;font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);max-width:100%;outline:none;overflow:hidden;padding:4px 0;text-decoration:none;text-overflow:ellipsis;-webkit-transition:color var(--el-transition-duration);transition:color var(--el-transition-duration);white-space:nowrap}.el-anchor__link,.el-anchor__link:focus,.el-anchor__link:hover{color:var(--el-anchor-color)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}.el-segmented{--el-segmented-color:var(--el-text-color-regular);--el-segmented-bg-color:var(--el-fill-color-light);--el-segmented-padding:2px;--el-segmented-item-selected-color:var(--el-color-white);--el-segmented-item-selected-bg-color:var(--el-color-primary);--el-segmented-item-selected-disabled-bg-color:var(--el-color-primary-light-5);--el-segmented-item-hover-color:var(--el-text-color-primary);--el-segmented-item-hover-bg-color:var(--el-fill-color-dark);--el-segmented-item-active-bg-color:var(--el-fill-color-darker);--el-segmented-item-disabled-color:var(--el-text-color-placeholder);-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch;background:var(--el-segmented-bg-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-segmented-color);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:14px;min-height:32px;padding:var(--el-segmented-padding)}.el-segmented__group{-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;width:100%}.el-segmented__item-selected{background:var(--el-segmented-item-selected-bg-color);border-radius:calc(var(--el-border-radius-base) - 2px);height:100%;left:0;pointer-events:none;position:absolute;top:0;-webkit-transition:all .3s;transition:all .3s;width:10px}.el-segmented__item-selected.is-disabled{background:var(--el-segmented-item-selected-disabled-bg-color)}.el-segmented__item-selected.is-focus-visible:before{border-radius:inherit;content:"";inset:0;outline:2px solid var(--el-segmented-item-selected-bg-color);outline-offset:1px;position:absolute}.el-segmented__item{-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-radius:calc(var(--el-border-radius-base) - 2px);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:0 11px}.el-segmented__item:not(.is-disabled):not(.is-selected):hover{background:var(--el-segmented-item-hover-bg-color);color:var(--el-segmented-item-hover-color)}.el-segmented__item:not(.is-disabled):not(.is-selected):active{background:var(--el-segmented-item-active-bg-color)}.el-segmented__item.is-selected,.el-segmented__item.is-selected.is-disabled{color:var(--el-segmented-item-selected-color)}.el-segmented__item.is-disabled{color:var(--el-segmented-item-disabled-color);cursor:not-allowed}.el-segmented__item-input{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.el-segmented__item-label{-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:normal;overflow:hidden;text-align:center;text-overflow:ellipsis;-webkit-transition:color .3s;transition:color .3s;white-space:nowrap;z-index:1}.el-segmented.is-block{display:-webkit-box;display:-webkit-flex;display:flex}.el-segmented.is-block .el-segmented__item{min-width:0}.el-segmented--large{border-radius:var(--el-border-radius-base);font-size:16px;min-height:40px}.el-segmented--large .el-segmented__item,.el-segmented--large .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 2px)}.el-segmented--large .el-segmented__item{padding:0 11px}.el-segmented--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:14px;min-height:24px}.el-segmented--small .el-segmented__item,.el-segmented--small .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 3px)}.el-segmented--small .el-segmented__item{padding:0 7px}.el-mention{position:relative;width:100%}.el-mention__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-mention__popper.el-popper,.el-mention__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-mention__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-mention-dropdown{--el-mention-font-size:var(--el-font-size-base);--el-mention-bg-color:var(--el-bg-color-overlay);--el-mention-shadow:var(--el-box-shadow-light);--el-mention-border:1px solid var(--el-border-color-light);--el-mention-option-color:var(--el-text-color-regular);--el-mention-option-height:34px;--el-mention-option-min-width:100px;--el-mention-option-hover-background:var(--el-fill-color-light);--el-mention-option-selected-color:var(--el-color-primary);--el-mention-option-disabled-color:var(--el-text-color-placeholder);--el-mention-option-loading-color:var(--el-text-color-secondary);--el-mention-option-loading-padding:10px 0;--el-mention-max-height:174px;--el-mention-padding:6px 0;--el-mention-header-padding:10px;--el-mention-footer-padding:10px}.el-mention-dropdown__item{box-sizing:border-box;color:var(--el-mention-option-color);cursor:pointer;font-size:var(--el-mention-font-size);height:var(--el-mention-option-height);line-height:var(--el-mention-option-height);min-width:var(--el-mention-option-min-width);overflow:hidden;padding:0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-mention-dropdown__item.is-hovering{background-color:var(--el-mention-option-hover-background)}.el-mention-dropdown__item.is-selected{color:var(--el-mention-option-selected-color);font-weight:700}.el-mention-dropdown__item.is-disabled{background-color:unset;color:var(--el-mention-option-disabled-color);cursor:not-allowed}.el-mention-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-mention-dropdown__loading{color:var(--el-mention-option-loading-color);font-size:12px;margin:0;min-width:var(--el-mention-option-min-width);padding:10px 0;text-align:center}.el-mention-dropdown__wrap{max-height:var(--el-mention-max-height)}.el-mention-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:var(--el-mention-padding)}.el-mention-dropdown__header{border-bottom:var(--el-mention-border);padding:var(--el-mention-header-padding)}.el-mention-dropdown__footer{border-top:var(--el-mention-border);padding:var(--el-mention-footer-padding)}.i-icon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.i-icon-spin svg{-webkit-animation:i-icon-spin 1s infinite linear;animation:i-icon-spin 1s infinite linear}.i-icon-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@font-face{font-family:iconfont;src:url(./iconfont-DCXhYSiS.woff2?t=1716012055244) format("woff2"),url(./iconfont-C-G435_5.woff?t=1716012055244) format("woff"),url(./iconfont-BP-tiqG_.ttf?t=1716012055244) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-gpt:before{content:""}.icon-mask:before{content:""}.icon-ai:before{content:""}.icon-text-path:before{content:""}.icon-ruler:before{content:""}.icon-zuoxiajiao:before{content:""}.icon-radio-on:before{content:""}.icon-zuo:before{content:""}.icon-shipin:before{content:""}.icon-yijianfankui:before{content:""}.icon-you:before{content:""}.icon-ditudaohang-:before{content:""}.icon-kefu:before{content:""}.icon-icon_lupai:before{content:""}.icon-peizhi-kuaijiejian:before{content:""}.icon-juzuo:before{content:""}.icon-juzhong:before{content:""}.icon-hengpai:before{content:""}.icon-qingchu:before{content:""}.icon-yousuojin:before{content:""}.icon-zuosuojin:before{content:""}.icon-zitijiacu:before{content:""}.icon-zitishanchuxian:before{content:""}.icon-zitixiahuaxian:before{content:""}.icon-zitixieti:before{content:""}.icon-ziti:before{content:""}.icon-geshishua:before{content:""}.icon-chuizhijianju-:before{content:""}.icon-shuipingjianju-:before{content:""}.icon-zuoyoufanzhuan_huaban1:before{content:""}.icon-chuizhifanzhuan_huaban1:before{content:""}.icon-geshishua1:before{content:""}.icon-wenben:before{content:""}.icon-menu-application:before{content:""}.icon-caozuojiemiantubiao---_yuanjiao:before{content:""}.icon-24gl-circle:before{content:""}.icon-24gl-rectangle:before{content:""}.icon-yuanjiao-rect:before{content:""}.icon-zhijiao-triangle:before{content:""}.icon-yanse:before{content:""}.icon-zhijiaojuxing:before{content:""}.icon-shangyiyiceng:before{content:""}.icon-xiayiyiceng:before{content:""}.icon-zhidi:before{content:""}.icon-zhiding:before{content:""}.icon-shanchu:before{content:""}.icon-yanjing:before{content:""}.icon-biyan:before{content:""}.icon-jurassic_VerTop-fenbu:before{content:""}.icon-jurassic_horizalign-center:before{content:""}.icon-jurassic_horizalign-right:before{content:""}.icon-jurassic_horizalign-left:before{content:""}.icon-jurassic_verticalalign-bottom:before{content:""}.icon-jurassic_verticalalign-top:before{content:""}.icon-jurassic_verticalalign-center:before{content:""}.icon-layer:before{content:""}.icon-shanchu1:before{content:""}.icon-quxiaozuhe-copy:before{content:""}.icon-zuhe1:before{content:""}.icon-chexiao:before{content:""}.icon-zhongzuo:before{content:""}.icon-bianji:before{content:""}.icon-mobankuangjia:before{content:""}.icon-jiesuo:before{content:""}.icon-suoding:before{content:""}html,body{width:100%!important;height:100%;overflow:hidden;background-color:#fff;color:#41464b;margin:0}::-webkit-scrollbar{width:5px;height:5px;background-color:#fff}::-webkit-scrollbar-thumb{background-color:#c1c1c1}pre{margin-top:0;margin-bottom:1em;overflow:auto}.transparent-background{background-color:#f0f0f0;background-image:-webkit-linear-gradient(bottom left,#fff 25%,transparent 25%,transparent 75%,#fff 75%,#fff),-webkit-linear-gradient(bottom left,#fff 25%,transparent 25%,transparent 75%,#fff 75%,#fff);background-image:linear-gradient(to top right,#fff 25%,transparent 25%,transparent 75%,#fff 75%,#fff),linear-gradient(to top right,#fff 25%,transparent 25%,transparent 75%,#fff 75%,#fff);background-position:0 0,8px 8px;background-size:16px 16px;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none}@font-face{font-family:仓耳小丸子;src:url(./%E4%BB%93%E8%80%B3%E5%B0%8F%E4%B8%B8%E5%AD%90-BxnA5M7V.ttf)}@font-face{font-family:优设标题黑;src:url(./%E4%BC%98%E8%AE%BE%E6%A0%87%E9%A2%98%E9%BB%91-fahbdFno.ttf)}@font-face{font-family:峰广明锐体;src:url(./%E5%B3%B0%E5%B9%BF%E6%98%8E%E9%94%90%E4%BD%93-BTxaP5G3.ttf)}@font-face{font-family:摄图摩登小方体;src:url(./%E6%91%84%E5%9B%BE%E6%91%A9%E7%99%BB%E5%B0%8F%E6%96%B9%E4%BD%93-BdJFc8Cs.ttf)}@font-face{font-family:站酷快乐体;src:url(./%E7%AB%99%E9%85%B7%E5%BF%AB%E4%B9%90%E4%BD%93-CToocUJA.ttf)}@font-face{font-family:字制区喜脉体;src:url(./%E5%AD%97%E5%88%B6%E5%8C%BA%E5%96%9C%E8%84%89%E4%BD%93-BYpsNeup.ttf)}@font-face{font-family:素材集市康康体;src:url(./%E7%B4%A0%E6%9D%90%E9%9B%86%E5%B8%82%E5%BA%B7%E5%BA%B7%E4%BD%93-xsffqf2N.ttf)}@font-face{font-family:素材集市酷方体;src:url(./%E7%B4%A0%E6%9D%90%E9%9B%86%E5%B8%82%E9%85%B7%E6%96%B9%E4%BD%93-BKUKepSv.ttf)}@font-face{font-family:途牛类圆体;src:url(./%E9%80%94%E7%89%9B%E7%B1%BB%E5%9C%86%E4%BD%93-fDGXzC4Z.ttf)}@font-face{font-family:锐字真言体;src:url(./%E9%94%90%E5%AD%97%E7%9C%9F%E8%A8%80%E4%BD%93-CCHYvB8h.ttf)}@font-face{font-family:得意黑;src:url(./%E5%BE%97%E6%84%8F%E9%BB%91-I4VzAnJe.ttf)}@font-face{font-family:xuminY;src:url(../fonts/xuminY.ttf)}.el-row{width:100%}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";-webkit-font-feature-settings:normal;-moz-font-feature-settings:normal;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;-webkit-font-feature-settings:normal;-moz-font-feature-settings:normal;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;-webkit-font-feature-settings:inherit;-moz-font-feature-settings:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#9ca3af}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-left-\[300px\]{left:-300px}.bottom-\[5px\]{bottom:5px}.-z-\[200\]{z-index:-200}.z-10{z-index:10}.m-32{margin:8rem}.m-8{margin:2rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-10{margin-bottom:2.5rem}.mb-\[20px\]{margin-bottom:20px}.ml-5{margin-left:1.25rem}.mt-10{margin-top:2.5rem}.mt-5{margin-top:1.25rem}.mt-\[10px\]{margin-top:10px}.mt-\[20px\]{margin-top:20px}.mt-\[28px\]{margin-top:28px}.mt-\[40px\]{margin-top:40px}.mt-\[5px\]{margin-top:5px}.block{display:block}.flex{display:-webkit-box;display:-webkit-flex;display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-\[100px\]{height:100px}.h-\[100vh\]{height:100vh}.h-\[150px\]{height:150px}.h-\[170px\]{height:170px}.h-\[40px\]{height:40px}.h-\[45px\]{height:45px}.h-\[50px\]{height:50px}.h-\[59px\]{height:59px}.h-full{height:100%}.h-lvh{height:100lvh}.w-1\/2{width:50%}.w-1\/5{width:20%}.w-11\/12{width:91.666667%}.w-\[10px\]{width:10px}.w-\[150px\]{width:150px}.w-\[160px\]{width:160px}.w-\[170px\]{width:170px}.w-\[230px\]{width:230px}.w-\[235px\]{width:235px}.w-\[30px\]{width:30px}.w-\[50px\]{width:50px}.w-\[90px\]{width:90px}.w-full{width:100%}.flex-1{-webkit-box-flex:1;-webkit-flex:1 1 0%;flex:1 1 0%}.flex-shrink{-webkit-flex-shrink:1;flex-shrink:1}.flex-shrink-0{-webkit-flex-shrink:0;flex-shrink:0}.shrink{-webkit-flex-shrink:1;flex-shrink:1}.flex-grow{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1}.\!transform{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.transform{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.flex-col{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.flex-wrap{-webkit-flex-wrap:wrap;flex-wrap:wrap}.content-center{-webkit-align-content:center;align-content:center}.items-center{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.justify-end{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.justify-center{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.justify-between{-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-\[8px\]{border-radius:8px}.border{border-width:1px}.border-b,.border-b-\[1px\]{border-bottom-width:1px}.border-solid{border-style:solid}.border-\[\#eee\]{--tw-border-opacity: 1;border-color:rgb(238 238 238 / var(--tw-border-opacity))}.bg-\[\#fff\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-\[10px\]{padding:10px}.px-\[16px\]{padding-left:16px;padding-right:16px}.px-\[8px\]{padding-left:8px;padding-right:8px}.pt-\[20px\]{padding-top:20px}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-\[12px\]{font-size:12px}.text-\[16px\]{font-size:16px}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-\[800\]{font-weight:800}.font-bold{font-weight:700}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-snug{line-height:1.375}.text-\[\#1e2ad7\]{--tw-text-opacity: 1;color:rgb(30 42 215 / var(--tw-text-opacity))}.text-\[\#222529\]{--tw-text-opacity: 1;color:rgb(34 37 41 / var(--tw-text-opacity))}.text-\[\#9da3ac\]{--tw-text-opacity: 1;color:rgb(157 163 172 / var(--tw-text-opacity))}.underline{-moz-text-decoration-line:underline;text-decoration-line:underline}.overline{-moz-text-decoration-line:overline;text-decoration-line:overline}.line-through{-moz-text-decoration-line:line-through;text-decoration-line:line-through}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sepia{--tw-sepia: sepia(100%);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-moz-text-decoration-color,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.before\:transform:before{content:var(--tw-content);-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.svg-icon[data-v-2e52bf5e]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.svg-external-icon[data-v-2e52bf5e]{background-color:currentColor;-webkit-mask-size:cover!important;mask-size:cover!important;display:inline-block}.input[data-v-b2d0b82e]{display:none}.checkerboard[data-v-b1c2a1c4]{background-size:contain;position:absolute;inset:0}.alpha[data-v-fe195959]{position:absolute;inset:0}.alpha-checkboard-wrap[data-v-fe195959]{overflow:hidden;position:absolute;inset:0}.alpha-gradient[data-v-fe195959]{position:absolute;inset:0}.alpha-container[data-v-fe195959]{cursor:pointer;position:relative;z-index:2;height:100%;margin:0 3px}.alpha-pointer[data-v-fe195959]{z-index:2;position:absolute}.alpha-picker[data-v-fe195959]{cursor:pointer;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;-webkit-transform:translateX(-2px);transform:translate(-2px)}.hue[data-v-f9d05544]{background:-webkit-linear-gradient(left,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);position:absolute;inset:0}.hue-container[data-v-f9d05544]{cursor:pointer;margin:0 2px;position:relative;height:100%}.hue-pointer[data-v-f9d05544]{z-index:2;position:absolute;top:0}.hue-picker[data-v-f9d05544]{cursor:pointer;margin-top:1px;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;-webkit-transform:translateX(-2px);transform:translate(-2px)}.saturation[data-v-31f6e420],.saturation-white[data-v-31f6e420],.saturation-black[data-v-31f6e420]{position:absolute;inset:0;cursor:pointer}.saturation-white[data-v-31f6e420]{background:-webkit-linear-gradient(left,#fff,rgba(255,255,255,0));background:linear-gradient(to right,#fff,#fff0)}.saturation-black[data-v-31f6e420]{background:-webkit-linear-gradient(bottom,#000,rgba(0,0,0,0));background:linear-gradient(to top,#000,#0000)}.saturation-pointer[data-v-31f6e420]{cursor:pointer;position:absolute}.saturation-circle[data-v-31f6e420]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;-webkit-transform:translate(-2px,-2px);transform:translate(-2px,-2px)}.editable-input[data-v-1448e47d]{width:100%;position:relative;overflow:hidden;text-align:center;font-size:14px}.editable-input[data-v-1448e47d]:after{content:"#";position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:#999}.input-content[data-v-1448e47d]{width:100%;padding:3px;border:0;border-bottom:1px solid #ddd;outline:none;text-align:center}.input-label[data-v-1448e47d]{text-transform:capitalize}.color-picker[data-v-5ad11601]{position:relative;width:240px;background:#fff;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-bottom:-10px}.picker-saturation-wrap[data-v-5ad11601]{width:100%;padding-bottom:50%;position:relative;overflow:hidden}.picker-controls[data-v-5ad11601]{display:-webkit-box;display:-webkit-flex;display:flex}.picker-sliders[data-v-5ad11601]{padding:4px 0;-webkit-box-flex:1;-webkit-flex:1;flex:1}.picker-hue-wrap[data-v-5ad11601]{position:relative;height:10px}.picker-alpha-wrap[data-v-5ad11601]{position:relative;height:10px;margin-top:4px;overflow:hidden}.picker-color-wrap[data-v-5ad11601]{width:24px;height:24px;position:relative;margin-top:4px;margin-right:4px;outline:1px dashed rgba(102,102,102,.12)}.picker-color-wrap .checkerboard[data-v-5ad11601]{background-size:auto}.picker-current-color[data-v-5ad11601]{position:absolute;inset:0;z-index:2}.picker-field[data-v-5ad11601]{display:-webkit-box;display:-webkit-flex;display:flex;margin-bottom:8px}.picker-field .straw[data-v-5ad11601]{width:24px;height:24px;margin-top:4px;margin-left:4px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:20px;cursor:pointer}.picker-field .input[data-v-5ad11601]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.picker-presets[data-v-5ad11601]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;align-content:flex-start}.picker-presets-color[data-v-5ad11601]{width:7%;margin-bottom:calc(30% / 9);height:0;padding-bottom:7%;-webkit-flex-shrink:0;flex-shrink:0;position:relative;cursor:pointer}.picker-presets-color[data-v-5ad11601]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-presets-color.alpha[data-v-5ad11601]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADBJREFUOE9jfPbs2X8GPEBSUhKfNAPjqAHDIgz+//+PNx08f/4cfzoYNYCBceiHAQC5flV5JzgrxQAAAABJRU5ErkJggg==)}.picker-presets-color-content[data-v-5ad11601]{position:absolute;inset:0}.picker-gradient-presets[data-v-5ad11601]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-start;align-content:flex-start}.picker-gradient-col[data-v-5ad11601]{width:7%;margin-bottom:calc(30% / 9);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.picker-gradient-col[data-v-5ad11601]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-gradient-color[data-v-5ad11601]{width:100%;height:16px;position:relative;cursor:pointer}.recent-colors-title[data-v-5ad11601]{font-size:12px;margin-bottom:4px}.color-btn[data-v-5bfc3800]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0!important;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.color-block[data-v-5bfc3800]{height:20px;margin-left:8px;-webkit-box-flex:1;-webkit-flex:1;flex:1;outline:1px dashed rgba(102,102,102,.12);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAEBJREFUOE9jfPbs2X8GIoCkpCQRqhgYGEcNxBlOo2GIM2iGQLL5//8/UTnl+fPnxOWUUQNxhtNoGOLOKYM+2QAAh2Nq10DwkukAAAAASUVORK5CYII=)}.content[data-v-5bfc3800]{width:100%;height:100%}.color-btn-icon[data-v-5bfc3800]{width:30px;font-size:20px;margin-top:2px;color:#bfbfbf;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.text-color-btn[data-v-059633ad]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0}.text-color-block[data-v-059633ad]{width:17px;height:4px;margin-top:1px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAACdJREFUGFdjfPbs2X8GBgYGSUlJEMXAiCHw//9/sIrnz59DVKALAADNxxVfaiODNQAAAABJRU5ErkJggg==)}.text-color-block .text-color-block-content[data-v-059633ad]{width:100%;height:100%}.fullscreen-spin[data-v-2c307610]{position:fixed;inset:0;z-index:100;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:#f1f1f1b3}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;-webkit-transition:var(--el-transition-box-shadow);transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner::-webkit-input-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-color-info);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input__wrapper{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:1px 11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-transition:var(--el-transition-box-shadow);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px);-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner::-webkit-input-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;-webkit-transition:all var(--el-transition-duration);transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;-webkit-transition:all var(--el-transition-duration);transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;height:inherit;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:inherit;margin-left:8px;-webkit-transition:all var(--el-transition-duration);transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__inner::-webkit-input-placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:transparent;border-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper,.el-input-group__append{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important}.el-input-number{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;line-height:30px;position:relative;vertical-align:middle;width:150px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;line-height:1;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-input-number__decrease,.el-input-number__increase{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:var(--el-fill-color-light);bottom:1px;color:var(--el-text-color-regular);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;font-size:13px;height:auto;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:absolute;top:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:32px;z-index:1}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{border-left:var(--el-border);border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;right:1px}.el-input-number__decrease{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border);left:1px}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{line-height:38px;width:180px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{font-size:14px;width:40px}.el-input-number--large .el-input--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{line-height:22px;width:120px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{font-size:12px;width:24px}.el-input-number--small .el-input--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{-webkit-transform:scale(.9);transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{-webkit-transform:scale(.8);transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-bottom:var(--el-border);border-radius:0 var(--el-border-radius-base) 0 0;bottom:auto;left:auto}.el-input-number.is-controls-right .el-input-number__decrease{border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0;border-right:none;left:auto;right:1px;top:auto}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.swipe-input[data-v-6884a013] .el-input__wrapper{padding:1px}.swipe-input[data-v-6884a013] .el-input__prefix-inner{margin:0;width:25px}.swipe-input[data-v-6884a013] .label-ref{margin:0}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{background-color:var(--el-mask-color);inset:0;margin:0;position:absolute;-webkit-transition:opacity var(--el-transition-duration);transition:opacity var(--el-transition-duration);z-index:2000}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{margin-top:calc((0px - var(--el-loading-spinner-size))/2);position:absolute;text-align:center;top:50%;width:100%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);font-size:14px;margin:3px 0}.el-loading-spinner .circular{-webkit-animation:loading-rotate 2s linear infinite;animation:loading-rotate 2s linear infinite;display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size)}.el-loading-spinner .path{-webkit-animation:loading-dash 1.5s ease-in-out infinite;animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:var(--el-color-primary);stroke-linecap:round}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@-webkit-keyframes loading-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loading-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{-webkit-animation:v-modal-in var(--el-transition-duration-fast) ease;animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{-webkit-animation:v-modal-out var(--el-transition-duration-fast) ease forwards;animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@-webkit-keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-in{0%{opacity:0}}@-webkit-keyframes v-modal-out{to{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-base);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{inset:0;margin:0;overflow:auto;position:fixed}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-overlay-dialog{inset:0;overflow:auto;position:fixed}.dialog-fade-enter-active{-webkit-animation:modal-fade-in var(--el-transition-duration);animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{-webkit-animation:dialog-fade-in var(--el-transition-duration);animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{-webkit-animation:modal-fade-out var(--el-transition-duration);animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{-webkit-animation:dialog-fade-out var(--el-transition-duration);animation:dialog-fade-out var(--el-transition-duration)}@-webkit-keyframes dialog-fade-in{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes dialog-fade-in{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes dialog-fade-out{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}}@keyframes dialog-fade-out{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}}@-webkit-keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-overlay{background-color:var(--el-overlay-color-lighter);height:100%;inset:0;overflow:auto;position:fixed;z-index:2000}.el-overlay .el-overlay-root{height:0}.el-upload{--el-upload-dragger-padding-horizontal:40px;--el-upload-dragger-padding-vertical:10px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;outline:none}.el-upload.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{color:inherit}.el-upload.is-disabled:focus,.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.el-upload__input{display:none}.el-upload__tip{color:var(--el-text-color-regular);font-size:12px;margin-top:7px}.el-upload iframe{filter:alpha(opacity=0);left:0;opacity:0;position:absolute;top:0;z-index:-1}.el-upload--picture-card{--el-upload-picture-card-size:148px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;height:var(--el-upload-picture-card-size);-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;vertical-align:top;width:var(--el-upload-picture-card-size)}.el-upload--picture-card>i{color:var(--el-text-color-secondary);font-size:28px}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{color:var(--el-color-primary)}.el-upload:focus,.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;cursor:pointer;overflow:hidden;padding:var(--el-upload-dragger-padding-horizontal) var(--el-upload-dragger-padding-vertical);position:relative;text-align:center}.el-upload-dragger .el-icon--upload{color:var(--el-text-color-placeholder);font-size:67px;line-height:50px;margin-bottom:16px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary);padding:calc(var(--el-upload-dragger-padding-horizontal) - 1px) calc(var(--el-upload-dragger-padding-vertical) - 1px)}.el-upload-list{list-style:none;margin:10px 0 0;padding:0;position:relative}.el-upload-list__item{border-radius:4px;box-sizing:border-box;color:var(--el-text-color-regular);font-size:14px;margin-bottom:5px;position:relative;-webkit-transition:all .5s cubic-bezier(.55,0,.1,1);transition:all .5s cubic-bezier(.55,0,.1,1);width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{color:var(--el-text-color-regular);cursor:pointer;display:none;opacity:.75;position:absolute;right:5px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity var(--el-transition-duration);transition:opacity var(--el-transition-duration)}.el-upload-list__item .el-icon--close:hover{color:var(--el-color-primary);opacity:1}.el-upload-list__item .el-icon--close-tip{color:var(--el-color-primary);cursor:pointer;display:none;font-size:12px;font-style:normal;opacity:1;position:absolute;right:5px;top:1px}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin-left:4px;width:calc(100% - 30px)}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon--close-tip,.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip{display:none}.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-text-color-regular);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-font-size-base);padding:0 4px;text-align:center;-webkit-transition:color var(--el-transition-duration);transition:color var(--el-transition-duration)}.el-upload-list__item-name .el-icon{color:var(--el-text-color-secondary);margin-right:6px}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:none;height:100%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:inherit;position:absolute;right:5px;top:0;-webkit-transition:opacity var(--el-transition-duration);transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{color:var(--el-text-color-regular);display:none;font-size:12px;position:absolute;right:10px;top:0}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{--el-upload-list-picture-card-size:148px;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;overflow:hidden;padding:0;width:var(--el-upload-list-picture-card-size)}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:block;opacity:0}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:40px}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-overlay-color-lighter);color:#fff;cursor:default;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:20px;height:100%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;left:0;opacity:0;position:absolute;top:0;-webkit-transition:opacity var(--el-transition-duration);transition:opacity var(--el-transition-duration);width:100%}.el-upload-list--picture-card .el-upload-list__item-actions span{cursor:pointer;display:none}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:16px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{color:inherit;font-size:inherit;position:static}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex}.el-upload-list--picture-card .el-progress{bottom:auto;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;margin-top:10px;overflow:hidden;padding:10px;z-index:0}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;opacity:0}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;-webkit-transform:translateY(0);transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-color-white);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;height:70px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-o-object-fit:contain;object-fit:contain;position:relative;width:70px;z-index:1}.el-upload-list--picture .el-upload-list__item-status-label{background:var(--el-color-success);height:26px;position:absolute;right:-17px;text-align:center;top:-7px;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:46px}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{cursor:default;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:10}.el-upload-cover:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;height:100%;width:100%}.el-upload-cover__label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:40px}.el-upload-cover__label i{color:#fff;font-size:12px;margin-top:11px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.el-upload-cover__progress{display:inline-block;position:static;vertical-align:middle;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{height:100%;left:0;position:absolute;top:0;width:100%}.el-upload-cover__interact{background-color:var(--el-overlay-color-light);bottom:0;height:100%;left:0;position:absolute;text-align:center;width:100%}.el-upload-cover__interact .btn{color:#fff;cursor:pointer;display:inline-block;font-size:14px;margin-top:60px;-webkit-transition:var(--el-transition-md-fade);transition:var(--el-transition-md-fade);vertical-align:middle}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{-webkit-transform:translateY(-13px);transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{background-color:#fff;bottom:0;color:var(--el-text-color-primary);font-size:14px;font-weight:400;height:36px;left:0;line-height:36px;margin:0;overflow:hidden;padding:0 10px;position:absolute;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-progress{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;line-height:1;position:relative}.el-progress__text{color:var(--el-text-color-regular);font-size:14px;line-height:1;margin-left:5px;min-width:50px}.el-progress__text i{display:block;vertical-align:middle}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{left:0;margin:0;position:absolute;text-align:center;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:100%}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{display:inline-block;vertical-align:middle}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{display:block;margin-right:0;padding-right:0}.el-progress--text-inside .el-progress-bar{margin-right:0;padding-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{box-sizing:border-box;-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1}.el-progress-bar__outer{background-color:var(--el-border-color-lighter);border-radius:100px;height:6px;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{background-color:var(--el-color-primary);border-radius:100px;height:100%;left:0;line-height:1;position:absolute;text-align:right;top:0;-webkit-transition:width .6s ease;transition:width .6s ease;white-space:nowrap}.el-progress-bar__inner:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{-webkit-animation:indeterminate 3s infinite;animation:indeterminate 3s infinite;-webkit-transform:translateZ(0);transform:translateZ(0)}.el-progress-bar__inner--striped{background-image:-webkit-linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0,transparent 50%,rgba(0,0,0,.1) 0,rgba(0,0,0,.1) 75%,transparent 0,transparent);background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0,transparent 50%,rgba(0,0,0,.1) 0,rgba(0,0,0,.1) 75%,transparent 0,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{-webkit-animation:striped-flow 3s linear infinite;animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{color:#fff;display:inline-block;font-size:12px;margin:0 5px;vertical-align:middle}@-webkit-keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@-webkit-keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@-webkit-keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255,255,255,.5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-color-info);--el-button-active-color:var(--el-text-color-primary);-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:1;outline:none;text-align:center;-webkit-transition:.1s;transition:.1s;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;-webkit-transition:outline-offset 0s,outline 0s;transition:outline-offset 0s,outline 0s}.el-button>span{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;content:"";inset:-1px;pointer-events:none;position:absolute;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:transparent;border:0 solid transparent;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;-webkit-transition:outline-offset 0s,outline 0s;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:transparent;border-color:transparent;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):active,.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color)}.el-button--text{background:transparent;border-color:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:transparent;border-color:transparent;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-color-primary-dark-2)}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:14px;height:32px;line-height:20px;position:relative;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{color:var(--el-text-color-primary);cursor:pointer;display:inline-block;font-size:14px;font-weight:500;height:20px;-webkit-transition:var(--el-transition-duration-fast);transition:var(--el-transition-duration-fast);vertical-align:middle}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{display:inline-block;font-size:14px;line-height:1}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{height:0;margin:0;opacity:0;position:absolute;width:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:var(--el-switch-off-color);border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));border-radius:10px;box-sizing:border-box;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;height:20px;min-width:40px;outline:none;position:relative;-webkit-transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration);transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;height:16px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;overflow:hidden;padding:0 4px 0 18px;-webkit-transition:all var(--el-transition-duration);transition:all var(--el-transition-duration);width:100%}.el-switch__core .el-switch__inner .is-icon,.el-switch__core .el-switch__inner .is-text{color:var(--el-color-white);font-size:12px;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-switch__core .el-switch__action{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-color-white);border-radius:var(--el-border-radius-circle);color:var(--el-switch-off-color);display:-webkit-box;display:-webkit-flex;display:flex;height:16px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;left:1px;position:absolute;-webkit-transition:all var(--el-transition-duration);transition:all var(--el-transition-duration);width:16px}.el-switch.is-checked .el-switch__core{background-color:var(--el-switch-on-color);border-color:var(--el-switch-border-color,var(--el-switch-on-color))}.el-switch.is-checked .el-switch__core .el-switch__action{color:var(--el-switch-on-color);left:calc(100% - 17px)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;height:40px;line-height:24px}.el-switch--large .el-switch__label{font-size:14px;height:24px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{border-radius:12px;height:24px;min-width:50px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{height:20px;width:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;height:24px;line-height:16px}.el-switch--small .el-switch__label{font-size:12px;height:16px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{border-radius:8px;height:16px;min-width:30px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{height:12px;width:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-slider{--el-slider-main-bg-color:var(--el-color-primary);--el-slider-runway-bg-color:var(--el-border-color-light);--el-slider-stop-bg-color:var(--el-color-white);--el-slider-disabled-color:var(--el-text-color-placeholder);--el-slider-border-radius:3px;--el-slider-height:6px;--el-slider-button-size:20px;--el-slider-button-wrapper-size:36px;--el-slider-button-wrapper-offset:-15px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;height:32px;width:100%}.el-slider__runway{background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);cursor:pointer;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:var(--el-slider-height);position:relative}.el-slider__runway.show-input{margin-right:30px;width:auto}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging,.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper:hover{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{-webkit-transform:scale(1);transform:scale(1);cursor:not-allowed}.el-slider__input{-webkit-flex-shrink:0;flex-shrink:0;width:130px}.el-slider__bar{background-color:var(--el-slider-main-bg-color);border-bottom-left-radius:var(--el-slider-border-radius);border-top-left-radius:var(--el-slider-border-radius);height:var(--el-slider-height);position:absolute}.el-slider__button-wrapper{background-color:transparent;height:var(--el-slider-button-wrapper-size);line-height:normal;outline:none;position:absolute;text-align:center;top:var(--el-slider-button-wrapper-offset);-webkit-transform:translateX(-50%);transform:translate(-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--el-slider-button-wrapper-size);z-index:1}.el-slider__button-wrapper:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button-wrapper.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__button{background-color:var(--el-color-white);border:2px solid var(--el-slider-main-bg-color);border-radius:50%;box-sizing:border-box;display:inline-block;height:var(--el-slider-button-size);-webkit-transition:var(--el-transition-duration-fast);transition:var(--el-transition-duration-fast);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:var(--el-slider-button-size)}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{-webkit-transform:scale(1.2);transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__stop{background-color:var(--el-slider-stop-bg-color);border-radius:var(--el-border-radius-circle);height:var(--el-slider-height);position:absolute;-webkit-transform:translateX(-50%);transform:translate(-50%);width:var(--el-slider-height)}.el-slider__marks{height:100%;left:12px;top:0;width:18px}.el-slider__marks-text{color:var(--el-color-info);font-size:14px;margin-top:15px;position:absolute;-webkit-transform:translateX(-50%);transform:translate(-50%);white-space:pre}.el-slider.is-vertical{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-flex:0;-webkit-flex:0;flex:0;height:100%;position:relative;width:auto}.el-slider.is-vertical .el-slider__runway{height:100%;margin:0 16px;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__bar{border-radius:0 0 3px 3px;height:auto;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__button-wrapper{left:var(--el-slider-button-wrapper-offset);top:auto;-webkit-transform:translateY(50%);transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{-webkit-transform:translateY(50%);transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{left:15px;margin-top:0;-webkit-transform:translateY(50%);transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius,4px);border-radius:var(--el-popper-border-radius);font-size:12px;line-height:20px;min-width:10px;overflow-wrap:break-word;padding:5px 11px;position:absolute;visibility:visible;z-index:2000}.el-popper.is-dark{color:var(--el-bg-color)}.el-popper.is-dark,.el-popper.is-dark>.el-popper__arrow:before{background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{right:0}.el-popper.is-light,.el-popper.is-light>.el-popper__arrow:before{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{right:0}.el-popper.is-pure{padding:0}.el-popper__arrow,.el-popper__arrow:before{height:10px;position:absolute;width:10px;z-index:-1}.el-popper__arrow:before{background:var(--el-text-color-primary);box-sizing:border-box;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg)}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent!important;border-top-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-radio-group{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;font-size:0}.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light)}.el-radio-button,.el-radio-button__inner{display:inline-block;outline:none;position:relative}.el-radio-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);border-left:0;border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;font-size:var(--el-font-size-base);font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));line-height:1;margin:0;padding:8px 15px;text-align:center;-webkit-transition:var(--el-transition-all);transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-left:var(--el-border);border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary));color:var(--el-radio-button-checked-text-color,var(--el-color-white))}.el-radio-button__original-radio{opacity:0;outline:none;position:absolute;z-index:-1}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));border-radius:var(--el-border-radius-base);box-shadow:none;outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2}.el-radio-button__original-radio:disabled+.el-radio-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.export-img-dialog[data-v-09befa72]{height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-09befa72]{position:absolute;inset:0}.thumbnails-view[data-v-09befa72]:after{content:"";background-color:#fff;position:absolute;inset:0}.configs[data-v-09befa72]{width:350px;height:calc(100% - 100px);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;z-index:1}.configs .row[data-v-09befa72]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:20px}.configs .title[data-v-09befa72]{width:120px;position:relative}.configs .title[data-v-09befa72]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-09befa72]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.btns[data-v-09befa72]{width:300px;height:100px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.btns .export[data-v-09befa72]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.btns .close[data-v-09befa72]{width:100px;margin-left:10px}.config-item .el-radio-button__inner{width:100%}.export-svg-dialog[data-v-a11da92d]{height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;position:relative;overflow:hidden}.preview[data-v-a11da92d]{width:100%;height:calc(100% - 100px);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;background-color:#f9f9f9;color:#0451a5}.btns[data-v-a11da92d]{width:300px;height:100px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.btns .export[data-v-a11da92d]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.btns .close[data-v-a11da92d]{width:100px;margin-left:10px}[data-v-a11da92d]::-webkit-scrollbar{width:10px;height:10px;background-color:#f9f9f9}[data-v-a11da92d]::-webkit-scrollbar-thumb{background-color:#c1c1c1}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);border-radius:var(--el-tag-border-radius);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--el-tag-text-color);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-tag-font-size);height:24px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:1;padding:0 9px;vertical-align:middle;white-space:nowrap;--el-icon-size:14px}.el-tag,.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color);-webkit-flex-shrink:0;flex-shrink:0}.el-tag .el-tag__close:hover{background-color:var(--el-tag-hover-color);color:var(--el-color-white)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag .el-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{margin-left:6px}.el-tag--dark{--el-tag-text-color:var(--el-color-white)}.el-tag--dark,.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info,.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning{--el-tag-text-color:var(--el-color-white)}.el-tag--plain,.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{height:32px;padding:0 11px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{height:20px;padding:0 7px;--el-icon-size:12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{-webkit-transform:scale(.8);transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{background-color:var(--el-color-primary);background-position:50%;background-repeat:no-repeat;border-right:none;border-top:none;content:"";height:12px;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;position:absolute;right:20px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:12px}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary);height:100%;overflow:hidden;position:relative}.el-scrollbar__wrap{height:100%;overflow:auto}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));border-radius:inherit;cursor:pointer;display:block;height:0;opacity:var(--el-scrollbar-opacity,.3);position:relative;-webkit-transition:var(--el-transition-duration) background-color;transition:var(--el-transition-duration) background-color;width:0}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{border-radius:4px;bottom:2px;position:absolute;right:2px;z-index:1}.el-scrollbar__bar.is-vertical{top:2px;width:6px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{-webkit-transition:opacity .34s ease-out;transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{-webkit-transition:opacity .12s ease-out;transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-select-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty,.el-select-dropdown__loading{color:var(--el-text-color-secondary);font-size:var(--el-select-font-size);margin:0;padding:10px 0;text-align:center}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:6px 0}.el-select-dropdown__list.el-vl__window{margin:6px 0;padding:0}.el-select-dropdown__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__item{box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);height:34px;line-height:34px;overflow:hidden;padding:0 32px 0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-select-dropdown__item.is-hovering{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.is-selected{color:var(--el-color-primary);font-weight:700}.el-select-dropdown__item.is-disabled{background-color:unset;color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{background-color:var(--el-color-primary);background-position:50%;background-repeat:no-repeat;border-right:none;border-top:none;content:"";height:12px;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;position:absolute;right:20px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:12px}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-disabled:after{background-color:var(--el-text-color-placeholder)}.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__title{color:var(--el-color-info);font-size:12px;line-height:34px;padding-left:20px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-color:var(--el-disabled-text-color);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px;--el-select-width:100%;display:inline-block;position:relative;vertical-align:middle;width:var(--el-select-width)}.el-select__wrapper{-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;font-size:14px;gap:6px;line-height:24px;min-height:32px;padding:4px 12px;position:relative;text-align:left;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-transition:var(--el-transition-duration);transition:var(--el-transition-duration)}.el-select__wrapper.is-filterable{cursor:text}.el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-select__wrapper.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-select__wrapper.is-disabled{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select__wrapper.is-disabled,.el-select__wrapper.is-disabled:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-select__wrapper.is-disabled .el-select__selected-item{color:var(--el-select-disabled-color)}.el-select__wrapper.is-disabled .el-select__caret,.el-select__wrapper.is-disabled .el-tag{cursor:not-allowed}.el-select__prefix,.el-select__suffix{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;gap:6px}.el-select__caret{color:var(--el-select-input-color);cursor:pointer;font-size:var(--el-select-input-font-size);-webkit-transform:rotate(0deg);transform:rotate(0);-webkit-transition:var(--el-transition-duration);transition:var(--el-transition-duration)}.el-select__caret.is-reverse{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.el-select__selection{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-wrap:wrap;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-select__selection.is-near{margin-left:-8px}.el-select__selection .el-tag{border-color:transparent;cursor:pointer}.el-select__selection .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__tags-text{line-height:normal}.el-select__placeholder,.el-select__tags-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select__placeholder{color:var(--el-input-text-color,var(--el-text-color-regular));position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:100%}.el-select__placeholder.is-transparent{color:var(--el-text-color-placeholder);-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper,.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select__input-wrapper{max-width:100%}.el-select__input-wrapper.is-hidden{opacity:0;position:absolute}.el-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-select-multiple-input-color);font-family:inherit;font-size:inherit;height:24px;max-width:100%;outline:none;padding:0}.el-select__input.is-disabled{cursor:not-allowed}.el-select__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-select--large .el-select__wrapper{font-size:14px;gap:6px;line-height:24px;min-height:40px;padding:8px 16px}.el-select--large .el-select__selection{gap:6px}.el-select--large .el-select__selection.is-near{margin-left:-8px}.el-select--large .el-select__prefix,.el-select--large .el-select__suffix{gap:6px}.el-select--large .el-select__input{height:24px}.el-select--small .el-select__wrapper{font-size:12px;gap:4px;line-height:20px;min-height:24px;padding:2px 8px}.el-select--small .el-select__selection{gap:4px}.el-select--small .el-select__selection.is-near{margin-left:-6px}.el-select--small .el-select__prefix,.el-select--small .el-select__suffix{gap:4px}.el-select--small .el-select__input{height:20px}.export-pdf-dialog[data-v-9933e094]{height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-9933e094]{position:absolute;inset:0}.thumbnails-view[data-v-9933e094]:after{content:"";background-color:#fff;position:absolute;inset:0}.thumbnail.break-page[data-v-9933e094]{-webkit-column-break-after:page;-moz-column-break-after:page;break-after:page}.configs[data-v-9933e094]{width:300px;height:calc(100% - 100px);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;z-index:1}.configs .row[data-v-9933e094]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:25px}.configs .title[data-v-9933e094]{width:120px}.configs .config-item[data-v-9933e094]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.configs .tip[data-v-9933e094]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-9933e094]{width:300px;height:100px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.btns .export[data-v-9933e094]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.btns .close[data-v-9933e094]{width:100px;margin-left:10px}.export-pdf-dialog[data-v-98a2e02e]{height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-98a2e02e]{position:absolute;inset:0}.thumbnails-view[data-v-98a2e02e]:after{content:"";background-color:#fff;position:absolute;inset:0}.thumbnail.break-page[data-v-98a2e02e]{-webkit-column-break-after:page;-moz-column-break-after:page;break-after:page}.configs[data-v-98a2e02e]{width:300px;height:calc(100% - 100px);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;z-index:1}.configs .row[data-v-98a2e02e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:25px}.configs .title[data-v-98a2e02e]{width:120px}.configs .config-item[data-v-98a2e02e]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.configs .tip[data-v-98a2e02e]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-98a2e02e]{width:300px;height:100px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.btns .export[data-v-98a2e02e]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.btns .close[data-v-98a2e02e]{width:100px;margin-left:10px}.export-json-dialog[data-v-6d4fbabd]{height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;position:relative;overflow:hidden}.preview[data-v-6d4fbabd]{width:100%;height:calc(100% - 100px);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;background-color:#f9f9f9;color:#0451a5}.preview pre[data-v-6d4fbabd]{margin:0}.btns[data-v-6d4fbabd]{width:300px;height:100px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.btns .export[data-v-6d4fbabd]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.btns .close[data-v-6d4fbabd]{width:100px;margin-left:10px}[data-v-6d4fbabd]::-webkit-scrollbar{width:10px;height:10px;background-color:#f9f9f9}[data-v-6d4fbabd]::-webkit-scrollbar-thumb{background-color:#c1c1c1}.preview svg{width:100%;height:100%}.tabs[data-v-91c08403]{height:50px;font-size:12px;-webkit-flex-shrink:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-top-left-radius:2px;border-top-right-radius:2px;overflow:hidden}.tab[data-v-91c08403]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:#f9f9f9;border-bottom:1px solid #eee;cursor:pointer}.tab.active[data-v-91c08403]{background-color:#fff;border-bottom-color:#fff}.tab+.tab[data-v-91c08403]{border-left:1px solid #eee}.content[data-v-91c08403]{height:400px;padding:12px;font-size:13px;overflow:auto;overflow:overlay;overflow-x:hidden}.export-dialog,.export-dialog .el-dialog__body,.export-dialog .el-dialog__header{padding:0}.export-dialog .el-dialog__headerbtn{display:none}.el-row{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;position:relative}.el-row.is-justify-center{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.el-row.is-justify-end{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.el-row.is-justify-space-between{-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.el-row.is-justify-space-around{-webkit-justify-content:space-around;justify-content:space-around}.el-row.is-justify-space-evenly{-webkit-box-pack:space-evenly;-webkit-justify-content:space-evenly;justify-content:space-evenly}.el-row.is-align-top{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.el-row.is-align-middle{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.el-row.is-align-bottom{-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0{-webkit-box-flex:0;-webkit-flex:0 0 0%;flex:0 0 0%;max-width:0}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{left:0;position:relative}.el-col-1{-webkit-box-flex:0;-webkit-flex:0 0 4.1666666667%;flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-1,.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{left:4.1666666667%;position:relative}.el-col-2{-webkit-box-flex:0;-webkit-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-2,.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{left:8.3333333333%;position:relative}.el-col-3{-webkit-box-flex:0;-webkit-flex:0 0 12.5%;flex:0 0 12.5%;max-width:12.5%}.el-col-3,.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{left:12.5%;position:relative}.el-col-4{-webkit-box-flex:0;-webkit-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-4,.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{left:16.6666666667%;position:relative}.el-col-5{-webkit-box-flex:0;-webkit-flex:0 0 20.8333333333%;flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-5,.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{left:20.8333333333%;position:relative}.el-col-6{-webkit-box-flex:0;-webkit-flex:0 0 25%;flex:0 0 25%;max-width:25%}.el-col-6,.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{left:25%;position:relative}.el-col-7{-webkit-box-flex:0;-webkit-flex:0 0 29.1666666667%;flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-7,.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{left:29.1666666667%;position:relative}.el-col-8{-webkit-box-flex:0;-webkit-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-8,.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{left:33.3333333333%;position:relative}.el-col-9{-webkit-box-flex:0;-webkit-flex:0 0 37.5%;flex:0 0 37.5%;max-width:37.5%}.el-col-9,.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{left:37.5%;position:relative}.el-col-10{-webkit-box-flex:0;-webkit-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-10,.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{left:41.6666666667%;position:relative}.el-col-11{-webkit-box-flex:0;-webkit-flex:0 0 45.8333333333%;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-11,.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{left:45.8333333333%;position:relative}.el-col-12{-webkit-box-flex:0;-webkit-flex:0 0 50%;flex:0 0 50%;max-width:50%}.el-col-12,.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{left:50%;position:relative}.el-col-13{-webkit-box-flex:0;-webkit-flex:0 0 54.1666666667%;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-13,.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{left:54.1666666667%;position:relative}.el-col-14{-webkit-box-flex:0;-webkit-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-14,.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{left:58.3333333333%;position:relative}.el-col-15{-webkit-box-flex:0;-webkit-flex:0 0 62.5%;flex:0 0 62.5%;max-width:62.5%}.el-col-15,.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{left:62.5%;position:relative}.el-col-16{-webkit-box-flex:0;-webkit-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-16,.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{left:66.6666666667%;position:relative}.el-col-17{-webkit-box-flex:0;-webkit-flex:0 0 70.8333333333%;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-17,.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{left:70.8333333333%;position:relative}.el-col-18{-webkit-box-flex:0;-webkit-flex:0 0 75%;flex:0 0 75%;max-width:75%}.el-col-18,.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{left:75%;position:relative}.el-col-19{-webkit-box-flex:0;-webkit-flex:0 0 79.1666666667%;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-19,.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{left:79.1666666667%;position:relative}.el-col-20{-webkit-box-flex:0;-webkit-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-20,.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{left:83.3333333333%;position:relative}.el-col-21{-webkit-box-flex:0;-webkit-flex:0 0 87.5%;flex:0 0 87.5%;max-width:87.5%}.el-col-21,.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{left:87.5%;position:relative}.el-col-22{-webkit-box-flex:0;-webkit-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-22,.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{left:91.6666666667%;position:relative}.el-col-23{-webkit-box-flex:0;-webkit-flex:0 0 95.8333333333%;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-23,.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{left:95.8333333333%;position:relative}.el-col-24{-webkit-box-flex:0;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.el-col-24,.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{left:100%;position:relative}@media only screen and (max-width:767px){.el-col-xs-0{display:none;-webkit-box-flex:0;-webkit-flex:0 0 0%;flex:0 0 0%;max-width:0}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{left:0;position:relative}.el-col-xs-1{-webkit-box-flex:0;-webkit-flex:0 0 4.1666666667%;flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xs-1,.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{left:4.1666666667%;position:relative}.el-col-xs-2{-webkit-box-flex:0;-webkit-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xs-2,.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{left:8.3333333333%;position:relative}.el-col-xs-3{-webkit-box-flex:0;-webkit-flex:0 0 12.5%;flex:0 0 12.5%;max-width:12.5%}.el-col-xs-3,.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{left:12.5%;position:relative}.el-col-xs-4{-webkit-box-flex:0;-webkit-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xs-4,.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{left:16.6666666667%;position:relative}.el-col-xs-5{-webkit-box-flex:0;-webkit-flex:0 0 20.8333333333%;flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xs-5,.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{left:20.8333333333%;position:relative}.el-col-xs-6{-webkit-box-flex:0;-webkit-flex:0 0 25%;flex:0 0 25%;max-width:25%}.el-col-xs-6,.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{left:25%;position:relative}.el-col-xs-7{-webkit-box-flex:0;-webkit-flex:0 0 29.1666666667%;flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xs-7,.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{left:29.1666666667%;position:relative}.el-col-xs-8{-webkit-box-flex:0;-webkit-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xs-8,.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{left:33.3333333333%;position:relative}.el-col-xs-9{-webkit-box-flex:0;-webkit-flex:0 0 37.5%;flex:0 0 37.5%;max-width:37.5%}.el-col-xs-9,.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{left:37.5%;position:relative}.el-col-xs-10{display:block;-webkit-box-flex:0;-webkit-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{left:41.6666666667%;position:relative}.el-col-xs-11{display:block;-webkit-box-flex:0;-webkit-flex:0 0 45.8333333333%;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{left:45.8333333333%;position:relative}.el-col-xs-12{display:block;-webkit-box-flex:0;-webkit-flex:0 0 50%;flex:0 0 50%;max-width:50%}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{left:50%;position:relative}.el-col-xs-13{display:block;-webkit-box-flex:0;-webkit-flex:0 0 54.1666666667%;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{left:54.1666666667%;position:relative}.el-col-xs-14{display:block;-webkit-box-flex:0;-webkit-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{left:58.3333333333%;position:relative}.el-col-xs-15{display:block;-webkit-box-flex:0;-webkit-flex:0 0 62.5%;flex:0 0 62.5%;max-width:62.5%}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{left:62.5%;position:relative}.el-col-xs-16{display:block;-webkit-box-flex:0;-webkit-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{left:66.6666666667%;position:relative}.el-col-xs-17{display:block;-webkit-box-flex:0;-webkit-flex:0 0 70.8333333333%;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{left:70.8333333333%;position:relative}.el-col-xs-18{display:block;-webkit-box-flex:0;-webkit-flex:0 0 75%;flex:0 0 75%;max-width:75%}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{left:75%;position:relative}.el-col-xs-19{display:block;-webkit-box-flex:0;-webkit-flex:0 0 79.1666666667%;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{left:79.1666666667%;position:relative}.el-col-xs-20{display:block;-webkit-box-flex:0;-webkit-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{left:83.3333333333%;position:relative}.el-col-xs-21{display:block;-webkit-box-flex:0;-webkit-flex:0 0 87.5%;flex:0 0 87.5%;max-width:87.5%}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{left:87.5%;position:relative}.el-col-xs-22{display:block;-webkit-box-flex:0;-webkit-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{left:91.6666666667%;position:relative}.el-col-xs-23{display:block;-webkit-box-flex:0;-webkit-flex:0 0 95.8333333333%;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{left:95.8333333333%;position:relative}.el-col-xs-24{display:block;-webkit-box-flex:0;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{left:100%;position:relative}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;-webkit-box-flex:0;-webkit-flex:0 0 0%;flex:0 0 0%;max-width:0}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{left:0;position:relative}.el-col-sm-1{-webkit-box-flex:0;-webkit-flex:0 0 4.1666666667%;flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-sm-1,.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{left:4.1666666667%;position:relative}.el-col-sm-2{-webkit-box-flex:0;-webkit-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-sm-2,.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{left:8.3333333333%;position:relative}.el-col-sm-3{-webkit-box-flex:0;-webkit-flex:0 0 12.5%;flex:0 0 12.5%;max-width:12.5%}.el-col-sm-3,.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{left:12.5%;position:relative}.el-col-sm-4{-webkit-box-flex:0;-webkit-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-sm-4,.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{left:16.6666666667%;position:relative}.el-col-sm-5{-webkit-box-flex:0;-webkit-flex:0 0 20.8333333333%;flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-sm-5,.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{left:20.8333333333%;position:relative}.el-col-sm-6{-webkit-box-flex:0;-webkit-flex:0 0 25%;flex:0 0 25%;max-width:25%}.el-col-sm-6,.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{left:25%;position:relative}.el-col-sm-7{-webkit-box-flex:0;-webkit-flex:0 0 29.1666666667%;flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-sm-7,.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{left:29.1666666667%;position:relative}.el-col-sm-8{-webkit-box-flex:0;-webkit-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-sm-8,.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{left:33.3333333333%;position:relative}.el-col-sm-9{-webkit-box-flex:0;-webkit-flex:0 0 37.5%;flex:0 0 37.5%;max-width:37.5%}.el-col-sm-9,.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{left:37.5%;position:relative}.el-col-sm-10{display:block;-webkit-box-flex:0;-webkit-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{left:41.6666666667%;position:relative}.el-col-sm-11{display:block;-webkit-box-flex:0;-webkit-flex:0 0 45.8333333333%;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{left:45.8333333333%;position:relative}.el-col-sm-12{display:block;-webkit-box-flex:0;-webkit-flex:0 0 50%;flex:0 0 50%;max-width:50%}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{left:50%;position:relative}.el-col-sm-13{display:block;-webkit-box-flex:0;-webkit-flex:0 0 54.1666666667%;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{left:54.1666666667%;position:relative}.el-col-sm-14{display:block;-webkit-box-flex:0;-webkit-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{left:58.3333333333%;position:relative}.el-col-sm-15{display:block;-webkit-box-flex:0;-webkit-flex:0 0 62.5%;flex:0 0 62.5%;max-width:62.5%}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{left:62.5%;position:relative}.el-col-sm-16{display:block;-webkit-box-flex:0;-webkit-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{left:66.6666666667%;position:relative}.el-col-sm-17{display:block;-webkit-box-flex:0;-webkit-flex:0 0 70.8333333333%;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{left:70.8333333333%;position:relative}.el-col-sm-18{display:block;-webkit-box-flex:0;-webkit-flex:0 0 75%;flex:0 0 75%;max-width:75%}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{left:75%;position:relative}.el-col-sm-19{display:block;-webkit-box-flex:0;-webkit-flex:0 0 79.1666666667%;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{left:79.1666666667%;position:relative}.el-col-sm-20{display:block;-webkit-box-flex:0;-webkit-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{left:83.3333333333%;position:relative}.el-col-sm-21{display:block;-webkit-box-flex:0;-webkit-flex:0 0 87.5%;flex:0 0 87.5%;max-width:87.5%}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{left:87.5%;position:relative}.el-col-sm-22{display:block;-webkit-box-flex:0;-webkit-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{left:91.6666666667%;position:relative}.el-col-sm-23{display:block;-webkit-box-flex:0;-webkit-flex:0 0 95.8333333333%;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{left:95.8333333333%;position:relative}.el-col-sm-24{display:block;-webkit-box-flex:0;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{left:100%;position:relative}}@media only screen and (min-width:992px){.el-col-md-0{display:none;-webkit-box-flex:0;-webkit-flex:0 0 0%;flex:0 0 0%;max-width:0}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{left:0;position:relative}.el-col-md-1{-webkit-box-flex:0;-webkit-flex:0 0 4.1666666667%;flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-md-1,.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{left:4.1666666667%;position:relative}.el-col-md-2{-webkit-box-flex:0;-webkit-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-md-2,.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{left:8.3333333333%;position:relative}.el-col-md-3{-webkit-box-flex:0;-webkit-flex:0 0 12.5%;flex:0 0 12.5%;max-width:12.5%}.el-col-md-3,.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{left:12.5%;position:relative}.el-col-md-4{-webkit-box-flex:0;-webkit-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-md-4,.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{left:16.6666666667%;position:relative}.el-col-md-5{-webkit-box-flex:0;-webkit-flex:0 0 20.8333333333%;flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-md-5,.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{left:20.8333333333%;position:relative}.el-col-md-6{-webkit-box-flex:0;-webkit-flex:0 0 25%;flex:0 0 25%;max-width:25%}.el-col-md-6,.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{left:25%;position:relative}.el-col-md-7{-webkit-box-flex:0;-webkit-flex:0 0 29.1666666667%;flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-md-7,.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{left:29.1666666667%;position:relative}.el-col-md-8{-webkit-box-flex:0;-webkit-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-md-8,.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{left:33.3333333333%;position:relative}.el-col-md-9{-webkit-box-flex:0;-webkit-flex:0 0 37.5%;flex:0 0 37.5%;max-width:37.5%}.el-col-md-9,.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{left:37.5%;position:relative}.el-col-md-10{display:block;-webkit-box-flex:0;-webkit-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{left:41.6666666667%;position:relative}.el-col-md-11{display:block;-webkit-box-flex:0;-webkit-flex:0 0 45.8333333333%;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{left:45.8333333333%;position:relative}.el-col-md-12{display:block;-webkit-box-flex:0;-webkit-flex:0 0 50%;flex:0 0 50%;max-width:50%}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{left:50%;position:relative}.el-col-md-13{display:block;-webkit-box-flex:0;-webkit-flex:0 0 54.1666666667%;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{left:54.1666666667%;position:relative}.el-col-md-14{display:block;-webkit-box-flex:0;-webkit-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{left:58.3333333333%;position:relative}.el-col-md-15{display:block;-webkit-box-flex:0;-webkit-flex:0 0 62.5%;flex:0 0 62.5%;max-width:62.5%}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{left:62.5%;position:relative}.el-col-md-16{display:block;-webkit-box-flex:0;-webkit-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{left:66.6666666667%;position:relative}.el-col-md-17{display:block;-webkit-box-flex:0;-webkit-flex:0 0 70.8333333333%;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{left:70.8333333333%;position:relative}.el-col-md-18{display:block;-webkit-box-flex:0;-webkit-flex:0 0 75%;flex:0 0 75%;max-width:75%}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{left:75%;position:relative}.el-col-md-19{display:block;-webkit-box-flex:0;-webkit-flex:0 0 79.1666666667%;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{left:79.1666666667%;position:relative}.el-col-md-20{display:block;-webkit-box-flex:0;-webkit-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{left:83.3333333333%;position:relative}.el-col-md-21{display:block;-webkit-box-flex:0;-webkit-flex:0 0 87.5%;flex:0 0 87.5%;max-width:87.5%}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{left:87.5%;position:relative}.el-col-md-22{display:block;-webkit-box-flex:0;-webkit-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{left:91.6666666667%;position:relative}.el-col-md-23{display:block;-webkit-box-flex:0;-webkit-flex:0 0 95.8333333333%;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{left:95.8333333333%;position:relative}.el-col-md-24{display:block;-webkit-box-flex:0;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{left:100%;position:relative}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;-webkit-box-flex:0;-webkit-flex:0 0 0%;flex:0 0 0%;max-width:0}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{left:0;position:relative}.el-col-lg-1{-webkit-box-flex:0;-webkit-flex:0 0 4.1666666667%;flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-lg-1,.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{left:4.1666666667%;position:relative}.el-col-lg-2{-webkit-box-flex:0;-webkit-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-lg-2,.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{left:8.3333333333%;position:relative}.el-col-lg-3{-webkit-box-flex:0;-webkit-flex:0 0 12.5%;flex:0 0 12.5%;max-width:12.5%}.el-col-lg-3,.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{left:12.5%;position:relative}.el-col-lg-4{-webkit-box-flex:0;-webkit-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-lg-4,.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{left:16.6666666667%;position:relative}.el-col-lg-5{-webkit-box-flex:0;-webkit-flex:0 0 20.8333333333%;flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-lg-5,.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{left:20.8333333333%;position:relative}.el-col-lg-6{-webkit-box-flex:0;-webkit-flex:0 0 25%;flex:0 0 25%;max-width:25%}.el-col-lg-6,.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{left:25%;position:relative}.el-col-lg-7{-webkit-box-flex:0;-webkit-flex:0 0 29.1666666667%;flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-lg-7,.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{left:29.1666666667%;position:relative}.el-col-lg-8{-webkit-box-flex:0;-webkit-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-lg-8,.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{left:33.3333333333%;position:relative}.el-col-lg-9{-webkit-box-flex:0;-webkit-flex:0 0 37.5%;flex:0 0 37.5%;max-width:37.5%}.el-col-lg-9,.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{left:37.5%;position:relative}.el-col-lg-10{display:block;-webkit-box-flex:0;-webkit-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{left:41.6666666667%;position:relative}.el-col-lg-11{display:block;-webkit-box-flex:0;-webkit-flex:0 0 45.8333333333%;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{left:45.8333333333%;position:relative}.el-col-lg-12{display:block;-webkit-box-flex:0;-webkit-flex:0 0 50%;flex:0 0 50%;max-width:50%}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{left:50%;position:relative}.el-col-lg-13{display:block;-webkit-box-flex:0;-webkit-flex:0 0 54.1666666667%;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{left:54.1666666667%;position:relative}.el-col-lg-14{display:block;-webkit-box-flex:0;-webkit-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{left:58.3333333333%;position:relative}.el-col-lg-15{display:block;-webkit-box-flex:0;-webkit-flex:0 0 62.5%;flex:0 0 62.5%;max-width:62.5%}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{left:62.5%;position:relative}.el-col-lg-16{display:block;-webkit-box-flex:0;-webkit-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{left:66.6666666667%;position:relative}.el-col-lg-17{display:block;-webkit-box-flex:0;-webkit-flex:0 0 70.8333333333%;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{left:70.8333333333%;position:relative}.el-col-lg-18{display:block;-webkit-box-flex:0;-webkit-flex:0 0 75%;flex:0 0 75%;max-width:75%}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{left:75%;position:relative}.el-col-lg-19{display:block;-webkit-box-flex:0;-webkit-flex:0 0 79.1666666667%;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{left:79.1666666667%;position:relative}.el-col-lg-20{display:block;-webkit-box-flex:0;-webkit-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{left:83.3333333333%;position:relative}.el-col-lg-21{display:block;-webkit-box-flex:0;-webkit-flex:0 0 87.5%;flex:0 0 87.5%;max-width:87.5%}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{left:87.5%;position:relative}.el-col-lg-22{display:block;-webkit-box-flex:0;-webkit-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{left:91.6666666667%;position:relative}.el-col-lg-23{display:block;-webkit-box-flex:0;-webkit-flex:0 0 95.8333333333%;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{left:95.8333333333%;position:relative}.el-col-lg-24{display:block;-webkit-box-flex:0;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{left:100%;position:relative}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;-webkit-box-flex:0;-webkit-flex:0 0 0%;flex:0 0 0%;max-width:0}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{left:0;position:relative}.el-col-xl-1{-webkit-box-flex:0;-webkit-flex:0 0 4.1666666667%;flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xl-1,.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{left:4.1666666667%;position:relative}.el-col-xl-2{-webkit-box-flex:0;-webkit-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xl-2,.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{left:8.3333333333%;position:relative}.el-col-xl-3{-webkit-box-flex:0;-webkit-flex:0 0 12.5%;flex:0 0 12.5%;max-width:12.5%}.el-col-xl-3,.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{left:12.5%;position:relative}.el-col-xl-4{-webkit-box-flex:0;-webkit-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xl-4,.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{left:16.6666666667%;position:relative}.el-col-xl-5{-webkit-box-flex:0;-webkit-flex:0 0 20.8333333333%;flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xl-5,.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{left:20.8333333333%;position:relative}.el-col-xl-6{-webkit-box-flex:0;-webkit-flex:0 0 25%;flex:0 0 25%;max-width:25%}.el-col-xl-6,.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{left:25%;position:relative}.el-col-xl-7{-webkit-box-flex:0;-webkit-flex:0 0 29.1666666667%;flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xl-7,.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{left:29.1666666667%;position:relative}.el-col-xl-8{-webkit-box-flex:0;-webkit-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xl-8,.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{left:33.3333333333%;position:relative}.el-col-xl-9{-webkit-box-flex:0;-webkit-flex:0 0 37.5%;flex:0 0 37.5%;max-width:37.5%}.el-col-xl-9,.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{left:37.5%;position:relative}.el-col-xl-10{display:block;-webkit-box-flex:0;-webkit-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{left:41.6666666667%;position:relative}.el-col-xl-11{display:block;-webkit-box-flex:0;-webkit-flex:0 0 45.8333333333%;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{left:45.8333333333%;position:relative}.el-col-xl-12{display:block;-webkit-box-flex:0;-webkit-flex:0 0 50%;flex:0 0 50%;max-width:50%}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{left:50%;position:relative}.el-col-xl-13{display:block;-webkit-box-flex:0;-webkit-flex:0 0 54.1666666667%;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{left:54.1666666667%;position:relative}.el-col-xl-14{display:block;-webkit-box-flex:0;-webkit-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{left:58.3333333333%;position:relative}.el-col-xl-15{display:block;-webkit-box-flex:0;-webkit-flex:0 0 62.5%;flex:0 0 62.5%;max-width:62.5%}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{left:62.5%;position:relative}.el-col-xl-16{display:block;-webkit-box-flex:0;-webkit-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{left:66.6666666667%;position:relative}.el-col-xl-17{display:block;-webkit-box-flex:0;-webkit-flex:0 0 70.8333333333%;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{left:70.8333333333%;position:relative}.el-col-xl-18{display:block;-webkit-box-flex:0;-webkit-flex:0 0 75%;flex:0 0 75%;max-width:75%}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{left:75%;position:relative}.el-col-xl-19{display:block;-webkit-box-flex:0;-webkit-flex:0 0 79.1666666667%;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{left:79.1666666667%;position:relative}.el-col-xl-20{display:block;-webkit-box-flex:0;-webkit-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{left:83.3333333333%;position:relative}.el-col-xl-21{display:block;-webkit-box-flex:0;-webkit-flex:0 0 87.5%;flex:0 0 87.5%;max-width:87.5%}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{left:87.5%;position:relative}.el-col-xl-22{display:block;-webkit-box-flex:0;-webkit-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{left:91.6666666667%;position:relative}.el-col-xl-23{display:block;-webkit-box-flex:0;-webkit-flex:0 0 95.8333333333%;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{left:95.8333333333%;position:relative}.el-col-xl-24{display:block;-webkit-box-flex:0;-webkit-flex:0 0 100%;flex:0 0 100%;max-width:100%}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{left:100%;position:relative}}.model-row[data-v-cb4c81ee]{padding-bottom:10px}.model-row .model-tip[data-v-cb4c81ee]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.content[data-v-cb4c81ee]{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.scan-effect[data-v-cb4c81ee]{position:relative;overflow:hidden;height:50vh}.scan-effect img[data-v-cb4c81ee]{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;position:absolute}.scan-line[data-v-cb4c81ee]{position:absolute;top:0;width:1.5px;height:100%;background:#0009;box-shadow:0 0 2px #0000004d}.matting-dialog .el-dialog__header,.matting-dialog .el-upload__tip{text-align:left}.matting-dialog .el-dialog__body{padding-top:0}.matting-dialog .el-upload-list__item-name{padding:0}.matting-dialog .el-upload-list__item-info{width:100%;margin-left:0}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border:1px solid var(--el-popover-border-color);border-radius:var(--el-popover-border-radius);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;color:var(--el-text-color-regular);font-size:var(--el-popover-font-size);line-height:1.4;min-width:150px;overflow-wrap:break-word;padding:var(--el-popover-padding);z-index:var(--el-index-popper)}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.upload-dialog .el-dialog__header,.upload-dialog .el-upload__tip{text-align:left}.upload-dialog .el-upload-list__item-name{padding:0}.upload-dialog .el-upload-list__item-info{width:100%;margin-left:0}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary);-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-radio-text-color);cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-radio-font-weight);height:32px;margin-right:30px;outline:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-radio.is-bordered.el-radio--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{border-radius:var(--el-border-radius-base);padding:0 11px 0 7px}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;outline:none;position:relative;vertical-align:middle;white-space:nowrap}.el-radio__input.is-disabled .el-radio__inner{border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled .el-radio__inner,.el-radio__input.is-disabled .el-radio__inner:after{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{background:var(--el-color-primary);border-color:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{background-color:var(--el-radio-input-bg-color);border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);box-sizing:border-box;cursor:pointer;display:inline-block;height:var(--el-radio-input-height);position:relative;width:var(--el-radio-input-width)}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{background-color:var(--el-color-white);border-radius:var(--el-radio-input-border-radius);content:"";height:4px;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0);-webkit-transition:-webkit-transform .15s ease-in;transition:-webkit-transform .15s ease-in;transition:transform .15s ease-in;transition:transform .15s ease-in,-webkit-transform .15s ease-in;width:4px}.el-radio__original{inset:0;margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.el-radio__original:focus-visible+.el-radio__inner{border-radius:var(--el-radio-input-border-radius);outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{height:12px;width:12px}.reference-pop-row[data-v-eda23971]{font-size:13px;padding:8px 15px;display:-webkit-box;display:-webkit-flex;display:flex}.reference-pop-row .reference-pop-direction[data-v-eda23971]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.reference-pop-row .reference-pop-text[data-v-eda23971]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.reference-pop-row .reference-flex-end[data-v-eda23971]{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.reference-pop-btn[data-v-eda23971]{font-size:13px;padding:8px 15px;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}[data-v-eda23971] .el-radio-group{-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.home-pop[data-v-8ca0e5b0]{margin:10px;padding:0}.pop-row[data-v-8ca0e5b0]{margin:0 10px;font-size:15px;padding:10px 15px;cursor:pointer}.pop-row .pop-icon[data-v-8ca0e5b0]{font-size:20px}.pop-row .pop-text[data-v-8ca0e5b0]{padding-left:15px}.pop-row[data-v-8ca0e5b0]:hover{border-radius:2px;background-color:#f9f9f9}.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.el-form--inline .el-form-item{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin-right:32px;vertical-align:middle}.el-form--inline.el-form--label-top{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-form-item{display:-webkit-box;display:-webkit-flex;display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item--label-left .el-form-item__label{-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.el-form-item--label-top{display:block}.el-form-item--label-top .el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;text-align:left}.el-form-item__label-wrap{display:-webkit-box;display:-webkit-flex;display:flex}.el-form-item__label{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;box-sizing:border-box;color:var(--el-text-color-regular);display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-flex:0;-webkit-flex:0 0 auto;flex:0 0 auto;font-size:var(--el-form-label-font-size);height:32px;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;line-height:32px;padding:0 12px 0 0}.el-form-item__content{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-wrap:wrap;flex-wrap:wrap;font-size:var(--font-size);line-height:32px;min-width:0;position:relative}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;left:0;line-height:1;padding-top:2px;position:absolute;top:100%}.el-form-item__error--inline{display:inline-block;left:auto;margin-left:10px;position:relative;top:auto}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before{color:var(--el-color-danger);content:"*";margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after{color:var(--el-color-danger);content:"*";margin-left:4px}.el-form-item.is-error .el-input__wrapper,.el-form-item.is-error .el-input__wrapper.is-focus,.el-form-item.is-error .el-input__wrapper:focus,.el-form-item.is-error .el-input__wrapper:hover,.el-form-item.is-error .el-select__wrapper,.el-form-item.is-error .el-select__wrapper.is-focus,.el-form-item.is-error .el-select__wrapper:focus,.el-form-item.is-error .el-select__wrapper:hover,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner.is-focus,.el-form-item.is-error .el-textarea__inner:focus,.el-form-item.is-error .el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-input-group__prepend .el-input__wrapper{box-shadow:inset 0 0 0 1px transparent}.el-form-item.is-error .el-input-group__append .el-input__validateIcon,.el-form-item.is-error .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex}.el-image__error,.el-image__inner,.el-image__placeholder,.el-image__wrapper{height:100%;width:100%}.el-image{display:inline-block;overflow:hidden;position:relative}.el-image__inner{opacity:1;vertical-align:top}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{left:0;position:absolute;top:0}.el-image__error,.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:var(--el-text-color-placeholder);display:-webkit-box;display:-webkit-flex;display:flex;font-size:14px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;vertical-align:middle}.el-image__preview{cursor:pointer}.el-image-viewer__wrapper{inset:0;position:fixed}.el-image-viewer__btn{-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-radius:50%;box-sizing:border-box;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;opacity:.8;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}.el-image-viewer__btn .el-icon{cursor:pointer;font-size:inherit}.el-image-viewer__close{font-size:40px;height:40px;right:40px;top:40px;width:40px}.el-image-viewer__canvas{-webkit-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:flex;height:100%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:static;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;bottom:30px;height:44px;left:50%;padding:0 23px;-webkit-transform:translateX(-50%);transform:translate(-50%);width:282px}.el-image-viewer__actions__inner{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;cursor:default;display:-webkit-box;display:-webkit-flex;display:flex;font-size:23px;height:100%;-webkit-justify-content:space-around;justify-content:space-around;width:100%}.el-image-viewer__prev{left:40px}.el-image-viewer__next,.el-image-viewer__prev{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:44px}.el-image-viewer__next{right:40px;text-indent:2px}.el-image-viewer__close{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;width:44px}.el-image-viewer__mask{background:#000;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%}.viewer-fade-enter-active{-webkit-animation:viewer-fade-in var(--el-transition-duration);animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{-webkit-animation:viewer-fade-out var(--el-transition-duration);animation:viewer-fade-out var(--el-transition-duration)}@-webkit-keyframes viewer-fade-in{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes viewer-fade-in{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes viewer-fade-out{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}}@keyframes viewer-fade-out{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}}.h-full[data-v-a7f16e6f]{height:100%}.content-center[data-v-a7f16e6f]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.captcha-image[data-v-a7f16e6f]{cursor:pointer;outline:1px solid #eee}.login-dialog .el-dialog__header,.login-dialog .el-upload__tip{text-align:left}.login-dialog .el-upload-list__item-name{padding:0}.login-dialog .el-upload-list__item-info{width:100%;margin-left:0}.captcha .el-form-item__content{-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.menu-content[data-v-10e0a8c0]{width:170px;padding:5px 0;background:#fff;border:1px solid #eee;box-shadow:3px 3px 3px #00000026;border-radius:2px;list-style:none;margin:0}.menu-item[data-v-10e0a8c0]{padding:0 20px;color:#555;font-size:12px;-webkit-transition:all .1s;transition:all .1s;white-space:nowrap;height:30px;line-height:30px;background-color:#fff;cursor:pointer}.menu-item:not(.disable):hover>.menu-item-content>.sub-menu[data-v-10e0a8c0]{display:block}.menu-item:not(.disable):hover>.has-children.has-handler[data-v-10e0a8c0]:after{-webkit-transform:scale(1);transform:scale(1)}.menu-item[data-v-10e0a8c0]:hover:not(.disable){background-color:#409eff33}.menu-item.divider[data-v-10e0a8c0]{height:1px;overflow:hidden;margin:5px;background-color:#e5e5e5;line-height:0;padding:0}.menu-item.disable[data-v-10e0a8c0]{color:#b1b1b1;cursor:no-drop}.menu-item-content[data-v-10e0a8c0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;position:relative}.menu-item-content.has-children[data-v-10e0a8c0]:before{content:"";display:inline-block;width:8px;height:8px;border-width:1px;border-style:solid;border-color:#666 #666 transparent transparent;position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}.menu-item-content.has-children.has-handler[data-v-10e0a8c0]:after{content:"";display:inline-block;width:1px;height:24px;background-color:#f1f1f1;position:absolute;right:18px;top:3px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .2s;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.menu-item-content .sub-text[data-v-10e0a8c0]{opacity:.6}.menu-item-content .sub-menu[data-v-10e0a8c0]{width:120px;position:absolute;display:none;left:112%;top:-6px}.mask{position:fixed;left:0;top:0;width:100vw;height:100vh;z-index:9998}.contextmenu{position:fixed;z-index:9999;-webkit-user-select:none;-moz-user-select:none;user-select:none} diff --git a/assets/index-CS_RRQug.css.gz b/assets/index-CS_RRQug.css.gz new file mode 100644 index 00000000..c564131d Binary files /dev/null and b/assets/index-CS_RRQug.css.gz differ diff --git a/assets/index-D5HAQ7mM.js b/assets/index-D5HAQ7mM.js new file mode 100644 index 00000000..12b00d51 --- /dev/null +++ b/assets/index-D5HAQ7mM.js @@ -0,0 +1,7 @@ +var e=Object.defineProperty,t=Object.defineProperties,n=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,l=Math.pow,i=(t,n,o)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,s=(e,t)=>{for(var n in t||(t={}))a.call(t,n)&&i(e,n,t[n]);if(o)for(var n of o(t))r.call(t,n)&&i(e,n,t[n]);return e},c=(e,o)=>t(e,n(o)),u=(e,t,n)=>i(e,"symbol"!=typeof t?t+"":t,n),f=(e,t,n)=>new Promise(((o,a)=>{var r=e=>{try{i(n.next(e))}catch(t){a(t)}},l=e=>{try{i(n.throw(e))}catch(t){a(t)}},i=e=>e.done?o(e.value):Promise.resolve(e.value).then(r,l);i((n=n.apply(e,t)).next())}));import{d,e as p,E as h,A as v,L as m,f as g,g as y,h as b,i as _,j as w,k as x,l as k,s as E,m as C,n as S,c as O,H as A,a as L,b as T,o as F,p as D,S as j,q as P,r as M,t as I,v as B,w as V,P as R,x as $,y as U,z as N,G as z,B as G,C as H,W as X,D as Y,F as W,I as q,K as Z,J as K,M as J,N as Q,O as ee,Q as te,T as ne,R as oe,U as ae,V as re,X as le,Y as ie,Z as se,$ as ce,a0 as ue,a1 as fe,a2 as de,a3 as pe,a4 as he,a5 as ve,a6 as me,a7 as ge,a8 as ye,a9 as be,aa as _e,ab as we,ac as xe,ad as ke,ae as Ee,af as Ce,ag as Se,ah as Oe,ai as Ae,aj as Le,ak as Te,al as Fe,am as De,an as je,ao as Pe,ap as Me,aq as Ie,ar as Be,as as Ve,at as Re,au as $e}from"./index-BtvUkC1a.js";import{j as Ue,r as Ne,e as ze,ae as Ge,k as He,l as Xe,m as Ye,M as We,Q as qe,U as Ze,V as Ke,u as Je,K as Qe,_ as et,$ as tt,O as nt,a7 as ot,R as at,W as rt,c as lt,n as it,T as st,w as ct,B as ut,aw as ft,Z as dt,al as pt,S as ht,H as vt,I as mt,F as gt}from"./vue-CfXu-DEr.js";import{K as yt,L as bt,M as _t,N as wt,r as xt,O as kt,q as Et,g as Ct,f as St,p as Ot,v as At,B as Lt,b as Tt,P as Ft,a as Dt,t as jt,Q as Pt,h as Mt,j as It,R as Bt,m as Vt,S as Rt,D as $t,y as Ut,d as Nt,T as zt,U as Gt,n as Ht,o as Xt,k as Yt,s as Wt,V as qt,W as Zt,l as Kt,X as Jt,c as Qt,Y as en,Z as tn,_ as nn,$ as on,E as an}from"./element-plus-MHsvnF2v.js";import{C as rn,_ as ln,u as sn,f as cn,N as un,G as fn,k as dn,U as pn,a as hn,l as vn}from"./fabric-Dlz3ta-n.js";import{g as mn,a as gn,c as yn}from"./clipper-lib-Cdu7DM5D.js";import{a as bn,b as _n}from"./index-CIyjKADP.js";import{e as wn,t as xn,n as kn}from"./lodash-es-DIelbCxD.js";import{o as En}from"./opentype.js-QlGfLlyt.js";const Cn=()=>({alignElement:e=>{const[t]=g(),{left:n,top:o,width:a,height:r,centerPoint:l}=d(),i=t.getActiveObject(),s=p();if(!i)return;let c={};if(i.type.toLowerCase()===h.ACTIVE){const t=i;switch(e){case v.LEFT:t._objects.forEach((e=>e.set({left:-t.width/2})));break;case v.RIGHT:t._objects.forEach((e=>e.set({left:t.width/2-e.width*e.scaleX})));break;case v.TOP:t._objects.forEach((e=>e.set({top:-t.height/2})));break;case v.BOTTOM:t._objects.forEach((e=>e.set({top:t.height/2-e.height*e.scaleY})));break;case v.HORIZONTAL:t._objects.forEach((e=>e.set({top:-e.height/2*e.scaleY})));break;case v.VERTICAL:t._objects.forEach((e=>e.set({left:-e.width/2*e.scaleX})));break;case v.CENTER:t._objects.forEach((e=>e.set({left:t.left-e.width/2*e.scaleX}))),t._objects.forEach((e=>e.set({top:t.top-e.height/2*e.scaleY})))}}else switch(t.discardActiveObject(),e){case v.LEFT:c={left:n},i.set(c);break;case v.RIGHT:c={left:n+a-i.width*i.scaleX},i.set(c);break;case v.TOP:c={top:o},i.set(c);break;case v.BOTTOM:c={top:o+r-i.height*i.scaleY},i.set(c);break;case v.HORIZONTAL:c={top:l.y-i.height/2*i.scaleY},i.set(c);break;case v.VERTICAL:c={left:l.x-i.width/2*i.scaleX},i.set(c);break;case v.CENTER:c={left:l.x-i.width/2*i.scaleX,top:l.y-i.height/2*i.scaleY},i.set(c)}t.setActiveObject(i),t.renderAll(),s.modifedElement(i,c)},layerElement:e=>{const[t]=g(),{setZindex:n}=y(),o=t.getActiveObject(),a=p();if(o){switch(e){case m.UP:t.bringObjectForward(o);break;case m.DOWN:t.sendObjectBackwards(o);break;case m.TOP:t.bringObjectToFront(o);break;case m.BOTTOM:t.sendObjectToBack(o)}n(t),t.renderAll(),a.modifedElement(o,{})}}}),Sn={class:"h-[59px] w-full flex justify-between px-[16px] border-b border-[#eee]"},On={class:"left-handler"},An={class:"center-handler"},Ln={class:"handler-dropdown"},Tn={class:"right-handler"},Fn={class:"viewport-size-preset"},Dn=["onClick"],jn=O(Ue({__name:"index",setup(e){const t=b(),n=_();p();const{t:o}=w(),{setCanvasScalePercentage:a,scaleCanvas:r,resetCanvas:l}=x(),{combineElements:i,uncombineElements:s,intersectElements:c}=k(),{zoom:u}=E(t),{canvasObject:f}=E(n),d=Ne(),v=ze((()=>Math.round(100*u.value)+"%")),m=[200,150,100,80,50],{canUndo:y,canRedo:O}=E(C()),{redo:A,undo:L}=S(),T=ze((()=>f.value)),F=ze((()=>!!T.value&&T.value.type===h.ACTIVE)),D=ze((()=>!!T.value&&T.value.type===h.GROUP)),j=ze((()=>{const[e]=g();if(!T.value)return!1;if(T.value.type===h.GROUP){const e=T.value,t=e._objects.filter((e=>e.type===h.PATH));return!(2!==e._objects.length||!t||2!==t.length)}if(T.value.type!==h.ACTIVE)return!1;const t=e.getActiveObjects();return 2===t.length&&2===t.filter((e=>e.type===h.PATH)).length})),P=e=>{T.value&&c(e)};return(e,t)=>{const n=Ge("IconHome"),c=yt,u=Ge("IconBack"),f=Ge("IconNext"),p=Ge("IconGroup"),b=Ge("IconUngroup"),_=Ge("IconRuler"),w=Ge("IconUnionSelection"),x=Ge("IconDown"),k=bt,E=Ge("IconSubtractSelectionOne"),C=Ge("IconIntersectSelection"),S=Ge("IconExcludeSelection"),M=_t,I=wt,B=Ge("IconMinus"),V=Ge("IconFullScreen"),R=xt,$=Ge("IconPlus");return He(),Xe("div",Sn,[Ye("div",On,[We(c,{placement:"top","hide-after":0,content:"首页"},{default:qe((()=>[We(n,{class:"handler-item"})])),_:1}),We(c,{placement:"top","hide-after":0},{content:qe((()=>[Ze(Ke(Je(o)("message.undo")),1)])),default:qe((()=>[We(u,{class:Qe(["handler-item",{disable:!Je(y)}]),onClick:t[0]||(t[0]=e=>Je(L)())},null,8,["class"])])),_:1}),We(c,{placement:"top","hide-after":0},{content:qe((()=>[Ze(Ke(Je(o)("message.redo")),1)])),default:qe((()=>[We(f,{class:Qe(["handler-item",{disable:!Je(O)}]),onClick:t[1]||(t[1]=e=>Je(A)())},null,8,["class"])])),_:1}),We(c,{placement:"top","hide-after":0},{content:qe((()=>[Ze(Ke(Je(o)("message.group")),1)])),default:qe((()=>[et(We(p,{class:Qe(["handler-item",{disable:!F.value}]),onClick:t[2]||(t[2]=e=>{T.value&&T.value.type===h.ACTIVE&&i()})},null,8,["class"]),[[tt,F.value]])])),_:1}),We(c,{placement:"top","hide-after":0},{content:qe((()=>[Ze(Ke(Je(o)("message.ungroup")),1)])),default:qe((()=>[et(We(b,{class:Qe(["handler-item",{disable:!D.value}]),onClick:t[3]||(t[3]=e=>{T.value&&T.value.type===h.GROUP&&s()})},null,8,["class"]),[[tt,D.value]])])),_:1}),We(c,{placement:"top","hide-after":0},{content:qe((()=>[Ze(Ke(Je(o)("message.ruler")),1)])),default:qe((()=>[We(_,{class:"handler-item",onClick:t[4]||(t[4]=e=>(()=>{const[e]=g();e.ruler&&(e.ruler.enabled=!e.ruler.enabled)})())})])),_:1})]),et(Ye("div",An,[We(I,{trigger:"click"},{dropdown:qe((()=>[We(M,null,{default:qe((()=>[We(k,{onClick:t[5]||(t[5]=e=>P(0))},{default:qe((()=>[We(w,{class:"handler-item"}),Ze(Ke(Je(o)("message.union")),1)])),_:1}),We(k,{onClick:t[6]||(t[6]=e=>P(1))},{default:qe((()=>[We(E,{class:"handler-item"}),Ze(Ke(Je(o)("message.difference")),1)])),_:1}),We(k,{onClick:t[7]||(t[7]=e=>P(2))},{default:qe((()=>[We(C,{class:"handler-item"}),Ze(Ke(Je(o)("message.intersection")),1)])),_:1}),We(k,{onClick:t[8]||(t[8]=e=>P(3))},{default:qe((()=>[We(S,{class:"handler-item"}),Ze(Ke(Je(o)("message.xor")),1)])),_:1})])),_:1})])),default:qe((()=>[Ye("span",Ln,[We(c,{placement:"top","hide-after":0},{content:qe((()=>[Ze(Ke(Je(o)("message.union")),1)])),default:qe((()=>[We(w,{class:"handler-icon"})])),_:1}),We(x,{class:"handler-icon icon-down"})])])),_:1})],512),[[tt,j.value]]),Ye("div",Tn,[We(B,{class:"handler-item",onClick:t[9]||(t[9]=e=>Je(r)("-"))}),We(R,{placement:"bottom",trigger:"click",width:"100","popper-class":"viewport-size"},{reference:qe((()=>[Ye("span",{class:"text",ref_key:"scaleRef",ref:d},Ke(v.value),513)])),default:qe((()=>[Ye("div",Fn,[(He(),Xe(nt,null,ot(m,(e=>Ye("div",{class:"preset-item",key:e,onClick:t=>{a(e)}},Ke(e)+"%",9,Dn))),64)),Ye("div",{class:"preset-item",onClick:t[10]||(t[10]=e=>Je(l)())},[We(V,{class:"handler-item"})])])])),_:1}),We($,{class:"handler-item",onClick:t[11]||(t[11]=e=>Je(r)("+"))})])])}}}),[["__scopeId","data-v-6960d653"]]),Pn={class:"hotkey-doc"},Mn={class:"title"},In={class:"label"},Bn={class:"value"},Vn=O(Ue({__name:"HotkeyDrawer",props:{hasHotkey:{type:Boolean,default:!1}},setup(e){const t=e;return(e,n)=>{const o=kt;return He(),at(o,{modelValue:t.hasHotkey,"onUpdate:modelValue":n[0]||(n[0]=e=>t.hasHotkey=e),"with-header":!1,size:"320"},{default:qe((()=>[Ye("div",Pn,[(He(!0),Xe(nt,null,ot(Je(A),(e=>(He(),Xe(nt,{key:e.type},[Ye("div",Mn,Ke(e.type),1),(He(!0),Xe(nt,null,ot(e.children,(e=>(He(),Xe("div",{class:"hotkey-item",key:e.label},[Ye("div",In,Ke(e.label),1),Ye("div",Bn,Ke(e.value),1)])))),128))],64)))),128))])])),_:1},8,["modelValue"])}}}),[["__scopeId","data-v-b287f0b6"]]),Rn={class:"help-pop-text"},$n={class:"help-pop-text"},Un={class:"help-pop-text"},Nn={class:"help-pop-text"},zn={class:"help-pop-text"},Gn=O(Ue({__name:"HelpPopover",props:{helpRef:{type:null},helpPopoverRef:{type:null}},emits:["change"],setup(e,{emit:t}){const n=Ne(!1),o=Ne(!1),a=e,r=e=>{n.value=e};return(e,t)=>{const n=Ge("IconGuideBoard"),l=Et,i=Ge("IconVideoTwo"),s=Ge("IconKeyboardOne"),c=Ge("IconEdit"),u=Ge("IconHeadsetOne"),f=xt;return He(),Xe("div",null,[We(f,{placement:"right",trigger:"click","popper-style":{padding:0},onBeforeEnter:t[1]||(t[1]=e=>r(!0)),onHide:t[2]||(t[2]=e=>r(!1)),ref:a.helpPopoverRef,"virtual-ref":a.helpRef,"virtual-triggering":""},{default:qe((()=>[We(l,{class:"help-pop-row"},{default:qe((()=>[We(n,{class:"help-pop-icon"}),Ye("span",Rn,Ke(e.$t("message.BeginnerGuide")),1)])),_:1}),We(l,{class:"help-pop-row"},{default:qe((()=>[We(i,{class:"help-pop-icon"}),Ye("span",$n,Ke(e.$t("message.UserGuide")),1)])),_:1}),We(l,{class:"help-pop-row",onClick:t[0]||(t[0]=e=>o.value=!0)},{default:qe((()=>[We(s,{class:"help-pop-icon"}),Ye("span",Un,Ke(e.$t("message.Shortcuts")),1)])),_:1}),We(l,{class:"help-pop-row"},{default:qe((()=>[We(c,{class:"help-pop-icon"}),Ye("span",Nn,Ke(e.$t("message.Suggestions")),1)])),_:1}),We(l,{class:"help-pop-row"},{default:qe((()=>[We(u,{class:"help-pop-icon"}),Ye("span",zn,Ke(e.$t("message.OnlineSupport")),1)])),_:1})])),_:1},8,["virtual-ref"])])}}}),[["__scopeId","data-v-da465cee"]]),Hn={class:"left-bottom-tabs"},Xn={class:"center-tabs"},Yn=["onClick"],Wn=["id"],qn={class:"left-name"},Zn={class:"bottom-tabs"},Kn={id:"left-tabs-help"},Jn={class:"left-name"},Qn=O(Ue({__name:"index",setup(e){L();const t=_(),{poolType:n,poolShow:o}=E(t),a=Ne(),r=Ne(),l=Ne(!1),i=[{key:"editor",label:"message.edit",icon:"editor",index:0},{key:"template",label:"message.template",icon:"template",index:1},{key:"material",label:"message.material",icon:"material",index:2},{key:"text",label:"message.text",icon:"text",index:3},{key:"image",label:"message.image",icon:"picture",index:4},{key:"toolkit",label:"message.tool",icon:"toolkit",index:5},{key:"chatgpt",label:"message.chatgpt",icon:"chatgpt",index:6}],s=e=>{o.value&&e===n.value?o.value=!1:o.value="help"!==e,t.setPoolType(e)};return(e,t)=>{const o=T;return He(),Xe("div",null,[Ye("div",Hn,[Ye("div",Xn,[(He(),Xe(nt,null,ot(i,(t=>Ye("div",{class:Qe(["center-tab",{"left-active":t.key===Je(n)}]),key:t.key,onClick:e=>s(t.key)},[Ye("div",{class:"flex justify-center items-center flex-col",id:`left-tabs-${t.key}`},[We(o,{"icon-class":t.icon,className:"svg-size"},null,8,["icon-class"]),Ye("div",qn,Ke(e.$t(t.label)),1)],8,Wn)],10,Yn))),64))]),Ye("div",Zn,[Ye("div",{class:Qe(["bottom-tab",{"left-active":"help"===Je(n)}]),ref_key:"helpRef",ref:a,onClick:t[0]||(t[0]=e=>s("help"))},[Ye("div",Kn,[Ye("div",null,[We(o,{"icon-class":"help",className:"svg-size"})]),Ye("div",Jn,Ke(e.$t("message.help")),1)])],2),We(Gn,{"help-ref":Je(a),"help-popover-ref":Je(r)},null,8,["help-ref","help-popover-ref"]),We(Vn,{"has-hotkey":Je(l)},null,8,["has-hotkey"])])])])}}}),[["__scopeId","data-v-c6f81a7c"]]);var eo,to={exports:{}};eo=to.exports,window;var no=to.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=11)}([function(e,t,n){var o=n(5),a="object"==typeof self&&self&&self.Object===Object&&self,r=o.a||a||Function("return this")();t.a=r},function(e,t,n){(function(e){var o=n(5),a=eo&&!eo.nodeType&&eo,r=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=r&&r.exports===a&&o.a.process,i=function(){try{return r&&r.require&&r.require("util").types||l&&l.binding&&l.binding("util")}catch(e){}}();t.a=i}).call(this,n(6)(e))},function(e,t,n){function o(e){this._maxSize=e,this.clear()}o.prototype.clear=function(){this._size=0,this._values=Object.create(null)},o.prototype.get=function(e){return this._values[e]},o.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var a=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,l=/^\d/,i=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,s=/^\s*(['"]?)(.*?)(\1)\s*$/,c=new o(512),u=new o(512),f=new o(512);function d(e){return c.get(e)||c.set(e,p(e).map((function(e){return e.replace(s,"$2")})))}function p(e){return e.match(a)}function h(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function v(e){return!h(e)&&((t=e).match(l)&&!t.match(r)||function(e){return i.test(e)}(e));var t}e.exports={Cache:o,split:p,normalizePath:d,setter:function(e){var t=d(e);return u.get(e)||u.set(e,(function(e,n){for(var o=0,a=t.length;o-1},ae=function(e,t){var n=this.__data__,o=Q(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};function re(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},Ve=function(e){if("string"==typeof e||w(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Re=function(e,t,n){for(var o=-1,a=(t=Le(t,e)).length,r=!1;++o=0||(a[n]=e[n]);return a}var qn=n(4),Zn=/\$\{\s*(\w+)\s*\}/g,Kn=function(e){return function(t){return e.replace(Zn,(function(e,n){return Rn(t[n])}))}};function Jn(e,t,n,o){var a=this;this.name="ValidationError",this.value=t,this.path=n,this.type=o,this.errors=[],this.inner=[],e&&[].concat(e).forEach((function(e){a.errors=a.errors.concat(e.errors||e),e.inner&&(a.inner=a.inner.concat(e.inner.length?e.inner:e))})),this.message=this.errors.length>1?this.errors.length+" errors occurred":this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,Jn)}Jn.prototype=Object.create(Error.prototype),Jn.prototype.constructor=Jn,Jn.isError=function(e){return e&&"ValidationError"===e.name},Jn.formatError=function(e,t){"string"==typeof e&&(e=Kn(e));var n=function(t){return t.path=t.label||t.path||"this","function"==typeof e?e(t):e};return 1===arguments.length?n:n(t)};var Qn=function(e){return e?qn.SynchronousPromise:Promise};function eo(e,t){return e?null:function(e){return t.push(e),e.value}}function to(e){var t,n=e.validations,o=e.value,a=e.path,r=e.sync,l=e.errors,i=e.sort;return void 0===(t=l)&&(t=[]),l=t.inner&&t.inner.length?t.inner:[].concat(t),function(e,t){var n=Qn(t);return n.all(e.map((function(e){return n.resolve(e).then((function(e){return{fulfilled:!0,value:e}}),(function(e){return{fulfilled:!1,value:e}}))})))}(n,r).then((function(e){var t=e.filter((function(e){return!e.fulfilled})).reduce((function(e,t){var n=t.value;if(!Jn.isError(n))throw n;return e.concat(n)}),[]);if(i&&t.sort(i),(l=t.concat(l)).length)throw new Jn(l,o,a);return o}))}function no(e){var t,n,o,a=e.endEarly,r=Wn(e,["endEarly"]);return a?(t=r.validations,n=r.value,o=r.sync,Qn(o).all(t).catch((function(e){throw"ValidationError"===e.name&&(e.value=n),e})).then((function(){return n}))):to(r)}var oo=function(e){return"[object Object]"===Object.prototype.toString.call(e)},ao=function(){return function(e,t,n){for(var o=-1,a=Object(e),r=n(e),l=r.length;l--;){var i=r[++o];if(!1===t(a[i],i,a))break}return e}}(),ro=function(e,t){return e&&ao(e,t,mt)},lo=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},io=function(e){return this.__data__.has(e)};function so(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new me;++ti))return!1;var c=r.get(e);if(c&&r.get(t))return c==t;var u=-1,f=!0,d=2&n?new co:void 0;for(r.set(e,t),r.set(t,e);++u=n.length)throw new Error("Yup.reach cannot resolve an array item at index: "+i+", in the path: "+t+". because there is no value at that index. ");a=n,n=n&&n[d],e=e.innerType}if(!c){if(!e.fields||!e.fields[f])throw new Error("The schema does not contain the path: "+t+". (failed at: "+l+' which is a type: "'+e._type+'")');a=n,n=n&&n[f],e=e.fields[f]}r=f,l=s?"["+i+"]":"."+i})),{schema:e,parent:a,parentPath:r}):{parent:a,parentPath:t,schema:e}}var Xo=function(){function e(){this.list=new Set,this.refs=new Map}var t,n=e.prototype;return n.describe=function(){var e=[],t=this.list,n=Array.isArray(t),o=0;for(t=n?t:t[Symbol.iterator]();;){var a;if(n){if(o>=t.length)break;a=t[o++]}else{if((o=t.next()).done)break;a=o.value}var r=a;e.push(r)}var l=this.refs,i=Array.isArray(l),s=0;for(l=i?l:l[Symbol.iterator]();;){var c;if(i){if(s>=l.length)break;c=l[s++]}else{if((s=l.next()).done)break;c=s.value}var u=c[1];e.push(u.describe())}return e},n.toArray=function(){return Dn(this.list).concat(Dn(this.refs.values()))},n.add=function(e){Uo.isRef(e)?this.refs.set(e.key,e):this.list.add(e)},n.delete=function(e){Uo.isRef(e)?this.refs.delete(e.key):this.list.delete(e)},n.has=function(e,t){if(this.list.has(e))return!0;for(var n,o=this.refs.values();!(n=o.next()).done;)if(t(n.value)===e)return!0;return!1},n.clone=function(){var t=new e;return t.list=new Set(this.list),t.refs=new Map(this.refs),t},n.merge=function(e,t){var n=this.clone();return e.list.forEach((function(e){return n.add(e)})),e.refs.forEach((function(e){return n.add(e)})),t.list.forEach((function(e){return n.delete(e)})),t.refs.forEach((function(e){return n.delete(e)})),n},(t=[{key:"size",get:function(){return this.list.size+this.refs.size}}])&&a(e.prototype,t),e}();function Yo(e){var t=this;if(void 0===e&&(e={}),!(this instanceof Yo))return new Yo;this._deps=[],this._conditions=[],this._options={abortEarly:!0,recursive:!0},this._exclusive=Object.create(null),this._whitelist=new Xo,this._blacklist=new Xo,this.tests=[],this.transforms=[],this.withMutation((function(){t.typeError($n.notType)})),$e(e,"default")&&(this._defaultDefault=e.default),this.type=e.type||"mixed",this._type=e.type||"mixed"}for(var Wo=Yo.prototype={__isYupSchema__:!0,constructor:Yo,clone:function(){var e=this;return this._mutate?this:cn(this,(function(t){if(Xn(t)&&t!==e)return t}))},label:function(e){var t=this.clone();return t._label=e,t},meta:function(e){if(0===arguments.length)return this._meta;var t=this.clone();return t._meta=o(t._meta||{},e),t},withMutation:function(e){var t=this._mutate;this._mutate=!0;var n=e(this);return this._mutate=t,n},concat:function(e){if(!e||e===this)return this;if(e._type!==this._type&&"mixed"!==this._type)throw new TypeError("You cannot `concat()` schema's of different types: "+this._type+" and "+e._type);var t=function e(t,n){for(var o in n)if($e(n,o)){var a=n[o],r=t[o];if(void 0===r)t[o]=a;else{if(r===a)continue;Xn(r)?Xn(a)&&(t[o]=a.concat(r)):oo(r)?oo(a)&&(t[o]=e(r,a)):Array.isArray(r)&&Array.isArray(a)&&(t[o]=a.concat(r))}}return t}(e.clone(),this);return $e(e,"_default")&&(t._default=e._default),t.tests=this.tests,t._exclusive=this._exclusive,t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.withMutation((function(t){e.tests.forEach((function(e){t.test(e.OPTIONS)}))})),t},isType:function(e){return!(!this._nullable||null!==e)||!this._typeCheck||this._typeCheck(e)},resolve:function(e){var t=this;if(t._conditions.length){var n=t._conditions;(t=t.clone())._conditions=[],t=(t=n.reduce((function(t,n){return n.resolve(t,e)}),t)).resolve(e)}return t},cast:function(e,t){void 0===t&&(t={});var n=this.resolve(o({},t,{value:e})),a=n._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==n.isType(a)){var r=Rn(e),l=Rn(a);throw new TypeError("The value of "+(t.path||"field")+' could not be cast to a value that satisfies the schema type: "'+n._type+'". \n\nattempted value: '+r+" \n"+(l!==r?"result of cast: "+l:""))}return a},_cast:function(e){var t=this,n=void 0===e?e:this.transforms.reduce((function(n,o){return o.call(t,n,e)}),e);return void 0===n&&$e(this,"_default")&&(n=this.default()),n},_validate:function(e,t){var n=this;void 0===t&&(t={});var a=e,r=null!=t.originalValue?t.originalValue:e,l=this._option("strict",t),i=this._option("abortEarly",t),s=t.sync,c=t.path,u=this._label;l||(a=this._cast(a,o({assert:!1},t)));var f={value:a,path:c,schema:this,options:t,label:u,originalValue:r,sync:s};t.from&&(f.from=t.from);var d=[];return this._typeError&&d.push(this._typeError(f)),this._whitelistError&&d.push(this._whitelistError(f)),this._blacklistError&&d.push(this._blacklistError(f)),no({validations:d,endEarly:i,value:a,path:c,sync:s}).then((function(e){return no({path:c,sync:s,value:e,endEarly:i,validations:n.tests.map((function(e){return e(f)}))})}))},validate:function(e,t){return void 0===t&&(t={}),this.resolve(o({},t,{value:e}))._validate(e,t)},validateSync:function(e,t){var n,a;if(void 0===t&&(t={}),this.resolve(o({},t,{value:e}))._validate(e,o({},t,{sync:!0})).then((function(e){return n=e})).catch((function(e){return a=e})),a)throw a;return n},isValid:function(e,t){return this.validate(e,t).then((function(){return!0})).catch((function(e){if("ValidationError"===e.name)return!1;throw e}))},isValidSync:function(e,t){try{return this.validateSync(e,t),!0}catch(_e){if("ValidationError"===_e.name)return!1;throw _e}},getDefault:function(e){return void 0===e&&(e={}),this.resolve(e).default()},default:function(e){if(0===arguments.length){var t=$e(this,"_default")?this._default:this._defaultDefault;return"function"==typeof t?t.call(this):cn(t)}var n=this.clone();return n._default=e,n},strict:function(e){void 0===e&&(e=!0);var t=this.clone();return t._options.strict=e,t},_isPresent:function(e){return null!=e},required:function(e){return void 0===e&&(e=$n.required),this.test({message:e,name:"required",exclusive:!0,test:function(e){return this.schema._isPresent(e)}})},notRequired:function(){var e=this.clone();return e.tests=e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e},nullable:function(e){void 0===e&&(e=!0);var t=this.clone();return t._nullable=e,t},transform:function(e){var t=this.clone();return t.transforms.push(e),t},test:function(){var e;if(void 0===(e=1===arguments.length?"function"==typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=$n.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=Go(e),o=e.exclusive||e.name&&!0===t._exclusive[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t._exclusive[e.name]=!!e.exclusive,t.tests=t.tests.filter((function(t){if(t.OPTIONS.name===e.name){if(o)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t},when:function(e,t){1===arguments.length&&(t=e,e=".");var n=this.clone(),o=[].concat(e).map((function(e){return new Uo(e)}));return o.forEach((function(e){e.isSibling&&n._deps.push(e.key)})),n._conditions.push(new Yn(o,t)),n},typeError:function(e){var t=this.clone();return t._typeError=Go({message:e,name:"typeError",test:function(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t},oneOf:function(e,t){void 0===t&&(t=$n.oneOf);var n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n._whitelistError=Go({message:t,name:"oneOf",test:function(e){if(void 0===e)return!0;var t=this.schema._whitelist;return!!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},notOneOf:function(e,t){void 0===t&&(t=$n.notOneOf);var n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n._blacklistError=Go({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist;return!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},strip:function(e){void 0===e&&(e=!0);var t=this.clone();return t._strip=e,t},_option:function(e,t){return $e(t,e)?t[e]:this._options[e]},describe:function(){var e=this.clone(),t={type:e._type,meta:e._meta,label:e._label,tests:e.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))};return e._whitelist.size&&(t.oneOf=e._whitelist.describe()),e._blacklist.size&&(t.notOneOf=e._blacklist.describe()),t},defined:function(e){return void 0===e&&(e=$n.defined),this.nullable().test({message:e,name:"defined",exclusive:!0,test:function(e){return void 0!==e}})}},qo=function(){var e=Ko[Zo];Wo[e+"At"]=function(t,n,a){void 0===a&&(a={});var r=Ho(this,t,n,a.context),l=r.parent,i=r.parentPath;return r.schema[e](l&&l[i],o({},a,{parent:l,path:t}))}},Zo=0,Ko=["validate","validateSync"];Zo0},length:function(e,t){return void 0===t&&(t=Un.length),this.test({message:t,name:"length",exclusive:!0,params:{length:e},test:function(t){return aa(t)||t.length===this.resolve(e)}})},min:function(e,t){return void 0===t&&(t=Un.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return aa(t)||t.length>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=Un.max),this.test({name:"max",exclusive:!0,message:t,params:{max:e},test:function(t){return aa(t)||t.length<=this.resolve(e)}})},matches:function(e,t){var n,o,a=!1;return t&&("object"==typeof t?(a=t.excludeEmptyString,n=t.message,o=t.name):n=t),this.test({name:o||"matches",message:n||Un.matches,params:{regex:e},test:function(t){return aa(t)||""===t&&a||-1!==t.search(e)}})},email:function(e){return void 0===e&&(e=Un.email),this.matches(ra,{name:"email",message:e,excludeEmptyString:!0})},url:function(e){return void 0===e&&(e=Un.url),this.matches(la,{name:"url",message:e,excludeEmptyString:!0})},ensure:function(){return this.default("").transform((function(e){return null===e?"":e}))},trim:function(e){return void 0===e&&(e=Un.trim),this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:ia})},lowercase:function(e){return void 0===e&&(e=Un.lowercase),this.transform((function(e){return aa(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return aa(e)||e===e.toLowerCase()}})},uppercase:function(e){return void 0===e&&(e=Un.uppercase),this.transform((function(e){return aa(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return aa(e)||e===e.toUpperCase()}})}}),na(ca,Yo,{_typeCheck:function(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!((t=e)!=+t);var t},min:function(e,t){return void 0===t&&(t=Nn.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return aa(t)||t>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=Nn.max),this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return aa(t)||t<=this.resolve(e)}})},lessThan:function(e,t){return void 0===t&&(t=Nn.lessThan),this.test({message:t,name:"max",exclusive:!0,params:{less:e},test:function(t){return aa(t)||tthis.resolve(e)}})},positive:function(e){return void 0===e&&(e=Nn.positive),this.moreThan(0,e)},negative:function(e){return void 0===e&&(e=Nn.negative),this.lessThan(0,e)},integer:function(e){return void 0===e&&(e=Nn.integer),this.test({name:"integer",message:e,test:function(e){return aa(e)||Number.isInteger(e)}})},truncate:function(){return this.transform((function(e){return aa(e)?e:0|e}))},round:function(e){var t=["ceil","floor","round","trunc"];if("trunc"===(e=e&&e.toLowerCase()||"round"))return this.truncate();if(-1===t.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+t.join(", "));return this.transform((function(t){return aa(t)?t:Math[e](t)}))}});var ua=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/,fa=new Date("");function da(){var e=this;if(!(this instanceof da))return new da;Yo.call(this,{type:"date"}),this.withMutation((function(){e.transform((function(e){return this.isType(e)?e:(e=function(e){var t,n,o=[1,4,5,6,7,10,11],a=0;if(n=ua.exec(e)){for(var r,l=0;r=o[l];++l)n[r]=+n[r]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(a=60*n[10]+n[11],"+"===n[9]&&(a=0-a)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+a,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?fa:new Date(e))}))}))}function pa(e,t){return t||(t=e.slice(0)),e.raw=t,e}na(da,Yo,{_typeCheck:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t},min:function(e,t){void 0===t&&(t=zn.min);var n=e;if(!Uo.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`min` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(e){return aa(e)||e>=this.resolve(n)}})},max:function(e,t){void 0===t&&(t=zn.max);var n=e;if(!Uo.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`max` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(e){return aa(e)||e<=this.resolve(n)}})}});var ha=function(e,t,n,o){for(var a=-1,r=null==e?0:e.length;++aa?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var r=Array(a);++o=o?e:za(e,t,n)},Ha=function(e){return function(t){t=Ae(t);var n=mn(t)?An(t):void 0,o=n?n[0]:t.charAt(0),a=n?Ga(n,1).join(""):t.slice(1);return o[e]()+a}}("toUpperCase"),Xa=function(e){return Ha(Ae(e).toLowerCase())},Ya=Ua((function(e,t,n){return t=t.toLowerCase(),e+(n?Xa(t):t)})),Wa=function(e,t){var n={};return t=Io(t),ro(e,(function(e,o,a){Ze(n,t(e,o,a),e)})),n},qa=n(9),Za=n.n(qa);function Ka(e,t){void 0===t&&(t=[]);var n=[],o=[];function a(e,a){var r=Object(Vo.split)(e)[0];~o.indexOf(r)||o.push(r),~t.indexOf(a+"-"+r)||n.push([a,r])}for(var r in e)if($e(e,r)){var l=e[r];~o.indexOf(r)||o.push(r),Uo.isRef(l)&&l.isSibling?a(l.path,r):Xn(l)&&l._deps&&l._deps.forEach((function(e){return a(e,r)}))}return Za.a.array(o,n).reverse()}function Ja(e,t){var n=1/0;return e.some((function(e,o){if(-1!==t.path.indexOf(e))return n=o,!0})),n}function Qa(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o\n ').concat(e.listPoints(n,o).join(""),"\n \n ")}}function dr(e){this.mode=hr.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,n=this.data.length;t65536?(o[0]=240|(1835008&a)>>>18,o[1]=128|(258048&a)>>>12,o[2]=128|(4032&a)>>>6,o[3]=128|63&a):a>2048?(o[0]=224|(61440&a)>>>12,o[1]=128|(4032&a)>>>6,o[2]=128|63&a):a>128?(o[0]=192|(1984&a)>>>6,o[1]=128|63&a):o[0]=a,this.parsedData.push(o)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function pr(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.position=[],this.dataCache=null,this.dataList=[]}na(ar,Yo,{_typeCheck:function(e){return or(e)||"function"==typeof e},_cast:function(e,t){var n=this;void 0===t&&(t={});var a=Yo.prototype._cast.call(this,e,t);if(void 0===a)return this.default();if(!this._typeCheck(a))return a;var r=this.fields,l=!0===this._option("stripUnknown",t),i=this._nodes.concat(Object.keys(a).filter((function(e){return-1===n._nodes.indexOf(e)}))),s={},c=o({},t,{parent:s,__validating:t.__validating||!1}),u=!1;return i.forEach((function(e){var n=r[e],o=$e(a,e);if(n){var i,f=n._options&&n._options.strict;if(c.path=Qa(nr(),t.path,e),c.value=a[e],!0===(n=n.resolve(c))._strip)return void(u=u||e in a);void 0!==(i=t.__validating&&f?a[e]:n.cast(a[e],c))&&(s[e]=i)}else o&&!l&&(s[e]=a[e]);s[e]!==a[e]&&(u=!0)})),u?s:a},_validate:function(e,t){var n,a,r=this;void 0===t&&(t={});var l=t.sync,i=[],s=null!=t.originalValue?t.originalValue:e,c=[{schema:this,value:s}].concat(t.from||[]);return n=this._option("abortEarly",t),a=this._option("recursive",t),t=o({},t,{__validating:!0,originalValue:s,from:c}),Yo.prototype._validate.call(this,e,t).catch(eo(n,i)).then((function(e){if(!a||!or(e)){if(i.length)throw i[0];return e}c=s?[].concat(c):[{schema:r,value:s||e}].concat(t.from||[]),s=s||e;var u,f,d=r._nodes.map((function(n){var a,i=-1===n.indexOf(".")?Qa(tr(),t.path,n):Qa(er(),t.path,n),u=r.fields[n],f=o({},t,{path:i,from:c,parent:e,originalValue:s[n]});return u&&u.validate?(f.strict=!0,u.validate(e[n],f)):(a=l,a?qn.SynchronousPromise:Promise).resolve(!0)}));return no({sync:l,validations:d,value:e,errors:i,endEarly:n,path:t.path,sort:(u=r.fields,f=Object.keys(u),function(e,t){return Ja(f,e)-Ja(f,t)})})}))},concat:function(e){var t=Yo.prototype.concat.call(this,e);return t._nodes=Ka(t.fields,t._excludedEdges),t},shape:function(e,t){void 0===t&&(t=[]);var n=this.clone(),a=o(n.fields,e);if(n.fields=a,t.length){Array.isArray(t[0])||(t=[t]);var r=t.map((function(e){return e[0]+"-"+e[1]}));n._excludedEdges=n._excludedEdges.concat(r)}return n._nodes=Ka(a,n._excludedEdges),n},from:function(e,t,n){var a=Object(Vo.getter)(e,!0);return this.transform((function(r){if(null==r)return r;var l=r;return $e(r,e)&&(l=o({},r),n||delete l[e],l[t]=a(r)),l}))},noUnknown:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=Gn.noUnknown),"string"==typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n,o,a,r=(n=this.schema,o=t,a=Object.keys(n.fields),Object.keys(o).filter((function(e){return-1===a.indexOf(e)})));return!e||0===r.length||this.createError({params:{unknown:r.join(", ")}})}});return n._options.stripUnknown=e,n},unknown:function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=Gn.noUnknown),this.noUnknown(!e,t)},transformKeys:function(e){return this.transform((function(t){return t&&Wa(t,(function(t,n){return e(n)}))}))},camelCase:function(){return this.transformKeys(Ya)},snakeCase:function(){return this.transformKeys(Na)},constantCase:function(){return this.transformKeys((function(e){return Na(e).toUpperCase()}))},describe:function(){var e=Yo.prototype.describe.call(this);return e.fields=Bo(this.fields,(function(e){return e.describe()})),e}}),na(ir,Yo,{_typeCheck:function(e){return Array.isArray(e)},_cast:function(e,t){var n=this,a=Yo.prototype._cast.call(this,e,t);if(!this._typeCheck(a)||!this.innerType)return a;var r=!1,l=a.map((function(e,a){var l=n.innerType.cast(e,o({},t,{path:Qa(lr(),t.path,a)}));return l!==e&&(r=!0),l}));return r?l:a},_validate:function(e,t){var n=this;void 0===t&&(t={});var a=[],r=t.sync,l=t.path,i=this.innerType,s=this._option("abortEarly",t),c=this._option("recursive",t),u=null!=t.originalValue?t.originalValue:e;return Yo.prototype._validate.call(this,e,t).catch(eo(s,a)).then((function(e){if(!c||!i||!n._typeCheck(e)){if(a.length)throw a[0];return e}u=u||e;var f=e.map((function(n,a){var r=Qa(rr(),t.path,a),l=o({},t,{path:r,strict:!0,parent:e,index:a,originalValue:u[a]});return!i.validate||i.validate(n,l)}));return no({sync:r,path:l,value:e,errors:a,endEarly:s,validations:f})}))},_isPresent:function(e){return Yo.prototype._isPresent.call(this,e)&&e.length>0},of:function(e){var t=this.clone();if(!1!==e&&!Xn(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema, or `false` to negate a current sub-schema. not: "+Rn(e));return t._subType=e,t.innerType=e,t},min:function(e,t){return t=t||Hn.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return aa(t)||t.length>=this.resolve(e)}})},max:function(e,t){return t=t||Hn.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return aa(t)||t.length<=this.resolve(e)}})},ensure:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))},compact:function(e){var t=e?function(t,n,o){return!e(t,n,o)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))},describe:function(){var e=Yo.prototype.describe.call(this);return this.innerType&&(e.innerType=this.innerType.describe()),e}}),dr.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,n=this.parsedData.length;t=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=pr.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var o=-1;o<=7;o++)t+o<=-1||this.moduleCount<=t+o||(this.modules[e+n][t+o]=0<=n&&n<=6&&(0==o||6==o)||0<=o&&o<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=o&&o<=4)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var o=Or.getLostPoint(this);(0==n||e>o)&&(e=o,t=n)}return t},createMovieClip:function(e,t,n){var o=e.createEmptyMovieClip(t,n);this.make();for(var a=0;a>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=o}for(var a=0;a<18;a++){var r=!e&&1==(t>>a&1);this.modules[a%3+this.moduleCount-8-3][Math.floor(a/3)]=r}},setupTypeInfo:function(e,t){for(var n=this.errorCorrectLevel<<3|t,o=Or.getBCHTypeInfo(n),a=0;a<15;a++){var r=!e&&1==(o>>a&1);a<6?this.modules[a][8]=r:a<8?this.modules[a+1][8]=r:this.modules[this.moduleCount-15+a][8]=r}for(var l=0;l<15;l++){var i=!e&&1==(o>>l&1);l<8?this.modules[8][this.moduleCount-l-1]=i:l<9?this.modules[8][15-l-1+1]=i:this.modules[8][15-l-1]=i}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,o=this.moduleCount-1,a=7,r=0,l=this.moduleCount-1;l>0;l-=2)for(6==l&&l--;;){for(var i=0;i<2;i++)if(null==this.modules[o][l-i]){var s=!1;r>>a&1)),Or.getMask(t,o,l-i)&&(s=!s),this.modules[o][l-i]=s,-1==--a&&(r++,a=7)}if((o+=n)<0||this.moduleCount<=o){o-=n,n=-n;break}}}},pr.PAD0=236,pr.PAD1=17,pr.createData=function(e,t,n){for(var o=jr.getRSBlocks(e,t),a=new Pr,r=0;r8*i)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*i+")");for(a.getLengthInBits()+4<=8*i&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;!(a.getLengthInBits()>=8*i||(a.put(pr.PAD0,8),a.getLengthInBits()>=8*i));)a.put(pr.PAD1,8);return pr.createBytes(a,o)},pr.createBytes=function(e,t){for(var n=0,o=0,a=0,r=new Array(t.length),l=new Array(t.length),i=0;i=0?d.get(h):0}}for(var v=0,m=0;m=0;)t^=Or.G15<=0;)t^=Or.G18<>>=1;return t},getPatternPosition:function(e){return Or.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case br:return(t+n)%2==0;case _r:return t%2==0;case wr:return n%3==0;case xr:return(t+n)%3==0;case kr:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case Er:return t*n%2+t*n%3==0;case Cr:return(t*n%2+t*n%3)%2==0;case Sr:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new Dr([1],0),n=0;n5&&(n+=3+r-5)}for(var c=0;c=256;)e-=255;return Ar.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},Lr=0;Lr<8;Lr++)Ar.EXP_TABLE[Lr]=1<>>7-e%8&1)},put:function(e,t){for(var n=0;n>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Vr=0,Rr=1,$r=2,Ur=3,Nr=4,zr=5,Gr=6,Hr=7;function Xr(e){if(!e.text||e.text.length<=0)return null;var t=new pr((e=Ir(Ir({},{render:"canvas",width:"100%",height:"100%",typeNumber:-1,correctLevel:1,background:"#ffffff",foreground:"#000000",isSpace:!0}),e)).typeNumber,e.correctLevel);return t.addData(e.text),t.make(),t.$options=e,t}function Yr(e){for(var t=e.getModuleCount(),n=e.getPositionTable(),o=[[3,3],[3,t-4],[t-4,3]],a=new Array(t),r=0;r=0&&o[u][0]+f=0&&o[u][1]+d')):1===r?a.push('')):2===r&&a.push(''));else if(o[h][v]===Rr)if(0===s)a.push(''));else if(1===s)a.push('')),a.push(''));else if(2===s){a.push('')),a.push(''));for(var m=0;m'));for(var g=0;g'))}else 3===s&&(a.push('')),a.push('')));else o[h][v]===$r?0===s&&a.push('')):0===r?a.push('')):1===r?a.push('')):2===r&&a.push(''));return a}function Zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Kr(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return t=Kr(Kr({},{type:0,size:100,opacity:100,posType:0}),t),el(e,t)},nl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=Kr(Kr({},{type:1,size:50,opacity:30,posType:1}),t),el(e,t)},ol=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=Kr(Kr({},{type:2,size:80,opacity:100,posType:2}),t),el(e,t)};function al(e,t){if(!e)return[];var n=e.getModuleCount(),o=Yr(e),a=[],r=[],l=[],i=t[0]/100,s=t[1]/100,c=t[2]/100,u=t[3],f=0;i<=0&&(i=70),s<=0&&(s=70);for(var d=[],p=[],h=0;h')):1===u&&(a.push('')),a.push('')),a.push('')),a.push('')),a.push('')));else if(o[g][m]===$r)0===u&&a.push(''));else{if(d[g][m]&&p[g][m]&&g')),r.push('')),d[g][m]=!1,d[g+2][m]=!1,d[g][m+2]=!1,d[g+2][m+2]=!1,d[g+1][m+1]=!1;for(var w=0;w<3;w++)for(var x=0;x<3;x++)p[g+w][m+x]=!1}}if(d[g][m]&&p[g][m]&&g')),r.push(''));for(var S=0;S<2;S++)for(var O=0;O<2;O++)d[g+S][m+O]=!1,p[g+S][m+O]=!1}}if(d[g][m]&&p[g][m]&&(0===m||m>0&&(!e.isDark(g,m-1)||!p[g][m-1]))){for(var A=m,L=m,T=!0;T&&L2){for(var F=A;F')),l.push(''))}}if(d[g][m]&&p[g][m]&&(0===g||g>0&&(!e.isDark(g-1,m)||!p[g-1][m]))){for(var D=g,j=g,P=!0;P&&j1){for(var M=D;M'))}}d[g][m]&&a.push(''))}for(var I=0;I')),o.push(''))}}return o}var sl=function(e){return fr({listPoints:il})({qrcode:e})};function cl(e,t){if(!e)return[];var n=e.getModuleCount(),o=Yr(e),a=new Array(n),r=1.001,l=t[0],i=t[1],s=t[2],c=t[3],u=t[4],f=0,d=[-Math.sqrt(3)/2,.5],p=[Math.sqrt(3)/2,.5],h=[0,0],v="matrix("+String(d[0])+", "+String(d[1])+", "+String(p[0])+", "+String(p[1])+", "+String(h[0])+", "+String(h[1])+")";l<=0&&(l=1),i<=0&&(i=1);for(var m=0;m')),a.push('')),a.push(''))):(a.push('')),a.push('')),a.push(''))));return a}function ul(e){if(!e)return"0 0 0 0";var t=e.getModuleCount();return e.$options.isSpace?"".concat(-t," ").concat(-t/2," ").concat(2*t," ").concat(2*t):"".concat(3-t," ").concat(-t/2," ").concat(2*t-6," ").concat(2*t-6)}var fl=ar().shape({height:ca().default(.5),height2:ca().default(.5),upColor:sa().default("#FF7F89"),leftColor:sa().default("#FFD7D9"),rightColor:sa().default("#FFEBF3")}),dl=function(e,t){try{t=fl.validateSync(t)}catch(o){return""}var n=["height","height2","upColor","leftColor","rightColor"].map((function(e){return t[e]}));return fr({listPoints:cl,getViewBox:ul})({qrcode:e,params:n})};function pl(e,t){if(!e)return[];var n=e.getModuleCount(),o=Yr(e),a=new Array(n),r=t[1],l=t[2]/100/3,i=t[3]/100,s=t[4],c=t[5],u=t[6],f=t[7],d=0,p=[3,-3],h=[3,-3];l<=0&&(l=1),a.push(''));for(var v=0;v')):1===r&&a.push('')):0===r?a.push('')):1===r&&a.push(''));else if(o[v][m]===Rr){if(e.isDark(v,m))if(0===u)a.push(''));else if(1===u)a.push('')),a.push('')),a.push(''));else if(2===u){a.push('')),a.push('')),a.push(''));for(var g=0;g'));for(var y=0;y'))}}else o[v][m]===$r?e.isDark(v,m)?0===u&&a.push('')):0===u&&a.push('')):e.isDark(v,m)?0===r?a.push('')):1===r&&a.push('')):0===r?a.push('')):1===r&&a.push(''));return a}var hl=ar().shape({backgroudImage:sa(),type:Yo().oneOf([0,1]).default(0),size:ca().default(100),opacity:ca().default(100),otherColorDark:sa().default("#000000"),otherColorLight:sa().default("#FFFFFF"),posType:Yo().oneOf([0,1,2]).default(0),posColor:sa().default("#000000")}),vl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{t=hl.validateSync(t)}catch(o){return""}var n=["backgroudImage","type","size","opacity","otherColorDark","otherColorLight","posType","posColor"].map((function(e){return t[e]}));return fr({listPoints:pl})({qrcode:e,params:n})},ml=function(e){var t=e.qrcode,n=e.params,o=n[5],a=t.$options,r=a.width,l=a.height;return new Promise((function(e,a){(function(e,t,n){var o=document.createElement("canvas"),a=o.getContext("2d"),r=document.createElement("img"),l=[];o.style.imageRendering="pixelated",t*=3,r.src=e[0];var i=e[1]/100,s=e[2]/100;return new Promise((function(e){r.onload=function(){o.width=t,o.height=t,a.imageSmoothingEnabled=!1,a.drawImage(r,0,0,t,t);for(var c=0;c(d/255+s-.5)*(i+1)+.5&&(c%3!=1||u%3!=1)&&l.push(''))}var p,h,v;e(l)}}))})(n,t.getModuleCount(),"#S-black").then((function(a){var i='\n \n \n \n \n \n \n \n \n ').concat(a.concat(function(e,t){if(!e)return[];for(var n=e.getModuleCount(),o=Yr(e),a=new Array(n),r=t[3],l=t[4],i=t[6],s=0,c=0;c')):a.push('')):0===r?a.push('")):a.push('')):o[c][u]===zr?e.isDark(c,u)?2===l?a.push('')):a.push('')):0===l?a.push('')):a.push('')):o[c][u]===Rr?e.isDark(c,u)&&a.push('')):o[c][u]===$r?e.isDark(c,u)?a.push('')):a.push('')):e.isDark(c,u)&&a.push(''))}return a}(t,n)).join(""),"\n ");e(i)})).catch((function(t){e(t)}))}))},gl=ar().shape({backgroudImage:sa().default(),contrast:ca().default(0),exposure:ca().default(0),alignType:Yo().oneOf([0,1,2]).default(0),timingType:Yo().oneOf([0,1,2]).default(0),otherColor:sa().default("#000000"),posColor:sa().default("#000000")}),yl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{t=gl.validateSync(t)}catch(o){return""}var n=["backgroudImage","contrast","exposure","alignType","timingType","otherColor","posColor"].map((function(e){return t[e]}));return ml({qrcode:e,params:n})};function bl(e,t){if(!e)return[];for(var n=e.getModuleCount(),o=Yr(e),a=[],r=[],l=[],i=0,s=t[0],c=t[1],u=[],f=[],d=0;d')),a.push(''));else if(e.isDark(v,h)&&o[v][h]===$r);else{if(u[v][h]&&f[v][h]&&v')),e.isDark(v+1,h+1)&&r.push('')),u[v+1][h]=!1,u[v][h+1]=!1,u[v+2][h+1]=!1,u[v+1][h+2]=!1;for(var b=0;b<3;b++)for(var _=0;_<3;_++)f[v+b][h+_]=!1}}if(v'));for(var w=0;w<2;w++)for(var x=0;x<2;x++)u[v+w][h+x]=!1,f[v+w][h+x]=!1}u[v][h]&&h')),u[v][h]=!1,u[v][h+1]=!1),u[v][h]&&v')),u[v][h]=!1,u[v+1][h]=!1),u[v][h]&&(e.isDark(v,h)?a.push('')):o[v][h]===Vr&&Wr(0,1)>.85&&l.push('')))}for(var k=0;k'));for(var h=0;h'));else if(1===i)a.push('')),a.push(''));else if(2===i){a.push('')),a.push(''));for(var m=0;m'));for(var g=0;g'))}else 3===i&&(a.push('')),a.push('')));else if(e.isDark(h,v)&&o[h][v]===$r)0===i&&a.push(''));else{var y=Math.sqrt(Math.pow((n-1)/2-h,2)+Math.pow((n-1)/2-v,2))/(n/2*Math.sqrt(2));if(0===l){var b=(1-Math.cos(Math.PI*y))/6+.2,_=c,w=Number(e.isDark(h,v));0===r?(b+=.2,a.push(''))):1===r&&a.push(''))}if(1===l){var x=0,k=c,E=Number(e.isDark(h,v));y>.25&&y<.4?(x=.5,k=u,E=1):(x=1/4,0===r&&(x=.15)),0===r?(x=2*x+.1,e.isDark(h,v)?a.push('')):(x-=.1,a.push('')))):1===r&&(e.isDark(h,v)?a.push('')):a.push('')))}}return a}var kl=ar().shape({type:Yo().oneOf([0,1]).default(1),size:Yo().oneOf([0,1]).default(0),opacity:ca().default(100),posType:Yo().oneOf([0,1,2,3]).default(1),otherColor:sa().default("#000000"),otherColor2:sa().default("#000000"),posColor:sa().default("#000000")}),El=ar().shape({type:Yo().oneOf([0,1]).default(1),size:Yo().oneOf([0,1]).default(1),opacity:ca().default(100),posType:Yo().oneOf([0,1,2,3]).default(1),otherColor:sa().default("#ABB8C3"),otherColor2:sa().default("#000000"),posColor:sa().default("#000000")}),Cl=function(e,t){try{t=kl.validateSync(t)}catch(o){return""}var n=["type","size","opacity","posType","otherColor","otherColor2","posColor"].map((function(e){return t[e]}));return fr({listPoints:xl})({qrcode:e,params:n})},Sl=function(e,t){try{t=El.validateSync(t)}catch(o){return""}var n=["type","size","opacity","posType","otherColor","otherColor2","posColor"].map((function(e){return t[e]}));return fr({listPoints:xl})({qrcode:e,params:n})};function Ol(e,t){if(!e)return[];var n=e.getModuleCount(),o=Yr(e),a=new Array(n),r=t[0],l=t[1]/100,i=t[2]/100,s=t[3],c=0,u=t[4],f=t[5],d=[3,-3],p=[3,-3];l<=0&&(l=1);for(var h=[],v=[],m=0;m'));else if(1===s)a.push('')),a.push(''));else if(2===s){a.push('')),a.push(''));for(var _=0;_'));for(var w=0;w'))}else 3===s&&(a.push('')),a.push('')));else if(o[y][b]===$r)0===s&&a.push(''));else{if(0===r){if(0===y||y>0&&(!e.isDark(y-1,b)||!v[y-1][b])){for(var x=0,k=!0;k&&y+x1){for(var E=0;E'))}}h[y][b]&&a.push(''))}if(1===r){if(0===b||b>0&&(!e.isDark(y,b-1)||!v[y][b-1])){for(var C=0,S=!0;S&&b+C1){for(var O=0;O'))}}h[y][b]&&a.push(''))}if(2===r){if(0===b||b>0&&(!e.isDark(y,b-1)||!v[y][b-1])){for(var A=0,L=!0;L&&b+A1){for(var T=0;T'))}}if(0===y||y>0&&(!e.isDark(y-1,b)||!v[y-1][b])){for(var F=0,D=!0;D&&y+F1){for(var j=0;j'))}}h[y][b]&&a.push(''))}if(3===r){if(y>b^y+b0&&(!e.isDark(y,b-1)||!v[y][b-1])){for(var P=0,M=!0;M&&b+P1){for(var I=0;I'))}}}else if(0===y||y>0&&(!e.isDark(y-1,b)||!v[y-1][b])){for(var B=0,V=!0;V&&y+B1){for(var R=0;R'))}}h[y][b]&&a.push(''))}if(4===r){if(0===b||0===y||b>0&&y>0&&(!e.isDark(y-1,b-1)||!v[y-1][b-1])){for(var $=0,U=!0;U&&b+$1){for(var N=0;N<$;N++)v[y+N][b+N]=!1,h[y+N][b+N]=!1;a.push(''))}}h[y][b]&&a.push(''))}if(5===r){if(0===y||b===n-1||y>0&&b=0;)e.isDark(y+z,b-z)&&h[y+z][b-z]?z++:G=!1;if(z-0>1){for(var H=0;H'))}}h[y][b]&&a.push(''))}if(6===r){if(0===y||b===n-1||y>0&&b=0;)e.isDark(y+X,b-X)&&v[y+X][b-X]?X++:Y=!1;if(X-0>1){for(var W=0;W'))}}if(0===b||0===y||b>0&&y>0&&(!e.isDark(y-1,b-1)||!h[y-1][b-1])){for(var q=0,Z=!0;Z&&b+q1){for(var K=0;K'))}}a.push(''))}}return a}var Al=ar().shape({type:Yo().oneOf([0,1,2,3,4,5,6]).default(2),size:ca().default(50),opacity:ca().default(100),posType:Yo().oneOf([0,1,2,3]).default(3),otherColor:sa().default("#000000"),posColor:sa().default("#000000")}),Ll=ar().shape({type:Yo().oneOf([0,1,2,3,4,5,6]).default(6),size:ca().default(50),opacity:ca().default(100),posType:Yo().oneOf([0,1,2,3]).default(0),otherColor:sa().default("#000000"),posColor:sa().default("#000000")}),Tl=function(e,t){try{t=Al.validateSync(t)}catch(o){return""}var n=["type","size","opacity","posType","otherColor","posColor"].map((function(e){return t[e]}));return fr({listPoints:Ol})({qrcode:e,params:n})},Fl=function(e,t){try{t=Ll.validateSync(t)}catch(o){return""}var n=["type","size","opacity","posType","otherColor","posColor"].map((function(e){return t[e]}));return fr({listPoints:Ol})({qrcode:e,params:n})};t.default={rendererRect:tl,rendererRound:nl,rendererRandRound:ol,rendererDSJ:ll,rendererResImage:yl,rendererImage:vl,renderer25D:dl,rendererRandRect:sl,rendererCircle:wl,rendererFuncA:Cl,rendererFuncB:Sl,rendererLine:Tl,rendererLine2:Fl,encodeData:Xr}}]).default;const oo=[{path:"M 0 0 L 20 20",style:"solid",points:["",""],data:[{x:0,y:0},{x:200,y:0}]}],ao=[{type:"直线",children:[{path:"M 0 0 L 20 20",style:"solid",points:["",""],data:[{x:0,y:0},{x:200,y:0}]},{path:"M 0 0 L 20 20",style:"dashed",points:["",""],data:[{x:0,y:0},{x:200,y:0}]},{path:"M 0 0 L 20 20",style:"solid",points:["","arrow"],data:[{x:0,y:0},{x:200,y:0}]},{path:"M 0 0 L 20 20",style:"dashed",points:["","arrow"],data:[{x:0,y:0},{x:200,y:0}]},{path:"M 0 0 L 20 20",style:"solid",points:["","dot"],data:[{x:0,y:0},{x:200,y:0}]}]},{type:"折线、曲线",children:[{path:"M 0 0 L 0 20 L 20 20",style:"solid",points:["","arrow"],isBroken:!0,data:[{x:0,y:0},{x:0,y:100},{x:200,y:100}]},{path:"M 0 0 Q 0 20 20 20",style:"solid",points:["","arrow"],isCurve:!0,data:[{x:0,y:0},{x:200,y:0}]},{path:"M 0 0 C 20 0 0 20 20 20",style:"solid",points:["","arrow"],isCubic:!0,data:[{x:0,y:0},{x:200,y:0}]}]}];var ro={},lo={},io={};Object.defineProperty(io,"__esModule",{value:!0});io.default=function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.text=n.text||t,this.options=n},Object.defineProperty(lo,"__esModule",{value:!0}),lo.CODE39=void 0;var so,co=function(){function e(e,t){for(var n=0;n=200){r=t.shift()-105;var l=Fo.SWAP[r];void 0!==l?a=e.next(t,n+1,l):(o!==Fo.SET_A&&o!==Fo.SET_B||r!==Fo.SHIFT||(t[0]=o===Fo.SET_A?t[0]>95?t[0]-96:t[0]:t[0]<32?t[0]+96:t[0]),a=e.next(t,n+1,o))}else r=e.correctIndex(t,o),a=e.next(t,n+1,o);var i=r*n;return{result:e.getBar(r)+a.result,checksum:i+a.checksum}}}]),e}();_o.default=Do;var jo={};Object.defineProperty(jo,"__esModule",{value:!0});var Po=wo,Mo=function(e){return e.match(new RegExp("^"+Po.A_CHARS+"*"))[0].length},Io=function(e){return e.match(new RegExp("^"+Po.B_CHARS+"*"))[0].length},Bo=function(e){return e.match(new RegExp("^"+Po.C_CHARS+"*"))[0]};function Vo(e,t){var n=t?Po.A_CHARS:Po.B_CHARS,o=e.match(new RegExp("^("+n+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(o)return o[1]+String.fromCharCode(204)+Ro(e.substring(o[1].length));var a=e.match(new RegExp("^"+n+"+"))[0];return a.length===e.length?e:a+String.fromCharCode(t?205:206)+Vo(e.substring(a.length),!t)}function Ro(e){var t=Bo(e),n=t.length;if(n===e.length)return e;e=e.substring(n);var o=Mo(e)>=Io(e);return t+String.fromCharCode(o?206:205)+Vo(e,o)}jo.default=function(e){var t=void 0;if(Bo(e).length>=2)t=Po.C_START_CHAR+Ro(e);else{var n=Mo(e)>Io(e);t=(n?Po.A_START_CHAR:Po.B_START_CHAR)+Vo(e,n)}return t.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,(function(e,t){return String.fromCharCode(203)+t}))},Object.defineProperty(bo,"__esModule",{value:!0});var $o=No(_o),Uo=No(jo);function No(e){return e&&e.__esModule?e:{default:e}}function zo(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Go=function(){function e(t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(t))var o=zo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,Uo.default)(t),n));else o=zo(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return zo(o)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,$o.default),e}();bo.default=Go;var Ho={};Object.defineProperty(Ho,"__esModule",{value:!0});var Xo=function(){function e(e,t){for(var n=0;n10*n.width?10*n.width:n.fontSize,o.guardHeight=n.height+o.fontSize/2+n.textMargin,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,_a.default),ga(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(e,t){return this.text.substr(e,t)}},{key:"leftEncode",value:function(e,t){return(0,ba.default)(e,t)}},{key:"rightText",value:function(e,t){return this.text.substr(e,t)}},{key:"rightEncode",value:function(e,t){return(0,ba.default)(e,t)}},{key:"encodeGuarded",value:function(){var e={fontSize:this.fontSize},t={height:this.guardHeight};return[{data:ya.SIDE_BIN,options:t},{data:this.leftEncode(),text:this.leftText(),options:e},{data:ya.MIDDLE_BIN,options:t},{data:this.rightEncode(),text:this.rightText(),options:e},{data:ya.SIDE_BIN,options:t}]}},{key:"encodeFlat",value:function(){return{data:[ya.SIDE_BIN,this.leftEncode(),ya.MIDDLE_BIN,this.rightEncode(),ya.SIDE_BIN].join(""),text:this.text}}}]),e}();ha.default=xa,Object.defineProperty(da,"__esModule",{value:!0});var ka=function(){function e(e,t){for(var n=0;n10*n.width?o.fontSize=10*n.width:o.fontSize=n.fontSize,o.guardHeight=n.height+o.fontSize/2+n.textMargin,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,Ja.default),Za(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==tr(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var e="";return e+="101",e+=(0,Ka.default)(this.data.substr(0,6),"LLLLLL"),e+="01010",e+=(0,Ka.default)(this.data.substr(6,6),"RRRRRR"),{data:e+="101",text:this.text}}},{key:"guardedEncoding",value:function(){var e=[];return this.displayValue&&e.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),e.push({data:"101"+(0,Ka.default)(this.data[0],"L"),options:{height:this.guardHeight}}),e.push({data:(0,Ka.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),e.push({data:"01010",options:{height:this.guardHeight}}),e.push({data:(0,Ka.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),e.push({data:(0,Ka.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&e.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),e}}]),e}();function tr(e){var t,n=0;for(t=1;t<11;t+=2)n+=parseInt(e[t]);for(t=0;t<11;t+=2)n+=3*parseInt(e[t]);return(10-n%10)%10}qa.default=er;var nr={};Object.defineProperty(nr,"__esModule",{value:!0});var or=function(){function e(e,t){for(var n=0;n10*n.width?o.fontSize=10*n.width:o.fontSize=n.fontSize,o.guardHeight=n.height+o.fontSize/2+n.textMargin,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,rr.default),or(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var e="";return e+="101",e+=this.encodeMiddleDigits(),{data:e+="010101",text:this.text}}},{key:"guardedEncoding",value:function(){var e=[];return this.displayValue&&e.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),e.push({data:"101",options:{height:this.guardHeight}}),e.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),e.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&e.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),e}},{key:"encodeMiddleDigits",value:function(){var e=this.upcA[0],t=this.upcA[this.upcA.length-1],n=ur[parseInt(t)][parseInt(e)];return(0,ar.default)(this.middleDigits,n)}}]),e}();function dr(e,t){for(var n=parseInt(e[e.length-1]),o=cr[n],a="",r=0,l=0;l=3&&this.number<=131070}}]),e}();ul.pharmacode=pl;var hl={};Object.defineProperty(hl,"__esModule",{value:!0}),hl.codabar=void 0;var vl=function(){function e(e,t){for(var n=0;n0?t.fontSize+t.textMargin:0)+t.marginTop+t.marginBottom}function Xl(e,t,n){if(n.displayValue&&tt&&(t=e[n].height);return t},zl.getEncodingHeight=Hl,zl.getBarcodePadding=Xl,zl.calculateEncodingAttributes=function(e,t,n){for(var o=0;o0?(n=0,a.textAlign="left"):"right"==e.textAlign?(n=t.width-1,a.textAlign="right"):(n=t.width/2,a.textAlign="center"),a.fillText(t.text,n,o))}},{key:"moveCanvasDrawing",value:function(e){this.canvas.getContext("2d").translate(e.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),e}();Nl.default=Kl;var Jl={};Object.defineProperty(Jl,"__esModule",{value:!0});var Ql=function(){function e(e,t){for(var n=0;n0&&(this.drawRect(l-t.width*r,o,t.width*r,t.height,e),r=0);r>0&&this.drawRect(l-t.width*(r-1),o,t.width*r,t.height,e)}},{key:"drawSVGText",value:function(e,t,n){var o,a,r=this.document.createElementNS(ni,"text");t.displayValue&&(r.setAttribute("style","font:"+t.fontOptions+" "+t.fontSize+"px "+t.font),a="top"==t.textPosition?t.fontSize-t.textMargin:t.height+t.textMargin+t.fontSize,"left"==t.textAlign||n.barcodePadding>0?(o=0,r.setAttribute("text-anchor","start")):"right"==t.textAlign?(o=n.width-1,r.setAttribute("text-anchor","end")):(o=n.width/2,r.setAttribute("text-anchor","middle")),r.setAttribute("x",o),r.setAttribute("y",a),r.appendChild(this.document.createTextNode(n.text)),e.appendChild(r))}},{key:"setSvgAttributes",value:function(e,t){var n=this.svg;n.setAttribute("width",e+"px"),n.setAttribute("height",t+"px"),n.setAttribute("x","0px"),n.setAttribute("y","0px"),n.setAttribute("viewBox","0 0 "+e+" "+t),n.setAttribute("xmlns",ni),n.setAttribute("version","1.1"),n.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(e,t,n){var o=this.document.createElementNS(ni,"g");return o.setAttribute("transform","translate("+e+", "+t+")"),n.appendChild(o),o}},{key:"setGroupOptions",value:function(e,t){e.setAttribute("style","fill:"+t.lineColor+";")}},{key:"drawRect",value:function(e,t,n,o,a){var r=this.document.createElementNS(ni,"rect");return r.setAttribute("x",e),r.setAttribute("y",t),r.setAttribute("width",n),r.setAttribute("height",o),a.appendChild(r),r}}]),e}();Jl.default=oi;var ai={};Object.defineProperty(ai,"__esModule",{value:!0});var ri=function(){function e(e,t){for(var n=0;n{const e={format:"pharmacode",lineColor:"#0aa",width:4,height:40,displayValue:!1};Gi("#barcode","1234",e);const t=document.getElementById("barcode");if(!t)return;const n=(new XMLSerializer).serializeToString(t),o="data:image/svg+xml;base64,"+btoa(n);a(o,"1234",e)},O=e=>{const t="data:image/svg+xml;base64,"+btoa(_[e](((e=118,t=118)=>{const n={text:h.value,width:e,height:t,correctLevel:m.value,isSpace:v.value};return no.encodeData(n)})(118,118))),n={codeStyle:e,codeSpace:v.value,codeError:m.value};o(t,n,h.value)},A=()=>{b.value=!0},L=()=>{b.value=!1},T=e=>f(this,null,(function*(){const[o]=g(),a=e.file.name.split(".").pop();if(!k.value.split(",").includes(`.${a}`))return;if("svg"===a){const t=yield P(e.file),n=yield rn(t);o.add(...n.objects),o.renderAll()}if("json"===a){const n=yield P(e.file),o=JSON.parse(n);t(o)}if(["jpg","jpeg","png","webp"].includes(a)){const t=yield M(e.file);r(t)}if(["mp4"].includes(a)){const t=URL.createObjectURL(e.file);d(t)}const l=yield I(e.file,a);if(E.value=!1,l&&200===l.data.code){const e=l.data.data;if(!e)return;yield t(e),n()}})),R=e=>{y.value.clearFiles();const t=e[0];t.uid=Ct(),y.value.handleStart(t)},$=(e,t="transverse",n=!1)=>{l(e,t,n)},U=()=>{c(36)},N=()=>{p()};return(e,t)=>{const n=Ge("IconUpload"),o=St,a=Ot,r=Et,l=Ge("IconH1"),c=Ge("IconH3"),f=Ge("IconTextRotationNone"),d=Ge("IconTextRotationDown"),p=Ge("IconText"),h=B,v=Ge("IconInsertTable"),m=Ge("IconPayCodeTwo"),g=Ge("IconTwoDimensionalCodeTwo"),_=Ge("IconMagicWand"),w=V,x=At;return He(),Xe("div",Hi,[Ye("div",Xi,[Ye("div",Yi,Ke(e.$t("message.files")),1),We(r,{gutter:10,class:"mt-10"},{default:qe((()=>[We(a,{span:8},{default:qe((()=>[et((He(),at(o,{ref_key:"uploadRef",ref:y,"on-exceed":R,action:"http","http-request":T,limit:1,accept:k.value,class:"edit-upload"},{default:qe((()=>[Ye("div",Wi,[We(n,{class:"icon-font"}),Ye("div",qi,Ke(e.$t("message.uploadFiles")),1)])])),_:1},8,["accept"])),[[x,E.value]])])),_:1})])),_:1})]),Ye("div",Zi,[Ye("div",Ki,Ke(e.$t("message.text")),1),We(r,{gutter:10,class:"mt-10"},{default:qe((()=>[We(a,{span:8},{default:qe((()=>[Ye("div",{class:"item-box",onClick:t[0]||(t[0]=e=>$(80))},[We(l,{class:"icon-font"}),Ye("div",Ji,Ke(e.$t("message.title")),1)])])),_:1}),We(a,{span:8,onClick:t[1]||(t[1]=e=>$(60))},{default:qe((()=>[Ye("div",Qi,[We(c,{class:"icon-font"}),Ye("div",es,Ke(e.$t("message.subtitle")),1)])])),_:1}),We(a,{span:8,onClick:t[2]||(t[2]=e=>$(36))},{default:qe((()=>[Ye("div",ts,[We(f,{class:"icon-font"}),Ye("div",ns,Ke(e.$t("message.horizontalText")),1)])])),_:1}),We(a,{span:8,onClick:t[3]||(t[3]=e=>{u(36)})},{default:qe((()=>[Ye("div",os,[We(d,{class:"icon-font"}),Ye("div",as,Ke(e.$t("message.verticalText")),1)])])),_:1}),We(a,{span:8,onClick:t[4]||(t[4]=e=>$(36,void 0,!0))},{default:qe((()=>[Ye("div",rs,[We(p,{class:"icon-font"}),Ye("div",ls,Ke(e.$t("message.hollowOutText")),1)])])),_:1}),We(a,{span:8,onClick:U},{default:qe((()=>[Ye("div",is,[t[6]||(t[6]=Ye("i",{class:"icon-font iconfont icon-text-path"},null,-1)),Ye("div",ss,Ke(e.$t("message.circularText")),1)])])),_:1})])),_:1})]),Ye("div",cs,[Ye("div",us,Ke(e.$t("message.shape")),1),We(r,{gutter:10,class:"mt-10"},{default:qe((()=>[(He(),Xe(nt,null,ot(C,((e,t)=>We(a,{span:8,key:t,onClick:t=>(e=>{i(e.path)})(e)},{default:qe((()=>[Ye("div",fs,[(He(),Xe("svg",ds,[Ye("g",{transform:`scale(${20/e.viewBox[0]}, ${20/e.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[Ye("path",{class:Qe(["shape-path",{outlined:e.outlined}]),"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:e.outlined?"#999":"transparent",stroke:e.outlined?"transparent":"#999","stroke-width":"2",d:e.path},null,10,hs)],8,ps)]))])])),_:2},1032,["onClick"]))),64)),(He(!0),Xe(nt,null,ot(Je(oo),((e,t)=>(He(),at(a,{span:8,key:t,onClick:t=>(e=>{const t="dashed"===e.style?[6,6]:void 0;s(e.data,e.points[0],e.points[1],t)})(e)},{default:qe((()=>[Ye("div",vs,[(He(),Xe("svg",ms,[Ye("defs",null,[e.points[0]?(He(),at(h,{key:0,class:"line-marker",id:`preset-line-${t}`,position:"start",type:e.points[0],color:"currentColor",baseSize:2},null,8,["id","type"])):rt("",!0),e.points[1]?(He(),at(h,{key:1,class:"line-marker",id:`preset-line-${t}`,position:"end",type:e.points[1],color:"currentColor",baseSize:2},null,8,["id","type"])):rt("",!0)]),Ye("path",{class:"line-path",d:e.path,stroke:"#999",fill:"none","stroke-width":"2","stroke-dasharray":"solid"===e.style?"0, 0":"4, 1","marker-start":e.points[0]?`url(#preset-line-${t}-${e.points[0]}-start)`:"","marker-end":e.points[1]?`url(#preset-line-${t}-${e.points[1]}-end)`:""},null,8,gs)]))])])),_:2},1032,["onClick"])))),128))])),_:1})]),Ye("div",ys,[Ye("div",bs,Ke(e.$t("message.module")),1),We(r,{gutter:10,class:"mt-10"},{default:qe((()=>[We(a,{span:8},{default:qe((()=>[Ye("div",{class:"item-box",onClick:N},[We(v,{class:"icon-font"}),Ye("div",_s,Ke(e.$t("message.fabricTable")),1)])])),_:1}),We(a,{span:8},{default:qe((()=>[Ye("div",{class:"item-box",onClick:S},[We(m,{class:"icon-font"}),Ye("div",ws,Ke(e.$t("message.barCode")),1)])])),_:1}),We(a,{span:8},{default:qe((()=>[Ye("div",{class:"item-box",onClick:t[5]||(t[5]=e=>O("A1"))},[We(g,{class:"icon-font"}),Ye("div",xs,Ke(e.$t("message.QRCode")),1)])])),_:1}),We(a,{span:8},{default:qe((()=>[Ye("div",{class:"item-box",onClick:A},[We(_,{class:"icon-font"}),Ye("div",ks,Ke(e.$t("message.AICutoutImage")),1)])])),_:1})])),_:1})]),We(w,{visible:b.value,onClose:L},null,8,["visible"])])}}}),[["__scopeId","data-v-a3b8d899"]]),Cs=["src","onClick"],Ss=O(Ue({__name:"TemplatePool",setup(e){const t=L(),n=p(),o=Ne([]),a=Ne("data"),r=Ne("buy"),l=Ne(1),i=Ne(1),s=Ne(),c=wn((()=>f(this,null,(function*(){const e=s.value;e.scrollHeight-(e.scrollTop+e.clientHeight)<=200&&l.valuef(this,null,(function*(){const e={page:l.value,size:R},t=yield bn(e);t.data&&200===t.data.code&&(l.value=t.data.data.page,i.value=t.data.data.total_pages,o.value=o.value.concat(t.data.data.items))})),d=e=>{Tt.confirm("是否确认更换模板?",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((()=>f(this,null,(function*(){t.push(`${t.currentRoute.value.path}?template=${e.id}`);const o=$(e.data),a=Ft.service({fullscreen:!0,background:"rgba(122, 122, 122, 0.5)"});yield n.changeTemplate(o),it((()=>a.close())),Dt({type:"success",message:"更换模板成功"})})))).catch((()=>{Dt({type:"error",message:"模板加载失败,请联系管理员修改bug了"})}))};return lt((()=>f(this,null,(function*(){yield u()})))),(e,t)=>{const n=jt,l=Et,i=Pt,u=Mt,f=It,p=Bt;return He(),Xe("div",null,[We(l,{class:"layout-search"},{default:qe((()=>[We(n,{"prefix-icon":Je(Lt),placeholder:e.$t("message.searchTemp")},null,8,["prefix-icon","placeholder"])])),_:1}),We(p,{modelValue:a.value,"onUpdate:modelValue":t[2]||(t[2]=e=>a.value=e),class:"layout-tabs"},{default:qe((()=>[We(i,{label:e.$t("message.recommendTemp"),name:"data"},{default:qe((()=>[Ye("div",{class:"layout-templates",onScroll:t[0]||(t[0]=(...e)=>Je(c)&&Je(c)(...e)),ref_key:"templateRef",ref:s},[(He(!0),Xe(nt,null,ot(o.value,((e,t)=>(He(),Xe("div",{key:e.id,class:"thumbnail"},[Ye("img",{src:e.preview+"?x-oss-process=style/img_tum",alt:"",ref_for:!0,ref:e=>((e,t)=>{if(!e)return;const n=()=>{const n=e.parentElement;if(!n)return;const o=t>=2?2:0,a=Math.ceil(n.clientHeight/2)+o;n.style.gridRowEnd=`span ${a}`};n(),e.onload=n,e.onerror=function(){e.src=new URL(""+new URL("loading-BkKY1T9W.gif",import.meta.url).href,import.meta.url).href,n()}})(e,t),onClick:t=>d(e)},null,8,Cs)])))),128))],544)])),_:1},8,["label"]),We(i,{label:e.$t("message.myTemp"),name:"self"},{default:qe((()=>[We(f,{modelValue:r.value,"onUpdate:modelValue":t[1]||(t[1]=e=>r.value=e),size:"large",class:"full-ratio"},{default:qe((()=>[We(u,{value:"buy",label:e.$t("message.myPurchases")},null,8,["label"]),We(u,{value:"collect",label:e.$t("message.myFavorites")},null,8,["label"])])),_:1},8,["modelValue"])])),_:1},8,["label"]),We(i,{label:e.$t("message.teamTemp"),name:"team"},{default:qe((()=>[Ze(Ke(e.$t("message.teamTemp")),1)])),_:1},8,["label"])])),_:1},8,["modelValue"])])}}}),[["__scopeId","data-v-c70b4832"]]);j.ROUND_RECT,j.CUT_RECT_DIAGONAL,j.CUT_RECT_SINGLE,j.CUT_RECT_SAMESIDE,j.ROUND_RECT_DIAGONAL,j.ROUND_RECT_SINGLE,j.ROUND_RECT_SAMESIDE,j.MESSAGE,j.ROUND_MESSAGE,j.L,j.RING_RECT,j.PLUS,j.TRIANGLE,j.PARALLELOGRAM_LEFT,j.PARALLELOGRAM_RIGHT,j.TRAPEZOID,j.BULLET,j.INDICATOR;const Os=[{type:"矩形",children:[{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z"},{viewBox:[200,200],path:"M 50 0 L 150 0 Q 200 0 200 50 L 200 150 Q 200 200 150 200 L 50 200 Q 0 200 0 150 L 0 50 Q 0 0 50 0 Z"},{viewBox:[200,200],path:"M 0 150 L 0 0 L 150 0 L 200 50 L 200 200 L 50 200 Z"},{viewBox:[200,200],path:"M 0 200 L 0 0 L 150 0 L 200 50 L 200 200 Z"},{viewBox:[200,200],path:"M 0 50 L 50 0 L 150 0 L 200 50 L 200 200 L 0 200 Z",pathFormula:j.CUT_RECT_SAMESIDE},{viewBox:[200,200],path:"M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 50 200 Q 0 200 0 150 L 0 0 Z",pathFormula:j.ROUND_RECT_DIAGONAL},{viewBox:[200,200],path:"M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 L 0 0 Z",pathFormula:j.ROUND_RECT_SINGLE},{viewBox:[200,200],path:"M 0 50 Q 0 0 50 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 Z",pathFormula:j.ROUND_RECT_SAMESIDE}]},{type:"常用形状",children:[{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 0 200 L 200 200 L 100 0 Z",pathFormula:j.TRIANGLE},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 150 200 L 0 200 L 50 0 Z",pathFormula:j.PARALLELOGRAM_LEFT},{viewBox:[200,200],path:"M 0 0 L 150 0 L 200 200 L 50 200 L 0 0 Z",pathFormula:j.PARALLELOGRAM_RIGHT},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z",pathFormula:j.TRAPEZOID},{viewBox:[200,200],path:"M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 0 50 L 0 200 L 200 200 L 200 50 L 100 0 Z",pathFormula:j.BULLET},{viewBox:[200,200],path:"M 200 100 L 150 0 L 0 0 L 50 100 L 0 200 L 150 200 L 200 100 Z",pathFormula:j.INDICATOR},{viewBox:[200,200],path:"M 0 200 A 50 100 0 1 1 200 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 20 A 100 100 0 1 0 200 100 L 100 100 L 40 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z"},{viewBox:[200,200],path:"M 160 20 A 100 100 0 1 0 200 100 L 100 100 L 160 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 200 0 L 100 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 0 Q 200 200 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 100 0 L 0 90 L 50 200 L 150 200 L 200 90 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 0 140 L 100 200 L 200 140 L 200 60 L 100 0 Z"},{viewBox:[200,200],path:"M 60 0 L 140 0 L 200 60 L 200 140 L 140 200 L 60 200 L 0 140 L 0 60 L 60 0 Z"},{viewBox:[200,200],path:"M 75 0 L 125 0 L 175 25 L 200 75 L 200 125 L 175 175 L 125 200 L 75 200 L 25 175 L 0 125 L 0 75 L 25 25 L 75 0 Z"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 L 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 50 0 A 25 50 0 1 0 50 200 L 150 200 A 25 50 0 1 0 150 0 L 50 0 Z"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 A 50 100 0 0 0 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 200 0 L 200 200 L 0 200 L 0 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 200 200 L 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 150 50 L 200 50 L 200 150 L 150 150 L 150 200 L 50 200 L 50 150 L 0 150 L 0 50 L 50 50 L 50 0 Z"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 L 200 140 L 60 140 L 60 0 L 0 0 Z",pathFormula:j.L},{viewBox:[200,200],path:"M0 0 L200 0 L200 200 L0 200 L0 0 Z M50 50 L50 150 L150 150 L150 50 Z",pathFormula:j.RING_RECT},{viewBox:[200,200],path:"M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z"},{viewBox:[200,200],path:"M 70 0 L 70 70 L 0 70 L 0 130 L 70 130 L 70 200 L 130 200 L 130 130 L 200 130 L 200 70 L 130 70 L 130 0 L 70 0 Z",pathFormula:j.PLUS},{viewBox:[200,200],path:"M 40 0 L 0 40 L 60 100 L 0 160 L 40 200 L 100 140 L 160 200 L 200 160 L 140 100 L 200 40 L 160 0 L 100 60 L 40 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 160 L 100 160 L 60 200 L 60 160 L 0 160 Z",pathFormula:j.MESSAGE},{viewBox:[200,200],path:"M 0 40 Q 0 0 40 0 L 160 0 Q 200 0 200 40 L 200 120 Q 200 160 160 160 L 100 160 L 60 200 L 60 160 L 40 160 Q 0 160 0 120 L 0 40 Z",pathFormula:j.ROUND_MESSAGE},{viewBox:[200,200],path:"M 180 160 A 100 100 0 1 0 100 200 L 200 200 L 200 160 L 180 160 Z"},{viewBox:[200,200],path:"M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z"},{viewBox:[200,200],path:"M 0 20 C 60 60 140 -40 200 20 L 200 180 C 140 140 60 240 0 180 L 0 20 Z"},{viewBox:[200,200],path:"M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z"},{viewBox:[200,200],path:"M 100 0 Q 0 50 0 175 Q 100 225 200 175 Q 200 50 100 0 Z"},{viewBox:[200,200],path:"M 0 100 A 50 50 0 1 1 200 100 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 100 0 L 60 60 L 0 100 L 60 140 L 100 200 L 140 140 L 200 100 L 140 60 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 80 40 L 20 20 L 40 80 L 0 100 L 40 120 L 20 180 L 80 160 L 100 200 L 120 160 L 180 180 L 160 120 L 200 100 L 160 80 L 180 20 L 120 40 L 100 0 Z"}]},{type:"箭头",children:[{viewBox:[200,200],path:"M 100 0 L 0 100 L 50 100 L 50 200 L 150 200 L 150 100 L 200 100 L 100 0 Z"},{viewBox:[200,200],path:"M 100 200 L 200 100 L 150 100 L 150 0 L 50 0 L 50 100 L 0 100 L 100 200 Z"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 200 150 L 100 150 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 0 150 L 100 150 L 100 200 L 200 100 Z"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 60 60 L 60 140 L 0 140 L 100 200 L 200 140 L 140 140 L 140 60 L 200 60 L 100 0 Z"},{viewBox:[200,200],path:"M 0 100 L 60 0 L 60 60 L 140 60 L 140 0 L 200 100 L 140 200 L 140 140 L 60 140 L 60 200 L 0 100 Z"},{viewBox:[200,200],path:"M 100 0 L 60 40 L 80 40 L 80 80 L 40 80 L 40 60 L 0 100 L 40 140 L 40 120 L 80 120 L 80 160 L 60 160 L 100 200 L 140 160 L 120 160 L 120 120 L 160 120 L 160 140 L 200 100 L 160 60 L 160 80 L 120 80 L 120 40 L 140 40 L 100 0 Z"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 150 100 L 200 150 L 100 150 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 50 100 L 0 150 L 100 150 L 100 200 L 200 100 Z"},{viewBox:[200,200],path:"M 0 100 L 80 20 L 80 80 L 120 80 L 120 0 L 200 0 L 200 200 L 120 200 L 120 120 L 80 120 L 80 180 L 0 100 Z"},{viewBox:[200,200],path:"M 200 100 L 120 20 L 120 80 L 80 80 L 80 0 L 0 0 L 0 200 L 80 200 L 80 120 L 120 120 L 120 180 L 200 100 Z"},{viewBox:[200,200],path:"M 0 0 L 120 0 L 200 100 L 120 200 L 0 200 L 80 100 L 0 0 Z"},{viewBox:[200,200],path:"M 80 0 L 200 0 L 120 100 L 200 200 L 80 200 L 0 100 L 80 0 Z"},{viewBox:[200,200],path:"M 0 0 L 140 0 L 200 100 L 140 200 L 0 200 L 0 100 L 0 0 Z"},{viewBox:[200,200],path:"M 60 0 L 200 0 L 200 100 L 200 200 L 60 200 L 0 100 L 60 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 0 200 L 60 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 0 100 L 200 200 L 140 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 0 L 80 0 L 200 100 L 80 200 L 0 200 L 120 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 120 0 L 0 100 L 120 200 L 200 200 L 80 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 200 L 180 200 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 160 L 0 160 L 0 200 Z"},{viewBox:[200,200],path:"M 0 200 L 0 20 L 160 20 L 160 0 L 200 40 L 160 80 L 160 60 L 40 60 L 40 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 180 L 180 180 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 140 L 40 140 L 40 120 L 0 160 L 40 200 L 40 180 Z"},{viewBox:[1024,1024],path:"M398.208 302.912V64L0 482.112l398.208 418.176V655.36c284.48 0 483.584 95.552 625.792 304.64-56.896-298.688-227.584-597.312-625.792-657.088z",special:!0},{viewBox:[1024,1024],path:"M625.792 302.912V64L1024 482.112l-398.208 418.176V655.36C341.312 655.36 142.208 750.912 0 960c56.896-298.688 227.584-597.312 625.792-657.088z",special:!0}]},{type:"其他形状",children:[{viewBox:[1024,1024],path:"M995.336 243.4016c-15.7584-36.5736-38.3376-69.26639999-66.91440001-97.37280001-28.5768-27.98879999-61.73999999-49.8624-98.78399999-65.26799998-38.22-15.876-78.6744-23.8728-120.4224-23.87280001-57.97680001 0-114.5424 15.876-163.69919999 45.864-11.76 7.17360001-22.932 15.05279999-33.51600001 23.63760001-10.584-8.5848-21.75600001-16.46400001-33.51600001-23.63760001-49.1568-29.98799999-105.7224-45.86399999-163.69919999-45.864-41.74799999 0-82.2024 7.9968-120.4224 23.87280001-36.9264 15.28799999-70.2072 37.27919999-98.78399999 65.26799998-28.6944 28.10640001-51.156 60.79919999-66.91440001 97.37280001-16.34639999 37.9848-24.696 78.3216-24.696 119.83439999 0 39.1608 7.9968 79.96800001 23.8728 121.48080001 13.28880001 34.692 32.34000001 70.67760001 56.6832 107.016 38.57279999 57.5064 91.61040001 117.4824 157.4664 178.28160001 109.1328 100.78319999 217.2072 170.4024 221.79359999 173.22479998l27.87120001 17.8752c12.348 7.8792 28.224 7.8792 40.572 0l27.87119999-17.8752c4.58639999-2.94 112.54319999-72.44159999 221.79360001-173.22479998 65.85599999-60.79919999 118.89359999-120.7752 157.4664-178.28160001 24.3432-36.33839999 43.512-72.324 56.68319999-107.016 15.876-41.5128 23.8728-82.32 23.87280001-121.48080001 0.1176-41.5128-8.232-81.8496-24.5784-119.83439999z",special:!0},{viewBox:[1024,1024],path:"M985.20746667 343.50079998l-303.32586667-44.08319999L546.28693333 24.5248c-3.70346666-7.5264-9.79626667-13.6192-17.32266665-17.32266668-18.87573334-9.3184-41.81333333-1.55306667-51.25120001 17.32266668L342.1184 299.41759999l-303.32586667 44.08319999c-8.36266667 1.19466667-16.00853333 5.13706667-21.8624 11.11040001-14.69440001 15.17226667-14.45546667 39.30453334 0.71679999 54.1184l219.46026668 213.9648-51.84853333 302.1312c-1.43359999 8.24320001-0.11946667 16.8448 3.82293333 24.25173333 9.79626667 18.6368 32.9728 25.92426667 51.6096 16.00853334L512 822.44266665l271.3088 142.64320001c7.40693333 3.9424 16.00853333 5.25653333 24.25173333 3.82293333 20.78719999-3.584 34.7648-23.296 31.1808-44.0832l-51.84853333-302.1312 219.46026668-213.9648c5.97333334-5.85386666 9.91573333-13.49973334 11.11039999-21.8624 3.2256-20.90666667-11.34933333-40.26026667-32.256-43.36640001z",special:!0},{viewBox:[1024,1024],path:"M852.65066667 405.84533333C800.54044445 268.40177778 667.76177778 170.66666667 512.22755555 170.66666667S223.91466667 268.288 171.80444445 405.73155555C74.29688889 431.33155555 2.27555555 520.07822222 2.27555555 625.77777778c0 125.72444445 101.83111111 227.55555555 227.44177778 227.55555555h564.56533334C919.89333333 853.33333333 1021.72444445 751.50222222 1021.72444445 625.77777778c0-105.472-71.79377778-194.21866667-169.07377778-219.93244445z",special:!0},{viewBox:[1024,1024],path:"M926.25224691 323.7371485H654.6457886L898.88200917 15.14388241c5.05486373-6.53433603 0.49315743-16.02761669-7.76722963-16.02761668H418.30008701c-3.45210206 0-6.78091476 1.84934039-8.50696579 4.93157436L90.35039154 555.76772251c-3.82197013 6.53433603 0.86302552 14.7947231 8.50696578 14.79472311h215.01664245l-110.22068713 440.88274851c-2.34249783 9.61657002 9.24670194 16.39748478 16.39748477 9.49328065L933.03316167 340.62779071c6.41104668-6.0411786 2.09591911-16.8906422-6.78091476-16.89064221z",special:!0},{viewBox:[1024,1024],path:"M878.47822222 463.30311111c-22.18666667-49.83466667-53.93066667-93.98044445-94.32177777-131.072l-33.10933334-30.37866666c-4.89244445-4.32355555-12.62933333-2.38933333-14.79111111 3.75466666l-14.79111111 42.43911111c-9.216 26.624-26.16888889 53.81688889-50.176 80.55466667-1.59288889 1.70666667-3.41333333 2.16177778-4.66488889 2.27555556-1.25155555 0.11377778-3.18577778-0.11377778-4.89244445-1.70666667-1.59288889-1.36533333-2.38933333-3.41333333-2.27555555-5.46133333 4.20977778-68.49422222-16.27022222-145.74933333-61.09866667-229.83111112C561.26577778 124.01777778 509.72444445 69.51822222 445.32622222 31.51644445l-46.99022222-27.648c-6.144-3.64088889-13.99466667 1.13777778-13.65333333 8.30577777l2.50311111 54.61333333c1.70666667 37.31911111-2.61688889 70.31466667-12.85688889 97.73511112-12.51555555 33.56444445-30.49244445 64.73955555-53.47555556 92.72888888-16.15644445 19.56977778-34.24711111 37.20533333-54.04444444 52.45155556-47.90044445 36.75022222-87.38133333 84.65066667-114.11911111 138.24C125.72444445 502.10133333 111.50222222 562.74488889 111.50222222 623.50222222c0 53.70311111 10.58133333 105.69955555 31.51644445 154.73777778 20.25244445 47.21777778 49.152 89.77066667 85.90222222 126.17955555 36.864 36.40888889 79.64444445 65.08088889 127.31733333 84.992C405.61777778 1010.11911111 457.95555555 1020.58666667 512 1020.58666667s106.38222222-10.46755555 155.76177778-31.06133334c47.67288889-19.91111111 90.56711111-48.46933333 127.31733333-84.992 36.864-36.40888889 65.76355555-78.96177778 85.90222222-126.17955555 20.93511111-49.03822222 31.51644445-101.03466667 31.51644445-154.73777778 0-55.52355555-11.37777778-109.45422222-34.01955556-160.31288889z",special:!0},{viewBox:[1024,1024],path:"M968.20337778 20.11591112H705.44042667c-22.17301333 0-41.92483556 15.16430222-47.14951111 37.33731555C642.36202666 124.73685332 582.08711111 173.03324444 512 173.03324444s-130.36202666-48.29639112-146.29091556-115.58001777c-5.22467555-22.17301333-24.84906667-37.33731556-47.14951111-37.33731555H55.79662222c-30.96576 0-56.06968889 25.10392889-56.06968888 56.06968888v321.12639999c0 30.96576 25.10392889 56.06968889 56.06968888 56.06968889h95.57333334v494.43271112c0 30.96576 25.10392889 56.06968889 56.06968889 56.06968888h609.1207111c30.96576 0 56.06968889-25.10392889 56.06968889-56.06968888V453.38168888h95.57333334c30.96576 0 56.06968889-25.10392889 56.06968888-56.06968889V76.1856c0-30.96576-25.10392889-56.06968889-56.06968888-56.06968888z",special:!0},{viewBox:[1024,1024],path:"M980.94648889 239.80714666H523.46880001L373.99210666 96.82944c-1.91146667-1.78403556-4.46008889-2.80348444-7.00871111-2.80348445H43.05351111c-22.55530667 0-40.77795555 18.22264888-40.77795555 40.77795557v754.39217776c0 22.55530667 18.22264888 40.77795555 40.77795555 40.77795557h937.89297778c22.55530667 0 40.77795555-18.22264888 40.77795555-40.77795557V280.58510222c0-22.55530667-18.22264888-40.77795555-40.77795555-40.77795556z",special:!0},{viewBox:[1024,1024],path:"M972.60904597 164.57058577L841.30587843 33.39070759c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480282-29.3428675-26.75379095 0-51.90482023 10.47959553-70.76809219 29.3428675L558.60337778 174.68031322c-18.86327195 18.86327195-29.34286748 44.1375906-29.34286749 70.64480283 0 26.75379095 10.47959553 51.90482023 29.34286749 70.76809218l103.31648301 103.31648302c-24.28800376 53.50758189-57.69942011 101.59043198-99.24793416 143.13894603-41.42522469 41.67180341-89.63136414 75.08321976-143.13894603 99.61780223L316.21649759 558.84995649c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480283-29.34286747-26.75379095 0-51.90482023 10.47959553-70.76809217 29.34286747L33.39070759 700.01627278c-18.86327195 18.86327195-29.34286748 44.1375906-29.3428675 70.76809217 0 26.75379095 10.47959553 51.90482023 29.3428675 70.76809219l131.05658883 131.05658883c30.08260365 30.205893 71.63111769 47.34311394 114.28923598 47.34311394 9.00012323 0 17.63037836-0.73973616 26.13734414-2.21920846 166.19405621-27.37023774 331.03192945-115.76870829 464.06114804-248.67463751C901.84095379 636.27567408 990.11613498 471.56109018 1017.85624079 304.87387654c8.38367642-50.91850535-8.50696579-103.31648302-45.24719482-140.30329077z",special:!0},{viewBox:[1024,1024],path:"M910.60451556 640.96028445c-20.38897778-65.49959112-43.83630221-120.54983112-79.89930667-210.64362666C836.31217778 193.67708444 737.93535999 2.27555556 511.36284444 2.27555556 282.24170667 2.27555556 186.03121778 197.50001778 192.14791111 430.31665779c-36.19043555 90.22122667-59.51032888 144.88917333-79.89930667 210.64362666-43.32657778 139.53706668-29.30915556 197.26336001-18.60494222 198.53767111 22.9376 2.80348444 89.32920888-105.00323556 89.32920889-105.00323556 0 62.44124445 32.11264001 143.86972444 101.69002667 202.61546667-33.64181333 10.32192-109.20846222 38.10190221-91.24067556 68.55793777 14.52714667 24.59420444 250.01984 15.67402668 317.94062222 8.02816 67.92078222 7.64586667 303.41347556 16.56604444 317.94062223-8.02816 17.96778667-30.32860444-57.72629333-58.23601779-91.24067555-68.55793777 69.57738667-58.87317334 101.69002667-140.30165333 101.69002667-202.61546667 0 0 66.39160889 107.80672 89.32920888 105.00323556 10.83164445-1.40174222 24.84906667-59.12803556-18.47751111-198.53767111z",special:!0},{viewBox:[1024,1024],path:"M1016.86992592 199.24764445c-37.13706667 16.01991111-77.55093333 27.54939259-119.17842962 32.03982222 42.96248889-25.60758518 75.60912592-66.02145185 91.02222222-114.08118519-39.68568889 23.66577778-84.58998518 41.02068148-131.31472593 50.00154074C819.53374815 126.79395555 765.76995555 101.79318518 706.18074075 101.79318518c-114.688 0-206.92385185 92.96402963-206.92385186 207.04521482 0 16.01991111 1.94180741 32.03982222 5.09724444 47.45291852-171.72859259-8.98085925-324.88865185-91.02222222-426.71217778-216.63288889-17.96171852 30.82619259-28.15620741 66.02145185-28.1562074 104.49351112 0 71.84687408 36.53025185 135.19834075 92.23585185 172.45677036-33.98162963-1.33499259-66.02145185-10.92266667-93.57084445-26.33576296v2.54862222c0 100.6098963 71.1186963 183.98625185 165.90317037 203.1616-17.3549037 4.49042963-35.92343703 7.03905185-54.49197037 7.03905185-13.47128889 0-26.2144-1.33499259-39.07887407-3.15543704C146.69748148 681.90814815 223.03478518 741.49736297 313.93564445 743.43917037c-71.1186963 55.7056-160.19911111 88.4736-256.9253926 88.4736-17.3549037 0-33.37481482-0.60681482-50.00154074-2.54862222C98.75911111 888.22518518 207.62168889 922.20681482 324.85831111 922.20681482 705.45256297 922.20681482 913.71140741 606.90583703 913.71140741 333.23235555c0-8.98085925 0-17.96171852-0.60681482-26.94257777 40.2925037-29.4912 75.60912592-66.02145185 103.76533333-107.04213333z",special:!0},{viewBox:[1024,1024],path:"M917.96720197 1.08889505H106.03279803C53.56084718 1.08889505 9.37393998 45.27580225 9.37393998 97.74775309v5.52336372c0 19.33177108 8.28504494 41.42522469 22.0934536 55.23363205l331.40179753 392.15879462v325.87843379c0 16.57008987 8.28504494 30.37849854 22.09345359 35.90186098l209.88780469 104.94390299 2.76168121 2.76168121c27.61681602 11.04672615 55.23363335-8.28504494 55.23363335-38.66354218V550.66354348l331.40179753-392.15879462c35.90186097-41.42522469 30.37849854-102.18222047-11.04672616-135.32240022-11.04672615-13.80840865-33.14017975-22.0934536-55.23363335-22.09345359z",special:!0},{viewBox:[1024,1024],path:"M491.70164031 97.48884502a25.89076502 25.89076502 0 0 1 40.59671938 0L745.66415762 367.01171317a25.89076502 25.89076502 0 0 0 30.49932208 7.72839349l208.00640948-89.14190458a25.89076502 25.89076502 0 0 1 35.56096592 29.06238339l-115.18801541 554.96855704A103.56306132 103.56306132 0 0 1 803.14165689 952.14301275H220.85834311a103.56306132 103.56306132 0 0 1-101.4011828-82.51387024l-115.18801541-554.96855704a25.89076502 25.89076502 0 0 1 35.54802012-29.06238339l208.01935528 89.14190458a25.89076502 25.89076502 0 0 0 30.49932208-7.72839349l213.36579793-269.52286815z",special:!0},{viewBox:[1024,1024],path:"M643.02466884 387.7801525c19.85376751-88.69205333 33.718272-152.84087467 41.61900049-192.57389433C704.52292267 95.17283515 652.90057916 2.27555515 550.58614084 2.27555515c-92.26012484 0-138.59407685 45.84971417-165.91530666 137.49816969l-0.70087152 2.67605334c-16.40038399 74.13942085-41.47882668 131.61085116-74.6746315 172.73287031a189.06953915 189.06953915 0 0 1-143.04142182 70.44391902l-26.17434983 0.5606965C77.66380049 387.52529067 27.76177817 438.90551468 27.76177817 501.84374084V881.55022182c0 77.4144 62.25009818 140.17422182 139.05282766 140.17422303h492.82707951c101.23127467 0 191.59267516-63.995904 225.93535999-159.98976l102.37815468-286.22301868c26.04691951-72.82688-11.39234134-153.15945284-83.63303784-179.42300483a138.04612267 138.04612267 0 0 0-47.17499733-8.30850884H643.02466884z",special:!0},{viewBox:[1024,1024],path:"M512 512c140.82958222 0 254.86222222-114.03264 254.86222222-254.86222222S652.82958222 2.27555555 512 2.27555555a254.78940445 254.78940445 0 0 0-254.86222222 254.86222223C257.13777778 397.96736 371.17041778 512 512 512z m0 72.81777778c-170.10232889 0-509.72444445 97.57582222-509.72444445 291.27111111v145.63555556h1019.4488889v-145.63555556c0-193.69528889-339.62211555-291.27111111-509.72444445-291.27111111z",special:!0},{viewBox:[1024,1024],path:"M1019.81297778 564.50161779l-138.89991111-472.51456c-8.66531556-25.99594668-29.43658667-43.45400889-57.21656889-43.45400891s-50.33528889 15.67402668-59.00060446 41.66997334l-92.00526221 274.48661334H351.69166222L259.6864 90.33045333c-8.66531556-25.99594668-31.22062222-41.66997333-59.00060444-41.66997332s-50.33528889 17.33063112-57.2165689 43.45400887L4.69674667 564.50161779c-5.22467555 17.33063112 1.78403556 36.44529778 15.67402667 46.89464887l491.11950221 368.27591113 492.77610666-368.27591113c13.76256-10.32192 20.77127111-29.43658667 15.54659557-46.89464887z",special:!0},{viewBox:[1024,1024],path:"M927.78951111 340.39277037c-12.01493333-47.81700741 12.01493333-124.03294815 89.08041481-150.97552592l-82.40545184-4.36906667s-31.19028148-109.22666667-174.27721483-118.9357037c-143.08693333-9.8304-236.65777778-3.64088889-236.65777777-3.6408889s106.07122963 67.47780741 63.5941926 187.74850371c-31.06891852 63.71555555-79.85682963 116.02299259-132.04290371 175.61220741-1.57771852 1.57771852-3.03407408 3.15543703-4.2477037 4.49042962C278.25493333 624.86755555 7.13007408 934.34311111 7.13007408 934.34311111c298.43152592 78.15774815 498.43768889-7.64586667 616.76657777-110.56165926 24.87940741-0.24272592 43.5693037-0.36408889 56.19105185-0.36408888 164.8109037 0 304.13558518-142.72284445 298.43152593-301.4656-3.88361482-109.1053037-38.71478518-133.74198518-50.72971852-181.5589926z",special:!0},{viewBox:[1024,1024],path:"M997.8886764 504.17210418L537.2729208 43.89182982c-13.97838539-13.97838539-36.56745619-13.97838539-50.5458416 0L26.1113236 504.17210418c-13.41924998 13.41924998-21.02349164 31.64706454-21.02349163 50.65766867 0 39.47496036 32.09437288 71.56933323 71.56933324 71.56933323h48.53295408V954.83524937c0 19.79339373 15.99127289 35.78466661 35.78466663 35.78466662H440.43066677V740.12724968h125.24633315v250.49266631h297.34821416c19.79339373 0 35.78466661-15.99127289 35.78466663-35.78466662V626.39910608h48.53295408c19.01060414 0 37.23841869-7.49241457 50.65766869-21.02349163 27.84494371-27.95677079 27.84494371-73.24673948-0.11182708-101.20351027z",special:!0},{viewBox:[1024,1024],path:"M1009.13013121 349.27572283L674.72427717 14.86986879c-8.82158299-8.82158299-20.35749924-13.16451618-31.89341544-13.16451618s-23.07183245 4.34293316-31.89341547 13.16451618L392.29790453 233.6451272c-16.5574327-1.90003326-33.25058207-2.71433322-49.94373146-2.71433324-99.34459624 0-198.68919249 32.70771543-280.25490606 98.12314628-20.90036589 16.69314938-22.52896582 48.04369819-3.66434987 67.04403081l246.59717401 246.59717401-292.33368895 292.06225564c-3.52863319 3.52863319-5.83581644 8.27871636-6.24296642 13.30023282l-4.61436649 50.48659809c-1.22144996 12.75736619 8.95729967 23.6146991 21.57894918 23.6146991 0.6785833 0 1.35716662 0 2.03574992-0.13571666l50.48659809-4.61436649c5.02151649-0.40714999 9.77159962-2.71433322 13.30023282-6.24296643l292.33368896-292.33368896 246.59717402 246.59717401c8.82158299 8.82158299 20.35749924 13.16451618 31.89341544 13.16451618 13.16451618 0 26.19331567-5.70009979 35.15061536-16.82886604 76.40848044-95.40881307 108.16617924-214.83947521 95.27309638-330.33435417l218.63954175-218.63954173c17.50744934-17.37173267 17.50744934-45.8722316 0-63.51539759z",special:!0},{viewBox:[1024,1024],path:"M976.62005979 160.47737905c-0.39452595-0.39452595-80.35178503 78.64217259-239.47725131 237.50462156l-111.6508437-111.65084369 237.89914752-237.89914752c-125.19623464-75.35445635-286.03131335-56.02268482-390.31767264 48.26367449-81.92988882 81.92988882-112.57140424 200.15616502-83.37648398 310.09739626l2.36715569 8.81107954-372.82702222 372.69551356c-8.15353628 8.15353628-8.15353628 21.56741857 0 29.72095487l185.95323084 185.95323084c8.15353628 8.15353628 21.56741857 8.15353628 29.72095485 0l372.56400493-372.56400493 8.81107953 2.3671557c110.07273989 29.32642892 228.29901608-1.18357785 310.36041356-83.24497533 104.41786795-104.2863593 123.74963948-265.12143802 49.97328693-390.05465535z",special:!0}]},{type:"线性",children:[{viewBox:[1024,1024],path:"M953.5488 832.61667556c-24.08448-57.08913778-58.74574221-108.31644445-102.70947556-152.28017777-43.96373333-43.96373333-95.19104-78.49756444-152.28017777-102.70947558-0.50972445-0.25486222-1.01944888-0.38229333-1.52917334-0.63715555C776.41955556 519.64586667 828.02915556 426.23886221 828.02915556 320.85333332c0-174.58062221-141.44853334-316.02915556-316.02915556-316.02915554S195.97084444 146.27271111 195.97084444 320.85333332c0 105.38552889 51.6096 198.79253333 130.99918223 256.26396447-0.50972445 0.25486222-1.01944888 0.38229333-1.52917334 0.63715555-57.08913778 24.08448-108.31644445 58.61831112-152.28017777 102.70947554-43.96373333 43.96373333-78.49756444 95.19104-102.70947556 152.28017779C46.74901333 888.55893332 34.13333334 947.8144 32.85902222 1008.72647111c-0.12743111 5.7344 4.46008889 10.44935111 10.19448889 10.44935111h76.45866667c5.60696888 0 10.06705778-4.46008889 10.19448889-9.93962666 2.54862221-98.37681778 42.05226667-190.50951112 111.88451555-260.34176001 72.25344-72.25344 168.20906666-112.01194667 270.40881778-112.01194667s198.15537778 39.75850667 270.40881778 112.01194667C852.24106667 818.72668444 891.74471111 910.85937779 894.29333333 1009.23619556c0.12743111 5.60696888 4.58752 9.93962667 10.19448889 9.93962666h76.45866667c5.7344 0 10.32192-4.71495112 10.19448889-10.44935111-1.27431111-60.91207112-13.88999112-120.16753779-37.59217778-176.10979555zM512 540.03484444c-58.49088 0-113.54112-22.81016889-154.95623111-64.22527999S292.81848888 379.34421333 292.81848888 320.85333332c0-58.49088 22.81016889-113.54112 64.22528001-154.9562311S453.50912 101.67182221 512 101.67182221s113.54112 22.81016889 154.95623111 64.22528001S731.18151112 262.36245333 731.18151112 320.85333332c0 58.49088-22.81016889 113.54112-64.22528001 154.95623113S570.49088 540.03484444 512 540.03484444z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 111.50222222H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888889v728.17777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h946.6311111c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V147.91111111c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888889z m-45.5111111 126.06577778V830.57777778H84.19555555V237.568l-31.40266666-24.46222222 44.71466666-57.45777778 48.6968889 37.888h731.70488888l48.69688889-37.888 44.71466667 57.45777778-31.51644444 24.46222222z M877.90933333 193.42222222L512 477.86666667 146.09066667 193.42222222l-48.69688889-37.888-44.71466667 57.45777778 31.40266667 24.46222222 388.66488889 302.19377778c22.98311111 17.86311111 55.18222222 17.86311111 78.16533333 0L939.80444445 237.568l31.40266666-24.46222222-44.71466666-57.45777778-48.58311112 37.77422222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 88.74666667H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888888v564.33777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h432.35555555v127.43111111H275.34222222c-10.01244445 0-18.20444445 8.192-18.20444444 18.20444445v54.61333333c0 5.00622222 4.096 9.10222222 9.10222222 9.10222222h491.52c5.00622222 0 9.10222222-4.096 9.10222222-9.10222222v-54.61333333c0-10.01244445-8.192-18.20444445-18.20444444-18.20444445H552.96V725.90222222h432.35555555c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V125.15555555c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888888z m-45.5111111 555.23555555H84.19555555V170.66666667h855.6088889v473.31555555z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m0 932.97777778c-233.69955555 0-423.25333333-189.55377778-423.25333333-423.25333333 0-101.26222222 35.61244445-194.33244445 95.00444444-267.15022222l595.39911111 595.39911111C706.33244445 899.64088889 613.26222222 935.25333333 512 935.25333333z m328.24888889-156.10311111L244.84977778 183.75111111C317.66755555 124.35911111 410.73777778 88.74666667 512 88.74666667c233.69955555 0 423.25333333 189.55377778 423.25333333 423.25333333 0 101.26222222-35.61244445 194.33244445-95.00444444 267.15022222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M901.80266667 257.82044445L656.95288889 12.97066667c-6.82666667-6.82666667-16.04266667-10.69511111-25.71377778-10.69511112H147.91111111c-20.13866667 0-36.40888889 16.27022222-36.40888889 36.4088889v946.6311111c0 20.13866667 16.27022222 36.40888889 36.40888889 36.4088889h728.17777778c20.13866667 0 36.40888889-16.27022222 36.40888889-36.4088889V283.648c0-9.67111111-3.86844445-19.00088889-10.69511111-25.82755555zM828.52977778 300.37333333H614.4V86.24355555L828.52977778 300.37333333z m2.048 639.43111112H193.42222222V84.19555555h343.60888889v245.76c0 26.39644445 21.39022222 47.78666667 47.78666667 47.78666667h245.76v562.06222223z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M981.07392 55.79662222H42.92608c-31.22062222 0-50.71758221 34.02410666-35.04355556 61.16693334L304.28728889 620.82616888V927.42542221c0 22.55530667 18.09521779 40.77795555 40.52309333 40.77795557h334.37923556c22.42787556 0 40.52309333-18.22264888 40.52309333-40.77795557V620.82616888L1016.24490667 116.96355556c15.54659555-27.14282666-3.95036444-61.16693333-35.17098667-61.16693334zM628.47203556 876.45297779H395.52796444V677.66044445h233.07150222v198.79253334z m12.23338666-301.50200891l-12.10595556 21.15356445h-233.19893332l-12.10595556-21.15356445L130.59868445 147.54702221h762.8026311L640.70542222 574.95096888z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M980.62285431 4.54099753H654.39920987c-4.2719763 0-7.76722963 3.49525333-7.76722962 7.76722964v72.4941432c0 4.2719763 3.49525333 7.76722963 7.76722962 7.76722963h207.64393877L604.04167111 350.57107753c-64.72691358-49.83972347-143.69374815-76.7661195-226.67365136-76.7661195-99.54999309 0-193.27456395 38.83614815-263.5679921 109.25903012S4.54099753 547.08198717 4.54099753 646.63198025s38.83614815 193.27456395 109.25903012 263.5679921C184.09345581 980.62285431 277.81802667 1019.45900247 377.36801975 1019.45900247s193.27456395-38.83614815 263.5679921-109.25903012C711.35889383 839.90654419 750.19504197 746.18197333 750.19504197 646.63198025c0-82.9799032-26.92639605-161.68783013-76.63666567-226.41474372L931.4304 162.34521283V369.60079013c0 4.2719763 3.49525333 7.76722963 7.76722963 7.76722962h72.4941432c4.2719763 0 7.76722963-3.49525333 7.76722964-7.76722962V43.37714569c0-21.35988148-17.47626667-38.83614815-38.83614816-38.83614816zM377.36801975 921.07409383c-151.33152395 0-274.44211358-123.11058963-274.44211358-274.44211358s123.11058963-274.44211358 274.44211358-274.44211358 274.44211358 123.11058963 274.44211358 274.44211358-123.11058963 274.44211358-274.44211358 274.44211358z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M591.98717801 512l405.34042913-483.16579151c6.79427767-8.02960089 1.08090782-20.22841761-9.41933951-20.2284176h-123.22349044c-7.25752386 0-14.20621693 3.24272343-18.99309439 8.80167789L511.38233839 415.95362022 177.07299399 17.40746878c-4.63246205-5.55895447-11.58115512-8.80167789-18.99309439-8.80167789H34.85640916c-10.50024731 0-16.21361717 12.19881672-9.41933952 20.2284176L430.77749876 512 25.43706964 995.16579151c-6.79427767 8.02960089-1.08090782 20.22841761 9.41933952 20.2284176h123.22349044c7.25752386 0 14.20621693-3.24272343 18.99309439-8.80167789l334.3093444-398.54615144 334.30934441 398.54615144c4.63246205 5.55895447 11.58115512 8.80167789 18.99309439 8.80167789h123.22349044c10.50024731 0 16.21361717-12.19881672 9.41933951-20.2284176L591.98717801 512z",special:!0,outlined:!0}]}],As={class:"shape-pool"},Ls={class:"category-name"},Ts={class:"shape-list"},Fs=["onClick"],Ds={overflow:"visible",width:"20",height:"20"},js=["transform"],Ps=["fill","stroke","d"],Ms=O(Ue({__name:"PathPool",emits:["select"],setup(e,{emit:t}){const n=t;return(e,t)=>(He(),Xe("div",As,[(He(!0),Xe(nt,null,ot(Je(Os),(e=>(He(),Xe("div",{class:"category",key:e.type},[Ye("div",Ls,Ke(e.type),1),Ye("div",Ts,[(He(!0),Xe(nt,null,ot(e.children,((e,t)=>(He(),Xe("div",{class:"shape-item",key:t},[Ye("div",{class:"shape-content",onClick:t=>{n("select",e)}},[(He(),Xe("svg",Ds,[Ye("g",{transform:`scale(${20/e.viewBox[0]}, ${20/e.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[Ye("path",{class:Qe(["shape-path",{outlined:e.outlined}]),"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:e.outlined?"#999":"transparent",stroke:e.outlined?"transparent":"#999","stroke-width":"2",d:e.path},null,10,Ps)],8,js)]))],8,Fs)])))),128))])])))),128))]))}}),[["__scopeId","data-v-a2164a4c"]]),Is={class:"line-pool"},Bs={class:"category-name"},Vs={class:"line-list"},Rs=["onClick"],$s={overflow:"visible",width:"20",height:"20"},Us=["d","stroke-dasharray","marker-start","marker-end"],Ns=O(Ue({__name:"LinePool",emits:["select"],setup(e,{emit:t}){const n=t;return(e,t)=>{const o=B;return He(),Xe("div",Is,[(He(!0),Xe(nt,null,ot(Je(ao),((e,t)=>(He(),Xe("div",{class:"category",key:e.type},[Ye("div",Bs,Ke(e.type),1),Ye("div",Vs,[(He(!0),Xe(nt,null,ot(e.children,((e,a)=>(He(),Xe("div",{class:"line-item",key:a},[Ye("div",{class:"line-content",onClick:t=>(e=>{n("select",e)})(e)},[(He(),Xe("svg",$s,[Ye("defs",null,[e.points[0]?(He(),at(o,{key:0,class:"line-marker",id:`preset-line-${t}-${a}`,position:"start",type:e.points[0],color:"currentColor",baseSize:2},null,8,["id","type"])):rt("",!0),e.points[1]?(He(),at(o,{key:1,class:"line-marker",id:`preset-line-${t}-${a}`,position:"end",type:e.points[1],color:"currentColor",baseSize:2},null,8,["id","type"])):rt("",!0)]),Ye("path",{class:"line-path",d:e.path,stroke:"currentColor",fill:"none","stroke-width":"2","stroke-dasharray":"solid"===e.style?"0, 0":"4, 1","marker-start":e.points[0]?`url(#preset-line-${t}-${a}-${e.points[0]}-start)`:"","marker-end":e.points[1]?`url(#preset-line-${t}-${a}-${e.points[1]}-end)`:""},null,8,Us)]))],8,Rs)])))),128))])])))),128))])}}}),[["__scopeId","data-v-7acd00d9"]]),zs={class:"layout-pool"},Gs=O(Ue({__name:"MaterialPool",setup(e){w();const{createLineElement:t,createPathElement:n}=D(),o=Ne("data"),a=(e,t)=>{const[n]=g();n.add(t)},r=e=>f(this,null,(function*(){const t=e[0],[n]=g();if(!t)return;const o=yield P(t);yield rn(o,a),n.renderAll()}));return(e,a)=>{const l=Ge("IconUpload"),i=Vt,s=yt,c=U,u=Ot,f=jt,d=Et,p=Pt,h=Bt;return He(),Xe("div",zs,[We(d,{class:"layout-search"},{default:qe((()=>[We(u,{span:5},{default:qe((()=>[We(c,{onChange:a[0]||(a[0]=e=>r(e))},{default:qe((()=>[We(s,{placement:"top","hide-after":0,content:e.$t("message.searchMat")},{default:qe((()=>[We(i,{type:"primary"},{default:qe((()=>[We(l)])),_:1})])),_:1},8,["content"])])),_:1})])),_:1}),We(u,{span:19},{default:qe((()=>[We(f,{"prefix-icon":Je(Lt),placeholder:e.$t("message.searchMat")},null,8,["prefix-icon","placeholder"])])),_:1})])),_:1}),Ye("div",null,[We(h,{modelValue:o.value,"onUpdate:modelValue":a[3]||(a[3]=e=>o.value=e),class:"layout-tabs material-tab"},{default:qe((()=>[We(p,{label:e.$t("message.recommendMat"),name:"data"},{default:qe((()=>[We(Ns,{onSelect:a[1]||(a[1]=e=>(e=>{const n="dashed"===e.style?[6,6]:void 0;t(e.data,e.points[0],e.points[1],n)})(e))}),We(Ms,{onSelect:a[2]||(a[2]=e=>{n(e.path)})})])),_:1},8,["label"]),We(p,{label:e.$t("message.myBookmarksMat"),name:"self"},{default:qe((()=>[Ze(Ke(e.$t("message.myBookmarksMat")),1)])),_:1},8,["label"]),We(p,{label:e.$t("message.myPurchasesMat"),name:"team"},{default:qe((()=>[Ze(Ke(e.$t("message.myPurchasesMat")),1)])),_:1},8,["label"])])),_:1},8,["modelValue"])])])}}}),[["__scopeId","data-v-15b59151"]]),Hs={class:"layout-pool"},Xs={class:"large"},Ys={class:"middle"},Ws={class:"small"},qs=O(Ue({__name:"TextboxPool",setup(e){const{t:t}=w(),{createTextElement:n}=D(),o=Ne("transverse"),a=Ne(!1),r=Ne("data"),l=e=>{n(e,o.value,a.value)};return(e,n)=>{const i=jt,s=Et,c=Ge("IconTextRotationNone"),u=Mt,f=Ge("IconTextRotationDown"),d=It,p=Ot,h=Ge("IconText"),v=Rt,m=Pt,g=Bt;return He(),Xe("div",Hs,[We(s,{class:"layout-search"},{default:qe((()=>[We(i,{"prefix-icon":Je(Lt),placeholder:Je(t)("message.searchText")},null,8,["prefix-icon","placeholder"])])),_:1}),We(s,{class:"layout-text",onClick:n[0]||(n[0]=e=>l(80))},{default:qe((()=>[Ye("div",Xs,Ke(Je(t)("message.addTitle")),1)])),_:1}),We(s,{class:"layout-text",onClick:n[1]||(n[1]=e=>l(60))},{default:qe((()=>[Ye("div",Ys,Ke(Je(t)("message.addSubtitle")),1)])),_:1}),We(s,{class:"layout-text",onClick:n[2]||(n[2]=e=>l(36))},{default:qe((()=>[Ye("div",Ws,Ke(Je(t)("message.addBodyText")),1)])),_:1}),We(s,{class:"layout-style"},{default:qe((()=>[We(p,{span:16},{default:qe((()=>[We(d,{class:"full-ratio",modelValue:o.value,"onUpdate:modelValue":n[3]||(n[3]=e=>o.value=e)},{default:qe((()=>[We(u,{label:Je(t)("message.transverse"),value:"transverse"},{default:qe((()=>[We(c)])),_:1},8,["label"]),We(u,{label:Je(t)("message.direction"),value:"direction"},{default:qe((()=>[We(f)])),_:1},8,["label"])])),_:1},8,["modelValue"])])),_:1}),We(p,{span:8},{default:qe((()=>[We(v,{modelValue:a.value,"onUpdate:modelValue":n[4]||(n[4]=e=>a.value=e)},{default:qe((()=>[We(h),Ze(Ke(Je(t)("message.hollowOut")),1)])),_:1},8,["modelValue"])])),_:1})])),_:1}),We(g,{modelValue:r.value,"onUpdate:modelValue":n[5]||(n[5]=e=>r.value=e),class:"layout-tabs"},{default:qe((()=>[We(m,{label:Je(t)("message.recommendText"),name:"data"},{default:qe((()=>[Ze(Ke(Je(t)("message.recommendText")),1)])),_:1},8,["label"]),We(m,{label:Je(t)("message.myBookmarksText"),name:"self"},{default:qe((()=>[Ze(Ke(Je(t)("message.myTemplate")),1)])),_:1},8,["label"]),We(m,{label:Je(t)("message.myPurchasesText"),name:"team"},{default:qe((()=>[Ze(Ke(Je(t)("message.TeamTemplate")),1)])),_:1},8,["label"])])),_:1},8,["modelValue"])])}}}),[["__scopeId","data-v-798d5106"]]);const Zs=["src","alt","onClick"],Ks=O(Ue({__name:"IllustrationCategory",setup(e){const t=_(),{illustrationCategoryType:n,illustrationCategoryData:o}=E(t),{createImageElement:a}=D(),r=Ne(),l=Ne(),i=Ne(0),s=Ne("all"),c=ze((()=>o.value.filter((e=>e.type===s.value))[0])),u=xn((e=>f(this,null,(function*(){const t=yield(n={t:e},N({url:"api/design/illustration/category",method:"get",params:n}));var n;t&&200===t.data.code&&o.value.filter((t=>t.type===e)).map((e=>e.category=t.data.data))}))),100,{leading:!0,trailing:!1}),p=xn(((e,t)=>f(this,null,(function*(){const n=yield(a={t:e,page:t},N({url:"api/design/illustration/page",method:"get",params:a}));var a;n&&200===n.data.code&&o.value.filter((t=>t.type===e)).map((e=>e.total=n.data.data))}))),100,{leading:!0,trailing:!1}),h=()=>{let e=0,t=2;if(!r.value)return{startIndex:e,endIndex:t};const n=r.value.scrollTop,o=r.value.clientHeight;return e=Math.floor(n/132),t=Math.ceil((n+o)/132),{startIndex:e,endIndex:t}},v=()=>f(this,null,(function*(){const{startIndex:e,endIndex:t}=h();for(let a=e;af(this,null,(function*(){const{startIndex:e,endIndex:t}=h();for(let a=e;af(this,null,(function*(){r.value&&(i.value=r.value.scrollTop,s.value=e,yield p(e,1))})),b=(e,t)=>f(this,null,(function*(){const[n]=g();yield ln.loadImage(e.largeImageURL),t.set({visible:!1}),n.renderAll()})),w=e=>f(this,null,(function*(){const[t]=g(),{centerPoint:n}=d();let o=t.loading;o?(o.set({visible:!0}),t.bringObjectToFront(o),t.renderAll()):(o=yield z.fromURL(new URL(""+new URL("loading-BkKY1T9W.gif",import.meta.url).href,import.meta.url).href),o.set({left:n.x-o.width/2,top:n.y-o.height/2}),t.add(o),t.renderAll(),t.loading=o),yield b(e,o),a(e.largeImageURL)}));return lt((()=>{r.value&&v()})),(e,t)=>{const n=$t,a=Ot,u=Ge("IconRight"),f=Vt,d=Et,p=Ut,h=Ge("IconLeft"),g=At;return He(),Xe("div",null,["all"===s.value?(He(),Xe("div",{key:0,class:"category-container",ref_key:"categoryRef",ref:r,onScroll:v},[(He(!0),Xe(nt,null,ot(Je(o),((t,o)=>(He(),Xe("div",{key:o},[We(d,{class:"col-tip mt-5"},{default:qe((()=>[We(a,{span:5,class:"col-name"},{default:qe((()=>[We(n,null,{default:qe((()=>[Ze(Ke(t.name),1)])),_:2},1024)])),_:2},1024),We(a,{span:7,class:"col-name"},{default:qe((()=>[We(f,{text:"",onClick:e=>y(t.type)},{default:qe((()=>[Ze(Ke(e.$t("message.all")),1),We(u)])),_:2},1032,["onClick"])])),_:2},1024)])),_:2},1024),et((He(),at(d,{class:"category-box mt-5"},{default:qe((()=>[(He(!0),Xe(nt,null,ot(t.category,((e,t)=>(He(),Xe("div",{class:"box-image",key:t,style:st({height:(e.previewHeight<100?100:e.previewHeight)+"px"})},[We(p,{src:e.previewURL,alt:e.tags,onClick:t=>w(e),lazy:"",loading:"lazy"},null,8,["src","alt","onClick"])],4)))),128))])),_:2},1024)),[[g,0===t.category.length]])])))),128))],544)):(He(),Xe("div",{key:1,class:"category-container",ref_key:"totalRef",ref:l,onScroll:m},[We(d,{class:"col-tip mt-5"},{default:qe((()=>[We(a,{span:7,class:"col-name"},{default:qe((()=>[We(f,{text:"",onClick:t[0]||(t[0]=e=>(s.value="all",void(r.value&&r.value.scrollTo({top:i.value,behavior:"smooth"}))))},{default:qe((()=>[We(h),Ze(Ke(c.value.name),1)])),_:1})])),_:1})])),_:1}),et((He(),at(d,{class:"total-box mt-5"},{default:qe((()=>[(He(!0),Xe(nt,null,ot(c.value.total,((e,t)=>(He(),Xe("div",{class:"box-image",key:t},[Ye("img",{src:e.previewURL,alt:e.tags,onClick:t=>w(e),lazy:"",loading:"lazy",ref_for:!0,ref:e=>((e,t)=>{if(!e)return;const n=()=>{const n=e.parentElement;if(!n)return;const o=t>=2?2:0,a=Math.ceil(n.clientHeight/2)+o;n.style.gridRowEnd=`span ${a}`};n(),e.onload=n,e.onerror=function(){e.src=new URL(""+new URL("loading-BkKY1T9W.gif",import.meta.url).href,import.meta.url).href,n()}})(e,t)},null,8,Zs)])))),128))])),_:1})),[[g,0===c.value.total.length]])],544)),We(d,{class:"image-bottom"},{default:qe((()=>[Ze(Ke(e.$t("message.endOfContent")),1)])),_:1})])}}}),[["__scopeId","data-v-4d7511eb"]]),Js={class:"layout-pool"},Qs=O(Ue({__name:"ImagePool",setup(e){w();const{createImageElement:t}=D(),n=Ne("data");return(e,o)=>{const a=Ge("IconUpload"),r=Vt,l=yt,i=U,s=Ot,c=jt,u=Et,f=Pt,d=Bt;return He(),Xe("div",Js,[We(u,{class:"layout-search"},{default:qe((()=>[We(s,{span:5},{default:qe((()=>[We(i,{onChange:o[0]||(o[0]=e=>(e=>{const n=e[0];n&&M(n).then((e=>t(e)))})(e))},{default:qe((()=>[We(l,{placement:"top","hide-after":0,content:e.$t("message.uploadImages")},{default:qe((()=>[We(r,{type:"primary"},{default:qe((()=>[We(a)])),_:1})])),_:1},8,["content"])])),_:1})])),_:1}),We(s,{span:19},{default:qe((()=>[We(c,{"prefix-icon":Je(Lt),placeholder:e.$t("message.searchImages")},null,8,["prefix-icon","placeholder"])])),_:1})])),_:1}),We(d,{modelValue:n.value,"onUpdate:modelValue":o[1]||(o[1]=e=>n.value=e),class:"layout-tabs"},{default:qe((()=>[We(f,{label:e.$t("message.recommendImages"),name:"data"},{default:qe((()=>[We(Ks)])),_:1},8,["label"]),We(f,{label:e.$t("message.myBookmarks"),name:"self"},{default:qe((()=>[Ze(Ke(e.$t("message.myBookmarks")),1)])),_:1},8,["label"]),We(f,{label:e.$t("message.teamTemplates"),name:"team"},{default:qe((()=>[Ze(Ke(e.$t("message.teamTemplates")),1)])),_:1},8,["label"])])),_:1},8,["modelValue"])])}}}),[["__scopeId","data-v-70a56dd9"]]),ec={class:"dialog-footer"},tc=Ue({__name:"OpenGpt",props:{visible:{type:Boolean,required:!0}},emits:["close"],setup(e,{emit:t}){const n=t,o=e,a=Ne(!1),r=wn((function(){a.value=!1,n("close")}),250),l=wn((function(){return f(this,null,(function*(){(yield G("15972699417"))&&Dt.success("复制成功")}))}),250);return ct((()=>o.visible),(e=>{a.value=e})),(e,t)=>{const n=Ge("IconCopyOne"),o=Ge("IconWechat"),i=$t,s=Vt,c=Nt;return He(),at(c,{modelValue:Je(a),"onUpdate:modelValue":t[1]||(t[1]=e=>ut(a)?a.value=e:null),width:500,title:e.$t("gpt.openGPTTitle"),class:"upload-dialog","before-close":Je(r),"close-on-click-modal":!1},{footer:qe((()=>[Ye("div",ec,[We(s,{onClick:Je(r)},{default:qe((()=>[Ze(Ke(e.$t("default.cancel")),1)])),_:1},8,["onClick"]),We(s,{type:"primary",onClick:Je(r)},{default:qe((()=>[Ze(Ke(e.$t("default.ok")),1)])),_:1},8,["onClick"])])])),default:qe((()=>[Ye("div",null,[t[5]||(t[5]=Ye("div",{class:"mb-[20px] text-center"},"初级变中级,中级变高级,让前端开发更轻松高效!",-1)),t[6]||(t[6]=Ye("div",{class:"mb-[20px] text-center"},"限时优惠,数量有限,先到先得!",-1)),Ye("div",{class:"cursor-pointer text-center text-[18px] font-bold",onClick:t[0]||(t[0]=(...e)=>Je(l)&&Je(l)(...e))},[Ye("div",null,[We(n),t[3]||(t[3]=Ze("点击复制")),We(o),t[4]||(t[4]=Ze("微信号 ")),We(i,null,{default:qe((()=>t[2]||(t[2]=[Ze("15972699417")]))),_:1})])])])])),_:1},8,["modelValue","title","before-close"])}}}),nc={class:"font-middle"},oc={class:"font-little"},ac={class:"font-middle"},rc={class:"font-little"},lc={class:"font-middle"},ic={class:"font-little"},sc={class:"font-middle"},cc={class:"font-little"},uc=O(Ue({__name:"ToolkitPool",setup(e){w();const{createQRCodeElement:t,createBarCodeElement:n}=D(),o=Ne(window.location.href),a=Ne(!0),r=Ne(0),l=Ne(!1),i=Ne(!1),s=Ne(!1),c={A1:no.rendererRect,A2:no.rendererRound,A3:no.rendererRandRound,SP1:no.rendererDSJ,SP2:no.rendererRandRect,SP3:no.rendererCircle,B1:no.renderer25D,C1:no.rendererImage,A_a1:no.rendererLine,A_a2:no.rendererLine2,A_b1:no.rendererFuncA,A_b2:no.rendererFuncB},u=()=>{const e={format:"pharmacode",lineColor:"#0aa",width:4,height:40,displayValue:!1};Gi("#barcode","1234",e);const t=document.getElementById("barcode");if(!t)return;const o=(new XMLSerializer).serializeToString(t),a="data:image/svg+xml;base64,"+btoa(o);n(a,"1234",e)},f=e=>{const n="data:image/svg+xml;base64,"+btoa(c[e](((e=118,t=118)=>{const n={text:o.value,width:e,height:t,correctLevel:r.value,isSpace:a.value};return no.encodeData(n)})(118,118))),l={codeStyle:e,codeSpace:a.value,codeError:r.value};t(n,l,o.value)},d=()=>{l.value=!0},p=()=>{l.value=!1},h=()=>{i.value=!0},v=()=>{i.value=!1};return wn((function(){Tt.alert("功能开发中,敬请期待","提示",{confirmButtonText:"我知道了",callback:e=>{}})}),250),wn((function(){s.value=!0}),250),(e,t)=>{const n=jt,o=Et,a=Ge("IconPayCodeTwo"),r=Ot,c=Ge("IconTwoDimensionalCodeTwo"),m=Ge("IconMagicWand"),g=Ge("IconPlatte"),y=V,b=H,_=tc;return He(),Xe("div",null,[We(o,{class:"layout-search"},{default:qe((()=>[We(n,{"prefix-icon":Je(Lt),placeholder:e.$t("message.searchTools")},null,8,["prefix-icon","placeholder"])])),_:1}),We(o,null,{default:qe((()=>[We(o,{class:"code-common",onClick:u},{default:qe((()=>[We(r,{span:4,class:"code-icon"},{default:qe((()=>[We(a,{class:"icon-font"})])),_:1}),We(r,{span:20,class:"code-text"},{default:qe((()=>[Ye("div",nc,Ke(e.$t("message.barCode")),1),Ye("div",oc,Ke(e.$t("message.barCodeTips")),1)])),_:1})])),_:1})])),_:1}),We(o,null,{default:qe((()=>[We(o,{class:"code-common",onClick:t[0]||(t[0]=e=>f("A1"))},{default:qe((()=>[We(r,{span:4,class:"code-icon"},{default:qe((()=>[We(c,{class:"icon-font"})])),_:1}),We(r,{span:20,class:"code-text"},{default:qe((()=>[Ye("div",ac,Ke(e.$t("message.QRCode")),1),Ye("div",rc,Ke(e.$t("message.QRCodeTips")),1)])),_:1})])),_:1})])),_:1}),We(o,null,{default:qe((()=>[We(o,{class:"code-common",onClick:d},{default:qe((()=>[We(r,{span:4,class:"code-icon"},{default:qe((()=>[We(m,{class:"icon-font"})])),_:1}),We(r,{span:20,class:"code-text"},{default:qe((()=>[Ye("div",lc,Ke(e.$t("message.AICutoutImage")),1),Ye("div",ic,Ke(e.$t("message.AICutoutImageTips")),1)])),_:1})])),_:1})])),_:1}),We(o,null,{default:qe((()=>[We(o,{class:"code-common",onClick:h},{default:qe((()=>[We(r,{span:4,class:"code-icon"},{default:qe((()=>[We(g,{class:"icon-font"})])),_:1}),We(r,{span:20,class:"code-text"},{default:qe((()=>[Ye("div",sc,Ke(e.$t("message.ColorFillImage")),1),Ye("div",cc,Ke(e.$t("message.ColorFillImageTips")),1)])),_:1})])),_:1})])),_:1}),We(y,{visible:l.value,onClose:p},null,8,["visible"]),We(b,{visible:i.value,onClose:v},null,8,["visible"]),We(_,{visible:s.value,onClose:t[1]||(t[1]=e=>s.value=!1)},null,8,["visible"])])}}}),[["__scopeId","data-v-26281644"]]),fc={class:"font-middle"},dc={class:"font-little"},pc={class:"font-middle"},hc={class:"font-little"},vc=O(Ue({__name:"ChatgptPool",setup(e){w(),D(),Ne(window.location.href),Ne(!0),Ne(0),Ne(!1),Ne(!1);const t=Ne(!1),n=wn((function(){Tt.alert("功能开发中,敬请期待","提示",{confirmButtonText:"我知道了",callback:e=>{}})}),250),o=wn((function(){t.value=!0}),250);return(e,a)=>{const r=jt,l=Et,i=Ot,s=tc;return He(),Xe("div",null,[We(l,{class:"layout-search"},{default:qe((()=>[We(r,{"prefix-icon":Je(Lt),placeholder:e.$t("message.searchTools")},null,8,["prefix-icon","placeholder"])])),_:1}),We(l,null,{default:qe((()=>[We(l,{class:"code-common",onClick:Je(n)},{default:qe((()=>[We(i,{span:4,class:"code-icon"},{default:qe((()=>a[1]||(a[1]=[Ye("i",{class:"iconfont icon-gpt"},null,-1)]))),_:1}),We(i,{span:20,class:"code-text"},{default:qe((()=>[Ye("div",fc,Ke(e.$t("gpt.gptTitle")),1),Ye("div",dc,Ke(e.$t("gpt.gptIntro")),1)])),_:1})])),_:1},8,["onClick"])])),_:1}),We(l,null,{default:qe((()=>[We(l,{class:"code-common",onClick:Je(o)},{default:qe((()=>[We(i,{span:4,class:"code-icon"},{default:qe((()=>a[2]||(a[2]=[Ye("i",{class:"iconfont icon-gpt"},null,-1)]))),_:1}),We(i,{span:20,class:"code-text"},{default:qe((()=>[Ye("div",pc,Ke(e.$t("gpt.openGPTTitle")),1),Ye("div",hc,Ke(e.$t("gpt.openGPTIntro")),1)])),_:1})])),_:1},8,["onClick"])])),_:1}),We(s,{visible:t.value,onClose:a[0]||(a[0]=e=>t.value=!1)},null,8,["visible"])])}}}),[["__scopeId","data-v-dab5d425"]]),mc=()=>{const{lockElement:e,deleteElement:t,cutElement:n,copyElement:o,pasteElement:a,uncombineElements:r,combineElements:l,resetElements:i}=k(),{alignElement:s,layerElement:c}=Cn(),{canvasObject:u}=E(_()),f=u.value;return f?f.lockMovementX&&f.lockMovementY?[{text:"解锁",handler:()=>e(f.id,!1)}]:[{text:"剪切",subText:"Ctrl + X",handler:n},{text:"复制",subText:"Ctrl + C",handler:o},{text:"粘贴",subText:"Ctrl + V",handler:a},{divider:!0},{text:"水平居中",handler:()=>s(v.HORIZONTAL),children:[{text:"垂直居中",handler:()=>s(v.CENTER)},{text:"水平居中",handler:()=>s(v.HORIZONTAL)},{text:"左对齐",handler:()=>s(v.LEFT)},{text:"右对齐",handler:()=>s(v.RIGHT)}]},{text:"垂直居中",handler:()=>s(v.VERTICAL),children:[{text:"水平居中",handler:()=>s(v.CENTER)},{text:"垂直居中",handler:()=>s(v.VERTICAL)},{text:"顶部对齐",handler:()=>s(v.TOP)},{text:"底部对齐",handler:()=>s(v.BOTTOM)}]},{divider:!0},{text:"置于顶层",handler:()=>c(m.TOP),children:[{text:"置于顶层",handler:()=>c(m.TOP)},{text:"上移一层",handler:()=>c(m.UP)}]},{text:"置于底层",handler:()=>c(m.BOTTOM),children:[{text:"置于底层",handler:()=>c(m.BOTTOM)},{text:"下移一层",handler:()=>c(m.DOWN)}]},{divider:!0},{text:f.type===h.GROUP?"取消组合":"组合",subText:"Ctrl + G",handler:f.type===h.GROUP?r:l},{text:"全选",subText:"Ctrl + A"},{text:"锁定",subText:"Ctrl + L",handler:()=>e(f.id,!0)},{text:"删除",subText:"Delete",handler:()=>t(f.id)}]:[{text:"粘贴",subText:"Ctrl + V",handler:a},{text:"全选",subText:"Ctrl + A"},{text:"标尺"},{text:"网格"},{text:"重置",handler:i}]},gc=()=>[{text:"剪切",subText:"Ctrl + X"},{text:"复制",subText:"Ctrl + C"},{text:"粘贴",subText:"Ctrl + V"},{text:"全选",subText:"Ctrl + A"},{divider:!0},{text:"新建页面",subText:"Enter"},{text:"复制页面",subText:"Ctrl + D"},{text:"删除页面",subText:"Delete"},{divider:!0},{text:"从当前预览",subText:"Shift + F5"}];var yc={exports:{}};const bc=gn(ft); +/**! + * Sortable 1.14.0 + * @author RubaXa + * @author owenm + * @license MIT + */function _c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function wc(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Sc(e){return function(e){if(Array.isArray(e))return Oc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Oc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oc(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function Rc(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function $c(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&Vc(e,t):Vc(e,t))||o&&e===n)return e;if(e===n)break}while(e=Rc(e))}return null}var Uc,Nc=/\s+/g;function zc(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(Nc," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(Nc," ")}}function Gc(e,t,n){var o=e&&e.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in o||-1!==t.indexOf("webkit")||(t="-webkit-"+t),o[t]=n+("string"==typeof n?"":"px")}}function Hc(e,t){var n="";if("string"==typeof e)n=e;else do{var o=Gc(e,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(n)}function Xc(e,t,n){if(e){var o=e.getElementsByTagName(t),a=0,r=o.length;if(n)for(;a=Wc(o)[n]))return o;if(o===Yc())break;o=eu(o,!1)}return!1}function Zc(e,t,n,o){for(var a=0,r=0,l=e.children;r2&&void 0!==arguments[2]?arguments[2]:{},o=n.evt,a=Cc(n,pu);fu.pluginEvent.bind(lf)(e,t,wc({dragEl:mu,parentEl:gu,ghostEl:yu,rootEl:bu,nextEl:_u,lastDownEl:wu,cloneEl:xu,cloneHidden:ku,dragStarted:Iu,putSortable:Lu,activeSortable:lf.active,originalEvent:o,oldIndex:Eu,oldDraggableIndex:Su,newIndex:Cu,newDraggableIndex:Ou,hideGhostForTarget:nf,unhideGhostForTarget:of,cloneNowHidden:function(){ku=!0},cloneNowShown:function(){ku=!1},dispatchSortableEvent:function(e){vu({sortable:t,name:e,originalEvent:o})}},a))};function vu(e){du(wc({putSortable:Lu,cloneEl:xu,targetEl:mu,rootEl:bu,oldIndex:Eu,oldDraggableIndex:Su,newIndex:Cu,newDraggableIndex:Ou},e))}var mu,gu,yu,bu,_u,wu,xu,ku,Eu,Cu,Su,Ou,Au,Lu,Tu,Fu,Du,ju,Pu,Mu,Iu,Bu,Vu,Ru,$u,Uu=!1,Nu=!1,zu=[],Gu=!1,Hu=!1,Xu=[],Yu=!1,Wu=[],qu="undefined"!=typeof document,Zu=jc,Ku=Tc||Lc?"cssFloat":"float",Ju=qu&&!Pc&&!jc&&"draggable"in document.createElement("div"),Qu=function(){if(qu){if(Lc)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),ef=function(e,t){var n=Gc(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),a=Zc(e,0,t),r=Zc(e,1,t),l=a&&Gc(a),i=r&&Gc(r),s=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Wc(a).width,c=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+Wc(r).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&l.float&&"none"!==l.float){var u="left"===l.float?"left":"right";return!r||"both"!==i.clear&&i.clear!==u?"horizontal":"vertical"}return a&&("block"===l.display||"flex"===l.display||"table"===l.display||"grid"===l.display||s>=o&&"none"===n[Ku]||r&&"none"===n[Ku]&&s+c>o)?"vertical":"horizontal"},tf=function(e){function t(e,n){return function(o,a,r,l){var i=o.options.group.name&&a.options.group.name&&o.options.group.name===a.options.group.name;if(null==e&&(n||i))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(o,a,r,l),n)(o,a,r,l);var s=(n?o:a).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var n={},o=e.group;o&&"object"==xc(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},nf=function(){!Qu&&yu&&Gc(yu,"display","none")},of=function(){!Qu&&yu&&Gc(yu,"display","")};qu&&document.addEventListener("click",(function(e){if(Nu)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Nu=!1,!1}),!0);var af=function(e){if(mu){e=e.touches?e.touches[0]:e;var t=(a=e.clientX,r=e.clientY,zu.some((function(e){var t=e[iu].options.emptyInsertThreshold;if(t&&!Kc(e)){var n=Wc(e),o=a>=n.left-t&&a<=n.right+t,i=r>=n.top-t&&r<=n.bottom+t;return o&&i?l=e:void 0}})),l);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[iu]._onDragOver(n)}}var a,r,l},rf=function(e){mu&&mu.parentNode[iu]._isOutsideThisEl(e.target)};function lf(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Ec({},t),e[iu]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return ef(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==lf.supportPointer&&"PointerEvent"in window&&!Dc,emptyInsertThreshold:5};for(var o in fu.initializePlugins(this,e,n),n)!(o in t)&&(t[o]=n[o]);for(var a in tf(t),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!t.forceFallback&&Ju,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ic(e,"pointerdown",this._onTapStart):(Ic(e,"mousedown",this._onTapStart),Ic(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ic(e,"dragover",this),Ic(e,"dragenter",this)),zu.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ec(this,su())}function sf(e,t,n,o,a,r,l,i){var s,c,u=e[iu],f=u.options.onMove;return!window.CustomEvent||Lc||Tc?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=a||t,s.relatedRect=r||Wc(t),s.willInsertAfter=i,s.originalEvent=l,e.dispatchEvent(s),f&&(c=f.call(u,s,l)),c}function cf(e){e.draggable=!1}function uf(){Yu=!1}function ff(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function df(e){return setTimeout(e,0)}function pf(e){return clearTimeout(e)}lf.prototype={constructor:lf,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Bu=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,mu):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,a=o.preventOnFilter,r=e.type,l=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,i=(l||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||i,c=o.filter;if(function(e){Wu.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var o=t[n];o.checked&&Wu.push(o)}}(n),!mu&&!(/mousedown|pointerdown/.test(r)&&0!==e.button||o.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!Dc||!i||"SELECT"!==i.tagName.toUpperCase())&&!((i=$c(i,o.draggable,n,!1))&&i.animated||wu===i)){if(Eu=Jc(i),Su=Jc(i,o.draggable),"function"==typeof c){if(c.call(this,e,i,this))return vu({sortable:t,rootEl:s,name:"filter",targetEl:i,toEl:n,fromEl:n}),hu("filter",t,{evt:e}),void(a&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(o){if(o=$c(s,o.trim(),n,!1))return vu({sortable:t,rootEl:o,name:"filter",targetEl:i,fromEl:n,toEl:n}),hu("filter",t,{evt:e}),!0}))))return void(a&&e.cancelable&&e.preventDefault());o.handle&&!$c(s,o.handle,n,!1)||this._prepareDragStart(e,l,i)}}},_prepareDragStart:function(e,t,n){var o,a=this,r=a.el,l=a.options,i=r.ownerDocument;if(n&&!mu&&n.parentNode===r){var s=Wc(n);if(bu=r,gu=(mu=n).parentNode,_u=mu.nextSibling,wu=n,Au=l.group,lf.dragged=mu,Tu={target:mu,clientX:(t||e).clientX,clientY:(t||e).clientY},Pu=Tu.clientX-s.left,Mu=Tu.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,mu.style["will-change"]="all",o=function(){hu("delayEnded",a,{evt:e}),lf.eventCanceled?a._onDrop():(a._disableDelayedDragEvents(),!Fc&&a.nativeDraggable&&(mu.draggable=!0),a._triggerDragStart(e,t),vu({sortable:a,name:"choose",originalEvent:e}),zc(mu,l.chosenClass,!0))},l.ignore.split(",").forEach((function(e){Xc(mu,e.trim(),cf)})),Ic(i,"dragover",af),Ic(i,"mousemove",af),Ic(i,"touchmove",af),Ic(i,"mouseup",a._onDrop),Ic(i,"touchend",a._onDrop),Ic(i,"touchcancel",a._onDrop),Fc&&this.nativeDraggable&&(this.options.touchStartThreshold=4,mu.draggable=!0),hu("delayStart",this,{evt:e}),!l.delay||l.delayOnTouchOnly&&!t||this.nativeDraggable&&(Tc||Lc))o();else{if(lf.eventCanceled)return void this._onDrop();Ic(i,"mouseup",a._disableDelayedDrag),Ic(i,"touchend",a._disableDelayedDrag),Ic(i,"touchcancel",a._disableDelayedDrag),Ic(i,"mousemove",a._delayedDragTouchMoveHandler),Ic(i,"touchmove",a._delayedDragTouchMoveHandler),l.supportPointer&&Ic(i,"pointermove",a._delayedDragTouchMoveHandler),a._dragStartTimer=setTimeout(o,l.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){mu&&cf(mu),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Bc(e,"mouseup",this._disableDelayedDrag),Bc(e,"touchend",this._disableDelayedDrag),Bc(e,"touchcancel",this._disableDelayedDrag),Bc(e,"mousemove",this._delayedDragTouchMoveHandler),Bc(e,"touchmove",this._delayedDragTouchMoveHandler),Bc(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Ic(document,"pointermove",this._onTouchMove):Ic(document,t?"touchmove":"mousemove",this._onTouchMove):(Ic(mu,"dragend",this),Ic(bu,"dragstart",this._onDragStart));try{document.selection?df((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(Uu=!1,bu&&mu){hu("dragStarted",this,{evt:t}),this.nativeDraggable&&Ic(document,"dragover",rf);var n=this.options;!e&&zc(mu,n.dragClass,!1),zc(mu,n.ghostClass,!0),lf.active=this,e&&this._appendGhost(),vu({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Fu){this._lastX=Fu.clientX,this._lastY=Fu.clientY,nf();for(var e=document.elementFromPoint(Fu.clientX,Fu.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Fu.clientX,Fu.clientY))!==t;)t=e;if(mu.parentNode[iu]._isOutsideThisEl(e),t)do{if(t[iu]){if(t[iu]._onDragOver({clientX:Fu.clientX,clientY:Fu.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);of()}},_onTouchMove:function(e){if(Tu){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,a=e.touches?e.touches[0]:e,r=yu&&Hc(yu,!0),l=yu&&r&&r.a,i=yu&&r&&r.d,s=Zu&&$u&&Qc($u),c=(a.clientX-Tu.clientX+o.x)/(l||1)+(s?s[0]-Xu[0]:0)/(l||1),u=(a.clientY-Tu.clientY+o.y)/(i||1)+(s?s[1]-Xu[1]:0)/(i||1);if(!lf.active&&!Uu){if(n&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))o.right+a||e.clientX<=o.right&&e.clientY>o.bottom&&e.clientX>=o.left:e.clientX>o.right&&e.clientY>o.top||e.clientX<=o.right&&e.clientY>o.bottom+a}(e,a,this)&&!v.animated){if(v===mu)return F(!1);if(v&&r===e.target&&(l=v),l&&(n=Wc(l)),!1!==sf(bu,r,mu,t,l,n,e,!!l))return T(),r.appendChild(mu),gu=r,D(),F(!0)}else if(v&&function(e,t,n){var o=Wc(Zc(n.el,0,n.options,!0)),a=10;return t?e.clientXu+c*r/2:sf-Ru)return-Vu}else if(s>u+c*(1-a)/2&&sf-c*r/2))return s>u+c/2?1:-1;return 0}(e,l,n,a,w?1:i.swapThreshold,null==i.invertedSwapThreshold?i.swapThreshold:i.invertedSwapThreshold,Hu,Bu===l),0!==g){var C=Jc(mu);do{C-=g,b=gu.children[C]}while(b&&("none"===Gc(b,"display")||b===yu))}if(0===g||b===l)return F(!1);Bu=l,Vu=g;var S=l.nextElementSibling,O=!1,A=sf(bu,r,mu,t,l,n,e,O=1===g);if(!1!==A)return 1!==A&&-1!==A||(O=1===A),Yu=!0,setTimeout(uf,30),T(),O&&!S?r.appendChild(mu):l.parentNode.insertBefore(mu,O?S:l),k&&ou(k,0,E-k.scrollTop),gu=mu.parentNode,void 0===y||Hu||(Ru=Math.abs(y-Wc(l)[x])),D(),F(!0)}if(r.contains(mu))return F(!1)}return!1}function L(i,s){hu(i,p,wc({evt:e,isOwner:u,axis:a?"vertical":"horizontal",revert:o,dragRect:t,targetRect:n,canSort:f,fromSortable:d,target:l,completed:F,onMove:function(n,o){return sf(bu,r,mu,t,n,Wc(n),e,o)},changed:D},s))}function T(){L("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function F(t){return L("dragOverCompleted",{insertion:t}),t&&(u?c._hideClone():c._showClone(p),p!==d&&(zc(mu,Lu?Lu.options.ghostClass:c.options.ghostClass,!1),zc(mu,i.ghostClass,!0)),Lu!==p&&p!==lf.active?Lu=p:p===lf.active&&Lu&&(Lu=null),d===p&&(p._ignoreWhileAnimating=l),p.animateAll((function(){L("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(l===mu&&!mu.animated||l===r&&!l.animated)&&(Bu=null),i.dragoverBubble||e.rootEl||l===document||(mu.parentNode[iu]._isOutsideThisEl(e.target),!t&&af(e)),!i.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function D(){Cu=Jc(mu),Ou=Jc(mu,i.draggable),vu({sortable:p,name:"change",toEl:r,newIndex:Cu,newDraggableIndex:Ou,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){Bc(document,"mousemove",this._onTouchMove),Bc(document,"touchmove",this._onTouchMove),Bc(document,"pointermove",this._onTouchMove),Bc(document,"dragover",af),Bc(document,"mousemove",af),Bc(document,"touchmove",af)},_offUpEvents:function(){var e=this.el.ownerDocument;Bc(e,"mouseup",this._onDrop),Bc(e,"touchend",this._onDrop),Bc(e,"pointerup",this._onDrop),Bc(e,"touchcancel",this._onDrop),Bc(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Cu=Jc(mu),Ou=Jc(mu,n.draggable),hu("drop",this,{evt:e}),gu=mu&&mu.parentNode,Cu=Jc(mu),Ou=Jc(mu,n.draggable),lf.eventCanceled||(Uu=!1,Hu=!1,Gu=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),pf(this.cloneId),pf(this._dragStartId),this.nativeDraggable&&(Bc(document,"drop",this),Bc(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Dc&&Gc(document.body,"user-select",""),Gc(mu,"transform",""),e&&(Iu&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),yu&&yu.parentNode&&yu.parentNode.removeChild(yu),(bu===gu||Lu&&"clone"!==Lu.lastPutMode)&&xu&&xu.parentNode&&xu.parentNode.removeChild(xu),mu&&(this.nativeDraggable&&Bc(mu,"dragend",this),cf(mu),mu.style["will-change"]="",Iu&&!Uu&&zc(mu,Lu?Lu.options.ghostClass:this.options.ghostClass,!1),zc(mu,this.options.chosenClass,!1),vu({sortable:this,name:"unchoose",toEl:gu,newIndex:null,newDraggableIndex:null,originalEvent:e}),bu!==gu?(Cu>=0&&(vu({rootEl:gu,name:"add",toEl:gu,fromEl:bu,originalEvent:e}),vu({sortable:this,name:"remove",toEl:gu,originalEvent:e}),vu({rootEl:gu,name:"sort",toEl:gu,fromEl:bu,originalEvent:e}),vu({sortable:this,name:"sort",toEl:gu,originalEvent:e})),Lu&&Lu.save()):Cu!==Eu&&Cu>=0&&(vu({sortable:this,name:"update",toEl:gu,originalEvent:e}),vu({sortable:this,name:"sort",toEl:gu,originalEvent:e})),lf.active&&(null!=Cu&&-1!==Cu||(Cu=Eu,Ou=Su),vu({sortable:this,name:"end",toEl:gu,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){hu("nulling",this),bu=mu=gu=yu=_u=xu=wu=ku=Tu=Fu=Iu=Cu=Ou=Eu=Su=Bu=Vu=Lu=Au=lf.dragged=lf.ghost=lf.clone=lf.active=null,Wu.forEach((function(e){e.checked=!0})),Wu.length=Du=ju=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":mu&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,o=0,a=n.length,r=this.options;o1&&(Pf.forEach((function(e){o.addAnimationState({target:e,rect:Bf?Wc(e):a}),lu(e),e.fromRect=a,t.removeAnimationState(e)})),Bf=!1,function(e,t){Pf.forEach((function(n,o){var a=t.children[n.sortableIndex+(e?Number(o):0)];a?t.insertBefore(n,a):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,o=e.insertion,a=e.activeSortable,r=e.parentEl,l=e.putSortable,i=this.options;if(o){if(n&&a._hideClone(),If=!1,i.animation&&Pf.length>1&&(Bf||!n&&!a.options.sort&&!l)){var s=Wc(Ff,!1,!0,!0);Pf.forEach((function(e){e!==Ff&&(ru(e,s),r.appendChild(e))})),Bf=!0}if(!n)if(Bf||$f(),Pf.length>1){var c=jf;a._showClone(t),a.options.animation&&!jf&&c&&Mf.forEach((function(e){a.addAnimationState({target:e,rect:Df}),e.fromRect=Df,e.thisAnimationDuration=null}))}else a._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,o=e.activeSortable;if(Pf.forEach((function(e){e.thisAnimationDuration=null})),o.options.animation&&!n&&o.multiDrag.isMultiDrag){Df=Ec({},t);var a=Hc(Ff,!0);Df.top-=a.f,Df.left-=a.e}},dragOverAnimationComplete:function(){Bf&&(Bf=!1,$f())},drop:function(e){var t=e.originalEvent,n=e.rootEl,o=e.parentEl,a=e.sortable,r=e.dispatchSortableEvent,l=e.oldIndex,i=e.putSortable,s=i||this.sortable;if(t){var c=this.options,u=o.children;if(!Vf)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),zc(Ff,c.selectedClass,!~Pf.indexOf(Ff)),~Pf.indexOf(Ff))Pf.splice(Pf.indexOf(Ff),1),Lf=null,du({sortable:a,rootEl:n,name:"deselect",targetEl:Ff,originalEvt:t});else{if(Pf.push(Ff),du({sortable:a,rootEl:n,name:"select",targetEl:Ff,originalEvt:t}),t.shiftKey&&Lf&&a.el.contains(Lf)){var f,d,p=Jc(Lf),h=Jc(Ff);if(~p&&~h&&p!==h)for(h>p?(d=p,f=h):(d=h,f=p+1);d1){var v=Wc(Ff),m=Jc(Ff,":not(."+this.options.selectedClass+")");if(!If&&c.animation&&(Ff.thisAnimationDuration=null),s.captureAnimationState(),!If&&(c.animation&&(Ff.fromRect=v,Pf.forEach((function(e){if(e.thisAnimationDuration=null,e!==Ff){var t=Bf?Wc(e):v;e.fromRect=t,s.addAnimationState({target:e,rect:t})}}))),$f(),Pf.forEach((function(e){u[m]?o.insertBefore(e,u[m]):o.appendChild(e),m++})),l===Jc(Ff))){var g=!1;Pf.forEach((function(e){e.sortableIndex===Jc(e)||(g=!0)})),g&&r("update")}Pf.forEach((function(e){lu(e)})),s.animateAll()}Tf=s}(n===o||i&&"clone"!==i.lastPutMode)&&Mf.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=Vf=!1,Mf.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Bc(document,"pointerup",this._deselectMultiDrag),Bc(document,"mouseup",this._deselectMultiDrag),Bc(document,"touchend",this._deselectMultiDrag),Bc(document,"keydown",this._checkKeyDown),Bc(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==Vf&&Vf||Tf!==this.sortable||e&&$c(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;Pf.length;){var t=Pf[0];zc(t,this.options.selectedClass,!1),Pf.shift(),du({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Ec(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[iu];t&&t.options.multiDrag&&!~Pf.indexOf(e)&&(Tf&&Tf!==t&&(Tf.multiDrag._deselectMultiDrag(),Tf=t),zc(e,t.options.selectedClass,!0),Pf.push(e))},deselect:function(e){var t=e.parentNode[iu],n=Pf.indexOf(e);t&&t.options.multiDrag&&~n&&(zc(e,t.options.selectedClass,!1),Pf.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return Pf.forEach((function(o){var a;t.push({multiDragElement:o,index:o.sortableIndex}),a=Bf&&o!==Ff?-1:Bf?Jc(o,":not(."+e.options.selectedClass+")"):Jc(o),n.push({multiDragElement:o,index:a})})),{items:Sc(Pf),clones:[].concat(Mf),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})},Sortable:lf,Swap:function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;Ef=t},dragOverValid:function(e){var t=e.completed,n=e.target,o=e.onMove,a=e.activeSortable,r=e.changed,l=e.cancel;if(a.options.swap){var i=this.sortable.el,s=this.options;if(n&&n!==i){var c=Ef;!1!==o(n)?(zc(n,s.swapClass,!0),Ef=n):Ef=null,c&&c!==Ef&&zc(c,s.swapClass,!1)}r(),t(!0),l()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,o=e.dragEl,a=n||this.sortable,r=this.options;Ef&&zc(Ef,r.swapClass,!1),Ef&&(r.swap||n&&n.options.swap)&&o!==Ef&&(a.captureAnimationState(),a!==t&&t.captureAnimationState(),function(e,t){var n,o,a=e.parentNode,r=t.parentNode;if(!a||!r||a.isEqualNode(t)||r.isEqualNode(e))return;n=Jc(e),o=Jc(t),a.isEqualNode(r)&&n1?arguments[1]:void 0)}})},"14c3":function(e,t,n){var o=n("c6b6"),a=n("9263");e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==o(e))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},"159b":function(e,t,n){var o=n("da84"),a=n("fdbc"),r=n("17c2"),l=n("9112");for(var i in a){var s=o[i],c=s&&s.prototype;if(c&&c.forEach!==r)try{l(c,"forEach",r)}catch(u){c.forEach=r}}},"17c2":function(e,t,n){var o=n("b727").forEach,a=n("a640"),r=n("ae40"),l=a("forEach"),i=r("forEach");e.exports=l&&i?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}},"1be4":function(e,t,n){var o=n("d066");e.exports=o("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var o=n("b622")("iterator"),a=!1;try{var r=0,l={next:function(){return{done:!!r++}},return:function(){a=!0}};l[o]=function(){return this},Array.from(l,(function(){throw 2}))}catch(i){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(i){}return n}},"1d80":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var o=n("d039"),a=n("b622"),r=n("2d00"),l=a("species");e.exports=function(e){return r>=51||!o((function(){var t=[];return(t.constructor={})[l]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"23cb":function(e,t,n){var o=n("a691"),a=Math.max,r=Math.min;e.exports=function(e,t){var n=o(e);return n<0?a(n+t,0):r(n,t)}},"23e7":function(e,t,n){var o=n("da84"),a=n("06cf").f,r=n("9112"),l=n("6eeb"),i=n("ce4e"),s=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,f,d,p,h=e.target,v=e.global,m=e.stat;if(n=v?o:m?o[h]||i(h,{}):(o[h]||{}).prototype)for(u in t){if(d=t[u],f=e.noTargetGet?(p=a(n,u))&&p.value:n[u],!c(v?u:h+(m?".":"#")+u,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;s(d,f)}(e.sham||f&&f.sham)&&r(d,"sham",!0),l(n,u,d,e)}}},"241c":function(e,t,n){var o=n("ca84"),a=n("7839").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,a)}},"25f0":function(e,t,n){var o=n("6eeb"),a=n("825a"),r=n("d039"),l=n("ad6d"),i="toString",s=RegExp.prototype,c=s[i],u=r((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=c.name!=i;(u||f)&&o(RegExp.prototype,i,(function(){var e=a(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?l.call(e):n)}),{unsafe:!0})},"2ca0":function(e,t,n){var o,a=n("23e7"),r=n("06cf").f,l=n("50c4"),i=n("5a34"),s=n("1d80"),c=n("ab13"),u=n("c430"),f="".startsWith,d=Math.min,p=c("startsWith");a({target:"String",proto:!0,forced:!(!u&&!p&&(o=r(String.prototype,"startsWith"),o&&!o.writable)||p)},{startsWith:function(e){var t=String(s(this));i(e);var n=l(d(arguments.length>1?arguments[1]:void 0,t.length)),o=String(e);return f?f.call(t,o,n):t.slice(n,n+o.length)===o}})},"2d00":function(e,t,n){var o,a,r=n("da84"),l=n("342f"),i=r.process,s=i&&i.versions,c=s&&s.v8;c?a=(o=c.split("."))[0]+o[1]:l&&(!(o=l.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=l.match(/Chrome\/(\d+)/))&&(a=o[1]),e.exports=a&&+a},"342f":function(e,t,n){var o=n("d066");e.exports=o("navigator","userAgent")||""},"35a1":function(e,t,n){var o=n("f5df"),a=n("3f8c"),r=n("b622")("iterator");e.exports=function(e){if(null!=e)return e[r]||e["@@iterator"]||a[o(e)]}},"37e8":function(e,t,n){var o=n("83ab"),a=n("9bf2"),r=n("825a"),l=n("df75");e.exports=o?Object.defineProperties:function(e,t){r(e);for(var n,o=l(t),i=o.length,s=0;i>s;)a.f(e,n=o[s++],t[n]);return e}},"3bbe":function(e,t,n){var o=n("861d");e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3ca3":function(e,t,n){var o=n("6547").charAt,a=n("69f3"),r=n("7dd0"),l="String Iterator",i=a.set,s=a.getterFor(l);r(String,"String",(function(e){i(this,{type:l,string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,a=t.index;return a>=n.length?{value:void 0,done:!0}:(e=o(n,a),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},4160:function(e,t,n){var o=n("23e7"),a=n("17c2");o({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},"428f":function(e,t,n){var o=n("da84");e.exports=o},"44ad":function(e,t,n){var o=n("d039"),a=n("c6b6"),r="".split;e.exports=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?r.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var o=n("b622"),a=n("7c73"),r=n("9bf2"),l=o("unscopables"),i=Array.prototype;null==i[l]&&r.f(i,l,{configurable:!0,value:a(null)}),e.exports=function(e){i[l][e]=!0}},"44e7":function(e,t,n){var o=n("861d"),a=n("c6b6"),r=n("b622")("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==a(e))}},4930:function(e,t,n){var o=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())}))},"4d64":function(e,t,n){var o=n("fc6a"),a=n("50c4"),r=n("23cb"),l=function(e){return function(t,n,l){var i,s=o(t),c=a(s.length),u=r(l,c);if(e&&n!=n){for(;c>u;)if((i=s[u++])!=i)return!0}else for(;c>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:l(!0),indexOf:l(!1)}},"4de4":function(e,t,n){var o=n("23e7"),a=n("b727").filter,r=n("1dde"),l=n("ae40"),i=r("filter"),s=l("filter");o({target:"Array",proto:!0,forced:!i||!s},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){var o=n("0366"),a=n("7b0b"),r=n("9bdd"),l=n("e95a"),i=n("50c4"),s=n("8418"),c=n("35a1");e.exports=function(e){var t,n,u,f,d,p,h=a(e),v="function"==typeof this?this:Array,m=arguments.length,g=m>1?arguments[1]:void 0,y=void 0!==g,b=c(h),_=0;if(y&&(g=o(g,m>2?arguments[2]:void 0,2)),null==b||v==Array&&l(b))for(n=new v(t=i(h.length));t>_;_++)p=y?g(h[_],_):h[_],s(n,_,p);else for(d=(f=b.call(h)).next,n=new v;!(u=d.call(f)).done;_++)p=y?r(f,g,[u.value,_],!0):u.value,s(n,_,p);return n.length=_,n}},"4fad":function(e,t,n){var o=n("23e7"),a=n("6f53").entries;o({target:"Object",stat:!0},{entries:function(e){return a(e)}})},"50c4":function(e,t,n){var o=n("a691"),a=Math.min;e.exports=function(e){return e>0?a(o(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5319:function(e,t,n){var o=n("d784"),a=n("825a"),r=n("7b0b"),l=n("50c4"),i=n("a691"),s=n("1d80"),c=n("8aa5"),u=n("14c3"),f=Math.max,d=Math.min,p=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;o("replace",2,(function(e,t,n,o){var m=o.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=o.REPLACE_KEEPS_$0,y=m?"$":"$0";return[function(n,o){var a=s(this),r=null==n?void 0:n[e];return void 0!==r?r.call(n,a,o):t.call(String(a),n,o)},function(e,o){if(!m&&g||"string"==typeof o&&-1===o.indexOf(y)){var r=n(t,e,this,o);if(r.done)return r.value}var s=a(e),p=String(this),h="function"==typeof o;h||(o=String(o));var v=s.global;if(v){var _=s.unicode;s.lastIndex=0}for(var w=[];;){var x=u(s,p);if(null===x)break;if(w.push(x),!v)break;""===String(x[0])&&(s.lastIndex=c(p,l(s.lastIndex),_))}for(var k,E="",C=0,S=0;S=C&&(E+=p.slice(C,A)+j,C=A+O.length)}return E+p.slice(C)}];function b(e,n,o,a,l,i){var s=o+e.length,c=a.length,u=v;return void 0!==l&&(l=r(l),u=h),t.call(i,u,(function(t,r){var i;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,o);case"'":return n.slice(s);case"<":i=l[r.slice(1,-1)];break;default:var u=+r;if(0===u)return t;if(u>c){var f=p(u/10);return 0===f?t:f<=c?void 0===a[f-1]?r.charAt(1):a[f-1]+r.charAt(1):t}i=a[u-1]}return void 0===i?"":i}))}}))},5692:function(e,t,n){var o=n("c430"),a=n("c6cd");(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:o?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var o=n("d066"),a=n("241c"),r=n("7418"),l=n("825a");e.exports=o("Reflect","ownKeys")||function(e){var t=a.f(l(e)),n=r.f;return n?t.concat(n(e)):t}},"5a34":function(e,t,n){var o=n("44e7");e.exports=function(e){if(o(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5db7":function(e,t,n){var o=n("23e7"),a=n("a2bf"),r=n("7b0b"),l=n("50c4"),i=n("1c0b"),s=n("65f0");o({target:"Array",proto:!0},{flatMap:function(e){var t,n=r(this),o=l(n.length);return i(e),(t=s(n,0)).length=a(t,n,n,o,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},6547:function(e,t,n){var o=n("a691"),a=n("1d80"),r=function(e){return function(t,n){var r,l,i=String(a(t)),s=o(n),c=i.length;return s<0||s>=c?e?"":void 0:(r=i.charCodeAt(s))<55296||r>56319||s+1===c||(l=i.charCodeAt(s+1))<56320||l>57343?e?i.charAt(s):r:e?i.slice(s,s+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:r(!1),charAt:r(!0)}},"65f0":function(e,t,n){var o=n("861d"),a=n("e8b5"),r=n("b622")("species");e.exports=function(e,t){var n;return a(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!a(n.prototype)?o(n)&&null===(n=n[r])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"69f3":function(e,t,n){var o,a,r,l=n("7f9a"),i=n("da84"),s=n("861d"),c=n("9112"),u=n("5135"),f=n("f772"),d=n("d012"),p=i.WeakMap;if(l){var h=new p,v=h.get,m=h.has,g=h.set;o=function(e,t){return g.call(h,e,t),t},a=function(e){return v.call(h,e)||{}},r=function(e){return m.call(h,e)}}else{var y=f("state");d[y]=!0,o=function(e,t){return c(e,y,t),t},a=function(e){return u(e,y)?e[y]:{}},r=function(e){return u(e,y)}}e.exports={set:o,get:a,has:r,enforce:function(e){return r(e)?a(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"6eeb":function(e,t,n){var o=n("da84"),a=n("9112"),r=n("5135"),l=n("ce4e"),i=n("8925"),s=n("69f3"),c=s.get,u=s.enforce,f=String(String).split("String");(e.exports=function(e,t,n,i){var s=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,d=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||r(n,"name")||a(n,"name",t),u(n).source=f.join("string"==typeof t?t:"")),e!==o?(s?!d&&e[t]&&(c=!0):delete e[t],c?e[t]=n:a(e,t,n)):c?e[t]=n:l(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||i(this)}))},"6f53":function(e,t,n){var o=n("83ab"),a=n("df75"),r=n("fc6a"),l=n("d1e7").f,i=function(e){return function(t){for(var n,i=r(t),s=a(i),c=s.length,u=0,f=[];c>u;)n=s[u++],o&&!l.call(i,n)||f.push(e?[n,i[n]]:i[n]);return f}};e.exports={entries:i(!0),values:i(!1)}},"73d9":function(e,t,n){n("44d2")("flatMap")},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var o=n("428f"),a=n("5135"),r=n("e538"),l=n("9bf2").f;e.exports=function(e){var t=o.Symbol||(o.Symbol={});a(t,e)||l(t,e,{value:r.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){var o=n("1d80");e.exports=function(e){return Object(o(e))}},"7c73":function(e,t,n){var o,a=n("825a"),r=n("37e8"),l=n("7839"),i=n("d012"),s=n("1be4"),c=n("cc12"),u=n("f772"),f="prototype",d="script",p=u("IE_PROTO"),h=function(){},v=function(e){return"<"+d+">"+e+""},m=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(r){}var e,t,n;m=o?function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):(t=c("iframe"),n="java"+d+":",t.style.display="none",s.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(v("document.F=Object")),e.close(),e.F);for(var a=l.length;a--;)delete m[f][l[a]];return m()};i[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[f]=a(e),n=new h,h[f]=null,n[p]=e):n=m(),void 0===t?n:r(n,t)}},"7dd0":function(e,t,n){var o=n("23e7"),a=n("9ed3"),r=n("e163"),l=n("d2bb"),i=n("d44e"),s=n("9112"),c=n("6eeb"),u=n("b622"),f=n("c430"),d=n("3f8c"),p=n("ae93"),h=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,m=u("iterator"),g="keys",y="values",b="entries",_=function(){return this};e.exports=function(e,t,n,u,p,w,x){a(n,t,u);var k,E,C,S=function(e){if(e===p&&F)return F;if(!v&&e in L)return L[e];switch(e){case g:case y:case b:return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",A=!1,L=e.prototype,T=L[m]||L["@@iterator"]||p&&L[p],F=!v&&T||S(p),D="Array"==t&&L.entries||T;if(D&&(k=r(D.call(new e)),h!==Object.prototype&&k.next&&(f||r(k)===h||(l?l(k,h):"function"!=typeof k[m]&&s(k,m,_)),i(k,O,!0,!0),f&&(d[O]=_))),p==y&&T&&T.name!==y&&(A=!0,F=function(){return T.call(this)}),f&&!x||L[m]===F||s(L,m,F),d[t]=F,p)if(E={values:S(y),keys:w?F:S(g),entries:S(b)},x)for(C in E)(v||A||!(C in L))&&c(L,C,E[C]);else o({target:t,proto:!0,forced:v||A},E);return E}},"7f9a":function(e,t,n){var o=n("da84"),a=n("8925"),r=o.WeakMap;e.exports="function"==typeof r&&/native code/.test(a(r))},"825a":function(e,t,n){var o=n("861d");e.exports=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var o=n("d039");e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){var o=n("c04e"),a=n("9bf2"),r=n("5c6c");e.exports=function(e,t,n){var l=o(t);l in e?a.f(e,l,r(0,n)):e[l]=n}},"861d":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},8875:function(e,t,n){var o,a,r;"undefined"!=typeof self&&self,a=[],void 0===(r="function"==typeof(o=function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,o,a,r=/@([^@]*):(\d+):(\d+)\s*$/gi,l=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(d.stack)||r.exec(d.stack),i=l&&l[1]||!1,s=l&&l[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");i===c&&(n=document.documentElement.outerHTML,o=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*
正在加载中,请稍等 ...
\ No newline at end of file diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 00000000..7d4f996d --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1 @@ +{"name":"yft-design","short_name":"yft-design","start_url":"./index.html","display":"standalone","background_color":"#000000","lang":"en","scope":"./","theme_color":"#d14424","icons":[{"src":"/img/icons/yft-design-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/img/icons/yft-design-512x512.png","sizes":"512x512","type":"image/png"},{"src":"/img/icons/yft-design-192x192.png","sizes":"192x192","type":"image/png","purpose":"maskable"},{"src":"/img/icons/yft-design-512x512.png","sizes":"512x512","type":"image/png","purpose":"maskable"}]} diff --git a/nYtBCuVtfK.txt b/nYtBCuVtfK.txt new file mode 100644 index 00000000..2bc33a0e --- /dev/null +++ b/nYtBCuVtfK.txt @@ -0,0 +1 @@ +65c72e7981788f7c732ed70fbd3d78c0 \ No newline at end of file diff --git a/resource/color/shading.json b/resource/color/shading.json new file mode 100644 index 00000000..e920f8d1 --- /dev/null +++ b/resource/color/shading.json @@ -0,0 +1 @@ +[{"title":"Waves - 1","slug":"waves-1","mode":"stroke","colors":5,"maxStroke":6.5,"maxScale":16,"maxSpacing":[0,10],"width":120,"height":80,"vHeight":20,"tags":["waves","curves"],"path":"~~~"},{"title":"Waves - 2","slug":"waves-2","mode":"stroke","colors":5,"maxStroke":5.5,"maxScale":16,"maxSpacing":[0,10],"width":80,"height":80,"vHeight":20,"tags":["waves","curves"],"path":"~~~"},{"title":"Waves - 3","slug":"waves-3","mode":"stroke","colors":5,"maxStroke":5.5,"maxScale":16,"maxSpacing":[0,10],"width":40,"height":80,"vHeight":20,"tags":["waves","curves"],"path":"~~~"},{"title":"Waves - 5","slug":"waves-5","mode":"fill","colors":3,"maxStroke":1,"maxScale":10,"maxSpacing":[0,0],"width":15.825,"height":26.667,"vHeight":0,"tags":["waves","curves"],"path":"~"},{"title":"Waves - 4","slug":"waves-4","mode":"stroke","colors":2,"maxStroke":4,"maxScale":10,"maxSpacing":[0,0],"width":70,"height":8,"vHeight":0,"tags":["waves","curves"],"path":""},{"title":"Waves - 6","slug":"waves-6","mode":"fill","colors":3,"maxStroke":1,"maxScale":10,"maxSpacing":[0,0],"width":16.591,"height":26.667,"vHeight":0,"tags":["waves","curves"],"path":"~"},{"title":"Waves - 7","slug":"waves-7","mode":"fill","colors":3,"maxStroke":1,"maxScale":10,"maxSpacing":[0,0],"width":35.584,"height":30.585,"vHeight":0,"tags":["waves","curves"],"path":"~"},{"title":"Chevron - 1","slug":"chevron-1","mode":"stroke-join","colors":5,"maxStroke":10,"maxScale":16,"maxSpacing":[0,10],"width":40,"height":80,"vHeight":20,"tags":["chevron","lines"],"path":"~~~"},{"title":"Chevron - 2","slug":"chevron-2","mode":"stroke-join","colors":5,"maxStroke":4.5,"maxScale":16,"maxSpacing":[0,10],"width":40,"height":80,"vHeight":20,"tags":["chevron","lines"],"path":"~~~"},{"title":"Chevron - 3","slug":"chevron-3","mode":"stroke-join","colors":5,"maxStroke":7,"maxScale":16,"maxSpacing":[0,10],"width":20,"height":80,"vHeight":20,"tags":["chevron","lines"],"path":"~~~"},{"title":"Straight Lines","slug":"straight-lines","mode":"stroke","colors":5,"maxStroke":19.5,"maxScale":12,"maxSpacing":[10,10],"width":20,"height":80,"vHeight":20,"tags":["straight lines"],"path":"~~~"},{"title":"Brick Wall - 2","slug":"brick-wall-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":60,"height":30,"vHeight":0,"tags":["brick wall","lines"],"path":"~"},{"title":"Cross Section","slug":"cross-section","mode":"stroke","colors":2,"maxStroke":19.5,"maxScale":12,"maxSpacing":[10,10],"width":20,"height":20,"vHeight":0,"tags":["cross section","lines"],"path":""},{"title":"Brick Wall - 1","slug":"brick-wall-1","mode":"stroke","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[10,0],"width":30,"height":30,"vHeight":0,"tags":["brick wall","lines"],"path":""},{"title":"Herringbone - 2","slug":"herringbone-2","mode":"stroke","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":20,"height":20,"vHeight":0,"tags":["herringbone","lines"],"path":""},{"title":"Herringbone - 3","slug":"herringbone-3","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["herringbone","lines"],"path":"~"},{"title":"Herringbone - 1","slug":"herringbone-1","mode":"stroke","colors":2,"maxStroke":8.5,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":20,"vHeight":0,"tags":["herringbone","lines"],"path":""},{"title":"Herringbone - 4","slug":"herringbone-4","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":20,"height":40,"vHeight":0,"tags":["herringbone","lines"],"path":"~"},{"title":"Herringbone - 5","slug":"herringbone-5","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":40,"vHeight":0,"tags":["herringbone","lines"],"path":"~"},{"title":"Herringbone - 6","slug":"herringbone-6","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["herringbone","lines"],"path":"~"},{"title":"Herringbone - 7","slug":"herringbone-7","mode":"stroke","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["herringbone","lines"],"path":""},{"title":"Herringbone - 8","slug":"herringbone-8","mode":"stroke","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["herringbone","lines"],"path":""},{"title":"Flower - 1","slug":"flower-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":20,"height":20,"vHeight":0,"tags":["flower","floral"],"path":"~"},{"title":"Flower - 2","slug":"flower-2","mode":"stroke","colors":3,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":20,"height":20,"vHeight":0,"tags":["flower","floral"],"path":"~"},{"title":"Flower - 3","slug":"flower-3","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[20,20],"width":50,"height":50,"vHeight":0,"tags":["flower","floral"],"path":""},{"title":"Flower - 4","slug":"flower-4","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["flower","floral"],"path":""},{"title":"Flower - 5","slug":"flower-5","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["flower","floral"],"path":"~~~"},{"title":"Flower - 6","slug":"flower-6","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":30,"height":40,"vHeight":0,"tags":["flower","floral"],"path":""},{"title":"Flower - 7","slug":"flower-7","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["flower","floral"],"path":"~~"},{"title":"Plus - 1","slug":"plus-1","mode":"stroke-join","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[10,10],"width":20,"height":20,"vHeight":0,"tags":["plus","cross"],"path":""},{"title":"Plus - 2","slug":"plus-2","mode":"stroke-join","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[6,6],"width":20,"height":20,"vHeight":0,"tags":["plus","cross"],"path":""},{"title":"Plus - 4","slug":"plus-4","mode":"stroke-join","colors":3,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":32,"height":32,"vHeight":0,"tags":["plus","cross"],"path":"~"},{"title":"Circles - 1","slug":"circles-1","mode":"stroke","colors":3,"maxStroke":15,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["circles"],"path":"~"},{"title":"Plus - 3","slug":"plus-3","mode":"stroke-join","colors":3,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":32,"height":32,"vHeight":0,"tags":["plus","cross"],"path":"~"},{"title":"Circles - 2","slug":"circles-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["circles"],"path":"~"},{"title":"Circles - 3","slug":"circles-3","mode":"stroke","colors":2,"maxStroke":15,"maxScale":16,"maxSpacing":[20,20],"width":20,"height":20,"vHeight":0,"tags":["circles"],"path":""},{"title":"Circles - 4","slug":"circles-4","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[20,20],"width":40,"height":40,"vHeight":0,"tags":["circles"],"path":""},{"title":"Circles - 5","slug":"circles-5","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":25,"vHeight":0,"tags":["circles"],"path":"~"},{"title":"Circles - 7","slug":"circles-7","mode":"stroke","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":60,"height":60,"vHeight":0,"tags":["circles"],"path":""},{"title":"Circles - 6","slug":"circles-6","mode":"stroke","colors":3,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":25,"vHeight":0,"tags":["circles"],"path":"~"},{"title":"Concentric Circles - 1","slug":"concentric-circles-1","mode":"stroke-join","colors":3,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":48,"height":48,"vHeight":0,"tags":["concentric circles"],"path":"~"},{"title":"Concentric Circles - 2","slug":"concentric-circles-2","mode":"stroke-join","colors":3,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":36,"height":36,"vHeight":0,"tags":["concentric circles"],"path":"~"},{"title":"Adjointed Diamonds","slug":"adjointed-diamonds","mode":"stroke","colors":3,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["adjointed diamonds"],"path":"~"},{"title":"Concentric Circles - 3","slug":"concentric-circles-3","mode":"stroke-join","colors":3,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":46.5,"height":46.5,"vHeight":0,"tags":["concentric circles"],"path":"~"},{"title":"Adjointed Circles","slug":"adjointed-circles","mode":"stroke","colors":3,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["adjointed circles"],"path":"~"},{"title":"Diamonds - 2","slug":"diamonds-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":100,"vHeight":0,"tags":["diamonds","rhombus"],"path":"~"},{"title":"Diamonds - 3","slug":"diamonds-3","mode":"stroke-join","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[10,0],"width":32,"height":32,"vHeight":0,"tags":["diamonds","rhombus"],"path":""},{"title":"Hexagon - 1","slug":"hexagon-1","mode":"stroke","colors":2,"maxStroke":10,"maxScale":16,"maxSpacing":[0,0],"width":29,"height":50.115,"vHeight":0,"tags":["hexagon"],"path":""},{"title":"Hexagon - 2","slug":"hexagon-2","mode":"stroke-join","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[10,10],"width":29,"height":50.115,"vHeight":0,"tags":["hexagon"],"path":""},{"title":"Hexagon - 3","slug":"hexagon-3","mode":"stroke-join","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[10,10],"width":29,"height":50.115,"vHeight":0,"tags":["hexagon"],"path":""},{"title":"Hexagon - 4","slug":"hexagon-4","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":58,"height":66.981,"vHeight":0,"tags":["hexagon"],"path":""},{"title":"Hexagon - 5","slug":"hexagon-5","mode":"stroke-join","colors":2,"maxStroke":8,"maxScale":10,"maxSpacing":[0,0],"width":40,"height":59.428,"vHeight":0,"tags":["hexagon"],"path":""},{"title":"Hexagon - 6","slug":"hexagon-6","mode":"stroke-join","colors":2,"maxStroke":5.5,"maxScale":16,"maxSpacing":[0,0],"width":58,"height":100.23,"vHeight":0,"tags":["hexagon","triangles"],"path":""},{"title":"Diamonds - 1","slug":"diamonds-1","mode":"stroke","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["diamonds","rhombus"],"path":""},{"title":"Hexagon - 7","slug":"hexagon-7","mode":"stroke-join","colors":2,"maxStroke":5.5,"maxScale":16,"maxSpacing":[0,0],"width":58,"height":100.23,"vHeight":0,"tags":["hexagon","triangles"],"path":""},{"title":"Hexagon - 8","slug":"hexagon-8","mode":"stroke","colors":2,"maxStroke":6.5,"maxScale":16,"maxSpacing":[0,0],"width":50.41,"height":87,"vHeight":0,"tags":["hexagon","triangles"],"path":""},{"title":"Overlapping Hexagons","slug":"overlapping-hexagons","mode":"stroke","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[0,0],"width":68,"height":61.151,"vHeight":0,"tags":["overlapping hexagons"],"path":""},{"title":"Squares & Squares - 2","slug":"squares-and-squares-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[10,10],"width":80,"height":80,"vHeight":0,"tags":["squares & squares"],"path":"~"},{"title":"Squares & Squares - 1","slug":"squares-and-squares-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[10,10],"width":40,"height":40,"vHeight":0,"tags":["squares & squares"],"path":"~"},{"title":"Squares & Diamonds","slug":"squares-and-diamonds","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[10,10],"width":40,"height":40,"vHeight":0,"tags":["squares & diamonds"],"path":"~"},{"title":"Squares & Circles - 2","slug":"squares-and-circles-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["squares & circles"],"path":"~"},{"title":"Squares & Plus - 1","slug":"squares-and-plus-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[10,10],"width":40,"height":40,"vHeight":0,"tags":["squares & plus","cross"],"path":"~"},{"title":"Squares & Plus - 2","slug":"squares-and-plus-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":60,"height":60,"vHeight":0,"tags":["squares & plus","cross"],"path":"~"},{"title":"Squares & Stars - 1","slug":"squares-and-stars-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[10,10],"width":40,"height":40,"vHeight":0,"tags":["squares & stars"],"path":"~"},{"title":"Squares & Stars - 2","slug":"squares-and-stars-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[10,10],"width":40,"height":40,"vHeight":0,"tags":["squares & stars"],"path":"~"},{"title":"Stars & Lines - 1","slug":"stars-and-lines-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,10],"width":20,"height":40,"vHeight":0,"tags":["stars & lines","stripes"],"path":"~"},{"title":"Stars & Lines - 2","slug":"stars-and-lines-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,5],"width":20,"height":35,"vHeight":0,"tags":["stars & lines","stripes"],"path":"~"},{"title":"Triangles - 1","slug":"triangles-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[40,40],"width":40,"height":40,"vHeight":0,"tags":["triangles"],"path":"~"},{"title":"Triangles - 2","slug":"triangles-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[20,20],"width":40,"height":40,"vHeight":0,"tags":["triangles"],"path":"~"},{"title":"Triangles - 3","slug":"triangles-3","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["triangles"],"path":"~"},{"title":"Squares & Circles - 1","slug":"squares-and-circles-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[10,10],"width":40,"height":40,"vHeight":0,"tags":["squares & circles"],"path":"~"},{"title":"Triangles - 5","slug":"triangles-5","mode":"stroke-join","colors":3,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["triangles"],"path":"~"},{"title":"Triangles - 7","slug":"triangles-7","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":30,"height":30,"vHeight":0,"tags":["triangles"],"path":"~"},{"title":"Triangles - 6","slug":"triangles-6","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["triangles"],"path":"~"},{"title":"Triangles - 8","slug":"triangles-8","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":20,"vHeight":0,"tags":["triangles"],"path":"~"},{"title":"Triangles - 9","slug":"triangles-9","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":80,"vHeight":0,"tags":["triangles"],"path":"~"},{"title":"Triangles - 10","slug":"triangles-10","mode":"stroke-join","colors":2,"maxStroke":4.5,"maxScale":16,"maxSpacing":[0,0],"width":23.07,"height":40,"vHeight":0,"tags":["triangles"],"path":""},{"title":"Inverted Triangles","slug":"inverted-triangles","mode":"stroke","colors":2,"maxStroke":5.5,"maxScale":10,"maxSpacing":[0,0],"width":16.5,"height":32.877,"vHeight":0,"tags":["inverted triangles"],"path":""},{"title":"Checkerboard","slug":"checkerboard","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":20,"height":20,"vHeight":0,"tags":["checkerboard","lines","squares"],"path":"~"},{"title":"Triangles - 4","slug":"triangles-4","mode":"stroke","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[0,0],"width":20,"height":40,"vHeight":0,"tags":["triangles"],"path":""},{"title":"Japanese Pattern - 1","slug":"japanese-pattern-1","mode":"stroke","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[0,0],"width":69.283,"height":40,"vHeight":0,"tags":["japanese pattern","country","hexagon"],"path":""},{"title":"Japanese Pattern - 2","slug":"japanese-pattern-2","mode":"stroke","colors":2,"maxStroke":6.5,"maxScale":10,"maxSpacing":[0,0],"width":40,"height":69.282,"vHeight":0,"tags":["japanese pattern","country","hexagon"],"path":""},{"title":"Japanese Pattern - 3","slug":"japanese-pattern-3","mode":"stroke","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[10,10],"width":69.141,"height":40,"vHeight":0,"tags":["japanese pattern","country","hexagon"],"path":""},{"title":"Japanese Pattern - 4","slug":"japanese-pattern-4","mode":"stroke","colors":2,"maxStroke":6.5,"maxScale":10,"maxSpacing":[0,0],"width":69.282,"height":40,"vHeight":0,"tags":["japanese pattern","country","hexagon"],"path":""},{"title":"Japanese Pattern - 6","slug":"japanese-pattern-6","mode":"stroke-join","colors":2,"maxStroke":4,"maxScale":16,"maxSpacing":[0,0],"width":50.222,"height":29.003,"vHeight":0,"tags":["japanese pattern","country","hexagon"],"path":""},{"title":"Eyes - 1","slug":"eyes-1","mode":"stroke","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[11.5,0],"width":40,"height":40,"vHeight":0,"tags":["eyes","curves"],"path":""},{"title":"Japanese Pattern - 5","slug":"japanese-pattern-5","mode":"fill","colors":2,"maxStroke":1,"maxScale":10,"maxSpacing":[0,30],"width":34.129,"height":45,"vHeight":0,"tags":["japanese pattern","country","waves"],"path":""},{"title":"Eyes - 2","slug":"eyes-2","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[11,0],"width":40,"height":40,"vHeight":0,"tags":["eyes","curves"],"path":""},{"title":"Jigsaw","slug":"jigsaw","mode":"stroke","colors":2,"maxStroke":7,"maxScale":10,"maxSpacing":[0,0],"width":160,"height":160,"vHeight":0,"tags":["jigsaw","puzzle"],"path":""},{"title":"Eyes - 4","slug":"eyes-4","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,40],"width":40,"height":40,"vHeight":0,"tags":["eyes","curves"],"path":""},{"title":"Eyes - 3","slug":"eyes-3","mode":"stroke","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[0,40],"width":40,"height":40,"vHeight":0,"tags":["eyes","curves"],"path":""},{"title":"Octagons - 2","slug":"octagons-2","mode":"stroke-join","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["octagons"],"path":""},{"title":"Octagons - 1","slug":"octagons-1","mode":"stroke-join","colors":3,"maxStroke":9.5,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["octagons"],"path":"~"},{"title":"Railroad","slug":"railroad","mode":"stroke-join","colors":2,"maxStroke":9.5,"maxScale":16,"maxSpacing":[10,0],"width":30,"height":30,"vHeight":0,"tags":["railroad","lines"],"path":""},{"title":"Lines - 2","slug":"lines-2","mode":"stroke-join","colors":3,"maxStroke":15,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["lines"],"path":"~"},{"title":"Scales - 1","slug":"scales-1","mode":"stroke","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":20,"height":20,"vHeight":0,"tags":["scales","clouds","fish"],"path":""},{"title":"Lines - 1","slug":"lines-1","mode":"stroke-join","colors":3,"maxStroke":15,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["lines"],"path":"~"},{"title":"Scales - 2","slug":"scales-2","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":20,"height":20,"vHeight":0,"tags":["scales","clouds","fish"],"path":""},{"title":"Scales - 3","slug":"scales-3","mode":"stroke","colors":2,"maxStroke":2,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":13,"vHeight":0,"tags":["scales","clouds","fish"],"path":""},{"title":"Scales - 4","slug":"scales-4","mode":"stroke","colors":2,"maxStroke":2,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":13,"vHeight":0,"tags":["scales","clouds","fish"],"path":""},{"title":"Leaves - 2","slug":"leaves-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":20,"height":20,"vHeight":0,"tags":["leaves"],"path":"~"},{"title":"Leaves - 1","slug":"leaves-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["leaves"],"path":"~"},{"title":"Leaves - 3","slug":"leaves-3","mode":"stroke-join","colors":3,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":20,"height":20,"vHeight":0,"tags":["leaves"],"path":"~"},{"title":"Leaves - 4","slug":"leaves-4","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["leaves"],"path":""},{"title":"Leaves - 6","slug":"leaves-6","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":38.907,"height":70,"vHeight":0,"tags":["leaves"],"path":"~"},{"title":"Leaves - 5","slug":"leaves-5","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":44.921,"height":50,"vHeight":0,"tags":["leaves"],"path":"~"},{"title":"Leaves - 7","slug":"leaves-7","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["leaves"],"path":"~~"},{"title":"Leaves - 8","slug":"leaves-8","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":68.436,"vHeight":0,"tags":["leaves"],"path":"~"},{"title":"Zebra","slug":"zebra","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["zebra","animals"],"path":""},{"title":"Memphis Pattern - 2","slug":"memphis-2","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["memphis pattern"],"path":"~~"},{"title":"Pipes","slug":"pipes","mode":"stroke-join","colors":2,"maxStroke":5,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":25,"vHeight":0,"tags":["pipes"],"path":""},{"title":"Memphis Pattern - 1","slug":"memphis-1","mode":"stroke-join","colors":5,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":70,"height":70,"vHeight":0,"tags":["memphis pattern"],"path":"~~~"},{"title":"Memphis Pattern - 3","slug":"memphis-3","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["memphis pattern"],"path":"~~"},{"title":"Memphis Pattern - 4","slug":"memphis-4","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["memphis pattern"],"path":"~~~"},{"title":"Memphis Pattern - 6","slug":"memphis-6","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["memphis pattern"],"path":"~~~"},{"title":"Greek Key","slug":"greek-key","mode":"stroke-join","colors":2,"maxStroke":5,"maxScale":16,"maxSpacing":[20,20],"width":62,"height":68,"vHeight":0,"tags":["greek key","country"],"path":""},{"title":"Memphis Pattern - 5","slug":"memphis-5","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":45,"height":110,"vHeight":0,"tags":["memphis pattern"],"path":"~~~"},{"title":"Chinese Pattern - 1","slug":"chinese-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":10,"maxSpacing":[0,0],"width":75,"height":75,"vHeight":0,"tags":["chinese pattern","country"],"path":"~"},{"title":"Chinese Pattern - 2","slug":"chinese-2","mode":"fill","colors":2,"maxStroke":1,"maxScale":10,"maxSpacing":[0,0],"width":75,"height":75,"vHeight":0,"tags":["chinese pattern","country"],"path":""},{"title":"Chinese Pattern - 3","slug":"chinese-3","mode":"fill","colors":3,"maxStroke":1,"maxScale":10,"maxSpacing":[0,0],"width":75,"height":75,"vHeight":0,"tags":["chinese pattern","country"],"path":"~"},{"title":"Chinese Pattern - 9","slug":"chinese-9","mode":"fill","colors":3,"maxStroke":1,"maxScale":10,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["chinese pattern","country"],"path":"~"},{"title":"Chinese Pattern - 4","slug":"chinese-4","mode":"stroke-join","colors":2,"maxStroke":9.5,"maxScale":10,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["chinese pattern","country"],"path":""},{"title":"Chinese Pattern - 5","slug":"chinese-5","mode":"stroke-join","colors":5,"maxStroke":7,"maxScale":10,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["chinese pattern","country"],"path":"~~~"},{"title":"Chinese Pattern - 7","slug":"chinese-7","mode":"stroke-join","colors":4,"maxStroke":5,"maxScale":10,"maxSpacing":[0,0],"width":48,"height":48,"vHeight":0,"tags":["chinese pattern","country"],"path":"~~"},{"title":"Chinese Pattern - 8","slug":"chinese-8","mode":"stroke-join","colors":3,"maxStroke":9.5,"maxScale":10,"maxSpacing":[0,0],"width":36,"height":36,"vHeight":0,"tags":["chinese pattern","country"],"path":"~"},{"title":"New Pattern - 1","slug":"new-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":48,"height":48,"vHeight":0,"tags":["new pattern"],"path":"~"},{"title":"New Pattern - 3","slug":"new-3","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"Chinese Pattern - 6","slug":"chinese-6","mode":"stroke-join","colors":2,"maxStroke":5,"maxScale":10,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["chinese pattern","country"],"path":""},{"title":"New Pattern - 4","slug":"new-4","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["new pattern"],"path":"~~~"},{"title":"New Pattern - 5","slug":"new-5","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"New Pattern - 2","slug":"new-2","mode":"stroke-join","colors":2,"maxStroke":8,"maxScale":10,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"New Pattern - 6","slug":"new-6","mode":"stroke-join","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":25,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"New Pattern - 8","slug":"new-8","mode":"stroke-join","colors":4,"maxStroke":3.5,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":25,"vHeight":0,"tags":["new pattern"],"path":"~~"},{"title":"New Pattern - 9","slug":"new-9","mode":"stroke-join","colors":4,"maxStroke":5,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":25,"vHeight":0,"tags":["new pattern"],"path":"~~"},{"title":"New Pattern - 10","slug":"new-10","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"New Pattern - 11","slug":"new-11","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"New Pattern - 14","slug":"new-14","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":25,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"New Pattern - 13","slug":"new-13","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"New Pattern - 7","slug":"new-7","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":25,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"New Pattern - 15","slug":"new-15","mode":"stroke","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":29,"height":33.487,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"New Pattern - 16","slug":"new-16","mode":"stroke-join","colors":2,"maxStroke":12,"maxScale":16,"maxSpacing":[0,0],"width":87,"height":50.232,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"Double Bubble - 1","slug":"double-bubble-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":60,"height":60,"vHeight":0,"tags":["double bubbles"],"path":"~"},{"title":"New Pattern - 17","slug":"new-17","mode":"stroke","colors":2,"maxStroke":8.5,"maxScale":16,"maxSpacing":[0,0],"width":20,"height":20,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"Double Bubble - 2","slug":"double-bubble-2","mode":"stroke","colors":3,"maxStroke":5,"maxScale":16,"maxSpacing":[0,0],"width":60,"height":60,"vHeight":0,"tags":["double bubbles"],"path":"~"},{"title":"Stars - 1","slug":"stars-1","mode":"stroke-join","colors":3,"maxStroke":8,"maxScale":10,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["stars"],"path":"~"},{"title":"Stars - 3","slug":"stars-3","mode":"fill","colors":3,"maxStroke":1,"maxScale":10,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["stars"],"path":"~"},{"title":"Stars - 2","slug":"stars-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":10,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["stars"],"path":"~"},{"title":"Stars - 4","slug":"stars-4","mode":"fill","colors":4,"maxStroke":1,"maxScale":10,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["stars"],"path":"~~"},{"title":"Stars - 5","slug":"stars-5","mode":"fill","colors":4,"maxStroke":1,"maxScale":20,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["stars"],"path":"~~"},{"title":"Stars - 6","slug":"stars-6","mode":"fill","colors":4,"maxStroke":1,"maxScale":20,"maxSpacing":[0,0],"width":100,"height":80,"vHeight":0,"tags":["stars"],"path":"~~"},{"title":"Semicircles - 1","slug":"semicircles-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["semicircles"],"path":"~"},{"title":"Songket Pattern - 1","slug":"songket-1","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":61.125,"height":63.75,"vHeight":0,"tags":["songket pattern","malaysia"],"path":"~~~"},{"title":"Christmas Tree - 1","slug":"christmas-tree-1","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":70,"vHeight":0,"tags":["christmas","tree","holidays"],"path":"~~~"},{"title":"Candy Cane - 1","slug":"candy-cane-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":30,"height":40,"vHeight":0,"tags":["christmas","candy","cane","holidays","santaclaus"],"path":"~"},{"title":"Christmas Bells - 1","slug":"christmas-bells-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["christmas","jingle","bells","holidays","santaclaus"],"path":"~"},{"title":"Christmas Pattern - 1","slug":"christmas-pattern-1","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":150,"height":150,"vHeight":0,"tags":["christmas","jingle","bells","holidays","tree","gift","leaves","santaclaus"],"path":""},{"title":"Christmas Pattern - 2","slug":"christmas-pattern-2","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":150,"height":150,"vHeight":0,"tags":["christmas","jingle","bells","holidays","tree","gift","leaves","santaclaus"],"path":"~~"},{"title":"New Pattern - 12","slug":"new-12","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["new pattern"],"path":""},{"title":"Snowflakes - 1","slug":"snowflakes-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":60,"height":60,"vHeight":0,"tags":["christmas","snowflakes","holidays","winter","santaclaus"],"path":"~"},{"title":"Christmas Pattern - 3","slug":"christmas-pattern-3","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["christmas","jingle","bells","holidays","tree","gift","leaves","santaclaus"],"path":"~~"},{"title":"Santa Claus","slug":"santa-claus","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[30,30],"width":36.92,"height":45,"vHeight":0,"tags":["christmas","holidays","winter","santaclaus"],"path":"~~~"},{"title":"Christmas Gift","slug":"christmas-gift","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":40,"vHeight":0,"tags":["christmas","jingle","bells","holidays","tree","gift","leaves","santaclaus"],"path":"~~"},{"title":"Cubes - 1","slug":"cubes-1","mode":"stroke","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":60,"height":60,"vHeight":0,"tags":["cubes","squares","lines"],"path":""},{"title":"Christmas Tree Balls","slug":"christmas-tree-balls","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":90,"height":90,"vHeight":0,"tags":["christmas","tree","holidays","santaclaus"],"path":"~"},{"title":"Cubes - 3","slug":"cubes-3","mode":"stroke","colors":2,"maxStroke":9,"maxScale":16,"maxSpacing":[0,0],"width":60,"height":60,"vHeight":0,"tags":["cubes","squares","lines"],"path":""},{"title":"Cubes - 2","slug":"cubes-2","mode":"stroke","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":60,"height":60,"vHeight":0,"tags":["cubes","squares","lines"],"path":""},{"title":"Stained Glass","slug":"stained-glass","mode":"stroke","colors":2,"maxStroke":7,"maxScale":16,"maxSpacing":[0,0],"width":30,"height":30,"vHeight":0,"tags":["cubes","squares","lines"],"path":""},{"title":"Tiles - 1","slug":"tiles-1","mode":"stroke","colors":2,"maxStroke":12,"maxScale":16,"maxSpacing":[0,0],"width":45,"height":51.96,"vHeight":0,"tags":["tiles","circles"],"path":""},{"title":"Mexican Pattern - 1","slug":"mexican-pattern-1","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["mexican pattern"],"path":"~~~"},{"title":"Mexican Pattern - 2","slug":"mexican-pattern-2","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["mexican pattern"],"path":"~~"},{"title":"Rectangles & Squares - 1","slug":"rectangles-and-squares-1","mode":"stroke","colors":2,"maxStroke":9,"maxScale":16,"maxSpacing":[0,0],"width":60,"height":60,"vHeight":0,"tags":["rectangles & squares"],"path":""},{"title":"Ethnic Pattern - 1","slug":"ethnic-pattern-1","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["ethnic pattern"],"path":"~~"},{"title":"Plaid Pattern - 1","slug":"plaid-pattern-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":30,"height":30,"vHeight":0,"tags":["plaid pattern","tartan","buffalo"],"path":"~"},{"title":"Ethnic Pattern - 2","slug":"ethnic-pattern-2","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["ethnic pattern"],"path":"~~"},{"title":"Ethnic Pattern - 3","slug":"ethnic-pattern-3","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["ethnic pattern"],"path":"~~"},{"title":"Plaid Pattern - 3","slug":"plaid-pattern-3","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["plaid pattern","tartan","buffalo"],"path":"~"},{"title":"Plaid Pattern - 4","slug":"plaid-pattern-4","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["plaid pattern","tartan","buffalo"],"path":"~"},{"title":"Doodle Pattern - 1","slug":"doodle-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["doodle pattern"],"path":"~"},{"title":"Doodle Pattern - 2","slug":"doodle-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["doodle pattern"],"path":"~"},{"title":"Batik Pattern - 2","slug":"batik-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["batik pattern","floral","flower"],"path":"~"},{"title":"Plaid Pattern - 2","slug":"plaid-pattern-2","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["plaid pattern","tartan","buffalo"],"path":""},{"title":"Batik Pattern - 4","slug":"batik-4","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["batik pattern","floral","flower","diamonds"],"path":"~~"},{"title":"Batik Pattern - 5","slug":"batik-5","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["batik pattern","floral","flower"],"path":"~"},{"title":"Batik Pattern - 6","slug":"batik-6","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["batik pattern","floral","flower"],"path":"~"},{"title":"Batik Pattern - 3","slug":"batik-3","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["batik pattern","diamonds"],"path":"~"},{"title":"African Pattern - 1","slug":"african-1","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":96,"height":144,"vHeight":0,"tags":["african pattern"],"path":""},{"title":"African Pattern - 2","slug":"african-2","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":48,"height":96,"vHeight":0,"tags":["african pattern"],"path":""},{"title":"Batik Pattern - 1","slug":"batik-1","mode":"stroke-join","colors":3,"maxStroke":6,"maxScale":16,"maxSpacing":[0,0],"width":80,"height":80,"vHeight":0,"tags":["batik pattern","diamonds"],"path":"~"},{"title":"African Pattern - 3","slug":"african-3","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":48,"height":96,"vHeight":0,"tags":["african pattern"],"path":""},{"title":"African Pattern - 4","slug":"african-4","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":48,"height":96,"vHeight":0,"tags":["african pattern"],"path":"~"},{"title":"Hexagon - 9","slug":"hexagon-9","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":73.612,"height":85,"vHeight":0,"tags":["hexagon","triangles"],"path":"~~"},{"title":"Triangles - 11","slug":"triangles-11","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":82,"vHeight":0,"tags":["triangles"],"path":"~~"},{"title":"Tiles - 2","slug":"tiles-2","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["tiles"],"path":"~"},{"title":"Tiles - 3","slug":"tiles-3","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["tiles","squares"],"path":"~"},{"title":"Tribal Pattern - 1","slug":"tribal-1","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":120,"height":120.1,"vHeight":0,"tags":["tribal pattern"],"path":""},{"title":"Waves - 8","slug":"waves-8","mode":"fill","colors":2,"maxStroke":1,"maxScale":10,"maxSpacing":[0,0],"width":63,"height":63.6,"vHeight":0,"tags":["waves","curves"],"path":""},{"title":"Leaves - 9","slug":"leaves-9","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["leaves"],"path":"~~~"},{"title":"Tribal Pattern - 2","slug":"tribal-2","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":120,"height":120.1,"vHeight":0,"tags":["tribal pattern"],"path":""},{"title":"Blobs","slug":"blobs","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["blobs"],"path":"~~~"},{"title":"African Pattern - 5","slug":"african-5","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":60,"height":120,"vHeight":0,"tags":["african pattern"],"path":"~~"},{"title":"Squares & Triangles - 1","slug":"squares-and-triangles-1","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["squares & squares"],"path":""},{"title":"Triangles - 12","slug":"triangles-12","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":200,"height":100,"vHeight":0,"tags":["triangles"],"path":"~~"},{"title":"Circles - 8","slug":"circles-8","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":150,"height":150,"vHeight":0,"tags":["circles"],"path":""},{"title":"Tribal Pattern - 3","slug":"tribal-3","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":98.25,"height":98.25,"vHeight":0,"tags":["tribal pattern","greek key","country"],"path":"~"},{"title":"Triangles - 13","slug":"triangles-13","mode":"fill","colors":2,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":75,"height":150,"vHeight":0,"tags":["triangles"],"path":""},{"title":"Triangles - 14","slug":"triangles-14","mode":"fill","colors":3,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":65.5,"height":55.2,"vHeight":0,"tags":["triangles"],"path":"~"},{"title":"Triangles - 15","slug":"triangles-15","mode":"fill","colors":2,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":122.75,"height":125.8,"vHeight":0,"tags":["triangles"],"path":""},{"title":"Triangles - 16","slug":"triangles-16","mode":"fill","colors":4,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":90.6,"height":90.6,"vHeight":0,"tags":["triangles"],"path":"~~"},{"title":"Concentric Circles - 4","slug":"concentric-circles-4","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":120,"height":69.336,"vHeight":0,"tags":["concentric circles"],"path":"~"},{"title":"Concentric Circles - 5","slug":"concentric-circles-5","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["concentric circles"],"path":"~"},{"title":"Circles - 9","slug":"circles-9","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":65,"height":65,"vHeight":0,"tags":["circles"],"path":"~~~"},{"title":"Concentric Circles - 6","slug":"concentric-circles-6","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":90,"height":90,"vHeight":0,"tags":["concentric circles"],"path":"~~~"},{"title":"Stripes - 1","slug":"stripes-1","mode":"fill","colors":5,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":150,"height":150,"vHeight":0,"tags":["straight lines","stripes","lines"],"path":"~~~"},{"title":"Stripes - 2","slug":"stripes-2","mode":"fill","colors":5,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":150,"height":150,"vHeight":0,"tags":["straight lines","stripes","lines"],"path":"~~~"},{"title":"Chevron - 4","slug":"chevron-4","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":50,"vHeight":0,"tags":["chevron","lines"],"path":"~"},{"title":"Chevron - 5","slug":"chevron-5","mode":"fill","colors":4,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":65.5,"height":55.2,"vHeight":0,"tags":["chevron","lines"],"path":"~~"},{"title":"Terrazzo - 1","slug":"terrazzo-1","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":200,"height":200,"vHeight":0,"tags":["terrazzo","mosaic","tiles"],"path":"~~~"},{"title":"Geometric Pattern - 1","slug":"geometric-1","mode":"fill","colors":4,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":97.5,"height":49.15,"vHeight":0,"tags":["geometric","triangles","hexagon","diamond","rhombus"],"path":"~~"},{"title":"Halloween Pattern - 1","slug":"halloween-1","mode":"fill","colors":3,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":150,"height":150,"vHeight":0,"tags":["halloween","bats"],"path":"~"},{"title":"Halloween Pattern - 2","slug":"halloween-2","mode":"fill","colors":4,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":150,"height":150,"vHeight":0,"tags":["halloween","bats","skull"],"path":"~~"},{"title":"Halloween Pattern - 3","slug":"halloween-3","mode":"fill","colors":5,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["halloween","pumpkin"],"path":"~~~"},{"title":"Halloween Pattern - 4","slug":"halloween-4","mode":"fill","colors":5,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":150,"height":150,"vHeight":0,"tags":["halloween","candy","trick","treat"],"path":"~~~"},{"title":"Halloween Pattern - 5","slug":"halloween-5","mode":"fill","colors":5,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":75,"height":100,"vHeight":0,"tags":["halloween","pumpkin"],"path":"~~~"},{"title":"Halloween Pattern - 6","slug":"halloween-6","mode":"fill","colors":3,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":60,"height":80,"vHeight":0,"tags":["halloween","pumpkin"],"path":"~"},{"title":"Hexagon - 10","slug":"hexagon-10","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":69.3,"height":46.8,"vHeight":0,"tags":["hexagon","triangles"],"path":""},{"title":"Hexagon - 11","slug":"hexagon-11","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":94.4,"height":51.6,"vHeight":0,"tags":["hexagon","triangles"],"path":"~~"},{"title":"Squares - 1","slug":"squares-1","mode":"fill","colors":5,"maxStroke":1,"maxScale":12,"maxSpacing":[0,0],"width":150,"height":150,"vHeight":0,"tags":["squares"],"path":"~~~"},{"title":"Sprinkles - 1","slug":"sprinkles-1","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":75,"height":75,"vHeight":0,"tags":["sprinkles"],"path":""},{"title":"Squares - 2","slug":"squares-2","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":65,"height":65,"vHeight":0,"tags":["squares"],"path":"~~~"},{"title":"Geometric Pattern - 2","slug":"geometric-2","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":180,"height":45,"vHeight":0,"tags":["geometric"],"path":""},{"title":"Geometric Pattern - 4","slug":"geometric-4","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["geometric"],"path":""},{"title":"Cubes - 4","slug":"cubes-4","mode":"fill","colors":3,"maxStroke":9,"maxScale":16,"maxSpacing":[0,0],"width":30,"height":60,"vHeight":0,"tags":["cubes","squares","lines"],"path":"~"},{"title":"Circles - 10","slug":"circles-10","mode":"fill","colors":2,"maxStroke":10,"maxScale":16,"maxSpacing":[0,0],"width":25,"height":50,"vHeight":0,"tags":["circles"],"path":""},{"title":"Geometric Pattern - 3","slug":"geometric-3","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":90,"height":45,"vHeight":0,"tags":["geometric"],"path":""},{"title":"Circles - 12","slug":"circles-12","mode":"fill","colors":3,"maxStroke":10,"maxScale":16,"maxSpacing":[0,0],"width":75,"height":75,"vHeight":0,"tags":["circles"],"path":"~"},{"title":"Triangles - 17","slug":"triangles-17","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":150,"height":130,"vHeight":0,"tags":["triangles"],"path":"~~"},{"title":"Geometric Pattern - 5","slug":"geometric-5","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":116.75,"height":120,"vHeight":0,"tags":["geometric"],"path":""},{"title":"Triangles - 18","slug":"triangles-18","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":40,"height":40,"vHeight":0,"tags":["triangles"],"path":""},{"title":"Circles - 11","slug":"circles-11","mode":"fill","colors":3,"maxStroke":10,"maxScale":16,"maxSpacing":[0,0],"width":24.96,"height":71.38,"vHeight":0,"tags":["circles"],"path":"~"},{"title":"Geometric Pattern - 6","slug":"geometric-6","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":75,"height":75,"vHeight":0,"tags":["geometric"],"path":""},{"title":"Squiggle","slug":"squiggle-1","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["squiggle"],"path":""},{"title":"Moroccan Pattern - 1","slug":"moroccan-1","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":100,"height":100,"vHeight":0,"tags":["moroccan"],"path":"~~"},{"title":"Moroccan Pattern - 2","slug":"moroccan-2","mode":"fill","colors":5,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":50,"height":50,"vHeight":0,"tags":["moroccan"],"path":"~~~"},{"title":"Japanese Pattern - 7","slug":"japanese-pattern-7","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":72.69,"height":42,"vHeight":0,"tags":["japanese pattern","country","bamboo","interlocked"],"path":"~~"},{"title":"Christmas Pattern - 4","slug":"christmas-pattern-4","mode":"fill","colors":4,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":19.46,"height":175.14,"vHeight":0,"tags":["christmas","jingle","bells","holidays","tree","gift","leaves","santaclaus"],"path":"~~"},{"title":"Christmas Pattern - 5","slug":"christmas-pattern-5","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":53.78,"height":119.06,"vHeight":0,"tags":["christmas","jingle","bells","holidays","tree","gift","leaves","santaclaus"],"path":"~"},{"title":"Plaid Pattern - 5","slug":"plaid-pattern-5","mode":"fill","colors":2,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":39.975,"height":50,"vHeight":0,"tags":["plaid pattern","tartan","buffalo","diamonds"],"path":""},{"title":"Waves - 9","slug":"waves-9","mode":"fill","colors":3,"maxStroke":1,"maxScale":16,"maxSpacing":[0,0],"width":30,"height":52,"vHeight":0,"tags":["waves","curves"],"path":"~"}] \ No newline at end of file diff --git a/resource/color/shading.json.gz b/resource/color/shading.json.gz new file mode 100644 index 00000000..6b64463b Binary files /dev/null and b/resource/color/shading.json.gz differ diff --git a/robots.txt b/robots.txt new file mode 100644 index 00000000..eb053628 --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: diff --git a/sw.js b/sw.js new file mode 100644 index 00000000..59ed5d0b --- /dev/null +++ b/sw.js @@ -0,0 +1 @@ +if(!self.define){let e,s={};const i=(i,a)=>(i=new URL(i+".js",a).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(a,c)=>{const n=e||("document"in self?document.currentScript.src:"")||location.href;if(s[n])return;let r={};const d=e=>i(e,n),f={module:{uri:n},exports:r,require:d};s[n]=Promise.all(a.map((e=>f[e]||d(e)))).then((e=>(c(...e),r)))}}define(["./workbox-55ed8c96"],(function(e){"use strict";e.setCacheNameDetails({prefix:"yft-design-cache"}),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"assets/401-BIkHzDoS.css",revision:"f998d7a33315beebe022d41299b588b0"},{url:"assets/401-CbnovuuC.js",revision:"5c05b1c5d397665327ea98a0aab94866"},{url:"assets/404-B6H4Y_Ye.js",revision:"edc98debaccab44ed9de7b5dfe6b6ed2"},{url:"assets/404-DQrWRSfw.css",revision:"28974868014ebcce41b3949a6fd0010c"},{url:"assets/clipper-lib-Cdu7DM5D.js",revision:"2e58a0a801a6718e5ee80744b0831328"},{url:"assets/element-plus-MHsvnF2v.js",revision:"de77a26fc8fddee269ecfebb7d60e952"},{url:"assets/fabric-Dlz3ta-n.js",revision:"390811954203cfb680f6ff6a1f581f95"},{url:"assets/github-BS2ImFWR.js",revision:"c801ccbecb212bf61619872b39ba5643"},{url:"assets/index-3SQYt329.css",revision:"376bd90824336bd041707ce02b7529db"},{url:"assets/index-BtvUkC1a.js",revision:"604803baba2e3795ef5dbfc7690ee617"},{url:"assets/index-CIyjKADP.js",revision:"02b68a6ca9fef0c08eeb93dfeb5f51f4"},{url:"assets/index-CS_RRQug.css",revision:"b69380bb7d3a9d4320e717d241b6303d"},{url:"assets/index-D5HAQ7mM.js",revision:"9869a9322ad38f25feb5cc078e042de5"},{url:"assets/index-DHLu7O71.css",revision:"db43eb5c8f6a99b5967138d9d282a294"},{url:"assets/index-eD7CRpP4.js",revision:"f48f32aeb53344cf4f8e6b3ce0926bef"},{url:"assets/lodash-es-DIelbCxD.js",revision:"8e11f86e452b95080759df1a2a7afb00"},{url:"assets/opentype.js-QlGfLlyt.js",revision:"9514a5efa3a4e9d3fb1d7b8ccb95acc6"},{url:"assets/pixi-_8LqhXwz.js",revision:"f8ca8c6abe322f6ad71d9f1c2fc32c60"},{url:"assets/vue-CfXu-DEr.js",revision:"83e0d0214924c3b2347d94f811a97ba1"},{url:"assets/workbox-window.prod.es5-CIVDLvzL.js",revision:"d9134a8bccb546c09144189a66f619b6"},{url:"index.html",revision:"a05e189f96a458b701d3b69120ba01d3"},{url:"img/icons/yft-design-192x192.png",revision:"9e4ff4f2c2ad88ba102bdc924f71a993"},{url:"img/icons/yft-design-512x512.png",revision:"59ad554042e1d1e3e2e5f8b25788f3de"},{url:"manifest.webmanifest",revision:"78ee5d33f4217faa1ba27e4cc2d45b1f"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html"))),e.registerRoute(/.*/i,new e.NetworkFirst({cacheName:"interface-cache",plugins:[]}),"GET"),e.registerRoute(/(.*?)\.(js|css|ts)/,new e.CacheFirst({cacheName:"js-css-cache",plugins:[]}),"GET"),e.registerRoute(/(.*?)\.(png|jpe?g|svg|gif|bmp|psd|tiff|tga|eps)/,new e.CacheFirst({cacheName:"image-cache",plugins:[]}),"GET")})); diff --git a/workbox-55ed8c96.js b/workbox-55ed8c96.js new file mode 100644 index 00000000..cde99222 --- /dev/null +++ b/workbox-55ed8c96.js @@ -0,0 +1 @@ +define(["exports"],(function(t){"use strict";try{self["workbox:core:6.5.4"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:6.5.4"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class r{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class i extends r{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=i&&i.handler;const a=t.method;if(!o&&this.i.has(a)&&(o=this.i.get(a)),!o)return;let c;try{c=o.handle({url:s,request:t,event:e,params:r})}catch(t){c=Promise.reject(t)}const h=i&&i.catchHandler;return c instanceof Promise&&(this.o||h)&&(c=c.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:r})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),c}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const r=this.t.get(s.method)||[];for(const i of r){let r;const o=i.match({url:t,sameOrigin:e,request:s,event:n});if(o)return r=o,(Array.isArray(r)&&0===r.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(r=void 0),{route:i,params:r}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let a;const c=()=>(a||(a=new o,a.addFetchListener(),a.addCacheListener()),a);function h(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new r((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)o=new i(t,e,n);else if("function"==typeof t)o=new r(t,e,n);else{if(!(t instanceof r))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}return c().registerRoute(o),o}try{self["workbox:strategies:6.5.4"]&&_()}catch(t){}const u={cacheWillUpdate:async({response:t})=>200===t.status||0===t.status?t:null},l={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},f=t=>[l.prefix,t,l.suffix].filter((t=>t&&t.length>0)).join("-"),w=t=>{(t=>{for(const e of Object.keys(l))t(e)})((e=>{"string"==typeof t[e]&&(l[e]=t[e])}))},d=t=>t||f(l.precache),p=t=>t||f(l.runtime);function y(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class g{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const m=new Set;function R(t){return"string"==typeof t?new Request(t):t}class v{constructor(t,e){this.h={},Object.assign(this,e),this.event=e.event,this.u=t,this.l=new g,this.p=[],this.m=[...t.plugins],this.R=new Map;for(const t of this.m)this.R.set(t,{});this.event.waitUntil(this.l.promise)}async fetch(t){const{event:e}=this;let n=R(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const r=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const i=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.u.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:i,response:t});return t}catch(t){throw r&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:r.clone(),request:i.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=R(t);let s;const{cacheName:n,matchOptions:r}=this.u,i=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},r),{cacheName:n});s=await caches.match(i,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:r,cachedResponse:s,request:i,event:this.event})||void 0;return s}async cachePut(t,e){const n=R(t);var r;await(r=0,new Promise((t=>setTimeout(t,r))));const i=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=i.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const a=await this.v(e);if(!a)return!1;const{cacheName:c,matchOptions:h}=this.u,u=await self.caches.open(c),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const r=y(e.url,s);if(e.url===r)return t.match(e,n);const i=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,i);for(const e of o)if(r===y(e.url,s))return t.match(e,n)}(u,i.clone(),["__WB_REVISION__"],h):null;try{await u.put(i,l?a.clone():a)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of m)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:c,oldResponse:f,newResponse:a.clone(),request:i,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.h[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=R(await t({mode:e,request:n,event:this.event,params:this.params}));this.h[s]=n}return this.h[s]}hasCallback(t){for(const e of this.u.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.u.plugins)if("function"==typeof e[t]){const s=this.R.get(e),n=n=>{const r=Object.assign(Object.assign({},n),{state:s});return e[t](r)};yield n}}waitUntil(t){return this.p.push(t),t}async doneWaiting(){let t;for(;t=this.p.shift();)await t}destroy(){this.l.resolve(null)}async v(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class q{constructor(t={}){this.cacheName=p(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,r=new v(this,{event:e,request:s,params:n}),i=this.q(r,s,e);return[i,this.U(i,r,s,e)]}async q(t,e,n){let r;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(r=await this.L(e,t),!r||"error"===r.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const i of t.iterateCallbacks("handlerDidError"))if(r=await i({error:s,event:n,request:e}),r)break;if(!r)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))r=await s({event:n,request:e,response:r});return r}async U(t,e,s,n){let r,i;try{r=await t}catch(i){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:r}),await e.doneWaiting()}catch(t){t instanceof Error&&(i=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:r,error:i}),e.destroy(),i)throw i}}function U(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:6.5.4"]&&_()}catch(t){}function b(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const r=new URL(n,location.href),i=new URL(n,location.href);return r.searchParams.set("__WB_REVISION__",e),{cacheKey:r.href,url:i.href}}class L{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class E{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this._.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this._=t}}let x,C;async function O(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const r=t.clone(),i={headers:new Headers(r.headers),status:r.status,statusText:r.statusText},o=e?e(i):i,a=function(){if(void 0===x){const t=new Response("");if("body"in t)try{new Response(t.body),x=!0}catch(t){x=!1}x=!1}return x}()?r.body:await r.blob();return new Response(a,o)}class N extends q{constructor(t={}){t.cacheName=d(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(N.copyRedirectedCacheableResponsesPlugin)}async L(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.O(t,e):await this.N(t,e))}async N(t,e){let n;const r=e.params||{};if(!this.C)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=r.integrity,i=t.integrity,o=!i||i===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?i||s:void 0})),s&&o&&"no-cors"!==t.mode&&(this.P(),await e.cachePut(t,n.clone()))}return n}async O(t,e){this.P();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}P(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==N.copyRedirectedCacheableResponsesPlugin&&(n===N.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(N.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}N.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},N.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await O(t):t};class P{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.T=new Map,this.W=new Map,this.k=new Map,this.u=new N({cacheName:d(t),plugins:[...e,new E({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.u}precache(t){this.addToCacheList(t),this.j||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.j=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:r}=b(n),i="string"!=typeof n&&n.revision?"reload":"default";if(this.T.has(r)&&this.T.get(r)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.T.get(r),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.k.has(t)&&this.k.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:r});this.k.set(t,n.integrity)}if(this.T.set(r,t),this.W.set(r,i),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return U(t,(async()=>{const e=new L;this.strategy.plugins.push(e);for(const[e,s]of this.T){const n=this.k.get(s),r=this.W.get(e),i=new Request(e,{integrity:n,cache:r,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:i,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return U(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.T.values()),n=[];for(const r of e)s.has(r.url)||(await t.delete(r),n.push(r.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.T}getCachedURLs(){return[...this.T.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.T.get(e.href)}getIntegrityForCacheKey(t){return this.k.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}const T=()=>(C||(C=new P),C);class W extends r{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const r of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:r}={}){const i=new URL(t,location.href);i.hash="",yield i.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(i,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(r){const t=r({url:i});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(r);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}t.CacheFirst=class extends q{async L(t,e){let n,r=await e.cacheMatch(t);if(!r)try{r=await e.fetchAndCachePut(t)}catch(t){t instanceof Error&&(n=t)}if(!r)throw new s("no-response",{url:t.url,error:n});return r}},t.NavigationRoute=class extends r{constructor(t,{allowlist:e=[/./],denylist:s=[]}={}){super((t=>this.K(t)),t),this.M=e,this.S=s}K({url:t,request:e}){if(e&&"navigate"!==e.mode)return!1;const s=t.pathname+t.search;for(const t of this.S)if(t.test(s))return!1;return!!this.M.some((t=>t.test(s)))}},t.NetworkFirst=class extends q{constructor(t={}){super(t),this.plugins.some((t=>"cacheWillUpdate"in t))||this.plugins.unshift(u),this.D=t.networkTimeoutSeconds||0}async L(t,e){const n=[],r=[];let i;if(this.D){const{id:s,promise:o}=this.I({request:t,logs:n,handler:e});i=s,r.push(o)}const o=this.F({timeoutId:i,request:t,logs:n,handler:e});r.push(o);const a=await e.waitUntil((async()=>await e.waitUntil(Promise.race(r))||await o)());if(!a)throw new s("no-response",{url:t.url});return a}I({request:t,logs:e,handler:s}){let n;return{promise:new Promise((e=>{n=setTimeout((async()=>{e(await s.cacheMatch(t))}),1e3*this.D)})),id:n}}async F({timeoutId:t,request:e,logs:s,handler:n}){let r,i;try{i=await n.fetchAndCachePut(e)}catch(t){t instanceof Error&&(r=t)}return t&&clearTimeout(t),!r&&i||(i=await n.cacheMatch(e)),i}},t.cleanupOutdatedCaches=function(){self.addEventListener("activate",(t=>{const e=d();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.clientsClaim=function(){self.addEventListener("activate",(()=>self.clients.claim()))},t.createHandlerBoundToURL=function(t){return T().createHandlerBoundToURL(t)},t.precacheAndRoute=function(t,e){!function(t){T().precache(t)}(t),function(t){const e=T();h(new W(e,t))}(e)},t.registerRoute=h,t.setCacheNameDetails=function(t){w(t)}}));