reactjs-tiptap-editor 0.2.21 → 0.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,302 @@
1
+ "use strict";const $e=require("react"),KT=require("react-dom"),ce=require("react/jsx-runtime");function ft(t){this.content=t}ft.prototype={constructor:ft,find:function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return-1},get:function(t){var e=this.find(t);return e==-1?void 0:this.content[e+1]},update:function(t,e,n){var r=n&&n!=t?this.remove(n):this,i=r.find(t),o=r.content.slice();return i==-1?o.push(n||t,e):(o[i+1]=e,n&&(o[i]=n)),new ft(o)},remove:function(t){var e=this.find(t);if(e==-1)return this;var n=this.content.slice();return n.splice(e,2),new ft(n)},addToStart:function(t,e){return new ft([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new ft(n)},addBefore:function(t,e,n){var r=this.remove(e),i=r.content.slice(),o=r.find(t);return i.splice(o==-1?i.length:o,0,e,n),new ft(i)},forEach:function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},prepend:function(t){return t=ft.from(t),t.size?new ft(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=ft.from(t),t.size?new ft(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=ft.from(t);for(var n=0;n<t.content.length;n+=2)e=e.remove(t.content[n]);return e},toObject:function(){var t={};return this.forEach(function(e,n){t[e]=n}),t},get size(){return this.content.length>>1}};ft.from=function(t){if(t instanceof ft)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new ft(e)};function Dx(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),o=e.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let a=0;i.text[a]==o.text[a];a++)n++;return n}if(i.content.size||o.content.size){let a=Dx(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function _x(t,e,n,r){for(let i=t.childCount,o=e.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let a=t.child(--i),s=e.child(--o),c=a.nodeSize;if(a==s){n-=c,r-=c;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let l=0,u=Math.min(a.text.length,s.text.length);for(;l<u&&a.text[a.text.length-l-1]==s.text[s.text.length-l-1];)l++,n--,r--;return{a:n,b:r}}if(a.content.size||s.content.size){let l=_x(a.content,s.content,n-1,r-1);if(l)return l}n-=c,r-=c}}class pe{constructor(e,n){if(this.content=e,this.size=n||0,n==null)for(let r=0;r<e.length;r++)this.size+=e[r].nodeSize}nodesBetween(e,n,r,i=0,o){for(let a=0,s=0;s<n;a++){let c=this.content[a],l=s+c.nodeSize;if(l>e&&r(c,i+s,o||null,a)!==!1&&c.content.size){let u=s+1;c.nodesBetween(Math.max(0,e-u),Math.min(c.content.size,n-u),r,i+u)}s=l}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let o="",a=!0;return this.nodesBetween(e,n,(s,c)=>{let l=s.isText?s.text.slice(Math.max(e,c)-c,n-c):s.isLeaf?i?typeof i=="function"?i(s):i:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&l||s.isTextblock)&&r&&(a?a=!1:o+=r),o+=l},0),o}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);o<e.content.length;o++)i.push(e.content[o]);return new pe(i,this.size+e.size)}cut(e,n=this.size){if(e==0&&n==this.size)return this;let r=[],i=0;if(n>e)for(let o=0,a=0;a<n;o++){let s=this.content[o],c=a+s.nodeSize;c>e&&((a<e||c>n)&&(s.isText?s=s.cut(Math.max(0,e-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,e-a-1),Math.min(s.content.size,n-a-1))),r.push(s),i+=s.nodeSize),a=c}return new pe(r,i)}cutByIndex(e,n){return e==n?pe.empty:e==0&&n==this.content.length?this:new pe(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[e]=n,new pe(i,o)}addToStart(e){return new pe([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new pe(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(e.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let n=this.content[e];if(!n)throw new RangeError("Index "+e+" out of range for "+this);return n}maybeChild(e){return this.content[e]||null}forEach(e){for(let n=0,r=0;n<this.content.length;n++){let i=this.content[n];e(i,r,n),r+=i.nodeSize}}findDiffStart(e,n=0){return Dx(this,e,n)}findDiffEnd(e,n=this.size,r=e.size){return _x(this,e,n,r)}findIndex(e,n=-1){if(e==0)return Ea(0,e);if(e==this.size)return Ea(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,i=0;;r++){let o=this.child(r),a=i+o.nodeSize;if(a>=e)return a==e||n>0?Ea(r+1,a):Ea(r,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return pe.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new pe(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return pe.empty;let n,r=0;for(let i=0;i<e.length;i++){let o=e[i];r+=o.nodeSize,i&&o.isText&&e[i-1].sameMarkup(o)?(n||(n=e.slice(0,i)),n[n.length-1]=o.withText(n[n.length-1].text+o.text)):n&&n.push(o)}return new pe(n||e,r)}static from(e){if(!e)return pe.empty;if(e instanceof pe)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new pe([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}pe.empty=new pe([],0);const Fl={index:0,offset:0};function Ea(t,e){return Fl.index=t,Fl.offset=e,Fl}function qs(t,e){if(t===e)return!0;if(!(t&&typeof t=="object")||!(e&&typeof e=="object"))return!1;let n=Array.isArray(t);if(Array.isArray(e)!=n)return!1;if(n){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!qs(t[r],e[r]))return!1}else{for(let r in t)if(!(r in e)||!qs(t[r],e[r]))return!1;for(let r in e)if(!(r in t))return!1}return!0}class je{constructor(e,n){this.type=e,this.attrs=n}addToSet(e){let n,r=!1;for(let i=0;i<e.length;i++){let o=e[i];if(this.eq(o))return e;if(this.type.excludes(o.type))n||(n=e.slice(0,i));else{if(o.type.excludes(this.type))return e;!r&&o.type.rank>this.type.rank&&(n||(n=e.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return e.slice(0,n).concat(e.slice(n+1));return e}isInSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return!0;return!1}eq(e){return this==e||this.type==e.type&&qs(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let r=e.marks[n.type];if(!r)throw new RangeError(`There is no mark type ${n.type} in this schema`);let i=r.create(n.attrs);return r.checkAttrs(i.attrs),i}static sameSet(e,n){if(e==n)return!0;if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(n[r]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return je.none;if(e instanceof je)return[e];let n=e.slice();return n.sort((r,i)=>r.type.rank-i.type.rank),n}}je.none=[];class zs extends Error{}class we{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=Ex(this.content,e+this.openStart,n);return r&&new we(r,this.openStart,this.openEnd)}removeBetween(e,n){return new we(wx(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return we.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new we(pe.fromJSON(e,n.content),r,i)}static maxOpen(e,n=!0){let r=0,i=0;for(let o=e.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=e.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new we(e,r,i)}}we.empty=new we(pe.empty,0,0);function wx(t,e,n){let{index:r,offset:i}=t.findIndex(e),o=t.maybeChild(r),{index:a,offset:s}=t.findIndex(n);if(i==e||o.isText){if(s!=n&&!t.child(a).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return t.replaceChild(r,o.copy(wx(o.content,e-i-1,n-i-1)))}function Ex(t,e,n,r){let{index:i,offset:o}=t.findIndex(e),a=t.maybeChild(i);if(o==e||a.isText)return t.cut(0,e).append(n).append(t.cut(e));let s=Ex(a.content,e-o-1,n);return s&&t.replaceChild(i,a.copy(s))}function ZT(t,e,n){if(n.openStart>t.depth)throw new zs("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new zs("Inconsistent open depths");return Tx(t,e,n,0)}function Tx(t,e,n,r){let i=t.index(r),o=t.node(r);if(i==e.index(r)&&r<t.depth-n.openStart){let a=Tx(t,e,n,r+1);return o.copy(o.content.replaceChild(i,a))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&t.depth==r&&e.depth==r){let a=t.parent,s=a.content;return Kr(a,s.cut(0,t.parentOffset).append(n.content).append(s.cut(e.parentOffset)))}else{let{start:a,end:s}=JT(n,t);return Kr(o,Ax(t,a,s,e,r))}else return Kr(o,$s(t,e,r))}function Sx(t,e){if(!e.type.compatibleContent(t.type))throw new zs("Cannot join "+e.type.name+" onto "+t.type.name)}function yh(t,e,n){let r=t.node(n);return Sx(r,e.node(n)),r}function Xr(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function Lo(t,e,n,r){let i=(e||t).node(n),o=0,a=e?e.index(n):i.childCount;t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(Xr(t.nodeAfter,r),o++));for(let s=o;s<a;s++)Xr(i.child(s),r);e&&e.depth==n&&e.textOffset&&Xr(e.nodeBefore,r)}function Kr(t,e){return t.type.checkContent(e),t.copy(e)}function Ax(t,e,n,r,i){let o=t.depth>i&&yh(t,e,i+1),a=r.depth>i&&yh(n,r,i+1),s=[];return Lo(null,t,i,s),o&&a&&e.index(i)==n.index(i)?(Sx(o,a),Xr(Kr(o,Ax(t,e,n,r,i+1)),s)):(o&&Xr(Kr(o,$s(t,e,i+1)),s),Lo(e,n,i,s),a&&Xr(Kr(a,$s(n,r,i+1)),s)),Lo(r,null,i,s),new pe(s)}function $s(t,e,n){let r=[];if(Lo(null,t,n,r),t.depth>n){let i=yh(t,e,n+1);Xr(Kr(i,$s(t,e,n+1)),r)}return Lo(e,null,n,r),new pe(r)}function JT(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let o=n-1;o>=0;o--)i=e.node(o).copy(pe.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}class Ko{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(n);return r?e.child(n).cut(r):i}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o<e;o++)i+=r.child(o).nodeSize;return i}marks(){let e=this.parent,n=this.index();if(e.content.size==0)return je.none;if(this.textOffset)return e.child(n).marks;let r=e.maybeChild(n-1),i=e.maybeChild(n);if(!r){let s=r;r=i,i=s}let o=r.marks;for(var a=0;a<o.length;a++)o[a].type.spec.inclusive===!1&&(!i||!o[a].isInSet(i.marks))&&(o=o[a--].removeFromSet(o));return o}marksAcross(e){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,i=e.parent.maybeChild(e.index());for(var o=0;o<r.length;o++)r[o].type.spec.inclusive===!1&&(!i||!r[o].isInSet(i.marks))&&(r=r[o--].removeFromSet(r));return r}sharedDepth(e){for(let n=this.depth;n>0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new Zo(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let n=1;n<=this.depth;n++)e+=(e?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return e+":"+this.parentOffset}static resolve(e,n){if(!(n>=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let a=e;;){let{index:s,offset:c}=a.content.findIndex(o),l=o-c;if(r.push(a,s,i+c),!l||(a=a.child(s),a.isText))break;o=l-1,i+=c+1}return new Ko(n,r,o)}static resolveCached(e,n){let r=Rm.get(e);if(r)for(let o=0;o<r.elts.length;o++){let a=r.elts[o];if(a.pos==n)return a}else Rm.set(e,r=new YT);let i=r.elts[r.i]=Ko.resolve(e,n);return r.i=(r.i+1)%QT,i}}class YT{constructor(){this.elts=[],this.i=0}}const QT=12,Rm=new WeakMap;class Zo{constructor(e,n,r){this.$from=e,this.$to=n,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const eS=Object.create(null);class hn{constructor(e,n,r,i=je.none){this.type=e,this.attrs=n,this.marks=i,this.content=r||pe.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,n,r,i=0){this.content.nodesBetween(e,n,r,i,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,n,r,i){return this.content.textBetween(e,n,r,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,n,r){return this.type==e&&qs(this.attrs,n||e.defaultAttrs||eS)&&je.sameSet(this.marks,r||je.none)}copy(e=null){return e==this.content?this:new hn(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new hn(this.type,this.attrs,this.content,e)}cut(e,n=this.content.size){return e==0&&n==this.content.size?this:this.copy(this.content.cut(e,n))}slice(e,n=this.content.size,r=!1){if(e==n)return we.empty;let i=this.resolve(e),o=this.resolve(n),a=r?0:i.sharedDepth(n),s=i.start(a),l=i.node(a).content.cut(i.pos-s,o.pos-s);return new we(l,i.depth-a,o.depth-a)}replace(e,n,r){return ZT(this.resolve(e),this.resolve(n),r)}nodeAt(e){for(let n=this;;){let{index:r,offset:i}=n.content.findIndex(e);if(n=n.maybeChild(r),!n)return null;if(i==e||n.isText)return n;e-=i+1}}childAfter(e){let{index:n,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(n),index:n,offset:r};let i=this.content.child(n-1);return{node:i,index:n-1,offset:r-i.nodeSize}}resolve(e){return Ko.resolveCached(this,e)}resolveNoCache(e){return Ko.resolve(this,e)}rangeHasMark(e,n,r){let i=!1;return n>e&&this.nodesBetween(e,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Cx(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=pe.empty,i=0,o=r.childCount){let a=this.contentMatchAt(e).matchFragment(r,i,o),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let c=i;c<o;c++)if(!this.type.allowsMarks(r.child(c).marks))return!1;return!0}canReplaceWith(e,n,r,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(e).matchType(r),a=o&&o.matchFragment(this.content,n);return a?a.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=je.none;for(let n=0;n<this.marks.length;n++){let r=this.marks[n];r.type.checkAttrs(r.attrs),e=r.addToSet(e)}if(!je.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let i=pe.fromJSON(e,n.content),o=e.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}}hn.prototype.text=void 0;class js extends hn{constructor(e,n,r,i){if(super(e,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Cx(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new js(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new js(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function Cx(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class ti{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new tS(e,n);if(r.next==null)return ti.empty;let i=Ux(r);r.next&&r.err("Unexpected trailing text");let o=cS(sS(i));return lS(o,r),o}matchType(e){for(let n=0;n<this.next.length;n++)if(this.next[n].type==e)return this.next[n].next;return null}matchFragment(e,n=0,r=e.childCount){let i=this;for(let o=n;i&&o<r;o++)i=i.matchType(e.child(o).type);return i}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:n}=this.next[e];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(e){for(let n=0;n<this.next.length;n++)for(let r=0;r<e.next.length;r++)if(this.next[n].type==e.next[r].type)return!0;return!1}fillBefore(e,n=!1,r=0){let i=[this];function o(a,s){let c=a.matchFragment(e,r);if(c&&(!n||c.validEnd))return pe.from(s.map(l=>l.createAndFill()));for(let l=0;l<a.next.length;l++){let{type:u,next:d}=a.next[l];if(!(u.isText||u.hasRequiredAttrs())&&i.indexOf(d)==-1){i.push(d);let f=o(d,s.concat(u));if(f)return f}}return null}return o(this,[])}findWrapping(e){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==e)return this.wrapCache[r+1];let n=this.computeWrapping(e);return this.wrapCache.push(e,n),n}computeWrapping(e){let n=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let i=r.shift(),o=i.match;if(o.matchType(e)){let a=[];for(let s=i;s.type;s=s.via)a.push(s.type);return a.reverse()}for(let a=0;a<o.next.length;a++){let{type:s,next:c}=o.next[a];!s.isLeaf&&!s.hasRequiredAttrs()&&!(s.name in n)&&(!i.type||c.validEnd)&&(r.push({match:s.contentMatch,type:s,via:i}),n[s.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let i=0;i<r.next.length;i++)e.indexOf(r.next[i].next)==-1&&n(r.next[i].next)}return n(this),e.map((r,i)=>{let o=i+(r.validEnd?"*":" ")+" ";for(let a=0;a<r.next.length;a++)o+=(a?", ":"")+r.next[a].type.name+"->"+e.indexOf(r.next[a].next);return o}).join(`
2
+ `)}}ti.empty=new ti(!0);class tS{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function Ux(t){let e=[];do e.push(nS(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function nS(t){let e=[];do e.push(rS(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function rS(t){let e=aS(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=iS(t,e);else break;return e}function Fm(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function iS(t,e){let n=Fm(t),r=n;return t.eat(",")&&(t.next!="}"?r=Fm(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function oS(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let i=[];for(let o in n){let a=n[o];a.isInGroup(e)&&i.push(a)}return i.length==0&&t.err("No node type or group '"+e+"' found"),i}function aS(t){if(t.eat("(")){let e=Ux(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=oS(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function sS(t){let e=[[]];return i(o(t,0),n()),e;function n(){return e.push([])-1}function r(a,s,c){let l={term:c,to:s};return e[a].push(l),l}function i(a,s){a.forEach(c=>c.to=s)}function o(a,s){if(a.type=="choice")return a.exprs.reduce((c,l)=>c.concat(o(l,s)),[]);if(a.type=="seq")for(let c=0;;c++){let l=o(a.exprs[c],s);if(c==a.exprs.length-1)return l;i(l,s=n())}else if(a.type=="star"){let c=n();return r(s,c),i(o(a.expr,c),c),[r(c)]}else if(a.type=="plus"){let c=n();return i(o(a.expr,s),c),i(o(a.expr,c),c),[r(c)]}else{if(a.type=="opt")return[r(s)].concat(o(a.expr,s));if(a.type=="range"){let c=s;for(let l=0;l<a.min;l++){let u=n();i(o(a.expr,c),u),c=u}if(a.max==-1)i(o(a.expr,c),c);else for(let l=a.min;l<a.max;l++){let u=n();r(c,u),i(o(a.expr,c),u),c=u}return[r(c)]}else{if(a.type=="name")return[r(s,void 0,a.value)];throw new Error("Unknown expr type")}}}}function kx(t,e){return e-t}function Im(t,e){let n=[];return r(e),n.sort(kx);function r(i){let o=t[i];if(o.length==1&&!o[0].term)return r(o[0].to);n.push(i);for(let a=0;a<o.length;a++){let{term:s,to:c}=o[a];!s&&n.indexOf(c)==-1&&r(c)}}}function cS(t){let e=Object.create(null);return n(Im(t,0));function n(r){let i=[];r.forEach(a=>{t[a].forEach(({term:s,to:c})=>{if(!s)return;let l;for(let u=0;u<i.length;u++)i[u][0]==s&&(l=i[u][1]);Im(t,c).forEach(u=>{l||i.push([s,l=[]]),l.indexOf(u)==-1&&l.push(u)})})});let o=e[r.join(",")]=new ti(r.indexOf(t.length-1)>-1);for(let a=0;a<i.length;a++){let s=i[a][1].sort(kx);o.next.push({type:i[a][0],next:e[s.join(",")]||n(s)})}return o}}function lS(t,e){for(let n=0,r=[t];n<r.length;n++){let i=r[n],o=!i.validEnd,a=[];for(let s=0;s<i.next.length;s++){let{type:c,next:l}=i.next[s];a.push(c.name),o&&!(c.isText||c.hasRequiredAttrs())&&(o=!1),r.indexOf(l)==-1&&r.push(l)}o&&e.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function Ox(t){let e=Object.create(null);for(let n in t){let r=t[n];if(!r.hasDefault)return null;e[n]=r.default}return e}function Rx(t,e){let n=Object.create(null);for(let r in t){let i=e&&e[r];if(i===void 0){let o=t[r];if(o.hasDefault)i=o.default;else throw new RangeError("No value supplied for attribute "+r)}n[r]=i}return n}function Fx(t,e,n,r){for(let i in e)if(!(i in t))throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${i}`);for(let i in t){let o=t[i];o.validate&&o.validate(e[i])}}function Ix(t,e){let n=Object.create(null);if(e)for(let r in e)n[r]=new dS(t,r,e[r]);return n}let Nm=class Nx{constructor(e,n,r){this.name=e,this.schema=n,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=Ix(e,r.attrs),this.defaultAttrs=Ox(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||e=="text"),this.isText=e=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==ti.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Rx(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new hn(this,this.computeAttrs(e),pe.from(n),je.setFrom(r))}createChecked(e=null,n,r){return n=pe.from(n),this.checkContent(n),new hn(this,this.computeAttrs(e),n,je.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=pe.from(n),n.size){let a=this.contentMatch.fillBefore(n);if(!a)return null;n=a.append(n)}let i=this.contentMatch.matchFragment(n),o=i&&i.fillBefore(pe.empty,!0);return o?new hn(this,e,n.append(o),je.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r<e.childCount;r++)if(!this.allowsMarks(e.child(r).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){Fx(this.attrs,e,"node",this.name)}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;n<e.length;n++)if(!this.allowsMarkType(e[n].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let n;for(let r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?n&&n.push(e[r]):n||(n=e.slice(0,r));return n?n.length?n:je.none:e}static compile(e,n){let r=Object.create(null);e.forEach((o,a)=>r[o]=new Nx(o,n,a));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function uS(t,e,n){let r=n.split("|");return i=>{let o=i===null?"null":typeof i;if(r.indexOf(o)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${o}`)}}class dS{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?uS(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class Pc{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=Ix(e,i.attrs),this.excluded=null;let o=Ox(this.attrs);this.instance=o?new je(this,o):null}create(e=null){return!e&&this.instance?this.instance:new je(this,Rx(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((o,a)=>r[o]=new Pc(o,i++,n,a)),r}removeFromSet(e){for(var n=0;n<e.length;n++)e[n].type==this&&(e=e.slice(0,n).concat(e.slice(n+1)),n--);return e}isInSet(e){for(let n=0;n<e.length;n++)if(e[n].type==this)return e[n]}checkAttrs(e){Fx(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class fS{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in e)n[i]=e[i];n.nodes=ft.from(e.nodes),n.marks=ft.from(e.marks||{}),this.nodes=Nm.compile(this.spec.nodes,this),this.marks=Pc.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],a=o.spec.content||"",s=o.spec.marks;if(o.contentMatch=r[a]||(r[a]=ti.parse(a,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!o.isInline||!o.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=o}o.markSet=s=="_"?null:s?Bm(this,s.split(" ")):s==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],a=o.spec.excludes;o.excluded=a==null?[o]:a==""?[]:Bm(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Nm){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,i)}text(e,n){let r=this.nodes.text;return new js(r,r.defaultAttrs,e,je.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeFromJSON(e){return hn.fromJSON(this,e)}markFromJSON(e){return je.fromJSON(this,e)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function Bm(t,e){let n=[];for(let r=0;r<e.length;r++){let i=e[r],o=t.marks[i],a=o;if(o)n.push(o);else for(let s in t.marks){let c=t.marks[s];(i=="_"||c.spec.group&&c.spec.group.split(" ").indexOf(i)>-1)&&n.push(a=c)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function hS(t){return t.tag!=null}function pS(t){return t.style!=null}class Vi{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(hS(i))this.tags.push(i);else if(pS(i)){let o=/[^=]*/.exec(i.style)[0];r.indexOf(o)<0&&r.push(o),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=e.nodes[i.node];return o.contentMatch.matchType(o)})}parse(e,n={}){let r=new Lm(this,n,!1);return r.addAll(e,je.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new Lm(this,n,!0);return r.addAll(e,je.none,n.from,n.to),we.maxOpen(r.finish())}matchTag(e,n,r){for(let i=r?this.tags.indexOf(r)+1:0;i<this.tags.length;i++){let o=this.tags[i];if(yS(e,o.tag)&&(o.namespace===void 0||e.namespaceURI==o.namespace)&&(!o.context||n.matchesContext(o.context))){if(o.getAttrs){let a=o.getAttrs(e);if(a===!1)continue;o.attrs=a||void 0}return o}}}matchStyle(e,n,r,i){for(let o=i?this.styles.indexOf(i)+1:0;o<this.styles.length;o++){let a=this.styles[o],s=a.style;if(!(s.indexOf(e)!=0||a.context&&!r.matchesContext(a.context)||s.length>e.length&&(s.charCodeAt(e.length)!=61||s.slice(e.length+1)!=n))){if(a.getAttrs){let c=a.getAttrs(n);if(c===!1)continue;a.attrs=c||void 0}return a}}}static schemaRules(e){let n=[];function r(i){let o=i.priority==null?50:i.priority,a=0;for(;a<n.length;a++){let s=n[a];if((s.priority==null?50:s.priority)<o)break}n.splice(a,0,i)}for(let i in e.marks){let o=e.marks[i].spec.parseDOM;o&&o.forEach(a=>{r(a=Wm(a)),a.mark||a.ignore||a.clearMark||(a.mark=i)})}for(let i in e.nodes){let o=e.nodes[i].spec.parseDOM;o&&o.forEach(a=>{r(a=Wm(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Vi(e,Vi.schemaRules(e)))}}const Bx={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},gS={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Mx={ol:!0,ul:!0},Jo=1,bh=2,ss=4;function Mm(t,e,n){return e!=null?(e?Jo:0)|(e==="full"?bh:0):t&&t.whitespace=="pre"?Jo|bh:n&-5}class Ta{constructor(e,n,r,i,o,a){this.type=e,this.attrs=n,this.marks=r,this.solid=i,this.options=a,this.content=[],this.activeMarks=je.none,this.match=o||(a&ss?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(pe.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Jo)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=pe.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(pe.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Bx.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Lm{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let i=n.topNode,o,a=Mm(null,n.preserveWhitespace,0)|(r?ss:0);i?o=new Ta(i.type,i.attrs,je.none,!0,n.topMatch||i.type.contentMatch,a):r?o=new Ta(null,null,je.none,!0,null,a):o=new Ta(e.schema.topNodeType,null,je.none,!0,null,a),this.nodes=[o],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,i=this.top,o=i.options&bh?"full":this.localPreserveWS||(i.options&Jo)>0;if(o==="full"||i.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(o)o!=="full"?r=r.replace(/\r?\n|\r/g," "):r=r.replace(/\r\n?/g,`
3
+ `);else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){let a=i.content[i.content.length-1],s=e.previousSibling;(!a||s&&s.nodeName=="BR"||a.isText&&/[ \t\r\n\u000c]$/.test(a.text))&&(r=r.slice(1))}r&&this.insertNode(this.parser.schema.text(r),n),this.findInText(e)}else this.findInside(e)}addElement(e,n,r){let i=this.localPreserveWS,o=this.top;(e.tagName=="PRE"||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let a=e.nodeName.toLowerCase(),s;Mx.hasOwnProperty(a)&&this.parser.normalizeLists&&mS(e);let c=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(s=this.parser.matchTag(e,this,r));e:if(c?c.ignore:gS.hasOwnProperty(a))this.findInside(e),this.ignoreFallback(e,n);else if(!c||c.skip||c.closeParent){c&&c.closeParent?this.open=Math.max(0,this.open-1):c&&c.skip.nodeType&&(e=c.skip);let l,u=this.needsBlock;if(Bx.hasOwnProperty(a))o.content.length&&o.content[0].isInline&&this.open&&(this.open--,o=this.top),l=!0,o.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,n);break e}let d=c&&c.skip?n:this.readStyles(e,n);d&&this.addAll(e,d),l&&this.sync(o),this.needsBlock=u}else{let l=this.readStyles(e,n);l&&this.addElementByRule(e,c,l,c.consuming===!1?s:void 0)}this.localPreserveWS=i}leafFallback(e,n){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`
4
+ `),n)}ignoreFallback(e,n){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),n)}readStyles(e,n){let r=e.style;if(r&&r.length)for(let i=0;i<this.parser.matchedStyles.length;i++){let o=this.parser.matchedStyles[i],a=r.getPropertyValue(o);if(a)for(let s=void 0;;){let c=this.parser.matchStyle(o,a,this,s);if(!c)break;if(c.ignore)return null;if(c.clearMark?n=n.filter(l=>!c.clearMark(l)):n=n.concat(this.parser.schema.marks[c.mark].create(c.attrs)),c.consuming===!1)s=c;else break}}return n}addElementByRule(e,n,r,i){let o,a;if(n.node)if(a=this.parser.schema.nodes[n.node],a.isLeaf)this.insertNode(a.create(n.attrs),r)||this.leafFallback(e,r);else{let c=this.enter(a,n.attrs||null,r,n.preserveWhitespace);c&&(o=!0,r=c)}else{let c=this.parser.schema.marks[n.mark];r=r.concat(c.create(n.attrs))}let s=this.top;if(a&&a.isLeaf)this.findInside(e);else if(i)this.addElement(e,r,i);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(c=>this.insertNode(c,r));else{let c=e;typeof n.contentElement=="string"?c=e.querySelector(n.contentElement):typeof n.contentElement=="function"?c=n.contentElement(e):n.contentElement&&(c=n.contentElement),this.findAround(e,c,!0),this.addAll(c,r),this.findAround(e,c,!1)}o&&this.sync(s)&&this.open--}addAll(e,n,r,i){let o=r||0;for(let a=r?e.childNodes[r]:e.firstChild,s=i==null?null:e.childNodes[i];a!=s;a=a.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(a,n);this.findAtPoint(e,o)}findPlace(e,n){let r,i;for(let o=this.open;o>=0;o--){let a=this.nodes[o],s=a.findWrapping(e);if(s&&(!r||r.length>s.length)&&(r=s,i=a,!s.length)||a.solid)break}if(!r)return null;this.sync(i);for(let o=0;o<r.length;o++)n=this.enterInner(r[o],null,n,!1);return n}insertNode(e,n){if(e.isInline&&this.needsBlock&&!this.top.type){let i=this.textblockFromContext();i&&(n=this.enterInner(i,null,n))}let r=this.findPlace(e,n);if(r){this.closeExtra();let i=this.top;i.match&&(i.match=i.match.matchType(e.type));let o=je.none;for(let a of r.concat(e.marks))(i.type?i.type.allowsMarkType(a.type):Pm(a.type,e.type))&&(o=a.addToSet(o));return i.content.push(e.mark(o)),!0}return!1}enter(e,n,r,i){let o=this.findPlace(e.create(n),r);return o&&(o=this.enterInner(e,n,r,!0,i)),o}enterInner(e,n,r,i=!1,o){this.closeExtra();let a=this.top;a.match=a.match&&a.match.matchType(e);let s=Mm(e,o,a.options);a.options&ss&&a.content.length==0&&(s|=ss);let c=je.none;return r=r.filter(l=>(a.type?a.type.allowsMarkType(l.type):Pm(l.type,e))?(c=l.addToSet(c),!1):!0),this.nodes.push(new Ta(e,n,c,i,null,s)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let n=this.open;n>=0;n--){if(this.nodes[n]==e)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=Jo)}return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==e&&this.find[r].offset==n&&(this.find[r].pos=this.currentPos)}findInside(e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&e.nodeType==1&&e.contains(this.find[n].node)&&(this.find[n].pos=this.currentPos)}findAround(e,n,r){if(e!=n&&this.find)for(let i=0;i<this.find.length;i++)this.find[i].pos==null&&e.nodeType==1&&e.contains(this.find[i].node)&&n.compareDocumentPosition(this.find[i].node)&(r?2:4)&&(this.find[i].pos=this.currentPos)}findInText(e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&(this.find[n].pos=this.currentPos-(e.nodeValue.length-this.find[n].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),a=(s,c)=>{for(;s>=0;s--){let l=n[s];if(l==""){if(s==n.length-1||s==0)continue;for(;c>=o;c--)if(a(s-1,c))return!0;return!1}else{let u=c>0||c==0&&i?this.nodes[c].type:r&&c>=o?r.node(c-o).type:null;if(!u||u.name!=l&&!u.isInGroup(l))return!1;c--}}return!0};return a(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}}function mS(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&Mx.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function yS(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function Wm(t){let e={};for(let n in t)e[n]=t[n];return e}function Pm(t,e){let n=e.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(t))continue;let o=[],a=s=>{o.push(s);for(let c=0;c<s.edgeCount;c++){let{type:l,next:u}=s.edge(c);if(l==e||o.indexOf(u)<0&&a(u))return!0}};if(a(i.contentMatch))return!0}}class ci{constructor(e,n){this.nodes=e,this.marks=n}serializeFragment(e,n={},r){r||(r=Il(n).createDocumentFragment());let i=r,o=[];return e.forEach(a=>{if(o.length||a.marks.length){let s=0,c=0;for(;s<o.length&&c<a.marks.length;){let l=a.marks[c];if(!this.marks[l.type.name]){c++;continue}if(!l.eq(o[s][0])||l.type.spec.spanning===!1)break;s++,c++}for(;s<o.length;)i=o.pop()[1];for(;c<a.marks.length;){let l=a.marks[c++],u=this.serializeMark(l,a.isInline,n);u&&(o.push([l,i]),i.appendChild(u.dom),i=u.contentDOM||u.dom)}}i.appendChild(this.serializeNodeInner(a,n))}),r}serializeNodeInner(e,n){let{dom:r,contentDOM:i}=cs(Il(n),this.nodes[e.type.name](e),null,e.attrs);if(i){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,n,i)}return r}serializeNode(e,n={}){let r=this.serializeNodeInner(e,n);for(let i=e.marks.length-1;i>=0;i--){let o=this.serializeMark(e.marks[i],e.isInline,n);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(e,n,r={}){let i=this.marks[e.type.name];return i&&cs(Il(r),i(e,n),null,e.attrs)}static renderSpec(e,n,r=null,i){return cs(e,n,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new ci(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=qm(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return qm(e.marks)}}function qm(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function Il(t){return t.document||window.document}const zm=new WeakMap;function bS(t){let e=zm.get(t);return e===void 0&&zm.set(t,e=vS(t)),e}function vS(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let i=0;i<r.length;i++)n(r[i]);else for(let i in r)n(r[i])}return n(t),e}function cs(t,e,n,r){if(typeof e=="string")return{dom:t.createTextNode(e)};if(e.nodeType!=null)return{dom:e};if(e.dom&&e.dom.nodeType!=null)return e;let i=e[0],o;if(typeof i!="string")throw new RangeError("Invalid array passed to renderSpec");if(r&&(o=bS(r))&&o.indexOf(e)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let a=i.indexOf(" ");a>0&&(n=i.slice(0,a),i=i.slice(a+1));let s,c=n?t.createElementNS(n,i):t.createElement(i),l=e[1],u=1;if(l&&typeof l=="object"&&l.nodeType==null&&!Array.isArray(l)){u=2;for(let d in l)if(l[d]!=null){let f=d.indexOf(" ");f>0?c.setAttributeNS(d.slice(0,f),d.slice(f+1),l[d]):c.setAttribute(d,l[d])}}for(let d=u;d<e.length;d++){let f=e[d];if(f===0){if(d<e.length-1||d>u)throw new RangeError("Content hole must be the only child of its parent node");return{dom:c,contentDOM:c}}else{let{dom:h,contentDOM:m}=cs(t,f,n,r);if(c.appendChild(h),m){if(s)throw new RangeError("Multiple content holes");s=m}}}return{dom:c,contentDOM:s}}const Lx=65535,Wx=Math.pow(2,16);function xS(t,e){return t+e*Wx}function $m(t){return t&Lx}function DS(t){return(t-(t&Lx))/Wx}const Px=1,qx=2,ls=4,zx=8;class vh{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&zx)>0}get deletedBefore(){return(this.delInfo&(Px|ls))>0}get deletedAfter(){return(this.delInfo&(qx|ls))>0}get deletedAcross(){return(this.delInfo&ls)>0}}class qt{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&qt.empty)return qt.empty}recover(e){let n=0,r=$m(e);if(!this.inverted)for(let i=0;i<r;i++)n+=this.ranges[i*3+2]-this.ranges[i*3+1];return this.ranges[r*3]+n+DS(e)}mapResult(e,n=1){return this._map(e,n,!1)}map(e,n=1){return this._map(e,n,!0)}_map(e,n,r){let i=0,o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let c=this.ranges[s]-(this.inverted?i:0);if(c>e)break;let l=this.ranges[s+o],u=this.ranges[s+a],d=c+l;if(e<=d){let f=l?e==c?-1:e==d?1:n:n,h=c+i+(f<0?0:u);if(r)return h;let m=e==(n<0?c:d)?null:xS(s/3,e-c),g=e==c?qx:e==d?Px:ls;return(n<0?e!=c:e!=d)&&(g|=zx),new vh(h,g,m)}i+=u-l}return r?e+i:new vh(e+i,0,null)}touches(e,n){let r=0,i=$m(n),o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let c=this.ranges[s]-(this.inverted?r:0);if(c>e)break;let l=this.ranges[s+o],u=c+l;if(e<=u&&s==i*3)return!0;r+=this.ranges[s+a]-l}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i<this.ranges.length;i+=3){let a=this.ranges[i],s=a-(this.inverted?o:0),c=a+(this.inverted?0:o),l=this.ranges[i+n],u=this.ranges[i+r];e(s,s+l,c,c+u),o+=u-l}}invert(){return new qt(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?qt.empty:new qt(e<0?[0,-e,0]:[0,0,e])}}qt.empty=new qt([]);class Mi{constructor(e=[],n,r=0,i=e.length){this.maps=e,this.mirror=n,this.from=r,this.to=i}slice(e=0,n=this.maps.length){return new Mi(this.maps,this.mirror,e,n)}copy(){return new Mi(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(e,n){this.to=this.maps.push(e),n!=null&&this.setMirror(this.maps.length-1,n)}appendMapping(e){for(let n=0,r=this.maps.length;n<e.maps.length;n++){let i=e.getMirror(n);this.appendMap(e.maps[n],i!=null&&i<n?r+i:void 0)}}getMirror(e){if(this.mirror){for(let n=0;n<this.mirror.length;n++)if(this.mirror[n]==e)return this.mirror[n+(n%2?-1:1)]}}setMirror(e,n){this.mirror||(this.mirror=[]),this.mirror.push(e,n)}appendMappingInverted(e){for(let n=e.maps.length-1,r=this.maps.length+e.maps.length;n>=0;n--){let i=e.getMirror(n);this.appendMap(e.maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let e=new Mi;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;r<this.to;r++)e=this.maps[r].map(e,n);return e}mapResult(e,n=1){return this._map(e,n,!1)}_map(e,n,r){let i=0;for(let o=this.from;o<this.to;o++){let a=this.maps[o],s=a.mapResult(e,n);if(s.recover!=null){let c=this.getMirror(o);if(c!=null&&c>o&&c<this.to){o=c,e=this.maps[c].recover(s.recover);continue}}i|=s.delInfo,e=s.pos}return r?e:new vh(e,i,null)}}const Nl=Object.create(null);class xt{getMap(){return qt.empty}merge(e){return null}static fromJSON(e,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=Nl[n.stepType];if(!r)throw new RangeError(`No step type ${n.stepType} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in Nl)throw new RangeError("Duplicate use of step JSON ID "+e);return Nl[e]=n,n.prototype.jsonID=e,n}}class it{constructor(e,n){this.doc=e,this.failed=n}static ok(e){return new it(e,null)}static fail(e){return new it(null,e)}static fromReplace(e,n,r,i){try{return it.ok(e.replace(n,r,i))}catch(o){if(o instanceof zs)return it.fail(o.message);throw o}}}function Sp(t,e,n){let r=[];for(let i=0;i<t.childCount;i++){let o=t.child(i);o.content.size&&(o=o.copy(Sp(o.content,e,o))),o.isInline&&(o=e(o,n,i)),r.push(o)}return pe.fromArray(r)}class pr extends xt{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=e.resolve(this.from),i=r.node(r.sharedDepth(this.to)),o=new we(Sp(n.content,(a,s)=>!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),i),n.openStart,n.openEnd);return it.fromReplace(e,this.from,this.to,o)}invert(){return new wn(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new pr(n.pos,r.pos,this.mark)}merge(e){return e instanceof pr&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new pr(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new pr(n.from,n.to,e.markFromJSON(n.mark))}}xt.jsonID("addMark",pr);class wn extends xt{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new we(Sp(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),n.openStart,n.openEnd);return it.fromReplace(e,this.from,this.to,r)}invert(){return new pr(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new wn(n.pos,r.pos,this.mark)}merge(e){return e instanceof wn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new wn(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new wn(n.from,n.to,e.markFromJSON(n.mark))}}xt.jsonID("removeMark",wn);class gr extends xt{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return it.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return it.fromReplace(e,this.pos,this.pos+1,new we(pe.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;i<n.marks.length;i++)if(!n.marks[i].isInSet(r))return new gr(this.pos,n.marks[i]);return new gr(this.pos,this.mark)}}return new Hi(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new gr(n.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new gr(n.pos,e.markFromJSON(n.mark))}}xt.jsonID("addNodeMark",gr);class Hi extends xt{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return it.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return it.fromReplace(e,this.pos,this.pos+1,new we(pe.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new gr(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Hi(n.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new Hi(n.pos,e.markFromJSON(n.mark))}}xt.jsonID("removeNodeMark",Hi);class ct extends xt{constructor(e,n,r,i=!1){super(),this.from=e,this.to=n,this.slice=r,this.structure=i}apply(e){return this.structure&&xh(e,this.from,this.to)?it.fail("Structure replace would overwrite content"):it.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new qt([this.from,this.to-this.from,this.slice.size])}invert(e){return new ct(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deletedAcross&&r.deletedAcross?null:new ct(n.pos,Math.max(n.pos,r.pos),this.slice)}merge(e){if(!(e instanceof ct)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let n=this.slice.size+e.slice.size==0?we.empty:new we(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new ct(this.from,this.to+(e.to-e.from),n,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let n=this.slice.size+e.slice.size==0?we.empty:new we(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new ct(e.from,this.to,n,this.structure)}else return null}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new ct(n.from,n.to,we.fromJSON(e,n.slice),!!n.structure)}}xt.jsonID("replace",ct);class lt extends xt{constructor(e,n,r,i,o,a,s=!1){super(),this.from=e,this.to=n,this.gapFrom=r,this.gapTo=i,this.slice=o,this.insert=a,this.structure=s}apply(e){if(this.structure&&(xh(e,this.from,this.gapFrom)||xh(e,this.gapTo,this.to)))return it.fail("Structure gap-replace would overwrite content");let n=e.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return it.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,n.content);return r?it.fromReplace(e,this.from,this.to,r):it.fail("Content does not fit in gap")}getMap(){return new qt([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let n=this.gapTo-this.gapFrom;return new lt(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1),i=this.from==this.gapFrom?n.pos:e.map(this.gapFrom,-1),o=this.to==this.gapTo?r.pos:e.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||i<n.pos||o>r.pos?null:new lt(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new lt(n.from,n.to,n.gapFrom,n.gapTo,we.fromJSON(e,n.slice),n.insert,!!n.structure)}}xt.jsonID("replaceAround",lt);function xh(t,e,n){let r=t.resolve(e),i=n-e,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let a=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,i--}}return!1}function _S(t,e,n,r){let i=[],o=[],a,s;t.doc.nodesBetween(e,n,(c,l,u)=>{if(!c.isInline)return;let d=c.marks;if(!r.isInSet(d)&&u.type.allowsMarkType(r.type)){let f=Math.max(l,e),h=Math.min(l+c.nodeSize,n),m=r.addToSet(d);for(let g=0;g<d.length;g++)d[g].isInSet(m)||(a&&a.to==f&&a.mark.eq(d[g])?a.to=h:i.push(a=new wn(f,h,d[g])));s&&s.to==f?s.to=h:o.push(s=new pr(f,h,r))}}),i.forEach(c=>t.step(c)),o.forEach(c=>t.step(c))}function wS(t,e,n,r){let i=[],o=0;t.doc.nodesBetween(e,n,(a,s)=>{if(!a.isInline)return;o++;let c=null;if(r instanceof Pc){let l=a.marks,u;for(;u=r.isInSet(l);)(c||(c=[])).push(u),l=u.removeFromSet(l)}else r?r.isInSet(a.marks)&&(c=[r]):c=a.marks;if(c&&c.length){let l=Math.min(s+a.nodeSize,n);for(let u=0;u<c.length;u++){let d=c[u],f;for(let h=0;h<i.length;h++){let m=i[h];m.step==o-1&&d.eq(i[h].style)&&(f=m)}f?(f.to=l,f.step=o):i.push({style:d,from:Math.max(s,e),to:l,step:o})}}}),i.forEach(a=>t.step(new wn(a.from,a.to,a.style)))}function Ap(t,e,n,r=n.contentMatch,i=!0){let o=t.doc.nodeAt(e),a=[],s=e+1;for(let c=0;c<o.childCount;c++){let l=o.child(c),u=s+l.nodeSize,d=r.matchType(l.type);if(!d)a.push(new ct(s,u,we.empty));else{r=d;for(let f=0;f<l.marks.length;f++)n.allowsMarkType(l.marks[f].type)||t.step(new wn(s,u,l.marks[f]));if(i&&l.isText&&n.whitespace!="pre"){let f,h=/\r?\n|\r/g,m;for(;f=h.exec(l.text);)m||(m=new we(pe.from(n.schema.text(" ",n.allowedMarks(l.marks))),0,0)),a.push(new ct(s+f.index,s+f.index+f[0].length,m))}}s=u}if(!r.validEnd){let c=r.fillBefore(pe.empty,!0);t.replace(s,s,new we(c,0,0))}for(let c=a.length-1;c>=0;c--)t.step(a[c])}function ES(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function eo(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth;;--r){let i=t.$from.node(r),o=t.$from.index(r),a=t.$to.indexAfter(r);if(r<t.depth&&i.canReplace(o,a,n))return r;if(r==0||i.type.spec.isolating||!ES(i,o,a))break}return null}function TS(t,e,n){let{$from:r,$to:i,depth:o}=e,a=r.before(o+1),s=i.after(o+1),c=a,l=s,u=pe.empty,d=0;for(let m=o,g=!1;m>n;m--)g||r.index(m)>0?(g=!0,u=pe.from(r.node(m).copy(u)),d++):c--;let f=pe.empty,h=0;for(let m=o,g=!1;m>n;m--)g||i.after(m+1)<i.end(m)?(g=!0,f=pe.from(i.node(m).copy(f)),h++):l++;t.step(new lt(c,l,a,s,new we(u.append(f),d,h),u.size-d,!0))}function Cp(t,e,n=null,r=t){let i=SS(t,e),o=i&&AS(r,e);return o?i.map(jm).concat({type:e,attrs:n}).concat(o.map(jm)):null}function jm(t){return{type:t,attrs:null}}function SS(t,e){let{parent:n,startIndex:r,endIndex:i}=t,o=n.contentMatchAt(r).findWrapping(e);if(!o)return null;let a=o.length?o[0]:e;return n.canReplaceWith(r,i,a)?o:null}function AS(t,e){let{parent:n,startIndex:r,endIndex:i}=t,o=n.child(r),a=e.contentMatch.findWrapping(o.type);if(!a)return null;let c=(a.length?a[a.length-1]:e).contentMatch;for(let l=r;c&&l<i;l++)c=c.matchType(n.child(l).type);return!c||!c.validEnd?null:a}function CS(t,e,n){let r=pe.empty;for(let a=n.length-1;a>=0;a--){if(r.size){let s=n[a].type.contentMatch.matchFragment(r);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=pe.from(n[a].type.create(n[a].attrs,r))}let i=e.start,o=e.end;t.step(new lt(i,o,i,o,new we(r,0,0),n.length,!0))}function US(t,e,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=t.steps.length;t.doc.nodesBetween(e,n,(a,s)=>{let c=typeof i=="function"?i(a):i;if(a.isTextblock&&!a.hasMarkup(r,c)&&kS(t.doc,t.mapping.slice(o).map(s),r)){let l=null;if(r.schema.linebreakReplacement){let h=r.whitespace=="pre",m=!!r.contentMatch.matchType(r.schema.linebreakReplacement);h&&!m?l=!1:!h&&m&&(l=!0)}l===!1&&jx(t,a,s,o),Ap(t,t.mapping.slice(o).map(s,1),r,void 0,l===null);let u=t.mapping.slice(o),d=u.map(s,1),f=u.map(s+a.nodeSize,1);return t.step(new lt(d,f,d+1,f-1,new we(pe.from(r.create(c,null,a.marks)),0,0),1,!0)),l===!0&&$x(t,a,s,o),!1}})}function $x(t,e,n,r){e.forEach((i,o)=>{if(i.isText){let a,s=/\r?\n|\r/g;for(;a=s.exec(i.text);){let c=t.mapping.slice(r).map(n+1+o+a.index);t.replaceWith(c,c+1,e.type.schema.linebreakReplacement.create())}}})}function jx(t,e,n,r){e.forEach((i,o)=>{if(i.type==i.type.schema.linebreakReplacement){let a=t.mapping.slice(r).map(n+1+o);t.replaceWith(a,a+1,e.type.schema.text(`
5
+ `))}})}function kS(t,e,n){let r=t.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function OS(t,e,n,r,i){let o=t.doc.nodeAt(e);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let a=n.create(r,null,i||o.marks);if(o.isLeaf)return t.replaceWith(e,e+o.nodeSize,a);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new lt(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new we(pe.from(a),0,0),1,!0))}function Li(t,e,n=1,r){let i=t.resolve(e),o=i.depth-n,a=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let l=i.depth-1,u=n-2;l>o;l--,u--){let d=i.node(l),f=i.index(l);if(d.type.spec.isolating)return!1;let h=d.content.cutByIndex(f,d.childCount),m=r&&r[u+1];m&&(h=h.replaceChild(0,m.type.create(m.attrs)));let g=r&&r[u]||d;if(!d.canReplace(f+1,d.childCount)||!g.type.validContent(h))return!1}let s=i.indexAfter(o),c=r&&r[0];return i.node(o).canReplaceWith(s,s,c?c.type:i.node(o+1).type)}function RS(t,e,n=1,r){let i=t.doc.resolve(e),o=pe.empty,a=pe.empty;for(let s=i.depth,c=i.depth-n,l=n-1;s>c;s--,l--){o=pe.from(i.node(s).copy(o));let u=r&&r[l];a=pe.from(u?u.type.create(u.attrs,a):i.node(s).copy(a))}t.step(new ct(e,e,new we(o.append(a),n,n),!0))}function to(t,e){let n=t.resolve(e),r=n.index();return Vx(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function FS(t,e){e.content.size||t.type.compatibleContent(e.type);let n=t.contentMatchAt(t.childCount),{linebreakReplacement:r}=t.type.schema;for(let i=0;i<e.childCount;i++){let o=e.child(i),a=o.type==r?t.type.schema.nodes.text:o.type;if(n=n.matchType(a),!n||!t.type.allowsMarks(o.marks))return!1}return n.validEnd}function Vx(t,e){return!!(t&&e&&!t.isLeaf&&FS(t,e))}function Up(t,e,n=-1){let r=t.resolve(e);for(let i=r.depth;;i--){let o,a,s=r.index(i);if(i==r.depth?(o=r.nodeBefore,a=r.nodeAfter):n>0?(o=r.node(i+1),s++,a=r.node(i).maybeChild(s)):(o=r.node(i).maybeChild(s-1),a=r.node(i+1)),o&&!o.isTextblock&&Vx(o,a)&&r.node(i).canReplace(s,s+1))return e;if(i==0)break;e=n<0?r.before(i):r.after(i)}}function IS(t,e,n){let r=null,{linebreakReplacement:i}=t.doc.type.schema,o=t.doc.resolve(e-n),a=o.node().type;if(i&&a.inlineContent){let u=a.whitespace=="pre",d=!!a.contentMatch.matchType(i);u&&!d?r=!1:!u&&d&&(r=!0)}let s=t.steps.length;if(r===!1){let u=t.doc.resolve(e+n);jx(t,u.node(),u.before(),s)}a.inlineContent&&Ap(t,e+n-1,a,o.node().contentMatchAt(o.index()),r==null);let c=t.mapping.slice(s),l=c.map(e-n);if(t.step(new ct(l,c.map(e+n,-1),we.empty,!0)),r===!0){let u=t.doc.resolve(l);$x(t,u.node(),u.before(),t.steps.length)}return t}function NS(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let o=r.index(i);if(r.node(i).canReplaceWith(o,o,n))return r.before(i+1);if(o>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let o=r.indexAfter(i);if(r.node(i).canReplaceWith(o,o,n))return r.after(i+1);if(o<r.node(i).childCount)return null}return null}function Hx(t,e,n){let r=t.resolve(e);if(!n.content.size)return e;let i=n.content;for(let o=0;o<n.openStart;o++)i=i.firstChild.content;for(let o=1;o<=(n.openStart==0&&n.size?2:1);o++)for(let a=r.depth;a>=0;a--){let s=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,c=r.index(a)+(s>0?1:0),l=r.node(a),u=!1;if(o==1)u=l.canReplace(c,c,i);else{let d=l.contentMatchAt(c).findWrapping(i.firstChild.type);u=d&&l.canReplaceWith(c,c,d[0])}if(u)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function qc(t,e,n=e,r=we.empty){if(e==n&&!r.size)return null;let i=t.resolve(e),o=t.resolve(n);return Gx(i,o,r)?new ct(e,n,r):new BS(i,o,r).fit()}function Gx(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class BS{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=pe.empty;for(let i=0;i<=e.depth;i++){let o=e.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(e.indexAfter(i))})}for(let i=e.depth;i>0;i--)this.placed=pe.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let l=this.findFittable();l?this.placeNodes(l):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(e<0?this.$to:r.doc.resolve(e));if(!i)return null;let o=this.placed,a=r.depth,s=i.depth;for(;a&&s&&o.childCount==1;)o=o.firstChild.content,a--,s--;let c=new we(o,a,s);return e>-1?new lt(r.pos,e,this.$to.pos,this.$to.end(),c,n):c.size||r.pos!=this.$to.pos?new ct(r.pos,i.pos,c):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r<e;r++){let o=n.firstChild;if(n.childCount>1&&(i=0),o.type.spec.isolating&&i<=r){e=r;break}n=o.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let i,o=null;r?(o=Bl(this.unplaced.content,r-1).firstChild,i=o.content):i=this.unplaced.content;let a=i.firstChild;for(let s=this.depth;s>=0;s--){let{type:c,match:l}=this.frontier[s],u,d=null;if(n==1&&(a?l.matchType(a.type)||(d=l.fillBefore(pe.from(a),!1)):o&&c.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:s,parent:o,inject:d};if(n==2&&a&&(u=l.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:o,wrap:u};if(o&&l.matchType(o.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=Bl(e,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new we(e,n+1,Math.max(r,i.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=Bl(e,n);if(i.childCount<=1&&n>0){let o=e.size-n<=n+i.size;this.unplaced=new we(Ro(e,n-1,1),n-1,o?n-1:r)}else this.unplaced=new we(Ro(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:i,wrap:o}){for(;this.depth>n;)this.closeFrontierNode();if(o)for(let g=0;g<o.length;g++)this.openFrontierNode(o[g]);let a=this.unplaced,s=r?r.content:a.content,c=a.openStart-e,l=0,u=[],{match:d,type:f}=this.frontier[n];if(i){for(let g=0;g<i.childCount;g++)u.push(i.child(g));d=d.matchFragment(i)}let h=s.size+e-(a.content.size-a.openEnd);for(;l<s.childCount;){let g=s.child(l),p=d.matchType(g.type);if(!p)break;l++,(l>1||c==0||g.content.size)&&(d=p,u.push(Xx(g.mark(f.allowedMarks(g.marks)),l==1?c:0,l==s.childCount?h:-1)))}let m=l==s.childCount;m||(h=-1),this.placed=Fo(this.placed,n,pe.from(u)),this.frontier[n].match=d,m&&h<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let g=0,p=s;g<h;g++){let y=p.lastChild;this.frontier.push({type:y.type,match:y.contentMatchAt(y.childCount)}),p=y.content}this.unplaced=m?e==0?we.empty:new we(Ro(a.content,e-1,1),e-1,h<0?a.openEnd:e-1):new we(Ro(a.content,e,l),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],n;if(!e.type.isTextblock||!Ml(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(n=this.findCloseLevel(this.$to))&&n.depth==this.depth)return-1;let{depth:r}=this.$to,i=this.$to.after(r);for(;r>1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:i}=this.frontier[n],o=n<e.depth&&e.end(n+1)==e.pos+(e.depth-(n+1)),a=Ml(e,n,i,r,o);if(a){for(let s=n-1;s>=0;s--){let{match:c,type:l}=this.frontier[s],u=Ml(e,s,l,c,!0);if(!u||u.childCount)continue e}return{depth:n,fit:a,move:o?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=Fo(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let i=e.node(r),o=i.type.contentMatch.fillBefore(i.content,!0,e.index(r));this.openFrontierNode(i.type,i.attrs,o)}return e}openFrontierNode(e,n=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=Fo(this.placed,this.depth,pe.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(pe.empty,!0);n.childCount&&(this.placed=Fo(this.placed,this.frontier.length,n))}}function Ro(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(Ro(t.firstChild.content,e-1,n)))}function Fo(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(Fo(t.lastChild.content,e-1,n)))}function Bl(t,e){for(let n=0;n<e;n++)t=t.firstChild.content;return t}function Xx(t,e,n){if(e<=0)return t;let r=t.content;return e>1&&(r=r.replaceChild(0,Xx(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(pe.empty,!0)))),t.copy(r)}function Ml(t,e,n,r,i){let o=t.node(e),a=i?t.indexAfter(e):t.index(e);if(a==o.childCount&&!n.compatibleContent(o.type))return null;let s=r.fillBefore(o.content,!0,a);return s&&!MS(n,o.content,a)?s:null}function MS(t,e,n){for(let r=n;r<e.childCount;r++)if(!t.allowsMarks(e.child(r).marks))return!0;return!1}function LS(t){return t.spec.defining||t.spec.definingForContent}function WS(t,e,n,r){if(!r.size)return t.deleteRange(e,n);let i=t.doc.resolve(e),o=t.doc.resolve(n);if(Gx(i,o,r))return t.step(new ct(e,n,r));let a=Zx(i,t.doc.resolve(n));a[a.length-1]==0&&a.pop();let s=-(i.depth+1);a.unshift(s);for(let f=i.depth,h=i.pos-1;f>0;f--,h--){let m=i.node(f).type.spec;if(m.defining||m.definingAsContext||m.isolating)break;a.indexOf(f)>-1?s=f:i.before(f)==h&&a.splice(1,0,-f)}let c=a.indexOf(s),l=[],u=r.openStart;for(let f=r.content,h=0;;h++){let m=f.firstChild;if(l.push(m),h==r.openStart)break;f=m.content}for(let f=u-1;f>=0;f--){let h=l[f],m=LS(h.type);if(m&&!h.sameMarkup(i.node(Math.abs(s)-1)))u=f;else if(m||!h.type.isTextblock)break}for(let f=r.openStart;f>=0;f--){let h=(f+u+1)%(r.openStart+1),m=l[h];if(m)for(let g=0;g<a.length;g++){let p=a[(g+c)%a.length],y=!0;p<0&&(y=!1,p=-p);let b=i.node(p-1),v=i.index(p-1);if(b.canReplaceWith(v,v,m.type,m.marks))return t.replace(i.before(p),y?o.after(p):n,new we(Kx(r.content,0,r.openStart,h),h,r.openEnd))}}let d=t.steps.length;for(let f=a.length-1;f>=0&&(t.replace(e,n,r),!(t.steps.length>d));f--){let h=a[f];h<0||(e=i.before(h),n=o.after(h))}}function Kx(t,e,n,r,i){if(e<n){let o=t.firstChild;t=t.replaceChild(0,o.copy(Kx(o.content,e+1,n,r,o)))}if(e>r){let o=i.contentMatchAt(0),a=o.fillBefore(t).append(t);t=a.append(o.matchFragment(a).fillBefore(pe.empty,!0))}return t}function PS(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=NS(t.doc,e,r.type);i!=null&&(e=n=i)}t.replaceRange(e,n,new we(pe.from(r),0,0))}function qS(t,e,n){let r=t.doc.resolve(e),i=t.doc.resolve(n),o=Zx(r,i);for(let a=0;a<o.length;a++){let s=o[a],c=a==o.length-1;if(c&&s==0||r.node(s).type.contentMatch.validEnd)return t.delete(r.start(s),i.end(s));if(s>0&&(c||r.node(s-1).canReplace(r.index(s-1),i.indexAfter(s-1))))return t.delete(r.before(s),i.after(s))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(e-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a&&r.start(a-1)==i.start(a-1)&&r.node(a-1).canReplace(r.index(a-1),i.index(a-1)))return t.delete(r.before(a),n);t.delete(e,n)}function Zx(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let i=r;i>=0;i--){let o=t.start(i);if(o<t.pos-(t.depth-i)||e.end(i)>e.pos+(e.depth-i)||t.node(i).type.spec.isolating||e.node(i).type.spec.isolating)break;(o==e.start(i)||i==t.depth&&i==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&i&&e.start(i-1)==o-1)&&n.push(i)}return n}class Wi extends xt{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return it.fail("No node at attribute step's position");let r=Object.create(null);for(let o in n.attrs)r[o]=n.attrs[o];r[this.attr]=this.value;let i=n.type.create(r,null,n.marks);return it.fromReplace(e,this.pos,this.pos+1,new we(pe.from(i),0,n.isLeaf?0:1))}getMap(){return qt.empty}invert(e){return new Wi(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Wi(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Wi(n.pos,n.attr,n.value)}}xt.jsonID("attr",Wi);class Yo extends xt{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let i in e.attrs)n[i]=e.attrs[i];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return it.ok(r)}getMap(){return qt.empty}invert(e){return new Yo(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Yo(n.attr,n.value)}}xt.jsonID("docAttr",Yo);let Gi=class extends Error{};Gi=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};Gi.prototype=Object.create(Error.prototype);Gi.prototype.constructor=Gi;Gi.prototype.name="TransformError";class kp{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Mi}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new Gi(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=we.empty){let i=qc(this.doc,e,n,r);return i&&this.step(i),this}replaceWith(e,n,r){return this.replace(e,n,new we(pe.from(r),0,0))}delete(e,n){return this.replace(e,n,we.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return WS(this,e,n,r),this}replaceRangeWith(e,n,r){return PS(this,e,n,r),this}deleteRange(e,n){return qS(this,e,n),this}lift(e,n){return TS(this,e,n),this}join(e,n=1){return IS(this,e,n),this}wrap(e,n){return CS(this,e,n),this}setBlockType(e,n=e,r,i=null){return US(this,e,n,r,i),this}setNodeMarkup(e,n,r=null,i){return OS(this,e,n,r,i),this}setNodeAttribute(e,n,r){return this.step(new Wi(e,n,r)),this}setDocAttribute(e,n){return this.step(new Yo(e,n)),this}addNodeMark(e,n){return this.step(new gr(e,n)),this}removeNodeMark(e,n){if(!(n instanceof je)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n=n.isInSet(r.marks),!n)return this}return this.step(new Hi(e,n)),this}split(e,n=1,r){return RS(this,e,n,r),this}addMark(e,n,r){return _S(this,e,n,r),this}removeMark(e,n,r){return wS(this,e,n,r),this}clearIncompatible(e,n,r){return Ap(this,e,n,r),this}}const Ll=Object.create(null);class Re{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new Op(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n<e.length;n++)if(e[n].$from.pos!=e[n].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,n=we.empty){let r=n.content.lastChild,i=null;for(let s=0;s<n.openEnd;s++)i=r,r=r.lastChild;let o=e.steps.length,a=this.ranges;for(let s=0;s<a.length;s++){let{$from:c,$to:l}=a[s],u=e.mapping.slice(o);e.replaceRange(u.map(c.pos),u.map(l.pos),s?we.empty:n),s==0&&Gm(e,o,(r?r.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(e,n){let r=e.steps.length,i=this.ranges;for(let o=0;o<i.length;o++){let{$from:a,$to:s}=i[o],c=e.mapping.slice(r),l=c.map(a.pos),u=c.map(s.pos);o?e.deleteRange(l,u):(e.replaceRangeWith(l,u,n),Gm(e,r,n.isInline?-1:1))}}static findFrom(e,n,r=!1){let i=e.parent.inlineContent?new Be(e):ki(e.node(0),e.parent,e.pos,e.index(),n,r);if(i)return i;for(let o=e.depth-1;o>=0;o--){let a=n<0?ki(e.node(0),e.node(o),e.before(o+1),e.index(o),n,r):ki(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,n,r);if(a)return a}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new $t(e.node(0))}static atStart(e){return ki(e,e,0,0,1)||new $t(e)}static atEnd(e){return ki(e,e,e.content.size,e.childCount,-1)||new $t(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Ll[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in Ll)throw new RangeError("Duplicate use of selection JSON ID "+e);return Ll[e]=n,n.prototype.jsonID=e,n}getBookmark(){return Be.between(this.$anchor,this.$head).getBookmark()}}Re.prototype.visible=!0;class Op{constructor(e,n){this.$from=e,this.$to=n}}let Vm=!1;function Hm(t){!Vm&&!t.parent.inlineContent&&(Vm=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class Be extends Re{constructor(e,n=e){Hm(e),Hm(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return Re.near(r);let i=e.resolve(n.map(this.anchor));return new Be(i.parent.inlineContent?i:r,r)}replace(e,n=we.empty){if(super.replace(e,n),n==we.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof Be&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new zc(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Be(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let i=e.resolve(n);return new this(i,r==n?i:e.resolve(r))}static between(e,n,r){let i=e.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let o=Re.findFrom(n,r,!0)||Re.findFrom(n,-r,!0);if(o)n=o.$head;else return Re.near(n,r)}return e.parent.inlineContent||(i==0?e=n:(e=(Re.findFrom(e,-r,!0)||Re.findFrom(e,r,!0)).$anchor,e.pos<n.pos!=i<0&&(e=n))),new Be(e,n)}}Re.jsonID("text",Be);class zc{constructor(e,n){this.anchor=e,this.head=n}map(e){return new zc(e.map(this.anchor),e.map(this.head))}resolve(e){return Be.between(e.resolve(this.anchor),e.resolve(this.head))}}class Ue extends Re{constructor(e){let n=e.nodeAfter,r=e.node(0).resolve(e.pos+n.nodeSize);super(e,r),this.node=n}map(e,n){let{deleted:r,pos:i}=n.mapResult(this.anchor),o=e.resolve(i);return r?Re.near(o):new Ue(o)}content(){return new we(pe.from(this.node),0,0)}eq(e){return e instanceof Ue&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Rp(this.anchor)}static fromJSON(e,n){if(typeof n.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Ue(e.resolve(n.anchor))}static create(e,n){return new Ue(e.resolve(n))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}Ue.prototype.visible=!1;Re.jsonID("node",Ue);class Rp{constructor(e){this.anchor=e}map(e){let{deleted:n,pos:r}=e.mapResult(this.anchor);return n?new zc(r,r):new Rp(r)}resolve(e){let n=e.resolve(this.anchor),r=n.nodeAfter;return r&&Ue.isSelectable(r)?new Ue(n):Re.near(n)}}class $t extends Re{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,n=we.empty){if(n==we.empty){e.delete(0,e.doc.content.size);let r=Re.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else super.replace(e,n)}toJSON(){return{type:"all"}}static fromJSON(e){return new $t(e)}map(e){return new $t(e)}eq(e){return e instanceof $t}getBookmark(){return zS}}Re.jsonID("all",$t);const zS={map(){return this},resolve(t){return new $t(t)}};function ki(t,e,n,r,i,o=!1){if(e.inlineContent)return Be.create(t,n);for(let a=r-(i>0?0:1);i>0?a<e.childCount:a>=0;a+=i){let s=e.child(a);if(s.isAtom){if(!o&&Ue.isSelectable(s))return Ue.create(t,n-(i<0?s.nodeSize:0))}else{let c=ki(t,s,n+i,i<0?s.childCount:0,i,o);if(c)return c}n+=s.nodeSize*i}return null}function Gm(t,e,n){let r=t.steps.length-1;if(r<e)return;let i=t.steps[r];if(!(i instanceof ct||i instanceof lt))return;let o=t.mapping.maps[r],a;o.forEach((s,c,l,u)=>{a==null&&(a=u)}),t.setSelection(Re.near(t.doc.resolve(a),n))}const Xm=1,Km=2,Zm=4;class $S extends kp{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(this.updated|Xm)&-3,this.storedMarks=null,this}get selectionSet(){return(this.updated&Xm)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Km,this}ensureMarks(e){return je.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Km)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&-3,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||je.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let i=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!e)return this.deleteRange(n,r);let o=this.storedMarks;if(!o){let a=this.doc.resolve(n);o=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,i.text(e,o)),this.selection.empty||this.setSelection(Re.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=Zm,this}get scrolledIntoView(){return(this.updated&Zm)>0}}function Jm(t,e){return!e||!t?t:t.bind(e)}class Io{constructor(e,n,r){this.name=e,this.init=Jm(n.init,r),this.apply=Jm(n.apply,r)}}const jS=[new Io("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new Io("selection",{init(t,e){return t.selection||Re.atStart(e.doc)},apply(t){return t.selection}}),new Io("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new Io("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class Wl{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=jS.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new Io(r.key,r.spec.state,r))})}}class Fi{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;r<this.config.plugins.length;r++)if(r!=n){let i=this.config.plugins[r];if(i.spec.filterTransaction&&!i.spec.filterTransaction.call(i,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let n=[e],r=this.applyInner(e),i=null;for(;;){let o=!1;for(let a=0;a<this.config.plugins.length;a++){let s=this.config.plugins[a];if(s.spec.appendTransaction){let c=i?i[a].n:0,l=i?i[a].state:this,u=c<n.length&&s.spec.appendTransaction.call(s,c?n.slice(c):n,l,r);if(u&&r.filterTransaction(u,a)){if(u.setMeta("appendedTransaction",e),!i){i=[];for(let d=0;d<this.config.plugins.length;d++)i.push(d<a?{state:r,n:n.length}:{state:this,n:0})}n.push(u),r=r.applyInner(u),o=!0}i&&(i[a]={state:r,n:n.length})}}if(!o)return{state:r,transactions:n}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let n=new Fi(this.config),r=this.config.fields;for(let i=0;i<r.length;i++){let o=r[i];n[o.name]=o.apply(e,this[o.name],this,n)}return n}get tr(){return new $S(this)}static create(e){let n=new Wl(e.doc?e.doc.type.schema:e.schema,e.plugins),r=new Fi(n);for(let i=0;i<n.fields.length;i++)r[n.fields[i].name]=n.fields[i].init(e,r);return r}reconfigure(e){let n=new Wl(this.schema,e.plugins),r=n.fields,i=new Fi(n);for(let o=0;o<r.length;o++){let a=r[o].name;i[a]=this.hasOwnProperty(a)?this[a]:r[o].init(e,i)}return i}toJSON(e){let n={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(n.storedMarks=this.storedMarks.map(r=>r.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=e[r],o=i.spec.state;o&&o.toJSON&&(n[r]=o.toJSON.call(i,this[i.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new Wl(e.schema,e.plugins),o=new Fi(i);return i.fields.forEach(a=>{if(a.name=="doc")o.doc=hn.fromJSON(e.schema,n.doc);else if(a.name=="selection")o.selection=Re.fromJSON(o.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(o.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let s in r){let c=r[s],l=c.spec.state;if(c.key==a.name&&l&&l.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){o[a.name]=l.fromJSON.call(c,e,n[s],o);return}}o[a.name]=a.init(e,o)}}),o}}function Jx(t,e,n){for(let r in t){let i=t[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=Jx(i,e,{})),n[r]=i}return n}class li{constructor(e){this.spec=e,this.props={},e.props&&Jx(e.props,this,this.props),this.key=e.key?e.key.key:Yx("plugin")}getState(e){return e[this.key]}}const Pl=Object.create(null);function Yx(t){return t in Pl?t+"$"+ ++Pl[t]:(Pl[t]=0,t+"$")}class no{constructor(e="key"){this.key=Yx(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const ht=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},Qo=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let Dh=null;const zn=function(t,e,n){let r=Dh||(Dh=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},VS=function(){Dh=null},ni=function(t,e,n,r){return n&&(Ym(t,e,n,r,-1)||Ym(t,e,n,r,1))},HS=/^(img|br|input|textarea|hr)$/i;function Ym(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:en(t))){let o=t.parentNode;if(!o||o.nodeType!=1||ga(t)||HS.test(t.nodeName)||t.contentEditable=="false")return!1;e=ht(t)+(i<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.contentEditable=="false")return!1;e=i<0?en(t):0}else return!1}}function en(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function GS(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=en(t)}else if(t.parentNode&&!ga(t))e=ht(t),t=t.parentNode;else return null}}function XS(t,e){for(;;){if(t.nodeType==3&&e<t.nodeValue.length)return t;if(t.nodeType==1&&e<t.childNodes.length){if(t.contentEditable=="false")return null;t=t.childNodes[e],e=0}else if(t.parentNode&&!ga(t))e=ht(t)+1,t=t.parentNode;else return null}}function KS(t,e,n){for(let r=e==0,i=e==en(t);r||i;){if(t==n)return!0;let o=ht(t);if(t=t.parentNode,!t)return!1;r=r&&o==0,i=i&&o==en(t)}}function ga(t){let e;for(let n=t;n&&!(e=n.pmViewDesc);n=n.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==t||e.contentDOM==t)}const $c=function(t){return t.focusNode&&ni(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)};function $r(t,e){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}function ZS(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function JS(t,e,n){if(t.caretPositionFromPoint)try{let r=t.caretPositionFromPoint(e,n);if(r)return{node:r.offsetNode,offset:Math.min(en(r.offsetNode),r.offset)}}catch{}if(t.caretRangeFromPoint){let r=t.caretRangeFromPoint(e,n);if(r)return{node:r.startContainer,offset:Math.min(en(r.startContainer),r.startOffset)}}}const An=typeof navigator<"u"?navigator:null,Qm=typeof document<"u"?document:null,Ar=An&&An.userAgent||"",_h=/Edge\/(\d+)/.exec(Ar),Qx=/MSIE \d/.exec(Ar),wh=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ar),Nt=!!(Qx||wh||_h),br=Qx?document.documentMode:wh?+wh[1]:_h?+_h[1]:0,gn=!Nt&&/gecko\/(\d+)/i.test(Ar);gn&&+(/Firefox\/(\d+)/.exec(Ar)||[0,0])[1];const Eh=!Nt&&/Chrome\/(\d+)/.exec(Ar),mt=!!Eh,eD=Eh?+Eh[1]:0,At=!Nt&&!!An&&/Apple Computer/.test(An.vendor),Xi=At&&(/Mobile\/\w+/.test(Ar)||!!An&&An.maxTouchPoints>2),Qt=Xi||(An?/Mac/.test(An.platform):!1),YS=An?/Win/.test(An.platform):!1,jn=/Android \d/.test(Ar),ma=!!Qm&&"webkitFontSmoothing"in Qm.documentElement.style,QS=ma?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function eA(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function In(t,e){return typeof t=="number"?t:t[e]}function tA(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function ey(t,e,n){let r=t.someProp("scrollThreshold")||0,i=t.someProp("scrollMargin")||5,o=t.dom.ownerDocument;for(let a=n||t.dom;a;a=Qo(a)){if(a.nodeType!=1)continue;let s=a,c=s==o.body,l=c?eA(o):tA(s),u=0,d=0;if(e.top<l.top+In(r,"top")?d=-(l.top-e.top+In(i,"top")):e.bottom>l.bottom-In(r,"bottom")&&(d=e.bottom-e.top>l.bottom-l.top?e.top+In(i,"top")-l.top:e.bottom-l.bottom+In(i,"bottom")),e.left<l.left+In(r,"left")?u=-(l.left-e.left+In(i,"left")):e.right>l.right-In(r,"right")&&(u=e.right-l.right+In(i,"right")),u||d)if(c)o.defaultView.scrollBy(u,d);else{let f=s.scrollLeft,h=s.scrollTop;d&&(s.scrollTop+=d),u&&(s.scrollLeft+=u);let m=s.scrollLeft-f,g=s.scrollTop-h;e={left:e.left-m,top:e.top-g,right:e.right-m,bottom:e.bottom-g}}if(c||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function nA(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,i;for(let o=(e.left+e.right)/2,a=n+1;a<Math.min(innerHeight,e.bottom);a+=5){let s=t.root.elementFromPoint(o,a);if(!s||s==t.dom||!t.dom.contains(s))continue;let c=s.getBoundingClientRect();if(c.top>=n-20){r=s,i=c.top;break}}return{refDOM:r,refTop:i,stack:tD(t.dom)}}function tD(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=Qo(r));return e}function rA({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;nD(n,r==0?0:r-e)}function nD(t,e){for(let n=0;n<t.length;n++){let{dom:r,top:i,left:o}=t[n];r.scrollTop!=i+e&&(r.scrollTop=i+e),r.scrollLeft!=o&&(r.scrollLeft=o)}}let _i=null;function iA(t){if(t.setActive)return t.setActive();if(_i)return t.focus(_i);let e=tD(t);t.focus(_i==null?{get preventScroll(){return _i={preventScroll:!0},!0}}:void 0),_i||(_i=!1,nD(e,0))}function rD(t,e){let n,r=2e8,i,o=0,a=e.top,s=e.top,c,l;for(let u=t.firstChild,d=0;u;u=u.nextSibling,d++){let f;if(u.nodeType==1)f=u.getClientRects();else if(u.nodeType==3)f=zn(u).getClientRects();else continue;for(let h=0;h<f.length;h++){let m=f[h];if(m.top<=a&&m.bottom>=s){a=Math.max(m.bottom,a),s=Math.min(m.top,s);let g=m.left>e.left?m.left-e.left:m.right<e.left?e.left-m.right:0;if(g<r){n=u,r=g,i=g&&n.nodeType==3?{left:m.right<e.left?m.right:m.left,top:e.top}:e,u.nodeType==1&&g&&(o=d+(e.left>=(m.left+m.right)/2?1:0));continue}}else m.top>e.top&&!c&&m.left<=e.left&&m.right>=e.left&&(c=u,l={left:Math.max(m.left,Math.min(m.right,e.left)),top:m.top});!n&&(e.left>=m.right&&e.top>=m.top||e.left>=m.left&&e.top>=m.bottom)&&(o=d+1)}}return!n&&c&&(n=c,i=l,r=0),n&&n.nodeType==3?oA(n,i):!n||r&&n.nodeType==1?{node:t,offset:o}:rD(n,i)}function oA(t,e){let n=t.nodeValue.length,r=document.createRange();for(let i=0;i<n;i++){r.setEnd(t,i+1),r.setStart(t,i);let o=ar(r,1);if(o.top!=o.bottom&&Fp(e,o))return{node:t,offset:i+(e.left>=(o.left+o.right)/2?1:0)}}return{node:t,offset:0}}function Fp(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function aA(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left<t.getBoundingClientRect().left?n:t}function sA(t,e,n){let{node:r,offset:i}=rD(e,n),o=-1;if(r.nodeType==1&&!r.firstChild){let a=r.getBoundingClientRect();o=a.left!=a.right&&n.left>(a.left+a.right)/2?1:-1}return t.docView.posFromDOM(r,i,o)}function cA(t,e,n,r){let i=-1;for(let o=e,a=!1;o!=t.dom;){let s=t.docView.nearestDesc(o,!0),c;if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent||!s.contentDOM)&&((c=s.dom.getBoundingClientRect()).width||c.height)&&(s.node.isBlock&&s.parent&&(!a&&c.left>r.left||c.top>r.top?i=s.posBefore:(!a&&c.right<r.left||c.bottom<r.top)&&(i=s.posAfter),a=!0),!s.contentDOM&&i<0&&!s.node.isText))return(s.node.isBlock?r.top<(c.top+c.bottom)/2:r.left<(c.left+c.right)/2)?s.posBefore:s.posAfter;o=s.dom.parentNode}return i>-1?i:t.docView.posFromDOM(e,n,-1)}function iD(t,e,n){let r=t.childNodes.length;if(r&&n.top<n.bottom)for(let i=Math.max(0,Math.min(r-1,Math.floor(r*(e.top-n.top)/(n.bottom-n.top))-2)),o=i;;){let a=t.childNodes[o];if(a.nodeType==1){let s=a.getClientRects();for(let c=0;c<s.length;c++){let l=s[c];if(Fp(e,l))return iD(a,e,l)}}if((o=(o+1)%r)==i)break}return t}function lA(t,e){let n=t.dom.ownerDocument,r,i=0,o=JS(n,e.left,e.top);o&&({node:r,offset:i}=o);let a=(t.root.elementFromPoint?t.root:n).elementFromPoint(e.left,e.top),s;if(!a||!t.dom.contains(a.nodeType!=1?a.parentNode:a)){let l=t.dom.getBoundingClientRect();if(!Fp(e,l)||(a=iD(t.dom,e,l),!a))return null}if(At)for(let l=a;r&&l;l=Qo(l))l.draggable&&(r=void 0);if(a=aA(a,e),r){if(gn&&r.nodeType==1&&(i=Math.min(i,r.childNodes.length),i<r.childNodes.length)){let u=r.childNodes[i],d;u.nodeName=="IMG"&&(d=u.getBoundingClientRect()).right<=e.left&&d.bottom>e.top&&i++}let l;ma&&i&&r.nodeType==1&&(l=r.childNodes[i-1]).nodeType==1&&l.contentEditable=="false"&&l.getBoundingClientRect().top>=e.top&&i--,r==t.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?s=t.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(s=cA(t,r,i,e))}s==null&&(s=sA(t,a,e));let c=t.docView.nearestDesc(a,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function ty(t){return t.top<t.bottom||t.left<t.right}function ar(t,e){let n=t.getClientRects();if(n.length){let r=n[e<0?0:n.length-1];if(ty(r))return r}return Array.prototype.find.call(n,ty)||t.getBoundingClientRect()}const uA=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function oD(t,e,n){let{node:r,offset:i,atom:o}=t.docView.domFromPos(e,n<0?-1:1),a=ma||gn;if(r.nodeType==3)if(a&&(uA.test(r.nodeValue)||(n<0?!i:i==r.nodeValue.length))){let c=ar(zn(r,i,i),n);if(gn&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let l=ar(zn(r,i-1,i-1),-1);if(l.top==c.top){let u=ar(zn(r,i,i+1),-1);if(u.top!=c.top)return fo(u,u.left<l.left)}}return c}else{let c=i,l=i,u=n<0?1:-1;return n<0&&!i?(l++,u=-1):n>=0&&i==r.nodeValue.length?(c--,u=1):n<0?c--:l++,fo(ar(zn(r,c,l),u),u<0)}if(!t.state.doc.resolve(e-(o||0)).parent.inlineContent){if(o==null&&i&&(n<0||i==en(r))){let c=r.childNodes[i-1];if(c.nodeType==1)return ql(c.getBoundingClientRect(),!1)}if(o==null&&i<en(r)){let c=r.childNodes[i];if(c.nodeType==1)return ql(c.getBoundingClientRect(),!0)}return ql(r.getBoundingClientRect(),n>=0)}if(o==null&&i&&(n<0||i==en(r))){let c=r.childNodes[i-1],l=c.nodeType==3?zn(c,en(c)-(a?0:1)):c.nodeType==1&&(c.nodeName!="BR"||!c.nextSibling)?c:null;if(l)return fo(ar(l,1),!1)}if(o==null&&i<en(r)){let c=r.childNodes[i];for(;c.pmViewDesc&&c.pmViewDesc.ignoreForCoords;)c=c.nextSibling;let l=c?c.nodeType==3?zn(c,0,a?0:1):c.nodeType==1?c:null:null;if(l)return fo(ar(l,-1),!0)}return fo(ar(r.nodeType==3?zn(r):r,-n),n>=0)}function fo(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function ql(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function aD(t,e,n){let r=t.state,i=t.root.activeElement;r!=e&&t.updateState(e),i!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),i!=t.dom&&i&&i.focus()}}function dA(t,e,n){let r=e.selection,i=n=="up"?r.$from:r.$to;return aD(t,e,()=>{let{node:o}=t.docView.domFromPos(i.pos,n=="up"?-1:1);for(;;){let s=t.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=oD(t,i.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let c;if(s.nodeType==1)c=s.getClientRects();else if(s.nodeType==3)c=zn(s,0,s.nodeValue.length).getClientRects();else continue;for(let l=0;l<c.length;l++){let u=c[l];if(u.bottom>u.top+1&&(n=="up"?a.top-u.top>(u.bottom-a.top)*2:u.bottom-a.bottom>(a.bottom-u.top)*2))return!1}}return!0})}const fA=/[\u0590-\u08ac]/;function hA(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=t.domSelection();return s?!fA.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?o:a:aD(t,e,()=>{let{focusNode:c,focusOffset:l,anchorNode:u,anchorOffset:d}=t.domSelectionRange(),f=s.caretBidiLevel;s.modify("move",n,"character");let h=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:m,focusOffset:g}=t.domSelectionRange(),p=m&&!h.contains(m.nodeType==1?m:m.parentNode)||c==m&&l==g;try{s.collapse(u,d),c&&(c!=u||l!=d)&&s.extend&&s.extend(c,l)}catch{}return f!=null&&(s.caretBidiLevel=f),p}):r.pos==r.start()||r.pos==r.end()}let ny=null,ry=null,iy=!1;function pA(t,e,n){return ny==e&&ry==n?iy:(ny=e,ry=n,iy=n=="up"||n=="down"?dA(t,e,n):hA(t,e,n))}const nn=0,oy=1,jr=2,Cn=3;class ya{constructor(e,n,r,i){this.parent=e,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=nn,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;n<this.children.length;n++)e+=this.children[n].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let n=0,r=this.posAtStart;;n++){let i=this.children[n];if(i==e)return r;r+=i.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,n,r){if(this.contentDOM&&this.contentDOM.contains(e.nodeType==1?e:e.parentNode))if(r<0){let o,a;if(e==this.contentDOM)o=e.childNodes[n-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;o=e.previousSibling}for(;o&&!((a=o.pmViewDesc)&&a.parent==this);)o=o.previousSibling;return o?this.posBeforeChild(a)+a.size:this.posAtStart}else{let o,a;if(e==this.contentDOM)o=e.childNodes[n];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;o=e.nextSibling}for(;o&&!((a=o.pmViewDesc)&&a.parent==this);)o=o.nextSibling;return o?this.posBeforeChild(a):this.posAtEnd}let i;if(e==this.dom&&this.contentDOM)i=n>ht(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!1;break}if(o.previousSibling)break}if(i==null&&n==e.childNodes.length)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!0;break}if(o.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,i=e;i;i=i.parentNode){let o=this.getDesc(i),a;if(o&&(!n||o.node))if(r&&(a=o.nodeDOM)&&!(a.nodeType==1?a.contains(e.nodeType==1?e:e.parentNode):a==e))r=!1;else return o}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let i=e;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;n<this.children.length;n++){let i=this.children[n],o=r+i.size;if(r==e&&o!=r){for(;!i.border&&i.children.length;)for(let a=0;a<i.children.length;a++){let s=i.children[a];if(s.size){i=s;break}}return i}if(e<o)return i.descAt(e-r-i.border);r=o}}domFromPos(e,n){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let r=0,i=0;for(let o=0;r<this.children.length;r++){let a=this.children[r],s=o+a.size;if(s>e||a instanceof cD){i=e-o;break}o=s}if(i)return this.children[r].domFromPos(i-this.children[r].border,n);for(let o;r&&!(o=this.children[r-1]).size&&o instanceof sD&&o.side>=0;r--);if(n<=0){let o,a=!0;for(;o=r?this.children[r-1]:null,!(!o||o.dom.parentNode==this.contentDOM);r--,a=!1);return o&&n&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,n):{node:this.contentDOM,offset:o?ht(o.dom)+1:0}}else{let o,a=!0;for(;o=r<this.children.length?this.children[r]:null,!(!o||o.dom.parentNode==this.contentDOM);r++,a=!1);return o&&a&&!o.border&&!o.domAtom?o.domFromPos(0,n):{node:this.contentDOM,offset:o?ht(o.dom):this.contentDOM.childNodes.length}}}parseRange(e,n,r=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:n,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let i=-1,o=-1;for(let a=r,s=0;;s++){let c=this.children[s],l=a+c.size;if(i==-1&&e<=l){let u=a+c.border;if(e>=u&&n<=l-c.border&&c.node&&c.contentDOM&&this.contentDOM.contains(c.contentDOM))return c.parseRange(e,n,u);e=a;for(let d=s;d>0;d--){let f=this.children[d-1];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(1)){i=ht(f.dom)+1;break}e-=f.size}i==-1&&(i=0)}if(i>-1&&(l>n||s==this.children.length-1)){n=l;for(let u=s+1;u<this.children.length;u++){let d=this.children[u];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(-1)){o=ht(d.dom);break}n+=d.size}o==-1&&(o=this.contentDOM.childNodes.length);break}a=l}return{node:this.contentDOM,from:e,to:n,fromOffset:i,toOffset:o}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let n=this.children[e<0?0:this.children.length-1];return n.size==0||n.emptyChildAt(e)}domAfterPos(e){let{node:n,offset:r}=this.domFromPos(e,0);if(n.nodeType!=1||r==n.childNodes.length)throw new RangeError("No node after pos "+e);return n.childNodes[r]}setSelection(e,n,r,i=!1){let o=Math.min(e,n),a=Math.max(e,n);for(let h=0,m=0;h<this.children.length;h++){let g=this.children[h],p=m+g.size;if(o>m&&a<p)return g.setSelection(e-m-g.border,n-m-g.border,r,i);m=p}let s=this.domFromPos(e,e?-1:1),c=n==e?s:this.domFromPos(n,n?-1:1),l=r.root.getSelection(),u=r.domSelectionRange(),d=!1;if((gn||At)&&e==n){let{node:h,offset:m}=s;if(h.nodeType==3){if(d=!!(m&&h.nodeValue[m-1]==`
6
+ `),d&&m==h.nodeValue.length)for(let g=h,p;g;g=g.parentNode){if(p=g.nextSibling){p.nodeName=="BR"&&(s=c={node:p.parentNode,offset:ht(p)+1});break}let y=g.pmViewDesc;if(y&&y.node&&y.node.isBlock)break}}else{let g=h.childNodes[m-1];d=g&&(g.nodeName=="BR"||g.contentEditable=="false")}}if(gn&&u.focusNode&&u.focusNode!=c.node&&u.focusNode.nodeType==1){let h=u.focusNode.childNodes[u.focusOffset];h&&h.contentEditable=="false"&&(i=!0)}if(!(i||d&&At)&&ni(s.node,s.offset,u.anchorNode,u.anchorOffset)&&ni(c.node,c.offset,u.focusNode,u.focusOffset))return;let f=!1;if((l.extend||e==n)&&!d){l.collapse(s.node,s.offset);try{e!=n&&l.extend(c.node,c.offset),f=!0}catch{}}if(!f){if(e>n){let m=s;s=c,c=m}let h=document.createRange();h.setEnd(c.node,c.offset),h.setStart(s.node,s.offset),l.removeAllRanges(),l.addRange(h)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,i=0;i<this.children.length;i++){let o=this.children[i],a=r+o.size;if(r==a?e<=a&&n>=r:e<a&&n>r){let s=r+o.border,c=a-o.border;if(e>=s&&n<=c){this.dirty=e==r||n==a?jr:oy,e==s&&n==c&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=Cn:o.markDirty(e-s,n-s);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?jr:Cn}r=a}this.dirty=jr}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?jr:oy;n.dirty<r&&(n.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(e){return!1}}class sD extends ya{constructor(e,n,r,i){let o,a=n.type.toDOM;if(typeof a=="function"&&(a=a(r,()=>{if(!o)return i;if(o.parent)return o.parent.posBeforeChild(o)})),!n.type.spec.raw){if(a.nodeType!=1){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(e,[],a,null),this.widget=n,this.widget=n,o=this}matchesWidget(e){return this.dirty==nn&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class gA extends ya{constructor(e,n,r,i){super(e,[],n,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class ri extends ya{constructor(e,n,r,i,o){super(e,[],r,i),this.mark=n,this.spec=o}static create(e,n,r,i){let o=i.nodeViews[n.type.name],a=o&&o(n,i,r);return(!a||!a.dom)&&(a=ci.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new ri(e,n,a.dom,a.contentDOM||a.dom,a)}parseRule(){return this.dirty&Cn||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Cn&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=nn){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=nn}}slice(e,n,r){let i=ri.create(this.parent,this.mark,!0,r),o=this.children,a=this.size;n<a&&(o=Sh(o,n,a,r)),e>0&&(o=Sh(o,0,e,r));for(let s=0;s<o.length;s++)o[s].parent=i;return i.children=o,i}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class vr extends ya{constructor(e,n,r,i,o,a,s,c,l){super(e,[],o,a),this.node=n,this.outerDeco=r,this.innerDeco=i,this.nodeDOM=s}static create(e,n,r,i,o,a){let s=o.nodeViews[n.type.name],c,l=s&&s(n,o,()=>{if(!c)return a;if(c.parent)return c.parent.posBeforeChild(c)},r,i),u=l&&l.dom,d=l&&l.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:d}=ci.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!d&&!n.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),n.type.spec.draggable&&(u.draggable=!0));let f=u;return u=dD(u,r,n),l?c=new mA(e,n,r,i,u,d||null,f,l,o,a+1):n.isText?new jc(e,n,r,i,u,f,o):new vr(e,n,r,i,u,d||null,f,o,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>pe.empty)}return e}matchesNode(e,n,r){return this.dirty==nn&&e.eq(this.node)&&Vs(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,i=n,o=e.composing?this.localCompositionInfo(e,n):null,a=o&&o.pos>-1?o:null,s=o&&o.pos<0,c=new bA(this,a&&a.node,e);DA(this.node,this.innerDeco,(l,u,d)=>{l.spec.marks?c.syncToMarks(l.spec.marks,r,e):l.type.side>=0&&!d&&c.syncToMarks(u==this.node.childCount?je.none:this.node.child(u).marks,r,e),c.placeWidget(l,e,i)},(l,u,d,f)=>{c.syncToMarks(l.marks,r,e);let h;c.findNodeMatch(l,u,d,f)||s&&e.state.selection.from>i&&e.state.selection.to<i+l.nodeSize&&(h=c.findIndexWithChild(o.node))>-1&&c.updateNodeAt(l,u,d,h,e)||c.updateNextNode(l,u,d,e,f,i)||c.addNode(l,u,d,e,i),i+=l.nodeSize}),c.syncToMarks([],r,e),this.node.isTextblock&&c.addTextblockHacks(),c.destroyRest(),(c.changed||this.dirty==jr)&&(a&&this.protectLocalComposition(e,a),lD(this.contentDOM,this.children,e),Xi&&_A(this.dom))}localCompositionInfo(e,n){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof Be)||r<n||i>n+this.node.content.size)return null;let o=e.input.compositionNode;if(!o||!this.dom.contains(o.parentNode))return null;if(this.node.inlineContent){let a=o.nodeValue,s=wA(this.node.content,a,r-n,i-n);return s<0?null:{node:o,pos:s,text:a}}else return{node:o,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:i}){if(this.getDesc(n))return;let o=n;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let a=new gA(this,o,n,i);e.input.compositionNodes.push(a),this.children=Sh(this.children,r,r+i.length,e,a)}update(e,n,r,i){return this.dirty==Cn||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,i),!0)}updateInner(e,n,r,i){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=nn}updateOuterDeco(e){if(Vs(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=uD(this.dom,this.nodeDOM,Th(this.outerDeco,this.node,n),Th(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function ay(t,e,n,r,i){dD(r,e,t);let o=new vr(void 0,t,e,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class jc extends vr{constructor(e,n,r,i,o,a,s){super(e,n,r,i,o,null,a,s,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,i){return this.dirty==Cn||this.dirty!=nn&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=nn||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=nn,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let i=this.node.cut(e,n),o=document.createTextNode(i.text);return new jc(this.parent,i,this.outerDeco,this.innerDeco,o,o,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=Cn)}get domAtom(){return!1}isText(e){return this.node.text==e}}class cD extends ya{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==nn&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class mA extends vr{constructor(e,n,r,i,o,a,s,c,l,u){super(e,n,r,i,o,a,s,l,u),this.spec=c}update(e,n,r,i){if(this.dirty==Cn)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let o=this.spec.update(e,n,r);return o&&this.updateInner(e,n,r,i),o}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,i){this.spec.setSelection?this.spec.setSelection(e,n,r.root):super.setSelection(e,n,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function lD(t,e,n){let r=t.firstChild,i=!1;for(let o=0;o<e.length;o++){let a=e[o],s=a.dom;if(s.parentNode==t){for(;s!=r;)r=sy(r),i=!0;r=r.nextSibling}else i=!0,t.insertBefore(s,r);if(a instanceof ri){let c=r?r.previousSibling:t.lastChild;lD(a.contentDOM,a.children,n),r=c?c.nextSibling:t.firstChild}}for(;r;)r=sy(r),i=!0;i&&n.trackWrites==t&&(n.trackWrites=null)}const Wo=function(t){t&&(this.nodeName=t)};Wo.prototype=Object.create(null);const Vr=[new Wo];function Th(t,e,n){if(t.length==0)return Vr;let r=n?Vr[0]:new Wo,i=[r];for(let o=0;o<t.length;o++){let a=t[o].type.attrs;if(a){a.nodeName&&i.push(r=new Wo(a.nodeName));for(let s in a){let c=a[s];c!=null&&(n&&i.length==1&&i.push(r=new Wo(e.isInline?"span":"div")),s=="class"?r.class=(r.class?r.class+" ":"")+c:s=="style"?r.style=(r.style?r.style+";":"")+c:s!="nodeName"&&(r[s]=c))}}}return i}function uD(t,e,n,r){if(n==Vr&&r==Vr)return e;let i=e;for(let o=0;o<r.length;o++){let a=r[o],s=n[o];if(o){let c;s&&s.nodeName==a.nodeName&&i!=t&&(c=i.parentNode)&&c.nodeName.toLowerCase()==a.nodeName||(c=document.createElement(a.nodeName),c.pmIsDeco=!0,c.appendChild(i),s=Vr[0]),i=c}yA(i,s||Vr[0],a)}return i}function yA(t,e,n){for(let r in e)r!="class"&&r!="style"&&r!="nodeName"&&!(r in n)&&t.removeAttribute(r);for(let r in n)r!="class"&&r!="style"&&r!="nodeName"&&n[r]!=e[r]&&t.setAttribute(r,n[r]);if(e.class!=n.class){let r=e.class?e.class.split(" ").filter(Boolean):[],i=n.class?n.class.split(" ").filter(Boolean):[];for(let o=0;o<r.length;o++)i.indexOf(r[o])==-1&&t.classList.remove(r[o]);for(let o=0;o<i.length;o++)r.indexOf(i[o])==-1&&t.classList.add(i[o]);t.classList.length==0&&t.removeAttribute("class")}if(e.style!=n.style){if(e.style){let r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,i;for(;i=r.exec(e.style);)t.style.removeProperty(i[1])}n.style&&(t.style.cssText+=n.style)}}function dD(t,e,n){return uD(t,t,Vr,Th(e,n,t.nodeType!=1))}function Vs(t,e){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!t[n].type.eq(e[n].type))return!1;return!0}function sy(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class bA{constructor(e,n,r){this.lock=n,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=vA(e.node.content,e)}destroyBetween(e,n){if(e!=n){for(let r=e;r<n;r++)this.top.children[r].destroy();this.top.children.splice(e,n-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,n,r){let i=0,o=this.stack.length>>1,a=Math.min(o,e.length);for(;i<a&&(i==o-1?this.top:this.stack[i+1<<1]).matchesMark(e[i])&&e[i].type.spec.spanning!==!1;)i++;for(;i<o;)this.destroyRest(),this.top.dirty=nn,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<e.length;){this.stack.push(this.top,this.index+1);let s=-1;for(let c=this.index;c<Math.min(this.index+3,this.top.children.length);c++){let l=this.top.children[c];if(l.matchesMark(e[o])&&!this.isLocked(l.dom)){s=c;break}}if(s>-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let c=ri.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,c),this.top=c,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,r,i){let o=-1,a;if(i>=this.preMatch.index&&(a=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&a.matchesNode(e,n,r))o=this.top.children.indexOf(a,this.index);else for(let s=this.index,c=Math.min(this.top.children.length,s+5);s<c;s++){let l=this.top.children[s];if(l.matchesNode(e,n,r)&&!this.preMatch.matched.has(l)){o=s;break}}return o<0?!1:(this.destroyBetween(this.index,o),this.index++,!0)}updateNodeAt(e,n,r,i,o){let a=this.top.children[i];return a.dirty==Cn&&a.dom==a.contentDOM&&(a.dirty=jr),a.update(e,n,r,o)?(this.destroyBetween(this.index,i),this.index++,!0):!1}findIndexWithChild(e){for(;;){let n=e.parentNode;if(!n)return-1;if(n==this.top.contentDOM){let r=e.pmViewDesc;if(r){for(let i=this.index;i<this.top.children.length;i++)if(this.top.children[i]==r)return i}return-1}e=n}}updateNextNode(e,n,r,i,o,a){for(let s=this.index;s<this.top.children.length;s++){let c=this.top.children[s];if(c instanceof vr){let l=this.preMatch.matched.get(c);if(l!=null&&l!=o)return!1;let u=c.dom,d,f=this.isLocked(u)&&!(e.isText&&c.node&&c.node.isText&&c.nodeDOM.nodeValue==e.text&&c.dirty!=Cn&&Vs(n,c.outerDeco));if(!f&&c.update(e,n,r,i))return this.destroyBetween(this.index,s),c.dom!=u&&(this.changed=!0),this.index++,!0;if(!f&&(d=this.recreateWrapper(c,e,n,r,i,a)))return this.destroyBetween(this.index,s),this.top.children[this.index]=d,d.contentDOM&&(d.dirty=jr,d.updateChildren(i,a+1),d.dirty=nn),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,n,r,i,o,a){if(e.dirty||n.isAtom||!e.children.length||!e.node.content.eq(n.content)||!Vs(r,e.outerDeco)||!i.eq(e.innerDeco))return null;let s=vr.create(this.top,n,r,i,o,a);if(s.contentDOM){s.children=e.children,e.children=[];for(let c of s.children)c.parent=s}return e.destroy(),s}addNode(e,n,r,i,o){let a=vr.create(this.top,e,n,r,i,o);a.contentDOM&&a.updateChildren(i,o+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(e,n,r){let i=this.index<this.top.children.length?this.top.children[this.index]:null;if(i&&i.matchesWidget(e)&&(e==i.widget||!i.widget.type.toDOM.parentNode))this.index++;else{let o=new sD(this.top,e,n,r);this.top.children.splice(this.index++,0,o),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],n=this.top;for(;e instanceof ri;)n=e,e=n.children[n.children.length-1];(!e||!(e instanceof jc)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((At||mt)&&e&&e.dom.contentEditable=="false"&&this.addHackNode("IMG",n),this.addHackNode("BR",this.top))}addHackNode(e,n){if(n==this.top&&this.index<n.children.length&&n.children[this.index].matchesHack(e))this.index++;else{let r=document.createElement(e);e=="IMG"&&(r.className="ProseMirror-separator",r.alt=""),e=="BR"&&(r.className="ProseMirror-trailingBreak");let i=new cD(this.top,[],r,null);n!=this.top?n.children.push(i):n.children.splice(this.index++,0,i),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||e.nodeType==1&&e.contains(this.lock.parentNode))}}function vA(t,e){let n=e,r=n.children.length,i=t.childCount,o=new Map,a=[];e:for(;i>0;){let s;for(;;)if(r){let l=n.children[r-1];if(l instanceof ri)n=l,r=l.children.length;else{s=l,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let c=s.node;if(c){if(c!=t.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function xA(t,e){return t.type.side-e.type.side}function DA(t,e,n,r){let i=e.locals(t),o=0;if(i.length==0){for(let l=0;l<t.childCount;l++){let u=t.child(l);r(u,i,e.forChild(o,u),l),o+=u.nodeSize}return}let a=0,s=[],c=null;for(let l=0;;){let u,d;for(;a<i.length&&i[a].to==o;){let p=i[a++];p.widget&&(u?(d||(d=[u])).push(p):u=p)}if(u)if(d){d.sort(xA);for(let p=0;p<d.length;p++)n(d[p],l,!!c)}else n(u,l,!!c);let f,h;if(c)h=-1,f=c,c=null;else if(l<t.childCount)h=l,f=t.child(l++);else break;for(let p=0;p<s.length;p++)s[p].to<=o&&s.splice(p--,1);for(;a<i.length&&i[a].from<=o&&i[a].to>o;)s.push(i[a++]);let m=o+f.nodeSize;if(f.isText){let p=m;a<i.length&&i[a].from<p&&(p=i[a].from);for(let y=0;y<s.length;y++)s[y].to<p&&(p=s[y].to);p<m&&(c=f.cut(p-o),f=f.cut(0,p-o),m=p,h=-1)}else for(;a<i.length&&i[a].to<m;)a++;let g=f.isInline&&!f.isLeaf?s.filter(p=>!p.inline):s.slice();r(f,g,e.forChild(o,f),h),o=m}}function _A(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function wA(t,e,n,r){for(let i=0,o=0;i<t.childCount&&o<=r;){let a=t.child(i++),s=o;if(o+=a.nodeSize,!a.isText)continue;let c=a.text;for(;i<t.childCount;){let l=t.child(i++);if(o+=l.nodeSize,!l.isText)break;c+=l.text}if(o>=n){if(o>=r&&c.slice(r-e.length-s,r-s)==e)return r-e.length;let l=s<r?c.lastIndexOf(e,r-s-1):-1;if(l>=0&&l+e.length+s>=n)return s+l;if(n==r&&c.length>=r+e.length-s&&c.slice(r-s,r-s+e.length)==e)return r}}return-1}function Sh(t,e,n,r,i){let o=[];for(let a=0,s=0;a<t.length;a++){let c=t[a],l=s,u=s+=c.size;l>=n||u<=e?o.push(c):(l<e&&o.push(c.slice(0,e-l,r)),i&&(o.push(i),i=void 0),u>n&&o.push(c.slice(n-l,c.size,r)))}return o}function Ip(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let i=t.docView.nearestDesc(n.focusNode),o=i&&i.size==0,a=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),c,l;if($c(n)){for(c=a;i&&!i.node;)i=i.parent;let d=i.node;if(i&&d.isAtom&&Ue.isSelectable(d)&&i.parent&&!(d.isInline&&KS(n.focusNode,n.focusOffset,i.dom))){let f=i.posBefore;l=new Ue(a==f?s:r.resolve(f))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let d=a,f=a;for(let h=0;h<n.rangeCount;h++){let m=n.getRangeAt(h);d=Math.min(d,t.docView.posFromDOM(m.startContainer,m.startOffset,1)),f=Math.max(f,t.docView.posFromDOM(m.endContainer,m.endOffset,-1))}if(d<0)return null;[c,a]=f==t.state.selection.anchor?[f,d]:[d,f],s=r.resolve(a)}else c=t.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(c<0)return null}let u=r.resolve(c);if(!l){let d=e=="pointer"||t.state.selection.head<s.pos&&!o?1:-1;l=Np(t,u,s,d)}return l}function fD(t){return t.editable?t.hasFocus():pD(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function Vn(t,e=!1){let n=t.state.selection;if(hD(t,n),!!fD(t)){if(!e&&t.input.mouseDown&&t.input.mouseDown.allowDefault&&mt){let r=t.domSelectionRange(),i=t.domObserver.currentSelection;if(r.anchorNode&&i.anchorNode&&ni(r.anchorNode,r.anchorOffset,i.anchorNode,i.anchorOffset)){t.input.mouseDown.delayedSelectionSync=!0,t.domObserver.setCurSelection();return}}if(t.domObserver.disconnectSelection(),t.cursorWrapper)TA(t);else{let{anchor:r,head:i}=n,o,a;cy&&!(n instanceof Be)&&(n.$from.parent.inlineContent||(o=ly(t,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(a=ly(t,n.to))),t.docView.setSelection(r,i,t,e),cy&&(o&&uy(o),a&&uy(a)),n.visible?t.dom.classList.remove("ProseMirror-hideselection"):(t.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&EA(t))}t.domObserver.setCurSelection(),t.domObserver.connectSelection()}}const cy=At||mt&&eD<63;function ly(t,e){let{node:n,offset:r}=t.docView.domFromPos(e,0),i=r<n.childNodes.length?n.childNodes[r]:null,o=r?n.childNodes[r-1]:null;if(At&&i&&i.contentEditable=="false")return zl(i);if((!i||i.contentEditable=="false")&&(!o||o.contentEditable=="false")){if(i)return zl(i);if(o)return zl(o)}}function zl(t){return t.contentEditable="true",At&&t.draggable&&(t.draggable=!1,t.wasDraggable=!0),t}function uy(t){t.contentEditable="false",t.wasDraggable&&(t.draggable=!0,t.wasDraggable=null)}function EA(t){let e=t.dom.ownerDocument;e.removeEventListener("selectionchange",t.input.hideSelectionGuard);let n=t.domSelectionRange(),r=n.anchorNode,i=n.anchorOffset;e.addEventListener("selectionchange",t.input.hideSelectionGuard=()=>{(n.anchorNode!=r||n.anchorOffset!=i)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!fD(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function TA(t){let e=t.domSelection(),n=document.createRange();if(!e)return;let r=t.cursorWrapper.dom,i=r.nodeName=="IMG";i?n.setStart(r.parentNode,ht(r)+1):n.setStart(r,0),n.collapse(!0),e.removeAllRanges(),e.addRange(n),!i&&!t.state.selection.visible&&Nt&&br<=11&&(r.disabled=!0,r.disabled=!1)}function hD(t,e){if(e instanceof Ue){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(dy(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else dy(t)}function dy(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function Np(t,e,n,r){return t.someProp("createSelectionBetween",i=>i(t,e,n))||Be.between(e,n,r)}function fy(t){return t.editable&&!t.hasFocus()?!1:pD(t)}function pD(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function SA(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return ni(e.node,e.offset,n.anchorNode,n.anchorOffset)}function Ah(t,e){let{$anchor:n,$head:r}=t.selection,i=e>0?n.max(r):n.min(r),o=i.parent.inlineContent?i.depth?t.doc.resolve(e>0?i.after():i.before()):null:i;return o&&Re.findFrom(o,e)}function sr(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function hy(t,e,n){let r=t.state.selection;if(r instanceof Be)if(n.indexOf("s")>-1){let{$head:i}=r,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let a=t.state.doc.resolve(i.pos+o.nodeSize*(e<0?-1:1));return sr(t,new Be(r.$anchor,a))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let i=Ah(t.state,e);return i&&i instanceof Ue?sr(t,i):!1}else if(!(Qt&&n.indexOf("m")>-1)){let i=r.$head,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter,a;if(!o||o.isText)return!1;let s=e<0?i.pos-o.nodeSize:i.pos;return o.isAtom||(a=t.docView.descAt(s))&&!a.contentDOM?Ue.isSelectable(o)?sr(t,new Ue(e<0?t.state.doc.resolve(i.pos-o.nodeSize):i)):ma?sr(t,new Be(t.state.doc.resolve(e<0?s:s+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Ue&&r.node.isInline)return sr(t,new Be(e>0?r.$to:r.$from));{let i=Ah(t.state,e);return i?sr(t,i):!1}}}function Hs(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Po(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function wi(t,e){return e<0?AA(t):CA(t)}function AA(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,o,a=!1;for(gn&&n.nodeType==1&&r<Hs(n)&&Po(n.childNodes[r],-1)&&(a=!0);;)if(r>0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(Po(s,-1))i=n,o=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(gD(n))break;{let s=n.previousSibling;for(;s&&Po(s,-1);)i=n.parentNode,o=ht(s),s=s.previousSibling;if(s)n=s,r=Hs(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}a?Ch(t,n,r):i&&Ch(t,i,o)}function CA(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i=Hs(n),o,a;for(;;)if(r<i){if(n.nodeType!=1)break;let s=n.childNodes[r];if(Po(s,1))o=n,a=++r;else break}else{if(gD(n))break;{let s=n.nextSibling;for(;s&&Po(s,1);)o=s.parentNode,a=ht(s)+1,s=s.nextSibling;if(s)n=s,r=0,i=Hs(n);else{if(n=n.parentNode,n==t.dom)break;r=i=0}}}o&&Ch(t,o,a)}function gD(t){let e=t.pmViewDesc;return e&&e.node&&e.node.isBlock}function UA(t,e){for(;t&&e==t.childNodes.length&&!ga(t);)e=ht(t)+1,t=t.parentNode;for(;t&&e<t.childNodes.length;){let n=t.childNodes[e];if(n.nodeType==3)return n;if(n.nodeType==1&&n.contentEditable=="false")break;t=n,e=0}}function kA(t,e){for(;t&&!e&&!ga(t);)e=ht(t),t=t.parentNode;for(;t&&e;){let n=t.childNodes[e-1];if(n.nodeType==3)return n;if(n.nodeType==1&&n.contentEditable=="false")break;t=n,e=t.childNodes.length}}function Ch(t,e,n){if(e.nodeType!=3){let o,a;(a=UA(e,n))?(e=a,n=0):(o=kA(e,n))&&(e=o,n=o.nodeValue.length)}let r=t.domSelection();if(!r)return;if($c(r)){let o=document.createRange();o.setEnd(e,n),o.setStart(e,n),r.removeAllRanges(),r.addRange(o)}else r.extend&&r.extend(e,n);t.domObserver.setCurSelection();let{state:i}=t;setTimeout(()=>{t.state==i&&Vn(t)},50)}function py(t,e){let n=t.state.doc.resolve(e);if(!(mt||YS)&&n.parent.inlineContent){let i=t.coordsAtPos(e);if(e>n.start()){let o=t.coordsAtPos(e-1),a=(o.top+o.bottom)/2;if(a>i.top&&a<i.bottom&&Math.abs(o.left-i.left)>1)return o.left<i.left?"ltr":"rtl"}if(e<n.end()){let o=t.coordsAtPos(e+1),a=(o.top+o.bottom)/2;if(a>i.top&&a<i.bottom&&Math.abs(o.left-i.left)>1)return o.left>i.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function gy(t,e,n){let r=t.state.selection;if(r instanceof Be&&!r.empty||n.indexOf("s")>-1||Qt&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let a=Ah(t.state,e);if(a&&a instanceof Ue)return sr(t,a)}if(!i.parent.inlineContent){let a=e<0?i:o,s=r instanceof $t?Re.near(a,e):Re.findFrom(a,e);return s?sr(t,s):!1}return!1}function my(t,e){if(!(t.state.selection instanceof Be))return!0;let{$head:n,$anchor:r,empty:i}=t.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let o=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let a=t.state.tr;return e<0?a.delete(n.pos-o.nodeSize,n.pos):a.delete(n.pos,n.pos+o.nodeSize),t.dispatch(a),!0}return!1}function yy(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function OA(t){if(!At||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;yy(t,r,"true"),setTimeout(()=>yy(t,r,"false"),20)}return!1}function RA(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function FA(t,e){let n=e.keyCode,r=RA(e);if(n==8||Qt&&n==72&&r=="c")return my(t,-1)||wi(t,-1);if(n==46&&!e.shiftKey||Qt&&n==68&&r=="c")return my(t,1)||wi(t,1);if(n==13||n==27)return!0;if(n==37||Qt&&n==66&&r=="c"){let i=n==37?py(t,t.state.selection.from)=="ltr"?-1:1:-1;return hy(t,i,r)||wi(t,i)}else if(n==39||Qt&&n==70&&r=="c"){let i=n==39?py(t,t.state.selection.from)=="ltr"?1:-1:1;return hy(t,i,r)||wi(t,i)}else{if(n==38||Qt&&n==80&&r=="c")return gy(t,-1,r)||wi(t,-1);if(n==40||Qt&&n==78&&r=="c")return OA(t)||gy(t,1,r)||wi(t,1);if(r==(Qt?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function Bp(t,e){t.someProp("transformCopied",h=>{e=h(e,t)});let n=[],{content:r,openStart:i,openEnd:o}=e;for(;i>1&&o>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,o--;let h=r.firstChild;n.push(h.type.name,h.attrs!=h.type.defaultAttrs?h.attrs:null),r=h.content}let a=t.someProp("clipboardSerializer")||ci.fromSchema(t.state.schema),s=DD(),c=s.createElement("div");c.appendChild(a.serializeFragment(r,{document:s}));let l=c.firstChild,u,d=0;for(;l&&l.nodeType==1&&(u=xD[l.nodeName.toLowerCase()]);){for(let h=u.length-1;h>=0;h--){let m=s.createElement(u[h]);for(;c.firstChild;)m.appendChild(c.firstChild);c.appendChild(m),d++}l=c.firstChild}l&&l.nodeType==1&&l.setAttribute("data-pm-slice",`${i} ${o}${d?` -${d}`:""} ${JSON.stringify(n)}`);let f=t.someProp("clipboardTextSerializer",h=>h(e,t))||e.content.textBetween(0,e.content.size,`
7
+
8
+ `);return{dom:c,text:f,slice:e}}function mD(t,e,n,r,i){let o=i.parent.type.spec.code,a,s;if(!n&&!e)return null;let c=e&&(r||o||!n);if(c){if(t.someProp("transformPastedText",f=>{e=f(e,o||r,t)}),o)return e?new we(pe.from(t.state.schema.text(e.replace(/\r\n?/g,`
9
+ `))),0,0):we.empty;let d=t.someProp("clipboardTextParser",f=>f(e,i,r,t));if(d)s=d;else{let f=i.marks(),{schema:h}=t.state,m=ci.fromSchema(h);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(g=>{let p=a.appendChild(document.createElement("p"));g&&p.appendChild(m.serializeNode(h.text(g,f)))})}}else t.someProp("transformPastedHTML",d=>{n=d(n,t)}),a=MA(n),ma&&LA(a);let l=a&&a.querySelector("[data-pm-slice]"),u=l&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(l.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let d=+u[3];d>0;d--){let f=a.firstChild;for(;f&&f.nodeType!=1;)f=f.nextSibling;if(!f)break;a=f}if(s||(s=(t.someProp("clipboardParser")||t.someProp("domParser")||Vi.fromSchema(t.state.schema)).parseSlice(a,{preserveWhitespace:!!(c||u),context:i,ruleFromNode(f){return f.nodeName=="BR"&&!f.nextSibling&&f.parentNode&&!IA.test(f.parentNode.nodeName)?{ignore:!0}:null}})),u)s=WA(by(s,+u[1],+u[2]),u[4]);else if(s=we.maxOpen(NA(s.content,i),!0),s.openStart||s.openEnd){let d=0,f=0;for(let h=s.content.firstChild;d<s.openStart&&!h.type.spec.isolating;d++,h=h.firstChild);for(let h=s.content.lastChild;f<s.openEnd&&!h.type.spec.isolating;f++,h=h.lastChild);s=by(s,d,f)}return t.someProp("transformPasted",d=>{s=d(s,t)}),s}const IA=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function NA(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let i=e.node(n).contentMatchAt(e.index(n)),o,a=[];if(t.forEach(s=>{if(!a)return;let c=i.findWrapping(s.type),l;if(!c)return a=null;if(l=a.length&&o.length&&bD(c,o,s,a[a.length-1],0))a[a.length-1]=l;else{a.length&&(a[a.length-1]=vD(a[a.length-1],o.length));let u=yD(s,c);a.push(u),i=i.matchType(u.type),o=c}}),a)return pe.from(a)}return t}function yD(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,pe.from(t));return t}function bD(t,e,n,r,i){if(i<t.length&&i<e.length&&t[i]==e[i]){let o=bD(t,e,n,r.lastChild,i+1);if(o)return r.copy(r.content.replaceChild(r.childCount-1,o));if(r.contentMatchAt(r.childCount).matchType(i==t.length-1?n.type:t[i+1]))return r.copy(r.content.append(pe.from(yD(n,t,i+1))))}}function vD(t,e){if(e==0)return t;let n=t.content.replaceChild(t.childCount-1,vD(t.lastChild,e-1)),r=t.contentMatchAt(t.childCount).fillBefore(pe.empty,!0);return t.copy(n.append(r))}function Uh(t,e,n,r,i,o){let a=e<0?t.firstChild:t.lastChild,s=a.content;return t.childCount>1&&(o=0),i<r-1&&(s=Uh(s,e,n,r,i+1,o)),i>=n&&(s=e<0?a.contentMatchAt(0).fillBefore(s,o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(pe.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(s))}function by(t,e,n){return e<t.openStart&&(t=new we(Uh(t.content,-1,e,t.openStart,0,t.openEnd),e,t.openEnd)),n<t.openEnd&&(t=new we(Uh(t.content,1,n,t.openEnd,0,0),t.openStart,n)),t}const xD={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let vy=null;function DD(){return vy||(vy=document.implementation.createHTMLDocument("title"))}let $l=null;function BA(t){let e=window.trustedTypes;return e?($l||($l=e.createPolicy("ProseMirrorClipboard",{createHTML:n=>n})),$l.createHTML(t)):t}function MA(t){let e=/^(\s*<meta [^>]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=DD().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),i;if((i=r&&xD[r[1].toLowerCase()])&&(t=i.map(o=>"<"+o+">").join("")+t+i.map(o=>"</"+o+">").reverse().join("")),n.innerHTML=BA(t),i)for(let o=0;o<i.length;o++)n=n.querySelector(i[o])||n;return n}function LA(t){let e=t.querySelectorAll(mt?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<e.length;n++){let r=e[n];r.childNodes.length==1&&r.textContent==" "&&r.parentNode&&r.parentNode.replaceChild(t.ownerDocument.createTextNode(" "),r)}}function WA(t,e){if(!t.size)return t;let n=t.content.firstChild.type.schema,r;try{r=JSON.parse(e)}catch{return t}let{content:i,openStart:o,openEnd:a}=t;for(let s=r.length-2;s>=0;s-=2){let c=n.nodes[r[s]];if(!c||c.hasRequiredAttrs())break;i=pe.from(c.create(r[s+1],i)),o++,a++}return new we(i,o,a)}const Ct={},Ut={},PA={touchstart:!0,touchmove:!0};class qA{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function zA(t){for(let e in Ct){let n=Ct[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{jA(t,r)&&!Mp(t,r)&&(t.editable||!(r.type in Ut))&&n(t,r)},PA[e]?{passive:!0}:void 0)}At&&t.dom.addEventListener("input",()=>null),kh(t)}function mr(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function $A(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function kh(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>Mp(t,r))})}function Mp(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function jA(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function VA(t,e){!Mp(t,e)&&Ct[e.type]&&(t.editable||!(e.type in Ut))&&Ct[e.type](t,e)}Ut.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!wD(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(jn&&mt&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),Xi&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",i=>i(t,$r(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||FA(t,n)?n.preventDefault():mr(t,"key")};Ut.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};Ut.keypress=(t,e)=>{let n=e;if(wD(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||Qt&&n.metaKey)return;if(t.someProp("handleKeyPress",i=>i(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof Be)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(n.charCode);!/[\r\n]/.test(i)&&!t.someProp("handleTextInput",o=>o(t,r.$from.pos,r.$to.pos,i))&&t.dispatch(t.state.tr.insertText(i).scrollIntoView()),n.preventDefault()}};function Vc(t){return{left:t.clientX,top:t.clientY}}function HA(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function Lp(t,e,n,r,i){if(r==-1)return!1;let o=t.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(t.someProp(e,s=>a>o.depth?s(t,n,o.nodeAfter,o.before(a),i,!0):s(t,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function Pi(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let r=t.state.tr.setSelection(e);r.setMeta("pointer",!0),t.dispatch(r)}function GA(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&Ue.isSelectable(r)?(Pi(t,new Ue(n)),!0):!1}function XA(t,e){if(e==-1)return!1;let n=t.state.selection,r,i;n instanceof Ue&&(r=n.node);let o=t.state.doc.resolve(e);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if(Ue.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&o.before(n.$from.depth+1)==n.$from.pos?i=o.before(n.$from.depth):i=o.before(a);break}}return i!=null?(Pi(t,Ue.create(t.state.doc,i)),!0):!1}function KA(t,e,n,r,i){return Lp(t,"handleClickOn",e,n,r)||t.someProp("handleClick",o=>o(t,e,r))||(i?XA(t,n):GA(t,n))}function ZA(t,e,n,r){return Lp(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",i=>i(t,e,r))}function JA(t,e,n,r){return Lp(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",i=>i(t,e,r))||YA(t,n,r)}function YA(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(Pi(t,Be.create(r,0,r.content.size)),!0):!1;let i=r.resolve(e);for(let o=i.depth+1;o>0;o--){let a=o>i.depth?i.nodeAfter:i.node(o),s=i.before(o);if(a.inlineContent)Pi(t,Be.create(r,s+1,s+1+a.content.size));else if(Ue.isSelectable(a))Pi(t,Ue.create(r,s));else continue;return!0}}function Wp(t){return Gs(t)}const _D=Qt?"metaKey":"ctrlKey";Ct.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=Wp(t),i=Date.now(),o="singleClick";i-t.input.lastClick.time<500&&HA(n,t.input.lastClick)&&!n[_D]&&(t.input.lastClick.type=="singleClick"?o="doubleClick":t.input.lastClick.type=="doubleClick"&&(o="tripleClick")),t.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o};let a=t.posAtCoords(Vc(n));a&&(o=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new QA(t,a,n,!!r)):(o=="doubleClick"?ZA:JA)(t,a.pos,a.inside,n)?n.preventDefault():mr(t,"pointer"))};class QA{constructor(e,n,r,i){this.view=e,this.pos=n,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[_D],this.allowDefault=r.shiftKey;let o,a;if(n.inside>-1)o=e.state.doc.nodeAt(n.inside),a=n.inside;else{let u=e.state.doc.resolve(n.pos);o=u.parent,a=u.depth?u.before():0}const s=i?null:r.target,c=s?e.docView.nearestDesc(s,!0):null;this.target=c&&c.dom.nodeType==1?c.dom:null;let{selection:l}=e.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||l instanceof Ue&&l.from<=a&&l.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&gn&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),mr(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Vn(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(Vc(e))),this.updateAllowDefault(e),this.allowDefault||!n?mr(this.view,"pointer"):KA(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||At&&this.mightDrag&&!this.mightDrag.node.isAtom||mt&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(Pi(this.view,Re.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):mr(this.view,"pointer")}move(e){this.updateAllowDefault(e),mr(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}Ct.touchstart=t=>{t.input.lastTouch=Date.now(),Wp(t),mr(t,"pointer")};Ct.touchmove=t=>{t.input.lastTouch=Date.now(),mr(t,"pointer")};Ct.contextmenu=t=>Wp(t);function wD(t,e){return t.composing?!0:At&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const eC=jn?5e3:-1;Ut.compositionstart=Ut.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof Be&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||n.marks(),Gs(t,!0),t.markCursor=null;else if(Gs(t,!e.selection.empty),gn&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let i=r.focusNode,o=r.focusOffset;i&&i.nodeType==1&&o!=0;){let a=o<0?i.lastChild:i.childNodes[o-1];if(!a)break;if(a.nodeType==3){let s=t.domSelection();s&&s.collapse(a,a.nodeValue.length);break}else i=a,o=-1}}t.input.composing=!0}ED(t,eC)};Ut.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,ED(t,20))};function ED(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>Gs(t),e))}function TD(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=nC());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function tC(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=GS(e.focusNode,e.focusOffset),r=XS(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let i=r.pmViewDesc,o=t.domObserver.lastChangedTextNode;if(n==o||r==o)return o;if(!i||!i.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let a=n.pmViewDesc;if(!(!a||!a.isText(n.nodeValue)))return r}}return n||r}function nC(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function Gs(t,e=!1){if(!(jn&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),TD(t),e||t.docView&&t.docView.dirty){let n=Ip(t);return n&&!n.eq(t.state.selection)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!t.state.selection.empty?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}function rC(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}const ea=Nt&&br<15||Xi&&QS<604;Ct.copy=Ut.cut=(t,e)=>{let n=e,r=t.state.selection,i=n.type=="cut";if(r.empty)return;let o=ea?null:n.clipboardData,a=r.content(),{dom:s,text:c}=Bp(t,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",c)):rC(t,s),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function iC(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function oC(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?ta(t,r.value,null,i,e):ta(t,r.textContent,r.innerHTML,i,e)},50)}function ta(t,e,n,r,i){let o=mD(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",c=>c(t,i,o||we.empty)))return!0;if(!o)return!1;let a=iC(o),s=a?t.state.tr.replaceSelectionWith(a,r):t.state.tr.replaceSelection(o);return t.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function SD(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}Ut.paste=(t,e)=>{let n=e;if(t.composing&&!jn)return;let r=ea?null:n.clipboardData,i=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&ta(t,SD(r),r.getData("text/html"),i,n)?n.preventDefault():oC(t,n)};class AD{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}}const CD=Qt?"altKey":"ctrlKey";Ct.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=t.state.selection,o=i.empty?null:t.posAtCoords(Vc(n)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof Ue?i.to-1:i.to))){if(r&&r.mightDrag)a=Ue.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let d=t.docView.nearestDesc(n.target,!0);d&&d.node.type.spec.draggable&&d!=t.docView&&(a=Ue.create(t.state.doc,d.posBefore))}}let s=(a||t.state.selection).content(),{dom:c,text:l,slice:u}=Bp(t,s);(!n.dataTransfer.files.length||!mt||eD>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(ea?"Text":"text/html",c.innerHTML),n.dataTransfer.effectAllowed="copyMove",ea||n.dataTransfer.setData("text/plain",l),t.dragging=new AD(u,!n[CD],a)};Ct.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};Ut.dragover=Ut.dragenter=(t,e)=>e.preventDefault();Ut.drop=(t,e)=>{let n=e,r=t.dragging;if(t.dragging=null,!n.dataTransfer)return;let i=t.posAtCoords(Vc(n));if(!i)return;let o=t.state.doc.resolve(i.pos),a=r&&r.slice;a?t.someProp("transformPasted",m=>{a=m(a,t)}):a=mD(t,SD(n.dataTransfer),ea?null:n.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!n[CD]);if(t.someProp("handleDrop",m=>m(t,n,a||we.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let c=a?Hx(t.state.doc,o.pos,a):o.pos;c==null&&(c=o.pos);let l=t.state.tr;if(s){let{node:m}=r;m?m.replace(l):l.deleteSelection()}let u=l.mapping.map(c),d=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,f=l.doc;if(d?l.replaceRangeWith(u,u,a.content.firstChild):l.replaceRange(u,u,a),l.doc.eq(f))return;let h=l.doc.resolve(u);if(d&&Ue.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))l.setSelection(new Ue(h));else{let m=l.mapping.map(c);l.mapping.maps[l.mapping.maps.length-1].forEach((g,p,y,b)=>m=b),l.setSelection(Np(t,h,l.doc.resolve(m)))}t.focus(),t.dispatch(l.setMeta("uiEvent","drop"))};Ct.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&Vn(t)},20))};Ct.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};Ct.beforeinput=(t,e)=>{if(mt&&jn&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",o=>o(t,$r(8,"Backspace")))))return;let{$cursor:i}=t.state.selection;i&&i.pos>0&&t.dispatch(t.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let t in Ut)Ct[t]=Ut[t];function na(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}class Xs{constructor(e,n){this.toDOM=e,this.spec=n||Zr,this.side=this.spec.side||0}map(e,n,r,i){let{pos:o,deleted:a}=e.mapResult(n.from+i,this.side<0?-1:1);return a?null:new yt(o-r,o-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Xs&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&na(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class xr{constructor(e,n){this.attrs=e,this.spec=n||Zr}map(e,n,r,i){let o=e.map(n.from+i,this.spec.inclusiveStart?-1:1)-r,a=e.map(n.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=a?null:new yt(o,a,this)}valid(e,n){return n.from<n.to}eq(e){return this==e||e instanceof xr&&na(this.attrs,e.attrs)&&na(this.spec,e.spec)}static is(e){return e.type instanceof xr}destroy(){}}class Pp{constructor(e,n){this.attrs=e,this.spec=n||Zr}map(e,n,r,i){let o=e.mapResult(n.from+i,1);if(o.deleted)return null;let a=e.mapResult(n.to+i,-1);return a.deleted||a.pos<=o.pos?null:new yt(o.pos-r,a.pos-r,this)}valid(e,n){let{index:r,offset:i}=e.content.findIndex(n.from),o;return i==n.from&&!(o=e.child(r)).isText&&i+o.nodeSize==n.to}eq(e){return this==e||e instanceof Pp&&na(this.attrs,e.attrs)&&na(this.spec,e.spec)}destroy(){}}class yt{constructor(e,n,r){this.from=e,this.to=n,this.type=r}copy(e,n){return new yt(e,n,this.type)}eq(e,n=0){return this.type.eq(e.type)&&this.from+n==e.from&&this.to+n==e.to}map(e,n,r){return this.type.map(e,this,n,r)}static widget(e,n,r){return new yt(e,e,new Xs(n,r))}static inline(e,n,r,i){return new yt(e,n,new xr(r,i))}static node(e,n,r,i){return new yt(e,n,new Pp(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof xr}get widget(){return this.type instanceof Xs}}const Oi=[],Zr={};class Ye{constructor(e,n){this.local=e.length?e:Oi,this.children=n.length?n:Oi}static create(e,n){return n.length?Ks(n,e,0,Zr):gt}find(e,n,r){let i=[];return this.findInner(e??0,n??1e9,i,0,r),i}findInner(e,n,r,i,o){for(let a=0;a<this.local.length;a++){let s=this.local[a];s.from<=n&&s.to>=e&&(!o||o(s.spec))&&r.push(s.copy(s.from+i,s.to+i))}for(let a=0;a<this.children.length;a+=3)if(this.children[a]<n&&this.children[a+1]>e){let s=this.children[a]+1;this.children[a+2].findInner(e-s,n-s,r,i+s,o)}}map(e,n,r){return this==gt||e.maps.length==0?this:this.mapInner(e,n,0,0,r||Zr)}mapInner(e,n,r,i,o){let a;for(let s=0;s<this.local.length;s++){let c=this.local[s].map(e,r,i);c&&c.type.valid(n,c)?(a||(a=[])).push(c):o.onRemove&&o.onRemove(this.local[s].spec)}return this.children.length?aC(this.children,a||[],e,n,r,i,o):a?new Ye(a.sort(Jr),Oi):gt}add(e,n){return n.length?this==gt?Ye.create(e,n):this.addInner(e,n,0):this}addInner(e,n,r){let i,o=0;e.forEach((s,c)=>{let l=c+r,u;if(u=kD(n,s,l)){for(i||(i=this.children.slice());o<i.length&&i[o]<c;)o+=3;i[o]==c?i[o+2]=i[o+2].addInner(s,u,l+1):i.splice(o,0,c,c+s.nodeSize,Ks(u,s,l+1,Zr)),o+=3}});let a=UD(o?OD(n):n,-r);for(let s=0;s<a.length;s++)a[s].type.valid(e,a[s])||a.splice(s--,1);return new Ye(a.length?this.local.concat(a).sort(Jr):this.local,i||this.children)}remove(e){return e.length==0||this==gt?this:this.removeInner(e,0)}removeInner(e,n){let r=this.children,i=this.local;for(let o=0;o<r.length;o+=3){let a,s=r[o]+n,c=r[o+1]+n;for(let u=0,d;u<e.length;u++)(d=e[u])&&d.from>s&&d.to<c&&(e[u]=null,(a||(a=[])).push(d));if(!a)continue;r==this.children&&(r=this.children.slice());let l=r[o+2].removeInner(a,s+1);l!=gt?r[o+2]=l:(r.splice(o,3),o-=3)}if(i.length){for(let o=0,a;o<e.length;o++)if(a=e[o])for(let s=0;s<i.length;s++)i[s].eq(a,n)&&(i==this.local&&(i=this.local.slice()),i.splice(s--,1))}return r==this.children&&i==this.local?this:i.length||r.length?new Ye(i,r):gt}forChild(e,n){if(this==gt)return this;if(n.isLeaf)return Ye.empty;let r,i;for(let s=0;s<this.children.length;s+=3)if(this.children[s]>=e){this.children[s]==e&&(r=this.children[s+2]);break}let o=e+1,a=o+n.content.size;for(let s=0;s<this.local.length;s++){let c=this.local[s];if(c.from<a&&c.to>o&&c.type instanceof xr){let l=Math.max(o,c.from)-o,u=Math.min(a,c.to)-o;l<u&&(i||(i=[])).push(c.copy(l,u))}}if(i){let s=new Ye(i.sort(Jr),Oi);return r?new dr([s,r]):s}return r||gt}eq(e){if(this==e)return!0;if(!(e instanceof Ye)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let n=0;n<this.local.length;n++)if(!this.local[n].eq(e.local[n]))return!1;for(let n=0;n<this.children.length;n+=3)if(this.children[n]!=e.children[n]||this.children[n+1]!=e.children[n+1]||!this.children[n+2].eq(e.children[n+2]))return!1;return!0}locals(e){return qp(this.localsInner(e))}localsInner(e){if(this==gt)return Oi;if(e.inlineContent||!this.local.some(xr.is))return this.local;let n=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof xr||n.push(this.local[r]);return n}forEachSet(e){e(this)}}Ye.empty=new Ye([],[]);Ye.removeOverlap=qp;const gt=Ye.empty;class dr{constructor(e){this.members=e}map(e,n){const r=this.members.map(i=>i.map(e,n,Zr));return dr.from(r)}forChild(e,n){if(n.isLeaf)return Ye.empty;let r=[];for(let i=0;i<this.members.length;i++){let o=this.members[i].forChild(e,n);o!=gt&&(o instanceof dr?r=r.concat(o.members):r.push(o))}return dr.from(r)}eq(e){if(!(e instanceof dr)||e.members.length!=this.members.length)return!1;for(let n=0;n<this.members.length;n++)if(!this.members[n].eq(e.members[n]))return!1;return!0}locals(e){let n,r=!0;for(let i=0;i<this.members.length;i++){let o=this.members[i].localsInner(e);if(o.length)if(!n)n=o;else{r&&(n=n.slice(),r=!1);for(let a=0;a<o.length;a++)n.push(o[a])}}return n?qp(r?n:n.sort(Jr)):Oi}static from(e){switch(e.length){case 0:return gt;case 1:return e[0];default:return new dr(e.every(n=>n instanceof Ye)?e:e.reduce((n,r)=>n.concat(r instanceof Ye?r:r.members),[]))}}forEachSet(e){for(let n=0;n<this.members.length;n++)this.members[n].forEachSet(e)}}function aC(t,e,n,r,i,o,a){let s=t.slice();for(let l=0,u=o;l<n.maps.length;l++){let d=0;n.maps[l].forEach((f,h,m,g)=>{let p=g-m-(h-f);for(let y=0;y<s.length;y+=3){let b=s[y+1];if(b<0||f>b+u-d)continue;let v=s[y]+u-d;h>=v?s[y+1]=f<=v?-2:-1:f>=u&&p&&(s[y]+=p,s[y+1]+=p)}d+=p}),u=n.maps[l].map(u,-1)}let c=!1;for(let l=0;l<s.length;l+=3)if(s[l+1]<0){if(s[l+1]==-2){c=!0,s[l+1]=-1;continue}let u=n.map(t[l]+o),d=u-i;if(d<0||d>=r.content.size){c=!0;continue}let f=n.map(t[l+1]+o,-1),h=f-i,{index:m,offset:g}=r.content.findIndex(d),p=r.maybeChild(m);if(p&&g==d&&g+p.nodeSize==h){let y=s[l+2].mapInner(n,p,u+1,t[l]+o+1,a);y!=gt?(s[l]=d,s[l+1]=h,s[l+2]=y):(s[l+1]=-2,c=!0)}else c=!0}if(c){let l=sC(s,t,e,n,i,o,a),u=Ks(l,r,0,a);e=u.local;for(let d=0;d<s.length;d+=3)s[d+1]<0&&(s.splice(d,3),d-=3);for(let d=0,f=0;d<u.children.length;d+=3){let h=u.children[d];for(;f<s.length&&s[f]<h;)f+=3;s.splice(f,0,u.children[d],u.children[d+1],u.children[d+2])}}return new Ye(e.sort(Jr),s)}function UD(t,e){if(!e||!t.length)return t;let n=[];for(let r=0;r<t.length;r++){let i=t[r];n.push(new yt(i.from+e,i.to+e,i.type))}return n}function sC(t,e,n,r,i,o,a){function s(c,l){for(let u=0;u<c.local.length;u++){let d=c.local[u].map(r,i,l);d?n.push(d):a.onRemove&&a.onRemove(c.local[u].spec)}for(let u=0;u<c.children.length;u+=3)s(c.children[u+2],c.children[u]+l+1)}for(let c=0;c<t.length;c+=3)t[c+1]==-1&&s(t[c+2],e[c]+o+1);return n}function kD(t,e,n){if(e.isLeaf)return null;let r=n+e.nodeSize,i=null;for(let o=0,a;o<t.length;o++)(a=t[o])&&a.from>n&&a.to<r&&((i||(i=[])).push(a),t[o]=null);return i}function OD(t){let e=[];for(let n=0;n<t.length;n++)t[n]!=null&&e.push(t[n]);return e}function Ks(t,e,n,r){let i=[],o=!1;e.forEach((s,c)=>{let l=kD(t,s,c+n);if(l){o=!0;let u=Ks(l,s,n+c+1,r);u!=gt&&i.push(c,c+s.nodeSize,u)}});let a=UD(o?OD(t):t,-n).sort(Jr);for(let s=0;s<a.length;s++)a[s].type.valid(e,a[s])||(r.onRemove&&r.onRemove(a[s].spec),a.splice(s--,1));return a.length||i.length?new Ye(a,i):gt}function Jr(t,e){return t.from-e.from||t.to-e.to}function qp(t){let e=t;for(let n=0;n<e.length-1;n++){let r=e[n];if(r.from!=r.to)for(let i=n+1;i<e.length;i++){let o=e[i];if(o.from==r.from){o.to!=r.to&&(e==t&&(e=t.slice()),e[i]=o.copy(o.from,r.to),xy(e,i+1,o.copy(r.to,o.to)));continue}else{o.from<r.to&&(e==t&&(e=t.slice()),e[n]=r.copy(r.from,o.from),xy(e,i,r.copy(o.from,r.to)));break}}}return e}function xy(t,e,n){for(;e<t.length&&Jr(n,t[e])>0;)e++;t.splice(e,0,n)}function jl(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=gt&&e.push(r)}),t.cursorWrapper&&e.push(Ye.create(t.state.doc,[t.cursorWrapper.deco])),dr.from(e)}const cC={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},lC=Nt&&br<=11;class uC{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class dC{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new uC,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;i<r.length;i++)this.queue.push(r[i]);Nt&&br<=11&&r.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),lC&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,cC)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;n<e.length;n++)this.queue.push(e[n]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(fy(this.view)){if(this.suppressingSelectionUpdates)return Vn(this.view);if(Nt&&br<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&ni(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let o=e.focusNode;o;o=Qo(o))n.add(o);for(let o=e.anchorNode;o;o=Qo(o))if(n.has(o)){r=o;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&fy(e)&&!this.ignoreSelectionChange(r),o=-1,a=-1,s=!1,c=[];if(e.editable)for(let u=0;u<n.length;u++){let d=this.registerMutation(n[u],c);d&&(o=o<0?d.from:Math.min(d.from,o),a=a<0?d.to:Math.max(d.to,a),d.typeOver&&(s=!0))}if(gn&&c.length){let u=c.filter(d=>d.nodeName=="BR");if(u.length==2){let[d,f]=u;d.parentNode&&d.parentNode.parentNode==f.parentNode?f.remove():d.remove()}else{let{focusNode:d}=this.currentSelection;for(let f of u){let h=f.parentNode;h&&h.nodeName=="LI"&&(!d||pC(e,d)!=h)&&f.remove()}}}let l=null;o<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&$c(r)&&(l=Ip(e))&&l.eq(Re.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Vn(e),this.currentSelection.set(r)):(o>-1||i)&&(o>-1&&(e.docView.markDirty(o,a),fC(e)),this.handleDOMChange(o,a,s,c),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Vn(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let u=0;u<e.addedNodes.length;u++){let d=e.addedNodes[u];n.push(d),d.nodeType==3&&(this.lastChangedTextNode=d)}if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(e.target))return{from:r.posBefore,to:r.posAfter};let i=e.previousSibling,o=e.nextSibling;if(Nt&&br<=11&&e.addedNodes.length)for(let u=0;u<e.addedNodes.length;u++){let{previousSibling:d,nextSibling:f}=e.addedNodes[u];(!d||Array.prototype.indexOf.call(e.addedNodes,d)<0)&&(i=d),(!f||Array.prototype.indexOf.call(e.addedNodes,f)<0)&&(o=f)}let a=i&&i.parentNode==e.target?ht(i)+1:0,s=r.localPosFromDOM(e.target,a,-1),c=o&&o.parentNode==e.target?ht(o):e.target.childNodes.length,l=r.localPosFromDOM(e.target,c,1);return{from:s,to:l}}else return e.type=="attributes"?{from:r.posAtStart-r.border,to:r.posAtEnd+r.border}:(this.lastChangedTextNode=e.target,{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let Dy=new WeakMap,_y=!1;function fC(t){if(!Dy.has(t)&&(Dy.set(t,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace)!==-1)){if(t.requiresGeckoHackNode=gn,_y)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),_y=!0}}function wy(t,e){let n=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset,a=t.domAtPos(t.state.selection.anchor);return ni(a.node,a.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}function hC(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return wy(t,i)}let n;function r(i){i.preventDefault(),i.stopImmediatePropagation(),n=i.getTargetRanges()[0]}return t.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),t.dom.removeEventListener("beforeinput",r,!0),n?wy(t,n):null}function pC(t,e){for(let n=e.parentNode;n&&n!=t.dom;n=n.parentNode){let r=t.docView.nearestDesc(n,!0);if(r&&r.node.isBlock)return n}return null}function gC(t,e,n){let{node:r,fromOffset:i,toOffset:o,from:a,to:s}=t.docView.parseRange(e,n),c=t.domSelectionRange(),l,u=c.anchorNode;if(u&&t.dom.contains(u.nodeType==1?u:u.parentNode)&&(l=[{node:u,offset:c.anchorOffset}],$c(c)||l.push({node:c.focusNode,offset:c.focusOffset})),mt&&t.input.lastKeyCode===8)for(let p=o;p>i;p--){let y=r.childNodes[p-1],b=y.pmViewDesc;if(y.nodeName=="BR"&&!b){o=p;break}if(!b||b.size)break}let d=t.state.doc,f=t.someProp("domParser")||Vi.fromSchema(t.state.schema),h=d.resolve(a),m=null,g=f.parse(r,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:i,to:o,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:l,ruleFromNode:mC,context:h});if(l&&l[0].pos!=null){let p=l[0].pos,y=l[1]&&l[1].pos;y==null&&(y=p),m={anchor:p+a,head:y+a}}return{doc:g,sel:m,from:a,to:s}}function mC(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(At&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||At&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const yC=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function bC(t,e,n,r,i){let o=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let A=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,O=Ip(t,A);if(O&&!t.state.selection.eq(O)){if(mt&&jn&&t.input.lastKeyCode===13&&Date.now()-100<t.input.lastKeyCodeTime&&t.someProp("handleKeyDown",E=>E(t,$r(13,"Enter"))))return;let P=t.state.tr.setSelection(O);A=="pointer"?P.setMeta("pointer",!0):A=="key"&&P.scrollIntoView(),o&&P.setMeta("composition",o),t.dispatch(P)}return}let a=t.state.doc.resolve(e),s=a.sharedDepth(n);e=a.before(s+1),n=t.state.doc.resolve(n).after(s+1);let c=t.state.selection,l=gC(t,e,n),u=t.state.doc,d=u.slice(l.from,l.to),f,h;t.input.lastKeyCode===8&&Date.now()-100<t.input.lastKeyCodeTime?(f=t.state.selection.to,h="end"):(f=t.state.selection.from,h="start"),t.input.lastKeyCode=null;let m=DC(d.content,l.doc.content,l.from,f,h);if(m&&t.input.domChangeCount++,(Xi&&t.input.lastIOSEnter>Date.now()-225||jn)&&i.some(A=>A.nodeType==1&&!yC.test(A.nodeName))&&(!m||m.endA>=m.endB)&&t.someProp("handleKeyDown",A=>A(t,$r(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!m)if(r&&c instanceof Be&&!c.empty&&c.$head.sameParent(c.$anchor)&&!t.composing&&!(l.sel&&l.sel.anchor!=l.sel.head))m={start:c.from,endA:c.to,endB:c.to};else{if(l.sel){let A=Ey(t,t.state.doc,l.sel);if(A&&!A.eq(t.state.selection)){let O=t.state.tr.setSelection(A);o&&O.setMeta("composition",o),t.dispatch(O)}}return}t.state.selection.from<t.state.selection.to&&m.start==m.endB&&t.state.selection instanceof Be&&(m.start>t.state.selection.from&&m.start<=t.state.selection.from+2&&t.state.selection.from>=l.from?m.start=t.state.selection.from:m.endA<t.state.selection.to&&m.endA>=t.state.selection.to-2&&t.state.selection.to<=l.to&&(m.endB+=t.state.selection.to-m.endA,m.endA=t.state.selection.to)),Nt&&br<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>l.from&&l.doc.textBetween(m.start-l.from-1,m.start-l.from+1)=="  "&&(m.start--,m.endA--,m.endB--);let g=l.doc.resolveNoCache(m.start-l.from),p=l.doc.resolveNoCache(m.endB-l.from),y=u.resolve(m.start),b=g.sameParent(p)&&g.parent.inlineContent&&y.end()>=m.endA,v;if((Xi&&t.input.lastIOSEnter>Date.now()-225&&(!b||i.some(A=>A.nodeName=="DIV"||A.nodeName=="P"))||!b&&g.pos<l.doc.content.size&&!g.sameParent(p)&&(v=Re.findFrom(l.doc.resolve(g.pos+1),1,!0))&&v.head==p.pos)&&t.someProp("handleKeyDown",A=>A(t,$r(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>m.start&&xC(u,m.start,m.endA,g,p)&&t.someProp("handleKeyDown",A=>A(t,$r(8,"Backspace")))){jn&&mt&&t.domObserver.suppressSelectionUpdates();return}mt&&m.endB==m.start&&(t.input.lastChromeDelete=Date.now()),jn&&!b&&g.start()!=p.start()&&p.parentOffset==0&&g.depth==p.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==m.endA&&(m.endB-=2,p=l.doc.resolveNoCache(m.endB-l.from),setTimeout(()=>{t.someProp("handleKeyDown",function(A){return A(t,$r(13,"Enter"))})},20));let D=m.start,_=m.endA,T,S,C;if(b){if(g.pos==p.pos)Nt&&br<=11&&g.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>Vn(t),20)),T=t.state.tr.delete(D,_),S=u.resolve(m.start).marksAcross(u.resolve(m.endA));else if(m.endA==m.endB&&(C=vC(g.parent.content.cut(g.parentOffset,p.parentOffset),y.parent.content.cut(y.parentOffset,m.endA-y.start()))))T=t.state.tr,C.type=="add"?T.addMark(D,_,C.mark):T.removeMark(D,_,C.mark);else if(g.parent.child(g.index()).isText&&g.index()==p.index()-(p.textOffset?0:1)){let A=g.parent.textBetween(g.parentOffset,p.parentOffset);if(t.someProp("handleTextInput",O=>O(t,D,_,A)))return;T=t.state.tr.insertText(A,D,_)}}if(T||(T=t.state.tr.replace(D,_,l.doc.slice(m.start-l.from,m.endB-l.from))),l.sel){let A=Ey(t,T.doc,l.sel);A&&!(mt&&t.composing&&A.empty&&(m.start!=m.endB||t.input.lastChromeDelete<Date.now()-100)&&(A.head==D||A.head==T.mapping.map(_)-1)||Nt&&A.empty&&A.head==D)&&T.setSelection(A)}S&&T.ensureMarks(S),o&&T.setMeta("composition",o),t.dispatch(T.scrollIntoView())}function Ey(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:Np(t,e.resolve(n.anchor),e.resolve(n.head))}function vC(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,i=n,o=r,a,s,c;for(let u=0;u<r.length;u++)i=r[u].removeFromSet(i);for(let u=0;u<n.length;u++)o=n[u].removeFromSet(o);if(i.length==1&&o.length==0)s=i[0],a="add",c=u=>u.mark(s.addToSet(u.marks));else if(i.length==0&&o.length==1)s=o[0],a="remove",c=u=>u.mark(s.removeFromSet(u.marks));else return null;let l=[];for(let u=0;u<e.childCount;u++)l.push(c(e.child(u)));if(pe.from(l).eq(t))return{mark:s,type:a}}function xC(t,e,n,r,i){if(n-e<=i.pos-r.pos||Vl(r,!0,!1)<i.pos)return!1;let o=t.resolve(e);if(!r.parent.isTextblock){let s=o.nodeAfter;return s!=null&&n==e+s.nodeSize}if(o.parentOffset<o.parent.content.size||!o.parent.isTextblock)return!1;let a=t.resolve(Vl(o,!0,!0));return!a.parent.isTextblock||a.pos>n||Vl(a,!0,!1)<n?!1:r.parent.content.cut(r.parentOffset).eq(a.parent.content)}function Vl(t,e,n){let r=t.depth,i=e?t.end():t.pos;for(;r>0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,i++,e=!1;if(n){let o=t.node(r).maybeChild(t.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function DC(t,e,n,r,i){let o=t.findDiffStart(e,n);if(o==null)return null;let{a,b:s}=t.findDiffEnd(e,n+t.size,n+e.size);if(i=="end"){let c=Math.max(0,o-Math.min(a,s));r-=a+c-o}if(a<o&&t.size<e.size){let c=r<=o&&r>=a?o-r:0;o-=c,o&&o<e.size&&Ty(e.textBetween(o-1,o+1))&&(o+=c?1:-1),s=o+(s-a),a=o}else if(s<o){let c=r<=o&&r>=s?o-r:0;o-=c,o&&o<t.size&&Ty(t.textBetween(o-1,o+1))&&(o+=c?1:-1),a=o+(a-s),s=o}return{start:o,endA:a,endB:s}}function Ty(t){if(t.length!=2)return!1;let e=t.charCodeAt(0),n=t.charCodeAt(1);return e>=56320&&e<=57343&&n>=55296&&n<=56319}class _C{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new qA,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(ky),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Cy(this),Ay(this),this.nodeViews=Uy(this),this.docView=ay(this.state.doc,Sy(this),jl(this),this.dom,this),this.domObserver=new dC(this,(r,i,o,a)=>bC(this,r,i,o,a)),this.domObserver.start(),zA(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&kh(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(ky),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let i=this.state,o=!1,a=!1;e.storedMarks&&this.composing&&(TD(this),a=!0),this.state=e;let s=i.plugins!=e.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let h=Uy(this);EC(h,this.nodeViews)&&(this.nodeViews=h,o=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&kh(this),this.editable=Cy(this),Ay(this);let c=jl(this),l=Sy(this),u=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",d=o||!this.docView.matchesNode(e.doc,l,c);(d||!e.selection.eq(i.selection))&&(a=!0);let f=u=="preserve"&&a&&this.dom.style.overflowAnchor==null&&nA(this);if(a){this.domObserver.stop();let h=d&&(Nt||mt)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&wC(i.selection,e.selection);if(d){let m=mt?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=tC(this)),(o||!this.docView.update(e.doc,l,c,this))&&(this.docView.updateOuterDeco(l),this.docView.destroy(),this.docView=ay(e.doc,l,c,this.dom,this)),m&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&SA(this))?Vn(this,h):(hD(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():f&&rA(f)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Ue){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&ey(this,n.getBoundingClientRect(),e)}else ey(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n<this.directPlugins.length;n++){let r=this.directPlugins[n];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(let n=0;n<this.state.plugins.length;n++){let r=this.state.plugins[n];r.spec.view&&this.pluginViews.push(r.spec.view(this))}}else for(let n=0;n<this.pluginViews.length;n++){let r=this.pluginViews[n];r.update&&r.update(this,e)}}updateDraggedNode(e,n){let r=e.node,i=-1;if(this.state.doc.nodeAt(r.from)==r.node)i=r.from;else{let o=r.from+(this.state.doc.content.size-n.doc.content.size);(o>0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new AD(e.slice,e.move,i<0?void 0:Ue.create(this.state.doc,i))}someProp(e,n){let r=this._props&&this._props[e],i;if(r!=null&&(i=n?n(r):r))return i;for(let a=0;a<this.directPlugins.length;a++){let s=this.directPlugins[a].props[e];if(s!=null&&(i=n?n(s):s))return i}let o=this.state.plugins;if(o)for(let a=0;a<o.length;a++){let s=o[a].props[e];if(s!=null&&(i=n?n(s):s))return i}}hasFocus(){if(Nt){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable=="false")return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&iA(this.dom),Vn(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let n=this.dom.parentNode;n;n=n.parentNode)if(n.nodeType==9||n.nodeType==11&&n.host)return n.getSelection||(Object.getPrototypeOf(n).getSelection=()=>n.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return lA(this,e)}coordsAtPos(e,n=1){return oD(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let i=this.docView.posFromDOM(e,n,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,n){return pA(this,n||this.state,e)}pasteHTML(e,n){return ta(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return ta(this,e,null,!0,n||new ClipboardEvent("paste"))}serializeForClipboard(e){return Bp(this,e)}destroy(){this.docView&&($A(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],jl(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,VS())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return VA(this,e)}dispatch(e){let n=this._props.dispatchTransaction;n?n.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection();return e?At&&this.root.nodeType===11&&ZS(this.dom.ownerDocument)==this.dom&&hC(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function Sy(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[yt.node(0,t.state.doc.content.size,e)]}function Ay(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:yt.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function Cy(t){return!t.someProp("editable",e=>e(t.state)===!1)}function wC(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function Uy(t){let e=Object.create(null);function n(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function EC(t,e){let n=0,r=0;for(let i in t){if(t[i]!=e[i])return!0;n++}for(let i in e)r++;return n!=r}function ky(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Dr={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Zs={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},TC=typeof navigator<"u"&&/Mac/.test(navigator.platform),SC=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var pt=0;pt<10;pt++)Dr[48+pt]=Dr[96+pt]=String(pt);for(var pt=1;pt<=24;pt++)Dr[pt+111]="F"+pt;for(var pt=65;pt<=90;pt++)Dr[pt]=String.fromCharCode(pt+32),Zs[pt]=String.fromCharCode(pt);for(var Hl in Dr)Zs.hasOwnProperty(Hl)||(Zs[Hl]=Dr[Hl]);function AC(t){var e=TC&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||SC&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?Zs:Dr)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const CC=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function UC(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,i,o,a;for(let s=0;s<e.length-1;s++){let c=e[s];if(/^(cmd|meta|m)$/i.test(c))a=!0;else if(/^a(lt)?$/i.test(c))r=!0;else if(/^(c|ctrl|control)$/i.test(c))i=!0;else if(/^s(hift)?$/i.test(c))o=!0;else if(/^mod$/i.test(c))CC?a=!0:i=!0;else throw new Error("Unrecognized modifier name: "+c)}return r&&(n="Alt-"+n),i&&(n="Ctrl-"+n),a&&(n="Meta-"+n),o&&(n="Shift-"+n),n}function kC(t){let e=Object.create(null);for(let n in t)e[UC(n)]=t[n];return e}function Gl(t,e,n=!0){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),n&&e.shiftKey&&(t="Shift-"+t),t}function OC(t){return new li({props:{handleKeyDown:zp(t)}})}function zp(t){let e=kC(t);return function(n,r){let i=AC(r),o,a=e[Gl(i,r)];if(a&&a(n.state,n.dispatch,n))return!0;if(i.length==1&&i!=" "){if(r.shiftKey){let s=e[Gl(i,r,!1)];if(s&&s(n.state,n.dispatch,n))return!0}if((r.shiftKey||r.altKey||r.metaKey||i.charCodeAt(0)>127)&&(o=Dr[r.keyCode])&&o!=i){let s=e[Gl(o,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}const $p=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function RD(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const FD=(t,e,n)=>{let r=RD(t,n);if(!r)return!1;let i=jp(r);if(!i){let a=r.blockRange(),s=a&&eo(a);return s==null?!1:(e&&e(t.tr.lift(a,s).scrollIntoView()),!0)}let o=i.nodeBefore;if(zD(t,i,e,-1))return!0;if(r.parent.content.size==0&&(Ki(o,"end")||Ue.isSelectable(o)))for(let a=r.depth;;a--){let s=qc(t.doc,r.before(a),r.after(a),we.empty);if(s&&s.slice.size<s.to-s.from){if(e){let c=t.tr.step(s);c.setSelection(Ki(o,"end")?Re.findFrom(c.doc.resolve(c.mapping.map(i.pos,-1)),-1):Ue.create(c.doc,i.pos-o.nodeSize)),e(c.scrollIntoView())}return!0}if(a==1||r.node(a-1).childCount>1)break}return o.isAtom&&i.depth==r.depth-1?(e&&e(t.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),!0):!1},RC=(t,e,n)=>{let r=RD(t,n);if(!r)return!1;let i=jp(r);return i?ID(t,i,e):!1},FC=(t,e,n)=>{let r=BD(t,n);if(!r)return!1;let i=Vp(r);return i?ID(t,i,e):!1};function ID(t,e,n){let r=e.nodeBefore,i=r,o=e.pos-1;for(;!i.isTextblock;o--){if(i.type.spec.isolating)return!1;let u=i.lastChild;if(!u)return!1;i=u}let a=e.nodeAfter,s=a,c=e.pos+1;for(;!s.isTextblock;c++){if(s.type.spec.isolating)return!1;let u=s.firstChild;if(!u)return!1;s=u}let l=qc(t.doc,o,c,we.empty);if(!l||l.from!=o||l instanceof ct&&l.slice.size>=c-o)return!1;if(n){let u=t.tr.step(l);u.setSelection(Be.create(u.doc,o)),n(u.scrollIntoView())}return!0}function Ki(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}const ND=(t,e,n)=>{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;o=jp(r)}let a=o&&o.nodeBefore;return!a||!Ue.isSelectable(a)?!1:(e&&e(t.tr.setSelection(Ue.create(t.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function jp(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function BD(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset<n.parent.content.size)?null:n}const MD=(t,e,n)=>{let r=BD(t,n);if(!r)return!1;let i=Vp(r);if(!i)return!1;let o=i.nodeAfter;if(zD(t,i,e,1))return!0;if(r.parent.content.size==0&&(Ki(o,"start")||Ue.isSelectable(o))){let a=qc(t.doc,r.before(),r.after(),we.empty);if(a&&a.slice.size<a.to-a.from){if(e){let s=t.tr.step(a);s.setSelection(Ki(o,"start")?Re.findFrom(s.doc.resolve(s.mapping.map(i.pos)),1):Ue.create(s.doc,s.mapping.map(i.pos))),e(s.scrollIntoView())}return!0}}return o.isAtom&&i.depth==r.depth-1?(e&&e(t.tr.delete(i.pos,i.pos+o.nodeSize).scrollIntoView()),!0):!1},LD=(t,e,n)=>{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset<r.parent.content.size)return!1;o=Vp(r)}let a=o&&o.nodeAfter;return!a||!Ue.isSelectable(a)?!1:(e&&e(t.tr.setSelection(Ue.create(t.doc,o.pos)).scrollIntoView()),!0)};function Vp(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){let n=t.node(e);if(t.index(e)+1<n.childCount)return t.doc.resolve(t.after(e+1));if(n.type.spec.isolating)break}return null}const IC=(t,e)=>{let n=t.selection,r=n instanceof Ue,i;if(r){if(n.node.isTextblock||!to(t.doc,n.from))return!1;i=n.from}else if(i=Up(t.doc,n.from,-1),i==null)return!1;if(e){let o=t.tr.join(i);r&&o.setSelection(Ue.create(o.doc,i-t.doc.resolve(i).nodeBefore.nodeSize)),e(o.scrollIntoView())}return!0},NC=(t,e)=>{let n=t.selection,r;if(n instanceof Ue){if(n.node.isTextblock||!to(t.doc,n.to))return!1;r=n.to}else if(r=Up(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},BC=(t,e)=>{let{$from:n,$to:r}=t.selection,i=n.blockRange(r),o=i&&eo(i);return o==null?!1:(e&&e(t.tr.lift(i,o).scrollIntoView()),!0)},WD=(t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(`
10
+ `).scrollIntoView()),!0)};function Hp(t){for(let e=0;e<t.edgeCount;e++){let{type:n}=t.edge(e);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const MC=(t,e)=>{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),a=Hp(i.contentMatchAt(o));if(!a||!i.canReplaceWith(o,o,a))return!1;if(e){let s=n.after(),c=t.tr.replaceWith(s,s,a.createAndFill());c.setSelection(Re.near(c.doc.resolve(s),1)),e(c.scrollIntoView())}return!0},PD=(t,e)=>{let n=t.selection,{$from:r,$to:i}=n;if(n instanceof $t||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=Hp(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(e){let a=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,s=t.tr.insert(a,o.createAndFill());s.setSelection(Be.create(s.doc,a+1)),e(s.scrollIntoView())}return!0},qD=(t,e)=>{let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let o=n.before();if(Li(t.doc,o))return e&&e(t.tr.split(o).scrollIntoView()),!0}let r=n.blockRange(),i=r&&eo(r);return i==null?!1:(e&&e(t.tr.lift(r,i).scrollIntoView()),!0)};function LC(t){return(e,n)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof Ue&&e.selection.node.isBlock)return!r.parentOffset||!Li(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.depth)return!1;let o=[],a,s,c=!1,l=!1;for(let h=r.depth;;h--)if(r.node(h).isBlock){c=r.end(h)==r.pos+(r.depth-h),l=r.start(h)==r.pos-(r.depth-h),s=Hp(r.node(h-1).contentMatchAt(r.indexAfter(h-1))),o.unshift(c&&s?{type:s}:null),a=h;break}else{if(h==1)return!1;o.unshift(null)}let u=e.tr;(e.selection instanceof Be||e.selection instanceof $t)&&u.deleteSelection();let d=u.mapping.map(r.pos),f=Li(u.doc,d,o.length,o);if(f||(o[0]=s?{type:s}:null,f=Li(u.doc,d,o.length,o)),u.split(d,o.length,o),!c&&l&&r.node(a).type!=s){let h=u.mapping.map(r.before(a)),m=u.doc.resolve(h);s&&r.node(a-1).canReplaceWith(m.index(),m.index()+1,s)&&u.setNodeMarkup(u.mapping.map(r.before(a)),s)}return n&&n(u.scrollIntoView()),!0}}const WC=LC(),PC=(t,e)=>{let{$from:n,to:r}=t.selection,i,o=n.sharedDepth(r);return o==0?!1:(i=n.before(o),e&&e(t.tr.setSelection(Ue.create(t.doc,i))),!0)};function qC(t,e,n){let r=e.nodeBefore,i=e.nodeAfter,o=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(o,o+1)||!(i.isTextblock||to(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function zD(t,e,n,r){let i=e.nodeBefore,o=e.nodeAfter,a,s,c=i.type.spec.isolating||o.type.spec.isolating;if(!c&&qC(t,e,n))return!0;let l=!c&&e.parent.canReplace(e.index(),e.index()+1);if(l&&(a=(s=i.contentMatchAt(i.childCount)).findWrapping(o.type))&&s.matchType(a[0]||o.type).validEnd){if(n){let h=e.pos+o.nodeSize,m=pe.empty;for(let y=a.length-1;y>=0;y--)m=pe.from(a[y].create(null,m));m=pe.from(i.copy(m));let g=t.tr.step(new lt(e.pos-1,h,e.pos,h,new we(m,1,0),a.length,!0)),p=g.doc.resolve(h+2*a.length);p.nodeAfter&&p.nodeAfter.type==i.type&&to(g.doc,p.pos)&&g.join(p.pos),n(g.scrollIntoView())}return!0}let u=o.type.spec.isolating||r>0&&c?null:Re.findFrom(e,1),d=u&&u.$from.blockRange(u.$to),f=d&&eo(d);if(f!=null&&f>=e.depth)return n&&n(t.tr.lift(d,f).scrollIntoView()),!0;if(l&&Ki(o,"start",!0)&&Ki(i,"end")){let h=i,m=[];for(;m.push(h),!h.isTextblock;)h=h.lastChild;let g=o,p=1;for(;!g.isTextblock;g=g.firstChild)p++;if(h.canReplace(h.childCount,h.childCount,g.content)){if(n){let y=pe.empty;for(let v=m.length-1;v>=0;v--)y=pe.from(m[v].copy(y));let b=t.tr.step(new lt(e.pos-m.length,e.pos+o.nodeSize,e.pos+p,e.pos+o.nodeSize-p,new we(y,m.length,0),0,!0));n(b.scrollIntoView())}return!0}}return!1}function $D(t){return function(e,n){let r=e.selection,i=t<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(n&&n(e.tr.setSelection(Be.create(e.doc,t<0?i.start(o):i.end(o)))),!0):!1}}const zC=$D(-1),$C=$D(1);function jC(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=a&&Cp(a,t,e);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function VC(t,e=null){return function(n,r){let i=!1;for(let o=0;o<n.selection.ranges.length&&!i;o++){let{$from:{pos:a},$to:{pos:s}}=n.selection.ranges[o];n.doc.nodesBetween(a,s,(c,l)=>{if(i)return!1;if(!(!c.isTextblock||c.hasMarkup(t,e)))if(c.type==t)i=!0;else{let u=n.doc.resolve(l),d=u.index();i=u.parent.canReplaceWith(d,d+1,t)}})}if(!i)return!1;if(r){let o=n.tr;for(let a=0;a<n.selection.ranges.length;a++){let{$from:{pos:s},$to:{pos:c}}=n.selection.ranges[a];o.setBlockType(s,c,t,e)}r(o.scrollIntoView())}return!0}}function Gp(...t){return function(e,n,r){for(let i=0;i<t.length;i++)if(t[i](e,n,r))return!0;return!1}}Gp($p,FD,ND);Gp($p,MD,LD);Gp(WD,PD,qD,WC);typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function HC(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o);if(!a)return!1;let s=r?n.tr:null;return GC(s,a,t,e)?(r&&r(s.scrollIntoView()),!0):!1}}function GC(t,e,n,r=null){let i=!1,o=e,a=e.$from.doc;if(e.depth>=2&&e.$from.node(e.depth-1).type.compatibleContent(n)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let c=a.resolve(e.start-2);o=new Zo(c,c,e.depth),e.endIndex<e.parent.childCount&&(e=new Zo(e.$from,a.resolve(e.$to.end(e.depth)),e.depth)),i=!0}let s=Cp(o,n,r,e);return s?(t&&XC(t,e,s,i,n),!0):!1}function XC(t,e,n,r,i){let o=pe.empty;for(let u=n.length-1;u>=0;u--)o=pe.from(n[u].type.create(n[u].attrs,o));t.step(new lt(e.start-(r?2:0),e.end,e.start,e.end,new we(o,0,0),n.length,!0));let a=0;for(let u=0;u<n.length;u++)n[u].type==i&&(a=u+1);let s=n.length-a,c=e.start+n.length-(r?2:0),l=e.parent;for(let u=e.startIndex,d=e.endIndex,f=!0;u<d;u++,f=!1)!f&&Li(t.doc,c,s)&&(t.split(c,s),c+=2*s),c+=l.child(u).nodeSize;return t}function KC(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,a=>a.childCount>0&&a.firstChild.type==t);return o?n?r.node(o.depth-1).type==t?ZC(e,n,t,o):JC(e,n,o):!0:!1}}function ZC(t,e,n,r){let i=t.tr,o=r.end,a=r.$to.end(r.depth);o<a&&(i.step(new lt(o-1,a,o,a,new we(pe.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new Zo(i.doc.resolve(r.$from.pos),i.doc.resolve(a),r.depth));const s=eo(r);if(s==null)return!1;i.lift(r,s);let c=i.mapping.map(o,-1)-1;return to(i.doc,c)&&i.join(c),e(i.scrollIntoView()),!0}function JC(t,e,n){let r=t.tr,i=n.parent;for(let h=n.end,m=n.endIndex-1,g=n.startIndex;m>g;m--)h-=i.child(m).nodeSize,r.delete(h-1,h+1);let o=r.doc.resolve(n.start),a=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,c=n.endIndex==i.childCount,l=o.node(-1),u=o.index(-1);if(!l.canReplace(u+(s?0:1),u+1,a.content.append(c?pe.empty:pe.from(i))))return!1;let d=o.pos,f=d+a.nodeSize;return r.step(new lt(d-(s?1:0),f+(c?1:0),d+1,f-1,new we((s?pe.empty:pe.from(i.copy(pe.empty))).append(c?pe.empty:pe.from(i.copy(pe.empty))),s?0:1,c?0:1),s?0:1)),e(r.scrollIntoView()),!0}function YC(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,l=>l.childCount>0&&l.firstChild.type==t);if(!o)return!1;let a=o.startIndex;if(a==0)return!1;let s=o.parent,c=s.child(a-1);if(c.type!=t)return!1;if(n){let l=c.lastChild&&c.lastChild.type==s.type,u=pe.from(l?t.create():null),d=new we(pe.from(t.create(null,pe.from(s.type.create(null,u)))),l?3:1,0),f=o.start,h=o.end;n(e.tr.step(new lt(f-(l?3:1),h,f,h,d,1,!0)).scrollIntoView())}return!0}}var jD=typeof global=="object"&&global&&global.Object===Object&&global,QC=typeof self=="object"&&self&&self.Object===Object&&self,On=jD||QC||Function("return this")(),Un=On.Symbol,VD=Object.prototype,e3=VD.hasOwnProperty,t3=VD.toString,ho=Un?Un.toStringTag:void 0;function n3(t){var e=e3.call(t,ho),n=t[ho];try{t[ho]=void 0;var r=!0}catch{}var i=t3.call(t);return r&&(e?t[ho]=n:delete t[ho]),i}var r3=Object.prototype,i3=r3.toString;function o3(t){return i3.call(t)}var a3="[object Null]",s3="[object Undefined]",Oy=Un?Un.toStringTag:void 0;function Cr(t){return t==null?t===void 0?s3:a3:Oy&&Oy in Object(t)?n3(t):o3(t)}function Gn(t){return t!=null&&typeof t=="object"}var c3="[object Symbol]";function Hc(t){return typeof t=="symbol"||Gn(t)&&Cr(t)==c3}function HD(t,e){for(var n=-1,r=t==null?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var kn=Array.isArray,Ry=Un?Un.prototype:void 0,Fy=Ry?Ry.toString:void 0;function Js(t){if(typeof t=="string")return t;if(kn(t))return HD(t,Js)+"";if(Hc(t))return Fy?Fy.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var l3=/\s/;function u3(t){for(var e=t.length;e--&&l3.test(t.charAt(e)););return e}var d3=/^\s+/;function f3(t){return t&&t.slice(0,u3(t)+1).replace(d3,"")}function _r(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Iy=NaN,h3=/^[-+]0x[0-9a-f]+$/i,p3=/^0b[01]+$/i,g3=/^0o[0-7]+$/i,m3=parseInt;function qi(t){if(typeof t=="number")return t;if(Hc(t))return Iy;if(_r(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=_r(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=f3(t);var n=p3.test(t);return n||g3.test(t)?m3(t.slice(2),n?2:8):h3.test(t)?Iy:+t}var y3=1/0,b3=17976931348623157e292;function v3(t){if(!t)return t===0?t:0;if(t=qi(t),t===y3||t===-1/0){var e=t<0?-1:1;return e*b3}return t===t?t:0}function x3(t){var e=v3(t),n=e%1;return e===e?n?e-n:e:0}function Xp(t){return t}var D3="[object AsyncFunction]",_3="[object Function]",w3="[object GeneratorFunction]",E3="[object Proxy]";function GD(t){if(!_r(t))return!1;var e=Cr(t);return e==_3||e==w3||e==D3||e==E3}var Xl=On["__core-js_shared__"],Ny=function(){var t=/[^.]+$/.exec(Xl&&Xl.keys&&Xl.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function T3(t){return!!Ny&&Ny in t}var S3=Function.prototype,A3=S3.toString;function ui(t){if(t!=null){try{return A3.call(t)}catch{}try{return t+""}catch{}}return""}var C3=/[\\^$.*+?()[\]{}|]/g,U3=/^\[object .+?Constructor\]$/,k3=Function.prototype,O3=Object.prototype,R3=k3.toString,F3=O3.hasOwnProperty,I3=RegExp("^"+R3.call(F3).replace(C3,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function N3(t){if(!_r(t)||T3(t))return!1;var e=GD(t)?I3:U3;return e.test(ui(t))}function B3(t,e){return t==null?void 0:t[e]}function di(t,e){var n=B3(t,e);return N3(n)?n:void 0}var Oh=di(On,"WeakMap");function M3(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var L3=800,W3=16,P3=Date.now;function q3(t){var e=0,n=0;return function(){var r=P3(),i=W3-(r-n);if(n=r,i>0){if(++e>=L3)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function z3(t){return function(){return t}}var By=function(){try{var t=di(Object,"defineProperty");return t({},"",{}),t}catch{}}(),$3=By?function(t,e){return By(t,"toString",{configurable:!0,enumerable:!1,value:z3(e),writable:!0})}:Xp,j3=q3($3);function V3(t,e,n,r){for(var i=t.length,o=n+-1;++o<i;)if(e(t[o],o,t))return o;return-1}function H3(t){return t!==t}function G3(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function X3(t,e,n){return e===e?G3(t,e,n):V3(t,H3,n)}function K3(t,e){var n=t==null?0:t.length;return!!n&&X3(t,e,0)>-1}var Z3=9007199254740991,J3=/^(?:0|[1-9]\d*)$/;function XD(t,e){var n=typeof t;return e=e??Z3,!!e&&(n=="number"||n!="symbol"&&J3.test(t))&&t>-1&&t%1==0&&t<e}function KD(t,e){return t===e||t!==t&&e!==e}var My=Math.max;function Y3(t,e,n){return e=My(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=My(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(a),M3(t,this,s)}}function Q3(t,e){return j3(Y3(t,e,Xp),t+"")}var eU=9007199254740991;function Kp(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=eU}function ZD(t){return t!=null&&Kp(t.length)&&!GD(t)}var tU=Object.prototype;function nU(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||tU;return t===n}function rU(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var iU="[object Arguments]";function Ly(t){return Gn(t)&&Cr(t)==iU}var JD=Object.prototype,oU=JD.hasOwnProperty,aU=JD.propertyIsEnumerable,Zp=Ly(function(){return arguments}())?Ly:function(t){return Gn(t)&&oU.call(t,"callee")&&!aU.call(t,"callee")};function sU(){return!1}var YD=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Wy=YD&&typeof module=="object"&&module&&!module.nodeType&&module,cU=Wy&&Wy.exports===YD,Py=cU?On.Buffer:void 0,lU=Py?Py.isBuffer:void 0,Rh=lU||sU,uU="[object Arguments]",dU="[object Array]",fU="[object Boolean]",hU="[object Date]",pU="[object Error]",gU="[object Function]",mU="[object Map]",yU="[object Number]",bU="[object Object]",vU="[object RegExp]",xU="[object Set]",DU="[object String]",_U="[object WeakMap]",wU="[object ArrayBuffer]",EU="[object DataView]",TU="[object Float32Array]",SU="[object Float64Array]",AU="[object Int8Array]",CU="[object Int16Array]",UU="[object Int32Array]",kU="[object Uint8Array]",OU="[object Uint8ClampedArray]",RU="[object Uint16Array]",FU="[object Uint32Array]",Ke={};Ke[TU]=Ke[SU]=Ke[AU]=Ke[CU]=Ke[UU]=Ke[kU]=Ke[OU]=Ke[RU]=Ke[FU]=!0;Ke[uU]=Ke[dU]=Ke[wU]=Ke[fU]=Ke[EU]=Ke[hU]=Ke[pU]=Ke[gU]=Ke[mU]=Ke[yU]=Ke[bU]=Ke[vU]=Ke[xU]=Ke[DU]=Ke[_U]=!1;function IU(t){return Gn(t)&&Kp(t.length)&&!!Ke[Cr(t)]}function Jp(t){return function(e){return t(e)}}var QD=typeof exports=="object"&&exports&&!exports.nodeType&&exports,qo=QD&&typeof module=="object"&&module&&!module.nodeType&&module,NU=qo&&qo.exports===QD,Kl=NU&&jD.process,Ys=function(){try{var t=qo&&qo.require&&qo.require("util").types;return t||Kl&&Kl.binding&&Kl.binding("util")}catch{}}(),qy=Ys&&Ys.isTypedArray,e_=qy?Jp(qy):IU,BU=Object.prototype,MU=BU.hasOwnProperty;function LU(t,e){var n=kn(t),r=!n&&Zp(t),i=!n&&!r&&Rh(t),o=!n&&!r&&!i&&e_(t),a=n||r||i||o,s=a?rU(t.length,String):[],c=s.length;for(var l in t)MU.call(t,l)&&!(a&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||XD(l,c)))&&s.push(l);return s}function WU(t,e){return function(n){return t(e(n))}}var PU=WU(Object.keys,Object),qU=Object.prototype,zU=qU.hasOwnProperty;function $U(t){if(!nU(t))return PU(t);var e=[];for(var n in Object(t))zU.call(t,n)&&n!="constructor"&&e.push(n);return e}function t_(t){return ZD(t)?LU(t):$U(t)}var jU=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,VU=/^\w*$/;function Yp(t,e){if(kn(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||Hc(t)?!0:VU.test(t)||!jU.test(t)||e!=null&&t in Object(e)}var ra=di(Object,"create");function HU(){this.__data__=ra?ra(null):{},this.size=0}function GU(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var XU="__lodash_hash_undefined__",KU=Object.prototype,ZU=KU.hasOwnProperty;function JU(t){var e=this.__data__;if(ra){var n=e[t];return n===XU?void 0:n}return ZU.call(e,t)?e[t]:void 0}var YU=Object.prototype,QU=YU.hasOwnProperty;function ek(t){var e=this.__data__;return ra?e[t]!==void 0:QU.call(e,t)}var tk="__lodash_hash_undefined__";function nk(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ra&&e===void 0?tk:e,this}function ii(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}ii.prototype.clear=HU;ii.prototype.delete=GU;ii.prototype.get=JU;ii.prototype.has=ek;ii.prototype.set=nk;function rk(){this.__data__=[],this.size=0}function Gc(t,e){for(var n=t.length;n--;)if(KD(t[n][0],e))return n;return-1}var ik=Array.prototype,ok=ik.splice;function ak(t){var e=this.__data__,n=Gc(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():ok.call(e,n,1),--this.size,!0}function sk(t){var e=this.__data__,n=Gc(e,t);return n<0?void 0:e[n][1]}function ck(t){return Gc(this.__data__,t)>-1}function lk(t,e){var n=this.__data__,r=Gc(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Zn(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Zn.prototype.clear=rk;Zn.prototype.delete=ak;Zn.prototype.get=sk;Zn.prototype.has=ck;Zn.prototype.set=lk;var ia=di(On,"Map");function uk(){this.size=0,this.__data__={hash:new ii,map:new(ia||Zn),string:new ii}}function dk(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Xc(t,e){var n=t.__data__;return dk(e)?n[typeof e=="string"?"string":"hash"]:n.map}function fk(t){var e=Xc(this,t).delete(t);return this.size-=e?1:0,e}function hk(t){return Xc(this,t).get(t)}function pk(t){return Xc(this,t).has(t)}function gk(t,e){var n=Xc(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function Jn(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Jn.prototype.clear=uk;Jn.prototype.delete=fk;Jn.prototype.get=hk;Jn.prototype.has=pk;Jn.prototype.set=gk;var mk="Expected a function";function Qp(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(mk);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Qp.Cache||Jn),n}Qp.Cache=Jn;var yk=500;function bk(t){var e=Qp(t,function(r){return n.size===yk&&n.clear(),r}),n=e.cache;return e}var vk=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xk=/\\(\\)?/g,Dk=bk(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(vk,function(n,r,i,o){e.push(i?o.replace(xk,"$1"):r||n)}),e});function Fh(t){return t==null?"":Js(t)}function n_(t,e){return kn(t)?t:Yp(t,e)?[t]:Dk(Fh(t))}function Kc(t){if(typeof t=="string"||Hc(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function r_(t,e){e=n_(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[Kc(e[n++])];return n&&n==r?t:void 0}function _k(t,e,n){var r=t==null?void 0:r_(t,e);return r===void 0?n:r}function i_(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var zy=Un?Un.isConcatSpreadable:void 0;function wk(t){return kn(t)||Zp(t)||!!(zy&&t&&t[zy])}function Ek(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=wk),i||(i=[]);++o<a;){var s=t[o];n(s)&&i_(i,s)}return i}function Tk(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}function Sk(t,e,n){var r=t.length;return n=n===void 0?r:n,n>=r?t:Tk(t,e,n)}var Ak="\\ud800-\\udfff",Ck="\\u0300-\\u036f",Uk="\\ufe20-\\ufe2f",kk="\\u20d0-\\u20ff",Ok=Ck+Uk+kk,Rk="\\ufe0e\\ufe0f",Fk="\\u200d",Ik=RegExp("["+Fk+Ak+Ok+Rk+"]");function eg(t){return Ik.test(t)}function Nk(t){return t.split("")}var o_="\\ud800-\\udfff",Bk="\\u0300-\\u036f",Mk="\\ufe20-\\ufe2f",Lk="\\u20d0-\\u20ff",Wk=Bk+Mk+Lk,Pk="\\ufe0e\\ufe0f",qk="["+o_+"]",Ih="["+Wk+"]",Nh="\\ud83c[\\udffb-\\udfff]",zk="(?:"+Ih+"|"+Nh+")",a_="[^"+o_+"]",s_="(?:\\ud83c[\\udde6-\\uddff]){2}",c_="[\\ud800-\\udbff][\\udc00-\\udfff]",$k="\\u200d",l_=zk+"?",u_="["+Pk+"]?",jk="(?:"+$k+"(?:"+[a_,s_,c_].join("|")+")"+u_+l_+")*",Vk=u_+l_+jk,Hk="(?:"+[a_+Ih+"?",Ih,s_,c_,qk].join("|")+")",Gk=RegExp(Nh+"(?="+Nh+")|"+Hk+Vk,"g");function Xk(t){return t.match(Gk)||[]}function Kk(t){return eg(t)?Xk(t):Nk(t)}function Zk(t,e,n){return t===t&&(n!==void 0&&(t=t<=n?t:n),e!==void 0&&(t=t>=e?t:e)),t}function Jk(t,e,n){return n===void 0&&(n=e,e=void 0),n!==void 0&&(n=qi(n),n=n===n?n:0),e!==void 0&&(e=qi(e),e=e===e?e:0),Zk(qi(t),e,n)}function Yk(){this.__data__=new Zn,this.size=0}function Qk(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function e5(t){return this.__data__.get(t)}function t5(t){return this.__data__.has(t)}var n5=200;function r5(t,e){var n=this.__data__;if(n instanceof Zn){var r=n.__data__;if(!ia||r.length<n5-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Jn(r)}return n.set(t,e),this.size=n.size,this}function Hn(t){var e=this.__data__=new Zn(t);this.size=e.size}Hn.prototype.clear=Yk;Hn.prototype.delete=Qk;Hn.prototype.get=e5;Hn.prototype.has=t5;Hn.prototype.set=r5;function i5(t,e){for(var n=-1,r=t==null?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function o5(){return[]}var a5=Object.prototype,s5=a5.propertyIsEnumerable,$y=Object.getOwnPropertySymbols,c5=$y?function(t){return t==null?[]:(t=Object(t),i5($y(t),function(e){return s5.call(t,e)}))}:o5;function l5(t,e,n){var r=e(t);return kn(t)?r:i_(r,n(t))}function jy(t){return l5(t,t_,c5)}var Bh=di(On,"DataView"),Mh=di(On,"Promise"),Lh=di(On,"Set"),Vy="[object Map]",u5="[object Object]",Hy="[object Promise]",Gy="[object Set]",Xy="[object WeakMap]",Ky="[object DataView]",d5=ui(Bh),f5=ui(ia),h5=ui(Mh),p5=ui(Lh),g5=ui(Oh),cr=Cr;(Bh&&cr(new Bh(new ArrayBuffer(1)))!=Ky||ia&&cr(new ia)!=Vy||Mh&&cr(Mh.resolve())!=Hy||Lh&&cr(new Lh)!=Gy||Oh&&cr(new Oh)!=Xy)&&(cr=function(t){var e=Cr(t),n=e==u5?t.constructor:void 0,r=n?ui(n):"";if(r)switch(r){case d5:return Ky;case f5:return Vy;case h5:return Hy;case p5:return Gy;case g5:return Xy}return e});var Zy=On.Uint8Array,m5="__lodash_hash_undefined__";function y5(t){return this.__data__.set(t,m5),this}function b5(t){return this.__data__.has(t)}function oa(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new Jn;++e<n;)this.add(t[e])}oa.prototype.add=oa.prototype.push=y5;oa.prototype.has=b5;function v5(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function d_(t,e){return t.has(e)}var x5=1,D5=2;function f_(t,e,n,r,i,o){var a=n&x5,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(t),u=o.get(e);if(l&&u)return l==e&&u==t;var d=-1,f=!0,h=n&D5?new oa:void 0;for(o.set(t,e),o.set(e,t);++d<s;){var m=t[d],g=e[d];if(r)var p=a?r(g,m,d,e,t,o):r(m,g,d,t,e,o);if(p!==void 0){if(p)continue;f=!1;break}if(h){if(!v5(e,function(y,b){if(!d_(h,b)&&(m===y||i(m,y,n,r,o)))return h.push(b)})){f=!1;break}}else if(!(m===g||i(m,g,n,r,o))){f=!1;break}}return o.delete(t),o.delete(e),f}function _5(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function w5(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var E5=1,T5=2,S5="[object Boolean]",A5="[object Date]",C5="[object Error]",U5="[object Map]",k5="[object Number]",O5="[object RegExp]",R5="[object Set]",F5="[object String]",I5="[object Symbol]",N5="[object ArrayBuffer]",B5="[object DataView]",Jy=Un?Un.prototype:void 0,Zl=Jy?Jy.valueOf:void 0;function M5(t,e,n,r,i,o,a){switch(n){case B5:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case N5:return!(t.byteLength!=e.byteLength||!o(new Zy(t),new Zy(e)));case S5:case A5:case k5:return KD(+t,+e);case C5:return t.name==e.name&&t.message==e.message;case O5:case F5:return t==e+"";case U5:var s=_5;case R5:var c=r&E5;if(s||(s=w5),t.size!=e.size&&!c)return!1;var l=a.get(t);if(l)return l==e;r|=T5,a.set(t,e);var u=f_(s(t),s(e),r,i,o,a);return a.delete(t),u;case I5:if(Zl)return Zl.call(t)==Zl.call(e)}return!1}var L5=1,W5=Object.prototype,P5=W5.hasOwnProperty;function q5(t,e,n,r,i,o){var a=n&L5,s=jy(t),c=s.length,l=jy(e),u=l.length;if(c!=u&&!a)return!1;for(var d=c;d--;){var f=s[d];if(!(a?f in e:P5.call(e,f)))return!1}var h=o.get(t),m=o.get(e);if(h&&m)return h==e&&m==t;var g=!0;o.set(t,e),o.set(e,t);for(var p=a;++d<c;){f=s[d];var y=t[f],b=e[f];if(r)var v=a?r(b,y,f,e,t,o):r(y,b,f,t,e,o);if(!(v===void 0?y===b||i(y,b,n,r,o):v)){g=!1;break}p||(p=f=="constructor")}if(g&&!p){var D=t.constructor,_=e.constructor;D!=_&&"constructor"in t&&"constructor"in e&&!(typeof D=="function"&&D instanceof D&&typeof _=="function"&&_ instanceof _)&&(g=!1)}return o.delete(t),o.delete(e),g}var z5=1,Yy="[object Arguments]",Qy="[object Array]",Sa="[object Object]",$5=Object.prototype,e1=$5.hasOwnProperty;function j5(t,e,n,r,i,o){var a=kn(t),s=kn(e),c=a?Qy:cr(t),l=s?Qy:cr(e);c=c==Yy?Sa:c,l=l==Yy?Sa:l;var u=c==Sa,d=l==Sa,f=c==l;if(f&&Rh(t)){if(!Rh(e))return!1;a=!0,u=!1}if(f&&!u)return o||(o=new Hn),a||e_(t)?f_(t,e,n,r,i,o):M5(t,e,c,n,r,i,o);if(!(n&z5)){var h=u&&e1.call(t,"__wrapped__"),m=d&&e1.call(e,"__wrapped__");if(h||m){var g=h?t.value():t,p=m?e.value():e;return o||(o=new Hn),i(g,p,n,r,o)}}return f?(o||(o=new Hn),q5(t,e,n,r,i,o)):!1}function tg(t,e,n,r,i){return t===e?!0:t==null||e==null||!Gn(t)&&!Gn(e)?t!==t&&e!==e:j5(t,e,n,r,tg,i)}var V5=1,H5=2;function G5(t,e,n,r){var i=n.length,o=i;if(t==null)return!o;for(t=Object(t);i--;){var a=n[i];if(a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){a=n[i];var s=a[0],c=t[s],l=a[1];if(a[2]){if(c===void 0&&!(s in t))return!1}else{var u=new Hn,d;if(!(d===void 0?tg(l,c,V5|H5,r,u):d))return!1}}return!0}function h_(t){return t===t&&!_r(t)}function X5(t){for(var e=t_(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,h_(i)]}return e}function p_(t,e){return function(n){return n==null?!1:n[t]===e&&(e!==void 0||t in Object(n))}}function K5(t){var e=X5(t);return e.length==1&&e[0][2]?p_(e[0][0],e[0][1]):function(n){return n===t||G5(n,t,e)}}function Z5(t,e){return t!=null&&e in Object(t)}function J5(t,e,n){e=n_(e,t);for(var r=-1,i=e.length,o=!1;++r<i;){var a=Kc(e[r]);if(!(o=t!=null&&n(t,a)))break;t=t[a]}return o||++r!=i?o:(i=t==null?0:t.length,!!i&&Kp(i)&&XD(a,i)&&(kn(t)||Zp(t)))}function Y5(t,e){return t!=null&&J5(t,e,Z5)}var Q5=1,e8=2;function t8(t,e){return Yp(t)&&h_(e)?p_(Kc(t),e):function(n){var r=_k(n,t);return r===void 0&&r===e?Y5(n,t):tg(e,r,Q5|e8)}}function g_(t){return function(e){return e==null?void 0:e[t]}}function n8(t){return function(e){return r_(e,t)}}function r8(t){return Yp(t)?g_(Kc(t)):n8(t)}function i8(t){return typeof t=="function"?t:t==null?Xp:typeof t=="object"?kn(t)?t8(t[0],t[1]):K5(t):r8(t)}var Jl=function(){return On.Date.now()},o8="Expected a function",a8=Math.max,s8=Math.min;function m_(t,e,n){var r,i,o,a,s,c,l=0,u=!1,d=!1,f=!0;if(typeof t!="function")throw new TypeError(o8);e=qi(e)||0,_r(n)&&(u=!!n.leading,d="maxWait"in n,o=d?a8(qi(n.maxWait)||0,e):o,f="trailing"in n?!!n.trailing:f);function h(T){var S=r,C=i;return r=i=void 0,l=T,a=t.apply(C,S),a}function m(T){return l=T,s=setTimeout(y,e),u?h(T):a}function g(T){var S=T-c,C=T-l,A=e-S;return d?s8(A,o-C):A}function p(T){var S=T-c,C=T-l;return c===void 0||S>=e||S<0||d&&C>=o}function y(){var T=Jl();if(p(T))return b(T);s=setTimeout(y,g(T))}function b(T){return s=void 0,f&&r?h(T):(r=i=void 0,a)}function v(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function D(){return s===void 0?a:b(Jl())}function _(){var T=Jl(),S=p(T);if(r=arguments,i=this,c=T,S){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(y,e),h(c)}return s===void 0&&(s=setTimeout(y,e)),a}return _.cancel=v,_.flush=D,_}function Yl(t){return Gn(t)&&ZD(t)}var c8=200;function l8(t,e,n,r){var i=-1,o=K3,a=!0,s=t.length,c=[],l=e.length;if(!s)return c;n&&(e=HD(e,Jp(n))),e.length>=c8&&(o=d_,a=!1,e=new oa(e));e:for(;++i<s;){var u=t[i],d=n==null?u:n(u);if(u=u!==0?u:0,a&&d===d){for(var f=l;f--;)if(e[f]===d)continue e;c.push(u)}else o(e,d,r)||c.push(u)}return c}function u8(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var d8=Q3(function(t,e){var n=u8(e);return Yl(n)&&(n=void 0),Yl(t)?l8(t,Ek(e,1,Yl),i8(n)):[]}),f8="[object Number]";function h8(t){return typeof t=="number"||Gn(t)&&Cr(t)==f8}var p8="[object RegExp]";function g8(t){return Gn(t)&&Cr(t)==p8}var t1=Ys&&Ys.isRegExp,m8=t1?Jp(t1):g8,y8=g_("length"),y_="\\ud800-\\udfff",b8="\\u0300-\\u036f",v8="\\ufe20-\\ufe2f",x8="\\u20d0-\\u20ff",D8=b8+v8+x8,_8="\\ufe0e\\ufe0f",w8="["+y_+"]",Wh="["+D8+"]",Ph="\\ud83c[\\udffb-\\udfff]",E8="(?:"+Wh+"|"+Ph+")",b_="[^"+y_+"]",v_="(?:\\ud83c[\\udde6-\\uddff]){2}",x_="[\\ud800-\\udbff][\\udc00-\\udfff]",T8="\\u200d",D_=E8+"?",__="["+_8+"]?",S8="(?:"+T8+"(?:"+[b_,v_,x_].join("|")+")"+__+D_+")*",A8=__+D_+S8,C8="(?:"+[b_+Wh+"?",Wh,v_,x_,w8].join("|")+")",n1=RegExp(Ph+"(?="+Ph+")|"+C8+A8,"g");function U8(t){for(var e=n1.lastIndex=0;n1.test(t);)++e;return e}function k8(t){return eg(t)?U8(t):y8(t)}var O8="Expected a function";function R8(t,e,n){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(O8);return _r(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),m_(t,e,{leading:r,maxWait:e,trailing:i})}var F8=30,I8="...",N8=/\w*$/;function B8(t,e){var n=F8,r=I8;if(_r(e)){var i="separator"in e?e.separator:i;n="length"in e?x3(e.length):n,r="omission"in e?Js(e.omission):r}t=Fh(t);var o=t.length;if(eg(t)){var a=Kk(t);o=a.length}if(n>=o)return t;var s=n-k8(r);if(s<1)return r;var c=a?Sk(a,0,s).join(""):t.slice(0,s);if(i===void 0)return c+r;if(a&&(s+=c.length-s),m8(i)){if(t.slice(s).search(i)){var l,u=c;for(i.global||(i=RegExp(i.source,Fh(N8.exec(i))+"g")),i.lastIndex=0;l=i.exec(u);)var d=l.index;c=c.slice(0,d===void 0?s:d)}}else if(t.indexOf(Js(i),s)!=s){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r}function w_(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(n=w_(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function Tn(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=w_(t))&&(r&&(r+=" "),r+=e);return r}const ng="-",M8=t=>{const e=W8(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:a=>{const s=a.split(ng);return s[0]===""&&s.length!==1&&s.shift(),E_(s,e)||L8(a)},getConflictingClassGroupIds:(a,s)=>{const c=n[a]||[];return s&&r[a]?[...c,...r[a]]:c}}},E_=(t,e)=>{var a;if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),i=r?E_(t.slice(1),r):void 0;if(i)return i;if(e.validators.length===0)return;const o=t.join(ng);return(a=e.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},r1=/^\[(.+)\]$/,L8=t=>{if(r1.test(t)){const e=r1.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},W8=t=>{const{theme:e,prefix:n}=t,r={nextPart:new Map,validators:[]};return q8(Object.entries(t.classGroups),n).forEach(([o,a])=>{qh(a,r,o,e)}),r},qh=(t,e,n,r)=>{t.forEach(i=>{if(typeof i=="string"){const o=i===""?e:i1(e,i);o.classGroupId=n;return}if(typeof i=="function"){if(P8(i)){qh(i(r),e,n,r);return}e.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{qh(a,i1(e,o),n,r)})})},i1=(t,e)=>{let n=t;return e.split(ng).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},P8=t=>t.isThemeGetter,q8=(t,e)=>e?t.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[e+a,s])):o);return[n,i]}):t,z8=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,r=new Map;const i=(o,a)=>{n.set(o,a),e++,e>t&&(e=0,r=n,n=new Map)};return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a)}}},T_="!",$8=t=>{const{separator:e,experimentalParseClassName:n}=t,r=e.length===1,i=e[0],o=e.length,a=s=>{const c=[];let l=0,u=0,d;for(let p=0;p<s.length;p++){let y=s[p];if(l===0){if(y===i&&(r||s.slice(p,p+o)===e)){c.push(s.slice(u,p)),u=p+o;continue}if(y==="/"){d=p;continue}}y==="["?l++:y==="]"&&l--}const f=c.length===0?s:s.substring(u),h=f.startsWith(T_),m=h?f.substring(1):f,g=d&&d>u?d-u:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:m,maybePostfixModifierPosition:g}};return n?s=>n({className:s,parseClassName:a}):a},j8=t=>{if(t.length<=1)return t;const e=[];let n=[];return t.forEach(r=>{r[0]==="["?(e.push(...n.sort(),r),n=[]):n.push(r)}),e.push(...n.sort()),e},V8=t=>({cache:z8(t.cacheSize),parseClassName:$8(t),...M8(t)}),H8=/\s+/,G8=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=e,o=[],a=t.trim().split(H8);let s="";for(let c=a.length-1;c>=0;c-=1){const l=a[c],{modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(l);let m=!!h,g=r(m?f.substring(0,h):f);if(!g){if(!m){s=l+(s.length>0?" "+s:s);continue}if(g=r(f),!g){s=l+(s.length>0?" "+s:s);continue}m=!1}const p=j8(u).join(":"),y=d?p+T_:p,b=y+g;if(o.includes(b))continue;o.push(b);const v=i(g,m);for(let D=0;D<v.length;++D){const _=v[D];o.push(y+_)}s=l+(s.length>0?" "+s:s)}return s};function X8(){let t=0,e,n,r="";for(;t<arguments.length;)(e=arguments[t++])&&(n=S_(e))&&(r&&(r+=" "),r+=n);return r}const S_=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=S_(t[r]))&&(n&&(n+=" "),n+=e);return n};function K8(t,...e){let n,r,i,o=a;function a(c){const l=e.reduce((u,d)=>d(u),t());return n=V8(l),r=n.cache.get,i=n.cache.set,o=s,s(c)}function s(c){const l=r(c);if(l)return l;const u=G8(c,n);return i(c,u),u}return function(){return o(X8.apply(null,arguments))}}const Xe=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},A_=/^\[(?:([a-z-]+):)?(.+)\]$/i,Z8=/^\d+\/\d+$/,J8=new Set(["px","full","screen"]),Y8=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Q8=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,eO=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,tO=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nO=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Nn=t=>zi(t)||J8.has(t)||Z8.test(t),er=t=>ro(t,"length",uO),zi=t=>!!t&&!Number.isNaN(Number(t)),Ql=t=>ro(t,"number",zi),po=t=>!!t&&Number.isInteger(Number(t)),rO=t=>t.endsWith("%")&&zi(t.slice(0,-1)),Ie=t=>A_.test(t),tr=t=>Y8.test(t),iO=new Set(["length","size","percentage"]),oO=t=>ro(t,iO,C_),aO=t=>ro(t,"position",C_),sO=new Set(["image","url"]),cO=t=>ro(t,sO,fO),lO=t=>ro(t,"",dO),go=()=>!0,ro=(t,e,n)=>{const r=A_.exec(t);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):n(r[2]):!1},uO=t=>Q8.test(t)&&!eO.test(t),C_=()=>!1,dO=t=>tO.test(t),fO=t=>nO.test(t),hO=()=>{const t=Xe("colors"),e=Xe("spacing"),n=Xe("blur"),r=Xe("brightness"),i=Xe("borderColor"),o=Xe("borderRadius"),a=Xe("borderSpacing"),s=Xe("borderWidth"),c=Xe("contrast"),l=Xe("grayscale"),u=Xe("hueRotate"),d=Xe("invert"),f=Xe("gap"),h=Xe("gradientColorStops"),m=Xe("gradientColorStopPositions"),g=Xe("inset"),p=Xe("margin"),y=Xe("opacity"),b=Xe("padding"),v=Xe("saturate"),D=Xe("scale"),_=Xe("sepia"),T=Xe("skew"),S=Xe("space"),C=Xe("translate"),A=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",Ie,e],E=()=>[Ie,e],k=()=>["",Nn,er],x=()=>["auto",zi,Ie],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],R=()=>["solid","dashed","dotted","double","none"],F=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",Ie],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[zi,Ie];return{cacheSize:500,separator:":",theme:{colors:[go],spacing:[Nn,er],blur:["none","",tr,Ie],brightness:L(),borderColor:[t],borderRadius:["none","","full",tr,Ie],borderSpacing:E(),borderWidth:k(),contrast:L(),grayscale:B(),hueRotate:L(),invert:B(),gap:E(),gradientColorStops:[t],gradientColorStopPositions:[rO,er],inset:P(),margin:P(),opacity:L(),padding:E(),saturate:L(),scale:L(),sepia:B(),skew:L(),space:E(),translate:E()},classGroups:{aspect:[{aspect:["auto","square","video",Ie]}],container:["container"],columns:[{columns:[tr]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...z(),Ie]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",po,Ie]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ie]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",po,Ie]}],"grid-cols":[{"grid-cols":[go]}],"col-start-end":[{col:["auto",{span:["full",po,Ie]},Ie]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[go]}],"row-start-end":[{row:["auto",{span:[po,Ie]},Ie]}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ie]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ie]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...G()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...G(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...G(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ie,e]}],"min-w":[{"min-w":[Ie,e,"min","max","fit"]}],"max-w":[{"max-w":[Ie,e,"none","full","min","max","fit","prose",{screen:[tr]},tr]}],h:[{h:[Ie,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ie,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ie,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ie,e,"auto","min","max","fit"]}],"font-size":[{text:["base",tr,er]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ql]}],"font-family":[{font:[go]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Ie]}],"line-clamp":[{"line-clamp":["none",zi,Ql]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Nn,Ie]}],"list-image":[{"list-image":["none",Ie]}],"list-style-type":[{list:["none","disc","decimal",Ie]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...R(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Nn,er]}],"underline-offset":[{"underline-offset":["auto",Nn,Ie]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),aO]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",oO]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},cO]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...R(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:R()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...R()]}],"outline-offset":[{"outline-offset":[Nn,Ie]}],"outline-w":[{outline:[Nn,er]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Nn,er]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",tr,lO]}],"shadow-color":[{shadow:[go]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...F(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":F()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",tr,Ie]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ie]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",Ie]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ie]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-y":[{"scale-y":[D]}],rotate:[{rotate:[po,Ie]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[T]}],"skew-y":[{"skew-y":[T]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ie]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ie]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ie]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Nn,er,Ql]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},pO=K8(hO);var Aa={},pn=Symbol(),Yr=Symbol(),rg=t=>typeof t=="string"?Te[t]:t,Te={plain:Aa,plaintext:Aa,text:Aa,txt:Aa},ig=(t,e)=>(e[Yr]||Zc)(t,e),Zc=(t,e)=>{for(var n=[t],r,i=[],o=0;r=rg(e[pn]);)delete e[pn],Object.assign(e,r);for(O_(t,e,n,0);i[o++]=n[0],n=n[1];);return i},o1="</span>",Ca="",mo="",U_=t=>{for(var e="",n=t.length,r=0;r<n;)e+=k_(t[r++]);return e},k_=t=>{if(t instanceof Ii){var{type:e,alias:n,content:r}=t,i=Ca,o=mo,a=`<span class="token ${e+(n?" "+n:"")+(e=="keyword"&&typeof r=="string"?" keyword-"+r:"")}">`;mo+=o1,Ca+=a;var s=k_(r);return Ca=i,mo=o,a+s+o1}return typeof t!="string"?U_(t):(t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;"),mo&&t.includes(`
11
+ `)?t.replace(/\n/g,mo+`
12
+ `+Ca):t)},O_=(t,e,n,r,i)=>{for(var o in e)if(e[o])for(var a=0,s=e[o],c=Array.isArray(s)?s:[s];a<c.length;++a){if(i&&i[0]==o&&i[1]==a)return;for(var l=c[a],u=l.pattern||l,d=rg(l.inside),f=l.lookbehind,h=l.greedy&&u.global,m=l.alias,g=n,p=r;g&&(!i||p<i[2]);p+=g[0].length,g=g[1]){var y=g[0],b=0,v,D;if(!(y instanceof Ii)){if(u.lastIndex=h?p:0,v=u.exec(h?t:y),v&&f&&v[1]&&(D=v[1].length,v.index+=D,v[0]=v[0].slice(D)),h){if(!v)break;if(v[0]){for(var C=v.index,_=C+v[0].length,T;C>=p+(T=g[0].length);g=g[1],p+=T);if(g[0]instanceof Ii)continue;for(var S=g,s=p;(s+=S[0].length)<_;S=S[1],b++);y=t.slice(p,s),v.index-=p}}if(v&&v[0]){for(var C=v.index,A=v[0],O=y.slice(C+A.length),P=p+y.length,E=new Ii(o,d?ig(A,d):A,A,m),k=g,x=0,z;k=k[1],x++<b;);O&&(!k||k[0]instanceof Ii?k=[O,k]:k[0]=O+k[0]),p+=C,g[0]=C?y.slice(0,C):E,C?g=g[1]=[E,k]:g[1]=k,b&&(O_(t,e,g,p,z=[o,a,P]),P=z[2]),i&&P>i[2]&&(i[2]=P)}}}}};function Ii(t,e,n,r){this.type=t,this.content=e,this.alias=r,this.length=n.length}var Qs="\\b(?:BASH(?:OPTS|_ALIASES|_ARG[CV]|_CMDS|_COMPLETION_COMPAT_DIR|_LINENO|_REMATCH|_SOURCE|_VERSINFO|_VERSION)?|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|E?UID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_(?:ADDRESS|ALL|IDENTIFICATION|MEASUREMENT|MONETARY|NAME|NUMERIC|PAPER|TELEPHONE|TIME)|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS[1-4]|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_(?:CONFIG_DIRS|CURRENT_DESKTOP|DATA_DIRS|GREETER_DATA_DIR|MENU_PREFIX|RUNTIME_DIR|SEAT|SEAT_PATH|SESSION_DESKTOP|SESSION_ID|SESSION_PATH|SESSION_TYPE|VTNR)|XMODIFIERS)\\b",zh={pattern:/(^(["']?)\w+\2)[ ]+\S.*/,lookbehind:!0,alias:"punctuation"},R_={variable:/^\$\(|^`|\)$|`$/},Ua={bash:zh,environment:{pattern:RegExp("\\$"+Qs),alias:"constant"},variable:[{pattern:/\$?\(\([^]*?\)\)/g,greedy:!0,inside:{variable:[{pattern:/(^\$[^]+)../,lookbehind:!0},/^\$\(\(/],number:/\b0x[a-fA-F\d]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|&&|\|\||(?:\*\*|<<|>>|[%&|^!=<>/*+-])=?|[?:~]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:[^()]|\([^)]*\))*\)|`[^`]+`/g,greedy:!0,inside:R_},{pattern:/\$\{[^}]*\}/g,greedy:!0,inside:{operator:/:[?=+-]?|[!/]|##?|%%?|\^\^?|,,?/,punctuation:/[[\]]/,environment:{pattern:RegExp("(\\{)"+Qs),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[a-fA-F\d]{8}|u[a-fA-F\d]{4}|x[a-fA-F\d]{1,2})/},gO=zh.inside=Te.sh=Te.shell=Te.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,lookbehind:!0,alias:"variable"},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,lookbehind:!0,alias:"variable",inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+Qs),lookbehind:!0,alias:"constant"}}},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?![^\s=])/,lookbehind:!0,alias:"variable"},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[^]*?\n\2/g,lookbehind:!0,greedy:!0,inside:Ua},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[^]*?\n\3/g,lookbehind:!0,greedy:!0,inside:{bash:zh}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[^]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^\\"`$])*"/g,lookbehind:!0,greedy:!0,inside:Ua},{pattern:/(^|[^$\\])'[^']*'/g,lookbehind:!0,greedy:!0},{pattern:/\$'(?:\\[^]|[^\\'])*'/g,greedy:!0,inside:{entity:Ua.entity}}],environment:{pattern:RegExp("\\$?"+Qs),alias:"constant"},variable:Ua.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|c?fdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cron|crontab|c?split|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff3?|dig|dircolors|dirname|dirs?|dmesg|docker|docker-compose|du|[ef]?grep|eject|env|ethtool|expand|expect|expr|fdformat|fg|file|find|fmt|fold|format|free|fsck|fuser|g?awk|git|g?parted|groupadd|groupdel|groupmod|groups|grub-mkconfig|halt|head|hg|history|host|hostname|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|killall|less|link|ln|logname|logrotate|look|lpc|lprint[dq]?|lprm?|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mm?v|more|most|mtools|m?tr|mutt|nano|nc|netstat|nice|nl|node|nohup|notify-send|nslookup|op|open|passwd|paste|pathchk|ping|p?kill|p?npm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ra[mr]|reboot|remsync|rename|renice|rev|rmdir|rp?m|r?sync|[sr]?cp|screen|sdiff|se[dq]|sendmail|service|s?ftp|shellcheck|shuf|shutdown|sleep|s?locate|[sz]?sh|stat|strace|sudo|sum?|suspend|swapon|sysctl|tac|tail|tar|tee|time|timeout|h?top|touch|traceroute|t?sort|tty|u?mount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vim?|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|g?zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|[ls]et|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[[\]{};\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}};["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"].forEach(t=>R_[t]=gO[t]);var F_=/(?:"(?:\\[^]|[^\\\n"])*"|'(?:\\[^]|[^\\\n'])*')/g,ka=F_.source,a1={rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^)]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}};a1[pn]=Te.css={comment:/\/\*[^]*?\*\//,atrule:{pattern:RegExp(`@[\\w-](?:[^;{\\s"']|\\s+(?!\\s)|${ka})*?(?:;|(?=\\s*\\{))`),inside:a1},url:{pattern:RegExp(`\\burl\\((?:${ka}|(?:[^\\\\
13
+ "')=]|\\\\[^])*)\\)`,"gi"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+ka+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|${ka})*(?=\\s*\\{)`),lookbehind:!0},string:{pattern:F_,greedy:!0},property:{pattern:/(^|[^-\w\xa0-\uffff])(?!\d)(?:(?!\s)[-\w\xa0-\uffff])+(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z\d])[-a-z\d]+(?=\()/i,lookbehind:!0},punctuation:/[(){},:;]/};var us=(t,e)=>{if(e.has(t))return e.get(t);var n=t,r=mO.call(t).slice(8,-1);if(r=="Object"){e.set(t,n={});for(var i in t)n[i]=us(t[i],e);t[pn]&&(n[pn]=us(t[pn],e)),t[Yr]&&(n[Yr]=t[Yr])}else if(r=="Array"){e.set(t,n=[]);for(var o=0,a=t.length;o<a;o++)n[o]=us(t[o],e)}return n},og=t=>us(t,new Map),Ur=(t,e)=>Object.assign(og(Te[t]),e),Qe=(t,e,n)=>{var r={};for(var i in t)r[i]=t[i],delete t[i];for(var i in r)i==e&&Object.assign(t,n),n.hasOwnProperty(i)||(t[i]=r[i])},mO={}.toString,ec=Te.css,s1={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},c1={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};ec.selector.inside=ec.atrule.inside["selector-function-argument"].inside={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:/\[(?:[^[\]"']|(["'])(?:\\[^]|(?!\1)[^\\\n])*\1)*\]/g,greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xa0-\uffff])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xa0-\uffff])+/,lookbehind:!0},"attr-value":{pattern:/(=\s*)(?:(?!\s)[-\w\xa0-\uffff])+(?=\s*$)|(["'])(?:\\[^]|(?!\2)[^\\\n])*\2/,lookbehind:!0},operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/};Qe(ec,"property",{variable:{pattern:/(^|[^-\w\xa0-\uffff])--(?!\d)(?:(?!\s)[-\w\xa0-\uffff])*/i,lookbehind:!0}});Qe(ec,"function",{operator:{pattern:/(\s)[/*+-](?!\S)/,lookbehind:!0},hexcode:{pattern:/\B#[a-f\d]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:(?:alice|cadet|cornflower|deepsky|dodger|midnight|powder|royal|sky|steel)blue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blueviolet|brown|burlywood|chartreuse|chocolate|coral|cornsilk|crimson|(?:dark)?(?:blue|cyan|goldenrod|gr[ae]y|green|khaki|magenta|olivegreen|orange|orchid|red|salmon|seagreen|slateblue|slategr[ae]y|turquoise|violet)|deeppink|dimgr[ae]y|firebrick|floralwhite|(?:forest|lawn|lime|pale|spring)green|fuchsia|gainsboro|ghostwhite|gold|greenyellow|honeydew|hotpink|indianred|indigo|ivory|lavender|lavenderblush|lemonchiffon|light(?:blue|coral|cyan|goldenrodyellow|gr[ae]y|green|pink|salmon|seagreen|skyblue|slategr[ae]y|steelblue|yellow)|lime|linen|maroon|medium(?:aquamarine|blue|orchid|purple|seagreen|slateblue|springgreen|turquoise|violetred)|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orangered|palegoldenrod|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|purple|rebeccapurple|rosybrown|saddlebrown|sandybrown|seashell|sienna|silver|snow|tan|teal|thistle|tomato|transparent|wheat|white|whitesmoke|yellow|yellowgreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{function:/^[^(]+/,unit:s1,number:c1,punctuation:/[(),]/}}],entity:/\\[a-f\d]{1,8}/i,unit:s1,number:c1});Te.ini={comment:{pattern:/(^[ \f \v]*)[#;].*/m,lookbehind:!0},section:{pattern:/(^[ \f \v]*)\[[^\n\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f \v]*)[^ \f \v\]]+(?:[ \f \v]+[^ \f \v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/[[\]]/}},key:{pattern:/(^[ \f \v]*)[^ \f\n \v=]+(?:[ \f \v]+[^ \f\n \v=]+)*(?=[ \f \v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f \v]*)[^ \f\n \v]+(?:[ \f \v]+[^ \f\n \v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^(["']).+(?=\1$)/,lookbehind:!0}}},punctuation:/=/};var kr=()=>({pattern:/\/\/.*|\/\*[^]*?(?:\*\/|$)/g,greedy:!0}),ag=()=>({pattern:/(["'])(?:\\[^]|(?!\1)[^\\\n])*\1/g,greedy:!0}),I_=/\b0x[a-f\d]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,io=/[()[\]{}.,:;]/,jt=/\b(?:false|true)\b/,eu={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[^]+/}};eu.expression.inside=Te.kts=Te.kt=Te.kotlin={"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:eu},string:/[^]+/}},{pattern:/"(?:\\.|[^\\\n"$]|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\\\)*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:eu},string:/[^]+/}}],char:{pattern:/'(?:[^\\\n']|\\(?:.|u[a-fA-F\d]{0,4}))'/g,greedy:!0},comment:kr(),annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"},keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},boolean:jt,label:{pattern:/\b\w+@|@\w+/,alias:"symbol"},function:{pattern:/(?:`[^\n`]+`|\b\w+)(?=\s*\()|(\.)(?:`[^\n`]+`|\w+)(?=\s*\{)/g,lookbehind:!0,greedy:!0},number:/\b(?:0[xX][a-fA-F\d]+(?:_[a-fA-F\d]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/--|\+\+|&&|\|\||->|[!=]==|!!|[%!=<>/*+-]=?|[?:]:?|\.\.|\b(?:and|inv|shl|u?shr|x?or)\b/,punctuation:io};var N_=[{pattern:/&[a-z\d]{1,8};/i,alias:"named-entity"},/&#x?[a-f\d]{1,8};/i],yO={pattern:/<\/?(?!\d)[^\s/=>$<%]+(?:\s(?:\s*[^\s/=>]+(?:\s*=\s*(?!\s)(?:"[^"]*"|'[^']*'|[^\s"'=>]+(?=[\s>]))?|(?=[\s/>])))+)?\s*\/?>/g,greedy:!0,inside:{punctuation:/^<\/?|\/?>$/,tag:{pattern:/^\S+/,inside:{namespace:/^[^:]+:/}},"attr-value":[{pattern:/(=\s*)(?:"[^"]*"|'[^']*'|[^\s"'=>]+)/g,lookbehind:!0,greedy:!0,inside:{punctuation:/^["']|["']$/,entity:N_}}],"attr-equals":/=/,"attr-name":{pattern:/\S+/,inside:{namespace:/^[^:]+:/}}}};Te.rss=Te.atom=Te.ssml=Te.xml={comment:{pattern:/<!--(?:(?!<!--)[^])*?-->/g,greedy:!0},prolog:{pattern:/<\?[^]+?\?>/g,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/gi,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[^]+(?=\]\s*>$)/,lookbehind:!0,inside:"xml"},string:/"[^"]*"|'[^']*'/,punctuation:/^<!|[>[\]]/,"doctype-tag":/^DOCTYPE/i,name:/\S+/}},cdata:{pattern:/<!\[CDATA\[[^]*?\]\]>/gi,greedy:!0},tag:yO,entity:N_,"markup-bracket":{pattern:/[()[\]{}]/,alias:"punctuation"}};var $h=(t,e)=>(t["language-"+e]={pattern:/[^]+/,inside:e},t),l1=(t,e)=>({pattern:RegExp(`(<${t}[^>]*>)(?!</${t}>)(?:<!\\[CDATA\\[(?:[^\\]]|\\](?!\\]>))*\\]\\]>|(?!<!\\[CDATA\\[)[^])+?(?=</${t}>)`,"gi"),lookbehind:!0,greedy:!0,inside:$h({"included-cdata":{pattern:/<!\[CDATA\[[^]*?\]\]>/i,inside:$h({cdata:/^<!\[CDATA\[|\]\]>$/i},e)}},e)}),u1=(t,e)=>({pattern:RegExp(`((?:^|["'\\s])(?:${t})\\s*=\\s*)(?:"[^"]*"|'[^']*'|[^\\s"'=>]+)`,"gi"),lookbehind:!0,greedy:!0,inside:$h({punctuation:/^["']|["']$/},e)}),B_=Te.svg=Te.mathml=Te.html=Te.markup=og(Te.xml);B_.tag.inside["attr-value"].unshift(u1("style","css"),u1("on[a-z]+","javascript"));Qe(B_,"cdata",{style:l1("style","css"),script:l1("script","javascript")});Te.r={comment:/#.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\n])*\1/g,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[a-fA-F\d]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->>?|<=|<<?-|[!=<>]=?|::?|&&?|\|\|?|[~^$@/*+-]/,punctuation:/[()[\]{},;]/};Te.basic={comment:{pattern:/(?:!|rem\b).+/i,inside:{keyword:/^rem/i}},string:{pattern:/"(?:""|[#$%&'().,:;\w ?^!=<>/*+-])*"/g,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,keyword:/\b(?:as|beep|bload|bsave|call absolute|call|case|chain|chdir|clear|close|cls|com|common|const|data|declare|def(?: fn| seg|dbl|int|[ls]ng|str)|dim|do|double|else|elseif|environ|erase|error|exit|field|files|for|function|get|gosub|goto|if|input|integer|ioctl|key|kill|line input|locate|lock|long|loop|[lr]set|mkdir|name|next|off|on(?: com| error| key| timer)?|open|option base|[op]ut|poke|read|redim|rem|restore|resume|return|rmdir|run|select case|shared|shell|single|sleep|static|step|stop|string|sub|swap|system|then|timer|to|troff|tron|type|unlock|until|using|view print|wait|w?end|while|write)(?:\$|\b)/i,function:/\b(?:abs|access|a?cos|angle|area|arithmetic|array|a?sin|ask|atn?|base|begin|break|cause|ceil|chr|clip|collate|color|co[nst]|cosh|csc|date|datum|debug|decimal|de[fgt]|degrees|delete|device|display|dot|elapsed|eps|erasable|exline|exp|external|extype|filetype|fixed|fp|go|graph|handler|idn|image|int?|internal|ip|is|keyed|[lu]bound|[lu]case|left|le[nt]|length|lines?|log2?|log10|[lr]trim|margin|ma[tx]|maxnum|mi[dn]|missing|mod|native|nul|numeric|of|option|ord|organization|outin|output|pi|pointer|points?|pos|print|program|prompt|rad|radians|randomize|record|recsize|rectype|relative|remainder|repeat|rest|retry|rewrite|right|rnd|round|same|se[ct]|select|sequential|setter|sgn|sinh|size|skip|s[qt]r|standard|status|stream|style|tab|tanh?|template|text|there|time|timeout|trace|transform|truncate|use|val|variable|viewport|when|window|with|zer|zonewidth)(?:\$|\b)/i,operator:/<=|<>|>=|[&^=<>/*+-]|\b(?:and|eqv|imp|not|x?or)\b/i,punctuation:/[(),:;]/};Te.vbnet=Ur("basic",{comment:{pattern:/(?:!|'|rem\b).*/i,inside:{keyword:/^rem/i}},string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/g,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:addhandler|addressof|alias|and|andalso|as|beep|bload|boolean|bsave|byref|byval|call absolute|call|case|catch|cbool|c?byte|cc?har|c?date|cdbl|cdec|chain|chdir|cu?int|class|clear|close|cls|cobj|com|common|const|continue|c?sbyte|c?u?short|c?sng|cstr|c?type|cu?lng|data|decimal|declare|def(?: fn| seg|dbl|int|lng|sng|str)|default|delegate|dim|directcast|do|double|else|elseif|enum|environ|erase|error|event|exit|false|true|field|files|finally|for each|for|friend|function|[gls]et|gettype|getxmlnamespace|global|gosub|goto|handles|i[fns]|implements|imports|inherits|input|interface|ioctl|isnot|key|kill|lib|like|line input|locate|lock|loop|[lr]set|me|mkdir|mod|module|mustinherit|mustoverride|mybase|myclass|name|namespace|narrowing|new|next|not|nothing|notinheritable|notoverridable|object|off?|on (?:com|error|key|timer)|on|open|operator|option base|option|optional|orelse|out|overloads|overridable|overrides|paramarray|partial|poke|private|property|protected|public|put|raiseevent|read|readonly|redim|removehandler|restore|resume|return|rmdir|run|select case|select|shadows|shared|shell|single|sleep|static|step|stop|string|structure|sub|swap|synclock|system|[tw]hen|throw|timer|to|troff|tron|try|trycast|typeof|u?integer|u?long|unlock|until|using|view print|wait|w?end|while|widening|with|withevents|write|writeonly|x?or)|\B#(?:const|else|elseif|end|if))(?:\$|\b)/i,punctuation:/[(){},:;]/});var d1={pattern:/'(?:\\[^]|[^\\\n']){0,32}'/g,greedy:!0},f1={pattern:/\/\/(?:[^\\\n]|\\\n?)*|\/\*[^]*?(?:\*\/|$)/g,greedy:!0},h1={pattern:/"(?:\\[^]|[^\\\n"])*"/g,greedy:!0},p1={pattern:/\S[^]*/};p1.inside=Te.c={comment:f1,char:d1,macro:{pattern:/(^[ ]*)#\s*[a-z](?:[^\\\n/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\[^])*/img,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},h1],char:d1,comment:f1,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=\n)/,expression:p1}},string:h1,"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([^]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[a-f\d]+(?:\.[a-f\d]*)?|\.[a-f\d]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/->|([&|:+-])\1|[?:~]|>>=?|<<=?|[%&|^!=<>/*+-]=?/,punctuation:io};Qe(Te.opencl=Ur("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[a-f\d]+(?:\.[a-f\d]*)?|\.[a-f\d]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:jt,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN2|LN10|LOG2E?|LOG10E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),"class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|u?intptr_t)\b/,alias:"keyword"}});var jh={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:[2348]|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|RA?|READ_(?:ONLY|WRITE)_CACHE|RG|RGB[Ax]?|RG?x|RUNNING|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_5[56]5|VERSION_(?:1_[012]|2_[01])|s?BGRA|sRGB[Ax]?)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image[23]D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};Qe(Te.c,"keyword",jh);Te.cpp&&(jh["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image(?:[123]D|[12]DArray|1DBuffer|[23]DGL|Format|GL)?|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTrait(?:Atomic|Coarse|Fine|ReadOnly|ReadWrite|WriteOnly)|Sampler|UserEvent)\b/,alias:"keyword"},Qe(Te.cpp,"keyword",jh));var bO=Te.diff={coord:/^(?:\*{3}|-{3}|\+{3}|\d).*$|^@@.*@@$/m},tu={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};for(var Ei in tu){var nu=Ei.split("-")[0];bO[Ei]={pattern:RegExp("^(?:["+tu[Ei]+`].*$
14
+ ?)+`,"m"),alias:nu!=Ei?nu:Ei=="diff"?"bold":void 0,inside:{prefix:{pattern:RegExp("^["+tu[Ei]+"]","mg"),greedy:!0,alias:nu}}}}var ru=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|opens?|package|permits|private|protected|provides|public|record(?!\s*[()[\]{}%~.,:;?%&|^=<>/*+-])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throws?|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,No="(?:[a-z]\\w*\\s*\\.\\s*)*(?:[A-Z]\\w*\\s*\\.\\s*)*",Vh={pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},Hh={namespace:Vh,punctuation:/\./},g1={pattern:RegExp(`(^|[^\\w.])${No}[A-Z](?:[\\d_A-Z]*[a-z]\\w*)?\\b`),lookbehind:!0,inside:Hh};Te.java={"doc-comment":{pattern:/\/\*\*(?!\/)[^]*?(?:\*\/|$)/g,greedy:!0,alias:"comment",inside:"javadoc"},comment:kr(),"triple-quoted-string":{pattern:/"""[ ]*\n(?:\\.|[^\\])*?"""/g,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^\\\n']){1,6}'/g,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\\n"])*"/g,lookbehind:!0,greedy:!0},annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":g1,keyword:ru,punctuation:/[().,:<>]/,operator:/[?&|]/}},import:[{pattern:RegExp(`(\\bimport\\s+)${No}(?:[A-Z]\\w*|\\*)(?=\\s*;)`),lookbehind:!0,inside:{namespace:Vh,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(`(\\bimport\\s+static\\s+)${No}(?:\\w+|\\*)(?=\\s*;)`),lookbehind:!0,alias:"static",inside:{namespace:Vh,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(`(\\b(?:exports|import(?:\\s+static)?|module|opens?|package|provides|requires|to|transitive|uses|with)\\s+)(?!${ru.source})[a-z]\\w*(?:\\.[a-z]\\w*)*\\.?`),lookbehind:!0,inside:{punctuation:/\./}},"class-name":[g1,{pattern:RegExp(`(^|[^\\w.])${No}[A-Z]\\w*(?=\\s+\\w+\\s*[;,=()]|\\s*(?:\\[[\\s,]*\\]\\s*)?::\\s*new\\b)`),lookbehind:!0,inside:Hh},{pattern:RegExp(`(\\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\\s+)${No}[A-Z]\\w*\\b`),lookbehind:!0,inside:Hh}],keyword:ru,boolean:jt,function:{pattern:/\b\w+(?=\()|(::\s*)[a-z_]\w*/,lookbehind:!0},number:/\b0b[01][01_]*l?\b|\b0x(?:\.[a-f\d_p+-]+|[a-f\d_]+(?:\.[a-f\d_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,constant:/\b[A-Z][A-Z_\d]+\b/,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[%&|^!=<>/*+-]=?)/m,lookbehind:!0},punctuation:io};Qe(Te.less=Ur("css",{comment:kr(),atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[():]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[/*+-]/}),"property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}});Te.objc=Te.objectivec=Ur("c",{string:{pattern:/@?"(?:\\[^]|[^\\\n"])*"/g,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int?|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|==?|>>?=?|<<?=?|&&?|\|\|?|[~^@%?/*]/});delete Te.objc["class-name"];var M_={pattern:/^(..)[^]+(?=.)/,lookbehind:!0},iu="(?:([^a-zA-Z\\d\\s{(\\[<=])(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1|\\((?:\\\\[\\s\\S]|[^\\\\()]|\\((?:\\\\[\\s\\S]|[^\\\\()])*\\))*\\)|\\{(?:\\\\[\\s\\S]|[^\\\\{}]|\\{(?:\\\\[\\s\\S]|[^\\\\{}])*\\})*\\}|\\[(?:\\\\[\\s\\S]|[^\\\\[\\]]|\\[(?:\\\\[\\s\\S]|[^\\\\[\\]])*\\])*\\]|<(?:\\\\[\\s\\S]|[^\\\\<>]|<(?:\\\\[\\s\\S]|[^\\\\<>])*>)*>)",m1=`(?:"(?:\\\\.|[^\\\\
15
+ "])*"|(?:\\b(?!\\d)\\w+|[^\\s\0-\\x7f]+)[?!]?|\\$.)`,Br={pattern:/((?:^|[^\\])(?:\\\\)*)#\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:{content:M_,delimiter:{pattern:/.+/,alias:"punctuation"}}};M_.inside=Te.rb=Te.ruby={comment:{pattern:/#.*|^=begin\s[^]*?^=end/mg,greedy:!0},"string-literal":[{pattern:RegExp("%[qQiIwWs]?"+iu,"g"),greedy:!0,inside:{interpolation:Br,string:/[^]+/}},{pattern:/(["'])(?:#\{[^}]+\}|#(?!\{)|\\[^]|(?!\1)[^\\#\n])*\1/g,greedy:!0,inside:{interpolation:Br,string:/[^]+/}},{pattern:/<<[-~]?([a-z_]\w*)\n(?:.*\n)*?[ ]*\1/gi,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\w+/,punctuation:/^<<[-~]?/}},interpolation:Br,string:/[^]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'\n(?:.*\n)*?[ ]*\1/gi,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[^]+/}}],"command-literal":[{pattern:RegExp("%x"+iu,"g"),greedy:!0,inside:{interpolation:Br,command:{pattern:/[^]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\[^]|[^\\`#\n])*`/g,greedy:!0,inside:{interpolation:Br,command:{pattern:/[^]+/,alias:"string"}}}],"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},"regex-literal":[{pattern:RegExp(`%r${iu}[egimnosux]{0,6}`,"g"),greedy:!0,inside:{interpolation:Br,regex:/[^]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\]]+\]|\\.|[^\\\n/[])+\/[egimnosux]{0,6}(?=\s*(?:$|[\n,.;})#]))/g,lookbehind:!0,greedy:!0,inside:{interpolation:Br,regex:/[^]+/}}],variable:/[@$]+(?!\d)\w+(?:[?!]|\b)/,symbol:[{pattern:RegExp("(^|[^:]):"+m1,"g"),lookbehind:!0,greedy:!0},{pattern:RegExp(`([
16
+ {(,][ ]*)`+m1+"(?=:(?!:))","g"),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|f?or|if|in|include|module|new|next|nil|not|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|[tw]hen|throw|undef|unless|until|while|yield)\b/,boolean:jt,builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z\d_]*(?:[?!]|\b)/,number:I_,"double-colon":{pattern:/::/,alias:"punctuation"},operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[%&|^!=<>/*+-])=?|[?:]/,punctuation:/[()[\]{}.,;]/};Te.sql={comment:/\/\*[^]*?\*\/|(?:--|\/\/|#).*/,variable:[{pattern:/@(["'`])(?:\\[^]|(?!\1)[^\\])+\1/g,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])(["'])(?:\\[^]|(?!\2)[^\\]|\2\2)*\2/g,lookbehind:!0,greedy:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[^]|[^\\`]|``)*`/g,lookbehind:!0,greedy:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:avg|count|first|format|last|[lu]case|len|max|mi[dn]|mod|now|round|sum)(?=\s*\()/i,keyword:/\b(?:action|add|after|algorithm|alter|analyze|any|apply|asc?|authorization|auto_increment|backup|bdb|begin|berkeleydb|bigint|binary|bit|blob|bool|boolean|break|browse|[br]tree|bulk|by|c?all|cascaded?|case|chain|character|charset|check(?:point)?|close|clustered|coalesce|collate|columns?|comment|commit(?:ted)?|compute|connect|consistent|constraint|contains(?:table)?|continue|convert|create|cross|current(?:_date|_time|_timestamp|_user)?|cursor|cycle|data(?:bases?)?|date(?:time)?|day|dbcc|deallocate|dec|decimal|declare|default|definer|delayed|delete|delimiters?|deny|desc|describe|deterministic|disable|discard|disk|distinct|distinctrow|distributed|do|double|drop|dummy|dump(?:file)?|duplicate|else(?:if)?|enable|enclosed|end|engine|enum|errlvl|errors|escaped?|except|exec(?:ute)?|exists|exit|explain|extended|fetch|fields|file|fillfactor|first|fixed|float|following|for each row|for|force|foreign|freetexttable|freetext|from|full|function|geometry(?:collection)?|global|goto|grant|group|handler|hash|having|holdlock|hour|identity(?:col|_insert)?|if|ignore|import|index|infile|inner|innodb|inout|insert|integer|intersect|interval|into?|invoker|isolation|iterate|join|keys?|kill|language|last|leave|left|level|limit|lineno|lines|linestring|load|local|lock|long(?:blob|text)|loop|matched|match|(?:medium|tiny)(?:blob|int|text)|merge|middleint|minute|mode|modifies|modify|month|multi(?:linestring|point|polygon)|national|natural|n?char|next|no|nonclustered|nullif|numeric|off?|offsets?|on|open(?:datasource|query|rowset)?|optimize|option(?:ally)?|order|out(?:er|file)?|over|partial|partition|percent|pivot|plan|point|polygon|preceding|precision|prepare|prev|primary|print|privileges|proc(?:edure)?|public|purge|quick|raiserror|reads?|real|reconfigure|references|release|rename|repeat(?:able)?|replace|replication|require|resignal|restore|restrict|returning|returns?|revoke|right|rollback|routine|row(?:count|guidcol|s)?|rule|savepoint|save|schema|second|select|serializable|serial|session_user|session|setuser|set|share|show|shutdown|simple|smallint|snapshot|some|soname|sql|start(?:ing)?|statistics|status|striped|system_user|tables?|tablespace|temp(?:orary|table)?|terminated|textsize|text|[tw]hen|timestamp|time|top?|transactions?|tran|trigger|truncate|tsequal|types?|unbounded|uncommitted|undefined|union|unique|unlock|unpivot|unsigned|updatetext|update|usage|user?|using|values?|var(?:binary|char|character|ying)|view|waitfor|warnings|where|while|with(?: rollup|in)?|work|writetext|write|year)\b/i,boolean:/\b(?:false|true|null)\b/i,number:/\b0x[a-f\d]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[=%~^/*+-]|&&?|\|\|?|!=?|<<|<=?>?|>[>=]?|\b(?:and|between|div|[ir]?like|in|is|not|x?or|regexp|sounds like)\b/i,punctuation:/[()[\].,;`]/};Te.wasm={comment:/\(;[^]*?;\)|;;.*/,string:{pattern:/"(?:\\[^]|[^\\"])*"/g,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:[fi]32|[fi]64)(?:\.(?:abs|a[dn]d|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|x?or))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*./:<=>?@\\^`|~+-]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[a-fA-F\d](?:_?[a-fA-F\d])*(?:\.[a-fA-F\d](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[a-fA-F\d](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var oo=(t,e)=>{for(var n=0;n<e;n++)t=t.replace(/<self>/g,`(?:${t})`);return t.replace(/<self>/g,"[]")},Dt=(t,e)=>t.replace(/<(\d+)>/g,(n,r)=>`(?:${e[+r]})`),We=(t,e,n)=>RegExp(Dt(t,e),n),Gh=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,Zi=Te.cpp=Ur("c",{"class-name":[{pattern:RegExp(`(\\b(?:class|concept|enum|struct|typename)\\s+)(?!${Gh.source})\\w+`),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[a-z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:Gh,number:{pattern:/(?:\b0b[01']+|\b0x(?:[a-f\d']+(?:\.[a-f\d']*)?|\.[a-f\d']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/gi,greedy:!0},operator:/->|--|\+\+|&&|\|\||[?:~]|<=>|>>=?|<<=?|[%&|^!=<>/*+-]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|x?or|x?or_eq)\b/,boolean:jt});Qe(Zi,"string",{module:{pattern:We(`(\\b(?:import|module)\\s+)(?:"(?:\\\\[\\s\\S]|[^\\\\
17
+ "])*"|<[^<>
18
+ ]*>|<0>(?:\\s*:\\s*<0>)?|:\\s*<0>)`,[`\\b(?!${Gh.source})\\w+(?:\\s*\\.\\s*\\w+)*\\b`],"g"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][^]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([^]*?\)\1"/g,greedy:!0,alias:"string"}});Qe(Zi,"keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[^]+/,alias:"class-name",inside:Zi}}}});Qe(Zi,"operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var L_=Object.assign({},Zi);Qe(Zi,"class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/g,lookbehind:!0,greedy:!0,inside:L_}});Qe(L_,"double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i});Te.go={comment:kr(),char:{pattern:/'(?:\\.|[^\\\n']){0,10}'/g,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\\n"])*"|`[^`]*`/g,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|true|iota|nil)\b/,function:/\b\w+(?=\()/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/--|\+\+|&&|\|\||&\^=?|<-|<<=?|>>=?|[%&|^!=<>/*+-]=?|:=|\.{3}/,punctuation:io,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/};var ou={};Te.js=Te.javascript=Object.assign(ou,{"doc-comment":{pattern:/\/\*\*(?!\/)[^]*?(?:\*\/|$)/g,greedy:!0,alias:"comment",inside:"jsdoc"},comment:kr(),hashbang:{pattern:/^#!.*/g,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[^]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})*\}|(?!\$\{)[^\\`])*`/g,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\\\)*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},[pn]:ou}},string:/[^]+/}},"string-property":{pattern:/((?:^|[,{])[ ]*)(["'])(?:\\[^]|(?!\2)[^\\\n])*\2(?=\s*:)/mg,lookbehind:!0,greedy:!0,alias:"property"},string:ag(),regex:{pattern:/((?:^|[^$\w\xa0-\uffff"'`.)\]\s]|\b(?:return|yield))\s*)\/(?:(?:\[(?:\\.|[^\\\n\]])*\]|\\.|[^\\\n/[])+\/[dgimyus]{0,7}|(?:\[(?:\\.|[^\\\n[\]]|\[(?:\\.|[^\\\n[\]]|\[(?:\\.|[^\\\n[\]])*\])*\])*\]|\\.|[^\\\n/[])+\/[dgimyus]{0,7}v[dgimyus]{0,7})(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?!\/\*|[^()[\]{}.,:;?`\n%&|^!=<>/*+-]))/g,lookbehind:!0,greedy:!0,inside:{"regex-flags":/\w+$/,"regex-delimiter":/^\/|\/$/,"regex-source":{pattern:/.+/,alias:"language-regex",inside:"regex"}}},"class-name":[{pattern:/(\b(?:class|extends|implements|instanceof|interface|new)\s+)(?!\d)(?:(?!\s)[$\w.\xa0-\uffff])+/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(^|[^$\w\xa0-\uffff]|\s)(?![a-z\d])(?:(?!\s)[$\w\xa0-\uffff])+(?=\.(?:constructor|prototype)\b)/,lookbehind:!0}],"function-variable":{pattern:/#?(?!\d)(?:(?!\s)[$\w\xa0-\uffff])+(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^)]*\))*\)|(?!\d)(?:(?!\s)[$\w\xa0-\uffff])+)\s*=>))/,alias:"function",inside:{"maybe-class-name":/^[A-Z].*/}},parameter:[/(function(?:\s+(?!\d)(?:(?!\s)[$\w\xa0-\uffff])+)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,/(^|[^$\w\xa0-\uffff]|\s)(?!\d)(?:(?!\s)[$\w\xa0-\uffff])+(?=\s*=>)/,/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while|yield|class|const|debugger|delete|enum|extends|function|[gs]et|export|from|import|implements|in|instanceof|interface|let|new|null|of|package|private|protected|public|static|super|this|typeof|undefined|var|void|with)(?![$\w\xa0-\uffff]))(?:(?!\d)(?:(?!\s)[$\w\xa0-\uffff])+\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/].map(t=>({pattern:t,lookbehind:!0,inside:ou})),constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/,keyword:[{pattern:/(^|[^.]|\.{3}\s*)\b(?:as|assert(?=\s*\{)|export|from(?!\s*[^\s"'])|import)\b/,alias:"module",lookbehind:!0},{pattern:/(^|[^.]|\.{3}\s*)\b(?:await|break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow",lookbehind:!0},{pattern:/(^|[^.]|\.{3}\s*)\b(?:async(?!\s*[^\s($\w\xa0-\uffff])|class|const|debugger|delete|enum|extends|function|[gs]et(?!\s*[^\s#[$\w\xa0-\uffff])|implements|in|instanceof|interface|let|new|null|of|package|private|protected|public|static|super|this|typeof|undefined|var|void|with)\b/,lookbehind:!0}],boolean:jt,function:{pattern:/#?(?!\d)(?:(?!\s)[$\w\xa0-\uffff])+(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,inside:{"maybe-class-name":/^[A-Z].*/}},number:{pattern:/(^|[^$\w])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][a-fA-F\d]+(?:_[a-fA-F\d]+)*n?|\d+(?:_\d+)*n|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?)(?![$\w])/,lookbehind:!0},"literal-property":{pattern:/([\n,{][ ]*)(?!\d)(?:(?!\s)[$\w\xa0-\uffff])+(?=\s*:)/,lookbehind:!0,alias:"property"},operator:[{pattern:/=>/,alias:"arrow"},/--|\+\+|(?:\*\*|&&|\|\||[!=]=|>>>?|<<|[%&|^!=<>/*+-]|\?\?)=?|\.{3}|\?(?!\.)|~|:/],"property-access":{pattern:/(\.\s*)#?(?!\d)(?:(?!\s)[$\w\xa0-\uffff])+/,lookbehind:!0,inside:{"maybe-class-name":/^[A-Z].*/}},"maybe-class-name":{pattern:/(^|[^$\w\xa0-\uffff])[A-Z][$\w\xa0-\uffff]+/,lookbehind:!0},punctuation:/\?\.|[()[\]{}.,:;]/});var vO=t=>(e,n)=>{for(var r=rg(t),i="",o=[],a=0,s=Zc(e,n),c=0,l=s.length,m=0;c<l;){var u=s[c++],d=u.length,f=u.type;f&&f.slice(0,6)!="ignore"?(o[a++]=[m,u],i+=" ".repeat(d)):i+=e.slice(m,m+d),m+=d}var h=0,m=0,g=y=>{for(var b=0;h<a&&b<y.length;b++){var v=y[b],D=v.content;if(Array.isArray(D))g(D);else{for(var _=v.length,T=[],S,C,A=0,O=m;([S,C]=o[h],S>=m&&S<m+_)&&(O<S&&(T[A++]=i.slice(O,S)),O=S+C.length,T[A++]=C,++h!=a););m+=_,A&&(O<m&&(T[A++]=i.slice(O,m)),D?v.content=T:(y.splice(b,1,...T),b+=A-1))}}},p=r?ig(i,r):[i];return g(p),p},W_=Te.js,sg=W_["template-string"],xO=sg.pattern.source,DO=sg.inside.interpolation.pattern,Ti=(t,e)=>({pattern:RegExp("((?:"+e+")\\s*)"+xO,"g"),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},["language-"+t]:{pattern:/[^]+/,inside:{interpolation:{pattern:DO,lookbehind:!0,alias:"language-javascript",inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},[pn]:"js"}},[Yr]:vO(t)}}}});W_["template-string"]=[Ti("css","\\b(?:styled(?:\\([^)]*\\))?(?:\\s*\\.\\s*\\w+(?:\\([^)]*\\))*)*|css(?:\\s*\\.\\s*(?:global|resolve))?|createGlobalStyle|keyframes)"),Ti("html","\\bhtml|\\.\\s*(?:inner|outer)HTML\\s*\\+?="),Ti("svg","\\bsvg"),Ti("markdown","\\b(?:markdown|md)"),Ti("graphql","\\b(?:gql|graphql(?:\\s*\\.\\s*experimental)?)"),Ti("sql","\\bsql"),sg];var ds="\\s|//.*(?!.)|/\\*(?:[^*]|\\*(?!/))*\\*/",Xh="\\{(?:[^{}]|\\{(?:[^{}]|\\{[^}]*\\})*\\})*\\}",y1=Dt("\\{<0>*\\.{3}(?:[^{}]|<1>)*\\}",[ds,Xh]),b1=t=>t&&(!t.type||t.type=="plain-text"),_O=(t,e,n)=>{for(var r=0,i=[],o=0;r<t.length;r++){var a=t[r],s=a.length,c=a.type,l=!c,u,d,f,h,m;c&&(m=a.content,c=="tag"?(f=m[0].length,d=m[2]?e.substr(n+f,m[1].length):"",f>1?o&&i[o-1][0]==d&&o--:m[m.length-1].length<2&&(i[o++]=[d,0])):o&&c=="punctuation"?(u=i[o-1],m=="{"?u[1]++:u[1]&&m=="}"?u[1]--:l=!"}()[]".includes(m)):l=!0),l&&o&&!i[o-1][1]&&(f=n,b1(t[r+1])&&(s+=t[r+1].length,t.splice(r+1,1)),b1(t[r-1])&&(f-=t[--r].length,t.splice(r,1)),h=e.slice(f,n+s),t[r]=new Ii("plain-text",h,h)),n+=s}return t},P_=(t,e)=>{Qe(Te[e]=t=og(t),"regex",{tag:{pattern:We(`</?(?:(?!\\d)[^\\s/=><%]+(?:<0>(?:<0>*(?:[^\\s<>/={*]+(?:<0>*=<0>*(?!\\s)(?:"[^"]*"|'[^']*'|<1>)?|(?=[\\s/>]))|<2>))+)?<0>*/?)?>`,[ds,Xh,y1],"g"),greedy:!0,inside:{punctuation:/^<\/?|\/?>$/,tag:{pattern:/^[^\s/]+/,inside:{namespace:/^[^:]+:/,"class-name":/^[A-Z]\w*(?:\.[A-Z]\w*)*$/}},script:{pattern:We("(=<0>*)<1>",[ds,Xh]),lookbehind:!0,alias:e="language-"+e,inside:t},spread:{pattern:RegExp(y1),alias:e,inside:t},"attr-value":{pattern:We(`(=<0>*)(?:"[^"]*"|'[^']*')`,[ds]),lookbehind:!0,inside:{punctuation:/^["']|["']$/}},comment:t.comment,"attr-equals":/=/,"attr-name":{pattern:/\S+/,inside:{namespace:/^[^:]+:/}}}}}),t[Yr]=(n,r)=>_O(Zc(n,r),n,0)};P_(Te.js,"jsx");Te.lua={comment:/^#!.+|--(?:\[(=*)\[[^]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\n]|\\z\s|\\[^z])*\1|\[(=*)\[[^]*?\]\2\]/g,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|true|f?or|function|goto|if|in|local|nil|not|repeat|return|then|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:{pattern:/[%&|^#*+-]|\/\/?|<[<=]?|>[>=]?|[=~]=?|(^|[^.])\.\.(?!\.)/,lookbehind:!0},punctuation:/[()[\]{},;]|\.+|:+/};var Oa="(?:\\((?:\\\\[\\s\\S]|[^\\\\()])*\\)|\\{(?:\\\\[\\s\\S]|[^\\\\{}])*\\}|\\[(?:\\\\[\\s\\S]|[^\\\\[\\]])*\\]|<(?:\\\\[\\s\\S]|[^\\\\<>])*>)",v1="(?![a-zA-Zd])\\s*(?:([^a-zA-Zd\\s{([<])(?:\\\\[^]|(?!\\1)[^\\\\])*\\1|([a-zA-Zd])(?:\\\\[^]|(?!\\2)[^\\\\])*\\2";Te.perl={comment:[{pattern:/(^\s*)=\w[^]*?=cut.*/mg,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/g,lookbehind:!0,greedy:!0}],string:{pattern:RegExp(`\\bq[qwx]?${v1}|${Oa})|("|\`)(?:\\\\[^]|(?!\\3)[^\\\\])*\\3|'(?:\\\\.|[^\\\\
19
+ '])*'`,"g"),greedy:!0},regex:[{pattern:RegExp(`\\b(?:m|qr)${v1}|${Oa})[msixpodualngc]*`,"g"),greedy:!0},{pattern:RegExp(`(^|[^-])\\b(?:s|tr|y)(?![a-zA-Zd])\\s*(?:([^a-zA-Zd\\s{([<])(?:\\\\[^]|(?!\\2)[^\\\\])*\\2(?:\\\\[^]|(?!\\2)[^\\\\])*\\2|([a-zA-Zd])(?:\\\\[^]|(?!\\3)[^\\\\])*\\3(?:\\\\[^]|(?!\\3)[^\\\\])*\\3|${Oa}\\s*${Oa})[msixpodualngcer]*`,"g"),lookbehind:!0,greedy:!0},{pattern:/\/(?:\\.|[^\\\n/])*\/[msixpodualngc]*(?=\s*(?:$|[\n,.;})&|*~<>!?^+-]|(?:and|cmp|eq|[gl][et]|ne|not|x|x?or)\b))/g,greedy:!0}],variable:/[&*$@%](?:\{\^[A-Z]+\}|\^[A-Z_]|#?(?=\{)|#?(?:(?:::)*'?(?!\d)[$\w]+(?![$\w]))+(?:::)*|\d+)|(?!%=)[$@%][!"#$%&'*,./:;<=>?@()[\]{}||^_`|~+-]/,filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ ]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[a-fA-F\d](?:_?[a-fA-F\d])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|->|=>|=~|~~|<=>?|!~|--|\+\+|(?:\*\*|\/\/|&&|\|\||<<|>>|[~%&|^!=<>/*+-])=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|[gl][et]|ne|not|x?or)\b/,punctuation:/[()[\]{},:;]/};var x1={"format-spec":{pattern:/(:)[^(){}:]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"}};x1[pn]=Te.py=Te.python={comment:{pattern:/#.*/g,greedy:!0},"string-interpolation":{pattern:/(?:fr?|rf)(?:("""|''')[^]*?\1|(["'])(?:\\[^]|(?!\2)[^\\\n])*\2)/gi,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})*\}/,lookbehind:!0,inside:x1},string:/[^]+/}},"triple-quoted-string":{pattern:/(?:br?|rb?|u)?("""|''')[^]*?\1/gi,greedy:!0,alias:"string"},string:{pattern:/(?:br?|rb?|u)?(["'])(?:\\[^]|(?!\1)[^\\\n])*\1/gi,greedy:!0},function:{pattern:/((?:^|\s)def[ ]+)(?!\d)\w+(?=\s*\()/,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[ ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:"annotation punctuation",inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|de[fl]|elif|else|except|exec|finally|f?or|from|global|i[fns]|import|lambda|match|nonlocal|not|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|ma[px]|memoryview|min|next|object|oct|open|ord|pow|property|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|x?range|zip)\b/,boolean:/\b(?:False|True|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f\d])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/!=|:=|\*\*=?|\/\/=?|<>|>>|<<|[%=<>/*+-]=?|[&|^~]/,punctuation:io};var wO=oo("/\\*(?:[^*/]|\\*(?!/)|/(?!\\*)|<self>)*\\*/",2),D1={pattern:/b?"(?:\\[^]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/g,greedy:!0},_1={"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"}};_1[pn]=Te.rust={comment:{pattern:RegExp("//.*|"+wO,"g"),greedy:!0},string:D1,char:{pattern:/b?'(?:\\(?:x[0-7][a-fA-F\d]|u\{(?:[a-fA-F\d]_*){1,6}\}|.)|[^\\\n '])'/g,greedy:!0},attribute:{pattern:/#!?\[(?:[^[\]"]|"(?:\\[^]|[^\\"])*")*\]/g,greedy:!0,alias:"attr-name",inside:{string:D1}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/g,lookbehind:!0,greedy:!0,inside:_1},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield|bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/,function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[a-fA-F\d](?:_?[a-fA-F\d])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:jt,punctuation:/->|\.\.=|\.{1,3}|::|[()[\]{},:;]/,operator:/&&|\|\||=>|>>=?|<<=?|[%&|^!=<>/*+-]=?|[@?]/};var w1=Te.swift={comment:{pattern:/\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//g,greedy:!0},"string-literal":[{pattern:/(^|[^"#])(?:"(?:\\(?:\((?:[^()]|\([^)]*\))*\)|[^(])|[^\\\n"])*"|"""(?:\\(?:\((?:[^()]|\([^)]*\))*\)|[^(])|[^\\"]|"(?!""))*""")(?!["#])/g,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))+(?=\))/,lookbehind:!0},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=\n)/,string:/[^]+/}},{pattern:/(^|[^"#])(#+)(?:"(?:\\(?:#+\((?:[^()]|\([^)]*\))*\)|[^#])|[^\\\n])*?"|"""(?:\\(?:#+\((?:[^()]|\([^)]*\))*\)|[^#])|[^\\])*?""")\2/g,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))+(?=\))/,lookbehind:!0},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[^]+/}}],directive:{pattern:/#(?:(?:elseif|if)\b(?:[ ]*(?:![ ]*)?(?:\b\w+\b(?:[ ]*\((?:[^()]|\([^)]*\))*\))?|\((?:[^()]|\([^)]*\))*\))(?:[ ]*(?:&&|\|\|))?)+|(?:else|endif)\b)/,alias:"property",inside:{"directive-name":/^#\w+/,boolean:jt,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b(?!\d)\w+(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|[Pp]rotocol|[Ss]elf|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|[gs]et|guard|higherThan|i[fns]|import|indirect|infix|init|inout|internal|isolated|lazy|lef?t|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|public|repeat|required|rethrows|return|right|safe|some|static|struct|subscript|super|switch|throws?|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:jt,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f\d_]+(?:\.[a-f\dp_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[~?%&|^!=<>/*+-]+|\.[.~?%&|^!=<>/*+-]+/,punctuation:/[()[\]{}.,:;\\]/};w1["string-literal"].forEach(t=>{t.inside.interpolation.inside=w1});Te.clike={comment:kr(),string:ag(),"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:jt,function:/\b\w+(?=\()/,number:I_,operator:/[!=]==|[!=<>]=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:io};var Jc=t=>`\\b(?:${t})\\b`,q_="bool|char|decimal|double|dynamic|float|object|s?byte|string|u?int|u?long|u?short|var|void",Yc="class|enum|interface|record|struct",z_="add|alias|and|ascending|async|await|by|descending|from(?!\\s*[^\\s\\w])|[gls]et|global|group|into|init(?=\\s*;)|join|nameof|not|notnull|on|or|orderby|partial|remove|select|unmanaged|value|when|where|with(?=\\s*{)",cg="abstract|as|[bc]ase|break|catch|checked|const|continue|default|delegate|do|else|event|explicit|extern|finally|fixed|for|foreach|goto|i[fns]|implicit|internal|lock|namespace|new|null|operator|out|override|params|private|protected|public|readonly|ref|return|sealed|sizeof|stackalloc|static|switch|this|throw|try|typeof|unchecked|unsafe|using|virtual|volatile|while|yield",$_=Jc(Yc),tc=RegExp(Jc(q_+"|"+Yc+"|"+z_+"|"+cg)),EO=Jc(Yc+"|"+z_+"|"+cg),TO=Jc(q_+"|"+Yc+"|"+cg),nc=oo("<(?:[^<>;=*/%&|^+-]|<self>)*>",2),fs=oo("\\((?:[^()]|<self>)*\\)",2),En="@?\\b(?!\\d)\\w+\\b",rc=Dt("<0>(?:\\s*<1>)?",[En,nc]),oi=Dt("(?!<0>)<1>(?:\\s*\\.\\s*<1>)*",[EO,rc]),lg="\\[\\s*(?:,\\s*)*\\]",SO=Dt("<0>(?:\\s*(?:\\?\\s*)?<1>)*(?:\\s*\\?)?",[oi,lg]),AO=Dt("[^()[\\],;%&|^=<>/*+-]|<0>|<1>|<2>",[nc,fs,lg]),CO=Dt("\\(<0>+(?:,<0>+)+\\)",[AO]),Ni=Dt("(?:<0>|<1>)(?:\\s*(?:\\?\\s*)?<2>)*(?:\\s*\\?)?",[CO,oi,lg]),dn={keyword:tc,punctuation:/[()[\].,:<>?]/},j_=`'(?:\\\\.|[^
20
+ '\\\\]|\\\\[Uux][a-fA-F\\d]{1,8})'`,V_=`"(?:\\\\.|[^\\\\
21
+ "])*"`,UO='@"(?:""|\\\\[\\s\\S]|[^\\\\"])*"(?!")',wr=Te.dotnet=Te.cs=Te.csharp=Ur("clike",{string:[{pattern:We("(^|[^$\\\\])<0>",[UO],"g"),lookbehind:!0,greedy:!0},{pattern:We("(^|[^@$\\\\])<0>",[V_],"g"),lookbehind:!0,greedy:!0}],"class-name":[{pattern:We("(\\busing\\s+static\\s+)<0>(?=\\s*;)",[oi]),lookbehind:!0,inside:dn},{pattern:We("(\\busing\\s+<0>\\s*=\\s*)<1>(?=\\s*;)",[En,Ni]),lookbehind:!0,inside:dn},{pattern:We("(\\busing\\s+)<0>(?=\\s*=)",[En]),lookbehind:!0},{pattern:We("(\\b<0>\\s+)<1>",[$_,rc]),lookbehind:!0,inside:dn},{pattern:We("(\\bcatch\\s*\\(\\s*)<0>",[oi]),lookbehind:!0,inside:dn},{pattern:We("(\\bwhere\\s+)<0>",[En]),lookbehind:!0},{pattern:We("(\\b(?:is(?:\\s+not)?|as)\\s+)<0>",[SO]),lookbehind:!0,inside:dn},{pattern:We("\\b<0>(?=\\s+(?!<1>|with\\s*\\{)<2>(?:\\s*[=,:;{)\\]]|\\s+(?:in|when)\\b))",[Ni,TO,En]),inside:dn}],keyword:tc,number:/(?:\b0(?:x[a-f\d_]*[a-f\d]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[+-]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/[=-]>|([&|+-])\1|~|\?\?=?|>>=?|<<=?|[%&|^!=<>/*+-]=?/,punctuation:/\?\.?|::|[()[\]{}.,:;]/});Qe(wr,"number",{range:{pattern:/\.\./,alias:"operator"}});Qe(wr,"punctuation",{"named-parameter":{pattern:We("([(,]\\s*)<0>(?=\\s*:)",[En]),lookbehind:!0,alias:"punctuation"}});Qe(wr,"class-name",{namespace:{pattern:We("(\\b(?:namespace|using)\\s+)<0>(?:\\s*\\.\\s*<0>)*(?=\\s*[;{])",[En]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:We("(\\b(?:default|sizeof|typeof)\\s*\\(\\s*(?!\\s))(?:[^()\\s]|\\s(?!\\s)|<0>)+(?=\\s*\\))",[fs]),lookbehind:!0,alias:"class-name",inside:dn},"return-type":{pattern:We("<0>(?=\\s+(?:<1>\\s*(?:=>|[({]|\\.\\s*this\\s*\\[)|this\\s*\\[))",[Ni,oi]),alias:"class-name",inside:dn},"constructor-invocation":{pattern:We("(\\bnew\\s+)<0>(?=\\s*[[({])",[Ni]),lookbehind:!0,alias:"class-name",inside:dn},"generic-method":{pattern:We("<0>\\s*<1>(?=\\s*\\()",[En,nc]),inside:{function:We("^<0>",[En]),generic:{pattern:RegExp(nc),alias:"class-name",inside:dn}}},"type-list":{pattern:We("\\b((?:<0>\\s+<1>|record\\s+<1>\\s*<5>|where\\s+<2>)\\s*:\\s*)(?:<3>|<4>|<1>\\s*<5>|<6>)(?:\\s*,\\s*(?:<3>|<4>|<6>))*(?=\\s*(?:where|[{;]|=>|$))",[$_,rc,En,Ni,tc.source,fs,"\\bnew\\s*\\(\\s*\\)"]),lookbehind:!0,inside:{"record-arguments":{pattern:We("(^(?!new\\s*\\()<0>\\s*)<1>",[rc,fs],"g"),lookbehind:!0,greedy:!0,inside:wr},keyword:tc,"class-name":{pattern:RegExp(Ni,"g"),greedy:!0,inside:dn},punctuation:/[(),]/}},preprocessor:{pattern:/(^[ ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var H_=V_+"|"+j_,G_=Dt(`/(?![*/])|//[^
22
+ ]*
23
+ |/\\*(?:[^*]|\\*(?!/))*\\*/|<0>`,[H_]),X_=oo(Dt(`[^()"'/]|<0>|\\(<self>*\\)`,[G_]),2),E1="\\b(?:assembly|event|field|method|module|param|property|return|type)\\b",kO=Dt("<0>(?:\\s*\\(<1>*\\))?",[oi,X_]),ug=`:[^
24
+ }]+`,K_=oo(Dt(`[^()"'/]|<0>|\\(<self>*\\)`,[G_]),2),T1=Dt("\\{(?!\\{)(?:(?![}:])<0>)*<1>?\\}",[K_,ug]),Z_=oo(Dt(`[^()"'/]|/(?!\\*)|/\\*(?:[^*]|\\*(?!/))*\\*/|<0>|\\(<self>*\\)`,[H_]),2),S1=Dt("\\{(?!\\{)(?:(?![}:])<0>)*<1>?\\}",[Z_,ug]),A1=(t,e)=>({interpolation:{pattern:We("((?:^|[^{])(?:\\{\\{)*)<0>",[t]),lookbehind:!0,inside:{"format-string":{pattern:We("(^\\{(?:(?![}:])<0>)*)<1>(?=\\}$)",[e,ug]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[^]+/,alias:"language-csharp",inside:wr}}},string:/[^]+/});Qe(wr,"class-name",{attribute:{pattern:We("((?:^|[^\\s\\w>)?])\\s*\\[\\s*)(?:<0>\\s*:\\s*)?<1>(?:\\s*,\\s*<1>)*(?=\\s*\\])",[E1,kO],"g"),lookbehind:!0,greedy:!0,inside:{target:{pattern:We("^<0>(?=\\s*:)",[E1]),alias:"keyword"},"attribute-arguments":{pattern:We("\\(<0>*\\)",[X_]),inside:wr},"class-name":{pattern:RegExp(oi),inside:{punctuation:/\./}},punctuation:/[,:]/}}});Qe(wr,"string",{"interpolation-string":[{pattern:We('(^|[^\\\\])(?:\\$@|@\\$)"(?:""|\\\\[\\s\\S]|\\{\\{|<0>|[^\\\\{"])*"',[T1],"g"),lookbehind:!0,greedy:!0,inside:A1(T1,K_)},{pattern:We('(^|[^@\\\\])\\$"(?:\\\\.|\\{\\{|<0>|[^\\\\"{])*"',[S1],"g"),lookbehind:!0,greedy:!0,inside:A1(S1,Z_)}],char:{pattern:RegExp(j_,"g"),greedy:!0}});Te.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|"(?!""))*"""|"(?:\\.|[^\\\n"])*")(?=\s*[a-z_])/gi,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/("(?!")|""")[^]+(?=\1)/,lookbehind:!0,inside:"md"}}},string:{pattern:/"""[^]*?"""|"(?:\\.|[^\\\n"])*"/g,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:jt,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\\n"])*")*\))?:)/gi,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))(?!\d)\w+/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)(?!\d)\w+/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)(?!\d)\w+/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[&|!=]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[()[\]{},:!=]/,property:/\w+/,[Yr](t,e){for(var n=Zc(t,e),r=n.filter(({type:g})=>g&&g!="comment"&&g!="scalar"),i=r.length,o=0,a=g=>{for(var p=0;p<g.length;p++)if(o+p==i||r[o+p].type!=g[p])return!0},s=(g,p)=>{for(var y=1,b=o;b<i;b++){var v=r[b],D=v.content;if(v.type=="punctuation"){if(g==D)y++;else if(p==D&&!--y)return b}}};o<i;){var c=r[o++];if(c.type=="keyword"&&c.content=="mutation"){var l=[];if(!a(["definition-mutation","punctuation"])&&r[o+1].content=="("){o+=2;var u=s("(",")");if(!u)continue;for(;o<u;o++){var d=r[o];d.type=="variable"&&(d.alias="variable-input",l.push(d.content))}o=u+1}if(!a(["punctuation","property-query"])&&r[o].content=="{"&&(r[++o].alias="property-mutation",l[0])){var f=s("{","}");if(f)for(var h=o;h<f;h++){var m=r[h];m.type=="variable"&&l.indexOf(m.content)>=0&&(m.alias="variable-input")}}}}return n}};Te.webmanifest=Te.json={property:{pattern:/"(?:\\.|[^\\\n"])*"(?=\s*:)/g,greedy:!0},string:{pattern:/"(?:\\.|[^\\\n"])*"/g,greedy:!0},comment:kr(),number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/:/,punctuation:/[[\]{},]/,boolean:jt,null:{pattern:/\bnull\b/,alias:"keyword"}};Te.makefile={comment:/#(?:\\[^]|[^\\\n])*/,string:ag(),"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ ]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|override|private|s?include|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ ])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/};var dg=Te.scss=Ur("css",{comment:kr(),atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/,[pn]:"scss"}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?!\s)[^@;(){}]?(?:[^@;(){}\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}});Qe(dg,"atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]});Qe(dg,"important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/});Qe(dg,"function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:jt,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[%/*+-]|[!=]=|[<>]=?|and|not|or)(?!\S)/,lookbehind:!0}});var J_={pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\d)(?:(?!\s)[$\w\xa0-\uffff])+(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/g,lookbehind:!0,greedy:!0},ao=Te.ts=Te.typescript=Ur("js",{"class-name":J_});Qe(ao,"operator",{builtin:/\b(?:Array|Function|Promise|any|boolean|never|number|string|symbol|unknown)\b/});ao.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b|\b(?:asserts|infer|interface|module|namespace|type)\b(?!\s*[^\s{_$a-zA-Z\xa0-\uffff])|\btype(?=\s*\*)/);delete ao.parameter;delete ao["literal-property"];var fg=J_.inside=Object.assign({},ao);delete fg["class-name"];delete fg["maybe-class-name"];Qe(ao,"function",{decorator:{pattern:/@[$\w\xa0-\uffff]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/.+/}},"generic-function":{pattern:/#?(?!\d)(?:(?!\s)[$\w\xa0-\uffff])+\s*<(?:[^<>=]|=[^<]|=?<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/g,greedy:!0,inside:{generic:{pattern:/<[^]+/,alias:"class-name",inside:fg},function:/\S+/}}});P_(Te.ts,"tsx");var Kh=Te.tsx.tag,Y_="(?:^|(";try{RegExp("(?<=)"),Y_+="?<="}catch{Kh.lookbehind=!0}Kh.pattern=RegExp(Y_+`[^\\w$])|(?=</))${Kh.pattern.source}`,"g");var Zh=/[*&][^\s[\]{},]+/,Jh=/!(?:<[\w%#;/?:@&=$,.!~*'()[\]+-]+>|(?:[a-zA-Z\d-]*!)?[\w%#;/?:@&=$.~*'()+-]+)?/,Yh=`(?:${Jh.source}(?:[ ]+${Zh.source})?|${Zh.source}(?:[ ]+${Jh.source})?)`,OO=Dt("(?:[^\\s\0-\\x08\\x0e-\\x1f!\"#%&'*,:>?@[\\]{}`|\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff-]|[?:-]<0>)(?:[ ]*(?:(?![#:])<0>|:<0>))*",["[^\\s\0-\\x08\\x0e-\\x1f,[\\]{}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]"]),C1=`"(?:\\\\.|[^\\\\
25
+ "])*"|'(?:\\\\.|[^\\\\
26
+ '])*'`,yo=(t,e)=>We(`([:,[{-]\\s*(?:\\s<0>[ ]+)?)<1>(?=[ ]*(?:$|,|\\]|\\}|(?:
27
+ \\s*)?#))`,[Yh,t],e);Te.yml=Te.yaml={scalar:{pattern:We(`([:-]\\s*(?:\\s<0>[ ]+)?[|>])[ ]*(?:(
28
+ [ ]+)\\S.*(?:\\2.+)*)`,[Yh]),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:We(`((?:^|[:,[{
29
+ ?-])[ ]*(?:<0>[ ]+)?)<1>(?=\\s*:\\s)`,[Yh,"(?:"+OO+"|"+C1+")"],"g"),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ ]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:yo("\\d{4}-\\d\\d?-\\d\\d?(?:[tT]|[ ]+)\\d\\d?:\\d\\d:\\d\\d(?:\\.\\d*)?(?:[ ]*(?:Z|[+-]\\d\\d?(?::\\d\\d)?))?|\\d{4}-\\d\\d-\\d\\d|\\d\\d?:\\d\\d(?::\\d\\d(?:\\.\\d*)?)?","m"),lookbehind:!0,alias:"number"},boolean:{pattern:yo("false|true","im"),lookbehind:!0,alias:"important"},null:{pattern:yo("null|~","im"),lookbehind:!0,alias:"important"},string:{pattern:yo(C1,"mg"),lookbehind:!0,greedy:!0},number:{pattern:yo("[+-]?(?:0x[a-f\\d]+|0o[0-7]+|(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?|\\.inf|\\.nan)","im"),lookbehind:!0},tag:Jh,important:Zh,punctuation:/---|[:[\]{},|>?-]|\.{3}/};var U1={pattern:/\\[\\()[\]{}^$+*?|.]/,alias:"escape"},hs=/\\(?:x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|u\{[a-fA-F\d]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,RO={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},FO={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},k1="(?:[^\\\\-]|"+hs.source+")",IO=RegExp(k1+"-"+k1),O1={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};Te.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:\\[^]|[^\\\]])*\]/,lookbehind:!0,inside:{"char-class-punctuation":{pattern:/^.|.$/g,greedy:!0,alias:"punctuation"},"char-class-negation":{pattern:/^\^/,alias:"operator"},range:{pattern:IO,inside:{escape:hs,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":U1,"char-set":FO,escape:hs}},"special-escape":U1,"char-set":RO,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":O1}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:hs,group:[{pattern:/(\()\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[!=]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?)/,lookbehind:!0,inside:{"group-name":O1}},{pattern:/[()]/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}};const NO=(t,e,...n)=>{var G;let r,i,o=[],a,s="",c,l=!1,u=!1,d=!0,f=[],h,m=0;const g=MO(),p=g.firstChild,y=p.children,b=y[0],v=b.firstChild,D={language:"text",value:s},_=new Set(n),T={},S=B=>{if(Object.assign(D,B),s=B.value??s,r=D.language,!Te[r])throw Error(`Language '${r}' has no grammar.`);h=!!D.readOnly,g.style.tabSize=D.tabSize||2,v.inputMode=h?"none":"",v.setAttribute("aria-readonly",h),O(),A(),(i!=(i=Te[r])||s!=v.value)&&(x(),v.value=s,v.selectionEnd=0,C())},C=()=>{f=ig(s=v.value,i),z("tokenize",f,r,s);let B=U_(f).split(`
30
+ `),V=0,L=m,I=m=B.length;for(;B[V]==o[V]&&V<I;)++V;for(;I&&B[--I]==o[--L];);if(V==I&&V==L)y[V+1].innerHTML=B[V]+`
31
+ `;else{let ne=L<V?L:V-1,H=ne,Z="";for(;H<I;)Z+=`<div class=pce-line aria-hidden=true>${B[++H]}
32
+ </div>`;for(H=I<V?I:V-1;H<L;H++)y[V+1].remove();for(Z&&y[ne+1].insertAdjacentHTML("afterend",Z),H=ne+1;H<m;)y[++H].setAttribute("data-line",H);g.style.setProperty("--number-width",Math.ceil(Math.log10(m+1))+".001ch")}z("update",s),R(!0),d&&setTimeout(setTimeout,0,()=>d=!0),o=B,d=!1},A=B=>{(B||_).forEach(V=>{typeof V=="object"?(V.update(F,D),B&&_.add(V)):(V(F,D),B||_.delete(V))})},O=([B,V]=P())=>{g.className=`prism-code-editor language-${r}${D.lineNumbers==!1?"":" show-line-numbers"} pce-${D.wordWrap?"":"no"}wrap${D.rtl?" pce-rtl":""} pce-${B<V?"has":"no"}-selection${u?" pce-focus":""}${h?" pce-readonly":""}`},P=()=>[v.selectionStart,v.selectionEnd,v.selectionDirection],E={Escape(){v.blur()}},k={},x=()=>ps&&!u&&Tt(F,"focus",B=>{let V=B.relatedTarget;V?V.focus():v.blur()},{once:!0}),z=(B,...V)=>{var L,I;(L=T[B])==null||L.forEach(ne=>ne.apply(F,V)),(I=D["on"+B[0].toUpperCase()+B.slice(1)])==null||I.apply(F,V)},R=B=>{if(B||d){const V=P(),L=y[c=ew(s,0,V[V[2]<"f"?0:1])];L!=a&&(a==null||a.classList.remove("active-line"),L.classList.add("active-line"),a=L),O(V),z("selectionChange",V,s)}},F={scrollContainer:g,wrapper:p,overlays:b,textarea:v,get activeLine(){return a},get activeLineNumber(){return c},get value(){return s},options:D,get focused(){return u},get removed(){return l},get tokens(){return f},inputCommandMap:k,keyCommandMap:E,extensions:{},setOptions:S,update:C,getSelection:P,setSelection(B,V=B,L){x(),v.setSelectionRange(B,V,L),R(!0)},addExtensions(...B){A(B)},addListener(B,V){(T[B]||(T[B]=new Set)).add(V)},removeListener(B,V){var L;(L=T[B])==null||L.delete(V)},remove(){g.remove(),l=!0}};return Tt(F,"keydown",B=>{var V;(V=E[B.key])!=null&&V.call(E,B,P(),s)&&Et(B)}),Tt(F,"beforeinput",B=>{var V;(h||B.inputType=="insertText"&&((V=k[B.data])!=null&&V.call(k,B,P(),s)))&&Et(B)}),Tt(F,"input",C),Tt(F,"blur",()=>{zo=null,u=!1,O()}),Tt(F,"focus",()=>{zo=R,u=!0,O()}),Tt(F,"selectionchange",B=>{R(),Et(B)}),(G=BO(t))==null||G.append(g),e&&S(e),F},R1=document.createElement("div"),Qc=t=>{R1.innerHTML=t;const e=R1.firstChild;return()=>e.cloneNode(!0)},Tt=(t,e,n,r)=>t.textarea.addEventListener(e,n,r),BO=t=>typeof t=="string"?document.querySelector(t):t,Q_=navigator.userAgent,ic=/Mac|iPhone|iPod|iPad/i.test(navigator.platform),oc=/Chrome\//.test(Q_),ps=!oc&&/AppleWebKit\//.test(Q_),ew=(t,e=0,n=1/0)=>{let r=1;for(;(e=t.indexOf(`
33
+ `,e)+1)&&e<=n;r++);return r},au={},MO=Qc("<div><div class=pce-wrapper><div class=pce-overlays><textarea spellcheck=false autocapitalize=off autocomplete=off>"),Et=t=>{t.preventDefault(),t.stopImmediatePropagation()};let zo;document.addEventListener("selectionchange",()=>zo==null?void 0:zo());const LO=(t,e,n=0)=>{const r=t.scrollContainer.style,i=document.documentElement.style;r.scrollPaddingBlock=i.scrollPaddingBlock=`${n}px ${oc&&!e.textContent?e.offsetHeight:0}px`,e.scrollIntoView({block:"nearest"}),r.scrollPaddingBlock=i.scrollPaddingBlock=""},ac=(t,e)=>e?t.lastIndexOf(`
34
+ `,e-1)+1:0,el=(t,e)=>(e=t.indexOf(`
35
+ `,e))+1?e:t.length,WO=(t,e,n)=>(t.addListener(e,n),()=>t.removeListener(e,n)),PO=(t,e)=>parseFloat(getComputedStyle(t)[e]);let Bi;const bo=t=>t.replace(/[$+?|.^*()[\]{}\\]/g,"\\$&"),Qh=(t,e)=>t.slice(ac(t,e),e),nr=(t,e,n=e)=>[t.slice(e=ac(t,e),n=el(t,n)).split(`
36
+ `),e,n],sc=(t,e,n=0,r=n,i=t.getSelection()[0])=>{var u;const o=t.value,a=t.wrapper.children[ew(o,0,i)],s=document.createTreeWalker(a,5);let c=s.lastChild(),l=el(o,i)+1-i-c.length;for(;-l<=r&&(c=s.previousNode());)if(!c.lastChild&&(l-=c.length||0,l<=n)){for(;c!=a;c=c.parentNode)if((u=c.matches)!=null&&u.call(c,e))return c}},su=(t,e)=>{var n;return((n=sc(t,'[class*="language-"]',0,0,e))==null?void 0:n.className.match(/language-(\S*)/)[1])||t.options.language},Rt=(t,e,n,r,i,o)=>{if(t.options.readOnly)return;Bi=t.getSelection(),r??(r=n);let a=t.textarea,s=t.value,c=oc&&!s[r??Bi[1]]&&/\n$/.test(e)&&/^$|\n$/.test(s),l;t.focused||a.focus(),n!=null&&a.setSelectionRange(n,r),i!=null&&(l=WO(t,"update",()=>{a.setSelectionRange(i,o??i,Bi[2]),l()})),ps||a.dispatchEvent(new InputEvent("beforeinput",{data:e})),oc||ps?(c&&(a.selectionEnd--,e=e.slice(0,-1)),ps&&(e+=`
37
+ `),document.execCommand(e?"insertHTML":"delete",!1,e.replace(/&/g,"&amp;").replace(/</g,"&lt;")),c&&a.selectionStart++):document.execCommand(e?"insertText":"delete",!1,e),Bi=0},Bo=t=>t.altKey+t.ctrlKey*2+t.metaKey*4+t.shiftKey*8;let ep=!1;const F1=navigator.clipboard,Hr=ic?4:2,qO=t=>ep=t,Mr=t=>t.search(/\S|$/),zO=(t=['""',"''","``","()","[]","{}"],e=/([^$\w'"`]["'`]|.[[({])[.,:;\])}>\s]|.[[({]`/s)=>(n,r)=>{let i;const{keyCommandMap:o,inputCommandMap:a,getSelection:s,scrollContainer:c}=n,l=({insertSpaces:g=!0,tabSize:p}=r)=>[g?" ":" ",g?p||2:1],u=()=>{var g;return!r.readOnly&&!((g=n.extensions.cursor)!=null&&g.scrollIntoView())},d=([g,p],[y,b],v,D)=>(g<p||!D&&e.test((v[p-1]||" ")+y+(v[p]||" ")))&&!Rt(n,y+v.slice(g,p)+b,null,null,g+1,p+1),f=([g,p],y,b)=>g==p&&b[p]==y&&!n.setSelection(g+1),h=(g,p,y,b,v,D)=>{let _=p.join(`
38
+ `);if(_!=g.join(`
39
+ `)){const T=g.length-1,S=p[T],C=g[T],A=C.length-S.length,O=p[0].length-g[0].length,P=y+Mr((O<0?p:g)[0]),E=b-C.length+Mr(A>0?S:C),k=y-b+_.length+A,x=P>v?v:Math.max(P,v+O),z=D+y-b+_.length;Rt(n,_,y,b,x,D<E?z+A:Math.max(E+k,z))}},m=(g,p,y,b,v,D,_,T)=>{h(p,p.map(g?S=>S.slice(Mr(S)?T-Mr(S)%T:0):S=>S&&_.repeat(T-Mr(S)%T)+S),y,b,v,D)};a["<"]=(g,p,y)=>d(p,"<>",y,!0),t.forEach(([g,p])=>{const y=g==p;a[g]=(b,v,D)=>(y&&f(v,p,D)||d(v,g+p,D))&&u(),y||(a[p]=(b,v,D)=>f(v,p,D)&&u())}),a[">"]=(g,p,y)=>{var v,D;const b=(D=(v=au[su(n)])==null?void 0:v.autoCloseTags)==null?void 0:D.call(v,p,y,n);b&&(Rt(n,">"+b,null,null,p[0]+1),Et(g))},o.Tab=(g,[p,y],b)=>{if(ep||r.readOnly||Bo(g)&6)return;const[v,D]=l(r),_=g.shiftKey,[T,S,C]=nr(b,p,y);return p<y||_?m(_,T,S,C,p,y,v,D):Rt(n,v.repeat(D-(p-S)%D)),u()},o.Enter=(g,p,y)=>{var v,D,_;const b=Bo(g)&7;if(!b||b==Hr){b&&(p[0]=p[1]=nr(y,p[1])[2]);const[T,S]=l(),[C,A]=p,O=(v=au[su(n)])==null?void 0:v.autoIndent,P=Math.floor(Mr(Qh(y,C))/S)*S,E=(D=O==null?void 0:O[0])!=null&&D.call(O,p,y,n)?S:0,k=(_=O==null?void 0:O[1])==null?void 0:_.call(O,p,y,n),x=`
40
+ `+T.repeat(P+E)+(k?`
41
+ `+T.repeat(P):"");if(x[1]||y[A])return Rt(n,x,C,A,C+P+E+1),u()}},o.Backspace=(g,[p,y],b)=>{if(p==y){const v=Qh(b,p),D=r.tabSize||2,_=t.includes(b.slice(p-1,p+1)),T=/[^ ]/.test(v)?0:(v.length-1)%D+1;if(_||T>1)return Rt(n,"",p-(_?1:T),p+_),u()}};for(let g=0;g<2;g++)o[g?"ArrowDown":"ArrowUp"]=(p,[y,b],v)=>{const D=Bo(p);if(D==1){const _=g?y:ac(v,y)-1,T=g?v.indexOf(`
42
+ `,b)+1:b;if(_>-1&&T>0){const[S,C,A]=nr(v,_,T),O=S[g?"pop":"shift"](),P=(O.length+1)*(g?1:-1);S[g?"unshift":"push"](O),Rt(n,S.join(`
43
+ `),C,A,y+P,b+P)}return u()}else if(D==9){const[_,T,S]=nr(v,y,b),C=_.join(`
44
+ `),A=g?C.length+1:0;return Rt(n,C+`
45
+ `+C,T,S,y+A,b+A),u()}else if(D==2&&!ic)return c.scrollBy(0,PO(c,"lineHeight")*(g?1:-1)),!0};Tt(n,"keydown",g=>{var _;const p=Bo(g),y=g.keyCode,[b,v,D]=s();if(p==Hr&&(y==221||y==219))m(y==219,...nr(n.value,b,v),b,v,...l()),u(),Et(g);else if(p==(ic?10:2)&&y==77)qO(!ep),Et(g);else if(y==191&&p==Hr||y==65&&p==9){const T=n.value,S=p==9,C=S?b:ac(T,b),A=au[su(n,C)]||{},{line:O,block:P}=((_=A.getComments)==null?void 0:_.call(A,n,C,T))||A.comments||{},[E,k,x]=nr(T,b,v),z=E.length-1;if(S){if(P){const[R,F]=P,G=T.slice(b,v),B=T.slice(0,b).search(bo(R)+" ?$"),V=RegExp("^ ?"+bo(F)).test(T.slice(v));B+1&&V?Rt(n,G,B,v+ +(T[v]==" ")+F.length,B,B+v-b):Rt(n,`${R} ${G} ${F}`,b,v,b+R.length+1,v+R.length+1),u(),Et(g)}}else if(O){const R=bo(O),F=RegExp(`^\\s*(${R} ?|$)`),G=RegExp(R+" ?"),B=!/\S/.test(T.slice(k,x)),V=E.map(E.every(L=>F.test(L))&&!B?L=>L.replace(G,""):L=>B||/\S/.test(L)?L.replace(/^\s*/,`$&${O} `):L);h(E,V,k,x,b,v),u(),Et(g)}else if(P){const[R,F]=P,G=Mr(E[0]),B=E[0].startsWith(R,G)&&E[z].endsWith(F),V=E.slice();V[0]=E[0].replace(B?RegExp(bo(R)+" ?"):/(?=\S)|$/,B?"":R+" ");let L=V[0].length-E[0].length;V[z]=B?V[z].replace(RegExp(`( ?${bo(F)})?$`),""):V[z]+" "+F;let I=V.join(`
46
+ `),ne=G+k,H=ne>b?b:Math.max(b+L,ne),Z=ne>v-(b!=v)?v:Math.min(Math.max(ne,v+L),k+I.length);Rt(n,I,k,x,H,Math.max(H,Z)),u(),Et(g)}}else if(p==8+Hr&&y==75){const T=n.value,[S,C,A]=nr(T,b,v),O=D>"f"?v-A+S.pop().length:b-C,P=el(T,A+1)-A-1;Rt(n,"",C-!!C,A+!C,C+Math.min(O,P)),u(),Et(g)}}),["copy","cut","paste"].forEach(g=>Tt(n,g,p=>{const[y,b]=s();if(y==b&&F1){const[[v],D,_]=nr(n.value,y,b);g=="paste"?p.clipboardData.getData("text/plain")==i&&(Rt(n,i+`
47
+ `,D,D,y+i.length+1),u(),Et(p)):(F1.writeText(i=v),g=="cut"&&(Rt(n,"",D,_+1),u()),Et(p))}}))},$O=(t=999)=>{let e=0,n,r,i=!1,o,a,s,c,l,u;const d=[],f=g=>{g>=t&&(g--,d.shift()),d.splice(e=g,t,[n.value,u(),u()])},h=g=>{var p;d[g]&&(l.value=d[g][0],l.setSelectionRange(...d[g][g<e?2:1]),n.update(),(p=n.extensions.cursor)==null||p.scrollIntoView(),e=g,r=!1)},m=(g,p)=>{g.extensions.history=m,n=g,u=g.getSelection,l||f(0),l=g.textarea,g.addListener("selectionChange",()=>{r=i,i=!1}),Tt(g,"beforeinput",y=>{let b=y.data,v=y.inputType,D=y.timeStamp;/history/.test(v)?(h(e+(v[7]=="U"?-1:1)),Et(y)):(c=r&&(o==v||D-s<99&&v.slice(-4)=="Drop")&&!Bi&&(b!=" "||a==b))||(d[e][2]=Bi||u()),i=!0,a=b,s=D,o=v}),Tt(g,"input",()=>f(e+!c)),Tt(g,"keydown",y=>{if(!p.readOnly){const b=Bo(y),v=y.keyCode,D=b==Hr&&v==90,_=b==Hr+8&&v==90||!ic&&b==Hr&&v==89;D?(h(e-1),Et(y)):_&&(h(e+1),Et(y))}})};return m.clear=()=>{f(0),r=!1},m.has=g=>e+g in d,m.go=g=>h(e+g),m},jO=Qc("<div style=position:absolute;top:0;opacity:0;padding:inherit> <span><span></span> "),VO=()=>{let t,e=" ",n=" ";const r=jO(),[i,o]=r.childNodes,[a,s]=o.childNodes,c=d=>{let{value:f,activeLine:h}=t,m=d[d[2]<"f"?0:1],g=Qh(f,m),p=f.slice(m,el(f,m));!g&&!p&&(p=" "),e!=g&&(i.data=e=g),n!=p&&(s.data=n=p),r.parentNode!=h&&h.prepend(r)},l=()=>LO(t,a),u=d=>{d.addListener("selectionChange",c),t=d,d.extensions.cursor=u,Tt(d,"input",f=>{/history/.test(f.inputType)&&l()}),d.activeLine&&c(d.getSelection())};return u.getPosition=()=>{const d=a.getBoundingClientRect(),f=t.overlays.getBoundingClientRect();return{top:d.y-f.y,bottom:f.bottom-d.bottom,left:d.x-f.x,right:f.right-d.x,height:d.height}},u.scrollIntoView=l,u.element=a,u},HO=Qc("<div class=guide-indents style=left:var(--padding-left);bottom:auto;right:auto> "),GO=Qc("<div style=width:1px;position:absolute;background:var(--bg-guide-indent)>"),XO=()=>{let t,e=0,n,r=-1,i;const o=[],a=[],s=HO(),c=[],l=h=>{n=[];const m=d(h.split(`
48
+ `)),g=m.length;for(let p=0,y=[],b=m[0];b;p++){const v=(o[p]||(o[p]=GO())).style,[D,_,T]=b,S=a[p];b=m[p+1],D!=(S==null?void 0:S[0])&&(v.top=D+"00%"),_!=(S==null?void 0:S[1])&&(v.height=_+"00%"),T!=(S==null?void 0:S[2])&&(v.left=T*100+"%");const C=y[0]!=D&&(b==null?void 0:b[0])!=D,A=y[0]+y[1]!=D+_&&(b==null?void 0:b[0])+(b==null?void 0:b[1])!=D+_;for(let O=-C,P=_+A;O<P;O++)n[O+D]=p;y=a[p]=m[p]}for(let p=e;p>g;)o[--p].remove();s.append(...o.slice(e,e=g))},u=()=>{const h=n[i.activeLineNumber-1]??-1;h!=r&&(r>-1&&(o[r].className=""),h>-1&&(o[h].className="active")),r=h},d=h=>{const m=h.length,g=[],p=[];for(let y=0,b=-1,v=0,D=0;;v++){const _=v==m,T=_?0:c[v]=f(h[v]);if(T<0)b<0&&(b=v);else{for(let S=T;S<y;S++)g[S][1]=(b<0||S==T&&!_?v:b)-g[S][0];for(let S=y;S<T;)p[D++]=g[S]=[b<0||S>y?v:b,0,S++*t];b=-1,y=T}if(_)break}return c.length=m,p},f=h=>{let m=h.search(/\S/),g=0;if(m<0)return m;for(let p=0;p<m;)g+=h[p++]==" "?t-g%t:1;return Math.ceil(g/t)};return{lines:s.children,indentLevels:c,update(h,m){i||(i=h,h.extensions.indentGuides=this,h.overlays.append(s),h.addListener("update",l),h.addListener("selectionChange",u)),s.style.display=m.wordWrap?"none":"",t!=(t=m.tabSize||2)&&(l(h.value),u())}}},KO=()=>t=>{let e,n,r,i=-1,o=[],a=()=>{n||(n=t.extensions.matchBrackets);let[l,u]=t.getSelection(),d=l==u&&t.focused&&n&&s(u)||-1;if(d!=i){if(c(),d+1){let f=e[r[d]],h=e[d];o=[f,h].map(m=>sc(t,".punctuation",0,-1,m[1])),o[0]!=o[1]&&f[1]+f[3].length==h[1]&&(o[0].textContent+=o[1].textContent,o[1].textContent="",o[1]=o[0]),c(!0)}else o=[];i=d}},s=l=>{var u;({brackets:e,pairs:r}=n);for(let d=0,f;f=e[++d];)if(!f[4]&&f[5]>=l&&((u=e[r[d]])==null?void 0:u[1])<=l)return d},c=l=>o.forEach(u=>u.classList.toggle("active-bracket",!!l));Tt(t,"focus",a),Tt(t,"blur",a),t.addListener("selectionChange",a),t.addListener("update",()=>{c(),i=-1})},ZO=(t=!0,e="([{",n=")]}")=>{let r,i;const o=[],a=d=>{d.extensions.matchBrackets=a,d.addListener("tokenize",l),t&&d.tokens[0]?d.update():l(d.tokens)},s=a.brackets=[],c=a.pairs=[],l=d=>{if(c.length=s.length=i=r=0,u(d,0),t)for(let f=0,h;h=s[f];){let m=h[0].alias;h[0].alias=(m?m+" ":"")+`bracket-${f++in c?"level-"+h[2]%12:"error"}`}},u=(d,f)=>{let h,m=0;for(;h=d[m++];){let g=h.length;if(typeof h!="string"){let p=h.content;if(Array.isArray(p))u(p,f);else if((h.alias||h.type)=="punctuation"){let y=I1(p,e,g-1),b=y||I1(p,n,g-1);if(b){if(s[r]=[h,f,0,p,!!y,f+g],y)o[i++]=[r,y];else for(let v=i;v;){let[D,_]=o[--v];b==_&&(c[c[r]=D]=r,s[r][2]=s[D][2]=i=v,v=0)}r++}}}f+=g}};return a},I1=(t,e,n)=>e.indexOf(t[0])+1||n&&e.indexOf(t[n])+1,JO="xml,rss,atom,jsx,tsx,xquery,actionscript".split(","),YO=/^(?:area|base|w?br|col|embed|hr|img|input|link|meta|source|track)$/i,QO=t=>{let e=[],n,r=[],i,o,a=[],s=(l,u,d)=>{n=d,r.length=e.length=i=o=0,c(l,u,0)},c=(l,u,d)=>{let f=JO.includes(u),h=0,m=l.length;for(;h<m;){const g=l[h++],p=g.content,y=g.length;if(Array.isArray(p))if(g.type=="tag"&&n[d]=="<"){const b=p[0].length,v=p[2]?n.substr(d+b,p[1].length):"",D=p[p.length-1].length<2&&(f||!YO.test(v));if(p[2]&&f&&c(p,u,d),D)if(b>1)for(let _=o;_;)v==a[--_][1]&&(e[e[i]=a[o=_][0]]=i,_=0);else a[o++]=[i,v];r[i++]=[g,d,d+y,v,b>1,D]}else{let b=g.alias||g.type;c(p,b.slice(0,9)=="language-"?b.slice(9):u,d)}d+=y}};return t.addListener("tokenize",s),s(t.tokens,t.options.language,t.value),{tags:r,pairs:e}},eR=(t,e)=>{for(let n=0,r=e.length;n<r;n++)if(e[n][1]<=t&&e[n][2]>=t)return n},tR=()=>t=>{var e;let n,r;const{tags:i,pairs:o}=(e=t.extensions).matchTags||(e.matchTags=QO(t)),a=s=>[n,r].forEach(c=>{c&&c.classList.toggle("active-tagname",!s)});t.addListener("selectionChange",([s,c])=>{let l,u,d;s==c&&t.focused&&(d=eR(s,i),d+1&&(d=o[d],d+1&&(l=sc(t,".tag>.tag"))&&(u=sc(t,".tag>.tag",2,0,i[d][1])))),n!=l&&(a(!0),n=l,r=u,a())})};function nR({updateComputed:t,notifyEffect:e}){let n,r;return{link(l,u){const d=u.depsTail;if(d!==void 0&&d.dep===l)return;const f=d!==void 0?d.nextDep:u.deps;if(f!==void 0&&f.dep===l){u.depsTail=f;return}const h=l.subsTail;if(!(h!==void 0&&h.sub===u&&s(h,u)))return i(l,u,f,d)},propagate(l){let u=32,d=l,f=0;e:do{const h=l.sub,m=h.flags;if(!(m&244)&&(h.flags=m|u|8,!0)||m&16&&!(m&4)&&(h.flags=m&-17|u|8,!0)||!(m&224)&&s(l,h)&&(h.flags=m|16|u|8,h.subs!==void 0)){const g=h.subs;if(g!==void 0){g.nextSub!==void 0?(g.prevSub=d,l=d=g,u=64,++f):(l=g,u=m&2?128:64);continue}m&2&&(r!==void 0?r.depsTail.nextDep=h.deps:n=h,r=h)}else m&(4|u)?!(m&u)&&m&224&&s(l,h)&&(h.flags=m|u):(h.flags=m|u|8,(m&10)===2&&(r!==void 0?r.depsTail.nextDep=h.deps:n=h,r=h));if((l=d.nextSub)!==void 0){d=l,u=f?64:32;continue}for(;f;){--f;const p=d.dep.subs;if(d=p.prevSub,p.prevSub=void 0,(l=d.nextSub)!==void 0){d=l,u=f?64:32;continue e}}break}while(!0)},startTracking(l){l.depsTail=void 0,l.flags=l.flags&-249|4},endTracking(l){const u=l.depsTail;if(u!==void 0){const d=u.nextDep;d!==void 0&&(c(d),u.nextDep=void 0)}else l.deps!==void 0&&(c(l.deps),l.deps=void 0);l.flags&=-5},updateDirtyFlag(l,u){return o(l.deps)?(l.flags=u|32,!0):(l.flags=u&-65,!1)},processComputedUpdate(l,u){if((u&32||(o(l.deps)||(l.flags=u&-65,!1)))&&t(l)){const d=l.subs;d!==void 0&&a(d)}},processPendingInnerEffects(l,u){if(u&128){l.flags=u&-129;let d=l.deps;do{const f=d.dep;"flags"in f&&f.flags&2&&f.flags&224&&e(f),d=d.nextDep}while(d!==void 0)}},processEffectNotifications(){for(;n!==void 0;){const l=n,u=l.depsTail,d=u.nextDep;d!==void 0?(u.nextDep=void 0,n=d.sub):(n=void 0,r=void 0),e(l)||(l.flags&=-9)}}};function i(l,u,d,f){const h={dep:l,sub:u,nextDep:d,prevSub:void 0,nextSub:void 0};if(f===void 0?u.deps=h:f.nextDep=h,l.subs===void 0)l.subs=h;else{const m=l.subsTail;h.prevSub=m,m.nextSub=h}return u.depsTail=h,l.subsTail=h,h}function o(l){let u=0,d;e:do{d=!1;const f=l.dep;if("flags"in f){const h=f.flags;if((h&33)===33){if(t(f)){const m=f.subs;m.nextSub!==void 0&&a(m),d=!0}}else if((h&65)===65){const m=f.subs;m.nextSub!==void 0&&(m.prevSub=l),l=f.deps,++u;continue}}if(!d&&l.nextDep!==void 0){l=l.nextDep;continue}if(u){let h=l.sub;do{--u;const m=h.subs;if(d){if(t(h)){(l=m.prevSub)!==void 0?(m.prevSub=void 0,a(h.subs),h=l.sub):h=m.sub;continue}}else h.flags&=-65;if((l=m.prevSub)!==void 0){if(m.prevSub=void 0,l.nextDep!==void 0){l=l.nextDep;continue e}h=l.sub}else{if((l=m.nextDep)!==void 0)continue e;h=m.sub}d=!1}while(u)}return d}while(!0)}function a(l){do{const u=l.sub,d=u.flags;(d&96)===64&&(u.flags=d|32|8,(d&10)===2&&(r!==void 0?r.depsTail.nextDep=u.deps:n=u,r=u)),l=l.nextSub}while(l!==void 0)}function s(l,u){const d=u.depsTail;if(d!==void 0){let f=u.deps;do{if(f===l)return!0;if(f===d)break;f=f.nextDep}while(f!==void 0)}return!1}function c(l){do{const u=l.dep,d=l.nextDep,f=l.nextSub,h=l.prevSub;if(f!==void 0?f.prevSub=h:u.subsTail=h,h!==void 0?h.nextSub=f:u.subs=f,u.subs===void 0&&"deps"in u){const m=u.flags;m&32||(u.flags=m|32);const g=u.deps;if(g!==void 0){l=g,u.depsTail.nextDep=d,u.deps=void 0,u.depsTail=void 0;continue}}l=d}while(l!==void 0)}}var{link:tw,propagate:rR,updateDirtyFlag:iR,startTracking:hg,endTracking:pg,processEffectNotifications:oR,processComputedUpdate:DM,processPendingInnerEffects:nw}=nR({updateComputed(t){const e=Sn;Sn=t,hg(t);try{const n=t.currentValue,r=t.getter(n);return n!==r?(t.currentValue=r,!0):!1}finally{Sn=e,pg(t)}},notifyEffect(t){return"isScope"in t?lR(t):cR(t)}}),Sn;function aR(t){return uR.bind({currentValue:t,subs:void 0,subsTail:void 0})}function sR(t){const e={fn:t,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:2};return Sn!==void 0&&tw(e,Sn),rw(e),dR.bind(e)}function rw(t){const e=Sn;Sn=t,hg(t);try{t.fn()}finally{Sn=e,pg(t)}}function cR(t){const e=t.flags;return e&32||e&64&&iR(t,e)?rw(t):nw(t,t.flags),!0}function lR(t){return t.flags&128?(nw(t,t.flags),!0):!1}function uR(...t){if(t.length){if(this.currentValue!==(this.currentValue=t[0])){const e=this.subs;e!==void 0&&(rR(e),oR())}}else return Sn!==void 0&&tw(this,Sn),this.currentValue}function dR(){hg(this),pg(this)}function fR(t){return aR(t)}function hR(t){return[$e.useSyncExternalStore(e=>{let n=sR(()=>{t(),e()});return()=>n()},()=>t(),()=>t()),e=>{t(typeof e=="function"?e(t()):e)}]}const N1=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,B1=Tn,pR=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return B1(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=e,a=Object.keys(i).map(l=>{const u=n==null?void 0:n[l],d=o==null?void 0:o[l];if(u===null)return null;const f=N1(u)||N1(d);return i[l][f]}),s=n&&Object.entries(n).reduce((l,u)=>{let[d,f]=u;return f===void 0||(l[d]=f),l},{}),c=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((l,u)=>{let{class:d,className:f,...h}=u;return Object.entries(h).every(m=>{let[g,p]=m;return Array.isArray(p)?p.includes({...o,...s}[g]):{...o,...s}[g]===p})?[...l,d,f]:l},[]);return B1(t,a,c,n==null?void 0:n.class,n==null?void 0:n.className)},gR="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",mR="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",Ji=(t,e)=>{for(const n in e)t[n]=e[n];return t},tp="numeric",np="ascii",rp="alpha",$o="asciinumeric",Mo="alphanumeric",ip="domain",iw="emoji",yR="scheme",bR="slashscheme",cu="whitespace";function vR(t,e){return t in e||(e[t]=[]),e[t]}function Gr(t,e,n){e[tp]&&(e[$o]=!0,e[Mo]=!0),e[np]&&(e[$o]=!0,e[rp]=!0),e[$o]&&(e[Mo]=!0),e[rp]&&(e[Mo]=!0),e[Mo]&&(e[ip]=!0),e[iw]&&(e[ip]=!0);for(const r in e){const i=vR(r,n);i.indexOf(t)<0&&i.push(t)}}function xR(t,e){const n={};for(const r in e)e[r].indexOf(t)>=0&&(n[r]=!0);return n}function It(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}It.groups={};It.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let r=0;r<e.jr.length;r++){const i=e.jr[r][0],o=e.jr[r][1];if(o&&i.test(t))return o}return e.jd},has(t,e=!1){return e?t in this.j:!!this.go(t)},ta(t,e,n,r){for(let i=0;i<t.length;i++)this.tt(t[i],e,n,r)},tr(t,e,n,r){r=r||It.groups;let i;return e&&e.j?i=e:(i=new It(e),n&&r&&Gr(e,n,r)),this.jr.push([t,i]),i},ts(t,e,n,r){let i=this;const o=t.length;if(!o)return i;for(let a=0;a<o-1;a++)i=i.tt(t[a]);return i.tt(t[o-1],e,n,r)},tt(t,e,n,r){r=r||It.groups;const i=this;if(e&&e.j)return i.j[t]=e,e;const o=e;let a,s=i.go(t);if(s?(a=new It,Ji(a.j,s.j),a.jr.push.apply(a.jr,s.jr),a.jd=s.jd,a.t=s.t):a=new It,o){if(r)if(a.t&&typeof a.t=="string"){const c=Ji(xR(a.t,r),n);Gr(o,c,r)}else n&&Gr(o,n,r);a.t=o}return i.j[t]=a,a}};const Ne=(t,e,n,r,i)=>t.ta(e,n,r,i),et=(t,e,n,r,i)=>t.tr(e,n,r,i),M1=(t,e,n,r,i)=>t.ts(e,n,r,i),De=(t,e,n,r,i)=>t.tt(e,n,r,i),Pn="WORD",op="UWORD",ow="ASCIINUMERICAL",aw="ALPHANUMERICAL",aa="LOCALHOST",ap="TLD",sp="UTLD",gs="SCHEME",Ri="SLASH_SCHEME",gg="NUM",cp="WS",mg="NL",jo="OPENBRACE",Vo="CLOSEBRACE",cc="OPENBRACKET",lc="CLOSEBRACKET",uc="OPENPAREN",dc="CLOSEPAREN",fc="OPENANGLEBRACKET",hc="CLOSEANGLEBRACKET",pc="FULLWIDTHLEFTPAREN",gc="FULLWIDTHRIGHTPAREN",mc="LEFTCORNERBRACKET",yc="RIGHTCORNERBRACKET",bc="LEFTWHITECORNERBRACKET",vc="RIGHTWHITECORNERBRACKET",xc="FULLWIDTHLESSTHAN",Dc="FULLWIDTHGREATERTHAN",_c="AMPERSAND",yg="APOSTROPHE",wc="ASTERISK",lr="AT",Ec="BACKSLASH",Tc="BACKTICK",Sc="CARET",fr="COLON",bg="COMMA",Ac="DOLLAR",vn="DOT",Cc="EQUALS",vg="EXCLAMATION",Yt="HYPHEN",Ho="PERCENT",Uc="PIPE",kc="PLUS",Oc="POUND",Go="QUERY",xg="QUOTE",sw="FULLWIDTHMIDDLEDOT",Dg="SEMI",xn="SLASH",Xo="TILDE",Rc="UNDERSCORE",cw="EMOJI",Fc="SYM";var lw=Object.freeze({__proto__:null,WORD:Pn,UWORD:op,ASCIINUMERICAL:ow,ALPHANUMERICAL:aw,LOCALHOST:aa,TLD:ap,UTLD:sp,SCHEME:gs,SLASH_SCHEME:Ri,NUM:gg,WS:cp,NL:mg,OPENBRACE:jo,CLOSEBRACE:Vo,OPENBRACKET:cc,CLOSEBRACKET:lc,OPENPAREN:uc,CLOSEPAREN:dc,OPENANGLEBRACKET:fc,CLOSEANGLEBRACKET:hc,FULLWIDTHLEFTPAREN:pc,FULLWIDTHRIGHTPAREN:gc,LEFTCORNERBRACKET:mc,RIGHTCORNERBRACKET:yc,LEFTWHITECORNERBRACKET:bc,RIGHTWHITECORNERBRACKET:vc,FULLWIDTHLESSTHAN:xc,FULLWIDTHGREATERTHAN:Dc,AMPERSAND:_c,APOSTROPHE:yg,ASTERISK:wc,AT:lr,BACKSLASH:Ec,BACKTICK:Tc,CARET:Sc,COLON:fr,COMMA:bg,DOLLAR:Ac,DOT:vn,EQUALS:Cc,EXCLAMATION:vg,HYPHEN:Yt,PERCENT:Ho,PIPE:Uc,PLUS:kc,POUND:Oc,QUERY:Go,QUOTE:xg,FULLWIDTHMIDDLEDOT:sw,SEMI:Dg,SLASH:xn,TILDE:Xo,UNDERSCORE:Rc,EMOJI:cw,SYM:Fc});const Bn=/[a-z]/,vo=new RegExp("\\p{L}","u"),lu=new RegExp("\\p{Emoji}","u"),Mn=/\d/,uu=/\s/,L1="\r",du=`
49
+ `,DR="️",_R="‍",fu="";let Ra=null,Fa=null;function wR(t=[]){const e={};It.groups=e;const n=new It;Ra==null&&(Ra=W1(gR)),Fa==null&&(Fa=W1(mR)),De(n,"'",yg),De(n,"{",jo),De(n,"}",Vo),De(n,"[",cc),De(n,"]",lc),De(n,"(",uc),De(n,")",dc),De(n,"<",fc),De(n,">",hc),De(n,"(",pc),De(n,")",gc),De(n,"「",mc),De(n,"」",yc),De(n,"『",bc),De(n,"』",vc),De(n,"<",xc),De(n,">",Dc),De(n,"&",_c),De(n,"*",wc),De(n,"@",lr),De(n,"`",Tc),De(n,"^",Sc),De(n,":",fr),De(n,",",bg),De(n,"$",Ac),De(n,".",vn),De(n,"=",Cc),De(n,"!",vg),De(n,"-",Yt),De(n,"%",Ho),De(n,"|",Uc),De(n,"+",kc),De(n,"#",Oc),De(n,"?",Go),De(n,'"',xg),De(n,"/",xn),De(n,";",Dg),De(n,"~",Xo),De(n,"_",Rc),De(n,"\\",Ec),De(n,"・",sw);const r=et(n,Mn,gg,{[tp]:!0});et(r,Mn,r);const i=et(r,Bn,ow,{[$o]:!0}),o=et(r,vo,aw,{[Mo]:!0}),a=et(n,Bn,Pn,{[np]:!0});et(a,Mn,i),et(a,Bn,a),et(i,Mn,i),et(i,Bn,i);const s=et(n,vo,op,{[rp]:!0});et(s,Bn),et(s,Mn,o),et(s,vo,s),et(o,Mn,o),et(o,Bn),et(o,vo,o);const c=De(n,du,mg,{[cu]:!0}),l=De(n,L1,cp,{[cu]:!0}),u=et(n,uu,cp,{[cu]:!0});De(n,fu,u),De(l,du,c),De(l,fu,u),et(l,uu,u),De(u,L1),De(u,du),et(u,uu,u),De(u,fu,u);const d=et(n,lu,cw,{[iw]:!0});De(d,"#"),et(d,lu,d),De(d,DR,d);const f=De(d,_R);De(f,"#"),et(f,lu,d);const h=[[Bn,a],[Mn,i]],m=[[Bn,null],[vo,s],[Mn,o]];for(let g=0;g<Ra.length;g++)rr(n,Ra[g],ap,Pn,h);for(let g=0;g<Fa.length;g++)rr(n,Fa[g],sp,op,m);Gr(ap,{tld:!0,ascii:!0},e),Gr(sp,{utld:!0,alpha:!0},e),rr(n,"file",gs,Pn,h),rr(n,"mailto",gs,Pn,h),rr(n,"http",Ri,Pn,h),rr(n,"https",Ri,Pn,h),rr(n,"ftp",Ri,Pn,h),rr(n,"ftps",Ri,Pn,h),Gr(gs,{scheme:!0,ascii:!0},e),Gr(Ri,{slashscheme:!0,ascii:!0},e),t=t.sort((g,p)=>g[0]>p[0]?1:-1);for(let g=0;g<t.length;g++){const p=t[g][0],b=t[g][1]?{[yR]:!0}:{[bR]:!0};p.indexOf("-")>=0?b[ip]=!0:Bn.test(p)?Mn.test(p)?b[$o]=!0:b[np]=!0:b[tp]=!0,M1(n,p,p,b)}return M1(n,"localhost",aa,{ascii:!0}),n.jd=new It(Fc),{start:n,tokens:Ji({groups:e},lw)}}function uw(t,e){const n=ER(e.replace(/[A-Z]/g,s=>s.toLowerCase())),r=n.length,i=[];let o=0,a=0;for(;a<r;){let s=t,c=null,l=0,u=null,d=-1,f=-1;for(;a<r&&(c=s.go(n[a]));)s=c,s.accepts()?(d=0,f=0,u=s):d>=0&&(d+=n[a].length,f++),l+=n[a].length,o+=n[a].length,a++;o-=d,a-=f,l-=d,i.push({t:u.t,v:e.slice(o-l,o),s:o-l,e:o})}return i}function ER(t){const e=[],n=t.length;let r=0;for(;r<n;){let i=t.charCodeAt(r),o,a=i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?t[r]:t.slice(r,r+2);e.push(a),r+=a.length}return e}function rr(t,e,n,r,i){let o;const a=e.length;for(let s=0;s<a-1;s++){const c=e[s];t.j[c]?o=t.j[c]:(o=new It(r),o.jr=i.slice(),t.j[c]=o),t=o}return o=new It(n),o.jr=i.slice(),t.j[e[a-1]]=o,o}function W1(t){const e=[],n=[];let r=0,i="0123456789";for(;r<t.length;){let o=0;for(;i.indexOf(t[r+o])>=0;)o++;if(o>0){e.push(n.join(""));for(let a=parseInt(t.substring(r,r+o),10);a>0;a--)n.pop();r+=o}else n.push(t[r]),r++}return e}const sa={defaultProtocol:"http",events:null,format:P1,formatHref:P1,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function _g(t,e=null){let n=Ji({},sa);t&&(n=Ji(n,t instanceof _g?t.o:t));const r=n.ignoreTags,i=[];for(let o=0;o<r.length;o++)i.push(r[o].toUpperCase());this.o=n,e&&(this.defaultRender=e),this.ignoreTags=i}_g.prototype={o:sa,ignoreTags:[],defaultRender(t){return t},check(t){return this.get("validate",t.toString(),t)},get(t,e,n){const r=e!=null;let i=this.o[t];return i&&(typeof i=="object"?(i=n.t in i?i[n.t]:sa[t],typeof i=="function"&&r&&(i=i(e,n))):typeof i=="function"&&r&&(i=i(e,n.t,n)),i)},getObj(t,e,n){let r=this.o[t];return typeof r=="function"&&e!=null&&(r=r(e,n.t,n)),r},render(t){const e=t.render(this);return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}};function P1(t){return t}function dw(t,e){this.t="token",this.v=t,this.tk=e}dw.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const e=this.toString(),n=t.get("truncate",e,this),r=t.get("format",e,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=sa.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),r=t.get("formatHref",n,this),i=t.get("tagName",n,e),o=this.toFormattedString(t),a={},s=t.get("className",n,e),c=t.get("target",n,e),l=t.get("rel",n,e),u=t.getObj("attributes",n,e),d=t.getObj("events",n,e);return a.href=r,s&&(a.class=s),c&&(a.target=c),l&&(a.rel=l),u&&Ji(a,u),{tagName:i,attributes:a,content:o,eventListeners:d}}};function tl(t,e){class n extends dw{constructor(i,o){super(i,o),this.t=t}}for(const r in e)n.prototype[r]=e[r];return n.t=t,n}const q1=tl("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),z1=tl("text"),TR=tl("nl"),Ia=tl("url",{isLink:!0,toHref(t=sa.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==aa&&t[1].t===fr}}),Kt=t=>new It(t);function SR({groups:t}){const e=t.domain.concat([_c,wc,lr,Ec,Tc,Sc,Ac,Cc,Yt,gg,Ho,Uc,kc,Oc,xn,Fc,Xo,Rc]),n=[fr,bg,vn,vg,Ho,Go,xg,Dg,fc,hc,jo,Vo,lc,cc,uc,dc,pc,gc,mc,yc,bc,vc,xc,Dc],r=[_c,yg,wc,Ec,Tc,Sc,Ac,Cc,Yt,jo,Vo,Ho,Uc,kc,Oc,Go,xn,Fc,Xo,Rc],i=Kt(),o=De(i,Xo);Ne(o,r,o),Ne(o,t.domain,o);const a=Kt(),s=Kt(),c=Kt();Ne(i,t.domain,a),Ne(i,t.scheme,s),Ne(i,t.slashscheme,c),Ne(a,r,o),Ne(a,t.domain,a);const l=De(a,lr);De(o,lr,l),De(s,lr,l),De(c,lr,l);const u=De(o,vn);Ne(u,r,o),Ne(u,t.domain,o);const d=Kt();Ne(l,t.domain,d),Ne(d,t.domain,d);const f=De(d,vn);Ne(f,t.domain,d);const h=Kt(q1);Ne(f,t.tld,h),Ne(f,t.utld,h),De(l,aa,h);const m=De(d,Yt);De(m,Yt,m),Ne(m,t.domain,d),Ne(h,t.domain,d),De(h,vn,f),De(h,Yt,m);const g=De(h,fr);Ne(g,t.numeric,q1);const p=De(a,Yt),y=De(a,vn);De(p,Yt,p),Ne(p,t.domain,a),Ne(y,r,o),Ne(y,t.domain,a);const b=Kt(Ia);Ne(y,t.tld,b),Ne(y,t.utld,b),Ne(b,t.domain,a),Ne(b,r,o),De(b,vn,y),De(b,Yt,p),De(b,lr,l);const v=De(b,fr),D=Kt(Ia);Ne(v,t.numeric,D);const _=Kt(Ia),T=Kt();Ne(_,e,_),Ne(_,n,T),Ne(T,e,_),Ne(T,n,T),De(b,xn,_),De(D,xn,_);const S=De(s,fr),C=De(c,fr),A=De(C,xn),O=De(A,xn);Ne(s,t.domain,a),De(s,vn,y),De(s,Yt,p),Ne(c,t.domain,a),De(c,vn,y),De(c,Yt,p),Ne(S,t.domain,_),De(S,xn,_),De(S,Go,_),Ne(O,t.domain,_),Ne(O,e,_),De(O,xn,_);const P=[[jo,Vo],[cc,lc],[uc,dc],[fc,hc],[pc,gc],[mc,yc],[bc,vc],[xc,Dc]];for(let E=0;E<P.length;E++){const[k,x]=P[E],z=De(_,k);De(T,k,z),De(z,x,_);const R=Kt(Ia);Ne(z,e,R);const F=Kt();Ne(z,n),Ne(R,e,R),Ne(R,n,F),Ne(F,e,R),Ne(F,n,F),De(R,x,_),De(F,x,_)}return De(i,aa,b),De(i,mg,TR),{start:i,tokens:lw}}function AR(t,e,n){let r=n.length,i=0,o=[],a=[];for(;i<r;){let s=t,c=null,l=null,u=0,d=null,f=-1;for(;i<r&&!(c=s.go(n[i].t));)a.push(n[i++]);for(;i<r&&(l=c||s.go(n[i].t));)c=null,s=l,s.accepts()?(f=0,d=s):f>=0&&f++,i++,u++;if(f<0)i-=u,i<r&&(a.push(n[i]),i++);else{a.length>0&&(o.push(hu(z1,e,a)),a=[]),i-=f,u-=f;const h=d.t,m=n.slice(i-u,i);o.push(hu(h,e,m))}}return a.length>0&&o.push(hu(z1,e,a)),o}function hu(t,e,n){const r=n[0].s,i=n[n.length-1].e,o=e.slice(r,i);return new t(o,n)}const CR=typeof console<"u"&&console&&console.warn||(()=>{}),UR="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ze={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function kR(){return It.groups={},Ze.scanner=null,Ze.parser=null,Ze.tokenQueue=[],Ze.pluginQueue=[],Ze.customSchemes=[],Ze.initialized=!1,Ze}function OR(t,e=!1){if(Ze.initialized&&CR(`linkifyjs: already initialized - will not register custom scheme "${t}" ${UR}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format.
50
+ 1. Must only contain digits, lowercase ASCII letters or "-"
51
+ 2. Cannot start or end with "-"
52
+ 3. "-" cannot repeat`);Ze.customSchemes.push([t,e])}function RR(){Ze.scanner=wR(Ze.customSchemes);for(let t=0;t<Ze.tokenQueue.length;t++)Ze.tokenQueue[t][1]({scanner:Ze.scanner});Ze.parser=SR(Ze.scanner.tokens);for(let t=0;t<Ze.pluginQueue.length;t++)Ze.pluginQueue[t][1]({scanner:Ze.scanner,parser:Ze.parser});return Ze.initialized=!0,Ze}function wg(t){return Ze.initialized||RR(),AR(Ze.parser.start,t,uw(Ze.scanner.start,t))}wg.scan=uw;function FR(t,e=null,n=null){if(e&&typeof e=="object"){if(n)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);n=e,e=null}const r=new _g(n),i=wg(t),o=[];for(let a=0;a<i.length;a++){const s=i[a];s.isLink&&(!e||s.t===e)&&r.check(s)&&o.push(s.toFormattedObject(r))}return o}var Ic=200,ut=function(){};ut.prototype.append=function(e){return e.length?(e=ut.from(e),!this.length&&e||e.length<Ic&&this.leafAppend(e)||this.length<Ic&&e.leafPrepend(this)||this.appendInner(e)):this};ut.prototype.prepend=function(e){return e.length?ut.from(e).append(this):this};ut.prototype.appendInner=function(e){return new IR(this,e)};ut.prototype.slice=function(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.length),e>=n?ut.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};ut.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};ut.prototype.forEach=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)};ut.prototype.map=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(o,a){return i.push(e(o,a))},n,r),i};ut.from=function(e){return e instanceof ut?e:e&&e.length?new fw(e):ut.empty};var fw=function(t){function e(r){t.call(this),this.values=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(i,o){return i==0&&o==this.length?this:new e(this.values.slice(i,o))},e.prototype.getInner=function(i){return this.values[i]},e.prototype.forEachInner=function(i,o,a,s){for(var c=o;c<a;c++)if(i(this.values[c],s+c)===!1)return!1},e.prototype.forEachInvertedInner=function(i,o,a,s){for(var c=o-1;c>=a;c--)if(i(this.values[c],s+c)===!1)return!1},e.prototype.leafAppend=function(i){if(this.length+i.length<=Ic)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=Ic)return new e(i.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}(ut);ut.empty=new fw([]);var IR=function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return r<this.left.length?this.left.get(r):this.right.get(r-this.left.length)},e.prototype.forEachInner=function(r,i,o,a){var s=this.left.length;if(i<s&&this.left.forEachInner(r,i,Math.min(o,s),a)===!1||o>s&&this.right.forEachInner(r,Math.max(i-s,0),Math.min(this.length,o)-s,a+s)===!1)return!1},e.prototype.forEachInvertedInner=function(r,i,o,a){var s=this.left.length;if(i>s&&this.right.forEachInvertedInner(r,i-s,Math.max(o,s)-s,a+s)===!1||o<s&&this.left.forEachInvertedInner(r,Math.min(i,s),o,a)===!1)return!1},e.prototype.sliceInner=function(r,i){if(r==0&&i==this.length)return this;var o=this.left.length;return i<=o?this.left.slice(r,i):r>=o?this.right.slice(r-o,i-o):this.left.slice(r,o).append(this.right.slice(0,i-o))},e.prototype.leafAppend=function(r){var i=this.right.leafAppend(r);if(i)return new e(this.left,i)},e.prototype.leafPrepend=function(r){var i=this.left.leafPrepend(r);if(i)return new e(i,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e}(ut);const NR=500;class fn{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;n&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=e.tr,s,c,l=[],u=[];return this.items.forEach((d,f)=>{if(!d.step){i||(i=this.remapping(r,f+1),o=i.maps.length),o--,u.push(d);return}if(i){u.push(new Dn(d.map));let h=d.step.map(i.slice(o)),m;h&&a.maybeStep(h).doc&&(m=a.mapping.maps[a.mapping.maps.length-1],l.push(new Dn(m,void 0,void 0,l.length+u.length))),o--,m&&i.appendMap(m,o)}else a.maybeStep(d.step);if(d.selection)return s=i?d.selection.map(i.slice(o)):d.selection,c=new fn(this.items.slice(0,r).append(u.reverse().concat(l)),this.eventCount-1),!1},this.items.length,0),{remaining:c,transform:a,selection:s}}addTransform(e,n,r,i){let o=[],a=this.eventCount,s=this.items,c=!i&&s.length?s.get(s.length-1):null;for(let u=0;u<e.steps.length;u++){let d=e.steps[u].invert(e.docs[u]),f=new Dn(e.mapping.maps[u],d,n),h;(h=c&&c.merge(f))&&(f=h,u?o.pop():s=s.slice(0,s.length-1)),o.push(f),n&&(a++,n=void 0),i||(c=f)}let l=a-r.depth;return l>MR&&(s=BR(s,l),a-=l),new fn(s.append(o),a)}remapping(e,n){let r=new Mi;return this.items.forEach((i,o)=>{let a=i.mirrorOffset!=null&&o-i.mirrorOffset>=e?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},e,n),r}addMaps(e){return this.eventCount==0?this:new fn(this.items.append(e.map(n=>new Dn(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=e.mapping,a=e.steps.length,s=this.eventCount;this.items.forEach(f=>{f.selection&&s--},i);let c=n;this.items.forEach(f=>{let h=o.getMirror(--c);if(h==null)return;a=Math.min(a,h);let m=o.maps[h];if(f.step){let g=e.steps[h].invert(e.docs[h]),p=f.selection&&f.selection.map(o.slice(c+1,h));p&&s++,r.push(new Dn(m,g,p))}else r.push(new Dn(m))},i);let l=[];for(let f=n;f<a;f++)l.push(new Dn(o.maps[f]));let u=this.items.slice(0,i).append(l).append(r),d=new fn(u,s);return d.emptyItemCount()>NR&&(d=d.compress(this.items.length-r.length)),d}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,i=[],o=0;return this.items.forEach((a,s)=>{if(s>=e)i.push(a),a.selection&&o++;else if(a.step){let c=a.step.map(n.slice(r)),l=c&&c.getMap();if(r--,l&&n.appendMap(l,r),c){let u=a.selection&&a.selection.map(n.slice(r));u&&o++;let d=new Dn(l.invert(),c,u),f,h=i.length-1;(f=i.length&&i[h].merge(d))?i[h]=f:i.push(d)}}else a.map&&r--},this.items.length,0),new fn(ut.from(i.reverse()),o)}}fn.empty=new fn(ut.empty,0);function BR(t,e){let n;return t.forEach((r,i)=>{if(r.selection&&e--==0)return n=i,!1}),t.slice(n)}class Dn{constructor(e,n,r,i){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new Dn(n.getMap().invert(),n,this.selection)}}}class ur{constructor(e,n,r,i,o){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const MR=20;function LR(t,e,n,r){let i=n.getMeta(Qr),o;if(i)return i.historyState;n.getMeta(qR)&&(t=new ur(t.done,t.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(a&&a.getMeta(Qr))return a.getMeta(Qr).redo?new ur(t.done.addTransform(n,void 0,r,ms(e)),t.undone,$1(n.mapping.maps),t.prevTime,t.prevComposition):new ur(t.done,t.undone.addTransform(n,void 0,r,ms(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),c=t.prevTime==0||!a&&t.prevComposition!=s&&(t.prevTime<(n.time||0)-r.newGroupDelay||!WR(n,t.prevRanges)),l=a?pu(t.prevRanges,n.mapping):$1(n.mapping.maps);return new ur(t.done.addTransform(n,c?e.selection.getBookmark():void 0,r,ms(e)),fn.empty,l,n.time,s??t.prevComposition)}else return(o=n.getMeta("rebased"))?new ur(t.done.rebased(n,o),t.undone.rebased(n,o),pu(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new ur(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),pu(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function WR(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,i)=>{for(let o=0;o<e.length;o+=2)r<=e[o+1]&&i>=e[o]&&(n=!0)}),n}function $1(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;n--)t[n].forEach((r,i,o,a)=>e.push(o,a));return e}function pu(t,e){if(!t)return null;let n=[];for(let r=0;r<t.length;r+=2){let i=e.map(t[r],1),o=e.map(t[r+1],-1);i<=o&&n.push(i,o)}return n}function PR(t,e,n){let r=ms(e),i=Qr.get(e).spec.config,o=(n?t.undone:t.done).popEvent(e,r);if(!o)return null;let a=o.selection.resolve(o.transform.doc),s=(n?t.done:t.undone).addTransform(o.transform,e.selection.getBookmark(),i,r),c=new ur(n?s:o.remaining,n?o.remaining:s,null,0,-1);return o.transform.setSelection(a).setMeta(Qr,{redo:n,historyState:c})}let gu=!1,j1=null;function ms(t){let e=t.plugins;if(j1!=e){gu=!1,j1=e;for(let n=0;n<e.length;n++)if(e[n].spec.historyPreserveItems){gu=!0;break}}return gu}const Qr=new no("history"),qR=new no("closeHistory");function zR(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new li({key:Qr,state:{init(){return new ur(fn.empty,fn.empty,null,0,-1)},apply(e,n,r){return LR(n,r,e,t)}},config:t,props:{handleDOMEvents:{beforeinput(e,n){let r=n.inputType,i=r=="historyUndo"?pw:r=="historyRedo"?gw:null;return i?(n.preventDefault(),i(e.state,e.dispatch)):!1}}}})}function hw(t,e){return(n,r)=>{let i=Qr.getState(n);if(!i||(t?i.undone:i.done).eventCount==0)return!1;if(r){let o=PR(i,n,t);o&&r(e?o.scrollIntoView():o)}return!0}}const pw=hw(!1,!0),gw=hw(!0,!0);function $R(t={}){return new li({view(e){return new jR(e,t)}})}class jR{constructor(e,n){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let o=a=>{this[i](a)};return e.dom.addEventListener(i,o),{name:i,handler:o}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r;if(n){let s=e.nodeBefore,c=e.nodeAfter;if(s||c){let l=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(l){let u=l.getBoundingClientRect(),d=s?u.bottom:u.top;s&&c&&(d=(d+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:u.left,right:u.right,top:d-this.width/2,bottom:d+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let o,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")o=-pageXOffset,a=-pageYOffset;else{let s=i.getBoundingClientRect();o=s.left-i.scrollLeft,a=s.top-i.scrollTop}this.element.style.left=r.left-o+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,o=typeof i=="function"?i(this.editorView,n,e):i;if(n&&!o){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=Hx(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){(e.target==this.editorView.dom||!this.editorView.dom.contains(e.relatedTarget))&&this.setCursor(null)}}class tt extends Re{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return tt.valid(r)?new tt(r):Re.near(r)}content(){return we.empty}eq(e){return e instanceof tt&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new tt(e.resolve(n.pos))}getBookmark(){return new Eg(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!VR(e)||!HR(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&tt.valid(e))return e;let i=e.pos,o=null;for(let a=e.depth;;a--){let s=e.node(a);if(n>0?e.indexAfter(a)<s.childCount:e.index(a)>0){o=s.child(n>0?e.indexAfter(a):e.index(a)-1);break}else if(a==0)return null;i+=n;let c=e.doc.resolve(i);if(tt.valid(c))return c}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!Ue.isSelectable(o)){e=e.doc.resolve(i+o.nodeSize*n),r=!1;continue e}break}o=a,i+=n;let s=e.doc.resolve(i);if(tt.valid(s))return s}return null}}}tt.prototype.visible=!1;tt.findFrom=tt.findGapCursorFrom;Re.jsonID("gapcursor",tt);class Eg{constructor(e){this.pos=e}map(e){return new Eg(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return tt.valid(n)?new tt(n):Re.near(n)}}function VR(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function HR(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function GR(){return new li({props:{decorations:JR,createSelectionBetween(t,e,n){return e.pos==n.pos&&tt.valid(n)?new tt(n):null},handleClick:KR,handleKeyDown:XR,handleDOMEvents:{beforeinput:ZR}}})}const XR=zp({ArrowLeft:Na("horiz",-1),ArrowRight:Na("horiz",1),ArrowUp:Na("vert",-1),ArrowDown:Na("vert",1)});function Na(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,i,o){let a=r.selection,s=e>0?a.$to:a.$from,c=a.empty;if(a instanceof Be){if(!o.endOfTextblock(n)||s.depth==0)return!1;c=!1,s=r.doc.resolve(e>0?s.after():s.before())}let l=tt.findGapCursorFrom(s,e,c);return l?(i&&i(r.tr.setSelection(new tt(l))),!0):!1}}function KR(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!tt.valid(r))return!1;let i=t.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&Ue.isSelectable(t.state.doc.nodeAt(i.inside))?!1:(t.dispatch(t.state.tr.setSelection(new tt(r))),!0)}function ZR(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof tt))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let i=pe.empty;for(let a=r.length-1;a>=0;a--)i=pe.from(r[a].createAndFill(null,i));let o=t.state.tr.replace(n.pos,n.pos,new we(i,0,0));return o.setSelection(Be.near(o.doc.resolve(n.pos+1))),t.dispatch(o),!1}function JR(t){if(!(t.selection instanceof tt))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Ye.create(t.doc,[yt.widget(t.selection.head,e,{key:"gapcursor"})])}var lp,up;if(typeof WeakMap<"u"){let t=new WeakMap;lp=e=>t.get(e),up=(e,n)=>(t.set(e,n),n)}else{const t=[];let n=0;lp=r=>{for(let i=0;i<t.length;i+=2)if(t[i]==r)return t[i+1]},up=(r,i)=>(n==10&&(n=0),t[n++]=r,t[n++]=i)}var nt=class{constructor(t,e,n,r){this.width=t,this.height=e,this.map=n,this.problems=r}findCell(t){for(let e=0;e<this.map.length;e++){const n=this.map[e];if(n!=t)continue;const r=e%this.width,i=e/this.width|0;let o=r+1,a=i+1;for(let s=1;o<this.width&&this.map[e+s]==n;s++)o++;for(let s=1;a<this.height&&this.map[e+this.width*s]==n;s++)a++;return{left:r,top:i,right:o,bottom:a}}throw new RangeError(`No cell with offset ${t} found`)}colCount(t){for(let e=0;e<this.map.length;e++)if(this.map[e]==t)return e%this.width;throw new RangeError(`No cell with offset ${t} found`)}nextCell(t,e,n){const{left:r,right:i,top:o,bottom:a}=this.findCell(t);return e=="horiz"?(n<0?r==0:i==this.width)?null:this.map[o*this.width+(n<0?r-1:i)]:(n<0?o==0:a==this.height)?null:this.map[r+this.width*(n<0?o-1:a)]}rectBetween(t,e){const{left:n,right:r,top:i,bottom:o}=this.findCell(t),{left:a,right:s,top:c,bottom:l}=this.findCell(e);return{left:Math.min(n,a),top:Math.min(i,c),right:Math.max(r,s),bottom:Math.max(o,l)}}cellsInRect(t){const e=[],n={};for(let r=t.top;r<t.bottom;r++)for(let i=t.left;i<t.right;i++){const o=r*this.width+i,a=this.map[o];n[a]||(n[a]=!0,!(i==t.left&&i&&this.map[o-1]==a||r==t.top&&r&&this.map[o-this.width]==a)&&e.push(a))}return e}positionAt(t,e,n){for(let r=0,i=0;;r++){const o=i+n.child(r).nodeSize;if(r==t){let a=e+t*this.width;const s=(t+1)*this.width;for(;a<s&&this.map[a]<i;)a++;return a==s?o-1:this.map[a]}i=o}}static get(t){return lp(t)||up(t,YR(t))}};function YR(t){if(t.type.spec.tableRole!="table")throw new RangeError("Not a table node: "+t.type.name);const e=QR(t),n=t.childCount,r=[];let i=0,o=null;const a=[];for(let l=0,u=e*n;l<u;l++)r[l]=0;for(let l=0,u=0;l<n;l++){const d=t.child(l);u++;for(let m=0;;m++){for(;i<r.length&&r[i]!=0;)i++;if(m==d.childCount)break;const g=d.child(m),{colspan:p,rowspan:y,colwidth:b}=g.attrs;for(let v=0;v<y;v++){if(v+l>=n){(o||(o=[])).push({type:"overlong_rowspan",pos:u,n:y-v});break}const D=i+v*e;for(let _=0;_<p;_++){r[D+_]==0?r[D+_]=u:(o||(o=[])).push({type:"collision",row:l,pos:u,n:p-_});const T=b&&b[_];if(T){const S=(D+_)%e*2,C=a[S];C==null||C!=T&&a[S+1]==1?(a[S]=T,a[S+1]=1):C==T&&a[S+1]++}}}i+=p,u+=g.nodeSize}const f=(l+1)*e;let h=0;for(;i<f;)r[i++]==0&&h++;h&&(o||(o=[])).push({type:"missing",row:l,n:h}),u++}(e===0||n===0)&&(o||(o=[])).push({type:"zero_sized"});const s=new nt(e,n,r,o);let c=!1;for(let l=0;!c&&l<a.length;l+=2)a[l]!=null&&a[l+1]<n&&(c=!0);return c&&eF(s,a,t),s}function QR(t){let e=-1,n=!1;for(let r=0;r<t.childCount;r++){const i=t.child(r);let o=0;if(n)for(let a=0;a<r;a++){const s=t.child(a);for(let c=0;c<s.childCount;c++){const l=s.child(c);a+l.attrs.rowspan>r&&(o+=l.attrs.colspan)}}for(let a=0;a<i.childCount;a++){const s=i.child(a);o+=s.attrs.colspan,s.attrs.rowspan>1&&(n=!0)}e==-1?e=o:e!=o&&(e=Math.max(e,o))}return e}function eF(t,e,n){t.problems||(t.problems=[]);const r={};for(let i=0;i<t.map.length;i++){const o=t.map[i];if(r[o])continue;r[o]=!0;const a=n.nodeAt(o);if(!a)throw new RangeError(`No cell with offset ${o} found`);let s=null;const c=a.attrs;for(let l=0;l<c.colspan;l++){const u=(i+l)%t.width,d=e[u*2];d!=null&&(!c.colwidth||c.colwidth[l]!=d)&&((s||(s=tF(c)))[l]=d)}s&&t.problems.unshift({type:"colwidth mismatch",pos:o,colwidth:s})}}function tF(t){if(t.colwidth)return t.colwidth.slice();const e=[];for(let n=0;n<t.colspan;n++)e.push(0);return e}function bt(t){let e=t.cached.tableNodeTypes;if(!e){e=t.cached.tableNodeTypes={};for(const n in t.nodes){const r=t.nodes[n],i=r.spec.tableRole;i&&(e[i]=r)}}return e}var hr=new no("selectingCells");function so(t){for(let e=t.depth-1;e>0;e--)if(t.node(e).type.spec.tableRole=="row")return t.node(0).resolve(t.before(e+1));return null}function nF(t){for(let e=t.depth;e>0;e--){const n=t.node(e).type.spec.tableRole;if(n==="cell"||n==="header_cell")return t.node(e)}return null}function yn(t){const e=t.selection.$head;for(let n=e.depth;n>0;n--)if(e.node(n).type.spec.tableRole=="row")return!0;return!1}function nl(t){const e=t.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;const n=so(e.$head)||rF(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function rF(t){for(let e=t.nodeAfter,n=t.pos;e;e=e.firstChild,n++){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n)}for(let e=t.nodeBefore,n=t.pos;e;e=e.lastChild,n--){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n-e.nodeSize)}}function dp(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function iF(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function Tg(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function mw(t,e,n){const r=t.node(-1),i=nt.get(r),o=t.start(-1),a=i.nextCell(t.pos-o,e,n);return a==null?null:t.node(0).resolve(o+a)}function ai(t,e,n=1){const r={...t,colspan:t.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,n),r.colwidth.some(i=>i>0)||(r.colwidth=null)),r}function yw(t,e,n=1){const r={...t,colspan:t.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let i=0;i<n;i++)r.colwidth.splice(e,0,0)}return r}function oF(t,e,n){const r=bt(e.type.schema).header_cell;for(let i=0;i<t.height;i++)if(e.nodeAt(t.map[n+i*t.width]).type!=r)return!1;return!0}var Je=class qn extends Re{constructor(e,n=e){const r=e.node(-1),i=nt.get(r),o=e.start(-1),a=i.rectBetween(e.pos-o,n.pos-o),s=e.node(0),c=i.cellsInRect(a).filter(u=>u!=n.pos-o);c.unshift(n.pos-o);const l=c.map(u=>{const d=r.nodeAt(u);if(!d)throw RangeError(`No cell with offset ${u} found`);const f=o+u+1;return new Op(s.resolve(f),s.resolve(f+d.content.size))});super(l[0].$from,l[0].$to,l),this.$anchorCell=e,this.$headCell=n}map(e,n){const r=e.resolve(n.map(this.$anchorCell.pos)),i=e.resolve(n.map(this.$headCell.pos));if(dp(r)&&dp(i)&&Tg(r,i)){const o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?qn.rowSelection(r,i):o&&this.isColSelection()?qn.colSelection(r,i):new qn(r,i)}return Be.between(r,i)}content(){const e=this.$anchorCell.node(-1),n=nt.get(e),r=this.$anchorCell.start(-1),i=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),o={},a=[];for(let c=i.top;c<i.bottom;c++){const l=[];for(let u=c*n.width+i.left,d=i.left;d<i.right;d++,u++){const f=n.map[u];if(o[f])continue;o[f]=!0;const h=n.findCell(f);let m=e.nodeAt(f);if(!m)throw RangeError(`No cell with offset ${f} found`);const g=i.left-h.left,p=h.right-i.right;if(g>0||p>0){let y=m.attrs;if(g>0&&(y=ai(y,0,g)),p>0&&(y=ai(y,y.colspan-p,p)),h.left<i.left){if(m=m.type.createAndFill(y),!m)throw RangeError(`Could not create cell with attrs ${JSON.stringify(y)}`)}else m=m.type.create(y,m.content)}if(h.top<i.top||h.bottom>i.bottom){const y={...m.attrs,rowspan:Math.min(h.bottom,i.bottom)-Math.max(h.top,i.top)};h.top<i.top?m=m.type.createAndFill(y):m=m.type.create(y,m.content)}l.push(m)}a.push(e.child(c).copy(pe.from(l)))}const s=this.isColSelection()&&this.isRowSelection()?e:a;return new we(pe.from(s),1,1)}replace(e,n=we.empty){const r=e.steps.length,i=this.ranges;for(let a=0;a<i.length;a++){const{$from:s,$to:c}=i[a],l=e.mapping.slice(r);e.replace(l.map(s.pos),l.map(c.pos),a?we.empty:n)}const o=Re.findFrom(e.doc.resolve(e.mapping.slice(r).map(this.to)),-1);o&&e.setSelection(o)}replaceWith(e,n){this.replace(e,new we(pe.from(n),0,0))}forEachCell(e){const n=this.$anchorCell.node(-1),r=nt.get(n),i=this.$anchorCell.start(-1),o=r.cellsInRect(r.rectBetween(this.$anchorCell.pos-i,this.$headCell.pos-i));for(let a=0;a<o.length;a++)e(n.nodeAt(o[a]),i+o[a])}isColSelection(){const e=this.$anchorCell.index(-1),n=this.$headCell.index(-1);if(Math.min(e,n)>0)return!1;const r=e+this.$anchorCell.nodeAfter.attrs.rowspan,i=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,i)==this.$headCell.node(-1).childCount}static colSelection(e,n=e){const r=e.node(-1),i=nt.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),c=e.node(0);return a.top<=s.top?(a.top>0&&(e=c.resolve(o+i.map[a.left])),s.bottom<i.height&&(n=c.resolve(o+i.map[i.width*(i.height-1)+s.right-1]))):(s.top>0&&(n=c.resolve(o+i.map[s.left])),a.bottom<i.height&&(e=c.resolve(o+i.map[i.width*(i.height-1)+a.right-1]))),new qn(e,n)}isRowSelection(){const e=this.$anchorCell.node(-1),n=nt.get(e),r=this.$anchorCell.start(-1),i=n.colCount(this.$anchorCell.pos-r),o=n.colCount(this.$headCell.pos-r);if(Math.min(i,o)>0)return!1;const a=i+this.$anchorCell.nodeAfter.attrs.colspan,s=o+this.$headCell.nodeAfter.attrs.colspan;return Math.max(a,s)==n.width}eq(e){return e instanceof qn&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){const r=e.node(-1),i=nt.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),c=e.node(0);return a.left<=s.left?(a.left>0&&(e=c.resolve(o+i.map[a.top*i.width])),s.right<i.width&&(n=c.resolve(o+i.map[i.width*(s.top+1)-1]))):(s.left>0&&(n=c.resolve(o+i.map[s.top*i.width])),a.right<i.width&&(e=c.resolve(o+i.map[i.width*(a.top+1)-1]))),new qn(e,n)}toJSON(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(e,n){return new qn(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){return new qn(e.resolve(n),e.resolve(r))}getBookmark(){return new aF(this.$anchorCell.pos,this.$headCell.pos)}};Je.prototype.visible=!1;Re.jsonID("cell",Je);var aF=class bw{constructor(e,n){this.anchor=e,this.head=n}map(e){return new bw(e.map(this.anchor),e.map(this.head))}resolve(e){const n=e.resolve(this.anchor),r=e.resolve(this.head);return n.parent.type.spec.tableRole=="row"&&r.parent.type.spec.tableRole=="row"&&n.index()<n.parent.childCount&&r.index()<r.parent.childCount&&Tg(n,r)?new Je(n,r):Re.near(r,1)}};function sF(t){if(!(t.selection instanceof Je))return null;const e=[];return t.selection.forEachCell((n,r)=>{e.push(yt.node(r,r+n.nodeSize,{class:"selectedCell"}))}),Ye.create(t.doc,e)}function cF({$from:t,$to:e}){if(t.pos==e.pos||t.pos<e.pos-6)return!1;let n=t.pos,r=e.pos,i=t.depth;for(;i>=0&&!(t.after(i+1)<t.end(i));i--,n++);for(let o=e.depth;o>=0&&!(e.before(o+1)>e.start(o));o--,r--);return n==r&&/row|table/.test(t.node(i).type.spec.tableRole)}function lF({$from:t,$to:e}){let n,r;for(let i=t.depth;i>0;i--){const o=t.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){n=o;break}}for(let i=e.depth;i>0;i--){const o=e.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){r=o;break}}return n!==r&&e.parentOffset===0}function uF(t,e,n){const r=(e||t).selection,i=(e||t).doc;let o,a;if(r instanceof Ue&&(a=r.node.type.spec.tableRole)){if(a=="cell"||a=="header_cell")o=Je.create(i,r.from);else if(a=="row"){const s=i.resolve(r.from+1);o=Je.rowSelection(s,s)}else if(!n){const s=nt.get(r.node),c=r.from+1,l=c+s.map[s.width*s.height-1];o=Je.create(i,c+1,l)}}else r instanceof Be&&cF(r)?o=Be.create(i,r.from):r instanceof Be&&lF(r)&&(o=Be.create(i,r.$from.start(),r.$from.end()));return o&&(e||(e=t.tr)).setSelection(o),e}var dF=new no("fix-tables");function vw(t,e,n,r){const i=t.childCount,o=e.childCount;e:for(let a=0,s=0;a<o;a++){const c=e.child(a);for(let l=s,u=Math.min(i,a+3);l<u;l++)if(t.child(l)==c){s=l+1,n+=c.nodeSize;continue e}r(c,n),s<i&&t.child(s).sameMarkup(c)?vw(t.child(s),c,n+1,r):c.nodesBetween(0,c.content.size,r,n+1),n+=c.nodeSize}}function xw(t,e){let n;const r=(i,o)=>{i.type.spec.tableRole=="table"&&(n=fF(t,i,o,n))};return e?e.doc!=t.doc&&vw(e.doc,t.doc,0,r):t.doc.descendants(r),n}function fF(t,e,n,r){const i=nt.get(e);if(!i.problems)return r;r||(r=t.tr);const o=[];for(let c=0;c<i.height;c++)o.push(0);for(let c=0;c<i.problems.length;c++){const l=i.problems[c];if(l.type=="collision"){const u=e.nodeAt(l.pos);if(!u)continue;const d=u.attrs;for(let f=0;f<d.rowspan;f++)o[l.row+f]+=l.n;r.setNodeMarkup(r.mapping.map(n+1+l.pos),null,ai(d,d.colspan-l.n,l.n))}else if(l.type=="missing")o[l.row]+=l.n;else if(l.type=="overlong_rowspan"){const u=e.nodeAt(l.pos);if(!u)continue;r.setNodeMarkup(r.mapping.map(n+1+l.pos),null,{...u.attrs,rowspan:u.attrs.rowspan-l.n})}else if(l.type=="colwidth mismatch"){const u=e.nodeAt(l.pos);if(!u)continue;r.setNodeMarkup(r.mapping.map(n+1+l.pos),null,{...u.attrs,colwidth:l.colwidth})}else if(l.type=="zero_sized"){const u=r.mapping.map(n);r.delete(u,u+e.nodeSize)}}let a,s;for(let c=0;c<o.length;c++)o[c]&&(a==null&&(a=c),s=c);for(let c=0,l=n+1;c<i.height;c++){const u=e.child(c),d=l+u.nodeSize,f=o[c];if(f>0){let h="cell";u.firstChild&&(h=u.firstChild.type.spec.tableRole);const m=[];for(let p=0;p<f;p++){const y=bt(t.schema)[h].createAndFill();y&&m.push(y)}const g=(c==0||a==c-1)&&s==c?l+1:d-1;r.insert(r.mapping.map(g),m)}l=d}return r.setMeta(dF,{fixTables:!0})}function Rn(t){const e=t.selection,n=nl(t),r=n.node(-1),i=n.start(-1),o=nt.get(r);return{...e instanceof Je?o.rectBetween(e.$anchorCell.pos-i,e.$headCell.pos-i):o.findCell(n.pos-i),tableStart:i,map:o,table:r}}function Dw(t,{map:e,tableStart:n,table:r},i){let o=i>0?-1:0;oF(e,r,i+o)&&(o=i==0||i==e.width?null:0);for(let a=0;a<e.height;a++){const s=a*e.width+i;if(i>0&&i<e.width&&e.map[s-1]==e.map[s]){const c=e.map[s],l=r.nodeAt(c);t.setNodeMarkup(t.mapping.map(n+c),null,yw(l.attrs,i-e.colCount(c))),a+=l.attrs.rowspan-1}else{const c=o==null?bt(r.type.schema).cell:r.nodeAt(e.map[s+o]).type,l=e.positionAt(a,i,r);t.insert(t.mapping.map(n+l),c.createAndFill())}}return t}function hF(t,e){if(!yn(t))return!1;if(e){const n=Rn(t);e(Dw(t.tr,n,n.left))}return!0}function pF(t,e){if(!yn(t))return!1;if(e){const n=Rn(t);e(Dw(t.tr,n,n.right))}return!0}function gF(t,{map:e,table:n,tableStart:r},i){const o=t.mapping.maps.length;for(let a=0;a<e.height;){const s=a*e.width+i,c=e.map[s],l=n.nodeAt(c),u=l.attrs;if(i>0&&e.map[s-1]==c||i<e.width-1&&e.map[s+1]==c)t.setNodeMarkup(t.mapping.slice(o).map(r+c),null,ai(u,i-e.colCount(c)));else{const d=t.mapping.slice(o).map(r+c);t.delete(d,d+l.nodeSize)}a+=u.rowspan}}function mF(t,e){if(!yn(t))return!1;if(e){const n=Rn(t),r=t.tr;if(n.left==0&&n.right==n.map.width)return!1;for(let i=n.right-1;gF(r,n,i),i!=n.left;i--){const o=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!o)throw RangeError("No table found");n.table=o,n.map=nt.get(o)}e(r)}return!0}function yF(t,e,n){var r;const i=bt(e.type.schema).header_cell;for(let o=0;o<t.width;o++)if(((r=e.nodeAt(t.map[o+n*t.width]))==null?void 0:r.type)!=i)return!1;return!0}function _w(t,{map:e,tableStart:n,table:r},i){var o;let a=n;for(let l=0;l<i;l++)a+=r.child(l).nodeSize;const s=[];let c=i>0?-1:0;yF(e,r,i+c)&&(c=i==0||i==e.height?null:0);for(let l=0,u=e.width*i;l<e.width;l++,u++)if(i>0&&i<e.height&&e.map[u]==e.map[u-e.width]){const d=e.map[u],f=r.nodeAt(d).attrs;t.setNodeMarkup(n+d,null,{...f,rowspan:f.rowspan+1}),l+=f.colspan-1}else{const d=c==null?bt(r.type.schema).cell:(o=r.nodeAt(e.map[u+c*e.width]))==null?void 0:o.type,f=d==null?void 0:d.createAndFill();f&&s.push(f)}return t.insert(a,bt(r.type.schema).row.create(null,s)),t}function bF(t,e){if(!yn(t))return!1;if(e){const n=Rn(t);e(_w(t.tr,n,n.top))}return!0}function vF(t,e){if(!yn(t))return!1;if(e){const n=Rn(t);e(_w(t.tr,n,n.bottom))}return!0}function xF(t,{map:e,table:n,tableStart:r},i){let o=0;for(let l=0;l<i;l++)o+=n.child(l).nodeSize;const a=o+n.child(i).nodeSize,s=t.mapping.maps.length;t.delete(o+r,a+r);const c=new Set;for(let l=0,u=i*e.width;l<e.width;l++,u++){const d=e.map[u];if(!c.has(d)){if(c.add(d),i>0&&d==e.map[u-e.width]){const f=n.nodeAt(d).attrs;t.setNodeMarkup(t.mapping.slice(s).map(d+r),null,{...f,rowspan:f.rowspan-1}),l+=f.colspan-1}else if(i<e.height&&d==e.map[u+e.width]){const f=n.nodeAt(d),h=f.attrs,m=f.type.create({...h,rowspan:f.attrs.rowspan-1},f.content),g=e.positionAt(i+1,l,n);t.insert(t.mapping.slice(s).map(r+g),m),l+=h.colspan-1}}}}function DF(t,e){if(!yn(t))return!1;if(e){const n=Rn(t),r=t.tr;if(n.top==0&&n.bottom==n.map.height)return!1;for(let i=n.bottom-1;xF(r,n,i),i!=n.top;i--){const o=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!o)throw RangeError("No table found");n.table=o,n.map=nt.get(n.table)}e(r)}return!0}function V1(t){const e=t.content;return e.childCount==1&&e.child(0).isTextblock&&e.child(0).childCount==0}function _F({width:t,height:e,map:n},r){let i=r.top*t+r.left,o=i,a=(r.bottom-1)*t+r.left,s=i+(r.right-r.left-1);for(let c=r.top;c<r.bottom;c++){if(r.left>0&&n[o]==n[o-1]||r.right<t&&n[s]==n[s+1])return!0;o+=t,s+=t}for(let c=r.left;c<r.right;c++){if(r.top>0&&n[i]==n[i-t]||r.bottom<e&&n[a]==n[a+t])return!0;i++,a++}return!1}function wF(t,e){const n=t.selection;if(!(n instanceof Je)||n.$anchorCell.pos==n.$headCell.pos)return!1;const r=Rn(t),{map:i}=r;if(_F(i,r))return!1;if(e){const o=t.tr,a={};let s=pe.empty,c,l;for(let u=r.top;u<r.bottom;u++)for(let d=r.left;d<r.right;d++){const f=i.map[u*i.width+d],h=r.table.nodeAt(f);if(!(a[f]||!h))if(a[f]=!0,c==null)c=f,l=h;else{V1(h)||(s=s.append(h.content));const m=o.mapping.map(f+r.tableStart);o.delete(m,m+h.nodeSize)}}if(c==null||l==null)return!0;if(o.setNodeMarkup(c+r.tableStart,null,{...yw(l.attrs,l.attrs.colspan,r.right-r.left-l.attrs.colspan),rowspan:r.bottom-r.top}),s.size){const u=c+1+l.content.size,d=V1(l)?c+1:u;o.replaceWith(d+r.tableStart,u+r.tableStart,s)}o.setSelection(new Je(o.doc.resolve(c+r.tableStart))),e(o)}return!0}function EF(t,e){const n=bt(t.schema);return TF(({node:r})=>n[r.type.spec.tableRole])(t,e)}function TF(t){return(e,n)=>{var r;const i=e.selection;let o,a;if(i instanceof Je){if(i.$anchorCell.pos!=i.$headCell.pos)return!1;o=i.$anchorCell.nodeAfter,a=i.$anchorCell.pos}else{if(o=nF(i.$from),!o)return!1;a=(r=so(i.$from))==null?void 0:r.pos}if(o==null||a==null||o.attrs.colspan==1&&o.attrs.rowspan==1)return!1;if(n){let s=o.attrs;const c=[],l=s.colwidth;s.rowspan>1&&(s={...s,rowspan:1}),s.colspan>1&&(s={...s,colspan:1});const u=Rn(e),d=e.tr;for(let h=0;h<u.right-u.left;h++)c.push(l?{...s,colwidth:l&&l[h]?[l[h]]:null}:s);let f;for(let h=u.top;h<u.bottom;h++){let m=u.map.positionAt(h,u.left,u.table);h==u.top&&(m+=o.nodeSize);for(let g=u.left,p=0;g<u.right;g++,p++)g==u.left&&h==u.top||d.insert(f=d.mapping.map(m+u.tableStart,1),t({node:o,row:h,col:g}).createAndFill(c[p]))}d.setNodeMarkup(a,t({node:o,row:u.top,col:u.left}),c[0]),i instanceof Je&&d.setSelection(new Je(d.doc.resolve(i.$anchorCell.pos),f?d.doc.resolve(f):void 0)),n(d)}return!0}}function SF(t,e){return function(n,r){if(!yn(n))return!1;const i=nl(n);if(i.nodeAfter.attrs[t]===e)return!1;if(r){const o=n.tr;n.selection instanceof Je?n.selection.forEachCell((a,s)=>{a.attrs[t]!==e&&o.setNodeMarkup(s,null,{...a.attrs,[t]:e})}):o.setNodeMarkup(i.pos,null,{...i.nodeAfter.attrs,[t]:e}),r(o)}return!0}}function AF(t){return function(e,n){if(!yn(e))return!1;if(n){const r=bt(e.schema),i=Rn(e),o=e.tr,a=i.map.cellsInRect(t=="column"?{left:i.left,top:0,right:i.right,bottom:i.map.height}:t=="row"?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),s=a.map(c=>i.table.nodeAt(c));for(let c=0;c<a.length;c++)s[c].type==r.header_cell&&o.setNodeMarkup(i.tableStart+a[c],r.cell,s[c].attrs);if(o.steps.length==0)for(let c=0;c<a.length;c++)o.setNodeMarkup(i.tableStart+a[c],r.header_cell,s[c].attrs);n(o)}return!0}}function H1(t,e,n){const r=e.map.cellsInRect({left:0,top:0,right:t=="row"?e.map.width:1,bottom:t=="column"?e.map.height:1});for(let i=0;i<r.length;i++){const o=e.table.nodeAt(r[i]);if(o&&o.type!==n.header_cell)return!1}return!0}function rl(t,e){return e=e||{useDeprecatedLogic:!1},e.useDeprecatedLogic?AF(t):function(n,r){if(!yn(n))return!1;if(r){const i=bt(n.schema),o=Rn(n),a=n.tr,s=H1("row",o,i),c=H1("column",o,i),u=(t==="column"?s:t==="row"?c:!1)?1:0,d=t=="column"?{left:0,top:u,right:1,bottom:o.map.height}:t=="row"?{left:u,top:0,right:o.map.width,bottom:1}:o,f=t=="column"?c?i.cell:i.header_cell:t=="row"?s?i.cell:i.header_cell:i.cell;o.map.cellsInRect(d).forEach(h=>{const m=h+o.tableStart,g=a.doc.nodeAt(m);g&&a.setNodeMarkup(m,f,g.attrs)}),r(a)}return!0}}rl("row",{useDeprecatedLogic:!0});rl("column",{useDeprecatedLogic:!0});var CF=rl("cell",{useDeprecatedLogic:!0});function UF(t,e){if(e<0){const n=t.nodeBefore;if(n)return t.pos-n.nodeSize;for(let r=t.index(-1)-1,i=t.before();r>=0;r--){const o=t.node(-1).child(r),a=o.lastChild;if(a)return i-1-a.nodeSize;i-=o.nodeSize}}else{if(t.index()<t.parent.childCount-1)return t.pos+t.nodeAfter.nodeSize;const n=t.node(-1);for(let r=t.indexAfter(-1),i=t.after();r<n.childCount;r++){const o=n.child(r);if(o.childCount)return i+1;i+=o.nodeSize}}return null}function kF(t){return function(e,n){if(!yn(e))return!1;const r=UF(nl(e),t);if(r==null)return!1;if(n){const i=e.doc.resolve(r);n(e.tr.setSelection(Be.between(i,iF(i))).scrollIntoView())}return!0}}function OF(t,e){const n=t.selection.$anchor;for(let r=n.depth;r>0;r--)if(n.node(r).type.spec.tableRole=="table")return e&&e(t.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function Ba(t,e){const n=t.selection;if(!(n instanceof Je))return!1;if(e){const r=t.tr,i=bt(t.schema).cell.createAndFill().content;n.forEachCell((o,a)=>{o.content.eq(i)||r.replace(r.mapping.map(a+1),r.mapping.map(a+o.nodeSize-1),new we(i,0,0))}),r.docChanged&&e(r)}return!0}function RF(t){if(!t.size)return null;let{content:e,openStart:n,openEnd:r}=t;for(;e.childCount==1&&(n>0&&r>0||e.child(0).type.spec.tableRole=="table");)n--,r--,e=e.child(0).content;const i=e.child(0),o=i.type.spec.tableRole,a=i.type.schema,s=[];if(o=="row")for(let c=0;c<e.childCount;c++){let l=e.child(c).content;const u=c?0:Math.max(0,n-1),d=c<e.childCount-1?0:Math.max(0,r-1);(u||d)&&(l=fp(bt(a).row,new we(l,u,d)).content),s.push(l)}else if(o=="cell"||o=="header_cell")s.push(n||r?fp(bt(a).row,new we(e,n,r)).content:e);else return null;return FF(a,s)}function FF(t,e){const n=[];for(let i=0;i<e.length;i++){const o=e[i];for(let a=o.childCount-1;a>=0;a--){const{rowspan:s,colspan:c}=o.child(a).attrs;for(let l=i;l<i+s;l++)n[l]=(n[l]||0)+c}}let r=0;for(let i=0;i<n.length;i++)r=Math.max(r,n[i]);for(let i=0;i<n.length;i++)if(i>=e.length&&e.push(pe.empty),n[i]<r){const o=bt(t).cell.createAndFill(),a=[];for(let s=n[i];s<r;s++)a.push(o);e[i]=e[i].append(pe.from(a))}return{height:e.length,width:r,rows:e}}function fp(t,e){const n=t.createAndFill();return new kp(n).replace(0,n.content.size,e).doc}function IF({width:t,height:e,rows:n},r,i){if(t!=r){const o=[],a=[];for(let s=0;s<n.length;s++){const c=n[s],l=[];for(let u=o[s]||0,d=0;u<r;d++){let f=c.child(d%c.childCount);u+f.attrs.colspan>r&&(f=f.type.createChecked(ai(f.attrs,f.attrs.colspan,u+f.attrs.colspan-r),f.content)),l.push(f),u+=f.attrs.colspan;for(let h=1;h<f.attrs.rowspan;h++)o[s+h]=(o[s+h]||0)+f.attrs.colspan}a.push(pe.from(l))}n=a,t=r}if(e!=i){const o=[];for(let a=0,s=0;a<i;a++,s++){const c=[],l=n[s%e];for(let u=0;u<l.childCount;u++){let d=l.child(u);a+d.attrs.rowspan>i&&(d=d.type.create({...d.attrs,rowspan:Math.max(1,i-d.attrs.rowspan)},d.content)),c.push(d)}o.push(pe.from(c))}n=o,e=i}return{width:t,height:e,rows:n}}function NF(t,e,n,r,i,o,a){const s=t.doc.type.schema,c=bt(s);let l,u;if(i>e.width)for(let d=0,f=0;d<e.height;d++){const h=n.child(d);f+=h.nodeSize;const m=[];let g;h.lastChild==null||h.lastChild.type==c.cell?g=l||(l=c.cell.createAndFill()):g=u||(u=c.header_cell.createAndFill());for(let p=e.width;p<i;p++)m.push(g);t.insert(t.mapping.slice(a).map(f-1+r),m)}if(o>e.height){const d=[];for(let m=0,g=(e.height-1)*e.width;m<Math.max(e.width,i);m++){const p=m>=e.width?!1:n.nodeAt(e.map[g+m]).type==c.header_cell;d.push(p?u||(u=c.header_cell.createAndFill()):l||(l=c.cell.createAndFill()))}const f=c.row.create(null,pe.from(d)),h=[];for(let m=e.height;m<o;m++)h.push(f);t.insert(t.mapping.slice(a).map(r+n.nodeSize-2),h)}return!!(l||u)}function G1(t,e,n,r,i,o,a,s){if(a==0||a==e.height)return!1;let c=!1;for(let l=i;l<o;l++){const u=a*e.width+l,d=e.map[u];if(e.map[u-e.width]==d){c=!0;const f=n.nodeAt(d),{top:h,left:m}=e.findCell(d);t.setNodeMarkup(t.mapping.slice(s).map(d+r),null,{...f.attrs,rowspan:a-h}),t.insert(t.mapping.slice(s).map(e.positionAt(a,m,n)),f.type.createAndFill({...f.attrs,rowspan:h+f.attrs.rowspan-a})),l+=f.attrs.colspan-1}}return c}function X1(t,e,n,r,i,o,a,s){if(a==0||a==e.width)return!1;let c=!1;for(let l=i;l<o;l++){const u=l*e.width+a,d=e.map[u];if(e.map[u-1]==d){c=!0;const f=n.nodeAt(d),h=e.colCount(d),m=t.mapping.slice(s).map(d+r);t.setNodeMarkup(m,null,ai(f.attrs,a-h,f.attrs.colspan-(a-h))),t.insert(m+f.nodeSize,f.type.createAndFill(ai(f.attrs,0,a-h))),l+=f.attrs.rowspan-1}}return c}function K1(t,e,n,r,i){let o=n?t.doc.nodeAt(n-1):t.doc;if(!o)throw new Error("No table found");let a=nt.get(o);const{top:s,left:c}=r,l=c+i.width,u=s+i.height,d=t.tr;let f=0;function h(){if(o=n?d.doc.nodeAt(n-1):d.doc,!o)throw new Error("No table found");a=nt.get(o),f=d.mapping.maps.length}NF(d,a,o,n,l,u,f)&&h(),G1(d,a,o,n,c,l,s,f)&&h(),G1(d,a,o,n,c,l,u,f)&&h(),X1(d,a,o,n,s,u,c,f)&&h(),X1(d,a,o,n,s,u,l,f)&&h();for(let m=s;m<u;m++){const g=a.positionAt(m,c,o),p=a.positionAt(m,l,o);d.replace(d.mapping.slice(f).map(g+n),d.mapping.slice(f).map(p+n),new we(i.rows[m-s],0,0))}h(),d.setSelection(new Je(d.doc.resolve(n+a.positionAt(s,c,o)),d.doc.resolve(n+a.positionAt(u-1,l-1,o)))),e(d)}var BF=zp({ArrowLeft:Ma("horiz",-1),ArrowRight:Ma("horiz",1),ArrowUp:Ma("vert",-1),ArrowDown:Ma("vert",1),"Shift-ArrowLeft":La("horiz",-1),"Shift-ArrowRight":La("horiz",1),"Shift-ArrowUp":La("vert",-1),"Shift-ArrowDown":La("vert",1),Backspace:Ba,"Mod-Backspace":Ba,Delete:Ba,"Mod-Delete":Ba});function ys(t,e,n){return n.eq(t.selection)?!1:(e&&e(t.tr.setSelection(n).scrollIntoView()),!0)}function Ma(t,e){return(n,r,i)=>{if(!i)return!1;const o=n.selection;if(o instanceof Je)return ys(n,r,Re.near(o.$headCell,e));if(t!="horiz"&&!o.empty)return!1;const a=ww(i,t,e);if(a==null)return!1;if(t=="horiz")return ys(n,r,Re.near(n.doc.resolve(o.head+e),e));{const s=n.doc.resolve(a),c=mw(s,t,e);let l;return c?l=Re.near(c,1):e<0?l=Re.near(n.doc.resolve(s.before(-1)),-1):l=Re.near(n.doc.resolve(s.after(-1)),1),ys(n,r,l)}}}function La(t,e){return(n,r,i)=>{if(!i)return!1;const o=n.selection;let a;if(o instanceof Je)a=o;else{const c=ww(i,t,e);if(c==null)return!1;a=new Je(n.doc.resolve(c))}const s=mw(a.$headCell,t,e);return s?ys(n,r,new Je(a.$anchorCell,s)):!1}}function MF(t,e){const n=t.state.doc,r=so(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new Je(r))),!0):!1}function LF(t,e,n){if(!yn(t.state))return!1;let r=RF(n);const i=t.state.selection;if(i instanceof Je){r||(r={width:1,height:1,rows:[pe.from(fp(bt(t.state.schema).cell,n))]});const o=i.$anchorCell.node(-1),a=i.$anchorCell.start(-1),s=nt.get(o).rectBetween(i.$anchorCell.pos-a,i.$headCell.pos-a);return r=IF(r,s.right-s.left,s.bottom-s.top),K1(t.state,t.dispatch,a,s,r),!0}else if(r){const o=nl(t.state),a=o.start(-1);return K1(t.state,t.dispatch,a,nt.get(o.node(-1)).findCell(o.pos-a),r),!0}else return!1}function WF(t,e){var n;if(e.ctrlKey||e.metaKey)return;const r=Z1(t,e.target);let i;if(e.shiftKey&&t.state.selection instanceof Je)o(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(i=so(t.state.selection.$anchor))!=null&&((n=mu(t,e))==null?void 0:n.pos)!=i.pos)o(i,e),e.preventDefault();else if(!r)return;function o(c,l){let u=mu(t,l);const d=hr.getState(t.state)==null;if(!u||!Tg(c,u))if(d)u=c;else return;const f=new Je(c,u);if(d||!t.state.selection.eq(f)){const h=t.state.tr.setSelection(f);d&&h.setMeta(hr,c.pos),t.dispatch(h)}}function a(){t.root.removeEventListener("mouseup",a),t.root.removeEventListener("dragstart",a),t.root.removeEventListener("mousemove",s),hr.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(hr,-1))}function s(c){const l=c,u=hr.getState(t.state);let d;if(u!=null)d=t.state.doc.resolve(u);else if(Z1(t,l.target)!=r&&(d=mu(t,e),!d))return a();d&&o(d,l)}t.root.addEventListener("mouseup",a),t.root.addEventListener("dragstart",a),t.root.addEventListener("mousemove",s)}function ww(t,e,n){if(!(t.state.selection instanceof Be))return null;const{$head:r}=t.state.selection;for(let i=r.depth-1;i>=0;i--){const o=r.node(i);if((n<0?r.index(i):r.indexAfter(i))!=(n<0?0:o.childCount))return null;if(o.type.spec.tableRole=="cell"||o.type.spec.tableRole=="header_cell"){const s=r.before(i),c=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(c)?s:null}}return null}function Z1(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function mu(t,e){const n=t.posAtCoords({left:e.clientX,top:e.clientY});return n&&n?so(t.state.doc.resolve(n.pos)):null}var PF=class{constructor(t,e){this.node=t,this.defaultCellMinWidth=e,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.table.style.setProperty("--default-cell-min-width",`${e}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),hp(t,this.colgroup,this.table,e),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(t){return t.type!=this.node.type?!1:(this.node=t,hp(t,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(t){return t.type=="attributes"&&(t.target==this.table||this.colgroup.contains(t.target))}};function hp(t,e,n,r,i,o){var a;let s=0,c=!0,l=e.firstChild;const u=t.firstChild;if(u){for(let d=0,f=0;d<u.childCount;d++){const{colspan:h,colwidth:m}=u.child(d).attrs;for(let g=0;g<h;g++,f++){const p=i==f?o:m&&m[g],y=p?p+"px":"";if(s+=p||r,p||(c=!1),l)l.style.width!=y&&(l.style.width=y),l=l.nextSibling;else{const b=document.createElement("col");b.style.width=y,e.appendChild(b)}}}for(;l;){const d=l.nextSibling;(a=l.parentNode)==null||a.removeChild(l),l=d}c?(n.style.width=s+"px",n.style.minWidth=""):(n.style.width="",n.style.minWidth=s+"px")}}var zt=new no("tableColumnResizing");function qF({handleWidth:t=5,cellMinWidth:e=25,defaultCellMinWidth:n=100,View:r=PF,lastColumnResizable:i=!0}={}){const o=new li({key:zt,state:{init(a,s){var c,l;const u=(l=(c=o.spec)==null?void 0:c.props)==null?void 0:l.nodeViews,d=bt(s.schema).table.name;return r&&u&&(u[d]=(f,h)=>new r(f,n,h)),new zF(-1,!1)},apply(a,s){return s.apply(a)}},props:{attributes:a=>{const s=zt.getState(a);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(a,s)=>{$F(a,s,t,i)},mouseleave:a=>{jF(a)},mousedown:(a,s)=>{VF(a,s,e,n)}},decorations:a=>{const s=zt.getState(a);if(s&&s.activeHandle>-1)return ZF(a,s.activeHandle)},nodeViews:{}}});return o}var zF=class bs{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){const n=this,r=e.getMeta(zt);if(r&&r.setHandle!=null)return new bs(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new bs(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let i=e.mapping.map(n.activeHandle,-1);return dp(e.doc.resolve(i))||(i=-1),new bs(i,n.dragging)}return n}};function $F(t,e,n,r){if(!t.editable)return;const i=zt.getState(t.state);if(i&&!i.dragging){const o=GF(e.target);let a=-1;if(o){const{left:s,right:c}=o.getBoundingClientRect();e.clientX-s<=n?a=J1(t,e,"left",n):c-e.clientX<=n&&(a=J1(t,e,"right",n))}if(a!=i.activeHandle){if(!r&&a!==-1){const s=t.state.doc.resolve(a),c=s.node(-1),l=nt.get(c),u=s.start(-1);if(l.colCount(s.pos-u)+s.nodeAfter.attrs.colspan-1==l.width-1)return}Ew(t,a)}}}function jF(t){if(!t.editable)return;const e=zt.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&Ew(t,-1)}function VF(t,e,n,r){var i;if(!t.editable)return!1;const o=(i=t.dom.ownerDocument.defaultView)!=null?i:window,a=zt.getState(t.state);if(!a||a.activeHandle==-1||a.dragging)return!1;const s=t.state.doc.nodeAt(a.activeHandle),c=HF(t,a.activeHandle,s.attrs);t.dispatch(t.state.tr.setMeta(zt,{setDragging:{startX:e.clientX,startWidth:c}}));function l(d){o.removeEventListener("mouseup",l),o.removeEventListener("mousemove",u);const f=zt.getState(t.state);f!=null&&f.dragging&&(XF(t,f.activeHandle,Y1(f.dragging,d,n)),t.dispatch(t.state.tr.setMeta(zt,{setDragging:null})))}function u(d){if(!d.which)return l(d);const f=zt.getState(t.state);if(f&&f.dragging){const h=Y1(f.dragging,d,n);Q1(t,f.activeHandle,h,r)}}return Q1(t,a.activeHandle,c,r),o.addEventListener("mouseup",l),o.addEventListener("mousemove",u),e.preventDefault(),!0}function HF(t,e,{colspan:n,colwidth:r}){const i=r&&r[r.length-1];if(i)return i;const o=t.domAtPos(e);let s=o.node.childNodes[o.offset].offsetWidth,c=n;if(r)for(let l=0;l<n;l++)r[l]&&(s-=r[l],c--);return s/c}function GF(t){for(;t&&t.nodeName!="TD"&&t.nodeName!="TH";)t=t.classList&&t.classList.contains("ProseMirror")?null:t.parentNode;return t}function J1(t,e,n,r){const i=n=="right"?-r:r,o=t.posAtCoords({left:e.clientX+i,top:e.clientY});if(!o)return-1;const{pos:a}=o,s=so(t.state.doc.resolve(a));if(!s)return-1;if(n=="right")return s.pos;const c=nt.get(s.node(-1)),l=s.start(-1),u=c.map.indexOf(s.pos-l);return u%c.width==0?-1:l+c.map[u-1]}function Y1(t,e,n){const r=e.clientX-t.startX;return Math.max(n,t.startWidth+r)}function Ew(t,e){t.dispatch(t.state.tr.setMeta(zt,{setHandle:e}))}function XF(t,e,n){const r=t.state.doc.resolve(e),i=r.node(-1),o=nt.get(i),a=r.start(-1),s=o.colCount(r.pos-a)+r.nodeAfter.attrs.colspan-1,c=t.state.tr;for(let l=0;l<o.height;l++){const u=l*o.width+s;if(l&&o.map[u]==o.map[u-o.width])continue;const d=o.map[u],f=i.nodeAt(d).attrs,h=f.colspan==1?0:s-o.colCount(d);if(f.colwidth&&f.colwidth[h]==n)continue;const m=f.colwidth?f.colwidth.slice():KF(f.colspan);m[h]=n,c.setNodeMarkup(a+d,null,{...f,colwidth:m})}c.docChanged&&t.dispatch(c)}function Q1(t,e,n,r){const i=t.state.doc.resolve(e),o=i.node(-1),a=i.start(-1),s=nt.get(o).colCount(i.pos-a)+i.nodeAfter.attrs.colspan-1;let c=t.domAtPos(i.start(-1)).node;for(;c&&c.nodeName!="TABLE";)c=c.parentNode;c&&hp(o,c.firstChild,c,r,s,n)}function KF(t){return Array(t).fill(0)}function ZF(t,e){var n;const r=[],i=t.doc.resolve(e),o=i.node(-1);if(!o)return Ye.empty;const a=nt.get(o),s=i.start(-1),c=a.colCount(i.pos-s)+i.nodeAfter.attrs.colspan-1;for(let l=0;l<a.height;l++){const u=c+l*a.width;if((c==a.width-1||a.map[u]!=a.map[u+1])&&(l==0||a.map[u]!=a.map[u-a.width])){const d=a.map[u],f=s+d+o.nodeAt(d).nodeSize-1,h=document.createElement("div");h.className="column-resize-handle",(n=zt.getState(t))!=null&&n.dragging&&r.push(yt.node(s+d,s+d+o.nodeAt(d).nodeSize,{class:"column-resize-dragging"})),r.push(yt.widget(f,h))}}return Ye.create(t.doc,r)}function JF({allowTableNodeSelection:t=!1}={}){return new li({key:hr,state:{init(){return null},apply(e,n){const r=e.getMeta(hr);if(r!=null)return r==-1?null:r;if(n==null||!e.docChanged)return n;const{deleted:i,pos:o}=e.mapping.mapResult(n);return i?null:o}},props:{decorations:sF,handleDOMEvents:{mousedown:WF},createSelectionBetween(e){return hr.getState(e.state)!=null?e.state.selection:null},handleTripleClick:MF,handleKeyDown:BF,handlePaste:LF},appendTransaction(e,n,r){return uF(r,xw(r,n),t)}})}var tn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sg(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Tw(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var yu,eb;function Sw(){if(eb)return yu;eb=1;var t=Object.prototype.toString;return yu=function(n){var r=t.call(n),i=r==="[object Arguments]";return i||(i=r!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&t.call(n.callee)==="[object Function]"),i},yu}var bu,tb;function YF(){if(tb)return bu;tb=1;var t;if(!Object.keys){var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Sw(),i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),a=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],c=function(f){var h=f.constructor;return h&&h.prototype===f},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},u=function(){if(typeof window>"u")return!1;for(var f in window)try{if(!l["$"+f]&&e.call(window,f)&&window[f]!==null&&typeof window[f]=="object")try{c(window[f])}catch{return!0}}catch{return!0}return!1}(),d=function(f){if(typeof window>"u"||!u)return c(f);try{return c(f)}catch{return!1}};t=function(h){var m=h!==null&&typeof h=="object",g=n.call(h)==="[object Function]",p=r(h),y=m&&n.call(h)==="[object String]",b=[];if(!m&&!g&&!p)throw new TypeError("Object.keys called on a non-object");var v=a&&g;if(y&&h.length>0&&!e.call(h,0))for(var D=0;D<h.length;++D)b.push(String(D));if(p&&h.length>0)for(var _=0;_<h.length;++_)b.push(String(_));else for(var T in h)!(v&&T==="prototype")&&e.call(h,T)&&b.push(String(T));if(o)for(var S=d(h),C=0;C<s.length;++C)!(S&&s[C]==="constructor")&&e.call(h,s[C])&&b.push(s[C]);return b}}return bu=t,bu}var vu,nb;function Ag(){if(nb)return vu;nb=1;var t=Array.prototype.slice,e=Sw(),n=Object.keys,r=n?function(a){return n(a)}:YF(),i=Object.keys;return r.shim=function(){if(Object.keys){var a=function(){var s=Object.keys(arguments);return s&&s.length===arguments.length}(1,2);a||(Object.keys=function(c){return e(c)?i(t.call(c)):i(c)})}else Object.keys=r;return Object.keys||r},vu=r,vu}var xu,rb;function il(){if(rb)return xu;rb=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return xu=t,xu}var Du,ib;function Cg(){return ib||(ib=1,Du=SyntaxError),Du}var _u,ob;function on(){return ob||(ob=1,_u=TypeError),_u}var wu,ab;function QF(){return ab||(ab=1,wu=Object.getOwnPropertyDescriptor),wu}var Eu,sb;function fi(){if(sb)return Eu;sb=1;var t=QF();if(t)try{t([],"length")}catch{t=null}return Eu=t,Eu}var Tu,cb;function Ug(){if(cb)return Tu;cb=1;var t=il(),e=Cg(),n=on(),r=fi();return Tu=function(o,a,s){if(!o||typeof o!="object"&&typeof o!="function")throw new n("`obj` must be an object or a function`");if(typeof a!="string"&&typeof a!="symbol")throw new n("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new n("`loose`, if provided, must be a boolean");var c=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,f=!!r&&r(o,a);if(t)t(o,a,{configurable:u===null&&f?f.configurable:!u,enumerable:c===null&&f?f.enumerable:!c,value:s,writable:l===null&&f?f.writable:!l});else if(d||!c&&!l&&!u)o[a]=s;else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Tu}var Su,lb;function kg(){if(lb)return Su;lb=1;var t=il(),e=function(){return!!t};return e.hasArrayLengthDefineBug=function(){if(!t)return null;try{return t([],"length",{value:1}).length!==1}catch{return!0}},Su=e,Su}var Au,ub;function hi(){if(ub)return Au;ub=1;var t=Ag(),e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",n=Object.prototype.toString,r=Array.prototype.concat,i=Ug(),o=function(l){return typeof l=="function"&&n.call(l)==="[object Function]"},a=kg()(),s=function(l,u,d,f){if(u in l){if(f===!0){if(l[u]===d)return}else if(!o(f)||!f())return}a?i(l,u,d,!0):i(l,u,d)},c=function(l,u){var d=arguments.length>2?arguments[2]:{},f=t(u);e&&(f=r.call(f,Object.getOwnPropertySymbols(u)));for(var h=0;h<f.length;h+=1)s(l,f[h],u[f[h]],d[f[h]])};return c.supportsDescriptors=!!a,Au=c,Au}var Cu={exports:{}},Uu,db;function Og(){return db||(db=1,Uu=Object),Uu}var ku,fb;function Aw(){return fb||(fb=1,ku=Error),ku}var Ou,hb;function e4(){return hb||(hb=1,Ou=EvalError),Ou}var Ru,pb;function t4(){return pb||(pb=1,Ru=RangeError),Ru}var Fu,gb;function n4(){return gb||(gb=1,Fu=ReferenceError),Fu}var Iu,mb;function r4(){return mb||(mb=1,Iu=URIError),Iu}var Nu,yb;function i4(){return yb||(yb=1,Nu=Math.abs),Nu}var Bu,bb;function o4(){return bb||(bb=1,Bu=Math.floor),Bu}var Mu,vb;function a4(){return vb||(vb=1,Mu=Math.max),Mu}var Lu,xb;function s4(){return xb||(xb=1,Lu=Math.min),Lu}var Wu,Db;function c4(){return Db||(Db=1,Wu=Math.pow),Wu}var Pu,_b;function l4(){return _b||(_b=1,Pu=Math.round),Pu}var qu,wb;function u4(){return wb||(wb=1,qu=Number.isNaN||function(e){return e!==e}),qu}var zu,Eb;function d4(){if(Eb)return zu;Eb=1;var t=u4();return zu=function(n){return t(n)||n===0?n:n<0?-1:1},zu}var $u,Tb;function ol(){return Tb||(Tb=1,$u=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;e[n]=i;for(var o in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,n);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),$u}var ju,Sb;function Rg(){if(Sb)return ju;Sb=1;var t=typeof Symbol<"u"&&Symbol,e=ol();return ju=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},ju}var Vu,Ab;function Cw(){return Ab||(Ab=1,Vu=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Vu}var Hu,Cb;function Uw(){if(Cb)return Hu;Cb=1;var t=Og();return Hu=t.getPrototypeOf||null,Hu}var Gu,Ub;function f4(){if(Ub)return Gu;Ub=1;var t="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,n=Math.max,r="[object Function]",i=function(c,l){for(var u=[],d=0;d<c.length;d+=1)u[d]=c[d];for(var f=0;f<l.length;f+=1)u[f+c.length]=l[f];return u},o=function(c,l){for(var u=[],d=l,f=0;d<c.length;d+=1,f+=1)u[f]=c[d];return u},a=function(s,c){for(var l="",u=0;u<s.length;u+=1)l+=s[u],u+1<s.length&&(l+=c);return l};return Gu=function(c){var l=this;if(typeof l!="function"||e.apply(l)!==r)throw new TypeError(t+l);for(var u=o(arguments,1),d,f=function(){if(this instanceof d){var y=l.apply(this,i(u,arguments));return Object(y)===y?y:this}return l.apply(c,i(u,arguments))},h=n(0,l.length-u.length),m=[],g=0;g<h;g++)m[g]="$"+g;if(d=Function("binder","return function ("+a(m,",")+"){ return binder.apply(this,arguments); }")(f),l.prototype){var p=function(){};p.prototype=l.prototype,d.prototype=new p,p.prototype=null}return d},Gu}var Xu,kb;function ba(){if(kb)return Xu;kb=1;var t=f4();return Xu=Function.prototype.bind||t,Xu}var Ku,Ob;function Fg(){return Ob||(Ob=1,Ku=Function.prototype.call),Ku}var Zu,Rb;function Ig(){return Rb||(Rb=1,Zu=Function.prototype.apply),Zu}var Ju,Fb;function h4(){return Fb||(Fb=1,Ju=typeof Reflect<"u"&&Reflect&&Reflect.apply),Ju}var Yu,Ib;function kw(){if(Ib)return Yu;Ib=1;var t=ba(),e=Ig(),n=Fg(),r=h4();return Yu=r||t.call(n,e),Yu}var Qu,Nb;function Ng(){if(Nb)return Qu;Nb=1;var t=ba(),e=on(),n=Fg(),r=kw();return Qu=function(o){if(o.length<1||typeof o[0]!="function")throw new e("a function is required");return r(t,n,o)},Qu}var ed,Bb;function p4(){if(Bb)return ed;Bb=1;var t=Ng(),e=fi(),n;try{n=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var r=!!n&&e&&e(Object.prototype,"__proto__"),i=Object,o=i.getPrototypeOf;return ed=r&&typeof r.get=="function"?t([r.get]):typeof o=="function"?function(s){return o(s==null?s:i(s))}:!1,ed}var td,Mb;function Ow(){if(Mb)return td;Mb=1;var t=Cw(),e=Uw(),n=p4();return td=t?function(i){return t(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:n?function(i){return n(i)}:null,td}var nd,Lb;function Bg(){if(Lb)return nd;Lb=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,n=ba();return nd=n.call(t,e),nd}var rd,Wb;function Yn(){if(Wb)return rd;Wb=1;var t,e=Og(),n=Aw(),r=e4(),i=t4(),o=n4(),a=Cg(),s=on(),c=r4(),l=i4(),u=o4(),d=a4(),f=s4(),h=c4(),m=l4(),g=d4(),p=Function,y=function(me){try{return p('"use strict"; return ('+me+").constructor;")()}catch{}},b=fi(),v=il(),D=function(){throw new s},_=b?function(){try{return arguments.callee,D}catch{try{return b(arguments,"callee").get}catch{return D}}}():D,T=Rg()(),S=Ow(),C=Uw(),A=Cw(),O=Ig(),P=Fg(),E={},k=typeof Uint8Array>"u"||!S?t:S(Uint8Array),x={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?t:ArrayBuffer,"%ArrayIteratorPrototype%":T&&S?S([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":E,"%AsyncGenerator%":E,"%AsyncGeneratorFunction%":E,"%AsyncIteratorPrototype%":E,"%Atomics%":typeof Atomics>"u"?t:Atomics,"%BigInt%":typeof BigInt>"u"?t:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?t:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?t:Float32Array,"%Float64Array%":typeof Float64Array>"u"?t:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?t:FinalizationRegistry,"%Function%":p,"%GeneratorFunction%":E,"%Int8Array%":typeof Int8Array>"u"?t:Int8Array,"%Int16Array%":typeof Int16Array>"u"?t:Int16Array,"%Int32Array%":typeof Int32Array>"u"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":T&&S?S(S([][Symbol.iterator]())):t,"%JSON%":typeof JSON=="object"?JSON:t,"%Map%":typeof Map>"u"?t:Map,"%MapIteratorPrototype%":typeof Map>"u"||!T||!S?t:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?t:Promise,"%Proxy%":typeof Proxy>"u"?t:Proxy,"%RangeError%":i,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?t:Set,"%SetIteratorPrototype%":typeof Set>"u"||!T||!S?t:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":T&&S?S(""[Symbol.iterator]()):t,"%Symbol%":T?Symbol:t,"%SyntaxError%":a,"%ThrowTypeError%":_,"%TypedArray%":k,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?t:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?t:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?t:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?t:Uint32Array,"%URIError%":c,"%WeakMap%":typeof WeakMap>"u"?t:WeakMap,"%WeakRef%":typeof WeakRef>"u"?t:WeakRef,"%WeakSet%":typeof WeakSet>"u"?t:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":O,"%Object.defineProperty%":v,"%Object.getPrototypeOf%":C,"%Math.abs%":l,"%Math.floor%":u,"%Math.max%":d,"%Math.min%":f,"%Math.pow%":h,"%Math.round%":m,"%Math.sign%":g,"%Reflect.getPrototypeOf%":A};if(S)try{null.error}catch(me){var z=S(S(me));x["%Error.prototype%"]=z}var R=function me(fe){var ge;if(fe==="%AsyncFunction%")ge=y("async function () {}");else if(fe==="%GeneratorFunction%")ge=y("function* () {}");else if(fe==="%AsyncGeneratorFunction%")ge=y("async function* () {}");else if(fe==="%AsyncGenerator%"){var ye=me("%AsyncGeneratorFunction%");ye&&(ge=ye.prototype)}else if(fe==="%AsyncIteratorPrototype%"){var be=me("%AsyncGenerator%");be&&S&&(ge=S(be.prototype))}return x[fe]=ge,ge},F={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},G=ba(),B=Bg(),V=G.call(P,Array.prototype.concat),L=G.call(O,Array.prototype.splice),I=G.call(P,String.prototype.replace),ne=G.call(P,String.prototype.slice),H=G.call(P,RegExp.prototype.exec),Z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,le=/\\(\\)?/g,he=function(fe){var ge=ne(fe,0,1),ye=ne(fe,-1);if(ge==="%"&&ye!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(ye==="%"&&ge!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var be=[];return I(fe,Z,function(w,X,$,W){be[be.length]=$?I(W,le,"$1"):X||w}),be},de=function(fe,ge){var ye=fe,be;if(B(F,ye)&&(be=F[ye],ye="%"+be[0]+"%"),B(x,ye)){var w=x[ye];if(w===E&&(w=R(ye)),typeof w>"u"&&!ge)throw new s("intrinsic "+fe+" exists, but is not available. Please file an issue!");return{alias:be,name:ye,value:w}}throw new a("intrinsic "+fe+" does not exist!")};return rd=function(fe,ge){if(typeof fe!="string"||fe.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ge!="boolean")throw new s('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,fe)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ye=he(fe),be=ye.length>0?ye[0]:"",w=de("%"+be+"%",ge),X=w.name,$=w.value,W=!1,M=w.alias;M&&(be=M[0],L(ye,V([0,1],M)));for(var j=1,oe=!0;j<ye.length;j+=1){var re=ye[j],Y=ne(re,0,1),q=ne(re,-1);if((Y==='"'||Y==="'"||Y==="`"||q==='"'||q==="'"||q==="`")&&Y!==q)throw new a("property names with quotes must have matching quotes");if((re==="constructor"||!oe)&&(W=!0),be+="."+re,X="%"+be+"%",B(x,X))$=x[X];else if($!=null){if(!(re in $)){if(!ge)throw new s("base intrinsic for "+fe+" exists, but the property is not available.");return}if(b&&j+1>=ye.length){var J=b($,re);oe=!!J,oe&&"get"in J&&!("originalValue"in J.get)?$=J.get:$=$[re]}else oe=B($,re),$=$[re];oe&&!W&&(x[X]=$)}}return $},rd}var id,Pb;function g4(){if(Pb)return id;Pb=1;var t=Yn(),e=Ug(),n=kg()(),r=fi(),i=on(),o=t("%Math.floor%");return id=function(s,c){if(typeof s!="function")throw new i("`fn` is not a function");if(typeof c!="number"||c<0||c>4294967295||o(c)!==c)throw new i("`length` must be a positive 32-bit integer");var l=arguments.length>2&&!!arguments[2],u=!0,d=!0;if("length"in s&&r){var f=r(s,"length");f&&!f.configurable&&(u=!1),f&&!f.writable&&(d=!1)}return(u||d||!l)&&(n?e(s,"length",c,!0,!0):e(s,"length",c)),s},id}var od,qb;function m4(){if(qb)return od;qb=1;var t=ba(),e=Ig(),n=kw();return od=function(){return n(t,e,arguments)},od}var zb;function co(){return zb||(zb=1,function(t){var e=g4(),n=il(),r=Ng(),i=m4();t.exports=function(a){var s=r(arguments),c=a.length-(arguments.length-1);return e(s,1+(c>0?c:0),!0)},n?n(t.exports,"apply",{value:i}):t.exports.apply=i}(Cu)),Cu.exports}var ad,$b;function _t(){if($b)return ad;$b=1;var t=Yn(),e=Ng(),n=e([t("%String.prototype.indexOf%")]);return ad=function(i,o){var a=t(i,!!o);return typeof a=="function"&&n(i,".prototype.")>-1?e([a]):a},ad}var sd,jb;function Rw(){if(jb)return sd;jb=1;var t=Ag(),e=ol()(),n=_t(),r=Og(),i=n("Array.prototype.push"),o=n("Object.prototype.propertyIsEnumerable"),a=e?r.getOwnPropertySymbols:null;return sd=function(c,l){if(c==null)throw new TypeError("target must be an object");var u=r(c);if(arguments.length===1)return u;for(var d=1;d<arguments.length;++d){var f=r(arguments[d]),h=t(f),m=e&&(r.getOwnPropertySymbols||a);if(m)for(var g=m(f),p=0;p<g.length;++p){var y=g[p];o(f,y)&&i(h,y)}for(var b=0;b<h.length;++b){var v=h[b];if(o(f,v)){var D=f[v];u[v]=D}}}return u},sd}var cd,Vb;function Fw(){if(Vb)return cd;Vb=1;var t=Rw(),e=function(){if(!Object.assign)return!1;for(var r="abcdefghijklmnopqrst",i=r.split(""),o={},a=0;a<i.length;++a)o[i[a]]=i[a];var s=Object.assign({},o),c="";for(var l in s)c+=l;return r!==c},n=function(){if(!Object.assign||!Object.preventExtensions)return!1;var r=Object.preventExtensions({1:2});try{Object.assign(r,"xy")}catch{return r[1]==="y"}return!1};return cd=function(){return!Object.assign||e()||n()?t:Object.assign},cd}var ld,Hb;function y4(){if(Hb)return ld;Hb=1;var t=hi(),e=Fw();return ld=function(){var r=e();return t(Object,{assign:r},{assign:function(){return Object.assign!==r}}),r},ld}var ud,Gb;function b4(){if(Gb)return ud;Gb=1;var t=hi(),e=co(),n=Rw(),r=Fw(),i=y4(),o=e.apply(r()),a=function(c,l){return o(Object,arguments)};return t(a,{getPolyfill:r,implementation:n,shim:i}),ud=a,ud}var dd,Xb;function Iw(){if(Xb)return dd;Xb=1;var t=Yn(),e=co(),n=e(t("String.prototype.indexOf"));return dd=function(i,o){var a=t(i,!!o);return typeof a=="function"&&n(i,".prototype.")>-1?e(a):a},dd}var fd,Kb;function v4(){if(Kb)return fd;Kb=1;var t=function(){return typeof(function(){}).name=="string"},e=Object.getOwnPropertyDescriptor;if(e)try{e([],"length")}catch{e=null}t.functionsHaveConfigurableNames=function(){if(!t()||!e)return!1;var i=e(function(){},"name");return!!i&&!!i.configurable};var n=Function.prototype.bind;return t.boundFunctionsHaveNames=function(){return t()&&typeof n=="function"&&(function(){}).bind().name!==""},fd=t,fd}var hd,Zb;function x4(){if(Zb)return hd;Zb=1;var t=Ug(),e=kg()(),n=v4().functionsHaveConfigurableNames(),r=on();return hd=function(o,a){if(typeof o!="function")throw new r("`fn` is not a function");var s=arguments.length>2&&!!arguments[2];return(!s||n)&&(e?t(o,"name",a,!0,!0):t(o,"name",a)),o},hd}var pd,Jb;function Nw(){if(Jb)return pd;Jb=1;var t=x4(),e=on(),n=Object;return pd=t(function(){if(this==null||this!==n(this))throw new e("RegExp.prototype.flags getter called on non-object");var i="";return this.hasIndices&&(i+="d"),this.global&&(i+="g"),this.ignoreCase&&(i+="i"),this.multiline&&(i+="m"),this.dotAll&&(i+="s"),this.unicode&&(i+="u"),this.unicodeSets&&(i+="v"),this.sticky&&(i+="y"),i},"get flags",!0),pd}var gd,Yb;function Bw(){if(Yb)return gd;Yb=1;var t=Nw(),e=hi().supportsDescriptors,n=Object.getOwnPropertyDescriptor;return gd=function(){if(e&&/a/mig.flags==="gim"){var i=n(RegExp.prototype,"flags");if(i&&typeof i.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var o="",a={};if(Object.defineProperty(a,"hasIndices",{get:function(){o+="d"}}),Object.defineProperty(a,"sticky",{get:function(){o+="y"}}),i.get.call(a),o==="dy")return i.get}}return t},gd}var md,Qb;function D4(){if(Qb)return md;Qb=1;var t=hi().supportsDescriptors,e=Bw(),n=fi(),r=Object.defineProperty,i=Aw(),o=Ow(),a=/a/;return md=function(){if(!t||!o)throw new i("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var c=e(),l=o(a),u=n(l,"flags");return(!u||u.get!==c)&&r(l,"flags",{configurable:!0,enumerable:!1,get:c}),c},md}var yd,e2;function _4(){if(e2)return yd;e2=1;var t=hi(),e=co(),n=Nw(),r=Bw(),i=D4(),o=e(r());return t(o,{getPolyfill:r,implementation:n,shim:i}),yd=o,yd}var xo={exports:{}},bd,t2;function pi(){if(t2)return bd;t2=1;var t=ol();return bd=function(){return t()&&!!Symbol.toStringTag},bd}var vd,n2;function Mw(){if(n2)return vd;n2=1;var t=pi()(),e=_t(),n=e("Object.prototype.toString"),r=function(s){return t&&s&&typeof s=="object"&&Symbol.toStringTag in s?!1:n(s)==="[object Arguments]"},i=function(s){return r(s)?!0:s!==null&&typeof s=="object"&&"length"in s&&typeof s.length=="number"&&s.length>=0&&n(s)!=="[object Array]"&&"callee"in s&&n(s.callee)==="[object Function]"},o=function(){return r(arguments)}();return r.isLegacyArguments=i,vd=o?r:i,vd}const w4={},E4=Object.freeze(Object.defineProperty({__proto__:null,default:w4},Symbol.toStringTag,{value:"Module"})),T4=Tw(E4);var xd,r2;function al(){if(r2)return xd;r2=1;var t=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=t&&e&&typeof e.get=="function"?e.get:null,r=t&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,o=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,a=i&&o&&typeof o.get=="function"?o.get:null,s=i&&Set.prototype.forEach,c=typeof WeakMap=="function"&&WeakMap.prototype,l=c?WeakMap.prototype.has:null,u=typeof WeakSet=="function"&&WeakSet.prototype,d=u?WeakSet.prototype.has:null,f=typeof WeakRef=="function"&&WeakRef.prototype,h=f?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,g=Object.prototype.toString,p=Function.prototype.toString,y=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,D=String.prototype.toUpperCase,_=String.prototype.toLowerCase,T=RegExp.prototype.test,S=Array.prototype.concat,C=Array.prototype.join,A=Array.prototype.slice,O=Math.floor,P=typeof BigInt=="function"?BigInt.prototype.valueOf:null,E=Object.getOwnPropertySymbols,k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,x=typeof Symbol=="function"&&typeof Symbol.iterator=="object",z=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===x||!0)?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,F=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(ee){return ee.__proto__}:null);function G(ee,ie){if(ee===1/0||ee===-1/0||ee!==ee||ee&&ee>-1e3&&ee<1e3||T.call(/e/,ie))return ie;var Fe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof ee=="number"){var Me=ee<0?-O(-ee):O(ee);if(Me!==ee){var ze=String(Me),U=b.call(ie,ze.length+1);return v.call(ze,Fe,"$&_")+"."+v.call(v.call(U,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(ie,Fe,"$&_")}var B=T4,V=B.custom,L=w(V)?V:null,I={__proto__:null,double:'"',single:"'"},ne={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};xd=function ee(ie,Fe,Me,ze){var U=Fe||{};if(W(U,"quoteStyle")&&!W(I,U.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(U,"maxStringLength")&&(typeof U.maxStringLength=="number"?U.maxStringLength<0&&U.maxStringLength!==1/0:U.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var N=W(U,"customInspect")?U.customInspect:!0;if(typeof N!="boolean"&&N!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(U,"indent")&&U.indent!==null&&U.indent!==" "&&!(parseInt(U.indent,10)===U.indent&&U.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(U,"numericSeparator")&&typeof U.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var K=U.numericSeparator;if(typeof ie>"u")return"undefined";if(ie===null)return"null";if(typeof ie=="boolean")return ie?"true":"false";if(typeof ie=="string")return xe(ie,U);if(typeof ie=="number"){if(ie===0)return 1/0/ie>0?"0":"-0";var se=String(ie);return K?G(ie,se):se}if(typeof ie=="bigint"){var _e=String(ie)+"n";return K?G(ie,_e):_e}var ke=typeof U.depth>"u"?5:U.depth;if(typeof Me>"u"&&(Me=0),Me>=ke&&ke>0&&typeof ie=="object")return he(ie)?"[Array]":"[Object]";var Pe=ve(U,Me);if(typeof ze>"u")ze=[];else if(oe(ze,ie)>=0)return"[Circular]";function He(Di,wa,XT){if(wa&&(ze=A.call(ze),ze.push(wa)),XT){var Om={depth:U.depth};return W(U,"quoteStyle")&&(Om.quoteStyle=U.quoteStyle),ee(Di,Om,Me+1,ze)}return ee(Di,U,Me+1,ze)}if(typeof ie=="function"&&!me(ie)){var Ht=j(ie),an=Oe(ie,He);return"[Function"+(Ht?": "+Ht:" (anonymous)")+"]"+(an.length>0?" { "+C.call(an,", ")+" }":"")}if(w(ie)){var Gt=x?v.call(String(ie),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(ie);return typeof ie=="object"&&!x?Ce(Gt):Gt}if(ae(ie)){for(var Wt="<"+_.call(String(ie.nodeName)),sn=ie.attributes||[],Xt=0;Xt<sn.length;Xt++)Wt+=" "+sn[Xt].name+"="+H(Z(sn[Xt].value),"double",U);return Wt+=">",ie.childNodes&&ie.childNodes.length&&(Wt+="..."),Wt+="</"+_.call(String(ie.nodeName))+">",Wt}if(he(ie)){if(ie.length===0)return"[]";var Ot=Oe(ie,He);return Pe&&!ue(Ot)?"["+Se(Ot,Pe)+"]":"[ "+C.call(Ot,", ")+" ]"}if(fe(ie)){var cn=Oe(ie,He);return!("cause"in Error.prototype)&&"cause"in ie&&!R.call(ie,"cause")?"{ ["+String(ie)+"] "+C.call(S.call("[cause]: "+He(ie.cause),cn),", ")+" }":cn.length===0?"["+String(ie)+"]":"{ ["+String(ie)+"] "+C.call(cn,", ")+" }"}if(typeof ie=="object"&&N){if(L&&typeof ie[L]=="function"&&B)return B(ie,{depth:ke-Me});if(N!=="symbol"&&typeof ie.inspect=="function")return ie.inspect()}if(re(ie)){var Qn=[];return r&&r.call(ie,function(Di,wa){Qn.push(He(wa,ie,!0)+" => "+He(Di,ie))}),te("Map",n.call(ie),Qn,Pe)}if(J(ie)){var ot=[];return s&&s.call(ie,function(Di){ot.push(He(Di,ie))}),te("Set",a.call(ie),ot,Pe)}if(Y(ie))return Ae("WeakMap");if(Q(ie))return Ae("WeakSet");if(q(ie))return Ae("WeakRef");if(ye(ie))return Ce(He(Number(ie)));if(X(ie))return Ce(He(P.call(ie)));if(be(ie))return Ce(m.call(ie));if(ge(ie))return Ce(He(String(ie)));if(typeof window<"u"&&ie===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ie===globalThis||typeof tn<"u"&&ie===tn)return"{ [object globalThis] }";if(!de(ie)&&!me(ie)){var vi=Oe(ie,He),Fn=F?F(ie)===Object.prototype:ie instanceof Object||ie.constructor===Object,xi=ie instanceof Object?"":"null prototype",km=!Fn&&z&&Object(ie)===ie&&z in ie?b.call(M(ie),8,-1):xi?"Object":"",GT=Fn||typeof ie.constructor!="function"?"":ie.constructor.name?ie.constructor.name+" ":"",Rl=GT+(km||xi?"["+C.call(S.call([],km||[],xi||[]),": ")+"] ":"");return vi.length===0?Rl+"{}":Pe?Rl+"{"+Se(vi,Pe)+"}":Rl+"{ "+C.call(vi,", ")+" }"}return String(ie)};function H(ee,ie,Fe){var Me=Fe.quoteStyle||ie,ze=I[Me];return ze+ee+ze}function Z(ee){return v.call(String(ee),/"/g,"&quot;")}function le(ee){return!z||!(typeof ee=="object"&&(z in ee||typeof ee[z]<"u"))}function he(ee){return M(ee)==="[object Array]"&&le(ee)}function de(ee){return M(ee)==="[object Date]"&&le(ee)}function me(ee){return M(ee)==="[object RegExp]"&&le(ee)}function fe(ee){return M(ee)==="[object Error]"&&le(ee)}function ge(ee){return M(ee)==="[object String]"&&le(ee)}function ye(ee){return M(ee)==="[object Number]"&&le(ee)}function be(ee){return M(ee)==="[object Boolean]"&&le(ee)}function w(ee){if(x)return ee&&typeof ee=="object"&&ee instanceof Symbol;if(typeof ee=="symbol")return!0;if(!ee||typeof ee!="object"||!k)return!1;try{return k.call(ee),!0}catch{}return!1}function X(ee){if(!ee||typeof ee!="object"||!P)return!1;try{return P.call(ee),!0}catch{}return!1}var $=Object.prototype.hasOwnProperty||function(ee){return ee in this};function W(ee,ie){return $.call(ee,ie)}function M(ee){return g.call(ee)}function j(ee){if(ee.name)return ee.name;var ie=y.call(p.call(ee),/^function\s*([\w$]+)/);return ie?ie[1]:null}function oe(ee,ie){if(ee.indexOf)return ee.indexOf(ie);for(var Fe=0,Me=ee.length;Fe<Me;Fe++)if(ee[Fe]===ie)return Fe;return-1}function re(ee){if(!n||!ee||typeof ee!="object")return!1;try{n.call(ee);try{a.call(ee)}catch{return!0}return ee instanceof Map}catch{}return!1}function Y(ee){if(!l||!ee||typeof ee!="object")return!1;try{l.call(ee,l);try{d.call(ee,d)}catch{return!0}return ee instanceof WeakMap}catch{}return!1}function q(ee){if(!h||!ee||typeof ee!="object")return!1;try{return h.call(ee),!0}catch{}return!1}function J(ee){if(!a||!ee||typeof ee!="object")return!1;try{a.call(ee);try{n.call(ee)}catch{return!0}return ee instanceof Set}catch{}return!1}function Q(ee){if(!d||!ee||typeof ee!="object")return!1;try{d.call(ee,d);try{l.call(ee,l)}catch{return!0}return ee instanceof WeakSet}catch{}return!1}function ae(ee){return!ee||typeof ee!="object"?!1:typeof HTMLElement<"u"&&ee instanceof HTMLElement?!0:typeof ee.nodeName=="string"&&typeof ee.getAttribute=="function"}function xe(ee,ie){if(ee.length>ie.maxStringLength){var Fe=ee.length-ie.maxStringLength,Me="... "+Fe+" more character"+(Fe>1?"s":"");return xe(b.call(ee,0,ie.maxStringLength),ie)+Me}var ze=ne[ie.quoteStyle||"single"];ze.lastIndex=0;var U=v.call(v.call(ee,ze,"\\$1"),/[\x00-\x1f]/g,Ee);return H(U,"single",ie)}function Ee(ee){var ie=ee.charCodeAt(0),Fe={8:"b",9:"t",10:"n",12:"f",13:"r"}[ie];return Fe?"\\"+Fe:"\\x"+(ie<16?"0":"")+D.call(ie.toString(16))}function Ce(ee){return"Object("+ee+")"}function Ae(ee){return ee+" { ? }"}function te(ee,ie,Fe,Me){var ze=Me?Se(Fe,Me):C.call(Fe,", ");return ee+" ("+ie+") {"+ze+"}"}function ue(ee){for(var ie=0;ie<ee.length;ie++)if(oe(ee[ie],`
53
+ `)>=0)return!1;return!0}function ve(ee,ie){var Fe;if(ee.indent===" ")Fe=" ";else if(typeof ee.indent=="number"&&ee.indent>0)Fe=C.call(Array(ee.indent+1)," ");else return null;return{base:Fe,prev:C.call(Array(ie+1),Fe)}}function Se(ee,ie){if(ee.length===0)return"";var Fe=`
54
+ `+ie.prev+ie.base;return Fe+C.call(ee,","+Fe)+`
55
+ `+ie.prev}function Oe(ee,ie){var Fe=he(ee),Me=[];if(Fe){Me.length=ee.length;for(var ze=0;ze<ee.length;ze++)Me[ze]=W(ee,ze)?ie(ee[ze],ee):""}var U=typeof E=="function"?E(ee):[],N;if(x){N={};for(var K=0;K<U.length;K++)N["$"+U[K]]=U[K]}for(var se in ee)W(ee,se)&&(Fe&&String(Number(se))===se&&se<ee.length||x&&N["$"+se]instanceof Symbol||(T.call(/[^\w$]/,se)?Me.push(ie(se,ee)+": "+ie(ee[se],ee)):Me.push(se+": "+ie(ee[se],ee))));if(typeof E=="function")for(var _e=0;_e<U.length;_e++)R.call(ee,U[_e])&&Me.push("["+ie(U[_e])+"]: "+ie(ee[U[_e]],ee));return Me}return xd}var Dd,i2;function S4(){if(i2)return Dd;i2=1;var t=al(),e=on(),n=function(s,c,l){for(var u=s,d;(d=u.next)!=null;u=d)if(d.key===c)return u.next=d.next,l||(d.next=s.next,s.next=d),d},r=function(s,c){if(s){var l=n(s,c);return l&&l.value}},i=function(s,c,l){var u=n(s,c);u?u.value=l:s.next={key:c,next:s.next,value:l}},o=function(s,c){return s?!!n(s,c):!1},a=function(s,c){if(s)return n(s,c,!0)};return Dd=function(){var c,l={assert:function(u){if(!l.has(u))throw new e("Side channel does not contain "+t(u))},delete:function(u){var d=c&&c.next,f=a(c,u);return f&&d&&d===f&&(c=void 0),!!f},get:function(u){return r(c,u)},has:function(u){return o(c,u)},set:function(u,d){c||(c={next:void 0}),i(c,u,d)}};return l},Dd}var _d,o2;function Lw(){if(o2)return _d;o2=1;var t=Yn(),e=_t(),n=al(),r=on(),i=t("%Map%",!0),o=e("Map.prototype.get",!0),a=e("Map.prototype.set",!0),s=e("Map.prototype.has",!0),c=e("Map.prototype.delete",!0),l=e("Map.prototype.size",!0);return _d=!!i&&function(){var d,f={assert:function(h){if(!f.has(h))throw new r("Side channel does not contain "+n(h))},delete:function(h){if(d){var m=c(d,h);return l(d)===0&&(d=void 0),m}return!1},get:function(h){if(d)return o(d,h)},has:function(h){return d?s(d,h):!1},set:function(h,m){d||(d=new i),a(d,h,m)}};return f},_d}var wd,a2;function A4(){if(a2)return wd;a2=1;var t=Yn(),e=_t(),n=al(),r=Lw(),i=on(),o=t("%WeakMap%",!0),a=e("WeakMap.prototype.get",!0),s=e("WeakMap.prototype.set",!0),c=e("WeakMap.prototype.has",!0),l=e("WeakMap.prototype.delete",!0);return wd=o?function(){var d,f,h={assert:function(m){if(!h.has(m))throw new i("Side channel does not contain "+n(m))},delete:function(m){if(o&&m&&(typeof m=="object"||typeof m=="function")){if(d)return l(d,m)}else if(r&&f)return f.delete(m);return!1},get:function(m){return o&&m&&(typeof m=="object"||typeof m=="function")&&d?a(d,m):f&&f.get(m)},has:function(m){return o&&m&&(typeof m=="object"||typeof m=="function")&&d?c(d,m):!!f&&f.has(m)},set:function(m,g){o&&m&&(typeof m=="object"||typeof m=="function")?(d||(d=new o),s(d,m,g)):r&&(f||(f=r()),f.set(m,g))}};return h}:r,wd}var Ed,s2;function Ww(){if(s2)return Ed;s2=1;var t=on(),e=al(),n=S4(),r=Lw(),i=A4(),o=i||r||n;return Ed=function(){var s,c={assert:function(l){if(!c.has(l))throw new t("Side channel does not contain "+e(l))},delete:function(l){return!!s&&s.delete(l)},get:function(l){return s&&s.get(l)},has:function(l){return!!s&&s.has(l)},set:function(l,u){s||(s=o()),s.set(l,u)}};return c},Ed}var Td,c2;function C4(){if(c2)return Td;c2=1;var t=Bg(),e=Ww()(),n=on(),r={assert:function(i,o){if(!i||typeof i!="object"&&typeof i!="function")throw new n("`O` is not an object");if(typeof o!="string")throw new n("`slot` must be a string");if(e.assert(i),!r.has(i,o))throw new n("`"+o+"` is not present on `O`")},get:function(i,o){if(!i||typeof i!="object"&&typeof i!="function")throw new n("`O` is not an object");if(typeof o!="string")throw new n("`slot` must be a string");var a=e.get(i);return a&&a["$"+o]},has:function(i,o){if(!i||typeof i!="object"&&typeof i!="function")throw new n("`O` is not an object");if(typeof o!="string")throw new n("`slot` must be a string");var a=e.get(i);return!!a&&t(a,"$"+o)},set:function(i,o,a){if(!i||typeof i!="object"&&typeof i!="function")throw new n("`O` is not an object");if(typeof o!="string")throw new n("`slot` must be a string");var s=e.get(i);s||(s={},e.set(i,s)),s["$"+o]=a}};return Object.freeze&&Object.freeze(r),Td=r,Td}var Sd,l2;function U4(){if(l2)return Sd;l2=1;var t=C4(),e=Cg(),n=typeof StopIteration=="object"?StopIteration:null;return Sd=function(i){if(!n)throw new e("this environment lacks StopIteration");t.set(i,"[[Done]]",!1);var o={next:function(){var s=t.get(this,"[[Iterator]]"),c=!!t.get(s,"[[Done]]");try{return{done:c,value:c?void 0:s.next()}}catch(l){if(t.set(s,"[[Done]]",!0),l!==n)throw l;return{done:!0,value:void 0}}}};return t.set(o,"[[Iterator]]",i),o},Sd}var Ad,u2;function Pw(){if(u2)return Ad;u2=1;var t={}.toString;return Ad=Array.isArray||function(e){return t.call(e)=="[object Array]"},Ad}var Cd,d2;function qw(){if(d2)return Cd;d2=1;var t=_t(),e=t("String.prototype.valueOf"),n=function(s){try{return e(s),!0}catch{return!1}},r=t("Object.prototype.toString"),i="[object String]",o=pi()();return Cd=function(s){return typeof s=="string"?!0:!s||typeof s!="object"?!1:o?n(s):r(s)===i},Cd}var Ud,f2;function zw(){if(f2)return Ud;f2=1;var t=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,n;t||(n=function(a){return!1});var r=t?Map.prototype.has:null,i=e?Set.prototype.has:null;return!n&&!r&&(n=function(a){return!1}),Ud=n||function(a){if(!a||typeof a!="object")return!1;try{if(r.call(a),i)try{i.call(a)}catch{return!0}return a instanceof t}catch{}return!1},Ud}var kd,h2;function $w(){if(h2)return kd;h2=1;var t=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,n;e||(n=function(a){return!1});var r=t?Map.prototype.has:null,i=e?Set.prototype.has:null;return!n&&!i&&(n=function(a){return!1}),kd=n||function(a){if(!a||typeof a!="object")return!1;try{if(i.call(a),r)try{r.call(a)}catch{return!0}return a instanceof e}catch{}return!1},kd}var p2;function k4(){if(p2)return xo.exports;p2=1;var t=Mw(),e=U4();if(Rg()()||ol()()){var n=Symbol.iterator;xo.exports=function(A){if(A!=null&&typeof A[n]<"u")return A[n]();if(t(A))return Array.prototype[n].call(A)}}else{var r=Pw(),i=qw(),o=Yn(),a=o("%Map%",!0),s=o("%Set%",!0),c=Iw(),l=c("Array.prototype.push"),u=c("String.prototype.charCodeAt"),d=c("String.prototype.slice"),f=function(A,O){var P=A.length;if(O+1>=P)return O+1;var E=u(A,O);if(E<55296||E>56319)return O+1;var k=u(A,O+1);return k<56320||k>57343?O+1:O+2},h=function(A){var O=0;return{next:function(){var E=O>=A.length,k;return E||(k=A[O],O+=1),{done:E,value:k}}}},m=function(A,O){if(r(A)||t(A))return h(A);if(i(A)){var P=0;return{next:function(){var k=f(A,P),x=d(A,P,k);return P=k,{done:k>A.length,value:x}}}}if(O&&typeof A["_es6-shim iterator_"]<"u")return A["_es6-shim iterator_"]()};if(!a&&!s)xo.exports=function(A){if(A!=null)return m(A,!0)};else{var g=zw(),p=$w(),y=c("Map.prototype.forEach",!0),b=c("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var v=c("Map.prototype.iterator",!0),D=c("Set.prototype.iterator",!0);var _=c("Map.prototype.@@iterator",!0)||c("Map.prototype._es6-shim iterator_",!0),T=c("Set.prototype.@@iterator",!0)||c("Set.prototype._es6-shim iterator_",!0),S=function(A){if(g(A)){if(v)return e(v(A));if(_)return _(A);if(y){var O=[];return y(A,function(E,k){l(O,[k,E])}),h(O)}}if(p(A)){if(D)return e(D(A));if(T)return T(A);if(b){var P=[];return b(A,function(E){l(P,E)}),h(P)}}};xo.exports=function(A){return S(A)||m(A)}}}return xo.exports}var Od,g2;function jw(){if(g2)return Od;g2=1;var t=function(e){return e!==e};return Od=function(n,r){return n===0&&r===0?1/n===1/r:!!(n===r||t(n)&&t(r))},Od}var Rd,m2;function Vw(){if(m2)return Rd;m2=1;var t=jw();return Rd=function(){return typeof Object.is=="function"?Object.is:t},Rd}var Fd,y2;function O4(){if(y2)return Fd;y2=1;var t=Vw(),e=hi();return Fd=function(){var r=t();return e(Object,{is:r},{is:function(){return Object.is!==r}}),r},Fd}var Id,b2;function R4(){if(b2)return Id;b2=1;var t=hi(),e=co(),n=jw(),r=Vw(),i=O4(),o=e(r(),Object);return t(o,{getPolyfill:r,implementation:n,shim:i}),Id=o,Id}var Nd,v2;function Hw(){if(v2)return Nd;v2=1;var t=co(),e=_t(),n=Yn(),r=n("%ArrayBuffer%",!0),i=e("ArrayBuffer.prototype.byteLength",!0),o=e("Object.prototype.toString"),a=!!r&&!i&&new r(0).slice,s=!!a&&t(a);return Nd=i||s?function(l){if(!l||typeof l!="object")return!1;try{return i?i(l):s(l,0),!0}catch{return!1}}:r?function(l){return o(l)==="[object ArrayBuffer]"}:function(l){return!1},Nd}var Bd,x2;function F4(){if(x2)return Bd;x2=1;var t=_t(),e=t("Date.prototype.getDay"),n=function(s){try{return e(s),!0}catch{return!1}},r=t("Object.prototype.toString"),i="[object Date]",o=pi()();return Bd=function(s){return typeof s!="object"||s===null?!1:o?n(s):r(s)===i},Bd}var Md,D2;function Gw(){if(D2)return Md;D2=1;var t=_t(),e=pi()(),n=Bg(),r=fi(),i;if(e){var o=t("RegExp.prototype.exec"),a={},s=function(){throw a},c={toString:s,valueOf:s};typeof Symbol.toPrimitive=="symbol"&&(c[Symbol.toPrimitive]=s),i=function(f){if(!f||typeof f!="object")return!1;var h=r(f,"lastIndex"),m=h&&n(h,"value");if(!m)return!1;try{o(f,c)}catch(g){return g===a}}}else{var l=t("Object.prototype.toString"),u="[object RegExp]";i=function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:l(f)===u}}return Md=i,Md}var Ld,_2;function I4(){if(_2)return Ld;_2=1;var t=_t(),e=t("SharedArrayBuffer.prototype.byteLength",!0);return Ld=e?function(r){if(!r||typeof r!="object")return!1;try{return e(r),!0}catch{return!1}}:function(r){return!1},Ld}var Wd,w2;function N4(){if(w2)return Wd;w2=1;var t=_t(),e=t("Number.prototype.toString"),n=function(s){try{return e(s),!0}catch{return!1}},r=t("Object.prototype.toString"),i="[object Number]",o=pi()();return Wd=function(s){return typeof s=="number"?!0:!s||typeof s!="object"?!1:o?n(s):r(s)===i},Wd}var Pd,E2;function B4(){if(E2)return Pd;E2=1;var t=_t(),e=t("Boolean.prototype.toString"),n=t("Object.prototype.toString"),r=function(s){try{return e(s),!0}catch{return!1}},i="[object Boolean]",o=pi()();return Pd=function(s){return typeof s=="boolean"?!0:s===null||typeof s!="object"?!1:o?r(s):n(s)===i},Pd}var Wa={exports:{}},qd,T2;function M4(){if(T2)return qd;T2=1;var t=_t(),e=Gw(),n=t("RegExp.prototype.exec"),r=on();return qd=function(o){if(!e(o))throw new r("`regex` must be a RegExp");return function(s){return n(o,s)!==null}},qd}var S2;function L4(){if(S2)return Wa.exports;S2=1;var t=_t(),e=t("Object.prototype.toString"),n=Rg()(),r=M4();if(n){var i=t("Symbol.prototype.toString"),o=r(/^Symbol\(.*\)$/),a=function(c){return typeof c.valueOf()!="symbol"?!1:o(i(c))};Wa.exports=function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||e(c)!=="[object Symbol]")return!1;try{return a(c)}catch{return!1}}}else Wa.exports=function(c){return!1};return Wa.exports}var Pa={exports:{}},zd,A2;function W4(){if(A2)return zd;A2=1;var t=typeof BigInt<"u"&&BigInt;return zd=function(){return typeof t=="function"&&typeof BigInt=="function"&&typeof t(42)=="bigint"&&typeof BigInt(42)=="bigint"},zd}var C2;function P4(){if(C2)return Pa.exports;C2=1;var t=W4()();if(t){var e=BigInt.prototype.valueOf,n=function(i){try{return e.call(i),!0}catch{}return!1};Pa.exports=function(i){return i===null||typeof i>"u"||typeof i=="boolean"||typeof i=="string"||typeof i=="number"||typeof i=="symbol"||typeof i=="function"?!1:typeof i=="bigint"?!0:n(i)}}else Pa.exports=function(i){return!1};return Pa.exports}var $d,U2;function q4(){if(U2)return $d;U2=1;var t=qw(),e=N4(),n=B4(),r=L4(),i=P4();return $d=function(a){if(a==null||typeof a!="object"&&typeof a!="function")return null;if(t(a))return"String";if(e(a))return"Number";if(n(a))return"Boolean";if(r(a))return"Symbol";if(i(a))return"BigInt"},$d}var jd,k2;function z4(){if(k2)return jd;k2=1;var t=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,e=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,n;t||(n=function(a){return!1});var r=t?t.prototype.has:null,i=e?e.prototype.has:null;return!n&&!r&&(n=function(a){return!1}),jd=n||function(a){if(!a||typeof a!="object")return!1;try{if(r.call(a,r),i)try{i.call(a,i)}catch{return!0}return a instanceof t}catch{}return!1},jd}var qa={exports:{}},O2;function $4(){if(O2)return qa.exports;O2=1;var t=Yn(),e=_t(),n=t("%WeakSet%",!0),r=e("WeakSet.prototype.has",!0);if(r){var i=e("WeakMap.prototype.has",!0);qa.exports=function(a){if(!a||typeof a!="object")return!1;try{if(r(a,r),i)try{i(a,i)}catch{return!0}return a instanceof n}catch{}return!1}}else qa.exports=function(a){return!1};return qa.exports}var Vd,R2;function j4(){if(R2)return Vd;R2=1;var t=zw(),e=$w(),n=z4(),r=$4();return Vd=function(o){if(o&&typeof o=="object"){if(t(o))return"Map";if(e(o))return"Set";if(n(o))return"WeakMap";if(r(o))return"WeakSet"}return!1},Vd}var Hd,F2;function V4(){if(F2)return Hd;F2=1;var t=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,n,r;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{n=Object.defineProperty({},"length",{get:function(){throw r}}),r={},e(function(){throw 42},null,n)}catch(b){b!==r&&(e=null)}else e=null;var i=/^\s*class\b/,o=function(v){try{var D=t.call(v);return i.test(D)}catch{return!1}},a=function(v){try{return o(v)?!1:(t.call(v),!0)}catch{return!1}},s=Object.prototype.toString,c="[object Object]",l="[object Function]",u="[object GeneratorFunction]",d="[object HTMLAllCollection]",f="[object HTML document.all class]",h="[object HTMLCollection]",m=typeof Symbol=="function"&&!!Symbol.toStringTag,g=!(0 in[,]),p=function(){return!1};if(typeof document=="object"){var y=document.all;s.call(y)===s.call(document.all)&&(p=function(v){if((g||!v)&&(typeof v>"u"||typeof v=="object"))try{var D=s.call(v);return(D===d||D===f||D===h||D===c)&&v("")==null}catch{}return!1})}return Hd=e?function(v){if(p(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;try{e(v,null,n)}catch(D){if(D!==r)return!1}return!o(v)&&a(v)}:function(v){if(p(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;if(m)return a(v);if(o(v))return!1;var D=s.call(v);return D!==l&&D!==u&&!/^\[object HTML/.test(D)?!1:a(v)},Hd}var Gd,I2;function H4(){if(I2)return Gd;I2=1;var t=V4(),e=Object.prototype.toString,n=Object.prototype.hasOwnProperty,r=function(c,l,u){for(var d=0,f=c.length;d<f;d++)n.call(c,d)&&(u==null?l(c[d],d,c):l.call(u,c[d],d,c))},i=function(c,l,u){for(var d=0,f=c.length;d<f;d++)u==null?l(c.charAt(d),d,c):l.call(u,c.charAt(d),d,c)},o=function(c,l,u){for(var d in c)n.call(c,d)&&(u==null?l(c[d],d,c):l.call(u,c[d],d,c))};function a(s){return e.call(s)==="[object Array]"}return Gd=function(c,l,u){if(!t(l))throw new TypeError("iterator must be a function");var d;arguments.length>=3&&(d=u),a(c)?r(c,l,d):typeof c=="string"?i(c,l,d):o(c,l,d)},Gd}var Xd,N2;function G4(){return N2||(N2=1,Xd=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Xd}var Kd,B2;function X4(){if(B2)return Kd;B2=1;var t=G4(),e=typeof globalThis>"u"?tn:globalThis;return Kd=function(){for(var r=[],i=0;i<t.length;i++)typeof e[t[i]]=="function"&&(r[r.length]=t[i]);return r},Kd}var Zd,M2;function K4(){if(M2)return Zd;M2=1;var t=H4(),e=X4(),n=co(),r=_t(),i=fi(),o=r("Object.prototype.toString"),a=pi()(),s=typeof globalThis>"u"?tn:globalThis,c=e(),l=r("String.prototype.slice"),u=Object.getPrototypeOf,d=r("Array.prototype.indexOf",!0)||function(p,y){for(var b=0;b<p.length;b+=1)if(p[b]===y)return b;return-1},f={__proto__:null};a&&i&&u?t(c,function(g){var p=new s[g];if(Symbol.toStringTag in p){var y=u(p),b=i(y,Symbol.toStringTag);if(!b){var v=u(y);b=i(v,Symbol.toStringTag)}f["$"+g]=n(b.get)}}):t(c,function(g){var p=new s[g],y=p.slice||p.set;y&&(f["$"+g]=n(y))});var h=function(p){var y=!1;return t(f,function(b,v){if(!y)try{"$"+b(p)===v&&(y=l(v,1))}catch{}}),y},m=function(p){var y=!1;return t(f,function(b,v){if(!y)try{b(p),y=l(v,1)}catch{}}),y};return Zd=function(p){if(!p||typeof p!="object")return!1;if(!a){var y=l(o(p),8,-1);return d(c,y)>-1?y:y!=="Object"?!1:m(p)}return i?h(p):null},Zd}var Jd,L2;function Z4(){if(L2)return Jd;L2=1;var t=_t(),e=t("ArrayBuffer.prototype.byteLength",!0),n=Hw();return Jd=function(i){return n(i)?e?e(i):i.byteLength:NaN},Jd}var Yd,W2;function J4(){if(W2)return Yd;W2=1;var t=b4(),e=Iw(),n=_4(),r=Yn(),i=k4(),o=Ww(),a=R4(),s=Mw(),c=Pw(),l=Hw(),u=F4(),d=Gw(),f=I4(),h=Ag(),m=q4(),g=j4(),p=K4(),y=Z4(),b=e("SharedArrayBuffer.prototype.byteLength",!0),v=e("Date.prototype.getTime"),D=Object.getPrototypeOf,_=e("Object.prototype.toString"),T=r("%Set%",!0),S=e("Map.prototype.has",!0),C=e("Map.prototype.get",!0),A=e("Map.prototype.size",!0),O=e("Set.prototype.add",!0),P=e("Set.prototype.delete",!0),E=e("Set.prototype.has",!0),k=e("Set.prototype.size",!0);function x(H,Z,le,he){for(var de=i(H),me;(me=de.next())&&!me.done;)if(B(Z,me.value,le,he))return P(H,me.value),!0;return!1}function z(H){if(typeof H>"u")return null;if(typeof H!="object")return typeof H=="symbol"?!1:typeof H=="string"||typeof H=="number"?+H==+H:!0}function R(H,Z,le,he,de,me){var fe=z(le);if(fe!=null)return fe;var ge=C(Z,fe),ye=t({},de,{strict:!1});return typeof ge>"u"&&!S(Z,fe)||!B(he,ge,ye,me)?!1:!S(H,fe)&&B(he,ge,ye,me)}function F(H,Z,le){var he=z(le);return he??(E(Z,he)&&!E(H,he))}function G(H,Z,le,he,de,me){for(var fe=i(H),ge,ye;(ge=fe.next())&&!ge.done;)if(ye=ge.value,B(le,ye,de,me)&&B(he,C(Z,ye),de,me))return P(H,ye),!0;return!1}function B(H,Z,le,he){var de=le||{};if(de.strict?a(H,Z):H===Z)return!0;var me=m(H),fe=m(Z);if(me!==fe)return!1;if(!H||!Z||typeof H!="object"&&typeof Z!="object")return de.strict?a(H,Z):H==Z;var ge=he.has(H),ye=he.has(Z),be;if(ge&&ye){if(he.get(H)===he.get(Z))return!0}else be={};return ge||he.set(H,be),ye||he.set(Z,be),ne(H,Z,de,he)}function V(H){return!H||typeof H!="object"||typeof H.length!="number"||typeof H.copy!="function"||typeof H.slice!="function"||H.length>0&&typeof H[0]!="number"?!1:!!(H.constructor&&H.constructor.isBuffer&&H.constructor.isBuffer(H))}function L(H,Z,le,he){if(k(H)!==k(Z))return!1;for(var de=i(H),me=i(Z),fe,ge,ye;(fe=de.next())&&!fe.done;)if(fe.value&&typeof fe.value=="object")ye||(ye=new T),O(ye,fe.value);else if(!E(Z,fe.value)){if(le.strict||!F(H,Z,fe.value))return!1;ye||(ye=new T),O(ye,fe.value)}if(ye){for(;(ge=me.next())&&!ge.done;)if(ge.value&&typeof ge.value=="object"){if(!x(ye,ge.value,le.strict,he))return!1}else if(!le.strict&&!E(H,ge.value)&&!x(ye,ge.value,le.strict,he))return!1;return k(ye)===0}return!0}function I(H,Z,le,he){if(A(H)!==A(Z))return!1;for(var de=i(H),me=i(Z),fe,ge,ye,be,w,X;(fe=de.next())&&!fe.done;)if(be=fe.value[0],w=fe.value[1],be&&typeof be=="object")ye||(ye=new T),O(ye,be);else if(X=C(Z,be),typeof X>"u"&&!S(Z,be)||!B(w,X,le,he)){if(le.strict||!R(H,Z,be,w,le,he))return!1;ye||(ye=new T),O(ye,be)}if(ye){for(;(ge=me.next())&&!ge.done;)if(be=ge.value[0],X=ge.value[1],be&&typeof be=="object"){if(!G(ye,H,be,X,le,he))return!1}else if(!le.strict&&(!H.has(be)||!B(C(H,be),X,le,he))&&!G(ye,H,be,X,t({},le,{strict:!1}),he))return!1;return k(ye)===0}return!0}function ne(H,Z,le,he){var de,me;if(typeof H!=typeof Z||H==null||Z==null||_(H)!==_(Z)||s(H)!==s(Z))return!1;var fe=c(H),ge=c(Z);if(fe!==ge)return!1;var ye=H instanceof Error,be=Z instanceof Error;if(ye!==be||(ye||be)&&(H.name!==Z.name||H.message!==Z.message))return!1;var w=d(H),X=d(Z);if(w!==X||(w||X)&&(H.source!==Z.source||n(H)!==n(Z)))return!1;var $=u(H),W=u(Z);if($!==W||($||W)&&v(H)!==v(Z)||le.strict&&D&&D(H)!==D(Z))return!1;var M=p(H),j=p(Z);if(M!==j)return!1;if(M||j){if(H.length!==Z.length)return!1;for(de=0;de<H.length;de++)if(H[de]!==Z[de])return!1;return!0}var oe=V(H),re=V(Z);if(oe!==re)return!1;if(oe||re){if(H.length!==Z.length)return!1;for(de=0;de<H.length;de++)if(H[de]!==Z[de])return!1;return!0}var Y=l(H),q=l(Z);if(Y!==q)return!1;if(Y||q)return y(H)!==y(Z)?!1:typeof Uint8Array=="function"&&B(new Uint8Array(H),new Uint8Array(Z),le,he);var J=f(H),Q=f(Z);if(J!==Q)return!1;if(J||Q)return b(H)!==b(Z)?!1:typeof Uint8Array=="function"&&B(new Uint8Array(H),new Uint8Array(Z),le,he);if(typeof H!=typeof Z)return!1;var ae=h(H),xe=h(Z);if(ae.length!==xe.length)return!1;for(ae.sort(),xe.sort(),de=ae.length-1;de>=0;de--)if(ae[de]!=xe[de])return!1;for(de=ae.length-1;de>=0;de--)if(me=ae[de],!B(H[me],Z[me],le,he))return!1;var Ee=g(H),Ce=g(Z);return Ee!==Ce?!1:Ee==="Set"||Ce==="Set"?L(H,Z,le,he):Ee==="Map"?I(H,Z,le,he):!0}return Yd=function(Z,le,he){return B(Z,le,he,o())},Yd}var Y4=J4();const Q4=Sg(Y4);var Zt={},Mg="1.13.7",P2=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},sl=Array.prototype,Lg=Object.prototype,q2=typeof Symbol<"u"?Symbol.prototype:null,eI=sl.push,va=sl.slice,ca=Lg.toString,tI=Lg.hasOwnProperty,Xw=typeof ArrayBuffer<"u",nI=typeof DataView<"u",rI=Array.isArray,z2=Object.keys,$2=Object.create,j2=Xw&&ArrayBuffer.isView,iI=isNaN,oI=isFinite,Kw=!{toString:null}.propertyIsEnumerable("toString"),V2=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],aI=Math.pow(2,53)-1;function kt(t,e){return e=e==null?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+e];switch(e){case 0:return t.call(this,r);case 1:return t.call(this,arguments[0],r);case 2:return t.call(this,arguments[0],arguments[1],r)}var o=Array(e+1);for(i=0;i<e;i++)o[i]=arguments[i];return o[e]=r,t.apply(this,o)}}function Or(t){var e=typeof t;return e==="function"||e==="object"&&!!t}function Zw(t){return t===null}function Wg(t){return t===void 0}function Pg(t){return t===!0||t===!1||ca.call(t)==="[object Boolean]"}function Jw(t){return!!(t&&t.nodeType===1)}function wt(t){var e="[object "+t+"]";return function(n){return ca.call(n)===e}}const cl=wt("String"),qg=wt("Number"),Yw=wt("Date"),Qw=wt("RegExp"),eE=wt("Error"),zg=wt("Symbol"),$g=wt("ArrayBuffer");var tE=wt("Function"),sI=P2.document&&P2.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof sI!="function"&&(tE=function(t){return typeof t=="function"||!1});const vt=tE,nE=wt("Object");var rE=nI&&(!/\[native code\]/.test(String(DataView))||nE(new DataView(new ArrayBuffer(8)))),jg=typeof Map<"u"&&nE(new Map),cI=wt("DataView");function lI(t){return t!=null&&vt(t.getInt8)&&$g(t.buffer)}const la=rE?lI:cI,Rr=rI||wt("Array");function Fr(t,e){return t!=null&&tI.call(t,e)}var pp=wt("Arguments");(function(){pp(arguments)||(pp=function(t){return Fr(t,"callee")})})();const ll=pp;function iE(t){return!zg(t)&&oI(t)&&!isNaN(parseFloat(t))}function Vg(t){return qg(t)&&iI(t)}function Hg(t){return function(){return t}}function oE(t){return function(e){var n=t(e);return typeof n=="number"&&n>=0&&n<=aI}}function aE(t){return function(e){return e==null?void 0:e[t]}}const Nc=aE("byteLength"),uI=oE(Nc);var dI=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function fI(t){return j2?j2(t)&&!la(t):uI(t)&&dI.test(ca.call(t))}const Gg=Xw?fI:Hg(!1),Bt=aE("length");function hI(t){for(var e={},n=t.length,r=0;r<n;++r)e[t[r]]=!0;return{contains:function(i){return e[i]===!0},push:function(i){return e[i]=!0,t.push(i)}}}function sE(t,e){e=hI(e);var n=V2.length,r=t.constructor,i=vt(r)&&r.prototype||Lg,o="constructor";for(Fr(t,o)&&!e.contains(o)&&e.push(o);n--;)o=V2[n],o in t&&t[o]!==i[o]&&!e.contains(o)&&e.push(o)}function at(t){if(!Or(t))return[];if(z2)return z2(t);var e=[];for(var n in t)Fr(t,n)&&e.push(n);return Kw&&sE(t,e),e}function cE(t){if(t==null)return!0;var e=Bt(t);return typeof e=="number"&&(Rr(t)||cl(t)||ll(t))?e===0:Bt(at(t))===0}function Xg(t,e){var n=at(e),r=n.length;if(t==null)return!r;for(var i=Object(t),o=0;o<r;o++){var a=n[o];if(e[a]!==i[a]||!(a in i))return!1}return!0}function Ve(t){if(t instanceof Ve)return t;if(!(this instanceof Ve))return new Ve(t);this._wrapped=t}Ve.VERSION=Mg;Ve.prototype.value=function(){return this._wrapped};Ve.prototype.valueOf=Ve.prototype.toJSON=Ve.prototype.value;Ve.prototype.toString=function(){return String(this._wrapped)};function H2(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,Nc(t))}var G2="[object DataView]";function gp(t,e,n,r){if(t===e)return t!==0||1/t===1/e;if(t==null||e==null)return!1;if(t!==t)return e!==e;var i=typeof t;return i!=="function"&&i!=="object"&&typeof e!="object"?!1:lE(t,e,n,r)}function lE(t,e,n,r){t instanceof Ve&&(t=t._wrapped),e instanceof Ve&&(e=e._wrapped);var i=ca.call(t);if(i!==ca.call(e))return!1;if(rE&&i=="[object Object]"&&la(t)){if(!la(e))return!1;i=G2}switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:+t==0?1/+t===1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return q2.valueOf.call(t)===q2.valueOf.call(e);case"[object ArrayBuffer]":case G2:return lE(H2(t),H2(e),n,r)}var o=i==="[object Array]";if(!o&&Gg(t)){var a=Nc(t);if(a!==Nc(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;o=!0}if(!o){if(typeof t!="object"||typeof e!="object")return!1;var s=t.constructor,c=e.constructor;if(s!==c&&!(vt(s)&&s instanceof s&&vt(c)&&c instanceof c)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],r=r||[];for(var l=n.length;l--;)if(n[l]===t)return r[l]===e;if(n.push(t),r.push(e),o){if(l=t.length,l!==e.length)return!1;for(;l--;)if(!gp(t[l],e[l],n,r))return!1}else{var u=at(t),d;if(l=u.length,at(e).length!==l)return!1;for(;l--;)if(d=u[l],!(Fr(e,d)&&gp(t[d],e[d],n,r)))return!1}return n.pop(),r.pop(),!0}function uE(t,e){return gp(t,e)}function lo(t){if(!Or(t))return[];var e=[];for(var n in t)e.push(n);return Kw&&sE(t,e),e}function Kg(t){var e=Bt(t);return function(n){if(n==null)return!1;var r=lo(n);if(Bt(r))return!1;for(var i=0;i<e;i++)if(!vt(n[t[i]]))return!1;return t!==hE||!vt(n[Zg])}}var Zg="forEach",dE="has",Jg=["clear","delete"],fE=["get",dE,"set"],pI=Jg.concat(Zg,fE),hE=Jg.concat(fE),gI=["add"].concat(Jg,Zg,dE);const pE=jg?Kg(pI):wt("Map"),gE=jg?Kg(hE):wt("WeakMap"),mE=jg?Kg(gI):wt("Set"),yE=wt("WeakSet");function gi(t){for(var e=at(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r}function bE(t){for(var e=at(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=[e[i],t[e[i]]];return r}function Yg(t){for(var e={},n=at(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e}function ua(t){var e=[];for(var n in t)vt(t[n])&&e.push(n);return e.sort()}function Qg(t,e){return function(n){var r=arguments.length;if(e&&(n=Object(n)),r<2||n==null)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=t(o),s=a.length,c=0;c<s;c++){var l=a[c];(!e||n[l]===void 0)&&(n[l]=o[l])}return n}}const em=Qg(lo),Yi=Qg(at),tm=Qg(lo,!0);function mI(){return function(){}}function vE(t){if(!Or(t))return{};if($2)return $2(t);var e=mI();e.prototype=t;var n=new e;return e.prototype=null,n}function xE(t,e){var n=vE(t);return e&&Yi(n,e),n}function DE(t){return Or(t)?Rr(t)?t.slice():em({},t):t}function _E(t,e){return e(t),t}function nm(t){return Rr(t)?t:[t]}Ve.toPath=nm;function xa(t){return Ve.toPath(t)}function rm(t,e){for(var n=e.length,r=0;r<n;r++){if(t==null)return;t=t[e[r]]}return n?t:void 0}function im(t,e,n){var r=rm(t,xa(e));return Wg(r)?n:r}function wE(t,e){e=xa(e);for(var n=e.length,r=0;r<n;r++){var i=e[r];if(!Fr(t,i))return!1;t=t[i]}return!!n}function ul(t){return t}function si(t){return t=Yi({},t),function(e){return Xg(e,t)}}function dl(t){return t=xa(t),function(e){return rm(e,t)}}function Da(t,e,n){if(e===void 0)return t;switch(n??3){case 1:return function(r){return t.call(e,r)};case 3:return function(r,i,o){return t.call(e,r,i,o)};case 4:return function(r,i,o,a){return t.call(e,r,i,o,a)}}return function(){return t.apply(e,arguments)}}function EE(t,e,n){return t==null?ul:vt(t)?Da(t,e,n):Or(t)&&!Rr(t)?si(t):dl(t)}function fl(t,e){return EE(t,e,1/0)}Ve.iteratee=fl;function Mt(t,e,n){return Ve.iteratee!==fl?Ve.iteratee(t,e):EE(t,e,n)}function TE(t,e,n){e=Mt(e,n);for(var r=at(t),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=e(t[s],s,t)}return o}function om(){}function SE(t){return t==null?om:function(e){return im(t,e)}}function AE(t,e,n){var r=Array(Math.max(0,t));e=Da(e,n,1);for(var i=0;i<t;i++)r[i]=e(i);return r}function Bc(t,e){return e==null&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}const Qi=Date.now||function(){return new Date().getTime()};function CE(t){var e=function(o){return t[o]},n="(?:"+at(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(o){return o=o==null?"":""+o,r.test(o)?o.replace(i,e):o}}const UE={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},kE=CE(UE),yI=Yg(UE),OE=CE(yI),RE=Ve.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Qd=/(.)^/,bI={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},vI=/\\|'|\r|\n|\u2028|\u2029/g;function xI(t){return"\\"+bI[t]}var DI=/^\s*(\w|\$)+\s*$/;function FE(t,e,n){!e&&n&&(e=n),e=tm({},e,Ve.templateSettings);var r=RegExp([(e.escape||Qd).source,(e.interpolate||Qd).source,(e.evaluate||Qd).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(l,u,d,f,h){return o+=t.slice(i,h).replace(vI,xI),i=h+l.length,u?o+=`'+
56
+ ((__t=(`+u+`))==null?'':_.escape(__t))+
57
+ '`:d?o+=`'+
58
+ ((__t=(`+d+`))==null?'':__t)+
59
+ '`:f&&(o+=`';
60
+ `+f+`
61
+ __p+='`),l}),o+=`';
62
+ `;var a=e.variable;if(a){if(!DI.test(a))throw new Error("variable is not a bare identifier: "+a)}else o=`with(obj||{}){
63
+ `+o+`}
64
+ `,a="obj";o=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
65
+ `+o+`return __p;
66
+ `;var s;try{s=new Function(a,"_",o)}catch(l){throw l.source=o,l}var c=function(l){return s.call(this,l,Ve)};return c.source="function("+a+`){
67
+ `+o+"}",c}function IE(t,e,n){e=xa(e);var r=e.length;if(!r)return vt(n)?n.call(t):n;for(var i=0;i<r;i++){var o=t==null?void 0:t[e[i]];o===void 0&&(o=n,i=r),t=vt(o)?o.call(t):o}return t}var _I=0;function NE(t){var e=++_I+"";return t?t+e:e}function BE(t){var e=Ve(t);return e._chain=!0,e}function ME(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=vE(t.prototype),a=t.apply(o,i);return Or(a)?a:o}var mi=kt(function(t,e){var n=mi.placeholder,r=function(){for(var i=0,o=e.length,a=Array(o),s=0;s<o;s++)a[s]=e[s]===n?arguments[i++]:e[s];for(;i<arguments.length;)a.push(arguments[i++]);return ME(t,r,this,this,a)};return r});mi.placeholder=Ve;const am=kt(function(t,e,n){if(!vt(t))throw new TypeError("Bind must be called on a function");var r=kt(function(i){return ME(t,r,e,this,n.concat(i))});return r}),Vt=oE(Bt);function yi(t,e,n,r){if(r=r||[],!e&&e!==0)e=1/0;else if(e<=0)return r.concat(t);for(var i=r.length,o=0,a=Bt(t);o<a;o++){var s=t[o];if(Vt(s)&&(Rr(s)||ll(s)))if(e>1)yi(s,e-1,n,r),i=r.length;else for(var c=0,l=s.length;c<l;)r[i++]=s[c++];else n||(r[i++]=s)}return r}const LE=kt(function(t,e){e=yi(e,!1,!1);var n=e.length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=e[n];t[r]=am(t[r],t)}return t});function WE(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return Fr(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n}const sm=kt(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)}),PE=mi(sm,Ve,1);function qE(t,e,n){var r,i,o,a,s=0;n||(n={});var c=function(){s=n.leading===!1?0:Qi(),r=null,a=t.apply(i,o),r||(i=o=null)},l=function(){var u=Qi();!s&&n.leading===!1&&(s=u);var d=e-(u-s);return i=this,o=arguments,d<=0||d>e?(r&&(clearTimeout(r),r=null),s=u,a=t.apply(i,o),r||(i=o=null)):!r&&n.trailing!==!1&&(r=setTimeout(c,d)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l}function zE(t,e,n){var r,i,o,a,s,c=function(){var u=Qi()-i;e>u?r=setTimeout(c,e-u):(r=null,n||(a=t.apply(s,o)),r||(o=s=null))},l=kt(function(u){return s=this,o=u,i=Qi(),r||(r=setTimeout(c,e),n&&(a=t.apply(s,o))),a});return l.cancel=function(){clearTimeout(r),r=o=s=null},l}function $E(t,e){return mi(e,t)}function hl(t){return function(){return!t.apply(this,arguments)}}function jE(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}}function VE(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function cm(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}const HE=mi(cm,2);function lm(t,e,n){e=Mt(e,n);for(var r=at(t),i,o=0,a=r.length;o<a;o++)if(i=r[o],e(t[i],i,t))return i}function GE(t){return function(e,n,r){n=Mt(n,r);for(var i=Bt(e),o=t>0?0:i-1;o>=0&&o<i;o+=t)if(n(e[o],o,e))return o;return-1}}const pl=GE(1),um=GE(-1);function dm(t,e,n,r){n=Mt(n,r,1);for(var i=n(e),o=0,a=Bt(t);o<a;){var s=Math.floor((o+a)/2);n(t[s])<i?o=s+1:a=s}return o}function XE(t,e,n){return function(r,i,o){var a=0,s=Bt(r);if(typeof o=="number")t>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=e(va.call(r,a,s),Vg),o>=0?o+a:-1;for(o=t>0?a:s-1;o>=0&&o<s;o+=t)if(r[o]===i)return o;return-1}}const fm=XE(1,pl,dm),KE=XE(-1,um);function da(t,e,n){var r=Vt(t)?pl:lm,i=r(t,e,n);if(i!==void 0&&i!==-1)return t[i]}function ZE(t,e){return da(t,si(e))}function mn(t,e,n){e=Da(e,n);var r,i;if(Vt(t))for(r=0,i=t.length;r<i;r++)e(t[r],r,t);else{var o=at(t);for(r=0,i=o.length;r<i;r++)e(t[o[r]],o[r],t)}return t}function Xn(t,e,n){e=Mt(e,n);for(var r=!Vt(t)&&at(t),i=(r||t).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=e(t[s],s,t)}return o}function JE(t){var e=function(n,r,i,o){var a=!Vt(n)&&at(n),s=(a||n).length,c=t>0?0:s-1;for(o||(i=n[a?a[c]:c],c+=t);c>=0&&c<s;c+=t){var l=a?a[c]:c;i=r(i,n[l],l,n)}return i};return function(n,r,i,o){var a=arguments.length>=3;return e(n,Da(r,o,4),i,a)}}const $i=JE(1),Mc=JE(-1);function Er(t,e,n){var r=[];return e=Mt(e,n),mn(t,function(i,o,a){e(i,o,a)&&r.push(i)}),r}function YE(t,e,n){return Er(t,hl(Mt(e)),n)}function Lc(t,e,n){e=Mt(e,n);for(var r=!Vt(t)&&at(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(!e(t[a],a,t))return!1}return!0}function Wc(t,e,n){e=Mt(e,n);for(var r=!Vt(t)&&at(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(e(t[a],a,t))return!0}return!1}function rn(t,e,n,r){return Vt(t)||(t=gi(t)),(typeof n!="number"||r)&&(n=0),fm(t,e,n)>=0}const QE=kt(function(t,e,n){var r,i;return vt(e)?i=e:(e=xa(e),r=e.slice(0,-1),e=e[e.length-1]),Xn(t,function(o){var a=i;if(!a){if(r&&r.length&&(o=rm(o,r)),o==null)return;a=o[e]}return a==null?a:a.apply(o,n)})});function gl(t,e){return Xn(t,dl(e))}function eT(t,e){return Er(t,si(e))}function hm(t,e,n){var r=-1/0,i=-1/0,o,a;if(e==null||typeof e=="number"&&typeof t[0]!="object"&&t!=null){t=Vt(t)?t:gi(t);for(var s=0,c=t.length;s<c;s++)o=t[s],o!=null&&o>r&&(r=o)}else e=Mt(e,n),mn(t,function(l,u,d){a=e(l,u,d),(a>i||a===-1/0&&r===-1/0)&&(r=l,i=a)});return r}function tT(t,e,n){var r=1/0,i=1/0,o,a;if(e==null||typeof e=="number"&&typeof t[0]!="object"&&t!=null){t=Vt(t)?t:gi(t);for(var s=0,c=t.length;s<c;s++)o=t[s],o!=null&&o<r&&(r=o)}else e=Mt(e,n),mn(t,function(l,u,d){a=e(l,u,d),(a<i||a===1/0&&r===1/0)&&(r=l,i=a)});return r}var wI=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function pm(t){return t?Rr(t)?va.call(t):cl(t)?t.match(wI):Vt(t)?Xn(t,ul):gi(t):[]}function gm(t,e,n){if(e==null||n)return Vt(t)||(t=gi(t)),t[Bc(t.length-1)];var r=pm(t),i=Bt(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,a=0;a<e;a++){var s=Bc(a,o),c=r[a];r[a]=r[s],r[s]=c}return r.slice(0,e)}function nT(t){return gm(t,1/0)}function rT(t,e,n){var r=0;return e=Mt(e,n),gl(Xn(t,function(i,o,a){return{value:i,index:r++,criteria:e(i,o,a)}}).sort(function(i,o){var a=i.criteria,s=o.criteria;if(a!==s){if(a>s||a===void 0)return 1;if(a<s||s===void 0)return-1}return i.index-o.index}),"value")}function ml(t,e){return function(n,r,i){var o=e?[[],[]]:{};return r=Mt(r,i),mn(n,function(a,s){var c=r(a,s,n);t(o,a,c)}),o}}const iT=ml(function(t,e,n){Fr(t,n)?t[n].push(e):t[n]=[e]}),oT=ml(function(t,e,n){t[n]=e}),aT=ml(function(t,e,n){Fr(t,n)?t[n]++:t[n]=1}),sT=ml(function(t,e,n){t[n?0:1].push(e)},!0);function cT(t){return t==null?0:Vt(t)?t.length:at(t).length}function EI(t,e,n){return e in n}const mm=kt(function(t,e){var n={},r=e[0];if(t==null)return n;vt(r)?(e.length>1&&(r=Da(r,e[1])),e=lo(t)):(r=EI,e=yi(e,!1,!1),t=Object(t));for(var i=0,o=e.length;i<o;i++){var a=e[i],s=t[a];r(s,a,t)&&(n[a]=s)}return n}),lT=kt(function(t,e){var n=e[0],r;return vt(n)?(n=hl(n),e.length>1&&(r=e[1])):(e=Xn(yi(e,!1,!1),String),n=function(i,o){return!rn(e,o)}),mm(t,n,r)});function ym(t,e,n){return va.call(t,0,Math.max(0,t.length-(e==null||n?1:e)))}function ji(t,e,n){return t==null||t.length<1?e==null||n?void 0:[]:e==null||n?t[0]:ym(t,t.length-e)}function ei(t,e,n){return va.call(t,e==null||n?1:e)}function uT(t,e,n){return t==null||t.length<1?e==null||n?void 0:[]:e==null||n?t[t.length-1]:ei(t,Math.max(0,t.length-e))}function dT(t){return Er(t,Boolean)}function fT(t,e){return yi(t,e,!1)}const bm=kt(function(t,e){return e=yi(e,!0,!0),Er(t,function(n){return!rn(e,n)})}),hT=kt(function(t,e){return bm(t,e)});function fa(t,e,n,r){Pg(e)||(r=n,n=e,e=!1),n!=null&&(n=Mt(n,r));for(var i=[],o=[],a=0,s=Bt(t);a<s;a++){var c=t[a],l=n?n(c,a,t):c;e&&!n?((!a||o!==l)&&i.push(c),o=l):n?rn(o,l)||(o.push(l),i.push(c)):rn(i,c)||i.push(c)}return i}const pT=kt(function(t){return fa(yi(t,!0,!0))});function gT(t){for(var e=[],n=arguments.length,r=0,i=Bt(t);r<i;r++){var o=t[r];if(!rn(e,o)){var a;for(a=1;a<n&&rn(arguments[a],o);a++);a===n&&e.push(o)}}return e}function ha(t){for(var e=t&&hm(t,Bt).length||0,n=Array(e),r=0;r<e;r++)n[r]=gl(t,r);return n}const mT=kt(ha);function yT(t,e){for(var n={},r=0,i=Bt(t);r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n}function bT(t,e,n){e==null&&(e=t||0,t=0),n||(n=e<t?-1:1);for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;o<r;o++,t+=n)i[o]=t;return i}function vT(t,e){if(e==null||e<1)return[];for(var n=[],r=0,i=t.length;r<i;)n.push(va.call(t,r,r+=e));return n}function vm(t,e){return t._chain?Ve(e).chain():e}function xm(t){return mn(ua(t),function(e){var n=Ve[e]=t[e];Ve.prototype[e]=function(){var r=[this._wrapped];return eI.apply(r,arguments),vm(this,n.apply(Ve,r))}}),Ve}mn(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=sl[t];Ve.prototype[t]=function(){var n=this._wrapped;return n!=null&&(e.apply(n,arguments),(t==="shift"||t==="splice")&&n.length===0&&delete n[0]),vm(this,n)}});mn(["concat","join","slice"],function(t){var e=sl[t];Ve.prototype[t]=function(){var n=this._wrapped;return n!=null&&(n=e.apply(n,arguments)),vm(this,n)}});const TI=Object.freeze(Object.defineProperty({__proto__:null,VERSION:Mg,after:VE,all:Lc,allKeys:lo,any:Wc,assign:Yi,before:cm,bind:am,bindAll:LE,chain:BE,chunk:vT,clone:DE,collect:Xn,compact:dT,compose:jE,constant:Hg,contains:rn,countBy:aT,create:xE,debounce:zE,default:Ve,defaults:tm,defer:PE,delay:sm,detect:da,difference:bm,drop:ei,each:mn,escape:kE,every:Lc,extend:em,extendOwn:Yi,filter:Er,find:da,findIndex:pl,findKey:lm,findLastIndex:um,findWhere:ZE,first:ji,flatten:fT,foldl:$i,foldr:Mc,forEach:mn,functions:ua,get:im,groupBy:iT,has:wE,head:ji,identity:ul,include:rn,includes:rn,indexBy:oT,indexOf:fm,initial:ym,inject:$i,intersection:gT,invert:Yg,invoke:QE,isArguments:ll,isArray:Rr,isArrayBuffer:$g,isBoolean:Pg,isDataView:la,isDate:Yw,isElement:Jw,isEmpty:cE,isEqual:uE,isError:eE,isFinite:iE,isFunction:vt,isMap:pE,isMatch:Xg,isNaN:Vg,isNull:Zw,isNumber:qg,isObject:Or,isRegExp:Qw,isSet:mE,isString:cl,isSymbol:zg,isTypedArray:Gg,isUndefined:Wg,isWeakMap:gE,isWeakSet:yE,iteratee:fl,keys:at,last:uT,lastIndexOf:KE,map:Xn,mapObject:TE,matcher:si,matches:si,max:hm,memoize:WE,methods:ua,min:tT,mixin:xm,negate:hl,noop:om,now:Qi,object:yT,omit:lT,once:HE,pairs:bE,partial:mi,partition:sT,pick:mm,pluck:gl,property:dl,propertyOf:SE,random:Bc,range:bT,reduce:$i,reduceRight:Mc,reject:YE,rest:ei,restArguments:kt,result:IE,sample:gm,select:Er,shuffle:nT,size:cT,some:Wc,sortBy:rT,sortedIndex:dm,tail:ei,take:ji,tap:_E,template:FE,templateSettings:RE,throttle:qE,times:AE,toArray:pm,toPath:nm,transpose:ha,unescape:OE,union:pT,uniq:fa,unique:fa,uniqueId:NE,unzip:ha,values:gi,where:eT,without:hT,wrap:$E,zip:mT},Symbol.toStringTag,{value:"Module"}));var mp=xm(TI);mp._=mp;const SI=Object.freeze(Object.defineProperty({__proto__:null,VERSION:Mg,after:VE,all:Lc,allKeys:lo,any:Wc,assign:Yi,before:cm,bind:am,bindAll:LE,chain:BE,chunk:vT,clone:DE,collect:Xn,compact:dT,compose:jE,constant:Hg,contains:rn,countBy:aT,create:xE,debounce:zE,default:mp,defaults:tm,defer:PE,delay:sm,detect:da,difference:bm,drop:ei,each:mn,escape:kE,every:Lc,extend:em,extendOwn:Yi,filter:Er,find:da,findIndex:pl,findKey:lm,findLastIndex:um,findWhere:ZE,first:ji,flatten:fT,foldl:$i,foldr:Mc,forEach:mn,functions:ua,get:im,groupBy:iT,has:wE,head:ji,identity:ul,include:rn,includes:rn,indexBy:oT,indexOf:fm,initial:ym,inject:$i,intersection:gT,invert:Yg,invoke:QE,isArguments:ll,isArray:Rr,isArrayBuffer:$g,isBoolean:Pg,isDataView:la,isDate:Yw,isElement:Jw,isEmpty:cE,isEqual:uE,isError:eE,isFinite:iE,isFunction:vt,isMap:pE,isMatch:Xg,isNaN:Vg,isNull:Zw,isNumber:qg,isObject:Or,isRegExp:Qw,isSet:mE,isString:cl,isSymbol:zg,isTypedArray:Gg,isUndefined:Wg,isWeakMap:gE,isWeakSet:yE,iteratee:fl,keys:at,last:uT,lastIndexOf:KE,map:Xn,mapObject:TE,matcher:si,matches:si,max:hm,memoize:WE,methods:ua,min:tT,mixin:xm,negate:hl,noop:om,now:Qi,object:yT,omit:lT,once:HE,pairs:bE,partial:mi,partition:sT,pick:mm,pluck:gl,property:dl,propertyOf:SE,random:Bc,range:bT,reduce:$i,reduceRight:Mc,reject:YE,rest:ei,restArguments:kt,result:IE,sample:gm,select:Er,shuffle:nT,size:cT,some:Wc,sortBy:rT,sortedIndex:dm,tail:ei,take:ji,tap:_E,template:FE,templateSettings:RE,throttle:qE,times:AE,toArray:pm,toPath:nm,transpose:ha,unescape:OE,union:pT,uniq:fa,unique:fa,uniqueId:NE,unzip:ha,values:gi,where:eT,without:hT,wrap:$E,zip:mT},Symbol.toStringTag,{value:"Module"})),rt=Tw(SI);var za={},Jt={},ef={exports:{}},$a={exports:{}},X2;function uo(){if(X2)return $a.exports;X2=1;var t=function(){return this===void 0}();if(t)$a.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:t,propertyIsWritable:function(u,d){var f=Object.getOwnPropertyDescriptor(u,d);return!!(!f||f.writable||f.set)}};else{var e={}.hasOwnProperty,n={}.toString,r={}.constructor.prototype,i=function(u){var d=[];for(var f in u)e.call(u,f)&&d.push(f);return d},o=function(u,d){return{value:u[d]}},a=function(u,d,f){return u[d]=f.value,u},s=function(u){return u},c=function(u){try{return Object(u).constructor.prototype}catch{return r}},l=function(u){try{return n.call(u)==="[object Array]"}catch{return!1}};$a.exports={isArray:l,keys:i,names:i,defineProperty:a,getDescriptor:o,freeze:s,getPrototypeOf:c,isES5:t,propertyIsWritable:function(){return!0}}}return $a.exports}var Do,K2;function Ge(){if(K2)return Do;K2=1;var t=uo(),e=typeof navigator>"u",n={e:{}},r,i=typeof self<"u"?self:typeof window<"u"?window:typeof tn<"u"?tn:Do!==void 0?Do:null;function o(){try{var I=r;return r=null,I.apply(this,arguments)}catch(ne){return n.e=ne,n}}function a(I){return r=I,o}var s=function(I,ne){var H={}.hasOwnProperty;function Z(){this.constructor=I,this.constructor$=ne;for(var le in ne.prototype)H.call(ne.prototype,le)&&le.charAt(le.length-1)!=="$"&&(this[le+"$"]=ne.prototype[le])}return Z.prototype=ne.prototype,I.prototype=new Z,I.prototype};function c(I){return I==null||I===!0||I===!1||typeof I=="string"||typeof I=="number"}function l(I){return typeof I=="function"||typeof I=="object"&&I!==null}function u(I){return c(I)?new Error(T(I)):I}function d(I,ne){var H=I.length,Z=new Array(H+1),le;for(le=0;le<H;++le)Z[le]=I[le];return Z[le]=ne,Z}function f(I,ne,H){if(t.isES5){var Z=Object.getOwnPropertyDescriptor(I,ne);if(Z!=null)return Z.get==null&&Z.set==null?Z.value:H}else return{}.hasOwnProperty.call(I,ne)?I[ne]:void 0}function h(I,ne,H){if(c(I))return I;var Z={value:H,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty(I,ne,Z),I}function m(I){throw I}var g=function(){var I=[Array.prototype,Object.prototype,Function.prototype],ne=function(le){for(var he=0;he<I.length;++he)if(I[he]===le)return!0;return!1};if(t.isES5){var H=Object.getOwnPropertyNames;return function(le){for(var he=[],de=Object.create(null);le!=null&&!ne(le);){var me;try{me=H(le)}catch{return he}for(var fe=0;fe<me.length;++fe){var ge=me[fe];if(!de[ge]){de[ge]=!0;var ye=Object.getOwnPropertyDescriptor(le,ge);ye!=null&&ye.get==null&&ye.set==null&&he.push(ge)}}le=t.getPrototypeOf(le)}return he}}else{var Z={}.hasOwnProperty;return function(le){if(ne(le))return[];var he=[];e:for(var de in le)if(Z.call(le,de))he.push(de);else{for(var me=0;me<I.length;++me)if(Z.call(I[me],de))continue e;he.push(de)}return he}}}(),p=/this\s*\.\s*\S+\s*=/;function y(I){try{if(typeof I=="function"){var ne=t.names(I.prototype),H=t.isES5&&ne.length>1,Z=ne.length>0&&!(ne.length===1&&ne[0]==="constructor"),le=p.test(I+"")&&t.names(I).length>0;if(H||Z||le)return!0}return!1}catch{return!1}}function b(I){return I}var v=/^[a-z$_][a-z$_0-9]*$/i;function D(I){return v.test(I)}function _(I,ne,H){for(var Z=new Array(I),le=0;le<I;++le)Z[le]=ne+le+H;return Z}function T(I){try{return I+""}catch{return"[no string representation]"}}function S(I){return I!==null&&typeof I=="object"&&typeof I.message=="string"&&typeof I.name=="string"}function C(I){try{h(I,"isOperational",!0)}catch{}}function A(I){return I==null?!1:I instanceof Error.__BluebirdErrorTypes__.OperationalError||I.isOperational===!0}function O(I){return S(I)&&t.propertyIsWritable(I,"stack")}var P=function(){return"stack"in new Error?function(I){return O(I)?I:new Error(T(I))}:function(I){if(O(I))return I;try{throw new Error(T(I))}catch(ne){return ne}}}();function E(I){return{}.toString.call(I)}function k(I,ne,H){for(var Z=t.names(I),le=0;le<Z.length;++le){var he=Z[le];if(H(he))try{t.defineProperty(ne,he,t.getDescriptor(I,he))}catch{}}}var x=function(I){return t.isArray(I)?I:null};if(typeof Symbol<"u"&&Symbol.iterator){var z=typeof Array.from=="function"?function(I){return Array.from(I)}:function(I){for(var ne=[],H=I[Symbol.iterator](),Z;!(Z=H.next()).done;)ne.push(Z.value);return ne};x=function(I){return t.isArray(I)?I:I!=null&&typeof I[Symbol.iterator]=="function"?z(I):null}}var R=typeof process<"u"&&E(process).toLowerCase()==="[object process]",F=typeof process<"u"&&typeof process.env<"u";function G(I){return F?process.env[I]:void 0}function B(){if(typeof Promise=="function")try{var I=new Promise(function(){});if({}.toString.call(I)==="[object Promise]")return Promise}catch{}}function V(I,ne){return I.bind(ne)}var L={isClass:y,isIdentifier:D,inheritedDataKeys:g,getDataPropertyOrDefault:f,thrower:m,isArray:t.isArray,asArray:x,notEnumerableProp:h,isPrimitive:c,isObject:l,isError:S,canEvaluate:e,errorObj:n,tryCatch:a,inherits:s,withAppended:d,maybeWrapAsError:u,toFastProperties:b,filledRange:_,toString:T,canAttachTrace:O,ensureErrorObject:P,originatesFromRejection:A,markAsOriginatingFromRejection:C,classString:E,copyDescriptors:k,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes=="function",isNode:R,hasEnvVariables:F,env:G,global:i,getNativePromise:B,domainBind:V};L.isRecentNode=L.isNode&&function(){var I=process.versions.node.split(".").map(Number);return I[0]===0&&I[1]>10||I[0]>0}(),L.isNode&&L.toFastProperties(process);try{throw new Error}catch(I){L.lastLineError=I}return Do=L,Do}var ja={exports:{}},tf,Z2;function AI(){if(Z2)return tf;Z2=1;var t=Ge(),e,n=function(){throw new Error(`No async scheduler available
68
+
69
+ See http://goo.gl/MqrFmX
70
+ `)},r=t.getNativePromise();if(t.isNode&&typeof MutationObserver>"u"){var i=tn.setImmediate,o=process.nextTick;e=t.isRecentNode?function(s){i.call(tn,s)}:function(s){o.call(process,s)}}else if(typeof r=="function"&&typeof r.resolve=="function"){var a=r.resolve();e=function(s){a.then(s)}}else typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova))?e=function(){var s=document.createElement("div"),c={attributes:!0},l=!1,u=document.createElement("div"),d=new MutationObserver(function(){s.classList.toggle("foo"),l=!1});d.observe(u,c);var f=function(){l||(l=!0,u.classList.toggle("foo"))};return function(m){var g=new MutationObserver(function(){g.disconnect(),m()});g.observe(s,c),f()}}():typeof setImmediate<"u"?e=function(s){setImmediate(s)}:typeof setTimeout<"u"?e=function(s){setTimeout(s,0)}:e=n;return tf=e,tf}var nf,J2;function CI(){if(J2)return nf;J2=1;function t(n,r,i,o,a){for(var s=0;s<a;++s)i[s+o]=n[s+r],n[s+r]=void 0}function e(n){this._capacity=n,this._length=0,this._front=0}return e.prototype._willBeOverCapacity=function(n){return this._capacity<n},e.prototype._pushOne=function(n){var r=this.length();this._checkCapacity(r+1);var i=this._front+r&this._capacity-1;this[i]=n,this._length=r+1},e.prototype.push=function(n,r,i){var o=this.length()+3;if(this._willBeOverCapacity(o)){this._pushOne(n),this._pushOne(r),this._pushOne(i);return}var a=this._front+o-3;this._checkCapacity(o);var s=this._capacity-1;this[a+0&s]=n,this[a+1&s]=r,this[a+2&s]=i,this._length=o},e.prototype.shift=function(){var n=this._front,r=this[n];return this[n]=void 0,this._front=n+1&this._capacity-1,this._length--,r},e.prototype.length=function(){return this._length},e.prototype._checkCapacity=function(n){this._capacity<n&&this._resizeTo(this._capacity<<1)},e.prototype._resizeTo=function(n){var r=this._capacity;this._capacity=n;var i=this._front,o=this._length,a=i+o&r-1;t(this,0,this,r,a)},nf=e,nf}var Y2;function UI(){if(Y2)return ja.exports;Y2=1;var t;try{throw new Error}catch(c){t=c}var e=AI(),n=CI(),r=Ge();function i(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new n(16),this._normalQueue=new n(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var c=this;this.drainQueues=function(){c._drainQueues()},this._schedule=e}i.prototype.setScheduler=function(c){var l=this._schedule;return this._schedule=c,this._customScheduler=!0,l},i.prototype.hasCustomScheduler=function(){return this._customScheduler},i.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},i.prototype.disableTrampolineIfNecessary=function(){r.hasDevTools&&(this._trampolineEnabled=!1)},i.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},i.prototype.fatalError=function(c,l){l?(process.stderr.write("Fatal "+(c instanceof Error?c.stack:c)+`
71
+ `),process.exit(2)):this.throwLater(c)},i.prototype.throwLater=function(c,l){if(arguments.length===1&&(l=c,c=function(){throw l}),typeof setTimeout<"u")setTimeout(function(){c(l)},0);else try{this._schedule(function(){c(l)})}catch{throw new Error(`No async scheduler available
72
+
73
+ See http://goo.gl/MqrFmX
74
+ `)}};function o(c,l,u){this._lateQueue.push(c,l,u),this._queueTick()}function a(c,l,u){this._normalQueue.push(c,l,u),this._queueTick()}function s(c){this._normalQueue._pushOne(c),this._queueTick()}return r.hasDevTools?(i.prototype.invokeLater=function(c,l,u){this._trampolineEnabled?o.call(this,c,l,u):this._schedule(function(){setTimeout(function(){c.call(l,u)},100)})},i.prototype.invoke=function(c,l,u){this._trampolineEnabled?a.call(this,c,l,u):this._schedule(function(){c.call(l,u)})},i.prototype.settlePromises=function(c){this._trampolineEnabled?s.call(this,c):this._schedule(function(){c._settlePromises()})}):(i.prototype.invokeLater=o,i.prototype.invoke=a,i.prototype.settlePromises=s),i.prototype._drainQueue=function(c){for(;c.length()>0;){var l=c.shift();if(typeof l!="function"){l._settlePromises();continue}var u=c.shift(),d=c.shift();l.call(u,d)}},i.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},i.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},i.prototype._reset=function(){this._isTickUsed=!1},ja.exports=i,ja.exports.firstLineError=t,ja.exports}var rf,Q2;function Tr(){if(Q2)return rf;Q2=1;var t=uo(),e=t.freeze,n=Ge(),r=n.inherits,i=n.notEnumerableProp;function o(y,b){function v(D){if(!(this instanceof v))return new v(D);i(this,"message",typeof D=="string"?D:b),i(this,"name",y),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return r(v,Error),v}var a,s,c=o("Warning","warning"),l=o("CancellationError","cancellation error"),u=o("TimeoutError","timeout error"),d=o("AggregateError","aggregate error");try{a=TypeError,s=RangeError}catch{a=o("TypeError","type error"),s=o("RangeError","range error")}for(var f="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),h=0;h<f.length;++h)typeof Array.prototype[f[h]]=="function"&&(d.prototype[f[h]]=Array.prototype[f[h]]);t.defineProperty(d.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),d.prototype.isOperational=!0;var m=0;d.prototype.toString=function(){var y=Array(m*4+1).join(" "),b=`
75
+ `+y+`AggregateError of:
76
+ `;m++,y=Array(m*4+1).join(" ");for(var v=0;v<this.length;++v){for(var D=this[v]===this?"[Circular AggregateError]":this[v]+"",_=D.split(`
77
+ `),T=0;T<_.length;++T)_[T]=y+_[T];D=_.join(`
78
+ `),b+=D+`
79
+ `}return m--,b};function g(y){if(!(this instanceof g))return new g(y);i(this,"name","OperationalError"),i(this,"message",y),this.cause=y,this.isOperational=!0,y instanceof Error?(i(this,"message",y.message),i(this,"stack",y.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}r(g,Error);var p=Error.__BluebirdErrorTypes__;return p||(p=e({CancellationError:l,TimeoutError:u,OperationalError:g,RejectionError:g,AggregateError:d}),t.defineProperty(Error,"__BluebirdErrorTypes__",{value:p,writable:!1,enumerable:!1,configurable:!1})),rf={Error,TypeError:a,RangeError:s,CancellationError:p.CancellationError,OperationalError:p.OperationalError,TimeoutError:p.TimeoutError,AggregateError:p.AggregateError,Warning:c},rf}var of,e0;function kI(){return e0||(e0=1,of=function(t,e){var n=Ge(),r=n.errorObj,i=n.isObject;function o(d,f){if(i(d)){if(d instanceof t)return d;var h=s(d);if(h===r){f&&f._pushContext();var m=t.reject(h.e);return f&&f._popContext(),m}else if(typeof h=="function"){if(l(d)){var m=new t(e);return d._then(m._fulfill,m._reject,void 0,m,null),m}return u(d,h,f)}}return d}function a(d){return d.then}function s(d){try{return a(d)}catch(f){return r.e=f,r}}var c={}.hasOwnProperty;function l(d){try{return c.call(d,"_promise0")}catch{return!1}}function u(d,f,h){var m=new t(e),g=m;h&&h._pushContext(),m._captureStackTrace(),h&&h._popContext();var p=!0,y=n.tryCatch(f).call(d,b,v);p=!1,m&&y===r&&(m._rejectCallback(y.e,!0,!0),m=null);function b(D){m&&(m._resolveCallback(D),m=null)}function v(D){m&&(m._rejectCallback(D,p,!0),m=null)}return g}return o}),of}var af,t0;function OI(){return t0||(t0=1,af=function(t,e,n,r,i){var o=Ge();o.isArray;function a(c){switch(c){case-2:return[];case-3:return{}}}function s(c){var l=this._promise=new t(e);c instanceof t&&l._propagateFrom(c,3),l._setOnCancel(this),this._values=c,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return o.inherits(s,i),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function c(l,u){var d=n(this._values,this._promise);if(d instanceof t){d=d._target();var f=d._bitField;if(this._values=d,(f&50397184)===0)return this._promise._setAsyncGuaranteed(),d._then(c,this._reject,void 0,this,u);if((f&33554432)!==0)d=d._value();else return(f&16777216)!==0?this._reject(d._reason()):this._cancel()}if(d=o.asArray(d),d===null){var h=r("expecting an array or an iterable object but got "+o.classString(d)).reason();this._promise._rejectCallback(h,!1);return}if(d.length===0){u===-5?this._resolveEmptyArray():this._resolve(a(u));return}this._iterate(d)},s.prototype._iterate=function(c){var l=this.getActualLength(c.length);this._length=l,this._values=this.shouldCopyValues()?new Array(l):this._values;for(var u=this._promise,d=!1,f=null,h=0;h<l;++h){var m=n(c[h],u);m instanceof t?(m=m._target(),f=m._bitField):f=null,d?f!==null&&m.suppressUnhandledRejections():f!==null?(f&50397184)===0?(m._proxy(this,h),this._values[h]=m):(f&33554432)!==0?d=this._promiseFulfilled(m._value(),h):(f&16777216)!==0?d=this._promiseRejected(m._reason(),h):d=this._promiseCancelled(h):d=this._promiseFulfilled(m,h)}d||u._setAsyncGuaranteed()},s.prototype._isResolved=function(){return this._values===null},s.prototype._resolve=function(c){this._values=null,this._promise._fulfill(c)},s.prototype._cancel=function(){this._isResolved()||!this._promise._isCancellable()||(this._values=null,this._promise._cancel())},s.prototype._reject=function(c){this._values=null,this._promise._rejectCallback(c,!1)},s.prototype._promiseFulfilled=function(c,l){this._values[l]=c;var u=++this._totalResolved;return u>=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(c){return this._totalResolved++,this._reject(c),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var c=this._values;if(this._cancel(),c instanceof t)c.cancel();else for(var l=0;l<c.length;++l)c[l]instanceof t&&c[l].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(c){return c},s}),af}var sf,n0;function RI(){return n0||(n0=1,sf=function(t){var e=!1,n=[];t.prototype._promiseCreated=function(){},t.prototype._pushContext=function(){},t.prototype._popContext=function(){return null},t._peekContext=t.prototype._peekContext=function(){};function r(){this._trace=new r.CapturedTrace(o())}r.prototype._pushContext=function(){this._trace!==void 0&&(this._trace._promiseCreated=null,n.push(this._trace))},r.prototype._popContext=function(){if(this._trace!==void 0){var a=n.pop(),s=a._promiseCreated;return a._promiseCreated=null,s}return null};function i(){if(e)return new r}function o(){var a=n.length-1;if(a>=0)return n[a]}return r.CapturedTrace=null,r.create=i,r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var a=t.prototype._pushContext,s=t.prototype._popContext,c=t._peekContext,l=t.prototype._peekContext,u=t.prototype._promiseCreated;r.deactivateLongStackTraces=function(){t.prototype._pushContext=a,t.prototype._popContext=s,t._peekContext=c,t.prototype._peekContext=l,t.prototype._promiseCreated=u,e=!1},e=!0,t.prototype._pushContext=r.prototype._pushContext,t.prototype._popContext=r.prototype._popContext,t._peekContext=t.prototype._peekContext=o,t.prototype._promiseCreated=function(){var d=this._peekContext();d&&d._promiseCreated==null&&(d._promiseCreated=this)}},r}),sf}var cf,r0;function FI(){return r0||(r0=1,cf=function(t,e){var n=t._getDomain,r=t._async,i=Tr().Warning,o=Ge(),a=o.canAttachTrace,s,c,l=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,u=/\((?:timers\.js):\d+:\d+\)/,d=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,f=null,h=null,m=!1,g,p=!!(o.env("BLUEBIRD_DEBUG")!=0&&(o.env("BLUEBIRD_DEBUG")||o.env("NODE_ENV")==="development")),y=!!(o.env("BLUEBIRD_WARNINGS")!=0&&(p||o.env("BLUEBIRD_WARNINGS"))),b=!!(o.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(p||o.env("BLUEBIRD_LONG_STACK_TRACES"))),v=o.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(y||!!o.env("BLUEBIRD_W_FORGOTTEN_RETURN"));t.prototype.suppressUnhandledRejections=function(){var q=this._target();q._bitField=q._bitField&-1048577|524288},t.prototype._ensurePossibleRejectionHandled=function(){(this._bitField&524288)===0&&(this._setRejectionIsUnhandled(),r.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){ye("rejectionHandled",s,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},t.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var q=this._settledValue();this._setUnhandledRejectionIsNotified(),ye("unhandledRejection",c,q,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},t.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},t.prototype._warn=function(q,J,Q){return H(q,J,Q||this)},t.onPossiblyUnhandledRejection=function(q){var J=n();c=typeof q=="function"?J===null?q:o.domainBind(J,q):void 0},t.onUnhandledRejectionHandled=function(q){var J=n();s=typeof q=="function"?J===null?q:o.domainBind(J,q):void 0};var D=function(){};t.longStackTraces=function(){if(r.haveItemsQueued()&&!Y.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
80
+
81
+ See http://goo.gl/MqrFmX
82
+ `);if(!Y.longStackTraces&&X()){var q=t.prototype._captureStackTrace,J=t.prototype._attachExtraTrace;Y.longStackTraces=!0,D=function(){if(r.haveItemsQueued()&&!Y.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
83
+
84
+ See http://goo.gl/MqrFmX
85
+ `);t.prototype._captureStackTrace=q,t.prototype._attachExtraTrace=J,e.deactivateLongStackTraces(),r.enableTrampoline(),Y.longStackTraces=!1},t.prototype._captureStackTrace=V,t.prototype._attachExtraTrace=L,e.activateLongStackTraces(),r.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return Y.longStackTraces&&X()};var _=function(){try{if(typeof CustomEvent=="function"){var q=new CustomEvent("CustomEvent");return o.global.dispatchEvent(q),function(J,Q){var ae=new CustomEvent(J.toLowerCase(),{detail:Q,cancelable:!0});return!o.global.dispatchEvent(ae)}}else if(typeof Event=="function"){var q=new Event("CustomEvent");return o.global.dispatchEvent(q),function(Q,ae){var xe=new Event(Q.toLowerCase(),{cancelable:!0});return xe.detail=ae,!o.global.dispatchEvent(xe)}}else{var q=document.createEvent("CustomEvent");return q.initCustomEvent("testingtheevent",!1,!0,{}),o.global.dispatchEvent(q),function(Q,ae){var xe=document.createEvent("CustomEvent");return xe.initCustomEvent(Q.toLowerCase(),!1,!0,ae),!o.global.dispatchEvent(xe)}}}catch{}return function(){return!1}}(),T=function(){return o.isNode?function(){return process.emit.apply(process,arguments)}:o.global?function(q){var J="on"+q.toLowerCase(),Q=o.global[J];return Q?(Q.apply(o.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function S(q,J){return{promise:J}}var C={promiseCreated:S,promiseFulfilled:S,promiseRejected:S,promiseResolved:S,promiseCancelled:S,promiseChained:function(q,J,Q){return{promise:J,child:Q}},warning:function(q,J){return{warning:J}},unhandledRejection:function(q,J,Q){return{reason:J,promise:Q}},rejectionHandled:S},A=function(q){var J=!1;try{J=T.apply(null,arguments)}catch(ae){r.throwLater(ae),J=!0}var Q=!1;try{Q=_(q,C[q].apply(null,arguments))}catch(ae){r.throwLater(ae),Q=!0}return Q||J};t.config=function(q){if(q=Object(q),"longStackTraces"in q&&(q.longStackTraces?t.longStackTraces():!q.longStackTraces&&t.hasLongStackTraces()&&D()),"warnings"in q){var J=q.warnings;Y.warnings=!!J,v=Y.warnings,o.isObject(J)&&"wForgottenReturn"in J&&(v=!!J.wForgottenReturn)}if("cancellation"in q&&q.cancellation&&!Y.cancellation){if(r.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");t.prototype._clearCancellationData=z,t.prototype._propagateFrom=R,t.prototype._onCancel=k,t.prototype._setOnCancel=x,t.prototype._attachCancellationCallback=E,t.prototype._execute=P,G=R,Y.cancellation=!0}return"monitoring"in q&&(q.monitoring&&!Y.monitoring?(Y.monitoring=!0,t.prototype._fireEvent=A):!q.monitoring&&Y.monitoring&&(Y.monitoring=!1,t.prototype._fireEvent=O)),t};function O(){return!1}t.prototype._fireEvent=O,t.prototype._execute=function(q,J,Q){try{q(J,Q)}catch(ae){return ae}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(q){},t.prototype._attachCancellationCallback=function(q){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(q,J){};function P(q,J,Q){var ae=this;try{q(J,Q,function(xe){if(typeof xe!="function")throw new TypeError("onCancel must be a function, got: "+o.toString(xe));ae._attachCancellationCallback(xe)})}catch(xe){return xe}}function E(q){if(!this._isCancellable())return this;var J=this._onCancel();J!==void 0?o.isArray(J)?J.push(q):this._setOnCancel([J,q]):this._setOnCancel(q)}function k(){return this._onCancelField}function x(q){this._onCancelField=q}function z(){this._cancellationParent=void 0,this._onCancelField=void 0}function R(q,J){if((J&1)!==0){this._cancellationParent=q;var Q=q._branchesRemainingToCancel;Q===void 0&&(Q=0),q._branchesRemainingToCancel=Q+1}(J&2)!==0&&q._isBound()&&this._setBoundTo(q._boundTo)}function F(q,J){(J&2)!==0&&q._isBound()&&this._setBoundTo(q._boundTo)}var G=F;function B(){var q=this._boundTo;return q!==void 0&&q instanceof t?q.isFulfilled()?q.value():void 0:q}function V(){this._trace=new oe(this._peekContext())}function L(q,J){if(a(q)){var Q=this._trace;if(Q!==void 0&&J&&(Q=Q._parent),Q!==void 0)Q.attachExtraTrace(q);else if(!q.__stackCleaned__){var ae=fe(q);o.notEnumerableProp(q,"stack",ae.message+`
86
+ `+ae.stack.join(`
87
+ `)),o.notEnumerableProp(q,"__stackCleaned__",!0)}}}function I(q,J,Q,ae,xe){if(q===void 0&&J!==null&&v){if(xe!==void 0&&xe._returnedNonUndefined()||(ae._bitField&65535)===0)return;Q&&(Q=Q+" ");var Ee="",Ce="";if(J._trace){for(var Ae=J._trace.stack.split(`
88
+ `),te=de(Ae),ue=te.length-1;ue>=0;--ue){var ve=te[ue];if(!u.test(ve)){var Se=ve.match(d);Se&&(Ee="at "+Se[1]+":"+Se[2]+":"+Se[3]+" ");break}}if(te.length>0){for(var Oe=te[0],ue=0;ue<Ae.length;++ue)if(Ae[ue]===Oe){ue>0&&(Ce=`
89
+ `+Ae[ue-1]);break}}}var ee="a promise was created in a "+Q+"handler "+Ee+"but was not returned from it, see http://goo.gl/rRqMUw"+Ce;ae._warn(ee,!0,J)}}function ne(q,J){var Q=q+" is deprecated and will be removed in a future version.";return J&&(Q+=" Use "+J+" instead."),H(Q)}function H(q,J,Q){if(Y.warnings){var ae=new i(q),xe;if(J)Q._attachExtraTrace(ae);else if(Y.longStackTraces&&(xe=t._peekContext()))xe.attachExtraTrace(ae);else{var Ee=fe(ae);ae.stack=Ee.message+`
90
+ `+Ee.stack.join(`
91
+ `)}A("warning",ae)||ge(ae,"",!0)}}function Z(q,J){for(var Q=0;Q<J.length-1;++Q)J[Q].push("From previous event:"),J[Q]=J[Q].join(`
92
+ `);return Q<J.length&&(J[Q]=J[Q].join(`
93
+ `)),q+`
94
+ `+J.join(`
95
+ `)}function le(q){for(var J=0;J<q.length;++J)(q[J].length===0||J+1<q.length&&q[J][0]===q[J+1][0])&&(q.splice(J,1),J--)}function he(q){for(var J=q[0],Q=1;Q<q.length;++Q){for(var ae=q[Q],xe=J.length-1,Ee=J[xe],Ce=-1,Ae=ae.length-1;Ae>=0;--Ae)if(ae[Ae]===Ee){Ce=Ae;break}for(var Ae=Ce;Ae>=0;--Ae){var te=ae[Ae];if(J[xe]===te)J.pop(),xe--;else break}J=ae}}function de(q){for(var J=[],Q=0;Q<q.length;++Q){var ae=q[Q],xe=ae===" (No stack trace)"||f.test(ae),Ee=xe&&$(ae);xe&&!Ee&&(m&&ae.charAt(0)!==" "&&(ae=" "+ae),J.push(ae))}return J}function me(q){for(var J=q.stack.replace(/\s+$/g,"").split(`
96
+ `),Q=0;Q<J.length;++Q){var ae=J[Q];if(ae===" (No stack trace)"||f.test(ae))break}return Q>0&&q.name!="SyntaxError"&&(J=J.slice(Q)),J}function fe(q){var J=q.stack,Q=q.toString();return J=typeof J=="string"&&J.length>0?me(q):[" (No stack trace)"],{message:Q,stack:q.name=="SyntaxError"?J:de(J)}}function ge(q,J,Q){if(typeof console<"u"){var ae;if(o.isObject(q)){var xe=q.stack;ae=J+h(xe,q)}else ae=J+String(q);typeof g=="function"?g(ae,Q):(typeof console.log=="function"||typeof console.log=="object")&&console.log(ae)}}function ye(q,J,Q,ae){var xe=!1;try{typeof J=="function"&&(xe=!0,q==="rejectionHandled"?J(ae):J(Q,ae))}catch(Ee){r.throwLater(Ee)}q==="unhandledRejection"?!A(q,Q,ae)&&!xe&&ge(Q,"Unhandled rejection "):A(q,ae)}function be(q){var J;if(typeof q=="function")J="[function "+(q.name||"anonymous")+"]";else{J=q&&typeof q.toString=="function"?q.toString():o.toString(q);var Q=/\[object [a-zA-Z0-9$_]+\]/;if(Q.test(J))try{var ae=JSON.stringify(q);J=ae}catch{}J.length===0&&(J="(empty array)")}return"(<"+w(J)+">, no stack trace)"}function w(q){var J=41;return q.length<J?q:q.substr(0,J-3)+"..."}function X(){return typeof re=="function"}var $=function(){return!1},W=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function M(q){var J=q.match(W);if(J)return{fileName:J[1],line:parseInt(J[2],10)}}function j(q,J){if(X()){for(var Q=q.stack.split(`
97
+ `),ae=J.stack.split(`
98
+ `),xe=-1,Ee=-1,Ce,Ae,te=0;te<Q.length;++te){var ue=M(Q[te]);if(ue){Ce=ue.fileName,xe=ue.line;break}}for(var te=0;te<ae.length;++te){var ue=M(ae[te]);if(ue){Ae=ue.fileName,Ee=ue.line;break}}xe<0||Ee<0||!Ce||!Ae||Ce!==Ae||xe>=Ee||($=function(ve){if(l.test(ve))return!0;var Se=M(ve);return!!(Se&&Se.fileName===Ce&&xe<=Se.line&&Se.line<=Ee)})}}function oe(q){this._parent=q,this._promisesCreated=0;var J=this._length=1+(q===void 0?0:q._length);re(this,oe),J>32&&this.uncycle()}o.inherits(oe,Error),e.CapturedTrace=oe,oe.prototype.uncycle=function(){var q=this._length;if(!(q<2)){for(var J=[],Q={},ae=0,xe=this;xe!==void 0;++ae)J.push(xe),xe=xe._parent;q=this._length=ae;for(var ae=q-1;ae>=0;--ae){var Ee=J[ae].stack;Q[Ee]===void 0&&(Q[Ee]=ae)}for(var ae=0;ae<q;++ae){var Ce=J[ae].stack,Ae=Q[Ce];if(Ae!==void 0&&Ae!==ae){Ae>0&&(J[Ae-1]._parent=void 0,J[Ae-1]._length=1),J[ae]._parent=void 0,J[ae]._length=1;var te=ae>0?J[ae-1]:this;Ae<q-1?(te._parent=J[Ae+1],te._parent.uncycle(),te._length=te._parent._length+1):(te._parent=void 0,te._length=1);for(var ue=te._length+1,ve=ae-2;ve>=0;--ve)J[ve]._length=ue,ue++;return}}}},oe.prototype.attachExtraTrace=function(q){if(!q.__stackCleaned__){this.uncycle();for(var J=fe(q),Q=J.message,ae=[J.stack],xe=this;xe!==void 0;)ae.push(de(xe.stack.split(`
99
+ `))),xe=xe._parent;he(ae),le(ae),o.notEnumerableProp(q,"stack",Z(Q,ae)),o.notEnumerableProp(q,"__stackCleaned__",!0)}};var re=function(){var J=/^\s*at\s*/,Q=function(Ce,Ae){return typeof Ce=="string"?Ce:Ae.name!==void 0&&Ae.message!==void 0?Ae.toString():be(Ae)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,f=J,h=Q;var ae=Error.captureStackTrace;return $=function(Ce){return l.test(Ce)},function(Ce,Ae){Error.stackTraceLimit+=6,ae(Ce,Ae),Error.stackTraceLimit-=6}}var xe=new Error;if(typeof xe.stack=="string"&&xe.stack.split(`
100
+ `)[0].indexOf("stackDetection@")>=0)return f=/@/,h=Q,m=!0,function(Ae){Ae.stack=new Error().stack};var Ee;try{throw new Error}catch(Ce){Ee="stack"in Ce}return!("stack"in xe)&&Ee&&typeof Error.stackTraceLimit=="number"?(f=J,h=Q,function(Ae){Error.stackTraceLimit+=6;try{throw new Error}catch(te){Ae.stack=te.stack}Error.stackTraceLimit-=6}):(h=function(Ce,Ae){return typeof Ce=="string"?Ce:(typeof Ae=="object"||typeof Ae=="function")&&Ae.name!==void 0&&Ae.message!==void 0?Ae.toString():be(Ae)},null)}();typeof console<"u"&&typeof console.warn<"u"&&(g=function(q){console.warn(q)},o.isNode&&process.stderr.isTTY?g=function(q,J){var Q=J?"\x1B[33m":"\x1B[31m";console.warn(Q+q+`\x1B[0m
101
+ `)}:!o.isNode&&typeof new Error().stack=="string"&&(g=function(q,J){console.warn("%c"+q,J?"color: darkorange":"color: red")}));var Y={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};return b&&t.longStackTraces(),{longStackTraces:function(){return Y.longStackTraces},warnings:function(){return Y.warnings},cancellation:function(){return Y.cancellation},monitoring:function(){return Y.monitoring},propagateFromFunction:function(){return G},boundValueFunction:function(){return B},checkForgottenReturns:I,setBounds:j,warn:H,deprecated:ne,CapturedTrace:oe,fireDomEvent:_,fireGlobalEvent:T}}),cf}var lf,i0;function II(){return i0||(i0=1,lf=function(t,e){var n=Ge(),r=t.CancellationError,i=n.errorObj;function o(d,f,h){this.promise=d,this.type=f,this.handler=h,this.called=!1,this.cancelPromise=null}o.prototype.isFinallyHandler=function(){return this.type===0};function a(d){this.finallyHandler=d}a.prototype._resultCancelled=function(){s(this.finallyHandler)};function s(d,f){return d.cancelPromise!=null?(arguments.length>1?d.cancelPromise._reject(f):d.cancelPromise._cancel(),d.cancelPromise=null,!0):!1}function c(){return u.call(this,this.promise._target()._settledValue())}function l(d){if(!s(this,d))return i.e=d,i}function u(d){var f=this.promise,h=this.handler;if(!this.called){this.called=!0;var m=this.isFinallyHandler()?h.call(f._boundValue()):h.call(f._boundValue(),d);if(m!==void 0){f._setReturnedNonUndefined();var g=e(m,f);if(g instanceof t){if(this.cancelPromise!=null)if(g._isCancelled()){var p=new r("late cancellation observer");return f._attachExtraTrace(p),i.e=p,i}else g.isPending()&&g._attachCancellationCallback(new a(this));return g._then(c,l,void 0,this,void 0)}}}return f.isRejected()?(s(this),i.e=d,i):(s(this),d)}return t.prototype._passThrough=function(d,f,h,m){return typeof d!="function"?this.then():this._then(h,m,void 0,new o(this,f,d),void 0)},t.prototype.lastly=t.prototype.finally=function(d){return this._passThrough(d,0,u,u)},t.prototype.tap=function(d){return this._passThrough(d,1,u)},o}),lf}var uf,o0;function NI(){return o0||(o0=1,uf=function(t){var e=Ge(),n=uo().keys,r=e.tryCatch,i=e.errorObj;function o(a,s,c){return function(l){var u=c._boundValue();e:for(var d=0;d<a.length;++d){var f=a[d];if(f===Error||f!=null&&f.prototype instanceof Error){if(l instanceof f)return r(s).call(u,l)}else if(typeof f=="function"){var h=r(f).call(u,l);if(h===i)return h;if(h)return r(s).call(u,l)}else if(e.isObject(l)){for(var m=n(f),g=0;g<m.length;++g){var p=m[g];if(f[p]!=l[p])continue e}return r(s).call(u,l)}}return t}}return o}),uf}var df,a0;function xT(){if(a0)return df;a0=1;var t=Ge(),e=t.maybeWrapAsError,n=Tr(),r=n.OperationalError,i=uo();function o(l){return l instanceof Error&&i.getPrototypeOf(l)===Error.prototype}var a=/^(?:name|message|stack|cause)$/;function s(l){var u;if(o(l)){u=new r(l),u.name=l.name,u.message=l.message,u.stack=l.stack;for(var d=i.keys(l),f=0;f<d.length;++f){var h=d[f];a.test(h)||(u[h]=l[h])}return u}return t.markAsOriginatingFromRejection(l),l}function c(l,u){return function(d,f){if(l!==null){if(d){var h=s(e(d));l._attachExtraTrace(h),l._reject(h)}else if(!u)l._fulfill(f);else{for(var m=arguments.length,g=new Array(Math.max(m-1,0)),p=1;p<m;++p)g[p-1]=arguments[p];l._fulfill(g)}l=null}}}return df=c,df}var ff,s0;function BI(){return s0||(s0=1,ff=function(t,e,n,r,i){var o=Ge(),a=o.tryCatch;t.method=function(s){if(typeof s!="function")throw new t.TypeError("expecting a function but got "+o.classString(s));return function(){var c=new t(e);c._captureStackTrace(),c._pushContext();var l=a(s).apply(this,arguments),u=c._popContext();return i.checkForgottenReturns(l,u,"Promise.method",c),c._resolveFromSyncValue(l),c}},t.attempt=t.try=function(s){if(typeof s!="function")return r("expecting a function but got "+o.classString(s));var c=new t(e);c._captureStackTrace(),c._pushContext();var l;if(arguments.length>1){i.deprecated("calling Promise.try with more than 1 argument");var u=arguments[1],d=arguments[2];l=o.isArray(u)?a(s).apply(d,u):a(s).call(d,u)}else l=a(s)();var f=c._popContext();return i.checkForgottenReturns(l,f,"Promise.try",c),c._resolveFromSyncValue(l),c},t.prototype._resolveFromSyncValue=function(s){s===o.errorObj?this._rejectCallback(s.e,!1):this._resolveCallback(s,!0)}}),ff}var hf,c0;function MI(){return c0||(c0=1,hf=function(t,e,n,r){var i=!1,o=function(l,u){this._reject(u)},a=function(l,u){u.promiseRejectionQueued=!0,u.bindingPromise._then(o,o,null,this,l)},s=function(l,u){(this._bitField&50397184)===0&&this._resolveCallback(u.target)},c=function(l,u){u.promiseRejectionQueued||this._reject(l)};t.prototype.bind=function(l){i||(i=!0,t.prototype._propagateFrom=r.propagateFromFunction(),t.prototype._boundValue=r.boundValueFunction());var u=n(l),d=new t(e);d._propagateFrom(this,1);var f=this._target();if(d._setBoundTo(u),u instanceof t){var h={promiseRejectionQueued:!1,promise:d,target:f,bindingPromise:u};f._then(e,a,void 0,d,h),u._then(s,c,void 0,d,h),d._setOnCancel(u)}else d._resolveCallback(f);return d},t.prototype._setBoundTo=function(l){l!==void 0?(this._bitField=this._bitField|2097152,this._boundTo=l):this._bitField=this._bitField&-2097153},t.prototype._isBound=function(){return(this._bitField&2097152)===2097152},t.bind=function(l,u){return t.resolve(u).bind(l)}}),hf}var pf,l0;function LI(){return l0||(l0=1,pf=function(t,e,n,r){var i=Ge(),o=i.tryCatch,a=i.errorObj,s=t._async;t.prototype.break=t.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");for(var c=this,l=c;c._isCancellable();){if(!c._cancelBy(l)){l._isFollowing()?l._followee().cancel():l._cancelBranched();break}var u=c._cancellationParent;if(u==null||!u._isCancellable()){c._isFollowing()?c._followee().cancel():c._cancelBranched();break}else c._isFollowing()&&c._followee().cancel(),c._setWillBeCancelled(),l=c,c=u}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(c){return c===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),s.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(c,l){if(i.isArray(c))for(var u=0;u<c.length;++u)this._doInvokeOnCancel(c[u],l);else if(c!==void 0)if(typeof c=="function"){if(!l){var d=o(c).call(this._boundValue());d===a&&(this._attachExtraTrace(d.e),s.throwLater(d.e))}}else c._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var c=this._onCancel();this._unsetOnCancel(),s.invoke(this._doInvokeOnCancel,this,c)},t.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}),pf}var gf,u0;function WI(){return u0||(u0=1,gf=function(t){function e(){return this.value}function n(){throw this.reason}t.prototype.return=t.prototype.thenReturn=function(r){return r instanceof t&&r.suppressUnhandledRejections(),this._then(e,void 0,void 0,{value:r},void 0)},t.prototype.throw=t.prototype.thenThrow=function(r){return this._then(n,void 0,void 0,{reason:r},void 0)},t.prototype.catchThrow=function(r){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:r},void 0);var i=arguments[1],o=function(){throw i};return this.caught(r,o)},t.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof t&&r.suppressUnhandledRejections(),this._then(void 0,e,void 0,{value:r},void 0);var i=arguments[1];i instanceof t&&i.suppressUnhandledRejections();var o=function(){return i};return this.caught(r,o)}}),gf}var mf,d0;function PI(){return d0||(d0=1,mf=function(t){function e(c){c!==void 0?(c=c._target(),this._bitField=c._bitField,this._settledValueField=c._isFateSealed()?c._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}e.prototype._settledValue=function(){return this._settledValueField};var n=e.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(`cannot get fulfillment value of a non-fulfilled promise
102
+
103
+ See http://goo.gl/MqrFmX
104
+ `);return this._settledValue()},r=e.prototype.error=e.prototype.reason=function(){if(!this.isRejected())throw new TypeError(`cannot get rejection reason of a non-rejected promise
105
+
106
+ See http://goo.gl/MqrFmX
107
+ `);return this._settledValue()},i=e.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},o=e.prototype.isRejected=function(){return(this._bitField&16777216)!==0},a=e.prototype.isPending=function(){return(this._bitField&50397184)===0},s=e.prototype.isResolved=function(){return(this._bitField&50331648)!==0};e.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},t.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},t.prototype.isPending=function(){return a.call(this._target())},t.prototype.isRejected=function(){return o.call(this._target())},t.prototype.isFulfilled=function(){return i.call(this._target())},t.prototype.isResolved=function(){return s.call(this._target())},t.prototype.value=function(){return n.call(this._target())},t.prototype.reason=function(){var c=this._target();return c._unsetRejectionIsUnhandled(),r.call(c)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=e}),mf}var yf,f0;function qI(){return f0||(f0=1,yf=function(t,e,n,r,i,o){var a=Ge(),s=a.canEvaluate,c=a.tryCatch,l=a.errorObj,u;if(s){for(var d=function(b){return new Function("value","holder",`
108
+ 'use strict';
109
+ holder.pIndex = value;
110
+ holder.checkFulfillment(this);
111
+ `.replace(/Index/g,b))},f=function(b){return new Function("promise","holder",`
112
+ 'use strict';
113
+ holder.pIndex = promise;
114
+ `.replace(/Index/g,b))},h=function(b){for(var v=new Array(b),D=0;D<v.length;++D)v[D]="this.p"+(D+1);var _=v.join(" = ")+" = null;",T=`var promise;
115
+ `+v.map(function(O){return`
116
+ promise = `+O+`;
117
+ if (promise instanceof Promise) {
118
+ promise.cancel();
119
+ }
120
+ `}).join(`
121
+ `),S=v.join(", "),C="Holder$"+b,A=`return function(tryCatch, errorObj, Promise, async) {
122
+ 'use strict';
123
+ function [TheName](fn) {
124
+ [TheProperties]
125
+ this.fn = fn;
126
+ this.asyncNeeded = true;
127
+ this.now = 0;
128
+ }
129
+
130
+ [TheName].prototype._callFunction = function(promise) {
131
+ promise._pushContext();
132
+ var ret = tryCatch(this.fn)([ThePassedArguments]);
133
+ promise._popContext();
134
+ if (ret === errorObj) {
135
+ promise._rejectCallback(ret.e, false);
136
+ } else {
137
+ promise._resolveCallback(ret);
138
+ }
139
+ };
140
+
141
+ [TheName].prototype.checkFulfillment = function(promise) {
142
+ var now = ++this.now;
143
+ if (now === [TheTotal]) {
144
+ if (this.asyncNeeded) {
145
+ async.invoke(this._callFunction, this, promise);
146
+ } else {
147
+ this._callFunction(promise);
148
+ }
149
+
150
+ }
151
+ };
152
+
153
+ [TheName].prototype._resultCancelled = function() {
154
+ [CancellationCode]
155
+ };
156
+
157
+ return [TheName];
158
+ }(tryCatch, errorObj, Promise, async);
159
+ `;return A=A.replace(/\[TheName\]/g,C).replace(/\[TheTotal\]/g,b).replace(/\[ThePassedArguments\]/g,S).replace(/\[TheProperties\]/g,_).replace(/\[CancellationCode\]/g,T),new Function("tryCatch","errorObj","Promise","async",A)(c,l,t,i)},m=[],g=[],p=[],y=0;y<8;++y)m.push(h(y+1)),g.push(d(y+1)),p.push(f(y+1));u=function(b){this._reject(b)}}t.join=function(){var b=arguments.length-1,v;if(b>0&&typeof arguments[b]=="function"&&(v=arguments[b],b<=8&&s)){var x=new t(r);x._captureStackTrace();for(var D=m[b-1],_=new D(v),T=g,S=0;S<b;++S){var C=n(arguments[S],x);if(C instanceof t){C=C._target();var A=C._bitField;(A&50397184)===0?(C._then(T[S],u,void 0,x,_),p[S](C,_),_.asyncNeeded=!1):(A&33554432)!==0?T[S].call(x,C._value(),_):(A&16777216)!==0?x._reject(C._reason()):x._cancel()}else T[S].call(x,C,_)}if(!x._isFateSealed()){if(_.asyncNeeded){var O=o();O!==null&&(_.fn=a.domainBind(O,_.fn))}x._setAsyncGuaranteed(),x._setOnCancel(_)}return x}for(var P=arguments.length,E=new Array(P),k=0;k<P;++k)E[k]=arguments[k];v&&E.pop();var x=new e(E).promise();return v!==void 0?x.spread(v):x}}),yf}var bf,h0;function zI(){return h0||(h0=1,bf=function(t,e,n,r,i,o){var a=t._getDomain,s=Ge(),c=s.tryCatch,l=s.errorObj,u=t._async;function d(h,m,g,p){this.constructor$(h),this._promise._captureStackTrace();var y=a();this._callback=y===null?m:s.domainBind(y,m),this._preservedValues=p===i?new Array(this.length()):null,this._limit=g,this._inFlight=0,this._queue=[],u.invoke(this._asyncInit,this,void 0)}s.inherits(d,e),d.prototype._asyncInit=function(){this._init$(void 0,-2)},d.prototype._init=function(){},d.prototype._promiseFulfilled=function(h,m){var g=this._values,p=this.length(),y=this._preservedValues,b=this._limit;if(m<0){if(m=m*-1-1,g[m]=h,b>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(b>=1&&this._inFlight>=b)return g[m]=h,this._queue.push(m),!1;y!==null&&(y[m]=h);var v=this._promise,D=this._callback,_=v._boundValue();v._pushContext();var T=c(D).call(_,h,m,p),S=v._popContext();if(o.checkForgottenReturns(T,S,y!==null?"Promise.filter":"Promise.map",v),T===l)return this._reject(T.e),!0;var C=r(T,this._promise);if(C instanceof t){C=C._target();var A=C._bitField;if((A&50397184)===0)return b>=1&&this._inFlight++,g[m]=C,C._proxy(this,(m+1)*-1),!1;if((A&33554432)!==0)T=C._value();else return(A&16777216)!==0?(this._reject(C._reason()),!0):(this._cancel(),!0)}g[m]=T}var O=++this._totalResolved;return O>=p?(y!==null?this._filter(g,y):this._resolve(g),!0):!1},d.prototype._drainQueue=function(){for(var h=this._queue,m=this._limit,g=this._values;h.length>0&&this._inFlight<m;){if(this._isResolved())return;var p=h.pop();this._promiseFulfilled(g[p],p)}},d.prototype._filter=function(h,m){for(var g=m.length,p=new Array(g),y=0,b=0;b<g;++b)h[b]&&(p[y++]=m[b]);p.length=y,this._resolve(p)},d.prototype.preservedValues=function(){return this._preservedValues};function f(h,m,g,p){if(typeof m!="function")return n("expecting a function but got "+s.classString(m));var y=0;if(g!==void 0)if(typeof g=="object"&&g!==null){if(typeof g.concurrency!="number")return t.reject(new TypeError("'concurrency' must be a number but it is "+s.classString(g.concurrency)));y=g.concurrency}else return t.reject(new TypeError("options argument must be an object but it is "+s.classString(g)));return y=typeof y=="number"&&isFinite(y)&&y>=1?y:0,new d(h,m,y,p).promise()}t.prototype.map=function(h,m){return f(this,h,m,null)},t.map=function(h,m,g,p){return f(h,m,g,p)}}),bf}var vf,p0;function $I(){if(p0)return vf;p0=1;var t=Object.create;if(t){var e=t(null),n=t(null);e[" size"]=n[" size"]=0}return vf=function(r){var i=Ge(),o=i.canEvaluate,a=i.isIdentifier,s,c;{var l=function(p){return new Function("ensureMethod",`
160
+ return function(obj) {
161
+ 'use strict'
162
+ var len = this.length;
163
+ ensureMethod(obj, 'methodName');
164
+ switch(len) {
165
+ case 1: return obj.methodName(this[0]);
166
+ case 2: return obj.methodName(this[0], this[1]);
167
+ case 3: return obj.methodName(this[0], this[1], this[2]);
168
+ case 0: return obj.methodName();
169
+ default:
170
+ return obj.methodName.apply(obj, this);
171
+ }
172
+ };
173
+ `.replace(/methodName/g,p))(f)},u=function(p){return new Function("obj",`
174
+ 'use strict';
175
+ return obj.propertyName;
176
+ `.replace("propertyName",p))},d=function(p,y,b){var v=b[p];if(typeof v!="function"){if(!a(p))return null;if(v=y(p),b[p]=v,b[" size"]++,b[" size"]>512){for(var D=Object.keys(b),_=0;_<256;++_)delete b[D[_]];b[" size"]=D.length-256}}return v};s=function(p){return d(p,l,e)},c=function(p){return d(p,u,n)}}function f(p,y){var b;if(p!=null&&(b=p[y]),typeof b!="function"){var v="Object "+i.classString(p)+" has no method '"+i.toString(y)+"'";throw new r.TypeError(v)}return b}function h(p){var y=this.pop(),b=f(p,y);return b.apply(p,this)}r.prototype.call=function(p){for(var y=arguments.length,b=new Array(Math.max(y-1,0)),v=1;v<y;++v)b[v-1]=arguments[v];if(o){var D=s(p);if(D!==null)return this._then(D,void 0,void 0,b,void 0)}return b.push(p),this._then(h,void 0,void 0,b,void 0)};function m(p){return p[this]}function g(p){var y=+this;return y<0&&(y=Math.max(0,y+p.length)),p[y]}r.prototype.get=function(p){var y=typeof p=="number",b;if(y)b=g;else if(o){var v=c(p);b=v!==null?v:m}else b=m;return this._then(b,void 0,void 0,p,void 0)}},vf}var xf,g0;function jI(){return g0||(g0=1,xf=function(t,e,n,r,i,o){var a=Ge(),s=Tr().TypeError,c=Ge().inherits,l=a.errorObj,u=a.tryCatch,d={};function f(v){setTimeout(function(){throw v},0)}function h(v){var D=n(v);return D!==v&&typeof v._isDisposable=="function"&&typeof v._getDisposer=="function"&&v._isDisposable()&&D._setDisposable(v._getDisposer()),D}function m(v,D){var _=0,T=v.length,S=new t(i);function C(){if(_>=T)return S._fulfill();var A=h(v[_++]);if(A instanceof t&&A._isDisposable()){try{A=n(A._getDisposer().tryDispose(D),v.promise)}catch(O){return f(O)}if(A instanceof t)return A._then(C,f,null,null,null)}C()}return C(),S}function g(v,D,_){this._data=v,this._promise=D,this._context=_}g.prototype.data=function(){return this._data},g.prototype.promise=function(){return this._promise},g.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():d},g.prototype.tryDispose=function(v){var D=this.resource(),_=this._context;_!==void 0&&_._pushContext();var T=D!==d?this.doDispose(D,v):null;return _!==void 0&&_._popContext(),this._promise._unsetDisposable(),this._data=null,T},g.isDisposer=function(v){return v!=null&&typeof v.resource=="function"&&typeof v.tryDispose=="function"};function p(v,D,_){this.constructor$(v,D,_)}c(p,g),p.prototype.doDispose=function(v,D){var _=this.data();return _.call(v,v,D)};function y(v){return g.isDisposer(v)?(this.resources[this.index]._setDisposable(v),v.promise()):v}function b(v){this.length=v,this.promise=null,this[v-1]=null}b.prototype._resultCancelled=function(){for(var v=this.length,D=0;D<v;++D){var _=this[D];_ instanceof t&&_.cancel()}},t.using=function(){var v=arguments.length;if(v<2)return e("you must pass at least 2 arguments to Promise.using");var D=arguments[v-1];if(typeof D!="function")return e("expecting a function but got "+a.classString(D));var _,T=!0;v===2&&Array.isArray(arguments[0])?(_=arguments[0],v=_.length,T=!1):(_=arguments,v--);for(var S=new b(v),C=0;C<v;++C){var A=_[C];if(g.isDisposer(A)){var O=A;A=A.promise(),A._setDisposable(O)}else{var P=n(A);P instanceof t&&(A=P._then(y,null,null,{resources:S,index:C},void 0))}S[C]=A}for(var E=new Array(S.length),C=0;C<E.length;++C)E[C]=t.resolve(S[C]).reflect();var k=t.all(E).then(function(z){for(var R=0;R<z.length;++R){var F=z[R];if(F.isRejected())return l.e=F.error(),l;if(!F.isFulfilled()){k.cancel();return}z[R]=F.value()}x._pushContext(),D=u(D);var G=T?D.apply(void 0,z):D(z),B=x._popContext();return o.checkForgottenReturns(G,B,"Promise.using",x),G}),x=k.lastly(function(){var z=new t.PromiseInspection(k);return m(S,z)});return S.promise=x,x._setOnCancel(S),x},t.prototype._setDisposable=function(v){this._bitField=this._bitField|131072,this._disposer=v},t.prototype._isDisposable=function(){return(this._bitField&131072)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},t.prototype.disposer=function(v){if(typeof v=="function")return new p(v,this,r());throw new s}}),xf}var Df,m0;function VI(){return m0||(m0=1,Df=function(t,e,n){var r=Ge(),i=t.TimeoutError;function o(d){this.handle=d}o.prototype._resultCancelled=function(){clearTimeout(this.handle)};var a=function(d){return s(+this).thenReturn(d)},s=t.delay=function(d,f){var h,m;return f!==void 0?(h=t.resolve(f)._then(a,null,null,d,void 0),n.cancellation()&&f instanceof t&&h._setOnCancel(f)):(h=new t(e),m=setTimeout(function(){h._fulfill()},+d),n.cancellation()&&h._setOnCancel(new o(m)),h._captureStackTrace()),h._setAsyncGuaranteed(),h};t.prototype.delay=function(d){return s(d,this)};var c=function(d,f,h){var m;typeof f!="string"?f instanceof Error?m=f:m=new i("operation timed out"):m=new i(f),r.markAsOriginatingFromRejection(m),d._attachExtraTrace(m),d._reject(m),h!=null&&h.cancel()};function l(d){return clearTimeout(this.handle),d}function u(d){throw clearTimeout(this.handle),d}t.prototype.timeout=function(d,f){d=+d;var h,m,g=new o(setTimeout(function(){h.isPending()&&c(h,f,m)},d));return n.cancellation()?(m=this.then(),h=m._then(l,u,void 0,g,void 0),h._setOnCancel(g)):h=this._then(l,u,void 0,g,void 0),h}}),Df}var _f,y0;function HI(){return y0||(y0=1,_f=function(t,e,n,r,i,o){var a=Tr(),s=a.TypeError,c=Ge(),l=c.errorObj,u=c.tryCatch,d=[];function f(m,g,p){for(var y=0;y<g.length;++y){p._pushContext();var b=u(g[y])(m);if(p._popContext(),b===l){p._pushContext();var v=t.reject(l.e);return p._popContext(),v}var D=r(b,p);if(D instanceof t)return D}return null}function h(m,g,p,y){if(o.cancellation()){var b=new t(n),v=this._finallyPromise=new t(n);this._promise=b.lastly(function(){return v}),b._captureStackTrace(),b._setOnCancel(this)}else{var D=this._promise=new t(n);D._captureStackTrace()}this._stack=y,this._generatorFunction=m,this._receiver=g,this._generator=void 0,this._yieldHandlers=typeof p=="function"?[p].concat(d):d,this._yieldedPromise=null,this._cancellationPhase=!1}c.inherits(h,i),h.prototype._isResolved=function(){return this._promise===null},h.prototype._cleanup=function(){this._promise=this._generator=null,o.cancellation()&&this._finallyPromise!==null&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},h.prototype._promiseCancelled=function(){if(!this._isResolved()){var m=typeof this._generator.return<"u",g;if(m)this._promise._pushContext(),g=u(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var p=new t.CancellationError("generator .return() sentinel");t.coroutine.returnSentinel=p,this._promise._attachExtraTrace(p),this._promise._pushContext(),g=u(this._generator.throw).call(this._generator,p),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(g)}},h.prototype._promiseFulfilled=function(m){this._yieldedPromise=null,this._promise._pushContext();var g=u(this._generator.next).call(this._generator,m);this._promise._popContext(),this._continue(g)},h.prototype._promiseRejected=function(m){this._yieldedPromise=null,this._promise._attachExtraTrace(m),this._promise._pushContext();var g=u(this._generator.throw).call(this._generator,m);this._promise._popContext(),this._continue(g)},h.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var m=this._yieldedPromise;this._yieldedPromise=null,m.cancel()}},h.prototype.promise=function(){return this._promise},h.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},h.prototype._continue=function(m){var g=this._promise;if(m===l)return this._cleanup(),this._cancellationPhase?g.cancel():g._rejectCallback(m.e,!1);var p=m.value;if(m.done===!0)return this._cleanup(),this._cancellationPhase?g.cancel():g._resolveCallback(p);var y=r(p,this._promise);if(!(y instanceof t)&&(y=f(y,this._yieldHandlers,this._promise),y===null)){this._promiseRejected(new s(`A value %s was yielded that could not be treated as a promise
177
+
178
+ See http://goo.gl/MqrFmX
179
+
180
+ `.replace("%s",p)+`From coroutine:
181
+ `+this._stack.split(`
182
+ `).slice(1,-7).join(`
183
+ `)));return}y=y._target();var b=y._bitField;(b&50397184)===0?(this._yieldedPromise=y,y._proxy(this,null)):(b&33554432)!==0?t._async.invoke(this._promiseFulfilled,this,y._value()):(b&16777216)!==0?t._async.invoke(this._promiseRejected,this,y._reason()):this._promiseCancelled()},t.coroutine=function(m,g){if(typeof m!="function")throw new s(`generatorFunction must be a function
184
+
185
+ See http://goo.gl/MqrFmX
186
+ `);var p=Object(g).yieldHandler,y=h,b=new Error().stack;return function(){var v=m.apply(this,arguments),D=new y(void 0,void 0,p,b),_=D.promise();return D._generator=v,D._promiseFulfilled(void 0),_}},t.coroutine.addYieldHandler=function(m){if(typeof m!="function")throw new s("expecting a function but got "+c.classString(m));d.push(m)},t.spawn=function(m){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),typeof m!="function")return e(`generatorFunction must be a function
187
+
188
+ See http://goo.gl/MqrFmX
189
+ `);var g=new h(m,this),p=g.promise();return g._run(t.spawn),p}}),_f}var wf,b0;function GI(){return b0||(b0=1,wf=function(t){var e=Ge(),n=t._async,r=e.tryCatch,i=e.errorObj;function o(c,l){var u=this;if(!e.isArray(c))return a.call(u,c,l);var d=r(l).apply(u._boundValue(),[null].concat(c));d===i&&n.throwLater(d.e)}function a(c,l){var u=this,d=u._boundValue(),f=c===void 0?r(l).call(d,null):r(l).call(d,null,c);f===i&&n.throwLater(f.e)}function s(c,l){var u=this;if(!c){var d=new Error(c+"");d.cause=c,c=d}var f=r(l).call(u._boundValue(),c);f===i&&n.throwLater(f.e)}t.prototype.asCallback=t.prototype.nodeify=function(c,l){if(typeof c=="function"){var u=a;l!==void 0&&Object(l).spread&&(u=o),this._then(u,s,void 0,this,c)}return this}}),wf}var Ef,v0;function XI(){return v0||(v0=1,Ef=function(t,e){var n={},r=Ge(),i=xT(),o=r.withAppended,a=r.maybeWrapAsError,s=r.canEvaluate,c=Tr().TypeError,l="Async",u={__isPromisified__:!0},d=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],f=new RegExp("^(?:"+d.join("|")+")$"),h=function(k){return r.isIdentifier(k)&&k.charAt(0)!=="_"&&k!=="constructor"};function m(k){return!f.test(k)}function g(k){try{return k.__isPromisified__===!0}catch{return!1}}function p(k,x,z){var R=r.getDataPropertyOrDefault(k,x+z,u);return R?g(R):!1}function y(k,x,z){for(var R=0;R<k.length;R+=2){var F=k[R];if(z.test(F)){for(var G=F.replace(z,""),B=0;B<k.length;B+=2)if(k[B]===G)throw new c(`Cannot promisify an API that has normal methods with '%s'-suffix
190
+
191
+ See http://goo.gl/MqrFmX
192
+ `.replace("%s",x))}}}function b(k,x,z,R){for(var F=r.inheritedDataKeys(k),G=[],B=0;B<F.length;++B){var V=F[B],L=k[V],I=R===h?!0:h(V);typeof L=="function"&&!g(L)&&!p(k,V,x)&&R(V,L,k,I)&&G.push(V,L)}return y(G,x,z),G}var v=function(k){return k.replace(/([$])/,"\\$")},D;{var _=function(k){for(var x=[k],z=Math.max(0,k-1-3),R=k-1;R>=z;--R)x.push(R);for(var R=k+1;R<=3;++R)x.push(R);return x},T=function(k){return r.filledRange(k,"_arg","")},S=function(k){return r.filledRange(Math.max(k,3),"_arg","")},C=function(k){return typeof k.length=="number"?Math.max(Math.min(k.length,1024),0):0};D=function(k,x,z,R,F,G){var B=Math.max(0,C(R)-1),V=_(B),L=typeof k=="string"||x===n;function I(le){var he=T(le).join(", "),de=le>0?", ":"",me;return L?me=`ret = callback.call(this, {{args}}, nodeback); break;
193
+ `:me=x===void 0?`ret = callback({{args}}, nodeback); break;
194
+ `:`ret = callback.call(receiver, {{args}}, nodeback); break;
195
+ `,me.replace("{{args}}",he).replace(", ",de)}function ne(){for(var le="",he=0;he<V.length;++he)le+="case "+V[he]+":"+I(V[he]);return le+=`
196
+ default:
197
+ var args = new Array(len + 1);
198
+ var i = 0;
199
+ for (var i = 0; i < len; ++i) {
200
+ args[i] = arguments[i];
201
+ }
202
+ args[i] = nodeback;
203
+ [CodeForCall]
204
+ break;
205
+ `.replace("[CodeForCall]",L?`ret = callback.apply(this, args);
206
+ `:`ret = callback.apply(receiver, args);
207
+ `),le}var H=typeof k=="string"?"this != null ? this['"+k+"'] : fn":"fn",Z=`'use strict';
208
+ var ret = function (Parameters) {
209
+ 'use strict';
210
+ var len = arguments.length;
211
+ var promise = new Promise(INTERNAL);
212
+ promise._captureStackTrace();
213
+ var nodeback = nodebackForPromise(promise, `+G+`);
214
+ var ret;
215
+ var callback = tryCatch([GetFunctionCode]);
216
+ switch(len) {
217
+ [CodeForSwitchCase]
218
+ }
219
+ if (ret === errorObj) {
220
+ promise._rejectCallback(maybeWrapAsError(ret.e), true, true);
221
+ }
222
+ if (!promise._isFateSealed()) promise._setAsyncGuaranteed();
223
+ return promise;
224
+ };
225
+ notEnumerableProp(ret, '__isPromisified__', true);
226
+ return ret;
227
+ `.replace("[CodeForSwitchCase]",ne()).replace("[GetFunctionCode]",H);return Z=Z.replace("Parameters",S(B)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",Z)(t,R,x,o,a,i,r.tryCatch,r.errorObj,r.notEnumerableProp,e)}}function A(k,x,z,R,F,G){var B=function(){return this}(),V=k;typeof V=="string"&&(k=R);function L(){var I=x;x===n&&(I=this);var ne=new t(e);ne._captureStackTrace();var H=typeof V=="string"&&this!==B?this[V]:k,Z=i(ne,G);try{H.apply(I,o(arguments,Z))}catch(le){ne._rejectCallback(a(le),!0,!0)}return ne._isFateSealed()||ne._setAsyncGuaranteed(),ne}return r.notEnumerableProp(L,"__isPromisified__",!0),L}var O=s?D:A;function P(k,x,z,R,F){for(var G=new RegExp(v(x)+"$"),B=b(k,x,G,z),V=0,L=B.length;V<L;V+=2){var I=B[V],ne=B[V+1],H=I+x;if(R===O)k[H]=O(I,n,I,ne,x,F);else{var Z=R(ne,function(){return O(I,n,I,ne,x,F)});r.notEnumerableProp(Z,"__isPromisified__",!0),k[H]=Z}}return r.toFastProperties(k),k}function E(k,x,z){return O(k,x,void 0,k,null,z)}t.promisify=function(k,x){if(typeof k!="function")throw new c("expecting a function but got "+r.classString(k));if(g(k))return k;x=Object(x);var z=x.context===void 0?n:x.context,R=!!x.multiArgs,F=E(k,z,R);return r.copyDescriptors(k,F,m),F},t.promisifyAll=function(k,x){if(typeof k!="function"&&typeof k!="object")throw new c(`the target of promisifyAll must be an object or a function
228
+
229
+ See http://goo.gl/MqrFmX
230
+ `);x=Object(x);var z=!!x.multiArgs,R=x.suffix;typeof R!="string"&&(R=l);var F=x.filter;typeof F!="function"&&(F=h);var G=x.promisifier;if(typeof G!="function"&&(G=O),!r.isIdentifier(R))throw new RangeError(`suffix must be a valid identifier
231
+
232
+ See http://goo.gl/MqrFmX
233
+ `);for(var B=r.inheritedDataKeys(k),V=0;V<B.length;++V){var L=k[B[V]];B[V]!=="constructor"&&r.isClass(L)&&(P(L.prototype,R,F,G,z),P(L,R,F,G,z))}return P(k,R,F,G,z)}}),Ef}var Tf,x0;function KI(){return x0||(x0=1,Tf=function(t,e,n,r){var i=Ge(),o=i.isObject,a=uo(),s;typeof Map=="function"&&(s=Map);var c=function(){var f=0,h=0;function m(g,p){this[f]=g,this[f+h]=p,f++}return function(p){h=p.size,f=0;var y=new Array(p.size*2);return p.forEach(m,y),y}}(),l=function(f){for(var h=new s,m=f.length/2|0,g=0;g<m;++g){var p=f[m+g],y=f[g];h.set(p,y)}return h};function u(f){var h=!1,m;if(s!==void 0&&f instanceof s)m=c(f),h=!0;else{var g=a.keys(f),p=g.length;m=new Array(p*2);for(var y=0;y<p;++y){var b=g[y];m[y]=f[b],m[y+p]=b}}this.constructor$(m),this._isMap=h,this._init$(void 0,-3)}i.inherits(u,e),u.prototype._init=function(){},u.prototype._promiseFulfilled=function(f,h){this._values[h]=f;var m=++this._totalResolved;if(m>=this._length){var g;if(this._isMap)g=l(this._values);else{g={};for(var p=this.length(),y=0,b=this.length();y<b;++y)g[this._values[y+p]]=this._values[y]}return this._resolve(g),!0}return!1},u.prototype.shouldCopyValues=function(){return!1},u.prototype.getActualLength=function(f){return f>>1};function d(f){var h,m=n(f);if(o(m))m instanceof t?h=m._then(t.props,void 0,void 0,void 0,void 0):h=new u(m).promise();else return r(`cannot await properties of a non-object
234
+
235
+ See http://goo.gl/MqrFmX
236
+ `);return m instanceof t&&h._propagateFrom(m,2),h}t.prototype.props=function(){return d(this)},t.props=function(f){return d(f)}}),Tf}var Sf,D0;function ZI(){return D0||(D0=1,Sf=function(t,e,n,r){var i=Ge(),o=function(s){return s.then(function(c){return a(c,s)})};function a(s,c){var l=n(s);if(l instanceof t)return o(l);if(s=i.asArray(s),s===null)return r("expecting an array or an iterable object but got "+i.classString(s));var u=new t(e);c!==void 0&&u._propagateFrom(c,3);for(var d=u._fulfill,f=u._reject,h=0,m=s.length;h<m;++h){var g=s[h];g===void 0&&!(h in s)||t.cast(g)._then(d,f,void 0,u,null)}return u}t.race=function(s){return a(s,void 0)},t.prototype.race=function(){return a(this,void 0)}}),Sf}var Af,_0;function JI(){return _0||(_0=1,Af=function(t,e,n,r,i,o){var a=t._getDomain,s=Ge(),c=s.tryCatch;function l(m,g,p,y){this.constructor$(m);var b=a();this._fn=b===null?g:s.domainBind(b,g),p!==void 0&&(p=t.resolve(p),p._attachCancellationCallback(this)),this._initialValue=p,this._currentCancellable=null,y===i?this._eachValues=Array(this._length):y===0?this._eachValues=null:this._eachValues=void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}s.inherits(l,e),l.prototype._gotAccum=function(m){this._eachValues!==void 0&&this._eachValues!==null&&m!==i&&this._eachValues.push(m)},l.prototype._eachComplete=function(m){return this._eachValues!==null&&this._eachValues.push(m),this._eachValues},l.prototype._init=function(){},l.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},l.prototype.shouldCopyValues=function(){return!1},l.prototype._resolve=function(m){this._promise._resolveCallback(m),this._values=null},l.prototype._resultCancelled=function(m){if(m===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel())},l.prototype._iterate=function(m){this._values=m;var g,p,y=m.length;if(this._initialValue!==void 0?(g=this._initialValue,p=0):(g=t.resolve(m[0]),p=1),this._currentCancellable=g,!g.isRejected())for(;p<y;++p){var b={accum:null,value:m[p],index:p,length:y,array:this};g=g._then(f,void 0,void 0,b,void 0)}this._eachValues!==void 0&&(g=g._then(this._eachComplete,void 0,void 0,this,void 0)),g._then(u,u,void 0,g,this)},t.prototype.reduce=function(m,g){return d(this,m,g,null)},t.reduce=function(m,g,p,y){return d(m,g,p,y)};function u(m,g){this.isFulfilled()?g._resolve(m):g._reject(m)}function d(m,g,p,y){if(typeof g!="function")return n("expecting a function but got "+s.classString(g));var b=new l(m,g,p,y);return b.promise()}function f(m){this.accum=m,this.array._gotAccum(m);var g=r(this.value,this.array._promise);return g instanceof t?(this.array._currentCancellable=g,g._then(h,void 0,void 0,this,void 0)):h.call(this,g)}function h(m){var g=this.array,p=g._promise,y=c(g._fn);p._pushContext();var b;g._eachValues!==void 0?b=y.call(p._boundValue(),m,this.index,this.length):b=y.call(p._boundValue(),this.accum,m,this.index,this.length),b instanceof t&&(g._currentCancellable=b);var v=p._popContext();return o.checkForgottenReturns(b,v,g._eachValues!==void 0?"Promise.each":"Promise.reduce",p),b}}),Af}var Cf,w0;function YI(){return w0||(w0=1,Cf=function(t,e,n){var r=t.PromiseInspection,i=Ge();function o(a){this.constructor$(a)}i.inherits(o,e),o.prototype._promiseResolved=function(a,s){this._values[a]=s;var c=++this._totalResolved;return c>=this._length?(this._resolve(this._values),!0):!1},o.prototype._promiseFulfilled=function(a,s){var c=new r;return c._bitField=33554432,c._settledValueField=a,this._promiseResolved(s,c)},o.prototype._promiseRejected=function(a,s){var c=new r;return c._bitField=16777216,c._settledValueField=a,this._promiseResolved(s,c)},t.settle=function(a){return n.deprecated(".settle()",".reflect()"),new o(a).promise()},t.prototype.settle=function(){return t.settle(this)}}),Cf}var Uf,E0;function QI(){return E0||(E0=1,Uf=function(t,e,n){var r=Ge(),i=Tr().RangeError,o=Tr().AggregateError,a=r.isArray,s={};function c(u){this.constructor$(u),this._howMany=0,this._unwrap=!1,this._initialized=!1}r.inherits(c,e),c.prototype._init=function(){if(this._initialized){if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var u=a(this._values);!this._isResolved()&&u&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},c.prototype.init=function(){this._initialized=!0,this._init()},c.prototype.setUnwrap=function(){this._unwrap=!0},c.prototype.howMany=function(){return this._howMany},c.prototype.setHowMany=function(u){this._howMany=u},c.prototype._promiseFulfilled=function(u){return this._addFulfilled(u),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},c.prototype._promiseRejected=function(u){return this._addRejected(u),this._checkOutcome()},c.prototype._promiseCancelled=function(){return this._values instanceof t||this._values==null?this._cancel():(this._addRejected(s),this._checkOutcome())},c.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var u=new o,d=this.length();d<this._values.length;++d)this._values[d]!==s&&u.push(this._values[d]);return u.length>0?this._reject(u):this._cancel(),!0}return!1},c.prototype._fulfilled=function(){return this._totalResolved},c.prototype._rejected=function(){return this._values.length-this.length()},c.prototype._addRejected=function(u){this._values.push(u)},c.prototype._addFulfilled=function(u){this._values[this._totalResolved++]=u},c.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},c.prototype._getRangeError=function(u){var d="Input array must contain at least "+this._howMany+" items but contains only "+u+" items";return new i(d)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function l(u,d){if((d|0)!==d||d<0)return n(`expecting a positive integer
237
+
238
+ See http://goo.gl/MqrFmX
239
+ `);var f=new c(u),h=f.promise();return f.setHowMany(d),f.init(),h}t.some=function(u,d){return l(u,d)},t.prototype.some=function(u){return l(this,u)},t._SomePromiseArray=c}),Uf}var kf,T0;function eN(){return T0||(T0=1,kf=function(t,e){var n=t.map;t.prototype.filter=function(r,i){return n(this,r,i,e)},t.filter=function(r,i,o){return n(r,i,o,e)}}),kf}var Of,S0;function tN(){return S0||(S0=1,Of=function(t,e){var n=t.reduce,r=t.all;function i(){return r(this)}function o(a,s){return n(a,s,e,e)}t.prototype.each=function(a){return n(this,a,e,0)._then(i,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(a){return n(this,a,e,e)},t.each=function(a,s){return n(a,s,e,0)._then(i,void 0,void 0,a,void 0)},t.mapSeries=o}),Of}var Rf,A0;function nN(){return A0||(A0=1,Rf=function(t){var e=t._SomePromiseArray;function n(r){var i=new e(r),o=i.promise();return i.setHowMany(1),i.setUnwrap(),i.init(),o}t.any=function(r){return n(r)},t.prototype.any=function(){return n(this)}}),Rf}var C0;function rN(){return C0||(C0=1,function(t){t.exports=function(){var e=function(){return new f(`circular promise resolution chain
240
+
241
+ See http://goo.gl/MqrFmX
242
+ `)},n=function(){return new E.PromiseInspection(this._target())},r=function(R){return E.reject(new f(R))};function i(){}var o={},a=Ge(),s;a.isNode?s=function(){var R=process.domain;return R===void 0&&(R=null),R}:s=function(){return null},a.notEnumerableProp(E,"_getDomain",s);var c=uo(),l=UI(),u=new l;c.defineProperty(E,"_async",{value:u});var d=Tr(),f=E.TypeError=d.TypeError;E.RangeError=d.RangeError;var h=E.CancellationError=d.CancellationError;E.TimeoutError=d.TimeoutError,E.OperationalError=d.OperationalError,E.RejectionError=d.OperationalError,E.AggregateError=d.AggregateError;var m=function(){},g={},p={},y=kI()(E,m),b=OI()(E,m,y,r,i),v=RI()(E),D=v.create,_=FI()(E,v);_.CapturedTrace;var T=II()(E,y),S=NI()(p),C=xT(),A=a.errorObj,O=a.tryCatch;function P(R,F){if(typeof F!="function")throw new f("expecting a function but got "+a.classString(F));if(R.constructor!==E)throw new f(`the promise constructor cannot be invoked directly
243
+
244
+ See http://goo.gl/MqrFmX
245
+ `)}function E(R){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,R!==m&&(P(this,R),this._resolveFromExecutor(R)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}E.prototype.toString=function(){return"[object Promise]"},E.prototype.caught=E.prototype.catch=function(R){var F=arguments.length;if(F>1){var G=new Array(F-1),B=0,V;for(V=0;V<F-1;++V){var L=arguments[V];if(a.isObject(L))G[B++]=L;else return r("expecting an object but got A catch statement predicate "+a.classString(L))}return G.length=B,R=arguments[V],this.then(void 0,S(G,R,this))}return this.then(void 0,R)},E.prototype.reflect=function(){return this._then(n,n,void 0,this,void 0)},E.prototype.then=function(R,F){if(_.warnings()&&arguments.length>0&&typeof R!="function"&&typeof F!="function"){var G=".then() only accepts functions but was passed: "+a.classString(R);arguments.length>1&&(G+=", "+a.classString(F)),this._warn(G)}return this._then(R,F,void 0,void 0,void 0)},E.prototype.done=function(R,F){var G=this._then(R,F,void 0,void 0,void 0);G._setIsFinal()},E.prototype.spread=function(R){return typeof R!="function"?r("expecting a function but got "+a.classString(R)):this.all()._then(R,void 0,void 0,g,void 0)},E.prototype.toJSON=function(){var R={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(R.fulfillmentValue=this.value(),R.isFulfilled=!0):this.isRejected()&&(R.rejectionReason=this.reason(),R.isRejected=!0),R},E.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new b(this).promise()},E.prototype.error=function(R){return this.caught(a.originatesFromRejection,R)},E.getNewLibraryCopy=t.exports,E.is=function(R){return R instanceof E},E.fromNode=E.fromCallback=function(R){var F=new E(m);F._captureStackTrace();var G=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,B=O(R)(C(F,G));return B===A&&F._rejectCallback(B.e,!0),F._isFateSealed()||F._setAsyncGuaranteed(),F},E.all=function(R){return new b(R).promise()},E.cast=function(R){var F=y(R);return F instanceof E||(F=new E(m),F._captureStackTrace(),F._setFulfilled(),F._rejectionHandler0=R),F},E.resolve=E.fulfilled=E.cast,E.reject=E.rejected=function(R){var F=new E(m);return F._captureStackTrace(),F._rejectCallback(R,!0),F},E.setScheduler=function(R){if(typeof R!="function")throw new f("expecting a function but got "+a.classString(R));return u.setScheduler(R)},E.prototype._then=function(R,F,G,B,V){var L=V!==void 0,I=L?V:new E(m),ne=this._target(),H=ne._bitField;L||(I._propagateFrom(this,3),I._captureStackTrace(),B===void 0&&(this._bitField&2097152)!==0&&((H&50397184)!==0?B=this._boundValue():B=ne===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,I));var Z=s();if((H&50397184)!==0){var le,he,de=ne._settlePromiseCtx;(H&33554432)!==0?(he=ne._rejectionHandler0,le=R):(H&16777216)!==0?(he=ne._fulfillmentHandler0,le=F,ne._unsetRejectionIsUnhandled()):(de=ne._settlePromiseLateCancellationObserver,he=new h("late cancellation observer"),ne._attachExtraTrace(he),le=F),u.invoke(de,ne,{handler:Z===null?le:typeof le=="function"&&a.domainBind(Z,le),promise:I,receiver:B,value:he})}else ne._addCallbacks(R,F,I,B,Z);return I},E.prototype._length=function(){return this._bitField&65535},E.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},E.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},E.prototype._setLength=function(R){this._bitField=this._bitField&-65536|R&65535},E.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},E.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},E.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},E.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},E.prototype._isFinal=function(){return(this._bitField&4194304)>0},E.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},E.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},E.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},E.prototype._setAsyncGuaranteed=function(){u.hasCustomScheduler()||(this._bitField=this._bitField|134217728)},E.prototype._receiverAt=function(R){var F=R===0?this._receiver0:this[R*4-4+3];if(F!==o)return F===void 0&&this._isBound()?this._boundValue():F},E.prototype._promiseAt=function(R){return this[R*4-4+2]},E.prototype._fulfillmentHandlerAt=function(R){return this[R*4-4+0]},E.prototype._rejectionHandlerAt=function(R){return this[R*4-4+1]},E.prototype._boundValue=function(){},E.prototype._migrateCallback0=function(R){R._bitField;var F=R._fulfillmentHandler0,G=R._rejectionHandler0,B=R._promise0,V=R._receiverAt(0);V===void 0&&(V=o),this._addCallbacks(F,G,B,V,null)},E.prototype._migrateCallbackAt=function(R,F){var G=R._fulfillmentHandlerAt(F),B=R._rejectionHandlerAt(F),V=R._promiseAt(F),L=R._receiverAt(F);L===void 0&&(L=o),this._addCallbacks(G,B,V,L,null)},E.prototype._addCallbacks=function(R,F,G,B,V){var L=this._length();if(L>=65531&&(L=0,this._setLength(0)),L===0)this._promise0=G,this._receiver0=B,typeof R=="function"&&(this._fulfillmentHandler0=V===null?R:a.domainBind(V,R)),typeof F=="function"&&(this._rejectionHandler0=V===null?F:a.domainBind(V,F));else{var I=L*4-4;this[I+2]=G,this[I+3]=B,typeof R=="function"&&(this[I+0]=V===null?R:a.domainBind(V,R)),typeof F=="function"&&(this[I+1]=V===null?F:a.domainBind(V,F))}return this._setLength(L+1),L},E.prototype._proxy=function(R,F){this._addCallbacks(void 0,void 0,F,R,null)},E.prototype._resolveCallback=function(R,F){if((this._bitField&117506048)===0){if(R===this)return this._rejectCallback(e(),!1);var G=y(R,this);if(!(G instanceof E))return this._fulfill(R);F&&this._propagateFrom(G,2);var B=G._target();if(B===this){this._reject(e());return}var V=B._bitField;if((V&50397184)===0){var L=this._length();L>0&&B._migrateCallback0(this);for(var I=1;I<L;++I)B._migrateCallbackAt(this,I);this._setFollowing(),this._setLength(0),this._setFollowee(B)}else if((V&33554432)!==0)this._fulfill(B._value());else if((V&16777216)!==0)this._reject(B._reason());else{var ne=new h("late cancellation observer");B._attachExtraTrace(ne),this._reject(ne)}}},E.prototype._rejectCallback=function(R,F,G){var B=a.ensureErrorObject(R),V=B===R;if(!V&&!G&&_.warnings()){var L="a promise was rejected with a non-error: "+a.classString(R);this._warn(L,!0)}this._attachExtraTrace(B,F?V:!1),this._reject(R)},E.prototype._resolveFromExecutor=function(R){var F=this;this._captureStackTrace(),this._pushContext();var G=!0,B=this._execute(R,function(V){F._resolveCallback(V)},function(V){F._rejectCallback(V,G)});G=!1,this._popContext(),B!==void 0&&F._rejectCallback(B,!0)},E.prototype._settlePromiseFromHandler=function(R,F,G,B){var V=B._bitField;if((V&65536)===0){B._pushContext();var L;F===g?!G||typeof G.length!="number"?(L=A,L.e=new f("cannot .spread() a non-array: "+a.classString(G))):L=O(R).apply(this._boundValue(),G):L=O(R).call(F,G);var I=B._popContext();V=B._bitField,(V&65536)===0&&(L===p?B._reject(G):L===A?B._rejectCallback(L.e,!1):(_.checkForgottenReturns(L,I,"",B,this),B._resolveCallback(L)))}},E.prototype._target=function(){for(var R=this;R._isFollowing();)R=R._followee();return R},E.prototype._followee=function(){return this._rejectionHandler0},E.prototype._setFollowee=function(R){this._rejectionHandler0=R},E.prototype._settlePromise=function(R,F,G,B){var V=R instanceof E,L=this._bitField,I=(L&134217728)!==0;(L&65536)!==0?(V&&R._invokeInternalOnCancel(),G instanceof T&&G.isFinallyHandler()?(G.cancelPromise=R,O(F).call(G,B)===A&&R._reject(A.e)):F===n?R._fulfill(n.call(G)):G instanceof i?G._promiseCancelled(R):V||R instanceof b?R._cancel():G.cancel()):typeof F=="function"?V?(I&&R._setAsyncGuaranteed(),this._settlePromiseFromHandler(F,G,B,R)):F.call(G,B,R):G instanceof i?G._isResolved()||((L&33554432)!==0?G._promiseFulfilled(B,R):G._promiseRejected(B,R)):V&&(I&&R._setAsyncGuaranteed(),(L&33554432)!==0?R._fulfill(B):R._reject(B))},E.prototype._settlePromiseLateCancellationObserver=function(R){var F=R.handler,G=R.promise,B=R.receiver,V=R.value;typeof F=="function"?G instanceof E?this._settlePromiseFromHandler(F,B,V,G):F.call(B,V,G):G instanceof E&&G._reject(V)},E.prototype._settlePromiseCtx=function(R){this._settlePromise(R.promise,R.handler,R.receiver,R.value)},E.prototype._settlePromise0=function(R,F,G){var B=this._promise0,V=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(B,R,V,F)},E.prototype._clearCallbackDataAtIndex=function(R){var F=R*4-4;this[F+2]=this[F+3]=this[F+0]=this[F+1]=void 0},E.prototype._fulfill=function(R){var F=this._bitField;if(!((F&117506048)>>>16)){if(R===this){var G=e();return this._attachExtraTrace(G),this._reject(G)}this._setFulfilled(),this._rejectionHandler0=R,(F&65535)>0&&((F&134217728)!==0?this._settlePromises():u.settlePromises(this))}},E.prototype._reject=function(R){var F=this._bitField;if(!((F&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=R,this._isFinal())return u.fatalError(R,a.isNode);(F&65535)>0?u.settlePromises(this):this._ensurePossibleRejectionHandled()}},E.prototype._fulfillPromises=function(R,F){for(var G=1;G<R;G++){var B=this._fulfillmentHandlerAt(G),V=this._promiseAt(G),L=this._receiverAt(G);this._clearCallbackDataAtIndex(G),this._settlePromise(V,B,L,F)}},E.prototype._rejectPromises=function(R,F){for(var G=1;G<R;G++){var B=this._rejectionHandlerAt(G),V=this._promiseAt(G),L=this._receiverAt(G);this._clearCallbackDataAtIndex(G),this._settlePromise(V,B,L,F)}},E.prototype._settlePromises=function(){var R=this._bitField,F=R&65535;if(F>0){if((R&16842752)!==0){var G=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,G,R),this._rejectPromises(F,G)}else{var B=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,B,R),this._fulfillPromises(F,B)}this._setLength(0)}this._clearCancellationData()},E.prototype._settledValue=function(){var R=this._bitField;if((R&33554432)!==0)return this._rejectionHandler0;if((R&16777216)!==0)return this._fulfillmentHandler0};function k(R){this.promise._resolveCallback(R)}function x(R){this.promise._rejectCallback(R,!1)}E.defer=E.pending=function(){_.deprecated("Promise.defer","new Promise");var R=new E(m);return{promise:R,resolve:k,reject:x}},a.notEnumerableProp(E,"_makeSelfResolutionError",e),BI()(E,m,y,r,_),MI()(E,m,y,_),LI()(E,b,r,_),WI()(E),PI()(E),qI()(E,b,y,m,u,s),E.Promise=E,E.version="3.4.7",zI()(E,b,r,y,m,_),$I()(E),jI()(E,r,y,D,m,_),VI()(E,m,_),HI()(E,r,m,y,i,_),GI()(E),XI()(E,m),KI()(E,b,y,r),ZI()(E,m,y,r),JI()(E,b,r,y,m,_),YI()(E,b,_),QI()(E,b,r),eN()(E,m),tN()(E,m),nN()(E),a.toFastProperties(E),a.toFastProperties(E.prototype);function z(R){var F=new E(m);F._fulfillmentHandler0=R,F._rejectionHandler0=R,F._promise0=R,F._receiver0=R}return z({a:1}),z({b:2}),z({c:3}),z(1),z(function(){}),z(void 0),z(!1),z(new E(m)),_.setBounds(l.firstLineError,a.lastLineError),E}}(ef)),ef.exports}var U0;function Ir(){if(U0)return Jt;U0=1;var t=rt,e=rN()();Jt.defer=n,Jt.when=e.resolve,Jt.resolve=e.resolve,Jt.all=e.all,Jt.props=e.props,Jt.reject=e.reject,Jt.promisify=e.promisify,Jt.mapSeries=e.mapSeries,Jt.attempt=e.attempt,Jt.nfcall=function(r){var i=Array.prototype.slice.call(arguments,1),o=e.promisify(r);return o.apply(null,i)},e.prototype.fail=e.prototype.caught,e.prototype.also=function(r){return this.then(function(i){var o=t.extend({},i,r(i));return e.props(o)})};function n(){var r,i,o=new e.Promise(function(a,s){r=a,i=s});return{resolve:r,reject:i,promise:o}}return Jt}var qe={},k0;function bi(){if(k0)return qe;k0=1;var t=rt,e=qe.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function n(T,S){return S=S||{},{type:e.document,children:T,notes:S.notes||new d({}),comments:S.comments||[]}}function r(T,S){S=S||{};var C=S.indent||{};return{type:e.paragraph,children:T,styleId:S.styleId||null,styleName:S.styleName||null,numbering:S.numbering||null,alignment:S.alignment||null,indent:{start:C.start||null,end:C.end||null,firstLine:C.firstLine||null,hanging:C.hanging||null}}}function i(T,S){return S=S||{},{type:e.run,children:T,styleId:S.styleId||null,styleName:S.styleName||null,isBold:!!S.isBold,isUnderline:!!S.isUnderline,isItalic:!!S.isItalic,isStrikethrough:!!S.isStrikethrough,isAllCaps:!!S.isAllCaps,isSmallCaps:!!S.isSmallCaps,verticalAlignment:S.verticalAlignment||o.baseline,font:S.font||null,fontSize:S.fontSize||null,highlight:S.highlight||null}}var o={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function a(T){return{type:e.text,value:T}}function s(){return{type:e.tab}}function c(T){return{type:e.checkbox,checked:T.checked}}function l(T,S){return{type:e.hyperlink,children:T,href:S.href,anchor:S.anchor,targetFrame:S.targetFrame}}function u(T){return{type:e.noteReference,noteType:T.noteType,noteId:T.noteId}}function d(T){this._notes=t.indexBy(T,function(S){return g(S.noteType,S.noteId)})}d.prototype.resolve=function(T){return this.findNoteByKey(g(T.noteType,T.noteId))},d.prototype.findNoteByKey=function(T){return this._notes[T]||null};function f(T){return{type:e.note,noteType:T.noteType,noteId:T.noteId,body:T.body}}function h(T){return{type:e.commentReference,commentId:T.commentId}}function m(T){return{type:e.comment,commentId:T.commentId,body:T.body,authorName:T.authorName,authorInitials:T.authorInitials}}function g(T,S){return T+"-"+S}function p(T){return{type:e.image,read:function(S){return S?T.readImage(S):T.readImage().then(function(C){return Buffer.from(C)})},readAsArrayBuffer:function(){return T.readImage()},readAsBase64String:function(){return T.readImage("base64")},readAsBuffer:function(){return T.readImage().then(function(S){return Buffer.from(S)})},altText:T.altText,contentType:T.contentType}}function y(T,S){return S=S||{},{type:e.table,children:T,styleId:S.styleId||null,styleName:S.styleName||null}}function b(T,S){return S=S||{},{type:e.tableRow,children:T,isHeader:S.isHeader||!1}}function v(T,S){return S=S||{},{type:e.tableCell,children:T,colSpan:S.colSpan==null?1:S.colSpan,rowSpan:S.rowSpan==null?1:S.rowSpan}}function D(T){return{type:e.break,breakType:T}}function _(T){return{type:e.bookmarkStart,name:T.name}}return qe.document=qe.Document=n,qe.paragraph=qe.Paragraph=r,qe.run=qe.Run=i,qe.text=qe.Text=a,qe.tab=qe.Tab=s,qe.checkbox=qe.Checkbox=c,qe.Hyperlink=l,qe.noteReference=qe.NoteReference=u,qe.Notes=d,qe.Note=f,qe.commentReference=h,qe.comment=m,qe.Image=p,qe.Table=y,qe.TableRow=b,qe.TableCell=v,qe.lineBreak=D("line"),qe.pageBreak=D("page"),qe.columnBreak=D("column"),qe.BookmarkStart=_,qe.verticalAlignment=o,qe}var Si={},O0;function Kn(){if(O0)return Si;O0=1;var t=rt;Si.Result=e,Si.success=n,Si.warning=r,Si.error=i;function e(c,l){this.value=c,this.messages=l||[]}e.prototype.map=function(c){return new e(c(this.value),this.messages)},e.prototype.flatMap=function(c){var l=c(this.value);return new e(l.value,o([this,l]))},e.prototype.flatMapThen=function(c){var l=this;return c(this.value).then(function(u){return new e(u.value,o([l,u]))})},e.combine=function(c){var l=t.flatten(t.pluck(c,"value")),u=o(c);return new e(l,u)};function n(c){return new e(c,[])}function r(c){return{type:"warning",message:c}}function i(c){return{type:"error",message:c.message,error:c}}function o(c){var l=[];return t.flatten(t.pluck(c,"messages"),!0).forEach(function(u){a(l,u)||l.push(u)}),l}function a(c,l){return t.find(c,s.bind(null,l))!==void 0}function s(c,l){return c.type===l.type&&c.message===l.message}return Si}var _o={},wo={},R0;function iN(){if(R0)return wo;R0=1,wo.byteLength=s,wo.toByteArray=l,wo.fromByteArray=f;for(var t=[],e=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i<o;++i)t[i]=r[i],e[r.charCodeAt(i)]=i;e[45]=62,e[95]=63;function a(h){var m=h.length;if(m%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var g=h.indexOf("=");g===-1&&(g=m);var p=g===m?0:4-g%4;return[g,p]}function s(h){var m=a(h),g=m[0],p=m[1];return(g+p)*3/4-p}function c(h,m,g){return(m+g)*3/4-g}function l(h){var m,g=a(h),p=g[0],y=g[1],b=new n(c(h,p,y)),v=0,D=y>0?p-4:p,_;for(_=0;_<D;_+=4)m=e[h.charCodeAt(_)]<<18|e[h.charCodeAt(_+1)]<<12|e[h.charCodeAt(_+2)]<<6|e[h.charCodeAt(_+3)],b[v++]=m>>16&255,b[v++]=m>>8&255,b[v++]=m&255;return y===2&&(m=e[h.charCodeAt(_)]<<2|e[h.charCodeAt(_+1)]>>4,b[v++]=m&255),y===1&&(m=e[h.charCodeAt(_)]<<10|e[h.charCodeAt(_+1)]<<4|e[h.charCodeAt(_+2)]>>2,b[v++]=m>>8&255,b[v++]=m&255),b}function u(h){return t[h>>18&63]+t[h>>12&63]+t[h>>6&63]+t[h&63]}function d(h,m,g){for(var p,y=[],b=m;b<g;b+=3)p=(h[b]<<16&16711680)+(h[b+1]<<8&65280)+(h[b+2]&255),y.push(u(p));return y.join("")}function f(h){for(var m,g=h.length,p=g%3,y=[],b=16383,v=0,D=g-p;v<D;v+=b)y.push(d(h,v,v+b>D?D:v+b));return p===1?(m=h[g-1],y.push(t[m>>2]+t[m<<4&63]+"==")):p===2&&(m=(h[g-2]<<8)+h[g-1],y.push(t[m>>10]+t[m>>4&63]+t[m<<2&63]+"=")),y.join("")}return wo}function Va(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ff={exports:{}};/*!
246
+
247
+ JSZip v3.10.1 - A JavaScript class for generating and reading zip files
248
+ <http://stuartk.com/jszip>
249
+
250
+ (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
251
+ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
252
+
253
+ JSZip uses the library pako released under the MIT license :
254
+ https://github.com/nodeca/pako/blob/main/LICENSE
255
+ */var F0;function oN(){return F0||(F0=1,function(t,e){(function(n){t.exports=n()})(function(){return function n(r,i,o){function a(l,u){if(!i[l]){if(!r[l]){var d=typeof Va=="function"&&Va;if(!u&&d)return d(l,!0);if(s)return s(l,!0);var f=new Error("Cannot find module '"+l+"'");throw f.code="MODULE_NOT_FOUND",f}var h=i[l]={exports:{}};r[l][0].call(h.exports,function(m){var g=r[l][1][m];return a(g||m)},h,h.exports,n,r,i,o)}return i[l].exports}for(var s=typeof Va=="function"&&Va,c=0;c<o.length;c++)a(o[c]);return a}({1:[function(n,r,i){var o=n("./utils"),a=n("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(c){for(var l,u,d,f,h,m,g,p=[],y=0,b=c.length,v=b,D=o.getTypeOf(c)!=="string";y<c.length;)v=b-y,d=D?(l=c[y++],u=y<b?c[y++]:0,y<b?c[y++]:0):(l=c.charCodeAt(y++),u=y<b?c.charCodeAt(y++):0,y<b?c.charCodeAt(y++):0),f=l>>2,h=(3&l)<<4|u>>4,m=1<v?(15&u)<<2|d>>6:64,g=2<v?63&d:64,p.push(s.charAt(f)+s.charAt(h)+s.charAt(m)+s.charAt(g));return p.join("")},i.decode=function(c){var l,u,d,f,h,m,g=0,p=0,y="data:";if(c.substr(0,y.length)===y)throw new Error("Invalid base64 input, it looks like a data url.");var b,v=3*(c=c.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(c.charAt(c.length-1)===s.charAt(64)&&v--,c.charAt(c.length-2)===s.charAt(64)&&v--,v%1!=0)throw new Error("Invalid base64 input, bad content length.");for(b=a.uint8array?new Uint8Array(0|v):new Array(0|v);g<c.length;)l=s.indexOf(c.charAt(g++))<<2|(f=s.indexOf(c.charAt(g++)))>>4,u=(15&f)<<4|(h=s.indexOf(c.charAt(g++)))>>2,d=(3&h)<<6|(m=s.indexOf(c.charAt(g++))),b[p++]=l,h!==64&&(b[p++]=u),m!==64&&(b[p++]=d);return b}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),a=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),c=n("./stream/DataLengthProbe");function l(u,d,f,h,m){this.compressedSize=u,this.uncompressedSize=d,this.crc32=f,this.compression=h,this.compressedContent=m}l.prototype={getContentWorker:function(){var u=new a(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")),d=this;return u.on("end",function(){if(this.streamInfo.data_length!==d.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),u},getCompressedWorker:function(){return new a(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},l.createWorkerFrom=function(u,d,f){return u.pipe(new s).pipe(new c("uncompressedSize")).pipe(d.compressWorker(f)).pipe(new c("compressedSize")).withStreamInfo("compression",d)},r.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var o=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var o=n("./utils"),a=function(){for(var s,c=[],l=0;l<256;l++){s=l;for(var u=0;u<8;u++)s=1&s?3988292384^s>>>1:s>>>1;c[l]=s}return c}();r.exports=function(s,c){return s!==void 0&&s.length?o.getTypeOf(s)!=="string"?function(l,u,d,f){var h=a,m=f+d;l^=-1;for(var g=f;g<m;g++)l=l>>>8^h[255&(l^u[g])];return-1^l}(0|c,s,s.length,0):function(l,u,d,f){var h=a,m=f+d;l^=-1;for(var g=f;g<m;g++)l=l>>>8^h[255&(l^u.charCodeAt(g))];return-1^l}(0|c,s,s.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var o=null;o=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:o}},{lie:37}],7:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=n("pako"),s=n("./utils"),c=n("./stream/GenericWorker"),l=o?"uint8array":"array";function u(d,f){c.call(this,"FlateWorker/"+d),this._pako=null,this._pakoAction=d,this._pakoOptions=f,this.meta={}}i.magic="\b\0",s.inherits(u,c),u.prototype.processChunk=function(d){this.meta=d.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(l,d.data),!1)},u.prototype.flush=function(){c.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){c.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var d=this;this._pako.onData=function(f){d.push({data:f,meta:d.meta})}},i.compressWorker=function(d){return new u("Deflate",d)},i.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(h,m){var g,p="";for(g=0;g<m;g++)p+=String.fromCharCode(255&h),h>>>=8;return p}function a(h,m,g,p,y,b){var v,D,_=h.file,T=h.compression,S=b!==l.utf8encode,C=s.transformTo("string",b(_.name)),A=s.transformTo("string",l.utf8encode(_.name)),O=_.comment,P=s.transformTo("string",b(O)),E=s.transformTo("string",l.utf8encode(O)),k=A.length!==_.name.length,x=E.length!==O.length,z="",R="",F="",G=_.dir,B=_.date,V={crc32:0,compressedSize:0,uncompressedSize:0};m&&!g||(V.crc32=h.crc32,V.compressedSize=h.compressedSize,V.uncompressedSize=h.uncompressedSize);var L=0;m&&(L|=8),S||!k&&!x||(L|=2048);var I=0,ne=0;G&&(I|=16),y==="UNIX"?(ne=798,I|=function(Z,le){var he=Z;return Z||(he=le?16893:33204),(65535&he)<<16}(_.unixPermissions,G)):(ne=20,I|=function(Z){return 63&(Z||0)}(_.dosPermissions)),v=B.getUTCHours(),v<<=6,v|=B.getUTCMinutes(),v<<=5,v|=B.getUTCSeconds()/2,D=B.getUTCFullYear()-1980,D<<=4,D|=B.getUTCMonth()+1,D<<=5,D|=B.getUTCDate(),k&&(R=o(1,1)+o(u(C),4)+A,z+="up"+o(R.length,2)+R),x&&(F=o(1,1)+o(u(P),4)+E,z+="uc"+o(F.length,2)+F);var H="";return H+=`
256
+ \0`,H+=o(L,2),H+=T.magic,H+=o(v,2),H+=o(D,2),H+=o(V.crc32,4),H+=o(V.compressedSize,4),H+=o(V.uncompressedSize,4),H+=o(C.length,2),H+=o(z.length,2),{fileRecord:d.LOCAL_FILE_HEADER+H+C+z,dirRecord:d.CENTRAL_FILE_HEADER+o(ne,2)+H+o(P.length,2)+"\0\0\0\0"+o(I,4)+o(p,4)+C+z+P}}var s=n("../utils"),c=n("../stream/GenericWorker"),l=n("../utf8"),u=n("../crc32"),d=n("../signature");function f(h,m,g,p){c.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=m,this.zipPlatform=g,this.encodeFileName=p,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(f,c),f.prototype.push=function(h){var m=h.meta.percent||0,g=this.entriesCount,p=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,c.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:g?(m+100*(g-p-1))/g:100}}))},f.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var m=this.streamFiles&&!h.file.dir;if(m){var g=a(h,m,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:g.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(h){this.accumulate=!1;var m=this.streamFiles&&!h.file.dir,g=a(h,m,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(g.dirRecord),m)this.push({data:function(p){return d.DATA_DESCRIPTOR+o(p.crc32,4)+o(p.compressedSize,4)+o(p.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:g.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var h=this.bytesWritten,m=0;m<this.dirRecords.length;m++)this.push({data:this.dirRecords[m],meta:{percent:100}});var g=this.bytesWritten-h,p=function(y,b,v,D,_){var T=s.transformTo("string",_(D));return d.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(y,2)+o(y,2)+o(b,4)+o(v,4)+o(T.length,2)+T}(this.dirRecords.length,g,h,this.zipComment,this.encodeFileName);this.push({data:p,meta:{percent:100}})},f.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},f.prototype.registerPrevious=function(h){this._sources.push(h);var m=this;return h.on("data",function(g){m.processChunk(g)}),h.on("end",function(){m.closedSource(m.previous.streamInfo),m._sources.length?m.prepareNextSource():m.end()}),h.on("error",function(g){m.error(g)}),this},f.prototype.resume=function(){return!!c.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},f.prototype.error=function(h){var m=this._sources;if(!c.prototype.error.call(this,h))return!1;for(var g=0;g<m.length;g++)try{m[g].error(h)}catch{}return!0},f.prototype.lock=function(){c.prototype.lock.call(this);for(var h=this._sources,m=0;m<h.length;m++)h[m].lock()},r.exports=f},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,r,i){var o=n("../compressions"),a=n("./ZipFileWorker");i.generateWorker=function(s,c,l){var u=new a(c.streamFiles,l,c.platform,c.encodeFileName),d=0;try{s.forEach(function(f,h){d++;var m=function(b,v){var D=b||v,_=o[D];if(!_)throw new Error(D+" is not a valid compression method !");return _}(h.options.compression,c.compression),g=h.options.compressionOptions||c.compressionOptions||{},p=h.dir,y=h.date;h._compressWorker(m,g).withStreamInfo("file",{name:f,dir:p,date:y,comment:h.comment||"",unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions}).pipe(u)}),u.entriesCount=d}catch(f){u.error(f)}return u}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,i){function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var a=new o;for(var s in this)typeof this[s]!="function"&&(a[s]=this[s]);return a}}(o.prototype=n("./object")).loadAsync=n("./load"),o.support=n("./support"),o.defaults=n("./defaults"),o.version="3.10.1",o.loadAsync=function(a,s){return new o().loadAsync(a,s)},o.external=n("./external"),r.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,i){var o=n("./utils"),a=n("./external"),s=n("./utf8"),c=n("./zipEntries"),l=n("./stream/Crc32Probe"),u=n("./nodejsUtils");function d(f){return new a.Promise(function(h,m){var g=f.decompressed.getContentWorker().pipe(new l);g.on("error",function(p){m(p)}).on("end",function(){g.streamInfo.crc32!==f.decompressed.crc32?m(new Error("Corrupted zip : CRC32 mismatch")):h()}).resume()})}r.exports=function(f,h){var m=this;return h=o.extend(h||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),u.isNode&&u.isStream(f)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",f,!0,h.optimizedBinaryString,h.base64).then(function(g){var p=new c(h);return p.load(g),p}).then(function(g){var p=[a.Promise.resolve(g)],y=g.files;if(h.checkCRC32)for(var b=0;b<y.length;b++)p.push(d(y[b]));return a.Promise.all(p)}).then(function(g){for(var p=g.shift(),y=p.files,b=0;b<y.length;b++){var v=y[b],D=v.fileNameStr,_=o.resolve(v.fileNameStr);m.file(_,v.decompressed,{binary:!0,optimizedBinaryString:!0,date:v.date,dir:v.dir,comment:v.fileCommentStr.length?v.fileCommentStr:null,unixPermissions:v.unixPermissions,dosPermissions:v.dosPermissions,createFolders:h.createFolders}),v.dir||(m.file(_).unsafeOriginalName=D)}return p.zipComment.length&&(m.comment=p.zipComment),m})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,i){var o=n("../utils"),a=n("../stream/GenericWorker");function s(c,l){a.call(this,"Nodejs stream input adapter for "+c),this._upstreamEnded=!1,this._bindStream(l)}o.inherits(s,a),s.prototype._bindStream=function(c){var l=this;(this._stream=c).pause(),c.on("data",function(u){l.push({data:u,meta:{percent:0}})}).on("error",function(u){l.isPaused?this.generatedError=u:l.error(u)}).on("end",function(){l.isPaused?l._upstreamEnded=!0:l.end()})},s.prototype.pause=function(){return!!a.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=s},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,r,i){var o=n("readable-stream").Readable;function a(s,c,l){o.call(this,c),this._helper=s;var u=this;s.on("data",function(d,f){u.push(d)||u._helper.pause(),l&&l(f)}).on("error",function(d){u.emit("error",d)}).on("end",function(){u.push(null)})}n("../utils").inherits(a,o),a.prototype._read=function(){this._helper.resume()},r.exports=a},{"../utils":32,"readable-stream":16}],14:[function(n,r,i){r.exports={isNode:typeof Buffer<"u",newBufferFrom:function(o,a){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,a);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,a)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var a=new Buffer(o);return a.fill(0),a},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(n,r,i){function o(_,T,S){var C,A=s.getTypeOf(T),O=s.extend(S||{},u);O.date=O.date||new Date,O.compression!==null&&(O.compression=O.compression.toUpperCase()),typeof O.unixPermissions=="string"&&(O.unixPermissions=parseInt(O.unixPermissions,8)),O.unixPermissions&&16384&O.unixPermissions&&(O.dir=!0),O.dosPermissions&&16&O.dosPermissions&&(O.dir=!0),O.dir&&(_=y(_)),O.createFolders&&(C=p(_))&&b.call(this,C,!0);var P=A==="string"&&O.binary===!1&&O.base64===!1;S&&S.binary!==void 0||(O.binary=!P),(T instanceof d&&T.uncompressedSize===0||O.dir||!T||T.length===0)&&(O.base64=!1,O.binary=!0,T="",O.compression="STORE",A="string");var E=null;E=T instanceof d||T instanceof c?T:m.isNode&&m.isStream(T)?new g(_,T):s.prepareContent(_,T,O.binary,O.optimizedBinaryString,O.base64);var k=new f(_,E,O);this.files[_]=k}var a=n("./utf8"),s=n("./utils"),c=n("./stream/GenericWorker"),l=n("./stream/StreamHelper"),u=n("./defaults"),d=n("./compressedObject"),f=n("./zipObject"),h=n("./generate"),m=n("./nodejsUtils"),g=n("./nodejs/NodejsStreamInputAdapter"),p=function(_){_.slice(-1)==="/"&&(_=_.substring(0,_.length-1));var T=_.lastIndexOf("/");return 0<T?_.substring(0,T):""},y=function(_){return _.slice(-1)!=="/"&&(_+="/"),_},b=function(_,T){return T=T!==void 0?T:u.createFolders,_=y(_),this.files[_]||o.call(this,_,null,{dir:!0,createFolders:T}),this.files[_]};function v(_){return Object.prototype.toString.call(_)==="[object RegExp]"}var D={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(_){var T,S,C;for(T in this.files)C=this.files[T],(S=T.slice(this.root.length,T.length))&&T.slice(0,this.root.length)===this.root&&_(S,C)},filter:function(_){var T=[];return this.forEach(function(S,C){_(S,C)&&T.push(C)}),T},file:function(_,T,S){if(arguments.length!==1)return _=this.root+_,o.call(this,_,T,S),this;if(v(_)){var C=_;return this.filter(function(O,P){return!P.dir&&C.test(O)})}var A=this.files[this.root+_];return A&&!A.dir?A:null},folder:function(_){if(!_)return this;if(v(_))return this.filter(function(A,O){return O.dir&&_.test(A)});var T=this.root+_,S=b.call(this,T),C=this.clone();return C.root=S.name,C},remove:function(_){_=this.root+_;var T=this.files[_];if(T||(_.slice(-1)!=="/"&&(_+="/"),T=this.files[_]),T&&!T.dir)delete this.files[_];else for(var S=this.filter(function(A,O){return O.name.slice(0,_.length)===_}),C=0;C<S.length;C++)delete this.files[S[C].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(_){var T,S={};try{if((S=s.extend(_||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=S.type.toLowerCase(),S.compression=S.compression.toUpperCase(),S.type==="binarystring"&&(S.type="string"),!S.type)throw new Error("No output type specified.");s.checkSupport(S.type),S.platform!=="darwin"&&S.platform!=="freebsd"&&S.platform!=="linux"&&S.platform!=="sunos"||(S.platform="UNIX"),S.platform==="win32"&&(S.platform="DOS");var C=S.comment||this.comment||"";T=h.generateWorker(this,S,C)}catch(A){(T=new c("error")).error(A)}return new l(T,S.type||"string",S.mimeType)},generateAsync:function(_,T){return this.generateInternalStream(_).accumulate(T)},generateNodeStream:function(_,T){return(_=_||{}).type||(_.type="nodebuffer"),this.generateInternalStream(_).toNodejsStream(T)}};r.exports=D},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,r,i){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s);for(var c=0;c<this.data.length;c++)s[c]=255&s[c]}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data[this.zero+s]},a.prototype.lastIndexOfSignature=function(s){for(var c=s.charCodeAt(0),l=s.charCodeAt(1),u=s.charCodeAt(2),d=s.charCodeAt(3),f=this.length-4;0<=f;--f)if(this.data[f]===c&&this.data[f+1]===l&&this.data[f+2]===u&&this.data[f+3]===d)return f-this.zero;return-1},a.prototype.readAndCheckSignature=function(s){var c=s.charCodeAt(0),l=s.charCodeAt(1),u=s.charCodeAt(2),d=s.charCodeAt(3),f=this.readData(4);return c===f[0]&&l===f[1]&&u===f[2]&&d===f[3]},a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return[];var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./DataReader":18}],18:[function(n,r,i){var o=n("../utils");function a(s){this.data=s,this.length=s.length,this.index=0,this.zero=0}a.prototype={checkOffset:function(s){this.checkIndex(this.index+s)},checkIndex:function(s){if(this.length<this.zero+s||s<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+s+"). Corrupted zip ?")},setIndex:function(s){this.checkIndex(s),this.index=s},skip:function(s){this.setIndex(this.index+s)},byteAt:function(){},readInt:function(s){var c,l=0;for(this.checkOffset(s),c=this.index+s-1;c>=this.index;c--)l=(l<<8)+this.byteAt(c);return this.index+=s,l},readString:function(s){return o.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},r.exports=a},{"../utils":32}],19:[function(n,r,i){var o=n("./Uint8ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){this.checkOffset(s);var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},a.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},a.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},a.prototype.readData=function(s){this.checkOffset(s);var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var o=n("./ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var c=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),a=n("../support"),s=n("./ArrayReader"),c=n("./StringReader"),l=n("./NodeBufferReader"),u=n("./Uint8ArrayReader");r.exports=function(d){var f=o.getTypeOf(d);return o.checkSupport(f),f!=="string"||a.uint8array?f==="nodebuffer"?new l(d):a.uint8array?new u(o.transformTo("uint8array",d)):new s(o.transformTo("array",d)):new c(d)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var o=n("./GenericWorker"),a=n("../utils");function s(c){o.call(this,"ConvertWorker to "+c),this.destType=c}a.inherits(s,o),s.prototype.processChunk=function(c){this.push({data:a.transformTo(this.destType,c.data),meta:c.meta})},r.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var o=n("./GenericWorker"),a=n("../crc32");function s(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,o),s.prototype.processChunk=function(c){this.streamInfo.crc32=a(c.data,this.streamInfo.crc32||0),this.push(c)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(c){a.call(this,"DataLengthProbe for "+c),this.propName=c,this.withStreamInfo(c,0)}o.inherits(s,a),s.prototype.processChunk=function(c){if(c){var l=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=l+c.data.length}a.prototype.processChunk.call(this,c)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(c){a.call(this,"DataWorker");var l=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,c.then(function(u){l.dataIsReady=!0,l.data=u,l.max=u&&u.length||0,l.type=o.getTypeOf(u),l.isPaused||l._tickAndRepeat()},function(u){l.error(u)})}o.inherits(s,a),s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var c=null,l=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":c=this.data.substring(this.index,l);break;case"uint8array":c=this.data.subarray(this.index,l);break;case"array":case"nodebuffer":c=this.data.slice(this.index,l)}return this.index=l,this.push({data:c,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function o(a){this.name=a||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,s){return this._listeners[a].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,s){if(this._listeners[a])for(var c=0;c<this._listeners[a].length;c++)this._listeners[a][c].call(this,s)},pipe:function(a){return a.registerPrevious(this)},registerPrevious:function(a){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=a.streamInfo,this.mergeStreamInfo(),this.previous=a;var s=this;return a.on("data",function(c){s.processChunk(c)}),a.on("end",function(){s.end()}),a.on("error",function(c){s.error(c)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var a=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),a=!0),this.previous&&this.previous.resume(),!a},flush:function(){},processChunk:function(a){this.push(a)},withStreamInfo:function(a,s){return this.extraStreamInfo[a]=s,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var a in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,a)&&(this.streamInfo[a]=this.extraStreamInfo[a])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var a="Worker "+this.name;return this.previous?this.previous+" -> "+a:a}},r.exports=o},{}],29:[function(n,r,i){var o=n("../utils"),a=n("./ConvertWorker"),s=n("./GenericWorker"),c=n("../base64"),l=n("../support"),u=n("../external"),d=null;if(l.nodestream)try{d=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function f(m,g){return new u.Promise(function(p,y){var b=[],v=m._internalType,D=m._outputType,_=m._mimeType;m.on("data",function(T,S){b.push(T),g&&g(S)}).on("error",function(T){b=[],y(T)}).on("end",function(){try{var T=function(S,C,A){switch(S){case"blob":return o.newBlob(o.transformTo("arraybuffer",C),A);case"base64":return c.encode(C);default:return o.transformTo(S,C)}}(D,function(S,C){var A,O=0,P=null,E=0;for(A=0;A<C.length;A++)E+=C[A].length;switch(S){case"string":return C.join("");case"array":return Array.prototype.concat.apply([],C);case"uint8array":for(P=new Uint8Array(E),A=0;A<C.length;A++)P.set(C[A],O),O+=C[A].length;return P;case"nodebuffer":return Buffer.concat(C);default:throw new Error("concat : unsupported type '"+S+"'")}}(v,b),_);p(T)}catch(S){y(S)}b=[]}).resume()})}function h(m,g,p){var y=g;switch(g){case"blob":case"arraybuffer":y="uint8array";break;case"base64":y="string"}try{this._internalType=y,this._outputType=g,this._mimeType=p,o.checkSupport(y),this._worker=m.pipe(new a(y)),m.lock()}catch(b){this._worker=new s("error"),this._worker.error(b)}}h.prototype={accumulate:function(m){return f(this,m)},on:function(m,g){var p=this;return m==="data"?this._worker.on(m,function(y){g.call(p,y.data,y.meta)}):this._worker.on(m,function(){o.delay(g,arguments,p)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(m){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new d(this,{objectMode:this._outputType!=="nodebuffer"},m)}},r.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(o),i.blob=a.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var o=n("./utils"),a=n("./support"),s=n("./nodejsUtils"),c=n("./stream/GenericWorker"),l=new Array(256),u=0;u<256;u++)l[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;l[254]=l[254]=1;function d(){c.call(this,"utf-8 decode"),this.leftOver=null}function f(){c.call(this,"utf-8 encode")}i.utf8encode=function(h){return a.nodebuffer?s.newBufferFrom(h,"utf-8"):function(m){var g,p,y,b,v,D=m.length,_=0;for(b=0;b<D;b++)(64512&(p=m.charCodeAt(b)))==55296&&b+1<D&&(64512&(y=m.charCodeAt(b+1)))==56320&&(p=65536+(p-55296<<10)+(y-56320),b++),_+=p<128?1:p<2048?2:p<65536?3:4;for(g=a.uint8array?new Uint8Array(_):new Array(_),b=v=0;v<_;b++)(64512&(p=m.charCodeAt(b)))==55296&&b+1<D&&(64512&(y=m.charCodeAt(b+1)))==56320&&(p=65536+(p-55296<<10)+(y-56320),b++),p<128?g[v++]=p:(p<2048?g[v++]=192|p>>>6:(p<65536?g[v++]=224|p>>>12:(g[v++]=240|p>>>18,g[v++]=128|p>>>12&63),g[v++]=128|p>>>6&63),g[v++]=128|63&p);return g}(h)},i.utf8decode=function(h){return a.nodebuffer?o.transformTo("nodebuffer",h).toString("utf-8"):function(m){var g,p,y,b,v=m.length,D=new Array(2*v);for(g=p=0;g<v;)if((y=m[g++])<128)D[p++]=y;else if(4<(b=l[y]))D[p++]=65533,g+=b-1;else{for(y&=b===2?31:b===3?15:7;1<b&&g<v;)y=y<<6|63&m[g++],b--;1<b?D[p++]=65533:y<65536?D[p++]=y:(y-=65536,D[p++]=55296|y>>10&1023,D[p++]=56320|1023&y)}return D.length!==p&&(D.subarray?D=D.subarray(0,p):D.length=p),o.applyFromCharCode(D)}(h=o.transformTo(a.uint8array?"uint8array":"array",h))},o.inherits(d,c),d.prototype.processChunk=function(h){var m=o.transformTo(a.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var g=m;(m=new Uint8Array(g.length+this.leftOver.length)).set(this.leftOver,0),m.set(g,this.leftOver.length)}else m=this.leftOver.concat(m);this.leftOver=null}var p=function(b,v){var D;for((v=v||b.length)>b.length&&(v=b.length),D=v-1;0<=D&&(192&b[D])==128;)D--;return D<0||D===0?v:D+l[b[D]]>v?D:v}(m),y=m;p!==m.length&&(a.uint8array?(y=m.subarray(0,p),this.leftOver=m.subarray(p,m.length)):(y=m.slice(0,p),this.leftOver=m.slice(p,m.length))),this.push({data:i.utf8decode(y),meta:h.meta})},d.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=d,o.inherits(f,c),f.prototype.processChunk=function(h){this.push({data:i.utf8encode(h.data),meta:h.meta})},i.Utf8EncodeWorker=f},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),a=n("./base64"),s=n("./nodejsUtils"),c=n("./external");function l(g){return g}function u(g,p){for(var y=0;y<g.length;++y)p[y]=255&g.charCodeAt(y);return p}n("setimmediate"),i.newBlob=function(g,p){i.checkSupport("blob");try{return new Blob([g],{type:p})}catch{try{var y=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return y.append(g),y.getBlob(p)}catch{throw new Error("Bug : can't construct the Blob.")}}};var d={stringifyByChunk:function(g,p,y){var b=[],v=0,D=g.length;if(D<=y)return String.fromCharCode.apply(null,g);for(;v<D;)p==="array"||p==="nodebuffer"?b.push(String.fromCharCode.apply(null,g.slice(v,Math.min(v+y,D)))):b.push(String.fromCharCode.apply(null,g.subarray(v,Math.min(v+y,D)))),v+=y;return b.join("")},stringifyByChar:function(g){for(var p="",y=0;y<g.length;y++)p+=String.fromCharCode(g[y]);return p},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,s.allocBuffer(1)).length===1}catch{return!1}}()}};function f(g){var p=65536,y=i.getTypeOf(g),b=!0;if(y==="uint8array"?b=d.applyCanBeUsed.uint8array:y==="nodebuffer"&&(b=d.applyCanBeUsed.nodebuffer),b)for(;1<p;)try{return d.stringifyByChunk(g,y,p)}catch{p=Math.floor(p/2)}return d.stringifyByChar(g)}function h(g,p){for(var y=0;y<g.length;y++)p[y]=g[y];return p}i.applyFromCharCode=f;var m={};m.string={string:l,array:function(g){return u(g,new Array(g.length))},arraybuffer:function(g){return m.string.uint8array(g).buffer},uint8array:function(g){return u(g,new Uint8Array(g.length))},nodebuffer:function(g){return u(g,s.allocBuffer(g.length))}},m.array={string:f,array:l,arraybuffer:function(g){return new Uint8Array(g).buffer},uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return s.newBufferFrom(g)}},m.arraybuffer={string:function(g){return f(new Uint8Array(g))},array:function(g){return h(new Uint8Array(g),new Array(g.byteLength))},arraybuffer:l,uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return s.newBufferFrom(new Uint8Array(g))}},m.uint8array={string:f,array:function(g){return h(g,new Array(g.length))},arraybuffer:function(g){return g.buffer},uint8array:l,nodebuffer:function(g){return s.newBufferFrom(g)}},m.nodebuffer={string:f,array:function(g){return h(g,new Array(g.length))},arraybuffer:function(g){return m.nodebuffer.uint8array(g).buffer},uint8array:function(g){return h(g,new Uint8Array(g.length))},nodebuffer:l},i.transformTo=function(g,p){if(p=p||"",!g)return p;i.checkSupport(g);var y=i.getTypeOf(p);return m[y][g](p)},i.resolve=function(g){for(var p=g.split("/"),y=[],b=0;b<p.length;b++){var v=p[b];v==="."||v===""&&b!==0&&b!==p.length-1||(v===".."?y.pop():y.push(v))}return y.join("/")},i.getTypeOf=function(g){return typeof g=="string"?"string":Object.prototype.toString.call(g)==="[object Array]"?"array":o.nodebuffer&&s.isBuffer(g)?"nodebuffer":o.uint8array&&g instanceof Uint8Array?"uint8array":o.arraybuffer&&g instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(g){if(!o[g.toLowerCase()])throw new Error(g+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(g){var p,y,b="";for(y=0;y<(g||"").length;y++)b+="\\x"+((p=g.charCodeAt(y))<16?"0":"")+p.toString(16).toUpperCase();return b},i.delay=function(g,p,y){setImmediate(function(){g.apply(y||null,p||[])})},i.inherits=function(g,p){function y(){}y.prototype=p.prototype,g.prototype=new y},i.extend=function(){var g,p,y={};for(g=0;g<arguments.length;g++)for(p in arguments[g])Object.prototype.hasOwnProperty.call(arguments[g],p)&&y[p]===void 0&&(y[p]=arguments[g][p]);return y},i.prepareContent=function(g,p,y,b,v){return c.Promise.resolve(p).then(function(D){return o.blob&&(D instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(D))!==-1)&&typeof FileReader<"u"?new c.Promise(function(_,T){var S=new FileReader;S.onload=function(C){_(C.target.result)},S.onerror=function(C){T(C.target.error)},S.readAsArrayBuffer(D)}):D}).then(function(D){var _=i.getTypeOf(D);return _?(_==="arraybuffer"?D=i.transformTo("uint8array",D):_==="string"&&(v?D=a.decode(D):y&&b!==!0&&(D=function(T){return u(T,o.uint8array?new Uint8Array(T.length):new Array(T.length))}(D))),D):c.Promise.reject(new Error("Can't read the data of '"+g+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,r,i){var o=n("./reader/readerFor"),a=n("./utils"),s=n("./signature"),c=n("./zipEntry"),l=n("./support");function u(d){this.files=[],this.loadOptions=d}u.prototype={checkSignature:function(d){if(!this.reader.readAndCheckSignature(d)){this.reader.index-=4;var f=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(f)+", expected "+a.pretty(d)+")")}},isSignature:function(d,f){var h=this.reader.index;this.reader.setIndex(d);var m=this.reader.readString(4)===f;return this.reader.setIndex(h),m},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var d=this.reader.readData(this.zipCommentLength),f=l.uint8array?"uint8array":"array",h=a.transformTo(f,d);this.zipComment=this.loadOptions.decodeFileName(h)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var d,f,h,m=this.zip64EndOfCentralSize-44;0<m;)d=this.reader.readInt(2),f=this.reader.readInt(4),h=this.reader.readData(f),this.zip64ExtensibleData[d]={id:d,length:f,value:h}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var d,f;for(d=0;d<this.files.length;d++)f=this.files[d],this.reader.setIndex(f.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),f.readLocalPart(this.reader),f.handleUTF8(),f.processAttributes()},readCentralDir:function(){var d;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(d=new c({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(d);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var d=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(d<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(d);var f=d;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,(d=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(d),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var h=this.centralDirOffset+this.centralDirSize;this.zip64&&(h+=20,h+=12+this.zip64EndOfCentralSize);var m=f-h;if(0<m)this.isSignature(f,s.CENTRAL_FILE_HEADER)||(this.reader.zero=m);else if(m<0)throw new Error("Corrupted zip: missing "+Math.abs(m)+" bytes.")},prepareReader:function(d){this.reader=o(d)},load:function(d){this.prepareReader(d),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,i){var o=n("./reader/readerFor"),a=n("./utils"),s=n("./compressedObject"),c=n("./crc32"),l=n("./utf8"),u=n("./compressions"),d=n("./support");function f(h,m){this.options=h,this.loadOptions=m}f.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(h){var m,g;if(h.skip(22),this.fileNameLength=h.readInt(2),g=h.readInt(2),this.fileName=h.readData(this.fileNameLength),h.skip(g),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((m=function(p){for(var y in u)if(Object.prototype.hasOwnProperty.call(u,y)&&u[y].magic===p)return u[y];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,m,h.readData(this.compressedSize))},readCentralPart:function(h){this.versionMadeBy=h.readInt(2),h.skip(2),this.bitFlag=h.readInt(2),this.compressionMethod=h.readString(2),this.date=h.readDate(),this.crc32=h.readInt(4),this.compressedSize=h.readInt(4),this.uncompressedSize=h.readInt(4);var m=h.readInt(2);if(this.extraFieldsLength=h.readInt(2),this.fileCommentLength=h.readInt(2),this.diskNumberStart=h.readInt(2),this.internalFileAttributes=h.readInt(2),this.externalFileAttributes=h.readInt(4),this.localHeaderOffset=h.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");h.skip(m),this.readExtraFields(h),this.parseZIP64ExtraField(h),this.fileComment=h.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var h=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=o(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var m,g,p,y=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4<y;)m=h.readInt(2),g=h.readInt(2),p=h.readData(g),this.extraFields[m]={id:m,length:g,value:p};h.setIndex(y)},handleUTF8:function(){var h=d.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment);else{var m=this.findExtraFieldUnicodePath();if(m!==null)this.fileNameStr=m;else{var g=a.transformTo(h,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(g)}var p=this.findExtraFieldUnicodeComment();if(p!==null)this.fileCommentStr=p;else{var y=a.transformTo(h,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(y)}}},findExtraFieldUnicodePath:function(){var h=this.extraFields[28789];if(h){var m=o(h.value);return m.readInt(1)!==1||c(this.fileName)!==m.readInt(4)?null:l.utf8decode(m.readData(h.length-5))}return null},findExtraFieldUnicodeComment:function(){var h=this.extraFields[25461];if(h){var m=o(h.value);return m.readInt(1)!==1||c(this.fileComment)!==m.readInt(4)?null:l.utf8decode(m.readData(h.length-5))}return null}},r.exports=f},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,i){function o(m,g,p){this.name=m,this.dir=p.dir,this.date=p.date,this.comment=p.comment,this.unixPermissions=p.unixPermissions,this.dosPermissions=p.dosPermissions,this._data=g,this._dataBinary=p.binary,this.options={compression:p.compression,compressionOptions:p.compressionOptions}}var a=n("./stream/StreamHelper"),s=n("./stream/DataWorker"),c=n("./utf8"),l=n("./compressedObject"),u=n("./stream/GenericWorker");o.prototype={internalStream:function(m){var g=null,p="string";try{if(!m)throw new Error("No output type specified.");var y=(p=m.toLowerCase())==="string"||p==="text";p!=="binarystring"&&p!=="text"||(p="string"),g=this._decompressWorker();var b=!this._dataBinary;b&&!y&&(g=g.pipe(new c.Utf8EncodeWorker)),!b&&y&&(g=g.pipe(new c.Utf8DecodeWorker))}catch(v){(g=new u("error")).error(v)}return new a(g,p,"")},async:function(m,g){return this.internalStream(m).accumulate(g)},nodeStream:function(m,g){return this.internalStream(m||"nodebuffer").toNodejsStream(g)},_compressWorker:function(m,g){if(this._data instanceof l&&this._data.compression.magic===m.magic)return this._data.getCompressedWorker();var p=this._decompressWorker();return this._dataBinary||(p=p.pipe(new c.Utf8EncodeWorker)),l.createWorkerFrom(p,m,g)},_decompressWorker:function(){return this._data instanceof l?this._data.getContentWorker():this._data instanceof u?this._data:new s(this._data)}};for(var d=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],f=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<d.length;h++)o.prototype[d[h]]=f;r.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,i){(function(o){var a,s,c=o.MutationObserver||o.WebKitMutationObserver;if(c){var l=0,u=new c(m),d=o.document.createTextNode("");u.observe(d,{characterData:!0}),a=function(){d.data=l=++l%2}}else if(o.setImmediate||o.MessageChannel===void 0)a="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var g=o.document.createElement("script");g.onreadystatechange=function(){m(),g.onreadystatechange=null,g.parentNode.removeChild(g),g=null},o.document.documentElement.appendChild(g)}:function(){setTimeout(m,0)};else{var f=new o.MessageChannel;f.port1.onmessage=m,a=function(){f.port2.postMessage(0)}}var h=[];function m(){var g,p;s=!0;for(var y=h.length;y;){for(p=h,h=[],g=-1;++g<y;)p[g]();y=h.length}s=!1}r.exports=function(g){h.push(g)!==1||s||a()}}).call(this,typeof tn<"u"?tn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,r,i){var o=n("immediate");function a(){}var s={},c=["REJECTED"],l=["FULFILLED"],u=["PENDING"];function d(y){if(typeof y!="function")throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,y!==a&&g(this,y)}function f(y,b,v){this.promise=y,typeof b=="function"&&(this.onFulfilled=b,this.callFulfilled=this.otherCallFulfilled),typeof v=="function"&&(this.onRejected=v,this.callRejected=this.otherCallRejected)}function h(y,b,v){o(function(){var D;try{D=b(v)}catch(_){return s.reject(y,_)}D===y?s.reject(y,new TypeError("Cannot resolve promise with itself")):s.resolve(y,D)})}function m(y){var b=y&&y.then;if(y&&(typeof y=="object"||typeof y=="function")&&typeof b=="function")return function(){b.apply(y,arguments)}}function g(y,b){var v=!1;function D(S){v||(v=!0,s.reject(y,S))}function _(S){v||(v=!0,s.resolve(y,S))}var T=p(function(){b(_,D)});T.status==="error"&&D(T.value)}function p(y,b){var v={};try{v.value=y(b),v.status="success"}catch(D){v.status="error",v.value=D}return v}(r.exports=d).prototype.finally=function(y){if(typeof y!="function")return this;var b=this.constructor;return this.then(function(v){return b.resolve(y()).then(function(){return v})},function(v){return b.resolve(y()).then(function(){throw v})})},d.prototype.catch=function(y){return this.then(null,y)},d.prototype.then=function(y,b){if(typeof y!="function"&&this.state===l||typeof b!="function"&&this.state===c)return this;var v=new this.constructor(a);return this.state!==u?h(v,this.state===l?y:b,this.outcome):this.queue.push(new f(v,y,b)),v},f.prototype.callFulfilled=function(y){s.resolve(this.promise,y)},f.prototype.otherCallFulfilled=function(y){h(this.promise,this.onFulfilled,y)},f.prototype.callRejected=function(y){s.reject(this.promise,y)},f.prototype.otherCallRejected=function(y){h(this.promise,this.onRejected,y)},s.resolve=function(y,b){var v=p(m,b);if(v.status==="error")return s.reject(y,v.value);var D=v.value;if(D)g(y,D);else{y.state=l,y.outcome=b;for(var _=-1,T=y.queue.length;++_<T;)y.queue[_].callFulfilled(b)}return y},s.reject=function(y,b){y.state=c,y.outcome=b;for(var v=-1,D=y.queue.length;++v<D;)y.queue[v].callRejected(b);return y},d.resolve=function(y){return y instanceof this?y:s.resolve(new this(a),y)},d.reject=function(y){var b=new this(a);return s.reject(b,y)},d.all=function(y){var b=this;if(Object.prototype.toString.call(y)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=y.length,D=!1;if(!v)return this.resolve([]);for(var _=new Array(v),T=0,S=-1,C=new this(a);++S<v;)A(y[S],S);return C;function A(O,P){b.resolve(O).then(function(E){_[P]=E,++T!==v||D||(D=!0,s.resolve(C,_))},function(E){D||(D=!0,s.reject(C,E))})}},d.race=function(y){var b=this;if(Object.prototype.toString.call(y)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=y.length,D=!1;if(!v)return this.resolve([]);for(var _=-1,T=new this(a);++_<v;)S=y[_],b.resolve(S).then(function(C){D||(D=!0,s.resolve(T,C))},function(C){D||(D=!0,s.reject(T,C))});var S;return T}},{immediate:36}],38:[function(n,r,i){var o={};(0,n("./lib/utils/common").assign)(o,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,i){var o=n("./zlib/deflate"),a=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/messages"),l=n("./zlib/zstream"),u=Object.prototype.toString,d=0,f=-1,h=0,m=8;function g(y){if(!(this instanceof g))return new g(y);this.options=a.assign({level:f,method:m,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},y||{});var b=this.options;b.raw&&0<b.windowBits?b.windowBits=-b.windowBits:b.gzip&&0<b.windowBits&&b.windowBits<16&&(b.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var v=o.deflateInit2(this.strm,b.level,b.method,b.windowBits,b.memLevel,b.strategy);if(v!==d)throw new Error(c[v]);if(b.header&&o.deflateSetHeader(this.strm,b.header),b.dictionary){var D;if(D=typeof b.dictionary=="string"?s.string2buf(b.dictionary):u.call(b.dictionary)==="[object ArrayBuffer]"?new Uint8Array(b.dictionary):b.dictionary,(v=o.deflateSetDictionary(this.strm,D))!==d)throw new Error(c[v]);this._dict_set=!0}}function p(y,b){var v=new g(b);if(v.push(y,!0),v.err)throw v.msg||c[v.err];return v.result}g.prototype.push=function(y,b){var v,D,_=this.strm,T=this.options.chunkSize;if(this.ended)return!1;D=b===~~b?b:b===!0?4:0,typeof y=="string"?_.input=s.string2buf(y):u.call(y)==="[object ArrayBuffer]"?_.input=new Uint8Array(y):_.input=y,_.next_in=0,_.avail_in=_.input.length;do{if(_.avail_out===0&&(_.output=new a.Buf8(T),_.next_out=0,_.avail_out=T),(v=o.deflate(_,D))!==1&&v!==d)return this.onEnd(v),!(this.ended=!0);_.avail_out!==0&&(_.avail_in!==0||D!==4&&D!==2)||(this.options.to==="string"?this.onData(s.buf2binstring(a.shrinkBuf(_.output,_.next_out))):this.onData(a.shrinkBuf(_.output,_.next_out)))}while((0<_.avail_in||_.avail_out===0)&&v!==1);return D===4?(v=o.deflateEnd(this.strm),this.onEnd(v),this.ended=!0,v===d):D!==2||(this.onEnd(d),!(_.avail_out=0))},g.prototype.onData=function(y){this.chunks.push(y)},g.prototype.onEnd=function(y){y===d&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg},i.Deflate=g,i.deflate=p,i.deflateRaw=function(y,b){return(b=b||{}).raw=!0,p(y,b)},i.gzip=function(y,b){return(b=b||{}).gzip=!0,p(y,b)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,i){var o=n("./zlib/inflate"),a=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/constants"),l=n("./zlib/messages"),u=n("./zlib/zstream"),d=n("./zlib/gzheader"),f=Object.prototype.toString;function h(g){if(!(this instanceof h))return new h(g);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},g||{});var p=this.options;p.raw&&0<=p.windowBits&&p.windowBits<16&&(p.windowBits=-p.windowBits,p.windowBits===0&&(p.windowBits=-15)),!(0<=p.windowBits&&p.windowBits<16)||g&&g.windowBits||(p.windowBits+=32),15<p.windowBits&&p.windowBits<48&&(15&p.windowBits)==0&&(p.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var y=o.inflateInit2(this.strm,p.windowBits);if(y!==c.Z_OK)throw new Error(l[y]);this.header=new d,o.inflateGetHeader(this.strm,this.header)}function m(g,p){var y=new h(p);if(y.push(g,!0),y.err)throw y.msg||l[y.err];return y.result}h.prototype.push=function(g,p){var y,b,v,D,_,T,S=this.strm,C=this.options.chunkSize,A=this.options.dictionary,O=!1;if(this.ended)return!1;b=p===~~p?p:p===!0?c.Z_FINISH:c.Z_NO_FLUSH,typeof g=="string"?S.input=s.binstring2buf(g):f.call(g)==="[object ArrayBuffer]"?S.input=new Uint8Array(g):S.input=g,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&&(S.output=new a.Buf8(C),S.next_out=0,S.avail_out=C),(y=o.inflate(S,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&A&&(T=typeof A=="string"?s.string2buf(A):f.call(A)==="[object ArrayBuffer]"?new Uint8Array(A):A,y=o.inflateSetDictionary(this.strm,T)),y===c.Z_BUF_ERROR&&O===!0&&(y=c.Z_OK,O=!1),y!==c.Z_STREAM_END&&y!==c.Z_OK)return this.onEnd(y),!(this.ended=!0);S.next_out&&(S.avail_out!==0&&y!==c.Z_STREAM_END&&(S.avail_in!==0||b!==c.Z_FINISH&&b!==c.Z_SYNC_FLUSH)||(this.options.to==="string"?(v=s.utf8border(S.output,S.next_out),D=S.next_out-v,_=s.buf2string(S.output,v),S.next_out=D,S.avail_out=C-D,D&&a.arraySet(S.output,S.output,v,D,0),this.onData(_)):this.onData(a.shrinkBuf(S.output,S.next_out)))),S.avail_in===0&&S.avail_out===0&&(O=!0)}while((0<S.avail_in||S.avail_out===0)&&y!==c.Z_STREAM_END);return y===c.Z_STREAM_END&&(b=c.Z_FINISH),b===c.Z_FINISH?(y=o.inflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===c.Z_OK):b!==c.Z_SYNC_FLUSH||(this.onEnd(c.Z_OK),!(S.avail_out=0))},h.prototype.onData=function(g){this.chunks.push(g)},h.prototype.onEnd=function(g){g===c.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=g,this.msg=this.strm.msg},i.Inflate=h,i.inflate=m,i.inflateRaw=function(g,p){return(p=p||{}).raw=!0,m(g,p)},i.ungzip=m},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(c){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var u=l.shift();if(u){if(typeof u!="object")throw new TypeError(u+"must be non-object");for(var d in u)u.hasOwnProperty(d)&&(c[d]=u[d])}}return c},i.shrinkBuf=function(c,l){return c.length===l?c:c.subarray?c.subarray(0,l):(c.length=l,c)};var a={arraySet:function(c,l,u,d,f){if(l.subarray&&c.subarray)c.set(l.subarray(u,u+d),f);else for(var h=0;h<d;h++)c[f+h]=l[u+h]},flattenChunks:function(c){var l,u,d,f,h,m;for(l=d=0,u=c.length;l<u;l++)d+=c[l].length;for(m=new Uint8Array(d),l=f=0,u=c.length;l<u;l++)h=c[l],m.set(h,f),f+=h.length;return m}},s={arraySet:function(c,l,u,d,f){for(var h=0;h<d;h++)c[f+h]=l[u+h]},flattenChunks:function(c){return[].concat.apply([],c)}};i.setTyped=function(c){c?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,a)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,s))},i.setTyped(o)},{}],42:[function(n,r,i){var o=n("./common"),a=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{s=!1}for(var c=new o.Buf8(256),l=0;l<256;l++)c[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function u(d,f){if(f<65537&&(d.subarray&&s||!d.subarray&&a))return String.fromCharCode.apply(null,o.shrinkBuf(d,f));for(var h="",m=0;m<f;m++)h+=String.fromCharCode(d[m]);return h}c[254]=c[254]=1,i.string2buf=function(d){var f,h,m,g,p,y=d.length,b=0;for(g=0;g<y;g++)(64512&(h=d.charCodeAt(g)))==55296&&g+1<y&&(64512&(m=d.charCodeAt(g+1)))==56320&&(h=65536+(h-55296<<10)+(m-56320),g++),b+=h<128?1:h<2048?2:h<65536?3:4;for(f=new o.Buf8(b),g=p=0;p<b;g++)(64512&(h=d.charCodeAt(g)))==55296&&g+1<y&&(64512&(m=d.charCodeAt(g+1)))==56320&&(h=65536+(h-55296<<10)+(m-56320),g++),h<128?f[p++]=h:(h<2048?f[p++]=192|h>>>6:(h<65536?f[p++]=224|h>>>12:(f[p++]=240|h>>>18,f[p++]=128|h>>>12&63),f[p++]=128|h>>>6&63),f[p++]=128|63&h);return f},i.buf2binstring=function(d){return u(d,d.length)},i.binstring2buf=function(d){for(var f=new o.Buf8(d.length),h=0,m=f.length;h<m;h++)f[h]=d.charCodeAt(h);return f},i.buf2string=function(d,f){var h,m,g,p,y=f||d.length,b=new Array(2*y);for(h=m=0;h<y;)if((g=d[h++])<128)b[m++]=g;else if(4<(p=c[g]))b[m++]=65533,h+=p-1;else{for(g&=p===2?31:p===3?15:7;1<p&&h<y;)g=g<<6|63&d[h++],p--;1<p?b[m++]=65533:g<65536?b[m++]=g:(g-=65536,b[m++]=55296|g>>10&1023,b[m++]=56320|1023&g)}return u(b,m)},i.utf8border=function(d,f){var h;for((f=f||d.length)>d.length&&(f=d.length),h=f-1;0<=h&&(192&d[h])==128;)h--;return h<0||h===0?f:h+c[d[h]]>f?h:f}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,a,s,c){for(var l=65535&o|0,u=o>>>16&65535|0,d=0;s!==0;){for(s-=d=2e3<s?2e3:s;u=u+(l=l+a[c++]|0)|0,--d;);l%=65521,u%=65521}return l|u<<16|0}},{}],44:[function(n,r,i){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(n,r,i){var o=function(){for(var a,s=[],c=0;c<256;c++){a=c;for(var l=0;l<8;l++)a=1&a?3988292384^a>>>1:a>>>1;s[c]=a}return s}();r.exports=function(a,s,c,l){var u=o,d=l+c;a^=-1;for(var f=l;f<d;f++)a=a>>>8^u[255&(a^s[f])];return-1^a}},{}],46:[function(n,r,i){var o,a=n("../utils/common"),s=n("./trees"),c=n("./adler32"),l=n("./crc32"),u=n("./messages"),d=0,f=4,h=0,m=-2,g=-1,p=4,y=2,b=8,v=9,D=286,_=30,T=19,S=2*D+1,C=15,A=3,O=258,P=O+A+1,E=42,k=113,x=1,z=2,R=3,F=4;function G(w,X){return w.msg=u[X],X}function B(w){return(w<<1)-(4<w?9:0)}function V(w){for(var X=w.length;0<=--X;)w[X]=0}function L(w){var X=w.state,$=X.pending;$>w.avail_out&&($=w.avail_out),$!==0&&(a.arraySet(w.output,X.pending_buf,X.pending_out,$,w.next_out),w.next_out+=$,X.pending_out+=$,w.total_out+=$,w.avail_out-=$,X.pending-=$,X.pending===0&&(X.pending_out=0))}function I(w,X){s._tr_flush_block(w,0<=w.block_start?w.block_start:-1,w.strstart-w.block_start,X),w.block_start=w.strstart,L(w.strm)}function ne(w,X){w.pending_buf[w.pending++]=X}function H(w,X){w.pending_buf[w.pending++]=X>>>8&255,w.pending_buf[w.pending++]=255&X}function Z(w,X){var $,W,M=w.max_chain_length,j=w.strstart,oe=w.prev_length,re=w.nice_match,Y=w.strstart>w.w_size-P?w.strstart-(w.w_size-P):0,q=w.window,J=w.w_mask,Q=w.prev,ae=w.strstart+O,xe=q[j+oe-1],Ee=q[j+oe];w.prev_length>=w.good_match&&(M>>=2),re>w.lookahead&&(re=w.lookahead);do if(q[($=X)+oe]===Ee&&q[$+oe-1]===xe&&q[$]===q[j]&&q[++$]===q[j+1]){j+=2,$++;do;while(q[++j]===q[++$]&&q[++j]===q[++$]&&q[++j]===q[++$]&&q[++j]===q[++$]&&q[++j]===q[++$]&&q[++j]===q[++$]&&q[++j]===q[++$]&&q[++j]===q[++$]&&j<ae);if(W=O-(ae-j),j=ae-O,oe<W){if(w.match_start=X,re<=(oe=W))break;xe=q[j+oe-1],Ee=q[j+oe]}}while((X=Q[X&J])>Y&&--M!=0);return oe<=w.lookahead?oe:w.lookahead}function le(w){var X,$,W,M,j,oe,re,Y,q,J,Q=w.w_size;do{if(M=w.window_size-w.lookahead-w.strstart,w.strstart>=Q+(Q-P)){for(a.arraySet(w.window,w.window,Q,Q,0),w.match_start-=Q,w.strstart-=Q,w.block_start-=Q,X=$=w.hash_size;W=w.head[--X],w.head[X]=Q<=W?W-Q:0,--$;);for(X=$=Q;W=w.prev[--X],w.prev[X]=Q<=W?W-Q:0,--$;);M+=Q}if(w.strm.avail_in===0)break;if(oe=w.strm,re=w.window,Y=w.strstart+w.lookahead,q=M,J=void 0,J=oe.avail_in,q<J&&(J=q),$=J===0?0:(oe.avail_in-=J,a.arraySet(re,oe.input,oe.next_in,J,Y),oe.state.wrap===1?oe.adler=c(oe.adler,re,J,Y):oe.state.wrap===2&&(oe.adler=l(oe.adler,re,J,Y)),oe.next_in+=J,oe.total_in+=J,J),w.lookahead+=$,w.lookahead+w.insert>=A)for(j=w.strstart-w.insert,w.ins_h=w.window[j],w.ins_h=(w.ins_h<<w.hash_shift^w.window[j+1])&w.hash_mask;w.insert&&(w.ins_h=(w.ins_h<<w.hash_shift^w.window[j+A-1])&w.hash_mask,w.prev[j&w.w_mask]=w.head[w.ins_h],w.head[w.ins_h]=j,j++,w.insert--,!(w.lookahead+w.insert<A)););}while(w.lookahead<P&&w.strm.avail_in!==0)}function he(w,X){for(var $,W;;){if(w.lookahead<P){if(le(w),w.lookahead<P&&X===d)return x;if(w.lookahead===0)break}if($=0,w.lookahead>=A&&(w.ins_h=(w.ins_h<<w.hash_shift^w.window[w.strstart+A-1])&w.hash_mask,$=w.prev[w.strstart&w.w_mask]=w.head[w.ins_h],w.head[w.ins_h]=w.strstart),$!==0&&w.strstart-$<=w.w_size-P&&(w.match_length=Z(w,$)),w.match_length>=A)if(W=s._tr_tally(w,w.strstart-w.match_start,w.match_length-A),w.lookahead-=w.match_length,w.match_length<=w.max_lazy_match&&w.lookahead>=A){for(w.match_length--;w.strstart++,w.ins_h=(w.ins_h<<w.hash_shift^w.window[w.strstart+A-1])&w.hash_mask,$=w.prev[w.strstart&w.w_mask]=w.head[w.ins_h],w.head[w.ins_h]=w.strstart,--w.match_length!=0;);w.strstart++}else w.strstart+=w.match_length,w.match_length=0,w.ins_h=w.window[w.strstart],w.ins_h=(w.ins_h<<w.hash_shift^w.window[w.strstart+1])&w.hash_mask;else W=s._tr_tally(w,0,w.window[w.strstart]),w.lookahead--,w.strstart++;if(W&&(I(w,!1),w.strm.avail_out===0))return x}return w.insert=w.strstart<A-1?w.strstart:A-1,X===f?(I(w,!0),w.strm.avail_out===0?R:F):w.last_lit&&(I(w,!1),w.strm.avail_out===0)?x:z}function de(w,X){for(var $,W,M;;){if(w.lookahead<P){if(le(w),w.lookahead<P&&X===d)return x;if(w.lookahead===0)break}if($=0,w.lookahead>=A&&(w.ins_h=(w.ins_h<<w.hash_shift^w.window[w.strstart+A-1])&w.hash_mask,$=w.prev[w.strstart&w.w_mask]=w.head[w.ins_h],w.head[w.ins_h]=w.strstart),w.prev_length=w.match_length,w.prev_match=w.match_start,w.match_length=A-1,$!==0&&w.prev_length<w.max_lazy_match&&w.strstart-$<=w.w_size-P&&(w.match_length=Z(w,$),w.match_length<=5&&(w.strategy===1||w.match_length===A&&4096<w.strstart-w.match_start)&&(w.match_length=A-1)),w.prev_length>=A&&w.match_length<=w.prev_length){for(M=w.strstart+w.lookahead-A,W=s._tr_tally(w,w.strstart-1-w.prev_match,w.prev_length-A),w.lookahead-=w.prev_length-1,w.prev_length-=2;++w.strstart<=M&&(w.ins_h=(w.ins_h<<w.hash_shift^w.window[w.strstart+A-1])&w.hash_mask,$=w.prev[w.strstart&w.w_mask]=w.head[w.ins_h],w.head[w.ins_h]=w.strstart),--w.prev_length!=0;);if(w.match_available=0,w.match_length=A-1,w.strstart++,W&&(I(w,!1),w.strm.avail_out===0))return x}else if(w.match_available){if((W=s._tr_tally(w,0,w.window[w.strstart-1]))&&I(w,!1),w.strstart++,w.lookahead--,w.strm.avail_out===0)return x}else w.match_available=1,w.strstart++,w.lookahead--}return w.match_available&&(W=s._tr_tally(w,0,w.window[w.strstart-1]),w.match_available=0),w.insert=w.strstart<A-1?w.strstart:A-1,X===f?(I(w,!0),w.strm.avail_out===0?R:F):w.last_lit&&(I(w,!1),w.strm.avail_out===0)?x:z}function me(w,X,$,W,M){this.good_length=w,this.max_lazy=X,this.nice_length=$,this.max_chain=W,this.func=M}function fe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=b,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new a.Buf16(2*S),this.dyn_dtree=new a.Buf16(2*(2*_+1)),this.bl_tree=new a.Buf16(2*(2*T+1)),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(C+1),this.heap=new a.Buf16(2*D+1),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*D+1),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ge(w){var X;return w&&w.state?(w.total_in=w.total_out=0,w.data_type=y,(X=w.state).pending=0,X.pending_out=0,X.wrap<0&&(X.wrap=-X.wrap),X.status=X.wrap?E:k,w.adler=X.wrap===2?0:1,X.last_flush=d,s._tr_init(X),h):G(w,m)}function ye(w){var X=ge(w);return X===h&&function($){$.window_size=2*$.w_size,V($.head),$.max_lazy_match=o[$.level].max_lazy,$.good_match=o[$.level].good_length,$.nice_match=o[$.level].nice_length,$.max_chain_length=o[$.level].max_chain,$.strstart=0,$.block_start=0,$.lookahead=0,$.insert=0,$.match_length=$.prev_length=A-1,$.match_available=0,$.ins_h=0}(w.state),X}function be(w,X,$,W,M,j){if(!w)return m;var oe=1;if(X===g&&(X=6),W<0?(oe=0,W=-W):15<W&&(oe=2,W-=16),M<1||v<M||$!==b||W<8||15<W||X<0||9<X||j<0||p<j)return G(w,m);W===8&&(W=9);var re=new fe;return(w.state=re).strm=w,re.wrap=oe,re.gzhead=null,re.w_bits=W,re.w_size=1<<re.w_bits,re.w_mask=re.w_size-1,re.hash_bits=M+7,re.hash_size=1<<re.hash_bits,re.hash_mask=re.hash_size-1,re.hash_shift=~~((re.hash_bits+A-1)/A),re.window=new a.Buf8(2*re.w_size),re.head=new a.Buf16(re.hash_size),re.prev=new a.Buf16(re.w_size),re.lit_bufsize=1<<M+6,re.pending_buf_size=4*re.lit_bufsize,re.pending_buf=new a.Buf8(re.pending_buf_size),re.d_buf=1*re.lit_bufsize,re.l_buf=3*re.lit_bufsize,re.level=X,re.strategy=j,re.method=$,ye(w)}o=[new me(0,0,0,0,function(w,X){var $=65535;for($>w.pending_buf_size-5&&($=w.pending_buf_size-5);;){if(w.lookahead<=1){if(le(w),w.lookahead===0&&X===d)return x;if(w.lookahead===0)break}w.strstart+=w.lookahead,w.lookahead=0;var W=w.block_start+$;if((w.strstart===0||w.strstart>=W)&&(w.lookahead=w.strstart-W,w.strstart=W,I(w,!1),w.strm.avail_out===0)||w.strstart-w.block_start>=w.w_size-P&&(I(w,!1),w.strm.avail_out===0))return x}return w.insert=0,X===f?(I(w,!0),w.strm.avail_out===0?R:F):(w.strstart>w.block_start&&(I(w,!1),w.strm.avail_out),x)}),new me(4,4,8,4,he),new me(4,5,16,8,he),new me(4,6,32,32,he),new me(4,4,16,16,de),new me(8,16,32,32,de),new me(8,16,128,128,de),new me(8,32,128,256,de),new me(32,128,258,1024,de),new me(32,258,258,4096,de)],i.deflateInit=function(w,X){return be(w,X,b,15,8,0)},i.deflateInit2=be,i.deflateReset=ye,i.deflateResetKeep=ge,i.deflateSetHeader=function(w,X){return w&&w.state?w.state.wrap!==2?m:(w.state.gzhead=X,h):m},i.deflate=function(w,X){var $,W,M,j;if(!w||!w.state||5<X||X<0)return w?G(w,m):m;if(W=w.state,!w.output||!w.input&&w.avail_in!==0||W.status===666&&X!==f)return G(w,w.avail_out===0?-5:m);if(W.strm=w,$=W.last_flush,W.last_flush=X,W.status===E)if(W.wrap===2)w.adler=0,ne(W,31),ne(W,139),ne(W,8),W.gzhead?(ne(W,(W.gzhead.text?1:0)+(W.gzhead.hcrc?2:0)+(W.gzhead.extra?4:0)+(W.gzhead.name?8:0)+(W.gzhead.comment?16:0)),ne(W,255&W.gzhead.time),ne(W,W.gzhead.time>>8&255),ne(W,W.gzhead.time>>16&255),ne(W,W.gzhead.time>>24&255),ne(W,W.level===9?2:2<=W.strategy||W.level<2?4:0),ne(W,255&W.gzhead.os),W.gzhead.extra&&W.gzhead.extra.length&&(ne(W,255&W.gzhead.extra.length),ne(W,W.gzhead.extra.length>>8&255)),W.gzhead.hcrc&&(w.adler=l(w.adler,W.pending_buf,W.pending,0)),W.gzindex=0,W.status=69):(ne(W,0),ne(W,0),ne(W,0),ne(W,0),ne(W,0),ne(W,W.level===9?2:2<=W.strategy||W.level<2?4:0),ne(W,3),W.status=k);else{var oe=b+(W.w_bits-8<<4)<<8;oe|=(2<=W.strategy||W.level<2?0:W.level<6?1:W.level===6?2:3)<<6,W.strstart!==0&&(oe|=32),oe+=31-oe%31,W.status=k,H(W,oe),W.strstart!==0&&(H(W,w.adler>>>16),H(W,65535&w.adler)),w.adler=1}if(W.status===69)if(W.gzhead.extra){for(M=W.pending;W.gzindex<(65535&W.gzhead.extra.length)&&(W.pending!==W.pending_buf_size||(W.gzhead.hcrc&&W.pending>M&&(w.adler=l(w.adler,W.pending_buf,W.pending-M,M)),L(w),M=W.pending,W.pending!==W.pending_buf_size));)ne(W,255&W.gzhead.extra[W.gzindex]),W.gzindex++;W.gzhead.hcrc&&W.pending>M&&(w.adler=l(w.adler,W.pending_buf,W.pending-M,M)),W.gzindex===W.gzhead.extra.length&&(W.gzindex=0,W.status=73)}else W.status=73;if(W.status===73)if(W.gzhead.name){M=W.pending;do{if(W.pending===W.pending_buf_size&&(W.gzhead.hcrc&&W.pending>M&&(w.adler=l(w.adler,W.pending_buf,W.pending-M,M)),L(w),M=W.pending,W.pending===W.pending_buf_size)){j=1;break}j=W.gzindex<W.gzhead.name.length?255&W.gzhead.name.charCodeAt(W.gzindex++):0,ne(W,j)}while(j!==0);W.gzhead.hcrc&&W.pending>M&&(w.adler=l(w.adler,W.pending_buf,W.pending-M,M)),j===0&&(W.gzindex=0,W.status=91)}else W.status=91;if(W.status===91)if(W.gzhead.comment){M=W.pending;do{if(W.pending===W.pending_buf_size&&(W.gzhead.hcrc&&W.pending>M&&(w.adler=l(w.adler,W.pending_buf,W.pending-M,M)),L(w),M=W.pending,W.pending===W.pending_buf_size)){j=1;break}j=W.gzindex<W.gzhead.comment.length?255&W.gzhead.comment.charCodeAt(W.gzindex++):0,ne(W,j)}while(j!==0);W.gzhead.hcrc&&W.pending>M&&(w.adler=l(w.adler,W.pending_buf,W.pending-M,M)),j===0&&(W.status=103)}else W.status=103;if(W.status===103&&(W.gzhead.hcrc?(W.pending+2>W.pending_buf_size&&L(w),W.pending+2<=W.pending_buf_size&&(ne(W,255&w.adler),ne(W,w.adler>>8&255),w.adler=0,W.status=k)):W.status=k),W.pending!==0){if(L(w),w.avail_out===0)return W.last_flush=-1,h}else if(w.avail_in===0&&B(X)<=B($)&&X!==f)return G(w,-5);if(W.status===666&&w.avail_in!==0)return G(w,-5);if(w.avail_in!==0||W.lookahead!==0||X!==d&&W.status!==666){var re=W.strategy===2?function(Y,q){for(var J;;){if(Y.lookahead===0&&(le(Y),Y.lookahead===0)){if(q===d)return x;break}if(Y.match_length=0,J=s._tr_tally(Y,0,Y.window[Y.strstart]),Y.lookahead--,Y.strstart++,J&&(I(Y,!1),Y.strm.avail_out===0))return x}return Y.insert=0,q===f?(I(Y,!0),Y.strm.avail_out===0?R:F):Y.last_lit&&(I(Y,!1),Y.strm.avail_out===0)?x:z}(W,X):W.strategy===3?function(Y,q){for(var J,Q,ae,xe,Ee=Y.window;;){if(Y.lookahead<=O){if(le(Y),Y.lookahead<=O&&q===d)return x;if(Y.lookahead===0)break}if(Y.match_length=0,Y.lookahead>=A&&0<Y.strstart&&(Q=Ee[ae=Y.strstart-1])===Ee[++ae]&&Q===Ee[++ae]&&Q===Ee[++ae]){xe=Y.strstart+O;do;while(Q===Ee[++ae]&&Q===Ee[++ae]&&Q===Ee[++ae]&&Q===Ee[++ae]&&Q===Ee[++ae]&&Q===Ee[++ae]&&Q===Ee[++ae]&&Q===Ee[++ae]&&ae<xe);Y.match_length=O-(xe-ae),Y.match_length>Y.lookahead&&(Y.match_length=Y.lookahead)}if(Y.match_length>=A?(J=s._tr_tally(Y,1,Y.match_length-A),Y.lookahead-=Y.match_length,Y.strstart+=Y.match_length,Y.match_length=0):(J=s._tr_tally(Y,0,Y.window[Y.strstart]),Y.lookahead--,Y.strstart++),J&&(I(Y,!1),Y.strm.avail_out===0))return x}return Y.insert=0,q===f?(I(Y,!0),Y.strm.avail_out===0?R:F):Y.last_lit&&(I(Y,!1),Y.strm.avail_out===0)?x:z}(W,X):o[W.level].func(W,X);if(re!==R&&re!==F||(W.status=666),re===x||re===R)return w.avail_out===0&&(W.last_flush=-1),h;if(re===z&&(X===1?s._tr_align(W):X!==5&&(s._tr_stored_block(W,0,0,!1),X===3&&(V(W.head),W.lookahead===0&&(W.strstart=0,W.block_start=0,W.insert=0))),L(w),w.avail_out===0))return W.last_flush=-1,h}return X!==f?h:W.wrap<=0?1:(W.wrap===2?(ne(W,255&w.adler),ne(W,w.adler>>8&255),ne(W,w.adler>>16&255),ne(W,w.adler>>24&255),ne(W,255&w.total_in),ne(W,w.total_in>>8&255),ne(W,w.total_in>>16&255),ne(W,w.total_in>>24&255)):(H(W,w.adler>>>16),H(W,65535&w.adler)),L(w),0<W.wrap&&(W.wrap=-W.wrap),W.pending!==0?h:1)},i.deflateEnd=function(w){var X;return w&&w.state?(X=w.state.status)!==E&&X!==69&&X!==73&&X!==91&&X!==103&&X!==k&&X!==666?G(w,m):(w.state=null,X===k?G(w,-3):h):m},i.deflateSetDictionary=function(w,X){var $,W,M,j,oe,re,Y,q,J=X.length;if(!w||!w.state||(j=($=w.state).wrap)===2||j===1&&$.status!==E||$.lookahead)return m;for(j===1&&(w.adler=c(w.adler,X,J,0)),$.wrap=0,J>=$.w_size&&(j===0&&(V($.head),$.strstart=0,$.block_start=0,$.insert=0),q=new a.Buf8($.w_size),a.arraySet(q,X,J-$.w_size,$.w_size,0),X=q,J=$.w_size),oe=w.avail_in,re=w.next_in,Y=w.input,w.avail_in=J,w.next_in=0,w.input=X,le($);$.lookahead>=A;){for(W=$.strstart,M=$.lookahead-(A-1);$.ins_h=($.ins_h<<$.hash_shift^$.window[W+A-1])&$.hash_mask,$.prev[W&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=W,W++,--M;);$.strstart=W,$.lookahead=A-1,le($)}return $.strstart+=$.lookahead,$.block_start=$.strstart,$.insert=$.lookahead,$.lookahead=0,$.match_length=$.prev_length=A-1,$.match_available=0,w.next_in=re,w.input=Y,w.avail_in=oe,$.wrap=j,h},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,i){r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(n,r,i){r.exports=function(o,a){var s,c,l,u,d,f,h,m,g,p,y,b,v,D,_,T,S,C,A,O,P,E,k,x,z;s=o.state,c=o.next_in,x=o.input,l=c+(o.avail_in-5),u=o.next_out,z=o.output,d=u-(a-o.avail_out),f=u+(o.avail_out-257),h=s.dmax,m=s.wsize,g=s.whave,p=s.wnext,y=s.window,b=s.hold,v=s.bits,D=s.lencode,_=s.distcode,T=(1<<s.lenbits)-1,S=(1<<s.distbits)-1;e:do{v<15&&(b+=x[c++]<<v,v+=8,b+=x[c++]<<v,v+=8),C=D[b&T];t:for(;;){if(b>>>=A=C>>>24,v-=A,(A=C>>>16&255)===0)z[u++]=65535&C;else{if(!(16&A)){if((64&A)==0){C=D[(65535&C)+(b&(1<<A)-1)];continue t}if(32&A){s.mode=12;break e}o.msg="invalid literal/length code",s.mode=30;break e}O=65535&C,(A&=15)&&(v<A&&(b+=x[c++]<<v,v+=8),O+=b&(1<<A)-1,b>>>=A,v-=A),v<15&&(b+=x[c++]<<v,v+=8,b+=x[c++]<<v,v+=8),C=_[b&S];n:for(;;){if(b>>>=A=C>>>24,v-=A,!(16&(A=C>>>16&255))){if((64&A)==0){C=_[(65535&C)+(b&(1<<A)-1)];continue n}o.msg="invalid distance code",s.mode=30;break e}if(P=65535&C,v<(A&=15)&&(b+=x[c++]<<v,(v+=8)<A&&(b+=x[c++]<<v,v+=8)),h<(P+=b&(1<<A)-1)){o.msg="invalid distance too far back",s.mode=30;break e}if(b>>>=A,v-=A,(A=u-d)<P){if(g<(A=P-A)&&s.sane){o.msg="invalid distance too far back",s.mode=30;break e}if(k=y,(E=0)===p){if(E+=m-A,A<O){for(O-=A;z[u++]=y[E++],--A;);E=u-P,k=z}}else if(p<A){if(E+=m+p-A,(A-=p)<O){for(O-=A;z[u++]=y[E++],--A;);if(E=0,p<O){for(O-=A=p;z[u++]=y[E++],--A;);E=u-P,k=z}}}else if(E+=p-A,A<O){for(O-=A;z[u++]=y[E++],--A;);E=u-P,k=z}for(;2<O;)z[u++]=k[E++],z[u++]=k[E++],z[u++]=k[E++],O-=3;O&&(z[u++]=k[E++],1<O&&(z[u++]=k[E++]))}else{for(E=u-P;z[u++]=z[E++],z[u++]=z[E++],z[u++]=z[E++],2<(O-=3););O&&(z[u++]=z[E++],1<O&&(z[u++]=z[E++]))}break}}break}}while(c<l&&u<f);c-=O=v>>3,b&=(1<<(v-=O<<3))-1,o.next_in=c,o.next_out=u,o.avail_in=c<l?l-c+5:5-(c-l),o.avail_out=u<f?f-u+257:257-(u-f),s.hold=b,s.bits=v}},{}],49:[function(n,r,i){var o=n("../utils/common"),a=n("./adler32"),s=n("./crc32"),c=n("./inffast"),l=n("./inftrees"),u=1,d=2,f=0,h=-2,m=1,g=852,p=592;function y(E){return(E>>>24&255)+(E>>>8&65280)+((65280&E)<<8)+((255&E)<<24)}function b(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function v(E){var k;return E&&E.state?(k=E.state,E.total_in=E.total_out=k.total=0,E.msg="",k.wrap&&(E.adler=1&k.wrap),k.mode=m,k.last=0,k.havedict=0,k.dmax=32768,k.head=null,k.hold=0,k.bits=0,k.lencode=k.lendyn=new o.Buf32(g),k.distcode=k.distdyn=new o.Buf32(p),k.sane=1,k.back=-1,f):h}function D(E){var k;return E&&E.state?((k=E.state).wsize=0,k.whave=0,k.wnext=0,v(E)):h}function _(E,k){var x,z;return E&&E.state?(z=E.state,k<0?(x=0,k=-k):(x=1+(k>>4),k<48&&(k&=15)),k&&(k<8||15<k)?h:(z.window!==null&&z.wbits!==k&&(z.window=null),z.wrap=x,z.wbits=k,D(E))):h}function T(E,k){var x,z;return E?(z=new b,(E.state=z).window=null,(x=_(E,k))!==f&&(E.state=null),x):h}var S,C,A=!0;function O(E){if(A){var k;for(S=new o.Buf32(512),C=new o.Buf32(32),k=0;k<144;)E.lens[k++]=8;for(;k<256;)E.lens[k++]=9;for(;k<280;)E.lens[k++]=7;for(;k<288;)E.lens[k++]=8;for(l(u,E.lens,0,288,S,0,E.work,{bits:9}),k=0;k<32;)E.lens[k++]=5;l(d,E.lens,0,32,C,0,E.work,{bits:5}),A=!1}E.lencode=S,E.lenbits=9,E.distcode=C,E.distbits=5}function P(E,k,x,z){var R,F=E.state;return F.window===null&&(F.wsize=1<<F.wbits,F.wnext=0,F.whave=0,F.window=new o.Buf8(F.wsize)),z>=F.wsize?(o.arraySet(F.window,k,x-F.wsize,F.wsize,0),F.wnext=0,F.whave=F.wsize):(z<(R=F.wsize-F.wnext)&&(R=z),o.arraySet(F.window,k,x-z,R,F.wnext),(z-=R)?(o.arraySet(F.window,k,x-z,z,0),F.wnext=z,F.whave=F.wsize):(F.wnext+=R,F.wnext===F.wsize&&(F.wnext=0),F.whave<F.wsize&&(F.whave+=R))),0}i.inflateReset=D,i.inflateReset2=_,i.inflateResetKeep=v,i.inflateInit=function(E){return T(E,15)},i.inflateInit2=T,i.inflate=function(E,k){var x,z,R,F,G,B,V,L,I,ne,H,Z,le,he,de,me,fe,ge,ye,be,w,X,$,W,M=0,j=new o.Buf8(4),oe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!E||!E.state||!E.output||!E.input&&E.avail_in!==0)return h;(x=E.state).mode===12&&(x.mode=13),G=E.next_out,R=E.output,V=E.avail_out,F=E.next_in,z=E.input,B=E.avail_in,L=x.hold,I=x.bits,ne=B,H=V,X=f;e:for(;;)switch(x.mode){case m:if(x.wrap===0){x.mode=13;break}for(;I<16;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}if(2&x.wrap&&L===35615){j[x.check=0]=255&L,j[1]=L>>>8&255,x.check=s(x.check,j,2,0),I=L=0,x.mode=2;break}if(x.flags=0,x.head&&(x.head.done=!1),!(1&x.wrap)||(((255&L)<<8)+(L>>8))%31){E.msg="incorrect header check",x.mode=30;break}if((15&L)!=8){E.msg="unknown compression method",x.mode=30;break}if(I-=4,w=8+(15&(L>>>=4)),x.wbits===0)x.wbits=w;else if(w>x.wbits){E.msg="invalid window size",x.mode=30;break}x.dmax=1<<w,E.adler=x.check=1,x.mode=512&L?10:12,I=L=0;break;case 2:for(;I<16;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}if(x.flags=L,(255&x.flags)!=8){E.msg="unknown compression method",x.mode=30;break}if(57344&x.flags){E.msg="unknown header flags set",x.mode=30;break}x.head&&(x.head.text=L>>8&1),512&x.flags&&(j[0]=255&L,j[1]=L>>>8&255,x.check=s(x.check,j,2,0)),I=L=0,x.mode=3;case 3:for(;I<32;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}x.head&&(x.head.time=L),512&x.flags&&(j[0]=255&L,j[1]=L>>>8&255,j[2]=L>>>16&255,j[3]=L>>>24&255,x.check=s(x.check,j,4,0)),I=L=0,x.mode=4;case 4:for(;I<16;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}x.head&&(x.head.xflags=255&L,x.head.os=L>>8),512&x.flags&&(j[0]=255&L,j[1]=L>>>8&255,x.check=s(x.check,j,2,0)),I=L=0,x.mode=5;case 5:if(1024&x.flags){for(;I<16;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}x.length=L,x.head&&(x.head.extra_len=L),512&x.flags&&(j[0]=255&L,j[1]=L>>>8&255,x.check=s(x.check,j,2,0)),I=L=0}else x.head&&(x.head.extra=null);x.mode=6;case 6:if(1024&x.flags&&(B<(Z=x.length)&&(Z=B),Z&&(x.head&&(w=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Array(x.head.extra_len)),o.arraySet(x.head.extra,z,F,Z,w)),512&x.flags&&(x.check=s(x.check,z,Z,F)),B-=Z,F+=Z,x.length-=Z),x.length))break e;x.length=0,x.mode=7;case 7:if(2048&x.flags){if(B===0)break e;for(Z=0;w=z[F+Z++],x.head&&w&&x.length<65536&&(x.head.name+=String.fromCharCode(w)),w&&Z<B;);if(512&x.flags&&(x.check=s(x.check,z,Z,F)),B-=Z,F+=Z,w)break e}else x.head&&(x.head.name=null);x.length=0,x.mode=8;case 8:if(4096&x.flags){if(B===0)break e;for(Z=0;w=z[F+Z++],x.head&&w&&x.length<65536&&(x.head.comment+=String.fromCharCode(w)),w&&Z<B;);if(512&x.flags&&(x.check=s(x.check,z,Z,F)),B-=Z,F+=Z,w)break e}else x.head&&(x.head.comment=null);x.mode=9;case 9:if(512&x.flags){for(;I<16;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}if(L!==(65535&x.check)){E.msg="header crc mismatch",x.mode=30;break}I=L=0}x.head&&(x.head.hcrc=x.flags>>9&1,x.head.done=!0),E.adler=x.check=0,x.mode=12;break;case 10:for(;I<32;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}E.adler=x.check=y(L),I=L=0,x.mode=11;case 11:if(x.havedict===0)return E.next_out=G,E.avail_out=V,E.next_in=F,E.avail_in=B,x.hold=L,x.bits=I,2;E.adler=x.check=1,x.mode=12;case 12:if(k===5||k===6)break e;case 13:if(x.last){L>>>=7&I,I-=7&I,x.mode=27;break}for(;I<3;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}switch(x.last=1&L,I-=1,3&(L>>>=1)){case 0:x.mode=14;break;case 1:if(O(x),x.mode=20,k!==6)break;L>>>=2,I-=2;break e;case 2:x.mode=17;break;case 3:E.msg="invalid block type",x.mode=30}L>>>=2,I-=2;break;case 14:for(L>>>=7&I,I-=7&I;I<32;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}if((65535&L)!=(L>>>16^65535)){E.msg="invalid stored block lengths",x.mode=30;break}if(x.length=65535&L,I=L=0,x.mode=15,k===6)break e;case 15:x.mode=16;case 16:if(Z=x.length){if(B<Z&&(Z=B),V<Z&&(Z=V),Z===0)break e;o.arraySet(R,z,F,Z,G),B-=Z,F+=Z,V-=Z,G+=Z,x.length-=Z;break}x.mode=12;break;case 17:for(;I<14;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}if(x.nlen=257+(31&L),L>>>=5,I-=5,x.ndist=1+(31&L),L>>>=5,I-=5,x.ncode=4+(15&L),L>>>=4,I-=4,286<x.nlen||30<x.ndist){E.msg="too many length or distance symbols",x.mode=30;break}x.have=0,x.mode=18;case 18:for(;x.have<x.ncode;){for(;I<3;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}x.lens[oe[x.have++]]=7&L,L>>>=3,I-=3}for(;x.have<19;)x.lens[oe[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,$={bits:x.lenbits},X=l(0,x.lens,0,19,x.lencode,0,x.work,$),x.lenbits=$.bits,X){E.msg="invalid code lengths set",x.mode=30;break}x.have=0,x.mode=19;case 19:for(;x.have<x.nlen+x.ndist;){for(;me=(M=x.lencode[L&(1<<x.lenbits)-1])>>>16&255,fe=65535&M,!((de=M>>>24)<=I);){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}if(fe<16)L>>>=de,I-=de,x.lens[x.have++]=fe;else{if(fe===16){for(W=de+2;I<W;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}if(L>>>=de,I-=de,x.have===0){E.msg="invalid bit length repeat",x.mode=30;break}w=x.lens[x.have-1],Z=3+(3&L),L>>>=2,I-=2}else if(fe===17){for(W=de+3;I<W;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}I-=de,w=0,Z=3+(7&(L>>>=de)),L>>>=3,I-=3}else{for(W=de+7;I<W;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}I-=de,w=0,Z=11+(127&(L>>>=de)),L>>>=7,I-=7}if(x.have+Z>x.nlen+x.ndist){E.msg="invalid bit length repeat",x.mode=30;break}for(;Z--;)x.lens[x.have++]=w}}if(x.mode===30)break;if(x.lens[256]===0){E.msg="invalid code -- missing end-of-block",x.mode=30;break}if(x.lenbits=9,$={bits:x.lenbits},X=l(u,x.lens,0,x.nlen,x.lencode,0,x.work,$),x.lenbits=$.bits,X){E.msg="invalid literal/lengths set",x.mode=30;break}if(x.distbits=6,x.distcode=x.distdyn,$={bits:x.distbits},X=l(d,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,$),x.distbits=$.bits,X){E.msg="invalid distances set",x.mode=30;break}if(x.mode=20,k===6)break e;case 20:x.mode=21;case 21:if(6<=B&&258<=V){E.next_out=G,E.avail_out=V,E.next_in=F,E.avail_in=B,x.hold=L,x.bits=I,c(E,H),G=E.next_out,R=E.output,V=E.avail_out,F=E.next_in,z=E.input,B=E.avail_in,L=x.hold,I=x.bits,x.mode===12&&(x.back=-1);break}for(x.back=0;me=(M=x.lencode[L&(1<<x.lenbits)-1])>>>16&255,fe=65535&M,!((de=M>>>24)<=I);){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}if(me&&(240&me)==0){for(ge=de,ye=me,be=fe;me=(M=x.lencode[be+((L&(1<<ge+ye)-1)>>ge)])>>>16&255,fe=65535&M,!(ge+(de=M>>>24)<=I);){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}L>>>=ge,I-=ge,x.back+=ge}if(L>>>=de,I-=de,x.back+=de,x.length=fe,me===0){x.mode=26;break}if(32&me){x.back=-1,x.mode=12;break}if(64&me){E.msg="invalid literal/length code",x.mode=30;break}x.extra=15&me,x.mode=22;case 22:if(x.extra){for(W=x.extra;I<W;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}x.length+=L&(1<<x.extra)-1,L>>>=x.extra,I-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=23;case 23:for(;me=(M=x.distcode[L&(1<<x.distbits)-1])>>>16&255,fe=65535&M,!((de=M>>>24)<=I);){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}if((240&me)==0){for(ge=de,ye=me,be=fe;me=(M=x.distcode[be+((L&(1<<ge+ye)-1)>>ge)])>>>16&255,fe=65535&M,!(ge+(de=M>>>24)<=I);){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}L>>>=ge,I-=ge,x.back+=ge}if(L>>>=de,I-=de,x.back+=de,64&me){E.msg="invalid distance code",x.mode=30;break}x.offset=fe,x.extra=15&me,x.mode=24;case 24:if(x.extra){for(W=x.extra;I<W;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}x.offset+=L&(1<<x.extra)-1,L>>>=x.extra,I-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){E.msg="invalid distance too far back",x.mode=30;break}x.mode=25;case 25:if(V===0)break e;if(Z=H-V,x.offset>Z){if((Z=x.offset-Z)>x.whave&&x.sane){E.msg="invalid distance too far back",x.mode=30;break}le=Z>x.wnext?(Z-=x.wnext,x.wsize-Z):x.wnext-Z,Z>x.length&&(Z=x.length),he=x.window}else he=R,le=G-x.offset,Z=x.length;for(V<Z&&(Z=V),V-=Z,x.length-=Z;R[G++]=he[le++],--Z;);x.length===0&&(x.mode=21);break;case 26:if(V===0)break e;R[G++]=x.length,V--,x.mode=21;break;case 27:if(x.wrap){for(;I<32;){if(B===0)break e;B--,L|=z[F++]<<I,I+=8}if(H-=V,E.total_out+=H,x.total+=H,H&&(E.adler=x.check=x.flags?s(x.check,R,H,G-H):a(x.check,R,H,G-H)),H=V,(x.flags?L:y(L))!==x.check){E.msg="incorrect data check",x.mode=30;break}I=L=0}x.mode=28;case 28:if(x.wrap&&x.flags){for(;I<32;){if(B===0)break e;B--,L+=z[F++]<<I,I+=8}if(L!==(4294967295&x.total)){E.msg="incorrect length check",x.mode=30;break}I=L=0}x.mode=29;case 29:X=1;break e;case 30:X=-3;break e;case 31:return-4;case 32:default:return h}return E.next_out=G,E.avail_out=V,E.next_in=F,E.avail_in=B,x.hold=L,x.bits=I,(x.wsize||H!==E.avail_out&&x.mode<30&&(x.mode<27||k!==4))&&P(E,E.output,E.next_out,H-E.avail_out)?(x.mode=31,-4):(ne-=E.avail_in,H-=E.avail_out,E.total_in+=ne,E.total_out+=H,x.total+=H,x.wrap&&H&&(E.adler=x.check=x.flags?s(x.check,R,H,E.next_out-H):a(x.check,R,H,E.next_out-H)),E.data_type=x.bits+(x.last?64:0)+(x.mode===12?128:0)+(x.mode===20||x.mode===15?256:0),(ne==0&&H===0||k===4)&&X===f&&(X=-5),X)},i.inflateEnd=function(E){if(!E||!E.state)return h;var k=E.state;return k.window&&(k.window=null),E.state=null,f},i.inflateGetHeader=function(E,k){var x;return E&&E.state?(2&(x=E.state).wrap)==0?h:((x.head=k).done=!1,f):h},i.inflateSetDictionary=function(E,k){var x,z=k.length;return E&&E.state?(x=E.state).wrap!==0&&x.mode!==11?h:x.mode===11&&a(1,k,z,0)!==x.check?-3:P(E,k,z,z)?(x.mode=31,-4):(x.havedict=1,f):h},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,i){var o=n("../utils/common"),a=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],c=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(u,d,f,h,m,g,p,y){var b,v,D,_,T,S,C,A,O,P=y.bits,E=0,k=0,x=0,z=0,R=0,F=0,G=0,B=0,V=0,L=0,I=null,ne=0,H=new o.Buf16(16),Z=new o.Buf16(16),le=null,he=0;for(E=0;E<=15;E++)H[E]=0;for(k=0;k<h;k++)H[d[f+k]]++;for(R=P,z=15;1<=z&&H[z]===0;z--);if(z<R&&(R=z),z===0)return m[g++]=20971520,m[g++]=20971520,y.bits=1,0;for(x=1;x<z&&H[x]===0;x++);for(R<x&&(R=x),E=B=1;E<=15;E++)if(B<<=1,(B-=H[E])<0)return-1;if(0<B&&(u===0||z!==1))return-1;for(Z[1]=0,E=1;E<15;E++)Z[E+1]=Z[E]+H[E];for(k=0;k<h;k++)d[f+k]!==0&&(p[Z[d[f+k]]++]=k);if(S=u===0?(I=le=p,19):u===1?(I=a,ne-=257,le=s,he-=257,256):(I=c,le=l,-1),E=x,T=g,G=k=L=0,D=-1,_=(V=1<<(F=R))-1,u===1&&852<V||u===2&&592<V)return 1;for(;;){for(C=E-G,O=p[k]<S?(A=0,p[k]):p[k]>S?(A=le[he+p[k]],I[ne+p[k]]):(A=96,0),b=1<<E-G,x=v=1<<F;m[T+(L>>G)+(v-=b)]=C<<24|A<<16|O|0,v!==0;);for(b=1<<E-1;L&b;)b>>=1;if(b!==0?(L&=b-1,L+=b):L=0,k++,--H[E]==0){if(E===z)break;E=d[f+p[k]]}if(R<E&&(L&_)!==D){for(G===0&&(G=R),T+=x,B=1<<(F=E-G);F+G<z&&!((B-=H[F+G])<=0);)F++,B<<=1;if(V+=1<<F,u===1&&852<V||u===2&&592<V)return 1;m[D=L&_]=R<<24|F<<16|T-g|0}}return L!==0&&(m[T+L]=E-G<<24|64<<16|0),y.bits=R,0}},{"../utils/common":41}],51:[function(n,r,i){r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(n,r,i){var o=n("../utils/common"),a=0,s=1;function c(M){for(var j=M.length;0<=--j;)M[j]=0}var l=0,u=29,d=256,f=d+1+u,h=30,m=19,g=2*f+1,p=15,y=16,b=7,v=256,D=16,_=17,T=18,S=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],C=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],A=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],O=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],P=new Array(2*(f+2));c(P);var E=new Array(2*h);c(E);var k=new Array(512);c(k);var x=new Array(256);c(x);var z=new Array(u);c(z);var R,F,G,B=new Array(h);function V(M,j,oe,re,Y){this.static_tree=M,this.extra_bits=j,this.extra_base=oe,this.elems=re,this.max_length=Y,this.has_stree=M&&M.length}function L(M,j){this.dyn_tree=M,this.max_code=0,this.stat_desc=j}function I(M){return M<256?k[M]:k[256+(M>>>7)]}function ne(M,j){M.pending_buf[M.pending++]=255&j,M.pending_buf[M.pending++]=j>>>8&255}function H(M,j,oe){M.bi_valid>y-oe?(M.bi_buf|=j<<M.bi_valid&65535,ne(M,M.bi_buf),M.bi_buf=j>>y-M.bi_valid,M.bi_valid+=oe-y):(M.bi_buf|=j<<M.bi_valid&65535,M.bi_valid+=oe)}function Z(M,j,oe){H(M,oe[2*j],oe[2*j+1])}function le(M,j){for(var oe=0;oe|=1&M,M>>>=1,oe<<=1,0<--j;);return oe>>>1}function he(M,j,oe){var re,Y,q=new Array(p+1),J=0;for(re=1;re<=p;re++)q[re]=J=J+oe[re-1]<<1;for(Y=0;Y<=j;Y++){var Q=M[2*Y+1];Q!==0&&(M[2*Y]=le(q[Q]++,Q))}}function de(M){var j;for(j=0;j<f;j++)M.dyn_ltree[2*j]=0;for(j=0;j<h;j++)M.dyn_dtree[2*j]=0;for(j=0;j<m;j++)M.bl_tree[2*j]=0;M.dyn_ltree[2*v]=1,M.opt_len=M.static_len=0,M.last_lit=M.matches=0}function me(M){8<M.bi_valid?ne(M,M.bi_buf):0<M.bi_valid&&(M.pending_buf[M.pending++]=M.bi_buf),M.bi_buf=0,M.bi_valid=0}function fe(M,j,oe,re){var Y=2*j,q=2*oe;return M[Y]<M[q]||M[Y]===M[q]&&re[j]<=re[oe]}function ge(M,j,oe){for(var re=M.heap[oe],Y=oe<<1;Y<=M.heap_len&&(Y<M.heap_len&&fe(j,M.heap[Y+1],M.heap[Y],M.depth)&&Y++,!fe(j,re,M.heap[Y],M.depth));)M.heap[oe]=M.heap[Y],oe=Y,Y<<=1;M.heap[oe]=re}function ye(M,j,oe){var re,Y,q,J,Q=0;if(M.last_lit!==0)for(;re=M.pending_buf[M.d_buf+2*Q]<<8|M.pending_buf[M.d_buf+2*Q+1],Y=M.pending_buf[M.l_buf+Q],Q++,re===0?Z(M,Y,j):(Z(M,(q=x[Y])+d+1,j),(J=S[q])!==0&&H(M,Y-=z[q],J),Z(M,q=I(--re),oe),(J=C[q])!==0&&H(M,re-=B[q],J)),Q<M.last_lit;);Z(M,v,j)}function be(M,j){var oe,re,Y,q=j.dyn_tree,J=j.stat_desc.static_tree,Q=j.stat_desc.has_stree,ae=j.stat_desc.elems,xe=-1;for(M.heap_len=0,M.heap_max=g,oe=0;oe<ae;oe++)q[2*oe]!==0?(M.heap[++M.heap_len]=xe=oe,M.depth[oe]=0):q[2*oe+1]=0;for(;M.heap_len<2;)q[2*(Y=M.heap[++M.heap_len]=xe<2?++xe:0)]=1,M.depth[Y]=0,M.opt_len--,Q&&(M.static_len-=J[2*Y+1]);for(j.max_code=xe,oe=M.heap_len>>1;1<=oe;oe--)ge(M,q,oe);for(Y=ae;oe=M.heap[1],M.heap[1]=M.heap[M.heap_len--],ge(M,q,1),re=M.heap[1],M.heap[--M.heap_max]=oe,M.heap[--M.heap_max]=re,q[2*Y]=q[2*oe]+q[2*re],M.depth[Y]=(M.depth[oe]>=M.depth[re]?M.depth[oe]:M.depth[re])+1,q[2*oe+1]=q[2*re+1]=Y,M.heap[1]=Y++,ge(M,q,1),2<=M.heap_len;);M.heap[--M.heap_max]=M.heap[1],function(Ee,Ce){var Ae,te,ue,ve,Se,Oe,ee=Ce.dyn_tree,ie=Ce.max_code,Fe=Ce.stat_desc.static_tree,Me=Ce.stat_desc.has_stree,ze=Ce.stat_desc.extra_bits,U=Ce.stat_desc.extra_base,N=Ce.stat_desc.max_length,K=0;for(ve=0;ve<=p;ve++)Ee.bl_count[ve]=0;for(ee[2*Ee.heap[Ee.heap_max]+1]=0,Ae=Ee.heap_max+1;Ae<g;Ae++)N<(ve=ee[2*ee[2*(te=Ee.heap[Ae])+1]+1]+1)&&(ve=N,K++),ee[2*te+1]=ve,ie<te||(Ee.bl_count[ve]++,Se=0,U<=te&&(Se=ze[te-U]),Oe=ee[2*te],Ee.opt_len+=Oe*(ve+Se),Me&&(Ee.static_len+=Oe*(Fe[2*te+1]+Se)));if(K!==0){do{for(ve=N-1;Ee.bl_count[ve]===0;)ve--;Ee.bl_count[ve]--,Ee.bl_count[ve+1]+=2,Ee.bl_count[N]--,K-=2}while(0<K);for(ve=N;ve!==0;ve--)for(te=Ee.bl_count[ve];te!==0;)ie<(ue=Ee.heap[--Ae])||(ee[2*ue+1]!==ve&&(Ee.opt_len+=(ve-ee[2*ue+1])*ee[2*ue],ee[2*ue+1]=ve),te--)}}(M,j),he(q,xe,M.bl_count)}function w(M,j,oe){var re,Y,q=-1,J=j[1],Q=0,ae=7,xe=4;for(J===0&&(ae=138,xe=3),j[2*(oe+1)+1]=65535,re=0;re<=oe;re++)Y=J,J=j[2*(re+1)+1],++Q<ae&&Y===J||(Q<xe?M.bl_tree[2*Y]+=Q:Y!==0?(Y!==q&&M.bl_tree[2*Y]++,M.bl_tree[2*D]++):Q<=10?M.bl_tree[2*_]++:M.bl_tree[2*T]++,q=Y,xe=(Q=0)===J?(ae=138,3):Y===J?(ae=6,3):(ae=7,4))}function X(M,j,oe){var re,Y,q=-1,J=j[1],Q=0,ae=7,xe=4;for(J===0&&(ae=138,xe=3),re=0;re<=oe;re++)if(Y=J,J=j[2*(re+1)+1],!(++Q<ae&&Y===J)){if(Q<xe)for(;Z(M,Y,M.bl_tree),--Q!=0;);else Y!==0?(Y!==q&&(Z(M,Y,M.bl_tree),Q--),Z(M,D,M.bl_tree),H(M,Q-3,2)):Q<=10?(Z(M,_,M.bl_tree),H(M,Q-3,3)):(Z(M,T,M.bl_tree),H(M,Q-11,7));q=Y,xe=(Q=0)===J?(ae=138,3):Y===J?(ae=6,3):(ae=7,4)}}c(B);var $=!1;function W(M,j,oe,re){H(M,(l<<1)+(re?1:0),3),function(Y,q,J,Q){me(Y),ne(Y,J),ne(Y,~J),o.arraySet(Y.pending_buf,Y.window,q,J,Y.pending),Y.pending+=J}(M,j,oe)}i._tr_init=function(M){$||(function(){var j,oe,re,Y,q,J=new Array(p+1);for(Y=re=0;Y<u-1;Y++)for(z[Y]=re,j=0;j<1<<S[Y];j++)x[re++]=Y;for(x[re-1]=Y,Y=q=0;Y<16;Y++)for(B[Y]=q,j=0;j<1<<C[Y];j++)k[q++]=Y;for(q>>=7;Y<h;Y++)for(B[Y]=q<<7,j=0;j<1<<C[Y]-7;j++)k[256+q++]=Y;for(oe=0;oe<=p;oe++)J[oe]=0;for(j=0;j<=143;)P[2*j+1]=8,j++,J[8]++;for(;j<=255;)P[2*j+1]=9,j++,J[9]++;for(;j<=279;)P[2*j+1]=7,j++,J[7]++;for(;j<=287;)P[2*j+1]=8,j++,J[8]++;for(he(P,f+1,J),j=0;j<h;j++)E[2*j+1]=5,E[2*j]=le(j,5);R=new V(P,S,d+1,f,p),F=new V(E,C,0,h,p),G=new V(new Array(0),A,0,m,b)}(),$=!0),M.l_desc=new L(M.dyn_ltree,R),M.d_desc=new L(M.dyn_dtree,F),M.bl_desc=new L(M.bl_tree,G),M.bi_buf=0,M.bi_valid=0,de(M)},i._tr_stored_block=W,i._tr_flush_block=function(M,j,oe,re){var Y,q,J=0;0<M.level?(M.strm.data_type===2&&(M.strm.data_type=function(Q){var ae,xe=4093624447;for(ae=0;ae<=31;ae++,xe>>>=1)if(1&xe&&Q.dyn_ltree[2*ae]!==0)return a;if(Q.dyn_ltree[18]!==0||Q.dyn_ltree[20]!==0||Q.dyn_ltree[26]!==0)return s;for(ae=32;ae<d;ae++)if(Q.dyn_ltree[2*ae]!==0)return s;return a}(M)),be(M,M.l_desc),be(M,M.d_desc),J=function(Q){var ae;for(w(Q,Q.dyn_ltree,Q.l_desc.max_code),w(Q,Q.dyn_dtree,Q.d_desc.max_code),be(Q,Q.bl_desc),ae=m-1;3<=ae&&Q.bl_tree[2*O[ae]+1]===0;ae--);return Q.opt_len+=3*(ae+1)+5+5+4,ae}(M),Y=M.opt_len+3+7>>>3,(q=M.static_len+3+7>>>3)<=Y&&(Y=q)):Y=q=oe+5,oe+4<=Y&&j!==-1?W(M,j,oe,re):M.strategy===4||q===Y?(H(M,2+(re?1:0),3),ye(M,P,E)):(H(M,4+(re?1:0),3),function(Q,ae,xe,Ee){var Ce;for(H(Q,ae-257,5),H(Q,xe-1,5),H(Q,Ee-4,4),Ce=0;Ce<Ee;Ce++)H(Q,Q.bl_tree[2*O[Ce]+1],3);X(Q,Q.dyn_ltree,ae-1),X(Q,Q.dyn_dtree,xe-1)}(M,M.l_desc.max_code+1,M.d_desc.max_code+1,J+1),ye(M,M.dyn_ltree,M.dyn_dtree)),de(M),re&&me(M)},i._tr_tally=function(M,j,oe){return M.pending_buf[M.d_buf+2*M.last_lit]=j>>>8&255,M.pending_buf[M.d_buf+2*M.last_lit+1]=255&j,M.pending_buf[M.l_buf+M.last_lit]=255&oe,M.last_lit++,j===0?M.dyn_ltree[2*oe]++:(M.matches++,j--,M.dyn_ltree[2*(x[oe]+d+1)]++,M.dyn_dtree[2*I(j)]++),M.last_lit===M.lit_bufsize-1},i._tr_align=function(M){H(M,2,3),Z(M,v,P),function(j){j.bi_valid===16?(ne(j,j.bi_buf),j.bi_buf=0,j.bi_valid=0):8<=j.bi_valid&&(j.pending_buf[j.pending++]=255&j.bi_buf,j.bi_buf>>=8,j.bi_valid-=8)}(M)}},{"../utils/common":41}],53:[function(n,r,i){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,i){(function(o){(function(a,s){if(!a.setImmediate){var c,l,u,d,f=1,h={},m=!1,g=a.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(a);p=p&&p.setTimeout?p:a,c={}.toString.call(a.process)==="[object process]"?function(D){process.nextTick(function(){b(D)})}:function(){if(a.postMessage&&!a.importScripts){var D=!0,_=a.onmessage;return a.onmessage=function(){D=!1},a.postMessage("","*"),a.onmessage=_,D}}()?(d="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",v,!1):a.attachEvent("onmessage",v),function(D){a.postMessage(d+D,"*")}):a.MessageChannel?((u=new MessageChannel).port1.onmessage=function(D){b(D.data)},function(D){u.port2.postMessage(D)}):g&&"onreadystatechange"in g.createElement("script")?(l=g.documentElement,function(D){var _=g.createElement("script");_.onreadystatechange=function(){b(D),_.onreadystatechange=null,l.removeChild(_),_=null},l.appendChild(_)}):function(D){setTimeout(b,0,D)},p.setImmediate=function(D){typeof D!="function"&&(D=new Function(""+D));for(var _=new Array(arguments.length-1),T=0;T<_.length;T++)_[T]=arguments[T+1];var S={callback:D,args:_};return h[f]=S,c(f),f++},p.clearImmediate=y}function y(D){delete h[D]}function b(D){if(m)setTimeout(b,0,D);else{var _=h[D];if(_){m=!0;try{(function(T){var S=T.callback,C=T.args;switch(C.length){case 0:S();break;case 1:S(C[0]);break;case 2:S(C[0],C[1]);break;case 3:S(C[0],C[1],C[2]);break;default:S.apply(s,C)}})(_)}finally{y(D),m=!1}}}}function v(D){D.source===a&&typeof D.data=="string"&&D.data.indexOf(d)===0&&b(+D.data.slice(d.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof tn<"u"?tn:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})}(Ff)),Ff.exports}var I0;function DT(){if(I0)return _o;I0=1;var t=iN(),e=oN();_o.openArrayBuffer=n,_o.splitPath=r,_o.joinPath=i;function n(o){return e.loadAsync(o).then(function(a){function s(d){return a.file(d)!==null}function c(d,f){return a.file(d).async("uint8array").then(function(h){if(f==="base64")return t.fromByteArray(h);if(f){var m=new TextDecoder(f);return m.decode(h)}else return h})}function l(d,f){a.file(d,f)}function u(){return a.generateAsync({type:"arraybuffer"})}return{exists:s,read:c,write:l,toArrayBuffer:u}})}function r(o){var a=o.lastIndexOf("/");return a===-1?{dirname:"",basename:o}:{dirname:o.substring(0,a),basename:o.substring(a+1)}}function i(){var o=Array.prototype.filter.call(arguments,function(s){return s}),a=[];return o.forEach(function(s){/^\//.test(s)?a=[s]:a.push(s)}),a.join("/")}return _o}var Ha={},ir={},Ai={},N0;function _T(){if(N0)return Ai;N0=1;var t=rt;Ai.Element=n,Ai.element=function(o,a,s){return new n(o,a,s)},Ai.text=function(o){return{type:"text",value:o}};var e=Ai.emptyElement={first:function(){return null},firstOrEmpty:function(){return e},attributes:{},children:[]};function n(o,a,s){this.type="element",this.name=o,this.attributes=a||{},this.children=s||[]}n.prototype.first=function(o){return t.find(this.children,function(a){return a.name===o})},n.prototype.firstOrEmpty=function(o){return this.first(o)||e},n.prototype.getElementsByTagName=function(o){var a=t.filter(this.children,function(s){return s.name===o});return i(a)},n.prototype.text=function(){if(this.children.length===0)return"";if(this.children.length!==1||this.children[0].type!=="text")throw new Error("Not implemented");return this.children[0].value};var r={getElementsByTagName:function(o){return i(t.flatten(this.map(function(a){return a.getElementsByTagName(o)},!0)))}};function i(o){return t.extend(o,r)}return Ai}var If={},Ga={},Eo={},Ln={},Lr={},B0;function yl(){if(B0)return Lr;B0=1;function t(o,a,s){if(s===void 0&&(s=Array.prototype),o&&typeof s.find=="function")return s.find.call(o,a);for(var c=0;c<o.length;c++)if(Object.prototype.hasOwnProperty.call(o,c)){var l=o[c];if(a.call(void 0,l,c,o))return l}}function e(o,a){return a===void 0&&(a=Object),a&&typeof a.freeze=="function"?a.freeze(o):o}function n(o,a){if(o===null||typeof o!="object")throw new TypeError("target is not an object");for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(o[s]=a[s]);return o}var r=e({HTML:"text/html",isHTML:function(o){return o===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=e({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(o){return o===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});return Lr.assign=n,Lr.find=t,Lr.freeze=e,Lr.MIME_TYPE=r,Lr.NAMESPACE=i,Lr}var M0;function Dm(){if(M0)return Ln;M0=1;var t=yl(),e=t.find,n=t.NAMESPACE;function r(U){return U!==""}function i(U){return U?U.split(/[\t\n\f\r ]+/).filter(r):[]}function o(U,N){return U.hasOwnProperty(N)||(U[N]=!0),U}function a(U){if(!U)return[];var N=i(U);return Object.keys(N.reduce(o,{}))}function s(U){return function(N){return U&&U.indexOf(N)!==-1}}function c(U,N){for(var K in U)Object.prototype.hasOwnProperty.call(U,K)&&(N[K]=U[K])}function l(U,N){var K=U.prototype;if(!(K instanceof N)){let se=function(){};se.prototype=N.prototype,se=new se,c(K,se),U.prototype=K=se}K.constructor!=U&&(typeof U!="function"&&console.error("unknown Class:"+U),K.constructor=U)}var u={},d=u.ELEMENT_NODE=1,f=u.ATTRIBUTE_NODE=2,h=u.TEXT_NODE=3,m=u.CDATA_SECTION_NODE=4,g=u.ENTITY_REFERENCE_NODE=5,p=u.ENTITY_NODE=6,y=u.PROCESSING_INSTRUCTION_NODE=7,b=u.COMMENT_NODE=8,v=u.DOCUMENT_NODE=9,D=u.DOCUMENT_TYPE_NODE=10,_=u.DOCUMENT_FRAGMENT_NODE=11,T=u.NOTATION_NODE=12,S={},C={};S.INDEX_SIZE_ERR=(C[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(C[2]="DOMString size error",2);var A=S.HIERARCHY_REQUEST_ERR=(C[3]="Hierarchy request error",3);S.WRONG_DOCUMENT_ERR=(C[4]="Wrong document",4),S.INVALID_CHARACTER_ERR=(C[5]="Invalid character",5),S.NO_DATA_ALLOWED_ERR=(C[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(C[7]="No modification allowed",7);var O=S.NOT_FOUND_ERR=(C[8]="Not found",8);S.NOT_SUPPORTED_ERR=(C[9]="Not supported",9);var P=S.INUSE_ATTRIBUTE_ERR=(C[10]="Attribute in use",10);S.INVALID_STATE_ERR=(C[11]="Invalid state",11),S.SYNTAX_ERR=(C[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(C[13]="Invalid modification",13),S.NAMESPACE_ERR=(C[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(C[15]="Invalid access",15);function E(U,N){if(N instanceof Error)var K=N;else K=this,Error.call(this,C[U]),this.message=C[U],Error.captureStackTrace&&Error.captureStackTrace(this,E);return K.code=U,N&&(this.message=this.message+": "+N),K}E.prototype=Error.prototype,c(S,E);function k(){}k.prototype={length:0,item:function(U){return U>=0&&U<this.length?this[U]:null},toString:function(U,N){for(var K=[],se=0;se<this.length;se++)ie(this[se],K,U,N);return K.join("")},filter:function(U){return Array.prototype.filter.call(this,U)},indexOf:function(U){return Array.prototype.indexOf.call(this,U)}};function x(U,N){this._node=U,this._refresh=N,z(this)}function z(U){var N=U._node._inc||U._node.ownerDocument._inc;if(U._inc!==N){var K=U._refresh(U._node);if(ze(U,"length",K.length),!U.$$length||K.length<U.$$length)for(var se=K.length;se in U;se++)Object.prototype.hasOwnProperty.call(U,se)&&delete U[se];c(K,U),U._inc=N}}x.prototype.item=function(U){return z(this),this[U]||null},l(x,k);function R(){}function F(U,N){for(var K=U.length;K--;)if(U[K]===N)return K}function G(U,N,K,se){if(se?N[F(N,se)]=K:N[N.length++]=K,U){K.ownerElement=U;var _e=U.ownerDocument;_e&&(se&&le(_e,U,se),Z(_e,U,K))}}function B(U,N,K){var se=F(N,K);if(se>=0){for(var _e=N.length-1;se<_e;)N[se]=N[++se];if(N.length=_e,U){var ke=U.ownerDocument;ke&&(le(ke,U,K),K.ownerElement=null)}}else throw new E(O,new Error(U.tagName+"@"+K))}R.prototype={length:0,item:k.prototype.item,getNamedItem:function(U){for(var N=this.length;N--;){var K=this[N];if(K.nodeName==U)return K}},setNamedItem:function(U){var N=U.ownerElement;if(N&&N!=this._ownerElement)throw new E(P);var K=this.getNamedItem(U.nodeName);return G(this._ownerElement,this,U,K),K},setNamedItemNS:function(U){var N=U.ownerElement,K;if(N&&N!=this._ownerElement)throw new E(P);return K=this.getNamedItemNS(U.namespaceURI,U.localName),G(this._ownerElement,this,U,K),K},removeNamedItem:function(U){var N=this.getNamedItem(U);return B(this._ownerElement,this,N),N},removeNamedItemNS:function(U,N){var K=this.getNamedItemNS(U,N);return B(this._ownerElement,this,K),K},getNamedItemNS:function(U,N){for(var K=this.length;K--;){var se=this[K];if(se.localName==N&&se.namespaceURI==U)return se}return null}};function V(){}V.prototype={hasFeature:function(U,N){return!0},createDocument:function(U,N,K){var se=new H;if(se.implementation=this,se.childNodes=new k,se.doctype=K||null,K&&se.appendChild(K),N){var _e=se.createElementNS(U,N);se.appendChild(_e)}return se},createDocumentType:function(U,N,K){var se=new xe;return se.name=U,se.nodeName=U,se.publicId=N||"",se.systemId=K||"",se}};function L(){}L.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(U,N){return j(this,U,N)},replaceChild:function(U,N){j(this,U,N,M),N&&this.removeChild(N)},removeChild:function(U){return de(this,U)},appendChild:function(U){return this.insertBefore(U,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(U){return Me(this.ownerDocument||this,this,U)},normalize:function(){for(var U=this.firstChild;U;){var N=U.nextSibling;N&&N.nodeType==h&&U.nodeType==h?(this.removeChild(N),U.appendData(N.data)):(U.normalize(),U=N)}},isSupported:function(U,N){return this.ownerDocument.implementation.hasFeature(U,N)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(U){for(var N=this;N;){var K=N._nsMap;if(K){for(var se in K)if(Object.prototype.hasOwnProperty.call(K,se)&&K[se]===U)return se}N=N.nodeType==f?N.ownerDocument:N.parentNode}return null},lookupNamespaceURI:function(U){for(var N=this;N;){var K=N._nsMap;if(K&&Object.prototype.hasOwnProperty.call(K,U))return K[U];N=N.nodeType==f?N.ownerDocument:N.parentNode}return null},isDefaultNamespace:function(U){var N=this.lookupPrefix(U);return N==null}};function I(U){return U=="<"&&"&lt;"||U==">"&&"&gt;"||U=="&"&&"&amp;"||U=='"'&&"&quot;"||"&#"+U.charCodeAt()+";"}c(u,L),c(u,L.prototype);function ne(U,N){if(N(U))return!0;if(U=U.firstChild)do if(ne(U,N))return!0;while(U=U.nextSibling)}function H(){this.ownerDocument=this}function Z(U,N,K){U&&U._inc++;var se=K.namespaceURI;se===n.XMLNS&&(N._nsMap[K.prefix?K.localName:""]=K.value)}function le(U,N,K,se){U&&U._inc++;var _e=K.namespaceURI;_e===n.XMLNS&&delete N._nsMap[K.prefix?K.localName:""]}function he(U,N,K){if(U&&U._inc){U._inc++;var se=N.childNodes;if(K)se[se.length++]=K;else{for(var _e=N.firstChild,ke=0;_e;)se[ke++]=_e,_e=_e.nextSibling;se.length=ke,delete se[se.length]}}}function de(U,N){var K=N.previousSibling,se=N.nextSibling;return K?K.nextSibling=se:U.firstChild=se,se?se.previousSibling=K:U.lastChild=K,N.parentNode=null,N.previousSibling=null,N.nextSibling=null,he(U.ownerDocument,U),N}function me(U){return U&&(U.nodeType===L.DOCUMENT_NODE||U.nodeType===L.DOCUMENT_FRAGMENT_NODE||U.nodeType===L.ELEMENT_NODE)}function fe(U){return U&&(ye(U)||be(U)||ge(U)||U.nodeType===L.DOCUMENT_FRAGMENT_NODE||U.nodeType===L.COMMENT_NODE||U.nodeType===L.PROCESSING_INSTRUCTION_NODE)}function ge(U){return U&&U.nodeType===L.DOCUMENT_TYPE_NODE}function ye(U){return U&&U.nodeType===L.ELEMENT_NODE}function be(U){return U&&U.nodeType===L.TEXT_NODE}function w(U,N){var K=U.childNodes||[];if(e(K,ye)||ge(N))return!1;var se=e(K,ge);return!(N&&se&&K.indexOf(se)>K.indexOf(N))}function X(U,N){var K=U.childNodes||[];function se(ke){return ye(ke)&&ke!==N}if(e(K,se))return!1;var _e=e(K,ge);return!(N&&_e&&K.indexOf(_e)>K.indexOf(N))}function $(U,N,K){if(!me(U))throw new E(A,"Unexpected parent node type "+U.nodeType);if(K&&K.parentNode!==U)throw new E(O,"child not in parent");if(!fe(N)||ge(N)&&U.nodeType!==L.DOCUMENT_NODE)throw new E(A,"Unexpected node type "+N.nodeType+" for parent node type "+U.nodeType)}function W(U,N,K){var se=U.childNodes||[],_e=N.childNodes||[];if(N.nodeType===L.DOCUMENT_FRAGMENT_NODE){var ke=_e.filter(ye);if(ke.length>1||e(_e,be))throw new E(A,"More than one element or text in fragment");if(ke.length===1&&!w(U,K))throw new E(A,"Element in fragment can not be inserted before doctype")}if(ye(N)&&!w(U,K))throw new E(A,"Only one element can be added and only after doctype");if(ge(N)){if(e(se,ge))throw new E(A,"Only one doctype is allowed");var Pe=e(se,ye);if(K&&se.indexOf(Pe)<se.indexOf(K))throw new E(A,"Doctype can only be inserted before an element");if(!K&&Pe)throw new E(A,"Doctype can not be appended since element is present")}}function M(U,N,K){var se=U.childNodes||[],_e=N.childNodes||[];if(N.nodeType===L.DOCUMENT_FRAGMENT_NODE){var ke=_e.filter(ye);if(ke.length>1||e(_e,be))throw new E(A,"More than one element or text in fragment");if(ke.length===1&&!X(U,K))throw new E(A,"Element in fragment can not be inserted before doctype")}if(ye(N)&&!X(U,K))throw new E(A,"Only one element can be added and only after doctype");if(ge(N)){if(e(se,function(Ht){return ge(Ht)&&Ht!==K}))throw new E(A,"Only one doctype is allowed");var Pe=e(se,ye);if(K&&se.indexOf(Pe)<se.indexOf(K))throw new E(A,"Doctype can only be inserted before an element")}}function j(U,N,K,se){$(U,N,K),U.nodeType===L.DOCUMENT_NODE&&(se||W)(U,N,K);var _e=N.parentNode;if(_e&&_e.removeChild(N),N.nodeType===_){var ke=N.firstChild;if(ke==null)return N;var Pe=N.lastChild}else ke=Pe=N;var He=K?K.previousSibling:U.lastChild;ke.previousSibling=He,Pe.nextSibling=K,He?He.nextSibling=ke:U.firstChild=ke,K==null?U.lastChild=Pe:K.previousSibling=Pe;do ke.parentNode=U;while(ke!==Pe&&(ke=ke.nextSibling));return he(U.ownerDocument||U,U),N.nodeType==_&&(N.firstChild=N.lastChild=null),N}function oe(U,N){return N.parentNode&&N.parentNode.removeChild(N),N.parentNode=U,N.previousSibling=U.lastChild,N.nextSibling=null,N.previousSibling?N.previousSibling.nextSibling=N:U.firstChild=N,U.lastChild=N,he(U.ownerDocument,U,N),N}H.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(U,N){if(U.nodeType==_){for(var K=U.firstChild;K;){var se=K.nextSibling;this.insertBefore(K,N),K=se}return U}return j(this,U,N),U.ownerDocument=this,this.documentElement===null&&U.nodeType===d&&(this.documentElement=U),U},removeChild:function(U){return this.documentElement==U&&(this.documentElement=null),de(this,U)},replaceChild:function(U,N){j(this,U,N,M),U.ownerDocument=this,N&&this.removeChild(N),ye(U)&&(this.documentElement=U)},importNode:function(U,N){return Fe(this,U,N)},getElementById:function(U){var N=null;return ne(this.documentElement,function(K){if(K.nodeType==d&&K.getAttribute("id")==U)return N=K,!0}),N},getElementsByClassName:function(U){var N=a(U);return new x(this,function(K){var se=[];return N.length>0&&ne(K.documentElement,function(_e){if(_e!==K&&_e.nodeType===d){var ke=_e.getAttribute("class");if(ke){var Pe=U===ke;if(!Pe){var He=a(ke);Pe=N.every(s(He))}Pe&&se.push(_e)}}}),se})},createElement:function(U){var N=new re;N.ownerDocument=this,N.nodeName=U,N.tagName=U,N.localName=U,N.childNodes=new k;var K=N.attributes=new R;return K._ownerElement=N,N},createDocumentFragment:function(){var U=new te;return U.ownerDocument=this,U.childNodes=new k,U},createTextNode:function(U){var N=new J;return N.ownerDocument=this,N.appendData(U),N},createComment:function(U){var N=new Q;return N.ownerDocument=this,N.appendData(U),N},createCDATASection:function(U){var N=new ae;return N.ownerDocument=this,N.appendData(U),N},createProcessingInstruction:function(U,N){var K=new ue;return K.ownerDocument=this,K.tagName=K.nodeName=K.target=U,K.nodeValue=K.data=N,K},createAttribute:function(U){var N=new Y;return N.ownerDocument=this,N.name=U,N.nodeName=U,N.localName=U,N.specified=!0,N},createEntityReference:function(U){var N=new Ae;return N.ownerDocument=this,N.nodeName=U,N},createElementNS:function(U,N){var K=new re,se=N.split(":"),_e=K.attributes=new R;return K.childNodes=new k,K.ownerDocument=this,K.nodeName=N,K.tagName=N,K.namespaceURI=U,se.length==2?(K.prefix=se[0],K.localName=se[1]):K.localName=N,_e._ownerElement=K,K},createAttributeNS:function(U,N){var K=new Y,se=N.split(":");return K.ownerDocument=this,K.nodeName=N,K.name=N,K.namespaceURI=U,K.specified=!0,se.length==2?(K.prefix=se[0],K.localName=se[1]):K.localName=N,K}},l(H,L);function re(){this._nsMap={}}re.prototype={nodeType:d,hasAttribute:function(U){return this.getAttributeNode(U)!=null},getAttribute:function(U){var N=this.getAttributeNode(U);return N&&N.value||""},getAttributeNode:function(U){return this.attributes.getNamedItem(U)},setAttribute:function(U,N){var K=this.ownerDocument.createAttribute(U);K.value=K.nodeValue=""+N,this.setAttributeNode(K)},removeAttribute:function(U){var N=this.getAttributeNode(U);N&&this.removeAttributeNode(N)},appendChild:function(U){return U.nodeType===_?this.insertBefore(U,null):oe(this,U)},setAttributeNode:function(U){return this.attributes.setNamedItem(U)},setAttributeNodeNS:function(U){return this.attributes.setNamedItemNS(U)},removeAttributeNode:function(U){return this.attributes.removeNamedItem(U.nodeName)},removeAttributeNS:function(U,N){var K=this.getAttributeNodeNS(U,N);K&&this.removeAttributeNode(K)},hasAttributeNS:function(U,N){return this.getAttributeNodeNS(U,N)!=null},getAttributeNS:function(U,N){var K=this.getAttributeNodeNS(U,N);return K&&K.value||""},setAttributeNS:function(U,N,K){var se=this.ownerDocument.createAttributeNS(U,N);se.value=se.nodeValue=""+K,this.setAttributeNode(se)},getAttributeNodeNS:function(U,N){return this.attributes.getNamedItemNS(U,N)},getElementsByTagName:function(U){return new x(this,function(N){var K=[];return ne(N,function(se){se!==N&&se.nodeType==d&&(U==="*"||se.tagName==U)&&K.push(se)}),K})},getElementsByTagNameNS:function(U,N){return new x(this,function(K){var se=[];return ne(K,function(_e){_e!==K&&_e.nodeType===d&&(U==="*"||_e.namespaceURI===U)&&(N==="*"||_e.localName==N)&&se.push(_e)}),se})}},H.prototype.getElementsByTagName=re.prototype.getElementsByTagName,H.prototype.getElementsByTagNameNS=re.prototype.getElementsByTagNameNS,l(re,L);function Y(){}Y.prototype.nodeType=f,l(Y,L);function q(){}q.prototype={data:"",substringData:function(U,N){return this.data.substring(U,U+N)},appendData:function(U){U=this.data+U,this.nodeValue=this.data=U,this.length=U.length},insertData:function(U,N){this.replaceData(U,0,N)},appendChild:function(U){throw new Error(C[A])},deleteData:function(U,N){this.replaceData(U,N,"")},replaceData:function(U,N,K){var se=this.data.substring(0,U),_e=this.data.substring(U+N);K=se+K+_e,this.nodeValue=this.data=K,this.length=K.length}},l(q,L);function J(){}J.prototype={nodeName:"#text",nodeType:h,splitText:function(U){var N=this.data,K=N.substring(U);N=N.substring(0,U),this.data=this.nodeValue=N,this.length=N.length;var se=this.ownerDocument.createTextNode(K);return this.parentNode&&this.parentNode.insertBefore(se,this.nextSibling),se}},l(J,q);function Q(){}Q.prototype={nodeName:"#comment",nodeType:b},l(Q,q);function ae(){}ae.prototype={nodeName:"#cdata-section",nodeType:m},l(ae,q);function xe(){}xe.prototype.nodeType=D,l(xe,L);function Ee(){}Ee.prototype.nodeType=T,l(Ee,L);function Ce(){}Ce.prototype.nodeType=p,l(Ce,L);function Ae(){}Ae.prototype.nodeType=g,l(Ae,L);function te(){}te.prototype.nodeName="#document-fragment",te.prototype.nodeType=_,l(te,L);function ue(){}ue.prototype.nodeType=y,l(ue,L);function ve(){}ve.prototype.serializeToString=function(U,N,K){return Se.call(U,N,K)},L.prototype.toString=Se;function Se(U,N){var K=[],se=this.nodeType==9&&this.documentElement||this,_e=se.prefix,ke=se.namespaceURI;if(ke&&_e==null){var _e=se.lookupPrefix(ke);if(_e==null)var Pe=[{namespace:ke,prefix:null}]}return ie(this,K,U,N,Pe),K.join("")}function Oe(U,N,K){var se=U.prefix||"",_e=U.namespaceURI;if(!_e||se==="xml"&&_e===n.XML||_e===n.XMLNS)return!1;for(var ke=K.length;ke--;){var Pe=K[ke];if(Pe.prefix===se)return Pe.namespace!==_e}return!0}function ee(U,N,K){U.push(" ",N,'="',K.replace(/[<>&"\t\n\r]/g,I),'"')}function ie(U,N,K,se,_e){if(_e||(_e=[]),se)if(U=se(U),U){if(typeof U=="string"){N.push(U);return}}else return;switch(U.nodeType){case d:var ke=U.attributes,Pe=ke.length,ot=U.firstChild,He=U.tagName;K=n.isHTML(U.namespaceURI)||K;var Ht=He;if(!K&&!U.prefix&&U.namespaceURI){for(var an,Gt=0;Gt<ke.length;Gt++)if(ke.item(Gt).name==="xmlns"){an=ke.item(Gt).value;break}if(!an)for(var Wt=_e.length-1;Wt>=0;Wt--){var sn=_e[Wt];if(sn.prefix===""&&sn.namespace===U.namespaceURI){an=sn.namespace;break}}if(an!==U.namespaceURI)for(var Wt=_e.length-1;Wt>=0;Wt--){var sn=_e[Wt];if(sn.namespace===U.namespaceURI){sn.prefix&&(Ht=sn.prefix+":"+He);break}}}N.push("<",Ht);for(var Xt=0;Xt<Pe;Xt++){var Ot=ke.item(Xt);Ot.prefix=="xmlns"?_e.push({prefix:Ot.localName,namespace:Ot.value}):Ot.nodeName=="xmlns"&&_e.push({prefix:"",namespace:Ot.value})}for(var Xt=0;Xt<Pe;Xt++){var Ot=ke.item(Xt);if(Oe(Ot,K,_e)){var cn=Ot.prefix||"",Qn=Ot.namespaceURI;ee(N,cn?"xmlns:"+cn:"xmlns",Qn),_e.push({prefix:cn,namespace:Qn})}ie(Ot,N,K,se,_e)}if(He===Ht&&Oe(U,K,_e)){var cn=U.prefix||"",Qn=U.namespaceURI;ee(N,cn?"xmlns:"+cn:"xmlns",Qn),_e.push({prefix:cn,namespace:Qn})}if(ot||K&&!/^(?:meta|link|img|br|hr|input)$/i.test(He)){if(N.push(">"),K&&/^script$/i.test(He))for(;ot;)ot.data?N.push(ot.data):ie(ot,N,K,se,_e.slice()),ot=ot.nextSibling;else for(;ot;)ie(ot,N,K,se,_e.slice()),ot=ot.nextSibling;N.push("</",Ht,">")}else N.push("/>");return;case v:case _:for(var ot=U.firstChild;ot;)ie(ot,N,K,se,_e.slice()),ot=ot.nextSibling;return;case f:return ee(N,U.name,U.value);case h:return N.push(U.data.replace(/[<&>]/g,I));case m:return N.push("<![CDATA[",U.data,"]]>");case b:return N.push("<!--",U.data,"-->");case D:var vi=U.publicId,Fn=U.systemId;if(N.push("<!DOCTYPE ",U.name),vi)N.push(" PUBLIC ",vi),Fn&&Fn!="."&&N.push(" ",Fn),N.push(">");else if(Fn&&Fn!=".")N.push(" SYSTEM ",Fn,">");else{var xi=U.internalSubset;xi&&N.push(" [",xi,"]"),N.push(">")}return;case y:return N.push("<?",U.target," ",U.data,"?>");case g:return N.push("&",U.nodeName,";");default:N.push("??",U.nodeName)}}function Fe(U,N,K){var se;switch(N.nodeType){case d:se=N.cloneNode(!1),se.ownerDocument=U;case _:break;case f:K=!0;break}if(se||(se=N.cloneNode(!1)),se.ownerDocument=U,se.parentNode=null,K)for(var _e=N.firstChild;_e;)se.appendChild(Fe(U,_e,K)),_e=_e.nextSibling;return se}function Me(U,N,K){var se=new N.constructor;for(var _e in N)if(Object.prototype.hasOwnProperty.call(N,_e)){var ke=N[_e];typeof ke!="object"&&ke!=se[_e]&&(se[_e]=ke)}switch(N.childNodes&&(se.childNodes=new k),se.ownerDocument=U,se.nodeType){case d:var Pe=N.attributes,He=se.attributes=new R,Ht=Pe.length;He._ownerElement=se;for(var an=0;an<Ht;an++)se.setAttributeNode(Me(U,Pe.item(an),!0));break;case f:K=!0}if(K)for(var Gt=N.firstChild;Gt;)se.appendChild(Me(U,Gt,K)),Gt=Gt.nextSibling;return se}function ze(U,N,K){U[N]=K}try{if(Object.defineProperty){let U=function(N){switch(N.nodeType){case d:case _:var K=[];for(N=N.firstChild;N;)N.nodeType!==7&&N.nodeType!==8&&K.push(U(N)),N=N.nextSibling;return K.join("");default:return N.nodeValue}};Object.defineProperty(x.prototype,"length",{get:function(){return z(this),this.$$length}}),Object.defineProperty(L.prototype,"textContent",{get:function(){return U(this)},set:function(N){switch(this.nodeType){case d:case _:for(;this.firstChild;)this.removeChild(this.firstChild);(N||String(N))&&this.appendChild(this.ownerDocument.createTextNode(N));break;default:this.data=N,this.value=N,this.nodeValue=N}}}),ze=function(N,K,se){N["$$"+K]=se}}}catch{}return Ln.DocumentType=xe,Ln.DOMException=E,Ln.DOMImplementation=V,Ln.Element=re,Ln.Node=L,Ln.NodeList=k,Ln.XMLSerializer=ve,Ln}var To={},Nf={},L0;function aN(){return L0||(L0=1,function(t){var e=yl().freeze;t.XML_ENTITIES=e({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=e({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
257
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),t.entityMap=t.HTML_ENTITIES}(Nf)),Nf}var Xa={},W0;function sN(){if(W0)return Xa;W0=1;var t=yl().NAMESPACE,e=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,n=new RegExp("[\\-\\.0-9"+e.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),r=new RegExp("^"+e.source+n.source+"*(?::"+e.source+n.source+"*)?$"),i=0,o=1,a=2,s=3,c=4,l=5,u=6,d=7;function f(A,O){this.message=A,this.locator=O,Error.captureStackTrace&&Error.captureStackTrace(this,f)}f.prototype=new Error,f.prototype.name=f.name;function h(){}h.prototype={parse:function(A,O,P){var E=this.domBuilder;E.startDocument(),D(O,O={}),m(A,O,P,E,this.errorHandler),E.endDocument()}};function m(A,O,P,E,k){function x(re){if(re>65535){re-=65536;var Y=55296+(re>>10),q=56320+(re&1023);return String.fromCharCode(Y,q)}else return String.fromCharCode(re)}function z(re){var Y=re.slice(1,-1);return Object.hasOwnProperty.call(P,Y)?P[Y]:Y.charAt(0)==="#"?x(parseInt(Y.substr(1).replace("x","0x"))):(k.error("entity not found:"+re),re)}function R(re){if(re>H){var Y=A.substring(H,re).replace(/&#?\w+;/g,z);L&&F(H),E.characters(Y,0,re-H),H=re}}function F(re,Y){for(;re>=B&&(Y=V.exec(A));)G=Y.index,B=G+Y[0].length,L.lineNumber++;L.columnNumber=re-G+1}for(var G=0,B=0,V=/.*(?:\r\n?|\n)|.*$/g,L=E.locator,I=[{currentNSMap:O}],ne={},H=0;;){try{var Z=A.indexOf("<",H);if(Z<0){if(!A.substr(H).match(/^\s*$/)){var le=E.doc,he=le.createTextNode(A.substr(H));le.appendChild(he),E.currentElement=he}return}switch(Z>H&&R(Z),A.charAt(Z+1)){case"/":var $=A.indexOf(">",Z+3),de=A.substring(Z+2,$).replace(/[ \t\n\r]+$/g,""),me=I.pop();$<0?(de=A.substring(Z+2).replace(/[\s<].*/,""),k.error("end tag name: "+de+" is not complete:"+me.tagName),$=Z+1+de.length):de.match(/\s</)&&(de=de.replace(/[\s<].*/,""),k.error("end tag name: "+de+" maybe not complete"),$=Z+1+de.length);var fe=me.localNSMap,ge=me.tagName==de,ye=ge||me.tagName&&me.tagName.toLowerCase()==de.toLowerCase();if(ye){if(E.endElement(me.uri,me.localName,de),fe)for(var be in fe)Object.prototype.hasOwnProperty.call(fe,be)&&E.endPrefixMapping(be);ge||k.fatalError("end tag name: "+de+" is not match the current start tagName:"+me.tagName)}else I.push(me);$++;break;case"?":L&&F(Z),$=T(A,Z,E);break;case"!":L&&F(Z),$=_(A,Z,E,k);break;default:L&&F(Z);var w=new S,X=I[I.length-1].currentNSMap,$=p(A,Z,w,X,z,k),W=w.length;if(!w.closed&&v(A,$,w.tagName,ne)&&(w.closed=!0,P.nbsp||k.warning("unclosed xml attribute")),L&&W){for(var M=g(L,{}),j=0;j<W;j++){var oe=w[j];F(oe.offset),oe.locator=g(L,{})}E.locator=M,y(w,E,X)&&I.push(w),E.locator=L}else y(w,E,X)&&I.push(w);t.isHTML(w.uri)&&!w.closed?$=b(A,$,w.tagName,z,E):$++}}catch(re){if(re instanceof f)throw re;k.error("element parse error: "+re),$=-1}$>H?H=$:R(Math.max(Z,H)+1)}}function g(A,O){return O.lineNumber=A.lineNumber,O.columnNumber=A.columnNumber,O}function p(A,O,P,E,k,x){function z(L,I,ne){P.attributeNames.hasOwnProperty(L)&&x.fatalError("Attribute "+L+" redefined"),P.addValue(L,I.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,k),ne)}for(var R,F,G=++O,B=i;;){var V=A.charAt(G);switch(V){case"=":if(B===o)R=A.slice(O,G),B=s;else if(B===a)B=s;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(B===s||B===o)if(B===o&&(x.warning('attribute value must after "="'),R=A.slice(O,G)),O=G+1,G=A.indexOf(V,O),G>0)F=A.slice(O,G),z(R,F,O-1),B=l;else throw new Error("attribute value no end '"+V+"' match");else if(B==c)F=A.slice(O,G),z(R,F,O),x.warning('attribute "'+R+'" missed start quot('+V+")!!"),O=G+1,B=l;else throw new Error('attribute value must after "="');break;case"/":switch(B){case i:P.setTagName(A.slice(O,G));case l:case u:case d:B=d,P.closed=!0;case c:case o:break;case a:P.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return x.error("unexpected end of input"),B==i&&P.setTagName(A.slice(O,G)),G;case">":switch(B){case i:P.setTagName(A.slice(O,G));case l:case u:case d:break;case c:case o:F=A.slice(O,G),F.slice(-1)==="/"&&(P.closed=!0,F=F.slice(0,-1));case a:B===a&&(F=R),B==c?(x.warning('attribute "'+F+'" missed quot(")!'),z(R,F,O)):((!t.isHTML(E[""])||!F.match(/^(?:disabled|checked|selected)$/i))&&x.warning('attribute "'+F+'" missed value!! "'+F+'" instead!!'),z(F,F,O));break;case s:throw new Error("attribute value missed!!")}return G;case"€":V=" ";default:if(V<=" ")switch(B){case i:P.setTagName(A.slice(O,G)),B=u;break;case o:R=A.slice(O,G),B=a;break;case c:var F=A.slice(O,G);x.warning('attribute "'+F+'" missed quot(")!!'),z(R,F,O);case l:B=u;break}else switch(B){case a:P.tagName,(!t.isHTML(E[""])||!R.match(/^(?:disabled|checked|selected)$/i))&&x.warning('attribute "'+R+'" missed value!! "'+R+'" instead2!!'),z(R,R,O),O=G,B=o;break;case l:x.warning('attribute space is required"'+R+'"!!');case u:B=o,O=G;break;case s:B=c,O=G;break;case d:throw new Error("elements closed character '/' and '>' must be connected to")}}G++}}function y(A,O,P){for(var E=A.tagName,k=null,V=A.length;V--;){var x=A[V],z=x.qName,R=x.value,L=z.indexOf(":");if(L>0)var F=x.prefix=z.slice(0,L),G=z.slice(L+1),B=F==="xmlns"&&G;else G=z,F=null,B=z==="xmlns"&&"";x.localName=G,B!==!1&&(k==null&&(k={},D(P,P={})),P[B]=k[B]=R,x.uri=t.XMLNS,O.startPrefixMapping(B,R))}for(var V=A.length;V--;){x=A[V];var F=x.prefix;F&&(F==="xml"&&(x.uri=t.XML),F!=="xmlns"&&(x.uri=P[F||""]))}var L=E.indexOf(":");L>0?(F=A.prefix=E.slice(0,L),G=A.localName=E.slice(L+1)):(F=null,G=A.localName=E);var I=A.uri=P[F||""];if(O.startElement(I,G,E,A),A.closed){if(O.endElement(I,G,E),k)for(F in k)Object.prototype.hasOwnProperty.call(k,F)&&O.endPrefixMapping(F)}else return A.currentNSMap=P,A.localNSMap=k,!0}function b(A,O,P,E,k){if(/^(?:script|textarea)$/i.test(P)){var x=A.indexOf("</"+P+">",O),z=A.substring(O+1,x);if(/[&<]/.test(z))return/^script$/i.test(P)?(k.characters(z,0,z.length),x):(z=z.replace(/&#?\w+;/g,E),k.characters(z,0,z.length),x)}return O+1}function v(A,O,P,E){var k=E[P];return k==null&&(k=A.lastIndexOf("</"+P+">"),k<O&&(k=A.lastIndexOf("</"+P)),E[P]=k),k<O}function D(A,O){for(var P in A)Object.prototype.hasOwnProperty.call(A,P)&&(O[P]=A[P])}function _(A,O,P,E){var k=A.charAt(O+2);switch(k){case"-":if(A.charAt(O+3)==="-"){var x=A.indexOf("-->",O+4);return x>O?(P.comment(A,O+4,x-O-4),x+3):(E.error("Unclosed comment"),-1)}else return-1;default:if(A.substr(O+3,6)=="CDATA["){var x=A.indexOf("]]>",O+9);return P.startCDATA(),P.characters(A,O+9,x-O-9),P.endCDATA(),x+3}var z=C(A,O),R=z.length;if(R>1&&/!doctype/i.test(z[0][0])){var F=z[1][0],G=!1,B=!1;R>3&&(/^public$/i.test(z[2][0])?(G=z[3][0],B=R>4&&z[4][0]):/^system$/i.test(z[2][0])&&(B=z[3][0]));var V=z[R-1];return P.startDTD(F,G,B),P.endDTD(),V.index+V[0].length}}return-1}function T(A,O,P){var E=A.indexOf("?>",O);if(E){var k=A.substring(O,E).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return k?(k[0].length,P.processingInstruction(k[1],k[2]),E+2):-1}return-1}function S(){this.attributeNames={}}S.prototype={setTagName:function(A){if(!r.test(A))throw new Error("invalid tagName:"+A);this.tagName=A},addValue:function(A,O,P){if(!r.test(A))throw new Error("invalid attribute:"+A);this.attributeNames[A]=this.length,this[this.length++]={qName:A,value:O,offset:P}},length:0,getLocalName:function(A){return this[A].localName},getLocator:function(A){return this[A].locator},getQName:function(A){return this[A].qName},getURI:function(A){return this[A].uri},getValue:function(A){return this[A].value}};function C(A,O){var P,E=[],k=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(k.lastIndex=O,k.exec(A);P=k.exec(A);)if(E.push(P),P[1])return E}return Xa.XMLReader=h,Xa.ParseError=f,Xa}var P0;function cN(){if(P0)return To;P0=1;var t=yl(),e=Dm(),n=aN(),r=sN(),i=e.DOMImplementation,o=t.NAMESPACE,a=r.ParseError,s=r.XMLReader;function c(p){return p.replace(/\r[\n\u0085]/g,`
258
+ `).replace(/[\r\u0085\u2028]/g,`
259
+ `)}function l(p){this.options=p||{locator:{}}}l.prototype.parseFromString=function(p,y){var b=this.options,v=new s,D=b.domBuilder||new d,_=b.errorHandler,T=b.locator,S=b.xmlns||{},C=/\/x?html?$/.test(y),A=C?n.HTML_ENTITIES:n.XML_ENTITIES;T&&D.setDocumentLocator(T),v.errorHandler=u(_,D,T),v.domBuilder=b.domBuilder||D,C&&(S[""]=o.HTML),S.xml=S.xml||o.XML;var O=b.normalizeLineEndings||c;return p&&typeof p=="string"?v.parse(O(p),S,A):v.errorHandler.error("invalid doc source"),D.doc};function u(p,y,b){if(!p){if(y instanceof d)return y;p=y}var v={},D=p instanceof Function;b=b||{};function _(T){var S=p[T];!S&&D&&(S=p.length==2?function(C){p(T,C)}:p),v[T]=S&&function(C){S("[xmldom "+T+"] "+C+h(b))}||function(){}}return _("warning"),_("error"),_("fatalError"),v}function d(){this.cdata=!1}function f(p,y){y.lineNumber=p.lineNumber,y.columnNumber=p.columnNumber}d.prototype={startDocument:function(){this.doc=new i().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(p,y,b,v){var D=this.doc,_=D.createElementNS(p,b||y),T=v.length;g(this,_),this.currentElement=_,this.locator&&f(this.locator,_);for(var S=0;S<T;S++){var p=v.getURI(S),C=v.getValue(S),b=v.getQName(S),A=D.createAttributeNS(p,b);this.locator&&f(v.getLocator(S),A),A.value=A.nodeValue=C,_.setAttributeNode(A)}},endElement:function(p,y,b){var v=this.currentElement;v.tagName,this.currentElement=v.parentNode},startPrefixMapping:function(p,y){},endPrefixMapping:function(p){},processingInstruction:function(p,y){var b=this.doc.createProcessingInstruction(p,y);this.locator&&f(this.locator,b),g(this,b)},ignorableWhitespace:function(p,y,b){},characters:function(p,y,b){if(p=m.apply(this,arguments),p){if(this.cdata)var v=this.doc.createCDATASection(p);else var v=this.doc.createTextNode(p);this.currentElement?this.currentElement.appendChild(v):/^\s*$/.test(p)&&this.doc.appendChild(v),this.locator&&f(this.locator,v)}},skippedEntity:function(p){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(p){(this.locator=p)&&(p.lineNumber=0)},comment:function(p,y,b){p=m.apply(this,arguments);var v=this.doc.createComment(p);this.locator&&f(this.locator,v),g(this,v)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(p,y,b){var v=this.doc.implementation;if(v&&v.createDocumentType){var D=v.createDocumentType(p,y,b);this.locator&&f(this.locator,D),g(this,D),this.doc.doctype=D}},warning:function(p){console.warn("[xmldom warning] "+p,h(this.locator))},error:function(p){console.error("[xmldom error] "+p,h(this.locator))},fatalError:function(p){throw new a(p,this.locator)}};function h(p){if(p)return`
260
+ @`+(p.systemId||"")+"#[line:"+p.lineNumber+",col:"+p.columnNumber+"]"}function m(p,y,b){return typeof p=="string"?p.substr(y,b):p.length>=y+b||y?new java.lang.String(p,y,b)+"":p}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(p){d.prototype[p]=function(){return null}});function g(p,y){p.currentElement?p.currentElement.appendChild(y):p.doc.appendChild(y)}return To.__DOMHandler=d,To.normalizeLineEndings=c,To.DOMParser=l,To}var q0;function lN(){if(q0)return Eo;q0=1;var t=Dm();return Eo.DOMImplementation=t.DOMImplementation,Eo.XMLSerializer=t.XMLSerializer,Eo.DOMParser=cN().DOMParser,Eo}var z0;function uN(){if(z0)return Ga;z0=1;var t=lN(),e=Dm();function n(r){var i=null,o=new t.DOMParser({errorHandler:function(s,c){i={level:s,message:c}}}),a=o.parseFromString(r);if(i===null)return a;throw new Error(i.level+": "+i.message)}return Ga.parseFromString=n,Ga.Node=e.Node,Ga}var $0;function dN(){if($0)return If;$0=1;var t=Ir(),e=rt,n=uN(),r=_T(),i=r.Element;If.readString=a;var o=n.Node;function a(s,c){c=c||{};try{var l=n.parseFromString(s,"text/xml")}catch(h){return t.reject(h)}if(l.documentElement.tagName==="parsererror")return t.resolve(new Error(l.documentElement.textContent));function u(h){switch(h.nodeType){case o.ELEMENT_NODE:return d(h);case o.TEXT_NODE:return r.text(h.nodeValue)}}function d(h){var m=f(h),g=[];e.forEach(h.childNodes,function(y){var b=u(y);b&&g.push(b)});var p={};return e.forEach(h.attributes,function(y){p[f(y)]=y.value}),new i(m,p,g)}function f(h){if(h.namespaceURI){var m=c[h.namespaceURI],g;return m?g=m+":":g="{"+h.namespaceURI+"}",g+h.localName}else return h.localName}return t.resolve(u(l.documentElement))}return If}var Bf={},Wr={},bn={},j0;function Nr(){return j0||(j0=1,(function(){var t,e,n,r,i,o,a,s=[].slice,c={}.hasOwnProperty;t=function(){var l,u,d,f,h,m;if(m=arguments[0],h=2<=arguments.length?s.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(l=0,d=h.length;l<d;l++)if(f=h[l],f!=null)for(u in f)c.call(f,u)&&(m[u]=f[u]);return m},i=function(l){return!!l&&Object.prototype.toString.call(l)==="[object Function]"},o=function(l){var u;return!!l&&((u=typeof l)=="function"||u==="object")},n=function(l){return i(Array.isArray)?Array.isArray(l):Object.prototype.toString.call(l)==="[object Array]"},r=function(l){var u;if(n(l))return!l.length;for(u in l)if(c.call(l,u))return!1;return!0},a=function(l){var u,d;return o(l)&&(d=Object.getPrototypeOf(l))&&(u=d.constructor)&&typeof u=="function"&&u instanceof u&&Function.prototype.toString.call(u)===Function.prototype.toString.call(Object)},e=function(l){return i(l.valueOf)?l.valueOf():l},bn.assign=t,bn.isFunction=i,bn.isObject=o,bn.isArray=n,bn.isEmpty=r,bn.isPlainObject=a,bn.getValue=e}).call(bn)),bn}var vs={exports:{}},xs={exports:{}},Ds={exports:{}},_s={exports:{}},fN=_s.exports,V0;function wT(){return V0||(V0=1,(function(){_s.exports=function(){function t(e,n,r){if(this.options=e.options,this.stringify=e.stringify,this.parent=e,n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));if(r==null)throw new Error("Missing attribute value. "+this.debugInfo(n));this.name=this.stringify.attName(n),this.value=this.stringify.attValue(r)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).attribute(this)},t.prototype.debugInfo=function(e){return e=e||this.name,e==null?"parent: <"+this.parent.name+">":"attribute: {"+e+"}, parent: <"+this.parent.name+">"},t}()}).call(fN)),_s.exports}var hN=Ds.exports,H0;function bl(){return H0||(H0=1,(function(){var t,e,n,r,i,o,a=function(c,l){for(var u in l)s.call(l,u)&&(c[u]=l[u]);function d(){this.constructor=c}return d.prototype=l.prototype,c.prototype=new d,c.__super__=l.prototype,c},s={}.hasOwnProperty;o=Nr(),i=o.isObject,r=o.isFunction,n=o.getValue,e=Lt(),t=wT(),Ds.exports=function(c){a(l,c);function l(u,d,f){if(l.__super__.constructor.call(this,u),d==null)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(d),this.attributes={},f!=null&&this.attribute(f),u.isDocument&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this)}return l.prototype.clone=function(){var u,d,f,h;f=Object.create(this),f.isRoot&&(f.documentObject=null),f.attributes={},h=this.attributes;for(d in h)s.call(h,d)&&(u=h[d],f.attributes[d]=u.clone());return f.children=[],this.children.forEach(function(m){var g;return g=m.clone(),g.parent=f,f.children.push(g)}),f},l.prototype.attribute=function(u,d){var f,h;if(u!=null&&(u=n(u)),i(u))for(f in u)s.call(u,f)&&(h=u[f],this.attribute(f,h));else r(d)&&(d=d.apply()),(!this.options.skipNullAttributes||d!=null)&&(this.attributes[u]=new t(this,u,d));return this},l.prototype.removeAttribute=function(u){var d,f,h;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=n(u),Array.isArray(u))for(f=0,h=u.length;f<h;f++)d=u[f],delete this.attributes[d];else delete this.attributes[u];return this},l.prototype.toString=function(u){return this.options.writer.set(u).element(this)},l.prototype.att=function(u,d){return this.attribute(u,d)},l.prototype.a=function(u,d){return this.attribute(u,d)},l}(e)}).call(hN)),Ds.exports}var ws={exports:{}},pN=ws.exports,G0;function vl(){return G0||(G0=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Lt(),ws.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).cdata(this)},i}(t)}).call(pN)),ws.exports}var Es={exports:{}},gN=Es.exports,X0;function xl(){return X0||(X0=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Lt(),Es.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).comment(this)},i}(t)}).call(gN)),Es.exports}var Ts={exports:{}},mN=Ts.exports,K0;function Dl(){return K0||(K0=1,(function(){var t,e,n=function(i,o){for(var a in o)r.call(o,a)&&(i[a]=o[a]);function s(){this.constructor=i}return s.prototype=o.prototype,i.prototype=new s,i.__super__=o.prototype,i},r={}.hasOwnProperty;e=Nr().isObject,t=Lt(),Ts.exports=function(i){n(o,i);function o(a,s,c,l){var u;o.__super__.constructor.call(this,a),e(s)&&(u=s,s=u.version,c=u.encoding,l=u.standalone),s||(s="1.0"),this.version=this.stringify.xmlVersion(s),c!=null&&(this.encoding=this.stringify.xmlEncoding(c)),l!=null&&(this.standalone=this.stringify.xmlStandalone(l))}return o.prototype.toString=function(a){return this.options.writer.set(a).declaration(this)},o}(t)}).call(mN)),Ts.exports}var Ss={exports:{}},As={exports:{}},yN=As.exports,Z0;function _l(){return Z0||(Z0=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Lt(),As.exports=function(r){e(i,r);function i(o,a,s,c,l,u){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(s==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(a));if(!c)throw new Error("Missing DTD attribute type. "+this.debugInfo(a));if(!l)throw new Error("Missing DTD attribute default. "+this.debugInfo(a));if(l.indexOf("#")!==0&&(l="#"+l),!l.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(a));if(u&&!l.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(a));this.elementName=this.stringify.eleName(a),this.attributeName=this.stringify.attName(s),this.attributeType=this.stringify.dtdAttType(c),this.defaultValue=this.stringify.dtdAttDefault(u),this.defaultValueType=l}return i.prototype.toString=function(o){return this.options.writer.set(o).dtdAttList(this)},i}(t)}).call(yN)),As.exports}var Cs={exports:{}},bN=Cs.exports,J0;function wl(){return J0||(J0=1,(function(){var t,e,n=function(i,o){for(var a in o)r.call(o,a)&&(i[a]=o[a]);function s(){this.constructor=i}return s.prototype=o.prototype,i.prototype=new s,i.__super__=o.prototype,i},r={}.hasOwnProperty;e=Nr().isObject,t=Lt(),Cs.exports=function(i){n(o,i);function o(a,s,c,l){if(o.__super__.constructor.call(this,a),c==null)throw new Error("Missing DTD entity name. "+this.debugInfo(c));if(l==null)throw new Error("Missing DTD entity value. "+this.debugInfo(c));if(this.pe=!!s,this.name=this.stringify.eleName(c),!e(l))this.value=this.stringify.dtdEntityValue(l);else{if(!l.pubID&&!l.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(c));if(l.pubID&&!l.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(c));if(l.pubID!=null&&(this.pubID=this.stringify.dtdPubID(l.pubID)),l.sysID!=null&&(this.sysID=this.stringify.dtdSysID(l.sysID)),l.nData!=null&&(this.nData=this.stringify.dtdNData(l.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(c))}}return o.prototype.toString=function(a){return this.options.writer.set(a).dtdEntity(this)},o}(t)}).call(bN)),Cs.exports}var Us={exports:{}},vN=Us.exports,Y0;function El(){return Y0||(Y0=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Lt(),Us.exports=function(r){e(i,r);function i(o,a,s){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());s||(s="(#PCDATA)"),Array.isArray(s)&&(s="("+s.join(",")+")"),this.name=this.stringify.eleName(a),this.value=this.stringify.dtdElementValue(s)}return i.prototype.toString=function(o){return this.options.writer.set(o).dtdElement(this)},i}(t)}).call(vN)),Us.exports}var ks={exports:{}},xN=ks.exports,Q0;function Tl(){return Q0||(Q0=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Lt(),ks.exports=function(r){e(i,r);function i(o,a,s){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing DTD notation name. "+this.debugInfo(a));if(!s.pubID&&!s.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(a));this.name=this.stringify.eleName(a),s.pubID!=null&&(this.pubID=this.stringify.dtdPubID(s.pubID)),s.sysID!=null&&(this.sysID=this.stringify.dtdSysID(s.sysID))}return i.prototype.toString=function(o){return this.options.writer.set(o).dtdNotation(this)},i}(t)}).call(xN)),ks.exports}var DN=Ss.exports,ev;function Sl(){return ev||(ev=1,(function(){var t,e,n,r,i,o,a=function(c,l){for(var u in l)s.call(l,u)&&(c[u]=l[u]);function d(){this.constructor=c}return d.prototype=l.prototype,c.prototype=new d,c.__super__=l.prototype,c},s={}.hasOwnProperty;o=Nr().isObject,i=Lt(),t=_l(),n=wl(),e=El(),r=Tl(),Ss.exports=function(c){a(l,c);function l(u,d,f){var h,m;l.__super__.constructor.call(this,u),this.name="!DOCTYPE",this.documentObject=u,o(d)&&(h=d,d=h.pubID,f=h.sysID),f==null&&(m=[d,f],f=m[0],d=m[1]),d!=null&&(this.pubID=this.stringify.dtdPubID(d)),f!=null&&(this.sysID=this.stringify.dtdSysID(f))}return l.prototype.element=function(u,d){var f;return f=new e(this,u,d),this.children.push(f),this},l.prototype.attList=function(u,d,f,h,m){var g;return g=new t(this,u,d,f,h,m),this.children.push(g),this},l.prototype.entity=function(u,d){var f;return f=new n(this,!1,u,d),this.children.push(f),this},l.prototype.pEntity=function(u,d){var f;return f=new n(this,!0,u,d),this.children.push(f),this},l.prototype.notation=function(u,d){var f;return f=new r(this,u,d),this.children.push(f),this},l.prototype.toString=function(u){return this.options.writer.set(u).docType(this)},l.prototype.ele=function(u,d){return this.element(u,d)},l.prototype.att=function(u,d,f,h,m){return this.attList(u,d,f,h,m)},l.prototype.ent=function(u,d){return this.entity(u,d)},l.prototype.pent=function(u,d){return this.pEntity(u,d)},l.prototype.not=function(u,d){return this.notation(u,d)},l.prototype.up=function(){return this.root()||this.documentObject},l}(i)}).call(DN)),Ss.exports}var Os={exports:{}},_N=Os.exports,tv;function Al(){return tv||(tv=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Lt(),Os.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).raw(this)},i}(t)}).call(_N)),Os.exports}var Rs={exports:{}},wN=Rs.exports,nv;function Cl(){return nv||(nv=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Lt(),Rs.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).text(this)},i}(t)}).call(wN)),Rs.exports}var Fs={exports:{}},EN=Fs.exports,rv;function Ul(){return rv||(rv=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Lt(),Fs.exports=function(r){e(i,r);function i(o,a,s){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(a),s&&(this.value=this.stringify.insValue(s))}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).processingInstruction(this)},i}(t)}).call(EN)),Fs.exports}var Is={exports:{}},TN=Is.exports,iv;function _m(){return iv||(iv=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Lt(),Is.exports=function(r){e(i,r);function i(o){i.__super__.constructor.call(this,o),this.isDummy=!0}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return""},i}(t)}).call(TN)),Is.exports}var SN=xs.exports,ov;function Lt(){return ov||(ov=1,(function(){var t,e,n,r,i,o,a,s,c,l,u,d,f,h,m={}.hasOwnProperty;h=Nr(),f=h.isObject,d=h.isFunction,u=h.isEmpty,l=h.getValue,o=null,t=null,e=null,n=null,r=null,s=null,c=null,a=null,i=null,xs.exports=function(){function g(p){this.parent=p,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],o||(o=bl(),t=vl(),e=xl(),n=Dl(),r=Sl(),s=Al(),c=Cl(),a=Ul(),i=_m())}return g.prototype.element=function(p,y,b){var v,D,_,T,S,C,A,O,P,E,k;if(C=null,y===null&&b==null&&(P=[{},null],y=P[0],b=P[1]),y==null&&(y={}),y=l(y),f(y)||(E=[y,b],b=E[0],y=E[1]),p!=null&&(p=l(p)),Array.isArray(p))for(_=0,A=p.length;_<A;_++)D=p[_],C=this.element(D);else if(d(p))C=this.element(p.apply());else if(f(p)){for(S in p)if(m.call(p,S))if(k=p[S],d(k)&&(k=k.apply()),f(k)&&u(k)&&(k=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&S.indexOf(this.stringify.convertAttKey)===0)C=this.attribute(S.substr(this.stringify.convertAttKey.length),k);else if(!this.options.separateArrayItems&&Array.isArray(k))for(T=0,O=k.length;T<O;T++)D=k[T],v={},v[S]=D,C=this.element(v);else f(k)?(C=this.element(S),C.element(k)):C=this.element(S,k)}else this.options.skipNullNodes&&b===null?C=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&p.indexOf(this.stringify.convertTextKey)===0?C=this.text(b):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&p.indexOf(this.stringify.convertCDataKey)===0?C=this.cdata(b):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&p.indexOf(this.stringify.convertCommentKey)===0?C=this.comment(b):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&p.indexOf(this.stringify.convertRawKey)===0?C=this.raw(b):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&p.indexOf(this.stringify.convertPIKey)===0?C=this.instruction(p.substr(this.stringify.convertPIKey.length),b):C=this.node(p,y,b);if(C==null)throw new Error("Could not create any elements with: "+p+". "+this.debugInfo());return C},g.prototype.insertBefore=function(p,y,b){var v,D,_;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(p));return D=this.parent.children.indexOf(this),_=this.parent.children.splice(D),v=this.parent.element(p,y,b),Array.prototype.push.apply(this.parent.children,_),v},g.prototype.insertAfter=function(p,y,b){var v,D,_;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(p));return D=this.parent.children.indexOf(this),_=this.parent.children.splice(D+1),v=this.parent.element(p,y,b),Array.prototype.push.apply(this.parent.children,_),v},g.prototype.remove=function(){var p;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return p=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[p,p-p+1].concat([])),this.parent},g.prototype.node=function(p,y,b){var v,D;return p!=null&&(p=l(p)),y||(y={}),y=l(y),f(y)||(D=[y,b],b=D[0],y=D[1]),v=new o(this,p,y),b!=null&&v.text(b),this.children.push(v),v},g.prototype.text=function(p){var y;return y=new c(this,p),this.children.push(y),this},g.prototype.cdata=function(p){var y;return y=new t(this,p),this.children.push(y),this},g.prototype.comment=function(p){var y;return y=new e(this,p),this.children.push(y),this},g.prototype.commentBefore=function(p){var y,b;return y=this.parent.children.indexOf(this),b=this.parent.children.splice(y),this.parent.comment(p),Array.prototype.push.apply(this.parent.children,b),this},g.prototype.commentAfter=function(p){var y,b;return y=this.parent.children.indexOf(this),b=this.parent.children.splice(y+1),this.parent.comment(p),Array.prototype.push.apply(this.parent.children,b),this},g.prototype.raw=function(p){var y;return y=new s(this,p),this.children.push(y),this},g.prototype.dummy=function(){var p;return p=new i(this),this.children.push(p),p},g.prototype.instruction=function(p,y){var b,v,D,_,T;if(p!=null&&(p=l(p)),y!=null&&(y=l(y)),Array.isArray(p))for(_=0,T=p.length;_<T;_++)b=p[_],this.instruction(b);else if(f(p))for(b in p)m.call(p,b)&&(v=p[b],this.instruction(b,v));else d(y)&&(y=y.apply()),D=new a(this,p,y),this.children.push(D);return this},g.prototype.instructionBefore=function(p,y){var b,v;return b=this.parent.children.indexOf(this),v=this.parent.children.splice(b),this.parent.instruction(p,y),Array.prototype.push.apply(this.parent.children,v),this},g.prototype.instructionAfter=function(p,y){var b,v;return b=this.parent.children.indexOf(this),v=this.parent.children.splice(b+1),this.parent.instruction(p,y),Array.prototype.push.apply(this.parent.children,v),this},g.prototype.declaration=function(p,y,b){var v,D;return v=this.document(),D=new n(v,p,y,b),v.children[0]instanceof n?v.children[0]=D:v.children.unshift(D),v.root()||v},g.prototype.doctype=function(p,y){var b,v,D,_,T,S,C,A,O,P;for(v=this.document(),D=new r(v,p,y),O=v.children,_=T=0,C=O.length;T<C;_=++T)if(b=O[_],b instanceof r)return v.children[_]=D,D;for(P=v.children,_=S=0,A=P.length;S<A;_=++S)if(b=P[_],b.isRoot)return v.children.splice(_,0,D),D;return v.children.push(D),D},g.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},g.prototype.root=function(){var p;for(p=this;p;){if(p.isDocument)return p.rootObject;if(p.isRoot)return p;p=p.parent}},g.prototype.document=function(){var p;for(p=this;p;){if(p.isDocument)return p;p=p.parent}},g.prototype.end=function(p){return this.document().end(p)},g.prototype.prev=function(){var p;for(p=this.parent.children.indexOf(this);p>0&&this.parent.children[p-1].isDummy;)p=p-1;if(p<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[p-1]},g.prototype.next=function(){var p;for(p=this.parent.children.indexOf(this);p<this.parent.children.length-1&&this.parent.children[p+1].isDummy;)p=p+1;if(p===-1||p===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[p+1]},g.prototype.importDocument=function(p){var y;return y=p.root().clone(),y.parent=this,y.isRoot=!1,this.children.push(y),this},g.prototype.debugInfo=function(p){var y,b;return p=p||this.name,p==null&&!((y=this.parent)!=null&&y.name)?"":p==null?"parent: <"+this.parent.name+">":(b=this.parent)!=null&&b.name?"node: <"+p+">, parent: <"+this.parent.name+">":"node: <"+p+">"},g.prototype.ele=function(p,y,b){return this.element(p,y,b)},g.prototype.nod=function(p,y,b){return this.node(p,y,b)},g.prototype.txt=function(p){return this.text(p)},g.prototype.dat=function(p){return this.cdata(p)},g.prototype.com=function(p){return this.comment(p)},g.prototype.ins=function(p,y){return this.instruction(p,y)},g.prototype.doc=function(){return this.document()},g.prototype.dec=function(p,y,b){return this.declaration(p,y,b)},g.prototype.dtd=function(p,y){return this.doctype(p,y)},g.prototype.e=function(p,y,b){return this.element(p,y,b)},g.prototype.n=function(p,y,b){return this.node(p,y,b)},g.prototype.t=function(p){return this.text(p)},g.prototype.d=function(p){return this.cdata(p)},g.prototype.c=function(p){return this.comment(p)},g.prototype.r=function(p){return this.raw(p)},g.prototype.i=function(p,y){return this.instruction(p,y)},g.prototype.u=function(){return this.up()},g.prototype.importXMLBuilder=function(p){return this.importDocument(p)},g}()}).call(SN)),xs.exports}var Ns={exports:{}},AN=Ns.exports,av;function ET(){return av||(av=1,(function(){var t=function(n,r){return function(){return n.apply(r,arguments)}},e={}.hasOwnProperty;Ns.exports=function(){function n(r){this.assertLegalChar=t(this.assertLegalChar,this);var i,o,a;r||(r={}),this.noDoubleEncoding=r.noDoubleEncoding,o=r.stringify||{};for(i in o)e.call(o,i)&&(a=o[i],this[i]=a)}return n.prototype.eleName=function(r){return r=""+r||"",this.assertLegalChar(r)},n.prototype.eleText=function(r){return r=""+r||"",this.assertLegalChar(this.elEscape(r))},n.prototype.cdata=function(r){return r=""+r||"",r=r.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(r)},n.prototype.comment=function(r){if(r=""+r||"",r.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+r);return this.assertLegalChar(r)},n.prototype.raw=function(r){return""+r||""},n.prototype.attName=function(r){return r=""+r||""},n.prototype.attValue=function(r){return r=""+r||"",this.attEscape(r)},n.prototype.insTarget=function(r){return""+r||""},n.prototype.insValue=function(r){if(r=""+r||"",r.match(/\?>/))throw new Error("Invalid processing instruction value: "+r);return r},n.prototype.xmlVersion=function(r){if(r=""+r||"",!r.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+r);return r},n.prototype.xmlEncoding=function(r){if(r=""+r||"",!r.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+r);return r},n.prototype.xmlStandalone=function(r){return r?"yes":"no"},n.prototype.dtdPubID=function(r){return""+r||""},n.prototype.dtdSysID=function(r){return""+r||""},n.prototype.dtdElementValue=function(r){return""+r||""},n.prototype.dtdAttType=function(r){return""+r||""},n.prototype.dtdAttDefault=function(r){return r!=null?""+r||"":r},n.prototype.dtdEntityValue=function(r){return""+r||""},n.prototype.dtdNData=function(r){return""+r||""},n.prototype.convertAttKey="@",n.prototype.convertPIKey="?",n.prototype.convertTextKey="#text",n.prototype.convertCDataKey="#cdata",n.prototype.convertCommentKey="#comment",n.prototype.convertRawKey="#raw",n.prototype.assertLegalChar=function(r){var i;if(i=r.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),i)throw new Error("Invalid character in string: "+r+" at index "+i.index);return r},n.prototype.elEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")},n.prototype.attEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")},n}()}).call(AN)),Ns.exports}var Bs={exports:{}},Ms={exports:{}},CN=Ms.exports,sv;function TT(){return sv||(sv=1,(function(){var t={}.hasOwnProperty;Ms.exports=function(){function e(n){var r,i,o,a,s,c,l,u,d;n||(n={}),this.pretty=n.pretty||!1,this.allowEmpty=(i=n.allowEmpty)!=null?i:!1,this.pretty?(this.indent=(o=n.indent)!=null?o:" ",this.newline=(a=n.newline)!=null?a:`
261
+ `,this.offset=(s=n.offset)!=null?s:0,this.dontprettytextnodes=(c=n.dontprettytextnodes)!=null?c:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(l=n.spacebeforeslash)!=null?l:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,u=n.writer||{};for(r in u)t.call(u,r)&&(d=u[r],this[r]=d)}return e.prototype.set=function(n){var r,i,o;n||(n={}),"pretty"in n&&(this.pretty=n.pretty),"allowEmpty"in n&&(this.allowEmpty=n.allowEmpty),this.pretty?(this.indent="indent"in n?n.indent:" ",this.newline="newline"in n?n.newline:`
262
+ `,this.offset="offset"in n?n.offset:0,this.dontprettytextnodes="dontprettytextnodes"in n?n.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in n?n.spacebeforeslash:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,i=n.writer||{};for(r in i)t.call(i,r)&&(o=i[r],this[r]=o);return this},e.prototype.space=function(n){var r;return this.pretty?(r=(n||0)+this.offset+1,r>0?new Array(r).join(this.indent):""):""},e}()}).call(CN)),Ms.exports}var UN=Bs.exports,cv;function wm(){return cv||(cv=1,(function(){var t,e,n,r,i,o,a,s,c,l,u,d,f,h,m=function(p,y){for(var b in y)g.call(y,b)&&(p[b]=y[b]);function v(){this.constructor=p}return v.prototype=y.prototype,p.prototype=new v,p.__super__=y.prototype,p},g={}.hasOwnProperty;a=Dl(),s=Sl(),t=vl(),e=xl(),l=bl(),d=Al(),f=Cl(),u=Ul(),c=_m(),n=_l(),r=El(),i=wl(),o=Tl(),h=TT(),Bs.exports=function(p){m(y,p);function y(b){y.__super__.constructor.call(this,b)}return y.prototype.document=function(b){var v,D,_,T,S;for(this.textispresent=!1,T="",S=b.children,D=0,_=S.length;D<_;D++)v=S[D],!(v instanceof c)&&(T+=(function(){switch(!1){case!(v instanceof a):return this.declaration(v);case!(v instanceof s):return this.docType(v);case!(v instanceof e):return this.comment(v);case!(v instanceof u):return this.processingInstruction(v);default:return this.element(v,0)}}).call(this));return this.pretty&&T.slice(-this.newline.length)===this.newline&&(T=T.slice(0,-this.newline.length)),T},y.prototype.attribute=function(b){return" "+b.name+'="'+b.value+'"'},y.prototype.cdata=function(b,v){return this.space(v)+"<![CDATA["+b.text+"]]>"+this.newline},y.prototype.comment=function(b,v){return this.space(v)+"<!-- "+b.text+" -->"+this.newline},y.prototype.declaration=function(b,v){var D;return D=this.space(v),D+='<?xml version="'+b.version+'"',b.encoding!=null&&(D+=' encoding="'+b.encoding+'"'),b.standalone!=null&&(D+=' standalone="'+b.standalone+'"'),D+=this.spacebeforeslash+"?>",D+=this.newline,D},y.prototype.docType=function(b,v){var D,_,T,S,C;if(v||(v=0),S=this.space(v),S+="<!DOCTYPE "+b.root().name,b.pubID&&b.sysID?S+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(S+=' SYSTEM "'+b.sysID+'"'),b.children.length>0){for(S+=" [",S+=this.newline,C=b.children,_=0,T=C.length;_<T;_++)D=C[_],S+=(function(){switch(!1){case!(D instanceof n):return this.dtdAttList(D,v+1);case!(D instanceof r):return this.dtdElement(D,v+1);case!(D instanceof i):return this.dtdEntity(D,v+1);case!(D instanceof o):return this.dtdNotation(D,v+1);case!(D instanceof t):return this.cdata(D,v+1);case!(D instanceof e):return this.comment(D,v+1);case!(D instanceof u):return this.processingInstruction(D,v+1);default:throw new Error("Unknown DTD node type: "+D.constructor.name)}}).call(this);S+="]"}return S+=this.spacebeforeslash+">",S+=this.newline,S},y.prototype.element=function(b,v){var D,_,T,S,C,A,O,P,E,k,x,z,R;v||(v=0),R=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),z=this.space(v),P="",P+=z+"<"+b.name,E=b.attributes;for(O in E)g.call(E,O)&&(D=E[O],P+=this.attribute(D));if(b.children.length===0||b.children.every(function(F){return F.value===""}))this.allowEmpty?P+="></"+b.name+">"+this.newline:P+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&b.children.length===1&&b.children[0].value!=null)P+=">",P+=b.children[0].value,P+="</"+b.name+">"+this.newline;else{if(this.dontprettytextnodes){for(k=b.children,T=0,C=k.length;T<C;T++)if(_=k[T],_.value!=null){this.textispresent++,R=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,z=this.space(v)),P+=">"+this.newline,x=b.children,S=0,A=x.length;S<A;S++)_=x[S],P+=(function(){switch(!1){case!(_ instanceof t):return this.cdata(_,v+1);case!(_ instanceof e):return this.comment(_,v+1);case!(_ instanceof l):return this.element(_,v+1);case!(_ instanceof d):return this.raw(_,v+1);case!(_ instanceof f):return this.text(_,v+1);case!(_ instanceof u):return this.processingInstruction(_,v+1);case!(_ instanceof c):return"";default:throw new Error("Unknown XML node type: "+_.constructor.name)}}).call(this);R&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),P+=z+"</"+b.name+">"+this.newline}return P},y.prototype.processingInstruction=function(b,v){var D;return D=this.space(v)+"<?"+b.target,b.value&&(D+=" "+b.value),D+=this.spacebeforeslash+"?>"+this.newline,D},y.prototype.raw=function(b,v){return this.space(v)+b.value+this.newline},y.prototype.text=function(b,v){return this.space(v)+b.value+this.newline},y.prototype.dtdAttList=function(b,v){var D;return D=this.space(v)+"<!ATTLIST "+b.elementName+" "+b.attributeName+" "+b.attributeType,b.defaultValueType!=="#DEFAULT"&&(D+=" "+b.defaultValueType),b.defaultValue&&(D+=' "'+b.defaultValue+'"'),D+=this.spacebeforeslash+">"+this.newline,D},y.prototype.dtdElement=function(b,v){return this.space(v)+"<!ELEMENT "+b.name+" "+b.value+this.spacebeforeslash+">"+this.newline},y.prototype.dtdEntity=function(b,v){var D;return D=this.space(v)+"<!ENTITY",b.pe&&(D+=" %"),D+=" "+b.name,b.value?D+=' "'+b.value+'"':(b.pubID&&b.sysID?D+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(D+=' SYSTEM "'+b.sysID+'"'),b.nData&&(D+=" NDATA "+b.nData)),D+=this.spacebeforeslash+">"+this.newline,D},y.prototype.dtdNotation=function(b,v){var D;return D=this.space(v)+"<!NOTATION "+b.name,b.pubID&&b.sysID?D+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.pubID?D+=' PUBLIC "'+b.pubID+'"':b.sysID&&(D+=' SYSTEM "'+b.sysID+'"'),D+=this.spacebeforeslash+">"+this.newline,D},y.prototype.openNode=function(b,v){var D,_,T,S;if(v||(v=0),b instanceof l){T=this.space(v)+"<"+b.name,S=b.attributes;for(_ in S)g.call(S,_)&&(D=S[_],T+=this.attribute(D));return T+=(b.children?">":"/>")+this.newline,T}else return T=this.space(v)+"<!DOCTYPE "+b.rootNodeName,b.pubID&&b.sysID?T+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(T+=' SYSTEM "'+b.sysID+'"'),T+=(b.children?" [":">")+this.newline,T},y.prototype.closeNode=function(b,v){switch(v||(v=0),!1){case!(b instanceof l):return this.space(v)+"</"+b.name+">"+this.newline;case!(b instanceof s):return this.space(v)+"]>"+this.newline}},y}(h)}).call(UN)),Bs.exports}var kN=vs.exports,lv;function ON(){return lv||(lv=1,(function(){var t,e,n,r,i=function(a,s){for(var c in s)o.call(s,c)&&(a[c]=s[c]);function l(){this.constructor=a}return l.prototype=s.prototype,a.prototype=new l,a.__super__=s.prototype,a},o={}.hasOwnProperty;r=Nr().isPlainObject,t=Lt(),n=ET(),e=wm(),vs.exports=function(a){i(s,a);function s(c){s.__super__.constructor.call(this,null),this.name="?xml",c||(c={}),c.writer||(c.writer=new e),this.options=c,this.stringify=new n(c),this.isDocument=!0}return s.prototype.end=function(c){var l;return c?r(c)&&(l=c,c=this.options.writer.set(l)):c=this.options.writer,c.document(this)},s.prototype.toString=function(c){return this.options.writer.set(c).document(this)},s}(t)}).call(kN)),vs.exports}var Ls={exports:{}},RN=Ls.exports,uv;function FN(){return uv||(uv=1,(function(){var t,e,n,r,i,o,a,s,c,l,u,d,f,h,m,g,p,y,b,v,D={}.hasOwnProperty;v=Nr(),y=v.isObject,p=v.isFunction,b=v.isPlainObject,g=v.getValue,l=bl(),e=vl(),n=xl(),d=Al(),m=Cl(),u=Ul(),s=Dl(),c=Sl(),r=_l(),o=wl(),i=El(),a=Tl(),t=wT(),h=ET(),f=wm(),Ls.exports=function(){function _(T,S,C){var A;this.name="?xml",T||(T={}),T.writer?b(T.writer)&&(A=T.writer,T.writer=new f(A)):T.writer=new f(T),this.options=T,this.writer=T.writer,this.stringify=new h(T),this.onDataCallback=S||function(){},this.onEndCallback=C||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return _.prototype.node=function(T,S,C){var A,O;if(T==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(T));return this.openCurrent(),T=g(T),S===null&&C==null&&(A=[{},null],S=A[0],C=A[1]),S==null&&(S={}),S=g(S),y(S)||(O=[S,C],C=O[0],S=O[1]),this.currentNode=new l(this,T,S),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,C!=null&&this.text(C),this},_.prototype.element=function(T,S,C){return this.currentNode&&this.currentNode instanceof c?this.dtdElement.apply(this,arguments):this.node(T,S,C)},_.prototype.attribute=function(T,S){var C,A;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(T));if(T!=null&&(T=g(T)),y(T))for(C in T)D.call(T,C)&&(A=T[C],this.attribute(C,A));else p(S)&&(S=S.apply()),(!this.options.skipNullAttributes||S!=null)&&(this.currentNode.attributes[T]=new t(this,T,S));return this},_.prototype.text=function(T){var S;return this.openCurrent(),S=new m(this,T),this.onData(this.writer.text(S,this.currentLevel+1),this.currentLevel+1),this},_.prototype.cdata=function(T){var S;return this.openCurrent(),S=new e(this,T),this.onData(this.writer.cdata(S,this.currentLevel+1),this.currentLevel+1),this},_.prototype.comment=function(T){var S;return this.openCurrent(),S=new n(this,T),this.onData(this.writer.comment(S,this.currentLevel+1),this.currentLevel+1),this},_.prototype.raw=function(T){var S;return this.openCurrent(),S=new d(this,T),this.onData(this.writer.raw(S,this.currentLevel+1),this.currentLevel+1),this},_.prototype.instruction=function(T,S){var C,A,O,P,E;if(this.openCurrent(),T!=null&&(T=g(T)),S!=null&&(S=g(S)),Array.isArray(T))for(C=0,P=T.length;C<P;C++)A=T[C],this.instruction(A);else if(y(T))for(A in T)D.call(T,A)&&(O=T[A],this.instruction(A,O));else p(S)&&(S=S.apply()),E=new u(this,T,S),this.onData(this.writer.processingInstruction(E,this.currentLevel+1),this.currentLevel+1);return this},_.prototype.declaration=function(T,S,C){var A;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return A=new s(this,T,S,C),this.onData(this.writer.declaration(A,this.currentLevel+1),this.currentLevel+1),this},_.prototype.doctype=function(T,S,C){if(this.openCurrent(),T==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new c(this,S,C),this.currentNode.rootNodeName=T,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},_.prototype.dtdElement=function(T,S){var C;return this.openCurrent(),C=new i(this,T,S),this.onData(this.writer.dtdElement(C,this.currentLevel+1),this.currentLevel+1),this},_.prototype.attList=function(T,S,C,A,O){var P;return this.openCurrent(),P=new r(this,T,S,C,A,O),this.onData(this.writer.dtdAttList(P,this.currentLevel+1),this.currentLevel+1),this},_.prototype.entity=function(T,S){var C;return this.openCurrent(),C=new o(this,!1,T,S),this.onData(this.writer.dtdEntity(C,this.currentLevel+1),this.currentLevel+1),this},_.prototype.pEntity=function(T,S){var C;return this.openCurrent(),C=new o(this,!0,T,S),this.onData(this.writer.dtdEntity(C,this.currentLevel+1),this.currentLevel+1),this},_.prototype.notation=function(T,S){var C;return this.openCurrent(),C=new a(this,T,S),this.onData(this.writer.dtdNotation(C,this.currentLevel+1),this.currentLevel+1),this},_.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},_.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},_.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},_.prototype.openNode=function(T){if(!T.isOpen)return!this.root&&this.currentLevel===0&&T instanceof l&&(this.root=T),this.onData(this.writer.openNode(T,this.currentLevel),this.currentLevel),T.isOpen=!0},_.prototype.closeNode=function(T){if(!T.isClosed)return this.onData(this.writer.closeNode(T,this.currentLevel),this.currentLevel),T.isClosed=!0},_.prototype.onData=function(T,S){return this.documentStarted=!0,this.onDataCallback(T,S+1)},_.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},_.prototype.debugInfo=function(T){return T==null?"":"node: <"+T+">"},_.prototype.ele=function(){return this.element.apply(this,arguments)},_.prototype.nod=function(T,S,C){return this.node(T,S,C)},_.prototype.txt=function(T){return this.text(T)},_.prototype.dat=function(T){return this.cdata(T)},_.prototype.com=function(T){return this.comment(T)},_.prototype.ins=function(T,S){return this.instruction(T,S)},_.prototype.dec=function(T,S,C){return this.declaration(T,S,C)},_.prototype.dtd=function(T,S,C){return this.doctype(T,S,C)},_.prototype.e=function(T,S,C){return this.element(T,S,C)},_.prototype.n=function(T,S,C){return this.node(T,S,C)},_.prototype.t=function(T){return this.text(T)},_.prototype.d=function(T){return this.cdata(T)},_.prototype.c=function(T){return this.comment(T)},_.prototype.r=function(T){return this.raw(T)},_.prototype.i=function(T,S){return this.instruction(T,S)},_.prototype.att=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_.prototype.a=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_.prototype.ent=function(T,S){return this.entity(T,S)},_.prototype.pent=function(T,S){return this.pEntity(T,S)},_.prototype.not=function(T,S){return this.notation(T,S)},_}()}).call(RN)),Ls.exports}var Ws={exports:{}},IN=Ws.exports,dv;function NN(){return dv||(dv=1,(function(){var t,e,n,r,i,o,a,s,c,l,u,d,f,h,m=function(p,y){for(var b in y)g.call(y,b)&&(p[b]=y[b]);function v(){this.constructor=p}return v.prototype=y.prototype,p.prototype=new v,p.__super__=y.prototype,p},g={}.hasOwnProperty;a=Dl(),s=Sl(),t=vl(),e=xl(),l=bl(),d=Al(),f=Cl(),u=Ul(),c=_m(),n=_l(),r=El(),i=wl(),o=Tl(),h=TT(),Ws.exports=function(p){m(y,p);function y(b,v){y.__super__.constructor.call(this,v),this.stream=b}return y.prototype.document=function(b){var v,D,_,T,S,C,A,O;for(C=b.children,D=0,T=C.length;D<T;D++)v=C[D],v.isLastRootNode=!1;for(b.children[b.children.length-1].isLastRootNode=!0,A=b.children,O=[],_=0,S=A.length;_<S;_++)if(v=A[_],!(v instanceof c))switch(!1){case!(v instanceof a):O.push(this.declaration(v));break;case!(v instanceof s):O.push(this.docType(v));break;case!(v instanceof e):O.push(this.comment(v));break;case!(v instanceof u):O.push(this.processingInstruction(v));break;default:O.push(this.element(v))}return O},y.prototype.attribute=function(b){return this.stream.write(" "+b.name+'="'+b.value+'"')},y.prototype.cdata=function(b,v){return this.stream.write(this.space(v)+"<![CDATA["+b.text+"]]>"+this.endline(b))},y.prototype.comment=function(b,v){return this.stream.write(this.space(v)+"<!-- "+b.text+" -->"+this.endline(b))},y.prototype.declaration=function(b,v){return this.stream.write(this.space(v)),this.stream.write('<?xml version="'+b.version+'"'),b.encoding!=null&&this.stream.write(' encoding="'+b.encoding+'"'),b.standalone!=null&&this.stream.write(' standalone="'+b.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(b))},y.prototype.docType=function(b,v){var D,_,T,S;if(v||(v=0),this.stream.write(this.space(v)),this.stream.write("<!DOCTYPE "+b.root().name),b.pubID&&b.sysID?this.stream.write(' PUBLIC "'+b.pubID+'" "'+b.sysID+'"'):b.sysID&&this.stream.write(' SYSTEM "'+b.sysID+'"'),b.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(b)),S=b.children,_=0,T=S.length;_<T;_++)switch(D=S[_],!1){case!(D instanceof n):this.dtdAttList(D,v+1);break;case!(D instanceof r):this.dtdElement(D,v+1);break;case!(D instanceof i):this.dtdEntity(D,v+1);break;case!(D instanceof o):this.dtdNotation(D,v+1);break;case!(D instanceof t):this.cdata(D,v+1);break;case!(D instanceof e):this.comment(D,v+1);break;case!(D instanceof u):this.processingInstruction(D,v+1);break;default:throw new Error("Unknown DTD node type: "+D.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(b))},y.prototype.element=function(b,v){var D,_,T,S,C,A,O,P;v||(v=0),P=this.space(v),this.stream.write(P+"<"+b.name),A=b.attributes;for(C in A)g.call(A,C)&&(D=A[C],this.attribute(D));if(b.children.length===0||b.children.every(function(E){return E.value===""}))this.allowEmpty?this.stream.write("></"+b.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&b.children.length===1&&b.children[0].value!=null)this.stream.write(">"),this.stream.write(b.children[0].value),this.stream.write("</"+b.name+">");else{for(this.stream.write(">"+this.newline),O=b.children,T=0,S=O.length;T<S;T++)switch(_=O[T],!1){case!(_ instanceof t):this.cdata(_,v+1);break;case!(_ instanceof e):this.comment(_,v+1);break;case!(_ instanceof l):this.element(_,v+1);break;case!(_ instanceof d):this.raw(_,v+1);break;case!(_ instanceof f):this.text(_,v+1);break;case!(_ instanceof u):this.processingInstruction(_,v+1);break;case!(_ instanceof c):break;default:throw new Error("Unknown XML node type: "+_.constructor.name)}this.stream.write(P+"</"+b.name+">")}return this.stream.write(this.endline(b))},y.prototype.processingInstruction=function(b,v){return this.stream.write(this.space(v)+"<?"+b.target),b.value&&this.stream.write(" "+b.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(b))},y.prototype.raw=function(b,v){return this.stream.write(this.space(v)+b.value+this.endline(b))},y.prototype.text=function(b,v){return this.stream.write(this.space(v)+b.value+this.endline(b))},y.prototype.dtdAttList=function(b,v){return this.stream.write(this.space(v)+"<!ATTLIST "+b.elementName+" "+b.attributeName+" "+b.attributeType),b.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+b.defaultValueType),b.defaultValue&&this.stream.write(' "'+b.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(b))},y.prototype.dtdElement=function(b,v){return this.stream.write(this.space(v)+"<!ELEMENT "+b.name+" "+b.value),this.stream.write(this.spacebeforeslash+">"+this.endline(b))},y.prototype.dtdEntity=function(b,v){return this.stream.write(this.space(v)+"<!ENTITY"),b.pe&&this.stream.write(" %"),this.stream.write(" "+b.name),b.value?this.stream.write(' "'+b.value+'"'):(b.pubID&&b.sysID?this.stream.write(' PUBLIC "'+b.pubID+'" "'+b.sysID+'"'):b.sysID&&this.stream.write(' SYSTEM "'+b.sysID+'"'),b.nData&&this.stream.write(" NDATA "+b.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(b))},y.prototype.dtdNotation=function(b,v){return this.stream.write(this.space(v)+"<!NOTATION "+b.name),b.pubID&&b.sysID?this.stream.write(' PUBLIC "'+b.pubID+'" "'+b.sysID+'"'):b.pubID?this.stream.write(' PUBLIC "'+b.pubID+'"'):b.sysID&&this.stream.write(' SYSTEM "'+b.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(b))},y.prototype.endline=function(b){return b.isLastRootNode?"":this.newline},y}(h)}).call(IN)),Ws.exports}var fv;function BN(){return fv||(fv=1,(function(){var t,e,n,r,i,o,a;a=Nr(),i=a.assign,o=a.isFunction,t=ON(),e=FN(),r=wm(),n=NN(),Wr.create=function(s,c,l,u){var d,f;if(s==null)throw new Error("Root element needs a name.");return u=i({},c,l,u),d=new t(u),f=d.element(s),u.headless||(d.declaration(u),(u.pubID!=null||u.sysID!=null)&&d.doctype(u)),f},Wr.begin=function(s,c,l){var u;return o(s)&&(u=[s,c],c=u[0],l=u[1],s={}),c?new e(s,c,l):new t(s)},Wr.stringWriter=function(s){return new r(s)},Wr.streamWriter=function(s,c){return new n(s,c)}}).call(Wr)),Wr}var hv;function MN(){if(hv)return Bf;hv=1;var t=rt,e=BN();Bf.writeString=n;function n(i,o){var a=t.invert(o),s={element:l,text:r};function c(f,h){return s[h.type](f,h)}function l(f,h){var m=f.element(u(h.name),h.attributes);h.children.forEach(function(g){c(m,g)})}function u(f){var h=/^\{(.*)\}(.*)$/.exec(f);if(h){var m=a[h[1]];return m+(m===""?"":":")+h[2]}else return f}function d(f){var h=e.create(u(f.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return t.forEach(o,function(m,g){var p="xmlns"+(g===""?"":":"+g);h.attribute(p,m)}),f.children.forEach(function(m){c(h,m)}),h.end()}return d(i)}function r(i,o){i.text(o.value)}return Bf}var pv;function Em(){if(pv)return ir;pv=1;var t=_T();return ir.Element=t.Element,ir.element=t.element,ir.emptyElement=t.emptyElement,ir.text=t.text,ir.readString=dN().readString,ir.writeString=MN().writeString,ir}var gv;function LN(){if(gv)return Ha;gv=1;var t=rt,e=Ir(),n=Em();Ha.read=i,Ha.readXmlFromZipFile=o;var r={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function i(c){return n.readString(c,r).then(function(l){return s(l)[0]})}function o(c,l){return c.exists(l)?c.read(l,"utf-8").then(a).then(i):e.resolve(null)}function a(c){return c.replace(/^\uFEFF/g,"")}function s(c){return c.type==="element"?c.name==="mc:AlternateContent"?c.first("mc:Fallback").children:(c.children=t.flatten(c.children.map(s,!0)),[c]):[c]}return Ha}var Ka={},ln={},Za={},mv;function WN(){if(mv)return Za;mv=1,Object.defineProperty(Za,"__esModule",{value:!0});var t=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}];return Za.default=t,Za}var yv;function PN(){if(yv)return ln;yv=1;var t=ln&&ln.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(ln,"__esModule",{value:!0}),ln.hex=ln.dec=ln.codePoint=void 0;for(var e=t(WN()),n={},r=String.fromCodePoint?String.fromCodePoint:f,i=0,o=e.default;i<o.length;i++){var a=o[i],s=parseInt(a["Unicode dec"],10),c={codePoint:s,string:r(s)};n[a["Typeface name"].toUpperCase()+"_"+a["Dingbat dec"]]=c}function l(h,m){return n[h.toUpperCase()+"_"+m]}ln.codePoint=l;function u(h,m){return l(h,parseInt(m,10))}ln.dec=u;function d(h,m){return l(h,parseInt(m,16))}ln.hex=d;function f(h){if(h<=65535)return String.fromCharCode(h);var m=Math.floor((h-65536)/1024)+55296,g=(h-65536)%1024+56320;return String.fromCharCode(m,g)}return ln}var Ja={},bv;function qN(){if(bv)return Ja;bv=1,Ja.uriToZipEntryName=t,Ja.replaceFragment=e;function t(n,r){return r.charAt(0)==="/"?r.substr(1):n+"/"+r}function e(n,r){var i=n.indexOf("#");return i!==-1&&(n=n.substring(0,i)),n+"#"+r}return Ja}var vv;function zN(){if(vv)return Ka;vv=1,Ka.createBodyReader=s,Ka._readNumberingProperties=l;var t=PN(),e=rt,n=bi(),r=Kn().Result,i=Kn().warning,o=Em(),a=qN();function s(D){return{readXmlElement:function(_){return new c(D).readXmlElement(_)},readXmlElements:function(_){return new c(D).readXmlElements(_)}}}function c(D){var _=[],T=[],S=[],C=D.relationships,A=D.contentTypes,O=D.docxFile,P=D.files,E=D.numbering,k=D.styles;function x(te){var ue=te.map(z);return y(ue)}function z(te){if(te.type==="element"){var ue=$[te.name];if(ue)return ue(te);if(!Object.prototype.hasOwnProperty.call(d,te.name)){var ve=i("An unrecognised element was ignored: "+te.name);return f([ve])}}return h()}function R(te){return ne(te).map(function(ue){return{type:"paragraphProperties",styleId:ue.styleId,styleName:ue.name,alignment:te.firstOrEmpty("w:jc").attributes["w:val"],numbering:l(ue.styleId,te.firstOrEmpty("w:numPr"),E),indent:F(te.firstOrEmpty("w:ind"))}})}function F(te){return{start:te.attributes["w:start"]||te.attributes["w:left"],end:te.attributes["w:end"]||te.attributes["w:right"],firstLine:te.attributes["w:firstLine"],hanging:te.attributes["w:hanging"]}}function G(te){return H(te).map(function(ue){var ve=te.firstOrEmpty("w:sz").attributes["w:val"],Se=/^[0-9]+$/.test(ve)?parseInt(ve,10)/2:null;return{type:"runProperties",styleId:ue.styleId,styleName:ue.name,verticalAlignment:te.firstOrEmpty("w:vertAlign").attributes["w:val"],font:te.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:Se,isBold:V(te.first("w:b")),isUnderline:B(te.first("w:u")),isItalic:V(te.first("w:i")),isStrikethrough:V(te.first("w:strike")),isAllCaps:V(te.first("w:caps")),isSmallCaps:V(te.first("w:smallCaps")),highlight:I(te.firstOrEmpty("w:highlight").attributes["w:val"])}})}function B(te){if(te){var ue=te.attributes["w:val"];return ue!==void 0&&ue!=="false"&&ue!=="0"&&ue!=="none"}else return!1}function V(te){if(te){var ue=te.attributes["w:val"];return ue!=="false"&&ue!=="0"}else return!1}function L(te){return te!=="false"&&te!=="0"}function I(te){return!te||te==="none"?null:te}function ne(te){return le(te,"w:pStyle","Paragraph",k.findParagraphStyleById)}function H(te){return le(te,"w:rStyle","Run",k.findCharacterStyleById)}function Z(te){return le(te,"w:tblStyle","Table",k.findTableStyleById)}function le(te,ue,ve,Se){var Oe=[],ee=te.first(ue),ie=null,Fe=null;if(ee&&(ie=ee.attributes["w:val"],ie)){var Me=Se(ie);Me?Fe=Me.name:Oe.push(Ae(ve,ie))}return g({styleId:ie,name:Fe},Oe)}function he(te){var ue=te.attributes["w:fldCharType"];if(ue==="begin")_.push({type:"begin",fldChar:te}),T=[];else if(ue==="end"){var ve=_.pop();if(ve.type==="begin"&&(ve=me(ve)),ve.type==="checkbox")return m(n.checkbox({checked:ve.checked}))}else if(ue==="separate"){var Se=_.pop(),Oe=me(Se);_.push(Oe)}return h()}function de(){var te=e.last(_.filter(function(ue){return ue.type==="hyperlink"}));return te?te.options:null}function me(te){return fe(T.join(""),te.type==="begin"?te.fldChar:o.emptyElement)}function fe(te,ue){var ve=/\s*HYPERLINK "(.*)"/.exec(te);if(ve)return{type:"hyperlink",options:{href:ve[1]}};var Se=/\s*HYPERLINK\s+\\l\s+"(.*)"/.exec(te);if(Se)return{type:"hyperlink",options:{anchor:Se[1]}};var Oe=/\s*FORMCHECKBOX\s*/.exec(te);if(Oe){var ee=ue.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),ie=ee.first("w:checked"),Fe=ie==null?V(ee.first("w:default")):V(ie);return{type:"checkbox",checked:Fe}}return{type:"unknown"}}function ge(te){return T.push(te.text()),h()}function ye(te){var ue=te.attributes["w:font"],ve=te.attributes["w:char"],Se=t.hex(ue,ve);return Se==null&&/^F0..$/.test(ve)&&(Se=t.hex(ue,ve.substring(2))),Se==null?f([i("A w:sym element with an unsupported character was ignored: char "+ve+" in font "+ue)]):m(new n.Text(Se.string))}function be(te){return function(ue){var ve=ue.attributes["w:id"];return m(new n.NoteReference({noteType:te,noteId:ve}))}}function w(te){return m(n.commentReference({commentId:te.attributes["w:id"]}))}function X(te){return x(te.children)}var $={"w:p":function(te){var ue=te.firstOrEmpty("w:pPr"),ve=!!ue.firstOrEmpty("w:rPr").first("w:del");if(ve)return te.children.forEach(function(Oe){S.push(Oe)}),h();var Se=te.children;return S.length>0&&(Se=S.concat(Se),S=[]),p.map(R(ue),x(Se),function(Oe,ee){return new n.Paragraph(ee,Oe)}).insertExtra()},"w:r":function(te){return p.map(G(te.firstOrEmpty("w:rPr")),x(te.children),function(ue,ve){var Se=de();return Se!==null&&(ve=[new n.Hyperlink(ve,Se)]),new n.Run(ve,ue)})},"w:fldChar":he,"w:instrText":ge,"w:t":function(te){return m(new n.Text(te.text()))},"w:tab":function(te){return m(new n.Tab)},"w:noBreakHyphen":function(){return m(new n.Text("‑"))},"w:softHyphen":function(te){return m(new n.Text("­"))},"w:sym":ye,"w:hyperlink":function(te){var ue=te.attributes["r:id"],ve=te.attributes["w:anchor"];return x(te.children).map(function(Se){function Oe(ie){var Fe=te.attributes["w:tgtFrame"]||null;return new n.Hyperlink(Se,e.extend({targetFrame:Fe},ie))}if(ue){var ee=C.findTargetByRelationshipId(ue);return ve&&(ee=a.replaceFragment(ee,ve)),Oe({href:ee})}else return ve?Oe({anchor:ve}):Se})},"w:tbl":W,"w:tr":j,"w:tc":oe,"w:footnoteReference":be("footnote"),"w:endnoteReference":be("endnote"),"w:commentReference":w,"w:br":function(te){var ue=te.attributes["w:type"];return ue==null||ue==="textWrapping"?m(n.lineBreak):ue==="page"?m(n.pageBreak):ue==="column"?m(n.columnBreak):f([i("Unsupported break type: "+ue)])},"w:bookmarkStart":function(te){var ue=te.attributes["w:name"];return ue==="_GoBack"?h():m(new n.BookmarkStart({name:ue}))},"mc:AlternateContent":function(te){return X(te.first("mc:Fallback"))},"w:sdt":function(te){var ue=te.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(ue){var ve=ue.first("wordml:checked"),Se=!!ve&&L(ve.attributes["wordml:val"]);return m(n.checkbox({checked:Se}))}else return x(te.firstOrEmpty("w:sdtContent").children)},"w:ins":X,"w:object":X,"w:smartTag":X,"w:drawing":X,"w:pict":function(te){return X(te).toExtra()},"v:roundrect":X,"v:shape":X,"v:textbox":X,"w:txbxContent":X,"wp:inline":q,"wp:anchor":q,"v:imagedata":xe,"v:group":X,"v:rect":X};return{readXmlElement:z,readXmlElements:x};function W(te){var ue=M(te.firstOrEmpty("w:tblPr"));return x(te.children).flatMap(Y).flatMap(function(ve){return ue.map(function(Se){return n.Table(ve,Se)})})}function M(te){return Z(te).map(function(ue){return{styleId:ue.styleId,styleName:ue.name}})}function j(te){var ue=te.firstOrEmpty("w:trPr"),ve=!!ue.first("w:tblHeader");return x(te.children).map(function(Se){return n.TableRow(Se,{isHeader:ve})})}function oe(te){return x(te.children).map(function(ue){var ve=te.firstOrEmpty("w:tcPr"),Se=ve.firstOrEmpty("w:gridSpan").attributes["w:val"],Oe=Se?parseInt(Se,10):1,ee=n.TableCell(ue,{colSpan:Oe});return ee._vMerge=re(ve),ee})}function re(te){var ue=te.first("w:vMerge");if(ue){var ve=ue.attributes["w:val"];return ve==="continue"||!ve}else return null}function Y(te){var ue=e.any(te,function(Oe){return Oe.type!==n.types.tableRow});if(ue)return g(te,[i("unexpected non-row element in table, cell merging may be incorrect")]);var ve=e.any(te,function(Oe){return e.any(Oe.children,function(ee){return ee.type!==n.types.tableCell})});if(ve)return g(te,[i("unexpected non-cell element in table row, cell merging may be incorrect")]);var Se={};return te.forEach(function(Oe){var ee=0;Oe.children.forEach(function(ie){ie._vMerge&&Se[ee]?Se[ee].rowSpan++:(Se[ee]=ie,ie._vMerge=!1),ee+=ie.colSpan})}),te.forEach(function(Oe){Oe.children=Oe.children.filter(function(ee){return!ee._vMerge}),Oe.children.forEach(function(ee){delete ee._vMerge})}),m(te)}function q(te){var ue=te.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return y(ue.map(J.bind(null,te)))}function J(te,ue){var ve=te.first("wp:docPr").attributes,Se=Q(ve.descr)?ve.title:ve.descr,Oe=ae(ue);return Oe===null?f([i("Could not find image file for a:blip element")]):Ce(Oe,Se)}function Q(te){return te==null||/^\s*$/.test(te)}function ae(te){var ue=te.attributes["r:embed"],ve=te.attributes["r:link"];if(ue)return Ee(ue);if(ve){var Se=C.findTargetByRelationshipId(ve);return{path:Se,read:P.read.bind(P,Se)}}else return null}function xe(te){var ue=te.attributes["r:id"];return ue?Ce(Ee(ue),te.attributes["o:title"]):f([i("A v:imagedata element without a relationship ID was ignored")])}function Ee(te){var ue=a.uriToZipEntryName("word",C.findTargetByRelationshipId(te));return{path:ue,read:O.read.bind(O,ue)}}function Ce(te,ue){var ve=A.findContentType(te.path),Se=n.Image({readImage:te.read,altText:ue,contentType:ve}),Oe=u[ve]?[]:i("Image of type "+ve+" is unlikely to display in web browsers");return g(Se,Oe)}function Ae(te,ue){return i(te+" style with ID "+ue+" was referenced but not defined in the document")}}function l(D,_,T){var S=_.firstOrEmpty("w:ilvl").attributes["w:val"],C=_.firstOrEmpty("w:numId").attributes["w:val"];if(S!==void 0&&C!==void 0)return T.findLevel(C,S);if(D!=null){var A=T.findLevelByParagraphStyleId(D);if(A!=null)return A}return null}var u={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},d={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function f(D){return new p(null,null,D)}function h(){return new p(null)}function m(D){return new p(D)}function g(D,_){return new p(D,null,_)}function p(D,_,T){this.value=D||[],this.extra=_||[],this._result=new r({element:this.value,extra:_},T),this.messages=this._result.messages}p.prototype.toExtra=function(){return new p(null,b(this.extra,this.value),this.messages)},p.prototype.insertExtra=function(){var D=this.extra;return D&&D.length?new p(b(this.value,D),null,this.messages):this},p.prototype.map=function(D){var _=this._result.map(function(T){return D(T.element)});return new p(_.value,this.extra,_.messages)},p.prototype.flatMap=function(D){var _=this._result.flatMap(function(T){return D(T.element)._result});return new p(_.value.element,b(this.extra,_.value.extra),_.messages)},p.map=function(D,_,T){return new p(T(D.value,_.value),b(D.extra,_.extra),D.messages.concat(_.messages))};function y(D){var _=r.combine(e.pluck(D,"_result"));return new p(e.flatten(e.pluck(_.value,"element")),e.filter(e.flatten(e.pluck(_.value,"extra")),v),_.messages)}function b(D,_){return e.flatten([D,_])}function v(D){return D}return Ka}var Mf={},xv;function $N(){if(xv)return Mf;xv=1,Mf.DocumentXmlReader=n;var t=bi(),e=Kn().Result;function n(r){var i=r.bodyReader;function o(a){var s=a.first("w:body");if(s==null)throw new Error("Could not find the body element: are you sure this is a docx file?");var c=i.readXmlElements(s.children).map(function(l){return new t.Document(l,{notes:r.notes,comments:r.comments})});return new e(c.value,c.messages)}return{convertXmlToDocument:o}}return Mf}var So={},Dv;function jN(){if(Dv)return So;Dv=1,So.readRelationships=t,So.defaultValue=new e([]),So.Relationships=e;function t(n){var r=[];return n.children.forEach(function(i){if(i.name==="relationships:Relationship"){var o={relationshipId:i.attributes.Id,target:i.attributes.Target,type:i.attributes.Type};r.push(o)}}),new e(r)}function e(n){var r={};n.forEach(function(o){r[o.relationshipId]=o.target});var i={};return n.forEach(function(o){i[o.type]||(i[o.type]=[]),i[o.type].push(o.target)}),{findTargetByRelationshipId:function(o){return r[o]},findTargetsByType:function(o){return i[o]||[]}}}return So}var Ya={},_v;function VN(){if(_v)return Ya;_v=1,Ya.readContentTypesFromXml=e;var t={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};Ya.defaultContentTypes=n({},{});function e(r){var i={},o={};return r.children.forEach(function(a){if(a.name==="content-types:Default"&&(i[a.attributes.Extension]=a.attributes.ContentType),a.name==="content-types:Override"){var s=a.attributes.PartName;s.charAt(0)==="/"&&(s=s.substring(1)),o[s]=a.attributes.ContentType}}),n(o,i)}function n(r,i){return{findContentType:function(o){var a=r[o];if(a)return a;var s=o.split("."),c=s[s.length-1];if(i.hasOwnProperty(c))return i[c];var l=t[c.toLowerCase()];return l?"image/"+l:null}}}return Ya}var Ao={},wv;function HN(){if(wv)return Ao;wv=1;var t=rt;Ao.readNumberingXml=n,Ao.Numbering=e,Ao.defaultNumbering=new e({},{});function e(a,s,c){var l=t.flatten(t.values(s).map(function(h){return t.values(h.levels)})),u=t.indexBy(l.filter(function(h){return h.paragraphStyleId!=null}),"paragraphStyleId");function d(h,m){var g=a[h];if(g){var p=s[g.abstractNumId];if(p){if(p.numStyleLink==null)return s[g.abstractNumId].levels[m];var y=c.findNumberingStyleById(p.numStyleLink);return d(y.numId,m)}else return null}else return null}function f(h){return u[h]||null}return{findLevel:d,findLevelByParagraphStyleId:f}}function n(a,s){if(!s||!s.styles)throw new Error("styles is missing");var c=r(a),l=o(a);return new e(l,c,s.styles)}function r(a){var s={};return a.getElementsByTagName("w:abstractNum").forEach(function(c){var l=c.attributes["w:abstractNumId"];s[l]=i(c)}),s}function i(a){var s={};a.getElementsByTagName("w:lvl").forEach(function(l){var u=l.attributes["w:ilvl"],d=l.firstOrEmpty("w:numFmt").attributes["w:val"],f=l.firstOrEmpty("w:pStyle").attributes["w:val"];s[u]={isOrdered:d!=="bullet",level:u,paragraphStyleId:f}});var c=a.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:s,numStyleLink:c}}function o(a){var s={};return a.getElementsByTagName("w:num").forEach(function(c){var l=c.attributes["w:numId"],u=c.first("w:abstractNumId").attributes["w:val"];s[l]={abstractNumId:u}}),s}return Ao}var Co={},Ev;function GN(){if(Ev)return Co;Ev=1,Co.readStylesXml=e,Co.Styles=t,Co.defaultStyles=new t({},{});function t(o,a,s,c){return{findParagraphStyleById:function(l){return o[l]},findCharacterStyleById:function(l){return a[l]},findTableStyleById:function(l){return s[l]},findNumberingStyleById:function(l){return c[l]}}}t.EMPTY=new t({},{},{},{});function e(o){var a={},s={},c={},l={},u={paragraph:a,character:s,table:c};return o.getElementsByTagName("w:style").forEach(function(d){var f=n(d);if(f.type==="numbering")l[f.styleId]=i(d);else{var h=u[f.type];h&&(h[f.styleId]=f)}}),new t(a,s,c,l)}function n(o){var a=o.attributes["w:type"],s=o.attributes["w:styleId"],c=r(o);return{type:a,styleId:s,name:c}}function r(o){var a=o.first("w:name");return a?a.attributes["w:val"]:null}function i(o){var a=o.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{numId:a}}return Co}var Ci={},Tv;function XN(){if(Tv)return Ci;Tv=1;var t=bi(),e=Kn().Result;Ci.createFootnotesReader=n.bind(Ci,"footnote"),Ci.createEndnotesReader=n.bind(Ci,"endnote");function n(r,i){function o(c){return e.combine(c.getElementsByTagName("w:"+r).filter(a).map(s))}function a(c){var l=c.attributes["w:type"];return l!=="continuationSeparator"&&l!=="separator"}function s(c){var l=c.attributes["w:id"];return i.readXmlElements(c.children).map(function(u){return t.Note({noteType:r,noteId:l,body:u})})}return o}return Ci}var Lf={},Sv;function KN(){if(Sv)return Lf;Sv=1;var t=bi(),e=Kn().Result;function n(r){function i(a){return e.combine(a.getElementsByTagName("w:comment").map(o))}function o(a){var s=a.attributes["w:id"];function c(l){return(a.attributes[l]||"").trim()||null}return r.readXmlElements(a.children).map(function(l){return t.comment({commentId:s,body:l,authorName:c("w:author"),authorInitials:c("w:initials")})})}return i}return Lf.createCommentsReader=n,Lf}var Wf={},Av;function ZN(){if(Av)return Wf;Av=1;var t=Ir();Wf.Files=e;function e(){function n(r){return t.reject(new Error("could not open external image: '"+r+`'
263
+ cannot open linked files from a web browser`))}return{read:n}}return Wf}var Cv;function JN(){if(Cv)return za;Cv=1,za.read=m,za._findPartPaths=g;var t=Ir(),e=bi(),n=Kn().Result,r=DT(),i=LN().readXmlFromZipFile,o=zN().createBodyReader,a=$N().DocumentXmlReader,s=jN(),c=VN(),l=HN(),u=GN(),d=XN(),f=KN(),h=ZN().Files;function m(A,O){return O=O||{},t.props({contentTypes:_(A),partPaths:g(A),docxFile:A,files:O.path?h.relativeToFile(O.path):new h(null)}).also(function(P){return{styles:S(A,P.partPaths.styles)}}).also(function(P){return{numbering:T(A,P.partPaths.numbering,P.styles)}}).also(function(P){return{footnotes:v(P.partPaths.footnotes,P,function(E,k){return k?d.createFootnotesReader(E)(k):new n([])}),endnotes:v(P.partPaths.endnotes,P,function(E,k){return k?d.createEndnotesReader(E)(k):new n([])}),comments:v(P.partPaths.comments,P,function(E,k){return k?f.createCommentsReader(E)(k):new n([])})}}).also(function(P){return{notes:P.footnotes.flatMap(function(E){return P.endnotes.map(function(k){return new e.Notes(E.concat(k))})})}}).then(function(P){return v(P.partPaths.mainDocument,P,function(E,k){return P.notes.flatMap(function(x){return P.comments.flatMap(function(z){var R=new a({bodyReader:E,notes:x,comments:z});return R.convertXmlToDocument(k)})})})})}function g(A){return C(A).then(function(O){var P=p({docxFile:A,relationships:O,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!A.exists(P))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return b({filename:D(P),readElement:s.readRelationships,defaultValue:s.defaultValue})(A).then(function(E){function k(x){return p({docxFile:A,relationships:E,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+x,basePath:r.splitPath(P).dirname,fallbackPath:"word/"+x+".xml"})}return{mainDocument:P,comments:k("comments"),endnotes:k("endnotes"),footnotes:k("footnotes"),numbering:k("numbering"),styles:k("styles")}})})}function p(A){var O=A.docxFile,P=A.relationships,E=A.relationshipType,k=A.basePath,x=A.fallbackPath,z=P.findTargetsByType(E),R=z.map(function(G){return y(r.joinPath(k,G),"/")}),F=R.filter(function(G){return O.exists(G)});return F.length===0?x:F[0]}function y(A,O){return A.substring(0,O.length)===O?A.substring(O.length):A}function b(A){return function(O){return i(O,A.filename).then(function(P){return P?A.readElement(P):A.defaultValue})}}function v(A,O,P){var E=b({filename:D(A),readElement:s.readRelationships,defaultValue:s.defaultValue});return E(O.docxFile).then(function(k){var x=new o({relationships:k,contentTypes:O.contentTypes,docxFile:O.docxFile,numbering:O.numbering,styles:O.styles,files:O.files});return i(O.docxFile,A).then(function(z){return P(x,z)})})}function D(A){var O=r.splitPath(A);return r.joinPath(O.dirname,"_rels",O.basename+".rels")}var _=b({filename:"[Content_Types].xml",readElement:c.readContentTypesFromXml,defaultValue:c.defaultContentTypes});function T(A,O,P){return b({filename:O,readElement:function(E){return l.readNumberingXml(E,{styles:P})},defaultValue:l.defaultNumbering})(A)}function S(A,O){return b({filename:O,readElement:u.readStylesXml,defaultValue:u.defaultStyles})(A)}var C=b({filename:"_rels/.rels",readElement:s.readRelationships,defaultValue:s.defaultValue});return za}var Qa={},Uv;function YN(){if(Uv)return Qa;Uv=1;var t=rt,e=Ir(),n=Em();Qa.writeStyleMap=a,Qa.readStyleMap=u;var r="http://schemas.zwobble.org/mammoth/style-map",i="mammoth/style-map",o="/"+i;function a(d,f){return d.write(i,f),s(d).then(function(){return c(d)})}function s(d){var f="word/_rels/document.xml.rels",h="http://schemas.openxmlformats.org/package/2006/relationships",m="{"+h+"}Relationship";return d.read(f,"utf8").then(n.readString).then(function(g){var p=g.children;l(p,m,"Id",{Id:"rMammothStyleMap",Type:r,Target:o});var y={"":h};return d.write(f,n.writeString(g,y))})}function c(d){var f="[Content_Types].xml",h="http://schemas.openxmlformats.org/package/2006/content-types",m="{"+h+"}Override";return d.read(f,"utf8").then(n.readString).then(function(g){var p=g.children;l(p,m,"PartName",{PartName:o,ContentType:"text/prs.mammoth.style-map"});var y={"":h};return d.write(f,n.writeString(g,y))})}function l(d,f,h,m){var g=t.find(d,function(p){return p.name===f&&p.attributes[h]===m[h]});g?g.attributes=m:d.push(n.element(f,m))}function u(d){return d.exists(i)?d.read(i,"utf8"):e.resolve(null)}return Qa}var es={},Pr={},Wn={},or={},kv;function ST(){if(kv)return or;kv=1;var t=Ol();function e(c,l,u){return r(t.element(c,l,{fresh:!1}),u)}function n(c,l,u){var d=t.element(c,l,{fresh:!0});return r(d,u)}function r(c,l){return{type:"element",tag:c,children:l||[]}}function i(c){return{type:"text",value:c}}var o={type:"forceWrite"};or.freshElement=n,or.nonFreshElement=e,or.elementWithTag=r,or.text=i,or.forceWrite=o;var a={br:!0,hr:!0,img:!0,input:!0};function s(c){return c.children.length===0&&a[c.tag.tagName]}return or.isVoidElement=s,or}var Pf,Ov;function QN(){if(Ov)return Pf;Ov=1;var t=rt,e=ST();function n(g){return r(l(g))}function r(g){var p=[];return g.map(i).forEach(function(y){c(p,y)}),p}function i(g){return o[g.type](g)}var o={element:a,text:s,forceWrite:s};function a(g){return e.elementWithTag(g.tag,r(g.children))}function s(g){return g}function c(g,p){var y=g[g.length-1];p.type==="element"&&!p.tag.fresh&&y&&y.type==="element"&&p.tag.matchesElement(y.tag)?(p.tag.separator&&c(y.children,e.text(p.tag.separator)),p.children.forEach(function(b){c(y.children,b)})):g.push(p)}function l(g){return u(g,function(p){return d[p.type](p)})}function u(g,p){return t.flatten(t.map(g,p),!0)}var d={element:h,text:m,forceWrite:f};function f(g){return[g]}function h(g){var p=l(g.children);return p.length===0&&!e.isVoidElement(g)?[]:[e.elementWithTag(g.tag,p)]}function m(g){return g.value.length===0?[]:[g]}return Pf=n,Pf}var Rv;function kl(){if(Rv)return Wn;Rv=1;var t=ST();Wn.freshElement=t.freshElement,Wn.nonFreshElement=t.nonFreshElement,Wn.elementWithTag=t.elementWithTag,Wn.text=t.text,Wn.forceWrite=t.forceWrite,Wn.simplify=QN();function e(a,s){s.forEach(function(c){n(a,c)})}function n(a,s){r[s.type](a,s)}var r={element:i,text:o,forceWrite:function(){}};function i(a,s){t.isVoidElement(s)?a.selfClosing(s.tag.tagName,s.tag.attributes):(a.open(s.tag.tagName,s.tag.attributes),e(a,s.children),a.close(s.tag.tagName))}function o(a,s){a.text(s.value)}return Wn.write=e,Wn}var Fv;function Ol(){if(Fv)return Pr;Fv=1;var t=rt,e=kl();Pr.topLevelElement=n,Pr.elements=r,Pr.element=o;function n(s,c){return r([o(s,c,{fresh:!0})])}function r(s){return new i(s.map(function(c){return t.isString(c)?o(c):c}))}function i(s){this._elements=s}i.prototype.wrap=function(c){for(var l=c(),u=this._elements.length-1;u>=0;u--)l=this._elements[u].wrapNodes(l);return l};function o(s,c,l){return l=l||{},new a(s,c,l)}function a(s,c,l){var u={};t.isArray(s)?(s.forEach(function(d){u[d]=!0}),s=s[0]):u[s]=!0,this.tagName=s,this.tagNames=u,this.attributes=c||{},this.fresh=l.fresh,this.separator=l.separator}return a.prototype.matchesElement=function(s){return this.tagNames[s.tagName]&&t.isEqual(this.attributes||{},s.attributes||{})},a.prototype.wrap=function(c){return this.wrapNodes(c())},a.prototype.wrapNodes=function(c){return[e.elementWithTag(this,c)]},Pr.empty=r([]),Pr.ignore={wrap:function(){return[]}},Pr}var qf={},Iv;function AT(){return Iv||(Iv=1,function(t){var e=rt,n=Ir(),r=kl();t.imgElement=i;function i(o){return function(a,s){return n.when(o(a)).then(function(c){var l={};return a.altText&&(l.alt=a.altText),e.extend(l,c),[r.freshElement("img",l)]})}}t.inline=t.imgElement,t.dataUri=i(function(o){return o.readAsBase64String().then(function(a){return{src:"data:"+o.contentType+";base64,"+a}})})}(qf)),qf}var zf={},$f={},Nv;function e6(){if(Nv)return $f;Nv=1;var t=rt;$f.writer=e;function e(s){return s=s||{},s.prettyPrint?r():i()}var n={div:!0,p:!0,ul:!0,li:!0};function r(){var s=0,c=" ",l=[],u=!0,d=!1,f=i();function h(_,T){n[_]&&v(),l.push(_),f.open(_,T),n[_]&&s++,u=!1}function m(_){n[_]&&(s--,v()),l.pop(),f.close(_)}function g(_){b();var T=D()?_:_.replace(`
264
+ `,`
265
+ `+c);f.text(T)}function p(_,T){v(),f.selfClosing(_,T)}function y(){return l.length===0||n[l[l.length-1]]}function b(){d||(v(),d=!0)}function v(){if(d=!1,!u&&y()&&!D()){f._append(`
266
+ `);for(var _=0;_<s;_++)f._append(c)}}function D(){return t.some(l,function(_){return _==="pre"})}return{asString:f.asString,open:h,close:m,text:g,selfClosing:p}}function i(){var s=[];function c(g,p){var y=d(p);s.push("<"+g+y+">")}function l(g){s.push("</"+g+">")}function u(g,p){var y=d(p);s.push("<"+g+y+" />")}function d(g){return t.map(g,function(p,y){return" "+y+'="'+a(p)+'"'}).join("")}function f(g){s.push(o(g))}function h(g){s.push(g)}function m(){return s.join("")}return{asString:m,open:c,close:l,text:f,selfClosing:u,_append:h}}function o(s){return s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function a(s){return s.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}return $f}var jf={},Bv;function t6(){if(Bv)return jf;Bv=1;var t=rt;function e(d){return n(d,d)}function n(d,f){return function(){return{start:d,end:f}}}function r(d){var f=d.href||"";return f?{start:"[",end:"]("+f+")",anchorPosition:"before"}:{}}function i(d){var f=d.src||"",h=d.alt||"";return f||h?{start:"!["+h+"]("+f+")"}:{}}function o(d){return function(f,h){return{start:h?`
267
+ `:"",end:h?"":`
268
+ `,list:{isOrdered:d.isOrdered,indent:h?h.indent+1:0,count:0}}}}function a(d,f,h){f=f||{indent:0,isOrdered:!1,count:0},f.count++,h.hasClosed=!1;var m=f.isOrdered?f.count+".":"-",g=c(" ",f.indent)+m+" ";return{start:g,end:function(){if(!h.hasClosed)return h.hasClosed=!0,`
269
+ `}}}var s={p:n("",`
270
+
271
+ `),br:n("",`
272
+ `),ul:o({isOrdered:!1}),ol:o({isOrdered:!0}),li:a,strong:e("__"),em:e("*"),a:r,img:i};(function(){for(var d=1;d<=6;d++)s["h"+d]=n(c("#",d)+" ",`
273
+
274
+ `)})();function c(d,f){return new Array(f+1).join(d)}function l(){var d=[],f=[],h=null,m={};function g(_,T){T=T||{};var S=s[_]||function(){return{}},C=S(T,h,m);f.push({end:C.end,list:h}),C.list&&(h=C.list);var A=C.anchorPosition==="before";A&&p(T),d.push(C.start||""),A||p(T)}function p(_){_.id&&d.push('<a id="'+_.id+'"></a>')}function y(_){var T=f.pop();h=T.list;var S=t.isFunction(T.end)?T.end():T.end;d.push(S||"")}function b(_,T){g(_,T),y()}function v(_){d.push(u(_))}function D(){return d.join("")}return{asString:D,open:g,close:y,text:v,selfClosing:b}}jf.writer=l;function u(d){return d.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}return jf}var Mv;function n6(){if(Mv)return zf;Mv=1;var t=e6(),e=t6();zf.writer=n;function n(r){return r=r||{},r.outputFormat==="markdown"?e.writer():t.writer(r)}return zf}var Lv;function r6(){if(Lv)return es;Lv=1;var t=rt,e=Ir(),n=bi(),r=Ol(),i=Kn(),o=AT(),a=kl(),s=n6();es.DocumentConverter=c;function c(p){return{convertToHtml:function(y){var b=t.indexBy(y.type===n.types.document?y.comments:[],"commentId"),v=new l(p,b);return v.convertToHtml(y)}}}function l(p,y){var b=1,v=[],D=[];p=t.extend({ignoreEmptyParagraphs:!0},p);var _=p.idPrefix===void 0?"":p.idPrefix,T=p.ignoreEmptyParagraphs,S=r.topLevelElement("p"),C=p.styleMap||[];function A(w){var X=[],$=P(w,X,{}),W=[];m($,function(j){j.type==="deferred"&&W.push(j)});var M={};return e.mapSeries(W,function(j){return j.value().then(function(oe){M[j.id]=oe})}).then(function(){function j(re){return h(re,function(Y){return Y.type==="deferred"?M[Y.id]:Y.children?[t.extend({},Y,{children:j(Y.children)})]:[Y]})}var oe=s.writer({prettyPrint:p.prettyPrint,outputFormat:p.outputFormat});return a.write(oe,a.simplify(j($))),new i.Result(oe.asString(),X)})}function O(w,X,$){return h(w,function(W){return P(W,X,$)})}function P(w,X,$){if(!$)throw new Error("options not set");var W=be[w.type];return W?W(w,X,$):[]}function E(w,X,$){return k(w,X).wrap(function(){var W=O(w.children,X,$);return T?W:[a.forceWrite].concat(W)})}function k(w,X){var $=F(w);return $?$.to:(w.styleId&&X.push(f("paragraph",w)),S)}function x(w,X,$){var W=function(){return O(w.children,X,$)},M=[];if(w.highlight!==null){var j=R({type:"highlight",color:w.highlight});j&&M.push(j)}w.isSmallCaps&&M.push(z("smallCaps")),w.isAllCaps&&M.push(z("allCaps")),w.isStrikethrough&&M.push(z("strikethrough","s")),w.isUnderline&&M.push(z("underline")),w.verticalAlignment===n.verticalAlignment.subscript&&M.push(r.element("sub",{},{fresh:!1})),w.verticalAlignment===n.verticalAlignment.superscript&&M.push(r.element("sup",{},{fresh:!1})),w.isItalic&&M.push(z("italic","em")),w.isBold&&M.push(z("bold","strong"));var oe=r.empty,re=F(w);return re?oe=re.to:w.styleId&&X.push(f("run",w)),M.push(oe),M.forEach(function(Y){W=Y.wrap.bind(Y,W)}),W()}function z(w,X){var $=R({type:w});return $||(X?r.element(X,{},{fresh:!1}):r.empty)}function R(w,X){var $=F(w);return $?$.to:X}function F(w){for(var X=0;X<C.length;X++)if(C[X].from.matches(w))return C[X]}function G(w){return function(X,$){return e.attempt(function(){return w(X,$)}).caught(function(W){return $.push(i.error(W)),[]})}}function B(w){return L(w.noteType,w.noteId)}function V(w){return I(w.noteType,w.noteId)}function L(w,X){return ne(w+"-"+X)}function I(w,X){return ne(w+"-ref-"+X)}function ne(w){return _+w}var H=r.elements([r.element("table",{},{fresh:!0})]);function Z(w,X,$){return R(w,H).wrap(function(){return le(w,X,$)})}function le(w,X,$){var W=t.findIndex(w.children,function(re){return!re.type===n.types.tableRow||!re.isHeader});W===-1&&(W=w.children.length);var M;if(W===0)M=O(w.children,X,t.extend({},$,{isTableHeader:!1}));else{var j=O(w.children.slice(0,W),X,t.extend({},$,{isTableHeader:!0})),oe=O(w.children.slice(W),X,t.extend({},$,{isTableHeader:!1}));M=[a.freshElement("thead",{},j),a.freshElement("tbody",{},oe)]}return[a.forceWrite].concat(M)}function he(w,X,$){var W=O(w.children,X,$);return[a.freshElement("tr",{},[a.forceWrite].concat(W))]}function de(w,X,$){var W=$.isTableHeader?"th":"td",M=O(w.children,X,$),j={};return w.colSpan!==1&&(j.colspan=w.colSpan.toString()),w.rowSpan!==1&&(j.rowspan=w.rowSpan.toString()),[a.freshElement(W,j,[a.forceWrite].concat(M))]}function me(w,X,$){return R(w,r.ignore).wrap(function(){var W=y[w.commentId],M=D.length+1,j="["+g(W)+M+"]";return D.push({label:j,comment:W}),[a.freshElement("a",{href:"#"+L("comment",w.commentId),id:I("comment",w.commentId)},[a.text(j)])]})}function fe(w,X,$){var W=w.label,M=w.comment,j=O(M.body,X,$).concat([a.nonFreshElement("p",{},[a.text(" "),a.freshElement("a",{href:"#"+I("comment",M.commentId)},[a.text("↑")])])]);return[a.freshElement("dt",{id:L("comment",M.commentId)},[a.text("Comment "+W)]),a.freshElement("dd",{},j)]}function ge(w,X,$){return ye(w).wrap(function(){return[]})}function ye(w){var X=F(w);return X?X.to:w.breakType==="line"?r.topLevelElement("br"):r.empty}var be={document:function(w,X,$){var W=O(w.children,X,$),M=v.map(function(oe){return w.notes.resolve(oe)}),j=O(M,X,$);return W.concat([a.freshElement("ol",{},j),a.freshElement("dl",{},h(D,function(oe){return fe(oe,X,$)}))])},paragraph:E,run:x,text:function(w,X,$){return[a.text(w.value)]},tab:function(w,X,$){return[a.text(" ")]},hyperlink:function(w,X,$){var W=w.anchor?"#"+ne(w.anchor):w.href,M={href:W};w.targetFrame!=null&&(M.target=w.targetFrame);var j=O(w.children,X,$);return[a.nonFreshElement("a",M,j)]},checkbox:function(w){var X={type:"checkbox"};return w.checked&&(X.checked="checked"),[a.freshElement("input",X)]},bookmarkStart:function(w,X,$){var W=a.freshElement("a",{id:ne(w.name)},[a.forceWrite]);return[W]},noteReference:function(w,X,$){v.push(w);var W=a.freshElement("a",{href:"#"+B(w),id:V(w)},[a.text("["+b+++"]")]);return[a.freshElement("sup",{},[W])]},note:function(w,X,$){var W=O(w.body,X,$),M=a.elementWithTag(r.element("p",{},{fresh:!1}),[a.text(" "),a.freshElement("a",{href:"#"+V(w)},[a.text("↑")])]),j=W.concat([M]);return a.freshElement("li",{id:B(w)},j)},commentReference:me,comment:fe,image:d(G(p.convertImage||o.dataUri)),table:Z,tableRow:he,tableCell:de,break:ge};return{convertToHtml:A}}var u=1;function d(p){return function(y,b,v){return[{type:"deferred",id:u++,value:function(){return p(y,b,v)}}]}}function f(p,y){return i.warning("Unrecognised "+p+" style: '"+y.styleName+"' (Style ID: "+y.styleId+")")}function h(p,y){return t.flatten(p.map(y),!0)}function m(p,y){p.forEach(function(b){y(b),b.children&&m(b.children,y)})}var g=es.commentAuthorLabel=function(y){return y.authorInitials||""};return es}var Vf={},Wv;function i6(){if(Wv)return Vf;Wv=1;var t=bi();function e(n){if(n.type==="text")return n.value;if(n.type===t.types.tab)return" ";var r=n.type==="paragraph"?`
275
+
276
+ `:"";return(n.children||[]).map(e).join("")+r}return Vf.convertElementToRawText=e,Vf}var Uo={},un={},Hf={},Gf={exports:{}},Pv;function o6(){if(Pv)return Gf.exports;Pv=1;var t=Gf.exports=function(e,n){this._tokens=e,this._startIndex=n||0};return t.prototype.head=function(){return this._tokens[this._startIndex]},t.prototype.tail=function(e){return new t(this._tokens,this._startIndex+1)},t.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},t.prototype.end=function(){return this._tokens[this._tokens.length-1]},t.prototype.to=function(e){var n=this.head().source,r=e.head()||e.end();return n.to(r.source)},Gf.exports}var qv;function a6(){if(qv)return Hf;qv=1;var t=o6();return Hf.Parser=function(e){var n=function(r,i){return r(new t(i))};return{parseTokens:n}},Hf}var Xf={},Kf={},zv;function s6(){return zv||(zv=1,function(t){t.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return t.none},flatMap:function(){return t.none},filter:function(){return t.none},toArray:function(){return[]},orElse:e,valueOrElse:e});function e(r){return typeof r=="function"?r():r}t.some=function(r){return new n(r)};var n=function(r){this._value=r};n.prototype.value=function(){return this._value},n.prototype.isNone=function(){return!1},n.prototype.isSome=function(){return!0},n.prototype.map=function(r){return new n(r(this._value))},n.prototype.flatMap=function(r){return r(this._value)},n.prototype.filter=function(r){return r(this._value)?this:t.none},n.prototype.toArray=function(){return[this._value]},n.prototype.orElse=function(r){return this},n.prototype.valueOrElse=function(r){return this._value},t.isOption=function(r){return r===t.none||r instanceof n},t.fromNullable=function(r){return r==null?t.none:new n(r)}}(Kf)),Kf}var Zf,$v;function Tm(){if($v)return Zf;$v=1,Zf={failure:function(e,n){if(e.length<1)throw new Error("Failure must have errors");return new t({status:"failure",remaining:n,errors:e})},error:function(e,n){if(e.length<1)throw new Error("Failure must have errors");return new t({status:"error",remaining:n,errors:e})},success:function(e,n,r){return new t({status:"success",value:e,source:r,remaining:n,errors:[]})},cut:function(e){return new t({status:"cut",remaining:e,errors:[]})}};var t=function(e){this._value=e.value,this._status=e.status,this._hasValue=e.value!==void 0,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};return t.prototype.map=function(e){return this._hasValue?new t({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},t.prototype.changeRemaining=function(e){return new t({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})},t.prototype.isSuccess=function(){return this._status==="success"||this._status==="cut"},t.prototype.isFailure=function(){return this._status==="failure"},t.prototype.isError=function(){return this._status==="error"},t.prototype.isCut=function(){return this._status==="cut"},t.prototype.value=function(){return this._value},t.prototype.remaining=function(){return this._remaining},t.prototype.source=function(){return this._source},t.prototype.errors=function(){return this._errors},Zf}var Jf={},jv;function CT(){if(jv)return Jf;jv=1,Jf.error=function(e){return new t(e)};var t=function(e){this.expected=e.expected,this.actual=e.actual,this._location=e.location};return t.prototype.describe=function(){var e=this._location?this._location.describe()+`:
277
+ `:"";return e+"Expected "+this.expected+`
278
+ but got `+this.actual},t.prototype.lineNumber=function(){return this._location.lineNumber()},t.prototype.characterNumber=function(){return this._location.characterNumber()},Jf}var Yf={},Vv;function c6(){if(Vv)return Yf;Vv=1,Yf.fromArray=function(e){var n=0,r=function(){return n<e.length};return new t({hasNext:r,next:function(){if(r())return e[n++];throw new Error("No more elements")}})};var t=function(e){this._iterator=e};return t.prototype.map=function(e){var n=this._iterator;return new t({hasNext:function(){return n.hasNext()},next:function(){return e(n.next())}})},t.prototype.filter=function(e){var n=this._iterator,r=!1,i=!1,o,a=function(){if(!r)for(r=!0,i=!1;n.hasNext()&&!i;)o=n.next(),i=e(o)};return new t({hasNext:function(){return a(),i},next:function(){a();var s=o;return r=!1,s}})},t.prototype.first=function(){var e=this._iterator;return this._iterator.hasNext()?e.next():null},t.prototype.toArray=function(){for(var e=[];this._iterator.hasNext();)e.push(this._iterator.next());return e},Yf}var Hv;function UT(){return Hv||(Hv=1,function(t){var e=rt,n=s6(),r=Tm(),i=CT(),o=c6();t.token=function(f,h){var m=h!==void 0;return function(g){var p=g.head();if(p&&p.name===f&&(!m||p.value===h))return r.success(p.value,g.tail(),p.source);var y=u({name:f,value:h});return d(g,y)}},t.tokenOfType=function(f){return t.token(f)},t.firstOf=function(f,h){return e.isArray(h)||(h=Array.prototype.slice.call(arguments,1)),function(m){return o.fromArray(h).map(function(g){return g(m)}).filter(function(g){return g.isSuccess()||g.isError()}).first()||d(m,f)}},t.then=function(f,h){return function(m){var g=f(m);return g.map||console.log(g),g.map(h)}},t.sequence=function(){var f=Array.prototype.slice.call(arguments,0),h=function(g){var p=e.foldl(f,function(b,v){var D=b.result,_=b.hasCut;if(!D.isSuccess())return{result:D,hasCut:_};var T=v(D.remaining());if(T.isCut())return{result:D,hasCut:!0};if(T.isSuccess()){var S;v.isCaptured?S=D.value().withValue(v,T.value()):S=D.value();var C=T.remaining(),A=g.to(C);return{result:r.success(S,C,A),hasCut:_}}else return _?{result:r.error(T.errors(),T.remaining()),hasCut:_}:{result:T,hasCut:_}},{result:r.success(new a,g),hasCut:!1}).result,y=g.to(p.remaining());return p.map(function(b){return b.withValue(t.sequence.source,y)})};h.head=function(){var g=e.find(f,m);return t.then(h,t.sequence.extract(g))},h.map=function(g){return t.then(h,function(p){return g.apply(this,p.toArray())})};function m(g){return g.isCaptured}return h};var a=function(f,h){this._values=f||{},this._valuesArray=h||[]};a.prototype.withValue=function(f,h){if(f.captureName&&f.captureName in this._values)throw new Error('Cannot add second value for capture "'+f.captureName+'"');var m=e.clone(this._values);m[f.captureName]=h;var g=this._valuesArray.concat([h]);return new a(m,g)},a.prototype.get=function(f){if(f.captureName in this._values)return this._values[f.captureName];throw new Error('No value for capture "'+f.captureName+'"')},a.prototype.toArray=function(){return this._valuesArray},t.sequence.capture=function(f,h){var m=function(){return f.apply(this,arguments)};return m.captureName=h,m.isCaptured=!0,m},t.sequence.extract=function(f){return function(h){return h.get(f)}},t.sequence.applyValues=function(f){var h=Array.prototype.slice.call(arguments,1);return function(m){var g=h.map(function(p){return m.get(p)});return f.apply(this,g)}},t.sequence.source={captureName:"☃source☃"},t.sequence.cut=function(){return function(f){return r.cut(f)}},t.optional=function(f){return function(h){var m=f(h);return m.isSuccess()?m.map(n.some):m.isFailure()?r.success(n.none,h):m}},t.zeroOrMoreWithSeparator=function(f,h){return l(f,h,!1)},t.oneOrMoreWithSeparator=function(f,h){return l(f,h,!0)};var s=t.zeroOrMore=function(f){return function(h){for(var m=[],g;(g=f(h))&&g.isSuccess();)h=g.remaining(),m.push(g.value());return g.isError()?g:r.success(m,h)}};t.oneOrMore=function(f){return t.oneOrMoreWithSeparator(f,c)};function c(f){return r.success(null,f)}var l=function(f,h,m){return function(g){var p=f(g);if(p.isSuccess()){var y=t.sequence.capture(f,"main"),b=s(t.then(t.sequence(h,y),t.sequence.extract(y))),v=b(p.remaining());return r.success([p.value()].concat(v.value()),v.remaining())}else return m||p.isError()?p:r.success([],g)}};t.leftAssociative=function(f,h,m){var g;m?g=[{func:m,rule:h}]:g=h,g=g.map(function(y){return t.then(y.rule,function(b){return function(v,D){return y.func(v,b,D)}})});var p=t.firstOf.apply(null,["rules"].concat(g));return function(y){var b=y,v=f(y);if(!v.isSuccess())return v;for(var D=p(v.remaining());D.isSuccess();){var _=D.remaining(),T=b.to(D.remaining()),S=D.value();v=r.success(S(v.value(),T),_,T),D=p(v.remaining())}return D.isError()?D:v}},t.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},t.nonConsuming=function(f){return function(h){return f(h).changeRemaining(h)}};var u=function(f){return f.value?f.name+' "'+f.value+'"':f.name};function d(f,h){var m,g=f.head();return g?m=i.error({expected:h,actual:u(g),location:g.source}):m=i.error({expected:h,actual:"end of tokens"}),r.failure([m],f)}}(Xf)),Xf}var Qf={exports:{}},Gv;function kT(){if(Gv)return Qf.exports;Gv=1,Qf.exports=function(e,n){var r={asString:function(){return e},range:function(i,o){return new t(e,n,i,o)}};return r};var t=function(e,n,r,i){this._string=e,this._description=n,this._startIndex=r,this._endIndex=i};return t.prototype.to=function(e){return new t(this._string,this._description,this._startIndex,e._endIndex)},t.prototype.describe=function(){var e=this._position(),n=this._description?this._description+`
279
+ `:"";return n+"Line number: "+e.lineNumber+`
280
+ Character number: `+e.characterNumber},t.prototype.lineNumber=function(){return this._position().lineNumber},t.prototype.characterNumber=function(){return this._position().characterNumber},t.prototype._position=function(){for(var e=this,n=0,r=function(){return e._string.indexOf(`
281
+ `,n)},i=1;r()!==-1&&r()<this._startIndex;)n=r()+1,i+=1;var o=this._startIndex-n+1;return{lineNumber:i,characterNumber:o}},Qf.exports}var eh,Xv;function OT(){return Xv||(Xv=1,eh=function(t,e,n){this.name=t,this.value=e,n&&(this.source=n)}),eh}var th={},Kv;function l6(){return Kv||(Kv=1,function(t){var e=UT(),n=Tm();t.parser=function(o,a,s){var c={rule:f,leftAssociative:h,rightAssociative:m},l=new r(s.map(d)),u=e.firstOf(o,a);function d(y){return{name:y.name,rule:i(y.ruleBuilder.bind(null,c))}}function f(){return g(l)}function h(y){return g(l.untilExclusive(y))}function m(y){return g(l.untilInclusive(y))}function g(y){return p.bind(null,y)}function p(y,b){var v=u(b);return v.isSuccess()?y.apply(v):v}return c};function r(o){function a(d){return new r(o.slice(0,c().indexOf(d)))}function s(d){return new r(o.slice(0,c().indexOf(d)+1))}function c(){return o.map(function(d){return d.name})}function l(d){for(var f,h;;)if(f=u(d.remaining()),f.isSuccess())h=d.source().to(f.source()),d=n.success(f.value()(d.value(),h),f.remaining(),h);else return f.isFailure()?d:f}function u(d){return e.firstOf("infix",o.map(function(f){return f.rule}))(d)}return{apply:l,untilExclusive:a,untilInclusive:s}}t.infix=function(o,a){function s(c){return t.infix(o,function(l){var u=a(l);return function(d){var f=u(d);return f.map(function(h){return function(m,g){return c(m,h,g)}})}})}return{name:o,ruleBuilder:a,map:s}};var i=function(o){var a;return function(s){return a||(a=o()),a(s)}}}(th)),th}var nh={},Zv;function u6(){if(Zv)return nh;Zv=1;var t=OT(),e=kT();nh.RegexTokeniser=n;function n(r){r=r.map(function(s){return{name:s.name,regex:new RegExp(s.regex.source,"g")}});function i(s,c){for(var l=new e(s,c),u=0,d=[];u<s.length;){var f=o(s,u,l);u=f.endIndex,d.push(f.token)}return d.push(a(s,l)),d}function o(s,c,l){for(var u=0;u<r.length;u++){var d=r[u].regex;d.lastIndex=c;var f=d.exec(s);if(f){var m=c+f[0].length;if(f.index===c&&m>c){var h=f[1],g=new t(r[u].name,h,l.range(c,m));return{token:g,endIndex:m}}}}var m=c+1,g=new t("unrecognisedCharacter",s.substring(c,m),l.range(c,m));return{token:g,endIndex:m}}function a(s,c){return new t("end",null,c.range(s.length,s.length))}return{tokenise:i}}return nh}var Jv;function RT(){return Jv||(Jv=1,un.Parser=a6().Parser,un.rules=UT(),un.errors=CT(),un.results=Tm(),un.StringSource=kT(),un.Token=OT(),un.bottomUp=l6(),un.RegexTokeniser=u6().RegexTokeniser,un.rule=function(t){var e;return function(n){return e||(e=t()),e(n)}}),un}var st={},Yv;function d6(){if(Yv)return st;Yv=1,st.paragraph=t,st.run=e,st.table=n,st.bold=new i("bold"),st.italic=new i("italic"),st.underline=new i("underline"),st.strikethrough=new i("strikethrough"),st.allCaps=new i("allCaps"),st.smallCaps=new i("smallCaps"),st.highlight=r,st.commentReference=new i("commentReference"),st.lineBreak=new a({breakType:"line"}),st.pageBreak=new a({breakType:"page"}),st.columnBreak=new a({breakType:"column"}),st.equalTo=c,st.startsWith=l;function t(f){return new i("paragraph",f)}function e(f){return new i("run",f)}function n(f){return new i("table",f)}function r(f){return new o(f)}function i(f,h){h=h||{},this._elementType=f,this._styleId=h.styleId,this._styleName=h.styleName,h.list&&(this._listIndex=h.list.levelIndex,this._listIsOrdered=h.list.isOrdered)}i.prototype.matches=function(f){return f.type===this._elementType&&(this._styleId===void 0||f.styleId===this._styleId)&&(this._styleName===void 0||f.styleName&&this._styleName.operator(this._styleName.operand,f.styleName))&&(this._listIndex===void 0||s(f,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===f.breakType)};function o(f){f=f||{},this._color=f.color}o.prototype.matches=function(f){return f.type==="highlight"&&(this._color===void 0||f.color===this._color)};function a(f){f=f||{},this._breakType=f.breakType}a.prototype.matches=function(f){return f.type==="break"&&(this._breakType===void 0||f.breakType===this._breakType)};function s(f,h,m){return f.numbering&&f.numbering.level==h&&f.numbering.isOrdered==m}function c(f){return{operator:u,operand:f}}function l(f){return{operator:d,operand:f}}function u(f,h){return f.toUpperCase()===h.toUpperCase()}function d(f,h){return h.toUpperCase().indexOf(f.toUpperCase())===0}return st}var rh={},Qv;function f6(){if(Qv)return rh;Qv=1;var t=RT(),e=t.RegexTokeniser;rh.tokenise=r;var n="'((?:\\\\.|[^'])*)";function r(i){var o="(?:[a-zA-Z\\-_]|\\\\.)",a=new e([{name:"identifier",regex:new RegExp("("+o+"(?:"+o+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(n+"'")},{name:"unterminated-string",regex:new RegExp(n)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return a.tokenise(i)}return rh}var ex;function h6(){if(ex)return Uo;ex=1;var t=rt,e=RT(),n=d6(),r=Ol(),i=f6().tokenise,o=Kn();Uo.readHtmlPath=u,Uo.readDocumentMatcher=c,Uo.readStyle=a;function a(C){return D(S,C)}function s(){return e.rules.sequence(e.rules.sequence.capture(l()),e.rules.tokenOfType("whitespace"),e.rules.tokenOfType("arrow"),e.rules.sequence.capture(e.rules.optional(e.rules.sequence(e.rules.tokenOfType("whitespace"),e.rules.sequence.capture(d())).head())),e.rules.tokenOfType("end")).map(function(C,A){return{from:C,to:A.valueOrElse(r.empty)}})}function c(C){return D(l(),C)}function l(){var C=e.rules.sequence,A=function(fe,ge){return e.rules.then(e.rules.token("identifier",fe),function(){return ge})},O=A("p",n.paragraph),P=A("r",n.run),E=e.rules.firstOf("p or r or table",O,P),k=e.rules.sequence(e.rules.tokenOfType("dot"),e.rules.sequence.cut(),e.rules.sequence.capture(f)).map(function(fe){return{styleId:fe}}),x=e.rules.firstOf("style name matcher",e.rules.then(e.rules.sequence(e.rules.tokenOfType("equals"),e.rules.sequence.cut(),e.rules.sequence.capture(m)).head(),function(fe){return{styleName:n.equalTo(fe)}}),e.rules.then(e.rules.sequence(e.rules.tokenOfType("startsWith"),e.rules.sequence.cut(),e.rules.sequence.capture(m)).head(),function(fe){return{styleName:n.startsWith(fe)}})),z=e.rules.sequence(e.rules.tokenOfType("open-square-bracket"),e.rules.sequence.cut(),e.rules.token("identifier","style-name"),e.rules.sequence.capture(x),e.rules.tokenOfType("close-square-bracket")).head(),R=e.rules.firstOf("list type",A("ordered-list",{isOrdered:!0}),A("unordered-list",{isOrdered:!1})),F=C(e.rules.tokenOfType("colon"),C.capture(R),C.cut(),e.rules.tokenOfType("open-paren"),C.capture(h),e.rules.tokenOfType("close-paren")).map(function(fe,ge){return{list:{isOrdered:fe.isOrdered,levelIndex:ge-1}}});function G(fe){var ge=e.rules.firstOf.apply(e.rules.firstOf,["matcher suffix"].concat(fe)),ye=e.rules.zeroOrMore(ge);return e.rules.then(ye,function(be){var w={};return be.forEach(function(X){t.extend(w,X)}),w})}var B=C(C.capture(E),C.capture(G([k,z,F]))).map(function(fe,ge){return fe(ge)}),V=C(e.rules.token("identifier","table"),C.capture(G([k,z]))).map(function(fe){return n.table(fe)}),L=A("b",n.bold),I=A("i",n.italic),ne=A("u",n.underline),H=A("strike",n.strikethrough),Z=A("all-caps",n.allCaps),le=A("small-caps",n.smallCaps),he=C(e.rules.token("identifier","highlight"),e.rules.sequence.capture(e.rules.optional(e.rules.sequence(e.rules.tokenOfType("open-square-bracket"),e.rules.sequence.cut(),e.rules.token("identifier","color"),e.rules.tokenOfType("equals"),e.rules.sequence.capture(m),e.rules.tokenOfType("close-square-bracket")).head()))).map(function(fe){return n.highlight({color:fe.valueOrElse(void 0)})}),de=A("comment-reference",n.commentReference),me=C(e.rules.token("identifier","br"),C.cut(),e.rules.tokenOfType("open-square-bracket"),e.rules.token("identifier","type"),e.rules.tokenOfType("equals"),C.capture(m),e.rules.tokenOfType("close-square-bracket")).map(function(fe){switch(fe){case"line":return n.lineBreak;case"page":return n.pageBreak;case"column":return n.columnBreak}});return e.rules.firstOf("element type",B,V,L,I,ne,H,Z,le,he,de,me)}function u(C){return D(d(),C)}function d(){var C=e.rules.sequence.capture,A=e.rules.tokenOfType("whitespace"),O=e.rules.then(e.rules.optional(e.rules.sequence(e.rules.tokenOfType("colon"),e.rules.token("identifier","fresh"))),function(x){return x.map(function(){return!0}).valueOrElse(!1)}),P=e.rules.then(e.rules.optional(e.rules.sequence(e.rules.tokenOfType("colon"),e.rules.token("identifier","separator"),e.rules.tokenOfType("open-paren"),C(m),e.rules.tokenOfType("close-paren")).head()),function(x){return x.valueOrElse("")}),E=e.rules.oneOrMoreWithSeparator(f,e.rules.tokenOfType("choice")),k=e.rules.sequence(C(E),C(e.rules.zeroOrMore(v)),C(O),C(P)).map(function(x,z,R,F){var G={},B={};return z.forEach(function(V){V.append&&G[V.name]?G[V.name]+=" "+V.value:G[V.name]=V.value}),R&&(B.fresh=!0),F&&(B.separator=F),r.element(x,G,B)});return e.rules.firstOf("html path",e.rules.then(e.rules.tokenOfType("bang"),function(){return r.ignore}),e.rules.then(e.rules.zeroOrMoreWithSeparator(k,e.rules.sequence(A,e.rules.tokenOfType("gt"),A)),r.elements))}var f=e.rules.then(e.rules.tokenOfType("identifier"),p),h=e.rules.tokenOfType("integer"),m=e.rules.then(e.rules.tokenOfType("string"),p),g={n:`
282
+ `,r:"\r",t:" "};function p(C){return C.replace(/\\(.)/g,function(A,O){return g[O]||O})}var y=e.rules.sequence(e.rules.tokenOfType("open-square-bracket"),e.rules.sequence.cut(),e.rules.sequence.capture(f),e.rules.tokenOfType("equals"),e.rules.sequence.capture(m),e.rules.tokenOfType("close-square-bracket")).map(function(C,A){return{name:C,value:A,append:!1}}),b=e.rules.sequence(e.rules.tokenOfType("dot"),e.rules.sequence.cut(),e.rules.sequence.capture(f)).map(function(C){return{name:"class",value:C,append:!0}}),v=e.rules.firstOf("attribute or class",y,b);function D(C,A){var O=i(A),P=e.Parser(),E=P.parseTokens(C,O);return E.isSuccess()?o.success(E.value()):new o.Result(null,[o.warning(_(A,E))])}function _(C,A){return"Did not understand this style mapping, so ignored it: "+C+`
283
+ `+A.errors().map(T).join(`
284
+ `)}function T(C){return"Error was at character number "+C.characterNumber()+": Expected "+C.expected+" but got "+C.actual}var S=s();return Uo}var ko={},tx;function p6(){if(tx)return ko;tx=1,ko.readOptions=r;var t=rt,e=ko._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh"],n=ko._standardOptions={transformDocument:o,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function r(a){return a=a||{},t.extend({},n,a,{customStyleMap:i(a.styleMap),readStyleMap:function(){var s=this.customStyleMap;return this.includeEmbeddedStyleMap&&(s=s.concat(i(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(s=s.concat(e)),s}})}function i(a){return a?t.isString(a)?a.split(`
285
+ `).map(function(s){return s.trim()}).filter(function(s){return s!==""&&s.charAt(0)!=="#"}):a:[]}function o(a){return a}return ko}var ih={},nx;function g6(){if(nx)return ih;nx=1;var t=Ir(),e=DT();ih.openZip=n;function n(r){return r.arrayBuffer?t.resolve(e.openArrayBuffer(r.arrayBuffer)):t.reject(new Error("Could not find file in options"))}return ih}var qr={},rx;function m6(){if(rx)return qr;rx=1;var t=rt;qr.paragraph=e,qr.run=n,qr._elements=i,qr.getDescendantsOfType=o,qr.getDescendants=a;function e(c){return r("paragraph",c)}function n(c){return r("run",c)}function r(c,l){return i(function(u){return u.type===c?l(u):u})}function i(c){return function l(u){if(u.children){var d=t.map(u.children,l);u=t.extend(u,{children:d})}return c(u)}}function o(c,l){return a(c).filter(function(u){return u.type===l})}function a(c){var l=[];return s(c,function(u){l.push(u)}),l}function s(c,l){c.children&&c.children.forEach(function(u){s(u,l),l(u)})}return qr}var oh={},ix;function y6(){if(ix)return oh;ix=1;var t=Ol(),e=kl();oh.element=n;function n(r){return function(i){return e.elementWithTag(t.element(r),[i])}}return oh}var ox;function b6(){if(ox)return Zt;ox=1;var t=rt,e=JN(),n=YN(),r=r6().DocumentConverter,i=i6().convertElementToRawText,o=h6().readStyle,a=p6().readOptions,s=g6(),c=Kn().Result;Zt.convertToHtml=l,Zt.convertToMarkdown=u,Zt.convert=d,Zt.extractRawText=g,Zt.images=AT(),Zt.transforms=m6(),Zt.underline=y6(),Zt.embedStyleMap=p,Zt.readEmbeddedStyleMap=f;function l(y,b){return d(y,b)}function u(y,b){var v=Object.create(b||{});return v.outputFormat="markdown",d(y,v)}function d(y,b){return b=a(b),s.openZip(y).tap(function(v){return n.readStyleMap(v).then(function(D){b.embeddedStyleMap=D})}).then(function(v){return e.read(v,y).then(function(D){return D.map(b.transformDocument)}).then(function(D){return h(D,b)})})}function f(y){return s.openZip(y).then(n.readStyleMap)}function h(y,b){var v=m(b.readStyleMap()),D=t.extend({},b,{styleMap:v.value}),_=new r(D);return y.flatMapThen(function(T){return v.flatMapThen(function(S){return _.convertToHtml(T)})})}function m(y){return c.combine((y||[]).map(o)).map(function(b){return b.filter(function(v){return!!v})})}function g(y){return s.openZip(y).then(e.read).then(function(b){return b.map(i)})}function p(y,b){return s.openZip(y).tap(function(v){return n.writeStyleMap(v,b)}).then(function(v){return v.toArrayBuffer()}).then(function(v){return{toArrayBuffer:function(){return v},toBuffer:function(){return Buffer.from(v)}}})}return Zt.styleMapping=function(){throw new Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)},Zt}var v6=b6();const x6=Sg(v6);var Ps={exports:{}},D6=Ps.exports,ax;function _6(){return ax||(ax=1,function(t,e){(function(r,i){t.exports=i($e,KT)})(D6,function(n,r){return function(i){var o={};function a(s){if(o[s])return o[s].exports;var c=o[s]={i:s,l:!1,exports:{}};return i[s].call(c.exports,c,c.exports,a),c.l=!0,c.exports}return a.m=i,a.c=o,a.d=function(s,c,l){a.o(s,c)||Object.defineProperty(s,c,{enumerable:!0,get:l})},a.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},a.t=function(s,c){if(c&1&&(s=a(s)),c&8||c&4&&typeof s=="object"&&s&&s.__esModule)return s;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:s}),c&2&&typeof s!="string")for(var u in s)a.d(l,u,(function(d){return s[d]}).bind(null,u));return l},a.n=function(s){var c=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(c,"a",c),c},a.o=function(s,c){return Object.prototype.hasOwnProperty.call(s,c)},a.p="",a(a.s=4)}([function(i,o,a){i.exports=a(5)()},function(i,o){i.exports=n},function(i,o){i.exports=r},function(i,o){i.exports=function(a,s,c){var l=a.direction,u=a.value;switch(l){case"top":return c.top+u<s.top&&c.bottom>s.bottom&&c.left<s.left&&c.right>s.right;case"left":return c.left+u<s.left&&c.bottom>s.bottom&&c.top<s.top&&c.right>s.right;case"bottom":return c.bottom-u>s.bottom&&c.left<s.left&&c.right>s.right&&c.top<s.top;case"right":return c.right-u>s.right&&c.left<s.left&&c.top<s.top&&c.bottom>s.bottom}}},function(i,o,a){a.r(o),a.d(o,"default",function(){return O});var s=a(1),c=a.n(s),l=a(2),u=a.n(l),d=a(0),f=a.n(d),h=a(3),m=a.n(h);function g(P){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(k){return typeof k}:g=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},g(P)}function p(P,E){if(!(P instanceof E))throw new TypeError("Cannot call a class as a function")}function y(P,E){for(var k=0;k<E.length;k++){var x=E[k];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(P,x.key,x)}}function b(P,E,k){return E&&y(P.prototype,E),P}function v(P,E){return E&&(g(E)==="object"||typeof E=="function")?E:_(P)}function D(P){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)},D(P)}function _(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function T(P,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(E&&E.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),E&&S(P,E)}function S(P,E){return S=Object.setPrototypeOf||function(x,z){return x.__proto__=z,x},S(P,E)}function C(P,E,k){return E in P?Object.defineProperty(P,E,{value:k,enumerable:!0,configurable:!0,writable:!0}):P[E]=k,P}function A(P){return P.width===void 0&&(P.width=P.right-P.left),P.height===void 0&&(P.height=P.bottom-P.top),P}var O=function(P){T(E,P);function E(k){var x;return p(this,E),x=v(this,D(E).call(this,k)),C(_(x),"getContainer",function(){return x.props.containment||window}),C(_(x),"addEventListener",function(z,R,F,G){x.debounceCheck||(x.debounceCheck={});var B,V,L=function(){B=null,x.check()};G>-1?V=function(){B||(B=setTimeout(L,G||0))}:V=function(){clearTimeout(B),B=setTimeout(L,F||0)};var I={target:z,fn:V,getLastTimeout:function(){return B}};z.addEventListener(R,I.fn),x.debounceCheck[R]=I}),C(_(x),"startWatching",function(){x.debounceCheck||x.interval||(x.props.intervalCheck&&(x.interval=setInterval(x.check,x.props.intervalDelay)),x.props.scrollCheck&&x.addEventListener(x.getContainer(),"scroll",x.props.scrollDelay,x.props.scrollThrottle),x.props.resizeCheck&&x.addEventListener(window,"resize",x.props.resizeDelay,x.props.resizeThrottle),!x.props.delayedCall&&x.check())}),C(_(x),"stopWatching",function(){if(x.debounceCheck){for(var z in x.debounceCheck)if(x.debounceCheck.hasOwnProperty(z)){var R=x.debounceCheck[z];clearTimeout(R.getLastTimeout()),R.target.removeEventListener(z,R.fn),x.debounceCheck[z]=null}}x.debounceCheck=null,x.interval&&(x.interval=clearInterval(x.interval))}),C(_(x),"check",function(){var z=x.node,R,F;if(!z)return x.state;if(R=A(x.roundRectDown(z.getBoundingClientRect())),x.props.containment){var G=x.props.containment.getBoundingClientRect();F={top:G.top,left:G.left,bottom:G.bottom,right:G.right}}else F={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var B=x.props.offset||{},V=g(B)==="object";V&&(F.top+=B.top||0,F.left+=B.left||0,F.bottom-=B.bottom||0,F.right-=B.right||0);var L={top:R.top>=F.top,left:R.left>=F.left,bottom:R.bottom<=F.bottom,right:R.right<=F.right},I=R.height>0&&R.width>0,ne=I&&L.top&&L.left&&L.bottom&&L.right;if(I&&x.props.partialVisibility){var H=R.top<=F.bottom&&R.bottom>=F.top&&R.left<=F.right&&R.right>=F.left;typeof x.props.partialVisibility=="string"&&(H=L[x.props.partialVisibility]),ne=x.props.minTopValue?H&&R.top<=F.bottom-x.props.minTopValue:H}typeof B.direction=="string"&&typeof B.value=="number"&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",B.direction,B.value),ne=m()(B,R,F));var Z=x.state;return x.state.isVisible!==ne&&(Z={isVisible:ne,visibilityRect:L},x.setState(Z),x.props.onChange&&x.props.onChange(ne)),Z}),x.state={isVisible:null,visibilityRect:{}},x}return b(E,[{key:"componentDidMount",value:function(){this.node=u.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(x){this.node=u.a.findDOMNode(this),this.props.active&&!x.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(x){return{top:Math.floor(x.top),left:Math.floor(x.left),bottom:Math.floor(x.bottom),right:Math.floor(x.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):c.a.Children.only(this.props.children)}}]),E}(c.a.Component);C(O,"defaultProps",{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:c.a.createElement("span",null)}),C(O,"propTypes",{onChange:f.a.func,active:f.a.bool,partialVisibility:f.a.oneOfType([f.a.bool,f.a.oneOf(["top","right","bottom","left"])]),delayedCall:f.a.bool,offset:f.a.oneOfType([f.a.shape({top:f.a.number,left:f.a.number,bottom:f.a.number,right:f.a.number}),f.a.shape({direction:f.a.oneOf(["top","right","bottom","left"]),value:f.a.number})]),scrollCheck:f.a.bool,scrollDelay:f.a.number,scrollThrottle:f.a.number,resizeCheck:f.a.bool,resizeDelay:f.a.number,resizeThrottle:f.a.number,intervalCheck:f.a.bool,intervalDelay:f.a.number,containment:typeof window<"u"?f.a.instanceOf(window.Element):f.a.any,children:f.a.oneOfType([f.a.element,f.a.func]),minTopValue:f.a.number})},function(i,o,a){var s=a(6);function c(){}function l(){}l.resetWarningCache=c,i.exports=function(){function u(h,m,g,p,y,b){if(b!==s){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}}u.isRequired=u;function d(){return u}var f={array:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:d,element:u,elementType:u,instanceOf:d,node:u,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:l,resetWarningCache:c};return f.PropTypes=f,f}},function(i,o,a){var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";i.exports=s}])})}(Ps)),Ps.exports}var w6=_6();const E6=Sg(w6),ts="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",T6=t=>{t=t.replace(/\r\n/g,`
286
+ `);let e=0,n="";for(;e<t.length;e++){const r=t.charCodeAt(e);r<128?n+=String.fromCharCode(r):r>127&&r<2048?(n+=String.fromCharCode(r>>6|192),n+=String.fromCharCode(63&r|128)):(n+=String.fromCharCode(r>>12|224),n+=String.fromCharCode(r>>6&63|128),n+=String.fromCharCode(63&r|128))}return n},S6=t=>{let e,n,r,i,o,a,s,c=0,l="";for(t=T6(t);c<t.length;)e=t.charCodeAt(c++),n=t.charCodeAt(c++),r=t.charCodeAt(c++),i=e>>2,o=(3&e)<<4|n>>4,a=(15&n)<<2|r>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),l=l+ts.charAt(i)+ts.charAt(o)+ts.charAt(a)+ts.charAt(s);return l},A6=t=>typeof t=="string"?"string":typeof SVGElement<"u"&&t instanceof SVGElement?"element":void 0,FT=t=>"data:image/svg+xml;base64,"+S6(t),C6=t=>FT(new XMLSerializer().serializeToString(t)),U6=t=>{switch(A6(t)){case"string":return FT(t);case"element":return C6(t);default:return t}},k6="_verified_lvyh0_1",Sm={verified:k6},O6=()=>ce.jsx("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:Sm.verified,children:ce.jsx("g",{children:ce.jsx("path",{d:"M22.25 12c0-1.43-.88-2.67-2.19-3.34.46-1.39.2-2.9-.81-3.91s-2.52-1.27-3.91-.81c-.66-1.31-1.91-2.19-3.34-2.19s-2.67.88-3.33 2.19c-1.4-.46-2.91-.2-3.92.81s-1.26 2.52-.8 3.91c-1.31.67-2.2 1.91-2.2 3.34s.89 2.67 2.2 3.34c-.46 1.39-.21 2.9.8 3.91s2.52 1.26 3.91.81c.67 1.31 1.91 2.19 3.34 2.19s2.68-.88 3.34-2.19c1.39.45 2.9.2 3.91-.81s1.27-2.52.81-3.91c1.31-.67 2.19-1.91 2.19-3.34zm-11.71 4.2L6.8 12.46l1.41-1.42 2.26 2.26 4.8-5.23 1.47 1.36-6.2 6.77z"})})}),R6=()=>ce.jsx("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:Sm.verified,children:ce.jsxs("g",{children:[ce.jsxs("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-a",x1:"4.411",x2:"18.083",y1:"2.495",y2:"21.508",children:[ce.jsx("stop",{offset:"0",stopColor:"#f4e72a"}),ce.jsx("stop",{offset:".539",stopColor:"#cd8105"}),ce.jsx("stop",{offset:".68",stopColor:"#cb7b00"}),ce.jsx("stop",{offset:"1",stopColor:"#f4ec26"}),ce.jsx("stop",{offset:"1",stopColor:"#f4e72a"})]}),ce.jsxs("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-b",x1:"5.355",x2:"16.361",y1:"3.395",y2:"19.133",children:[ce.jsx("stop",{offset:"0",stopColor:"#f9e87f"}),ce.jsx("stop",{offset:".406",stopColor:"#e2b719"}),ce.jsx("stop",{offset:".989",stopColor:"#e2b719"})]}),ce.jsxs("g",{clipRule:"evenodd",fillRule:"evenodd",children:[ce.jsx("path",{d:"M13.324 3.848L11 1.6 8.676 3.848l-3.201-.453-.559 3.184L2.06 8.095 3.48 11l-1.42 2.904 2.856 1.516.559 3.184 3.201-.452L11 20.4l2.324-2.248 3.201.452.559-3.184 2.856-1.516L18.52 11l1.42-2.905-2.856-1.516-.559-3.184zm-7.09 7.575l3.428 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-a)"}),ce.jsx("path",{d:"M13.101 4.533L11 2.5 8.899 4.533l-2.895-.41-.505 2.88-2.583 1.37L4.2 11l-1.284 2.627 2.583 1.37.505 2.88 2.895-.41L11 19.5l2.101-2.033 2.895.41.505-2.88 2.583-1.37L17.8 11l1.284-2.627-2.583-1.37-.505-2.88zm-6.868 6.89l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-b)"}),ce.jsx("path",{d:"M6.233 11.423l3.429 3.428 5.65-6.17.038-.033-.005 1.398-5.683 6.206-3.429-3.429-.003-1.405.005.003z",fill:"#d18800"})]})]})}),F6=()=>ce.jsx("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:Sm.verified,children:ce.jsx("g",{children:ce.jsx("path",{clipRule:"evenodd",d:"M12.05 2.056c-.568-.608-1.532-.608-2.1 0l-1.393 1.49c-.284.303-.685.47-1.1.455L5.42 3.932c-.832-.028-1.514.654-1.486 1.486l.069 2.039c.014.415-.152.816-.456 1.1l-1.49 1.392c-.608.568-.608 1.533 0 2.101l1.49 1.393c.304.284.47.684.456 1.1l-.07 2.038c-.027.832.655 1.514 1.487 1.486l2.038-.069c.415-.014.816.152 1.1.455l1.392 1.49c.569.609 1.533.609 2.102 0l1.393-1.49c.283-.303.684-.47 1.099-.455l2.038.069c.832.028 1.515-.654 1.486-1.486L18 14.542c-.015-.415.152-.815.455-1.099l1.49-1.393c.608-.568.608-1.533 0-2.101l-1.49-1.393c-.303-.283-.47-.684-.455-1.1l.068-2.038c.029-.832-.654-1.514-1.486-1.486l-2.038.07c-.415.013-.816-.153-1.1-.456zm-5.817 9.367l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fillRule:"evenodd"})})}),I6="_root_98iqw_1",N6="_article_98iqw_21",sx={root:I6,article:N6},Am=({className:t,children:e})=>ce.jsx("div",{className:Tn("react-tweet-theme",sx.root,t),children:ce.jsx("article",{className:sx.article,children:e})}),IT=t=>ce.jsx("img",{...t}),B6="_header_nqq4j_1",M6="_avatar_nqq4j_11",L6="_avatarOverflow_nqq4j_16",W6="_avatarSquare_nqq4j_23",P6="_avatarShadow_nqq4j_26",q6="_author_nqq4j_37",z6="_authorLink_nqq4j_44",$6="_authorVerified_nqq4j_53",j6="_authorLinkText_nqq4j_56",V6="_authorMeta_nqq4j_63",H6="_authorFollow_nqq4j_66",G6="_username_nqq4j_69",X6="_follow_nqq4j_74",K6="_separator_nqq4j_82",Z6="_brand_nqq4j_86",J6="_twitterIcon_nqq4j_90",dt={header:B6,avatar:M6,avatarOverflow:L6,avatarSquare:W6,avatarShadow:P6,author:q6,authorLink:z6,authorVerified:$6,authorLinkText:j6,authorMeta:V6,authorFollow:H6,username:G6,follow:X6,separator:K6,brand:Z6,twitterIcon:J6},Y6="_verifiedOld_lcna5_1",Q6="_verifiedBlue_lcna5_4",e9="_verifiedGovernment_lcna5_7",ah={verifiedOld:Y6,verifiedBlue:Q6,verifiedGovernment:e9},NT=({user:t,className:e})=>{const n=t.verified||t.is_blue_verified||t.verified_type;let r=ce.jsx(O6,{}),i=ah.verifiedBlue;if(n)switch(t.is_blue_verified||(i=ah.verifiedOld),t.verified_type){case"Government":r=ce.jsx(F6,{}),i=ah.verifiedGovernment;break;case"Business":r=ce.jsx(R6,{}),i=null;break}return n?ce.jsx("div",{className:Tn(e,i),children:r}):null},t9=({tweet:t,components:e})=>{var n;const r=(n=e==null?void 0:e.AvatarImg)!=null?n:IT,{user:i}=t;return ce.jsxs("div",{className:dt.header,children:[ce.jsxs("a",{href:t.url,className:dt.avatar,target:"_blank",rel:"noopener noreferrer",children:[ce.jsx("div",{className:Tn(dt.avatarOverflow,i.profile_image_shape==="Square"&&dt.avatarSquare),children:ce.jsx(r,{src:i.profile_image_url_https,alt:i.name,width:48,height:48})}),ce.jsx("div",{className:dt.avatarOverflow,children:ce.jsx("div",{className:dt.avatarShadow})})]}),ce.jsxs("div",{className:dt.author,children:[ce.jsxs("a",{href:t.url,className:dt.authorLink,target:"_blank",rel:"noopener noreferrer",children:[ce.jsx("div",{className:dt.authorLinkText,children:ce.jsx("span",{title:i.name,children:i.name})}),ce.jsx(NT,{user:i,className:dt.authorVerified})]}),ce.jsxs("div",{className:dt.authorMeta,children:[ce.jsx("a",{href:t.url,className:dt.username,target:"_blank",rel:"noopener noreferrer",children:ce.jsxs("span",{title:`@${i.screen_name}`,children:["@",i.screen_name]})}),ce.jsxs("div",{className:dt.authorFollow,children:[ce.jsx("span",{className:dt.separator,children:"·"}),ce.jsx("a",{href:i.follow_url,className:dt.follow,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),ce.jsx("a",{href:t.url,className:dt.brand,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:ce.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:dt.twitterIcon,children:ce.jsx("g",{children:ce.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})})]})},n9="_root_1ec15_1",r9={root:n9},i9=({tweet:t})=>ce.jsxs("a",{href:t.in_reply_to_url,className:r9.root,target:"_blank",rel:"noopener noreferrer",children:["Replying to @",t.in_reply_to_screen_name]}),o9="_root_eihfa_1",a9={root:o9},s9=({href:t,children:e})=>ce.jsx("a",{href:t,className:a9.root,target:"_blank",rel:"noopener noreferrer nofollow",children:e}),c9="_root_1xq52_1",l9={root:c9},u9=({tweet:t})=>ce.jsx("p",{className:l9.root,lang:t.lang,dir:"auto",children:t.entities.map((e,n)=>{switch(e.type){case"hashtag":case"mention":case"url":case"symbol":return ce.jsx(s9,{href:e.href,children:e.text},n);case"media":return;default:return ce.jsx("span",{dangerouslySetInnerHTML:{__html:e.text}},n)}})}),cx=t=>`https://x.com/${t.user.screen_name}/status/${t.id_str}`,BT=t=>`https://x.com/${typeof t=="string"?t:t.user.screen_name}`,d9=t=>`https://x.com/intent/like?tweet_id=${t.id_str}`,f9=t=>`https://x.com/intent/tweet?in_reply_to=${t.id_str}`,h9=t=>`https://x.com/intent/follow?screen_name=${t.user.screen_name}`,p9=t=>`https://x.com/hashtag/${t.text}`,g9=t=>`https://x.com/search?q=%24${t.text}`,m9=t=>`https://x.com/${t.in_reply_to_screen_name}/status/${t.in_reply_to_status_id_str}`,MT=(t,e)=>{const n=new URL(t.media_url_https),r=n.pathname.split(".").pop();return r?(n.pathname=n.pathname.replace(`.${r}`,""),n.searchParams.set("format",r),n.searchParams.set("name",e),n.toString()):t.media_url_https},y9=t=>{const{variants:e}=t.video_info;return e.filter(r=>r.content_type==="video/mp4").sort((r,i)=>{var o,a;return((o=i.bitrate)!=null?o:0)-((a=r.bitrate)!=null?a:0)})},b9=t=>{const e=y9(t);return e.length>1?e[1]:e[0]},yp=t=>t>999999?`${(t/1e6).toFixed(1)}M`:t>999?`${(t/1e3).toFixed(1)}K`:t.toString();function lx(t){const e=Array.from(t.text),n=[{indices:t.display_text_range,type:"text"}];return Oo(n,"hashtag",t.entities.hashtags),Oo(n,"mention",t.entities.user_mentions),Oo(n,"url",t.entities.urls),Oo(n,"symbol",t.entities.symbols),t.entities.media&&Oo(n,"media",t.entities.media),v9(t,n),n.map(r=>{const i=e.slice(r.indices[0],r.indices[1]).join("");switch(r.type){case"hashtag":return Object.assign(r,{href:p9(r),text:i});case"mention":return Object.assign(r,{href:BT(r.screen_name),text:i});case"url":case"media":return Object.assign(r,{href:r.expanded_url,text:r.display_url});case"symbol":return Object.assign(r,{href:g9(r),text:i});default:return Object.assign(r,{text:i})}})}function Oo(t,e,n){for(const r of n)for(const[i,o]of t.entries()){if(o.indices[0]>r.indices[0]||o.indices[1]<r.indices[1])continue;const a=[{...r,type:e}];o.indices[0]<r.indices[0]&&a.unshift({indices:[o.indices[0],r.indices[0]],type:"text"}),o.indices[1]>r.indices[1]&&a.push({indices:[r.indices[1],o.indices[1]],type:"text"}),t.splice(i,1,...a);break}}function v9(t,e){t.entities.media&&t.entities.media[0].indices[0]<t.display_text_range[1]&&(t.display_text_range[1]=t.entities.media[0].indices[0]);const n=e.at(-1);n&&n.indices[1]>t.display_text_range[1]&&(n.indices[1]=t.display_text_range[1])}const x9=t=>({...t,url:cx(t),user:{...t.user,url:BT(t),follow_url:h9(t)},like_url:d9(t),reply_url:f9(t),in_reply_to_url:t.in_reply_to_screen_name?m9(t):void 0,entities:lx(t),quoted_tweet:t.quoted_tweet?{...t.quoted_tweet,url:cx(t.quoted_tweet),entities:lx(t.quoted_tweet)}:void 0}),D9="_root_g9tkv_1",_9="_rounded_g9tkv_6",w9="_mediaWrapper_g9tkv_10",E9="_grid2Columns_g9tkv_17",T9="_grid3_g9tkv_20",S9="_grid2x2_g9tkv_23",A9="_mediaContainer_g9tkv_26",C9="_mediaLink_g9tkv_34",U9="_skeleton_g9tkv_38",k9="_image_g9tkv_43",Pt={root:D9,rounded:_9,mediaWrapper:w9,grid2Columns:E9,grid3:T9,grid2x2:S9,mediaContainer:A9,mediaLink:C9,skeleton:U9,image:k9},O9="_anchor_fp31d_1",R9="_videoButton_fp31d_17",F9="_videoButtonIcon_fp31d_35",I9="_watchOnTwitter_fp31d_44",N9="_viewReplies_fp31d_60",Ui={anchor:O9,videoButton:R9,videoButtonIcon:F9,watchOnTwitter:I9,viewReplies:N9},B9=({tweet:t,media:e})=>{const[n,r]=$e.useState(!0),[i,o]=$e.useState(!1),[a,s]=$e.useState(!1),c=b9(e);let l=0;return ce.jsxs(ce.Fragment,{children:[ce.jsx("video",{className:Pt.image,poster:MT(e,"small"),controls:!n,playsInline:!0,preload:"none",tabIndex:n?-1:0,onPlay:()=>{l&&window.clearTimeout(l),i||o(!0),a&&s(!1)},onPause:()=>{l&&window.clearTimeout(l),l=window.setTimeout(()=>{i&&o(!1),l=0},100)},onEnded:()=>{s(!0)},children:ce.jsx("source",{src:c.url,type:c.content_type})}),n&&ce.jsx("button",{type:"button",className:Ui.videoButton,"aria-label":"View video on X",onClick:u=>{const d=u.currentTarget.previousSibling;u.preventDefault(),r(!1),d.load(),d.play().then(()=>{o(!0),d.focus()}).catch(f=>{console.error("Error playing video:",f),r(!0),o(!1)})},children:ce.jsx("svg",{viewBox:"0 0 24 24",className:Ui.videoButtonIcon,"aria-hidden":"true",children:ce.jsx("g",{children:ce.jsx("path",{d:"M21 12L4 2v20l17-10z"})})})}),!i&&!a&&ce.jsx("div",{className:Ui.watchOnTwitter,children:ce.jsx("a",{href:t.url,className:Ui.anchor,target:"_blank",rel:"noopener noreferrer",children:n?"Watch on X":"Continue watching on X"})}),a&&ce.jsx("a",{href:t.url,className:Tn(Ui.anchor,Ui.viewReplies),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},M9=t=>ce.jsx("img",{...t}),ux=(t,e)=>{let n=56.25;return e===1&&(n=100/t.original_info.width*t.original_info.height),e===2&&(n=n*2),{width:t.type==="photo"?void 0:"unset",paddingBottom:`${n}%`}},LT=({tweet:t,components:e,quoted:n})=>{var r,i,o;const a=(o=(r=t.mediaDetails)==null?void 0:r.length)!=null?o:0;var s;const c=(s=e==null?void 0:e.MediaImg)!=null?s:M9;return ce.jsx("div",{className:Tn(Pt.root,!n&&Pt.rounded),children:ce.jsx("div",{className:Tn(Pt.mediaWrapper,a>1&&Pt.grid2Columns,a===3&&Pt.grid3,a>4&&Pt.grid2x2),children:(i=t.mediaDetails)==null?void 0:i.map(l=>ce.jsx($e.Fragment,{children:l.type==="photo"?ce.jsxs("a",{href:t.url,className:Tn(Pt.mediaContainer,Pt.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[ce.jsx("div",{className:Pt.skeleton,style:ux(l,a)}),ce.jsx(c,{src:MT(l,"small"),alt:l.ext_alt_text||"Image",className:Pt.image,draggable:!0})]},l.media_url_https):ce.jsxs("div",{className:Pt.mediaContainer,children:[ce.jsx("div",{className:Pt.skeleton,style:ux(l,a)}),ce.jsx(B9,{tweet:t,media:l})]},l.media_url_https)},l.media_url_https))})})},L9={hour:"numeric",minute:"2-digit",hour12:!0,weekday:"short",month:"short",day:"numeric",year:"numeric"},W9=new Intl.DateTimeFormat("en-US",L9),P9=t=>{const e={};for(const n of t)e[n.type]=n.value;return e},q9=t=>{const e=P9(W9.formatToParts(t)),n=`${e.hour}:${e.minute} ${e.dayPeriod}`,r=`${e.month} ${e.day}, ${e.year}`;return`${n} · ${r}`},z9="_root_i24yn_1",$9={root:z9},j9=({tweet:t})=>{const e=new Date(t.created_at),n=q9(e);return ce.jsx("a",{className:$9.root,href:t.url,target:"_blank",rel:"noopener noreferrer","aria-label":n,children:ce.jsx("time",{dateTime:e.toISOString(),children:n})})},V9="_info_19qcj_1",H9="_infoLink_19qcj_10",G9="_infoIcon_19qcj_30",sh={info:V9,infoLink:H9,infoIcon:G9},X9=({tweet:t})=>ce.jsxs("div",{className:sh.info,children:[ce.jsx(j9,{tweet:t}),ce.jsx("a",{className:sh.infoLink,href:"https://help.x.com/en/x-for-websites-ads-info-and-privacy",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter for Websites, Ads Information and Privacy",children:ce.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:sh.infoIcon,children:ce.jsx("g",{children:ce.jsx("path",{d:"M13.5 8.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5S11.17 7 12 7s1.5.67 1.5 1.5zM13 17v-5h-2v5h2zm-1 5.25c5.66 0 10.25-4.59 10.25-10.25S17.66 1.75 12 1.75 1.75 6.34 1.75 12 6.34 22.25 12 22.25zM20.25 12c0 4.56-3.69 8.25-8.25 8.25S3.75 16.56 3.75 12 7.44 3.75 12 3.75s8.25 3.69 8.25 8.25z"})})})})]}),K9="_actions_n2anf_1",Z9="_like_n2anf_13",J9="_reply_n2anf_14",Y9="_copy_n2anf_15",Q9="_likeIconWrapper_n2anf_27",eB="_likeCount_n2anf_30",tB="_replyIconWrapper_n2anf_35",nB="_copyIconWrapper_n2anf_36",rB="_likeIcon_n2anf_27",iB="_replyIcon_n2anf_35",oB="_copyIcon_n2anf_36",aB="_replyText_n2anf_56",sB="_copyText_n2anf_57",Ft={actions:K9,like:Z9,reply:J9,copy:Y9,likeIconWrapper:Q9,likeCount:eB,replyIconWrapper:tB,copyIconWrapper:nB,likeIcon:rB,replyIcon:iB,copyIcon:oB,replyText:aB,copyText:sB},cB=({tweet:t})=>{const[e,n]=$e.useState(!1),r=()=>{navigator.clipboard.writeText(t.url),n(!0)};return $e.useEffect(()=>{if(e){const i=setTimeout(()=>{n(!1)},6e3);return()=>clearTimeout(i)}},[e]),ce.jsxs("button",{type:"button",className:Ft.copy,"aria-label":"Copy link",onClick:r,children:[ce.jsx("div",{className:Ft.copyIconWrapper,children:e?ce.jsx("svg",{viewBox:"0 0 24 24",className:Ft.copyIcon,"aria-hidden":"true",children:ce.jsx("g",{children:ce.jsx("path",{d:"M9.64 18.952l-5.55-4.861 1.317-1.504 3.951 3.459 8.459-10.948L19.4 6.32 9.64 18.952z"})})}):ce.jsx("svg",{viewBox:"0 0 24 24",className:Ft.copyIcon,"aria-hidden":"true",children:ce.jsx("g",{children:ce.jsx("path",{d:"M18.36 5.64c-1.95-1.96-5.11-1.96-7.07 0L9.88 7.05 8.46 5.64l1.42-1.42c2.73-2.73 7.16-2.73 9.9 0 2.73 2.74 2.73 7.17 0 9.9l-1.42 1.42-1.41-1.42 1.41-1.41c1.96-1.96 1.96-5.12 0-7.07zm-2.12 3.53l-7.07 7.07-1.41-1.41 7.07-7.07 1.41 1.41zm-12.02.71l1.42-1.42 1.41 1.42-1.41 1.41c-1.96 1.96-1.96 5.12 0 7.07 1.95 1.96 5.11 1.96 7.07 0l1.41-1.41 1.42 1.41-1.42 1.42c-2.73 2.73-7.16 2.73-9.9 0-2.73-2.74-2.73-7.17 0-9.9z"})})})}),ce.jsx("span",{className:Ft.copyText,children:e?"Copied!":"Copy link"})]})},lB=({tweet:t})=>{const e=yp(t.favorite_count);return ce.jsxs("div",{className:Ft.actions,children:[ce.jsxs("a",{className:Ft.like,href:t.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":`Like. This Tweet has ${e} likes`,children:[ce.jsx("div",{className:Ft.likeIconWrapper,children:ce.jsx("svg",{viewBox:"0 0 24 24",className:Ft.likeIcon,"aria-hidden":"true",children:ce.jsx("g",{children:ce.jsx("path",{d:"M20.884 13.19c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z"})})})}),ce.jsx("span",{className:Ft.likeCount,children:e})]}),ce.jsxs("a",{className:Ft.reply,href:t.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[ce.jsx("div",{className:Ft.replyIconWrapper,children:ce.jsx("svg",{viewBox:"0 0 24 24",className:Ft.replyIcon,"aria-hidden":"true",children:ce.jsx("g",{children:ce.jsx("path",{d:"M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01z"})})})}),ce.jsx("span",{className:Ft.replyText,children:"Reply"})]}),ce.jsx(cB,{tweet:t})]})},uB="_replies_1cutb_1",dB="_link_1cutb_4",fB="_text_1cutb_23",ch={replies:uB,link:dB,text:fB},hB=({tweet:t})=>ce.jsx("div",{className:ch.replies,children:ce.jsx("a",{className:ch.link,href:t.url,target:"_blank",rel:"noopener noreferrer",children:ce.jsx("span",{className:ch.text,children:t.conversation_count===0?"Read more on X":t.conversation_count===1?`Read ${yp(t.conversation_count)} reply`:`Read ${yp(t.conversation_count)} replies`})})}),pB="_root_q5799_1",gB="_article_q5799_16",dx={root:pB,article:gB},mB=({tweet:t,children:e})=>ce.jsx("div",{className:dx.root,onClick:n=>{n.preventDefault(),window.open(t.url,"_blank")},children:ce.jsx("article",{className:dx.article,children:e})}),yB="_header_r31i5_1",bB="_avatar_r31i5_11",vB="_avatarSquare_r31i5_17",xB="_author_r31i5_21",DB="_authorText_r31i5_26",_B="_username_r31i5_33",zr={header:yB,avatar:bB,avatarSquare:vB,author:xB,authorText:DB,username:_B},wB=({tweet:t})=>{const{user:e}=t;return ce.jsxs("div",{className:zr.header,children:[ce.jsx("a",{href:t.url,className:zr.avatar,target:"_blank",rel:"noopener noreferrer",children:ce.jsx("div",{className:Tn(zr.avatarOverflow,e.profile_image_shape==="Square"&&zr.avatarSquare),children:ce.jsx(IT,{src:e.profile_image_url_https,alt:e.name,width:20,height:20})})}),ce.jsxs("div",{className:zr.author,children:[ce.jsx("div",{className:zr.authorText,children:ce.jsx("span",{title:e.name,children:e.name})}),ce.jsx(NT,{user:e}),ce.jsx("div",{className:zr.username,children:ce.jsxs("span",{title:`@${e.screen_name}`,children:["@",e.screen_name]})})]})]})},EB="_root_175ot_1",TB={root:EB},SB=({tweet:t})=>ce.jsx("p",{className:TB.root,lang:t.lang,dir:"auto",children:t.entities.map((e,n)=>ce.jsx("span",{dangerouslySetInnerHTML:{__html:e.text}},n))}),AB=({tweet:t})=>{var e;return ce.jsxs(mB,{tweet:t,children:[ce.jsx(wB,{tweet:t}),ce.jsx(SB,{tweet:t}),(e=t.mediaDetails)!=null&&e.length?ce.jsx(LT,{quoted:!0,tweet:t}):null]})},CB=({tweet:t,components:e})=>{var n;const r=$e.useMemo(()=>x9(t),[t]);return ce.jsxs(Am,{children:[ce.jsx(t9,{tweet:r,components:e}),r.in_reply_to_status_id_str&&ce.jsx(i9,{tweet:r}),ce.jsx(u9,{tweet:r}),(n=r.mediaDetails)!=null&&n.length?ce.jsx(LT,{tweet:r,components:e}):null,r.quoted_tweet&&ce.jsx(AB,{tweet:r.quoted_tweet}),ce.jsx(X9,{tweet:r}),ce.jsx(lB,{tweet:r}),ce.jsx(hB,{tweet:r})]})},UB="_root_16yxa_1",kB={root:UB},OB=t=>ce.jsx(Am,{children:ce.jsxs("div",{className:kB.root,children:[ce.jsx("h3",{children:"Tweet not found"}),ce.jsx("p",{children:"The embedded tweet could not be found…"})]})}),RB="_skeleton_oi7hr_1",FB={skeleton:RB},ns=({style:t})=>ce.jsx("span",{className:FB.skeleton,style:t}),IB="_root_17qqv_1",NB={root:IB},BB=()=>ce.jsxs(Am,{className:NB.root,children:[ce.jsx(ns,{style:{height:"3rem",marginBottom:"0.75rem"}}),ce.jsx(ns,{style:{height:"6rem",margin:"0.5rem 0"}}),ce.jsx("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),ce.jsx(ns,{style:{height:"2rem"}}),ce.jsx(ns,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]});var rs={exports:{}},lh={};/**
287
+ * @license React
288
+ * use-sync-external-store-shim.production.js
289
+ *
290
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
291
+ *
292
+ * This source code is licensed under the MIT license found in the
293
+ * LICENSE file in the root directory of this source tree.
294
+ */var fx;function MB(){if(fx)return lh;fx=1;var t=$e;function e(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,i=t.useEffect,o=t.useLayoutEffect,a=t.useDebugValue;function s(d,f){var h=f(),m=r({inst:{value:h,getSnapshot:f}}),g=m[0].inst,p=m[1];return o(function(){g.value=h,g.getSnapshot=f,c(g)&&p({inst:g})},[d,h,f]),i(function(){return c(g)&&p({inst:g}),d(function(){c(g)&&p({inst:g})})},[d]),a(h),h}function c(d){var f=d.getSnapshot;d=d.value;try{var h=f();return!n(d,h)}catch{return!0}}function l(d,f){return f()}var u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:s;return lh.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:u,lh}var uh={};/**
295
+ * @license React
296
+ * use-sync-external-store-shim.development.js
297
+ *
298
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
299
+ *
300
+ * This source code is licensed under the MIT license found in the
301
+ * LICENSE file in the root directory of this source tree.
302
+ */var hx;function LB(){return hx||(hx=1,process.env.NODE_ENV!=="production"&&function(){function t(h,m){return h===m&&(h!==0||1/h===1/m)||h!==h&&m!==m}function e(h,m){u||i.startTransition===void 0||(u=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var g=m();if(!d){var p=m();o(g,p)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),d=!0)}p=a({inst:{value:g,getSnapshot:m}});var y=p[0].inst,b=p[1];return c(function(){y.value=g,y.getSnapshot=m,n(y)&&b({inst:y})},[h,g,m]),s(function(){return n(y)&&b({inst:y}),h(function(){n(y)&&b({inst:y})})},[h]),l(g),g}function n(h){var m=h.getSnapshot;h=h.value;try{var g=m();return!o(h,g)}catch{return!0}}function r(h,m){return m()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=$e,o=typeof Object.is=="function"?Object.is:t,a=i.useState,s=i.useEffect,c=i.useLayoutEffect,l=i.useDebugValue,u=!1,d=!1,f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:e;uh.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:f,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),uh}var px;function WB(){return px||(px=1,process.env.NODE_ENV==="production"?rs.exports=MB():rs.exports=LB()),rs.exports}var PB=WB();const WT=0,PT=1,qT=2,gx=3;var mx=Object.prototype.hasOwnProperty;function bp(t,e){var n,r;if(t===e)return!0;if(t&&e&&(n=t.constructor)===e.constructor){if(n===Date)return t.getTime()===e.getTime();if(n===RegExp)return t.toString()===e.toString();if(n===Array){if((r=t.length)===e.length)for(;r--&&bp(t[r],e[r]););return r===-1}if(!n||typeof t=="object"){r=0;for(n in t)if(mx.call(t,n)&&++r&&!mx.call(e,n)||!(n in e)||!bp(t[n],e[n]))return!1;return Object.keys(e).length===r}}return t!==t&&e!==e}const $n=new WeakMap,yr=()=>{},St=yr(),vp=Object,Le=t=>t===St,_n=t=>typeof t=="function",Sr=(t,e)=>({...t,...e}),zT=t=>_n(t.then),dh={},is={},Cm="undefined",_a=typeof window!=Cm,xp=typeof document!=Cm,qB=_a&&"Deno"in window,zB=()=>_a&&typeof window.requestAnimationFrame!=Cm,$T=(t,e)=>{const n=$n.get(t);return[()=>!Le(e)&&t.get(e)||dh,r=>{if(!Le(e)){const i=t.get(e);e in is||(is[e]=i),n[5](e,Sr(i,r),i||dh)}},n[6],()=>!Le(e)&&e in is?is[e]:!Le(e)&&t.get(e)||dh]};let Dp=!0;const $B=()=>Dp,[_p,wp]=_a&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[yr,yr],jB=()=>{const t=xp&&document.visibilityState;return Le(t)||t!=="hidden"},VB=t=>(xp&&document.addEventListener("visibilitychange",t),_p("focus",t),()=>{xp&&document.removeEventListener("visibilitychange",t),wp("focus",t)}),HB=t=>{const e=()=>{Dp=!0,t()},n=()=>{Dp=!1};return _p("online",e),_p("offline",n),()=>{wp("online",e),wp("offline",n)}},GB={isOnline:$B,isVisible:jB},XB={initFocus:VB,initReconnect:HB},yx=!$e.useId,pa=!_a||qB,KB=t=>zB()?window.requestAnimationFrame(t):setTimeout(t,1),fh=pa?$e.useEffect:$e.useLayoutEffect,hh=typeof navigator<"u"&&navigator.connection,bx=!pa&&hh&&(["slow-2g","2g"].includes(hh.effectiveType)||hh.saveData),as=new WeakMap,ph=(t,e)=>vp.prototype.toString.call(t)===`[object ${e}]`;let ZB=0;const Ep=t=>{const e=typeof t,n=ph(t,"Date"),r=ph(t,"RegExp"),i=ph(t,"Object");let o,a;if(vp(t)===t&&!n&&!r){if(o=as.get(t),o)return o;if(o=++ZB+"~",as.set(t,o),Array.isArray(t)){for(o="@",a=0;a<t.length;a++)o+=Ep(t[a])+",";as.set(t,o)}if(i){o="#";const s=vp.keys(t).sort();for(;!Le(a=s.pop());)Le(t[a])||(o+=a+":"+Ep(t[a])+",");as.set(t,o)}}else o=n?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},Um=t=>{if(_n(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?Ep(t):"",[t,e]};let JB=0;const Tp=()=>++JB;async function jT(...t){const[e,n,r,i]=t,o=Sr({populateCache:!0,throwOnError:!0},typeof i=="boolean"?{revalidate:i}:i||{});let a=o.populateCache;const s=o.rollbackOnError;let c=o.optimisticData;const l=f=>typeof s=="function"?s(f):s!==!1,u=o.throwOnError;if(_n(n)){const f=n,h=[],m=e.keys();for(const g of m)!/^\$(inf|sub)\$/.test(g)&&f(e.get(g)._k)&&h.push(g);return Promise.all(h.map(d))}return d(n);async function d(f){const[h]=Um(f);if(!h)return;const[m,g]=$T(e,h),[p,y,b,v]=$n.get(e),D=()=>{const k=p[h];return(_n(o.revalidate)?o.revalidate(m().data,f):o.revalidate!==!1)&&(delete b[h],delete v[h],k&&k[0])?k[0](qT).then(()=>m().data):m().data};if(t.length<3)return D();let _=r,T;const S=Tp();y[h]=[S,0];const C=!Le(c),A=m(),O=A.data,P=A._c,E=Le(P)?O:P;if(C&&(c=_n(c)?c(E,O):c,g({data:c,_c:E})),_n(_))try{_=_(E)}catch(k){T=k}if(_&&zT(_))if(_=await _.catch(k=>{T=k}),S!==y[h][0]){if(T)throw T;return _}else T&&C&&l(T)&&(a=!0,g({data:E,_c:St}));if(a&&!T)if(_n(a)){const k=a(_,E);g({data:k,error:St,_c:St})}else g({data:_,error:St,_c:St});if(y[h][1]=Tp(),Promise.resolve(D()).then(()=>{g({_c:St})}),T){if(u)throw T;return}return _}}const vx=(t,e)=>{for(const n in t)t[n][0]&&t[n][0](e)},YB=(t,e)=>{if(!$n.has(t)){const n=Sr(XB,e),r={},i=jT.bind(St,t);let o=yr;const a={},s=(u,d)=>{const f=a[u]||[];return a[u]=f,f.push(d),()=>f.splice(f.indexOf(d),1)},c=(u,d,f)=>{t.set(u,d);const h=a[u];if(h)for(const m of h)m(d,f)},l=()=>{if(!$n.has(t)&&($n.set(t,[r,{},{},{},i,c,s]),!pa)){const u=n.initFocus(setTimeout.bind(St,vx.bind(St,r,WT))),d=n.initReconnect(setTimeout.bind(St,vx.bind(St,r,PT)));o=()=>{u&&u(),d&&d(),$n.delete(t)}}};return l(),[t,i,l,o]}return[t,$n.get(t)[4]]},QB=(t,e,n,r,i)=>{const o=n.errorRetryCount,a=i.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!Le(o)&&a>o||setTimeout(r,s,i)},eM=bp,[VT,tM]=YB(new Map),nM=Sr({onLoadingSlow:yr,onSuccess:yr,onError:yr,onErrorRetry:QB,onDiscarded:yr,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:bx?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:bx?5e3:3e3,compare:eM,isPaused:()=>!1,cache:VT,mutate:tM,fallback:{}},GB),rM=(t,e)=>{const n=Sr(t,e);if(e){const{use:r,fallback:i}=t,{use:o,fallback:a}=e;r&&o&&(n.use=r.concat(o)),i&&a&&(n.fallback=Sr(i,a))}return n},iM=$e.createContext({}),oM="$inf$",HT=_a&&window.__SWR_DEVTOOLS_USE__,aM=HT?window.__SWR_DEVTOOLS_USE__:[],sM=()=>{HT&&(window.__SWR_DEVTOOLS_REACT__=$e)},cM=t=>_n(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],lM=()=>Sr(nM,$e.useContext(iM)),uM=t=>(e,n,r)=>t(e,n&&((...o)=>{const[a]=Um(e),[,,,s]=$n.get(VT);if(a.startsWith(oM))return n(...o);const c=s[a];return Le(c)?n(...o):(delete s[a],c)}),r),dM=aM.concat(uM),fM=t=>function(...n){const r=lM(),[i,o,a]=cM(n),s=rM(r,a);let c=t;const{use:l}=s,u=(l||[]).concat(dM);for(let d=u.length;d--;)c=u[d](c);return c(i,o||s.fetcher||null,s)},hM=(t,e,n)=>{const r=e[t]||(e[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i>=0&&(r[i]=r[r.length-1],r.pop())}};sM();const gh=$e.use||(t=>{switch(t.status){case"pending":throw t;case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}),t}}),mh={dedupe:!0},pM=(t,e,n)=>{const{cache:r,compare:i,suspense:o,fallbackData:a,revalidateOnMount:s,revalidateIfStale:c,refreshInterval:l,refreshWhenHidden:u,refreshWhenOffline:d,keepPreviousData:f}=n,[h,m,g,p]=$n.get(r),[y,b]=Um(t),v=$e.useRef(!1),D=$e.useRef(!1),_=$e.useRef(y),T=$e.useRef(e),S=$e.useRef(n),C=()=>S.current,A=()=>C().isVisible()&&C().isOnline(),[O,P,E,k]=$T(r,y),x=$e.useRef({}).current,z=Le(a)?Le(n.fallback)?St:n.fallback[y]:a,R=(be,w)=>{for(const X in x){const $=X;if($==="data"){if(!i(be[$],w[$])&&(!Le(be[$])||!i(Z,w[$])))return!1}else if(w[$]!==be[$])return!1}return!0},F=$e.useMemo(()=>{const be=!y||!e?!1:Le(s)?C().isPaused()||o?!1:c!==!1:s,w=oe=>{const re=Sr(oe);return delete re._k,be?{isValidating:!0,isLoading:!0,...re}:re},X=O(),$=k(),W=w(X),M=X===$?W:w($);let j=W;return[()=>{const oe=w(O());return R(oe,j)?(j.data=oe.data,j.isLoading=oe.isLoading,j.isValidating=oe.isValidating,j.error=oe.error,j):(j=oe,oe)},()=>M]},[r,y]),G=PB.useSyncExternalStore($e.useCallback(be=>E(y,(w,X)=>{R(X,w)||be()}),[r,y]),F[0],F[1]),B=!v.current,V=h[y]&&h[y].length>0,L=G.data,I=Le(L)?z&&zT(z)?gh(z):z:L,ne=G.error,H=$e.useRef(I),Z=f?Le(L)?Le(H.current)?I:H.current:L:I,le=V&&!Le(ne)?!1:B&&!Le(s)?s:C().isPaused()?!1:o?Le(I)?!1:c:Le(I)||c,he=!!(y&&e&&B&&le),de=Le(G.isValidating)?he:G.isValidating,me=Le(G.isLoading)?he:G.isLoading,fe=$e.useCallback(async be=>{const w=T.current;if(!y||!w||D.current||C().isPaused())return!1;let X,$,W=!0;const M=be||{},j=!g[y]||!M.dedupe,oe=()=>yx?!D.current&&y===_.current&&v.current:y===_.current,re={isValidating:!1,isLoading:!1},Y=()=>{P(re)},q=()=>{const Q=g[y];Q&&Q[1]===$&&delete g[y]},J={isValidating:!0};Le(O().data)&&(J.isLoading=!0);try{if(j&&(P(J),n.loadingTimeout&&Le(O().data)&&setTimeout(()=>{W&&oe()&&C().onLoadingSlow(y,n)},n.loadingTimeout),g[y]=[w(b),Tp()]),[X,$]=g[y],X=await X,j&&setTimeout(q,n.dedupingInterval),!g[y]||g[y][1]!==$)return j&&oe()&&C().onDiscarded(y),!1;re.error=St;const Q=m[y];if(!Le(Q)&&($<=Q[0]||$<=Q[1]||Q[1]===0))return Y(),j&&oe()&&C().onDiscarded(y),!1;const ae=O().data;re.data=i(ae,X)?ae:X,j&&oe()&&C().onSuccess(X,y,n)}catch(Q){q();const ae=C(),{shouldRetryOnError:xe}=ae;ae.isPaused()||(re.error=Q,j&&oe()&&(ae.onError(Q,y,ae),(xe===!0||_n(xe)&&xe(Q))&&(!C().revalidateOnFocus||!C().revalidateOnReconnect||A())&&ae.onErrorRetry(Q,y,ae,Ee=>{const Ce=h[y];Ce&&Ce[0]&&Ce[0](gx,Ee)},{retryCount:(M.retryCount||0)+1,dedupe:!0})))}return W=!1,Y(),!0},[y,r]),ge=$e.useCallback((...be)=>jT(r,_.current,...be),[]);if(fh(()=>{T.current=e,S.current=n,Le(L)||(H.current=L)}),fh(()=>{if(!y)return;const be=fe.bind(St,mh);let w=0;const $=hM(y,h,(W,M={})=>{if(W==WT){const j=Date.now();C().revalidateOnFocus&&j>w&&A()&&(w=j+C().focusThrottleInterval,be())}else if(W==PT)C().revalidateOnReconnect&&A()&&be();else{if(W==qT)return fe();if(W==gx)return fe(M)}});return D.current=!1,_.current=y,v.current=!0,P({_k:b}),le&&(Le(I)||pa?be():KB(be)),()=>{D.current=!0,$()}},[y]),fh(()=>{let be;function w(){const $=_n(l)?l(O().data):l;$&&be!==-1&&(be=setTimeout(X,$))}function X(){!O().error&&(u||C().isVisible())&&(d||C().isOnline())?fe(mh).then(w):w()}return w(),()=>{be&&(clearTimeout(be),be=-1)}},[l,u,d,y]),$e.useDebugValue(Z),o&&Le(I)&&y){if(!yx&&pa)throw new Error("Fallback data is required when using Suspense in SSR.");T.current=e,S.current=n,D.current=!1;const be=p[y];if(!Le(be)){const w=ge(be);gh(w)}if(Le(ne)){const w=fe(mh);Le(Z)||(w.status="fulfilled",w.value=!0),gh(w)}else throw ne}return{mutate:ge,get data(){return x.data=!0,Z},get error(){return x.error=!0,ne},get isValidating(){return x.isValidating=!0,de},get isLoading(){return x.isLoading=!0,me}}},xx=fM(pM);class gM extends Error{constructor({message:e,status:n,data:r}){super(e),this.name="TwitterApiError",this.status=n,this.data=r}}const mM=xx.default||xx,yM="https://react-tweet.vercel.app";async function bM([t,e]){const n=await fetch(t,e),r=await n.json();if(n.ok)return r.data||null;throw new gM({message:`Failed to fetch tweet at "${t}" with "${n.status}".`,data:r,status:n.status})}const vM=(t,e,n)=>{const{isLoading:r,data:i,error:o}=mM(()=>e||t?[e||t&&`${yM}/api/tweet/${t}`,n]:null,bM,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:!!(r||i===void 0&&!o),data:i,error:o}},xM=({id:t,apiUrl:e,fallback:n=ce.jsx(BB,{}),components:r,fetchOptions:i,onError:o})=>{const{data:a,error:s,isLoading:c}=vM(t,e,i);if(c)return n;if(s||!a){const l=(r==null?void 0:r.TweetNotFound)||OB;return ce.jsx(l,{error:o?o(s):s})}return ce.jsx(CB,{tweet:a,components:r})};exports.AllSelection=$t;exports.CellSelection=Je;exports.DOMParser=Vi;exports.DOMSerializer=ci;exports.Decoration=yt;exports.DecorationSet=Ye;exports.EditorState=Fi;exports.EditorView=_C;exports.Fragment=pe;exports.Node=hn;exports.NodeRange=Zo;exports.NodeSelection=Ue;exports.Plugin=li;exports.PluginKey=no;exports.ReplaceAroundStep=lt;exports.ReplaceStep=ct;exports.Schema=fS;exports.Selection=Re;exports.SelectionRange=Op;exports.Slice=we;exports.TextSelection=Be;exports.Transform=kp;exports.Tweet=xM;exports.VisibilitySensor=E6;exports.addColumnAfter=pF;exports.addColumnBefore=hF;exports.addRowAfter=vF;exports.addRowBefore=bF;exports.canJoin=to;exports.canSplit=Li;exports.clamp=Jk;exports.clsx=Tn;exports.columnResizing=qF;exports.createEditor=NO;exports.createParagraphNear=PD;exports.cursorPosition=VO;exports.cva=pR;exports.d=fR;exports.debounce=m_;exports.deepEqual=Q4;exports.defaultCommands=zO;exports.deleteColumn=mF;exports.deleteRow=DF;exports.deleteSelection=$p;exports.deleteTable=OF;exports.differenceBy=d8;exports.dropCursor=$R;exports.editHistory=$O;exports.exitCode=MC;exports.find=FR;exports.findWrapping=Cp;exports.fixTables=xw;exports.gapCursor=GR;exports.goToNextCell=kF;exports.highlightBracketPairs=KO;exports.history=zR;exports.i=U6;exports.indentGuides=XO;exports.isNumber=h8;exports.joinBackward=FD;exports.joinDown=NC;exports.joinForward=MD;exports.joinPoint=Up;exports.joinTextblockBackward=RC;exports.joinTextblockForward=FC;exports.joinUp=IC;exports.keymap=OC;exports.lift=BC;exports.liftEmptyBlock=qD;exports.liftListItem=KC;exports.liftTarget=eo;exports.mammoth=x6;exports.matchBrackets=ZO;exports.matchTags=tR;exports.mergeCells=wF;exports.newlineInCode=WD;exports.redo=gw;exports.registerCustomProtocol=OR;exports.reset=kR;exports.selectNodeBackward=ND;exports.selectNodeForward=LD;exports.selectParentNode=PC;exports.selectTextblockEnd=$C;exports.selectTextblockStart=zC;exports.setBlockType=VC;exports.setCellAttr=SF;exports.sinkListItem=YC;exports.splitCell=EF;exports.tableEditing=JF;exports.throttle=R8;exports.toggleHeader=rl;exports.toggleHeaderCell=CF;exports.tokenize=wg;exports.truncate=B8;exports.twMerge=pO;exports.undo=pw;exports.wrapIn=jC;exports.wrapInList=HC;exports.x=hR;