gp-designer 1.0.93 → 1.0.95

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,8 +5,8 @@
5
5
  fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)
6
6
  )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},so={};function Kd(A,e){return A===$.falseFunc?$.falseFunc:t=>e.isTag(t)&&A(t)}function oo(A,e){const t=e.getSiblings(A);if(t.length<=1)return[];const r=t.indexOf(A);return r<0||r===t.length-1?[]:t.slice(r+1).filter(e.isTag)}function ka(A){return{xmlMode:!!A.xmlMode,lowerCaseAttributeNames:!!A.lowerCaseAttributeNames,lowerCaseTags:!!A.lowerCaseTags,quirksMode:!!A.quirksMode,cacheResults:!!A.cacheResults,pseudos:A.pseudos,adapter:A.adapter,equals:A.equals}}const Pa=(A,e,t,r,n)=>{const a=n(e,ka(t),r);return a===$.trueFunc?A:a===$.falseFunc?$.falseFunc:i=>a(i)&&A(i)},Ka={is:Pa,matches:Pa,where:Pa,not(A,e,t,r,n){const a=n(e,ka(t),r);return a===$.falseFunc?A:a===$.trueFunc?$.falseFunc:i=>!a(i)&&A(i)},has(A,e,t,r,n){const{adapter:a}=t,i=ka(t);i.relativeSelector=!0;const o=e.some(d=>d.some(Oa))?[so]:void 0,u=n(e,i,o);if(u===$.falseFunc)return $.falseFunc;const l=Kd(u,a);if(o&&u!==$.trueFunc){const{shouldTestNextSiblings:d=!1}=u;return f=>{if(!A(f))return!1;o[0]=f;const h=a.getChildren(f),C=d?[...h,...oo(f,a)]:h;return a.existsOne(l,C)}}return d=>A(d)&&a.existsOne(l,a.getChildren(d))}};function Vd(A,e,t,r,n){var a;const{name:i,data:o}=e;if(Array.isArray(o)){if(!(i in Ka))throw new Error(`Unknown pseudo-class :${i}(${o})`);return Ka[i](A,o,t,r,n)}const u=(a=t.pseudos)===null||a===void 0?void 0:a[i],l=typeof u=="string"?u:Pd[i];if(typeof l=="string"){if(o!=null)throw new Error(`Pseudo ${i} doesn't have any arguments`);const d=An(l);return Ka.is(A,d,t,r,n)}if(typeof u=="function")return io(u,i,o,1),d=>u(d,o)&&A(d);if(i in Ra)return Ra[i](A,o,t,r);if(i in ao){const d=ao[i];return io(d,i,o,2),f=>d(f,t,o)&&A(f)}throw new Error(`Unknown pseudo-class :${i}`)}function Va(A,e){const t=e.getParent(A);return t&&e.isTag(t)?t:null}function Gd(A,e,t,r,n){const{adapter:a,equals:i}=t;switch(e.type){case G.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case G.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case G.Attribute:{if(e.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!t.xmlMode||t.lowerCaseAttributeNames)&&(e.name=e.name.toLowerCase()),Dd[e.action](A,e,t)}case G.Pseudo:return Vd(A,e,t,r,n);case G.Tag:{if(e.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:o}=e;return(!t.xmlMode||t.lowerCaseTags)&&(o=o.toLowerCase()),function(l){return a.getName(l)===o&&A(l)}}case G.Descendant:{if(t.cacheResults===!1||typeof WeakSet>"u")return function(l){let d=l;for(;d=Va(d,a);)if(A(d))return!0;return!1};const o=new WeakSet;return function(l){let d=l;for(;d=Va(d,a);)if(!o.has(d)){if(a.isTag(d)&&A(d))return!0;o.add(d)}return!1}}case"_flexibleDescendant":return function(u){let l=u;do if(A(l))return!0;while(l=Va(l,a));return!1};case G.Parent:return function(u){return a.getChildren(u).some(l=>a.isTag(l)&&A(l))};case G.Child:return function(u){const l=a.getParent(u);return l!=null&&a.isTag(l)&&A(l)};case G.Sibling:return function(u){const l=a.getSiblings(u);for(let d=0;d<l.length;d++){const f=l[d];if(i(u,f))break;if(a.isTag(f)&&A(f))return!0}return!1};case G.Adjacent:return a.prevElementSibling?function(u){const l=a.prevElementSibling(u);return l!=null&&A(l)}:function(u){const l=a.getSiblings(u);let d;for(let f=0;f<l.length;f++){const h=l[f];if(i(u,h))break;a.isTag(h)&&(d=h)}return!!d&&A(d)};case G.Universal:{if(e.namespace!=null&&e.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return A}}}function uo(A){return A.type===G.Pseudo&&(A.name==="scope"||Array.isArray(A.data)&&A.data.some(e=>e.some(uo)))}const Yd={type:G.Descendant},Xd={type:"_flexibleDescendant"},Wd={type:G.Pseudo,name:"scope",data:null};function Jd(A,{adapter:e},t){const r=!!(t!=null&&t.every(n=>{const a=e.isTag(n)&&e.getParent(n);return n===so||a&&e.isTag(a)}));for(const n of A){if(!(n.length>0&&Oa(n[0])&&n[0].type!==G.Descendant))if(r&&!n.some(uo))n.unshift(Yd);else continue;n.unshift(Wd)}}function co(A,e,t){var r;A.forEach(Sd),t=(r=e.context)!==null&&r!==void 0?r:t;const n=Array.isArray(t),a=t&&(Array.isArray(t)?t:[t]);if(e.relativeSelector!==!1)Jd(A,e,a);else if(A.some(u=>u.length>0&&Oa(u[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let i=!1;const o=A.map(u=>{if(u.length>=2){const[l,d]=u;l.type!==G.Pseudo||l.name!=="scope"||(n&&d.type===G.Descendant?u[1]=Xd:(d.type===G.Adjacent||d.type===G.Sibling)&&(i=!0))}return qd(u,e,a)}).reduce(jd,$.falseFunc);return o.shouldTestNextSiblings=i,o}function qd(A,e,t){var r;return A.reduce((n,a)=>n===$.falseFunc?$.falseFunc:Gd(n,a,e,t,co),(r=e.rootFunc)!==null&&r!==void 0?r:$.trueFunc)}function jd(A,e){return e===$.falseFunc||A===$.trueFunc?A:A===$.falseFunc||e===$.trueFunc?e:function(r){return A(r)||e(r)}}const lo=(A,e)=>A===e,zd={adapter:zr,equals:lo};function $d(A){var e,t,r,n;const a=A??zd;return(e=a.adapter)!==null&&e!==void 0||(a.adapter=zr),(t=a.equals)!==null&&t!==void 0||(a.equals=(n=(r=a.adapter)===null||r===void 0?void 0:r.equals)!==null&&n!==void 0?n:lo),a}function Zd(A){return function(t,r,n){const a=$d(r);return A(t,a,n)}}const Ga=Zd(co);function fo(A,e,t=!1){return t&&(A=Af(A,e)),Array.isArray(A)?e.removeSubsets(A):e.getChildren(A)}function Af(A,e){const t=Array.isArray(A)?A.slice(0):[A],r=t.length;for(let n=0;n<r;n++){const a=oo(t[n],e);t.push(...a)}return t}const ef=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function nn(A){return A.type!=="pseudo"?!1:ef.has(A.name)?!0:A.name==="not"&&Array.isArray(A.data)?A.data.some(e=>e.some(nn)):!1}function tf(A,e,t){const r=e!=null?parseInt(e,10):NaN;switch(A){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,t):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*t;case"even":return 2*t-1;case"last":case"not":return 1/0}}function rf(A){for(;A.parent;)A=A.parent;return A}function Ya(A){const e=[],t=[];for(const r of A)r.some(nn)?e.push(r):t.push(r);return[t,e]}const nf={type:G.Universal,namespace:null},af={type:G.Pseudo,name:"scope",data:null};function ho(A,e,t={}){return Bo([A],e,t)}function Bo(A,e,t={}){if(typeof e=="function")return A.some(e);const[r,n]=Ya(An(e));return r.length>0&&A.some(Ga(r,t))||n.some(a=>Eo(a,A,t).length>0)}function sf(A,e,t,r){const n=typeof t=="string"?parseInt(t,10):NaN;switch(A){case"first":case"lt":return e;case"last":return e.length>0?[e[e.length-1]]:e;case"nth":case"eq":return isFinite(n)&&Math.abs(n)<e.length?[n<0?e[e.length+n]:e[n]]:[];case"gt":return isFinite(n)?e.slice(n+1):[];case"even":return e.filter((a,i)=>i%2===0);case"odd":return e.filter((a,i)=>i%2===1);case"not":{const a=new Set(po(t,e,r));return e.filter(i=>!a.has(i))}}}function go(A,e,t={}){return po(An(A),e,t)}function po(A,e,t){if(e.length===0)return[];const[r,n]=Ya(A);let a;if(r.length){const i=Wa(e,r,t);if(n.length===0)return i;i.length&&(a=new Set(i))}for(let i=0;i<n.length&&(a==null?void 0:a.size)!==e.length;i++){const o=n[i];if((a?e.filter(d=>J(d)&&!a.has(d)):e).length===0)break;const l=Eo(o,e,t);if(l.length)if(a)l.forEach(d=>a.add(d));else{if(i===n.length-1)return l;a=new Set(l)}}return typeof a<"u"?a.size===e.length?e:e.filter(i=>a.has(i)):[]}function Eo(A,e,t){var r;if(A.some($t)){const n=(r=t.root)!==null&&r!==void 0?r:rf(e[0]),a={...t,context:e,relativeSelector:!1};return A.push(af),an(n,A,a,!0,e.length)}return an(e,A,t,!1,e.length)}function of(A,e,t={},r=1/0){if(typeof A=="function")return mo(e,A);const[n,a]=Ya(An(A)),i=a.map(o=>an(e,o,t,!0,r));return n.length&&i.push(Xa(e,n,t,r)),i.length===0?[]:i.length===1?i[0]:Ct(i.reduce((o,u)=>[...o,...u]))}function an(A,e,t,r,n){const a=e.findIndex(nn),i=e.slice(0,a),o=e[a],u=e.length-1===a?n:1/0,l=tf(o.name,o.data,u);if(l===0)return[];const f=(i.length===0&&!Array.isArray(A)?Wr(A).filter(J):i.length===0?(Array.isArray(A)?A:[A]).filter(J):r||i.some($t)?Xa(A,[i],t,l):Wa(A,[i],t)).slice(0,l);let h=sf(o.name,f,o.data,t);if(h.length===0||e.length===a+1)return h;const C=e.slice(a+1),m=C.some($t);if(m){if($t(C[0])){const{type:T}=C[0];(T===G.Sibling||T===G.Adjacent)&&(h=fo(h,zr,!0)),C.unshift(nf)}t={...t,relativeSelector:!1,rootFunc:T=>h.includes(T)}}else t.rootFunc&&t.rootFunc!==en.trueFunc&&(t={...t,rootFunc:en.trueFunc});return C.some(nn)?an(h,C,t,!1,n):m?Xa(h,[C],t,n):Wa(h,[C],t)}function Xa(A,e,t,r){const n=Ga(e,t,A);return mo(A,n,r)}function mo(A,e,t=1/0){const r=fo(A,zr,e.shouldTestNextSiblings);return xa(n=>J(n)&&e(n),r,!0,t)}function Wa(A,e,t){const r=(Array.isArray(A)?A:[A]).filter(J);if(r.length===0)return r;const n=Ga(e,t);return n===en.trueFunc?r:r.filter(n)}const uf=/^\s*[+~]/;function cf(A){if(!A)return this._make([]);if(typeof A!="string"){const e=ye(A)?A.toArray():[A],t=this.toArray();return this._make(e.filter(r=>t.some(n=>Vs(n,r))))}return this._findBySelector(A,Number.POSITIVE_INFINITY)}function lf(A,e){var t;const r=this.toArray(),n=uf.test(A)?r:this.children().toArray(),a={context:r,root:(t=this._root)===null||t===void 0?void 0:t[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(of(A,n,a,e))}function Ja(A){return function(e,...t){return function(r){var n;let a=A(e,this);return r&&(a=za(a,r,this.options.xmlMode,(n=this._root)===null||n===void 0?void 0:n[0])),this._make(this.length>1&&a.length>1?t.reduce((i,o)=>o(i),a):a)}}}const Ar=Ja((A,e)=>{let t=[];for(let r=0;r<e.length;r++){const n=A(e[r]);n.length>0&&(t=t.concat(n))}return t}),qa=Ja((A,e)=>{const t=[];for(let r=0;r<e.length;r++){const n=A(e[r]);n!==null&&t.push(n)}return t});function ja(A,...e){let t=null;const r=Ja((n,a)=>{const i=[];return bA(a,o=>{for(let u;(u=n(o))&&!(t!=null&&t(u,i.length));o=u)i.push(u)}),i})(A,...e);return function(n,a){t=typeof n=="string"?o=>ho(o,n,this.options):n?er(n):null;const i=r.call(this,a);return t=null,i}}function bt(A){return A.length>1?Array.from(new Set(A)):A}const df=qa(({parent:A})=>A&&!De(A)?A:null,bt),ff=Ar(A=>{const e=[];for(;A.parent&&!De(A.parent);)e.push(A.parent),A=A.parent;return e},Ct,A=>A.reverse()),hf=ja(({parent:A})=>A&&!De(A)?A:null,Ct,A=>A.reverse());function Bf(A){var e;const t=[];if(!A)return this._make(t);const r={xmlMode:this.options.xmlMode,root:(e=this._root)===null||e===void 0?void 0:e[0]},n=typeof A=="string"?a=>ho(a,A,r):er(A);return bA(this,a=>{for(a&&!De(a)&&!J(a)&&(a=a.parent);a&&J(a);){if(n(a,0)){t.includes(a)||t.push(a);break}a=a.parent}}),this._make(t)}const gf=qa(A=>Ia(A)),pf=Ar(A=>{const e=[];for(;A.next;)A=A.next,J(A)&&e.push(A);return e},bt),Ef=ja(A=>Ia(A),bt),mf=qa(A=>ya(A)),Cf=Ar(A=>{const e=[];for(;A.prev;)A=A.prev,J(A)&&e.push(A);return e},bt),wf=ja(A=>ya(A),bt),bf=Ar(A=>Ds(A).filter(e=>J(e)&&e!==A),Ct),Tf=Ar(A=>Wr(A).filter(J),bt);function Uf(){const A=this.toArray().reduce((e,t)=>NA(t)?e.concat(t.children):e,[]);return this._make(A)}function Qf(A){let e=0;const t=this.length;for(;e<t&&A.call(this[e],e,this[e])!==!1;)++e;return this}function Ff(A){let e=[];for(let t=0;t<this.length;t++){const r=this[t],n=A.call(r,t,r);n!=null&&(e=e.concat(n))}return this._make(e)}function er(A){return typeof A=="function"?(e,t)=>A.call(e,t,e):ye(A)?e=>Array.prototype.includes.call(A,e):function(e){return A===e}}function If(A){var e;return this._make(za(this.toArray(),A,this.options.xmlMode,(e=this._root)===null||e===void 0?void 0:e[0]))}function za(A,e,t,r){return typeof e=="string"?go(e,A,{xmlMode:t,root:r}):A.filter(er(e))}function yf(A){const e=this.toArray();return typeof A=="string"?Bo(e.filter(J),A,this.options):A?e.some(er(A)):!1}function xf(A){let e=this.toArray();if(typeof A=="string"){const t=new Set(go(A,e,this.options));e=e.filter(r=>!t.has(r))}else{const t=er(A);e=e.filter((r,n)=>!t(r,n))}return this._make(e)}function vf(A){return this.filter(typeof A=="string"?`:has(${A})`:(e,t)=>this._make(t).find(A).length>0)}function _f(){return this.length>1?this._make(this[0]):this}function Nf(){return this.length>0?this._make(this[this.length-1]):this}function Sf(A){var e;return A=+A,A===0&&this.length<=1?this:(A<0&&(A=this.length+A),this._make((e=this[A])!==null&&e!==void 0?e:[]))}function Lf(A){return A==null?this.toArray():this[A<0?this.length+A:A]}function Hf(){return Array.prototype.slice.call(this)}function Df(A){let e,t;return A==null?(e=this.parent().children(),t=this[0]):typeof A=="string"?(e=this._make(A),t=this[0]):(e=this,t=ye(A)?A[0]:A),Array.prototype.indexOf.call(e,t)}function Of(A,e){return this._make(Array.prototype.slice.call(this,A,e))}function Rf(){var A;return(A=this.prevObject)!==null&&A!==void 0?A:this._make([])}function Mf(A,e){const t=this._make(A,e),r=Ct([...this.get(),...t.get()]);return this._make(r)}function kf(A){return this.prevObject?this.add(A?this.prevObject.filter(A):this.prevObject):this}const Pf=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:lf,add:Mf,addBack:kf,children:Tf,closest:Bf,contents:Uf,each:Qf,end:Rf,eq:Sf,filter:If,filterArray:za,find:cf,first:_f,get:Lf,has:vf,index:Df,is:yf,last:Nf,map:Ff,next:gf,nextAll:pf,nextUntil:Ef,not:xf,parent:df,parents:ff,parentsUntil:hf,prev:mf,prevAll:Cf,prevUntil:wf,siblings:bf,slice:Of,toArray:Hf},Symbol.toStringTag,{value:"Module"}));function Kf(A){return function(t,r,n,a){if(typeof Buffer<"u"&&Buffer.isBuffer(t)&&(t=t.toString()),typeof t=="string")return A(t,r,n,a);const i=t;if(!Array.isArray(i)&&De(i))return i;const o=new rt([]);return st(i,o),o}}function st(A,e){const t=Array.isArray(A)?A:[A];e?e.children=t:e=null;for(let r=0;r<t.length;r++){const n=t[r];n.parent&&n.parent.children!==t&&nt(n),e?(n.prev=t[r-1]||null,n.next=t[r+1]||null):n.prev=n.next=null,n.parent=e}return e}function Vf(A,e){if(A==null)return[];if(typeof A=="string")return this._parse(A,this.options,!1,null).children.slice(0);if("length"in A){if(A.length===1)return this._makeDomArray(A[0],e);const t=[];for(let r=0;r<A.length;r++){const n=A[r];if(typeof n=="object"){if(n==null)continue;if(!("length"in n)){t.push(e?Jt(n,!0):n);continue}}t.push(...this._makeDomArray(n,e))}return t}return[e?Jt(A,!0):A]}function Co(A){return function(...e){const t=this.length-1;return bA(this,(r,n)=>{if(!NA(r))return;const a=typeof e[0]=="function"?e[0].call(r,n,this._render(r.children)):e,i=this._makeDomArray(a,n<t);A(i,r.children,r)})}}function Me(A,e,t,r,n){var a,i;const o=[e,t,...r],u=e===0?null:A[e-1],l=e+t>=A.length?null:A[e+t];for(let d=0;d<r.length;++d){const f=r[d],h=f.parent;if(h){const m=h.children.indexOf(f);m>-1&&(h.children.splice(m,1),n===h&&e>m&&o[0]--)}f.parent=n,f.prev&&(f.prev.next=(a=f.next)!==null&&a!==void 0?a:null),f.next&&(f.next.prev=(i=f.prev)!==null&&i!==void 0?i:null),f.prev=d===0?u:r[d-1],f.next=d===r.length-1?l:r[d+1]}return u&&(u.next=r[0]),l&&(l.prev=r[r.length-1]),A.splice(...o)}function Gf(A){return(ye(A)?A:this._make(A)).append(this),this}function Yf(A){return(ye(A)?A:this._make(A)).prepend(this),this}const Xf=Co((A,e,t)=>{Me(e,e.length,0,A,t)}),Wf=Co((A,e,t)=>{Me(e,0,0,A,t)});function wo(A){return function(e){const t=this.length-1,r=this.parents().last();for(let n=0;n<this.length;n++){const a=this[n],i=typeof e=="function"?e.call(a,n,a):typeof e=="string"&&!Na(e)?r.find(e).clone():e,[o]=this._makeDomArray(i,n<t);if(!o||!NA(o))continue;let u=o,l=0;for(;l<u.children.length;){const d=u.children[l];J(d)?(u=d,l=0):l++}A(a,u,[o])}return this}}const Jf=wo((A,e,t)=>{const{parent:r}=A;if(!r)return;const n=r.children,a=n.indexOf(A);st([A],e),Me(n,a,0,t,r)}),qf=wo((A,e,t)=>{NA(A)&&(st(A.children,e),st(t,A))});function jf(A){return this.parent(A).not("body").each((e,t)=>{this._make(t).replaceWith(t.children)}),this}function zf(A){const e=this[0];if(e){const t=this._make(typeof A=="function"?A.call(e,0,e):A).insertBefore(e);let r;for(let a=0;a<t.length;a++)t[a].type==="tag"&&(r=t[a]);let n=0;for(;r&&n<r.children.length;){const a=r.children[n];a.type==="tag"?(r=a,n=0):n++}r&&this._make(r).append(this)}return this}function $f(...A){const e=this.length-1;return bA(this,(t,r)=>{if(!NA(t)||!t.parent)return;const n=t.parent.children,a=n.indexOf(t);if(a<0)return;const i=typeof A[0]=="function"?A[0].call(t,r,this._render(t.children)):A,o=this._makeDomArray(i,r<e);Me(n,a+1,0,o,t.parent)})}function Zf(A){typeof A=="string"&&(A=this._make(A)),this.remove();const e=[];for(const t of this._makeDomArray(A)){const r=this.clone().toArray(),{parent:n}=t;if(!n)continue;const a=n.children,i=a.indexOf(t);i<0||(Me(a,i+1,0,r,n),e.push(...r))}return this._make(e)}function Ah(...A){const e=this.length-1;return bA(this,(t,r)=>{if(!NA(t)||!t.parent)return;const n=t.parent.children,a=n.indexOf(t);if(a<0)return;const i=typeof A[0]=="function"?A[0].call(t,r,this._render(t.children)):A,o=this._makeDomArray(i,r<e);Me(n,a,0,o,t.parent)})}function eh(A){const e=this._make(A);this.remove();const t=[];return bA(e,r=>{const n=this.clone().toArray(),{parent:a}=r;if(!a)return;const i=a.children,o=i.indexOf(r);o<0||(Me(i,o,0,n,a),t.push(...n))}),this._make(t)}function th(A){const e=A?this.filter(A):this;return bA(e,t=>{nt(t),t.prev=t.next=t.parent=null}),this}function rh(A){return bA(this,(e,t)=>{const{parent:r}=e;if(!r)return;const n=r.children,a=typeof A=="function"?A.call(e,t,e):A,i=this._makeDomArray(a);st(i,null);const o=n.indexOf(e);Me(n,o,1,i,r),i.includes(e)||(e.parent=e.prev=e.next=null)})}function nh(){return bA(this,A=>{if(NA(A)){for(const e of A.children)e.next=e.prev=e.parent=null;A.children.length=0}})}function ah(A){if(A===void 0){const e=this[0];return!e||!NA(e)?null:this._render(e.children)}return bA(this,e=>{if(!NA(e))return;for(const r of e.children)r.next=r.prev=r.parent=null;const t=ye(A)?A.toArray():this._parse(`${A}`,this.options,!1,e).children;st(t,e)})}function ih(){return this._render(this)}function sh(A){return A===void 0?qt(this):typeof A=="function"?bA(this,(e,t)=>this._make(e).text(A.call(e,t,qt([e])))):bA(this,e=>{if(!NA(e))return;for(const r of e.children)r.next=r.prev=r.parent=null;const t=new Wt(`${A}`);st(t,e)})}function oh(){const A=Array.prototype.map.call(this.get(),t=>Jt(t,!0)),e=new rt(A);for(const t of A)t.parent=e;return this._make(A)}const uh=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:Vf,after:$f,append:Xf,appendTo:Gf,before:Ah,clone:oh,empty:nh,html:ah,insertAfter:Zf,insertBefore:eh,prepend:Wf,prependTo:Yf,remove:th,replaceWith:rh,text:sh,toString:ih,unwrap:jf,wrap:Jf,wrapAll:zf,wrapInner:qf},Symbol.toStringTag,{value:"Module"}));function ch(A,e){if(A!=null&&e!=null||typeof A=="object"&&!Array.isArray(A))return bA(this,(t,r)=>{J(t)&&bo(t,A,e,r)});if(this.length!==0)return To(this[0],A)}function bo(A,e,t,r){if(typeof e=="string"){const n=To(A),a=typeof t=="function"?t.call(A,r,n[e]):t;a===""?delete n[e]:a!=null&&(n[e]=a),A.attribs.style=lh(n)}else if(typeof e=="object"){const n=Object.keys(e);for(let a=0;a<n.length;a++){const i=n[a];bo(A,i,e[i],a)}}}function To(A,e){if(!A||!J(A))return;const t=dh(A.attribs.style);if(typeof e=="string")return t[e];if(Array.isArray(e)){const r={};for(const n of e)t[n]!=null&&(r[n]=t[n]);return r}return t}function lh(A){return Object.keys(A).reduce((e,t)=>`${e}${e?" ":""}${t}: ${A[t]};`,"")}function dh(A){if(A=(A||"").trim(),!A)return{};const e={};let t;for(const r of A.split(";")){const n=r.indexOf(":");if(n<1||n===r.length-1){const a=r.trimEnd();a.length>0&&t!==void 0&&(e[t]+=`;${a}`)}else t=r.slice(0,n).trim(),e[t]=r.slice(n+1).trim()}return e}const fh=Object.freeze(Object.defineProperty({__proto__:null,css:ch},Symbol.toStringTag,{value:"Module"})),Uo="input,select,textarea,keygen",hh=/%20/g,Qo=/\r?\n/g;function Bh(){return this.serializeArray().map(t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`).join("&").replace(hh,"+")}function gh(){return this.map((A,e)=>{const t=this._make(e);return J(e)&&e.name==="form"?t.find(Uo).toArray():t.filter(Uo).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((A,e)=>{var t;const r=this._make(e),n=r.attr("name"),a=(t=r.val())!==null&&t!==void 0?t:"";return Array.isArray(a)?a.map(i=>({name:n,value:i.replace(Qo,`\r
7
7
  `)})):{name:n,value:a.replace(Qo,`\r
8
- `)}}).toArray()}const ph=Object.freeze(Object.defineProperty({__proto__:null,serialize:Bh,serializeArray:gh},Symbol.toStringTag,{value:"Module"}));function Eh(A){var e;return typeof A=="string"?{selector:A,value:"textContent"}:{selector:A.selector,value:(e=A.value)!==null&&e!==void 0?e:"textContent"}}function mh(A){const e={};for(const t in A){const r=A[t],n=Array.isArray(r),{selector:a,value:i}=Eh(n?r[0]:r),o=typeof i=="function"?i:typeof i=="string"?u=>this._make(u).prop(i):u=>this._make(u).extract(i);if(n)e[t]=this._findBySelector(a,Number.POSITIVE_INFINITY).map((u,l)=>o(l,t,e)).get();else{const u=this._findBySelector(a,1);e[t]=u.length>0?o(u[0],t,e):void 0}}return e}const Ch=Object.freeze(Object.defineProperty({__proto__:null,extract:mh},Symbol.toStringTag,{value:"Module"}));class tr{constructor(e,t,r){if(this.length=0,this.options=r,this._root=t,e){for(let n=0;n<e.length;n++)this[n]=e[n];this.length=e.length}}}tr.prototype.cheerio="[cheerio object]",tr.prototype.splice=Array.prototype.splice,tr.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(tr.prototype,Qd,Pf,uh,fh,ph,Ch);function wh(A,e){return function t(r,n,a=!0){if(r==null)throw new Error("cheerio.load() expects a string");const i=_a(n),o=A(r,i,a,null);class u extends tr{_make(f,h){const C=l(f,h);return C.prevObject=this,C}_parse(f,h,C,m){return A(f,h,C,m)}_render(f){return e(f,this.options)}}function l(d,f,h=o,C){if(d&&ye(d))return d;const m=_a(C,i),T=typeof h=="string"?[A(h,m,!1,null)]:"length"in h?h:[h],Q=ye(T)?T:new u(T,null,m);if(Q._root=Q,!d)return new u(void 0,Q,m);const b=typeof d=="string"&&Na(d)?A(d,m,!1,null).children:bh(d)?[d]:Array.isArray(d)?d:void 0,v=new u(b,Q,m);if(b)return v;if(typeof d!="string")throw new TypeError("Unexpected type of selector");let H=d;const K=f?typeof f=="string"?Na(f)?new u([A(f,m,!1,null)],Q,m):(H=`${f} ${H}`,Q):ye(f)?f:new u(Array.isArray(f)?f:[f],Q,m):Q;return K?K.find(H):v}return Object.assign(l,fd,{load:t,_root:o,_options:i,fn:u.prototype,prototype:u.prototype}),l}}function bh(A){return!!A.name||A.type==="root"||A.type==="text"||A.type==="comment"}const Th=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),gA="�";var B;(function(A){A[A.EOF=-1]="EOF",A[A.NULL=0]="NULL",A[A.TABULATION=9]="TABULATION",A[A.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",A[A.LINE_FEED=10]="LINE_FEED",A[A.FORM_FEED=12]="FORM_FEED",A[A.SPACE=32]="SPACE",A[A.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",A[A.QUOTATION_MARK=34]="QUOTATION_MARK",A[A.AMPERSAND=38]="AMPERSAND",A[A.APOSTROPHE=39]="APOSTROPHE",A[A.HYPHEN_MINUS=45]="HYPHEN_MINUS",A[A.SOLIDUS=47]="SOLIDUS",A[A.DIGIT_0=48]="DIGIT_0",A[A.DIGIT_9=57]="DIGIT_9",A[A.SEMICOLON=59]="SEMICOLON",A[A.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",A[A.EQUALS_SIGN=61]="EQUALS_SIGN",A[A.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",A[A.QUESTION_MARK=63]="QUESTION_MARK",A[A.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",A[A.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",A[A.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",A[A.GRAVE_ACCENT=96]="GRAVE_ACCENT",A[A.LATIN_SMALL_A=97]="LATIN_SMALL_A",A[A.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(B||(B={}));const $A={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Fo(A){return A>=55296&&A<=57343}function Uh(A){return A>=56320&&A<=57343}function Qh(A,e){return(A-55296)*1024+9216+e}function Io(A){return A!==32&&A!==10&&A!==13&&A!==9&&A!==12&&A>=1&&A<=31||A>=127&&A<=159}function yo(A){return A>=64976&&A<=65007||Th.has(A)}var U;(function(A){A.controlCharacterInInputStream="control-character-in-input-stream",A.noncharacterInInputStream="noncharacter-in-input-stream",A.surrogateInInputStream="surrogate-in-input-stream",A.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",A.endTagWithAttributes="end-tag-with-attributes",A.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",A.unexpectedSolidusInTag="unexpected-solidus-in-tag",A.unexpectedNullCharacter="unexpected-null-character",A.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",A.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",A.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",A.missingEndTagName="missing-end-tag-name",A.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",A.unknownNamedCharacterReference="unknown-named-character-reference",A.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",A.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",A.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",A.eofBeforeTagName="eof-before-tag-name",A.eofInTag="eof-in-tag",A.missingAttributeValue="missing-attribute-value",A.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",A.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",A.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",A.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",A.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",A.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",A.missingDoctypePublicIdentifier="missing-doctype-public-identifier",A.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",A.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",A.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",A.cdataInHtmlContent="cdata-in-html-content",A.incorrectlyOpenedComment="incorrectly-opened-comment",A.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",A.eofInDoctype="eof-in-doctype",A.nestedComment="nested-comment",A.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",A.eofInComment="eof-in-comment",A.incorrectlyClosedComment="incorrectly-closed-comment",A.eofInCdata="eof-in-cdata",A.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",A.nullCharacterReference="null-character-reference",A.surrogateCharacterReference="surrogate-character-reference",A.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",A.controlCharacterReference="control-character-reference",A.noncharacterCharacterReference="noncharacter-character-reference",A.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",A.missingDoctypeName="missing-doctype-name",A.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",A.duplicateAttribute="duplicate-attribute",A.nonConformingDoctype="non-conforming-doctype",A.missingDoctype="missing-doctype",A.misplacedDoctype="misplaced-doctype",A.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",A.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",A.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",A.openElementsLeftAfterEof="open-elements-left-after-eof",A.abandonedHeadElementChild="abandoned-head-element-child",A.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",A.nestedNoscriptInHead="nested-noscript-in-head",A.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(U||(U={}));const Fh=65536;class Ih{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Fh,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:r,col:n,offset:a}=this,i=n+t,o=a+t;return{code:e,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(Uh(t))return this.pos++,this._addGap(),Qh(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,B.EOF;return this._err(U.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let r=0;r<e.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==e.charCodeAt(r))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;const r=this.html.charCodeAt(t);return r===B.CARRIAGE_RETURN?B.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;let e=this.html.charCodeAt(this.pos);return e===B.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,B.LINE_FEED):e===B.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Fo(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===B.LINE_FEED||e===B.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Io(e)?this._err(U.controlCharacterInInputStream):yo(e)&&this._err(U.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var rA;(function(A){A[A.CHARACTER=0]="CHARACTER",A[A.NULL_CHARACTER=1]="NULL_CHARACTER",A[A.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",A[A.START_TAG=3]="START_TAG",A[A.END_TAG=4]="END_TAG",A[A.COMMENT=5]="COMMENT",A[A.DOCTYPE=6]="DOCTYPE",A[A.EOF=7]="EOF",A[A.HIBERNATION=8]="HIBERNATION"})(rA||(rA={}));function xo(A,e){for(let t=A.attrs.length-1;t>=0;t--)if(A.attrs[t].name===e)return A.attrs[t].value;return null}var I;(function(A){A.HTML="http://www.w3.org/1999/xhtml",A.MATHML="http://www.w3.org/1998/Math/MathML",A.SVG="http://www.w3.org/2000/svg",A.XLINK="http://www.w3.org/1999/xlink",A.XML="http://www.w3.org/XML/1998/namespace",A.XMLNS="http://www.w3.org/2000/xmlns/"})(I||(I={}));var ot;(function(A){A.TYPE="type",A.ACTION="action",A.ENCODING="encoding",A.PROMPT="prompt",A.NAME="name",A.COLOR="color",A.FACE="face",A.SIZE="size"})(ot||(ot={}));var re;(function(A){A.NO_QUIRKS="no-quirks",A.QUIRKS="quirks",A.LIMITED_QUIRKS="limited-quirks"})(re||(re={}));var w;(function(A){A.A="a",A.ADDRESS="address",A.ANNOTATION_XML="annotation-xml",A.APPLET="applet",A.AREA="area",A.ARTICLE="article",A.ASIDE="aside",A.B="b",A.BASE="base",A.BASEFONT="basefont",A.BGSOUND="bgsound",A.BIG="big",A.BLOCKQUOTE="blockquote",A.BODY="body",A.BR="br",A.BUTTON="button",A.CAPTION="caption",A.CENTER="center",A.CODE="code",A.COL="col",A.COLGROUP="colgroup",A.DD="dd",A.DESC="desc",A.DETAILS="details",A.DIALOG="dialog",A.DIR="dir",A.DIV="div",A.DL="dl",A.DT="dt",A.EM="em",A.EMBED="embed",A.FIELDSET="fieldset",A.FIGCAPTION="figcaption",A.FIGURE="figure",A.FONT="font",A.FOOTER="footer",A.FOREIGN_OBJECT="foreignObject",A.FORM="form",A.FRAME="frame",A.FRAMESET="frameset",A.H1="h1",A.H2="h2",A.H3="h3",A.H4="h4",A.H5="h5",A.H6="h6",A.HEAD="head",A.HEADER="header",A.HGROUP="hgroup",A.HR="hr",A.HTML="html",A.I="i",A.IMG="img",A.IMAGE="image",A.INPUT="input",A.IFRAME="iframe",A.KEYGEN="keygen",A.LABEL="label",A.LI="li",A.LINK="link",A.LISTING="listing",A.MAIN="main",A.MALIGNMARK="malignmark",A.MARQUEE="marquee",A.MATH="math",A.MENU="menu",A.META="meta",A.MGLYPH="mglyph",A.MI="mi",A.MO="mo",A.MN="mn",A.MS="ms",A.MTEXT="mtext",A.NAV="nav",A.NOBR="nobr",A.NOFRAMES="noframes",A.NOEMBED="noembed",A.NOSCRIPT="noscript",A.OBJECT="object",A.OL="ol",A.OPTGROUP="optgroup",A.OPTION="option",A.P="p",A.PARAM="param",A.PLAINTEXT="plaintext",A.PRE="pre",A.RB="rb",A.RP="rp",A.RT="rt",A.RTC="rtc",A.RUBY="ruby",A.S="s",A.SCRIPT="script",A.SEARCH="search",A.SECTION="section",A.SELECT="select",A.SOURCE="source",A.SMALL="small",A.SPAN="span",A.STRIKE="strike",A.STRONG="strong",A.STYLE="style",A.SUB="sub",A.SUMMARY="summary",A.SUP="sup",A.TABLE="table",A.TBODY="tbody",A.TEMPLATE="template",A.TEXTAREA="textarea",A.TFOOT="tfoot",A.TD="td",A.TH="th",A.THEAD="thead",A.TITLE="title",A.TR="tr",A.TRACK="track",A.TT="tt",A.U="u",A.UL="ul",A.SVG="svg",A.VAR="var",A.WBR="wbr",A.XMP="xmp"})(w||(w={}));var s;(function(A){A[A.UNKNOWN=0]="UNKNOWN",A[A.A=1]="A",A[A.ADDRESS=2]="ADDRESS",A[A.ANNOTATION_XML=3]="ANNOTATION_XML",A[A.APPLET=4]="APPLET",A[A.AREA=5]="AREA",A[A.ARTICLE=6]="ARTICLE",A[A.ASIDE=7]="ASIDE",A[A.B=8]="B",A[A.BASE=9]="BASE",A[A.BASEFONT=10]="BASEFONT",A[A.BGSOUND=11]="BGSOUND",A[A.BIG=12]="BIG",A[A.BLOCKQUOTE=13]="BLOCKQUOTE",A[A.BODY=14]="BODY",A[A.BR=15]="BR",A[A.BUTTON=16]="BUTTON",A[A.CAPTION=17]="CAPTION",A[A.CENTER=18]="CENTER",A[A.CODE=19]="CODE",A[A.COL=20]="COL",A[A.COLGROUP=21]="COLGROUP",A[A.DD=22]="DD",A[A.DESC=23]="DESC",A[A.DETAILS=24]="DETAILS",A[A.DIALOG=25]="DIALOG",A[A.DIR=26]="DIR",A[A.DIV=27]="DIV",A[A.DL=28]="DL",A[A.DT=29]="DT",A[A.EM=30]="EM",A[A.EMBED=31]="EMBED",A[A.FIELDSET=32]="FIELDSET",A[A.FIGCAPTION=33]="FIGCAPTION",A[A.FIGURE=34]="FIGURE",A[A.FONT=35]="FONT",A[A.FOOTER=36]="FOOTER",A[A.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",A[A.FORM=38]="FORM",A[A.FRAME=39]="FRAME",A[A.FRAMESET=40]="FRAMESET",A[A.H1=41]="H1",A[A.H2=42]="H2",A[A.H3=43]="H3",A[A.H4=44]="H4",A[A.H5=45]="H5",A[A.H6=46]="H6",A[A.HEAD=47]="HEAD",A[A.HEADER=48]="HEADER",A[A.HGROUP=49]="HGROUP",A[A.HR=50]="HR",A[A.HTML=51]="HTML",A[A.I=52]="I",A[A.IMG=53]="IMG",A[A.IMAGE=54]="IMAGE",A[A.INPUT=55]="INPUT",A[A.IFRAME=56]="IFRAME",A[A.KEYGEN=57]="KEYGEN",A[A.LABEL=58]="LABEL",A[A.LI=59]="LI",A[A.LINK=60]="LINK",A[A.LISTING=61]="LISTING",A[A.MAIN=62]="MAIN",A[A.MALIGNMARK=63]="MALIGNMARK",A[A.MARQUEE=64]="MARQUEE",A[A.MATH=65]="MATH",A[A.MENU=66]="MENU",A[A.META=67]="META",A[A.MGLYPH=68]="MGLYPH",A[A.MI=69]="MI",A[A.MO=70]="MO",A[A.MN=71]="MN",A[A.MS=72]="MS",A[A.MTEXT=73]="MTEXT",A[A.NAV=74]="NAV",A[A.NOBR=75]="NOBR",A[A.NOFRAMES=76]="NOFRAMES",A[A.NOEMBED=77]="NOEMBED",A[A.NOSCRIPT=78]="NOSCRIPT",A[A.OBJECT=79]="OBJECT",A[A.OL=80]="OL",A[A.OPTGROUP=81]="OPTGROUP",A[A.OPTION=82]="OPTION",A[A.P=83]="P",A[A.PARAM=84]="PARAM",A[A.PLAINTEXT=85]="PLAINTEXT",A[A.PRE=86]="PRE",A[A.RB=87]="RB",A[A.RP=88]="RP",A[A.RT=89]="RT",A[A.RTC=90]="RTC",A[A.RUBY=91]="RUBY",A[A.S=92]="S",A[A.SCRIPT=93]="SCRIPT",A[A.SEARCH=94]="SEARCH",A[A.SECTION=95]="SECTION",A[A.SELECT=96]="SELECT",A[A.SOURCE=97]="SOURCE",A[A.SMALL=98]="SMALL",A[A.SPAN=99]="SPAN",A[A.STRIKE=100]="STRIKE",A[A.STRONG=101]="STRONG",A[A.STYLE=102]="STYLE",A[A.SUB=103]="SUB",A[A.SUMMARY=104]="SUMMARY",A[A.SUP=105]="SUP",A[A.TABLE=106]="TABLE",A[A.TBODY=107]="TBODY",A[A.TEMPLATE=108]="TEMPLATE",A[A.TEXTAREA=109]="TEXTAREA",A[A.TFOOT=110]="TFOOT",A[A.TD=111]="TD",A[A.TH=112]="TH",A[A.THEAD=113]="THEAD",A[A.TITLE=114]="TITLE",A[A.TR=115]="TR",A[A.TRACK=116]="TRACK",A[A.TT=117]="TT",A[A.U=118]="U",A[A.UL=119]="UL",A[A.SVG=120]="SVG",A[A.VAR=121]="VAR",A[A.WBR=122]="WBR",A[A.XMP=123]="XMP"})(s||(s={}));const yh=new Map([[w.A,s.A],[w.ADDRESS,s.ADDRESS],[w.ANNOTATION_XML,s.ANNOTATION_XML],[w.APPLET,s.APPLET],[w.AREA,s.AREA],[w.ARTICLE,s.ARTICLE],[w.ASIDE,s.ASIDE],[w.B,s.B],[w.BASE,s.BASE],[w.BASEFONT,s.BASEFONT],[w.BGSOUND,s.BGSOUND],[w.BIG,s.BIG],[w.BLOCKQUOTE,s.BLOCKQUOTE],[w.BODY,s.BODY],[w.BR,s.BR],[w.BUTTON,s.BUTTON],[w.CAPTION,s.CAPTION],[w.CENTER,s.CENTER],[w.CODE,s.CODE],[w.COL,s.COL],[w.COLGROUP,s.COLGROUP],[w.DD,s.DD],[w.DESC,s.DESC],[w.DETAILS,s.DETAILS],[w.DIALOG,s.DIALOG],[w.DIR,s.DIR],[w.DIV,s.DIV],[w.DL,s.DL],[w.DT,s.DT],[w.EM,s.EM],[w.EMBED,s.EMBED],[w.FIELDSET,s.FIELDSET],[w.FIGCAPTION,s.FIGCAPTION],[w.FIGURE,s.FIGURE],[w.FONT,s.FONT],[w.FOOTER,s.FOOTER],[w.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[w.FORM,s.FORM],[w.FRAME,s.FRAME],[w.FRAMESET,s.FRAMESET],[w.H1,s.H1],[w.H2,s.H2],[w.H3,s.H3],[w.H4,s.H4],[w.H5,s.H5],[w.H6,s.H6],[w.HEAD,s.HEAD],[w.HEADER,s.HEADER],[w.HGROUP,s.HGROUP],[w.HR,s.HR],[w.HTML,s.HTML],[w.I,s.I],[w.IMG,s.IMG],[w.IMAGE,s.IMAGE],[w.INPUT,s.INPUT],[w.IFRAME,s.IFRAME],[w.KEYGEN,s.KEYGEN],[w.LABEL,s.LABEL],[w.LI,s.LI],[w.LINK,s.LINK],[w.LISTING,s.LISTING],[w.MAIN,s.MAIN],[w.MALIGNMARK,s.MALIGNMARK],[w.MARQUEE,s.MARQUEE],[w.MATH,s.MATH],[w.MENU,s.MENU],[w.META,s.META],[w.MGLYPH,s.MGLYPH],[w.MI,s.MI],[w.MO,s.MO],[w.MN,s.MN],[w.MS,s.MS],[w.MTEXT,s.MTEXT],[w.NAV,s.NAV],[w.NOBR,s.NOBR],[w.NOFRAMES,s.NOFRAMES],[w.NOEMBED,s.NOEMBED],[w.NOSCRIPT,s.NOSCRIPT],[w.OBJECT,s.OBJECT],[w.OL,s.OL],[w.OPTGROUP,s.OPTGROUP],[w.OPTION,s.OPTION],[w.P,s.P],[w.PARAM,s.PARAM],[w.PLAINTEXT,s.PLAINTEXT],[w.PRE,s.PRE],[w.RB,s.RB],[w.RP,s.RP],[w.RT,s.RT],[w.RTC,s.RTC],[w.RUBY,s.RUBY],[w.S,s.S],[w.SCRIPT,s.SCRIPT],[w.SEARCH,s.SEARCH],[w.SECTION,s.SECTION],[w.SELECT,s.SELECT],[w.SOURCE,s.SOURCE],[w.SMALL,s.SMALL],[w.SPAN,s.SPAN],[w.STRIKE,s.STRIKE],[w.STRONG,s.STRONG],[w.STYLE,s.STYLE],[w.SUB,s.SUB],[w.SUMMARY,s.SUMMARY],[w.SUP,s.SUP],[w.TABLE,s.TABLE],[w.TBODY,s.TBODY],[w.TEMPLATE,s.TEMPLATE],[w.TEXTAREA,s.TEXTAREA],[w.TFOOT,s.TFOOT],[w.TD,s.TD],[w.TH,s.TH],[w.THEAD,s.THEAD],[w.TITLE,s.TITLE],[w.TR,s.TR],[w.TRACK,s.TRACK],[w.TT,s.TT],[w.U,s.U],[w.UL,s.UL],[w.SVG,s.SVG],[w.VAR,s.VAR],[w.WBR,s.WBR],[w.XMP,s.XMP]]);function sn(A){var e;return(e=yh.get(A))!==null&&e!==void 0?e:s.UNKNOWN}const S=s,xh={[I.HTML]:new Set([S.ADDRESS,S.APPLET,S.AREA,S.ARTICLE,S.ASIDE,S.BASE,S.BASEFONT,S.BGSOUND,S.BLOCKQUOTE,S.BODY,S.BR,S.BUTTON,S.CAPTION,S.CENTER,S.COL,S.COLGROUP,S.DD,S.DETAILS,S.DIR,S.DIV,S.DL,S.DT,S.EMBED,S.FIELDSET,S.FIGCAPTION,S.FIGURE,S.FOOTER,S.FORM,S.FRAME,S.FRAMESET,S.H1,S.H2,S.H3,S.H4,S.H5,S.H6,S.HEAD,S.HEADER,S.HGROUP,S.HR,S.HTML,S.IFRAME,S.IMG,S.INPUT,S.LI,S.LINK,S.LISTING,S.MAIN,S.MARQUEE,S.MENU,S.META,S.NAV,S.NOEMBED,S.NOFRAMES,S.NOSCRIPT,S.OBJECT,S.OL,S.P,S.PARAM,S.PLAINTEXT,S.PRE,S.SCRIPT,S.SECTION,S.SELECT,S.SOURCE,S.STYLE,S.SUMMARY,S.TABLE,S.TBODY,S.TD,S.TEMPLATE,S.TEXTAREA,S.TFOOT,S.TH,S.THEAD,S.TITLE,S.TR,S.TRACK,S.UL,S.WBR,S.XMP]),[I.MATHML]:new Set([S.MI,S.MO,S.MN,S.MS,S.MTEXT,S.ANNOTATION_XML]),[I.SVG]:new Set([S.TITLE,S.FOREIGN_OBJECT,S.DESC]),[I.XLINK]:new Set,[I.XML]:new Set,[I.XMLNS]:new Set},$a=new Set([S.H1,S.H2,S.H3,S.H4,S.H5,S.H6]),vh=new Set([w.STYLE,w.SCRIPT,w.XMP,w.IFRAME,w.NOEMBED,w.NOFRAMES,w.PLAINTEXT]);function _h(A,e){return vh.has(A)||e&&A===w.NOSCRIPT}var g;(function(A){A[A.DATA=0]="DATA",A[A.RCDATA=1]="RCDATA",A[A.RAWTEXT=2]="RAWTEXT",A[A.SCRIPT_DATA=3]="SCRIPT_DATA",A[A.PLAINTEXT=4]="PLAINTEXT",A[A.TAG_OPEN=5]="TAG_OPEN",A[A.END_TAG_OPEN=6]="END_TAG_OPEN",A[A.TAG_NAME=7]="TAG_NAME",A[A.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",A[A.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",A[A.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",A[A.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",A[A.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",A[A.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",A[A.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",A[A.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",A[A.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",A[A.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",A[A.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",A[A.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",A[A.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",A[A.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",A[A.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",A[A.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",A[A.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",A[A.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",A[A.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",A[A.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",A[A.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",A[A.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",A[A.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",A[A.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",A[A.BOGUS_COMMENT=40]="BOGUS_COMMENT",A[A.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",A[A.COMMENT_START=42]="COMMENT_START",A[A.COMMENT_START_DASH=43]="COMMENT_START_DASH",A[A.COMMENT=44]="COMMENT",A[A.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",A[A.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",A[A.COMMENT_END_DASH=49]="COMMENT_END_DASH",A[A.COMMENT_END=50]="COMMENT_END",A[A.COMMENT_END_BANG=51]="COMMENT_END_BANG",A[A.DOCTYPE=52]="DOCTYPE",A[A.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",A[A.DOCTYPE_NAME=54]="DOCTYPE_NAME",A[A.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",A[A.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",A[A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",A[A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",A[A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",A[A.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",A[A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",A[A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",A[A.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",A[A.CDATA_SECTION=68]="CDATA_SECTION",A[A.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",A[A.CDATA_SECTION_END=70]="CDATA_SECTION_END",A[A.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",A[A.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(g||(g={}));const ZA={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function Nh(A){return A>=B.DIGIT_0&&A<=B.DIGIT_9}function rr(A){return A>=B.LATIN_CAPITAL_A&&A<=B.LATIN_CAPITAL_Z}function Sh(A){return A>=B.LATIN_SMALL_A&&A<=B.LATIN_SMALL_Z}function ke(A){return Sh(A)||rr(A)}function vo(A){return ke(A)||Nh(A)}function on(A){return A+32}function _o(A){return A===B.SPACE||A===B.LINE_FEED||A===B.TABULATION||A===B.FORM_FEED}function No(A){return _o(A)||A===B.SOLIDUS||A===B.GREATER_THAN_SIGN}function Lh(A){return A===B.NULL?U.nullCharacterReference:A>1114111?U.characterReferenceOutsideUnicodeRange:Fo(A)?U.surrogateCharacterReference:yo(A)?U.noncharacterCharacterReference:Io(A)||A===B.CARRIAGE_RETURN?U.controlCharacterReference:null}let Hh=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ih(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Fa(ba,(r,n)=>{this.preprocessor.pos=this.entityStartPos+n-1,this._flushCodePointConsumedAsCharacterReference(r)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(U.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(U.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const n=Lh(r);n&&this._err(n,1)}}:void 0)}_err(e,t=0){var r,n;(n=(r=this.handler).onParseError)===null||n===void 0||n.call(r,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:rA.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:rA.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:rA.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:rA.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const r=this.currentToken;if(xo(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const n=(e=(t=r.location).attrs)!==null&&e!==void 0?e:t.attrs=Object.create(null);n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(U.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=sn(e.tagName),e.type===rA.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(U.endTagWithAttributes),e.selfClosing&&this._err(U.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case rA.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case rA.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case rA.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:rA.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){const t=_o(e)?rA.WHITESPACE_CHARACTER:e===B.NULL?rA.NULL_CHARACTER:rA.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(rA.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=g.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ie.Attribute:ie.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case g.DATA:{this._stateData(e);break}case g.RCDATA:{this._stateRcdata(e);break}case g.RAWTEXT:{this._stateRawtext(e);break}case g.SCRIPT_DATA:{this._stateScriptData(e);break}case g.PLAINTEXT:{this._statePlaintext(e);break}case g.TAG_OPEN:{this._stateTagOpen(e);break}case g.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case g.TAG_NAME:{this._stateTagName(e);break}case g.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case g.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case g.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case g.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case g.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case g.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case g.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case g.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case g.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case g.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case g.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case g.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case g.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case g.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case g.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case g.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case g.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case g.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case g.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case g.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case g.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case g.BOGUS_COMMENT:{this._stateBogusComment(e);break}case g.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case g.COMMENT_START:{this._stateCommentStart(e);break}case g.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case g.COMMENT:{this._stateComment(e);break}case g.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case g.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case g.COMMENT_END:{this._stateCommentEnd(e);break}case g.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case g.DOCTYPE:{this._stateDoctype(e);break}case g.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case g.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case g.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case g.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case g.CDATA_SECTION:{this._stateCdataSection(e);break}case g.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case g.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case g.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case g.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.TAG_OPEN;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitCodePoint(e);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case B.AMPERSAND:{this._startCharacterReference();break}case B.LESS_THAN_SIGN:{this.state=g.RCDATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.RAWTEXT_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(ke(e))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.EXCLAMATION_MARK:{this.state=g.MARKUP_DECLARATION_OPEN;break}case B.SOLIDUS:{this.state=g.END_TAG_OPEN;break}case B.QUESTION_MARK:{this._err(U.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e);break}case B.EOF:{this._err(U.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(U.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(ke(e))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.GREATER_THAN_SIGN:{this._err(U.missingEndTagName),this.state=g.DATA;break}case B.EOF:{this._err(U.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(U.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.tagName+=gA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:t.tagName+=String.fromCodePoint(rr(e)?on(e):e)}}_stateRcdataLessThanSign(e){e===B.SOLIDUS?this.state=g.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){ke(e)?(this.state=g.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=g.BEFORE_ATTRIBUTE_NAME,!1;case B.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=g.SELF_CLOSING_START_TAG,!1;case B.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=g.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===B.SOLIDUS?this.state=g.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){ke(e)?(this.state=g.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case B.SOLIDUS:{this.state=g.SCRIPT_DATA_END_TAG_OPEN;break}case B.EXCLAMATION_MARK:{this.state=g.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=g.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){ke(e)?(this.state=g.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===B.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ke(e)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){ke(e)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith($A.SCRIPT,!1)&&No(this.preprocessor.peek($A.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<$A.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===B.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith($A.SCRIPT,!1)&&No(this.preprocessor.peek($A.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<$A.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._err(U.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=g.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this._leaveAttrName(),this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._leaveAttrName(),this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:{this._err(U.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.name+=gA;break}default:this.currentAttr.name+=String.fromCodePoint(rr(e)?on(e):e)}}_stateAfterAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.EQUALS_SIGN:{this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{this.state=g.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this.state=g.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingAttributeValue),this.state=g.DATA,this.emitCurrentTagToken();break}default:this.state=g.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=gA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case B.APOSTROPHE:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=gA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=gA;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:case B.EQUALS_SIGN:case B.GRAVE_ACCENT:{this._err(U.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this._leaveAttrValue(),this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._err(U.missingWhitespaceBetweenAttributes),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case B.GREATER_THAN_SIGN:{const t=this.currentToken;t.selfClosing=!0,this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._err(U.unexpectedSolidusInTag),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this.emitCurrentComment(t),this._emitEOFToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.data+=gA;break}default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch($A.DASH_DASH,!0)?(this._createCommentToken($A.DASH_DASH.length+1),this.state=g.COMMENT_START):this._consumeSequenceIfMatch($A.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation($A.DOCTYPE.length+1),this.state=g.DOCTYPE):this._consumeSequenceIfMatch($A.CDATA_START,!0)?this.inForeignNode?this.state=g.CDATA_SECTION:(this._err(U.cdataInHtmlContent),this._createCommentToken($A.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=g.BOGUS_COMMENT):this._ensureHibernation()||(this._err(U.incorrectlyOpenedComment),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_START_DASH;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptClosingOfEmptyComment),this.state=g.DATA;const t=this.currentToken;this.emitCurrentComment(t);break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptClosingOfEmptyComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END_DASH;break}case B.LESS_THAN_SIGN:{t.data+="<",this.state=g.COMMENT_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.data+=gA;break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case B.EXCLAMATION_MARK:{t.data+="!",this.state=g.COMMENT_LESS_THAN_SIGN_BANG;break}case B.LESS_THAN_SIGN:{t.data+="<";break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=g.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=g.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==B.GREATER_THAN_SIGN&&e!==B.EOF&&this._err(U.nestedComment),this.state=g.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EXCLAMATION_MARK:{this.state=g.COMMENT_END_BANG;break}case B.HYPHEN_MINUS:{t.data+="-";break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{t.data+="--!",this.state=g.COMMENT_END_DASH;break}case B.GREATER_THAN_SIGN:{this._err(U.incorrectlyClosedComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--!",this.state=g.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case B.EOF:{this._err(U.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingWhitespaceBeforeDoctypeName),this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(rr(e))this._createDoctypeToken(String.fromCharCode(on(e))),this.state=g.DOCTYPE_NAME;else switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.NULL:{this._err(U.unexpectedNullCharacter),this._createDoctypeToken(gA),this.state=g.DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeName),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=g.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.AFTER_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.name+=gA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.name+=String.fromCodePoint(rr(e)?on(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._consumeSequenceIfMatch($A.PUBLIC,!1)?this.state=g.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch($A.SYSTEM,!1)?this.state=g.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(U.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.publicId+=gA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.publicId+=gA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.systemId+=gA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.systemId+=gA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.NULL:{this._err(U.unexpectedNullCharacter);break}case B.EOF:{this.emitCurrentDoctype(t),this._emitEOFToken();break}}}_stateCdataSection(e){switch(e){case B.RIGHT_SQUARE_BRACKET:{this.state=g.CDATA_SECTION_BRACKET;break}case B.EOF:{this._err(U.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===B.RIGHT_SQUARE_BRACKET?this.state=g.CDATA_SECTION_END:(this._emitChars("]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA;break}case B.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(B.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&vo(this.preprocessor.peek(1))?g.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){vo(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===B.SEMICOLON&&this._err(U.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}};const So=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),Lo=new Set([...So,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),un=new Set([s.APPLET,s.CAPTION,s.HTML,s.MARQUEE,s.OBJECT,s.TABLE,s.TD,s.TEMPLATE,s.TH]),Dh=new Set([...un,s.OL,s.UL]),Oh=new Set([...un,s.BUTTON]),Ho=new Set([s.ANNOTATION_XML,s.MI,s.MN,s.MO,s.MS,s.MTEXT]),Do=new Set([s.DESC,s.FOREIGN_OBJECT,s.TITLE]),Rh=new Set([s.TR,s.TEMPLATE,s.HTML]),Mh=new Set([s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML]),kh=new Set([s.TABLE,s.TEMPLATE,s.HTML]),Ph=new Set([s.TD,s.TH]);class Kh{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===I.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){const n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==I.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped($a,I.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Ph,I.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let r=this.stackTop;r>=0;r--)if(e.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return-1}clearBackTo(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(kh,I.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Mh,I.HTML)}clearBackToTableRowContext(){this.clearBackTo(Rh,I.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInDynamicScope(e,t){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case I.HTML:{if(n===e)return!0;if(t.has(n))return!1;break}case I.SVG:{if(Do.has(n))return!1;break}case I.MATHML:{if(Ho.has(n))return!1;break}}}return!0}hasInScope(e){return this.hasInDynamicScope(e,un)}hasInListItemScope(e){return this.hasInDynamicScope(e,Dh)}hasInButtonScope(e){return this.hasInDynamicScope(e,Oh)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case I.HTML:{if($a.has(t))return!0;if(un.has(t))return!1;break}case I.SVG:{if(Do.has(t))return!1;break}case I.MATHML:{if(Ho.has(t))return!1;break}}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===I.HTML)switch(this.tagIDs[t]){case e:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===I.HTML)switch(this.tagIDs[e]){case s.TBODY:case s.THEAD:case s.TFOOT:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===I.HTML)switch(this.tagIDs[t]){case e:return!0;case s.OPTION:case s.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;So.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Lo.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&Lo.has(this.currentTagId);)this.pop()}}const Za=3;var we;(function(A){A[A.Marker=0]="Marker",A[A.Element=1]="Element"})(we||(we={}));const Oo={type:we.Marker};class Vh{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const r=[],n=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let o=0;o<this.entries.length;o++){const u=this.entries[o];if(u.type===we.Marker)break;const{element:l}=u;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===i){const d=this.treeAdapter.getAttrList(l);d.length===n&&r.push({idx:o,attrs:d})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<Za)return;const t=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,t);if(r.length<Za)return;const n=new Map(t.map(i=>[i.name,i.value]));let a=0;for(let i=0;i<r.length;i++){const o=r[i];o.attrs.every(u=>n.get(u.name)===u.value)&&(a+=1,a>=Za&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Oo)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:we.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:we.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(Oo);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find(r=>r.type===we.Marker||this.treeAdapter.getTagName(r.element)===e);return t&&t.type===we.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===we.Element&&t.element===e)}}const xe={createDocument(){return{nodeName:"#document",mode:re.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(A,e,t){return{nodeName:A,tagName:A,attrs:t,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(A){return{nodeName:"#comment",data:A,parentNode:null}},createTextNode(A){return{nodeName:"#text",value:A,parentNode:null}},appendChild(A,e){A.childNodes.push(e),e.parentNode=A},insertBefore(A,e,t){const r=A.childNodes.indexOf(t);A.childNodes.splice(r,0,e),e.parentNode=A},setTemplateContent(A,e){A.content=e},getTemplateContent(A){return A.content},setDocumentType(A,e,t,r){const n=A.childNodes.find(a=>a.nodeName==="#documentType");if(n)n.name=e,n.publicId=t,n.systemId=r;else{const a={nodeName:"#documentType",name:e,publicId:t,systemId:r,parentNode:null};xe.appendChild(A,a)}},setDocumentMode(A,e){A.mode=e},getDocumentMode(A){return A.mode},detachNode(A){if(A.parentNode){const e=A.parentNode.childNodes.indexOf(A);A.parentNode.childNodes.splice(e,1),A.parentNode=null}},insertText(A,e){if(A.childNodes.length>0){const t=A.childNodes[A.childNodes.length-1];if(xe.isTextNode(t)){t.value+=e;return}}xe.appendChild(A,xe.createTextNode(e))},insertTextBefore(A,e,t){const r=A.childNodes[A.childNodes.indexOf(t)-1];r&&xe.isTextNode(r)?r.value+=e:xe.insertBefore(A,xe.createTextNode(e),t)},adoptAttributes(A,e){const t=new Set(A.attrs.map(r=>r.name));for(let r=0;r<e.length;r++)t.has(e[r].name)||A.attrs.push(e[r])},getFirstChild(A){return A.childNodes[0]},getChildNodes(A){return A.childNodes},getParentNode(A){return A.parentNode},getAttrList(A){return A.attrs},getTagName(A){return A.tagName},getNamespaceURI(A){return A.namespaceURI},getTextNodeContent(A){return A.value},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){return A.name},getDocumentTypeNodePublicId(A){return A.publicId},getDocumentTypeNodeSystemId(A){return A.systemId},isTextNode(A){return A.nodeName==="#text"},isCommentNode(A){return A.nodeName==="#comment"},isDocumentTypeNode(A){return A.nodeName==="#documentType"},isElementNode(A){return Object.prototype.hasOwnProperty.call(A,"tagName")},setNodeSourceCodeLocation(A,e){A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){A.sourceCodeLocation={...A.sourceCodeLocation,...e}}},Ro="html",Gh="about:legacy-compat",Yh="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Mo=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Xh=[...Mo,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Wh=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ko=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Jh=[...ko,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Po(A,e){return e.some(t=>A.startsWith(t))}function qh(A){return A.name===Ro&&A.publicId===null&&(A.systemId===null||A.systemId===Gh)}function jh(A){if(A.name!==Ro)return re.QUIRKS;const{systemId:e}=A;if(e&&e.toLowerCase()===Yh)return re.QUIRKS;let{publicId:t}=A;if(t!==null){if(t=t.toLowerCase(),Wh.has(t))return re.QUIRKS;let r=e===null?Xh:Mo;if(Po(t,r))return re.QUIRKS;if(r=e===null?ko:Jh,Po(t,r))return re.LIMITED_QUIRKS}return re.NO_QUIRKS}const Ko={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},zh="definitionurl",$h="definitionURL",Zh=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(A=>[A.toLowerCase(),A])),AB=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:I.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:I.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:I.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:I.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:I.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:I.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:I.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:I.XML}],["xml:space",{prefix:"xml",name:"space",namespace:I.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:I.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:I.XMLNS}]]),eB=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(A=>[A.toLowerCase(),A])),tB=new Set([s.B,s.BIG,s.BLOCKQUOTE,s.BODY,s.BR,s.CENTER,s.CODE,s.DD,s.DIV,s.DL,s.DT,s.EM,s.EMBED,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HR,s.I,s.IMG,s.LI,s.LISTING,s.MENU,s.META,s.NOBR,s.OL,s.P,s.PRE,s.RUBY,s.S,s.SMALL,s.SPAN,s.STRONG,s.STRIKE,s.SUB,s.SUP,s.TABLE,s.TT,s.U,s.UL,s.VAR]);function rB(A){const e=A.tagID;return e===s.FONT&&A.attrs.some(({name:r})=>r===ot.COLOR||r===ot.SIZE||r===ot.FACE)||tB.has(e)}function Vo(A){for(let e=0;e<A.attrs.length;e++)if(A.attrs[e].name===zh){A.attrs[e].name=$h;break}}function Go(A){for(let e=0;e<A.attrs.length;e++){const t=Zh.get(A.attrs[e].name);t!=null&&(A.attrs[e].name=t)}}function Ai(A){for(let e=0;e<A.attrs.length;e++){const t=AB.get(A.attrs[e].name);t&&(A.attrs[e].prefix=t.prefix,A.attrs[e].name=t.name,A.attrs[e].namespace=t.namespace)}}function nB(A){const e=eB.get(A.tagName);e!=null&&(A.tagName=e,A.tagID=sn(A.tagName))}function aB(A,e){return e===I.MATHML&&(A===s.MI||A===s.MO||A===s.MN||A===s.MS||A===s.MTEXT)}function iB(A,e,t){if(e===I.MATHML&&A===s.ANNOTATION_XML){for(let r=0;r<t.length;r++)if(t[r].name===ot.ENCODING){const n=t[r].value.toLowerCase();return n===Ko.TEXT_HTML||n===Ko.APPLICATION_XML}}return e===I.SVG&&(A===s.FOREIGN_OBJECT||A===s.DESC||A===s.TITLE)}function sB(A,e,t,r){return(!r||r===I.HTML)&&iB(A,e,t)||(!r||r===I.MATHML)&&aB(A,e)}const oB="hidden",uB=8,cB=3;var p;(function(A){A[A.INITIAL=0]="INITIAL",A[A.BEFORE_HTML=1]="BEFORE_HTML",A[A.BEFORE_HEAD=2]="BEFORE_HEAD",A[A.IN_HEAD=3]="IN_HEAD",A[A.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",A[A.AFTER_HEAD=5]="AFTER_HEAD",A[A.IN_BODY=6]="IN_BODY",A[A.TEXT=7]="TEXT",A[A.IN_TABLE=8]="IN_TABLE",A[A.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",A[A.IN_CAPTION=10]="IN_CAPTION",A[A.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",A[A.IN_TABLE_BODY=12]="IN_TABLE_BODY",A[A.IN_ROW=13]="IN_ROW",A[A.IN_CELL=14]="IN_CELL",A[A.IN_SELECT=15]="IN_SELECT",A[A.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",A[A.IN_TEMPLATE=17]="IN_TEMPLATE",A[A.AFTER_BODY=18]="AFTER_BODY",A[A.IN_FRAMESET=19]="IN_FRAMESET",A[A.AFTER_FRAMESET=20]="AFTER_FRAMESET",A[A.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",A[A.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(p||(p={}));const lB={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Yo=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),Xo={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:xe,onParseError:null};let Wo=class{constructor(e,t,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=p.INITIAL,this.originalInsertionMode=p.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Xo,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new Hh(this.options,this),this.activeFormattingElements=new Vh(this.treeAdapter),this.fragmentContextID=r?sn(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new Kh(this.document,this.treeAdapter,this)}static parse(e,t){const r=new this(t);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,t){const r={...Xo,...t};e??(e=r.treeAdapter.createElement(w.TEMPLATE,I.HTML,[]));const n=r.treeAdapter.createElement("documentmock",I.HTML,[]),a=new this(r,n,e);return a.fragmentContextID===s.TEMPLATE&&a.tmplInsertionModeStack.unshift(p.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,r){var n;if(!this.onParseError)return;const a=(n=e.location)!==null&&n!==void 0?n:lB,i={code:t,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(i)}onItemPush(e,t,r){var n,a;(a=(n=this.treeAdapter).onItemPush)===null||a===void 0||a.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(r=this.treeAdapter).onItemPop)===null||n===void 0||n.call(r,e,this.openElements.current),t){let a,i;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,i=this.fragmentContextID):{current:a,currentTagId:i}=this.openElements,this._setContextModes(a,i)}}_setContextModes(e,t){const r=e===this.document||this.treeAdapter.getNamespaceURI(e)===I.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,I.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=p.TEXT}switchToPlaintextParsing(){this.insertionMode=p.TEXT,this.originalInsertionMode=p.IN_BODY,this.tokenizer.state=ZA.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===w.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==I.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=ZA.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=ZA.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=ZA.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=ZA.PLAINTEXT;break}}}_setDocumentType(e){const t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){const i=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));i&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const r=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,e)}}_appendElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){const r=this.treeAdapter.createElement(e,I.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,I.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(w.HTML,I.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,s.HTML)}_appendCommentNode(e,t){const r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const n=this.treeAdapter.getChildNodes(t),a=r?n.lastIndexOf(r):n.length,i=n[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:u,endCol:l,endOffset:d}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:u,endCol:l,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const r=t.location,n=this.treeAdapter.getTagName(e),a=t.type===rA.END_TAG&&n===t.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,r;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):{current:t,currentTagId:r}=this.openElements,e.tagID===s.SVG&&this.treeAdapter.getTagName(t)===w.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===I.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===s.MGLYPH||e.tagID===s.MALIGNMARK)&&!this._isIntegrationPoint(r,t,I.HTML)}_processToken(e){switch(e.type){case rA.CHARACTER:{this.onCharacter(e);break}case rA.NULL_CHARACTER:{this.onNullCharacter(e);break}case rA.COMMENT:{this.onComment(e);break}case rA.DOCTYPE:{this.onDoctype(e);break}case rA.START_TAG:{this._processStartTag(e);break}case rA.END_TAG:{this.onEndTag(e);break}case rA.EOF:{this.onEof(e);break}case rA.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,t,r){const n=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return sB(e,n,a,r)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex(n=>n.type===we.Marker||this.openElements.contains(n.element)),r=t<0?e-1:t-1;for(let n=r;n>=0;n--){const a=this.activeFormattingElements.entries[n];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=p.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case s.TR:{this.insertionMode=p.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=p.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=p.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=p.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=p.IN_TABLE;return}case s.BODY:{this.insertionMode=p.IN_BODY;return}case s.FRAMESET:{this.insertionMode=p.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(e);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case s.HTML:{this.insertionMode=this.headElement?p.AFTER_HEAD:p.BEFORE_HEAD;return}case s.TD:case s.TH:{if(e>0){this.insertionMode=p.IN_CELL;return}break}case s.HEAD:{if(e>0){this.insertionMode=p.IN_HEAD;return}break}}this.insertionMode=p.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const r=this.openElements.tagIDs[t];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=p.IN_SELECT_IN_TABLE;return}}this.insertionMode=p.IN_SELECT}_isElementCausesFosterParenting(e){return Yo.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(t)===I.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(t);return r?{parent:r,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const r=this.treeAdapter.getNamespaceURI(e);return xh[r].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Pg(this,e);return}switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{ar(this,e);break}case p.BEFORE_HEAD:{ir(this,e);break}case p.IN_HEAD:{sr(this,e);break}case p.IN_HEAD_NO_SCRIPT:{or(this,e);break}case p.AFTER_HEAD:{ur(this,e);break}case p.IN_BODY:case p.IN_CAPTION:case p.IN_CELL:case p.IN_TEMPLATE:{qo(this,e);break}case p.TEXT:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{ni(this,e);break}case p.IN_TABLE_TEXT:{ru(this,e);break}case p.IN_COLUMN_GROUP:{dn(this,e);break}case p.AFTER_BODY:{Bn(this,e);break}case p.AFTER_AFTER_BODY:{gn(this,e);break}}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){kg(this,e);return}switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{ar(this,e);break}case p.BEFORE_HEAD:{ir(this,e);break}case p.IN_HEAD:{sr(this,e);break}case p.IN_HEAD_NO_SCRIPT:{or(this,e);break}case p.AFTER_HEAD:{ur(this,e);break}case p.TEXT:{this._insertCharacters(e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{ni(this,e);break}case p.IN_COLUMN_GROUP:{dn(this,e);break}case p.AFTER_BODY:{Bn(this,e);break}case p.AFTER_AFTER_BODY:{gn(this,e);break}}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){ti(this,e);return}switch(this.insertionMode){case p.INITIAL:case p.BEFORE_HTML:case p.BEFORE_HEAD:case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:case p.IN_BODY:case p.IN_TABLE:case p.IN_CAPTION:case p.IN_COLUMN_GROUP:case p.IN_TABLE_BODY:case p.IN_ROW:case p.IN_CELL:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:case p.IN_TEMPLATE:case p.IN_FRAMESET:case p.AFTER_FRAMESET:{ti(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.AFTER_BODY:{EB(this,e);break}case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{mB(this,e);break}}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case p.INITIAL:{CB(this,e);break}case p.BEFORE_HEAD:case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:{this._err(e,U.misplacedDoctype);break}case p.IN_TABLE_TEXT:{dr(this,e);break}}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,U.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?Kg(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{wB(this,e);break}case p.BEFORE_HEAD:{TB(this,e);break}case p.IN_HEAD:{he(this,e);break}case p.IN_HEAD_NO_SCRIPT:{FB(this,e);break}case p.AFTER_HEAD:{yB(this,e);break}case p.IN_BODY:{GA(this,e);break}case p.IN_TABLE:{Tt(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.IN_CAPTION:{Ug(this,e);break}case p.IN_COLUMN_GROUP:{ai(this,e);break}case p.IN_TABLE_BODY:{fn(this,e);break}case p.IN_ROW:{hn(this,e);break}case p.IN_CELL:{Ig(this,e);break}case p.IN_SELECT:{iu(this,e);break}case p.IN_SELECT_IN_TABLE:{xg(this,e);break}case p.IN_TEMPLATE:{_g(this,e);break}case p.AFTER_BODY:{Sg(this,e);break}case p.IN_FRAMESET:{Lg(this,e);break}case p.AFTER_FRAMESET:{Dg(this,e);break}case p.AFTER_AFTER_BODY:{Rg(this,e);break}case p.AFTER_AFTER_FRAMESET:{Mg(this,e);break}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?Vg(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{bB(this,e);break}case p.BEFORE_HEAD:{UB(this,e);break}case p.IN_HEAD:{QB(this,e);break}case p.IN_HEAD_NO_SCRIPT:{IB(this,e);break}case p.AFTER_HEAD:{xB(this,e);break}case p.IN_BODY:{ln(this,e);break}case p.TEXT:{hg(this,e);break}case p.IN_TABLE:{cr(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.IN_CAPTION:{Qg(this,e);break}case p.IN_COLUMN_GROUP:{Fg(this,e);break}case p.IN_TABLE_BODY:{ii(this,e);break}case p.IN_ROW:{au(this,e);break}case p.IN_CELL:{yg(this,e);break}case p.IN_SELECT:{su(this,e);break}case p.IN_SELECT_IN_TABLE:{vg(this,e);break}case p.IN_TEMPLATE:{Ng(this,e);break}case p.AFTER_BODY:{uu(this,e);break}case p.IN_FRAMESET:{Hg(this,e);break}case p.AFTER_FRAMESET:{Og(this,e);break}case p.AFTER_AFTER_BODY:{gn(this,e);break}}}onEof(e){switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{ar(this,e);break}case p.BEFORE_HEAD:{ir(this,e);break}case p.IN_HEAD:{sr(this,e);break}case p.IN_HEAD_NO_SCRIPT:{or(this,e);break}case p.AFTER_HEAD:{ur(this,e);break}case p.IN_BODY:case p.IN_TABLE:case p.IN_CAPTION:case p.IN_COLUMN_GROUP:case p.IN_TABLE_BODY:case p.IN_ROW:case p.IN_CELL:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:{eu(this,e);break}case p.TEXT:{Bg(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.IN_TEMPLATE:{ou(this,e);break}case p.AFTER_BODY:case p.IN_FRAMESET:case p.AFTER_FRAMESET:case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{ri(this,e);break}}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===B.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:case p.TEXT:case p.IN_COLUMN_GROUP:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:case p.IN_FRAMESET:case p.AFTER_FRAMESET:{this._insertCharacters(e);break}case p.IN_BODY:case p.IN_CAPTION:case p.IN_CELL:case p.IN_TEMPLATE:case p.AFTER_BODY:case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{Jo(this,e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{ni(this,e);break}case p.IN_TABLE_TEXT:{tu(this,e);break}}}};function dB(A,e){let t=A.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return t?A.openElements.contains(t.element)?A.openElements.hasInScope(e.tagID)||(t=null):(A.activeFormattingElements.removeEntry(t),t=null):Au(A,e),t}function fB(A,e){let t=null,r=A.openElements.stackTop;for(;r>=0;r--){const n=A.openElements.items[r];if(n===e.element)break;A._isSpecialElement(n,A.openElements.tagIDs[r])&&(t=n)}return t||(A.openElements.shortenToLength(r<0?0:r),A.activeFormattingElements.removeEntry(e)),t}function hB(A,e,t){let r=e,n=A.openElements.getCommonAncestor(e);for(let a=0,i=n;i!==t;a++,i=n){n=A.openElements.getCommonAncestor(i);const o=A.activeFormattingElements.getElementEntry(i),u=o&&a>=cB;!o||u?(u&&A.activeFormattingElements.removeEntry(o),A.openElements.remove(i)):(i=BB(A,o),r===e&&(A.activeFormattingElements.bookmark=o),A.treeAdapter.detachNode(r),A.treeAdapter.appendChild(i,r),r=i)}return r}function BB(A,e){const t=A.treeAdapter.getNamespaceURI(e.element),r=A.treeAdapter.createElement(e.token.tagName,t,e.token.attrs);return A.openElements.replace(e.element,r),e.element=r,r}function gB(A,e,t){const r=A.treeAdapter.getTagName(e),n=sn(r);if(A._isElementCausesFosterParenting(n))A._fosterParentElement(t);else{const a=A.treeAdapter.getNamespaceURI(e);n===s.TEMPLATE&&a===I.HTML&&(e=A.treeAdapter.getTemplateContent(e)),A.treeAdapter.appendChild(e,t)}}function pB(A,e,t){const r=A.treeAdapter.getNamespaceURI(t.element),{token:n}=t,a=A.treeAdapter.createElement(n.tagName,r,n.attrs);A._adoptNodes(e,a),A.treeAdapter.appendChild(e,a),A.activeFormattingElements.insertElementAfterBookmark(a,n),A.activeFormattingElements.removeEntry(t),A.openElements.remove(t.element),A.openElements.insertAfter(e,a,n.tagID)}function ei(A,e){for(let t=0;t<uB;t++){const r=dB(A,e);if(!r)break;const n=fB(A,r);if(!n)break;A.activeFormattingElements.bookmark=r;const a=hB(A,n,r.element),i=A.openElements.getCommonAncestor(r.element);A.treeAdapter.detachNode(a),i&&gB(A,i,a),pB(A,n,r)}}function ti(A,e){A._appendCommentNode(e,A.openElements.currentTmplContentOrNode)}function EB(A,e){A._appendCommentNode(e,A.openElements.items[0])}function mB(A,e){A._appendCommentNode(e,A.document)}function ri(A,e){if(A.stopped=!0,e.location){const t=A.fragmentContext?0:2;for(let r=A.openElements.stackTop;r>=t;r--)A._setEndLocation(A.openElements.items[r],e);if(!A.fragmentContext&&A.openElements.stackTop>=0){const r=A.openElements.items[0],n=A.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(A._setEndLocation(r,e),A.openElements.stackTop>=1)){const a=A.openElements.items[1],i=A.treeAdapter.getNodeSourceCodeLocation(a);i&&!i.endTag&&A._setEndLocation(a,e)}}}}function CB(A,e){A._setDocumentType(e);const t=e.forceQuirks?re.QUIRKS:jh(e);qh(e)||A._err(e,U.nonConformingDoctype),A.treeAdapter.setDocumentMode(A.document,t),A.insertionMode=p.BEFORE_HTML}function nr(A,e){A._err(e,U.missingDoctype,!0),A.treeAdapter.setDocumentMode(A.document,re.QUIRKS),A.insertionMode=p.BEFORE_HTML,A._processToken(e)}function wB(A,e){e.tagID===s.HTML?(A._insertElement(e,I.HTML),A.insertionMode=p.BEFORE_HEAD):ar(A,e)}function bB(A,e){const t=e.tagID;(t===s.HTML||t===s.HEAD||t===s.BODY||t===s.BR)&&ar(A,e)}function ar(A,e){A._insertFakeRootElement(),A.insertionMode=p.BEFORE_HEAD,A._processToken(e)}function TB(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.HEAD:{A._insertElement(e,I.HTML),A.headElement=A.openElements.current,A.insertionMode=p.IN_HEAD;break}default:ir(A,e)}}function UB(A,e){const t=e.tagID;t===s.HEAD||t===s.BODY||t===s.HTML||t===s.BR?ir(A,e):A._err(e,U.endTagWithoutMatchingOpenElement)}function ir(A,e){A._insertFakeElement(w.HEAD,s.HEAD),A.headElement=A.openElements.current,A.insertionMode=p.IN_HEAD,A._processToken(e)}function he(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case s.TITLE:{A._switchToTextParsing(e,ZA.RCDATA);break}case s.NOSCRIPT:{A.options.scriptingEnabled?A._switchToTextParsing(e,ZA.RAWTEXT):(A._insertElement(e,I.HTML),A.insertionMode=p.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{A._switchToTextParsing(e,ZA.RAWTEXT);break}case s.SCRIPT:{A._switchToTextParsing(e,ZA.SCRIPT_DATA);break}case s.TEMPLATE:{A._insertTemplate(e),A.activeFormattingElements.insertMarker(),A.framesetOk=!1,A.insertionMode=p.IN_TEMPLATE,A.tmplInsertionModeStack.unshift(p.IN_TEMPLATE);break}case s.HEAD:{A._err(e,U.misplacedStartTagForHeadElement);break}default:sr(A,e)}}function QB(A,e){switch(e.tagID){case s.HEAD:{A.openElements.pop(),A.insertionMode=p.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{sr(A,e);break}case s.TEMPLATE:{ut(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function ut(A,e){A.openElements.tmplCount>0?(A.openElements.generateImpliedEndTagsThoroughly(),A.openElements.currentTagId!==s.TEMPLATE&&A._err(e,U.closingOfElementWithOpenChildElements),A.openElements.popUntilTagNamePopped(s.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode()):A._err(e,U.endTagWithoutMatchingOpenElement)}function sr(A,e){A.openElements.pop(),A.insertionMode=p.AFTER_HEAD,A._processToken(e)}function FB(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{he(A,e);break}case s.NOSCRIPT:{A._err(e,U.nestedNoscriptInHead);break}default:or(A,e)}}function IB(A,e){switch(e.tagID){case s.NOSCRIPT:{A.openElements.pop(),A.insertionMode=p.IN_HEAD;break}case s.BR:{or(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function or(A,e){const t=e.type===rA.EOF?U.openElementsLeftAfterEof:U.disallowedContentInNoscriptInHead;A._err(e,t),A.openElements.pop(),A.insertionMode=p.IN_HEAD,A._processToken(e)}function yB(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.BODY:{A._insertElement(e,I.HTML),A.framesetOk=!1,A.insertionMode=p.IN_BODY;break}case s.FRAMESET:{A._insertElement(e,I.HTML),A.insertionMode=p.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{A._err(e,U.abandonedHeadElementChild),A.openElements.push(A.headElement,s.HEAD),he(A,e),A.openElements.remove(A.headElement);break}case s.HEAD:{A._err(e,U.misplacedStartTagForHeadElement);break}default:ur(A,e)}}function xB(A,e){switch(e.tagID){case s.BODY:case s.HTML:case s.BR:{ur(A,e);break}case s.TEMPLATE:{ut(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function ur(A,e){A._insertFakeElement(w.BODY,s.BODY),A.insertionMode=p.IN_BODY,cn(A,e)}function cn(A,e){switch(e.type){case rA.CHARACTER:{qo(A,e);break}case rA.WHITESPACE_CHARACTER:{Jo(A,e);break}case rA.COMMENT:{ti(A,e);break}case rA.START_TAG:{GA(A,e);break}case rA.END_TAG:{ln(A,e);break}case rA.EOF:{eu(A,e);break}}}function Jo(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e)}function qo(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e),A.framesetOk=!1}function vB(A,e){A.openElements.tmplCount===0&&A.treeAdapter.adoptAttributes(A.openElements.items[0],e.attrs)}function _B(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A.openElements.tmplCount===0&&(A.framesetOk=!1,A.treeAdapter.adoptAttributes(t,e.attrs))}function NB(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();A.framesetOk&&t&&(A.treeAdapter.detachNode(t),A.openElements.popAllUpToHtmlElement(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_FRAMESET)}function SB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML)}function LB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),$a.has(A.openElements.currentTagId)&&A.openElements.pop(),A._insertElement(e,I.HTML)}function HB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML),A.skipNextNewLine=!0,A.framesetOk=!1}function DB(A,e){const t=A.openElements.tmplCount>0;(!A.formElement||t)&&(A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML),t||(A.formElement=A.openElements.current))}function OB(A,e){A.framesetOk=!1;const t=e.tagID;for(let r=A.openElements.stackTop;r>=0;r--){const n=A.openElements.tagIDs[r];if(t===s.LI&&n===s.LI||(t===s.DD||t===s.DT)&&(n===s.DD||n===s.DT)){A.openElements.generateImpliedEndTagsWithExclusion(n),A.openElements.popUntilTagNamePopped(n);break}if(n!==s.ADDRESS&&n!==s.DIV&&n!==s.P&&A._isSpecialElement(A.openElements.items[r],n))break}A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML)}function RB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML),A.tokenizer.state=ZA.PLAINTEXT}function MB(A,e){A.openElements.hasInScope(s.BUTTON)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(s.BUTTON)),A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.framesetOk=!1}function kB(A,e){const t=A.activeFormattingElements.getElementEntryInScopeWithTagName(w.A);t&&(ei(A,e),A.openElements.remove(t.element),A.activeFormattingElements.removeEntry(t)),A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function PB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function KB(A,e){A._reconstructActiveFormattingElements(),A.openElements.hasInScope(s.NOBR)&&(ei(A,e),A._reconstructActiveFormattingElements()),A._insertElement(e,I.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function VB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.activeFormattingElements.insertMarker(),A.framesetOk=!1}function GB(A,e){A.treeAdapter.getDocumentMode(A.document)!==re.QUIRKS&&A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML),A.framesetOk=!1,A.insertionMode=p.IN_TABLE}function jo(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,I.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function zo(A){const e=xo(A,ot.TYPE);return e!=null&&e.toLowerCase()===oB}function YB(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,I.HTML),zo(e)||(A.framesetOk=!1),e.ackSelfClosing=!0}function XB(A,e){A._appendElement(e,I.HTML),e.ackSelfClosing=!0}function WB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._appendElement(e,I.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function JB(A,e){e.tagName=w.IMG,e.tagID=s.IMG,jo(A,e)}function qB(A,e){A._insertElement(e,I.HTML),A.skipNextNewLine=!0,A.tokenizer.state=ZA.RCDATA,A.originalInsertionMode=A.insertionMode,A.framesetOk=!1,A.insertionMode=p.TEXT}function jB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._reconstructActiveFormattingElements(),A.framesetOk=!1,A._switchToTextParsing(e,ZA.RAWTEXT)}function zB(A,e){A.framesetOk=!1,A._switchToTextParsing(e,ZA.RAWTEXT)}function $o(A,e){A._switchToTextParsing(e,ZA.RAWTEXT)}function $B(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.framesetOk=!1,A.insertionMode=A.insertionMode===p.IN_TABLE||A.insertionMode===p.IN_CAPTION||A.insertionMode===p.IN_TABLE_BODY||A.insertionMode===p.IN_ROW||A.insertionMode===p.IN_CELL?p.IN_SELECT_IN_TABLE:p.IN_SELECT}function ZB(A,e){A.openElements.currentTagId===s.OPTION&&A.openElements.pop(),A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML)}function Ag(A,e){A.openElements.hasInScope(s.RUBY)&&A.openElements.generateImpliedEndTags(),A._insertElement(e,I.HTML)}function eg(A,e){A.openElements.hasInScope(s.RUBY)&&A.openElements.generateImpliedEndTagsWithExclusion(s.RTC),A._insertElement(e,I.HTML)}function tg(A,e){A._reconstructActiveFormattingElements(),Vo(e),Ai(e),e.selfClosing?A._appendElement(e,I.MATHML):A._insertElement(e,I.MATHML),e.ackSelfClosing=!0}function rg(A,e){A._reconstructActiveFormattingElements(),Go(e),Ai(e),e.selfClosing?A._appendElement(e,I.SVG):A._insertElement(e,I.SVG),e.ackSelfClosing=!0}function Zo(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML)}function GA(A,e){switch(e.tagID){case s.I:case s.S:case s.B:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.SMALL:case s.STRIKE:case s.STRONG:{PB(A,e);break}case s.A:{kB(A,e);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{LB(A,e);break}case s.P:case s.DL:case s.OL:case s.UL:case s.DIV:case s.DIR:case s.NAV:case s.MAIN:case s.MENU:case s.ASIDE:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.DETAILS:case s.ADDRESS:case s.ARTICLE:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{SB(A,e);break}case s.LI:case s.DD:case s.DT:{OB(A,e);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{jo(A,e);break}case s.HR:{WB(A,e);break}case s.RB:case s.RTC:{Ag(A,e);break}case s.RT:case s.RP:{eg(A,e);break}case s.PRE:case s.LISTING:{HB(A,e);break}case s.XMP:{jB(A,e);break}case s.SVG:{rg(A,e);break}case s.HTML:{vB(A,e);break}case s.BASE:case s.LINK:case s.META:case s.STYLE:case s.TITLE:case s.SCRIPT:case s.BGSOUND:case s.BASEFONT:case s.TEMPLATE:{he(A,e);break}case s.BODY:{_B(A,e);break}case s.FORM:{DB(A,e);break}case s.NOBR:{KB(A,e);break}case s.MATH:{tg(A,e);break}case s.TABLE:{GB(A,e);break}case s.INPUT:{YB(A,e);break}case s.PARAM:case s.TRACK:case s.SOURCE:{XB(A,e);break}case s.IMAGE:{JB(A,e);break}case s.BUTTON:{MB(A,e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{VB(A,e);break}case s.IFRAME:{zB(A,e);break}case s.SELECT:{$B(A,e);break}case s.OPTION:case s.OPTGROUP:{ZB(A,e);break}case s.NOEMBED:case s.NOFRAMES:{$o(A,e);break}case s.FRAMESET:{NB(A,e);break}case s.TEXTAREA:{qB(A,e);break}case s.NOSCRIPT:{A.options.scriptingEnabled?$o(A,e):Zo(A,e);break}case s.PLAINTEXT:{RB(A,e);break}case s.COL:case s.TH:case s.TD:case s.TR:case s.HEAD:case s.FRAME:case s.TBODY:case s.TFOOT:case s.THEAD:case s.CAPTION:case s.COLGROUP:break;default:Zo(A,e)}}function ng(A,e){if(A.openElements.hasInScope(s.BODY)&&(A.insertionMode=p.AFTER_BODY,A.options.sourceCodeLocationInfo)){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A._setEndLocation(t,e)}}function ag(A,e){A.openElements.hasInScope(s.BODY)&&(A.insertionMode=p.AFTER_BODY,uu(A,e))}function ig(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t))}function sg(A){const e=A.openElements.tmplCount>0,{formElement:t}=A;e||(A.formElement=null),(t||e)&&A.openElements.hasInScope(s.FORM)&&(A.openElements.generateImpliedEndTags(),e?A.openElements.popUntilTagNamePopped(s.FORM):t&&A.openElements.remove(t))}function og(A){A.openElements.hasInButtonScope(s.P)||A._insertFakeElement(w.P,s.P),A._closePElement()}function ug(A){A.openElements.hasInListItemScope(s.LI)&&(A.openElements.generateImpliedEndTagsWithExclusion(s.LI),A.openElements.popUntilTagNamePopped(s.LI))}function cg(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTagsWithExclusion(t),A.openElements.popUntilTagNamePopped(t))}function lg(A){A.openElements.hasNumberedHeaderInScope()&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilNumberedHeaderPopped())}function dg(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker())}function fg(A){A._reconstructActiveFormattingElements(),A._insertFakeElement(w.BR,s.BR),A.openElements.pop(),A.framesetOk=!1}function Au(A,e){const t=e.tagName,r=e.tagID;for(let n=A.openElements.stackTop;n>0;n--){const a=A.openElements.items[n],i=A.openElements.tagIDs[n];if(r===i&&(r!==s.UNKNOWN||A.treeAdapter.getTagName(a)===t)){A.openElements.generateImpliedEndTagsWithExclusion(r),A.openElements.stackTop>=n&&A.openElements.shortenToLength(n);break}if(A._isSpecialElement(a,i))break}}function ln(A,e){switch(e.tagID){case s.A:case s.B:case s.I:case s.S:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.NOBR:case s.SMALL:case s.STRIKE:case s.STRONG:{ei(A,e);break}case s.P:{og(A);break}case s.DL:case s.UL:case s.OL:case s.DIR:case s.DIV:case s.NAV:case s.PRE:case s.MAIN:case s.MENU:case s.ASIDE:case s.BUTTON:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.ADDRESS:case s.ARTICLE:case s.DETAILS:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{ig(A,e);break}case s.LI:{ug(A);break}case s.DD:case s.DT:{cg(A,e);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{lg(A);break}case s.BR:{fg(A);break}case s.BODY:{ng(A,e);break}case s.HTML:{ag(A,e);break}case s.FORM:{sg(A);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{dg(A,e);break}case s.TEMPLATE:{ut(A,e);break}default:Au(A,e)}}function eu(A,e){A.tmplInsertionModeStack.length>0?ou(A,e):ri(A,e)}function hg(A,e){var t;e.tagID===s.SCRIPT&&((t=A.scriptHandler)===null||t===void 0||t.call(A,A.openElements.current)),A.openElements.pop(),A.insertionMode=A.originalInsertionMode}function Bg(A,e){A._err(e,U.eofInElementThatCanContainOnlyText),A.openElements.pop(),A.insertionMode=A.originalInsertionMode,A.onEof(e)}function ni(A,e){if(Yo.has(A.openElements.currentTagId))switch(A.pendingCharacterTokens.length=0,A.hasNonWhitespacePendingCharacterToken=!1,A.originalInsertionMode=A.insertionMode,A.insertionMode=p.IN_TABLE_TEXT,e.type){case rA.CHARACTER:{ru(A,e);break}case rA.WHITESPACE_CHARACTER:{tu(A,e);break}}else lr(A,e)}function gg(A,e){A.openElements.clearBackToTableContext(),A.activeFormattingElements.insertMarker(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_CAPTION}function pg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_COLUMN_GROUP}function Eg(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.COLGROUP,s.COLGROUP),A.insertionMode=p.IN_COLUMN_GROUP,ai(A,e)}function mg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_TABLE_BODY}function Cg(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.TBODY,s.TBODY),A.insertionMode=p.IN_TABLE_BODY,fn(A,e)}function wg(A,e){A.openElements.hasInTableScope(s.TABLE)&&(A.openElements.popUntilTagNamePopped(s.TABLE),A._resetInsertionMode(),A._processStartTag(e))}function bg(A,e){zo(e)?A._appendElement(e,I.HTML):lr(A,e),e.ackSelfClosing=!0}function Tg(A,e){!A.formElement&&A.openElements.tmplCount===0&&(A._insertElement(e,I.HTML),A.formElement=A.openElements.current,A.openElements.pop())}function Tt(A,e){switch(e.tagID){case s.TD:case s.TH:case s.TR:{Cg(A,e);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{he(A,e);break}case s.COL:{Eg(A,e);break}case s.FORM:{Tg(A,e);break}case s.TABLE:{wg(A,e);break}case s.TBODY:case s.TFOOT:case s.THEAD:{mg(A,e);break}case s.INPUT:{bg(A,e);break}case s.CAPTION:{gg(A,e);break}case s.COLGROUP:{pg(A,e);break}default:lr(A,e)}}function cr(A,e){switch(e.tagID){case s.TABLE:{A.openElements.hasInTableScope(s.TABLE)&&(A.openElements.popUntilTagNamePopped(s.TABLE),A._resetInsertionMode());break}case s.TEMPLATE:{ut(A,e);break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:lr(A,e)}}function lr(A,e){const t=A.fosterParentingEnabled;A.fosterParentingEnabled=!0,cn(A,e),A.fosterParentingEnabled=t}function tu(A,e){A.pendingCharacterTokens.push(e)}function ru(A,e){A.pendingCharacterTokens.push(e),A.hasNonWhitespacePendingCharacterToken=!0}function dr(A,e){let t=0;if(A.hasNonWhitespacePendingCharacterToken)for(;t<A.pendingCharacterTokens.length;t++)lr(A,A.pendingCharacterTokens[t]);else for(;t<A.pendingCharacterTokens.length;t++)A._insertCharacters(A.pendingCharacterTokens[t]);A.insertionMode=A.originalInsertionMode,A._processToken(e)}const nu=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function Ug(A,e){const t=e.tagID;nu.has(t)?A.openElements.hasInTableScope(s.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(s.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_TABLE,Tt(A,e)):GA(A,e)}function Qg(A,e){const t=e.tagID;switch(t){case s.CAPTION:case s.TABLE:{A.openElements.hasInTableScope(s.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(s.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_TABLE,t===s.TABLE&&cr(A,e));break}case s.BODY:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:ln(A,e)}}function ai(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.COL:{A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case s.TEMPLATE:{he(A,e);break}default:dn(A,e)}}function Fg(A,e){switch(e.tagID){case s.COLGROUP:{A.openElements.currentTagId===s.COLGROUP&&(A.openElements.pop(),A.insertionMode=p.IN_TABLE);break}case s.TEMPLATE:{ut(A,e);break}case s.COL:break;default:dn(A,e)}}function dn(A,e){A.openElements.currentTagId===s.COLGROUP&&(A.openElements.pop(),A.insertionMode=p.IN_TABLE,A._processToken(e))}function fn(A,e){switch(e.tagID){case s.TR:{A.openElements.clearBackToTableBodyContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_ROW;break}case s.TH:case s.TD:{A.openElements.clearBackToTableBodyContext(),A._insertFakeElement(w.TR,s.TR),A.insertionMode=p.IN_ROW,hn(A,e);break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE,Tt(A,e));break}default:Tt(A,e)}}function ii(A,e){const t=e.tagID;switch(e.tagID){case s.TBODY:case s.TFOOT:case s.THEAD:{A.openElements.hasInTableScope(t)&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE);break}case s.TABLE:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE,cr(A,e));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:case s.TR:break;default:cr(A,e)}}function hn(A,e){switch(e.tagID){case s.TH:case s.TD:{A.openElements.clearBackToTableRowContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_CELL,A.activeFormattingElements.insertMarker();break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{A.openElements.hasInTableScope(s.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,fn(A,e));break}default:Tt(A,e)}}function au(A,e){switch(e.tagID){case s.TR:{A.openElements.hasInTableScope(s.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY);break}case s.TABLE:{A.openElements.hasInTableScope(s.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,ii(A,e));break}case s.TBODY:case s.TFOOT:case s.THEAD:{(A.openElements.hasInTableScope(e.tagID)||A.openElements.hasInTableScope(s.TR))&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,ii(A,e));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:break;default:cr(A,e)}}function Ig(A,e){const t=e.tagID;nu.has(t)?(A.openElements.hasInTableScope(s.TD)||A.openElements.hasInTableScope(s.TH))&&(A._closeTableCell(),hn(A,e)):GA(A,e)}function yg(A,e){const t=e.tagID;switch(t){case s.TD:case s.TH:{A.openElements.hasInTableScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{A.openElements.hasInTableScope(t)&&(A._closeTableCell(),au(A,e));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:ln(A,e)}}function iu(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.OPTION:{A.openElements.currentTagId===s.OPTION&&A.openElements.pop(),A._insertElement(e,I.HTML);break}case s.OPTGROUP:{A.openElements.currentTagId===s.OPTION&&A.openElements.pop(),A.openElements.currentTagId===s.OPTGROUP&&A.openElements.pop(),A._insertElement(e,I.HTML);break}case s.HR:{A.openElements.currentTagId===s.OPTION&&A.openElements.pop(),A.openElements.currentTagId===s.OPTGROUP&&A.openElements.pop(),A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case s.INPUT:case s.KEYGEN:case s.TEXTAREA:case s.SELECT:{A.openElements.hasInSelectScope(s.SELECT)&&(A.openElements.popUntilTagNamePopped(s.SELECT),A._resetInsertionMode(),e.tagID!==s.SELECT&&A._processStartTag(e));break}case s.SCRIPT:case s.TEMPLATE:{he(A,e);break}}}function su(A,e){switch(e.tagID){case s.OPTGROUP:{A.openElements.stackTop>0&&A.openElements.currentTagId===s.OPTION&&A.openElements.tagIDs[A.openElements.stackTop-1]===s.OPTGROUP&&A.openElements.pop(),A.openElements.currentTagId===s.OPTGROUP&&A.openElements.pop();break}case s.OPTION:{A.openElements.currentTagId===s.OPTION&&A.openElements.pop();break}case s.SELECT:{A.openElements.hasInSelectScope(s.SELECT)&&(A.openElements.popUntilTagNamePopped(s.SELECT),A._resetInsertionMode());break}case s.TEMPLATE:{ut(A,e);break}}}function xg(A,e){const t=e.tagID;t===s.CAPTION||t===s.TABLE||t===s.TBODY||t===s.TFOOT||t===s.THEAD||t===s.TR||t===s.TD||t===s.TH?(A.openElements.popUntilTagNamePopped(s.SELECT),A._resetInsertionMode(),A._processStartTag(e)):iu(A,e)}function vg(A,e){const t=e.tagID;t===s.CAPTION||t===s.TABLE||t===s.TBODY||t===s.TFOOT||t===s.THEAD||t===s.TR||t===s.TD||t===s.TH?A.openElements.hasInTableScope(t)&&(A.openElements.popUntilTagNamePopped(s.SELECT),A._resetInsertionMode(),A.onEndTag(e)):su(A,e)}function _g(A,e){switch(e.tagID){case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{he(A,e);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{A.tmplInsertionModeStack[0]=p.IN_TABLE,A.insertionMode=p.IN_TABLE,Tt(A,e);break}case s.COL:{A.tmplInsertionModeStack[0]=p.IN_COLUMN_GROUP,A.insertionMode=p.IN_COLUMN_GROUP,ai(A,e);break}case s.TR:{A.tmplInsertionModeStack[0]=p.IN_TABLE_BODY,A.insertionMode=p.IN_TABLE_BODY,fn(A,e);break}case s.TD:case s.TH:{A.tmplInsertionModeStack[0]=p.IN_ROW,A.insertionMode=p.IN_ROW,hn(A,e);break}default:A.tmplInsertionModeStack[0]=p.IN_BODY,A.insertionMode=p.IN_BODY,GA(A,e)}}function Ng(A,e){e.tagID===s.TEMPLATE&&ut(A,e)}function ou(A,e){A.openElements.tmplCount>0?(A.openElements.popUntilTagNamePopped(s.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode(),A.onEof(e)):ri(A,e)}function Sg(A,e){e.tagID===s.HTML?GA(A,e):Bn(A,e)}function uu(A,e){var t;if(e.tagID===s.HTML){if(A.fragmentContext||(A.insertionMode=p.AFTER_AFTER_BODY),A.options.sourceCodeLocationInfo&&A.openElements.tagIDs[0]===s.HTML){A._setEndLocation(A.openElements.items[0],e);const r=A.openElements.items[1];r&&!(!((t=A.treeAdapter.getNodeSourceCodeLocation(r))===null||t===void 0)&&t.endTag)&&A._setEndLocation(r,e)}}else Bn(A,e)}function Bn(A,e){A.insertionMode=p.IN_BODY,cn(A,e)}function Lg(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.FRAMESET:{A._insertElement(e,I.HTML);break}case s.FRAME:{A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case s.NOFRAMES:{he(A,e);break}}}function Hg(A,e){e.tagID===s.FRAMESET&&!A.openElements.isRootHtmlElementCurrent()&&(A.openElements.pop(),!A.fragmentContext&&A.openElements.currentTagId!==s.FRAMESET&&(A.insertionMode=p.AFTER_FRAMESET))}function Dg(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.NOFRAMES:{he(A,e);break}}}function Og(A,e){e.tagID===s.HTML&&(A.insertionMode=p.AFTER_AFTER_FRAMESET)}function Rg(A,e){e.tagID===s.HTML?GA(A,e):gn(A,e)}function gn(A,e){A.insertionMode=p.IN_BODY,cn(A,e)}function Mg(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.NOFRAMES:{he(A,e);break}}}function kg(A,e){e.chars=gA,A._insertCharacters(e)}function Pg(A,e){A._insertCharacters(e),A.framesetOk=!1}function cu(A){for(;A.treeAdapter.getNamespaceURI(A.openElements.current)!==I.HTML&&!A._isIntegrationPoint(A.openElements.currentTagId,A.openElements.current);)A.openElements.pop()}function Kg(A,e){if(rB(e))cu(A),A._startTagOutsideForeignContent(e);else{const t=A._getAdjustedCurrentElement(),r=A.treeAdapter.getNamespaceURI(t);r===I.MATHML?Vo(e):r===I.SVG&&(nB(e),Go(e)),Ai(e),e.selfClosing?A._appendElement(e,r):A._insertElement(e,r),e.ackSelfClosing=!0}}function Vg(A,e){if(e.tagID===s.P||e.tagID===s.BR){cu(A),A._endTagOutsideForeignContent(e);return}for(let t=A.openElements.stackTop;t>0;t--){const r=A.openElements.items[t];if(A.treeAdapter.getNamespaceURI(r)===I.HTML){A._endTagOutsideForeignContent(e);break}const n=A.treeAdapter.getTagName(r);if(n.toLowerCase()===e.tagName){e.tagName=n,A.openElements.shortenToLength(t);break}}}const Gg=new Set([w.AREA,w.BASE,w.BASEFONT,w.BGSOUND,w.BR,w.COL,w.EMBED,w.FRAME,w.HR,w.IMG,w.INPUT,w.KEYGEN,w.LINK,w.META,w.PARAM,w.SOURCE,w.TRACK,w.WBR]);function Yg(A,e){return e.treeAdapter.isElementNode(A)&&e.treeAdapter.getNamespaceURI(A)===I.HTML&&Gg.has(e.treeAdapter.getTagName(A))}const Xg={treeAdapter:xe,scriptingEnabled:!0};function Wg(A,e){const t={...Xg,...e};return lu(A,t)}function Jg(A,e){let t="";const r=e.treeAdapter.isElementNode(A)&&e.treeAdapter.getTagName(A)===w.TEMPLATE&&e.treeAdapter.getNamespaceURI(A)===I.HTML?e.treeAdapter.getTemplateContent(A):A,n=e.treeAdapter.getChildNodes(r);if(n)for(const a of n)t+=lu(a,e);return t}function lu(A,e){return e.treeAdapter.isElementNode(A)?qg(A,e):e.treeAdapter.isTextNode(A)?zg(A,e):e.treeAdapter.isCommentNode(A)?$g(A,e):e.treeAdapter.isDocumentTypeNode(A)?Zg(A,e):""}function qg(A,e){const t=e.treeAdapter.getTagName(A);return`<${t}${jg(A,e)}>${Yg(A,e)?"":`${Jg(A,e)}</${t}>`}`}function jg(A,{treeAdapter:e}){let t="";for(const r of e.getAttrList(A)){if(t+=" ",r.namespace)switch(r.namespace){case I.XML:{t+=`xml:${r.name}`;break}case I.XMLNS:{r.name!=="xmlns"&&(t+="xmlns:"),t+=r.name;break}case I.XLINK:{t+=`xlink:${r.name}`;break}default:t+=`${r.prefix}:${r.name}`}else t+=r.name;t+=`="${_s(r.value)}"`}return t}function zg(A,e){const{treeAdapter:t}=e,r=t.getTextNodeContent(A),n=t.getParentNode(A),a=n&&t.isElementNode(n)&&t.getTagName(n);return a&&t.getNamespaceURI(n)===I.HTML&&_h(a,e.scriptingEnabled)?r:Ns(r)}function $g(A,{treeAdapter:e}){return`<!--${e.getCommentNodeContent(A)}-->`}function Zg(A,{treeAdapter:e}){return`<!DOCTYPE ${e.getDocumentTypeNodeName(A)}>`}function Ap(A,e){return Wo.parse(A,e)}function ep(A,e,t){typeof A=="string"&&(t=e,e=A,A=null);const r=Wo.getFragmentParser(A,t);return r.tokenizer.write(e,!0),r.getFragment()}function du(A){const e=A.includes('"')?"'":'"';return e+A+e}function tp(A,e,t){let r="!DOCTYPE ";return A&&(r+=A),e?r+=` PUBLIC ${du(e)}`:t&&(r+=" SYSTEM"),t&&(r+=` ${du(t)}`),r}const Pe={isCommentNode:Vr,isElementNode:J,isTextNode:Ce,createDocument(){const A=new rt([]);return A["x-mode"]=re.NO_QUIRKS,A},createDocumentFragment(){return new rt([])},createElement(A,e,t){const r=Object.create(null),n=Object.create(null),a=Object.create(null);for(let o=0;o<t.length;o++){const u=t[o].name;r[u]=t[o].value,n[u]=t[o].namespace,a[u]=t[o].prefix}const i=new ma(A,r,[]);return i.namespace=e,i["x-attribsNamespace"]=n,i["x-attribsPrefix"]=a,i},createCommentNode(A){return new ga(A)},createTextNode(A){return new Wt(A)},appendChild(A,e){const t=A.children[A.children.length-1];t&&(t.next=e,e.prev=t),A.children.push(e),e.parent=A},insertBefore(A,e,t){const r=A.children.indexOf(t),{prev:n}=t;n&&(n.next=e,e.prev=n),t.prev=e,e.next=t,A.children.splice(r,0,e),e.parent=A},setTemplateContent(A,e){Pe.appendChild(A,e)},getTemplateContent(A){return A.children[0]},setDocumentType(A,e,t,r){const n=tp(e,t,r);let a=A.children.find(i=>Ca(i)&&i.name==="!doctype");a?a.data=n??null:(a=new pa("!doctype",n),Pe.appendChild(A,a)),a["x-name"]=e,a["x-publicId"]=t,a["x-systemId"]=r},setDocumentMode(A,e){A["x-mode"]=e},getDocumentMode(A){return A["x-mode"]},detachNode(A){if(A.parent){const e=A.parent.children.indexOf(A),{prev:t,next:r}=A;A.prev=null,A.next=null,t&&(t.next=r),r&&(r.prev=t),A.parent.children.splice(e,1),A.parent=null}},insertText(A,e){const t=A.children[A.children.length-1];t&&Ce(t)?t.data+=e:Pe.appendChild(A,Pe.createTextNode(e))},insertTextBefore(A,e,t){const r=A.children[A.children.indexOf(t)-1];r&&Ce(r)?r.data+=e:Pe.insertBefore(A,Pe.createTextNode(e),t)},adoptAttributes(A,e){for(let t=0;t<e.length;t++){const r=e[t].name;A.attribs[r]===void 0&&(A.attribs[r]=e[t].value,A["x-attribsNamespace"][r]=e[t].namespace,A["x-attribsPrefix"][r]=e[t].prefix)}},getFirstChild(A){return A.children[0]},getChildNodes(A){return A.children},getParentNode(A){return A.parent},getAttrList(A){return A.attributes},getTagName(A){return A.name},getNamespaceURI(A){return A.namespace},getTextNodeContent(A){return A.data},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){var e;return(e=A["x-name"])!==null&&e!==void 0?e:""},getDocumentTypeNodePublicId(A){var e;return(e=A["x-publicId"])!==null&&e!==void 0?e:""},getDocumentTypeNodeSystemId(A){var e;return(e=A["x-systemId"])!==null&&e!==void 0?e:""},isDocumentTypeNode(A){return Ca(A)&&A.name==="!doctype"},setNodeSourceCodeLocation(A,e){e&&(A.startIndex=e.startOffset,A.endIndex=e.endOffset),A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){e.endOffset!=null&&(A.endIndex=e.endOffset),A.sourceCodeLocation={...A.sourceCodeLocation,...e}}};function rp(A,e,t,r){var n;return(n=e.treeAdapter)!==null&&n!==void 0||(e.treeAdapter=Pe),e.scriptingEnabled!==!1&&(e.scriptingEnabled=!0),t?Ap(A,e):ep(r,A,e)}const np={treeAdapter:Pe};function ap(A){const e="length"in A?A:[A];for(let r=0;r<e.length;r+=1){const n=e[r];De(n)&&Array.prototype.splice.call(e,r,1,...n.children)}let t="";for(let r=0;r<e.length;r+=1){const n=e[r];t+=Wg(n,np)}return t}var X;(function(A){A[A.Tab=9]="Tab",A[A.NewLine=10]="NewLine",A[A.FormFeed=12]="FormFeed",A[A.CarriageReturn=13]="CarriageReturn",A[A.Space=32]="Space",A[A.ExclamationMark=33]="ExclamationMark",A[A.Number=35]="Number",A[A.Amp=38]="Amp",A[A.SingleQuote=39]="SingleQuote",A[A.DoubleQuote=34]="DoubleQuote",A[A.Dash=45]="Dash",A[A.Slash=47]="Slash",A[A.Zero=48]="Zero",A[A.Nine=57]="Nine",A[A.Semi=59]="Semi",A[A.Lt=60]="Lt",A[A.Eq=61]="Eq",A[A.Gt=62]="Gt",A[A.Questionmark=63]="Questionmark",A[A.UpperA=65]="UpperA",A[A.LowerA=97]="LowerA",A[A.UpperF=70]="UpperF",A[A.LowerF=102]="LowerF",A[A.UpperZ=90]="UpperZ",A[A.LowerZ=122]="LowerZ",A[A.LowerX=120]="LowerX",A[A.OpeningSquareBracket=91]="OpeningSquareBracket"})(X||(X={}));var N;(function(A){A[A.Text=1]="Text",A[A.BeforeTagName=2]="BeforeTagName",A[A.InTagName=3]="InTagName",A[A.InSelfClosingTag=4]="InSelfClosingTag",A[A.BeforeClosingTagName=5]="BeforeClosingTagName",A[A.InClosingTagName=6]="InClosingTagName",A[A.AfterClosingTagName=7]="AfterClosingTagName",A[A.BeforeAttributeName=8]="BeforeAttributeName",A[A.InAttributeName=9]="InAttributeName",A[A.AfterAttributeName=10]="AfterAttributeName",A[A.BeforeAttributeValue=11]="BeforeAttributeValue",A[A.InAttributeValueDq=12]="InAttributeValueDq",A[A.InAttributeValueSq=13]="InAttributeValueSq",A[A.InAttributeValueNq=14]="InAttributeValueNq",A[A.BeforeDeclaration=15]="BeforeDeclaration",A[A.InDeclaration=16]="InDeclaration",A[A.InProcessingInstruction=17]="InProcessingInstruction",A[A.BeforeComment=18]="BeforeComment",A[A.CDATASequence=19]="CDATASequence",A[A.InSpecialComment=20]="InSpecialComment",A[A.InCommentLike=21]="InCommentLike",A[A.BeforeSpecialS=22]="BeforeSpecialS",A[A.BeforeSpecialT=23]="BeforeSpecialT",A[A.SpecialStartSequence=24]="SpecialStartSequence",A[A.InSpecialTag=25]="InSpecialTag",A[A.InEntity=26]="InEntity"})(N||(N={}));function ve(A){return A===X.Space||A===X.NewLine||A===X.Tab||A===X.FormFeed||A===X.CarriageReturn}function pn(A){return A===X.Slash||A===X.Gt||ve(A)}function ip(A){return A>=X.LowerA&&A<=X.LowerZ||A>=X.UpperA&&A<=X.UpperZ}var be;(function(A){A[A.NoValue=0]="NoValue",A[A.Unquoted=1]="Unquoted",A[A.Single=2]="Single",A[A.Double=3]="Double"})(be||(be={}));const RA={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};let sp=class{constructor({xmlMode:e=!1,decodeEntities:t=!0},r){this.cbs=r,this.state=N.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=N.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=t,this.entityDecoder=new Fa(e?Fs:ba,(n,a)=>this.emitCodePoint(n,a))}reset(){this.state=N.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=N.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===X.Lt||!this.decodeEntities&&this.fastForwardTo(X.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=N.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(!(t?pn(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=N.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===X.Gt||ve(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const r=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=r}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===RA.TitleEnd?this.decodeEntities&&e===X.Amp&&this.startEntity():this.fastForwardTo(X.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===X.Lt)}stateCDATASequence(e){e===RA.Cdata[this.sequenceIndex]?++this.sequenceIndex===RA.Cdata.length&&(this.state=N.InCommentLike,this.currentSequence=RA.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=N.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===RA.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=N.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!pn(e):ip(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=N.SpecialStartSequence}stateBeforeTagName(e){if(e===X.ExclamationMark)this.state=N.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===X.Questionmark)this.state=N.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){const t=e|32;this.sectionStart=this.index,this.xmlMode?this.state=N.InTagName:t===RA.ScriptEnd[2]?this.state=N.BeforeSpecialS:t===RA.TitleEnd[2]?this.state=N.BeforeSpecialT:this.state=N.InTagName}else e===X.Slash?this.state=N.BeforeClosingTagName:(this.state=N.Text,this.stateText(e))}stateInTagName(e){pn(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){ve(e)||(e===X.Gt?this.state=N.Text:(this.state=this.isTagStartChar(e)?N.InClosingTagName:N.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===X.Gt||ve(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=N.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===X.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=N.InSpecialTag,this.sequenceIndex=0):this.state=N.Text,this.sectionStart=this.index+1):e===X.Slash?this.state=N.InSelfClosingTag:ve(e)||(this.state=N.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===X.Gt?(this.cbs.onselfclosingtag(this.index),this.state=N.Text,this.sectionStart=this.index+1,this.isSpecial=!1):ve(e)||(this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===X.Eq||pn(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=N.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===X.Eq?this.state=N.BeforeAttributeValue:e===X.Slash||e===X.Gt?(this.cbs.onattribend(be.NoValue,this.sectionStart),this.sectionStart=-1,this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e)):ve(e)||(this.cbs.onattribend(be.NoValue,this.sectionStart),this.state=N.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===X.DoubleQuote?(this.state=N.InAttributeValueDq,this.sectionStart=this.index+1):e===X.SingleQuote?(this.state=N.InAttributeValueSq,this.sectionStart=this.index+1):ve(e)||(this.sectionStart=this.index,this.state=N.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===X.DoubleQuote?be.Double:be.Single,this.index+1),this.state=N.BeforeAttributeName):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,X.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,X.SingleQuote)}stateInAttributeValueNoQuotes(e){ve(e)||e===X.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(be.Unquoted,this.index),this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===X.OpeningSquareBracket?(this.state=N.CDATASequence,this.sequenceIndex=0):this.state=e===X.Dash?N.BeforeComment:N.InDeclaration}stateInDeclaration(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=N.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===X.Dash?(this.state=N.InCommentLike,this.currentSequence=RA.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=N.InDeclaration}stateInSpecialComment(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=e|32;t===RA.ScriptEnd[3]?this.startSpecial(RA.ScriptEnd,4):t===RA.StyleEnd[3]?this.startSpecial(RA.StyleEnd,4):(this.state=N.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=e|32;t===RA.TitleEnd[3]?this.startSpecial(RA.TitleEnd,4):t===RA.TextareaEnd[3]?this.startSpecial(RA.TextareaEnd,4):(this.state=N.InTagName,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=N.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?ie.Strict:this.baseState===N.Text||this.baseState===N.InSpecialTag?ie.Legacy:ie.Attribute)}stateInEntity(){const e=this.entityDecoder.write(this.buffer,this.index-this.offset);e>=0?(this.state=this.baseState,e===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===N.Text||this.state===N.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===N.InAttributeValueDq||this.state===N.InAttributeValueSq||this.state===N.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case N.Text:{this.stateText(e);break}case N.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case N.InSpecialTag:{this.stateInSpecialTag(e);break}case N.CDATASequence:{this.stateCDATASequence(e);break}case N.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case N.InAttributeName:{this.stateInAttributeName(e);break}case N.InCommentLike:{this.stateInCommentLike(e);break}case N.InSpecialComment:{this.stateInSpecialComment(e);break}case N.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case N.InTagName:{this.stateInTagName(e);break}case N.InClosingTagName:{this.stateInClosingTagName(e);break}case N.BeforeTagName:{this.stateBeforeTagName(e);break}case N.AfterAttributeName:{this.stateAfterAttributeName(e);break}case N.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case N.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case N.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case N.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case N.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case N.BeforeSpecialT:{this.stateBeforeSpecialT(e);break}case N.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case N.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case N.InDeclaration:{this.stateInDeclaration(e);break}case N.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case N.BeforeComment:{this.stateBeforeComment(e);break}case N.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case N.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===N.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===N.InCommentLike?this.currentSequence===RA.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===N.InTagName||this.state===N.BeforeAttributeName||this.state===N.BeforeAttributeValue||this.state===N.AfterAttributeName||this.state===N.InAttributeName||this.state===N.InAttributeValueSq||this.state===N.InAttributeValueDq||this.state===N.InAttributeValueNq||this.state===N.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==N.Text&&this.baseState!==N.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}};const Ut=new Set(["input","option","optgroup","select","button","datalist","textarea"]),oA=new Set(["p"]),fu=new Set(["thead","tbody"]),hu=new Set(["dd","dt"]),Bu=new Set(["rt","rp"]),op=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",oA],["h1",oA],["h2",oA],["h3",oA],["h4",oA],["h5",oA],["h6",oA],["select",Ut],["input",Ut],["output",Ut],["button",Ut],["datalist",Ut],["textarea",Ut],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",hu],["dt",hu],["address",oA],["article",oA],["aside",oA],["blockquote",oA],["details",oA],["div",oA],["dl",oA],["fieldset",oA],["figcaption",oA],["figure",oA],["footer",oA],["form",oA],["header",oA],["hr",oA],["main",oA],["nav",oA],["ol",oA],["pre",oA],["section",oA],["table",oA],["ul",oA],["rt",Bu],["rp",Bu],["tbody",fu],["tfoot",fu]]),up=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),gu=new Set(["math","svg"]),pu=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),cp=/\s|\//;let lp=class{constructor(e,t={}){var r,n,a,i,o,u;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(r=t.lowerCaseTags)!==null&&r!==void 0?r:this.htmlMode,this.lowerCaseAttributeNames=(n=t.lowerCaseAttributeNames)!==null&&n!==void 0?n:this.htmlMode,this.recognizeSelfClosing=(a=t.recognizeSelfClosing)!==null&&a!==void 0?a:!this.htmlMode,this.tokenizer=new((i=t.Tokenizer)!==null&&i!==void 0?i:sp)(this.options,this),this.foreignContext=[!this.htmlMode],(u=(o=this.cbs).onparserinit)===null||u===void 0||u.call(o,this)}ontext(e,t){var r,n;const a=this.getSlice(e,t);this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,a),this.startIndex=t}ontextentity(e,t){var r,n;this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,Ua(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&up.has(e)}onopentagname(e,t){this.endIndex=t;let r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)}emitOpenTag(e){var t,r,n,a;this.openTagStart=this.startIndex,this.tagname=e;const i=this.htmlMode&&op.get(e);if(i)for(;this.stack.length>0&&i.has(this.stack[0]);){const o=this.stack.shift();(r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,o,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(gu.has(e)?this.foreignContext.unshift(!0):pu.has(e)&&this.foreignContext.unshift(!1))),(a=(n=this.cbs).onopentagname)===null||a===void 0||a.call(n,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&((r=(t=this.cbs).onopentag)===null||r===void 0||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var r,n,a,i,o,u,l,d;this.endIndex=t;let f=this.getSlice(e,t);if(this.lowerCaseTagNames&&(f=f.toLowerCase()),this.htmlMode&&(gu.has(f)||pu.has(f))&&this.foreignContext.shift(),this.isVoidElement(f))this.htmlMode&&f==="br"&&((i=(a=this.cbs).onopentagname)===null||i===void 0||i.call(a,"br"),(u=(o=this.cbs).onopentag)===null||u===void 0||u.call(o,"br",{},!0),(d=(l=this.cbs).onclosetag)===null||d===void 0||d.call(l,"br",!1));else{const h=this.stack.indexOf(f);if(h!==-1)for(let C=0;C<=h;C++){const m=this.stack.shift();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,m,C!==h)}else this.htmlMode&&f==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,r;const n=this.tagname;this.endOpenTag(e),this.stack[0]===n&&((r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,n,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;const r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=Ua(e)}onattribend(e,t){var r,n;this.endIndex=t,(n=(r=this.cbs).onattribute)===null||n===void 0||n.call(r,this.attribname,this.attribvalue,e===be.Double?'"':e===be.Single?"'":e===be.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){const t=e.search(cp);let r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${n}`,`!${r}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${n}`,`?${r}`)}this.startIndex=t+1}oncomment(e,t,r){var n,a,i,o;this.endIndex=t,(a=(n=this.cbs).oncomment)===null||a===void 0||a.call(n,this.getSlice(e,t-r)),(o=(i=this.cbs).oncommentend)===null||o===void 0||o.call(i),this.startIndex=t+1}oncdata(e,t,r){var n,a,i,o,u,l,d,f,h,C;this.endIndex=t;const m=this.getSlice(e,t-r);!this.htmlMode||this.options.recognizeCDATA?((a=(n=this.cbs).oncdatastart)===null||a===void 0||a.call(n),(o=(i=this.cbs).ontext)===null||o===void 0||o.call(i,m),(l=(u=this.cbs).oncdataend)===null||l===void 0||l.call(u)):((f=(d=this.cbs).oncomment)===null||f===void 0||f.call(d,`[CDATA[${m}]]`),(C=(h=this.cbs).oncommentend)===null||C===void 0||C.call(h)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=0;r<this.stack.length;r++)this.cbs.onclosetag(this.stack[r],!0)}(t=(e=this.cbs).onend)===null||t===void 0||t.call(e)}reset(){var e,t,r,n;(t=(e=this.cbs).onreset)===null||t===void 0||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(r=this.cbs).onparserinit)===null||n===void 0||n.call(r,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}};function dp(A,e){const t=new f0(void 0,e);return new lp(t,e).end(A),t.root}const fp=Kf((A,e,t,r)=>e._useHtmlParser2?dp(A,e):rp(A,e,t,r)),Eu=wh(fp,(A,e)=>e._useHtmlParser2?Gr(A,e):ap(A));var Y=(A=>(A[A.None=0]="None",A[A.Text=1]="Text",A[A.Image=2]="Image",A[A.Video=3]="Video",A[A.Icon=4]="Icon",A[A.Link=5]="Link",A[A.Button=6]="Button",A[A.Block=10]="Block",A))(Y||{}),Be;(A=>{A.THEME_TEXT_COLOR_CLASS="gp-designer-theme-text",A.THEME_BUTTON_COLOR_CLASS="gp-designer-theme-button",A.THEME_ICON_COLOR_CLASS="gp-designer-theme-icon",A.THEME_COLOR="#3574e6"})(Be||(Be={}));const hp=c.defineComponent({name:"GpMessage",props:{message:{type:String,required:!0},type:{type:String,default:"info"},position:{type:String,default:"top-right"},duration:{type:Number,default:3e3},onClose:{type:Function,required:!0},icon:{type:Boolean,default:!0}},setup(A){const e=c.ref(!1),t=c.computed(()=>({success:"bg-green-100 text-green-800",error:"bg-red-100 text-red-800",info:"bg-blue-100 text-blue-800",warning:"bg-yellow-100 text-yellow-800"})[A.type]),r=()=>{e.value=!1,A.onClose()};return setTimeout(()=>{r()},A.duration),e.value=!0,{visible:e,typeClass:t,closeMessage:r}}}),Ke=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},Bp={key:0,class:"gp-message"},gp={key:0,class:"mr-2"},pp={key:0,class:"text-green-500"},Ep={key:1,class:"text-red-500"},mp={key:2,class:"text-blue-500"},Cp={key:3,class:"text-yellow-500"};function wp(A,e,t,r,n,a){return c.openBlock(),c.createBlock(c.Transition,{name:"fade"},{default:c.withCtx(()=>[A.visible?(c.openBlock(),c.createElementBlock("div",Bp,[c.createElementVNode("div",{class:c.normalizeClass([A.typeClass,"message-content"])},[A.icon?(c.openBlock(),c.createElementBlock("span",gp,[c.renderSlot(A.$slots,"icon",{},()=>[A.type==="success"?(c.openBlock(),c.createElementBlock("span",pp,"✔")):c.createCommentVNode("",!0),A.type==="error"?(c.openBlock(),c.createElementBlock("span",Ep,"✖")):c.createCommentVNode("",!0),A.type==="info"?(c.openBlock(),c.createElementBlock("span",mp,"ℹ")):c.createCommentVNode("",!0),A.type==="warning"?(c.openBlock(),c.createElementBlock("span",Cp,"⚠")):c.createCommentVNode("",!0)],!0)])):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(A.message),1),c.createElementVNode("button",{class:"close-btn hover:text-gray-800 font-bold",onClick:e[0]||(e[0]=(...i)=>A.closeMessage&&A.closeMessage(...i))}," × ")],2)])):c.createCommentVNode("",!0)]),_:3})}const bp=Ke(hp,[["render",wp],["__scopeId","data-v-a234b03c"]]),Qt=c.reactive([]);let si=null;const Tp=()=>{const A=document.createElement("div");return A.id="global-message-container",document.body.appendChild(A),A},Up=()=>{if(si)return;const A=Tp();si=c.createApp({setup(){return{messageQueue:Qt}},render(){const e=c.computed(()=>{var r;return{"top-left":"top-4 left-4","top-right":"top-4 right-4","bottom-left":"bottom-4 left-4","bottom-right":"bottom-4 right-4","top-center":"top-4 left-1/2 transform -translate-x-1/2","bottom-center":"bottom-4 left-1/2 transform -translate-x-1/2"}[((r=Qt[0])==null?void 0:r.options.position)||"top-right"]});return c.h("div",{class:`fixed flex flex-col gap-2 ${e.value}`,style:{zIndex:999999}},Qt.map(t=>c.h(bp,{key:t.id,...t.options,onClose:()=>mu(t.id)})))}}),si.mount(A)},mu=A=>{const e=Qt.findIndex(t=>t.id===A);e!==-1&&Qt.splice(e,1)};let Qp=0;const z=A=>{Up();const e=Qp++;Qt.push({id:e,options:A}),setTimeout(()=>{mu(e)},A.duration||3e3)};z.success=(A,e=3e3,t=!0)=>{z(typeof A=="string"?{message:A,type:"success",duration:e,icon:t}:{...A,type:"success"})},z.error=(A,e=3e3,t=!0)=>{z(typeof A=="string"?{message:A,type:"error",duration:e,icon:t}:{...A,type:"error"})},z.info=(A,e=3e3,t=!0)=>{z(typeof A=="string"?{message:A,type:"info",duration:e,icon:t}:{...A,type:"info"})},z.warning=(A,e=3e3,t=!0)=>{z(typeof A=="string"?{message:A,type:"warning",duration:e,icon:t}:{...A,type:"warning"})};const Fp=["onClick"],Ip={key:2,"date-action":"1",contenteditable:"false",class:"text-red-500 text-xs mt-1"},yp=Ke(c.defineComponent({__name:"ElementRenderer",props:{element:{type:Object,required:!0},selectedElement:Object,hoveredElement:Object,uploadByFile:{type:Function,required:!1},icons:{type:Array,default:()=>[]},mode:{type:String,default:"edit"},cropper:{type:Object,required:!1},icon:{type:Object,required:!1},upload:{type:Object,required:!1},r:{type:String,required:!1},showMargin:{type:Boolean,default:!1}},emits:["selectElement","hoverElement","updateText","contentUpdated","blockAction","addIcon","updateElementRule"],setup(A,{emit:e}){const t=A,r=e,n=c.computed(()=>{var _;const y=t.element.editText||t.element.text;return t.element.rule&&t.element.rule.allowWrap?(_=y==null?void 0:y.replace(/\n/g,"<br>"))==null?void 0:_.replace(/ /g,"&nbsp;"):y}),a=c.computed(()=>t.selectedElement===t.element),i=c.computed(()=>t.hoveredElement===t.element),o=c.ref(!1),u=c.ref(!1),l=c.ref(""),d=c.computed(()=>t.element.rule.minText||0),f=c.computed(()=>t.element.rule.maxText||1/0),h=y=>{let _="";if(y.children&&y.children.length&&y.children[0].type===Y.Block){const j=y.children[0].rule.flexColumn||y.children[0].rule.mobileFlexColumn;Math.min(j,y.children.length)&&(_+=" flex pc:justify-center flex-wrap ",y.children[0].rule.mobileFlexColumn?_+=" justify-center ":_+=" gp-designer-m-swiper swiper-wrapper justify-normal ")}if(y.type===Y.Block){const j=y.rule.flexColumn,CA=y.rule.mobileFlexColumn;(CA||j)&&(_+=" box-border "),CA>1&&CA<=12?_+=` basis-1/${CA} `:CA==1?_+=" basis-full ":CA||(_+=" gp-designer-m-swiper-slide swiper-slide "),j>1&&j<=12?_+=` pc:basis-1/${j} `:j==1&&(_+=" pc:basis-full ")}if((y.type==Y.Button||y.type==Y.Link)&&y.rule.openMeiqia&&(_+=" gp-designer-meiqia "),y.rule.isThemeColor&&t.element.type===Y.Text?_+=" "+Be.THEME_TEXT_COLOR_CLASS+" ":y.rule.isThemeColor&&t.element.type===Y.Button?_+=" "+Be.THEME_BUTTON_COLOR_CLASS+" ":y.rule.isThemeColor&&t.element.type===Y.Icon&&(_+=" "+Be.THEME_ICON_COLOR_CLASS+" "),y.attrs.class){var tA=y.attrs.class.split(" ").filter(j=>j);tA.length&&(_=_.split(" ").filter(j=>!tA.includes(j)).join(" "))}return _};c.watch(()=>t.r,()=>{r("contentUpdated",H())},{immediate:!0});function C(y){y.xpath!="/div[1]"&&t.mode!=="preview"&&(t.mode==="edit"?y.type===Y.Text&&r("selectElement",y):r("selectElement",y),!y.rule.isReadOnly&&y.type===Y.Text&&(o.value=!0))}function m(y){r("selectElement",y)}function T(y,_){r("hoverElement",y,_)}function Q(y){r("hoverElement",y)}function b(y){y.currentTarget.contains(y.relatedTarget)?r("hoverElement",null):t.hoveredElement?r("hoverElement",null,t.hoveredElement.parentxpath):r("hoverElement",null)}function v(){o.value=!1,r("contentUpdated",H())}function H(){function y(tA){var V;const j=tA;if(j.tag==="br")return"";const CA=j.rule.isThemeColor&&j.type==Y.Text?Be.THEME_TEXT_COLOR_CLASS:j.rule.isThemeColor&&j.type==Y.Button?Be.THEME_BUTTON_COLOR_CLASS:j.rule.isThemeColor&&j.type==Y.Icon?Be.THEME_ICON_COLOR_CLASS:"";CA?j.attrs.class&&!j.attrs.class.includes(CA)?j.attrs.class=j.attrs.class?j.attrs.class+" "+CA:CA:j.attrs.class||(j.attrs.class=CA):j.attrs.class=(V=j.attrs.class)==null?void 0:V.replace(new RegExp(`${Be.THEME_TEXT_COLOR_CLASS}|${Be.THEME_BUTTON_COLOR_CLASS}|${Be.THEME_ICON_COLOR_CLASS}`,"g"),"");const et={class:j.attrs.class||""},Pr=h(j);Pr&&(et.class+=" "+Pr);let Gt=Object.entries(tA.attrs||{}).filter(([iA,BA])=>iA!=="class").map(([iA,BA])=>`${iA}="${BA}"`).join(" ");const Yt=Object.entries(et||{}).map(([iA,BA])=>`${iA}="${BA.trim()}"`).join(" ");Gt+=Yt;const me=`<${tA.tag}${Gt?" "+Gt:""}>`,bs=`</${tA.tag}>`,F=(tA.children||[]).map(iA=>y(iA)).join("");let x=tA.editText||tA.text||"";return x=x.replace(/\r\n/g,`
9
- `).replace(/\n/g,"<br>"),`${me}${x}${F}${bs}`}return y(t.element)}function K(y){var CA,et;y.preventDefault(),y.stopPropagation();let _=((CA=y.clipboardData)==null?void 0:CA.getData("text/plain"))||"";(et=t.element.rule)!=null&&et.allowWrap?(_=_==null?void 0:_.replace(/\n/g,"<br>"),document.execCommand("insertHTML",!1,_)):(_=_==null?void 0:_.replace(/\n/g," "),document.execCommand("insertText",!1,_));const tA=y.target,j=tA.innerText||tA.textContent||"";D(j)}function L(y){var _;y.key==="Enter"&&(y.preventDefault(),y.stopPropagation(),(_=t.element.rule)!=null&&_.allowWrap?document.execCommand("insertLineBreak"):z.error("当前节点不允许换行"))}function E(y){y.stopPropagation();const _=y.target,tA=_.innerText||_.textContent||"";D(tA)}function D(y){if(y.length<d.value){u.value=!0,l.value=`最少输入 ${d.value} 个字符`;return}else if(y.length>f.value){u.value=!0,l.value=`最多输入 ${f.value} 个字符`;return}else u.value=!1,l.value="";r("updateText",{element:t.element,newText:y}),r("contentUpdated",H());const _=c.toRaw(t.element);_.editText=y}function R(y){r("updateText",y),r("contentUpdated",H())}function k(){const y={...t.element};r("blockAction",{action:"add",element:t.element,newBlock:y})}function eA(){cA(t.element),r("blockAction",{action:"moveUp",element:t.element})}function cA(y){y.children&&y.children.length>0&&y.children.forEach(_=>{_.type==Y.Text&&(_.text!==_.editText&&(_.text=_.editText),cA(_))})}function hA(){cA(t.element),r("blockAction",{action:"moveDown",element:t.element})}function q(){r("blockAction",{action:"delete",element:t.element})}function nA(y){r("blockAction",y),r("contentUpdated",H())}function lA(y){_A.value.openModal(y)}function dA(y){WA.value.openModal(y)}function TA(y,_){r("addIcon",y,_),r("contentUpdated",H())}function qA(y){r("updateElementRule",y)}const _A=c.ref(t.icon);c.watch(()=>t.icon,y=>{_A.value=y},{immediate:!0});const WA=c.ref(t.upload);c.watch(()=>t.upload,y=>{WA.value=y},{immediate:!0});const jA=c.computed(()=>{const y=h(t.element);return t.element.css=y,y}),OA=(y,_)=>{_.children&&_.children.length&&_.children[0].type===Y.Block&&_.children.map(tA=>{tA.rule.flexColumn=y}),r("updateElementRule",_)},PA=c.computed(()=>{let y="";if(t.mode==="design"){const _=t.element;if(_.type===Y.Block){const tA=_.rule.flexColumn;tA>1&&tA<=12&&(y+=`flex-basis: calc(100% / ${tA} - 10px);`)}}return y}),KA=c.ref(null);return(y,_)=>{const tA=c.resolveComponent("ElementRenderer",!0);return c.openBlock(),c.createElementBlock(c.Fragment,null,[t.element.type==c.unref(Y).Text?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:0,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",i.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",u.value?"border-dashed border-red-500":"",(!i.value&&!a.value&&!u.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",jA.value],style:PA.value},t.element.attrs,{contenteditable:o.value&&t.element.type==c.unref(Y).Text&&a.value&&!t.element.rule.isReadOnly&&!t.element.rule.allowWrap,onClick:_[0]||(_[0]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:_[1]||(_[1]=()=>Q(t.element)),onMouseleave:b,onBlur:v,onInput:E,onPaste:K,onKeydown:c.withModifiers(L,["stop"]),ref_key:"elementRef",ref:KA,innerHTML:n.value}),null,16,["class","style","contenteditable","innerHTML"])):(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:1,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",i.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",u.value?"border-dashed border-red-500":"",(!i.value&&!a.value&&!u.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",jA.value],style:PA.value},t.element.attrs,{contenteditable:!1,onClick:_[5]||(_[5]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:_[6]||(_[6]=()=>Q(t.element)),onMouseleave:b,onBlur:v,onInput:E,onPaste:K,onKeydown:c.withModifiers(L,["stop"]),ref_key:"elementRef",ref:KA}),{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.value)+" ",1),t.element.children&&t.element.children.length?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children,(j,CA)=>(c.openBlock(),c.createBlock(tA,{"show-margin":A.showMargin,key:CA,r:A.r,mode:A.mode,icons:A.icons,element:j,selectedElement:t.selectedElement,hoveredElement:t.hoveredElement,cropper:A.cropper,icon:A.icon,upload:A.upload,"upload-by-file":A.uploadByFile,onSelectElement:m,onHoverElement:T,onUpdateText:R,onBlockAction:nA,onAddIcon:TA,onUpdateElementRule:()=>qA(j)},null,8,["show-margin","r","mode","icons","element","selectedElement","hoveredElement","cropper","icon","upload","upload-by-file","onUpdateElementRule"]))),128)),t.element.type===c.unref(Y).Block?(c.openBlock(),c.createElementBlock("div",{key:0,"date-action":"1",contenteditable:"false",onClick:_[2]||(_[2]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute left-2 top-2 text-sm"},[c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-green-500/80 text-white rounded hover:bg-green-500",onClick:c.withModifiers(k,["stop"])},_[9]||(_[9]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("rect",{width:"336",height:"336",x:"128",y:"128",fill:"none",stroke:"white","stroke-linejoin":"round","stroke-width":"32",rx:"57",ry:"57"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m383.5 128l.5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(eA,["stop"])},_[10]||(_[10]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144M120 256h292"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(hA,["stop"])},_[11]||(_[11]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"m268 112l144 144l-144 144m124-144H100"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-red-500/80 text-white rounded hover:bg-red-500",onClick:c.withModifiers(q,["stop"])},_[12]||(_[12]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"})],-1)]))])):c.createCommentVNode("",!0),t.element.children&&t.element.children.length&&t.element.children[0].type===c.unref(Y).Block&&t.element.children[0].rule&&t.element.children[0].rule.flexColumns&&t.element.children[0].rule.flexColumns.length>0?(c.openBlock(),c.createElementBlock("div",{key:1,"date-action":"1",contenteditable:"false",onClick:_[3]||(_[3]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute right-0 -top-6 items-center"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children[0].rule.flexColumns,(j,CA)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["text-xs w-6 h-6 flex-none content-center items-center justify-center bg-purple-400/80 text-white rounded hover:bg-purple-600",t.element.children[0].rule.flexColumn===j?"bg-purple-700":""]),onClick:c.withModifiers(()=>OA(j,t.element),["stop"])},c.toDisplayString(j),11,Fp))),256))])):c.createCommentVNode("",!0)],64)):c.createCommentVNode("",!0),t.element.type===c.unref(Y).Icon?(c.openBlock(),c.createElementBlock("div",{key:1,class:"cursor-pointer rounded-sm w-5 h-5 flex justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",contenteditable:"false",onClick:_[4]||(_[4]=c.withModifiers(()=>lA(t.element),["stop"]))},_[13]||(_[13]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))):c.createCommentVNode("",!0)]),_:1},16,["class","style"])),t.element.type==c.unref(Y).Text&&u.value?(c.openBlock(),c.createElementBlock("div",Ip,c.toDisplayString(l.value),1)):c.createCommentVNode("",!0),t.element.type===c.unref(Y).Image?(c.openBlock(),c.createElementBlock("div",{key:3,class:"cursor-pointer rounded-sm flex justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",onClick:_[8]||(_[8]=c.withModifiers(()=>{},["stop"])),contenteditable:"false"},[c.createElementVNode("div",{class:"p-1",onClick:_[7]||(_[7]=c.withModifiers(()=>dA(t.element),["stop"]))},_[14]||(_[14]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))])):c.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-3a877c04"]]),xp=c.defineComponent({name:"GpCheckbox",props:{modelValue:{type:Boolean,required:!0},label:{type:String,default:""}},emits:["update:modelValue"],setup(A,{emit:e}){return{updateValue:r=>{e("update:modelValue",r.target.checked)}}}}),vp={class:"form-group"},_p={class:"flex items-center space-x-2 cursor-pointer"},Np=["checked","aria-checked"],Sp={class:"checkbox-label text-sm text-gray-700"};function Lp(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",vp,[c.createElementVNode("label",_p,[c.createElementVNode("input",{type:"checkbox",checked:A.modelValue,onChange:e[0]||(e[0]=(...i)=>A.updateValue&&A.updateValue(...i)),class:"custom-checkbox","aria-checked":A.modelValue},null,40,Np),c.createElementVNode("span",Sp,c.toDisplayString(A.label),1)])])}const Ft=Ke(xp,[["render",Lp],["__scopeId","data-v-68b8f276"]]),Hp={class:"text-sm"},Dp={key:0},Op={key:0},Rp={class:"text-gray-500 my-2 truncate"},Mp={class:"text-gray-500 my-2 break-words"},kp={key:1},Pp={key:2},Kp={key:3},Vp={key:4},Gp={key:5},Yp={key:6},Xp={key:7},Wp={key:8},Jp={key:9},qp={key:10},jp={key:11},zp={key:12},$p={key:13},Zp=Ke(c.defineComponent({__name:"EditorPanel",props:{element:Object},emits:["updateElement"],setup(A,{emit:e}){const t=A,r=e,n=c.ref({rule:{},...t.element});c.watch(()=>t.element,i=>{n.value={rule:{},...i}},{immediate:!0});function a(){var i;if(n.value.type===Y.Icon&&!n.value.attrs.class.includes("iconfont")){z.error("图标仅支持 iconfont 图标");return}if(n.value.type===Y.Image&&n.value.tag!=="img"){z.error("节点类型错误");return}if(n.value.type===Y.Video&&n.value.tag!=="video"){z.error("节点类型错误");return}if(n.value.type===Y.Link&&n.value.tag!=="a"){z.error("节点类型错误");return}if(n.value.type===Y.Text){if(Number(n.value.rule.minText)>Number(n.value.rule.maxText)){z.error("最小文本长度不能大于最大文本长度");return}if(n.value.tag!=="p"&&n.value.tag!=="div"&&n.value.tag!=="span"&&n.value.tag!=="h1"&&n.value.tag!=="h2"&&n.value.tag!=="h3"&&n.value.tag!=="h4"&&n.value.tag!=="h5"&&n.value.tag!=="h6"&&n.value.tag!=="label"&&n.value.tag!=="strong"&&n.value.tag!=="em"&&n.value.tag!=="b"&&n.value.tag!=="i"&&n.value.tag!=="ul"&&n.value.tag!=="ol"&&n.value.tag!=="li"&&n.value.tag!=="dl"&&n.value.tag!=="dt"&&n.value.tag!=="dd"){z.error("节点类型错误");return}}if(n.value.type===Y.Block){if(Number(n.value.rule.minBlock)>Number(n.value.rule.maxBlock)){z.error("最小块数量不能大于最大块数量");return}if(n.value.tag!=="div"&&n.value.tag!=="section"&&n.value.tag!=="article"&&n.value.tag!=="nav"&&n.value.tag!=="header"&&n.value.tag!=="footer"&&n.value.tag!=="span"&&n.value.tag!=="p"&&n.value.tag!=="img"){z.error("节点类型错误");return}if(!n.value.children||n.value.children.length<1){z.error("节点错误,必须包含子元素");return}!n.value.rule.flexColumn&&((i=n.value.rule.flexColumns)==null?void 0:i.length)>0&&(n.value.rule.flexColumn=n.value.rule.flexColumns[0])}n.value.rule.minText?n.value.rule.minText=Number(n.value.rule.minText):n.value.rule.minText=void 0,n.value.rule.maxText?n.value.rule.maxText=Number(n.value.rule.maxText):n.value.rule.maxText=void 0,n.value.rule.minBlock?n.value.rule.minBlock=Number(n.value.rule.minBlock):n.value.rule.minBlock=void 0,n.value.rule.maxBlock?n.value.rule.maxBlock=Number(n.value.rule.maxBlock):n.value.rule.maxBlock=void 0,n.value.rule.flexColumn?n.value.rule.flexColumn=Number(n.value.rule.flexColumn):n.value.rule.flexColumn=void 0,n.value.rule.mobileFlexColumn?n.value.rule.mobileFlexColumn=Number(n.value.rule.mobileFlexColumn):n.value.rule.mobileFlexColumn=void 0,r("updateElement",n.value)}return(i,o)=>(c.openBlock(),c.createElementBlock("div",Hp,[n.value?(c.openBlock(),c.createElementBlock("div",Dp,[n.value.text!==void 0?(c.openBlock(),c.createElementBlock("div",Op,[o[16]||(o[16]=c.createElementVNode("label",{class:"block"},"内容",-1)),c.createElementVNode("div",Rp,c.toDisplayString(n.value.text||"-"),1)])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[o[17]||(o[17]=c.createElementVNode("label",{class:"block mt-4"},"节点",-1)),c.createElementVNode("div",Mp,c.toDisplayString(n.value.xpath),1)]),c.createElementVNode("div",null,[o[19]||(o[19]=c.createElementVNode("label",{class:"block mt-4"},"类型",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":o[0]||(o[0]=u=>n.value.type=u),class:"border rounded p-1 w-full"},o[18]||(o[18]=[c.createElementVNode("option",{value:0},"无",-1),c.createElementVNode("option",{value:1},"文本",-1),c.createElementVNode("option",{value:2},"图片",-1),c.createElementVNode("option",{value:3},"视频",-1),c.createElementVNode("option",{value:4},"图标",-1),c.createElementVNode("option",{value:5},"链接",-1),c.createElementVNode("option",{value:6},"按钮",-1),c.createElementVNode("option",{value:10},"块",-1)]),512),[[c.vModelSelect,n.value.type]])]),n.value.type==c.unref(Y).Text?(c.openBlock(),c.createElementBlock("div",kp,[o[20]||(o[20]=c.createElementVNode("label",{class:"block mt-4"},"最小文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[1]||(o[1]=u=>n.value.rule.minText=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Text?(c.openBlock(),c.createElementBlock("div",Pp,[o[21]||(o[21]=c.createElementVNode("label",{class:"block mt-4"},"最大文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[2]||(o[2]=u=>n.value.rule.maxText=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Image?(c.openBlock(),c.createElementBlock("div",Kp,[o[22]||(o[22]=c.createElementVNode("label",{class:"block mt-4"},"是否裁剪",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.crop,"onUpdate:modelValue":o[3]||(o[3]=u=>n.value.rule.crop=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Image?(c.openBlock(),c.createElementBlock("div",Vp,[o[23]||(o[23]=c.createElementVNode("label",{class:"block mt-4"},"图片宽度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[4]||(o[4]=u=>n.value.rule.minImageWidth=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minImageWidth]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Image?(c.openBlock(),c.createElementBlock("div",Gp,[o[24]||(o[24]=c.createElementVNode("label",{class:"block mt-4"},"图片高度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[5]||(o[5]=u=>n.value.rule.maxImageHeight=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxImageHeight]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Block?(c.openBlock(),c.createElementBlock("div",Yp,[o[25]||(o[25]=c.createElementVNode("label",{class:"block mt-4"},"块最小数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[6]||(o[6]=u=>n.value.rule.minBlock=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Block?(c.openBlock(),c.createElementBlock("div",Xp,[o[26]||(o[26]=c.createElementVNode("label",{class:"block mt-4"},"块最大数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[7]||(o[7]=u=>n.value.rule.maxBlock=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Block?(c.openBlock(),c.createElementBlock("div",Wp,[o[28]||(o[28]=c.createElementVNode("label",{class:"block mt-4"},"PC端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{multiple:"","onUpdate:modelValue":o[8]||(o[8]=u=>n.value.rule.flexColumns=u),class:"border rounded p-1 w-full h-32"},o[27]||(o[27]=[c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1),c.createElementVNode("option",{value:7},"7",-1),c.createElementVNode("option",{value:8},"8",-1),c.createElementVNode("option",{value:9},"9",-1),c.createElementVNode("option",{value:10},"10",-1),c.createElementVNode("option",{value:11},"11",-1),c.createElementVNode("option",{value:12},"12",-1)]),512),[[c.vModelSelect,n.value.rule.flexColumns]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Block?(c.openBlock(),c.createElementBlock("div",Jp,[o[30]||(o[30]=c.createElementVNode("label",{class:"block mt-4"},"移动端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":o[9]||(o[9]=u=>n.value.rule.mobileFlexColumn=u),class:"border rounded p-1 w-full"},o[29]||(o[29]=[c.createElementVNode("option",{value:void 0},"无(轮播)",-1),c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1)]),512),[[c.vModelSelect,n.value.rule.mobileFlexColumn]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Text||n.value.type==c.unref(Y).Icon||n.value.type==c.unref(Y).Button?(c.openBlock(),c.createElementBlock("div",qp,[o[31]||(o[31]=c.createElementVNode("label",{class:"block mt-4"},"主题色",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.isThemeColor,"onUpdate:modelValue":o[10]||(o[10]=u=>n.value.rule.isThemeColor=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[o[32]||(o[32]=c.createElementVNode("label",{class:"block mt-4"},"是否必填",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.isRequired,"onUpdate:modelValue":o[11]||(o[11]=u=>n.value.rule.isRequired=u),label:"是"},null,8,["modelValue"])]),c.createElementVNode("div",null,[o[33]||(o[33]=c.createElementVNode("label",{class:"block mt-4"},"是否只读",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.isReadOnly,"onUpdate:modelValue":o[12]||(o[12]=u=>n.value.rule.isReadOnly=u),label:"是"},null,8,["modelValue"])]),n.value.type==c.unref(Y).Link||n.value.type==c.unref(Y).Button?(c.openBlock(),c.createElementBlock("div",jp,[o[34]||(o[34]=c.createElementVNode("label",{class:"block mt-4"},"打开美洽",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.openMeiqia,"onUpdate:modelValue":o[13]||(o[13]=u=>n.value.rule.openMeiqia=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Link||n.value.type==c.unref(Y).Button?(c.openBlock(),c.createElementBlock("div",zp,[o[35]||(o[35]=c.createElementVNode("label",{class:"block mt-4"},"链接",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[14]||(o[14]=u=>n.value.rule.linkUrl=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.linkUrl]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Text?(c.openBlock(),c.createElementBlock("div",$p,[o[36]||(o[36]=c.createElementVNode("label",{class:"block mt-4"},"允许换行(回车/粘贴多段文本等)",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.allowWrap,"onUpdate:modelValue":o[15]||(o[15]=u=>n.value.rule.allowWrap=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0),c.createElementVNode("button",{onClick:a,class:"mt-4 p-2 bg-green-500 text-white rounded"}," 保存 ")]))}}),[["__scopeId","data-v-30b99148"]]);/*!
8
+ `)}}).toArray()}const ph=Object.freeze(Object.defineProperty({__proto__:null,serialize:Bh,serializeArray:gh},Symbol.toStringTag,{value:"Module"}));function Eh(A){var e;return typeof A=="string"?{selector:A,value:"textContent"}:{selector:A.selector,value:(e=A.value)!==null&&e!==void 0?e:"textContent"}}function mh(A){const e={};for(const t in A){const r=A[t],n=Array.isArray(r),{selector:a,value:i}=Eh(n?r[0]:r),o=typeof i=="function"?i:typeof i=="string"?u=>this._make(u).prop(i):u=>this._make(u).extract(i);if(n)e[t]=this._findBySelector(a,Number.POSITIVE_INFINITY).map((u,l)=>o(l,t,e)).get();else{const u=this._findBySelector(a,1);e[t]=u.length>0?o(u[0],t,e):void 0}}return e}const Ch=Object.freeze(Object.defineProperty({__proto__:null,extract:mh},Symbol.toStringTag,{value:"Module"}));class tr{constructor(e,t,r){if(this.length=0,this.options=r,this._root=t,e){for(let n=0;n<e.length;n++)this[n]=e[n];this.length=e.length}}}tr.prototype.cheerio="[cheerio object]",tr.prototype.splice=Array.prototype.splice,tr.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(tr.prototype,Qd,Pf,uh,fh,ph,Ch);function wh(A,e){return function t(r,n,a=!0){if(r==null)throw new Error("cheerio.load() expects a string");const i=_a(n),o=A(r,i,a,null);class u extends tr{_make(f,h){const C=l(f,h);return C.prevObject=this,C}_parse(f,h,C,m){return A(f,h,C,m)}_render(f){return e(f,this.options)}}function l(d,f,h=o,C){if(d&&ye(d))return d;const m=_a(C,i),T=typeof h=="string"?[A(h,m,!1,null)]:"length"in h?h:[h],Q=ye(T)?T:new u(T,null,m);if(Q._root=Q,!d)return new u(void 0,Q,m);const b=typeof d=="string"&&Na(d)?A(d,m,!1,null).children:bh(d)?[d]:Array.isArray(d)?d:void 0,v=new u(b,Q,m);if(b)return v;if(typeof d!="string")throw new TypeError("Unexpected type of selector");let H=d;const K=f?typeof f=="string"?Na(f)?new u([A(f,m,!1,null)],Q,m):(H=`${f} ${H}`,Q):ye(f)?f:new u(Array.isArray(f)?f:[f],Q,m):Q;return K?K.find(H):v}return Object.assign(l,fd,{load:t,_root:o,_options:i,fn:u.prototype,prototype:u.prototype}),l}}function bh(A){return!!A.name||A.type==="root"||A.type==="text"||A.type==="comment"}const Th=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),gA="�";var B;(function(A){A[A.EOF=-1]="EOF",A[A.NULL=0]="NULL",A[A.TABULATION=9]="TABULATION",A[A.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",A[A.LINE_FEED=10]="LINE_FEED",A[A.FORM_FEED=12]="FORM_FEED",A[A.SPACE=32]="SPACE",A[A.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",A[A.QUOTATION_MARK=34]="QUOTATION_MARK",A[A.AMPERSAND=38]="AMPERSAND",A[A.APOSTROPHE=39]="APOSTROPHE",A[A.HYPHEN_MINUS=45]="HYPHEN_MINUS",A[A.SOLIDUS=47]="SOLIDUS",A[A.DIGIT_0=48]="DIGIT_0",A[A.DIGIT_9=57]="DIGIT_9",A[A.SEMICOLON=59]="SEMICOLON",A[A.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",A[A.EQUALS_SIGN=61]="EQUALS_SIGN",A[A.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",A[A.QUESTION_MARK=63]="QUESTION_MARK",A[A.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",A[A.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",A[A.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",A[A.GRAVE_ACCENT=96]="GRAVE_ACCENT",A[A.LATIN_SMALL_A=97]="LATIN_SMALL_A",A[A.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(B||(B={}));const $A={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Fo(A){return A>=55296&&A<=57343}function Uh(A){return A>=56320&&A<=57343}function Qh(A,e){return(A-55296)*1024+9216+e}function Io(A){return A!==32&&A!==10&&A!==13&&A!==9&&A!==12&&A>=1&&A<=31||A>=127&&A<=159}function yo(A){return A>=64976&&A<=65007||Th.has(A)}var U;(function(A){A.controlCharacterInInputStream="control-character-in-input-stream",A.noncharacterInInputStream="noncharacter-in-input-stream",A.surrogateInInputStream="surrogate-in-input-stream",A.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",A.endTagWithAttributes="end-tag-with-attributes",A.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",A.unexpectedSolidusInTag="unexpected-solidus-in-tag",A.unexpectedNullCharacter="unexpected-null-character",A.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",A.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",A.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",A.missingEndTagName="missing-end-tag-name",A.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",A.unknownNamedCharacterReference="unknown-named-character-reference",A.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",A.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",A.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",A.eofBeforeTagName="eof-before-tag-name",A.eofInTag="eof-in-tag",A.missingAttributeValue="missing-attribute-value",A.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",A.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",A.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",A.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",A.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",A.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",A.missingDoctypePublicIdentifier="missing-doctype-public-identifier",A.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",A.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",A.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",A.cdataInHtmlContent="cdata-in-html-content",A.incorrectlyOpenedComment="incorrectly-opened-comment",A.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",A.eofInDoctype="eof-in-doctype",A.nestedComment="nested-comment",A.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",A.eofInComment="eof-in-comment",A.incorrectlyClosedComment="incorrectly-closed-comment",A.eofInCdata="eof-in-cdata",A.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",A.nullCharacterReference="null-character-reference",A.surrogateCharacterReference="surrogate-character-reference",A.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",A.controlCharacterReference="control-character-reference",A.noncharacterCharacterReference="noncharacter-character-reference",A.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",A.missingDoctypeName="missing-doctype-name",A.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",A.duplicateAttribute="duplicate-attribute",A.nonConformingDoctype="non-conforming-doctype",A.missingDoctype="missing-doctype",A.misplacedDoctype="misplaced-doctype",A.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",A.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",A.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",A.openElementsLeftAfterEof="open-elements-left-after-eof",A.abandonedHeadElementChild="abandoned-head-element-child",A.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",A.nestedNoscriptInHead="nested-noscript-in-head",A.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(U||(U={}));const Fh=65536;class Ih{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Fh,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:r,col:n,offset:a}=this,i=n+t,o=a+t;return{code:e,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(Uh(t))return this.pos++,this._addGap(),Qh(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,B.EOF;return this._err(U.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let r=0;r<e.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==e.charCodeAt(r))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;const r=this.html.charCodeAt(t);return r===B.CARRIAGE_RETURN?B.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;let e=this.html.charCodeAt(this.pos);return e===B.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,B.LINE_FEED):e===B.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Fo(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===B.LINE_FEED||e===B.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Io(e)?this._err(U.controlCharacterInInputStream):yo(e)&&this._err(U.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var rA;(function(A){A[A.CHARACTER=0]="CHARACTER",A[A.NULL_CHARACTER=1]="NULL_CHARACTER",A[A.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",A[A.START_TAG=3]="START_TAG",A[A.END_TAG=4]="END_TAG",A[A.COMMENT=5]="COMMENT",A[A.DOCTYPE=6]="DOCTYPE",A[A.EOF=7]="EOF",A[A.HIBERNATION=8]="HIBERNATION"})(rA||(rA={}));function xo(A,e){for(let t=A.attrs.length-1;t>=0;t--)if(A.attrs[t].name===e)return A.attrs[t].value;return null}var I;(function(A){A.HTML="http://www.w3.org/1999/xhtml",A.MATHML="http://www.w3.org/1998/Math/MathML",A.SVG="http://www.w3.org/2000/svg",A.XLINK="http://www.w3.org/1999/xlink",A.XML="http://www.w3.org/XML/1998/namespace",A.XMLNS="http://www.w3.org/2000/xmlns/"})(I||(I={}));var ot;(function(A){A.TYPE="type",A.ACTION="action",A.ENCODING="encoding",A.PROMPT="prompt",A.NAME="name",A.COLOR="color",A.FACE="face",A.SIZE="size"})(ot||(ot={}));var re;(function(A){A.NO_QUIRKS="no-quirks",A.QUIRKS="quirks",A.LIMITED_QUIRKS="limited-quirks"})(re||(re={}));var w;(function(A){A.A="a",A.ADDRESS="address",A.ANNOTATION_XML="annotation-xml",A.APPLET="applet",A.AREA="area",A.ARTICLE="article",A.ASIDE="aside",A.B="b",A.BASE="base",A.BASEFONT="basefont",A.BGSOUND="bgsound",A.BIG="big",A.BLOCKQUOTE="blockquote",A.BODY="body",A.BR="br",A.BUTTON="button",A.CAPTION="caption",A.CENTER="center",A.CODE="code",A.COL="col",A.COLGROUP="colgroup",A.DD="dd",A.DESC="desc",A.DETAILS="details",A.DIALOG="dialog",A.DIR="dir",A.DIV="div",A.DL="dl",A.DT="dt",A.EM="em",A.EMBED="embed",A.FIELDSET="fieldset",A.FIGCAPTION="figcaption",A.FIGURE="figure",A.FONT="font",A.FOOTER="footer",A.FOREIGN_OBJECT="foreignObject",A.FORM="form",A.FRAME="frame",A.FRAMESET="frameset",A.H1="h1",A.H2="h2",A.H3="h3",A.H4="h4",A.H5="h5",A.H6="h6",A.HEAD="head",A.HEADER="header",A.HGROUP="hgroup",A.HR="hr",A.HTML="html",A.I="i",A.IMG="img",A.IMAGE="image",A.INPUT="input",A.IFRAME="iframe",A.KEYGEN="keygen",A.LABEL="label",A.LI="li",A.LINK="link",A.LISTING="listing",A.MAIN="main",A.MALIGNMARK="malignmark",A.MARQUEE="marquee",A.MATH="math",A.MENU="menu",A.META="meta",A.MGLYPH="mglyph",A.MI="mi",A.MO="mo",A.MN="mn",A.MS="ms",A.MTEXT="mtext",A.NAV="nav",A.NOBR="nobr",A.NOFRAMES="noframes",A.NOEMBED="noembed",A.NOSCRIPT="noscript",A.OBJECT="object",A.OL="ol",A.OPTGROUP="optgroup",A.OPTION="option",A.P="p",A.PARAM="param",A.PLAINTEXT="plaintext",A.PRE="pre",A.RB="rb",A.RP="rp",A.RT="rt",A.RTC="rtc",A.RUBY="ruby",A.S="s",A.SCRIPT="script",A.SEARCH="search",A.SECTION="section",A.SELECT="select",A.SOURCE="source",A.SMALL="small",A.SPAN="span",A.STRIKE="strike",A.STRONG="strong",A.STYLE="style",A.SUB="sub",A.SUMMARY="summary",A.SUP="sup",A.TABLE="table",A.TBODY="tbody",A.TEMPLATE="template",A.TEXTAREA="textarea",A.TFOOT="tfoot",A.TD="td",A.TH="th",A.THEAD="thead",A.TITLE="title",A.TR="tr",A.TRACK="track",A.TT="tt",A.U="u",A.UL="ul",A.SVG="svg",A.VAR="var",A.WBR="wbr",A.XMP="xmp"})(w||(w={}));var s;(function(A){A[A.UNKNOWN=0]="UNKNOWN",A[A.A=1]="A",A[A.ADDRESS=2]="ADDRESS",A[A.ANNOTATION_XML=3]="ANNOTATION_XML",A[A.APPLET=4]="APPLET",A[A.AREA=5]="AREA",A[A.ARTICLE=6]="ARTICLE",A[A.ASIDE=7]="ASIDE",A[A.B=8]="B",A[A.BASE=9]="BASE",A[A.BASEFONT=10]="BASEFONT",A[A.BGSOUND=11]="BGSOUND",A[A.BIG=12]="BIG",A[A.BLOCKQUOTE=13]="BLOCKQUOTE",A[A.BODY=14]="BODY",A[A.BR=15]="BR",A[A.BUTTON=16]="BUTTON",A[A.CAPTION=17]="CAPTION",A[A.CENTER=18]="CENTER",A[A.CODE=19]="CODE",A[A.COL=20]="COL",A[A.COLGROUP=21]="COLGROUP",A[A.DD=22]="DD",A[A.DESC=23]="DESC",A[A.DETAILS=24]="DETAILS",A[A.DIALOG=25]="DIALOG",A[A.DIR=26]="DIR",A[A.DIV=27]="DIV",A[A.DL=28]="DL",A[A.DT=29]="DT",A[A.EM=30]="EM",A[A.EMBED=31]="EMBED",A[A.FIELDSET=32]="FIELDSET",A[A.FIGCAPTION=33]="FIGCAPTION",A[A.FIGURE=34]="FIGURE",A[A.FONT=35]="FONT",A[A.FOOTER=36]="FOOTER",A[A.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",A[A.FORM=38]="FORM",A[A.FRAME=39]="FRAME",A[A.FRAMESET=40]="FRAMESET",A[A.H1=41]="H1",A[A.H2=42]="H2",A[A.H3=43]="H3",A[A.H4=44]="H4",A[A.H5=45]="H5",A[A.H6=46]="H6",A[A.HEAD=47]="HEAD",A[A.HEADER=48]="HEADER",A[A.HGROUP=49]="HGROUP",A[A.HR=50]="HR",A[A.HTML=51]="HTML",A[A.I=52]="I",A[A.IMG=53]="IMG",A[A.IMAGE=54]="IMAGE",A[A.INPUT=55]="INPUT",A[A.IFRAME=56]="IFRAME",A[A.KEYGEN=57]="KEYGEN",A[A.LABEL=58]="LABEL",A[A.LI=59]="LI",A[A.LINK=60]="LINK",A[A.LISTING=61]="LISTING",A[A.MAIN=62]="MAIN",A[A.MALIGNMARK=63]="MALIGNMARK",A[A.MARQUEE=64]="MARQUEE",A[A.MATH=65]="MATH",A[A.MENU=66]="MENU",A[A.META=67]="META",A[A.MGLYPH=68]="MGLYPH",A[A.MI=69]="MI",A[A.MO=70]="MO",A[A.MN=71]="MN",A[A.MS=72]="MS",A[A.MTEXT=73]="MTEXT",A[A.NAV=74]="NAV",A[A.NOBR=75]="NOBR",A[A.NOFRAMES=76]="NOFRAMES",A[A.NOEMBED=77]="NOEMBED",A[A.NOSCRIPT=78]="NOSCRIPT",A[A.OBJECT=79]="OBJECT",A[A.OL=80]="OL",A[A.OPTGROUP=81]="OPTGROUP",A[A.OPTION=82]="OPTION",A[A.P=83]="P",A[A.PARAM=84]="PARAM",A[A.PLAINTEXT=85]="PLAINTEXT",A[A.PRE=86]="PRE",A[A.RB=87]="RB",A[A.RP=88]="RP",A[A.RT=89]="RT",A[A.RTC=90]="RTC",A[A.RUBY=91]="RUBY",A[A.S=92]="S",A[A.SCRIPT=93]="SCRIPT",A[A.SEARCH=94]="SEARCH",A[A.SECTION=95]="SECTION",A[A.SELECT=96]="SELECT",A[A.SOURCE=97]="SOURCE",A[A.SMALL=98]="SMALL",A[A.SPAN=99]="SPAN",A[A.STRIKE=100]="STRIKE",A[A.STRONG=101]="STRONG",A[A.STYLE=102]="STYLE",A[A.SUB=103]="SUB",A[A.SUMMARY=104]="SUMMARY",A[A.SUP=105]="SUP",A[A.TABLE=106]="TABLE",A[A.TBODY=107]="TBODY",A[A.TEMPLATE=108]="TEMPLATE",A[A.TEXTAREA=109]="TEXTAREA",A[A.TFOOT=110]="TFOOT",A[A.TD=111]="TD",A[A.TH=112]="TH",A[A.THEAD=113]="THEAD",A[A.TITLE=114]="TITLE",A[A.TR=115]="TR",A[A.TRACK=116]="TRACK",A[A.TT=117]="TT",A[A.U=118]="U",A[A.UL=119]="UL",A[A.SVG=120]="SVG",A[A.VAR=121]="VAR",A[A.WBR=122]="WBR",A[A.XMP=123]="XMP"})(s||(s={}));const yh=new Map([[w.A,s.A],[w.ADDRESS,s.ADDRESS],[w.ANNOTATION_XML,s.ANNOTATION_XML],[w.APPLET,s.APPLET],[w.AREA,s.AREA],[w.ARTICLE,s.ARTICLE],[w.ASIDE,s.ASIDE],[w.B,s.B],[w.BASE,s.BASE],[w.BASEFONT,s.BASEFONT],[w.BGSOUND,s.BGSOUND],[w.BIG,s.BIG],[w.BLOCKQUOTE,s.BLOCKQUOTE],[w.BODY,s.BODY],[w.BR,s.BR],[w.BUTTON,s.BUTTON],[w.CAPTION,s.CAPTION],[w.CENTER,s.CENTER],[w.CODE,s.CODE],[w.COL,s.COL],[w.COLGROUP,s.COLGROUP],[w.DD,s.DD],[w.DESC,s.DESC],[w.DETAILS,s.DETAILS],[w.DIALOG,s.DIALOG],[w.DIR,s.DIR],[w.DIV,s.DIV],[w.DL,s.DL],[w.DT,s.DT],[w.EM,s.EM],[w.EMBED,s.EMBED],[w.FIELDSET,s.FIELDSET],[w.FIGCAPTION,s.FIGCAPTION],[w.FIGURE,s.FIGURE],[w.FONT,s.FONT],[w.FOOTER,s.FOOTER],[w.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[w.FORM,s.FORM],[w.FRAME,s.FRAME],[w.FRAMESET,s.FRAMESET],[w.H1,s.H1],[w.H2,s.H2],[w.H3,s.H3],[w.H4,s.H4],[w.H5,s.H5],[w.H6,s.H6],[w.HEAD,s.HEAD],[w.HEADER,s.HEADER],[w.HGROUP,s.HGROUP],[w.HR,s.HR],[w.HTML,s.HTML],[w.I,s.I],[w.IMG,s.IMG],[w.IMAGE,s.IMAGE],[w.INPUT,s.INPUT],[w.IFRAME,s.IFRAME],[w.KEYGEN,s.KEYGEN],[w.LABEL,s.LABEL],[w.LI,s.LI],[w.LINK,s.LINK],[w.LISTING,s.LISTING],[w.MAIN,s.MAIN],[w.MALIGNMARK,s.MALIGNMARK],[w.MARQUEE,s.MARQUEE],[w.MATH,s.MATH],[w.MENU,s.MENU],[w.META,s.META],[w.MGLYPH,s.MGLYPH],[w.MI,s.MI],[w.MO,s.MO],[w.MN,s.MN],[w.MS,s.MS],[w.MTEXT,s.MTEXT],[w.NAV,s.NAV],[w.NOBR,s.NOBR],[w.NOFRAMES,s.NOFRAMES],[w.NOEMBED,s.NOEMBED],[w.NOSCRIPT,s.NOSCRIPT],[w.OBJECT,s.OBJECT],[w.OL,s.OL],[w.OPTGROUP,s.OPTGROUP],[w.OPTION,s.OPTION],[w.P,s.P],[w.PARAM,s.PARAM],[w.PLAINTEXT,s.PLAINTEXT],[w.PRE,s.PRE],[w.RB,s.RB],[w.RP,s.RP],[w.RT,s.RT],[w.RTC,s.RTC],[w.RUBY,s.RUBY],[w.S,s.S],[w.SCRIPT,s.SCRIPT],[w.SEARCH,s.SEARCH],[w.SECTION,s.SECTION],[w.SELECT,s.SELECT],[w.SOURCE,s.SOURCE],[w.SMALL,s.SMALL],[w.SPAN,s.SPAN],[w.STRIKE,s.STRIKE],[w.STRONG,s.STRONG],[w.STYLE,s.STYLE],[w.SUB,s.SUB],[w.SUMMARY,s.SUMMARY],[w.SUP,s.SUP],[w.TABLE,s.TABLE],[w.TBODY,s.TBODY],[w.TEMPLATE,s.TEMPLATE],[w.TEXTAREA,s.TEXTAREA],[w.TFOOT,s.TFOOT],[w.TD,s.TD],[w.TH,s.TH],[w.THEAD,s.THEAD],[w.TITLE,s.TITLE],[w.TR,s.TR],[w.TRACK,s.TRACK],[w.TT,s.TT],[w.U,s.U],[w.UL,s.UL],[w.SVG,s.SVG],[w.VAR,s.VAR],[w.WBR,s.WBR],[w.XMP,s.XMP]]);function sn(A){var e;return(e=yh.get(A))!==null&&e!==void 0?e:s.UNKNOWN}const S=s,xh={[I.HTML]:new Set([S.ADDRESS,S.APPLET,S.AREA,S.ARTICLE,S.ASIDE,S.BASE,S.BASEFONT,S.BGSOUND,S.BLOCKQUOTE,S.BODY,S.BR,S.BUTTON,S.CAPTION,S.CENTER,S.COL,S.COLGROUP,S.DD,S.DETAILS,S.DIR,S.DIV,S.DL,S.DT,S.EMBED,S.FIELDSET,S.FIGCAPTION,S.FIGURE,S.FOOTER,S.FORM,S.FRAME,S.FRAMESET,S.H1,S.H2,S.H3,S.H4,S.H5,S.H6,S.HEAD,S.HEADER,S.HGROUP,S.HR,S.HTML,S.IFRAME,S.IMG,S.INPUT,S.LI,S.LINK,S.LISTING,S.MAIN,S.MARQUEE,S.MENU,S.META,S.NAV,S.NOEMBED,S.NOFRAMES,S.NOSCRIPT,S.OBJECT,S.OL,S.P,S.PARAM,S.PLAINTEXT,S.PRE,S.SCRIPT,S.SECTION,S.SELECT,S.SOURCE,S.STYLE,S.SUMMARY,S.TABLE,S.TBODY,S.TD,S.TEMPLATE,S.TEXTAREA,S.TFOOT,S.TH,S.THEAD,S.TITLE,S.TR,S.TRACK,S.UL,S.WBR,S.XMP]),[I.MATHML]:new Set([S.MI,S.MO,S.MN,S.MS,S.MTEXT,S.ANNOTATION_XML]),[I.SVG]:new Set([S.TITLE,S.FOREIGN_OBJECT,S.DESC]),[I.XLINK]:new Set,[I.XML]:new Set,[I.XMLNS]:new Set},$a=new Set([S.H1,S.H2,S.H3,S.H4,S.H5,S.H6]),vh=new Set([w.STYLE,w.SCRIPT,w.XMP,w.IFRAME,w.NOEMBED,w.NOFRAMES,w.PLAINTEXT]);function _h(A,e){return vh.has(A)||e&&A===w.NOSCRIPT}var g;(function(A){A[A.DATA=0]="DATA",A[A.RCDATA=1]="RCDATA",A[A.RAWTEXT=2]="RAWTEXT",A[A.SCRIPT_DATA=3]="SCRIPT_DATA",A[A.PLAINTEXT=4]="PLAINTEXT",A[A.TAG_OPEN=5]="TAG_OPEN",A[A.END_TAG_OPEN=6]="END_TAG_OPEN",A[A.TAG_NAME=7]="TAG_NAME",A[A.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",A[A.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",A[A.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",A[A.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",A[A.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",A[A.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",A[A.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",A[A.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",A[A.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",A[A.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",A[A.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",A[A.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",A[A.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",A[A.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",A[A.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",A[A.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",A[A.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",A[A.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",A[A.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",A[A.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",A[A.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",A[A.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",A[A.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",A[A.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",A[A.BOGUS_COMMENT=40]="BOGUS_COMMENT",A[A.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",A[A.COMMENT_START=42]="COMMENT_START",A[A.COMMENT_START_DASH=43]="COMMENT_START_DASH",A[A.COMMENT=44]="COMMENT",A[A.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",A[A.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",A[A.COMMENT_END_DASH=49]="COMMENT_END_DASH",A[A.COMMENT_END=50]="COMMENT_END",A[A.COMMENT_END_BANG=51]="COMMENT_END_BANG",A[A.DOCTYPE=52]="DOCTYPE",A[A.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",A[A.DOCTYPE_NAME=54]="DOCTYPE_NAME",A[A.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",A[A.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",A[A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",A[A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",A[A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",A[A.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",A[A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",A[A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",A[A.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",A[A.CDATA_SECTION=68]="CDATA_SECTION",A[A.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",A[A.CDATA_SECTION_END=70]="CDATA_SECTION_END",A[A.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",A[A.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(g||(g={}));const ZA={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function Nh(A){return A>=B.DIGIT_0&&A<=B.DIGIT_9}function rr(A){return A>=B.LATIN_CAPITAL_A&&A<=B.LATIN_CAPITAL_Z}function Sh(A){return A>=B.LATIN_SMALL_A&&A<=B.LATIN_SMALL_Z}function ke(A){return Sh(A)||rr(A)}function vo(A){return ke(A)||Nh(A)}function on(A){return A+32}function _o(A){return A===B.SPACE||A===B.LINE_FEED||A===B.TABULATION||A===B.FORM_FEED}function No(A){return _o(A)||A===B.SOLIDUS||A===B.GREATER_THAN_SIGN}function Lh(A){return A===B.NULL?U.nullCharacterReference:A>1114111?U.characterReferenceOutsideUnicodeRange:Fo(A)?U.surrogateCharacterReference:yo(A)?U.noncharacterCharacterReference:Io(A)||A===B.CARRIAGE_RETURN?U.controlCharacterReference:null}let Hh=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ih(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Fa(ba,(r,n)=>{this.preprocessor.pos=this.entityStartPos+n-1,this._flushCodePointConsumedAsCharacterReference(r)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(U.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(U.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const n=Lh(r);n&&this._err(n,1)}}:void 0)}_err(e,t=0){var r,n;(n=(r=this.handler).onParseError)===null||n===void 0||n.call(r,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:rA.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:rA.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:rA.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:rA.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const r=this.currentToken;if(xo(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const n=(e=(t=r.location).attrs)!==null&&e!==void 0?e:t.attrs=Object.create(null);n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(U.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=sn(e.tagName),e.type===rA.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(U.endTagWithAttributes),e.selfClosing&&this._err(U.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case rA.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case rA.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case rA.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:rA.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){const t=_o(e)?rA.WHITESPACE_CHARACTER:e===B.NULL?rA.NULL_CHARACTER:rA.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(rA.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=g.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ie.Attribute:ie.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case g.DATA:{this._stateData(e);break}case g.RCDATA:{this._stateRcdata(e);break}case g.RAWTEXT:{this._stateRawtext(e);break}case g.SCRIPT_DATA:{this._stateScriptData(e);break}case g.PLAINTEXT:{this._statePlaintext(e);break}case g.TAG_OPEN:{this._stateTagOpen(e);break}case g.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case g.TAG_NAME:{this._stateTagName(e);break}case g.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case g.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case g.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case g.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case g.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case g.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case g.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case g.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case g.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case g.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case g.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case g.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case g.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case g.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case g.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case g.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case g.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case g.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case g.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case g.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case g.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case g.BOGUS_COMMENT:{this._stateBogusComment(e);break}case g.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case g.COMMENT_START:{this._stateCommentStart(e);break}case g.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case g.COMMENT:{this._stateComment(e);break}case g.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case g.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case g.COMMENT_END:{this._stateCommentEnd(e);break}case g.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case g.DOCTYPE:{this._stateDoctype(e);break}case g.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case g.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case g.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case g.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case g.CDATA_SECTION:{this._stateCdataSection(e);break}case g.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case g.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case g.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case g.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.TAG_OPEN;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitCodePoint(e);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case B.AMPERSAND:{this._startCharacterReference();break}case B.LESS_THAN_SIGN:{this.state=g.RCDATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.RAWTEXT_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(ke(e))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.EXCLAMATION_MARK:{this.state=g.MARKUP_DECLARATION_OPEN;break}case B.SOLIDUS:{this.state=g.END_TAG_OPEN;break}case B.QUESTION_MARK:{this._err(U.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e);break}case B.EOF:{this._err(U.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(U.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(ke(e))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.GREATER_THAN_SIGN:{this._err(U.missingEndTagName),this.state=g.DATA;break}case B.EOF:{this._err(U.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(U.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.tagName+=gA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:t.tagName+=String.fromCodePoint(rr(e)?on(e):e)}}_stateRcdataLessThanSign(e){e===B.SOLIDUS?this.state=g.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){ke(e)?(this.state=g.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=g.BEFORE_ATTRIBUTE_NAME,!1;case B.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=g.SELF_CLOSING_START_TAG,!1;case B.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=g.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===B.SOLIDUS?this.state=g.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){ke(e)?(this.state=g.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case B.SOLIDUS:{this.state=g.SCRIPT_DATA_END_TAG_OPEN;break}case B.EXCLAMATION_MARK:{this.state=g.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=g.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){ke(e)?(this.state=g.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===B.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ke(e)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){ke(e)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith($A.SCRIPT,!1)&&No(this.preprocessor.peek($A.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<$A.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(gA);break}case B.EOF:{this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===B.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith($A.SCRIPT,!1)&&No(this.preprocessor.peek($A.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<$A.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._err(U.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=g.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this._leaveAttrName(),this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._leaveAttrName(),this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:{this._err(U.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.name+=gA;break}default:this.currentAttr.name+=String.fromCodePoint(rr(e)?on(e):e)}}_stateAfterAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.EQUALS_SIGN:{this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{this.state=g.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this.state=g.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingAttributeValue),this.state=g.DATA,this.emitCurrentTagToken();break}default:this.state=g.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=gA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case B.APOSTROPHE:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=gA;break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),this.currentAttr.value+=gA;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:case B.EQUALS_SIGN:case B.GRAVE_ACCENT:{this._err(U.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this._leaveAttrValue(),this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._err(U.missingWhitespaceBetweenAttributes),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case B.GREATER_THAN_SIGN:{const t=this.currentToken;t.selfClosing=!0,this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(U.eofInTag),this._emitEOFToken();break}default:this._err(U.unexpectedSolidusInTag),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this.emitCurrentComment(t),this._emitEOFToken();break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.data+=gA;break}default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch($A.DASH_DASH,!0)?(this._createCommentToken($A.DASH_DASH.length+1),this.state=g.COMMENT_START):this._consumeSequenceIfMatch($A.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation($A.DOCTYPE.length+1),this.state=g.DOCTYPE):this._consumeSequenceIfMatch($A.CDATA_START,!0)?this.inForeignNode?this.state=g.CDATA_SECTION:(this._err(U.cdataInHtmlContent),this._createCommentToken($A.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=g.BOGUS_COMMENT):this._ensureHibernation()||(this._err(U.incorrectlyOpenedComment),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_START_DASH;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptClosingOfEmptyComment),this.state=g.DATA;const t=this.currentToken;this.emitCurrentComment(t);break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptClosingOfEmptyComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END_DASH;break}case B.LESS_THAN_SIGN:{t.data+="<",this.state=g.COMMENT_LESS_THAN_SIGN;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.data+=gA;break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case B.EXCLAMATION_MARK:{t.data+="!",this.state=g.COMMENT_LESS_THAN_SIGN_BANG;break}case B.LESS_THAN_SIGN:{t.data+="<";break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=g.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=g.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==B.GREATER_THAN_SIGN&&e!==B.EOF&&this._err(U.nestedComment),this.state=g.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EXCLAMATION_MARK:{this.state=g.COMMENT_END_BANG;break}case B.HYPHEN_MINUS:{t.data+="-";break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{t.data+="--!",this.state=g.COMMENT_END_DASH;break}case B.GREATER_THAN_SIGN:{this._err(U.incorrectlyClosedComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(U.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--!",this.state=g.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case B.EOF:{this._err(U.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingWhitespaceBeforeDoctypeName),this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(rr(e))this._createDoctypeToken(String.fromCharCode(on(e))),this.state=g.DOCTYPE_NAME;else switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.NULL:{this._err(U.unexpectedNullCharacter),this._createDoctypeToken(gA),this.state=g.DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeName),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=g.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.AFTER_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.name+=gA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.name+=String.fromCodePoint(rr(e)?on(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._consumeSequenceIfMatch($A.PUBLIC,!1)?this.state=g.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch($A.SYSTEM,!1)?this.state=g.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(U.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.publicId+=gA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.publicId+=gA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(U.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(U.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(U.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.systemId+=gA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(U.unexpectedNullCharacter),t.systemId+=gA;break}case B.GREATER_THAN_SIGN:{this._err(U.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(U.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(U.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.NULL:{this._err(U.unexpectedNullCharacter);break}case B.EOF:{this.emitCurrentDoctype(t),this._emitEOFToken();break}}}_stateCdataSection(e){switch(e){case B.RIGHT_SQUARE_BRACKET:{this.state=g.CDATA_SECTION_BRACKET;break}case B.EOF:{this._err(U.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===B.RIGHT_SQUARE_BRACKET?this.state=g.CDATA_SECTION_END:(this._emitChars("]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA;break}case B.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(B.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&vo(this.preprocessor.peek(1))?g.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){vo(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===B.SEMICOLON&&this._err(U.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}};const So=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),Lo=new Set([...So,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),un=new Set([s.APPLET,s.CAPTION,s.HTML,s.MARQUEE,s.OBJECT,s.TABLE,s.TD,s.TEMPLATE,s.TH]),Dh=new Set([...un,s.OL,s.UL]),Oh=new Set([...un,s.BUTTON]),Ho=new Set([s.ANNOTATION_XML,s.MI,s.MN,s.MO,s.MS,s.MTEXT]),Do=new Set([s.DESC,s.FOREIGN_OBJECT,s.TITLE]),Rh=new Set([s.TR,s.TEMPLATE,s.HTML]),Mh=new Set([s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML]),kh=new Set([s.TABLE,s.TEMPLATE,s.HTML]),Ph=new Set([s.TD,s.TH]);class Kh{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===I.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){const n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==I.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped($a,I.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Ph,I.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let r=this.stackTop;r>=0;r--)if(e.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return-1}clearBackTo(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(kh,I.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Mh,I.HTML)}clearBackToTableRowContext(){this.clearBackTo(Rh,I.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInDynamicScope(e,t){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case I.HTML:{if(n===e)return!0;if(t.has(n))return!1;break}case I.SVG:{if(Do.has(n))return!1;break}case I.MATHML:{if(Ho.has(n))return!1;break}}}return!0}hasInScope(e){return this.hasInDynamicScope(e,un)}hasInListItemScope(e){return this.hasInDynamicScope(e,Dh)}hasInButtonScope(e){return this.hasInDynamicScope(e,Oh)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case I.HTML:{if($a.has(t))return!0;if(un.has(t))return!1;break}case I.SVG:{if(Do.has(t))return!1;break}case I.MATHML:{if(Ho.has(t))return!1;break}}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===I.HTML)switch(this.tagIDs[t]){case e:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===I.HTML)switch(this.tagIDs[e]){case s.TBODY:case s.THEAD:case s.TFOOT:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===I.HTML)switch(this.tagIDs[t]){case e:return!0;case s.OPTION:case s.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;So.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Lo.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&Lo.has(this.currentTagId);)this.pop()}}const Za=3;var we;(function(A){A[A.Marker=0]="Marker",A[A.Element=1]="Element"})(we||(we={}));const Oo={type:we.Marker};class Vh{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const r=[],n=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let o=0;o<this.entries.length;o++){const u=this.entries[o];if(u.type===we.Marker)break;const{element:l}=u;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===i){const d=this.treeAdapter.getAttrList(l);d.length===n&&r.push({idx:o,attrs:d})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<Za)return;const t=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,t);if(r.length<Za)return;const n=new Map(t.map(i=>[i.name,i.value]));let a=0;for(let i=0;i<r.length;i++){const o=r[i];o.attrs.every(u=>n.get(u.name)===u.value)&&(a+=1,a>=Za&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Oo)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:we.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:we.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(Oo);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find(r=>r.type===we.Marker||this.treeAdapter.getTagName(r.element)===e);return t&&t.type===we.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===we.Element&&t.element===e)}}const xe={createDocument(){return{nodeName:"#document",mode:re.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(A,e,t){return{nodeName:A,tagName:A,attrs:t,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(A){return{nodeName:"#comment",data:A,parentNode:null}},createTextNode(A){return{nodeName:"#text",value:A,parentNode:null}},appendChild(A,e){A.childNodes.push(e),e.parentNode=A},insertBefore(A,e,t){const r=A.childNodes.indexOf(t);A.childNodes.splice(r,0,e),e.parentNode=A},setTemplateContent(A,e){A.content=e},getTemplateContent(A){return A.content},setDocumentType(A,e,t,r){const n=A.childNodes.find(a=>a.nodeName==="#documentType");if(n)n.name=e,n.publicId=t,n.systemId=r;else{const a={nodeName:"#documentType",name:e,publicId:t,systemId:r,parentNode:null};xe.appendChild(A,a)}},setDocumentMode(A,e){A.mode=e},getDocumentMode(A){return A.mode},detachNode(A){if(A.parentNode){const e=A.parentNode.childNodes.indexOf(A);A.parentNode.childNodes.splice(e,1),A.parentNode=null}},insertText(A,e){if(A.childNodes.length>0){const t=A.childNodes[A.childNodes.length-1];if(xe.isTextNode(t)){t.value+=e;return}}xe.appendChild(A,xe.createTextNode(e))},insertTextBefore(A,e,t){const r=A.childNodes[A.childNodes.indexOf(t)-1];r&&xe.isTextNode(r)?r.value+=e:xe.insertBefore(A,xe.createTextNode(e),t)},adoptAttributes(A,e){const t=new Set(A.attrs.map(r=>r.name));for(let r=0;r<e.length;r++)t.has(e[r].name)||A.attrs.push(e[r])},getFirstChild(A){return A.childNodes[0]},getChildNodes(A){return A.childNodes},getParentNode(A){return A.parentNode},getAttrList(A){return A.attrs},getTagName(A){return A.tagName},getNamespaceURI(A){return A.namespaceURI},getTextNodeContent(A){return A.value},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){return A.name},getDocumentTypeNodePublicId(A){return A.publicId},getDocumentTypeNodeSystemId(A){return A.systemId},isTextNode(A){return A.nodeName==="#text"},isCommentNode(A){return A.nodeName==="#comment"},isDocumentTypeNode(A){return A.nodeName==="#documentType"},isElementNode(A){return Object.prototype.hasOwnProperty.call(A,"tagName")},setNodeSourceCodeLocation(A,e){A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){A.sourceCodeLocation={...A.sourceCodeLocation,...e}}},Ro="html",Gh="about:legacy-compat",Yh="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Mo=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Xh=[...Mo,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Wh=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ko=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Jh=[...ko,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Po(A,e){return e.some(t=>A.startsWith(t))}function qh(A){return A.name===Ro&&A.publicId===null&&(A.systemId===null||A.systemId===Gh)}function jh(A){if(A.name!==Ro)return re.QUIRKS;const{systemId:e}=A;if(e&&e.toLowerCase()===Yh)return re.QUIRKS;let{publicId:t}=A;if(t!==null){if(t=t.toLowerCase(),Wh.has(t))return re.QUIRKS;let r=e===null?Xh:Mo;if(Po(t,r))return re.QUIRKS;if(r=e===null?ko:Jh,Po(t,r))return re.LIMITED_QUIRKS}return re.NO_QUIRKS}const Ko={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},zh="definitionurl",$h="definitionURL",Zh=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(A=>[A.toLowerCase(),A])),AB=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:I.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:I.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:I.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:I.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:I.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:I.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:I.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:I.XML}],["xml:space",{prefix:"xml",name:"space",namespace:I.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:I.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:I.XMLNS}]]),eB=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(A=>[A.toLowerCase(),A])),tB=new Set([s.B,s.BIG,s.BLOCKQUOTE,s.BODY,s.BR,s.CENTER,s.CODE,s.DD,s.DIV,s.DL,s.DT,s.EM,s.EMBED,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HR,s.I,s.IMG,s.LI,s.LISTING,s.MENU,s.META,s.NOBR,s.OL,s.P,s.PRE,s.RUBY,s.S,s.SMALL,s.SPAN,s.STRONG,s.STRIKE,s.SUB,s.SUP,s.TABLE,s.TT,s.U,s.UL,s.VAR]);function rB(A){const e=A.tagID;return e===s.FONT&&A.attrs.some(({name:r})=>r===ot.COLOR||r===ot.SIZE||r===ot.FACE)||tB.has(e)}function Vo(A){for(let e=0;e<A.attrs.length;e++)if(A.attrs[e].name===zh){A.attrs[e].name=$h;break}}function Go(A){for(let e=0;e<A.attrs.length;e++){const t=Zh.get(A.attrs[e].name);t!=null&&(A.attrs[e].name=t)}}function Ai(A){for(let e=0;e<A.attrs.length;e++){const t=AB.get(A.attrs[e].name);t&&(A.attrs[e].prefix=t.prefix,A.attrs[e].name=t.name,A.attrs[e].namespace=t.namespace)}}function nB(A){const e=eB.get(A.tagName);e!=null&&(A.tagName=e,A.tagID=sn(A.tagName))}function aB(A,e){return e===I.MATHML&&(A===s.MI||A===s.MO||A===s.MN||A===s.MS||A===s.MTEXT)}function iB(A,e,t){if(e===I.MATHML&&A===s.ANNOTATION_XML){for(let r=0;r<t.length;r++)if(t[r].name===ot.ENCODING){const n=t[r].value.toLowerCase();return n===Ko.TEXT_HTML||n===Ko.APPLICATION_XML}}return e===I.SVG&&(A===s.FOREIGN_OBJECT||A===s.DESC||A===s.TITLE)}function sB(A,e,t,r){return(!r||r===I.HTML)&&iB(A,e,t)||(!r||r===I.MATHML)&&aB(A,e)}const oB="hidden",uB=8,cB=3;var p;(function(A){A[A.INITIAL=0]="INITIAL",A[A.BEFORE_HTML=1]="BEFORE_HTML",A[A.BEFORE_HEAD=2]="BEFORE_HEAD",A[A.IN_HEAD=3]="IN_HEAD",A[A.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",A[A.AFTER_HEAD=5]="AFTER_HEAD",A[A.IN_BODY=6]="IN_BODY",A[A.TEXT=7]="TEXT",A[A.IN_TABLE=8]="IN_TABLE",A[A.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",A[A.IN_CAPTION=10]="IN_CAPTION",A[A.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",A[A.IN_TABLE_BODY=12]="IN_TABLE_BODY",A[A.IN_ROW=13]="IN_ROW",A[A.IN_CELL=14]="IN_CELL",A[A.IN_SELECT=15]="IN_SELECT",A[A.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",A[A.IN_TEMPLATE=17]="IN_TEMPLATE",A[A.AFTER_BODY=18]="AFTER_BODY",A[A.IN_FRAMESET=19]="IN_FRAMESET",A[A.AFTER_FRAMESET=20]="AFTER_FRAMESET",A[A.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",A[A.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(p||(p={}));const lB={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Yo=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),Xo={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:xe,onParseError:null};let Wo=class{constructor(e,t,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=p.INITIAL,this.originalInsertionMode=p.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Xo,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new Hh(this.options,this),this.activeFormattingElements=new Vh(this.treeAdapter),this.fragmentContextID=r?sn(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new Kh(this.document,this.treeAdapter,this)}static parse(e,t){const r=new this(t);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,t){const r={...Xo,...t};e??(e=r.treeAdapter.createElement(w.TEMPLATE,I.HTML,[]));const n=r.treeAdapter.createElement("documentmock",I.HTML,[]),a=new this(r,n,e);return a.fragmentContextID===s.TEMPLATE&&a.tmplInsertionModeStack.unshift(p.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,r){var n;if(!this.onParseError)return;const a=(n=e.location)!==null&&n!==void 0?n:lB,i={code:t,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(i)}onItemPush(e,t,r){var n,a;(a=(n=this.treeAdapter).onItemPush)===null||a===void 0||a.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(r=this.treeAdapter).onItemPop)===null||n===void 0||n.call(r,e,this.openElements.current),t){let a,i;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,i=this.fragmentContextID):{current:a,currentTagId:i}=this.openElements,this._setContextModes(a,i)}}_setContextModes(e,t){const r=e===this.document||this.treeAdapter.getNamespaceURI(e)===I.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,I.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=p.TEXT}switchToPlaintextParsing(){this.insertionMode=p.TEXT,this.originalInsertionMode=p.IN_BODY,this.tokenizer.state=ZA.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===w.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==I.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=ZA.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=ZA.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=ZA.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=ZA.PLAINTEXT;break}}}_setDocumentType(e){const t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){const i=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));i&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const r=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,e)}}_appendElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){const r=this.treeAdapter.createElement(e,I.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,I.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(w.HTML,I.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,s.HTML)}_appendCommentNode(e,t){const r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const n=this.treeAdapter.getChildNodes(t),a=r?n.lastIndexOf(r):n.length,i=n[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:u,endCol:l,endOffset:d}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:u,endCol:l,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const r=t.location,n=this.treeAdapter.getTagName(e),a=t.type===rA.END_TAG&&n===t.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,r;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):{current:t,currentTagId:r}=this.openElements,e.tagID===s.SVG&&this.treeAdapter.getTagName(t)===w.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===I.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===s.MGLYPH||e.tagID===s.MALIGNMARK)&&!this._isIntegrationPoint(r,t,I.HTML)}_processToken(e){switch(e.type){case rA.CHARACTER:{this.onCharacter(e);break}case rA.NULL_CHARACTER:{this.onNullCharacter(e);break}case rA.COMMENT:{this.onComment(e);break}case rA.DOCTYPE:{this.onDoctype(e);break}case rA.START_TAG:{this._processStartTag(e);break}case rA.END_TAG:{this.onEndTag(e);break}case rA.EOF:{this.onEof(e);break}case rA.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,t,r){const n=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return sB(e,n,a,r)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex(n=>n.type===we.Marker||this.openElements.contains(n.element)),r=t<0?e-1:t-1;for(let n=r;n>=0;n--){const a=this.activeFormattingElements.entries[n];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=p.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case s.TR:{this.insertionMode=p.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=p.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=p.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=p.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=p.IN_TABLE;return}case s.BODY:{this.insertionMode=p.IN_BODY;return}case s.FRAMESET:{this.insertionMode=p.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(e);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case s.HTML:{this.insertionMode=this.headElement?p.AFTER_HEAD:p.BEFORE_HEAD;return}case s.TD:case s.TH:{if(e>0){this.insertionMode=p.IN_CELL;return}break}case s.HEAD:{if(e>0){this.insertionMode=p.IN_HEAD;return}break}}this.insertionMode=p.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const r=this.openElements.tagIDs[t];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=p.IN_SELECT_IN_TABLE;return}}this.insertionMode=p.IN_SELECT}_isElementCausesFosterParenting(e){return Yo.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(t)===I.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(t);return r?{parent:r,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const r=this.treeAdapter.getNamespaceURI(e);return xh[r].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Pg(this,e);return}switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{ar(this,e);break}case p.BEFORE_HEAD:{ir(this,e);break}case p.IN_HEAD:{sr(this,e);break}case p.IN_HEAD_NO_SCRIPT:{or(this,e);break}case p.AFTER_HEAD:{ur(this,e);break}case p.IN_BODY:case p.IN_CAPTION:case p.IN_CELL:case p.IN_TEMPLATE:{qo(this,e);break}case p.TEXT:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{ni(this,e);break}case p.IN_TABLE_TEXT:{ru(this,e);break}case p.IN_COLUMN_GROUP:{dn(this,e);break}case p.AFTER_BODY:{Bn(this,e);break}case p.AFTER_AFTER_BODY:{gn(this,e);break}}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){kg(this,e);return}switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{ar(this,e);break}case p.BEFORE_HEAD:{ir(this,e);break}case p.IN_HEAD:{sr(this,e);break}case p.IN_HEAD_NO_SCRIPT:{or(this,e);break}case p.AFTER_HEAD:{ur(this,e);break}case p.TEXT:{this._insertCharacters(e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{ni(this,e);break}case p.IN_COLUMN_GROUP:{dn(this,e);break}case p.AFTER_BODY:{Bn(this,e);break}case p.AFTER_AFTER_BODY:{gn(this,e);break}}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){ti(this,e);return}switch(this.insertionMode){case p.INITIAL:case p.BEFORE_HTML:case p.BEFORE_HEAD:case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:case p.IN_BODY:case p.IN_TABLE:case p.IN_CAPTION:case p.IN_COLUMN_GROUP:case p.IN_TABLE_BODY:case p.IN_ROW:case p.IN_CELL:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:case p.IN_TEMPLATE:case p.IN_FRAMESET:case p.AFTER_FRAMESET:{ti(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.AFTER_BODY:{EB(this,e);break}case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{mB(this,e);break}}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case p.INITIAL:{CB(this,e);break}case p.BEFORE_HEAD:case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:{this._err(e,U.misplacedDoctype);break}case p.IN_TABLE_TEXT:{dr(this,e);break}}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,U.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?Kg(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{wB(this,e);break}case p.BEFORE_HEAD:{TB(this,e);break}case p.IN_HEAD:{Be(this,e);break}case p.IN_HEAD_NO_SCRIPT:{FB(this,e);break}case p.AFTER_HEAD:{yB(this,e);break}case p.IN_BODY:{GA(this,e);break}case p.IN_TABLE:{Tt(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.IN_CAPTION:{Ug(this,e);break}case p.IN_COLUMN_GROUP:{ai(this,e);break}case p.IN_TABLE_BODY:{fn(this,e);break}case p.IN_ROW:{hn(this,e);break}case p.IN_CELL:{Ig(this,e);break}case p.IN_SELECT:{iu(this,e);break}case p.IN_SELECT_IN_TABLE:{xg(this,e);break}case p.IN_TEMPLATE:{_g(this,e);break}case p.AFTER_BODY:{Sg(this,e);break}case p.IN_FRAMESET:{Lg(this,e);break}case p.AFTER_FRAMESET:{Dg(this,e);break}case p.AFTER_AFTER_BODY:{Rg(this,e);break}case p.AFTER_AFTER_FRAMESET:{Mg(this,e);break}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?Vg(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{bB(this,e);break}case p.BEFORE_HEAD:{UB(this,e);break}case p.IN_HEAD:{QB(this,e);break}case p.IN_HEAD_NO_SCRIPT:{IB(this,e);break}case p.AFTER_HEAD:{xB(this,e);break}case p.IN_BODY:{ln(this,e);break}case p.TEXT:{hg(this,e);break}case p.IN_TABLE:{cr(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.IN_CAPTION:{Qg(this,e);break}case p.IN_COLUMN_GROUP:{Fg(this,e);break}case p.IN_TABLE_BODY:{ii(this,e);break}case p.IN_ROW:{au(this,e);break}case p.IN_CELL:{yg(this,e);break}case p.IN_SELECT:{su(this,e);break}case p.IN_SELECT_IN_TABLE:{vg(this,e);break}case p.IN_TEMPLATE:{Ng(this,e);break}case p.AFTER_BODY:{uu(this,e);break}case p.IN_FRAMESET:{Hg(this,e);break}case p.AFTER_FRAMESET:{Og(this,e);break}case p.AFTER_AFTER_BODY:{gn(this,e);break}}}onEof(e){switch(this.insertionMode){case p.INITIAL:{nr(this,e);break}case p.BEFORE_HTML:{ar(this,e);break}case p.BEFORE_HEAD:{ir(this,e);break}case p.IN_HEAD:{sr(this,e);break}case p.IN_HEAD_NO_SCRIPT:{or(this,e);break}case p.AFTER_HEAD:{ur(this,e);break}case p.IN_BODY:case p.IN_TABLE:case p.IN_CAPTION:case p.IN_COLUMN_GROUP:case p.IN_TABLE_BODY:case p.IN_ROW:case p.IN_CELL:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:{eu(this,e);break}case p.TEXT:{Bg(this,e);break}case p.IN_TABLE_TEXT:{dr(this,e);break}case p.IN_TEMPLATE:{ou(this,e);break}case p.AFTER_BODY:case p.IN_FRAMESET:case p.AFTER_FRAMESET:case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{ri(this,e);break}}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===B.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case p.IN_HEAD:case p.IN_HEAD_NO_SCRIPT:case p.AFTER_HEAD:case p.TEXT:case p.IN_COLUMN_GROUP:case p.IN_SELECT:case p.IN_SELECT_IN_TABLE:case p.IN_FRAMESET:case p.AFTER_FRAMESET:{this._insertCharacters(e);break}case p.IN_BODY:case p.IN_CAPTION:case p.IN_CELL:case p.IN_TEMPLATE:case p.AFTER_BODY:case p.AFTER_AFTER_BODY:case p.AFTER_AFTER_FRAMESET:{Jo(this,e);break}case p.IN_TABLE:case p.IN_TABLE_BODY:case p.IN_ROW:{ni(this,e);break}case p.IN_TABLE_TEXT:{tu(this,e);break}}}};function dB(A,e){let t=A.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return t?A.openElements.contains(t.element)?A.openElements.hasInScope(e.tagID)||(t=null):(A.activeFormattingElements.removeEntry(t),t=null):Au(A,e),t}function fB(A,e){let t=null,r=A.openElements.stackTop;for(;r>=0;r--){const n=A.openElements.items[r];if(n===e.element)break;A._isSpecialElement(n,A.openElements.tagIDs[r])&&(t=n)}return t||(A.openElements.shortenToLength(r<0?0:r),A.activeFormattingElements.removeEntry(e)),t}function hB(A,e,t){let r=e,n=A.openElements.getCommonAncestor(e);for(let a=0,i=n;i!==t;a++,i=n){n=A.openElements.getCommonAncestor(i);const o=A.activeFormattingElements.getElementEntry(i),u=o&&a>=cB;!o||u?(u&&A.activeFormattingElements.removeEntry(o),A.openElements.remove(i)):(i=BB(A,o),r===e&&(A.activeFormattingElements.bookmark=o),A.treeAdapter.detachNode(r),A.treeAdapter.appendChild(i,r),r=i)}return r}function BB(A,e){const t=A.treeAdapter.getNamespaceURI(e.element),r=A.treeAdapter.createElement(e.token.tagName,t,e.token.attrs);return A.openElements.replace(e.element,r),e.element=r,r}function gB(A,e,t){const r=A.treeAdapter.getTagName(e),n=sn(r);if(A._isElementCausesFosterParenting(n))A._fosterParentElement(t);else{const a=A.treeAdapter.getNamespaceURI(e);n===s.TEMPLATE&&a===I.HTML&&(e=A.treeAdapter.getTemplateContent(e)),A.treeAdapter.appendChild(e,t)}}function pB(A,e,t){const r=A.treeAdapter.getNamespaceURI(t.element),{token:n}=t,a=A.treeAdapter.createElement(n.tagName,r,n.attrs);A._adoptNodes(e,a),A.treeAdapter.appendChild(e,a),A.activeFormattingElements.insertElementAfterBookmark(a,n),A.activeFormattingElements.removeEntry(t),A.openElements.remove(t.element),A.openElements.insertAfter(e,a,n.tagID)}function ei(A,e){for(let t=0;t<uB;t++){const r=dB(A,e);if(!r)break;const n=fB(A,r);if(!n)break;A.activeFormattingElements.bookmark=r;const a=hB(A,n,r.element),i=A.openElements.getCommonAncestor(r.element);A.treeAdapter.detachNode(a),i&&gB(A,i,a),pB(A,n,r)}}function ti(A,e){A._appendCommentNode(e,A.openElements.currentTmplContentOrNode)}function EB(A,e){A._appendCommentNode(e,A.openElements.items[0])}function mB(A,e){A._appendCommentNode(e,A.document)}function ri(A,e){if(A.stopped=!0,e.location){const t=A.fragmentContext?0:2;for(let r=A.openElements.stackTop;r>=t;r--)A._setEndLocation(A.openElements.items[r],e);if(!A.fragmentContext&&A.openElements.stackTop>=0){const r=A.openElements.items[0],n=A.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(A._setEndLocation(r,e),A.openElements.stackTop>=1)){const a=A.openElements.items[1],i=A.treeAdapter.getNodeSourceCodeLocation(a);i&&!i.endTag&&A._setEndLocation(a,e)}}}}function CB(A,e){A._setDocumentType(e);const t=e.forceQuirks?re.QUIRKS:jh(e);qh(e)||A._err(e,U.nonConformingDoctype),A.treeAdapter.setDocumentMode(A.document,t),A.insertionMode=p.BEFORE_HTML}function nr(A,e){A._err(e,U.missingDoctype,!0),A.treeAdapter.setDocumentMode(A.document,re.QUIRKS),A.insertionMode=p.BEFORE_HTML,A._processToken(e)}function wB(A,e){e.tagID===s.HTML?(A._insertElement(e,I.HTML),A.insertionMode=p.BEFORE_HEAD):ar(A,e)}function bB(A,e){const t=e.tagID;(t===s.HTML||t===s.HEAD||t===s.BODY||t===s.BR)&&ar(A,e)}function ar(A,e){A._insertFakeRootElement(),A.insertionMode=p.BEFORE_HEAD,A._processToken(e)}function TB(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.HEAD:{A._insertElement(e,I.HTML),A.headElement=A.openElements.current,A.insertionMode=p.IN_HEAD;break}default:ir(A,e)}}function UB(A,e){const t=e.tagID;t===s.HEAD||t===s.BODY||t===s.HTML||t===s.BR?ir(A,e):A._err(e,U.endTagWithoutMatchingOpenElement)}function ir(A,e){A._insertFakeElement(w.HEAD,s.HEAD),A.headElement=A.openElements.current,A.insertionMode=p.IN_HEAD,A._processToken(e)}function Be(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case s.TITLE:{A._switchToTextParsing(e,ZA.RCDATA);break}case s.NOSCRIPT:{A.options.scriptingEnabled?A._switchToTextParsing(e,ZA.RAWTEXT):(A._insertElement(e,I.HTML),A.insertionMode=p.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{A._switchToTextParsing(e,ZA.RAWTEXT);break}case s.SCRIPT:{A._switchToTextParsing(e,ZA.SCRIPT_DATA);break}case s.TEMPLATE:{A._insertTemplate(e),A.activeFormattingElements.insertMarker(),A.framesetOk=!1,A.insertionMode=p.IN_TEMPLATE,A.tmplInsertionModeStack.unshift(p.IN_TEMPLATE);break}case s.HEAD:{A._err(e,U.misplacedStartTagForHeadElement);break}default:sr(A,e)}}function QB(A,e){switch(e.tagID){case s.HEAD:{A.openElements.pop(),A.insertionMode=p.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{sr(A,e);break}case s.TEMPLATE:{ut(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function ut(A,e){A.openElements.tmplCount>0?(A.openElements.generateImpliedEndTagsThoroughly(),A.openElements.currentTagId!==s.TEMPLATE&&A._err(e,U.closingOfElementWithOpenChildElements),A.openElements.popUntilTagNamePopped(s.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode()):A._err(e,U.endTagWithoutMatchingOpenElement)}function sr(A,e){A.openElements.pop(),A.insertionMode=p.AFTER_HEAD,A._processToken(e)}function FB(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{Be(A,e);break}case s.NOSCRIPT:{A._err(e,U.nestedNoscriptInHead);break}default:or(A,e)}}function IB(A,e){switch(e.tagID){case s.NOSCRIPT:{A.openElements.pop(),A.insertionMode=p.IN_HEAD;break}case s.BR:{or(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function or(A,e){const t=e.type===rA.EOF?U.openElementsLeftAfterEof:U.disallowedContentInNoscriptInHead;A._err(e,t),A.openElements.pop(),A.insertionMode=p.IN_HEAD,A._processToken(e)}function yB(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.BODY:{A._insertElement(e,I.HTML),A.framesetOk=!1,A.insertionMode=p.IN_BODY;break}case s.FRAMESET:{A._insertElement(e,I.HTML),A.insertionMode=p.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{A._err(e,U.abandonedHeadElementChild),A.openElements.push(A.headElement,s.HEAD),Be(A,e),A.openElements.remove(A.headElement);break}case s.HEAD:{A._err(e,U.misplacedStartTagForHeadElement);break}default:ur(A,e)}}function xB(A,e){switch(e.tagID){case s.BODY:case s.HTML:case s.BR:{ur(A,e);break}case s.TEMPLATE:{ut(A,e);break}default:A._err(e,U.endTagWithoutMatchingOpenElement)}}function ur(A,e){A._insertFakeElement(w.BODY,s.BODY),A.insertionMode=p.IN_BODY,cn(A,e)}function cn(A,e){switch(e.type){case rA.CHARACTER:{qo(A,e);break}case rA.WHITESPACE_CHARACTER:{Jo(A,e);break}case rA.COMMENT:{ti(A,e);break}case rA.START_TAG:{GA(A,e);break}case rA.END_TAG:{ln(A,e);break}case rA.EOF:{eu(A,e);break}}}function Jo(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e)}function qo(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e),A.framesetOk=!1}function vB(A,e){A.openElements.tmplCount===0&&A.treeAdapter.adoptAttributes(A.openElements.items[0],e.attrs)}function _B(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A.openElements.tmplCount===0&&(A.framesetOk=!1,A.treeAdapter.adoptAttributes(t,e.attrs))}function NB(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();A.framesetOk&&t&&(A.treeAdapter.detachNode(t),A.openElements.popAllUpToHtmlElement(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_FRAMESET)}function SB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML)}function LB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),$a.has(A.openElements.currentTagId)&&A.openElements.pop(),A._insertElement(e,I.HTML)}function HB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML),A.skipNextNewLine=!0,A.framesetOk=!1}function DB(A,e){const t=A.openElements.tmplCount>0;(!A.formElement||t)&&(A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML),t||(A.formElement=A.openElements.current))}function OB(A,e){A.framesetOk=!1;const t=e.tagID;for(let r=A.openElements.stackTop;r>=0;r--){const n=A.openElements.tagIDs[r];if(t===s.LI&&n===s.LI||(t===s.DD||t===s.DT)&&(n===s.DD||n===s.DT)){A.openElements.generateImpliedEndTagsWithExclusion(n),A.openElements.popUntilTagNamePopped(n);break}if(n!==s.ADDRESS&&n!==s.DIV&&n!==s.P&&A._isSpecialElement(A.openElements.items[r],n))break}A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML)}function RB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML),A.tokenizer.state=ZA.PLAINTEXT}function MB(A,e){A.openElements.hasInScope(s.BUTTON)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(s.BUTTON)),A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.framesetOk=!1}function kB(A,e){const t=A.activeFormattingElements.getElementEntryInScopeWithTagName(w.A);t&&(ei(A,e),A.openElements.remove(t.element),A.activeFormattingElements.removeEntry(t)),A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function PB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function KB(A,e){A._reconstructActiveFormattingElements(),A.openElements.hasInScope(s.NOBR)&&(ei(A,e),A._reconstructActiveFormattingElements()),A._insertElement(e,I.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function VB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.activeFormattingElements.insertMarker(),A.framesetOk=!1}function GB(A,e){A.treeAdapter.getDocumentMode(A.document)!==re.QUIRKS&&A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._insertElement(e,I.HTML),A.framesetOk=!1,A.insertionMode=p.IN_TABLE}function jo(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,I.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function zo(A){const e=xo(A,ot.TYPE);return e!=null&&e.toLowerCase()===oB}function YB(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,I.HTML),zo(e)||(A.framesetOk=!1),e.ackSelfClosing=!0}function XB(A,e){A._appendElement(e,I.HTML),e.ackSelfClosing=!0}function WB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._appendElement(e,I.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function JB(A,e){e.tagName=w.IMG,e.tagID=s.IMG,jo(A,e)}function qB(A,e){A._insertElement(e,I.HTML),A.skipNextNewLine=!0,A.tokenizer.state=ZA.RCDATA,A.originalInsertionMode=A.insertionMode,A.framesetOk=!1,A.insertionMode=p.TEXT}function jB(A,e){A.openElements.hasInButtonScope(s.P)&&A._closePElement(),A._reconstructActiveFormattingElements(),A.framesetOk=!1,A._switchToTextParsing(e,ZA.RAWTEXT)}function zB(A,e){A.framesetOk=!1,A._switchToTextParsing(e,ZA.RAWTEXT)}function $o(A,e){A._switchToTextParsing(e,ZA.RAWTEXT)}function $B(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML),A.framesetOk=!1,A.insertionMode=A.insertionMode===p.IN_TABLE||A.insertionMode===p.IN_CAPTION||A.insertionMode===p.IN_TABLE_BODY||A.insertionMode===p.IN_ROW||A.insertionMode===p.IN_CELL?p.IN_SELECT_IN_TABLE:p.IN_SELECT}function ZB(A,e){A.openElements.currentTagId===s.OPTION&&A.openElements.pop(),A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML)}function Ag(A,e){A.openElements.hasInScope(s.RUBY)&&A.openElements.generateImpliedEndTags(),A._insertElement(e,I.HTML)}function eg(A,e){A.openElements.hasInScope(s.RUBY)&&A.openElements.generateImpliedEndTagsWithExclusion(s.RTC),A._insertElement(e,I.HTML)}function tg(A,e){A._reconstructActiveFormattingElements(),Vo(e),Ai(e),e.selfClosing?A._appendElement(e,I.MATHML):A._insertElement(e,I.MATHML),e.ackSelfClosing=!0}function rg(A,e){A._reconstructActiveFormattingElements(),Go(e),Ai(e),e.selfClosing?A._appendElement(e,I.SVG):A._insertElement(e,I.SVG),e.ackSelfClosing=!0}function Zo(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,I.HTML)}function GA(A,e){switch(e.tagID){case s.I:case s.S:case s.B:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.SMALL:case s.STRIKE:case s.STRONG:{PB(A,e);break}case s.A:{kB(A,e);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{LB(A,e);break}case s.P:case s.DL:case s.OL:case s.UL:case s.DIV:case s.DIR:case s.NAV:case s.MAIN:case s.MENU:case s.ASIDE:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.DETAILS:case s.ADDRESS:case s.ARTICLE:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{SB(A,e);break}case s.LI:case s.DD:case s.DT:{OB(A,e);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{jo(A,e);break}case s.HR:{WB(A,e);break}case s.RB:case s.RTC:{Ag(A,e);break}case s.RT:case s.RP:{eg(A,e);break}case s.PRE:case s.LISTING:{HB(A,e);break}case s.XMP:{jB(A,e);break}case s.SVG:{rg(A,e);break}case s.HTML:{vB(A,e);break}case s.BASE:case s.LINK:case s.META:case s.STYLE:case s.TITLE:case s.SCRIPT:case s.BGSOUND:case s.BASEFONT:case s.TEMPLATE:{Be(A,e);break}case s.BODY:{_B(A,e);break}case s.FORM:{DB(A,e);break}case s.NOBR:{KB(A,e);break}case s.MATH:{tg(A,e);break}case s.TABLE:{GB(A,e);break}case s.INPUT:{YB(A,e);break}case s.PARAM:case s.TRACK:case s.SOURCE:{XB(A,e);break}case s.IMAGE:{JB(A,e);break}case s.BUTTON:{MB(A,e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{VB(A,e);break}case s.IFRAME:{zB(A,e);break}case s.SELECT:{$B(A,e);break}case s.OPTION:case s.OPTGROUP:{ZB(A,e);break}case s.NOEMBED:case s.NOFRAMES:{$o(A,e);break}case s.FRAMESET:{NB(A,e);break}case s.TEXTAREA:{qB(A,e);break}case s.NOSCRIPT:{A.options.scriptingEnabled?$o(A,e):Zo(A,e);break}case s.PLAINTEXT:{RB(A,e);break}case s.COL:case s.TH:case s.TD:case s.TR:case s.HEAD:case s.FRAME:case s.TBODY:case s.TFOOT:case s.THEAD:case s.CAPTION:case s.COLGROUP:break;default:Zo(A,e)}}function ng(A,e){if(A.openElements.hasInScope(s.BODY)&&(A.insertionMode=p.AFTER_BODY,A.options.sourceCodeLocationInfo)){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A._setEndLocation(t,e)}}function ag(A,e){A.openElements.hasInScope(s.BODY)&&(A.insertionMode=p.AFTER_BODY,uu(A,e))}function ig(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t))}function sg(A){const e=A.openElements.tmplCount>0,{formElement:t}=A;e||(A.formElement=null),(t||e)&&A.openElements.hasInScope(s.FORM)&&(A.openElements.generateImpliedEndTags(),e?A.openElements.popUntilTagNamePopped(s.FORM):t&&A.openElements.remove(t))}function og(A){A.openElements.hasInButtonScope(s.P)||A._insertFakeElement(w.P,s.P),A._closePElement()}function ug(A){A.openElements.hasInListItemScope(s.LI)&&(A.openElements.generateImpliedEndTagsWithExclusion(s.LI),A.openElements.popUntilTagNamePopped(s.LI))}function cg(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTagsWithExclusion(t),A.openElements.popUntilTagNamePopped(t))}function lg(A){A.openElements.hasNumberedHeaderInScope()&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilNumberedHeaderPopped())}function dg(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker())}function fg(A){A._reconstructActiveFormattingElements(),A._insertFakeElement(w.BR,s.BR),A.openElements.pop(),A.framesetOk=!1}function Au(A,e){const t=e.tagName,r=e.tagID;for(let n=A.openElements.stackTop;n>0;n--){const a=A.openElements.items[n],i=A.openElements.tagIDs[n];if(r===i&&(r!==s.UNKNOWN||A.treeAdapter.getTagName(a)===t)){A.openElements.generateImpliedEndTagsWithExclusion(r),A.openElements.stackTop>=n&&A.openElements.shortenToLength(n);break}if(A._isSpecialElement(a,i))break}}function ln(A,e){switch(e.tagID){case s.A:case s.B:case s.I:case s.S:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.NOBR:case s.SMALL:case s.STRIKE:case s.STRONG:{ei(A,e);break}case s.P:{og(A);break}case s.DL:case s.UL:case s.OL:case s.DIR:case s.DIV:case s.NAV:case s.PRE:case s.MAIN:case s.MENU:case s.ASIDE:case s.BUTTON:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.ADDRESS:case s.ARTICLE:case s.DETAILS:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{ig(A,e);break}case s.LI:{ug(A);break}case s.DD:case s.DT:{cg(A,e);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{lg(A);break}case s.BR:{fg(A);break}case s.BODY:{ng(A,e);break}case s.HTML:{ag(A,e);break}case s.FORM:{sg(A);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{dg(A,e);break}case s.TEMPLATE:{ut(A,e);break}default:Au(A,e)}}function eu(A,e){A.tmplInsertionModeStack.length>0?ou(A,e):ri(A,e)}function hg(A,e){var t;e.tagID===s.SCRIPT&&((t=A.scriptHandler)===null||t===void 0||t.call(A,A.openElements.current)),A.openElements.pop(),A.insertionMode=A.originalInsertionMode}function Bg(A,e){A._err(e,U.eofInElementThatCanContainOnlyText),A.openElements.pop(),A.insertionMode=A.originalInsertionMode,A.onEof(e)}function ni(A,e){if(Yo.has(A.openElements.currentTagId))switch(A.pendingCharacterTokens.length=0,A.hasNonWhitespacePendingCharacterToken=!1,A.originalInsertionMode=A.insertionMode,A.insertionMode=p.IN_TABLE_TEXT,e.type){case rA.CHARACTER:{ru(A,e);break}case rA.WHITESPACE_CHARACTER:{tu(A,e);break}}else lr(A,e)}function gg(A,e){A.openElements.clearBackToTableContext(),A.activeFormattingElements.insertMarker(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_CAPTION}function pg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_COLUMN_GROUP}function Eg(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.COLGROUP,s.COLGROUP),A.insertionMode=p.IN_COLUMN_GROUP,ai(A,e)}function mg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_TABLE_BODY}function Cg(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.TBODY,s.TBODY),A.insertionMode=p.IN_TABLE_BODY,fn(A,e)}function wg(A,e){A.openElements.hasInTableScope(s.TABLE)&&(A.openElements.popUntilTagNamePopped(s.TABLE),A._resetInsertionMode(),A._processStartTag(e))}function bg(A,e){zo(e)?A._appendElement(e,I.HTML):lr(A,e),e.ackSelfClosing=!0}function Tg(A,e){!A.formElement&&A.openElements.tmplCount===0&&(A._insertElement(e,I.HTML),A.formElement=A.openElements.current,A.openElements.pop())}function Tt(A,e){switch(e.tagID){case s.TD:case s.TH:case s.TR:{Cg(A,e);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{Be(A,e);break}case s.COL:{Eg(A,e);break}case s.FORM:{Tg(A,e);break}case s.TABLE:{wg(A,e);break}case s.TBODY:case s.TFOOT:case s.THEAD:{mg(A,e);break}case s.INPUT:{bg(A,e);break}case s.CAPTION:{gg(A,e);break}case s.COLGROUP:{pg(A,e);break}default:lr(A,e)}}function cr(A,e){switch(e.tagID){case s.TABLE:{A.openElements.hasInTableScope(s.TABLE)&&(A.openElements.popUntilTagNamePopped(s.TABLE),A._resetInsertionMode());break}case s.TEMPLATE:{ut(A,e);break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:lr(A,e)}}function lr(A,e){const t=A.fosterParentingEnabled;A.fosterParentingEnabled=!0,cn(A,e),A.fosterParentingEnabled=t}function tu(A,e){A.pendingCharacterTokens.push(e)}function ru(A,e){A.pendingCharacterTokens.push(e),A.hasNonWhitespacePendingCharacterToken=!0}function dr(A,e){let t=0;if(A.hasNonWhitespacePendingCharacterToken)for(;t<A.pendingCharacterTokens.length;t++)lr(A,A.pendingCharacterTokens[t]);else for(;t<A.pendingCharacterTokens.length;t++)A._insertCharacters(A.pendingCharacterTokens[t]);A.insertionMode=A.originalInsertionMode,A._processToken(e)}const nu=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function Ug(A,e){const t=e.tagID;nu.has(t)?A.openElements.hasInTableScope(s.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(s.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_TABLE,Tt(A,e)):GA(A,e)}function Qg(A,e){const t=e.tagID;switch(t){case s.CAPTION:case s.TABLE:{A.openElements.hasInTableScope(s.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(s.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_TABLE,t===s.TABLE&&cr(A,e));break}case s.BODY:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:ln(A,e)}}function ai(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.COL:{A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case s.TEMPLATE:{Be(A,e);break}default:dn(A,e)}}function Fg(A,e){switch(e.tagID){case s.COLGROUP:{A.openElements.currentTagId===s.COLGROUP&&(A.openElements.pop(),A.insertionMode=p.IN_TABLE);break}case s.TEMPLATE:{ut(A,e);break}case s.COL:break;default:dn(A,e)}}function dn(A,e){A.openElements.currentTagId===s.COLGROUP&&(A.openElements.pop(),A.insertionMode=p.IN_TABLE,A._processToken(e))}function fn(A,e){switch(e.tagID){case s.TR:{A.openElements.clearBackToTableBodyContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_ROW;break}case s.TH:case s.TD:{A.openElements.clearBackToTableBodyContext(),A._insertFakeElement(w.TR,s.TR),A.insertionMode=p.IN_ROW,hn(A,e);break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE,Tt(A,e));break}default:Tt(A,e)}}function ii(A,e){const t=e.tagID;switch(e.tagID){case s.TBODY:case s.TFOOT:case s.THEAD:{A.openElements.hasInTableScope(t)&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE);break}case s.TABLE:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE,cr(A,e));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:case s.TR:break;default:cr(A,e)}}function hn(A,e){switch(e.tagID){case s.TH:case s.TD:{A.openElements.clearBackToTableRowContext(),A._insertElement(e,I.HTML),A.insertionMode=p.IN_CELL,A.activeFormattingElements.insertMarker();break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{A.openElements.hasInTableScope(s.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,fn(A,e));break}default:Tt(A,e)}}function au(A,e){switch(e.tagID){case s.TR:{A.openElements.hasInTableScope(s.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY);break}case s.TABLE:{A.openElements.hasInTableScope(s.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,ii(A,e));break}case s.TBODY:case s.TFOOT:case s.THEAD:{(A.openElements.hasInTableScope(e.tagID)||A.openElements.hasInTableScope(s.TR))&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=p.IN_TABLE_BODY,ii(A,e));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:break;default:cr(A,e)}}function Ig(A,e){const t=e.tagID;nu.has(t)?(A.openElements.hasInTableScope(s.TD)||A.openElements.hasInTableScope(s.TH))&&(A._closeTableCell(),hn(A,e)):GA(A,e)}function yg(A,e){const t=e.tagID;switch(t){case s.TD:case s.TH:{A.openElements.hasInTableScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=p.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{A.openElements.hasInTableScope(t)&&(A._closeTableCell(),au(A,e));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:ln(A,e)}}function iu(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.OPTION:{A.openElements.currentTagId===s.OPTION&&A.openElements.pop(),A._insertElement(e,I.HTML);break}case s.OPTGROUP:{A.openElements.currentTagId===s.OPTION&&A.openElements.pop(),A.openElements.currentTagId===s.OPTGROUP&&A.openElements.pop(),A._insertElement(e,I.HTML);break}case s.HR:{A.openElements.currentTagId===s.OPTION&&A.openElements.pop(),A.openElements.currentTagId===s.OPTGROUP&&A.openElements.pop(),A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case s.INPUT:case s.KEYGEN:case s.TEXTAREA:case s.SELECT:{A.openElements.hasInSelectScope(s.SELECT)&&(A.openElements.popUntilTagNamePopped(s.SELECT),A._resetInsertionMode(),e.tagID!==s.SELECT&&A._processStartTag(e));break}case s.SCRIPT:case s.TEMPLATE:{Be(A,e);break}}}function su(A,e){switch(e.tagID){case s.OPTGROUP:{A.openElements.stackTop>0&&A.openElements.currentTagId===s.OPTION&&A.openElements.tagIDs[A.openElements.stackTop-1]===s.OPTGROUP&&A.openElements.pop(),A.openElements.currentTagId===s.OPTGROUP&&A.openElements.pop();break}case s.OPTION:{A.openElements.currentTagId===s.OPTION&&A.openElements.pop();break}case s.SELECT:{A.openElements.hasInSelectScope(s.SELECT)&&(A.openElements.popUntilTagNamePopped(s.SELECT),A._resetInsertionMode());break}case s.TEMPLATE:{ut(A,e);break}}}function xg(A,e){const t=e.tagID;t===s.CAPTION||t===s.TABLE||t===s.TBODY||t===s.TFOOT||t===s.THEAD||t===s.TR||t===s.TD||t===s.TH?(A.openElements.popUntilTagNamePopped(s.SELECT),A._resetInsertionMode(),A._processStartTag(e)):iu(A,e)}function vg(A,e){const t=e.tagID;t===s.CAPTION||t===s.TABLE||t===s.TBODY||t===s.TFOOT||t===s.THEAD||t===s.TR||t===s.TD||t===s.TH?A.openElements.hasInTableScope(t)&&(A.openElements.popUntilTagNamePopped(s.SELECT),A._resetInsertionMode(),A.onEndTag(e)):su(A,e)}function _g(A,e){switch(e.tagID){case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{Be(A,e);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{A.tmplInsertionModeStack[0]=p.IN_TABLE,A.insertionMode=p.IN_TABLE,Tt(A,e);break}case s.COL:{A.tmplInsertionModeStack[0]=p.IN_COLUMN_GROUP,A.insertionMode=p.IN_COLUMN_GROUP,ai(A,e);break}case s.TR:{A.tmplInsertionModeStack[0]=p.IN_TABLE_BODY,A.insertionMode=p.IN_TABLE_BODY,fn(A,e);break}case s.TD:case s.TH:{A.tmplInsertionModeStack[0]=p.IN_ROW,A.insertionMode=p.IN_ROW,hn(A,e);break}default:A.tmplInsertionModeStack[0]=p.IN_BODY,A.insertionMode=p.IN_BODY,GA(A,e)}}function Ng(A,e){e.tagID===s.TEMPLATE&&ut(A,e)}function ou(A,e){A.openElements.tmplCount>0?(A.openElements.popUntilTagNamePopped(s.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode(),A.onEof(e)):ri(A,e)}function Sg(A,e){e.tagID===s.HTML?GA(A,e):Bn(A,e)}function uu(A,e){var t;if(e.tagID===s.HTML){if(A.fragmentContext||(A.insertionMode=p.AFTER_AFTER_BODY),A.options.sourceCodeLocationInfo&&A.openElements.tagIDs[0]===s.HTML){A._setEndLocation(A.openElements.items[0],e);const r=A.openElements.items[1];r&&!(!((t=A.treeAdapter.getNodeSourceCodeLocation(r))===null||t===void 0)&&t.endTag)&&A._setEndLocation(r,e)}}else Bn(A,e)}function Bn(A,e){A.insertionMode=p.IN_BODY,cn(A,e)}function Lg(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.FRAMESET:{A._insertElement(e,I.HTML);break}case s.FRAME:{A._appendElement(e,I.HTML),e.ackSelfClosing=!0;break}case s.NOFRAMES:{Be(A,e);break}}}function Hg(A,e){e.tagID===s.FRAMESET&&!A.openElements.isRootHtmlElementCurrent()&&(A.openElements.pop(),!A.fragmentContext&&A.openElements.currentTagId!==s.FRAMESET&&(A.insertionMode=p.AFTER_FRAMESET))}function Dg(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.NOFRAMES:{Be(A,e);break}}}function Og(A,e){e.tagID===s.HTML&&(A.insertionMode=p.AFTER_AFTER_FRAMESET)}function Rg(A,e){e.tagID===s.HTML?GA(A,e):gn(A,e)}function gn(A,e){A.insertionMode=p.IN_BODY,cn(A,e)}function Mg(A,e){switch(e.tagID){case s.HTML:{GA(A,e);break}case s.NOFRAMES:{Be(A,e);break}}}function kg(A,e){e.chars=gA,A._insertCharacters(e)}function Pg(A,e){A._insertCharacters(e),A.framesetOk=!1}function cu(A){for(;A.treeAdapter.getNamespaceURI(A.openElements.current)!==I.HTML&&!A._isIntegrationPoint(A.openElements.currentTagId,A.openElements.current);)A.openElements.pop()}function Kg(A,e){if(rB(e))cu(A),A._startTagOutsideForeignContent(e);else{const t=A._getAdjustedCurrentElement(),r=A.treeAdapter.getNamespaceURI(t);r===I.MATHML?Vo(e):r===I.SVG&&(nB(e),Go(e)),Ai(e),e.selfClosing?A._appendElement(e,r):A._insertElement(e,r),e.ackSelfClosing=!0}}function Vg(A,e){if(e.tagID===s.P||e.tagID===s.BR){cu(A),A._endTagOutsideForeignContent(e);return}for(let t=A.openElements.stackTop;t>0;t--){const r=A.openElements.items[t];if(A.treeAdapter.getNamespaceURI(r)===I.HTML){A._endTagOutsideForeignContent(e);break}const n=A.treeAdapter.getTagName(r);if(n.toLowerCase()===e.tagName){e.tagName=n,A.openElements.shortenToLength(t);break}}}const Gg=new Set([w.AREA,w.BASE,w.BASEFONT,w.BGSOUND,w.BR,w.COL,w.EMBED,w.FRAME,w.HR,w.IMG,w.INPUT,w.KEYGEN,w.LINK,w.META,w.PARAM,w.SOURCE,w.TRACK,w.WBR]);function Yg(A,e){return e.treeAdapter.isElementNode(A)&&e.treeAdapter.getNamespaceURI(A)===I.HTML&&Gg.has(e.treeAdapter.getTagName(A))}const Xg={treeAdapter:xe,scriptingEnabled:!0};function Wg(A,e){const t={...Xg,...e};return lu(A,t)}function Jg(A,e){let t="";const r=e.treeAdapter.isElementNode(A)&&e.treeAdapter.getTagName(A)===w.TEMPLATE&&e.treeAdapter.getNamespaceURI(A)===I.HTML?e.treeAdapter.getTemplateContent(A):A,n=e.treeAdapter.getChildNodes(r);if(n)for(const a of n)t+=lu(a,e);return t}function lu(A,e){return e.treeAdapter.isElementNode(A)?qg(A,e):e.treeAdapter.isTextNode(A)?zg(A,e):e.treeAdapter.isCommentNode(A)?$g(A,e):e.treeAdapter.isDocumentTypeNode(A)?Zg(A,e):""}function qg(A,e){const t=e.treeAdapter.getTagName(A);return`<${t}${jg(A,e)}>${Yg(A,e)?"":`${Jg(A,e)}</${t}>`}`}function jg(A,{treeAdapter:e}){let t="";for(const r of e.getAttrList(A)){if(t+=" ",r.namespace)switch(r.namespace){case I.XML:{t+=`xml:${r.name}`;break}case I.XMLNS:{r.name!=="xmlns"&&(t+="xmlns:"),t+=r.name;break}case I.XLINK:{t+=`xlink:${r.name}`;break}default:t+=`${r.prefix}:${r.name}`}else t+=r.name;t+=`="${_s(r.value)}"`}return t}function zg(A,e){const{treeAdapter:t}=e,r=t.getTextNodeContent(A),n=t.getParentNode(A),a=n&&t.isElementNode(n)&&t.getTagName(n);return a&&t.getNamespaceURI(n)===I.HTML&&_h(a,e.scriptingEnabled)?r:Ns(r)}function $g(A,{treeAdapter:e}){return`<!--${e.getCommentNodeContent(A)}-->`}function Zg(A,{treeAdapter:e}){return`<!DOCTYPE ${e.getDocumentTypeNodeName(A)}>`}function Ap(A,e){return Wo.parse(A,e)}function ep(A,e,t){typeof A=="string"&&(t=e,e=A,A=null);const r=Wo.getFragmentParser(A,t);return r.tokenizer.write(e,!0),r.getFragment()}function du(A){const e=A.includes('"')?"'":'"';return e+A+e}function tp(A,e,t){let r="!DOCTYPE ";return A&&(r+=A),e?r+=` PUBLIC ${du(e)}`:t&&(r+=" SYSTEM"),t&&(r+=` ${du(t)}`),r}const Pe={isCommentNode:Vr,isElementNode:J,isTextNode:Ce,createDocument(){const A=new rt([]);return A["x-mode"]=re.NO_QUIRKS,A},createDocumentFragment(){return new rt([])},createElement(A,e,t){const r=Object.create(null),n=Object.create(null),a=Object.create(null);for(let o=0;o<t.length;o++){const u=t[o].name;r[u]=t[o].value,n[u]=t[o].namespace,a[u]=t[o].prefix}const i=new ma(A,r,[]);return i.namespace=e,i["x-attribsNamespace"]=n,i["x-attribsPrefix"]=a,i},createCommentNode(A){return new ga(A)},createTextNode(A){return new Wt(A)},appendChild(A,e){const t=A.children[A.children.length-1];t&&(t.next=e,e.prev=t),A.children.push(e),e.parent=A},insertBefore(A,e,t){const r=A.children.indexOf(t),{prev:n}=t;n&&(n.next=e,e.prev=n),t.prev=e,e.next=t,A.children.splice(r,0,e),e.parent=A},setTemplateContent(A,e){Pe.appendChild(A,e)},getTemplateContent(A){return A.children[0]},setDocumentType(A,e,t,r){const n=tp(e,t,r);let a=A.children.find(i=>Ca(i)&&i.name==="!doctype");a?a.data=n??null:(a=new pa("!doctype",n),Pe.appendChild(A,a)),a["x-name"]=e,a["x-publicId"]=t,a["x-systemId"]=r},setDocumentMode(A,e){A["x-mode"]=e},getDocumentMode(A){return A["x-mode"]},detachNode(A){if(A.parent){const e=A.parent.children.indexOf(A),{prev:t,next:r}=A;A.prev=null,A.next=null,t&&(t.next=r),r&&(r.prev=t),A.parent.children.splice(e,1),A.parent=null}},insertText(A,e){const t=A.children[A.children.length-1];t&&Ce(t)?t.data+=e:Pe.appendChild(A,Pe.createTextNode(e))},insertTextBefore(A,e,t){const r=A.children[A.children.indexOf(t)-1];r&&Ce(r)?r.data+=e:Pe.insertBefore(A,Pe.createTextNode(e),t)},adoptAttributes(A,e){for(let t=0;t<e.length;t++){const r=e[t].name;A.attribs[r]===void 0&&(A.attribs[r]=e[t].value,A["x-attribsNamespace"][r]=e[t].namespace,A["x-attribsPrefix"][r]=e[t].prefix)}},getFirstChild(A){return A.children[0]},getChildNodes(A){return A.children},getParentNode(A){return A.parent},getAttrList(A){return A.attributes},getTagName(A){return A.name},getNamespaceURI(A){return A.namespace},getTextNodeContent(A){return A.data},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){var e;return(e=A["x-name"])!==null&&e!==void 0?e:""},getDocumentTypeNodePublicId(A){var e;return(e=A["x-publicId"])!==null&&e!==void 0?e:""},getDocumentTypeNodeSystemId(A){var e;return(e=A["x-systemId"])!==null&&e!==void 0?e:""},isDocumentTypeNode(A){return Ca(A)&&A.name==="!doctype"},setNodeSourceCodeLocation(A,e){e&&(A.startIndex=e.startOffset,A.endIndex=e.endOffset),A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){e.endOffset!=null&&(A.endIndex=e.endOffset),A.sourceCodeLocation={...A.sourceCodeLocation,...e}}};function rp(A,e,t,r){var n;return(n=e.treeAdapter)!==null&&n!==void 0||(e.treeAdapter=Pe),e.scriptingEnabled!==!1&&(e.scriptingEnabled=!0),t?Ap(A,e):ep(r,A,e)}const np={treeAdapter:Pe};function ap(A){const e="length"in A?A:[A];for(let r=0;r<e.length;r+=1){const n=e[r];De(n)&&Array.prototype.splice.call(e,r,1,...n.children)}let t="";for(let r=0;r<e.length;r+=1){const n=e[r];t+=Wg(n,np)}return t}var X;(function(A){A[A.Tab=9]="Tab",A[A.NewLine=10]="NewLine",A[A.FormFeed=12]="FormFeed",A[A.CarriageReturn=13]="CarriageReturn",A[A.Space=32]="Space",A[A.ExclamationMark=33]="ExclamationMark",A[A.Number=35]="Number",A[A.Amp=38]="Amp",A[A.SingleQuote=39]="SingleQuote",A[A.DoubleQuote=34]="DoubleQuote",A[A.Dash=45]="Dash",A[A.Slash=47]="Slash",A[A.Zero=48]="Zero",A[A.Nine=57]="Nine",A[A.Semi=59]="Semi",A[A.Lt=60]="Lt",A[A.Eq=61]="Eq",A[A.Gt=62]="Gt",A[A.Questionmark=63]="Questionmark",A[A.UpperA=65]="UpperA",A[A.LowerA=97]="LowerA",A[A.UpperF=70]="UpperF",A[A.LowerF=102]="LowerF",A[A.UpperZ=90]="UpperZ",A[A.LowerZ=122]="LowerZ",A[A.LowerX=120]="LowerX",A[A.OpeningSquareBracket=91]="OpeningSquareBracket"})(X||(X={}));var N;(function(A){A[A.Text=1]="Text",A[A.BeforeTagName=2]="BeforeTagName",A[A.InTagName=3]="InTagName",A[A.InSelfClosingTag=4]="InSelfClosingTag",A[A.BeforeClosingTagName=5]="BeforeClosingTagName",A[A.InClosingTagName=6]="InClosingTagName",A[A.AfterClosingTagName=7]="AfterClosingTagName",A[A.BeforeAttributeName=8]="BeforeAttributeName",A[A.InAttributeName=9]="InAttributeName",A[A.AfterAttributeName=10]="AfterAttributeName",A[A.BeforeAttributeValue=11]="BeforeAttributeValue",A[A.InAttributeValueDq=12]="InAttributeValueDq",A[A.InAttributeValueSq=13]="InAttributeValueSq",A[A.InAttributeValueNq=14]="InAttributeValueNq",A[A.BeforeDeclaration=15]="BeforeDeclaration",A[A.InDeclaration=16]="InDeclaration",A[A.InProcessingInstruction=17]="InProcessingInstruction",A[A.BeforeComment=18]="BeforeComment",A[A.CDATASequence=19]="CDATASequence",A[A.InSpecialComment=20]="InSpecialComment",A[A.InCommentLike=21]="InCommentLike",A[A.BeforeSpecialS=22]="BeforeSpecialS",A[A.BeforeSpecialT=23]="BeforeSpecialT",A[A.SpecialStartSequence=24]="SpecialStartSequence",A[A.InSpecialTag=25]="InSpecialTag",A[A.InEntity=26]="InEntity"})(N||(N={}));function ve(A){return A===X.Space||A===X.NewLine||A===X.Tab||A===X.FormFeed||A===X.CarriageReturn}function pn(A){return A===X.Slash||A===X.Gt||ve(A)}function ip(A){return A>=X.LowerA&&A<=X.LowerZ||A>=X.UpperA&&A<=X.UpperZ}var be;(function(A){A[A.NoValue=0]="NoValue",A[A.Unquoted=1]="Unquoted",A[A.Single=2]="Single",A[A.Double=3]="Double"})(be||(be={}));const RA={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};let sp=class{constructor({xmlMode:e=!1,decodeEntities:t=!0},r){this.cbs=r,this.state=N.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=N.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=t,this.entityDecoder=new Fa(e?Fs:ba,(n,a)=>this.emitCodePoint(n,a))}reset(){this.state=N.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=N.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===X.Lt||!this.decodeEntities&&this.fastForwardTo(X.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=N.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(!(t?pn(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=N.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===X.Gt||ve(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const r=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=r}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===RA.TitleEnd?this.decodeEntities&&e===X.Amp&&this.startEntity():this.fastForwardTo(X.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===X.Lt)}stateCDATASequence(e){e===RA.Cdata[this.sequenceIndex]?++this.sequenceIndex===RA.Cdata.length&&(this.state=N.InCommentLike,this.currentSequence=RA.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=N.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===RA.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=N.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!pn(e):ip(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=N.SpecialStartSequence}stateBeforeTagName(e){if(e===X.ExclamationMark)this.state=N.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===X.Questionmark)this.state=N.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){const t=e|32;this.sectionStart=this.index,this.xmlMode?this.state=N.InTagName:t===RA.ScriptEnd[2]?this.state=N.BeforeSpecialS:t===RA.TitleEnd[2]?this.state=N.BeforeSpecialT:this.state=N.InTagName}else e===X.Slash?this.state=N.BeforeClosingTagName:(this.state=N.Text,this.stateText(e))}stateInTagName(e){pn(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){ve(e)||(e===X.Gt?this.state=N.Text:(this.state=this.isTagStartChar(e)?N.InClosingTagName:N.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===X.Gt||ve(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=N.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===X.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=N.InSpecialTag,this.sequenceIndex=0):this.state=N.Text,this.sectionStart=this.index+1):e===X.Slash?this.state=N.InSelfClosingTag:ve(e)||(this.state=N.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===X.Gt?(this.cbs.onselfclosingtag(this.index),this.state=N.Text,this.sectionStart=this.index+1,this.isSpecial=!1):ve(e)||(this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===X.Eq||pn(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=N.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===X.Eq?this.state=N.BeforeAttributeValue:e===X.Slash||e===X.Gt?(this.cbs.onattribend(be.NoValue,this.sectionStart),this.sectionStart=-1,this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e)):ve(e)||(this.cbs.onattribend(be.NoValue,this.sectionStart),this.state=N.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===X.DoubleQuote?(this.state=N.InAttributeValueDq,this.sectionStart=this.index+1):e===X.SingleQuote?(this.state=N.InAttributeValueSq,this.sectionStart=this.index+1):ve(e)||(this.sectionStart=this.index,this.state=N.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===X.DoubleQuote?be.Double:be.Single,this.index+1),this.state=N.BeforeAttributeName):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,X.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,X.SingleQuote)}stateInAttributeValueNoQuotes(e){ve(e)||e===X.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(be.Unquoted,this.index),this.state=N.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===X.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===X.OpeningSquareBracket?(this.state=N.CDATASequence,this.sequenceIndex=0):this.state=e===X.Dash?N.BeforeComment:N.InDeclaration}stateInDeclaration(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=N.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===X.Dash?(this.state=N.InCommentLike,this.currentSequence=RA.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=N.InDeclaration}stateInSpecialComment(e){(e===X.Gt||this.fastForwardTo(X.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=N.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=e|32;t===RA.ScriptEnd[3]?this.startSpecial(RA.ScriptEnd,4):t===RA.StyleEnd[3]?this.startSpecial(RA.StyleEnd,4):(this.state=N.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=e|32;t===RA.TitleEnd[3]?this.startSpecial(RA.TitleEnd,4):t===RA.TextareaEnd[3]?this.startSpecial(RA.TextareaEnd,4):(this.state=N.InTagName,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=N.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?ie.Strict:this.baseState===N.Text||this.baseState===N.InSpecialTag?ie.Legacy:ie.Attribute)}stateInEntity(){const e=this.entityDecoder.write(this.buffer,this.index-this.offset);e>=0?(this.state=this.baseState,e===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===N.Text||this.state===N.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===N.InAttributeValueDq||this.state===N.InAttributeValueSq||this.state===N.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case N.Text:{this.stateText(e);break}case N.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case N.InSpecialTag:{this.stateInSpecialTag(e);break}case N.CDATASequence:{this.stateCDATASequence(e);break}case N.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case N.InAttributeName:{this.stateInAttributeName(e);break}case N.InCommentLike:{this.stateInCommentLike(e);break}case N.InSpecialComment:{this.stateInSpecialComment(e);break}case N.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case N.InTagName:{this.stateInTagName(e);break}case N.InClosingTagName:{this.stateInClosingTagName(e);break}case N.BeforeTagName:{this.stateBeforeTagName(e);break}case N.AfterAttributeName:{this.stateAfterAttributeName(e);break}case N.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case N.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case N.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case N.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case N.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case N.BeforeSpecialT:{this.stateBeforeSpecialT(e);break}case N.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case N.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case N.InDeclaration:{this.stateInDeclaration(e);break}case N.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case N.BeforeComment:{this.stateBeforeComment(e);break}case N.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case N.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===N.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===N.InCommentLike?this.currentSequence===RA.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===N.InTagName||this.state===N.BeforeAttributeName||this.state===N.BeforeAttributeValue||this.state===N.AfterAttributeName||this.state===N.InAttributeName||this.state===N.InAttributeValueSq||this.state===N.InAttributeValueDq||this.state===N.InAttributeValueNq||this.state===N.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==N.Text&&this.baseState!==N.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}};const Ut=new Set(["input","option","optgroup","select","button","datalist","textarea"]),oA=new Set(["p"]),fu=new Set(["thead","tbody"]),hu=new Set(["dd","dt"]),Bu=new Set(["rt","rp"]),op=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",oA],["h1",oA],["h2",oA],["h3",oA],["h4",oA],["h5",oA],["h6",oA],["select",Ut],["input",Ut],["output",Ut],["button",Ut],["datalist",Ut],["textarea",Ut],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",hu],["dt",hu],["address",oA],["article",oA],["aside",oA],["blockquote",oA],["details",oA],["div",oA],["dl",oA],["fieldset",oA],["figcaption",oA],["figure",oA],["footer",oA],["form",oA],["header",oA],["hr",oA],["main",oA],["nav",oA],["ol",oA],["pre",oA],["section",oA],["table",oA],["ul",oA],["rt",Bu],["rp",Bu],["tbody",fu],["tfoot",fu]]),up=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),gu=new Set(["math","svg"]),pu=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),cp=/\s|\//;let lp=class{constructor(e,t={}){var r,n,a,i,o,u;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(r=t.lowerCaseTags)!==null&&r!==void 0?r:this.htmlMode,this.lowerCaseAttributeNames=(n=t.lowerCaseAttributeNames)!==null&&n!==void 0?n:this.htmlMode,this.recognizeSelfClosing=(a=t.recognizeSelfClosing)!==null&&a!==void 0?a:!this.htmlMode,this.tokenizer=new((i=t.Tokenizer)!==null&&i!==void 0?i:sp)(this.options,this),this.foreignContext=[!this.htmlMode],(u=(o=this.cbs).onparserinit)===null||u===void 0||u.call(o,this)}ontext(e,t){var r,n;const a=this.getSlice(e,t);this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,a),this.startIndex=t}ontextentity(e,t){var r,n;this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,Ua(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&up.has(e)}onopentagname(e,t){this.endIndex=t;let r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)}emitOpenTag(e){var t,r,n,a;this.openTagStart=this.startIndex,this.tagname=e;const i=this.htmlMode&&op.get(e);if(i)for(;this.stack.length>0&&i.has(this.stack[0]);){const o=this.stack.shift();(r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,o,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(gu.has(e)?this.foreignContext.unshift(!0):pu.has(e)&&this.foreignContext.unshift(!1))),(a=(n=this.cbs).onopentagname)===null||a===void 0||a.call(n,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&((r=(t=this.cbs).onopentag)===null||r===void 0||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var r,n,a,i,o,u,l,d;this.endIndex=t;let f=this.getSlice(e,t);if(this.lowerCaseTagNames&&(f=f.toLowerCase()),this.htmlMode&&(gu.has(f)||pu.has(f))&&this.foreignContext.shift(),this.isVoidElement(f))this.htmlMode&&f==="br"&&((i=(a=this.cbs).onopentagname)===null||i===void 0||i.call(a,"br"),(u=(o=this.cbs).onopentag)===null||u===void 0||u.call(o,"br",{},!0),(d=(l=this.cbs).onclosetag)===null||d===void 0||d.call(l,"br",!1));else{const h=this.stack.indexOf(f);if(h!==-1)for(let C=0;C<=h;C++){const m=this.stack.shift();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,m,C!==h)}else this.htmlMode&&f==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,r;const n=this.tagname;this.endOpenTag(e),this.stack[0]===n&&((r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,n,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;const r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=Ua(e)}onattribend(e,t){var r,n;this.endIndex=t,(n=(r=this.cbs).onattribute)===null||n===void 0||n.call(r,this.attribname,this.attribvalue,e===be.Double?'"':e===be.Single?"'":e===be.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){const t=e.search(cp);let r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${n}`,`!${r}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${n}`,`?${r}`)}this.startIndex=t+1}oncomment(e,t,r){var n,a,i,o;this.endIndex=t,(a=(n=this.cbs).oncomment)===null||a===void 0||a.call(n,this.getSlice(e,t-r)),(o=(i=this.cbs).oncommentend)===null||o===void 0||o.call(i),this.startIndex=t+1}oncdata(e,t,r){var n,a,i,o,u,l,d,f,h,C;this.endIndex=t;const m=this.getSlice(e,t-r);!this.htmlMode||this.options.recognizeCDATA?((a=(n=this.cbs).oncdatastart)===null||a===void 0||a.call(n),(o=(i=this.cbs).ontext)===null||o===void 0||o.call(i,m),(l=(u=this.cbs).oncdataend)===null||l===void 0||l.call(u)):((f=(d=this.cbs).oncomment)===null||f===void 0||f.call(d,`[CDATA[${m}]]`),(C=(h=this.cbs).oncommentend)===null||C===void 0||C.call(h)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=0;r<this.stack.length;r++)this.cbs.onclosetag(this.stack[r],!0)}(t=(e=this.cbs).onend)===null||t===void 0||t.call(e)}reset(){var e,t,r,n;(t=(e=this.cbs).onreset)===null||t===void 0||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(r=this.cbs).onparserinit)===null||n===void 0||n.call(r,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}};function dp(A,e){const t=new f0(void 0,e);return new lp(t,e).end(A),t.root}const fp=Kf((A,e,t,r)=>e._useHtmlParser2?dp(A,e):rp(A,e,t,r)),Eu=wh(fp,(A,e)=>e._useHtmlParser2?Gr(A,e):ap(A));var Y=(A=>(A[A.None=0]="None",A[A.Text=1]="Text",A[A.Image=2]="Image",A[A.Video=3]="Video",A[A.Icon=4]="Icon",A[A.Link=5]="Link",A[A.Button=6]="Button",A[A.Block=10]="Block",A))(Y||{}),ge;(A=>{A.THEME_TEXT_COLOR_CLASS="gp-designer-theme-text",A.THEME_BUTTON_COLOR_CLASS="gp-designer-theme-button",A.THEME_ICON_COLOR_CLASS="gp-designer-theme-icon",A.THEME_COLOR="#3574e6"})(ge||(ge={}));const hp=c.defineComponent({name:"GpMessage",props:{message:{type:String,required:!0},type:{type:String,default:"info"},position:{type:String,default:"top-right"},duration:{type:Number,default:3e3},onClose:{type:Function,required:!0},icon:{type:Boolean,default:!0}},setup(A){const e=c.ref(!1),t=c.computed(()=>({success:"bg-green-100 text-green-800",error:"bg-red-100 text-red-800",info:"bg-blue-100 text-blue-800",warning:"bg-yellow-100 text-yellow-800"})[A.type]),r=()=>{e.value=!1,A.onClose()};return setTimeout(()=>{r()},A.duration),e.value=!0,{visible:e,typeClass:t,closeMessage:r}}}),Ke=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},Bp={key:0,class:"gp-message"},gp={key:0,class:"mr-2"},pp={key:0,class:"text-green-500"},Ep={key:1,class:"text-red-500"},mp={key:2,class:"text-blue-500"},Cp={key:3,class:"text-yellow-500"};function wp(A,e,t,r,n,a){return c.openBlock(),c.createBlock(c.Transition,{name:"fade"},{default:c.withCtx(()=>[A.visible?(c.openBlock(),c.createElementBlock("div",Bp,[c.createElementVNode("div",{class:c.normalizeClass([A.typeClass,"message-content"])},[A.icon?(c.openBlock(),c.createElementBlock("span",gp,[c.renderSlot(A.$slots,"icon",{},()=>[A.type==="success"?(c.openBlock(),c.createElementBlock("span",pp,"✔")):c.createCommentVNode("",!0),A.type==="error"?(c.openBlock(),c.createElementBlock("span",Ep,"✖")):c.createCommentVNode("",!0),A.type==="info"?(c.openBlock(),c.createElementBlock("span",mp,"ℹ")):c.createCommentVNode("",!0),A.type==="warning"?(c.openBlock(),c.createElementBlock("span",Cp,"⚠")):c.createCommentVNode("",!0)],!0)])):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(A.message),1),c.createElementVNode("button",{class:"close-btn hover:text-gray-800 font-bold",onClick:e[0]||(e[0]=(...i)=>A.closeMessage&&A.closeMessage(...i))}," × ")],2)])):c.createCommentVNode("",!0)]),_:3})}const bp=Ke(hp,[["render",wp],["__scopeId","data-v-a234b03c"]]),Qt=c.reactive([]);let si=null;const Tp=()=>{const A=document.createElement("div");return A.id="global-message-container",document.body.appendChild(A),A},Up=()=>{if(si)return;const A=Tp();si=c.createApp({setup(){return{messageQueue:Qt}},render(){const e=c.computed(()=>{var r;return{"top-left":"top-4 left-4","top-right":"top-4 right-4","bottom-left":"bottom-4 left-4","bottom-right":"bottom-4 right-4","top-center":"top-4 left-1/2 transform -translate-x-1/2","bottom-center":"bottom-4 left-1/2 transform -translate-x-1/2"}[((r=Qt[0])==null?void 0:r.options.position)||"top-right"]});return c.h("div",{class:`fixed flex flex-col gap-2 ${e.value}`,style:{zIndex:999999}},Qt.map(t=>c.h(bp,{key:t.id,...t.options,onClose:()=>mu(t.id)})))}}),si.mount(A)},mu=A=>{const e=Qt.findIndex(t=>t.id===A);e!==-1&&Qt.splice(e,1)};let Qp=0;const z=A=>{Up();const e=Qp++;Qt.push({id:e,options:A}),setTimeout(()=>{mu(e)},A.duration||3e3)};z.success=(A,e=3e3,t=!0)=>{z(typeof A=="string"?{message:A,type:"success",duration:e,icon:t}:{...A,type:"success"})},z.error=(A,e=3e3,t=!0)=>{z(typeof A=="string"?{message:A,type:"error",duration:e,icon:t}:{...A,type:"error"})},z.info=(A,e=3e3,t=!0)=>{z(typeof A=="string"?{message:A,type:"info",duration:e,icon:t}:{...A,type:"info"})},z.warning=(A,e=3e3,t=!0)=>{z(typeof A=="string"?{message:A,type:"warning",duration:e,icon:t}:{...A,type:"warning"})};const Fp=["onClick"],Ip={key:2,"date-action":"1",contenteditable:"false",class:"text-red-500 text-xs mt-1"},yp=Ke(c.defineComponent({__name:"ElementRenderer",props:{element:{type:Object,required:!0},selectedElement:Object,hoveredElement:Object,uploadByFile:{type:Function,required:!1},icons:{type:Array,default:()=>[]},mode:{type:String,default:"edit"},cropper:{type:Object,required:!1},icon:{type:Object,required:!1},upload:{type:Object,required:!1},r:{type:String,required:!1},showMargin:{type:Boolean,default:!1}},emits:["selectElement","hoverElement","updateText","contentUpdated","blockAction","addIcon","updateElementRule"],setup(A,{emit:e}){const t=A,r=e,n=c.computed(()=>{var _;const y=t.element.editText||t.element.text;return t.element.rule&&t.element.rule.allowWrap?(_=y==null?void 0:y.replace(/\n/g,"<br>"))==null?void 0:_.replace(/ /g,"&nbsp;"):y}),a=c.computed(()=>t.selectedElement===t.element),i=c.computed(()=>t.hoveredElement===t.element),o=c.ref(!1),u=c.ref(!1),l=c.ref(""),d=c.computed(()=>t.element.rule.minText||0),f=c.computed(()=>t.element.rule.maxText||1/0),h=y=>{let _="";if(y.children&&y.children.length&&y.children[0].type===Y.Block){const j=y.children[0].rule.flexColumn||y.children[0].rule.mobileFlexColumn;Math.min(j,y.children.length)&&(_+=" flex pc:justify-center flex-wrap ",y.children[0].rule.mobileFlexColumn?_+=" justify-center ":_+=" gp-designer-m-swiper swiper-wrapper justify-normal ")}if(y.type===Y.Block){const j=y.rule.flexColumn,CA=y.rule.mobileFlexColumn;(CA||j)&&(_+=" box-border "),CA>1&&CA<=12?_+=` basis-1/${CA} `:CA==1?_+=" basis-full ":CA||(_+=" gp-designer-m-swiper-slide swiper-slide "),j>1&&j<=12?_+=` pc:basis-1/${j} `:j==1&&(_+=" pc:basis-full ")}if((y.type==Y.Button||y.type==Y.Link)&&y.rule.openMeiqia&&(_+=" gp-designer-meiqia "),y.rule.isThemeColor&&t.element.type===Y.Text?_+=" "+ge.THEME_TEXT_COLOR_CLASS+" ":y.rule.isThemeColor&&t.element.type===Y.Button?_+=" "+ge.THEME_BUTTON_COLOR_CLASS+" ":y.rule.isThemeColor&&t.element.type===Y.Icon&&(_+=" "+ge.THEME_ICON_COLOR_CLASS+" "),y.attrs.class){var tA=y.attrs.class.split(" ").filter(j=>j);tA.length&&(_=_.split(" ").filter(j=>!tA.includes(j)).join(" "))}return _};c.watch(()=>t.r,()=>{r("contentUpdated",H())},{immediate:!0});function C(y){y.xpath!="/div[1]"&&t.mode!=="preview"&&(t.mode==="edit"?y.type===Y.Text&&r("selectElement",y):r("selectElement",y),!y.rule.isReadOnly&&y.type===Y.Text&&(o.value=!0))}function m(y){r("selectElement",y)}function T(y,_){r("hoverElement",y,_)}function Q(y){r("hoverElement",y)}function b(y){y.currentTarget.contains(y.relatedTarget)?r("hoverElement",null):t.hoveredElement?r("hoverElement",null,t.hoveredElement.parentxpath):r("hoverElement",null)}function v(){o.value=!1,r("contentUpdated",H())}function H(){function y(tA){var V;const j=tA;if(j.tag==="br")return"";const CA=j.rule.isThemeColor&&j.type==Y.Text?ge.THEME_TEXT_COLOR_CLASS:j.rule.isThemeColor&&j.type==Y.Button?ge.THEME_BUTTON_COLOR_CLASS:j.rule.isThemeColor&&j.type==Y.Icon?ge.THEME_ICON_COLOR_CLASS:"";CA?j.attrs.class&&!j.attrs.class.includes(CA)?j.attrs.class=j.attrs.class?j.attrs.class+" "+CA:CA:j.attrs.class||(j.attrs.class=CA):j.attrs.class=(V=j.attrs.class)==null?void 0:V.replace(new RegExp(`${ge.THEME_TEXT_COLOR_CLASS}|${ge.THEME_BUTTON_COLOR_CLASS}|${ge.THEME_ICON_COLOR_CLASS}`,"g"),"");const et={class:j.attrs.class||""},Pr=h(j);Pr&&(et.class+=" "+Pr);let Gt=Object.entries(tA.attrs||{}).filter(([iA,BA])=>iA!=="class").map(([iA,BA])=>`${iA}="${BA}"`).join(" ");const Yt=Object.entries(et||{}).map(([iA,BA])=>`${iA}="${BA.trim()}"`).join(" ");Gt+=Yt;const fe=`<${tA.tag}${Gt?" "+Gt:""}>`,bs=`</${tA.tag}>`,F=(tA.children||[]).map(iA=>y(iA)).join("");let x=tA.editText||tA.text||"";return x=x.replace(/\r\n/g,`
9
+ `).replace(/\n/g,"<br>"),`${fe}${x}${F}${bs}`}return y(t.element)}function K(y){var CA,et;y.preventDefault(),y.stopPropagation();let _=((CA=y.clipboardData)==null?void 0:CA.getData("text/plain"))||"";(et=t.element.rule)!=null&&et.allowWrap?(_=_==null?void 0:_.replace(/\n/g,"<br>"),document.execCommand("insertHTML",!1,_)):(_=_==null?void 0:_.replace(/\n/g," "),document.execCommand("insertText",!1,_));const tA=y.target,j=tA.innerText||tA.textContent||"";O(j)}function L(y){var _;y.key==="Enter"&&(y.preventDefault(),y.stopPropagation(),(_=t.element.rule)!=null&&_.allowWrap?document.execCommand("insertLineBreak"):z.error("当前节点不允许换行"))}function E(y){y.stopPropagation();const _=y.target,tA=_.innerText||_.textContent||"";O(tA)}function O(y){if(y.length<d.value){u.value=!0,l.value=`最少输入 ${d.value} 个字符`;return}else if(y.length>f.value){u.value=!0,l.value=`最多输入 ${f.value} 个字符`;return}else u.value=!1,l.value="";r("updateText",{element:t.element,newText:y}),r("contentUpdated",H());const _=c.toRaw(t.element);_.editText=y}function R(y){r("updateText",y),r("contentUpdated",H())}function k(){const y={...t.element};r("blockAction",{action:"add",element:t.element,newBlock:y})}function eA(){cA(t.element),r("blockAction",{action:"moveUp",element:t.element})}function cA(y){y.children&&y.children.length>0&&y.children.forEach(_=>{_.type==Y.Text&&(_.text!==_.editText&&(_.text=_.editText),cA(_))})}function hA(){cA(t.element),r("blockAction",{action:"moveDown",element:t.element})}function q(){r("blockAction",{action:"delete",element:t.element})}function nA(y){r("blockAction",y),r("contentUpdated",H())}function lA(y){_A.value.openModal(y)}function dA(y){WA.value.openModal(y)}function TA(y,_){r("addIcon",y,_),r("contentUpdated",H())}function qA(y){r("updateElementRule",y)}const _A=c.ref(t.icon);c.watch(()=>t.icon,y=>{_A.value=y},{immediate:!0});const WA=c.ref(t.upload);c.watch(()=>t.upload,y=>{WA.value=y},{immediate:!0});const jA=c.computed(()=>{const y=h(t.element);return t.element.css=y,y}),OA=(y,_)=>{_.children&&_.children.length&&_.children[0].type===Y.Block&&_.children.map(tA=>{tA.rule.flexColumn=y}),r("updateElementRule",_)},PA=c.computed(()=>{let y="";if(t.mode==="design"){const _=t.element;if(_.type===Y.Block){const tA=_.rule.flexColumn;tA>1&&tA<=12&&(y+=`flex-basis: calc(100% / ${tA} - 10px);`)}}return y}),KA=c.ref(null);return(y,_)=>{const tA=c.resolveComponent("ElementRenderer",!0);return c.openBlock(),c.createElementBlock(c.Fragment,null,[t.element.type==c.unref(Y).Text?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:0,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",i.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",u.value?"border-dashed border-red-500":"",(!i.value&&!a.value&&!u.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",jA.value],style:PA.value},t.element.attrs,{contenteditable:o.value&&t.element.type==c.unref(Y).Text&&a.value&&!t.element.rule.isReadOnly&&!t.element.rule.allowWrap,onClick:_[0]||(_[0]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:_[1]||(_[1]=()=>Q(t.element)),onMouseleave:b,onBlur:v,onInput:E,onPaste:K,onKeydown:c.withModifiers(L,["stop"]),ref_key:"elementRef",ref:KA,innerHTML:n.value}),null,16,["class","style","contenteditable","innerHTML"])):(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:1,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",i.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",u.value?"border-dashed border-red-500":"",(!i.value&&!a.value&&!u.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",jA.value],style:PA.value},t.element.attrs,{contenteditable:!1,onClick:_[5]||(_[5]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:_[6]||(_[6]=()=>Q(t.element)),onMouseleave:b,onBlur:v,onInput:E,onPaste:K,onKeydown:c.withModifiers(L,["stop"]),ref_key:"elementRef",ref:KA}),{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.value)+" ",1),t.element.children&&t.element.children.length?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children,(j,CA)=>(c.openBlock(),c.createBlock(tA,{"show-margin":A.showMargin,key:CA,r:A.r,mode:A.mode,icons:A.icons,element:j,selectedElement:t.selectedElement,hoveredElement:t.hoveredElement,cropper:A.cropper,icon:A.icon,upload:A.upload,"upload-by-file":A.uploadByFile,onSelectElement:m,onHoverElement:T,onUpdateText:R,onBlockAction:nA,onAddIcon:TA,onUpdateElementRule:()=>qA(j)},null,8,["show-margin","r","mode","icons","element","selectedElement","hoveredElement","cropper","icon","upload","upload-by-file","onUpdateElementRule"]))),128)),t.element.type===c.unref(Y).Block?(c.openBlock(),c.createElementBlock("div",{key:0,"date-action":"1",contenteditable:"false",onClick:_[2]||(_[2]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute left-2 top-2 text-sm"},[c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-green-500/80 text-white rounded hover:bg-green-500",onClick:c.withModifiers(k,["stop"])},_[9]||(_[9]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("rect",{width:"336",height:"336",x:"128",y:"128",fill:"none",stroke:"white","stroke-linejoin":"round","stroke-width":"32",rx:"57",ry:"57"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m383.5 128l.5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(eA,["stop"])},_[10]||(_[10]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144M120 256h292"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(hA,["stop"])},_[11]||(_[11]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"m268 112l144 144l-144 144m124-144H100"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-red-500/80 text-white rounded hover:bg-red-500",onClick:c.withModifiers(q,["stop"])},_[12]||(_[12]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"})],-1)]))])):c.createCommentVNode("",!0),t.element.children&&t.element.children.length&&t.element.children[0].type===c.unref(Y).Block&&t.element.children[0].rule&&t.element.children[0].rule.flexColumns&&t.element.children[0].rule.flexColumns.length>0?(c.openBlock(),c.createElementBlock("div",{key:1,"date-action":"1",contenteditable:"false",onClick:_[3]||(_[3]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute right-0 -top-6 items-center"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children[0].rule.flexColumns,(j,CA)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["text-xs w-6 h-6 flex-none content-center items-center justify-center bg-purple-400/80 text-white rounded hover:bg-purple-600",t.element.children[0].rule.flexColumn===j?"bg-purple-700":""]),onClick:c.withModifiers(()=>OA(j,t.element),["stop"])},c.toDisplayString(j),11,Fp))),256))])):c.createCommentVNode("",!0)],64)):c.createCommentVNode("",!0),t.element.type===c.unref(Y).Icon?(c.openBlock(),c.createElementBlock("div",{key:1,class:"cursor-pointer rounded-sm w-5 h-5 flex justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",contenteditable:"false",onClick:_[4]||(_[4]=c.withModifiers(()=>lA(t.element),["stop"]))},_[13]||(_[13]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))):c.createCommentVNode("",!0)]),_:1},16,["class","style"])),t.element.type==c.unref(Y).Text&&u.value?(c.openBlock(),c.createElementBlock("div",Ip,c.toDisplayString(l.value),1)):c.createCommentVNode("",!0),t.element.type===c.unref(Y).Image?(c.openBlock(),c.createElementBlock("div",{key:3,class:"cursor-pointer rounded-sm flex justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",onClick:_[8]||(_[8]=c.withModifiers(()=>{},["stop"])),contenteditable:"false"},[c.createElementVNode("div",{class:"p-1",onClick:_[7]||(_[7]=c.withModifiers(()=>dA(t.element),["stop"]))},_[14]||(_[14]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))])):c.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-3a877c04"]]),xp=c.defineComponent({name:"GpCheckbox",props:{modelValue:{type:Boolean,required:!0},label:{type:String,default:""}},emits:["update:modelValue"],setup(A,{emit:e}){return{updateValue:r=>{e("update:modelValue",r.target.checked)}}}}),vp={class:"form-group"},_p={class:"flex items-center space-x-2 cursor-pointer"},Np=["checked","aria-checked"],Sp={class:"checkbox-label text-sm text-gray-700"};function Lp(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",vp,[c.createElementVNode("label",_p,[c.createElementVNode("input",{type:"checkbox",checked:A.modelValue,onChange:e[0]||(e[0]=(...i)=>A.updateValue&&A.updateValue(...i)),class:"custom-checkbox","aria-checked":A.modelValue},null,40,Np),c.createElementVNode("span",Sp,c.toDisplayString(A.label),1)])])}const Ft=Ke(xp,[["render",Lp],["__scopeId","data-v-68b8f276"]]),Hp={class:"text-sm"},Dp={key:0},Op={key:0},Rp={class:"text-gray-500 my-2 truncate"},Mp={class:"text-gray-500 my-2 break-words"},kp={key:1},Pp={key:2},Kp={key:3},Vp={key:4},Gp={key:5},Yp={key:6},Xp={key:7},Wp={key:8},Jp={key:9},qp={key:10},jp={key:11},zp={key:12},$p={key:13},Zp=Ke(c.defineComponent({__name:"EditorPanel",props:{element:Object},emits:["updateElement"],setup(A,{emit:e}){const t=A,r=e,n=c.ref({rule:{},...t.element});c.watch(()=>t.element,i=>{n.value={rule:{},...i}},{immediate:!0});function a(){var i;if(n.value.type===Y.Icon&&!n.value.attrs.class.includes("iconfont")){z.error("图标仅支持 iconfont 图标");return}if(n.value.type===Y.Image&&n.value.tag!=="img"){z.error("节点类型错误");return}if(n.value.type===Y.Video&&n.value.tag!=="video"){z.error("节点类型错误");return}if(n.value.type===Y.Link&&n.value.tag!=="a"){z.error("节点类型错误");return}if(n.value.type===Y.Text){if(n.value.rule.maxText&&Number(n.value.rule.minText)>Number(n.value.rule.maxText)){z.error("最小文本长度不能大于最大文本长度");return}if(n.value.tag!=="p"&&n.value.tag!=="div"&&n.value.tag!=="span"&&n.value.tag!=="h1"&&n.value.tag!=="h2"&&n.value.tag!=="h3"&&n.value.tag!=="h4"&&n.value.tag!=="h5"&&n.value.tag!=="h6"&&n.value.tag!=="label"&&n.value.tag!=="strong"&&n.value.tag!=="em"&&n.value.tag!=="b"&&n.value.tag!=="i"&&n.value.tag!=="ul"&&n.value.tag!=="ol"&&n.value.tag!=="li"&&n.value.tag!=="dl"&&n.value.tag!=="dt"&&n.value.tag!=="dd"){z.error("节点类型错误");return}}if(n.value.type===Y.Block){if(n.value.rule.maxBlock&&Number(n.value.rule.minBlock)>Number(n.value.rule.maxBlock)){z.error("最小块数量不能大于最大块数量");return}if(n.value.tag!=="div"&&n.value.tag!=="section"&&n.value.tag!=="article"&&n.value.tag!=="nav"&&n.value.tag!=="header"&&n.value.tag!=="footer"&&n.value.tag!=="span"&&n.value.tag!=="p"&&n.value.tag!=="img"){z.error("节点类型错误");return}if(!n.value.children||n.value.children.length<1){z.error("节点错误,必须包含子元素");return}!n.value.rule.flexColumn&&((i=n.value.rule.flexColumns)==null?void 0:i.length)>0&&(n.value.rule.flexColumn=n.value.rule.flexColumns[0])}n.value.rule.minText?n.value.rule.minText=Number(n.value.rule.minText):n.value.rule.minText=void 0,n.value.rule.maxText?n.value.rule.maxText=Number(n.value.rule.maxText):n.value.rule.maxText=void 0,n.value.rule.minBlock?n.value.rule.minBlock=Number(n.value.rule.minBlock):n.value.rule.minBlock=void 0,n.value.rule.maxBlock?n.value.rule.maxBlock=Number(n.value.rule.maxBlock):n.value.rule.maxBlock=void 0,n.value.rule.flexColumn?n.value.rule.flexColumn=Number(n.value.rule.flexColumn):n.value.rule.flexColumn=void 0,n.value.rule.mobileFlexColumn?n.value.rule.mobileFlexColumn=Number(n.value.rule.mobileFlexColumn):n.value.rule.mobileFlexColumn=void 0,r("updateElement",n.value)}return(i,o)=>(c.openBlock(),c.createElementBlock("div",Hp,[n.value?(c.openBlock(),c.createElementBlock("div",Dp,[n.value.text!==void 0?(c.openBlock(),c.createElementBlock("div",Op,[o[16]||(o[16]=c.createElementVNode("label",{class:"block"},"内容",-1)),c.createElementVNode("div",Rp,c.toDisplayString(n.value.text||"-"),1)])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[o[17]||(o[17]=c.createElementVNode("label",{class:"block mt-4"},"节点",-1)),c.createElementVNode("div",Mp,c.toDisplayString(n.value.xpath),1)]),c.createElementVNode("div",null,[o[19]||(o[19]=c.createElementVNode("label",{class:"block mt-4"},"类型",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":o[0]||(o[0]=u=>n.value.type=u),class:"border rounded p-1 w-full"},o[18]||(o[18]=[c.createElementVNode("option",{value:0},"无",-1),c.createElementVNode("option",{value:1},"文本",-1),c.createElementVNode("option",{value:2},"图片",-1),c.createElementVNode("option",{value:3},"视频",-1),c.createElementVNode("option",{value:4},"图标",-1),c.createElementVNode("option",{value:5},"链接",-1),c.createElementVNode("option",{value:6},"按钮",-1),c.createElementVNode("option",{value:10},"块",-1)]),512),[[c.vModelSelect,n.value.type]])]),n.value.type==c.unref(Y).Text?(c.openBlock(),c.createElementBlock("div",kp,[o[20]||(o[20]=c.createElementVNode("label",{class:"block mt-4"},"最小文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[1]||(o[1]=u=>n.value.rule.minText=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Text?(c.openBlock(),c.createElementBlock("div",Pp,[o[21]||(o[21]=c.createElementVNode("label",{class:"block mt-4"},"最大文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[2]||(o[2]=u=>n.value.rule.maxText=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Image?(c.openBlock(),c.createElementBlock("div",Kp,[o[22]||(o[22]=c.createElementVNode("label",{class:"block mt-4"},"是否裁剪",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.crop,"onUpdate:modelValue":o[3]||(o[3]=u=>n.value.rule.crop=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Image?(c.openBlock(),c.createElementBlock("div",Vp,[o[23]||(o[23]=c.createElementVNode("label",{class:"block mt-4"},"图片宽度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[4]||(o[4]=u=>n.value.rule.minImageWidth=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minImageWidth]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Image?(c.openBlock(),c.createElementBlock("div",Gp,[o[24]||(o[24]=c.createElementVNode("label",{class:"block mt-4"},"图片高度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[5]||(o[5]=u=>n.value.rule.maxImageHeight=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxImageHeight]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Block?(c.openBlock(),c.createElementBlock("div",Yp,[o[25]||(o[25]=c.createElementVNode("label",{class:"block mt-4"},"块最小数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[6]||(o[6]=u=>n.value.rule.minBlock=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Block?(c.openBlock(),c.createElementBlock("div",Xp,[o[26]||(o[26]=c.createElementVNode("label",{class:"block mt-4"},"块最大数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[7]||(o[7]=u=>n.value.rule.maxBlock=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Block?(c.openBlock(),c.createElementBlock("div",Wp,[o[28]||(o[28]=c.createElementVNode("label",{class:"block mt-4"},"PC端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{multiple:"","onUpdate:modelValue":o[8]||(o[8]=u=>n.value.rule.flexColumns=u),class:"border rounded p-1 w-full h-32"},o[27]||(o[27]=[c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1),c.createElementVNode("option",{value:7},"7",-1),c.createElementVNode("option",{value:8},"8",-1),c.createElementVNode("option",{value:9},"9",-1),c.createElementVNode("option",{value:10},"10",-1),c.createElementVNode("option",{value:11},"11",-1),c.createElementVNode("option",{value:12},"12",-1)]),512),[[c.vModelSelect,n.value.rule.flexColumns]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Block?(c.openBlock(),c.createElementBlock("div",Jp,[o[30]||(o[30]=c.createElementVNode("label",{class:"block mt-4"},"移动端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":o[9]||(o[9]=u=>n.value.rule.mobileFlexColumn=u),class:"border rounded p-1 w-full"},o[29]||(o[29]=[c.createElementVNode("option",{value:void 0},"无(轮播)",-1),c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1)]),512),[[c.vModelSelect,n.value.rule.mobileFlexColumn]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Text||n.value.type==c.unref(Y).Icon||n.value.type==c.unref(Y).Button?(c.openBlock(),c.createElementBlock("div",qp,[o[31]||(o[31]=c.createElementVNode("label",{class:"block mt-4"},"主题色",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.isThemeColor,"onUpdate:modelValue":o[10]||(o[10]=u=>n.value.rule.isThemeColor=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[o[32]||(o[32]=c.createElementVNode("label",{class:"block mt-4"},"是否必填",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.isRequired,"onUpdate:modelValue":o[11]||(o[11]=u=>n.value.rule.isRequired=u),label:"是"},null,8,["modelValue"])]),c.createElementVNode("div",null,[o[33]||(o[33]=c.createElementVNode("label",{class:"block mt-4"},"是否只读",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.isReadOnly,"onUpdate:modelValue":o[12]||(o[12]=u=>n.value.rule.isReadOnly=u),label:"是"},null,8,["modelValue"])]),n.value.type==c.unref(Y).Link||n.value.type==c.unref(Y).Button?(c.openBlock(),c.createElementBlock("div",jp,[o[34]||(o[34]=c.createElementVNode("label",{class:"block mt-4"},"打开美洽",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.openMeiqia,"onUpdate:modelValue":o[13]||(o[13]=u=>n.value.rule.openMeiqia=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Link||n.value.type==c.unref(Y).Button?(c.openBlock(),c.createElementBlock("div",zp,[o[35]||(o[35]=c.createElementVNode("label",{class:"block mt-4"},"链接",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":o[14]||(o[14]=u=>n.value.rule.linkUrl=u),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.linkUrl]])])):c.createCommentVNode("",!0),n.value.type==c.unref(Y).Text?(c.openBlock(),c.createElementBlock("div",$p,[o[36]||(o[36]=c.createElementVNode("label",{class:"block mt-4"},"允许换行(回车/粘贴多段文本等)",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.allowWrap,"onUpdate:modelValue":o[15]||(o[15]=u=>n.value.rule.allowWrap=u),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0),c.createElementVNode("button",{onClick:a,class:"mt-4 p-2 bg-green-500 text-white rounded"}," 保存 ")]))}}),[["__scopeId","data-v-298a9b70"]]);/*!
10
10
  * Cropper.js v1.6.2
11
11
  * https://fengyuanchen.github.io/cropperjs
12
12
  *
@@ -15,7 +15,7 @@
15
15
  *
16
16
  * Date: 2024-04-21T07:43:05.335Z
17
17
  */function Cu(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(A);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(A,n).enumerable})),t.push.apply(t,r)}return t}function wu(A){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Cu(Object(t),!0).forEach(function(r){rE(A,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):Cu(Object(t)).forEach(function(r){Object.defineProperty(A,r,Object.getOwnPropertyDescriptor(t,r))})}return A}function AE(A,e){if(typeof A!="object"||!A)return A;var t=A[Symbol.toPrimitive];if(t!==void 0){var r=t.call(A,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(A)}function bu(A){var e=AE(A,"string");return typeof e=="symbol"?e:e+""}function oi(A){"@babel/helpers - typeof";return oi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oi(A)}function eE(A,e){if(!(A instanceof e))throw new TypeError("Cannot call a class as a function")}function Tu(A,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(A,bu(r.key),r)}}function tE(A,e,t){return e&&Tu(A.prototype,e),t&&Tu(A,t),Object.defineProperty(A,"prototype",{writable:!1}),A}function rE(A,e,t){return e=bu(e),e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function Uu(A){return nE(A)||aE(A)||iE(A)||sE()}function nE(A){if(Array.isArray(A))return ui(A)}function aE(A){if(typeof Symbol<"u"&&A[Symbol.iterator]!=null||A["@@iterator"]!=null)return Array.from(A)}function iE(A,e){if(A){if(typeof A=="string")return ui(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if(t==="Object"&&A.constructor&&(t=A.constructor.name),t==="Map"||t==="Set")return Array.from(A);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ui(A,e)}}function ui(A,e){(e==null||e>A.length)&&(e=A.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=A[t];return r}function sE(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
18
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var En=typeof window<"u"&&typeof window.document<"u",Te=En?window:{},ci=En&&Te.document.documentElement?"ontouchstart"in Te.document.documentElement:!1,li=En?"PointerEvent"in Te:!1,pA="cropper",di="all",Qu="crop",Fu="move",Iu="zoom",ct="e",lt="w",It="s",Ve="n",fr="ne",hr="nw",Br="se",gr="sw",fi="".concat(pA,"-crop"),yu="".concat(pA,"-disabled"),Ae="".concat(pA,"-hidden"),xu="".concat(pA,"-hide"),oE="".concat(pA,"-invisible"),mn="".concat(pA,"-modal"),hi="".concat(pA,"-move"),pr="".concat(pA,"Action"),Cn="".concat(pA,"Preview"),Bi="crop",vu="move",_u="none",gi="crop",pi="cropend",Ei="cropmove",mi="cropstart",Nu="dblclick",uE=ci?"touchstart":"mousedown",cE=ci?"touchmove":"mousemove",lE=ci?"touchend touchcancel":"mouseup",Su=li?"pointerdown":uE,Lu=li?"pointermove":cE,Hu=li?"pointerup pointercancel":lE,Du="ready",Ou="resize",Ru="wheel",Ci="zoom",Mu="image/jpeg",dE=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,fE=/^data:/,hE=/^data:image\/jpeg;base64,/,BE=/^img|canvas$/i,ku=200,Pu=100,Ku={viewMode:0,dragMode:Bi,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:ku,minContainerHeight:Pu,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},gE='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',pE=Number.isNaN||Te.isNaN;function Z(A){return typeof A=="number"&&!pE(A)}var Vu=function(e){return e>0&&e<1/0};function wi(A){return typeof A>"u"}function dt(A){return oi(A)==="object"&&A!==null}var EE=Object.prototype.hasOwnProperty;function yt(A){if(!dt(A))return!1;try{var e=A.constructor,t=e.prototype;return e&&t&&EE.call(t,"isPrototypeOf")}catch{return!1}}function ee(A){return typeof A=="function"}var mE=Array.prototype.slice;function Gu(A){return Array.from?Array.from(A):mE.call(A)}function FA(A,e){return A&&ee(e)&&(Array.isArray(A)||Z(A.length)?Gu(A).forEach(function(t,r){e.call(A,t,r,A)}):dt(A)&&Object.keys(A).forEach(function(t){e.call(A,A[t],t,A)})),A}var EA=Object.assign||function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return dt(e)&&r.length>0&&r.forEach(function(a){dt(a)&&Object.keys(a).forEach(function(i){e[i]=a[i]})}),e},CE=/\.\d*(?:0|9){12}\d*$/;function xt(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return CE.test(A)?Math.round(A*e)/e:A}var wE=/^width|height|left|top|marginLeft|marginTop$/;function Ge(A,e){var t=A.style;FA(e,function(r,n){wE.test(n)&&Z(r)&&(r="".concat(r,"px")),t[n]=r})}function bE(A,e){return A.classList?A.classList.contains(e):A.className.indexOf(e)>-1}function HA(A,e){if(e){if(Z(A.length)){FA(A,function(r){HA(r,e)});return}if(A.classList){A.classList.add(e);return}var t=A.className.trim();t?t.indexOf(e)<0&&(A.className="".concat(t," ").concat(e)):A.className=e}}function Ue(A,e){if(e){if(Z(A.length)){FA(A,function(t){Ue(t,e)});return}if(A.classList){A.classList.remove(e);return}A.className.indexOf(e)>=0&&(A.className=A.className.replace(e,""))}}function vt(A,e,t){if(e){if(Z(A.length)){FA(A,function(r){vt(r,e,t)});return}t?HA(A,e):Ue(A,e)}}var TE=/([a-z\d])([A-Z])/g;function bi(A){return A.replace(TE,"$1-$2").toLowerCase()}function Ti(A,e){return dt(A[e])?A[e]:A.dataset?A.dataset[e]:A.getAttribute("data-".concat(bi(e)))}function Er(A,e,t){dt(t)?A[e]=t:A.dataset?A.dataset[e]=t:A.setAttribute("data-".concat(bi(e)),t)}function UE(A,e){if(dt(A[e]))try{delete A[e]}catch{A[e]=void 0}else if(A.dataset)try{delete A.dataset[e]}catch{A.dataset[e]=void 0}else A.removeAttribute("data-".concat(bi(e)))}var Yu=/\s\s*/,Xu=function(){var A=!1;if(En){var e=!1,t=function(){},r=Object.defineProperty({},"once",{get:function(){return A=!0,e},set:function(a){e=a}});Te.addEventListener("test",t,r),Te.removeEventListener("test",t,r)}return A}();function ge(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Yu).forEach(function(a){if(!Xu){var i=A.listeners;i&&i[a]&&i[a][t]&&(n=i[a][t],delete i[a][t],Object.keys(i[a]).length===0&&delete i[a],Object.keys(i).length===0&&delete A.listeners)}A.removeEventListener(a,n,r)})}function oe(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Yu).forEach(function(a){if(r.once&&!Xu){var i=A.listeners,o=i===void 0?{}:i;n=function(){delete o[a][t],A.removeEventListener(a,n,r);for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];t.apply(A,d)},o[a]||(o[a]={}),o[a][t]&&A.removeEventListener(a,o[a][t],r),o[a][t]=n,A.listeners=o}A.addEventListener(a,n,r)})}function _t(A,e,t){var r;return ee(Event)&&ee(CustomEvent)?r=new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,!0,!0,t)),A.dispatchEvent(r)}function Wu(A){var e=A.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}var Ui=Te.location,QE=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Ju(A){var e=A.match(QE);return e!==null&&(e[1]!==Ui.protocol||e[2]!==Ui.hostname||e[3]!==Ui.port)}function qu(A){var e="timestamp=".concat(new Date().getTime());return A+(A.indexOf("?")===-1?"?":"&")+e}function mr(A){var e=A.rotate,t=A.scaleX,r=A.scaleY,n=A.translateX,a=A.translateY,i=[];Z(n)&&n!==0&&i.push("translateX(".concat(n,"px)")),Z(a)&&a!==0&&i.push("translateY(".concat(a,"px)")),Z(e)&&e!==0&&i.push("rotate(".concat(e,"deg)")),Z(t)&&t!==1&&i.push("scaleX(".concat(t,")")),Z(r)&&r!==1&&i.push("scaleY(".concat(r,")"));var o=i.length?i.join(" "):"none";return{WebkitTransform:o,msTransform:o,transform:o}}function FE(A){var e=wu({},A),t=0;return FA(A,function(r,n){delete e[n],FA(e,function(a){var i=Math.abs(r.startX-a.startX),o=Math.abs(r.startY-a.startY),u=Math.abs(r.endX-a.endX),l=Math.abs(r.endY-a.endY),d=Math.sqrt(i*i+o*o),f=Math.sqrt(u*u+l*l),h=(f-d)/d;Math.abs(h)>Math.abs(t)&&(t=h)})}),t}function wn(A,e){var t=A.pageX,r=A.pageY,n={endX:t,endY:r};return e?n:wu({startX:t,startY:r},n)}function IE(A){var e=0,t=0,r=0;return FA(A,function(n){var a=n.startX,i=n.startY;e+=a,t+=i,r+=1}),e/=r,t/=r,{pageX:e,pageY:t}}function Ye(A){var e=A.aspectRatio,t=A.height,r=A.width,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",a=Vu(r),i=Vu(t);if(a&&i){var o=t*e;n==="contain"&&o>r||n==="cover"&&o<r?t=r/e:r=t*e}else a?t=r/e:i&&(r=t*e);return{width:r,height:t}}function yE(A){var e=A.width,t=A.height,r=A.degree;if(r=Math.abs(r)%180,r===90)return{width:t,height:e};var n=r%90*Math.PI/180,a=Math.sin(n),i=Math.cos(n),o=e*i+t*a,u=e*a+t*i;return r>90?{width:u,height:o}:{width:o,height:u}}function xE(A,e,t,r){var n=e.aspectRatio,a=e.naturalWidth,i=e.naturalHeight,o=e.rotate,u=o===void 0?0:o,l=e.scaleX,d=l===void 0?1:l,f=e.scaleY,h=f===void 0?1:f,C=t.aspectRatio,m=t.naturalWidth,T=t.naturalHeight,Q=r.fillColor,b=Q===void 0?"transparent":Q,v=r.imageSmoothingEnabled,H=v===void 0?!0:v,K=r.imageSmoothingQuality,L=K===void 0?"low":K,E=r.maxWidth,D=E===void 0?1/0:E,R=r.maxHeight,k=R===void 0?1/0:R,eA=r.minWidth,cA=eA===void 0?0:eA,hA=r.minHeight,q=hA===void 0?0:hA,nA=document.createElement("canvas"),lA=nA.getContext("2d"),dA=Ye({aspectRatio:C,width:D,height:k}),TA=Ye({aspectRatio:C,width:cA,height:q},"cover"),qA=Math.min(dA.width,Math.max(TA.width,m)),_A=Math.min(dA.height,Math.max(TA.height,T)),WA=Ye({aspectRatio:n,width:D,height:k}),jA=Ye({aspectRatio:n,width:cA,height:q},"cover"),OA=Math.min(WA.width,Math.max(jA.width,a)),PA=Math.min(WA.height,Math.max(jA.height,i)),KA=[-OA/2,-PA/2,OA,PA];return nA.width=xt(qA),nA.height=xt(_A),lA.fillStyle=b,lA.fillRect(0,0,qA,_A),lA.save(),lA.translate(qA/2,_A/2),lA.rotate(u*Math.PI/180),lA.scale(d,h),lA.imageSmoothingEnabled=H,lA.imageSmoothingQuality=L,lA.drawImage.apply(lA,[A].concat(Uu(KA.map(function(y){return Math.floor(xt(y))})))),lA.restore(),nA}var ju=String.fromCharCode;function vE(A,e,t){var r="";t+=e;for(var n=e;n<t;n+=1)r+=ju(A.getUint8(n));return r}var _E=/^data:.*,/;function NE(A){var e=A.replace(_E,""),t=atob(e),r=new ArrayBuffer(t.length),n=new Uint8Array(r);return FA(n,function(a,i){n[i]=t.charCodeAt(i)}),r}function SE(A,e){for(var t=[],r=8192,n=new Uint8Array(A);n.length>0;)t.push(ju.apply(null,Gu(n.subarray(0,r)))),n=n.subarray(r);return"data:".concat(e,";base64,").concat(btoa(t.join("")))}function LE(A){var e=new DataView(A),t;try{var r,n,a;if(e.getUint8(0)===255&&e.getUint8(1)===216)for(var i=e.byteLength,o=2;o+1<i;){if(e.getUint8(o)===255&&e.getUint8(o+1)===225){n=o;break}o+=1}if(n){var u=n+4,l=n+10;if(vE(e,u,4)==="Exif"){var d=e.getUint16(l);if(r=d===18761,(r||d===19789)&&e.getUint16(l+2,r)===42){var f=e.getUint32(l+4,r);f>=8&&(a=l+f)}}}if(a){var h=e.getUint16(a,r),C,m;for(m=0;m<h;m+=1)if(C=a+m*12+2,e.getUint16(C,r)===274){C+=8,t=e.getUint16(C,r),e.setUint16(C,1,r);break}}}catch{t=1}return t}function HE(A){var e=0,t=1,r=1;switch(A){case 2:t=-1;break;case 3:e=-180;break;case 4:r=-1;break;case 5:e=90,r=-1;break;case 6:e=90;break;case 7:e=90,t=-1;break;case 8:e=-90;break}return{rotate:e,scaleX:t,scaleY:r}}var DE={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,t=this.options,r=this.container,n=this.cropper,a=Number(t.minContainerWidth),i=Number(t.minContainerHeight);HA(n,Ae),Ue(e,Ae);var o={width:Math.max(r.offsetWidth,a>=0?a:ku),height:Math.max(r.offsetHeight,i>=0?i:Pu)};this.containerData=o,Ge(n,{width:o.width,height:o.height}),HA(e,Ae),Ue(n,Ae)},initCanvas:function(){var e=this.containerData,t=this.imageData,r=this.options.viewMode,n=Math.abs(t.rotate)%180===90,a=n?t.naturalHeight:t.naturalWidth,i=n?t.naturalWidth:t.naturalHeight,o=a/i,u=e.width,l=e.height;e.height*o>e.width?r===3?u=e.height*o:l=e.width/o:r===3?l=e.width/o:u=e.height*o;var d={aspectRatio:o,naturalWidth:a,naturalHeight:i,width:u,height:l};this.canvasData=d,this.limited=r===1||r===2,this.limitCanvas(!0,!0),d.width=Math.min(Math.max(d.width,d.minWidth),d.maxWidth),d.height=Math.min(Math.max(d.height,d.minHeight),d.maxHeight),d.left=(e.width-d.width)/2,d.top=(e.height-d.height)/2,d.oldLeft=d.left,d.oldTop=d.top,this.initialCanvasData=EA({},d)},limitCanvas:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,i=this.cropBoxData,o=r.viewMode,u=a.aspectRatio,l=this.cropped&&i;if(e){var d=Number(r.minCanvasWidth)||0,f=Number(r.minCanvasHeight)||0;o>1?(d=Math.max(d,n.width),f=Math.max(f,n.height),o===3&&(f*u>d?d=f*u:f=d/u)):o>0&&(d?d=Math.max(d,l?i.width:0):f?f=Math.max(f,l?i.height:0):l&&(d=i.width,f=i.height,f*u>d?d=f*u:f=d/u));var h=Ye({aspectRatio:u,width:d,height:f});d=h.width,f=h.height,a.minWidth=d,a.minHeight=f,a.maxWidth=1/0,a.maxHeight=1/0}if(t)if(o>(l?0:1)){var C=n.width-a.width,m=n.height-a.height;a.minLeft=Math.min(0,C),a.minTop=Math.min(0,m),a.maxLeft=Math.max(0,C),a.maxTop=Math.max(0,m),l&&this.limited&&(a.minLeft=Math.min(i.left,i.left+(i.width-a.width)),a.minTop=Math.min(i.top,i.top+(i.height-a.height)),a.maxLeft=i.left,a.maxTop=i.top,o===2&&(a.width>=n.width&&(a.minLeft=Math.min(0,C),a.maxLeft=Math.max(0,C)),a.height>=n.height&&(a.minTop=Math.min(0,m),a.maxTop=Math.max(0,m))))}else a.minLeft=-a.width,a.minTop=-a.height,a.maxLeft=n.width,a.maxTop=n.height},renderCanvas:function(e,t){var r=this.canvasData,n=this.imageData;if(t){var a=yE({width:n.naturalWidth*Math.abs(n.scaleX||1),height:n.naturalHeight*Math.abs(n.scaleY||1),degree:n.rotate||0}),i=a.width,o=a.height,u=r.width*(i/r.naturalWidth),l=r.height*(o/r.naturalHeight);r.left-=(u-r.width)/2,r.top-=(l-r.height)/2,r.width=u,r.height=l,r.aspectRatio=i/o,r.naturalWidth=i,r.naturalHeight=o,this.limitCanvas(!0,!1)}(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCanvas(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,Ge(this.canvas,EA({width:r.width,height:r.height},mr({translateX:r.left,translateY:r.top}))),this.renderImage(e),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(e){var t=this.canvasData,r=this.imageData,n=r.naturalWidth*(t.width/t.naturalWidth),a=r.naturalHeight*(t.height/t.naturalHeight);EA(r,{width:n,height:a,left:(t.width-n)/2,top:(t.height-a)/2}),Ge(this.image,EA({width:r.width,height:r.height},mr(EA({translateX:r.left,translateY:r.top},r)))),e&&this.output()},initCropBox:function(){var e=this.options,t=this.canvasData,r=e.aspectRatio||e.initialAspectRatio,n=Number(e.autoCropArea)||.8,a={width:t.width,height:t.height};r&&(t.height*r>t.width?a.height=a.width/r:a.width=a.height*r),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*n),a.height=Math.max(a.minHeight,a.height*n),a.left=t.left+(t.width-a.width)/2,a.top=t.top+(t.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=EA({},a)},limitCropBox:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,i=this.cropBoxData,o=this.limited,u=r.aspectRatio;if(e){var l=Number(r.minCropBoxWidth)||0,d=Number(r.minCropBoxHeight)||0,f=o?Math.min(n.width,a.width,a.width+a.left,n.width-a.left):n.width,h=o?Math.min(n.height,a.height,a.height+a.top,n.height-a.top):n.height;l=Math.min(l,n.width),d=Math.min(d,n.height),u&&(l&&d?d*u>l?d=l/u:l=d*u:l?d=l/u:d&&(l=d*u),h*u>f?h=f/u:f=h*u),i.minWidth=Math.min(l,f),i.minHeight=Math.min(d,h),i.maxWidth=f,i.maxHeight=h}t&&(o?(i.minLeft=Math.max(0,a.left),i.minTop=Math.max(0,a.top),i.maxLeft=Math.min(n.width,a.left+a.width)-i.width,i.maxTop=Math.min(n.height,a.top+a.height)-i.height):(i.minLeft=0,i.minTop=0,i.maxLeft=n.width-i.width,i.maxTop=n.height-i.height))},renderCropBox:function(){var e=this.options,t=this.containerData,r=this.cropBoxData;(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCropBox(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,e.movable&&e.cropBoxMovable&&Er(this.face,pr,r.width>=t.width&&r.height>=t.height?Fu:di),Ge(this.cropBox,EA({width:r.width,height:r.height},mr({translateX:r.left,translateY:r.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),_t(this.element,gi,this.getData())}},OE={initPreview:function(){var e=this.element,t=this.crossOrigin,r=this.options.preview,n=t?this.crossOriginUrl:this.url,a=e.alt||"The image to preview",i=document.createElement("img");if(t&&(i.crossOrigin=t),i.src=n,i.alt=a,this.viewBox.appendChild(i),this.viewBoxImage=i,!!r){var o=r;typeof r=="string"?o=e.ownerDocument.querySelectorAll(r):r.querySelector&&(o=[r]),this.previews=o,FA(o,function(u){var l=document.createElement("img");Er(u,Cn,{width:u.offsetWidth,height:u.offsetHeight,html:u.innerHTML}),t&&(l.crossOrigin=t),l.src=n,l.alt=a,l.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',u.innerHTML="",u.appendChild(l)})}},resetPreview:function(){FA(this.previews,function(e){var t=Ti(e,Cn);Ge(e,{width:t.width,height:t.height}),e.innerHTML=t.html,UE(e,Cn)})},preview:function(){var e=this.imageData,t=this.canvasData,r=this.cropBoxData,n=r.width,a=r.height,i=e.width,o=e.height,u=r.left-t.left-e.left,l=r.top-t.top-e.top;!this.cropped||this.disabled||(Ge(this.viewBoxImage,EA({width:i,height:o},mr(EA({translateX:-u,translateY:-l},e)))),FA(this.previews,function(d){var f=Ti(d,Cn),h=f.width,C=f.height,m=h,T=C,Q=1;n&&(Q=h/n,T=a*Q),a&&T>C&&(Q=C/a,m=n*Q,T=C),Ge(d,{width:m,height:T}),Ge(d.getElementsByTagName("img")[0],EA({width:i*Q,height:o*Q},mr(EA({translateX:-u*Q,translateY:-l*Q},e))))}))}},RE={bind:function(){var e=this.element,t=this.options,r=this.cropper;ee(t.cropstart)&&oe(e,mi,t.cropstart),ee(t.cropmove)&&oe(e,Ei,t.cropmove),ee(t.cropend)&&oe(e,pi,t.cropend),ee(t.crop)&&oe(e,gi,t.crop),ee(t.zoom)&&oe(e,Ci,t.zoom),oe(r,Su,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&oe(r,Ru,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&oe(r,Nu,this.onDblclick=this.dblclick.bind(this)),oe(e.ownerDocument,Lu,this.onCropMove=this.cropMove.bind(this)),oe(e.ownerDocument,Hu,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&oe(window,Ou,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,r=this.cropper;ee(t.cropstart)&&ge(e,mi,t.cropstart),ee(t.cropmove)&&ge(e,Ei,t.cropmove),ee(t.cropend)&&ge(e,pi,t.cropend),ee(t.crop)&&ge(e,gi,t.crop),ee(t.zoom)&&ge(e,Ci,t.zoom),ge(r,Su,this.onCropStart),t.zoomable&&t.zoomOnWheel&&ge(r,Ru,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&ge(r,Nu,this.onDblclick),ge(e.ownerDocument,Lu,this.onCropMove),ge(e.ownerDocument,Hu,this.onCropEnd),t.responsive&&ge(window,Ou,this.onResize)}},ME={resize:function(){if(!this.disabled){var e=this.options,t=this.container,r=this.containerData,n=t.offsetWidth/r.width,a=t.offsetHeight/r.height,i=Math.abs(n-1)>Math.abs(a-1)?n:a;if(i!==1){var o,u;e.restore&&(o=this.getCanvasData(),u=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(FA(o,function(l,d){o[d]=l*i})),this.setCropBoxData(FA(u,function(l,d){u[d]=l*i})))}}},dblclick:function(){this.disabled||this.options.dragMode===_u||this.setDragMode(bE(this.dragBox,fi)?vu:Bi)},wheel:function(e){var t=this,r=Number(this.options.wheelZoomRatio)||.1,n=1;this.disabled||(e.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50),e.deltaY?n=e.deltaY>0?1:-1:e.wheelDelta?n=-e.wheelDelta/120:e.detail&&(n=e.detail>0?1:-1),this.zoom(-n*r,e)))},cropStart:function(e){var t=e.buttons,r=e.button;if(!(this.disabled||(e.type==="mousedown"||e.type==="pointerdown"&&e.pointerType==="mouse")&&(Z(t)&&t!==1||Z(r)&&r!==0||e.ctrlKey))){var n=this.options,a=this.pointers,i;e.changedTouches?FA(e.changedTouches,function(o){a[o.identifier]=wn(o)}):a[e.pointerId||0]=wn(e),Object.keys(a).length>1&&n.zoomable&&n.zoomOnTouch?i=Iu:i=Ti(e.target,pr),dE.test(i)&&_t(this.element,mi,{originalEvent:e,action:i})!==!1&&(e.preventDefault(),this.action=i,this.cropping=!1,i===Qu&&(this.cropping=!0,HA(this.dragBox,mn)))}},cropMove:function(e){var t=this.action;if(!(this.disabled||!t)){var r=this.pointers;e.preventDefault(),_t(this.element,Ei,{originalEvent:e,action:t})!==!1&&(e.changedTouches?FA(e.changedTouches,function(n){EA(r[n.identifier]||{},wn(n,!0))}):EA(r[e.pointerId||0]||{},wn(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,r=this.pointers;e.changedTouches?FA(e.changedTouches,function(n){delete r[n.identifier]}):delete r[e.pointerId||0],t&&(e.preventDefault(),Object.keys(r).length||(this.action=""),this.cropping&&(this.cropping=!1,vt(this.dragBox,mn,this.cropped&&this.options.modal)),_t(this.element,pi,{originalEvent:e,action:t}))}}},kE={change:function(e){var t=this.options,r=this.canvasData,n=this.containerData,a=this.cropBoxData,i=this.pointers,o=this.action,u=t.aspectRatio,l=a.left,d=a.top,f=a.width,h=a.height,C=l+f,m=d+h,T=0,Q=0,b=n.width,v=n.height,H=!0,K;!u&&e.shiftKey&&(u=f&&h?f/h:1),this.limited&&(T=a.minLeft,Q=a.minTop,b=T+Math.min(n.width,r.width,r.left+r.width),v=Q+Math.min(n.height,r.height,r.top+r.height));var L=i[Object.keys(i)[0]],E={x:L.endX-L.startX,y:L.endY-L.startY},D=function(k){switch(k){case ct:C+E.x>b&&(E.x=b-C);break;case lt:l+E.x<T&&(E.x=T-l);break;case Ve:d+E.y<Q&&(E.y=Q-d);break;case It:m+E.y>v&&(E.y=v-m);break}};switch(o){case di:l+=E.x,d+=E.y;break;case ct:if(E.x>=0&&(C>=b||u&&(d<=Q||m>=v))){H=!1;break}D(ct),f+=E.x,f<0&&(o=lt,f=-f,l-=f),u&&(h=f/u,d+=(a.height-h)/2);break;case Ve:if(E.y<=0&&(d<=Q||u&&(l<=T||C>=b))){H=!1;break}D(Ve),h-=E.y,d+=E.y,h<0&&(o=It,h=-h,d-=h),u&&(f=h*u,l+=(a.width-f)/2);break;case lt:if(E.x<=0&&(l<=T||u&&(d<=Q||m>=v))){H=!1;break}D(lt),f-=E.x,l+=E.x,f<0&&(o=ct,f=-f,l-=f),u&&(h=f/u,d+=(a.height-h)/2);break;case It:if(E.y>=0&&(m>=v||u&&(l<=T||C>=b))){H=!1;break}D(It),h+=E.y,h<0&&(o=Ve,h=-h,d-=h),u&&(f=h*u,l+=(a.width-f)/2);break;case fr:if(u){if(E.y<=0&&(d<=Q||C>=b)){H=!1;break}D(Ve),h-=E.y,d+=E.y,f=h*u}else D(Ve),D(ct),E.x>=0?C<b?f+=E.x:E.y<=0&&d<=Q&&(H=!1):f+=E.x,E.y<=0?d>Q&&(h-=E.y,d+=E.y):(h-=E.y,d+=E.y);f<0&&h<0?(o=gr,h=-h,f=-f,d-=h,l-=f):f<0?(o=hr,f=-f,l-=f):h<0&&(o=Br,h=-h,d-=h);break;case hr:if(u){if(E.y<=0&&(d<=Q||l<=T)){H=!1;break}D(Ve),h-=E.y,d+=E.y,f=h*u,l+=a.width-f}else D(Ve),D(lt),E.x<=0?l>T?(f-=E.x,l+=E.x):E.y<=0&&d<=Q&&(H=!1):(f-=E.x,l+=E.x),E.y<=0?d>Q&&(h-=E.y,d+=E.y):(h-=E.y,d+=E.y);f<0&&h<0?(o=Br,h=-h,f=-f,d-=h,l-=f):f<0?(o=fr,f=-f,l-=f):h<0&&(o=gr,h=-h,d-=h);break;case gr:if(u){if(E.x<=0&&(l<=T||m>=v)){H=!1;break}D(lt),f-=E.x,l+=E.x,h=f/u}else D(It),D(lt),E.x<=0?l>T?(f-=E.x,l+=E.x):E.y>=0&&m>=v&&(H=!1):(f-=E.x,l+=E.x),E.y>=0?m<v&&(h+=E.y):h+=E.y;f<0&&h<0?(o=fr,h=-h,f=-f,d-=h,l-=f):f<0?(o=Br,f=-f,l-=f):h<0&&(o=hr,h=-h,d-=h);break;case Br:if(u){if(E.x>=0&&(C>=b||m>=v)){H=!1;break}D(ct),f+=E.x,h=f/u}else D(It),D(ct),E.x>=0?C<b?f+=E.x:E.y>=0&&m>=v&&(H=!1):f+=E.x,E.y>=0?m<v&&(h+=E.y):h+=E.y;f<0&&h<0?(o=hr,h=-h,f=-f,d-=h,l-=f):f<0?(o=gr,f=-f,l-=f):h<0&&(o=fr,h=-h,d-=h);break;case Fu:this.move(E.x,E.y),H=!1;break;case Iu:this.zoom(FE(i),e),H=!1;break;case Qu:if(!E.x||!E.y){H=!1;break}K=Wu(this.cropper),l=L.startX-K.left,d=L.startY-K.top,f=a.minWidth,h=a.minHeight,E.x>0?o=E.y>0?Br:fr:E.x<0&&(l-=f,o=E.y>0?gr:hr),E.y<0&&(d-=h),this.cropped||(Ue(this.cropBox,Ae),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}H&&(a.width=f,a.height=h,a.left=l,a.top=d,this.action=o,this.renderCropBox()),FA(i,function(R){R.startX=R.endX,R.startY=R.endY})}},PE={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&HA(this.dragBox,mn),Ue(this.cropBox,Ae),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=EA({},this.initialImageData),this.canvasData=EA({},this.initialCanvasData),this.cropBoxData=EA({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(EA(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Ue(this.dragBox,mn),HA(this.cropBox,Ae)),this},replace:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,FA(this.previews,function(r){r.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Ue(this.cropper,yu)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,HA(this.cropper,yu)),this},destroy:function(){var e=this.element;return e[pA]?(e[pA]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=r.left,a=r.top;return this.moveTo(wi(e)?e:n+Number(e),wi(t)?t:a+Number(t))},moveTo:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(Z(e)&&(r.left=e,n=!0),Z(t)&&(r.top=t,n=!0),n&&this.renderCanvas(!0)),this},zoom:function(e,t){var r=this.canvasData;return e=Number(e),e<0?e=1/(1-e):e=1+e,this.zoomTo(r.width*e/r.naturalWidth,null,t)},zoomTo:function(e,t,r){var n=this.options,a=this.canvasData,i=a.width,o=a.height,u=a.naturalWidth,l=a.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&n.zoomable){var d=u*e,f=l*e;if(_t(this.element,Ci,{ratio:e,oldRatio:i/u,originalEvent:r})===!1)return this;if(r){var h=this.pointers,C=Wu(this.cropper),m=h&&Object.keys(h).length?IE(h):{pageX:r.pageX,pageY:r.pageY};a.left-=(d-i)*((m.pageX-C.left-a.left)/i),a.top-=(f-o)*((m.pageY-C.top-a.top)/o)}else yt(t)&&Z(t.x)&&Z(t.y)?(a.left-=(d-i)*((t.x-a.left)/i),a.top-=(f-o)*((t.y-a.top)/o)):(a.left-=(d-i)/2,a.top-=(f-o)/2);a.width=d,a.height=f,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),Z(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,Z(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(Z(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.imageData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(Z(e)&&(r.scaleX=e,n=!0),Z(t)&&(r.scaleY=t,n=!0),n&&this.renderCanvas(!0,!0)),this},getData:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=this.options,r=this.imageData,n=this.canvasData,a=this.cropBoxData,i;if(this.ready&&this.cropped){i={x:a.left-n.left,y:a.top-n.top,width:a.width,height:a.height};var o=r.width/r.naturalWidth;if(FA(i,function(d,f){i[f]=d/o}),e){var u=Math.round(i.y+i.height),l=Math.round(i.x+i.width);i.x=Math.round(i.x),i.y=Math.round(i.y),i.width=l-i.x,i.height=u-i.y}}else i={x:0,y:0,width:0,height:0};return t.rotatable&&(i.rotate=r.rotate||0),t.scalable&&(i.scaleX=r.scaleX||1,i.scaleY=r.scaleY||1),i},setData:function(e){var t=this.options,r=this.imageData,n=this.canvasData,a={};if(this.ready&&!this.disabled&&yt(e)){var i=!1;t.rotatable&&Z(e.rotate)&&e.rotate!==r.rotate&&(r.rotate=e.rotate,i=!0),t.scalable&&(Z(e.scaleX)&&e.scaleX!==r.scaleX&&(r.scaleX=e.scaleX,i=!0),Z(e.scaleY)&&e.scaleY!==r.scaleY&&(r.scaleY=e.scaleY,i=!0)),i&&this.renderCanvas(!0,!0);var o=r.width/r.naturalWidth;Z(e.x)&&(a.left=e.x*o+n.left),Z(e.y)&&(a.top=e.y*o+n.top),Z(e.width)&&(a.width=e.width*o),Z(e.height)&&(a.height=e.height*o),this.setCropBoxData(a)}return this},getContainerData:function(){return this.ready?EA({},this.containerData):{}},getImageData:function(){return this.sized?EA({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&FA(["left","top","width","height","naturalWidth","naturalHeight"],function(r){t[r]=e[r]}),t},setCanvasData:function(e){var t=this.canvasData,r=t.aspectRatio;return this.ready&&!this.disabled&&yt(e)&&(Z(e.left)&&(t.left=e.left),Z(e.top)&&(t.top=e.top),Z(e.width)?(t.width=e.width,t.height=e.width/r):Z(e.height)&&(t.height=e.height,t.width=e.height*r),this.renderCanvas(!0)),this},getCropBoxData:function(){var e=this.cropBoxData,t;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(e){var t=this.cropBoxData,r=this.options.aspectRatio,n,a;return this.ready&&this.cropped&&!this.disabled&&yt(e)&&(Z(e.left)&&(t.left=e.left),Z(e.top)&&(t.top=e.top),Z(e.width)&&e.width!==t.width&&(n=!0,t.width=e.width),Z(e.height)&&e.height!==t.height&&(a=!0,t.height=e.height),r&&(n?t.height=t.width/r:a&&(t.width=t.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,r=xE(this.image,this.imageData,t,e);if(!this.cropped)return r;var n=this.getData(e.rounded),a=n.x,i=n.y,o=n.width,u=n.height,l=r.width/Math.floor(t.naturalWidth);l!==1&&(a*=l,i*=l,o*=l,u*=l);var d=o/u,f=Ye({aspectRatio:d,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),h=Ye({aspectRatio:d,width:e.minWidth||0,height:e.minHeight||0},"cover"),C=Ye({aspectRatio:d,width:e.width||(l!==1?r.width:o),height:e.height||(l!==1?r.height:u)}),m=C.width,T=C.height;m=Math.min(f.width,Math.max(h.width,m)),T=Math.min(f.height,Math.max(h.height,T));var Q=document.createElement("canvas"),b=Q.getContext("2d");Q.width=xt(m),Q.height=xt(T),b.fillStyle=e.fillColor||"transparent",b.fillRect(0,0,m,T);var v=e.imageSmoothingEnabled,H=v===void 0?!0:v,K=e.imageSmoothingQuality;b.imageSmoothingEnabled=H,K&&(b.imageSmoothingQuality=K);var L=r.width,E=r.height,D=a,R=i,k,eA,cA,hA,q,nA;D<=-o||D>L?(D=0,k=0,cA=0,q=0):D<=0?(cA=-D,D=0,k=Math.min(L,o+D),q=k):D<=L&&(cA=0,k=Math.min(o,L-D),q=k),k<=0||R<=-u||R>E?(R=0,eA=0,hA=0,nA=0):R<=0?(hA=-R,R=0,eA=Math.min(E,u+R),nA=eA):R<=E&&(hA=0,eA=Math.min(u,E-R),nA=eA);var lA=[D,R,k,eA];if(q>0&&nA>0){var dA=m/o;lA.push(cA*dA,hA*dA,q*dA,nA*dA)}return b.drawImage.apply(b,[r].concat(Uu(lA.map(function(TA){return Math.floor(xt(TA))})))),Q},setAspectRatio:function(e){var t=this.options;return!this.disabled&&!wi(e)&&(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,r=this.dragBox,n=this.face;if(this.ready&&!this.disabled){var a=e===Bi,i=t.movable&&e===vu;e=a||i?e:_u,t.dragMode=e,Er(r,pr,e),vt(r,fi,a),vt(r,hi,i),t.cropBoxMovable||(Er(n,pr,e),vt(n,fi,a),vt(n,hi,i))}return this}},KE=Te.Cropper,zu=function(){function A(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(eE(this,A),!e||!BE.test(e.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=e,this.options=EA({},Ku,yt(t)&&t),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return tE(A,[{key:"init",value:function(){var t=this.element,r=t.tagName.toLowerCase(),n;if(!t[pA]){if(t[pA]=this,r==="img"){if(this.isImg=!0,n=t.getAttribute("src")||"",this.originalUrl=n,!n)return;n=t.src}else r==="canvas"&&window.HTMLCanvasElement&&(n=t.toDataURL());this.load(n)}}},{key:"load",value:function(t){var r=this;if(t){this.url=t,this.imageData={};var n=this.element,a=this.options;if(!a.rotatable&&!a.scalable&&(a.checkOrientation=!1),!a.checkOrientation||!window.ArrayBuffer){this.clone();return}if(fE.test(t)){hE.test(t)?this.read(NE(t)):this.clone();return}var i=new XMLHttpRequest,o=this.clone.bind(this);this.reloading=!0,this.xhr=i,i.onabort=o,i.onerror=o,i.ontimeout=o,i.onprogress=function(){i.getResponseHeader("content-type")!==Mu&&i.abort()},i.onload=function(){r.read(i.response)},i.onloadend=function(){r.reloading=!1,r.xhr=null},a.checkCrossOrigin&&Ju(t)&&n.crossOrigin&&(t=qu(t)),i.open("GET",t,!0),i.responseType="arraybuffer",i.withCredentials=n.crossOrigin==="use-credentials",i.send()}}},{key:"read",value:function(t){var r=this.options,n=this.imageData,a=LE(t),i=0,o=1,u=1;if(a>1){this.url=SE(t,Mu);var l=HE(a);i=l.rotate,o=l.scaleX,u=l.scaleY}r.rotatable&&(n.rotate=i),r.scalable&&(n.scaleX=o,n.scaleY=u),this.clone()}},{key:"clone",value:function(){var t=this.element,r=this.url,n=t.crossOrigin,a=r;this.options.checkCrossOrigin&&Ju(r)&&(n||(n="anonymous"),a=qu(r)),this.crossOrigin=n,this.crossOriginUrl=a;var i=document.createElement("img");n&&(i.crossOrigin=n),i.src=a||r,i.alt=t.alt||"The image to crop",this.image=i,i.onload=this.start.bind(this),i.onerror=this.stop.bind(this),HA(i,xu),t.parentNode.insertBefore(i,t.nextSibling)}},{key:"start",value:function(){var t=this,r=this.image;r.onload=null,r.onerror=null,this.sizing=!0;var n=Te.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Te.navigator.userAgent),a=function(l,d){EA(t.imageData,{naturalWidth:l,naturalHeight:d,aspectRatio:l/d}),t.initialImageData=EA({},t.imageData),t.sizing=!1,t.sized=!0,t.build()};if(r.naturalWidth&&!n){a(r.naturalWidth,r.naturalHeight);return}var i=document.createElement("img"),o=document.body||document.documentElement;this.sizingImage=i,i.onload=function(){a(i.width,i.height),n||o.removeChild(i)},i.src=r.src,n||(i.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(i))}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var t=this.element,r=this.options,n=this.image,a=t.parentNode,i=document.createElement("div");i.innerHTML=gE;var o=i.querySelector(".".concat(pA,"-container")),u=o.querySelector(".".concat(pA,"-canvas")),l=o.querySelector(".".concat(pA,"-drag-box")),d=o.querySelector(".".concat(pA,"-crop-box")),f=d.querySelector(".".concat(pA,"-face"));this.container=a,this.cropper=o,this.canvas=u,this.dragBox=l,this.cropBox=d,this.viewBox=o.querySelector(".".concat(pA,"-view-box")),this.face=f,u.appendChild(n),HA(t,Ae),a.insertBefore(o,t.nextSibling),Ue(n,xu),this.initPreview(),this.bind(),r.initialAspectRatio=Math.max(0,r.initialAspectRatio)||NaN,r.aspectRatio=Math.max(0,r.aspectRatio)||NaN,r.viewMode=Math.max(0,Math.min(3,Math.round(r.viewMode)))||0,HA(d,Ae),r.guides||HA(d.getElementsByClassName("".concat(pA,"-dashed")),Ae),r.center||HA(d.getElementsByClassName("".concat(pA,"-center")),Ae),r.background&&HA(o,"".concat(pA,"-bg")),r.highlight||HA(f,oE),r.cropBoxMovable&&(HA(f,hi),Er(f,pr,di)),r.cropBoxResizable||(HA(d.getElementsByClassName("".concat(pA,"-line")),Ae),HA(d.getElementsByClassName("".concat(pA,"-point")),Ae)),this.render(),this.ready=!0,this.setDragMode(r.dragMode),r.autoCrop&&this.crop(),this.setData(r.data),ee(r.ready)&&oe(t,Du,r.ready,{once:!0}),_t(t,Du)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var t=this.cropper.parentNode;t&&t.removeChild(this.cropper),Ue(this.element,Ae)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=KE,A}},{key:"setDefaults",value:function(t){EA(Ku,yt(t)&&t)}}])}();EA(zu.prototype,DE,OE,RE,ME,kE,PE);function VE(A,e){const t=A.split(",")||[],r=t[0].match(/:(.*?);/)[1],n=t[1]&&atob(t[1]);let a=n&&n.length;const i=new Uint8Array(a);for(;a--;)i[a]=n==null?void 0:n.charCodeAt(a);return new File([i],e,{type:r})}const GE={key:0,contenteditable:"false",class:"z-10 w-[100vw] h-[100vh] bg-[rgba(0,0,0,0.7)] flex flex-col justify-center items-center fixed top-0 left-0 cursor-auto"},YE={class:"w-[700px] flex flex-col bg-white rounded pb-8"},XE={class:"flex flex-row items-center justify-between px-6 py-4 bg-[#f4f8ff]"},WE={class:"flex flex-col h-full"},JE={class:"flex flex-row justify-center items-start flex-1"},qE={class:"flex flex-col items-start flex-1"},jE={class:"flex flex-col w-full px-6 py-4"},zE={class:"flex flex-col w-full"},$E={class:"flex flex-row items-center"},ZE={class:"relative bg-[#474AFF] text-white rounded p-3"},Am={class:"flex flex-row items-start justify-between mt-3"},em={class:"flex flex-col"},tm={class:"flex flex-col justify-center items-center border w-[300px] h-[300px]"},rm={key:0,class:"w-full text-center"},nm=["src"],am={class:"flex flex-col items-center",style:{width:"300px",height:"300px"}},im={class:"text-[#999] mt-05 flex justify-center mt-4"},sm={class:"w-full flex justify-end space-x-5 mt-5 px-6"},om=["loading"],um=c.defineComponent({__name:"GpCropper",emits:["cancel","ok"],setup(A,{expose:e,emit:t}){const r=t,n=c.ref({coverUrl:"",inputValue:"",uploadType:2,videoHost:"",videoUrl:""}),a=c.ref(),i=c.ref({autoCrop:!0,autoCropArea:1,background:!0,center:!0,cropBoxResizable:!0,dragMode:"move",preview:".before",toggleDragModeOnDblclick:!0,viewMode:1,zoomOnWheel:!0}),o=c.ref(!1),u=c.ref("image/jpeg"),l=c.ref({afterImg:"",image:null,myCropper:null}),d=L=>{const E=L.target.files[0];E&&(E.name&&(n.value.inputValue=E.name),f(E))};async function f(L){if(!L)return;await K();const E=URL.createObjectURL(L);l.value.image=E,l.value.image&&h(),u.value=L.type}function h(){const L=document.querySelector("#imgId");L&&L.addEventListener("load",()=>{H(),l.value.myCropper=new zu(L,i.value)})}const C=c.ref(!1),m=c.ref();function T(L,E,D,R){m.value=R,a.value=L,L&&L.aspectRatio&&(i.value.aspectRatio=L.aspectRatio),D&&(n.value.inputValue=D),C.value=!0,E&&f(E)}function Q(){C.value=!1}const b=()=>{var R,k;if(!l.value.myCropper)return;o.value=!0;var E=l.value.myCropper.getCroppedCanvas({height:(R=a.value)==null?void 0:R.height,imageSmoothingQuality:"high",width:(k=a.value)==null?void 0:k.width}).toDataURL(u.value);l.value.afterImg=E;const D=VE(l.value.afterImg,n.value.inputValue);r("ok",{file:D,element:m.value}),o.value=!1,K(),H(),Q()};function v(){K(),H(),Q(),r("cancel")}function H(){l.value.myCropper&&l.value.myCropper.destroy()}function K(){l.value.image=""}return e({handleCloseCropper:Q,handleOpenCropper:T}),(L,E)=>{var D,R,k;return C.value?(c.openBlock(),c.createElementBlock("div",GE,[c.createElementVNode("div",YE,[c.createElementVNode("div",XE,[E[1]||(E[1]=c.createElementVNode("span",{class:"text-base font-semibold text-[#333]"},"图片裁剪",-1)),c.createElementVNode("span",{class:"text-lg cursor-pointer text-[#999] iconfont icon-shanchu2",onClick:c.withModifiers(v,["stop"])})]),c.createElementVNode("div",WE,[c.createElementVNode("div",JE,[c.createElementVNode("div",qE,[c.createElementVNode("div",jE,[c.createElementVNode("div",zE,[c.createElementVNode("div",$E,[c.createElementVNode("div",ZE,[c.createElementVNode("input",{type:"file",accept:"image/*",onClick:E[0]||(E[0]=c.withModifiers(()=>{},["stop"])),contenteditable:"false",ref:"fileInput",onChange:d,class:"absolute top-0 left-0 w-[110px] h-[40px] opacity-0 cursor-pointer"},null,544),E[2]||(E[2]=c.createElementVNode("span",{id:"uploadHandler",class:"cursor-pointer"}," 选择/更换图片 ",-1))]),E[3]||(E[3]=c.createElementVNode("span",{class:"text-sm text-[#999] ml-3"},"滚动鼠标放大或缩小图片",-1))]),c.createElementVNode("div",Am,[c.createElementVNode("div",em,[c.createElementVNode("div",tm,[l.value.image?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",rm," 请上传图片 ")),c.createElementVNode("img",{id:"imgId",src:l.value.image,style:{width:"300px"}},null,8,nm)])]),c.createElementVNode("div",am,[E[4]||(E[4]=c.createElementVNode("div",{class:"before w-[270px] h-[200px] pr-[70px] border"},null,-1)),c.createElementVNode("div",im," 预览画像 "+c.toDisplayString(((D=a.value)==null?void 0:D.width)||"")+" "+c.toDisplayString((R=a.value)!=null&&R.width?"x":"")+" "+c.toDisplayString(((k=a.value)==null?void 0:k.height)||""),1)])])])])])]),c.createElementVNode("div",sm,[c.createElementVNode("span",{loading:o.value,class:"!w-22 bg-[#474AFF] text-white rounded py-2 px-6 cursor-pointer",type:"primary",onClick:b}," 确认 ",8,om),c.createElementVNode("span",{class:"!w-22 border border-[#DEDEDE] text-[#666] rounded py-2 px-6 cursor-pointer",onClick:v},"取消")])])])])):c.createCommentVNode("",!0)}}}),cm=c.defineComponent({name:"GpModal",props:{visible:{type:Boolean,required:!0},title:{type:String,default:""},okText:{type:String,default:"确定"},cancelText:{type:String,default:"取消"},showOkButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0}},emits:["update:visible","ok","cancel"],setup(A,{emit:e}){const{visible:t,okText:r,cancelText:n,showCloseButton:a}=c.toRefs(A),i=()=>{e("cancel"),e("update:visible",!1)};return{visible:t,okText:r,cancelText:n,showCloseButton:a,onClose:i,onOk:()=>{e("ok")},onCancel:()=>{e("cancel"),e("update:visible",!1)},onMaskClosable:()=>{A.maskClosable&&i()}}}}),lm={class:"bg-white rounded-lg shadow-xl w-ful"},dm={class:"p-4 border-b border-gray-200 relative flex items-center justify-between"},fm={key:0,class:"text-lg font-semibold"},hm={class:"p-4"},Bm={key:0,class:"p-4 border-t border-gray-200 flex justify-end space-x-2"};function gm(A,e,t,r,n,a){return A.visible?(c.openBlock(),c.createElementBlock("div",{key:0,class:"fixed inset-0 z-[99999] flex items-center justify-center bg-gray-900 bg-opacity-50",onClick:e[3]||(e[3]=c.withModifiers((...i)=>A.onMaskClosable&&A.onMaskClosable(...i),["self"]))},[c.createElementVNode("div",lm,[c.createElementVNode("div",dm,[A.title?(c.openBlock(),c.createElementBlock("h3",fm,c.toDisplayString(A.title),1)):c.createCommentVNode("",!0),c.renderSlot(A.$slots,"header"),A.showCloseButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"text-gray-400 hover:text-gray-600",onClick:e[0]||(e[0]=(...i)=>A.onClose&&A.onClose(...i)),"aria-label":"Close"},e[4]||(e[4]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},[c.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))):c.createCommentVNode("",!0)]),c.createElementVNode("div",hm,[c.renderSlot(A.$slots,"default")]),A.showCancelButton||A.showOkButton?(c.openBlock(),c.createElementBlock("div",Bm,[c.renderSlot(A.$slots,"footer",{},()=>[A.showCancelButton?(c.openBlock(),c.createElementBlock("button",{key:0,class:"px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded hover:bg-gray-200",onClick:e[1]||(e[1]=(...i)=>A.onCancel&&A.onCancel(...i))},c.toDisplayString(A.cancelText),1)):c.createCommentVNode("",!0),A.showOkButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded hover:bg-blue-700",onClick:e[2]||(e[2]=(...i)=>A.onOk&&A.onOk(...i))},c.toDisplayString(A.okText),1)):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)}const $u=Ke(cm,[["render",gm]]),pm={class:"p-4 flex flex-wrap max-h-[500px] overflow-y-auto w-[640px]"},Em=["onClick"],mm=c.defineComponent({__name:"GpIcon",props:{icons:{type:Array,default:()=>[]}},emits:["ok"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.icons||[]);c.watch(()=>r.icons,f=>{a.value=f||[]},{immediate:!0});const i=c.ref(!1),o=c.ref();function u(f){i.value=!0,o.value=f}function l(f){d(),n("ok",{icon:f,element:o.value})}function d(){i.value=!1}return e({openModal:u,closeModal:d}),(f,h)=>(c.openBlock(),c.createBlock($u,{visible:i.value,"onUpdate:visible":h[0]||(h[0]=C=>i.value=C),title:"选择图标",onOk:d,onCancel:d,showCancelButton:!1,showOkButton:!1},{default:c.withCtx(()=>[c.createElementVNode("div",pm,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.value,C=>(c.openBlock(),c.createElementBlock("span",{key:C,onClick:c.withModifiers(m=>l(C),["stop"]),style:{position:"unset",color:"unset",top:"unset",left:"unset",right:"unset",transform:"unset","font-size":"unset"},class:c.normalizeClass(["w-12 h-12 mx-1 mb-2 border cursor-pointer hover:border-gray-400 hover:bg-gray-200",`iconfont icon-${C} !text-4xl overflow-hidden flex justify-center items-center`])},null,10,Em))),128))])]),_:1},8,["visible"]))}}),Cm=c.defineComponent({name:"GpImageUpload",props:{accept:{type:String,default:"image/*"},multiple:{type:Boolean,default:!1},maxCount:{type:Number,default:1/0},beforeUpload:Function,onChange:Function,showList:{type:Boolean,default:!1},show:{type:Boolean,default:!0}},setup(A,{emit:e}){const t=c.ref(null),r=c.ref([]),n=c.ref(),a=c.ref(A.show);c.watch(()=>A.show,d=>{a.value=d},{immediate:!0});const i=()=>{var d;(d=t.value)==null||d.click()},o=async d=>{var m;const h=d.target.files;if(!h)return;const C=[];for(let T=0;T<h.length;T++){const Q=h[T];if(A.beforeUpload&&await A.beforeUpload(Q)===!1)continue;const b=`${Date.now()}-${Q.name}`,v=URL.createObjectURL(Q),H=document.createElement("img");H.src=v,document.body.appendChild(H),await new Promise(E=>{H.onload=E});const K=H.width,L=H.height;document.body.removeChild(H),C.push({uid:b,name:Q.name,status:"uploading",thumbUrl:v,file:Q,width:K,height:L})}A.maxCount&&r.value.length+C.length>A.maxCount&&C.splice(A.maxCount-r.value.length),A.multiple?r.value=[...r.value,...C]:r.value=C.slice(0,1),(m=A.onChange)==null||m.call(A,r.value,n.value),e("update:fileList",r.value),t.value&&(t.value.value="")},u=d=>{var f;r.value=r.value.filter(h=>h.uid!==d),(f=A.onChange)==null||f.call(A,r.value,n.value)};function l(d){n.value=d,i()}return{isShow:a,openModal:l,inputRef:t,fileList:r,triggerInput:i,handleChange:o,removeFile:u}}}),wm={class:"upload-wrapper"},bm=["accept","multiple"],Tm={key:1,class:"file-list mt-4"},Um={class:"flex items-center space-x-4"},Qm=["src"],Fm=["onClick"];function Im(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",wm,[A.isShow?(c.openBlock(),c.createElementBlock("div",{key:0,class:"",onClick:e[0]||(e[0]=(...i)=>A.triggerInput&&A.triggerInput(...i))},[c.renderSlot(A.$slots,"upload-icon",{},()=>[e[2]||(e[2]=c.createElementVNode("div",{class:"upload-area border-dashed border-2 p-6 rounded cursor-pointer hover:border-blue-500"},[c.createElementVNode("div",{class:"text-gray-400 text-lg text-center"}," 点击或拖拽上传图片 ")],-1))],!0)])):c.createCommentVNode("",!0),c.createElementVNode("input",{type:"file",ref:"inputRef",class:"hidden",accept:A.accept,multiple:A.multiple,onChange:e[1]||(e[1]=(...i)=>A.handleChange&&A.handleChange(...i))},null,40,bm),A.showList?(c.openBlock(),c.createElementBlock("div",Tm,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(A.fileList,i=>(c.openBlock(),c.createElementBlock("div",{key:i.uid,class:"file-item flex items-center justify-between p-2 border rounded mb-2"},[c.createElementVNode("div",Um,[i.thumbUrl?(c.openBlock(),c.createElementBlock("img",{key:0,src:i.thumbUrl,alt:"preview",class:"w-12 h-12 object-cover rounded"},null,8,Qm)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(i.name),1)]),c.createElementVNode("div",null,[c.createElementVNode("button",{onClick:o=>A.removeFile(i.uid),class:"text-red-500 hover:underline"}," 删除 ",8,Fm)])]))),128))])):c.createCommentVNode("",!0)])}const ym=Ke(Cm,[["render",Im],["__scopeId","data-v-08babff9"]]);/*!
18
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var En=typeof window<"u"&&typeof window.document<"u",Te=En?window:{},ci=En&&Te.document.documentElement?"ontouchstart"in Te.document.documentElement:!1,li=En?"PointerEvent"in Te:!1,pA="cropper",di="all",Qu="crop",Fu="move",Iu="zoom",ct="e",lt="w",It="s",Ve="n",fr="ne",hr="nw",Br="se",gr="sw",fi="".concat(pA,"-crop"),yu="".concat(pA,"-disabled"),Ae="".concat(pA,"-hidden"),xu="".concat(pA,"-hide"),oE="".concat(pA,"-invisible"),mn="".concat(pA,"-modal"),hi="".concat(pA,"-move"),pr="".concat(pA,"Action"),Cn="".concat(pA,"Preview"),Bi="crop",vu="move",_u="none",gi="crop",pi="cropend",Ei="cropmove",mi="cropstart",Nu="dblclick",uE=ci?"touchstart":"mousedown",cE=ci?"touchmove":"mousemove",lE=ci?"touchend touchcancel":"mouseup",Su=li?"pointerdown":uE,Lu=li?"pointermove":cE,Hu=li?"pointerup pointercancel":lE,Du="ready",Ou="resize",Ru="wheel",Ci="zoom",Mu="image/jpeg",dE=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,fE=/^data:/,hE=/^data:image\/jpeg;base64,/,BE=/^img|canvas$/i,ku=200,Pu=100,Ku={viewMode:0,dragMode:Bi,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:ku,minContainerHeight:Pu,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},gE='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',pE=Number.isNaN||Te.isNaN;function Z(A){return typeof A=="number"&&!pE(A)}var Vu=function(e){return e>0&&e<1/0};function wi(A){return typeof A>"u"}function dt(A){return oi(A)==="object"&&A!==null}var EE=Object.prototype.hasOwnProperty;function yt(A){if(!dt(A))return!1;try{var e=A.constructor,t=e.prototype;return e&&t&&EE.call(t,"isPrototypeOf")}catch{return!1}}function ee(A){return typeof A=="function"}var mE=Array.prototype.slice;function Gu(A){return Array.from?Array.from(A):mE.call(A)}function FA(A,e){return A&&ee(e)&&(Array.isArray(A)||Z(A.length)?Gu(A).forEach(function(t,r){e.call(A,t,r,A)}):dt(A)&&Object.keys(A).forEach(function(t){e.call(A,A[t],t,A)})),A}var EA=Object.assign||function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return dt(e)&&r.length>0&&r.forEach(function(a){dt(a)&&Object.keys(a).forEach(function(i){e[i]=a[i]})}),e},CE=/\.\d*(?:0|9){12}\d*$/;function xt(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return CE.test(A)?Math.round(A*e)/e:A}var wE=/^width|height|left|top|marginLeft|marginTop$/;function Ge(A,e){var t=A.style;FA(e,function(r,n){wE.test(n)&&Z(r)&&(r="".concat(r,"px")),t[n]=r})}function bE(A,e){return A.classList?A.classList.contains(e):A.className.indexOf(e)>-1}function HA(A,e){if(e){if(Z(A.length)){FA(A,function(r){HA(r,e)});return}if(A.classList){A.classList.add(e);return}var t=A.className.trim();t?t.indexOf(e)<0&&(A.className="".concat(t," ").concat(e)):A.className=e}}function Ue(A,e){if(e){if(Z(A.length)){FA(A,function(t){Ue(t,e)});return}if(A.classList){A.classList.remove(e);return}A.className.indexOf(e)>=0&&(A.className=A.className.replace(e,""))}}function vt(A,e,t){if(e){if(Z(A.length)){FA(A,function(r){vt(r,e,t)});return}t?HA(A,e):Ue(A,e)}}var TE=/([a-z\d])([A-Z])/g;function bi(A){return A.replace(TE,"$1-$2").toLowerCase()}function Ti(A,e){return dt(A[e])?A[e]:A.dataset?A.dataset[e]:A.getAttribute("data-".concat(bi(e)))}function Er(A,e,t){dt(t)?A[e]=t:A.dataset?A.dataset[e]=t:A.setAttribute("data-".concat(bi(e)),t)}function UE(A,e){if(dt(A[e]))try{delete A[e]}catch{A[e]=void 0}else if(A.dataset)try{delete A.dataset[e]}catch{A.dataset[e]=void 0}else A.removeAttribute("data-".concat(bi(e)))}var Yu=/\s\s*/,Xu=function(){var A=!1;if(En){var e=!1,t=function(){},r=Object.defineProperty({},"once",{get:function(){return A=!0,e},set:function(a){e=a}});Te.addEventListener("test",t,r),Te.removeEventListener("test",t,r)}return A}();function pe(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Yu).forEach(function(a){if(!Xu){var i=A.listeners;i&&i[a]&&i[a][t]&&(n=i[a][t],delete i[a][t],Object.keys(i[a]).length===0&&delete i[a],Object.keys(i).length===0&&delete A.listeners)}A.removeEventListener(a,n,r)})}function oe(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Yu).forEach(function(a){if(r.once&&!Xu){var i=A.listeners,o=i===void 0?{}:i;n=function(){delete o[a][t],A.removeEventListener(a,n,r);for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];t.apply(A,d)},o[a]||(o[a]={}),o[a][t]&&A.removeEventListener(a,o[a][t],r),o[a][t]=n,A.listeners=o}A.addEventListener(a,n,r)})}function _t(A,e,t){var r;return ee(Event)&&ee(CustomEvent)?r=new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,!0,!0,t)),A.dispatchEvent(r)}function Wu(A){var e=A.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}var Ui=Te.location,QE=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Ju(A){var e=A.match(QE);return e!==null&&(e[1]!==Ui.protocol||e[2]!==Ui.hostname||e[3]!==Ui.port)}function qu(A){var e="timestamp=".concat(new Date().getTime());return A+(A.indexOf("?")===-1?"?":"&")+e}function mr(A){var e=A.rotate,t=A.scaleX,r=A.scaleY,n=A.translateX,a=A.translateY,i=[];Z(n)&&n!==0&&i.push("translateX(".concat(n,"px)")),Z(a)&&a!==0&&i.push("translateY(".concat(a,"px)")),Z(e)&&e!==0&&i.push("rotate(".concat(e,"deg)")),Z(t)&&t!==1&&i.push("scaleX(".concat(t,")")),Z(r)&&r!==1&&i.push("scaleY(".concat(r,")"));var o=i.length?i.join(" "):"none";return{WebkitTransform:o,msTransform:o,transform:o}}function FE(A){var e=wu({},A),t=0;return FA(A,function(r,n){delete e[n],FA(e,function(a){var i=Math.abs(r.startX-a.startX),o=Math.abs(r.startY-a.startY),u=Math.abs(r.endX-a.endX),l=Math.abs(r.endY-a.endY),d=Math.sqrt(i*i+o*o),f=Math.sqrt(u*u+l*l),h=(f-d)/d;Math.abs(h)>Math.abs(t)&&(t=h)})}),t}function wn(A,e){var t=A.pageX,r=A.pageY,n={endX:t,endY:r};return e?n:wu({startX:t,startY:r},n)}function IE(A){var e=0,t=0,r=0;return FA(A,function(n){var a=n.startX,i=n.startY;e+=a,t+=i,r+=1}),e/=r,t/=r,{pageX:e,pageY:t}}function Ye(A){var e=A.aspectRatio,t=A.height,r=A.width,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",a=Vu(r),i=Vu(t);if(a&&i){var o=t*e;n==="contain"&&o>r||n==="cover"&&o<r?t=r/e:r=t*e}else a?t=r/e:i&&(r=t*e);return{width:r,height:t}}function yE(A){var e=A.width,t=A.height,r=A.degree;if(r=Math.abs(r)%180,r===90)return{width:t,height:e};var n=r%90*Math.PI/180,a=Math.sin(n),i=Math.cos(n),o=e*i+t*a,u=e*a+t*i;return r>90?{width:u,height:o}:{width:o,height:u}}function xE(A,e,t,r){var n=e.aspectRatio,a=e.naturalWidth,i=e.naturalHeight,o=e.rotate,u=o===void 0?0:o,l=e.scaleX,d=l===void 0?1:l,f=e.scaleY,h=f===void 0?1:f,C=t.aspectRatio,m=t.naturalWidth,T=t.naturalHeight,Q=r.fillColor,b=Q===void 0?"transparent":Q,v=r.imageSmoothingEnabled,H=v===void 0?!0:v,K=r.imageSmoothingQuality,L=K===void 0?"low":K,E=r.maxWidth,O=E===void 0?1/0:E,R=r.maxHeight,k=R===void 0?1/0:R,eA=r.minWidth,cA=eA===void 0?0:eA,hA=r.minHeight,q=hA===void 0?0:hA,nA=document.createElement("canvas"),lA=nA.getContext("2d"),dA=Ye({aspectRatio:C,width:O,height:k}),TA=Ye({aspectRatio:C,width:cA,height:q},"cover"),qA=Math.min(dA.width,Math.max(TA.width,m)),_A=Math.min(dA.height,Math.max(TA.height,T)),WA=Ye({aspectRatio:n,width:O,height:k}),jA=Ye({aspectRatio:n,width:cA,height:q},"cover"),OA=Math.min(WA.width,Math.max(jA.width,a)),PA=Math.min(WA.height,Math.max(jA.height,i)),KA=[-OA/2,-PA/2,OA,PA];return nA.width=xt(qA),nA.height=xt(_A),lA.fillStyle=b,lA.fillRect(0,0,qA,_A),lA.save(),lA.translate(qA/2,_A/2),lA.rotate(u*Math.PI/180),lA.scale(d,h),lA.imageSmoothingEnabled=H,lA.imageSmoothingQuality=L,lA.drawImage.apply(lA,[A].concat(Uu(KA.map(function(y){return Math.floor(xt(y))})))),lA.restore(),nA}var ju=String.fromCharCode;function vE(A,e,t){var r="";t+=e;for(var n=e;n<t;n+=1)r+=ju(A.getUint8(n));return r}var _E=/^data:.*,/;function NE(A){var e=A.replace(_E,""),t=atob(e),r=new ArrayBuffer(t.length),n=new Uint8Array(r);return FA(n,function(a,i){n[i]=t.charCodeAt(i)}),r}function SE(A,e){for(var t=[],r=8192,n=new Uint8Array(A);n.length>0;)t.push(ju.apply(null,Gu(n.subarray(0,r)))),n=n.subarray(r);return"data:".concat(e,";base64,").concat(btoa(t.join("")))}function LE(A){var e=new DataView(A),t;try{var r,n,a;if(e.getUint8(0)===255&&e.getUint8(1)===216)for(var i=e.byteLength,o=2;o+1<i;){if(e.getUint8(o)===255&&e.getUint8(o+1)===225){n=o;break}o+=1}if(n){var u=n+4,l=n+10;if(vE(e,u,4)==="Exif"){var d=e.getUint16(l);if(r=d===18761,(r||d===19789)&&e.getUint16(l+2,r)===42){var f=e.getUint32(l+4,r);f>=8&&(a=l+f)}}}if(a){var h=e.getUint16(a,r),C,m;for(m=0;m<h;m+=1)if(C=a+m*12+2,e.getUint16(C,r)===274){C+=8,t=e.getUint16(C,r),e.setUint16(C,1,r);break}}}catch{t=1}return t}function HE(A){var e=0,t=1,r=1;switch(A){case 2:t=-1;break;case 3:e=-180;break;case 4:r=-1;break;case 5:e=90,r=-1;break;case 6:e=90;break;case 7:e=90,t=-1;break;case 8:e=-90;break}return{rotate:e,scaleX:t,scaleY:r}}var DE={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,t=this.options,r=this.container,n=this.cropper,a=Number(t.minContainerWidth),i=Number(t.minContainerHeight);HA(n,Ae),Ue(e,Ae);var o={width:Math.max(r.offsetWidth,a>=0?a:ku),height:Math.max(r.offsetHeight,i>=0?i:Pu)};this.containerData=o,Ge(n,{width:o.width,height:o.height}),HA(e,Ae),Ue(n,Ae)},initCanvas:function(){var e=this.containerData,t=this.imageData,r=this.options.viewMode,n=Math.abs(t.rotate)%180===90,a=n?t.naturalHeight:t.naturalWidth,i=n?t.naturalWidth:t.naturalHeight,o=a/i,u=e.width,l=e.height;e.height*o>e.width?r===3?u=e.height*o:l=e.width/o:r===3?l=e.width/o:u=e.height*o;var d={aspectRatio:o,naturalWidth:a,naturalHeight:i,width:u,height:l};this.canvasData=d,this.limited=r===1||r===2,this.limitCanvas(!0,!0),d.width=Math.min(Math.max(d.width,d.minWidth),d.maxWidth),d.height=Math.min(Math.max(d.height,d.minHeight),d.maxHeight),d.left=(e.width-d.width)/2,d.top=(e.height-d.height)/2,d.oldLeft=d.left,d.oldTop=d.top,this.initialCanvasData=EA({},d)},limitCanvas:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,i=this.cropBoxData,o=r.viewMode,u=a.aspectRatio,l=this.cropped&&i;if(e){var d=Number(r.minCanvasWidth)||0,f=Number(r.minCanvasHeight)||0;o>1?(d=Math.max(d,n.width),f=Math.max(f,n.height),o===3&&(f*u>d?d=f*u:f=d/u)):o>0&&(d?d=Math.max(d,l?i.width:0):f?f=Math.max(f,l?i.height:0):l&&(d=i.width,f=i.height,f*u>d?d=f*u:f=d/u));var h=Ye({aspectRatio:u,width:d,height:f});d=h.width,f=h.height,a.minWidth=d,a.minHeight=f,a.maxWidth=1/0,a.maxHeight=1/0}if(t)if(o>(l?0:1)){var C=n.width-a.width,m=n.height-a.height;a.minLeft=Math.min(0,C),a.minTop=Math.min(0,m),a.maxLeft=Math.max(0,C),a.maxTop=Math.max(0,m),l&&this.limited&&(a.minLeft=Math.min(i.left,i.left+(i.width-a.width)),a.minTop=Math.min(i.top,i.top+(i.height-a.height)),a.maxLeft=i.left,a.maxTop=i.top,o===2&&(a.width>=n.width&&(a.minLeft=Math.min(0,C),a.maxLeft=Math.max(0,C)),a.height>=n.height&&(a.minTop=Math.min(0,m),a.maxTop=Math.max(0,m))))}else a.minLeft=-a.width,a.minTop=-a.height,a.maxLeft=n.width,a.maxTop=n.height},renderCanvas:function(e,t){var r=this.canvasData,n=this.imageData;if(t){var a=yE({width:n.naturalWidth*Math.abs(n.scaleX||1),height:n.naturalHeight*Math.abs(n.scaleY||1),degree:n.rotate||0}),i=a.width,o=a.height,u=r.width*(i/r.naturalWidth),l=r.height*(o/r.naturalHeight);r.left-=(u-r.width)/2,r.top-=(l-r.height)/2,r.width=u,r.height=l,r.aspectRatio=i/o,r.naturalWidth=i,r.naturalHeight=o,this.limitCanvas(!0,!1)}(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCanvas(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,Ge(this.canvas,EA({width:r.width,height:r.height},mr({translateX:r.left,translateY:r.top}))),this.renderImage(e),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(e){var t=this.canvasData,r=this.imageData,n=r.naturalWidth*(t.width/t.naturalWidth),a=r.naturalHeight*(t.height/t.naturalHeight);EA(r,{width:n,height:a,left:(t.width-n)/2,top:(t.height-a)/2}),Ge(this.image,EA({width:r.width,height:r.height},mr(EA({translateX:r.left,translateY:r.top},r)))),e&&this.output()},initCropBox:function(){var e=this.options,t=this.canvasData,r=e.aspectRatio||e.initialAspectRatio,n=Number(e.autoCropArea)||.8,a={width:t.width,height:t.height};r&&(t.height*r>t.width?a.height=a.width/r:a.width=a.height*r),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*n),a.height=Math.max(a.minHeight,a.height*n),a.left=t.left+(t.width-a.width)/2,a.top=t.top+(t.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=EA({},a)},limitCropBox:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,i=this.cropBoxData,o=this.limited,u=r.aspectRatio;if(e){var l=Number(r.minCropBoxWidth)||0,d=Number(r.minCropBoxHeight)||0,f=o?Math.min(n.width,a.width,a.width+a.left,n.width-a.left):n.width,h=o?Math.min(n.height,a.height,a.height+a.top,n.height-a.top):n.height;l=Math.min(l,n.width),d=Math.min(d,n.height),u&&(l&&d?d*u>l?d=l/u:l=d*u:l?d=l/u:d&&(l=d*u),h*u>f?h=f/u:f=h*u),i.minWidth=Math.min(l,f),i.minHeight=Math.min(d,h),i.maxWidth=f,i.maxHeight=h}t&&(o?(i.minLeft=Math.max(0,a.left),i.minTop=Math.max(0,a.top),i.maxLeft=Math.min(n.width,a.left+a.width)-i.width,i.maxTop=Math.min(n.height,a.top+a.height)-i.height):(i.minLeft=0,i.minTop=0,i.maxLeft=n.width-i.width,i.maxTop=n.height-i.height))},renderCropBox:function(){var e=this.options,t=this.containerData,r=this.cropBoxData;(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCropBox(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,e.movable&&e.cropBoxMovable&&Er(this.face,pr,r.width>=t.width&&r.height>=t.height?Fu:di),Ge(this.cropBox,EA({width:r.width,height:r.height},mr({translateX:r.left,translateY:r.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),_t(this.element,gi,this.getData())}},OE={initPreview:function(){var e=this.element,t=this.crossOrigin,r=this.options.preview,n=t?this.crossOriginUrl:this.url,a=e.alt||"The image to preview",i=document.createElement("img");if(t&&(i.crossOrigin=t),i.src=n,i.alt=a,this.viewBox.appendChild(i),this.viewBoxImage=i,!!r){var o=r;typeof r=="string"?o=e.ownerDocument.querySelectorAll(r):r.querySelector&&(o=[r]),this.previews=o,FA(o,function(u){var l=document.createElement("img");Er(u,Cn,{width:u.offsetWidth,height:u.offsetHeight,html:u.innerHTML}),t&&(l.crossOrigin=t),l.src=n,l.alt=a,l.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',u.innerHTML="",u.appendChild(l)})}},resetPreview:function(){FA(this.previews,function(e){var t=Ti(e,Cn);Ge(e,{width:t.width,height:t.height}),e.innerHTML=t.html,UE(e,Cn)})},preview:function(){var e=this.imageData,t=this.canvasData,r=this.cropBoxData,n=r.width,a=r.height,i=e.width,o=e.height,u=r.left-t.left-e.left,l=r.top-t.top-e.top;!this.cropped||this.disabled||(Ge(this.viewBoxImage,EA({width:i,height:o},mr(EA({translateX:-u,translateY:-l},e)))),FA(this.previews,function(d){var f=Ti(d,Cn),h=f.width,C=f.height,m=h,T=C,Q=1;n&&(Q=h/n,T=a*Q),a&&T>C&&(Q=C/a,m=n*Q,T=C),Ge(d,{width:m,height:T}),Ge(d.getElementsByTagName("img")[0],EA({width:i*Q,height:o*Q},mr(EA({translateX:-u*Q,translateY:-l*Q},e))))}))}},RE={bind:function(){var e=this.element,t=this.options,r=this.cropper;ee(t.cropstart)&&oe(e,mi,t.cropstart),ee(t.cropmove)&&oe(e,Ei,t.cropmove),ee(t.cropend)&&oe(e,pi,t.cropend),ee(t.crop)&&oe(e,gi,t.crop),ee(t.zoom)&&oe(e,Ci,t.zoom),oe(r,Su,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&oe(r,Ru,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&oe(r,Nu,this.onDblclick=this.dblclick.bind(this)),oe(e.ownerDocument,Lu,this.onCropMove=this.cropMove.bind(this)),oe(e.ownerDocument,Hu,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&oe(window,Ou,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,r=this.cropper;ee(t.cropstart)&&pe(e,mi,t.cropstart),ee(t.cropmove)&&pe(e,Ei,t.cropmove),ee(t.cropend)&&pe(e,pi,t.cropend),ee(t.crop)&&pe(e,gi,t.crop),ee(t.zoom)&&pe(e,Ci,t.zoom),pe(r,Su,this.onCropStart),t.zoomable&&t.zoomOnWheel&&pe(r,Ru,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&pe(r,Nu,this.onDblclick),pe(e.ownerDocument,Lu,this.onCropMove),pe(e.ownerDocument,Hu,this.onCropEnd),t.responsive&&pe(window,Ou,this.onResize)}},ME={resize:function(){if(!this.disabled){var e=this.options,t=this.container,r=this.containerData,n=t.offsetWidth/r.width,a=t.offsetHeight/r.height,i=Math.abs(n-1)>Math.abs(a-1)?n:a;if(i!==1){var o,u;e.restore&&(o=this.getCanvasData(),u=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(FA(o,function(l,d){o[d]=l*i})),this.setCropBoxData(FA(u,function(l,d){u[d]=l*i})))}}},dblclick:function(){this.disabled||this.options.dragMode===_u||this.setDragMode(bE(this.dragBox,fi)?vu:Bi)},wheel:function(e){var t=this,r=Number(this.options.wheelZoomRatio)||.1,n=1;this.disabled||(e.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50),e.deltaY?n=e.deltaY>0?1:-1:e.wheelDelta?n=-e.wheelDelta/120:e.detail&&(n=e.detail>0?1:-1),this.zoom(-n*r,e)))},cropStart:function(e){var t=e.buttons,r=e.button;if(!(this.disabled||(e.type==="mousedown"||e.type==="pointerdown"&&e.pointerType==="mouse")&&(Z(t)&&t!==1||Z(r)&&r!==0||e.ctrlKey))){var n=this.options,a=this.pointers,i;e.changedTouches?FA(e.changedTouches,function(o){a[o.identifier]=wn(o)}):a[e.pointerId||0]=wn(e),Object.keys(a).length>1&&n.zoomable&&n.zoomOnTouch?i=Iu:i=Ti(e.target,pr),dE.test(i)&&_t(this.element,mi,{originalEvent:e,action:i})!==!1&&(e.preventDefault(),this.action=i,this.cropping=!1,i===Qu&&(this.cropping=!0,HA(this.dragBox,mn)))}},cropMove:function(e){var t=this.action;if(!(this.disabled||!t)){var r=this.pointers;e.preventDefault(),_t(this.element,Ei,{originalEvent:e,action:t})!==!1&&(e.changedTouches?FA(e.changedTouches,function(n){EA(r[n.identifier]||{},wn(n,!0))}):EA(r[e.pointerId||0]||{},wn(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,r=this.pointers;e.changedTouches?FA(e.changedTouches,function(n){delete r[n.identifier]}):delete r[e.pointerId||0],t&&(e.preventDefault(),Object.keys(r).length||(this.action=""),this.cropping&&(this.cropping=!1,vt(this.dragBox,mn,this.cropped&&this.options.modal)),_t(this.element,pi,{originalEvent:e,action:t}))}}},kE={change:function(e){var t=this.options,r=this.canvasData,n=this.containerData,a=this.cropBoxData,i=this.pointers,o=this.action,u=t.aspectRatio,l=a.left,d=a.top,f=a.width,h=a.height,C=l+f,m=d+h,T=0,Q=0,b=n.width,v=n.height,H=!0,K;!u&&e.shiftKey&&(u=f&&h?f/h:1),this.limited&&(T=a.minLeft,Q=a.minTop,b=T+Math.min(n.width,r.width,r.left+r.width),v=Q+Math.min(n.height,r.height,r.top+r.height));var L=i[Object.keys(i)[0]],E={x:L.endX-L.startX,y:L.endY-L.startY},O=function(k){switch(k){case ct:C+E.x>b&&(E.x=b-C);break;case lt:l+E.x<T&&(E.x=T-l);break;case Ve:d+E.y<Q&&(E.y=Q-d);break;case It:m+E.y>v&&(E.y=v-m);break}};switch(o){case di:l+=E.x,d+=E.y;break;case ct:if(E.x>=0&&(C>=b||u&&(d<=Q||m>=v))){H=!1;break}O(ct),f+=E.x,f<0&&(o=lt,f=-f,l-=f),u&&(h=f/u,d+=(a.height-h)/2);break;case Ve:if(E.y<=0&&(d<=Q||u&&(l<=T||C>=b))){H=!1;break}O(Ve),h-=E.y,d+=E.y,h<0&&(o=It,h=-h,d-=h),u&&(f=h*u,l+=(a.width-f)/2);break;case lt:if(E.x<=0&&(l<=T||u&&(d<=Q||m>=v))){H=!1;break}O(lt),f-=E.x,l+=E.x,f<0&&(o=ct,f=-f,l-=f),u&&(h=f/u,d+=(a.height-h)/2);break;case It:if(E.y>=0&&(m>=v||u&&(l<=T||C>=b))){H=!1;break}O(It),h+=E.y,h<0&&(o=Ve,h=-h,d-=h),u&&(f=h*u,l+=(a.width-f)/2);break;case fr:if(u){if(E.y<=0&&(d<=Q||C>=b)){H=!1;break}O(Ve),h-=E.y,d+=E.y,f=h*u}else O(Ve),O(ct),E.x>=0?C<b?f+=E.x:E.y<=0&&d<=Q&&(H=!1):f+=E.x,E.y<=0?d>Q&&(h-=E.y,d+=E.y):(h-=E.y,d+=E.y);f<0&&h<0?(o=gr,h=-h,f=-f,d-=h,l-=f):f<0?(o=hr,f=-f,l-=f):h<0&&(o=Br,h=-h,d-=h);break;case hr:if(u){if(E.y<=0&&(d<=Q||l<=T)){H=!1;break}O(Ve),h-=E.y,d+=E.y,f=h*u,l+=a.width-f}else O(Ve),O(lt),E.x<=0?l>T?(f-=E.x,l+=E.x):E.y<=0&&d<=Q&&(H=!1):(f-=E.x,l+=E.x),E.y<=0?d>Q&&(h-=E.y,d+=E.y):(h-=E.y,d+=E.y);f<0&&h<0?(o=Br,h=-h,f=-f,d-=h,l-=f):f<0?(o=fr,f=-f,l-=f):h<0&&(o=gr,h=-h,d-=h);break;case gr:if(u){if(E.x<=0&&(l<=T||m>=v)){H=!1;break}O(lt),f-=E.x,l+=E.x,h=f/u}else O(It),O(lt),E.x<=0?l>T?(f-=E.x,l+=E.x):E.y>=0&&m>=v&&(H=!1):(f-=E.x,l+=E.x),E.y>=0?m<v&&(h+=E.y):h+=E.y;f<0&&h<0?(o=fr,h=-h,f=-f,d-=h,l-=f):f<0?(o=Br,f=-f,l-=f):h<0&&(o=hr,h=-h,d-=h);break;case Br:if(u){if(E.x>=0&&(C>=b||m>=v)){H=!1;break}O(ct),f+=E.x,h=f/u}else O(It),O(ct),E.x>=0?C<b?f+=E.x:E.y>=0&&m>=v&&(H=!1):f+=E.x,E.y>=0?m<v&&(h+=E.y):h+=E.y;f<0&&h<0?(o=hr,h=-h,f=-f,d-=h,l-=f):f<0?(o=gr,f=-f,l-=f):h<0&&(o=fr,h=-h,d-=h);break;case Fu:this.move(E.x,E.y),H=!1;break;case Iu:this.zoom(FE(i),e),H=!1;break;case Qu:if(!E.x||!E.y){H=!1;break}K=Wu(this.cropper),l=L.startX-K.left,d=L.startY-K.top,f=a.minWidth,h=a.minHeight,E.x>0?o=E.y>0?Br:fr:E.x<0&&(l-=f,o=E.y>0?gr:hr),E.y<0&&(d-=h),this.cropped||(Ue(this.cropBox,Ae),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}H&&(a.width=f,a.height=h,a.left=l,a.top=d,this.action=o,this.renderCropBox()),FA(i,function(R){R.startX=R.endX,R.startY=R.endY})}},PE={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&HA(this.dragBox,mn),Ue(this.cropBox,Ae),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=EA({},this.initialImageData),this.canvasData=EA({},this.initialCanvasData),this.cropBoxData=EA({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(EA(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Ue(this.dragBox,mn),HA(this.cropBox,Ae)),this},replace:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,FA(this.previews,function(r){r.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Ue(this.cropper,yu)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,HA(this.cropper,yu)),this},destroy:function(){var e=this.element;return e[pA]?(e[pA]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=r.left,a=r.top;return this.moveTo(wi(e)?e:n+Number(e),wi(t)?t:a+Number(t))},moveTo:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(Z(e)&&(r.left=e,n=!0),Z(t)&&(r.top=t,n=!0),n&&this.renderCanvas(!0)),this},zoom:function(e,t){var r=this.canvasData;return e=Number(e),e<0?e=1/(1-e):e=1+e,this.zoomTo(r.width*e/r.naturalWidth,null,t)},zoomTo:function(e,t,r){var n=this.options,a=this.canvasData,i=a.width,o=a.height,u=a.naturalWidth,l=a.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&n.zoomable){var d=u*e,f=l*e;if(_t(this.element,Ci,{ratio:e,oldRatio:i/u,originalEvent:r})===!1)return this;if(r){var h=this.pointers,C=Wu(this.cropper),m=h&&Object.keys(h).length?IE(h):{pageX:r.pageX,pageY:r.pageY};a.left-=(d-i)*((m.pageX-C.left-a.left)/i),a.top-=(f-o)*((m.pageY-C.top-a.top)/o)}else yt(t)&&Z(t.x)&&Z(t.y)?(a.left-=(d-i)*((t.x-a.left)/i),a.top-=(f-o)*((t.y-a.top)/o)):(a.left-=(d-i)/2,a.top-=(f-o)/2);a.width=d,a.height=f,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),Z(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,Z(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(Z(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.imageData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(Z(e)&&(r.scaleX=e,n=!0),Z(t)&&(r.scaleY=t,n=!0),n&&this.renderCanvas(!0,!0)),this},getData:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=this.options,r=this.imageData,n=this.canvasData,a=this.cropBoxData,i;if(this.ready&&this.cropped){i={x:a.left-n.left,y:a.top-n.top,width:a.width,height:a.height};var o=r.width/r.naturalWidth;if(FA(i,function(d,f){i[f]=d/o}),e){var u=Math.round(i.y+i.height),l=Math.round(i.x+i.width);i.x=Math.round(i.x),i.y=Math.round(i.y),i.width=l-i.x,i.height=u-i.y}}else i={x:0,y:0,width:0,height:0};return t.rotatable&&(i.rotate=r.rotate||0),t.scalable&&(i.scaleX=r.scaleX||1,i.scaleY=r.scaleY||1),i},setData:function(e){var t=this.options,r=this.imageData,n=this.canvasData,a={};if(this.ready&&!this.disabled&&yt(e)){var i=!1;t.rotatable&&Z(e.rotate)&&e.rotate!==r.rotate&&(r.rotate=e.rotate,i=!0),t.scalable&&(Z(e.scaleX)&&e.scaleX!==r.scaleX&&(r.scaleX=e.scaleX,i=!0),Z(e.scaleY)&&e.scaleY!==r.scaleY&&(r.scaleY=e.scaleY,i=!0)),i&&this.renderCanvas(!0,!0);var o=r.width/r.naturalWidth;Z(e.x)&&(a.left=e.x*o+n.left),Z(e.y)&&(a.top=e.y*o+n.top),Z(e.width)&&(a.width=e.width*o),Z(e.height)&&(a.height=e.height*o),this.setCropBoxData(a)}return this},getContainerData:function(){return this.ready?EA({},this.containerData):{}},getImageData:function(){return this.sized?EA({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&FA(["left","top","width","height","naturalWidth","naturalHeight"],function(r){t[r]=e[r]}),t},setCanvasData:function(e){var t=this.canvasData,r=t.aspectRatio;return this.ready&&!this.disabled&&yt(e)&&(Z(e.left)&&(t.left=e.left),Z(e.top)&&(t.top=e.top),Z(e.width)?(t.width=e.width,t.height=e.width/r):Z(e.height)&&(t.height=e.height,t.width=e.height*r),this.renderCanvas(!0)),this},getCropBoxData:function(){var e=this.cropBoxData,t;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(e){var t=this.cropBoxData,r=this.options.aspectRatio,n,a;return this.ready&&this.cropped&&!this.disabled&&yt(e)&&(Z(e.left)&&(t.left=e.left),Z(e.top)&&(t.top=e.top),Z(e.width)&&e.width!==t.width&&(n=!0,t.width=e.width),Z(e.height)&&e.height!==t.height&&(a=!0,t.height=e.height),r&&(n?t.height=t.width/r:a&&(t.width=t.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,r=xE(this.image,this.imageData,t,e);if(!this.cropped)return r;var n=this.getData(e.rounded),a=n.x,i=n.y,o=n.width,u=n.height,l=r.width/Math.floor(t.naturalWidth);l!==1&&(a*=l,i*=l,o*=l,u*=l);var d=o/u,f=Ye({aspectRatio:d,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),h=Ye({aspectRatio:d,width:e.minWidth||0,height:e.minHeight||0},"cover"),C=Ye({aspectRatio:d,width:e.width||(l!==1?r.width:o),height:e.height||(l!==1?r.height:u)}),m=C.width,T=C.height;m=Math.min(f.width,Math.max(h.width,m)),T=Math.min(f.height,Math.max(h.height,T));var Q=document.createElement("canvas"),b=Q.getContext("2d");Q.width=xt(m),Q.height=xt(T),b.fillStyle=e.fillColor||"transparent",b.fillRect(0,0,m,T);var v=e.imageSmoothingEnabled,H=v===void 0?!0:v,K=e.imageSmoothingQuality;b.imageSmoothingEnabled=H,K&&(b.imageSmoothingQuality=K);var L=r.width,E=r.height,O=a,R=i,k,eA,cA,hA,q,nA;O<=-o||O>L?(O=0,k=0,cA=0,q=0):O<=0?(cA=-O,O=0,k=Math.min(L,o+O),q=k):O<=L&&(cA=0,k=Math.min(o,L-O),q=k),k<=0||R<=-u||R>E?(R=0,eA=0,hA=0,nA=0):R<=0?(hA=-R,R=0,eA=Math.min(E,u+R),nA=eA):R<=E&&(hA=0,eA=Math.min(u,E-R),nA=eA);var lA=[O,R,k,eA];if(q>0&&nA>0){var dA=m/o;lA.push(cA*dA,hA*dA,q*dA,nA*dA)}return b.drawImage.apply(b,[r].concat(Uu(lA.map(function(TA){return Math.floor(xt(TA))})))),Q},setAspectRatio:function(e){var t=this.options;return!this.disabled&&!wi(e)&&(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,r=this.dragBox,n=this.face;if(this.ready&&!this.disabled){var a=e===Bi,i=t.movable&&e===vu;e=a||i?e:_u,t.dragMode=e,Er(r,pr,e),vt(r,fi,a),vt(r,hi,i),t.cropBoxMovable||(Er(n,pr,e),vt(n,fi,a),vt(n,hi,i))}return this}},KE=Te.Cropper,zu=function(){function A(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(eE(this,A),!e||!BE.test(e.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=e,this.options=EA({},Ku,yt(t)&&t),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return tE(A,[{key:"init",value:function(){var t=this.element,r=t.tagName.toLowerCase(),n;if(!t[pA]){if(t[pA]=this,r==="img"){if(this.isImg=!0,n=t.getAttribute("src")||"",this.originalUrl=n,!n)return;n=t.src}else r==="canvas"&&window.HTMLCanvasElement&&(n=t.toDataURL());this.load(n)}}},{key:"load",value:function(t){var r=this;if(t){this.url=t,this.imageData={};var n=this.element,a=this.options;if(!a.rotatable&&!a.scalable&&(a.checkOrientation=!1),!a.checkOrientation||!window.ArrayBuffer){this.clone();return}if(fE.test(t)){hE.test(t)?this.read(NE(t)):this.clone();return}var i=new XMLHttpRequest,o=this.clone.bind(this);this.reloading=!0,this.xhr=i,i.onabort=o,i.onerror=o,i.ontimeout=o,i.onprogress=function(){i.getResponseHeader("content-type")!==Mu&&i.abort()},i.onload=function(){r.read(i.response)},i.onloadend=function(){r.reloading=!1,r.xhr=null},a.checkCrossOrigin&&Ju(t)&&n.crossOrigin&&(t=qu(t)),i.open("GET",t,!0),i.responseType="arraybuffer",i.withCredentials=n.crossOrigin==="use-credentials",i.send()}}},{key:"read",value:function(t){var r=this.options,n=this.imageData,a=LE(t),i=0,o=1,u=1;if(a>1){this.url=SE(t,Mu);var l=HE(a);i=l.rotate,o=l.scaleX,u=l.scaleY}r.rotatable&&(n.rotate=i),r.scalable&&(n.scaleX=o,n.scaleY=u),this.clone()}},{key:"clone",value:function(){var t=this.element,r=this.url,n=t.crossOrigin,a=r;this.options.checkCrossOrigin&&Ju(r)&&(n||(n="anonymous"),a=qu(r)),this.crossOrigin=n,this.crossOriginUrl=a;var i=document.createElement("img");n&&(i.crossOrigin=n),i.src=a||r,i.alt=t.alt||"The image to crop",this.image=i,i.onload=this.start.bind(this),i.onerror=this.stop.bind(this),HA(i,xu),t.parentNode.insertBefore(i,t.nextSibling)}},{key:"start",value:function(){var t=this,r=this.image;r.onload=null,r.onerror=null,this.sizing=!0;var n=Te.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Te.navigator.userAgent),a=function(l,d){EA(t.imageData,{naturalWidth:l,naturalHeight:d,aspectRatio:l/d}),t.initialImageData=EA({},t.imageData),t.sizing=!1,t.sized=!0,t.build()};if(r.naturalWidth&&!n){a(r.naturalWidth,r.naturalHeight);return}var i=document.createElement("img"),o=document.body||document.documentElement;this.sizingImage=i,i.onload=function(){a(i.width,i.height),n||o.removeChild(i)},i.src=r.src,n||(i.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(i))}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var t=this.element,r=this.options,n=this.image,a=t.parentNode,i=document.createElement("div");i.innerHTML=gE;var o=i.querySelector(".".concat(pA,"-container")),u=o.querySelector(".".concat(pA,"-canvas")),l=o.querySelector(".".concat(pA,"-drag-box")),d=o.querySelector(".".concat(pA,"-crop-box")),f=d.querySelector(".".concat(pA,"-face"));this.container=a,this.cropper=o,this.canvas=u,this.dragBox=l,this.cropBox=d,this.viewBox=o.querySelector(".".concat(pA,"-view-box")),this.face=f,u.appendChild(n),HA(t,Ae),a.insertBefore(o,t.nextSibling),Ue(n,xu),this.initPreview(),this.bind(),r.initialAspectRatio=Math.max(0,r.initialAspectRatio)||NaN,r.aspectRatio=Math.max(0,r.aspectRatio)||NaN,r.viewMode=Math.max(0,Math.min(3,Math.round(r.viewMode)))||0,HA(d,Ae),r.guides||HA(d.getElementsByClassName("".concat(pA,"-dashed")),Ae),r.center||HA(d.getElementsByClassName("".concat(pA,"-center")),Ae),r.background&&HA(o,"".concat(pA,"-bg")),r.highlight||HA(f,oE),r.cropBoxMovable&&(HA(f,hi),Er(f,pr,di)),r.cropBoxResizable||(HA(d.getElementsByClassName("".concat(pA,"-line")),Ae),HA(d.getElementsByClassName("".concat(pA,"-point")),Ae)),this.render(),this.ready=!0,this.setDragMode(r.dragMode),r.autoCrop&&this.crop(),this.setData(r.data),ee(r.ready)&&oe(t,Du,r.ready,{once:!0}),_t(t,Du)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var t=this.cropper.parentNode;t&&t.removeChild(this.cropper),Ue(this.element,Ae)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=KE,A}},{key:"setDefaults",value:function(t){EA(Ku,yt(t)&&t)}}])}();EA(zu.prototype,DE,OE,RE,ME,kE,PE);function VE(A,e){const t=A.split(",")||[],r=t[0].match(/:(.*?);/)[1],n=t[1]&&atob(t[1]);let a=n&&n.length;const i=new Uint8Array(a);for(;a--;)i[a]=n==null?void 0:n.charCodeAt(a);return new File([i],e,{type:r})}const GE={key:0,contenteditable:"false",class:"z-10 w-[100vw] h-[100vh] bg-[rgba(0,0,0,0.7)] flex flex-col justify-center items-center fixed top-0 left-0 cursor-auto"},YE={class:"w-[700px] flex flex-col bg-white rounded pb-8"},XE={class:"flex flex-row items-center justify-between px-6 py-4 bg-[#f4f8ff]"},WE={class:"flex flex-col h-full"},JE={class:"flex flex-row justify-center items-start flex-1"},qE={class:"flex flex-col items-start flex-1"},jE={class:"flex flex-col w-full px-6 py-4"},zE={class:"flex flex-col w-full"},$E={class:"flex flex-row items-center"},ZE={class:"relative bg-[#474AFF] text-white rounded p-3"},Am={class:"flex flex-row items-start justify-between mt-3"},em={class:"flex flex-col"},tm={class:"flex flex-col justify-center items-center border w-[300px] h-[300px]"},rm={key:0,class:"w-full text-center"},nm=["src"],am={class:"flex flex-col items-center",style:{width:"300px",height:"300px"}},im={class:"text-[#999] mt-05 flex justify-center mt-4"},sm={class:"w-full flex justify-end space-x-5 mt-5 px-6"},om=["loading"],um=c.defineComponent({__name:"GpCropper",emits:["cancel","ok"],setup(A,{expose:e,emit:t}){const r=t,n=c.ref({coverUrl:"",inputValue:"",uploadType:2,videoHost:"",videoUrl:""}),a=c.ref(),i=c.ref({autoCrop:!0,autoCropArea:1,background:!0,center:!0,cropBoxResizable:!0,dragMode:"move",preview:".before",toggleDragModeOnDblclick:!0,viewMode:1,zoomOnWheel:!0}),o=c.ref(!1),u=c.ref("image/jpeg"),l=c.ref({afterImg:"",image:null,myCropper:null}),d=L=>{const E=L.target.files[0];E&&(E.name&&(n.value.inputValue=E.name),f(E))};async function f(L){if(!L)return;await K();const E=URL.createObjectURL(L);l.value.image=E,l.value.image&&h(),u.value=L.type}function h(){const L=document.querySelector("#imgId");L&&L.addEventListener("load",()=>{H(),l.value.myCropper=new zu(L,i.value)})}const C=c.ref(!1),m=c.ref();function T(L,E,O,R){m.value=R,a.value=L,L&&L.aspectRatio&&(i.value.aspectRatio=L.aspectRatio),O&&(n.value.inputValue=O),C.value=!0,E&&f(E)}function Q(){C.value=!1}const b=()=>{var R,k;if(!l.value.myCropper)return;o.value=!0;var E=l.value.myCropper.getCroppedCanvas({height:(R=a.value)==null?void 0:R.height,imageSmoothingQuality:"high",width:(k=a.value)==null?void 0:k.width}).toDataURL(u.value);l.value.afterImg=E;const O=VE(l.value.afterImg,n.value.inputValue);r("ok",{file:O,element:m.value}),o.value=!1,K(),H(),Q()};function v(){K(),H(),Q(),r("cancel")}function H(){l.value.myCropper&&l.value.myCropper.destroy()}function K(){l.value.image=""}return e({handleCloseCropper:Q,handleOpenCropper:T}),(L,E)=>{var O,R,k;return C.value?(c.openBlock(),c.createElementBlock("div",GE,[c.createElementVNode("div",YE,[c.createElementVNode("div",XE,[E[1]||(E[1]=c.createElementVNode("span",{class:"text-base font-semibold text-[#333]"},"图片裁剪",-1)),c.createElementVNode("span",{class:"text-lg cursor-pointer text-[#999] iconfont icon-shanchu2",onClick:c.withModifiers(v,["stop"])})]),c.createElementVNode("div",WE,[c.createElementVNode("div",JE,[c.createElementVNode("div",qE,[c.createElementVNode("div",jE,[c.createElementVNode("div",zE,[c.createElementVNode("div",$E,[c.createElementVNode("div",ZE,[c.createElementVNode("input",{type:"file",accept:"image/*",onClick:E[0]||(E[0]=c.withModifiers(()=>{},["stop"])),contenteditable:"false",ref:"fileInput",onChange:d,class:"absolute top-0 left-0 w-[110px] h-[40px] opacity-0 cursor-pointer"},null,544),E[2]||(E[2]=c.createElementVNode("span",{id:"uploadHandler",class:"cursor-pointer"}," 选择/更换图片 ",-1))]),E[3]||(E[3]=c.createElementVNode("span",{class:"text-sm text-[#999] ml-3"},"滚动鼠标放大或缩小图片",-1))]),c.createElementVNode("div",Am,[c.createElementVNode("div",em,[c.createElementVNode("div",tm,[l.value.image?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",rm," 请上传图片 ")),c.createElementVNode("img",{id:"imgId",src:l.value.image,style:{width:"300px"}},null,8,nm)])]),c.createElementVNode("div",am,[E[4]||(E[4]=c.createElementVNode("div",{class:"before w-[270px] h-[200px] pr-[70px] border"},null,-1)),c.createElementVNode("div",im," 预览画像 "+c.toDisplayString(((O=a.value)==null?void 0:O.width)||"")+" "+c.toDisplayString((R=a.value)!=null&&R.width?"x":"")+" "+c.toDisplayString(((k=a.value)==null?void 0:k.height)||""),1)])])])])])]),c.createElementVNode("div",sm,[c.createElementVNode("span",{loading:o.value,class:"!w-22 bg-[#474AFF] text-white rounded py-2 px-6 cursor-pointer",type:"primary",onClick:b}," 确认 ",8,om),c.createElementVNode("span",{class:"!w-22 border border-[#DEDEDE] text-[#666] rounded py-2 px-6 cursor-pointer",onClick:v},"取消")])])])])):c.createCommentVNode("",!0)}}}),cm=c.defineComponent({name:"GpModal",props:{visible:{type:Boolean,required:!0},title:{type:String,default:""},okText:{type:String,default:"确定"},cancelText:{type:String,default:"取消"},showOkButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0}},emits:["update:visible","ok","cancel"],setup(A,{emit:e}){const{visible:t,okText:r,cancelText:n,showCloseButton:a}=c.toRefs(A),i=()=>{e("cancel"),e("update:visible",!1)};return{visible:t,okText:r,cancelText:n,showCloseButton:a,onClose:i,onOk:()=>{e("ok")},onCancel:()=>{e("cancel"),e("update:visible",!1)},onMaskClosable:()=>{A.maskClosable&&i()}}}}),lm={class:"bg-white rounded-lg shadow-xl w-ful"},dm={class:"p-4 border-b border-gray-200 relative flex items-center justify-between"},fm={key:0,class:"text-lg font-semibold"},hm={class:"p-4"},Bm={key:0,class:"p-4 border-t border-gray-200 flex justify-end space-x-2"};function gm(A,e,t,r,n,a){return A.visible?(c.openBlock(),c.createElementBlock("div",{key:0,class:"fixed inset-0 z-[99999] flex items-center justify-center bg-gray-900 bg-opacity-50",onClick:e[3]||(e[3]=c.withModifiers((...i)=>A.onMaskClosable&&A.onMaskClosable(...i),["self"]))},[c.createElementVNode("div",lm,[c.createElementVNode("div",dm,[A.title?(c.openBlock(),c.createElementBlock("h3",fm,c.toDisplayString(A.title),1)):c.createCommentVNode("",!0),c.renderSlot(A.$slots,"header"),A.showCloseButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"text-gray-400 hover:text-gray-600",onClick:e[0]||(e[0]=(...i)=>A.onClose&&A.onClose(...i)),"aria-label":"Close"},e[4]||(e[4]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},[c.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))):c.createCommentVNode("",!0)]),c.createElementVNode("div",hm,[c.renderSlot(A.$slots,"default")]),A.showCancelButton||A.showOkButton?(c.openBlock(),c.createElementBlock("div",Bm,[c.renderSlot(A.$slots,"footer",{},()=>[A.showCancelButton?(c.openBlock(),c.createElementBlock("button",{key:0,class:"px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded hover:bg-gray-200",onClick:e[1]||(e[1]=(...i)=>A.onCancel&&A.onCancel(...i))},c.toDisplayString(A.cancelText),1)):c.createCommentVNode("",!0),A.showOkButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded hover:bg-blue-700",onClick:e[2]||(e[2]=(...i)=>A.onOk&&A.onOk(...i))},c.toDisplayString(A.okText),1)):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)}const $u=Ke(cm,[["render",gm]]),pm={class:"p-4 flex flex-wrap max-h-[500px] overflow-y-auto w-[640px]"},Em=["onClick"],mm=c.defineComponent({__name:"GpIcon",props:{icons:{type:Array,default:()=>[]}},emits:["ok"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.icons||[]);c.watch(()=>r.icons,f=>{a.value=f||[]},{immediate:!0});const i=c.ref(!1),o=c.ref();function u(f){i.value=!0,o.value=f}function l(f){d(),n("ok",{icon:f,element:o.value})}function d(){i.value=!1}return e({openModal:u,closeModal:d}),(f,h)=>(c.openBlock(),c.createBlock($u,{visible:i.value,"onUpdate:visible":h[0]||(h[0]=C=>i.value=C),title:"选择图标",onOk:d,onCancel:d,showCancelButton:!1,showOkButton:!1},{default:c.withCtx(()=>[c.createElementVNode("div",pm,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.value,C=>(c.openBlock(),c.createElementBlock("span",{key:C,onClick:c.withModifiers(m=>l(C),["stop"]),style:{position:"unset",color:"unset",top:"unset",left:"unset",right:"unset",transform:"unset","font-size":"unset"},class:c.normalizeClass(["w-12 h-12 mx-1 mb-2 border cursor-pointer hover:border-gray-400 hover:bg-gray-200",`iconfont icon-${C} !text-4xl overflow-hidden flex justify-center items-center`])},null,10,Em))),128))])]),_:1},8,["visible"]))}}),Cm=c.defineComponent({name:"GpImageUpload",props:{accept:{type:String,default:"image/*"},multiple:{type:Boolean,default:!1},maxCount:{type:Number,default:1/0},beforeUpload:Function,onChange:Function,showList:{type:Boolean,default:!1},show:{type:Boolean,default:!0}},setup(A,{emit:e}){const t=c.ref(null),r=c.ref([]),n=c.ref(),a=c.ref(A.show);c.watch(()=>A.show,d=>{a.value=d},{immediate:!0});const i=()=>{var d;(d=t.value)==null||d.click()},o=async d=>{var m;const h=d.target.files;if(!h)return;const C=[];for(let T=0;T<h.length;T++){const Q=h[T];if(A.beforeUpload&&await A.beforeUpload(Q)===!1)continue;const b=`${Date.now()}-${Q.name}`,v=URL.createObjectURL(Q),H=document.createElement("img");H.src=v,document.body.appendChild(H),await new Promise(E=>{H.onload=E});const K=H.width,L=H.height;document.body.removeChild(H),C.push({uid:b,name:Q.name,status:"uploading",thumbUrl:v,file:Q,width:K,height:L})}A.maxCount&&r.value.length+C.length>A.maxCount&&C.splice(A.maxCount-r.value.length),A.multiple?r.value=[...r.value,...C]:r.value=C.slice(0,1),(m=A.onChange)==null||m.call(A,r.value,n.value),e("update:fileList",r.value),t.value&&(t.value.value="")},u=d=>{var f;r.value=r.value.filter(h=>h.uid!==d),(f=A.onChange)==null||f.call(A,r.value,n.value)};function l(d){n.value=d,i()}return{isShow:a,openModal:l,inputRef:t,fileList:r,triggerInput:i,handleChange:o,removeFile:u}}}),wm={class:"upload-wrapper"},bm=["accept","multiple"],Tm={key:1,class:"file-list mt-4"},Um={class:"flex items-center space-x-4"},Qm=["src"],Fm=["onClick"];function Im(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",wm,[A.isShow?(c.openBlock(),c.createElementBlock("div",{key:0,class:"",onClick:e[0]||(e[0]=(...i)=>A.triggerInput&&A.triggerInput(...i))},[c.renderSlot(A.$slots,"upload-icon",{},()=>[e[2]||(e[2]=c.createElementVNode("div",{class:"upload-area border-dashed border-2 p-6 rounded cursor-pointer hover:border-blue-500"},[c.createElementVNode("div",{class:"text-gray-400 text-lg text-center"}," 点击或拖拽上传图片 ")],-1))],!0)])):c.createCommentVNode("",!0),c.createElementVNode("input",{type:"file",ref:"inputRef",class:"hidden",accept:A.accept,multiple:A.multiple,onChange:e[1]||(e[1]=(...i)=>A.handleChange&&A.handleChange(...i))},null,40,bm),A.showList?(c.openBlock(),c.createElementBlock("div",Tm,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(A.fileList,i=>(c.openBlock(),c.createElementBlock("div",{key:i.uid,class:"file-item flex items-center justify-between p-2 border rounded mb-2"},[c.createElementVNode("div",Um,[i.thumbUrl?(c.openBlock(),c.createElementBlock("img",{key:0,src:i.thumbUrl,alt:"preview",class:"w-12 h-12 object-cover rounded"},null,8,Qm)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(i.name),1)]),c.createElementVNode("div",null,[c.createElementVNode("button",{onClick:o=>A.removeFile(i.uid),class:"text-red-500 hover:underline"}," 删除 ",8,Fm)])]))),128))])):c.createCommentVNode("",!0)])}const ym=Ke(Cm,[["render",Im],["__scopeId","data-v-08babff9"]]);/*!
19
19
  * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
20
20
  * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
21
21
  * Released under MIT License
@@ -32,11 +32,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
32
32
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
33
33
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
34
34
  PERFORMANCE OF THIS SOFTWARE.
35
- ***************************************************************************** */var Qi=function(A,e){return Qi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Qi(A,e)};function pe(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Qi(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Fi=function(){return Fi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Fi.apply(this,arguments)};function JA(A,e,t,r){function n(a){return a instanceof t?a:new t(function(i){i(a)})}return new(t||(t=Promise))(function(a,i){function o(d){try{l(r.next(d))}catch(f){i(f)}}function u(d){try{l(r.throw(d))}catch(f){i(f)}}function l(d){d.done?a(d.value):n(d.value).then(o,u)}l((r=r.apply(A,[])).next())})}function YA(A,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,i;return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(l){return function(d){return u([l,d])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(a=l[0]&2?n.return:l[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,l[1])).done)return a;switch(n=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,n=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){t.label=l[1];break}if(l[0]===6&&t.label<a[1]){t.label=a[1],a=l;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(l);break}a[2]&&t.ops.pop(),t.trys.pop();continue}l=e.call(A,t)}catch(d){l=[6,d],n=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function bn(A,e,t){if(arguments.length===2)for(var r=0,n=e.length,a;r<n;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return A.concat(a||e)}for(var _e=function(){function A(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return A.prototype.add=function(e,t,r,n){return new A(this.left+e,this.top+t,this.width+r,this.height+n)},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 r=Array.from(t).find(function(n){return n.width!==0});return r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),Tn=function(A,e){return _e.fromClientRect(A,e.getBoundingClientRect())},xm=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),n=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new _e(0,0,r,n)},Un=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},UA=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"";for(var r=[],n=-1,a="";++n<t;){var i=A[n];i<=65535?r.push(i):(i-=65536,r.push((i>>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},Zu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vm=typeof Uint8Array>"u"?[]:new Uint8Array(256),Qn=0;Qn<Zu.length;Qn++)vm[Zu.charCodeAt(Qn)]=Qn;for(var Ac="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cr=typeof Uint8Array>"u"?[]:new Uint8Array(256),Fn=0;Fn<Ac.length;Fn++)Cr[Ac.charCodeAt(Fn)]=Fn;for(var _m=function(A){var e=A.length*.75,t=A.length,r,n=0,a,i,o,u;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),d=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=Cr[A.charCodeAt(r)],i=Cr[A.charCodeAt(r+1)],o=Cr[A.charCodeAt(r+2)],u=Cr[A.charCodeAt(r+3)],d[n++]=a<<2|i>>4,d[n++]=(i&15)<<4|o>>2,d[n++]=(o&3)<<6|u&63;return l},Nm=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},Sm=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},ft=5,Ii=11,yi=2,Lm=Ii-ft,ec=65536>>ft,Hm=1<<ft,xi=Hm-1,Dm=1024>>ft,Om=ec+Dm,Rm=Om,Mm=32,km=Rm+Mm,Pm=65536>>Ii,Km=1<<Lm,Vm=Km-1,tc=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Gm=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},Ym=function(A,e){var t=_m(A),r=Array.isArray(t)?Sm(t):new Uint32Array(t),n=Array.isArray(t)?Nm(t):new Uint16Array(t),a=24,i=tc(n,a/2,r[4]/2),o=r[5]===2?tc(n,(a+r[4])/2):Gm(r,Math.ceil((a+r[4])/4));return new Xm(r[0],r[1],r[2],r[3],i,o)},Xm=function(){function A(e,t,r,n,a,i){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=i}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>ft],t=(t<<yi)+(e&xi),this.data[t];if(e<=65535)return t=this.index[ec+(e-55296>>ft)],t=(t<<yi)+(e&xi),this.data[t];if(e<this.highStart)return t=km-Pm+(e>>Ii),t=this.index[t],t+=e>>ft&Vm,t=this.index[t],t=(t<<yi)+(e&xi),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),rc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Wm=typeof Uint8Array>"u"?[]:new Uint8Array(256),In=0;In<rc.length;In++)Wm[rc.charCodeAt(In)]=In;var Jm="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcs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44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB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AMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeA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HgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQA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AFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAF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LAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAF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AAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgA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EAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQ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ACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",nc=50,qm=1,ac=2,ic=3,jm=4,zm=5,sc=7,oc=8,uc=9,Xe=10,vi=11,cc=12,_i=13,$m=14,wr=15,Ni=16,yn=17,br=18,Zm=19,lc=20,Si=21,Tr=22,Li=23,Nt=24,ne=25,Ur=26,Qr=27,St=28,A1=29,ht=30,e1=31,xn=32,vn=33,Hi=34,Di=35,Oi=36,Fr=37,Ri=38,_n=39,Nn=40,Mi=41,dc=42,t1=43,r1=[9001,65288],fc="!",AA="×",Sn="÷",ki=Ym(Jm),Ne=[ht,Oi],Pi=[qm,ac,ic,zm],hc=[Xe,oc],Bc=[Qr,Ur],n1=Pi.concat(hc),gc=[Ri,_n,Nn,Hi,Di],a1=[wr,_i],i1=function(A,e){e===void 0&&(e="strict");var t=[],r=[],n=[];return A.forEach(function(a,i){var o=ki.get(a);if(o>nc?(n.push(!0),o-=nc):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return r.push(i),t.push(Ni);if(o===jm||o===vi){if(i===0)return r.push(i),t.push(ht);var u=t[i-1];return n1.indexOf(u)===-1?(r.push(r[i-1]),t.push(u)):(r.push(i),t.push(ht))}if(r.push(i),o===e1)return t.push(e==="strict"?Si:Fr);if(o===dc||o===A1)return t.push(ht);if(o===t1)return a>=131072&&a<=196605||a>=196608&&a<=262141?t.push(Fr):t.push(ht);t.push(o)}),[r,t,n]},Ki=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var a=t;a<=r.length;){a++;var i=r[a];if(i===e)return!0;if(i!==Xe)break}if(n===Xe)for(var a=t;a>0;){a--;var o=r[a];if(Array.isArray(A)?A.indexOf(o)!==-1:A===o)for(var u=t;u<=r.length;){u++;var i=r[u];if(i===e)return!0;if(i!==Xe)break}if(o!==Xe)break}return!1},pc=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===Xe)t--;else return r}return 0},s1=function(A,e,t,r,n){if(t[r]===0)return AA;var a=r-1;if(Array.isArray(n)&&n[a]===!0)return AA;var i=a-1,o=a+1,u=e[a],l=i>=0?e[i]:0,d=e[o];if(u===ac&&d===ic)return AA;if(Pi.indexOf(u)!==-1)return fc;if(Pi.indexOf(d)!==-1||hc.indexOf(d)!==-1)return AA;if(pc(a,e)===oc)return Sn;if(ki.get(A[a])===vi||(u===xn||u===vn)&&ki.get(A[o])===vi||u===sc||d===sc||u===uc||[Xe,_i,wr].indexOf(u)===-1&&d===uc||[yn,br,Zm,Nt,St].indexOf(d)!==-1||pc(a,e)===Tr||Ki(Li,Tr,a,e)||Ki([yn,br],Si,a,e)||Ki(cc,cc,a,e))return AA;if(u===Xe)return Sn;if(u===Li||d===Li)return AA;if(d===Ni||u===Ni)return Sn;if([_i,wr,Si].indexOf(d)!==-1||u===$m||l===Oi&&a1.indexOf(u)!==-1||u===St&&d===Oi||d===lc||Ne.indexOf(d)!==-1&&u===ne||Ne.indexOf(u)!==-1&&d===ne||u===Qr&&[Fr,xn,vn].indexOf(d)!==-1||[Fr,xn,vn].indexOf(u)!==-1&&d===Ur||Ne.indexOf(u)!==-1&&Bc.indexOf(d)!==-1||Bc.indexOf(u)!==-1&&Ne.indexOf(d)!==-1||[Qr,Ur].indexOf(u)!==-1&&(d===ne||[Tr,wr].indexOf(d)!==-1&&e[o+1]===ne)||[Tr,wr].indexOf(u)!==-1&&d===ne||u===ne&&[ne,St,Nt].indexOf(d)!==-1)return AA;if([ne,St,Nt,yn,br].indexOf(d)!==-1)for(var f=a;f>=0;){var h=e[f];if(h===ne)return AA;if([St,Nt].indexOf(h)!==-1)f--;else break}if([Qr,Ur].indexOf(d)!==-1)for(var f=[yn,br].indexOf(u)!==-1?i:a;f>=0;){var h=e[f];if(h===ne)return AA;if([St,Nt].indexOf(h)!==-1)f--;else break}if(Ri===u&&[Ri,_n,Hi,Di].indexOf(d)!==-1||[_n,Hi].indexOf(u)!==-1&&[_n,Nn].indexOf(d)!==-1||[Nn,Di].indexOf(u)!==-1&&d===Nn||gc.indexOf(u)!==-1&&[lc,Ur].indexOf(d)!==-1||gc.indexOf(d)!==-1&&u===Qr||Ne.indexOf(u)!==-1&&Ne.indexOf(d)!==-1||u===Nt&&Ne.indexOf(d)!==-1||Ne.concat(ne).indexOf(u)!==-1&&d===Tr&&r1.indexOf(A[o])===-1||Ne.concat(ne).indexOf(d)!==-1&&u===br)return AA;if(u===Mi&&d===Mi){for(var C=t[a],m=1;C>0&&(C--,e[C]===Mi);)m++;if(m%2!==0)return AA}return u===xn&&d===vn?AA:Sn},o1=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=i1(A,e.lineBreak),r=t[0],n=t[1],a=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(o){return[ne,ht,dc].indexOf(o)!==-1?Fr:o}));var i=e.wordBreak==="keep-all"?a.map(function(o,u){return o&&A[u]>=19968&&A[u]<=40959}):void 0;return[r,n,i]},u1=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===fc,this.start=r,this.end=n}return A.prototype.slice=function(){return UA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),c1=function(A,e){var t=Un(A),r=o1(t,e),n=r[0],a=r[1],i=r[2],o=t.length,u=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var d=AA;l<o&&(d=s1(t,a,n,++l,i))===AA;);if(d!==AA||l===o){var f=new u1(t,d,u,l);return u=l,{value:f,done:!1}}return{done:!0,value:null}}}},l1=1,d1=2,Ir=4,Ec=8,Ln=10,mc=47,yr=92,f1=9,h1=32,Hn=34,xr=61,B1=35,g1=36,p1=37,Dn=39,On=40,vr=41,E1=95,te=45,m1=33,C1=60,w1=62,b1=64,T1=91,U1=93,Q1=61,F1=123,Rn=63,I1=125,Cc=124,y1=126,x1=128,wc=65533,Vi=42,Bt=43,v1=44,_1=58,N1=59,_r=46,S1=0,L1=8,H1=11,D1=14,O1=31,R1=127,Qe=-1,bc=48,Tc=97,Uc=101,M1=102,k1=117,P1=122,Qc=65,Fc=69,Ic=70,K1=85,V1=90,XA=function(A){return A>=bc&&A<=57},G1=function(A){return A>=55296&&A<=57343},Lt=function(A){return XA(A)||A>=Qc&&A<=Ic||A>=Tc&&A<=M1},Y1=function(A){return A>=Tc&&A<=P1},X1=function(A){return A>=Qc&&A<=V1},W1=function(A){return Y1(A)||X1(A)},J1=function(A){return A>=x1},Mn=function(A){return A===Ln||A===f1||A===h1},kn=function(A){return W1(A)||J1(A)||A===E1},yc=function(A){return kn(A)||XA(A)||A===te},q1=function(A){return A>=S1&&A<=L1||A===H1||A>=D1&&A<=O1||A===R1},We=function(A,e){return A!==yr?!1:e!==Ln},Pn=function(A,e,t){return A===te?kn(e)||We(e,t):kn(A)?!0:!!(A===yr&&We(A,e))},Gi=function(A,e,t){return A===Bt||A===te?XA(e)?!0:e===_r&&XA(t):XA(A===_r?e:A)},j1=function(A){var e=0,t=1;(A[e]===Bt||A[e]===te)&&(A[e]===te&&(t=-1),e++);for(var r=[];XA(A[e]);)r.push(A[e++]);var n=r.length?parseInt(UA.apply(void 0,r),10):0;A[e]===_r&&e++;for(var a=[];XA(A[e]);)a.push(A[e++]);var i=a.length,o=i?parseInt(UA.apply(void 0,a),10):0;(A[e]===Fc||A[e]===Uc)&&e++;var u=1;(A[e]===Bt||A[e]===te)&&(A[e]===te&&(u=-1),e++);for(var l=[];XA(A[e]);)l.push(A[e++]);var d=l.length?parseInt(UA.apply(void 0,l),10):0;return t*(n+o*Math.pow(10,-i))*Math.pow(10,u*d)},z1={type:2},$1={type:3},Z1={type:4},AC={type:13},eC={type:8},tC={type:21},rC={type:9},nC={type:10},aC={type:11},iC={type:12},sC={type:14},Kn={type:23},oC={type:1},uC={type:25},cC={type:24},lC={type:26},dC={type:27},fC={type:28},hC={type:29},BC={type:31},Yi={type:32},xc=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(Un(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Yi;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Hn:return this.consumeStringToken(Hn);case B1:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(yc(t)||We(r,n)){var a=Pn(t,r,n)?d1:l1,i=this.consumeName();return{type:5,value:i,flags:a}}break;case g1:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),AC;break;case Dn:return this.consumeStringToken(Dn);case On:return z1;case vr:return $1;case Vi:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),sC;break;case Bt:if(Gi(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case v1:return Z1;case te:var o=e,u=this.peekCodePoint(0),l=this.peekCodePoint(1);if(Gi(o,u,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Pn(o,u,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(u===te&&l===w1)return this.consumeCodePoint(),this.consumeCodePoint(),cC;break;case _r:if(Gi(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case mc:if(this.peekCodePoint(0)===Vi)for(this.consumeCodePoint();;){var d=this.consumeCodePoint();if(d===Vi&&(d=this.consumeCodePoint(),d===mc))return this.consumeToken();if(d===Qe)return this.consumeToken()}break;case _1:return lC;case N1:return dC;case C1:if(this.peekCodePoint(0)===m1&&this.peekCodePoint(1)===te&&this.peekCodePoint(2)===te)return this.consumeCodePoint(),this.consumeCodePoint(),uC;break;case b1:var f=this.peekCodePoint(0),h=this.peekCodePoint(1),C=this.peekCodePoint(2);if(Pn(f,h,C)){var i=this.consumeName();return{type:7,value:i}}break;case T1:return fC;case yr:if(We(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case U1:return hC;case Q1:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),eC;break;case F1:return aC;case I1:return iC;case k1:case K1:var m=this.peekCodePoint(0),T=this.peekCodePoint(1);return m===Bt&&(Lt(T)||T===Rn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case Cc:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),rC;if(this.peekCodePoint(0)===Cc)return this.consumeCodePoint(),tC;break;case y1:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),nC;break;case Qe:return Yi}return Mn(e)?(this.consumeWhiteSpace(),BC):XA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):kn(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:UA(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();Lt(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===Rn&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(UA.apply(void 0,e.map(function(u){return u===Rn?bc:u})),16),a=parseInt(UA.apply(void 0,e.map(function(u){return u===Rn?Ic:u})),16);return{type:30,start:n,end:a}}var i=parseInt(UA.apply(void 0,e),16);if(this.peekCodePoint(0)===te&&Lt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];Lt(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var a=parseInt(UA.apply(void 0,o),16);return{type:30,start:i,end:a}}else return{type:30,start:i,end:i}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===On?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===On?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Qe)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Dn||t===Hn){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Qe||this.peekCodePoint(0)===vr)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Kn)}for(;;){var n=this.consumeCodePoint();if(n===Qe||n===vr)return{type:22,value:UA.apply(void 0,e)};if(Mn(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Qe||this.peekCodePoint(0)===vr?(this.consumeCodePoint(),{type:22,value:UA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Kn);if(n===Hn||n===Dn||n===On||q1(n))return this.consumeBadUrlRemnants(),Kn;if(n===yr)if(We(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Kn;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;Mn(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===vr||e===Qe)return;We(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=UA.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===Qe||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===Ln)return this._value.splice(0,r),oC;if(n===yr){var a=this._value[r+1];a!==Qe&&a!==void 0&&(a===Ln?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):We(n,a)&&(t+=this.consumeStringSlice(r),t+=UA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Ir,r=this.peekCodePoint(0);for((r===Bt||r===te)&&e.push(this.consumeCodePoint());XA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===_r&&XA(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Ec;XA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((r===Fc||r===Uc)&&((n===Bt||n===te)&&XA(a)||XA(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Ec;XA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[j1(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),a=this.peekCodePoint(1),i=this.peekCodePoint(2);if(Pn(n,a,i)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===p1?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Lt(e)){for(var t=UA(e);Lt(this.peekCodePoint(0))&&t.length<6;)t+=UA(this.consumeCodePoint());Mn(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||G1(r)||r>1114111?wc:r}return e===Qe?wc:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(yc(t))e+=UA(t);else if(We(t,this.peekCodePoint(0)))e+=UA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),vc=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new xc;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(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||pC(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Yi:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),Nr=function(A){return A.type===15},Ht=function(A){return A.type===17},uA=function(A){return A.type===20},gC=function(A){return A.type===0},Xi=function(A,e){return uA(A)&&A.value===e},_c=function(A){return A.type!==31},Dt=function(A){return A.type!==31&&A.type!==4},Fe=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},pC=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},Je=function(A){return A.type===17||A.type===15},IA=function(A){return A.type===16||Je(A)},Nc=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},MA={type:17,number:0,flags:Ir},Wi={type:16,number:50,flags:Ir},qe={type:16,number:100,flags:Ir},Sr=function(A,e,t){var r=A[0],n=A[1];return[fA(r,e),fA(typeof n<"u"?n:r,t)]},fA=function(A,e){if(A.type===16)return A.number/100*e;if(Nr(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},Sc="deg",Lc="grad",Hc="rad",Dc="turn",Vn={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case Sc:return Math.PI*e.number/180;case Lc:return Math.PI/200*e.number;case Hc:return e.number;case Dc:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},Oc=function(A){return A.type===15&&(A.unit===Sc||A.unit===Lc||A.unit===Hc||A.unit===Dc)},Rc=function(A){var e=A.filter(uA).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[MA,MA];case"to top":case"bottom":return ue(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[MA,qe];case"to right":case"left":return ue(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[qe,qe];case"to bottom":case"top":return ue(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[qe,MA];case"to left":case"right":return ue(270)}return 0},ue=function(A){return Math.PI*A/180},je={name:"color",parse:function(A,e){if(e.type===18){var t=EC[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3);return $e(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3),i=e.value.substring(3,4);return $e(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),parseInt(i+i,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6);return $e(parseInt(r,16),parseInt(n,16),parseInt(a,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6),i=e.value.substring(6,8);return $e(parseInt(r,16),parseInt(n,16),parseInt(a,16),parseInt(i,16)/255)}}if(e.type===20){var o=Se[e.value.toUpperCase()];if(typeof o<"u")return o}return Se.TRANSPARENT}},ze=function(A){return(255&A)===0},DA=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},$e=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},Mc=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},kc=function(A,e){var t=e.filter(Dt);if(t.length===3){var r=t.map(Mc),n=r[0],a=r[1],i=r[2];return $e(n,a,i,1)}if(t.length===4){var o=t.map(Mc),n=o[0],a=o[1],i=o[2],u=o[3];return $e(n,a,i,u)}return 0};function Ji(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var Pc=function(A,e){var t=e.filter(Dt),r=t[0],n=t[1],a=t[2],i=t[3],o=(r.type===17?ue(r.number):Vn.parse(A,r))/(Math.PI*2),u=IA(n)?n.number/100:0,l=IA(a)?a.number/100:0,d=typeof i<"u"&&IA(i)?fA(i,1):1;if(u===0)return $e(l*255,l*255,l*255,1);var f=l<=.5?l*(u+1):l+u-l*u,h=l*2-f,C=Ji(h,f,o+1/3),m=Ji(h,f,o),T=Ji(h,f,o-1/3);return $e(C*255,m*255,T*255,d)},EC={hsl:Pc,hsla:Pc,rgb:kc,rgba:kc},Lr=function(A,e){return je.parse(A,vc.create(e).parseComponentValue())},Se={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},mC={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(uA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},CC={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Gn=function(A,e){var t=je.parse(A,e[0]),r=e[1];return r&&IA(r)?{color:t,stop:r}:{color:t,stop:null}},Kc=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=MA),r.stop===null&&(r.stop=qe);for(var n=[],a=0,i=0;i<A.length;i++){var o=A[i].stop;if(o!==null){var u=fA(o,e);u>a?n.push(u):n.push(a),a=u}else n.push(null)}for(var l=null,i=0;i<n.length;i++){var d=n[i];if(d===null)l===null&&(l=i);else if(l!==null){for(var f=i-l,h=n[l-1],C=(d-h)/(f+1),m=1;m<=f;m++)n[l+m-1]=C*m;l=null}}return A.map(function(T,Q){var b=T.color;return{color:b,stop:Math.max(Math.min(1,n[Q]/e),0)}})},wC=function(A,e,t){var r=e/2,n=t/2,a=fA(A[0],e)-r,i=n-fA(A[1],t);return(Math.atan2(i,a)+Math.PI*2)%(Math.PI*2)},bC=function(A,e,t){var r=typeof A=="number"?A:wC(A,e,t),n=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),a=e/2,i=t/2,o=n/2,u=Math.sin(r-Math.PI/2)*o,l=Math.cos(r-Math.PI/2)*o;return[n,a-l,a+l,i-u,i+u]},Ee=function(A,e){return Math.sqrt(A*A+e*e)},Vc=function(A,e,t,r,n){var a=[[0,0],[0,e],[A,0],[A,e]];return a.reduce(function(i,o){var u=o[0],l=o[1],d=Ee(t-u,r-l);return(n?d<i.optimumDistance:d>i.optimumDistance)?{optimumCorner:o,optimumDistance:d}:i},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},TC=function(A,e,t,r,n){var a=0,i=0;switch(A.size){case 0:A.shape===0?a=i=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.min(Math.abs(e),Math.abs(e-r)),i=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)a=i=Math.min(Ee(e,t),Ee(e,t-n),Ee(e-r,t),Ee(e-r,t-n));else if(A.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),u=Vc(r,n,e,t,!0),l=u[0],d=u[1];a=Ee(l-e,(d-t)/o),i=o*a}break;case 1:A.shape===0?a=i=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.max(Math.abs(e),Math.abs(e-r)),i=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)a=i=Math.max(Ee(e,t),Ee(e,t-n),Ee(e-r,t),Ee(e-r,t-n));else if(A.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),f=Vc(r,n,e,t,!1),l=f[0],d=f[1];a=Ee(l-e,(d-t)/o),i=o*a}break}return Array.isArray(A.size)&&(a=fA(A.size[0],r),i=A.size.length===2?fA(A.size[1],n):a),[a,i]},UC=function(A,e){var t=ue(180),r=[];return Fe(e).forEach(function(n,a){if(a===0){var i=n[0];if(i.type===20&&i.value==="to"){t=Rc(n);return}else if(Oc(i)){t=Vn.parse(A,i);return}}var o=Gn(A,n);r.push(o)}),{angle:t,stops:r,type:1}},Yn=function(A,e){var t=ue(180),r=[];return Fe(e).forEach(function(n,a){if(a===0){var i=n[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){t=Rc(n);return}else if(Oc(i)){t=(Vn.parse(A,i)+ue(270))%ue(360);return}}var o=Gn(A,n);r.push(o)}),{angle:t,stops:r,type:1}},QC=function(A,e){var t=ue(180),r=[],n=1,a=0,i=3,o=[];return Fe(e).forEach(function(u,l){var d=u[0];if(l===0){if(uA(d)&&d.value==="linear"){n=1;return}else if(uA(d)&&d.value==="radial"){n=2;return}}if(d.type===18){if(d.name==="from"){var f=je.parse(A,d.values[0]);r.push({stop:MA,color:f})}else if(d.name==="to"){var f=je.parse(A,d.values[0]);r.push({stop:qe,color:f})}else if(d.name==="color-stop"){var h=d.values.filter(Dt);if(h.length===2){var f=je.parse(A,h[1]),C=h[0];Ht(C)&&r.push({stop:{type:16,number:C.number*100,flags:C.flags},color:f})}}}}),n===1?{angle:(t+ue(180))%ue(360),stops:r,type:n}:{size:i,shape:a,stops:r,position:o,type:n}},Gc="closest-side",Yc="farthest-side",Xc="closest-corner",Wc="farthest-corner",Jc="circle",qc="ellipse",jc="cover",zc="contain",FC=function(A,e){var t=0,r=3,n=[],a=[];return Fe(e).forEach(function(i,o){var u=!0;if(o===0){var l=!1;u=i.reduce(function(f,h){if(l)if(uA(h))switch(h.value){case"center":return a.push(Wi),f;case"top":case"left":return a.push(MA),f;case"right":case"bottom":return a.push(qe),f}else(IA(h)||Je(h))&&a.push(h);else if(uA(h))switch(h.value){case Jc:return t=0,!1;case qc:return t=1,!1;case"at":return l=!0,!1;case Gc:return r=0,!1;case jc:case Yc:return r=1,!1;case zc:case Xc:return r=2,!1;case Wc:return r=3,!1}else if(Je(h)||IA(h))return Array.isArray(r)||(r=[]),r.push(h),!1;return f},u)}if(u){var d=Gn(A,i);n.push(d)}}),{size:r,shape:t,stops:n,position:a,type:2}},Xn=function(A,e){var t=0,r=3,n=[],a=[];return Fe(e).forEach(function(i,o){var u=!0;if(o===0?u=i.reduce(function(d,f){if(uA(f))switch(f.value){case"center":return a.push(Wi),!1;case"top":case"left":return a.push(MA),!1;case"right":case"bottom":return a.push(qe),!1}else if(IA(f)||Je(f))return a.push(f),!1;return d},u):o===1&&(u=i.reduce(function(d,f){if(uA(f))switch(f.value){case Jc:return t=0,!1;case qc:return t=1,!1;case zc:case Gc:return r=0,!1;case Yc:return r=1,!1;case Xc:return r=2,!1;case jc:case Wc:return r=3,!1}else if(Je(f)||IA(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return d},u)),u){var l=Gn(A,i);n.push(l)}}),{size:r,shape:t,stops:n,position:a,type:2}},IC=function(A){return A.type===1},yC=function(A){return A.type===2},qi={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=$c[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function xC(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!$c[A.name])}var $c={"linear-gradient":UC,"-moz-linear-gradient":Yn,"-ms-linear-gradient":Yn,"-o-linear-gradient":Yn,"-webkit-linear-gradient":Yn,"radial-gradient":FC,"-moz-radial-gradient":Xn,"-ms-radial-gradient":Xn,"-o-radial-gradient":Xn,"-webkit-radial-gradient":Xn,"-webkit-gradient":QC},vC={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return Dt(r)&&xC(r)}).map(function(r){return qi.parse(A,r)})}},_C={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(uA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},NC={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Fe(e).map(function(t){return t.filter(IA)}).map(Nc)}},SC={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Fe(e).map(function(t){return t.filter(uA).map(function(r){return r.value}).join(" ")}).map(LC)}},LC=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}},Ot;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(Ot||(Ot={}));var HC={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Fe(e).map(function(t){return t.filter(DC)})}},DC=function(A){return uA(A)||IA(A)},Wn=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},OC=Wn("top"),RC=Wn("right"),MC=Wn("bottom"),kC=Wn("left"),Jn=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Nc(t.filter(IA))}}},PC=Jn("top-left"),KC=Jn("top-right"),VC=Jn("bottom-right"),GC=Jn("bottom-left"),qn=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},YC=qn("top"),XC=qn("right"),WC=qn("bottom"),JC=qn("left"),jn=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Nr(t)?t.number:0}}},qC=jn("top"),jC=jn("right"),zC=jn("bottom"),$C=jn("left"),ZC={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Aw={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},ew={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(uA).reduce(function(t,r){return t|tw(r.value)},0)}},tw=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},rw={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}},nw={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},zn;(function(A){A.NORMAL="normal",A.STRICT="strict"})(zn||(zn={}));var aw={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return zn.STRICT;case"normal":default:return zn.NORMAL}}},iw={name:"line-height",initialValue:"normal",prefix:!1,type:4},Zc=function(A,e){return uA(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:IA(A)?fA(A,e):e},sw={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:qi.parse(A,e)}},ow={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}}},ji={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}}},$n=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},uw=$n("top"),cw=$n("right"),lw=$n("bottom"),dw=$n("left"),fw={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(uA).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},hw={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"}}},Zn=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Bw=Zn("top"),gw=Zn("right"),pw=Zn("bottom"),Ew=Zn("left"),mw={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}}},Cw={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}},ww={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Xi(e[0],"none")?[]:Fe(e).map(function(t){for(var r={color:Se.TRANSPARENT,offsetX:MA,offsetY:MA,blur:MA},n=0,a=0;a<t.length;a++){var i=t[a];Je(i)?(n===0?r.offsetX=i:n===1?r.offsetY=i:r.blur=i,n++):r.color=je.parse(A,i)}return r})}},bw={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}},Tw={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var t=Fw[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},Uw=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},Qw=function(A){var e=A.filter(function(u){return u.type===17}).map(function(u){return u.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],a=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var i=e[12],o=e[13];return e[14],e[15],e.length===16?[t,r,n,a,i,o]:null},Fw={matrix:Uw,matrix3d:Qw},Al={type:16,number:50,flags:Ir},Iw=[Al,Al],yw={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(IA);return t.length!==2?Iw:[t[0],t[1]]}},xw={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}}},Hr;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(Hr||(Hr={}));for(var vw={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Hr.BREAK_ALL;case"keep-all":return Hr.KEEP_ALL;case"normal":default:return Hr.NORMAL}}},_w={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(Ht(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},el={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},Nw={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Ht(e)?e.number:1}},Sw={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Lw={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(uA).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},Hw={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Dw={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ow={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(Ht(e))return e.number;if(uA(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},Rw={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(uA).map(function(t){return t.value})}},Mw={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"}}},vA=function(A,e){return(A&e)!==0},kw={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},Pw={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(_c),a=0;a<n.length;a++){var i=n[a],o=n[a+1];if(i.type===20){var u=o&&Ht(o)?o.number:1;r.push({counter:i.value,increment:u})}}return r}},Kw={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],r=e.filter(_c),n=0;n<r.length;n++){var a=r[n],i=r[n+1];if(uA(a)&&a.value!=="none"){var o=i&&Ht(i)?i.number:0;t.push({counter:a.value,reset:o})}}return t}},Vw={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(Nr).map(function(t){return el.parse(A,t)})}},Gw={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var r=[],n=e.filter(gC);if(n.length%2!==0)return null;for(var a=0;a<n.length;a+=2){var i=n[a].value,o=n[a+1].value;r.push({open:i,close:o})}return r}},tl=function(A,e,t){if(!A)return"";var r=A[Math.min(e,A.length-1)];return r?t?r.open:r.close:""},Yw={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Xi(e[0],"none")?[]:Fe(e).map(function(t){for(var r={color:255,offsetX:MA,offsetY:MA,blur:MA,spread:MA,inset:!1},n=0,a=0;a<t.length;a++){var i=t[a];Xi(i,"inset")?r.inset=!0:Je(i)?(n===0?r.offsetX=i:n===1?r.offsetY=i:n===2?r.blur=i:r.spread=i,n++):r.color=je.parse(A,i)}return r})}},Xw={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],r=[];return e.filter(uA).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},Ww={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Jw={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Nr(e)?e.number:0}},qw=function(){function A(e,t){var r,n;this.animationDuration=P(e,Vw,t.animationDuration),this.backgroundClip=P(e,mC,t.backgroundClip),this.backgroundColor=P(e,CC,t.backgroundColor),this.backgroundImage=P(e,vC,t.backgroundImage),this.backgroundOrigin=P(e,_C,t.backgroundOrigin),this.backgroundPosition=P(e,NC,t.backgroundPosition),this.backgroundRepeat=P(e,SC,t.backgroundRepeat),this.backgroundSize=P(e,HC,t.backgroundSize),this.borderTopColor=P(e,OC,t.borderTopColor),this.borderRightColor=P(e,RC,t.borderRightColor),this.borderBottomColor=P(e,MC,t.borderBottomColor),this.borderLeftColor=P(e,kC,t.borderLeftColor),this.borderTopLeftRadius=P(e,PC,t.borderTopLeftRadius),this.borderTopRightRadius=P(e,KC,t.borderTopRightRadius),this.borderBottomRightRadius=P(e,VC,t.borderBottomRightRadius),this.borderBottomLeftRadius=P(e,GC,t.borderBottomLeftRadius),this.borderTopStyle=P(e,YC,t.borderTopStyle),this.borderRightStyle=P(e,XC,t.borderRightStyle),this.borderBottomStyle=P(e,WC,t.borderBottomStyle),this.borderLeftStyle=P(e,JC,t.borderLeftStyle),this.borderTopWidth=P(e,qC,t.borderTopWidth),this.borderRightWidth=P(e,jC,t.borderRightWidth),this.borderBottomWidth=P(e,zC,t.borderBottomWidth),this.borderLeftWidth=P(e,$C,t.borderLeftWidth),this.boxShadow=P(e,Yw,t.boxShadow),this.color=P(e,ZC,t.color),this.direction=P(e,Aw,t.direction),this.display=P(e,ew,t.display),this.float=P(e,rw,t.cssFloat),this.fontFamily=P(e,Hw,t.fontFamily),this.fontSize=P(e,Dw,t.fontSize),this.fontStyle=P(e,Mw,t.fontStyle),this.fontVariant=P(e,Rw,t.fontVariant),this.fontWeight=P(e,Ow,t.fontWeight),this.letterSpacing=P(e,nw,t.letterSpacing),this.lineBreak=P(e,aw,t.lineBreak),this.lineHeight=P(e,iw,t.lineHeight),this.listStyleImage=P(e,sw,t.listStyleImage),this.listStylePosition=P(e,ow,t.listStylePosition),this.listStyleType=P(e,ji,t.listStyleType),this.marginTop=P(e,uw,t.marginTop),this.marginRight=P(e,cw,t.marginRight),this.marginBottom=P(e,lw,t.marginBottom),this.marginLeft=P(e,dw,t.marginLeft),this.opacity=P(e,Nw,t.opacity);var a=P(e,fw,t.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=P(e,hw,t.overflowWrap),this.paddingTop=P(e,Bw,t.paddingTop),this.paddingRight=P(e,gw,t.paddingRight),this.paddingBottom=P(e,pw,t.paddingBottom),this.paddingLeft=P(e,Ew,t.paddingLeft),this.paintOrder=P(e,Xw,t.paintOrder),this.position=P(e,Cw,t.position),this.textAlign=P(e,mw,t.textAlign),this.textDecorationColor=P(e,Sw,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=P(e,Lw,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=P(e,ww,t.textShadow),this.textTransform=P(e,bw,t.textTransform),this.transform=P(e,Tw,t.transform),this.transformOrigin=P(e,yw,t.transformOrigin),this.visibility=P(e,xw,t.visibility),this.webkitTextStrokeColor=P(e,Ww,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=P(e,Jw,t.webkitTextStrokeWidth),this.wordBreak=P(e,vw,t.wordBreak),this.zIndex=P(e,_w,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return ze(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return vA(this.display,4)||vA(this.display,33554432)||vA(this.display,268435456)||vA(this.display,536870912)||vA(this.display,67108864)||vA(this.display,134217728)},A}(),jw=function(){function A(e,t){this.content=P(e,kw,t.content),this.quotes=P(e,Gw,t.quotes)}return A}(),rl=function(){function A(e,t){this.counterIncrement=P(e,Pw,t.counterIncrement),this.counterReset=P(e,Kw,t.counterReset)}return A}(),P=function(A,e,t){var r=new xc,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var a=new vc(r.read());switch(e.type){case 2:var i=a.parseComponentValue();return e.parse(A,uA(i)?i.value:e.initialValue);case 0:return e.parse(A,a.parseComponentValue());case 1:return e.parse(A,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(e.format){case"angle":return Vn.parse(A,a.parseComponentValue());case"color":return je.parse(A,a.parseComponentValue());case"image":return qi.parse(A,a.parseComponentValue());case"length":var o=a.parseComponentValue();return Je(o)?o:MA;case"length-percentage":var u=a.parseComponentValue();return IA(u)?u:MA;case"time":return el.parse(A,a.parseComponentValue())}break}},zw="data-html2canvas-debug",$w=function(A){var e=A.getAttribute(zw);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},zi=function(A,e){var t=$w(A);return t===1||e===t},Ie=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,zi(t,3))debugger;this.styles=new qw(e,window.getComputedStyle(t,null)),ls(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=Tn(this.context,t),zi(t,4)&&(this.flags|=16)}return A}(),Zw="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACA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AwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQG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AAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",nl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Dr=typeof Uint8Array>"u"?[]:new Uint8Array(256),Aa=0;Aa<nl.length;Aa++)Dr[nl.charCodeAt(Aa)]=Aa;for(var Ab=function(A){var e=A.length*.75,t=A.length,r,n=0,a,i,o,u;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),d=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=Dr[A.charCodeAt(r)],i=Dr[A.charCodeAt(r+1)],o=Dr[A.charCodeAt(r+2)],u=Dr[A.charCodeAt(r+3)],d[n++]=a<<2|i>>4,d[n++]=(i&15)<<4|o>>2,d[n++]=(o&3)<<6|u&63;return l},eb=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},tb=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},gt=5,$i=11,Zi=2,rb=$i-gt,al=65536>>gt,nb=1<<gt,As=nb-1,ab=1024>>gt,ib=al+ab,sb=ib,ob=32,ub=sb+ob,cb=65536>>$i,lb=1<<rb,db=lb-1,il=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},fb=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},hb=function(A,e){var t=Ab(A),r=Array.isArray(t)?tb(t):new Uint32Array(t),n=Array.isArray(t)?eb(t):new Uint16Array(t),a=24,i=il(n,a/2,r[4]/2),o=r[5]===2?il(n,(a+r[4])/2):fb(r,Math.ceil((a+r[4])/4));return new Bb(r[0],r[1],r[2],r[3],i,o)},Bb=function(){function A(e,t,r,n,a,i){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=i}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>gt],t=(t<<Zi)+(e&As),this.data[t];if(e<=65535)return t=this.index[al+(e-55296>>gt)],t=(t<<Zi)+(e&As),this.data[t];if(e<this.highStart)return t=ub-cb+(e>>$i),t=this.index[t],t+=e>>gt&db,t=this.index[t],t=(t<<Zi)+(e&As),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),sl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gb=typeof Uint8Array>"u"?[]:new Uint8Array(256),ea=0;ea<sl.length;ea++)gb[sl.charCodeAt(ea)]=ea;var pb=1,es=2,ts=3,ol=4,ul=5,Eb=7,cl=8,rs=9,ns=10,ll=11,dl=12,fl=13,hl=14,as=15,mb=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},Cb=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"";for(var r=[],n=-1,a="";++n<t;){var i=A[n];i<=65535?r.push(i):(i-=65536,r.push((i>>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},wb=hb(Zw),ce="×",is="÷",bb=function(A){return wb.get(A)},Tb=function(A,e,t){var r=t-2,n=e[r],a=e[t-1],i=e[t];if(a===es&&i===ts)return ce;if(a===es||a===ts||a===ol||i===es||i===ts||i===ol)return is;if(a===cl&&[cl,rs,ll,dl].indexOf(i)!==-1||(a===ll||a===rs)&&(i===rs||i===ns)||(a===dl||a===ns)&&i===ns||i===fl||i===ul||i===Eb||a===pb)return ce;if(a===fl&&i===hl){for(;n===ul;)n=e[--r];if(n===hl)return ce}if(a===as&&i===as){for(var o=0;n===as;)o++,n=e[--r];if(o%2===0)return ce}return is},Ub=function(A){var e=mb(A),t=e.length,r=0,n=0,a=e.map(bb);return{next:function(){if(r>=t)return{done:!0,value:null};for(var i=ce;r<t&&(i=Tb(e,a,++r))===ce;);if(i!==ce||r===t){var o=Cb.apply(null,e.slice(n,r));return n=r,{value:o,done:!1}}return{done:!0,value:null}}}},Qb=function(A){for(var e=Ub(A),t=[],r;!(r=e.next()).done;)r.value&&t.push(r.value.slice());return t},Fb=function(A){var e=123;if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var r=A.createElement("boundtest");r.style.height=e+"px",r.style.display="block",A.body.appendChild(r),t.selectNode(r);var n=t.getBoundingClientRect(),a=Math.round(n.height);if(A.body.removeChild(r),a===e)return!0}}return!1},Ib=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=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=e.firstChild,n=Un(r.data).map(function(u){return UA(u)}),a=0,i={},o=n.every(function(u,l){t.setStart(r,a),t.setEnd(r,a+u.length);var d=t.getBoundingClientRect();a+=u.length;var f=d.x>i.x||d.y>i.y;return i=d,l===0?!0:f});return A.body.removeChild(e),o},yb=function(){return typeof new Image().crossOrigin<"u"},xb=function(){return typeof new XMLHttpRequest().responseType=="string"},vb=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},Bl=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},_b=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,a=e.toDataURL();n.src=a;var i=ss(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),gl(i).then(function(o){r.drawImage(o,0,0);var u=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+a+")",l.style.height=t+"px",Bl(u)?gl(ss(t,t,0,0,l)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),Bl(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},ss=function(A,e,t,r,n){var a="http://www.w3.org/2000/svg",i=document.createElementNS(a,"svg"),o=document.createElementNS(a,"foreignObject");return i.setAttributeNS(null,"width",A.toString()),i.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(o),o.appendChild(n),i},gl=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},kA={get SUPPORT_RANGE_BOUNDS(){var A=Fb(document);return Object.defineProperty(kA,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=kA.SUPPORT_RANGE_BOUNDS&&Ib(document);return Object.defineProperty(kA,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=vb(document);return Object.defineProperty(kA,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?_b(document):Promise.resolve(!1);return Object.defineProperty(kA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=yb();return Object.defineProperty(kA,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=xb();return Object.defineProperty(kA,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(kA,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(kA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Or=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),Nb=function(A,e,t,r){var n=Hb(e,t),a=[],i=0;return n.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(kA.SUPPORT_RANGE_BOUNDS){var u=pl(r,i,o.length).getClientRects();if(u.length>1){var l=os(o),d=0;l.forEach(function(h){a.push(new Or(h,_e.fromDOMRectList(A,pl(r,d+i,h.length).getClientRects()))),d+=h.length})}else a.push(new Or(o,_e.fromDOMRectList(A,u)))}else{var f=r.splitText(o.length);a.push(new Or(o,Sb(A,r))),r=f}else kA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));i+=o.length}),a},Sb=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var a=Tn(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),a}}return _e.EMPTY},pl=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},os=function(A){if(kA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return Qb(A)},Lb=function(A,e){if(kA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return Ob(A,e)},Hb=function(A,e){return e.letterSpacing!==0?os(A):Lb(A,e)},Db=[32,160,4961,65792,65793,4153,4241],Ob=function(A,e){for(var t=c1(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,a=function(){if(n.value){var i=n.value.slice(),o=Un(i),u="";o.forEach(function(l){Db.indexOf(l)===-1?u+=UA(l):(u.length&&r.push(u),r.push(UA(l)),u="")}),u.length&&r.push(u)}};!(n=t.next()).done;)a();return r},Rb=function(){function A(e,t,r){this.text=Mb(t.data,r.textTransform),this.textBounds=Nb(e,this.text,r,t)}return A}(),Mb=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(kb,Pb);case 2:return A.toUpperCase();default:return A}},kb=/(^|\s|:|-|\(|\))([a-z])/g,Pb=function(A,e,t){return A.length>0?e+t.toUpperCase():A},El=function(A){pe(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(Ie),ml=function(A){pe(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(Ie),Cl=function(A){pe(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=new XMLSerializer,i=Tn(t,r);return r.setAttribute("width",i.width+"px"),r.setAttribute("height",i.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(Ie),wl=function(A){pe(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(Ie),us=function(A){pe(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(Ie),Kb=[{type:15,flags:0,unit:"px",number:3}],Vb=[{type:16,flags:0,number:50}],Gb=function(A){return A.width>A.height?new _e(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new _e(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},Yb=function(A){var e=A.type===Xb?new Array(A.value.length+1).join("•"):A.value;return e.length===0?A.placeholder||"":e},ta="checkbox",ra="radio",Xb="password",bl=707406591,cs=function(A){pe(e,A);function e(t,r){var n=A.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=Yb(r),(n.type===ta||n.type===ra)&&(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=Gb(n.bounds)),n.type){case ta:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=Kb;break;case ra:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=Vb;break}return n}return e}(Ie),Tl=function(A){pe(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=r.options[r.selectedIndex||0];return n.value=a&&a.text||"",n}return e}(Ie),Ul=function(A){pe(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(Ie),Ql=function(A){pe(e,A);function e(t,r){var n=A.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=Il(t,r.contentWindow.document.documentElement);var a=r.contentWindow.document.documentElement?Lr(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):Se.TRANSPARENT,i=r.contentWindow.document.body?Lr(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):Se.TRANSPARENT;n.backgroundColor=ze(a)?ze(i)?n.styles.backgroundColor:i:a}}catch{}return n}return e}(Ie),Wb=["OL","UL","MENU"],na=function(A,e,t,r){for(var n=e.firstChild,a=void 0;n;n=a)if(a=n.nextSibling,yl(n)&&n.data.trim().length>0)t.textNodes.push(new Rb(A,n,t.styles));else if(Rt(n))if(Ll(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return na(A,o,t,r)});else{var i=Fl(A,n);i.styles.isVisible()&&(Jb(n,i,r)?i.flags|=4:qb(i.styles)&&(i.flags|=2),Wb.indexOf(n.tagName)!==-1&&(i.flags|=8),t.elements.push(i),n.slot,n.shadowRoot?na(A,n.shadowRoot,i,r):!ia(n)&&!xl(n)&&!sa(n)&&na(A,n,i,r))}},Fl=function(A,e){return fs(e)?new El(A,e):vl(e)?new ml(A,e):xl(e)?new Cl(A,e):jb(e)?new wl(A,e):zb(e)?new us(A,e):$b(e)?new cs(A,e):sa(e)?new Tl(A,e):ia(e)?new Ul(A,e):Nl(e)?new Ql(A,e):new Ie(A,e)},Il=function(A,e){var t=Fl(A,e);return t.flags|=4,na(A,e,t,t),t},Jb=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||ds(A)&&t.styles.isTransparent()},qb=function(A){return A.isPositioned()||A.isFloating()},yl=function(A){return A.nodeType===Node.TEXT_NODE},Rt=function(A){return A.nodeType===Node.ELEMENT_NODE},ls=function(A){return Rt(A)&&typeof A.style<"u"&&!aa(A)},aa=function(A){return typeof A.className=="object"},jb=function(A){return A.tagName==="LI"},zb=function(A){return A.tagName==="OL"},$b=function(A){return A.tagName==="INPUT"},Zb=function(A){return A.tagName==="HTML"},xl=function(A){return A.tagName==="svg"},ds=function(A){return A.tagName==="BODY"},vl=function(A){return A.tagName==="CANVAS"},_l=function(A){return A.tagName==="VIDEO"},fs=function(A){return A.tagName==="IMG"},Nl=function(A){return A.tagName==="IFRAME"},Sl=function(A){return A.tagName==="STYLE"},AT=function(A){return A.tagName==="SCRIPT"},ia=function(A){return A.tagName==="TEXTAREA"},sa=function(A){return A.tagName==="SELECT"},Ll=function(A){return A.tagName==="SLOT"},Hl=function(A){return A.tagName.indexOf("-")>0},eT=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,a=!0;r!==null&&r.forEach(function(o){var u=t.counters[o.counter];u&&o.increment!==0&&(a=!1,u.length||u.push(1),u[Math.max(0,u.length-1)]+=o.increment)});var i=[];return a&&n.forEach(function(o){var u=t.counters[o.counter];i.push(o.counter),u||(u=t.counters[o.counter]=[]),u.push(o.reset)}),i},A}(),Dl={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"]},Ol={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},tT={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},rT={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Mt=function(A,e,t,r,n,a){return A<e||A>t?Mr(A,n,a.length>0):r.integers.reduce(function(i,o,u){for(;A>=o;)A-=o,i+=r.values[u];return i},"")+a},Rl=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},QA=function(A,e,t,r,n){var a=t-e+1;return(A<0?"-":"")+(Rl(Math.abs(A),a,r,function(i){return UA(Math.floor(i%a)+e)})+n)},pt=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return Rl(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},kt=1,Ze=2,At=4,Rr=8,Le=function(A,e,t,r,n,a){if(A<-9999||A>9999)return Mr(A,4,n.length>0);var i=Math.abs(A),o=n;if(i===0)return e[0]+o;for(var u=0;i>0&&u<=4;u++){var l=i%10;l===0&&vA(a,kt)&&o!==""?o=e[l]+o:l>1||l===1&&u===0||l===1&&u===1&&vA(a,Ze)||l===1&&u===1&&vA(a,At)&&A>100||l===1&&u>1&&vA(a,Rr)?o=e[l]+(u>0?t[u-1]:"")+o:l===1&&u>0&&(o=t[u-1]+o),i=Math.floor(i/10)}return(A<0?r:"")+o},Ml="十百千萬",kl="拾佰仟萬",Pl="マイナス",hs="마이너스",Mr=function(A,e,t){var r=t?". ":"",n=t?"、":"",a=t?", ":"",i=t?" ":"";switch(e){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var o=QA(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return pt(A,"〇一二三四五六七八九",n);case 6:return Mt(A,1,3999,Dl,3,r).toLowerCase();case 7:return Mt(A,1,3999,Dl,3,r);case 8:return QA(A,945,969,!1,r);case 9:return QA(A,97,122,!1,r);case 10:return QA(A,65,90,!1,r);case 11:return QA(A,1632,1641,!0,r);case 12:case 49:return Mt(A,1,9999,Ol,3,r);case 35:return Mt(A,1,9999,Ol,3,r).toLowerCase();case 13:return QA(A,2534,2543,!0,r);case 14:case 30:return QA(A,6112,6121,!0,r);case 15:return pt(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return pt(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Le(A,"零一二三四五六七八九",Ml,"負",n,Ze|At|Rr);case 47:return Le(A,"零壹貳參肆伍陸柒捌玖",kl,"負",n,kt|Ze|At|Rr);case 42:return Le(A,"零一二三四五六七八九",Ml,"负",n,Ze|At|Rr);case 41:return Le(A,"零壹贰叁肆伍陆柒捌玖",kl,"负",n,kt|Ze|At|Rr);case 26:return Le(A,"〇一二三四五六七八九","十百千万",Pl,n,0);case 25:return Le(A,"零壱弐参四伍六七八九","拾百千万",Pl,n,kt|Ze|At);case 31:return Le(A,"영일이삼사오육칠팔구","십백천만",hs,a,kt|Ze|At);case 33:return Le(A,"零一二三四五六七八九","十百千萬",hs,a,0);case 32:return Le(A,"零壹貳參四五六七八九","拾百千",hs,a,kt|Ze|At);case 18:return QA(A,2406,2415,!0,r);case 20:return Mt(A,1,19999,rT,3,r);case 21:return QA(A,2790,2799,!0,r);case 22:return QA(A,2662,2671,!0,r);case 22:return Mt(A,1,10999,tT,3,r);case 23:return pt(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return pt(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return QA(A,3302,3311,!0,r);case 28:return pt(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return pt(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return QA(A,3792,3801,!0,r);case 37:return QA(A,6160,6169,!0,r);case 38:return QA(A,4160,4169,!0,r);case 39:return QA(A,2918,2927,!0,r);case 40:return QA(A,1776,1785,!0,r);case 43:return QA(A,3046,3055,!0,r);case 44:return QA(A,3174,3183,!0,r);case 45:return QA(A,3664,3673,!0,r);case 46:return QA(A,3872,3881,!0,r);case 3:default:return QA(A,48,57,!0,r)}},Kl="data-html2canvas-ignore",Vl=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new eT,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=nT(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,i=e.defaultView.pageYOffset,o=n.contentWindow,u=o.document,l=sT(n).then(function(){return JA(r,void 0,void 0,function(){var d,f;return YA(this,function(h){switch(h.label){case 0:return this.scrolledElements.forEach(lT),o&&(o.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==t.top||o.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),d=this.options.onclone,f=this.clonedReferenceElement,typeof f>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:h.sent(),h.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,iT(u)]:[3,4];case 3:h.sent(),h.label=4;case 4:return typeof d=="function"?[2,Promise.resolve().then(function(){return d(u,f)}).then(function(){return n})]:[2,n]}})})});return u.open(),u.write(uT(document.doctype)+"<html></html>"),cT(this.referenceElement.ownerDocument,a,i),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),l},A.prototype.createElementClone=function(e){if(zi(e,2))debugger;if(vl(e))return this.createCanvasClone(e);if(_l(e))return this.createVideoClone(e);if(Sl(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return fs(t)&&(fs(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),Hl(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return Bs(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(a,i){return i&&typeof i.cssText=="string"?a+i.cssText:a},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var a=e.getContext("2d"),i=n.getContext("2d");if(i)if(!this.options.allowTaint&&a)i.putImageData(a.getImageData(0,0,e.width,e.height),0,0);else{var o=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(o){var u=o.getContextAttributes();(u==null?void 0:u.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!Rt(t)||!AT(t)&&!t.hasAttribute(Kl)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Rt(t)||!Sl(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,a=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;a;a=a.nextSibling)if(Rt(a)&&Ll(a)&&typeof a.assignedNodes=="function"){var i=a.assignedNodes();i.length&&i.forEach(function(o){return n.appendChildNode(t,o,r)})}else this.appendChildNode(t,a,r)},A.prototype.cloneNode=function(e,t){if(yl(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Rt(e)&&(ls(e)||aa(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var a=r.getComputedStyle(e),i=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&ls(n)&&(this.clonedReferenceElement=n),ds(n)&&hT(n);var u=this.counters.parse(new rl(this.context,a)),l=this.resolvePseudoContent(e,n,i,kr.BEFORE);Hl(e)&&(t=!0),_l(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var d=this.resolvePseudoContent(e,n,o,kr.AFTER);return d&&n.appendChild(d),this.counters.pop(u),(a&&(this.options.copyStyles||aa(e))&&!Nl(e)||t)&&Bs(a,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(ia(e)||sa(e))&&(ia(n)||sa(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var a=this;if(r){var i=r.content,o=t.ownerDocument;if(!(!o||!i||i==="none"||i==="-moz-alt-content"||r.display==="none")){this.counters.parse(new rl(this.context,r));var u=new jw(this.context,r),l=o.createElement("html2canvaspseudoelement");Bs(r,l),u.content.forEach(function(f){if(f.type===0)l.appendChild(o.createTextNode(f.value));else if(f.type===22){var h=o.createElement("img");h.src=f.value,h.style.opacity="1",l.appendChild(h)}else if(f.type===18){if(f.name==="attr"){var C=f.values.filter(uA);C.length&&l.appendChild(o.createTextNode(e.getAttribute(C[0].value)||""))}else if(f.name==="counter"){var m=f.values.filter(Dt),T=m[0],Q=m[1];if(T&&uA(T)){var b=a.counters.getCounterValue(T.value),v=Q&&uA(Q)?ji.parse(a.context,Q.value):3;l.appendChild(o.createTextNode(Mr(b,v,!1)))}}else if(f.name==="counters"){var H=f.values.filter(Dt),T=H[0],K=H[1],Q=H[2];if(T&&uA(T)){var L=a.counters.getCounterValues(T.value),E=Q&&uA(Q)?ji.parse(a.context,Q.value):3,D=K&&K.type===0?K.value:"",R=L.map(function(cA){return Mr(cA,E,!1)}).join(D);l.appendChild(o.createTextNode(R))}}}else if(f.type===20)switch(f.value){case"open-quote":l.appendChild(o.createTextNode(tl(u.quotes,a.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode(tl(u.quotes,--a.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(f.value))}}),l.className=gs+" "+ps;var d=n===kr.BEFORE?" "+gs:" "+ps;return aa(t)?t.className.baseValue+=d:t.className+=d,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),kr;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(kr||(kr={}));var nT=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(Kl,"true"),A.body.appendChild(t),t},aT=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},iT=function(A){return Promise.all([].slice.call(A.images,0).map(aT))},sT=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var a=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(a),e(A))},50)}})},oT=["all","d","content"],Bs=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);oT.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},uT=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},cT=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},lT=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},dT=":before",fT=":after",gs="___html2canvas___pseudoelement_before",ps="___html2canvas___pseudoelement_after",Gl=`{
35
+ ***************************************************************************** */var Qi=function(A,e){return Qi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Qi(A,e)};function Ee(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Qi(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Fi=function(){return Fi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Fi.apply(this,arguments)};function JA(A,e,t,r){function n(a){return a instanceof t?a:new t(function(i){i(a)})}return new(t||(t=Promise))(function(a,i){function o(d){try{l(r.next(d))}catch(f){i(f)}}function u(d){try{l(r.throw(d))}catch(f){i(f)}}function l(d){d.done?a(d.value):n(d.value).then(o,u)}l((r=r.apply(A,[])).next())})}function YA(A,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,i;return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(l){return function(d){return u([l,d])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(a=l[0]&2?n.return:l[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,l[1])).done)return a;switch(n=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,n=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){t.label=l[1];break}if(l[0]===6&&t.label<a[1]){t.label=a[1],a=l;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(l);break}a[2]&&t.ops.pop(),t.trys.pop();continue}l=e.call(A,t)}catch(d){l=[6,d],n=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function bn(A,e,t){if(arguments.length===2)for(var r=0,n=e.length,a;r<n;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return A.concat(a||e)}for(var _e=function(){function A(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return A.prototype.add=function(e,t,r,n){return new A(this.left+e,this.top+t,this.width+r,this.height+n)},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 r=Array.from(t).find(function(n){return n.width!==0});return r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),Tn=function(A,e){return _e.fromClientRect(A,e.getBoundingClientRect())},xm=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),n=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new _e(0,0,r,n)},Un=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},UA=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"";for(var r=[],n=-1,a="";++n<t;){var i=A[n];i<=65535?r.push(i):(i-=65536,r.push((i>>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},Zu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vm=typeof Uint8Array>"u"?[]:new Uint8Array(256),Qn=0;Qn<Zu.length;Qn++)vm[Zu.charCodeAt(Qn)]=Qn;for(var Ac="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cr=typeof Uint8Array>"u"?[]:new Uint8Array(256),Fn=0;Fn<Ac.length;Fn++)Cr[Ac.charCodeAt(Fn)]=Fn;for(var _m=function(A){var e=A.length*.75,t=A.length,r,n=0,a,i,o,u;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),d=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=Cr[A.charCodeAt(r)],i=Cr[A.charCodeAt(r+1)],o=Cr[A.charCodeAt(r+2)],u=Cr[A.charCodeAt(r+3)],d[n++]=a<<2|i>>4,d[n++]=(i&15)<<4|o>>2,d[n++]=(o&3)<<6|u&63;return l},Nm=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},Sm=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},ft=5,Ii=11,yi=2,Lm=Ii-ft,ec=65536>>ft,Hm=1<<ft,xi=Hm-1,Dm=1024>>ft,Om=ec+Dm,Rm=Om,Mm=32,km=Rm+Mm,Pm=65536>>Ii,Km=1<<Lm,Vm=Km-1,tc=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Gm=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},Ym=function(A,e){var t=_m(A),r=Array.isArray(t)?Sm(t):new Uint32Array(t),n=Array.isArray(t)?Nm(t):new Uint16Array(t),a=24,i=tc(n,a/2,r[4]/2),o=r[5]===2?tc(n,(a+r[4])/2):Gm(r,Math.ceil((a+r[4])/4));return new Xm(r[0],r[1],r[2],r[3],i,o)},Xm=function(){function A(e,t,r,n,a,i){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=i}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>ft],t=(t<<yi)+(e&xi),this.data[t];if(e<=65535)return t=this.index[ec+(e-55296>>ft)],t=(t<<yi)+(e&xi),this.data[t];if(e<this.highStart)return t=km-Pm+(e>>Ii),t=this.index[t],t+=e>>ft&Vm,t=this.index[t],t=(t<<yi)+(e&xi),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),rc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Wm=typeof Uint8Array>"u"?[]:new Uint8Array(256),In=0;In<rc.length;In++)Wm[rc.charCodeAt(In)]=In;var Jm="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDS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sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB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AAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADA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0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0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AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAU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gAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFc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FcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKg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YAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB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eAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",nc=50,qm=1,ac=2,ic=3,jm=4,zm=5,sc=7,oc=8,uc=9,Xe=10,vi=11,cc=12,_i=13,$m=14,wr=15,Ni=16,yn=17,br=18,Zm=19,lc=20,Si=21,Tr=22,Li=23,Nt=24,ne=25,Ur=26,Qr=27,St=28,A1=29,ht=30,e1=31,xn=32,vn=33,Hi=34,Di=35,Oi=36,Fr=37,Ri=38,_n=39,Nn=40,Mi=41,dc=42,t1=43,r1=[9001,65288],fc="!",AA="×",Sn="÷",ki=Ym(Jm),Ne=[ht,Oi],Pi=[qm,ac,ic,zm],hc=[Xe,oc],Bc=[Qr,Ur],n1=Pi.concat(hc),gc=[Ri,_n,Nn,Hi,Di],a1=[wr,_i],i1=function(A,e){e===void 0&&(e="strict");var t=[],r=[],n=[];return A.forEach(function(a,i){var o=ki.get(a);if(o>nc?(n.push(!0),o-=nc):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return r.push(i),t.push(Ni);if(o===jm||o===vi){if(i===0)return r.push(i),t.push(ht);var u=t[i-1];return n1.indexOf(u)===-1?(r.push(r[i-1]),t.push(u)):(r.push(i),t.push(ht))}if(r.push(i),o===e1)return t.push(e==="strict"?Si:Fr);if(o===dc||o===A1)return t.push(ht);if(o===t1)return a>=131072&&a<=196605||a>=196608&&a<=262141?t.push(Fr):t.push(ht);t.push(o)}),[r,t,n]},Ki=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var a=t;a<=r.length;){a++;var i=r[a];if(i===e)return!0;if(i!==Xe)break}if(n===Xe)for(var a=t;a>0;){a--;var o=r[a];if(Array.isArray(A)?A.indexOf(o)!==-1:A===o)for(var u=t;u<=r.length;){u++;var i=r[u];if(i===e)return!0;if(i!==Xe)break}if(o!==Xe)break}return!1},pc=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===Xe)t--;else return r}return 0},s1=function(A,e,t,r,n){if(t[r]===0)return AA;var a=r-1;if(Array.isArray(n)&&n[a]===!0)return AA;var i=a-1,o=a+1,u=e[a],l=i>=0?e[i]:0,d=e[o];if(u===ac&&d===ic)return AA;if(Pi.indexOf(u)!==-1)return fc;if(Pi.indexOf(d)!==-1||hc.indexOf(d)!==-1)return AA;if(pc(a,e)===oc)return Sn;if(ki.get(A[a])===vi||(u===xn||u===vn)&&ki.get(A[o])===vi||u===sc||d===sc||u===uc||[Xe,_i,wr].indexOf(u)===-1&&d===uc||[yn,br,Zm,Nt,St].indexOf(d)!==-1||pc(a,e)===Tr||Ki(Li,Tr,a,e)||Ki([yn,br],Si,a,e)||Ki(cc,cc,a,e))return AA;if(u===Xe)return Sn;if(u===Li||d===Li)return AA;if(d===Ni||u===Ni)return Sn;if([_i,wr,Si].indexOf(d)!==-1||u===$m||l===Oi&&a1.indexOf(u)!==-1||u===St&&d===Oi||d===lc||Ne.indexOf(d)!==-1&&u===ne||Ne.indexOf(u)!==-1&&d===ne||u===Qr&&[Fr,xn,vn].indexOf(d)!==-1||[Fr,xn,vn].indexOf(u)!==-1&&d===Ur||Ne.indexOf(u)!==-1&&Bc.indexOf(d)!==-1||Bc.indexOf(u)!==-1&&Ne.indexOf(d)!==-1||[Qr,Ur].indexOf(u)!==-1&&(d===ne||[Tr,wr].indexOf(d)!==-1&&e[o+1]===ne)||[Tr,wr].indexOf(u)!==-1&&d===ne||u===ne&&[ne,St,Nt].indexOf(d)!==-1)return AA;if([ne,St,Nt,yn,br].indexOf(d)!==-1)for(var f=a;f>=0;){var h=e[f];if(h===ne)return AA;if([St,Nt].indexOf(h)!==-1)f--;else break}if([Qr,Ur].indexOf(d)!==-1)for(var f=[yn,br].indexOf(u)!==-1?i:a;f>=0;){var h=e[f];if(h===ne)return AA;if([St,Nt].indexOf(h)!==-1)f--;else break}if(Ri===u&&[Ri,_n,Hi,Di].indexOf(d)!==-1||[_n,Hi].indexOf(u)!==-1&&[_n,Nn].indexOf(d)!==-1||[Nn,Di].indexOf(u)!==-1&&d===Nn||gc.indexOf(u)!==-1&&[lc,Ur].indexOf(d)!==-1||gc.indexOf(d)!==-1&&u===Qr||Ne.indexOf(u)!==-1&&Ne.indexOf(d)!==-1||u===Nt&&Ne.indexOf(d)!==-1||Ne.concat(ne).indexOf(u)!==-1&&d===Tr&&r1.indexOf(A[o])===-1||Ne.concat(ne).indexOf(d)!==-1&&u===br)return AA;if(u===Mi&&d===Mi){for(var C=t[a],m=1;C>0&&(C--,e[C]===Mi);)m++;if(m%2!==0)return AA}return u===xn&&d===vn?AA:Sn},o1=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=i1(A,e.lineBreak),r=t[0],n=t[1],a=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(o){return[ne,ht,dc].indexOf(o)!==-1?Fr:o}));var i=e.wordBreak==="keep-all"?a.map(function(o,u){return o&&A[u]>=19968&&A[u]<=40959}):void 0;return[r,n,i]},u1=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===fc,this.start=r,this.end=n}return A.prototype.slice=function(){return UA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),c1=function(A,e){var t=Un(A),r=o1(t,e),n=r[0],a=r[1],i=r[2],o=t.length,u=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var d=AA;l<o&&(d=s1(t,a,n,++l,i))===AA;);if(d!==AA||l===o){var f=new u1(t,d,u,l);return u=l,{value:f,done:!1}}return{done:!0,value:null}}}},l1=1,d1=2,Ir=4,Ec=8,Ln=10,mc=47,yr=92,f1=9,h1=32,Hn=34,xr=61,B1=35,g1=36,p1=37,Dn=39,On=40,vr=41,E1=95,te=45,m1=33,C1=60,w1=62,b1=64,T1=91,U1=93,Q1=61,F1=123,Rn=63,I1=125,Cc=124,y1=126,x1=128,wc=65533,Vi=42,Bt=43,v1=44,_1=58,N1=59,_r=46,S1=0,L1=8,H1=11,D1=14,O1=31,R1=127,Qe=-1,bc=48,Tc=97,Uc=101,M1=102,k1=117,P1=122,Qc=65,Fc=69,Ic=70,K1=85,V1=90,XA=function(A){return A>=bc&&A<=57},G1=function(A){return A>=55296&&A<=57343},Lt=function(A){return XA(A)||A>=Qc&&A<=Ic||A>=Tc&&A<=M1},Y1=function(A){return A>=Tc&&A<=P1},X1=function(A){return A>=Qc&&A<=V1},W1=function(A){return Y1(A)||X1(A)},J1=function(A){return A>=x1},Mn=function(A){return A===Ln||A===f1||A===h1},kn=function(A){return W1(A)||J1(A)||A===E1},yc=function(A){return kn(A)||XA(A)||A===te},q1=function(A){return A>=S1&&A<=L1||A===H1||A>=D1&&A<=O1||A===R1},We=function(A,e){return A!==yr?!1:e!==Ln},Pn=function(A,e,t){return A===te?kn(e)||We(e,t):kn(A)?!0:!!(A===yr&&We(A,e))},Gi=function(A,e,t){return A===Bt||A===te?XA(e)?!0:e===_r&&XA(t):XA(A===_r?e:A)},j1=function(A){var e=0,t=1;(A[e]===Bt||A[e]===te)&&(A[e]===te&&(t=-1),e++);for(var r=[];XA(A[e]);)r.push(A[e++]);var n=r.length?parseInt(UA.apply(void 0,r),10):0;A[e]===_r&&e++;for(var a=[];XA(A[e]);)a.push(A[e++]);var i=a.length,o=i?parseInt(UA.apply(void 0,a),10):0;(A[e]===Fc||A[e]===Uc)&&e++;var u=1;(A[e]===Bt||A[e]===te)&&(A[e]===te&&(u=-1),e++);for(var l=[];XA(A[e]);)l.push(A[e++]);var d=l.length?parseInt(UA.apply(void 0,l),10):0;return t*(n+o*Math.pow(10,-i))*Math.pow(10,u*d)},z1={type:2},$1={type:3},Z1={type:4},AC={type:13},eC={type:8},tC={type:21},rC={type:9},nC={type:10},aC={type:11},iC={type:12},sC={type:14},Kn={type:23},oC={type:1},uC={type:25},cC={type:24},lC={type:26},dC={type:27},fC={type:28},hC={type:29},BC={type:31},Yi={type:32},xc=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(Un(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Yi;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Hn:return this.consumeStringToken(Hn);case B1:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(yc(t)||We(r,n)){var a=Pn(t,r,n)?d1:l1,i=this.consumeName();return{type:5,value:i,flags:a}}break;case g1:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),AC;break;case Dn:return this.consumeStringToken(Dn);case On:return z1;case vr:return $1;case Vi:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),sC;break;case Bt:if(Gi(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case v1:return Z1;case te:var o=e,u=this.peekCodePoint(0),l=this.peekCodePoint(1);if(Gi(o,u,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Pn(o,u,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(u===te&&l===w1)return this.consumeCodePoint(),this.consumeCodePoint(),cC;break;case _r:if(Gi(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case mc:if(this.peekCodePoint(0)===Vi)for(this.consumeCodePoint();;){var d=this.consumeCodePoint();if(d===Vi&&(d=this.consumeCodePoint(),d===mc))return this.consumeToken();if(d===Qe)return this.consumeToken()}break;case _1:return lC;case N1:return dC;case C1:if(this.peekCodePoint(0)===m1&&this.peekCodePoint(1)===te&&this.peekCodePoint(2)===te)return this.consumeCodePoint(),this.consumeCodePoint(),uC;break;case b1:var f=this.peekCodePoint(0),h=this.peekCodePoint(1),C=this.peekCodePoint(2);if(Pn(f,h,C)){var i=this.consumeName();return{type:7,value:i}}break;case T1:return fC;case yr:if(We(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case U1:return hC;case Q1:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),eC;break;case F1:return aC;case I1:return iC;case k1:case K1:var m=this.peekCodePoint(0),T=this.peekCodePoint(1);return m===Bt&&(Lt(T)||T===Rn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case Cc:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),rC;if(this.peekCodePoint(0)===Cc)return this.consumeCodePoint(),tC;break;case y1:if(this.peekCodePoint(0)===xr)return this.consumeCodePoint(),nC;break;case Qe:return Yi}return Mn(e)?(this.consumeWhiteSpace(),BC):XA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):kn(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:UA(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();Lt(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===Rn&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(UA.apply(void 0,e.map(function(u){return u===Rn?bc:u})),16),a=parseInt(UA.apply(void 0,e.map(function(u){return u===Rn?Ic:u})),16);return{type:30,start:n,end:a}}var i=parseInt(UA.apply(void 0,e),16);if(this.peekCodePoint(0)===te&&Lt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];Lt(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var a=parseInt(UA.apply(void 0,o),16);return{type:30,start:i,end:a}}else return{type:30,start:i,end:i}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===On?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===On?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Qe)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Dn||t===Hn){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Qe||this.peekCodePoint(0)===vr)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Kn)}for(;;){var n=this.consumeCodePoint();if(n===Qe||n===vr)return{type:22,value:UA.apply(void 0,e)};if(Mn(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Qe||this.peekCodePoint(0)===vr?(this.consumeCodePoint(),{type:22,value:UA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Kn);if(n===Hn||n===Dn||n===On||q1(n))return this.consumeBadUrlRemnants(),Kn;if(n===yr)if(We(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Kn;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;Mn(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===vr||e===Qe)return;We(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=UA.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===Qe||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===Ln)return this._value.splice(0,r),oC;if(n===yr){var a=this._value[r+1];a!==Qe&&a!==void 0&&(a===Ln?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):We(n,a)&&(t+=this.consumeStringSlice(r),t+=UA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Ir,r=this.peekCodePoint(0);for((r===Bt||r===te)&&e.push(this.consumeCodePoint());XA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===_r&&XA(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Ec;XA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((r===Fc||r===Uc)&&((n===Bt||n===te)&&XA(a)||XA(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Ec;XA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[j1(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),a=this.peekCodePoint(1),i=this.peekCodePoint(2);if(Pn(n,a,i)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===p1?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Lt(e)){for(var t=UA(e);Lt(this.peekCodePoint(0))&&t.length<6;)t+=UA(this.consumeCodePoint());Mn(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||G1(r)||r>1114111?wc:r}return e===Qe?wc:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(yc(t))e+=UA(t);else if(We(t,this.peekCodePoint(0)))e+=UA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),vc=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new xc;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(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||pC(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Yi:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),Nr=function(A){return A.type===15},Ht=function(A){return A.type===17},uA=function(A){return A.type===20},gC=function(A){return A.type===0},Xi=function(A,e){return uA(A)&&A.value===e},_c=function(A){return A.type!==31},Dt=function(A){return A.type!==31&&A.type!==4},Fe=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},pC=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},Je=function(A){return A.type===17||A.type===15},IA=function(A){return A.type===16||Je(A)},Nc=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},MA={type:17,number:0,flags:Ir},Wi={type:16,number:50,flags:Ir},qe={type:16,number:100,flags:Ir},Sr=function(A,e,t){var r=A[0],n=A[1];return[fA(r,e),fA(typeof n<"u"?n:r,t)]},fA=function(A,e){if(A.type===16)return A.number/100*e;if(Nr(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},Sc="deg",Lc="grad",Hc="rad",Dc="turn",Vn={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case Sc:return Math.PI*e.number/180;case Lc:return Math.PI/200*e.number;case Hc:return e.number;case Dc:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},Oc=function(A){return A.type===15&&(A.unit===Sc||A.unit===Lc||A.unit===Hc||A.unit===Dc)},Rc=function(A){var e=A.filter(uA).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[MA,MA];case"to top":case"bottom":return ue(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[MA,qe];case"to right":case"left":return ue(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[qe,qe];case"to bottom":case"top":return ue(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[qe,MA];case"to left":case"right":return ue(270)}return 0},ue=function(A){return Math.PI*A/180},je={name:"color",parse:function(A,e){if(e.type===18){var t=EC[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3);return $e(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3),i=e.value.substring(3,4);return $e(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),parseInt(i+i,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6);return $e(parseInt(r,16),parseInt(n,16),parseInt(a,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6),i=e.value.substring(6,8);return $e(parseInt(r,16),parseInt(n,16),parseInt(a,16),parseInt(i,16)/255)}}if(e.type===20){var o=Se[e.value.toUpperCase()];if(typeof o<"u")return o}return Se.TRANSPARENT}},ze=function(A){return(255&A)===0},DA=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},$e=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},Mc=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},kc=function(A,e){var t=e.filter(Dt);if(t.length===3){var r=t.map(Mc),n=r[0],a=r[1],i=r[2];return $e(n,a,i,1)}if(t.length===4){var o=t.map(Mc),n=o[0],a=o[1],i=o[2],u=o[3];return $e(n,a,i,u)}return 0};function Ji(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var Pc=function(A,e){var t=e.filter(Dt),r=t[0],n=t[1],a=t[2],i=t[3],o=(r.type===17?ue(r.number):Vn.parse(A,r))/(Math.PI*2),u=IA(n)?n.number/100:0,l=IA(a)?a.number/100:0,d=typeof i<"u"&&IA(i)?fA(i,1):1;if(u===0)return $e(l*255,l*255,l*255,1);var f=l<=.5?l*(u+1):l+u-l*u,h=l*2-f,C=Ji(h,f,o+1/3),m=Ji(h,f,o),T=Ji(h,f,o-1/3);return $e(C*255,m*255,T*255,d)},EC={hsl:Pc,hsla:Pc,rgb:kc,rgba:kc},Lr=function(A,e){return je.parse(A,vc.create(e).parseComponentValue())},Se={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},mC={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(uA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},CC={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Gn=function(A,e){var t=je.parse(A,e[0]),r=e[1];return r&&IA(r)?{color:t,stop:r}:{color:t,stop:null}},Kc=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=MA),r.stop===null&&(r.stop=qe);for(var n=[],a=0,i=0;i<A.length;i++){var o=A[i].stop;if(o!==null){var u=fA(o,e);u>a?n.push(u):n.push(a),a=u}else n.push(null)}for(var l=null,i=0;i<n.length;i++){var d=n[i];if(d===null)l===null&&(l=i);else if(l!==null){for(var f=i-l,h=n[l-1],C=(d-h)/(f+1),m=1;m<=f;m++)n[l+m-1]=C*m;l=null}}return A.map(function(T,Q){var b=T.color;return{color:b,stop:Math.max(Math.min(1,n[Q]/e),0)}})},wC=function(A,e,t){var r=e/2,n=t/2,a=fA(A[0],e)-r,i=n-fA(A[1],t);return(Math.atan2(i,a)+Math.PI*2)%(Math.PI*2)},bC=function(A,e,t){var r=typeof A=="number"?A:wC(A,e,t),n=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),a=e/2,i=t/2,o=n/2,u=Math.sin(r-Math.PI/2)*o,l=Math.cos(r-Math.PI/2)*o;return[n,a-l,a+l,i-u,i+u]},me=function(A,e){return Math.sqrt(A*A+e*e)},Vc=function(A,e,t,r,n){var a=[[0,0],[0,e],[A,0],[A,e]];return a.reduce(function(i,o){var u=o[0],l=o[1],d=me(t-u,r-l);return(n?d<i.optimumDistance:d>i.optimumDistance)?{optimumCorner:o,optimumDistance:d}:i},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},TC=function(A,e,t,r,n){var a=0,i=0;switch(A.size){case 0:A.shape===0?a=i=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.min(Math.abs(e),Math.abs(e-r)),i=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)a=i=Math.min(me(e,t),me(e,t-n),me(e-r,t),me(e-r,t-n));else if(A.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),u=Vc(r,n,e,t,!0),l=u[0],d=u[1];a=me(l-e,(d-t)/o),i=o*a}break;case 1:A.shape===0?a=i=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.max(Math.abs(e),Math.abs(e-r)),i=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)a=i=Math.max(me(e,t),me(e,t-n),me(e-r,t),me(e-r,t-n));else if(A.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),f=Vc(r,n,e,t,!1),l=f[0],d=f[1];a=me(l-e,(d-t)/o),i=o*a}break}return Array.isArray(A.size)&&(a=fA(A.size[0],r),i=A.size.length===2?fA(A.size[1],n):a),[a,i]},UC=function(A,e){var t=ue(180),r=[];return Fe(e).forEach(function(n,a){if(a===0){var i=n[0];if(i.type===20&&i.value==="to"){t=Rc(n);return}else if(Oc(i)){t=Vn.parse(A,i);return}}var o=Gn(A,n);r.push(o)}),{angle:t,stops:r,type:1}},Yn=function(A,e){var t=ue(180),r=[];return Fe(e).forEach(function(n,a){if(a===0){var i=n[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){t=Rc(n);return}else if(Oc(i)){t=(Vn.parse(A,i)+ue(270))%ue(360);return}}var o=Gn(A,n);r.push(o)}),{angle:t,stops:r,type:1}},QC=function(A,e){var t=ue(180),r=[],n=1,a=0,i=3,o=[];return Fe(e).forEach(function(u,l){var d=u[0];if(l===0){if(uA(d)&&d.value==="linear"){n=1;return}else if(uA(d)&&d.value==="radial"){n=2;return}}if(d.type===18){if(d.name==="from"){var f=je.parse(A,d.values[0]);r.push({stop:MA,color:f})}else if(d.name==="to"){var f=je.parse(A,d.values[0]);r.push({stop:qe,color:f})}else if(d.name==="color-stop"){var h=d.values.filter(Dt);if(h.length===2){var f=je.parse(A,h[1]),C=h[0];Ht(C)&&r.push({stop:{type:16,number:C.number*100,flags:C.flags},color:f})}}}}),n===1?{angle:(t+ue(180))%ue(360),stops:r,type:n}:{size:i,shape:a,stops:r,position:o,type:n}},Gc="closest-side",Yc="farthest-side",Xc="closest-corner",Wc="farthest-corner",Jc="circle",qc="ellipse",jc="cover",zc="contain",FC=function(A,e){var t=0,r=3,n=[],a=[];return Fe(e).forEach(function(i,o){var u=!0;if(o===0){var l=!1;u=i.reduce(function(f,h){if(l)if(uA(h))switch(h.value){case"center":return a.push(Wi),f;case"top":case"left":return a.push(MA),f;case"right":case"bottom":return a.push(qe),f}else(IA(h)||Je(h))&&a.push(h);else if(uA(h))switch(h.value){case Jc:return t=0,!1;case qc:return t=1,!1;case"at":return l=!0,!1;case Gc:return r=0,!1;case jc:case Yc:return r=1,!1;case zc:case Xc:return r=2,!1;case Wc:return r=3,!1}else if(Je(h)||IA(h))return Array.isArray(r)||(r=[]),r.push(h),!1;return f},u)}if(u){var d=Gn(A,i);n.push(d)}}),{size:r,shape:t,stops:n,position:a,type:2}},Xn=function(A,e){var t=0,r=3,n=[],a=[];return Fe(e).forEach(function(i,o){var u=!0;if(o===0?u=i.reduce(function(d,f){if(uA(f))switch(f.value){case"center":return a.push(Wi),!1;case"top":case"left":return a.push(MA),!1;case"right":case"bottom":return a.push(qe),!1}else if(IA(f)||Je(f))return a.push(f),!1;return d},u):o===1&&(u=i.reduce(function(d,f){if(uA(f))switch(f.value){case Jc:return t=0,!1;case qc:return t=1,!1;case zc:case Gc:return r=0,!1;case Yc:return r=1,!1;case Xc:return r=2,!1;case jc:case Wc:return r=3,!1}else if(Je(f)||IA(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return d},u)),u){var l=Gn(A,i);n.push(l)}}),{size:r,shape:t,stops:n,position:a,type:2}},IC=function(A){return A.type===1},yC=function(A){return A.type===2},qi={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=$c[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function xC(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!$c[A.name])}var $c={"linear-gradient":UC,"-moz-linear-gradient":Yn,"-ms-linear-gradient":Yn,"-o-linear-gradient":Yn,"-webkit-linear-gradient":Yn,"radial-gradient":FC,"-moz-radial-gradient":Xn,"-ms-radial-gradient":Xn,"-o-radial-gradient":Xn,"-webkit-radial-gradient":Xn,"-webkit-gradient":QC},vC={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return Dt(r)&&xC(r)}).map(function(r){return qi.parse(A,r)})}},_C={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(uA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},NC={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Fe(e).map(function(t){return t.filter(IA)}).map(Nc)}},SC={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Fe(e).map(function(t){return t.filter(uA).map(function(r){return r.value}).join(" ")}).map(LC)}},LC=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}},Ot;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(Ot||(Ot={}));var HC={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Fe(e).map(function(t){return t.filter(DC)})}},DC=function(A){return uA(A)||IA(A)},Wn=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},OC=Wn("top"),RC=Wn("right"),MC=Wn("bottom"),kC=Wn("left"),Jn=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Nc(t.filter(IA))}}},PC=Jn("top-left"),KC=Jn("top-right"),VC=Jn("bottom-right"),GC=Jn("bottom-left"),qn=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},YC=qn("top"),XC=qn("right"),WC=qn("bottom"),JC=qn("left"),jn=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Nr(t)?t.number:0}}},qC=jn("top"),jC=jn("right"),zC=jn("bottom"),$C=jn("left"),ZC={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Aw={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},ew={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(uA).reduce(function(t,r){return t|tw(r.value)},0)}},tw=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},rw={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}},nw={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},zn;(function(A){A.NORMAL="normal",A.STRICT="strict"})(zn||(zn={}));var aw={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return zn.STRICT;case"normal":default:return zn.NORMAL}}},iw={name:"line-height",initialValue:"normal",prefix:!1,type:4},Zc=function(A,e){return uA(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:IA(A)?fA(A,e):e},sw={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:qi.parse(A,e)}},ow={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}}},ji={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}}},$n=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},uw=$n("top"),cw=$n("right"),lw=$n("bottom"),dw=$n("left"),fw={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(uA).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},hw={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"}}},Zn=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Bw=Zn("top"),gw=Zn("right"),pw=Zn("bottom"),Ew=Zn("left"),mw={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}}},Cw={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}},ww={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Xi(e[0],"none")?[]:Fe(e).map(function(t){for(var r={color:Se.TRANSPARENT,offsetX:MA,offsetY:MA,blur:MA},n=0,a=0;a<t.length;a++){var i=t[a];Je(i)?(n===0?r.offsetX=i:n===1?r.offsetY=i:r.blur=i,n++):r.color=je.parse(A,i)}return r})}},bw={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}},Tw={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var t=Fw[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},Uw=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},Qw=function(A){var e=A.filter(function(u){return u.type===17}).map(function(u){return u.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],a=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var i=e[12],o=e[13];return e[14],e[15],e.length===16?[t,r,n,a,i,o]:null},Fw={matrix:Uw,matrix3d:Qw},Al={type:16,number:50,flags:Ir},Iw=[Al,Al],yw={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(IA);return t.length!==2?Iw:[t[0],t[1]]}},xw={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}}},Hr;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(Hr||(Hr={}));for(var vw={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Hr.BREAK_ALL;case"keep-all":return Hr.KEEP_ALL;case"normal":default:return Hr.NORMAL}}},_w={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(Ht(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},el={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},Nw={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Ht(e)?e.number:1}},Sw={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Lw={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(uA).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},Hw={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Dw={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ow={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(Ht(e))return e.number;if(uA(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},Rw={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(uA).map(function(t){return t.value})}},Mw={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"}}},vA=function(A,e){return(A&e)!==0},kw={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},Pw={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(_c),a=0;a<n.length;a++){var i=n[a],o=n[a+1];if(i.type===20){var u=o&&Ht(o)?o.number:1;r.push({counter:i.value,increment:u})}}return r}},Kw={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],r=e.filter(_c),n=0;n<r.length;n++){var a=r[n],i=r[n+1];if(uA(a)&&a.value!=="none"){var o=i&&Ht(i)?i.number:0;t.push({counter:a.value,reset:o})}}return t}},Vw={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(Nr).map(function(t){return el.parse(A,t)})}},Gw={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var r=[],n=e.filter(gC);if(n.length%2!==0)return null;for(var a=0;a<n.length;a+=2){var i=n[a].value,o=n[a+1].value;r.push({open:i,close:o})}return r}},tl=function(A,e,t){if(!A)return"";var r=A[Math.min(e,A.length-1)];return r?t?r.open:r.close:""},Yw={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Xi(e[0],"none")?[]:Fe(e).map(function(t){for(var r={color:255,offsetX:MA,offsetY:MA,blur:MA,spread:MA,inset:!1},n=0,a=0;a<t.length;a++){var i=t[a];Xi(i,"inset")?r.inset=!0:Je(i)?(n===0?r.offsetX=i:n===1?r.offsetY=i:n===2?r.blur=i:r.spread=i,n++):r.color=je.parse(A,i)}return r})}},Xw={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],r=[];return e.filter(uA).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},Ww={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Jw={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Nr(e)?e.number:0}},qw=function(){function A(e,t){var r,n;this.animationDuration=P(e,Vw,t.animationDuration),this.backgroundClip=P(e,mC,t.backgroundClip),this.backgroundColor=P(e,CC,t.backgroundColor),this.backgroundImage=P(e,vC,t.backgroundImage),this.backgroundOrigin=P(e,_C,t.backgroundOrigin),this.backgroundPosition=P(e,NC,t.backgroundPosition),this.backgroundRepeat=P(e,SC,t.backgroundRepeat),this.backgroundSize=P(e,HC,t.backgroundSize),this.borderTopColor=P(e,OC,t.borderTopColor),this.borderRightColor=P(e,RC,t.borderRightColor),this.borderBottomColor=P(e,MC,t.borderBottomColor),this.borderLeftColor=P(e,kC,t.borderLeftColor),this.borderTopLeftRadius=P(e,PC,t.borderTopLeftRadius),this.borderTopRightRadius=P(e,KC,t.borderTopRightRadius),this.borderBottomRightRadius=P(e,VC,t.borderBottomRightRadius),this.borderBottomLeftRadius=P(e,GC,t.borderBottomLeftRadius),this.borderTopStyle=P(e,YC,t.borderTopStyle),this.borderRightStyle=P(e,XC,t.borderRightStyle),this.borderBottomStyle=P(e,WC,t.borderBottomStyle),this.borderLeftStyle=P(e,JC,t.borderLeftStyle),this.borderTopWidth=P(e,qC,t.borderTopWidth),this.borderRightWidth=P(e,jC,t.borderRightWidth),this.borderBottomWidth=P(e,zC,t.borderBottomWidth),this.borderLeftWidth=P(e,$C,t.borderLeftWidth),this.boxShadow=P(e,Yw,t.boxShadow),this.color=P(e,ZC,t.color),this.direction=P(e,Aw,t.direction),this.display=P(e,ew,t.display),this.float=P(e,rw,t.cssFloat),this.fontFamily=P(e,Hw,t.fontFamily),this.fontSize=P(e,Dw,t.fontSize),this.fontStyle=P(e,Mw,t.fontStyle),this.fontVariant=P(e,Rw,t.fontVariant),this.fontWeight=P(e,Ow,t.fontWeight),this.letterSpacing=P(e,nw,t.letterSpacing),this.lineBreak=P(e,aw,t.lineBreak),this.lineHeight=P(e,iw,t.lineHeight),this.listStyleImage=P(e,sw,t.listStyleImage),this.listStylePosition=P(e,ow,t.listStylePosition),this.listStyleType=P(e,ji,t.listStyleType),this.marginTop=P(e,uw,t.marginTop),this.marginRight=P(e,cw,t.marginRight),this.marginBottom=P(e,lw,t.marginBottom),this.marginLeft=P(e,dw,t.marginLeft),this.opacity=P(e,Nw,t.opacity);var a=P(e,fw,t.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=P(e,hw,t.overflowWrap),this.paddingTop=P(e,Bw,t.paddingTop),this.paddingRight=P(e,gw,t.paddingRight),this.paddingBottom=P(e,pw,t.paddingBottom),this.paddingLeft=P(e,Ew,t.paddingLeft),this.paintOrder=P(e,Xw,t.paintOrder),this.position=P(e,Cw,t.position),this.textAlign=P(e,mw,t.textAlign),this.textDecorationColor=P(e,Sw,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=P(e,Lw,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=P(e,ww,t.textShadow),this.textTransform=P(e,bw,t.textTransform),this.transform=P(e,Tw,t.transform),this.transformOrigin=P(e,yw,t.transformOrigin),this.visibility=P(e,xw,t.visibility),this.webkitTextStrokeColor=P(e,Ww,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=P(e,Jw,t.webkitTextStrokeWidth),this.wordBreak=P(e,vw,t.wordBreak),this.zIndex=P(e,_w,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return ze(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return vA(this.display,4)||vA(this.display,33554432)||vA(this.display,268435456)||vA(this.display,536870912)||vA(this.display,67108864)||vA(this.display,134217728)},A}(),jw=function(){function A(e,t){this.content=P(e,kw,t.content),this.quotes=P(e,Gw,t.quotes)}return A}(),rl=function(){function A(e,t){this.counterIncrement=P(e,Pw,t.counterIncrement),this.counterReset=P(e,Kw,t.counterReset)}return A}(),P=function(A,e,t){var r=new xc,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var a=new vc(r.read());switch(e.type){case 2:var i=a.parseComponentValue();return e.parse(A,uA(i)?i.value:e.initialValue);case 0:return e.parse(A,a.parseComponentValue());case 1:return e.parse(A,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(e.format){case"angle":return Vn.parse(A,a.parseComponentValue());case"color":return je.parse(A,a.parseComponentValue());case"image":return qi.parse(A,a.parseComponentValue());case"length":var o=a.parseComponentValue();return Je(o)?o:MA;case"length-percentage":var u=a.parseComponentValue();return IA(u)?u:MA;case"time":return el.parse(A,a.parseComponentValue())}break}},zw="data-html2canvas-debug",$w=function(A){var e=A.getAttribute(zw);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},zi=function(A,e){var t=$w(A);return t===1||e===t},Ie=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,zi(t,3))debugger;this.styles=new qw(e,window.getComputedStyle(t,null)),ls(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=Tn(this.context,t),zi(t,4)&&(this.flags|=16)}return A}(),Zw="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAI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AgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",nl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Dr=typeof Uint8Array>"u"?[]:new Uint8Array(256),Aa=0;Aa<nl.length;Aa++)Dr[nl.charCodeAt(Aa)]=Aa;for(var Ab=function(A){var e=A.length*.75,t=A.length,r,n=0,a,i,o,u;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),d=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=Dr[A.charCodeAt(r)],i=Dr[A.charCodeAt(r+1)],o=Dr[A.charCodeAt(r+2)],u=Dr[A.charCodeAt(r+3)],d[n++]=a<<2|i>>4,d[n++]=(i&15)<<4|o>>2,d[n++]=(o&3)<<6|u&63;return l},eb=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},tb=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},gt=5,$i=11,Zi=2,rb=$i-gt,al=65536>>gt,nb=1<<gt,As=nb-1,ab=1024>>gt,ib=al+ab,sb=ib,ob=32,ub=sb+ob,cb=65536>>$i,lb=1<<rb,db=lb-1,il=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},fb=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},hb=function(A,e){var t=Ab(A),r=Array.isArray(t)?tb(t):new Uint32Array(t),n=Array.isArray(t)?eb(t):new Uint16Array(t),a=24,i=il(n,a/2,r[4]/2),o=r[5]===2?il(n,(a+r[4])/2):fb(r,Math.ceil((a+r[4])/4));return new Bb(r[0],r[1],r[2],r[3],i,o)},Bb=function(){function A(e,t,r,n,a,i){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=i}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>gt],t=(t<<Zi)+(e&As),this.data[t];if(e<=65535)return t=this.index[al+(e-55296>>gt)],t=(t<<Zi)+(e&As),this.data[t];if(e<this.highStart)return t=ub-cb+(e>>$i),t=this.index[t],t+=e>>gt&db,t=this.index[t],t=(t<<Zi)+(e&As),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),sl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gb=typeof Uint8Array>"u"?[]:new Uint8Array(256),ea=0;ea<sl.length;ea++)gb[sl.charCodeAt(ea)]=ea;var pb=1,es=2,ts=3,ol=4,ul=5,Eb=7,cl=8,rs=9,ns=10,ll=11,dl=12,fl=13,hl=14,as=15,mb=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},Cb=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"";for(var r=[],n=-1,a="";++n<t;){var i=A[n];i<=65535?r.push(i):(i-=65536,r.push((i>>10)+55296,i%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},wb=hb(Zw),ce="×",is="÷",bb=function(A){return wb.get(A)},Tb=function(A,e,t){var r=t-2,n=e[r],a=e[t-1],i=e[t];if(a===es&&i===ts)return ce;if(a===es||a===ts||a===ol||i===es||i===ts||i===ol)return is;if(a===cl&&[cl,rs,ll,dl].indexOf(i)!==-1||(a===ll||a===rs)&&(i===rs||i===ns)||(a===dl||a===ns)&&i===ns||i===fl||i===ul||i===Eb||a===pb)return ce;if(a===fl&&i===hl){for(;n===ul;)n=e[--r];if(n===hl)return ce}if(a===as&&i===as){for(var o=0;n===as;)o++,n=e[--r];if(o%2===0)return ce}return is},Ub=function(A){var e=mb(A),t=e.length,r=0,n=0,a=e.map(bb);return{next:function(){if(r>=t)return{done:!0,value:null};for(var i=ce;r<t&&(i=Tb(e,a,++r))===ce;);if(i!==ce||r===t){var o=Cb.apply(null,e.slice(n,r));return n=r,{value:o,done:!1}}return{done:!0,value:null}}}},Qb=function(A){for(var e=Ub(A),t=[],r;!(r=e.next()).done;)r.value&&t.push(r.value.slice());return t},Fb=function(A){var e=123;if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var r=A.createElement("boundtest");r.style.height=e+"px",r.style.display="block",A.body.appendChild(r),t.selectNode(r);var n=t.getBoundingClientRect(),a=Math.round(n.height);if(A.body.removeChild(r),a===e)return!0}}return!1},Ib=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=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=e.firstChild,n=Un(r.data).map(function(u){return UA(u)}),a=0,i={},o=n.every(function(u,l){t.setStart(r,a),t.setEnd(r,a+u.length);var d=t.getBoundingClientRect();a+=u.length;var f=d.x>i.x||d.y>i.y;return i=d,l===0?!0:f});return A.body.removeChild(e),o},yb=function(){return typeof new Image().crossOrigin<"u"},xb=function(){return typeof new XMLHttpRequest().responseType=="string"},vb=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},Bl=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},_b=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,a=e.toDataURL();n.src=a;var i=ss(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),gl(i).then(function(o){r.drawImage(o,0,0);var u=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+a+")",l.style.height=t+"px",Bl(u)?gl(ss(t,t,0,0,l)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),Bl(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},ss=function(A,e,t,r,n){var a="http://www.w3.org/2000/svg",i=document.createElementNS(a,"svg"),o=document.createElementNS(a,"foreignObject");return i.setAttributeNS(null,"width",A.toString()),i.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(o),o.appendChild(n),i},gl=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},kA={get SUPPORT_RANGE_BOUNDS(){var A=Fb(document);return Object.defineProperty(kA,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=kA.SUPPORT_RANGE_BOUNDS&&Ib(document);return Object.defineProperty(kA,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=vb(document);return Object.defineProperty(kA,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?_b(document):Promise.resolve(!1);return Object.defineProperty(kA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=yb();return Object.defineProperty(kA,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=xb();return Object.defineProperty(kA,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(kA,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(kA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Or=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),Nb=function(A,e,t,r){var n=Hb(e,t),a=[],i=0;return n.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(kA.SUPPORT_RANGE_BOUNDS){var u=pl(r,i,o.length).getClientRects();if(u.length>1){var l=os(o),d=0;l.forEach(function(h){a.push(new Or(h,_e.fromDOMRectList(A,pl(r,d+i,h.length).getClientRects()))),d+=h.length})}else a.push(new Or(o,_e.fromDOMRectList(A,u)))}else{var f=r.splitText(o.length);a.push(new Or(o,Sb(A,r))),r=f}else kA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));i+=o.length}),a},Sb=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var a=Tn(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),a}}return _e.EMPTY},pl=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},os=function(A){if(kA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return Qb(A)},Lb=function(A,e){if(kA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return Ob(A,e)},Hb=function(A,e){return e.letterSpacing!==0?os(A):Lb(A,e)},Db=[32,160,4961,65792,65793,4153,4241],Ob=function(A,e){for(var t=c1(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,a=function(){if(n.value){var i=n.value.slice(),o=Un(i),u="";o.forEach(function(l){Db.indexOf(l)===-1?u+=UA(l):(u.length&&r.push(u),r.push(UA(l)),u="")}),u.length&&r.push(u)}};!(n=t.next()).done;)a();return r},Rb=function(){function A(e,t,r){this.text=Mb(t.data,r.textTransform),this.textBounds=Nb(e,this.text,r,t)}return A}(),Mb=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(kb,Pb);case 2:return A.toUpperCase();default:return A}},kb=/(^|\s|:|-|\(|\))([a-z])/g,Pb=function(A,e,t){return A.length>0?e+t.toUpperCase():A},El=function(A){Ee(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(Ie),ml=function(A){Ee(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(Ie),Cl=function(A){Ee(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=new XMLSerializer,i=Tn(t,r);return r.setAttribute("width",i.width+"px"),r.setAttribute("height",i.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(Ie),wl=function(A){Ee(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(Ie),us=function(A){Ee(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(Ie),Kb=[{type:15,flags:0,unit:"px",number:3}],Vb=[{type:16,flags:0,number:50}],Gb=function(A){return A.width>A.height?new _e(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new _e(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},Yb=function(A){var e=A.type===Xb?new Array(A.value.length+1).join("•"):A.value;return e.length===0?A.placeholder||"":e},ta="checkbox",ra="radio",Xb="password",bl=707406591,cs=function(A){Ee(e,A);function e(t,r){var n=A.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=Yb(r),(n.type===ta||n.type===ra)&&(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=Gb(n.bounds)),n.type){case ta:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=Kb;break;case ra:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=Vb;break}return n}return e}(Ie),Tl=function(A){Ee(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=r.options[r.selectedIndex||0];return n.value=a&&a.text||"",n}return e}(Ie),Ul=function(A){Ee(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(Ie),Ql=function(A){Ee(e,A);function e(t,r){var n=A.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=Il(t,r.contentWindow.document.documentElement);var a=r.contentWindow.document.documentElement?Lr(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):Se.TRANSPARENT,i=r.contentWindow.document.body?Lr(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):Se.TRANSPARENT;n.backgroundColor=ze(a)?ze(i)?n.styles.backgroundColor:i:a}}catch{}return n}return e}(Ie),Wb=["OL","UL","MENU"],na=function(A,e,t,r){for(var n=e.firstChild,a=void 0;n;n=a)if(a=n.nextSibling,yl(n)&&n.data.trim().length>0)t.textNodes.push(new Rb(A,n,t.styles));else if(Rt(n))if(Ll(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return na(A,o,t,r)});else{var i=Fl(A,n);i.styles.isVisible()&&(Jb(n,i,r)?i.flags|=4:qb(i.styles)&&(i.flags|=2),Wb.indexOf(n.tagName)!==-1&&(i.flags|=8),t.elements.push(i),n.slot,n.shadowRoot?na(A,n.shadowRoot,i,r):!ia(n)&&!xl(n)&&!sa(n)&&na(A,n,i,r))}},Fl=function(A,e){return fs(e)?new El(A,e):vl(e)?new ml(A,e):xl(e)?new Cl(A,e):jb(e)?new wl(A,e):zb(e)?new us(A,e):$b(e)?new cs(A,e):sa(e)?new Tl(A,e):ia(e)?new Ul(A,e):Nl(e)?new Ql(A,e):new Ie(A,e)},Il=function(A,e){var t=Fl(A,e);return t.flags|=4,na(A,e,t,t),t},Jb=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||ds(A)&&t.styles.isTransparent()},qb=function(A){return A.isPositioned()||A.isFloating()},yl=function(A){return A.nodeType===Node.TEXT_NODE},Rt=function(A){return A.nodeType===Node.ELEMENT_NODE},ls=function(A){return Rt(A)&&typeof A.style<"u"&&!aa(A)},aa=function(A){return typeof A.className=="object"},jb=function(A){return A.tagName==="LI"},zb=function(A){return A.tagName==="OL"},$b=function(A){return A.tagName==="INPUT"},Zb=function(A){return A.tagName==="HTML"},xl=function(A){return A.tagName==="svg"},ds=function(A){return A.tagName==="BODY"},vl=function(A){return A.tagName==="CANVAS"},_l=function(A){return A.tagName==="VIDEO"},fs=function(A){return A.tagName==="IMG"},Nl=function(A){return A.tagName==="IFRAME"},Sl=function(A){return A.tagName==="STYLE"},AT=function(A){return A.tagName==="SCRIPT"},ia=function(A){return A.tagName==="TEXTAREA"},sa=function(A){return A.tagName==="SELECT"},Ll=function(A){return A.tagName==="SLOT"},Hl=function(A){return A.tagName.indexOf("-")>0},eT=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,a=!0;r!==null&&r.forEach(function(o){var u=t.counters[o.counter];u&&o.increment!==0&&(a=!1,u.length||u.push(1),u[Math.max(0,u.length-1)]+=o.increment)});var i=[];return a&&n.forEach(function(o){var u=t.counters[o.counter];i.push(o.counter),u||(u=t.counters[o.counter]=[]),u.push(o.reset)}),i},A}(),Dl={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"]},Ol={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},tT={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},rT={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Mt=function(A,e,t,r,n,a){return A<e||A>t?Mr(A,n,a.length>0):r.integers.reduce(function(i,o,u){for(;A>=o;)A-=o,i+=r.values[u];return i},"")+a},Rl=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},QA=function(A,e,t,r,n){var a=t-e+1;return(A<0?"-":"")+(Rl(Math.abs(A),a,r,function(i){return UA(Math.floor(i%a)+e)})+n)},pt=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return Rl(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},kt=1,Ze=2,At=4,Rr=8,Le=function(A,e,t,r,n,a){if(A<-9999||A>9999)return Mr(A,4,n.length>0);var i=Math.abs(A),o=n;if(i===0)return e[0]+o;for(var u=0;i>0&&u<=4;u++){var l=i%10;l===0&&vA(a,kt)&&o!==""?o=e[l]+o:l>1||l===1&&u===0||l===1&&u===1&&vA(a,Ze)||l===1&&u===1&&vA(a,At)&&A>100||l===1&&u>1&&vA(a,Rr)?o=e[l]+(u>0?t[u-1]:"")+o:l===1&&u>0&&(o=t[u-1]+o),i=Math.floor(i/10)}return(A<0?r:"")+o},Ml="十百千萬",kl="拾佰仟萬",Pl="マイナス",hs="마이너스",Mr=function(A,e,t){var r=t?". ":"",n=t?"、":"",a=t?", ":"",i=t?" ":"";switch(e){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var o=QA(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return pt(A,"〇一二三四五六七八九",n);case 6:return Mt(A,1,3999,Dl,3,r).toLowerCase();case 7:return Mt(A,1,3999,Dl,3,r);case 8:return QA(A,945,969,!1,r);case 9:return QA(A,97,122,!1,r);case 10:return QA(A,65,90,!1,r);case 11:return QA(A,1632,1641,!0,r);case 12:case 49:return Mt(A,1,9999,Ol,3,r);case 35:return Mt(A,1,9999,Ol,3,r).toLowerCase();case 13:return QA(A,2534,2543,!0,r);case 14:case 30:return QA(A,6112,6121,!0,r);case 15:return pt(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return pt(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Le(A,"零一二三四五六七八九",Ml,"負",n,Ze|At|Rr);case 47:return Le(A,"零壹貳參肆伍陸柒捌玖",kl,"負",n,kt|Ze|At|Rr);case 42:return Le(A,"零一二三四五六七八九",Ml,"负",n,Ze|At|Rr);case 41:return Le(A,"零壹贰叁肆伍陆柒捌玖",kl,"负",n,kt|Ze|At|Rr);case 26:return Le(A,"〇一二三四五六七八九","十百千万",Pl,n,0);case 25:return Le(A,"零壱弐参四伍六七八九","拾百千万",Pl,n,kt|Ze|At);case 31:return Le(A,"영일이삼사오육칠팔구","십백천만",hs,a,kt|Ze|At);case 33:return Le(A,"零一二三四五六七八九","十百千萬",hs,a,0);case 32:return Le(A,"零壹貳參四五六七八九","拾百千",hs,a,kt|Ze|At);case 18:return QA(A,2406,2415,!0,r);case 20:return Mt(A,1,19999,rT,3,r);case 21:return QA(A,2790,2799,!0,r);case 22:return QA(A,2662,2671,!0,r);case 22:return Mt(A,1,10999,tT,3,r);case 23:return pt(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return pt(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return QA(A,3302,3311,!0,r);case 28:return pt(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return pt(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return QA(A,3792,3801,!0,r);case 37:return QA(A,6160,6169,!0,r);case 38:return QA(A,4160,4169,!0,r);case 39:return QA(A,2918,2927,!0,r);case 40:return QA(A,1776,1785,!0,r);case 43:return QA(A,3046,3055,!0,r);case 44:return QA(A,3174,3183,!0,r);case 45:return QA(A,3664,3673,!0,r);case 46:return QA(A,3872,3881,!0,r);case 3:default:return QA(A,48,57,!0,r)}},Kl="data-html2canvas-ignore",Vl=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new eT,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=nT(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,i=e.defaultView.pageYOffset,o=n.contentWindow,u=o.document,l=sT(n).then(function(){return JA(r,void 0,void 0,function(){var d,f;return YA(this,function(h){switch(h.label){case 0:return this.scrolledElements.forEach(lT),o&&(o.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==t.top||o.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),d=this.options.onclone,f=this.clonedReferenceElement,typeof f>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:h.sent(),h.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,iT(u)]:[3,4];case 3:h.sent(),h.label=4;case 4:return typeof d=="function"?[2,Promise.resolve().then(function(){return d(u,f)}).then(function(){return n})]:[2,n]}})})});return u.open(),u.write(uT(document.doctype)+"<html></html>"),cT(this.referenceElement.ownerDocument,a,i),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),l},A.prototype.createElementClone=function(e){if(zi(e,2))debugger;if(vl(e))return this.createCanvasClone(e);if(_l(e))return this.createVideoClone(e);if(Sl(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return fs(t)&&(fs(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),Hl(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return Bs(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(a,i){return i&&typeof i.cssText=="string"?a+i.cssText:a},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var a=e.getContext("2d"),i=n.getContext("2d");if(i)if(!this.options.allowTaint&&a)i.putImageData(a.getImageData(0,0,e.width,e.height),0,0);else{var o=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(o){var u=o.getContextAttributes();(u==null?void 0:u.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!Rt(t)||!AT(t)&&!t.hasAttribute(Kl)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Rt(t)||!Sl(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,a=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;a;a=a.nextSibling)if(Rt(a)&&Ll(a)&&typeof a.assignedNodes=="function"){var i=a.assignedNodes();i.length&&i.forEach(function(o){return n.appendChildNode(t,o,r)})}else this.appendChildNode(t,a,r)},A.prototype.cloneNode=function(e,t){if(yl(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Rt(e)&&(ls(e)||aa(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var a=r.getComputedStyle(e),i=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&ls(n)&&(this.clonedReferenceElement=n),ds(n)&&hT(n);var u=this.counters.parse(new rl(this.context,a)),l=this.resolvePseudoContent(e,n,i,kr.BEFORE);Hl(e)&&(t=!0),_l(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var d=this.resolvePseudoContent(e,n,o,kr.AFTER);return d&&n.appendChild(d),this.counters.pop(u),(a&&(this.options.copyStyles||aa(e))&&!Nl(e)||t)&&Bs(a,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(ia(e)||sa(e))&&(ia(n)||sa(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var a=this;if(r){var i=r.content,o=t.ownerDocument;if(!(!o||!i||i==="none"||i==="-moz-alt-content"||r.display==="none")){this.counters.parse(new rl(this.context,r));var u=new jw(this.context,r),l=o.createElement("html2canvaspseudoelement");Bs(r,l),u.content.forEach(function(f){if(f.type===0)l.appendChild(o.createTextNode(f.value));else if(f.type===22){var h=o.createElement("img");h.src=f.value,h.style.opacity="1",l.appendChild(h)}else if(f.type===18){if(f.name==="attr"){var C=f.values.filter(uA);C.length&&l.appendChild(o.createTextNode(e.getAttribute(C[0].value)||""))}else if(f.name==="counter"){var m=f.values.filter(Dt),T=m[0],Q=m[1];if(T&&uA(T)){var b=a.counters.getCounterValue(T.value),v=Q&&uA(Q)?ji.parse(a.context,Q.value):3;l.appendChild(o.createTextNode(Mr(b,v,!1)))}}else if(f.name==="counters"){var H=f.values.filter(Dt),T=H[0],K=H[1],Q=H[2];if(T&&uA(T)){var L=a.counters.getCounterValues(T.value),E=Q&&uA(Q)?ji.parse(a.context,Q.value):3,O=K&&K.type===0?K.value:"",R=L.map(function(cA){return Mr(cA,E,!1)}).join(O);l.appendChild(o.createTextNode(R))}}}else if(f.type===20)switch(f.value){case"open-quote":l.appendChild(o.createTextNode(tl(u.quotes,a.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode(tl(u.quotes,--a.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(f.value))}}),l.className=gs+" "+ps;var d=n===kr.BEFORE?" "+gs:" "+ps;return aa(t)?t.className.baseValue+=d:t.className+=d,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),kr;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(kr||(kr={}));var nT=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(Kl,"true"),A.body.appendChild(t),t},aT=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},iT=function(A){return Promise.all([].slice.call(A.images,0).map(aT))},sT=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var a=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(a),e(A))},50)}})},oT=["all","d","content"],Bs=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);oT.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},uT=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},cT=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},lT=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},dT=":before",fT=":after",gs="___html2canvas___pseudoelement_before",ps="___html2canvas___pseudoelement_after",Gl=`{
36
36
  content: "" !important;
37
37
  display: none !important;
38
38
  }`,hT=function(A){BT(A,"."+gs+dT+Gl+`
39
- .`+ps+fT+Gl)},BT=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},Yl=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}(),gT=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(ms(e)||CT(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return JA(this,void 0,void 0,function(){var t,r,n,a,i=this;return YA(this,function(o){switch(o.label){case 0:return t=Yl.isSameOrigin(e),r=!Es(e)&&this._options.useCORS===!0&&kA.SUPPORT_CORS_IMAGES&&!t,n=!Es(e)&&!t&&!ms(e)&&typeof this._options.proxy=="string"&&kA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!Es(e)&&!ms(e)&&!n&&!r?[2]:(a=e,n?[4,this.proxy(a)]:[3,2]);case 1:a=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(u,l){var d=new Image;d.onload=function(){return u(d)},d.onerror=l,(wT(a)||r)&&(d.crossOrigin="anonymous"),d.src=a,d.complete===!0&&setTimeout(function(){return u(d)},500),i._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+i._options.imageTimeout+"ms) loading image")},i._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(a,i){var o=kA.SUPPORT_RESPONSE_TYPE?"blob":"text",u=new XMLHttpRequest;u.onload=function(){if(u.status===200)if(o==="text")a(u.response);else{var f=new FileReader;f.addEventListener("load",function(){return a(f.result)},!1),f.addEventListener("error",function(h){return i(h)},!1),f.readAsDataURL(u.response)}else i("Failed to proxy resource "+n+" with status code "+u.status)},u.onerror=i;var l=r.indexOf("?")>-1?"&":"?";if(u.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&u instanceof XMLHttpRequest&&(u.responseType=o),t._options.imageTimeout){var d=t._options.imageTimeout;u.timeout=d,u.ontimeout=function(){return i("Timed out ("+d+"ms) proxying "+n)}}u.send()})},A}(),pT=/^data:image\/svg\+xml/i,ET=/^data:image\/.*;base64,/i,mT=/^data:image\/.*/i,CT=function(A){return kA.SUPPORT_SVG_DRAWING||!bT(A)},Es=function(A){return mT.test(A)},wT=function(A){return ET.test(A)},ms=function(A){return A.substr(0,4)==="blob"},bT=function(A){return A.substr(-3).toLowerCase()==="svg"||pT.test(A)},M=function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),Pt=function(A,e,t){return new M(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},oa=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=Pt(this.start,this.startControl,e),n=Pt(this.startControl,this.endControl,e),a=Pt(this.endControl,this.end,e),i=Pt(r,n,e),o=Pt(n,a,e),u=Pt(i,o,e);return t?new A(this.start,r,i,u):new A(u,o,a,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}(),le=function(A){return A.type===1},TT=function(){function A(e){var t=e.styles,r=e.bounds,n=Sr(t.borderTopLeftRadius,r.width,r.height),a=n[0],i=n[1],o=Sr(t.borderTopRightRadius,r.width,r.height),u=o[0],l=o[1],d=Sr(t.borderBottomRightRadius,r.width,r.height),f=d[0],h=d[1],C=Sr(t.borderBottomLeftRadius,r.width,r.height),m=C[0],T=C[1],Q=[];Q.push((a+u)/r.width),Q.push((m+f)/r.width),Q.push((i+T)/r.height),Q.push((l+h)/r.height);var b=Math.max.apply(Math,Q);b>1&&(a/=b,i/=b,u/=b,l/=b,f/=b,h/=b,m/=b,T/=b);var v=r.width-u,H=r.height-h,K=r.width-f,L=r.height-T,E=t.borderTopWidth,D=t.borderRightWidth,R=t.borderBottomWidth,k=t.borderLeftWidth,eA=fA(t.paddingTop,e.bounds.width),cA=fA(t.paddingRight,e.bounds.width),hA=fA(t.paddingBottom,e.bounds.width),q=fA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||i>0?mA(r.left+k/3,r.top+E/3,a-k/3,i-E/3,sA.TOP_LEFT):new M(r.left+k/3,r.top+E/3),this.topRightBorderDoubleOuterBox=a>0||i>0?mA(r.left+v,r.top+E/3,u-D/3,l-E/3,sA.TOP_RIGHT):new M(r.left+r.width-D/3,r.top+E/3),this.bottomRightBorderDoubleOuterBox=f>0||h>0?mA(r.left+K,r.top+H,f-D/3,h-R/3,sA.BOTTOM_RIGHT):new M(r.left+r.width-D/3,r.top+r.height-R/3),this.bottomLeftBorderDoubleOuterBox=m>0||T>0?mA(r.left+k/3,r.top+L,m-k/3,T-R/3,sA.BOTTOM_LEFT):new M(r.left+k/3,r.top+r.height-R/3),this.topLeftBorderDoubleInnerBox=a>0||i>0?mA(r.left+k*2/3,r.top+E*2/3,a-k*2/3,i-E*2/3,sA.TOP_LEFT):new M(r.left+k*2/3,r.top+E*2/3),this.topRightBorderDoubleInnerBox=a>0||i>0?mA(r.left+v,r.top+E*2/3,u-D*2/3,l-E*2/3,sA.TOP_RIGHT):new M(r.left+r.width-D*2/3,r.top+E*2/3),this.bottomRightBorderDoubleInnerBox=f>0||h>0?mA(r.left+K,r.top+H,f-D*2/3,h-R*2/3,sA.BOTTOM_RIGHT):new M(r.left+r.width-D*2/3,r.top+r.height-R*2/3),this.bottomLeftBorderDoubleInnerBox=m>0||T>0?mA(r.left+k*2/3,r.top+L,m-k*2/3,T-R*2/3,sA.BOTTOM_LEFT):new M(r.left+k*2/3,r.top+r.height-R*2/3),this.topLeftBorderStroke=a>0||i>0?mA(r.left+k/2,r.top+E/2,a-k/2,i-E/2,sA.TOP_LEFT):new M(r.left+k/2,r.top+E/2),this.topRightBorderStroke=a>0||i>0?mA(r.left+v,r.top+E/2,u-D/2,l-E/2,sA.TOP_RIGHT):new M(r.left+r.width-D/2,r.top+E/2),this.bottomRightBorderStroke=f>0||h>0?mA(r.left+K,r.top+H,f-D/2,h-R/2,sA.BOTTOM_RIGHT):new M(r.left+r.width-D/2,r.top+r.height-R/2),this.bottomLeftBorderStroke=m>0||T>0?mA(r.left+k/2,r.top+L,m-k/2,T-R/2,sA.BOTTOM_LEFT):new M(r.left+k/2,r.top+r.height-R/2),this.topLeftBorderBox=a>0||i>0?mA(r.left,r.top,a,i,sA.TOP_LEFT):new M(r.left,r.top),this.topRightBorderBox=u>0||l>0?mA(r.left+v,r.top,u,l,sA.TOP_RIGHT):new M(r.left+r.width,r.top),this.bottomRightBorderBox=f>0||h>0?mA(r.left+K,r.top+H,f,h,sA.BOTTOM_RIGHT):new M(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=m>0||T>0?mA(r.left,r.top+L,m,T,sA.BOTTOM_LEFT):new M(r.left,r.top+r.height),this.topLeftPaddingBox=a>0||i>0?mA(r.left+k,r.top+E,Math.max(0,a-k),Math.max(0,i-E),sA.TOP_LEFT):new M(r.left+k,r.top+E),this.topRightPaddingBox=u>0||l>0?mA(r.left+Math.min(v,r.width-D),r.top+E,v>r.width+D?0:Math.max(0,u-D),Math.max(0,l-E),sA.TOP_RIGHT):new M(r.left+r.width-D,r.top+E),this.bottomRightPaddingBox=f>0||h>0?mA(r.left+Math.min(K,r.width-k),r.top+Math.min(H,r.height-R),Math.max(0,f-D),Math.max(0,h-R),sA.BOTTOM_RIGHT):new M(r.left+r.width-D,r.top+r.height-R),this.bottomLeftPaddingBox=m>0||T>0?mA(r.left+k,r.top+Math.min(L,r.height-R),Math.max(0,m-k),Math.max(0,T-R),sA.BOTTOM_LEFT):new M(r.left+k,r.top+r.height-R),this.topLeftContentBox=a>0||i>0?mA(r.left+k+q,r.top+E+eA,Math.max(0,a-(k+q)),Math.max(0,i-(E+eA)),sA.TOP_LEFT):new M(r.left+k+q,r.top+E+eA),this.topRightContentBox=u>0||l>0?mA(r.left+Math.min(v,r.width+k+q),r.top+E+eA,v>r.width+k+q?0:u-k+q,l-(E+eA),sA.TOP_RIGHT):new M(r.left+r.width-(D+cA),r.top+E+eA),this.bottomRightContentBox=f>0||h>0?mA(r.left+Math.min(K,r.width-(k+q)),r.top+Math.min(H,r.height+E+eA),Math.max(0,f-(D+cA)),h-(R+hA),sA.BOTTOM_RIGHT):new M(r.left+r.width-(D+cA),r.top+r.height-(R+hA)),this.bottomLeftContentBox=m>0||T>0?mA(r.left+k+q,r.top+L,Math.max(0,m-(k+q)),T-(R+hA),sA.BOTTOM_LEFT):new M(r.left+k+q,r.top+r.height-(R+hA))}return A}(),sA;(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"})(sA||(sA={}));var mA=function(A,e,t,r,n){var a=4*((Math.sqrt(2)-1)/3),i=t*a,o=r*a,u=A+t,l=e+r;switch(n){case sA.TOP_LEFT:return new oa(new M(A,l),new M(A,l-o),new M(u-i,e),new M(u,e));case sA.TOP_RIGHT:return new oa(new M(A,e),new M(A+i,e),new M(u,l-o),new M(u,l));case sA.BOTTOM_RIGHT:return new oa(new M(u,e),new M(u,e+o),new M(A+i,l),new M(A,l));case sA.BOTTOM_LEFT:default:return new oa(new M(u,l),new M(u-i,l),new M(A,e+o),new M(A,e))}},ua=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},UT=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},ca=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},QT=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),la=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),FT=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),IT=function(A){return A.type===0},Xl=function(A){return A.type===1},yT=function(A){return A.type===2},Wl=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},xT=function(A,e,t,r,n){return A.map(function(a,i){switch(i){case 0:return a.add(e,t);case 1:return a.add(e+r,t);case 2:return a.add(e+r,t+n);case 3:return a.add(e,t+n)}return a})},Jl=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),ql=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new TT(this.container),this.container.styles.opacity<1&&this.effects.push(new FT(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new QT(r,n,a))}if(this.container.styles.overflowX!==0){var i=ua(this.curves),o=ca(this.curves);Wl(i,o)?this.effects.push(new la(i,6)):(this.effects.push(new la(i,2)),this.effects.push(new la(o,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var a=r.effects.filter(function(u){return!Xl(u)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,a),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var i=ua(r.curves),o=ca(r.curves);Wl(i,o)||n.unshift(new la(o,6))}}else n.unshift.apply(n,a);r=r.parent}return n.filter(function(u){return vA(u.target,e)})},A}(),Cs=function(A,e,t,r){A.container.elements.forEach(function(n){var a=vA(n.flags,4),i=vA(n.flags,2),o=new ql(n,A);vA(n.styles.display,2048)&&r.push(o);var u=vA(n.flags,8)?[]:r;if(a||i){var l=a||n.styles.isPositioned()?t:e,d=new Jl(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var f=n.styles.zIndex.order;if(f<0){var h=0;l.negativeZIndex.some(function(m,T){return f>m.element.container.styles.zIndex.order?(h=T,!1):h>0}),l.negativeZIndex.splice(h,0,d)}else if(f>0){var C=0;l.positiveZIndex.some(function(m,T){return f>=m.element.container.styles.zIndex.order?(C=T+1,!1):C>0}),l.positiveZIndex.splice(C,0,d)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(d)}else n.styles.isFloating()?l.nonPositionedFloats.push(d):l.nonPositionedInlineLevel.push(d);Cs(o,d,a?d:t,u)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Cs(o,e,t,u);vA(n.flags,8)&&jl(n,u)})},jl=function(A,e){for(var t=A instanceof us?A.start:1,r=A instanceof us?A.reversed:!1,n=0;n<e.length;n++){var a=e[n];a.container instanceof wl&&typeof a.container.value=="number"&&a.container.value!==0&&(t=a.container.value),a.listValue=Mr(t,a.container.styles.listStyleType,!0),t+=r?-1:1}},vT=function(A){var e=new ql(A,null),t=new Jl(e),r=[];return Cs(e,t,t,r),jl(e.container,r),t},zl=function(A,e){switch(e){case 0:return de(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return de(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return de(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return de(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},_T=function(A,e){switch(e){case 0:return de(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return de(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return de(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return de(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},NT=function(A,e){switch(e){case 0:return de(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return de(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return de(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return de(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},ST=function(A,e){switch(e){case 0:return da(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return da(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return da(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return da(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},da=function(A,e){var t=[];return le(A)?t.push(A.subdivide(.5,!1)):t.push(A),le(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},de=function(A,e,t,r){var n=[];return le(A)?n.push(A.subdivide(.5,!1)):n.push(A),le(t)?n.push(t.subdivide(.5,!0)):n.push(t),le(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),le(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},$l=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},fa=function(A){var e=A.styles,t=A.bounds,r=fA(e.paddingLeft,t.width),n=fA(e.paddingRight,t.width),a=fA(e.paddingTop,t.width),i=fA(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,a+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+a+i))},LT=function(A,e){return A===0?e.bounds:A===2?fa(e):$l(e)},HT=function(A,e){return A===0?e.bounds:A===2?fa(e):$l(e)},ws=function(A,e,t){var r=LT(Vt(A.styles.backgroundOrigin,e),A),n=HT(Vt(A.styles.backgroundClip,e),A),a=DT(Vt(A.styles.backgroundSize,e),t,r),i=a[0],o=a[1],u=Sr(Vt(A.styles.backgroundPosition,e),r.width-i,r.height-o),l=OT(Vt(A.styles.backgroundRepeat,e),u,a,r,n),d=Math.round(r.left+u[0]),f=Math.round(r.top+u[1]);return[l,d,f,i,o]},Kt=function(A){return uA(A)&&A.value===Ot.AUTO},ha=function(A){return typeof A=="number"},DT=function(A,e,t){var r=e[0],n=e[1],a=e[2],i=A[0],o=A[1];if(!i)return[0,0];if(IA(i)&&o&&IA(o))return[fA(i,t.width),fA(o,t.height)];var u=ha(a);if(uA(i)&&(i.value===Ot.CONTAIN||i.value===Ot.COVER)){if(ha(a)){var l=t.width/t.height;return l<a!=(i.value===Ot.COVER)?[t.width,t.width/a]:[t.height*a,t.height]}return[t.width,t.height]}var d=ha(r),f=ha(n),h=d||f;if(Kt(i)&&(!o||Kt(o))){if(d&&f)return[r,n];if(!u&&!h)return[t.width,t.height];if(h&&u){var C=d?r:n*a,m=f?n:r/a;return[C,m]}var T=d?r:t.width,Q=f?n:t.height;return[T,Q]}if(u){var b=0,v=0;return IA(i)?b=fA(i,t.width):IA(o)&&(v=fA(o,t.height)),Kt(i)?b=v*a:(!o||Kt(o))&&(v=b/a),[b,v]}var H=null,K=null;if(IA(i)?H=fA(i,t.width):o&&IA(o)&&(K=fA(o,t.height)),H!==null&&(!o||Kt(o))&&(K=d&&f?H/r*n:t.height),K!==null&&Kt(i)&&(H=d&&f?K/n*r:t.width),H!==null&&K!==null)return[H,K];throw new Error("Unable to calculate background-size for element")},Vt=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},OT=function(A,e,t,r,n){var a=e[0],i=e[1],o=t[0],u=t[1];switch(A){case 2:return[new M(Math.round(r.left),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(u+r.top+i)),new M(Math.round(r.left),Math.round(u+r.top+i))];case 3:return[new M(Math.round(r.left+a),Math.round(r.top)),new M(Math.round(r.left+a+o),Math.round(r.top)),new M(Math.round(r.left+a+o),Math.round(r.height+r.top)),new M(Math.round(r.left+a),Math.round(r.height+r.top))];case 1:return[new M(Math.round(r.left+a),Math.round(r.top+i)),new M(Math.round(r.left+a+o),Math.round(r.top+i)),new M(Math.round(r.left+a+o),Math.round(r.top+i+u)),new M(Math.round(r.left+a),Math.round(r.top+i+u))];default:return[new M(Math.round(n.left),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.height+n.top)),new M(Math.round(n.left),Math.round(n.height+n.top))]}},RT="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Zl="Hidden Text",MT=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),a=this._document.createElement("span"),i=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",i.appendChild(r),n.src=RT,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",a.style.fontFamily=e,a.style.fontSize=t,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(Zl)),r.appendChild(a),r.appendChild(n);var o=n.offsetTop-a.offsetTop+2;r.removeChild(a),r.appendChild(this._document.createTextNode(Zl)),r.style.lineHeight="normal",n.style.verticalAlign="super";var u=n.offsetTop-r.offsetTop+2;return i.removeChild(r),{baseline:o,middle:u}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A}(),A0=function(){function A(e,t){this.context=e,this.options=t}return A}(),kT=1e4,PT=function(A){pe(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new MT(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),yT(t)&&(this.ctx.globalAlpha=t.opacity),IT(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),Xl(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return JA(this,void 0,void 0,function(){var r;return YA(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return JA(this,void 0,void 0,function(){return YA(this,function(r){switch(r.label){case 0:if(vA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var a=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var i=os(t.text);i.reduce(function(o,u){return a.ctx.fillText(u,o,t.bounds.top+n),o+a.ctx.measureText(u).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(i){return i==="normal"||i==="small-caps"}).join(""),n=XT(t.fontFamily).join(", "),a=Nr(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,a,n].join(" "),n,a]},e.prototype.renderTextNode=function(t,r){return JA(this,void 0,void 0,function(){var n,a,i,o,u,l,d,f,h=this;return YA(this,function(C){return n=this.createFontStyle(r),a=n[0],i=n[1],o=n[2],this.ctx.font=a,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",u=this.fontMetrics.getMetrics(i,o),l=u.baseline,d=u.middle,f=r.paintOrder,t.textBounds.forEach(function(m){f.forEach(function(T){switch(T){case 0:h.ctx.fillStyle=DA(r.color),h.renderTextWithLetterSpacing(m,r.letterSpacing,l);var Q=r.textShadow;Q.length&&m.text.trim().length&&(Q.slice(0).reverse().forEach(function(b){h.ctx.shadowColor=DA(b.color),h.ctx.shadowOffsetX=b.offsetX.number*h.options.scale,h.ctx.shadowOffsetY=b.offsetY.number*h.options.scale,h.ctx.shadowBlur=b.blur.number,h.renderTextWithLetterSpacing(m,r.letterSpacing,l)}),h.ctx.shadowColor="",h.ctx.shadowOffsetX=0,h.ctx.shadowOffsetY=0,h.ctx.shadowBlur=0),r.textDecorationLine.length&&(h.ctx.fillStyle=DA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(b){switch(b){case 1:h.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top+l),m.bounds.width,1);break;case 2:h.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top),m.bounds.width,1);break;case 3:h.ctx.fillRect(m.bounds.left,Math.ceil(m.bounds.top+d),m.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&m.text.trim().length&&(h.ctx.strokeStyle=DA(r.webkitTextStrokeColor),h.ctx.lineWidth=r.webkitTextStrokeWidth,h.ctx.lineJoin=window.chrome?"miter":"round",h.ctx.strokeText(m.text,m.bounds.left,m.bounds.top+l)),h.ctx.strokeStyle="",h.ctx.lineWidth=0,h.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var a=fa(t),i=ca(r);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return JA(this,void 0,void 0,function(){var r,n,a,i,o,u,v,v,l,d,f,h,K,C,m,L,T,Q,b,v,H,K,L;return YA(this,function(E){switch(E.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,a=r.styles,i=0,o=r.textNodes,E.label=1;case 1:return i<o.length?(u=o[i],[4,this.renderTextNode(u,a)]):[3,4];case 2:E.sent(),E.label=3;case 3:return i++,[3,1];case 4:if(!(r instanceof El))return[3,8];E.label=5;case 5:return E.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return v=E.sent(),this.renderReplacedElement(r,n,v),[3,8];case 7:return E.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof ml&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof Cl))return[3,12];E.label=9;case 9:return E.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return v=E.sent(),this.renderReplacedElement(r,n,v),[3,12];case 11:return E.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof Ql&&r.tree?(l=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:d=E.sent(),r.width&&r.height&&this.ctx.drawImage(d,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),E.label=14;case 14:if(r instanceof cs&&(f=Math.min(r.bounds.width,r.bounds.height),r.type===ta?r.checked&&(this.ctx.save(),this.path([new M(r.bounds.left+f*.39363,r.bounds.top+f*.79),new M(r.bounds.left+f*.16,r.bounds.top+f*.5549),new M(r.bounds.left+f*.27347,r.bounds.top+f*.44071),new M(r.bounds.left+f*.39694,r.bounds.top+f*.5649),new M(r.bounds.left+f*.72983,r.bounds.top+f*.23),new M(r.bounds.left+f*.84,r.bounds.top+f*.34085),new M(r.bounds.left+f*.39363,r.bounds.top+f*.79)]),this.ctx.fillStyle=DA(bl),this.ctx.fill(),this.ctx.restore()):r.type===ra&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+f/2,r.bounds.top+f/2,f/4,0,Math.PI*2,!0),this.ctx.fillStyle=DA(bl),this.ctx.fill(),this.ctx.restore())),KT(r)&&r.value.length){switch(h=this.createFontStyle(a),K=h[0],C=h[1],m=this.fontMetrics.getMetrics(K,C).baseline,this.ctx.font=K,this.ctx.fillStyle=DA(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=GT(r.styles.textAlign),L=fa(r),T=0,r.styles.textAlign){case 1:T+=L.width/2;break;case 2:T+=L.width;break}Q=L.add(T,0,0,-L.height/2+1),this.ctx.save(),this.path([new M(L.left,L.top),new M(L.left+L.width,L.top),new M(L.left+L.width,L.top+L.height),new M(L.left,L.top+L.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Or(r.value,Q),a.letterSpacing,m),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!vA(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(b=r.styles.listStyleImage,b.type!==0)return[3,18];v=void 0,H=b.url,E.label=15;case 15:return E.trys.push([15,17,,18]),[4,this.context.cache.match(H)];case 16:return v=E.sent(),this.ctx.drawImage(v,r.bounds.left-(v.width+10),r.bounds.top),[3,18];case 17:return E.sent(),this.context.logger.error("Error loading list-style-image "+H),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(K=this.createFontStyle(a)[0],this.ctx.font=K,this.ctx.fillStyle=DA(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",L=new _e(r.bounds.left,r.bounds.top+fA(r.styles.paddingTop,r.bounds.width),r.bounds.width,Zc(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Or(t.listValue,L),a.letterSpacing,Zc(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),E.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(t){return JA(this,void 0,void 0,function(){var r,n,b,a,i,b,o,u,b,l,d,b,f,h,b,C,m,b,T,Q,b;return YA(this,function(v){switch(v.label){case 0:if(vA(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:v.sent(),r=0,n=t.negativeZIndex,v.label=2;case 2:return r<n.length?(b=n[r],[4,this.renderStack(b)]):[3,5];case 3:v.sent(),v.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:v.sent(),a=0,i=t.nonInlineLevel,v.label=7;case 7:return a<i.length?(b=i[a],[4,this.renderNode(b)]):[3,10];case 8:v.sent(),v.label=9;case 9:return a++,[3,7];case 10:o=0,u=t.nonPositionedFloats,v.label=11;case 11:return o<u.length?(b=u[o],[4,this.renderStack(b)]):[3,14];case 12:v.sent(),v.label=13;case 13:return o++,[3,11];case 14:l=0,d=t.nonPositionedInlineLevel,v.label=15;case 15:return l<d.length?(b=d[l],[4,this.renderStack(b)]):[3,18];case 16:v.sent(),v.label=17;case 17:return l++,[3,15];case 18:f=0,h=t.inlineLevel,v.label=19;case 19:return f<h.length?(b=h[f],[4,this.renderNode(b)]):[3,22];case 20:v.sent(),v.label=21;case 21:return f++,[3,19];case 22:C=0,m=t.zeroOrAutoZIndexOrTransformedOrOpacity,v.label=23;case 23:return C<m.length?(b=m[C],[4,this.renderStack(b)]):[3,26];case 24:v.sent(),v.label=25;case 25:return C++,[3,23];case 26:T=0,Q=t.positiveZIndex,v.label=27;case 27:return T<Q.length?(b=Q[T],[4,this.renderStack(b)]):[3,30];case 28:v.sent(),v.label=29;case 29:return T++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(t){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(t.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},e.prototype.formatPath=function(t){var r=this;t.forEach(function(n,a){var i=le(n)?n.start:n;a===0?r.ctx.moveTo(i.x,i.y):r.ctx.lineTo(i.x,i.y),le(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(t,r,n,a){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,a),this.ctx.fill(),this.ctx.translate(-n,-a)},e.prototype.resizeImage=function(t,r,n){var a;if(t.width===r&&t.height===n)return t;var i=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,o=i.createElement("canvas");o.width=Math.max(1,r),o.height=Math.max(1,n);var u=o.getContext("2d");return u.drawImage(t,0,0,t.width,t.height,0,0,r,n),o},e.prototype.renderBackgroundImage=function(t){return JA(this,void 0,void 0,function(){var r,n,a,i,o,u;return YA(this,function(l){switch(l.label){case 0:r=t.styles.backgroundImage.length-1,n=function(d){var f,h,C,eA,dA,TA,q,nA,R,m,eA,dA,TA,q,nA,T,Q,b,v,H,K,L,E,D,R,k,eA,cA,hA,q,nA,lA,dA,TA,qA,_A,WA,jA,OA,PA,KA,y;return YA(this,function(_){switch(_.label){case 0:if(d.type!==0)return[3,5];f=void 0,h=d.url,_.label=1;case 1:return _.trys.push([1,3,,4]),[4,a.context.cache.match(h)];case 2:return f=_.sent(),[3,4];case 3:return _.sent(),a.context.logger.error("Error loading background-image "+h),[3,4];case 4:return f&&(C=ws(t,r,[f.width,f.height,f.width/f.height]),eA=C[0],dA=C[1],TA=C[2],q=C[3],nA=C[4],R=a.ctx.createPattern(a.resizeImage(f,q,nA),"repeat"),a.renderRepeat(eA,R,dA,TA)),[3,6];case 5:IC(d)?(m=ws(t,r,[null,null,null]),eA=m[0],dA=m[1],TA=m[2],q=m[3],nA=m[4],T=bC(d.angle,q,nA),Q=T[0],b=T[1],v=T[2],H=T[3],K=T[4],L=document.createElement("canvas"),L.width=q,L.height=nA,E=L.getContext("2d"),D=E.createLinearGradient(b,H,v,K),Kc(d.stops,Q).forEach(function(tA){return D.addColorStop(tA.stop,DA(tA.color))}),E.fillStyle=D,E.fillRect(0,0,q,nA),q>0&&nA>0&&(R=a.ctx.createPattern(L,"repeat"),a.renderRepeat(eA,R,dA,TA))):yC(d)&&(k=ws(t,r,[null,null,null]),eA=k[0],cA=k[1],hA=k[2],q=k[3],nA=k[4],lA=d.position.length===0?[Wi]:d.position,dA=fA(lA[0],q),TA=fA(lA[lA.length-1],nA),qA=TC(d,dA,TA,q,nA),_A=qA[0],WA=qA[1],_A>0&&WA>0&&(jA=a.ctx.createRadialGradient(cA+dA,hA+TA,0,cA+dA,hA+TA,_A),Kc(d.stops,_A*2).forEach(function(tA){return jA.addColorStop(tA.stop,DA(tA.color))}),a.path(eA),a.ctx.fillStyle=jA,_A!==WA?(OA=t.bounds.left+.5*t.bounds.width,PA=t.bounds.top+.5*t.bounds.height,KA=WA/_A,y=1/KA,a.ctx.save(),a.ctx.translate(OA,PA),a.ctx.transform(1,0,0,KA,0,0),a.ctx.translate(-OA,-PA),a.ctx.fillRect(cA,y*(hA-PA)+PA,q,nA*y),a.ctx.restore()):a.ctx.fill())),_.label=6;case 6:return r--,[2]}})},a=this,i=0,o=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return i<o.length?(u=o[i],[5,n(u)]):[3,4];case 2:l.sent(),l.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(t,r,n){return JA(this,void 0,void 0,function(){return YA(this,function(a){return this.path(zl(n,r)),this.ctx.fillStyle=DA(t),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(t,r,n,a){return JA(this,void 0,void 0,function(){var i,o;return YA(this,function(u){switch(u.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,a)]:[3,2];case 1:return u.sent(),[2];case 2:return i=_T(a,n),this.path(i),this.ctx.fillStyle=DA(t),this.ctx.fill(),o=NT(a,n),this.path(o),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(t){return JA(this,void 0,void 0,function(){var r,n,a,i,o,u,l,d,f=this;return YA(this,function(h){switch(h.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!ze(r.backgroundColor)||r.backgroundImage.length,a=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],i=VT(Vt(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),ze(r.backgroundColor)||(this.ctx.fillStyle=DA(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:h.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(C){f.ctx.save();var m=ua(t.curves),T=C.inset?0:kT,Q=xT(m,-T+(C.inset?1:-1)*C.spread.number,(C.inset?1:-1)*C.spread.number,C.spread.number*(C.inset?-2:2),C.spread.number*(C.inset?-2:2));C.inset?(f.path(m),f.ctx.clip(),f.mask(Q)):(f.mask(m),f.ctx.clip(),f.path(Q)),f.ctx.shadowOffsetX=C.offsetX.number+T,f.ctx.shadowOffsetY=C.offsetY.number,f.ctx.shadowColor=DA(C.color),f.ctx.shadowBlur=C.blur.number,f.ctx.fillStyle=C.inset?DA(C.color):"rgba(0,0,0,1)",f.ctx.fill(),f.ctx.restore()}),h.label=2;case 2:o=0,u=0,l=a,h.label=3;case 3:return u<l.length?(d=l[u],d.style!==0&&!ze(d.color)&&d.width>0?d.style!==2?[3,5]:[4,this.renderDashedDottedBorder(d.color,d.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return h.sent(),[3,11];case 5:return d.style!==3?[3,7]:[4,this.renderDashedDottedBorder(d.color,d.width,o,t.curves,3)];case 6:return h.sent(),[3,11];case 7:return d.style!==4?[3,9]:[4,this.renderDoubleBorder(d.color,d.width,o,t.curves)];case 8:return h.sent(),[3,11];case 9:return[4,this.renderSolidBorder(d.color,o,t.curves)];case 10:h.sent(),h.label=11;case 11:o++,h.label=12;case 12:return u++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,a,i){return JA(this,void 0,void 0,function(){var o,u,l,d,f,h,C,m,T,Q,b,v,H,K,L,E,L,E;return YA(this,function(D){return this.ctx.save(),o=ST(a,n),u=zl(a,n),i===2&&(this.path(u),this.ctx.clip()),le(u[0])?(l=u[0].start.x,d=u[0].start.y):(l=u[0].x,d=u[0].y),le(u[1])?(f=u[1].end.x,h=u[1].end.y):(f=u[1].x,h=u[1].y),n===0||n===2?C=Math.abs(l-f):C=Math.abs(d-h),this.ctx.beginPath(),i===3?this.formatPath(o):this.formatPath(u.slice(0,2)),m=r<3?r*3:r*2,T=r<3?r*2:r,i===3&&(m=r,T=r),Q=!0,C<=m*2?Q=!1:C<=m*2+T?(b=C/(2*m+T),m*=b,T*=b):(v=Math.floor((C+T)/(m+T)),H=(C-v*m)/(v-1),K=(C-(v+1)*m)/v,T=K<=0||Math.abs(T-H)<Math.abs(T-K)?H:K),Q&&(i===3?this.ctx.setLineDash([0,m+T]):this.ctx.setLineDash([m,T])),i===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=DA(t),this.ctx.stroke(),this.ctx.setLineDash([]),i===2&&(le(u[0])&&(L=u[3],E=u[0],this.ctx.beginPath(),this.formatPath([new M(L.end.x,L.end.y),new M(E.start.x,E.start.y)]),this.ctx.stroke()),le(u[1])&&(L=u[1],E=u[2],this.ctx.beginPath(),this.formatPath([new M(L.end.x,L.end.y),new M(E.start.x,E.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(t){return JA(this,void 0,void 0,function(){var r;return YA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=DA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=vT(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e}(A0),KT=function(A){return A instanceof Ul||A instanceof Tl?!0:A instanceof cs&&A.type!==ra&&A.type!==ta},VT=function(A,e){switch(A){case 0:return ua(e);case 2:return UT(e);case 1:default:return ca(e)}},GT=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},YT=["-apple-system","system-ui"],XT=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(e){return YT.indexOf(e)===-1}):A},WT=function(A){pe(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(t){return JA(this,void 0,void 0,function(){var r,n;return YA(this,function(a){switch(a.label){case 0:return r=ss(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,JT(r)];case 1:return n=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=DA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(A0),JT=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},qT=function(){function A(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return A.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,bn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,bn([this.id,this.getTime()+"ms"],e))},A.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,bn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,bn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.instances={},A}(),jT=function(){function A(e,t){var r;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new qT({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new gT(this,e)}return A.instanceCount=1,A}(),zT=function(A,e){return e===void 0&&(e={}),$T(A,e)};typeof window<"u"&&Yl.setContext(window);var $T=function(A,e){return JA(void 0,void 0,void 0,function(){var t,r,n,a,i,o,u,l,d,f,h,C,m,T,Q,b,v,H,K,L,D,E,D,R,k,eA,cA,hA,q,nA,lA,dA,TA,qA,_A,WA,jA,OA,PA,KA;return YA(this,function(y){switch(y.label){case 0:if(!A||typeof A!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=A.ownerDocument,!t)throw new Error("Element is not attached to a Document");if(r=t.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(R=e.allowTaint)!==null&&R!==void 0?R:!1,imageTimeout:(k=e.imageTimeout)!==null&&k!==void 0?k:15e3,proxy:e.proxy,useCORS:(eA=e.useCORS)!==null&&eA!==void 0?eA:!1},a=Fi({logging:(cA=e.logging)!==null&&cA!==void 0?cA:!0,cache:e.cache},n),i={windowWidth:(hA=e.windowWidth)!==null&&hA!==void 0?hA:r.innerWidth,windowHeight:(q=e.windowHeight)!==null&&q!==void 0?q:r.innerHeight,scrollX:(nA=e.scrollX)!==null&&nA!==void 0?nA:r.pageXOffset,scrollY:(lA=e.scrollY)!==null&&lA!==void 0?lA:r.pageYOffset},o=new _e(i.scrollX,i.scrollY,i.windowWidth,i.windowHeight),u=new jT(a,o),l=(dA=e.foreignObjectRendering)!==null&&dA!==void 0?dA:!1,d={allowTaint:(TA=e.allowTaint)!==null&&TA!==void 0?TA:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},u.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),f=new Vl(u,A,d),h=f.clonedReferenceElement,h?[4,f.toIFrame(t,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return C=y.sent(),m=ds(h)||Zb(h)?xm(h.ownerDocument):Tn(u,h),T=m.width,Q=m.height,b=m.left,v=m.top,H=ZT(u,h,e.backgroundColor),K={canvas:e.canvas,backgroundColor:H,scale:(_A=(qA=e.scale)!==null&&qA!==void 0?qA:r.devicePixelRatio)!==null&&_A!==void 0?_A:1,x:((WA=e.x)!==null&&WA!==void 0?WA:0)+b,y:((jA=e.y)!==null&&jA!==void 0?jA:0)+v,width:(OA=e.width)!==null&&OA!==void 0?OA:Math.ceil(T),height:(PA=e.height)!==null&&PA!==void 0?PA:Math.ceil(Q)},l?(u.logger.debug("Document cloned, using foreign object rendering"),D=new WT(u,K),[4,D.render(h)]):[3,3];case 2:return L=y.sent(),[3,5];case 3:return u.logger.debug("Document cloned, element located at "+b+","+v+" with size "+T+"x"+Q+" using computed rendering"),u.logger.debug("Starting DOM parsing"),E=Il(u,h),H===E.styles.backgroundColor&&(E.styles.backgroundColor=Se.TRANSPARENT),u.logger.debug("Starting renderer for element at "+K.x+","+K.y+" with size "+K.width+"x"+K.height),D=new PT(u,K),[4,D.render(E)];case 4:L=y.sent(),y.label=5;case 5:return(!((KA=e.removeContainer)!==null&&KA!==void 0)||KA)&&(Vl.destroy(C)||u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),u.logger.debug("Finished rendering"),[2,L]}})})},ZT=function(A,e,t){var r=e.ownerDocument,n=r.documentElement?Lr(A,getComputedStyle(r.documentElement).backgroundColor):Se.TRANSPARENT,a=r.body?Lr(A,getComputedStyle(r.body).backgroundColor):Se.TRANSPARENT,i=typeof t=="string"?Lr(A,t):t===null?Se.TRANSPARENT:4294967295;return e===r.documentElement?ze(n)?ze(a)?i:a:n:i};const AU=`.gp-message[data-v-a234b03c]{z-index:999999;transition:all .3s ease;max-width:300px;font-family:微软雅黑}.message-content[data-v-a234b03c]{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;border-radius:4px;box-shadow:0 2px 8px #00000026;font-size:14px}.close-btn[data-v-a234b03c]{background:none;border:none;color:#4b5563;cursor:pointer;margin-left:10px;line-height:1;padding:0}.fade-enter-active[data-v-a234b03c],.fade-leave-active[data-v-a234b03c]{transition:opacity .3s}.fade-enter-from[data-v-a234b03c],.fade-leave-to[data-v-a234b03c]{opacity:0}[contenteditable=true][data-v-3a877c04]:focus{outline:none}[contenteditable=true][data-v-3a877c04]{outline:none}textarea[data-v-3a877c04]{resize:none;border:none;outline:none;background:transparent}.custom-checkbox[data-v-68b8f276]{width:16px;height:16px;border:2px solid #d1d5db;border-radius:4px;background-color:#fff;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;cursor:pointer;transition:all .2s ease}.custom-checkbox[data-v-68b8f276]:checked{border-color:#3b82f6;background-color:#3b82f6}.custom-checkbox[data-v-68b8f276]:checked:after{content:"✓";color:#fff;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.checkbox-label[data-v-68b8f276]{line-height:1.2;font-size:14px;color:#4b5563}.border[data-v-30b99148]{border:1px solid #ccc}.custom-checkbox[data-v-30b99148]{width:18px;height:18px;border:2px solid #d1d5db;border-radius:4px;background-color:#fff;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;cursor:pointer;transition:all .2s ease}.custom-checkbox[data-v-30b99148]:checked{border-color:#3b82f6;background-color:#3b82f6}.custom-checkbox[data-v-30b99148]:checked:after{content:"✓";color:#fff;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}/*!
39
+ .`+ps+fT+Gl)},BT=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},Yl=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}(),gT=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(ms(e)||CT(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return JA(this,void 0,void 0,function(){var t,r,n,a,i=this;return YA(this,function(o){switch(o.label){case 0:return t=Yl.isSameOrigin(e),r=!Es(e)&&this._options.useCORS===!0&&kA.SUPPORT_CORS_IMAGES&&!t,n=!Es(e)&&!t&&!ms(e)&&typeof this._options.proxy=="string"&&kA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!Es(e)&&!ms(e)&&!n&&!r?[2]:(a=e,n?[4,this.proxy(a)]:[3,2]);case 1:a=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(u,l){var d=new Image;d.onload=function(){return u(d)},d.onerror=l,(wT(a)||r)&&(d.crossOrigin="anonymous"),d.src=a,d.complete===!0&&setTimeout(function(){return u(d)},500),i._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+i._options.imageTimeout+"ms) loading image")},i._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(a,i){var o=kA.SUPPORT_RESPONSE_TYPE?"blob":"text",u=new XMLHttpRequest;u.onload=function(){if(u.status===200)if(o==="text")a(u.response);else{var f=new FileReader;f.addEventListener("load",function(){return a(f.result)},!1),f.addEventListener("error",function(h){return i(h)},!1),f.readAsDataURL(u.response)}else i("Failed to proxy resource "+n+" with status code "+u.status)},u.onerror=i;var l=r.indexOf("?")>-1?"&":"?";if(u.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&u instanceof XMLHttpRequest&&(u.responseType=o),t._options.imageTimeout){var d=t._options.imageTimeout;u.timeout=d,u.ontimeout=function(){return i("Timed out ("+d+"ms) proxying "+n)}}u.send()})},A}(),pT=/^data:image\/svg\+xml/i,ET=/^data:image\/.*;base64,/i,mT=/^data:image\/.*/i,CT=function(A){return kA.SUPPORT_SVG_DRAWING||!bT(A)},Es=function(A){return mT.test(A)},wT=function(A){return ET.test(A)},ms=function(A){return A.substr(0,4)==="blob"},bT=function(A){return A.substr(-3).toLowerCase()==="svg"||pT.test(A)},M=function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),Pt=function(A,e,t){return new M(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},oa=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=Pt(this.start,this.startControl,e),n=Pt(this.startControl,this.endControl,e),a=Pt(this.endControl,this.end,e),i=Pt(r,n,e),o=Pt(n,a,e),u=Pt(i,o,e);return t?new A(this.start,r,i,u):new A(u,o,a,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}(),le=function(A){return A.type===1},TT=function(){function A(e){var t=e.styles,r=e.bounds,n=Sr(t.borderTopLeftRadius,r.width,r.height),a=n[0],i=n[1],o=Sr(t.borderTopRightRadius,r.width,r.height),u=o[0],l=o[1],d=Sr(t.borderBottomRightRadius,r.width,r.height),f=d[0],h=d[1],C=Sr(t.borderBottomLeftRadius,r.width,r.height),m=C[0],T=C[1],Q=[];Q.push((a+u)/r.width),Q.push((m+f)/r.width),Q.push((i+T)/r.height),Q.push((l+h)/r.height);var b=Math.max.apply(Math,Q);b>1&&(a/=b,i/=b,u/=b,l/=b,f/=b,h/=b,m/=b,T/=b);var v=r.width-u,H=r.height-h,K=r.width-f,L=r.height-T,E=t.borderTopWidth,O=t.borderRightWidth,R=t.borderBottomWidth,k=t.borderLeftWidth,eA=fA(t.paddingTop,e.bounds.width),cA=fA(t.paddingRight,e.bounds.width),hA=fA(t.paddingBottom,e.bounds.width),q=fA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||i>0?mA(r.left+k/3,r.top+E/3,a-k/3,i-E/3,sA.TOP_LEFT):new M(r.left+k/3,r.top+E/3),this.topRightBorderDoubleOuterBox=a>0||i>0?mA(r.left+v,r.top+E/3,u-O/3,l-E/3,sA.TOP_RIGHT):new M(r.left+r.width-O/3,r.top+E/3),this.bottomRightBorderDoubleOuterBox=f>0||h>0?mA(r.left+K,r.top+H,f-O/3,h-R/3,sA.BOTTOM_RIGHT):new M(r.left+r.width-O/3,r.top+r.height-R/3),this.bottomLeftBorderDoubleOuterBox=m>0||T>0?mA(r.left+k/3,r.top+L,m-k/3,T-R/3,sA.BOTTOM_LEFT):new M(r.left+k/3,r.top+r.height-R/3),this.topLeftBorderDoubleInnerBox=a>0||i>0?mA(r.left+k*2/3,r.top+E*2/3,a-k*2/3,i-E*2/3,sA.TOP_LEFT):new M(r.left+k*2/3,r.top+E*2/3),this.topRightBorderDoubleInnerBox=a>0||i>0?mA(r.left+v,r.top+E*2/3,u-O*2/3,l-E*2/3,sA.TOP_RIGHT):new M(r.left+r.width-O*2/3,r.top+E*2/3),this.bottomRightBorderDoubleInnerBox=f>0||h>0?mA(r.left+K,r.top+H,f-O*2/3,h-R*2/3,sA.BOTTOM_RIGHT):new M(r.left+r.width-O*2/3,r.top+r.height-R*2/3),this.bottomLeftBorderDoubleInnerBox=m>0||T>0?mA(r.left+k*2/3,r.top+L,m-k*2/3,T-R*2/3,sA.BOTTOM_LEFT):new M(r.left+k*2/3,r.top+r.height-R*2/3),this.topLeftBorderStroke=a>0||i>0?mA(r.left+k/2,r.top+E/2,a-k/2,i-E/2,sA.TOP_LEFT):new M(r.left+k/2,r.top+E/2),this.topRightBorderStroke=a>0||i>0?mA(r.left+v,r.top+E/2,u-O/2,l-E/2,sA.TOP_RIGHT):new M(r.left+r.width-O/2,r.top+E/2),this.bottomRightBorderStroke=f>0||h>0?mA(r.left+K,r.top+H,f-O/2,h-R/2,sA.BOTTOM_RIGHT):new M(r.left+r.width-O/2,r.top+r.height-R/2),this.bottomLeftBorderStroke=m>0||T>0?mA(r.left+k/2,r.top+L,m-k/2,T-R/2,sA.BOTTOM_LEFT):new M(r.left+k/2,r.top+r.height-R/2),this.topLeftBorderBox=a>0||i>0?mA(r.left,r.top,a,i,sA.TOP_LEFT):new M(r.left,r.top),this.topRightBorderBox=u>0||l>0?mA(r.left+v,r.top,u,l,sA.TOP_RIGHT):new M(r.left+r.width,r.top),this.bottomRightBorderBox=f>0||h>0?mA(r.left+K,r.top+H,f,h,sA.BOTTOM_RIGHT):new M(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=m>0||T>0?mA(r.left,r.top+L,m,T,sA.BOTTOM_LEFT):new M(r.left,r.top+r.height),this.topLeftPaddingBox=a>0||i>0?mA(r.left+k,r.top+E,Math.max(0,a-k),Math.max(0,i-E),sA.TOP_LEFT):new M(r.left+k,r.top+E),this.topRightPaddingBox=u>0||l>0?mA(r.left+Math.min(v,r.width-O),r.top+E,v>r.width+O?0:Math.max(0,u-O),Math.max(0,l-E),sA.TOP_RIGHT):new M(r.left+r.width-O,r.top+E),this.bottomRightPaddingBox=f>0||h>0?mA(r.left+Math.min(K,r.width-k),r.top+Math.min(H,r.height-R),Math.max(0,f-O),Math.max(0,h-R),sA.BOTTOM_RIGHT):new M(r.left+r.width-O,r.top+r.height-R),this.bottomLeftPaddingBox=m>0||T>0?mA(r.left+k,r.top+Math.min(L,r.height-R),Math.max(0,m-k),Math.max(0,T-R),sA.BOTTOM_LEFT):new M(r.left+k,r.top+r.height-R),this.topLeftContentBox=a>0||i>0?mA(r.left+k+q,r.top+E+eA,Math.max(0,a-(k+q)),Math.max(0,i-(E+eA)),sA.TOP_LEFT):new M(r.left+k+q,r.top+E+eA),this.topRightContentBox=u>0||l>0?mA(r.left+Math.min(v,r.width+k+q),r.top+E+eA,v>r.width+k+q?0:u-k+q,l-(E+eA),sA.TOP_RIGHT):new M(r.left+r.width-(O+cA),r.top+E+eA),this.bottomRightContentBox=f>0||h>0?mA(r.left+Math.min(K,r.width-(k+q)),r.top+Math.min(H,r.height+E+eA),Math.max(0,f-(O+cA)),h-(R+hA),sA.BOTTOM_RIGHT):new M(r.left+r.width-(O+cA),r.top+r.height-(R+hA)),this.bottomLeftContentBox=m>0||T>0?mA(r.left+k+q,r.top+L,Math.max(0,m-(k+q)),T-(R+hA),sA.BOTTOM_LEFT):new M(r.left+k+q,r.top+r.height-(R+hA))}return A}(),sA;(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"})(sA||(sA={}));var mA=function(A,e,t,r,n){var a=4*((Math.sqrt(2)-1)/3),i=t*a,o=r*a,u=A+t,l=e+r;switch(n){case sA.TOP_LEFT:return new oa(new M(A,l),new M(A,l-o),new M(u-i,e),new M(u,e));case sA.TOP_RIGHT:return new oa(new M(A,e),new M(A+i,e),new M(u,l-o),new M(u,l));case sA.BOTTOM_RIGHT:return new oa(new M(u,e),new M(u,e+o),new M(A+i,l),new M(A,l));case sA.BOTTOM_LEFT:default:return new oa(new M(u,l),new M(u-i,l),new M(A,e+o),new M(A,e))}},ua=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},UT=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},ca=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},QT=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),la=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),FT=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),IT=function(A){return A.type===0},Xl=function(A){return A.type===1},yT=function(A){return A.type===2},Wl=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},xT=function(A,e,t,r,n){return A.map(function(a,i){switch(i){case 0:return a.add(e,t);case 1:return a.add(e+r,t);case 2:return a.add(e+r,t+n);case 3:return a.add(e,t+n)}return a})},Jl=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),ql=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new TT(this.container),this.container.styles.opacity<1&&this.effects.push(new FT(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new QT(r,n,a))}if(this.container.styles.overflowX!==0){var i=ua(this.curves),o=ca(this.curves);Wl(i,o)?this.effects.push(new la(i,6)):(this.effects.push(new la(i,2)),this.effects.push(new la(o,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var a=r.effects.filter(function(u){return!Xl(u)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,a),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var i=ua(r.curves),o=ca(r.curves);Wl(i,o)||n.unshift(new la(o,6))}}else n.unshift.apply(n,a);r=r.parent}return n.filter(function(u){return vA(u.target,e)})},A}(),Cs=function(A,e,t,r){A.container.elements.forEach(function(n){var a=vA(n.flags,4),i=vA(n.flags,2),o=new ql(n,A);vA(n.styles.display,2048)&&r.push(o);var u=vA(n.flags,8)?[]:r;if(a||i){var l=a||n.styles.isPositioned()?t:e,d=new Jl(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var f=n.styles.zIndex.order;if(f<0){var h=0;l.negativeZIndex.some(function(m,T){return f>m.element.container.styles.zIndex.order?(h=T,!1):h>0}),l.negativeZIndex.splice(h,0,d)}else if(f>0){var C=0;l.positiveZIndex.some(function(m,T){return f>=m.element.container.styles.zIndex.order?(C=T+1,!1):C>0}),l.positiveZIndex.splice(C,0,d)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(d)}else n.styles.isFloating()?l.nonPositionedFloats.push(d):l.nonPositionedInlineLevel.push(d);Cs(o,d,a?d:t,u)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Cs(o,e,t,u);vA(n.flags,8)&&jl(n,u)})},jl=function(A,e){for(var t=A instanceof us?A.start:1,r=A instanceof us?A.reversed:!1,n=0;n<e.length;n++){var a=e[n];a.container instanceof wl&&typeof a.container.value=="number"&&a.container.value!==0&&(t=a.container.value),a.listValue=Mr(t,a.container.styles.listStyleType,!0),t+=r?-1:1}},vT=function(A){var e=new ql(A,null),t=new Jl(e),r=[];return Cs(e,t,t,r),jl(e.container,r),t},zl=function(A,e){switch(e){case 0:return de(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return de(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return de(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return de(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},_T=function(A,e){switch(e){case 0:return de(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return de(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return de(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return de(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},NT=function(A,e){switch(e){case 0:return de(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return de(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return de(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return de(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},ST=function(A,e){switch(e){case 0:return da(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return da(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return da(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return da(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},da=function(A,e){var t=[];return le(A)?t.push(A.subdivide(.5,!1)):t.push(A),le(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},de=function(A,e,t,r){var n=[];return le(A)?n.push(A.subdivide(.5,!1)):n.push(A),le(t)?n.push(t.subdivide(.5,!0)):n.push(t),le(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),le(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},$l=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},fa=function(A){var e=A.styles,t=A.bounds,r=fA(e.paddingLeft,t.width),n=fA(e.paddingRight,t.width),a=fA(e.paddingTop,t.width),i=fA(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,a+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+a+i))},LT=function(A,e){return A===0?e.bounds:A===2?fa(e):$l(e)},HT=function(A,e){return A===0?e.bounds:A===2?fa(e):$l(e)},ws=function(A,e,t){var r=LT(Vt(A.styles.backgroundOrigin,e),A),n=HT(Vt(A.styles.backgroundClip,e),A),a=DT(Vt(A.styles.backgroundSize,e),t,r),i=a[0],o=a[1],u=Sr(Vt(A.styles.backgroundPosition,e),r.width-i,r.height-o),l=OT(Vt(A.styles.backgroundRepeat,e),u,a,r,n),d=Math.round(r.left+u[0]),f=Math.round(r.top+u[1]);return[l,d,f,i,o]},Kt=function(A){return uA(A)&&A.value===Ot.AUTO},ha=function(A){return typeof A=="number"},DT=function(A,e,t){var r=e[0],n=e[1],a=e[2],i=A[0],o=A[1];if(!i)return[0,0];if(IA(i)&&o&&IA(o))return[fA(i,t.width),fA(o,t.height)];var u=ha(a);if(uA(i)&&(i.value===Ot.CONTAIN||i.value===Ot.COVER)){if(ha(a)){var l=t.width/t.height;return l<a!=(i.value===Ot.COVER)?[t.width,t.width/a]:[t.height*a,t.height]}return[t.width,t.height]}var d=ha(r),f=ha(n),h=d||f;if(Kt(i)&&(!o||Kt(o))){if(d&&f)return[r,n];if(!u&&!h)return[t.width,t.height];if(h&&u){var C=d?r:n*a,m=f?n:r/a;return[C,m]}var T=d?r:t.width,Q=f?n:t.height;return[T,Q]}if(u){var b=0,v=0;return IA(i)?b=fA(i,t.width):IA(o)&&(v=fA(o,t.height)),Kt(i)?b=v*a:(!o||Kt(o))&&(v=b/a),[b,v]}var H=null,K=null;if(IA(i)?H=fA(i,t.width):o&&IA(o)&&(K=fA(o,t.height)),H!==null&&(!o||Kt(o))&&(K=d&&f?H/r*n:t.height),K!==null&&Kt(i)&&(H=d&&f?K/n*r:t.width),H!==null&&K!==null)return[H,K];throw new Error("Unable to calculate background-size for element")},Vt=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},OT=function(A,e,t,r,n){var a=e[0],i=e[1],o=t[0],u=t[1];switch(A){case 2:return[new M(Math.round(r.left),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(r.top+i)),new M(Math.round(r.left+r.width),Math.round(u+r.top+i)),new M(Math.round(r.left),Math.round(u+r.top+i))];case 3:return[new M(Math.round(r.left+a),Math.round(r.top)),new M(Math.round(r.left+a+o),Math.round(r.top)),new M(Math.round(r.left+a+o),Math.round(r.height+r.top)),new M(Math.round(r.left+a),Math.round(r.height+r.top))];case 1:return[new M(Math.round(r.left+a),Math.round(r.top+i)),new M(Math.round(r.left+a+o),Math.round(r.top+i)),new M(Math.round(r.left+a+o),Math.round(r.top+i+u)),new M(Math.round(r.left+a),Math.round(r.top+i+u))];default:return[new M(Math.round(n.left),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.height+n.top)),new M(Math.round(n.left),Math.round(n.height+n.top))]}},RT="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Zl="Hidden Text",MT=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),a=this._document.createElement("span"),i=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",i.appendChild(r),n.src=RT,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",a.style.fontFamily=e,a.style.fontSize=t,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(Zl)),r.appendChild(a),r.appendChild(n);var o=n.offsetTop-a.offsetTop+2;r.removeChild(a),r.appendChild(this._document.createTextNode(Zl)),r.style.lineHeight="normal",n.style.verticalAlign="super";var u=n.offsetTop-r.offsetTop+2;return i.removeChild(r),{baseline:o,middle:u}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A}(),A0=function(){function A(e,t){this.context=e,this.options=t}return A}(),kT=1e4,PT=function(A){Ee(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new MT(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),yT(t)&&(this.ctx.globalAlpha=t.opacity),IT(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),Xl(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return JA(this,void 0,void 0,function(){var r;return YA(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return JA(this,void 0,void 0,function(){return YA(this,function(r){switch(r.label){case 0:if(vA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var a=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var i=os(t.text);i.reduce(function(o,u){return a.ctx.fillText(u,o,t.bounds.top+n),o+a.ctx.measureText(u).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(i){return i==="normal"||i==="small-caps"}).join(""),n=XT(t.fontFamily).join(", "),a=Nr(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,a,n].join(" "),n,a]},e.prototype.renderTextNode=function(t,r){return JA(this,void 0,void 0,function(){var n,a,i,o,u,l,d,f,h=this;return YA(this,function(C){return n=this.createFontStyle(r),a=n[0],i=n[1],o=n[2],this.ctx.font=a,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",u=this.fontMetrics.getMetrics(i,o),l=u.baseline,d=u.middle,f=r.paintOrder,t.textBounds.forEach(function(m){f.forEach(function(T){switch(T){case 0:h.ctx.fillStyle=DA(r.color),h.renderTextWithLetterSpacing(m,r.letterSpacing,l);var Q=r.textShadow;Q.length&&m.text.trim().length&&(Q.slice(0).reverse().forEach(function(b){h.ctx.shadowColor=DA(b.color),h.ctx.shadowOffsetX=b.offsetX.number*h.options.scale,h.ctx.shadowOffsetY=b.offsetY.number*h.options.scale,h.ctx.shadowBlur=b.blur.number,h.renderTextWithLetterSpacing(m,r.letterSpacing,l)}),h.ctx.shadowColor="",h.ctx.shadowOffsetX=0,h.ctx.shadowOffsetY=0,h.ctx.shadowBlur=0),r.textDecorationLine.length&&(h.ctx.fillStyle=DA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(b){switch(b){case 1:h.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top+l),m.bounds.width,1);break;case 2:h.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top),m.bounds.width,1);break;case 3:h.ctx.fillRect(m.bounds.left,Math.ceil(m.bounds.top+d),m.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&m.text.trim().length&&(h.ctx.strokeStyle=DA(r.webkitTextStrokeColor),h.ctx.lineWidth=r.webkitTextStrokeWidth,h.ctx.lineJoin=window.chrome?"miter":"round",h.ctx.strokeText(m.text,m.bounds.left,m.bounds.top+l)),h.ctx.strokeStyle="",h.ctx.lineWidth=0,h.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var a=fa(t),i=ca(r);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return JA(this,void 0,void 0,function(){var r,n,a,i,o,u,v,v,l,d,f,h,K,C,m,L,T,Q,b,v,H,K,L;return YA(this,function(E){switch(E.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,a=r.styles,i=0,o=r.textNodes,E.label=1;case 1:return i<o.length?(u=o[i],[4,this.renderTextNode(u,a)]):[3,4];case 2:E.sent(),E.label=3;case 3:return i++,[3,1];case 4:if(!(r instanceof El))return[3,8];E.label=5;case 5:return E.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return v=E.sent(),this.renderReplacedElement(r,n,v),[3,8];case 7:return E.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof ml&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof Cl))return[3,12];E.label=9;case 9:return E.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return v=E.sent(),this.renderReplacedElement(r,n,v),[3,12];case 11:return E.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof Ql&&r.tree?(l=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:d=E.sent(),r.width&&r.height&&this.ctx.drawImage(d,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),E.label=14;case 14:if(r instanceof cs&&(f=Math.min(r.bounds.width,r.bounds.height),r.type===ta?r.checked&&(this.ctx.save(),this.path([new M(r.bounds.left+f*.39363,r.bounds.top+f*.79),new M(r.bounds.left+f*.16,r.bounds.top+f*.5549),new M(r.bounds.left+f*.27347,r.bounds.top+f*.44071),new M(r.bounds.left+f*.39694,r.bounds.top+f*.5649),new M(r.bounds.left+f*.72983,r.bounds.top+f*.23),new M(r.bounds.left+f*.84,r.bounds.top+f*.34085),new M(r.bounds.left+f*.39363,r.bounds.top+f*.79)]),this.ctx.fillStyle=DA(bl),this.ctx.fill(),this.ctx.restore()):r.type===ra&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+f/2,r.bounds.top+f/2,f/4,0,Math.PI*2,!0),this.ctx.fillStyle=DA(bl),this.ctx.fill(),this.ctx.restore())),KT(r)&&r.value.length){switch(h=this.createFontStyle(a),K=h[0],C=h[1],m=this.fontMetrics.getMetrics(K,C).baseline,this.ctx.font=K,this.ctx.fillStyle=DA(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=GT(r.styles.textAlign),L=fa(r),T=0,r.styles.textAlign){case 1:T+=L.width/2;break;case 2:T+=L.width;break}Q=L.add(T,0,0,-L.height/2+1),this.ctx.save(),this.path([new M(L.left,L.top),new M(L.left+L.width,L.top),new M(L.left+L.width,L.top+L.height),new M(L.left,L.top+L.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Or(r.value,Q),a.letterSpacing,m),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!vA(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(b=r.styles.listStyleImage,b.type!==0)return[3,18];v=void 0,H=b.url,E.label=15;case 15:return E.trys.push([15,17,,18]),[4,this.context.cache.match(H)];case 16:return v=E.sent(),this.ctx.drawImage(v,r.bounds.left-(v.width+10),r.bounds.top),[3,18];case 17:return E.sent(),this.context.logger.error("Error loading list-style-image "+H),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(K=this.createFontStyle(a)[0],this.ctx.font=K,this.ctx.fillStyle=DA(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",L=new _e(r.bounds.left,r.bounds.top+fA(r.styles.paddingTop,r.bounds.width),r.bounds.width,Zc(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Or(t.listValue,L),a.letterSpacing,Zc(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),E.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(t){return JA(this,void 0,void 0,function(){var r,n,b,a,i,b,o,u,b,l,d,b,f,h,b,C,m,b,T,Q,b;return YA(this,function(v){switch(v.label){case 0:if(vA(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:v.sent(),r=0,n=t.negativeZIndex,v.label=2;case 2:return r<n.length?(b=n[r],[4,this.renderStack(b)]):[3,5];case 3:v.sent(),v.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:v.sent(),a=0,i=t.nonInlineLevel,v.label=7;case 7:return a<i.length?(b=i[a],[4,this.renderNode(b)]):[3,10];case 8:v.sent(),v.label=9;case 9:return a++,[3,7];case 10:o=0,u=t.nonPositionedFloats,v.label=11;case 11:return o<u.length?(b=u[o],[4,this.renderStack(b)]):[3,14];case 12:v.sent(),v.label=13;case 13:return o++,[3,11];case 14:l=0,d=t.nonPositionedInlineLevel,v.label=15;case 15:return l<d.length?(b=d[l],[4,this.renderStack(b)]):[3,18];case 16:v.sent(),v.label=17;case 17:return l++,[3,15];case 18:f=0,h=t.inlineLevel,v.label=19;case 19:return f<h.length?(b=h[f],[4,this.renderNode(b)]):[3,22];case 20:v.sent(),v.label=21;case 21:return f++,[3,19];case 22:C=0,m=t.zeroOrAutoZIndexOrTransformedOrOpacity,v.label=23;case 23:return C<m.length?(b=m[C],[4,this.renderStack(b)]):[3,26];case 24:v.sent(),v.label=25;case 25:return C++,[3,23];case 26:T=0,Q=t.positiveZIndex,v.label=27;case 27:return T<Q.length?(b=Q[T],[4,this.renderStack(b)]):[3,30];case 28:v.sent(),v.label=29;case 29:return T++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(t){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(t.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},e.prototype.formatPath=function(t){var r=this;t.forEach(function(n,a){var i=le(n)?n.start:n;a===0?r.ctx.moveTo(i.x,i.y):r.ctx.lineTo(i.x,i.y),le(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(t,r,n,a){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,a),this.ctx.fill(),this.ctx.translate(-n,-a)},e.prototype.resizeImage=function(t,r,n){var a;if(t.width===r&&t.height===n)return t;var i=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,o=i.createElement("canvas");o.width=Math.max(1,r),o.height=Math.max(1,n);var u=o.getContext("2d");return u.drawImage(t,0,0,t.width,t.height,0,0,r,n),o},e.prototype.renderBackgroundImage=function(t){return JA(this,void 0,void 0,function(){var r,n,a,i,o,u;return YA(this,function(l){switch(l.label){case 0:r=t.styles.backgroundImage.length-1,n=function(d){var f,h,C,eA,dA,TA,q,nA,R,m,eA,dA,TA,q,nA,T,Q,b,v,H,K,L,E,O,R,k,eA,cA,hA,q,nA,lA,dA,TA,qA,_A,WA,jA,OA,PA,KA,y;return YA(this,function(_){switch(_.label){case 0:if(d.type!==0)return[3,5];f=void 0,h=d.url,_.label=1;case 1:return _.trys.push([1,3,,4]),[4,a.context.cache.match(h)];case 2:return f=_.sent(),[3,4];case 3:return _.sent(),a.context.logger.error("Error loading background-image "+h),[3,4];case 4:return f&&(C=ws(t,r,[f.width,f.height,f.width/f.height]),eA=C[0],dA=C[1],TA=C[2],q=C[3],nA=C[4],R=a.ctx.createPattern(a.resizeImage(f,q,nA),"repeat"),a.renderRepeat(eA,R,dA,TA)),[3,6];case 5:IC(d)?(m=ws(t,r,[null,null,null]),eA=m[0],dA=m[1],TA=m[2],q=m[3],nA=m[4],T=bC(d.angle,q,nA),Q=T[0],b=T[1],v=T[2],H=T[3],K=T[4],L=document.createElement("canvas"),L.width=q,L.height=nA,E=L.getContext("2d"),O=E.createLinearGradient(b,H,v,K),Kc(d.stops,Q).forEach(function(tA){return O.addColorStop(tA.stop,DA(tA.color))}),E.fillStyle=O,E.fillRect(0,0,q,nA),q>0&&nA>0&&(R=a.ctx.createPattern(L,"repeat"),a.renderRepeat(eA,R,dA,TA))):yC(d)&&(k=ws(t,r,[null,null,null]),eA=k[0],cA=k[1],hA=k[2],q=k[3],nA=k[4],lA=d.position.length===0?[Wi]:d.position,dA=fA(lA[0],q),TA=fA(lA[lA.length-1],nA),qA=TC(d,dA,TA,q,nA),_A=qA[0],WA=qA[1],_A>0&&WA>0&&(jA=a.ctx.createRadialGradient(cA+dA,hA+TA,0,cA+dA,hA+TA,_A),Kc(d.stops,_A*2).forEach(function(tA){return jA.addColorStop(tA.stop,DA(tA.color))}),a.path(eA),a.ctx.fillStyle=jA,_A!==WA?(OA=t.bounds.left+.5*t.bounds.width,PA=t.bounds.top+.5*t.bounds.height,KA=WA/_A,y=1/KA,a.ctx.save(),a.ctx.translate(OA,PA),a.ctx.transform(1,0,0,KA,0,0),a.ctx.translate(-OA,-PA),a.ctx.fillRect(cA,y*(hA-PA)+PA,q,nA*y),a.ctx.restore()):a.ctx.fill())),_.label=6;case 6:return r--,[2]}})},a=this,i=0,o=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return i<o.length?(u=o[i],[5,n(u)]):[3,4];case 2:l.sent(),l.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(t,r,n){return JA(this,void 0,void 0,function(){return YA(this,function(a){return this.path(zl(n,r)),this.ctx.fillStyle=DA(t),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(t,r,n,a){return JA(this,void 0,void 0,function(){var i,o;return YA(this,function(u){switch(u.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,a)]:[3,2];case 1:return u.sent(),[2];case 2:return i=_T(a,n),this.path(i),this.ctx.fillStyle=DA(t),this.ctx.fill(),o=NT(a,n),this.path(o),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(t){return JA(this,void 0,void 0,function(){var r,n,a,i,o,u,l,d,f=this;return YA(this,function(h){switch(h.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!ze(r.backgroundColor)||r.backgroundImage.length,a=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],i=VT(Vt(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),ze(r.backgroundColor)||(this.ctx.fillStyle=DA(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:h.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(C){f.ctx.save();var m=ua(t.curves),T=C.inset?0:kT,Q=xT(m,-T+(C.inset?1:-1)*C.spread.number,(C.inset?1:-1)*C.spread.number,C.spread.number*(C.inset?-2:2),C.spread.number*(C.inset?-2:2));C.inset?(f.path(m),f.ctx.clip(),f.mask(Q)):(f.mask(m),f.ctx.clip(),f.path(Q)),f.ctx.shadowOffsetX=C.offsetX.number+T,f.ctx.shadowOffsetY=C.offsetY.number,f.ctx.shadowColor=DA(C.color),f.ctx.shadowBlur=C.blur.number,f.ctx.fillStyle=C.inset?DA(C.color):"rgba(0,0,0,1)",f.ctx.fill(),f.ctx.restore()}),h.label=2;case 2:o=0,u=0,l=a,h.label=3;case 3:return u<l.length?(d=l[u],d.style!==0&&!ze(d.color)&&d.width>0?d.style!==2?[3,5]:[4,this.renderDashedDottedBorder(d.color,d.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return h.sent(),[3,11];case 5:return d.style!==3?[3,7]:[4,this.renderDashedDottedBorder(d.color,d.width,o,t.curves,3)];case 6:return h.sent(),[3,11];case 7:return d.style!==4?[3,9]:[4,this.renderDoubleBorder(d.color,d.width,o,t.curves)];case 8:return h.sent(),[3,11];case 9:return[4,this.renderSolidBorder(d.color,o,t.curves)];case 10:h.sent(),h.label=11;case 11:o++,h.label=12;case 12:return u++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,a,i){return JA(this,void 0,void 0,function(){var o,u,l,d,f,h,C,m,T,Q,b,v,H,K,L,E,L,E;return YA(this,function(O){return this.ctx.save(),o=ST(a,n),u=zl(a,n),i===2&&(this.path(u),this.ctx.clip()),le(u[0])?(l=u[0].start.x,d=u[0].start.y):(l=u[0].x,d=u[0].y),le(u[1])?(f=u[1].end.x,h=u[1].end.y):(f=u[1].x,h=u[1].y),n===0||n===2?C=Math.abs(l-f):C=Math.abs(d-h),this.ctx.beginPath(),i===3?this.formatPath(o):this.formatPath(u.slice(0,2)),m=r<3?r*3:r*2,T=r<3?r*2:r,i===3&&(m=r,T=r),Q=!0,C<=m*2?Q=!1:C<=m*2+T?(b=C/(2*m+T),m*=b,T*=b):(v=Math.floor((C+T)/(m+T)),H=(C-v*m)/(v-1),K=(C-(v+1)*m)/v,T=K<=0||Math.abs(T-H)<Math.abs(T-K)?H:K),Q&&(i===3?this.ctx.setLineDash([0,m+T]):this.ctx.setLineDash([m,T])),i===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=DA(t),this.ctx.stroke(),this.ctx.setLineDash([]),i===2&&(le(u[0])&&(L=u[3],E=u[0],this.ctx.beginPath(),this.formatPath([new M(L.end.x,L.end.y),new M(E.start.x,E.start.y)]),this.ctx.stroke()),le(u[1])&&(L=u[1],E=u[2],this.ctx.beginPath(),this.formatPath([new M(L.end.x,L.end.y),new M(E.start.x,E.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(t){return JA(this,void 0,void 0,function(){var r;return YA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=DA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=vT(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e}(A0),KT=function(A){return A instanceof Ul||A instanceof Tl?!0:A instanceof cs&&A.type!==ra&&A.type!==ta},VT=function(A,e){switch(A){case 0:return ua(e);case 2:return UT(e);case 1:default:return ca(e)}},GT=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},YT=["-apple-system","system-ui"],XT=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(e){return YT.indexOf(e)===-1}):A},WT=function(A){Ee(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(t){return JA(this,void 0,void 0,function(){var r,n;return YA(this,function(a){switch(a.label){case 0:return r=ss(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,JT(r)];case 1:return n=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=DA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(A0),JT=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},qT=function(){function A(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return A.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,bn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,bn([this.id,this.getTime()+"ms"],e))},A.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,bn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,bn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.instances={},A}(),jT=function(){function A(e,t){var r;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new qT({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new gT(this,e)}return A.instanceCount=1,A}(),zT=function(A,e){return e===void 0&&(e={}),$T(A,e)};typeof window<"u"&&Yl.setContext(window);var $T=function(A,e){return JA(void 0,void 0,void 0,function(){var t,r,n,a,i,o,u,l,d,f,h,C,m,T,Q,b,v,H,K,L,O,E,O,R,k,eA,cA,hA,q,nA,lA,dA,TA,qA,_A,WA,jA,OA,PA,KA;return YA(this,function(y){switch(y.label){case 0:if(!A||typeof A!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=A.ownerDocument,!t)throw new Error("Element is not attached to a Document");if(r=t.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(R=e.allowTaint)!==null&&R!==void 0?R:!1,imageTimeout:(k=e.imageTimeout)!==null&&k!==void 0?k:15e3,proxy:e.proxy,useCORS:(eA=e.useCORS)!==null&&eA!==void 0?eA:!1},a=Fi({logging:(cA=e.logging)!==null&&cA!==void 0?cA:!0,cache:e.cache},n),i={windowWidth:(hA=e.windowWidth)!==null&&hA!==void 0?hA:r.innerWidth,windowHeight:(q=e.windowHeight)!==null&&q!==void 0?q:r.innerHeight,scrollX:(nA=e.scrollX)!==null&&nA!==void 0?nA:r.pageXOffset,scrollY:(lA=e.scrollY)!==null&&lA!==void 0?lA:r.pageYOffset},o=new _e(i.scrollX,i.scrollY,i.windowWidth,i.windowHeight),u=new jT(a,o),l=(dA=e.foreignObjectRendering)!==null&&dA!==void 0?dA:!1,d={allowTaint:(TA=e.allowTaint)!==null&&TA!==void 0?TA:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},u.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),f=new Vl(u,A,d),h=f.clonedReferenceElement,h?[4,f.toIFrame(t,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return C=y.sent(),m=ds(h)||Zb(h)?xm(h.ownerDocument):Tn(u,h),T=m.width,Q=m.height,b=m.left,v=m.top,H=ZT(u,h,e.backgroundColor),K={canvas:e.canvas,backgroundColor:H,scale:(_A=(qA=e.scale)!==null&&qA!==void 0?qA:r.devicePixelRatio)!==null&&_A!==void 0?_A:1,x:((WA=e.x)!==null&&WA!==void 0?WA:0)+b,y:((jA=e.y)!==null&&jA!==void 0?jA:0)+v,width:(OA=e.width)!==null&&OA!==void 0?OA:Math.ceil(T),height:(PA=e.height)!==null&&PA!==void 0?PA:Math.ceil(Q)},l?(u.logger.debug("Document cloned, using foreign object rendering"),O=new WT(u,K),[4,O.render(h)]):[3,3];case 2:return L=y.sent(),[3,5];case 3:return u.logger.debug("Document cloned, element located at "+b+","+v+" with size "+T+"x"+Q+" using computed rendering"),u.logger.debug("Starting DOM parsing"),E=Il(u,h),H===E.styles.backgroundColor&&(E.styles.backgroundColor=Se.TRANSPARENT),u.logger.debug("Starting renderer for element at "+K.x+","+K.y+" with size "+K.width+"x"+K.height),O=new PT(u,K),[4,O.render(E)];case 4:L=y.sent(),y.label=5;case 5:return(!((KA=e.removeContainer)!==null&&KA!==void 0)||KA)&&(Vl.destroy(C)||u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),u.logger.debug("Finished rendering"),[2,L]}})})},ZT=function(A,e,t){var r=e.ownerDocument,n=r.documentElement?Lr(A,getComputedStyle(r.documentElement).backgroundColor):Se.TRANSPARENT,a=r.body?Lr(A,getComputedStyle(r.body).backgroundColor):Se.TRANSPARENT,i=typeof t=="string"?Lr(A,t):t===null?Se.TRANSPARENT:4294967295;return e===r.documentElement?ze(n)?ze(a)?i:a:n:i};const AU=`.gp-message[data-v-a234b03c]{z-index:999999;transition:all .3s ease;max-width:300px;font-family:微软雅黑}.message-content[data-v-a234b03c]{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;border-radius:4px;box-shadow:0 2px 8px #00000026;font-size:14px}.close-btn[data-v-a234b03c]{background:none;border:none;color:#4b5563;cursor:pointer;margin-left:10px;line-height:1;padding:0}.fade-enter-active[data-v-a234b03c],.fade-leave-active[data-v-a234b03c]{transition:opacity .3s}.fade-enter-from[data-v-a234b03c],.fade-leave-to[data-v-a234b03c]{opacity:0}[contenteditable=true][data-v-3a877c04]:focus{outline:none}[contenteditable=true][data-v-3a877c04]{outline:none}textarea[data-v-3a877c04]{resize:none;border:none;outline:none;background:transparent}.custom-checkbox[data-v-68b8f276]{width:16px;height:16px;border:2px solid #d1d5db;border-radius:4px;background-color:#fff;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;cursor:pointer;transition:all .2s ease}.custom-checkbox[data-v-68b8f276]:checked{border-color:#3b82f6;background-color:#3b82f6}.custom-checkbox[data-v-68b8f276]:checked:after{content:"✓";color:#fff;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.checkbox-label[data-v-68b8f276]{line-height:1.2;font-size:14px;color:#4b5563}.border[data-v-30b99148]{border:1px solid #ccc}.custom-checkbox[data-v-30b99148]{width:18px;height:18px;border:2px solid #d1d5db;border-radius:4px;background-color:#fff;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;cursor:pointer;transition:all .2s ease}.custom-checkbox[data-v-30b99148]:checked{border-color:#3b82f6;background-color:#3b82f6}.custom-checkbox[data-v-30b99148]:checked:after{content:"✓";color:#fff;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}/*!
40
40
  * Cropper.js v1.6.2
41
41
  * https://fengyuanchen.github.io/cropperjs
42
42
  *
@@ -44,15 +44,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
44
44
  * Released under the MIT license
45
45
  *
46
46
  * Date: 2024-04-21T07:43:02.731Z
47
- */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-wrap-box,.cropper-canvas,.cropper-drag-box,.cropper-crop-box,.cropper-modal{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-wrap-box,.cropper-canvas{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:#3399ffbf;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:calc(100% / 3);left:0;top:calc(100% / 3);width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:calc(100% / 3);top:0;width:calc(100% / 3)}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:before,.cropper-center:after{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width: 768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width: 992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width: 1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.before{position:relative;overflow:hidden}.before img{position:absolute}.upload-wrapper[data-v-08babff9]{max-width:500px}.file-list[data-v-08babff9]{max-height:300px;overflow-y:auto}.gp-dsigner[data-v-7f27dfdd]{font-family:微软雅黑}.resize-area[data-v-7f27dfdd]{transition:width .1s ease}.resizer[data-v-7f27dfdd]{width:6px;background:#f0f0f0;cursor:col-resize;display:flex;justify-content:center;align-items:center;position:relative;z-index:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}textarea[data-v-7f27dfdd]{resize:none;border:none;outline:none;background:transparent}.gp-dsigner{width:100%}:root{--gp-designer-theme-color: #3574e6}.gp-designer-theme-text,.gp-designer-theme-icon{color:var(--gp-designer-theme-color)!important}.gp-designer-theme-button{background-color:var(--gp-designer-theme-color)!important}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.container{width:100%}@media (min-width: 1200px){.container{max-width:1200px}}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-top-6{top:-1.5rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-4{left:1rem}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.z-10{z-index:10}.z-\\[99999\\]{z-index:99999}.m-1{margin:.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mb-2{margin-bottom:.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.contents{display:contents}.hidden{display:none}.h-1{height:.25rem}.h-12{height:3rem}.h-2{height:.5rem}.h-20{height:5rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\\[100vh\\]{height:100vh}.h-\\[200px\\]{height:200px}.h-\\[300px\\]{height:300px}.h-\\[360px\\]{height:360px}.h-\\[40px\\]{height:40px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[500px\\]{max-height:500px}.w-10{width:2.5rem}.w-12{width:3rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-\\[100vw\\]{width:100vw}.w-\\[110px\\]{width:110px}.w-\\[270px\\]{width:270px}.w-\\[300px\\]{width:300px}.w-\\[640px\\]{width:640px}.w-\\[700px\\]{width:700px}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.flex-1{flex:1 1 0%}.flex-none{flex:none}.basis-1\\/10{flex-basis:10%}.basis-1\\/11{flex-basis:9.09090909%}.basis-1\\/12{flex-basis:8.33333333%}.basis-1\\/2{flex-basis:50%}.basis-1\\/3{flex-basis:33.333333%}.basis-1\\/4{flex-basis:25%}.basis-1\\/5{flex-basis:20%}.basis-1\\/6{flex-basis:16.666667%}.basis-1\\/7{flex-basis:14.2857143%}.basis-1\\/8{flex-basis:12.5%}.basis-1\\/9{flex-basis:11.1111111%}.basis-full{flex-basis:100%}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.cursor-wait{cursor:wait}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-normal{justify-content:normal}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\\[\\#DEDEDE\\]{--tw-border-opacity: 1;border-color:rgb(222 222 222 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.bg-\\[\\#474AFF\\]{--tw-bg-opacity: 1;background-color:rgb(71 74 255 / var(--tw-bg-opacity))}.bg-\\[\\#f4f8ff\\]{--tw-bg-opacity: 1;background-color:rgb(244 248 255 / var(--tw-bg-opacity))}.bg-\\[rgba\\(0\\,0\\,0\\,0\\.7\\)\\]{background-color:#000000b3}.bg-black\\/80{background-color:#000c}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-500\\/80{background-color:#3b82f6cc}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-blue-800{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-500\\/80{background-color:#22c55ecc}.bg-purple-400\\/80{background-color:#c084fccc}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-500\\/80{background-color:#ef4444cc}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pr-\\[70px\\]{padding-right:70px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.\\!text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.text-\\[\\#333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.text-\\[\\#666\\]{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}.text-\\[\\#999\\]{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity))}.text-blue-200{--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-50{--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-10:hover{z-index:10}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\\:bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.hover\\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.hover\\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\\:bg-green-500:hover{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.hover\\:bg-purple-600:hover{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.hover\\:underline:hover{text-decoration-line:underline}@media (min-width: 1200px){.pc\\:box-border{box-sizing:border-box}.pc\\:basis-1\\/10{flex-basis:10%}.pc\\:basis-1\\/11{flex-basis:9.09090909%}.pc\\:basis-1\\/12{flex-basis:8.33333333%}.pc\\:basis-1\\/2{flex-basis:50%}.pc\\:basis-1\\/3{flex-basis:33.333333%}.pc\\:basis-1\\/4{flex-basis:25%}.pc\\:basis-1\\/5{flex-basis:20%}.pc\\:basis-1\\/6{flex-basis:16.666667%}.pc\\:basis-1\\/7{flex-basis:14.2857143%}.pc\\:basis-1\\/8{flex-basis:12.5%}.pc\\:basis-1\\/9{flex-basis:11.1111111%}.pc\\:basis-full{flex-basis:100%}.pc\\:justify-normal{justify-content:normal}.pc\\:justify-center{justify-content:center}}
47
+ */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-wrap-box,.cropper-canvas,.cropper-drag-box,.cropper-crop-box,.cropper-modal{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-wrap-box,.cropper-canvas{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:#3399ffbf;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:calc(100% / 3);left:0;top:calc(100% / 3);width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:calc(100% / 3);top:0;width:calc(100% / 3)}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:before,.cropper-center:after{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width: 768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width: 992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width: 1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.before{position:relative;overflow:hidden}.before img{position:absolute}.upload-wrapper[data-v-08babff9]{max-width:500px}.file-list[data-v-08babff9]{max-height:300px;overflow-y:auto}.gp-dsigner[data-v-af92f944]{font-family:微软雅黑}.resize-area[data-v-af92f944]{transition:width .1s ease}.resizer[data-v-af92f944]{width:6px;background:#f0f0f0;cursor:col-resize;display:flex;justify-content:center;align-items:center;position:relative;z-index:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}textarea[data-v-af92f944]{resize:none;border:none;outline:none;background:transparent}.gp-dsigner{width:100%}:root{--gp-designer-theme-color: #3574e6}.gp-designer-theme-text,.gp-designer-theme-icon{color:var(--gp-designer-theme-color)!important}.gp-designer-theme-button{background-color:var(--gp-designer-theme-color)!important}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.container{width:100%}@media (min-width: 1200px){.container{max-width:1200px}}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-top-6{top:-1.5rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-4{left:1rem}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.z-10{z-index:10}.z-\\[99999\\]{z-index:99999}.m-1{margin:.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mb-2{margin-bottom:.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.contents{display:contents}.hidden{display:none}.h-1{height:.25rem}.h-12{height:3rem}.h-2{height:.5rem}.h-20{height:5rem}.h-3{height:.75rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\\[100vh\\]{height:100vh}.h-\\[200px\\]{height:200px}.h-\\[300px\\]{height:300px}.h-\\[360px\\]{height:360px}.h-\\[40px\\]{height:40px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[500px\\]{max-height:500px}.w-10{width:2.5rem}.w-12{width:3rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-\\[100vw\\]{width:100vw}.w-\\[110px\\]{width:110px}.w-\\[270px\\]{width:270px}.w-\\[300px\\]{width:300px}.w-\\[640px\\]{width:640px}.w-\\[700px\\]{width:700px}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.flex-1{flex:1 1 0%}.flex-none{flex:none}.basis-1\\/10{flex-basis:10%}.basis-1\\/11{flex-basis:9.09090909%}.basis-1\\/12{flex-basis:8.33333333%}.basis-1\\/2{flex-basis:50%}.basis-1\\/3{flex-basis:33.333333%}.basis-1\\/4{flex-basis:25%}.basis-1\\/5{flex-basis:20%}.basis-1\\/6{flex-basis:16.666667%}.basis-1\\/7{flex-basis:14.2857143%}.basis-1\\/8{flex-basis:12.5%}.basis-1\\/9{flex-basis:11.1111111%}.basis-full{flex-basis:100%}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.cursor-wait{cursor:wait}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-normal{justify-content:normal}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\\[\\#DEDEDE\\]{--tw-border-opacity: 1;border-color:rgb(222 222 222 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.bg-\\[\\#474AFF\\]{--tw-bg-opacity: 1;background-color:rgb(71 74 255 / var(--tw-bg-opacity))}.bg-\\[\\#f4f8ff\\]{--tw-bg-opacity: 1;background-color:rgb(244 248 255 / var(--tw-bg-opacity))}.bg-\\[rgba\\(0\\,0\\,0\\,0\\.7\\)\\]{background-color:#000000b3}.bg-black\\/80{background-color:#000c}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-500\\/80{background-color:#3b82f6cc}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-blue-800{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-500\\/80{background-color:#22c55ecc}.bg-purple-400\\/80{background-color:#c084fccc}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-500\\/80{background-color:#ef4444cc}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pr-\\[70px\\]{padding-right:70px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.\\!text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.text-\\[\\#333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.text-\\[\\#666\\]{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}.text-\\[\\#999\\]{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity))}.text-blue-200{--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-50{--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-10:hover{z-index:10}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\\:bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.hover\\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.hover\\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\\:bg-green-500:hover{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.hover\\:bg-purple-600:hover{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.hover\\:underline:hover{text-decoration-line:underline}@media (min-width: 1200px){.pc\\:box-border{box-sizing:border-box}.pc\\:basis-1\\/10{flex-basis:10%}.pc\\:basis-1\\/11{flex-basis:9.09090909%}.pc\\:basis-1\\/12{flex-basis:8.33333333%}.pc\\:basis-1\\/2{flex-basis:50%}.pc\\:basis-1\\/3{flex-basis:33.333333%}.pc\\:basis-1\\/4{flex-basis:25%}.pc\\:basis-1\\/5{flex-basis:20%}.pc\\:basis-1\\/6{flex-basis:16.666667%}.pc\\:basis-1\\/7{flex-basis:14.2857143%}.pc\\:basis-1\\/8{flex-basis:12.5%}.pc\\:basis-1\\/9{flex-basis:11.1111111%}.pc\\:basis-full{flex-basis:100%}.pc\\:justify-normal{justify-content:normal}.pc\\:justify-center{justify-content:center}}
48
48
  `,eU=c.defineComponent({name:"GpIframe",props:{htmlContent:{type:String,required:!0},jsFiles:{type:Array,default:[]},cssFiles:{type:Array,default:[]},iframeStyle:{type:Object,default:()=>({width:"100%",height:"100%",border:"none"})},themeColor:{type:String,default:"#3574e6"}},setup(A){const e=c.ref(null),t=c.ref(),r=()=>{var m;const a=e.value;if(!a)return;const i=a.contentDocument||((m=a.contentWindow)==null?void 0:m.document);if(!i)return;i.open(),i.write("<!DOCTYPE html><html><head></head><body></body></html>"),i.close();const o=i.head;A.cssFiles.forEach(T=>{const Q=i.createElement("link");Q.rel="stylesheet",Q.href=T+"?t="+new Date().getTime(),o.appendChild(Q)});const u=i.createElement("style");u.innerHTML=`
49
49
  :root {
50
50
  --main-color: ${A.themeColor} !important;
51
51
  --gp-designer-theme-color: ${A.themeColor} !important;
52
52
  }
53
- `,o.appendChild(u);const l=i.createElement("style");l.innerHTML=AU,o.appendChild(l);const d=i.createElement("script");d.src="/spa/topic/js/jquery-3.6.0.min.js",d.async=!1,o.appendChild(d);const f=i.createElement("script");f.src="/spa/topic/js/swiper-bundle.min.js",f.async=!1,o.appendChild(f);const h=i.createElement("script");h.src="/spa/topic/js/index.js?t="+new Date().getTime(),h.async=!1,o.appendChild(h);const C=i.body;C.innerHTML=A.htmlContent,A.jsFiles.forEach(T=>{const Q=i.createElement("script");Q.src=T+"?t="+new Date().getTime(),Q.async=!1,C.appendChild(Q)}),t.value=C,c.nextTick(()=>{})};c.watch(t,a=>{if(!a)return;new MutationObserver(()=>{const o=e.value;o&&(o.style.height=`${a.scrollHeight}px`)}).observe(a,{childList:!0,subtree:!0})});const n=async a=>{var l;const i=e.value;if(!i)return;const o=i.contentDocument||((l=i.contentWindow)==null?void 0:l.document);if(!o)return;const u=o.body;if(u)try{await c.nextTick();const d=await zT(u,{x:0,y:0,scrollX:window.scrollX,scrollY:window.scrollY,useCORS:!0,allowTaint:!0,foreignObjectRendering:!1});a?a(d):d.toBlob(f=>{const h=URL.createObjectURL(f);window.open(h,"_blank")})}catch(d){console.error("截图生成失败:",d)}};return c.watch(()=>[A.htmlContent,A.jsFiles,A.cssFiles],r,{deep:!0}),c.onMounted(()=>{r()}),{iframeRef:e,generateCover:n}}});function tU(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",null,[c.createElementVNode("iframe",{ref:"iframeRef",style:c.normalizeStyle([{"min-height":"600px"},A.iframeStyle])},null,4)])}const e0=Ke(eU,[["render",tU],["__scopeId","data-v-75c23f37"]]),rU={class:"flex gp-dsigner"},nU={key:0,class:"flex items-center justify-between border-b"},aU={class:"text-lg font-bold p-2"},iU={class:"text-sm font-thin text-gray-500"},sU={class:"flex-1 overflow-auto"},oU={key:0,class:"flex justify-between items-center border-b p-2"},uU={class:"flex items-center"},cU={class:"p-2"},lU={class:"sticky top-0"},dU={key:0,class:"text-lg font-bold border-b p-2"},fU={class:"text-sm font-thin text-gray-500"},hU={class:"p-2"},BU={key:0,class:"max-h-[500px] overflow-hidden w-[640px] h-[360px] bg-light-100"},gU={key:1,class:"text-red-500 text-xs mt-2"},pU={key:2,class:"text-red-500 text-xs mt-2"},t0=Ke(c.defineComponent({__name:"Designer",props:{mode:{default:"design"},template:{},css:{},js:{},previewWidth:{default:360},uploadByFile:{},icons:{},rules:{},preview:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},emits:["update:modelValue","update:element"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.rules||[]),i=c.ref(r.template),o=c.ref();let u=Eu("",{},!1);const l=c.ref("");c.watch(()=>r.template,F=>{i.value=F},{immediate:!0}),c.watch(()=>i.value,F=>{F&&(o.value=q(F))},{immediate:!0}),c.watch(()=>r.css,F=>{F.forEach(x=>{if(document.querySelector(`link[href="${x}"]`)||document.querySelector(`link[id="${x}"]`))return;const O=document.createElement("link");O.rel="stylesheet",O.href=x+"?t="+new Date().getTime(),O.id=x,document.head.appendChild(O)})},{immediate:!0}),c.watch(()=>r.js,F=>{!F||F.length===0||F.forEach(x=>{if(document.querySelector(`script[src="${x}"]`)||document.querySelector(`script[id="${x}"]`))return;const O=document.createElement("script");O.src=x+"?t="+new Date().getTime(),O.id=x,document.body.appendChild(O)})},{immediate:!0});const d=c.ref(r.mode);c.watch(()=>o.value,F=>{F&&n("update:element",F)},{immediate:!0});const f=c.ref(""),h=c.ref("#3574e6");c.watch(()=>l.value,F=>{const x=getComputedStyle(document.documentElement).getPropertyValue("--main-color"),O=getComputedStyle(document.documentElement).getPropertyValue("--gp-designer-theme-color");h.value=O||x,n("update:modelValue",F)},{immediate:!0});const C=c.ref(),m=c.ref(),T=c.ref(),Q=c.ref(),b=c.ref(),v=c.ref(),H=c.ref(""),K=c.ref(r.mode==="design");c.watch(()=>r.rules,F=>{a.value=F,i.value&&(o.value=q(i.value))},{immediate:!0});function L(F=void 0){Q.value&&Q.value.generateCover(F)}function E(F){var x,O,V,iA,BA,ae,wA,yA,W,fe,VA;b.value=F,F.type===Y.Text&&F.rule.allowWrap&&(Yt.value=!0,me.value=(VA=(fe=(W=(yA=(wA=(ae=(BA=(iA=(V=(O=(x=F.text)==null?void 0:x.replace(/<br>/g,`
54
- `))==null?void 0:O.replace(/<br\/>/g,`
53
+ `,o.appendChild(u);const l=i.createElement("style");l.innerHTML=AU,o.appendChild(l);const d=i.createElement("script");d.src="/spa/topic/js/jquery-3.6.0.min.js",d.async=!1,o.appendChild(d);const f=i.createElement("script");f.src="/spa/topic/js/swiper-bundle.min.js",f.async=!1,o.appendChild(f);const h=i.createElement("script");h.src="/spa/topic/js/index.js?t="+new Date().getTime(),h.async=!1,o.appendChild(h);const C=i.body;C.innerHTML=A.htmlContent,A.jsFiles.forEach(T=>{const Q=i.createElement("script");Q.src=T+"?t="+new Date().getTime(),Q.async=!1,C.appendChild(Q)}),t.value=C,c.nextTick(()=>{})};c.watch(t,a=>{if(!a)return;new MutationObserver(()=>{const o=e.value;o&&(o.style.height=`${a.scrollHeight}px`)}).observe(a,{childList:!0,subtree:!0})});const n=async a=>{var l;const i=e.value;if(!i)return;const o=i.contentDocument||((l=i.contentWindow)==null?void 0:l.document);if(!o)return;const u=o.body;if(u)try{await c.nextTick();const d=await zT(u,{x:0,y:0,scrollX:window.scrollX,scrollY:window.scrollY,useCORS:!0,allowTaint:!0,foreignObjectRendering:!1});a?a(d):d.toBlob(f=>{const h=URL.createObjectURL(f);window.open(h,"_blank")})}catch(d){console.error("截图生成失败:",d)}};return c.watch(()=>[A.htmlContent,A.jsFiles,A.cssFiles],r,{deep:!0}),c.onMounted(()=>{r()}),{iframeRef:e,generateCover:n}}});function tU(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",null,[c.createElementVNode("iframe",{ref:"iframeRef",style:c.normalizeStyle([{"min-height":"600px"},A.iframeStyle])},null,4)])}const e0=Ke(eU,[["render",tU],["__scopeId","data-v-75c23f37"]]),rU={class:"flex gp-dsigner"},nU={key:0,class:"flex items-center justify-between border-b"},aU={class:"text-lg font-bold p-2"},iU={class:"text-sm font-thin text-gray-500"},sU={class:"flex-1 overflow-auto"},oU={key:0,class:"flex justify-between items-center border-b p-2"},uU={class:"flex items-center"},cU={class:"p-2"},lU={class:"sticky top-0"},dU={key:0,class:"text-lg font-bold border-b p-2"},fU={class:"text-sm font-thin text-gray-500"},hU={class:"p-2"},BU={key:0,class:"max-h-[500px] overflow-hidden w-[640px] h-[360px] bg-light-100"},gU={key:1,class:"text-gray-500 text-xs mt-2"},pU={key:0},EU={key:1},mU={key:2},CU={key:0,class:"text-red-500 text-xs mt-2"},wU={key:1,class:"text-red-500 text-xs mt-2"},t0=Ke(c.defineComponent({__name:"Designer",props:{mode:{default:"design"},template:{},css:{},js:{},previewWidth:{default:360},uploadByFile:{},icons:{},rules:{},preview:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},emits:["update:modelValue","update:element"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.rules||[]),i=c.ref(r.template),o=c.ref();let u=Eu("",{},!1);const l=c.ref("");c.watch(()=>r.template,F=>{i.value=F},{immediate:!0}),c.watch(()=>i.value,F=>{F&&(o.value=q(F))},{immediate:!0}),c.watch(()=>r.css,F=>{F.forEach(x=>{if(document.querySelector(`link[href="${x}"]`)||document.querySelector(`link[id="${x}"]`))return;const D=document.createElement("link");D.rel="stylesheet",D.href=x+"?t="+new Date().getTime(),D.id=x,document.head.appendChild(D)})},{immediate:!0}),c.watch(()=>r.js,F=>{!F||F.length===0||F.forEach(x=>{if(document.querySelector(`script[src="${x}"]`)||document.querySelector(`script[id="${x}"]`))return;const D=document.createElement("script");D.src=x+"?t="+new Date().getTime(),D.id=x,document.body.appendChild(D)})},{immediate:!0});const d=c.ref(r.mode);c.watch(()=>o.value,F=>{F&&n("update:element",F)},{immediate:!0});const f=c.ref(""),h=c.ref("#3574e6");c.watch(()=>l.value,F=>{const x=getComputedStyle(document.documentElement).getPropertyValue("--main-color"),D=getComputedStyle(document.documentElement).getPropertyValue("--gp-designer-theme-color");h.value=D||x,n("update:modelValue",F)},{immediate:!0});const C=c.ref(),m=c.ref(),T=c.ref(),Q=c.ref(),b=c.ref(),v=c.ref(),H=c.ref(""),K=c.ref(r.mode==="design");c.watch(()=>r.rules,F=>{a.value=F,i.value&&(o.value=q(i.value))},{immediate:!0});function L(F=void 0){Q.value&&Q.value.generateCover(F)}function E(F){var x,D,V,iA,BA,ae,wA,yA,W,he,VA;b.value=F,F.type===Y.Text&&F.rule.allowWrap&&(Yt.value=!0,fe.value=(VA=(he=(W=(yA=(wA=(ae=(BA=(iA=(V=(D=(x=F.text)==null?void 0:x.replace(/<br>/g,`
54
+ `))==null?void 0:D.replace(/<br\/>/g,`
55
55
  `))==null?void 0:V.replace(/<br \/>/g,`
56
56
  `))==null?void 0:iA.replace(/<br \s*\/>/g,`
57
57
  `))==null?void 0:BA.replace(/<br\s*\/>/g,`
58
- `))==null?void 0:ae.replace(/&nbsp;/g," "))==null?void 0:wA.replace(/&lt;/g,"<"))==null?void 0:yA.replace(/&gt;/g,">"))==null?void 0:W.replace(/&amp;/g,"&"))==null?void 0:fe.replace(/&quot;/g,'"'))==null?void 0:VA.replace(/&apos;/g,"'"))}function D(F,x=""){if(x){const O=R(o.value,x);O?v.value=O:v.value=F}else v.value=F}function R(F,x){if(F.xpath===x)return F;if(F.children&&F.children.length)for(const O of F.children){const V=R(O,x);if(V)return V}}function k(F,x){var O,V;return F.tag===x.tag&&((O=F.children)==null?void 0:O.length)===((V=x.children)==null?void 0:V.length)}function eA(F){if(b.value.xpath==F.xpath){if(b.value){if(F.type===Y.Block){var x=!0;const O=R(o.value,b.value.parentxpath||"");if(O&&O.children&&O.children.forEach(V=>{if(V.tag!=b.value.tag||!k(V,b.value)){x=!1;return}}),!x){z.error("同级结构不一致,错误配置!");return}}if(b.value.rule=F.rule,b.value.type=F.type,b.value.type===Y.Block){const O=R(o.value,b.value.parentxpath||"");O&&O.children&&(O.children.forEach(V=>{if(V.tag!=b.value.tag||!k(V,b.value)){z.error("同级结构不一致,无法配置为块类型");return}}),O.children.forEach(V=>{V.tag===b.value.tag&&(V.rule=F.rule,V.type=F.type)}))}}f.value=new Date().getTime().toString(),z.success("保存成功"),n("update:element",o.value)}}function cA(F){const x=R(o.value,F.xpath||"");x&&(x.rule=F.rule,x.type=F.type,x.children&&F.children&&x.children.forEach(O=>{const V=F.children.find(iA=>iA.xpath===O.xpath);V&&(O.rule=V.rule,O.type=V.type)})),z.success("操作成功"),f.value=new Date().getTime().toString(),n("update:element",o.value)}function hA(F){l.value=F}function q(F){u=Eu(F);const x=u("body").children().toArray().map(BA=>nA(u(BA)));l.value=u("body").html()||"";const O=x[0];if(O){let BA=function(wA,yA,W){var tt;const fe=wA.xpath.replace(yA.xpath,W.xpath),VA=(tt=a.value)==null?void 0:tt.find(Xt=>Xt.xpath===fe);VA&&(wA.rule=VA.rule,wA.type=VA.type),wA.children&&wA.children.length>0&&wA.children.forEach(Xt=>{BA(Xt,yA,W)})},ae=function(wA){if(wA.children&&wA.children.length>0){const yA=wA.children.find(W=>W.type===Y.Block);yA&&wA.children.forEach(W=>{var fe,VA,tt;W.tag===yA.tag&&(W.rule=yA.rule,W.type=yA.type,W.attrs.class=(tt=(VA=(fe=W.attrs)==null?void 0:fe.class)==null?void 0:VA.replace(/pc:basis-\d\/\d/g,""))==null?void 0:tt.replace(/basis-\d\/\d/g,""),W.children&&W.children.length>0&&W.children.forEach(Xt=>{BA(Xt,W,yA)}))}),wA.children.forEach(W=>{ae(W)})}};ae(O)}const V=getComputedStyle(document.documentElement).getPropertyValue("--main-color"),iA=getComputedStyle(document.documentElement).getPropertyValue("--gp-designer-theme-color");return h.value=iA||V,O}function nA(F,x=""){var wA,yA;function O(W){if(!W||!W[0])return"";const fe=[];let VA=W;for(;VA.length&&VA[0].tagName!=="html";){const tt=VA[0].tagName,mU=VA.parent().children(tt).index(VA)+1;fe.unshift(`${tt}[${mU}]`),VA=VA.parent()}return"/html/"+fe.join("/")}const V=O(F).replace("/html/body[1]",""),iA=F.children().toArray().map(W=>nA(u(W),V)).filter(W=>W.tag!=="br");let BA=(wA=a.value)==null?void 0:wA.find(W=>W.xpath===V),ae=F.contents().not(F.children()).text().trim();return BA&&((yA=BA.rule)!=null&&yA.allowWrap)&&(ae=F.html()),{tag:F[0].tagName,text:ae,attrs:F[0].attribs,children:iA,xpath:V,parentxpath:x,type:(BA==null?void 0:BA.type)||Y.None,rule:(BA==null?void 0:BA.rule)||{}}}function lA(F){const x=R(o.value,F.element.xpath);if(x){const O=c.toRaw(x);O.editText=F.newText}}function dA(F,x=""){function O(V,iA){var wA;const ae=(iA?((wA=R(o.value,iA))==null?void 0:wA.children)||[]:[o.value]).filter(yA=>yA.tag===V.tag).indexOf(V)+1;return`${iA}/${V.tag}[${ae}]`}F.xpath=O(F,x),F.parentxpath=x,(F.children||[]).forEach(V=>dA(V,F.xpath))}function TA({action:F,element:x,newBlock:O}){const V=R(o.value,x.parentxpath||"");if(!V||!V.children)return;const iA=V.children.findIndex(W=>W===x);if(iA===-1){z.error("未找到元素");return}const BA=V.children.length,{minBlock:ae,maxBlock:wA}=x.rule;if((F==="add"||F==="copy")&&BA>=(wA||1/0)){H.value=`无法添加更多块。最大块数量为 ${wA}`,z.error(H.value);return}function yA(W){W.xpath="",W.parentxpath="",W.text=W.editText||W.text,W.editText="",W.children.forEach(fe=>{yA(fe)})}switch(F){case"add":if(O){const W={...O,children:JSON.parse(JSON.stringify(O.children))};yA(W),V.children.splice(iA+1,0,W),z.success("添加成功")}break;case"copy":if(O){const W={...O,children:JSON.parse(JSON.stringify(O.children))};yA(W),V.children.splice(iA+1,0,W),z.success("复制成功")}break;case"moveUp":if(iA>0){const[W]=V.children.splice(iA,1);V.children.splice(iA-1,0,W),z.success("前移成功")}else z.error("已经是第一个块,无法前移");break;case"moveDown":if(iA<V.children.length-1){const[W]=V.children.splice(iA,1);V.children.splice(iA+1,0,W),z.success("后移成功")}else z.error("已经是最后一个块,无法后移");break;case"delete":if(BA<=(ae||0)){H.value=`无法删除更多块。最小块数量为 ${ae}`,z.error(H.value);return}V.children.splice(iA,1),z.success("删除成功");break}H.value="",dA(o.value)}function qA(F,x){let O=x.attrs.class.replace(/icon-\S+/g,`icon-${F}`);x.attrs.class=O}function _A(F){const x=F.file,O=R(o.value,F.element.xpath);if(r.uploadByFile)r.uploadByFile(x).then(V=>{V.success&&(O.attrs.src=V.file.url,f.value=new Date().getTime().toString())});else{O.attrs.alt=x.name;const V=URL.createObjectURL(x);O.attrs.src=V,f.value=new Date().getTime().toString()}}function WA(F){const{icon:x}=F,O=R(o.value,F.element.xpath);let V=O.attrs.class.replace(/icon-\S+/g,`icon-${x}`);O.attrs.class=V,f.value=new Date().getTime().toString()}const jA=F=>F.type.startsWith("image/")?!0:(z.error("只能上传图片文件"),!1),OA=c.ref({});function PA(F,x){if(!F||F.length===0)return;const O=F[0];if(x.rule&&(x.rule.minImageWidth||x.rule.maxImageHeight)){if(x.rule.minImageWidth&&O.width<x.rule.minImageWidth){z.error(`图片宽度不能小于 ${x.rule.minImageWidth}px`);return}if(x.rule.maxImageHeight&&O.height<x.rule.maxImageHeight){z.error(`图片高度不能小于 ${x.rule.maxImageHeight}px`);return}}x.rule.minImageWidth&&x.rule.maxImageHeight?(OA.value.width=x.rule.minImageWidth,OA.value.height=x.rule.maxImageHeight,OA.value.aspectRatio=x.rule.minImageWidth/x.rule.maxImageHeight):OA.value={},O&&(x.rule.crop?(O.thumbUrl,C.value.handleOpenCropper(OA.value,O.file,O.name,x)):r.uploadByFile?r.uploadByFile(O.file).then(V=>{V.success&&(x.attrs.src=V.file.url,f.value=new Date().getTime().toString())}):(x.attrs.src=O.thumbUrl,f.value=new Date().getTime().toString()))}const KA=c.ref(r.previewWidth),y=c.ref(360);let _=c.ref(!1),tA=c.ref(""),j=0,CA=0;function et(F){tA.value=F,_.value=!0,j=event.clientX,F==="preview"?CA=KA.value:F==="structure"&&(CA=y.value),window.addEventListener("mousemove",Pr),window.addEventListener("mouseup",Gt)}function Pr(F){if(!_.value)return;const x=F.clientX-j;tA.value==="preview"?KA.value=Math.max(200,CA+x):tA.value==="structure"&&(y.value=Math.max(200,CA-x))}function Gt(){_.value=!1,tA.value="",window.removeEventListener("mousemove",Pr),window.removeEventListener("mouseup",Gt)}const Yt=c.ref(!1),me=c.ref("");function bs(){if(b.value){if(b.value&&b.value.rule&&b.value.rule.maxText&&me.value.length>b.value.rule.maxText){z.error(`文本内容超出最大字数 ${b.value.rule.maxText} 个`);return}if(b.value&&b.value.rule&&b.value.rule.minText&&me.value.length<b.value.rule.minText){z.error(`文本内容不能少于最小字数 ${b.value.rule.minText} 个`);return}f.value=new Date().getTime().toString(),b.value&&b.value.type===Y.Text&&(b.value.text=me.value,b.value.editText=me.value),Yt.value=!1}}return e({generateCover:L}),(F,x)=>(c.openBlock(),c.createElementBlock("div",rU,[F.preview?(c.openBlock(),c.createElementBlock("div",{key:0,class:"border-l overflow-auto resize-area",style:c.normalizeStyle({width:KA.value+"px"})},[F.showTitle?(c.openBlock(),c.createElementBlock("div",nU,[c.createElementVNode("h2",aU,[x[6]||(x[6]=c.createTextVNode(" 实时预览 ")),c.createElementVNode("span",iU,c.toDisplayString(KA.value)+"px",1)]),c.createElementVNode("div",{onClick:x[0]||(x[0]=()=>L()),class:"p-2 cursor-pointer text-blue-500"}," 封面 ")])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[l.value?(c.openBlock(),c.createBlock(e0,{key:0,"css-files":F.css,"js-files":F.js,"html-content":l.value,class:"gp-designer-preview",ref_key:"previewRef",ref:Q,"theme-color":h.value},null,8,["css-files","js-files","html-content","theme-color"])):(c.openBlock(),c.createBlock(e0,{key:1,"css-files":F.css,"js-files":F.js,"html-content":c.unref(u)("body").html(),class:"gp-designer-preview",ref_key:"previewRef",ref:Q,"theme-color":h.value},null,8,["css-files","js-files","html-content","theme-color"]))])],4)):c.createCommentVNode("",!0),F.preview?(c.openBlock(),c.createElementBlock("div",{key:1,class:"resizer",onMousedown:x[1]||(x[1]=O=>et("preview"))},null,32)):c.createCommentVNode("",!0),c.createElementVNode("div",sU,[F.showTitle?(c.openBlock(),c.createElementBlock("div",oU,[x[8]||(x[8]=c.createElementVNode("h2",{class:"text-lg font-bold"},"结构渲染",-1)),c.createElementVNode("div",uU,[c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":x[2]||(x[2]=O=>K.value=O),type:"checkbox",id:"showMargin",class:"mr-2"},null,512),[[c.vModelCheckbox,K.value]]),x[7]||(x[7]=c.createElementVNode("label",{for:"showMargin"},"间距",-1))])])):c.createCommentVNode("",!0),c.createElementVNode("div",cU,[o.value?(c.openBlock(),c.createBlock(yp,{key:0,"upload-by-file":F.uploadByFile,cropper:C.value,icon:m.value,upload:T.value,mode:F.mode,icons:F.icons,r:f.value,"show-margin":K.value,element:o.value,selectedElement:b.value,hoveredElement:v.value,onSelectElement:E,onHoverElement:D,onContentUpdated:hA,onUpdateText:lA,onBlockAction:TA,onAddIcon:qA,onUpdateElementRule:cA},null,8,["upload-by-file","cropper","icon","upload","mode","icons","r","show-margin","element","selectedElement","hoveredElement"])):c.createCommentVNode("",!0)])]),d.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:2,class:"resizer",onMousedown:x[3]||(x[3]=O=>et("structure"))},null,32)):c.createCommentVNode("",!0),d.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:3,class:"resize-area",style:c.normalizeStyle({width:y.value+"px"})},[c.createElementVNode("div",lU,[F.showTitle?(c.openBlock(),c.createElementBlock("h2",dU,[x[9]||(x[9]=c.createTextVNode(" 节点属性 ")),c.createElementVNode("span",fU,c.toDisplayString(y.value)+"px",1)])):c.createCommentVNode("",!0),c.createElementVNode("div",hU,[b.value?(c.openBlock(),c.createBlock(Zp,{key:0,element:b.value,onUpdateElement:eA},null,8,["element"])):c.createCommentVNode("",!0)])])],4)):c.createCommentVNode("",!0),c.createVNode(um,{ref_key:"cropperRef",ref:C,onOk:_A},null,512),c.createVNode(mm,{icons:F.icons,ref_key:"iconRef",ref:m,onOk:WA},null,8,["icons"]),c.createVNode(ym,{ref_key:"uploadRef",ref:T,multiple:!1,show:!1,beforeUpload:jA,onChange:PA},{"upload-icon":c.withCtx(()=>x[10]||(x[10]=[c.createElementVNode("div",{class:"p-2"},"上传",-1)])),_:1},512),c.createVNode($u,{title:"多行文本编辑",visible:Yt.value,"onUpdate:visible":x[5]||(x[5]=O=>Yt.value=O),onOk:bs,"mask-closable":!1},{default:c.withCtx(()=>[b.value?(c.openBlock(),c.createElementBlock("div",BU,[c.withDirectives(c.createElementVNode("textarea",{"onUpdate:modelValue":x[4]||(x[4]=O=>me.value=O),class:"w-full h-full text-sm"},null,512),[[c.vModelText,me.value]])])):c.createCommentVNode("",!0),b.value&&b.value.rule&&b.value.rule.maxText&&me.value.length>b.value.rule.maxText?(c.openBlock(),c.createElementBlock("div",gU," 文本内容超出最大字数 "+c.toDisplayString(b.value.rule.maxText)+" 个 ",1)):c.createCommentVNode("",!0),b.value&&b.value.rule&&b.value.rule.minText&&me.value.length<b.value.rule.minText?(c.openBlock(),c.createElementBlock("div",pU," 文本内容不能少于最小字数 "+c.toDisplayString(b.value.rule.minText)+" 个 ",1)):c.createCommentVNode("",!0)]),_:1},8,["visible"])]))}}),[["__scopeId","data-v-7f27dfdd"]]),EU={install(A){A.component("Designer",t0)}};He.Designer=t0,He.default=EU,Object.defineProperties(He,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
58
+ `))==null?void 0:ae.replace(/&nbsp;/g," "))==null?void 0:wA.replace(/&lt;/g,"<"))==null?void 0:yA.replace(/&gt;/g,">"))==null?void 0:W.replace(/&amp;/g,"&"))==null?void 0:he.replace(/&quot;/g,'"'))==null?void 0:VA.replace(/&apos;/g,"'"))}function O(F,x=""){if(x){const D=R(o.value,x);D?v.value=D:v.value=F}else v.value=F}function R(F,x){if(F.xpath===x)return F;if(F.children&&F.children.length)for(const D of F.children){const V=R(D,x);if(V)return V}}function k(F,x){var D,V;return F.tag===x.tag&&((D=F.children)==null?void 0:D.length)===((V=x.children)==null?void 0:V.length)}function eA(F){if(b.value.xpath==F.xpath){if(b.value){if(F.type===Y.Block){var x=!0;const D=R(o.value,b.value.parentxpath||"");if(D&&D.children&&D.children.forEach(V=>{if(V.tag!=b.value.tag||!k(V,b.value)){x=!1;return}}),!x){z.error("同级结构不一致,错误配置!");return}}if(b.value.rule=F.rule,b.value.type=F.type,b.value.type===Y.Block){const D=R(o.value,b.value.parentxpath||"");D&&D.children&&(D.children.forEach(V=>{if(V.tag!=b.value.tag||!k(V,b.value)){z.error("同级结构不一致,无法配置为块类型");return}}),D.children.forEach(V=>{V.tag===b.value.tag&&(V.rule=F.rule,V.type=F.type)}))}}f.value=new Date().getTime().toString(),z.success("保存成功"),n("update:element",o.value)}}function cA(F){const x=R(o.value,F.xpath||"");x&&(x.rule=F.rule,x.type=F.type,x.children&&F.children&&x.children.forEach(D=>{const V=F.children.find(iA=>iA.xpath===D.xpath);V&&(D.rule=V.rule,D.type=V.type)})),z.success("操作成功"),f.value=new Date().getTime().toString(),n("update:element",o.value)}function hA(F){l.value=F}function q(F){u=Eu(F);const x=u("body").children().toArray().map(BA=>nA(u(BA)));l.value=u("body").html()||"";const D=x[0];if(D){let BA=function(wA,yA,W){var tt;const he=wA.xpath.replace(yA.xpath,W.xpath),VA=(tt=a.value)==null?void 0:tt.find(Xt=>Xt.xpath===he);VA&&(wA.rule=VA.rule,wA.type=VA.type),wA.children&&wA.children.length>0&&wA.children.forEach(Xt=>{BA(Xt,yA,W)})},ae=function(wA){if(wA.children&&wA.children.length>0){const yA=wA.children.find(W=>W.type===Y.Block);yA&&wA.children.forEach(W=>{var he,VA,tt;W.tag===yA.tag&&(W.rule=yA.rule,W.type=yA.type,W.attrs.class=(tt=(VA=(he=W.attrs)==null?void 0:he.class)==null?void 0:VA.replace(/pc:basis-\d\/\d/g,""))==null?void 0:tt.replace(/basis-\d\/\d/g,""),W.children&&W.children.length>0&&W.children.forEach(Xt=>{BA(Xt,W,yA)}))}),wA.children.forEach(W=>{ae(W)})}};ae(D)}const V=getComputedStyle(document.documentElement).getPropertyValue("--main-color"),iA=getComputedStyle(document.documentElement).getPropertyValue("--gp-designer-theme-color");return h.value=iA||V,D}function nA(F,x=""){var wA,yA;function D(W){if(!W||!W[0])return"";const he=[];let VA=W;for(;VA.length&&VA[0].tagName!=="html";){const tt=VA[0].tagName,TU=VA.parent().children(tt).index(VA)+1;he.unshift(`${tt}[${TU}]`),VA=VA.parent()}return"/html/"+he.join("/")}const V=D(F).replace("/html/body[1]",""),iA=F.children().toArray().map(W=>nA(u(W),V)).filter(W=>W.tag!=="br");let BA=(wA=a.value)==null?void 0:wA.find(W=>W.xpath===V),ae=F.contents().not(F.children()).text().trim();return BA&&((yA=BA.rule)!=null&&yA.allowWrap)&&(ae=F.html()),{tag:F[0].tagName,text:ae,attrs:F[0].attribs,children:iA,xpath:V,parentxpath:x,type:(BA==null?void 0:BA.type)||Y.None,rule:(BA==null?void 0:BA.rule)||{}}}function lA(F){const x=R(o.value,F.element.xpath);if(x){const D=c.toRaw(x);D.editText=F.newText}}function dA(F,x=""){function D(V,iA){var wA;const ae=(iA?((wA=R(o.value,iA))==null?void 0:wA.children)||[]:[o.value]).filter(yA=>yA.tag===V.tag).indexOf(V)+1;return`${iA}/${V.tag}[${ae}]`}F.xpath=D(F,x),F.parentxpath=x,(F.children||[]).forEach(V=>dA(V,F.xpath))}function TA({action:F,element:x,newBlock:D}){const V=R(o.value,x.parentxpath||"");if(!V||!V.children)return;const iA=V.children.findIndex(W=>W===x);if(iA===-1){z.error("未找到元素");return}const BA=V.children.length,{minBlock:ae,maxBlock:wA}=x.rule;if((F==="add"||F==="copy")&&BA>=(wA||1/0)){H.value=`无法添加更多块。最大块数量为 ${wA}`,z.error(H.value);return}function yA(W){W.xpath="",W.parentxpath="",W.text=W.editText||W.text,W.editText="",W.children.forEach(he=>{yA(he)})}switch(F){case"add":if(D){const W={...D,children:JSON.parse(JSON.stringify(D.children))};yA(W),V.children.splice(iA+1,0,W),z.success("添加成功")}break;case"copy":if(D){const W={...D,children:JSON.parse(JSON.stringify(D.children))};yA(W),V.children.splice(iA+1,0,W),z.success("复制成功")}break;case"moveUp":if(iA>0){const[W]=V.children.splice(iA,1);V.children.splice(iA-1,0,W),z.success("前移成功")}else z.error("已经是第一个块,无法前移");break;case"moveDown":if(iA<V.children.length-1){const[W]=V.children.splice(iA,1);V.children.splice(iA+1,0,W),z.success("后移成功")}else z.error("已经是最后一个块,无法后移");break;case"delete":if(BA<=(ae||0)){H.value=`无法删除更多块。最小块数量为 ${ae}`,z.error(H.value);return}V.children.splice(iA,1),z.success("删除成功");break}H.value="",dA(o.value)}function qA(F,x){let D=x.attrs.class.replace(/icon-\S+/g,`icon-${F}`);x.attrs.class=D}function _A(F){const x=F.file,D=R(o.value,F.element.xpath);if(r.uploadByFile)r.uploadByFile(x).then(V=>{V.success&&(D.attrs.src=V.file.url,f.value=new Date().getTime().toString())});else{D.attrs.alt=x.name;const V=URL.createObjectURL(x);D.attrs.src=V,f.value=new Date().getTime().toString()}}function WA(F){const{icon:x}=F,D=R(o.value,F.element.xpath);let V=D.attrs.class.replace(/icon-\S+/g,`icon-${x}`);D.attrs.class=V,f.value=new Date().getTime().toString()}const jA=F=>F.type.startsWith("image/")?!0:(z.error("只能上传图片文件"),!1),OA=c.ref({});function PA(F,x){if(!F||F.length===0)return;const D=F[0];if(x.rule&&(x.rule.minImageWidth||x.rule.maxImageHeight)){if(x.rule.minImageWidth&&D.width<x.rule.minImageWidth){z.error(`图片宽度不能小于 ${x.rule.minImageWidth}px`);return}if(x.rule.maxImageHeight&&D.height<x.rule.maxImageHeight){z.error(`图片高度不能小于 ${x.rule.maxImageHeight}px`);return}}x.rule.minImageWidth&&x.rule.maxImageHeight?(OA.value.width=x.rule.minImageWidth,OA.value.height=x.rule.maxImageHeight,OA.value.aspectRatio=x.rule.minImageWidth/x.rule.maxImageHeight):OA.value={},D&&(x.rule.crop?(D.thumbUrl,C.value.handleOpenCropper(OA.value,D.file,D.name,x)):r.uploadByFile?r.uploadByFile(D.file).then(V=>{V.success&&(x.attrs.src=V.file.url,f.value=new Date().getTime().toString())}):(x.attrs.src=D.thumbUrl,f.value=new Date().getTime().toString()))}const KA=c.ref(r.previewWidth),y=c.ref(360);let _=c.ref(!1),tA=c.ref(""),j=0,CA=0;function et(F){tA.value=F,_.value=!0,j=event.clientX,F==="preview"?CA=KA.value:F==="structure"&&(CA=y.value),window.addEventListener("mousemove",Pr),window.addEventListener("mouseup",Gt)}function Pr(F){if(!_.value)return;const x=F.clientX-j;tA.value==="preview"?KA.value=Math.max(200,CA+x):tA.value==="structure"&&(y.value=Math.max(200,CA-x))}function Gt(){_.value=!1,tA.value="",window.removeEventListener("mousemove",Pr),window.removeEventListener("mouseup",Gt)}const Yt=c.ref(!1),fe=c.ref("");function bs(){if(b.value){if(b.value&&b.value.rule&&b.value.rule.maxText&&fe.value.length>b.value.rule.maxText){z.error(`文本内容超出最大字数 ${b.value.rule.maxText} 个`);return}if(b.value&&b.value.rule&&b.value.rule.minText&&fe.value.length<b.value.rule.minText){z.error(`文本内容不能少于最小字数 ${b.value.rule.minText} 个`);return}f.value=new Date().getTime().toString(),b.value&&b.value.type===Y.Text&&(b.value.text=fe.value,b.value.editText=fe.value),Yt.value=!1}}return e({generateCover:L}),(F,x)=>(c.openBlock(),c.createElementBlock("div",rU,[F.preview?(c.openBlock(),c.createElementBlock("div",{key:0,class:"border-l overflow-auto resize-area",style:c.normalizeStyle({width:KA.value+"px"})},[F.showTitle?(c.openBlock(),c.createElementBlock("div",nU,[c.createElementVNode("h2",aU,[x[6]||(x[6]=c.createTextVNode(" 实时预览 ")),c.createElementVNode("span",iU,c.toDisplayString(KA.value)+"px",1)]),c.createElementVNode("div",{onClick:x[0]||(x[0]=()=>L()),class:"p-2 cursor-pointer text-blue-500"}," 封面 ")])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[l.value?(c.openBlock(),c.createBlock(e0,{key:0,"css-files":F.css,"js-files":F.js,"html-content":l.value,class:"gp-designer-preview",ref_key:"previewRef",ref:Q,"theme-color":h.value},null,8,["css-files","js-files","html-content","theme-color"])):(c.openBlock(),c.createBlock(e0,{key:1,"css-files":F.css,"js-files":F.js,"html-content":c.unref(u)("body").html(),class:"gp-designer-preview",ref_key:"previewRef",ref:Q,"theme-color":h.value},null,8,["css-files","js-files","html-content","theme-color"]))])],4)):c.createCommentVNode("",!0),F.preview?(c.openBlock(),c.createElementBlock("div",{key:1,class:"resizer",onMousedown:x[1]||(x[1]=D=>et("preview"))},null,32)):c.createCommentVNode("",!0),c.createElementVNode("div",sU,[F.showTitle?(c.openBlock(),c.createElementBlock("div",oU,[x[8]||(x[8]=c.createElementVNode("h2",{class:"text-lg font-bold"},"结构渲染",-1)),c.createElementVNode("div",uU,[c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":x[2]||(x[2]=D=>K.value=D),type:"checkbox",id:"showMargin",class:"mr-2"},null,512),[[c.vModelCheckbox,K.value]]),x[7]||(x[7]=c.createElementVNode("label",{for:"showMargin"},"间距",-1))])])):c.createCommentVNode("",!0),c.createElementVNode("div",cU,[o.value?(c.openBlock(),c.createBlock(yp,{key:0,"upload-by-file":F.uploadByFile,cropper:C.value,icon:m.value,upload:T.value,mode:F.mode,icons:F.icons,r:f.value,"show-margin":K.value,element:o.value,selectedElement:b.value,hoveredElement:v.value,onSelectElement:E,onHoverElement:O,onContentUpdated:hA,onUpdateText:lA,onBlockAction:TA,onAddIcon:qA,onUpdateElementRule:cA},null,8,["upload-by-file","cropper","icon","upload","mode","icons","r","show-margin","element","selectedElement","hoveredElement"])):c.createCommentVNode("",!0)])]),d.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:2,class:"resizer",onMousedown:x[3]||(x[3]=D=>et("structure"))},null,32)):c.createCommentVNode("",!0),d.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:3,class:"resize-area",style:c.normalizeStyle({width:y.value+"px"})},[c.createElementVNode("div",lU,[F.showTitle?(c.openBlock(),c.createElementBlock("h2",dU,[x[9]||(x[9]=c.createTextVNode(" 节点属性 ")),c.createElementVNode("span",fU,c.toDisplayString(y.value)+"px",1)])):c.createCommentVNode("",!0),c.createElementVNode("div",hU,[b.value?(c.openBlock(),c.createBlock(Zp,{key:0,element:b.value,onUpdateElement:eA},null,8,["element"])):c.createCommentVNode("",!0)])])],4)):c.createCommentVNode("",!0),c.createVNode(um,{ref_key:"cropperRef",ref:C,onOk:_A},null,512),c.createVNode(mm,{icons:F.icons,ref_key:"iconRef",ref:m,onOk:WA},null,8,["icons"]),c.createVNode(ym,{ref_key:"uploadRef",ref:T,multiple:!1,show:!1,beforeUpload:jA,onChange:PA},{"upload-icon":c.withCtx(()=>x[10]||(x[10]=[c.createElementVNode("div",{class:"p-2"},"上传",-1)])),_:1},512),c.createVNode($u,{title:"多行文本编辑",visible:Yt.value,"onUpdate:visible":x[5]||(x[5]=D=>Yt.value=D),onOk:bs,"mask-closable":!1},{default:c.withCtx(()=>{var D;return[b.value?(c.openBlock(),c.createElementBlock("div",BU,[c.withDirectives(c.createElementVNode("textarea",{"onUpdate:modelValue":x[4]||(x[4]=V=>fe.value=V),class:"w-full h-full text-sm"},null,512),[[c.vModelText,fe.value]])])):c.createCommentVNode("",!0),b.value&&b.value.rule?(c.openBlock(),c.createElementBlock("div",gU,[c.createElementVNode("div",null,[c.createElementVNode("span",null,c.toDisplayString(((D=fe.value)==null?void 0:D.length)||0)+" 字",1),b.value.rule.minText&&b.value.rule.maxText?(c.openBlock(),c.createElementBlock("span",pU," / "+c.toDisplayString(b.value.rule.minText||0)+" ~ "+c.toDisplayString(b.value.rule.maxText||0)+" 字 ",1)):b.value.rule.minText?(c.openBlock(),c.createElementBlock("span",EU," / 最少 "+c.toDisplayString(b.value.rule.minText)+" 字",1)):b.value.rule.maxText?(c.openBlock(),c.createElementBlock("span",mU," / 最多 "+c.toDisplayString(b.value.rule.maxText)+" 字",1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",null,[b.value.rule.maxText&&fe.value.length>b.value.rule.maxText?(c.openBlock(),c.createElementBlock("span",CU," 超出最大字数 "+c.toDisplayString(b.value.rule.maxText)+" 字 ",1)):b.value.rule.minText&&fe.value.length<b.value.rule.minText?(c.openBlock(),c.createElementBlock("span",wU," 不能少于最小字数 "+c.toDisplayString(b.value.rule.minText)+" 字 ",1)):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)]}),_:1},8,["visible"])]))}}),[["__scopeId","data-v-af92f944"]]),bU={install(A){A.component("Designer",t0)}};He.Designer=t0,He.default=bU,Object.defineProperties(He,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});