Files
aida_front/dist/js/257.4bf7d67b.js
2023-11-22 17:05:09 +08:00

59 lines
728 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[257],{1125:function(A,e,t){(function(){var e={9662:function(A,e,t){var n=t(7854),i=t(614),r=t(6330),o=n.TypeError;A.exports=function(A){if(i(A))return A;throw o(r(A)+" is not a function")}},6077:function(A,e,t){var n=t(7854),i=t(614),r=n.String,o=n.TypeError;A.exports=function(A){if("object"==typeof A||i(A))return A;throw o("Can't set "+r(A)+" as a prototype")}},9670:function(A,e,t){var n=t(7854),i=t(111),r=n.String,o=n.TypeError;A.exports=function(A){if(i(A))return A;throw o(r(A)+" is not an object")}},1318:function(A,e,t){var n=t(5656),i=t(1400),r=t(6244),o=function(A){return function(e,t,o){var s,a=n(e),l=r(a),c=i(o,l);if(A&&t!=t){while(l>c)if(s=a[c++],s!=s)return!0}else for(;l>c;c++)if((A||c in a)&&a[c]===t)return A||c||0;return!A&&-1}};A.exports={includes:o(!0),indexOf:o(!1)}},4326:function(A,e,t){var n=t(1702),i=n({}.toString),r=n("".slice);A.exports=function(A){return r(i(A),8,-1)}},648:function(A,e,t){var n=t(7854),i=t(1694),r=t(614),o=t(4326),s=t(5112),a=s("toStringTag"),l=n.Object,c="Arguments"==o(function(){return arguments}()),d=function(A,e){try{return A[e]}catch(t){}};A.exports=i?o:function(A){var e,t,n;return void 0===A?"Undefined":null===A?"Null":"string"==typeof(t=d(e=l(A),a))?t:c?o(e):"Object"==(n=o(e))&&r(e.callee)?"Arguments":n}},7741:function(A,e,t){var n=t(1702),i=n("".replace),r=function(A){return String(Error(A).stack)}("zxcasd"),o=/\n\s*at [^:]*:[^\n]*/,s=o.test(r);A.exports=function(A,e){if(s&&"string"==typeof A)while(e--)A=i(A,o,"");return A}},9920:function(A,e,t){var n=t(2597),i=t(3887),r=t(1236),o=t(3070);A.exports=function(A,e,t){for(var s=i(e),a=o.f,l=r.f,c=0;c<s.length;c++){var d=s[c];n(A,d)||t&&n(t,d)||a(A,d,l(e,d))}}},8880:function(A,e,t){var n=t(9781),i=t(3070),r=t(9114);A.exports=n?function(A,e,t){return i.f(A,e,r(1,t))}:function(A,e,t){return A[e]=t,A}},9114:function(A){A.exports=function(A,e){return{enumerable:!(1&A),configurable:!(2&A),writable:!(4&A),value:e}}},9781:function(A,e,t){var n=t(7293);A.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(A,e,t){var n=t(7854),i=t(111),r=n.document,o=i(r)&&i(r.createElement);A.exports=function(A){return o?r.createElement(A):{}}},8113:function(A,e,t){var n=t(5005);A.exports=n("navigator","userAgent")||""},7392:function(A,e,t){var n,i,r=t(7854),o=t(8113),s=r.process,a=r.Deno,l=s&&s.versions||a&&a.version,c=l&&l.v8;c&&(n=c.split("."),i=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(n=o.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/),n&&(i=+n[1]))),A.exports=i},748:function(A){A.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2914:function(A,e,t){var n=t(7293),i=t(9114);A.exports=!n((function(){var A=Error("a");return!("stack"in A)||(Object.defineProperty(A,"stack",i(1,7)),7!==A.stack)}))},2109:function(A,e,t){var n=t(7854),i=t(1236).f,r=t(8880),o=t(1320),s=t(3505),a=t(9920),l=t(4705);A.exports=function(A,e){var t,c,d,u,h,g,p=A.target,f=A.global,m=A.stat;if(c=f?n:m?n[p]||s(p,{}):(n[p]||{}).prototype,c)for(d in e){if(h=e[d],A.noTargetGet?(g=i(c,d),u=g&&g.value):u=c[d],t=l(f?d:p+(m?".":"#")+d,A.forced),!t&&void 0!==u){if(typeof h==typeof u)continue;a(h,u)}(A.sham||u&&u.sham)&&r(h,"sham",!0),o(c,d,h,A)}}},7293:function(A){A.exports=function(A){try{return!!A()}catch(e){return!0}}},2104:function(A,e,t){var n=t(4374),i=Function.prototype,r=i.apply,o=i.call;A.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(r):function(){return o.apply(r,arguments)})},4374:function(A,e,t){var n=t(7293);A.exports=!n((function(){var A=function(){}.bind();return"function"!=typeof A||A.hasOwnProperty("prototype")}))},6916:function(A,e,t){var n=t(4374),i=Function.prototype.call;A.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},6530:function(A,e,t){var n=t(9781),i=t(2597),r=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(r,"name"),a=s&&"something"===function(){}.name,l=s&&(!n||n&&o(r,"name").configurable);A.exports={EXISTS:s,PROPER:a,CONFIGURABLE:l}},1702:function(A,e,t){var n=t(4374),i=Function.prototype,r=i.bind,o=i.call,s=n&&r.bind(o,o);A.exports=n?function(A){return A&&s(A)}:function(A){return A&&function(){return o.apply(A,arguments)}}},5005:function(A,e,t){var n=t(7854),i=t(614),r=function(A){return i(A)?A:void 0};A.exports=function(A,e){return arguments.length<2?r(n[A]):n[A]&&n[A][e]}},8173:function(A,e,t){var n=t(9662);A.exports=function(A,e){var t=A[e];return null==t?void 0:n(t)}},7854:function(A,e,t){var n=function(A){return A&&A.Math==Math&&A};A.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t.g&&t.g)||function(){return this}()||Function("return this")()},2597:function(A,e,t){var n=t(1702),i=t(7908),r=n({}.hasOwnProperty);A.exports=Object.hasOwn||function(A,e){return r(i(A),e)}},3501:function(A){A.exports={}},4664:function(A,e,t){var n=t(9781),i=t(7293),r=t(317);A.exports=!n&&!i((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},8361:function(A,e,t){var n=t(7854),i=t(1702),r=t(7293),o=t(4326),s=n.Object,a=i("".split);A.exports=r((function(){return!s("z").propertyIsEnumerable(0)}))?function(A){return"String"==o(A)?a(A,""):s(A)}:s},9587:function(A,e,t){var n=t(614),i=t(111),r=t(7674);A.exports=function(A,e,t){var o,s;return r&&n(o=e.constructor)&&o!==t&&i(s=o.prototype)&&s!==t.prototype&&r(A,s),A}},2788:function(A,e,t){var n=t(1702),i=t(614),r=t(5465),o=n(Function.toString);i(r.inspectSource)||(r.inspectSource=function(A){return o(A)}),A.exports=r.inspectSource},8340:function(A,e,t){var n=t(111),i=t(8880);A.exports=function(A,e){n(e)&&"cause"in e&&i(A,"cause",e.cause)}},9909:function(A,e,t){var n,i,r,o=t(8536),s=t(7854),a=t(1702),l=t(111),c=t(8880),d=t(2597),u=t(5465),h=t(6200),g=t(3501),p="Object already initialized",f=s.TypeError,m=s.WeakMap,B=function(A){return r(A)?i(A):n(A,{})},w=function(A){return function(e){var t;if(!l(e)||(t=i(e)).type!==A)throw f("Incompatible receiver, "+A+" required");return t}};if(o||u.state){var v=u.state||(u.state=new m),C=a(v.get),b=a(v.has),y=a(v.set);n=function(A,e){if(b(v,A))throw new f(p);return e.facade=A,y(v,A,e),e},i=function(A){return C(v,A)||{}},r=function(A){return b(v,A)}}else{var _=h("state");g[_]=!0,n=function(A,e){if(d(A,_))throw new f(p);return e.facade=A,c(A,_,e),e},i=function(A){return d(A,_)?A[_]:{}},r=function(A){return d(A,_)}}A.exports={set:n,get:i,has:r,enforce:B,getterFor:w}},614:function(A){A.exports=function(A){return"function"==typeof A}},4705:function(A,e,t){var n=t(7293),i=t(614),r=/#|\.prototype\./,o=function(A,e){var t=a[s(A)];return t==c||t!=l&&(i(e)?n(e):!!e)},s=o.normalize=function(A){return String(A).replace(r,".").toLowerCase()},a=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";A.exports=o},111:function(A,e,t){var n=t(614);A.exports=function(A){return"object"==typeof A?null!==A:n(A)}},1913:function(A){A.exports=!1},2190:function(A,e,t){var n=t(7854),i=t(5005),r=t(614),o=t(7976),s=t(3307),a=n.Object;A.exports=s?function(A){return"symbol"==typeof A}:function(A){var e=i("Symbol");return r(e)&&o(e.prototype,a(A))}},6244:function(A,e,t){var n=t(7466);A.exports=function(A){return n(A.length)}},133:function(A,e,t){var n=t(7392),i=t(7293);A.exports=!!Object.getOwnPropertySymbols&&!i((function(){var A=Symbol();return!String(A)||!(Object(A)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:function(A,e,t){var n=t(7854),i=t(614),r=t(2788),o=n.WeakMap;A.exports=i(o)&&/native code/.test(r(o))},6277:function(A,e,t){var n=t(1340);A.exports=function(A,e){return void 0===A?arguments.length<2?"":e:n(A)}},3070:function(A,e,t){var n=t(7854),i=t(9781),r=t(4664),o=t(3353),s=t(9670),a=t(4948),l=n.TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",h="configurable",g="writable";e.f=i?o?function(A,e,t){if(s(A),e=a(e),s(t),"function"===typeof A&&"prototype"===e&&"value"in t&&g in t&&!t[g]){var n=d(A,e);n&&n[g]&&(A[e]=t.value,t={configurable:h in t?t[h]:n[h],enumerable:u in t?t[u]:n[u],writable:!1})}return c(A,e,t)}:c:function(A,e,t){if(s(A),e=a(e),s(t),r)try{return c(A,e,t)}catch(n){}if("get"in t||"set"in t)throw l("Accessors not supported");return"value"in t&&(A[e]=t.value),A}},1236:function(A,e,t){var n=t(9781),i=t(6916),r=t(5296),o=t(9114),s=t(5656),a=t(4948),l=t(2597),c=t(4664),d=Object.getOwnPropertyDescriptor;e.f=n?d:function(A,e){if(A=s(A),e=a(e),c)try{return d(A,e)}catch(t){}if(l(A,e))return o(!i(r.f,A,e),A[e])}},8006:function(A,e,t){var n=t(6324),i=t(748),r=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(A){return n(A,r)}},5181:function(A,e){e.f=Object.getOwnPropertySymbols},7976:function(A,e,t){var n=t(1702);A.exports=n({}.isPrototypeOf)},6324:function(A,e,t){var n=t(1702),i=t(2597),r=t(5656),o=t(1318).indexOf,s=t(3501),a=n([].push);A.exports=function(A,e){var t,n=r(A),l=0,c=[];for(t in n)!i(s,t)&&i(n,t)&&a(c,t);while(e.length>l)i(n,t=e[l++])&&(~o(c,t)||a(c,t));return c}},5296:function(A,e){"use strict";var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!t.call({1:2},1);e.f=i?function(A){var e=n(this,A);return!!e&&e.enumerable}:t},7674:function(A,e,t){var n=t(1702),i=t(9670),r=t(6077);A.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var A,e=!1,t={};try{A=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),A(t,[]),e=t instanceof Array}catch(o){}return function(t,n){return i(t),r(n),e?A(t,n):t.__proto__=n,t}}():void 0)},2140:function(A,e,t){var n=t(7854),i=t(6916),r=t(614),o=t(111),s=n.TypeError;A.exports=function(A,e){var t,n;if("string"===e&&r(t=A.toString)&&!o(n=i(t,A)))return n;if(r(t=A.valueOf)&&!o(n=i(t,A)))return n;if("string"!==e&&r(t=A.toString)&&!o(n=i(t,A)))return n;throw s("Can't convert object to primitive value")}},3887:function(A,e,t){var n=t(5005),i=t(1702),r=t(8006),o=t(5181),s=t(9670),a=i([].concat);A.exports=n("Reflect","ownKeys")||function(A){var e=r.f(s(A)),t=o.f;return t?a(e,t(A)):e}},1320:function(A,e,t){var n=t(7854),i=t(614),r=t(2597),o=t(8880),s=t(3505),a=t(2788),l=t(9909),c=t(6530).CONFIGURABLE,d=l.get,u=l.enforce,h=String(String).split("String");(A.exports=function(A,e,t,a){var l,d=!!a&&!!a.unsafe,g=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:e;i(t)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!r(t,"name")||c&&t.name!==f)&&o(t,"name",f),l=u(t),l.source||(l.source=h.join("string"==typeof f?f:""))),A!==n?(d?!p&&A[e]&&(g=!0):delete A[e],g?A[e]=t:o(A,e,t)):g?A[e]=t:s(e,t)})(Function.prototype,"toString",(function(){return i(this)&&d(this).source||a(this)}))},4488:function(A,e,t){var n=t(7854),i=n.TypeError;A.exports=function(A){if(void 0==A)throw i("Can't call method on "+A);return A}},3505:function(A,e,t){var n=t(7854),i=Object.defineProperty;A.exports=function(A,e){try{i(n,A,{value:e,configurable:!0,writable:!0})}catch(t){n[A]=e}return e}},6200:function(A,e,t){var n=t(2309),i=t(9711),r=n("keys");A.exports=function(A){return r[A]||(r[A]=i(A))}},5465:function(A,e,t){var n=t(7854),i=t(3505),r="__core-js_shared__",o=n[r]||i(r,{});A.exports=o},2309:function(A,e,t){var n=t(1913),i=t(5465);(A.exports=function(A,e){return i[A]||(i[A]=void 0!==e?e:{})})("versions",[]).push({version:"3.21.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},1400:function(A,e,t){var n=t(9303),i=Math.max,r=Math.min;A.exports=function(A,e){var t=n(A);return t<0?i(t+e,0):r(t,e)}},5656:function(A,e,t){var n=t(8361),i=t(4488);A.exports=function(A){return n(i(A))}},9303:function(A){var e=Math.ceil,t=Math.floor;A.exports=function(A){var n=+A;return n!==n||0===n?0:(n>0?t:e)(n)}},7466:function(A,e,t){var n=t(9303),i=Math.min;A.exports=function(A){return A>0?i(n(A),9007199254740991):0}},7908:function(A,e,t){var n=t(7854),i=t(4488),r=n.Object;A.exports=function(A){return r(i(A))}},7593:function(A,e,t){var n=t(7854),i=t(6916),r=t(111),o=t(2190),s=t(8173),a=t(2140),l=t(5112),c=n.TypeError,d=l("toPrimitive");A.exports=function(A,e){if(!r(A)||o(A))return A;var t,n=s(A,d);if(n){if(void 0===e&&(e="default"),t=i(n,A,e),!r(t)||o(t))return t;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(A,e)}},4948:function(A,e,t){var n=t(7593),i=t(2190);A.exports=function(A){var e=n(A,"string");return i(e)?e:e+""}},1694:function(A,e,t){var n=t(5112),i=n("toStringTag"),r={};r[i]="z",A.exports="[object z]"===String(r)},1340:function(A,e,t){var n=t(7854),i=t(648),r=n.String;A.exports=function(A){if("Symbol"===i(A))throw TypeError("Cannot convert a Symbol value to a string");return r(A)}},6330:function(A,e,t){var n=t(7854),i=n.String;A.exports=function(A){try{return i(A)}catch(e){return"Object"}}},9711:function(A,e,t){var n=t(1702),i=0,r=Math.random(),o=n(1..toString);A.exports=function(A){return"Symbol("+(void 0===A?"":A)+")_"+o(++i+r,36)}},3307:function(A,e,t){var n=t(133);A.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(A,e,t){var n=t(9781),i=t(7293);A.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5112:function(A,e,t){var n=t(7854),i=t(2309),r=t(2597),o=t(9711),s=t(133),a=t(3307),l=i("wks"),c=n.Symbol,d=c&&c["for"],u=a?c:c&&c.withoutSetter||o;A.exports=function(A){if(!r(l,A)||!s&&"string"!=typeof l[A]){var e="Symbol."+A;s&&r(c,A)?l[A]=c[A]:l[A]=a&&d?d(e):u(e)}return l[A]}},9191:function(A,e,t){"use strict";var n=t(5005),i=t(2597),r=t(8880),o=t(7976),s=t(7674),a=t(9920),l=t(9587),c=t(6277),d=t(8340),u=t(7741),h=t(2914),g=t(1913);A.exports=function(A,e,t,p){var f=p?2:1,m=A.split("."),B=m[m.length-1],w=n.apply(null,m);if(w){var v=w.prototype;if(!g&&i(v,"cause")&&delete v.cause,!t)return w;var C=n("Error"),b=e((function(A,e){var t=c(p?e:A,void 0),n=p?new w(A):new w;return void 0!==t&&r(n,"message",t),h&&r(n,"stack",u(n.stack,2)),this&&o(v,this)&&l(n,this,b),arguments.length>f&&d(n,arguments[f]),n}));if(b.prototype=v,"Error"!==B&&(s?s(b,C):a(b,C,{name:!0})),a(b,w),!g)try{v.name!==B&&r(v,"name",B),v.constructor=b}catch(y){}return b}}},1703:function(A,e,t){var n=t(2109),i=t(7854),r=t(2104),o=t(9191),s="WebAssembly",a=i[s],l=7!==Error("e",{cause:7}).cause,c=function(A,e){var t={};t[A]=o(A,e,l),n({global:!0,forced:l},t)},d=function(A,e){if(a&&a[A]){var t={};t[A]=o(s+"."+A,e,l),n({target:s,stat:!0,forced:l},t)}};c("Error",(function(A){return function(e){return r(A,this,arguments)}})),c("EvalError",(function(A){return function(e){return r(A,this,arguments)}})),c("RangeError",(function(A){return function(e){return r(A,this,arguments)}})),c("ReferenceError",(function(A){return function(e){return r(A,this,arguments)}})),c("SyntaxError",(function(A){return function(e){return r(A,this,arguments)}})),c("TypeError",(function(A){return function(e){return r(A,this,arguments)}})),c("URIError",(function(A){return function(e){return r(A,this,arguments)}})),d("CompileError",(function(A){return function(e){return r(A,this,arguments)}})),d("LinkError",(function(A){return function(e){return r(A,this,arguments)}})),d("RuntimeError",(function(A){return function(e){return r(A,this,arguments)}}))},6095:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-chrome{background:#fff;border-radius:2px;box-shadow:0 0 2px rgba(0,0,0,.3),0 4px 8px rgba(0,0,0,.3);box-sizing:initial;width:225px;font-family:Menlo;background-color:#fff}.vc-chrome-controls{display:flex}.vc-chrome-color-wrap{position:relative;width:36px}.vc-chrome-active-color{position:relative;width:30px;height:30px;border-radius:15px;overflow:hidden;z-index:1}.vc-chrome-color-wrap .vc-checkerboard{width:30px;height:30px;border-radius:15px;background-size:auto}.vc-chrome-sliders{flex:1}.vc-chrome-fields-wrap{display:flex;padding-top:16px}.vc-chrome-fields{display:flex;margin-left:-6px;flex:1}.vc-chrome-field{padding-left:6px;width:100%}.vc-chrome-toggle-btn{width:32px;text-align:right;position:relative}.vc-chrome-toggle-icon{margin-right:-4px;margin-top:12px;cursor:pointer;position:relative;z-index:2}.vc-chrome-toggle-icon-highlight{position:absolute;width:24px;height:28px;background:#eee;border-radius:4px;top:10px;left:12px}.vc-chrome-hue-wrap{margin-bottom:8px}.vc-chrome-alpha-wrap,.vc-chrome-hue-wrap{position:relative;height:10px}.vc-chrome-alpha-wrap .vc-alpha-gradient,.vc-chrome-hue-wrap .vc-hue{border-radius:2px}.vc-chrome-alpha-wrap .vc-alpha-picker,.vc-chrome-hue-wrap .vc-hue-picker{width:12px;height:12px;border-radius:6px;transform:translate(-6px,-2px);background-color:#f8f8f8;box-shadow:0 1px 4px 0 rgba(0,0,0,.37)}.vc-chrome-body{padding:16px 16px 12px;background-color:#fff}.vc-chrome-saturation-wrap{width:100%;padding-bottom:55%;position:relative;border-radius:2px 2px 0 0;overflow:hidden}.vc-chrome-saturation-wrap .vc-saturation-circle{width:12px;height:12px}.vc-chrome-fields .vc-input__input{font-size:11px;color:#333;width:100%;border-radius:2px;border:none;box-shadow:inset 0 0 0 1px #dadada;height:21px;text-align:center}.vc-chrome-fields .vc-input__label{text-transform:uppercase;font-size:11px;line-height:11px;color:#969696;text-align:center;display:block;margin-top:12px}.vc-chrome__disable-alpha .vc-chrome-active-color{width:18px;height:18px}.vc-chrome__disable-alpha .vc-chrome-color-wrap{width:30px}.vc-chrome__disable-alpha .vc-chrome-hue-wrap{margin-top:4px;margin-bottom:4px}",""]),e["default"]=s},6047:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-compact{padding-top:5px;padding-left:5px;width:245px;border-radius:2px;box-sizing:border-box;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);background-color:#fff}.vc-compact-colors{overflow:hidden;padding:0;margin:0}.vc-compact-color-item{list-style:none;width:15px;height:15px;float:left;margin-right:5px;margin-bottom:5px;position:relative;cursor:pointer}.vc-compact-color-item--white{box-shadow:inset 0 0 0 1px #ddd}.vc-compact-color-item--white .vc-compact-dot{background:#000}.vc-compact-dot{position:absolute;top:5px;right:5px;bottom:5px;left:5px;border-radius:50%;opacity:1;background:#fff}",""]),e["default"]=s},9481:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-grayscale{width:125px;border-radius:2px;box-shadow:0 2px 15px rgba(0,0,0,.12),0 2px 10px rgba(0,0,0,.16);background-color:#fff}.vc-grayscale-colors{border-radius:2px;overflow:hidden;padding:0;margin:0}.vc-grayscale-color-item{list-style:none;width:25px;height:25px;float:left;position:relative;cursor:pointer}.vc-grayscale-color-item--white .vc-grayscale-dot{background:#000}.vc-grayscale-dot{position:absolute;top:50%;left:50%;width:6px;height:6px;margin:-3px 0 0 -2px;border-radius:50%;opacity:1;background:#fff}",""]),e["default"]=s},5186:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-material{width:98px;height:98px;padding:16px;font-family:Roboto;position:relative;border-radius:2px;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);background-color:#fff}.vc-material .vc-input__input{width:100%;margin-top:12px;font-size:15px;color:#333;height:30px}.vc-material .vc-input__label{position:absolute;top:0;left:0;font-size:11px;color:#999;text-transform:capitalize}.vc-material-hex{border-bottom-width:2px;border-bottom-style:solid}.vc-material-split{display:flex;margin-right:-10px;padding-top:11px}.vc-material-third{flex:1;padding-right:10px}",""]),e["default"]=s},3695:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,'.vc-photoshop{background:#dcdcdc;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.25),0 8px 16px rgba(0,0,0,.15);box-sizing:initial;width:513px;font-family:Roboto}.vc-photoshop__disable-fields{width:390px}.vc-ps-head{background-image:linear-gradient(-180deg,#f0f0f0,#d4d4d4);border-bottom:1px solid #b1b1b1;box-shadow:inset 0 1px 0 0 hsla(0,0%,100%,.2),inset 0 -1px 0 0 rgba(0,0,0,.02);height:23px;line-height:24px;border-radius:4px 4px 0 0;font-size:13px;color:#4d4d4d;text-align:center}.vc-ps-body{padding:15px;display:flex}.vc-ps-saturation-wrap{width:256px;height:256px;position:relative;border:2px solid #b3b3b3;border-bottom:2px solid #f0f0f0;overflow:hidden}.vc-ps-saturation-wrap .vc-saturation-circle{width:12px;height:12px}.vc-ps-hue-wrap{height:256px;width:19px;margin-left:10px;border:2px solid #b3b3b3;border-bottom:2px solid #f0f0f0}.vc-ps-hue-pointer,.vc-ps-hue-wrap{position:relative}.vc-ps-hue-pointer--left,.vc-ps-hue-pointer--right{position:absolute;width:0;height:0;border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent #555}.vc-ps-hue-pointer--left:after,.vc-ps-hue-pointer--right:after{content:"";width:0;height:0;border-style:solid;border-width:4px 0 4px 6px;border-color:transparent transparent transparent #fff;position:absolute;top:1px;left:1px;transform:translate(-8px,-5px)}.vc-ps-hue-pointer--left{transform:translate(-13px,-4px)}.vc-ps-hue-pointer--right{transform:translate(20px,-4px) rotate(180deg)}.vc-ps-controls{width:180px;margin-left:10px;display:flex}.vc-ps-controls__disable-fields{width:auto}.vc-ps-actions{margin-left:20px;flex:1}.vc-ps-ac-btn{cursor:pointer;background-image:linear-gradient(-180deg,#fff,#e6e6e6);border:1px solid #878787;border-radius:2px;height:20px;box-shadow:0 1px 0 0 #eaeaea;font-size:14px;color:#000;line-height:20px;text-align:center;margin-bottom:10px}.vc-ps-previews{width:60px}.vc-ps-previews__swatches{border:1px solid #b3b3b3;border-bottom:1px solid #f0f0f0;margin-bottom:2px;margin-top:1px}.vc-ps-previews__pr-color{height:34px;box-shadow:inset 1px 0 0 #000,inset -1px 0 0 #000,inset 0 1px 0 #000}.vc-ps-previews__label{font-size:14px;color:#000;text-align:center}.vc-ps-fields{padding-top:5px;padding-bottom:9px;width:80px;position:relative}.vc-ps-fields .vc-input__input{margin-left:40%;width:40%;height:18px;border:1px solid #888;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),0 1px 0 0 #ececec;margin-bottom:5px;font-size:13px;padding-left:3px;margin-right:10px}.vc-ps-fields .vc-input__desc,.vc-ps-fields .vc-input__label{top:0;text-transform:uppercase;font-size:13px;height:18px;line-height:22px;position:absolute}.vc-ps-fields .vc-input__label{left:0;width:34px}.vc-ps-fields .vc-input__desc{right:0;width:0}.vc-ps-fields__divider{height:5px}.vc-ps-fields__hex .vc-input__input{margin-left:20%;width:80%;height:18px;border:1px solid #888;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),0 1px 0 0 #ececec;margin-bottom:6px;font-size:13px;padding-left:3px}.vc-ps-fields__hex .vc-input__label{position:absolute;top:0;left:0;width:14px;text-transform:uppercase;font-size:13px;height:18px;line-height:22px}',""]),e["default"]=s},1380:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-botton-container{display:flex;justify-content:end;padding-bottom:10px;font-size:12px}.vc-botton-right{cursor:pointer;margin-left:10px;padding:5px 5px;border:1px solid #dcdfe6;border-radius:5px;color:#606266}.vc-botton-right:hover{color:#409eff;border:1px solid #409eff}.vc-botton-left{cursor:pointer;padding:5px 5px;color:#409eff}.vc-sketch{position:relative;width:200px;padding:10px 10px 0;box-sizing:initial;background:#fff;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.15),0 8px 16px rgba(0,0,0,.15)}.vc-sketch-saturation-wrap{width:100%;padding-bottom:75%;position:relative;overflow:hidden}.vc-sketch-controls{display:flex}.vc-sketch-sliders{padding:4px 0;flex:1}.vc-sketch-sliders .vc-alpha-gradient,.vc-sketch-sliders .vc-hue{border-radius:2px}.vc-sketch-alpha-wrap,.vc-sketch-hue-wrap{position:relative;height:10px}.vc-sketch-alpha-wrap{margin-top:4px;overflow:hidden}.vc-sketch-color-wrap{width:24px;height:24px;position:relative;margin-top:4px;margin-left:4px;border-radius:3px}.vc-sketch-active-color{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15),inset 0 0 4px rgba(0,0,0,.25);z-index:2}.vc-sketch-color-wrap .vc-checkerboard{background-size:auto}.vc-sketch-field{display:flex;padding-top:4px}.vc-sketch-field .vc-input__input{width:90%;padding:4px 0 3px 10%;border:none;box-shadow:inset 0 0 0 1px #ccc;font-size:10px}.vc-sketch-field .vc-input__label{display:block;text-align:center;font-size:11px;color:#222;padding-top:3px;padding-bottom:4px;text-transform:capitalize}.vc-sketch-field--single{flex:1;padding-left:6px}.vc-sketch-field--double{flex:2}.vc-sketch-presets{margin-right:-10px;margin-left:-10px;padding-left:10px;padding-top:10px;border-top:1px solid #eee}.vc-sketch-presets-color{overflow:hidden;position:relative;display:inline-block;margin:0 10px 10px 0;vertical-align:top;cursor:pointer;width:16px;height:16px}.vc-sketch-presets-color,.vc-sketch-presets-color .vc-checkerboard{border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.vc-sketch__disable-alpha .vc-sketch-color-wrap{height:10px}",""]),e["default"]=s},6278:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-slider{position:relative;width:410px}.vc-slider-hue-warp{height:12px;position:relative}.vc-slider-hue-warp .vc-hue-picker{width:14px;height:14px;border-radius:6px;transform:translate(-7px,-2px);background-color:#f8f8f8;box-shadow:0 1px 4px 0 rgba(0,0,0,.37)}.vc-slider-swatches{display:flex;margin-top:20px}.vc-slider-swatch{margin-right:1px;flex:1;width:20%}.vc-slider-swatch:first-child{margin-right:1px}.vc-slider-swatch:first-child .vc-slider-swatch-picker{border-radius:2px 0 0 2px}.vc-slider-swatch:last-child{margin-right:0}.vc-slider-swatch:last-child .vc-slider-swatch-picker{border-radius:0 2px 2px 0}.vc-slider-swatch-picker{cursor:pointer;height:12px}.vc-slider-swatch:nth-child(n) .vc-slider-swatch-picker.vc-slider-swatch-picker--active{transform:scaleY(1.8);border-radius:3.6px/2px}.vc-slider-swatch-picker--white{box-shadow:inset 0 0 0 1px #ddd}.vc-slider-swatch-picker--active.vc-slider-swatch-picker--white{box-shadow:inset 0 0 0 .6px #ddd}",""]),e["default"]=s},3468:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-swatches{width:320px;height:240px;overflow-y:scroll;background-color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16)}.vc-swatches-box{padding:16px 0 6px 16px;overflow:hidden}.vc-swatches-color-group{padding-bottom:10px;width:40px;float:left;margin-right:10px}.vc-swatches-color-it{box-sizing:border-box;width:40px;height:24px;cursor:pointer;background:#880e4f;margin-bottom:1px;overflow:hidden;border-radius:2px 2px 0 0}.vc-swatches-color--white{border:1px solid #ddd}.vc-swatches-pick{fill:#fff;margin-left:8px;display:block}.vc-swatches-color--white .vc-swatches-pick{fill:#333}",""]),e["default"]=s},5689:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-twitter{background:#fff;border:0 solid rgba(0,0,0,.25);box-shadow:0 1px 4px rgba(0,0,0,.25);border-radius:4px;position:relative}.vc-twitter-triangle{border-color:transparent transparent #fff transparent}.vc-twitter-triangle,.vc-twitter-triangle-shadow{width:0;height:0;border-style:solid;border-width:0 9px 10px 9px;position:absolute}.vc-twitter-triangle-shadow{border-color:transparent transparent rgba(0,0,0,.1) transparent}.vc-twitter-body{padding:15px 9px 9px 15px}.vc-twitter .vc-editable-input{position:relative}.vc-twitter .vc-editable-input input{width:100px;font-size:14px;color:#666;border:0;outline:none;height:28px;box-shadow:inset 0 0 0 1px #f0f0f0;box-sizing:content-box;border-radius:0 4px 4px 0;float:left;padding:1px;padding-left:8px}.vc-twitter .vc-editable-input span{display:none}.vc-twitter-hash{background:#f0f0f0;height:30px;width:30px;border-radius:4px 0 0 4px;float:left;color:#98a1a4;display:flex;align-items:center;justify-content:center}.vc-twitter-swatch{width:30px;height:30px;float:left;border-radius:4px;margin:0 6px 6px 0;cursor:pointer;position:relative;outline:none}.vc-twitter-clear{clear:both}.vc-twitter-hide-triangle .vc-twitter-triangle,.vc-twitter-hide-triangle .vc-twitter-triangle-shadow{display:none}.vc-twitter-top-left-triangle .vc-twitter-triangle{top:-10px;left:12px}.vc-twitter-top-left-triangle .vc-twitter-triangle-shadow{top:-11px;left:12px}.vc-twitter-top-right-triangle .vc-twitter-triangle{top:-10px;right:12px}.vc-twitter-top-right-triangle .vc-twitter-triangle-shadow{top:-11px;right:12px}",""]),e["default"]=s},2410:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-alpha,.vc-alpha-checkboard-wrap{position:absolute;top:0;right:0;bottom:0;left:0}.vc-alpha-checkboard-wrap{overflow:hidden}.vc-alpha-gradient{position:absolute;top:0;right:0;bottom:0;left:0}.vc-alpha-container{cursor:pointer;position:relative;z-index:2;height:100%;margin:0 3px}.vc-alpha-pointer{z-index:2;position:absolute}.vc-alpha-picker{cursor:pointer;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px rgba(0,0,0,.6);background:#fff;margin-top:1px;transform:translateX(-2px)}",""]),e["default"]=s},3142:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-checkerboard{position:absolute;top:0;right:0;bottom:0;left:0;background-size:contain}",""]),e["default"]=s},7953:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-editable-input{position:relative}.vc-input__input{padding:0;border:0;outline:none}.vc-input__label{text-transform:capitalize}",""]),e["default"]=s},3097:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-hue{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;margin:0 2px;position:relative;height:100%}.vc-hue-pointer{z-index:2;position:absolute}.vc-hue-picker{cursor:pointer;margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px rgba(0,0,0,.6);background:#fff;transform:translateX(-2px)}",""]),e["default"]=s},4339:function(A,e,t){"use strict";t.r(e);var n=t(8081),i=t.n(n),r=t(3645),o=t.n(r),s=o()(i());s.push([A.id,".vc-saturation,.vc-saturation--black,.vc-saturation--white{cursor:pointer;position:absolute;top:0;left:0;right:0;bottom:0}.vc-saturation--white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.vc-saturation--black{background:linear-gradient(0deg,#000,transparent)}.vc-saturation-pointer{cursor:pointer;position:absolute}.vc-saturation-circle{cursor:head;width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;transform:translate(-2px,-2px)}",""]),e["default"]=s},3645:function(A){"use strict";A.exports=function(A){var e=[];return e.toString=function(){return this.map((function(e){var t="",n="undefined"!==typeof e[5];return e[4]&&(t+="@supports (".concat(e[4],") {")),e[2]&&(t+="@media ".concat(e[2]," {")),n&&(t+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),t+=A(e),n&&(t+="}"),e[2]&&(t+="}"),e[4]&&(t+="}"),t})).join("")},e.i=function(A,t,n,i,r){"string"===typeof A&&(A=[[null,A,void 0]]);var o={};if(n)for(var s=0;s<this.length;s++){var a=this[s][0];null!=a&&(o[a]=!0)}for(var l=0;l<A.length;l++){var c=[].concat(A[l]);n&&o[c[0]]||("undefined"!==typeof r&&("undefined"===typeof c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=r),t&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=t):c[2]=t),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),e.push(c))}},e}},8081:function(A){"use strict";A.exports=function(A){return A[1]}},9428:function(A){function e(A,e,t){return e<t?A<e?e:A>t?t:A:A<t?t:A>e?e:A}A.exports=e},9016:function(A,e,t){var n=t(9159),i=n.Symbol;A.exports=i},6423:function(A,e,t){var n=t(9016),i=t(2366),r=t(2886),o="[object Null]",s="[object Undefined]",a=n?n.toStringTag:void 0;function l(A){return null==A?void 0===A?s:o:a&&a in Object(A)?i(A):r(A)}A.exports=l},6009:function(A,e,t){var n=t(1626),i=/^\s+/;function r(A){return A?A.slice(0,n(A)+1).replace(i,""):A}A.exports=r},791:function(A,e,t){var n="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g;A.exports=n},2366:function(A,e,t){var n=t(9016),i=Object.prototype,r=i.hasOwnProperty,o=i.toString,s=n?n.toStringTag:void 0;function a(A){var e=r.call(A,s),t=A[s];try{A[s]=void 0;var n=!0}catch(a){}var i=o.call(A);return n&&(e?A[s]=t:delete A[s]),i}A.exports=a},2886:function(A){var e=Object.prototype,t=e.toString;function n(A){return t.call(A)}A.exports=n},9159:function(A,e,t){var n=t(791),i="object"==typeof self&&self&&self.Object===Object&&self,r=n||i||Function("return this")();A.exports=r},1626:function(A){var e=/\s/;function t(A){var t=A.length;while(t--&&e.test(A.charAt(t)));return t}A.exports=t},3738:function(A,e,t){t(1703);var n=t(150),i=t(657),r=t(2012),o="Expected a function",s=Math.max,a=Math.min;function l(A,e,t){var l,c,d,u,h,g,p=0,f=!1,m=!1,B=!0;if("function"!=typeof A)throw new TypeError(o);function w(e){var t=l,n=c;return l=c=void 0,p=e,u=A.apply(n,t),u}function v(A){return p=A,h=setTimeout(y,e),f?w(A):u}function C(A){var t=A-g,n=A-p,i=e-t;return m?a(i,d-n):i}function b(A){var t=A-g,n=A-p;return void 0===g||t>=e||t<0||m&&n>=d}function y(){var A=i();if(b(A))return _(A);h=setTimeout(y,C(A))}function _(A){return h=void 0,B&&l?w(A):(l=c=void 0,u)}function Q(){void 0!==h&&clearTimeout(h),p=0,l=g=c=h=void 0}function U(){return void 0===h?u:_(i())}function F(){var A=i(),t=b(A);if(l=arguments,c=this,g=A,t){if(void 0===h)return v(g);if(m)return clearTimeout(h),h=setTimeout(y,e),w(g)}return void 0===h&&(h=setTimeout(y,e)),u}return e=r(e)||0,n(t)&&(f=!!t.leading,m="maxWait"in t,d=m?s(r(t.maxWait)||0,e):d,B="trailing"in t?!!t.trailing:B),F.cancel=Q,F.flush=U,F}A.exports=l},150:function(A){function e(A){var e=typeof A;return null!=A&&("object"==e||"function"==e)}A.exports=e},4430:function(A){function e(A){return null!=A&&"object"==typeof A}A.exports=e},7691:function(A,e,t){var n=t(6423),i=t(4430),r="[object Symbol]";function o(A){return"symbol"==typeof A||i(A)&&n(A)==r}A.exports=o},657:function(A,e,t){var n=t(9159),i=function(){return n.Date.now()};A.exports=i},9289:function(A,e,t){t(1703);var n=t(3738),i=t(150),r="Expected a function";function o(A,e,t){var o=!0,s=!0;if("function"!=typeof A)throw new TypeError(r);return i(t)&&(o="leading"in t?!!t.leading:o,s="trailing"in t?!!t.trailing:s),n(A,e,{leading:o,maxWait:e,trailing:s})}A.exports=o},2012:function(A,e,t){var n=t(6009),i=t(150),r=t(7691),o=NaN,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;function d(A){if("number"==typeof A)return A;if(r(A))return o;if(i(A)){var e="function"==typeof A.valueOf?A.valueOf():A;A=i(e)?e+"":e}if("string"!=typeof A)return 0===A?A:+A;A=n(A);var t=a.test(A);return t||l.test(A)?c(A.slice(2),t?2:8):s.test(A)?o:+A}A.exports=d},7013:function(A,e,t){var n;(function(i){var r=/^\s+/,o=/\s+$/,s=0,a=i.round,l=i.min,c=i.max,d=i.random;function u(A,e){if(A=A||"",e=e||{},A instanceof u)return A;if(!(this instanceof u))return new u(A,e);var t=h(A);this._originalInput=A,this._r=t.r,this._g=t.g,this._b=t.b,this._a=t.a,this._roundA=a(100*this._a)/100,this._format=e.format||t.format,this._gradientType=e.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=t.ok,this._tc_id=s++}function h(A){var e={r:0,g:0,b:0},t=1,n=null,i=null,r=null,o=!1,s=!1;return"string"==typeof A&&(A=Y(A)),"object"==typeof A&&(X(A.r)&&X(A.g)&&X(A.b)?(e=g(A.r,A.g,A.b),o=!0,s="%"===String(A.r).substr(-1)?"prgb":"rgb"):X(A.h)&&X(A.s)&&X(A.v)?(n=z(A.s),i=z(A.v),e=B(A.h,n,i),o=!0,s="hsv"):X(A.h)&&X(A.s)&&X(A.l)&&(n=z(A.s),r=z(A.l),e=f(A.h,n,r),o=!0,s="hsl"),A.hasOwnProperty("a")&&(t=A.a)),t=T(t),{ok:o,format:A.format||s,r:l(255,c(e.r,0)),g:l(255,c(e.g,0)),b:l(255,c(e.b,0)),a:t}}function g(A,e,t){return{r:255*K(A,255),g:255*K(e,255),b:255*K(t,255)}}function p(A,e,t){A=K(A,255),e=K(e,255),t=K(t,255);var n,i,r=c(A,e,t),o=l(A,e,t),s=(r+o)/2;if(r==o)n=i=0;else{var a=r-o;switch(i=s>.5?a/(2-r-o):a/(r+o),r){case A:n=(e-t)/a+(e<t?6:0);break;case e:n=(t-A)/a+2;break;case t:n=(A-e)/a+4;break}n/=6}return{h:n,s:i,l:s}}function f(A,e,t){var n,i,r;function o(A,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?A+6*(e-A)*t:t<.5?e:t<2/3?A+(e-A)*(2/3-t)*6:A}if(A=K(A,360),e=K(e,100),t=K(t,100),0===e)n=i=r=t;else{var s=t<.5?t*(1+e):t+e-t*e,a=2*t-s;n=o(a,s,A+1/3),i=o(a,s,A),r=o(a,s,A-1/3)}return{r:255*n,g:255*i,b:255*r}}function m(A,e,t){A=K(A,255),e=K(e,255),t=K(t,255);var n,i,r=c(A,e,t),o=l(A,e,t),s=r,a=r-o;if(i=0===r?0:a/r,r==o)n=0;else{switch(r){case A:n=(e-t)/a+(e<t?6:0);break;case e:n=(t-A)/a+2;break;case t:n=(A-e)/a+4;break}n/=6}return{h:n,s:i,v:s}}function B(A,e,t){A=6*K(A,360),e=K(e,100),t=K(t,100);var n=i.floor(A),r=A-n,o=t*(1-e),s=t*(1-r*e),a=t*(1-(1-r)*e),l=n%6,c=[t,s,o,o,a,t][l],d=[a,t,t,s,o,o][l],u=[o,o,a,t,t,s][l];return{r:255*c,g:255*d,b:255*u}}function w(A,e,t,n){var i=[G(a(A).toString(16)),G(a(e).toString(16)),G(a(t).toString(16))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function v(A,e,t,n,i){var r=[G(a(A).toString(16)),G(a(e).toString(16)),G(a(t).toString(16)),G(j(n))];return i&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)&&r[3].charAt(0)==r[3].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0):r.join("")}function C(A,e,t,n){var i=[G(j(n)),G(a(A).toString(16)),G(a(e).toString(16)),G(a(t).toString(16))];return i.join("")}function b(A,e){e=0===e?0:e||10;var t=u(A).toHsl();return t.s-=e/100,t.s=N(t.s),u(t)}function y(A,e){e=0===e?0:e||10;var t=u(A).toHsl();return t.s+=e/100,t.s=N(t.s),u(t)}function _(A){return u(A).desaturate(100)}function Q(A,e){e=0===e?0:e||10;var t=u(A).toHsl();return t.l+=e/100,t.l=N(t.l),u(t)}function U(A,e){e=0===e?0:e||10;var t=u(A).toRgb();return t.r=c(0,l(255,t.r-a(-e/100*255))),t.g=c(0,l(255,t.g-a(-e/100*255))),t.b=c(0,l(255,t.b-a(-e/100*255))),u(t)}function F(A,e){e=0===e?0:e||10;var t=u(A).toHsl();return t.l-=e/100,t.l=N(t.l),u(t)}function x(A,e){var t=u(A).toHsl(),n=(t.h+e)%360;return t.h=n<0?360+n:n,u(t)}function E(A){var e=u(A).toHsl();return e.h=(e.h+180)%360,u(e)}function k(A){var e=u(A).toHsl(),t=e.h;return[u(A),u({h:(t+120)%360,s:e.s,l:e.l}),u({h:(t+240)%360,s:e.s,l:e.l})]}function I(A){var e=u(A).toHsl(),t=e.h;return[u(A),u({h:(t+90)%360,s:e.s,l:e.l}),u({h:(t+180)%360,s:e.s,l:e.l}),u({h:(t+270)%360,s:e.s,l:e.l})]}function S(A){var e=u(A).toHsl(),t=e.h;return[u(A),u({h:(t+72)%360,s:e.s,l:e.l}),u({h:(t+216)%360,s:e.s,l:e.l})]}function H(A,e,t){e=e||6,t=t||30;var n=u(A).toHsl(),i=360/t,r=[u(A)];for(n.h=(n.h-(i*e>>1)+720)%360;--e;)n.h=(n.h+i)%360,r.push(u(n));return r}function D(A,e){e=e||6;var t=u(A).toHsv(),n=t.h,i=t.s,r=t.v,o=[],s=1/e;while(e--)o.push(u({h:n,s:i,v:r})),r=(r+s)%1;return o}u.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 A=this.toRgb();return(299*A.r+587*A.g+114*A.b)/1e3},getLuminance:function(){var A,e,t,n,r,o,s=this.toRgb();return A=s.r/255,e=s.g/255,t=s.b/255,n=A<=.03928?A/12.92:i.pow((A+.055)/1.055,2.4),r=e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4),o=t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},setAlpha:function(A){return this._a=T(A),this._roundA=a(100*this._a)/100,this},toHsv:function(){var A=m(this._r,this._g,this._b);return{h:360*A.h,s:A.s,v:A.v,a:this._a}},toHsvString:function(){var A=m(this._r,this._g,this._b),e=a(360*A.h),t=a(100*A.s),n=a(100*A.v);return 1==this._a?"hsv("+e+", "+t+"%, "+n+"%)":"hsva("+e+", "+t+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var A=p(this._r,this._g,this._b);return{h:360*A.h,s:A.s,l:A.l,a:this._a}},toHslString:function(){var A=p(this._r,this._g,this._b),e=a(360*A.h),t=a(100*A.s),n=a(100*A.l);return 1==this._a?"hsl("+e+", "+t+"%, "+n+"%)":"hsla("+e+", "+t+"%, "+n+"%, "+this._roundA+")"},toHex:function(A){return w(this._r,this._g,this._b,A)},toHexString:function(A){return"#"+this.toHex(A)},toHex8:function(A){return v(this._r,this._g,this._b,this._a,A)},toHex8String:function(A){return"#"+this.toHex8(A)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(100*K(this._r,255))+"%",g:a(100*K(this._g,255))+"%",b:a(100*K(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+a(100*K(this._r,255))+"%, "+a(100*K(this._g,255))+"%, "+a(100*K(this._b,255))+"%)":"rgba("+a(100*K(this._r,255))+"%, "+a(100*K(this._g,255))+"%, "+a(100*K(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(O[w(this._r,this._g,this._b,!0)]||!1)},toFilter:function(A){var e="#"+C(this._r,this._g,this._b,this._a),t=e,n=this._gradientType?"GradientType = 1, ":"";if(A){var i=u(A);t="#"+C(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+e+",endColorstr="+t+")"},toString:function(A){var e=!!A;A=A||this._format;var t=!1,n=this._a<1&&this._a>=0,i=!e&&n&&("hex"===A||"hex6"===A||"hex3"===A||"hex4"===A||"hex8"===A||"name"===A);return i?"name"===A&&0===this._a?this.toName():this.toRgbString():("rgb"===A&&(t=this.toRgbString()),"prgb"===A&&(t=this.toPercentageRgbString()),"hex"!==A&&"hex6"!==A||(t=this.toHexString()),"hex3"===A&&(t=this.toHexString(!0)),"hex4"===A&&(t=this.toHex8String(!0)),"hex8"===A&&(t=this.toHex8String()),"name"===A&&(t=this.toName()),"hsl"===A&&(t=this.toHslString()),"hsv"===A&&(t=this.toHsvString()),t||this.toHexString())},clone:function(){return u(this.toString())},_applyModification:function(A,e){var t=A.apply(null,[this].concat([].slice.call(e)));return this._r=t._r,this._g=t._g,this._b=t._b,this.setAlpha(t._a),this},lighten:function(){return this._applyModification(Q,arguments)},brighten:function(){return this._applyModification(U,arguments)},darken:function(){return this._applyModification(F,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(_,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(A,e){return A.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(H,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(D,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(k,arguments)},tetrad:function(){return this._applyCombination(I,arguments)}},u.fromRatio=function(A,e){if("object"==typeof A){var t={};for(var n in A)A.hasOwnProperty(n)&&(t[n]="a"===n?A[n]:z(A[n]));A=t}return u(A,e)},u.equals=function(A,e){return!(!A||!e)&&u(A).toRgbString()==u(e).toRgbString()},u.random=function(){return u.fromRatio({r:d(),g:d(),b:d()})},u.mix=function(A,e,t){t=0===t?0:t||50;var n=u(A).toRgb(),i=u(e).toRgb(),r=t/100,o={r:(i.r-n.r)*r+n.r,g:(i.g-n.g)*r+n.g,b:(i.b-n.b)*r+n.b,a:(i.a-n.a)*r+n.a};return u(o)},u.readability=function(A,e){var t=u(A),n=u(e);return(i.max(t.getLuminance(),n.getLuminance())+.05)/(i.min(t.getLuminance(),n.getLuminance())+.05)},u.isReadable=function(A,e,t){var n,i,r=u.readability(A,e);switch(i=!1,n=J(t),n.level+n.size){case"AAsmall":case"AAAlarge":i=r>=4.5;break;case"AAlarge":i=r>=3;break;case"AAAsmall":i=r>=7;break}return i},u.mostReadable=function(A,e,t){var n,i,r,o,s=null,a=0;t=t||{},i=t.includeFallbackColors,r=t.level,o=t.size;for(var l=0;l<e.length;l++)n=u.readability(A,e[l]),n>a&&(a=n,s=u(e[l]));return u.isReadable(A,s,{level:r,size:o})||!i?s:(t.includeFallbackColors=!1,u.mostReadable(A,["#fff","#000"],t))};var L=u.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"},O=u.hexNames=M(L);function M(A){var e={};for(var t in A)A.hasOwnProperty(t)&&(e[A[t]]=t);return e}function T(A){return A=parseFloat(A),(isNaN(A)||A<0||A>1)&&(A=1),A}function K(A,e){R(A)&&(A="100%");var t=V(A);return A=l(e,c(0,parseFloat(A))),t&&(A=parseInt(A*e,10)/100),i.abs(A-e)<1e-6?1:A%e/parseFloat(e)}function N(A){return l(1,c(0,A))}function P(A){return parseInt(A,16)}function R(A){return"string"==typeof A&&-1!=A.indexOf(".")&&1===parseFloat(A)}function V(A){return"string"===typeof A&&-1!=A.indexOf("%")}function G(A){return 1==A.length?"0"+A:""+A}function z(A){return A<=1&&(A=100*A+"%"),A}function j(A){return i.round(255*parseFloat(A)).toString(16)}function Z(A){return P(A)/255}var W=function(){var A="[-\\+]?\\d+%?",e="[-\\+]?\\d*\\.\\d+%?",t="(?:"+e+")|(?:"+A+")",n="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",i="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?";return{CSS_UNIT:new RegExp(t),rgb:new RegExp("rgb"+n),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+n),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+n),hsva:new RegExp("hsva"+i),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 X(A){return!!W.CSS_UNIT.exec(A)}function Y(A){A=A.replace(r,"").replace(o,"").toLowerCase();var e,t=!1;if(L[A])A=L[A],t=!0;else if("transparent"==A)return{r:0,g:0,b:0,a:0,format:"name"};return(e=W.rgb.exec(A))?{r:e[1],g:e[2],b:e[3]}:(e=W.rgba.exec(A))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=W.hsl.exec(A))?{h:e[1],s:e[2],l:e[3]}:(e=W.hsla.exec(A))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=W.hsv.exec(A))?{h:e[1],s:e[2],v:e[3]}:(e=W.hsva.exec(A))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=W.hex8.exec(A))?{r:P(e[1]),g:P(e[2]),b:P(e[3]),a:Z(e[4]),format:t?"name":"hex8"}:(e=W.hex6.exec(A))?{r:P(e[1]),g:P(e[2]),b:P(e[3]),format:t?"name":"hex"}:(e=W.hex4.exec(A))?{r:P(e[1]+""+e[1]),g:P(e[2]+""+e[2]),b:P(e[3]+""+e[3]),a:Z(e[4]+""+e[4]),format:t?"name":"hex8"}:!!(e=W.hex3.exec(A))&&{r:P(e[1]+""+e[1]),g:P(e[2]+""+e[2]),b:P(e[3]+""+e[3]),format:t?"name":"hex"}}function J(A){var e,t;return A=A||{level:"AA",size:"small"},e=(A.level||"AA").toUpperCase(),t=(A.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA"),"small"!==t&&"large"!==t&&(t="small"),{level:e,size:t}}A.exports?A.exports=u:(n=function(){return u}.call(e,t,e,A),void 0===n||(A.exports=n))})(Math)},89:function(A,e){"use strict";e.Z=(A,e)=>{const t=A.__vccOpts||A;for(const[n,i]of e)t[n]=i;return t}},3647:function(A,e,t){var n=t(6095);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("29397b9c",n,!0,{sourceMap:!1,shadowMode:!1})},325:function(A,e,t){var n=t(6047);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("479d8be0",n,!0,{sourceMap:!1,shadowMode:!1})},5208:function(A,e,t){var n=t(9481);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("1e383f72",n,!0,{sourceMap:!1,shadowMode:!1})},1425:function(A,e,t){var n=t(5186);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("3855edf0",n,!0,{sourceMap:!1,shadowMode:!1})},1902:function(A,e,t){var n=t(3695);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("2f73e1a8",n,!0,{sourceMap:!1,shadowMode:!1})},3439:function(A,e,t){var n=t(1380);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("070aa0ef",n,!0,{sourceMap:!1,shadowMode:!1})},8016:function(A,e,t){var n=t(6278);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("8bcdd408",n,!0,{sourceMap:!1,shadowMode:!1})},193:function(A,e,t){var n=t(3468);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("17a63672",n,!0,{sourceMap:!1,shadowMode:!1})},1113:function(A,e,t){var n=t(5689);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("39c50172",n,!0,{sourceMap:!1,shadowMode:!1})},6320:function(A,e,t){var n=t(2410);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("5c6f2742",n,!0,{sourceMap:!1,shadowMode:!1})},3205:function(A,e,t){var n=t(3142);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("90803b82",n,!0,{sourceMap:!1,shadowMode:!1})},1979:function(A,e,t){var n=t(7953);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("418ed5a2",n,!0,{sourceMap:!1,shadowMode:!1})},6547:function(A,e,t){var n=t(3097);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("1f7c089b",n,!0,{sourceMap:!1,shadowMode:!1})},5233:function(A,e,t){var n=t(4339);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[A.id,n,""]]),n.locals&&(A.exports=n.locals);var i=t(7037).Z;i("491ed8fe",n,!0,{sourceMap:!1,shadowMode:!1})},7037:function(A,e,t){"use strict";function n(A,e){for(var t=[],n={},i=0;i<e.length;i++){var r=e[i],o=r[0],s=r[1],a=r[2],l=r[3],c={id:A+":"+i,css:s,media:a,sourceMap:l};n[o]?n[o].parts.push(c):t.push(n[o]={id:o,parts:[c]})}return t}t.d(e,{Z:function(){return g}});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,a=0,l=!1,c=function(){},d=null,u="data-vue-ssr-id",h="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(A,e,t,i){l=t,d=i||{};var o=n(A,e);return p(o),function(e){for(var t=[],i=0;i<o.length;i++){var s=o[i],a=r[s.id];a.refs--,t.push(a)}e?(o=n(A,e),p(o)):o=[];for(i=0;i<t.length;i++){a=t[i];if(0===a.refs){for(var l=0;l<a.parts.length;l++)a.parts[l]();delete r[a.id]}}}}function p(A){for(var e=0;e<A.length;e++){var t=A[e],n=r[t.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](t.parts[i]);for(;i<t.parts.length;i++)n.parts.push(m(t.parts[i]));n.parts.length>t.parts.length&&(n.parts.length=t.parts.length)}else{var o=[];for(i=0;i<t.parts.length;i++)o.push(m(t.parts[i]));r[t.id]={id:t.id,refs:1,parts:o}}}}function f(){var A=document.createElement("style");return A.type="text/css",o.appendChild(A),A}function m(A){var e,t,n=document.querySelector("style["+u+'~="'+A.id+'"]');if(n){if(l)return c;n.parentNode.removeChild(n)}if(h){var i=a++;n=s||(s=f()),e=w.bind(null,n,i,!1),t=w.bind(null,n,i,!0)}else n=f(),e=v.bind(null,n),t=function(){n.parentNode.removeChild(n)};return e(A),function(n){if(n){if(n.css===A.css&&n.media===A.media&&n.sourceMap===A.sourceMap)return;e(A=n)}else t()}}var B=function(){var A=[];return function(e,t){return A[e]=t,A.filter(Boolean).join("\n")}}();function w(A,e,t,n){var i=t?"":n.css;if(A.styleSheet)A.styleSheet.cssText=B(e,i);else{var r=document.createTextNode(i),o=A.childNodes;o[e]&&A.removeChild(o[e]),o.length?A.insertBefore(r,o[e]):A.appendChild(r)}}function v(A,e){var t=e.css,n=e.media,i=e.sourceMap;if(n&&A.setAttribute("media",n),d.ssrId&&A.setAttribute(u,e.id),i&&(t+="\n/*# sourceURL="+i.sources[0]+" */",t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),A.styleSheet)A.styleSheet.cssText=t;else{while(A.firstChild)A.removeChild(A.firstChild);A.appendChild(document.createTextNode(t))}}}},n={};function i(A){var t=n[A];if(void 0!==t)return t.exports;var r=n[A]={id:A,exports:{}};return e[A](r,r.exports,i),r.exports}!function(){i.n=function(A){var e=A&&A.__esModule?function(){return A["default"]}:function(){return A};return i.d(e,{a:e}),e}}(),function(){i.d=function(A,e){for(var t in e)i.o(e,t)&&!i.o(A,t)&&Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(A){if("object"===typeof window)return window}}()}(),function(){i.o=function(A,e){return Object.prototype.hasOwnProperty.call(A,e)}}(),function(){i.r=function(A){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})}}(),function(){i.p=""}();var r={};!function(){"use strict";if(i.r(r),i.d(r,{Alpha:function(){return it},Checkboard:function(){return et},Chrome:function(){return Mt},ColorMixin:function(){return p},Compact:function(){return v},EditableInput:function(){return V},Grayscale:function(){return E},Hue:function(){return iA},Material:function(){return j},Photoshop:function(){return Qe},Saturation:function(){return be},Sketch:function(){return at},Slider:function(){return aA},Swatches:function(){return ZA},Twitter:function(){return Wt},default:function(){return $t},version:function(){return Xt}}),"undefined"!==typeof window){var A=window.document.currentScript,e=A&&A.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(i.p=e[1])}var n={i8:"3.0.6"},o=t(9812);const s={role:"application","aria-label":"Compact color picker",class:"vc-compact"},a={class:"vc-compact-colors",role:"listbox"},l=["aria-label","aria-selected","onClick"],c={class:"vc-compact-dot"};function d(A,e,t,n,i,r){return(0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.createElementVNode)("ul",a,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(A.paletteUpperCase(t.palette),(A=>((0,o.openBlock)(),(0,o.createElementBlock)("li",{role:"option","aria-label":"color:"+A,"aria-selected":A===r.pick,class:(0,o.normalizeClass)(["vc-compact-color-item",{"vc-compact-color-item--white":"#FFFFFF"===A}]),key:A,style:(0,o.normalizeStyle)({background:A}),onClick:e=>r.handlerClick(A)},[(0,o.withDirectives)((0,o.createElementVNode)("div",c,null,512),[[o.vShow,A===r.pick]])],14,l)))),128))])])}var u=i(7013),h=i.n(u);function g(A={},e=0){const t=A&&A.a;let n;n=A&&A.hsl?h()(A.hsl):A&&A.hex&&A.hex.length>0?h()(A.hex):A&&A.hsv?h()(A.hsv):A&&A.rgba?h()(A.rgba):A&&A.rgb?h()(A.rgb):h()(A),!n||void 0!==n._a&&null!==n._a||n.setAlpha(t||1);const i=n.toHsl(),r=n.toHsv();return 0===i.s&&(r.h=i.h=A.h||A.hsl&&A.hsl.h||e||0),{hsl:i,hex:n.toHexString().toUpperCase(),hex8:n.toHex8String().toUpperCase(),rgba:n.toRgb(),hsv:r,oldHue:A.h||e||i.h,source:A.source,a:A.a||n.getAlpha()}}var p={props:["modelValue"],data(){return{val:g(this.modelValue)}},computed:{colors:{get(){return this.val},set(A){this.val=A,this.$emit("update:modelValue",A)}}},watch:{modelValue(A){this.val=g(A)}},methods:{colorChange(A,e){this.oldHue=this.colors.hsl.h,this.colors=g(A,e||this.oldHue)},isValidHex(A){return h()(A).isValid()},simpleCheckForValidColor(A){const e=["r","g","b","a","h","s","l","v"];let t=0,n=0;for(let i=0;i<e.length;i++){const r=e[i];A[r]&&(t++,isNaN(A[r])||n++)}if(t===n)return A},paletteUpperCase(A){return A.map((A=>A.toUpperCase()))},isTransparent(A){return 0===h()(A).getAlpha()}}};const f=["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#CCCCCC","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"];var m={name:"Compact",mixins:[p],props:{palette:{type:Array,default(){return f}}},components:{},computed:{pick(){return this.colors.hex.toUpperCase()}},methods:{handlerClick(A){this.colorChange({hex:A,source:"hex"})}}},B=(i(325),i(89));const w=(0,B.Z)(m,[["render",d]]);var v=w;const C={role:"application","aria-label":"Grayscale color picker",class:"vc-grayscale"},b={class:"vc-grayscale-colors",role:"listbox"},y=["aria-label","aria-selected","onClick"],_={class:"vc-grayscale-dot"};function Q(A,e,t,n,i,r){return(0,o.openBlock)(),(0,o.createElementBlock)("div",C,[(0,o.createElementVNode)("ul",b,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(A.paletteUpperCase(t.palette),(A=>((0,o.openBlock)(),(0,o.createElementBlock)("li",{role:"option","aria-label":"Color:"+A,"aria-selected":A===r.pick,key:A,class:(0,o.normalizeClass)(["vc-grayscale-color-item",{"vc-grayscale-color-item--white":"#FFFFFF"==A}]),style:(0,o.normalizeStyle)({background:A}),onClick:e=>r.handlerClick(A)},[(0,o.withDirectives)((0,o.createElementVNode)("div",_,null,512),[[o.vShow,A===r.pick]])],14,y)))),128))])])}const U=["#FFFFFF","#F2F2F2","#E6E6E6","#D9D9D9","#CCCCCC","#BFBFBF","#B3B3B3","#A6A6A6","#999999","#8C8C8C","#808080","#737373","#666666","#595959","#4D4D4D","#404040","#333333","#262626","#0D0D0D","#000000"];var F={name:"Grayscale",mixins:[p],props:{palette:{type:Array,default(){return U}}},components:{},computed:{pick(){return this.colors.hex.toUpperCase()}},methods:{handlerClick(A){this.colorChange({hex:A,source:"hex"})}}};i(5208);const x=(0,B.Z)(F,[["render",Q]]);var E=x;const k={role:"application","aria-label":"Material color picker",class:"vc-material"},I={class:"vc-material-split"},S={class:"vc-material-third"},H={class:"vc-material-third"},D={class:"vc-material-third"};function L(A,e,t,n,i,r){const s=(0,o.resolveComponent)("ed-in");return(0,o.openBlock)(),(0,o.createElementBlock)("div",k,[(0,o.createVNode)(s,{class:"vc-material-hex",label:"hex",modelValue:A.colors.hex,"onUpdate:modelValue":e[0]||(e[0]=e=>A.colors.hex=e),style:(0,o.normalizeStyle)({borderColor:A.colors.hex}),onChange:r.onChange},null,8,["modelValue","style","onChange"]),(0,o.createElementVNode)("div",I,[(0,o.createElementVNode)("div",S,[(0,o.createVNode)(s,{label:"r",modelValue:A.colors.rgba.r,"onUpdate:modelValue":e[1]||(e[1]=e=>A.colors.rgba.r=e),onChange:r.onChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",H,[(0,o.createVNode)(s,{label:"g",modelValue:A.colors.rgba.g,"onUpdate:modelValue":e[2]||(e[2]=e=>A.colors.rgba.g=e),onChange:r.onChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",D,[(0,o.createVNode)(s,{label:"b",modelValue:A.colors.rgba.b,"onUpdate:modelValue":e[3]||(e[3]=e=>A.colors.rgba.b=e),onChange:r.onChange},null,8,["modelValue","onChange"])])])])}const O={class:"vc-editable-input"},M=["aria-labelledby"],T=["for","id"],K={class:"vc-input__desc"};function N(A,e,t,n,i,r){return(0,o.openBlock)(),(0,o.createElementBlock)("div",O,[(0,o.withDirectives)((0,o.createElementVNode)("input",{"aria-labelledby":r.labelId,class:"vc-input__input","onUpdate:modelValue":e[0]||(e[0]=A=>r.val=A),onKeydown:e[1]||(e[1]=(...A)=>r.handleKeyDown&&r.handleKeyDown(...A)),onInput:e[2]||(e[2]=(...A)=>r.update&&r.update(...A)),ref:"input"},null,40,M),[[o.vModelText,r.val]]),(0,o.createElementVNode)("span",{for:t.label,class:"vc-input__label",id:r.labelId},(0,o.toDisplayString)(r.labelSpanText),9,T),(0,o.createElementVNode)("span",K,(0,o.toDisplayString)(t.desc),1)])}var P={name:"editableInput",props:{label:String,labelText:String,desc:String,modelValue:[String,Number],max:Number,min:Number,arrowOffset:{type:Number,default:1}},computed:{val:{get(){return this.modelValue},set(A){if(!(void 0!==this.max&&+A>this.max))return A;this.$refs.input.value=this.max}},labelId(){return`input__label__${this.label}__${Math.random().toString().slice(2,5)}`},labelSpanText(){return this.labelText||this.label}},methods:{update(A){this.handleChange(A.target.value)},handleChange(A){const e={};e[this.label]=A,(void 0===e.hex&&void 0===e["#"]||A.length>5)&&this.$emit("change",e)},handleKeyDown(A){let e=this.val;const t=Number(e);if(t){const n=this.arrowOffset||1;38===A.keyCode&&(e=t+n,this.handleChange(e),A.preventDefault()),40===A.keyCode&&(e=t-n,this.handleChange(e),A.preventDefault())}}}};i(1979);const R=(0,B.Z)(P,[["render",N]]);var V=R,G={name:"Material",mixins:[p],components:{"ed-in":V},methods:{onChange(A){A&&(A.hex?this.isValidHex(A.hex)&&this.colorChange({hex:A.hex,source:"hex"}):(A.r||A.g||A.b)&&this.colorChange({r:A.r||this.colors.rgba.r,g:A.g||this.colors.rgba.g,b:A.b||this.colors.rgba.b,a:A.a||this.colors.rgba.a,source:"rgba"}))}}};i(1425);const z=(0,B.Z)(G,[["render",L]]);var j=z;const Z={role:"application","aria-label":"Slider color picker",class:"vc-slider"},W={class:"vc-slider-hue-warp"},X={class:"vc-slider-swatches",role:"group"},Y=["data-index","aria-label","onClick"];function J(A,e,t,n,i,r){const s=(0,o.resolveComponent)("hue");return(0,o.openBlock)(),(0,o.createElementBlock)("div",Z,[(0,o.createElementVNode)("div",W,[(0,o.createVNode)(s,{modelValue:A.colors,"onUpdate:modelValue":e[0]||(e[0]=e=>A.colors=e),onChange:r.hueChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",X,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.normalizedSwatches,((e,t)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"vc-slider-swatch",key:t,"data-index":t,"aria-label":"color:"+A.colors.hex,role:"button",onClick:A=>r.handleSwClick(t,e)},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["vc-slider-swatch-picker",{"vc-slider-swatch-picker--active":r.isActive(e,t),"vc-slider-swatch-picker--white":1===e.l}]),style:(0,o.normalizeStyle)({background:"hsl("+A.colors.hsl.h+", "+100*e.s+"%, "+100*e.l+"%)"})},null,6)],8,Y)))),128))])])}const $=["aria-valuenow"],q=(0,o.createElementVNode)("div",{class:"vc-hue-picker"},null,-1),AA=[q];function eA(A,e,t,n,i,r){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["vc-hue",r.directionClass])},[(0,o.createElementVNode)("div",{class:"vc-hue-container",role:"slider","aria-valuenow":r.colors.hsl.h,"aria-valuemin":"0","aria-valuemax":"360",ref:"container",onMousedown:e[0]||(e[0]=(...A)=>r.handleMouseDown&&r.handleMouseDown(...A)),onTouchmove:e[1]||(e[1]=(...A)=>r.handleChange&&r.handleChange(...A)),onTouchstart:e[2]||(e[2]=(...A)=>r.handleChange&&r.handleChange(...A))},[(0,o.createElementVNode)("div",{class:"vc-hue-pointer",style:(0,o.normalizeStyle)({top:r.pointerTop,left:r.pointerLeft}),role:"presentation"},AA,4)],40,$)],2)}var tA={name:"Hue",props:{modelValue:Object,direction:{type:String,default:"horizontal"}},data(){return{oldHue:0,pullDirection:""}},computed:{colors(){const A=this.modelValue.hsl.h;return 0!==A&&A-this.oldHue>0&&(this.pullDirection="right"),0!==A&&A-this.oldHue<0&&(this.pullDirection="left"),this.oldHue=A,this.modelValue},directionClass(){return{"vc-hue--horizontal":"horizontal"===this.direction,"vc-hue--vertical":"vertical"===this.direction}},pointerTop(){return"vertical"===this.direction?0===this.colors.hsl.h&&"right"===this.pullDirection?0:-100*this.colors.hsl.h/360+100+"%":0},pointerLeft(){return"vertical"===this.direction?0:0===this.colors.hsl.h&&"right"===this.pullDirection?"100%":100*this.colors.hsl.h/360+"%"}},methods:{handleChange(A,e){!e&&A.preventDefault();const t=this.$refs.container;if(!t)return;const n=t.clientWidth,i=t.clientHeight,r=t.getBoundingClientRect().left+window.pageXOffset,o=t.getBoundingClientRect().top+window.pageYOffset,s=A.pageX||(A.touches?A.touches[0].pageX:0),a=A.pageY||(A.touches?A.touches[0].pageY:0),l=s-r,c=a-o;let d,u;"vertical"===this.direction?(c<0?d=360:c>i?d=0:(u=-100*c/i+100,d=360*u/100),this.colors.hsl.h!==d&&this.$emit("change",{h:d,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"})):(l<0?d=0:l>n?d=360:(u=100*l/n,d=360*u/100),this.colors.hsl.h!==d&&this.$emit("change",{h:d,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"}))},handleMouseDown(A){this.handleChange(A,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(A){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};i(6547);const nA=(0,B.Z)(tA,[["render",eA]]);var iA=nA;const rA=.5;var oA={name:"Slider",mixins:[p],props:{swatches:{type:Array,default(){return[{s:rA,l:.8},{s:rA,l:.65},{s:rA,l:.5},{s:rA,l:.35},{s:rA,l:.2}]}}},components:{hue:iA},computed:{normalizedSwatches(){const A=this.swatches;return A.map((A=>"object"!==typeof A?{s:rA,l:A}:A))}},methods:{isActive(A,e){const t=this.colors.hsl;return 1===t.l&&1===A.l||(0===t.l&&0===A.l||Math.abs(t.l-A.l)<.01&&Math.abs(t.s-A.s)<.01)},hueChange(A){this.colorChange(A)},handleSwClick(A,e){this.colorChange({h:this.colors.hsl.h,s:e.s,l:e.l,source:"hsl"})}}};i(8016);const sA=(0,B.Z)(oA,[["render",J]]);var aA=sA;const lA=["data-pick"],cA={class:"vc-swatches-box",role:"listbox"},dA=["aria-label","aria-selected","data-color","onClick"],uA={class:"vc-swatches-pick"},hA=(0,o.createElementVNode)("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24"},[(0,o.createElementVNode)("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})],-1),gA=[hA];function pA(A,e,t,n,i,r){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{role:"application","aria-label":"Swatches color picker",class:"vc-swatches","data-pick":r.pick},[(0,o.createElementVNode)("div",cA,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(t.palette,((A,e)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"vc-swatches-color-group",key:e},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(A,(A=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["vc-swatches-color-it",{"vc-swatches-color--white":"#FFFFFF"===A}]),role:"option","aria-label":"Color:"+A,"aria-selected":r.equal(A),key:A,"data-color":A,style:(0,o.normalizeStyle)({background:A}),onClick:e=>r.handlerClick(A)},[(0,o.withDirectives)((0,o.createElementVNode)("div",uA,gA,512),[[o.vShow,r.equal(A)]])],14,dA)))),128))])))),128))])],8,lA)}var fA={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},mA={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},BA={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},wA={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},vA={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},CA={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},bA={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},yA={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},_A={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},QA={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},UA={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},FA={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},xA={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},EA={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},kA={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},IA={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},SA={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},HA={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},DA={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},LA={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},OA={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},MA={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},TA={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},KA="#ffffff",NA="#000000",PA={red:fA,pink:mA,purple:BA,deepPurple:wA,indigo:vA,blue:CA,lightBlue:bA,cyan:yA,teal:_A,green:QA,lightGreen:UA,lime:FA,yellow:xA,amber:EA,orange:kA,deepOrange:IA,brown:SA,grey:HA,blueGrey:DA,darkText:LA,lightText:OA,darkIcons:MA,lightIcons:TA,white:KA,black:NA};const RA=["red","pink","purple","deepPurple","indigo","blue","lightBlue","cyan","teal","green","lightGreen","lime","yellow","amber","orange","deepOrange","brown","blueGrey","black"],VA=["900","700","500","300","100"],GA=(()=>{const A=[];return RA.forEach((e=>{let t=[];"black"===e.toLowerCase()||"white"===e.toLowerCase()?t=t.concat(["#000000","#FFFFFF"]):VA.forEach((A=>{const n=PA[e][A];t.push(n.toUpperCase())})),A.push(t)})),A})();var zA={name:"Swatches",mixins:[p],props:{palette:{type:Array,default(){return GA}}},computed:{pick(){return this.colors.hex}},methods:{equal(A){return A.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick(A){this.colorChange({hex:A,source:"hex"})}}};i(193);const jA=(0,B.Z)(zA,[["render",pA]]);var ZA=jA;const WA={role:"heading",class:"vc-ps-head"},XA={class:"vc-ps-body"},YA={class:"vc-ps-saturation-wrap"},JA={class:"vc-ps-hue-wrap"},$A=(0,o.createElementVNode)("div",{class:"vc-ps-hue-pointer"},[(0,o.createElementVNode)("i",{class:"vc-ps-hue-pointer--left"}),(0,o.createElementVNode)("i",{class:"vc-ps-hue-pointer--right"})],-1),qA={class:"vc-ps-previews"},Ae={class:"vc-ps-previews__label"},ee={class:"vc-ps-previews__swatches"},te=["aria-label"],ne=["aria-label"],ie={class:"vc-ps-previews__label"},re={key:0,class:"vc-ps-actions"},oe=["aria-label"],se=["aria-label"],ae={class:"vc-ps-fields"},le=(0,o.createElementVNode)("div",{class:"vc-ps-fields__divider"},null,-1),ce=(0,o.createElementVNode)("div",{class:"vc-ps-fields__divider"},null,-1);function de(A,e,t,n,i,r){const s=(0,o.resolveComponent)("saturation"),a=(0,o.resolveComponent)("hue"),l=(0,o.resolveComponent)("ed-in");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{role:"application","aria-label":"PhotoShop color picker",class:(0,o.normalizeClass)(["vc-photoshop",t.disableFields?"vc-photoshop__disable-fields":""])},[(0,o.createElementVNode)("div",WA,(0,o.toDisplayString)(t.head),1),(0,o.createElementVNode)("div",XA,[(0,o.createElementVNode)("div",YA,[(0,o.createVNode)(s,{modelValue:A.colors,"onUpdate:modelValue":e[0]||(e[0]=e=>A.colors=e),onChange:r.childChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",JA,[(0,o.createVNode)(a,{modelValue:A.colors,"onUpdate:modelValue":e[1]||(e[1]=e=>A.colors=e),onChange:r.childChange,direction:"vertical"},{default:(0,o.withCtx)((()=>[$A])),_:1},8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["vc-ps-controls",t.disableFields?"vc-ps-controls__disable-fields":""])},[(0,o.createElementVNode)("div",qA,[(0,o.createElementVNode)("div",Ae,(0,o.toDisplayString)(t.newLabel),1),(0,o.createElementVNode)("div",ee,[(0,o.createElementVNode)("div",{class:"vc-ps-previews__pr-color","aria-label":`New color is ${A.colors.hex}`,style:(0,o.normalizeStyle)({background:A.colors.hex})},null,12,te),(0,o.createElementVNode)("div",{class:"vc-ps-previews__pr-color","aria-label":`Current color is ${i.currentColor}`,style:(0,o.normalizeStyle)({background:i.currentColor}),onClick:e[2]||(e[2]=(...A)=>r.clickCurrentColor&&r.clickCurrentColor(...A))},null,12,ne)]),(0,o.createElementVNode)("div",ie,(0,o.toDisplayString)(t.currentLabel),1)]),t.disableFields?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",re,[(0,o.createElementVNode)("div",{class:"vc-ps-ac-btn",role:"button","aria-label":t.acceptLabel,onClick:e[3]||(e[3]=(...A)=>r.handleAccept&&r.handleAccept(...A))},(0,o.toDisplayString)(t.acceptLabel),9,oe),(0,o.createElementVNode)("div",{class:"vc-ps-ac-btn",role:"button","aria-label":t.cancelLabel,onClick:e[4]||(e[4]=(...A)=>r.handleCancel&&r.handleCancel(...A))},(0,o.toDisplayString)(t.cancelLabel),9,se),(0,o.createElementVNode)("div",ae,[(0,o.createVNode)(l,{label:"h",desc:"°",modelValue:r.hsv.h,onChange:r.inputChange},null,8,["modelValue","onChange"]),(0,o.createVNode)(l,{label:"s",desc:"%",modelValue:r.hsv.s,max:100,onChange:r.inputChange},null,8,["modelValue","onChange"]),(0,o.createVNode)(l,{label:"v",desc:"%",modelValue:r.hsv.v,max:100,onChange:r.inputChange},null,8,["modelValue","onChange"]),le,(0,o.createVNode)(l,{label:"r",modelValue:A.colors.rgba.r,onChange:r.inputChange},null,8,["modelValue","onChange"]),(0,o.createVNode)(l,{label:"g",modelValue:A.colors.rgba.g,onChange:r.inputChange},null,8,["modelValue","onChange"]),(0,o.createVNode)(l,{label:"b",modelValue:A.colors.rgba.b,onChange:r.inputChange},null,8,["modelValue","onChange"]),ce,(0,o.createVNode)(l,{label:"#",class:"vc-ps-fields__hex",modelValue:r.hex,onChange:r.inputChange},null,8,["modelValue","onChange"])]),t.hasResetButton?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:"vc-ps-ac-btn","aria-label":"reset",onClick:e[5]||(e[5]=(...A)=>r.handleReset&&r.handleReset(...A))},(0,o.toDisplayString)(t.resetLabel),1)):(0,o.createCommentVNode)("",!0)]))],2)])],2)}const ue=(0,o.createElementVNode)("div",{class:"vc-saturation--white"},null,-1),he=(0,o.createElementVNode)("div",{class:"vc-saturation--black"},null,-1),ge=(0,o.createElementVNode)("div",{class:"vc-saturation-circle"},null,-1),pe=[ge];function fe(A,e,t,n,i,r){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"vc-saturation",style:(0,o.normalizeStyle)({background:r.bgColor}),ref:"container",onMousedown:e[0]||(e[0]=(...A)=>r.handleMouseDown&&r.handleMouseDown(...A)),onTouchmove:e[1]||(e[1]=(...A)=>r.handleChange&&r.handleChange(...A)),onTouchstart:e[2]||(e[2]=(...A)=>r.handleChange&&r.handleChange(...A))},[ue,he,(0,o.createElementVNode)("div",{class:"vc-saturation-pointer",style:(0,o.normalizeStyle)({top:r.pointerTop,left:r.pointerLeft})},pe,4)],36)}var me=i(9428),Be=i.n(me),we=i(9289),ve={name:"Saturation",props:{modelValue:Object},computed:{colors(){return this.modelValue},bgColor(){return`hsl(${this.colors.hsv.h}, 100%, 50%)`},pointerTop(){return-100*this.colors.hsv.v+1+100+"%"},pointerLeft(){return 100*this.colors.hsv.s+"%"}},methods:{throttle:we(((A,e)=>{A(e)}),20,{leading:!0,trailing:!1}),handleChange(A,e){!e&&A.preventDefault();const t=this.$refs.container;if(!t)return;const n=t.clientWidth,i=t.clientHeight,r=t.getBoundingClientRect().left+window.pageXOffset,o=t.getBoundingClientRect().top+window.pageYOffset,s=A.pageX||(A.touches?A.touches[0].pageX:0),a=A.pageY||(A.touches?A.touches[0].pageY:0),l=Be()(s-r,0,n),c=Be()(a-o,0,i),d=l/n,u=Be()(-c/i+1,0,1);this.throttle(this.onChange,{h:this.colors.hsv.h,s:d,v:u,a:this.colors.hsv.a,source:"hsva"})},onChange(A){this.$emit("change",A)},handleMouseDown(A){window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(A){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};i(5233);const Ce=(0,B.Z)(ve,[["render",fe]]);var be=Ce,ye={name:"Photoshop",mixins:[p],props:{head:{type:String,default:"Color Picker"},disableFields:{type:Boolean,default:!1},hasResetButton:{type:Boolean,default:!1},acceptLabel:{type:String,default:"OK"},cancelLabel:{type:String,default:"Cancel"},resetLabel:{type:String,default:"Reset"},newLabel:{type:String,default:"new"},currentLabel:{type:String,default:"current"}},components:{saturation:be,hue:iA,"ed-in":V},data(){return{currentColor:"#FFF"}},computed:{hsv(){const A=this.colors.hsv;return{h:A.h.toFixed(),s:(100*A.s).toFixed(),v:(100*A.v).toFixed()}},hex(){const A=this.colors.hex;return A&&A.replace("#","")}},created(){this.currentColor=this.colors.hex},methods:{childChange(A){this.colorChange(A)},inputChange(A){A&&(A["#"]?this.isValidHex(A["#"])&&this.colorChange({hex:A["#"],source:"hex"}):A.r||A.g||A.b||A.a?this.colorChange({r:A.r||this.colors.rgba.r,g:A.g||this.colors.rgba.g,b:A.b||this.colors.rgba.b,a:A.a||this.colors.rgba.a,source:"rgba"}):(A.h||A.s||A.v)&&this.colorChange({h:A.h||this.colors.hsv.h,s:A.s/100||this.colors.hsv.s,v:A.v/100||this.colors.hsv.v,source:"hsv"}))},clickCurrentColor(){this.colorChange({hex:this.currentColor,source:"hex"})},handleAccept(){this.$emit("ok")},handleCancel(){this.$emit("cancel")},handleReset(){this.$emit("reset")}}};i(1902);const _e=(0,B.Z)(ye,[["render",de]]);var Qe=_e;const Ue={class:"vc-sketch-saturation-wrap"},Fe={class:"vc-sketch-controls"},xe={class:"vc-sketch-sliders"},Ee={class:"vc-sketch-hue-wrap"},ke={key:0,class:"vc-sketch-alpha-wrap"},Ie={class:"vc-sketch-color-wrap"},Se=["aria-label"],He={key:0,class:"vc-sketch-field"},De={class:"vc-sketch-field--double"},Le={class:"vc-sketch-field--single"},Oe={class:"vc-sketch-field--single"},Me={class:"vc-sketch-field--single"},Te={key:0,class:"vc-sketch-field--single"},Ke={class:"vc-sketch-presets",role:"group","aria-label":"A color preset, pick one to set as current color"},Ne=["aria-label","onClick"],Pe=["aria-label","onClick"],Re={class:"vc-botton-container"};function Ve(A,e,t,n,i,r){const s=(0,o.resolveComponent)("saturation"),a=(0,o.resolveComponent)("hue"),l=(0,o.resolveComponent)("alpha"),c=(0,o.resolveComponent)("checkboard"),d=(0,o.resolveComponent)("ed-in");return i.showView?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,role:"application","aria-label":"Sketch color picker",class:(0,o.normalizeClass)(["vc-sketch",t.disableAlpha?"vc-sketch__disable-alpha":""])},[(0,o.createElementVNode)("div",Ue,[(0,o.createVNode)(s,{modelValue:A.colors,"onUpdate:modelValue":e[0]||(e[0]=e=>A.colors=e),onChange:r.childChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",Fe,[(0,o.createElementVNode)("div",xe,[(0,o.createElementVNode)("div",Ee,[(0,o.createVNode)(a,{modelValue:A.colors,"onUpdate:modelValue":e[1]||(e[1]=e=>A.colors=e),onChange:r.childChange},null,8,["modelValue","onChange"])]),t.disableAlpha?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",ke,[(0,o.createVNode)(l,{modelValue:A.colors,"onUpdate:modelValue":e[2]||(e[2]=e=>A.colors=e),onChange:r.childChange},null,8,["modelValue","onChange"])]))]),(0,o.createElementVNode)("div",Ie,[(0,o.createElementVNode)("div",{"aria-label":`Current color is ${r.activeColor}`,class:"vc-sketch-active-color",style:(0,o.normalizeStyle)({background:r.activeColor})},null,12,Se),(0,o.createVNode)(c)])]),t.disableFields?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",He,[(0,o.createElementVNode)("div",De,[(0,o.createVNode)(d,{label:"hex",modelValue:r.hex,onChange:r.inputChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",Le,[(0,o.createVNode)(d,{label:"r",modelValue:A.colors.rgba.r,onChange:r.inputChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",Oe,[(0,o.createVNode)(d,{label:"g",modelValue:A.colors.rgba.g,onChange:r.inputChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",Me,[(0,o.createVNode)(d,{label:"b",modelValue:A.colors.rgba.b,onChange:r.inputChange},null,8,["modelValue","onChange"])]),t.disableAlpha?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",Te,[(0,o.createVNode)(d,{label:"a",modelValue:A.colors.a,"arrow-offset":.01,max:1,onChange:r.inputChange},null,8,["modelValue","arrow-offset","onChange"])]))])),(0,o.createElementVNode)("div",Ke,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(t.presetColors,(e=>((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[A.isTransparent(e)?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:"else-"+e,"aria-label":"Color:"+e,class:"vc-sketch-presets-color",onClick:A=>r.handlePreset(e)},[(0,o.createVNode)(c)],8,Pe)):((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"vc-sketch-presets-color","aria-label":"Color:"+e,key:"if-"+e,style:(0,o.normalizeStyle)({background:e}),onClick:A=>r.handlePreset(e)},null,12,Ne))],64)))),256))]),(0,o.createElementVNode)("div",Re,[(0,o.createElementVNode)("div",{class:"vc-botton-left",onClick:e[3]||(e[3]=(...A)=>r.handleCancel&&r.handleCancel(...A))},"取消"),(0,o.createElementVNode)("div",{class:"vc-botton-right",onClick:e[4]||(e[4]=(...A)=>r.handleConfirm&&r.handleConfirm(...A))},"确定")])],2)):(0,o.createCommentVNode)("",!0)}const Ge={class:"vc-alpha"},ze={class:"vc-alpha-checkboard-wrap"},je=(0,o.createElementVNode)("div",{class:"vc-alpha-picker"},null,-1),Ze=[je];function We(A,e,t,n,i,r){const s=(0,o.resolveComponent)("checkboard");return(0,o.openBlock)(),(0,o.createElementBlock)("div",Ge,[(0,o.createElementVNode)("div",ze,[(0,o.createVNode)(s)]),(0,o.createElementVNode)("div",{class:"vc-alpha-gradient",style:(0,o.normalizeStyle)({background:r.gradientColor})},null,4),(0,o.createElementVNode)("div",{class:"vc-alpha-container",ref:"container",onMousedown:e[0]||(e[0]=(...A)=>r.handleMouseDown&&r.handleMouseDown(...A)),onTouchmove:e[1]||(e[1]=(...A)=>r.handleChange&&r.handleChange(...A)),onTouchstart:e[2]||(e[2]=(...A)=>r.handleChange&&r.handleChange(...A))},[(0,o.createElementVNode)("div",{class:"vc-alpha-pointer",style:(0,o.normalizeStyle)({left:100*r.colors.a+"%"})},Ze,4)],544)])}function Xe(A,e,t,n,i,r){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"vc-checkerboard",style:(0,o.normalizeStyle)(r.bgStyle)},null,4)}const Ye={};var Je={name:"Checkboard",props:{size:{type:[Number,String],default:8},white:{type:String,default:"#fff"},grey:{type:String,default:"#e6e6e6"}},computed:{bgStyle(){return{"background-image":"url("+qe(this.white,this.grey,this.size)+")"}}}};function $e(A,e,t){if("undefined"===typeof document)return null;const n=document.createElement("canvas");n.width=n.height=2*t;const i=n.getContext("2d");return i?(i.fillStyle=A,i.fillRect(0,0,n.width,n.height),i.fillStyle=e,i.fillRect(0,0,t,t),i.translate(t,t),i.fillRect(0,0,t,t),n.toDataURL()):null}function qe(A,e,t){const n=A+","+e+","+t;if(Ye[n])return Ye[n];{const i=$e(A,e,t);return Ye[n]=i,i}}i(3205);const At=(0,B.Z)(Je,[["render",Xe]]);var et=At,tt={name:"Alpha",props:{modelValue:Object,onChange:Function},components:{checkboard:et},computed:{colors(){return this.modelValue},gradientColor(){const A=this.colors.rgba,e=[A.r,A.g,A.b].join(",");return"linear-gradient(to right, rgba("+e+", 0) 0%, rgba("+e+", 1) 100%)"}},methods:{handleChange(A,e){!e&&A.preventDefault();const t=this.$refs.container;if(!t)return;const n=t.clientWidth,i=t.getBoundingClientRect().left+window.pageXOffset,r=A.pageX||(A.touches?A.touches[0].pageX:0),o=r-i;let s;s=o<0?0:o>n?1:Math.round(100*o/n)/100,this.colors.a!==s&&this.$emit("change",{h:this.colors.hsl.h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:s,source:"rgba"})},handleMouseDown(A){this.handleChange(A,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};i(6320);const nt=(0,B.Z)(tt,[["render",We]]);var it=nt;const rt=["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF","rgba(0,0,0,0)"];var ot={name:"Sketch",mixins:[p],components:{saturation:be,hue:iA,alpha:it,"ed-in":V,checkboard:et},props:{show:{type:Boolean,default(){return!0}},presetColors:{type:Array,default(){return rt}},disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1},changColor:{type:Function}},watch:{show(A,e){this.showView=A}},data(){return{showView:this.show}},computed:{hex(){let A;return A=this.colors.a<1?this.colors.hex8:this.colors.hex,A.replace("#","")},activeColor(){const A=this.colors.rgba;return"rgba("+[A.r,A.g,A.b,A.a].join(",")+")"}},methods:{handleCancel(){const A={isOk:!1};this.$emit("changButton",A)},handleConfirm(){const A={isOk:!0,activeColor:this.activeColor,hex:this.hex};this.$emit("changButton",A)},handlePreset(A){this.colorChange({hex:A,source:"hex"})},childChange(A){this.colorChange(A)},inputChange(A){A&&(A.hex?this.isValidHex(A.hex)&&this.colorChange({hex:A.hex,source:"hex"}):(A.r||A.g||A.b||A.a)&&this.colorChange({r:A.r||this.colors.rgba.r,g:A.g||this.colors.rgba.g,b:A.b||this.colors.rgba.b,a:A.a||this.colors.rgba.a,source:"rgba"}))}}};i(3439);const st=(0,B.Z)(ot,[["render",Ve]]);var at=st;const lt={class:"vc-chrome-saturation-wrap"},ct={class:"vc-chrome-body"},dt={class:"vc-chrome-controls"},ut={class:"vc-chrome-color-wrap"},ht=["aria-label"],gt={class:"vc-chrome-sliders"},pt={class:"vc-chrome-hue-wrap"},ft={key:0,class:"vc-chrome-alpha-wrap"},mt={key:0,class:"vc-chrome-fields-wrap"},Bt={class:"vc-chrome-fields"},wt={class:"vc-chrome-field"},vt={class:"vc-chrome-fields"},Ct={class:"vc-chrome-field"},bt={class:"vc-chrome-field"},yt={class:"vc-chrome-field"},_t={key:0,class:"vc-chrome-field"},Qt={class:"vc-chrome-fields"},Ut={class:"vc-chrome-field"},Ft={class:"vc-chrome-field"},xt={class:"vc-chrome-field"},Et={key:0,class:"vc-chrome-field"},kt={class:"vc-chrome-toggle-icon"},It=(0,o.createElementVNode)("path",{fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"},null,-1),St=[It],Ht={class:"vc-chrome-toggle-icon-highlight"};function Dt(A,e,t,n,i,r){const s=(0,o.resolveComponent)("saturation"),a=(0,o.resolveComponent)("checkboard"),l=(0,o.resolveComponent)("hue"),c=(0,o.resolveComponent)("alpha"),d=(0,o.resolveComponent)("ed-in");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{role:"application","aria-label":"Chrome color picker",class:(0,o.normalizeClass)(["vc-chrome",t.disableAlpha?"vc-chrome__disable-alpha":""])},[(0,o.createElementVNode)("div",lt,[(0,o.createVNode)(s,{modelValue:A.colors,"onUpdate:modelValue":e[0]||(e[0]=e=>A.colors=e),onChange:r.childChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",ct,[(0,o.createElementVNode)("div",dt,[(0,o.createElementVNode)("div",ut,[(0,o.createElementVNode)("div",{"aria-label":`current color is ${A.colors.hex}`,class:"vc-chrome-active-color",style:(0,o.normalizeStyle)({background:r.activeColor})},null,12,ht),t.disableAlpha?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(a,{key:0}))]),(0,o.createElementVNode)("div",gt,[(0,o.createElementVNode)("div",pt,[(0,o.createVNode)(l,{modelValue:A.colors,"onUpdate:modelValue":e[1]||(e[1]=e=>A.colors=e),onChange:r.childChange},null,8,["modelValue","onChange"])]),t.disableAlpha?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",ft,[(0,o.createVNode)(c,{modelValue:A.colors,"onUpdate:modelValue":e[2]||(e[2]=e=>A.colors=e),onChange:r.childChange},null,8,["modelValue","onChange"])]))])]),t.disableFields?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",mt,[(0,o.withDirectives)((0,o.createElementVNode)("div",Bt,[(0,o.createElementVNode)("div",wt,[r.hasAlpha?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(d,{key:0,label:"hex",modelValue:A.colors.hex,onChange:r.inputChange},null,8,["modelValue","onChange"])),r.hasAlpha?((0,o.openBlock)(),(0,o.createBlock)(d,{key:1,label:"hex",modelValue:A.colors.hex8,onChange:r.inputChange},null,8,["modelValue","onChange"])):(0,o.createCommentVNode)("",!0)])],512),[[o.vShow,0===i.fieldsIndex]]),(0,o.withDirectives)((0,o.createElementVNode)("div",vt,[(0,o.createElementVNode)("div",Ct,[(0,o.createVNode)(d,{label:"r",modelValue:A.colors.rgba.r,onChange:r.inputChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",bt,[(0,o.createVNode)(d,{label:"g",modelValue:A.colors.rgba.g,onChange:r.inputChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",yt,[(0,o.createVNode)(d,{label:"b",modelValue:A.colors.rgba.b,onChange:r.inputChange},null,8,["modelValue","onChange"])]),t.disableAlpha?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",_t,[(0,o.createVNode)(d,{label:"a",modelValue:A.colors.a,"arrow-offset":.01,max:1,onChange:r.inputChange},null,8,["modelValue","arrow-offset","onChange"])]))],512),[[o.vShow,1===i.fieldsIndex]]),(0,o.withDirectives)((0,o.createElementVNode)("div",Qt,[(0,o.createElementVNode)("div",Ut,[(0,o.createVNode)(d,{label:"h",modelValue:r.hsl.h,onChange:r.inputChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",Ft,[(0,o.createVNode)(d,{label:"s",modelValue:r.hsl.s,onChange:r.inputChange},null,8,["modelValue","onChange"])]),(0,o.createElementVNode)("div",xt,[(0,o.createVNode)(d,{label:"l",modelValue:r.hsl.l,onChange:r.inputChange},null,8,["modelValue","onChange"])]),t.disableAlpha?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",Et,[(0,o.createVNode)(d,{label:"a",modelValue:A.colors.a,"arrow-offset":.01,max:1,onChange:r.inputChange},null,8,["modelValue","arrow-offset","onChange"])]))],512),[[o.vShow,2===i.fieldsIndex]]),(0,o.createElementVNode)("div",{class:"vc-chrome-toggle-btn",role:"button","aria-label":"Change another color definition",onClick:e[6]||(e[6]=(...A)=>r.toggleViews&&r.toggleViews(...A))},[(0,o.createElementVNode)("div",kt,[((0,o.openBlock)(),(0,o.createElementBlock)("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24",onMouseover:e[3]||(e[3]=(...A)=>r.showHighlight&&r.showHighlight(...A)),onMouseenter:e[4]||(e[4]=(...A)=>r.showHighlight&&r.showHighlight(...A)),onMouseout:e[5]||(e[5]=(...A)=>r.hideHighlight&&r.hideHighlight(...A))},St,32))]),(0,o.withDirectives)((0,o.createElementVNode)("div",Ht,null,512),[[o.vShow,i.highlight]])])]))])],2)}var Lt={name:"Chrome",mixins:[p],props:{disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},components:{saturation:be,hue:iA,alpha:it,"ed-in":V,checkboard:et},data(){return{fieldsIndex:0,highlight:!1}},computed:{hsl(){const{h:A,s:e,l:t}=this.colors.hsl;return{h:A.toFixed(),s:`${(100*e).toFixed()}%`,l:`${(100*t).toFixed()}%`}},activeColor(){const A=this.colors.rgba;return"rgba("+[A.r,A.g,A.b,A.a].join(",")+")"},hasAlpha(){return this.colors.a<1}},methods:{childChange(A){this.colorChange(A)},inputChange(A){if(A)if(A.hex)this.isValidHex(A.hex)&&this.colorChange({hex:A.hex,source:"hex"});else if(A.r||A.g||A.b||A.a)this.colorChange({r:A.r||this.colors.rgba.r,g:A.g||this.colors.rgba.g,b:A.b||this.colors.rgba.b,a:A.a||this.colors.rgba.a,source:"rgba"});else if(A.h||A.s||A.l){const e=A.s?A.s.replace("%","")/100:this.colors.hsl.s,t=A.l?A.l.replace("%","")/100:this.colors.hsl.l;this.colorChange({h:A.h||this.colors.hsl.h,s:e,l:t,source:"hsl"})}},toggleViews(){this.fieldsIndex>=2?this.fieldsIndex=0:this.fieldsIndex++},showHighlight(){this.highlight=!0},hideHighlight(){this.highlight=!1}}};i(3647);const Ot=(0,B.Z)(Lt,[["render",Dt]]);var Mt=Ot;const Tt=(0,o.createElementVNode)("div",{class:"vc-twitter-triangle-shadow"},null,-1),Kt=(0,o.createElementVNode)("div",{class:"vc-twitter-triangle"},null,-1),Nt={class:"vc-twitter-body"},Pt=["onClick"],Rt=(0,o.createElementVNode)("div",{class:"vc-twitter-hash"},"#",-1),Vt=(0,o.createElementVNode)("div",{class:"vc-twitter-clear"},null,-1);function Gt(A,e,t,n,i,r){const s=(0,o.resolveComponent)("editable-input");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["vc-twitter",{"vc-twitter-hide-triangle ":"hide"===t.triangle,"vc-twitter-top-left-triangle ":"top-left"===t.triangle,"vc-twitter-top-right-triangle ":"top-right"===t.triangle}]),style:(0,o.normalizeStyle)({width:"number"===typeof t.width?`${t.width}px`:t.width})},[Tt,Kt,(0,o.createElementVNode)("div",Nt,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(t.defaultColors,((A,e)=>((0,o.openBlock)(),(0,o.createElementBlock)("span",{class:"vc-twitter-swatch",style:(0,o.normalizeStyle)({background:A,boxShadow:`0 0 4px ${r.equal(A)?A:"transparent"}`}),key:e,onClick:e=>r.handlerClick(A)},null,12,Pt)))),128)),Rt,(0,o.createVNode)(s,{label:"#",modelValue:r.hex,onChange:r.inputChange},null,8,["modelValue","onChange"]),Vt])],6)}const zt=["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"];var jt={name:"Twitter",mixins:[p],components:{editableInput:V},props:{width:{type:[String,Number],default:276},defaultColors:{type:Array,default(){return zt}},triangle:{default:"top-left",validator(A){return["hide","top-left","top-right"].includes(A)}}},computed:{hsv(){const A=this.colors.hsv;return{h:A.h.toFixed(),s:(100*A.s).toFixed(),v:(100*A.v).toFixed()}},hex(){const A=this.colors.hex;return A&&A.replace("#","")}},methods:{equal(A){return A.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick(A){this.colorChange({hex:A,source:"hex"})},inputChange(A){A&&(A["#"]?this.isValidHex(A["#"])&&this.colorChange({hex:A["#"],source:"hex"}):A.r||A.g||A.b||A.a?this.colorChange({r:A.r||this.colors.rgba.r,g:A.g||this.colors.rgba.g,b:A.b||this.colors.rgba.b,a:A.a||this.colors.rgba.a,source:"rgba"}):(A.h||A.s||A.v)&&this.colorChange({h:A.h||this.colors.hsv.h,s:A.s/100||this.colors.hsv.s,v:A.v/100||this.colors.hsv.v,source:"hsv"}))}}};i(1113);const Zt=(0,B.Z)(jt,[["render",Gt]]);var Wt=Zt;const Xt=n.i8,Yt={version:Xt,Compact:v,Grayscale:E,Twitter:Wt,Material:j,Slider:aA,Swatches:ZA,Photoshop:Qe,Sketch:at,Chrome:Mt,Alpha:it,Checkboard:et,EditableInput:V,Hue:iA,Saturation:be,ColorMixin:p};"object"===typeof process&&"[object process]"===String(process)||(window.VueColor=Yt);var Jt=Yt,$t=Jt}(),A.exports=r})()},3162:function(A,e,t){var n,i,r;(function(t,o){i=[],n=o,r="function"===typeof n?n.apply(e,i):n,void 0===r||(A.exports=r)})(0,(function(){"use strict";function e(A,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(A.type)?new Blob(["\ufeff",A],{type:A.type}):A}function n(A,e,t){var n=new XMLHttpRequest;n.open("GET",A),n.responseType="blob",n.onload=function(){a(n.response,e,t)},n.onerror=function(){console.error("could not download file")},n.send()}function i(A){var e=new XMLHttpRequest;e.open("HEAD",A,!1);try{e.send()}catch(A){}return 200<=e.status&&299>=e.status}function r(A){try{A.dispatchEvent(new MouseEvent("click"))}catch(n){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),A.dispatchEvent(e)}}var o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof t.g&&t.g.global===t.g?t.g:void 0,s=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=o.saveAs||("object"!=typeof window||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(A,e,t){var s=o.URL||o.webkitURL,a=document.createElement("a");e=e||A.name||"download",a.download=e,a.rel="noopener","string"==typeof A?(a.href=A,a.origin===location.origin?r(a):i(a.href)?n(A,e,t):r(a,a.target="_blank")):(a.href=s.createObjectURL(A),setTimeout((function(){s.revokeObjectURL(a.href)}),4e4),setTimeout((function(){r(a)}),0))}:"msSaveOrOpenBlob"in navigator?function(A,t,o){if(t=t||A.name||"download","string"!=typeof A)navigator.msSaveOrOpenBlob(e(A,o),t);else if(i(A))n(A,t,o);else{var s=document.createElement("a");s.href=A,s.target="_blank",setTimeout((function(){r(s)}))}}:function(A,e,t,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof A)return n(A,e,t);var r="application/octet-stream"===A.type,a=/constructor/i.test(o.HTMLElement)||o.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||r&&a||s)&&"undefined"!=typeof FileReader){var c=new FileReader;c.onloadend=function(){var A=c.result;A=l?A:A.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=A:location=A,i=null},c.readAsDataURL(A)}else{var d=o.URL||o.webkitURL,u=d.createObjectURL(A);i?i.location=u:location.href=u,i=null,setTimeout((function(){d.revokeObjectURL(u)}),4e4)}});o.saveAs=a.saveAs=a,A.exports=a}))},1120:function(A){
/*!
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/
(function(e,t){A.exports=t()})(0,(function(){"use strict";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var A=function(e,t){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(A[t]=e[t])},A(e,t)};function e(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var t=function(){return t=Object.assign||function(A){for(var e,t=1,n=arguments.length;t<n;t++)for(var i in e=arguments[t],e)Object.prototype.hasOwnProperty.call(e,i)&&(A[i]=e[i]);return A},t.apply(this,arguments)};function n(A,e,t,n){function i(A){return A instanceof t?A:new t((function(e){e(A)}))}return new(t||(t=Promise))((function(t,r){function o(A){try{a(n.next(A))}catch(ze){r(ze)}}function s(A){try{a(n["throw"](A))}catch(ze){r(ze)}}function a(A){A.done?t(A.value):i(A.value).then(o,s)}a((n=n.apply(A,e||[])).next())}))}function i(A,e){var t,n,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(A){return function(e){return a([A,e])}}function a(r){if(t)throw new TypeError("Generator is already executing.");while(o)try{if(t=1,n&&(i=2&r[0]?n["return"]:r[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,r[1])).done)return i;switch(n=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,n=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){o.label=r[1];break}if(6===r[0]&&o.label<i[1]){o.label=i[1],i=r;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(r);break}i[2]&&o.ops.pop(),o.trys.pop();continue}r=e.call(A,o)}catch(ze){r=[6,ze],n=0}finally{t=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}}function r(A,e,t){if(t||2===arguments.length)for(var n,i=0,r=e.length;i<r;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return A.concat(n||e)}for(var o=function(){function A(A,e,t,n){this.left=A,this.top=e,this.width=t,this.height=n}return A.prototype.add=function(e,t,n,i){return new A(this.left+e,this.top+t,this.width+n,this.height+i)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var n=Array.from(t).find((function(A){return 0!==A.width}));return n?new A(n.left+e.windowBounds.left,n.top+e.windowBounds.top,n.width,n.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),s=function(A,e){return o.fromClientRect(A,e.getBoundingClientRect())},a=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var n=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),i=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new o(0,0,n,i)},l=function(A){var e=[],t=0,n=A.length;while(t<n){var i=A.charCodeAt(t++);if(i>=55296&&i<=56319&&t<n){var r=A.charCodeAt(t++);56320===(64512&r)?e.push(((1023&i)<<10)+(1023&r)+65536):(e.push(i),t--)}else e.push(i)}return e},c=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";var n=[],i=-1,r="";while(++i<t){var o=A[i];o<=65535?n.push(o):(o-=65536,n.push(55296+(o>>10),o%1024+56320)),(i+1===t||n.length>16384)&&(r+=String.fromCharCode.apply(String,n),n.length=0)}return r},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"===typeof Uint8Array?[]:new Uint8Array(256),h=0;h<d.length;h++)u[d.charCodeAt(h)]=h;for(var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f<g.length;f++)p[g.charCodeAt(f)]=f;for(var m=function(A){var e,t,n,i,r,o=.75*A.length,s=A.length,a=0;"="===A[A.length-1]&&(o--,"="===A[A.length-2]&&o--);var l="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),c=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<s;e+=4)t=p[A.charCodeAt(e)],n=p[A.charCodeAt(e+1)],i=p[A.charCodeAt(e+2)],r=p[A.charCodeAt(e+3)],c[a++]=t<<2|n>>4,c[a++]=(15&n)<<4|i>>2,c[a++]=(3&i)<<6|63&r;return l},B=function(A){for(var e=A.length,t=[],n=0;n<e;n+=2)t.push(A[n+1]<<8|A[n]);return t},w=function(A){for(var e=A.length,t=[],n=0;n<e;n+=4)t.push(A[n+3]<<24|A[n+2]<<16|A[n+1]<<8|A[n]);return t},v=5,C=11,b=2,y=C-v,_=65536>>v,Q=1<<v,U=Q-1,F=1024>>v,x=_+F,E=x,k=32,I=E+k,S=65536>>C,H=1<<y,D=H-1,L=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},O=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},M=function(A,e){var t=m(A),n=Array.isArray(t)?w(t):new Uint32Array(t),i=Array.isArray(t)?B(t):new Uint16Array(t),r=24,o=L(i,r/2,n[4]/2),s=2===n[5]?L(i,(r+n[4])/2):O(n,Math.ceil((r+n[4])/4));return new T(n[0],n[1],n[2],n[3],o,s)},T=function(){function A(A,e,t,n,i,r){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=n,this.index=i,this.data=r}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>v],e=(e<<b)+(A&U),this.data[e];if(A<=65535)return e=this.index[_+(A-55296>>v)],e=(e<<b)+(A&U),this.data[e];if(A<this.highStart)return e=I-S+(A>>C),e=this.index[e],e+=A>>v&D,e=this.index[e],e=(e<<b)+(A&U),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",N="undefined"===typeof Uint8Array?[]:new Uint8Array(256),P=0;P<K.length;P++)N[K.charCodeAt(P)]=P;var R="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",V=50,G=1,z=2,j=3,Z=4,W=5,X=7,Y=8,J=9,$=10,q=11,AA=12,eA=13,tA=14,nA=15,iA=16,rA=17,oA=18,sA=19,aA=20,lA=21,cA=22,dA=23,uA=24,hA=25,gA=26,pA=27,fA=28,mA=29,BA=30,wA=31,vA=32,CA=33,bA=34,yA=35,_A=36,QA=37,UA=38,FA=39,xA=40,EA=41,kA=42,IA=43,SA=[9001,65288],HA="!",DA="×",LA="÷",OA=M(R),MA=[BA,_A],TA=[G,z,j,W],KA=[$,Y],NA=[pA,gA],PA=TA.concat(KA),RA=[UA,FA,xA,bA,yA],VA=[nA,eA],GA=function(A,e){void 0===e&&(e="strict");var t=[],n=[],i=[];return A.forEach((function(A,r){var o=OA.get(A);if(o>V?(i.push(!0),o-=V):i.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return n.push(r),t.push(iA);if(o===Z||o===q){if(0===r)return n.push(r),t.push(BA);var s=t[r-1];return-1===PA.indexOf(s)?(n.push(n[r-1]),t.push(s)):(n.push(r),t.push(BA))}return n.push(r),o===wA?t.push("strict"===e?lA:QA):o===kA||o===mA?t.push(BA):o===IA?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(QA):t.push(BA):void t.push(o)})),[n,t,i]},zA=function(A,e,t,n){var i=n[t];if(Array.isArray(A)?-1!==A.indexOf(i):A===i){var r=t;while(r<=n.length){r++;var o=n[r];if(o===e)return!0;if(o!==$)break}}if(i===$){r=t;while(r>0){r--;var s=n[r];if(Array.isArray(A)?-1!==A.indexOf(s):A===s){var a=t;while(a<=n.length){a++;o=n[a];if(o===e)return!0;if(o!==$)break}}if(s!==$)break}}return!1},jA=function(A,e){var t=A;while(t>=0){var n=e[t];if(n!==$)return n;t--}return 0},ZA=function(A,e,t,n,i){if(0===t[n])return DA;var r=n-1;if(Array.isArray(i)&&!0===i[r])return DA;var o=r-1,s=r+1,a=e[r],l=o>=0?e[o]:0,c=e[s];if(a===z&&c===j)return DA;if(-1!==TA.indexOf(a))return HA;if(-1!==TA.indexOf(c))return DA;if(-1!==KA.indexOf(c))return DA;if(jA(r,e)===Y)return LA;if(OA.get(A[r])===q)return DA;if((a===vA||a===CA)&&OA.get(A[s])===q)return DA;if(a===X||c===X)return DA;if(a===J)return DA;if(-1===[$,eA,nA].indexOf(a)&&c===J)return DA;if(-1!==[rA,oA,sA,uA,fA].indexOf(c))return DA;if(jA(r,e)===cA)return DA;if(zA(dA,cA,r,e))return DA;if(zA([rA,oA],lA,r,e))return DA;if(zA(AA,AA,r,e))return DA;if(a===$)return LA;if(a===dA||c===dA)return DA;if(c===iA||a===iA)return LA;if(-1!==[eA,nA,lA].indexOf(c)||a===tA)return DA;if(l===_A&&-1!==VA.indexOf(a))return DA;if(a===fA&&c===_A)return DA;if(c===aA)return DA;if(-1!==MA.indexOf(c)&&a===hA||-1!==MA.indexOf(a)&&c===hA)return DA;if(a===pA&&-1!==[QA,vA,CA].indexOf(c)||-1!==[QA,vA,CA].indexOf(a)&&c===gA)return DA;if(-1!==MA.indexOf(a)&&-1!==NA.indexOf(c)||-1!==NA.indexOf(a)&&-1!==MA.indexOf(c))return DA;if(-1!==[pA,gA].indexOf(a)&&(c===hA||-1!==[cA,nA].indexOf(c)&&e[s+1]===hA)||-1!==[cA,nA].indexOf(a)&&c===hA||a===hA&&-1!==[hA,fA,uA].indexOf(c))return DA;if(-1!==[hA,fA,uA,rA,oA].indexOf(c)){var d=r;while(d>=0){var u=e[d];if(u===hA)return DA;if(-1===[fA,uA].indexOf(u))break;d--}}if(-1!==[pA,gA].indexOf(c)){d=-1!==[rA,oA].indexOf(a)?o:r;while(d>=0){u=e[d];if(u===hA)return DA;if(-1===[fA,uA].indexOf(u))break;d--}}if(UA===a&&-1!==[UA,FA,bA,yA].indexOf(c)||-1!==[FA,bA].indexOf(a)&&-1!==[FA,xA].indexOf(c)||-1!==[xA,yA].indexOf(a)&&c===xA)return DA;if(-1!==RA.indexOf(a)&&-1!==[aA,gA].indexOf(c)||-1!==RA.indexOf(c)&&a===pA)return DA;if(-1!==MA.indexOf(a)&&-1!==MA.indexOf(c))return DA;if(a===uA&&-1!==MA.indexOf(c))return DA;if(-1!==MA.concat(hA).indexOf(a)&&c===cA&&-1===SA.indexOf(A[s])||-1!==MA.concat(hA).indexOf(c)&&a===oA)return DA;if(a===EA&&c===EA){var h=t[r],g=1;while(h>0){if(h--,e[h]!==EA)break;g++}if(g%2!==0)return DA}return a===vA&&c===CA?DA:LA},WA=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=GA(A,e.lineBreak),n=t[0],i=t[1],r=t[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(i=i.map((function(A){return-1!==[hA,BA,kA].indexOf(A)?QA:A})));var o="keep-all"===e.wordBreak?r.map((function(e,t){return e&&A[t]>=19968&&A[t]<=40959})):void 0;return[n,i,o]},XA=function(){function A(A,e,t,n){this.codePoints=A,this.required=e===HA,this.start=t,this.end=n}return A.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),YA=function(A,e){var t=l(A),n=WA(t,e),i=n[0],r=n[1],o=n[2],s=t.length,a=0,c=0;return{next:function(){if(c>=s)return{done:!0,value:null};var A=DA;while(c<s&&(A=ZA(t,r,i,++c,o))===DA);if(A!==DA||c===s){var e=new XA(t,A,a,c);return a=c,{value:e,done:!1}}return{done:!0,value:null}}}},JA=1,$A=2,qA=4,Ae=8,ee=10,te=47,ne=92,ie=9,re=32,oe=34,se=61,ae=35,le=36,ce=37,de=39,ue=40,he=41,ge=95,pe=45,fe=33,me=60,Be=62,we=64,ve=91,Ce=93,be=61,ye=123,_e=63,Qe=125,Ue=124,Fe=126,xe=128,Ee=65533,ke=42,Ie=43,Se=44,He=58,De=59,Le=46,Oe=0,Me=8,Te=11,Ke=14,Ne=31,Pe=127,Re=-1,Ve=48,Ge=97,ze=101,je=102,Ze=117,We=122,Xe=65,Ye=69,Je=70,$e=85,qe=90,At=function(A){return A>=Ve&&A<=57},et=function(A){return A>=55296&&A<=57343},tt=function(A){return At(A)||A>=Xe&&A<=Je||A>=Ge&&A<=je},nt=function(A){return A>=Ge&&A<=We},it=function(A){return A>=Xe&&A<=qe},rt=function(A){return nt(A)||it(A)},ot=function(A){return A>=xe},st=function(A){return A===ee||A===ie||A===re},at=function(A){return rt(A)||ot(A)||A===ge},lt=function(A){return at(A)||At(A)||A===pe},ct=function(A){return A>=Oe&&A<=Me||A===Te||A>=Ke&&A<=Ne||A===Pe},dt=function(A,e){return A===ne&&e!==ee},ut=function(A,e,t){return A===pe?at(e)||dt(e,t):!!at(A)||!(A!==ne||!dt(A,e))},ht=function(A,e,t){return A===Ie||A===pe?!!At(e)||e===Le&&At(t):At(A===Le?e:A)},gt=function(A){var e=0,t=1;A[e]!==Ie&&A[e]!==pe||(A[e]===pe&&(t=-1),e++);var n=[];while(At(A[e]))n.push(A[e++]);var i=n.length?parseInt(c.apply(void 0,n),10):0;A[e]===Le&&e++;var r=[];while(At(A[e]))r.push(A[e++]);var o=r.length,s=o?parseInt(c.apply(void 0,r),10):0;A[e]!==Ye&&A[e]!==ze||e++;var a=1;A[e]!==Ie&&A[e]!==pe||(A[e]===pe&&(a=-1),e++);var l=[];while(At(A[e]))l.push(A[e++]);var d=l.length?parseInt(c.apply(void 0,l),10):0;return t*(i+s*Math.pow(10,-o))*Math.pow(10,a*d)},pt={type:2},ft={type:3},mt={type:4},Bt={type:13},wt={type:8},vt={type:21},Ct={type:9},bt={type:10},yt={type:11},_t={type:12},Qt={type:14},Ut={type:23},Ft={type:1},xt={type:25},Et={type:24},kt={type:26},It={type:27},St={type:28},Ht={type:29},Dt={type:31},Lt={type:32},Ot=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(l(A))},A.prototype.read=function(){var A=[],e=this.consumeToken();while(e!==Lt)A.push(e),e=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case oe:return this.consumeStringToken(oe);case ae:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(lt(e)||dt(t,n)){var i=ut(e,t,n)?$A:JA,r=this.consumeName();return{type:5,value:r,flags:i}}break;case le:if(this.peekCodePoint(0)===se)return this.consumeCodePoint(),Bt;break;case de:return this.consumeStringToken(de);case ue:return pt;case he:return ft;case ke:if(this.peekCodePoint(0)===se)return this.consumeCodePoint(),Qt;break;case Ie:if(ht(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Se:return mt;case pe:var o=A,s=this.peekCodePoint(0),a=this.peekCodePoint(1);if(ht(o,s,a))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(ut(o,s,a))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(s===pe&&a===Be)return this.consumeCodePoint(),this.consumeCodePoint(),Et;break;case Le:if(ht(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case te:if(this.peekCodePoint(0)===ke){this.consumeCodePoint();while(1){var l=this.consumeCodePoint();if(l===ke&&(l=this.consumeCodePoint(),l===te))return this.consumeToken();if(l===Re)return this.consumeToken()}}break;case He:return kt;case De:return It;case me:if(this.peekCodePoint(0)===fe&&this.peekCodePoint(1)===pe&&this.peekCodePoint(2)===pe)return this.consumeCodePoint(),this.consumeCodePoint(),xt;break;case we:var d=this.peekCodePoint(0),u=this.peekCodePoint(1),h=this.peekCodePoint(2);if(ut(d,u,h)){r=this.consumeName();return{type:7,value:r}}break;case ve:return St;case ne:if(dt(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case Ce:return Ht;case be:if(this.peekCodePoint(0)===se)return this.consumeCodePoint(),wt;break;case ye:return yt;case Qe:return _t;case Ze:case $e:var g=this.peekCodePoint(0),p=this.peekCodePoint(1);return g!==Ie||!tt(p)&&p!==_e||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Ue:if(this.peekCodePoint(0)===se)return this.consumeCodePoint(),Ct;if(this.peekCodePoint(0)===Ue)return this.consumeCodePoint(),vt;break;case Fe:if(this.peekCodePoint(0)===se)return this.consumeCodePoint(),bt;break;case Re:return Lt}return st(A)?(this.consumeWhiteSpace(),Dt):At(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):at(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:c(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return"undefined"===typeof A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){var A=[],e=this.consumeCodePoint();while(tt(e)&&A.length<6)A.push(e),e=this.consumeCodePoint();var t=!1;while(e===_e&&A.length<6)A.push(e),e=this.consumeCodePoint(),t=!0;if(t){var n=parseInt(c.apply(void 0,A.map((function(A){return A===_e?Ve:A}))),16),i=parseInt(c.apply(void 0,A.map((function(A){return A===_e?Je:A}))),16);return{type:30,start:n,end:i}}var r=parseInt(c.apply(void 0,A),16);if(this.peekCodePoint(0)===pe&&tt(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();var o=[];while(tt(e)&&o.length<6)o.push(e),e=this.consumeCodePoint();i=parseInt(c.apply(void 0,o),16);return{type:30,start:r,end:i}}return{type:30,start:r,end:r}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&this.peekCodePoint(0)===ue?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ue?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Re)return{type:22,value:""};var e=this.peekCodePoint(0);if(e===de||e===oe){var t=this.consumeStringToken(this.consumeCodePoint());return 0===t.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Re||this.peekCodePoint(0)===he)?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),Ut)}while(1){var n=this.consumeCodePoint();if(n===Re||n===he)return{type:22,value:c.apply(void 0,A)};if(st(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Re||this.peekCodePoint(0)===he?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Ut);if(n===oe||n===de||n===ue||ct(n))return this.consumeBadUrlRemnants(),Ut;if(n===ne){if(!dt(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ut;A.push(this.consumeEscapedCodePoint())}else A.push(n)}},A.prototype.consumeWhiteSpace=function(){while(st(this.peekCodePoint(0)))this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){while(1){var A=this.consumeCodePoint();if(A===he||A===Re)return;dt(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){var e=5e4,t="";while(A>0){var n=Math.min(e,A);t+=c.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),t},A.prototype.consumeStringToken=function(A){var e="",t=0;do{var n=this._value[t];if(n===Re||void 0===n||n===A)return e+=this.consumeStringSlice(t),{type:0,value:e};if(n===ee)return this._value.splice(0,t),Ft;if(n===ne){var i=this._value[t+1];i!==Re&&void 0!==i&&(i===ee?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):dt(n,i)&&(e+=this.consumeStringSlice(t),e+=c(this.consumeEscapedCodePoint()),t=-1))}t++}while(1)},A.prototype.consumeNumber=function(){var A=[],e=qA,t=this.peekCodePoint(0);t!==Ie&&t!==pe||A.push(this.consumeCodePoint());while(At(this.peekCodePoint(0)))A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(t===Le&&At(n)){A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Ae;while(At(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}t=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((t===Ye||t===ze)&&((n===Ie||n===pe)&&At(i)||At(n))){A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Ae;while(At(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}return[gt(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),r=this.peekCodePoint(2);if(ut(n,i,r)){var o=this.consumeName();return{type:15,number:e,flags:t,unit:o}}return n===ce?(this.consumeCodePoint(),{type:16,number:e,flags:t}):{type:17,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(tt(A)){var e=c(A);while(tt(this.peekCodePoint(0))&&e.length<6)e+=c(this.consumeCodePoint());st(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||et(t)||t>1114111?Ee:t}return A===Re?Ee:A},A.prototype.consumeName=function(){var A="";while(1){var e=this.consumeCodePoint();if(lt(e))A+=c(e);else{if(!dt(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=c(this.consumeEscapedCodePoint())}}},A}(),Mt=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new Ot;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){var A=this.consumeToken();while(31===A.type)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){var A=[];while(1){var e=this.consumeComponentValue();if(32===e.type)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){var e={type:A,values:[]},t=this.consumeToken();while(1){if(32===t.type||jt(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},A.prototype.consumeFunction=function(A){var e={name:A.value,values:[],type:18};while(1){var t=this.consumeToken();if(32===t.type||3===t.type)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return"undefined"===typeof A?Lt:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),Tt=function(A){return 15===A.type},Kt=function(A){return 17===A.type},Nt=function(A){return 20===A.type},Pt=function(A){return 0===A.type},Rt=function(A,e){return Nt(A)&&A.value===e},Vt=function(A){return 31!==A.type},Gt=function(A){return 31!==A.type&&4!==A.type},zt=function(A){var e=[],t=[];return A.forEach((function(A){if(4===A.type){if(0===t.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(t),void(t=[])}31!==A.type&&t.push(A)})),t.length&&e.push(t),e},jt=function(A,e){return 11===e&&12===A.type||(28===e&&29===A.type||2===e&&3===A.type)},Zt=function(A){return 17===A.type||15===A.type},Wt=function(A){return 16===A.type||Zt(A)},Xt=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Yt={type:17,number:0,flags:qA},Jt={type:16,number:50,flags:qA},$t={type:16,number:100,flags:qA},qt=function(A,e,t){var n=A[0],i=A[1];return[An(n,e),An("undefined"!==typeof i?i:n,t)]},An=function(A,e){if(16===A.type)return A.number/100*e;if(Tt(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},en="deg",tn="grad",nn="rad",rn="turn",on={name:"angle",parse:function(A,e){if(15===e.type)switch(e.unit){case en:return Math.PI*e.number/180;case tn:return Math.PI/200*e.number;case nn:return e.number;case rn:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")}},sn=function(A){return 15===A.type&&(A.unit===en||A.unit===tn||A.unit===nn||A.unit===rn)},an=function(A){var e=A.filter(Nt).map((function(A){return A.value})).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Yt,Yt];case"to top":case"bottom":return ln(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Yt,$t];case"to right":case"left":return ln(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[$t,$t];case"to bottom":case"top":return ln(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[$t,Yt];case"to left":case"right":return ln(270)}return 0},ln=function(A){return Math.PI*A/180},cn={name:"color",parse:function(A,e){if(18===e.type){var t=Bn[e.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(5===e.type){if(3===e.value.length){var n=e.value.substring(0,1),i=e.value.substring(1,2),r=e.value.substring(2,3);return hn(parseInt(n+n,16),parseInt(i+i,16),parseInt(r+r,16),1)}if(4===e.value.length){n=e.value.substring(0,1),i=e.value.substring(1,2),r=e.value.substring(2,3);var o=e.value.substring(3,4);return hn(parseInt(n+n,16),parseInt(i+i,16),parseInt(r+r,16),parseInt(o+o,16)/255)}if(6===e.value.length){n=e.value.substring(0,2),i=e.value.substring(2,4),r=e.value.substring(4,6);return hn(parseInt(n,16),parseInt(i,16),parseInt(r,16),1)}if(8===e.value.length){n=e.value.substring(0,2),i=e.value.substring(2,4),r=e.value.substring(4,6),o=e.value.substring(6,8);return hn(parseInt(n,16),parseInt(i,16),parseInt(r,16),parseInt(o,16)/255)}}if(20===e.type){var s=vn[e.value.toUpperCase()];if("undefined"!==typeof s)return s}return vn.TRANSPARENT}},dn=function(A){return 0===(255&A)},un=function(A){var e=255&A,t=255&A>>8,n=255&A>>16,i=255&A>>24;return e<255?"rgba("+i+","+n+","+t+","+e/255+")":"rgb("+i+","+n+","+t+")"},hn=function(A,e,t,n){return(A<<24|e<<16|t<<8|Math.round(255*n)<<0)>>>0},gn=function(A,e){if(17===A.type)return A.number;if(16===A.type){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},pn=function(A,e){var t=e.filter(Gt);if(3===t.length){var n=t.map(gn),i=n[0],r=n[1],o=n[2];return hn(i,r,o,1)}if(4===t.length){var s=t.map(gn),a=(i=s[0],r=s[1],o=s[2],s[3]);return hn(i,r,o,a)}return 0};function fn(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<.5?e:t<2/3?6*(e-A)*(2/3-t)+A:A}var mn=function(A,e){var t=e.filter(Gt),n=t[0],i=t[1],r=t[2],o=t[3],s=(17===n.type?ln(n.number):on.parse(A,n))/(2*Math.PI),a=Wt(i)?i.number/100:0,l=Wt(r)?r.number/100:0,c="undefined"!==typeof o&&Wt(o)?An(o,1):1;if(0===a)return hn(255*l,255*l,255*l,1);var d=l<=.5?l*(a+1):l+a-l*a,u=2*l-d,h=fn(u,d,s+1/3),g=fn(u,d,s),p=fn(u,d,s-1/3);return hn(255*h,255*g,255*p,c)},Bn={hsl:mn,hsla:mn,rgb:pn,rgba:pn},wn=function(A,e){return cn.parse(A,Mt.create(e).parseComponentValue())},vn={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Cn={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(Nt(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},bn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},yn=function(A,e){var t=cn.parse(A,e[0]),n=e[1];return n&&Wt(n)?{color:t,stop:n}:{color:t,stop:null}},_n=function(A,e){var t=A[0],n=A[A.length-1];null===t.stop&&(t.stop=Yt),null===n.stop&&(n.stop=$t);for(var i=[],r=0,o=0;o<A.length;o++){var s=A[o].stop;if(null!==s){var a=An(s,e);a>r?i.push(a):i.push(r),r=a}else i.push(null)}var l=null;for(o=0;o<i.length;o++){var c=i[o];if(null===c)null===l&&(l=o);else if(null!==l){for(var d=o-l,u=i[l-1],h=(c-u)/(d+1),g=1;g<=d;g++)i[l+g-1]=h*g;l=null}}return A.map((function(A,t){var n=A.color;return{color:n,stop:Math.max(Math.min(1,i[t]/e),0)}}))},Qn=function(A,e,t){var n=e/2,i=t/2,r=An(A[0],e)-n,o=i-An(A[1],t);return(Math.atan2(o,r)+2*Math.PI)%(2*Math.PI)},Un=function(A,e,t){var n="number"===typeof A?A:Qn(A,e,t),i=Math.abs(e*Math.sin(n))+Math.abs(t*Math.cos(n)),r=e/2,o=t/2,s=i/2,a=Math.sin(n-Math.PI/2)*s,l=Math.cos(n-Math.PI/2)*s;return[i,r-l,r+l,o-a,o+a]},Fn=function(A,e){return Math.sqrt(A*A+e*e)},xn=function(A,e,t,n,i){var r=[[0,0],[0,e],[A,0],[A,e]];return r.reduce((function(A,e){var r=e[0],o=e[1],s=Fn(t-r,n-o);return(i?s<A.optimumDistance:s>A.optimumDistance)?{optimumCorner:e,optimumDistance:s}:A}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},En=function(A,e,t,n,i){var r=0,o=0;switch(A.size){case 0:0===A.shape?r=o=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-i)):1===A.shape&&(r=Math.min(Math.abs(e),Math.abs(e-n)),o=Math.min(Math.abs(t),Math.abs(t-i)));break;case 2:if(0===A.shape)r=o=Math.min(Fn(e,t),Fn(e,t-i),Fn(e-n,t),Fn(e-n,t-i));else if(1===A.shape){var s=Math.min(Math.abs(t),Math.abs(t-i))/Math.min(Math.abs(e),Math.abs(e-n)),a=xn(n,i,e,t,!0),l=a[0],c=a[1];r=Fn(l-e,(c-t)/s),o=s*r}break;case 1:0===A.shape?r=o=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-i)):1===A.shape&&(r=Math.max(Math.abs(e),Math.abs(e-n)),o=Math.max(Math.abs(t),Math.abs(t-i)));break;case 3:if(0===A.shape)r=o=Math.max(Fn(e,t),Fn(e,t-i),Fn(e-n,t),Fn(e-n,t-i));else if(1===A.shape){s=Math.max(Math.abs(t),Math.abs(t-i))/Math.max(Math.abs(e),Math.abs(e-n));var d=xn(n,i,e,t,!1);l=d[0],c=d[1];r=Fn(l-e,(c-t)/s),o=s*r}break}return Array.isArray(A.size)&&(r=An(A.size[0],n),o=2===A.size.length?An(A.size[1],i):r),[r,o]},kn=function(A,e){var t=ln(180),n=[];return zt(e).forEach((function(e,i){if(0===i){var r=e[0];if(20===r.type&&"to"===r.value)return void(t=an(e));if(sn(r))return void(t=on.parse(A,r))}var o=yn(A,e);n.push(o)})),{angle:t,stops:n,type:1}},In=function(A,e){var t=ln(180),n=[];return zt(e).forEach((function(e,i){if(0===i){var r=e[0];if(20===r.type&&-1!==["top","left","right","bottom"].indexOf(r.value))return void(t=an(e));if(sn(r))return void(t=(on.parse(A,r)+ln(270))%ln(360))}var o=yn(A,e);n.push(o)})),{angle:t,stops:n,type:1}},Sn=function(A,e){var t=ln(180),n=[],i=1,r=0,o=3,s=[];return zt(e).forEach((function(e,t){var r=e[0];if(0===t){if(Nt(r)&&"linear"===r.value)return void(i=1);if(Nt(r)&&"radial"===r.value)return void(i=2)}if(18===r.type)if("from"===r.name){var o=cn.parse(A,r.values[0]);n.push({stop:Yt,color:o})}else if("to"===r.name){o=cn.parse(A,r.values[0]);n.push({stop:$t,color:o})}else if("color-stop"===r.name){var s=r.values.filter(Gt);if(2===s.length){o=cn.parse(A,s[1]);var a=s[0];Kt(a)&&n.push({stop:{type:16,number:100*a.number,flags:a.flags},color:o})}}})),1===i?{angle:(t+ln(180))%ln(360),stops:n,type:i}:{size:o,shape:r,stops:n,position:s,type:i}},Hn="closest-side",Dn="farthest-side",Ln="closest-corner",On="farthest-corner",Mn="circle",Tn="ellipse",Kn="cover",Nn="contain",Pn=function(A,e){var t=0,n=3,i=[],r=[];return zt(e).forEach((function(e,o){var s=!0;if(0===o){var a=!1;s=e.reduce((function(A,e){if(a)if(Nt(e))switch(e.value){case"center":return r.push(Jt),A;case"top":case"left":return r.push(Yt),A;case"right":case"bottom":return r.push($t),A}else(Wt(e)||Zt(e))&&r.push(e);else if(Nt(e))switch(e.value){case Mn:return t=0,!1;case Tn:return t=1,!1;case"at":return a=!0,!1;case Hn:return n=0,!1;case Kn:case Dn:return n=1,!1;case Nn:case Ln:return n=2,!1;case On:return n=3,!1}else if(Zt(e)||Wt(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A}),s)}if(s){var l=yn(A,e);i.push(l)}})),{size:n,shape:t,stops:i,position:r,type:2}},Rn=function(A,e){var t=0,n=3,i=[],r=[];return zt(e).forEach((function(e,o){var s=!0;if(0===o?s=e.reduce((function(A,e){if(Nt(e))switch(e.value){case"center":return r.push(Jt),!1;case"top":case"left":return r.push(Yt),!1;case"right":case"bottom":return r.push($t),!1}else if(Wt(e)||Zt(e))return r.push(e),!1;return A}),s):1===o&&(s=e.reduce((function(A,e){if(Nt(e))switch(e.value){case Mn:return t=0,!1;case Tn:return t=1,!1;case Nn:case Hn:return n=0,!1;case Dn:return n=1,!1;case Ln:return n=2,!1;case Kn:case On:return n=3,!1}else if(Zt(e)||Wt(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A}),s)),s){var a=yn(A,e);i.push(a)}})),{size:n,shape:t,stops:i,position:r,type:2}},Vn=function(A){return 1===A.type},Gn=function(A){return 2===A.type},zn={name:"image",parse:function(A,e){if(22===e.type){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(18===e.type){var n=Wn[e.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function jn(A){return!(20===A.type&&"none"===A.value)&&(18!==A.type||!!Wn[A.name])}var Zn,Wn={"linear-gradient":kn,"-moz-linear-gradient":In,"-ms-linear-gradient":In,"-o-linear-gradient":In,"-webkit-linear-gradient":In,"radial-gradient":Pn,"-moz-radial-gradient":Rn,"-ms-radial-gradient":Rn,"-o-radial-gradient":Rn,"-webkit-radial-gradient":Rn,"-webkit-gradient":Sn},Xn={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e.filter((function(A){return Gt(A)&&jn(A)})).map((function(e){return zn.parse(A,e)}))}},Yn={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(Nt(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Jn={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return zt(e).map((function(A){return A.filter(Wt)})).map(Xt)}},$n={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return zt(e).map((function(A){return A.filter(Nt).map((function(A){return A.value})).join(" ")})).map(qn)}},qn=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};(function(A){A["AUTO"]="auto",A["CONTAIN"]="contain",A["COVER"]="cover"})(Zn||(Zn={}));var Ai,ei={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return zt(e).map((function(A){return A.filter(ti)}))}},ti=function(A){return Nt(A)||Wt(A)},ni=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},ii=ni("top"),ri=ni("right"),oi=ni("bottom"),si=ni("left"),ai=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return Xt(e.filter(Wt))}}},li=ai("top-left"),ci=ai("top-right"),di=ai("bottom-right"),ui=ai("bottom-left"),hi=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},gi=hi("top"),pi=hi("right"),fi=hi("bottom"),mi=hi("left"),Bi=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Tt(e)?e.number:0}}},wi=Bi("top"),vi=Bi("right"),Ci=Bi("bottom"),bi=Bi("left"),yi={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_i={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},Qi={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(Nt).reduce((function(A,e){return A|Ui(e.value)}),0)}},Ui=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Fi={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},xi={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}};(function(A){A["NORMAL"]="normal",A["STRICT"]="strict"})(Ai||(Ai={}));var Ei,ki={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return Ai.STRICT;case"normal":default:return Ai.NORMAL}}},Ii={name:"line-height",initialValue:"normal",prefix:!1,type:4},Si=function(A,e){return Nt(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:Wt(A)?An(A,e):e},Hi={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return 20===e.type&&"none"===e.value?null:zn.parse(A,e)}},Di={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Li={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Oi=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},Mi=Oi("top"),Ti=Oi("right"),Ki=Oi("bottom"),Ni=Oi("left"),Pi={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(Nt).map((function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}}))}},Ri={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},Vi=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Gi=Vi("top"),zi=Vi("right"),ji=Vi("bottom"),Zi=Vi("left"),Wi={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Xi={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Yi={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&Rt(e[0],"none")?[]:zt(e).map((function(e){for(var t={color:vn.TRANSPARENT,offsetX:Yt,offsetY:Yt,blur:Yt},n=0,i=0;i<e.length;i++){var r=e[i];Zt(r)?(0===n?t.offsetX=r:1===n?t.offsetY=r:t.blur=r,n++):t.color=cn.parse(A,r)}return t}))}},Ji={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},$i={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(20===e.type&&"none"===e.value)return null;if(18===e.type){var t=er[e.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},qi=function(A){var e=A.filter((function(A){return 17===A.type})).map((function(A){return A.number}));return 6===e.length?e:null},Ar=function(A){var e=A.filter((function(A){return 17===A.type})).map((function(A){return A.number})),t=e[0],n=e[1];e[2],e[3];var i=e[4],r=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var o=e[12],s=e[13];return e[14],e[15],16===e.length?[t,n,i,r,o,s]:null},er={matrix:qi,matrix3d:Ar},tr={type:16,number:50,flags:qA},nr=[tr,tr],ir={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(Wt);return 2!==t.length?nr:[t[0],t[1]]}},rr={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}};(function(A){A["NORMAL"]="normal",A["BREAK_ALL"]="break-all",A["KEEP_ALL"]="keep-all"})(Ei||(Ei={}));for(var or={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Ei.BREAK_ALL;case"keep-all":return Ei.KEEP_ALL;case"normal":default:return Ei.NORMAL}}},sr={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(20===e.type)return{auto:!0,order:0};if(Kt(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},ar={name:"time",parse:function(A,e){if(15===e.type)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},lr={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Kt(e)?e.number:1}},cr={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},dr={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(Nt).map((function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(A){return 0!==A}))}},ur={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],n=[];return e.forEach((function(A){switch(A.type){case 20:case 0:t.push(A.value);break;case 17:t.push(A.number.toString());break;case 4:n.push(t.join(" ")),t.length=0;break}})),t.length&&n.push(t.join(" ")),n.map((function(A){return-1===A.indexOf(" ")?A:"'"+A+"'"}))}},hr={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},gr={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(Kt(e))return e.number;if(Nt(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},pr={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(Nt).map((function(A){return A.value}))}},fr={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},mr=function(A,e){return 0!==(A&e)},Br={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e}},wr={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;for(var n=[],i=e.filter(Vt),r=0;r<i.length;r++){var o=i[r],s=i[r+1];if(20===o.type){var a=s&&Kt(s)?s.number:1;n.push({counter:o.value,increment:a})}}return n}},vr={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return[];for(var t=[],n=e.filter(Vt),i=0;i<n.length;i++){var r=n[i],o=n[i+1];if(Nt(r)&&"none"!==r.value){var s=o&&Kt(o)?o.number:0;t.push({counter:r.value,reset:s})}}return t}},Cr={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(Tt).map((function(e){return ar.parse(A,e)}))}},br={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;var n=[],i=e.filter(Pt);if(i.length%2!==0)return null;for(var r=0;r<i.length;r+=2){var o=i[r].value,s=i[r+1].value;n.push({open:o,close:s})}return n}},yr=function(A,e,t){if(!A)return"";var n=A[Math.min(e,A.length-1)];return n?t?n.open:n.close:""},_r={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&Rt(e[0],"none")?[]:zt(e).map((function(e){for(var t={color:255,offsetX:Yt,offsetY:Yt,blur:Yt,spread:Yt,inset:!1},n=0,i=0;i<e.length;i++){var r=e[i];Rt(r,"inset")?t.inset=!0:Zt(r)?(0===n?t.offsetX=r:1===n?t.offsetY=r:2===n?t.blur=r:t.spread=r,n++):t.color=cn.parse(A,r)}return t}))}},Qr={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],n=[];return e.filter(Nt).forEach((function(A){switch(A.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2);break}})),t.forEach((function(A){-1===n.indexOf(A)&&n.push(A)})),n}},Ur={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Fr={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Tt(e)?e.number:0}},xr=function(){function A(A,e){var t,n;this.animationDuration=Ir(A,Cr,e.animationDuration),this.backgroundClip=Ir(A,Cn,e.backgroundClip),this.backgroundColor=Ir(A,bn,e.backgroundColor),this.backgroundImage=Ir(A,Xn,e.backgroundImage),this.backgroundOrigin=Ir(A,Yn,e.backgroundOrigin),this.backgroundPosition=Ir(A,Jn,e.backgroundPosition),this.backgroundRepeat=Ir(A,$n,e.backgroundRepeat),this.backgroundSize=Ir(A,ei,e.backgroundSize),this.borderTopColor=Ir(A,ii,e.borderTopColor),this.borderRightColor=Ir(A,ri,e.borderRightColor),this.borderBottomColor=Ir(A,oi,e.borderBottomColor),this.borderLeftColor=Ir(A,si,e.borderLeftColor),this.borderTopLeftRadius=Ir(A,li,e.borderTopLeftRadius),this.borderTopRightRadius=Ir(A,ci,e.borderTopRightRadius),this.borderBottomRightRadius=Ir(A,di,e.borderBottomRightRadius),this.borderBottomLeftRadius=Ir(A,ui,e.borderBottomLeftRadius),this.borderTopStyle=Ir(A,gi,e.borderTopStyle),this.borderRightStyle=Ir(A,pi,e.borderRightStyle),this.borderBottomStyle=Ir(A,fi,e.borderBottomStyle),this.borderLeftStyle=Ir(A,mi,e.borderLeftStyle),this.borderTopWidth=Ir(A,wi,e.borderTopWidth),this.borderRightWidth=Ir(A,vi,e.borderRightWidth),this.borderBottomWidth=Ir(A,Ci,e.borderBottomWidth),this.borderLeftWidth=Ir(A,bi,e.borderLeftWidth),this.boxShadow=Ir(A,_r,e.boxShadow),this.color=Ir(A,yi,e.color),this.direction=Ir(A,_i,e.direction),this.display=Ir(A,Qi,e.display),this.float=Ir(A,Fi,e.cssFloat),this.fontFamily=Ir(A,ur,e.fontFamily),this.fontSize=Ir(A,hr,e.fontSize),this.fontStyle=Ir(A,fr,e.fontStyle),this.fontVariant=Ir(A,pr,e.fontVariant),this.fontWeight=Ir(A,gr,e.fontWeight),this.letterSpacing=Ir(A,xi,e.letterSpacing),this.lineBreak=Ir(A,ki,e.lineBreak),this.lineHeight=Ir(A,Ii,e.lineHeight),this.listStyleImage=Ir(A,Hi,e.listStyleImage),this.listStylePosition=Ir(A,Di,e.listStylePosition),this.listStyleType=Ir(A,Li,e.listStyleType),this.marginTop=Ir(A,Mi,e.marginTop),this.marginRight=Ir(A,Ti,e.marginRight),this.marginBottom=Ir(A,Ki,e.marginBottom),this.marginLeft=Ir(A,Ni,e.marginLeft),this.opacity=Ir(A,lr,e.opacity);var i=Ir(A,Pi,e.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=Ir(A,Ri,e.overflowWrap),this.paddingTop=Ir(A,Gi,e.paddingTop),this.paddingRight=Ir(A,zi,e.paddingRight),this.paddingBottom=Ir(A,ji,e.paddingBottom),this.paddingLeft=Ir(A,Zi,e.paddingLeft),this.paintOrder=Ir(A,Qr,e.paintOrder),this.position=Ir(A,Xi,e.position),this.textAlign=Ir(A,Wi,e.textAlign),this.textDecorationColor=Ir(A,cr,null!==(t=e.textDecorationColor)&&void 0!==t?t:e.color),this.textDecorationLine=Ir(A,dr,null!==(n=e.textDecorationLine)&&void 0!==n?n:e.textDecoration),this.textShadow=Ir(A,Yi,e.textShadow),this.textTransform=Ir(A,Ji,e.textTransform),this.transform=Ir(A,$i,e.transform),this.transformOrigin=Ir(A,ir,e.transformOrigin),this.visibility=Ir(A,rr,e.visibility),this.webkitTextStrokeColor=Ir(A,Ur,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ir(A,Fr,e.webkitTextStrokeWidth),this.wordBreak=Ir(A,or,e.wordBreak),this.zIndex=Ir(A,sr,e.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return dn(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return mr(this.display,4)||mr(this.display,33554432)||mr(this.display,268435456)||mr(this.display,536870912)||mr(this.display,67108864)||mr(this.display,134217728)},A}(),Er=function(){function A(A,e){this.content=Ir(A,Br,e.content),this.quotes=Ir(A,br,e.quotes)}return A}(),kr=function(){function A(A,e){this.counterIncrement=Ir(A,wr,e.counterIncrement),this.counterReset=Ir(A,vr,e.counterReset)}return A}(),Ir=function(A,e,t){var n=new Ot,i=null!==t&&"undefined"!==typeof t?t.toString():e.initialValue;n.write(i);var r=new Mt(n.read());switch(e.type){case 2:var o=r.parseComponentValue();return e.parse(A,Nt(o)?o.value:e.initialValue);case 0:return e.parse(A,r.parseComponentValue());case 1:return e.parse(A,r.parseComponentValues());case 4:return r.parseComponentValue();case 3:switch(e.format){case"angle":return on.parse(A,r.parseComponentValue());case"color":return cn.parse(A,r.parseComponentValue());case"image":return zn.parse(A,r.parseComponentValue());case"length":var s=r.parseComponentValue();return Zt(s)?s:Yt;case"length-percentage":var a=r.parseComponentValue();return Wt(a)?a:Yt;case"time":return ar.parse(A,r.parseComponentValue())}break}},Sr="data-html2canvas-debug",Hr=function(A){var e=A.getAttribute(Sr);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Dr=function(A,e){var t=Hr(A);return 1===t||e===t},Lr=function(){function A(A,e){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Dr(e,3),this.styles=new xr(A,window.getComputedStyle(e,null)),ks(e)&&(this.styles.animationDuration.some((function(A){return A>0}))&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=s(this.context,e),Dr(e,4)&&(this.flags|=16)}return A}(),Or="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Mr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Tr="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Kr=0;Kr<Mr.length;Kr++)Tr[Mr.charCodeAt(Kr)]=Kr;for(var Nr=function(A){var e,t,n,i,r,o=.75*A.length,s=A.length,a=0;"="===A[A.length-1]&&(o--,"="===A[A.length-2]&&o--);var l="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),c=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<s;e+=4)t=Tr[A.charCodeAt(e)],n=Tr[A.charCodeAt(e+1)],i=Tr[A.charCodeAt(e+2)],r=Tr[A.charCodeAt(e+3)],c[a++]=t<<2|n>>4,c[a++]=(15&n)<<4|i>>2,c[a++]=(3&i)<<6|63&r;return l},Pr=function(A){for(var e=A.length,t=[],n=0;n<e;n+=2)t.push(A[n+1]<<8|A[n]);return t},Rr=function(A){for(var e=A.length,t=[],n=0;n<e;n+=4)t.push(A[n+3]<<24|A[n+2]<<16|A[n+1]<<8|A[n]);return t},Vr=5,Gr=11,zr=2,jr=Gr-Vr,Zr=65536>>Vr,Wr=1<<Vr,Xr=Wr-1,Yr=1024>>Vr,Jr=Zr+Yr,$r=Jr,qr=32,Ao=$r+qr,eo=65536>>Gr,to=1<<jr,no=to-1,io=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},ro=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},oo=function(A,e){var t=Nr(A),n=Array.isArray(t)?Rr(t):new Uint32Array(t),i=Array.isArray(t)?Pr(t):new Uint16Array(t),r=24,o=io(i,r/2,n[4]/2),s=2===n[5]?io(i,(r+n[4])/2):ro(n,Math.ceil((r+n[4])/4));return new so(n[0],n[1],n[2],n[3],o,s)},so=function(){function A(A,e,t,n,i,r){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=n,this.index=i,this.data=r}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Vr],e=(e<<zr)+(A&Xr),this.data[e];if(A<=65535)return e=this.index[Zr+(A-55296>>Vr)],e=(e<<zr)+(A&Xr),this.data[e];if(A<this.highStart)return e=Ao-eo+(A>>Gr),e=this.index[e],e+=A>>Vr&no,e=this.index[e],e=(e<<zr)+(A&Xr),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),ao="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lo="undefined"===typeof Uint8Array?[]:new Uint8Array(256),co=0;co<ao.length;co++)lo[ao.charCodeAt(co)]=co;var uo,ho=1,go=2,po=3,fo=4,mo=5,Bo=7,wo=8,vo=9,Co=10,bo=11,yo=12,_o=13,Qo=14,Uo=15,Fo=function(A){var e=[],t=0,n=A.length;while(t<n){var i=A.charCodeAt(t++);if(i>=55296&&i<=56319&&t<n){var r=A.charCodeAt(t++);56320===(64512&r)?e.push(((1023&i)<<10)+(1023&r)+65536):(e.push(i),t--)}else e.push(i)}return e},xo=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";var n=[],i=-1,r="";while(++i<t){var o=A[i];o<=65535?n.push(o):(o-=65536,n.push(55296+(o>>10),o%1024+56320)),(i+1===t||n.length>16384)&&(r+=String.fromCharCode.apply(String,n),n.length=0)}return r},Eo=oo(Or),ko="×",Io="÷",So=function(A){return Eo.get(A)},Ho=function(A,e,t){var n=t-2,i=e[n],r=e[t-1],o=e[t];if(r===go&&o===po)return ko;if(r===go||r===po||r===fo)return Io;if(o===go||o===po||o===fo)return Io;if(r===wo&&-1!==[wo,vo,bo,yo].indexOf(o))return ko;if((r===bo||r===vo)&&(o===vo||o===Co))return ko;if((r===yo||r===Co)&&o===Co)return ko;if(o===_o||o===mo)return ko;if(o===Bo)return ko;if(r===ho)return ko;if(r===_o&&o===Qo){while(i===mo)i=e[--n];if(i===Qo)return ko}if(r===Uo&&o===Uo){var s=0;while(i===Uo)s++,i=e[--n];if(s%2===0)return ko}return Io},Do=function(A){var e=Fo(A),t=e.length,n=0,i=0,r=e.map(So);return{next:function(){if(n>=t)return{done:!0,value:null};var A=ko;while(n<t&&(A=Ho(e,r,++n))===ko);if(A!==ko||n===t){var o=xo.apply(null,e.slice(i,n));return i=n,{value:o,done:!1}}return{done:!0,value:null}}}},Lo=function(A){var e,t=Do(A),n=[];while(!(e=t.next()).done)e.value&&n.push(e.value.slice());return n},Oo=function(A){var e=123;if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var n=A.createElement("boundtest");n.style.height=e+"px",n.style.display="block",A.body.appendChild(n),t.selectNode(n);var i=t.getBoundingClientRect(),r=Math.round(i.height);if(A.body.removeChild(n),r===e)return!0}}return!1},Mo=function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML="function"===typeof"".repeat?"&#128104;".repeat(10):"";var n=e.firstChild,i=l(n.data).map((function(A){return c(A)})),r=0,o={},s=i.every((function(A,e){t.setStart(n,r),t.setEnd(n,r+A.length);var i=t.getBoundingClientRect();r+=A.length;var s=i.x>o.x||i.y>o.y;return o=i,0===e||s}));return A.body.removeChild(e),s},To=function(){return"undefined"!==typeof(new Image).crossOrigin},Ko=function(){return"string"===typeof(new XMLHttpRequest).responseType},No=function(A){var e=new Image,t=A.createElement("canvas"),n=t.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(e,0,0),t.toDataURL()}catch(ze){return!1}return!0},Po=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},Ro=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,t,t);var i=new Image,r=e.toDataURL();i.src=r;var o=Vo(t,t,0,0,i);return n.fillStyle="red",n.fillRect(0,0,t,t),Go(o).then((function(e){n.drawImage(e,0,0);var i=n.getImageData(0,0,t,t).data;n.fillStyle="red",n.fillRect(0,0,t,t);var o=A.createElement("div");return o.style.backgroundImage="url("+r+")",o.style.height=t+"px",Po(i)?Go(Vo(t,t,0,0,o)):Promise.reject(!1)})).then((function(A){return n.drawImage(A,0,0),Po(n.getImageData(0,0,t,t).data)})).catch((function(){return!1}))},Vo=function(A,e,t,n,i){var r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return o.setAttributeNS(null,"width",A.toString()),o.setAttributeNS(null,"height",e.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",t.toString()),s.setAttributeNS(null,"y",n.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(s),s.appendChild(i),o},Go=function(A){return new Promise((function(e,t){var n=new Image;n.onload=function(){return e(n)},n.onerror=t,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},zo={get SUPPORT_RANGE_BOUNDS(){var A=Oo(document);return Object.defineProperty(zo,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=zo.SUPPORT_RANGE_BOUNDS&&Mo(document);return Object.defineProperty(zo,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=No(document);return Object.defineProperty(zo,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?Ro(document):Promise.resolve(!1);return Object.defineProperty(zo,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=To();return Object.defineProperty(zo,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Ko();return Object.defineProperty(zo,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(zo,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(zo,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},jo=function(){function A(A,e){this.text=A,this.bounds=e}return A}(),Zo=function(A,e,t,n){var i=$o(e,t),r=[],s=0;return i.forEach((function(e){if(t.textDecorationLine.length||e.trim().length>0)if(zo.SUPPORT_RANGE_BOUNDS){var i=Xo(n,s,e.length).getClientRects();if(i.length>1){var a=Yo(e),l=0;a.forEach((function(e){r.push(new jo(e,o.fromDOMRectList(A,Xo(n,l+s,e.length).getClientRects()))),l+=e.length}))}else r.push(new jo(e,o.fromDOMRectList(A,i)))}else{var c=n.splitText(e.length);r.push(new jo(e,Wo(A,n))),n=c}else zo.SUPPORT_RANGE_BOUNDS||(n=n.splitText(e.length));s+=e.length})),r},Wo=function(A,e){var t=e.ownerDocument;if(t){var n=t.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var i=e.parentNode;if(i){i.replaceChild(n,e);var r=s(A,n);return n.firstChild&&i.replaceChild(n.firstChild,n),r}}return o.EMPTY},Xo=function(A,e,t){var n=A.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(A,e),i.setEnd(A,e+t),i},Yo=function(A){if(zo.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map((function(A){return A.segment}))}return Lo(A)},Jo=function(A,e){if(zo.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map((function(A){return A.segment}))}return As(A,e)},$o=function(A,e){return 0!==e.letterSpacing?Yo(A):Jo(A,e)},qo=[32,160,4961,65792,65793,4153,4241],As=function(A,e){var t,n=YA(A,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),i=[],r=function(){if(t.value){var A=t.value.slice(),e=l(A),n="";e.forEach((function(A){-1===qo.indexOf(A)?n+=c(A):(n.length&&i.push(n),i.push(c(A)),n="")})),n.length&&i.push(n)}};while(!(t=n.next()).done)r();return i},es=function(){function A(A,e,t){this.text=ts(e.data,t.textTransform),this.textBounds=Zo(A,this.text,t,e)}return A}(),ts=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(ns,is);case 2:return A.toUpperCase();default:return A}},ns=/(^|\s|:|-|\(|\))([a-z])/g,is=function(A,e,t){return A.length>0?e+t.toUpperCase():A},rs=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,n.context.cache.addImage(n.src),n}return e(t,A),t}(Lr),os=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return e(t,A),t}(Lr),ss=function(A){function t(e,t){var n=A.call(this,e,t)||this,i=new XMLSerializer,r=s(e,t);return t.setAttribute("width",r.width+"px"),t.setAttribute("height",r.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e(t,A),t}(Lr),as=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.value=t.value,n}return e(t,A),t}(Lr),ls=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.start=t.start,n.reversed="boolean"===typeof t.reversed&&!0===t.reversed,n}return e(t,A),t}(Lr),cs=[{type:15,flags:0,unit:"px",number:3}],ds=[{type:16,flags:0,number:50}],us=function(A){return A.width>A.height?new o(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new o(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},hs=function(A){var e=A.type===fs?new Array(A.value.length+1).join("•"):A.value;return 0===e.length?A.placeholder||"":e},gs="checkbox",ps="radio",fs="password",ms=707406591,Bs=function(A){function t(e,t){var n=A.call(this,e,t)||this;switch(n.type=t.type.toLowerCase(),n.checked=t.checked,n.value=hs(t),n.type!==gs&&n.type!==ps||(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=us(n.bounds)),n.type){case gs:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=cs;break;case ps:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=ds;break}return n}return e(t,A),t}(Lr),ws=function(A){function t(e,t){var n=A.call(this,e,t)||this,i=t.options[t.selectedIndex||0];return n.value=i&&i.text||"",n}return e(t,A),t}(Lr),vs=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.value=t.value,n}return e(t,A),t}(Lr),Cs=function(A){function t(e,t){var n=A.call(this,e,t)||this;n.src=t.src,n.width=parseInt(t.width,10)||0,n.height=parseInt(t.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){n.tree=Qs(e,t.contentWindow.document.documentElement);var i=t.contentWindow.document.documentElement?wn(e,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):vn.TRANSPARENT,r=t.contentWindow.document.body?wn(e,getComputedStyle(t.contentWindow.document.body).backgroundColor):vn.TRANSPARENT;n.backgroundColor=dn(i)?dn(r)?n.styles.backgroundColor:r:i}}catch(ze){}return n}return e(t,A),t}(Lr),bs=["OL","UL","MENU"],ys=function(A,e,t,n){for(var i=e.firstChild,r=void 0;i;i=r)if(r=i.nextSibling,xs(i)&&i.data.trim().length>0)t.textNodes.push(new es(A,i,t.styles));else if(Es(i))if(js(i)&&i.assignedNodes)i.assignedNodes().forEach((function(e){return ys(A,e,t,n)}));else{var o=_s(A,i);o.styles.isVisible()&&(Us(i,o,n)?o.flags|=4:Fs(o.styles)&&(o.flags|=2),-1!==bs.indexOf(i.tagName)&&(o.flags|=8),t.elements.push(o),i.slot,i.shadowRoot?ys(A,i.shadowRoot,o,n):Gs(i)||Os(i)||zs(i)||ys(A,i,o,n))}},_s=function(A,e){return Ns(e)?new rs(A,e):Ts(e)?new os(A,e):Os(e)?new ss(A,e):Ss(e)?new as(A,e):Hs(e)?new ls(A,e):Ds(e)?new Bs(A,e):zs(e)?new ws(A,e):Gs(e)?new vs(A,e):Ps(e)?new Cs(A,e):new Lr(A,e)},Qs=function(A,e){var t=_s(A,e);return t.flags|=4,ys(A,e,t,t),t},Us=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Ms(A)&&t.styles.isTransparent()},Fs=function(A){return A.isPositioned()||A.isFloating()},xs=function(A){return A.nodeType===Node.TEXT_NODE},Es=function(A){return A.nodeType===Node.ELEMENT_NODE},ks=function(A){return Es(A)&&"undefined"!==typeof A.style&&!Is(A)},Is=function(A){return"object"===typeof A.className},Ss=function(A){return"LI"===A.tagName},Hs=function(A){return"OL"===A.tagName},Ds=function(A){return"INPUT"===A.tagName},Ls=function(A){return"HTML"===A.tagName},Os=function(A){return"svg"===A.tagName},Ms=function(A){return"BODY"===A.tagName},Ts=function(A){return"CANVAS"===A.tagName},Ks=function(A){return"VIDEO"===A.tagName},Ns=function(A){return"IMG"===A.tagName},Ps=function(A){return"IFRAME"===A.tagName},Rs=function(A){return"STYLE"===A.tagName},Vs=function(A){return"SCRIPT"===A.tagName},Gs=function(A){return"TEXTAREA"===A.tagName},zs=function(A){return"SELECT"===A.tagName},js=function(A){return"SLOT"===A.tagName},Zs=function(A){return A.tagName.indexOf("-")>0},Ws=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},A.prototype.getCounterValues=function(A){var e=this.counters[A];return e||[]},A.prototype.pop=function(A){var e=this;A.forEach((function(A){return e.counters[A].pop()}))},A.prototype.parse=function(A){var e=this,t=A.counterIncrement,n=A.counterReset,i=!0;null!==t&&t.forEach((function(A){var t=e.counters[A.counter];t&&0!==A.increment&&(i=!1,t.length||t.push(1),t[Math.max(0,t.length-1)]+=A.increment)}));var r=[];return i&&n.forEach((function(A){var t=e.counters[A.counter];r.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)})),r},A}(),Xs={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Ys={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Js={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},$s={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},qs=function(A,e,t,n,i,r){return A<e||A>t?ua(A,i,r.length>0):n.integers.reduce((function(e,t,i){while(A>=t)A-=t,e+=n.values[i];return e}),"")+r},Aa=function(A,e,t,n){var i="";do{t||A--,i=n(A)+i,A/=e}while(A*e>=e);return i},ea=function(A,e,t,n,i){var r=t-e+1;return(A<0?"-":"")+(Aa(Math.abs(A),r,n,(function(A){return c(Math.floor(A%r)+e)}))+i)},ta=function(A,e,t){void 0===t&&(t=". ");var n=e.length;return Aa(Math.abs(A),n,!1,(function(A){return e[Math.floor(A%n)]}))+t},na=1,ia=2,ra=4,oa=8,sa=function(A,e,t,n,i,r){if(A<-9999||A>9999)return ua(A,4,i.length>0);var o=Math.abs(A),s=i;if(0===o)return e[0]+s;for(var a=0;o>0&&a<=4;a++){var l=o%10;0===l&&mr(r,na)&&""!==s?s=e[l]+s:l>1||1===l&&0===a||1===l&&1===a&&mr(r,ia)||1===l&&1===a&&mr(r,ra)&&A>100||1===l&&a>1&&mr(r,oa)?s=e[l]+(a>0?t[a-1]:"")+s:1===l&&a>0&&(s=t[a-1]+s),o=Math.floor(o/10)}return(A<0?n:"")+s},aa="十百千萬",la="拾佰仟萬",ca="マイナス",da="마이너스",ua=function(A,e,t){var n=t?". ":"",i=t?"、":"",r=t?", ":"",o=t?" ":"";switch(e){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:var s=ea(A,48,57,!0,n);return s.length<4?"0"+s:s;case 4:return ta(A,"〇一二三四五六七八九",i);case 6:return qs(A,1,3999,Xs,3,n).toLowerCase();case 7:return qs(A,1,3999,Xs,3,n);case 8:return ea(A,945,969,!1,n);case 9:return ea(A,97,122,!1,n);case 10:return ea(A,65,90,!1,n);case 11:return ea(A,1632,1641,!0,n);case 12:case 49:return qs(A,1,9999,Ys,3,n);case 35:return qs(A,1,9999,Ys,3,n).toLowerCase();case 13:return ea(A,2534,2543,!0,n);case 14:case 30:return ea(A,6112,6121,!0,n);case 15:return ta(A,"子丑寅卯辰巳午未申酉戌亥",i);case 16:return ta(A,"甲乙丙丁戊己庚辛壬癸",i);case 17:case 48:return sa(A,"零一二三四五六七八九",aa,"負",i,ia|ra|oa);case 47:return sa(A,"零壹貳參肆伍陸柒捌玖",la,"負",i,na|ia|ra|oa);case 42:return sa(A,"零一二三四五六七八九",aa,"负",i,ia|ra|oa);case 41:return sa(A,"零壹贰叁肆伍陆柒捌玖",la,"负",i,na|ia|ra|oa);case 26:return sa(A,"〇一二三四五六七八九","十百千万",ca,i,0);case 25:return sa(A,"零壱弐参四伍六七八九","拾百千万",ca,i,na|ia|ra);case 31:return sa(A,"영일이삼사오육칠팔구","십백천만",da,r,na|ia|ra);case 33:return sa(A,"零一二三四五六七八九","十百千萬",da,r,0);case 32:return sa(A,"零壹貳參四五六七八九","拾百千",da,r,na|ia|ra);case 18:return ea(A,2406,2415,!0,n);case 20:return qs(A,1,19999,$s,3,n);case 21:return ea(A,2790,2799,!0,n);case 22:return ea(A,2662,2671,!0,n);case 22:return qs(A,1,10999,Js,3,n);case 23:return ta(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ta(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ea(A,3302,3311,!0,n);case 28:return ta(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case 29:return ta(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case 34:return ea(A,3792,3801,!0,n);case 37:return ea(A,6160,6169,!0,n);case 38:return ea(A,4160,4169,!0,n);case 39:return ea(A,2918,2927,!0,n);case 40:return ea(A,1776,1785,!0,n);case 43:return ea(A,3046,3055,!0,n);case 44:return ea(A,3174,3183,!0,n);case 45:return ea(A,3664,3673,!0,n);case 46:return ea(A,3872,3881,!0,n);case 3:default:return ea(A,48,57,!0,n)}},ha="data-html2canvas-ignore",ga=function(){function A(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new Ws,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,e){var t=this,r=fa(A,e);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var o=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,a=r.contentWindow,l=a.document,c=wa(r).then((function(){return n(t,void 0,void 0,(function(){var A,t;return i(this,(function(n){switch(n.label){case 0:return this.scrolledElements.forEach(_a),a&&(a.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||a.scrollY===e.top&&a.scrollX===e.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-e.left,a.scrollY-e.top,0,0))),A=this.options.onclone,t=this.clonedReferenceElement,"undefined"===typeof t?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:n.sent(),n.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ba(l)]:[3,4];case 3:n.sent(),n.label=4;case 4:return"function"===typeof A?[2,Promise.resolve().then((function(){return A(l,t)})).then((function(){return r}))]:[2,r]}}))}))}));return l.open(),l.write(ba(document.doctype)+"<html></html>"),ya(this.referenceElement.ownerDocument,o,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},A.prototype.createElementClone=function(A){if(Dr(A,2),Ts(A))return this.createCanvasClone(A);if(Ks(A))return this.createVideoClone(A);if(Rs(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return Ns(e)&&(Ns(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),Zs(e)?this.createCustomElementClone(e):e},A.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return Ca(A.style,e),e},A.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var t=[].slice.call(e.cssRules,0).reduce((function(A,e){return e&&"string"===typeof e.cssText?A+e.cssText:A}),""),n=A.cloneNode(!1);return n.textContent=t,n}}catch(ze){if(this.context.logger.error("Unable to access cssRules property",ze),"SecurityError"!==ze.name)throw ze}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(ze){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var i=A.getContext("2d"),r=n.getContext("2d");if(r)if(!this.options.allowTaint&&i)r.putImageData(i.getImageData(0,0,A.width,A.height),0,0);else{var o=null!==(e=A.getContext("webgl2"))&&void 0!==e?e:A.getContext("webgl");if(o){var s=o.getContextAttributes();!1===(null===s||void 0===s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}r.drawImage(A,0,0)}return n}catch(ze){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},A.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch(ze){this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},A.prototype.appendChildNode=function(A,e,t){Es(e)&&(Vs(e)||e.hasAttribute(ha)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&Es(e)&&Rs(e)||A.appendChild(this.cloneNode(e,t))},A.prototype.cloneChildNodes=function(A,e,t){for(var n=this,i=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;i;i=i.nextSibling)if(Es(i)&&js(i)&&"function"===typeof i.assignedNodes){var r=i.assignedNodes();r.length&&r.forEach((function(A){return n.appendChildNode(e,A,t)}))}else this.appendChildNode(e,i,t)},A.prototype.cloneNode=function(A,e){if(xs(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&Es(A)&&(ks(A)||Is(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var i=t.getComputedStyle(A),r=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&ks(n)&&(this.clonedReferenceElement=n),Ms(n)&&ka(n);var s=this.counters.parse(new kr(this.context,i)),a=this.resolvePseudoContent(A,n,r,uo.BEFORE);Zs(A)&&(e=!0),Ks(A)||this.cloneChildNodes(A,n,e),a&&n.insertBefore(a,n.firstChild);var l=this.resolvePseudoContent(A,n,o,uo.AFTER);return l&&n.appendChild(l),this.counters.pop(s),(i&&(this.options.copyStyles||Is(A))&&!Ps(A)||e)&&Ca(i,n),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(Gs(A)||zs(A))&&(Gs(n)||zs(n))&&(n.value=A.value),n}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,n){var i=this;if(t){var r=t.content,o=e.ownerDocument;if(o&&r&&"none"!==r&&"-moz-alt-content"!==r&&"none"!==t.display){this.counters.parse(new kr(this.context,t));var s=new Er(this.context,t),a=o.createElement("html2canvaspseudoelement");Ca(t,a),s.content.forEach((function(e){if(0===e.type)a.appendChild(o.createTextNode(e.value));else if(22===e.type){var t=o.createElement("img");t.src=e.value,t.style.opacity="1",a.appendChild(t)}else if(18===e.type){if("attr"===e.name){var n=e.values.filter(Nt);n.length&&a.appendChild(o.createTextNode(A.getAttribute(n[0].value)||""))}else if("counter"===e.name){var r=e.values.filter(Gt),l=r[0],c=r[1];if(l&&Nt(l)){var d=i.counters.getCounterValue(l.value),u=c&&Nt(c)?Li.parse(i.context,c.value):3;a.appendChild(o.createTextNode(ua(d,u,!1)))}}else if("counters"===e.name){var h=e.values.filter(Gt),g=(l=h[0],h[1]);c=h[2];if(l&&Nt(l)){var p=i.counters.getCounterValues(l.value),f=c&&Nt(c)?Li.parse(i.context,c.value):3,m=g&&0===g.type?g.value:"",B=p.map((function(A){return ua(A,f,!1)})).join(m);a.appendChild(o.createTextNode(B))}}}else if(20===e.type)switch(e.value){case"open-quote":a.appendChild(o.createTextNode(yr(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(yr(s.quotes,--i.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(e.value))}})),a.className=Fa+" "+xa;var l=n===uo.BEFORE?" "+Fa:" "+xa;return Is(e)?e.className.baseValue+=l:e.className+=l,a}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();(function(A){A[A["BEFORE"]=0]="BEFORE",A[A["AFTER"]=1]="AFTER"})(uo||(uo={}));var pa,fa=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(ha,"true"),A.body.appendChild(t),t},ma=function(A){return new Promise((function(e){A.complete?e():A.src?(A.onload=e,A.onerror=e):e()}))},Ba=function(A){return Promise.all([].slice.call(A.images,0).map(ma))},wa=function(A){return new Promise((function(e,t){var n=A.contentWindow;if(!n)return t("No window assigned for iframe");var i=n.document;n.onload=A.onload=function(){n.onload=A.onload=null;var t=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(t),e(A))}),50)}}))},va=["all","d","content"],Ca=function(A,e){for(var t=A.length-1;t>=0;t--){var n=A.item(t);-1===va.indexOf(n)&&e.style.setProperty(n,A.getPropertyValue(n))}return e},ba=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},ya=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},_a=function(A){var e=A[0],t=A[1],n=A[2];e.scrollLeft=t,e.scrollTop=n},Qa=":before",Ua=":after",Fa="___html2canvas___pseudoelement_before",xa="___html2canvas___pseudoelement_after",Ea='{\n content: "" !important;\n display: none !important;\n}',ka=function(A){Ia(A,"."+Fa+Qa+Ea+"\n ."+xa+Ua+Ea)},Ia=function(A,e){var t=A.ownerDocument;if(t){var n=t.createElement("style");n.textContent=e,A.appendChild(n)}},Sa=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),Ha=function(){function A(A,e){this.context=A,this._options=e,this._cache={}}return A.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)?e:Na(A)||Ma(A)?((this._cache[A]=this.loadImage(A)).catch((function(){})),e):e},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return n(this,void 0,void 0,(function(){var e,t,n,r,o=this;return i(this,(function(i){switch(i.label){case 0:return e=Sa.isSameOrigin(A),t=!Ta(A)&&!0===this._options.useCORS&&zo.SUPPORT_CORS_IMAGES&&!e,n=!Ta(A)&&!e&&!Na(A)&&"string"===typeof this._options.proxy&&zo.SUPPORT_CORS_XHR&&!t,e||!1!==this._options.allowTaint||Ta(A)||Na(A)||n||t?(r=A,n?[4,this.proxy(r)]:[3,2]):[2];case 1:r=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise((function(A,e){var n=new Image;n.onload=function(){return A(n)},n.onerror=e,(Ka(r)||t)&&(n.crossOrigin="anonymous"),n.src=r,!0===n.complete&&setTimeout((function(){return A(n)}),500),o._options.imageTimeout>0&&setTimeout((function(){return e("Timed out ("+o._options.imageTimeout+"ms) loading image")}),o._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},A.prototype.has=function(A){return"undefined"!==typeof this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var e=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise((function(i,r){var o=zo.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===o)i(s.response);else{var A=new FileReader;A.addEventListener("load",(function(){return i(A.result)}),!1),A.addEventListener("error",(function(A){return r(A)}),!1),A.readAsDataURL(s.response)}else r("Failed to proxy resource "+n+" with status code "+s.status)},s.onerror=r;var a=t.indexOf("?")>-1?"&":"?";if(s.open("GET",""+t+a+"url="+encodeURIComponent(A)+"&responseType="+o),"text"!==o&&s instanceof XMLHttpRequest&&(s.responseType=o),e._options.imageTimeout){var l=e._options.imageTimeout;s.timeout=l,s.ontimeout=function(){return r("Timed out ("+l+"ms) proxying "+n)}}s.send()}))},A}(),Da=/^data:image\/svg\+xml/i,La=/^data:image\/.*;base64,/i,Oa=/^data:image\/.*/i,Ma=function(A){return zo.SUPPORT_SVG_DRAWING||!Pa(A)},Ta=function(A){return Oa.test(A)},Ka=function(A){return La.test(A)},Na=function(A){return"blob"===A.substr(0,4)},Pa=function(A){return"svg"===A.substr(-3).toLowerCase()||Da.test(A)},Ra=function(){function A(A,e){this.type=0,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),Va=function(A,e,t){return new Ra(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},Ga=function(){function A(A,e,t,n){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=n}return A.prototype.subdivide=function(e,t){var n=Va(this.start,this.startControl,e),i=Va(this.startControl,this.endControl,e),r=Va(this.endControl,this.end,e),o=Va(n,i,e),s=Va(i,r,e),a=Va(o,s,e);return t?new A(this.start,n,o,a):new A(a,s,r,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),za=function(A){return 1===A.type},ja=function(){function A(A){var e=A.styles,t=A.bounds,n=qt(e.borderTopLeftRadius,t.width,t.height),i=n[0],r=n[1],o=qt(e.borderTopRightRadius,t.width,t.height),s=o[0],a=o[1],l=qt(e.borderBottomRightRadius,t.width,t.height),c=l[0],d=l[1],u=qt(e.borderBottomLeftRadius,t.width,t.height),h=u[0],g=u[1],p=[];p.push((i+s)/t.width),p.push((h+c)/t.width),p.push((r+g)/t.height),p.push((a+d)/t.height);var f=Math.max.apply(Math,p);f>1&&(i/=f,r/=f,s/=f,a/=f,c/=f,d/=f,h/=f,g/=f);var m=t.width-s,B=t.height-d,w=t.width-c,v=t.height-g,C=e.borderTopWidth,b=e.borderRightWidth,y=e.borderBottomWidth,_=e.borderLeftWidth,Q=An(e.paddingTop,A.bounds.width),U=An(e.paddingRight,A.bounds.width),F=An(e.paddingBottom,A.bounds.width),x=An(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||r>0?Za(t.left+_/3,t.top+C/3,i-_/3,r-C/3,pa.TOP_LEFT):new Ra(t.left+_/3,t.top+C/3),this.topRightBorderDoubleOuterBox=i>0||r>0?Za(t.left+m,t.top+C/3,s-b/3,a-C/3,pa.TOP_RIGHT):new Ra(t.left+t.width-b/3,t.top+C/3),this.bottomRightBorderDoubleOuterBox=c>0||d>0?Za(t.left+w,t.top+B,c-b/3,d-y/3,pa.BOTTOM_RIGHT):new Ra(t.left+t.width-b/3,t.top+t.height-y/3),this.bottomLeftBorderDoubleOuterBox=h>0||g>0?Za(t.left+_/3,t.top+v,h-_/3,g-y/3,pa.BOTTOM_LEFT):new Ra(t.left+_/3,t.top+t.height-y/3),this.topLeftBorderDoubleInnerBox=i>0||r>0?Za(t.left+2*_/3,t.top+2*C/3,i-2*_/3,r-2*C/3,pa.TOP_LEFT):new Ra(t.left+2*_/3,t.top+2*C/3),this.topRightBorderDoubleInnerBox=i>0||r>0?Za(t.left+m,t.top+2*C/3,s-2*b/3,a-2*C/3,pa.TOP_RIGHT):new Ra(t.left+t.width-2*b/3,t.top+2*C/3),this.bottomRightBorderDoubleInnerBox=c>0||d>0?Za(t.left+w,t.top+B,c-2*b/3,d-2*y/3,pa.BOTTOM_RIGHT):new Ra(t.left+t.width-2*b/3,t.top+t.height-2*y/3),this.bottomLeftBorderDoubleInnerBox=h>0||g>0?Za(t.left+2*_/3,t.top+v,h-2*_/3,g-2*y/3,pa.BOTTOM_LEFT):new Ra(t.left+2*_/3,t.top+t.height-2*y/3),this.topLeftBorderStroke=i>0||r>0?Za(t.left+_/2,t.top+C/2,i-_/2,r-C/2,pa.TOP_LEFT):new Ra(t.left+_/2,t.top+C/2),this.topRightBorderStroke=i>0||r>0?Za(t.left+m,t.top+C/2,s-b/2,a-C/2,pa.TOP_RIGHT):new Ra(t.left+t.width-b/2,t.top+C/2),this.bottomRightBorderStroke=c>0||d>0?Za(t.left+w,t.top+B,c-b/2,d-y/2,pa.BOTTOM_RIGHT):new Ra(t.left+t.width-b/2,t.top+t.height-y/2),this.bottomLeftBorderStroke=h>0||g>0?Za(t.left+_/2,t.top+v,h-_/2,g-y/2,pa.BOTTOM_LEFT):new Ra(t.left+_/2,t.top+t.height-y/2),this.topLeftBorderBox=i>0||r>0?Za(t.left,t.top,i,r,pa.TOP_LEFT):new Ra(t.left,t.top),this.topRightBorderBox=s>0||a>0?Za(t.left+m,t.top,s,a,pa.TOP_RIGHT):new Ra(t.left+t.width,t.top),this.bottomRightBorderBox=c>0||d>0?Za(t.left+w,t.top+B,c,d,pa.BOTTOM_RIGHT):new Ra(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=h>0||g>0?Za(t.left,t.top+v,h,g,pa.BOTTOM_LEFT):new Ra(t.left,t.top+t.height),this.topLeftPaddingBox=i>0||r>0?Za(t.left+_,t.top+C,Math.max(0,i-_),Math.max(0,r-C),pa.TOP_LEFT):new Ra(t.left+_,t.top+C),this.topRightPaddingBox=s>0||a>0?Za(t.left+Math.min(m,t.width-b),t.top+C,m>t.width+b?0:Math.max(0,s-b),Math.max(0,a-C),pa.TOP_RIGHT):new Ra(t.left+t.width-b,t.top+C),this.bottomRightPaddingBox=c>0||d>0?Za(t.left+Math.min(w,t.width-_),t.top+Math.min(B,t.height-y),Math.max(0,c-b),Math.max(0,d-y),pa.BOTTOM_RIGHT):new Ra(t.left+t.width-b,t.top+t.height-y),this.bottomLeftPaddingBox=h>0||g>0?Za(t.left+_,t.top+Math.min(v,t.height-y),Math.max(0,h-_),Math.max(0,g-y),pa.BOTTOM_LEFT):new Ra(t.left+_,t.top+t.height-y),this.topLeftContentBox=i>0||r>0?Za(t.left+_+x,t.top+C+Q,Math.max(0,i-(_+x)),Math.max(0,r-(C+Q)),pa.TOP_LEFT):new Ra(t.left+_+x,t.top+C+Q),this.topRightContentBox=s>0||a>0?Za(t.left+Math.min(m,t.width+_+x),t.top+C+Q,m>t.width+_+x?0:s-_+x,a-(C+Q),pa.TOP_RIGHT):new Ra(t.left+t.width-(b+U),t.top+C+Q),this.bottomRightContentBox=c>0||d>0?Za(t.left+Math.min(w,t.width-(_+x)),t.top+Math.min(B,t.height+C+Q),Math.max(0,c-(b+U)),d-(y+F),pa.BOTTOM_RIGHT):new Ra(t.left+t.width-(b+U),t.top+t.height-(y+F)),this.bottomLeftContentBox=h>0||g>0?Za(t.left+_+x,t.top+v,Math.max(0,h-(_+x)),g-(y+F),pa.BOTTOM_LEFT):new Ra(t.left+_+x,t.top+t.height-(y+F))}return A}();(function(A){A[A["TOP_LEFT"]=0]="TOP_LEFT",A[A["TOP_RIGHT"]=1]="TOP_RIGHT",A[A["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",A[A["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(pa||(pa={}));var Za=function(A,e,t,n,i){var r=(Math.sqrt(2)-1)/3*4,o=t*r,s=n*r,a=A+t,l=e+n;switch(i){case pa.TOP_LEFT:return new Ga(new Ra(A,l),new Ra(A,l-s),new Ra(a-o,e),new Ra(a,e));case pa.TOP_RIGHT:return new Ga(new Ra(A,e),new Ra(A+o,e),new Ra(a,l-s),new Ra(a,l));case pa.BOTTOM_RIGHT:return new Ga(new Ra(a,e),new Ra(a,e+s),new Ra(A+o,l),new Ra(A,l));case pa.BOTTOM_LEFT:default:return new Ga(new Ra(a,l),new Ra(a-o,l),new Ra(A,e+s),new Ra(A,e))}},Wa=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},Xa=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Ya=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},Ja=function(){function A(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6}return A}(),$a=function(){function A(A,e){this.path=A,this.target=e,this.type=1}return A}(),qa=function(){function A(A){this.opacity=A,this.type=2,this.target=6}return A}(),Al=function(A){return 0===A.type},el=function(A){return 1===A.type},tl=function(A){return 2===A.type},nl=function(A,e){return A.length===e.length&&A.some((function(A,t){return A===e[t]}))},il=function(A,e,t,n,i){return A.map((function(A,r){switch(r){case 0:return A.add(e,t);case 1:return A.add(e+n,t);case 2:return A.add(e+n,t+i);case 3:return A.add(e,t+i)}return A}))},rl=function(){function A(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),ol=function(){function A(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new ja(this.container),this.container.styles.opacity<1&&this.effects.push(new qa(this.container.styles.opacity)),null!==this.container.styles.transform){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new Ja(t,n,i))}if(0!==this.container.styles.overflowX){var r=Wa(this.curves),o=Ya(this.curves);nl(r,o)?this.effects.push(new $a(r,6)):(this.effects.push(new $a(r,2)),this.effects.push(new $a(o,4)))}}return A.prototype.getEffects=function(A){var e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,n=this.effects.slice(0);while(t){var i=t.effects.filter((function(A){return!el(A)}));if(e||0!==t.container.styles.position||!t.parent){if(n.unshift.apply(n,i),e=-1===[2,3].indexOf(t.container.styles.position),0!==t.container.styles.overflowX){var r=Wa(t.curves),o=Ya(t.curves);nl(r,o)||n.unshift(new $a(o,6))}}else n.unshift.apply(n,i);t=t.parent}return n.filter((function(e){return mr(e.target,A)}))},A}(),sl=function(A,e,t,n){A.container.elements.forEach((function(i){var r=mr(i.flags,4),o=mr(i.flags,2),s=new ol(i,A);mr(i.styles.display,2048)&&n.push(s);var a=mr(i.flags,8)?[]:n;if(r||o){var l=r||i.styles.isPositioned()?t:e,c=new rl(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var d=i.styles.zIndex.order;if(d<0){var u=0;l.negativeZIndex.some((function(A,e){return d>A.element.container.styles.zIndex.order?(u=e,!1):u>0})),l.negativeZIndex.splice(u,0,c)}else if(d>0){var h=0;l.positiveZIndex.some((function(A,e){return d>=A.element.container.styles.zIndex.order?(h=e+1,!1):h>0})),l.positiveZIndex.splice(h,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else i.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);sl(s,c,r?c:t,a)}else i.styles.isInlineLevel()?e.inlineLevel.push(s):e.nonInlineLevel.push(s),sl(s,e,t,a);mr(i.flags,8)&&al(i,a)}))},al=function(A,e){for(var t=A instanceof ls?A.start:1,n=A instanceof ls&&A.reversed,i=0;i<e.length;i++){var r=e[i];r.container instanceof as&&"number"===typeof r.container.value&&0!==r.container.value&&(t=r.container.value),r.listValue=ua(t,r.container.styles.listStyleType,!0),t+=n?-1:1}},ll=function(A){var e=new ol(A,null),t=new rl(e),n=[];return sl(e,t,t,n),al(e.container,n),t},cl=function(A,e){switch(e){case 0:return pl(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return pl(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return pl(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return pl(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},dl=function(A,e){switch(e){case 0:return pl(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return pl(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return pl(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return pl(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},ul=function(A,e){switch(e){case 0:return pl(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return pl(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return pl(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return pl(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},hl=function(A,e){switch(e){case 0:return gl(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return gl(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return gl(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return gl(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},gl=function(A,e){var t=[];return za(A)?t.push(A.subdivide(.5,!1)):t.push(A),za(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},pl=function(A,e,t,n){var i=[];return za(A)?i.push(A.subdivide(.5,!1)):i.push(A),za(t)?i.push(t.subdivide(.5,!0)):i.push(t),za(n)?i.push(n.subdivide(.5,!0).reverse()):i.push(n),za(e)?i.push(e.subdivide(.5,!1).reverse()):i.push(e),i},fl=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},ml=function(A){var e=A.styles,t=A.bounds,n=An(e.paddingLeft,t.width),i=An(e.paddingRight,t.width),r=An(e.paddingTop,t.width),o=An(e.paddingBottom,t.width);return t.add(n+e.borderLeftWidth,r+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+n+i),-(e.borderTopWidth+e.borderBottomWidth+r+o))},Bl=function(A,e){return 0===A?e.bounds:2===A?ml(e):fl(e)},wl=function(A,e){return 0===A?e.bounds:2===A?ml(e):fl(e)},vl=function(A,e,t){var n=Bl(_l(A.styles.backgroundOrigin,e),A),i=wl(_l(A.styles.backgroundClip,e),A),r=yl(_l(A.styles.backgroundSize,e),t,n),o=r[0],s=r[1],a=qt(_l(A.styles.backgroundPosition,e),n.width-o,n.height-s),l=Ql(_l(A.styles.backgroundRepeat,e),a,r,n,i),c=Math.round(n.left+a[0]),d=Math.round(n.top+a[1]);return[l,c,d,o,s]},Cl=function(A){return Nt(A)&&A.value===Zn.AUTO},bl=function(A){return"number"===typeof A},yl=function(A,e,t){var n=e[0],i=e[1],r=e[2],o=A[0],s=A[1];if(!o)return[0,0];if(Wt(o)&&s&&Wt(s))return[An(o,t.width),An(s,t.height)];var a=bl(r);if(Nt(o)&&(o.value===Zn.CONTAIN||o.value===Zn.COVER)){if(bl(r)){var l=t.width/t.height;return l<r!==(o.value===Zn.COVER)?[t.width,t.width/r]:[t.height*r,t.height]}return[t.width,t.height]}var c=bl(n),d=bl(i),u=c||d;if(Cl(o)&&(!s||Cl(s))){if(c&&d)return[n,i];if(!a&&!u)return[t.width,t.height];if(u&&a){var h=c?n:i*r,g=d?i:n/r;return[h,g]}var p=c?n:t.width,f=d?i:t.height;return[p,f]}if(a){var m=0,B=0;return Wt(o)?m=An(o,t.width):Wt(s)&&(B=An(s,t.height)),Cl(o)?m=B*r:s&&!Cl(s)||(B=m/r),[m,B]}var w=null,v=null;if(Wt(o)?w=An(o,t.width):s&&Wt(s)&&(v=An(s,t.height)),null===w||s&&!Cl(s)||(v=c&&d?w/n*i:t.height),null!==v&&Cl(o)&&(w=c&&d?v/i*n:t.width),null!==w&&null!==v)return[w,v];throw new Error("Unable to calculate background-size for element")},_l=function(A,e){var t=A[e];return"undefined"===typeof t?A[0]:t},Ql=function(A,e,t,n,i){var r=e[0],o=e[1],s=t[0],a=t[1];switch(A){case 2:return[new Ra(Math.round(n.left),Math.round(n.top+o)),new Ra(Math.round(n.left+n.width),Math.round(n.top+o)),new Ra(Math.round(n.left+n.width),Math.round(a+n.top+o)),new Ra(Math.round(n.left),Math.round(a+n.top+o))];case 3:return[new Ra(Math.round(n.left+r),Math.round(n.top)),new Ra(Math.round(n.left+r+s),Math.round(n.top)),new Ra(Math.round(n.left+r+s),Math.round(n.height+n.top)),new Ra(Math.round(n.left+r),Math.round(n.height+n.top))];case 1:return[new Ra(Math.round(n.left+r),Math.round(n.top+o)),new Ra(Math.round(n.left+r+s),Math.round(n.top+o)),new Ra(Math.round(n.left+r+s),Math.round(n.top+o+a)),new Ra(Math.round(n.left+r),Math.round(n.top+o+a))];default:return[new Ra(Math.round(i.left),Math.round(i.top)),new Ra(Math.round(i.left+i.width),Math.round(i.top)),new Ra(Math.round(i.left+i.width),Math.round(i.height+i.top)),new Ra(Math.round(i.left),Math.round(i.height+i.top))]}},Ul="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Fl="Hidden Text",xl=function(){function A(A){this._data={},this._document=A}return A.prototype.parseMetrics=function(A,e){var t=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),r=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=e,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",r.appendChild(t),n.src=Ul,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=A,i.style.fontSize=e,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Fl)),t.appendChild(i),t.appendChild(n);var o=n.offsetTop-i.offsetTop+2;t.removeChild(i),t.appendChild(this._document.createTextNode(Fl)),t.style.lineHeight="normal",n.style.verticalAlign="super";var s=n.offsetTop-t.offsetTop+2;return r.removeChild(t),{baseline:o,middle:s}},A.prototype.getMetrics=function(A,e){var t=A+" "+e;return"undefined"===typeof this._data[t]&&(this._data[t]=this.parseMetrics(A,e)),this._data[t]},A}(),El=function(){function A(A,e){this.context=A,this.options=e}return A}(),kl=1e4,Il=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n._activeEffects=[],n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),t.canvas||(n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px"),n.fontMetrics=new xl(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),n}return e(t,A),t.prototype.applyEffects=function(A){var e=this;while(this._activeEffects.length)this.popEffect();A.forEach((function(A){return e.applyEffect(A)}))},t.prototype.applyEffect=function(A){this.ctx.save(),tl(A)&&(this.ctx.globalAlpha=A.opacity),Al(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),el(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(A){return n(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return e=A.element.container.styles,e.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},t.prototype.renderNode=function(A){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return mr(A.container.flags,16),A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(A)];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))},t.prototype.renderTextWithLetterSpacing=function(A,e,t){var n=this;if(0===e)this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+t);else{var i=Yo(A.text);i.reduce((function(e,i){return n.ctx.fillText(i,e,A.bounds.top+t),e+n.ctx.measureText(i).width}),A.bounds.left)}},t.prototype.createFontStyle=function(A){var e=A.fontVariant.filter((function(A){return"normal"===A||"small-caps"===A})).join(""),t=Ol(A.fontFamily).join(", "),n=Tt(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,e,A.fontWeight,n,t].join(" "),t,n]},t.prototype.renderTextNode=function(A,e){return n(this,void 0,void 0,(function(){var t,n,r,o,s,a,l,c,d=this;return i(this,(function(i){return t=this.createFontStyle(e),n=t[0],r=t[1],o=t[2],this.ctx.font=n,this.ctx.direction=1===e.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(r,o),a=s.baseline,l=s.middle,c=e.paintOrder,A.textBounds.forEach((function(A){c.forEach((function(t){switch(t){case 0:d.ctx.fillStyle=un(e.color),d.renderTextWithLetterSpacing(A,e.letterSpacing,a);var n=e.textShadow;n.length&&A.text.trim().length&&(n.slice(0).reverse().forEach((function(t){d.ctx.shadowColor=un(t.color),d.ctx.shadowOffsetX=t.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=t.offsetY.number*d.options.scale,d.ctx.shadowBlur=t.blur.number,d.renderTextWithLetterSpacing(A,e.letterSpacing,a)})),d.ctx.shadowColor="",d.ctx.shadowOffsetX=0,d.ctx.shadowOffsetY=0,d.ctx.shadowBlur=0),e.textDecorationLine.length&&(d.ctx.fillStyle=un(e.textDecorationColor||e.color),e.textDecorationLine.forEach((function(e){switch(e){case 1:d.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top+a),A.bounds.width,1);break;case 2:d.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top),A.bounds.width,1);break;case 3:d.ctx.fillRect(A.bounds.left,Math.ceil(A.bounds.top+l),A.bounds.width,1);break}})));break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(d.ctx.strokeStyle=un(e.webkitTextStrokeColor),d.ctx.lineWidth=e.webkitTextStrokeWidth,d.ctx.lineJoin=window.chrome?"miter":"round",d.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+a)),d.ctx.strokeStyle="",d.ctx.lineWidth=0,d.ctx.lineJoin="miter";break}}))})),[2]}))}))},t.prototype.renderReplacedElement=function(A,e,t){if(t&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var n=ml(A),i=Ya(e);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(t,0,0,A.intrinsicWidth,A.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(A){return n(this,void 0,void 0,(function(){var e,n,r,s,a,l,c,d,u,h,g,p,f,m,B,w,v,C,b;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(A.getEffects(4)),e=A.container,n=A.curves,r=e.styles,s=0,a=e.textNodes,i.label=1;case 1:return s<a.length?(l=a[s],[4,this.renderTextNode(l,r)]):[3,4];case 2:i.sent(),i.label=3;case 3:return s++,[3,1];case 4:if(!(e instanceof rs))return[3,8];i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.context.cache.match(e.src)];case 6:return w=i.sent(),this.renderReplacedElement(e,n,w),[3,8];case 7:return i.sent(),this.context.logger.error("Error loading image "+e.src),[3,8];case 8:if(e instanceof os&&this.renderReplacedElement(e,n,e.canvas),!(e instanceof ss))return[3,12];i.label=9;case 9:return i.trys.push([9,11,,12]),[4,this.context.cache.match(e.svg)];case 10:return w=i.sent(),this.renderReplacedElement(e,n,w),[3,12];case 11:return i.sent(),this.context.logger.error("Error loading svg "+e.svg.substring(0,255)),[3,12];case 12:return e instanceof Cs&&e.tree?(c=new t(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}),[4,c.render(e.tree)]):[3,14];case 13:d=i.sent(),e.width&&e.height&&this.ctx.drawImage(d,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height),i.label=14;case 14:if(e instanceof Bs&&(u=Math.min(e.bounds.width,e.bounds.height),e.type===gs?e.checked&&(this.ctx.save(),this.path([new Ra(e.bounds.left+.39363*u,e.bounds.top+.79*u),new Ra(e.bounds.left+.16*u,e.bounds.top+.5549*u),new Ra(e.bounds.left+.27347*u,e.bounds.top+.44071*u),new Ra(e.bounds.left+.39694*u,e.bounds.top+.5649*u),new Ra(e.bounds.left+.72983*u,e.bounds.top+.23*u),new Ra(e.bounds.left+.84*u,e.bounds.top+.34085*u),new Ra(e.bounds.left+.39363*u,e.bounds.top+.79*u)]),this.ctx.fillStyle=un(ms),this.ctx.fill(),this.ctx.restore()):e.type===ps&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+u/2,e.bounds.top+u/2,u/4,0,2*Math.PI,!0),this.ctx.fillStyle=un(ms),this.ctx.fill(),this.ctx.restore())),Sl(e)&&e.value.length){switch(h=this.createFontStyle(r),C=h[0],g=h[1],p=this.fontMetrics.getMetrics(C,g).baseline,this.ctx.font=C,this.ctx.fillStyle=un(r.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Dl(e.styles.textAlign),b=ml(e),f=0,e.styles.textAlign){case 1:f+=b.width/2;break;case 2:f+=b.width;break}m=b.add(f,0,0,-b.height/2+1),this.ctx.save(),this.path([new Ra(b.left,b.top),new Ra(b.left+b.width,b.top),new Ra(b.left+b.width,b.top+b.height),new Ra(b.left,b.top+b.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new jo(e.value,m),r.letterSpacing,p),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!mr(e.styles.display,2048))return[3,20];if(null===e.styles.listStyleImage)return[3,19];if(B=e.styles.listStyleImage,0!==B.type)return[3,18];w=void 0,v=B.url,i.label=15;case 15:return i.trys.push([15,17,,18]),[4,this.context.cache.match(v)];case 16:return w=i.sent(),this.ctx.drawImage(w,e.bounds.left-(w.width+10),e.bounds.top),[3,18];case 17:return i.sent(),this.context.logger.error("Error loading list-style-image "+v),[3,18];case 18:return[3,20];case 19:A.listValue&&-1!==e.styles.listStyleType&&(C=this.createFontStyle(r)[0],this.ctx.font=C,this.ctx.fillStyle=un(r.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",b=new o(e.bounds.left,e.bounds.top+An(e.styles.paddingTop,e.bounds.width),e.bounds.width,Si(r.lineHeight,r.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new jo(A.listValue,b),r.letterSpacing,Si(r.lineHeight,r.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),i.label=20;case 20:return[2]}}))}))},t.prototype.renderStackContent=function(A){return n(this,void 0,void 0,(function(){var e,t,n,r,o,s,a,l,c,d,u,h,g,p,f;return i(this,(function(i){switch(i.label){case 0:return mr(A.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:i.sent(),e=0,t=A.negativeZIndex,i.label=2;case 2:return e<t.length?(f=t[e],[4,this.renderStack(f)]):[3,5];case 3:i.sent(),i.label=4;case 4:return e++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:i.sent(),n=0,r=A.nonInlineLevel,i.label=7;case 7:return n<r.length?(f=r[n],[4,this.renderNode(f)]):[3,10];case 8:i.sent(),i.label=9;case 9:return n++,[3,7];case 10:o=0,s=A.nonPositionedFloats,i.label=11;case 11:return o<s.length?(f=s[o],[4,this.renderStack(f)]):[3,14];case 12:i.sent(),i.label=13;case 13:return o++,[3,11];case 14:a=0,l=A.nonPositionedInlineLevel,i.label=15;case 15:return a<l.length?(f=l[a],[4,this.renderStack(f)]):[3,18];case 16:i.sent(),i.label=17;case 17:return a++,[3,15];case 18:c=0,d=A.inlineLevel,i.label=19;case 19:return c<d.length?(f=d[c],[4,this.renderNode(f)]):[3,22];case 20:i.sent(),i.label=21;case 21:return c++,[3,19];case 22:u=0,h=A.zeroOrAutoZIndexOrTransformedOrOpacity,i.label=23;case 23:return u<h.length?(f=h[u],[4,this.renderStack(f)]):[3,26];case 24:i.sent(),i.label=25;case 25:return u++,[3,23];case 26:g=0,p=A.positiveZIndex,i.label=27;case 27:return g<p.length?(f=p[g],[4,this.renderStack(f)]):[3,30];case 28:i.sent(),i.label=29;case 29:return g++,[3,27];case 30:return[2]}}))}))},t.prototype.mask=function(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},t.prototype.formatPath=function(A){var e=this;A.forEach((function(A,t){var n=za(A)?A.start:A;0===t?e.ctx.moveTo(n.x,n.y):e.ctx.lineTo(n.x,n.y),za(A)&&e.ctx.bezierCurveTo(A.startControl.x,A.startControl.y,A.endControl.x,A.endControl.y,A.end.x,A.end.y)}))},t.prototype.renderRepeat=function(A,e,t,n){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(t,n),this.ctx.fill(),this.ctx.translate(-t,-n)},t.prototype.resizeImage=function(A,e,t){var n;if(A.width===e&&A.height===t)return A;var i=null!==(n=this.canvas.ownerDocument)&&void 0!==n?n:document,r=i.createElement("canvas");r.width=Math.max(1,e),r.height=Math.max(1,t);var o=r.getContext("2d");return o.drawImage(A,0,0,A.width,A.height,0,0,e,t),r},t.prototype.renderBackgroundImage=function(A){return n(this,void 0,void 0,(function(){var e,t,n,r,o,s;return i(this,(function(a){switch(a.label){case 0:e=A.styles.backgroundImage.length-1,t=function(t){var r,o,s,a,l,c,d,u,h,g,p,f,m,B,w,v,C,b,y,_,Q,U,F,x,E,k,I,S,H,D,L;return i(this,(function(i){switch(i.label){case 0:if(0!==t.type)return[3,5];r=void 0,o=t.url,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,n.context.cache.match(o)];case 2:return r=i.sent(),[3,4];case 3:return i.sent(),n.context.logger.error("Error loading background-image "+o),[3,4];case 4:return r&&(s=vl(A,e,[r.width,r.height,r.width/r.height]),v=s[0],U=s[1],F=s[2],y=s[3],_=s[4],B=n.ctx.createPattern(n.resizeImage(r,y,_),"repeat"),n.renderRepeat(v,B,U,F)),[3,6];case 5:Vn(t)?(a=vl(A,e,[null,null,null]),v=a[0],U=a[1],F=a[2],y=a[3],_=a[4],l=Un(t.angle,y,_),c=l[0],d=l[1],u=l[2],h=l[3],g=l[4],p=document.createElement("canvas"),p.width=y,p.height=_,f=p.getContext("2d"),m=f.createLinearGradient(d,h,u,g),_n(t.stops,c).forEach((function(A){return m.addColorStop(A.stop,un(A.color))})),f.fillStyle=m,f.fillRect(0,0,y,_),y>0&&_>0&&(B=n.ctx.createPattern(p,"repeat"),n.renderRepeat(v,B,U,F))):Gn(t)&&(w=vl(A,e,[null,null,null]),v=w[0],C=w[1],b=w[2],y=w[3],_=w[4],Q=0===t.position.length?[Jt]:t.position,U=An(Q[0],y),F=An(Q[Q.length-1],_),x=En(t,U,F,y,_),E=x[0],k=x[1],E>0&&k>0&&(I=n.ctx.createRadialGradient(C+U,b+F,0,C+U,b+F,E),_n(t.stops,2*E).forEach((function(A){return I.addColorStop(A.stop,un(A.color))})),n.path(v),n.ctx.fillStyle=I,E!==k?(S=A.bounds.left+.5*A.bounds.width,H=A.bounds.top+.5*A.bounds.height,D=k/E,L=1/D,n.ctx.save(),n.ctx.translate(S,H),n.ctx.transform(1,0,0,D,0,0),n.ctx.translate(-S,-H),n.ctx.fillRect(C,L*(b-H)+H,y,_*L),n.ctx.restore()):n.ctx.fill())),i.label=6;case 6:return e--,[2]}}))},n=this,r=0,o=A.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return r<o.length?(s=o[r],[5,t(s)]):[3,4];case 2:a.sent(),a.label=3;case 3:return r++,[3,1];case 4:return[2]}}))}))},t.prototype.renderSolidBorder=function(A,e,t){return n(this,void 0,void 0,(function(){return i(this,(function(n){return this.path(cl(t,e)),this.ctx.fillStyle=un(A),this.ctx.fill(),[2]}))}))},t.prototype.renderDoubleBorder=function(A,e,t,r){return n(this,void 0,void 0,(function(){var n,o;return i(this,(function(i){switch(i.label){case 0:return e<3?[4,this.renderSolidBorder(A,t,r)]:[3,2];case 1:return i.sent(),[2];case 2:return n=dl(r,t),this.path(n),this.ctx.fillStyle=un(A),this.ctx.fill(),o=ul(r,t),this.path(o),this.ctx.fill(),[2]}}))}))},t.prototype.renderNodeBackgroundAndBorders=function(A){return n(this,void 0,void 0,(function(){var e,t,n,r,o,s,a,l,c=this;return i(this,(function(i){switch(i.label){case 0:return this.applyEffects(A.getEffects(2)),e=A.container.styles,t=!dn(e.backgroundColor)||e.backgroundImage.length,n=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],r=Hl(_l(e.backgroundClip,0),A.curves),t||e.boxShadow.length?(this.ctx.save(),this.path(r),this.ctx.clip(),dn(e.backgroundColor)||(this.ctx.fillStyle=un(e.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:i.sent(),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach((function(e){c.ctx.save();var t=Wa(A.curves),n=e.inset?0:kl,i=il(t,-n+(e.inset?1:-1)*e.spread.number,(e.inset?1:-1)*e.spread.number,e.spread.number*(e.inset?-2:2),e.spread.number*(e.inset?-2:2));e.inset?(c.path(t),c.ctx.clip(),c.mask(i)):(c.mask(t),c.ctx.clip(),c.path(i)),c.ctx.shadowOffsetX=e.offsetX.number+n,c.ctx.shadowOffsetY=e.offsetY.number,c.ctx.shadowColor=un(e.color),c.ctx.shadowBlur=e.blur.number,c.ctx.fillStyle=e.inset?un(e.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()})),i.label=2;case 2:o=0,s=0,a=n,i.label=3;case 3:return s<a.length?(l=a[s],0!==l.style&&!dn(l.color)&&l.width>0?2!==l.style?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,o,A.curves,2)]:[3,11]):[3,13];case 4:return i.sent(),[3,11];case 5:return 3!==l.style?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,o,A.curves,3)];case 6:return i.sent(),[3,11];case 7:return 4!==l.style?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,o,A.curves)];case 8:return i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,o,A.curves)];case 10:i.sent(),i.label=11;case 11:o++,i.label=12;case 12:return s++,[3,3];case 13:return[2]}}))}))},t.prototype.renderDashedDottedBorder=function(A,e,t,r,o){return n(this,void 0,void 0,(function(){var n,s,a,l,c,d,u,h,g,p,f,m,B,w,v,C;return i(this,(function(i){return this.ctx.save(),n=hl(r,t),s=cl(r,t),2===o&&(this.path(s),this.ctx.clip()),za(s[0])?(a=s[0].start.x,l=s[0].start.y):(a=s[0].x,l=s[0].y),za(s[1])?(c=s[1].end.x,d=s[1].end.y):(c=s[1].x,d=s[1].y),u=0===t||2===t?Math.abs(a-c):Math.abs(l-d),this.ctx.beginPath(),3===o?this.formatPath(n):this.formatPath(s.slice(0,2)),h=e<3?3*e:2*e,g=e<3?2*e:e,3===o&&(h=e,g=e),p=!0,u<=2*h?p=!1:u<=2*h+g?(f=u/(2*h+g),h*=f,g*=f):(m=Math.floor((u+g)/(h+g)),B=(u-m*h)/(m-1),w=(u-(m+1)*h)/m,g=w<=0||Math.abs(g-B)<Math.abs(g-w)?B:w),p&&(3===o?this.ctx.setLineDash([0,h+g]):this.ctx.setLineDash([h,g])),3===o?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=2*e+1.1,this.ctx.strokeStyle=un(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===o&&(za(s[0])&&(v=s[3],C=s[0],this.ctx.beginPath(),this.formatPath([new Ra(v.end.x,v.end.y),new Ra(C.start.x,C.start.y)]),this.ctx.stroke()),za(s[1])&&(v=s[1],C=s[2],this.ctx.beginPath(),this.formatPath([new Ra(v.end.x,v.end.y),new Ra(C.start.x,C.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},t.prototype.render=function(A){return n(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=un(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),e=ll(A),[4,this.renderStack(e)];case 1:return t.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},t}(El),Sl=function(A){return A instanceof vs||(A instanceof ws||A instanceof Bs&&A.type!==ps&&A.type!==gs)},Hl=function(A,e){switch(A){case 0:return Wa(e);case 2:return Xa(e);case 1:default:return Ya(e)}},Dl=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Ll=["-apple-system","system-ui"],Ol=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter((function(A){return-1===Ll.indexOf(A)})):A},Ml=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=t,n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale),n}return e(t,A),t.prototype.render=function(A){return n(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:return e=Vo(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,Tl(e)];case 1:return t=n.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=un(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(t,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},t}(El),Tl=function(A){return new Promise((function(e,t){var n=new Image;n.onload=function(){e(n)},n.onerror=t,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Kl=function(){function A(A){var e=A.id,t=A.enabled;this.id=e,this.enabled=t,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.debug?console.debug.apply(console,r([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&"undefined"!==typeof window&&window.console&&"function"===typeof console.info&&console.info.apply(console,r([this.id,this.getTime()+"ms"],A))},A.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.warn?console.warn.apply(console,r([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.error?console.error.apply(console,r([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.instances={},A}(),Nl=function(){function A(e,t){var n;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new Kl({id:this.instanceName,enabled:e.logging}),this.cache=null!==(n=e.cache)&&void 0!==n?n:new Ha(this,e)}return A.instanceCount=1,A}(),Pl=function(A,e){return void 0===e&&(e={}),Rl(A,e)};"undefined"!==typeof window&&Sa.setContext(window);var Rl=function(A,e){return n(void 0,void 0,void 0,(function(){var n,r,l,c,d,u,h,g,p,f,m,B,w,v,C,b,y,_,Q,U,F,x,E,k,I,S,H,D,L,O,M,T,K,N,P,R,V,G,z;return i(this,(function(i){switch(i.label){case 0:if(!A||"object"!==typeof A)return[2,Promise.reject("Invalid element provided as first argument")];if(n=A.ownerDocument,!n)throw new Error("Element is not attached to a Document");if(r=n.defaultView,!r)throw new Error("Document is not attached to a Window");return l={allowTaint:null!==(E=e.allowTaint)&&void 0!==E&&E,imageTimeout:null!==(k=e.imageTimeout)&&void 0!==k?k:15e3,proxy:e.proxy,useCORS:null!==(I=e.useCORS)&&void 0!==I&&I},c=t({logging:null===(S=e.logging)||void 0===S||S,cache:e.cache},l),d={windowWidth:null!==(H=e.windowWidth)&&void 0!==H?H:r.innerWidth,windowHeight:null!==(D=e.windowHeight)&&void 0!==D?D:r.innerHeight,scrollX:null!==(L=e.scrollX)&&void 0!==L?L:r.pageXOffset,scrollY:null!==(O=e.scrollY)&&void 0!==O?O:r.pageYOffset},u=new o(d.scrollX,d.scrollY,d.windowWidth,d.windowHeight),h=new Nl(c,u),g=null!==(M=e.foreignObjectRendering)&&void 0!==M&&M,p={allowTaint:null!==(T=e.allowTaint)&&void 0!==T&&T,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:g,copyStyles:g},h.logger.debug("Starting document clone with size "+u.width+"x"+u.height+" scrolled to "+-u.left+","+-u.top),f=new ga(h,A,p),m=f.clonedReferenceElement,m?[4,f.toIFrame(n,u)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return B=i.sent(),w=Ms(m)||Ls(m)?a(m.ownerDocument):s(h,m),v=w.width,C=w.height,b=w.left,y=w.top,_=Vl(h,m,e.backgroundColor),Q={canvas:e.canvas,backgroundColor:_,scale:null!==(N=null!==(K=e.scale)&&void 0!==K?K:r.devicePixelRatio)&&void 0!==N?N:1,x:(null!==(P=e.x)&&void 0!==P?P:0)+b,y:(null!==(R=e.y)&&void 0!==R?R:0)+y,width:null!==(V=e.width)&&void 0!==V?V:Math.ceil(v),height:null!==(G=e.height)&&void 0!==G?G:Math.ceil(C)},g?(h.logger.debug("Document cloned, using foreign object rendering"),x=new Ml(h,Q),[4,x.render(m)]):[3,3];case 2:return U=i.sent(),[3,5];case 3:return h.logger.debug("Document cloned, element located at "+b+","+y+" with size "+v+"x"+C+" using computed rendering"),h.logger.debug("Starting DOM parsing"),F=Qs(h,m),_===F.styles.backgroundColor&&(F.styles.backgroundColor=vn.TRANSPARENT),h.logger.debug("Starting renderer for element at "+Q.x+","+Q.y+" with size "+Q.width+"x"+Q.height),x=new Il(h,Q),[4,x.render(F)];case 4:U=i.sent(),i.label=5;case 5:return(null===(z=e.removeContainer)||void 0===z||z)&&(ga.destroy(B)||h.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),h.logger.debug("Finished rendering"),[2,U]}}))}))},Vl=function(A,e,t){var n=e.ownerDocument,i=n.documentElement?wn(A,getComputedStyle(n.documentElement).backgroundColor):vn.TRANSPARENT,r=n.body?wn(A,getComputedStyle(n.body).backgroundColor):vn.TRANSPARENT,o="string"===typeof t?wn(A,t):null===t?vn.TRANSPARENT:4294967295;return e===n.documentElement?dn(i)?dn(r)?o:r:i:o};return Pl}))},5733:function(A,e,t){
/*!
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/main/LICENSE
*/
!function(e){A.exports=e()}((function(){return function A(e,t,n){function i(o,s){if(!t[o]){if(!e[o]){var a=void 0;if(!s&&a)return require(o,!0);if(r)return r(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=t[o]={exports:{}};e[o][0].call(c.exports,(function(A){var t=e[o][1][A];return i(t||A)}),c,c.exports,A,e,t,n)}return t[o].exports}for(var r=void 0,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(A,e,t){"use strict";var n=A("./utils"),i=A("./support"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(A){for(var e,t,i,o,s,a,l,c=[],d=0,u=A.length,h=u,g="string"!==n.getTypeOf(A);d<A.length;)h=u-d,i=g?(e=A[d++],t=d<u?A[d++]:0,d<u?A[d++]:0):(e=A.charCodeAt(d++),t=d<u?A.charCodeAt(d++):0,d<u?A.charCodeAt(d++):0),o=e>>2,s=(3&e)<<4|t>>4,a=1<h?(15&t)<<2|i>>6:64,l=2<h?63&i:64,c.push(r.charAt(o)+r.charAt(s)+r.charAt(a)+r.charAt(l));return c.join("")},t.decode=function(A){var e,t,n,o,s,a,l=0,c=0,d="data:";if(A.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var u,h=3*(A=A.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(A.charAt(A.length-1)===r.charAt(64)&&h--,A.charAt(A.length-2)===r.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(u=i.uint8array?new Uint8Array(0|h):new Array(0|h);l<A.length;)e=r.indexOf(A.charAt(l++))<<2|(o=r.indexOf(A.charAt(l++)))>>4,t=(15&o)<<4|(s=r.indexOf(A.charAt(l++)))>>2,n=(3&s)<<6|(a=r.indexOf(A.charAt(l++))),u[c++]=e,64!==s&&(u[c++]=t),64!==a&&(u[c++]=n);return u}},{"./support":30,"./utils":32}],2:[function(A,e,t){"use strict";var n=A("./external"),i=A("./stream/DataWorker"),r=A("./stream/Crc32Probe"),o=A("./stream/DataLengthProbe");function s(A,e,t,n,i){this.compressedSize=A,this.uncompressedSize=e,this.crc32=t,this.compression=n,this.compressedContent=i}s.prototype={getContentWorker:function(){var A=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),e=this;return A.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),A},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(A,e,t){return A.pipe(new r).pipe(new o("uncompressedSize")).pipe(e.compressWorker(t)).pipe(new o("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(A,e,t){"use strict";var n=A("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},t.DEFLATE=A("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(A,e,t){"use strict";var n=A("./utils"),i=function(){for(var A,e=[],t=0;t<256;t++){A=t;for(var n=0;n<8;n++)A=1&A?3988292384^A>>>1:A>>>1;e[t]=A}return e}();e.exports=function(A,e){return void 0!==A&&A.length?"string"!==n.getTypeOf(A)?function(A,e,t,n){var r=i,o=n+t;A^=-1;for(var s=n;s<o;s++)A=A>>>8^r[255&(A^e[s])];return-1^A}(0|e,A,A.length,0):function(A,e,t,n){var r=i,o=n+t;A^=-1;for(var s=n;s<o;s++)A=A>>>8^r[255&(A^e.charCodeAt(s))];return-1^A}(0|e,A,A.length,0):0}},{"./utils":32}],5:[function(A,e,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(A,e,t){"use strict";var n=null;n="undefined"!=typeof Promise?Promise:A("lie"),e.exports={Promise:n}},{lie:37}],7:[function(A,e,t){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=A("pako"),r=A("./utils"),o=A("./stream/GenericWorker"),s=n?"uint8array":"array";function a(A,e){o.call(this,"FlateWorker/"+A),this._pako=null,this._pakoAction=A,this._pakoOptions=e,this.meta={}}t.magic="\b\0",r.inherits(a,o),a.prototype.processChunk=function(A){this.meta=A.meta,null===this._pako&&this._createPako(),this._pako.push(r.transformTo(s,A.data),!1)},a.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},a.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},a.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var A=this;this._pako.onData=function(e){A.push({data:e,meta:A.meta})}},t.compressWorker=function(A){return new a("Deflate",A)},t.uncompressWorker=function(){return new a("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(A,e,t){"use strict";function n(A,e){var t,n="";for(t=0;t<e;t++)n+=String.fromCharCode(255&A),A>>>=8;return n}function i(A,e,t,i,o,c){var d,u,h=A.file,g=A.compression,p=c!==s.utf8encode,f=r.transformTo("string",c(h.name)),m=r.transformTo("string",s.utf8encode(h.name)),B=h.comment,w=r.transformTo("string",c(B)),v=r.transformTo("string",s.utf8encode(B)),C=m.length!==h.name.length,b=v.length!==B.length,y="",_="",Q="",U=h.dir,F=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};e&&!t||(x.crc32=A.crc32,x.compressedSize=A.compressedSize,x.uncompressedSize=A.uncompressedSize);var E=0;e&&(E|=8),p||!C&&!b||(E|=2048);var k=0,I=0;U&&(k|=16),"UNIX"===o?(I=798,k|=function(A,e){var t=A;return A||(t=e?16893:33204),(65535&t)<<16}(h.unixPermissions,U)):(I=20,k|=function(A){return 63&(A||0)}(h.dosPermissions)),d=F.getUTCHours(),d<<=6,d|=F.getUTCMinutes(),d<<=5,d|=F.getUTCSeconds()/2,u=F.getUTCFullYear()-1980,u<<=4,u|=F.getUTCMonth()+1,u<<=5,u|=F.getUTCDate(),C&&(_=n(1,1)+n(a(f),4)+m,y+="up"+n(_.length,2)+_),b&&(Q=n(1,1)+n(a(w),4)+v,y+="uc"+n(Q.length,2)+Q);var S="";return S+="\n\0",S+=n(E,2),S+=g.magic,S+=n(d,2),S+=n(u,2),S+=n(x.crc32,4),S+=n(x.compressedSize,4),S+=n(x.uncompressedSize,4),S+=n(f.length,2),S+=n(y.length,2),{fileRecord:l.LOCAL_FILE_HEADER+S+f+y,dirRecord:l.CENTRAL_FILE_HEADER+n(I,2)+S+n(w.length,2)+"\0\0\0\0"+n(k,4)+n(i,4)+f+y+w}}var r=A("../utils"),o=A("../stream/GenericWorker"),s=A("../utf8"),a=A("../crc32"),l=A("../signature");function c(A,e,t,n){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=t,this.encodeFileName=n,this.streamFiles=A,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}r.inherits(c,o),c.prototype.push=function(A){var e=A.meta.percent||0,t=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(A):(this.bytesWritten+=A.data.length,o.prototype.push.call(this,{data:A.data,meta:{currentFile:this.currentFile,percent:t?(e+100*(t-n-1))/t:100}}))},c.prototype.openedSource=function(A){this.currentSourceOffset=this.bytesWritten,this.currentFile=A.file.name;var e=this.streamFiles&&!A.file.dir;if(e){var t=i(A,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:t.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(A){this.accumulate=!1;var e=this.streamFiles&&!A.file.dir,t=i(A,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(t.dirRecord),e)this.push({data:function(A){return l.DATA_DESCRIPTOR+n(A.crc32,4)+n(A.compressedSize,4)+n(A.uncompressedSize,4)}(A),meta:{percent:100}});else for(this.push({data:t.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var A=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var t=this.bytesWritten-A,i=function(A,e,t,i,o){var s=r.transformTo("string",o(i));return l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(A,2)+n(A,2)+n(e,4)+n(t,4)+n(s.length,2)+s}(this.dirRecords.length,t,A,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(A){this._sources.push(A);var e=this;return A.on("data",(function(A){e.processChunk(A)})),A.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),A.on("error",(function(A){e.error(A)})),this},c.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(A){var e=this._sources;if(!o.prototype.error.call(this,A))return!1;for(var t=0;t<e.length;t++)try{e[t].error(A)}catch(A){}return!0},c.prototype.lock=function(){o.prototype.lock.call(this);for(var A=this._sources,e=0;e<A.length;e++)A[e].lock()},e.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(A,e,t){"use strict";var n=A("../compressions"),i=A("./ZipFileWorker");t.generateWorker=function(A,e,t){var r=new i(e.streamFiles,t,e.platform,e.encodeFileName),o=0;try{A.forEach((function(A,t){o++;var i=function(A,e){var t=A||e,i=n[t];if(!i)throw new Error(t+" is not a valid compression method !");return i}(t.options.compression,e.compression),s=t.options.compressionOptions||e.compressionOptions||{},a=t.dir,l=t.date;t._compressWorker(i,s).withStreamInfo("file",{name:A,dir:a,date:l,comment:t.comment||"",unixPermissions:t.unixPermissions,dosPermissions:t.dosPermissions}).pipe(r)})),r.entriesCount=o}catch(A){r.error(A)}return r}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(A,e,t){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var A=new n;for(var e in this)"function"!=typeof this[e]&&(A[e]=this[e]);return A}}(n.prototype=A("./object")).loadAsync=A("./load"),n.support=A("./support"),n.defaults=A("./defaults"),n.version="3.10.1",n.loadAsync=function(A,e){return(new n).loadAsync(A,e)},n.external=A("./external"),e.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(A,e,t){"use strict";var n=A("./utils"),i=A("./external"),r=A("./utf8"),o=A("./zipEntries"),s=A("./stream/Crc32Probe"),a=A("./nodejsUtils");function l(A){return new i.Promise((function(e,t){var n=A.decompressed.getContentWorker().pipe(new s);n.on("error",(function(A){t(A)})).on("end",(function(){n.streamInfo.crc32!==A.decompressed.crc32?t(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}e.exports=function(A,e){var t=this;return e=n.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:r.utf8decode}),a.isNode&&a.isStream(A)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",A,!0,e.optimizedBinaryString,e.base64).then((function(A){var t=new o(e);return t.load(A),t})).then((function(A){var t=[i.Promise.resolve(A)],n=A.files;if(e.checkCRC32)for(var r=0;r<n.length;r++)t.push(l(n[r]));return i.Promise.all(t)})).then((function(A){for(var i=A.shift(),r=i.files,o=0;o<r.length;o++){var s=r[o],a=s.fileNameStr,l=n.resolve(s.fileNameStr);t.file(l,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:e.createFolders}),s.dir||(t.file(l).unsafeOriginalName=a)}return i.zipComment.length&&(t.comment=i.zipComment),t}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(A,e,t){"use strict";var n=A("../utils"),i=A("../stream/GenericWorker");function r(A,e){i.call(this,"Nodejs stream input adapter for "+A),this._upstreamEnded=!1,this._bindStream(e)}n.inherits(r,i),r.prototype._bindStream=function(A){var e=this;(this._stream=A).pause(),A.on("data",(function(A){e.push({data:A,meta:{percent:0}})})).on("error",(function(A){e.isPaused?this.generatedError=A:e.error(A)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},r.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},r.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=r},{"../stream/GenericWorker":28,"../utils":32}],13:[function(A,e,t){"use strict";var n=A("readable-stream").Readable;function i(A,e,t){n.call(this,e),this._helper=A;var i=this;A.on("data",(function(A,e){i.push(A)||i._helper.pause(),t&&t(e)})).on("error",(function(A){i.emit("error",A)})).on("end",(function(){i.push(null)}))}A("../utils").inherits(i,n),i.prototype._read=function(){this._helper.resume()},e.exports=i},{"../utils":32,"readable-stream":16}],14:[function(A,e,t){"use strict";e.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(A,e){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(A,e);if("number"==typeof A)throw new Error('The "data" argument must not be a number');return new Buffer(A,e)},allocBuffer:function(A){if(Buffer.alloc)return Buffer.alloc(A);var e=new Buffer(A);return e.fill(0),e},isBuffer:function(A){return Buffer.isBuffer(A)},isStream:function(A){return A&&"function"==typeof A.on&&"function"==typeof A.pause&&"function"==typeof A.resume}}},{}],15:[function(A,e,t){"use strict";function n(A,e,t){var n,i=r.getTypeOf(e),s=r.extend(t||{},a);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(A=p(A)),s.createFolders&&(n=g(A))&&f.call(this,n,!0);var d="string"===i&&!1===s.binary&&!1===s.base64;t&&void 0!==t.binary||(s.binary=!d),(e instanceof l&&0===e.uncompressedSize||s.dir||!e||0===e.length)&&(s.base64=!1,s.binary=!0,e="",s.compression="STORE",i="string");var m=null;m=e instanceof l||e instanceof o?e:u.isNode&&u.isStream(e)?new h(A,e):r.prepareContent(A,e,s.binary,s.optimizedBinaryString,s.base64);var B=new c(A,m,s);this.files[A]=B}var i=A("./utf8"),r=A("./utils"),o=A("./stream/GenericWorker"),s=A("./stream/StreamHelper"),a=A("./defaults"),l=A("./compressedObject"),c=A("./zipObject"),d=A("./generate"),u=A("./nodejsUtils"),h=A("./nodejs/NodejsStreamInputAdapter"),g=function(A){"/"===A.slice(-1)&&(A=A.substring(0,A.length-1));var e=A.lastIndexOf("/");return 0<e?A.substring(0,e):""},p=function(A){return"/"!==A.slice(-1)&&(A+="/"),A},f=function(A,e){return e=void 0!==e?e:a.createFolders,A=p(A),this.files[A]||n.call(this,A,null,{dir:!0,createFolders:e}),this.files[A]};function m(A){return"[object RegExp]"===Object.prototype.toString.call(A)}var B={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(A){var e,t,n;for(e in this.files)n=this.files[e],(t=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&A(t,n)},filter:function(A){var e=[];return this.forEach((function(t,n){A(t,n)&&e.push(n)})),e},file:function(A,e,t){if(1!==arguments.length)return A=this.root+A,n.call(this,A,e,t),this;if(m(A)){var i=A;return this.filter((function(A,e){return!e.dir&&i.test(A)}))}var r=this.files[this.root+A];return r&&!r.dir?r:null},folder:function(A){if(!A)return this;if(m(A))return this.filter((function(e,t){return t.dir&&A.test(e)}));var e=this.root+A,t=f.call(this,e),n=this.clone();return n.root=t.name,n},remove:function(A){A=this.root+A;var e=this.files[A];if(e||("/"!==A.slice(-1)&&(A+="/"),e=this.files[A]),e&&!e.dir)delete this.files[A];else for(var t=this.filter((function(e,t){return t.name.slice(0,A.length)===A})),n=0;n<t.length;n++)delete this.files[t[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(A){var e,t={};try{if((t=r.extend(A||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=t.type.toLowerCase(),t.compression=t.compression.toUpperCase(),"binarystring"===t.type&&(t.type="string"),!t.type)throw new Error("No output type specified.");r.checkSupport(t.type),"darwin"!==t.platform&&"freebsd"!==t.platform&&"linux"!==t.platform&&"sunos"!==t.platform||(t.platform="UNIX"),"win32"===t.platform&&(t.platform="DOS");var n=t.comment||this.comment||"";e=d.generateWorker(this,t,n)}catch(A){(e=new o("error")).error(A)}return new s(e,t.type||"string",t.mimeType)},generateAsync:function(A,e){return this.generateInternalStream(A).accumulate(e)},generateNodeStream:function(A,e){return(A=A||{}).type||(A.type="nodebuffer"),this.generateInternalStream(A).toNodejsStream(e)}};e.exports=B},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(A,e,t){"use strict";e.exports=A("stream")},{stream:void 0}],17:[function(A,e,t){"use strict";var n=A("./DataReader");function i(A){n.call(this,A);for(var e=0;e<this.data.length;e++)A[e]=255&A[e]}A("../utils").inherits(i,n),i.prototype.byteAt=function(A){return this.data[this.zero+A]},i.prototype.lastIndexOfSignature=function(A){for(var e=A.charCodeAt(0),t=A.charCodeAt(1),n=A.charCodeAt(2),i=A.charCodeAt(3),r=this.length-4;0<=r;--r)if(this.data[r]===e&&this.data[r+1]===t&&this.data[r+2]===n&&this.data[r+3]===i)return r-this.zero;return-1},i.prototype.readAndCheckSignature=function(A){var e=A.charCodeAt(0),t=A.charCodeAt(1),n=A.charCodeAt(2),i=A.charCodeAt(3),r=this.readData(4);return e===r[0]&&t===r[1]&&n===r[2]&&i===r[3]},i.prototype.readData=function(A){if(this.checkOffset(A),0===A)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+A);return this.index+=A,e},e.exports=i},{"../utils":32,"./DataReader":18}],18:[function(A,e,t){"use strict";var n=A("../utils");function i(A){this.data=A,this.length=A.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(A){this.checkIndex(this.index+A)},checkIndex:function(A){if(this.length<this.zero+A||A<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+A+"). Corrupted zip ?")},setIndex:function(A){this.checkIndex(A),this.index=A},skip:function(A){this.setIndex(this.index+A)},byteAt:function(){},readInt:function(A){var e,t=0;for(this.checkOffset(A),e=this.index+A-1;e>=this.index;e--)t=(t<<8)+this.byteAt(e);return this.index+=A,t},readString:function(A){return n.transformTo("string",this.readData(A))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var A=this.readInt(4);return new Date(Date.UTC(1980+(A>>25&127),(A>>21&15)-1,A>>16&31,A>>11&31,A>>5&63,(31&A)<<1))}},e.exports=i},{"../utils":32}],19:[function(A,e,t){"use strict";var n=A("./Uint8ArrayReader");function i(A){n.call(this,A)}A("../utils").inherits(i,n),i.prototype.readData=function(A){this.checkOffset(A);var e=this.data.slice(this.zero+this.index,this.zero+this.index+A);return this.index+=A,e},e.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(A,e,t){"use strict";var n=A("./DataReader");function i(A){n.call(this,A)}A("../utils").inherits(i,n),i.prototype.byteAt=function(A){return this.data.charCodeAt(this.zero+A)},i.prototype.lastIndexOfSignature=function(A){return this.data.lastIndexOf(A)-this.zero},i.prototype.readAndCheckSignature=function(A){return A===this.readData(4)},i.prototype.readData=function(A){this.checkOffset(A);var e=this.data.slice(this.zero+this.index,this.zero+this.index+A);return this.index+=A,e},e.exports=i},{"../utils":32,"./DataReader":18}],21:[function(A,e,t){"use strict";var n=A("./ArrayReader");function i(A){n.call(this,A)}A("../utils").inherits(i,n),i.prototype.readData=function(A){if(this.checkOffset(A),0===A)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+A);return this.index+=A,e},e.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(A,e,t){"use strict";var n=A("../utils"),i=A("../support"),r=A("./ArrayReader"),o=A("./StringReader"),s=A("./NodeBufferReader"),a=A("./Uint8ArrayReader");e.exports=function(A){var e=n.getTypeOf(A);return n.checkSupport(e),"string"!==e||i.uint8array?"nodebuffer"===e?new s(A):i.uint8array?new a(n.transformTo("uint8array",A)):new r(n.transformTo("array",A)):new o(A)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(A,e,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\b"},{}],24:[function(A,e,t){"use strict";var n=A("./GenericWorker"),i=A("../utils");function r(A){n.call(this,"ConvertWorker to "+A),this.destType=A}i.inherits(r,n),r.prototype.processChunk=function(A){this.push({data:i.transformTo(this.destType,A.data),meta:A.meta})},e.exports=r},{"../utils":32,"./GenericWorker":28}],25:[function(A,e,t){"use strict";var n=A("./GenericWorker"),i=A("../crc32");function r(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}A("../utils").inherits(r,n),r.prototype.processChunk=function(A){this.streamInfo.crc32=i(A.data,this.streamInfo.crc32||0),this.push(A)},e.exports=r},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(A,e,t){"use strict";var n=A("../utils"),i=A("./GenericWorker");function r(A){i.call(this,"DataLengthProbe for "+A),this.propName=A,this.withStreamInfo(A,0)}n.inherits(r,i),r.prototype.processChunk=function(A){if(A){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+A.data.length}i.prototype.processChunk.call(this,A)},e.exports=r},{"../utils":32,"./GenericWorker":28}],27:[function(A,e,t){"use strict";var n=A("../utils"),i=A("./GenericWorker");function r(A){i.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,A.then((function(A){e.dataIsReady=!0,e.data=A,e.max=A&&A.length||0,e.type=n.getTypeOf(A),e.isPaused||e._tickAndRepeat()}),(function(A){e.error(A)}))}n.inherits(r,i),r.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},r.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},r.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},r.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var A=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":A=this.data.substring(this.index,e);break;case"uint8array":A=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":A=this.data.slice(this.index,e)}return this.index=e,this.push({data:A,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=r},{"../utils":32,"./GenericWorker":28}],28:[function(A,e,t){"use strict";function n(A){this.name=A||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(A){this.emit("data",A)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(A){this.emit("error",A)}return!0},error:function(A){return!this.isFinished&&(this.isPaused?this.generatedError=A:(this.isFinished=!0,this.emit("error",A),this.previous&&this.previous.error(A),this.cleanUp()),!0)},on:function(A,e){return this._listeners[A].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(A,e){if(this._listeners[A])for(var t=0;t<this._listeners[A].length;t++)this._listeners[A][t].call(this,e)},pipe:function(A){return A.registerPrevious(this)},registerPrevious:function(A){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=A.streamInfo,this.mergeStreamInfo(),this.previous=A;var e=this;return A.on("data",(function(A){e.processChunk(A)})),A.on("end",(function(){e.end()})),A.on("error",(function(A){e.error(A)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var A=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),A=!0),this.previous&&this.previous.resume(),!A},flush:function(){},processChunk:function(A){this.push(A)},withStreamInfo:function(A,e){return this.extraStreamInfo[A]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var A in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,A)&&(this.streamInfo[A]=this.extraStreamInfo[A])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var A="Worker "+this.name;return this.previous?this.previous+" -> "+A:A}},e.exports=n},{}],29:[function(A,e,t){"use strict";var n=A("../utils"),i=A("./ConvertWorker"),r=A("./GenericWorker"),o=A("../base64"),s=A("../support"),a=A("../external"),l=null;if(s.nodestream)try{l=A("../nodejs/NodejsStreamOutputAdapter")}catch(A){}function c(A,e){return new a.Promise((function(t,i){var r=[],s=A._internalType,a=A._outputType,l=A._mimeType;A.on("data",(function(A,t){r.push(A),e&&e(t)})).on("error",(function(A){r=[],i(A)})).on("end",(function(){try{var A=function(A,e,t){switch(A){case"blob":return n.newBlob(n.transformTo("arraybuffer",e),t);case"base64":return o.encode(e);default:return n.transformTo(A,e)}}(a,function(A,e){var t,n=0,i=null,r=0;for(t=0;t<e.length;t++)r+=e[t].length;switch(A){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(i=new Uint8Array(r),t=0;t<e.length;t++)i.set(e[t],n),n+=e[t].length;return i;case"nodebuffer":return Buffer.concat(e);default:throw new Error("concat : unsupported type '"+A+"'")}}(s,r),l);t(A)}catch(A){i(A)}r=[]})).resume()}))}function d(A,e,t){var o=e;switch(e){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=e,this._mimeType=t,n.checkSupport(o),this._worker=A.pipe(new i(o)),A.lock()}catch(A){this._worker=new r("error"),this._worker.error(A)}}d.prototype={accumulate:function(A){return c(this,A)},on:function(A,e){var t=this;return"data"===A?this._worker.on(A,(function(A){e.call(t,A.data,A.meta)})):this._worker.on(A,(function(){n.delay(e,arguments,t)})),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(A){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new l(this,{objectMode:"nodebuffer"!==this._outputType},A)}},e.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(A,e,t){"use strict";if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,t.nodebuffer="undefined"!=typeof Buffer,t.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)t.blob=!1;else{var n=new ArrayBuffer(0);try{t.blob=0===new Blob([n],{type:"application/zip"}).size}catch(A){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(n),t.blob=0===i.getBlob("application/zip").size}catch(A){t.blob=!1}}}try{t.nodestream=!!A("readable-stream").Readable}catch(A){t.nodestream=!1}},{"readable-stream":16}],31:[function(A,e,t){"use strict";for(var n=A("./utils"),i=A("./support"),r=A("./nodejsUtils"),o=A("./stream/GenericWorker"),s=new Array(256),a=0;a<256;a++)s[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function l(){o.call(this,"utf-8 decode"),this.leftOver=null}function c(){o.call(this,"utf-8 encode")}s[254]=s[254]=1,t.utf8encode=function(A){return i.nodebuffer?r.newBufferFrom(A,"utf-8"):function(A){var e,t,n,r,o,s=A.length,a=0;for(r=0;r<s;r++)55296==(64512&(t=A.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=A.charCodeAt(r+1)))&&(t=65536+(t-55296<<10)+(n-56320),r++),a+=t<128?1:t<2048?2:t<65536?3:4;for(e=i.uint8array?new Uint8Array(a):new Array(a),r=o=0;o<a;r++)55296==(64512&(t=A.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=A.charCodeAt(r+1)))&&(t=65536+(t-55296<<10)+(n-56320),r++),t<128?e[o++]=t:(t<2048?e[o++]=192|t>>>6:(t<65536?e[o++]=224|t>>>12:(e[o++]=240|t>>>18,e[o++]=128|t>>>12&63),e[o++]=128|t>>>6&63),e[o++]=128|63&t);return e}(A)},t.utf8decode=function(A){return i.nodebuffer?n.transformTo("nodebuffer",A).toString("utf-8"):function(A){var e,t,i,r,o=A.length,a=new Array(2*o);for(e=t=0;e<o;)if((i=A[e++])<128)a[t++]=i;else if(4<(r=s[i]))a[t++]=65533,e+=r-1;else{for(i&=2===r?31:3===r?15:7;1<r&&e<o;)i=i<<6|63&A[e++],r--;1<r?a[t++]=65533:i<65536?a[t++]=i:(i-=65536,a[t++]=55296|i>>10&1023,a[t++]=56320|1023&i)}return a.length!==t&&(a.subarray?a=a.subarray(0,t):a.length=t),n.applyFromCharCode(a)}(A=n.transformTo(i.uint8array?"uint8array":"array",A))},n.inherits(l,o),l.prototype.processChunk=function(A){var e=n.transformTo(i.uint8array?"uint8array":"array",A.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var o=function(A,e){var t;for((e=e||A.length)>A.length&&(e=A.length),t=e-1;0<=t&&128==(192&A[t]);)t--;return t<0||0===t?e:t+s[A[t]]>e?t:e}(e),a=e;o!==e.length&&(i.uint8array?(a=e.subarray(0,o),this.leftOver=e.subarray(o,e.length)):(a=e.slice(0,o),this.leftOver=e.slice(o,e.length))),this.push({data:t.utf8decode(a),meta:A.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=l,n.inherits(c,o),c.prototype.processChunk=function(A){this.push({data:t.utf8encode(A.data),meta:A.meta})},t.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(A,e,t){"use strict";var n=A("./support"),i=A("./base64"),r=A("./nodejsUtils"),o=A("./external");function s(A){return A}function a(A,e){for(var t=0;t<A.length;++t)e[t]=255&A.charCodeAt(t);return e}A("setimmediate"),t.newBlob=function(e,n){t.checkSupport("blob");try{return new Blob([e],{type:n})}catch(A){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(e),i.getBlob(n)}catch(A){throw new Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(A,e,t){var n=[],i=0,r=A.length;if(r<=t)return String.fromCharCode.apply(null,A);for(;i<r;)"array"===e||"nodebuffer"===e?n.push(String.fromCharCode.apply(null,A.slice(i,Math.min(i+t,r)))):n.push(String.fromCharCode.apply(null,A.subarray(i,Math.min(i+t,r)))),i+=t;return n.join("")},stringifyByChar:function(A){for(var e="",t=0;t<A.length;t++)e+=String.fromCharCode(A[t]);return e},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(A){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,r.allocBuffer(1)).length}catch(A){return!1}}()}};function c(A){var e=65536,n=t.getTypeOf(A),i=!0;if("uint8array"===n?i=l.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=l.applyCanBeUsed.nodebuffer),i)for(;1<e;)try{return l.stringifyByChunk(A,n,e)}catch(A){e=Math.floor(e/2)}return l.stringifyByChar(A)}function d(A,e){for(var t=0;t<A.length;t++)e[t]=A[t];return e}t.applyFromCharCode=c;var u={};u.string={string:s,array:function(A){return a(A,new Array(A.length))},arraybuffer:function(A){return u.string.uint8array(A).buffer},uint8array:function(A){return a(A,new Uint8Array(A.length))},nodebuffer:function(A){return a(A,r.allocBuffer(A.length))}},u.array={string:c,array:s,arraybuffer:function(A){return new Uint8Array(A).buffer},uint8array:function(A){return new Uint8Array(A)},nodebuffer:function(A){return r.newBufferFrom(A)}},u.arraybuffer={string:function(A){return c(new Uint8Array(A))},array:function(A){return d(new Uint8Array(A),new Array(A.byteLength))},arraybuffer:s,uint8array:function(A){return new Uint8Array(A)},nodebuffer:function(A){return r.newBufferFrom(new Uint8Array(A))}},u.uint8array={string:c,array:function(A){return d(A,new Array(A.length))},arraybuffer:function(A){return A.buffer},uint8array:s,nodebuffer:function(A){return r.newBufferFrom(A)}},u.nodebuffer={string:c,array:function(A){return d(A,new Array(A.length))},arraybuffer:function(A){return u.nodebuffer.uint8array(A).buffer},uint8array:function(A){return d(A,new Uint8Array(A.length))},nodebuffer:s},t.transformTo=function(A,e){if(e=e||"",!A)return e;t.checkSupport(A);var n=t.getTypeOf(e);return u[n][A](e)},t.resolve=function(A){for(var e=A.split("/"),t=[],n=0;n<e.length;n++){var i=e[n];"."===i||""===i&&0!==n&&n!==e.length-1||(".."===i?t.pop():t.push(i))}return t.join("/")},t.getTypeOf=function(A){return"string"==typeof A?"string":"[object Array]"===Object.prototype.toString.call(A)?"array":n.nodebuffer&&r.isBuffer(A)?"nodebuffer":n.uint8array&&A instanceof Uint8Array?"uint8array":n.arraybuffer&&A instanceof ArrayBuffer?"arraybuffer":void 0},t.checkSupport=function(A){if(!n[A.toLowerCase()])throw new Error(A+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(A){var e,t,n="";for(t=0;t<(A||"").length;t++)n+="\\x"+((e=A.charCodeAt(t))<16?"0":"")+e.toString(16).toUpperCase();return n},t.delay=function(A,e,t){setImmediate((function(){A.apply(t||null,e||[])}))},t.inherits=function(A,e){function t(){}t.prototype=e.prototype,A.prototype=new t},t.extend=function(){var A,e,t={};for(A=0;A<arguments.length;A++)for(e in arguments[A])Object.prototype.hasOwnProperty.call(arguments[A],e)&&void 0===t[e]&&(t[e]=arguments[A][e]);return t},t.prepareContent=function(A,e,r,s,l){return o.Promise.resolve(e).then((function(A){return n.blob&&(A instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(A)))&&"undefined"!=typeof FileReader?new o.Promise((function(e,t){var n=new FileReader;n.onload=function(A){e(A.target.result)},n.onerror=function(A){t(A.target.error)},n.readAsArrayBuffer(A)})):A})).then((function(e){var c=t.getTypeOf(e);return c?("arraybuffer"===c?e=t.transformTo("uint8array",e):"string"===c&&(l?e=i.decode(e):r&&!0!==s&&(e=function(A){return a(A,n.uint8array?new Uint8Array(A.length):new Array(A.length))}(e))),e):o.Promise.reject(new Error("Can't read the data of '"+A+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(A,e,t){"use strict";var n=A("./reader/readerFor"),i=A("./utils"),r=A("./signature"),o=A("./zipEntry"),s=A("./support");function a(A){this.files=[],this.loadOptions=A}a.prototype={checkSignature:function(A){if(!this.reader.readAndCheckSignature(A)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(e)+", expected "+i.pretty(A)+")")}},isSignature:function(A,e){var t=this.reader.index;this.reader.setIndex(A);var n=this.reader.readString(4)===e;return this.reader.setIndex(t),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var A=this.reader.readData(this.zipCommentLength),e=s.uint8array?"uint8array":"array",t=i.transformTo(e,A);this.zipComment=this.loadOptions.decodeFileName(t)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var A,e,t,n=this.zip64EndOfCentralSize-44;0<n;)A=this.reader.readInt(2),e=this.reader.readInt(4),t=this.reader.readData(e),this.zip64ExtensibleData[A]={id:A,length:e,value:t}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var A,e;for(A=0;A<this.files.length;A++)e=this.files[A],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(r.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var A;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(r.CENTRAL_FILE_HEADER);)(A=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(A);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var A=this.reader.lastIndexOfSignature(r.CENTRAL_DIRECTORY_END);if(A<0)throw this.isSignature(0,r.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(A);var e=A;if(this.checkSignature(r.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(A=this.reader.lastIndexOfSignature(r.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(A),this.checkSignature(r.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,r.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(r.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(r.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var t=this.centralDirOffset+this.centralDirSize;this.zip64&&(t+=20,t+=12+this.zip64EndOfCentralSize);var n=e-t;if(0<n)this.isSignature(e,r.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(A){this.reader=n(A)},load:function(A){this.prepareReader(A),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=a},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(A,e,t){"use strict";var n=A("./reader/readerFor"),i=A("./utils"),r=A("./compressedObject"),o=A("./crc32"),s=A("./utf8"),a=A("./compressions"),l=A("./support");function c(A,e){this.options=A,this.loadOptions=e}c.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(A){var e,t;if(A.skip(22),this.fileNameLength=A.readInt(2),t=A.readInt(2),this.fileName=A.readData(this.fileNameLength),A.skip(t),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(A){for(var e in a)if(Object.prototype.hasOwnProperty.call(a,e)&&a[e].magic===A)return a[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new r(this.compressedSize,this.uncompressedSize,this.crc32,e,A.readData(this.compressedSize))},readCentralPart:function(A){this.versionMadeBy=A.readInt(2),A.skip(2),this.bitFlag=A.readInt(2),this.compressionMethod=A.readString(2),this.date=A.readDate(),this.crc32=A.readInt(4),this.compressedSize=A.readInt(4),this.uncompressedSize=A.readInt(4);var e=A.readInt(2);if(this.extraFieldsLength=A.readInt(2),this.fileCommentLength=A.readInt(2),this.diskNumberStart=A.readInt(2),this.internalFileAttributes=A.readInt(2),this.externalFileAttributes=A.readInt(4),this.localHeaderOffset=A.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");A.skip(e),this.readExtraFields(A),this.parseZIP64ExtraField(A),this.fileComment=A.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var A=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==A&&(this.dosPermissions=63&this.externalFileAttributes),3==A&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var A=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=A.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=A.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=A.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=A.readInt(4))}},readExtraFields:function(A){var e,t,n,i=A.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});A.index+4<i;)e=A.readInt(2),t=A.readInt(2),n=A.readData(t),this.extraFields[e]={id:e,length:t,value:n};A.setIndex(i)},handleUTF8:function(){var A=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var t=i.transformTo(A,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(t)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var r=i.transformTo(A,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(r)}}},findExtraFieldUnicodePath:function(){var A=this.extraFields[28789];if(A){var e=n(A.value);return 1!==e.readInt(1)||o(this.fileName)!==e.readInt(4)?null:s.utf8decode(e.readData(A.length-5))}return null},findExtraFieldUnicodeComment:function(){var A=this.extraFields[25461];if(A){var e=n(A.value);return 1!==e.readInt(1)||o(this.fileComment)!==e.readInt(4)?null:s.utf8decode(e.readData(A.length-5))}return null}},e.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(A,e,t){"use strict";function n(A,e,t){this.name=A,this.dir=t.dir,this.date=t.date,this.comment=t.comment,this.unixPermissions=t.unixPermissions,this.dosPermissions=t.dosPermissions,this._data=e,this._dataBinary=t.binary,this.options={compression:t.compression,compressionOptions:t.compressionOptions}}var i=A("./stream/StreamHelper"),r=A("./stream/DataWorker"),o=A("./utf8"),s=A("./compressedObject"),a=A("./stream/GenericWorker");n.prototype={internalStream:function(A){var e=null,t="string";try{if(!A)throw new Error("No output type specified.");var n="string"===(t=A.toLowerCase())||"text"===t;"binarystring"!==t&&"text"!==t||(t="string"),e=this._decompressWorker();var r=!this._dataBinary;r&&!n&&(e=e.pipe(new o.Utf8EncodeWorker)),!r&&n&&(e=e.pipe(new o.Utf8DecodeWorker))}catch(A){(e=new a("error")).error(A)}return new i(e,t,"")},async:function(A,e){return this.internalStream(A).accumulate(e)},nodeStream:function(A,e){return this.internalStream(A||"nodebuffer").toNodejsStream(e)},_compressWorker:function(A,e){if(this._data instanceof s&&this._data.compression.magic===A.magic)return this._data.getCompressedWorker();var t=this._decompressWorker();return this._dataBinary||(t=t.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(t,A,e)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof a?this._data:new r(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<l.length;d++)n.prototype[l[d]]=c;e.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(A,e,n){(function(A){"use strict";var t,n,i=A.MutationObserver||A.WebKitMutationObserver;if(i){var r=0,o=new i(c),s=A.document.createTextNode("");o.observe(s,{characterData:!0}),t=function(){s.data=r=++r%2}}else if(A.setImmediate||void 0===A.MessageChannel)t="document"in A&&"onreadystatechange"in A.document.createElement("script")?function(){var e=A.document.createElement("script");e.onreadystatechange=function(){c(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},A.document.documentElement.appendChild(e)}:function(){setTimeout(c,0)};else{var a=new A.MessageChannel;a.port1.onmessage=c,t=function(){a.port2.postMessage(0)}}var l=[];function c(){var A,e;n=!0;for(var t=l.length;t;){for(e=l,l=[],A=-1;++A<t;)e[A]();t=l.length}n=!1}e.exports=function(A){1!==l.push(A)||n||t()}}).call(this,"undefined"!=typeof t.g?t.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(A,e,t){"use strict";var n=A("immediate");function i(){}var r={},o=["REJECTED"],s=["FULFILLED"],a=["PENDING"];function l(A){if("function"!=typeof A)throw new TypeError("resolver must be a function");this.state=a,this.queue=[],this.outcome=void 0,A!==i&&h(this,A)}function c(A,e,t){this.promise=A,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof t&&(this.onRejected=t,this.callRejected=this.otherCallRejected)}function d(A,e,t){n((function(){var n;try{n=e(t)}catch(n){return r.reject(A,n)}n===A?r.reject(A,new TypeError("Cannot resolve promise with itself")):r.resolve(A,n)}))}function u(A){var e=A&&A.then;if(A&&("object"==typeof A||"function"==typeof A)&&"function"==typeof e)return function(){e.apply(A,arguments)}}function h(A,e){var t=!1;function n(e){t||(t=!0,r.reject(A,e))}function i(e){t||(t=!0,r.resolve(A,e))}var o=g((function(){e(i,n)}));"error"===o.status&&n(o.value)}function g(A,e){var t={};try{t.value=A(e),t.status="success"}catch(A){t.status="error",t.value=A}return t}(e.exports=l).prototype.finally=function(A){if("function"!=typeof A)return this;var e=this.constructor;return this.then((function(t){return e.resolve(A()).then((function(){return t}))}),(function(t){return e.resolve(A()).then((function(){throw t}))}))},l.prototype.catch=function(A){return this.then(null,A)},l.prototype.then=function(A,e){if("function"!=typeof A&&this.state===s||"function"!=typeof e&&this.state===o)return this;var t=new this.constructor(i);return this.state!==a?d(t,this.state===s?A:e,this.outcome):this.queue.push(new c(t,A,e)),t},c.prototype.callFulfilled=function(A){r.resolve(this.promise,A)},c.prototype.otherCallFulfilled=function(A){d(this.promise,this.onFulfilled,A)},c.prototype.callRejected=function(A){r.reject(this.promise,A)},c.prototype.otherCallRejected=function(A){d(this.promise,this.onRejected,A)},r.resolve=function(A,e){var t=g(u,e);if("error"===t.status)return r.reject(A,t.value);var n=t.value;if(n)h(A,n);else{A.state=s,A.outcome=e;for(var i=-1,o=A.queue.length;++i<o;)A.queue[i].callFulfilled(e)}return A},r.reject=function(A,e){A.state=o,A.outcome=e;for(var t=-1,n=A.queue.length;++t<n;)A.queue[t].callRejected(e);return A},l.resolve=function(A){return A instanceof this?A:r.resolve(new this(i),A)},l.reject=function(A){var e=new this(i);return r.reject(e,A)},l.all=function(A){var e=this;if("[object Array]"!==Object.prototype.toString.call(A))return this.reject(new TypeError("must be an array"));var t=A.length,n=!1;if(!t)return this.resolve([]);for(var o=new Array(t),s=0,a=-1,l=new this(i);++a<t;)c(A[a],a);return l;function c(A,i){e.resolve(A).then((function(A){o[i]=A,++s!==t||n||(n=!0,r.resolve(l,o))}),(function(A){n||(n=!0,r.reject(l,A))}))}},l.race=function(A){var e=this;if("[object Array]"!==Object.prototype.toString.call(A))return this.reject(new TypeError("must be an array"));var t=A.length,n=!1;if(!t)return this.resolve([]);for(var o,s=-1,a=new this(i);++s<t;)o=A[s],e.resolve(o).then((function(A){n||(n=!0,r.resolve(a,A))}),(function(A){n||(n=!0,r.reject(a,A))}));return a}},{immediate:36}],38:[function(A,e,t){"use strict";var n={};(0,A("./lib/utils/common").assign)(n,A("./lib/deflate"),A("./lib/inflate"),A("./lib/zlib/constants")),e.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(A,e,t){"use strict";var n=A("./zlib/deflate"),i=A("./utils/common"),r=A("./utils/strings"),o=A("./zlib/messages"),s=A("./zlib/zstream"),a=Object.prototype.toString,l=0,c=-1,d=0,u=8;function h(A){if(!(this instanceof h))return new h(A);this.options=i.assign({level:c,method:u,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},A||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var t=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(t!==l)throw new Error(o[t]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){var g;if(g="string"==typeof e.dictionary?r.string2buf(e.dictionary):"[object ArrayBuffer]"===a.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(t=n.deflateSetDictionary(this.strm,g))!==l)throw new Error(o[t]);this._dict_set=!0}}function g(A,e){var t=new h(e);if(t.push(A,!0),t.err)throw t.msg||o[t.err];return t.result}h.prototype.push=function(A,e){var t,o,s=this.strm,c=this.options.chunkSize;if(this.ended)return!1;o=e===~~e?e:!0===e?4:0,"string"==typeof A?s.input=r.string2buf(A):"[object ArrayBuffer]"===a.call(A)?s.input=new Uint8Array(A):s.input=A,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(c),s.next_out=0,s.avail_out=c),1!==(t=n.deflate(s,o))&&t!==l)return this.onEnd(t),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(r.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==t);return 4===o?(t=n.deflateEnd(this.strm),this.onEnd(t),this.ended=!0,t===l):2!==o||(this.onEnd(l),!(s.avail_out=0))},h.prototype.onData=function(A){this.chunks.push(A)},h.prototype.onEnd=function(A){A===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg},t.Deflate=h,t.deflate=g,t.deflateRaw=function(A,e){return(e=e||{}).raw=!0,g(A,e)},t.gzip=function(A,e){return(e=e||{}).gzip=!0,g(A,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(A,e,t){"use strict";var n=A("./zlib/inflate"),i=A("./utils/common"),r=A("./utils/strings"),o=A("./zlib/constants"),s=A("./zlib/messages"),a=A("./zlib/zstream"),l=A("./zlib/gzheader"),c=Object.prototype.toString;function d(A){if(!(this instanceof d))return new d(A);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},A||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||A&&A.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var t=n.inflateInit2(this.strm,e.windowBits);if(t!==o.Z_OK)throw new Error(s[t]);this.header=new l,n.inflateGetHeader(this.strm,this.header)}function u(A,e){var t=new d(e);if(t.push(A,!0),t.err)throw t.msg||s[t.err];return t.result}d.prototype.push=function(A,e){var t,s,a,l,d,u,h=this.strm,g=this.options.chunkSize,p=this.options.dictionary,f=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof A?h.input=r.binstring2buf(A):"[object ArrayBuffer]"===c.call(A)?h.input=new Uint8Array(A):h.input=A,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(g),h.next_out=0,h.avail_out=g),(t=n.inflate(h,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&p&&(u="string"==typeof p?r.string2buf(p):"[object ArrayBuffer]"===c.call(p)?new Uint8Array(p):p,t=n.inflateSetDictionary(this.strm,u)),t===o.Z_BUF_ERROR&&!0===f&&(t=o.Z_OK,f=!1),t!==o.Z_STREAM_END&&t!==o.Z_OK)return this.onEnd(t),!(this.ended=!0);h.next_out&&(0!==h.avail_out&&t!==o.Z_STREAM_END&&(0!==h.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(a=r.utf8border(h.output,h.next_out),l=h.next_out-a,d=r.buf2string(h.output,a),h.next_out=l,h.avail_out=g-l,l&&i.arraySet(h.output,h.output,a,l,0),this.onData(d)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(f=!0)}while((0<h.avail_in||0===h.avail_out)&&t!==o.Z_STREAM_END);return t===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(t=n.inflateEnd(this.strm),this.onEnd(t),this.ended=!0,t===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(h.avail_out=0))},d.prototype.onData=function(A){this.chunks.push(A)},d.prototype.onEnd=function(A){A===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg},t.Inflate=d,t.inflate=u,t.inflateRaw=function(A,e){return(e=e||{}).raw=!0,u(A,e)},t.ungzip=u},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(A,e,t){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;t.assign=function(A){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var t=e.shift();if(t){if("object"!=typeof t)throw new TypeError(t+"must be non-object");for(var n in t)t.hasOwnProperty(n)&&(A[n]=t[n])}}return A},t.shrinkBuf=function(A,e){return A.length===e?A:A.subarray?A.subarray(0,e):(A.length=e,A)};var i={arraySet:function(A,e,t,n,i){if(e.subarray&&A.subarray)A.set(e.subarray(t,t+n),i);else for(var r=0;r<n;r++)A[i+r]=e[t+r]},flattenChunks:function(A){var e,t,n,i,r,o;for(e=n=0,t=A.length;e<t;e++)n+=A[e].length;for(o=new Uint8Array(n),e=i=0,t=A.length;e<t;e++)r=A[e],o.set(r,i),i+=r.length;return o}},r={arraySet:function(A,e,t,n,i){for(var r=0;r<n;r++)A[i+r]=e[t+r]},flattenChunks:function(A){return[].concat.apply([],A)}};t.setTyped=function(A){A?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,i)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,r))},t.setTyped(n)},{}],42:[function(A,e,t){"use strict";var n=A("./common"),i=!0,r=!0;try{String.fromCharCode.apply(null,[0])}catch(A){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(A){r=!1}for(var o=new n.Buf8(256),s=0;s<256;s++)o[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function a(A,e){if(e<65537&&(A.subarray&&r||!A.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(A,e));for(var t="",o=0;o<e;o++)t+=String.fromCharCode(A[o]);return t}o[254]=o[254]=1,t.string2buf=function(A){var e,t,i,r,o,s=A.length,a=0;for(r=0;r<s;r++)55296==(64512&(t=A.charCodeAt(r)))&&r+1<s&&56320==(64512&(i=A.charCodeAt(r+1)))&&(t=65536+(t-55296<<10)+(i-56320),r++),a+=t<128?1:t<2048?2:t<65536?3:4;for(e=new n.Buf8(a),r=o=0;o<a;r++)55296==(64512&(t=A.charCodeAt(r)))&&r+1<s&&56320==(64512&(i=A.charCodeAt(r+1)))&&(t=65536+(t-55296<<10)+(i-56320),r++),t<128?e[o++]=t:(t<2048?e[o++]=192|t>>>6:(t<65536?e[o++]=224|t>>>12:(e[o++]=240|t>>>18,e[o++]=128|t>>>12&63),e[o++]=128|t>>>6&63),e[o++]=128|63&t);return e},t.buf2binstring=function(A){return a(A,A.length)},t.binstring2buf=function(A){for(var e=new n.Buf8(A.length),t=0,i=e.length;t<i;t++)e[t]=A.charCodeAt(t);return e},t.buf2string=function(A,e){var t,n,i,r,s=e||A.length,l=new Array(2*s);for(t=n=0;t<s;)if((i=A[t++])<128)l[n++]=i;else if(4<(r=o[i]))l[n++]=65533,t+=r-1;else{for(i&=2===r?31:3===r?15:7;1<r&&t<s;)i=i<<6|63&A[t++],r--;1<r?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return a(l,n)},t.utf8border=function(A,e){var t;for((e=e||A.length)>A.length&&(e=A.length),t=e-1;0<=t&&128==(192&A[t]);)t--;return t<0||0===t?e:t+o[A[t]]>e?t:e}},{"./common":41}],43:[function(A,e,t){"use strict";e.exports=function(A,e,t,n){for(var i=65535&A|0,r=A>>>16&65535|0,o=0;0!==t;){for(t-=o=2e3<t?2e3:t;r=r+(i=i+e[n++]|0)|0,--o;);i%=65521,r%=65521}return i|r<<16|0}},{}],44:[function(A,e,t){"use strict";e.exports={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_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}},{}],45:[function(A,e,t){"use strict";var n=function(){for(var A,e=[],t=0;t<256;t++){A=t;for(var n=0;n<8;n++)A=1&A?3988292384^A>>>1:A>>>1;e[t]=A}return e}();e.exports=function(A,e,t,i){var r=n,o=i+t;A^=-1;for(var s=i;s<o;s++)A=A>>>8^r[255&(A^e[s])];return-1^A}},{}],46:[function(A,e,t){"use strict";var n,i=A("../utils/common"),r=A("./trees"),o=A("./adler32"),s=A("./crc32"),a=A("./messages"),l=0,c=4,d=0,u=-2,h=-1,g=4,p=2,f=8,m=9,B=286,w=30,v=19,C=2*B+1,b=15,y=3,_=258,Q=_+y+1,U=42,F=113,x=1,E=2,k=3,I=4;function S(A,e){return A.msg=a[e],e}function H(A){return(A<<1)-(4<A?9:0)}function D(A){for(var e=A.length;0<=--e;)A[e]=0}function L(A){var e=A.state,t=e.pending;t>A.avail_out&&(t=A.avail_out),0!==t&&(i.arraySet(A.output,e.pending_buf,e.pending_out,t,A.next_out),A.next_out+=t,e.pending_out+=t,A.total_out+=t,A.avail_out-=t,e.pending-=t,0===e.pending&&(e.pending_out=0))}function O(A,e){r._tr_flush_block(A,0<=A.block_start?A.block_start:-1,A.strstart-A.block_start,e),A.block_start=A.strstart,L(A.strm)}function M(A,e){A.pending_buf[A.pending++]=e}function T(A,e){A.pending_buf[A.pending++]=e>>>8&255,A.pending_buf[A.pending++]=255&e}function K(A,e){var t,n,i=A.max_chain_length,r=A.strstart,o=A.prev_length,s=A.nice_match,a=A.strstart>A.w_size-Q?A.strstart-(A.w_size-Q):0,l=A.window,c=A.w_mask,d=A.prev,u=A.strstart+_,h=l[r+o-1],g=l[r+o];A.prev_length>=A.good_match&&(i>>=2),s>A.lookahead&&(s=A.lookahead);do{if(l[(t=e)+o]===g&&l[t+o-1]===h&&l[t]===l[r]&&l[++t]===l[r+1]){r+=2,t++;do{}while(l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&r<u);if(n=_-(u-r),r=u-_,o<n){if(A.match_start=e,s<=(o=n))break;h=l[r+o-1],g=l[r+o]}}}while((e=d[e&c])>a&&0!=--i);return o<=A.lookahead?o:A.lookahead}function N(A){var e,t,n,r,a,l,c,d,u,h,g=A.w_size;do{if(r=A.window_size-A.lookahead-A.strstart,A.strstart>=g+(g-Q)){for(i.arraySet(A.window,A.window,g,g,0),A.match_start-=g,A.strstart-=g,A.block_start-=g,e=t=A.hash_size;n=A.head[--e],A.head[e]=g<=n?n-g:0,--t;);for(e=t=g;n=A.prev[--e],A.prev[e]=g<=n?n-g:0,--t;);r+=g}if(0===A.strm.avail_in)break;if(l=A.strm,c=A.window,d=A.strstart+A.lookahead,u=r,h=void 0,h=l.avail_in,u<h&&(h=u),t=0===h?0:(l.avail_in-=h,i.arraySet(c,l.input,l.next_in,h,d),1===l.state.wrap?l.adler=o(l.adler,c,h,d):2===l.state.wrap&&(l.adler=s(l.adler,c,h,d)),l.next_in+=h,l.total_in+=h,h),A.lookahead+=t,A.lookahead+A.insert>=y)for(a=A.strstart-A.insert,A.ins_h=A.window[a],A.ins_h=(A.ins_h<<A.hash_shift^A.window[a+1])&A.hash_mask;A.insert&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[a+y-1])&A.hash_mask,A.prev[a&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=a,a++,A.insert--,!(A.lookahead+A.insert<y)););}while(A.lookahead<Q&&0!==A.strm.avail_in)}function P(A,e){for(var t,n;;){if(A.lookahead<Q){if(N(A),A.lookahead<Q&&e===l)return x;if(0===A.lookahead)break}if(t=0,A.lookahead>=y&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+y-1])&A.hash_mask,t=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart),0!==t&&A.strstart-t<=A.w_size-Q&&(A.match_length=K(A,t)),A.match_length>=y)if(n=r._tr_tally(A,A.strstart-A.match_start,A.match_length-y),A.lookahead-=A.match_length,A.match_length<=A.max_lazy_match&&A.lookahead>=y){for(A.match_length--;A.strstart++,A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+y-1])&A.hash_mask,t=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart,0!=--A.match_length;);A.strstart++}else A.strstart+=A.match_length,A.match_length=0,A.ins_h=A.window[A.strstart],A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+1])&A.hash_mask;else n=r._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++;if(n&&(O(A,!1),0===A.strm.avail_out))return x}return A.insert=A.strstart<y-1?A.strstart:y-1,e===c?(O(A,!0),0===A.strm.avail_out?k:I):A.last_lit&&(O(A,!1),0===A.strm.avail_out)?x:E}function R(A,e){for(var t,n,i;;){if(A.lookahead<Q){if(N(A),A.lookahead<Q&&e===l)return x;if(0===A.lookahead)break}if(t=0,A.lookahead>=y&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+y-1])&A.hash_mask,t=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart),A.prev_length=A.match_length,A.prev_match=A.match_start,A.match_length=y-1,0!==t&&A.prev_length<A.max_lazy_match&&A.strstart-t<=A.w_size-Q&&(A.match_length=K(A,t),A.match_length<=5&&(1===A.strategy||A.match_length===y&&4096<A.strstart-A.match_start)&&(A.match_length=y-1)),A.prev_length>=y&&A.match_length<=A.prev_length){for(i=A.strstart+A.lookahead-y,n=r._tr_tally(A,A.strstart-1-A.prev_match,A.prev_length-y),A.lookahead-=A.prev_length-1,A.prev_length-=2;++A.strstart<=i&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+y-1])&A.hash_mask,t=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart),0!=--A.prev_length;);if(A.match_available=0,A.match_length=y-1,A.strstart++,n&&(O(A,!1),0===A.strm.avail_out))return x}else if(A.match_available){if((n=r._tr_tally(A,0,A.window[A.strstart-1]))&&O(A,!1),A.strstart++,A.lookahead--,0===A.strm.avail_out)return x}else A.match_available=1,A.strstart++,A.lookahead--}return A.match_available&&(n=r._tr_tally(A,0,A.window[A.strstart-1]),A.match_available=0),A.insert=A.strstart<y-1?A.strstart:y-1,e===c?(O(A,!0),0===A.strm.avail_out?k:I):A.last_lit&&(O(A,!1),0===A.strm.avail_out)?x:E}function V(A,e,t,n,i){this.good_length=A,this.max_lazy=e,this.nice_length=t,this.max_chain=n,this.func=i}function G(){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=f,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 i.Buf16(2*C),this.dyn_dtree=new i.Buf16(2*(2*w+1)),this.bl_tree=new i.Buf16(2*(2*v+1)),D(this.dyn_ltree),D(this.dyn_dtree),D(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(b+1),this.heap=new i.Buf16(2*B+1),D(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*B+1),D(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function z(A){var e;return A&&A.state?(A.total_in=A.total_out=0,A.data_type=p,(e=A.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?U:F,A.adler=2===e.wrap?0:1,e.last_flush=l,r._tr_init(e),d):S(A,u)}function j(A){var e=z(A);return e===d&&function(A){A.window_size=2*A.w_size,D(A.head),A.max_lazy_match=n[A.level].max_lazy,A.good_match=n[A.level].good_length,A.nice_match=n[A.level].nice_length,A.max_chain_length=n[A.level].max_chain,A.strstart=0,A.block_start=0,A.lookahead=0,A.insert=0,A.match_length=A.prev_length=y-1,A.match_available=0,A.ins_h=0}(A.state),e}function Z(A,e,t,n,r,o){if(!A)return u;var s=1;if(e===h&&(e=6),n<0?(s=0,n=-n):15<n&&(s=2,n-=16),r<1||m<r||t!==f||n<8||15<n||e<0||9<e||o<0||g<o)return S(A,u);8===n&&(n=9);var a=new G;return(A.state=a).strm=A,a.wrap=s,a.gzhead=null,a.w_bits=n,a.w_size=1<<a.w_bits,a.w_mask=a.w_size-1,a.hash_bits=r+7,a.hash_size=1<<a.hash_bits,a.hash_mask=a.hash_size-1,a.hash_shift=~~((a.hash_bits+y-1)/y),a.window=new i.Buf8(2*a.w_size),a.head=new i.Buf16(a.hash_size),a.prev=new i.Buf16(a.w_size),a.lit_bufsize=1<<r+6,a.pending_buf_size=4*a.lit_bufsize,a.pending_buf=new i.Buf8(a.pending_buf_size),a.d_buf=1*a.lit_bufsize,a.l_buf=3*a.lit_bufsize,a.level=e,a.strategy=o,a.method=t,j(A)}n=[new V(0,0,0,0,(function(A,e){var t=65535;for(t>A.pending_buf_size-5&&(t=A.pending_buf_size-5);;){if(A.lookahead<=1){if(N(A),0===A.lookahead&&e===l)return x;if(0===A.lookahead)break}A.strstart+=A.lookahead,A.lookahead=0;var n=A.block_start+t;if((0===A.strstart||A.strstart>=n)&&(A.lookahead=A.strstart-n,A.strstart=n,O(A,!1),0===A.strm.avail_out))return x;if(A.strstart-A.block_start>=A.w_size-Q&&(O(A,!1),0===A.strm.avail_out))return x}return A.insert=0,e===c?(O(A,!0),0===A.strm.avail_out?k:I):(A.strstart>A.block_start&&(O(A,!1),A.strm.avail_out),x)})),new V(4,4,8,4,P),new V(4,5,16,8,P),new V(4,6,32,32,P),new V(4,4,16,16,R),new V(8,16,32,32,R),new V(8,16,128,128,R),new V(8,32,128,256,R),new V(32,128,258,1024,R),new V(32,258,258,4096,R)],t.deflateInit=function(A,e){return Z(A,e,f,15,8,0)},t.deflateInit2=Z,t.deflateReset=j,t.deflateResetKeep=z,t.deflateSetHeader=function(A,e){return A&&A.state?2!==A.state.wrap?u:(A.state.gzhead=e,d):u},t.deflate=function(A,e){var t,i,o,a;if(!A||!A.state||5<e||e<0)return A?S(A,u):u;if(i=A.state,!A.output||!A.input&&0!==A.avail_in||666===i.status&&e!==c)return S(A,0===A.avail_out?-5:u);if(i.strm=A,t=i.last_flush,i.last_flush=e,i.status===U)if(2===i.wrap)A.adler=0,M(i,31),M(i,139),M(i,8),i.gzhead?(M(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),M(i,255&i.gzhead.time),M(i,i.gzhead.time>>8&255),M(i,i.gzhead.time>>16&255),M(i,i.gzhead.time>>24&255),M(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),M(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(M(i,255&i.gzhead.extra.length),M(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(A.adler=s(A.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(M(i,0),M(i,0),M(i,0),M(i,0),M(i,0),M(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),M(i,3),i.status=F);else{var h=f+(i.w_bits-8<<4)<<8;h|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(h|=32),h+=31-h%31,i.status=F,T(i,h),0!==i.strstart&&(T(i,A.adler>>>16),T(i,65535&A.adler)),A.adler=1}if(69===i.status)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(A.adler=s(A.adler,i.pending_buf,i.pending-o,o)),L(A),o=i.pending,i.pending!==i.pending_buf_size));)M(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(A.adler=s(A.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(A.adler=s(A.adler,i.pending_buf,i.pending-o,o)),L(A),o=i.pending,i.pending===i.pending_buf_size)){a=1;break}a=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,M(i,a)}while(0!==a);i.gzhead.hcrc&&i.pending>o&&(A.adler=s(A.adler,i.pending_buf,i.pending-o,o)),0===a&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(A.adler=s(A.adler,i.pending_buf,i.pending-o,o)),L(A),o=i.pending,i.pending===i.pending_buf_size)){a=1;break}a=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,M(i,a)}while(0!==a);i.gzhead.hcrc&&i.pending>o&&(A.adler=s(A.adler,i.pending_buf,i.pending-o,o)),0===a&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&L(A),i.pending+2<=i.pending_buf_size&&(M(i,255&A.adler),M(i,A.adler>>8&255),A.adler=0,i.status=F)):i.status=F),0!==i.pending){if(L(A),0===A.avail_out)return i.last_flush=-1,d}else if(0===A.avail_in&&H(e)<=H(t)&&e!==c)return S(A,-5);if(666===i.status&&0!==A.avail_in)return S(A,-5);if(0!==A.avail_in||0!==i.lookahead||e!==l&&666!==i.status){var g=2===i.strategy?function(A,e){for(var t;;){if(0===A.lookahead&&(N(A),0===A.lookahead)){if(e===l)return x;break}if(A.match_length=0,t=r._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++,t&&(O(A,!1),0===A.strm.avail_out))return x}return A.insert=0,e===c?(O(A,!0),0===A.strm.avail_out?k:I):A.last_lit&&(O(A,!1),0===A.strm.avail_out)?x:E}(i,e):3===i.strategy?function(A,e){for(var t,n,i,o,s=A.window;;){if(A.lookahead<=_){if(N(A),A.lookahead<=_&&e===l)return x;if(0===A.lookahead)break}if(A.match_length=0,A.lookahead>=y&&0<A.strstart&&(n=s[i=A.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){o=A.strstart+_;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<o);A.match_length=_-(o-i),A.match_length>A.lookahead&&(A.match_length=A.lookahead)}if(A.match_length>=y?(t=r._tr_tally(A,1,A.match_length-y),A.lookahead-=A.match_length,A.strstart+=A.match_length,A.match_length=0):(t=r._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++),t&&(O(A,!1),0===A.strm.avail_out))return x}return A.insert=0,e===c?(O(A,!0),0===A.strm.avail_out?k:I):A.last_lit&&(O(A,!1),0===A.strm.avail_out)?x:E}(i,e):n[i.level].func(i,e);if(g!==k&&g!==I||(i.status=666),g===x||g===k)return 0===A.avail_out&&(i.last_flush=-1),d;if(g===E&&(1===e?r._tr_align(i):5!==e&&(r._tr_stored_block(i,0,0,!1),3===e&&(D(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),L(A),0===A.avail_out))return i.last_flush=-1,d}return e!==c?d:i.wrap<=0?1:(2===i.wrap?(M(i,255&A.adler),M(i,A.adler>>8&255),M(i,A.adler>>16&255),M(i,A.adler>>24&255),M(i,255&A.total_in),M(i,A.total_in>>8&255),M(i,A.total_in>>16&255),M(i,A.total_in>>24&255)):(T(i,A.adler>>>16),T(i,65535&A.adler)),L(A),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?d:1)},t.deflateEnd=function(A){var e;return A&&A.state?(e=A.state.status)!==U&&69!==e&&73!==e&&91!==e&&103!==e&&e!==F&&666!==e?S(A,u):(A.state=null,e===F?S(A,-3):d):u},t.deflateSetDictionary=function(A,e){var t,n,r,s,a,l,c,h,g=e.length;if(!A||!A.state)return u;if(2===(s=(t=A.state).wrap)||1===s&&t.status!==U||t.lookahead)return u;for(1===s&&(A.adler=o(A.adler,e,g,0)),t.wrap=0,g>=t.w_size&&(0===s&&(D(t.head),t.strstart=0,t.block_start=0,t.insert=0),h=new i.Buf8(t.w_size),i.arraySet(h,e,g-t.w_size,t.w_size,0),e=h,g=t.w_size),a=A.avail_in,l=A.next_in,c=A.input,A.avail_in=g,A.next_in=0,A.input=e,N(t);t.lookahead>=y;){for(n=t.strstart,r=t.lookahead-(y-1);t.ins_h=(t.ins_h<<t.hash_shift^t.window[n+y-1])&t.hash_mask,t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,--r;);t.strstart=n,t.lookahead=y-1,N(t)}return t.strstart+=t.lookahead,t.block_start=t.strstart,t.insert=t.lookahead,t.lookahead=0,t.match_length=t.prev_length=y-1,t.match_available=0,A.next_in=l,A.input=c,A.avail_in=a,t.wrap=s,d},t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(A,e,t){"use strict";e.exports=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}},{}],48:[function(A,e,t){"use strict";e.exports=function(A,e){var t,n,i,r,o,s,a,l,c,d,u,h,g,p,f,m,B,w,v,C,b,y,_,Q,U;t=A.state,n=A.next_in,Q=A.input,i=n+(A.avail_in-5),r=A.next_out,U=A.output,o=r-(e-A.avail_out),s=r+(A.avail_out-257),a=t.dmax,l=t.wsize,c=t.whave,d=t.wnext,u=t.window,h=t.hold,g=t.bits,p=t.lencode,f=t.distcode,m=(1<<t.lenbits)-1,B=(1<<t.distbits)-1;A:do{g<15&&(h+=Q[n++]<<g,g+=8,h+=Q[n++]<<g,g+=8),w=p[h&m];e:for(;;){if(h>>>=v=w>>>24,g-=v,0===(v=w>>>16&255))U[r++]=65535&w;else{if(!(16&v)){if(0==(64&v)){w=p[(65535&w)+(h&(1<<v)-1)];continue e}if(32&v){t.mode=12;break A}A.msg="invalid literal/length code",t.mode=30;break A}C=65535&w,(v&=15)&&(g<v&&(h+=Q[n++]<<g,g+=8),C+=h&(1<<v)-1,h>>>=v,g-=v),g<15&&(h+=Q[n++]<<g,g+=8,h+=Q[n++]<<g,g+=8),w=f[h&B];t:for(;;){if(h>>>=v=w>>>24,g-=v,!(16&(v=w>>>16&255))){if(0==(64&v)){w=f[(65535&w)+(h&(1<<v)-1)];continue t}A.msg="invalid distance code",t.mode=30;break A}if(b=65535&w,g<(v&=15)&&(h+=Q[n++]<<g,(g+=8)<v&&(h+=Q[n++]<<g,g+=8)),a<(b+=h&(1<<v)-1)){A.msg="invalid distance too far back",t.mode=30;break A}if(h>>>=v,g-=v,(v=r-o)<b){if(c<(v=b-v)&&t.sane){A.msg="invalid distance too far back",t.mode=30;break A}if(_=u,(y=0)===d){if(y+=l-v,v<C){for(C-=v;U[r++]=u[y++],--v;);y=r-b,_=U}}else if(d<v){if(y+=l+d-v,(v-=d)<C){for(C-=v;U[r++]=u[y++],--v;);if(y=0,d<C){for(C-=v=d;U[r++]=u[y++],--v;);y=r-b,_=U}}}else if(y+=d-v,v<C){for(C-=v;U[r++]=u[y++],--v;);y=r-b,_=U}for(;2<C;)U[r++]=_[y++],U[r++]=_[y++],U[r++]=_[y++],C-=3;C&&(U[r++]=_[y++],1<C&&(U[r++]=_[y++]))}else{for(y=r-b;U[r++]=U[y++],U[r++]=U[y++],U[r++]=U[y++],2<(C-=3););C&&(U[r++]=U[y++],1<C&&(U[r++]=U[y++]))}break}}break}}while(n<i&&r<s);n-=C=g>>3,h&=(1<<(g-=C<<3))-1,A.next_in=n,A.next_out=r,A.avail_in=n<i?i-n+5:5-(n-i),A.avail_out=r<s?s-r+257:257-(r-s),t.hold=h,t.bits=g}},{}],49:[function(A,e,t){"use strict";var n=A("../utils/common"),i=A("./adler32"),r=A("./crc32"),o=A("./inffast"),s=A("./inftrees"),a=1,l=2,c=0,d=-2,u=1,h=852,g=592;function p(A){return(A>>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24)}function f(){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 n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function m(A){var e;return A&&A.state?(e=A.state,A.total_in=A.total_out=e.total=0,A.msg="",e.wrap&&(A.adler=1&e.wrap),e.mode=u,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(h),e.distcode=e.distdyn=new n.Buf32(g),e.sane=1,e.back=-1,c):d}function B(A){var e;return A&&A.state?((e=A.state).wsize=0,e.whave=0,e.wnext=0,m(A)):d}function w(A,e){var t,n;return A&&A.state?(n=A.state,e<0?(t=0,e=-e):(t=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?d:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=t,n.wbits=e,B(A))):d}function v(A,e){var t,n;return A?(n=new f,(A.state=n).window=null,(t=w(A,e))!==c&&(A.state=null),t):d}var C,b,y=!0;function _(A){if(y){var e;for(C=new n.Buf32(512),b=new n.Buf32(32),e=0;e<144;)A.lens[e++]=8;for(;e<256;)A.lens[e++]=9;for(;e<280;)A.lens[e++]=7;for(;e<288;)A.lens[e++]=8;for(s(a,A.lens,0,288,C,0,A.work,{bits:9}),e=0;e<32;)A.lens[e++]=5;s(l,A.lens,0,32,b,0,A.work,{bits:5}),y=!1}A.lencode=C,A.lenbits=9,A.distcode=b,A.distbits=5}function Q(A,e,t,i){var r,o=A.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),i>=o.wsize?(n.arraySet(o.window,e,t-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(r=o.wsize-o.wnext)&&(r=i),n.arraySet(o.window,e,t-i,r,o.wnext),(i-=r)?(n.arraySet(o.window,e,t-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=r))),0}t.inflateReset=B,t.inflateReset2=w,t.inflateResetKeep=m,t.inflateInit=function(A){return v(A,15)},t.inflateInit2=v,t.inflate=function(A,e){var t,h,g,f,m,B,w,v,C,b,y,U,F,x,E,k,I,S,H,D,L,O,M,T,K=0,N=new n.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!A||!A.state||!A.output||!A.input&&0!==A.avail_in)return d;12===(t=A.state).mode&&(t.mode=13),m=A.next_out,g=A.output,w=A.avail_out,f=A.next_in,h=A.input,B=A.avail_in,v=t.hold,C=t.bits,b=B,y=w,O=c;A:for(;;)switch(t.mode){case u:if(0===t.wrap){t.mode=13;break}for(;C<16;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}if(2&t.wrap&&35615===v){N[t.check=0]=255&v,N[1]=v>>>8&255,t.check=r(t.check,N,2,0),C=v=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&v)<<8)+(v>>8))%31){A.msg="incorrect header check",t.mode=30;break}if(8!=(15&v)){A.msg="unknown compression method",t.mode=30;break}if(C-=4,L=8+(15&(v>>>=4)),0===t.wbits)t.wbits=L;else if(L>t.wbits){A.msg="invalid window size",t.mode=30;break}t.dmax=1<<L,A.adler=t.check=1,t.mode=512&v?10:12,C=v=0;break;case 2:for(;C<16;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}if(t.flags=v,8!=(255&t.flags)){A.msg="unknown compression method",t.mode=30;break}if(57344&t.flags){A.msg="unknown header flags set",t.mode=30;break}t.head&&(t.head.text=v>>8&1),512&t.flags&&(N[0]=255&v,N[1]=v>>>8&255,t.check=r(t.check,N,2,0)),C=v=0,t.mode=3;case 3:for(;C<32;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}t.head&&(t.head.time=v),512&t.flags&&(N[0]=255&v,N[1]=v>>>8&255,N[2]=v>>>16&255,N[3]=v>>>24&255,t.check=r(t.check,N,4,0)),C=v=0,t.mode=4;case 4:for(;C<16;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}t.head&&(t.head.xflags=255&v,t.head.os=v>>8),512&t.flags&&(N[0]=255&v,N[1]=v>>>8&255,t.check=r(t.check,N,2,0)),C=v=0,t.mode=5;case 5:if(1024&t.flags){for(;C<16;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}t.length=v,t.head&&(t.head.extra_len=v),512&t.flags&&(N[0]=255&v,N[1]=v>>>8&255,t.check=r(t.check,N,2,0)),C=v=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&(B<(U=t.length)&&(U=B),U&&(t.head&&(L=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),n.arraySet(t.head.extra,h,f,U,L)),512&t.flags&&(t.check=r(t.check,h,U,f)),B-=U,f+=U,t.length-=U),t.length))break A;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(0===B)break A;for(U=0;L=h[f+U++],t.head&&L&&t.length<65536&&(t.head.name+=String.fromCharCode(L)),L&&U<B;);if(512&t.flags&&(t.check=r(t.check,h,U,f)),B-=U,f+=U,L)break A}else t.head&&(t.head.name=null);t.length=0,t.mode=8;case 8:if(4096&t.flags){if(0===B)break A;for(U=0;L=h[f+U++],t.head&&L&&t.length<65536&&(t.head.comment+=String.fromCharCode(L)),L&&U<B;);if(512&t.flags&&(t.check=r(t.check,h,U,f)),B-=U,f+=U,L)break A}else t.head&&(t.head.comment=null);t.mode=9;case 9:if(512&t.flags){for(;C<16;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}if(v!==(65535&t.check)){A.msg="header crc mismatch",t.mode=30;break}C=v=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),A.adler=t.check=0,t.mode=12;break;case 10:for(;C<32;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}A.adler=t.check=p(v),C=v=0,t.mode=11;case 11:if(0===t.havedict)return A.next_out=m,A.avail_out=w,A.next_in=f,A.avail_in=B,t.hold=v,t.bits=C,2;A.adler=t.check=1,t.mode=12;case 12:if(5===e||6===e)break A;case 13:if(t.last){v>>>=7&C,C-=7&C,t.mode=27;break}for(;C<3;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}switch(t.last=1&v,C-=1,3&(v>>>=1)){case 0:t.mode=14;break;case 1:if(_(t),t.mode=20,6!==e)break;v>>>=2,C-=2;break A;case 2:t.mode=17;break;case 3:A.msg="invalid block type",t.mode=30}v>>>=2,C-=2;break;case 14:for(v>>>=7&C,C-=7&C;C<32;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}if((65535&v)!=(v>>>16^65535)){A.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&v,C=v=0,t.mode=15,6===e)break A;case 15:t.mode=16;case 16:if(U=t.length){if(B<U&&(U=B),w<U&&(U=w),0===U)break A;n.arraySet(g,h,f,U,m),B-=U,f+=U,w-=U,m+=U,t.length-=U;break}t.mode=12;break;case 17:for(;C<14;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}if(t.nlen=257+(31&v),v>>>=5,C-=5,t.ndist=1+(31&v),v>>>=5,C-=5,t.ncode=4+(15&v),v>>>=4,C-=4,286<t.nlen||30<t.ndist){A.msg="too many length or distance symbols",t.mode=30;break}t.have=0,t.mode=18;case 18:for(;t.have<t.ncode;){for(;C<3;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}t.lens[P[t.have++]]=7&v,v>>>=3,C-=3}for(;t.have<19;)t.lens[P[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,M={bits:t.lenbits},O=s(0,t.lens,0,19,t.lencode,0,t.work,M),t.lenbits=M.bits,O){A.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have<t.nlen+t.ndist;){for(;k=(K=t.lencode[v&(1<<t.lenbits)-1])>>>16&255,I=65535&K,!((E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}if(I<16)v>>>=E,C-=E,t.lens[t.have++]=I;else{if(16===I){for(T=E+2;C<T;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}if(v>>>=E,C-=E,0===t.have){A.msg="invalid bit length repeat",t.mode=30;break}L=t.lens[t.have-1],U=3+(3&v),v>>>=2,C-=2}else if(17===I){for(T=E+3;C<T;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}C-=E,L=0,U=3+(7&(v>>>=E)),v>>>=3,C-=3}else{for(T=E+7;C<T;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}C-=E,L=0,U=11+(127&(v>>>=E)),v>>>=7,C-=7}if(t.have+U>t.nlen+t.ndist){A.msg="invalid bit length repeat",t.mode=30;break}for(;U--;)t.lens[t.have++]=L}}if(30===t.mode)break;if(0===t.lens[256]){A.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,M={bits:t.lenbits},O=s(a,t.lens,0,t.nlen,t.lencode,0,t.work,M),t.lenbits=M.bits,O){A.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,M={bits:t.distbits},O=s(l,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,M),t.distbits=M.bits,O){A.msg="invalid distances set",t.mode=30;break}if(t.mode=20,6===e)break A;case 20:t.mode=21;case 21:if(6<=B&&258<=w){A.next_out=m,A.avail_out=w,A.next_in=f,A.avail_in=B,t.hold=v,t.bits=C,o(A,y),m=A.next_out,g=A.output,w=A.avail_out,f=A.next_in,h=A.input,B=A.avail_in,v=t.hold,C=t.bits,12===t.mode&&(t.back=-1);break}for(t.back=0;k=(K=t.lencode[v&(1<<t.lenbits)-1])>>>16&255,I=65535&K,!((E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}if(k&&0==(240&k)){for(S=E,H=k,D=I;k=(K=t.lencode[D+((v&(1<<S+H)-1)>>S)])>>>16&255,I=65535&K,!(S+(E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}v>>>=S,C-=S,t.back+=S}if(v>>>=E,C-=E,t.back+=E,t.length=I,0===k){t.mode=26;break}if(32&k){t.back=-1,t.mode=12;break}if(64&k){A.msg="invalid literal/length code",t.mode=30;break}t.extra=15&k,t.mode=22;case 22:if(t.extra){for(T=t.extra;C<T;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}t.length+=v&(1<<t.extra)-1,v>>>=t.extra,C-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;k=(K=t.distcode[v&(1<<t.distbits)-1])>>>16&255,I=65535&K,!((E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}if(0==(240&k)){for(S=E,H=k,D=I;k=(K=t.distcode[D+((v&(1<<S+H)-1)>>S)])>>>16&255,I=65535&K,!(S+(E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}v>>>=S,C-=S,t.back+=S}if(v>>>=E,C-=E,t.back+=E,64&k){A.msg="invalid distance code",t.mode=30;break}t.offset=I,t.extra=15&k,t.mode=24;case 24:if(t.extra){for(T=t.extra;C<T;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}t.offset+=v&(1<<t.extra)-1,v>>>=t.extra,C-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){A.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(0===w)break A;if(U=y-w,t.offset>U){if((U=t.offset-U)>t.whave&&t.sane){A.msg="invalid distance too far back",t.mode=30;break}F=U>t.wnext?(U-=t.wnext,t.wsize-U):t.wnext-U,U>t.length&&(U=t.length),x=t.window}else x=g,F=m-t.offset,U=t.length;for(w<U&&(U=w),w-=U,t.length-=U;g[m++]=x[F++],--U;);0===t.length&&(t.mode=21);break;case 26:if(0===w)break A;g[m++]=t.length,w--,t.mode=21;break;case 27:if(t.wrap){for(;C<32;){if(0===B)break A;B--,v|=h[f++]<<C,C+=8}if(y-=w,A.total_out+=y,t.total+=y,y&&(A.adler=t.check=t.flags?r(t.check,g,y,m-y):i(t.check,g,y,m-y)),y=w,(t.flags?v:p(v))!==t.check){A.msg="incorrect data check",t.mode=30;break}C=v=0}t.mode=28;case 28:if(t.wrap&&t.flags){for(;C<32;){if(0===B)break A;B--,v+=h[f++]<<C,C+=8}if(v!==(4294967295&t.total)){A.msg="incorrect length check",t.mode=30;break}C=v=0}t.mode=29;case 29:O=1;break A;case 30:O=-3;break A;case 31:return-4;case 32:default:return d}return A.next_out=m,A.avail_out=w,A.next_in=f,A.avail_in=B,t.hold=v,t.bits=C,(t.wsize||y!==A.avail_out&&t.mode<30&&(t.mode<27||4!==e))&&Q(A,A.output,A.next_out,y-A.avail_out)?(t.mode=31,-4):(b-=A.avail_in,y-=A.avail_out,A.total_in+=b,A.total_out+=y,t.total+=y,t.wrap&&y&&(A.adler=t.check=t.flags?r(t.check,g,y,A.next_out-y):i(t.check,g,y,A.next_out-y)),A.data_type=t.bits+(t.last?64:0)+(12===t.mode?128:0)+(20===t.mode||15===t.mode?256:0),(0==b&&0===y||4===e)&&O===c&&(O=-5),O)},t.inflateEnd=function(A){if(!A||!A.state)return d;var e=A.state;return e.window&&(e.window=null),A.state=null,c},t.inflateGetHeader=function(A,e){var t;return A&&A.state?0==(2&(t=A.state).wrap)?d:((t.head=e).done=!1,c):d},t.inflateSetDictionary=function(A,e){var t,n=e.length;return A&&A.state?0!==(t=A.state).wrap&&11!==t.mode?d:11===t.mode&&i(1,e,n,0)!==t.check?-3:Q(A,e,n,n)?(t.mode=31,-4):(t.havedict=1,c):d},t.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(A,e,t){"use strict";var n=A("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],r=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(A,e,t,a,l,c,d,u){var h,g,p,f,m,B,w,v,C,b=u.bits,y=0,_=0,Q=0,U=0,F=0,x=0,E=0,k=0,I=0,S=0,H=null,D=0,L=new n.Buf16(16),O=new n.Buf16(16),M=null,T=0;for(y=0;y<=15;y++)L[y]=0;for(_=0;_<a;_++)L[e[t+_]]++;for(F=b,U=15;1<=U&&0===L[U];U--);if(U<F&&(F=U),0===U)return l[c++]=20971520,l[c++]=20971520,u.bits=1,0;for(Q=1;Q<U&&0===L[Q];Q++);for(F<Q&&(F=Q),y=k=1;y<=15;y++)if(k<<=1,(k-=L[y])<0)return-1;if(0<k&&(0===A||1!==U))return-1;for(O[1]=0,y=1;y<15;y++)O[y+1]=O[y]+L[y];for(_=0;_<a;_++)0!==e[t+_]&&(d[O[e[t+_]]++]=_);if(B=0===A?(H=M=d,19):1===A?(H=i,D-=257,M=r,T-=257,256):(H=o,M=s,-1),y=Q,m=c,E=_=S=0,p=-1,f=(I=1<<(x=F))-1,1===A&&852<I||2===A&&592<I)return 1;for(;;){for(w=y-E,C=d[_]<B?(v=0,d[_]):d[_]>B?(v=M[T+d[_]],H[D+d[_]]):(v=96,0),h=1<<y-E,Q=g=1<<x;l[m+(S>>E)+(g-=h)]=w<<24|v<<16|C|0,0!==g;);for(h=1<<y-1;S&h;)h>>=1;if(0!==h?(S&=h-1,S+=h):S=0,_++,0==--L[y]){if(y===U)break;y=e[t+d[_]]}if(F<y&&(S&f)!==p){for(0===E&&(E=F),m+=Q,k=1<<(x=y-E);x+E<U&&!((k-=L[x+E])<=0);)x++,k<<=1;if(I+=1<<x,1===A&&852<I||2===A&&592<I)return 1;l[p=S&f]=F<<24|x<<16|m-c|0}}return 0!==S&&(l[m+S]=y-E<<24|64<<16|0),u.bits=F,0}},{"../utils/common":41}],51:[function(A,e,t){"use strict";e.exports={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"}},{}],52:[function(A,e,t){"use strict";var n=A("../utils/common"),i=0,r=1;function o(A){for(var e=A.length;0<=--e;)A[e]=0}var s=0,a=29,l=256,c=l+1+a,d=30,u=19,h=2*c+1,g=15,p=16,f=7,m=256,B=16,w=17,v=18,C=[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],b=[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],y=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],_=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Q=new Array(2*(c+2));o(Q);var U=new Array(2*d);o(U);var F=new Array(512);o(F);var x=new Array(256);o(x);var E=new Array(a);o(E);var k,I,S,H=new Array(d);function D(A,e,t,n,i){this.static_tree=A,this.extra_bits=e,this.extra_base=t,this.elems=n,this.max_length=i,this.has_stree=A&&A.length}function L(A,e){this.dyn_tree=A,this.max_code=0,this.stat_desc=e}function O(A){return A<256?F[A]:F[256+(A>>>7)]}function M(A,e){A.pending_buf[A.pending++]=255&e,A.pending_buf[A.pending++]=e>>>8&255}function T(A,e,t){A.bi_valid>p-t?(A.bi_buf|=e<<A.bi_valid&65535,M(A,A.bi_buf),A.bi_buf=e>>p-A.bi_valid,A.bi_valid+=t-p):(A.bi_buf|=e<<A.bi_valid&65535,A.bi_valid+=t)}function K(A,e,t){T(A,t[2*e],t[2*e+1])}function N(A,e){for(var t=0;t|=1&A,A>>>=1,t<<=1,0<--e;);return t>>>1}function P(A,e,t){var n,i,r=new Array(g+1),o=0;for(n=1;n<=g;n++)r[n]=o=o+t[n-1]<<1;for(i=0;i<=e;i++){var s=A[2*i+1];0!==s&&(A[2*i]=N(r[s]++,s))}}function R(A){var e;for(e=0;e<c;e++)A.dyn_ltree[2*e]=0;for(e=0;e<d;e++)A.dyn_dtree[2*e]=0;for(e=0;e<u;e++)A.bl_tree[2*e]=0;A.dyn_ltree[2*m]=1,A.opt_len=A.static_len=0,A.last_lit=A.matches=0}function V(A){8<A.bi_valid?M(A,A.bi_buf):0<A.bi_valid&&(A.pending_buf[A.pending++]=A.bi_buf),A.bi_buf=0,A.bi_valid=0}function G(A,e,t,n){var i=2*e,r=2*t;return A[i]<A[r]||A[i]===A[r]&&n[e]<=n[t]}function z(A,e,t){for(var n=A.heap[t],i=t<<1;i<=A.heap_len&&(i<A.heap_len&&G(e,A.heap[i+1],A.heap[i],A.depth)&&i++,!G(e,n,A.heap[i],A.depth));)A.heap[t]=A.heap[i],t=i,i<<=1;A.heap[t]=n}function j(A,e,t){var n,i,r,o,s=0;if(0!==A.last_lit)for(;n=A.pending_buf[A.d_buf+2*s]<<8|A.pending_buf[A.d_buf+2*s+1],i=A.pending_buf[A.l_buf+s],s++,0===n?K(A,i,e):(K(A,(r=x[i])+l+1,e),0!==(o=C[r])&&T(A,i-=E[r],o),K(A,r=O(--n),t),0!==(o=b[r])&&T(A,n-=H[r],o)),s<A.last_lit;);K(A,m,e)}function Z(A,e){var t,n,i,r=e.dyn_tree,o=e.stat_desc.static_tree,s=e.stat_desc.has_stree,a=e.stat_desc.elems,l=-1;for(A.heap_len=0,A.heap_max=h,t=0;t<a;t++)0!==r[2*t]?(A.heap[++A.heap_len]=l=t,A.depth[t]=0):r[2*t+1]=0;for(;A.heap_len<2;)r[2*(i=A.heap[++A.heap_len]=l<2?++l:0)]=1,A.depth[i]=0,A.opt_len--,s&&(A.static_len-=o[2*i+1]);for(e.max_code=l,t=A.heap_len>>1;1<=t;t--)z(A,r,t);for(i=a;t=A.heap[1],A.heap[1]=A.heap[A.heap_len--],z(A,r,1),n=A.heap[1],A.heap[--A.heap_max]=t,A.heap[--A.heap_max]=n,r[2*i]=r[2*t]+r[2*n],A.depth[i]=(A.depth[t]>=A.depth[n]?A.depth[t]:A.depth[n])+1,r[2*t+1]=r[2*n+1]=i,A.heap[1]=i++,z(A,r,1),2<=A.heap_len;);A.heap[--A.heap_max]=A.heap[1],function(A,e){var t,n,i,r,o,s,a=e.dyn_tree,l=e.max_code,c=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,f=e.stat_desc.max_length,m=0;for(r=0;r<=g;r++)A.bl_count[r]=0;for(a[2*A.heap[A.heap_max]+1]=0,t=A.heap_max+1;t<h;t++)f<(r=a[2*a[2*(n=A.heap[t])+1]+1]+1)&&(r=f,m++),a[2*n+1]=r,l<n||(A.bl_count[r]++,o=0,p<=n&&(o=u[n-p]),s=a[2*n],A.opt_len+=s*(r+o),d&&(A.static_len+=s*(c[2*n+1]+o)));if(0!==m){do{for(r=f-1;0===A.bl_count[r];)r--;A.bl_count[r]--,A.bl_count[r+1]+=2,A.bl_count[f]--,m-=2}while(0<m);for(r=f;0!==r;r--)for(n=A.bl_count[r];0!==n;)l<(i=A.heap[--t])||(a[2*i+1]!==r&&(A.opt_len+=(r-a[2*i+1])*a[2*i],a[2*i+1]=r),n--)}}(A,e),P(r,l,A.bl_count)}function W(A,e,t){var n,i,r=-1,o=e[1],s=0,a=7,l=4;for(0===o&&(a=138,l=3),e[2*(t+1)+1]=65535,n=0;n<=t;n++)i=o,o=e[2*(n+1)+1],++s<a&&i===o||(s<l?A.bl_tree[2*i]+=s:0!==i?(i!==r&&A.bl_tree[2*i]++,A.bl_tree[2*B]++):s<=10?A.bl_tree[2*w]++:A.bl_tree[2*v]++,r=i,l=(s=0)===o?(a=138,3):i===o?(a=6,3):(a=7,4))}function X(A,e,t){var n,i,r=-1,o=e[1],s=0,a=7,l=4;for(0===o&&(a=138,l=3),n=0;n<=t;n++)if(i=o,o=e[2*(n+1)+1],!(++s<a&&i===o)){if(s<l)for(;K(A,i,A.bl_tree),0!=--s;);else 0!==i?(i!==r&&(K(A,i,A.bl_tree),s--),K(A,B,A.bl_tree),T(A,s-3,2)):s<=10?(K(A,w,A.bl_tree),T(A,s-3,3)):(K(A,v,A.bl_tree),T(A,s-11,7));r=i,l=(s=0)===o?(a=138,3):i===o?(a=6,3):(a=7,4)}}o(H);var Y=!1;function J(A,e,t,i){T(A,(s<<1)+(i?1:0),3),function(A,e,t,i){V(A),i&&(M(A,t),M(A,~t)),n.arraySet(A.pending_buf,A.window,e,t,A.pending),A.pending+=t}(A,e,t,!0)}t._tr_init=function(A){Y||(function(){var A,e,t,n,i,r=new Array(g+1);for(n=t=0;n<a-1;n++)for(E[n]=t,A=0;A<1<<C[n];A++)x[t++]=n;for(x[t-1]=n,n=i=0;n<16;n++)for(H[n]=i,A=0;A<1<<b[n];A++)F[i++]=n;for(i>>=7;n<d;n++)for(H[n]=i<<7,A=0;A<1<<b[n]-7;A++)F[256+i++]=n;for(e=0;e<=g;e++)r[e]=0;for(A=0;A<=143;)Q[2*A+1]=8,A++,r[8]++;for(;A<=255;)Q[2*A+1]=9,A++,r[9]++;for(;A<=279;)Q[2*A+1]=7,A++,r[7]++;for(;A<=287;)Q[2*A+1]=8,A++,r[8]++;for(P(Q,c+1,r),A=0;A<d;A++)U[2*A+1]=5,U[2*A]=N(A,5);k=new D(Q,C,l+1,c,g),I=new D(U,b,0,d,g),S=new D(new Array(0),y,0,u,f)}(),Y=!0),A.l_desc=new L(A.dyn_ltree,k),A.d_desc=new L(A.dyn_dtree,I),A.bl_desc=new L(A.bl_tree,S),A.bi_buf=0,A.bi_valid=0,R(A)},t._tr_stored_block=J,t._tr_flush_block=function(A,e,t,n){var o,s,a=0;0<A.level?(2===A.strm.data_type&&(A.strm.data_type=function(A){var e,t=4093624447;for(e=0;e<=31;e++,t>>>=1)if(1&t&&0!==A.dyn_ltree[2*e])return i;if(0!==A.dyn_ltree[18]||0!==A.dyn_ltree[20]||0!==A.dyn_ltree[26])return r;for(e=32;e<l;e++)if(0!==A.dyn_ltree[2*e])return r;return i}(A)),Z(A,A.l_desc),Z(A,A.d_desc),a=function(A){var e;for(W(A,A.dyn_ltree,A.l_desc.max_code),W(A,A.dyn_dtree,A.d_desc.max_code),Z(A,A.bl_desc),e=u-1;3<=e&&0===A.bl_tree[2*_[e]+1];e--);return A.opt_len+=3*(e+1)+5+5+4,e}(A),o=A.opt_len+3+7>>>3,(s=A.static_len+3+7>>>3)<=o&&(o=s)):o=s=t+5,t+4<=o&&-1!==e?J(A,e,t,n):4===A.strategy||s===o?(T(A,2+(n?1:0),3),j(A,Q,U)):(T(A,4+(n?1:0),3),function(A,e,t,n){var i;for(T(A,e-257,5),T(A,t-1,5),T(A,n-4,4),i=0;i<n;i++)T(A,A.bl_tree[2*_[i]+1],3);X(A,A.dyn_ltree,e-1),X(A,A.dyn_dtree,t-1)}(A,A.l_desc.max_code+1,A.d_desc.max_code+1,a+1),j(A,A.dyn_ltree,A.dyn_dtree)),R(A),n&&V(A)},t._tr_tally=function(A,e,t){return A.pending_buf[A.d_buf+2*A.last_lit]=e>>>8&255,A.pending_buf[A.d_buf+2*A.last_lit+1]=255&e,A.pending_buf[A.l_buf+A.last_lit]=255&t,A.last_lit++,0===e?A.dyn_ltree[2*t]++:(A.matches++,e--,A.dyn_ltree[2*(x[t]+l+1)]++,A.dyn_dtree[2*O(e)]++),A.last_lit===A.lit_bufsize-1},t._tr_align=function(A){T(A,2,3),K(A,m,Q),function(A){16===A.bi_valid?(M(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):8<=A.bi_valid&&(A.pending_buf[A.pending++]=255&A.bi_buf,A.bi_buf>>=8,A.bi_valid-=8)}(A)}},{"../utils/common":41}],53:[function(A,e,t){"use strict";e.exports=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}},{}],54:[function(A,e,n){(function(A){!function(A,e){"use strict";if(!A.setImmediate){var t,n,i,r,o=1,s={},a=!1,l=A.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(A);c=c&&c.setTimeout?c:A,t="[object process]"==={}.toString.call(A.process)?function(A){process.nextTick((function(){u(A)}))}:function(){if(A.postMessage&&!A.importScripts){var e=!0,t=A.onmessage;return A.onmessage=function(){e=!1},A.postMessage("","*"),A.onmessage=t,e}}()?(r="setImmediate$"+Math.random()+"$",A.addEventListener?A.addEventListener("message",h,!1):A.attachEvent("onmessage",h),function(e){A.postMessage(r+e,"*")}):A.MessageChannel?((i=new MessageChannel).port1.onmessage=function(A){u(A.data)},function(A){i.port2.postMessage(A)}):l&&"onreadystatechange"in l.createElement("script")?(n=l.documentElement,function(A){var e=l.createElement("script");e.onreadystatechange=function(){u(A),e.onreadystatechange=null,n.removeChild(e),e=null},n.appendChild(e)}):function(A){setTimeout(u,0,A)},c.setImmediate=function(A){"function"!=typeof A&&(A=new Function(""+A));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var i={callback:A,args:e};return s[o]=i,t(o),o++},c.clearImmediate=d}function d(A){delete s[A]}function u(A){if(a)setTimeout(u,0,A);else{var t=s[A];if(t){a=!0;try{!function(A){var t=A.callback,n=A.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(e,n)}}(t)}finally{d(A),a=!1}}}}function h(e){e.source===A&&"string"==typeof e.data&&0===e.data.indexOf(r)&&u(+e.data.slice(r.length))}}("undefined"==typeof self?void 0===A?this:A:self)}).call(this,"undefined"!=typeof t.g?t.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}))},6243:function(A){if(!e)var e={map:function(A,e){var t={};return e?A.map((function(A,n){return t.index=n,e.call(t,A)})):A.slice()},naturalOrder:function(A,e){return A<e?-1:A>e?1:0},sum:function(A,e){var t={};return A.reduce(e?function(A,n,i){return t.index=i,A+e.call(t,n)}:function(A,e){return A+e},0)},max:function(A,t){return Math.max.apply(null,t?e.map(A,t):A)}};var t=function(){var A=5,t=8-A,n=1e3,i=.75;function r(e,t,n){return(e<<2*A)+(t<<A)+n}function o(A){var e=[],t=!1;function n(){e.sort(A),t=!0}return{push:function(A){e.push(A),t=!1},peek:function(A){return t||n(),void 0===A&&(A=e.length-1),e[A]},pop:function(){return t||n(),e.pop()},size:function(){return e.length},map:function(A){return e.map(A)},debug:function(){return t||n(),e}}}function s(A,e,t,n,i,r,o){var s=this;s.r1=A,s.r2=e,s.g1=t,s.g2=n,s.b1=i,s.b2=r,s.histo=o}function a(){this.vboxes=new o((function(A,t){return e.naturalOrder(A.vbox.count()*A.vbox.volume(),t.vbox.count()*t.vbox.volume())}))}function l(e){var n,i,o,s,a=1<<3*A,l=new Array(a);return e.forEach((function(A){i=A[0]>>t,o=A[1]>>t,s=A[2]>>t,n=r(i,o,s),l[n]=(l[n]||0)+1})),l}function c(A,e){var n,i,r,o=1e6,a=0,l=1e6,c=0,d=1e6,u=0;return A.forEach((function(A){n=A[0]>>t,i=A[1]>>t,r=A[2]>>t,n<o?o=n:n>a&&(a=n),i<l?l=i:i>c&&(c=i),r<d?d=r:r>u&&(u=r)})),new s(o,a,l,c,d,u,e)}function d(A,t){if(t.count()){var n=t.r2-t.r1+1,i=t.g2-t.g1+1,o=t.b2-t.b1+1,s=e.max([n,i,o]);if(1==t.count())return[t.copy()];var a,l,c,d,u,h=0,g=[],p=[];if(s==n)for(a=t.r1;a<=t.r2;a++){for(d=0,l=t.g1;l<=t.g2;l++)for(c=t.b1;c<=t.b2;c++)u=r(a,l,c),d+=A[u]||0;h+=d,g[a]=h}else if(s==i)for(a=t.g1;a<=t.g2;a++){for(d=0,l=t.r1;l<=t.r2;l++)for(c=t.b1;c<=t.b2;c++)u=r(l,a,c),d+=A[u]||0;h+=d,g[a]=h}else for(a=t.b1;a<=t.b2;a++){for(d=0,l=t.r1;l<=t.r2;l++)for(c=t.g1;c<=t.g2;c++)u=r(l,c,a),d+=A[u]||0;h+=d,g[a]=h}return g.forEach((function(A,e){p[e]=h-A})),f(s==n?"r":s==i?"g":"b")}function f(A){var e,n,i,r,o,s=A+"1",l=A+"2",c=0;for(a=t[s];a<=t[l];a++)if(g[a]>h/2){i=t.copy(),r=t.copy(),e=a-t[s],n=t[l]-a,o=e<=n?Math.min(t[l]-1,~~(a+n/2)):Math.max(t[s],~~(a-1-e/2));while(!g[o])o++;c=p[o];while(!c&&g[o-1])c=p[--o];return i[l]=o,r[s]=i[l]+1,[i,r]}}}function u(A,t){if(!A.length||t<2||t>256)return!1;var r=l(A);r.forEach((function(){0}));var s=c(A,r),u=new o((function(A,t){return e.naturalOrder(A.count(),t.count())}));function h(A,e){var t,i=1,o=0;while(o<n)if(t=A.pop(),t.count()){var s=d(r,t),a=s[0],l=s[1];if(!a)return;if(A.push(a),l&&(A.push(l),i++),i>=e)return;if(o++>n)return}else A.push(t),o++}u.push(s),h(u,i*t);var g=new o((function(A,t){return e.naturalOrder(A.count()*A.volume(),t.count()*t.volume())}));while(u.size())g.push(u.pop());h(g,t-g.size());var p=new a;while(g.size())p.push(g.pop());return p}return s.prototype={volume:function(A){var e=this;return e._volume&&!A||(e._volume=(e.r2-e.r1+1)*(e.g2-e.g1+1)*(e.b2-e.b1+1)),e._volume},count:function(A){var e=this,t=e.histo;if(!e._count_set||A){var n,i,o,s,a=0;for(n=e.r1;n<=e.r2;n++)for(i=e.g1;i<=e.g2;i++)for(o=e.b1;o<=e.b2;o++)s=r(n,i,o),a+=t[s]||0;e._count=a,e._count_set=!0}return e._count},copy:function(){var A=this;return new s(A.r1,A.r2,A.g1,A.g2,A.b1,A.b2,A.histo)},avg:function(e){var t=this,n=t.histo;if(!t._avg||e){var i,o,s,a,l,c=0,d=1<<8-A,u=0,h=0,g=0;for(o=t.r1;o<=t.r2;o++)for(s=t.g1;s<=t.g2;s++)for(a=t.b1;a<=t.b2;a++)l=r(o,s,a),i=n[l]||0,c+=i,u+=i*(o+.5)*d,h+=i*(s+.5)*d,g+=i*(a+.5)*d;t._avg=c?[~~(u/c),~~(h/c),~~(g/c)]:[~~(d*(t.r1+t.r2+1)/2),~~(d*(t.g1+t.g2+1)/2),~~(d*(t.b1+t.b2+1)/2)]}return t._avg},contains:function(A){var e=this,n=A[0]>>t;return gval=A[1]>>t,bval=A[2]>>t,n>=e.r1&&n<=e.r2&&gval>=e.g1&&gval<=e.g2&&bval>=e.b1&&bval<=e.b2}},a.prototype={push:function(A){this.vboxes.push({vbox:A,color:A.avg()})},palette:function(){return this.vboxes.map((function(A){return A.color}))},size:function(){return this.vboxes.size()},map:function(A){for(var e=this.vboxes,t=0;t<e.size();t++)if(e.peek(t).vbox.contains(A))return e.peek(t).color;return this.nearest(A)},nearest:function(A){for(var e,t,n,i=this.vboxes,r=0;r<i.size();r++)t=Math.sqrt(Math.pow(A[0]-i.peek(r).color[0],2)+Math.pow(A[1]-i.peek(r).color[1],2)+Math.pow(A[2]-i.peek(r).color[2],2)),(t<e||void 0===e)&&(e=t,n=i.peek(r).color);return n},forcebw:function(){var A=this.vboxes;A.sort((function(A,t){return e.naturalOrder(e.sum(A.color),e.sum(t.color))}));var t=A[0].color;t[0]<5&&t[1]<5&&t[2]<5&&(A[0].color=[0,0,0]);var n=A.length-1,i=A[n].color;i[0]>251&&i[1]>251&&i[2]>251&&(A[n].color=[255,255,255])}},{quantize:u}}();A.exports=t.quantize},4257:function(A,e,t){"use strict";t.r(e),t.d(e,{default:function(){return Ju}});var n=t(6252),r=t(3577),o=t(9963);const s=A=>((0,n.dD)("data-v-64846563"),A=A(),(0,n.Cn)(),A),a={class:"home_page"},l={class:"page_content"},c={class:"page_content_body"},d={class:"home_page_body"},u={class:"home_page_left"},h={class:"home_page_left_content"},g={class:"home_left_null"},p={class:"is_finish_loading"},f={class:"home_left_info"},m={class:"left_info_top"},B={class:"left_info_content scroll_style"},w={class:"left_info_content_body",ref:"collection_canvas"},v={class:"home_page_right"},C={class:"right_top"},b={class:"right_top_left"},y={class:"right_content_block"},_={class:"right_content_header"},Q={class:"content_header_left"},U=s((()=>(0,n._)("i",{class:"fi fi-rs-comments"},null,-1))),F={class:"content_header_des"},x={class:"right_content_body"},E={class:"right_content_img_item"},k=["onClick"],I={class:"content_img_flex"},S=["src"],H=["onClick"],D={class:"right_content_header"},L={class:"content_header_left"},O=s((()=>(0,n._)("i",{class:"fi fi-rs-comments"},null,-1))),M={class:"content_header_des"},T={class:"right_content_export"},K={class:"right_content_body"},N={class:"right_content_img_item",id:"right_content_img_block"},P=["onClick","onDragstart","onDrop"],R={class:"content_img_flex"},V=["src"],G=["onClick"],z={class:"mark_loading"},j={class:"progress_mark"},Z={class:"mark_content"};function W(A,e,t,i,s,W){const X=(0,n.up)("HeaderComponent"),Y=(0,n.up)("a-spin"),J=(0,n.up)("NewCollectionReview"),$=(0,n.up)("a-checkbox"),q=(0,n.up)("CollectionModal"),AA=(0,n.up)("DesignDetail"),eA=(0,n.up)("ExportNewCoolection"),tA=(0,n.up)("a-progress"),nA=(0,n.up)("RobotAssist"),iA=(0,n.Q2)("mousewheel");return(0,n.wg)(),(0,n.iD)("div",a,[(0,n.Wm)(X),(0,n._)("div",l,[(0,n._)("div",c,[(0,n._)("div",d,[(0,n._)("div",u,[(0,n._)("div",h,[(0,n.wy)((0,n._)("div",g,[(0,n._)("div",null,[(0,n._)("div",{id:"Guide_1_1",class:"new_collection_button",onClick:e[0]||(e[0]=e=>A.startNewCollection())},(0,r.zw)(A.$t("HomeView.GetStarted")),1)]),(0,n.wy)((0,n._)("div",p,[(0,n.Wm)(Y,{size:"large"})],512),[[o.F8,A.isFinishLoading]])],512),[[o.F8,!A.isHaveReviewCollection]]),(0,n.wy)((0,n._)("div",f,[(0,n._)("div",m,[(0,n._)("div",{class:"button_second",onClick:e[1]||(e[1]=e=>A.startNewCollection())},(0,r.zw)(A.$t("HomeView.Start")),1),(0,n._)("div",{class:"button_first button_margin",onClick:e[2]||(e[2]=e=>A.recollection())},(0,r.zw)(A.$t("HomeView.Edit")),1)]),(0,n._)("div",B,[(0,n._)("div",w,[(0,n.Wm)(J,{id:"collectionReview"})],512)])],512),[[o.F8,A.isHaveReviewCollection]])])]),(0,n._)("div",v,[(0,n._)("div",C,[(0,n._)("div",b,[(0,n._)("div",{class:"button_second",onClick:e[3]||(e[3]=e=>A.designNewCollection())},(0,r.zw)(A.$t("HomeView.Design")),1),(0,n.wy)((0,n._)("div",{class:"button_first button_margin_14",onClick:e[4]||(e[4]=e=>A.resDesignCollection())},(0,r.zw)(A.$t("HomeView.Redesign")),513),[[o.F8,A.designCollectionId]])])]),(0,n._)("div",y,[(0,n._)("div",_,[(0,n._)("div",Q,[U,(0,n._)("span",F,(0,r.zw)(A.$t("HomeView.GeneratedDesign")),1)])]),(0,n._)("div",x,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["right_content_img_block scroll_style",{active:0!=A.designCollectionList.length}])},[(0,n._)("div",E,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.designCollectionList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_block",key:e?.designItemId,onClick:n=>A.designDetail(e,t,A.designCollectionList,"dislike")},[(0,n._)("div",I,[(0,n._)("img",{class:"content_img",src:e.designOutfitUrl},null,8,S)]),(0,n._)("div",{class:"icon iconfont icon-jushoucang icon_like",onClick:(0,o.iM)((n=>A.likeDesignCollection(e,t)),["stop"])},null,8,H)],8,k)))),128))])],2)),[[iA]])]),(0,n._)("div",D,[(0,n._)("div",L,[O,(0,n._)("span",M,(0,r.zw)(A.$t("HomeView.SelectedDesign")),1)]),(0,n.wy)((0,n._)("div",T,[(0,n._)("div",{class:"button_second",onClick:e[5]||(e[5]=e=>A.exportCanvas())},(0,r.zw)(A.$t("HomeView.Export")),1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",A.isShowOperate?"icon_rotate":""]),onClick:e[6]||(e[6]=(0,o.iM)((e=>A.changeShowOperateContent()),["stop"]))},null,2),(0,n.wy)((0,n._)("div",{class:"export_nav",onClick:e[7]||(e[7]=(0,o.iM)((()=>{}),["stop"]))},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.exportNav,(A=>((0,n.wg)(),(0,n.j4)($,{checked:A.change,"onUpdate:checked":e=>A.change=e,disabled:A.noChange},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.name),1)])),_:2},1032,["checked","onUpdate:checked","disabled"])))),256))],512),[[o.F8,A.isShowOperate]])],512),[[o.F8,A.likeDesignCollectionList.length]])]),(0,n._)("div",K,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["right_content_img_block scroll_style",{active:0!=A.likeDesignCollectionList.length}])},[(0,n._)("div",N,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.likeDesignCollectionList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_block",draggable:"",key:t.id,onClick:e=>A.designDetail(t,i,A.likeDesignCollectionList,"like"),onDragstart:e=>A.dragstart(e,i),onDragover:e[8]||(e[8]=(0,o.iM)((()=>{}),["prevent"])),onDrop:e=>A.dragDrop(e,i)},[(0,n._)("div",R,[((0,n.wg)(),(0,n.iD)("img",{class:"content_img",src:t.designOutfitUrl,key:t.designOutfitUrl},null,8,V))]),(0,n._)("div",{class:"icon iconfont icon-jushoucanggift icon_like",onClick:(0,o.iM)((e=>A.dislikeDesignCollection(t,i)),["stop"])},null,8,G)],40,P)))),128))])],2)),[[iA]])])])])])])]),(0,n.Wm)(q,{ref:"collectionModal",onFinishCollection:e[9]||(e[9]=e=>A.finishCollection())},null,512),(0,n.Wm)(AA,{ref:"designDetail",onFinishRedesign:A.finishRedesign},null,8,["onFinishRedesign"]),(0,n.Wm)(eA,{id:"exportNewCoolection"}),(0,n.wy)((0,n._)("div",z,[(0,n.Wm)(Y,{size:"large"})],512),[[o.F8,A.isShowMark]]),(0,n.wy)((0,n._)("div",j,[(0,n._)("div",Z,[(0,n.Wm)(tA,{type:"circle",percent:A.designProgress,strokeColor:"#341e57",width:200},null,8,["percent"]),(0,n._)("div",null,[(0,n.Wm)(Y,{indicator:A.indicator},null,8,["indicator"])])])],512),[[o.F8,A.showDesignMark]]),(0,n.Wm)(nA)])}var X=t(2262),Y=t(741);const J=A=>((0,n.dD)("data-v-07d54dc6"),A=A(),(0,n.Cn)(),A),$={key:0},q={class:"collection_title"},AA={class:"collection_title_text"},eA={class:"collection_progress"},tA=J((()=>(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1))),nA=[tA],iA={class:"collection_page"},rA={class:"collection_modal_body"};function oA(A,e,t,i,s,a){const l=(0,n.up)("a-progress"),c=(0,n.up)("MoodboardUpload"),d=(0,n.up)("PrintboardUpload"),u=(0,n.up)("ColorboardUpload"),h=(0,n.up)("SketchboardUpload"),g=(0,n.up)("a-modal");return A.showCollectionModal?((0,n.wg)(),(0,n.iD)("div",$,[(0,n.Wm)(g,{class:"modal_component collection_modal Guide_1_2",visible:A.showCollectionModal,"onUpdate:visible":e[4]||(e[4]=e=>A.showCollectionModal=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,wrapClassName:"#app"},{default:(0,n.w5)((()=>[(0,n._)("div",q,[(0,n._)("div",AA,[(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Moodboard")),513),[[o.F8,1===A.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Printboard")),513),[[o.F8,2===A.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Colorboard")),513),[[o.F8,3===A.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Sketchboard")),513),[[o.F8,4===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.MoodCollection")),513),[[o.F8,1===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.PrinCollection")),513),[[o.F8,2===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.ColorCollection")),513),[[o.F8,3===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.SketchCollection")),513),[[o.F8,4===A.collectionStep]])]),(0,n._)("div",eA,[(0,n.Wm)(l,{strokeWidth:13,strokeColor:"#341e57",type:"circle",percent:25*A.collectionStep,format:e=>`${A.collectionStep}/4`},null,8,["percent","format"])])]),(0,n._)("div",{class:"collection_closeIcon",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.cancelDsign()),["stop"]))},nA),(0,n._)("div",iA,[(0,n.wy)((0,n._)("i",{class:"fi fi-rr-arrow-small-left",onClick:e[1]||(e[1]=e=>A.lastStep())},null,512),[[o.F8,A.collectionStep>1]]),A.collectionStep<4?((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-arrow-small-right",onClick:e[2]||(e[2]=(0,o.iM)((e=>A.nextStep()),["stop"]))})):((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-rr-check",onClick:e[3]||(e[3]=(0,o.iM)((e=>A.finishCollection()),["stop"]))}))]),(0,n._)("div",rA,[(0,n.wy)((0,n.Wm)(c,{ref:"MoodboardUpload"},null,512),[[o.F8,1===A.collectionStep]]),(0,n.wy)((0,n.Wm)(d,{ref:"PrintboardUpload"},null,512),[[o.F8,2===A.collectionStep]]),(0,n.wy)((0,n.Wm)(u,{ref:"ColorboardUpload"},null,512),[[o.F8,3===A.collectionStep]]),(0,n.wy)((0,n.Wm)(h,{ref:"SketchboardUpload"},null,512),[[o.F8,4===A.collectionStep]])])])),_:1},8,["visible"])])):(0,n.kq)("",!0)}const sA={class:"generate Guide_1_6"},aA={key:0,class:"generate_checkbox"},lA={key:0,class:"printModel"},cA=["placeholder","maxlength"],dA={key:2,class:"generage_img"},uA={class:"upload_item"},hA=["onClick"],gA={class:"upload_file_item_content"},pA={class:"upload_file_item_content"},fA=["src"],mA={key:0,class:"operate_file_block"},BA={class:"select_img_type"},wA=["onClick"],vA={class:"category_list"},CA=["onClick"],bA=["onClick"],yA=(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1),_A=[yA],QA={class:"upload_file_item upload_component"},UA={class:"upload_tip_block"},FA=(0,n._)("i",{class:"fi fi-br-upload"},null,-1),xA=[FA],EA={key:3,class:"generage_img"},kA=["onClick"],IA={alt:""},SA={class:"delete_like_file_block"},HA=["onClick"],DA=["onClick"],LA={class:"delete_like_file_block left"},OA={class:"mark_loading"};function MA(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("scaleImage"),u=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",sA,["Sketchboard"==A.type_.type2||"Printboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",aA,[(0,n._)("div",null,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=e=>A.checkbox[0].type=e),onClick:e[1]||(e[1]=e=>A.setKeyword(0))},null,512),[[o.e8,A.checkbox[0].type]]),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.ImageOnly")),1)])]),(0,n._)("div",null,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":e[2]||(e[2]=e=>A.checkbox[1].type=e),onClick:e[3]||(e[3]=e=>A.setKeyword(1))},null,512),[[o.e8,A.checkbox[1].type]]),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.TextOnly")),1)])]),(0,n._)("div",null,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":e[4]||(e[4]=e=>A.checkbox[2].type=e),onClick:e[5]||(e[5]=e=>A.setKeyword(2))},null,512),[[o.e8,A.checkbox[2].type]]),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.TextImage")),1)])]),"Printboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",lA,[(0,n._)("div",{onClick:e[6]||(e[6]=(0,o.iM)(((...e)=>A.PrintModel&&A.PrintModel(...e)),["stop"]))},(0,r.zw)(A.printModel.name),1),(0,n.wy)((0,n._)("ul",null,[(0,n._)("li",{class:"printModel_item",onClick:e[7]||(e[7]=e=>A.setprintModel(1))},(0,r.zw)(A.$t("Generate.Model1")),1),(0,n._)("li",{class:"printModel_item",onClick:e[8]||(e[8]=e=>A.setprintModel(2))},(0,r.zw)(A.$t("Generate.Model2")),1),(0,n.wy)((0,n._)("li",{class:"printModel_item",onClick:e[9]||(e[9]=e=>A.setprintModel(3))},(0,r.zw)(A.$t("Generate.Generate")),513),[[o.F8,A.printBoards.length>1]])],512),[[o.F8,A.printModel.optype]])])):(0,n.kq)("",!0)])):((0,n.wg)(),(0,n.iD)("div",{key:1,class:(0,r.C_)(["input_box Guide_1_5",[A.inputShow?"active":""]])},[(0,n.wy)((0,n._)("input",{class:"search_input",onInput:e[10]||(e[10]=(...e)=>A.ifMaximumLength&&A.ifMaximumLength(...e)),placeholder:A.$t("Generate.inputContent1"),maxlength:A.inputShow?0:9999,"onUpdate:modelValue":e[11]||(e[11]=e=>A.searchPictureName=e),onKeydown:e[12]||(e[12]=(0,o.D2)((e=>A.getgenerate()),["enter"]))},null,40,cA),[[o.nr,A.searchPictureName]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:e[13]||(e[13]=(0,o.iM)(((...e)=>A.getgenerate&&A.getgenerate(...e)),["stop"]))},(0,r.zw)(A.$t("Generate.Generate")),1),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.maximumLength")),1)],2)),"Sketchboard"==A.type_.type2||"Printboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",dA,[(0,n._)("div",uA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.sketchboardList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["upload_file_item",[e?.checked?"active":"",A.checkboxImage?"forbidden":""]]),key:e,onClick:(0,o.iM)((t=>A.setSketchboardItem(e)),["stop"])},[(0,n.wy)((0,n._)("div",gA,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",pA,[(0,n._)("img",{src:e?.imgUrl,class:"upload_img"},null,8,fA),"Sketchboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",mA,[(0,n._)("div",BA,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>A.showFileCategory(e)),["stop"])},[(0,n.Uk)((0,r.zw)(e.category)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",e.categoryShow?"icon_rotate":""])},null,2)],8,wA),(0,n.wy)((0,n._)("div",vA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.sketchCatecoryList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",e.category==t.value?"select_category_item":""]),key:i,onClick:(0,o.iM)((n=>A.selectFileCategory(e,t)),["stop"])},(0,r.zw)(t.label),11,CA)))),128))],512),[[o.F8,e.categoryShow]])])])):(0,n.kq)("",!0),(0,n._)("div",{class:"delete_file_block",onClick:e=>A.deleteFile(t)},_A,8,bA)],512),[[o.F8,"done"===e?.status]])],10,hA)))),128)),(0,n.wy)((0,n._)("div",QA,[(0,n.Wm)(c,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},disabled:A.checkbox[1].type,headers:{Authorization:A.token},"file-list":A.sketchboardList,"onUpdate:file-list":e[14]||(e[14]=e=>A.sketchboardList=e),"before-upload":A.beforeUpload,multiple:"",maxCount:8-A.sketchboardList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:e[15]||(e[15]=e=>A.fileUploadChange(e))},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",UA,xA,512),[[o.F8,8!=A.sketchboardList.length]])])),_:1},8,["action","data","disabled","headers","file-list","before-upload","maxCount"])],512),[[o.F8,8!=A.sketchboardList.length]])])])):((0,n.wg)(),(0,n.iD)("div",EA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["generage_img_item",{active:t?.checked}]),key:t.imgUrl,onClick:e=>A.generageAdd(t)},[(0,n.wy)((0,n._)("img",IA,null,512),[[u,t.imgUrl]]),(0,n._)("div",SA,[t.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,o.iM)((e=>A.likeFile(t,"noLike")),["stop"])},null,8,DA)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,o.iM)((e=>A.likeFile(t,"like")),["stop"])},null,8,HA))]),(0,n._)("div",LA,[(0,n._)("i",{class:"fi fi-bs-expand-arrows-alt",onClick:e[16]||(e[16]=(0,o.iM)((e=>A.scaleImage()),["stop"]))})])],10,kA)))),128))])),(0,n.Wm)(d,{ref:"scaleImage"},null,512),(0,n.wy)((0,n._)("div",OA,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]])])}var TA=t(320),KA=t(1446),NA=t(4873),PA=t(6214),RA=t(3907),VA={id:1,testUrl:"http://192.168.1.5:10086",zIndex:2,setColor:(A,e,t)=>new Promise((n=>{var i=void 0==t?.min?5:t.min,r=void 0==t?.max?5:t.max,o=new Image;o.src=e;o.onload=()=>{const e=o.width,t=o.height,s=document.createElement("canvas");s.width=e,s.height=t;var a=s.getContext("2d");a.drawImage(o,0,0);var l=a.getImageData(0,0,e,t),c=[];for(let n=0;n<A.length;n++){var d=0;for(let e=0;e<l.data.length;e+=4){var u=l.data[e],h=l.data[e+1],g=l.data[e+2];l.data[e+3];u-i<A[n][0]&&u+r>A[n][0]&&h-i<A[n][1]&&h+r>A[n][1]&&g-i<A[n][2]&&g+r>A[n][2]&&d++}let o={rgb:A[n],ratio:parseInt(String((d/(e*t)*100).toFixed(6)))};c.push(o)}n({width:e,height:t,ratio:c})}}))},GA=t(2339),zA=t(7332);const jA={class:"scaleImage_btn"},ZA=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),WA=[ZA],XA=(0,n._)("i",{class:"fi fi-rr-down-to-line"},null,-1),YA=[XA],JA={class:"scaleImage_content"},$A=["src"],qA={class:"scaleImage_nav"},Ae={class:"nav_left"},ee={class:"nav_list"},te=["onClick","src"],ne={class:"nav_right"};function ie(A,e,t,i,s,a){const l=(0,n.up)("a-modal");return(0,n.wg)(),(0,n.j4)(l,{class:"scaleImage_modal",visible:A.scaleImage,"onUpdate:visible":e[4]||(e[4]=e=>A.scaleImage=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,mask:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",jA,[(0,n._)("div",{class:"collection_closeIcon left",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.cancelDsign()),["stop"]))},WA),(0,n._)("div",{class:"collection_closeIcon",onClick:e[1]||(e[1]=(0,o.iM)((e=>A.download()),["stop"]))},YA)]),(0,n._)("div",JA,[(0,n._)("img",{src:A.scaleImageList[A.scaleImageIndex]?.imgUrl},null,8,$A)]),(0,n._)("div",qA,[(0,n._)("div",Ae,[(0,n._)("i",{class:"fi fi-rr-arrow-small-left",onClick:e[2]||(e[2]=e=>A.lastStep())})]),(0,n._)("div",ee,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.scaleImageList,((e,t)=>((0,n.wg)(),(0,n.iD)("img",{onClick:e=>A.setScaleImageIndex(t),class:(0,r.C_)({active:t==A.scaleImageIndex}),src:e?.imgUrl,key:e.id},null,10,te)))),128))]),(0,n._)("div",ne,[(0,n._)("i",{class:"fi fi-rr-arrow-small-right",onClick:e[3]||(e[3]=(0,o.iM)((e=>A.nextStep()),["stop"]))})])])])),_:1},8,["visible"])}var re=(0,n.aZ)({setup(){let A=(0,X.iH)(!1),e=(0,X.iH)(!1);const t=(0,X.iH)(!1),n=A=>{t.value=A};let i=(0,X.iH)([]),r=(0,X.iH)(0);return{scaleImage:A,loadingShow:e,visible:t,setVisible:n,scaleImageList:i,scaleImageIndex:r}},data(){return{}},mounted(){},methods:{init(A){this.scaleImage=!0,this.scaleImageList=A},cancelDsign(){this.scaleImage=!1,this.scaleImageList=[],this.scaleImageIndex=0},lastStep(){this.scaleImageIndex<=0||(this.scaleImageIndex-=1)},nextStep(){this.scaleImageIndex>=this.scaleImageList.length-1||(this.scaleImageIndex+=1)},download(){(0,zA.W$)(this.scaleImageList[this.scaleImageIndex].imgUrl)},setScaleImageIndex(A){this.scaleImageIndex=A}}}),oe=t(3744);const se=(0,oe.Z)(re,[["render",ie]]);var ae=se;let le={};function ce(A={}){le={animate:!0,allowClose:!0,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:["next","previous","close"],disableButtons:[],overlayColor:"#000",...A}}function de(A){return A?le[A]:le}function ue(A,e,t,n){return(A/=n/2)<1?t/2*A*A+e:-t/2*(--A*(A-2)-1)+e}function he(A){const e='a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])';return A.flatMap((A=>{const t=A.matches(e),n=Array.from(A.querySelectorAll(e));return[...t?[A]:[],...n]})).filter((A=>"none"!==getComputedStyle(A).pointerEvents&&me(A)))}function ge(A){if(!A||fe(A))return;const e=de("smoothScroll");A.scrollIntoView({behavior:!e||pe(A)?"auto":"smooth",inline:"center",block:"center"})}function pe(A){if(!A||!A.parentElement)return;const e=A.parentElement;return e.scrollHeight>e.clientHeight}function fe(A){const e=A.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function me(A){return!!(A.offsetWidth||A.offsetHeight||A.getClientRects().length)}let Be={};function we(A,e){Be[A]=e}function ve(A){return A?Be[A]:Be}function Ce(){Be={}}let be={};function ye(A,e){be[A]=e}function _e(A){var e;null==(e=be[A])||e.call(be)}function Qe(){be={}}function Ue(A,e,t,n){let i=ve("__activeStagePosition");const r=i||t.getBoundingClientRect(),o=n.getBoundingClientRect(),s=ue(A,r.x,o.x-r.x,e),a=ue(A,r.y,o.y-r.y,e),l=ue(A,r.width,o.width-r.width,e),c=ue(A,r.height,o.height-r.height,e);i={x:s,y:a,width:l,height:c},ke(i),we("__activeStagePosition",i)}function Fe(A){if(!A)return;const e=A.getBoundingClientRect(),t={x:e.x,y:e.y,width:e.width,height:e.height};we("__activeStagePosition",t),ke(t)}function xe(){const A=ve("__activeStagePosition"),e=ve("__overlaySvg");if(!A)return;if(!e)return void console.warn("No stage svg found.");const t=window.innerWidth,n=window.innerHeight;e.setAttribute("viewBox",`0 0 ${t} ${n}`)}function Ee(A){const e=Ie(A);document.body.appendChild(e),Re(e,(A=>{"path"===A.target.tagName&&_e("overlayClick")})),we("__overlaySvg",e)}function ke(A){const e=ve("__overlaySvg");if(!e)return void Ee(A);const t=e.firstElementChild;if("path"!==(null==t?void 0:t.tagName))throw new Error("no path element found in stage svg");t.setAttribute("d",Se(A))}function Ie(A){const e=window.innerWidth,t=window.innerHeight,n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.classList.add("driver-overlay","driver-overlay-animated"),n.setAttribute("viewBox",`0 0 ${e} ${t}`),n.setAttribute("xmlSpace","preserve"),n.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),n.setAttribute("version","1.1"),n.setAttribute("preserveAspectRatio","xMinYMin slice"),n.style.fillRule="evenodd",n.style.clipRule="evenodd",n.style.strokeLinejoin="round",n.style.strokeMiterlimit="2",n.style.zIndex="10000",n.style.position="fixed",n.style.top="0",n.style.left="0",n.style.width="100%",n.style.height="100%";const i=document.createElementNS("http://www.w3.org/2000/svg","path");return i.setAttribute("d",Se(A)),i.style.fill=de("overlayColor")||"rgb(0,0,0)",i.style.opacity=`${de("overlayOpacity")}`,i.style.pointerEvents="auto",i.style.cursor="auto",n.appendChild(i),n}function Se(A){const e=window.innerWidth,t=window.innerHeight,n=de("stagePadding")||0,i=de("stageRadius")||0,r=A.width+2*n,o=A.height+2*n,s=Math.min(i,r/2,o/2),a=Math.floor(Math.max(s,0)),l=A.x-n+a,c=A.y-n,d=r-2*a,u=o-2*a;return`M${e},0L0,0L0,${t}L${e},${t}L${e},0Z\n M${l},${c} h${d} a${a},${a} 0 0 1 ${a},${a} v${u} a${a},${a} 0 0 1 -${a},${a} h-${d} a${a},${a} 0 0 1 -${a},-${a} v-${u} a${a},${a} 0 0 1 ${a},-${a} z`}function He(){const A=ve("__overlaySvg");A&&A.remove()}function De(){const A=document.getElementById("driver-dummy-element");if(A)return A;let e=document.createElement("div");return e.id="driver-dummy-element",e.style.width="0",e.style.height="0",e.style.pointerEvents="none",e.style.opacity="0",e.style.position="fixed",e.style.top="50%",e.style.left="50%",document.body.appendChild(e),e}function Le(A){const{element:e}=A;let t="string"==typeof e?document.querySelector(e):e;t||(t=De()),Me(t,A)}function Oe(){const A=ve("__activeElement"),e=ve("__activeStep");A&&(Fe(A),xe(),Ye(A,e))}function Me(A,e){const t=Date.now(),n=ve("__activeStep"),i=ve("__activeElement")||A,r=!i||i===A,o="driver-dummy-element"===A.id,s="driver-dummy-element"===i.id,a=de("animate"),l=e.onHighlightStarted||de("onHighlightStarted"),c=(null==e?void 0:e.onHighlighted)||de("onHighlighted"),d=(null==n?void 0:n.onDeselected)||de("onDeselected"),u=de(),h=ve();!r&&d&&d(s?void 0:i,n,{config:u,state:h}),l&&l(o?void 0:A,e,{config:u,state:h});const g=!r&&a;let p=!1;ze(),we("previousStep",n),we("previousElement",i),we("activeStep",e),we("activeElement",A);const f=()=>{if(ve("__transitionCallback")!==f)return;const r=Date.now()-t,s=400-r<=200;e.popover&&s&&!p&&g&&(je(A,e),p=!0),de("animate")&&r<400?Ue(r,400,i,A):(Fe(A),c&&c(o?void 0:A,e,{config:de(),state:ve()}),we("__transitionCallback",void 0),we("__previousStep",n),we("__previousElement",i),we("__activeStep",e),we("__activeElement",A)),window.requestAnimationFrame(f)};we("__transitionCallback",f),window.requestAnimationFrame(f),ge(A),!g&&e.popover&&je(A,e),i.classList.remove("driver-active-element","driver-no-interaction"),i.removeAttribute("aria-haspopup"),i.removeAttribute("aria-expanded"),i.removeAttribute("aria-controls"),de("disableActiveInteraction")&&A.classList.add("driver-no-interaction"),A.classList.add("driver-active-element"),A.setAttribute("aria-haspopup","dialog"),A.setAttribute("aria-expanded","true"),A.setAttribute("aria-controls","driver-popover-content")}function Te(){var A;null==(A=document.getElementById("driver-dummy-element"))||A.remove(),document.querySelectorAll(".driver-active-element").forEach((A=>{A.classList.remove("driver-active-element","driver-no-interaction"),A.removeAttribute("aria-haspopup"),A.removeAttribute("aria-expanded"),A.removeAttribute("aria-controls")}))}function Ke(){const A=ve("__resizeTimeout");A&&window.cancelAnimationFrame(A),we("__resizeTimeout",window.requestAnimationFrame(Oe))}function Ne(A){var e;if(!ve("isInitialized")||"Tab"!==A.key&&9!==A.keyCode)return;const t=ve("__activeElement"),n=null==(e=ve("popover"))?void 0:e.wrapper,i=he([...n?[n]:[],...t?[t]:[]]),r=i[0],o=i[i.length-1];if(A.preventDefault(),A.shiftKey){const A=i[i.indexOf(document.activeElement)-1]||o;null==A||A.focus()}else{const A=i[i.indexOf(document.activeElement)+1]||r;null==A||A.focus()}}function Pe(A){var e;(null==(e=de("allowKeyboardControl"))||e)&&("Escape"===A.key?_e("escapePress"):"ArrowRight"===A.key?_e("arrowRightPress"):"ArrowLeft"===A.key&&_e("arrowLeftPress"))}function Re(A,e,t){const n=(e,n)=>{const i=e.target;A.contains(i)&&((!t||t(i))&&(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()),null==n||n(e))};document.addEventListener("pointerdown",n,!0),document.addEventListener("mousedown",n,!0),document.addEventListener("pointerup",n,!0),document.addEventListener("mouseup",n,!0),document.addEventListener("click",(A=>{n(A,e)}),!0)}function Ve(){window.addEventListener("keyup",Pe,!1),window.addEventListener("keydown",Ne,!1),window.addEventListener("resize",Ke),window.addEventListener("scroll",Ke)}function Ge(){window.removeEventListener("keyup",Pe),window.removeEventListener("resize",Ke),window.removeEventListener("scroll",Ke)}function ze(){const A=ve("popover");A&&(A.wrapper.style.display="none")}function je(A,e){var t,n;let i=ve("popover");i&&document.body.removeChild(i.wrapper),i=$e(),document.body.appendChild(i.wrapper);const{title:r,description:o,showButtons:s,disableButtons:a,showProgress:l,nextBtnText:c=de("nextBtnText")||"Next &rarr;",prevBtnText:d=de("prevBtnText")||"&larr; Previous",progressText:u=de("progressText")||"{current} of {total}"}=e.popover||{};i.nextButton.innerHTML=c,i.previousButton.innerHTML=d,i.progress.innerHTML=u,r?(i.title.innerHTML=r,i.title.style.display="block"):i.title.style.display="none",o?(i.description.innerHTML=o,i.description.style.display="block"):i.description.style.display="none";const h=s||de("showButtons"),g=l||de("showProgress")||!1,p=(null==h?void 0:h.includes("next"))||(null==h?void 0:h.includes("previous"))||g;i.closeButton.style.display=h.includes("close")?"block":"none",p?(i.footer.style.display="flex",i.progress.style.display=g?"block":"none",i.nextButton.style.display=h.includes("next")?"block":"none",i.previousButton.style.display=h.includes("previous")?"block":"none"):i.footer.style.display="none";const f=a||de("disableButtons")||[];null!=f&&f.includes("next")&&(i.nextButton.disabled=!0,i.nextButton.classList.add("driver-popover-btn-disabled")),null!=f&&f.includes("previous")&&(i.previousButton.disabled=!0,i.previousButton.classList.add("driver-popover-btn-disabled")),null!=f&&f.includes("close")&&(i.closeButton.disabled=!0,i.closeButton.classList.add("driver-popover-btn-disabled"));const m=i.wrapper;m.style.display="block",m.style.left="",m.style.top="",m.style.bottom="",m.style.right="",m.id="driver-popover-content",m.setAttribute("role","dialog"),m.setAttribute("aria-labelledby","driver-popover-title"),m.setAttribute("aria-describedby","driver-popover-description");const B=i.arrow;B.className="driver-popover-arrow";const w=(null==(t=e.popover)?void 0:t.popoverClass)||de("popoverClass")||"";m.className=`driver-popover ${w}`.trim(),Re(i.wrapper,(t=>{var n,i,r;const o=t.target,s=(null==(n=e.popover)?void 0:n.onNextClick)||de("onNextClick"),a=(null==(i=e.popover)?void 0:i.onPrevClick)||de("onPrevClick"),l=(null==(r=e.popover)?void 0:r.onCloseClick)||de("onCloseClick");return o.classList.contains("driver-popover-next-btn")?s?s(A,e,{config:de(),state:ve()}):_e("nextClick"):o.classList.contains("driver-popover-prev-btn")?a?a(A,e,{config:de(),state:ve()}):_e("prevClick"):o.classList.contains("driver-popover-close-btn")?l?l(A,e,{config:de(),state:ve()}):_e("closeClick"):void 0}),(A=>!(null!=i&&i.description.contains(A))&&!(null!=i&&i.title.contains(A))&&"string"==typeof A.className&&A.className.includes("driver-popover"))),we("popover",i);const v=(null==(n=e.popover)?void 0:n.onPopoverRender)||de("onPopoverRender");v&&v(i,{config:de(),state:ve()}),Ye(A,e),ge(m);const C=A.classList.contains("driver-dummy-element"),b=he([m,...C?[]:[A]]);b.length>0&&b[0].focus()}function Ze(){const A=ve("popover");if(null==A||!A.wrapper)return;const e=A.wrapper.getBoundingClientRect(),t=de("stagePadding")||0,n=de("popoverOffset")||0;return{width:e.width+t+n,height:e.height+t+n,realWidth:e.width,realHeight:e.height}}function We(A,e){const{elementDimensions:t,popoverDimensions:n,popoverPadding:i,popoverArrowDimensions:r}=e;return"start"===A?Math.max(Math.min(t.top-i,window.innerHeight-n.realHeight-r.width),r.width):"end"===A?Math.max(Math.min(t.top-(null==n?void 0:n.realHeight)+t.height+i,window.innerHeight-(null==n?void 0:n.realHeight)-r.width),r.width):"center"===A?Math.max(Math.min(t.top+t.height/2-(null==n?void 0:n.realHeight)/2,window.innerHeight-(null==n?void 0:n.realHeight)-r.width),r.width):0}function Xe(A,e){const{elementDimensions:t,popoverDimensions:n,popoverPadding:i,popoverArrowDimensions:r}=e;return"start"===A?Math.max(Math.min(t.left-i,window.innerWidth-n.realWidth-r.width),r.width):"end"===A?Math.max(Math.min(t.left-(null==n?void 0:n.realWidth)+t.width+i,window.innerWidth-(null==n?void 0:n.realWidth)-r.width),r.width):"center"===A?Math.max(Math.min(t.left+t.width/2-(null==n?void 0:n.realWidth)/2,window.innerWidth-(null==n?void 0:n.realWidth)-r.width),r.width):0}function Ye(A,e){const t=ve("popover");if(!t)return;const{align:n="start",side:i="left"}=(null==e?void 0:e.popover)||{},r=n,o="driver-dummy-element"===A.id?"over":i,s=de("stagePadding")||0,a=Ze(),l=t.arrow.getBoundingClientRect(),c=A.getBoundingClientRect(),d=c.top-a.height;let u=d>=0;const h=window.innerHeight-(c.bottom+a.height);let g=h>=0;const p=c.left-a.width;let f=p>=0;const m=window.innerWidth-(c.right+a.width);let B=m>=0;const w=!u&&!g&&!f&&!B;let v=o;if("top"===o&&u?B=f=g=!1:"bottom"===o&&g?B=f=u=!1:"left"===o&&f?B=u=g=!1:"right"===o&&B&&(f=u=g=!1),"over"===o){const A=window.innerWidth/2-a.realWidth/2,e=window.innerHeight/2-a.realHeight/2;t.wrapper.style.left=`${A}px`,t.wrapper.style.right="auto",t.wrapper.style.top=`${e}px`,t.wrapper.style.bottom="auto"}else if(w){const A=window.innerWidth/2-(null==a?void 0:a.realWidth)/2,e=10;t.wrapper.style.left=`${A}px`,t.wrapper.style.right="auto",t.wrapper.style.bottom=`${e}px`,t.wrapper.style.top="auto"}else if(f){const A=Math.min(p,window.innerWidth-(null==a?void 0:a.realWidth)-l.width),e=We(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.left=`${A}px`,t.wrapper.style.top=`${e}px`,t.wrapper.style.bottom="auto",t.wrapper.style.right="auto",v="left"}else if(B){const A=Math.min(m,window.innerWidth-(null==a?void 0:a.realWidth)-l.width),e=We(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.right=`${A}px`,t.wrapper.style.top=`${e}px`,t.wrapper.style.bottom="auto",t.wrapper.style.left="auto",v="right"}else if(u){const A=Math.min(d,window.innerHeight-a.realHeight-l.width);let e=Xe(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.top=`${A}px`,t.wrapper.style.left=`${e}px`,t.wrapper.style.bottom="auto",t.wrapper.style.right="auto",v="top"}else if(g){const A=Math.min(h,window.innerHeight-(null==a?void 0:a.realHeight)-l.width);let e=Xe(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.left=`${e}px`,t.wrapper.style.bottom=`${A}px`,t.wrapper.style.top="auto",t.wrapper.style.right="auto",v="bottom"}w?t.arrow.classList.add("driver-popover-arrow-none"):Je(r,v,A)}function Je(A,e,t){const n=ve("popover");if(!n)return;const i=t.getBoundingClientRect(),r=Ze(),o=n.arrow,s=r.width,a=window.innerWidth,l=i.width,c=i.left,d=r.height,u=window.innerHeight,h=i.top,g=i.height;o.className="driver-popover-arrow";let p=e,f=A;"top"===e?(c+l<=0?(p="right",f="end"):c+l-s<=0&&(p="top",f="start"),c>=a?(p="left",f="end"):c+s>=a&&(p="top",f="end")):"bottom"===e?(c+l<=0?(p="right",f="start"):c+l-s<=0&&(p="bottom",f="start"),c>=a?(p="left",f="start"):c+s>=a&&(p="bottom",f="end")):"left"===e?(h+g<=0?(p="bottom",f="end"):h+g-d<=0&&(p="left",f="start"),h>=u?(p="top",f="end"):h+d>=u&&(p="left",f="end")):"right"===e&&(h+g<=0?(p="bottom",f="start"):h+g-d<=0&&(p="right",f="start"),h>=u?(p="top",f="start"):h+d>=u&&(p="right",f="end")),p?(o.classList.add(`driver-popover-arrow-side-${p}`),o.classList.add(`driver-popover-arrow-align-${f}`)):o.classList.add("driver-popover-arrow-none")}function $e(){const A=document.createElement("div");A.classList.add("driver-popover");const e=document.createElement("div");e.classList.add("driver-popover-arrow");const t=document.createElement("header");t.id="driver-popover-title",t.classList.add("driver-popover-title"),t.style.display="none",t.innerText="Popover Title";const n=document.createElement("div");n.id="driver-popover-description",n.classList.add("driver-popover-description"),n.style.display="none",n.innerText="Popover description is here";const i=document.createElement("button");i.type="button",i.classList.add("driver-popover-close-btn"),i.setAttribute("aria-label","Close"),i.innerHTML="&times;";const r=document.createElement("footer");r.classList.add("driver-popover-footer");const o=document.createElement("span");o.classList.add("driver-popover-progress-text"),o.innerText="";const s=document.createElement("span");s.classList.add("driver-popover-navigation-btns");const a=document.createElement("button");a.type="button",a.classList.add("driver-popover-prev-btn"),a.innerHTML="&larr; Previous";const l=document.createElement("button");return l.type="button",l.classList.add("driver-popover-next-btn"),l.innerHTML="Next &rarr;",s.appendChild(a),s.appendChild(l),r.appendChild(o),r.appendChild(s),A.appendChild(i),A.appendChild(e),A.appendChild(t),A.appendChild(n),A.appendChild(r),{wrapper:A,arrow:e,title:t,description:n,footer:r,previousButton:a,nextButton:l,closeButton:i,footerButtons:s,progress:o}}function qe(){var A;const e=ve("popover");e&&(null==(A=e.wrapper.parentElement)||A.removeChild(e.wrapper))}function At(A={}){function e(){de("allowClose")&&l()}function t(){const A=ve("activeIndex"),e=de("steps")||[];if("undefined"==typeof A)return;const t=A+1;e[t]?a(t):l()}function n(){const A=ve("activeIndex"),e=de("steps")||[];if("undefined"==typeof A)return;const t=A-1;e[t]?a(t):l()}function i(A){(de("steps")||[])[A]?a(A):l()}function r(){var A;if(ve("__transitionCallback"))return;const e=ve("activeIndex"),t=ve("__activeStep"),i=ve("__activeElement");if("undefined"==typeof e||"undefined"==typeof t||"undefined"==typeof ve("activeIndex"))return;const r=(null==(A=t.popover)?void 0:A.onPrevClick)||de("onPrevClick");if(r)return r(i,t,{config:de(),state:ve()});n()}function o(){var A;if(ve("__transitionCallback"))return;const e=ve("activeIndex"),n=ve("__activeStep"),i=ve("__activeElement");if("undefined"==typeof e||"undefined"==typeof n)return;const r=(null==(A=n.popover)?void 0:A.onNextClick)||de("onNextClick");if(r)return r(i,n,{config:de(),state:ve()});t()}function s(){ve("isInitialized")||(we("isInitialized",!0),document.body.classList.add("driver-active",de("animate")?"driver-fade":"driver-simple"),Ve(),ye("overlayClick",e),ye("escapePress",e),ye("arrowLeftPress",r),ye("arrowRightPress",o))}function a(A=0){var e,t,n,i,r,o,s,c;const d=de("steps");if(!d)return console.error("No steps to drive through"),void l();if(!d[A])return void l();we("__activeOnDestroyed",document.activeElement),we("activeIndex",A);const u=d[A],h=d[A+1],g=d[A-1],p=(null==(e=u.popover)?void 0:e.doneBtnText)||de("doneBtnText")||"Done",f=de("allowClose"),m="undefined"!=typeof(null==(t=u.popover)?void 0:t.showProgress)?null==(n=u.popover)?void 0:n.showProgress:de("showProgress"),B=((null==(i=u.popover)?void 0:i.progressText)||de("progressText")||"{{current}} of {{total}}").replace("{{current}}",`${A+1}`).replace("{{total}}",`${d.length}`),w=(null==(r=u.popover)?void 0:r.showButtons)||de("showButtons"),v=["next","previous",...f?["close"]:[]].filter((A=>!(null!=w&&w.length)||w.includes(A))),C=(null==(o=u.popover)?void 0:o.onNextClick)||de("onNextClick"),b=(null==(s=u.popover)?void 0:s.onPrevClick)||de("onPrevClick"),y=(null==(c=u.popover)?void 0:c.onCloseClick)||de("onCloseClick");Le({...u,popover:{showButtons:v,nextBtnText:h?void 0:p,disableButtons:[...g?[]:["previous"]],showProgress:m,progressText:B,onNextClick:C||(()=>{h?a(A+1):l()}),onPrevClick:b||(()=>{a(A-1)}),onCloseClick:y||(()=>{l()}),...(null==u?void 0:u.popover)||{}}})}function l(A=!0){const e=ve("__activeElement"),t=ve("__activeStep"),n=ve("__activeOnDestroyed"),i=de("onDestroyStarted");if(A&&i){const A=!e||"driver-dummy-element"===(null==e?void 0:e.id);return void i(A?void 0:e,t,{config:de(),state:ve()})}const r=(null==t?void 0:t.onDeselected)||de("onDeselected"),o=de("onDestroyed");if(document.body.classList.remove("driver-active","driver-fade","driver-simple"),Ge(),qe(),Te(),He(),Qe(),Ce(),e&&t){const A="driver-dummy-element"===e.id;r&&r(A?void 0:e,t,{config:de(),state:ve()}),o&&o(A?void 0:e,t,{config:de(),state:ve()})}n&&n.focus()}return ce(A),{isActive:()=>ve("isInitialized")||!1,refresh:Ke,drive:(A=0)=>{s(),a(A)},setConfig:ce,setSteps:A=>{Ce(),ce({...de(),steps:A})},getConfig:de,getState:ve,getActiveIndex:()=>ve("activeIndex"),isFirstStep:()=>0===ve("activeIndex"),isLastStep:()=>{const A=de("steps")||[],e=ve("activeIndex");return void 0!==e&&e===A.length-1},getActiveStep:()=>ve("activeStep"),getActiveElement:()=>ve("activeElement"),getPreviousElement:()=>ve("previousElement"),getPreviousStep:()=>ve("previousStep"),moveNext:t,movePrevious:n,moveTo:i,hasNextStep:()=>{const A=de("steps")||[],e=ve("activeIndex");return void 0!==e&&A[e+1]},hasPreviousStep:()=>{const A=de("steps")||[],e=ve("activeIndex");return void 0!==e&&A[e-1]},highlight:A=>{s(),Le({...A,popover:A.popover?{showButtons:[],showProgress:!1,progressText:"",...A.popover}:void 0})},destroy:()=>{l(!1)}}}let et,tt=0;const nt=At({steps:[{element:"#Guide_1_1",popover:{title:"Title",description:"Description"}},{element:".Guide_1_2",popover:{title:"Title",description:"Description"}},{element:".Guide_1_2",popover:{title:"Title",description:"Description"}},{element:".Guide_1_4",popover:{title:"Title",description:"Description"}},{element:".Guide_1_5",popover:{title:"Title",description:"Description"}},{element:".Guide_1_6",popover:{title:"Title",description:"Description"}}],allowClose:!1,showButtons:!1,stagePadding:10,stageRadius:5,allowKeyboardControl:!0,disableActiveInteraction:!1,overlayOpacity:.4,overlay:!0,onPopoverRender:(A,e)=>{A.previousButton.style.display="none",e.state.activeIndex>=1&&e.state.activeIndex<=2?(A.footer.style.display="block",it(e.state.activeElement)):(A.footer.style.display="none",rt(e.state.activeElement)),tt=nt.getState().activeIndex;let t={index:tt};et?.commit("setGuide",t)}});function it(A){A.style.posiiton="relative";const e=document.getElementsByClassName("driver-mask__")?.[0];if(e);else{const e=document.createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",e.style.height="100%",e.style.backgroundColor="rgba(0, 0, 0, 0)",e.style.zIndex="9999",e.classList.add("driver-mask__"),A.appendChild(e)}}function rt(A){const e=document.getElementsByClassName("driver-mask__")?.[0];e&&e.remove()}const ot=()=>{et=(0,RA.oR)()};var st=t(8552),at=(0,n.aZ)({components:{scaleImage:ae},props:["msg","sketchCatecoryList"],setup(){let A=(0,X.iH)([{name:"image",type:!1},{name:"text",type:!0},{name:"text-image",type:!1}]),e=(0,X.iH)(),t=(0,X.iH)([]),i=(0,X.iH)([]),r=(0,X.iH)([]),o=(0,X.iH)(!1),s=(0,X.iH)(""),a=(0,X.iH)(1),l=(0,X.iH)(""),c=(0,X.iH)(20),d=(0,X.iH)(0),u=(0,X.iH)(""),h=(0,X.iH)(null),g=(0,RA.oR)(),p=(0,X.iH)([]),f=(0,X.iH)([]),m=(0,X.iH)(),B=(0,X.iH)(""),w=(0,X.iH)({num:"",optype:!1,name:(0,st.QT)().t("Generate.Model")+"1"}),v=(0,n.Fl)((()=>g.state.UploadFilesModule.printboard)),C=(0,X.iH)({}),b=(0,X.iH)(!1),y=(0,X.iH)(!1),_=(0,X.iH)(),{t:Q}=(0,st.QT)(),U=(0,X.iH)();return{imgList:t,selectImgList:i,selectImgListIds:r,isShowLoading:o,selectCode:s,currentPage:a,searchPictureName:l,pageSize:c,total:d,searcMaterialhName:u,designType:h,checkbox:A,store:g,fileList:p,sketchboardList:f,collectionElementid:m,level2Type:B,checkboxImage:e,printModel:w,loadingShow:b,printBoards:v,workspace:C,inputShow:y,inputTime:_,t:Q,isTest:U}},data(A){return{indicator:(0,n.h)(TA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:A.msg,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",moodboarList:(0,n.Fl)((()=>(0,RA.oR)().state.UploadFilesModule.moodboard)),type_:{type1:"generate",type2:A.msg}}},mounted(){this.token=(0,GA.ej)("token")||"";let A=(0,GA.ej)("isTest");this.isTest=JSON.parse(A)||"",this.uploadUrl=(0,zA.M$)(),this.workspace=this.store.state.Workspace.workspace},computed:{getSketchLabel(A){return A=>{let e="";for(let t of this.sketchCatecoryList)if(t.value===A){e=t.label;break}return e}}},methods:{generageAdd(A){A.type_=this.type_,A.resData=JSON.parse(JSON.stringify(A)),this.store.commit("addGenerateMaterialFils",A)},beforeUpload(A){const e="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;e||KA.ZP.info(this.t("Generate.jsContent1"));const t=A.size/1024/1024<2;return t||KA.ZP.info(this.t("Generate.jsContent2")),e&&t||NA.Z.LIST_IGNORE},setKeyword(A){this.checkbox.forEach((A=>{A.type=!1})),(0,n.Y3)().then((()=>{this.checkbox[A].type=!0,this.$emit("generateCheckbox",this.checkbox[0].type),this.checkboxImage=this.checkbox[1].type,this.checkboxImage&&this.sketchboardList.forEach((A=>{A.checked=!1}))}))},PrintModel(){this.printModel.optype||document.addEventListener("click",this.removePrintModel),this.printModel.optype=!this.printModel.optype},removePrintModel(){this.printModel.optype=!1,document.removeEventListener("click",this.removePrintModel)},setprintModel(A){this.printModel=3==A?{num:"Generate",optype:!1,name:this.t("Generate.Generate")}:{num:A,optype:!1,name:this.t("Generate.Model")+A}},getgenerate(){if(this.isTest)return void KA.ZP.info(this.t("isTest.available"));if(!this.searchPictureName)return void KA.ZP.info(this.t("Generate.jsContent5"));{let A=this.searchPictureName.split(/\s+/).length;if(A>75)return void KA.ZP.info(this.t("Generate.jsContent4"))}let A={generateType:"text",designType:"",collectionElementId:"",level1Type:this.upload.level1Type,level2Type:"",text:this.searchPictureName,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:1,gender:""};this.loadingShow=!0,PA.V.axiosPost(PA.V.httpUrls.sketchAndPrintGenerate,A).then((A=>{if(A){let e;this.fileList=[],A.generatedCollectionItems.forEach(((t,n)=>{e={id:A.generatedCollectionItems[n].generateItemId,imgUrl:A.generatedCollectionItems[n].generateItemUrl,like:A.generatedCollectionItems[n].isLiked},this.fileList.push(e),this.loadingShow=!1})),nt.moveNext()}})).catch((A=>{this.loadingShow=!1}))},ifMaximumLength(){clearTimeout(this.inputTime);let A=document.getElementsByClassName("generate")[0].getElementsByClassName("input_box")[0];A.getElementsByClassName("search_input")[0];this.inputTime=setTimeout((()=>{this.searchPictureName?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},fileUploadChange(A){let e=A.file;if("done"===e.status){let A=JSON.parse(e.xhr.response);e.id=A.data.id,e.imgUrl=A.data.url,e.resData=A.data,e.type_="upload",e.id_=VA.id++,e.category=this.sketchCatecoryList?.[0]?.value;let t=this.sketchboardList.filter((A=>"done"===A.status)),n=this.store.state.UploadFilesModule.sketchboard;n.length>=8?KA.ZP.info(this.t("Generate.jsContent6")):this.sketchboardList=t}else if("error"===e.status){let A=-1;this.sketchboardList.forEach(((t,n)=>{e.uid===t.uid&&(A=n)})),A>-1&&this.sketchboardList.splice(A,1),KA.ZP.warning(e.name+this.t("Generate.jsContent7"))}},showFileCategory(A){A.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(A,e){A.category=e.value,A.categoryShow=!1},hiddenFileCategory(){for(let A of this.sketchboardList)A.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},setSketchboardItem(A){this.checkboxImage||(A.checked?A.checked=!1:(this.sketchboardList.forEach((A=>{A.checked&&(A.checked=!1)})),A.checked=!0),this.collectionElementid=A.id,this.level2Type=A.category)},deleteFile(A){if("generate"==A.type_||"material"==A.type_)this.store.commit("addGenerateMaterialFils",A);else{let e;this.sketchboardList=this.store.state.UploadFilesModule.moodboardFiles,this.store.state.UploadFilesModule.moodboardFiles.forEach(((t,n)=>{t.id_==A.id_&&(e=n)})),this.sketchboardList.splice(e,1),this.store.commit("setSketchboardFile",this.sketchboardList)}},likeFile(A,e){if("like"==e){let e={generateDetailId:A.id,level1Type:"Moodboard",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};PA.V.axiosPost(PA.V.httpUrls.generateLike,e).then((e=>{A.like=!0})).catch((A=>{}))}else{let e={generateDetailId:A.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};PA.V.axiosGet(PA.V.httpUrls.generateDislike,{params:e}).then((e=>{A.like=!1})).catch((A=>{}))}},scaleImage(){let A=this.$refs.scaleImage;A.init(this.fileList)},closeModal(){this.searchPictureName="",this.designType=null,this.selectImgList=[],this.selectImgListIds=[],this.imgList=[],this.currentPage=1,this.total=0}}});const lt=(0,oe.Z)(at,[["render",MA]]);var ct=lt;const dt=A=>((0,n.dD)("data-v-73934f18"),A=A(),(0,n.Cn)(),A),ut={class:"collection_modal_item"},ht={class:"modal_left"},gt={class:"switch_type_list"},pt={class:"moodboard_body"},ft={class:"upload_img_body scroll_style"},mt={class:"upload_item"},Bt={class:"upload_file_item_content"},wt={class:"upload_file_item_content"},vt=["src"],Ct=["onClick"],bt={class:"upload_file_item upload_component"},yt={class:"upload_tip_block"},_t=dt((()=>(0,n._)("i",{class:"fi fi-br-upload"},null,-1))),Qt=[_t],Ut={class:"upload_max_tip"},Ft=dt((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1))),xt={class:"modal_right"},Et={class:"modal_layout"},kt={class:"modal_text"},It={class:"modal_img"},St=["onClick"],Ht=dt((()=>(0,n._)("div",{class:"checked"},[(0,n._)("i",{class:"fi fi-rr-trash"})],-1))),Dt={class:"modal_accomplish"},Lt={class:"modal_text"},Ot=dt((()=>(0,n._)("div",null,"Layout of selected moodboard",-1))),Mt={class:"modal_img_max"},Tt=["src"],Kt={key:1,class:"modal_img"},Nt=["src"],Pt={class:"mark_loading"};function Rt(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("Material"),u=(0,n.up)("Generate"),h=(0,n.up)("layout"),g=(0,n.Q2)("lazy"),p=(0,n.Q2)("modelImg");return(0,n.wg)(),(0,n.iD)("div",ut,[(0,n._)("div",ht,[(0,n._)("div",gt,[(0,n._)("div",{onClick:e[0]||(e[0]=(0,o.iM)((e=>A.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Upload")),1)],2),(0,n._)("div",{onClick:e[1]||(e[1]=(0,o.iM)((e=>A.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Library")),1)],2),(0,n._)("div",{onClick:e[2]||(e[2]=(0,o.iM)((e=>A.open(3)),["stop"])),class:(0,r.C_)(["switch_type_item Guide_1_4",[3==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Generate")),1)],2)]),(0,n.wy)((0,n._)("div",pt,[(0,n._)("div",ft,[(0,n._)("div",mt,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:e},[(0,n.wy)((0,n._)("div",Bt,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",wt,[(0,n._)("img",{src:e?.imgUrl,class:"upload_img"},null,8,vt),(0,n._)("div",{class:"delete_file_block",onClick:t=>A.deleteFile(e)},(0,r.zw)(A.$t("MoodboardUpload.Delete")),9,Ct)],512),[[o.F8,"done"===e?.status]])])))),128)),(0,n.wy)((0,n._)("div",bt,[(0,n.Wm)(c,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},headers:{Authorization:A.token},"before-upload":A.beforeUpload,"file-list":A.fileList,"onUpdate:file-list":e[3]||(e[3]=e=>A.fileList=e),multiple:"",maxCount:8-A.moodboarList.length+A.fileList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:e[4]||(e[4]=e=>A.fileUploadChange(e))},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",yt,Qt,512),[[o.F8,A.moodboarList.length<8]])])),_:1},8,["action","data","headers","before-upload","file-list","maxCount"])],512),[[o.F8,A.moodboarList.length<8]])])]),(0,n._)("div",Ut,[Ft,(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Maximum")),1)])],512),[[o.F8,1==A.openClick]]),(0,n.wy)((0,n.Wm)(d,{ref:"Material",msg:"Moodboard"},null,512),[[o.F8,2==A.openClick]]),(0,n.wy)((0,n.Wm)(u,{ref:"Generate",msg:"Moodboard"},null,512),[[o.F8,3==A.openClick]])]),(0,n.wy)((0,n._)("div",xt,[(0,n._)("div",Et,[(0,n._)("div",kt,[(0,n._)("div",null,(0,r.zw)(A.$t("MoodboardUpload.Thumbnail")),1),(0,n._)("div",{class:"modal_btn started_btn",onClick:e[5]||(e[5]=e=>A.layout())},(0,r.zw)(A.$t("MoodboardUpload.layout")),1)]),(0,n._)("div",It,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.moodboarList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:e,onClick:t=>A.deleteFile(e)},[(0,n.wy)((0,n._)("img",null,null,512),[[g,e.imgUrl]]),Ht],8,St)))),128))])]),(0,n.wy)((0,n._)("div",Dt,[(0,n._)("div",Lt,[Ot,(0,n._)("div",{class:"modal_btn started_btn",onClick:e[6]||(e[6]=(0,o.iM)((e=>A.changeTemplateModal()),["stop"]))},"Edit")]),(0,n._)("div",Mt,[A.modalImg[0]?.id?((0,n.wg)(),(0,n.iD)("div",Kt,[(0,n._)("img",{src:A.modalImg[0].imgUrl},null,8,Nt)])):((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,r.C_)(["modal_img",{active:A.flex_direction}]),id:"modal_img"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.layoutList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([[A.moodb_className[t]],"modal_imgItem"])},[(0,n.wy)((0,n._)("img",{src:e.imgUrl},null,8,Tt),[[p]])],2)))),256))],2)),(0,n.wy)((0,n._)("div",Pt,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]])])],512),[[o.F8,A.moodboarList.length>1||A.edieShow]])],512),[[o.F8,A.moodboarList.length]]),(0,n.Wm)(h,{ref:"layout",moodb_className:A.moodb_className,flex_direction:A.flex_direction,onSetmoodbClass:A.setmoodbClass},null,8,["moodb_className","flex_direction","onSetmoodbClass"])])}var Vt=t(5929);const Gt={class:"my_material_modal"},zt={class:"my_material_header"},jt={class:"my_material_header_right"},Zt={class:"content_search_block"},Wt=["placeholder"],Xt=(0,n._)("span",{class:"icon iconfont icon-sousuo"},null,-1),Yt=[Xt],Jt={class:"my_material_content"},$t={class:"material_content_body scroll_style"},qt=["src","onClick"],An={key:0,class:"operate_file_block"},en={class:"select_img_type"},tn=["onClick"],nn={class:"category_list"},rn=["onClick"],on={key:1,class:"pin_block"},sn={class:"material_content_list_loding"},an=(0,n._)("img",{src:Vt,alt:""},null,-1),ln=[an],cn={class:"no_data_block loading_block"};function dn(A,e,t,i,s,a){const l=(0,n.up)("a-checkbox"),c=(0,n.up)("a-spin"),d=(0,n.Q2)("observe");return(0,n.wg)(),(0,n.iD)("div",Gt,[(0,n._)("div",zt,[(0,n._)("div",jt,[(0,n._)("div",Zt,[(0,n.wy)((0,n._)("input",{class:"search_input",placeholder:A.$t("Material.inputContent1"),"onUpdate:modelValue":e[0]||(e[0]=e=>A.searchPictureName=e),onKeydown:e[1]||(e[1]=(0,o.D2)((e=>A.getLibraryList("")),["enter"]))},null,40,Wt),[[o.nr,A.searchPictureName]]),(0,n._)("div",{class:"search_icon_block",onClick:e[2]||(e[2]=(0,o.iM)((e=>A.getLibraryList("")),["stop"]))},Yt)])])]),(0,n._)("div",Jt,[(0,n._)("div",$t,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.imgList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,class:(0,r.C_)(["content_img_item",[e?.checked?"active":"","Moodboard"==A.selectCode?"moodb":""]])},[(0,n._)("img",{src:e?.imgUrl,onClick:(0,o.iM)((t=>A.selectImgItem(e)),["stop"])},null,8,qt),"Sketchboard"==A.selectCode?((0,n.wg)(),(0,n.iD)("div",An,[(0,n._)("div",en,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>A.showFileCategory(e)),["stop"])},[(0,n.Uk)((0,r.zw)(e?.category)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",e?.categoryShow?"icon_rotate":""])},null,2)],8,tn),(0,n.wy)((0,n._)("div",nn,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.disignTypeList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",e?.category==t.value?"select_category_item":""]),key:i,onClick:(0,o.iM)((n=>A.selectFileCategory(e,t)),["stop"])},(0,r.zw)(t.label),11,rn)))),128))],512),[[o.F8,e?.categoryShow]])])])):(0,n.kq)("",!0),"Sketchboard"==A.selectCode||"Printboard"==A.selectCode?((0,n.wg)(),(0,n.iD)("div",on,[(0,n.Wm)(l,{checked:e.pin,"onUpdate:checked":A=>e.pin=A},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.$t("Material.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])])):(0,n.kq)("",!0)],2)))),128)),(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",sn,ln)),[[o.F8,A.total>A.imgList?.length],[d]])]),(0,n.wy)((0,n._)("div",cn,[(0,n.Wm)(c,{size:"large"})],512),[[o.F8,A.isShowLoading]])])])}var un=(0,n.aZ)({props:["msg","disignTypeList"],setup(A){let e=(0,X.iH)(!1),t=(0,X.iH)([]),n=(0,X.iH)(!1),i=(0,X.iH)(""),r=(0,X.iH)(1),o=(0,X.iH)(""),s=(0,X.iH)(12),a=(0,X.iH)(0),l=(0,X.iH)(""),c=(0,X.iH)(null),d=(0,X.iH)({}),{t:u}=(0,st.QT)();return{myMaterialModalShow:e,imgList:t,isShowLoading:n,selectCode:i,currentPage:r,searchPictureName:o,pageSize:s,total:a,searcMaterialhName:l,designType:c,workspace:d,t:u}},data(A){return{type_:{type1:"material",type2:A.msg},store:(0,RA.oR)()}},directives:{observe:{mounted(A,e){const t=new IntersectionObserver(i,{root:null,threshold:[.1]});t.observe(A);let n=e.instance;function i(A,e){A.forEach((A=>{A.isIntersecting&&n.getLibraryList("di")}))}}}},computed:{getSketchLabel(A){return A=>{let e="";for(let t of this.disignTypeList)if(t.value===A){e=t.label;break}return e}},sketchboardList(){return this.store.state.UploadFilesModule.sketchMaterialFiles},moodboardList(){return this.store.state.UploadFilesModule.moodboardMaterialFiles},printboardList(){return this.store.state.UploadFilesModule.printMaterialFiles}},mounted(){},watch:{sketchboardList:{handler(A,e){e.forEach((e=>{-1==A.findIndex((A=>A.id==e.id))&&this.imgList.forEach((A=>{A.id==e.id&&(A.checked=!1)}))}))}},moodboardList:{handler(A,e){e.forEach((e=>{-1==A.findIndex((A=>A.id==e.id))&&this.imgList.forEach((A=>{A.id==e.id&&(A.checked=!1)}))}))}},printboardList:{handler(A,e){e.forEach((e=>{-1==A.findIndex((A=>A.id==e.id))&&this.imgList.forEach((A=>{A.id==e.id&&(A.checked=!1)}))}))}}},methods:{init(A){this.selectCode=A,this.getLibraryList("")},selectImgItem(A){A.type_=this.type_,A.resData=JSON.parse(JSON.stringify(A)),this.imgList.forEach((A=>{A.categoryShow=!1})),A.jsContent1=this.t("uploadFile.jsContent1"),this.store.commit("addGenerateMaterialFils",A)},changePage(A,e){this.currentPage=A,this.pageSize=e,this.getLibraryList("")},handleChange(){this.getLibraryList("")},getLibraryList(A){let e=this.store.state.Workspace.workspace;"di"==A&&(this.currentPage=void 0!=this.imgList?.[0]?.id?this.imgList?.length/this.pageSize+1:1);let t={level1Type:this.selectCode,modelSex:e?.sex,page:this.currentPage,pictureName:this.searchPictureName,size:this.pageSize};this.isShowLoading=!0,PA.V.axiosPost(PA.V.httpUrls.queryLibraryPage,t).then((A=>{let e=[];A.content.forEach(((A,t)=>{let n;"Sketchboard"==this.type_.type2?(n=this.store.state.UploadFilesModule.sketchMaterialFiles,A.category=A.level2Type,A.categoryShow=!1):"Moodboard"==this.type_.type2?n=this.store.state.UploadFilesModule.moodboardMaterialFiles:"Printboard"==this.type_.type2&&(n=this.store.state.UploadFilesModule.printMaterialFiles),A.imgUrl=A.url,A.id_||(A.id_=VA.id++,n.forEach((e=>{A.id==e.id&&(A.id_=e.id_?e.id_:VA.id++,A.checked=!0,A.pin=e.pin)}))),e.push(A)})),e[e.length-1].id==this.imgList[this.imgList.length-1]?.id||this.imgList.push(...e),this.total=A.total,this.isShowLoading=!1})).catch((A=>{this.isShowLoading=!1}))},closeModal(){this.myMaterialModalShow=!1,this.searchPictureName="",this.designType=null,this.imgList=[],this.currentPage=1,this.pageSize=10,this.total=0},showFileCategory(A){A.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(A,e){A.category=e.value;for(let t of this.imgList)t.categoryShow=!1;this.setSketchLibrary(A)},hiddenFileCategory(){for(let A of this.imgList)A.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},setSketchLibrary(A){let e={libraryId:A.id,level2Type:A.category};PA.V.axiosPost(PA.V.httpUrls.setSketchLibrary,e).then((A=>{})).catch((A=>{}))}}});const hn=(0,oe.Z)(un,[["render",dn]]);var gn=hn;const pn={class:"mood_template_component"},fn={class:"mood_template_item template_three"},mn={class:"mood_template_item template_four"},Bn={class:"mood_template_item template_five"},wn={class:"mood_template_item template_six"},vn={class:"mood_template_item template_seven"},Cn={class:"mood_template_item template_eight"},bn={class:"mood_template_item template_nine"},yn={class:"mood_template_item template_ten"};function _n(A,e,t,i,s,a){return(0,n.wg)(),(0,n.iD)("div",pn,[(0,n.wy)((0,n._)("div",fn,[(0,n._)("div",{class:"img_template three_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template three_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template three_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4)],512),[[o.F8,3==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",mn,[(0,n._)("div",{class:"img_template four_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4)],512),[[o.F8,4==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",Bn,[(0,n._)("div",{class:"img_template five_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4)],512),[[o.F8,5==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",wn,[(0,n._)("div",{class:"img_template six_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4)],512),[[o.F8,6==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",vn,[(0,n._)("div",{class:"img_template seven_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4)],512),[[o.F8,7==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",Cn,[(0,n._)("div",{class:"img_template eight_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_8",style:(0,r.j5)({backgroundImage:`url(${A.fileList[7]?.imgUrl})`})},null,4)],512),[[o.F8,8==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",bn,[(0,n._)("div",{class:"img_template nine_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_8",style:(0,r.j5)({backgroundImage:`url(${A.fileList[7]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_9",style:(0,r.j5)({backgroundImage:`url(${A.fileList[8]?.imgUrl})`})},null,4)],512),[[o.F8,9==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",yn,[(0,n._)("div",{class:"img_template ten_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_8",style:(0,r.j5)({backgroundImage:`url(${A.fileList[7]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_9",style:(0,r.j5)({backgroundImage:`url(${A.fileList[8]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_10",style:(0,r.j5)({backgroundImage:`url(${A.fileList[9]?.imgUrl})`})},null,4)],512),[[o.F8,10==A.moodTemplateId]])])}var Qn=(0,n.aZ)({props:["fileList","moodTemplateId"],setup(){}});const Un=(0,oe.Z)(Qn,[["render",_n],["__scopeId","data-v-3174c5e2"]]);var Fn=Un;const xn={class:"layout_content"},En={class:"collection_title"},kn={class:"collection_title_text"},In={class:"layout_title"},Sn=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),Hn=[Sn],Dn={class:"layout_nav"},Ln=["onClick"],On=["src"],Mn=["onClick"],Tn=["src"],Kn={class:"layout_btn"},Nn={class:"layout_btn_top"},Pn={class:"layout_btn_bottom"},Rn={class:"layout_btn_left"},Vn={class:"layout_btn_right"},Gn={class:"layout_rotote"},zn={class:"layout_translate"},jn={class:"layout_angle_tr"},Zn={class:"layout_angle_tl"},Wn={class:"layout_angle_br"},Xn={class:"layout_angle_bl"},Yn={class:"layout_left"},Jn={class:"layout_left_text"},$n=["onClick"],qn={class:"mark_loading"};function Ai(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("a-modal"),u=(0,n.Q2)("modelImg"),h=(0,n.Q2)("compile"),g=(0,n.Q2)("rotote"),p=(0,n.Q2)("translate"),f=(0,n.Q2)("angle"),m=(0,n.Q2)("layout");return(0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(d,{class:"layout_modal",visible:A.layout,"onUpdate:visible":e[2]||(e[2]=e=>A.layout=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,mask:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",xn,[(0,n._)("div",En,[(0,n._)("div",kn,[(0,n._)("div",In,(0,r.zw)(A.$t("layout.MoodBoardDesign")),1)])]),(0,n._)("div",{class:"collection_closeIcon",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.cancelDsign()),["stop"]))},Hn),(0,n._)("div",Dn,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.layoutList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,class:(0,r.C_)({active:e.setPitch}),onClick:n=>A.setpitch(e,t)},[(0,n._)("img",{src:e.imgUrl},null,8,On)],10,Ln)))),128))]),(0,n._)("div",{class:(0,r.C_)(["layout_centent",{active:A.flex_direction}]),id:"layoutCentent"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.layoutList,((e,t)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{key:e,class:(0,r.C_)([A.moodbClassName[t],"modal_imgItem"]),onClick:n=>A.setpitch(e,t),ref_for:!0,ref:"content"},[(0,n.wy)((0,n._)("img",{crossOrigin:"anonymous",src:e.imgUrl,draggable:"false"},null,8,Tn),[[u]]),(0,n.wy)((0,n._)("ul",Kn,[(0,n.wy)((0,n._)("li",Nn,null,512),[[h,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Pn,null,512),[[h,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Rn,null,512),[[h,"left",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Vn,null,512),[[h,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Gn,null,512),[[g,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",zn,null,512),[[p,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",jn,null,512),[[f,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Zn,null,512),[[f,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Wn,null,512),[[f,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Xn,null,512),[[f,"left",void 0,{stop:!0}]])],512),[[o.F8,e.setPitch]])],10,Mn)),[[m,t]]))),128))],2),(0,n._)("div",Yn,[(0,n._)("div",Jn,(0,r.zw)(A.$t("layout.LayerOptions")),1),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.moodbList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"layout_left_items",onClick:t=>A.setmoodb(e)},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e,((A,e)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([A,"layout_left_item"])},null,2)))),256))],8,$n)))),256))]),(0,n._)("div",{class:"button_second submit_button",onClick:e[1]||(e[1]=e=>A.submitTemplate())},(0,r.zw)(A.$t("layout.Submit")),1)]),(0,n.wy)((0,n._)("div",qn,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]]),(0,n.Wm)(c,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},headers:{Authorization:A.token},"before-upload":A.beforeUpload,multiple:"",accept:".jpg,.png,.jpeg,.bmp"},null,8,["action","data","headers","before-upload"])])),_:1},8,["visible"])])}var ei={moodb_:[[["wh4"]],[["wh4","wh4"],["wh8","wh8"]],[["wh4","w1h2","w1h2"],["w1h2","w1h2","wh4"],["w2h1","w2h1","wh4"],["wh4","w2h1","w2h1"]],[["wh1","wh1","w1h2","wh4"],["w1h2","wh1","wh1","wh4"],["wh4","wh1","wh1","w1h2"],["w1h2","w1h2","w1h2","w1h2"]],[["wh1","wh1","wh1","wh1","wh4"],["wh1","wh1","wh4","wh1","wh1"],["wh4","wh1","wh1","wh1","wh1"],["w1h2","w1h2","w1h2","wh1","wh1"],["wh1","wh1","w1h2","w1h2","w1h2"],["w1h2","w1h2","wh1","wh1","w1h2"],["w1h2","wh1","wh1","w1h2","w1h2"]],[["wh1","wh1","wh1","wh1","w1h2","w1h2"],["wh1","wh1","w1h2","wh1","wh1","w1h2"],["w1h2","w1h2","wh1","wh1","wh1","wh1"],["wh1","wh1","wh1","wh1","w2h1","w2h1"],["wh1","wh1","w2h1","w2h1","wh1","wh1"],["w2h1","w2h1","wh1","wh1","wh1","wh1"]],[["wh1","wh1","wh1","wh1","wh1","wh1","w1h2"],["wh1","wh1","wh1","wh1","w1h2","wh1","wh1"],["wh1","wh1","w1h2","wh1","wh1","wh1","wh1"],["w1h2","wh1","wh1","wh1","wh1","wh1","wh1"],["wh1","wh1","wh1","wh1","wh1","wh1","w2h1"]],[["wh1","wh1","wh1","wh1","wh1","wh1","wh1","wh1"]]]},ti=t(9980),ni=t.n(ti),ii=(t(2801),t(8675),t(7380),t(1118),t(1120)),ri=t.n(ii);const oi=A=>new Promise((e=>{ri()(A,{useCORS:!0}).then((A=>{let t,n,i,r=A.toDataURL("image/jpeg",.9),o=.9,s=new Image;s.src=r,s.setAttribute("crossOrigin","Anonymous"),s.onload=function(){i=1*this.width,t=this.width,n=this.height;let A=document.createElement("canvas"),r=A.getContext("2d");Math.max(t,n)>i?t>n?(A.width=i,A.height=i*(n/t)):(A.height=i,A.width=i*(t/n)):(A.width=t,A.height=n,o=.6),r.clearRect(0,0,A.width,A.height),r.drawImage(this,0,0,A.width,A.height);let s=A.toDataURL("image/jpeg",o),a=si(s),l=new File([a],new Date+".jpg");e(l)}}))}));function si(A,e){let t=atob(A.split(",")[1]),n=[];for(let i=0;i<t.length;i++)n.push(t.charCodeAt(i));return new Blob([new Uint8Array(n)],{type:"image/jpeg"})}var ai=oi,li=(0,n.aZ)({props:["moodb_className","flex_direction"],components:{draggable:ni()},setup(A){let e=(0,X.iH)(!1),t=(0,X.iH)([]),n=(0,X.iH)(1),i=!1,r=(0,X.iH)([]);const o=(0,X.iH)(null);let s=(0,X.iH)(!1);return{layout:e,templateFileList:t,openClick:n,drag:i,layoutList:r,content:o,loadingShow:s}},data(){return{store:(0,RA.oR)(),moodb:ei.moodb_,moodbList:{},moodbClassName:[],setabsolute:!1,token:"",uploadUrl:"",upload:{isPin:0,level1Type:"Moodboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}}},mounted(){this.token=(0,GA.ej)("token")||"",this.uploadUrl=(0,zA.M$)()},directives:{layout:{mounted(A,e,t){A.addEventListener("mousedown",(e=>{e.stopPropagation(),A.parentElement.children.forEach((A=>{A.style.left=A.offsetLeft+"px",A.style.top=A.offsetTop+"px"})),A.parentElement.children.forEach((A=>{A.classList.add("active")})),A.style.zIndex=VA.zIndex++;let t=A.style.left?A.style.left.replace(/px/g,""):0,n=A.style.top?A.style.top.replace(/px/g,""):0,i=e.offsetX,r=e.offsetY,o=e.clientX-e.offsetX-Number(t),s=e.clientY-e.offsetY-Number(n),a=!0;document.onmousemove=function(e){a&&(A.style.left=e.x-i-o+"px",A.style.top=e.y-r-s+"px",A.offsetLeft<=0&&(A.style.left="0px"),A.offsetTop<=0&&(A.style.top="0px"),A.offsetLeft+A.offsetWidth>=A.parentNode.offsetWidth&&(A.style.left=A.parentNode.offsetWidth-A.offsetWidth+"px"),A.offsetTop+A.offsetHeight>=A.parentNode.offsetHeight&&(A.style.top=A.parentNode.offsetHeight-A.offsetHeight+"px"))},document.onmouseup=function(){a=!1}}))},updated(A,e){}},compile:{mounted(A,e){A.addEventListener("mousedown",(t=>{t.stopPropagation();let n,i,r=A.parentNode.parentNode;A.parentElement.parentNode.parentNode.children.forEach((A=>{A.style.left=A.offsetLeft+"px",A.style.top=A.offsetTop+"px"})),A.parentElement.parentNode.parentNode.children.forEach((A=>{A.classList.add("active")})),"right"==e.value||("left"==e.value?(r.style.right=r.parentNode.offsetWidth-r.offsetWidth-r.offsetLeft+"px",r.style.left="auto"):"top"==e.value?(r.style.bottom=r.parentNode.offsetHeight-r.offsetHeight-r.offsetTop+"px",r.style.top="auto"):e.value),"left"==e.value||"right"==e.value?(n=t.x,i=r.offsetWidth):(i=r.offsetHeight,n=t.y);let o=!0;document.onmousemove=function(A){o&&("left"==e.value?r.style.width=i+n-A.x+"px":"right"==e.value?r.style.width=i+A.x-n+"px":"top"==e.value?r.style.height=i+n-A.y+"px":"bottom"==e.value&&(r.style.height=i+A.y-n+"px"),r.parentNode.offsetWidth<=r.offsetWidth+Number(r.style.right.replace(/px/g,""))&&(r.style.width=r.parentNode.offsetWidth-Number(r.style.right.replace(/px/g,""))+"px"),r.offsetLeft+r.offsetWidth>=r.parentNode.offsetWidth&&(r.style.width=r.parentNode.offsetWidth-r.offsetLeft+"px"),r.parentNode.offsetHeight<=r.offsetHeight+Number(r.style.bottom.replace(/px/g,""))&&(r.style.height=r.parentNode.offsetHeight-Number(r.style.bottom.replace(/px/g,""))+"px"),r.offsetTop+r.offsetHeight>=r.parentNode.offsetHeight&&(r.style.height=r.parentNode.offsetHeight-r.offsetTop+"px"))},document.onmouseup=function(){o=!1}}))}},rotote:{mounted(A){let e,t=!0,n=0,i=A.parentNode.parentNode;if(document.defaultView){let A=document.defaultView.getComputedStyle(i.firstElementChild,null).transform.split("(")[1].split(",");e=Number(A[3])}A.addEventListener("mousedown",(r=>{r.stopPropagation(),t=!0;var o=A.getBoundingClientRect();let s=o.x+o.width/2,a=o.y+o.height/2;document.addEventListener("mousemove",(r=>{if(t){let t=s,o=a,l=r.clientX-t,c=o-r.clientY;n=Math.atan2(l,c)*(180/Math.PI),i.firstElementChild.style.transform="translate(-50%,-50%) scale("+e+") rotateZ("+n+"deg)",A.style.transform="translate(-50%,-50%) rotateZ("+n+"deg)"}})),document.addEventListener("mouseup",(()=>{t=!1}))}));let r=!0;A.parentNode.addEventListener("mousemove",(t=>{A.parentNode.addEventListener("mousewheel",(A=>{r&&(r=!1,A.deltaY>0?e-=e<=1?.05:.1:e+=e<=1?.05:.1,e>=3?e=3:e<.2&&(e=.2),setTimeout((()=>{r=!0}),100),i.firstElementChild.style.transform="translate(-50%,-50%) scale("+e+") rotateZ("+n+"deg)")}))}))}},angle:{mounted(A,e){let t=!1;A.addEventListener("mousedown",(n=>{n.stopPropagation(),A.parentNode.children.forEach((A=>{A.classList.add("eventNode")})),t=!0;let i,r,o=A.parentNode.parentNode,s=Math.sqrt(o.offsetWidth/2*o.offsetWidth/2+o.offsetHeight/2*o.offsetHeight/2);A.parentNode.addEventListener("mousemove",(n=>{if(t){"right"==e.value?(i=o.offsetWidth-n.offsetX,r=o.offsetHeight-n.offsetY):"top"==e.value?(i=o.offsetWidth-n.offsetX-o.offsetWidth,r=o.offsetHeight-n.offsetY):"left"==e.value?(i=o.offsetWidth-n.offsetX,r=o.offsetHeight-n.offsetY-o.offsetHeight):"bottom"==e.value&&(i=o.offsetWidth-n.offsetX-o.offsetWidth,r=o.offsetHeight-n.offsetY-o.offsetHeight);let t=Math.sqrt(i*i+r*+r)/2;100-100*t/s<=50?"right"==e.value?(A.parentNode.style.borderTopLeftRadius=100-100*t/s+"%",o.style.borderTopLeftRadius=100-100*t/s+"%",A.style.left=(100-100*t/s)/3.33-1+"%",A.style.top=(100-100*t/s)/3.33-1+"%"):"top"==e.value?(A.parentNode.style.borderTopRightRadius=100-100*t/s+"%",o.style.borderTopRightRadius=100-100*t/s+"%",A.style.right=(100-100*t/s)/3.33-1+"%",A.style.left="auto",A.style.top=(100-100*t/s)/3.33-1+"%"):"bottom"==e.value?(A.parentNode.style.borderBottomRightRadius=100-100*t/s+"%",o.style.borderBottomRightRadius=100-100*t/s+"%",A.style.right=(100-100*t/s)/3.33-1+"%",A.style.top="auto",A.style.left="auto",A.style.bottom=(100-100*t/s)/3.33-1+"%"):"left"==e.value&&(A.parentNode.style.borderBottomLeftRadius=100-100*t/s+"%",o.style.borderBottomLeftRadius=100-100*t/s+"%",A.style.left=(100-100*t/s)/3.33-1+"%",A.style.top="auto",A.style.bottom=(100-100*t/s)/3.33-1+"%"):"right"==e.value?(A.parentNode.style.borderTopLeftRadius="50%",o.style.borderTopLeftRadius="50%"):"top"==e.value?(A.parentNode.style.borderTopRightRadius="50%",o.style.borderTopRightRadius="50%"):"bottom"==e.value?(A.parentNode.style.borderBottomRightRadius="50%",o.style.borderBottomRightRadius="50%"):"left"==e.value&&(A.parentNode.style.borderBottomLeftRadius="50%",o.style.borderBottomLeftRadius="50%")}})),document.addEventListener("mouseup",(()=>{t=!1,A.parentNode.children.forEach((A=>{A.classList.remove("eventNode")}))}))}))}},translate:{mounted(A,e,t){A.addEventListener("mousedown",(e=>{e.stopPropagation();let t=A.parentNode.parentNode;A.style.left=(A.offsetLeft+2)/t.offsetWidth*100+"%",A.style.top=(A.offsetTop+2)/t.offsetHeight*100+"%";A.style.left&&A.style.left.replace(/%/g,""),A.style.top&&A.style.top.replace(/%/g,"");let n=e.offsetX,i=e.offsetY,r=e.clientX-e.offsetX-A.offsetLeft,o=e.clientY-e.offsetY-A.offsetTop,s=!0;document.onmousemove=function(e){if(s){let s=(e.x-n+2-r)/t.offsetWidth*100+"%",a=(e.y-i+2-o)/t.offsetHeight*100+"%";A.style.left=s,A.style.top=a,A.previousSibling.style.top=a,A.previousSibling.style.left=s,t.firstChild.style.top=a,t.firstChild.style.left=s,A.offsetLeft<=0&&(A.style.left="0%",A.previousSibling.style.left="0%",t.firstChild.style.left="0%"),A.offsetTop<=0&&(A.style.top="0%",A.previousSibling.style.top="0%",t.firstChild.style.top="0%"),A.style.left.replace(/%/g,"")>=100&&(A.style.left="100%",A.previousSibling.style.left="100%",t.firstChild.style.left="100%"),A.style.top.replace(/%/g,"")>=100&&(A.style.top="100%",A.previousSibling.style.top="100%",t.firstChild.style.top="100%")}},document.onmouseup=function(){s=!1}}))}},modelImg:{mounted(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")},updated(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")}}},methods:{init(){let A=this.$parent;A=A.layoutList,this.layout=!0,this.layoutList.forEach((A=>{A.setPitch=!1})),this.layoutList=A,this.moodbList=this.moodb[A.length-1],this.moodbClassName=this.moodb_className},cancelDsign(){this.layout=!1},setpitch(A,e){this.layoutList.forEach((A=>{A.setPitch=!1})),A.setPitch=!0,this.content&&(this.content[e].style.zIndex=VA.zIndex++)},setmoodb(A){if(this.moodbClassName=A,this.$emit("setmoodbClass",this.moodbClassName),this.content)for(A of this.content)A.classList.remove("active"),A.style.top="",A.style.left="",A.style.right="",A.style.bottom="",A.style.width="",A.style.height=""},changeTemplateModal(){this.layout=!this.layout},submitTemplate(){this.loadingShow=!0,this.layoutList.forEach((A=>{A.setPitch=!1})),(0,n.Y3)().then((async()=>{let A=document.getElementById("layoutCentent"),e=await ai(A),t=new FormData;t.append("inPin","0"),t.append("level1Type","Moodboard"),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",e);let n={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};PA.V.axiosPost(PA.V.httpUrls.elementUpload,t,n).then((A=>{A.imgUrl=A.url,this.layout=!1,this.loadingShow=!1,this.store.commit("setDisposeMoodboard",A)})).catch((A=>{this.loadingShow=!1}))}))},beforeUpload(){}}});const ci=(0,oe.Z)(li,[["render",Ai]]);var di=ci,ui=(0,n.aZ)({components:{Material:gn,MoodTemplate:Fn,Generate:ct,layout:di},setup(){const A=(0,RA.oR)();let e=(0,X.iH)([]),t=(0,X.iH)([]),i=(0,X.iH)([]),r=(0,X.iH)(!1),o=(0,X.iH)([]),s=(0,X.iH)(1),a=(0,X.iH)([]),l=(0,X.iH)(!1),c=[],d=(0,X.iH)(!1),u=(0,X.iH)(!1),h=(0,n.Fl)((()=>A.state.UploadFilesModule.disposeMoodboard)),g=(0,n.Fl)((()=>A.state.Guide.guide)),p=(0,X.iH)([]),f=(0,X.iH)(),{t:m}=(0,st.QT)();return{fileList:t,showFileList:i,lessenList:e,templateModal:r,templateFileList:o,openClick:s,moodb_className:a,flex_direction:l,layoutList:c,layoutOpen:d,loadingShow:u,modalImg:h,driverIndex:g,uploading:p,edieShow:f,t:m}},data(){return{indicator:(0,n.h)(TA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:"Moodboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",moodTemplateId:"",store:(0,RA.oR)(),moodb_:ei.moodb_,moodboarList:(0,n.Fl)((()=>(0,RA.oR)().state.UploadFilesModule.moodboard))}},mounted(){this.token=(0,GA.ej)("token")||"",this.uploadUrl=(0,zA.M$)()},watch:{fileList:{handler(A,e){}},driverIndex:{handler(A,e){A.index>=1&&A.index<=2&&this.open(A.index)}}},directives:{modelImg:{mounted(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")},updated(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")}}},methods:{open(A){if(this.openClick=A,2==A){let A=this.$refs.Material;A.init("Moodboard")}else 3==A&&nt.moveNext()},fileUploadChange(A){let e=A.file;if("done"===e.status){let A=JSON.parse(e.xhr.response);e.imgUrl=A.data.url,e.resData=A.data,e.type_={type1:"upload",type2:"Moodboard"},e.id_=VA.id++;let t=this.fileList.filter((A=>"done"===A.status)),n=this.store.state.UploadFilesModule.moodboard;n.length>=8?KA.ZP.info(this.t("MoodboardUpload.jsContent1")):this.store.commit("setMoodboardFile",t)}else if("error"===e.status){let A=-1;this.fileList.forEach(((t,n)=>{e.uid===t.uid&&(A=n)})),A>-1&&this.fileList.splice(A,1),KA.ZP.warning(e.name+this.t("MoodboardUpload.jsContent2"))}},beforeUpload(A){const e="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;e||KA.ZP.info(this.t("MoodboardUpload.jsContent3"));const t=A.size/1024/1024<2;return t||KA.ZP.info(this.t("MoodboardUpload.jsContent4")),e&&t||NA.Z.LIST_IGNORE},deleteFile(A){if("generate"==A.type_.type1||"material"==A.type_.type1)this.store.commit("addGenerateMaterialFils",A);else{let e;this.fileList=this.store.state.UploadFilesModule.moodboardFiles,this.store.state.UploadFilesModule.moodboardFiles.forEach(((t,n)=>{t.id_==A.id_&&(e=n)})),this.fileList.splice(e,1),this.store.commit("setMoodboardFile",this.fileList)}0==this.store.state.UploadFilesModule.moodboard.length&&(this.store.commit("clearMoodTemplateId"),this.layoutList=[],this.edieShow=!1)},recollection(){let A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.moodboardFiles)),e=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.disposeMoodboard)),t={generate:[],material:[],moodboard:[]};A.forEach((A=>{"generate"==A.type_.type1?t.generate.push(A):"material"==A.type_.type1?t.material.push(A):t.moodboard.push(A)})),this.store.commit("setMoodboardGenerateFiles",t.generate),this.store.commit("setMoodboardMaterialFiles",t.material),this.store.commit("setMoodboardFile",t.moodboard),this.store.commit("setDisposeMoodboard",e[0]),this.fileList=t.moodboard},changeTemplateModal(){if(this.modalImg[0]?.id){let A=this.$refs.layout;A.init()}else KA.ZP.info(this.t("MoodboardUpload.jsContent5"))},layout(){this.loadingShow=!0,this.edieShow=!0,this.store.commit("setDisposeMoodboard",[]);let A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.moodboard));this.layoutList=A;var e=Math.round(Math.random()*(this.moodb_[A.length-1].length-1));let t=this.moodb_[A.length-1][e];0!=t.filter(((A,e)=>"w2h1"==A)).length&&A.length>4?this.flex_direction=!0:this.flex_direction=!1,1==this.moodb_[A.length-1].length||JSON.stringify(this.moodb_className)!=JSON.stringify(this.moodb_[A.length-1][e])?(2==this.moodb_[A.length-1].length?this.moodb_className=this.moodb_[A.length-1][0]:this.moodb_className=this.moodb_[A.length-1][e],this.layoutOpen=!0,this.layoutList.forEach((A=>{A.setPitch=!1})),(0,n.Y3)().then((async()=>{let A=document.getElementById("modal_img"),e=await ai(A),t=new FormData;t.append("inPin","0"),t.append("level1Type","Moodboard"),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",e);let n={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};PA.V.axiosPost(PA.V.httpUrls.elementUpload,t,n).then((A=>{let e=A;e.imgUrl=A.url,e.resData=JSON.parse(JSON.stringify(e)),this.store.commit("setDisposeMoodboard",e),this.loadingShow=!1})).catch((A=>{this.loadingShow=!1}))}))):this.layout()},setmoodbClass(A){this.moodb_className=A}}});const hi=(0,oe.Z)(ui,[["render",Rt],["__scopeId","data-v-73934f18"]]);var gi=hi;const pi=A=>((0,n.dD)("data-v-ffc729cc"),A=A(),(0,n.Cn)(),A),fi={class:"printboard_upload_modal"},mi={class:"printboard_left_upload"},Bi={class:"left_upload_header"},wi={class:"upload_header_item"},vi={class:"switch_type_list"},Ci={class:"printboard_body"},bi={class:"upload_img_body"},yi={class:"upload_item"},_i={class:"upload_file_img_block"},Qi={class:"upload_file_item_content"},Ui={class:"upload_file_item_content"},Fi=["onClick"],xi=pi((()=>(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1))),Ei=[xi],ki={class:"pin_block"},Ii={class:"upload_file_item upload_component"},Si={class:"upload_tip_block"},Hi=pi((()=>(0,n._)("i",{class:"fi fi-br-upload"},null,-1))),Di=[Hi],Li={class:"upload_max_tip"},Oi=pi((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1))),Mi={class:"modal_right"},Ti={class:"modal_layout"},Ki={class:"modal_text"},Ni={class:"modal_img"},Pi=["onClick"],Ri=pi((()=>(0,n._)("div",{class:"checked"},[(0,n._)("i",{class:"fi fi-rr-trash"})],-1))),Vi={class:"modal_accomplish"},Gi=["maxlength","readonly","placeholder"],zi={class:"modal_img"},ji=["src","onClick"],Zi={class:"delete_like_file_block"},Wi=["onClick"],Xi=["onClick"],Yi={class:"pin_block"},Ji={class:"mark_loading"};function $i(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-checkbox"),d=(0,n.up)("a-upload"),u=(0,n.up)("Material"),h=(0,n.up)("Generate"),g=(0,n.up)("Cropper"),p=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",fi,[(0,n._)("div",mi,[(0,n._)("div",Bi,[(0,n._)("div",wi,[(0,n._)("div",vi,[(0,n._)("div",{onClick:e[0]||(e[0]=(0,o.iM)((e=>A.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Upload")),1)],2),(0,n._)("div",{onClick:e[1]||(e[1]=(0,o.iM)((e=>A.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Library")),1)],2),(0,n._)("div",{onClick:e[2]||(e[2]=(0,o.iM)((e=>A.open(3)),["stop"])),class:(0,r.C_)(["switch_type_item",[3==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Generate")),1)],2)])])]),(0,n.wy)((0,n._)("div",Ci,[(0,n._)("div",bi,[(0,n._)("div",yi,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["upload_file_item"]),key:e},[(0,n._)("div",_i,[(0,n.wy)((0,n._)("div",Qi,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",Ui,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("img",{class:"upload_img",key:e.imgUrl})),[[p,e.imgUrl]]),(0,n._)("div",{class:"delete_like_file_block",onClick:(0,o.iM)((t=>A.deleteFile(e)),["stop"])},Ei,8,Fi)],512),[[o.F8,"done"===e?.status]])]),(0,n.wy)((0,n._)("div",ki,[(0,n.Wm)(c,{checked:e.pin,"onUpdate:checked":A=>e.pin=A},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.$t("PrintboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])],512),[[o.F8,"done"===e?.status]])])))),128)),(0,n.wy)((0,n._)("div",Ii,[(0,n.Wm)(d,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card","before-upload":A.beforeUpload,data:{...A.upload},headers:{Authorization:A.token},"file-list":A.fileList,"onUpdate:file-list":e[3]||(e[3]=e=>A.fileList=e),customRequest:function(){},multiple:"",maxCount:8-A.printboardList.length+A.fileList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:A.fileUploadChange},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",Si,Di,512),[[o.F8,A.printboardList.length<8]])])),_:1},8,["action","before-upload","data","headers","file-list","customRequest","maxCount","onChange"])],512),[[o.F8,A.printboardList.length<8]])])]),(0,n._)("div",Li,[Oi,(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Maximum")),1)])],512),[[o.F8,1==A.openClick]]),(0,n.wy)((0,n.Wm)(u,{ref:"Material",msg:"Printboard",onConfirmSelect:A.confirmSelect},null,8,["onConfirmSelect"]),[[o.F8,2==A.openClick]]),(0,n.wy)((0,n.Wm)(h,{ref:"Generate",msg:"Printboard",onGenerateCheckbox:A.getgenerateCheckbox},null,8,["onGenerateCheckbox"]),[[o.F8,3==A.openClick]])]),(0,n._)("div",Mi,[(0,n._)("div",Ti,[(0,n._)("div",Ki,[(0,n._)("div",null,(0,r.zw)(A.$t("PrintboardUpload.Thumbnail")),1)]),(0,n._)("div",Ni,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.printboardList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:e,onClick:(0,o.iM)((t=>A.deleteFile(e)),["stop"])},[(0,n.wy)((0,n._)("img",null,null,512),[[p,e.imgUrl]]),Ri],8,Pi)))),128))])]),(0,n.wy)((0,n._)("div",Vi,[(0,n._)("div",{class:(0,r.C_)(["input_box",{active:A.inputShow}])},[(0,n.wy)((0,n._)("input",{class:(0,r.C_)(["search_input",{forbidden:A.generateCheckbox}]),onInput:e[4]||(e[4]=(...e)=>A.ifMaximumLength&&A.ifMaximumLength(...e)),onKeydown:e[5]||(e[5]=(0,o.D2)(((...e)=>A.getgenerate&&A.getgenerate(...e)),["enter"])),maxlength:A.inputShow?0:9999,readonly:A.generateCheckbox,placeholder:A.$t("PrintboardUpload.inputContent1"),"onUpdate:modelValue":e[6]||(e[6]=e=>A.captionGeneration=e)},null,42,Gi),[[o.nr,A.captionGeneration]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:e[7]||(e[7]=(0,o.iM)(((...e)=>A.getgenerate&&A.getgenerate(...e)),["stop"]))},(0,r.zw)(A.$t("PrintboardUpload.Generate")),1),(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.maximumLength")),1)],2),(0,n._)("div",zi,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.generateList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["modal_imgItem",{active:e?.checked}])},[(0,n._)("img",{src:e.imgUrl,onClick:(0,o.iM)((t=>A.generageAdd(e)),["stop"])},null,8,ji),(0,n._)("div",Zi,[e.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,o.iM)((t=>A.likeFile(e,"noLike")),["stop"])},null,8,Xi)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,o.iM)((t=>A.likeFile(e,"like")),["stop"])},null,8,Wi))]),(0,n._)("div",Yi,[(0,n.Wm)(c,{checked:e.pin,"onUpdate:checked":A=>e.pin=A},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.$t("PrintboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])])],2)))),256))]),(0,n.wy)((0,n._)("div",Ji,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]])],512),[[o.F8,3==A.openClick]])]),(0,n.Wm)(g,{ref:"Cropper",onHandleCropperSuccess:A.handleCropperSuccess,onCloseCropper:e[8]||(e[8]=e=>A.deletUploadFile()),cropperFileData:A.cropperFileData,isUpload:A.isUpload},null,8,["onHandleCropperSuccess","cropperFileData","isUpload"])])}const qi=A=>((0,n.dD)("data-v-4867d1ff"),A=A(),(0,n.Cn)(),A),Ar={class:"collection_title"},er={class:"collection_title_text"},tr={class:"collection_modal_body"},nr={class:"cut_picture_left"},ir={class:"cut_picture_body"},rr={class:"cur_picture_opterate"},or=qi((()=>(0,n._)("span",{class:"icon iconfont icon-chexiao operate_icon"},null,-1))),sr=[or],ar=qi((()=>(0,n._)("span",{class:"icon iconfont icon-chexiao operate_icon icon_chexiao_sec"},null,-1))),lr=[ar],cr=qi((()=>(0,n._)("span",{class:"operate_icon icon_font"},"-",-1))),dr=[cr],ur=qi((()=>(0,n._)("span",{class:"operate_icon icon_font"},"+",-1))),hr=[ur],gr=qi((()=>(0,n._)("span",{class:"icon iconfont icon-shuaxin operate_icon"},null,-1))),pr=[gr],fr={class:"cut_picture_right"},mr={class:"cur_picture_right_header"},Br=qi((()=>(0,n._)("div",{class:"review_logo icon iconfont icon-yulan"},null,-1))),wr={class:"cut_picture_review_block"},vr={class:"cut_picture_review_item"},Cr=["src"];function br(A,e,t,i,s,a){const l=(0,n.up)("VueCropper"),c=(0,n.up)("a-modal");return(0,n.wg)(),(0,n.j4)(c,{class:"modal_component cut_pricture_modal",visible:A.cutPicuterModal,"onUpdate:visible":e[8]||(e[8]=e=>A.cutPicuterModal=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1},{default:(0,n.w5)((()=>[(0,n._)("div",Ar,[(0,n._)("div",er,[(0,n._)("div",null,(0,r.zw)(A.$t("Cropper.Cutpicture")),1)]),(0,n._)("div",{class:"header_right_block",onClick:e[2]||(e[2]=(0,o.iM)((()=>{}),["stop"]))},[(0,n._)("div",{class:"next_step_button",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.finishCropper()),["stop"]))},(0,r.zw)(A.$t("Cropper.Finish")),1),(0,n._)("div",{class:"header_cancel_button",onClick:e[1]||(e[1]=(0,o.iM)((e=>A.cancleCropper()),["stop"]))},(0,r.zw)(A.$t("Cropper.Cancel")),1)])]),(0,n._)("div",tr,[(0,n._)("div",nr,[(0,n._)("div",ir,[(0,n.Wm)(l,{ref:"cropper",original:A.option.original,img:A.option.img,outputSize:A.option.size,outputType:A.option.outputType,"auto-crop":A.option.autoCrop,"auto-crop-width":A.option.autoCropWidth,"auto-crop-height":A.option.autoCropHeight,"center-box":A.option.centerBox,"can-move":A.option.canMove,"can-move-box":A.option.canMoveBox,onRealTime:A.realTime},null,8,["original","img","outputSize","outputType","auto-crop","auto-crop-width","auto-crop-height","center-box","can-move","can-move-box","onRealTime"])]),(0,n._)("div",rr,[(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[3]||(e[3]=e=>A.rotateLeft())},sr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[4]||(e[4]=e=>A.rotateRight())},lr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[5]||(e[5]=e=>A.changeScale(-1))},dr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[6]||(e[6]=e=>A.changeScale(1))},hr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[7]||(e[7]=e=>A.refreshCrop())},pr)])]),(0,n._)("div",fr,[(0,n._)("div",mr,[Br,(0,n._)("div",null,(0,r.zw)(A.$t("Cropper.CropPreview")),1)]),(0,n._)("div",wr,[(0,n._)("div",vr,[(0,n._)("div",{class:"cut_picture_review_content",style:(0,r.j5)({width:A.previews.w+"px",height:A.previews.h+"px",overflow:"hidden"})},[(0,n._)("div",{style:(0,r.j5)(A.previews.div)},[(0,n._)("img",{class:"previews_image",style:(0,r.j5)(A.previews.img),src:A.previews.url},null,12,Cr)],4)],4)])])])])])),_:1},8,["visible"])}var yr=t(2323),_r=(0,n.aZ)({props:["cropperFileData","isUpload"],components:{VueCropper:yr.AK},data(){return{cutPicuterModal:!1,option:{original:!1,img:"",size:1,full:!1,outputType:"png",autoCrop:!0,autoCropWidth:360,autoCropHeight:360,max:99999,centerBox:!0,canMove:!0,canMoveBox:!0},previews:{}}},methods:{rotateLeft(){let A=this.$refs.cropper;A.rotateLeft()},rotateRight(){let A=this.$refs.cropper;A.rotateRight()},refreshCrop(){let A=this.$refs.cropper;A.refresh()},changeScale(A){A=A||1;let e=this.$refs.cropper;e.changeScale(A)},realTime(A){this.previews=A},getOptionImg(A){this.option.img=A},changeShowModal(A){this.cutPicuterModal=A},finishCropper(){let A=this.$refs.cropper;A.getCropData((A=>{let e=(0,zA._x)(A,this.cropperFileData.name);this.$emit("handleCropperSuccess",{file:e,fileData:this.cropperFileData})}))},closeCropper(){this.cutPicuterModal=!1,this.option.img=""},cancleCropper(){this.cutPicuterModal=!1,this.option.img="",this.$emit("closeCropper")}}});const Qr=(0,oe.Z)(_r,[["render",br],["__scopeId","data-v-4867d1ff"]]);var Ur=Qr,Fr=(0,n.aZ)({components:{Cropper:Ur,Material:gn,Generate:ct},setup(){let A=(0,RA.oR)(),e=(0,X.iH)([]),t=(0,X.iH)([]),i=(0,n.Fl)((()=>A.state.UploadFilesModule.moodboard)),r=(0,n.Fl)((()=>A.state.UploadFilesModule.printboard)),o=(0,X.iH)(1),s=(0,X.iH)(),a=(0,X.iH)([]),l=(0,X.iH)(!1),c=(0,X.iH)(!1),d=(0,X.iH)(),{t:u}=(0,st.QT)(),h=(0,X.iH)();return{fileList:e,printImgList:t,moodBoards:i,printBoards:r,openClick:o,generateCheckbox:s,generateList:a,loadingShow:l,inputShow:c,inputTime:d,t:u,isTest:h}},computed:{getPinLength(){let A=0;for(let e of this.printBoards)e.pin&&A++;return A}},data(){return{swtich_type:"upload",indicator:(0,n.h)(TA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:"Printboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",store:(0,RA.oR)(),cropperFileData:{name:"",uid:""},currentFileNum:0,isUpload:!1,captionGeneration:"",printboardList:(0,n.Fl)((()=>(0,RA.oR)().state.UploadFilesModule.printboard))}},mounted(){this.token=(0,GA.ej)("token")||"";let A=(0,GA.ej)("isTest");this.isTest=JSON.parse(A)||"",this.uploadUrl=(0,zA.M$)()},methods:{open(A){this.openClick=A;let e=this.$refs.Material;2==A&&e.init("Printboard")},fileUploadChange(A){let e=A.file;e.id_=VA.id++,e.type_={type1:"upload",type2:"Printboard"},e.pin=!1;let t=this.$refs.Cropper;if(1===this.currentFileNum){var n=new FileReader;n.onload=A=>{let e;e="object"===typeof A.target.result?window.URL.createObjectURL(new Blob([A.target.result])):A.target.result,t.getOptionImg(e)},n.readAsArrayBuffer(e.originFileObj),this.cropperFileData=e,t.changeShowModal(!0)}else this.customRequest(e)},beforeUpload(A,e){const t="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;t||KA.ZP.info(this.t("PrintboardUpload.jsContent1"));const n=A.size/1024/1024<2;if(n||KA.ZP.info(this.t("PrintboardUpload.jsContent2")),!t||!n)return t&&n||NA.Z.LIST_IGNORE;this.currentFileNum=e.length},deleteFile(A){if("generate"==A.type_.type1||"material"==A.type_.type1)this.store.commit("addGenerateMaterialFils",A);else{let e;this.fileList=this.store.state.UploadFilesModule.printboardFiles,this.store.state.UploadFilesModule.printboardFiles.forEach(((t,n)=>{t.id_==A.id_&&(e=n)})),this.fileList.splice(e,1),this.store.commit("setPrintboardFile",this.fileList)}},likeFile(A,e){if("like"==e){let e={generateDetailId:A.id,level1Type:"Printboard",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};PA.V.axiosPost(PA.V.httpUrls.generateLike,e).then((e=>{A.like=!0})).catch((A=>{}))}else{let e={generateDetailId:A.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};PA.V.axiosGet(PA.V.httpUrls.generateDislike,{params:e}).then((e=>{A.like=!1})).catch((A=>{}))}},customRequest(A){let e={...this.upload,file:A.originFileObj},t=A.uid;PA.V.axiosPost("/api/element/upload",e,{headers:{"Content-Type":"multipart/form-data"}}).then((A=>{if(A){for(let n of this.fileList)t===n.uid&&(n.status="done",n.imgUrl=A.url,n.pin=!1,n.id=A.id,n.resData=A);let e=this.fileList.filter((A=>"done"===A.status));this.store.commit("setPrintboardFile",e)}})).catch((A=>{let e=-1;this.fileList.forEach(((A,n)=>{t===A.uid&&(e=n)})),e>-1&&this.fileList.splice(e,1)}))},closeCropper(A){if(this.isUpload)return;if("error"==A){let A=-1;this.fileList.forEach(((e,t)=>{this.cropperFileData.uid===e.uid&&(A=t)})),A>-1&&this.fileList.splice(A,1)}let e=this.$refs.Cropper;e.closeCropper()},deletUploadFile(){let A=-1;this.fileList.forEach(((e,t)=>{this.cropperFileData.uid===e.uid&&(A=t)})),A>-1&&this.fileList.splice(A,1)},handleCropperSuccess(A){let{file:e,fileData:t}=A,n={...this.upload,file:e};if(this.isUpload)return;this.isUpload=!0;const i=KA.ZP.loading("loading",0);PA.V.axiosPost("/api/element/upload",n,{headers:{"Content-Type":"multipart/form-data"}}).then((A=>{for(let n of this.fileList)t.uid===n.uid&&(n.status="done",n.imgUrl=A.url,n.id=A.id,n.resData=A);let e=this.fileList.filter((A=>"done"===A.status));this.isUpload=!1,this.closeCropper("success"),this.cropperFileData={name:"",uid:""},this.store.commit("setPrintboardFile",e),i()})).catch((A=>{let e=-1;this.fileList.forEach(((A,n)=>{t.uid===A.uid&&(e=n)})),e>-1&&this.fileList.splice(e,1),this.cropperFileData={name:"",uid:""},this.isUpload=!1,this.closeCropper("error"),i()}))},recollection(){let A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.printboardFiles)),e={generate:[],material:[],moodboard:[]};A.forEach((A=>{"generate"==A.type_.type1?e.generate.push(A):"material"==A.type_.type1?e.material.push(A):e.moodboard.push(A)})),this.store.commit("setPrintboardGenerateFiles",e.generate),this.store.commit("setPrintboardMaterialFiles",e.material),this.store.commit("setPrintboardFile",e.moodboard),this.fileList=e.moodboard,this.store.commit("setPrintboardFile",this.fileList)},confirmSelect(A){for(let e of A){let A={imgUrl:e.url,resData:e,pin:!1,id:e.id,status:"done"};if(15==this.fileList.length){KA.ZP.warning(this.t("PrintboardUpload.jsContent3"));break}this.fileList.push(A)}this.store.commit("setPrintboardFile",this.fileList)},getgenerateCheckbox(A){this.generateCheckbox=A},ifMaximumLength(){clearTimeout(this.inputTime),this.inputTime=setTimeout((()=>{this.captionGeneration?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},getgenerate(){if(this.isTest)return void KA.ZP.warning(this.t("isTest.available"));let A=this.$refs.Generate,e=A.checkbox.filter((A=>A.type))[0].name;if("Generate"==A.printModel.num)return void this.generatePrint();let t={generateType:e,designType:"",collectionElementId:A?.collectionElementid,level1Type:A.upload.level1Type,level2Type:"",text:this.captionGeneration,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:A.printModel.num,gender:""};if("image"==e||"text-image"==e){if(!A?.collectionElementid)return void KA.ZP.info(this.t("PrintboardUpload.jsContent4"))}else if("text"==e){if(t.collectionElementId="",t.level2Type="",!this.captionGeneration)return void KA.ZP.info(this.t("PrintboardUpload.jsContent6"));{let A=this.captionGeneration.split(/\s+/).length;if(A>75)return void KA.ZP.info(this.t("PrintboardUpload.jsContent5"))}}this.loadingShow=!0,PA.V.axiosPost(PA.V.httpUrls.sketchAndPrintGenerate,t).then((A=>{if(A){let e;this.generateList=[],A.generatedCollectionItems.forEach(((t,n)=>{e={id:t.generateItemId,imgUrl:t.generateItemUrl,id_:VA.id++,like:A.generatedCollectionItems[n].isLiked},this.generateList.push(e),this.loadingShow=!1}))}})).catch((A=>{this.loadingShow=!1}))},randomRange(A,e,t){let n=Math.floor(Math.random()*(e-A))+A;while(n===t)n=Math.floor(Math.random()*(e-A))+A;return n},generatePrint(){let A={};if(this.moodBoards.length){let e=this.randomRange(0,this.moodBoards.length,-1),t=-2;if(this.getPinLength)if(1===this.getPinLength)this.printBoards.forEach(((A,e)=>{A.pin&&(t=e)}));else{let A=[];this.printBoards.forEach(((e,t)=>{e.pin&&A.push(t)})),t=this.randomRange(0,A.length,-1)}else t=this.randomRange(0,this.printBoards.length,-1);A={select1Id:this.moodBoards[e].resData.id,select2Id:this.printBoards[t].id}}else{let e=-1,t=-2;if(this.getPinLength)if(1===this.getPinLength)this.printBoards.forEach(((A,t)=>{A.pin&&(e=t)})),t=this.randomRange(0,this.printBoards.length,e);else{let A=[];this.printBoards.forEach(((e,t)=>{e.pin&&A.push(t)})),e=this.randomRange(0,A.length,-1),t=this.randomRange(0,this.printBoards.length,A[e])}else e=this.randomRange(0,this.printBoards.length,-1),t=this.randomRange(0,this.printBoards.length,e);A={select1Id:this.printBoards[e].id,select2Id:this.printBoards[t].id}}A.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.loadingShow=!0,PA.V.axiosPost(PA.V.httpUrls.elementGeneratePrint,A).then((A=>{if(A){this.generateList=[];let e={id:A.generateItemId,imgUrl:A.generateItemUrl,id_:VA.id++,like:A.isLiked};this.generateList.push(e),this.loadingShow=!1}})).catch((A=>{this.loadingShow=!1}))},generageAdd(A){A.type_={type1:"generate",type2:"Printboard"},A.resData=JSON.parse(JSON.stringify(A)),this.store.commit("addGenerateMaterialFils",A)}}});const xr=(0,oe.Z)(Fr,[["render",$i],["__scopeId","data-v-ffc729cc"]]);var Er=xr;const kr={class:"colorboard_upload_modal"},Ir={class:"modal_layout"},Sr={class:"modal_text"},Hr={class:"modal_img"},Dr=["onClick"],Lr={class:"colorboard_upload_right"},Or={class:"upload_right_content"},Mr={class:"right_content_line"},Tr={class:"upload_right_header"},Kr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),Nr={class:"color_setting_block"},Pr={class:"color_block"},Rr={class:"color_right"},Vr={class:"color_HEX_block"},Gr={class:"color_rgb_block"},zr={class:"rgb_item"},jr={class:"rgb_item"},Zr={class:"rgb_item"},Wr={class:"right_content_line right_content_line_upload"},Xr={class:"upload_right_header"},Yr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),Jr={class:"upload_centetn"},$r={class:"upload_item"},qr={class:"upload_file_item_content"},Ao={class:"upload_file_item_content"},eo=["src"],to=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-rr-picture"})],-1),no={class:"upload_color"},io=["onClick"],ro=["title"],oo={class:"right_content_line"},so={class:"upload_right_header"},ao=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),lo={class:"get_color_block"},co=(0,n._)("span",{class:"icon iconfont icon-huoquduixiang"},null,-1),uo={class:"get_color_des"},ho=["title"];function go(A,e,t,i,s,a){const l=(0,n.up)("Sketch"),c=(0,n.up)("a-spin"),d=(0,n.up)("a-upload");return(0,n.wg)(),(0,n.iD)("div",kr,[(0,n._)("div",Ir,[(0,n._)("div",Sr,[(0,n._)("div",null,(0,r.zw)(A.$t("ColorboardUpload.Thumbnail")),1)]),(0,n._)("div",Hr,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.colorList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:e},[(0,n._)("div",{onClick:n=>A.selectColorItem(t,e),class:(0,r.C_)(["upload_color",A.selectIndex===t?"select_upload_color":""]),style:(0,r.j5)({background:`rgba(${e?.r},${e?.g},${e?.b},${e?.a})`})},null,14,Dr)])))),128)),(0,n._)("div",null,[(0,n._)("span",{class:"started_btn",onClick:e[0]||(e[0]=(...e)=>A.clearCurrentColor&&A.clearCurrentColor(...e))},(0,r.zw)(A.$t("ColorboardUpload.Clear")),1)])])]),(0,n._)("div",Lr,[(0,n._)("div",Or,[(0,n._)("div",Mr,[(0,n._)("div",Tr,[Kr,(0,n._)("span",null,(0,r.zw)(A.$t("ColorboardUpload.Palette")),1)]),(0,n._)("div",Nr,[(0,n.Wm)(l,{class:"sketch_color",modelValue:A.selectColor,"onUpdate:modelValue":e[1]||(e[1]=e=>A.selectColor=e),show:A.colorPickerVisible},null,8,["modelValue","show"]),(0,n._)("div",Pr,[(0,n._)("div",{class:"color_left",onClick:e[2]||(e[2]=e=>A.colorBlockHex=!A.colorBlockHex)},[(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("ColorboardUpload.HEX")),513),[[o.F8,A.colorBlockHex]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("ColorboardUpload.RGBA")),513),[[o.F8,!A.colorBlockHex]])]),(0,n._)("div",Rr,[(0,n.wy)((0,n._)("div",Vr,[(0,n._)("div",{class:"color_block_bg",style:(0,r.j5)({"background-color":`rgba(${A.getSelectRGB(A.selectColor).r},${A.getSelectRGB(A.selectColor).g},${A.getSelectRGB(A.selectColor).b},${A.getSelectRGB(A.selectColor).a})`})},null,4),(0,n._)("div",null,(0,r.zw)(A.getSelectRGB(A.selectColor).hex),1)],512),[[o.F8,A.colorBlockHex]]),(0,n.wy)((0,n._)("div",Gr,[(0,n._)("div",{class:"color_block_bg",style:(0,r.j5)({"background-color":`rgba(${A.getSelectRGB(A.selectColor).r},${A.getSelectRGB(A.selectColor).g},${A.getSelectRGB(A.selectColor).b},${A.getSelectRGB(A.selectColor).a})`})},null,4),(0,n._)("div",zr,(0,r.zw)(A.getSelectRGB(A.selectColor).r)+",",1),(0,n._)("div",jr,(0,r.zw)(A.getSelectRGB(A.selectColor).g)+",",1),(0,n._)("div",Zr,(0,r.zw)(A.getSelectRGB(A.selectColor).b),1)],512),[[o.F8,!A.colorBlockHex]])])])])]),(0,n._)("div",Wr,[(0,n._)("div",Xr,[Yr,(0,n._)("span",null,(0,r.zw)(A.$t("ColorboardUpload.UploadImage")),1)]),(0,n._)("div",Jr,[(0,n._)("div",$r,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:t},[(0,n.wy)((0,n._)("div",qr,[(0,n.Wm)(c,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"done"!==t.status]]),(0,n.wy)((0,n._)("div",Ao,[(0,n._)("img",{src:t?.imgUrl,class:"upload_img",ref_for:!0,ref:"colorImage"},null,8,eo),(0,n._)("div",{class:"delete_file_block",onClick:e[3]||(e[3]=e=>A.deleteFile(A.index))},"Delete")],512),[[o.F8,"done"===t.status]])])))),128)),(0,n.wy)((0,n.Wm)(d,{"list-type":"picture-card",customRequest:function(){},onChange:A.fileUploadChange,"before-upload":A.beforeUpload,accept:".jpg,.png,.jpeg,.bmp"},{default:(0,n.w5)((()=>[to])),_:1},8,["customRequest","onChange","before-upload"]),[[o.F8,A.fileList.length<1]])]),(0,n._)("div",no,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.selectColorList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,onClick:t=>A.setUplpadColor(e),class:"upload_color_item"},[(0,n._)("div",{class:"upload_color_item_bg",style:(0,r.j5)({"background-color":`rgba(${e.rgba.r},${e.rgba.g},${e.rgba.b},${e.rgba.a})`})},null,4),(0,n._)("img",{src:"#",title:A.pantongNameList[t]},null,8,ro)],8,io)))),128))])])]),(0,n._)("div",oo,[(0,n._)("div",so,[ao,(0,n._)("span",null,(0,r.zw)(A.$t("ColorboardUpload.ColorCode")),1)]),(0,n._)("div",lo,[(0,n.wy)((0,n._)("input",{class:"get_color_input",placeholder:"tcx value (e.g.: 19-4052)","onUpdate:modelValue":e[4]||(e[4]=e=>A.tcxColor=e),onKeydown:e[5]||(e[5]=(0,o.D2)((e=>A.getTcxColor()),["enter"]))},null,544),[[o.nr,A.tcxColor]]),(0,n._)("div",{class:"get_color_button",onClick:e[6]||(e[6]=e=>A.getTcxColor())},[co,(0,n._)("span",uo,(0,r.zw)(A.$t("ColorboardUpload.ExtractColor")),1)]),(0,n.wy)((0,n._)("div",{class:"get_color_bg",onClick:e[7]||(e[7]=e=>A.setUplpadColor(A.reviewColor)),style:(0,r.j5)({"background-color":`rgba(${A.getSelectRGB(A.reviewColor).r},${A.getSelectRGB(A.reviewColor).g},${A.getSelectRGB(A.reviewColor).b},${A.getSelectRGB(A.reviewColor).a})`})},[(0,n._)("img",{src:"#",title:A.pantongName},null,8,ho)],4),[[o.F8,A.getColorBg]])])])])])])}var po=t(1125),fo=t(6243),mo=t.n(fo);t(1703);function Bo(A,e,t){const n=A,i=[];for(let r,o,s,a,l,c=0;c<e;c+=t)r=4*c,o=n[r+0],s=n[r+1],a=n[r+2],l=n[r+3],("undefined"===typeof l||l>=125)&&(o>250&&s>250&&a>250||i.push([o,s,a]));return i}function wo(A){let{colorCount:e,quality:t}=A;if("undefined"!==typeof e&&Number.isInteger(e)){if(1===e)throw new Error("colorCount should be between 2 and 20. To get one color, call getColor() instead of getPalette()");e=Math.max(e,2),e=Math.min(e,20)}else e=10;return("undefined"===typeof t||!Number.isInteger(t)||t<1)&&(t=10),{colorCount:e,quality:t}}var vo={createPixelArray:Bo,validateOptions:wo};
/*
* Color Thief v2.3.2
* by Lokesh Dhakar - http://www.lokeshdhakar.com
*
* Thanks
* ------
* Nick Rabinowitz - For creating quantize.js.
* John Schulz - For clean up and optimization. @JFSIII
* Nathan Spady - For adding drag and drop support to the demo page.
*
* License
* -------
* Copyright Lokesh Dhakar
* Released under the MIT license
* https://raw.githubusercontent.com/lokesh/color-thief/master/LICENSE
*
* @license
*/
const Co=function(A){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.width=this.canvas.width=A.naturalWidth,this.height=this.canvas.height=A.naturalHeight,this.context.drawImage(A,0,0,this.width,this.height)};Co.prototype.getImageData=function(){return this.context.getImageData(0,0,this.width,this.height)};var bo=function(){};bo.prototype.getColor=function(A,e=10){const t=this.getPalette(A,5,e),n=t[0];return n},bo.prototype.getPalette=function(A,e,t){const n=vo.validateOptions({colorCount:e,quality:t}),i=new Co(A),r=i.getImageData(),o=i.width*i.height,s=vo.createPixelArray(r.data,o,n.quality),a=mo()(s,n.colorCount),l=a?a.palette():null;return l},bo.prototype.getColorFromUrl=function(A,e,t){const n=document.createElement("img");n.addEventListener("load",(()=>{const i=this.getPalette(n,5,t),r=i[0];e(r,A)})),n.src=A},bo.prototype.getImageData=function(A,e){let t=new XMLHttpRequest;t.open("GET",A,!0),t.responseType="arraybuffer",t.onload=function(){if(200==this.status){let A=new Uint8Array(this.response);i=A.length;let t=new Array(i);for(let e=0;e<A.length;e++)t[e]=String.fromCharCode(A[e]);let n=t.join(""),r=window.btoa(n);e("data:image/png;base64,"+r)}},t.send()},bo.prototype.getColorAsync=function(A,e,t){const n=this;this.getImageData(A,(function(A){const i=document.createElement("img");i.addEventListener("load",(function(){const A=n.getPalette(i,5,t),r=A[0];e(r,this)})),i.src=A}))};var yo=bo,_o=(0,n.aZ)({components:{Chrome:po.Chrome,Slider:po.Slider,Sketch:po.Sketch},setup(){let A=(0,X.iH)([]),e=[{},{},{},{},{},{},{},{}],t=(0,X.iH)({rgba:{}}),n=(0,X.iH)({}),{t:i}=(0,st.QT)();return{fileList:A,colorList:e,selectColor:t,selectColorList:n,t:i}},watch:{selectColor(A,e){this.colorList[this.selectIndex]=A.rgba;let t=this.colorList.filter((A=>A&&Object.keys(A).length));this.setColorboardList(t),this.clearSelectColor()}},computed:{getSelectRGB(A){return A=>{let e=A.rgba,t={r:e?.r,g:e?.g,b:e?.b,a:e?.a,hex:void 0==A.hex?"#FFFFFF":A.hex};return 1==t.a&&0==t.a||(t.hex=A.hex8?A.hex8:A.hex),t}}},data(){return{reviewColor:{},selectIndex:0,tcxColor:"",pantongName:"",pantongNameList:[],indicator:(0,n.h)(TA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:"Moodboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",store:(0,RA.oR)(),colorPickerVisible:!0,colorBlockHex:!0,getColorBg:!1}},mounted(){this.token=(0,GA.ej)("token")||"",this.uploadUrl=(0,zA.M$)();let A=document.getElementsByClassName("colorboard_upload_modal")[0].getElementsByClassName("vc-sketch-color-wrap")[0];A.addEventListener("click",(async()=>{try{const A=new EyeDropper,e=await A.open();let t=e.sRGBHex.replace("#","");const n=parseInt(t.substring(0,2),16),i=parseInt(t.substring(2,4),16),r=parseInt(t.substring(4,6),16);this.selectColor={rgba:{r:n,g:i,b:r,a:1},hex:e.sRGBHex}}catch(A){KA.ZP.info(this.t("ColorboardUpload.jsContent1"))}})),this.clearSelectColor()},methods:{clearSelectColor(){let A=document.getElementsByClassName("colorboard_upload_modal")[0].getElementsByClassName("color_block_bg")[0],e=document.getElementsByClassName("colorboard_upload_modal")[0].getElementsByClassName("color_block_bg")[1];this.selectColor?.rgba?.r||this.selectColor?.rgb?.r?(A.style.opacity=1,e.style.opacity=1):(A.style.opacity=0,e.style.opacity=0)},selectColorItem(A,e){let t;t=e?.r?this.rgbaToHex([e.r,e.g,e.b,e.a?e.a:1]):"#FFFFFF",this.selectIndex=A,this.tcxColor="",this.pantongName="",this.pantongNameList=[],this.reviewColor={},this.getColorBg=!1},getTcxColor(){if(!this.tcxColor)return;let A=/^\d{2}-\d{4}$/;A.test(this.tcxColor)?PA.V.axiosGet(PA.V.httpUrls.getRgbByTcx+"?tcx="+this.tcxColor).then((A=>{if(A&&A.name){let e=this.rgbaToHex([A.r,A.g,A.b,A.a?A.a:1]);this.reviewColor=A?.r+""?{rgba:{r:A.r,g:A.g,b:A.b,a:1},hex:e}:{hex:""},this.selectColor=this.reviewColor,this.colorList[this.selectIndex]={r:A.r,g:A.g,b:A.b},this.pantongName=A.name;let t=this.colorList.filter((A=>Object.keys(A).length));this.setColorboardList(t),this.getColorBg=!0}else KA.ZP.info(this.t("ColorboardUpload.jsContent2"))})):KA.ZP.info(this.t("ColorboardUpload.jsContent5"))},clearCurrentColor(){this.selectColor={},this.reviewColor={},this.pantongName="",this.tcxColor=""},fileUploadChange(A){let e=A.file,t=e.originFileObj;var n=new FileReader;n.onload=A=>{let t;t="object"===typeof A.target.result?window.URL.createObjectURL(new Blob([A.target.result])):A.target.result,e.imgUrl=t,e.status="done",this.fileList.push(e),setTimeout((async()=>{const A=new Image;let t=this.$refs.colorImage;A.src=t[0].src;const n=new yo;A.onload=async()=>{t[0];let i,r=[],o=n.getPalette(A,9),s={max:5,min:5};await VA.setColor(o,e.imgUrl,s).then((A=>{A&&(i=A.ratio)})),i.sort(((A,e)=>{var t=A.ratio,n=e.ratio;return n-t})),o=[],i.forEach((A=>{o.push(A.rgb)})),o=o.join("&"),o=o.split("&");let a=o[0].split(","),l=this.rgbaToHex(a),c=[];new Set(o).forEach((A=>{c.push(A.split(","))})),c.forEach((A=>{let e=this.rgbaToHex(A);r.push({rgba:{r:A[0],g:A[1],b:A[2],a:1},hex:e})})),this.selectColorList=r,this.getHsvColor(r),this.selectColor={rgba:{r:a[0],g:a[1],b:a[2],a:1},hex:l}}}),100)},n.readAsDataURL(t)},rgbaToHex(A){let e="#";return A.forEach(((A,t)=>{e+=3==t?Math.round(255*A).toString(16):Number(A).toString(16).padStart(2,"0")})),e},setUplpadColor(A){this.selectColor=A},beforeUpload(A){const e="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;e||KA.ZP.info(this.t("ColorboardUpload.jsContent3"));const t=A.size/1024/1024<5;return t||KA.ZP.info(this.t("ColorboardUpload.jsContent4")),e&&t||NA.Z.LIST_IGNORE},deleteFile(A){this.fileList.splice(A,1),this.selectColorList=[]},getHsvColor(A){this.pantongName="";let e=[];A.forEach(((A,t)=>{let n=[A.rgba.r,A.rgba.g,A.rgba.b,A.rgba.a];e.push(n)}));let t=[];e.forEach((A=>{let e=(0,zA.py)(A);0==t.length||t[0].h;let n={h:Number(e[0]),s:Number(e[1]),v:Number(e[2])};t.push(n)})),PA.V.axiosPost(PA.V.httpUrls.getRgbByHsvBatch,t).then((A=>{A&&A.forEach((A=>{this.pantongNameList.push(A.name)}))})).catch((A=>{}))},setColorboardList(A){let e=A.map((A=>{let e={id:"",name:"",rgbValue:A};return e}));this.store.commit("setColorboardList",e)},recollection(){let A,e=this.store.state.UploadFilesModule.allBoardData.colorBoards;e.forEach(((e,t)=>{A=this.rgbaToHex([e.rgbValue.r,e.rgbValue.g,e.rgbValue.b,e.rgbValue.a?e.rgbValue.a:1]),this.colorList[t]=e.rgbValue})),this.selectColor={rgba:this.colorList[0],hex:A},this.store.commit("setColorboardList",e)}}});const Qo=(0,oe.Z)(_o,[["render",go]]);var Uo=Qo;const Fo=A=>((0,n.dD)("data-v-08285c50"),A=A(),(0,n.Cn)(),A),xo={class:"sketchboard_upload_modal"},Eo={class:"modal_left"},ko={class:"switch_type_list"},Io={class:"sketchboard_body"},So={class:"upload_img_body scroll_style"},Ho={class:"upload_item"},Do={class:"upload_file_item_content"},Lo={class:"upload_file_item_content"},Oo=["src"],Mo={class:"operate_file_block"},To={class:"select_img_type"},Ko=["onClick"],No={class:"category_list"},Po=["onClick"],Ro=["onClick"],Vo=Fo((()=>(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1))),Go=[Vo],zo={class:"pin_block"},jo={class:"upload_file_item upload_component"},Zo={class:"upload_tip_block"},Wo=Fo((()=>(0,n._)("i",{class:"fi fi-br-upload"},null,-1))),Xo=[Wo],Yo={class:"upload_max_tip"},Jo=Fo((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1))),$o={class:"modal_right"},qo={class:"modal_layout"},As={class:"modal_text"},es={class:"modal_img"},ts=["onClick"],ns=Fo((()=>(0,n._)("div",{class:"checked"},[(0,n._)("i",{class:"fi fi-rr-trash"})],-1))),is={class:"modal_accomplish"},rs=["maxlength","readonly","placeholder"],os={class:"modal_img"},ss=["src","onClick"],as={class:"operate_file_block"},ls={class:"select_img_type"},cs=["onClick"],ds={class:"category_list"},us=["onClick"],hs={class:"delete_like_file_block"},gs=["onClick"],ps=["onClick"],fs={class:"pin_block"},ms={class:"mark_loading"};function Bs(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-checkbox"),d=(0,n.up)("a-upload"),u=(0,n.up)("Material"),h=(0,n.up)("Generate"),g=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",xo,[(0,n._)("div",Eo,[(0,n._)("div",ko,[(0,n._)("div",{onClick:e[0]||(e[0]=(0,o.iM)((e=>A.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("SketchboardUpload.Upload")),1)],2),(0,n._)("div",{onClick:e[1]||(e[1]=(0,o.iM)((e=>A.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("SketchboardUpload.Library")),1)],2),(0,n._)("div",{onClick:e[2]||(e[2]=(0,o.iM)((e=>A.open(3)),["stop"])),class:(0,r.C_)(["switch_type_item",[3==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("SketchboardUpload.Generate")),1)],2)]),(0,n.wy)((0,n._)("div",Io,[(0,n._)("div",So,[(0,n._)("div",Ho,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:e},[(0,n.wy)((0,n._)("div",Do,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",Lo,[(0,n._)("img",{src:e?.imgUrl,class:"upload_img"},null,8,Oo),(0,n._)("div",Mo,[(0,n._)("div",To,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>A.showFileCategory(e)),["stop"])},[(0,n.Uk)((0,r.zw)(e.category)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",e.categoryShow?"icon_rotate":""])},null,2)],8,Ko),(0,n.wy)((0,n._)("div",No,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.sketchCatecoryList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",e.category==t.value?"select_category_item":""]),key:i,onClick:n=>A.selectFileCategory(e,t)},(0,r.zw)(t.label),11,Po)))),128))],512),[[o.F8,e.categoryShow]])])]),(0,n._)("div",{class:"delete_like_file_block",onClick:(0,o.iM)((t=>A.deleteFile(e)),["stop"])},Go,8,Ro)],512),[[o.F8,"done"===e?.status]]),(0,n.wy)((0,n._)("div",zo,[(0,n.Wm)(c,{checked:e.pin,"onUpdate:checked":A=>e.pin=A},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.$t("SketchboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])],512),[[o.F8,"done"===e?.status]])])))),128)),(0,n.wy)((0,n._)("div",jo,[(0,n.Wm)(d,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},"before-upload":A.beforeUpload,headers:{Authorization:A.token},"file-list":A.fileList,"onUpdate:file-list":e[3]||(e[3]=e=>A.fileList=e),multiple:"",maxCount:8-A.sketchboardList.length+A.fileList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:e[4]||(e[4]=e=>A.fileUploadChange(e))},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",Zo,Xo,512),[[o.F8,A.sketchboardList.length<8]])])),_:1},8,["action","data","before-upload","headers","file-list","maxCount"])],512),[[o.F8,A.sketchboardList.length<8]])])]),(0,n._)("div",Yo,[Jo,(0,n._)("span",null,(0,r.zw)(A.$t("SketchboardUpload.Maximum")),1)])],512),[[o.F8,1==A.openClick]]),(0,n.wy)((0,n.Wm)(u,{ref:"Material",msg:"Sketchboard",onConfirmSelect:A.confirmSelect,disignTypeList:A.sketchCatecoryList},null,8,["onConfirmSelect","disignTypeList"]),[[o.F8,2==A.openClick]]),(0,n.wy)((0,n.Wm)(h,{ref:"Generate",msg:"Sketchboard",sketchCatecoryList:A.sketchCatecoryList,onGenerateCheckbox:A.getgenerateCheckbox},null,8,["sketchCatecoryList","onGenerateCheckbox"]),[[o.F8,3==A.openClick]])]),(0,n._)("div",$o,[(0,n._)("div",qo,[(0,n._)("div",As,[(0,n._)("div",null,(0,r.zw)(A.$t("SketchboardUpload.Thumbnail")),1)]),(0,n._)("div",es,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.sketchboardList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:e,onClick:t=>A.deleteFile(e)},[(0,n.wy)((0,n._)("img",null,null,512),[[g,e.imgUrl]]),ns],8,ts)))),128))])]),(0,n.wy)((0,n._)("div",is,[(0,n._)("div",{class:(0,r.C_)(["input_box",{active:A.inputShow}])},[(0,n.wy)((0,n._)("input",{class:(0,r.C_)(["search_input",{forbidden:A.generateCheckbox}]),onInput:e[5]||(e[5]=(...e)=>A.ifMaximumLength&&A.ifMaximumLength(...e)),onKeydown:e[6]||(e[6]=(0,o.D2)((e=>A.getgenerate()),["enter"])),maxlength:A.inputShow?0:9999,readonly:A.generateCheckbox,placeholder:A.$t("SketchboardUpload.inputContent1"),"onUpdate:modelValue":e[7]||(e[7]=e=>A.captionGeneration=e)},null,42,rs),[[o.nr,A.captionGeneration]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:e[8]||(e[8]=(0,o.iM)(((...e)=>A.getgenerate&&A.getgenerate(...e)),["stop"]))},"Generate"),(0,n._)("span",null,(0,r.zw)(A.$t("SketchboardUpload.maximumLength")),1)],2),(0,n._)("div",os,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.generateList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["modal_imgItem",{active:e?.checked}])},[(0,n._)("img",{src:e.imgUrl,onClick:t=>A.generageAdd(e)},null,8,ss),(0,n._)("div",as,[(0,n._)("div",ls,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>A.showFileCategory(e)),["stop"])},[(0,n.Uk)((0,r.zw)(e.category)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",e.categoryShow?"icon_rotate":""])},null,2)],8,cs),(0,n.wy)((0,n._)("div",ds,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.sketchCatecoryList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",e.category==t.value?"select_category_item":""]),key:i,onClick:(0,o.iM)((n=>A.selectFileCategory(e,t)),["stop"])},(0,r.zw)(t.label),11,us)))),128))],512),[[o.F8,e.categoryShow]])])]),(0,n._)("div",hs,[e.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,o.iM)((t=>A.likeFile(e,"noLike")),["stop"])},null,8,ps)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,o.iM)((t=>A.likeFile(e,"like")),["stop"])},null,8,gs))]),(0,n._)("div",fs,[(0,n.Wm)(c,{checked:e.pin,"onUpdate:checked":A=>e.pin=A},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.$t("SketchboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])])],2)))),256))]),(0,n.wy)((0,n._)("div",ms,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]])],512),[[o.F8,3==A.openClick]])])])}var ws=(0,n.aZ)({components:{Material:gn,Generate:ct},setup(){let A=(0,X.iH)([]),e=(0,X.iH)(1),t=(0,X.iH)([]),n=(0,X.iH)(),i=(0,X.iH)(!1),r=(0,X.iH)({}),o=(0,X.iH)({}),s=(0,X.iH)(!1),a=(0,X.iH)(),{t:l}=(0,st.QT)(),c=(0,X.iH)();return{fileList:A,openClick:e,generateList:t,generateCheckbox:n,loadingShow:i,sketchCatecoryList:r,workspace:o,inputShow:s,inputTime:a,t:l,isTest:c}},data(){return{swtich_type:"upload",indicator:(0,n.h)(TA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:"Sketchboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",store:(0,RA.oR)(),captionGeneration:"",sketchboardList:(0,n.Fl)((()=>(0,RA.oR)().state.UploadFilesModule.sketchboard)),workspaceCom:{}}},computed:{getSketchLabel(A){return A=>{let e="";for(let t of this.sketchCatecoryList)if(t.value===A){e=t.label;break}return e}}},watch:{workspaceCom(A,e){this.workspace=A,this.getPosition()}},mounted(){this.token=(0,GA.ej)("token")||"";let A=(0,GA.ej)("isTest");this.isTest=JSON.parse(A),this.uploadUrl=(0,zA.M$)(),this.workspaceCom=(0,n.Fl)((()=>this.store?.state?.Workspace?.workspace))},methods:{open(A){if(this.openClick=A,2==A){let A=this.$refs.Material;A.init("Sketchboard")}},getPosition(){let A;A="Female"==this.workspace.sex?"FemalePosition":"MalePosition",PA.V.axiosGet(PA.V.httpUrls.workspaceenumValues,{params:{enumName:A}}).then((A=>{if(A){let e=[];A.forEach((A=>{let t={value:A.name,label:A.name};e.push(t)})),this.sketchCatecoryList=e}}))},getgenerateCheckbox(A){this.generateCheckbox=A},fileUploadChange(A){let e=A.file;if("done"===e.status){let A=JSON.parse(e.xhr.response);e.imgUrl=A.data.url,e.resData=A.data,e.pin=!1,e.category=this.sketchCatecoryList?.[0]?.value,e.categoryShow=!1,e.id_=VA.id++,e.type_={type1:"upload",type2:"Sketchboard"};let t=this.fileList.filter((A=>"done"===A.status));this.store.commit("setSketchboardFile",t)}else if("error"===e.status){let A=-1;this.fileList.forEach(((t,n)=>{e.uid===t.uid&&(A=n)})),A>-1&&this.fileList.splice(A,1),KA.ZP.warning(e.name+this.t("SketchboardUpload.jsContent1"))}},beforeUpload(A){const e="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;e||KA.ZP.info(this.t("SketchboardUpload.jsContent2"));const t=A.size/1024/1024<2;return t||KA.ZP.info(this.t("SketchboardUpload.jsContent3")),e&&t||NA.Z.LIST_IGNORE},showFileCategory(A){A.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(A,e){if(3==this.openClick){for(let A of this.generateList)A.categoryShow=!1;A.category=e.value}else{for(let A of this.fileList)A.categoryShow=!1;A.category=e.value,this.store.commit("setSketchboardFile",this.fileList)}},hiddenFileCategory(){if(3==this.openClick)for(let A of this.generateList)A.categoryShow=!1;else for(let A of this.fileList)A.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},ifMaximumLength(){clearTimeout(this.inputTime);let A=document.getElementsByClassName("sketchboard_upload_modal")[0].getElementsByClassName("input_box")[0];A.getElementsByClassName("search_input")[0];this.inputTime=setTimeout((()=>{this.captionGeneration?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},deleteFile(A){if("generate"==A.type_.type1||"material"==A.type_.type1)this.store.commit("addGenerateMaterialFils",A);else{let e;this.fileList=this.store.state.UploadFilesModule.sketchboardFiles,this.store.state.UploadFilesModule.sketchboardFiles.forEach(((t,n)=>{t.id_==A.id_&&(e=n)})),this.fileList.splice(e,1),this.store.commit("setSketchboardFile",this.fileList)}},likeFile(A,e){if("like"==e){let e={generateDetailId:A.id,level1Type:"Sketchboard",level2Type:A.category,gender:this.workspace.sex,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};PA.V.axiosPost(PA.V.httpUrls.generateLike,e).then((e=>{A.like=!0})).catch((A=>{}))}else{let e={generateDetailId:A.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};PA.V.axiosGet(PA.V.httpUrls.generateDislike,{params:e}).then((e=>{A.like=!1})).catch((A=>{}))}},recollection(){let A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.sketchboardFiles)),e={generate:[],material:[],moodboard:[]};A.forEach((A=>{"generate"==A.type_.type1?e.generate.push(A):"material"==A.type_.type1?e.material.push(A):e.moodboard.push(A)})),this.store.commit("setSketchboardGenerateFiles",e.generate),this.store.commit("setSketchboardMaterialFiles",e.material),this.store.commit("setSketchboardFile",e.moodboard),this.fileList=e.moodboard},confirmSelect(A){for(let e of A){let A={imgUrl:e.url,resData:e,pin:!1,status:"done",category:e.level2Type||"Outwear",categoryShow:!1};if(15==this.fileList.length){KA.ZP.warning(this.t("SketchboardUpload.jsContent4"));break}this.fileList.push(A)}this.store.commit("setSketchboardFile",this.fileList)},getgenerate(){if(this.isTest)return void KA.ZP.warning(this.t("isTest.available"));let A=this.$refs.Generate,e=A.checkbox.filter((A=>A.type))[0].name,t={generateType:e,designType:"",collectionElementId:A?.collectionElementid,level1Type:A.upload.level1Type,level2Type:A.level2Type,text:this.captionGeneration,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:1,gender:this.workspace.sex};if("image"==e||"text-image"==e){if(!A?.collectionElementid)return void KA.ZP.info(this.t("SketchboardUpload.jsContent5"))}else if("text"==e){if(t.collectionElementId="",t.level2Type="",!this.captionGeneration)return void KA.ZP.info(this.t("SketchboardUpload.jsContent7"));{let A=this.captionGeneration.split(/\s+/).length;if(A>75)return void KA.ZP.info(this.t("SketchboardUpload.jsContent6"))}}this.loadingShow=!0,PA.V.axiosPost(PA.V.httpUrls.sketchAndPrintGenerate,t).then((e=>{if(e){let t;this.generateList=[],e.generatedCollectionItems.forEach(((n,i)=>{t={id:n.generateItemId,imgUrl:n.generateItemUrl,category:A.level2Type?A.level2Type:this.sketchCatecoryList[0].label,id_:VA.id++,like:e.generatedCollectionItems[i].isLiked},this.generateList.push(t),this.loadingShow=!1}))}})).catch((A=>{this.loadingShow=!1}))},generageAdd(A){A.type_={type1:"generate",type2:"Sketchboard"},A.resData=JSON.parse(JSON.stringify(A)),this.store.commit("addGenerateMaterialFils",A)}}});const vs=(0,oe.Z)(ws,[["render",Bs],["__scopeId","data-v-08285c50"]]);var Cs=vs,bs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAAAXNSR0IArs4c6QAACT5JREFUaEPVmXuMXFUdx7/n3Nfcee62u91S0fJKl3YhGiEptIo0BamaCH/UiESrCTEhGBuBFioRrUYlQKtGDfIo0bBtSIsKfwgFq0BLC7S6aNudPre7LfQB7HZ3Z2d2Zu7ce8/P/O7swOx0dna6Sx+eZDc7c8/jc3/ne36PswL/p02ca+7LHsx+zTLEcgBzANgjPLKMSwEgADmAXoPQf5S8x9x5TsGvfdS57fiAvy5qVcMQPkBadcPKtprgLx4ka8DB9SSwkAitAmgWwFQC9MnslKUDeQ+Zx7Y4rUcHlFUJLkl8P2dZT5uF7EMC8o5RawkBQbSlKviGJE1xJZbCx+0EXDgZyGpjG8PArmMKT7zuKEsXUisXBqBCmVCsY6XItj48NN+Q5lYKlFJsJCWE7/ungK/bRTeTxBoiNIkzJKSmKPBWt0o/uc3REyFhV6xDQtDMznvC7855xLlZCPV8tZcfhda+ix4QEj/7uC1cOd/UCLDjsBpes80RUUuEZYWBhBKXdd4bOtT2SO42CKwrjudOH1r+I4u376dbRAHPBc/PcBsBz6zZ5lhRC0JI7cdE2At4EKSTPWxuYqnM/vXwBfAxl4+U7jsgqd1IUrsTRCrAfHonRaSGAQDGGWYOpi8Dj8YssXnPcvv6etdtW+14IKUF4M8kaaWr8JPKLRtrMh5kaAAfKk8Brl/vssV+ZeB21JL9QtI34PtJKM00CTITCZ3oWiqcq1ZS2I3kWzwfvi+Up+nGIkFqDUtGjLi8PgVEx1OJIiBmAWETGMgCObf4d0MYyOSB4QJQz8uXgcsyjTsoulnSCLN2Lbd7Rg7ncwA4CCmAjKLW4Ys/7qEbDR9/H0/bDD0tBvRlgI1JF929CgUfCBnArBaJRXMMRK3i8wr3dsp2NEWAt3pUes02R4+f6lWY8KK9y+wjbauyiwHxbFWv0t5JvxLAXbU2m6Gbo0BXL+HRzQ6OpxRilgjkwvCZPOHSZg3fW2CiJSbQP1zb8lMiwNvvqMEnXnfMyKlexXfM0JSupWJo9ir3OglvczmbgACBlFi7m16GwBdrgbNVfQU8+JKDI/0KFzYI8MuUnBTv1jsnFa6aqeMHC03kCkXtj9V4vnQe2dWb8jTkUCQeEqCPYgwUiRv3Lg/9Y85q94eCvF9WmeeAWNtJbwC4thY4S+SF3T7atzuY0SBHLVIaxwv3Zgh3XGdh/qUykEyt1hyF+ut/vfSf3ixEW2JCi1hsyw89dRagDhA+Dw7xLGoCHJdg6QK6VF8V6zppPwGzxlqED1s8BDy+tYDt3T6mxXirTm0c/d5LEW5q0/GtuQZOZsrCRUV3Hm9pgKnDfSnpDb3e5Vlph6AUtJEoWsoSuatDBLJ0Qc0x0d83TPd33We3s8V7AFw0JrgEwgbwh80F7DzmY2qkuu/hb99PExbM0vGdeUbgdcq3v3J+lhpLJhGCfzwF59igKng+NAi28UeNyZUCwhbUjAa5b8kVYm4g0bWddAjAJTW3NQas3e7ihd0ePlGm71GHRgAnUoRbrzZwy6d1vJ+uLRV+ylAMaRvFH8HJVpXt5DfhM5Mv4N3Fl4tP1Q3O2dze9wirN+XBWmRLlVuTJx7KEwwJ3HtTKPAsGfbKH3/r/uYV4tK6wRlsShhY3+FhQ0cBzVEBzqH5e36BVI6Cn+9+zsJNbRo+SI+EiXMNznBsZdsEXtzt4ZX9HgayFLhIXeMQLvDlKwwsbNUwmANcdZ6As+H4MHHl0mADRweBA+/7gTwawgKXt2iYHgf6s8W8pZ6wP8HNOD2pfOirRw4T5ycRqwjIVh92gKxb7DVevjNB4NKwiYFPctFxh/NLm3ox13G8oiepMMT5Bc4yZAlaOgofpEGOB9kUhRs2ET45PEp+5wc4H3r2TC1xUHcvDW7a63EuZDoe6dOiMvvZmRoWzNJsx0MolQt24tyDs5VNLYD23+xWqae2FYzejIo1hjkXAdIOy4XcG1qNoW/PM0K6RKQvg54lV4ogWNYVOccV52l2YGg+4I1hFDZ2+qn2HYWYoSHUaJdlnSMH/0RKoW2GlrrzC2aiJS6O3PBJEaQnZx2cvRBXTLaB7DP/8nLP73TjjTYMjsilVLlkh+BgBsmbwvSExO3zzZ13XaN95qyDMxjfqXg+Mk9udZ2th9yG5qjUOD5UQpdvIrtdDni2IfYdXGHPnhR4qTxjC9bTGOyCBDjdHfzdaw6Sx/2GGQkJKWtnkaW5Gd7xcPjAffbFpwUeJG1cLIcCffq5QmAkETGDIlkfyhc9RGUAKnkOhu7qpYHfv1qQJ1J+gre+Vto7hjG6k8vs+pOsUu7cGIbf00eZHYd9OjqgNALkBQnhzLtE1y5uErG+NGQQNEboGYwDyrQYvB2HVeqxLU4oW0CEi5Fa0qixg6PADwOYWa1zycpTo4ElhzcmvdzGTs/qG1YxLqGYL+sSmqNy6OtXG4UbLtei7HOzheJsnBZoAtmNST+7bkchYkjYjRERpAkTbIeTy0akMlbpVkqqWmJQB3sptf7fLnUc8RIJW2jRsuKWtTeYI06uCgta9cw1F2t8V8KlFw1lKbf5oCfe6PGjERM6p8ITtHTpPQ8kl9mtJY1vBTC/3AI8OV/aaBLZTXu93HP/ca2hPKLT4iJIrCq1yd9xVsgnP2zCSdgCJECDwyTzLswpkWJQmSQ0H7E39yyz5xXBk/QsCIv5QymaTYuBjvTTIFt5e48fT4Sh8z1KPQuzxj0uyVG8d2HgasX1hKRCeDm53F5UAn8QCitYdlyiWTqyr+z3s39527X6syrWEqvfZU0Ipt5BfKA88ZvkfaHg8kq076av6Br+1hIDHRukwQ0drtp2yI/HQjD4oqYeK9e79mT68aWI5xmL9q0wXg7AX+2hkCvx3pYuP/7nDjf9QZriLXER5MQT8LOTYRtvbMYxQ018ixuA869bn3F+8c99/v1cVzaUJTrjzXS2ngsieLr20313WStLawbgTQ9RrFnmT2oSxnlm5RJnQaPQlF3LxfAocP7QtspZDPjPnvGq8bS3ieOz8aXk3cZL5UNHpRZXrs7erUisPu25z+yAB5LL7J9XLnFKUc7/6SKBRwWQOLM8NWYvZmb9QtCdnfeE11frWfU2Yc7DmelCyhWAXAJQ49l7gSBwHSUhnxLC/G3ybtE/1tr/A0bYMTlfaNGhAAAAAElFTkSuQmCC";const ys=A=>((0,n.dD)("data-v-2119dc4e"),A=A(),(0,n.Cn)(),A),_s={class:"collection_modal_item"},Qs={class:"switch_type_list"},Us={class:"switch_type_item select_swtich"},Fs={class:"marketingUpload_body"},xs={class:"upload_img_body scroll_style"},Es={class:"upload_item"},ks={class:"upload_file_item_content"},Is={class:"upload_file_item_content"},Ss=["src"],Hs=["onClick"],Ds={class:"upload_file_item upload_component"},Ls={class:"upload_tip_block"},Os=ys((()=>(0,n._)("img",{class:"upload_img_icon",src:bs},null,-1))),Ms=[Os],Ts={class:"upload_max_tip"},Ks=ys((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1)));function Ns(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("Material");return(0,n.wg)(),(0,n.iD)("div",_s,[(0,n._)("div",Qs,[(0,n._)("div",Us,[(0,n._)("span",null,(0,r.zw)(A.$t("MarketingSketchUpload.Upload")),1)]),(0,n._)("div",{onClick:e[0]||(e[0]=e=>A.openLibrary()),class:"switch_type_item"},[(0,n._)("span",null,(0,r.zw)(A.$t("MarketingSketchUpload.MyLibrary")),1)])]),(0,n.wy)((0,n._)("div",Fs,[(0,n._)("div",xs,[(0,n._)("div",Es,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:e},[(0,n.wy)((0,n._)("div",ks,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",Is,[(0,n._)("img",{src:e?.imgUrl,class:"upload_img"},null,8,Ss),(0,n._)("div",{class:"delete_file_block",onClick:e=>A.deleteFile(t)},"Delete",8,Hs)],512),[[o.F8,"done"===e?.status]])])))),128)),(0,n.wy)((0,n._)("div",Ds,[(0,n.Wm)(c,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},"before-upload":A.beforeUpload,headers:{Authorization:A.token},"file-list":A.fileList,"onUpdate:file-list":e[1]||(e[1]=e=>A.fileList=e),multiple:"",maxCount:15,accept:".jpg,.png,.jpeg,.bmp",onChange:e[2]||(e[2]=e=>A.fileUploadChange(e))},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",Ls,Ms,512),[[o.F8,A.fileList.length<15]])])),_:1},8,["action","data","before-upload","headers","file-list"])],512),[[o.F8,A.fileList.length<15]])])]),(0,n._)("div",Ts,[Ks,(0,n._)("span",null,(0,r.zw)(A.$t("MarketingSketchUpload.maximumLength")),1)])],512),[[o.F8,"upload"===A.swtich_type]]),(0,n.Wm)(d,{ref:"Material",onConfirmSelect:A.confirmSelect},null,8,["onConfirmSelect"])])}var Ps=(0,n.aZ)({components:{Material:gn},setup(){let A=(0,X.iH)([]),{t:e}=(0,st.QT)();return{fileList:A,t:e}},data(){return{swtich_type:"upload",indicator:(0,n.h)(TA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:"MarketingSketch",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",store:(0,RA.oR)()}},mounted(){this.token=(0,GA.ej)("token")||"",this.uploadUrl=(0,zA.M$)()},methods:{openLibrary(){let A=this.$refs.Material;A.init("MarketingSketch")},fileUploadChange(A){let e=A.file;if("done"===e.status){let A=JSON.parse(e.xhr.response);e.imgUrl=A.data.url,e.resData=A.data;let t=this.fileList.filter((A=>"done"===A.status));this.store.commit("setMarketingSketchFile",t)}else if("error"===e.status){let A=-1;this.fileList.forEach(((t,n)=>{e.uid===t.uid&&(A=n)})),A>-1&&this.fileList.splice(A,1),KA.ZP.error(e.name+this.t("MarketingSketchUpload.jsContent1"))}},beforeUpload(A){const e="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;e||KA.ZP.warning(this.t("MarketingSketchUpload.jsContent2"));const t=A.size/1024/1024<2;return t||KA.ZP.warning(this.t("MarketingSketchUpload.jsContent3")),e&&t||NA.Z.LIST_IGNORE},deleteFile(A){this.fileList.splice(A,1),this.store.commit("setMarketingSketchFile",this.fileList)},recollection(){this.fileList=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.marketingSketchFiles)),this.store.commit("setMarketingSketchFile",this.fileList)},confirmSelect(A){for(let e of A){let A={imgUrl:e.url,resData:e,status:"done"};if(15==this.fileList.length){KA.ZP.warning(this.t("MarketingSketchUpload.jsContent5"));break}this.fileList.push(A)}this.store.commit("setMarketingSketchFile",this.fileList)}}});const Rs=(0,oe.Z)(Ps,[["render",Ns],["__scopeId","data-v-2119dc4e"]]);var Vs=Rs,Gs=t(8302),zs=t(327),js=(0,n.aZ)({components:{Generate:ct,MoodboardUpload:gi,PrintboardUpload:Er,ColorboardUpload:Uo,SketchboardUpload:Cs,MarketingSketchUpload:Vs},setup(){(0,RA.oR)();let{t:A}=(0,st.QT)();return{t:A}},data(){return{showCollectionModal:!1,collectionStep:1,store:(0,RA.oR)()}},methods:{nextStep(){let A=this.store.state.UploadFilesModule.colorBoards;if(1==this.collectionStep){let A=this.store.state.UploadFilesModule.disposeMoodboard,e=this.store.state.UploadFilesModule.moodboard;if(e.length>1&&(!A||0==A.length))return void KA.ZP.info(this.$t("collectionModal.jsContent1"))}3!=this.collectionStep||A.length>=1?this.collectionStep=this.collectionStep+1:KA.ZP.info(this.$t("collectionModal.jsContent3"))},lastStep(){this.collectionStep=this.collectionStep-1},changeCollectionModal(A){this.showCollectionModal=A},recollection(){setTimeout((()=>{let A=["MoodboardUpload","PrintboardUpload","ColorboardUpload","SketchboardUpload"];for(let e of A){let A=this.$refs[e];A.recollection()}}),200)},cancelDsign(){let A=this;zs.Z.confirm({title:this.$t("collectionModal.jsContent2"),icon:(0,n.Wm)(Gs.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){VA.id=0,A.showCollectionModal=!1,A.store.commit("clearAllData"),A.collectionStep=1}})},finishCollection(){let A=this.store.state.UploadFilesModule.colorBoards;!A||A?.length<1?KA.ZP.info(this.$t("collectionModal.jsContent3")):(this.store.commit("clearAllId"),VA.id=0,this.showCollectionModal=!1,this.collectionStep=1,this.$emit("finishCollection"))}}});const Zs=(0,oe.Z)(js,[["render",oA],["__scopeId","data-v-07d54dc6"]]);var Ws=Zs;const Xs=A=>((0,n.dD)("data-v-5ed111da"),A=A(),(0,n.Cn)(),A),Ys={class:"collection_review"},Js=Xs((()=>(0,n._)("div",{class:"collection_review_mark"},null,-1))),$s={key:0,class:"img_block_item"},qs={class:"all_img_item_block"},Aa=["src"],ea={key:1,class:"img_block_item"},ta={class:"all_img_item_block"},na=["src"],ia={class:"img_block_item"},ra={class:"all_img_item_block"},oa=["src"],sa={class:"all_img_item_block"},aa=["src"],la={class:"img_block_item"},ca={class:"color_content_body"},da={class:"color_des"},ua={class:"color_des"},ha={class:"img_block_item img_block_item_sketch"},ga=["src"],pa={class:"img_block_item"},fa={class:"all_img_item_block"},ma=["src"];function Ba(A,e,t,i,s,a){return(0,n.wg)(),(0,n.iD)("div",Ys,[Js,0!=A.allBoardData?.disposeMoodboard?.length&&null!=A.allBoardData?.disposeMoodboard?.[0]?((0,n.wg)(),(0,n.iD)("div",$s,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData?.disposeMoodboard,(A=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{key:A,class:"lager_img_item lager_img_disposeMoodboard"},[(0,n._)("div",qs,[(0,n._)("img",{class:"all_img_content cover_img",src:A?.imgUrl},null,8,Aa)])])),[[o.F8,""!=A?.imgUrl]]))),128))])):((0,n.wg)(),(0,n.iD)("div",ea,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData?.moodboardFiles,(A=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{key:A,class:"lager_img_item lager_img_moodboard"},[(0,n._)("div",ta,[(0,n._)("img",{class:"all_img_content cover_img",src:A?.imgUrl},null,8,na)])])),[[o.F8,""!=A?.imgUrl]]))),128))])),(0,n._)("div",ia,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData?.printboardFiles,(A=>((0,n.wg)(),(0,n.iD)("div",{class:"small_img_item",key:A},[(0,n._)("div",ra,[(0,n._)("img",{class:"all_img_content cover_img",src:A?.imgUrl},null,8,oa)])])))),128)),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData?.generatePrintFiles,(A=>((0,n.wg)(),(0,n.iD)("div",{class:"small_img_item",key:A},[(0,n._)("div",sa,[(0,n._)("img",{class:"all_img_content cover_img",src:A.imgUrl},null,8,aa)])])))),128))]),(0,n._)("div",la,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData?.colorBoards,(A=>((0,n.wg)(),(0,n.iD)("div",{class:"color_item",key:A},[(0,n._)("div",{class:"color_content",style:(0,r.j5)({background:`rgb(${A?.rgbValue?.r},${A?.rgbValue?.g},${A?.rgbValue?.b},${A?.rgbValue?.a})`})},null,4),(0,n._)("div",ca,[(0,n._)("div",da,(0,r.zw)(A.tcx),1),(0,n._)("div",ua,(0,r.zw)(A.name),1)])])))),128))]),(0,n._)("div",ha,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.sketch,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["lager_img_item","lager_img_item"+t]),key:e},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e,(e=>((0,n.wg)(),(0,n.iD)("div",{class:"all_img_item_block",key:A.sketch},[(0,n._)("img",{class:"all_img_content",src:e?.imgUrl},null,8,ga)])))),128))],2)))),128))]),(0,n._)("div",pa,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData.marketingSketchFiles,(A=>((0,n.wg)(),(0,n.iD)("div",{class:"lager_img_item",key:A},[(0,n._)("div",fa,[(0,n._)("img",{class:"all_img_content",src:A.imgUrl},null,8,ma)])])))),128))])])}var wa=(0,n.aZ)({components:{MoodTemplate:Fn},setup(){const A=(0,RA.oR)();let e=(0,X.iH)([[],[],[]]),t=(0,X.iH)([]),i=(0,n.Fl)((()=>A.state.UploadFilesModule.allBoardData));return{store:A,allBoardData:i,sketch:e,sketchList:t}},data(){return{asda:{}}},watch:{allBoardData:{handler(A,e){this.sketchList=[],this.sketchList=this.allBoardData.sketchboardFiles,this.setSketch()},immediate:!0}},mounted(){},methods:{setSketch(){this.sketch=[[],[],[]],(0,n.Y3)().then((async()=>{let A=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item0")[0]?.getBoundingClientRect(),e=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item1")[0]?.getBoundingClientRect(),t=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item2")[0]?.getBoundingClientRect();if(A.num=0,e.num=1,t.num=2,this.sketchList)for(let i=0;i<this.sketchList.length;i++){let r=[A,e,t];r.sort(((A,e)=>{var t=A["height"],n=e["height"];return t-n})),this.sketch[r[0].num]?.push(this.sketchList[i]),await new Promise((i=>{(0,n.Y3)().then((()=>{A=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item0")[0]?.getBoundingClientRect(),e=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item1")[0]?.getBoundingClientRect(),t=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item2")[0]?.getBoundingClientRect(),A.num=0,e.num=1,t.num=2,i()}))}))}}))}}});const va=(0,oe.Z)(wa,[["render",Ba],["__scopeId","data-v-5ed111da"]]);var Ca=va;const ba={class:"export_new_collection_review"},ya={key:0,class:"img_block_item"},_a={class:"all_img_item_block"},Qa=["src"],Ua={key:1,class:"img_block_item"},Fa={class:"all_img_item_block"},xa=["src"],Ea={class:"img_block_item"},ka={class:"all_img_item_block"},Ia=["src"],Sa={class:"all_img_item_block"},Ha=["src"],Da={class:"img_block_item"},La={class:"color_content_body"},Oa={class:"color_des"},Ma={class:"color_des"},Ta={class:"img_block_item img_block_item_sketch"},Ka=["src"],Na={class:"img_block_item"},Pa={class:"all_img_item_block"},Ra=["src"],Va={class:"img_block_item img_block_item_sketch_like h50"},Ga={class:"all_img_item_block"},za=["src"];function ja(A,e,t,i,s,a){return(0,n.wg)(),(0,n.iD)("div",ba,[0!=A.allBoardData?.disposeMoodboard?.length&&null!=A.allBoardData?.disposeMoodboard?.[0]?(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",ya,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData?.disposeMoodboard,(A=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{key:A,class:"lager_img_item lager_img_disposeMoodboard"},[(0,n._)("div",_a,[(0,n._)("img",{class:"all_img_content cover_img",src:A?.imgUrl},null,8,Qa)])])),[[o.F8,""!=A?.imgUrl]]))),128))],512)),[[o.F8,A.exportNav[0].change]]):(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",Ua,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData?.moodboardFiles,(A=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{key:A,class:"lager_img_item lager_img_moodboard"},[(0,n._)("div",Fa,[(0,n._)("img",{class:"all_img_content cover_img",src:A?.imgUrl},null,8,xa)])])),[[o.F8,""!=A?.imgUrl]]))),128))],512)),[[o.F8,A.exportNav[0].change]]),(0,n.wy)((0,n._)("div",Ea,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData.printboardFiles,(A=>((0,n.wg)(),(0,n.iD)("div",{class:"small_img_item",key:A},[(0,n._)("div",ka,[(0,n._)("img",{class:"all_img_content cover_img",src:A.imgUrl},null,8,Ia)])])))),128)),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData.generatePrintFiles,(A=>((0,n.wg)(),(0,n.iD)("div",{class:"small_img_item",key:A},[(0,n._)("div",Sa,[(0,n._)("img",{class:"all_img_content cover_img",src:A.imgUrl},null,8,Ha)])])))),128))],512),[[o.F8,A.exportNav[1].change]]),(0,n.wy)((0,n._)("div",Da,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData.colorBoards,(A=>((0,n.wg)(),(0,n.iD)("div",{class:"color_item",key:A},[(0,n._)("div",{class:"color_content",style:(0,r.j5)({background:`rgb(${A?.rgbValue?.r},${A?.rgbValue?.g},${A?.rgbValue?.b})`})},null,4),(0,n._)("div",La,[(0,n._)("div",Oa,(0,r.zw)(A.tcx),1),(0,n._)("div",Ma,(0,r.zw)(A.name),1)])])))),128))],512),[[o.F8,A.exportNav[2].change]]),(0,n.wy)((0,n._)("div",Ta,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.sketch,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["lager_img_item","lager_img_item"+t]),key:e},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e,(e=>((0,n.wg)(),(0,n.iD)("div",{class:"all_img_item_block",key:A.sketch},[(0,n._)("img",{class:"all_img_content",src:e?.imgUrl},null,8,Ka)])))),128))],2)))),128))],512),[[o.F8,A.exportNav[3].change]]),(0,n._)("div",Na,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.allBoardData.marketingSketchFiles,(A=>((0,n.wg)(),(0,n.iD)("div",{class:"lager_img_item",key:A},[(0,n._)("div",Pa,[(0,n._)("img",{class:"all_img_content",src:A.imgUrl},null,8,Ra)])])))),128))]),(0,n.wy)((0,n._)("div",Va,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.likeDesignCollectionList,(A=>((0,n.wg)(),(0,n.iD)("div",{class:"lager_img_item",key:A.designItemUrl},[(0,n._)("div",Ga,[(0,n._)("img",{class:"all_img_content",src:A.designItemUrl},null,8,za)])])))),128))],512),[[o.F8,A.exportNav[4].change]])])}var Za=(0,n.aZ)({components:{MoodTemplate:Fn},setup(){let A=(0,X.iH)([[],[],[]]),e=(0,X.iH)([]);const t=(0,RA.oR)();let i=(0,n.Fl)((()=>t.state.UploadFilesModule.allBoardData)),r=(0,n.Fl)((()=>t.state.HomeStoreModule.likeDesignCollectionList)),o=(0,n.f3)("exportNav");return{allBoardData:i,likeDesignCollectionList:r,sketch:A,sketchList:e,exportNav:o}},watch:{allBoardData:{handler(A,e){this.sketchList=[],this.sketchList=this.allBoardData.sketchboardFiles,this.setSketch()},immediate:!0}},methods:{setSketch(){this.sketch=[[],[],[]],(0,n.Y3)().then((async()=>{let A=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item0")[0]?.getBoundingClientRect(),e=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item1")[0]?.getBoundingClientRect(),t=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item2")[0]?.getBoundingClientRect();if(A=A||{},e=e||{},t=t||{},A.num=0,e.num=1,t.num=2,this.sketchList)for(let i=0;i<this.sketchList.length;i++){let r=[A,e,t];r.sort(((A,e)=>{var t=A["height"],n=e["height"];return t-n})),this.sketch[r[0].num]?.push(this.sketchList[i]),await new Promise((i=>{(0,n.Y3)().then((()=>{A=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item0")[0]?.getBoundingClientRect(),e=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item1")[0]?.getBoundingClientRect(),t=document.getElementsByClassName("collection_review")[0]?.getElementsByClassName("lager_img_item2")[0]?.getBoundingClientRect(),A.num=0,e.num=1,t.num=2,i()}))}))}}))}}});const Wa=(0,oe.Z)(Za,[["render",ja],["__scopeId","data-v-53b3602f"]]);var Xa=Wa;const Ya={class:"design_title_text"},Ja={class:"design_title_text_intro"},$a=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),qa=[$a],Al=(0,n._)("span",{class:"icon iconfont icon_turn icon-shangyibu"},null,-1),el=[Al],tl=(0,n._)("span",{class:"icon iconfont icon_turn icon-xiayibu"},null,-1),nl=[tl],il={class:"design_detail_modal_body"},rl={class:"detail_modal_body_img"},ol={class:"detail_modal_body"},sl={class:"detail_modal_body_nav"},al=["onClick"],ll=["src"],cl={class:"detail_modal_model_content"},dl=["src"],ul=["src"],hl=["onClick"],gl=["src"],pl=["src"],fl={class:"detail_btn"},ml={class:"detail_modal_body_category"},Bl={class:"detail_modal_right_top scroll_style"},wl={class:"clothes_detail_item clothes_detail_item_apparel"},vl={class:"clothes_item_header"},Cl=(0,n._)("i",{class:"fi fi-rs-comments"},null,-1),bl=["src"],yl={class:"clothes_detail_item clothes_detail_item_print"},_l={class:"clothes_item_header"},Ql=(0,n._)("i",{class:"fi fi-rs-comments"},null,-1),Ul=["src"],Fl={class:"clothes_detail_item clothes_detail_item_color"},xl={class:"clothes_item_header"},El=(0,n._)("i",{class:"fi fi-rs-comments"},null,-1),kl={class:"color_item"},Il={class:"color_content_body"},Sl={class:"color_des"},Hl={class:"color_des"},Dl={class:"design_detail_perview"},Ll={class:"design_detail_perview_content"},Ol={class:"design_detail_perview"},Ml={class:"design_detail_perview_content"},Tl={class:"mark_loading"};function Kl(A,e,t,i,s,a){const l=(0,n.up)("DesignDetailAlter"),c=(0,n.up)("magnifyingGlass"),d=(0,n.up)("setDesignItem"),u=(0,n.up)("a-modal"),h=(0,n.up)("a-spin");return(0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(u,{class:"design_detail_modal_component",visible:A.designDetailShow,"onUpdate:visible":e[17]||(e[17]=e=>A.designDetailShow=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1},{default:(0,n.w5)((()=>[(0,n._)("div",Ya,[(0,n._)("div",null,(0,r.zw)(A.$t("DesignDetail.Details")),1),(0,n._)("div",Ja,(0,r.zw)(A.$t("DesignDetail.EditDetails")),1)]),(0,n._)("div",{class:"design_closeIcon",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.closeModal()),["stop"]))},qa),(0,n.wy)((0,n._)("div",{class:"turn_button turn_left_button",onClick:e[1]||(e[1]=e=>A.changeDesignItem("last"))},el,512),[[o.F8,1==A.designShowPrview]]),(0,n.wy)((0,n._)("div",{class:"turn_button turn_right_button",onClick:e[2]||(e[2]=e=>A.changeDesignItem("next"))},nl,512),[[o.F8,1==A.designShowPrview]]),(0,n.wy)((0,n._)("div",il,[(0,n._)("div",rl,[(0,n.wy)((0,n._)("div",ol,[(0,n._)("div",sl,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.designItemDetail?.clothes,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)({active:e.clothesOpen}),onClick:e=>A.clothesOpen(t)},[(0,n._)("img",{src:e?.path,alt:""},null,8,ll)],10,al)))),256))]),(0,n._)("div",cl,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.frontBack.back,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["detail_modal_item_back",{active:A.body}]),style:(0,r.j5)(e.style)},[(0,n._)("img",{src:e.imageUrl,alt:""},null,8,dl)],6)))),256)),(0,n._)("img",{class:"detail_modal_model",src:A.frontBack.body?.layersObject[0]?.imageUrl,alt:""},null,8,ul),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.frontBack.front,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["detail_modal_item_front",{active:A.body}]),style:(0,r.j5)(e.style),onClick:(0,o.iM)((n=>A.clothesDetail(e,t)),["stop"])},[(0,n._)("img",{src:e.imageUrl,alt:""},null,8,gl)],14,hl)))),256))])],512),[[o.F8,A.imgDesignImg]]),(0,n.wy)((0,n._)("img",{class:"detial_img",src:A.designItemDetail.designItemUrl},null,8,pl),[[o.F8,!A.imgDesignImg]]),(0,n._)("div",fl,[(0,n._)("i",{class:"fi fi-bs-expand-arrows-alt",onClick:e[3]||(e[3]=e=>A.showDesignImgDetail(2))}),(0,n.wy)((0,n._)("i",{class:"fi fi-rr-edit",onClick:e[4]||(e[4]=e=>A.showDesignImgDetail(3))},null,512),[[o.F8,!A.body]]),(0,n._)("i",{class:"fi fi-rr-copy",onMousedown:e[5]||(e[5]=(...e)=>A.mousedownDesignImg&&A.mousedownDesignImg(...e)),onMouseup:e[6]||(e[6]=(...e)=>A.mouseupDesignImg&&A.mouseupDesignImg(...e))},null,32),(0,n.wy)((0,n._)("i",{class:"icon iconfont icon-chehui",onClick:e[7]||(e[7]=(...e)=>A.revocation&&A.revocation(...e))},null,512),[[o.F8,A.revocationShow>1]]),(0,n.wy)((0,n._)("i",{class:"icon iconfont icon-fanchehui",onClick:e[8]||(e[8]=(...e)=>A.oppositeRevocation&&A.oppositeRevocation(...e))},null,512),[[o.F8,A.oppositeRevocationShow>=1]])]),(0,n.wy)((0,n._)("div",{class:"subitOkPreviewBtn",onClick:e[9]||(e[9]=(...e)=>A.submit&&A.submit(...e))},(0,r.zw)(A.$t("DesignDetail.Submit")),513),[[o.F8,A.ifSubmit]])]),(0,n._)("div",ml,[(0,n.wy)((0,n._)("div",Bl,[(0,n._)("div",wl,[(0,n._)("div",vl,[Cl,(0,n._)("div",null,(0,r.zw)(A.$t("DesignDetail.CurrentApparel")),1),(0,n._)("i",{class:"fi fi-rr-edit",onClick:e[10]||(e[10]=(0,o.iM)((e=>A.openCurrent(1)),["stop"]))})]),(0,n._)("img",{src:A.designItemDetail?.clothes?.[A.currentIndex]?.path,alt:"",class:"centent",onClick:e[11]||(e[11]=e=>A.openCurrent(1))},null,8,bl)]),(0,n._)("div",yl,[(0,n._)("div",_l,[Ql,(0,n._)("div",null,(0,r.zw)(A.$t("DesignDetail.CurrentPrint")),1),(0,n._)("i",{class:"fi fi-rr-edit",onClick:e[12]||(e[12]=(0,o.iM)((e=>A.openCurrent(2)),["stop"]))})]),A.designItemDetail?.clothes?.[A.currentIndex]?.printObject?.prints[0]?.path?((0,n.wg)(),(0,n.iD)("div",{key:0,class:"centent_div",onClick:e[13]||(e[13]=e=>A.openCurrent(2))},[(0,n._)("img",{src:A.designItemDetail?.clothes?.[A.currentIndex]?.printObject?.prints[0]?.path,alt:""},null,8,Ul)])):((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-rr-picture centent",onClick:e[14]||(e[14]=e=>A.openCurrent(2))}))]),(0,n._)("div",Fl,[(0,n._)("div",xl,[El,(0,n._)("div",null,(0,r.zw)(A.$t("DesignDetail.CurrentColor")),1),(0,n._)("i",{class:"fi fi-rr-edit",onClick:e[15]||(e[15]=(0,o.iM)((e=>A.openCurrent(3)),["stop"]))})]),(0,n._)("div",{class:"img_block_item centent",onClick:e[16]||(e[16]=(0,o.iM)((e=>A.openCurrent(3)),["stop"]))},[(0,n._)("div",kl,[(0,n._)("div",{class:"color_content",style:(0,r.j5)({background:`rgba(${A.designItemDetail?.clothes?.[A.currentIndex].color?.r},${A.designItemDetail?.clothes?.[A.currentIndex].color?.g},${A.designItemDetail?.clothes?.[A.currentIndex].color?.b},${A.designItemDetail?.clothes?.[A.currentIndex].color?.a?A.designItemDetail?.clothes?.[A.currentIndex].color.a:1})`})},null,4),(0,n._)("div",Il,[(0,n._)("div",Sl,(0,r.zw)(A.designItemDetail?.clothes?.[A.currentIndex]?.color?.tcx),1),(0,n._)("div",Hl,(0,r.zw)(A.designItemDetail?.clothes?.[A.currentIndex]?.color?.name),1)])])])])],512),[[o.F8,A.designOrder]])]),(0,n.Wm)(l,{ref:"DesignDetailAlter"},null,512)],512),[[o.F8,1==A.designShowPrview]]),(0,n.wy)((0,n._)("div",Dl,[(0,n._)("div",Ll,[(0,n.Wm)(c,{ref:"magnifyingGlass",designItemDetailUrl:A.designItemDetailUrl},null,8,["designItemDetailUrl"])])],512),[[o.F8,2==A.designShowPrview]]),(0,n.wy)((0,n._)("div",Ol,[(0,n._)("div",Ml,[(0,n.Wm)(d,{ref:"setDesignItem",onSetDesignCoverage:A.setDesignCoverage,onSetSubmit:A.setSubmit},null,8,["onSetDesignCoverage","onSetSubmit"])])],512),[[o.F8,3==A.designShowPrview]])])),_:1},8,["visible"]),(0,n.wy)((0,n._)("div",Tl,[(0,n.Wm)(h,{size:"large"})],512),[[o.F8,A.loadingShow]])])}const Nl={class:"detail_modal_body_select"},Pl={class:"detail_uploadLibrary"},Rl={class:"switch_type_list"},Vl={class:"detail_Library"},Gl={class:"content_search_block"},zl=["placeholder"],jl=(0,n._)("span",{class:"icon iconfont icon-sousuo"},null,-1),Zl=[jl],Wl={class:"detail_Upload_item"},Xl={class:"moodboard_body"},Yl={class:"upload_img_body scroll_style"},Jl={class:"upload_item"},$l=["onClick"],ql={class:"upload_file_item_content"},Ac={class:"upload_file_item_content"},ec=["src"],tc={class:"operate_file_block"},nc={class:"select_img_type"},ic=["onClick"],rc=["onClick"],oc=(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1),sc=[oc],ac={class:"upload_file_item upload_component"},lc={class:"upload_tip_block"},cc=(0,n._)("i",{class:"fi fi-br-upload"},null,-1),dc=[cc],uc={class:"detail_Library_item"},hc={class:"material_content_body scroll_style"},gc=["alt","onClick"],pc={key:0,class:"operate_file_block"},fc={class:"select_img_type"},mc=["onClick"],Bc={class:"category_list"},wc=["onClick"],vc={class:"material_content_list_loding"},Cc=(0,n._)("img",{src:Vt,alt:""},null,-1),bc=[Cc],yc={class:"no_data_block loading_block"},_c={class:"detail_color"},Qc={class:"right_content_line"},Uc={class:"upload_right_header"},Fc=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),xc={class:"color_setting_block"},Ec={class:"color_block"},kc={class:"color_right"},Ic={class:"color_HEX_block"},Sc={class:"color_rgb_block"},Hc={class:"rgb_item"},Dc={class:"rgb_item"},Lc={class:"rgb_item"},Oc={class:"right_content_line right_content_line_upload"},Mc={class:"upload_right_header"},Tc=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),Kc={class:"upload_centetn"},Nc={class:"upload_item"},Pc={class:"upload_file_item_content"},Rc={class:"upload_file_item_content"},Vc=["src"],Gc=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-rr-picture"})],-1),zc={class:"upload_color"},jc=["onClick"],Zc=["title"],Wc={class:"right_content_line"},Xc={class:"upload_right_header"},Yc=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),Jc={class:"get_color_block"},$c=(0,n._)("span",{class:"icon iconfont icon-huoquduixiang"},null,-1),qc=(0,n._)("span",{class:"get_color_des"},null,-1),Ad=[$c,qc];function ed(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("Sketch"),u=(0,n.up)("DesignDetailEnd"),h=(0,n.Q2)("lazy"),g=(0,n.Q2)("observe");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",Nl,[(0,n.wy)((0,n._)("div",null,[(0,n._)("div",Pl,[(0,n._)("div",Rl,[(0,n._)("div",{onClick:e[0]||(e[0]=(0,o.iM)((e=>A.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("DesignDetailAlter.Upload")),1)],2),(0,n._)("div",{onClick:e[1]||(e[1]=(0,o.iM)((e=>A.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("DesignDetailAlter.Library")),1)],2)]),(0,n.wy)((0,n._)("div",Vl,[(0,n._)("div",Gl,[(0,n.wy)((0,n._)("input",{class:"search_input",placeholder:A.$t("DesignDetailAlter.inputContent1"),"onUpdate:modelValue":e[2]||(e[2]=e=>A.searchPictureName=e),onKeydown:e[3]||(e[3]=(0,o.D2)((e=>A.getLibraryList()),["enter"]))},null,40,zl),[[o.nr,A.searchPictureName]]),(0,n._)("div",{class:"search_icon_block",onClick:e[4]||(e[4]=(0,o.iM)((e=>A.getLibraryList()),["stop"]))},Zl)])],512),[[o.F8,2==A.openClick]])]),(0,n.wy)((0,n._)("div",Wl,[(0,n._)("div",Xl,[(0,n._)("div",Yl,[(0,n._)("div",Jl,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.uploadList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:e,onClick:(0,o.iM)((t=>A.selectImgItem(e)),["stop"])},[(0,n.wy)((0,n._)("div",ql,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",Ac,[(0,n._)("img",{src:e?.url,class:"upload_img"},null,8,ec),(0,n.wy)((0,n._)("div",tc,[(0,n._)("div",nc,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>A.showFileCategory(e)),["stop"])},(0,r.zw)(A.current.type),9,ic)])],512),[[o.F8,"Sketchboard"==A.selectCode]]),(0,n._)("div",{class:"delete_file_block",onClick:(0,o.iM)((e=>A.deleteFile(t)),["stop"])},sc,8,rc)],512),[[o.F8,"done"===e?.status]])],8,$l)))),128)),(0,n.wy)((0,n._)("div",ac,[(0,n.Wm)(c,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},headers:{Authorization:A.token},"file-list":A.uploadList,"onUpdate:file-list":e[5]||(e[5]=e=>A.uploadList=e),"before-upload":A.beforeUpload,maxCount:8-A.uploadList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:e[6]||(e[6]=e=>A.upFileUploadChange(e))},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",lc,dc,512),[[o.F8,8!=A.uploadList.length]])])),_:1},8,["action","data","headers","file-list","before-upload","maxCount"])],512),[[o.F8,8!=A.uploadList.length]])])])])],512),[[o.F8,1==A.openClick]]),(0,n.wy)((0,n._)("div",uc,[(0,n._)("div",hc,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.clothesList,(e=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["content_img_item",{active:"Moodboard"!==A.selectCode}]),key:e.id},[(0,n._)("div",{class:(0,r.C_)(["content_img_item_block",{active:e?.checked}])},[(0,n.wy)(((0,n.wg)(),(0,n.iD)("img",{class:(0,r.C_)(["Printboard"==A.selectCode?"print_content_img":"content_img"]),key:e.url,alt:e.name,onClick:(0,o.iM)((t=>A.selectImgItem(e)),["stop"])},null,10,gc)),[[h,e.url]]),"Sketchboard"==A.selectCode?((0,n.wg)(),(0,n.iD)("div",pc,[(0,n._)("div",fc,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>A.showFileCategory(e)),["stop"])},[(0,n.Uk)((0,r.zw)(e.level2Type)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",e.categoryShow?"icon_rotate":""])},null,2)],8,mc),(0,n.wy)((0,n._)("div",Bc,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.disignTypeList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",e.level2Type==t.value?"select_category_item":""]),key:i,onClick:(0,o.iM)((n=>A.selectFileCategory(e,t)),["stop"])},(0,r.zw)(t.label),11,wc)))),128))],512),[[o.F8,e.categoryShow]])])])):(0,n.kq)("",!0)],2)],2)))),128)),(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",vc,bc)),[[o.F8,A.total>A.clothesList.length],[g]])]),(0,n.wy)((0,n._)("div",yc,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.isShowLoading]])],512),[[o.F8,2==A.openClick]])],512),[[o.F8,(1==A.type_||2==A.type_)&&1==A.select]]),(0,n.wy)((0,n._)("div",null,[(0,n._)("div",_c,[(0,n._)("div",Qc,[(0,n._)("div",Uc,[Fc,(0,n._)("span",null,(0,r.zw)(A.$t("DesignDetailAlter.Palette")),1)]),(0,n._)("div",xc,[(0,n.Wm)(d,{class:"sketch_color",modelValue:A.selectColor,"onUpdate:modelValue":e[7]||(e[7]=e=>A.selectColor=e),show:A.colorPickerVisible},null,8,["modelValue","show"]),(0,n._)("div",Ec,[(0,n._)("div",{class:"color_left",onClick:e[8]||(e[8]=e=>A.colorBlockHex=!A.colorBlockHex)},[(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("DesignDetailAlter.HEX")),513),[[o.F8,A.colorBlockHex]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("DesignDetailAlter.RGBA")),513),[[o.F8,!A.colorBlockHex]])]),(0,n._)("div",kc,[(0,n.wy)((0,n._)("div",Ic,[(0,n._)("div",{class:"color_block_bg",style:(0,r.j5)({"background-color":`rgba(${A.getSelectRGB(A.selectColor).r},${A.getSelectRGB(A.selectColor).g},${A.getSelectRGB(A.selectColor).b},${A.getSelectRGB(A.selectColor).a})`})},null,4),(0,n._)("div",null,(0,r.zw)(A.getSelectRGB(A.selectColor).hex),1)],512),[[o.F8,A.colorBlockHex]]),(0,n.wy)((0,n._)("div",Sc,[(0,n._)("div",{class:"color_block_bg",style:(0,r.j5)({"background-color":`rgba(${A.getSelectRGB(A.selectColor).r},${A.getSelectRGB(A.selectColor).g},${A.getSelectRGB(A.selectColor).b},${A.getSelectRGB(A.selectColor).a})`})},null,4),(0,n._)("div",Hc,(0,r.zw)(A.getSelectRGB(A.selectColor).r)+",",1),(0,n._)("div",Dc,(0,r.zw)(A.getSelectRGB(A.selectColor).g)+",",1),(0,n._)("div",Lc,(0,r.zw)(A.getSelectRGB(A.selectColor).b),1)],512),[[o.F8,!A.colorBlockHex]])])])])]),(0,n._)("div",Oc,[(0,n._)("div",Mc,[Tc,(0,n._)("span",null,(0,r.zw)(A.$t("DesignDetailAlter.UploadImage")),1)]),(0,n._)("div",Kc,[(0,n._)("div",Nc,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.colorFileList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:t},[(0,n.wy)((0,n._)("div",Pc,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"done"!==t.status]]),(0,n.wy)((0,n._)("div",Rc,[(0,n._)("img",{src:t?.imgUrl,class:"upload_img",ref_for:!0,ref:"colorImage"},null,8,Vc),(0,n._)("div",{class:"delete_file_block",onClick:e[9]||(e[9]=e=>A.colorDeleteFile(A.index))},(0,r.zw)(A.$t("DesignDetailAlter.Delete")),1)],512),[[o.F8,"done"===t.status]])])))),128)),(0,n.wy)((0,n.Wm)(c,{"list-type":"picture-card",customRequest:function(){},onChange:A.fileUploadChange,"before-upload":A.beforeUpload,accept:".jpg,.png,.jpeg,.bmp"},{default:(0,n.w5)((()=>[Gc])),_:1},8,["customRequest","onChange","before-upload"]),[[o.F8,A.colorFileList.length<1]])]),(0,n._)("div",zc,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.selectColorList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,onClick:t=>A.setUplpadColor(e),class:"upload_color_item"},[(0,n._)("div",{class:"upload_color_item_bg",style:(0,r.j5)({"background-color":`rgba(${e.rgba.r},${e.rgba.g},${e.rgba.b},${e.rgba.a})`})},null,4),(0,n._)("img",{src:"#",title:A.pantongNameList[t]},null,8,Zc)],8,jc)))),128))])])]),(0,n._)("div",Wc,[(0,n._)("div",Xc,[Yc,(0,n._)("span",null,(0,r.zw)(A.$t("DesignDetailAlter.ColorCode")),1)]),(0,n._)("div",Jc,[(0,n.wy)((0,n._)("input",{class:"get_color_input",placeholder:"tcx value (e.g.: 19-4052)","onUpdate:modelValue":e[10]||(e[10]=e=>A.tcxColor=e),onKeydown:e[11]||(e[11]=(0,o.D2)((e=>A.getTcxColor()),["enter"]))},null,544),[[o.nr,A.tcxColor]]),(0,n._)("div",{class:"get_color_button",onClick:e[12]||(e[12]=e=>A.getTcxColor())},Ad)])])])],512),[[o.F8,3==A.type_&&1==A.select]])]),(0,n.Wm)(u,{ref:"DesignDetailEnd"},null,512)],64)}const td=A=>((0,n.dD)("data-v-7ee5c194"),A=A(),(0,n.Cn)(),A),nd={class:"detail_modal_body_result"},id={class:"result_apparel_print"},rd={class:"upload_title result_apparel"},od=td((()=>(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1))),sd={class:"result_print"},ad={class:"upload_title"},ld=td((()=>(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1))),cd={class:"print_left"},dd=["src"],ud={key:1,src:"@/assets/images/homePage/null_img.png"},hd=td((()=>(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1))),gd=[hd],pd={class:"upload_title"},fd=td((()=>(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1))),md={class:"print_right"},Bd={class:"habit_Overal_Single"},wd={class:"result_apparel_print_img"},vd=["src","title"],Cd=["title"],bd=["src"],yd={class:"result_color upload_title"},_d=td((()=>(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1))),Qd={class:"modal_img"},Ud=["title","onClick","onDblclick"],Fd={class:"color_content_body"},xd={class:"color_des"},Ed={class:"color_des"},kd={class:"mark_loading"};function Id(A,e,t,i,s,a){const l=(0,n.up)("a-switch"),c=(0,n.up)("DesignPrintOperation"),d=(0,n.up)("a-spin");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",nd,[(0,n.wy)((0,n._)("div",id,[(0,n.wy)((0,n._)("div",rd,[od,(0,n._)("span",null,(0,r.zw)(A.$t("DesignDetailEnd.NewApparel")),1)],512),[[o.F8,1==A.type_]]),(0,n.wy)((0,n._)("div",sd,[(0,n._)("div",null,[(0,n._)("div",ad,[ld,(0,n._)("span",null,(0,r.zw)(A.$t("DesignDetailEnd.NewPrint")),1)]),(0,n._)("div",cd,[A.current?.printObject?.prints?.[0]?.path?((0,n.wg)(),(0,n.iD)("img",{key:0,src:A.current?.printObject?.prints?.[0]?.path},null,8,dd)):((0,n.wg)(),(0,n.iD)("div",ud)),(0,n.wy)((0,n._)("div",{class:"delete_file_block",onClick:e[0]||(e[0]=(...e)=>A.deleteFile&&A.deleteFile(...e))},gd,512),[[o.F8,A.current?.printObject?.prints?.[0]?.path]])])]),(0,n._)("div",null,[(0,n._)("div",pd,[fd,(0,n._)("span",null,(0,r.zw)(A.$t("DesignDetailEnd.Placement")),1)]),(0,n._)("div",md,[(0,n._)("div",Bd,[(0,n._)("div",{class:(0,r.C_)(["habit_Overal_Single_text",{active:!A.overallSingle}])},(0,r.zw)(A.$t("DesignDetailEnd.Overall")),3),(0,n.Wm)(l,{onClick:A.setOveralSingle,checked:A.overallSingle,"onUpdate:checked":e[1]||(e[1]=e=>A.overallSingle=e)},null,8,["onClick","checked"]),(0,n._)("div",{class:(0,r.C_)(["habit_Overal_Single_text",{active:A.overallSingle}])},(0,r.zw)(A.$t("DesignDetailEnd.Single")),3)])])])],512),[[o.F8,2==A.type_]]),(0,n._)("div",wd,[(0,n.wy)((0,n._)("img",{class:"result_appare_img",src:A.sketchImg?.id_?A.sketchImg?.path:A.current?.path,title:A.current?.type},null,8,vd),[[o.F8,1==A.type_]]),(0,n.wy)((0,n._)("div",{class:"result_print_img",onClick:e[2]||(e[2]=(...e)=>A.setPrint&&A.setPrint(...e)),title:A.current?.type},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.current.layersObject,(A=>((0,n.wg)(),(0,n.iD)("img",{src:A.imageUrl,alt:""},null,8,bd)))),256))],8,Cd),[[o.F8,2==A.type_]])])],512),[[o.F8,1==A.type_||2==A.type_]]),(0,n.wy)((0,n._)("div",null,[(0,n._)("div",yd,[_d,(0,n._)("span",null,(0,r.zw)(A.$t("DesignDetailEnd.NewColor")),1)]),(0,n._)("div",Qd,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.colorList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:e},[(0,n._)("div",{title:e?.name?e?.name:"",onClick:n=>A.selectColorItem(t,e),onDblclick:t=>A.setSelectColorItem(e),class:(0,r.C_)(["upload_color",A.selectIndex===t?"select_upload_color":""]),style:(0,r.j5)({background:`rgba(${e?.r},${e?.g},${e?.b},${e?.a})`})},[(0,n._)("div",{class:"color_content",style:(0,r.j5)({"background-color":`rgba(${e.rgba?.r},${e.rgba?.g},${e.rgba?.b},${e.rgba?.a})`})},null,4),(0,n._)("div",Fd,[(0,n._)("div",xd,(0,r.zw)(e.tcx),1),(0,n._)("div",Ed,(0,r.zw)(e.name),1)])],46,Ud)])))),128))])],512),[[o.F8,3==A.type_]]),(0,n.wy)((0,n._)("div",{onClick:e[3]||(e[3]=(0,o.iM)(((...e)=>A.setPreview&&A.setPreview(...e)),["stop"])),class:"subitOkPreviewBtn"},(0,r.zw)(A.$t("DesignDetailEnd.preview")),513),[[o.F8,1==A.type_||3==A.type_]]),2==A.type_&&null!=A.current?.printObject?.prints?.[0]?.path?((0,n.wg)(),(0,n.iD)("div",{key:0,onClick:e[4]||(e[4]=(0,o.iM)(((...e)=>A.setPrint&&A.setPrint(...e)),["stop"])),class:"subitOkPreviewBtn"},(0,r.zw)(A.$t("DesignDetailEnd.Layout")),1)):2==A.type_&&null==A.current?.printObject?.prints?.[0]?.path?((0,n.wg)(),(0,n.iD)("div",{key:1,onClick:e[5]||(e[5]=(0,o.iM)(((...e)=>A.setPreview&&A.setPreview(...e)),["stop"])),class:"subitOkPreviewBtn"},(0,r.zw)(A.$t("DesignDetailEnd.preview")),1)):(0,n.kq)("",!0),(0,n.Wm)(c,{ref:"DesignPrintOperation"},null,512)]),(0,n.wy)((0,n._)("div",kd,[(0,n.Wm)(d,{size:"large"})],512),[[o.F8,A.loadingShow]])],64)}const Sd={class:"designOpenrtion_content"},Hd={class:"design_title_text"},Dd=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),Ld=[Dd],Od={class:"designOpenrtion_open"},Md={class:"print_right"},Td={class:"habit_Overal_Single"},Kd={class:"habit_System_Designer"},Nd={class:"print_input"},Pd=["placeholder"],Rd={class:"designOpenrtion_nav"},Vd=["src","onClick"],Gd={class:"designOpenrtion_overall"},zd=["src"],jd={class:"designOpenrtion_centent",id:"designOpenrtionCentent"},Zd={class:"designOpenrtion_imgMask"},Wd={class:"designOpenrtion_print"},Xd=["onMousedown","onClick"],Yd=["src"],Jd=["src"],$d=["src"],qd={class:"designOpenrtion_btn"},Au=["onMousedown"],eu={class:"designOpenrtion_rotote"},tu=["onMousedown"],nu=(0,n._)("i",{class:"fi fi-rr-arrows animtion1"},null,-1),iu=(0,n._)("i",{class:"fi fi-rr-arrows animtion2"},null,-1),ru=[nu,iu],ou={class:"mark_loading"};function su(A,e,t,i,s,a){const l=(0,n.up)("a-switch"),c=(0,n.up)("a-slider"),d=(0,n.up)("a-spin"),u=(0,n.up)("a-modal"),h=(0,n.Q2)("rotote");return(0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(u,{class:"designOpenrtion_modal",visible:A.designOpenrtion,"onUpdate:visible":e[12]||(e[12]=e=>A.designOpenrtion=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,mask:!0},{default:(0,n.w5)((()=>[(0,n._)("div",Sd,[(0,n._)("div",Hd,[(0,n._)("div",null,(0,r.zw)(A.$t("DesignPrintOperation.Placement")),1)]),(0,n._)("div",{class:"design_closeIcon",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.closeModal()),["stop"]))},Ld),(0,n._)("div",Od,[(0,n._)("div",Md,[(0,n._)("div",Td,[(0,n._)("div",{class:(0,r.C_)(["habit_Overal_Single_text",{active:!A.overallSingle}])},(0,r.zw)(A.$t("DesignPrintOperation.Overall")),3),(0,n.Wm)(l,{checked:A.overallSingle,"onUpdate:checked":e[1]||(e[1]=e=>A.overallSingle=e),onChange:A.setOveralSingle},null,8,["checked","onChange"]),(0,n._)("div",{class:(0,r.C_)(["habit_Overal_Single_text",{active:A.overallSingle}])},(0,r.zw)(A.$t("DesignPrintOperation.Single")),3)]),(0,n.wy)((0,n._)("div",Kd,[(0,n.Wm)(c,{id:"system_silder",value:A.systemDesignerPercentage,"onUpdate:value":e[2]||(e[2]=e=>A.systemDesignerPercentage=e),onAfterChange:A.systemDesigner,"tip-formatter":A.formatter},null,8,["value","onAfterChange","tip-formatter"])],512),[[o.F8,!A.overallSingle]]),(0,n.wy)((0,n._)("div",{onClick:e[3]||(e[3]=(...e)=>A.random&&A.random(...e)),class:"button_second"},(0,r.zw)(A.$t("DesignPrintOperation.Random")),513),[[o.F8,A.overallSingle]]),(0,n.wy)((0,n._)("div",Nd,[(0,n.wy)((0,n._)("input",{class:"search_input",placeholder:A.$t("DesignPrintOperation.inputContent"),type:"Number","onUpdate:modelValue":e[4]||(e[4]=e=>A.printAmount=e),onInput:e[5]||(e[5]=(...e)=>A.setprintAmount&&A.setprintAmount(...e))},null,40,Pd),[[o.nr,A.printAmount]]),(0,n._)("i",{class:"fi fi-rr-trash",onClick:e[6]||(e[6]=(...e)=>A.deletePrint&&A.deletePrint(...e))})],512),[[o.F8,A.overallSingle]]),(0,n._)("div",Rd,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.designOpenrtionList,((e,t)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["designOpenrtion_single",{active:!!A.printStyleList[t]?.designOpenrtionBtn&&A.printStyleList[t]?.designOpenrtionBtn}]),key:e},[(0,n._)("img",{src:e.path,onClick:n=>A.setpitch(e,t)},null,8,Vd)],2)),[[o.F8,A.overallSingle]]))),128)),(0,n.wy)((0,n._)("div",Gd,[(0,n._)("img",{src:A.designOpenrtionList[0].path},null,8,zd)],512),[[o.F8,!A.overallSingle]])]),(0,n._)("div",{class:"subitOkPreviewBtn",onClick:e[7]||(e[7]=(0,o.iM)(((...e)=>A.setPreview&&A.setPreview(...e)),["stop"]))},(0,r.zw)(A.$t("DesignPrintOperation.preview")),1)])]),(0,n._)("div",jd,[(0,n._)("div",Zd,[(0,n.wy)((0,n._)("div",Wd,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.designOpenrtionList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,style:(0,r.j5)([A.printStyleList?.[t]?.style]),onMousedown:(0,o.iM)((e=>A.itemMoveMousedown(t,e)),["stop"]),class:"modal_imgItem",onClick:n=>A.setpitch(e,t),ref_for:!0,ref:"content"},[(0,n._)("img",{crossOrigin:"anonymous",src:e?.path,style:(0,r.j5)({transform:`rotateZ(${A.printStyleList[t]?.transform?.rotateZ}deg)`}),class:"designOpenrtion_imgItme",draggable:"false"},null,12,Yd)],44,Xd)))),128))],512),[[o.F8,A.overallSingle]]),(0,n._)("img",{src:A.current?.path,alt:"",class:"designOpenrtion_sketch"},null,8,Jd),(0,n.wy)((0,n._)("img",{src:A.current?.layersObject?.[1]?.maskUrl,alt:"",class:"designOpenrtion_sketch_mask"},null,8,$d),[[o.F8,A.overallSingle]]),(0,n._)("div",qd,[A.overallSingle?((0,n.wg)(!0),(0,n.iD)(n.HY,{key:0},(0,n.Ko)(A.printStyleList,((t,i)=>((0,n.wg)(),(0,n.iD)("ul",{key:t,class:(0,r.C_)([{active:!!t?.designOpenrtionBtn&&t?.designOpenrtionBtn},"designOpenrtion_Mousingle"]),style:(0,r.j5)(t.style),onMousedown:(0,o.iM)((e=>A.itemMoveMousedown(i,e)),["stop"])},[(0,n._)("li",{class:"designOpenrtion_btn_top",onMousedown:e[8]||(e[8]=(0,o.iM)((e=>A.itemSizeMousedown("top",e)),["stop"]))},null,32),(0,n._)("li",{class:"designOpenrtion_btn_bottom",onMousedown:e[9]||(e[9]=(0,o.iM)((e=>A.itemSizeMousedown("bottom",e)),["stop"]))},null,32),(0,n._)("li",{class:"designOpenrtion_btn_left",onMousedown:e[10]||(e[10]=(0,o.iM)((e=>A.itemSizeMousedown("left",e)),["stop"]))},null,32),(0,n._)("li",{class:"designOpenrtion_btn_right",onMousedown:e[11]||(e[11]=(0,o.iM)((e=>A.itemSizeMousedown("right",e)),["stop"]))},null,32),(0,n.wy)((0,n._)("li",eu,null,512),[[h,[i,t.transform],void 0,{stop:!0}]])],46,Au)))),128)):(0,n.kq)("",!0),(0,n.wy)((0,n._)("div",null,null,512),[[o.F8,!A.overallSingle]]),A.overallSingle?(0,n.kq)("",!0):((0,n.wg)(!0),(0,n.iD)(n.HY,{key:1},(0,n.Ko)(A.printStyleList,((e,t)=>((0,n.wg)(),(0,n.iD)("ul",{key:e,class:(0,r.C_)([{active:!!e?.designOpenrtionBtn&&e?.designOpenrtionBtn},"designOpenrtion_Mouoverall"]),style:(0,r.j5)("left:"+e.style.left+";top:"+e.style.top),onMousedown:(0,o.iM)((e=>A.itemMoveMousedown(t,e)),["stop"])},ru,46,tu)))),128))])])])]),(0,n.wy)((0,n._)("div",ou,[(0,n.Wm)(d,{size:"large"})],512),[[o.F8,A.loadingShow]])])),_:1},8,["visible"])])}var au=(0,n.aZ)({setup(A){let e=(0,X.iH)(!1),t=(0,X.iH)([]),i=(0,n.f3)("current"),r=(0,n.f3)("setRevocation"),o=(0,X.iH)(!1),s=(0,X.iH)(0),a=(0,X.iH)(1),l=(0,X.iH)(2),c=(0,X.iH)([{centers:{left:0,top:0},style:{left:"0px",top:"0px",right:"auto",bottom:"auto",width:"auto",height:"auto",zIndex:1},transform:{scale:1,rotateZ:0},designOpenrtionBtn:!1}]),d=(0,X.iH)(""),u=(0,X.iH)(),h=(0,X.iH)(0),g=(0,X.iH)({width:"",height:""}),p=(0,X.iH)({width:"",height:""}),f=(0,X.iH)(!1),{t:m}=(0,st.QT)();return{designOpenrtion:e,designOpenrtionList:t,overallSingle:o,systemDesignerPercentage:s,current:i,printAmount:a,printZIndex:l,printStyleList:c,direction:d,imgDom:u,imgDomIndex:h,print:g,sketch:p,loadingShow:f,setRevocation:r,t:m}},data(){return{store:(0,RA.oR)()}},directives:{rotote:{mounted(A,e){A.addEventListener("mousedown",(t=>{let n=document.getElementsByClassName("designOpenrtion_modal")[0].getElementsByClassName("modal_imgItem")[e.instance.imgDomIndex],i=!0,r=0,o=1;o=e.instance.printStyleList[e.instance.imgDomIndex].transform.scale,r=e.instance.printStyleList[e.instance.imgDomIndex].transform.rotateZ,A.style.transform="rotateZ("+r+"deg)",t.stopPropagation(),i=!0;var s=A.getBoundingClientRect();let a=s.x+s.width/2,l=s.y+s.height/2,c=e=>{if(i){let t=a,i=l,o=e.clientX-t,s=i-e.clientY;r=Math.atan2(o,s)*(180/Math.PI),n.firstElementChild.style.transform="rotateZ("+r+"deg)",A.style.transform="rotateZ("+r+"deg)"}};document.addEventListener("mousemove",c);let d=()=>{e.instance.printStyleList[e.instance.imgDomIndex].transform.rotateZ=r,i=!1,document.removeEventListener("mouseup",d),document.removeEventListener("mousemove",c)};document.addEventListener("mouseup",d)}))}}},methods:{init(){let A=this.$parent;this.designOpenrtion=!0,this.clearModal(),this.designOpenrtionList=[],this.designOpenrtionList.push(...this.current.printObject.prints),this.overallSingle=A.overallSingle,this.systemDesignerPercentage=A.systemDesignerPercentage;let e=new Image;e.src=this.current.path,e.onload=()=>{this.sketch.width=e.width/10+"rem",this.sketch.height=e.height/10+"rem"};let t=new Image;t.src=this.current.printObject.prints[0].path,t.onload=()=>{let A=document.getElementsByClassName("designOpenrtion_modal")[0]?.getElementsByClassName("designOpenrtion_sketch")[0];this.sketch.width.replace(/rem/g,""),A.offsetWidth;this.print.width=t.width+"px",this.print.height=t.height+"px",this.printStyleList[0].style.width=t.width+"px",this.printStyleList[0].style.height=t.height+"px",this.printStyleList[0].designOpenrtionBtn=!1,(0,n.Y3)().then((()=>{this.designOpenrtionList[0].scale?this.designOpenrtionList.forEach(((A,e)=>{this.setTemplate(A,e),this.printAmount=this.printStyleList.length,this.overallSingle||(this.printAmount=1,this.setprintAmount()),this.current.printObject.ifSingle!=this.overallSingle&&this.refetchTemplate(0)})):this.refetchTemplate(0)}))}},systemDesigner(A){let e=this.$parent;e.systemDesignerPercentage=A},formatter(A){return 3*A+"%"},setOveralSingle(){let A=this.$parent;A.overallSingle=this.overallSingle,this.overallSingle?this.random():(this.printAmount=1,this.setprintAmount())},setpitch(A,e){this.printStyleList.forEach((A=>{A.designOpenrtionBtn=!1})),this.imgDomIndex=e,this.printStyleList[e].designOpenrtionBtn=!0,this.printStyleList[e].style.zIndex=this.printZIndex++},itemMoveMousedown(A,e){this.imgDomIndex=A,this.printStyleList.forEach((A=>{A.designOpenrtionBtn=!1})),this.overallSingle?this.imgDom=document.getElementsByClassName("designOpenrtion_modal")[0].getElementsByClassName("modal_imgItem")[this.imgDomIndex]:this.imgDom=document.getElementsByClassName("designOpenrtion_modal")[0].getElementsByClassName("designOpenrtion_Mouoverall")[0];let t=Number(this.imgDom.children[0].style.transform?.split("scale(")[1]?.split(")")[0]),n=Number(this.imgDom.children[0].style.transform?.split("rotateZ(")[1]?.split("deg")[0]);this.printStyleList[A].designOpenrtionBtn=!0,this.printStyleList[A].style.zIndex=this.printZIndex++,this.printStyleList[A].transform={scale:t,rotateZ:n};let i=this.imgDom.getBoundingClientRect(),r=Number(this.printStyleList[A].style.left.replace(/px/g,"")),o=Number(this.printStyleList[A].style.top.replace(/px/g,""));this.printStyleList[A].centers.left=i.x+e.offsetX-r,this.printStyleList[A].centers.top=i.y+e.offsetY-o,document.addEventListener("mouseup",this.mouseup),document.addEventListener("mousemove",this.moveMousemove)},itemSizeMousedown(A,e){this.direction=A,this.imgDom=document.getElementsByClassName("designOpenrtion_modal")[0].getElementsByClassName("modal_imgItem")[this.imgDomIndex];let t=Number(this.imgDom.firstChild.style.transform?.split("scale(")[1]?.split(")")[0]),n=Number(this.imgDom.firstChild.style.transform?.split("rotateZ(")[1]?.split("deg")[0]);this.printStyleList[this.imgDomIndex].designOpenrtionBtn=!0,this.printStyleList[this.imgDomIndex].transform={scale:t,rotateZ:n};let i=this.imgDom.getBoundingClientRect(),r=document.getElementsByClassName("designOpenrtion_modal")[0].getElementsByClassName("designOpenrtion_btn_top")[0].offsetWidth/2;"right"==this.direction||"bottom"==this.direction?(this.printStyleList[this.imgDomIndex].centers.left=i.x+e.offsetX-r,this.printStyleList[this.imgDomIndex].centers.top=i.y+e.offsetY-r):(this.printStyleList[this.imgDomIndex].centers.left=i.x+e.offsetX+i.width-r,this.printStyleList[this.imgDomIndex].centers.top=i.y+e.offsetY+i.height-r),document.addEventListener("mouseup",this.sizeMouseup),document.addEventListener("mousemove",this.sizeMousemove)},moveMousemove(A){let e=this.imgDom.getBoundingClientRect(),t=document.getElementsByClassName("designOpenrtion_modal")[0].getElementsByClassName("designOpenrtion_imgMask")[0];t=t.getBoundingClientRect();let n=A.x-this.printStyleList[this.imgDomIndex].centers.left+"px",i=A.y-this.printStyleList[this.imgDomIndex].centers.top+"px";this.printStyleList[this.imgDomIndex].style.left=n,this.printStyleList[this.imgDomIndex].style.top=i,this.overallSingle||(n.replace(/px/g,"")>=t.width-e.width&&(this.printStyleList[this.imgDomIndex].style.left=t.width-e.width+"px"),n.replace(/px/g,"")<=0&&(this.printStyleList[this.imgDomIndex].style.left="0px"),i.replace(/px/g,"")>=t.height-e.height&&(this.printStyleList[this.imgDomIndex].style.top=t.height-e.height+"px"),i.replace(/px/g,"")<=0&&(this.printStyleList[this.imgDomIndex].style.top="0px"))},sizeMousemove(A){let e,t,n=this.imgDom.getBoundingClientRect(),i=this.imgDom.parentNode,r=n.width,o=n.height,s=r/o,a=o/r;"right"==this.direction?(e=A.x-this.printStyleList[this.imgDomIndex].centers.left,t=(A.x-this.printStyleList[this.imgDomIndex].centers.left)*s,r=e+"px",o=e*a+"px"):"top"==this.direction?(this.printStyleList[this.imgDomIndex].style.top="auto",this.printStyleList[this.imgDomIndex].style.bottom=i.offsetHeight-n.height-this.imgDom.offsetTop+"px",e=(A.x-this.printStyleList[this.imgDomIndex].centers.left)*s,t=this.printStyleList[this.imgDomIndex].centers.top-A.y,o=t+"px",r=t*s+"px"):"bottom"==this.direction?(t=A.y-this.printStyleList[this.imgDomIndex].centers.top,o=t+"px",r=t*s+"px"):"left"==this.direction&&(this.printStyleList[this.imgDomIndex].style.left="auto",this.printStyleList[this.imgDomIndex].style.right=i.offsetWidth-n.width-this.imgDom.offsetLeft+"px",e=this.printStyleList[this.imgDomIndex].centers.left-A.x,r=e+"px",o=e*a+"px"),this.printStyleList[this.imgDomIndex].style.width=r,this.printStyleList[this.imgDomIndex].style.height=o},sizeMouseup(A){this.printStyleList[this.imgDomIndex].style={right:"auto",left:this.imgDom.offsetLeft+"px",bottom:"auto",top:this.imgDom.offsetTop+"px",height:this.imgDom.offsetHeight+"px",width:this.imgDom.offsetWidth+"px",zIndex:this.printZIndex},document.removeEventListener("mouseup",this.sizeMouseup),document.removeEventListener("mousemove",this.sizeMousemove)},mouseup(A){document.removeEventListener("mouseup",this.mouseup),document.removeEventListener("mousemove",this.moveMousemove)},setprintAmount(){if(this.printAmount<1)return void(this.printAmount=1);if(this.printAmount>20)return void(this.printAmount=20);if(this.printAmount>this.printStyleList.length){let A=this.printAmount-this.printStyleList.length;for(let e=0;e<A;e++)this.printStyleList.push(JSON.parse(JSON.stringify(this.printStyleList[this.printStyleList.length-1]))),this.printStyleList[this.printStyleList.length-1].transform.rotateZ=0,this.refetchTemplate(this.printStyleList.length-1),this.designOpenrtionList.push(this.current.printObject.prints[this.current.printObject.prints.length-1])}else{let A=this.printStyleList.length-this.printAmount;this.designOpenrtionList.splice(this.printStyleList.length-A,A),this.printStyleList.splice(this.printStyleList.length-A,A)}this.printStyleList.forEach((A=>{A.designOpenrtionBtn=!1})),this.printStyleList[this.printStyleList.length-1].designOpenrtionBtn=!0,this.imgDomIndex=this.printStyleList.length-1},deletePrint(){this.designOpenrtionList.length<=1||(this.designOpenrtionList.splice(this.imgDomIndex,1),this.printStyleList.splice(this.imgDomIndex,1),this.printAmount=this.designOpenrtionList.length)},random(){this.designOpenrtionList.forEach(((A,e)=>{this.refetchTemplate(e)}))},refetchTemplate(A){Math.trunc(360*Math.random()),Math.trunc(360*Math.random());let e,t,n=document.getElementsByClassName("designOpenrtion_modal")[0]?.getElementsByClassName("designOpenrtion_sketch")[0];this.print.width>this.print.height?(e=Math.trunc(Math.random()*(n?.width-n?.width/2))+n?.width/3,t=e/this.print.width.replace(/px/g,"")):(e=Math.trunc(Math.random()*(n?.height-n?.height/2))+n?.height/3,t=e/this.print.height.replace(/px/g,""));let i=n?.width-this.print.width.replace(/px/g,"")*t,r=n?.height-this.print.height.replace(/px/g,"")*t;this.printStyleList[A]={centers:{left:0,top:0},style:{left:Math.trunc(Math.random()*i)+1+"px",top:Math.trunc(Math.random()*r)+1+"px",right:"auto",bottom:"auto",width:this.print.width.replace(/px/g,"")*t+"px",height:this.print.height.replace(/px/g,"")*t+"px",zIndex:this.printZIndex++},transform:{rotateZ:0!=this.printStyleList[A].transform.rotateZ?this.printStyleList[A].transform.rotateZ:0},designOpenrtionBtn:!1}},setTemplate(A,e){this.designOpenrtionList;let t,n=document.getElementsByClassName("designOpenrtion_modal")[0]?.getElementsByClassName("designOpenrtion_sketch")[0],i=10*this.sketch.width.replace(/rem/g,"")/n.offsetWidth;t=this.print.width.replace(/px/g,"")*i/this.print.width.replace(/px/g,"");let r=1,o=A.location[0]/i+"px",s=A.location[1]/i+"px";n.offsetWidth<A.location[0]/i&&(o=n.offsetWidth+"px"),n.offsetHeight<A.location[1]/i&&(s=n.offsetHeight+"px"),this.printStyleList[e]={centers:{left:0,top:0},style:{left:o,top:s,right:"auto",bottom:"auto",width:this.print.width.replace(/px/g,"")/i*A.scale+"px",height:this.print.height.replace(/px/g,"")/i*A.scale+"px",zIndex:r++},transform:{rotateZ:A.angle},designOpenrtionBtn:!1}},computeZindex(){let A=JSON.parse(JSON.stringify(this.printStyleList));A.sort(((A,e)=>{var t=A["style"].zIndex,n=e["style"].zIndex;return t-n}));let e=1;return A.forEach((A=>{A.style.zIndex=e++})),this.computeSize(A)},computeSize(A){let e,t,n=document.getElementsByClassName("designOpenrtion_sketch")[0],i=10*this.sketch.width.replace(/rem/g,"")/n.offsetWidth,r=[];return A.forEach(((n,o)=>{this.overallSingle?(e=A[o].style.width.replace(/px/g,"")*i/this.print.width.replace(/px/g,""),t=[A[o].style.left.replace(/px/g,"")*i,A[o].style.top.replace(/px/g,"")*i]):(e=3*this.systemDesignerPercentage/100,t=[A[o].style.left.replace(/px/g,"")*i,A[o].style.top.replace(/px/g,"")*i]);let s={angle:this.overallSingle?A[o].transform.rotateZ:0,location:t,priority:A[o].style.zIndex,scale:e,path:this.designOpenrtionList[o].path,minIOPath:this.designOpenrtionList[o].minIOPath};r.push(s)})),r},setPreview(){let A,e=JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail));this.printStyleList[0].style.width.replace(/px/g,""),this.print.width.replace(/px/g,"");e.clothes.forEach(((e,t)=>{e.id==this.current.id&&(A=t)}));e.clothes.map((A=>A.type));let t=this.store.state.DesignDetailModule.designPreviewData;t.designSingleItemDTOList[A].printObject={ifSingle:this.overallSingle,prints:this.computeZindex()},t.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.loadingShow=!0,PA.V.axiosPost(PA.V.httpUrls.designSingle,t).then((n=>{e.currentFullBodyView=n.currentFullBodyView,e.clothes[A].printObject.ifSingle=this.overallSingle,e.clothes[A].layersObject=n.clothes[A].layersObject,e.clothes[A].printObject.prints=this.computeZindex(),e.ifSubmit=!0,e.clothes.forEach(((A,e)=>{let t;-1==A.layersObject[0].imageCategory.indexOf("back")&&(t=A.layersObject[0],A.layersObject[0]=A.layersObject[1],A.layersObject[1]=t),A.layersObject[0].id=this.store.state.DesignDetailModule.designItemDetail.clothes[e].layersObject[0].id,A.layersObject[1].id=this.store.state.DesignDetailModule.designItemDetail.clothes[e].layersObject[1].id})),this.store.commit("setDesignItemDetail",e),this.store.commit("setDesignPreviewData",t),this.setRevocation(e,t),this.loadingShow=!1,this.designOpenrtion=!1})).catch((A=>{this.loadingShow=!1}))},clearModal(){this.printAmount=1,this.designOpenrtion=!0,this.printZIndex=2,this.imgDomIndex=0,this.designOpenrtionList=[],this.printStyleList.splice(1,this.printStyleList.length-1),this.printStyleList[0]={centers:{left:0,top:0},style:{left:"0px",top:"0px",right:"auto",bottom:"auto",width:"auto",height:"auto",zIndex:1},transform:{scale:1,rotateZ:0},designOpenrtionBtn:!1}},closeModal(){JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail));let A=this;zs.Z.confirm({title:this.t("DesignPrintOperation.jsContent1"),icon:(0,n.Wm)(Gs.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){A.designOpenrtion=!1}})}}});const lu=(0,oe.Z)(au,[["render",su]]);var cu=lu,du=(0,n.aZ)({props:["msg"],components:{Draggable:ni(),Sketch:po.Sketch,DesignPrintOperation:cu},setup(A){const e=(0,RA.oR)();let t=(0,X.iH)(0),i=(0,n.f3)("current"),r=(0,n.f3)("setRevocation"),o=(0,X.iH)({}),s=(0,X.iH)(!1),a=(0,X.iH)(30),l=(0,X.iH)([{},{},{},{},{},{},{},{}]),c=(0,X.iH)(!1),{t:d}=(0,st.QT)();return{store:e,current:i,setRevocation:r,sketchImg:o,type_:t,overallSingle:s,systemDesignerPercentage:a,colorList:l,loadingShow:c,t:d}},data(){return{selectIndex:0,getRGBA:{},selectColor:{}}},methods:{init(A){this.type_=A,this.colorList[this.selectIndex]=this.$parent.selectColor,this.overallSingle=null!=this.current?.printObject?.ifSingle&&this.current?.printObject?.ifSingle,this.systemDesignerPercentage=this.current?.printObject?.scale?this.current?.printObject?.scale:30},setSketchImg(A){this.sketchImg.id_=A.id,this.sketchImg.path=A.url,this.sketchImg.minIOPath=A.minIOPath},systemDesigner(A){this.current.printObject.scale=A},setOveralSingle(){this.current.printObject.ifSingle=this.overallSingle},formatter(A){return 3*A+"%"},setPrint(){if(this.current?.printObject?.prints?.[0]?.path){let A=this.$refs.DesignPrintOperation;A.init()}else KA.ZP.info(this.t("DesignDetailEnd.jsContent1"))},deleteFile(){this.current.printObject={}},selectColorItem(A,e){let t,n=this.$parent;this.selectIndex=A,this.$parent.selectIndex=A,this.$parent.selectColor.rgba.r==e?.rgba?.r&&this.$parent.selectColor.rgba.g==e?.rgba?.g&&this.$parent.selectColor.rgba.b==e?.rgba?.b||(t=e.rgba?.r?n.rgbaToHex([e.rgba.r,e.rgba.g,e.rgba.b,e.rgba.a]):"#FFFFFF",this.$parent.selectColor=""!=e?.rgba?.r?{rgba:{r:e.rgba?.r,g:e.rgba?.g,b:e.rgba?.b,a:e.rgba?.a},hex:t}:{},this.$parent.tcxColor="",this.$parent.pantongName="")},setSelectColorItem(A){let e=this.store.state.DesignDetailModule.designItemDetail,t=`${A.rgba.r},${A.rgba.g},${A.rgba.b},${A.rgba.a}`;this.current.color=t,e.clothes.forEach(((A,t)=>{A.id==this.current.id&&(e.clothes[t]=this.current)}))},setPreview(){let A,e=JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail)),t=JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designPreviewData));if(e.clothes.forEach(((e,t)=>{e.id==this.current.id&&(A=t)})),1==this.type_)t.designSingleItemDTOList[A].path!=this.sketchImg.minIOPath&&this.sketchImg.id_&&(t.designSingleItemDTOList[A].offset=[0,0],t.designSingleItemDTOList[A].scale=1),t.designSingleItemDTOList[A].id=this.sketchImg.id_?this.sketchImg.id_:this.current.id_,t.designSingleItemDTOList[A].path=this.sketchImg.minIOPath?this.sketchImg.minIOPath:this.current.minIOPath;else if(2==this.type_)t.designSingleItemDTOList[A].printObject.ifSingle=!1,t.designSingleItemDTOList[A].printObject.prints=[];else if(3==this.type_){let e=`${this.$parent.selectColor.rgba.r} ${this.$parent.selectColor.rgba.g} ${this.$parent.selectColor.rgba.b}`;t.designSingleItemDTOList[A].color=e}t.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.loadingShow=!0,PA.V.axiosPost(PA.V.httpUrls.designSingle,t).then((n=>{e.currentFullBodyView=n.currentFullBodyView,e.clothes[A].color=n.clothes[A].color,e.clothes[A].printObject=n.clothes[A].printObject,e.clothes[A].layersObject=n.clothes[A].layersObject,e.clothes[A].minIOPath=n.clothes[A].minIOPath,e.clothes[A].path=n.clothes[A].path,e.ifSubmit=!0,e.clothes.forEach(((A,e)=>{let t;-1==A.layersObject[0].imageCategory.indexOf("back")&&(t=A.layersObject[0],A.layersObject[0]=A.layersObject[1],A.layersObject[1]=t),A.layersObject[0].id=this.store.state.DesignDetailModule.designItemDetail.clothes[e].layersObject[0].id,A.layersObject[1].id=this.store.state.DesignDetailModule.designItemDetail.clothes[e].layersObject[1].id})),this.loadingShow=!1,this.store.commit("setDesignItemDetail",e),this.store.commit("setDesignPreviewData",t),this.setRevocation(e,t)})).catch((A=>{this.loadingShow=!1}))}}});const uu=(0,oe.Z)(du,[["render",Id],["__scopeId","data-v-7ee5c194"]]);var hu=uu,gu=(0,n.aZ)({props:["msg"],components:{Draggable:ni(),Sketch:po.Sketch,DesignDetailEnd:hu},setup(A){const e=(0,RA.oR)();let t=(0,X.iH)(1),i=(0,X.iH)(!1),r=(0,n.f3)("current"),o=(0,X.iH)(1),s=(0,X.iH)(""),a=[{value:"Outwear",label:"Outwear"},{value:"Blouse",label:"Blouse"},{value:"Dress",label:"Dress"},{value:"Trousers",label:"Trousers"},{value:"Skirt",label:"Skirt"}],l=(0,X.iH)(0),c=(0,X.iH)(10),d=(0,X.iH)(1),u=(0,X.iH)(!1),h=(0,X.iH)([]),g=(0,X.iH)([]),p=(0,X.iH)([]),f=(0,X.iH)([]),m=(0,X.iH)("Sketchboard"),B=(0,X.iH)({rgba:{}}),w=(0,X.iH)({}),v=(0,X.iH)({}),{t:C}=(0,st.QT)();return{store:e,current:r,openClick:o,searchPictureName:s,disignTypeList:a,total:l,pageSize:c,currentPage:d,isShowLoading:u,clothesList:h,uploadList:g,apparelList:p,printList:f,selectCode:m,type_:t,select:i,selectColor:B,selectColorList:w,workspace:v,t:C}},data(){return{token:"",uploadUrl:"",upload:{isPin:0,level1Type:"Sketchboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},indicator:(0,n.h)(TA.Z,{style:{fontSize:"2.4rem"},spin:!0}),designShowPrview:1,reviewColor:{},colorPickerVisible:!0,colorBlockHex:!0,getColorBg:!1,pantongName:"",pantongNameList:[],tcxColor:"",selectColorList:[],colorFileList:[],selectIndex:0,indicator:(0,n.h)(TA.Z,{style:{fontSize:"2.4rem"},spin:!0}),getPantongNameTime:!0,workspaceCom:{}}},directives:{observe:{mounted(A,e){const t=new IntersectionObserver(i,{root:null,threshold:[.5]});t.observe(A);let n=e.instance;function i(A,e){A.forEach((A=>{A.isIntersecting&&n.getLibraryList()}))}}}},computed:{getSketchLabel(A){return A=>{let e="";for(let t of this.disignTypeList)if(t.value===A){e=t.label;break}return e}},getSelectRGB(A){return A=>{let e=A.rgba,t={r:e?.r||0===e?.r?e?.r:255,g:e?.g||0===e?.g?e?.g:255,b:e?.b||0===e?.b?e?.b:255,a:e?.a||1===e?.a?e?.a:1,hex:void 0==A.hex?"#FFFFFF":A.hex};return 1==t.a&&0==t.a||(t.hex=A.hex8?A.hex8:A.hex),t}}},mounted(){},watch:{selectColor(A,e){let t=this.$refs.DesignDetailEnd;t.colorList[t.selectIndex]=A;let n=t.colorList.filter((A=>A&&Object.keys(A).length));this.setColorboardList(n),clearInterval(this.getPantongNameTime),this.getPantongNameTime=setTimeout((()=>{this.getPantongName(A.rgba)}),100)},workspaceCom(A,e){this.workspace=A,this.getPosition()}},mounted(){this.token=(0,GA.ej)("token")||"",this.uploadUrl=(0,zA.M$)();let A=document.getElementsByClassName("detail_modal_body_select")[0].getElementsByClassName("vc-sketch-color-wrap")[0];A.addEventListener("click",(async()=>{try{const A=new EyeDropper,e=await A.open();let t=e.sRGBHex.replace("#","");const n=parseInt(t.substring(0,2),16),i=parseInt(t.substring(2,4),16),r=parseInt(t.substring(4,6),16);this.selectColor={rgba:{r:n,g:i,b:r,a:1},hex:e.sRGBHex}}catch(A){KA.ZP.info(this.t("DesignDetailAlter.jsContent1"))}}))},methods:{init(A){this.type_=A,this.select=!0;let e=this.current.color;this.selectColor={rgba:{r:Number(e.r),g:Number(e.g),b:Number(e.b),a:Number(e.a?e.a:1)},hex:this.rgbaToHex([e.r,e.g,e.b,e.a?e.a:1])},this.uploadList=[],1==A?(this.selectCode="Sketchboard",this.upload.level1Type="Sketchboard",this.uploadList=this.apparelList):2==A&&(this.selectCode="Printboard",this.upload.level1Type="Printboard",this.uploadList=this.printList),1!=A&&2!=A||(this.clothesList=[],this.getLibraryList());let t=this.$refs.DesignDetailEnd;t.init(A),this.workspaceCom=(0,n.Fl)((()=>this.store?.state?.Workspace?.workspace))},getPosition(){let A;A="Female"==this.workspace.sex?"FemalePosition":"MalePosition",PA.V.axiosGet(PA.V.httpUrls.workspaceenumValues,{params:{enumName:A}}).then((A=>{if(A){let e=[];A.forEach((A=>{let t={value:A.name,label:A.name};e.push(t)})),this.disignTypeList=e}}))},deleteFile(A){this.uploadList.splice(A,1)},upFileUploadChange(A){let e=A.file;if("done"===e.status){let A=JSON.parse(e.xhr.response);e.id=A.data.id,e.url=A.data.url,e.resData=A.data,e.designType=A.data.designType,e.category=this.current,e.minIOPath=e.resData.minIOPath;let t=this.uploadList.filter((A=>"done"===A.status));this.uploadList.length>=8?KA.ZP.info(this.t("DesignDetailAlter.jsContent2")):(this.uploadList=t,"Sketchboard"==this.selectCode?this.apparelList=this.uploadList:this.printList=this.uploadList)}else if("error"===e.status){let A=-1;this.uploadList.forEach(((t,n)=>{e.uid===t.uid&&(A=n)})),A>-1&&this.uploadList.splice(A,1),KA.ZP.warning(e.name+this.t("DesignDetailAlter.jsContent3"))}},terminate(){let A=this.$refs.DesignDetailEnd;this.select=!1,A.selectIndex=0,A.type_=0,this.colorFileList=[],this.selectColorList=[]},changePlace(){this.uploadList=[];let A=this.$refs.DesignDetailEnd;this.uploadList=[],this.apparelList=[],this.printList=[],A.colorList=[{},{},{},{},{},{},{},{}],A.sketchImg={},this.terminate()},showFileCategory(A){A.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(A,e){A.level2Type=e.value;for(let t of this.clothesList)t.categoryShow=!1;this.setSketchLibrary(A)},hiddenFileCategory(){for(let A of this.clothesList)A.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},setSketchLibrary(A){let e={libraryId:A.id,level2Type:A.level2Type};PA.V.axiosPost(PA.V.httpUrls.setSketchLibrary,e).then((A=>{})).catch((A=>{}))},selectImgItem(A){if("Sketchboard"==this.selectCode){let e=this.$refs.DesignDetailEnd;e.setSketchImg(A)}else this.current.printObject.path=A?.url,this.current.printObject.id=A?.id,this.current.printObject.minIOPath=A.minIOPath,this.current.printObject.prints=[{minIOPath:A.minIOPath,path:A?.url}]},getLibraryList(){let A=this.store.state.Workspace.workspace,e={level1Type:this.selectCode,modelSex:A?.sex,page:this.currentPage,pictureName:this.searchPictureName,size:this.pageSize+this.clothesList.length};this.isShowLoading=!0,PA.V.axiosPost(PA.V.httpUrls.queryLibraryPage,e).then((A=>{this.clothesList=A.content,this.isShowLoading=!1,this.total=A.total})).catch((A=>{this.isShowLoading=!1}))},open(A){this.openClick=A,2==A&&this.getLibraryList()},beforeUpload(A){const e="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;e||KA.ZP.info(this.t("DesignDetailAlter.jsContent4"));const t=A.size/1024/1024<5;return t||KA.ZP.info(this.t("DesignDetailAlter.jsContent5")),e&&t||NA.Z.LIST_IGNORE},colorDeleteFile(A){this.colorFileList.splice(A,1),this.selectColorList=[]},setUplpadColor(A){this.selectColor=A},rgbaToHex(A){let e="#";return A.forEach(((A,t)=>{e+=3==t?Math.round(255*A).toString(16):Number(A).toString(16).padStart(2,"0")})),e},getHsvColor(A){this.pantongName="";let e=[];A.forEach(((A,t)=>{let n=[A.rgba.r,A.rgba.g,A.rgba.b,A.rgba.a];e.push(n)}));let t=[];e.forEach((A=>{let e=(0,zA.py)(A);0==t.length||t[0].h;let n={h:Number(e[0]),s:Number(e[1]),v:Number(e[2])};t.push(n)})),PA.V.axiosPost(PA.V.httpUrls.getRgbByHsvBatch,t).then((A=>{A&&A.forEach((A=>{this.pantongNameList.push(A.name)}))})).catch((A=>{}))},getTcxColor(){if(!this.tcxColor)return;let A=this.$refs.DesignDetailEnd,e=/^\d{2}-\d{4}$/;e.test(this.tcxColor)?PA.V.axiosGet(PA.V.httpUrls.getRgbByTcx+"?tcx="+this.tcxColor).then((e=>{if(e&&e.name){let t=this.rgbaToHex([e.r,e.g,e.b,e.a?e.a:1]);this.reviewColor=e?.r+""?{rgba:{r:e.r,g:e.g,b:e.b,a:1},hex:t}:{hex:""},this.selectColor=this.reviewColor,A.colorList[A.selectIndex]={r:e.r,g:e.g,b:e.b},this.pantongName=e.name;let n=A.colorList.filter((A=>Object.keys(A).length));this.setColorboardList(n),this.getColorBg=!0}else KA.ZP.info(this.t("DesignDetailAlter.jsContent6"))})):KA.ZP.info(this.t("ColorboardUpload.jsContent5"))},getPantongName(A){if(!A.r)return;let e=[A.r,A.g,A.b],t=(0,zA.py)(e),n=[{h:t[0],s:t[1],v:t[2]}];return new Promise(((A,e)=>{PA.V.axiosPost(PA.V.httpUrls.getRgbByHsvBatch,n).then((e=>{e&&(this.selectColor.tcx=e[0].tcx,this.selectColor.name=e[0].name,A())})).catch((A=>{e()}))}))},setColorboardList(A){A.map((A=>{let e={id:"",name:"",rgbValue:A};return e}))},fileUploadChange(A){let e=A.file,t=e.originFileObj;var n=new FileReader;n.onload=A=>{let t;t="object"===typeof A.target.result?window.URL.createObjectURL(new Blob([A.target.result])):A.target.result,e.imgUrl=t,e.status="done",this.colorFileList.push(e),setTimeout((async()=>{const A=new Image;let t=this.$refs.colorImage;A.src=t[0].src,A.onload=async()=>{const t=new ColorThief;let n,i=[],r=t.getPalette(A,8),o={max:5,min:5};await VA.setColor(r,e.imgUrl,o).then((A=>{A&&(n=A.ratio)})),n.sort(((A,e)=>{var t=A.ratio,n=e.ratio;return n-t})),r=[],n.forEach((A=>{r.push(A.rgb)})),r=r.join("&"),r=r.split("&");let s=r[0].split(","),a=this.rgbaToHex(s),l=[];new Set(r).forEach((A=>{l.push(A.split(","))})),l.forEach((A=>{let e=this.rgbaToHex(A);i.push({rgba:{r:A[0],g:A[1],b:A[2],a:1},hex:e})})),this.selectColorList=i,this.selectColor={rgba:{r:s[0],g:s[1],b:s[2],a:1},hex:a}}}),100)},n.readAsDataURL(t)}}});const pu=(0,oe.Z)(gu,[["render",ed]]);var fu=pu;const mu=A=>((0,n.dD)("data-v-925ebaa4"),A=A(),(0,n.Cn)(),A),Bu={class:"magnifyingGlass"},wu={class:"initial"},vu={class:"initial_mask"},Cu=["src"],bu=mu((()=>(0,n._)("div",{class:"initial_haver"},null,-1))),yu=mu((()=>(0,n._)("div",{class:"big"},null,-1)));function _u(A,e,t,i,r,o){const s=(0,n.Q2)("mousemove");return(0,n.wg)(),(0,n.iD)("div",Bu,[(0,n._)("div",wu,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",vu,[(0,n._)("img",{class:"initial_img",src:A.designItemDetailUrl,alt:""},null,8,Cu),bu])),[[s]])]),yu])}var Qu=t(7849),Uu=t(4924),Fu=(0,n.aZ)({components:{DownOutlined:Qu.Z,UserOutlined:Uu.Z},props:["designItemDetailUrl"],setup(){return{}},watch:{},data(){return{}},mounted(){},directives:{mousemove:{mounted(A,e){let t=e=>{const n=document.getElementsByClassName("magnifyingGlass")[0].querySelector(".initial_haver"),i=document.getElementsByClassName("magnifyingGlass")[0].querySelector(".initial_img"),r=document.getElementsByClassName("magnifyingGlass")[0].querySelector(".big"),o=n.getBoundingClientRect().width,s=r.getBoundingClientRect().width,a=s/o;r.style.backgroundImage=`url(${i.src})`;const{left:l,top:c}=i.getBoundingClientRect(),d=i.getBoundingClientRect().height,u=i.getBoundingClientRect().width,{width:h,height:g}=n.getBoundingClientRect();let p=A=>{const e=A.clientX-l,t=A.clientY-c,i=(h/2-e)*a,o=(g/2-t)*a,s=u*a,p=d*a;n.style.top=t-g/2+"px",n.style.left=e-h/2+"px",r.style.backgroundPosition=`${i}px ${o}px`,r.style.backgroundSize=`${s}px ${p}px`};document.addEventListener("mousemove",p),A.addEventListener("mouseout",(()=>{document.removeEventListener("mousemove",p),document.removeEventListener("mouseover",t)}))};A.addEventListener("mouseover",t)}}},methods:{handleMouseMove(A){}}});const xu=(0,oe.Z)(Fu,[["render",_u],["__scopeId","data-v-925ebaa4"]]);var Eu=xu;const ku={class:"design_compile_content",id:"design_compile_content"},Iu={class:"designOpenrtion_centent",id:"designOpenrtionCentent"},Su=["onMousedown","onClick"],Hu=["src"],Du=["onMousedown","onClick"],Lu=["src"],Ou={class:"designOpenrtion_btn"},Mu=["onMousedown"];function Tu(A,e,t,i,s,a){const l=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",ku,[(0,n._)("div",Iu,[(0,n._)("div",{class:"designOpenrtion_imgMask",style:(0,r.j5)(A.frontBack?.body?.style)},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.frontBack.back,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"designOpenrtion_print",onMousedown:(0,o.iM)((e=>A.itemMoveMousedown(t,e)),["stop"]),onClick:n=>A.setpitch(e,t),style:(0,r.j5)(A.frontBack.front[t].style)},[(0,n._)("img",{style:(0,r.j5)(e.imageUrl?"":"display:none;"),src:e.imageUrl,alt:""},null,12,Hu)],44,Su)))),256)),(0,n.wy)(((0,n.wg)(),(0,n.iD)("img",{class:"perview_img",style:(0,r.j5)("width:"+A.frontBack?.body?.layersObject?.[0].imageSize?.[0]+";height:"+A.frontBack?.body?.layersObject?.[0].imageSize?.[0]+";"),key:A.designItemDetail.designItemUrl},null,4)),[[l,A.frontBack?.body?.layersObject?.[0].imageUrl||""]]),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.frontBack.front,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"detail_modal_item_front",onMousedown:(0,o.iM)((e=>A.itemMoveMousedown(t,e)),["stop"]),onClick:n=>A.setpitch(e,t),style:(0,r.j5)(e.style)},[(0,n._)("img",{src:e.imageUrl,alt:""},null,8,Lu)],44,Du)))),256)),(0,n._)("div",Ou,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.frontBack.front,((t,i)=>((0,n.wg)(),(0,n.iD)("ul",{key:t,class:(0,r.C_)([{active:t.designOpenrtionBtn},"designOpenrtion_btn"]),style:(0,r.j5)(t.style),onMousedown:(0,o.iM)((e=>A.itemMoveMousedown(i,e)),["stop"])},[(0,n._)("li",{class:"designOpenrtion_btn_top",onMousedown:e[0]||(e[0]=(0,o.iM)((e=>A.itemSizeMousedown("top",e)),["stop"]))},null,32),(0,n._)("li",{class:"designOpenrtion_btn_bottom",onMousedown:e[1]||(e[1]=(0,o.iM)((e=>A.itemSizeMousedown("bottom",e)),["stop"]))},null,32),(0,n._)("li",{class:"designOpenrtion_btn_left",onMousedown:e[2]||(e[2]=(0,o.iM)((e=>A.itemSizeMousedown("left",e)),["stop"]))},null,32),(0,n._)("li",{class:"designOpenrtion_btn_right",onMousedown:e[3]||(e[3]=(0,o.iM)((e=>A.itemSizeMousedown("right",e)),["stop"]))},null,32)],46,Mu)))),128))])],4),(0,n._)("div",{onClick:e[4]||(e[4]=(...e)=>A.setPreviewData&&A.setPreviewData(...e)),class:"subitOkPreviewBtn"},"OK")]),(0,n._)("div",{class:"designOpenrtion_imgMask_open",onClick:e[5]||(e[5]=(0,o.iM)(((...e)=>A.deleteBorder&&A.deleteBorder(...e)),["stop"]))})])}var Ku=(0,n.aZ)({setup(A){const e=(0,RA.oR)();let t=(0,n.Fl)((()=>e.state.DesignDetailModule.designItemDetail)),i=(0,n.f3)("current"),r=(0,n.f3)("setRevocation"),o=(0,X.iH)(4),s=(0,X.iH)([{centers:{left:0,top:0},style:{left:"0px",top:"0px",right:"auto",bottom:"auto",width:"100px",height:"100px"},transform:{scale:1,rotateZ:0},designOpenrtionBtn:!1}]),a=(0,X.iH)(""),l=(0,X.iH)(),c=(0,X.iH)(0),d=(0,X.iH)({});return{designItemDetail:t,current:i,printZIndex:o,printStyleList:s,direction:a,imgDom:l,imgDomIndex:c,frontBack:d,setRevocation:r}},data(){return{loadingShow:!1,store:(0,RA.oR)()}},methods:{init(){this.$parent;this.printStyleList.push({centers:{left:0,top:0},style:{left:"0px",top:"0px",right:"auto",bottom:"auto",width:"100px",height:"100px"},transform:{scale:1,rotateZ:0},designOpenrtionBtn:!1}),this.setImgSize()},async setImgSize(){let A,e=JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail)),t=[],n=[];e.others.forEach((e=>{"Body"==e.type&&(A=e)}));let i=await this.setPostition(A.layersObject[0]?.imageUrl),r=6,o=3;e.clothes.forEach(((A,e)=>{for(let s=A.layersObject.length-1;s>=0;s--)A.layersObject[s].style={top:A.layersObject[s].position?.[0]*i+"px",left:A.layersObject[s].position?.[1]*i+"px",width:A.layersObject[s].imageSize?.[0]*i+"px",height:A.layersObject[s].imageSize?.[1]*i+"px"},A.layersObject[s].centers={left:0,top:0},A.layersObject[s].designOpenrtionBtn=!1,-1==A.layersObject[s].imageCategory.indexOf("back")?(t[e]=A.layersObject[s],t[e].style.zIndex=r-=1):(n[e]=A.layersObject[s],n[e].style.zIndex=o-=1)}));document.getElementsByClassName("design_compile_content")[0].getElementsByClassName("perview_img")[0];A.style={width:A.layersObject[0].imageSize?.[0]*i+"px",height:A.layersObject[0].imageSize?.[1]*i+"px"},this.frontBack={front:t,back:n,body:A}},async setPostition(A){let e=await i(A),t=document.getElementsByClassName("designOpenrtion_imgMask")[0];const n=t?.offsetHeight/e.height;function i(A){return new Promise(((e,t)=>{const n=new Image;n.onload=()=>{e(n)},n.onerror=t,n.src=A}))}return n},setpitch(A,e){this.frontBack.front.forEach((A=>{A.designOpenrtionBtn=!1})),this.frontBack.front[e].designOpenrtionBtn=!0,this.frontBack.front[e].style.zIndex=this.printZIndex++,this.frontBack.back[e].style.zIndex=this.printZIndex},itemMoveMousedown(A,e){this.imgDomIndex=A,this.frontBack.front.forEach((A=>{A.designOpenrtionBtn=!1})),this.imgDom=document.getElementsByClassName("design_compile_content")[0].getElementsByClassName("detail_modal_item_front")[this.imgDomIndex],this.frontBack.front[A].designOpenrtionBtn=!0,this.frontBack.front[A].style.zIndex=this.printZIndex++,this.frontBack.back[A].style.zIndex=this.printZIndex;let t=this.imgDom.getBoundingClientRect(),n=Number(this.frontBack.front[A].style.left.replace(/px/g,"")),i=Number(this.frontBack.front[A].style.top.replace(/px/g,""));this.frontBack.front[A].centers.left=t.x+e.offsetX-n,this.frontBack.front[A].centers.top=t.y+e.offsetY-i,document.addEventListener("mouseup",this.mouseup),document.addEventListener("mousemove",this.moveMousemove)},itemSizeMousedown(A,e){this.direction=A,this.imgDom=document.getElementsByClassName("design_compile_content")[0].getElementsByClassName("detail_modal_item_front")[this.imgDomIndex],this.frontBack.front[this.imgDomIndex].designOpenrtionBtn=!0;let t=this.imgDom.getBoundingClientRect(),n=document.getElementsByClassName("design_compile_content")[0].getElementsByClassName("designOpenrtion_btn_top")[0].offsetWidth/2;"right"==this.direction||"bottom"==this.direction?(this.frontBack.front[this.imgDomIndex].centers.left=t.x+e.offsetX-n,this.frontBack.front[this.imgDomIndex].centers.top=t.y+e.offsetY-n):(this.frontBack.front[this.imgDomIndex].centers.left=t.x+e.offsetX+t.width-n,this.frontBack.front[this.imgDomIndex].centers.top=t.y+e.offsetY+t.height-n),document.addEventListener("mouseup",this.sizeMouseup),document.addEventListener("mousemove",this.sizeMousemove)},moveMousemove(A){this.imgDom.getBoundingClientRect(),document.getElementsByClassName("design_compile_content")[0].getElementsByClassName("designOpenrtion_imgMask")[0].getBoundingClientRect();let e=A.x-this.frontBack.front[this.imgDomIndex].centers.left+"px",t=A.y-this.frontBack.front[this.imgDomIndex].centers.top+"px";this.frontBack.front[this.imgDomIndex].style.left=e,this.frontBack.front[this.imgDomIndex].style.top=t},sizeMousemove(A){let e,t,n=this.imgDom.getBoundingClientRect(),i=this.imgDom.parentNode,r=n.width,o=n.height,s=o/r;"right"==this.direction?(e=A.x-this.frontBack.front[this.imgDomIndex].centers.left,t=(A.x-this.frontBack.front[this.imgDomIndex].centers.left)*s,r=e+"px",o=e*s+"px"):"top"==this.direction?(s=r/o,this.frontBack.front[this.imgDomIndex].style.top="auto",this.frontBack.front[this.imgDomIndex].style.bottom=i.offsetHeight-n.height-this.imgDom.offsetTop+"px",e=(A.x-this.frontBack.front[this.imgDomIndex].centers.left)*s,t=this.frontBack.front[this.imgDomIndex].centers.top-A.y,o=t+"px",r=t*s+"px"):"bottom"==this.direction?(s=r/o,t=A.y-this.frontBack.front[this.imgDomIndex].centers.top,o=t+"px",r=t*s+"px"):"left"==this.direction&&(this.frontBack.front[this.imgDomIndex].style.left="auto",this.frontBack.front[this.imgDomIndex].style.right=i.offsetWidth-n.width-this.imgDom.offsetLeft+"px",e=this.frontBack.front[this.imgDomIndex].centers.left-A.x,r=e+"px",o=e*s+"px"),this.frontBack.front[this.imgDomIndex].style.width=r,this.frontBack.front[this.imgDomIndex].style.height=o},sizeMouseup(A){this.frontBack.front[this.imgDomIndex].style={right:"auto",left:this.imgDom.offsetLeft+"px",bottom:"auto",top:this.imgDom.offsetTop+"px",height:this.imgDom.offsetHeight+"px",width:this.imgDom.offsetWidth+"px",zIndex:this.printZIndex},this.frontBack.back[this.imgDomIndex].style.zIndex=this.printZIndex,document.removeEventListener("mouseup",this.sizeMouseup),document.removeEventListener("mousemove",this.sizeMousemove)},mouseup(A){document.removeEventListener("mouseup",this.mouseup),document.removeEventListener("mousemove",this.moveMousemove)},clearModal(){this.printZIndex=2,this.imgDomIndex=0,this.clothes=[],this.printStyleList.splice(1,this.printStyleList.length-1)},capitalizeFirstLetter(A){return A.charAt(0).toUpperCase()+A.slice(1)},setPreviewData(){this.$emit("setSubmit","preview")},deleteBorder(){this.frontBack?.front?.forEach((A=>{A.designOpenrtionBtn=!1}))},async setPreview(A){let e=this.frontBack.body.layersObject[0].imageSize[0]/this.frontBack.body.style.width.replace(/px/g,"");this.store.state.DesignDetailModule.designItemDetail;A.designSingleItemDTOList.forEach((A=>{let t=this.frontBack.front,n=t[1].imageCategory;t.forEach((t=>{let n=t.imageCategory.split("_")[0];if(A.type==this.capitalizeFirstLetter(n)){let n=(t?.style?.top.replace(/px/g,"")*e).toFixed(0)-t?.position[0],i=(t?.style?.left.replace(/px/g,"")*e).toFixed(0)-t?.position[1],r=t?.imageSize?Number((t?.style?.width.replace(/px/g,"")*e/(t?.imageSize[0]/t.scale)).toFixed(2)):1;A.scale=r;let o=0==n?A.offset[1]:n+A.offset[1],s=0==i?A.offset[0]:i+A.offset[0];A.offset=[s,o]}})),A.type==this.capitalizeFirstLetter(n)&&(A.scale=t?.imageSize?Number((t?.style?.width.replace(/px/g,"")*e/t?.imageSize[0]).toFixed(2)):1)})),PA.V.axiosPost(PA.V.httpUrls.designSingle,A).then((e=>{this.$parent.loadingShow=!1;let t=JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail));t.designItemUrl=e.designItemUrl,t.ifSubmit=!0,t.currentFullBodyView=e.currentFullBodyView,e.clothes.forEach((A=>{t.clothes.forEach((e=>{A.type===e.type&&(e.layersObject=A.layersObject)}))})),this.$emit("setDesignCoverage"),this.store.commit("setDesignItemDetail",t),this.setRevocation(t,A)})).catch((A=>{}))}}});const Nu=(0,oe.Z)(Ku,[["render",Tu],["__scopeId","data-v-8de3d958"]]);var Pu=Nu,Ru=(0,n.aZ)({components:{Draggable:ni(),DesignDetailAlter:fu,setDesignItem:Pu,magnifyingGlass:Eu},setup(){const A=(0,RA.oR)();let e=(0,n.Fl)((()=>A.state.DesignDetailModule.designItemDetail)),t=(0,X.iH)({design:{},index:0,collectionList:[],type:""}),i=(0,X.iH)({left:"200px",top:"100px"}),r=(0,X.iH)(0),o=(0,X.iH)({});(0,n.JJ)("current",o);let s=(0,X.iH)({}),a=(0,X.iH)(!1),l=(0,X.iH)(),c=(0,X.iH)(),d={},u=(0,X.iH)(!1),h=(0,X.iH)({}),g=(0,X.iH)(!1),p=(0,X.iH)(),f=(0,X.iH)(),{t:m}=(0,st.QT)();return{designItemDetail:e,store:A,parentData:t,others:i,currentIndex:r,current:o,frontBack:s,body:a,designItemId:l,designOutfitId:c,userInfo:d,ifSubmit:u,designItemDetailUrl:h,setRevocationShow:g,oppositeRevocationShow:p,revocationShow:f,t:m}},data(){return{loadingShow:!1,designDetailShow:!1,designShowPrview:1,generateHighDesignImg:"",imgDesignImg:!0,designOrder:!1}},watch:{designItemDetail:{handler:async function(A,e){let t=JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail));this.ifSubmit=!!t.ifSubmit&&t.ifSubmit,this.current=JSON?.parse(JSON?.stringify(t?.clothes?.[this?.currentIndex])),0!=t.others[0].layersObject.length?this.body=!1:this.body=!0,await this.setImgSize(),this.designItemDetailUrl=t.currentFullBodyView?t.currentFullBodyView:t.designItemUrl}},currentIndex:{handler:function(A){}},designDetailShow:{handler:function(A){}}},provide(){return{setRevocation:this.setRevocation}},mounted(){let A=()=>{this.removeRevocation(),window.removeEventListener("beforeunload",A)};window.addEventListener("beforeunload",A);let e=(0,GA.ej)("userInfo");this.userInfo=JSON.parse(e)},methods:{openCurrent(A){let e=this.$refs.DesignDetailAlter;e.init(A)},closeModal(){if(1==this.designShowPrview){this.designDetailShow=!1,this.designOrder=!1;let A=this.$refs.DesignDetailAlter;A.terminate(),this.frontBack={}}else this.designShowPrview=1,this.designItemDetailUrl={}},showDesignDetailModal(A,e){this.designItemId=A.design.designItemId,this.designOutfitId=A.design.designOutfitId;let t=PA.V.httpUrls.getDesignDetail+`?designItemId=${A.design.designItemId}&designPythonOutfitId=${A.design.designOutfitId}`;this.parentData=A,this.loadingShow=!0,PA.V.axiosGet(t).then((A=>{A.clothes.forEach((A=>{let e;-1==A.layersObject[0].imageCategory.indexOf("back")&&(e=A.layersObject[0],A.layersObject[0]=A.layersObject[1],A.layersObject[1]=e),null==A.printObject.prints&&(A.printObject.prints=[{}])})),this.store.commit("setDesignItemDetail",A),this.removeRevocation(),this.setRevocation(A,""),0!=A.others[0].layersObject.length?this.body=!1:this.body=!0,"setDesignItem"==e||(this.designShowPrview=1),this.setImgSize(),this.generateHighDesignImg=A.highDesignUrl,this.designDetailShow=!0,this.loadingShow=!1})).catch((A=>{this.loadingShow=!1}))},async setImgSize(){let A,e,t=JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail)),n=[],i=[];if(this.body)t.clothes.forEach(((A,e)=>{for(let t=A.layersObject.length-1;t>=0;t--)-1==A.layersObject[t].imageCategory.indexOf("back")?n[e]=A.layersObject[t]:i[e]=A.layersObject[t]}));else{t?.others?.forEach((e=>{"Body"==e.type&&(A=e)}));let e=await(this?.setPostition(A?.layersObject?.[0]?.imageUrl)),r=6,o=3;t.clothes.forEach(((A,t)=>{for(let s=A.layersObject.length-1;s>=0;s--)A.layersObject[s].style={top:A.layersObject[s].position?.[0]*e+"px",left:A.layersObject[s].position?.[1]*e+"px",width:A.layersObject[s].imageSize?.[0]*e+"px",height:A.layersObject[s].imageSize?.[1]*e+"px"},A.layersObject[s].centers={left:0,top:0},A.layersObject[s].designOpenrtionBtn=!1,-1==A.layersObject[s].imageCategory.indexOf("back")?(n[t]=A.layersObject[s],n[t].style.zIndex=r-=1):(i[t]=A.layersObject[s],i[t].style.zIndex=o-=1)})),A.style={width:A.layersObject[0].imageSize?.[0]*e+"px",height:A.layersObject[0].imageSize?.[1]*e+"px"}}let r=this;window.onresize=()=>(()=>{clearTimeout(e),e=setTimeout((async()=>{await r.setImgSize()}),500)})(),this.frontBack={front:n,back:i,body:A}},setDesignCoverage(A){let{design:e,index:t,collectionList:n}=this.parentData,i=0,r={};n.forEach(((A,e)=>{A.designItemId===this.designItemId&&(i=e)})),r=n[i],i=this.parentData.index;this.designShowPrview=1,this.loadingShow=!1},removeRevocation(){sessionStorage.removeItem("oppositeRevocation"),sessionStorage.removeItem("revocation"),this.setRevocationShow=!1},setRevocation(A,e){let t=JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail)),n=JSON.parse(sessionStorage.getItem("revocation"));JSON.parse(sessionStorage.getItem("oppositeRevocation"));n?.[0]?.designItemDetail.designItemId==t.designItemId&&void 0!=n?.[0]?.designItemDetail.designItemId||(n=[]);let i={designItemDetail:A,data:e||""};n.push(i),this.revocationShow=n?.length,this.oppositeRevocationShow=0,sessionStorage.setItem("revocation",JSON.stringify(n)),sessionStorage.setItem("oppositeRevocation",JSON.stringify([]))},revocation(){let A=JSON.parse(sessionStorage.getItem("oppositeRevocation")),e=JSON.parse(sessionStorage.getItem("revocation"));A.push(e[e.length-1]),this.oppositeRevocationShow=A.length,e.splice(e.length-1,1),this.revocationShow=e.length,this.revocationShow>1&&this.store.commit("setDesignPreviewData",e[e.length-1].data),this.store.commit("setDesignItemDetail",e[e.length-1].designItemDetail),sessionStorage.setItem("oppositeRevocation",JSON.stringify(A)),sessionStorage.setItem("revocation",JSON.stringify(e))},oppositeRevocation(){let A=JSON.parse(sessionStorage.getItem("oppositeRevocation")),e=JSON.parse(sessionStorage.getItem("revocation"));this.store.commit("setDesignPreviewData",A[A.length-1].data),this.store.commit("setDesignItemDetail",A[A.length-1].designItemDetail),e.push(A[A.length-1]),this.revocationShow=e.length,A.splice(A.length-1,1),this.oppositeRevocationShow=A.length,sessionStorage.setItem("oppositeRevocation",JSON.stringify(A)),sessionStorage.setItem("revocation",JSON.stringify(e))},setSubmitItem(A){let e=JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail)),t=[];e.clothes.forEach((A=>{let e={color:`${A.color.r} ${A.color.g} ${A.color.b}`,id:A.id,path:A.minIOPath,offset:null==A.layersObject[1].offset?[0,0]:A.layersObject[1].offset,scale:A.layersObject[1].scale?A.layersObject[1].scale:1,printObject:{ifSingle:null!=A.printObject.ifSingle&&A.printObject.ifSingle,prints:A?.printObject?.prints[0]?.minIOPath?A?.printObject?.prints:[]},type:A.type};t.push(e)}));let n={designItemId:e.designItemId,designSingleItemDTOList:t,isPreview:!1,ifSubmit:e.isPreview,processId:String(this.userInfo?.userId),timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};return"preview"==A?n.isPreview=!0:(n.isPreview=!1,delete n.ifSubmit),this.store.commit("setDesignPreviewData",n),n},async setSubmit(A){let e=this.$refs.setDesignItem,t=this.setSubmitItem(A);this.loadingShow=!0,await e.setPreview(t)},async submit(){let A=this.setSubmitItem("");this.loadingShow=!0,PA.V.axiosPost(PA.V.httpUrls.designSingle,A).then((A=>{this.loadingShow=!1;let e=this.store.state.HomeStoreModule.designCollectionList,t=this.store.state.HomeStoreModule.likeDesignCollectionList;e.forEach((e=>{e.designItemId==A.designItemId&&(e.designOutfitUrl=A.designItemUrl)})),t.forEach((e=>{e.designItemId==A.designItemId&&(e.designOutfitUrl=A.designItemUrl)})),this.closeModal(),this.store.commit("setDesignCollectionList",e),this.store.commit("setLikeDesignCollectionList",t)})).catch((A=>{this.loadingShow=!1}))},async setPostition(A){let e=await i(A),t=document.getElementsByClassName("detail_modal_model")[0];const n=t?.offsetWidth/e.width;function i(A){return new Promise(((e,t)=>{const n=new Image;n.onload=()=>{e(n)},n.onerror=t,n.src=A}))}return n},changeDesignItem(A){let{design:e,index:t,collectionList:n}=this.parentData,i={},r=0;this.designOrder=!1,this.removeRevocation();let o=this.$refs.DesignDetailAlter;o.terminate(),r="last"===A?t>0?this.parentData.index-1:this.parentData.collectionList.length-1:t<this.parentData.collectionList.length-1?this.parentData.index+1:0,i=n[r];let s={design:i,index:r,collectionList:n};this.showDesignDetailModal(s,"")},showDesignImgDetail(A){JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail));this.designShowPrview=A;let e=this.$refs.setDesignItem;3==this.designShowPrview&&e.init()},mousedownDesignImg(){this.imgDesignImg=!1},mouseupDesignImg(){this.imgDesignImg=!0},clothesOpen(A){this.clothesDetail("",A)},clothesOpenActive(A){this.designItemDetail.clothes.forEach((A=>{A.clothesOpen=!1})),this.designItemDetail.clothes[A].clothesOpen=!0},clothesDetail(A,e){let t=JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail));this.currentIndex=e,this.designOrder=!0,this.current=t.clothes[this.currentIndex],this.clothesOpenActive(e);let n=this.setSubmitItem("preview");n.designSingleItemDTOList[this.currentIndex]={color:`${this.current.color.r} ${this.current.color.g} ${this.current.color.b}`,id:this.current.id,path:this.current.minIOPath?this.current.minIOPath:"",offset:this.current.layersObject[1].offset?this.current.layersObject[1].offset:[0,0],scale:this.current.layersObject[1].scale?this.current.layersObject[1].scale:1,printObject:{ifSingle:null!=this.current?.printObject?.ifSingle&&this.current?.printObject?.ifSingle,prints:this.current?.printObject?.prints[0]?.minIOPath?this.current?.printObject?.prints:[]},type:this.current.type},this.store.commit("setDesignPreviewData",n);let i=this.$refs.DesignDetailAlter;i.changePlace()},redesignItem(){let A=JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail));delete A.designItemUrl;let e=A.clothes.map((A=>A.type)),t={...A,priority:e,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};this.loadingShow=!0,PA.V.axiosPost(PA.V.httpUrls.designSingle,t).then((A=>{this.parentData.design.designItemUrl=A.designItemUrl,this.$emit("finishRedesign",this.parentData),this.closeModal(),this.loadingShow=!1})).catch((A=>{this.loadingShow=!1}))}}});const Vu=(0,oe.Z)(Ru,[["render",Kl]]);var Gu=Vu,zu=t(3914),ju=t(5733),Zu=t.n(ju);const Wu=t(3162);var Xu=(0,n.aZ)({components:{HeaderComponent:Y.Z,CollectionModal:Ws,NewCollectionReview:Ca,DesignDetail:Gu,ExportNewCoolection:Xa,RobotAssist:zu.Z,draggable:ni()},setup(){const A=(0,RA.oR)();let e=(0,n.Fl)((()=>A.state.HomeStoreModule.likeDesignCollectionList)),t=(0,n.Fl)((()=>A.state.HomeStoreModule.designCollectionList)),i=(0,n.Fl)((()=>A.state.HomeStoreModule.userGroupId)),r=(0,n.Fl)((()=>A.state.HomeStoreModule.designCollectionId)),o=(0,n.Fl)((()=>A.state.HomeStoreModule.designId)),s={width:"",height:""},a={width:"",height:""},l=(0,X.iH)([{name:(0,st.QT)().t("HomeView.moodboard"),change:!0,noChange:!0,value:"moodboardFiles"},{name:(0,st.QT)().t("HomeView.printboard"),change:!0,noChange:!1,value:"printboardFiles"},{name:(0,st.QT)().t("HomeView.colorboard"),change:!0,noChange:!1,value:"colorBoards"},{name:(0,st.QT)().t("HomeView.sketchboard"),change:!0,noChange:!1,value:"sketchboardFiles"},{name:(0,st.QT)().t("HomeView.mannequins"),change:!0,noChange:!0,value:""}]);(0,n.JJ)("exportNav",l);let c=(0,X.iH)(!1),d={},{t:u}=(0,st.QT)();return{store:A,likeDesignCollectionList:e,designCollectionList:t,userGroupId:i,designCollectionId:r,designId:o,contentImgMax:s,contentImg:a,exportNav:l,isShowOperate:c,userInfo:d,t:u}},data(){return{isHaveReviewCollection:!1,isFinishLoading:!1,isShowMark:!1,indicator:(0,n.h)(TA.Z,{style:{fontSize:"4.8rem",marginTop:"3rem",color:"#341e57"},spin:!0}),designProgress:0,showDesignMark:!1,startDesignType:"design",disLikeLoading:!1,likeLoading:!1,dragIdx:0,designRandom:""}},mounted(){ot();let A=(0,GA.ej)("userInfo");this.userInfo=JSON.parse(A),this.store.dispatch("get_clothingType");let e=this.$route.params.noRefresh;if(e){let A=this.store.state.UploadFilesModule.allBoardData.colorBoards||[];A.length&&(this.isHaveReviewCollection=!0)}else this.store.commit("setUserGroupId",this.$route.params.id),this.store.commit("clearAllCollection");this.$route.params.id?this.getHistoryChoose(this.$route.params.id,"normal"):this.store.commit("clearAllData")},directives:{mousewheel:{mounted(A){let e=document.getElementsByClassName("right_content_block")[0],t=document.getElementsByClassName("right_content_body"),n=()=>{e.classList.add("active")},i=()=>{e.classList.remove("active")};t.forEach((A=>{A.addEventListener("mouseover",n),A.addEventListener("mouseleave",i)})),A.addEventListener("wheel",(e=>{let t=0;t=e.deltaY>0?25:-25,A.scrollBy(t,0)}),!0)}}},methods:{addTeam(A){this.likeDesignCollectionList.push(A)},dragstart(A,e){this.dragIdx=e},dragDrop(A,e){let t=this.likeDesignCollectionList,n=t[this.dragIdx];t.splice(this.dragIdx,1),t.splice(e,0,n)},formatter(A){return`${A}%`},startNewCollection(){let A=this.$refs.collectionModal;this.store.commit("clearAllData"),A.changeCollectionModal(!0),(0,n.Y3)().then((()=>{nt.moveNext()}))},recollection(){let A=this.$refs.collectionModal;this.store.commit("clearAllData"),A.changeCollectionModal(!0),A.recollection()},finishCollection(){let A=this;A.isFinishLoading=!0,this.getPantongName().then((e=>{A.store.commit("setAllBoardData"),A.isHaveReviewCollection=!0,A.isFinishLoading=!1})).catch((e=>{A.isFinishLoading=!1}))},getPantongName(){let A=this.store.state.UploadFilesModule.colorBoards,e=[];for(let t of A){let A=[t.rgbValue.r,t.rgbValue.g,t.rgbValue.b],n=(0,zA.py)(A);t.hsv=n[0]+n[1]+n[2],e.push({h:n[0],s:n[1],v:n[2]})}return new Promise(((t,n)=>{PA.V.axiosPost(PA.V.httpUrls.getRgbByHsvBatch,e).then((e=>{e&&(e.forEach(((e,t)=>{A[t].id=e.id,A[t].tcx=e.tcx,A[t].name=e.name})),this.store.commit("setColorboardList",A),t())})).catch((A=>{n()}))}))},getContainer(){return document.querySelector("#system_silder")},designNewCollection(){let{colorBoards:A}=this.store.state.UploadFilesModule.allBoardData;if(!A||A?.length<1)return void KA.ZP.info(this.t("HomeView.jsContent1"));let e=this.getDesignData("");PA.V.axiosPost(PA.V.httpUrls.designCollection,e).then((A=>{A&&(this.store.commit("setDesignCollectionList",A.designCollectionItems),this.store.commit("setLikeDesignCollectionList",[]),this.store.commit("deleteUserGroupId"),this.store.commit("setDesignCollectionId",A.collectionId),this.store.commit("setDesignId",A.designId),this.startDesignType="design")})).catch((A=>{this.showDesignMark=!1})),this.getDesignProcess(this.designRandom)},resDesignCollection(){let{colorBoards:A}=this.store.state.UploadFilesModule.allBoardData;if(!A||A?.length<1)return void KA.ZP.info(this.t("HomeView.jsContent2"));let e=this.getDesignData(this.designCollectionId);PA.V.axiosPost(PA.V.httpUrls.reDesignCollection,e).then((A=>{A&&(this.store.commit("setDesignCollectionList",A.designCollectionItems),this.startDesignType="resDesign")})).catch((A=>{this.showDesignMark=!1})),this.getDesignProcess(this.designRandom)},getDesignData(A){let{moodboardFiles:e,printboardFiles:t,disposeMoodboard:n,colorBoards:i,sketchboardFiles:r,marketingSketchFiles:o,moodTemplateId:s}=this.store.state.UploadFilesModule.allBoardData;this.randomNum();let a=this.store.state.Workspace.workspace,l={colorBoards:this.getColorBoard(i),moodBoards:this.getBoardId(e),printBoards:this.getPrintId(t),sketchBoards:this.getSkecthBoard(r),switchCategory:a.overallSingle?a.position:"",singleOverall:a.overallSingle?"single":"overall",systemScale:a.systemDesignerPercentage?.01*a.systemDesignerPercentage:.3,templateId:a.mannequinId?a.mannequinId:"",modelType:a.mannequinType,modelSex:a.sex,moodTemplateId:n[0]?String(n[0].id):null,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,processId:this.designRandom};return A&&(l.collectionId=A),this.designProgress=0,this.showDesignMark=!0,l},getDesignProcess(A){PA.V.axiosGet(PA.V.httpUrls.designProcess,{params:{processId:A}}).then((e=>{this.showDesignMark&&(this.designProgress=e,100==e&&setTimeout((()=>{this.showDesignMark=!1,this.designProgress=0}),500),setTimeout((()=>{this.getDesignProcess(A)}),500))}))},randomNum(){this.designRandom=String(Math.floor(9e15*Math.random())+1e15)},getBoardId(A){let e=A.map((A=>{let e={id:A.resData.id,designType:A.resData.designType};return e}));return e},getPrintId(A){let e=A.map((A=>{let e={id:A.resData.id,designType:A.resData.designType,isPin:A.pin?1:0};return e}));return e},getSkecthBoard(A){let e=A.map((A=>{let e={designType:A.resData.designType,isPin:A.pin?1:0,level2Type:A.category,sketchBoardId:A.resData.id};return e}));return e},getColorBoard(A){let e=A.map((A=>{let e={id:A.id,name:A.name,tcx:A.tcx,rgbValue:""};return e.rgbValue=`${A.rgbValue.r} ${A.rgbValue.g} ${A.rgbValue.b}`,e}));return e},likeDesignCollection(A,e){let t={designItemId:A.designItemId,userGroupId:this.userGroupId,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,designPythonOutfitId:A.designOutfitId?A.designOutfitId:A.designPythonOutfitId};this.likeLoading||(this.likeLoading=!0,PA.V.axiosPost(PA.V.httpUrls.designLike,t).then((t=>{t&&(this.store.commit("setUserGroupId",t.userGroupId),A.groupDetailId=t.groupDetailId,this.store.commit("addLikeDesignCollectionList",A),this.store.commit("deleteDesignCollectionList",e),"resDesign"===this.startDesignType&&this.getHistoryChoose(this.userGroupId,"like")),this.likeLoading=!1})).catch((A=>{this.likeLoading=!1})))},dislikeDesignCollection(A,e){let t={designId:A.designId||this.designId,designPythonOutfitId:A.designOutfitId,groupDetailId:A.groupDetailId,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};this.disLikeLoading||(this.disLikeLoading=!0,PA.V.axiosPost(PA.V.httpUrls.designDislike,t).then((t=>{t&&(this.store.commit("addDesignCollectionList",A),this.store.commit("deleteLikeDesignCollectionList",e),this.likeDesignCollectionList.length||this.store.commit("deleteUserGroupId")),this.disLikeLoading=!1})).catch((A=>{this.disLikeLoading=!1})))},getHistoryChoose(A,e){this.isShowMark=!0;let t=PA.V.httpUrls.historyChoose+`?userGroupId=${A}`;PA.V.axiosGet(t).then((A=>{this.dealHistoryChooseData(A,e),this.isShowMark=!1})).catch((A=>{this.isShowMark=!1}))},dealHistoryChooseData(A,e){let t={moodboardFiles:this.dealViewChooseData(A.collection.moodBoards,"Moodboard"),printboardFiles:this.dealViewChooseData(A.collection.printBoards,"Printboard"),generatePrintFiles:[],colorBoards:this.dealViewChooseColor(A.collection.colorBoards),sketchboardFiles:this.dealViewChooseData(A.collection.sketchBoards,"Sketchboard"),marketingSketchFiles:this.dealViewChooseData(A.collection.marketingSketchs,""),disposeMoodboard:A.collection.moodTemplateId?[{id:A.collection.moodTemplateId,imgUrl:A.collection.moodTemplateUrl,resData:{name:A.collection.moodTemplateName}}]:[]};if(this.store.commit("setAllBoardDataChoose",t),this.store.commit("setDesignCollectionId",A.collection.collectionId),this.isHaveReviewCollection=!0,"normal"===e){let e=A.userLikeDetails.map((A=>{let e={...A,groupDetailId:A.id,designItemUrl:A.designOutfitUrl};return e}));this.store.commit("setLikeDesignCollectionList",e)}},dealViewChooseData(A,e){if(!A)return[];let t=A.map((A=>{let e={imgUrl:A.url?A.url:A.designOutfitUrl,id:A.id,status:"done",resData:A,type_:{type1:"material",type2:A.level1Type}};return"Sketchboard"===A.level1Type&&(e.pin=A.isPin,e.category=A.level2Type),"Printboard"===A.level1Type&&(e.pin=A.isPin),e}));return t},dealViewChooseColor(A){let e=A.map((A=>{let e=A.rgbValue.split(" "),t={id:A.id,name:A.name,tcx:A.tcx||"",rgbValue:{r:e[0],g:e[1],b:e[2],a:1}};return t}));return e},changeShowOperateContent(){this.isShowOperate=!this.isShowOperate,document.addEventListener("click",this.closeShowOperateContent,!1)},closeShowOperateContent(){this.isShowOperate=!1,document.removeEventListener("click",this.closeShowOperateContent)},async exportCanvas(){let A=document.querySelector("#exportNewCoolection");document.querySelector("#right_content_img_block"),document.createElement("a");this.isShowMark=!0;let e=[];await ri()(A,{useCORS:!0,scale:3}).then((A=>{let t=(0,zA.$O)(A.toDataURL("image/png")),n=this.store.state.UploadFilesModule.allBoardData,i=0;e.push({imgUrl:URL.createObjectURL(t),name:"collection.png"});let r=0;for(let o in n)if("colorBoards"!==o&&"moodTemplateId"!==o){if(this.exportNav[r]?.change)for(let A of n[o]){let t=A?.imgUrl?.split(".").pop().split("?").shift(),n={imgUrl:A.imgUrl,name:A?.resData?.name+i+"."+t};e.push(n),i++}else;r++}})),this.downImg(e)},designDetail(A,e,t,n){let i=this.$refs.designDetail;A.designOutfitId=A.designPythonOutfitId?A.designPythonOutfitId:A.designOutfitId;let r={design:A,index:e,collectionList:t,type:n};i.showDesignDetailModal(r)},finishRedesign(A){let{design:e,index:t,type:n}=A;"dislike"===n?this.store.commit("setSingleDesignCollectionList",{index:t,design:e}):this.store.commit("setSingleLikeDesignCollectionList",{index:t,design:e})},getImgArrayBuffer(A){return new Promise(((e,t)=>{let n=new XMLHttpRequest;n.open("GET",A,!0),n.responseType="blob",n.onload=function(){200==this.status?e(this.response):t(this.status)},n.send()}))},downImg(A){let e=this,t=new(Zu()),n={},i=[];for(let r of A){const A=e.getImgArrayBuffer(r.imgUrl).then((A=>{t.file(r.name,A,{binary:!0}),n[r.title]=A}));i.push(A)}Promise.all(i).then((()=>{t.generateAsync({type:"blob"}).then((A=>{Wu.saveAs(A,"DesignFiles"),this.isShowMark=!1}))})).catch((A=>{KA.ZP.warning(this.t("HomeView.jsContent3")),this.isShowMark=!1}))}}});const Yu=(0,oe.Z)(Xu,[["render",W],["__scopeId","data-v-64846563"]]);var Ju=Yu},9812:function(A,e,t){"use strict";t.r(e),t.d(e,{BaseTransition:function(){return n.P$},Comment:function(){return n.sv},EffectScope:function(){return n.Bj},Fragment:function(){return n.HY},KeepAlive:function(){return n.Ob},ReactiveEffect:function(){return n.qq},Static:function(){return n.qG},Suspense:function(){return n.n4},Teleport:function(){return n.lR},Text:function(){return n.xv},Transition:function(){return n.uT},TransitionGroup:function(){return n.W3},VueElement:function(){return n.a2},callWithAsyncErrorHandling:function(){return n.$d},callWithErrorHandling:function(){return n.KU},camelize:function(){return n._A},capitalize:function(){return n.kC},cloneVNode:function(){return n.Ho},compatUtils:function(){return n.ry},compile:function(){return i},computed:function(){return n.Fl},createApp:function(){return n.ri},createBlock:function(){return n.j4},createCommentVNode:function(){return n.kq},createElementBlock:function(){return n.iD},createElementVNode:function(){return n._},createHydrationRenderer:function(){return n.Eo},createPropsRestProxy:function(){return n.p1},createRenderer:function(){return n.Us},createSSRApp:function(){return n.vr},createSlots:function(){return n.Nv},createStaticVNode:function(){return n.uE},createTextVNode:function(){return n.Uk},createVNode:function(){return n.Wm},customRef:function(){return n.ZM},defineAsyncComponent:function(){return n.RC},defineComponent:function(){return n.aZ},defineCustomElement:function(){return n.MW},defineEmits:function(){return n.Bz},defineExpose:function(){return n.WY},defineProps:function(){return n.yb},defineSSRCustomElement:function(){return n.Ah},devtools:function(){return n.mW},effect:function(){return n.cE},effectScope:function(){return n.B},getCurrentInstance:function(){return n.FN},getCurrentScope:function(){return n.nZ},getTransitionRawChildren:function(){return n.Q6},guardReactiveProps:function(){return n.F4},h:function(){return n.h},handleError:function(){return n.S3},hydrate:function(){return n.ZB},initCustomFormatter:function(){return n.Mr},initDirectivesForSSR:function(){return n.Nd},inject:function(){return n.f3},isMemoSame:function(){return n.nQ},isProxy:function(){return n.X3},isReactive:function(){return n.PG},isReadonly:function(){return n.$y},isRef:function(){return n.dq},isRuntimeOnly:function(){return n.of},isShallow:function(){return n.yT},isVNode:function(){return n.lA},markRaw:function(){return n.Xl},mergeDefaults:function(){return n.u_},mergeProps:function(){return n.dG},nextTick:function(){return n.Y3},normalizeClass:function(){return n.C_},normalizeProps:function(){return n.vs},normalizeStyle:function(){return n.j5},onActivated:function(){return n.dl},onBeforeMount:function(){return n.wF},onBeforeUnmount:function(){return n.Jd},onBeforeUpdate:function(){return n.Xn},onDeactivated:function(){return n.se},onErrorCaptured:function(){return n.d1},onMounted:function(){return n.bv},onRenderTracked:function(){return n.bT},onRenderTriggered:function(){return n.Yq},onScopeDispose:function(){return n.EB},onServerPrefetch:function(){return n.vl},onUnmounted:function(){return n.SK},onUpdated:function(){return n.ic},openBlock:function(){return n.wg},popScopeId:function(){return n.Cn},provide:function(){return n.JJ},proxyRefs:function(){return n.WL},pushScopeId:function(){return n.dD},queuePostFlushCb:function(){return n.qb},reactive:function(){return n.qj},readonly:function(){return n.OT},ref:function(){return n.iH},registerRuntimeCompiler:function(){return n.Y1},render:function(){return n.sY},renderList:function(){return n.Ko},renderSlot:function(){return n.WI},resolveComponent:function(){return n.up},resolveDirective:function(){return n.Q2},resolveDynamicComponent:function(){return n.LL},resolveFilter:function(){return n.eq},resolveTransitionHooks:function(){return n.U2},setBlockTracking:function(){return n.qZ},setDevtoolsHook:function(){return n.ec},setTransitionHooks:function(){return n.nK},shallowReactive:function(){return n.Um},shallowReadonly:function(){return n.YS},shallowRef:function(){return n.XI},ssrContextKey:function(){return n.Uc},ssrUtils:function(){return n.G},stop:function(){return n.sT},toDisplayString:function(){return n.zw},toHandlerKey:function(){return n.hR},toHandlers:function(){return n.mx},toRaw:function(){return n.IU},toRef:function(){return n.Vh},toRefs:function(){return n.BK},transformVNodeArgs:function(){return n.C3},triggerRef:function(){return n.oR},unref:function(){return n.SU},useAttrs:function(){return n.l1},useCssModule:function(){return n.fb},useCssVars:function(){return n.sj},useSSRContext:function(){return n.Zq},useSlots:function(){return n.Rr},useTransitionState:function(){return n.Y8},vModelCheckbox:function(){return n.e8},vModelDynamic:function(){return n.YZ},vModelRadio:function(){return n.G2},vModelSelect:function(){return n.bM},vModelText:function(){return n.nr},vShow:function(){return n.F8},version:function(){return n.i8},warn:function(){return n.ZK},watch:function(){return n.YP},watchEffect:function(){return n.m0},watchPostEffect:function(){return n.Rh},watchSyncEffect:function(){return n.yX},withAsyncContext:function(){return n.mv},withCtx:function(){return n.w5},withDefaults:function(){return n.b9},withDirectives:function(){return n.wy},withKeys:function(){return n.D2},withMemo:function(){return n.MX},withModifiers:function(){return n.iM},withScopeId:function(){return n.HX}});var n=t(9963);const i=()=>{0}},9980:function(A,e,t){(function(e,n){A.exports=n(t(9812),t(8244))})("undefined"!==typeof self&&self,(function(A,e){return function(A){var e={};function t(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return A[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=A,t.c=e,t.d=function(A,e,n){t.o(A,e)||Object.defineProperty(A,e,{enumerable:!0,get:n})},t.r=function(A){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},t.t=function(A,e){if(1&e&&(A=t(A)),8&e)return A;if(4&e&&"object"===typeof A&&A&&A.__esModule)return A;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:A}),2&e&&"string"!=typeof A)for(var i in A)t.d(n,i,function(e){return A[e]}.bind(null,i));return n},t.n=function(A){var e=A&&A.__esModule?function(){return A["default"]}:function(){return A};return t.d(e,"a",e),e},t.o=function(A,e){return Object.prototype.hasOwnProperty.call(A,e)},t.p="",t(t.s="fb15")}({"00ee":function(A,e,t){var n=t("b622"),i=n("toStringTag"),r={};r[i]="z",A.exports="[object z]"===String(r)},"0366":function(A,e,t){var n=t("1c0b");A.exports=function(A,e,t){if(n(A),void 0===e)return A;switch(t){case 0:return function(){return A.call(e)};case 1:return function(t){return A.call(e,t)};case 2:return function(t,n){return A.call(e,t,n)};case 3:return function(t,n,i){return A.call(e,t,n,i)}}return function(){return A.apply(e,arguments)}}},"057f":function(A,e,t){var n=t("fc6a"),i=t("241c").f,r={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(A){try{return i(A)}catch(e){return o.slice()}};A.exports.f=function(A){return o&&"[object Window]"==r.call(A)?s(A):i(n(A))}},"06cf":function(A,e,t){var n=t("83ab"),i=t("d1e7"),r=t("5c6c"),o=t("fc6a"),s=t("c04e"),a=t("5135"),l=t("0cfb"),c=Object.getOwnPropertyDescriptor;e.f=n?c:function(A,e){if(A=o(A),e=s(e,!0),l)try{return c(A,e)}catch(t){}if(a(A,e))return r(!i.f.call(A,e),A[e])}},"0cfb":function(A,e,t){var n=t("83ab"),i=t("d039"),r=t("cc12");A.exports=!n&&!i((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},"13d5":function(A,e,t){"use strict";var n=t("23e7"),i=t("d58f").left,r=t("a640"),o=t("ae40"),s=r("reduce"),a=o("reduce",{1:0});n({target:"Array",proto:!0,forced:!s||!a},{reduce:function(A){return i(this,A,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(A,e,t){var n=t("c6b6"),i=t("9263");A.exports=function(A,e){var t=A.exec;if("function"===typeof t){var r=t.call(A,e);if("object"!==typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==n(A))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(A,e)}},"159b":function(A,e,t){var n=t("da84"),i=t("fdbc"),r=t("17c2"),o=t("9112");for(var s in i){var a=n[s],l=a&&a.prototype;if(l&&l.forEach!==r)try{o(l,"forEach",r)}catch(c){l.forEach=r}}},"17c2":function(A,e,t){"use strict";var n=t("b727").forEach,i=t("a640"),r=t("ae40"),o=i("forEach"),s=r("forEach");A.exports=o&&s?[].forEach:function(A){return n(this,A,arguments.length>1?arguments[1]:void 0)}},"1be4":function(A,e,t){var n=t("d066");A.exports=n("document","documentElement")},"1c0b":function(A,e){A.exports=function(A){if("function"!=typeof A)throw TypeError(String(A)+" is not a function");return A}},"1c7e":function(A,e,t){var n=t("b622"),i=n("iterator"),r=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){r=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(a){}A.exports=function(A,e){if(!e&&!r)return!1;var t=!1;try{var n={};n[i]=function(){return{next:function(){return{done:t=!0}}}},A(n)}catch(a){}return t}},"1d80":function(A,e){A.exports=function(A){if(void 0==A)throw TypeError("Can't call method on "+A);return A}},"1dde":function(A,e,t){var n=t("d039"),i=t("b622"),r=t("2d00"),o=i("species");A.exports=function(A){return r>=51||!n((function(){var e=[],t=e.constructor={};return t[o]=function(){return{foo:1}},1!==e[A](Boolean).foo}))}},"23cb":function(A,e,t){var n=t("a691"),i=Math.max,r=Math.min;A.exports=function(A,e){var t=n(A);return t<0?i(t+e,0):r(t,e)}},"23e7":function(A,e,t){var n=t("da84"),i=t("06cf").f,r=t("9112"),o=t("6eeb"),s=t("ce4e"),a=t("e893"),l=t("94ca");A.exports=function(A,e){var t,c,d,u,h,g,p=A.target,f=A.global,m=A.stat;if(c=f?n:m?n[p]||s(p,{}):(n[p]||{}).prototype,c)for(d in e){if(h=e[d],A.noTargetGet?(g=i(c,d),u=g&&g.value):u=c[d],t=l(f?d:p+(m?".":"#")+d,A.forced),!t&&void 0!==u){if(typeof h===typeof u)continue;a(h,u)}(A.sham||u&&u.sham)&&r(h,"sham",!0),o(c,d,h,A)}}},"241c":function(A,e,t){var n=t("ca84"),i=t("7839"),r=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(A){return n(A,r)}},"25f0":function(A,e,t){"use strict";var n=t("6eeb"),i=t("825a"),r=t("d039"),o=t("ad6d"),s="toString",a=RegExp.prototype,l=a[s],c=r((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),d=l.name!=s;(c||d)&&n(RegExp.prototype,s,(function(){var A=i(this),e=String(A.source),t=A.flags,n=String(void 0===t&&A instanceof RegExp&&!("flags"in a)?o.call(A):t);return"/"+e+"/"+n}),{unsafe:!0})},"2ca0":function(A,e,t){"use strict";var n=t("23e7"),i=t("06cf").f,r=t("50c4"),o=t("5a34"),s=t("1d80"),a=t("ab13"),l=t("c430"),c="".startsWith,d=Math.min,u=a("startsWith"),h=!l&&!u&&!!function(){var A=i(String.prototype,"startsWith");return A&&!A.writable}();n({target:"String",proto:!0,forced:!h&&!u},{startsWith:function(A){var e=String(s(this));o(A);var t=r(d(arguments.length>1?arguments[1]:void 0,e.length)),n=String(A);return c?c.call(e,n,t):e.slice(t,t+n.length)===n}})},"2d00":function(A,e,t){var n,i,r=t("da84"),o=t("342f"),s=r.process,a=s&&s.versions,l=a&&a.v8;l?(n=l.split("."),i=n[0]+n[1]):o&&(n=o.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/),n&&(i=n[1]))),A.exports=i&&+i},"342f":function(A,e,t){var n=t("d066");A.exports=n("navigator","userAgent")||""},"35a1":function(A,e,t){var n=t("f5df"),i=t("3f8c"),r=t("b622"),o=r("iterator");A.exports=function(A){if(void 0!=A)return A[o]||A["@@iterator"]||i[n(A)]}},"37e8":function(A,e,t){var n=t("83ab"),i=t("9bf2"),r=t("825a"),o=t("df75");A.exports=n?Object.defineProperties:function(A,e){r(A);var t,n=o(e),s=n.length,a=0;while(s>a)i.f(A,t=n[a++],e[t]);return A}},"3bbe":function(A,e,t){var n=t("861d");A.exports=function(A){if(!n(A)&&null!==A)throw TypeError("Can't set "+String(A)+" as a prototype");return A}},"3ca3":function(A,e,t){"use strict";var n=t("6547").charAt,i=t("69f3"),r=t("7dd0"),o="String Iterator",s=i.set,a=i.getterFor(o);r(String,"String",(function(A){s(this,{type:o,string:String(A),index:0})}),(function(){var A,e=a(this),t=e.string,i=e.index;return i>=t.length?{value:void 0,done:!0}:(A=n(t,i),e.index+=A.length,{value:A,done:!1})}))},"3f8c":function(A,e){A.exports={}},4160:function(A,e,t){"use strict";var n=t("23e7"),i=t("17c2");n({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"428f":function(A,e,t){var n=t("da84");A.exports=n},"44ad":function(A,e,t){var n=t("d039"),i=t("c6b6"),r="".split;A.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(A){return"String"==i(A)?r.call(A,""):Object(A)}:Object},"44d2":function(A,e,t){var n=t("b622"),i=t("7c73"),r=t("9bf2"),o=n("unscopables"),s=Array.prototype;void 0==s[o]&&r.f(s,o,{configurable:!0,value:i(null)}),A.exports=function(A){s[o][A]=!0}},"44e7":function(A,e,t){var n=t("861d"),i=t("c6b6"),r=t("b622"),o=r("match");A.exports=function(A){var e;return n(A)&&(void 0!==(e=A[o])?!!e:"RegExp"==i(A))}},4930:function(A,e,t){var n=t("d039");A.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},"4d64":function(A,e,t){var n=t("fc6a"),i=t("50c4"),r=t("23cb"),o=function(A){return function(e,t,o){var s,a=n(e),l=i(a.length),c=r(o,l);if(A&&t!=t){while(l>c)if(s=a[c++],s!=s)return!0}else for(;l>c;c++)if((A||c in a)&&a[c]===t)return A||c||0;return!A&&-1}};A.exports={includes:o(!0),indexOf:o(!1)}},"4de4":function(A,e,t){"use strict";var n=t("23e7"),i=t("b727").filter,r=t("1dde"),o=t("ae40"),s=r("filter"),a=o("filter");n({target:"Array",proto:!0,forced:!s||!a},{filter:function(A){return i(this,A,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(A,e,t){"use strict";var n=t("0366"),i=t("7b0b"),r=t("9bdd"),o=t("e95a"),s=t("50c4"),a=t("8418"),l=t("35a1");A.exports=function(A){var e,t,c,d,u,h,g=i(A),p="function"==typeof this?this:Array,f=arguments.length,m=f>1?arguments[1]:void 0,B=void 0!==m,w=l(g),v=0;if(B&&(m=n(m,f>2?arguments[2]:void 0,2)),void 0==w||p==Array&&o(w))for(e=s(g.length),t=new p(e);e>v;v++)h=B?m(g[v],v):g[v],a(t,v,h);else for(d=w.call(g),u=d.next,t=new p;!(c=u.call(d)).done;v++)h=B?r(d,m,[c.value,v],!0):c.value,a(t,v,h);return t.length=v,t}},"4fad":function(A,e,t){var n=t("23e7"),i=t("6f53").entries;n({target:"Object",stat:!0},{entries:function(A){return i(A)}})},"50c4":function(A,e,t){var n=t("a691"),i=Math.min;A.exports=function(A){return A>0?i(n(A),9007199254740991):0}},5135:function(A,e){var t={}.hasOwnProperty;A.exports=function(A,e){return t.call(A,e)}},5319:function(A,e,t){"use strict";var n=t("d784"),i=t("825a"),r=t("7b0b"),o=t("50c4"),s=t("a691"),a=t("1d80"),l=t("8aa5"),c=t("14c3"),d=Math.max,u=Math.min,h=Math.floor,g=/\$([$&'`]|\d\d?|<[^>]*>)/g,p=/\$([$&'`]|\d\d?)/g,f=function(A){return void 0===A?A:String(A)};n("replace",2,(function(A,e,t,n){var m=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,B=n.REPLACE_KEEPS_$0,w=m?"$":"$0";return[function(t,n){var i=a(this),r=void 0==t?void 0:t[A];return void 0!==r?r.call(t,i,n):e.call(String(i),t,n)},function(A,n){if(!m&&B||"string"===typeof n&&-1===n.indexOf(w)){var r=t(e,A,this,n);if(r.done)return r.value}var a=i(A),h=String(this),g="function"===typeof n;g||(n=String(n));var p=a.global;if(p){var C=a.unicode;a.lastIndex=0}var b=[];while(1){var y=c(a,h);if(null===y)break;if(b.push(y),!p)break;var _=String(y[0]);""===_&&(a.lastIndex=l(h,o(a.lastIndex),C))}for(var Q="",U=0,F=0;F<b.length;F++){y=b[F];for(var x=String(y[0]),E=d(u(s(y.index),h.length),0),k=[],I=1;I<y.length;I++)k.push(f(y[I]));var S=y.groups;if(g){var H=[x].concat(k,E,h);void 0!==S&&H.push(S);var D=String(n.apply(void 0,H))}else D=v(x,h,E,k,S,n);E>=U&&(Q+=h.slice(U,E)+D,U=E+x.length)}return Q+h.slice(U)}];function v(A,t,n,i,o,s){var a=n+A.length,l=i.length,c=p;return void 0!==o&&(o=r(o),c=g),e.call(s,c,(function(e,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return A;case"`":return t.slice(0,n);case"'":return t.slice(a);case"<":s=o[r.slice(1,-1)];break;default:var c=+r;if(0===c)return e;if(c>l){var d=h(c/10);return 0===d?e:d<=l?void 0===i[d-1]?r.charAt(1):i[d-1]+r.charAt(1):e}s=i[c-1]}return void 0===s?"":s}))}}))},5692:function(A,e,t){var n=t("c430"),i=t("c6cd");(A.exports=function(A,e){return i[A]||(i[A]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(A,e,t){var n=t("d066"),i=t("241c"),r=t("7418"),o=t("825a");A.exports=n("Reflect","ownKeys")||function(A){var e=i.f(o(A)),t=r.f;return t?e.concat(t(A)):e}},"5a34":function(A,e,t){var n=t("44e7");A.exports=function(A){if(n(A))throw TypeError("The method doesn't accept regular expressions");return A}},"5c6c":function(A,e){A.exports=function(A,e){return{enumerable:!(1&A),configurable:!(2&A),writable:!(4&A),value:e}}},"5db7":function(A,e,t){"use strict";var n=t("23e7"),i=t("a2bf"),r=t("7b0b"),o=t("50c4"),s=t("1c0b"),a=t("65f0");n({target:"Array",proto:!0},{flatMap:function(A){var e,t=r(this),n=o(t.length);return s(A),e=a(t,0),e.length=i(e,t,t,n,0,1,A,arguments.length>1?arguments[1]:void 0),e}})},6547:function(A,e,t){var n=t("a691"),i=t("1d80"),r=function(A){return function(e,t){var r,o,s=String(i(e)),a=n(t),l=s.length;return a<0||a>=l?A?"":void 0:(r=s.charCodeAt(a),r<55296||r>56319||a+1===l||(o=s.charCodeAt(a+1))<56320||o>57343?A?s.charAt(a):r:A?s.slice(a,a+2):o-56320+(r-55296<<10)+65536)}};A.exports={codeAt:r(!1),charAt:r(!0)}},"65f0":function(A,e,t){var n=t("861d"),i=t("e8b5"),r=t("b622"),o=r("species");A.exports=function(A,e){var t;return i(A)&&(t=A.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)?n(t)&&(t=t[o],null===t&&(t=void 0)):t=void 0),new(void 0===t?Array:t)(0===e?0:e)}},"69f3":function(A,e,t){var n,i,r,o=t("7f9a"),s=t("da84"),a=t("861d"),l=t("9112"),c=t("5135"),d=t("f772"),u=t("d012"),h=s.WeakMap,g=function(A){return r(A)?i(A):n(A,{})},p=function(A){return function(e){var t;if(!a(e)||(t=i(e)).type!==A)throw TypeError("Incompatible receiver, "+A+" required");return t}};if(o){var f=new h,m=f.get,B=f.has,w=f.set;n=function(A,e){return w.call(f,A,e),e},i=function(A){return m.call(f,A)||{}},r=function(A){return B.call(f,A)}}else{var v=d("state");u[v]=!0,n=function(A,e){return l(A,v,e),e},i=function(A){return c(A,v)?A[v]:{}},r=function(A){return c(A,v)}}A.exports={set:n,get:i,has:r,enforce:g,getterFor:p}},"6eeb":function(A,e,t){var n=t("da84"),i=t("9112"),r=t("5135"),o=t("ce4e"),s=t("8925"),a=t("69f3"),l=a.get,c=a.enforce,d=String(String).split("String");(A.exports=function(A,e,t,s){var a=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,u=!!s&&!!s.noTargetGet;"function"==typeof t&&("string"!=typeof e||r(t,"name")||i(t,"name",e),c(t).source=d.join("string"==typeof e?e:"")),A!==n?(a?!u&&A[e]&&(l=!0):delete A[e],l?A[e]=t:i(A,e,t)):l?A[e]=t:o(e,t)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},"6f53":function(A,e,t){var n=t("83ab"),i=t("df75"),r=t("fc6a"),o=t("d1e7").f,s=function(A){return function(e){var t,s=r(e),a=i(s),l=a.length,c=0,d=[];while(l>c)t=a[c++],n&&!o.call(s,t)||d.push(A?[t,s[t]]:s[t]);return d}};A.exports={entries:s(!0),values:s(!1)}},"73d9":function(A,e,t){var n=t("44d2");n("flatMap")},7418:function(A,e){e.f=Object.getOwnPropertySymbols},"746f":function(A,e,t){var n=t("428f"),i=t("5135"),r=t("e538"),o=t("9bf2").f;A.exports=function(A){var e=n.Symbol||(n.Symbol={});i(e,A)||o(e,A,{value:r.f(A)})}},7839:function(A,e){A.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(A,e,t){var n=t("1d80");A.exports=function(A){return Object(n(A))}},"7c73":function(A,e,t){var n,i=t("825a"),r=t("37e8"),o=t("7839"),s=t("d012"),a=t("1be4"),l=t("cc12"),c=t("f772"),d=">",u="<",h="prototype",g="script",p=c("IE_PROTO"),f=function(){},m=function(A){return u+g+d+A+u+"/"+g+d},B=function(A){A.write(m("")),A.close();var e=A.parentWindow.Object;return A=null,e},w=function(){var A,e=l("iframe"),t="java"+g+":";return e.style.display="none",a.appendChild(e),e.src=String(t),A=e.contentWindow.document,A.open(),A.write(m("document.F=Object")),A.close(),A.F},v=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}v=n?B(n):w();var A=o.length;while(A--)delete v[h][o[A]];return v()};s[p]=!0,A.exports=Object.create||function(A,e){var t;return null!==A?(f[h]=i(A),t=new f,f[h]=null,t[p]=A):t=v(),void 0===e?t:r(t,e)}},"7dd0":function(A,e,t){"use strict";var n=t("23e7"),i=t("9ed3"),r=t("e163"),o=t("d2bb"),s=t("d44e"),a=t("9112"),l=t("6eeb"),c=t("b622"),d=t("c430"),u=t("3f8c"),h=t("ae93"),g=h.IteratorPrototype,p=h.BUGGY_SAFARI_ITERATORS,f=c("iterator"),m="keys",B="values",w="entries",v=function(){return this};A.exports=function(A,e,t,c,h,C,b){i(t,e,c);var y,_,Q,U=function(A){if(A===h&&I)return I;if(!p&&A in E)return E[A];switch(A){case m:return function(){return new t(this,A)};case B:return function(){return new t(this,A)};case w:return function(){return new t(this,A)}}return function(){return new t(this)}},F=e+" Iterator",x=!1,E=A.prototype,k=E[f]||E["@@iterator"]||h&&E[h],I=!p&&k||U(h),S="Array"==e&&E.entries||k;if(S&&(y=r(S.call(new A)),g!==Object.prototype&&y.next&&(d||r(y)===g||(o?o(y,g):"function"!=typeof y[f]&&a(y,f,v)),s(y,F,!0,!0),d&&(u[F]=v))),h==B&&k&&k.name!==B&&(x=!0,I=function(){return k.call(this)}),d&&!b||E[f]===I||a(E,f,I),u[e]=I,h)if(_={values:U(B),keys:C?I:U(m),entries:U(w)},b)for(Q in _)(p||x||!(Q in E))&&l(E,Q,_[Q]);else n({target:e,proto:!0,forced:p||x},_);return _}},"7f9a":function(A,e,t){var n=t("da84"),i=t("8925"),r=n.WeakMap;A.exports="function"===typeof r&&/native code/.test(i(r))},"825a":function(A,e,t){var n=t("861d");A.exports=function(A){if(!n(A))throw TypeError(String(A)+" is not an object");return A}},"83ab":function(A,e,t){var n=t("d039");A.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(A,e,t){"use strict";var n=t("c04e"),i=t("9bf2"),r=t("5c6c");A.exports=function(A,e,t){var o=n(e);o in A?i.f(A,o,r(0,t)):A[o]=t}},"861d":function(A,e){A.exports=function(A){return"object"===typeof A?null!==A:"function"===typeof A}},8875:function(A,e,t){var n,i,r;(function(t,o){i=[],n=o,r="function"===typeof n?n.apply(e,i):n,void 0===r||(A.exports=r)})("undefined"!==typeof self&&self,(function(){function A(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==A&&document.currentScript)return document.currentScript;try{throw new Error}catch(h){var t,n,i,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=r.exec(h.stack)||o.exec(h.stack),a=s&&s[1]||!1,l=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");a===c&&(t=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=t.replace(n,"$1").trim());for(var u=0;u<d.length;u++){if("interactive"===d[u].readyState)return d[u];if(d[u].src===a)return d[u];if(a===c&&d[u].innerHTML&&d[u].innerHTML.trim()===i)return d[u]}return null}}return A}))},8925:function(A,e,t){var n=t("c6cd"),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(A){return i.call(A)}),A.exports=n.inspectSource},"8aa5":function(A,e,t){"use strict";var n=t("6547").charAt;A.exports=function(A,e,t){return e+(t?n(A,e).length:1)}},"8bbf":function(e,t){e.exports=A},"90e3":function(A,e){var t=0,n=Math.random();A.exports=function(A){return"Symbol("+String(void 0===A?"":A)+")_"+(++t+n).toString(36)}},9112:function(A,e,t){var n=t("83ab"),i=t("9bf2"),r=t("5c6c");A.exports=n?function(A,e,t){return i.f(A,e,r(1,t))}:function(A,e,t){return A[e]=t,A}},9263:function(A,e,t){"use strict";var n=t("ad6d"),i=t("9f7f"),r=RegExp.prototype.exec,o=String.prototype.replace,s=r,a=function(){var A=/a/,e=/b*/g;return r.call(A,"a"),r.call(e,"a"),0!==A.lastIndex||0!==e.lastIndex}(),l=i.UNSUPPORTED_Y||i.BROKEN_CARET,c=void 0!==/()??/.exec("")[1],d=a||c||l;d&&(s=function(A){var e,t,i,s,d=this,u=l&&d.sticky,h=n.call(d),g=d.source,p=0,f=A;return u&&(h=h.replace("y",""),-1===h.indexOf("g")&&(h+="g"),f=String(A).slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==A[d.lastIndex-1])&&(g="(?: "+g+")",f=" "+f,p++),t=new RegExp("^(?:"+g+")",h)),c&&(t=new RegExp("^"+g+"$(?!\\s)",h)),a&&(e=d.lastIndex),i=r.call(u?t:d,f),u?i?(i.input=i.input.slice(p),i[0]=i[0].slice(p),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:a&&i&&(d.lastIndex=d.global?i.index+i[0].length:e),c&&i&&i.length>1&&o.call(i[0],t,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)})),i}),A.exports=s},"94ca":function(A,e,t){var n=t("d039"),i=/#|\.prototype\./,r=function(A,e){var t=s[o(A)];return t==l||t!=a&&("function"==typeof e?n(e):!!e)},o=r.normalize=function(A){return String(A).replace(i,".").toLowerCase()},s=r.data={},a=r.NATIVE="N",l=r.POLYFILL="P";A.exports=r},"99af":function(A,e,t){"use strict";var n=t("23e7"),i=t("d039"),r=t("e8b5"),o=t("861d"),s=t("7b0b"),a=t("50c4"),l=t("8418"),c=t("65f0"),d=t("1dde"),u=t("b622"),h=t("2d00"),g=u("isConcatSpreadable"),p=9007199254740991,f="Maximum allowed index exceeded",m=h>=51||!i((function(){var A=[];return A[g]=!1,A.concat()[0]!==A})),B=d("concat"),w=function(A){if(!o(A))return!1;var e=A[g];return void 0!==e?!!e:r(A)},v=!m||!B;n({target:"Array",proto:!0,forced:v},{concat:function(A){var e,t,n,i,r,o=s(this),d=c(o,0),u=0;for(e=-1,n=arguments.length;e<n;e++)if(r=-1===e?o:arguments[e],w(r)){if(i=a(r.length),u+i>p)throw TypeError(f);for(t=0;t<i;t++,u++)t in r&&l(d,u,r[t])}else{if(u>=p)throw TypeError(f);l(d,u++,r)}return d.length=u,d}})},"9bdd":function(A,e,t){var n=t("825a");A.exports=function(A,e,t,i){try{return i?e(n(t)[0],t[1]):e(t)}catch(o){var r=A["return"];throw void 0!==r&&n(r.call(A)),o}}},"9bf2":function(A,e,t){var n=t("83ab"),i=t("0cfb"),r=t("825a"),o=t("c04e"),s=Object.defineProperty;e.f=n?s:function(A,e,t){if(r(A),e=o(e,!0),r(t),i)try{return s(A,e,t)}catch(n){}if("get"in t||"set"in t)throw TypeError("Accessors not supported");return"value"in t&&(A[e]=t.value),A}},"9ed3":function(A,e,t){"use strict";var n=t("ae93").IteratorPrototype,i=t("7c73"),r=t("5c6c"),o=t("d44e"),s=t("3f8c"),a=function(){return this};A.exports=function(A,e,t){var l=e+" Iterator";return A.prototype=i(n,{next:r(1,t)}),o(A,l,!1,!0),s[l]=a,A}},"9f7f":function(A,e,t){"use strict";var n=t("d039");function i(A,e){return RegExp(A,e)}e.UNSUPPORTED_Y=n((function(){var A=i("a","y");return A.lastIndex=2,null!=A.exec("abcd")})),e.BROKEN_CARET=n((function(){var A=i("^r","gy");return A.lastIndex=2,null!=A.exec("str")}))},a2bf:function(A,e,t){"use strict";var n=t("e8b5"),i=t("50c4"),r=t("0366"),o=function(A,e,t,s,a,l,c,d){var u,h=a,g=0,p=!!c&&r(c,d,3);while(g<s){if(g in t){if(u=p?p(t[g],g,e):t[g],l>0&&n(u))h=o(A,e,u,i(u.length),h,l-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");A[h]=u}h++}g++}return h};A.exports=o},a352:function(A,t){A.exports=e},a434:function(A,e,t){"use strict";var n=t("23e7"),i=t("23cb"),r=t("a691"),o=t("50c4"),s=t("7b0b"),a=t("65f0"),l=t("8418"),c=t("1dde"),d=t("ae40"),u=c("splice"),h=d("splice",{ACCESSORS:!0,0:0,1:2}),g=Math.max,p=Math.min,f=9007199254740991,m="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!u||!h},{splice:function(A,e){var t,n,c,d,u,h,B=s(this),w=o(B.length),v=i(A,w),C=arguments.length;if(0===C?t=n=0:1===C?(t=0,n=w-v):(t=C-2,n=p(g(r(e),0),w-v)),w+t-n>f)throw TypeError(m);for(c=a(B,n),d=0;d<n;d++)u=v+d,u in B&&l(c,d,B[u]);if(c.length=n,t<n){for(d=v;d<w-n;d++)u=d+n,h=d+t,u in B?B[h]=B[u]:delete B[h];for(d=w;d>w-n+t;d--)delete B[d-1]}else if(t>n)for(d=w-n;d>v;d--)u=d+n-1,h=d+t-1,u in B?B[h]=B[u]:delete B[h];for(d=0;d<t;d++)B[d+v]=arguments[d+2];return B.length=w-n+t,c}})},a4d3:function(A,e,t){"use strict";var n=t("23e7"),i=t("da84"),r=t("d066"),o=t("c430"),s=t("83ab"),a=t("4930"),l=t("fdbf"),c=t("d039"),d=t("5135"),u=t("e8b5"),h=t("861d"),g=t("825a"),p=t("7b0b"),f=t("fc6a"),m=t("c04e"),B=t("5c6c"),w=t("7c73"),v=t("df75"),C=t("241c"),b=t("057f"),y=t("7418"),_=t("06cf"),Q=t("9bf2"),U=t("d1e7"),F=t("9112"),x=t("6eeb"),E=t("5692"),k=t("f772"),I=t("d012"),S=t("90e3"),H=t("b622"),D=t("e538"),L=t("746f"),O=t("d44e"),M=t("69f3"),T=t("b727").forEach,K=k("hidden"),N="Symbol",P="prototype",R=H("toPrimitive"),V=M.set,G=M.getterFor(N),z=Object[P],j=i.Symbol,Z=r("JSON","stringify"),W=_.f,X=Q.f,Y=b.f,J=U.f,$=E("symbols"),q=E("op-symbols"),AA=E("string-to-symbol-registry"),eA=E("symbol-to-string-registry"),tA=E("wks"),nA=i.QObject,iA=!nA||!nA[P]||!nA[P].findChild,rA=s&&c((function(){return 7!=w(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(A,e,t){var n=W(z,e);n&&delete z[e],X(A,e,t),n&&A!==z&&X(z,e,n)}:X,oA=function(A,e){var t=$[A]=w(j[P]);return V(t,{type:N,tag:A,description:e}),s||(t.description=e),t},sA=l?function(A){return"symbol"==typeof A}:function(A){return Object(A)instanceof j},aA=function(A,e,t){A===z&&aA(q,e,t),g(A);var n=m(e,!0);return g(t),d($,n)?(t.enumerable?(d(A,K)&&A[K][n]&&(A[K][n]=!1),t=w(t,{enumerable:B(0,!1)})):(d(A,K)||X(A,K,B(1,{})),A[K][n]=!0),rA(A,n,t)):X(A,n,t)},lA=function(A,e){g(A);var t=f(e),n=v(t).concat(gA(t));return T(n,(function(e){s&&!dA.call(t,e)||aA(A,e,t[e])})),A},cA=function(A,e){return void 0===e?w(A):lA(w(A),e)},dA=function(A){var e=m(A,!0),t=J.call(this,e);return!(this===z&&d($,e)&&!d(q,e))&&(!(t||!d(this,e)||!d($,e)||d(this,K)&&this[K][e])||t)},uA=function(A,e){var t=f(A),n=m(e,!0);if(t!==z||!d($,n)||d(q,n)){var i=W(t,n);return!i||!d($,n)||d(t,K)&&t[K][n]||(i.enumerable=!0),i}},hA=function(A){var e=Y(f(A)),t=[];return T(e,(function(A){d($,A)||d(I,A)||t.push(A)})),t},gA=function(A){var e=A===z,t=Y(e?q:f(A)),n=[];return T(t,(function(A){!d($,A)||e&&!d(z,A)||n.push($[A])})),n};if(a||(j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor");var A=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=S(A),t=function(A){this===z&&t.call(q,A),d(this,K)&&d(this[K],e)&&(this[K][e]=!1),rA(this,e,B(1,A))};return s&&iA&&rA(z,e,{configurable:!0,set:t}),oA(e,A)},x(j[P],"toString",(function(){return G(this).tag})),x(j,"withoutSetter",(function(A){return oA(S(A),A)})),U.f=dA,Q.f=aA,_.f=uA,C.f=b.f=hA,y.f=gA,D.f=function(A){return oA(H(A),A)},s&&(X(j[P],"description",{configurable:!0,get:function(){return G(this).description}}),o||x(z,"propertyIsEnumerable",dA,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:j}),T(v(tA),(function(A){L(A)})),n({target:N,stat:!0,forced:!a},{for:function(A){var e=String(A);if(d(AA,e))return AA[e];var t=j(e);return AA[e]=t,eA[t]=e,t},keyFor:function(A){if(!sA(A))throw TypeError(A+" is not a symbol");if(d(eA,A))return eA[A]},useSetter:function(){iA=!0},useSimple:function(){iA=!1}}),n({target:"Object",stat:!0,forced:!a,sham:!s},{create:cA,defineProperty:aA,defineProperties:lA,getOwnPropertyDescriptor:uA}),n({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:hA,getOwnPropertySymbols:gA}),n({target:"Object",stat:!0,forced:c((function(){y.f(1)}))},{getOwnPropertySymbols:function(A){return y.f(p(A))}}),Z){var pA=!a||c((function(){var A=j();return"[null]"!=Z([A])||"{}"!=Z({a:A})||"{}"!=Z(Object(A))}));n({target:"JSON",stat:!0,forced:pA},{stringify:function(A,e,t){var n,i=[A],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=e,(h(e)||void 0!==A)&&!sA(A))return u(e)||(e=function(A,e){if("function"==typeof n&&(e=n.call(this,A,e)),!sA(e))return e}),i[1]=e,Z.apply(null,i)}})}j[P][R]||F(j[P],R,j[P].valueOf),O(j,N),I[K]=!0},a630:function(A,e,t){var n=t("23e7"),i=t("4df4"),r=t("1c7e"),o=!r((function(A){Array.from(A)}));n({target:"Array",stat:!0,forced:o},{from:i})},a640:function(A,e,t){"use strict";var n=t("d039");A.exports=function(A,e){var t=[][A];return!!t&&n((function(){t.call(null,e||function(){throw 1},1)}))}},a691:function(A,e){var t=Math.ceil,n=Math.floor;A.exports=function(A){return isNaN(A=+A)?0:(A>0?n:t)(A)}},ab13:function(A,e,t){var n=t("b622"),i=n("match");A.exports=function(A){var e=/./;try{"/./"[A](e)}catch(t){try{return e[i]=!1,"/./"[A](e)}catch(n){}}return!1}},ac1f:function(A,e,t){"use strict";var n=t("23e7"),i=t("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(A,e,t){"use strict";var n=t("825a");A.exports=function(){var A=n(this),e="";return A.global&&(e+="g"),A.ignoreCase&&(e+="i"),A.multiline&&(e+="m"),A.dotAll&&(e+="s"),A.unicode&&(e+="u"),A.sticky&&(e+="y"),e}},ae40:function(A,e,t){var n=t("83ab"),i=t("d039"),r=t("5135"),o=Object.defineProperty,s={},a=function(A){throw A};A.exports=function(A,e){if(r(s,A))return s[A];e||(e={});var t=[][A],l=!!r(e,"ACCESSORS")&&e.ACCESSORS,c=r(e,0)?e[0]:a,d=r(e,1)?e[1]:void 0;return s[A]=!!t&&!i((function(){if(l&&!n)return!0;var A={length:-1};l?o(A,1,{enumerable:!0,get:a}):A[1]=1,t.call(A,c,d)}))}},ae93:function(A,e,t){"use strict";var n,i,r,o=t("e163"),s=t("9112"),a=t("5135"),l=t("b622"),c=t("c430"),d=l("iterator"),u=!1,h=function(){return this};[].keys&&(r=[].keys(),"next"in r?(i=o(o(r)),i!==Object.prototype&&(n=i)):u=!0),void 0==n&&(n={}),c||a(n,d)||s(n,d,h),A.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:u}},b041:function(A,e,t){"use strict";var n=t("00ee"),i=t("f5df");A.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(A,e,t){var n=t("83ab"),i=t("9bf2").f,r=Function.prototype,o=r.toString,s=/^\s*function ([^ (]*)/,a="name";n&&!(a in r)&&i(r,a,{configurable:!0,get:function(){try{return o.call(this).match(s)[1]}catch(A){return""}}})},b622:function(A,e,t){var n=t("da84"),i=t("5692"),r=t("5135"),o=t("90e3"),s=t("4930"),a=t("fdbf"),l=i("wks"),c=n.Symbol,d=a?c:c&&c.withoutSetter||o;A.exports=function(A){return r(l,A)||(s&&r(c,A)?l[A]=c[A]:l[A]=d("Symbol."+A)),l[A]}},b64b:function(A,e,t){var n=t("23e7"),i=t("7b0b"),r=t("df75"),o=t("d039"),s=o((function(){r(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(A){return r(i(A))}})},b727:function(A,e,t){var n=t("0366"),i=t("44ad"),r=t("7b0b"),o=t("50c4"),s=t("65f0"),a=[].push,l=function(A){var e=1==A,t=2==A,l=3==A,c=4==A,d=6==A,u=5==A||d;return function(h,g,p,f){for(var m,B,w=r(h),v=i(w),C=n(g,p,3),b=o(v.length),y=0,_=f||s,Q=e?_(h,b):t?_(h,0):void 0;b>y;y++)if((u||y in v)&&(m=v[y],B=C(m,y,w),A))if(e)Q[y]=B;else if(B)switch(A){case 3:return!0;case 5:return m;case 6:return y;case 2:a.call(Q,m)}else if(c)return!1;return d?-1:l||c?c:Q}};A.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},c04e:function(A,e,t){var n=t("861d");A.exports=function(A,e){if(!n(A))return A;var t,i;if(e&&"function"==typeof(t=A.toString)&&!n(i=t.call(A)))return i;if("function"==typeof(t=A.valueOf)&&!n(i=t.call(A)))return i;if(!e&&"function"==typeof(t=A.toString)&&!n(i=t.call(A)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(A,e){A.exports=!1},c6b6:function(A,e){var t={}.toString;A.exports=function(A){return t.call(A).slice(8,-1)}},c6cd:function(A,e,t){var n=t("da84"),i=t("ce4e"),r="__core-js_shared__",o=n[r]||i(r,{});A.exports=o},c740:function(A,e,t){"use strict";var n=t("23e7"),i=t("b727").findIndex,r=t("44d2"),o=t("ae40"),s="findIndex",a=!0,l=o(s);s in[]&&Array(1)[s]((function(){a=!1})),n({target:"Array",proto:!0,forced:a||!l},{findIndex:function(A){return i(this,A,arguments.length>1?arguments[1]:void 0)}}),r(s)},c8ba:function(A,e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(n){"object"===typeof window&&(t=window)}A.exports=t},c975:function(A,e,t){"use strict";var n=t("23e7"),i=t("4d64").indexOf,r=t("a640"),o=t("ae40"),s=[].indexOf,a=!!s&&1/[1].indexOf(1,-0)<0,l=r("indexOf"),c=o("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:a||!l||!c},{indexOf:function(A){return a?s.apply(this,arguments)||0:i(this,A,arguments.length>1?arguments[1]:void 0)}})},ca84:function(A,e,t){var n=t("5135"),i=t("fc6a"),r=t("4d64").indexOf,o=t("d012");A.exports=function(A,e){var t,s=i(A),a=0,l=[];for(t in s)!n(o,t)&&n(s,t)&&l.push(t);while(e.length>a)n(s,t=e[a++])&&(~r(l,t)||l.push(t));return l}},caad:function(A,e,t){"use strict";var n=t("23e7"),i=t("4d64").includes,r=t("44d2"),o=t("ae40"),s=o("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:!s},{includes:function(A){return i(this,A,arguments.length>1?arguments[1]:void 0)}}),r("includes")},cc12:function(A,e,t){var n=t("da84"),i=t("861d"),r=n.document,o=i(r)&&i(r.createElement);A.exports=function(A){return o?r.createElement(A):{}}},ce4e:function(A,e,t){var n=t("da84"),i=t("9112");A.exports=function(A,e){try{i(n,A,e)}catch(t){n[A]=e}return e}},d012:function(A,e){A.exports={}},d039:function(A,e){A.exports=function(A){try{return!!A()}catch(e){return!0}}},d066:function(A,e,t){var n=t("428f"),i=t("da84"),r=function(A){return"function"==typeof A?A:void 0};A.exports=function(A,e){return arguments.length<2?r(n[A])||r(i[A]):n[A]&&n[A][e]||i[A]&&i[A][e]}},d1e7:function(A,e,t){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!n.call({1:2},1);e.f=r?function(A){var e=i(this,A);return!!e&&e.enumerable}:n},d28b:function(A,e,t){var n=t("746f");n("iterator")},d2bb:function(A,e,t){var n=t("825a"),i=t("3bbe");A.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var A,e=!1,t={};try{A=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,A.call(t,[]),e=t instanceof Array}catch(r){}return function(t,r){return n(t),i(r),e?A.call(t,r):t.__proto__=r,t}}():void 0)},d3b7:function(A,e,t){var n=t("00ee"),i=t("6eeb"),r=t("b041");n||i(Object.prototype,"toString",r,{unsafe:!0})},d44e:function(A,e,t){var n=t("9bf2").f,i=t("5135"),r=t("b622"),o=r("toStringTag");A.exports=function(A,e,t){A&&!i(A=t?A:A.prototype,o)&&n(A,o,{configurable:!0,value:e})}},d58f:function(A,e,t){var n=t("1c0b"),i=t("7b0b"),r=t("44ad"),o=t("50c4"),s=function(A){return function(e,t,s,a){n(t);var l=i(e),c=r(l),d=o(l.length),u=A?d-1:0,h=A?-1:1;if(s<2)while(1){if(u in c){a=c[u],u+=h;break}if(u+=h,A?u<0:d<=u)throw TypeError("Reduce of empty array with no initial value")}for(;A?u>=0:d>u;u+=h)u in c&&(a=t(a,c[u],u,l));return a}};A.exports={left:s(!1),right:s(!0)}},d784:function(A,e,t){"use strict";t("ac1f");var n=t("6eeb"),i=t("d039"),r=t("b622"),o=t("9263"),s=t("9112"),a=r("species"),l=!i((function(){var A=/./;return A.exec=function(){var A=[];return A.groups={a:"7"},A},"7"!=="".replace(A,"$<a>")})),c=function(){return"$0"==="a".replace(/./,"$0")}(),d=r("replace"),u=function(){return!!/./[d]&&""===/./[d]("a","$0")}(),h=!i((function(){var A=/(?:)/,e=A.exec;A.exec=function(){return e.apply(this,arguments)};var t="ab".split(A);return 2!==t.length||"a"!==t[0]||"b"!==t[1]}));A.exports=function(A,e,t,d){var g=r(A),p=!i((function(){var e={};return e[g]=function(){return 7},7!=""[A](e)})),f=p&&!i((function(){var e=!1,t=/a/;return"split"===A&&(t={},t.constructor={},t.constructor[a]=function(){return t},t.flags="",t[g]=/./[g]),t.exec=function(){return e=!0,null},t[g](""),!e}));if(!p||!f||"replace"===A&&(!l||!c||u)||"split"===A&&!h){var m=/./[g],B=t(g,""[A],(function(A,e,t,n,i){return e.exec===o?p&&!i?{done:!0,value:m.call(e,t,n)}:{done:!0,value:A.call(t,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),w=B[0],v=B[1];n(String.prototype,A,w),n(RegExp.prototype,g,2==e?function(A,e){return v.call(A,this,e)}:function(A){return v.call(A,this)})}d&&s(RegExp.prototype[g],"sham",!0)}},d81d:function(A,e,t){"use strict";var n=t("23e7"),i=t("b727").map,r=t("1dde"),o=t("ae40"),s=r("map"),a=o("map");n({target:"Array",proto:!0,forced:!s||!a},{map:function(A){return i(this,A,arguments.length>1?arguments[1]:void 0)}})},da84:function(A,e,t){(function(e){var t=function(A){return A&&A.Math==Math&&A};A.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e&&e)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(A,e,t){var n=t("23e7"),i=t("83ab"),r=t("56ef"),o=t("fc6a"),s=t("06cf"),a=t("8418");n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(A){var e,t,n=o(A),i=s.f,l=r(n),c={},d=0;while(l.length>d)t=i(n,e=l[d++]),void 0!==t&&a(c,e,t);return c}})},dbf1:function(A,e,t){"use strict";(function(A){function n(){return"undefined"!==typeof window?window.console:A.console}t.d(e,"a",(function(){return i}));var i=n()}).call(this,t("c8ba"))},ddb0:function(A,e,t){var n=t("da84"),i=t("fdbc"),r=t("e260"),o=t("9112"),s=t("b622"),a=s("iterator"),l=s("toStringTag"),c=r.values;for(var d in i){var u=n[d],h=u&&u.prototype;if(h){if(h[a]!==c)try{o(h,a,c)}catch(p){h[a]=c}if(h[l]||o(h,l,d),i[d])for(var g in r)if(h[g]!==r[g])try{o(h,g,r[g])}catch(p){h[g]=r[g]}}}},df75:function(A,e,t){var n=t("ca84"),i=t("7839");A.exports=Object.keys||function(A){return n(A,i)}},e01a:function(A,e,t){"use strict";var n=t("23e7"),i=t("83ab"),r=t("da84"),o=t("5135"),s=t("861d"),a=t("9bf2").f,l=t("e893"),c=r.Symbol;if(i&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var d={},u=function(){var A=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof u?new c(A):void 0===A?c():c(A);return""===A&&(d[e]=!0),e};l(u,c);var h=u.prototype=c.prototype;h.constructor=u;var g=h.toString,p="Symbol(test)"==String(c("test")),f=/^Symbol\((.*)\)[^)]+$/;a(h,"description",{configurable:!0,get:function(){var A=s(this)?this.valueOf():this,e=g.call(A);if(o(d,A))return"";var t=p?e.slice(7,-1):e.replace(f,"$1");return""===t?void 0:t}}),n({global:!0,forced:!0},{Symbol:u})}},e163:function(A,e,t){var n=t("5135"),i=t("7b0b"),r=t("f772"),o=t("e177"),s=r("IE_PROTO"),a=Object.prototype;A.exports=o?Object.getPrototypeOf:function(A){return A=i(A),n(A,s)?A[s]:"function"==typeof A.constructor&&A instanceof A.constructor?A.constructor.prototype:A instanceof Object?a:null}},e177:function(A,e,t){var n=t("d039");A.exports=!n((function(){function A(){}return A.prototype.constructor=null,Object.getPrototypeOf(new A)!==A.prototype}))},e260:function(A,e,t){"use strict";var n=t("fc6a"),i=t("44d2"),r=t("3f8c"),o=t("69f3"),s=t("7dd0"),a="Array Iterator",l=o.set,c=o.getterFor(a);A.exports=s(Array,"Array",(function(A,e){l(this,{type:a,target:n(A),index:0,kind:e})}),(function(){var A=c(this),e=A.target,t=A.kind,n=A.index++;return!e||n>=e.length?(A.target=void 0,{value:void 0,done:!0}):"keys"==t?{value:n,done:!1}:"values"==t?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},e439:function(A,e,t){var n=t("23e7"),i=t("d039"),r=t("fc6a"),o=t("06cf").f,s=t("83ab"),a=i((function(){o(1)})),l=!s||a;n({target:"Object",stat:!0,forced:l,sham:!s},{getOwnPropertyDescriptor:function(A,e){return o(r(A),e)}})},e538:function(A,e,t){var n=t("b622");e.f=n},e893:function(A,e,t){var n=t("5135"),i=t("56ef"),r=t("06cf"),o=t("9bf2");A.exports=function(A,e){for(var t=i(e),s=o.f,a=r.f,l=0;l<t.length;l++){var c=t[l];n(A,c)||s(A,c,a(e,c))}}},e8b5:function(A,e,t){var n=t("c6b6");A.exports=Array.isArray||function(A){return"Array"==n(A)}},e95a:function(A,e,t){var n=t("b622"),i=t("3f8c"),r=n("iterator"),o=Array.prototype;A.exports=function(A){return void 0!==A&&(i.Array===A||o[r]===A)}},f5df:function(A,e,t){var n=t("00ee"),i=t("c6b6"),r=t("b622"),o=r("toStringTag"),s="Arguments"==i(function(){return arguments}()),a=function(A,e){try{return A[e]}catch(t){}};A.exports=n?i:function(A){var e,t,n;return void 0===A?"Undefined":null===A?"Null":"string"==typeof(t=a(e=Object(A),o))?t:s?i(e):"Object"==(n=i(e))&&"function"==typeof e.callee?"Arguments":n}},f772:function(A,e,t){var n=t("5692"),i=t("90e3"),r=n("keys");A.exports=function(A){return r[A]||(r[A]=i(A))}},fb15:function(A,e,t){"use strict";if(t.r(e),"undefined"!==typeof window){var n=window.document.currentScript,i=t("8875");n=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var r=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(t.p=r[1])}t("99af"),t("4de4"),t("4160"),t("c975"),t("d81d"),t("a434"),t("159b"),t("a4d3"),t("e439"),t("dbb4"),t("b64b");function o(A,e,t){return e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function s(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function a(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?s(Object(t),!0).forEach((function(e){o(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function l(A){if(Array.isArray(A))return A}t("e01a"),t("d28b"),t("e260"),t("d3b7"),t("3ca3"),t("ddb0");function c(A,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(A)){var t=[],n=!0,i=!1,r=void 0;try{for(var o,s=A[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)if(t.push(o.value),e&&t.length===e)break}catch(a){i=!0,r=a}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw r}}return t}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function d(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}function u(A,e){if(A){if("string"===typeof A)return d(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);return"Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t?Array.from(A):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?d(A,e):void 0}}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(A,e){return l(A)||c(A,e)||u(A,e)||h()}function p(A){if(Array.isArray(A))return d(A)}function f(A){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(A))return Array.from(A)}function m(){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 B(A){return p(A)||f(A)||u(A)||m()}var w=t("a352"),v=t.n(w);function C(A){null!==A.parentElement&&A.parentElement.removeChild(A)}function b(A,e,t){var n=0===t?A.children[0]:A.children[t-1].nextSibling;A.insertBefore(e,n)}var y=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function _(A){var e=Object.create(null);return function(t){var n=e[t];return n||(e[t]=A(t))}}var Q=/-(\w)/g,U=_((function(A){return A.replace(Q,(function(A,e){return e.toUpperCase()}))})),F=(t("5db7"),t("73d9"),["Start","Add","Remove","Update","End"]),x=["Choose","Unchoose","Sort","Filter","Clone"],E=["Move"],k=[E,F,x].flatMap((function(A){return A})).map((function(A){return"on".concat(A)})),I={manage:E,manageAndEmit:F,emit:x};function S(A){return-1!==k.indexOf(A)}t("caad"),t("2ca0");var H=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function D(A){return H.includes(A)}function L(A){return["transition-group","TransitionGroup"].includes(A)}function O(A){return["id","class","role","style"].includes(A)||A.startsWith("data-")||A.startsWith("aria-")||A.startsWith("on")}function M(A){return A.reduce((function(A,e){var t=g(e,2),n=t[0],i=t[1];return A[n]=i,A}),{})}function T(A){var e=A.$attrs,t=A.componentData,n=void 0===t?{}:t,i=M(Object.entries(e).filter((function(A){var e=g(A,2),t=e[0];e[1];return O(t)})));return a(a({},i),n)}function K(A){var e=A.$attrs,t=A.callBackBuilder,n=M(N(e));Object.entries(t).forEach((function(A){var e=g(A,2),t=e[0],i=e[1];I[t].forEach((function(A){n["on".concat(A)]=i(A)}))}));var i="[data-draggable]".concat(n.draggable||"");return a(a({},n),{},{draggable:i})}function N(A){return Object.entries(A).filter((function(A){var e=g(A,2),t=e[0];e[1];return!O(t)})).map((function(A){var e=g(A,2),t=e[0],n=e[1];return[U(t),n]})).filter((function(A){var e=g(A,2),t=e[0];e[1];return!S(t)}))}t("c740");function P(A,e){if(!(A instanceof e))throw new TypeError("Cannot call a class as a function")}function R(A,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}function V(A,e,t){return e&&R(A.prototype,e),t&&R(A,t),A}var G=function(A){var e=A.el;return e},z=function(A,e){return A.__draggable_context=e},j=function(A){return A.__draggable_context},Z=function(){function A(e){var t=e.nodes,n=t.header,i=t.default,r=t.footer,o=e.root,s=e.realList;P(this,A),this.defaultNodes=i,this.children=[].concat(B(n),B(i),B(r)),this.externalComponent=o.externalComponent,this.rootTransition=o.transition,this.tag=o.tag,this.realList=s}return V(A,[{key:"render",value:function(A,e){var t=this.tag,n=this.children,i=this._isRootComponent,r=i?{default:function(){return n}}:n;return A(t,e,r)}},{key:"updated",value:function(){var A=this.defaultNodes,e=this.realList;A.forEach((function(A,t){z(G(A),{element:e[t],index:t})}))}},{key:"getUnderlyingVm",value:function(A){return j(A)}},{key:"getVmIndexFromDomIndex",value:function(A,e){var t=this.defaultNodes,n=t.length,i=e.children,r=i.item(A);if(null===r)return n;var o=j(r);if(o)return o.index;if(0===n)return 0;var s=G(t[0]),a=B(i).findIndex((function(A){return A===s}));return A<a?0:n}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),A}(),W=t("8bbf");function X(A,e){var t=A[e];return t?t():[]}function Y(A){var e=A.$slots,t=A.realList,n=A.getKey,i=t||[],r=["header","footer"].map((function(A){return X(e,A)})),o=g(r,2),s=o[0],l=o[1],c=e.item;if(!c)throw new Error("draggable element must have an item slot");var d=i.flatMap((function(A,e){return c({element:A,index:e}).map((function(e){return e.key=n(A),e.props=a(a({},e.props||{}),{},{"data-draggable":!0}),e}))}));if(d.length!==i.length)throw new Error("Item slot must have only one child");return{header:s,footer:l,default:d}}function J(A){var e=L(A),t=!D(A)&&!e;return{transition:e,externalComponent:t,tag:t?Object(W["resolveComponent"])(A):e?W["TransitionGroup"]:A}}function $(A){var e=A.$slots,t=A.tag,n=A.realList,i=A.getKey,r=Y({$slots:e,realList:n,getKey:i}),o=J(t);return new Z({nodes:r,root:o,realList:n})}function q(A,e){var t=this;Object(W["nextTick"])((function(){return t.$emit(A.toLowerCase(),e)}))}function AA(A){var e=this;return function(t,n){if(null!==e.realList)return e["onDrag".concat(A)](t,n)}}function eA(A){var e=this,t=AA.call(this,A);return function(n,i){t.call(e,n,i),q.call(e,A,n)}}var tA=null,nA={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(A){return A}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},iA=["update:modelValue","change"].concat(B([].concat(B(I.manageAndEmit),B(I.emit)).map((function(A){return A.toLowerCase()})))),rA=Object(W["defineComponent"])({name:"draggable",inheritAttrs:!1,props:nA,emits:iA,data:function(){return{error:!1}},render:function(){try{this.error=!1;var A=this.$slots,e=this.$attrs,t=this.tag,n=this.componentData,i=this.realList,r=this.getKey,o=$({$slots:A,tag:t,realList:i,getKey:r});this.componentStructure=o;var s=T({$attrs:e,componentData:n});return o.render(W["h"],s)}catch(a){return this.error=!0,Object(W["h"])("pre",{style:{color:"red"}},a.stack)}},created:function(){null!==this.list&&null!==this.modelValue&&y["a"].error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var A=this;if(!this.error){var e=this.$attrs,t=this.$el,n=this.componentStructure;n.updated();var i=K({$attrs:e,callBackBuilder:{manageAndEmit:function(e){return eA.call(A,e)},emit:function(e){return q.bind(A,e)},manage:function(e){return AA.call(A,e)}}}),r=1===t.nodeType?t:t.parentElement;this._sortable=new v.a(r,i),this.targetDomElement=r,r.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{realList:function(){var A=this.list;return A||this.modelValue},getKey:function(){var A=this.itemKey;return"function"===typeof A?A:function(e){return e[A]}}},watch:{$attrs:{handler:function(A){var e=this._sortable;e&&N(A).forEach((function(A){var t=g(A,2),n=t[0],i=t[1];e.option(n,i)}))},deep:!0}},methods:{getUnderlyingVm:function(A){return this.componentStructure.getUnderlyingVm(A)||null},getUnderlyingPotencialDraggableComponent:function(A){return A.__draggable_component__},emitChanges:function(A){var e=this;Object(W["nextTick"])((function(){return e.$emit("change",A)}))},alterList:function(A){if(this.list)A(this.list);else{var e=B(this.modelValue);A(e),this.$emit("update:modelValue",e)}},spliceList:function(){var A=arguments,e=function(e){return e.splice.apply(e,B(A))};this.alterList(e)},updatePosition:function(A,e){var t=function(t){return t.splice(e,0,t.splice(A,1)[0])};this.alterList(t)},getRelatedContextFromMoveEvent:function(A){var e=A.to,t=A.related,n=this.getUnderlyingPotencialDraggableComponent(e);if(!n)return{component:n};var i=n.realList,r={list:i,component:n};if(e!==t&&i){var o=n.getUnderlyingVm(t)||{};return a(a({},o),r)}return r},getVmIndexFromDomIndex:function(A){return this.componentStructure.getVmIndexFromDomIndex(A,this.targetDomElement)},onDragStart:function(A){this.context=this.getUnderlyingVm(A.item),A.item._underlying_vm_=this.clone(this.context.element),tA=A.item},onDragAdd:function(A){var e=A.item._underlying_vm_;if(void 0!==e){C(A.item);var t=this.getVmIndexFromDomIndex(A.newIndex);this.spliceList(t,0,e);var n={element:e,newIndex:t};this.emitChanges({added:n})}},onDragRemove:function(A){if(b(this.$el,A.item,A.oldIndex),"clone"!==A.pullMode){var e=this.context,t=e.index,n=e.element;this.spliceList(t,1);var i={element:n,oldIndex:t};this.emitChanges({removed:i})}else C(A.clone)},onDragUpdate:function(A){C(A.item),b(A.from,A.item,A.oldIndex);var e=this.context.index,t=this.getVmIndexFromDomIndex(A.newIndex);this.updatePosition(e,t);var n={element:this.context.element,oldIndex:e,newIndex:t};this.emitChanges({moved:n})},computeFutureIndex:function(A,e){if(!A.element)return 0;var t=B(e.to.children).filter((function(A){return"none"!==A.style["display"]})),n=t.indexOf(e.related),i=A.component.getVmIndexFromDomIndex(n),r=-1!==t.indexOf(tA);return r||!e.willInsertAfter?i:i+1},onDragMove:function(A,e){var t=this.move,n=this.realList;if(!t||!n)return!0;var i=this.getRelatedContextFromMoveEvent(A),r=this.computeFutureIndex(i,A),o=a(a({},this.context),{},{futureIndex:r}),s=a(a({},A),{},{relatedContext:i,draggedContext:o});return t(s,e)},onDragEnd:function(){tA=null}}}),oA=rA;e["default"]=oA},fb6a:function(A,e,t){"use strict";var n=t("23e7"),i=t("861d"),r=t("e8b5"),o=t("23cb"),s=t("50c4"),a=t("fc6a"),l=t("8418"),c=t("b622"),d=t("1dde"),u=t("ae40"),h=d("slice"),g=u("slice",{ACCESSORS:!0,0:0,1:2}),p=c("species"),f=[].slice,m=Math.max;n({target:"Array",proto:!0,forced:!h||!g},{slice:function(A,e){var t,n,c,d=a(this),u=s(d.length),h=o(A,u),g=o(void 0===e?u:e,u);if(r(d)&&(t=d.constructor,"function"!=typeof t||t!==Array&&!r(t.prototype)?i(t)&&(t=t[p],null===t&&(t=void 0)):t=void 0,t===Array||void 0===t))return f.call(d,h,g);for(n=new(void 0===t?Array:t)(m(g-h,0)),c=0;h<g;h++,c++)h in d&&l(n,c,d[h]);return n.length=c,n}})},fc6a:function(A,e,t){var n=t("44ad"),i=t("1d80");A.exports=function(A){return n(i(A))}},fdbc:function(A,e){A.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(A,e,t){var n=t("4930");A.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})["default"]}))},8244:function(A,e,t){"use strict";
/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/
function n(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function i(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?n(Object(t),!0).forEach((function(e){o(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function r(A){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"===typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},r(A)}function o(A,e,t){return e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function s(){return s=Object.assign||function(A){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(A[n]=t[n])}return A},s.apply(this,arguments)}function a(A,e){if(null==A)return{};var t,n,i={},r=Object.keys(A);for(n=0;n<r.length;n++)t=r[n],e.indexOf(t)>=0||(i[t]=A[t]);return i}function l(A,e){if(null==A)return{};var t,n,i=a(A,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(A);for(n=0;n<r.length;n++)t=r[n],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(A,t)&&(i[t]=A[t])}return i}function c(A){return d(A)||u(A)||h(A)||p()}function d(A){if(Array.isArray(A))return g(A)}function u(A){if("undefined"!==typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}function h(A,e){if(A){if("string"===typeof A)return g(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);return"Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t?Array.from(A):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?g(A,e):void 0}}function g(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}function p(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.r(e),t.d(e,{MultiDrag:function(){return Ve},Sortable:function(){return te},Swap:function(){return Ie}});var f="1.14.0";function m(A){if("undefined"!==typeof window&&window.navigator)return!!navigator.userAgent.match(A)}var B=m(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),w=m(/Edge/i),v=m(/firefox/i),C=m(/safari/i)&&!m(/chrome/i)&&!m(/android/i),b=m(/iP(ad|od|hone)/i),y=m(/chrome/i)&&m(/android/i),_={capture:!1,passive:!1};function Q(A,e,t){A.addEventListener(e,t,!B&&_)}function U(A,e,t){A.removeEventListener(e,t,!B&&_)}function F(A,e){if(e){if(">"===e[0]&&(e=e.substring(1)),A)try{if(A.matches)return A.matches(e);if(A.msMatchesSelector)return A.msMatchesSelector(e);if(A.webkitMatchesSelector)return A.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function x(A){return A.host&&A!==document&&A.host.nodeType?A.host:A.parentNode}function E(A,e,t,n){if(A){t=t||document;do{if(null!=e&&(">"===e[0]?A.parentNode===t&&F(A,e):F(A,e))||n&&A===t)return A;if(A===t)break}while(A=x(A))}return null}var k,I=/\s+/g;function S(A,e,t){if(A&&e)if(A.classList)A.classList[t?"add":"remove"](e);else{var n=(" "+A.className+" ").replace(I," ").replace(" "+e+" "," ");A.className=(n+(t?" "+e:"")).replace(I," ")}}function H(A,e,t){var n=A&&A.style;if(n){if(void 0===t)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(A,""):A.currentStyle&&(t=A.currentStyle),void 0===e?t:t[e];e in n||-1!==e.indexOf("webkit")||(e="-webkit-"+e),n[e]=t+("string"===typeof t?"":"px")}}function D(A,e){var t="";if("string"===typeof A)t=A;else do{var n=H(A,"transform");n&&"none"!==n&&(t=n+" "+t)}while(!e&&(A=A.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(t)}function L(A,e,t){if(A){var n=A.getElementsByTagName(e),i=0,r=n.length;if(t)for(;i<r;i++)t(n[i],i);return n}return[]}function O(){var A=document.scrollingElement;return A||document.documentElement}function M(A,e,t,n,i){if(A.getBoundingClientRect||A===window){var r,o,s,a,l,c,d;if(A!==window&&A.parentNode&&A!==O()?(r=A.getBoundingClientRect(),o=r.top,s=r.left,a=r.bottom,l=r.right,c=r.height,d=r.width):(o=0,s=0,a=window.innerHeight,l=window.innerWidth,c=window.innerHeight,d=window.innerWidth),(e||t)&&A!==window&&(i=i||A.parentNode,!B))do{if(i&&i.getBoundingClientRect&&("none"!==H(i,"transform")||t&&"static"!==H(i,"position"))){var u=i.getBoundingClientRect();o-=u.top+parseInt(H(i,"border-top-width")),s-=u.left+parseInt(H(i,"border-left-width")),a=o+r.height,l=s+r.width;break}}while(i=i.parentNode);if(n&&A!==window){var h=D(i||A),g=h&&h.a,p=h&&h.d;h&&(o/=p,s/=g,d/=g,c/=p,a=o+c,l=s+d)}return{top:o,left:s,bottom:a,right:l,width:d,height:c}}}function T(A,e,t){var n=G(A,!0),i=M(A)[e];while(n){var r=M(n)[t],o=void 0;if(o="top"===t||"left"===t?i>=r:i<=r,!o)return n;if(n===O())break;n=G(n,!1)}return!1}function K(A,e,t,n){var i=0,r=0,o=A.children;while(r<o.length){if("none"!==o[r].style.display&&o[r]!==te.ghost&&(n||o[r]!==te.dragged)&&E(o[r],t.draggable,A,!1)){if(i===e)return o[r];i++}r++}return null}function N(A,e){var t=A.lastElementChild;while(t&&(t===te.ghost||"none"===H(t,"display")||e&&!F(t,e)))t=t.previousElementSibling;return t||null}function P(A,e){var t=0;if(!A||!A.parentNode)return-1;while(A=A.previousElementSibling)"TEMPLATE"===A.nodeName.toUpperCase()||A===te.clone||e&&!F(A,e)||t++;return t}function R(A){var e=0,t=0,n=O();if(A)do{var i=D(A),r=i.a,o=i.d;e+=A.scrollLeft*r,t+=A.scrollTop*o}while(A!==n&&(A=A.parentNode));return[e,t]}function V(A,e){for(var t in A)if(A.hasOwnProperty(t))for(var n in e)if(e.hasOwnProperty(n)&&e[n]===A[t][n])return Number(t);return-1}function G(A,e){if(!A||!A.getBoundingClientRect)return O();var t=A,n=!1;do{if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var i=H(t);if(t.clientWidth<t.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||t.clientHeight<t.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!t.getBoundingClientRect||t===document.body)return O();if(n||e)return t;n=!0}}}while(t=t.parentNode);return O()}function z(A,e){if(A&&e)for(var t in e)e.hasOwnProperty(t)&&(A[t]=e[t]);return A}function j(A,e){return Math.round(A.top)===Math.round(e.top)&&Math.round(A.left)===Math.round(e.left)&&Math.round(A.height)===Math.round(e.height)&&Math.round(A.width)===Math.round(e.width)}function Z(A,e){return function(){if(!k){var t=arguments,n=this;1===t.length?A.call(n,t[0]):A.apply(n,t),k=setTimeout((function(){k=void 0}),e)}}}function W(){clearTimeout(k),k=void 0}function X(A,e,t){A.scrollLeft+=e,A.scrollTop+=t}function Y(A){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(A).cloneNode(!0):t?t(A).clone(!0)[0]:A.cloneNode(!0)}function J(A,e){H(A,"position","absolute"),H(A,"top",e.top),H(A,"left",e.left),H(A,"width",e.width),H(A,"height",e.height)}function $(A){H(A,"position",""),H(A,"top",""),H(A,"left",""),H(A,"width",""),H(A,"height","")}var q="Sortable"+(new Date).getTime();function AA(){var A,e=[];return{captureAnimationState:function(){if(e=[],this.options.animation){var A=[].slice.call(this.el.children);A.forEach((function(A){if("none"!==H(A,"display")&&A!==te.ghost){e.push({target:A,rect:M(A)});var t=i({},e[e.length-1].rect);if(A.thisAnimationDuration){var n=D(A,!0);n&&(t.top-=n.f,t.left-=n.e)}A.fromRect=t}}))}},addAnimationState:function(A){e.push(A)},removeAnimationState:function(A){e.splice(V(e,{target:A}),1)},animateAll:function(t){var n=this;if(!this.options.animation)return clearTimeout(A),void("function"===typeof t&&t());var i=!1,r=0;e.forEach((function(A){var e=0,t=A.target,o=t.fromRect,s=M(t),a=t.prevFromRect,l=t.prevToRect,c=A.rect,d=D(t,!0);d&&(s.top-=d.f,s.left-=d.e),t.toRect=s,t.thisAnimationDuration&&j(a,s)&&!j(o,s)&&(c.top-s.top)/(c.left-s.left)===(o.top-s.top)/(o.left-s.left)&&(e=tA(c,a,l,n.options)),j(s,o)||(t.prevFromRect=o,t.prevToRect=s,e||(e=n.options.animation),n.animate(t,c,s,e)),e&&(i=!0,r=Math.max(r,e),clearTimeout(t.animationResetTimer),t.animationResetTimer=setTimeout((function(){t.animationTime=0,t.prevFromRect=null,t.fromRect=null,t.prevToRect=null,t.thisAnimationDuration=null}),e),t.thisAnimationDuration=e)})),clearTimeout(A),i?A=setTimeout((function(){"function"===typeof t&&t()}),r):"function"===typeof t&&t(),e=[]},animate:function(A,e,t,n){if(n){H(A,"transition",""),H(A,"transform","");var i=D(this.el),r=i&&i.a,o=i&&i.d,s=(e.left-t.left)/(r||1),a=(e.top-t.top)/(o||1);A.animatingX=!!s,A.animatingY=!!a,H(A,"transform","translate3d("+s+"px,"+a+"px,0)"),this.forRepaintDummy=eA(A),H(A,"transition","transform "+n+"ms"+(this.options.easing?" "+this.options.easing:"")),H(A,"transform","translate3d(0,0,0)"),"number"===typeof A.animated&&clearTimeout(A.animated),A.animated=setTimeout((function(){H(A,"transition",""),H(A,"transform",""),A.animated=!1,A.animatingX=!1,A.animatingY=!1}),n)}}}}function eA(A){return A.offsetWidth}function tA(A,e,t,n){return Math.sqrt(Math.pow(e.top-A.top,2)+Math.pow(e.left-A.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*n.animation}var nA=[],iA={initializeByDefault:!0},rA={mount:function(A){for(var e in iA)iA.hasOwnProperty(e)&&!(e in A)&&(A[e]=iA[e]);nA.forEach((function(e){if(e.pluginName===A.pluginName)throw"Sortable: Cannot mount plugin ".concat(A.pluginName," more than once")})),nA.push(A)},pluginEvent:function(A,e,t){var n=this;this.eventCanceled=!1,t.cancel=function(){n.eventCanceled=!0};var r=A+"Global";nA.forEach((function(n){e[n.pluginName]&&(e[n.pluginName][r]&&e[n.pluginName][r](i({sortable:e},t)),e.options[n.pluginName]&&e[n.pluginName][A]&&e[n.pluginName][A](i({sortable:e},t)))}))},initializePlugins:function(A,e,t,n){for(var i in nA.forEach((function(n){var i=n.pluginName;if(A.options[i]||n.initializeByDefault){var r=new n(A,e,A.options);r.sortable=A,r.options=A.options,A[i]=r,s(t,r.defaults)}})),A.options)if(A.options.hasOwnProperty(i)){var r=this.modifyOption(A,i,A.options[i]);"undefined"!==typeof r&&(A.options[i]=r)}},getEventProperties:function(A,e){var t={};return nA.forEach((function(n){"function"===typeof n.eventProperties&&s(t,n.eventProperties.call(e[n.pluginName],A))})),t},modifyOption:function(A,e,t){var n;return nA.forEach((function(i){A[i.pluginName]&&i.optionListeners&&"function"===typeof i.optionListeners[e]&&(n=i.optionListeners[e].call(A[i.pluginName],t))})),n}};function oA(A){var e=A.sortable,t=A.rootEl,n=A.name,r=A.targetEl,o=A.cloneEl,s=A.toEl,a=A.fromEl,l=A.oldIndex,c=A.newIndex,d=A.oldDraggableIndex,u=A.newDraggableIndex,h=A.originalEvent,g=A.putSortable,p=A.extraEventProperties;if(e=e||t&&t[q],e){var f,m=e.options,v="on"+n.charAt(0).toUpperCase()+n.substr(1);!window.CustomEvent||B||w?(f=document.createEvent("Event"),f.initEvent(n,!0,!0)):f=new CustomEvent(n,{bubbles:!0,cancelable:!0}),f.to=s||t,f.from=a||t,f.item=r||t,f.clone=o,f.oldIndex=l,f.newIndex=c,f.oldDraggableIndex=d,f.newDraggableIndex=u,f.originalEvent=h,f.pullMode=g?g.lastPutMode:void 0;var C=i(i({},p),rA.getEventProperties(n,e));for(var b in C)f[b]=C[b];t&&t.dispatchEvent(f),m[v]&&m[v].call(e,f)}}var sA=["evt"],aA=function(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t.evt,r=l(t,sA);rA.pluginEvent.bind(te)(A,e,i({dragEl:cA,parentEl:dA,ghostEl:uA,rootEl:hA,nextEl:gA,lastDownEl:pA,cloneEl:fA,cloneHidden:mA,dragStarted:kA,putSortable:yA,activeSortable:te.active,originalEvent:n,oldIndex:BA,oldDraggableIndex:vA,newIndex:wA,newDraggableIndex:CA,hideGhostForTarget:$A,unhideGhostForTarget:qA,cloneNowHidden:function(){mA=!0},cloneNowShown:function(){mA=!1},dispatchSortableEvent:function(A){lA({sortable:e,name:A,originalEvent:n})}},r))};function lA(A){oA(i({putSortable:yA,cloneEl:fA,targetEl:cA,rootEl:hA,oldIndex:BA,oldDraggableIndex:vA,newIndex:wA,newDraggableIndex:CA},A))}var cA,dA,uA,hA,gA,pA,fA,mA,BA,wA,vA,CA,bA,yA,_A,QA,UA,FA,xA,EA,kA,IA,SA,HA,DA,LA=!1,OA=!1,MA=[],TA=!1,KA=!1,NA=[],PA=!1,RA=[],VA="undefined"!==typeof document,GA=b,zA=w||B?"cssFloat":"float",jA=VA&&!y&&!b&&"draggable"in document.createElement("div"),ZA=function(){if(VA){if(B)return!1;var A=document.createElement("x");return A.style.cssText="pointer-events:auto","auto"===A.style.pointerEvents}}(),WA=function(A,e){var t=H(A),n=parseInt(t.width)-parseInt(t.paddingLeft)-parseInt(t.paddingRight)-parseInt(t.borderLeftWidth)-parseInt(t.borderRightWidth),i=K(A,0,e),r=K(A,1,e),o=i&&H(i),s=r&&H(r),a=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+M(i).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+M(r).width;if("flex"===t.display)return"column"===t.flexDirection||"column-reverse"===t.flexDirection?"vertical":"horizontal";if("grid"===t.display)return t.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&o["float"]&&"none"!==o["float"]){var c="left"===o["float"]?"left":"right";return!r||"both"!==s.clear&&s.clear!==c?"horizontal":"vertical"}return i&&("block"===o.display||"flex"===o.display||"table"===o.display||"grid"===o.display||a>=n&&"none"===t[zA]||r&&"none"===t[zA]&&a+l>n)?"vertical":"horizontal"},XA=function(A,e,t){var n=t?A.left:A.top,i=t?A.right:A.bottom,r=t?A.width:A.height,o=t?e.left:e.top,s=t?e.right:e.bottom,a=t?e.width:e.height;return n===o||i===s||n+r/2===o+a/2},YA=function(A,e){var t;return MA.some((function(n){var i=n[q].options.emptyInsertThreshold;if(i&&!N(n)){var r=M(n),o=A>=r.left-i&&A<=r.right+i,s=e>=r.top-i&&e<=r.bottom+i;return o&&s?t=n:void 0}})),t},JA=function(A){function e(A,t){return function(n,i,r,o){var s=n.options.group.name&&i.options.group.name&&n.options.group.name===i.options.group.name;if(null==A&&(t||s))return!0;if(null==A||!1===A)return!1;if(t&&"clone"===A)return A;if("function"===typeof A)return e(A(n,i,r,o),t)(n,i,r,o);var a=(t?n:i).options.group.name;return!0===A||"string"===typeof A&&A===a||A.join&&A.indexOf(a)>-1}}var t={},n=A.group;n&&"object"==r(n)||(n={name:n}),t.name=n.name,t.checkPull=e(n.pull,!0),t.checkPut=e(n.put),t.revertClone=n.revertClone,A.group=t},$A=function(){!ZA&&uA&&H(uA,"display","none")},qA=function(){!ZA&&uA&&H(uA,"display","")};VA&&document.addEventListener("click",(function(A){if(OA)return A.preventDefault(),A.stopPropagation&&A.stopPropagation(),A.stopImmediatePropagation&&A.stopImmediatePropagation(),OA=!1,!1}),!0);var Ae=function(A){if(cA){A=A.touches?A.touches[0]:A;var e=YA(A.clientX,A.clientY);if(e){var t={};for(var n in A)A.hasOwnProperty(n)&&(t[n]=A[n]);t.target=t.rootEl=e,t.preventDefault=void 0,t.stopPropagation=void 0,e[q]._onDragOver(t)}}},ee=function(A){cA&&cA.parentNode[q]._isOutsideThisEl(A.target)};function te(A,e){if(!A||!A.nodeType||1!==A.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(A));this.el=A,this.options=e=s({},e),A[q]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(A.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return WA(A,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(A,e){A.setData("Text",e.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!==te.supportPointer&&"PointerEvent"in window&&!C,emptyInsertThreshold:5};for(var n in rA.initializePlugins(this,A,t),t)!(n in e)&&(e[n]=t[n]);for(var i in JA(e),this)"_"===i.charAt(0)&&"function"===typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!e.forceFallback&&jA,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?Q(A,"pointerdown",this._onTapStart):(Q(A,"mousedown",this._onTapStart),Q(A,"touchstart",this._onTapStart)),this.nativeDraggable&&(Q(A,"dragover",this),Q(A,"dragenter",this)),MA.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),s(this,AA())}function ne(A){A.dataTransfer&&(A.dataTransfer.dropEffect="move"),A.cancelable&&A.preventDefault()}function ie(A,e,t,n,i,r,o,s){var a,l,c=A[q],d=c.options.onMove;return!window.CustomEvent||B||w?(a=document.createEvent("Event"),a.initEvent("move",!0,!0)):a=new CustomEvent("move",{bubbles:!0,cancelable:!0}),a.to=e,a.from=A,a.dragged=t,a.draggedRect=n,a.related=i||e,a.relatedRect=r||M(e),a.willInsertAfter=s,a.originalEvent=o,A.dispatchEvent(a),d&&(l=d.call(c,a,o)),l}function re(A){A.draggable=!1}function oe(){PA=!1}function se(A,e,t){var n=M(K(t.el,0,t.options,!0)),i=10;return e?A.clientX<n.left-i||A.clientY<n.top&&A.clientX<n.right:A.clientY<n.top-i||A.clientY<n.bottom&&A.clientX<n.left}function ae(A,e,t){var n=M(N(t.el,t.options.draggable)),i=10;return e?A.clientX>n.right+i||A.clientX<=n.right&&A.clientY>n.bottom&&A.clientX>=n.left:A.clientX>n.right&&A.clientY>n.top||A.clientX<=n.right&&A.clientY>n.bottom+i}function le(A,e,t,n,i,r,o,s){var a=n?A.clientY:A.clientX,l=n?t.height:t.width,c=n?t.top:t.left,d=n?t.bottom:t.right,u=!1;if(!o)if(s&&HA<l*i){if(!TA&&(1===SA?a>c+l*r/2:a<d-l*r/2)&&(TA=!0),TA)u=!0;else if(1===SA?a<c+HA:a>d-HA)return-SA}else if(a>c+l*(1-i)/2&&a<d-l*(1-i)/2)return ce(e);return u=u||o,u&&(a<c+l*r/2||a>d-l*r/2)?a>c+l/2?1:-1:0}function ce(A){return P(cA)<P(A)?1:-1}function de(A){var e=A.tagName+A.className+A.src+A.href+A.textContent,t=e.length,n=0;while(t--)n+=e.charCodeAt(t);return n.toString(36)}function ue(A){RA.length=0;var e=A.getElementsByTagName("input"),t=e.length;while(t--){var n=e[t];n.checked&&RA.push(n)}}function he(A){return setTimeout(A,0)}function ge(A){return clearTimeout(A)}te.prototype={constructor:te,_isOutsideThisEl:function(A){this.el.contains(A)||A===this.el||(IA=null)},_getDirection:function(A,e){return"function"===typeof this.options.direction?this.options.direction.call(this,A,e,cA):this.options.direction},_onTapStart:function(A){if(A.cancelable){var e=this,t=this.el,n=this.options,i=n.preventOnFilter,r=A.type,o=A.touches&&A.touches[0]||A.pointerType&&"touch"===A.pointerType&&A,s=(o||A).target,a=A.target.shadowRoot&&(A.path&&A.path[0]||A.composedPath&&A.composedPath()[0])||s,l=n.filter;if(ue(t),!cA&&!(/mousedown|pointerdown/.test(r)&&0!==A.button||n.disabled)&&!a.isContentEditable&&(this.nativeDraggable||!C||!s||"SELECT"!==s.tagName.toUpperCase())&&(s=E(s,n.draggable,t,!1),(!s||!s.animated)&&pA!==s)){if(BA=P(s),vA=P(s,n.draggable),"function"===typeof l){if(l.call(this,A,s,this))return lA({sortable:e,rootEl:a,name:"filter",targetEl:s,toEl:t,fromEl:t}),aA("filter",e,{evt:A}),void(i&&A.cancelable&&A.preventDefault())}else if(l&&(l=l.split(",").some((function(n){if(n=E(a,n.trim(),t,!1),n)return lA({sortable:e,rootEl:n,name:"filter",targetEl:s,fromEl:t,toEl:t}),aA("filter",e,{evt:A}),!0})),l))return void(i&&A.cancelable&&A.preventDefault());n.handle&&!E(a,n.handle,t,!1)||this._prepareDragStart(A,o,s)}}},_prepareDragStart:function(A,e,t){var n,i=this,r=i.el,o=i.options,s=r.ownerDocument;if(t&&!cA&&t.parentNode===r){var a=M(t);if(hA=r,cA=t,dA=cA.parentNode,gA=cA.nextSibling,pA=t,bA=o.group,te.dragged=cA,_A={target:cA,clientX:(e||A).clientX,clientY:(e||A).clientY},xA=_A.clientX-a.left,EA=_A.clientY-a.top,this._lastX=(e||A).clientX,this._lastY=(e||A).clientY,cA.style["will-change"]="all",n=function(){aA("delayEnded",i,{evt:A}),te.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!v&&i.nativeDraggable&&(cA.draggable=!0),i._triggerDragStart(A,e),lA({sortable:i,name:"choose",originalEvent:A}),S(cA,o.chosenClass,!0))},o.ignore.split(",").forEach((function(A){L(cA,A.trim(),re)})),Q(s,"dragover",Ae),Q(s,"mousemove",Ae),Q(s,"touchmove",Ae),Q(s,"mouseup",i._onDrop),Q(s,"touchend",i._onDrop),Q(s,"touchcancel",i._onDrop),v&&this.nativeDraggable&&(this.options.touchStartThreshold=4,cA.draggable=!0),aA("delayStart",this,{evt:A}),!o.delay||o.delayOnTouchOnly&&!e||this.nativeDraggable&&(w||B))n();else{if(te.eventCanceled)return void this._onDrop();Q(s,"mouseup",i._disableDelayedDrag),Q(s,"touchend",i._disableDelayedDrag),Q(s,"touchcancel",i._disableDelayedDrag),Q(s,"mousemove",i._delayedDragTouchMoveHandler),Q(s,"touchmove",i._delayedDragTouchMoveHandler),o.supportPointer&&Q(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(n,o.delay)}}},_delayedDragTouchMoveHandler:function(A){var e=A.touches?A.touches[0]:A;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){cA&&re(cA),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var A=this.el.ownerDocument;U(A,"mouseup",this._disableDelayedDrag),U(A,"touchend",this._disableDelayedDrag),U(A,"touchcancel",this._disableDelayedDrag),U(A,"mousemove",this._delayedDragTouchMoveHandler),U(A,"touchmove",this._delayedDragTouchMoveHandler),U(A,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(A,e){e=e||"touch"==A.pointerType&&A,!this.nativeDraggable||e?this.options.supportPointer?Q(document,"pointermove",this._onTouchMove):Q(document,e?"touchmove":"mousemove",this._onTouchMove):(Q(cA,"dragend",this),Q(hA,"dragstart",this._onDragStart));try{document.selection?he((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(A,e){if(LA=!1,hA&&cA){aA("dragStarted",this,{evt:e}),this.nativeDraggable&&Q(document,"dragover",ee);var t=this.options;!A&&S(cA,t.dragClass,!1),S(cA,t.ghostClass,!0),te.active=this,A&&this._appendGhost(),lA({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(QA){this._lastX=QA.clientX,this._lastY=QA.clientY,$A();var A=document.elementFromPoint(QA.clientX,QA.clientY),e=A;while(A&&A.shadowRoot){if(A=A.shadowRoot.elementFromPoint(QA.clientX,QA.clientY),A===e)break;e=A}if(cA.parentNode[q]._isOutsideThisEl(A),e)do{if(e[q]){var t=void 0;if(t=e[q]._onDragOver({clientX:QA.clientX,clientY:QA.clientY,target:A,rootEl:e}),t&&!this.options.dragoverBubble)break}A=e}while(e=e.parentNode);qA()}},_onTouchMove:function(A){if(_A){var e=this.options,t=e.fallbackTolerance,n=e.fallbackOffset,i=A.touches?A.touches[0]:A,r=uA&&D(uA,!0),o=uA&&r&&r.a,s=uA&&r&&r.d,a=GA&&DA&&R(DA),l=(i.clientX-_A.clientX+n.x)/(o||1)+(a?a[0]-NA[0]:0)/(o||1),c=(i.clientY-_A.clientY+n.y)/(s||1)+(a?a[1]-NA[1]:0)/(s||1);if(!te.active&&!LA){if(t&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<t)return;this._onDragStart(A,!0)}if(uA){r?(r.e+=l-(UA||0),r.f+=c-(FA||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var d="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");H(uA,"webkitTransform",d),H(uA,"mozTransform",d),H(uA,"msTransform",d),H(uA,"transform",d),UA=l,FA=c,QA=i}A.cancelable&&A.preventDefault()}},_appendGhost:function(){if(!uA){var A=this.options.fallbackOnBody?document.body:hA,e=M(cA,!0,GA,!0,A),t=this.options;if(GA){DA=A;while("static"===H(DA,"position")&&"none"===H(DA,"transform")&&DA!==document)DA=DA.parentNode;DA!==document.body&&DA!==document.documentElement?(DA===document&&(DA=O()),e.top+=DA.scrollTop,e.left+=DA.scrollLeft):DA=O(),NA=R(DA)}uA=cA.cloneNode(!0),S(uA,t.ghostClass,!1),S(uA,t.fallbackClass,!0),S(uA,t.dragClass,!0),H(uA,"transition",""),H(uA,"transform",""),H(uA,"box-sizing","border-box"),H(uA,"margin",0),H(uA,"top",e.top),H(uA,"left",e.left),H(uA,"width",e.width),H(uA,"height",e.height),H(uA,"opacity","0.8"),H(uA,"position",GA?"absolute":"fixed"),H(uA,"zIndex","100000"),H(uA,"pointerEvents","none"),te.ghost=uA,A.appendChild(uA),H(uA,"transform-origin",xA/parseInt(uA.style.width)*100+"% "+EA/parseInt(uA.style.height)*100+"%")}},_onDragStart:function(A,e){var t=this,n=A.dataTransfer,i=t.options;aA("dragStart",this,{evt:A}),te.eventCanceled?this._onDrop():(aA("setupClone",this),te.eventCanceled||(fA=Y(cA),fA.draggable=!1,fA.style["will-change"]="",this._hideClone(),S(fA,this.options.chosenClass,!1),te.clone=fA),t.cloneId=he((function(){aA("clone",t),te.eventCanceled||(t.options.removeCloneOnHide||hA.insertBefore(fA,cA),t._hideClone(),lA({sortable:t,name:"clone"}))})),!e&&S(cA,i.dragClass,!0),e?(OA=!0,t._loopId=setInterval(t._emulateDragOver,50)):(U(document,"mouseup",t._onDrop),U(document,"touchend",t._onDrop),U(document,"touchcancel",t._onDrop),n&&(n.effectAllowed="move",i.setData&&i.setData.call(t,n,cA)),Q(document,"drop",t),H(cA,"transform","translateZ(0)")),LA=!0,t._dragStartId=he(t._dragStarted.bind(t,e,A)),Q(document,"selectstart",t),kA=!0,C&&H(document.body,"user-select","none"))},_onDragOver:function(A){var e,t,n,r,o=this.el,s=A.target,a=this.options,l=a.group,c=te.active,d=bA===l,u=a.sort,h=yA||c,g=this,p=!1;if(!PA){if(void 0!==A.preventDefault&&A.cancelable&&A.preventDefault(),s=E(s,a.draggable,o,!0),I("dragOver"),te.eventCanceled)return p;if(cA.contains(A.target)||s.animated&&s.animatingX&&s.animatingY||g._ignoreWhileAnimating===s)return L(!1);if(OA=!1,c&&!a.disabled&&(d?u||(n=dA!==hA):yA===this||(this.lastPutMode=bA.checkPull(this,c,cA,A))&&l.checkPut(this,c,cA,A))){if(r="vertical"===this._getDirection(A,s),e=M(cA),I("dragOverValid"),te.eventCanceled)return p;if(n)return dA=hA,D(),this._hideClone(),I("revert"),te.eventCanceled||(gA?hA.insertBefore(cA,gA):hA.appendChild(cA)),L(!0);var f=N(o,a.draggable);if(!f||ae(A,r,this)&&!f.animated){if(f===cA)return L(!1);if(f&&o===A.target&&(s=f),s&&(t=M(s)),!1!==ie(hA,o,cA,e,s,t,A,!!s))return D(),o.appendChild(cA),dA=o,O(),L(!0)}else if(f&&se(A,r,this)){var m=K(o,0,a,!0);if(m===cA)return L(!1);if(s=m,t=M(s),!1!==ie(hA,o,cA,e,s,t,A,!1))return D(),o.insertBefore(cA,m),dA=o,O(),L(!0)}else if(s.parentNode===o){t=M(s);var B,w,v=0,C=cA.parentNode!==o,b=!XA(cA.animated&&cA.toRect||e,s.animated&&s.toRect||t,r),y=r?"top":"left",_=T(s,"top","top")||T(cA,"top","top"),Q=_?_.scrollTop:void 0;if(IA!==s&&(B=t[y],TA=!1,KA=!b&&a.invertSwap||C),v=le(A,s,t,r,b?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,KA,IA===s),0!==v){var U=P(cA);do{U-=v,w=dA.children[U]}while(w&&("none"===H(w,"display")||w===uA))}if(0===v||w===s)return L(!1);IA=s,SA=v;var F=s.nextElementSibling,x=!1;x=1===v;var k=ie(hA,o,cA,e,s,t,A,x);if(!1!==k)return 1!==k&&-1!==k||(x=1===k),PA=!0,setTimeout(oe,30),D(),x&&!F?o.appendChild(cA):s.parentNode.insertBefore(cA,x?F:s),_&&X(_,0,Q-_.scrollTop),dA=cA.parentNode,void 0===B||KA||(HA=Math.abs(B-M(s)[y])),O(),L(!0)}if(o.contains(cA))return L(!1)}return!1}function I(a,l){aA(a,g,i({evt:A,isOwner:d,axis:r?"vertical":"horizontal",revert:n,dragRect:e,targetRect:t,canSort:u,fromSortable:h,target:s,completed:L,onMove:function(t,n){return ie(hA,o,cA,e,t,M(t),A,n)},changed:O},l))}function D(){I("dragOverAnimationCapture"),g.captureAnimationState(),g!==h&&h.captureAnimationState()}function L(e){return I("dragOverCompleted",{insertion:e}),e&&(d?c._hideClone():c._showClone(g),g!==h&&(S(cA,yA?yA.options.ghostClass:c.options.ghostClass,!1),S(cA,a.ghostClass,!0)),yA!==g&&g!==te.active?yA=g:g===te.active&&yA&&(yA=null),h===g&&(g._ignoreWhileAnimating=s),g.animateAll((function(){I("dragOverAnimationComplete"),g._ignoreWhileAnimating=null})),g!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(s===cA&&!cA.animated||s===o&&!s.animated)&&(IA=null),a.dragoverBubble||A.rootEl||s===document||(cA.parentNode[q]._isOutsideThisEl(A.target),!e&&Ae(A)),!a.dragoverBubble&&A.stopPropagation&&A.stopPropagation(),p=!0}function O(){wA=P(cA),CA=P(cA,a.draggable),lA({sortable:g,name:"change",toEl:o,newIndex:wA,newDraggableIndex:CA,originalEvent:A})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){U(document,"mousemove",this._onTouchMove),U(document,"touchmove",this._onTouchMove),U(document,"pointermove",this._onTouchMove),U(document,"dragover",Ae),U(document,"mousemove",Ae),U(document,"touchmove",Ae)},_offUpEvents:function(){var A=this.el.ownerDocument;U(A,"mouseup",this._onDrop),U(A,"touchend",this._onDrop),U(A,"pointerup",this._onDrop),U(A,"touchcancel",this._onDrop),U(document,"selectstart",this)},_onDrop:function(A){var e=this.el,t=this.options;wA=P(cA),CA=P(cA,t.draggable),aA("drop",this,{evt:A}),dA=cA&&cA.parentNode,wA=P(cA),CA=P(cA,t.draggable),te.eventCanceled||(LA=!1,KA=!1,TA=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ge(this.cloneId),ge(this._dragStartId),this.nativeDraggable&&(U(document,"drop",this),U(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),C&&H(document.body,"user-select",""),H(cA,"transform",""),A&&(kA&&(A.cancelable&&A.preventDefault(),!t.dropBubble&&A.stopPropagation()),uA&&uA.parentNode&&uA.parentNode.removeChild(uA),(hA===dA||yA&&"clone"!==yA.lastPutMode)&&fA&&fA.parentNode&&fA.parentNode.removeChild(fA),cA&&(this.nativeDraggable&&U(cA,"dragend",this),re(cA),cA.style["will-change"]="",kA&&!LA&&S(cA,yA?yA.options.ghostClass:this.options.ghostClass,!1),S(cA,this.options.chosenClass,!1),lA({sortable:this,name:"unchoose",toEl:dA,newIndex:null,newDraggableIndex:null,originalEvent:A}),hA!==dA?(wA>=0&&(lA({rootEl:dA,name:"add",toEl:dA,fromEl:hA,originalEvent:A}),lA({sortable:this,name:"remove",toEl:dA,originalEvent:A}),lA({rootEl:dA,name:"sort",toEl:dA,fromEl:hA,originalEvent:A}),lA({sortable:this,name:"sort",toEl:dA,originalEvent:A})),yA&&yA.save()):wA!==BA&&wA>=0&&(lA({sortable:this,name:"update",toEl:dA,originalEvent:A}),lA({sortable:this,name:"sort",toEl:dA,originalEvent:A})),te.active&&(null!=wA&&-1!==wA||(wA=BA,CA=vA),lA({sortable:this,name:"end",toEl:dA,originalEvent:A}),this.save())))),this._nulling()},_nulling:function(){aA("nulling",this),hA=cA=dA=uA=gA=fA=pA=mA=_A=QA=kA=wA=CA=BA=vA=IA=SA=yA=bA=te.dragged=te.ghost=te.clone=te.active=null,RA.forEach((function(A){A.checked=!0})),RA.length=UA=FA=0},handleEvent:function(A){switch(A.type){case"drop":case"dragend":this._onDrop(A);break;case"dragenter":case"dragover":cA&&(this._onDragOver(A),ne(A));break;case"selectstart":A.preventDefault();break}},toArray:function(){for(var A,e=[],t=this.el.children,n=0,i=t.length,r=this.options;n<i;n++)A=t[n],E(A,r.draggable,this.el,!1)&&e.push(A.getAttribute(r.dataIdAttr)||de(A));return e},sort:function(A,e){var t={},n=this.el;this.toArray().forEach((function(A,e){var i=n.children[e];E(i,this.options.draggable,n,!1)&&(t[A]=i)}),this),e&&this.captureAnimationState(),A.forEach((function(A){t[A]&&(n.removeChild(t[A]),n.appendChild(t[A]))})),e&&this.animateAll()},save:function(){var A=this.options.store;A&&A.set&&A.set(this)},closest:function(A,e){return E(A,e||this.options.draggable,this.el,!1)},option:function(A,e){var t=this.options;if(void 0===e)return t[A];var n=rA.modifyOption(this,A,e);t[A]="undefined"!==typeof n?n:e,"group"===A&&JA(t)},destroy:function(){aA("destroy",this);var A=this.el;A[q]=null,U(A,"mousedown",this._onTapStart),U(A,"touchstart",this._onTapStart),U(A,"pointerdown",this._onTapStart),this.nativeDraggable&&(U(A,"dragover",this),U(A,"dragenter",this)),Array.prototype.forEach.call(A.querySelectorAll("[draggable]"),(function(A){A.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),MA.splice(MA.indexOf(this.el),1),this.el=A=null},_hideClone:function(){if(!mA){if(aA("hideClone",this),te.eventCanceled)return;H(fA,"display","none"),this.options.removeCloneOnHide&&fA.parentNode&&fA.parentNode.removeChild(fA),mA=!0}},_showClone:function(A){if("clone"===A.lastPutMode){if(mA){if(aA("showClone",this),te.eventCanceled)return;cA.parentNode!=hA||this.options.group.revertClone?gA?hA.insertBefore(fA,gA):hA.appendChild(fA):hA.insertBefore(fA,cA),this.options.group.revertClone&&this.animate(cA,fA),H(fA,"display",""),mA=!1}}else this._hideClone()}},VA&&Q(document,"touchmove",(function(A){(te.active||LA)&&A.cancelable&&A.preventDefault()})),te.utils={on:Q,off:U,css:H,find:L,is:function(A,e){return!!E(A,e,A,!1)},extend:z,throttle:Z,closest:E,toggleClass:S,clone:Y,index:P,nextTick:he,cancelNextTick:ge,detectDirection:WA,getChild:K},te.get=function(A){return A[q]},te.mount=function(){for(var A=arguments.length,e=new Array(A),t=0;t<A;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach((function(A){if(!A.prototype||!A.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(A));A.utils&&(te.utils=i(i({},te.utils),A.utils)),rA.mount(A)}))},te.create=function(A,e){return new te(A,e)},te.version=f;var pe,fe,me,Be,we,ve,Ce=[],be=!1;function ye(){function A(){for(var A in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===A.charAt(0)&&"function"===typeof this[A]&&(this[A]=this[A].bind(this))}return A.prototype={dragStarted:function(A){var e=A.originalEvent;this.sortable.nativeDraggable?Q(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Q(document,"pointermove",this._handleFallbackAutoScroll):e.touches?Q(document,"touchmove",this._handleFallbackAutoScroll):Q(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(A){var e=A.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?U(document,"dragover",this._handleAutoScroll):(U(document,"pointermove",this._handleFallbackAutoScroll),U(document,"touchmove",this._handleFallbackAutoScroll),U(document,"mousemove",this._handleFallbackAutoScroll)),Qe(),_e(),W()},nulling:function(){we=fe=pe=be=ve=me=Be=null,Ce.length=0},_handleFallbackAutoScroll:function(A){this._handleAutoScroll(A,!0)},_handleAutoScroll:function(A,e){var t=this,n=(A.touches?A.touches[0]:A).clientX,i=(A.touches?A.touches[0]:A).clientY,r=document.elementFromPoint(n,i);if(we=A,e||this.options.forceAutoScrollFallback||w||B||C){Fe(A,this.options,r,e);var o=G(r,!0);!be||ve&&n===me&&i===Be||(ve&&Qe(),ve=setInterval((function(){var r=G(document.elementFromPoint(n,i),!0);r!==o&&(o=r,_e()),Fe(A,t.options,r,e)}),10),me=n,Be=i)}else{if(!this.options.bubbleScroll||G(r,!0)===O())return void _e();Fe(A,this.options,G(r,!1),!1)}}},s(A,{pluginName:"scroll",initializeByDefault:!0})}function _e(){Ce.forEach((function(A){clearInterval(A.pid)})),Ce=[]}function Qe(){clearInterval(ve)}var Ue,Fe=Z((function(A,e,t,n){if(e.scroll){var i,r=(A.touches?A.touches[0]:A).clientX,o=(A.touches?A.touches[0]:A).clientY,s=e.scrollSensitivity,a=e.scrollSpeed,l=O(),c=!1;fe!==t&&(fe=t,_e(),pe=e.scroll,i=e.scrollFn,!0===pe&&(pe=G(t,!0)));var d=0,u=pe;do{var h=u,g=M(h),p=g.top,f=g.bottom,m=g.left,B=g.right,w=g.width,v=g.height,C=void 0,b=void 0,y=h.scrollWidth,_=h.scrollHeight,Q=H(h),U=h.scrollLeft,F=h.scrollTop;h===l?(C=w<y&&("auto"===Q.overflowX||"scroll"===Q.overflowX||"visible"===Q.overflowX),b=v<_&&("auto"===Q.overflowY||"scroll"===Q.overflowY||"visible"===Q.overflowY)):(C=w<y&&("auto"===Q.overflowX||"scroll"===Q.overflowX),b=v<_&&("auto"===Q.overflowY||"scroll"===Q.overflowY));var x=C&&(Math.abs(B-r)<=s&&U+w<y)-(Math.abs(m-r)<=s&&!!U),E=b&&(Math.abs(f-o)<=s&&F+v<_)-(Math.abs(p-o)<=s&&!!F);if(!Ce[d])for(var k=0;k<=d;k++)Ce[k]||(Ce[k]={});Ce[d].vx==x&&Ce[d].vy==E&&Ce[d].el===h||(Ce[d].el=h,Ce[d].vx=x,Ce[d].vy=E,clearInterval(Ce[d].pid),0==x&&0==E||(c=!0,Ce[d].pid=setInterval(function(){n&&0===this.layer&&te.active._onTouchMove(we);var e=Ce[this.layer].vy?Ce[this.layer].vy*a:0,t=Ce[this.layer].vx?Ce[this.layer].vx*a:0;"function"===typeof i&&"continue"!==i.call(te.dragged.parentNode[q],t,e,A,we,Ce[this.layer].el)||X(Ce[this.layer].el,t,e)}.bind({layer:d}),24))),d++}while(e.bubbleScroll&&u!==l&&(u=G(u,!1)));be=c}}),30),xe=function(A){var e=A.originalEvent,t=A.putSortable,n=A.dragEl,i=A.activeSortable,r=A.dispatchSortableEvent,o=A.hideGhostForTarget,s=A.unhideGhostForTarget;if(e){var a=t||i;o();var l=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,c=document.elementFromPoint(l.clientX,l.clientY);s(),a&&!a.el.contains(c)&&(r("spill"),this.onSpill({dragEl:n,putSortable:t}))}};function Ee(){}function ke(){}function Ie(){function A(){this.defaults={swapClass:"sortable-swap-highlight"}}return A.prototype={dragStart:function(A){var e=A.dragEl;Ue=e},dragOverValid:function(A){var e=A.completed,t=A.target,n=A.onMove,i=A.activeSortable,r=A.changed,o=A.cancel;if(i.options.swap){var s=this.sortable.el,a=this.options;if(t&&t!==s){var l=Ue;!1!==n(t)?(S(t,a.swapClass,!0),Ue=t):Ue=null,l&&l!==Ue&&S(l,a.swapClass,!1)}r(),e(!0),o()}},drop:function(A){var e=A.activeSortable,t=A.putSortable,n=A.dragEl,i=t||this.sortable,r=this.options;Ue&&S(Ue,r.swapClass,!1),Ue&&(r.swap||t&&t.options.swap)&&n!==Ue&&(i.captureAnimationState(),i!==e&&e.captureAnimationState(),Se(n,Ue),i.animateAll(),i!==e&&e.animateAll())},nulling:function(){Ue=null}},s(A,{pluginName:"swap",eventProperties:function(){return{swapItem:Ue}}})}function Se(A,e){var t,n,i=A.parentNode,r=e.parentNode;i&&r&&!i.isEqualNode(e)&&!r.isEqualNode(A)&&(t=P(A),n=P(e),i.isEqualNode(r)&&t<n&&n++,i.insertBefore(e,i.children[t]),r.insertBefore(A,r.children[n]))}Ee.prototype={startIndex:null,dragStart:function(A){var e=A.oldDraggableIndex;this.startIndex=e},onSpill:function(A){var e=A.dragEl,t=A.putSortable;this.sortable.captureAnimationState(),t&&t.captureAnimationState();var n=K(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(e,n):this.sortable.el.appendChild(e),this.sortable.animateAll(),t&&t.animateAll()},drop:xe},s(Ee,{pluginName:"revertOnSpill"}),ke.prototype={onSpill:function(A){var e=A.dragEl,t=A.putSortable,n=t||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:xe},s(ke,{pluginName:"removeOnSpill"});var He,De,Le,Oe,Me,Te=[],Ke=[],Ne=!1,Pe=!1,Re=!1;function Ve(){function A(A){for(var e in this)"_"===e.charAt(0)&&"function"===typeof this[e]&&(this[e]=this[e].bind(this));A.options.supportPointer?Q(document,"pointerup",this._deselectMultiDrag):(Q(document,"mouseup",this._deselectMultiDrag),Q(document,"touchend",this._deselectMultiDrag)),Q(document,"keydown",this._checkKeyDown),Q(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(e,t){var n="";Te.length&&De===A?Te.forEach((function(A,e){n+=(e?", ":"")+A.textContent})):n=t.textContent,e.setData("Text",n)}}}return A.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(A){var e=A.dragEl;Le=e},delayEnded:function(){this.isMultiDrag=~Te.indexOf(Le)},setupClone:function(A){var e=A.sortable,t=A.cancel;if(this.isMultiDrag){for(var n=0;n<Te.length;n++)Ke.push(Y(Te[n])),Ke[n].sortableIndex=Te[n].sortableIndex,Ke[n].draggable=!1,Ke[n].style["will-change"]="",S(Ke[n],this.options.selectedClass,!1),Te[n]===Le&&S(Ke[n],this.options.chosenClass,!1);e._hideClone(),t()}},clone:function(A){var e=A.sortable,t=A.rootEl,n=A.dispatchSortableEvent,i=A.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Te.length&&De===e&&(ze(!0,t),n("clone"),i()))},showClone:function(A){var e=A.cloneNowShown,t=A.rootEl,n=A.cancel;this.isMultiDrag&&(ze(!1,t),Ke.forEach((function(A){H(A,"display","")})),e(),Me=!1,n())},hideClone:function(A){var e=this,t=(A.sortable,A.cloneNowHidden),n=A.cancel;this.isMultiDrag&&(Ke.forEach((function(A){H(A,"display","none"),e.options.removeCloneOnHide&&A.parentNode&&A.parentNode.removeChild(A)})),t(),Me=!0,n())},dragStartGlobal:function(A){A.sortable;!this.isMultiDrag&&De&&De.multiDrag._deselectMultiDrag(),Te.forEach((function(A){A.sortableIndex=P(A)})),Te=Te.sort((function(A,e){return A.sortableIndex-e.sortableIndex})),Re=!0},dragStarted:function(A){var e=this,t=A.sortable;if(this.isMultiDrag){if(this.options.sort&&(t.captureAnimationState(),this.options.animation)){Te.forEach((function(A){A!==Le&&H(A,"position","absolute")}));var n=M(Le,!1,!0,!0);Te.forEach((function(A){A!==Le&&J(A,n)})),Pe=!0,Ne=!0}t.animateAll((function(){Pe=!1,Ne=!1,e.options.animation&&Te.forEach((function(A){$(A)})),e.options.sort&&je()}))}},dragOver:function(A){var e=A.target,t=A.completed,n=A.cancel;Pe&&~Te.indexOf(e)&&(t(!1),n())},revert:function(A){var e=A.fromSortable,t=A.rootEl,n=A.sortable,i=A.dragRect;Te.length>1&&(Te.forEach((function(A){n.addAnimationState({target:A,rect:Pe?M(A):i}),$(A),A.fromRect=i,e.removeAnimationState(A)})),Pe=!1,Ge(!this.options.removeCloneOnHide,t))},dragOverCompleted:function(A){var e=A.sortable,t=A.isOwner,n=A.insertion,i=A.activeSortable,r=A.parentEl,o=A.putSortable,s=this.options;if(n){if(t&&i._hideClone(),Ne=!1,s.animation&&Te.length>1&&(Pe||!t&&!i.options.sort&&!o)){var a=M(Le,!1,!0,!0);Te.forEach((function(A){A!==Le&&(J(A,a),r.appendChild(A))})),Pe=!0}if(!t)if(Pe||je(),Te.length>1){var l=Me;i._showClone(e),i.options.animation&&!Me&&l&&Ke.forEach((function(A){i.addAnimationState({target:A,rect:Oe}),A.fromRect=Oe,A.thisAnimationDuration=null}))}else i._showClone(e)}},dragOverAnimationCapture:function(A){var e=A.dragRect,t=A.isOwner,n=A.activeSortable;if(Te.forEach((function(A){A.thisAnimationDuration=null})),n.options.animation&&!t&&n.multiDrag.isMultiDrag){Oe=s({},e);var i=D(Le,!0);Oe.top-=i.f,Oe.left-=i.e}},dragOverAnimationComplete:function(){Pe&&(Pe=!1,je())},drop:function(A){var e=A.originalEvent,t=A.rootEl,n=A.parentEl,i=A.sortable,r=A.dispatchSortableEvent,o=A.oldIndex,s=A.putSortable,a=s||this.sortable;if(e){var l=this.options,c=n.children;if(!Re)if(l.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),S(Le,l.selectedClass,!~Te.indexOf(Le)),~Te.indexOf(Le))Te.splice(Te.indexOf(Le),1),He=null,oA({sortable:i,rootEl:t,name:"deselect",targetEl:Le,originalEvt:e});else{if(Te.push(Le),oA({sortable:i,rootEl:t,name:"select",targetEl:Le,originalEvt:e}),e.shiftKey&&He&&i.el.contains(He)){var d,u,h=P(He),g=P(Le);if(~h&&~g&&h!==g)for(g>h?(u=h,d=g):(u=g,d=h+1);u<d;u++)~Te.indexOf(c[u])||(S(c[u],l.selectedClass,!0),Te.push(c[u]),oA({sortable:i,rootEl:t,name:"select",targetEl:c[u],originalEvt:e}))}else He=Le;De=a}if(Re&&this.isMultiDrag){if(Pe=!1,(n[q].options.sort||n!==t)&&Te.length>1){var p=M(Le),f=P(Le,":not(."+this.options.selectedClass+")");if(!Ne&&l.animation&&(Le.thisAnimationDuration=null),a.captureAnimationState(),!Ne&&(l.animation&&(Le.fromRect=p,Te.forEach((function(A){if(A.thisAnimationDuration=null,A!==Le){var e=Pe?M(A):p;A.fromRect=e,a.addAnimationState({target:A,rect:e})}}))),je(),Te.forEach((function(A){c[f]?n.insertBefore(A,c[f]):n.appendChild(A),f++})),o===P(Le))){var m=!1;Te.forEach((function(A){A.sortableIndex===P(A)||(m=!0)})),m&&r("update")}Te.forEach((function(A){$(A)})),a.animateAll()}De=a}(t===n||s&&"clone"!==s.lastPutMode)&&Ke.forEach((function(A){A.parentNode&&A.parentNode.removeChild(A)}))}},nullingGlobal:function(){this.isMultiDrag=Re=!1,Ke.length=0},destroyGlobal:function(){this._deselectMultiDrag(),U(document,"pointerup",this._deselectMultiDrag),U(document,"mouseup",this._deselectMultiDrag),U(document,"touchend",this._deselectMultiDrag),U(document,"keydown",this._checkKeyDown),U(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(A){if(("undefined"===typeof Re||!Re)&&De===this.sortable&&(!A||!E(A.target,this.options.draggable,this.sortable.el,!1))&&(!A||0===A.button))while(Te.length){var e=Te[0];S(e,this.options.selectedClass,!1),Te.shift(),oA({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:A})}},_checkKeyDown:function(A){A.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(A){A.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},s(A,{pluginName:"multiDrag",utils:{select:function(A){var e=A.parentNode[q];e&&e.options.multiDrag&&!~Te.indexOf(A)&&(De&&De!==e&&(De.multiDrag._deselectMultiDrag(),De=e),S(A,e.options.selectedClass,!0),Te.push(A))},deselect:function(A){var e=A.parentNode[q],t=Te.indexOf(A);e&&e.options.multiDrag&&~t&&(S(A,e.options.selectedClass,!1),Te.splice(t,1))}},eventProperties:function(){var A=this,e=[],t=[];return Te.forEach((function(n){var i;e.push({multiDragElement:n,index:n.sortableIndex}),i=Pe&&n!==Le?-1:Pe?P(n,":not(."+A.options.selectedClass+")"):P(n),t.push({multiDragElement:n,index:i})})),{items:c(Te),clones:[].concat(Ke),oldIndicies:e,newIndicies:t}},optionListeners:{multiDragKey:function(A){return A=A.toLowerCase(),"ctrl"===A?A="Control":A.length>1&&(A=A.charAt(0).toUpperCase()+A.substr(1)),A}}})}function Ge(A,e){Te.forEach((function(t,n){var i=e.children[t.sortableIndex+(A?Number(n):0)];i?e.insertBefore(t,i):e.appendChild(t)}))}function ze(A,e){Ke.forEach((function(t,n){var i=e.children[t.sortableIndex+(A?Number(n):0)];i?e.insertBefore(t,i):e.appendChild(t)}))}function je(){Te.forEach((function(A){A!==Le&&A.parentNode&&A.parentNode.removeChild(A)}))}te.mount(new ye),te.mount(ke,Ee),e["default"]=te}}]);