reactjs-tiptap-editor 0.2.2 → 0.2.4
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.
- package/lib/RichTextEditor-B4ASZID5.cjs +138 -0
- package/lib/{RichTextEditor-S3oDQ7DG.js → RichTextEditor-yL5SRS_H.js} +675 -684
- package/lib/extension-bundle.cjs +2 -2
- package/lib/extension-bundle.d.cts +42 -42
- package/lib/extension-bundle.d.ts +42 -42
- package/lib/extension-bundle.js +578 -601
- package/lib/{index-BEUeIQfa.js → index-BUxFK1y_.js} +1 -1
- package/lib/{index-CvbViqY1.cjs → index-DGpT32KX.cjs} +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +42 -42
- package/lib/index.d.ts +42 -42
- package/lib/index.js +2 -2
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.d.cts +42 -42
- package/lib/locale-bundle.d.ts +42 -42
- package/lib/locale-bundle.js +1 -1
- package/lib/{tiptap-CYz8BQhm.cjs → tiptap-BhYF9Ndj.cjs} +1 -1
- package/lib/{tiptap-B9VypLMv.js → tiptap-DXj1s_xP.js} +1 -1
- package/lib/vendor-DIvoV5tx.js +41663 -0
- package/lib/vendor-Dp07eU0H.cjs +266 -0
- package/package.json +1 -5
- package/lib/RichTextEditor-BNLeCZNj.cjs +0 -138
- package/lib/vendor-BeclCw8p.js +0 -60431
- package/lib/vendor-CwNzD6m_.cjs +0 -457
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
"use strict";const Pe=require("react"),cC=require("react-dom"),ce=require("react/jsx-runtime");function pt(n){this.content=n}pt.prototype={constructor:pt,find:function(n){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===n)return e;return-1},get:function(n){var e=this.find(n);return e==-1?void 0:this.content[e+1]},update:function(n,e,t){var r=t&&t!=n?this.remove(t):this,i=r.find(n),o=r.content.slice();return i==-1?o.push(t||n,e):(o[i+1]=e,t&&(o[i]=t)),new pt(o)},remove:function(n){var e=this.find(n);if(e==-1)return this;var t=this.content.slice();return t.splice(e,2),new pt(t)},addToStart:function(n,e){return new pt([n,e].concat(this.remove(n).content))},addToEnd:function(n,e){var t=this.remove(n).content.slice();return t.push(n,e),new pt(t)},addBefore:function(n,e,t){var r=this.remove(e),i=r.content.slice(),o=r.find(n);return i.splice(o==-1?i.length:o,0,e,t),new pt(i)},forEach:function(n){for(var e=0;e<this.content.length;e+=2)n(this.content[e],this.content[e+1])},prepend:function(n){return n=pt.from(n),n.size?new pt(n.content.concat(this.subtract(n).content)):this},append:function(n){return n=pt.from(n),n.size?new pt(this.subtract(n).content.concat(n.content)):this},subtract:function(n){var e=this;n=pt.from(n);for(var t=0;t<n.content.length;t+=2)e=e.remove(n.content[t]);return e},toObject:function(){var n={};return this.forEach(function(e,t){n[e]=t}),n},get size(){return this.content.length>>1}};pt.from=function(n){if(n instanceof pt)return n;var e=[];if(n)for(var t in n)e.push(t,n[t]);return new pt(e)};function bx(n,e,t){for(let r=0;;r++){if(r==n.childCount||r==e.childCount)return n.childCount==e.childCount?null:t;let i=n.child(r),o=e.child(r);if(i==o){t+=i.nodeSize;continue}if(!i.sameMarkup(o))return t;if(i.isText&&i.text!=o.text){for(let a=0;i.text[a]==o.text[a];a++)t++;return t}if(i.content.size||o.content.size){let a=bx(i.content,o.content,t+1);if(a!=null)return a}t+=i.nodeSize}}function vx(n,e,t,r){for(let i=n.childCount,o=e.childCount;;){if(i==0||o==0)return i==o?null:{a:t,b:r};let a=n.child(--i),s=e.child(--o),c=a.nodeSize;if(a==s){t-=c,r-=c;continue}if(!a.sameMarkup(s))return{a:t,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++,t--,r--;return{a:t,b:r}}if(a.content.size||s.content.size){let l=vx(a.content,s.content,t-1,r-1);if(l)return l}t-=c,r-=c}}class pe{constructor(e,t){if(this.content=e,this.size=t||0,t==null)for(let r=0;r<e.length;r++)this.size+=e[r].nodeSize}nodesBetween(e,t,r,i=0,o){for(let a=0,s=0;s<t;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,t-u),r,i+u)}s=l}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,r,i){let o="",a=!0;return this.nodesBetween(e,t,(s,c)=>{let l=s.isText?s.text.slice(Math.max(e,c)-c,t-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 t=this.lastChild,r=e.firstChild,i=this.content.slice(),o=0;for(t.isText&&t.sameMarkup(r)&&(i[i.length-1]=t.withText(t.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,t=this.size){if(e==0&&t==this.size)return this;let r=[],i=0;if(t>e)for(let o=0,a=0;a<t;o++){let s=this.content[o],c=a+s.nodeSize;c>e&&((a<e||c>t)&&(s.isText?s=s.cut(Math.max(0,e-a),Math.min(s.text.length,t-a)):s=s.cut(Math.max(0,e-a-1),Math.min(s.content.size,t-a-1))),r.push(s),i+=s.nodeSize),a=c}return new pe(r,i)}cutByIndex(e,t){return e==t?pe.empty:e==0&&t==this.content.length?this:new pe(this.content.slice(e,t))}replaceChild(e,t){let r=this.content[e];if(r==t)return this;let i=this.content.slice(),o=this.size+t.nodeSize-r.nodeSize;return i[e]=t,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 t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))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 t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,r=0;t<this.content.length;t++){let i=this.content[t];e(i,r,t),r+=i.nodeSize}}findDiffStart(e,t=0){return bx(this,e,t)}findDiffEnd(e,t=this.size,r=e.size){return vx(this,e,t,r)}findIndex(e,t=-1){if(e==0)return Ba(0,e);if(e==this.size)return Ba(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||t>0?Ba(r+1,a):Ba(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,t){if(!t)return pe.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new pe(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return pe.empty;let t,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)?(t||(t=e.slice(0,i)),t[t.length-1]=o.withText(t[t.length-1].text+o.text)):t&&t.push(o)}return new pe(t||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 ql={index:0,offset:0};function Ba(n,e){return ql.index=n,ql.offset=e,ql}function Zs(n,e){if(n===e)return!0;if(!(n&&typeof n=="object")||!(e&&typeof e=="object"))return!1;let t=Array.isArray(n);if(Array.isArray(e)!=t)return!1;if(t){if(n.length!=e.length)return!1;for(let r=0;r<n.length;r++)if(!Zs(n[r],e[r]))return!1}else{for(let r in n)if(!(r in e)||!Zs(n[r],e[r]))return!1;for(let r in e)if(!(r in n))return!1}return!0}class je{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,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))t||(t=e.slice(0,i));else{if(o.type.excludes(this.type))return e;!r&&o.type.rank>this.type.rank&&(t||(t=e.slice(0,i)),t.push(this),r=!0),t&&t.push(o)}}return t||(t=e.slice()),r||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Zs(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let r=e.marks[t.type];if(!r)throw new RangeError(`There is no mark type ${t.type} in this schema`);let i=r.create(t.attrs);return r.checkAttrs(i.attrs),i}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(t[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 t=e.slice();return t.sort((r,i)=>r.type.rank-i.type.rank),t}}je.none=[];class Ys extends Error{}class _e{constructor(e,t,r){this.content=e,this.openStart=t,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let r=Dx(this.content,e+this.openStart,t);return r&&new _e(r,this.openStart,this.openEnd)}removeBetween(e,t){return new _e(xx(this.content,e+this.openStart,t+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,t){if(!t)return _e.empty;let r=t.openStart||0,i=t.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new _e(pe.fromJSON(e,t.content),r,i)}static maxOpen(e,t=!0){let r=0,i=0;for(let o=e.firstChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=e.lastChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.lastChild)i++;return new _e(e,r,i)}}_e.empty=new _e(pe.empty,0,0);function xx(n,e,t){let{index:r,offset:i}=n.findIndex(e),o=n.maybeChild(r),{index:a,offset:s}=n.findIndex(t);if(i==e||o.isText){if(s!=t&&!n.child(a).isText)throw new RangeError("Removing non-flat range");return n.cut(0,e).append(n.cut(t))}if(r!=a)throw new RangeError("Removing non-flat range");return n.replaceChild(r,o.copy(xx(o.content,e-i-1,t-i-1)))}function Dx(n,e,t,r){let{index:i,offset:o}=n.findIndex(e),a=n.maybeChild(i);if(o==e||a.isText)return n.cut(0,e).append(t).append(n.cut(e));let s=Dx(a.content,e-o-1,t);return s&&n.replaceChild(i,a.copy(s))}function lC(n,e,t){if(t.openStart>n.depth)throw new Ys("Inserted content deeper than insertion position");if(n.depth-t.openStart!=e.depth-t.openEnd)throw new Ys("Inconsistent open depths");return wx(n,e,t,0)}function wx(n,e,t,r){let i=n.index(r),o=n.node(r);if(i==e.index(r)&&r<n.depth-t.openStart){let a=wx(n,e,t,r+1);return o.copy(o.content.replaceChild(i,a))}else if(t.content.size)if(!t.openStart&&!t.openEnd&&n.depth==r&&e.depth==r){let a=n.parent,s=a.content;return ti(a,s.cut(0,n.parentOffset).append(t.content).append(s.cut(e.parentOffset)))}else{let{start:a,end:s}=uC(t,n);return ti(o,Tx(n,a,s,e,r))}else return ti(o,Qs(n,e,r))}function _x(n,e){if(!e.type.compatibleContent(n.type))throw new Ys("Cannot join "+e.type.name+" onto "+n.type.name)}function Sh(n,e,t){let r=n.node(t);return _x(r,e.node(t)),r}function ei(n,e){let t=e.length-1;t>=0&&n.isText&&n.sameMarkup(e[t])?e[t]=n.withText(e[t].text+n.text):e.push(n)}function Wo(n,e,t,r){let i=(e||n).node(t),o=0,a=e?e.index(t):i.childCount;n&&(o=n.index(t),n.depth>t?o++:n.textOffset&&(ei(n.nodeAfter,r),o++));for(let s=o;s<a;s++)ei(i.child(s),r);e&&e.depth==t&&e.textOffset&&ei(e.nodeBefore,r)}function ti(n,e){return n.type.checkContent(e),n.copy(e)}function Tx(n,e,t,r,i){let o=n.depth>i&&Sh(n,e,i+1),a=r.depth>i&&Sh(t,r,i+1),s=[];return Wo(null,n,i,s),o&&a&&e.index(i)==t.index(i)?(_x(o,a),ei(ti(o,Tx(n,e,t,r,i+1)),s)):(o&&ei(ti(o,Qs(n,e,i+1)),s),Wo(e,t,i,s),a&&ei(ti(a,Qs(t,r,i+1)),s)),Wo(r,null,i,s),new pe(s)}function Qs(n,e,t){let r=[];if(Wo(null,n,t,r),n.depth>t){let i=Sh(n,e,t+1);ei(ti(i,Qs(n,e,t+1)),r)}return Wo(e,null,t,r),new pe(r)}function uC(n,e){let t=e.depth-n.openStart,i=e.node(t).copy(n.content);for(let o=t-1;o>=0;o--)i=e.node(o).copy(pe.from(i));return{start:i.resolveNoCache(n.openStart+t),end:i.resolveNoCache(i.content.size-n.openEnd-t)}}class Jo{constructor(e,t,r){this.pos=e,this.path=t,this.parentOffset=r,this.depth=t.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,t=this.index(this.depth);if(t==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(t);return r?e.child(t).cut(r):i}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let r=this.path[t*3],i=t==0?0:this.path[t*3-1]+1;for(let o=0;o<e;o++)i+=r.child(o).nodeSize;return i}marks(){let e=this.parent,t=this.index();if(e.content.size==0)return je.none;if(this.textOffset)return e.child(t).marks;let r=e.maybeChild(t-1),i=e.maybeChild(t);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 t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let r=t.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 t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){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)&&(!t||t(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 t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let r=[],i=0,o=t;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 Jo(t,r,o)}static resolveCached(e,t){let r=Wm.get(e);if(r)for(let o=0;o<r.elts.length;o++){let a=r.elts[o];if(a.pos==t)return a}else Wm.set(e,r=new fC);let i=r.elts[r.i]=Jo.resolve(e,t);return r.i=(r.i+1)%dC,i}}class fC{constructor(){this.elts=[],this.i=0}}const dC=12,Wm=new WeakMap;class Zo{constructor(e,t,r){this.$from=e,this.$to=t,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 hC=Object.create(null);class pn{constructor(e,t,r,i=je.none){this.type=e,this.attrs=t,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,t,r,i=0){this.content.nodesBetween(e,t,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,t,r,i){return this.content.textBetween(e,t,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,t,r){return this.type==e&&Zs(this.attrs,t||e.defaultAttrs||hC)&&je.sameSet(this.marks,r||je.none)}copy(e=null){return e==this.content?this:new pn(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new pn(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return e==0&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,r=!1){if(e==t)return _e.empty;let i=this.resolve(e),o=this.resolve(t),a=r?0:i.sharedDepth(t),s=i.start(a),l=i.node(a).content.cut(i.pos-s,o.pos-s);return new _e(l,i.depth-a,o.depth-a)}replace(e,t,r){return lC(this.resolve(e),this.resolve(t),r)}nodeAt(e){for(let t=this;;){let{index:r,offset:i}=t.content.findIndex(e);if(t=t.maybeChild(r),!t)return null;if(i==e||t.isText)return t;e-=i+1}}childAfter(e){let{index:t,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:r}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:t,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(t),index:t,offset:r};let i=this.content.child(t-1);return{node:i,index:t-1,offset:r-i.nodeSize}}resolve(e){return Jo.resolveCached(this,e)}resolveNoCache(e){return Jo.resolve(this,e)}rangeHasMark(e,t,r){let i=!1;return t>e&&this.nodesBetween(e,t,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()+")"),Ex(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,r=pe.empty,i=0,o=r.childCount){let a=this.contentMatchAt(e).matchFragment(r,i,o),s=a&&a.matchFragment(this.content,t);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,t,r,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(e).matchType(r),a=o&&o.matchFragment(this.content,t);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 t=0;t<this.marks.length;t++){let r=this.marks[t];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(t=>t.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let e={type:this.type.name};for(let t 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(t=>t.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let r;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if(t.type=="text"){if(typeof t.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(t.text,r)}let i=pe.fromJSON(e,t.content),o=e.nodeType(t.type).create(t.attrs,i,r);return o.type.checkAttrs(o.attrs),o}}pn.prototype.text=void 0;class ec extends pn{constructor(e,t,r,i){if(super(e,t,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):Ex(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new ec(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new ec(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function Ex(n,e){for(let t=n.length-1;t>=0;t--)e=n[t].type.name+"("+e+")";return e}class ai{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let r=new pC(e,t);if(r.next==null)return ai.empty;let i=Cx(r);r.next&&r.err("Unexpected trailing text");let o=DC(xC(i));return wC(o,r),o}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,r=e.childCount){let i=this;for(let o=t;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:t}=this.next[e];if(!(t.isText||t.hasRequiredAttrs()))return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let r=0;r<e.next.length;r++)if(this.next[t].type==e.next[r].type)return!0;return!1}fillBefore(e,t=!1,r=0){let i=[this];function o(a,s){let c=a.matchFragment(e,r);if(c&&(!t||c.validEnd))return pe.from(s.map(l=>l.createAndFill()));for(let l=0;l<a.next.length;l++){let{type:u,next:f}=a.next[l];if(!(u.isText||u.hasRequiredAttrs())&&i.indexOf(f)==-1){i.push(f);let d=o(f,s.concat(u));if(d)return d}}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 t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=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 t)&&(!i.type||c.validEnd)&&(r.push({match:s.contentMatch,type:s,via:i}),t[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 t(r){e.push(r);for(let i=0;i<r.next.length;i++)e.indexOf(r.next[i].next)==-1&&t(r.next[i].next)}return t(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
|
+
`)}}ai.empty=new ai(!0);class pC{constructor(e,t){this.string=e,this.nodeTypes=t,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 Cx(n){let e=[];do e.push(gC(n));while(n.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function gC(n){let e=[];do e.push(mC(n));while(n.next&&n.next!=")"&&n.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function mC(n){let e=vC(n);for(;;)if(n.eat("+"))e={type:"plus",expr:e};else if(n.eat("*"))e={type:"star",expr:e};else if(n.eat("?"))e={type:"opt",expr:e};else if(n.eat("{"))e=yC(n,e);else break;return e}function Lm(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let e=Number(n.next);return n.pos++,e}function yC(n,e){let t=Lm(n),r=t;return n.eat(",")&&(n.next!="}"?r=Lm(n):r=-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:t,max:r,expr:e}}function bC(n,e){let t=n.nodeTypes,r=t[e];if(r)return[r];let i=[];for(let o in t){let a=t[o];a.isInGroup(e)&&i.push(a)}return i.length==0&&n.err("No node type or group '"+e+"' found"),i}function vC(n){if(n.eat("(")){let e=Cx(n);return n.eat(")")||n.err("Missing closing paren"),e}else if(/\W/.test(n.next))n.err("Unexpected token '"+n.next+"'");else{let e=bC(n,n.next).map(t=>(n.inline==null?n.inline=t.isInline:n.inline!=t.isInline&&n.err("Mixing inline and block content"),{type:"name",value:t}));return n.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function xC(n){let e=[[]];return i(o(n,0),t()),e;function t(){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=t())}else if(a.type=="star"){let c=t();return r(s,c),i(o(a.expr,c),c),[r(c)]}else if(a.type=="plus"){let c=t();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=t();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=t();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 Sx(n,e){return e-n}function Pm(n,e){let t=[];return r(e),t.sort(Sx);function r(i){let o=n[i];if(o.length==1&&!o[0].term)return r(o[0].to);t.push(i);for(let a=0;a<o.length;a++){let{term:s,to:c}=o[a];!s&&t.indexOf(c)==-1&&r(c)}}}function DC(n){let e=Object.create(null);return t(Pm(n,0));function t(r){let i=[];r.forEach(a=>{n[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]);Pm(n,c).forEach(u=>{l||i.push([s,l=[]]),l.indexOf(u)==-1&&l.push(u)})})});let o=e[r.join(",")]=new ai(r.indexOf(n.length-1)>-1);for(let a=0;a<i.length;a++){let s=i[a][1].sort(Sx);o.next.push({type:i[a][0],next:e[s.join(",")]||t(s)})}return o}}function wC(n,e){for(let t=0,r=[n];t<r.length;t++){let i=r[t],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 Ax(n){let e=Object.create(null);for(let t in n){let r=n[t];if(!r.hasDefault)return null;e[t]=r.default}return e}function Ux(n,e){let t=Object.create(null);for(let r in n){let i=e&&e[r];if(i===void 0){let o=n[r];if(o.hasDefault)i=o.default;else throw new RangeError("No value supplied for attribute "+r)}t[r]=i}return t}function kx(n,e,t,r){for(let i in e)if(!(i in n))throw new RangeError(`Unsupported attribute ${i} for ${t} of type ${i}`);for(let i in n){let o=n[i];o.validate&&o.validate(e[i])}}function Fx(n,e){let t=Object.create(null);if(e)for(let r in e)t[r]=new TC(n,r,e[r]);return t}let qm=class Ox{constructor(e,t,r){this.name=e,this.schema=t,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=Fx(e,r.attrs),this.defaultAttrs=Ax(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==ai.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:Ux(this.attrs,e)}create(e=null,t,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new pn(this,this.computeAttrs(e),pe.from(t),je.setFrom(r))}createChecked(e=null,t,r){return t=pe.from(t),this.checkContent(t),new pn(this,this.computeAttrs(e),t,je.setFrom(r))}createAndFill(e=null,t,r){if(e=this.computeAttrs(e),t=pe.from(t),t.size){let a=this.contentMatch.fillBefore(t);if(!a)return null;t=a.append(t)}let i=this.contentMatch.matchFragment(t),o=i&&i.fillBefore(pe.empty,!0);return o?new pn(this,e,t.append(o),je.setFrom(r)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.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){kx(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 t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let t;for(let r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?t&&t.push(e[r]):t||(t=e.slice(0,r));return t?t.length?t:je.none:e}static compile(e,t){let r=Object.create(null);e.forEach((o,a)=>r[o]=new Ox(o,t,a));let i=t.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 _C(n,e,t){let r=t.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 ${n}, got ${o}`)}}class TC{constructor(e,t,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?_C(e,t,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class Gc{constructor(e,t,r,i){this.name=e,this.rank=t,this.schema=r,this.spec=i,this.attrs=Fx(e,i.attrs),this.excluded=null;let o=Ax(this.attrs);this.instance=o?new je(this,o):null}create(e=null){return!e&&this.instance?this.instance:new je(this,Ux(this.attrs,e))}static compile(e,t){let r=Object.create(null),i=0;return e.forEach((o,a)=>r[o]=new Gc(o,i++,t,a)),r}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}checkAttrs(e){kx(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class EC{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let i in e)t[i]=e[i];t.nodes=pt.from(e.nodes),t.marks=pt.from(e.marks||{}),this.nodes=qm.compile(this.spec.nodes,this),this.marks=Gc.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]=ai.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?jm(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==""?[]:jm(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,t=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof qm){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(t,r,i)}text(e,t){let r=this.nodes.text;return new ec(r,r.defaultAttrs,e,je.setFrom(t))}mark(e,t){return typeof e=="string"&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return pn.fromJSON(this,e)}markFromJSON(e){return je.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function jm(n,e){let t=[];for(let r=0;r<e.length;r++){let i=e[r],o=n.marks[i],a=o;if(o)t.push(o);else for(let s in n.marks){let c=n.marks[s];(i=="_"||c.spec.group&&c.spec.group.split(" ").indexOf(i)>-1)&&t.push(a=c)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return t}function CC(n){return n.tag!=null}function SC(n){return n.style!=null}let Fp=class Ah{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let r=this.matchedStyles=[];t.forEach(i=>{if(CC(i))this.tags.push(i);else if(SC(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,t={}){let r=new $m(this,t,!1);return r.addAll(e,je.none,t.from,t.to),r.finish()}parseSlice(e,t={}){let r=new $m(this,t,!0);return r.addAll(e,je.none,t.from,t.to),_e.maxOpen(r.finish())}matchTag(e,t,r){for(let i=r?this.tags.indexOf(r)+1:0;i<this.tags.length;i++){let o=this.tags[i];if(kC(e,o.tag)&&(o.namespace===void 0||e.namespaceURI==o.namespace)&&(!o.context||t.matchesContext(o.context))){if(o.getAttrs){let a=o.getAttrs(e);if(a===!1)continue;o.attrs=a||void 0}return o}}}matchStyle(e,t,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)!=t))){if(a.getAttrs){let c=a.getAttrs(t);if(c===!1)continue;a.attrs=c||void 0}return a}}}static schemaRules(e){let t=[];function r(i){let o=i.priority==null?50:i.priority,a=0;for(;a<t.length;a++){let s=t[a];if((s.priority==null?50:s.priority)<o)break}t.splice(a,0,i)}for(let i in e.marks){let o=e.marks[i].spec.parseDOM;o&&o.forEach(a=>{r(a=Vm(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=Vm(a)),a.node||a.ignore||a.mark||(a.node=i)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Ah(e,Ah.schemaRules(e)))}};const Rx={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},AC={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Nx={ol:!0,ul:!0},Yo=1,Uh=2,bs=4;function zm(n,e,t){return e!=null?(e?Yo:0)|(e==="full"?Uh:0):n&&n.whitespace=="pre"?Yo|Uh:t&-5}class Ma{constructor(e,t,r,i,o,a){this.type=e,this.attrs=t,this.marks=r,this.solid=i,this.options=a,this.content=[],this.activeMarks=je.none,this.match=o||(a&bs?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(pe.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);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&Yo)){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 t=pe.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(pe.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Rx.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class $m{constructor(e,t,r){this.parser=e,this.options=t,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let i=t.topNode,o,a=zm(null,t.preserveWhitespace,0)|(r?bs:0);i?o=new Ma(i.type,i.attrs,je.none,!0,t.topMatch||i.type.contentMatch,a):r?o=new Ma(null,null,je.none,!0,null,a):o=new Ma(e.schema.topNodeType,null,je.none,!0,null,a),this.nodes=[o],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){e.nodeType==3?this.addTextNode(e,t):e.nodeType==1&&this.addElement(e,t)}addTextNode(e,t){let r=e.nodeValue,i=this.top,o=i.options&Uh?"full":this.localPreserveWS||(i.options&Yo)>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),t),this.findInText(e)}else this.findInside(e)}addElement(e,t,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;Nx.hasOwnProperty(a)&&this.parser.normalizeLists&&UC(e);let c=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(s=this.parser.matchTag(e,this,r));e:if(c?c.ignore:AC.hasOwnProperty(a))this.findInside(e),this.ignoreFallback(e,t);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(Rx.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,t);break e}let f=c&&c.skip?t:this.readStyles(e,t);f&&this.addAll(e,f),l&&this.sync(o),this.needsBlock=u}else{let l=this.readStyles(e,t);l&&this.addElementByRule(e,c,l,c.consuming===!1?s:void 0)}this.localPreserveWS=i}leafFallback(e,t){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`
|
|
4
|
+
`),t)}ignoreFallback(e,t){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),t)}readStyles(e,t){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?t=t.filter(l=>!c.clearMark(l)):t=t.concat(this.parser.schema.marks[c.mark].create(c.attrs)),c.consuming===!1)s=c;else break}}return t}addElementByRule(e,t,r,i){let o,a;if(t.node)if(a=this.parser.schema.nodes[t.node],a.isLeaf)this.insertNode(a.create(t.attrs),r)||this.leafFallback(e,r);else{let c=this.enter(a,t.attrs||null,r,t.preserveWhitespace);c&&(o=!0,r=c)}else{let c=this.parser.schema.marks[t.mark];r=r.concat(c.create(t.attrs))}let s=this.top;if(a&&a.isLeaf)this.findInside(e);else if(i)this.addElement(e,r,i);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(c=>this.insertNode(c,r));else{let c=e;typeof t.contentElement=="string"?c=e.querySelector(t.contentElement):typeof t.contentElement=="function"?c=t.contentElement(e):t.contentElement&&(c=t.contentElement),this.findAround(e,c,!0),this.addAll(c,r),this.findAround(e,c,!1)}o&&this.sync(s)&&this.open--}addAll(e,t,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,t);this.findAtPoint(e,o)}findPlace(e,t){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++)t=this.enterInner(r[o],null,t,!1);return t}insertNode(e,t){if(e.isInline&&this.needsBlock&&!this.top.type){let i=this.textblockFromContext();i&&(t=this.enterInner(i,null,t))}let r=this.findPlace(e,t);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):Hm(a.type,e.type))&&(o=a.addToSet(o));return i.content.push(e.mark(o)),!0}return!1}enter(e,t,r,i){let o=this.findPlace(e.create(t),r);return o&&(o=this.enterInner(e,t,r,!0,i)),o}enterInner(e,t,r,i=!1,o){this.closeExtra();let a=this.top;a.match=a.match&&a.match.matchType(e);let s=zm(e,o,a.options);a.options&bs&&a.content.length==0&&(s|=bs);let c=je.none;return r=r.filter(l=>(a.type?a.type.allowsMarkType(l.type):Hm(l.type,e))?(c=l.addToSet(c),!1):!0),this.nodes.push(new Ma(e,t,c,i,null,s)),this.open++,r}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].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 t=this.open;t>=0;t--){if(this.nodes[t]==e)return this.open=t,!0;this.localPreserveWS&&(this.nodes[t].options|=Yo)}return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let r=this.nodes[t].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==e&&this.find[r].offset==t&&(this.find[r].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].pos==null&&e.nodeType==1&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,r){if(e!=t&&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)&&t.compareDocumentPosition(this.find[i].node)&(r?2:4)&&(this.find[i].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=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=t[s];if(l==""){if(s==t.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(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let r=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let t in this.parser.schema.nodes){let r=this.parser.schema.nodes[t];if(r.isTextblock&&r.defaultAttrs)return r}}}function UC(n){for(let e=n.firstChild,t=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&Nx.hasOwnProperty(r)&&t?(t.appendChild(e),e=t):r=="li"?t=e:r&&(t=null)}}function kC(n,e){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,e)}function Vm(n){let e={};for(let t in n)e[t]=n[t];return e}function Hm(n,e){let t=e.schema.nodes;for(let r in t){let i=t[r];if(!i.allowsMarkType(n))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 hi{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},r){r||(r=jl(t).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,t);u&&(o.push([l,i]),i.appendChild(u.dom),i=u.contentDOM||u.dom)}}i.appendChild(this.serializeNodeInner(a,t))}),r}serializeNodeInner(e,t){let{dom:r,contentDOM:i}=vs(jl(t),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,t,i)}return r}serializeNode(e,t={}){let r=this.serializeNodeInner(e,t);for(let i=e.marks.length-1;i>=0;i--){let o=this.serializeMark(e.marks[i],e.isInline,t);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(e,t,r={}){let i=this.marks[e.type.name];return i&&vs(jl(r),i(e,t),null,e.attrs)}static renderSpec(e,t,r=null,i){return vs(e,t,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new hi(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=Xm(e.nodes);return t.text||(t.text=r=>r.text),t}static marksFromSchema(e){return Xm(e.marks)}}function Xm(n){let e={};for(let t in n){let r=n[t].spec.toDOM;r&&(e[t]=r)}return e}function jl(n){return n.document||window.document}const Gm=new WeakMap;function FC(n){let e=Gm.get(n);return e===void 0&&Gm.set(n,e=OC(n)),e}function OC(n){let e=null;function t(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++)t(r[i]);else for(let i in r)t(r[i])}return t(n),e}function vs(n,e,t,r){if(typeof e=="string")return{dom:n.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=FC(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&&(t=i.slice(0,a),i=i.slice(a+1));let s,c=t?n.createElementNS(t,i):n.createElement(i),l=e[1],u=1;if(l&&typeof l=="object"&&l.nodeType==null&&!Array.isArray(l)){u=2;for(let f in l)if(l[f]!=null){let d=f.indexOf(" ");d>0?c.setAttributeNS(f.slice(0,d),f.slice(d+1),l[f]):c.setAttribute(f,l[f])}}for(let f=u;f<e.length;f++){let d=e[f];if(d===0){if(f<e.length-1||f>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:p}=vs(n,d,t,r);if(c.appendChild(h),p){if(s)throw new RangeError("Multiple content holes");s=p}}}return{dom:c,contentDOM:s}}const Ix=65535,Bx=Math.pow(2,16);function RC(n,e){return n+e*Bx}function Km(n){return n&Ix}function NC(n){return(n-(n&Ix))/Bx}const Mx=1,Wx=2,xs=4,Lx=8;class kh{constructor(e,t,r){this.pos=e,this.delInfo=t,this.recover=r}get deleted(){return(this.delInfo&Lx)>0}get deletedBefore(){return(this.delInfo&(Mx|xs))>0}get deletedAfter(){return(this.delInfo&(Wx|xs))>0}get deletedAcross(){return(this.delInfo&xs)>0}}class $t{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&$t.empty)return $t.empty}recover(e){let t=0,r=Km(e);if(!this.inverted)for(let i=0;i<r;i++)t+=this.ranges[i*3+2]-this.ranges[i*3+1];return this.ranges[r*3]+t+NC(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,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],f=c+l;if(e<=f){let d=l?e==c?-1:e==f?1:t:t,h=c+i+(d<0?0:u);if(r)return h;let p=e==(t<0?c:f)?null:RC(s/3,e-c),m=e==c?Wx:e==f?Mx:xs;return(t<0?e!=c:e!=f)&&(m|=Lx),new kh(h,m,p)}i+=u-l}return r?e+i:new kh(e+i,0,null)}touches(e,t){let r=0,i=Km(t),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 t=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+t],u=this.ranges[i+r];e(s,s+l,c,c+u),o+=u-l}}invert(){return new $t(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?$t.empty:new $t(e<0?[0,-e,0]:[0,0,e])}}$t.empty=new $t([]);class Wi{constructor(e=[],t,r=0,i=e.length){this.maps=e,this.mirror=t,this.from=r,this.to=i}slice(e=0,t=this.maps.length){return new Wi(this.maps,this.mirror,e,t)}copy(){return new Wi(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(e,t){this.to=this.maps.push(e),t!=null&&this.setMirror(this.maps.length-1,t)}appendMapping(e){for(let t=0,r=this.maps.length;t<e.maps.length;t++){let i=e.getMirror(t);this.appendMap(e.maps[t],i!=null&&i<t?r+i:void 0)}}getMirror(e){if(this.mirror){for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,r=this.maps.length+e.maps.length;t>=0;t--){let i=e.getMirror(t);this.appendMap(e.maps[t].invert(),i!=null&&i>t?r-i-1:void 0)}}invert(){let e=new Wi;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let r=this.from;r<this.to;r++)e=this.maps[r].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,r){let i=0;for(let o=this.from;o<this.to;o++){let a=this.maps[o],s=a.mapResult(e,t);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 kh(e,i,null)}}const zl=Object.create(null);class Et{getMap(){return $t.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=zl[t.stepType];if(!r)throw new RangeError(`No step type ${t.stepType} defined`);return r.fromJSON(e,t)}static jsonID(e,t){if(e in zl)throw new RangeError("Duplicate use of step JSON ID "+e);return zl[e]=t,t.prototype.jsonID=e,t}}class it{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new it(e,null)}static fail(e){return new it(null,e)}static fromReplace(e,t,r,i){try{return it.ok(e.replace(t,r,i))}catch(o){if(o instanceof Ys)return it.fail(o.message);throw o}}}function Op(n,e,t){let r=[];for(let i=0;i<n.childCount;i++){let o=n.child(i);o.content.size&&(o=o.copy(Op(o.content,e,o))),o.isInline&&(o=e(o,t,i)),r.push(o)}return pe.fromArray(r)}class wr extends Et{constructor(e,t,r){super(),this.from=e,this.to=t,this.mark=r}apply(e){let t=e.slice(this.from,this.to),r=e.resolve(this.from),i=r.node(r.sharedDepth(this.to)),o=new _e(Op(t.content,(a,s)=>!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),i),t.openStart,t.openEnd);return it.fromReplace(e,this.from,this.to,o)}invert(){return new _n(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new wr(t.pos,r.pos,this.mark)}merge(e){return e instanceof wr&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new wr(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,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new wr(t.from,t.to,e.markFromJSON(t.mark))}}Et.jsonID("addMark",wr);class _n extends Et{constructor(e,t,r){super(),this.from=e,this.to=t,this.mark=r}apply(e){let t=e.slice(this.from,this.to),r=new _e(Op(t.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),t.openStart,t.openEnd);return it.fromReplace(e,this.from,this.to,r)}invert(){return new wr(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new _n(t.pos,r.pos,this.mark)}merge(e){return e instanceof _n&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new _n(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,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new _n(t.from,t.to,e.markFromJSON(t.mark))}}Et.jsonID("removeMark",_n);class _r extends Et{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return it.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return it.fromReplace(e,this.pos,this.pos+1,new _e(pe.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let r=this.mark.addToSet(t.marks);if(r.length==t.marks.length){for(let i=0;i<t.marks.length;i++)if(!t.marks[i].isInSet(r))return new _r(this.pos,t.marks[i]);return new _r(this.pos,this.mark)}}return new Xi(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new _r(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new _r(t.pos,e.markFromJSON(t.mark))}}Et.jsonID("addNodeMark",_r);class Xi extends Et{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return it.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return it.fromReplace(e,this.pos,this.pos+1,new _e(pe.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return!t||!this.mark.isInSet(t.marks)?this:new _r(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Xi(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new Xi(t.pos,e.markFromJSON(t.mark))}}Et.jsonID("removeNodeMark",Xi);class lt extends Et{constructor(e,t,r,i=!1){super(),this.from=e,this.to=t,this.slice=r,this.structure=i}apply(e){return this.structure&&Fh(e,this.from,this.to)?it.fail("Structure replace would overwrite content"):it.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new $t([this.from,this.to-this.from,this.slice.size])}invert(e){return new lt(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deletedAcross&&r.deletedAcross?null:new lt(t.pos,Math.max(t.pos,r.pos),this.slice)}merge(e){if(!(e instanceof lt)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let t=this.slice.size+e.slice.size==0?_e.empty:new _e(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new lt(this.from,this.to+(e.to-e.from),t,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let t=this.slice.size+e.slice.size==0?_e.empty:new _e(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new lt(e.from,this.to,t,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,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new lt(t.from,t.to,_e.fromJSON(e,t.slice),!!t.structure)}}Et.jsonID("replace",lt);class ut extends Et{constructor(e,t,r,i,o,a,s=!1){super(),this.from=e,this.to=t,this.gapFrom=r,this.gapTo=i,this.slice=o,this.insert=a,this.structure=s}apply(e){if(this.structure&&(Fh(e,this.from,this.gapFrom)||Fh(e,this.gapTo,this.to)))return it.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return it.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,t.content);return r?it.fromReplace(e,this.from,this.to,r):it.fail("Content does not fit in gap")}getMap(){return new $t([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new ut(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1),i=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),o=this.to==this.gapTo?r.pos:e.map(this.gapTo,1);return t.deletedAcross&&r.deletedAcross||i<t.pos||o>r.pos?null:new ut(t.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,t){if(typeof t.from!="number"||typeof t.to!="number"||typeof t.gapFrom!="number"||typeof t.gapTo!="number"||typeof t.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new ut(t.from,t.to,t.gapFrom,t.gapTo,_e.fromJSON(e,t.slice),t.insert,!!t.structure)}}Et.jsonID("replaceAround",ut);function Fh(n,e,t){let r=n.resolve(e),i=t-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 IC(n,e,t,r){let i=[],o=[],a,s;n.doc.nodesBetween(e,t,(c,l,u)=>{if(!c.isInline)return;let f=c.marks;if(!r.isInSet(f)&&u.type.allowsMarkType(r.type)){let d=Math.max(l,e),h=Math.min(l+c.nodeSize,t),p=r.addToSet(f);for(let m=0;m<f.length;m++)f[m].isInSet(p)||(a&&a.to==d&&a.mark.eq(f[m])?a.to=h:i.push(a=new _n(d,h,f[m])));s&&s.to==d?s.to=h:o.push(s=new wr(d,h,r))}}),i.forEach(c=>n.step(c)),o.forEach(c=>n.step(c))}function BC(n,e,t,r){let i=[],o=0;n.doc.nodesBetween(e,t,(a,s)=>{if(!a.isInline)return;o++;let c=null;if(r instanceof Gc){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,t);for(let u=0;u<c.length;u++){let f=c[u],d;for(let h=0;h<i.length;h++){let p=i[h];p.step==o-1&&f.eq(i[h].style)&&(d=p)}d?(d.to=l,d.step=o):i.push({style:f,from:Math.max(s,e),to:l,step:o})}}}),i.forEach(a=>n.step(new _n(a.from,a.to,a.style)))}function Rp(n,e,t,r=t.contentMatch,i=!0){let o=n.doc.nodeAt(e),a=[],s=e+1;for(let c=0;c<o.childCount;c++){let l=o.child(c),u=s+l.nodeSize,f=r.matchType(l.type);if(!f)a.push(new lt(s,u,_e.empty));else{r=f;for(let d=0;d<l.marks.length;d++)t.allowsMarkType(l.marks[d].type)||n.step(new _n(s,u,l.marks[d]));if(i&&l.isText&&t.whitespace!="pre"){let d,h=/\r?\n|\r/g,p;for(;d=h.exec(l.text);)p||(p=new _e(pe.from(t.schema.text(" ",t.allowedMarks(l.marks))),0,0)),a.push(new lt(s+d.index,s+d.index+d[0].length,p))}}s=u}if(!r.validEnd){let c=r.fillBefore(pe.empty,!0);n.replace(s,s,new _e(c,0,0))}for(let c=a.length-1;c>=0;c--)n.step(a[c])}function MC(n,e,t){return(e==0||n.canReplace(e,n.childCount))&&(t==n.childCount||n.canReplace(0,t))}function oo(n){let t=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let r=n.depth;;--r){let i=n.$from.node(r),o=n.$from.index(r),a=n.$to.indexAfter(r);if(r<n.depth&&i.canReplace(o,a,t))return r;if(r==0||i.type.spec.isolating||!MC(i,o,a))break}return null}function WC(n,e,t){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,f=0;for(let p=o,m=!1;p>t;p--)m||r.index(p)>0?(m=!0,u=pe.from(r.node(p).copy(u)),f++):c--;let d=pe.empty,h=0;for(let p=o,m=!1;p>t;p--)m||i.after(p+1)<i.end(p)?(m=!0,d=pe.from(i.node(p).copy(d)),h++):l++;n.step(new ut(c,l,a,s,new _e(u.append(d),f,h),u.size-f,!0))}function Np(n,e,t=null,r=n){let i=LC(n,e),o=i&&PC(r,e);return o?i.map(Jm).concat({type:e,attrs:t}).concat(o.map(Jm)):null}function Jm(n){return{type:n,attrs:null}}function LC(n,e){let{parent:t,startIndex:r,endIndex:i}=n,o=t.contentMatchAt(r).findWrapping(e);if(!o)return null;let a=o.length?o[0]:e;return t.canReplaceWith(r,i,a)?o:null}function PC(n,e){let{parent:t,startIndex:r,endIndex:i}=n,o=t.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(t.child(l).type);return!c||!c.validEnd?null:a}function qC(n,e,t){let r=pe.empty;for(let a=t.length-1;a>=0;a--){if(r.size){let s=t[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(t[a].type.create(t[a].attrs,r))}let i=e.start,o=e.end;n.step(new ut(i,o,i,o,new _e(r,0,0),t.length,!0))}function jC(n,e,t,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=n.steps.length;n.doc.nodesBetween(e,t,(a,s)=>{let c=typeof i=="function"?i(a):i;if(a.isTextblock&&!a.hasMarkup(r,c)&&zC(n.doc,n.mapping.slice(o).map(s),r)){let l=null;if(r.schema.linebreakReplacement){let h=r.whitespace=="pre",p=!!r.contentMatch.matchType(r.schema.linebreakReplacement);h&&!p?l=!1:!h&&p&&(l=!0)}l===!1&&qx(n,a,s,o),Rp(n,n.mapping.slice(o).map(s,1),r,void 0,l===null);let u=n.mapping.slice(o),f=u.map(s,1),d=u.map(s+a.nodeSize,1);return n.step(new ut(f,d,f+1,d-1,new _e(pe.from(r.create(c,null,a.marks)),0,0),1,!0)),l===!0&&Px(n,a,s,o),!1}})}function Px(n,e,t,r){e.forEach((i,o)=>{if(i.isText){let a,s=/\r?\n|\r/g;for(;a=s.exec(i.text);){let c=n.mapping.slice(r).map(t+1+o+a.index);n.replaceWith(c,c+1,e.type.schema.linebreakReplacement.create())}}})}function qx(n,e,t,r){e.forEach((i,o)=>{if(i.type==i.type.schema.linebreakReplacement){let a=n.mapping.slice(r).map(t+1+o);n.replaceWith(a,a+1,e.type.schema.text(`
|
|
5
|
+
`))}})}function zC(n,e,t){let r=n.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,t)}function $C(n,e,t,r,i){let o=n.doc.nodeAt(e);if(!o)throw new RangeError("No node at given position");t||(t=o.type);let a=t.create(r,null,i||o.marks);if(o.isLeaf)return n.replaceWith(e,e+o.nodeSize,a);if(!t.validContent(o.content))throw new RangeError("Invalid content for node type "+t.name);n.step(new ut(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new _e(pe.from(a),0,0),1,!0))}function Li(n,e,t=1,r){let i=n.resolve(e),o=i.depth-t,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=t-2;l>o;l--,u--){let f=i.node(l),d=i.index(l);if(f.type.spec.isolating)return!1;let h=f.content.cutByIndex(d,f.childCount),p=r&&r[u+1];p&&(h=h.replaceChild(0,p.type.create(p.attrs)));let m=r&&r[u]||f;if(!f.canReplace(d+1,f.childCount)||!m.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 VC(n,e,t=1,r){let i=n.doc.resolve(e),o=pe.empty,a=pe.empty;for(let s=i.depth,c=i.depth-t,l=t-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))}n.step(new lt(e,e,new _e(o.append(a),t,t),!0))}function ao(n,e){let t=n.resolve(e),r=t.index();return jx(t.nodeBefore,t.nodeAfter)&&t.parent.canReplace(r,r+1)}function HC(n,e){e.content.size||n.type.compatibleContent(e.type);let t=n.contentMatchAt(n.childCount),{linebreakReplacement:r}=n.type.schema;for(let i=0;i<e.childCount;i++){let o=e.child(i),a=o.type==r?n.type.schema.nodes.text:o.type;if(t=t.matchType(a),!t||!n.type.allowsMarks(o.marks))return!1}return t.validEnd}function jx(n,e){return!!(n&&e&&!n.isLeaf&&HC(n,e))}function Ip(n,e,t=-1){let r=n.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):t>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&&jx(o,a)&&r.node(i).canReplace(s,s+1))return e;if(i==0)break;e=t<0?r.before(i):r.after(i)}}function XC(n,e,t){let r=null,{linebreakReplacement:i}=n.doc.type.schema,o=n.doc.resolve(e-t),a=o.node().type;if(i&&a.inlineContent){let u=a.whitespace=="pre",f=!!a.contentMatch.matchType(i);u&&!f?r=!1:!u&&f&&(r=!0)}let s=n.steps.length;if(r===!1){let u=n.doc.resolve(e+t);qx(n,u.node(),u.before(),s)}a.inlineContent&&Rp(n,e+t-1,a,o.node().contentMatchAt(o.index()),r==null);let c=n.mapping.slice(s),l=c.map(e-t);if(n.step(new lt(l,c.map(e+t,-1),_e.empty,!0)),r===!0){let u=n.doc.resolve(l);Px(n,u.node(),u.before(),n.steps.length)}return n}function GC(n,e,t){let r=n.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),t))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,t))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,t))return r.after(i+1);if(o<r.node(i).childCount)return null}return null}function zx(n,e,t){let r=n.resolve(e);if(!t.content.size)return e;let i=t.content;for(let o=0;o<t.openStart;o++)i=i.firstChild.content;for(let o=1;o<=(t.openStart==0&&t.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 f=l.contentMatchAt(c).findWrapping(i.firstChild.type);u=f&&l.canReplaceWith(c,c,f[0])}if(u)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function Kc(n,e,t=e,r=_e.empty){if(e==t&&!r.size)return null;let i=n.resolve(e),o=n.resolve(t);return $x(i,o,r)?new lt(e,t,r):new KC(i,o,r).fit()}function $x(n,e,t){return!t.openStart&&!t.openEnd&&n.start()==e.start()&&n.parent.canReplace(n.index(),e.index(),t.content)}class KC{constructor(e,t,r){this.$from=e,this.$to=t,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(),t=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 _e(o,a,s);return e>-1?new ut(r.pos,e,this.$to.pos,this.$to.end(),c,t):c.size||r.pos!=this.$to.pos?new lt(r.pos,i.pos,c):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,r=0,i=this.unplaced.openEnd;r<e;r++){let o=t.firstChild;if(t.childCount>1&&(i=0),o.type.spec.isolating&&i<=r){e=r;break}t=o.content}for(let t=1;t<=2;t++)for(let r=t==1?e:this.unplaced.openStart;r>=0;r--){let i,o=null;r?(o=$l(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,f=null;if(t==1&&(a?l.matchType(a.type)||(f=l.fillBefore(pe.from(a),!1)):o&&c.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:s,parent:o,inject:f};if(t==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:t,openEnd:r}=this.unplaced,i=$l(e,t);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new _e(e,t+1,Math.max(r,i.size+t>=e.size-r?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:r}=this.unplaced,i=$l(e,t);if(i.childCount<=1&&t>0){let o=e.size-t<=t+i.size;this.unplaced=new _e(No(e,t-1,1),t-1,o?t-1:r)}else this.unplaced=new _e(No(e,t,1),t,r)}placeNodes({sliceDepth:e,frontierDepth:t,parent:r,inject:i,wrap:o}){for(;this.depth>t;)this.closeFrontierNode();if(o)for(let m=0;m<o.length;m++)this.openFrontierNode(o[m]);let a=this.unplaced,s=r?r.content:a.content,c=a.openStart-e,l=0,u=[],{match:f,type:d}=this.frontier[t];if(i){for(let m=0;m<i.childCount;m++)u.push(i.child(m));f=f.matchFragment(i)}let h=s.size+e-(a.content.size-a.openEnd);for(;l<s.childCount;){let m=s.child(l),g=f.matchType(m.type);if(!g)break;l++,(l>1||c==0||m.content.size)&&(f=g,u.push(Vx(m.mark(d.allowedMarks(m.marks)),l==1?c:0,l==s.childCount?h:-1)))}let p=l==s.childCount;p||(h=-1),this.placed=Io(this.placed,t,pe.from(u)),this.frontier[t].match=f,p&&h<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let m=0,g=s;m<h;m++){let y=g.lastChild;this.frontier.push({type:y.type,match:y.contentMatchAt(y.childCount)}),g=y.content}this.unplaced=p?e==0?_e.empty:new _e(No(a.content,e-1,1),e-1,h<0?a.openEnd:e-1):new _e(No(a.content,e,l),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!Vl(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.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 t=Math.min(this.depth,e.depth);t>=0;t--){let{match:r,type:i}=this.frontier[t],o=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),a=Vl(e,t,i,r,o);if(a){for(let s=t-1;s>=0;s--){let{match:c,type:l}=this.frontier[s],u=Vl(e,s,l,c,!0);if(!u||u.childCount)continue e}return{depth:t,fit:a,move:o?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=Io(this.placed,t.depth,t.fit)),e=t.move;for(let r=t.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,t=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=Io(this.placed,this.depth,pe.from(e.create(t,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(pe.empty,!0);t.childCount&&(this.placed=Io(this.placed,this.frontier.length,t))}}function No(n,e,t){return e==0?n.cutByIndex(t,n.childCount):n.replaceChild(0,n.firstChild.copy(No(n.firstChild.content,e-1,t)))}function Io(n,e,t){return e==0?n.append(t):n.replaceChild(n.childCount-1,n.lastChild.copy(Io(n.lastChild.content,e-1,t)))}function $l(n,e){for(let t=0;t<e;t++)n=n.firstChild.content;return n}function Vx(n,e,t){if(e<=0)return n;let r=n.content;return e>1&&(r=r.replaceChild(0,Vx(r.firstChild,e-1,r.childCount==1?t-1:0))),e>0&&(r=n.type.contentMatch.fillBefore(r).append(r),t<=0&&(r=r.append(n.type.contentMatch.matchFragment(r).fillBefore(pe.empty,!0)))),n.copy(r)}function Vl(n,e,t,r,i){let o=n.node(e),a=i?n.indexAfter(e):n.index(e);if(a==o.childCount&&!t.compatibleContent(o.type))return null;let s=r.fillBefore(o.content,!0,a);return s&&!JC(t,o.content,a)?s:null}function JC(n,e,t){for(let r=t;r<e.childCount;r++)if(!n.allowsMarks(e.child(r).marks))return!0;return!1}function ZC(n){return n.spec.defining||n.spec.definingForContent}function YC(n,e,t,r){if(!r.size)return n.deleteRange(e,t);let i=n.doc.resolve(e),o=n.doc.resolve(t);if($x(i,o,r))return n.step(new lt(e,t,r));let a=Xx(i,n.doc.resolve(t));a[a.length-1]==0&&a.pop();let s=-(i.depth+1);a.unshift(s);for(let d=i.depth,h=i.pos-1;d>0;d--,h--){let p=i.node(d).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;a.indexOf(d)>-1?s=d:i.before(d)==h&&a.splice(1,0,-d)}let c=a.indexOf(s),l=[],u=r.openStart;for(let d=r.content,h=0;;h++){let p=d.firstChild;if(l.push(p),h==r.openStart)break;d=p.content}for(let d=u-1;d>=0;d--){let h=l[d],p=ZC(h.type);if(p&&!h.sameMarkup(i.node(Math.abs(s)-1)))u=d;else if(p||!h.type.isTextblock)break}for(let d=r.openStart;d>=0;d--){let h=(d+u+1)%(r.openStart+1),p=l[h];if(p)for(let m=0;m<a.length;m++){let g=a[(m+c)%a.length],y=!0;g<0&&(y=!1,g=-g);let b=i.node(g-1),v=i.index(g-1);if(b.canReplaceWith(v,v,p.type,p.marks))return n.replace(i.before(g),y?o.after(g):t,new _e(Hx(r.content,0,r.openStart,h),h,r.openEnd))}}let f=n.steps.length;for(let d=a.length-1;d>=0&&(n.replace(e,t,r),!(n.steps.length>f));d--){let h=a[d];h<0||(e=i.before(h),t=o.after(h))}}function Hx(n,e,t,r,i){if(e<t){let o=n.firstChild;n=n.replaceChild(0,o.copy(Hx(o.content,e+1,t,r,o)))}if(e>r){let o=i.contentMatchAt(0),a=o.fillBefore(n).append(n);n=a.append(o.matchFragment(a).fillBefore(pe.empty,!0))}return n}function QC(n,e,t,r){if(!r.isInline&&e==t&&n.doc.resolve(e).parent.content.size){let i=GC(n.doc,e,r.type);i!=null&&(e=t=i)}n.replaceRange(e,t,new _e(pe.from(r),0,0))}function eS(n,e,t){let r=n.doc.resolve(e),i=n.doc.resolve(t),o=Xx(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 n.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 n.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&&t>r.end(a)&&i.end(a)-t!=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 n.delete(r.before(a),t);n.delete(e,t)}function Xx(n,e){let t=[],r=Math.min(n.depth,e.depth);for(let i=r;i>=0;i--){let o=n.start(i);if(o<n.pos-(n.depth-i)||e.end(i)>e.pos+(e.depth-i)||n.node(i).type.spec.isolating||e.node(i).type.spec.isolating)break;(o==e.start(i)||i==n.depth&&i==e.depth&&n.parent.inlineContent&&e.parent.inlineContent&&i&&e.start(i-1)==o-1)&&t.push(i)}return t}class Pi extends Et{constructor(e,t,r){super(),this.pos=e,this.attr=t,this.value=r}apply(e){let t=e.nodeAt(this.pos);if(!t)return it.fail("No node at attribute step's position");let r=Object.create(null);for(let o in t.attrs)r[o]=t.attrs[o];r[this.attr]=this.value;let i=t.type.create(r,null,t.marks);return it.fromReplace(e,this.pos,this.pos+1,new _e(pe.from(i),0,t.isLeaf?0:1))}getMap(){return $t.empty}invert(e){return new Pi(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Pi(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.pos!="number"||typeof t.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Pi(t.pos,t.attr,t.value)}}Et.jsonID("attr",Pi);class Qo extends Et{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let i in e.attrs)t[i]=e.attrs[i];t[this.attr]=this.value;let r=e.type.create(t,e.content,e.marks);return it.ok(r)}getMap(){return $t.empty}invert(e){return new Qo(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Qo(t.attr,t.value)}}Et.jsonID("docAttr",Qo);let Gi=class extends Error{};Gi=function n(e){let t=Error.call(this,e);return t.__proto__=n.prototype,t};Gi.prototype=Object.create(Error.prototype);Gi.prototype.constructor=Gi;Gi.prototype.name="TransformError";class Bp{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Wi}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Gi(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,r=_e.empty){let i=Kc(this.doc,e,t,r);return i&&this.step(i),this}replaceWith(e,t,r){return this.replace(e,t,new _e(pe.from(r),0,0))}delete(e,t){return this.replace(e,t,_e.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,r){return YC(this,e,t,r),this}replaceRangeWith(e,t,r){return QC(this,e,t,r),this}deleteRange(e,t){return eS(this,e,t),this}lift(e,t){return WC(this,e,t),this}join(e,t=1){return XC(this,e,t),this}wrap(e,t){return qC(this,e,t),this}setBlockType(e,t=e,r,i=null){return jC(this,e,t,r,i),this}setNodeMarkup(e,t,r=null,i){return $C(this,e,t,r,i),this}setNodeAttribute(e,t,r){return this.step(new Pi(e,t,r)),this}setDocAttribute(e,t){return this.step(new Qo(e,t)),this}addNodeMark(e,t){return this.step(new _r(e,t)),this}removeNodeMark(e,t){if(!(t instanceof je)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(t=t.isInSet(r.marks),!t)return this}return this.step(new Xi(e,t)),this}split(e,t=1,r){return VC(this,e,t,r),this}addMark(e,t,r){return IC(this,e,t,r),this}removeMark(e,t,r){return BC(this,e,t,r),this}clearIncompatible(e,t,r){return Rp(this,e,t,r),this}}const Hl=Object.create(null);class Fe{constructor(e,t,r){this.$anchor=e,this.$head=t,this.ranges=r||[new Mp(e.min(t),e.max(t))]}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 t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=_e.empty){let r=t.content.lastChild,i=null;for(let s=0;s<t.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?_e.empty:t),s==0&&Qm(e,o,(r?r.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(e,t){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,t),Qm(e,r,t.isInline?-1:1))}}static findFrom(e,t,r=!1){let i=e.parent.inlineContent?new Ie(e):Ri(e.node(0),e.parent,e.pos,e.index(),t,r);if(i)return i;for(let o=e.depth-1;o>=0;o--){let a=t<0?Ri(e.node(0),e.node(o),e.before(o+1),e.index(o),t,r):Ri(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,t,r);if(a)return a}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new Ht(e.node(0))}static atStart(e){return Ri(e,e,0,0,1)||new Ht(e)}static atEnd(e){return Ri(e,e,e.content.size,e.childCount,-1)||new Ht(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Hl[t.type];if(!r)throw new RangeError(`No selection type ${t.type} defined`);return r.fromJSON(e,t)}static jsonID(e,t){if(e in Hl)throw new RangeError("Duplicate use of selection JSON ID "+e);return Hl[e]=t,t.prototype.jsonID=e,t}getBookmark(){return Ie.between(this.$anchor,this.$head).getBookmark()}}Fe.prototype.visible=!0;class Mp{constructor(e,t){this.$from=e,this.$to=t}}let Zm=!1;function Ym(n){!Zm&&!n.parent.inlineContent&&(Zm=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class Ie extends Fe{constructor(e,t=e){Ym(e),Ym(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let r=e.resolve(t.map(this.head));if(!r.parent.inlineContent)return Fe.near(r);let i=e.resolve(t.map(this.anchor));return new Ie(i.parent.inlineContent?i:r,r)}replace(e,t=_e.empty){if(super.replace(e,t),t==_e.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof Ie&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Jc(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if(typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Ie(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,r=t){let i=e.resolve(t);return new this(i,r==t?i:e.resolve(r))}static between(e,t,r){let i=e.pos-t.pos;if((!r||i)&&(r=i>=0?1:-1),!t.parent.inlineContent){let o=Fe.findFrom(t,r,!0)||Fe.findFrom(t,-r,!0);if(o)t=o.$head;else return Fe.near(t,r)}return e.parent.inlineContent||(i==0?e=t:(e=(Fe.findFrom(e,-r,!0)||Fe.findFrom(e,r,!0)).$anchor,e.pos<t.pos!=i<0&&(e=t))),new Ie(e,t)}}Fe.jsonID("text",Ie);class Jc{constructor(e,t){this.anchor=e,this.head=t}map(e){return new Jc(e.map(this.anchor),e.map(this.head))}resolve(e){return Ie.between(e.resolve(this.anchor),e.resolve(this.head))}}class Ae extends Fe{constructor(e){let t=e.nodeAfter,r=e.node(0).resolve(e.pos+t.nodeSize);super(e,r),this.node=t}map(e,t){let{deleted:r,pos:i}=t.mapResult(this.anchor),o=e.resolve(i);return r?Fe.near(o):new Ae(o)}content(){return new _e(pe.from(this.node),0,0)}eq(e){return e instanceof Ae&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Wp(this.anchor)}static fromJSON(e,t){if(typeof t.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Ae(e.resolve(t.anchor))}static create(e,t){return new Ae(e.resolve(t))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}Ae.prototype.visible=!1;Fe.jsonID("node",Ae);class Wp{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:r}=e.mapResult(this.anchor);return t?new Jc(r,r):new Wp(r)}resolve(e){let t=e.resolve(this.anchor),r=t.nodeAfter;return r&&Ae.isSelectable(r)?new Ae(t):Fe.near(t)}}class Ht extends Fe{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=_e.empty){if(t==_e.empty){e.delete(0,e.doc.content.size);let r=Fe.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new Ht(e)}map(e){return new Ht(e)}eq(e){return e instanceof Ht}getBookmark(){return tS}}Fe.jsonID("all",Ht);const tS={map(){return this},resolve(n){return new Ht(n)}};function Ri(n,e,t,r,i,o=!1){if(e.inlineContent)return Ie.create(n,t);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&&Ae.isSelectable(s))return Ae.create(n,t-(i<0?s.nodeSize:0))}else{let c=Ri(n,s,t+i,i<0?s.childCount:0,i,o);if(c)return c}t+=s.nodeSize*i}return null}function Qm(n,e,t){let r=n.steps.length-1;if(r<e)return;let i=n.steps[r];if(!(i instanceof lt||i instanceof ut))return;let o=n.mapping.maps[r],a;o.forEach((s,c,l,u)=>{a==null&&(a=u)}),n.setSelection(Fe.near(n.doc.resolve(a),t))}const ey=1,ty=2,ny=4;let nS=class extends Bp{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|ey)&-3,this.storedMarks=null,this}get selectionSet(){return(this.updated&ey)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=ty,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&ty)>0}addStep(e,t){super.addStep(e,t),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,t=!0){let r=this.selection;return t&&(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,t,r){let i=this.doc.type.schema;if(t==null)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(r==null&&(r=t),r=r??t,!e)return this.deleteRange(t,r);let o=this.storedMarks;if(!o){let a=this.doc.resolve(t);o=r==t?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(t,r,i.text(e,o)),this.selection.empty||this.setSelection(Fe.near(this.selection.$to)),this}}setMeta(e,t){return this.meta[typeof e=="string"?e:e.key]=t,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|=ny,this}get scrolledIntoView(){return(this.updated&ny)>0}};function ry(n,e){return!e||!n?n:n.bind(e)}class Bo{constructor(e,t,r){this.name=e,this.init=ry(t.init,r),this.apply=ry(t.apply,r)}}const rS=[new Bo("doc",{init(n){return n.doc||n.schema.topNodeType.createAndFill()},apply(n){return n.doc}}),new Bo("selection",{init(n,e){return n.selection||Fe.atStart(e.doc)},apply(n){return n.selection}}),new Bo("storedMarks",{init(n){return n.storedMarks||null},apply(n,e,t,r){return r.selection.$cursor?n.storedMarks:null}}),new Bo("scrollToSelection",{init(){return 0},apply(n,e){return n.scrolledIntoView?e+1:e}})];class Xl{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=rS.slice(),t&&t.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 Bo(r.key,r.spec.state,r))})}}class Mi{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,t=-1){for(let r=0;r<this.config.plugins.length;r++)if(r!=t){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 t=[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<t.length&&s.spec.appendTransaction.call(s,c?t.slice(c):t,l,r);if(u&&r.filterTransaction(u,a)){if(u.setMeta("appendedTransaction",e),!i){i=[];for(let f=0;f<this.config.plugins.length;f++)i.push(f<a?{state:r,n:t.length}:{state:this,n:0})}t.push(u),r=r.applyInner(u),o=!0}i&&(i[a]={state:r,n:t.length})}}if(!o)return{state:r,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new Mi(this.config),r=this.config.fields;for(let i=0;i<r.length;i++){let o=r[i];t[o.name]=o.apply(e,this[o.name],this,t)}return t}get tr(){return new nS(this)}static create(e){let t=new Xl(e.doc?e.doc.type.schema:e.schema,e.plugins),r=new Mi(t);for(let i=0;i<t.fields.length;i++)r[t.fields[i].name]=t.fields[i].init(e,r);return r}reconfigure(e){let t=new Xl(this.schema,e.plugins),r=t.fields,i=new Mi(t);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 t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.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&&(t[r]=o.toJSON.call(i,this[i.key]))}return t}static fromJSON(e,t,r){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new Xl(e.schema,e.plugins),o=new Mi(i);return i.fields.forEach(a=>{if(a.name=="doc")o.doc=pn.fromJSON(e.schema,t.doc);else if(a.name=="selection")o.selection=Fe.fromJSON(o.doc,t.selection);else if(a.name=="storedMarks")t.storedMarks&&(o.storedMarks=t.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(t,s)){o[a.name]=l.fromJSON.call(c,e,t[s],o);return}}o[a.name]=a.init(e,o)}}),o}}function Gx(n,e,t){for(let r in n){let i=n[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=Gx(i,e,{})),t[r]=i}return t}class pi{constructor(e){this.spec=e,this.props={},e.props&&Gx(e.props,this,this.props),this.key=e.key?e.key.key:Kx("plugin")}getState(e){return e[this.key]}}const Gl=Object.create(null);function Kx(n){return n in Gl?n+"$"+ ++Gl[n]:(Gl[n]=0,n+"$")}class tr{constructor(e="key"){this.key=Kx(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const gt=function(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e},ea=function(n){let e=n.assignedSlot||n.parentNode;return e&&e.nodeType==11?e.host:e};let Oh=null;const $n=function(n,e,t){let r=Oh||(Oh=document.createRange());return r.setEnd(n,t??n.nodeValue.length),r.setStart(n,e||0),r},iS=function(){Oh=null},si=function(n,e,t,r){return t&&(iy(n,e,t,r,-1)||iy(n,e,t,r,1))},oS=/^(img|br|input|textarea|hr)$/i;function iy(n,e,t,r,i){for(;;){if(n==t&&e==r)return!0;if(e==(i<0?0:nn(n))){let o=n.parentNode;if(!o||o.nodeType!=1||Ea(n)||oS.test(n.nodeName)||n.contentEditable=="false")return!1;e=gt(n)+(i<0?0:1),n=o}else if(n.nodeType==1){if(n=n.childNodes[e+(i<0?-1:0)],n.contentEditable=="false")return!1;e=i<0?nn(n):0}else return!1}}function nn(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function aS(n,e){for(;;){if(n.nodeType==3&&e)return n;if(n.nodeType==1&&e>0){if(n.contentEditable=="false")return null;n=n.childNodes[e-1],e=nn(n)}else if(n.parentNode&&!Ea(n))e=gt(n),n=n.parentNode;else return null}}function sS(n,e){for(;;){if(n.nodeType==3&&e<n.nodeValue.length)return n;if(n.nodeType==1&&e<n.childNodes.length){if(n.contentEditable=="false")return null;n=n.childNodes[e],e=0}else if(n.parentNode&&!Ea(n))e=gt(n)+1,n=n.parentNode;else return null}}function cS(n,e,t){for(let r=e==0,i=e==nn(n);r||i;){if(n==t)return!0;let o=gt(n);if(n=n.parentNode,!n)return!1;r=r&&o==0,i=i&&o==nn(n)}}function Ea(n){let e;for(let t=n;t&&!(e=t.pmViewDesc);t=t.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==n||e.contentDOM==n)}const Zc=function(n){return n.focusNode&&si(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)};function Jr(n,e){let t=document.createEvent("Event");return t.initEvent("keydown",!0,!0),t.keyCode=n,t.key=t.code=e,t}function lS(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function uS(n,e,t){if(n.caretPositionFromPoint)try{let r=n.caretPositionFromPoint(e,t);if(r)return{node:r.offsetNode,offset:Math.min(nn(r.offsetNode),r.offset)}}catch{}if(n.caretRangeFromPoint){let r=n.caretRangeFromPoint(e,t);if(r)return{node:r.startContainer,offset:Math.min(nn(r.startContainer),r.startOffset)}}}const An=typeof navigator<"u"?navigator:null,oy=typeof document<"u"?document:null,Mr=An&&An.userAgent||"",Rh=/Edge\/(\d+)/.exec(Mr),Jx=/MSIE \d/.exec(Mr),Nh=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Mr),Mt=!!(Jx||Nh||Rh),Sr=Jx?document.documentMode:Nh?+Nh[1]:Rh?+Rh[1]:0,gn=!Mt&&/gecko\/(\d+)/i.test(Mr);gn&&+(/Firefox\/(\d+)/.exec(Mr)||[0,0])[1];const Ih=!Mt&&/Chrome\/(\d+)/.exec(Mr),vt=!!Ih,Zx=Ih?+Ih[1]:0,Ut=!Mt&&!!An&&/Apple Computer/.test(An.vendor),Ki=Ut&&(/Mobile\/\w+/.test(Mr)||!!An&&An.maxTouchPoints>2),tn=Ki||(An?/Mac/.test(An.platform):!1),fS=An?/Win/.test(An.platform):!1,Hn=/Android \d/.test(Mr),Ca=!!oy&&"webkitFontSmoothing"in oy.documentElement.style,dS=Ca?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function hS(n){let e=n.defaultView&&n.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:n.documentElement.clientWidth,top:0,bottom:n.documentElement.clientHeight}}function In(n,e){return typeof n=="number"?n:n[e]}function pS(n){let e=n.getBoundingClientRect(),t=e.width/n.offsetWidth||1,r=e.height/n.offsetHeight||1;return{left:e.left,right:e.left+n.clientWidth*t,top:e.top,bottom:e.top+n.clientHeight*r}}function ay(n,e,t){let r=n.someProp("scrollThreshold")||0,i=n.someProp("scrollMargin")||5,o=n.dom.ownerDocument;for(let a=t||n.dom;a;a=ea(a)){if(a.nodeType!=1)continue;let s=a,c=s==o.body,l=c?hS(o):pS(s),u=0,f=0;if(e.top<l.top+In(r,"top")?f=-(l.top-e.top+In(i,"top")):e.bottom>l.bottom-In(r,"bottom")&&(f=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||f)if(c)o.defaultView.scrollBy(u,f);else{let d=s.scrollLeft,h=s.scrollTop;f&&(s.scrollTop+=f),u&&(s.scrollLeft+=u);let p=s.scrollLeft-d,m=s.scrollTop-h;e={left:e.left-p,top:e.top-m,right:e.right-p,bottom:e.bottom-m}}if(c||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function gS(n){let e=n.dom.getBoundingClientRect(),t=Math.max(0,e.top),r,i;for(let o=(e.left+e.right)/2,a=t+1;a<Math.min(innerHeight,e.bottom);a+=5){let s=n.root.elementFromPoint(o,a);if(!s||s==n.dom||!n.dom.contains(s))continue;let c=s.getBoundingClientRect();if(c.top>=t-20){r=s,i=c.top;break}}return{refDOM:r,refTop:i,stack:Yx(n.dom)}}function Yx(n){let e=[],t=n.ownerDocument;for(let r=n;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),n!=t);r=ea(r));return e}function mS({refDOM:n,refTop:e,stack:t}){let r=n?n.getBoundingClientRect().top:0;Qx(t,r==0?0:r-e)}function Qx(n,e){for(let t=0;t<n.length;t++){let{dom:r,top:i,left:o}=n[t];r.scrollTop!=i+e&&(r.scrollTop=i+e),r.scrollLeft!=o&&(r.scrollLeft=o)}}let Si=null;function yS(n){if(n.setActive)return n.setActive();if(Si)return n.focus(Si);let e=Yx(n);n.focus(Si==null?{get preventScroll(){return Si={preventScroll:!0},!0}}:void 0),Si||(Si=!1,Qx(e,0))}function eD(n,e){let t,r=2e8,i,o=0,a=e.top,s=e.top,c,l;for(let u=n.firstChild,f=0;u;u=u.nextSibling,f++){let d;if(u.nodeType==1)d=u.getClientRects();else if(u.nodeType==3)d=$n(u).getClientRects();else continue;for(let h=0;h<d.length;h++){let p=d[h];if(p.top<=a&&p.bottom>=s){a=Math.max(p.bottom,a),s=Math.min(p.top,s);let m=p.left>e.left?p.left-e.left:p.right<e.left?e.left-p.right:0;if(m<r){t=u,r=m,i=m&&t.nodeType==3?{left:p.right<e.left?p.right:p.left,top:e.top}:e,u.nodeType==1&&m&&(o=f+(e.left>=(p.left+p.right)/2?1:0));continue}}else p.top>e.top&&!c&&p.left<=e.left&&p.right>=e.left&&(c=u,l={left:Math.max(p.left,Math.min(p.right,e.left)),top:p.top});!t&&(e.left>=p.right&&e.top>=p.top||e.left>=p.left&&e.top>=p.bottom)&&(o=f+1)}}return!t&&c&&(t=c,i=l,r=0),t&&t.nodeType==3?bS(t,i):!t||r&&t.nodeType==1?{node:n,offset:o}:eD(t,i)}function bS(n,e){let t=n.nodeValue.length,r=document.createRange();for(let i=0;i<t;i++){r.setEnd(n,i+1),r.setStart(n,i);let o=hr(r,1);if(o.top!=o.bottom&&Lp(e,o))return{node:n,offset:i+(e.left>=(o.left+o.right)/2?1:0)}}return{node:n,offset:0}}function Lp(n,e){return n.left>=e.left-1&&n.left<=e.right+1&&n.top>=e.top-1&&n.top<=e.bottom+1}function vS(n,e){let t=n.parentNode;return t&&/^li$/i.test(t.nodeName)&&e.left<n.getBoundingClientRect().left?t:n}function xS(n,e,t){let{node:r,offset:i}=eD(e,t),o=-1;if(r.nodeType==1&&!r.firstChild){let a=r.getBoundingClientRect();o=a.left!=a.right&&t.left>(a.left+a.right)/2?1:-1}return n.docView.posFromDOM(r,i,o)}function DS(n,e,t,r){let i=-1;for(let o=e,a=!1;o!=n.dom;){let s=n.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:n.docView.posFromDOM(e,t,-1)}function tD(n,e,t){let r=n.childNodes.length;if(r&&t.top<t.bottom)for(let i=Math.max(0,Math.min(r-1,Math.floor(r*(e.top-t.top)/(t.bottom-t.top))-2)),o=i;;){let a=n.childNodes[o];if(a.nodeType==1){let s=a.getClientRects();for(let c=0;c<s.length;c++){let l=s[c];if(Lp(e,l))return tD(a,e,l)}}if((o=(o+1)%r)==i)break}return n}function wS(n,e){let t=n.dom.ownerDocument,r,i=0,o=uS(t,e.left,e.top);o&&({node:r,offset:i}=o);let a=(n.root.elementFromPoint?n.root:t).elementFromPoint(e.left,e.top),s;if(!a||!n.dom.contains(a.nodeType!=1?a.parentNode:a)){let l=n.dom.getBoundingClientRect();if(!Lp(e,l)||(a=tD(n.dom,e,l),!a))return null}if(Ut)for(let l=a;r&&l;l=ea(l))l.draggable&&(r=void 0);if(a=vS(a,e),r){if(gn&&r.nodeType==1&&(i=Math.min(i,r.childNodes.length),i<r.childNodes.length)){let u=r.childNodes[i],f;u.nodeName=="IMG"&&(f=u.getBoundingClientRect()).right<=e.left&&f.bottom>e.top&&i++}let l;Ca&&i&&r.nodeType==1&&(l=r.childNodes[i-1]).nodeType==1&&l.contentEditable=="false"&&l.getBoundingClientRect().top>=e.top&&i--,r==n.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?s=n.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(s=DS(n,r,i,e))}s==null&&(s=xS(n,a,e));let c=n.docView.nearestDesc(a,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function sy(n){return n.top<n.bottom||n.left<n.right}function hr(n,e){let t=n.getClientRects();if(t.length){let r=t[e<0?0:t.length-1];if(sy(r))return r}return Array.prototype.find.call(t,sy)||n.getBoundingClientRect()}const _S=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function nD(n,e,t){let{node:r,offset:i,atom:o}=n.docView.domFromPos(e,t<0?-1:1),a=Ca||gn;if(r.nodeType==3)if(a&&(_S.test(r.nodeValue)||(t<0?!i:i==r.nodeValue.length))){let c=hr($n(r,i,i),t);if(gn&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let l=hr($n(r,i-1,i-1),-1);if(l.top==c.top){let u=hr($n(r,i,i+1),-1);if(u.top!=c.top)return yo(u,u.left<l.left)}}return c}else{let c=i,l=i,u=t<0?1:-1;return t<0&&!i?(l++,u=-1):t>=0&&i==r.nodeValue.length?(c--,u=1):t<0?c--:l++,yo(hr($n(r,c,l),u),u<0)}if(!n.state.doc.resolve(e-(o||0)).parent.inlineContent){if(o==null&&i&&(t<0||i==nn(r))){let c=r.childNodes[i-1];if(c.nodeType==1)return Kl(c.getBoundingClientRect(),!1)}if(o==null&&i<nn(r)){let c=r.childNodes[i];if(c.nodeType==1)return Kl(c.getBoundingClientRect(),!0)}return Kl(r.getBoundingClientRect(),t>=0)}if(o==null&&i&&(t<0||i==nn(r))){let c=r.childNodes[i-1],l=c.nodeType==3?$n(c,nn(c)-(a?0:1)):c.nodeType==1&&(c.nodeName!="BR"||!c.nextSibling)?c:null;if(l)return yo(hr(l,1),!1)}if(o==null&&i<nn(r)){let c=r.childNodes[i];for(;c.pmViewDesc&&c.pmViewDesc.ignoreForCoords;)c=c.nextSibling;let l=c?c.nodeType==3?$n(c,0,a?0:1):c.nodeType==1?c:null:null;if(l)return yo(hr(l,-1),!0)}return yo(hr(r.nodeType==3?$n(r):r,-t),t>=0)}function yo(n,e){if(n.width==0)return n;let t=e?n.left:n.right;return{top:n.top,bottom:n.bottom,left:t,right:t}}function Kl(n,e){if(n.height==0)return n;let t=e?n.top:n.bottom;return{top:t,bottom:t,left:n.left,right:n.right}}function rD(n,e,t){let r=n.state,i=n.root.activeElement;r!=e&&n.updateState(e),i!=n.dom&&n.focus();try{return t()}finally{r!=e&&n.updateState(r),i!=n.dom&&i&&i.focus()}}function TS(n,e,t){let r=e.selection,i=t=="up"?r.$from:r.$to;return rD(n,e,()=>{let{node:o}=n.docView.domFromPos(i.pos,t=="up"?-1:1);for(;;){let s=n.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=nD(n,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=$n(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&&(t=="up"?a.top-u.top>(u.bottom-a.top)*2:u.bottom-a.bottom>(a.bottom-u.top)*2))return!1}}return!0})}const ES=/[\u0590-\u08ac]/;function CS(n,e,t){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=n.domSelection();return s?!ES.test(r.parent.textContent)||!s.modify?t=="left"||t=="backward"?o:a:rD(n,e,()=>{let{focusNode:c,focusOffset:l,anchorNode:u,anchorOffset:f}=n.domSelectionRange(),d=s.caretBidiLevel;s.modify("move",t,"character");let h=r.depth?n.docView.domAfterPos(r.before()):n.dom,{focusNode:p,focusOffset:m}=n.domSelectionRange(),g=p&&!h.contains(p.nodeType==1?p:p.parentNode)||c==p&&l==m;try{s.collapse(u,f),c&&(c!=u||l!=f)&&s.extend&&s.extend(c,l)}catch{}return d!=null&&(s.caretBidiLevel=d),g}):r.pos==r.start()||r.pos==r.end()}let cy=null,ly=null,uy=!1;function SS(n,e,t){return cy==e&&ly==t?uy:(cy=e,ly=t,uy=t=="up"||t=="down"?TS(n,e,t):CS(n,e,t))}const on=0,fy=1,Zr=2,Un=3;class Sa{constructor(e,t,r,i){this.parent=e,this.children=t,this.dom=r,this.contentDOM=i,this.dirty=on,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].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 t=0,r=this.posAtStart;;t++){let i=this.children[t];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,t,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[t-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[t];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=t>gt(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(t==0)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!1;break}if(o.previousSibling)break}if(i==null&&t==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,t=!1){for(let r=!0,i=e;i;i=i.parentNode){let o=this.getDesc(i),a;if(o&&(!t||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 t=e.pmViewDesc;for(let r=t;r;r=r.parent)if(r==this)return t}posFromDOM(e,t,r){for(let i=e;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(e,t,r)}return-1}descAt(e){for(let t=0,r=0;t<this.children.length;t++){let i=this.children[t],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,t){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 oD){i=e-o;break}o=s}if(i)return this.children[r].domFromPos(i-this.children[r].border,t);for(let o;r&&!(o=this.children[r-1]).size&&o instanceof iD&&o.side>=0;r--);if(t<=0){let o,a=!0;for(;o=r?this.children[r-1]:null,!(!o||o.dom.parentNode==this.contentDOM);r--,a=!1);return o&&t&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,t):{node:this.contentDOM,offset:o?gt(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,t):{node:this.contentDOM,offset:o?gt(o.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,r=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:t,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&&t<=l-c.border&&c.node&&c.contentDOM&&this.contentDOM.contains(c.contentDOM))return c.parseRange(e,t,u);e=a;for(let f=s;f>0;f--){let d=this.children[f-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){i=gt(d.dom)+1;break}e-=d.size}i==-1&&(i=0)}if(i>-1&&(l>t||s==this.children.length-1)){t=l;for(let u=s+1;u<this.children.length;u++){let f=this.children[u];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){o=gt(f.dom);break}t+=f.size}o==-1&&(o=this.contentDOM.childNodes.length);break}a=l}return{node:this.contentDOM,from:e,to:t,fromOffset:i,toOffset:o}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return t.size==0||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:r}=this.domFromPos(e,0);if(t.nodeType!=1||r==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[r]}setSelection(e,t,r,i=!1){let o=Math.min(e,t),a=Math.max(e,t);for(let h=0,p=0;h<this.children.length;h++){let m=this.children[h],g=p+m.size;if(o>p&&a<g)return m.setSelection(e-p-m.border,t-p-m.border,r,i);p=g}let s=this.domFromPos(e,e?-1:1),c=t==e?s:this.domFromPos(t,t?-1:1),l=r.root.getSelection(),u=r.domSelectionRange(),f=!1;if((gn||Ut)&&e==t){let{node:h,offset:p}=s;if(h.nodeType==3){if(f=!!(p&&h.nodeValue[p-1]==`
|
|
6
|
+
`),f&&p==h.nodeValue.length)for(let m=h,g;m;m=m.parentNode){if(g=m.nextSibling){g.nodeName=="BR"&&(s=c={node:g.parentNode,offset:gt(g)+1});break}let y=m.pmViewDesc;if(y&&y.node&&y.node.isBlock)break}}else{let m=h.childNodes[p-1];f=m&&(m.nodeName=="BR"||m.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||f&&Ut)&&si(s.node,s.offset,u.anchorNode,u.anchorOffset)&&si(c.node,c.offset,u.focusNode,u.focusOffset))return;let d=!1;if((l.extend||e==t)&&!f){l.collapse(s.node,s.offset);try{e!=t&&l.extend(c.node,c.offset),d=!0}catch{}}if(!d){if(e>t){let p=s;s=c,c=p}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,t){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&&t>=r:e<a&&t>r){let s=r+o.border,c=a-o.border;if(e>=s&&t<=c){this.dirty=e==r||t==a?Zr:fy,e==s&&t==c&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=Un:o.markDirty(e-s,t-s);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?Zr:Un}r=a}this.dirty=Zr}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let r=e==1?Zr:fy;t.dirty<r&&(t.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(e){return!1}}class iD extends Sa{constructor(e,t,r,i){let o,a=t.type.toDOM;if(typeof a=="function"&&(a=a(r,()=>{if(!o)return i;if(o.parent)return o.parent.posBeforeChild(o)})),!t.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=t,this.widget=t,o=this}matchesWidget(e){return this.dirty==on&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return t?t(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 AS extends Sa{constructor(e,t,r,i){super(e,[],t,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class ci extends Sa{constructor(e,t,r,i,o){super(e,[],r,i),this.mark=t,this.spec=o}static create(e,t,r,i){let o=i.nodeViews[t.type.name],a=o&&o(t,i,r);return(!a||!a.dom)&&(a=hi.renderSpec(document,t.type.spec.toDOM(t,r),null,t.attrs)),new ci(e,t,a.dom,a.contentDOM||a.dom,a)}parseRule(){return this.dirty&Un||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Un&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=on){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=on}}slice(e,t,r){let i=ci.create(this.parent,this.mark,!0,r),o=this.children,a=this.size;t<a&&(o=Mh(o,t,a,r)),e>0&&(o=Mh(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 Ar extends Sa{constructor(e,t,r,i,o,a,s,c,l){super(e,[],o,a),this.node=t,this.outerDeco=r,this.innerDeco=i,this.nodeDOM=s}static create(e,t,r,i,o,a){let s=o.nodeViews[t.type.name],c,l=s&&s(t,o,()=>{if(!c)return a;if(c.parent)return c.parent.posBeforeChild(c)},r,i),u=l&&l.dom,f=l&&l.contentDOM;if(t.isText){if(!u)u=document.createTextNode(t.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:f}=hi.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs));!f&&!t.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),t.type.spec.draggable&&(u.draggable=!0));let d=u;return u=cD(u,r,t),l?c=new US(e,t,r,i,u,f||null,d,l,o,a+1):t.isText?new Yc(e,t,r,i,u,d,o):new Ar(e,t,r,i,u,f||null,d,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 t=this.children.length-1;t>=0;t--){let r=this.children[t];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>pe.empty)}return e}matchesNode(e,t,r){return this.dirty==on&&e.eq(this.node)&&tc(t,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let r=this.node.inlineContent,i=t,o=e.composing?this.localCompositionInfo(e,t):null,a=o&&o.pos>-1?o:null,s=o&&o.pos<0,c=new FS(this,a&&a.node,e);NS(this.node,this.innerDeco,(l,u,f)=>{l.spec.marks?c.syncToMarks(l.spec.marks,r,e):l.type.side>=0&&!f&&c.syncToMarks(u==this.node.childCount?je.none:this.node.child(u).marks,r,e),c.placeWidget(l,e,i)},(l,u,f,d)=>{c.syncToMarks(l.marks,r,e);let h;c.findNodeMatch(l,u,f,d)||s&&e.state.selection.from>i&&e.state.selection.to<i+l.nodeSize&&(h=c.findIndexWithChild(o.node))>-1&&c.updateNodeAt(l,u,f,h,e)||c.updateNextNode(l,u,f,e,d,i)||c.addNode(l,u,f,e,i),i+=l.nodeSize}),c.syncToMarks([],r,e),this.node.isTextblock&&c.addTextblockHacks(),c.destroyRest(),(c.changed||this.dirty==Zr)&&(a&&this.protectLocalComposition(e,a),aD(this.contentDOM,this.children,e),Ki&&IS(this.dom))}localCompositionInfo(e,t){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof Ie)||r<t||i>t+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=BS(this.node.content,a,r-t,i-t);return s<0?null:{node:o,pos:s,text:a}}else return{node:o,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:r,text:i}){if(this.getDesc(t))return;let o=t;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 AS(this,o,t,i);e.input.compositionNodes.push(a),this.children=Mh(this.children,r,r+i.length,e,a)}update(e,t,r,i){return this.dirty==Un||!e.sameMarkup(this.node)?!1:(this.updateInner(e,t,r,i),!0)}updateInner(e,t,r,i){this.updateOuterDeco(t),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=on}updateOuterDeco(e){if(tc(e,this.outerDeco))return;let t=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=sD(this.dom,this.nodeDOM,Bh(this.outerDeco,this.node,t),Bh(e,this.node,t)),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 dy(n,e,t,r,i){cD(r,e,n);let o=new Ar(void 0,n,e,t,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class Yc extends Ar{constructor(e,t,r,i,o,a,s){super(e,t,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,t,r,i){return this.dirty==Un||this.dirty!=on&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=on||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=on,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,r){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,t,r){let i=this.node.cut(e,t),o=document.createTextNode(i.text);return new Yc(this.parent,i,this.outerDeco,this.innerDeco,o,o,r)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=Un)}get domAtom(){return!1}isText(e){return this.node.text==e}}class oD extends Sa{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==on&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class US extends Ar{constructor(e,t,r,i,o,a,s,c,l,u){super(e,t,r,i,o,a,s,l,u),this.spec=c}update(e,t,r,i){if(this.dirty==Un)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let o=this.spec.update(e,t,r);return o&&this.updateInner(e,t,r,i),o}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,t,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,r,i){this.spec.setSelection?this.spec.setSelection(e,t,r.root):super.setSelection(e,t,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 aD(n,e,t){let r=n.firstChild,i=!1;for(let o=0;o<e.length;o++){let a=e[o],s=a.dom;if(s.parentNode==n){for(;s!=r;)r=hy(r),i=!0;r=r.nextSibling}else i=!0,n.insertBefore(s,r);if(a instanceof ci){let c=r?r.previousSibling:n.lastChild;aD(a.contentDOM,a.children,t),r=c?c.nextSibling:n.firstChild}}for(;r;)r=hy(r),i=!0;i&&t.trackWrites==n&&(t.trackWrites=null)}const Lo=function(n){n&&(this.nodeName=n)};Lo.prototype=Object.create(null);const Yr=[new Lo];function Bh(n,e,t){if(n.length==0)return Yr;let r=t?Yr[0]:new Lo,i=[r];for(let o=0;o<n.length;o++){let a=n[o].type.attrs;if(a){a.nodeName&&i.push(r=new Lo(a.nodeName));for(let s in a){let c=a[s];c!=null&&(t&&i.length==1&&i.push(r=new Lo(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 sD(n,e,t,r){if(t==Yr&&r==Yr)return e;let i=e;for(let o=0;o<r.length;o++){let a=r[o],s=t[o];if(o){let c;s&&s.nodeName==a.nodeName&&i!=n&&(c=i.parentNode)&&c.nodeName.toLowerCase()==a.nodeName||(c=document.createElement(a.nodeName),c.pmIsDeco=!0,c.appendChild(i),s=Yr[0]),i=c}kS(i,s||Yr[0],a)}return i}function kS(n,e,t){for(let r in e)r!="class"&&r!="style"&&r!="nodeName"&&!(r in t)&&n.removeAttribute(r);for(let r in t)r!="class"&&r!="style"&&r!="nodeName"&&t[r]!=e[r]&&n.setAttribute(r,t[r]);if(e.class!=t.class){let r=e.class?e.class.split(" ").filter(Boolean):[],i=t.class?t.class.split(" ").filter(Boolean):[];for(let o=0;o<r.length;o++)i.indexOf(r[o])==-1&&n.classList.remove(r[o]);for(let o=0;o<i.length;o++)r.indexOf(i[o])==-1&&n.classList.add(i[o]);n.classList.length==0&&n.removeAttribute("class")}if(e.style!=t.style){if(e.style){let r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,i;for(;i=r.exec(e.style);)n.style.removeProperty(i[1])}t.style&&(n.style.cssText+=t.style)}}function cD(n,e,t){return sD(n,n,Yr,Bh(e,t,n.nodeType!=1))}function tc(n,e){if(n.length!=e.length)return!1;for(let t=0;t<n.length;t++)if(!n[t].type.eq(e[t].type))return!1;return!0}function hy(n){let e=n.nextSibling;return n.parentNode.removeChild(n),e}class FS{constructor(e,t,r){this.lock=t,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=OS(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let r=e;r<t;r++)this.top.children[r].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,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=on,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=ci.create(this.top,e[o],t,r);this.top.children.splice(this.index,0,c),this.top=c,this.changed=!0}this.index=0,o++}}findNodeMatch(e,t,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,t,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,t,r)&&!this.preMatch.matched.has(l)){o=s;break}}return o<0?!1:(this.destroyBetween(this.index,o),this.index++,!0)}updateNodeAt(e,t,r,i,o){let a=this.top.children[i];return a.dirty==Un&&a.dom==a.contentDOM&&(a.dirty=Zr),a.update(e,t,r,o)?(this.destroyBetween(this.index,i),this.index++,!0):!1}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==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=t}}updateNextNode(e,t,r,i,o,a){for(let s=this.index;s<this.top.children.length;s++){let c=this.top.children[s];if(c instanceof Ar){let l=this.preMatch.matched.get(c);if(l!=null&&l!=o)return!1;let u=c.dom,f,d=this.isLocked(u)&&!(e.isText&&c.node&&c.node.isText&&c.nodeDOM.nodeValue==e.text&&c.dirty!=Un&&tc(t,c.outerDeco));if(!d&&c.update(e,t,r,i))return this.destroyBetween(this.index,s),c.dom!=u&&(this.changed=!0),this.index++,!0;if(!d&&(f=this.recreateWrapper(c,e,t,r,i,a)))return this.destroyBetween(this.index,s),this.top.children[this.index]=f,f.contentDOM&&(f.dirty=Zr,f.updateChildren(i,a+1),f.dirty=on),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,r,i,o,a){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!tc(r,e.outerDeco)||!i.eq(e.innerDeco))return null;let s=Ar.create(this.top,t,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,t,r,i,o){let a=Ar.create(this.top,e,t,r,i,o);a.contentDOM&&a.updateChildren(i,o+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(e,t,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 iD(this.top,e,t,r);this.top.children.splice(this.index++,0,o),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof ci;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof Yc)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((Ut||vt)&&e&&e.dom.contentEditable=="false"&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.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 oD(this.top,[],r,null);t!=this.top?t.children.push(i):t.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 OS(n,e){let t=e,r=t.children.length,i=n.childCount,o=new Map,a=[];e:for(;i>0;){let s;for(;;)if(r){let l=t.children[r-1];if(l instanceof ci)t=l,r=l.children.length;else{s=l,r--;break}}else{if(t==e)break e;r=t.parent.children.indexOf(t),t=t.parent}let c=s.node;if(c){if(c!=n.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function RS(n,e){return n.type.side-e.type.side}function NS(n,e,t,r){let i=e.locals(n),o=0;if(i.length==0){for(let l=0;l<n.childCount;l++){let u=n.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,f;for(;a<i.length&&i[a].to==o;){let g=i[a++];g.widget&&(u?(f||(f=[u])).push(g):u=g)}if(u)if(f){f.sort(RS);for(let g=0;g<f.length;g++)t(f[g],l,!!c)}else t(u,l,!!c);let d,h;if(c)h=-1,d=c,c=null;else if(l<n.childCount)h=l,d=n.child(l++);else break;for(let g=0;g<s.length;g++)s[g].to<=o&&s.splice(g--,1);for(;a<i.length&&i[a].from<=o&&i[a].to>o;)s.push(i[a++]);let p=o+d.nodeSize;if(d.isText){let g=p;a<i.length&&i[a].from<g&&(g=i[a].from);for(let y=0;y<s.length;y++)s[y].to<g&&(g=s[y].to);g<p&&(c=d.cut(g-o),d=d.cut(0,g-o),p=g,h=-1)}else for(;a<i.length&&i[a].to<p;)a++;let m=d.isInline&&!d.isLeaf?s.filter(g=>!g.inline):s.slice();r(d,m,e.forChild(o,d),h),o=p}}function IS(n){if(n.nodeName=="UL"||n.nodeName=="OL"){let e=n.style.cssText;n.style.cssText=e+"; list-style: square !important",window.getComputedStyle(n).listStyle,n.style.cssText=e}}function BS(n,e,t,r){for(let i=0,o=0;i<n.childCount&&o<=r;){let a=n.child(i++),s=o;if(o+=a.nodeSize,!a.isText)continue;let c=a.text;for(;i<n.childCount;){let l=n.child(i++);if(o+=l.nodeSize,!l.isText)break;c+=l.text}if(o>=t){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>=t)return s+l;if(t==r&&c.length>=r+e.length-s&&c.slice(r-s,r-s+e.length)==e)return r}}return-1}function Mh(n,e,t,r,i){let o=[];for(let a=0,s=0;a<n.length;a++){let c=n[a],l=s,u=s+=c.size;l>=t||u<=e?o.push(c):(l<e&&o.push(c.slice(0,e-l,r)),i&&(o.push(i),i=void 0),u>t&&o.push(c.slice(t-l,c.size,r)))}return o}function Pp(n,e=null){let t=n.domSelectionRange(),r=n.state.doc;if(!t.focusNode)return null;let i=n.docView.nearestDesc(t.focusNode),o=i&&i.size==0,a=n.docView.posFromDOM(t.focusNode,t.focusOffset,1);if(a<0)return null;let s=r.resolve(a),c,l;if(Zc(t)){for(c=a;i&&!i.node;)i=i.parent;let f=i.node;if(i&&f.isAtom&&Ae.isSelectable(f)&&i.parent&&!(f.isInline&&cS(t.focusNode,t.focusOffset,i.dom))){let d=i.posBefore;l=new Ae(a==d?s:r.resolve(d))}}else{if(t instanceof n.dom.ownerDocument.defaultView.Selection&&t.rangeCount>1){let f=a,d=a;for(let h=0;h<t.rangeCount;h++){let p=t.getRangeAt(h);f=Math.min(f,n.docView.posFromDOM(p.startContainer,p.startOffset,1)),d=Math.max(d,n.docView.posFromDOM(p.endContainer,p.endOffset,-1))}if(f<0)return null;[c,a]=d==n.state.selection.anchor?[d,f]:[f,d],s=r.resolve(a)}else c=n.docView.posFromDOM(t.anchorNode,t.anchorOffset,1);if(c<0)return null}let u=r.resolve(c);if(!l){let f=e=="pointer"||n.state.selection.head<s.pos&&!o?1:-1;l=qp(n,u,s,f)}return l}function lD(n){return n.editable?n.hasFocus():fD(n)&&document.activeElement&&document.activeElement.contains(n.dom)}function Gn(n,e=!1){let t=n.state.selection;if(uD(n,t),!!lD(n)){if(!e&&n.input.mouseDown&&n.input.mouseDown.allowDefault&&vt){let r=n.domSelectionRange(),i=n.domObserver.currentSelection;if(r.anchorNode&&i.anchorNode&&si(r.anchorNode,r.anchorOffset,i.anchorNode,i.anchorOffset)){n.input.mouseDown.delayedSelectionSync=!0,n.domObserver.setCurSelection();return}}if(n.domObserver.disconnectSelection(),n.cursorWrapper)WS(n);else{let{anchor:r,head:i}=t,o,a;py&&!(t instanceof Ie)&&(t.$from.parent.inlineContent||(o=gy(n,t.from)),!t.empty&&!t.$from.parent.inlineContent&&(a=gy(n,t.to))),n.docView.setSelection(r,i,n,e),py&&(o&&my(o),a&&my(a)),t.visible?n.dom.classList.remove("ProseMirror-hideselection"):(n.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&MS(n))}n.domObserver.setCurSelection(),n.domObserver.connectSelection()}}const py=Ut||vt&&Zx<63;function gy(n,e){let{node:t,offset:r}=n.docView.domFromPos(e,0),i=r<t.childNodes.length?t.childNodes[r]:null,o=r?t.childNodes[r-1]:null;if(Ut&&i&&i.contentEditable=="false")return Jl(i);if((!i||i.contentEditable=="false")&&(!o||o.contentEditable=="false")){if(i)return Jl(i);if(o)return Jl(o)}}function Jl(n){return n.contentEditable="true",Ut&&n.draggable&&(n.draggable=!1,n.wasDraggable=!0),n}function my(n){n.contentEditable="false",n.wasDraggable&&(n.draggable=!0,n.wasDraggable=null)}function MS(n){let e=n.dom.ownerDocument;e.removeEventListener("selectionchange",n.input.hideSelectionGuard);let t=n.domSelectionRange(),r=t.anchorNode,i=t.anchorOffset;e.addEventListener("selectionchange",n.input.hideSelectionGuard=()=>{(t.anchorNode!=r||t.anchorOffset!=i)&&(e.removeEventListener("selectionchange",n.input.hideSelectionGuard),setTimeout(()=>{(!lD(n)||n.state.selection.visible)&&n.dom.classList.remove("ProseMirror-hideselection")},20))})}function WS(n){let e=n.domSelection(),t=document.createRange();if(!e)return;let r=n.cursorWrapper.dom,i=r.nodeName=="IMG";i?t.setStart(r.parentNode,gt(r)+1):t.setStart(r,0),t.collapse(!0),e.removeAllRanges(),e.addRange(t),!i&&!n.state.selection.visible&&Mt&&Sr<=11&&(r.disabled=!0,r.disabled=!1)}function uD(n,e){if(e instanceof Ae){let t=n.docView.descAt(e.from);t!=n.lastSelectedViewDesc&&(yy(n),t&&t.selectNode(),n.lastSelectedViewDesc=t)}else yy(n)}function yy(n){n.lastSelectedViewDesc&&(n.lastSelectedViewDesc.parent&&n.lastSelectedViewDesc.deselectNode(),n.lastSelectedViewDesc=void 0)}function qp(n,e,t,r){return n.someProp("createSelectionBetween",i=>i(n,e,t))||Ie.between(e,t,r)}function by(n){return n.editable&&!n.hasFocus()?!1:fD(n)}function fD(n){let e=n.domSelectionRange();if(!e.anchorNode)return!1;try{return n.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(n.editable||n.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function LS(n){let e=n.docView.domFromPos(n.state.selection.anchor,0),t=n.domSelectionRange();return si(e.node,e.offset,t.anchorNode,t.anchorOffset)}function Wh(n,e){let{$anchor:t,$head:r}=n.selection,i=e>0?t.max(r):t.min(r),o=i.parent.inlineContent?i.depth?n.doc.resolve(e>0?i.after():i.before()):null:i;return o&&Fe.findFrom(o,e)}function pr(n,e){return n.dispatch(n.state.tr.setSelection(e).scrollIntoView()),!0}function vy(n,e,t){let r=n.state.selection;if(r instanceof Ie)if(t.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=n.state.doc.resolve(i.pos+o.nodeSize*(e<0?-1:1));return pr(n,new Ie(r.$anchor,a))}else if(r.empty){if(n.endOfTextblock(e>0?"forward":"backward")){let i=Wh(n.state,e);return i&&i instanceof Ae?pr(n,i):!1}else if(!(tn&&t.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=n.docView.descAt(s))&&!a.contentDOM?Ae.isSelectable(o)?pr(n,new Ae(e<0?n.state.doc.resolve(i.pos-o.nodeSize):i)):Ca?pr(n,new Ie(n.state.doc.resolve(e<0?s:s+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Ae&&r.node.isInline)return pr(n,new Ie(e>0?r.$to:r.$from));{let i=Wh(n.state,e);return i?pr(n,i):!1}}}function nc(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function Po(n,e){let t=n.pmViewDesc;return t&&t.size==0&&(e<0||n.nextSibling||n.nodeName!="BR")}function Ai(n,e){return e<0?PS(n):qS(n)}function PS(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let i,o,a=!1;for(gn&&t.nodeType==1&&r<nc(t)&&Po(t.childNodes[r],-1)&&(a=!0);;)if(r>0){if(t.nodeType!=1)break;{let s=t.childNodes[r-1];if(Po(s,-1))i=t,o=--r;else if(s.nodeType==3)t=s,r=t.nodeValue.length;else break}}else{if(dD(t))break;{let s=t.previousSibling;for(;s&&Po(s,-1);)i=t.parentNode,o=gt(s),s=s.previousSibling;if(s)t=s,r=nc(t);else{if(t=t.parentNode,t==n.dom)break;r=0}}}a?Lh(n,t,r):i&&Lh(n,i,o)}function qS(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let i=nc(t),o,a;for(;;)if(r<i){if(t.nodeType!=1)break;let s=t.childNodes[r];if(Po(s,1))o=t,a=++r;else break}else{if(dD(t))break;{let s=t.nextSibling;for(;s&&Po(s,1);)o=s.parentNode,a=gt(s)+1,s=s.nextSibling;if(s)t=s,r=0,i=nc(t);else{if(t=t.parentNode,t==n.dom)break;r=i=0}}}o&&Lh(n,o,a)}function dD(n){let e=n.pmViewDesc;return e&&e.node&&e.node.isBlock}function jS(n,e){for(;n&&e==n.childNodes.length&&!Ea(n);)e=gt(n)+1,n=n.parentNode;for(;n&&e<n.childNodes.length;){let t=n.childNodes[e];if(t.nodeType==3)return t;if(t.nodeType==1&&t.contentEditable=="false")break;n=t,e=0}}function zS(n,e){for(;n&&!e&&!Ea(n);)e=gt(n),n=n.parentNode;for(;n&&e;){let t=n.childNodes[e-1];if(t.nodeType==3)return t;if(t.nodeType==1&&t.contentEditable=="false")break;n=t,e=n.childNodes.length}}function Lh(n,e,t){if(e.nodeType!=3){let o,a;(a=jS(e,t))?(e=a,t=0):(o=zS(e,t))&&(e=o,t=o.nodeValue.length)}let r=n.domSelection();if(!r)return;if(Zc(r)){let o=document.createRange();o.setEnd(e,t),o.setStart(e,t),r.removeAllRanges(),r.addRange(o)}else r.extend&&r.extend(e,t);n.domObserver.setCurSelection();let{state:i}=n;setTimeout(()=>{n.state==i&&Gn(n)},50)}function xy(n,e){let t=n.state.doc.resolve(e);if(!(vt||fS)&&t.parent.inlineContent){let i=n.coordsAtPos(e);if(e>t.start()){let o=n.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<t.end()){let o=n.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(n.dom).direction=="rtl"?"rtl":"ltr"}function Dy(n,e,t){let r=n.state.selection;if(r instanceof Ie&&!r.empty||t.indexOf("s")>-1||tn&&t.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||n.endOfTextblock(e<0?"up":"down")){let a=Wh(n.state,e);if(a&&a instanceof Ae)return pr(n,a)}if(!i.parent.inlineContent){let a=e<0?i:o,s=r instanceof Ht?Fe.near(a,e):Fe.findFrom(a,e);return s?pr(n,s):!1}return!1}function wy(n,e){if(!(n.state.selection instanceof Ie))return!0;let{$head:t,$anchor:r,empty:i}=n.state.selection;if(!t.sameParent(r))return!0;if(!i)return!1;if(n.endOfTextblock(e>0?"forward":"backward"))return!0;let o=!t.textOffset&&(e<0?t.nodeBefore:t.nodeAfter);if(o&&!o.isText){let a=n.state.tr;return e<0?a.delete(t.pos-o.nodeSize,t.pos):a.delete(t.pos,t.pos+o.nodeSize),n.dispatch(a),!0}return!1}function _y(n,e,t){n.domObserver.stop(),e.contentEditable=t,n.domObserver.start()}function $S(n){if(!Ut||n.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:t}=n.domSelectionRange();if(e&&e.nodeType==1&&t==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;_y(n,r,"true"),setTimeout(()=>_y(n,r,"false"),20)}return!1}function VS(n){let e="";return n.ctrlKey&&(e+="c"),n.metaKey&&(e+="m"),n.altKey&&(e+="a"),n.shiftKey&&(e+="s"),e}function HS(n,e){let t=e.keyCode,r=VS(e);if(t==8||tn&&t==72&&r=="c")return wy(n,-1)||Ai(n,-1);if(t==46&&!e.shiftKey||tn&&t==68&&r=="c")return wy(n,1)||Ai(n,1);if(t==13||t==27)return!0;if(t==37||tn&&t==66&&r=="c"){let i=t==37?xy(n,n.state.selection.from)=="ltr"?-1:1:-1;return vy(n,i,r)||Ai(n,i)}else if(t==39||tn&&t==70&&r=="c"){let i=t==39?xy(n,n.state.selection.from)=="ltr"?1:-1:1;return vy(n,i,r)||Ai(n,i)}else{if(t==38||tn&&t==80&&r=="c")return Dy(n,-1,r)||Ai(n,-1);if(t==40||tn&&t==78&&r=="c")return $S(n)||Dy(n,1,r)||Ai(n,1);if(r==(tn?"m":"c")&&(t==66||t==73||t==89||t==90))return!0}return!1}function jp(n,e){n.someProp("transformCopied",h=>{e=h(e,n)});let t=[],{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;t.push(h.type.name,h.attrs!=h.type.defaultAttrs?h.attrs:null),r=h.content}let a=n.someProp("clipboardSerializer")||hi.fromSchema(n.state.schema),s=bD(),c=s.createElement("div");c.appendChild(a.serializeFragment(r,{document:s}));let l=c.firstChild,u,f=0;for(;l&&l.nodeType==1&&(u=yD[l.nodeName.toLowerCase()]);){for(let h=u.length-1;h>=0;h--){let p=s.createElement(u[h]);for(;c.firstChild;)p.appendChild(c.firstChild);c.appendChild(p),f++}l=c.firstChild}l&&l.nodeType==1&&l.setAttribute("data-pm-slice",`${i} ${o}${f?` -${f}`:""} ${JSON.stringify(t)}`);let d=n.someProp("clipboardTextSerializer",h=>h(e,n))||e.content.textBetween(0,e.content.size,`
|
|
7
|
+
|
|
8
|
+
`);return{dom:c,text:d,slice:e}}function hD(n,e,t,r,i){let o=i.parent.type.spec.code,a,s;if(!t&&!e)return null;let c=e&&(r||o||!t);if(c){if(n.someProp("transformPastedText",d=>{e=d(e,o||r,n)}),o)return e?new _e(pe.from(n.state.schema.text(e.replace(/\r\n?/g,`
|
|
9
|
+
`))),0,0):_e.empty;let f=n.someProp("clipboardTextParser",d=>d(e,i,r,n));if(f)s=f;else{let d=i.marks(),{schema:h}=n.state,p=hi.fromSchema(h);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(m=>{let g=a.appendChild(document.createElement("p"));m&&g.appendChild(p.serializeNode(h.text(m,d)))})}}else n.someProp("transformPastedHTML",f=>{t=f(t,n)}),a=JS(t),Ca&&ZS(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 f=+u[3];f>0;f--){let d=a.firstChild;for(;d&&d.nodeType!=1;)d=d.nextSibling;if(!d)break;a=d}if(s||(s=(n.someProp("clipboardParser")||n.someProp("domParser")||Fp.fromSchema(n.state.schema)).parseSlice(a,{preserveWhitespace:!!(c||u),context:i,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!XS.test(d.parentNode.nodeName)?{ignore:!0}:null}})),u)s=YS(Ty(s,+u[1],+u[2]),u[4]);else if(s=_e.maxOpen(GS(s.content,i),!0),s.openStart||s.openEnd){let f=0,d=0;for(let h=s.content.firstChild;f<s.openStart&&!h.type.spec.isolating;f++,h=h.firstChild);for(let h=s.content.lastChild;d<s.openEnd&&!h.type.spec.isolating;d++,h=h.lastChild);s=Ty(s,f,d)}return n.someProp("transformPasted",f=>{s=f(s,n)}),s}const XS=/^(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 GS(n,e){if(n.childCount<2)return n;for(let t=e.depth;t>=0;t--){let i=e.node(t).contentMatchAt(e.index(t)),o,a=[];if(n.forEach(s=>{if(!a)return;let c=i.findWrapping(s.type),l;if(!c)return a=null;if(l=a.length&&o.length&&gD(c,o,s,a[a.length-1],0))a[a.length-1]=l;else{a.length&&(a[a.length-1]=mD(a[a.length-1],o.length));let u=pD(s,c);a.push(u),i=i.matchType(u.type),o=c}}),a)return pe.from(a)}return n}function pD(n,e,t=0){for(let r=e.length-1;r>=t;r--)n=e[r].create(null,pe.from(n));return n}function gD(n,e,t,r,i){if(i<n.length&&i<e.length&&n[i]==e[i]){let o=gD(n,e,t,r.lastChild,i+1);if(o)return r.copy(r.content.replaceChild(r.childCount-1,o));if(r.contentMatchAt(r.childCount).matchType(i==n.length-1?t.type:n[i+1]))return r.copy(r.content.append(pe.from(pD(t,n,i+1))))}}function mD(n,e){if(e==0)return n;let t=n.content.replaceChild(n.childCount-1,mD(n.lastChild,e-1)),r=n.contentMatchAt(n.childCount).fillBefore(pe.empty,!0);return n.copy(t.append(r))}function Ph(n,e,t,r,i,o){let a=e<0?n.firstChild:n.lastChild,s=a.content;return n.childCount>1&&(o=0),i<r-1&&(s=Ph(s,e,t,r,i+1,o)),i>=t&&(s=e<0?a.contentMatchAt(0).fillBefore(s,o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(pe.empty,!0))),n.replaceChild(e<0?0:n.childCount-1,a.copy(s))}function Ty(n,e,t){return e<n.openStart&&(n=new _e(Ph(n.content,-1,e,n.openStart,0,n.openEnd),e,n.openEnd)),t<n.openEnd&&(n=new _e(Ph(n.content,1,t,n.openEnd,0,0),n.openStart,t)),n}const yD={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 Ey=null;function bD(){return Ey||(Ey=document.implementation.createHTMLDocument("title"))}let Zl=null;function KS(n){let e=window.trustedTypes;return e?(Zl||(Zl=e.createPolicy("ProseMirrorClipboard",{createHTML:t=>t})),Zl.createHTML(n)):n}function JS(n){let e=/^(\s*<meta [^>]*>)*/.exec(n);e&&(n=n.slice(e[0].length));let t=bD().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(n),i;if((i=r&&yD[r[1].toLowerCase()])&&(n=i.map(o=>"<"+o+">").join("")+n+i.map(o=>"</"+o+">").reverse().join("")),t.innerHTML=KS(n),i)for(let o=0;o<i.length;o++)t=t.querySelector(i[o])||t;return t}function ZS(n){let e=n.querySelectorAll(vt?"span:not([class]):not([style])":"span.Apple-converted-space");for(let t=0;t<e.length;t++){let r=e[t];r.childNodes.length==1&&r.textContent==" "&&r.parentNode&&r.parentNode.replaceChild(n.ownerDocument.createTextNode(" "),r)}}function YS(n,e){if(!n.size)return n;let t=n.content.firstChild.type.schema,r;try{r=JSON.parse(e)}catch{return n}let{content:i,openStart:o,openEnd:a}=n;for(let s=r.length-2;s>=0;s-=2){let c=t.nodes[r[s]];if(!c||c.hasRequiredAttrs())break;i=pe.from(c.create(r[s+1],i)),o++,a++}return new _e(i,o,a)}const kt={},Ft={},QS={touchstart:!0,touchmove:!0};class e3{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 t3(n){for(let e in kt){let t=kt[e];n.dom.addEventListener(e,n.input.eventHandlers[e]=r=>{r3(n,r)&&!zp(n,r)&&(n.editable||!(r.type in Ft))&&t(n,r)},QS[e]?{passive:!0}:void 0)}Ut&&n.dom.addEventListener("input",()=>null),qh(n)}function Tr(n,e){n.input.lastSelectionOrigin=e,n.input.lastSelectionTime=Date.now()}function n3(n){n.domObserver.stop();for(let e in n.input.eventHandlers)n.dom.removeEventListener(e,n.input.eventHandlers[e]);clearTimeout(n.input.composingTimeout),clearTimeout(n.input.lastIOSEnterFallbackTimeout)}function qh(n){n.someProp("handleDOMEvents",e=>{for(let t in e)n.input.eventHandlers[t]||n.dom.addEventListener(t,n.input.eventHandlers[t]=r=>zp(n,r))})}function zp(n,e){return n.someProp("handleDOMEvents",t=>{let r=t[e.type];return r?r(n,e)||e.defaultPrevented:!1})}function r3(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target;t!=n.dom;t=t.parentNode)if(!t||t.nodeType==11||t.pmViewDesc&&t.pmViewDesc.stopEvent(e))return!1;return!0}function i3(n,e){!zp(n,e)&&kt[e.type]&&(n.editable||!(e.type in Ft))&&kt[e.type](n,e)}Ft.keydown=(n,e)=>{let t=e;if(n.input.shiftKey=t.keyCode==16||t.shiftKey,!xD(n,t)&&(n.input.lastKeyCode=t.keyCode,n.input.lastKeyCodeTime=Date.now(),!(Hn&&vt&&t.keyCode==13)))if(t.keyCode!=229&&n.domObserver.forceFlush(),Ki&&t.keyCode==13&&!t.ctrlKey&&!t.altKey&&!t.metaKey){let r=Date.now();n.input.lastIOSEnter=r,n.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{n.input.lastIOSEnter==r&&(n.someProp("handleKeyDown",i=>i(n,Jr(13,"Enter"))),n.input.lastIOSEnter=0)},200)}else n.someProp("handleKeyDown",r=>r(n,t))||HS(n,t)?t.preventDefault():Tr(n,"key")};Ft.keyup=(n,e)=>{e.keyCode==16&&(n.input.shiftKey=!1)};Ft.keypress=(n,e)=>{let t=e;if(xD(n,t)||!t.charCode||t.ctrlKey&&!t.altKey||tn&&t.metaKey)return;if(n.someProp("handleKeyPress",i=>i(n,t))){t.preventDefault();return}let r=n.state.selection;if(!(r instanceof Ie)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(t.charCode);!/[\r\n]/.test(i)&&!n.someProp("handleTextInput",o=>o(n,r.$from.pos,r.$to.pos,i))&&n.dispatch(n.state.tr.insertText(i).scrollIntoView()),t.preventDefault()}};function Qc(n){return{left:n.clientX,top:n.clientY}}function o3(n,e){let t=e.x-n.clientX,r=e.y-n.clientY;return t*t+r*r<100}function $p(n,e,t,r,i){if(r==-1)return!1;let o=n.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(n.someProp(e,s=>a>o.depth?s(n,t,o.nodeAfter,o.before(a),i,!0):s(n,t,o.node(a),o.before(a),i,!1)))return!0;return!1}function qi(n,e,t){if(n.focused||n.focus(),n.state.selection.eq(e))return;let r=n.state.tr.setSelection(e);r.setMeta("pointer",!0),n.dispatch(r)}function a3(n,e){if(e==-1)return!1;let t=n.state.doc.resolve(e),r=t.nodeAfter;return r&&r.isAtom&&Ae.isSelectable(r)?(qi(n,new Ae(t)),!0):!1}function s3(n,e){if(e==-1)return!1;let t=n.state.selection,r,i;t instanceof Ae&&(r=t.node);let o=n.state.doc.resolve(e);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if(Ae.isSelectable(s)){r&&t.$from.depth>0&&a>=t.$from.depth&&o.before(t.$from.depth+1)==t.$from.pos?i=o.before(t.$from.depth):i=o.before(a);break}}return i!=null?(qi(n,Ae.create(n.state.doc,i)),!0):!1}function c3(n,e,t,r,i){return $p(n,"handleClickOn",e,t,r)||n.someProp("handleClick",o=>o(n,e,r))||(i?s3(n,t):a3(n,t))}function l3(n,e,t,r){return $p(n,"handleDoubleClickOn",e,t,r)||n.someProp("handleDoubleClick",i=>i(n,e,r))}function u3(n,e,t,r){return $p(n,"handleTripleClickOn",e,t,r)||n.someProp("handleTripleClick",i=>i(n,e,r))||f3(n,t,r)}function f3(n,e,t){if(t.button!=0)return!1;let r=n.state.doc;if(e==-1)return r.inlineContent?(qi(n,Ie.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)qi(n,Ie.create(r,s+1,s+1+a.content.size));else if(Ae.isSelectable(a))qi(n,Ae.create(r,s));else continue;return!0}}function Vp(n){return rc(n)}const vD=tn?"metaKey":"ctrlKey";kt.mousedown=(n,e)=>{let t=e;n.input.shiftKey=t.shiftKey;let r=Vp(n),i=Date.now(),o="singleClick";i-n.input.lastClick.time<500&&o3(t,n.input.lastClick)&&!t[vD]&&(n.input.lastClick.type=="singleClick"?o="doubleClick":n.input.lastClick.type=="doubleClick"&&(o="tripleClick")),n.input.lastClick={time:i,x:t.clientX,y:t.clientY,type:o};let a=n.posAtCoords(Qc(t));a&&(o=="singleClick"?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new d3(n,a,t,!!r)):(o=="doubleClick"?l3:u3)(n,a.pos,a.inside,t)?t.preventDefault():Tr(n,"pointer"))};class d3{constructor(e,t,r,i){this.view=e,this.pos=t,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[vD],this.allowDefault=r.shiftKey;let o,a;if(t.inside>-1)o=e.state.doc.nodeAt(t.inside),a=t.inside;else{let u=e.state.doc.resolve(t.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 Ae&&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)),Tr(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(()=>Gn(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(Qc(e))),this.updateAllowDefault(e),this.allowDefault||!t?Tr(this.view,"pointer"):c3(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Ut&&this.mightDrag&&!this.mightDrag.node.isAtom||vt&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(qi(this.view,Fe.near(this.view.state.doc.resolve(t.pos))),e.preventDefault()):Tr(this.view,"pointer")}move(e){this.updateAllowDefault(e),Tr(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)}}kt.touchstart=n=>{n.input.lastTouch=Date.now(),Vp(n),Tr(n,"pointer")};kt.touchmove=n=>{n.input.lastTouch=Date.now(),Tr(n,"pointer")};kt.contextmenu=n=>Vp(n);function xD(n,e){return n.composing?!0:Ut&&Math.abs(e.timeStamp-n.input.compositionEndedAt)<500?(n.input.compositionEndedAt=-2e8,!0):!1}const h3=Hn?5e3:-1;Ft.compositionstart=Ft.compositionupdate=n=>{if(!n.composing){n.domObserver.flush();let{state:e}=n,t=e.selection.$to;if(e.selection instanceof Ie&&(e.storedMarks||!t.textOffset&&t.parentOffset&&t.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))n.markCursor=n.state.storedMarks||t.marks(),rc(n,!0),n.markCursor=null;else if(rc(n,!e.selection.empty),gn&&e.selection.empty&&t.parentOffset&&!t.textOffset&&t.nodeBefore.marks.length){let r=n.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=n.domSelection();s&&s.collapse(a,a.nodeValue.length);break}else i=a,o=-1}}n.input.composing=!0}DD(n,h3)};Ft.compositionend=(n,e)=>{n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=e.timeStamp,n.input.compositionPendingChanges=n.domObserver.pendingRecords().length?n.input.compositionID:0,n.input.compositionNode=null,n.input.compositionPendingChanges&&Promise.resolve().then(()=>n.domObserver.flush()),n.input.compositionID++,DD(n,20))};function DD(n,e){clearTimeout(n.input.composingTimeout),e>-1&&(n.input.composingTimeout=setTimeout(()=>rc(n),e))}function wD(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=g3());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function p3(n){let e=n.domSelectionRange();if(!e.focusNode)return null;let t=aS(e.focusNode,e.focusOffset),r=sS(e.focusNode,e.focusOffset);if(t&&r&&t!=r){let i=r.pmViewDesc,o=n.domObserver.lastChangedTextNode;if(t==o||r==o)return o;if(!i||!i.isText(r.nodeValue))return r;if(n.input.compositionNode==r){let a=t.pmViewDesc;if(!(!a||!a.isText(t.nodeValue)))return r}}return t||r}function g3(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}function rc(n,e=!1){if(!(Hn&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),wD(n),e||n.docView&&n.docView.dirty){let t=Pp(n);return t&&!t.eq(n.state.selection)?n.dispatch(n.state.tr.setSelection(t)):(n.markCursor||e)&&!n.state.selection.empty?n.dispatch(n.state.tr.deleteSelection()):n.updateState(n.state),!0}return!1}}function m3(n,e){if(!n.dom.parentNode)return;let t=n.dom.parentNode.appendChild(document.createElement("div"));t.appendChild(e),t.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),n.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t),n.focus()},50)}const ta=Mt&&Sr<15||Ki&&dS<604;kt.copy=Ft.cut=(n,e)=>{let t=e,r=n.state.selection,i=t.type=="cut";if(r.empty)return;let o=ta?null:t.clipboardData,a=r.content(),{dom:s,text:c}=jp(n,a);o?(t.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",c)):m3(n,s),i&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function y3(n){return n.openStart==0&&n.openEnd==0&&n.content.childCount==1?n.content.firstChild:null}function b3(n,e){if(!n.dom.parentNode)return;let t=n.input.shiftKey||n.state.selection.$from.parent.type.spec.code,r=n.dom.parentNode.appendChild(document.createElement(t?"textarea":"div"));t||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=n.input.shiftKey&&n.input.lastKeyCode!=45;setTimeout(()=>{n.focus(),r.parentNode&&r.parentNode.removeChild(r),t?na(n,r.value,null,i,e):na(n,r.textContent,r.innerHTML,i,e)},50)}function na(n,e,t,r,i){let o=hD(n,e,t,r,n.state.selection.$from);if(n.someProp("handlePaste",c=>c(n,i,o||_e.empty)))return!0;if(!o)return!1;let a=y3(o),s=a?n.state.tr.replaceSelectionWith(a,r):n.state.tr.replaceSelection(o);return n.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function _D(n){let e=n.getData("text/plain")||n.getData("Text");if(e)return e;let t=n.getData("text/uri-list");return t?t.replace(/\r?\n/g," "):""}Ft.paste=(n,e)=>{let t=e;if(n.composing&&!Hn)return;let r=ta?null:t.clipboardData,i=n.input.shiftKey&&n.input.lastKeyCode!=45;r&&na(n,_D(r),r.getData("text/html"),i,t)?t.preventDefault():b3(n,t)};class TD{constructor(e,t,r){this.slice=e,this.move=t,this.node=r}}const ED=tn?"altKey":"ctrlKey";kt.dragstart=(n,e)=>{let t=e,r=n.input.mouseDown;if(r&&r.done(),!t.dataTransfer)return;let i=n.state.selection,o=i.empty?null:n.posAtCoords(Qc(t)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof Ae?i.to-1:i.to))){if(r&&r.mightDrag)a=Ae.create(n.state.doc,r.mightDrag.pos);else if(t.target&&t.target.nodeType==1){let f=n.docView.nearestDesc(t.target,!0);f&&f.node.type.spec.draggable&&f!=n.docView&&(a=Ae.create(n.state.doc,f.posBefore))}}let s=(a||n.state.selection).content(),{dom:c,text:l,slice:u}=jp(n,s);(!t.dataTransfer.files.length||!vt||Zx>120)&&t.dataTransfer.clearData(),t.dataTransfer.setData(ta?"Text":"text/html",c.innerHTML),t.dataTransfer.effectAllowed="copyMove",ta||t.dataTransfer.setData("text/plain",l),n.dragging=new TD(u,!t[ED],a)};kt.dragend=n=>{let e=n.dragging;window.setTimeout(()=>{n.dragging==e&&(n.dragging=null)},50)};Ft.dragover=Ft.dragenter=(n,e)=>e.preventDefault();Ft.drop=(n,e)=>{let t=e,r=n.dragging;if(n.dragging=null,!t.dataTransfer)return;let i=n.posAtCoords(Qc(t));if(!i)return;let o=n.state.doc.resolve(i.pos),a=r&&r.slice;a?n.someProp("transformPasted",p=>{a=p(a,n)}):a=hD(n,_D(t.dataTransfer),ta?null:t.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!t[ED]);if(n.someProp("handleDrop",p=>p(n,t,a||_e.empty,s))){t.preventDefault();return}if(!a)return;t.preventDefault();let c=a?zx(n.state.doc,o.pos,a):o.pos;c==null&&(c=o.pos);let l=n.state.tr;if(s){let{node:p}=r;p?p.replace(l):l.deleteSelection()}let u=l.mapping.map(c),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=l.doc;if(f?l.replaceRangeWith(u,u,a.content.firstChild):l.replaceRange(u,u,a),l.doc.eq(d))return;let h=l.doc.resolve(u);if(f&&Ae.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))l.setSelection(new Ae(h));else{let p=l.mapping.map(c);l.mapping.maps[l.mapping.maps.length-1].forEach((m,g,y,b)=>p=b),l.setSelection(qp(n,h,l.doc.resolve(p)))}n.focus(),n.dispatch(l.setMeta("uiEvent","drop"))};kt.focus=n=>{n.input.lastFocus=Date.now(),n.focused||(n.domObserver.stop(),n.dom.classList.add("ProseMirror-focused"),n.domObserver.start(),n.focused=!0,setTimeout(()=>{n.docView&&n.hasFocus()&&!n.domObserver.currentSelection.eq(n.domSelectionRange())&&Gn(n)},20))};kt.blur=(n,e)=>{let t=e;n.focused&&(n.domObserver.stop(),n.dom.classList.remove("ProseMirror-focused"),n.domObserver.start(),t.relatedTarget&&n.dom.contains(t.relatedTarget)&&n.domObserver.currentSelection.clear(),n.focused=!1)};kt.beforeinput=(n,e)=>{if(vt&&Hn&&e.inputType=="deleteContentBackward"){n.domObserver.flushSoon();let{domChangeCount:r}=n.input;setTimeout(()=>{if(n.input.domChangeCount!=r||(n.dom.blur(),n.focus(),n.someProp("handleKeyDown",o=>o(n,Jr(8,"Backspace")))))return;let{$cursor:i}=n.state.selection;i&&i.pos>0&&n.dispatch(n.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let n in Ft)kt[n]=Ft[n];function ra(n,e){if(n==e)return!0;for(let t in n)if(n[t]!==e[t])return!1;for(let t in e)if(!(t in n))return!1;return!0}class ic{constructor(e,t){this.toDOM=e,this.spec=t||ni,this.side=this.spec.side||0}map(e,t,r,i){let{pos:o,deleted:a}=e.mapResult(t.from+i,this.side<0?-1:1);return a?null:new xt(o-r,o-r,this)}valid(){return!0}eq(e){return this==e||e instanceof ic&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&ra(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Ur{constructor(e,t){this.attrs=e,this.spec=t||ni}map(e,t,r,i){let o=e.map(t.from+i,this.spec.inclusiveStart?-1:1)-r,a=e.map(t.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=a?null:new xt(o,a,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Ur&&ra(this.attrs,e.attrs)&&ra(this.spec,e.spec)}static is(e){return e.type instanceof Ur}destroy(){}}class Hp{constructor(e,t){this.attrs=e,this.spec=t||ni}map(e,t,r,i){let o=e.mapResult(t.from+i,1);if(o.deleted)return null;let a=e.mapResult(t.to+i,-1);return a.deleted||a.pos<=o.pos?null:new xt(o.pos-r,a.pos-r,this)}valid(e,t){let{index:r,offset:i}=e.content.findIndex(t.from),o;return i==t.from&&!(o=e.child(r)).isText&&i+o.nodeSize==t.to}eq(e){return this==e||e instanceof Hp&&ra(this.attrs,e.attrs)&&ra(this.spec,e.spec)}destroy(){}}class xt{constructor(e,t,r){this.from=e,this.to=t,this.type=r}copy(e,t){return new xt(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,r){return this.type.map(e,this,t,r)}static widget(e,t,r){return new xt(e,e,new ic(t,r))}static inline(e,t,r,i){return new xt(e,t,new Ur(r,i))}static node(e,t,r,i){return new xt(e,t,new Hp(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof Ur}get widget(){return this.type instanceof ic}}const Ni=[],ni={};class Qe{constructor(e,t){this.local=e.length?e:Ni,this.children=t.length?t:Ni}static create(e,t){return t.length?oc(t,e,0,ni):bt}find(e,t,r){let i=[];return this.findInner(e??0,t??1e9,i,0,r),i}findInner(e,t,r,i,o){for(let a=0;a<this.local.length;a++){let s=this.local[a];s.from<=t&&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]<t&&this.children[a+1]>e){let s=this.children[a]+1;this.children[a+2].findInner(e-s,t-s,r,i+s,o)}}map(e,t,r){return this==bt||e.maps.length==0?this:this.mapInner(e,t,0,0,r||ni)}mapInner(e,t,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(t,c)?(a||(a=[])).push(c):o.onRemove&&o.onRemove(this.local[s].spec)}return this.children.length?v3(this.children,a||[],e,t,r,i,o):a?new Qe(a.sort(ri),Ni):bt}add(e,t){return t.length?this==bt?Qe.create(e,t):this.addInner(e,t,0):this}addInner(e,t,r){let i,o=0;e.forEach((s,c)=>{let l=c+r,u;if(u=SD(t,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,oc(u,s,l+1,ni)),o+=3}});let a=CD(o?AD(t):t,-r);for(let s=0;s<a.length;s++)a[s].type.valid(e,a[s])||a.splice(s--,1);return new Qe(a.length?this.local.concat(a).sort(ri):this.local,i||this.children)}remove(e){return e.length==0||this==bt?this:this.removeInner(e,0)}removeInner(e,t){let r=this.children,i=this.local;for(let o=0;o<r.length;o+=3){let a,s=r[o]+t,c=r[o+1]+t;for(let u=0,f;u<e.length;u++)(f=e[u])&&f.from>s&&f.to<c&&(e[u]=null,(a||(a=[])).push(f));if(!a)continue;r==this.children&&(r=this.children.slice());let l=r[o+2].removeInner(a,s+1);l!=bt?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,t)&&(i==this.local&&(i=this.local.slice()),i.splice(s--,1))}return r==this.children&&i==this.local?this:i.length||r.length?new Qe(i,r):bt}forChild(e,t){if(this==bt)return this;if(t.isLeaf)return Qe.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+t.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 Ur){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 Qe(i.sort(ri),Ni);return r?new br([s,r]):s}return r||bt}eq(e){if(this==e)return!0;if(!(e instanceof Qe)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return Xp(this.localsInner(e))}localsInner(e){if(this==bt)return Ni;if(e.inlineContent||!this.local.some(Ur.is))return this.local;let t=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof Ur||t.push(this.local[r]);return t}forEachSet(e){e(this)}}Qe.empty=new Qe([],[]);Qe.removeOverlap=Xp;const bt=Qe.empty;class br{constructor(e){this.members=e}map(e,t){const r=this.members.map(i=>i.map(e,t,ni));return br.from(r)}forChild(e,t){if(t.isLeaf)return Qe.empty;let r=[];for(let i=0;i<this.members.length;i++){let o=this.members[i].forChild(e,t);o!=bt&&(o instanceof br?r=r.concat(o.members):r.push(o))}return br.from(r)}eq(e){if(!(e instanceof br)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,r=!0;for(let i=0;i<this.members.length;i++){let o=this.members[i].localsInner(e);if(o.length)if(!t)t=o;else{r&&(t=t.slice(),r=!1);for(let a=0;a<o.length;a++)t.push(o[a])}}return t?Xp(r?t:t.sort(ri)):Ni}static from(e){switch(e.length){case 0:return bt;case 1:return e[0];default:return new br(e.every(t=>t instanceof Qe)?e:e.reduce((t,r)=>t.concat(r instanceof Qe?r:r.members),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}}function v3(n,e,t,r,i,o,a){let s=n.slice();for(let l=0,u=o;l<t.maps.length;l++){let f=0;t.maps[l].forEach((d,h,p,m)=>{let g=m-p-(h-d);for(let y=0;y<s.length;y+=3){let b=s[y+1];if(b<0||d>b+u-f)continue;let v=s[y]+u-f;h>=v?s[y+1]=d<=v?-2:-1:d>=u&&g&&(s[y]+=g,s[y+1]+=g)}f+=g}),u=t.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=t.map(n[l]+o),f=u-i;if(f<0||f>=r.content.size){c=!0;continue}let d=t.map(n[l+1]+o,-1),h=d-i,{index:p,offset:m}=r.content.findIndex(f),g=r.maybeChild(p);if(g&&m==f&&m+g.nodeSize==h){let y=s[l+2].mapInner(t,g,u+1,n[l]+o+1,a);y!=bt?(s[l]=f,s[l+1]=h,s[l+2]=y):(s[l+1]=-2,c=!0)}else c=!0}if(c){let l=x3(s,n,e,t,i,o,a),u=oc(l,r,0,a);e=u.local;for(let f=0;f<s.length;f+=3)s[f+1]<0&&(s.splice(f,3),f-=3);for(let f=0,d=0;f<u.children.length;f+=3){let h=u.children[f];for(;d<s.length&&s[d]<h;)d+=3;s.splice(d,0,u.children[f],u.children[f+1],u.children[f+2])}}return new Qe(e.sort(ri),s)}function CD(n,e){if(!e||!n.length)return n;let t=[];for(let r=0;r<n.length;r++){let i=n[r];t.push(new xt(i.from+e,i.to+e,i.type))}return t}function x3(n,e,t,r,i,o,a){function s(c,l){for(let u=0;u<c.local.length;u++){let f=c.local[u].map(r,i,l);f?t.push(f):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<n.length;c+=3)n[c+1]==-1&&s(n[c+2],e[c]+o+1);return t}function SD(n,e,t){if(e.isLeaf)return null;let r=t+e.nodeSize,i=null;for(let o=0,a;o<n.length;o++)(a=n[o])&&a.from>t&&a.to<r&&((i||(i=[])).push(a),n[o]=null);return i}function AD(n){let e=[];for(let t=0;t<n.length;t++)n[t]!=null&&e.push(n[t]);return e}function oc(n,e,t,r){let i=[],o=!1;e.forEach((s,c)=>{let l=SD(n,s,c+t);if(l){o=!0;let u=oc(l,s,t+c+1,r);u!=bt&&i.push(c,c+s.nodeSize,u)}});let a=CD(o?AD(n):n,-t).sort(ri);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 Qe(a,i):bt}function ri(n,e){return n.from-e.from||n.to-e.to}function Xp(n){let e=n;for(let t=0;t<e.length-1;t++){let r=e[t];if(r.from!=r.to)for(let i=t+1;i<e.length;i++){let o=e[i];if(o.from==r.from){o.to!=r.to&&(e==n&&(e=n.slice()),e[i]=o.copy(o.from,r.to),Cy(e,i+1,o.copy(r.to,o.to)));continue}else{o.from<r.to&&(e==n&&(e=n.slice()),e[t]=r.copy(r.from,o.from),Cy(e,i,r.copy(o.from,r.to)));break}}}return e}function Cy(n,e,t){for(;e<n.length&&ri(t,n[e])>0;)e++;n.splice(e,0,t)}function Yl(n){let e=[];return n.someProp("decorations",t=>{let r=t(n.state);r&&r!=bt&&e.push(r)}),n.cursorWrapper&&e.push(Qe.create(n.state.doc,[n.cursorWrapper.deco])),br.from(e)}const D3={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},w3=Mt&&Sr<=11;class _3{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 T3{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new _3,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]);Mt&&Sr<=11&&r.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),w3&&(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,D3)),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 t=0;t<e.length;t++)this.queue.push(e[t]);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(by(this.view)){if(this.suppressingSelectionUpdates)return Gn(this.view);if(Mt&&Sr<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&si(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 t=new Set,r;for(let o=e.focusNode;o;o=ea(o))t.add(o);for(let o=e.anchorNode;o;o=ea(o))if(t.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 t=this.pendingRecords();t.length&&(this.queue=[]);let r=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&by(e)&&!this.ignoreSelectionChange(r),o=-1,a=-1,s=!1,c=[];if(e.editable)for(let u=0;u<t.length;u++){let f=this.registerMutation(t[u],c);f&&(o=o<0?f.from:Math.min(f.from,o),a=a<0?f.to:Math.max(f.to,a),f.typeOver&&(s=!0))}if(gn&&c.length){let u=c.filter(f=>f.nodeName=="BR");if(u.length==2){let[f,d]=u;f.parentNode&&f.parentNode.parentNode==d.parentNode?d.remove():f.remove()}else{let{focusNode:f}=this.currentSelection;for(let d of u){let h=d.parentNode;h&&h.nodeName=="LI"&&(!f||S3(e,f)!=h)&&d.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&&Zc(r)&&(l=Pp(e))&&l.eq(Fe.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Gn(e),this.currentSelection.set(r)):(o>-1||i)&&(o>-1&&(e.docView.markDirty(o,a),E3(e)),this.handleDOMChange(o,a,s,c),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Gn(e),this.currentSelection.set(r))}registerMutation(e,t){if(t.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 f=e.addedNodes[u];t.push(f),f.nodeType==3&&(this.lastChangedTextNode=f)}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(Mt&&Sr<=11&&e.addedNodes.length)for(let u=0;u<e.addedNodes.length;u++){let{previousSibling:f,nextSibling:d}=e.addedNodes[u];(!f||Array.prototype.indexOf.call(e.addedNodes,f)<0)&&(i=f),(!d||Array.prototype.indexOf.call(e.addedNodes,d)<0)&&(o=d)}let a=i&&i.parentNode==e.target?gt(i)+1:0,s=r.localPosFromDOM(e.target,a,-1),c=o&&o.parentNode==e.target?gt(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 Sy=new WeakMap,Ay=!1;function E3(n){if(!Sy.has(n)&&(Sy.set(n,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace)!==-1)){if(n.requiresGeckoHackNode=gn,Ay)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."),Ay=!0}}function Uy(n,e){let t=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset,a=n.domAtPos(n.state.selection.anchor);return si(a.node,a.offset,i,o)&&([t,r,i,o]=[i,o,t,r]),{anchorNode:t,anchorOffset:r,focusNode:i,focusOffset:o}}function C3(n,e){if(e.getComposedRanges){let i=e.getComposedRanges(n.root)[0];if(i)return Uy(n,i)}let t;function r(i){i.preventDefault(),i.stopImmediatePropagation(),t=i.getTargetRanges()[0]}return n.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),n.dom.removeEventListener("beforeinput",r,!0),t?Uy(n,t):null}function S3(n,e){for(let t=e.parentNode;t&&t!=n.dom;t=t.parentNode){let r=n.docView.nearestDesc(t,!0);if(r&&r.node.isBlock)return t}return null}function A3(n,e,t){let{node:r,fromOffset:i,toOffset:o,from:a,to:s}=n.docView.parseRange(e,t),c=n.domSelectionRange(),l,u=c.anchorNode;if(u&&n.dom.contains(u.nodeType==1?u:u.parentNode)&&(l=[{node:u,offset:c.anchorOffset}],Zc(c)||l.push({node:c.focusNode,offset:c.focusOffset})),vt&&n.input.lastKeyCode===8)for(let g=o;g>i;g--){let y=r.childNodes[g-1],b=y.pmViewDesc;if(y.nodeName=="BR"&&!b){o=g;break}if(!b||b.size)break}let f=n.state.doc,d=n.someProp("domParser")||Fp.fromSchema(n.state.schema),h=f.resolve(a),p=null,m=d.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:U3,context:h});if(l&&l[0].pos!=null){let g=l[0].pos,y=l[1]&&l[1].pos;y==null&&(y=g),p={anchor:g+a,head:y+a}}return{doc:m,sel:p,from:a,to:s}}function U3(n){let e=n.pmViewDesc;if(e)return e.parseRule();if(n.nodeName=="BR"&&n.parentNode){if(Ut&&/^(ul|ol)$/i.test(n.parentNode.nodeName)){let t=document.createElement("div");return t.appendChild(document.createElement("li")),{skip:t}}else if(n.parentNode.lastChild==n||Ut&&/^(tr|table)$/i.test(n.parentNode.nodeName))return{ignore:!0}}else if(n.nodeName=="IMG"&&n.getAttribute("mark-placeholder"))return{ignore:!0};return null}const k3=/^(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 F3(n,e,t,r,i){let o=n.input.compositionPendingChanges||(n.composing?n.input.compositionID:0);if(n.input.compositionPendingChanges=0,e<0){let C=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,R=Pp(n,C);if(R&&!n.state.selection.eq(R)){if(vt&&Hn&&n.input.lastKeyCode===13&&Date.now()-100<n.input.lastKeyCodeTime&&n.someProp("handleKeyDown",_=>_(n,Jr(13,"Enter"))))return;let L=n.state.tr.setSelection(R);C=="pointer"?L.setMeta("pointer",!0):C=="key"&&L.scrollIntoView(),o&&L.setMeta("composition",o),n.dispatch(L)}return}let a=n.state.doc.resolve(e),s=a.sharedDepth(t);e=a.before(s+1),t=n.state.doc.resolve(t).after(s+1);let c=n.state.selection,l=A3(n,e,t),u=n.state.doc,f=u.slice(l.from,l.to),d,h;n.input.lastKeyCode===8&&Date.now()-100<n.input.lastKeyCodeTime?(d=n.state.selection.to,h="end"):(d=n.state.selection.from,h="start"),n.input.lastKeyCode=null;let p=N3(f.content,l.doc.content,l.from,d,h);if(p&&n.input.domChangeCount++,(Ki&&n.input.lastIOSEnter>Date.now()-225||Hn)&&i.some(C=>C.nodeType==1&&!k3.test(C.nodeName))&&(!p||p.endA>=p.endB)&&n.someProp("handleKeyDown",C=>C(n,Jr(13,"Enter")))){n.input.lastIOSEnter=0;return}if(!p)if(r&&c instanceof Ie&&!c.empty&&c.$head.sameParent(c.$anchor)&&!n.composing&&!(l.sel&&l.sel.anchor!=l.sel.head))p={start:c.from,endA:c.to,endB:c.to};else{if(l.sel){let C=ky(n,n.state.doc,l.sel);if(C&&!C.eq(n.state.selection)){let R=n.state.tr.setSelection(C);o&&R.setMeta("composition",o),n.dispatch(R)}}return}n.state.selection.from<n.state.selection.to&&p.start==p.endB&&n.state.selection instanceof Ie&&(p.start>n.state.selection.from&&p.start<=n.state.selection.from+2&&n.state.selection.from>=l.from?p.start=n.state.selection.from:p.endA<n.state.selection.to&&p.endA>=n.state.selection.to-2&&n.state.selection.to<=l.to&&(p.endB+=n.state.selection.to-p.endA,p.endA=n.state.selection.to)),Mt&&Sr<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>l.from&&l.doc.textBetween(p.start-l.from-1,p.start-l.from+1)==" "&&(p.start--,p.endA--,p.endB--);let m=l.doc.resolveNoCache(p.start-l.from),g=l.doc.resolveNoCache(p.endB-l.from),y=u.resolve(p.start),b=m.sameParent(g)&&m.parent.inlineContent&&y.end()>=p.endA,v;if((Ki&&n.input.lastIOSEnter>Date.now()-225&&(!b||i.some(C=>C.nodeName=="DIV"||C.nodeName=="P"))||!b&&m.pos<l.doc.content.size&&!m.sameParent(g)&&(v=Fe.findFrom(l.doc.resolve(m.pos+1),1,!0))&&v.head==g.pos)&&n.someProp("handleKeyDown",C=>C(n,Jr(13,"Enter")))){n.input.lastIOSEnter=0;return}if(n.state.selection.anchor>p.start&&R3(u,p.start,p.endA,m,g)&&n.someProp("handleKeyDown",C=>C(n,Jr(8,"Backspace")))){Hn&&vt&&n.domObserver.suppressSelectionUpdates();return}vt&&p.endB==p.start&&(n.input.lastChromeDelete=Date.now()),Hn&&!b&&m.start()!=g.start()&&g.parentOffset==0&&m.depth==g.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==p.endA&&(p.endB-=2,g=l.doc.resolveNoCache(p.endB-l.from),setTimeout(()=>{n.someProp("handleKeyDown",function(C){return C(n,Jr(13,"Enter"))})},20));let T=p.start,w=p.endA,E,S,U;if(b){if(m.pos==g.pos)Mt&&Sr<=11&&m.parentOffset==0&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>Gn(n),20)),E=n.state.tr.delete(T,w),S=u.resolve(p.start).marksAcross(u.resolve(p.endA));else if(p.endA==p.endB&&(U=O3(m.parent.content.cut(m.parentOffset,g.parentOffset),y.parent.content.cut(y.parentOffset,p.endA-y.start()))))E=n.state.tr,U.type=="add"?E.addMark(T,w,U.mark):E.removeMark(T,w,U.mark);else if(m.parent.child(m.index()).isText&&m.index()==g.index()-(g.textOffset?0:1)){let C=m.parent.textBetween(m.parentOffset,g.parentOffset);if(n.someProp("handleTextInput",R=>R(n,T,w,C)))return;E=n.state.tr.insertText(C,T,w)}}if(E||(E=n.state.tr.replace(T,w,l.doc.slice(p.start-l.from,p.endB-l.from))),l.sel){let C=ky(n,E.doc,l.sel);C&&!(vt&&n.composing&&C.empty&&(p.start!=p.endB||n.input.lastChromeDelete<Date.now()-100)&&(C.head==T||C.head==E.mapping.map(w)-1)||Mt&&C.empty&&C.head==T)&&E.setSelection(C)}S&&E.ensureMarks(S),o&&E.setMeta("composition",o),n.dispatch(E.scrollIntoView())}function ky(n,e,t){return Math.max(t.anchor,t.head)>e.content.size?null:qp(n,e.resolve(t.anchor),e.resolve(t.head))}function O3(n,e){let t=n.firstChild.marks,r=e.firstChild.marks,i=t,o=r,a,s,c;for(let u=0;u<r.length;u++)i=r[u].removeFromSet(i);for(let u=0;u<t.length;u++)o=t[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(n))return{mark:s,type:a}}function R3(n,e,t,r,i){if(t-e<=i.pos-r.pos||Ql(r,!0,!1)<i.pos)return!1;let o=n.resolve(e);if(!r.parent.isTextblock){let s=o.nodeAfter;return s!=null&&t==e+s.nodeSize}if(o.parentOffset<o.parent.content.size||!o.parent.isTextblock)return!1;let a=n.resolve(Ql(o,!0,!0));return!a.parent.isTextblock||a.pos>t||Ql(a,!0,!1)<t?!1:r.parent.content.cut(r.parentOffset).eq(a.parent.content)}function Ql(n,e,t){let r=n.depth,i=e?n.end():n.pos;for(;r>0&&(e||n.indexAfter(r)==n.node(r).childCount);)r--,i++,e=!1;if(t){let o=n.node(r).maybeChild(n.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function N3(n,e,t,r,i){let o=n.findDiffStart(e,t);if(o==null)return null;let{a,b:s}=n.findDiffEnd(e,t+n.size,t+e.size);if(i=="end"){let c=Math.max(0,o-Math.min(a,s));r-=a+c-o}if(a<o&&n.size<e.size){let c=r<=o&&r>=a?o-r:0;o-=c,o&&o<e.size&&Fy(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<n.size&&Fy(n.textBetween(o-1,o+1))&&(o+=c?1:-1),a=o+(a-s),s=o}return{start:o,endA:a,endB:s}}function Fy(n){if(n.length!=2)return!1;let e=n.charCodeAt(0),t=n.charCodeAt(1);return e>=56320&&e<=57343&&t>=55296&&t<=56319}class I3{constructor(e,t){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 e3,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(By),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=Ny(this),Ry(this),this.nodeViews=Iy(this),this.docView=dy(this.state.doc,Oy(this),Yl(this),this.dom,this),this.domObserver=new T3(this,(r,i,o,a)=>F3(this,r,i,o,a)),this.domObserver.start(),t3(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 t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&qh(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(By),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let r in this._props)t[r]=this._props[r];t.state=this.state;for(let r in e)t[r]=e[r];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var r;let i=this.state,o=!1,a=!1;e.storedMarks&&this.composing&&(wD(this),a=!0),this.state=e;let s=i.plugins!=e.plugins||this._props.plugins!=t.plugins;if(s||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let h=Iy(this);M3(h,this.nodeViews)&&(this.nodeViews=h,o=!0)}(s||t.handleDOMEvents!=this._props.handleDOMEvents)&&qh(this),this.editable=Ny(this),Ry(this);let c=Yl(this),l=Oy(this),u=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",f=o||!this.docView.matchesNode(e.doc,l,c);(f||!e.selection.eq(i.selection))&&(a=!0);let d=u=="preserve"&&a&&this.dom.style.overflowAnchor==null&&gS(this);if(a){this.domObserver.stop();let h=f&&(Mt||vt)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&B3(i.selection,e.selection);if(f){let p=vt?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=p3(this)),(o||!this.docView.update(e.doc,l,c,this))&&(this.docView.updateOuterDeco(l),this.docView.destroy(),this.docView=dy(e.doc,l,c,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&LS(this))?Gn(this,h):(uD(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():d&&mS(d)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",t=>t(this)))if(this.state.selection instanceof Ae){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&ay(this,t.getBoundingClientRect(),e)}else ay(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 t=0;t<this.directPlugins.length;t++){let r=this.directPlugins[t];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(let t=0;t<this.state.plugins.length;t++){let r=this.state.plugins[t];r.spec.view&&this.pluginViews.push(r.spec.view(this))}}else for(let t=0;t<this.pluginViews.length;t++){let r=this.pluginViews[t];r.update&&r.update(this,e)}}updateDraggedNode(e,t){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-t.doc.content.size);(o>0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new TD(e.slice,e.move,i<0?void 0:Ae.create(this.state.doc,i))}someProp(e,t){let r=this._props&&this._props[e],i;if(r!=null&&(i=t?t(r):r))return i;for(let a=0;a<this.directPlugins.length;a++){let s=this.directPlugins[a].props[e];if(s!=null&&(i=t?t(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=t?t(s):s))return i}}hasFocus(){if(Mt){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&&yS(this.dom),Gn(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let t=this.dom.parentNode;t;t=t.parentNode)if(t.nodeType==9||t.nodeType==11&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t}return e||document}updateRoot(){this._root=null}posAtCoords(e){return wS(this,e)}coordsAtPos(e,t=1){return nD(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,r=-1){let i=this.docView.posFromDOM(e,t,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,t){return SS(this,t||this.state,e)}pasteHTML(e,t){return na(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return na(this,e,null,!0,t||new ClipboardEvent("paste"))}serializeForClipboard(e){return jp(this,e)}destroy(){this.docView&&(n3(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Yl(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,iS())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return i3(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection();return e?Ut&&this.root.nodeType===11&&lS(this.dom.ownerDocument)==this.dom&&C3(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function Oy(n){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(n.editable),n.someProp("attributes",t=>{if(typeof t=="function"&&(t=t(n.state)),t)for(let r in t)r=="class"?e.class+=" "+t[r]:r=="style"?e.style=(e.style?e.style+";":"")+t[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(t[r]))}),e.translate||(e.translate="no"),[xt.node(0,n.state.doc.content.size,e)]}function Ry(n){if(n.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),n.cursorWrapper={dom:e,deco:xt.widget(n.state.selection.from,e,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function Ny(n){return!n.someProp("editable",e=>e(n.state)===!1)}function B3(n,e){let t=Math.min(n.$anchor.sharedDepth(n.head),e.$anchor.sharedDepth(e.head));return n.$anchor.start(t)!=e.$anchor.start(t)}function Iy(n){let e=Object.create(null);function t(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return n.someProp("nodeViews",t),n.someProp("markViews",t),e}function M3(n,e){let t=0,r=0;for(let i in n){if(n[i]!=e[i])return!0;t++}for(let i in e)r++;return t!=r}function By(n){if(n.spec.state||n.spec.filterTransaction||n.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var kr={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:"'"},ac={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},W3=typeof navigator<"u"&&/Mac/.test(navigator.platform),L3=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var mt=0;mt<10;mt++)kr[48+mt]=kr[96+mt]=String(mt);for(var mt=1;mt<=24;mt++)kr[mt+111]="F"+mt;for(var mt=65;mt<=90;mt++)kr[mt]=String.fromCharCode(mt+32),ac[mt]=String.fromCharCode(mt);for(var eu in kr)ac.hasOwnProperty(eu)||(ac[eu]=kr[eu]);function P3(n){var e=W3&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||L3&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?ac:kr)[n.keyCode]||n.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}const q3=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function j3(n){let e=n.split(/-(?!$)/),t=e[e.length-1];t=="Space"&&(t=" ");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))q3?a=!0:i=!0;else throw new Error("Unrecognized modifier name: "+c)}return r&&(t="Alt-"+t),i&&(t="Ctrl-"+t),a&&(t="Meta-"+t),o&&(t="Shift-"+t),t}function z3(n){let e=Object.create(null);for(let t in n)e[j3(t)]=n[t];return e}function tu(n,e,t=!0){return e.altKey&&(n="Alt-"+n),e.ctrlKey&&(n="Ctrl-"+n),e.metaKey&&(n="Meta-"+n),t&&e.shiftKey&&(n="Shift-"+n),n}function $3(n){return new pi({props:{handleKeyDown:Gp(n)}})}function Gp(n){let e=z3(n);return function(t,r){let i=P3(r),o,a=e[tu(i,r)];if(a&&a(t.state,t.dispatch,t))return!0;if(i.length==1&&i!=" "){if(r.shiftKey){let s=e[tu(i,r,!1)];if(s&&s(t.state,t.dispatch,t))return!0}if((r.shiftKey||r.altKey||r.metaKey||i.charCodeAt(0)>127)&&(o=kr[r.keyCode])&&o!=i){let s=e[tu(o,r)];if(s&&s(t.state,t.dispatch,t))return!0}}return!1}}const Kp=(n,e)=>n.selection.empty?!1:(e&&e(n.tr.deleteSelection().scrollIntoView()),!0);function UD(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("backward",n):t.parentOffset>0)?null:t}const kD=(n,e,t)=>{let r=UD(n,t);if(!r)return!1;let i=Jp(r);if(!i){let a=r.blockRange(),s=a&&oo(a);return s==null?!1:(e&&e(n.tr.lift(a,s).scrollIntoView()),!0)}let o=i.nodeBefore;if(LD(n,i,e,-1))return!0;if(r.parent.content.size==0&&(Ji(o,"end")||Ae.isSelectable(o)))for(let a=r.depth;;a--){let s=Kc(n.doc,r.before(a),r.after(a),_e.empty);if(s&&s.slice.size<s.to-s.from){if(e){let c=n.tr.step(s);c.setSelection(Ji(o,"end")?Fe.findFrom(c.doc.resolve(c.mapping.map(i.pos,-1)),-1):Ae.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(n.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),!0):!1},V3=(n,e,t)=>{let r=UD(n,t);if(!r)return!1;let i=Jp(r);return i?FD(n,i,e):!1},H3=(n,e,t)=>{let r=RD(n,t);if(!r)return!1;let i=Zp(r);return i?FD(n,i,e):!1};function FD(n,e,t){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=Kc(n.doc,o,c,_e.empty);if(!l||l.from!=o||l instanceof lt&&l.slice.size>=c-o)return!1;if(t){let u=n.tr.step(l);u.setSelection(Ie.create(u.doc,o)),t(u.scrollIntoView())}return!0}function Ji(n,e,t=!1){for(let r=n;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(t&&r.childCount!=1)return!1}return!1}const OD=(n,e,t)=>{let{$head:r,empty:i}=n.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("backward",n):r.parentOffset>0)return!1;o=Jp(r)}let a=o&&o.nodeBefore;return!a||!Ae.isSelectable(a)?!1:(e&&e(n.tr.setSelection(Ae.create(n.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function Jp(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){if(n.index(e)>0)return n.doc.resolve(n.before(e+1));if(n.node(e).type.spec.isolating)break}return null}function RD(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("forward",n):t.parentOffset<t.parent.content.size)?null:t}const ND=(n,e,t)=>{let r=RD(n,t);if(!r)return!1;let i=Zp(r);if(!i)return!1;let o=i.nodeAfter;if(LD(n,i,e,1))return!0;if(r.parent.content.size==0&&(Ji(o,"start")||Ae.isSelectable(o))){let a=Kc(n.doc,r.before(),r.after(),_e.empty);if(a&&a.slice.size<a.to-a.from){if(e){let s=n.tr.step(a);s.setSelection(Ji(o,"start")?Fe.findFrom(s.doc.resolve(s.mapping.map(i.pos)),1):Ae.create(s.doc,s.mapping.map(i.pos))),e(s.scrollIntoView())}return!0}}return o.isAtom&&i.depth==r.depth-1?(e&&e(n.tr.delete(i.pos,i.pos+o.nodeSize).scrollIntoView()),!0):!1},ID=(n,e,t)=>{let{$head:r,empty:i}=n.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("forward",n):r.parentOffset<r.parent.content.size)return!1;o=Zp(r)}let a=o&&o.nodeAfter;return!a||!Ae.isSelectable(a)?!1:(e&&e(n.tr.setSelection(Ae.create(n.doc,o.pos)).scrollIntoView()),!0)};function Zp(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){let t=n.node(e);if(n.index(e)+1<t.childCount)return n.doc.resolve(n.after(e+1));if(t.type.spec.isolating)break}return null}const X3=(n,e)=>{let t=n.selection,r=t instanceof Ae,i;if(r){if(t.node.isTextblock||!ao(n.doc,t.from))return!1;i=t.from}else if(i=Ip(n.doc,t.from,-1),i==null)return!1;if(e){let o=n.tr.join(i);r&&o.setSelection(Ae.create(o.doc,i-n.doc.resolve(i).nodeBefore.nodeSize)),e(o.scrollIntoView())}return!0},G3=(n,e)=>{let t=n.selection,r;if(t instanceof Ae){if(t.node.isTextblock||!ao(n.doc,t.to))return!1;r=t.to}else if(r=Ip(n.doc,t.to,1),r==null)return!1;return e&&e(n.tr.join(r).scrollIntoView()),!0},K3=(n,e)=>{let{$from:t,$to:r}=n.selection,i=t.blockRange(r),o=i&&oo(i);return o==null?!1:(e&&e(n.tr.lift(i,o).scrollIntoView()),!0)},BD=(n,e)=>{let{$head:t,$anchor:r}=n.selection;return!t.parent.type.spec.code||!t.sameParent(r)?!1:(e&&e(n.tr.insertText(`
|
|
10
|
+
`).scrollIntoView()),!0)};function Yp(n){for(let e=0;e<n.edgeCount;e++){let{type:t}=n.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}const J3=(n,e)=>{let{$head:t,$anchor:r}=n.selection;if(!t.parent.type.spec.code||!t.sameParent(r))return!1;let i=t.node(-1),o=t.indexAfter(-1),a=Yp(i.contentMatchAt(o));if(!a||!i.canReplaceWith(o,o,a))return!1;if(e){let s=t.after(),c=n.tr.replaceWith(s,s,a.createAndFill());c.setSelection(Fe.near(c.doc.resolve(s),1)),e(c.scrollIntoView())}return!0},MD=(n,e)=>{let t=n.selection,{$from:r,$to:i}=t;if(t instanceof Ht||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=Yp(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=n.tr.insert(a,o.createAndFill());s.setSelection(Ie.create(s.doc,a+1)),e(s.scrollIntoView())}return!0},WD=(n,e)=>{let{$cursor:t}=n.selection;if(!t||t.parent.content.size)return!1;if(t.depth>1&&t.after()!=t.end(-1)){let o=t.before();if(Li(n.doc,o))return e&&e(n.tr.split(o).scrollIntoView()),!0}let r=t.blockRange(),i=r&&oo(r);return i==null?!1:(e&&e(n.tr.lift(r,i).scrollIntoView()),!0)};function Z3(n){return(e,t)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof Ae&&e.selection.node.isBlock)return!r.parentOffset||!Li(e.doc,r.pos)?!1:(t&&t(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=Yp(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 Ie||e.selection instanceof Ht)&&u.deleteSelection();let f=u.mapping.map(r.pos),d=Li(u.doc,f,o.length,o);if(d||(o[0]=s?{type:s}:null,d=Li(u.doc,f,o.length,o)),u.split(f,o.length,o),!c&&l&&r.node(a).type!=s){let h=u.mapping.map(r.before(a)),p=u.doc.resolve(h);s&&r.node(a-1).canReplaceWith(p.index(),p.index()+1,s)&&u.setNodeMarkup(u.mapping.map(r.before(a)),s)}return t&&t(u.scrollIntoView()),!0}}const Y3=Z3(),Q3=(n,e)=>{let{$from:t,to:r}=n.selection,i,o=t.sharedDepth(r);return o==0?!1:(i=t.before(o),e&&e(n.tr.setSelection(Ae.create(n.doc,i))),!0)};function eA(n,e,t){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)?(t&&t(n.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(o,o+1)||!(i.isTextblock||ao(n.doc,e.pos))?!1:(t&&t(n.tr.join(e.pos).scrollIntoView()),!0)}function LD(n,e,t,r){let i=e.nodeBefore,o=e.nodeAfter,a,s,c=i.type.spec.isolating||o.type.spec.isolating;if(!c&&eA(n,e,t))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(t){let h=e.pos+o.nodeSize,p=pe.empty;for(let y=a.length-1;y>=0;y--)p=pe.from(a[y].create(null,p));p=pe.from(i.copy(p));let m=n.tr.step(new ut(e.pos-1,h,e.pos,h,new _e(p,1,0),a.length,!0)),g=m.doc.resolve(h+2*a.length);g.nodeAfter&&g.nodeAfter.type==i.type&&ao(m.doc,g.pos)&&m.join(g.pos),t(m.scrollIntoView())}return!0}let u=o.type.spec.isolating||r>0&&c?null:Fe.findFrom(e,1),f=u&&u.$from.blockRange(u.$to),d=f&&oo(f);if(d!=null&&d>=e.depth)return t&&t(n.tr.lift(f,d).scrollIntoView()),!0;if(l&&Ji(o,"start",!0)&&Ji(i,"end")){let h=i,p=[];for(;p.push(h),!h.isTextblock;)h=h.lastChild;let m=o,g=1;for(;!m.isTextblock;m=m.firstChild)g++;if(h.canReplace(h.childCount,h.childCount,m.content)){if(t){let y=pe.empty;for(let v=p.length-1;v>=0;v--)y=pe.from(p[v].copy(y));let b=n.tr.step(new ut(e.pos-p.length,e.pos+o.nodeSize,e.pos+g,e.pos+o.nodeSize-g,new _e(y,p.length,0),0,!0));t(b.scrollIntoView())}return!0}}return!1}function PD(n){return function(e,t){let r=e.selection,i=n<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(t&&t(e.tr.setSelection(Ie.create(e.doc,n<0?i.start(o):i.end(o)))),!0):!1}}const tA=PD(-1),nA=PD(1);function rA(n,e=null){return function(t,r){let{$from:i,$to:o}=t.selection,a=i.blockRange(o),s=a&&Np(a,n,e);return s?(r&&r(t.tr.wrap(a,s).scrollIntoView()),!0):!1}}function iA(n,e=null){return function(t,r){let i=!1;for(let o=0;o<t.selection.ranges.length&&!i;o++){let{$from:{pos:a},$to:{pos:s}}=t.selection.ranges[o];t.doc.nodesBetween(a,s,(c,l)=>{if(i)return!1;if(!(!c.isTextblock||c.hasMarkup(n,e)))if(c.type==n)i=!0;else{let u=t.doc.resolve(l),f=u.index();i=u.parent.canReplaceWith(f,f+1,n)}})}if(!i)return!1;if(r){let o=t.tr;for(let a=0;a<t.selection.ranges.length;a++){let{$from:{pos:s},$to:{pos:c}}=t.selection.ranges[a];o.setBlockType(s,c,n,e)}r(o.scrollIntoView())}return!0}}function Qp(...n){return function(e,t,r){for(let i=0;i<n.length;i++)if(n[i](e,t,r))return!0;return!1}}Qp(Kp,kD,OD);Qp(Kp,ND,ID);Qp(BD,MD,WD,Y3);typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function oA(n,e=null){return function(t,r){let{$from:i,$to:o}=t.selection,a=i.blockRange(o);if(!a)return!1;let s=r?t.tr:null;return aA(s,a,n,e)?(r&&r(s.scrollIntoView()),!0):!1}}function aA(n,e,t,r=null){let i=!1,o=e,a=e.$from.doc;if(e.depth>=2&&e.$from.node(e.depth-1).type.compatibleContent(t)&&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=Np(o,t,r,e);return s?(n&&sA(n,e,s,i,t),!0):!1}function sA(n,e,t,r,i){let o=pe.empty;for(let u=t.length-1;u>=0;u--)o=pe.from(t[u].type.create(t[u].attrs,o));n.step(new ut(e.start-(r?2:0),e.end,e.start,e.end,new _e(o,0,0),t.length,!0));let a=0;for(let u=0;u<t.length;u++)t[u].type==i&&(a=u+1);let s=t.length-a,c=e.start+t.length-(r?2:0),l=e.parent;for(let u=e.startIndex,f=e.endIndex,d=!0;u<f;u++,d=!1)!d&&Li(n.doc,c,s)&&(n.split(c,s),c+=2*s),c+=l.child(u).nodeSize;return n}function cA(n){return function(e,t){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,a=>a.childCount>0&&a.firstChild.type==n);return o?t?r.node(o.depth-1).type==n?lA(e,t,n,o):uA(e,t,o):!0:!1}}function lA(n,e,t,r){let i=n.tr,o=r.end,a=r.$to.end(r.depth);o<a&&(i.step(new ut(o-1,a,o,a,new _e(pe.from(t.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=oo(r);if(s==null)return!1;i.lift(r,s);let c=i.mapping.map(o,-1)-1;return ao(i.doc,c)&&i.join(c),e(i.scrollIntoView()),!0}function uA(n,e,t){let r=n.tr,i=t.parent;for(let h=t.end,p=t.endIndex-1,m=t.startIndex;p>m;p--)h-=i.child(p).nodeSize,r.delete(h-1,h+1);let o=r.doc.resolve(t.start),a=o.nodeAfter;if(r.mapping.map(t.end)!=t.start+o.nodeAfter.nodeSize)return!1;let s=t.startIndex==0,c=t.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 f=o.pos,d=f+a.nodeSize;return r.step(new ut(f-(s?1:0),d+(c?1:0),f+1,d-1,new _e((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 fA(n){return function(e,t){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,l=>l.childCount>0&&l.firstChild.type==n);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!=n)return!1;if(t){let l=c.lastChild&&c.lastChild.type==s.type,u=pe.from(l?n.create():null),f=new _e(pe.from(n.create(null,pe.from(s.type.create(null,u)))),l?3:1,0),d=o.start,h=o.end;t(e.tr.step(new ut(d-(l?3:1),h,d,h,f,1,!0)).scrollIntoView())}return!0}}var qD=typeof global=="object"&&global&&global.Object===Object&&global,dA=typeof self=="object"&&self&&self.Object===Object&&self,On=qD||dA||Function("return this")(),kn=On.Symbol,jD=Object.prototype,hA=jD.hasOwnProperty,pA=jD.toString,bo=kn?kn.toStringTag:void 0;function gA(n){var e=hA.call(n,bo),t=n[bo];try{n[bo]=void 0;var r=!0}catch{}var i=pA.call(n);return r&&(e?n[bo]=t:delete n[bo]),i}var mA=Object.prototype,yA=mA.toString;function bA(n){return yA.call(n)}var vA="[object Null]",xA="[object Undefined]",My=kn?kn.toStringTag:void 0;function Wr(n){return n==null?n===void 0?xA:vA:My&&My in Object(n)?gA(n):bA(n)}function Jn(n){return n!=null&&typeof n=="object"}var DA="[object Symbol]";function el(n){return typeof n=="symbol"||Jn(n)&&Wr(n)==DA}function zD(n,e){for(var t=-1,r=n==null?0:n.length,i=Array(r);++t<r;)i[t]=e(n[t],t,n);return i}var Fn=Array.isArray,Wy=kn?kn.prototype:void 0,Ly=Wy?Wy.toString:void 0;function sc(n){if(typeof n=="string")return n;if(Fn(n))return zD(n,sc)+"";if(el(n))return Ly?Ly.call(n):"";var e=n+"";return e=="0"&&1/n==-1/0?"-0":e}var wA=/\s/;function _A(n){for(var e=n.length;e--&&wA.test(n.charAt(e)););return e}var TA=/^\s+/;function EA(n){return n&&n.slice(0,_A(n)+1).replace(TA,"")}function Fr(n){var e=typeof n;return n!=null&&(e=="object"||e=="function")}var Py=NaN,CA=/^[-+]0x[0-9a-f]+$/i,SA=/^0b[01]+$/i,AA=/^0o[0-7]+$/i,UA=parseInt;function ji(n){if(typeof n=="number")return n;if(el(n))return Py;if(Fr(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=Fr(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=EA(n);var t=SA.test(n);return t||AA.test(n)?UA(n.slice(2),t?2:8):CA.test(n)?Py:+n}var kA=1/0,FA=17976931348623157e292;function OA(n){if(!n)return n===0?n:0;if(n=ji(n),n===kA||n===-1/0){var e=n<0?-1:1;return e*FA}return n===n?n:0}function RA(n){var e=OA(n),t=e%1;return e===e?t?e-t:e:0}function eg(n){return n}var NA="[object AsyncFunction]",IA="[object Function]",BA="[object GeneratorFunction]",MA="[object Proxy]";function $D(n){if(!Fr(n))return!1;var e=Wr(n);return e==IA||e==BA||e==NA||e==MA}var nu=On["__core-js_shared__"],qy=function(){var n=/[^.]+$/.exec(nu&&nu.keys&&nu.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function WA(n){return!!qy&&qy in n}var LA=Function.prototype,PA=LA.toString;function gi(n){if(n!=null){try{return PA.call(n)}catch{}try{return n+""}catch{}}return""}var qA=/[\\^$.*+?()[\]{}|]/g,jA=/^\[object .+?Constructor\]$/,zA=Function.prototype,$A=Object.prototype,VA=zA.toString,HA=$A.hasOwnProperty,XA=RegExp("^"+VA.call(HA).replace(qA,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function GA(n){if(!Fr(n)||WA(n))return!1;var e=$D(n)?XA:jA;return e.test(gi(n))}function KA(n,e){return n==null?void 0:n[e]}function mi(n,e){var t=KA(n,e);return GA(t)?t:void 0}var jh=mi(On,"WeakMap");function JA(n,e,t){switch(t.length){case 0:return n.call(e);case 1:return n.call(e,t[0]);case 2:return n.call(e,t[0],t[1]);case 3:return n.call(e,t[0],t[1],t[2])}return n.apply(e,t)}var ZA=800,YA=16,QA=Date.now;function eU(n){var e=0,t=0;return function(){var r=QA(),i=YA-(r-t);if(t=r,i>0){if(++e>=ZA)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}function tU(n){return function(){return n}}var jy=function(){try{var n=mi(Object,"defineProperty");return n({},"",{}),n}catch{}}(),nU=jy?function(n,e){return jy(n,"toString",{configurable:!0,enumerable:!1,value:tU(e),writable:!0})}:eg,rU=eU(nU);function iU(n,e,t,r){for(var i=n.length,o=t+-1;++o<i;)if(e(n[o],o,n))return o;return-1}function oU(n){return n!==n}function aU(n,e,t){for(var r=t-1,i=n.length;++r<i;)if(n[r]===e)return r;return-1}function sU(n,e,t){return e===e?aU(n,e,t):iU(n,oU,t)}function cU(n,e){var t=n==null?0:n.length;return!!t&&sU(n,e,0)>-1}var lU=9007199254740991,uU=/^(?:0|[1-9]\d*)$/;function VD(n,e){var t=typeof n;return e=e??lU,!!e&&(t=="number"||t!="symbol"&&uU.test(n))&&n>-1&&n%1==0&&n<e}function HD(n,e){return n===e||n!==n&&e!==e}var zy=Math.max;function fU(n,e,t){return e=zy(e===void 0?n.length-1:e,0),function(){for(var r=arguments,i=-1,o=zy(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]=t(a),JA(n,this,s)}}function dU(n,e){return rU(fU(n,e,eg),n+"")}var hU=9007199254740991;function tg(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=hU}function XD(n){return n!=null&&tg(n.length)&&!$D(n)}var pU=Object.prototype;function gU(n){var e=n&&n.constructor,t=typeof e=="function"&&e.prototype||pU;return n===t}function mU(n,e){for(var t=-1,r=Array(n);++t<n;)r[t]=e(t);return r}var yU="[object Arguments]";function $y(n){return Jn(n)&&Wr(n)==yU}var GD=Object.prototype,bU=GD.hasOwnProperty,vU=GD.propertyIsEnumerable,ng=$y(function(){return arguments}())?$y:function(n){return Jn(n)&&bU.call(n,"callee")&&!vU.call(n,"callee")};function xU(){return!1}var KD=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vy=KD&&typeof module=="object"&&module&&!module.nodeType&&module,DU=Vy&&Vy.exports===KD,Hy=DU?On.Buffer:void 0,wU=Hy?Hy.isBuffer:void 0,zh=wU||xU,_U="[object Arguments]",TU="[object Array]",EU="[object Boolean]",CU="[object Date]",SU="[object Error]",AU="[object Function]",UU="[object Map]",kU="[object Number]",FU="[object Object]",OU="[object RegExp]",RU="[object Set]",NU="[object String]",IU="[object WeakMap]",BU="[object ArrayBuffer]",MU="[object DataView]",WU="[object Float32Array]",LU="[object Float64Array]",PU="[object Int8Array]",qU="[object Int16Array]",jU="[object Int32Array]",zU="[object Uint8Array]",$U="[object Uint8ClampedArray]",VU="[object Uint16Array]",HU="[object Uint32Array]",Ge={};Ge[WU]=Ge[LU]=Ge[PU]=Ge[qU]=Ge[jU]=Ge[zU]=Ge[$U]=Ge[VU]=Ge[HU]=!0;Ge[_U]=Ge[TU]=Ge[BU]=Ge[EU]=Ge[MU]=Ge[CU]=Ge[SU]=Ge[AU]=Ge[UU]=Ge[kU]=Ge[FU]=Ge[OU]=Ge[RU]=Ge[NU]=Ge[IU]=!1;function XU(n){return Jn(n)&&tg(n.length)&&!!Ge[Wr(n)]}function rg(n){return function(e){return n(e)}}var JD=typeof exports=="object"&&exports&&!exports.nodeType&&exports,qo=JD&&typeof module=="object"&&module&&!module.nodeType&&module,GU=qo&&qo.exports===JD,ru=GU&&qD.process,cc=function(){try{var n=qo&&qo.require&&qo.require("util").types;return n||ru&&ru.binding&&ru.binding("util")}catch{}}(),Xy=cc&&cc.isTypedArray,ZD=Xy?rg(Xy):XU,KU=Object.prototype,JU=KU.hasOwnProperty;function ZU(n,e){var t=Fn(n),r=!t&&ng(n),i=!t&&!r&&zh(n),o=!t&&!r&&!i&&ZD(n),a=t||r||i||o,s=a?mU(n.length,String):[],c=s.length;for(var l in n)JU.call(n,l)&&!(a&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||VD(l,c)))&&s.push(l);return s}function YU(n,e){return function(t){return n(e(t))}}var QU=YU(Object.keys,Object),e5=Object.prototype,t5=e5.hasOwnProperty;function n5(n){if(!gU(n))return QU(n);var e=[];for(var t in Object(n))t5.call(n,t)&&t!="constructor"&&e.push(t);return e}function YD(n){return XD(n)?ZU(n):n5(n)}var r5=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i5=/^\w*$/;function ig(n,e){if(Fn(n))return!1;var t=typeof n;return t=="number"||t=="symbol"||t=="boolean"||n==null||el(n)?!0:i5.test(n)||!r5.test(n)||e!=null&&n in Object(e)}var ia=mi(Object,"create");function o5(){this.__data__=ia?ia(null):{},this.size=0}function a5(n){var e=this.has(n)&&delete this.__data__[n];return this.size-=e?1:0,e}var s5="__lodash_hash_undefined__",c5=Object.prototype,l5=c5.hasOwnProperty;function u5(n){var e=this.__data__;if(ia){var t=e[n];return t===s5?void 0:t}return l5.call(e,n)?e[n]:void 0}var f5=Object.prototype,d5=f5.hasOwnProperty;function h5(n){var e=this.__data__;return ia?e[n]!==void 0:d5.call(e,n)}var p5="__lodash_hash_undefined__";function g5(n,e){var t=this.__data__;return this.size+=this.has(n)?0:1,t[n]=ia&&e===void 0?p5:e,this}function li(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var r=n[e];this.set(r[0],r[1])}}li.prototype.clear=o5;li.prototype.delete=a5;li.prototype.get=u5;li.prototype.has=h5;li.prototype.set=g5;function m5(){this.__data__=[],this.size=0}function tl(n,e){for(var t=n.length;t--;)if(HD(n[t][0],e))return t;return-1}var y5=Array.prototype,b5=y5.splice;function v5(n){var e=this.__data__,t=tl(e,n);if(t<0)return!1;var r=e.length-1;return t==r?e.pop():b5.call(e,t,1),--this.size,!0}function x5(n){var e=this.__data__,t=tl(e,n);return t<0?void 0:e[t][1]}function D5(n){return tl(this.__data__,n)>-1}function w5(n,e){var t=this.__data__,r=tl(t,n);return r<0?(++this.size,t.push([n,e])):t[r][1]=e,this}function nr(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var r=n[e];this.set(r[0],r[1])}}nr.prototype.clear=m5;nr.prototype.delete=v5;nr.prototype.get=x5;nr.prototype.has=D5;nr.prototype.set=w5;var oa=mi(On,"Map");function _5(){this.size=0,this.__data__={hash:new li,map:new(oa||nr),string:new li}}function T5(n){var e=typeof n;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?n!=="__proto__":n===null}function nl(n,e){var t=n.__data__;return T5(e)?t[typeof e=="string"?"string":"hash"]:t.map}function E5(n){var e=nl(this,n).delete(n);return this.size-=e?1:0,e}function C5(n){return nl(this,n).get(n)}function S5(n){return nl(this,n).has(n)}function A5(n,e){var t=nl(this,n),r=t.size;return t.set(n,e),this.size+=t.size==r?0:1,this}function rr(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var r=n[e];this.set(r[0],r[1])}}rr.prototype.clear=_5;rr.prototype.delete=E5;rr.prototype.get=C5;rr.prototype.has=S5;rr.prototype.set=A5;var U5="Expected a function";function og(n,e){if(typeof n!="function"||e!=null&&typeof e!="function")throw new TypeError(U5);var t=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=t.cache;if(o.has(i))return o.get(i);var a=n.apply(this,r);return t.cache=o.set(i,a)||o,a};return t.cache=new(og.Cache||rr),t}og.Cache=rr;var k5=500;function F5(n){var e=og(n,function(r){return t.size===k5&&t.clear(),r}),t=e.cache;return e}var O5=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,R5=/\\(\\)?/g,N5=F5(function(n){var e=[];return n.charCodeAt(0)===46&&e.push(""),n.replace(O5,function(t,r,i,o){e.push(i?o.replace(R5,"$1"):r||t)}),e});function $h(n){return n==null?"":sc(n)}function QD(n,e){return Fn(n)?n:ig(n,e)?[n]:N5($h(n))}function rl(n){if(typeof n=="string"||el(n))return n;var e=n+"";return e=="0"&&1/n==-1/0?"-0":e}function ew(n,e){e=QD(e,n);for(var t=0,r=e.length;n!=null&&t<r;)n=n[rl(e[t++])];return t&&t==r?n:void 0}function I5(n,e,t){var r=n==null?void 0:ew(n,e);return r===void 0?t:r}function tw(n,e){for(var t=-1,r=e.length,i=n.length;++t<r;)n[i+t]=e[t];return n}var Gy=kn?kn.isConcatSpreadable:void 0;function B5(n){return Fn(n)||ng(n)||!!(Gy&&n&&n[Gy])}function M5(n,e,t,r,i){var o=-1,a=n.length;for(t||(t=B5),i||(i=[]);++o<a;){var s=n[o];t(s)&&tw(i,s)}return i}function W5(n,e,t){var r=-1,i=n.length;e<0&&(e=-e>i?0:i+e),t=t>i?i:t,t<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=n[r+e];return o}function L5(n,e,t){var r=n.length;return t=t===void 0?r:t,t>=r?n:W5(n,e,t)}var P5="\\ud800-\\udfff",q5="\\u0300-\\u036f",j5="\\ufe20-\\ufe2f",z5="\\u20d0-\\u20ff",$5=q5+j5+z5,V5="\\ufe0e\\ufe0f",H5="\\u200d",X5=RegExp("["+H5+P5+$5+V5+"]");function ag(n){return X5.test(n)}function G5(n){return n.split("")}var nw="\\ud800-\\udfff",K5="\\u0300-\\u036f",J5="\\ufe20-\\ufe2f",Z5="\\u20d0-\\u20ff",Y5=K5+J5+Z5,Q5="\\ufe0e\\ufe0f",e8="["+nw+"]",Vh="["+Y5+"]",Hh="\\ud83c[\\udffb-\\udfff]",t8="(?:"+Vh+"|"+Hh+")",rw="[^"+nw+"]",iw="(?:\\ud83c[\\udde6-\\uddff]){2}",ow="[\\ud800-\\udbff][\\udc00-\\udfff]",n8="\\u200d",aw=t8+"?",sw="["+Q5+"]?",r8="(?:"+n8+"(?:"+[rw,iw,ow].join("|")+")"+sw+aw+")*",i8=sw+aw+r8,o8="(?:"+[rw+Vh+"?",Vh,iw,ow,e8].join("|")+")",a8=RegExp(Hh+"(?="+Hh+")|"+o8+i8,"g");function s8(n){return n.match(a8)||[]}function c8(n){return ag(n)?s8(n):G5(n)}function l8(n,e,t){return n===n&&(t!==void 0&&(n=n<=t?n:t),e!==void 0&&(n=n>=e?n:e)),n}function u8(n,e,t){return t===void 0&&(t=e,e=void 0),t!==void 0&&(t=ji(t),t=t===t?t:0),e!==void 0&&(e=ji(e),e=e===e?e:0),l8(ji(n),e,t)}function f8(){this.__data__=new nr,this.size=0}function d8(n){var e=this.__data__,t=e.delete(n);return this.size=e.size,t}function h8(n){return this.__data__.get(n)}function p8(n){return this.__data__.has(n)}var g8=200;function m8(n,e){var t=this.__data__;if(t instanceof nr){var r=t.__data__;if(!oa||r.length<g8-1)return r.push([n,e]),this.size=++t.size,this;t=this.__data__=new rr(r)}return t.set(n,e),this.size=t.size,this}function Kn(n){var e=this.__data__=new nr(n);this.size=e.size}Kn.prototype.clear=f8;Kn.prototype.delete=d8;Kn.prototype.get=h8;Kn.prototype.has=p8;Kn.prototype.set=m8;function y8(n,e){for(var t=-1,r=n==null?0:n.length,i=0,o=[];++t<r;){var a=n[t];e(a,t,n)&&(o[i++]=a)}return o}function b8(){return[]}var v8=Object.prototype,x8=v8.propertyIsEnumerable,Ky=Object.getOwnPropertySymbols,D8=Ky?function(n){return n==null?[]:(n=Object(n),y8(Ky(n),function(e){return x8.call(n,e)}))}:b8;function w8(n,e,t){var r=e(n);return Fn(n)?r:tw(r,t(n))}function Jy(n){return w8(n,YD,D8)}var Xh=mi(On,"DataView"),Gh=mi(On,"Promise"),Kh=mi(On,"Set"),Zy="[object Map]",_8="[object Object]",Yy="[object Promise]",Qy="[object Set]",e1="[object WeakMap]",t1="[object DataView]",T8=gi(Xh),E8=gi(oa),C8=gi(Gh),S8=gi(Kh),A8=gi(jh),gr=Wr;(Xh&&gr(new Xh(new ArrayBuffer(1)))!=t1||oa&&gr(new oa)!=Zy||Gh&&gr(Gh.resolve())!=Yy||Kh&&gr(new Kh)!=Qy||jh&&gr(new jh)!=e1)&&(gr=function(n){var e=Wr(n),t=e==_8?n.constructor:void 0,r=t?gi(t):"";if(r)switch(r){case T8:return t1;case E8:return Zy;case C8:return Yy;case S8:return Qy;case A8:return e1}return e});var n1=On.Uint8Array,U8="__lodash_hash_undefined__";function k8(n){return this.__data__.set(n,U8),this}function F8(n){return this.__data__.has(n)}function aa(n){var e=-1,t=n==null?0:n.length;for(this.__data__=new rr;++e<t;)this.add(n[e])}aa.prototype.add=aa.prototype.push=k8;aa.prototype.has=F8;function O8(n,e){for(var t=-1,r=n==null?0:n.length;++t<r;)if(e(n[t],t,n))return!0;return!1}function cw(n,e){return n.has(e)}var R8=1,N8=2;function lw(n,e,t,r,i,o){var a=t&R8,s=n.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(n),u=o.get(e);if(l&&u)return l==e&&u==n;var f=-1,d=!0,h=t&N8?new aa:void 0;for(o.set(n,e),o.set(e,n);++f<s;){var p=n[f],m=e[f];if(r)var g=a?r(m,p,f,e,n,o):r(p,m,f,n,e,o);if(g!==void 0){if(g)continue;d=!1;break}if(h){if(!O8(e,function(y,b){if(!cw(h,b)&&(p===y||i(p,y,t,r,o)))return h.push(b)})){d=!1;break}}else if(!(p===m||i(p,m,t,r,o))){d=!1;break}}return o.delete(n),o.delete(e),d}function I8(n){var e=-1,t=Array(n.size);return n.forEach(function(r,i){t[++e]=[i,r]}),t}function B8(n){var e=-1,t=Array(n.size);return n.forEach(function(r){t[++e]=r}),t}var M8=1,W8=2,L8="[object Boolean]",P8="[object Date]",q8="[object Error]",j8="[object Map]",z8="[object Number]",$8="[object RegExp]",V8="[object Set]",H8="[object String]",X8="[object Symbol]",G8="[object ArrayBuffer]",K8="[object DataView]",r1=kn?kn.prototype:void 0,iu=r1?r1.valueOf:void 0;function J8(n,e,t,r,i,o,a){switch(t){case K8:if(n.byteLength!=e.byteLength||n.byteOffset!=e.byteOffset)return!1;n=n.buffer,e=e.buffer;case G8:return!(n.byteLength!=e.byteLength||!o(new n1(n),new n1(e)));case L8:case P8:case z8:return HD(+n,+e);case q8:return n.name==e.name&&n.message==e.message;case $8:case H8:return n==e+"";case j8:var s=I8;case V8:var c=r&M8;if(s||(s=B8),n.size!=e.size&&!c)return!1;var l=a.get(n);if(l)return l==e;r|=W8,a.set(n,e);var u=lw(s(n),s(e),r,i,o,a);return a.delete(n),u;case X8:if(iu)return iu.call(n)==iu.call(e)}return!1}var Z8=1,Y8=Object.prototype,Q8=Y8.hasOwnProperty;function ek(n,e,t,r,i,o){var a=t&Z8,s=Jy(n),c=s.length,l=Jy(e),u=l.length;if(c!=u&&!a)return!1;for(var f=c;f--;){var d=s[f];if(!(a?d in e:Q8.call(e,d)))return!1}var h=o.get(n),p=o.get(e);if(h&&p)return h==e&&p==n;var m=!0;o.set(n,e),o.set(e,n);for(var g=a;++f<c;){d=s[f];var y=n[d],b=e[d];if(r)var v=a?r(b,y,d,e,n,o):r(y,b,d,n,e,o);if(!(v===void 0?y===b||i(y,b,t,r,o):v)){m=!1;break}g||(g=d=="constructor")}if(m&&!g){var T=n.constructor,w=e.constructor;T!=w&&"constructor"in n&&"constructor"in e&&!(typeof T=="function"&&T instanceof T&&typeof w=="function"&&w instanceof w)&&(m=!1)}return o.delete(n),o.delete(e),m}var tk=1,i1="[object Arguments]",o1="[object Array]",Wa="[object Object]",nk=Object.prototype,a1=nk.hasOwnProperty;function rk(n,e,t,r,i,o){var a=Fn(n),s=Fn(e),c=a?o1:gr(n),l=s?o1:gr(e);c=c==i1?Wa:c,l=l==i1?Wa:l;var u=c==Wa,f=l==Wa,d=c==l;if(d&&zh(n)){if(!zh(e))return!1;a=!0,u=!1}if(d&&!u)return o||(o=new Kn),a||ZD(n)?lw(n,e,t,r,i,o):J8(n,e,c,t,r,i,o);if(!(t&tk)){var h=u&&a1.call(n,"__wrapped__"),p=f&&a1.call(e,"__wrapped__");if(h||p){var m=h?n.value():n,g=p?e.value():e;return o||(o=new Kn),i(m,g,t,r,o)}}return d?(o||(o=new Kn),ek(n,e,t,r,i,o)):!1}function sg(n,e,t,r,i){return n===e?!0:n==null||e==null||!Jn(n)&&!Jn(e)?n!==n&&e!==e:rk(n,e,t,r,sg,i)}var ik=1,ok=2;function ak(n,e,t,r){var i=t.length,o=i;if(n==null)return!o;for(n=Object(n);i--;){var a=t[i];if(a[2]?a[1]!==n[a[0]]:!(a[0]in n))return!1}for(;++i<o;){a=t[i];var s=a[0],c=n[s],l=a[1];if(a[2]){if(c===void 0&&!(s in n))return!1}else{var u=new Kn,f;if(!(f===void 0?sg(l,c,ik|ok,r,u):f))return!1}}return!0}function uw(n){return n===n&&!Fr(n)}function sk(n){for(var e=YD(n),t=e.length;t--;){var r=e[t],i=n[r];e[t]=[r,i,uw(i)]}return e}function fw(n,e){return function(t){return t==null?!1:t[n]===e&&(e!==void 0||n in Object(t))}}function ck(n){var e=sk(n);return e.length==1&&e[0][2]?fw(e[0][0],e[0][1]):function(t){return t===n||ak(t,n,e)}}function lk(n,e){return n!=null&&e in Object(n)}function uk(n,e,t){e=QD(e,n);for(var r=-1,i=e.length,o=!1;++r<i;){var a=rl(e[r]);if(!(o=n!=null&&t(n,a)))break;n=n[a]}return o||++r!=i?o:(i=n==null?0:n.length,!!i&&tg(i)&&VD(a,i)&&(Fn(n)||ng(n)))}function fk(n,e){return n!=null&&uk(n,e,lk)}var dk=1,hk=2;function pk(n,e){return ig(n)&&uw(e)?fw(rl(n),e):function(t){var r=I5(t,n);return r===void 0&&r===e?fk(t,n):sg(e,r,dk|hk)}}function dw(n){return function(e){return e==null?void 0:e[n]}}function gk(n){return function(e){return ew(e,n)}}function mk(n){return ig(n)?dw(rl(n)):gk(n)}function yk(n){return typeof n=="function"?n:n==null?eg:typeof n=="object"?Fn(n)?pk(n[0],n[1]):ck(n):mk(n)}var ou=function(){return On.Date.now()},bk="Expected a function",vk=Math.max,xk=Math.min;function hw(n,e,t){var r,i,o,a,s,c,l=0,u=!1,f=!1,d=!0;if(typeof n!="function")throw new TypeError(bk);e=ji(e)||0,Fr(t)&&(u=!!t.leading,f="maxWait"in t,o=f?vk(ji(t.maxWait)||0,e):o,d="trailing"in t?!!t.trailing:d);function h(E){var S=r,U=i;return r=i=void 0,l=E,a=n.apply(U,S),a}function p(E){return l=E,s=setTimeout(y,e),u?h(E):a}function m(E){var S=E-c,U=E-l,C=e-S;return f?xk(C,o-U):C}function g(E){var S=E-c,U=E-l;return c===void 0||S>=e||S<0||f&&U>=o}function y(){var E=ou();if(g(E))return b(E);s=setTimeout(y,m(E))}function b(E){return s=void 0,d&&r?h(E):(r=i=void 0,a)}function v(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function T(){return s===void 0?a:b(ou())}function w(){var E=ou(),S=g(E);if(r=arguments,i=this,c=E,S){if(s===void 0)return p(c);if(f)return clearTimeout(s),s=setTimeout(y,e),h(c)}return s===void 0&&(s=setTimeout(y,e)),a}return w.cancel=v,w.flush=T,w}function au(n){return Jn(n)&&XD(n)}var Dk=200;function wk(n,e,t,r){var i=-1,o=cU,a=!0,s=n.length,c=[],l=e.length;if(!s)return c;t&&(e=zD(e,rg(t))),e.length>=Dk&&(o=cw,a=!1,e=new aa(e));e:for(;++i<s;){var u=n[i],f=t==null?u:t(u);if(u=u!==0?u:0,a&&f===f){for(var d=l;d--;)if(e[d]===f)continue e;c.push(u)}else o(e,f,r)||c.push(u)}return c}function _k(n){var e=n==null?0:n.length;return e?n[e-1]:void 0}var Tk=dU(function(n,e){var t=_k(e);return au(t)&&(t=void 0),au(n)?wk(n,M5(e,1,au),yk(t)):[]}),Ek="[object Number]";function Ck(n){return typeof n=="number"||Jn(n)&&Wr(n)==Ek}var Sk="[object RegExp]";function Ak(n){return Jn(n)&&Wr(n)==Sk}var s1=cc&&cc.isRegExp,Uk=s1?rg(s1):Ak,kk=dw("length"),pw="\\ud800-\\udfff",Fk="\\u0300-\\u036f",Ok="\\ufe20-\\ufe2f",Rk="\\u20d0-\\u20ff",Nk=Fk+Ok+Rk,Ik="\\ufe0e\\ufe0f",Bk="["+pw+"]",Jh="["+Nk+"]",Zh="\\ud83c[\\udffb-\\udfff]",Mk="(?:"+Jh+"|"+Zh+")",gw="[^"+pw+"]",mw="(?:\\ud83c[\\udde6-\\uddff]){2}",yw="[\\ud800-\\udbff][\\udc00-\\udfff]",Wk="\\u200d",bw=Mk+"?",vw="["+Ik+"]?",Lk="(?:"+Wk+"(?:"+[gw,mw,yw].join("|")+")"+vw+bw+")*",Pk=vw+bw+Lk,qk="(?:"+[gw+Jh+"?",Jh,mw,yw,Bk].join("|")+")",c1=RegExp(Zh+"(?="+Zh+")|"+qk+Pk,"g");function jk(n){for(var e=c1.lastIndex=0;c1.test(n);)++e;return e}function zk(n){return ag(n)?jk(n):kk(n)}var $k="Expected a function";function Vk(n,e,t){var r=!0,i=!0;if(typeof n!="function")throw new TypeError($k);return Fr(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),hw(n,e,{leading:r,maxWait:e,trailing:i})}var Hk=30,Xk="...",Gk=/\w*$/;function Kk(n,e){var t=Hk,r=Xk;if(Fr(e)){var i="separator"in e?e.separator:i;t="length"in e?RA(e.length):t,r="omission"in e?sc(e.omission):r}n=$h(n);var o=n.length;if(ag(n)){var a=c8(n);o=a.length}if(t>=o)return n;var s=t-zk(r);if(s<1)return r;var c=a?L5(a,0,s).join(""):n.slice(0,s);if(i===void 0)return c+r;if(a&&(s+=c.length-s),Uk(i)){if(n.slice(s).search(i)){var l,u=c;for(i.global||(i=RegExp(i.source,$h(Gk.exec(i))+"g")),i.lastIndex=0;l=i.exec(u);)var f=l.index;c=c.slice(0,f===void 0?s:f)}}else if(n.indexOf(sc(i),s)!=s){var d=c.lastIndexOf(i);d>-1&&(c=c.slice(0,d))}return c+r}function xw(n){var e,t,r="";if(typeof n=="string"||typeof n=="number")r+=n;else if(typeof n=="object")if(Array.isArray(n)){var i=n.length;for(e=0;e<i;e++)n[e]&&(t=xw(n[e]))&&(r&&(r+=" "),r+=t)}else for(t in n)n[t]&&(r&&(r+=" "),r+=t);return r}function Tn(){for(var n,e,t=0,r="",i=arguments.length;t<i;t++)(n=arguments[t])&&(e=xw(n))&&(r&&(r+=" "),r+=e);return r}const cg="-",Jk=n=>{const e=Yk(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=n;return{getClassGroupId:a=>{const s=a.split(cg);return s[0]===""&&s.length!==1&&s.shift(),Dw(s,e)||Zk(a)},getConflictingClassGroupIds:(a,s)=>{const c=t[a]||[];return s&&r[a]?[...c,...r[a]]:c}}},Dw=(n,e)=>{var a;if(n.length===0)return e.classGroupId;const t=n[0],r=e.nextPart.get(t),i=r?Dw(n.slice(1),r):void 0;if(i)return i;if(e.validators.length===0)return;const o=n.join(cg);return(a=e.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},l1=/^\[(.+)\]$/,Zk=n=>{if(l1.test(n)){const e=l1.exec(n)[1],t=e==null?void 0:e.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}},Yk=n=>{const{theme:e,prefix:t}=n,r={nextPart:new Map,validators:[]};return e4(Object.entries(n.classGroups),t).forEach(([o,a])=>{Yh(a,r,o,e)}),r},Yh=(n,e,t,r)=>{n.forEach(i=>{if(typeof i=="string"){const o=i===""?e:u1(e,i);o.classGroupId=t;return}if(typeof i=="function"){if(Qk(i)){Yh(i(r),e,t,r);return}e.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([o,a])=>{Yh(a,u1(e,o),t,r)})})},u1=(n,e)=>{let t=n;return e.split(cg).forEach(r=>{t.nextPart.has(r)||t.nextPart.set(r,{nextPart:new Map,validators:[]}),t=t.nextPart.get(r)}),t},Qk=n=>n.isThemeGetter,e4=(n,e)=>e?n.map(([t,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[t,i]}):n,t4=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,r=new Map;const i=(o,a)=>{t.set(o,a),e++,e>n&&(e=0,r=t,t=new Map)};return{get(o){let a=t.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){t.has(o)?t.set(o,a):i(o,a)}}},ww="!",n4=n=>{const{separator:e,experimentalParseClassName:t}=n,r=e.length===1,i=e[0],o=e.length,a=s=>{const c=[];let l=0,u=0,f;for(let g=0;g<s.length;g++){let y=s[g];if(l===0){if(y===i&&(r||s.slice(g,g+o)===e)){c.push(s.slice(u,g)),u=g+o;continue}if(y==="/"){f=g;continue}}y==="["?l++:y==="]"&&l--}const d=c.length===0?s:s.substring(u),h=d.startsWith(ww),p=h?d.substring(1):d,m=f&&f>u?f-u:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:p,maybePostfixModifierPosition:m}};return t?s=>t({className:s,parseClassName:a}):a},r4=n=>{if(n.length<=1)return n;const e=[];let t=[];return n.forEach(r=>{r[0]==="["?(e.push(...t.sort(),r),t=[]):t.push(r)}),e.push(...t.sort()),e},i4=n=>({cache:t4(n.cacheSize),parseClassName:n4(n),...Jk(n)}),o4=/\s+/,a4=(n,e)=>{const{parseClassName:t,getClassGroupId:r,getConflictingClassGroupIds:i}=e,o=[],a=n.trim().split(o4);let s="";for(let c=a.length-1;c>=0;c-=1){const l=a[c],{modifiers:u,hasImportantModifier:f,baseClassName:d,maybePostfixModifierPosition:h}=t(l);let p=!!h,m=r(p?d.substring(0,h):d);if(!m){if(!p){s=l+(s.length>0?" "+s:s);continue}if(m=r(d),!m){s=l+(s.length>0?" "+s:s);continue}p=!1}const g=r4(u).join(":"),y=f?g+ww:g,b=y+m;if(o.includes(b))continue;o.push(b);const v=i(m,p);for(let T=0;T<v.length;++T){const w=v[T];o.push(y+w)}s=l+(s.length>0?" "+s:s)}return s};function s4(){let n=0,e,t,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=_w(e))&&(r&&(r+=" "),r+=t);return r}const _w=n=>{if(typeof n=="string")return n;let e,t="";for(let r=0;r<n.length;r++)n[r]&&(e=_w(n[r]))&&(t&&(t+=" "),t+=e);return t};function c4(n,...e){let t,r,i,o=a;function a(c){const l=e.reduce((u,f)=>f(u),n());return t=i4(l),r=t.cache.get,i=t.cache.set,o=s,s(c)}function s(c){const l=r(c);if(l)return l;const u=a4(c,t);return i(c,u),u}return function(){return o(s4.apply(null,arguments))}}const Xe=n=>{const e=t=>t[n]||[];return e.isThemeGetter=!0,e},Tw=/^\[(?:([a-z-]+):)?(.+)\]$/i,l4=/^\d+\/\d+$/,u4=new Set(["px","full","screen"]),f4=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,d4=/\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$/,h4=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,p4=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,g4=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Bn=n=>zi(n)||u4.has(n)||l4.test(n),sr=n=>so(n,"length",_4),zi=n=>!!n&&!Number.isNaN(Number(n)),su=n=>so(n,"number",zi),vo=n=>!!n&&Number.isInteger(Number(n)),m4=n=>n.endsWith("%")&&zi(n.slice(0,-1)),Re=n=>Tw.test(n),cr=n=>f4.test(n),y4=new Set(["length","size","percentage"]),b4=n=>so(n,y4,Ew),v4=n=>so(n,"position",Ew),x4=new Set(["image","url"]),D4=n=>so(n,x4,E4),w4=n=>so(n,"",T4),xo=()=>!0,so=(n,e,t)=>{const r=Tw.exec(n);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):t(r[2]):!1},_4=n=>d4.test(n)&&!h4.test(n),Ew=()=>!1,T4=n=>p4.test(n),E4=n=>g4.test(n),C4=()=>{const n=Xe("colors"),e=Xe("spacing"),t=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"),f=Xe("invert"),d=Xe("gap"),h=Xe("gradientColorStops"),p=Xe("gradientColorStopPositions"),m=Xe("inset"),g=Xe("margin"),y=Xe("opacity"),b=Xe("padding"),v=Xe("saturate"),T=Xe("scale"),w=Xe("sepia"),E=Xe("skew"),S=Xe("space"),U=Xe("translate"),C=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",Re,e],_=()=>[Re,e],k=()=>["",Bn,sr],x=()=>["auto",zi,Re],j=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",Re],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[zi,Re];return{cacheSize:500,separator:":",theme:{colors:[xo],spacing:[Bn,sr],blur:["none","",cr,Re],brightness:W(),borderColor:[n],borderRadius:["none","","full",cr,Re],borderSpacing:_(),borderWidth:k(),contrast:W(),grayscale:P(),hueRotate:W(),invert:P(),gap:_(),gradientColorStops:[n],gradientColorStopPositions:[m4,sr],inset:L(),margin:L(),opacity:W(),padding:_(),saturate:W(),scale:W(),sepia:P(),skew:W(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",Re]}],container:["container"],columns:[{columns:[cr]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"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:[...j(),Re]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",vo,Re]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Re]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",vo,Re]}],"grid-cols":[{"grid-cols":[xo]}],"col-start-end":[{col:["auto",{span:["full",vo,Re]},Re]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[xo]}],"row-start-end":[{row:["auto",{span:[vo,Re]},Re]}],"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",Re]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Re]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"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:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"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",Re,e]}],"min-w":[{"min-w":[Re,e,"min","max","fit"]}],"max-w":[{"max-w":[Re,e,"none","full","min","max","fit","prose",{screen:[cr]},cr]}],h:[{h:[Re,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Re,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Re,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Re,e,"auto","min","max","fit"]}],"font-size":[{text:["base",cr,sr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",su]}],"font-family":[{font:[xo]}],"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",Re]}],"line-clamp":[{"line-clamp":["none",zi,su]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Bn,Re]}],"list-image":[{"list-image":["none",Re]}],"list-style-type":[{list:["none","disc","decimal",Re]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Bn,sr]}],"underline-offset":[{"underline-offset":["auto",Bn,Re]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Re]}],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",Re]}],"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:[...j(),v4]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",b4]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},D4]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"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:[...F(),"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:F()}],"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:["",...F()]}],"outline-offset":[{"outline-offset":[Bn,Re]}],"outline-w":[{outline:[Bn,sr]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Bn,sr]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",cr,w4]}],"shadow-color":[{shadow:[xo]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",cr,Re]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"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":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"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",Re]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",Re]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",Re]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[vo,Re]}],"translate-x":[{"translate-x":[U]}],"translate-y":[{"translate-y":[U]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Re]}],accent:[{accent:["auto",n]}],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",Re]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"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",Re]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Bn,sr,su]}],stroke:[{stroke:[n,"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"]}}},S4=c4(C4);function A4({updateComputed:n,notifyEffect:e}){let t,r;return{link(l,u){const f=u.depsTail;if(f!==void 0&&f.dep===l)return;const d=f!==void 0?f.nextDep:u.deps;if(d!==void 0&&d.dep===l){u.depsTail=d;return}const h=l.subsTail;if(!(h!==void 0&&h.sub===u&&s(h,u)))return i(l,u,d,f)},propagate(l){let u=32,f=l,d=0;e:do{const h=l.sub,p=h.flags;if(!(p&244)&&(h.flags=p|u|8,!0)||p&16&&!(p&4)&&(h.flags=p&-17|u|8,!0)||!(p&224)&&s(l,h)&&(h.flags=p|16|u|8,h.subs!==void 0)){const m=h.subs;if(m!==void 0){m.nextSub!==void 0?(m.prevSub=f,l=f=m,u=64,++d):(l=m,u=p&2?128:64);continue}p&2&&(r!==void 0?r.depsTail.nextDep=h.deps:t=h,r=h)}else p&(4|u)?!(p&u)&&p&224&&s(l,h)&&(h.flags=p|u):(h.flags=p|u|8,(p&10)===2&&(r!==void 0?r.depsTail.nextDep=h.deps:t=h,r=h));if((l=f.nextSub)!==void 0){f=l,u=d?64:32;continue}for(;d;){--d;const g=f.dep.subs;if(f=g.prevSub,g.prevSub=void 0,(l=f.nextSub)!==void 0){f=l,u=d?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 f=u.nextDep;f!==void 0&&(c(f),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)))&&n(l)){const f=l.subs;f!==void 0&&a(f)}},processPendingInnerEffects(l,u){if(u&128){l.flags=u&-129;let f=l.deps;do{const d=f.dep;"flags"in d&&d.flags&2&&d.flags&224&&e(d),f=f.nextDep}while(f!==void 0)}},processEffectNotifications(){for(;t!==void 0;){const l=t,u=l.depsTail,f=u.nextDep;f!==void 0?(u.nextDep=void 0,t=f.sub):(t=void 0,r=void 0),e(l)||(l.flags&=-9)}}};function i(l,u,f,d){const h={dep:l,sub:u,nextDep:f,prevSub:void 0,nextSub:void 0};if(d===void 0?u.deps=h:d.nextDep=h,l.subs===void 0)l.subs=h;else{const p=l.subsTail;h.prevSub=p,p.nextSub=h}return u.depsTail=h,l.subsTail=h,h}function o(l){let u=0,f;e:do{f=!1;const d=l.dep;if("flags"in d){const h=d.flags;if((h&33)===33){if(n(d)){const p=d.subs;p.nextSub!==void 0&&a(p),f=!0}}else if((h&65)===65){const p=d.subs;p.nextSub!==void 0&&(p.prevSub=l),l=d.deps,++u;continue}}if(!f&&l.nextDep!==void 0){l=l.nextDep;continue}if(u){let h=l.sub;do{--u;const p=h.subs;if(f){if(n(h)){(l=p.prevSub)!==void 0?(p.prevSub=void 0,a(h.subs),h=l.sub):h=p.sub;continue}}else h.flags&=-65;if((l=p.prevSub)!==void 0){if(p.prevSub=void 0,l.nextDep!==void 0){l=l.nextDep;continue e}h=l.sub}else{if((l=p.nextDep)!==void 0)continue e;h=p.sub}f=!1}while(u)}return f}while(!0)}function a(l){do{const u=l.sub,f=u.flags;(f&96)===64&&(u.flags=f|32|8,(f&10)===2&&(r!==void 0?r.depsTail.nextDep=u.deps:t=u,r=u)),l=l.nextSub}while(l!==void 0)}function s(l,u){const f=u.depsTail;if(f!==void 0){let d=u.deps;do{if(d===l)return!0;if(d===f)break;d=d.nextDep}while(d!==void 0)}return!1}function c(l){do{const u=l.dep,f=l.nextDep,d=l.nextSub,h=l.prevSub;if(d!==void 0?d.prevSub=h:u.subsTail=h,h!==void 0?h.nextSub=d:u.subs=d,u.subs===void 0&&"deps"in u){const p=u.flags;p&32||(u.flags=p|32);const m=u.deps;if(m!==void 0){l=m,u.depsTail.nextDep=f,u.deps=void 0,u.depsTail=void 0;continue}}l=f}while(l!==void 0)}}var{link:Cw,propagate:U4,updateDirtyFlag:k4,startTracking:lg,endTracking:ug,processEffectNotifications:F4,processComputedUpdate:qM,processPendingInnerEffects:Sw}=A4({updateComputed(n){const e=En;En=n,lg(n);try{const t=n.currentValue,r=n.getter(t);return t!==r?(n.currentValue=r,!0):!1}finally{En=e,ug(n)}},notifyEffect(n){return"isScope"in n?N4(n):R4(n)}}),En;function O4(n){return I4.bind({currentValue:n,subs:void 0,subsTail:void 0})}function Aw(n){const e={fn:n,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:2};return En!==void 0&&Cw(e,En),Uw(e),B4.bind(e)}function Uw(n){const e=En;En=n,lg(n);try{n.fn()}finally{En=e,ug(n)}}function R4(n){const e=n.flags;return e&32||e&64&&k4(n,e)?Uw(n):Sw(n,n.flags),!0}function N4(n){return n.flags&128?(Sw(n,n.flags),!0):!1}function I4(...n){if(n.length){if(this.currentValue!==(this.currentValue=n[0])){const e=this.subs;e!==void 0&&(U4(e),F4())}}else return En!==void 0&&Cw(this,En),this.currentValue}function B4(){lg(this),ug(this)}function M4(n){return O4(n)}function W4(n){return[Pe.useSyncExternalStore(e=>{let t=Aw(()=>{n(),e()});return()=>t()},()=>n(),()=>n()),e=>{n(typeof e=="function"?e(n()):e)}]}function L4(n){return Pe.useSyncExternalStore(e=>{let t=Aw(()=>{n(),e()});return()=>t()},()=>n(),()=>n())}const f1=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,d1=Tn,P4=(n,e)=>t=>{var r;if((e==null?void 0:e.variants)==null)return d1(n,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:i,defaultVariants:o}=e,a=Object.keys(i).map(l=>{const u=t==null?void 0:t[l],f=o==null?void 0:o[l];if(u===null)return null;const d=f1(u)||f1(f);return i[l][d]}),s=t&&Object.entries(t).reduce((l,u)=>{let[f,d]=u;return d===void 0||(l[f]=d),l},{}),c=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((l,u)=>{let{class:f,className:d,...h}=u;return Object.entries(h).every(p=>{let[m,g]=p;return Array.isArray(g)?g.includes({...o,...s}[m]):{...o,...s}[m]===g})?[...l,f,d]:l},[]);return d1(n,a,c,t==null?void 0:t.class,t==null?void 0:t.className)},q4="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",j4="ελ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",Zi=(n,e)=>{for(const t in e)n[t]=e[t];return n},Qh="numeric",ep="ascii",tp="alpha",jo="asciinumeric",Mo="alphanumeric",np="domain",kw="emoji",z4="scheme",$4="slashscheme",cu="whitespace";function V4(n,e){return n in e||(e[n]=[]),e[n]}function Qr(n,e,t){e[Qh]&&(e[jo]=!0,e[Mo]=!0),e[ep]&&(e[jo]=!0,e[tp]=!0),e[jo]&&(e[Mo]=!0),e[tp]&&(e[Mo]=!0),e[Mo]&&(e[np]=!0),e[kw]&&(e[np]=!0);for(const r in e){const i=V4(r,t);i.indexOf(n)<0&&i.push(n)}}function H4(n,e){const t={};for(const r in e)e[r].indexOf(n)>=0&&(t[r]=!0);return t}function It(n=null){this.j={},this.jr=[],this.jd=null,this.t=n}It.groups={};It.prototype={accepts(){return!!this.t},go(n){const e=this,t=e.j[n];if(t)return t;for(let r=0;r<e.jr.length;r++){const i=e.jr[r][0],o=e.jr[r][1];if(o&&i.test(n))return o}return e.jd},has(n,e=!1){return e?n in this.j:!!this.go(n)},ta(n,e,t,r){for(let i=0;i<n.length;i++)this.tt(n[i],e,t,r)},tr(n,e,t,r){r=r||It.groups;let i;return e&&e.j?i=e:(i=new It(e),t&&r&&Qr(e,t,r)),this.jr.push([n,i]),i},ts(n,e,t,r){let i=this;const o=n.length;if(!o)return i;for(let a=0;a<o-1;a++)i=i.tt(n[a]);return i.tt(n[o-1],e,t,r)},tt(n,e,t,r){r=r||It.groups;const i=this;if(e&&e.j)return i.j[n]=e,e;const o=e;let a,s=i.go(n);if(s?(a=new It,Zi(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=Zi(H4(a.t,r),t);Qr(o,c,r)}else t&&Qr(o,t,r);a.t=o}return i.j[n]=a,a}};const Ne=(n,e,t,r,i)=>n.ta(e,t,r,i),et=(n,e,t,r,i)=>n.tr(e,t,r,i),h1=(n,e,t,r,i)=>n.ts(e,t,r,i),De=(n,e,t,r,i)=>n.tt(e,t,r,i),jn="WORD",rp="UWORD",Fw="ASCIINUMERICAL",Ow="ALPHANUMERICAL",sa="LOCALHOST",ip="TLD",op="UTLD",Ds="SCHEME",Ii="SLASH_SCHEME",fg="NUM",ap="WS",dg="NL",zo="OPENBRACE",$o="CLOSEBRACE",lc="OPENBRACKET",uc="CLOSEBRACKET",fc="OPENPAREN",dc="CLOSEPAREN",hc="OPENANGLEBRACKET",pc="CLOSEANGLEBRACKET",gc="FULLWIDTHLEFTPAREN",mc="FULLWIDTHRIGHTPAREN",yc="LEFTCORNERBRACKET",bc="RIGHTCORNERBRACKET",vc="LEFTWHITECORNERBRACKET",xc="RIGHTWHITECORNERBRACKET",Dc="FULLWIDTHLESSTHAN",wc="FULLWIDTHGREATERTHAN",_c="AMPERSAND",hg="APOSTROPHE",Tc="ASTERISK",mr="AT",Ec="BACKSLASH",Cc="BACKTICK",Sc="CARET",vr="COLON",pg="COMMA",Ac="DOLLAR",xn="DOT",Uc="EQUALS",gg="EXCLAMATION",en="HYPHEN",Vo="PERCENT",kc="PIPE",Fc="PLUS",Oc="POUND",Ho="QUERY",mg="QUOTE",Rw="FULLWIDTHMIDDLEDOT",yg="SEMI",Dn="SLASH",Xo="TILDE",Rc="UNDERSCORE",Nw="EMOJI",Nc="SYM";var Iw=Object.freeze({__proto__:null,WORD:jn,UWORD:rp,ASCIINUMERICAL:Fw,ALPHANUMERICAL:Ow,LOCALHOST:sa,TLD:ip,UTLD:op,SCHEME:Ds,SLASH_SCHEME:Ii,NUM:fg,WS:ap,NL:dg,OPENBRACE:zo,CLOSEBRACE:$o,OPENBRACKET:lc,CLOSEBRACKET:uc,OPENPAREN:fc,CLOSEPAREN:dc,OPENANGLEBRACKET:hc,CLOSEANGLEBRACKET:pc,FULLWIDTHLEFTPAREN:gc,FULLWIDTHRIGHTPAREN:mc,LEFTCORNERBRACKET:yc,RIGHTCORNERBRACKET:bc,LEFTWHITECORNERBRACKET:vc,RIGHTWHITECORNERBRACKET:xc,FULLWIDTHLESSTHAN:Dc,FULLWIDTHGREATERTHAN:wc,AMPERSAND:_c,APOSTROPHE:hg,ASTERISK:Tc,AT:mr,BACKSLASH:Ec,BACKTICK:Cc,CARET:Sc,COLON:vr,COMMA:pg,DOLLAR:Ac,DOT:xn,EQUALS:Uc,EXCLAMATION:gg,HYPHEN:en,PERCENT:Vo,PIPE:kc,PLUS:Fc,POUND:Oc,QUERY:Ho,QUOTE:mg,FULLWIDTHMIDDLEDOT:Rw,SEMI:yg,SLASH:Dn,TILDE:Xo,UNDERSCORE:Rc,EMOJI:Nw,SYM:Nc});const Mn=/[a-z]/,Do=new RegExp("\\p{L}","u"),lu=new RegExp("\\p{Emoji}","u"),Wn=/\d/,uu=/\s/,p1="\r",fu=`
|
|
11
|
+
`,X4="️",G4="",du="";let La=null,Pa=null;function K4(n=[]){const e={};It.groups=e;const t=new It;La==null&&(La=g1(q4)),Pa==null&&(Pa=g1(j4)),De(t,"'",hg),De(t,"{",zo),De(t,"}",$o),De(t,"[",lc),De(t,"]",uc),De(t,"(",fc),De(t,")",dc),De(t,"<",hc),De(t,">",pc),De(t,"(",gc),De(t,")",mc),De(t,"「",yc),De(t,"」",bc),De(t,"『",vc),De(t,"』",xc),De(t,"<",Dc),De(t,">",wc),De(t,"&",_c),De(t,"*",Tc),De(t,"@",mr),De(t,"`",Cc),De(t,"^",Sc),De(t,":",vr),De(t,",",pg),De(t,"$",Ac),De(t,".",xn),De(t,"=",Uc),De(t,"!",gg),De(t,"-",en),De(t,"%",Vo),De(t,"|",kc),De(t,"+",Fc),De(t,"#",Oc),De(t,"?",Ho),De(t,'"',mg),De(t,"/",Dn),De(t,";",yg),De(t,"~",Xo),De(t,"_",Rc),De(t,"\\",Ec),De(t,"・",Rw);const r=et(t,Wn,fg,{[Qh]:!0});et(r,Wn,r);const i=et(r,Mn,Fw,{[jo]:!0}),o=et(r,Do,Ow,{[Mo]:!0}),a=et(t,Mn,jn,{[ep]:!0});et(a,Wn,i),et(a,Mn,a),et(i,Wn,i),et(i,Mn,i);const s=et(t,Do,rp,{[tp]:!0});et(s,Mn),et(s,Wn,o),et(s,Do,s),et(o,Wn,o),et(o,Mn),et(o,Do,o);const c=De(t,fu,dg,{[cu]:!0}),l=De(t,p1,ap,{[cu]:!0}),u=et(t,uu,ap,{[cu]:!0});De(t,du,u),De(l,fu,c),De(l,du,u),et(l,uu,u),De(u,p1),De(u,fu),et(u,uu,u),De(u,du,u);const f=et(t,lu,Nw,{[kw]:!0});De(f,"#"),et(f,lu,f),De(f,X4,f);const d=De(f,G4);De(d,"#"),et(d,lu,f);const h=[[Mn,a],[Wn,i]],p=[[Mn,null],[Do,s],[Wn,o]];for(let m=0;m<La.length;m++)lr(t,La[m],ip,jn,h);for(let m=0;m<Pa.length;m++)lr(t,Pa[m],op,rp,p);Qr(ip,{tld:!0,ascii:!0},e),Qr(op,{utld:!0,alpha:!0},e),lr(t,"file",Ds,jn,h),lr(t,"mailto",Ds,jn,h),lr(t,"http",Ii,jn,h),lr(t,"https",Ii,jn,h),lr(t,"ftp",Ii,jn,h),lr(t,"ftps",Ii,jn,h),Qr(Ds,{scheme:!0,ascii:!0},e),Qr(Ii,{slashscheme:!0,ascii:!0},e),n=n.sort((m,g)=>m[0]>g[0]?1:-1);for(let m=0;m<n.length;m++){const g=n[m][0],b=n[m][1]?{[z4]:!0}:{[$4]:!0};g.indexOf("-")>=0?b[np]=!0:Mn.test(g)?Wn.test(g)?b[jo]=!0:b[ep]=!0:b[Qh]=!0,h1(t,g,g,b)}return h1(t,"localhost",sa,{ascii:!0}),t.jd=new It(Nc),{start:t,tokens:Zi({groups:e},Iw)}}function Bw(n,e){const t=J4(e.replace(/[A-Z]/g,s=>s.toLowerCase())),r=t.length,i=[];let o=0,a=0;for(;a<r;){let s=n,c=null,l=0,u=null,f=-1,d=-1;for(;a<r&&(c=s.go(t[a]));)s=c,s.accepts()?(f=0,d=0,u=s):f>=0&&(f+=t[a].length,d++),l+=t[a].length,o+=t[a].length,a++;o-=f,a-=d,l-=f,i.push({t:u.t,v:e.slice(o-l,o),s:o-l,e:o})}return i}function J4(n){const e=[],t=n.length;let r=0;for(;r<t;){let i=n.charCodeAt(r),o,a=i<55296||i>56319||r+1===t||(o=n.charCodeAt(r+1))<56320||o>57343?n[r]:n.slice(r,r+2);e.push(a),r+=a.length}return e}function lr(n,e,t,r,i){let o;const a=e.length;for(let s=0;s<a-1;s++){const c=e[s];n.j[c]?o=n.j[c]:(o=new It(r),o.jr=i.slice(),n.j[c]=o),n=o}return o=new It(t),o.jr=i.slice(),n.j[e[a-1]]=o,o}function g1(n){const e=[],t=[];let r=0,i="0123456789";for(;r<n.length;){let o=0;for(;i.indexOf(n[r+o])>=0;)o++;if(o>0){e.push(t.join(""));for(let a=parseInt(n.substring(r,r+o),10);a>0;a--)t.pop();r+=o}else t.push(n[r]),r++}return e}const ca={defaultProtocol:"http",events:null,format:m1,formatHref:m1,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function bg(n,e=null){let t=Zi({},ca);n&&(t=Zi(t,n instanceof bg?n.o:n));const r=t.ignoreTags,i=[];for(let o=0;o<r.length;o++)i.push(r[o].toUpperCase());this.o=t,e&&(this.defaultRender=e),this.ignoreTags=i}bg.prototype={o:ca,ignoreTags:[],defaultRender(n){return n},check(n){return this.get("validate",n.toString(),n)},get(n,e,t){const r=e!=null;let i=this.o[n];return i&&(typeof i=="object"?(i=t.t in i?i[t.t]:ca[n],typeof i=="function"&&r&&(i=i(e,t))):typeof i=="function"&&r&&(i=i(e,t.t,t)),i)},getObj(n,e,t){let r=this.o[n];return typeof r=="function"&&e!=null&&(r=r(e,t.t,t)),r},render(n){const e=n.render(this);return(this.get("render",null,n)||this.defaultRender)(e,n.t,n)}};function m1(n){return n}function Mw(n,e){this.t="token",this.v=n,this.tk=e}Mw.prototype={isLink:!1,toString(){return this.v},toHref(n){return this.toString()},toFormattedString(n){const e=this.toString(),t=n.get("truncate",e,this),r=n.get("format",e,this);return t&&r.length>t?r.substring(0,t)+"…":r},toFormattedHref(n){return n.get("formatHref",this.toHref(n.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(n=ca.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(n),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(n){return{type:this.t,value:this.toFormattedString(n),isLink:this.isLink,href:this.toFormattedHref(n),start:this.startIndex(),end:this.endIndex()}},validate(n){return n.get("validate",this.toString(),this)},render(n){const e=this,t=this.toHref(n.get("defaultProtocol")),r=n.get("formatHref",t,this),i=n.get("tagName",t,e),o=this.toFormattedString(n),a={},s=n.get("className",t,e),c=n.get("target",t,e),l=n.get("rel",t,e),u=n.getObj("attributes",t,e),f=n.getObj("events",t,e);return a.href=r,s&&(a.class=s),c&&(a.target=c),l&&(a.rel=l),u&&Zi(a,u),{tagName:i,attributes:a,content:o,eventListeners:f}}};function il(n,e){class t extends Mw{constructor(i,o){super(i,o),this.t=n}}for(const r in e)t.prototype[r]=e[r];return t.t=n,t}const y1=il("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),b1=il("text"),Z4=il("nl"),qa=il("url",{isLink:!0,toHref(n=ca.defaultProtocol){return this.hasProtocol()?this.v:`${n}://${this.v}`},hasProtocol(){const n=this.tk;return n.length>=2&&n[0].t!==sa&&n[1].t===vr}}),Zt=n=>new It(n);function Y4({groups:n}){const e=n.domain.concat([_c,Tc,mr,Ec,Cc,Sc,Ac,Uc,en,fg,Vo,kc,Fc,Oc,Dn,Nc,Xo,Rc]),t=[vr,pg,xn,gg,Vo,Ho,mg,yg,hc,pc,zo,$o,uc,lc,fc,dc,gc,mc,yc,bc,vc,xc,Dc,wc],r=[_c,hg,Tc,Ec,Cc,Sc,Ac,Uc,en,zo,$o,Vo,kc,Fc,Oc,Ho,Dn,Nc,Xo,Rc],i=Zt(),o=De(i,Xo);Ne(o,r,o),Ne(o,n.domain,o);const a=Zt(),s=Zt(),c=Zt();Ne(i,n.domain,a),Ne(i,n.scheme,s),Ne(i,n.slashscheme,c),Ne(a,r,o),Ne(a,n.domain,a);const l=De(a,mr);De(o,mr,l),De(s,mr,l),De(c,mr,l);const u=De(o,xn);Ne(u,r,o),Ne(u,n.domain,o);const f=Zt();Ne(l,n.domain,f),Ne(f,n.domain,f);const d=De(f,xn);Ne(d,n.domain,f);const h=Zt(y1);Ne(d,n.tld,h),Ne(d,n.utld,h),De(l,sa,h);const p=De(f,en);De(p,en,p),Ne(p,n.domain,f),Ne(h,n.domain,f),De(h,xn,d),De(h,en,p);const m=De(h,vr);Ne(m,n.numeric,y1);const g=De(a,en),y=De(a,xn);De(g,en,g),Ne(g,n.domain,a),Ne(y,r,o),Ne(y,n.domain,a);const b=Zt(qa);Ne(y,n.tld,b),Ne(y,n.utld,b),Ne(b,n.domain,a),Ne(b,r,o),De(b,xn,y),De(b,en,g),De(b,mr,l);const v=De(b,vr),T=Zt(qa);Ne(v,n.numeric,T);const w=Zt(qa),E=Zt();Ne(w,e,w),Ne(w,t,E),Ne(E,e,w),Ne(E,t,E),De(b,Dn,w),De(T,Dn,w);const S=De(s,vr),U=De(c,vr),C=De(U,Dn),R=De(C,Dn);Ne(s,n.domain,a),De(s,xn,y),De(s,en,g),Ne(c,n.domain,a),De(c,xn,y),De(c,en,g),Ne(S,n.domain,w),De(S,Dn,w),De(S,Ho,w),Ne(R,n.domain,w),Ne(R,e,w),De(R,Dn,w);const L=[[zo,$o],[lc,uc],[fc,dc],[hc,pc],[gc,mc],[yc,bc],[vc,xc],[Dc,wc]];for(let _=0;_<L.length;_++){const[k,x]=L[_],j=De(w,k);De(E,k,j),De(j,x,w);const F=Zt(qa);Ne(j,e,F);const B=Zt();Ne(j,t),Ne(F,e,F),Ne(F,t,B),Ne(B,e,F),Ne(B,t,B),De(F,x,w),De(B,x,w)}return De(i,sa,b),De(i,dg,Z4),{start:i,tokens:Iw}}function Q4(n,e,t){let r=t.length,i=0,o=[],a=[];for(;i<r;){let s=n,c=null,l=null,u=0,f=null,d=-1;for(;i<r&&!(c=s.go(t[i].t));)a.push(t[i++]);for(;i<r&&(l=c||s.go(t[i].t));)c=null,s=l,s.accepts()?(d=0,f=s):d>=0&&d++,i++,u++;if(d<0)i-=u,i<r&&(a.push(t[i]),i++);else{a.length>0&&(o.push(hu(b1,e,a)),a=[]),i-=d,u-=d;const h=f.t,p=t.slice(i-u,i);o.push(hu(h,e,p))}}return a.length>0&&o.push(hu(b1,e,a)),o}function hu(n,e,t){const r=t[0].s,i=t[t.length-1].e,o=e.slice(r,i);return new n(o,t)}const eF=typeof console<"u"&&console&&console.warn||(()=>{}),tF="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ke={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function nF(){return It.groups={},Ke.scanner=null,Ke.parser=null,Ke.tokenQueue=[],Ke.pluginQueue=[],Ke.customSchemes=[],Ke.initialized=!1,Ke}function rF(n,e=!1){if(Ke.initialized&&eF(`linkifyjs: already initialized - will not register custom scheme "${n}" ${tF}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(n))throw new Error(`linkifyjs: incorrect scheme format.
|
|
12
|
+
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
13
|
+
2. Cannot start or end with "-"
|
|
14
|
+
3. "-" cannot repeat`);Ke.customSchemes.push([n,e])}function iF(){Ke.scanner=K4(Ke.customSchemes);for(let n=0;n<Ke.tokenQueue.length;n++)Ke.tokenQueue[n][1]({scanner:Ke.scanner});Ke.parser=Y4(Ke.scanner.tokens);for(let n=0;n<Ke.pluginQueue.length;n++)Ke.pluginQueue[n][1]({scanner:Ke.scanner,parser:Ke.parser});return Ke.initialized=!0,Ke}function vg(n){return Ke.initialized||iF(),Q4(Ke.parser.start,n,Bw(Ke.scanner.start,n))}vg.scan=Bw;function oF(n,e=null,t=null){if(e&&typeof e=="object"){if(t)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);t=e,e=null}const r=new bg(t),i=vg(n),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,ft=function(){};ft.prototype.append=function(e){return e.length?(e=ft.from(e),!this.length&&e||e.length<Ic&&this.leafAppend(e)||this.length<Ic&&e.leafPrepend(this)||this.appendInner(e)):this};ft.prototype.prepend=function(e){return e.length?ft.from(e).append(this):this};ft.prototype.appendInner=function(e){return new aF(this,e)};ft.prototype.slice=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=this.length),e>=t?ft.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))};ft.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};ft.prototype.forEach=function(e,t,r){t===void 0&&(t=0),r===void 0&&(r=this.length),t<=r?this.forEachInner(e,t,r,0):this.forEachInvertedInner(e,t,r,0)};ft.prototype.map=function(e,t,r){t===void 0&&(t=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(o,a){return i.push(e(o,a))},t,r),i};ft.from=function(e){return e instanceof ft?e:e&&e.length?new Ww(e):ft.empty};var Ww=function(n){function e(r){n.call(this),this.values=r}n&&(e.__proto__=n),e.prototype=Object.create(n&&n.prototype),e.prototype.constructor=e;var t={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))},t.length.get=function(){return this.values.length},t.depth.get=function(){return 0},Object.defineProperties(e.prototype,t),e}(ft);ft.empty=new Ww([]);var aF=function(n){function e(t,r){n.call(this),this.left=t,this.right=r,this.length=t.length+r.length,this.depth=Math.max(t.depth,r.depth)+1}return n&&(e.__proto__=n),e.prototype=Object.create(n&&n.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}(ft);const sF=500;class hn{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){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;t&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=e.tr,s,c,l=[],u=[];return this.items.forEach((f,d)=>{if(!f.step){i||(i=this.remapping(r,d+1),o=i.maps.length),o--,u.push(f);return}if(i){u.push(new ur(f.map));let h=f.step.map(i.slice(o)),p;h&&a.maybeStep(h).doc&&(p=a.mapping.maps[a.mapping.maps.length-1],l.push(new ur(p,void 0,void 0,l.length+u.length))),o--,p&&i.appendMap(p,o)}else a.maybeStep(f.step);if(f.selection)return s=i?f.selection.map(i.slice(o)):f.selection,c=new hn(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,t,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 f=e.steps[u].invert(e.docs[u]),d=new ur(e.mapping.maps[u],f,t),h;(h=c&&c.merge(d))&&(d=h,u?o.pop():s=s.slice(0,s.length-1)),o.push(d),t&&(a++,t=void 0),i||(c=d)}let l=a-r.depth;return l>lF&&(s=cF(s,l),a-=l),new hn(s.append(o),a)}remapping(e,t){let r=new Wi;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,t),r}addMaps(e){return this.eventCount==0?this:new hn(this.items.append(e.map(t=>new ur(t))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-t),o=e.mapping,a=e.steps.length,s=this.eventCount;this.items.forEach(d=>{d.selection&&s--},i);let c=t;this.items.forEach(d=>{let h=o.getMirror(--c);if(h==null)return;a=Math.min(a,h);let p=o.maps[h];if(d.step){let m=e.steps[h].invert(e.docs[h]),g=d.selection&&d.selection.map(o.slice(c+1,h));g&&s++,r.push(new ur(p,m,g))}else r.push(new ur(p))},i);let l=[];for(let d=t;d<a;d++)l.push(new ur(o.maps[d]));let u=this.items.slice(0,i).append(l).append(r),f=new hn(u,s);return f.emptyItemCount()>sF&&(f=f.compress(this.items.length-r.length)),f}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),r=t.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(t.slice(r)),l=c&&c.getMap();if(r--,l&&t.appendMap(l,r),c){let u=a.selection&&a.selection.map(t.slice(r));u&&o++;let f=new ur(l.invert(),c,u),d,h=i.length-1;(d=i.length&&i[h].merge(f))?i[h]=d:i.push(f)}}else a.map&&r--},this.items.length,0),new hn(ft.from(i.reverse()),o)}}hn.empty=new hn(ft.empty,0);function cF(n,e){let t;return n.forEach((r,i)=>{if(r.selection&&e--==0)return t=i,!1}),n.slice(t)}let ur=class Lw{constructor(e,t,r,i){this.map=e,this.step=t,this.selection=r,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new Lw(t.getMap().invert(),t,this.selection)}}};class yr{constructor(e,t,r,i,o){this.done=e,this.undone=t,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const lF=20;function uF(n,e,t,r){let i=t.getMeta(ii),o;if(i)return i.historyState;t.getMeta(hF)&&(n=new yr(n.done,n.undone,null,0,-1));let a=t.getMeta("appendedTransaction");if(t.steps.length==0)return n;if(a&&a.getMeta(ii))return a.getMeta(ii).redo?new yr(n.done.addTransform(t,void 0,r,ws(e)),n.undone,v1(t.mapping.maps),n.prevTime,n.prevComposition):new yr(n.done,n.undone.addTransform(t,void 0,r,ws(e)),null,n.prevTime,n.prevComposition);if(t.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=t.getMeta("composition"),c=n.prevTime==0||!a&&n.prevComposition!=s&&(n.prevTime<(t.time||0)-r.newGroupDelay||!fF(t,n.prevRanges)),l=a?pu(n.prevRanges,t.mapping):v1(t.mapping.maps);return new yr(n.done.addTransform(t,c?e.selection.getBookmark():void 0,r,ws(e)),hn.empty,l,t.time,s??n.prevComposition)}else return(o=t.getMeta("rebased"))?new yr(n.done.rebased(t,o),n.undone.rebased(t,o),pu(n.prevRanges,t.mapping),n.prevTime,n.prevComposition):new yr(n.done.addMaps(t.mapping.maps),n.undone.addMaps(t.mapping.maps),pu(n.prevRanges,t.mapping),n.prevTime,n.prevComposition)}function fF(n,e){if(!e)return!1;if(!n.docChanged)return!0;let t=!1;return n.mapping.maps[0].forEach((r,i)=>{for(let o=0;o<e.length;o+=2)r<=e[o+1]&&i>=e[o]&&(t=!0)}),t}function v1(n){let e=[];for(let t=n.length-1;t>=0&&e.length==0;t--)n[t].forEach((r,i,o,a)=>e.push(o,a));return e}function pu(n,e){if(!n)return null;let t=[];for(let r=0;r<n.length;r+=2){let i=e.map(n[r],1),o=e.map(n[r+1],-1);i<=o&&t.push(i,o)}return t}function dF(n,e,t){let r=ws(e),i=ii.get(e).spec.config,o=(t?n.undone:n.done).popEvent(e,r);if(!o)return null;let a=o.selection.resolve(o.transform.doc),s=(t?n.done:n.undone).addTransform(o.transform,e.selection.getBookmark(),i,r),c=new yr(t?s:o.remaining,t?o.remaining:s,null,0,-1);return o.transform.setSelection(a).setMeta(ii,{redo:t,historyState:c})}let gu=!1,x1=null;function ws(n){let e=n.plugins;if(x1!=e){gu=!1,x1=e;for(let t=0;t<e.length;t++)if(e[t].spec.historyPreserveItems){gu=!0;break}}return gu}const ii=new tr("history"),hF=new tr("closeHistory");function pF(n={}){return n={depth:n.depth||100,newGroupDelay:n.newGroupDelay||500},new pi({key:ii,state:{init(){return new yr(hn.empty,hn.empty,null,0,-1)},apply(e,t,r){return uF(t,r,e,n)}},config:n,props:{handleDOMEvents:{beforeinput(e,t){let r=t.inputType,i=r=="historyUndo"?qw:r=="historyRedo"?jw:null;return i?(t.preventDefault(),i(e.state,e.dispatch)):!1}}}})}function Pw(n,e){return(t,r)=>{let i=ii.getState(t);if(!i||(n?i.undone:i.done).eventCount==0)return!1;if(r){let o=dF(i,t,n);o&&r(e?o.scrollIntoView():o)}return!0}}const qw=Pw(!1,!0),jw=Pw(!0,!0);function gF(n={}){return new pi({view(e){return new mF(e,n)}})}class mF{constructor(e,t){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=t.width)!==null&&r!==void 0?r:1,this.color=t.color===!1?void 0:t.color||"black",this.class=t.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:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){this.cursorPos!=null&&t.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),t=!e.parent.inlineContent,r;if(t){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(),f=s?u.bottom:u.top;s&&c&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:u.left,right:u.right,top:f-this.width/2,bottom:f+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",t),this.element.classList.toggle("prosemirror-dropcursor-inline",!t);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 t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),i=r&&r.type.spec.disableDropCursor,o=typeof i=="function"?i(this.editorView,t,e):i;if(t&&!o){let a=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=zx(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 Fe{constructor(e){super(e,e)}map(e,t){let r=e.resolve(t.map(this.head));return tt.valid(r)?new tt(r):Fe.near(r)}content(){return _e.empty}eq(e){return e instanceof tt&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new tt(e.resolve(t.pos))}getBookmark(){return new xg(this.anchor)}static valid(e){let t=e.parent;if(t.isTextblock||!yF(e)||!bF(e))return!1;let r=t.type.spec.allowGapCursor;if(r!=null)return r;let i=t.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,t,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(t>0?e.indexAfter(a)<s.childCount:e.index(a)>0){o=s.child(t>0?e.indexAfter(a):e.index(a)-1);break}else if(a==0)return null;i+=t;let c=e.doc.resolve(i);if(tt.valid(c))return c}for(;;){let a=t>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!Ae.isSelectable(o)){e=e.doc.resolve(i+o.nodeSize*t),r=!1;continue e}break}o=a,i+=t;let s=e.doc.resolve(i);if(tt.valid(s))return s}return null}}}tt.prototype.visible=!1;tt.findFrom=tt.findGapCursorFrom;Fe.jsonID("gapcursor",tt);class xg{constructor(e){this.pos=e}map(e){return new xg(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return tt.valid(t)?new tt(t):Fe.near(t)}}function yF(n){for(let e=n.depth;e>=0;e--){let t=n.index(e),r=n.node(e);if(t==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(t-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 bF(n){for(let e=n.depth;e>=0;e--){let t=n.indexAfter(e),r=n.node(e);if(t==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(t);;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 vF(){return new pi({props:{decorations:_F,createSelectionBetween(n,e,t){return e.pos==t.pos&&tt.valid(t)?new tt(t):null},handleClick:DF,handleKeyDown:xF,handleDOMEvents:{beforeinput:wF}}})}const xF=Gp({ArrowLeft:ja("horiz",-1),ArrowRight:ja("horiz",1),ArrowUp:ja("vert",-1),ArrowDown:ja("vert",1)});function ja(n,e){const t=n=="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 Ie){if(!o.endOfTextblock(t)||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 DF(n,e,t){if(!n||!n.editable)return!1;let r=n.state.doc.resolve(e);if(!tt.valid(r))return!1;let i=n.posAtCoords({left:t.clientX,top:t.clientY});return i&&i.inside>-1&&Ae.isSelectable(n.state.doc.nodeAt(i.inside))?!1:(n.dispatch(n.state.tr.setSelection(new tt(r))),!0)}function wF(n,e){if(e.inputType!="insertCompositionText"||!(n.state.selection instanceof tt))return!1;let{$from:t}=n.state.selection,r=t.parent.contentMatchAt(t.index()).findWrapping(n.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=n.state.tr.replace(t.pos,t.pos,new _e(i,0,0));return o.setSelection(Ie.near(o.doc.resolve(t.pos+1))),n.dispatch(o),!1}function _F(n){if(!(n.selection instanceof tt))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Qe.create(n.doc,[xt.widget(n.selection.head,e,{key:"gapcursor"})])}var sp,cp;if(typeof WeakMap<"u"){let n=new WeakMap;sp=e=>n.get(e),cp=(e,t)=>(n.set(e,t),t)}else{const n=[];let t=0;sp=r=>{for(let i=0;i<n.length;i+=2)if(n[i]==r)return n[i+1]},cp=(r,i)=>(t==10&&(t=0),n[t++]=r,n[t++]=i)}var nt=class{constructor(n,e,t,r){this.width=n,this.height=e,this.map=t,this.problems=r}findCell(n){for(let e=0;e<this.map.length;e++){const t=this.map[e];if(t!=n)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]==t;s++)o++;for(let s=1;a<this.height&&this.map[e+this.width*s]==t;s++)a++;return{left:r,top:i,right:o,bottom:a}}throw new RangeError(`No cell with offset ${n} found`)}colCount(n){for(let e=0;e<this.map.length;e++)if(this.map[e]==n)return e%this.width;throw new RangeError(`No cell with offset ${n} found`)}nextCell(n,e,t){const{left:r,right:i,top:o,bottom:a}=this.findCell(n);return e=="horiz"?(t<0?r==0:i==this.width)?null:this.map[o*this.width+(t<0?r-1:i)]:(t<0?o==0:a==this.height)?null:this.map[r+this.width*(t<0?o-1:a)]}rectBetween(n,e){const{left:t,right:r,top:i,bottom:o}=this.findCell(n),{left:a,right:s,top:c,bottom:l}=this.findCell(e);return{left:Math.min(t,a),top:Math.min(i,c),right:Math.max(r,s),bottom:Math.max(o,l)}}cellsInRect(n){const e=[],t={};for(let r=n.top;r<n.bottom;r++)for(let i=n.left;i<n.right;i++){const o=r*this.width+i,a=this.map[o];t[a]||(t[a]=!0,!(i==n.left&&i&&this.map[o-1]==a||r==n.top&&r&&this.map[o-this.width]==a)&&e.push(a))}return e}positionAt(n,e,t){for(let r=0,i=0;;r++){const o=i+t.child(r).nodeSize;if(r==n){let a=e+n*this.width;const s=(n+1)*this.width;for(;a<s&&this.map[a]<i;)a++;return a==s?o-1:this.map[a]}i=o}}static get(n){return sp(n)||cp(n,TF(n))}};function TF(n){if(n.type.spec.tableRole!="table")throw new RangeError("Not a table node: "+n.type.name);const e=EF(n),t=n.childCount,r=[];let i=0,o=null;const a=[];for(let l=0,u=e*t;l<u;l++)r[l]=0;for(let l=0,u=0;l<t;l++){const f=n.child(l);u++;for(let p=0;;p++){for(;i<r.length&&r[i]!=0;)i++;if(p==f.childCount)break;const m=f.child(p),{colspan:g,rowspan:y,colwidth:b}=m.attrs;for(let v=0;v<y;v++){if(v+l>=t){(o||(o=[])).push({type:"overlong_rowspan",pos:u,n:y-v});break}const T=i+v*e;for(let w=0;w<g;w++){r[T+w]==0?r[T+w]=u:(o||(o=[])).push({type:"collision",row:l,pos:u,n:g-w});const E=b&&b[w];if(E){const S=(T+w)%e*2,U=a[S];U==null||U!=E&&a[S+1]==1?(a[S]=E,a[S+1]=1):U==E&&a[S+1]++}}}i+=g,u+=m.nodeSize}const d=(l+1)*e;let h=0;for(;i<d;)r[i++]==0&&h++;h&&(o||(o=[])).push({type:"missing",row:l,n:h}),u++}(e===0||t===0)&&(o||(o=[])).push({type:"zero_sized"});const s=new nt(e,t,r,o);let c=!1;for(let l=0;!c&&l<a.length;l+=2)a[l]!=null&&a[l+1]<t&&(c=!0);return c&&CF(s,a,n),s}function EF(n){let e=-1,t=!1;for(let r=0;r<n.childCount;r++){const i=n.child(r);let o=0;if(t)for(let a=0;a<r;a++){const s=n.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&&(t=!0)}e==-1?e=o:e!=o&&(e=Math.max(e,o))}return e}function CF(n,e,t){n.problems||(n.problems=[]);const r={};for(let i=0;i<n.map.length;i++){const o=n.map[i];if(r[o])continue;r[o]=!0;const a=t.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)%n.width,f=e[u*2];f!=null&&(!c.colwidth||c.colwidth[l]!=f)&&((s||(s=SF(c)))[l]=f)}s&&n.problems.unshift({type:"colwidth mismatch",pos:o,colwidth:s})}}function SF(n){if(n.colwidth)return n.colwidth.slice();const e=[];for(let t=0;t<n.colspan;t++)e.push(0);return e}function _t(n){let e=n.cached.tableNodeTypes;if(!e){e=n.cached.tableNodeTypes={};for(const t in n.nodes){const r=n.nodes[t],i=r.spec.tableRole;i&&(e[i]=r)}}return e}var xr=new tr("selectingCells");function co(n){for(let e=n.depth-1;e>0;e--)if(n.node(e).type.spec.tableRole=="row")return n.node(0).resolve(n.before(e+1));return null}function AF(n){for(let e=n.depth;e>0;e--){const t=n.node(e).type.spec.tableRole;if(t==="cell"||t==="header_cell")return n.node(e)}return null}function yn(n){const e=n.selection.$head;for(let t=e.depth;t>0;t--)if(e.node(t).type.spec.tableRole=="row")return!0;return!1}function ol(n){const e=n.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 t=co(e.$head)||UF(e.$head);if(t)return t;throw new RangeError(`No cell found around position ${e.head}`)}function UF(n){for(let e=n.nodeAfter,t=n.pos;e;e=e.firstChild,t++){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return n.doc.resolve(t)}for(let e=n.nodeBefore,t=n.pos;e;e=e.lastChild,t--){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return n.doc.resolve(t-e.nodeSize)}}function lp(n){return n.parent.type.spec.tableRole=="row"&&!!n.nodeAfter}function kF(n){return n.node(0).resolve(n.pos+n.nodeAfter.nodeSize)}function Dg(n,e){return n.depth==e.depth&&n.pos>=e.start(-1)&&n.pos<=e.end(-1)}function zw(n,e,t){const r=n.node(-1),i=nt.get(r),o=n.start(-1),a=i.nextCell(n.pos-o,e,t);return a==null?null:n.node(0).resolve(o+a)}function ui(n,e,t=1){const r={...n,colspan:n.colspan-t};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,t),r.colwidth.some(i=>i>0)||(r.colwidth=null)),r}function $w(n,e,t=1){const r={...n,colspan:n.colspan+t};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let i=0;i<t;i++)r.colwidth.splice(e,0,0)}return r}function FF(n,e,t){const r=_t(e.type.schema).header_cell;for(let i=0;i<n.height;i++)if(e.nodeAt(n.map[t+i*n.width]).type!=r)return!1;return!0}var Ye=class zn extends Fe{constructor(e,t=e){const r=e.node(-1),i=nt.get(r),o=e.start(-1),a=i.rectBetween(e.pos-o,t.pos-o),s=e.node(0),c=i.cellsInRect(a).filter(u=>u!=t.pos-o);c.unshift(t.pos-o);const l=c.map(u=>{const f=r.nodeAt(u);if(!f)throw RangeError(`No cell with offset ${u} found`);const d=o+u+1;return new Mp(s.resolve(d),s.resolve(d+f.content.size))});super(l[0].$from,l[0].$to,l),this.$anchorCell=e,this.$headCell=t}map(e,t){const r=e.resolve(t.map(this.$anchorCell.pos)),i=e.resolve(t.map(this.$headCell.pos));if(lp(r)&&lp(i)&&Dg(r,i)){const o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?zn.rowSelection(r,i):o&&this.isColSelection()?zn.colSelection(r,i):new zn(r,i)}return Ie.between(r,i)}content(){const e=this.$anchorCell.node(-1),t=nt.get(e),r=this.$anchorCell.start(-1),i=t.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*t.width+i.left,f=i.left;f<i.right;f++,u++){const d=t.map[u];if(o[d])continue;o[d]=!0;const h=t.findCell(d);let p=e.nodeAt(d);if(!p)throw RangeError(`No cell with offset ${d} found`);const m=i.left-h.left,g=h.right-i.right;if(m>0||g>0){let y=p.attrs;if(m>0&&(y=ui(y,0,m)),g>0&&(y=ui(y,y.colspan-g,g)),h.left<i.left){if(p=p.type.createAndFill(y),!p)throw RangeError(`Could not create cell with attrs ${JSON.stringify(y)}`)}else p=p.type.create(y,p.content)}if(h.top<i.top||h.bottom>i.bottom){const y={...p.attrs,rowspan:Math.min(h.bottom,i.bottom)-Math.max(h.top,i.top)};h.top<i.top?p=p.type.createAndFill(y):p=p.type.create(y,p.content)}l.push(p)}a.push(e.child(c).copy(pe.from(l)))}const s=this.isColSelection()&&this.isRowSelection()?e:a;return new _e(pe.from(s),1,1)}replace(e,t=_e.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?_e.empty:t)}const o=Fe.findFrom(e.doc.resolve(e.mapping.slice(r).map(this.to)),-1);o&&e.setSelection(o)}replaceWith(e,t){this.replace(e,new _e(pe.from(t),0,0))}forEachCell(e){const t=this.$anchorCell.node(-1),r=nt.get(t),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(t.nodeAt(o[a]),i+o[a])}isColSelection(){const e=this.$anchorCell.index(-1),t=this.$headCell.index(-1);if(Math.min(e,t)>0)return!1;const r=e+this.$anchorCell.nodeAfter.attrs.rowspan,i=t+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,i)==this.$headCell.node(-1).childCount}static colSelection(e,t=e){const r=e.node(-1),i=nt.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(t.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&&(t=c.resolve(o+i.map[i.width*(i.height-1)+s.right-1]))):(s.top>0&&(t=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 zn(e,t)}isRowSelection(){const e=this.$anchorCell.node(-1),t=nt.get(e),r=this.$anchorCell.start(-1),i=t.colCount(this.$anchorCell.pos-r),o=t.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)==t.width}eq(e){return e instanceof zn&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,t=e){const r=e.node(-1),i=nt.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(t.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&&(t=c.resolve(o+i.map[i.width*(s.top+1)-1]))):(s.left>0&&(t=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 zn(e,t)}toJSON(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(e,t){return new zn(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,r=t){return new zn(e.resolve(t),e.resolve(r))}getBookmark(){return new OF(this.$anchorCell.pos,this.$headCell.pos)}};Ye.prototype.visible=!1;Fe.jsonID("cell",Ye);var OF=class Vw{constructor(e,t){this.anchor=e,this.head=t}map(e){return new Vw(e.map(this.anchor),e.map(this.head))}resolve(e){const t=e.resolve(this.anchor),r=e.resolve(this.head);return t.parent.type.spec.tableRole=="row"&&r.parent.type.spec.tableRole=="row"&&t.index()<t.parent.childCount&&r.index()<r.parent.childCount&&Dg(t,r)?new Ye(t,r):Fe.near(r,1)}};function RF(n){if(!(n.selection instanceof Ye))return null;const e=[];return n.selection.forEachCell((t,r)=>{e.push(xt.node(r,r+t.nodeSize,{class:"selectedCell"}))}),Qe.create(n.doc,e)}function NF({$from:n,$to:e}){if(n.pos==e.pos||n.pos<e.pos-6)return!1;let t=n.pos,r=e.pos,i=n.depth;for(;i>=0&&!(n.after(i+1)<n.end(i));i--,t++);for(let o=e.depth;o>=0&&!(e.before(o+1)>e.start(o));o--,r--);return t==r&&/row|table/.test(n.node(i).type.spec.tableRole)}function IF({$from:n,$to:e}){let t,r;for(let i=n.depth;i>0;i--){const o=n.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){t=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 t!==r&&e.parentOffset===0}function BF(n,e,t){const r=(e||n).selection,i=(e||n).doc;let o,a;if(r instanceof Ae&&(a=r.node.type.spec.tableRole)){if(a=="cell"||a=="header_cell")o=Ye.create(i,r.from);else if(a=="row"){const s=i.resolve(r.from+1);o=Ye.rowSelection(s,s)}else if(!t){const s=nt.get(r.node),c=r.from+1,l=c+s.map[s.width*s.height-1];o=Ye.create(i,c+1,l)}}else r instanceof Ie&&NF(r)?o=Ie.create(i,r.from):r instanceof Ie&&IF(r)&&(o=Ie.create(i,r.$from.start(),r.$from.end()));return o&&(e||(e=n.tr)).setSelection(o),e}var MF=new tr("fix-tables");function Hw(n,e,t,r){const i=n.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(n.child(l)==c){s=l+1,t+=c.nodeSize;continue e}r(c,t),s<i&&n.child(s).sameMarkup(c)?Hw(n.child(s),c,t+1,r):c.nodesBetween(0,c.content.size,r,t+1),t+=c.nodeSize}}function Xw(n,e){let t;const r=(i,o)=>{i.type.spec.tableRole=="table"&&(t=WF(n,i,o,t))};return e?e.doc!=n.doc&&Hw(e.doc,n.doc,0,r):n.doc.descendants(r),t}function WF(n,e,t,r){const i=nt.get(e);if(!i.problems)return r;r||(r=n.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 f=u.attrs;for(let d=0;d<f.rowspan;d++)o[l.row+d]+=l.n;r.setNodeMarkup(r.mapping.map(t+1+l.pos),null,ui(f,f.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(t+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(t+1+l.pos),null,{...u.attrs,colwidth:l.colwidth})}else if(l.type=="zero_sized"){const u=r.mapping.map(t);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=t+1;c<i.height;c++){const u=e.child(c),f=l+u.nodeSize,d=o[c];if(d>0){let h="cell";u.firstChild&&(h=u.firstChild.type.spec.tableRole);const p=[];for(let g=0;g<d;g++){const y=_t(n.schema)[h].createAndFill();y&&p.push(y)}const m=(c==0||a==c-1)&&s==c?l+1:f-1;r.insert(r.mapping.map(m),p)}l=f}return r.setMeta(MF,{fixTables:!0})}function Rn(n){const e=n.selection,t=ol(n),r=t.node(-1),i=t.start(-1),o=nt.get(r);return{...e instanceof Ye?o.rectBetween(e.$anchorCell.pos-i,e.$headCell.pos-i):o.findCell(t.pos-i),tableStart:i,map:o,table:r}}function Gw(n,{map:e,tableStart:t,table:r},i){let o=i>0?-1:0;FF(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);n.setNodeMarkup(n.mapping.map(t+c),null,$w(l.attrs,i-e.colCount(c))),a+=l.attrs.rowspan-1}else{const c=o==null?_t(r.type.schema).cell:r.nodeAt(e.map[s+o]).type,l=e.positionAt(a,i,r);n.insert(n.mapping.map(t+l),c.createAndFill())}}return n}function LF(n,e){if(!yn(n))return!1;if(e){const t=Rn(n);e(Gw(n.tr,t,t.left))}return!0}function PF(n,e){if(!yn(n))return!1;if(e){const t=Rn(n);e(Gw(n.tr,t,t.right))}return!0}function qF(n,{map:e,table:t,tableStart:r},i){const o=n.mapping.maps.length;for(let a=0;a<e.height;){const s=a*e.width+i,c=e.map[s],l=t.nodeAt(c),u=l.attrs;if(i>0&&e.map[s-1]==c||i<e.width-1&&e.map[s+1]==c)n.setNodeMarkup(n.mapping.slice(o).map(r+c),null,ui(u,i-e.colCount(c)));else{const f=n.mapping.slice(o).map(r+c);n.delete(f,f+l.nodeSize)}a+=u.rowspan}}function jF(n,e){if(!yn(n))return!1;if(e){const t=Rn(n),r=n.tr;if(t.left==0&&t.right==t.map.width)return!1;for(let i=t.right-1;qF(r,t,i),i!=t.left;i--){const o=t.tableStart?r.doc.nodeAt(t.tableStart-1):r.doc;if(!o)throw RangeError("No table found");t.table=o,t.map=nt.get(o)}e(r)}return!0}function zF(n,e,t){var r;const i=_t(e.type.schema).header_cell;for(let o=0;o<n.width;o++)if(((r=e.nodeAt(n.map[o+t*n.width]))==null?void 0:r.type)!=i)return!1;return!0}function Kw(n,{map:e,tableStart:t,table:r},i){var o;let a=t;for(let l=0;l<i;l++)a+=r.child(l).nodeSize;const s=[];let c=i>0?-1:0;zF(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 f=e.map[u],d=r.nodeAt(f).attrs;n.setNodeMarkup(t+f,null,{...d,rowspan:d.rowspan+1}),l+=d.colspan-1}else{const f=c==null?_t(r.type.schema).cell:(o=r.nodeAt(e.map[u+c*e.width]))==null?void 0:o.type,d=f==null?void 0:f.createAndFill();d&&s.push(d)}return n.insert(a,_t(r.type.schema).row.create(null,s)),n}function $F(n,e){if(!yn(n))return!1;if(e){const t=Rn(n);e(Kw(n.tr,t,t.top))}return!0}function VF(n,e){if(!yn(n))return!1;if(e){const t=Rn(n);e(Kw(n.tr,t,t.bottom))}return!0}function HF(n,{map:e,table:t,tableStart:r},i){let o=0;for(let l=0;l<i;l++)o+=t.child(l).nodeSize;const a=o+t.child(i).nodeSize,s=n.mapping.maps.length;n.delete(o+r,a+r);const c=new Set;for(let l=0,u=i*e.width;l<e.width;l++,u++){const f=e.map[u];if(!c.has(f)){if(c.add(f),i>0&&f==e.map[u-e.width]){const d=t.nodeAt(f).attrs;n.setNodeMarkup(n.mapping.slice(s).map(f+r),null,{...d,rowspan:d.rowspan-1}),l+=d.colspan-1}else if(i<e.height&&f==e.map[u+e.width]){const d=t.nodeAt(f),h=d.attrs,p=d.type.create({...h,rowspan:d.attrs.rowspan-1},d.content),m=e.positionAt(i+1,l,t);n.insert(n.mapping.slice(s).map(r+m),p),l+=h.colspan-1}}}}function XF(n,e){if(!yn(n))return!1;if(e){const t=Rn(n),r=n.tr;if(t.top==0&&t.bottom==t.map.height)return!1;for(let i=t.bottom-1;HF(r,t,i),i!=t.top;i--){const o=t.tableStart?r.doc.nodeAt(t.tableStart-1):r.doc;if(!o)throw RangeError("No table found");t.table=o,t.map=nt.get(t.table)}e(r)}return!0}function D1(n){const e=n.content;return e.childCount==1&&e.child(0).isTextblock&&e.child(0).childCount==0}function GF({width:n,height:e,map:t},r){let i=r.top*n+r.left,o=i,a=(r.bottom-1)*n+r.left,s=i+(r.right-r.left-1);for(let c=r.top;c<r.bottom;c++){if(r.left>0&&t[o]==t[o-1]||r.right<n&&t[s]==t[s+1])return!0;o+=n,s+=n}for(let c=r.left;c<r.right;c++){if(r.top>0&&t[i]==t[i-n]||r.bottom<e&&t[a]==t[a+n])return!0;i++,a++}return!1}function KF(n,e){const t=n.selection;if(!(t instanceof Ye)||t.$anchorCell.pos==t.$headCell.pos)return!1;const r=Rn(n),{map:i}=r;if(GF(i,r))return!1;if(e){const o=n.tr,a={};let s=pe.empty,c,l;for(let u=r.top;u<r.bottom;u++)for(let f=r.left;f<r.right;f++){const d=i.map[u*i.width+f],h=r.table.nodeAt(d);if(!(a[d]||!h))if(a[d]=!0,c==null)c=d,l=h;else{D1(h)||(s=s.append(h.content));const p=o.mapping.map(d+r.tableStart);o.delete(p,p+h.nodeSize)}}if(c==null||l==null)return!0;if(o.setNodeMarkup(c+r.tableStart,null,{...$w(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,f=D1(l)?c+1:u;o.replaceWith(f+r.tableStart,u+r.tableStart,s)}o.setSelection(new Ye(o.doc.resolve(c+r.tableStart))),e(o)}return!0}function JF(n,e){const t=_t(n.schema);return ZF(({node:r})=>t[r.type.spec.tableRole])(n,e)}function ZF(n){return(e,t)=>{var r;const i=e.selection;let o,a;if(i instanceof Ye){if(i.$anchorCell.pos!=i.$headCell.pos)return!1;o=i.$anchorCell.nodeAfter,a=i.$anchorCell.pos}else{if(o=AF(i.$from),!o)return!1;a=(r=co(i.$from))==null?void 0:r.pos}if(o==null||a==null||o.attrs.colspan==1&&o.attrs.rowspan==1)return!1;if(t){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),f=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 d;for(let h=u.top;h<u.bottom;h++){let p=u.map.positionAt(h,u.left,u.table);h==u.top&&(p+=o.nodeSize);for(let m=u.left,g=0;m<u.right;m++,g++)m==u.left&&h==u.top||f.insert(d=f.mapping.map(p+u.tableStart,1),n({node:o,row:h,col:m}).createAndFill(c[g]))}f.setNodeMarkup(a,n({node:o,row:u.top,col:u.left}),c[0]),i instanceof Ye&&f.setSelection(new Ye(f.doc.resolve(i.$anchorCell.pos),d?f.doc.resolve(d):void 0)),t(f)}return!0}}function YF(n,e){return function(t,r){if(!yn(t))return!1;const i=ol(t);if(i.nodeAfter.attrs[n]===e)return!1;if(r){const o=t.tr;t.selection instanceof Ye?t.selection.forEachCell((a,s)=>{a.attrs[n]!==e&&o.setNodeMarkup(s,null,{...a.attrs,[n]:e})}):o.setNodeMarkup(i.pos,null,{...i.nodeAfter.attrs,[n]:e}),r(o)}return!0}}function QF(n){return function(e,t){if(!yn(e))return!1;if(t){const r=_t(e.schema),i=Rn(e),o=e.tr,a=i.map.cellsInRect(n=="column"?{left:i.left,top:0,right:i.right,bottom:i.map.height}:n=="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);t(o)}return!0}}function w1(n,e,t){const r=e.map.cellsInRect({left:0,top:0,right:n=="row"?e.map.width:1,bottom:n=="column"?e.map.height:1});for(let i=0;i<r.length;i++){const o=e.table.nodeAt(r[i]);if(o&&o.type!==t.header_cell)return!1}return!0}function al(n,e){return e=e||{useDeprecatedLogic:!1},e.useDeprecatedLogic?QF(n):function(t,r){if(!yn(t))return!1;if(r){const i=_t(t.schema),o=Rn(t),a=t.tr,s=w1("row",o,i),c=w1("column",o,i),u=(n==="column"?s:n==="row"?c:!1)?1:0,f=n=="column"?{left:0,top:u,right:1,bottom:o.map.height}:n=="row"?{left:u,top:0,right:o.map.width,bottom:1}:o,d=n=="column"?c?i.cell:i.header_cell:n=="row"?s?i.cell:i.header_cell:i.cell;o.map.cellsInRect(f).forEach(h=>{const p=h+o.tableStart,m=a.doc.nodeAt(p);m&&a.setNodeMarkup(p,d,m.attrs)}),r(a)}return!0}}al("row",{useDeprecatedLogic:!0});al("column",{useDeprecatedLogic:!0});var eO=al("cell",{useDeprecatedLogic:!0});function tO(n,e){if(e<0){const t=n.nodeBefore;if(t)return n.pos-t.nodeSize;for(let r=n.index(-1)-1,i=n.before();r>=0;r--){const o=n.node(-1).child(r),a=o.lastChild;if(a)return i-1-a.nodeSize;i-=o.nodeSize}}else{if(n.index()<n.parent.childCount-1)return n.pos+n.nodeAfter.nodeSize;const t=n.node(-1);for(let r=n.indexAfter(-1),i=n.after();r<t.childCount;r++){const o=t.child(r);if(o.childCount)return i+1;i+=o.nodeSize}}return null}function nO(n){return function(e,t){if(!yn(e))return!1;const r=tO(ol(e),n);if(r==null)return!1;if(t){const i=e.doc.resolve(r);t(e.tr.setSelection(Ie.between(i,kF(i))).scrollIntoView())}return!0}}function rO(n,e){const t=n.selection.$anchor;for(let r=t.depth;r>0;r--)if(t.node(r).type.spec.tableRole=="table")return e&&e(n.tr.delete(t.before(r),t.after(r)).scrollIntoView()),!0;return!1}function za(n,e){const t=n.selection;if(!(t instanceof Ye))return!1;if(e){const r=n.tr,i=_t(n.schema).cell.createAndFill().content;t.forEachCell((o,a)=>{o.content.eq(i)||r.replace(r.mapping.map(a+1),r.mapping.map(a+o.nodeSize-1),new _e(i,0,0))}),r.docChanged&&e(r)}return!0}function iO(n){if(!n.size)return null;let{content:e,openStart:t,openEnd:r}=n;for(;e.childCount==1&&(t>0&&r>0||e.child(0).type.spec.tableRole=="table");)t--,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,t-1),f=c<e.childCount-1?0:Math.max(0,r-1);(u||f)&&(l=up(_t(a).row,new _e(l,u,f)).content),s.push(l)}else if(o=="cell"||o=="header_cell")s.push(t||r?up(_t(a).row,new _e(e,t,r)).content:e);else return null;return oO(a,s)}function oO(n,e){const t=[];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++)t[l]=(t[l]||0)+c}}let r=0;for(let i=0;i<t.length;i++)r=Math.max(r,t[i]);for(let i=0;i<t.length;i++)if(i>=e.length&&e.push(pe.empty),t[i]<r){const o=_t(n).cell.createAndFill(),a=[];for(let s=t[i];s<r;s++)a.push(o);e[i]=e[i].append(pe.from(a))}return{height:e.length,width:r,rows:e}}function up(n,e){const t=n.createAndFill();return new Bp(t).replace(0,t.content.size,e).doc}function aO({width:n,height:e,rows:t},r,i){if(n!=r){const o=[],a=[];for(let s=0;s<t.length;s++){const c=t[s],l=[];for(let u=o[s]||0,f=0;u<r;f++){let d=c.child(f%c.childCount);u+d.attrs.colspan>r&&(d=d.type.createChecked(ui(d.attrs,d.attrs.colspan,u+d.attrs.colspan-r),d.content)),l.push(d),u+=d.attrs.colspan;for(let h=1;h<d.attrs.rowspan;h++)o[s+h]=(o[s+h]||0)+d.attrs.colspan}a.push(pe.from(l))}t=a,n=r}if(e!=i){const o=[];for(let a=0,s=0;a<i;a++,s++){const c=[],l=t[s%e];for(let u=0;u<l.childCount;u++){let f=l.child(u);a+f.attrs.rowspan>i&&(f=f.type.create({...f.attrs,rowspan:Math.max(1,i-f.attrs.rowspan)},f.content)),c.push(f)}o.push(pe.from(c))}t=o,e=i}return{width:n,height:e,rows:t}}function sO(n,e,t,r,i,o,a){const s=n.doc.type.schema,c=_t(s);let l,u;if(i>e.width)for(let f=0,d=0;f<e.height;f++){const h=t.child(f);d+=h.nodeSize;const p=[];let m;h.lastChild==null||h.lastChild.type==c.cell?m=l||(l=c.cell.createAndFill()):m=u||(u=c.header_cell.createAndFill());for(let g=e.width;g<i;g++)p.push(m);n.insert(n.mapping.slice(a).map(d-1+r),p)}if(o>e.height){const f=[];for(let p=0,m=(e.height-1)*e.width;p<Math.max(e.width,i);p++){const g=p>=e.width?!1:t.nodeAt(e.map[m+p]).type==c.header_cell;f.push(g?u||(u=c.header_cell.createAndFill()):l||(l=c.cell.createAndFill()))}const d=c.row.create(null,pe.from(f)),h=[];for(let p=e.height;p<o;p++)h.push(d);n.insert(n.mapping.slice(a).map(r+t.nodeSize-2),h)}return!!(l||u)}function _1(n,e,t,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,f=e.map[u];if(e.map[u-e.width]==f){c=!0;const d=t.nodeAt(f),{top:h,left:p}=e.findCell(f);n.setNodeMarkup(n.mapping.slice(s).map(f+r),null,{...d.attrs,rowspan:a-h}),n.insert(n.mapping.slice(s).map(e.positionAt(a,p,t)),d.type.createAndFill({...d.attrs,rowspan:h+d.attrs.rowspan-a})),l+=d.attrs.colspan-1}}return c}function T1(n,e,t,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,f=e.map[u];if(e.map[u-1]==f){c=!0;const d=t.nodeAt(f),h=e.colCount(f),p=n.mapping.slice(s).map(f+r);n.setNodeMarkup(p,null,ui(d.attrs,a-h,d.attrs.colspan-(a-h))),n.insert(p+d.nodeSize,d.type.createAndFill(ui(d.attrs,0,a-h))),l+=d.attrs.rowspan-1}}return c}function E1(n,e,t,r,i){let o=t?n.doc.nodeAt(t-1):n.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,f=n.tr;let d=0;function h(){if(o=t?f.doc.nodeAt(t-1):f.doc,!o)throw new Error("No table found");a=nt.get(o),d=f.mapping.maps.length}sO(f,a,o,t,l,u,d)&&h(),_1(f,a,o,t,c,l,s,d)&&h(),_1(f,a,o,t,c,l,u,d)&&h(),T1(f,a,o,t,s,u,c,d)&&h(),T1(f,a,o,t,s,u,l,d)&&h();for(let p=s;p<u;p++){const m=a.positionAt(p,c,o),g=a.positionAt(p,l,o);f.replace(f.mapping.slice(d).map(m+t),f.mapping.slice(d).map(g+t),new _e(i.rows[p-s],0,0))}h(),f.setSelection(new Ye(f.doc.resolve(t+a.positionAt(s,c,o)),f.doc.resolve(t+a.positionAt(u-1,l-1,o)))),e(f)}var cO=Gp({ArrowLeft:$a("horiz",-1),ArrowRight:$a("horiz",1),ArrowUp:$a("vert",-1),ArrowDown:$a("vert",1),"Shift-ArrowLeft":Va("horiz",-1),"Shift-ArrowRight":Va("horiz",1),"Shift-ArrowUp":Va("vert",-1),"Shift-ArrowDown":Va("vert",1),Backspace:za,"Mod-Backspace":za,Delete:za,"Mod-Delete":za});function _s(n,e,t){return t.eq(n.selection)?!1:(e&&e(n.tr.setSelection(t).scrollIntoView()),!0)}function $a(n,e){return(t,r,i)=>{if(!i)return!1;const o=t.selection;if(o instanceof Ye)return _s(t,r,Fe.near(o.$headCell,e));if(n!="horiz"&&!o.empty)return!1;const a=Jw(i,n,e);if(a==null)return!1;if(n=="horiz")return _s(t,r,Fe.near(t.doc.resolve(o.head+e),e));{const s=t.doc.resolve(a),c=zw(s,n,e);let l;return c?l=Fe.near(c,1):e<0?l=Fe.near(t.doc.resolve(s.before(-1)),-1):l=Fe.near(t.doc.resolve(s.after(-1)),1),_s(t,r,l)}}}function Va(n,e){return(t,r,i)=>{if(!i)return!1;const o=t.selection;let a;if(o instanceof Ye)a=o;else{const c=Jw(i,n,e);if(c==null)return!1;a=new Ye(t.doc.resolve(c))}const s=zw(a.$headCell,n,e);return s?_s(t,r,new Ye(a.$anchorCell,s)):!1}}function lO(n,e){const t=n.state.doc,r=co(t.resolve(e));return r?(n.dispatch(n.state.tr.setSelection(new Ye(r))),!0):!1}function uO(n,e,t){if(!yn(n.state))return!1;let r=iO(t);const i=n.state.selection;if(i instanceof Ye){r||(r={width:1,height:1,rows:[pe.from(up(_t(n.state.schema).cell,t))]});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=aO(r,s.right-s.left,s.bottom-s.top),E1(n.state,n.dispatch,a,s,r),!0}else if(r){const o=ol(n.state),a=o.start(-1);return E1(n.state,n.dispatch,a,nt.get(o.node(-1)).findCell(o.pos-a),r),!0}else return!1}function fO(n,e){var t;if(e.ctrlKey||e.metaKey)return;const r=C1(n,e.target);let i;if(e.shiftKey&&n.state.selection instanceof Ye)o(n.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(i=co(n.state.selection.$anchor))!=null&&((t=mu(n,e))==null?void 0:t.pos)!=i.pos)o(i,e),e.preventDefault();else if(!r)return;function o(c,l){let u=mu(n,l);const f=xr.getState(n.state)==null;if(!u||!Dg(c,u))if(f)u=c;else return;const d=new Ye(c,u);if(f||!n.state.selection.eq(d)){const h=n.state.tr.setSelection(d);f&&h.setMeta(xr,c.pos),n.dispatch(h)}}function a(){n.root.removeEventListener("mouseup",a),n.root.removeEventListener("dragstart",a),n.root.removeEventListener("mousemove",s),xr.getState(n.state)!=null&&n.dispatch(n.state.tr.setMeta(xr,-1))}function s(c){const l=c,u=xr.getState(n.state);let f;if(u!=null)f=n.state.doc.resolve(u);else if(C1(n,l.target)!=r&&(f=mu(n,e),!f))return a();f&&o(f,l)}n.root.addEventListener("mouseup",a),n.root.addEventListener("dragstart",a),n.root.addEventListener("mousemove",s)}function Jw(n,e,t){if(!(n.state.selection instanceof Ie))return null;const{$head:r}=n.state.selection;for(let i=r.depth-1;i>=0;i--){const o=r.node(i);if((t<0?r.index(i):r.indexAfter(i))!=(t<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"?t>0?"down":"up":t>0?"right":"left";return n.endOfTextblock(c)?s:null}}return null}function C1(n,e){for(;e&&e!=n.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function mu(n,e){const t=n.posAtCoords({left:e.clientX,top:e.clientY});return t&&t?co(n.state.doc.resolve(t.pos)):null}var dO=class{constructor(n,e){this.node=n,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")),fp(n,this.colgroup,this.table,e),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(n){return n.type!=this.node.type?!1:(this.node=n,fp(n,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(n){return n.type=="attributes"&&(n.target==this.table||this.colgroup.contains(n.target))}};function fp(n,e,t,r,i,o){var a;let s=0,c=!0,l=e.firstChild;const u=n.firstChild;if(u){for(let f=0,d=0;f<u.childCount;f++){const{colspan:h,colwidth:p}=u.child(f).attrs;for(let m=0;m<h;m++,d++){const g=i==d?o:p&&p[m],y=g?g+"px":"";if(s+=g||r,g||(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 f=l.nextSibling;(a=l.parentNode)==null||a.removeChild(l),l=f}c?(t.style.width=s+"px",t.style.minWidth=""):(t.style.width="",t.style.minWidth=s+"px")}}var Vt=new tr("tableColumnResizing");function hO({handleWidth:n=5,cellMinWidth:e=25,defaultCellMinWidth:t=100,View:r=dO,lastColumnResizable:i=!0}={}){const o=new pi({key:Vt,state:{init(a,s){var c,l;const u=(l=(c=o.spec)==null?void 0:c.props)==null?void 0:l.nodeViews,f=_t(s.schema).table.name;return r&&u&&(u[f]=(d,h)=>new r(d,t,h)),new pO(-1,!1)},apply(a,s){return s.apply(a)}},props:{attributes:a=>{const s=Vt.getState(a);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(a,s)=>{gO(a,s,n,i)},mouseleave:a=>{mO(a)},mousedown:(a,s)=>{yO(a,s,e,t)}},decorations:a=>{const s=Vt.getState(a);if(s&&s.activeHandle>-1)return wO(a,s.activeHandle)},nodeViews:{}}});return o}var pO=class Ts{constructor(e,t){this.activeHandle=e,this.dragging=t}apply(e){const t=this,r=e.getMeta(Vt);if(r&&r.setHandle!=null)return new Ts(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new Ts(t.activeHandle,r.setDragging);if(t.activeHandle>-1&&e.docChanged){let i=e.mapping.map(t.activeHandle,-1);return lp(e.doc.resolve(i))||(i=-1),new Ts(i,t.dragging)}return t}};function gO(n,e,t,r){if(!n.editable)return;const i=Vt.getState(n.state);if(i&&!i.dragging){const o=vO(e.target);let a=-1;if(o){const{left:s,right:c}=o.getBoundingClientRect();e.clientX-s<=t?a=S1(n,e,"left",t):c-e.clientX<=t&&(a=S1(n,e,"right",t))}if(a!=i.activeHandle){if(!r&&a!==-1){const s=n.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}Zw(n,a)}}}function mO(n){if(!n.editable)return;const e=Vt.getState(n.state);e&&e.activeHandle>-1&&!e.dragging&&Zw(n,-1)}function yO(n,e,t,r){var i;if(!n.editable)return!1;const o=(i=n.dom.ownerDocument.defaultView)!=null?i:window,a=Vt.getState(n.state);if(!a||a.activeHandle==-1||a.dragging)return!1;const s=n.state.doc.nodeAt(a.activeHandle),c=bO(n,a.activeHandle,s.attrs);n.dispatch(n.state.tr.setMeta(Vt,{setDragging:{startX:e.clientX,startWidth:c}}));function l(f){o.removeEventListener("mouseup",l),o.removeEventListener("mousemove",u);const d=Vt.getState(n.state);d!=null&&d.dragging&&(xO(n,d.activeHandle,A1(d.dragging,f,t)),n.dispatch(n.state.tr.setMeta(Vt,{setDragging:null})))}function u(f){if(!f.which)return l(f);const d=Vt.getState(n.state);if(d&&d.dragging){const h=A1(d.dragging,f,t);U1(n,d.activeHandle,h,r)}}return U1(n,a.activeHandle,c,r),o.addEventListener("mouseup",l),o.addEventListener("mousemove",u),e.preventDefault(),!0}function bO(n,e,{colspan:t,colwidth:r}){const i=r&&r[r.length-1];if(i)return i;const o=n.domAtPos(e);let s=o.node.childNodes[o.offset].offsetWidth,c=t;if(r)for(let l=0;l<t;l++)r[l]&&(s-=r[l],c--);return s/c}function vO(n){for(;n&&n.nodeName!="TD"&&n.nodeName!="TH";)n=n.classList&&n.classList.contains("ProseMirror")?null:n.parentNode;return n}function S1(n,e,t,r){const i=t=="right"?-r:r,o=n.posAtCoords({left:e.clientX+i,top:e.clientY});if(!o)return-1;const{pos:a}=o,s=co(n.state.doc.resolve(a));if(!s)return-1;if(t=="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 A1(n,e,t){const r=e.clientX-n.startX;return Math.max(t,n.startWidth+r)}function Zw(n,e){n.dispatch(n.state.tr.setMeta(Vt,{setHandle:e}))}function xO(n,e,t){const r=n.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=n.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 f=o.map[u],d=i.nodeAt(f).attrs,h=d.colspan==1?0:s-o.colCount(f);if(d.colwidth&&d.colwidth[h]==t)continue;const p=d.colwidth?d.colwidth.slice():DO(d.colspan);p[h]=t,c.setNodeMarkup(a+f,null,{...d,colwidth:p})}c.docChanged&&n.dispatch(c)}function U1(n,e,t,r){const i=n.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=n.domAtPos(i.start(-1)).node;for(;c&&c.nodeName!="TABLE";)c=c.parentNode;c&&fp(o,c.firstChild,c,r,s,t)}function DO(n){return Array(n).fill(0)}function wO(n,e){var t;const r=[],i=n.doc.resolve(e),o=i.node(-1);if(!o)return Qe.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 f=a.map[u],d=s+f+o.nodeAt(f).nodeSize-1,h=document.createElement("div");h.className="column-resize-handle",(t=Vt.getState(n))!=null&&t.dragging&&r.push(xt.node(s+f,s+f+o.nodeAt(f).nodeSize,{class:"column-resize-dragging"})),r.push(xt.widget(d,h))}}return Qe.create(n.doc,r)}function _O({allowTableNodeSelection:n=!1}={}){return new pi({key:xr,state:{init(){return null},apply(e,t){const r=e.getMeta(xr);if(r!=null)return r==-1?null:r;if(t==null||!e.docChanged)return t;const{deleted:i,pos:o}=e.mapping.mapResult(t);return i?null:o}},props:{decorations:RF,handleDOMEvents:{mousedown:fO},createSelectionBetween(e){return xr.getState(e.state)!=null?e.state.selection:null},handleTripleClick:lO,handleKeyDown:cO,handlePaste:uO},appendTransaction(e,t,r){return BF(r,Xw(r,t),n)}})}var rn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wg(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function Yw(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var yu,k1;function Qw(){if(k1)return yu;k1=1;var n=Object.prototype.toString;return yu=function(t){var r=n.call(t),i=r==="[object Arguments]";return i||(i=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&n.call(t.callee)==="[object Function]"),i},yu}var bu,F1;function TO(){if(F1)return bu;F1=1;var n;if(!Object.keys){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Qw(),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(d){var h=d.constructor;return h&&h.prototype===d},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 d in window)try{if(!l["$"+d]&&e.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{c(window[d])}catch{return!0}}catch{return!0}return!1}(),f=function(d){if(typeof window>"u"||!u)return c(d);try{return c(d)}catch{return!1}};n=function(h){var p=h!==null&&typeof h=="object",m=t.call(h)==="[object Function]",g=r(h),y=p&&t.call(h)==="[object String]",b=[];if(!p&&!m&&!g)throw new TypeError("Object.keys called on a non-object");var v=a&&m;if(y&&h.length>0&&!e.call(h,0))for(var T=0;T<h.length;++T)b.push(String(T));if(g&&h.length>0)for(var w=0;w<h.length;++w)b.push(String(w));else for(var E in h)!(v&&E==="prototype")&&e.call(h,E)&&b.push(String(E));if(o)for(var S=f(h),U=0;U<s.length;++U)!(S&&s[U]==="constructor")&&e.call(h,s[U])&&b.push(s[U]);return b}}return bu=n,bu}var vu,O1;function _g(){if(O1)return vu;O1=1;var n=Array.prototype.slice,e=Qw(),t=Object.keys,r=t?function(a){return t(a)}:TO(),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(n.call(c)):i(c)})}else Object.keys=r;return Object.keys||r},vu=r,vu}var xu,R1;function sl(){if(R1)return xu;R1=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return xu=n,xu}var Du,N1;function Tg(){return N1||(N1=1,Du=SyntaxError),Du}var wu,I1;function sn(){return I1||(I1=1,wu=TypeError),wu}var _u,B1;function EO(){return B1||(B1=1,_u=Object.getOwnPropertyDescriptor),_u}var Tu,M1;function yi(){if(M1)return Tu;M1=1;var n=EO();if(n)try{n([],"length")}catch{n=null}return Tu=n,Tu}var Eu,W1;function Eg(){if(W1)return Eu;W1=1;var n=sl(),e=Tg(),t=sn(),r=yi();return Eu=function(o,a,s){if(!o||typeof o!="object"&&typeof o!="function")throw new t("`obj` must be an object or a function`");if(typeof a!="string"&&typeof a!="symbol")throw new t("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new t("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new t("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new t("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new t("`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,f=arguments.length>6?arguments[6]:!1,d=!!r&&r(o,a);if(n)n(o,a,{configurable:u===null&&d?d.configurable:!u,enumerable:c===null&&d?d.enumerable:!c,value:s,writable:l===null&&d?d.writable:!l});else if(f||!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.")},Eu}var Cu,L1;function Cg(){if(L1)return Cu;L1=1;var n=sl(),e=function(){return!!n};return e.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],"length",{value:1}).length!==1}catch{return!0}},Cu=e,Cu}var Su,P1;function bi(){if(P1)return Su;P1=1;var n=_g(),e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",t=Object.prototype.toString,r=Array.prototype.concat,i=Eg(),o=function(l){return typeof l=="function"&&t.call(l)==="[object Function]"},a=Cg()(),s=function(l,u,f,d){if(u in l){if(d===!0){if(l[u]===f)return}else if(!o(d)||!d())return}a?i(l,u,f,!0):i(l,u,f)},c=function(l,u){var f=arguments.length>2?arguments[2]:{},d=n(u);e&&(d=r.call(d,Object.getOwnPropertySymbols(u)));for(var h=0;h<d.length;h+=1)s(l,d[h],u[d[h]],f[d[h]])};return c.supportsDescriptors=!!a,Su=c,Su}var Au={exports:{}},Uu,q1;function Sg(){return q1||(q1=1,Uu=Object),Uu}var ku,j1;function e_(){return j1||(j1=1,ku=Error),ku}var Fu,z1;function CO(){return z1||(z1=1,Fu=EvalError),Fu}var Ou,$1;function SO(){return $1||($1=1,Ou=RangeError),Ou}var Ru,V1;function AO(){return V1||(V1=1,Ru=ReferenceError),Ru}var Nu,H1;function UO(){return H1||(H1=1,Nu=URIError),Nu}var Iu,X1;function kO(){return X1||(X1=1,Iu=Math.abs),Iu}var Bu,G1;function FO(){return G1||(G1=1,Bu=Math.floor),Bu}var Mu,K1;function OO(){return K1||(K1=1,Mu=Math.max),Mu}var Wu,J1;function RO(){return J1||(J1=1,Wu=Math.min),Wu}var Lu,Z1;function NO(){return Z1||(Z1=1,Lu=Math.pow),Lu}var Pu,Y1;function IO(){return Y1||(Y1=1,Pu=Math.round),Pu}var qu,Q1;function BO(){return Q1||(Q1=1,qu=Number.isNaN||function(e){return e!==e}),qu}var ju,eb;function MO(){if(eb)return ju;eb=1;var n=BO();return ju=function(t){return n(t)||t===0?t:t<0?-1:1},ju}var zu,tb;function cl(){return tb||(tb=1,zu=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),r=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;e[t]=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]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,t);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),zu}var $u,nb;function Ag(){if(nb)return $u;nb=1;var n=typeof Symbol<"u"&&Symbol,e=cl();return $u=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},$u}var Vu,rb;function t_(){return rb||(rb=1,Vu=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Vu}var Hu,ib;function n_(){if(ib)return Hu;ib=1;var n=Sg();return Hu=n.getPrototypeOf||null,Hu}var Xu,ob;function WO(){if(ob)return Xu;ob=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,r="[object Function]",i=function(c,l){for(var u=[],f=0;f<c.length;f+=1)u[f]=c[f];for(var d=0;d<l.length;d+=1)u[d+c.length]=l[d];return u},o=function(c,l){for(var u=[],f=l,d=0;f<c.length;f+=1,d+=1)u[d]=c[f];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 Xu=function(c){var l=this;if(typeof l!="function"||e.apply(l)!==r)throw new TypeError(n+l);for(var u=o(arguments,1),f,d=function(){if(this instanceof f){var y=l.apply(this,i(u,arguments));return Object(y)===y?y:this}return l.apply(c,i(u,arguments))},h=t(0,l.length-u.length),p=[],m=0;m<h;m++)p[m]="$"+m;if(f=Function("binder","return function ("+a(p,",")+"){ return binder.apply(this,arguments); }")(d),l.prototype){var g=function(){};g.prototype=l.prototype,f.prototype=new g,g.prototype=null}return f},Xu}var Gu,ab;function Aa(){if(ab)return Gu;ab=1;var n=WO();return Gu=Function.prototype.bind||n,Gu}var Ku,sb;function Ug(){return sb||(sb=1,Ku=Function.prototype.call),Ku}var Ju,cb;function kg(){return cb||(cb=1,Ju=Function.prototype.apply),Ju}var Zu,lb;function LO(){return lb||(lb=1,Zu=typeof Reflect<"u"&&Reflect&&Reflect.apply),Zu}var Yu,ub;function r_(){if(ub)return Yu;ub=1;var n=Aa(),e=kg(),t=Ug(),r=LO();return Yu=r||n.call(t,e),Yu}var Qu,fb;function Fg(){if(fb)return Qu;fb=1;var n=Aa(),e=sn(),t=Ug(),r=r_();return Qu=function(o){if(o.length<1||typeof o[0]!="function")throw new e("a function is required");return r(n,t,o)},Qu}var ef,db;function PO(){if(db)return ef;db=1;var n=Fg(),e=yi(),t;try{t=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var r=!!t&&e&&e(Object.prototype,"__proto__"),i=Object,o=i.getPrototypeOf;return ef=r&&typeof r.get=="function"?n([r.get]):typeof o=="function"?function(s){return o(s==null?s:i(s))}:!1,ef}var tf,hb;function i_(){if(hb)return tf;hb=1;var n=t_(),e=n_(),t=PO();return tf=n?function(i){return n(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:t?function(i){return t(i)}:null,tf}var nf,pb;function Og(){if(pb)return nf;pb=1;var n=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=Aa();return nf=t.call(n,e),nf}var rf,gb;function ir(){if(gb)return rf;gb=1;var n,e=Sg(),t=e_(),r=CO(),i=SO(),o=AO(),a=Tg(),s=sn(),c=UO(),l=kO(),u=FO(),f=OO(),d=RO(),h=NO(),p=IO(),m=MO(),g=Function,y=function(me){try{return g('"use strict"; return ('+me+").constructor;")()}catch{}},b=yi(),v=sl(),T=function(){throw new s},w=b?function(){try{return arguments.callee,T}catch{try{return b(arguments,"callee").get}catch{return T}}}():T,E=Ag()(),S=i_(),U=n_(),C=t_(),R=kg(),L=Ug(),_={},k=typeof Uint8Array>"u"||!S?n:S(Uint8Array),x={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":E&&S?S([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":_,"%AsyncGenerator%":_,"%AsyncGeneratorFunction%":_,"%AsyncIteratorPrototype%":_,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":_,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":E&&S?S(S([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!E||!S?n:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":i,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!E||!S?n:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&S?S(""[Symbol.iterator]()):n,"%Symbol%":E?Symbol:n,"%SyntaxError%":a,"%ThrowTypeError%":w,"%TypedArray%":k,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":c,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":L,"%Function.prototype.apply%":R,"%Object.defineProperty%":v,"%Object.getPrototypeOf%":U,"%Math.abs%":l,"%Math.floor%":u,"%Math.max%":f,"%Math.min%":d,"%Math.pow%":h,"%Math.round%":p,"%Math.sign%":m,"%Reflect.getPrototypeOf%":C};if(S)try{null.error}catch(me){var j=S(S(me));x["%Error.prototype%"]=j}var F=function me(de){var ge;if(de==="%AsyncFunction%")ge=y("async function () {}");else if(de==="%GeneratorFunction%")ge=y("function* () {}");else if(de==="%AsyncGeneratorFunction%")ge=y("async function* () {}");else if(de==="%AsyncGenerator%"){var ye=me("%AsyncGeneratorFunction%");ye&&(ge=ye.prototype)}else if(de==="%AsyncIteratorPrototype%"){var be=me("%AsyncGenerator%");be&&S&&(ge=S(be.prototype))}return x[de]=ge,ge},B={__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"]},K=Aa(),P=Og(),te=K.call(L,Array.prototype.concat),W=K.call(R,Array.prototype.splice),I=K.call(L,String.prototype.replace),oe=K.call(L,String.prototype.slice),X=K.call(L,RegExp.prototype.exec),J=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,le=/\\(\\)?/g,he=function(de){var ge=oe(de,0,1),ye=oe(de,-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(de,J,function(D,V,z,M){be[be.length]=z?I(M,le,"$1"):V||D}),be},fe=function(de,ge){var ye=de,be;if(P(B,ye)&&(be=B[ye],ye="%"+be[0]+"%"),P(x,ye)){var D=x[ye];if(D===_&&(D=F(ye)),typeof D>"u"&&!ge)throw new s("intrinsic "+de+" exists, but is not available. Please file an issue!");return{alias:be,name:ye,value:D}}throw new a("intrinsic "+de+" does not exist!")};return rf=function(de,ge){if(typeof de!="string"||de.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(X(/^%?[^%]*%?$/,de)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ye=he(de),be=ye.length>0?ye[0]:"",D=fe("%"+be+"%",ge),V=D.name,z=D.value,M=!1,N=D.alias;N&&(be=N[0],W(ye,te([0,1],N)));for(var $=1,ie=!0;$<ye.length;$+=1){var ne=ye[$],Z=oe(ne,0,1),q=oe(ne,-1);if((Z==='"'||Z==="'"||Z==="`"||q==='"'||q==="'"||q==="`")&&Z!==q)throw new a("property names with quotes must have matching quotes");if((ne==="constructor"||!ie)&&(M=!0),be+="."+ne,V="%"+be+"%",P(x,V))z=x[V];else if(z!=null){if(!(ne in z)){if(!ge)throw new s("base intrinsic for "+de+" exists, but the property is not available.");return}if(b&&$+1>=ye.length){var G=b(z,ne);ie=!!G,ie&&"get"in G&&!("originalValue"in G.get)?z=G.get:z=z[ne]}else ie=P(z,ne),z=z[ne];ie&&!M&&(x[V]=z)}}return z},rf}var of,mb;function qO(){if(mb)return of;mb=1;var n=ir(),e=Eg(),t=Cg()(),r=yi(),i=sn(),o=n("%Math.floor%");return of=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,f=!0;if("length"in s&&r){var d=r(s,"length");d&&!d.configurable&&(u=!1),d&&!d.writable&&(f=!1)}return(u||f||!l)&&(t?e(s,"length",c,!0,!0):e(s,"length",c)),s},of}var af,yb;function jO(){if(yb)return af;yb=1;var n=Aa(),e=kg(),t=r_();return af=function(){return t(n,e,arguments)},af}var bb;function lo(){return bb||(bb=1,function(n){var e=qO(),t=sl(),r=Fg(),i=jO();n.exports=function(a){var s=r(arguments),c=a.length-(arguments.length-1);return e(s,1+(c>0?c:0),!0)},t?t(n.exports,"apply",{value:i}):n.exports.apply=i}(Au)),Au.exports}var sf,vb;function Ct(){if(vb)return sf;vb=1;var n=ir(),e=Fg(),t=e([n("%String.prototype.indexOf%")]);return sf=function(i,o){var a=n(i,!!o);return typeof a=="function"&&t(i,".prototype.")>-1?e([a]):a},sf}var cf,xb;function o_(){if(xb)return cf;xb=1;var n=_g(),e=cl()(),t=Ct(),r=Sg(),i=t("Array.prototype.push"),o=t("Object.prototype.propertyIsEnumerable"),a=e?r.getOwnPropertySymbols:null;return cf=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 f=1;f<arguments.length;++f){var d=r(arguments[f]),h=n(d),p=e&&(r.getOwnPropertySymbols||a);if(p)for(var m=p(d),g=0;g<m.length;++g){var y=m[g];o(d,y)&&i(h,y)}for(var b=0;b<h.length;++b){var v=h[b];if(o(d,v)){var T=d[v];u[v]=T}}}return u},cf}var lf,Db;function a_(){if(Db)return lf;Db=1;var n=o_(),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},t=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 lf=function(){return!Object.assign||e()||t()?n:Object.assign},lf}var uf,wb;function zO(){if(wb)return uf;wb=1;var n=bi(),e=a_();return uf=function(){var r=e();return n(Object,{assign:r},{assign:function(){return Object.assign!==r}}),r},uf}var ff,_b;function $O(){if(_b)return ff;_b=1;var n=bi(),e=lo(),t=o_(),r=a_(),i=zO(),o=e.apply(r()),a=function(c,l){return o(Object,arguments)};return n(a,{getPolyfill:r,implementation:t,shim:i}),ff=a,ff}var df,Tb;function s_(){if(Tb)return df;Tb=1;var n=ir(),e=lo(),t=e(n("String.prototype.indexOf"));return df=function(i,o){var a=n(i,!!o);return typeof a=="function"&&t(i,".prototype.")>-1?e(a):a},df}var hf,Eb;function VO(){if(Eb)return hf;Eb=1;var n=function(){return typeof(function(){}).name=="string"},e=Object.getOwnPropertyDescriptor;if(e)try{e([],"length")}catch{e=null}n.functionsHaveConfigurableNames=function(){if(!n()||!e)return!1;var i=e(function(){},"name");return!!i&&!!i.configurable};var t=Function.prototype.bind;return n.boundFunctionsHaveNames=function(){return n()&&typeof t=="function"&&(function(){}).bind().name!==""},hf=n,hf}var pf,Cb;function HO(){if(Cb)return pf;Cb=1;var n=Eg(),e=Cg()(),t=VO().functionsHaveConfigurableNames(),r=sn();return pf=function(o,a){if(typeof o!="function")throw new r("`fn` is not a function");var s=arguments.length>2&&!!arguments[2];return(!s||t)&&(e?n(o,"name",a,!0,!0):n(o,"name",a)),o},pf}var gf,Sb;function c_(){if(Sb)return gf;Sb=1;var n=HO(),e=sn(),t=Object;return gf=n(function(){if(this==null||this!==t(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),gf}var mf,Ab;function l_(){if(Ab)return mf;Ab=1;var n=c_(),e=bi().supportsDescriptors,t=Object.getOwnPropertyDescriptor;return mf=function(){if(e&&/a/mig.flags==="gim"){var i=t(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 n},mf}var yf,Ub;function XO(){if(Ub)return yf;Ub=1;var n=bi().supportsDescriptors,e=l_(),t=yi(),r=Object.defineProperty,i=e_(),o=i_(),a=/a/;return yf=function(){if(!n||!o)throw new i("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var c=e(),l=o(a),u=t(l,"flags");return(!u||u.get!==c)&&r(l,"flags",{configurable:!0,enumerable:!1,get:c}),c},yf}var bf,kb;function GO(){if(kb)return bf;kb=1;var n=bi(),e=lo(),t=c_(),r=l_(),i=XO(),o=e(r());return n(o,{getPolyfill:r,implementation:t,shim:i}),bf=o,bf}var wo={exports:{}},vf,Fb;function vi(){if(Fb)return vf;Fb=1;var n=cl();return vf=function(){return n()&&!!Symbol.toStringTag},vf}var xf,Ob;function u_(){if(Ob)return xf;Ob=1;var n=vi()(),e=Ct(),t=e("Object.prototype.toString"),r=function(s){return n&&s&&typeof s=="object"&&Symbol.toStringTag in s?!1:t(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&&t(s)!=="[object Array]"&&"callee"in s&&t(s.callee)==="[object Function]"},o=function(){return r(arguments)}();return r.isLegacyArguments=i,xf=o?r:i,xf}const KO={},JO=Object.freeze(Object.defineProperty({__proto__:null,default:KO},Symbol.toStringTag,{value:"Module"})),ZO=Yw(JO);var Df,Rb;function ll(){if(Rb)return Df;Rb=1;var n=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=n&&e&&typeof e.get=="function"?e.get:null,r=n&&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,f=u?WeakSet.prototype.has:null,d=typeof WeakRef=="function"&&WeakRef.prototype,h=d?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,T=String.prototype.toUpperCase,w=String.prototype.toLowerCase,E=RegExp.prototype.test,S=Array.prototype.concat,U=Array.prototype.join,C=Array.prototype.slice,R=Math.floor,L=typeof BigInt=="function"?BigInt.prototype.valueOf:null,_=Object.getOwnPropertySymbols,k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,x=typeof Symbol=="function"&&typeof Symbol.iterator=="object",j=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===x||!0)?Symbol.toStringTag:null,F=Object.prototype.propertyIsEnumerable,B=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Q){return Q.__proto__}:null);function K(Q,re){if(Q===1/0||Q===-1/0||Q!==Q||Q&&Q>-1e3&&Q<1e3||E.call(/e/,re))return re;var Oe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Q=="number"){var Be=Q<0?-R(-Q):R(Q);if(Be!==Q){var qe=String(Be),A=b.call(re,qe.length+1);return v.call(qe,Oe,"$&_")+"."+v.call(v.call(A,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(re,Oe,"$&_")}var P=ZO,te=P.custom,W=D(te)?te:null,I={__proto__:null,double:'"',single:"'"},oe={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Df=function Q(re,Oe,Be,qe){var A=Oe||{};if(M(A,"quoteStyle")&&!M(I,A.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(M(A,"maxStringLength")&&(typeof A.maxStringLength=="number"?A.maxStringLength<0&&A.maxStringLength!==1/0:A.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var O=M(A,"customInspect")?A.customInspect:!0;if(typeof O!="boolean"&&O!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(M(A,"indent")&&A.indent!==null&&A.indent!==" "&&!(parseInt(A.indent,10)===A.indent&&A.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(M(A,"numericSeparator")&&typeof A.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var H=A.numericSeparator;if(typeof re>"u")return"undefined";if(re===null)return"null";if(typeof re=="boolean")return re?"true":"false";if(typeof re=="string")return xe(re,A);if(typeof re=="number"){if(re===0)return 1/0/re>0?"0":"-0";var se=String(re);return H?K(re,se):se}if(typeof re=="bigint"){var we=String(re)+"n";return H?K(re,we):we}var Ue=typeof A.depth>"u"?5:A.depth;if(typeof Be>"u"&&(Be=0),Be>=Ue&&Ue>0&&typeof re=="object")return he(re)?"[Array]":"[Object]";var We=ve(A,Be);if(typeof qe>"u")qe=[];else if(ie(qe,re)>=0)return"[Circular]";function Ve(Ci,Ia,sC){if(Ia&&(qe=C.call(qe),qe.push(Ia)),sC){var Mm={depth:A.depth};return M(A,"quoteStyle")&&(Mm.quoteStyle=A.quoteStyle),Q(Ci,Mm,Be+1,qe)}return Q(Ci,A,Be+1,qe)}if(typeof re=="function"&&!me(re)){var Gt=$(re),cn=ke(re,Ve);return"[Function"+(Gt?": "+Gt:" (anonymous)")+"]"+(cn.length>0?" { "+U.call(cn,", ")+" }":"")}if(D(re)){var Kt=x?v.call(String(re),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(re);return typeof re=="object"&&!x?Se(Kt):Kt}if(ae(re)){for(var qt="<"+w.call(String(re.nodeName)),ln=re.attributes||[],Jt=0;Jt<ln.length;Jt++)qt+=" "+ln[Jt].name+"="+X(J(ln[Jt].value),"double",A);return qt+=">",re.childNodes&&re.childNodes.length&&(qt+="..."),qt+="</"+w.call(String(re.nodeName))+">",qt}if(he(re)){if(re.length===0)return"[]";var Rt=ke(re,Ve);return We&&!ue(Rt)?"["+Ee(Rt,We)+"]":"[ "+U.call(Rt,", ")+" ]"}if(de(re)){var un=ke(re,Ve);return!("cause"in Error.prototype)&&"cause"in re&&!F.call(re,"cause")?"{ ["+String(re)+"] "+U.call(S.call("[cause]: "+Ve(re.cause),un),", ")+" }":un.length===0?"["+String(re)+"]":"{ ["+String(re)+"] "+U.call(un,", ")+" }"}if(typeof re=="object"&&O){if(W&&typeof re[W]=="function"&&P)return P(re,{depth:Ue-Be});if(O!=="symbol"&&typeof re.inspect=="function")return re.inspect()}if(ne(re)){var ar=[];return r&&r.call(re,function(Ci,Ia){ar.push(Ve(Ia,re,!0)+" => "+Ve(Ci,re))}),ee("Map",t.call(re),ar,We)}if(G(re)){var ot=[];return s&&s.call(re,function(Ci){ot.push(Ve(Ci,re))}),ee("Set",a.call(re),ot,We)}if(Z(re))return Ce("WeakMap");if(Y(re))return Ce("WeakSet");if(q(re))return Ce("WeakRef");if(ye(re))return Se(Ve(Number(re)));if(V(re))return Se(Ve(L.call(re)));if(be(re))return Se(p.call(re));if(ge(re))return Se(Ve(String(re)));if(typeof window<"u"&&re===window)return"{ [object Window] }";if(typeof globalThis<"u"&&re===globalThis||typeof rn<"u"&&re===rn)return"{ [object globalThis] }";if(!fe(re)&&!me(re)){var Ti=ke(re,Ve),Nn=B?B(re)===Object.prototype:re instanceof Object||re.constructor===Object,Ei=re instanceof Object?"":"null prototype",Bm=!Nn&&j&&Object(re)===re&&j in re?b.call(N(re),8,-1):Ei?"Object":"",aC=Nn||typeof re.constructor!="function"?"":re.constructor.name?re.constructor.name+" ":"",Pl=aC+(Bm||Ei?"["+U.call(S.call([],Bm||[],Ei||[]),": ")+"] ":"");return Ti.length===0?Pl+"{}":We?Pl+"{"+Ee(Ti,We)+"}":Pl+"{ "+U.call(Ti,", ")+" }"}return String(re)};function X(Q,re,Oe){var Be=Oe.quoteStyle||re,qe=I[Be];return qe+Q+qe}function J(Q){return v.call(String(Q),/"/g,""")}function le(Q){return!j||!(typeof Q=="object"&&(j in Q||typeof Q[j]<"u"))}function he(Q){return N(Q)==="[object Array]"&&le(Q)}function fe(Q){return N(Q)==="[object Date]"&&le(Q)}function me(Q){return N(Q)==="[object RegExp]"&&le(Q)}function de(Q){return N(Q)==="[object Error]"&&le(Q)}function ge(Q){return N(Q)==="[object String]"&&le(Q)}function ye(Q){return N(Q)==="[object Number]"&&le(Q)}function be(Q){return N(Q)==="[object Boolean]"&&le(Q)}function D(Q){if(x)return Q&&typeof Q=="object"&&Q instanceof Symbol;if(typeof Q=="symbol")return!0;if(!Q||typeof Q!="object"||!k)return!1;try{return k.call(Q),!0}catch{}return!1}function V(Q){if(!Q||typeof Q!="object"||!L)return!1;try{return L.call(Q),!0}catch{}return!1}var z=Object.prototype.hasOwnProperty||function(Q){return Q in this};function M(Q,re){return z.call(Q,re)}function N(Q){return m.call(Q)}function $(Q){if(Q.name)return Q.name;var re=y.call(g.call(Q),/^function\s*([\w$]+)/);return re?re[1]:null}function ie(Q,re){if(Q.indexOf)return Q.indexOf(re);for(var Oe=0,Be=Q.length;Oe<Be;Oe++)if(Q[Oe]===re)return Oe;return-1}function ne(Q){if(!t||!Q||typeof Q!="object")return!1;try{t.call(Q);try{a.call(Q)}catch{return!0}return Q instanceof Map}catch{}return!1}function Z(Q){if(!l||!Q||typeof Q!="object")return!1;try{l.call(Q,l);try{f.call(Q,f)}catch{return!0}return Q instanceof WeakMap}catch{}return!1}function q(Q){if(!h||!Q||typeof Q!="object")return!1;try{return h.call(Q),!0}catch{}return!1}function G(Q){if(!a||!Q||typeof Q!="object")return!1;try{a.call(Q);try{t.call(Q)}catch{return!0}return Q instanceof Set}catch{}return!1}function Y(Q){if(!f||!Q||typeof Q!="object")return!1;try{f.call(Q,f);try{l.call(Q,l)}catch{return!0}return Q instanceof WeakSet}catch{}return!1}function ae(Q){return!Q||typeof Q!="object"?!1:typeof HTMLElement<"u"&&Q instanceof HTMLElement?!0:typeof Q.nodeName=="string"&&typeof Q.getAttribute=="function"}function xe(Q,re){if(Q.length>re.maxStringLength){var Oe=Q.length-re.maxStringLength,Be="... "+Oe+" more character"+(Oe>1?"s":"");return xe(b.call(Q,0,re.maxStringLength),re)+Be}var qe=oe[re.quoteStyle||"single"];qe.lastIndex=0;var A=v.call(v.call(Q,qe,"\\$1"),/[\x00-\x1f]/g,Te);return X(A,"single",re)}function Te(Q){var re=Q.charCodeAt(0),Oe={8:"b",9:"t",10:"n",12:"f",13:"r"}[re];return Oe?"\\"+Oe:"\\x"+(re<16?"0":"")+T.call(re.toString(16))}function Se(Q){return"Object("+Q+")"}function Ce(Q){return Q+" { ? }"}function ee(Q,re,Oe,Be){var qe=Be?Ee(Oe,Be):U.call(Oe,", ");return Q+" ("+re+") {"+qe+"}"}function ue(Q){for(var re=0;re<Q.length;re++)if(ie(Q[re],`
|
|
15
|
+
`)>=0)return!1;return!0}function ve(Q,re){var Oe;if(Q.indent===" ")Oe=" ";else if(typeof Q.indent=="number"&&Q.indent>0)Oe=U.call(Array(Q.indent+1)," ");else return null;return{base:Oe,prev:U.call(Array(re+1),Oe)}}function Ee(Q,re){if(Q.length===0)return"";var Oe=`
|
|
16
|
+
`+re.prev+re.base;return Oe+U.call(Q,","+Oe)+`
|
|
17
|
+
`+re.prev}function ke(Q,re){var Oe=he(Q),Be=[];if(Oe){Be.length=Q.length;for(var qe=0;qe<Q.length;qe++)Be[qe]=M(Q,qe)?re(Q[qe],Q):""}var A=typeof _=="function"?_(Q):[],O;if(x){O={};for(var H=0;H<A.length;H++)O["$"+A[H]]=A[H]}for(var se in Q)M(Q,se)&&(Oe&&String(Number(se))===se&&se<Q.length||x&&O["$"+se]instanceof Symbol||(E.call(/[^\w$]/,se)?Be.push(re(se,Q)+": "+re(Q[se],Q)):Be.push(se+": "+re(Q[se],Q))));if(typeof _=="function")for(var we=0;we<A.length;we++)F.call(Q,A[we])&&Be.push("["+re(A[we])+"]: "+re(Q[A[we]],Q));return Be}return Df}var wf,Nb;function YO(){if(Nb)return wf;Nb=1;var n=ll(),e=sn(),t=function(s,c,l){for(var u=s,f;(f=u.next)!=null;u=f)if(f.key===c)return u.next=f.next,l||(f.next=s.next,s.next=f),f},r=function(s,c){if(s){var l=t(s,c);return l&&l.value}},i=function(s,c,l){var u=t(s,c);u?u.value=l:s.next={key:c,next:s.next,value:l}},o=function(s,c){return s?!!t(s,c):!1},a=function(s,c){if(s)return t(s,c,!0)};return wf=function(){var c,l={assert:function(u){if(!l.has(u))throw new e("Side channel does not contain "+n(u))},delete:function(u){var f=c&&c.next,d=a(c,u);return d&&f&&f===d&&(c=void 0),!!d},get:function(u){return r(c,u)},has:function(u){return o(c,u)},set:function(u,f){c||(c={next:void 0}),i(c,u,f)}};return l},wf}var _f,Ib;function f_(){if(Ib)return _f;Ib=1;var n=ir(),e=Ct(),t=ll(),r=sn(),i=n("%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 _f=!!i&&function(){var f,d={assert:function(h){if(!d.has(h))throw new r("Side channel does not contain "+t(h))},delete:function(h){if(f){var p=c(f,h);return l(f)===0&&(f=void 0),p}return!1},get:function(h){if(f)return o(f,h)},has:function(h){return f?s(f,h):!1},set:function(h,p){f||(f=new i),a(f,h,p)}};return d},_f}var Tf,Bb;function QO(){if(Bb)return Tf;Bb=1;var n=ir(),e=Ct(),t=ll(),r=f_(),i=sn(),o=n("%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 Tf=o?function(){var f,d,h={assert:function(p){if(!h.has(p))throw new i("Side channel does not contain "+t(p))},delete:function(p){if(o&&p&&(typeof p=="object"||typeof p=="function")){if(f)return l(f,p)}else if(r&&d)return d.delete(p);return!1},get:function(p){return o&&p&&(typeof p=="object"||typeof p=="function")&&f?a(f,p):d&&d.get(p)},has:function(p){return o&&p&&(typeof p=="object"||typeof p=="function")&&f?c(f,p):!!d&&d.has(p)},set:function(p,m){o&&p&&(typeof p=="object"||typeof p=="function")?(f||(f=new o),s(f,p,m)):r&&(d||(d=r()),d.set(p,m))}};return h}:r,Tf}var Ef,Mb;function d_(){if(Mb)return Ef;Mb=1;var n=sn(),e=ll(),t=YO(),r=f_(),i=QO(),o=i||r||t;return Ef=function(){var s,c={assert:function(l){if(!c.has(l))throw new n("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},Ef}var Cf,Wb;function e6(){if(Wb)return Cf;Wb=1;var n=Og(),e=d_()(),t=sn(),r={assert:function(i,o){if(!i||typeof i!="object"&&typeof i!="function")throw new t("`O` is not an object");if(typeof o!="string")throw new t("`slot` must be a string");if(e.assert(i),!r.has(i,o))throw new t("`"+o+"` is not present on `O`")},get:function(i,o){if(!i||typeof i!="object"&&typeof i!="function")throw new t("`O` is not an object");if(typeof o!="string")throw new t("`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 t("`O` is not an object");if(typeof o!="string")throw new t("`slot` must be a string");var a=e.get(i);return!!a&&n(a,"$"+o)},set:function(i,o,a){if(!i||typeof i!="object"&&typeof i!="function")throw new t("`O` is not an object");if(typeof o!="string")throw new t("`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),Cf=r,Cf}var Sf,Lb;function t6(){if(Lb)return Sf;Lb=1;var n=e6(),e=Tg(),t=typeof StopIteration=="object"?StopIteration:null;return Sf=function(i){if(!t)throw new e("this environment lacks StopIteration");n.set(i,"[[Done]]",!1);var o={next:function(){var s=n.get(this,"[[Iterator]]"),c=!!n.get(s,"[[Done]]");try{return{done:c,value:c?void 0:s.next()}}catch(l){if(n.set(s,"[[Done]]",!0),l!==t)throw l;return{done:!0,value:void 0}}}};return n.set(o,"[[Iterator]]",i),o},Sf}var Af,Pb;function h_(){if(Pb)return Af;Pb=1;var n={}.toString;return Af=Array.isArray||function(e){return n.call(e)=="[object Array]"},Af}var Uf,qb;function p_(){if(qb)return Uf;qb=1;var n=Ct(),e=n("String.prototype.valueOf"),t=function(s){try{return e(s),!0}catch{return!1}},r=n("Object.prototype.toString"),i="[object String]",o=vi()();return Uf=function(s){return typeof s=="string"?!0:!s||typeof s!="object"?!1:o?t(s):r(s)===i},Uf}var kf,jb;function g_(){if(jb)return kf;jb=1;var n=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,t;n||(t=function(a){return!1});var r=n?Map.prototype.has:null,i=e?Set.prototype.has:null;return!t&&!r&&(t=function(a){return!1}),kf=t||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 n}catch{}return!1},kf}var Ff,zb;function m_(){if(zb)return Ff;zb=1;var n=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,t;e||(t=function(a){return!1});var r=n?Map.prototype.has:null,i=e?Set.prototype.has:null;return!t&&!i&&(t=function(a){return!1}),Ff=t||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},Ff}var $b;function n6(){if($b)return wo.exports;$b=1;var n=u_(),e=t6();if(Ag()()||cl()()){var t=Symbol.iterator;wo.exports=function(C){if(C!=null&&typeof C[t]<"u")return C[t]();if(n(C))return Array.prototype[t].call(C)}}else{var r=h_(),i=p_(),o=ir(),a=o("%Map%",!0),s=o("%Set%",!0),c=s_(),l=c("Array.prototype.push"),u=c("String.prototype.charCodeAt"),f=c("String.prototype.slice"),d=function(C,R){var L=C.length;if(R+1>=L)return R+1;var _=u(C,R);if(_<55296||_>56319)return R+1;var k=u(C,R+1);return k<56320||k>57343?R+1:R+2},h=function(C){var R=0;return{next:function(){var _=R>=C.length,k;return _||(k=C[R],R+=1),{done:_,value:k}}}},p=function(C,R){if(r(C)||n(C))return h(C);if(i(C)){var L=0;return{next:function(){var k=d(C,L),x=f(C,L,k);return L=k,{done:k>C.length,value:x}}}}if(R&&typeof C["_es6-shim iterator_"]<"u")return C["_es6-shim iterator_"]()};if(!a&&!s)wo.exports=function(C){if(C!=null)return p(C,!0)};else{var m=g_(),g=m_(),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),T=c("Set.prototype.iterator",!0);var w=c("Map.prototype.@@iterator",!0)||c("Map.prototype._es6-shim iterator_",!0),E=c("Set.prototype.@@iterator",!0)||c("Set.prototype._es6-shim iterator_",!0),S=function(C){if(m(C)){if(v)return e(v(C));if(w)return w(C);if(y){var R=[];return y(C,function(_,k){l(R,[k,_])}),h(R)}}if(g(C)){if(T)return e(T(C));if(E)return E(C);if(b){var L=[];return b(C,function(_){l(L,_)}),h(L)}}};wo.exports=function(C){return S(C)||p(C)}}}return wo.exports}var Of,Vb;function y_(){if(Vb)return Of;Vb=1;var n=function(e){return e!==e};return Of=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||n(t)&&n(r))},Of}var Rf,Hb;function b_(){if(Hb)return Rf;Hb=1;var n=y_();return Rf=function(){return typeof Object.is=="function"?Object.is:n},Rf}var Nf,Xb;function r6(){if(Xb)return Nf;Xb=1;var n=b_(),e=bi();return Nf=function(){var r=n();return e(Object,{is:r},{is:function(){return Object.is!==r}}),r},Nf}var If,Gb;function i6(){if(Gb)return If;Gb=1;var n=bi(),e=lo(),t=y_(),r=b_(),i=r6(),o=e(r(),Object);return n(o,{getPolyfill:r,implementation:t,shim:i}),If=o,If}var Bf,Kb;function v_(){if(Kb)return Bf;Kb=1;var n=lo(),e=Ct(),t=ir(),r=t("%ArrayBuffer%",!0),i=e("ArrayBuffer.prototype.byteLength",!0),o=e("Object.prototype.toString"),a=!!r&&!i&&new r(0).slice,s=!!a&&n(a);return Bf=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},Bf}var Mf,Jb;function o6(){if(Jb)return Mf;Jb=1;var n=Ct(),e=n("Date.prototype.getDay"),t=function(s){try{return e(s),!0}catch{return!1}},r=n("Object.prototype.toString"),i="[object Date]",o=vi()();return Mf=function(s){return typeof s!="object"||s===null?!1:o?t(s):r(s)===i},Mf}var Wf,Zb;function x_(){if(Zb)return Wf;Zb=1;var n=Ct(),e=vi()(),t=Og(),r=yi(),i;if(e){var o=n("RegExp.prototype.exec"),a={},s=function(){throw a},c={toString:s,valueOf:s};typeof Symbol.toPrimitive=="symbol"&&(c[Symbol.toPrimitive]=s),i=function(d){if(!d||typeof d!="object")return!1;var h=r(d,"lastIndex"),p=h&&t(h,"value");if(!p)return!1;try{o(d,c)}catch(m){return m===a}}}else{var l=n("Object.prototype.toString"),u="[object RegExp]";i=function(d){return!d||typeof d!="object"&&typeof d!="function"?!1:l(d)===u}}return Wf=i,Wf}var Lf,Yb;function a6(){if(Yb)return Lf;Yb=1;var n=Ct(),e=n("SharedArrayBuffer.prototype.byteLength",!0);return Lf=e?function(r){if(!r||typeof r!="object")return!1;try{return e(r),!0}catch{return!1}}:function(r){return!1},Lf}var Pf,Qb;function s6(){if(Qb)return Pf;Qb=1;var n=Ct(),e=n("Number.prototype.toString"),t=function(s){try{return e(s),!0}catch{return!1}},r=n("Object.prototype.toString"),i="[object Number]",o=vi()();return Pf=function(s){return typeof s=="number"?!0:!s||typeof s!="object"?!1:o?t(s):r(s)===i},Pf}var qf,e2;function c6(){if(e2)return qf;e2=1;var n=Ct(),e=n("Boolean.prototype.toString"),t=n("Object.prototype.toString"),r=function(s){try{return e(s),!0}catch{return!1}},i="[object Boolean]",o=vi()();return qf=function(s){return typeof s=="boolean"?!0:s===null||typeof s!="object"?!1:o?r(s):t(s)===i},qf}var Ha={exports:{}},jf,t2;function l6(){if(t2)return jf;t2=1;var n=Ct(),e=x_(),t=n("RegExp.prototype.exec"),r=sn();return jf=function(o){if(!e(o))throw new r("`regex` must be a RegExp");return function(s){return t(o,s)!==null}},jf}var n2;function u6(){if(n2)return Ha.exports;n2=1;var n=Ct(),e=n("Object.prototype.toString"),t=Ag()(),r=l6();if(t){var i=n("Symbol.prototype.toString"),o=r(/^Symbol\(.*\)$/),a=function(c){return typeof c.valueOf()!="symbol"?!1:o(i(c))};Ha.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 Ha.exports=function(c){return!1};return Ha.exports}var Xa={exports:{}},zf,r2;function f6(){if(r2)return zf;r2=1;var n=typeof BigInt<"u"&&BigInt;return zf=function(){return typeof n=="function"&&typeof BigInt=="function"&&typeof n(42)=="bigint"&&typeof BigInt(42)=="bigint"},zf}var i2;function d6(){if(i2)return Xa.exports;i2=1;var n=f6()();if(n){var e=BigInt.prototype.valueOf,t=function(i){try{return e.call(i),!0}catch{}return!1};Xa.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:t(i)}}else Xa.exports=function(i){return!1};return Xa.exports}var $f,o2;function h6(){if(o2)return $f;o2=1;var n=p_(),e=s6(),t=c6(),r=u6(),i=d6();return $f=function(a){if(a==null||typeof a!="object"&&typeof a!="function")return null;if(n(a))return"String";if(e(a))return"Number";if(t(a))return"Boolean";if(r(a))return"Symbol";if(i(a))return"BigInt"},$f}var Vf,a2;function p6(){if(a2)return Vf;a2=1;var n=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,e=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,t;n||(t=function(a){return!1});var r=n?n.prototype.has:null,i=e?e.prototype.has:null;return!t&&!r&&(t=function(a){return!1}),Vf=t||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 n}catch{}return!1},Vf}var Ga={exports:{}},s2;function g6(){if(s2)return Ga.exports;s2=1;var n=ir(),e=Ct(),t=n("%WeakSet%",!0),r=e("WeakSet.prototype.has",!0);if(r){var i=e("WeakMap.prototype.has",!0);Ga.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 t}catch{}return!1}}else Ga.exports=function(a){return!1};return Ga.exports}var Hf,c2;function m6(){if(c2)return Hf;c2=1;var n=g_(),e=m_(),t=p6(),r=g6();return Hf=function(o){if(o&&typeof o=="object"){if(n(o))return"Map";if(e(o))return"Set";if(t(o))return"WeakMap";if(r(o))return"WeakSet"}return!1},Hf}var Xf,l2;function y6(){if(l2)return Xf;l2=1;var n=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,t,r;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},e(function(){throw 42},null,t)}catch(b){b!==r&&(e=null)}else e=null;var i=/^\s*class\b/,o=function(v){try{var T=n.call(v);return i.test(T)}catch{return!1}},a=function(v){try{return o(v)?!1:(n.call(v),!0)}catch{return!1}},s=Object.prototype.toString,c="[object Object]",l="[object Function]",u="[object GeneratorFunction]",f="[object HTMLAllCollection]",d="[object HTML document.all class]",h="[object HTMLCollection]",p=typeof Symbol=="function"&&!!Symbol.toStringTag,m=!(0 in[,]),g=function(){return!1};if(typeof document=="object"){var y=document.all;s.call(y)===s.call(document.all)&&(g=function(v){if((m||!v)&&(typeof v>"u"||typeof v=="object"))try{var T=s.call(v);return(T===f||T===d||T===h||T===c)&&v("")==null}catch{}return!1})}return Xf=e?function(v){if(g(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;try{e(v,null,t)}catch(T){if(T!==r)return!1}return!o(v)&&a(v)}:function(v){if(g(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;if(p)return a(v);if(o(v))return!1;var T=s.call(v);return T!==l&&T!==u&&!/^\[object HTML/.test(T)?!1:a(v)},Xf}var Gf,u2;function b6(){if(u2)return Gf;u2=1;var n=y6(),e=Object.prototype.toString,t=Object.prototype.hasOwnProperty,r=function(c,l,u){for(var f=0,d=c.length;f<d;f++)t.call(c,f)&&(u==null?l(c[f],f,c):l.call(u,c[f],f,c))},i=function(c,l,u){for(var f=0,d=c.length;f<d;f++)u==null?l(c.charAt(f),f,c):l.call(u,c.charAt(f),f,c)},o=function(c,l,u){for(var f in c)t.call(c,f)&&(u==null?l(c[f],f,c):l.call(u,c[f],f,c))};function a(s){return e.call(s)==="[object Array]"}return Gf=function(c,l,u){if(!n(l))throw new TypeError("iterator must be a function");var f;arguments.length>=3&&(f=u),a(c)?r(c,l,f):typeof c=="string"?i(c,l,f):o(c,l,f)},Gf}var Kf,f2;function v6(){return f2||(f2=1,Kf=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Kf}var Jf,d2;function x6(){if(d2)return Jf;d2=1;var n=v6(),e=typeof globalThis>"u"?rn:globalThis;return Jf=function(){for(var r=[],i=0;i<n.length;i++)typeof e[n[i]]=="function"&&(r[r.length]=n[i]);return r},Jf}var Zf,h2;function D6(){if(h2)return Zf;h2=1;var n=b6(),e=x6(),t=lo(),r=Ct(),i=yi(),o=r("Object.prototype.toString"),a=vi()(),s=typeof globalThis>"u"?rn:globalThis,c=e(),l=r("String.prototype.slice"),u=Object.getPrototypeOf,f=r("Array.prototype.indexOf",!0)||function(g,y){for(var b=0;b<g.length;b+=1)if(g[b]===y)return b;return-1},d={__proto__:null};a&&i&&u?n(c,function(m){var g=new s[m];if(Symbol.toStringTag in g){var y=u(g),b=i(y,Symbol.toStringTag);if(!b){var v=u(y);b=i(v,Symbol.toStringTag)}d["$"+m]=t(b.get)}}):n(c,function(m){var g=new s[m],y=g.slice||g.set;y&&(d["$"+m]=t(y))});var h=function(g){var y=!1;return n(d,function(b,v){if(!y)try{"$"+b(g)===v&&(y=l(v,1))}catch{}}),y},p=function(g){var y=!1;return n(d,function(b,v){if(!y)try{b(g),y=l(v,1)}catch{}}),y};return Zf=function(g){if(!g||typeof g!="object")return!1;if(!a){var y=l(o(g),8,-1);return f(c,y)>-1?y:y!=="Object"?!1:p(g)}return i?h(g):null},Zf}var Yf,p2;function w6(){if(p2)return Yf;p2=1;var n=Ct(),e=n("ArrayBuffer.prototype.byteLength",!0),t=v_();return Yf=function(i){return t(i)?e?e(i):i.byteLength:NaN},Yf}var Qf,g2;function _6(){if(g2)return Qf;g2=1;var n=$O(),e=s_(),t=GO(),r=ir(),i=n6(),o=d_(),a=i6(),s=u_(),c=h_(),l=v_(),u=o6(),f=x_(),d=a6(),h=_g(),p=h6(),m=m6(),g=D6(),y=w6(),b=e("SharedArrayBuffer.prototype.byteLength",!0),v=e("Date.prototype.getTime"),T=Object.getPrototypeOf,w=e("Object.prototype.toString"),E=r("%Set%",!0),S=e("Map.prototype.has",!0),U=e("Map.prototype.get",!0),C=e("Map.prototype.size",!0),R=e("Set.prototype.add",!0),L=e("Set.prototype.delete",!0),_=e("Set.prototype.has",!0),k=e("Set.prototype.size",!0);function x(X,J,le,he){for(var fe=i(X),me;(me=fe.next())&&!me.done;)if(P(J,me.value,le,he))return L(X,me.value),!0;return!1}function j(X){if(typeof X>"u")return null;if(typeof X!="object")return typeof X=="symbol"?!1:typeof X=="string"||typeof X=="number"?+X==+X:!0}function F(X,J,le,he,fe,me){var de=j(le);if(de!=null)return de;var ge=U(J,de),ye=n({},fe,{strict:!1});return typeof ge>"u"&&!S(J,de)||!P(he,ge,ye,me)?!1:!S(X,de)&&P(he,ge,ye,me)}function B(X,J,le){var he=j(le);return he??(_(J,he)&&!_(X,he))}function K(X,J,le,he,fe,me){for(var de=i(X),ge,ye;(ge=de.next())&&!ge.done;)if(ye=ge.value,P(le,ye,fe,me)&&P(he,U(J,ye),fe,me))return L(X,ye),!0;return!1}function P(X,J,le,he){var fe=le||{};if(fe.strict?a(X,J):X===J)return!0;var me=p(X),de=p(J);if(me!==de)return!1;if(!X||!J||typeof X!="object"&&typeof J!="object")return fe.strict?a(X,J):X==J;var ge=he.has(X),ye=he.has(J),be;if(ge&&ye){if(he.get(X)===he.get(J))return!0}else be={};return ge||he.set(X,be),ye||he.set(J,be),oe(X,J,fe,he)}function te(X){return!X||typeof X!="object"||typeof X.length!="number"||typeof X.copy!="function"||typeof X.slice!="function"||X.length>0&&typeof X[0]!="number"?!1:!!(X.constructor&&X.constructor.isBuffer&&X.constructor.isBuffer(X))}function W(X,J,le,he){if(k(X)!==k(J))return!1;for(var fe=i(X),me=i(J),de,ge,ye;(de=fe.next())&&!de.done;)if(de.value&&typeof de.value=="object")ye||(ye=new E),R(ye,de.value);else if(!_(J,de.value)){if(le.strict||!B(X,J,de.value))return!1;ye||(ye=new E),R(ye,de.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&&!_(X,ge.value)&&!x(ye,ge.value,le.strict,he))return!1;return k(ye)===0}return!0}function I(X,J,le,he){if(C(X)!==C(J))return!1;for(var fe=i(X),me=i(J),de,ge,ye,be,D,V;(de=fe.next())&&!de.done;)if(be=de.value[0],D=de.value[1],be&&typeof be=="object")ye||(ye=new E),R(ye,be);else if(V=U(J,be),typeof V>"u"&&!S(J,be)||!P(D,V,le,he)){if(le.strict||!F(X,J,be,D,le,he))return!1;ye||(ye=new E),R(ye,be)}if(ye){for(;(ge=me.next())&&!ge.done;)if(be=ge.value[0],V=ge.value[1],be&&typeof be=="object"){if(!K(ye,X,be,V,le,he))return!1}else if(!le.strict&&(!X.has(be)||!P(U(X,be),V,le,he))&&!K(ye,X,be,V,n({},le,{strict:!1}),he))return!1;return k(ye)===0}return!0}function oe(X,J,le,he){var fe,me;if(typeof X!=typeof J||X==null||J==null||w(X)!==w(J)||s(X)!==s(J))return!1;var de=c(X),ge=c(J);if(de!==ge)return!1;var ye=X instanceof Error,be=J instanceof Error;if(ye!==be||(ye||be)&&(X.name!==J.name||X.message!==J.message))return!1;var D=f(X),V=f(J);if(D!==V||(D||V)&&(X.source!==J.source||t(X)!==t(J)))return!1;var z=u(X),M=u(J);if(z!==M||(z||M)&&v(X)!==v(J)||le.strict&&T&&T(X)!==T(J))return!1;var N=g(X),$=g(J);if(N!==$)return!1;if(N||$){if(X.length!==J.length)return!1;for(fe=0;fe<X.length;fe++)if(X[fe]!==J[fe])return!1;return!0}var ie=te(X),ne=te(J);if(ie!==ne)return!1;if(ie||ne){if(X.length!==J.length)return!1;for(fe=0;fe<X.length;fe++)if(X[fe]!==J[fe])return!1;return!0}var Z=l(X),q=l(J);if(Z!==q)return!1;if(Z||q)return y(X)!==y(J)?!1:typeof Uint8Array=="function"&&P(new Uint8Array(X),new Uint8Array(J),le,he);var G=d(X),Y=d(J);if(G!==Y)return!1;if(G||Y)return b(X)!==b(J)?!1:typeof Uint8Array=="function"&&P(new Uint8Array(X),new Uint8Array(J),le,he);if(typeof X!=typeof J)return!1;var ae=h(X),xe=h(J);if(ae.length!==xe.length)return!1;for(ae.sort(),xe.sort(),fe=ae.length-1;fe>=0;fe--)if(ae[fe]!=xe[fe])return!1;for(fe=ae.length-1;fe>=0;fe--)if(me=ae[fe],!P(X[me],J[me],le,he))return!1;var Te=m(X),Se=m(J);return Te!==Se?!1:Te==="Set"||Se==="Set"?W(X,J,le,he):Te==="Map"?I(X,J,le,he):!0}return Qf=function(J,le,he){return P(J,le,he,o())},Qf}var T6=_6();const E6=wg(T6);var Yt={},Rg="1.13.7",m2=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},ul=Array.prototype,Ng=Object.prototype,y2=typeof Symbol<"u"?Symbol.prototype:null,C6=ul.push,Ua=ul.slice,la=Ng.toString,S6=Ng.hasOwnProperty,D_=typeof ArrayBuffer<"u",A6=typeof DataView<"u",U6=Array.isArray,b2=Object.keys,v2=Object.create,x2=D_&&ArrayBuffer.isView,k6=isNaN,F6=isFinite,w_=!{toString:null}.propertyIsEnumerable("toString"),D2=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O6=Math.pow(2,53)-1;function Ot(n,e){return e=e==null?n.length-1:+e,function(){for(var t=Math.max(arguments.length-e,0),r=Array(t),i=0;i<t;i++)r[i]=arguments[i+e];switch(e){case 0:return n.call(this,r);case 1:return n.call(this,arguments[0],r);case 2:return n.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,n.apply(this,o)}}function Lr(n){var e=typeof n;return e==="function"||e==="object"&&!!n}function __(n){return n===null}function Ig(n){return n===void 0}function Bg(n){return n===!0||n===!1||la.call(n)==="[object Boolean]"}function T_(n){return!!(n&&n.nodeType===1)}function St(n){var e="[object "+n+"]";return function(t){return la.call(t)===e}}const fl=St("String"),Mg=St("Number"),E_=St("Date"),C_=St("RegExp"),S_=St("Error"),Wg=St("Symbol"),Lg=St("ArrayBuffer");var A_=St("Function"),R6=m2.document&&m2.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof R6!="function"&&(A_=function(n){return typeof n=="function"||!1});const Tt=A_,U_=St("Object");var k_=A6&&(!/\[native code\]/.test(String(DataView))||U_(new DataView(new ArrayBuffer(8)))),Pg=typeof Map<"u"&&U_(new Map),N6=St("DataView");function I6(n){return n!=null&&Tt(n.getInt8)&&Lg(n.buffer)}const ua=k_?I6:N6,Pr=U6||St("Array");function qr(n,e){return n!=null&&S6.call(n,e)}var dp=St("Arguments");(function(){dp(arguments)||(dp=function(n){return qr(n,"callee")})})();const dl=dp;function F_(n){return!Wg(n)&&F6(n)&&!isNaN(parseFloat(n))}function qg(n){return Mg(n)&&k6(n)}function jg(n){return function(){return n}}function O_(n){return function(e){var t=n(e);return typeof t=="number"&&t>=0&&t<=O6}}function R_(n){return function(e){return e==null?void 0:e[n]}}const Bc=R_("byteLength"),B6=O_(Bc);var M6=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function W6(n){return x2?x2(n)&&!ua(n):B6(n)&&M6.test(la.call(n))}const zg=D_?W6:jg(!1),Wt=R_("length");function L6(n){for(var e={},t=n.length,r=0;r<t;++r)e[n[r]]=!0;return{contains:function(i){return e[i]===!0},push:function(i){return e[i]=!0,n.push(i)}}}function N_(n,e){e=L6(e);var t=D2.length,r=n.constructor,i=Tt(r)&&r.prototype||Ng,o="constructor";for(qr(n,o)&&!e.contains(o)&&e.push(o);t--;)o=D2[t],o in n&&n[o]!==i[o]&&!e.contains(o)&&e.push(o)}function at(n){if(!Lr(n))return[];if(b2)return b2(n);var e=[];for(var t in n)qr(n,t)&&e.push(t);return w_&&N_(n,e),e}function I_(n){if(n==null)return!0;var e=Wt(n);return typeof e=="number"&&(Pr(n)||fl(n)||dl(n))?e===0:Wt(at(n))===0}function $g(n,e){var t=at(e),r=t.length;if(n==null)return!r;for(var i=Object(n),o=0;o<r;o++){var a=t[o];if(e[a]!==i[a]||!(a in i))return!1}return!0}function ze(n){if(n instanceof ze)return n;if(!(this instanceof ze))return new ze(n);this._wrapped=n}ze.VERSION=Rg;ze.prototype.value=function(){return this._wrapped};ze.prototype.valueOf=ze.prototype.toJSON=ze.prototype.value;ze.prototype.toString=function(){return String(this._wrapped)};function w2(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,Bc(n))}var _2="[object DataView]";function hp(n,e,t,r){if(n===e)return n!==0||1/n===1/e;if(n==null||e==null)return!1;if(n!==n)return e!==e;var i=typeof n;return i!=="function"&&i!=="object"&&typeof e!="object"?!1:B_(n,e,t,r)}function B_(n,e,t,r){n instanceof ze&&(n=n._wrapped),e instanceof ze&&(e=e._wrapped);var i=la.call(n);if(i!==la.call(e))return!1;if(k_&&i=="[object Object]"&&ua(n)){if(!ua(e))return!1;i=_2}switch(i){case"[object RegExp]":case"[object String]":return""+n==""+e;case"[object Number]":return+n!=+n?+e!=+e:+n==0?1/+n===1/e:+n==+e;case"[object Date]":case"[object Boolean]":return+n==+e;case"[object Symbol]":return y2.valueOf.call(n)===y2.valueOf.call(e);case"[object ArrayBuffer]":case _2:return B_(w2(n),w2(e),t,r)}var o=i==="[object Array]";if(!o&&zg(n)){var a=Bc(n);if(a!==Bc(e))return!1;if(n.buffer===e.buffer&&n.byteOffset===e.byteOffset)return!0;o=!0}if(!o){if(typeof n!="object"||typeof e!="object")return!1;var s=n.constructor,c=e.constructor;if(s!==c&&!(Tt(s)&&s instanceof s&&Tt(c)&&c instanceof c)&&"constructor"in n&&"constructor"in e)return!1}t=t||[],r=r||[];for(var l=t.length;l--;)if(t[l]===n)return r[l]===e;if(t.push(n),r.push(e),o){if(l=n.length,l!==e.length)return!1;for(;l--;)if(!hp(n[l],e[l],t,r))return!1}else{var u=at(n),f;if(l=u.length,at(e).length!==l)return!1;for(;l--;)if(f=u[l],!(qr(e,f)&&hp(n[f],e[f],t,r)))return!1}return t.pop(),r.pop(),!0}function M_(n,e){return hp(n,e)}function uo(n){if(!Lr(n))return[];var e=[];for(var t in n)e.push(t);return w_&&N_(n,e),e}function Vg(n){var e=Wt(n);return function(t){if(t==null)return!1;var r=uo(t);if(Wt(r))return!1;for(var i=0;i<e;i++)if(!Tt(t[n[i]]))return!1;return n!==P_||!Tt(t[Hg])}}var Hg="forEach",W_="has",Xg=["clear","delete"],L_=["get",W_,"set"],P6=Xg.concat(Hg,L_),P_=Xg.concat(L_),q6=["add"].concat(Xg,Hg,W_);const q_=Pg?Vg(P6):St("Map"),j_=Pg?Vg(P_):St("WeakMap"),z_=Pg?Vg(q6):St("Set"),$_=St("WeakSet");function xi(n){for(var e=at(n),t=e.length,r=Array(t),i=0;i<t;i++)r[i]=n[e[i]];return r}function V_(n){for(var e=at(n),t=e.length,r=Array(t),i=0;i<t;i++)r[i]=[e[i],n[e[i]]];return r}function Gg(n){for(var e={},t=at(n),r=0,i=t.length;r<i;r++)e[n[t[r]]]=t[r];return e}function fa(n){var e=[];for(var t in n)Tt(n[t])&&e.push(t);return e.sort()}function Kg(n,e){return function(t){var r=arguments.length;if(e&&(t=Object(t)),r<2||t==null)return t;for(var i=1;i<r;i++)for(var o=arguments[i],a=n(o),s=a.length,c=0;c<s;c++){var l=a[c];(!e||t[l]===void 0)&&(t[l]=o[l])}return t}}const Jg=Kg(uo),Yi=Kg(at),Zg=Kg(uo,!0);function j6(){return function(){}}function H_(n){if(!Lr(n))return{};if(v2)return v2(n);var e=j6();e.prototype=n;var t=new e;return e.prototype=null,t}function X_(n,e){var t=H_(n);return e&&Yi(t,e),t}function G_(n){return Lr(n)?Pr(n)?n.slice():Jg({},n):n}function K_(n,e){return e(n),n}function Yg(n){return Pr(n)?n:[n]}ze.toPath=Yg;function ka(n){return ze.toPath(n)}function Qg(n,e){for(var t=e.length,r=0;r<t;r++){if(n==null)return;n=n[e[r]]}return t?n:void 0}function em(n,e,t){var r=Qg(n,ka(e));return Ig(r)?t:r}function J_(n,e){e=ka(e);for(var t=e.length,r=0;r<t;r++){var i=e[r];if(!qr(n,i))return!1;n=n[i]}return!!t}function hl(n){return n}function fi(n){return n=Yi({},n),function(e){return $g(e,n)}}function pl(n){return n=ka(n),function(e){return Qg(e,n)}}function Fa(n,e,t){if(e===void 0)return n;switch(t??3){case 1:return function(r){return n.call(e,r)};case 3:return function(r,i,o){return n.call(e,r,i,o)};case 4:return function(r,i,o,a){return n.call(e,r,i,o,a)}}return function(){return n.apply(e,arguments)}}function Z_(n,e,t){return n==null?hl:Tt(n)?Fa(n,e,t):Lr(n)&&!Pr(n)?fi(n):pl(n)}function gl(n,e){return Z_(n,e,1/0)}ze.iteratee=gl;function Lt(n,e,t){return ze.iteratee!==gl?ze.iteratee(n,e):Z_(n,e,t)}function Y_(n,e,t){e=Lt(e,t);for(var r=at(n),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=e(n[s],s,n)}return o}function tm(){}function Q_(n){return n==null?tm:function(e){return em(n,e)}}function eT(n,e,t){var r=Array(Math.max(0,n));e=Fa(e,t,1);for(var i=0;i<n;i++)r[i]=e(i);return r}function Mc(n,e){return e==null&&(e=n,n=0),n+Math.floor(Math.random()*(e-n+1))}const Qi=Date.now||function(){return new Date().getTime()};function tT(n){var e=function(o){return n[o]},t="(?:"+at(n).join("|")+")",r=RegExp(t),i=RegExp(t,"g");return function(o){return o=o==null?"":""+o,r.test(o)?o.replace(i,e):o}}const nT={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},rT=tT(nT),z6=Gg(nT),iT=tT(z6),oT=ze.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ed=/(.)^/,$6={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},V6=/\\|'|\r|\n|\u2028|\u2029/g;function H6(n){return"\\"+$6[n]}var X6=/^\s*(\w|\$)+\s*$/;function aT(n,e,t){!e&&t&&(e=t),e=Zg({},e,ze.templateSettings);var r=RegExp([(e.escape||ed).source,(e.interpolate||ed).source,(e.evaluate||ed).source].join("|")+"|$","g"),i=0,o="__p+='";n.replace(r,function(l,u,f,d,h){return o+=n.slice(i,h).replace(V6,H6),i=h+l.length,u?o+=`'+
|
|
18
|
+
((__t=(`+u+`))==null?'':_.escape(__t))+
|
|
19
|
+
'`:f?o+=`'+
|
|
20
|
+
((__t=(`+f+`))==null?'':__t)+
|
|
21
|
+
'`:d&&(o+=`';
|
|
22
|
+
`+d+`
|
|
23
|
+
__p+='`),l}),o+=`';
|
|
24
|
+
`;var a=e.variable;if(a){if(!X6.test(a))throw new Error("variable is not a bare identifier: "+a)}else o=`with(obj||{}){
|
|
25
|
+
`+o+`}
|
|
26
|
+
`,a="obj";o=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
|
|
27
|
+
`+o+`return __p;
|
|
28
|
+
`;var s;try{s=new Function(a,"_",o)}catch(l){throw l.source=o,l}var c=function(l){return s.call(this,l,ze)};return c.source="function("+a+`){
|
|
29
|
+
`+o+"}",c}function sT(n,e,t){e=ka(e);var r=e.length;if(!r)return Tt(t)?t.call(n):t;for(var i=0;i<r;i++){var o=n==null?void 0:n[e[i]];o===void 0&&(o=t,i=r),n=Tt(o)?o.call(n):o}return n}var G6=0;function cT(n){var e=++G6+"";return n?n+e:e}function lT(n){var e=ze(n);return e._chain=!0,e}function uT(n,e,t,r,i){if(!(r instanceof e))return n.apply(t,i);var o=H_(n.prototype),a=n.apply(o,i);return Lr(a)?a:o}var Di=Ot(function(n,e){var t=Di.placeholder,r=function(){for(var i=0,o=e.length,a=Array(o),s=0;s<o;s++)a[s]=e[s]===t?arguments[i++]:e[s];for(;i<arguments.length;)a.push(arguments[i++]);return uT(n,r,this,this,a)};return r});Di.placeholder=ze;const nm=Ot(function(n,e,t){if(!Tt(n))throw new TypeError("Bind must be called on a function");var r=Ot(function(i){return uT(n,r,e,this,t.concat(i))});return r}),Xt=O_(Wt);function wi(n,e,t,r){if(r=r||[],!e&&e!==0)e=1/0;else if(e<=0)return r.concat(n);for(var i=r.length,o=0,a=Wt(n);o<a;o++){var s=n[o];if(Xt(s)&&(Pr(s)||dl(s)))if(e>1)wi(s,e-1,t,r),i=r.length;else for(var c=0,l=s.length;c<l;)r[i++]=s[c++];else t||(r[i++]=s)}return r}const fT=Ot(function(n,e){e=wi(e,!1,!1);var t=e.length;if(t<1)throw new Error("bindAll must be passed function names");for(;t--;){var r=e[t];n[r]=nm(n[r],n)}return n});function dT(n,e){var t=function(r){var i=t.cache,o=""+(e?e.apply(this,arguments):r);return qr(i,o)||(i[o]=n.apply(this,arguments)),i[o]};return t.cache={},t}const rm=Ot(function(n,e,t){return setTimeout(function(){return n.apply(null,t)},e)}),hT=Di(rm,ze,1);function pT(n,e,t){var r,i,o,a,s=0;t||(t={});var c=function(){s=t.leading===!1?0:Qi(),r=null,a=n.apply(i,o),r||(i=o=null)},l=function(){var u=Qi();!s&&t.leading===!1&&(s=u);var f=e-(u-s);return i=this,o=arguments,f<=0||f>e?(r&&(clearTimeout(r),r=null),s=u,a=n.apply(i,o),r||(i=o=null)):!r&&t.trailing!==!1&&(r=setTimeout(c,f)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l}function gT(n,e,t){var r,i,o,a,s,c=function(){var u=Qi()-i;e>u?r=setTimeout(c,e-u):(r=null,t||(a=n.apply(s,o)),r||(o=s=null))},l=Ot(function(u){return s=this,o=u,i=Qi(),r||(r=setTimeout(c,e),t&&(a=n.apply(s,o))),a});return l.cancel=function(){clearTimeout(r),r=o=s=null},l}function mT(n,e){return Di(e,n)}function ml(n){return function(){return!n.apply(this,arguments)}}function yT(){var n=arguments,e=n.length-1;return function(){for(var t=e,r=n[e].apply(this,arguments);t--;)r=n[t].call(this,r);return r}}function bT(n,e){return function(){if(--n<1)return e.apply(this,arguments)}}function im(n,e){var t;return function(){return--n>0&&(t=e.apply(this,arguments)),n<=1&&(e=null),t}}const vT=Di(im,2);function om(n,e,t){e=Lt(e,t);for(var r=at(n),i,o=0,a=r.length;o<a;o++)if(i=r[o],e(n[i],i,n))return i}function xT(n){return function(e,t,r){t=Lt(t,r);for(var i=Wt(e),o=n>0?0:i-1;o>=0&&o<i;o+=n)if(t(e[o],o,e))return o;return-1}}const yl=xT(1),am=xT(-1);function sm(n,e,t,r){t=Lt(t,r,1);for(var i=t(e),o=0,a=Wt(n);o<a;){var s=Math.floor((o+a)/2);t(n[s])<i?o=s+1:a=s}return o}function DT(n,e,t){return function(r,i,o){var a=0,s=Wt(r);if(typeof o=="number")n>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(t&&o&&s)return o=t(r,i),r[o]===i?o:-1;if(i!==i)return o=e(Ua.call(r,a,s),qg),o>=0?o+a:-1;for(o=n>0?a:s-1;o>=0&&o<s;o+=n)if(r[o]===i)return o;return-1}}const cm=DT(1,yl,sm),wT=DT(-1,am);function da(n,e,t){var r=Xt(n)?yl:om,i=r(n,e,t);if(i!==void 0&&i!==-1)return n[i]}function _T(n,e){return da(n,fi(e))}function mn(n,e,t){e=Fa(e,t);var r,i;if(Xt(n))for(r=0,i=n.length;r<i;r++)e(n[r],r,n);else{var o=at(n);for(r=0,i=o.length;r<i;r++)e(n[o[r]],o[r],n)}return n}function Zn(n,e,t){e=Lt(e,t);for(var r=!Xt(n)&&at(n),i=(r||n).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=e(n[s],s,n)}return o}function TT(n){var e=function(t,r,i,o){var a=!Xt(t)&&at(t),s=(a||t).length,c=n>0?0:s-1;for(o||(i=t[a?a[c]:c],c+=n);c>=0&&c<s;c+=n){var l=a?a[c]:c;i=r(i,t[l],l,t)}return i};return function(t,r,i,o){var a=arguments.length>=3;return e(t,Fa(r,o,4),i,a)}}const $i=TT(1),Wc=TT(-1);function Or(n,e,t){var r=[];return e=Lt(e,t),mn(n,function(i,o,a){e(i,o,a)&&r.push(i)}),r}function ET(n,e,t){return Or(n,ml(Lt(e)),t)}function Lc(n,e,t){e=Lt(e,t);for(var r=!Xt(n)&&at(n),i=(r||n).length,o=0;o<i;o++){var a=r?r[o]:o;if(!e(n[a],a,n))return!1}return!0}function Pc(n,e,t){e=Lt(e,t);for(var r=!Xt(n)&&at(n),i=(r||n).length,o=0;o<i;o++){var a=r?r[o]:o;if(e(n[a],a,n))return!0}return!1}function an(n,e,t,r){return Xt(n)||(n=xi(n)),(typeof t!="number"||r)&&(t=0),cm(n,e,t)>=0}const CT=Ot(function(n,e,t){var r,i;return Tt(e)?i=e:(e=ka(e),r=e.slice(0,-1),e=e[e.length-1]),Zn(n,function(o){var a=i;if(!a){if(r&&r.length&&(o=Qg(o,r)),o==null)return;a=o[e]}return a==null?a:a.apply(o,t)})});function bl(n,e){return Zn(n,pl(e))}function ST(n,e){return Or(n,fi(e))}function lm(n,e,t){var r=-1/0,i=-1/0,o,a;if(e==null||typeof e=="number"&&typeof n[0]!="object"&&n!=null){n=Xt(n)?n:xi(n);for(var s=0,c=n.length;s<c;s++)o=n[s],o!=null&&o>r&&(r=o)}else e=Lt(e,t),mn(n,function(l,u,f){a=e(l,u,f),(a>i||a===-1/0&&r===-1/0)&&(r=l,i=a)});return r}function AT(n,e,t){var r=1/0,i=1/0,o,a;if(e==null||typeof e=="number"&&typeof n[0]!="object"&&n!=null){n=Xt(n)?n:xi(n);for(var s=0,c=n.length;s<c;s++)o=n[s],o!=null&&o<r&&(r=o)}else e=Lt(e,t),mn(n,function(l,u,f){a=e(l,u,f),(a<i||a===1/0&&r===1/0)&&(r=l,i=a)});return r}var K6=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function um(n){return n?Pr(n)?Ua.call(n):fl(n)?n.match(K6):Xt(n)?Zn(n,hl):xi(n):[]}function fm(n,e,t){if(e==null||t)return Xt(n)||(n=xi(n)),n[Mc(n.length-1)];var r=um(n),i=Wt(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,a=0;a<e;a++){var s=Mc(a,o),c=r[a];r[a]=r[s],r[s]=c}return r.slice(0,e)}function UT(n){return fm(n,1/0)}function kT(n,e,t){var r=0;return e=Lt(e,t),bl(Zn(n,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 vl(n,e){return function(t,r,i){var o=e?[[],[]]:{};return r=Lt(r,i),mn(t,function(a,s){var c=r(a,s,t);n(o,a,c)}),o}}const FT=vl(function(n,e,t){qr(n,t)?n[t].push(e):n[t]=[e]}),OT=vl(function(n,e,t){n[t]=e}),RT=vl(function(n,e,t){qr(n,t)?n[t]++:n[t]=1}),NT=vl(function(n,e,t){n[t?0:1].push(e)},!0);function IT(n){return n==null?0:Xt(n)?n.length:at(n).length}function J6(n,e,t){return e in t}const dm=Ot(function(n,e){var t={},r=e[0];if(n==null)return t;Tt(r)?(e.length>1&&(r=Fa(r,e[1])),e=uo(n)):(r=J6,e=wi(e,!1,!1),n=Object(n));for(var i=0,o=e.length;i<o;i++){var a=e[i],s=n[a];r(s,a,n)&&(t[a]=s)}return t}),BT=Ot(function(n,e){var t=e[0],r;return Tt(t)?(t=ml(t),e.length>1&&(r=e[1])):(e=Zn(wi(e,!1,!1),String),t=function(i,o){return!an(e,o)}),dm(n,t,r)});function hm(n,e,t){return Ua.call(n,0,Math.max(0,n.length-(e==null||t?1:e)))}function Vi(n,e,t){return n==null||n.length<1?e==null||t?void 0:[]:e==null||t?n[0]:hm(n,n.length-e)}function oi(n,e,t){return Ua.call(n,e==null||t?1:e)}function MT(n,e,t){return n==null||n.length<1?e==null||t?void 0:[]:e==null||t?n[n.length-1]:oi(n,Math.max(0,n.length-e))}function WT(n){return Or(n,Boolean)}function LT(n,e){return wi(n,e,!1)}const pm=Ot(function(n,e){return e=wi(e,!0,!0),Or(n,function(t){return!an(e,t)})}),PT=Ot(function(n,e){return pm(n,e)});function ha(n,e,t,r){Bg(e)||(r=t,t=e,e=!1),t!=null&&(t=Lt(t,r));for(var i=[],o=[],a=0,s=Wt(n);a<s;a++){var c=n[a],l=t?t(c,a,n):c;e&&!t?((!a||o!==l)&&i.push(c),o=l):t?an(o,l)||(o.push(l),i.push(c)):an(i,c)||i.push(c)}return i}const qT=Ot(function(n){return ha(wi(n,!0,!0))});function jT(n){for(var e=[],t=arguments.length,r=0,i=Wt(n);r<i;r++){var o=n[r];if(!an(e,o)){var a;for(a=1;a<t&&an(arguments[a],o);a++);a===t&&e.push(o)}}return e}function pa(n){for(var e=n&&lm(n,Wt).length||0,t=Array(e),r=0;r<e;r++)t[r]=bl(n,r);return t}const zT=Ot(pa);function $T(n,e){for(var t={},r=0,i=Wt(n);r<i;r++)e?t[n[r]]=e[r]:t[n[r][0]]=n[r][1];return t}function VT(n,e,t){e==null&&(e=n||0,n=0),t||(t=e<n?-1:1);for(var r=Math.max(Math.ceil((e-n)/t),0),i=Array(r),o=0;o<r;o++,n+=t)i[o]=n;return i}function HT(n,e){if(e==null||e<1)return[];for(var t=[],r=0,i=n.length;r<i;)t.push(Ua.call(n,r,r+=e));return t}function gm(n,e){return n._chain?ze(e).chain():e}function mm(n){return mn(fa(n),function(e){var t=ze[e]=n[e];ze.prototype[e]=function(){var r=[this._wrapped];return C6.apply(r,arguments),gm(this,t.apply(ze,r))}}),ze}mn(["pop","push","reverse","shift","sort","splice","unshift"],function(n){var e=ul[n];ze.prototype[n]=function(){var t=this._wrapped;return t!=null&&(e.apply(t,arguments),(n==="shift"||n==="splice")&&t.length===0&&delete t[0]),gm(this,t)}});mn(["concat","join","slice"],function(n){var e=ul[n];ze.prototype[n]=function(){var t=this._wrapped;return t!=null&&(t=e.apply(t,arguments)),gm(this,t)}});const Z6=Object.freeze(Object.defineProperty({__proto__:null,VERSION:Rg,after:bT,all:Lc,allKeys:uo,any:Pc,assign:Yi,before:im,bind:nm,bindAll:fT,chain:lT,chunk:HT,clone:G_,collect:Zn,compact:WT,compose:yT,constant:jg,contains:an,countBy:RT,create:X_,debounce:gT,default:ze,defaults:Zg,defer:hT,delay:rm,detect:da,difference:pm,drop:oi,each:mn,escape:rT,every:Lc,extend:Jg,extendOwn:Yi,filter:Or,find:da,findIndex:yl,findKey:om,findLastIndex:am,findWhere:_T,first:Vi,flatten:LT,foldl:$i,foldr:Wc,forEach:mn,functions:fa,get:em,groupBy:FT,has:J_,head:Vi,identity:hl,include:an,includes:an,indexBy:OT,indexOf:cm,initial:hm,inject:$i,intersection:jT,invert:Gg,invoke:CT,isArguments:dl,isArray:Pr,isArrayBuffer:Lg,isBoolean:Bg,isDataView:ua,isDate:E_,isElement:T_,isEmpty:I_,isEqual:M_,isError:S_,isFinite:F_,isFunction:Tt,isMap:q_,isMatch:$g,isNaN:qg,isNull:__,isNumber:Mg,isObject:Lr,isRegExp:C_,isSet:z_,isString:fl,isSymbol:Wg,isTypedArray:zg,isUndefined:Ig,isWeakMap:j_,isWeakSet:$_,iteratee:gl,keys:at,last:MT,lastIndexOf:wT,map:Zn,mapObject:Y_,matcher:fi,matches:fi,max:lm,memoize:dT,methods:fa,min:AT,mixin:mm,negate:ml,noop:tm,now:Qi,object:$T,omit:BT,once:vT,pairs:V_,partial:Di,partition:NT,pick:dm,pluck:bl,property:pl,propertyOf:Q_,random:Mc,range:VT,reduce:$i,reduceRight:Wc,reject:ET,rest:oi,restArguments:Ot,result:sT,sample:fm,select:Or,shuffle:UT,size:IT,some:Pc,sortBy:kT,sortedIndex:sm,tail:oi,take:Vi,tap:K_,template:aT,templateSettings:oT,throttle:pT,times:eT,toArray:um,toPath:Yg,transpose:pa,unescape:iT,union:qT,uniq:ha,unique:ha,uniqueId:cT,unzip:pa,values:xi,where:ST,without:PT,wrap:mT,zip:zT},Symbol.toStringTag,{value:"Module"}));var pp=mm(Z6);pp._=pp;const Y6=Object.freeze(Object.defineProperty({__proto__:null,VERSION:Rg,after:bT,all:Lc,allKeys:uo,any:Pc,assign:Yi,before:im,bind:nm,bindAll:fT,chain:lT,chunk:HT,clone:G_,collect:Zn,compact:WT,compose:yT,constant:jg,contains:an,countBy:RT,create:X_,debounce:gT,default:pp,defaults:Zg,defer:hT,delay:rm,detect:da,difference:pm,drop:oi,each:mn,escape:rT,every:Lc,extend:Jg,extendOwn:Yi,filter:Or,find:da,findIndex:yl,findKey:om,findLastIndex:am,findWhere:_T,first:Vi,flatten:LT,foldl:$i,foldr:Wc,forEach:mn,functions:fa,get:em,groupBy:FT,has:J_,head:Vi,identity:hl,include:an,includes:an,indexBy:OT,indexOf:cm,initial:hm,inject:$i,intersection:jT,invert:Gg,invoke:CT,isArguments:dl,isArray:Pr,isArrayBuffer:Lg,isBoolean:Bg,isDataView:ua,isDate:E_,isElement:T_,isEmpty:I_,isEqual:M_,isError:S_,isFinite:F_,isFunction:Tt,isMap:q_,isMatch:$g,isNaN:qg,isNull:__,isNumber:Mg,isObject:Lr,isRegExp:C_,isSet:z_,isString:fl,isSymbol:Wg,isTypedArray:zg,isUndefined:Ig,isWeakMap:j_,isWeakSet:$_,iteratee:gl,keys:at,last:MT,lastIndexOf:wT,map:Zn,mapObject:Y_,matcher:fi,matches:fi,max:lm,memoize:dT,methods:fa,min:AT,mixin:mm,negate:ml,noop:tm,now:Qi,object:$T,omit:BT,once:vT,pairs:V_,partial:Di,partition:NT,pick:dm,pluck:bl,property:pl,propertyOf:Q_,random:Mc,range:VT,reduce:$i,reduceRight:Wc,reject:ET,rest:oi,restArguments:Ot,result:sT,sample:fm,select:Or,shuffle:UT,size:IT,some:Pc,sortBy:kT,sortedIndex:sm,tail:oi,take:Vi,tap:K_,template:aT,templateSettings:oT,throttle:pT,times:eT,toArray:um,toPath:Yg,transpose:pa,unescape:iT,union:qT,uniq:ha,unique:ha,uniqueId:cT,unzip:pa,values:xi,where:ST,without:PT,wrap:mT,zip:zT},Symbol.toStringTag,{value:"Module"})),rt=Yw(Y6);var Ka={},Qt={},td={exports:{}},Ja={exports:{}},T2;function fo(){if(T2)return Ja.exports;T2=1;var n=function(){return this===void 0}();if(n)Ja.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:n,propertyIsWritable:function(u,f){var d=Object.getOwnPropertyDescriptor(u,f);return!!(!d||d.writable||d.set)}};else{var e={}.hasOwnProperty,t={}.toString,r={}.constructor.prototype,i=function(u){var f=[];for(var d in u)e.call(u,d)&&f.push(d);return f},o=function(u,f){return{value:u[f]}},a=function(u,f,d){return u[f]=d.value,u},s=function(u){return u},c=function(u){try{return Object(u).constructor.prototype}catch{return r}},l=function(u){try{return t.call(u)==="[object Array]"}catch{return!1}};Ja.exports={isArray:l,keys:i,names:i,defineProperty:a,getDescriptor:o,freeze:s,getPrototypeOf:c,isES5:n,propertyIsWritable:function(){return!0}}}return Ja.exports}var _o,E2;function He(){if(E2)return _o;E2=1;var n=fo(),e=typeof navigator>"u",t={e:{}},r,i=typeof self<"u"?self:typeof window<"u"?window:typeof rn<"u"?rn:_o!==void 0?_o:null;function o(){try{var I=r;return r=null,I.apply(this,arguments)}catch(oe){return t.e=oe,t}}function a(I){return r=I,o}var s=function(I,oe){var X={}.hasOwnProperty;function J(){this.constructor=I,this.constructor$=oe;for(var le in oe.prototype)X.call(oe.prototype,le)&&le.charAt(le.length-1)!=="$"&&(this[le+"$"]=oe.prototype[le])}return J.prototype=oe.prototype,I.prototype=new J,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(E(I)):I}function f(I,oe){var X=I.length,J=new Array(X+1),le;for(le=0;le<X;++le)J[le]=I[le];return J[le]=oe,J}function d(I,oe,X){if(n.isES5){var J=Object.getOwnPropertyDescriptor(I,oe);if(J!=null)return J.get==null&&J.set==null?J.value:X}else return{}.hasOwnProperty.call(I,oe)?I[oe]:void 0}function h(I,oe,X){if(c(I))return I;var J={value:X,configurable:!0,enumerable:!1,writable:!0};return n.defineProperty(I,oe,J),I}function p(I){throw I}var m=function(){var I=[Array.prototype,Object.prototype,Function.prototype],oe=function(le){for(var he=0;he<I.length;++he)if(I[he]===le)return!0;return!1};if(n.isES5){var X=Object.getOwnPropertyNames;return function(le){for(var he=[],fe=Object.create(null);le!=null&&!oe(le);){var me;try{me=X(le)}catch{return he}for(var de=0;de<me.length;++de){var ge=me[de];if(!fe[ge]){fe[ge]=!0;var ye=Object.getOwnPropertyDescriptor(le,ge);ye!=null&&ye.get==null&&ye.set==null&&he.push(ge)}}le=n.getPrototypeOf(le)}return he}}else{var J={}.hasOwnProperty;return function(le){if(oe(le))return[];var he=[];e:for(var fe in le)if(J.call(le,fe))he.push(fe);else{for(var me=0;me<I.length;++me)if(J.call(I[me],fe))continue e;he.push(fe)}return he}}}(),g=/this\s*\.\s*\S+\s*=/;function y(I){try{if(typeof I=="function"){var oe=n.names(I.prototype),X=n.isES5&&oe.length>1,J=oe.length>0&&!(oe.length===1&&oe[0]==="constructor"),le=g.test(I+"")&&n.names(I).length>0;if(X||J||le)return!0}return!1}catch{return!1}}function b(I){return I}var v=/^[a-z$_][a-z$_0-9]*$/i;function T(I){return v.test(I)}function w(I,oe,X){for(var J=new Array(I),le=0;le<I;++le)J[le]=oe+le+X;return J}function E(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 U(I){try{h(I,"isOperational",!0)}catch{}}function C(I){return I==null?!1:I instanceof Error.__BluebirdErrorTypes__.OperationalError||I.isOperational===!0}function R(I){return S(I)&&n.propertyIsWritable(I,"stack")}var L=function(){return"stack"in new Error?function(I){return R(I)?I:new Error(E(I))}:function(I){if(R(I))return I;try{throw new Error(E(I))}catch(oe){return oe}}}();function _(I){return{}.toString.call(I)}function k(I,oe,X){for(var J=n.names(I),le=0;le<J.length;++le){var he=J[le];if(X(he))try{n.defineProperty(oe,he,n.getDescriptor(I,he))}catch{}}}var x=function(I){return n.isArray(I)?I:null};if(typeof Symbol<"u"&&Symbol.iterator){var j=typeof Array.from=="function"?function(I){return Array.from(I)}:function(I){for(var oe=[],X=I[Symbol.iterator](),J;!(J=X.next()).done;)oe.push(J.value);return oe};x=function(I){return n.isArray(I)?I:I!=null&&typeof I[Symbol.iterator]=="function"?j(I):null}}var F=typeof process<"u"&&_(process).toLowerCase()==="[object process]",B=typeof process<"u"&&typeof process.env<"u";function K(I){return B?process.env[I]:void 0}function P(){if(typeof Promise=="function")try{var I=new Promise(function(){});if({}.toString.call(I)==="[object Promise]")return Promise}catch{}}function te(I,oe){return I.bind(oe)}var W={isClass:y,isIdentifier:T,inheritedDataKeys:m,getDataPropertyOrDefault:d,thrower:p,isArray:n.isArray,asArray:x,notEnumerableProp:h,isPrimitive:c,isObject:l,isError:S,canEvaluate:e,errorObj:t,tryCatch:a,inherits:s,withAppended:f,maybeWrapAsError:u,toFastProperties:b,filledRange:w,toString:E,canAttachTrace:R,ensureErrorObject:L,originatesFromRejection:C,markAsOriginatingFromRejection:U,classString:_,copyDescriptors:k,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes=="function",isNode:F,hasEnvVariables:B,env:K,global:i,getNativePromise:P,domainBind:te};W.isRecentNode=W.isNode&&function(){var I=process.versions.node.split(".").map(Number);return I[0]===0&&I[1]>10||I[0]>0}(),W.isNode&&W.toFastProperties(process);try{throw new Error}catch(I){W.lastLineError=I}return _o=W,_o}var Za={exports:{}},nd,C2;function Q6(){if(C2)return nd;C2=1;var n=He(),e,t=function(){throw new Error(`No async scheduler available
|
|
30
|
+
|
|
31
|
+
See http://goo.gl/MqrFmX
|
|
32
|
+
`)},r=n.getNativePromise();if(n.isNode&&typeof MutationObserver>"u"){var i=rn.setImmediate,o=process.nextTick;e=n.isRecentNode?function(s){i.call(rn,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"),f=new MutationObserver(function(){s.classList.toggle("foo"),l=!1});f.observe(u,c);var d=function(){l||(l=!0,u.classList.toggle("foo"))};return function(p){var m=new MutationObserver(function(){m.disconnect(),p()});m.observe(s,c),d()}}():typeof setImmediate<"u"?e=function(s){setImmediate(s)}:typeof setTimeout<"u"?e=function(s){setTimeout(s,0)}:e=t;return nd=e,nd}var rd,S2;function e9(){if(S2)return rd;S2=1;function n(t,r,i,o,a){for(var s=0;s<a;++s)i[s+o]=t[s+r],t[s+r]=void 0}function e(t){this._capacity=t,this._length=0,this._front=0}return e.prototype._willBeOverCapacity=function(t){return this._capacity<t},e.prototype._pushOne=function(t){var r=this.length();this._checkCapacity(r+1);var i=this._front+r&this._capacity-1;this[i]=t,this._length=r+1},e.prototype.push=function(t,r,i){var o=this.length()+3;if(this._willBeOverCapacity(o)){this._pushOne(t),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]=t,this[a+1&s]=r,this[a+2&s]=i,this._length=o},e.prototype.shift=function(){var t=this._front,r=this[t];return this[t]=void 0,this._front=t+1&this._capacity-1,this._length--,r},e.prototype.length=function(){return this._length},e.prototype._checkCapacity=function(t){this._capacity<t&&this._resizeTo(this._capacity<<1)},e.prototype._resizeTo=function(t){var r=this._capacity;this._capacity=t;var i=this._front,o=this._length,a=i+o&r-1;n(this,0,this,r,a)},rd=e,rd}var A2;function t9(){if(A2)return Za.exports;A2=1;var n;try{throw new Error}catch(c){n=c}var e=Q6(),t=e9(),r=He();function i(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new t(16),this._normalQueue=new t(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)+`
|
|
33
|
+
`),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
|
|
34
|
+
|
|
35
|
+
See http://goo.gl/MqrFmX
|
|
36
|
+
`)}};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(),f=c.shift();l.call(u,f)}},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},Za.exports=i,Za.exports.firstLineError=n,Za.exports}var id,U2;function Rr(){if(U2)return id;U2=1;var n=fo(),e=n.freeze,t=He(),r=t.inherits,i=t.notEnumerableProp;function o(y,b){function v(T){if(!(this instanceof v))return new v(T);i(this,"message",typeof T=="string"?T: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"),f=o("AggregateError","aggregate error");try{a=TypeError,s=RangeError}catch{a=o("TypeError","type error"),s=o("RangeError","range error")}for(var d="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),h=0;h<d.length;++h)typeof Array.prototype[d[h]]=="function"&&(f.prototype[d[h]]=Array.prototype[d[h]]);n.defineProperty(f.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),f.prototype.isOperational=!0;var p=0;f.prototype.toString=function(){var y=Array(p*4+1).join(" "),b=`
|
|
37
|
+
`+y+`AggregateError of:
|
|
38
|
+
`;p++,y=Array(p*4+1).join(" ");for(var v=0;v<this.length;++v){for(var T=this[v]===this?"[Circular AggregateError]":this[v]+"",w=T.split(`
|
|
39
|
+
`),E=0;E<w.length;++E)w[E]=y+w[E];T=w.join(`
|
|
40
|
+
`),b+=T+`
|
|
41
|
+
`}return p--,b};function m(y){if(!(this instanceof m))return new m(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(m,Error);var g=Error.__BluebirdErrorTypes__;return g||(g=e({CancellationError:l,TimeoutError:u,OperationalError:m,RejectionError:m,AggregateError:f}),n.defineProperty(Error,"__BluebirdErrorTypes__",{value:g,writable:!1,enumerable:!1,configurable:!1})),id={Error,TypeError:a,RangeError:s,CancellationError:g.CancellationError,OperationalError:g.OperationalError,TimeoutError:g.TimeoutError,AggregateError:g.AggregateError,Warning:c},id}var od,k2;function n9(){return k2||(k2=1,od=function(n,e){var t=He(),r=t.errorObj,i=t.isObject;function o(f,d){if(i(f)){if(f instanceof n)return f;var h=s(f);if(h===r){d&&d._pushContext();var p=n.reject(h.e);return d&&d._popContext(),p}else if(typeof h=="function"){if(l(f)){var p=new n(e);return f._then(p._fulfill,p._reject,void 0,p,null),p}return u(f,h,d)}}return f}function a(f){return f.then}function s(f){try{return a(f)}catch(d){return r.e=d,r}}var c={}.hasOwnProperty;function l(f){try{return c.call(f,"_promise0")}catch{return!1}}function u(f,d,h){var p=new n(e),m=p;h&&h._pushContext(),p._captureStackTrace(),h&&h._popContext();var g=!0,y=t.tryCatch(d).call(f,b,v);g=!1,p&&y===r&&(p._rejectCallback(y.e,!0,!0),p=null);function b(T){p&&(p._resolveCallback(T),p=null)}function v(T){p&&(p._rejectCallback(T,g,!0),p=null)}return m}return o}),od}var ad,F2;function r9(){return F2||(F2=1,ad=function(n,e,t,r,i){var o=He();o.isArray;function a(c){switch(c){case-2:return[];case-3:return{}}}function s(c){var l=this._promise=new n(e);c instanceof n&&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 f=t(this._values,this._promise);if(f instanceof n){f=f._target();var d=f._bitField;if(this._values=f,(d&50397184)===0)return this._promise._setAsyncGuaranteed(),f._then(c,this._reject,void 0,this,u);if((d&33554432)!==0)f=f._value();else return(d&16777216)!==0?this._reject(f._reason()):this._cancel()}if(f=o.asArray(f),f===null){var h=r("expecting an array or an iterable object but got "+o.classString(f)).reason();this._promise._rejectCallback(h,!1);return}if(f.length===0){u===-5?this._resolveEmptyArray():this._resolve(a(u));return}this._iterate(f)},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,f=!1,d=null,h=0;h<l;++h){var p=t(c[h],u);p instanceof n?(p=p._target(),d=p._bitField):d=null,f?d!==null&&p.suppressUnhandledRejections():d!==null?(d&50397184)===0?(p._proxy(this,h),this._values[h]=p):(d&33554432)!==0?f=this._promiseFulfilled(p._value(),h):(d&16777216)!==0?f=this._promiseRejected(p._reason(),h):f=this._promiseCancelled(h):f=this._promiseFulfilled(p,h)}f||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 n)c.cancel();else for(var l=0;l<c.length;++l)c[l]instanceof n&&c[l].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(c){return c},s}),ad}var sd,O2;function i9(){return O2||(O2=1,sd=function(n){var e=!1,t=[];n.prototype._promiseCreated=function(){},n.prototype._pushContext=function(){},n.prototype._popContext=function(){return null},n._peekContext=n.prototype._peekContext=function(){};function r(){this._trace=new r.CapturedTrace(o())}r.prototype._pushContext=function(){this._trace!==void 0&&(this._trace._promiseCreated=null,t.push(this._trace))},r.prototype._popContext=function(){if(this._trace!==void 0){var a=t.pop(),s=a._promiseCreated;return a._promiseCreated=null,s}return null};function i(){if(e)return new r}function o(){var a=t.length-1;if(a>=0)return t[a]}return r.CapturedTrace=null,r.create=i,r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var a=n.prototype._pushContext,s=n.prototype._popContext,c=n._peekContext,l=n.prototype._peekContext,u=n.prototype._promiseCreated;r.deactivateLongStackTraces=function(){n.prototype._pushContext=a,n.prototype._popContext=s,n._peekContext=c,n.prototype._peekContext=l,n.prototype._promiseCreated=u,e=!1},e=!0,n.prototype._pushContext=r.prototype._pushContext,n.prototype._popContext=r.prototype._popContext,n._peekContext=n.prototype._peekContext=o,n.prototype._promiseCreated=function(){var f=this._peekContext();f&&f._promiseCreated==null&&(f._promiseCreated=this)}},r}),sd}var cd,R2;function o9(){return R2||(R2=1,cd=function(n,e){var t=n._getDomain,r=n._async,i=Rr().Warning,o=He(),a=o.canAttachTrace,s,c,l=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,u=/\((?:timers\.js):\d+:\d+\)/,f=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,d=null,h=null,p=!1,m,g=!!(o.env("BLUEBIRD_DEBUG")!=0&&(o.env("BLUEBIRD_DEBUG")||o.env("NODE_ENV")==="development")),y=!!(o.env("BLUEBIRD_WARNINGS")!=0&&(g||o.env("BLUEBIRD_WARNINGS"))),b=!!(o.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(g||o.env("BLUEBIRD_LONG_STACK_TRACES"))),v=o.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(y||!!o.env("BLUEBIRD_W_FORGOTTEN_RETURN"));n.prototype.suppressUnhandledRejections=function(){var q=this._target();q._bitField=q._bitField&-1048577|524288},n.prototype._ensurePossibleRejectionHandled=function(){(this._bitField&524288)===0&&(this._setRejectionIsUnhandled(),r.invokeLater(this._notifyUnhandledRejection,this,void 0))},n.prototype._notifyUnhandledRejectionIsHandled=function(){ye("rejectionHandled",s,void 0,this)},n.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},n.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},n.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var q=this._settledValue();this._setUnhandledRejectionIsNotified(),ye("unhandledRejection",c,q,this)}},n.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},n.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},n.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},n.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},n.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},n.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},n.prototype._warn=function(q,G,Y){return X(q,G,Y||this)},n.onPossiblyUnhandledRejection=function(q){var G=t();c=typeof q=="function"?G===null?q:o.domainBind(G,q):void 0},n.onUnhandledRejectionHandled=function(q){var G=t();s=typeof q=="function"?G===null?q:o.domainBind(G,q):void 0};var T=function(){};n.longStackTraces=function(){if(r.haveItemsQueued()&&!Z.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
|
|
42
|
+
|
|
43
|
+
See http://goo.gl/MqrFmX
|
|
44
|
+
`);if(!Z.longStackTraces&&V()){var q=n.prototype._captureStackTrace,G=n.prototype._attachExtraTrace;Z.longStackTraces=!0,T=function(){if(r.haveItemsQueued()&&!Z.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
|
|
45
|
+
|
|
46
|
+
See http://goo.gl/MqrFmX
|
|
47
|
+
`);n.prototype._captureStackTrace=q,n.prototype._attachExtraTrace=G,e.deactivateLongStackTraces(),r.enableTrampoline(),Z.longStackTraces=!1},n.prototype._captureStackTrace=te,n.prototype._attachExtraTrace=W,e.activateLongStackTraces(),r.disableTrampolineIfNecessary()}},n.hasLongStackTraces=function(){return Z.longStackTraces&&V()};var w=function(){try{if(typeof CustomEvent=="function"){var q=new CustomEvent("CustomEvent");return o.global.dispatchEvent(q),function(G,Y){var ae=new CustomEvent(G.toLowerCase(),{detail:Y,cancelable:!0});return!o.global.dispatchEvent(ae)}}else if(typeof Event=="function"){var q=new Event("CustomEvent");return o.global.dispatchEvent(q),function(Y,ae){var xe=new Event(Y.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(Y,ae){var xe=document.createEvent("CustomEvent");return xe.initCustomEvent(Y.toLowerCase(),!1,!0,ae),!o.global.dispatchEvent(xe)}}}catch{}return function(){return!1}}(),E=function(){return o.isNode?function(){return process.emit.apply(process,arguments)}:o.global?function(q){var G="on"+q.toLowerCase(),Y=o.global[G];return Y?(Y.apply(o.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function S(q,G){return{promise:G}}var U={promiseCreated:S,promiseFulfilled:S,promiseRejected:S,promiseResolved:S,promiseCancelled:S,promiseChained:function(q,G,Y){return{promise:G,child:Y}},warning:function(q,G){return{warning:G}},unhandledRejection:function(q,G,Y){return{reason:G,promise:Y}},rejectionHandled:S},C=function(q){var G=!1;try{G=E.apply(null,arguments)}catch(ae){r.throwLater(ae),G=!0}var Y=!1;try{Y=w(q,U[q].apply(null,arguments))}catch(ae){r.throwLater(ae),Y=!0}return Y||G};n.config=function(q){if(q=Object(q),"longStackTraces"in q&&(q.longStackTraces?n.longStackTraces():!q.longStackTraces&&n.hasLongStackTraces()&&T()),"warnings"in q){var G=q.warnings;Z.warnings=!!G,v=Z.warnings,o.isObject(G)&&"wForgottenReturn"in G&&(v=!!G.wForgottenReturn)}if("cancellation"in q&&q.cancellation&&!Z.cancellation){if(r.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");n.prototype._clearCancellationData=j,n.prototype._propagateFrom=F,n.prototype._onCancel=k,n.prototype._setOnCancel=x,n.prototype._attachCancellationCallback=_,n.prototype._execute=L,K=F,Z.cancellation=!0}return"monitoring"in q&&(q.monitoring&&!Z.monitoring?(Z.monitoring=!0,n.prototype._fireEvent=C):!q.monitoring&&Z.monitoring&&(Z.monitoring=!1,n.prototype._fireEvent=R)),n};function R(){return!1}n.prototype._fireEvent=R,n.prototype._execute=function(q,G,Y){try{q(G,Y)}catch(ae){return ae}},n.prototype._onCancel=function(){},n.prototype._setOnCancel=function(q){},n.prototype._attachCancellationCallback=function(q){},n.prototype._captureStackTrace=function(){},n.prototype._attachExtraTrace=function(){},n.prototype._clearCancellationData=function(){},n.prototype._propagateFrom=function(q,G){};function L(q,G,Y){var ae=this;try{q(G,Y,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 _(q){if(!this._isCancellable())return this;var G=this._onCancel();G!==void 0?o.isArray(G)?G.push(q):this._setOnCancel([G,q]):this._setOnCancel(q)}function k(){return this._onCancelField}function x(q){this._onCancelField=q}function j(){this._cancellationParent=void 0,this._onCancelField=void 0}function F(q,G){if((G&1)!==0){this._cancellationParent=q;var Y=q._branchesRemainingToCancel;Y===void 0&&(Y=0),q._branchesRemainingToCancel=Y+1}(G&2)!==0&&q._isBound()&&this._setBoundTo(q._boundTo)}function B(q,G){(G&2)!==0&&q._isBound()&&this._setBoundTo(q._boundTo)}var K=B;function P(){var q=this._boundTo;return q!==void 0&&q instanceof n?q.isFulfilled()?q.value():void 0:q}function te(){this._trace=new ie(this._peekContext())}function W(q,G){if(a(q)){var Y=this._trace;if(Y!==void 0&&G&&(Y=Y._parent),Y!==void 0)Y.attachExtraTrace(q);else if(!q.__stackCleaned__){var ae=de(q);o.notEnumerableProp(q,"stack",ae.message+`
|
|
48
|
+
`+ae.stack.join(`
|
|
49
|
+
`)),o.notEnumerableProp(q,"__stackCleaned__",!0)}}}function I(q,G,Y,ae,xe){if(q===void 0&&G!==null&&v){if(xe!==void 0&&xe._returnedNonUndefined()||(ae._bitField&65535)===0)return;Y&&(Y=Y+" ");var Te="",Se="";if(G._trace){for(var Ce=G._trace.stack.split(`
|
|
50
|
+
`),ee=fe(Ce),ue=ee.length-1;ue>=0;--ue){var ve=ee[ue];if(!u.test(ve)){var Ee=ve.match(f);Ee&&(Te="at "+Ee[1]+":"+Ee[2]+":"+Ee[3]+" ");break}}if(ee.length>0){for(var ke=ee[0],ue=0;ue<Ce.length;++ue)if(Ce[ue]===ke){ue>0&&(Se=`
|
|
51
|
+
`+Ce[ue-1]);break}}}var Q="a promise was created in a "+Y+"handler "+Te+"but was not returned from it, see http://goo.gl/rRqMUw"+Se;ae._warn(Q,!0,G)}}function oe(q,G){var Y=q+" is deprecated and will be removed in a future version.";return G&&(Y+=" Use "+G+" instead."),X(Y)}function X(q,G,Y){if(Z.warnings){var ae=new i(q),xe;if(G)Y._attachExtraTrace(ae);else if(Z.longStackTraces&&(xe=n._peekContext()))xe.attachExtraTrace(ae);else{var Te=de(ae);ae.stack=Te.message+`
|
|
52
|
+
`+Te.stack.join(`
|
|
53
|
+
`)}C("warning",ae)||ge(ae,"",!0)}}function J(q,G){for(var Y=0;Y<G.length-1;++Y)G[Y].push("From previous event:"),G[Y]=G[Y].join(`
|
|
54
|
+
`);return Y<G.length&&(G[Y]=G[Y].join(`
|
|
55
|
+
`)),q+`
|
|
56
|
+
`+G.join(`
|
|
57
|
+
`)}function le(q){for(var G=0;G<q.length;++G)(q[G].length===0||G+1<q.length&&q[G][0]===q[G+1][0])&&(q.splice(G,1),G--)}function he(q){for(var G=q[0],Y=1;Y<q.length;++Y){for(var ae=q[Y],xe=G.length-1,Te=G[xe],Se=-1,Ce=ae.length-1;Ce>=0;--Ce)if(ae[Ce]===Te){Se=Ce;break}for(var Ce=Se;Ce>=0;--Ce){var ee=ae[Ce];if(G[xe]===ee)G.pop(),xe--;else break}G=ae}}function fe(q){for(var G=[],Y=0;Y<q.length;++Y){var ae=q[Y],xe=ae===" (No stack trace)"||d.test(ae),Te=xe&&z(ae);xe&&!Te&&(p&&ae.charAt(0)!==" "&&(ae=" "+ae),G.push(ae))}return G}function me(q){for(var G=q.stack.replace(/\s+$/g,"").split(`
|
|
58
|
+
`),Y=0;Y<G.length;++Y){var ae=G[Y];if(ae===" (No stack trace)"||d.test(ae))break}return Y>0&&q.name!="SyntaxError"&&(G=G.slice(Y)),G}function de(q){var G=q.stack,Y=q.toString();return G=typeof G=="string"&&G.length>0?me(q):[" (No stack trace)"],{message:Y,stack:q.name=="SyntaxError"?G:fe(G)}}function ge(q,G,Y){if(typeof console<"u"){var ae;if(o.isObject(q)){var xe=q.stack;ae=G+h(xe,q)}else ae=G+String(q);typeof m=="function"?m(ae,Y):(typeof console.log=="function"||typeof console.log=="object")&&console.log(ae)}}function ye(q,G,Y,ae){var xe=!1;try{typeof G=="function"&&(xe=!0,q==="rejectionHandled"?G(ae):G(Y,ae))}catch(Te){r.throwLater(Te)}q==="unhandledRejection"?!C(q,Y,ae)&&!xe&&ge(Y,"Unhandled rejection "):C(q,ae)}function be(q){var G;if(typeof q=="function")G="[function "+(q.name||"anonymous")+"]";else{G=q&&typeof q.toString=="function"?q.toString():o.toString(q);var Y=/\[object [a-zA-Z0-9$_]+\]/;if(Y.test(G))try{var ae=JSON.stringify(q);G=ae}catch{}G.length===0&&(G="(empty array)")}return"(<"+D(G)+">, no stack trace)"}function D(q){var G=41;return q.length<G?q:q.substr(0,G-3)+"..."}function V(){return typeof ne=="function"}var z=function(){return!1},M=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function N(q){var G=q.match(M);if(G)return{fileName:G[1],line:parseInt(G[2],10)}}function $(q,G){if(V()){for(var Y=q.stack.split(`
|
|
59
|
+
`),ae=G.stack.split(`
|
|
60
|
+
`),xe=-1,Te=-1,Se,Ce,ee=0;ee<Y.length;++ee){var ue=N(Y[ee]);if(ue){Se=ue.fileName,xe=ue.line;break}}for(var ee=0;ee<ae.length;++ee){var ue=N(ae[ee]);if(ue){Ce=ue.fileName,Te=ue.line;break}}xe<0||Te<0||!Se||!Ce||Se!==Ce||xe>=Te||(z=function(ve){if(l.test(ve))return!0;var Ee=N(ve);return!!(Ee&&Ee.fileName===Se&&xe<=Ee.line&&Ee.line<=Te)})}}function ie(q){this._parent=q,this._promisesCreated=0;var G=this._length=1+(q===void 0?0:q._length);ne(this,ie),G>32&&this.uncycle()}o.inherits(ie,Error),e.CapturedTrace=ie,ie.prototype.uncycle=function(){var q=this._length;if(!(q<2)){for(var G=[],Y={},ae=0,xe=this;xe!==void 0;++ae)G.push(xe),xe=xe._parent;q=this._length=ae;for(var ae=q-1;ae>=0;--ae){var Te=G[ae].stack;Y[Te]===void 0&&(Y[Te]=ae)}for(var ae=0;ae<q;++ae){var Se=G[ae].stack,Ce=Y[Se];if(Ce!==void 0&&Ce!==ae){Ce>0&&(G[Ce-1]._parent=void 0,G[Ce-1]._length=1),G[ae]._parent=void 0,G[ae]._length=1;var ee=ae>0?G[ae-1]:this;Ce<q-1?(ee._parent=G[Ce+1],ee._parent.uncycle(),ee._length=ee._parent._length+1):(ee._parent=void 0,ee._length=1);for(var ue=ee._length+1,ve=ae-2;ve>=0;--ve)G[ve]._length=ue,ue++;return}}}},ie.prototype.attachExtraTrace=function(q){if(!q.__stackCleaned__){this.uncycle();for(var G=de(q),Y=G.message,ae=[G.stack],xe=this;xe!==void 0;)ae.push(fe(xe.stack.split(`
|
|
61
|
+
`))),xe=xe._parent;he(ae),le(ae),o.notEnumerableProp(q,"stack",J(Y,ae)),o.notEnumerableProp(q,"__stackCleaned__",!0)}};var ne=function(){var G=/^\s*at\s*/,Y=function(Se,Ce){return typeof Se=="string"?Se:Ce.name!==void 0&&Ce.message!==void 0?Ce.toString():be(Ce)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,d=G,h=Y;var ae=Error.captureStackTrace;return z=function(Se){return l.test(Se)},function(Se,Ce){Error.stackTraceLimit+=6,ae(Se,Ce),Error.stackTraceLimit-=6}}var xe=new Error;if(typeof xe.stack=="string"&&xe.stack.split(`
|
|
62
|
+
`)[0].indexOf("stackDetection@")>=0)return d=/@/,h=Y,p=!0,function(Ce){Ce.stack=new Error().stack};var Te;try{throw new Error}catch(Se){Te="stack"in Se}return!("stack"in xe)&&Te&&typeof Error.stackTraceLimit=="number"?(d=G,h=Y,function(Ce){Error.stackTraceLimit+=6;try{throw new Error}catch(ee){Ce.stack=ee.stack}Error.stackTraceLimit-=6}):(h=function(Se,Ce){return typeof Se=="string"?Se:(typeof Ce=="object"||typeof Ce=="function")&&Ce.name!==void 0&&Ce.message!==void 0?Ce.toString():be(Ce)},null)}();typeof console<"u"&&typeof console.warn<"u"&&(m=function(q){console.warn(q)},o.isNode&&process.stderr.isTTY?m=function(q,G){var Y=G?"\x1B[33m":"\x1B[31m";console.warn(Y+q+`\x1B[0m
|
|
63
|
+
`)}:!o.isNode&&typeof new Error().stack=="string"&&(m=function(q,G){console.warn("%c"+q,G?"color: darkorange":"color: red")}));var Z={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};return b&&n.longStackTraces(),{longStackTraces:function(){return Z.longStackTraces},warnings:function(){return Z.warnings},cancellation:function(){return Z.cancellation},monitoring:function(){return Z.monitoring},propagateFromFunction:function(){return K},boundValueFunction:function(){return P},checkForgottenReturns:I,setBounds:$,warn:X,deprecated:oe,CapturedTrace:ie,fireDomEvent:w,fireGlobalEvent:E}}),cd}var ld,N2;function a9(){return N2||(N2=1,ld=function(n,e){var t=He(),r=n.CancellationError,i=t.errorObj;function o(f,d,h){this.promise=f,this.type=d,this.handler=h,this.called=!1,this.cancelPromise=null}o.prototype.isFinallyHandler=function(){return this.type===0};function a(f){this.finallyHandler=f}a.prototype._resultCancelled=function(){s(this.finallyHandler)};function s(f,d){return f.cancelPromise!=null?(arguments.length>1?f.cancelPromise._reject(d):f.cancelPromise._cancel(),f.cancelPromise=null,!0):!1}function c(){return u.call(this,this.promise._target()._settledValue())}function l(f){if(!s(this,f))return i.e=f,i}function u(f){var d=this.promise,h=this.handler;if(!this.called){this.called=!0;var p=this.isFinallyHandler()?h.call(d._boundValue()):h.call(d._boundValue(),f);if(p!==void 0){d._setReturnedNonUndefined();var m=e(p,d);if(m instanceof n){if(this.cancelPromise!=null)if(m._isCancelled()){var g=new r("late cancellation observer");return d._attachExtraTrace(g),i.e=g,i}else m.isPending()&&m._attachCancellationCallback(new a(this));return m._then(c,l,void 0,this,void 0)}}}return d.isRejected()?(s(this),i.e=f,i):(s(this),f)}return n.prototype._passThrough=function(f,d,h,p){return typeof f!="function"?this.then():this._then(h,p,void 0,new o(this,d,f),void 0)},n.prototype.lastly=n.prototype.finally=function(f){return this._passThrough(f,0,u,u)},n.prototype.tap=function(f){return this._passThrough(f,1,u)},o}),ld}var ud,I2;function s9(){return I2||(I2=1,ud=function(n){var e=He(),t=fo().keys,r=e.tryCatch,i=e.errorObj;function o(a,s,c){return function(l){var u=c._boundValue();e:for(var f=0;f<a.length;++f){var d=a[f];if(d===Error||d!=null&&d.prototype instanceof Error){if(l instanceof d)return r(s).call(u,l)}else if(typeof d=="function"){var h=r(d).call(u,l);if(h===i)return h;if(h)return r(s).call(u,l)}else if(e.isObject(l)){for(var p=t(d),m=0;m<p.length;++m){var g=p[m];if(d[g]!=l[g])continue e}return r(s).call(u,l)}}return n}}return o}),ud}var fd,B2;function XT(){if(B2)return fd;B2=1;var n=He(),e=n.maybeWrapAsError,t=Rr(),r=t.OperationalError,i=fo();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 f=i.keys(l),d=0;d<f.length;++d){var h=f[d];a.test(h)||(u[h]=l[h])}return u}return n.markAsOriginatingFromRejection(l),l}function c(l,u){return function(f,d){if(l!==null){if(f){var h=s(e(f));l._attachExtraTrace(h),l._reject(h)}else if(!u)l._fulfill(d);else{for(var p=arguments.length,m=new Array(Math.max(p-1,0)),g=1;g<p;++g)m[g-1]=arguments[g];l._fulfill(m)}l=null}}}return fd=c,fd}var dd,M2;function c9(){return M2||(M2=1,dd=function(n,e,t,r,i){var o=He(),a=o.tryCatch;n.method=function(s){if(typeof s!="function")throw new n.TypeError("expecting a function but got "+o.classString(s));return function(){var c=new n(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}},n.attempt=n.try=function(s){if(typeof s!="function")return r("expecting a function but got "+o.classString(s));var c=new n(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],f=arguments[2];l=o.isArray(u)?a(s).apply(f,u):a(s).call(f,u)}else l=a(s)();var d=c._popContext();return i.checkForgottenReturns(l,d,"Promise.try",c),c._resolveFromSyncValue(l),c},n.prototype._resolveFromSyncValue=function(s){s===o.errorObj?this._rejectCallback(s.e,!1):this._resolveCallback(s,!0)}}),dd}var hd,W2;function l9(){return W2||(W2=1,hd=function(n,e,t,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)};n.prototype.bind=function(l){i||(i=!0,n.prototype._propagateFrom=r.propagateFromFunction(),n.prototype._boundValue=r.boundValueFunction());var u=t(l),f=new n(e);f._propagateFrom(this,1);var d=this._target();if(f._setBoundTo(u),u instanceof n){var h={promiseRejectionQueued:!1,promise:f,target:d,bindingPromise:u};d._then(e,a,void 0,f,h),u._then(s,c,void 0,f,h),f._setOnCancel(u)}else f._resolveCallback(d);return f},n.prototype._setBoundTo=function(l){l!==void 0?(this._bitField=this._bitField|2097152,this._boundTo=l):this._bitField=this._bitField&-2097153},n.prototype._isBound=function(){return(this._bitField&2097152)===2097152},n.bind=function(l,u){return n.resolve(u).bind(l)}}),hd}var pd,L2;function u9(){return L2||(L2=1,pd=function(n,e,t,r){var i=He(),o=i.tryCatch,a=i.errorObj,s=n._async;n.prototype.break=n.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}},n.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},n.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},n.prototype._cancelBy=function(c){return c===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},n.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},n.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),s.invoke(this._cancelPromises,this,void 0))},n.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},n.prototype._unsetOnCancel=function(){this._onCancelField=void 0},n.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},n.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},n.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 f=o(c).call(this._boundValue());f===a&&(this._attachExtraTrace(f.e),s.throwLater(f.e))}}else c._resultCancelled(this)},n.prototype._invokeOnCancel=function(){var c=this._onCancel();this._unsetOnCancel(),s.invoke(this._doInvokeOnCancel,this,c)},n.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},n.prototype._resultCancelled=function(){this.cancel()}}),pd}var gd,P2;function f9(){return P2||(P2=1,gd=function(n){function e(){return this.value}function t(){throw this.reason}n.prototype.return=n.prototype.thenReturn=function(r){return r instanceof n&&r.suppressUnhandledRejections(),this._then(e,void 0,void 0,{value:r},void 0)},n.prototype.throw=n.prototype.thenThrow=function(r){return this._then(t,void 0,void 0,{reason:r},void 0)},n.prototype.catchThrow=function(r){if(arguments.length<=1)return this._then(void 0,t,void 0,{reason:r},void 0);var i=arguments[1],o=function(){throw i};return this.caught(r,o)},n.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof n&&r.suppressUnhandledRejections(),this._then(void 0,e,void 0,{value:r},void 0);var i=arguments[1];i instanceof n&&i.suppressUnhandledRejections();var o=function(){return i};return this.caught(r,o)}}),gd}var md,q2;function d9(){return q2||(q2=1,md=function(n){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 t=e.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(`cannot get fulfillment value of a non-fulfilled promise
|
|
64
|
+
|
|
65
|
+
See http://goo.gl/MqrFmX
|
|
66
|
+
`);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
|
|
67
|
+
|
|
68
|
+
See http://goo.gl/MqrFmX
|
|
69
|
+
`);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},n.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},n.prototype._isCancelled=function(){return this._target().__isCancelled()},n.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},n.prototype.isPending=function(){return a.call(this._target())},n.prototype.isRejected=function(){return o.call(this._target())},n.prototype.isFulfilled=function(){return i.call(this._target())},n.prototype.isResolved=function(){return s.call(this._target())},n.prototype.value=function(){return t.call(this._target())},n.prototype.reason=function(){var c=this._target();return c._unsetRejectionIsUnhandled(),r.call(c)},n.prototype._value=function(){return this._settledValue()},n.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},n.PromiseInspection=e}),md}var yd,j2;function h9(){return j2||(j2=1,yd=function(n,e,t,r,i,o){var a=He(),s=a.canEvaluate,c=a.tryCatch,l=a.errorObj,u;if(s){for(var f=function(b){return new Function("value","holder",`
|
|
70
|
+
'use strict';
|
|
71
|
+
holder.pIndex = value;
|
|
72
|
+
holder.checkFulfillment(this);
|
|
73
|
+
`.replace(/Index/g,b))},d=function(b){return new Function("promise","holder",`
|
|
74
|
+
'use strict';
|
|
75
|
+
holder.pIndex = promise;
|
|
76
|
+
`.replace(/Index/g,b))},h=function(b){for(var v=new Array(b),T=0;T<v.length;++T)v[T]="this.p"+(T+1);var w=v.join(" = ")+" = null;",E=`var promise;
|
|
77
|
+
`+v.map(function(R){return`
|
|
78
|
+
promise = `+R+`;
|
|
79
|
+
if (promise instanceof Promise) {
|
|
80
|
+
promise.cancel();
|
|
81
|
+
}
|
|
82
|
+
`}).join(`
|
|
83
|
+
`),S=v.join(", "),U="Holder$"+b,C=`return function(tryCatch, errorObj, Promise, async) {
|
|
84
|
+
'use strict';
|
|
85
|
+
function [TheName](fn) {
|
|
86
|
+
[TheProperties]
|
|
87
|
+
this.fn = fn;
|
|
88
|
+
this.asyncNeeded = true;
|
|
89
|
+
this.now = 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
[TheName].prototype._callFunction = function(promise) {
|
|
93
|
+
promise._pushContext();
|
|
94
|
+
var ret = tryCatch(this.fn)([ThePassedArguments]);
|
|
95
|
+
promise._popContext();
|
|
96
|
+
if (ret === errorObj) {
|
|
97
|
+
promise._rejectCallback(ret.e, false);
|
|
98
|
+
} else {
|
|
99
|
+
promise._resolveCallback(ret);
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
[TheName].prototype.checkFulfillment = function(promise) {
|
|
104
|
+
var now = ++this.now;
|
|
105
|
+
if (now === [TheTotal]) {
|
|
106
|
+
if (this.asyncNeeded) {
|
|
107
|
+
async.invoke(this._callFunction, this, promise);
|
|
108
|
+
} else {
|
|
109
|
+
this._callFunction(promise);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
[TheName].prototype._resultCancelled = function() {
|
|
116
|
+
[CancellationCode]
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
return [TheName];
|
|
120
|
+
}(tryCatch, errorObj, Promise, async);
|
|
121
|
+
`;return C=C.replace(/\[TheName\]/g,U).replace(/\[TheTotal\]/g,b).replace(/\[ThePassedArguments\]/g,S).replace(/\[TheProperties\]/g,w).replace(/\[CancellationCode\]/g,E),new Function("tryCatch","errorObj","Promise","async",C)(c,l,n,i)},p=[],m=[],g=[],y=0;y<8;++y)p.push(h(y+1)),m.push(f(y+1)),g.push(d(y+1));u=function(b){this._reject(b)}}n.join=function(){var b=arguments.length-1,v;if(b>0&&typeof arguments[b]=="function"&&(v=arguments[b],b<=8&&s)){var x=new n(r);x._captureStackTrace();for(var T=p[b-1],w=new T(v),E=m,S=0;S<b;++S){var U=t(arguments[S],x);if(U instanceof n){U=U._target();var C=U._bitField;(C&50397184)===0?(U._then(E[S],u,void 0,x,w),g[S](U,w),w.asyncNeeded=!1):(C&33554432)!==0?E[S].call(x,U._value(),w):(C&16777216)!==0?x._reject(U._reason()):x._cancel()}else E[S].call(x,U,w)}if(!x._isFateSealed()){if(w.asyncNeeded){var R=o();R!==null&&(w.fn=a.domainBind(R,w.fn))}x._setAsyncGuaranteed(),x._setOnCancel(w)}return x}for(var L=arguments.length,_=new Array(L),k=0;k<L;++k)_[k]=arguments[k];v&&_.pop();var x=new e(_).promise();return v!==void 0?x.spread(v):x}}),yd}var bd,z2;function p9(){return z2||(z2=1,bd=function(n,e,t,r,i,o){var a=n._getDomain,s=He(),c=s.tryCatch,l=s.errorObj,u=n._async;function f(h,p,m,g){this.constructor$(h),this._promise._captureStackTrace();var y=a();this._callback=y===null?p:s.domainBind(y,p),this._preservedValues=g===i?new Array(this.length()):null,this._limit=m,this._inFlight=0,this._queue=[],u.invoke(this._asyncInit,this,void 0)}s.inherits(f,e),f.prototype._asyncInit=function(){this._init$(void 0,-2)},f.prototype._init=function(){},f.prototype._promiseFulfilled=function(h,p){var m=this._values,g=this.length(),y=this._preservedValues,b=this._limit;if(p<0){if(p=p*-1-1,m[p]=h,b>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(b>=1&&this._inFlight>=b)return m[p]=h,this._queue.push(p),!1;y!==null&&(y[p]=h);var v=this._promise,T=this._callback,w=v._boundValue();v._pushContext();var E=c(T).call(w,h,p,g),S=v._popContext();if(o.checkForgottenReturns(E,S,y!==null?"Promise.filter":"Promise.map",v),E===l)return this._reject(E.e),!0;var U=r(E,this._promise);if(U instanceof n){U=U._target();var C=U._bitField;if((C&50397184)===0)return b>=1&&this._inFlight++,m[p]=U,U._proxy(this,(p+1)*-1),!1;if((C&33554432)!==0)E=U._value();else return(C&16777216)!==0?(this._reject(U._reason()),!0):(this._cancel(),!0)}m[p]=E}var R=++this._totalResolved;return R>=g?(y!==null?this._filter(m,y):this._resolve(m),!0):!1},f.prototype._drainQueue=function(){for(var h=this._queue,p=this._limit,m=this._values;h.length>0&&this._inFlight<p;){if(this._isResolved())return;var g=h.pop();this._promiseFulfilled(m[g],g)}},f.prototype._filter=function(h,p){for(var m=p.length,g=new Array(m),y=0,b=0;b<m;++b)h[b]&&(g[y++]=p[b]);g.length=y,this._resolve(g)},f.prototype.preservedValues=function(){return this._preservedValues};function d(h,p,m,g){if(typeof p!="function")return t("expecting a function but got "+s.classString(p));var y=0;if(m!==void 0)if(typeof m=="object"&&m!==null){if(typeof m.concurrency!="number")return n.reject(new TypeError("'concurrency' must be a number but it is "+s.classString(m.concurrency)));y=m.concurrency}else return n.reject(new TypeError("options argument must be an object but it is "+s.classString(m)));return y=typeof y=="number"&&isFinite(y)&&y>=1?y:0,new f(h,p,y,g).promise()}n.prototype.map=function(h,p){return d(this,h,p,null)},n.map=function(h,p,m,g){return d(h,p,m,g)}}),bd}var vd,$2;function g9(){if($2)return vd;$2=1;var n=Object.create;if(n){var e=n(null),t=n(null);e[" size"]=t[" size"]=0}return vd=function(r){var i=He(),o=i.canEvaluate,a=i.isIdentifier,s,c;{var l=function(g){return new Function("ensureMethod",`
|
|
122
|
+
return function(obj) {
|
|
123
|
+
'use strict'
|
|
124
|
+
var len = this.length;
|
|
125
|
+
ensureMethod(obj, 'methodName');
|
|
126
|
+
switch(len) {
|
|
127
|
+
case 1: return obj.methodName(this[0]);
|
|
128
|
+
case 2: return obj.methodName(this[0], this[1]);
|
|
129
|
+
case 3: return obj.methodName(this[0], this[1], this[2]);
|
|
130
|
+
case 0: return obj.methodName();
|
|
131
|
+
default:
|
|
132
|
+
return obj.methodName.apply(obj, this);
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
`.replace(/methodName/g,g))(d)},u=function(g){return new Function("obj",`
|
|
136
|
+
'use strict';
|
|
137
|
+
return obj.propertyName;
|
|
138
|
+
`.replace("propertyName",g))},f=function(g,y,b){var v=b[g];if(typeof v!="function"){if(!a(g))return null;if(v=y(g),b[g]=v,b[" size"]++,b[" size"]>512){for(var T=Object.keys(b),w=0;w<256;++w)delete b[T[w]];b[" size"]=T.length-256}}return v};s=function(g){return f(g,l,e)},c=function(g){return f(g,u,t)}}function d(g,y){var b;if(g!=null&&(b=g[y]),typeof b!="function"){var v="Object "+i.classString(g)+" has no method '"+i.toString(y)+"'";throw new r.TypeError(v)}return b}function h(g){var y=this.pop(),b=d(g,y);return b.apply(g,this)}r.prototype.call=function(g){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 T=s(g);if(T!==null)return this._then(T,void 0,void 0,b,void 0)}return b.push(g),this._then(h,void 0,void 0,b,void 0)};function p(g){return g[this]}function m(g){var y=+this;return y<0&&(y=Math.max(0,y+g.length)),g[y]}r.prototype.get=function(g){var y=typeof g=="number",b;if(y)b=m;else if(o){var v=c(g);b=v!==null?v:p}else b=p;return this._then(b,void 0,void 0,g,void 0)}},vd}var xd,V2;function m9(){return V2||(V2=1,xd=function(n,e,t,r,i,o){var a=He(),s=Rr().TypeError,c=He().inherits,l=a.errorObj,u=a.tryCatch,f={};function d(v){setTimeout(function(){throw v},0)}function h(v){var T=t(v);return T!==v&&typeof v._isDisposable=="function"&&typeof v._getDisposer=="function"&&v._isDisposable()&&T._setDisposable(v._getDisposer()),T}function p(v,T){var w=0,E=v.length,S=new n(i);function U(){if(w>=E)return S._fulfill();var C=h(v[w++]);if(C instanceof n&&C._isDisposable()){try{C=t(C._getDisposer().tryDispose(T),v.promise)}catch(R){return d(R)}if(C instanceof n)return C._then(U,d,null,null,null)}U()}return U(),S}function m(v,T,w){this._data=v,this._promise=T,this._context=w}m.prototype.data=function(){return this._data},m.prototype.promise=function(){return this._promise},m.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():f},m.prototype.tryDispose=function(v){var T=this.resource(),w=this._context;w!==void 0&&w._pushContext();var E=T!==f?this.doDispose(T,v):null;return w!==void 0&&w._popContext(),this._promise._unsetDisposable(),this._data=null,E},m.isDisposer=function(v){return v!=null&&typeof v.resource=="function"&&typeof v.tryDispose=="function"};function g(v,T,w){this.constructor$(v,T,w)}c(g,m),g.prototype.doDispose=function(v,T){var w=this.data();return w.call(v,v,T)};function y(v){return m.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,T=0;T<v;++T){var w=this[T];w instanceof n&&w.cancel()}},n.using=function(){var v=arguments.length;if(v<2)return e("you must pass at least 2 arguments to Promise.using");var T=arguments[v-1];if(typeof T!="function")return e("expecting a function but got "+a.classString(T));var w,E=!0;v===2&&Array.isArray(arguments[0])?(w=arguments[0],v=w.length,E=!1):(w=arguments,v--);for(var S=new b(v),U=0;U<v;++U){var C=w[U];if(m.isDisposer(C)){var R=C;C=C.promise(),C._setDisposable(R)}else{var L=t(C);L instanceof n&&(C=L._then(y,null,null,{resources:S,index:U},void 0))}S[U]=C}for(var _=new Array(S.length),U=0;U<_.length;++U)_[U]=n.resolve(S[U]).reflect();var k=n.all(_).then(function(j){for(var F=0;F<j.length;++F){var B=j[F];if(B.isRejected())return l.e=B.error(),l;if(!B.isFulfilled()){k.cancel();return}j[F]=B.value()}x._pushContext(),T=u(T);var K=E?T.apply(void 0,j):T(j),P=x._popContext();return o.checkForgottenReturns(K,P,"Promise.using",x),K}),x=k.lastly(function(){var j=new n.PromiseInspection(k);return p(S,j)});return S.promise=x,x._setOnCancel(S),x},n.prototype._setDisposable=function(v){this._bitField=this._bitField|131072,this._disposer=v},n.prototype._isDisposable=function(){return(this._bitField&131072)>0},n.prototype._getDisposer=function(){return this._disposer},n.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},n.prototype.disposer=function(v){if(typeof v=="function")return new g(v,this,r());throw new s}}),xd}var Dd,H2;function y9(){return H2||(H2=1,Dd=function(n,e,t){var r=He(),i=n.TimeoutError;function o(f){this.handle=f}o.prototype._resultCancelled=function(){clearTimeout(this.handle)};var a=function(f){return s(+this).thenReturn(f)},s=n.delay=function(f,d){var h,p;return d!==void 0?(h=n.resolve(d)._then(a,null,null,f,void 0),t.cancellation()&&d instanceof n&&h._setOnCancel(d)):(h=new n(e),p=setTimeout(function(){h._fulfill()},+f),t.cancellation()&&h._setOnCancel(new o(p)),h._captureStackTrace()),h._setAsyncGuaranteed(),h};n.prototype.delay=function(f){return s(f,this)};var c=function(f,d,h){var p;typeof d!="string"?d instanceof Error?p=d:p=new i("operation timed out"):p=new i(d),r.markAsOriginatingFromRejection(p),f._attachExtraTrace(p),f._reject(p),h!=null&&h.cancel()};function l(f){return clearTimeout(this.handle),f}function u(f){throw clearTimeout(this.handle),f}n.prototype.timeout=function(f,d){f=+f;var h,p,m=new o(setTimeout(function(){h.isPending()&&c(h,d,p)},f));return t.cancellation()?(p=this.then(),h=p._then(l,u,void 0,m,void 0),h._setOnCancel(m)):h=this._then(l,u,void 0,m,void 0),h}}),Dd}var wd,X2;function b9(){return X2||(X2=1,wd=function(n,e,t,r,i,o){var a=Rr(),s=a.TypeError,c=He(),l=c.errorObj,u=c.tryCatch,f=[];function d(p,m,g){for(var y=0;y<m.length;++y){g._pushContext();var b=u(m[y])(p);if(g._popContext(),b===l){g._pushContext();var v=n.reject(l.e);return g._popContext(),v}var T=r(b,g);if(T instanceof n)return T}return null}function h(p,m,g,y){if(o.cancellation()){var b=new n(t),v=this._finallyPromise=new n(t);this._promise=b.lastly(function(){return v}),b._captureStackTrace(),b._setOnCancel(this)}else{var T=this._promise=new n(t);T._captureStackTrace()}this._stack=y,this._generatorFunction=p,this._receiver=m,this._generator=void 0,this._yieldHandlers=typeof g=="function"?[g].concat(f):f,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 p=typeof this._generator.return<"u",m;if(p)this._promise._pushContext(),m=u(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var g=new n.CancellationError("generator .return() sentinel");n.coroutine.returnSentinel=g,this._promise._attachExtraTrace(g),this._promise._pushContext(),m=u(this._generator.throw).call(this._generator,g),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(m)}},h.prototype._promiseFulfilled=function(p){this._yieldedPromise=null,this._promise._pushContext();var m=u(this._generator.next).call(this._generator,p);this._promise._popContext(),this._continue(m)},h.prototype._promiseRejected=function(p){this._yieldedPromise=null,this._promise._attachExtraTrace(p),this._promise._pushContext();var m=u(this._generator.throw).call(this._generator,p);this._promise._popContext(),this._continue(m)},h.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof n){var p=this._yieldedPromise;this._yieldedPromise=null,p.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(p){var m=this._promise;if(p===l)return this._cleanup(),this._cancellationPhase?m.cancel():m._rejectCallback(p.e,!1);var g=p.value;if(p.done===!0)return this._cleanup(),this._cancellationPhase?m.cancel():m._resolveCallback(g);var y=r(g,this._promise);if(!(y instanceof n)&&(y=d(y,this._yieldHandlers,this._promise),y===null)){this._promiseRejected(new s(`A value %s was yielded that could not be treated as a promise
|
|
139
|
+
|
|
140
|
+
See http://goo.gl/MqrFmX
|
|
141
|
+
|
|
142
|
+
`.replace("%s",g)+`From coroutine:
|
|
143
|
+
`+this._stack.split(`
|
|
144
|
+
`).slice(1,-7).join(`
|
|
145
|
+
`)));return}y=y._target();var b=y._bitField;(b&50397184)===0?(this._yieldedPromise=y,y._proxy(this,null)):(b&33554432)!==0?n._async.invoke(this._promiseFulfilled,this,y._value()):(b&16777216)!==0?n._async.invoke(this._promiseRejected,this,y._reason()):this._promiseCancelled()},n.coroutine=function(p,m){if(typeof p!="function")throw new s(`generatorFunction must be a function
|
|
146
|
+
|
|
147
|
+
See http://goo.gl/MqrFmX
|
|
148
|
+
`);var g=Object(m).yieldHandler,y=h,b=new Error().stack;return function(){var v=p.apply(this,arguments),T=new y(void 0,void 0,g,b),w=T.promise();return T._generator=v,T._promiseFulfilled(void 0),w}},n.coroutine.addYieldHandler=function(p){if(typeof p!="function")throw new s("expecting a function but got "+c.classString(p));f.push(p)},n.spawn=function(p){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),typeof p!="function")return e(`generatorFunction must be a function
|
|
149
|
+
|
|
150
|
+
See http://goo.gl/MqrFmX
|
|
151
|
+
`);var m=new h(p,this),g=m.promise();return m._run(n.spawn),g}}),wd}var _d,G2;function v9(){return G2||(G2=1,_d=function(n){var e=He(),t=n._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 f=r(l).apply(u._boundValue(),[null].concat(c));f===i&&t.throwLater(f.e)}function a(c,l){var u=this,f=u._boundValue(),d=c===void 0?r(l).call(f,null):r(l).call(f,null,c);d===i&&t.throwLater(d.e)}function s(c,l){var u=this;if(!c){var f=new Error(c+"");f.cause=c,c=f}var d=r(l).call(u._boundValue(),c);d===i&&t.throwLater(d.e)}n.prototype.asCallback=n.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}}),_d}var Td,K2;function x9(){return K2||(K2=1,Td=function(n,e){var t={},r=He(),i=XT(),o=r.withAppended,a=r.maybeWrapAsError,s=r.canEvaluate,c=Rr().TypeError,l="Async",u={__isPromisified__:!0},f=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],d=new RegExp("^(?:"+f.join("|")+")$"),h=function(k){return r.isIdentifier(k)&&k.charAt(0)!=="_"&&k!=="constructor"};function p(k){return!d.test(k)}function m(k){try{return k.__isPromisified__===!0}catch{return!1}}function g(k,x,j){var F=r.getDataPropertyOrDefault(k,x+j,u);return F?m(F):!1}function y(k,x,j){for(var F=0;F<k.length;F+=2){var B=k[F];if(j.test(B)){for(var K=B.replace(j,""),P=0;P<k.length;P+=2)if(k[P]===K)throw new c(`Cannot promisify an API that has normal methods with '%s'-suffix
|
|
152
|
+
|
|
153
|
+
See http://goo.gl/MqrFmX
|
|
154
|
+
`.replace("%s",x))}}}function b(k,x,j,F){for(var B=r.inheritedDataKeys(k),K=[],P=0;P<B.length;++P){var te=B[P],W=k[te],I=F===h?!0:h(te);typeof W=="function"&&!m(W)&&!g(k,te,x)&&F(te,W,k,I)&&K.push(te,W)}return y(K,x,j),K}var v=function(k){return k.replace(/([$])/,"\\$")},T;{var w=function(k){for(var x=[k],j=Math.max(0,k-1-3),F=k-1;F>=j;--F)x.push(F);for(var F=k+1;F<=3;++F)x.push(F);return x},E=function(k){return r.filledRange(k,"_arg","")},S=function(k){return r.filledRange(Math.max(k,3),"_arg","")},U=function(k){return typeof k.length=="number"?Math.max(Math.min(k.length,1024),0):0};T=function(k,x,j,F,B,K){var P=Math.max(0,U(F)-1),te=w(P),W=typeof k=="string"||x===t;function I(le){var he=E(le).join(", "),fe=le>0?", ":"",me;return W?me=`ret = callback.call(this, {{args}}, nodeback); break;
|
|
155
|
+
`:me=x===void 0?`ret = callback({{args}}, nodeback); break;
|
|
156
|
+
`:`ret = callback.call(receiver, {{args}}, nodeback); break;
|
|
157
|
+
`,me.replace("{{args}}",he).replace(", ",fe)}function oe(){for(var le="",he=0;he<te.length;++he)le+="case "+te[he]+":"+I(te[he]);return le+=`
|
|
158
|
+
default:
|
|
159
|
+
var args = new Array(len + 1);
|
|
160
|
+
var i = 0;
|
|
161
|
+
for (var i = 0; i < len; ++i) {
|
|
162
|
+
args[i] = arguments[i];
|
|
163
|
+
}
|
|
164
|
+
args[i] = nodeback;
|
|
165
|
+
[CodeForCall]
|
|
166
|
+
break;
|
|
167
|
+
`.replace("[CodeForCall]",W?`ret = callback.apply(this, args);
|
|
168
|
+
`:`ret = callback.apply(receiver, args);
|
|
169
|
+
`),le}var X=typeof k=="string"?"this != null ? this['"+k+"'] : fn":"fn",J=`'use strict';
|
|
170
|
+
var ret = function (Parameters) {
|
|
171
|
+
'use strict';
|
|
172
|
+
var len = arguments.length;
|
|
173
|
+
var promise = new Promise(INTERNAL);
|
|
174
|
+
promise._captureStackTrace();
|
|
175
|
+
var nodeback = nodebackForPromise(promise, `+K+`);
|
|
176
|
+
var ret;
|
|
177
|
+
var callback = tryCatch([GetFunctionCode]);
|
|
178
|
+
switch(len) {
|
|
179
|
+
[CodeForSwitchCase]
|
|
180
|
+
}
|
|
181
|
+
if (ret === errorObj) {
|
|
182
|
+
promise._rejectCallback(maybeWrapAsError(ret.e), true, true);
|
|
183
|
+
}
|
|
184
|
+
if (!promise._isFateSealed()) promise._setAsyncGuaranteed();
|
|
185
|
+
return promise;
|
|
186
|
+
};
|
|
187
|
+
notEnumerableProp(ret, '__isPromisified__', true);
|
|
188
|
+
return ret;
|
|
189
|
+
`.replace("[CodeForSwitchCase]",oe()).replace("[GetFunctionCode]",X);return J=J.replace("Parameters",S(P)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",J)(n,F,x,o,a,i,r.tryCatch,r.errorObj,r.notEnumerableProp,e)}}function C(k,x,j,F,B,K){var P=function(){return this}(),te=k;typeof te=="string"&&(k=F);function W(){var I=x;x===t&&(I=this);var oe=new n(e);oe._captureStackTrace();var X=typeof te=="string"&&this!==P?this[te]:k,J=i(oe,K);try{X.apply(I,o(arguments,J))}catch(le){oe._rejectCallback(a(le),!0,!0)}return oe._isFateSealed()||oe._setAsyncGuaranteed(),oe}return r.notEnumerableProp(W,"__isPromisified__",!0),W}var R=s?T:C;function L(k,x,j,F,B){for(var K=new RegExp(v(x)+"$"),P=b(k,x,K,j),te=0,W=P.length;te<W;te+=2){var I=P[te],oe=P[te+1],X=I+x;if(F===R)k[X]=R(I,t,I,oe,x,B);else{var J=F(oe,function(){return R(I,t,I,oe,x,B)});r.notEnumerableProp(J,"__isPromisified__",!0),k[X]=J}}return r.toFastProperties(k),k}function _(k,x,j){return R(k,x,void 0,k,null,j)}n.promisify=function(k,x){if(typeof k!="function")throw new c("expecting a function but got "+r.classString(k));if(m(k))return k;x=Object(x);var j=x.context===void 0?t:x.context,F=!!x.multiArgs,B=_(k,j,F);return r.copyDescriptors(k,B,p),B},n.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
|
|
190
|
+
|
|
191
|
+
See http://goo.gl/MqrFmX
|
|
192
|
+
`);x=Object(x);var j=!!x.multiArgs,F=x.suffix;typeof F!="string"&&(F=l);var B=x.filter;typeof B!="function"&&(B=h);var K=x.promisifier;if(typeof K!="function"&&(K=R),!r.isIdentifier(F))throw new RangeError(`suffix must be a valid identifier
|
|
193
|
+
|
|
194
|
+
See http://goo.gl/MqrFmX
|
|
195
|
+
`);for(var P=r.inheritedDataKeys(k),te=0;te<P.length;++te){var W=k[P[te]];P[te]!=="constructor"&&r.isClass(W)&&(L(W.prototype,F,B,K,j),L(W,F,B,K,j))}return L(k,F,B,K,j)}}),Td}var Ed,J2;function D9(){return J2||(J2=1,Ed=function(n,e,t,r){var i=He(),o=i.isObject,a=fo(),s;typeof Map=="function"&&(s=Map);var c=function(){var d=0,h=0;function p(m,g){this[d]=m,this[d+h]=g,d++}return function(g){h=g.size,d=0;var y=new Array(g.size*2);return g.forEach(p,y),y}}(),l=function(d){for(var h=new s,p=d.length/2|0,m=0;m<p;++m){var g=d[p+m],y=d[m];h.set(g,y)}return h};function u(d){var h=!1,p;if(s!==void 0&&d instanceof s)p=c(d),h=!0;else{var m=a.keys(d),g=m.length;p=new Array(g*2);for(var y=0;y<g;++y){var b=m[y];p[y]=d[b],p[y+g]=b}}this.constructor$(p),this._isMap=h,this._init$(void 0,-3)}i.inherits(u,e),u.prototype._init=function(){},u.prototype._promiseFulfilled=function(d,h){this._values[h]=d;var p=++this._totalResolved;if(p>=this._length){var m;if(this._isMap)m=l(this._values);else{m={};for(var g=this.length(),y=0,b=this.length();y<b;++y)m[this._values[y+g]]=this._values[y]}return this._resolve(m),!0}return!1},u.prototype.shouldCopyValues=function(){return!1},u.prototype.getActualLength=function(d){return d>>1};function f(d){var h,p=t(d);if(o(p))p instanceof n?h=p._then(n.props,void 0,void 0,void 0,void 0):h=new u(p).promise();else return r(`cannot await properties of a non-object
|
|
196
|
+
|
|
197
|
+
See http://goo.gl/MqrFmX
|
|
198
|
+
`);return p instanceof n&&h._propagateFrom(p,2),h}n.prototype.props=function(){return f(this)},n.props=function(d){return f(d)}}),Ed}var Cd,Z2;function w9(){return Z2||(Z2=1,Cd=function(n,e,t,r){var i=He(),o=function(s){return s.then(function(c){return a(c,s)})};function a(s,c){var l=t(s);if(l instanceof n)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 n(e);c!==void 0&&u._propagateFrom(c,3);for(var f=u._fulfill,d=u._reject,h=0,p=s.length;h<p;++h){var m=s[h];m===void 0&&!(h in s)||n.cast(m)._then(f,d,void 0,u,null)}return u}n.race=function(s){return a(s,void 0)},n.prototype.race=function(){return a(this,void 0)}}),Cd}var Sd,Y2;function _9(){return Y2||(Y2=1,Sd=function(n,e,t,r,i,o){var a=n._getDomain,s=He(),c=s.tryCatch;function l(p,m,g,y){this.constructor$(p);var b=a();this._fn=b===null?m:s.domainBind(b,m),g!==void 0&&(g=n.resolve(g),g._attachCancellationCallback(this)),this._initialValue=g,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(p){this._eachValues!==void 0&&this._eachValues!==null&&p!==i&&this._eachValues.push(p)},l.prototype._eachComplete=function(p){return this._eachValues!==null&&this._eachValues.push(p),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(p){this._promise._resolveCallback(p),this._values=null},l.prototype._resultCancelled=function(p){if(p===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof n&&this._currentCancellable.cancel(),this._initialValue instanceof n&&this._initialValue.cancel())},l.prototype._iterate=function(p){this._values=p;var m,g,y=p.length;if(this._initialValue!==void 0?(m=this._initialValue,g=0):(m=n.resolve(p[0]),g=1),this._currentCancellable=m,!m.isRejected())for(;g<y;++g){var b={accum:null,value:p[g],index:g,length:y,array:this};m=m._then(d,void 0,void 0,b,void 0)}this._eachValues!==void 0&&(m=m._then(this._eachComplete,void 0,void 0,this,void 0)),m._then(u,u,void 0,m,this)},n.prototype.reduce=function(p,m){return f(this,p,m,null)},n.reduce=function(p,m,g,y){return f(p,m,g,y)};function u(p,m){this.isFulfilled()?m._resolve(p):m._reject(p)}function f(p,m,g,y){if(typeof m!="function")return t("expecting a function but got "+s.classString(m));var b=new l(p,m,g,y);return b.promise()}function d(p){this.accum=p,this.array._gotAccum(p);var m=r(this.value,this.array._promise);return m instanceof n?(this.array._currentCancellable=m,m._then(h,void 0,void 0,this,void 0)):h.call(this,m)}function h(p){var m=this.array,g=m._promise,y=c(m._fn);g._pushContext();var b;m._eachValues!==void 0?b=y.call(g._boundValue(),p,this.index,this.length):b=y.call(g._boundValue(),this.accum,p,this.index,this.length),b instanceof n&&(m._currentCancellable=b);var v=g._popContext();return o.checkForgottenReturns(b,v,m._eachValues!==void 0?"Promise.each":"Promise.reduce",g),b}}),Sd}var Ad,Q2;function T9(){return Q2||(Q2=1,Ad=function(n,e,t){var r=n.PromiseInspection,i=He();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)},n.settle=function(a){return t.deprecated(".settle()",".reflect()"),new o(a).promise()},n.prototype.settle=function(){return n.settle(this)}}),Ad}var Ud,e0;function E9(){return e0||(e0=1,Ud=function(n,e,t){var r=He(),i=Rr().RangeError,o=Rr().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 n||this._values==null?this._cancel():(this._addRejected(s),this._checkOutcome())},c.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var u=new o,f=this.length();f<this._values.length;++f)this._values[f]!==s&&u.push(this._values[f]);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 f="Input array must contain at least "+this._howMany+" items but contains only "+u+" items";return new i(f)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function l(u,f){if((f|0)!==f||f<0)return t(`expecting a positive integer
|
|
199
|
+
|
|
200
|
+
See http://goo.gl/MqrFmX
|
|
201
|
+
`);var d=new c(u),h=d.promise();return d.setHowMany(f),d.init(),h}n.some=function(u,f){return l(u,f)},n.prototype.some=function(u){return l(this,u)},n._SomePromiseArray=c}),Ud}var kd,t0;function C9(){return t0||(t0=1,kd=function(n,e){var t=n.map;n.prototype.filter=function(r,i){return t(this,r,i,e)},n.filter=function(r,i,o){return t(r,i,o,e)}}),kd}var Fd,n0;function S9(){return n0||(n0=1,Fd=function(n,e){var t=n.reduce,r=n.all;function i(){return r(this)}function o(a,s){return t(a,s,e,e)}n.prototype.each=function(a){return t(this,a,e,0)._then(i,void 0,void 0,this,void 0)},n.prototype.mapSeries=function(a){return t(this,a,e,e)},n.each=function(a,s){return t(a,s,e,0)._then(i,void 0,void 0,a,void 0)},n.mapSeries=o}),Fd}var Od,r0;function A9(){return r0||(r0=1,Od=function(n){var e=n._SomePromiseArray;function t(r){var i=new e(r),o=i.promise();return i.setHowMany(1),i.setUnwrap(),i.init(),o}n.any=function(r){return t(r)},n.prototype.any=function(){return t(this)}}),Od}var i0;function U9(){return i0||(i0=1,function(n){n.exports=function(){var e=function(){return new d(`circular promise resolution chain
|
|
202
|
+
|
|
203
|
+
See http://goo.gl/MqrFmX
|
|
204
|
+
`)},t=function(){return new _.PromiseInspection(this._target())},r=function(F){return _.reject(new d(F))};function i(){}var o={},a=He(),s;a.isNode?s=function(){var F=process.domain;return F===void 0&&(F=null),F}:s=function(){return null},a.notEnumerableProp(_,"_getDomain",s);var c=fo(),l=t9(),u=new l;c.defineProperty(_,"_async",{value:u});var f=Rr(),d=_.TypeError=f.TypeError;_.RangeError=f.RangeError;var h=_.CancellationError=f.CancellationError;_.TimeoutError=f.TimeoutError,_.OperationalError=f.OperationalError,_.RejectionError=f.OperationalError,_.AggregateError=f.AggregateError;var p=function(){},m={},g={},y=n9()(_,p),b=r9()(_,p,y,r,i),v=i9()(_),T=v.create,w=o9()(_,v);w.CapturedTrace;var E=a9()(_,y),S=s9()(g),U=XT(),C=a.errorObj,R=a.tryCatch;function L(F,B){if(typeof B!="function")throw new d("expecting a function but got "+a.classString(B));if(F.constructor!==_)throw new d(`the promise constructor cannot be invoked directly
|
|
205
|
+
|
|
206
|
+
See http://goo.gl/MqrFmX
|
|
207
|
+
`)}function _(F){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,F!==p&&(L(this,F),this._resolveFromExecutor(F)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}_.prototype.toString=function(){return"[object Promise]"},_.prototype.caught=_.prototype.catch=function(F){var B=arguments.length;if(B>1){var K=new Array(B-1),P=0,te;for(te=0;te<B-1;++te){var W=arguments[te];if(a.isObject(W))K[P++]=W;else return r("expecting an object but got A catch statement predicate "+a.classString(W))}return K.length=P,F=arguments[te],this.then(void 0,S(K,F,this))}return this.then(void 0,F)},_.prototype.reflect=function(){return this._then(t,t,void 0,this,void 0)},_.prototype.then=function(F,B){if(w.warnings()&&arguments.length>0&&typeof F!="function"&&typeof B!="function"){var K=".then() only accepts functions but was passed: "+a.classString(F);arguments.length>1&&(K+=", "+a.classString(B)),this._warn(K)}return this._then(F,B,void 0,void 0,void 0)},_.prototype.done=function(F,B){var K=this._then(F,B,void 0,void 0,void 0);K._setIsFinal()},_.prototype.spread=function(F){return typeof F!="function"?r("expecting a function but got "+a.classString(F)):this.all()._then(F,void 0,void 0,m,void 0)},_.prototype.toJSON=function(){var F={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(F.fulfillmentValue=this.value(),F.isFulfilled=!0):this.isRejected()&&(F.rejectionReason=this.reason(),F.isRejected=!0),F},_.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new b(this).promise()},_.prototype.error=function(F){return this.caught(a.originatesFromRejection,F)},_.getNewLibraryCopy=n.exports,_.is=function(F){return F instanceof _},_.fromNode=_.fromCallback=function(F){var B=new _(p);B._captureStackTrace();var K=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,P=R(F)(U(B,K));return P===C&&B._rejectCallback(P.e,!0),B._isFateSealed()||B._setAsyncGuaranteed(),B},_.all=function(F){return new b(F).promise()},_.cast=function(F){var B=y(F);return B instanceof _||(B=new _(p),B._captureStackTrace(),B._setFulfilled(),B._rejectionHandler0=F),B},_.resolve=_.fulfilled=_.cast,_.reject=_.rejected=function(F){var B=new _(p);return B._captureStackTrace(),B._rejectCallback(F,!0),B},_.setScheduler=function(F){if(typeof F!="function")throw new d("expecting a function but got "+a.classString(F));return u.setScheduler(F)},_.prototype._then=function(F,B,K,P,te){var W=te!==void 0,I=W?te:new _(p),oe=this._target(),X=oe._bitField;W||(I._propagateFrom(this,3),I._captureStackTrace(),P===void 0&&(this._bitField&2097152)!==0&&((X&50397184)!==0?P=this._boundValue():P=oe===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,I));var J=s();if((X&50397184)!==0){var le,he,fe=oe._settlePromiseCtx;(X&33554432)!==0?(he=oe._rejectionHandler0,le=F):(X&16777216)!==0?(he=oe._fulfillmentHandler0,le=B,oe._unsetRejectionIsUnhandled()):(fe=oe._settlePromiseLateCancellationObserver,he=new h("late cancellation observer"),oe._attachExtraTrace(he),le=B),u.invoke(fe,oe,{handler:J===null?le:typeof le=="function"&&a.domainBind(J,le),promise:I,receiver:P,value:he})}else oe._addCallbacks(F,B,I,P,J);return I},_.prototype._length=function(){return this._bitField&65535},_.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},_.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},_.prototype._setLength=function(F){this._bitField=this._bitField&-65536|F&65535},_.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},_.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},_.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},_.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},_.prototype._isFinal=function(){return(this._bitField&4194304)>0},_.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},_.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},_.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},_.prototype._setAsyncGuaranteed=function(){u.hasCustomScheduler()||(this._bitField=this._bitField|134217728)},_.prototype._receiverAt=function(F){var B=F===0?this._receiver0:this[F*4-4+3];if(B!==o)return B===void 0&&this._isBound()?this._boundValue():B},_.prototype._promiseAt=function(F){return this[F*4-4+2]},_.prototype._fulfillmentHandlerAt=function(F){return this[F*4-4+0]},_.prototype._rejectionHandlerAt=function(F){return this[F*4-4+1]},_.prototype._boundValue=function(){},_.prototype._migrateCallback0=function(F){F._bitField;var B=F._fulfillmentHandler0,K=F._rejectionHandler0,P=F._promise0,te=F._receiverAt(0);te===void 0&&(te=o),this._addCallbacks(B,K,P,te,null)},_.prototype._migrateCallbackAt=function(F,B){var K=F._fulfillmentHandlerAt(B),P=F._rejectionHandlerAt(B),te=F._promiseAt(B),W=F._receiverAt(B);W===void 0&&(W=o),this._addCallbacks(K,P,te,W,null)},_.prototype._addCallbacks=function(F,B,K,P,te){var W=this._length();if(W>=65531&&(W=0,this._setLength(0)),W===0)this._promise0=K,this._receiver0=P,typeof F=="function"&&(this._fulfillmentHandler0=te===null?F:a.domainBind(te,F)),typeof B=="function"&&(this._rejectionHandler0=te===null?B:a.domainBind(te,B));else{var I=W*4-4;this[I+2]=K,this[I+3]=P,typeof F=="function"&&(this[I+0]=te===null?F:a.domainBind(te,F)),typeof B=="function"&&(this[I+1]=te===null?B:a.domainBind(te,B))}return this._setLength(W+1),W},_.prototype._proxy=function(F,B){this._addCallbacks(void 0,void 0,B,F,null)},_.prototype._resolveCallback=function(F,B){if((this._bitField&117506048)===0){if(F===this)return this._rejectCallback(e(),!1);var K=y(F,this);if(!(K instanceof _))return this._fulfill(F);B&&this._propagateFrom(K,2);var P=K._target();if(P===this){this._reject(e());return}var te=P._bitField;if((te&50397184)===0){var W=this._length();W>0&&P._migrateCallback0(this);for(var I=1;I<W;++I)P._migrateCallbackAt(this,I);this._setFollowing(),this._setLength(0),this._setFollowee(P)}else if((te&33554432)!==0)this._fulfill(P._value());else if((te&16777216)!==0)this._reject(P._reason());else{var oe=new h("late cancellation observer");P._attachExtraTrace(oe),this._reject(oe)}}},_.prototype._rejectCallback=function(F,B,K){var P=a.ensureErrorObject(F),te=P===F;if(!te&&!K&&w.warnings()){var W="a promise was rejected with a non-error: "+a.classString(F);this._warn(W,!0)}this._attachExtraTrace(P,B?te:!1),this._reject(F)},_.prototype._resolveFromExecutor=function(F){var B=this;this._captureStackTrace(),this._pushContext();var K=!0,P=this._execute(F,function(te){B._resolveCallback(te)},function(te){B._rejectCallback(te,K)});K=!1,this._popContext(),P!==void 0&&B._rejectCallback(P,!0)},_.prototype._settlePromiseFromHandler=function(F,B,K,P){var te=P._bitField;if((te&65536)===0){P._pushContext();var W;B===m?!K||typeof K.length!="number"?(W=C,W.e=new d("cannot .spread() a non-array: "+a.classString(K))):W=R(F).apply(this._boundValue(),K):W=R(F).call(B,K);var I=P._popContext();te=P._bitField,(te&65536)===0&&(W===g?P._reject(K):W===C?P._rejectCallback(W.e,!1):(w.checkForgottenReturns(W,I,"",P,this),P._resolveCallback(W)))}},_.prototype._target=function(){for(var F=this;F._isFollowing();)F=F._followee();return F},_.prototype._followee=function(){return this._rejectionHandler0},_.prototype._setFollowee=function(F){this._rejectionHandler0=F},_.prototype._settlePromise=function(F,B,K,P){var te=F instanceof _,W=this._bitField,I=(W&134217728)!==0;(W&65536)!==0?(te&&F._invokeInternalOnCancel(),K instanceof E&&K.isFinallyHandler()?(K.cancelPromise=F,R(B).call(K,P)===C&&F._reject(C.e)):B===t?F._fulfill(t.call(K)):K instanceof i?K._promiseCancelled(F):te||F instanceof b?F._cancel():K.cancel()):typeof B=="function"?te?(I&&F._setAsyncGuaranteed(),this._settlePromiseFromHandler(B,K,P,F)):B.call(K,P,F):K instanceof i?K._isResolved()||((W&33554432)!==0?K._promiseFulfilled(P,F):K._promiseRejected(P,F)):te&&(I&&F._setAsyncGuaranteed(),(W&33554432)!==0?F._fulfill(P):F._reject(P))},_.prototype._settlePromiseLateCancellationObserver=function(F){var B=F.handler,K=F.promise,P=F.receiver,te=F.value;typeof B=="function"?K instanceof _?this._settlePromiseFromHandler(B,P,te,K):B.call(P,te,K):K instanceof _&&K._reject(te)},_.prototype._settlePromiseCtx=function(F){this._settlePromise(F.promise,F.handler,F.receiver,F.value)},_.prototype._settlePromise0=function(F,B,K){var P=this._promise0,te=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(P,F,te,B)},_.prototype._clearCallbackDataAtIndex=function(F){var B=F*4-4;this[B+2]=this[B+3]=this[B+0]=this[B+1]=void 0},_.prototype._fulfill=function(F){var B=this._bitField;if(!((B&117506048)>>>16)){if(F===this){var K=e();return this._attachExtraTrace(K),this._reject(K)}this._setFulfilled(),this._rejectionHandler0=F,(B&65535)>0&&((B&134217728)!==0?this._settlePromises():u.settlePromises(this))}},_.prototype._reject=function(F){var B=this._bitField;if(!((B&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=F,this._isFinal())return u.fatalError(F,a.isNode);(B&65535)>0?u.settlePromises(this):this._ensurePossibleRejectionHandled()}},_.prototype._fulfillPromises=function(F,B){for(var K=1;K<F;K++){var P=this._fulfillmentHandlerAt(K),te=this._promiseAt(K),W=this._receiverAt(K);this._clearCallbackDataAtIndex(K),this._settlePromise(te,P,W,B)}},_.prototype._rejectPromises=function(F,B){for(var K=1;K<F;K++){var P=this._rejectionHandlerAt(K),te=this._promiseAt(K),W=this._receiverAt(K);this._clearCallbackDataAtIndex(K),this._settlePromise(te,P,W,B)}},_.prototype._settlePromises=function(){var F=this._bitField,B=F&65535;if(B>0){if((F&16842752)!==0){var K=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,K,F),this._rejectPromises(B,K)}else{var P=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,P,F),this._fulfillPromises(B,P)}this._setLength(0)}this._clearCancellationData()},_.prototype._settledValue=function(){var F=this._bitField;if((F&33554432)!==0)return this._rejectionHandler0;if((F&16777216)!==0)return this._fulfillmentHandler0};function k(F){this.promise._resolveCallback(F)}function x(F){this.promise._rejectCallback(F,!1)}_.defer=_.pending=function(){w.deprecated("Promise.defer","new Promise");var F=new _(p);return{promise:F,resolve:k,reject:x}},a.notEnumerableProp(_,"_makeSelfResolutionError",e),c9()(_,p,y,r,w),l9()(_,p,y,w),u9()(_,b,r,w),f9()(_),d9()(_),h9()(_,b,y,p,u,s),_.Promise=_,_.version="3.4.7",p9()(_,b,r,y,p,w),g9()(_),m9()(_,r,y,T,p,w),y9()(_,p,w),b9()(_,r,p,y,i,w),v9()(_),x9()(_,p),D9()(_,b,y,r),w9()(_,p,y,r),_9()(_,b,r,y,p,w),T9()(_,b,w),E9()(_,b,r),C9()(_,p),S9()(_,p),A9()(_),a.toFastProperties(_),a.toFastProperties(_.prototype);function j(F){var B=new _(p);B._fulfillmentHandler0=F,B._rejectionHandler0=F,B._promise0=F,B._receiver0=F}return j({a:1}),j({b:2}),j({c:3}),j(1),j(function(){}),j(void 0),j(!1),j(new _(p)),w.setBounds(l.firstLineError,a.lastLineError),_}}(td)),td.exports}var o0;function jr(){if(o0)return Qt;o0=1;var n=rt,e=U9()();Qt.defer=t,Qt.when=e.resolve,Qt.resolve=e.resolve,Qt.all=e.all,Qt.props=e.props,Qt.reject=e.reject,Qt.promisify=e.promisify,Qt.mapSeries=e.mapSeries,Qt.attempt=e.attempt,Qt.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=n.extend({},i,r(i));return e.props(o)})};function t(){var r,i,o=new e.Promise(function(a,s){r=a,i=s});return{resolve:r,reject:i,promise:o}}return Qt}var Le={},a0;function _i(){if(a0)return Le;a0=1;var n=rt,e=Le.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 t(E,S){return S=S||{},{type:e.document,children:E,notes:S.notes||new f({}),comments:S.comments||[]}}function r(E,S){S=S||{};var U=S.indent||{};return{type:e.paragraph,children:E,styleId:S.styleId||null,styleName:S.styleName||null,numbering:S.numbering||null,alignment:S.alignment||null,indent:{start:U.start||null,end:U.end||null,firstLine:U.firstLine||null,hanging:U.hanging||null}}}function i(E,S){return S=S||{},{type:e.run,children:E,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(E){return{type:e.text,value:E}}function s(){return{type:e.tab}}function c(E){return{type:e.checkbox,checked:E.checked}}function l(E,S){return{type:e.hyperlink,children:E,href:S.href,anchor:S.anchor,targetFrame:S.targetFrame}}function u(E){return{type:e.noteReference,noteType:E.noteType,noteId:E.noteId}}function f(E){this._notes=n.indexBy(E,function(S){return m(S.noteType,S.noteId)})}f.prototype.resolve=function(E){return this.findNoteByKey(m(E.noteType,E.noteId))},f.prototype.findNoteByKey=function(E){return this._notes[E]||null};function d(E){return{type:e.note,noteType:E.noteType,noteId:E.noteId,body:E.body}}function h(E){return{type:e.commentReference,commentId:E.commentId}}function p(E){return{type:e.comment,commentId:E.commentId,body:E.body,authorName:E.authorName,authorInitials:E.authorInitials}}function m(E,S){return E+"-"+S}function g(E){return{type:e.image,read:function(S){return S?E.readImage(S):E.readImage().then(function(U){return Buffer.from(U)})},readAsArrayBuffer:function(){return E.readImage()},readAsBase64String:function(){return E.readImage("base64")},readAsBuffer:function(){return E.readImage().then(function(S){return Buffer.from(S)})},altText:E.altText,contentType:E.contentType}}function y(E,S){return S=S||{},{type:e.table,children:E,styleId:S.styleId||null,styleName:S.styleName||null}}function b(E,S){return S=S||{},{type:e.tableRow,children:E,isHeader:S.isHeader||!1}}function v(E,S){return S=S||{},{type:e.tableCell,children:E,colSpan:S.colSpan==null?1:S.colSpan,rowSpan:S.rowSpan==null?1:S.rowSpan}}function T(E){return{type:e.break,breakType:E}}function w(E){return{type:e.bookmarkStart,name:E.name}}return Le.document=Le.Document=t,Le.paragraph=Le.Paragraph=r,Le.run=Le.Run=i,Le.text=Le.Text=a,Le.tab=Le.Tab=s,Le.checkbox=Le.Checkbox=c,Le.Hyperlink=l,Le.noteReference=Le.NoteReference=u,Le.Notes=f,Le.Note=d,Le.commentReference=h,Le.comment=p,Le.Image=g,Le.Table=y,Le.TableRow=b,Le.TableCell=v,Le.lineBreak=T("line"),Le.pageBreak=T("page"),Le.columnBreak=T("column"),Le.BookmarkStart=w,Le.verticalAlignment=o,Le}var Ui={},s0;function Yn(){if(s0)return Ui;s0=1;var n=rt;Ui.Result=e,Ui.success=t,Ui.warning=r,Ui.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=n.flatten(n.pluck(c,"value")),u=o(c);return new e(l,u)};function t(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 n.flatten(n.pluck(c,"messages"),!0).forEach(function(u){a(l,u)||l.push(u)}),l}function a(c,l){return n.find(c,s.bind(null,l))!==void 0}function s(c,l){return c.type===l.type&&c.message===l.message}return Ui}var To={},Eo={},c0;function k9(){if(c0)return Eo;c0=1,Eo.byteLength=s,Eo.toByteArray=l,Eo.fromByteArray=d;for(var n=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i<o;++i)n[i]=r[i],e[r.charCodeAt(i)]=i;e[45]=62,e[95]=63;function a(h){var p=h.length;if(p%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var m=h.indexOf("=");m===-1&&(m=p);var g=m===p?0:4-m%4;return[m,g]}function s(h){var p=a(h),m=p[0],g=p[1];return(m+g)*3/4-g}function c(h,p,m){return(p+m)*3/4-m}function l(h){var p,m=a(h),g=m[0],y=m[1],b=new t(c(h,g,y)),v=0,T=y>0?g-4:g,w;for(w=0;w<T;w+=4)p=e[h.charCodeAt(w)]<<18|e[h.charCodeAt(w+1)]<<12|e[h.charCodeAt(w+2)]<<6|e[h.charCodeAt(w+3)],b[v++]=p>>16&255,b[v++]=p>>8&255,b[v++]=p&255;return y===2&&(p=e[h.charCodeAt(w)]<<2|e[h.charCodeAt(w+1)]>>4,b[v++]=p&255),y===1&&(p=e[h.charCodeAt(w)]<<10|e[h.charCodeAt(w+1)]<<4|e[h.charCodeAt(w+2)]>>2,b[v++]=p>>8&255,b[v++]=p&255),b}function u(h){return n[h>>18&63]+n[h>>12&63]+n[h>>6&63]+n[h&63]}function f(h,p,m){for(var g,y=[],b=p;b<m;b+=3)g=(h[b]<<16&16711680)+(h[b+1]<<8&65280)+(h[b+2]&255),y.push(u(g));return y.join("")}function d(h){for(var p,m=h.length,g=m%3,y=[],b=16383,v=0,T=m-g;v<T;v+=b)y.push(f(h,v,v+b>T?T:v+b));return g===1?(p=h[m-1],y.push(n[p>>2]+n[p<<4&63]+"==")):g===2&&(p=(h[m-2]<<8)+h[m-1],y.push(n[p>>10]+n[p>>4&63]+n[p<<2&63]+"=")),y.join("")}return Eo}function Ya(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Rd={exports:{}};/*!
|
|
208
|
+
|
|
209
|
+
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|
210
|
+
<http://stuartk.com/jszip>
|
|
211
|
+
|
|
212
|
+
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
|
213
|
+
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
|
214
|
+
|
|
215
|
+
JSZip uses the library pako released under the MIT license :
|
|
216
|
+
https://github.com/nodeca/pako/blob/main/LICENSE
|
|
217
|
+
*/var l0;function F9(){return l0||(l0=1,function(n,e){(function(t){n.exports=t()})(function(){return function t(r,i,o){function a(l,u){if(!i[l]){if(!r[l]){var f=typeof Ya=="function"&&Ya;if(!u&&f)return f(l,!0);if(s)return s(l,!0);var d=new Error("Cannot find module '"+l+"'");throw d.code="MODULE_NOT_FOUND",d}var h=i[l]={exports:{}};r[l][0].call(h.exports,function(p){var m=r[l][1][p];return a(m||p)},h,h.exports,t,r,i,o)}return i[l].exports}for(var s=typeof Ya=="function"&&Ya,c=0;c<o.length;c++)a(o[c]);return a}({1:[function(t,r,i){var o=t("./utils"),a=t("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(c){for(var l,u,f,d,h,p,m,g=[],y=0,b=c.length,v=b,T=o.getTypeOf(c)!=="string";y<c.length;)v=b-y,f=T?(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),d=l>>2,h=(3&l)<<4|u>>4,p=1<v?(15&u)<<2|f>>6:64,m=2<v?63&f:64,g.push(s.charAt(d)+s.charAt(h)+s.charAt(p)+s.charAt(m));return g.join("")},i.decode=function(c){var l,u,f,d,h,p,m=0,g=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);m<c.length;)l=s.indexOf(c.charAt(m++))<<2|(d=s.indexOf(c.charAt(m++)))>>4,u=(15&d)<<4|(h=s.indexOf(c.charAt(m++)))>>2,f=(3&h)<<6|(p=s.indexOf(c.charAt(m++))),b[g++]=l,h!==64&&(b[g++]=u),p!==64&&(b[g++]=f);return b}},{"./support":30,"./utils":32}],2:[function(t,r,i){var o=t("./external"),a=t("./stream/DataWorker"),s=t("./stream/Crc32Probe"),c=t("./stream/DataLengthProbe");function l(u,f,d,h,p){this.compressedSize=u,this.uncompressedSize=f,this.crc32=d,this.compression=h,this.compressedContent=p}l.prototype={getContentWorker:function(){var u=new a(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")),f=this;return u.on("end",function(){if(this.streamInfo.data_length!==f.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,f,d){return u.pipe(new s).pipe(new c("uncompressedSize")).pipe(f.compressWorker(d)).pipe(new c("compressedSize")).withStreamInfo("compression",f)},r.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,r,i){var o=t("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,r,i){var o=t("./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,f,d){var h=a,p=d+f;l^=-1;for(var m=d;m<p;m++)l=l>>>8^h[255&(l^u[m])];return-1^l}(0|c,s,s.length,0):function(l,u,f,d){var h=a,p=d+f;l^=-1;for(var m=d;m<p;m++)l=l>>>8^h[255&(l^u.charCodeAt(m))];return-1^l}(0|c,s,s.length,0):0}},{"./utils":32}],5:[function(t,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(t,r,i){var o=null;o=typeof Promise<"u"?Promise:t("lie"),r.exports={Promise:o}},{lie:37}],7:[function(t,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=t("pako"),s=t("./utils"),c=t("./stream/GenericWorker"),l=o?"uint8array":"array";function u(f,d){c.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=d,this.meta={}}i.magic="\b\0",s.inherits(u,c),u.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(l,f.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 f=this;this._pako.onData=function(d){f.push({data:d,meta:f.meta})}},i.compressWorker=function(f){return new u("Deflate",f)},i.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,r,i){function o(h,p){var m,g="";for(m=0;m<p;m++)g+=String.fromCharCode(255&h),h>>>=8;return g}function a(h,p,m,g,y,b){var v,T,w=h.file,E=h.compression,S=b!==l.utf8encode,U=s.transformTo("string",b(w.name)),C=s.transformTo("string",l.utf8encode(w.name)),R=w.comment,L=s.transformTo("string",b(R)),_=s.transformTo("string",l.utf8encode(R)),k=C.length!==w.name.length,x=_.length!==R.length,j="",F="",B="",K=w.dir,P=w.date,te={crc32:0,compressedSize:0,uncompressedSize:0};p&&!m||(te.crc32=h.crc32,te.compressedSize=h.compressedSize,te.uncompressedSize=h.uncompressedSize);var W=0;p&&(W|=8),S||!k&&!x||(W|=2048);var I=0,oe=0;K&&(I|=16),y==="UNIX"?(oe=798,I|=function(J,le){var he=J;return J||(he=le?16893:33204),(65535&he)<<16}(w.unixPermissions,K)):(oe=20,I|=function(J){return 63&(J||0)}(w.dosPermissions)),v=P.getUTCHours(),v<<=6,v|=P.getUTCMinutes(),v<<=5,v|=P.getUTCSeconds()/2,T=P.getUTCFullYear()-1980,T<<=4,T|=P.getUTCMonth()+1,T<<=5,T|=P.getUTCDate(),k&&(F=o(1,1)+o(u(U),4)+C,j+="up"+o(F.length,2)+F),x&&(B=o(1,1)+o(u(L),4)+_,j+="uc"+o(B.length,2)+B);var X="";return X+=`
|
|
218
|
+
\0`,X+=o(W,2),X+=E.magic,X+=o(v,2),X+=o(T,2),X+=o(te.crc32,4),X+=o(te.compressedSize,4),X+=o(te.uncompressedSize,4),X+=o(U.length,2),X+=o(j.length,2),{fileRecord:f.LOCAL_FILE_HEADER+X+U+j,dirRecord:f.CENTRAL_FILE_HEADER+o(oe,2)+X+o(L.length,2)+"\0\0\0\0"+o(I,4)+o(g,4)+U+j+L}}var s=t("../utils"),c=t("../stream/GenericWorker"),l=t("../utf8"),u=t("../crc32"),f=t("../signature");function d(h,p,m,g){c.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=m,this.encodeFileName=g,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(d,c),d.prototype.push=function(h){var p=h.meta.percent||0,m=this.entriesCount,g=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:m?(p+100*(m-g-1))/m:100}}))},d.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var p=this.streamFiles&&!h.file.dir;if(p){var m=a(h,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:m.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(h){this.accumulate=!1;var p=this.streamFiles&&!h.file.dir,m=a(h,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(m.dirRecord),p)this.push({data:function(g){return f.DATA_DESCRIPTOR+o(g.crc32,4)+o(g.compressedSize,4)+o(g.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:m.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var h=this.bytesWritten,p=0;p<this.dirRecords.length;p++)this.push({data:this.dirRecords[p],meta:{percent:100}});var m=this.bytesWritten-h,g=function(y,b,v,T,w){var E=s.transformTo("string",w(T));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(y,2)+o(y,2)+o(b,4)+o(v,4)+o(E.length,2)+E}(this.dirRecords.length,m,h,this.zipComment,this.encodeFileName);this.push({data:g,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(h){this._sources.push(h);var p=this;return h.on("data",function(m){p.processChunk(m)}),h.on("end",function(){p.closedSource(p.previous.streamInfo),p._sources.length?p.prepareNextSource():p.end()}),h.on("error",function(m){p.error(m)}),this},d.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))},d.prototype.error=function(h){var p=this._sources;if(!c.prototype.error.call(this,h))return!1;for(var m=0;m<p.length;m++)try{p[m].error(h)}catch{}return!0},d.prototype.lock=function(){c.prototype.lock.call(this);for(var h=this._sources,p=0;p<h.length;p++)h[p].lock()},r.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,r,i){var o=t("../compressions"),a=t("./ZipFileWorker");i.generateWorker=function(s,c,l){var u=new a(c.streamFiles,l,c.platform,c.encodeFileName),f=0;try{s.forEach(function(d,h){f++;var p=function(b,v){var T=b||v,w=o[T];if(!w)throw new Error(T+" is not a valid compression method !");return w}(h.options.compression,c.compression),m=h.options.compressionOptions||c.compressionOptions||{},g=h.dir,y=h.date;h._compressWorker(p,m).withStreamInfo("file",{name:d,dir:g,date:y,comment:h.comment||"",unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions}).pipe(u)}),u.entriesCount=f}catch(d){u.error(d)}return u}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,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=t("./object")).loadAsync=t("./load"),o.support=t("./support"),o.defaults=t("./defaults"),o.version="3.10.1",o.loadAsync=function(a,s){return new o().loadAsync(a,s)},o.external=t("./external"),r.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,r,i){var o=t("./utils"),a=t("./external"),s=t("./utf8"),c=t("./zipEntries"),l=t("./stream/Crc32Probe"),u=t("./nodejsUtils");function f(d){return new a.Promise(function(h,p){var m=d.decompressed.getContentWorker().pipe(new l);m.on("error",function(g){p(g)}).on("end",function(){m.streamInfo.crc32!==d.decompressed.crc32?p(new Error("Corrupted zip : CRC32 mismatch")):h()}).resume()})}r.exports=function(d,h){var p=this;return h=o.extend(h||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),u.isNode&&u.isStream(d)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",d,!0,h.optimizedBinaryString,h.base64).then(function(m){var g=new c(h);return g.load(m),g}).then(function(m){var g=[a.Promise.resolve(m)],y=m.files;if(h.checkCRC32)for(var b=0;b<y.length;b++)g.push(f(y[b]));return a.Promise.all(g)}).then(function(m){for(var g=m.shift(),y=g.files,b=0;b<y.length;b++){var v=y[b],T=v.fileNameStr,w=o.resolve(v.fileNameStr);p.file(w,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||(p.file(w).unsafeOriginalName=T)}return g.zipComment.length&&(p.comment=g.zipComment),p})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,r,i){var o=t("../utils"),a=t("../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(t,r,i){var o=t("readable-stream").Readable;function a(s,c,l){o.call(this,c),this._helper=s;var u=this;s.on("data",function(f,d){u.push(f)||u._helper.pause(),l&&l(d)}).on("error",function(f){u.emit("error",f)}).on("end",function(){u.push(null)})}t("../utils").inherits(a,o),a.prototype._read=function(){this._helper.resume()},r.exports=a},{"../utils":32,"readable-stream":16}],14:[function(t,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(t,r,i){function o(w,E,S){var U,C=s.getTypeOf(E),R=s.extend(S||{},u);R.date=R.date||new Date,R.compression!==null&&(R.compression=R.compression.toUpperCase()),typeof R.unixPermissions=="string"&&(R.unixPermissions=parseInt(R.unixPermissions,8)),R.unixPermissions&&16384&R.unixPermissions&&(R.dir=!0),R.dosPermissions&&16&R.dosPermissions&&(R.dir=!0),R.dir&&(w=y(w)),R.createFolders&&(U=g(w))&&b.call(this,U,!0);var L=C==="string"&&R.binary===!1&&R.base64===!1;S&&S.binary!==void 0||(R.binary=!L),(E instanceof f&&E.uncompressedSize===0||R.dir||!E||E.length===0)&&(R.base64=!1,R.binary=!0,E="",R.compression="STORE",C="string");var _=null;_=E instanceof f||E instanceof c?E:p.isNode&&p.isStream(E)?new m(w,E):s.prepareContent(w,E,R.binary,R.optimizedBinaryString,R.base64);var k=new d(w,_,R);this.files[w]=k}var a=t("./utf8"),s=t("./utils"),c=t("./stream/GenericWorker"),l=t("./stream/StreamHelper"),u=t("./defaults"),f=t("./compressedObject"),d=t("./zipObject"),h=t("./generate"),p=t("./nodejsUtils"),m=t("./nodejs/NodejsStreamInputAdapter"),g=function(w){w.slice(-1)==="/"&&(w=w.substring(0,w.length-1));var E=w.lastIndexOf("/");return 0<E?w.substring(0,E):""},y=function(w){return w.slice(-1)!=="/"&&(w+="/"),w},b=function(w,E){return E=E!==void 0?E:u.createFolders,w=y(w),this.files[w]||o.call(this,w,null,{dir:!0,createFolders:E}),this.files[w]};function v(w){return Object.prototype.toString.call(w)==="[object RegExp]"}var T={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(w){var E,S,U;for(E in this.files)U=this.files[E],(S=E.slice(this.root.length,E.length))&&E.slice(0,this.root.length)===this.root&&w(S,U)},filter:function(w){var E=[];return this.forEach(function(S,U){w(S,U)&&E.push(U)}),E},file:function(w,E,S){if(arguments.length!==1)return w=this.root+w,o.call(this,w,E,S),this;if(v(w)){var U=w;return this.filter(function(R,L){return!L.dir&&U.test(R)})}var C=this.files[this.root+w];return C&&!C.dir?C:null},folder:function(w){if(!w)return this;if(v(w))return this.filter(function(C,R){return R.dir&&w.test(C)});var E=this.root+w,S=b.call(this,E),U=this.clone();return U.root=S.name,U},remove:function(w){w=this.root+w;var E=this.files[w];if(E||(w.slice(-1)!=="/"&&(w+="/"),E=this.files[w]),E&&!E.dir)delete this.files[w];else for(var S=this.filter(function(C,R){return R.name.slice(0,w.length)===w}),U=0;U<S.length;U++)delete this.files[S[U].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(w){var E,S={};try{if((S=s.extend(w||{},{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 U=S.comment||this.comment||"";E=h.generateWorker(this,S,U)}catch(C){(E=new c("error")).error(C)}return new l(E,S.type||"string",S.mimeType)},generateAsync:function(w,E){return this.generateInternalStream(w).accumulate(E)},generateNodeStream:function(w,E){return(w=w||{}).type||(w.type="nodebuffer"),this.generateInternalStream(w).toNodejsStream(E)}};r.exports=T},{"./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(t,r,i){r.exports=t("stream")},{stream:void 0}],17:[function(t,r,i){var o=t("./DataReader");function a(s){o.call(this,s);for(var c=0;c<this.data.length;c++)s[c]=255&s[c]}t("../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),f=s.charCodeAt(3),d=this.length-4;0<=d;--d)if(this.data[d]===c&&this.data[d+1]===l&&this.data[d+2]===u&&this.data[d+3]===f)return d-this.zero;return-1},a.prototype.readAndCheckSignature=function(s){var c=s.charCodeAt(0),l=s.charCodeAt(1),u=s.charCodeAt(2),f=s.charCodeAt(3),d=this.readData(4);return c===d[0]&&l===d[1]&&u===d[2]&&f===d[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(t,r,i){var o=t("../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(t,r,i){var o=t("./Uint8ArrayReader");function a(s){o.call(this,s)}t("../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(t,r,i){var o=t("./DataReader");function a(s){o.call(this,s)}t("../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(t,r,i){var o=t("./ArrayReader");function a(s){o.call(this,s)}t("../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(t,r,i){var o=t("../utils"),a=t("../support"),s=t("./ArrayReader"),c=t("./StringReader"),l=t("./NodeBufferReader"),u=t("./Uint8ArrayReader");r.exports=function(f){var d=o.getTypeOf(f);return o.checkSupport(d),d!=="string"||a.uint8array?d==="nodebuffer"?new l(f):a.uint8array?new u(o.transformTo("uint8array",f)):new s(o.transformTo("array",f)):new c(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,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(t,r,i){var o=t("./GenericWorker"),a=t("../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(t,r,i){var o=t("./GenericWorker"),a=t("../crc32");function s(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../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(t,r,i){var o=t("../utils"),a=t("./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(t,r,i){var o=t("../utils"),a=t("./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(t,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(t,r,i){var o=t("../utils"),a=t("./ConvertWorker"),s=t("./GenericWorker"),c=t("../base64"),l=t("../support"),u=t("../external"),f=null;if(l.nodestream)try{f=t("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(p,m){return new u.Promise(function(g,y){var b=[],v=p._internalType,T=p._outputType,w=p._mimeType;p.on("data",function(E,S){b.push(E),m&&m(S)}).on("error",function(E){b=[],y(E)}).on("end",function(){try{var E=function(S,U,C){switch(S){case"blob":return o.newBlob(o.transformTo("arraybuffer",U),C);case"base64":return c.encode(U);default:return o.transformTo(S,U)}}(T,function(S,U){var C,R=0,L=null,_=0;for(C=0;C<U.length;C++)_+=U[C].length;switch(S){case"string":return U.join("");case"array":return Array.prototype.concat.apply([],U);case"uint8array":for(L=new Uint8Array(_),C=0;C<U.length;C++)L.set(U[C],R),R+=U[C].length;return L;case"nodebuffer":return Buffer.concat(U);default:throw new Error("concat : unsupported type '"+S+"'")}}(v,b),w);g(E)}catch(S){y(S)}b=[]}).resume()})}function h(p,m,g){var y=m;switch(m){case"blob":case"arraybuffer":y="uint8array";break;case"base64":y="string"}try{this._internalType=y,this._outputType=m,this._mimeType=g,o.checkSupport(y),this._worker=p.pipe(new a(y)),p.lock()}catch(b){this._worker=new s("error"),this._worker.error(b)}}h.prototype={accumulate:function(p){return d(this,p)},on:function(p,m){var g=this;return p==="data"?this._worker.on(p,function(y){m.call(g,y.data,y.meta)}):this._worker.on(p,function(){o.delay(m,arguments,g)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(p){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:this._outputType!=="nodebuffer"},p)}},r.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,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=!!t("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(t,r,i){for(var o=t("./utils"),a=t("./support"),s=t("./nodejsUtils"),c=t("./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 f(){c.call(this,"utf-8 decode"),this.leftOver=null}function d(){c.call(this,"utf-8 encode")}i.utf8encode=function(h){return a.nodebuffer?s.newBufferFrom(h,"utf-8"):function(p){var m,g,y,b,v,T=p.length,w=0;for(b=0;b<T;b++)(64512&(g=p.charCodeAt(b)))==55296&&b+1<T&&(64512&(y=p.charCodeAt(b+1)))==56320&&(g=65536+(g-55296<<10)+(y-56320),b++),w+=g<128?1:g<2048?2:g<65536?3:4;for(m=a.uint8array?new Uint8Array(w):new Array(w),b=v=0;v<w;b++)(64512&(g=p.charCodeAt(b)))==55296&&b+1<T&&(64512&(y=p.charCodeAt(b+1)))==56320&&(g=65536+(g-55296<<10)+(y-56320),b++),g<128?m[v++]=g:(g<2048?m[v++]=192|g>>>6:(g<65536?m[v++]=224|g>>>12:(m[v++]=240|g>>>18,m[v++]=128|g>>>12&63),m[v++]=128|g>>>6&63),m[v++]=128|63&g);return m}(h)},i.utf8decode=function(h){return a.nodebuffer?o.transformTo("nodebuffer",h).toString("utf-8"):function(p){var m,g,y,b,v=p.length,T=new Array(2*v);for(m=g=0;m<v;)if((y=p[m++])<128)T[g++]=y;else if(4<(b=l[y]))T[g++]=65533,m+=b-1;else{for(y&=b===2?31:b===3?15:7;1<b&&m<v;)y=y<<6|63&p[m++],b--;1<b?T[g++]=65533:y<65536?T[g++]=y:(y-=65536,T[g++]=55296|y>>10&1023,T[g++]=56320|1023&y)}return T.length!==g&&(T.subarray?T=T.subarray(0,g):T.length=g),o.applyFromCharCode(T)}(h=o.transformTo(a.uint8array?"uint8array":"array",h))},o.inherits(f,c),f.prototype.processChunk=function(h){var p=o.transformTo(a.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var m=p;(p=new Uint8Array(m.length+this.leftOver.length)).set(this.leftOver,0),p.set(m,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var g=function(b,v){var T;for((v=v||b.length)>b.length&&(v=b.length),T=v-1;0<=T&&(192&b[T])==128;)T--;return T<0||T===0?v:T+l[b[T]]>v?T:v}(p),y=p;g!==p.length&&(a.uint8array?(y=p.subarray(0,g),this.leftOver=p.subarray(g,p.length)):(y=p.slice(0,g),this.leftOver=p.slice(g,p.length))),this.push({data:i.utf8decode(y),meta:h.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=f,o.inherits(d,c),d.prototype.processChunk=function(h){this.push({data:i.utf8encode(h.data),meta:h.meta})},i.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,r,i){var o=t("./support"),a=t("./base64"),s=t("./nodejsUtils"),c=t("./external");function l(m){return m}function u(m,g){for(var y=0;y<m.length;++y)g[y]=255&m.charCodeAt(y);return g}t("setimmediate"),i.newBlob=function(m,g){i.checkSupport("blob");try{return new Blob([m],{type:g})}catch{try{var y=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return y.append(m),y.getBlob(g)}catch{throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(m,g,y){var b=[],v=0,T=m.length;if(T<=y)return String.fromCharCode.apply(null,m);for(;v<T;)g==="array"||g==="nodebuffer"?b.push(String.fromCharCode.apply(null,m.slice(v,Math.min(v+y,T)))):b.push(String.fromCharCode.apply(null,m.subarray(v,Math.min(v+y,T)))),v+=y;return b.join("")},stringifyByChar:function(m){for(var g="",y=0;y<m.length;y++)g+=String.fromCharCode(m[y]);return g},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 d(m){var g=65536,y=i.getTypeOf(m),b=!0;if(y==="uint8array"?b=f.applyCanBeUsed.uint8array:y==="nodebuffer"&&(b=f.applyCanBeUsed.nodebuffer),b)for(;1<g;)try{return f.stringifyByChunk(m,y,g)}catch{g=Math.floor(g/2)}return f.stringifyByChar(m)}function h(m,g){for(var y=0;y<m.length;y++)g[y]=m[y];return g}i.applyFromCharCode=d;var p={};p.string={string:l,array:function(m){return u(m,new Array(m.length))},arraybuffer:function(m){return p.string.uint8array(m).buffer},uint8array:function(m){return u(m,new Uint8Array(m.length))},nodebuffer:function(m){return u(m,s.allocBuffer(m.length))}},p.array={string:d,array:l,arraybuffer:function(m){return new Uint8Array(m).buffer},uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return s.newBufferFrom(m)}},p.arraybuffer={string:function(m){return d(new Uint8Array(m))},array:function(m){return h(new Uint8Array(m),new Array(m.byteLength))},arraybuffer:l,uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return s.newBufferFrom(new Uint8Array(m))}},p.uint8array={string:d,array:function(m){return h(m,new Array(m.length))},arraybuffer:function(m){return m.buffer},uint8array:l,nodebuffer:function(m){return s.newBufferFrom(m)}},p.nodebuffer={string:d,array:function(m){return h(m,new Array(m.length))},arraybuffer:function(m){return p.nodebuffer.uint8array(m).buffer},uint8array:function(m){return h(m,new Uint8Array(m.length))},nodebuffer:l},i.transformTo=function(m,g){if(g=g||"",!m)return g;i.checkSupport(m);var y=i.getTypeOf(g);return p[y][m](g)},i.resolve=function(m){for(var g=m.split("/"),y=[],b=0;b<g.length;b++){var v=g[b];v==="."||v===""&&b!==0&&b!==g.length-1||(v===".."?y.pop():y.push(v))}return y.join("/")},i.getTypeOf=function(m){return typeof m=="string"?"string":Object.prototype.toString.call(m)==="[object Array]"?"array":o.nodebuffer&&s.isBuffer(m)?"nodebuffer":o.uint8array&&m instanceof Uint8Array?"uint8array":o.arraybuffer&&m instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(m){if(!o[m.toLowerCase()])throw new Error(m+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(m){var g,y,b="";for(y=0;y<(m||"").length;y++)b+="\\x"+((g=m.charCodeAt(y))<16?"0":"")+g.toString(16).toUpperCase();return b},i.delay=function(m,g,y){setImmediate(function(){m.apply(y||null,g||[])})},i.inherits=function(m,g){function y(){}y.prototype=g.prototype,m.prototype=new y},i.extend=function(){var m,g,y={};for(m=0;m<arguments.length;m++)for(g in arguments[m])Object.prototype.hasOwnProperty.call(arguments[m],g)&&y[g]===void 0&&(y[g]=arguments[m][g]);return y},i.prepareContent=function(m,g,y,b,v){return c.Promise.resolve(g).then(function(T){return o.blob&&(T instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(T))!==-1)&&typeof FileReader<"u"?new c.Promise(function(w,E){var S=new FileReader;S.onload=function(U){w(U.target.result)},S.onerror=function(U){E(U.target.error)},S.readAsArrayBuffer(T)}):T}).then(function(T){var w=i.getTypeOf(T);return w?(w==="arraybuffer"?T=i.transformTo("uint8array",T):w==="string"&&(v?T=a.decode(T):y&&b!==!0&&(T=function(E){return u(E,o.uint8array?new Uint8Array(E.length):new Array(E.length))}(T))),T):c.Promise.reject(new Error("Can't read the data of '"+m+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,r,i){var o=t("./reader/readerFor"),a=t("./utils"),s=t("./signature"),c=t("./zipEntry"),l=t("./support");function u(f){this.files=[],this.loadOptions=f}u.prototype={checkSignature:function(f){if(!this.reader.readAndCheckSignature(f)){this.reader.index-=4;var d=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(d)+", expected "+a.pretty(f)+")")}},isSignature:function(f,d){var h=this.reader.index;this.reader.setIndex(f);var p=this.reader.readString(4)===d;return this.reader.setIndex(h),p},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 f=this.reader.readData(this.zipCommentLength),d=l.uint8array?"uint8array":"array",h=a.transformTo(d,f);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 f,d,h,p=this.zip64EndOfCentralSize-44;0<p;)f=this.reader.readInt(2),d=this.reader.readInt(4),h=this.reader.readData(d),this.zip64ExtensibleData[f]={id:f,length:d,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 f,d;for(f=0;f<this.files.length;f++)d=this.files[f],this.reader.setIndex(d.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),d.readLocalPart(this.reader),d.handleUTF8(),d.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(f=new c({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(f);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 f=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(f<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(f);var d=f;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,(f=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(f),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 p=d-h;if(0<p)this.isSignature(d,s.CENTRAL_FILE_HEADER)||(this.reader.zero=p);else if(p<0)throw new Error("Corrupted zip: missing "+Math.abs(p)+" bytes.")},prepareReader:function(f){this.reader=o(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,r,i){var o=t("./reader/readerFor"),a=t("./utils"),s=t("./compressedObject"),c=t("./crc32"),l=t("./utf8"),u=t("./compressions"),f=t("./support");function d(h,p){this.options=h,this.loadOptions=p}d.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(h){var p,m;if(h.skip(22),this.fileNameLength=h.readInt(2),m=h.readInt(2),this.fileName=h.readData(this.fileNameLength),h.skip(m),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((p=function(g){for(var y in u)if(Object.prototype.hasOwnProperty.call(u,y)&&u[y].magic===g)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,p,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 p=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(p),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 p,m,g,y=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4<y;)p=h.readInt(2),m=h.readInt(2),g=h.readData(m),this.extraFields[p]={id:p,length:m,value:g};h.setIndex(y)},handleUTF8:function(){var h=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment);else{var p=this.findExtraFieldUnicodePath();if(p!==null)this.fileNameStr=p;else{var m=a.transformTo(h,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(m)}var g=this.findExtraFieldUnicodeComment();if(g!==null)this.fileCommentStr=g;else{var y=a.transformTo(h,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(y)}}},findExtraFieldUnicodePath:function(){var h=this.extraFields[28789];if(h){var p=o(h.value);return p.readInt(1)!==1||c(this.fileName)!==p.readInt(4)?null:l.utf8decode(p.readData(h.length-5))}return null},findExtraFieldUnicodeComment:function(){var h=this.extraFields[25461];if(h){var p=o(h.value);return p.readInt(1)!==1||c(this.fileComment)!==p.readInt(4)?null:l.utf8decode(p.readData(h.length-5))}return null}},r.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,r,i){function o(p,m,g){this.name=p,this.dir=g.dir,this.date=g.date,this.comment=g.comment,this.unixPermissions=g.unixPermissions,this.dosPermissions=g.dosPermissions,this._data=m,this._dataBinary=g.binary,this.options={compression:g.compression,compressionOptions:g.compressionOptions}}var a=t("./stream/StreamHelper"),s=t("./stream/DataWorker"),c=t("./utf8"),l=t("./compressedObject"),u=t("./stream/GenericWorker");o.prototype={internalStream:function(p){var m=null,g="string";try{if(!p)throw new Error("No output type specified.");var y=(g=p.toLowerCase())==="string"||g==="text";g!=="binarystring"&&g!=="text"||(g="string"),m=this._decompressWorker();var b=!this._dataBinary;b&&!y&&(m=m.pipe(new c.Utf8EncodeWorker)),!b&&y&&(m=m.pipe(new c.Utf8DecodeWorker))}catch(v){(m=new u("error")).error(v)}return new a(m,g,"")},async:function(p,m){return this.internalStream(p).accumulate(m)},nodeStream:function(p,m){return this.internalStream(p||"nodebuffer").toNodejsStream(m)},_compressWorker:function(p,m){if(this._data instanceof l&&this._data.compression.magic===p.magic)return this._data.getCompressedWorker();var g=this._decompressWorker();return this._dataBinary||(g=g.pipe(new c.Utf8EncodeWorker)),l.createWorkerFrom(g,p,m)},_decompressWorker:function(){return this._data instanceof l?this._data.getContentWorker():this._data instanceof u?this._data:new s(this._data)}};for(var f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],d=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<f.length;h++)o.prototype[f[h]]=d;r.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,r,i){(function(o){var a,s,c=o.MutationObserver||o.WebKitMutationObserver;if(c){var l=0,u=new c(p),f=o.document.createTextNode("");u.observe(f,{characterData:!0}),a=function(){f.data=l=++l%2}}else if(o.setImmediate||o.MessageChannel===void 0)a="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var m=o.document.createElement("script");m.onreadystatechange=function(){p(),m.onreadystatechange=null,m.parentNode.removeChild(m),m=null},o.document.documentElement.appendChild(m)}:function(){setTimeout(p,0)};else{var d=new o.MessageChannel;d.port1.onmessage=p,a=function(){d.port2.postMessage(0)}}var h=[];function p(){var m,g;s=!0;for(var y=h.length;y;){for(g=h,h=[],m=-1;++m<y;)g[m]();y=h.length}s=!1}r.exports=function(m){h.push(m)!==1||s||a()}}).call(this,typeof rn<"u"?rn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(t,r,i){var o=t("immediate");function a(){}var s={},c=["REJECTED"],l=["FULFILLED"],u=["PENDING"];function f(y){if(typeof y!="function")throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,y!==a&&m(this,y)}function d(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 T;try{T=b(v)}catch(w){return s.reject(y,w)}T===y?s.reject(y,new TypeError("Cannot resolve promise with itself")):s.resolve(y,T)})}function p(y){var b=y&&y.then;if(y&&(typeof y=="object"||typeof y=="function")&&typeof b=="function")return function(){b.apply(y,arguments)}}function m(y,b){var v=!1;function T(S){v||(v=!0,s.reject(y,S))}function w(S){v||(v=!0,s.resolve(y,S))}var E=g(function(){b(w,T)});E.status==="error"&&T(E.value)}function g(y,b){var v={};try{v.value=y(b),v.status="success"}catch(T){v.status="error",v.value=T}return v}(r.exports=f).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})})},f.prototype.catch=function(y){return this.then(null,y)},f.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 d(v,y,b)),v},d.prototype.callFulfilled=function(y){s.resolve(this.promise,y)},d.prototype.otherCallFulfilled=function(y){h(this.promise,this.onFulfilled,y)},d.prototype.callRejected=function(y){s.reject(this.promise,y)},d.prototype.otherCallRejected=function(y){h(this.promise,this.onRejected,y)},s.resolve=function(y,b){var v=g(p,b);if(v.status==="error")return s.reject(y,v.value);var T=v.value;if(T)m(y,T);else{y.state=l,y.outcome=b;for(var w=-1,E=y.queue.length;++w<E;)y.queue[w].callFulfilled(b)}return y},s.reject=function(y,b){y.state=c,y.outcome=b;for(var v=-1,T=y.queue.length;++v<T;)y.queue[v].callRejected(b);return y},f.resolve=function(y){return y instanceof this?y:s.resolve(new this(a),y)},f.reject=function(y){var b=new this(a);return s.reject(b,y)},f.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,T=!1;if(!v)return this.resolve([]);for(var w=new Array(v),E=0,S=-1,U=new this(a);++S<v;)C(y[S],S);return U;function C(R,L){b.resolve(R).then(function(_){w[L]=_,++E!==v||T||(T=!0,s.resolve(U,w))},function(_){T||(T=!0,s.reject(U,_))})}},f.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,T=!1;if(!v)return this.resolve([]);for(var w=-1,E=new this(a);++w<v;)S=y[w],b.resolve(S).then(function(U){T||(T=!0,s.resolve(E,U))},function(U){T||(T=!0,s.reject(E,U))});var S;return E}},{immediate:36}],38:[function(t,r,i){var o={};(0,t("./lib/utils/common").assign)(o,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),r.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,r,i){var o=t("./zlib/deflate"),a=t("./utils/common"),s=t("./utils/strings"),c=t("./zlib/messages"),l=t("./zlib/zstream"),u=Object.prototype.toString,f=0,d=-1,h=0,p=8;function m(y){if(!(this instanceof m))return new m(y);this.options=a.assign({level:d,method:p,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!==f)throw new Error(c[v]);if(b.header&&o.deflateSetHeader(this.strm,b.header),b.dictionary){var T;if(T=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,T))!==f)throw new Error(c[v]);this._dict_set=!0}}function g(y,b){var v=new m(b);if(v.push(y,!0),v.err)throw v.msg||c[v.err];return v.result}m.prototype.push=function(y,b){var v,T,w=this.strm,E=this.options.chunkSize;if(this.ended)return!1;T=b===~~b?b:b===!0?4:0,typeof y=="string"?w.input=s.string2buf(y):u.call(y)==="[object ArrayBuffer]"?w.input=new Uint8Array(y):w.input=y,w.next_in=0,w.avail_in=w.input.length;do{if(w.avail_out===0&&(w.output=new a.Buf8(E),w.next_out=0,w.avail_out=E),(v=o.deflate(w,T))!==1&&v!==f)return this.onEnd(v),!(this.ended=!0);w.avail_out!==0&&(w.avail_in!==0||T!==4&&T!==2)||(this.options.to==="string"?this.onData(s.buf2binstring(a.shrinkBuf(w.output,w.next_out))):this.onData(a.shrinkBuf(w.output,w.next_out)))}while((0<w.avail_in||w.avail_out===0)&&v!==1);return T===4?(v=o.deflateEnd(this.strm),this.onEnd(v),this.ended=!0,v===f):T!==2||(this.onEnd(f),!(w.avail_out=0))},m.prototype.onData=function(y){this.chunks.push(y)},m.prototype.onEnd=function(y){y===f&&(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=m,i.deflate=g,i.deflateRaw=function(y,b){return(b=b||{}).raw=!0,g(y,b)},i.gzip=function(y,b){return(b=b||{}).gzip=!0,g(y,b)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,r,i){var o=t("./zlib/inflate"),a=t("./utils/common"),s=t("./utils/strings"),c=t("./zlib/constants"),l=t("./zlib/messages"),u=t("./zlib/zstream"),f=t("./zlib/gzheader"),d=Object.prototype.toString;function h(m){if(!(this instanceof h))return new h(m);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},m||{});var g=this.options;g.raw&&0<=g.windowBits&&g.windowBits<16&&(g.windowBits=-g.windowBits,g.windowBits===0&&(g.windowBits=-15)),!(0<=g.windowBits&&g.windowBits<16)||m&&m.windowBits||(g.windowBits+=32),15<g.windowBits&&g.windowBits<48&&(15&g.windowBits)==0&&(g.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,g.windowBits);if(y!==c.Z_OK)throw new Error(l[y]);this.header=new f,o.inflateGetHeader(this.strm,this.header)}function p(m,g){var y=new h(g);if(y.push(m,!0),y.err)throw y.msg||l[y.err];return y.result}h.prototype.push=function(m,g){var y,b,v,T,w,E,S=this.strm,U=this.options.chunkSize,C=this.options.dictionary,R=!1;if(this.ended)return!1;b=g===~~g?g:g===!0?c.Z_FINISH:c.Z_NO_FLUSH,typeof m=="string"?S.input=s.binstring2buf(m):d.call(m)==="[object ArrayBuffer]"?S.input=new Uint8Array(m):S.input=m,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&&(S.output=new a.Buf8(U),S.next_out=0,S.avail_out=U),(y=o.inflate(S,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&C&&(E=typeof C=="string"?s.string2buf(C):d.call(C)==="[object ArrayBuffer]"?new Uint8Array(C):C,y=o.inflateSetDictionary(this.strm,E)),y===c.Z_BUF_ERROR&&R===!0&&(y=c.Z_OK,R=!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),T=S.next_out-v,w=s.buf2string(S.output,v),S.next_out=T,S.avail_out=U-T,T&&a.arraySet(S.output,S.output,v,T,0),this.onData(w)):this.onData(a.shrinkBuf(S.output,S.next_out)))),S.avail_in===0&&S.avail_out===0&&(R=!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(m){this.chunks.push(m)},h.prototype.onEnd=function(m){m===c.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},i.Inflate=h,i.inflate=p,i.inflateRaw=function(m,g){return(g=g||{}).raw=!0,p(m,g)},i.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,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 f in u)u.hasOwnProperty(f)&&(c[f]=u[f])}}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,f,d){if(l.subarray&&c.subarray)c.set(l.subarray(u,u+f),d);else for(var h=0;h<f;h++)c[d+h]=l[u+h]},flattenChunks:function(c){var l,u,f,d,h,p;for(l=f=0,u=c.length;l<u;l++)f+=c[l].length;for(p=new Uint8Array(f),l=d=0,u=c.length;l<u;l++)h=c[l],p.set(h,d),d+=h.length;return p}},s={arraySet:function(c,l,u,f,d){for(var h=0;h<f;h++)c[d+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(t,r,i){var o=t("./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(f,d){if(d<65537&&(f.subarray&&s||!f.subarray&&a))return String.fromCharCode.apply(null,o.shrinkBuf(f,d));for(var h="",p=0;p<d;p++)h+=String.fromCharCode(f[p]);return h}c[254]=c[254]=1,i.string2buf=function(f){var d,h,p,m,g,y=f.length,b=0;for(m=0;m<y;m++)(64512&(h=f.charCodeAt(m)))==55296&&m+1<y&&(64512&(p=f.charCodeAt(m+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),m++),b+=h<128?1:h<2048?2:h<65536?3:4;for(d=new o.Buf8(b),m=g=0;g<b;m++)(64512&(h=f.charCodeAt(m)))==55296&&m+1<y&&(64512&(p=f.charCodeAt(m+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),m++),h<128?d[g++]=h:(h<2048?d[g++]=192|h>>>6:(h<65536?d[g++]=224|h>>>12:(d[g++]=240|h>>>18,d[g++]=128|h>>>12&63),d[g++]=128|h>>>6&63),d[g++]=128|63&h);return d},i.buf2binstring=function(f){return u(f,f.length)},i.binstring2buf=function(f){for(var d=new o.Buf8(f.length),h=0,p=d.length;h<p;h++)d[h]=f.charCodeAt(h);return d},i.buf2string=function(f,d){var h,p,m,g,y=d||f.length,b=new Array(2*y);for(h=p=0;h<y;)if((m=f[h++])<128)b[p++]=m;else if(4<(g=c[m]))b[p++]=65533,h+=g-1;else{for(m&=g===2?31:g===3?15:7;1<g&&h<y;)m=m<<6|63&f[h++],g--;1<g?b[p++]=65533:m<65536?b[p++]=m:(m-=65536,b[p++]=55296|m>>10&1023,b[p++]=56320|1023&m)}return u(b,p)},i.utf8border=function(f,d){var h;for((d=d||f.length)>f.length&&(d=f.length),h=d-1;0<=h&&(192&f[h])==128;)h--;return h<0||h===0?d:h+c[f[h]]>d?h:d}},{"./common":41}],43:[function(t,r,i){r.exports=function(o,a,s,c){for(var l=65535&o|0,u=o>>>16&65535|0,f=0;s!==0;){for(s-=f=2e3<s?2e3:s;u=u+(l=l+a[c++]|0)|0,--f;);l%=65521,u%=65521}return l|u<<16|0}},{}],44:[function(t,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(t,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,f=l+c;a^=-1;for(var d=l;d<f;d++)a=a>>>8^u[255&(a^s[d])];return-1^a}},{}],46:[function(t,r,i){var o,a=t("../utils/common"),s=t("./trees"),c=t("./adler32"),l=t("./crc32"),u=t("./messages"),f=0,d=4,h=0,p=-2,m=-1,g=4,y=2,b=8,v=9,T=286,w=30,E=19,S=2*T+1,U=15,C=3,R=258,L=R+C+1,_=42,k=113,x=1,j=2,F=3,B=4;function K(D,V){return D.msg=u[V],V}function P(D){return(D<<1)-(4<D?9:0)}function te(D){for(var V=D.length;0<=--V;)D[V]=0}function W(D){var V=D.state,z=V.pending;z>D.avail_out&&(z=D.avail_out),z!==0&&(a.arraySet(D.output,V.pending_buf,V.pending_out,z,D.next_out),D.next_out+=z,V.pending_out+=z,D.total_out+=z,D.avail_out-=z,V.pending-=z,V.pending===0&&(V.pending_out=0))}function I(D,V){s._tr_flush_block(D,0<=D.block_start?D.block_start:-1,D.strstart-D.block_start,V),D.block_start=D.strstart,W(D.strm)}function oe(D,V){D.pending_buf[D.pending++]=V}function X(D,V){D.pending_buf[D.pending++]=V>>>8&255,D.pending_buf[D.pending++]=255&V}function J(D,V){var z,M,N=D.max_chain_length,$=D.strstart,ie=D.prev_length,ne=D.nice_match,Z=D.strstart>D.w_size-L?D.strstart-(D.w_size-L):0,q=D.window,G=D.w_mask,Y=D.prev,ae=D.strstart+R,xe=q[$+ie-1],Te=q[$+ie];D.prev_length>=D.good_match&&(N>>=2),ne>D.lookahead&&(ne=D.lookahead);do if(q[(z=V)+ie]===Te&&q[z+ie-1]===xe&&q[z]===q[$]&&q[++z]===q[$+1]){$+=2,z++;do;while(q[++$]===q[++z]&&q[++$]===q[++z]&&q[++$]===q[++z]&&q[++$]===q[++z]&&q[++$]===q[++z]&&q[++$]===q[++z]&&q[++$]===q[++z]&&q[++$]===q[++z]&&$<ae);if(M=R-(ae-$),$=ae-R,ie<M){if(D.match_start=V,ne<=(ie=M))break;xe=q[$+ie-1],Te=q[$+ie]}}while((V=Y[V&G])>Z&&--N!=0);return ie<=D.lookahead?ie:D.lookahead}function le(D){var V,z,M,N,$,ie,ne,Z,q,G,Y=D.w_size;do{if(N=D.window_size-D.lookahead-D.strstart,D.strstart>=Y+(Y-L)){for(a.arraySet(D.window,D.window,Y,Y,0),D.match_start-=Y,D.strstart-=Y,D.block_start-=Y,V=z=D.hash_size;M=D.head[--V],D.head[V]=Y<=M?M-Y:0,--z;);for(V=z=Y;M=D.prev[--V],D.prev[V]=Y<=M?M-Y:0,--z;);N+=Y}if(D.strm.avail_in===0)break;if(ie=D.strm,ne=D.window,Z=D.strstart+D.lookahead,q=N,G=void 0,G=ie.avail_in,q<G&&(G=q),z=G===0?0:(ie.avail_in-=G,a.arraySet(ne,ie.input,ie.next_in,G,Z),ie.state.wrap===1?ie.adler=c(ie.adler,ne,G,Z):ie.state.wrap===2&&(ie.adler=l(ie.adler,ne,G,Z)),ie.next_in+=G,ie.total_in+=G,G),D.lookahead+=z,D.lookahead+D.insert>=C)for($=D.strstart-D.insert,D.ins_h=D.window[$],D.ins_h=(D.ins_h<<D.hash_shift^D.window[$+1])&D.hash_mask;D.insert&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[$+C-1])&D.hash_mask,D.prev[$&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=$,$++,D.insert--,!(D.lookahead+D.insert<C)););}while(D.lookahead<L&&D.strm.avail_in!==0)}function he(D,V){for(var z,M;;){if(D.lookahead<L){if(le(D),D.lookahead<L&&V===f)return x;if(D.lookahead===0)break}if(z=0,D.lookahead>=C&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+C-1])&D.hash_mask,z=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),z!==0&&D.strstart-z<=D.w_size-L&&(D.match_length=J(D,z)),D.match_length>=C)if(M=s._tr_tally(D,D.strstart-D.match_start,D.match_length-C),D.lookahead-=D.match_length,D.match_length<=D.max_lazy_match&&D.lookahead>=C){for(D.match_length--;D.strstart++,D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+C-1])&D.hash_mask,z=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart,--D.match_length!=0;);D.strstart++}else D.strstart+=D.match_length,D.match_length=0,D.ins_h=D.window[D.strstart],D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+1])&D.hash_mask;else M=s._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++;if(M&&(I(D,!1),D.strm.avail_out===0))return x}return D.insert=D.strstart<C-1?D.strstart:C-1,V===d?(I(D,!0),D.strm.avail_out===0?F:B):D.last_lit&&(I(D,!1),D.strm.avail_out===0)?x:j}function fe(D,V){for(var z,M,N;;){if(D.lookahead<L){if(le(D),D.lookahead<L&&V===f)return x;if(D.lookahead===0)break}if(z=0,D.lookahead>=C&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+C-1])&D.hash_mask,z=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),D.prev_length=D.match_length,D.prev_match=D.match_start,D.match_length=C-1,z!==0&&D.prev_length<D.max_lazy_match&&D.strstart-z<=D.w_size-L&&(D.match_length=J(D,z),D.match_length<=5&&(D.strategy===1||D.match_length===C&&4096<D.strstart-D.match_start)&&(D.match_length=C-1)),D.prev_length>=C&&D.match_length<=D.prev_length){for(N=D.strstart+D.lookahead-C,M=s._tr_tally(D,D.strstart-1-D.prev_match,D.prev_length-C),D.lookahead-=D.prev_length-1,D.prev_length-=2;++D.strstart<=N&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+C-1])&D.hash_mask,z=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),--D.prev_length!=0;);if(D.match_available=0,D.match_length=C-1,D.strstart++,M&&(I(D,!1),D.strm.avail_out===0))return x}else if(D.match_available){if((M=s._tr_tally(D,0,D.window[D.strstart-1]))&&I(D,!1),D.strstart++,D.lookahead--,D.strm.avail_out===0)return x}else D.match_available=1,D.strstart++,D.lookahead--}return D.match_available&&(M=s._tr_tally(D,0,D.window[D.strstart-1]),D.match_available=0),D.insert=D.strstart<C-1?D.strstart:C-1,V===d?(I(D,!0),D.strm.avail_out===0?F:B):D.last_lit&&(I(D,!1),D.strm.avail_out===0)?x:j}function me(D,V,z,M,N){this.good_length=D,this.max_lazy=V,this.nice_length=z,this.max_chain=M,this.func=N}function de(){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*w+1)),this.bl_tree=new a.Buf16(2*(2*E+1)),te(this.dyn_ltree),te(this.dyn_dtree),te(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(U+1),this.heap=new a.Buf16(2*T+1),te(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*T+1),te(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(D){var V;return D&&D.state?(D.total_in=D.total_out=0,D.data_type=y,(V=D.state).pending=0,V.pending_out=0,V.wrap<0&&(V.wrap=-V.wrap),V.status=V.wrap?_:k,D.adler=V.wrap===2?0:1,V.last_flush=f,s._tr_init(V),h):K(D,p)}function ye(D){var V=ge(D);return V===h&&function(z){z.window_size=2*z.w_size,te(z.head),z.max_lazy_match=o[z.level].max_lazy,z.good_match=o[z.level].good_length,z.nice_match=o[z.level].nice_length,z.max_chain_length=o[z.level].max_chain,z.strstart=0,z.block_start=0,z.lookahead=0,z.insert=0,z.match_length=z.prev_length=C-1,z.match_available=0,z.ins_h=0}(D.state),V}function be(D,V,z,M,N,$){if(!D)return p;var ie=1;if(V===m&&(V=6),M<0?(ie=0,M=-M):15<M&&(ie=2,M-=16),N<1||v<N||z!==b||M<8||15<M||V<0||9<V||$<0||g<$)return K(D,p);M===8&&(M=9);var ne=new de;return(D.state=ne).strm=D,ne.wrap=ie,ne.gzhead=null,ne.w_bits=M,ne.w_size=1<<ne.w_bits,ne.w_mask=ne.w_size-1,ne.hash_bits=N+7,ne.hash_size=1<<ne.hash_bits,ne.hash_mask=ne.hash_size-1,ne.hash_shift=~~((ne.hash_bits+C-1)/C),ne.window=new a.Buf8(2*ne.w_size),ne.head=new a.Buf16(ne.hash_size),ne.prev=new a.Buf16(ne.w_size),ne.lit_bufsize=1<<N+6,ne.pending_buf_size=4*ne.lit_bufsize,ne.pending_buf=new a.Buf8(ne.pending_buf_size),ne.d_buf=1*ne.lit_bufsize,ne.l_buf=3*ne.lit_bufsize,ne.level=V,ne.strategy=$,ne.method=z,ye(D)}o=[new me(0,0,0,0,function(D,V){var z=65535;for(z>D.pending_buf_size-5&&(z=D.pending_buf_size-5);;){if(D.lookahead<=1){if(le(D),D.lookahead===0&&V===f)return x;if(D.lookahead===0)break}D.strstart+=D.lookahead,D.lookahead=0;var M=D.block_start+z;if((D.strstart===0||D.strstart>=M)&&(D.lookahead=D.strstart-M,D.strstart=M,I(D,!1),D.strm.avail_out===0)||D.strstart-D.block_start>=D.w_size-L&&(I(D,!1),D.strm.avail_out===0))return x}return D.insert=0,V===d?(I(D,!0),D.strm.avail_out===0?F:B):(D.strstart>D.block_start&&(I(D,!1),D.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,fe),new me(8,16,32,32,fe),new me(8,16,128,128,fe),new me(8,32,128,256,fe),new me(32,128,258,1024,fe),new me(32,258,258,4096,fe)],i.deflateInit=function(D,V){return be(D,V,b,15,8,0)},i.deflateInit2=be,i.deflateReset=ye,i.deflateResetKeep=ge,i.deflateSetHeader=function(D,V){return D&&D.state?D.state.wrap!==2?p:(D.state.gzhead=V,h):p},i.deflate=function(D,V){var z,M,N,$;if(!D||!D.state||5<V||V<0)return D?K(D,p):p;if(M=D.state,!D.output||!D.input&&D.avail_in!==0||M.status===666&&V!==d)return K(D,D.avail_out===0?-5:p);if(M.strm=D,z=M.last_flush,M.last_flush=V,M.status===_)if(M.wrap===2)D.adler=0,oe(M,31),oe(M,139),oe(M,8),M.gzhead?(oe(M,(M.gzhead.text?1:0)+(M.gzhead.hcrc?2:0)+(M.gzhead.extra?4:0)+(M.gzhead.name?8:0)+(M.gzhead.comment?16:0)),oe(M,255&M.gzhead.time),oe(M,M.gzhead.time>>8&255),oe(M,M.gzhead.time>>16&255),oe(M,M.gzhead.time>>24&255),oe(M,M.level===9?2:2<=M.strategy||M.level<2?4:0),oe(M,255&M.gzhead.os),M.gzhead.extra&&M.gzhead.extra.length&&(oe(M,255&M.gzhead.extra.length),oe(M,M.gzhead.extra.length>>8&255)),M.gzhead.hcrc&&(D.adler=l(D.adler,M.pending_buf,M.pending,0)),M.gzindex=0,M.status=69):(oe(M,0),oe(M,0),oe(M,0),oe(M,0),oe(M,0),oe(M,M.level===9?2:2<=M.strategy||M.level<2?4:0),oe(M,3),M.status=k);else{var ie=b+(M.w_bits-8<<4)<<8;ie|=(2<=M.strategy||M.level<2?0:M.level<6?1:M.level===6?2:3)<<6,M.strstart!==0&&(ie|=32),ie+=31-ie%31,M.status=k,X(M,ie),M.strstart!==0&&(X(M,D.adler>>>16),X(M,65535&D.adler)),D.adler=1}if(M.status===69)if(M.gzhead.extra){for(N=M.pending;M.gzindex<(65535&M.gzhead.extra.length)&&(M.pending!==M.pending_buf_size||(M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),W(D),N=M.pending,M.pending!==M.pending_buf_size));)oe(M,255&M.gzhead.extra[M.gzindex]),M.gzindex++;M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),M.gzindex===M.gzhead.extra.length&&(M.gzindex=0,M.status=73)}else M.status=73;if(M.status===73)if(M.gzhead.name){N=M.pending;do{if(M.pending===M.pending_buf_size&&(M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),W(D),N=M.pending,M.pending===M.pending_buf_size)){$=1;break}$=M.gzindex<M.gzhead.name.length?255&M.gzhead.name.charCodeAt(M.gzindex++):0,oe(M,$)}while($!==0);M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),$===0&&(M.gzindex=0,M.status=91)}else M.status=91;if(M.status===91)if(M.gzhead.comment){N=M.pending;do{if(M.pending===M.pending_buf_size&&(M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),W(D),N=M.pending,M.pending===M.pending_buf_size)){$=1;break}$=M.gzindex<M.gzhead.comment.length?255&M.gzhead.comment.charCodeAt(M.gzindex++):0,oe(M,$)}while($!==0);M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),$===0&&(M.status=103)}else M.status=103;if(M.status===103&&(M.gzhead.hcrc?(M.pending+2>M.pending_buf_size&&W(D),M.pending+2<=M.pending_buf_size&&(oe(M,255&D.adler),oe(M,D.adler>>8&255),D.adler=0,M.status=k)):M.status=k),M.pending!==0){if(W(D),D.avail_out===0)return M.last_flush=-1,h}else if(D.avail_in===0&&P(V)<=P(z)&&V!==d)return K(D,-5);if(M.status===666&&D.avail_in!==0)return K(D,-5);if(D.avail_in!==0||M.lookahead!==0||V!==f&&M.status!==666){var ne=M.strategy===2?function(Z,q){for(var G;;){if(Z.lookahead===0&&(le(Z),Z.lookahead===0)){if(q===f)return x;break}if(Z.match_length=0,G=s._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++,G&&(I(Z,!1),Z.strm.avail_out===0))return x}return Z.insert=0,q===d?(I(Z,!0),Z.strm.avail_out===0?F:B):Z.last_lit&&(I(Z,!1),Z.strm.avail_out===0)?x:j}(M,V):M.strategy===3?function(Z,q){for(var G,Y,ae,xe,Te=Z.window;;){if(Z.lookahead<=R){if(le(Z),Z.lookahead<=R&&q===f)return x;if(Z.lookahead===0)break}if(Z.match_length=0,Z.lookahead>=C&&0<Z.strstart&&(Y=Te[ae=Z.strstart-1])===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]){xe=Z.strstart+R;do;while(Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&ae<xe);Z.match_length=R-(xe-ae),Z.match_length>Z.lookahead&&(Z.match_length=Z.lookahead)}if(Z.match_length>=C?(G=s._tr_tally(Z,1,Z.match_length-C),Z.lookahead-=Z.match_length,Z.strstart+=Z.match_length,Z.match_length=0):(G=s._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++),G&&(I(Z,!1),Z.strm.avail_out===0))return x}return Z.insert=0,q===d?(I(Z,!0),Z.strm.avail_out===0?F:B):Z.last_lit&&(I(Z,!1),Z.strm.avail_out===0)?x:j}(M,V):o[M.level].func(M,V);if(ne!==F&&ne!==B||(M.status=666),ne===x||ne===F)return D.avail_out===0&&(M.last_flush=-1),h;if(ne===j&&(V===1?s._tr_align(M):V!==5&&(s._tr_stored_block(M,0,0,!1),V===3&&(te(M.head),M.lookahead===0&&(M.strstart=0,M.block_start=0,M.insert=0))),W(D),D.avail_out===0))return M.last_flush=-1,h}return V!==d?h:M.wrap<=0?1:(M.wrap===2?(oe(M,255&D.adler),oe(M,D.adler>>8&255),oe(M,D.adler>>16&255),oe(M,D.adler>>24&255),oe(M,255&D.total_in),oe(M,D.total_in>>8&255),oe(M,D.total_in>>16&255),oe(M,D.total_in>>24&255)):(X(M,D.adler>>>16),X(M,65535&D.adler)),W(D),0<M.wrap&&(M.wrap=-M.wrap),M.pending!==0?h:1)},i.deflateEnd=function(D){var V;return D&&D.state?(V=D.state.status)!==_&&V!==69&&V!==73&&V!==91&&V!==103&&V!==k&&V!==666?K(D,p):(D.state=null,V===k?K(D,-3):h):p},i.deflateSetDictionary=function(D,V){var z,M,N,$,ie,ne,Z,q,G=V.length;if(!D||!D.state||($=(z=D.state).wrap)===2||$===1&&z.status!==_||z.lookahead)return p;for($===1&&(D.adler=c(D.adler,V,G,0)),z.wrap=0,G>=z.w_size&&($===0&&(te(z.head),z.strstart=0,z.block_start=0,z.insert=0),q=new a.Buf8(z.w_size),a.arraySet(q,V,G-z.w_size,z.w_size,0),V=q,G=z.w_size),ie=D.avail_in,ne=D.next_in,Z=D.input,D.avail_in=G,D.next_in=0,D.input=V,le(z);z.lookahead>=C;){for(M=z.strstart,N=z.lookahead-(C-1);z.ins_h=(z.ins_h<<z.hash_shift^z.window[M+C-1])&z.hash_mask,z.prev[M&z.w_mask]=z.head[z.ins_h],z.head[z.ins_h]=M,M++,--N;);z.strstart=M,z.lookahead=C-1,le(z)}return z.strstart+=z.lookahead,z.block_start=z.strstart,z.insert=z.lookahead,z.lookahead=0,z.match_length=z.prev_length=C-1,z.match_available=0,D.next_in=ne,D.input=Z,D.avail_in=ie,z.wrap=$,h},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,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(t,r,i){r.exports=function(o,a){var s,c,l,u,f,d,h,p,m,g,y,b,v,T,w,E,S,U,C,R,L,_,k,x,j;s=o.state,c=o.next_in,x=o.input,l=c+(o.avail_in-5),u=o.next_out,j=o.output,f=u-(a-o.avail_out),d=u+(o.avail_out-257),h=s.dmax,p=s.wsize,m=s.whave,g=s.wnext,y=s.window,b=s.hold,v=s.bits,T=s.lencode,w=s.distcode,E=(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),U=T[b&E];t:for(;;){if(b>>>=C=U>>>24,v-=C,(C=U>>>16&255)===0)j[u++]=65535&U;else{if(!(16&C)){if((64&C)==0){U=T[(65535&U)+(b&(1<<C)-1)];continue t}if(32&C){s.mode=12;break e}o.msg="invalid literal/length code",s.mode=30;break e}R=65535&U,(C&=15)&&(v<C&&(b+=x[c++]<<v,v+=8),R+=b&(1<<C)-1,b>>>=C,v-=C),v<15&&(b+=x[c++]<<v,v+=8,b+=x[c++]<<v,v+=8),U=w[b&S];n:for(;;){if(b>>>=C=U>>>24,v-=C,!(16&(C=U>>>16&255))){if((64&C)==0){U=w[(65535&U)+(b&(1<<C)-1)];continue n}o.msg="invalid distance code",s.mode=30;break e}if(L=65535&U,v<(C&=15)&&(b+=x[c++]<<v,(v+=8)<C&&(b+=x[c++]<<v,v+=8)),h<(L+=b&(1<<C)-1)){o.msg="invalid distance too far back",s.mode=30;break e}if(b>>>=C,v-=C,(C=u-f)<L){if(m<(C=L-C)&&s.sane){o.msg="invalid distance too far back",s.mode=30;break e}if(k=y,(_=0)===g){if(_+=p-C,C<R){for(R-=C;j[u++]=y[_++],--C;);_=u-L,k=j}}else if(g<C){if(_+=p+g-C,(C-=g)<R){for(R-=C;j[u++]=y[_++],--C;);if(_=0,g<R){for(R-=C=g;j[u++]=y[_++],--C;);_=u-L,k=j}}}else if(_+=g-C,C<R){for(R-=C;j[u++]=y[_++],--C;);_=u-L,k=j}for(;2<R;)j[u++]=k[_++],j[u++]=k[_++],j[u++]=k[_++],R-=3;R&&(j[u++]=k[_++],1<R&&(j[u++]=k[_++]))}else{for(_=u-L;j[u++]=j[_++],j[u++]=j[_++],j[u++]=j[_++],2<(R-=3););R&&(j[u++]=j[_++],1<R&&(j[u++]=j[_++]))}break}}break}}while(c<l&&u<d);c-=R=v>>3,b&=(1<<(v-=R<<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<d?d-u+257:257-(u-d),s.hold=b,s.bits=v}},{}],49:[function(t,r,i){var o=t("../utils/common"),a=t("./adler32"),s=t("./crc32"),c=t("./inffast"),l=t("./inftrees"),u=1,f=2,d=0,h=-2,p=1,m=852,g=592;function y(_){return(_>>>24&255)+(_>>>8&65280)+((65280&_)<<8)+((255&_)<<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(_){var k;return _&&_.state?(k=_.state,_.total_in=_.total_out=k.total=0,_.msg="",k.wrap&&(_.adler=1&k.wrap),k.mode=p,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(m),k.distcode=k.distdyn=new o.Buf32(g),k.sane=1,k.back=-1,d):h}function T(_){var k;return _&&_.state?((k=_.state).wsize=0,k.whave=0,k.wnext=0,v(_)):h}function w(_,k){var x,j;return _&&_.state?(j=_.state,k<0?(x=0,k=-k):(x=1+(k>>4),k<48&&(k&=15)),k&&(k<8||15<k)?h:(j.window!==null&&j.wbits!==k&&(j.window=null),j.wrap=x,j.wbits=k,T(_))):h}function E(_,k){var x,j;return _?(j=new b,(_.state=j).window=null,(x=w(_,k))!==d&&(_.state=null),x):h}var S,U,C=!0;function R(_){if(C){var k;for(S=new o.Buf32(512),U=new o.Buf32(32),k=0;k<144;)_.lens[k++]=8;for(;k<256;)_.lens[k++]=9;for(;k<280;)_.lens[k++]=7;for(;k<288;)_.lens[k++]=8;for(l(u,_.lens,0,288,S,0,_.work,{bits:9}),k=0;k<32;)_.lens[k++]=5;l(f,_.lens,0,32,U,0,_.work,{bits:5}),C=!1}_.lencode=S,_.lenbits=9,_.distcode=U,_.distbits=5}function L(_,k,x,j){var F,B=_.state;return B.window===null&&(B.wsize=1<<B.wbits,B.wnext=0,B.whave=0,B.window=new o.Buf8(B.wsize)),j>=B.wsize?(o.arraySet(B.window,k,x-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(j<(F=B.wsize-B.wnext)&&(F=j),o.arraySet(B.window,k,x-j,F,B.wnext),(j-=F)?(o.arraySet(B.window,k,x-j,j,0),B.wnext=j,B.whave=B.wsize):(B.wnext+=F,B.wnext===B.wsize&&(B.wnext=0),B.whave<B.wsize&&(B.whave+=F))),0}i.inflateReset=T,i.inflateReset2=w,i.inflateResetKeep=v,i.inflateInit=function(_){return E(_,15)},i.inflateInit2=E,i.inflate=function(_,k){var x,j,F,B,K,P,te,W,I,oe,X,J,le,he,fe,me,de,ge,ye,be,D,V,z,M,N=0,$=new o.Buf8(4),ie=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!_||!_.state||!_.output||!_.input&&_.avail_in!==0)return h;(x=_.state).mode===12&&(x.mode=13),K=_.next_out,F=_.output,te=_.avail_out,B=_.next_in,j=_.input,P=_.avail_in,W=x.hold,I=x.bits,oe=P,X=te,V=d;e:for(;;)switch(x.mode){case p:if(x.wrap===0){x.mode=13;break}for(;I<16;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}if(2&x.wrap&&W===35615){$[x.check=0]=255&W,$[1]=W>>>8&255,x.check=s(x.check,$,2,0),I=W=0,x.mode=2;break}if(x.flags=0,x.head&&(x.head.done=!1),!(1&x.wrap)||(((255&W)<<8)+(W>>8))%31){_.msg="incorrect header check",x.mode=30;break}if((15&W)!=8){_.msg="unknown compression method",x.mode=30;break}if(I-=4,D=8+(15&(W>>>=4)),x.wbits===0)x.wbits=D;else if(D>x.wbits){_.msg="invalid window size",x.mode=30;break}x.dmax=1<<D,_.adler=x.check=1,x.mode=512&W?10:12,I=W=0;break;case 2:for(;I<16;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}if(x.flags=W,(255&x.flags)!=8){_.msg="unknown compression method",x.mode=30;break}if(57344&x.flags){_.msg="unknown header flags set",x.mode=30;break}x.head&&(x.head.text=W>>8&1),512&x.flags&&($[0]=255&W,$[1]=W>>>8&255,x.check=s(x.check,$,2,0)),I=W=0,x.mode=3;case 3:for(;I<32;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}x.head&&(x.head.time=W),512&x.flags&&($[0]=255&W,$[1]=W>>>8&255,$[2]=W>>>16&255,$[3]=W>>>24&255,x.check=s(x.check,$,4,0)),I=W=0,x.mode=4;case 4:for(;I<16;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}x.head&&(x.head.xflags=255&W,x.head.os=W>>8),512&x.flags&&($[0]=255&W,$[1]=W>>>8&255,x.check=s(x.check,$,2,0)),I=W=0,x.mode=5;case 5:if(1024&x.flags){for(;I<16;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}x.length=W,x.head&&(x.head.extra_len=W),512&x.flags&&($[0]=255&W,$[1]=W>>>8&255,x.check=s(x.check,$,2,0)),I=W=0}else x.head&&(x.head.extra=null);x.mode=6;case 6:if(1024&x.flags&&(P<(J=x.length)&&(J=P),J&&(x.head&&(D=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Array(x.head.extra_len)),o.arraySet(x.head.extra,j,B,J,D)),512&x.flags&&(x.check=s(x.check,j,J,B)),P-=J,B+=J,x.length-=J),x.length))break e;x.length=0,x.mode=7;case 7:if(2048&x.flags){if(P===0)break e;for(J=0;D=j[B+J++],x.head&&D&&x.length<65536&&(x.head.name+=String.fromCharCode(D)),D&&J<P;);if(512&x.flags&&(x.check=s(x.check,j,J,B)),P-=J,B+=J,D)break e}else x.head&&(x.head.name=null);x.length=0,x.mode=8;case 8:if(4096&x.flags){if(P===0)break e;for(J=0;D=j[B+J++],x.head&&D&&x.length<65536&&(x.head.comment+=String.fromCharCode(D)),D&&J<P;);if(512&x.flags&&(x.check=s(x.check,j,J,B)),P-=J,B+=J,D)break e}else x.head&&(x.head.comment=null);x.mode=9;case 9:if(512&x.flags){for(;I<16;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}if(W!==(65535&x.check)){_.msg="header crc mismatch",x.mode=30;break}I=W=0}x.head&&(x.head.hcrc=x.flags>>9&1,x.head.done=!0),_.adler=x.check=0,x.mode=12;break;case 10:for(;I<32;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}_.adler=x.check=y(W),I=W=0,x.mode=11;case 11:if(x.havedict===0)return _.next_out=K,_.avail_out=te,_.next_in=B,_.avail_in=P,x.hold=W,x.bits=I,2;_.adler=x.check=1,x.mode=12;case 12:if(k===5||k===6)break e;case 13:if(x.last){W>>>=7&I,I-=7&I,x.mode=27;break}for(;I<3;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}switch(x.last=1&W,I-=1,3&(W>>>=1)){case 0:x.mode=14;break;case 1:if(R(x),x.mode=20,k!==6)break;W>>>=2,I-=2;break e;case 2:x.mode=17;break;case 3:_.msg="invalid block type",x.mode=30}W>>>=2,I-=2;break;case 14:for(W>>>=7&I,I-=7&I;I<32;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}if((65535&W)!=(W>>>16^65535)){_.msg="invalid stored block lengths",x.mode=30;break}if(x.length=65535&W,I=W=0,x.mode=15,k===6)break e;case 15:x.mode=16;case 16:if(J=x.length){if(P<J&&(J=P),te<J&&(J=te),J===0)break e;o.arraySet(F,j,B,J,K),P-=J,B+=J,te-=J,K+=J,x.length-=J;break}x.mode=12;break;case 17:for(;I<14;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}if(x.nlen=257+(31&W),W>>>=5,I-=5,x.ndist=1+(31&W),W>>>=5,I-=5,x.ncode=4+(15&W),W>>>=4,I-=4,286<x.nlen||30<x.ndist){_.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(P===0)break e;P--,W+=j[B++]<<I,I+=8}x.lens[ie[x.have++]]=7&W,W>>>=3,I-=3}for(;x.have<19;)x.lens[ie[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,z={bits:x.lenbits},V=l(0,x.lens,0,19,x.lencode,0,x.work,z),x.lenbits=z.bits,V){_.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=(N=x.lencode[W&(1<<x.lenbits)-1])>>>16&255,de=65535&N,!((fe=N>>>24)<=I);){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}if(de<16)W>>>=fe,I-=fe,x.lens[x.have++]=de;else{if(de===16){for(M=fe+2;I<M;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}if(W>>>=fe,I-=fe,x.have===0){_.msg="invalid bit length repeat",x.mode=30;break}D=x.lens[x.have-1],J=3+(3&W),W>>>=2,I-=2}else if(de===17){for(M=fe+3;I<M;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}I-=fe,D=0,J=3+(7&(W>>>=fe)),W>>>=3,I-=3}else{for(M=fe+7;I<M;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}I-=fe,D=0,J=11+(127&(W>>>=fe)),W>>>=7,I-=7}if(x.have+J>x.nlen+x.ndist){_.msg="invalid bit length repeat",x.mode=30;break}for(;J--;)x.lens[x.have++]=D}}if(x.mode===30)break;if(x.lens[256]===0){_.msg="invalid code -- missing end-of-block",x.mode=30;break}if(x.lenbits=9,z={bits:x.lenbits},V=l(u,x.lens,0,x.nlen,x.lencode,0,x.work,z),x.lenbits=z.bits,V){_.msg="invalid literal/lengths set",x.mode=30;break}if(x.distbits=6,x.distcode=x.distdyn,z={bits:x.distbits},V=l(f,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,z),x.distbits=z.bits,V){_.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<=P&&258<=te){_.next_out=K,_.avail_out=te,_.next_in=B,_.avail_in=P,x.hold=W,x.bits=I,c(_,X),K=_.next_out,F=_.output,te=_.avail_out,B=_.next_in,j=_.input,P=_.avail_in,W=x.hold,I=x.bits,x.mode===12&&(x.back=-1);break}for(x.back=0;me=(N=x.lencode[W&(1<<x.lenbits)-1])>>>16&255,de=65535&N,!((fe=N>>>24)<=I);){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}if(me&&(240&me)==0){for(ge=fe,ye=me,be=de;me=(N=x.lencode[be+((W&(1<<ge+ye)-1)>>ge)])>>>16&255,de=65535&N,!(ge+(fe=N>>>24)<=I);){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}W>>>=ge,I-=ge,x.back+=ge}if(W>>>=fe,I-=fe,x.back+=fe,x.length=de,me===0){x.mode=26;break}if(32&me){x.back=-1,x.mode=12;break}if(64&me){_.msg="invalid literal/length code",x.mode=30;break}x.extra=15&me,x.mode=22;case 22:if(x.extra){for(M=x.extra;I<M;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}x.length+=W&(1<<x.extra)-1,W>>>=x.extra,I-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=23;case 23:for(;me=(N=x.distcode[W&(1<<x.distbits)-1])>>>16&255,de=65535&N,!((fe=N>>>24)<=I);){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}if((240&me)==0){for(ge=fe,ye=me,be=de;me=(N=x.distcode[be+((W&(1<<ge+ye)-1)>>ge)])>>>16&255,de=65535&N,!(ge+(fe=N>>>24)<=I);){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}W>>>=ge,I-=ge,x.back+=ge}if(W>>>=fe,I-=fe,x.back+=fe,64&me){_.msg="invalid distance code",x.mode=30;break}x.offset=de,x.extra=15&me,x.mode=24;case 24:if(x.extra){for(M=x.extra;I<M;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}x.offset+=W&(1<<x.extra)-1,W>>>=x.extra,I-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){_.msg="invalid distance too far back",x.mode=30;break}x.mode=25;case 25:if(te===0)break e;if(J=X-te,x.offset>J){if((J=x.offset-J)>x.whave&&x.sane){_.msg="invalid distance too far back",x.mode=30;break}le=J>x.wnext?(J-=x.wnext,x.wsize-J):x.wnext-J,J>x.length&&(J=x.length),he=x.window}else he=F,le=K-x.offset,J=x.length;for(te<J&&(J=te),te-=J,x.length-=J;F[K++]=he[le++],--J;);x.length===0&&(x.mode=21);break;case 26:if(te===0)break e;F[K++]=x.length,te--,x.mode=21;break;case 27:if(x.wrap){for(;I<32;){if(P===0)break e;P--,W|=j[B++]<<I,I+=8}if(X-=te,_.total_out+=X,x.total+=X,X&&(_.adler=x.check=x.flags?s(x.check,F,X,K-X):a(x.check,F,X,K-X)),X=te,(x.flags?W:y(W))!==x.check){_.msg="incorrect data check",x.mode=30;break}I=W=0}x.mode=28;case 28:if(x.wrap&&x.flags){for(;I<32;){if(P===0)break e;P--,W+=j[B++]<<I,I+=8}if(W!==(4294967295&x.total)){_.msg="incorrect length check",x.mode=30;break}I=W=0}x.mode=29;case 29:V=1;break e;case 30:V=-3;break e;case 31:return-4;case 32:default:return h}return _.next_out=K,_.avail_out=te,_.next_in=B,_.avail_in=P,x.hold=W,x.bits=I,(x.wsize||X!==_.avail_out&&x.mode<30&&(x.mode<27||k!==4))&&L(_,_.output,_.next_out,X-_.avail_out)?(x.mode=31,-4):(oe-=_.avail_in,X-=_.avail_out,_.total_in+=oe,_.total_out+=X,x.total+=X,x.wrap&&X&&(_.adler=x.check=x.flags?s(x.check,F,X,_.next_out-X):a(x.check,F,X,_.next_out-X)),_.data_type=x.bits+(x.last?64:0)+(x.mode===12?128:0)+(x.mode===20||x.mode===15?256:0),(oe==0&&X===0||k===4)&&V===d&&(V=-5),V)},i.inflateEnd=function(_){if(!_||!_.state)return h;var k=_.state;return k.window&&(k.window=null),_.state=null,d},i.inflateGetHeader=function(_,k){var x;return _&&_.state?(2&(x=_.state).wrap)==0?h:((x.head=k).done=!1,d):h},i.inflateSetDictionary=function(_,k){var x,j=k.length;return _&&_.state?(x=_.state).wrap!==0&&x.mode!==11?h:x.mode===11&&a(1,k,j,0)!==x.check?-3:L(_,k,j,j)?(x.mode=31,-4):(x.havedict=1,d):h},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,r,i){var o=t("../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,f,d,h,p,m,g,y){var b,v,T,w,E,S,U,C,R,L=y.bits,_=0,k=0,x=0,j=0,F=0,B=0,K=0,P=0,te=0,W=0,I=null,oe=0,X=new o.Buf16(16),J=new o.Buf16(16),le=null,he=0;for(_=0;_<=15;_++)X[_]=0;for(k=0;k<h;k++)X[f[d+k]]++;for(F=L,j=15;1<=j&&X[j]===0;j--);if(j<F&&(F=j),j===0)return p[m++]=20971520,p[m++]=20971520,y.bits=1,0;for(x=1;x<j&&X[x]===0;x++);for(F<x&&(F=x),_=P=1;_<=15;_++)if(P<<=1,(P-=X[_])<0)return-1;if(0<P&&(u===0||j!==1))return-1;for(J[1]=0,_=1;_<15;_++)J[_+1]=J[_]+X[_];for(k=0;k<h;k++)f[d+k]!==0&&(g[J[f[d+k]]++]=k);if(S=u===0?(I=le=g,19):u===1?(I=a,oe-=257,le=s,he-=257,256):(I=c,le=l,-1),_=x,E=m,K=k=W=0,T=-1,w=(te=1<<(B=F))-1,u===1&&852<te||u===2&&592<te)return 1;for(;;){for(U=_-K,R=g[k]<S?(C=0,g[k]):g[k]>S?(C=le[he+g[k]],I[oe+g[k]]):(C=96,0),b=1<<_-K,x=v=1<<B;p[E+(W>>K)+(v-=b)]=U<<24|C<<16|R|0,v!==0;);for(b=1<<_-1;W&b;)b>>=1;if(b!==0?(W&=b-1,W+=b):W=0,k++,--X[_]==0){if(_===j)break;_=f[d+g[k]]}if(F<_&&(W&w)!==T){for(K===0&&(K=F),E+=x,P=1<<(B=_-K);B+K<j&&!((P-=X[B+K])<=0);)B++,P<<=1;if(te+=1<<B,u===1&&852<te||u===2&&592<te)return 1;p[T=W&w]=F<<24|B<<16|E-m|0}}return W!==0&&(p[E+W]=_-K<<24|64<<16|0),y.bits=F,0}},{"../utils/common":41}],51:[function(t,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(t,r,i){var o=t("../utils/common"),a=0,s=1;function c(N){for(var $=N.length;0<=--$;)N[$]=0}var l=0,u=29,f=256,d=f+1+u,h=30,p=19,m=2*d+1,g=15,y=16,b=7,v=256,T=16,w=17,E=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],U=[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],C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],L=new Array(2*(d+2));c(L);var _=new Array(2*h);c(_);var k=new Array(512);c(k);var x=new Array(256);c(x);var j=new Array(u);c(j);var F,B,K,P=new Array(h);function te(N,$,ie,ne,Z){this.static_tree=N,this.extra_bits=$,this.extra_base=ie,this.elems=ne,this.max_length=Z,this.has_stree=N&&N.length}function W(N,$){this.dyn_tree=N,this.max_code=0,this.stat_desc=$}function I(N){return N<256?k[N]:k[256+(N>>>7)]}function oe(N,$){N.pending_buf[N.pending++]=255&$,N.pending_buf[N.pending++]=$>>>8&255}function X(N,$,ie){N.bi_valid>y-ie?(N.bi_buf|=$<<N.bi_valid&65535,oe(N,N.bi_buf),N.bi_buf=$>>y-N.bi_valid,N.bi_valid+=ie-y):(N.bi_buf|=$<<N.bi_valid&65535,N.bi_valid+=ie)}function J(N,$,ie){X(N,ie[2*$],ie[2*$+1])}function le(N,$){for(var ie=0;ie|=1&N,N>>>=1,ie<<=1,0<--$;);return ie>>>1}function he(N,$,ie){var ne,Z,q=new Array(g+1),G=0;for(ne=1;ne<=g;ne++)q[ne]=G=G+ie[ne-1]<<1;for(Z=0;Z<=$;Z++){var Y=N[2*Z+1];Y!==0&&(N[2*Z]=le(q[Y]++,Y))}}function fe(N){var $;for($=0;$<d;$++)N.dyn_ltree[2*$]=0;for($=0;$<h;$++)N.dyn_dtree[2*$]=0;for($=0;$<p;$++)N.bl_tree[2*$]=0;N.dyn_ltree[2*v]=1,N.opt_len=N.static_len=0,N.last_lit=N.matches=0}function me(N){8<N.bi_valid?oe(N,N.bi_buf):0<N.bi_valid&&(N.pending_buf[N.pending++]=N.bi_buf),N.bi_buf=0,N.bi_valid=0}function de(N,$,ie,ne){var Z=2*$,q=2*ie;return N[Z]<N[q]||N[Z]===N[q]&&ne[$]<=ne[ie]}function ge(N,$,ie){for(var ne=N.heap[ie],Z=ie<<1;Z<=N.heap_len&&(Z<N.heap_len&&de($,N.heap[Z+1],N.heap[Z],N.depth)&&Z++,!de($,ne,N.heap[Z],N.depth));)N.heap[ie]=N.heap[Z],ie=Z,Z<<=1;N.heap[ie]=ne}function ye(N,$,ie){var ne,Z,q,G,Y=0;if(N.last_lit!==0)for(;ne=N.pending_buf[N.d_buf+2*Y]<<8|N.pending_buf[N.d_buf+2*Y+1],Z=N.pending_buf[N.l_buf+Y],Y++,ne===0?J(N,Z,$):(J(N,(q=x[Z])+f+1,$),(G=S[q])!==0&&X(N,Z-=j[q],G),J(N,q=I(--ne),ie),(G=U[q])!==0&&X(N,ne-=P[q],G)),Y<N.last_lit;);J(N,v,$)}function be(N,$){var ie,ne,Z,q=$.dyn_tree,G=$.stat_desc.static_tree,Y=$.stat_desc.has_stree,ae=$.stat_desc.elems,xe=-1;for(N.heap_len=0,N.heap_max=m,ie=0;ie<ae;ie++)q[2*ie]!==0?(N.heap[++N.heap_len]=xe=ie,N.depth[ie]=0):q[2*ie+1]=0;for(;N.heap_len<2;)q[2*(Z=N.heap[++N.heap_len]=xe<2?++xe:0)]=1,N.depth[Z]=0,N.opt_len--,Y&&(N.static_len-=G[2*Z+1]);for($.max_code=xe,ie=N.heap_len>>1;1<=ie;ie--)ge(N,q,ie);for(Z=ae;ie=N.heap[1],N.heap[1]=N.heap[N.heap_len--],ge(N,q,1),ne=N.heap[1],N.heap[--N.heap_max]=ie,N.heap[--N.heap_max]=ne,q[2*Z]=q[2*ie]+q[2*ne],N.depth[Z]=(N.depth[ie]>=N.depth[ne]?N.depth[ie]:N.depth[ne])+1,q[2*ie+1]=q[2*ne+1]=Z,N.heap[1]=Z++,ge(N,q,1),2<=N.heap_len;);N.heap[--N.heap_max]=N.heap[1],function(Te,Se){var Ce,ee,ue,ve,Ee,ke,Q=Se.dyn_tree,re=Se.max_code,Oe=Se.stat_desc.static_tree,Be=Se.stat_desc.has_stree,qe=Se.stat_desc.extra_bits,A=Se.stat_desc.extra_base,O=Se.stat_desc.max_length,H=0;for(ve=0;ve<=g;ve++)Te.bl_count[ve]=0;for(Q[2*Te.heap[Te.heap_max]+1]=0,Ce=Te.heap_max+1;Ce<m;Ce++)O<(ve=Q[2*Q[2*(ee=Te.heap[Ce])+1]+1]+1)&&(ve=O,H++),Q[2*ee+1]=ve,re<ee||(Te.bl_count[ve]++,Ee=0,A<=ee&&(Ee=qe[ee-A]),ke=Q[2*ee],Te.opt_len+=ke*(ve+Ee),Be&&(Te.static_len+=ke*(Oe[2*ee+1]+Ee)));if(H!==0){do{for(ve=O-1;Te.bl_count[ve]===0;)ve--;Te.bl_count[ve]--,Te.bl_count[ve+1]+=2,Te.bl_count[O]--,H-=2}while(0<H);for(ve=O;ve!==0;ve--)for(ee=Te.bl_count[ve];ee!==0;)re<(ue=Te.heap[--Ce])||(Q[2*ue+1]!==ve&&(Te.opt_len+=(ve-Q[2*ue+1])*Q[2*ue],Q[2*ue+1]=ve),ee--)}}(N,$),he(q,xe,N.bl_count)}function D(N,$,ie){var ne,Z,q=-1,G=$[1],Y=0,ae=7,xe=4;for(G===0&&(ae=138,xe=3),$[2*(ie+1)+1]=65535,ne=0;ne<=ie;ne++)Z=G,G=$[2*(ne+1)+1],++Y<ae&&Z===G||(Y<xe?N.bl_tree[2*Z]+=Y:Z!==0?(Z!==q&&N.bl_tree[2*Z]++,N.bl_tree[2*T]++):Y<=10?N.bl_tree[2*w]++:N.bl_tree[2*E]++,q=Z,xe=(Y=0)===G?(ae=138,3):Z===G?(ae=6,3):(ae=7,4))}function V(N,$,ie){var ne,Z,q=-1,G=$[1],Y=0,ae=7,xe=4;for(G===0&&(ae=138,xe=3),ne=0;ne<=ie;ne++)if(Z=G,G=$[2*(ne+1)+1],!(++Y<ae&&Z===G)){if(Y<xe)for(;J(N,Z,N.bl_tree),--Y!=0;);else Z!==0?(Z!==q&&(J(N,Z,N.bl_tree),Y--),J(N,T,N.bl_tree),X(N,Y-3,2)):Y<=10?(J(N,w,N.bl_tree),X(N,Y-3,3)):(J(N,E,N.bl_tree),X(N,Y-11,7));q=Z,xe=(Y=0)===G?(ae=138,3):Z===G?(ae=6,3):(ae=7,4)}}c(P);var z=!1;function M(N,$,ie,ne){X(N,(l<<1)+(ne?1:0),3),function(Z,q,G,Y){me(Z),oe(Z,G),oe(Z,~G),o.arraySet(Z.pending_buf,Z.window,q,G,Z.pending),Z.pending+=G}(N,$,ie)}i._tr_init=function(N){z||(function(){var $,ie,ne,Z,q,G=new Array(g+1);for(Z=ne=0;Z<u-1;Z++)for(j[Z]=ne,$=0;$<1<<S[Z];$++)x[ne++]=Z;for(x[ne-1]=Z,Z=q=0;Z<16;Z++)for(P[Z]=q,$=0;$<1<<U[Z];$++)k[q++]=Z;for(q>>=7;Z<h;Z++)for(P[Z]=q<<7,$=0;$<1<<U[Z]-7;$++)k[256+q++]=Z;for(ie=0;ie<=g;ie++)G[ie]=0;for($=0;$<=143;)L[2*$+1]=8,$++,G[8]++;for(;$<=255;)L[2*$+1]=9,$++,G[9]++;for(;$<=279;)L[2*$+1]=7,$++,G[7]++;for(;$<=287;)L[2*$+1]=8,$++,G[8]++;for(he(L,d+1,G),$=0;$<h;$++)_[2*$+1]=5,_[2*$]=le($,5);F=new te(L,S,f+1,d,g),B=new te(_,U,0,h,g),K=new te(new Array(0),C,0,p,b)}(),z=!0),N.l_desc=new W(N.dyn_ltree,F),N.d_desc=new W(N.dyn_dtree,B),N.bl_desc=new W(N.bl_tree,K),N.bi_buf=0,N.bi_valid=0,fe(N)},i._tr_stored_block=M,i._tr_flush_block=function(N,$,ie,ne){var Z,q,G=0;0<N.level?(N.strm.data_type===2&&(N.strm.data_type=function(Y){var ae,xe=4093624447;for(ae=0;ae<=31;ae++,xe>>>=1)if(1&xe&&Y.dyn_ltree[2*ae]!==0)return a;if(Y.dyn_ltree[18]!==0||Y.dyn_ltree[20]!==0||Y.dyn_ltree[26]!==0)return s;for(ae=32;ae<f;ae++)if(Y.dyn_ltree[2*ae]!==0)return s;return a}(N)),be(N,N.l_desc),be(N,N.d_desc),G=function(Y){var ae;for(D(Y,Y.dyn_ltree,Y.l_desc.max_code),D(Y,Y.dyn_dtree,Y.d_desc.max_code),be(Y,Y.bl_desc),ae=p-1;3<=ae&&Y.bl_tree[2*R[ae]+1]===0;ae--);return Y.opt_len+=3*(ae+1)+5+5+4,ae}(N),Z=N.opt_len+3+7>>>3,(q=N.static_len+3+7>>>3)<=Z&&(Z=q)):Z=q=ie+5,ie+4<=Z&&$!==-1?M(N,$,ie,ne):N.strategy===4||q===Z?(X(N,2+(ne?1:0),3),ye(N,L,_)):(X(N,4+(ne?1:0),3),function(Y,ae,xe,Te){var Se;for(X(Y,ae-257,5),X(Y,xe-1,5),X(Y,Te-4,4),Se=0;Se<Te;Se++)X(Y,Y.bl_tree[2*R[Se]+1],3);V(Y,Y.dyn_ltree,ae-1),V(Y,Y.dyn_dtree,xe-1)}(N,N.l_desc.max_code+1,N.d_desc.max_code+1,G+1),ye(N,N.dyn_ltree,N.dyn_dtree)),fe(N),ne&&me(N)},i._tr_tally=function(N,$,ie){return N.pending_buf[N.d_buf+2*N.last_lit]=$>>>8&255,N.pending_buf[N.d_buf+2*N.last_lit+1]=255&$,N.pending_buf[N.l_buf+N.last_lit]=255&ie,N.last_lit++,$===0?N.dyn_ltree[2*ie]++:(N.matches++,$--,N.dyn_ltree[2*(x[ie]+f+1)]++,N.dyn_dtree[2*I($)]++),N.last_lit===N.lit_bufsize-1},i._tr_align=function(N){X(N,2,3),J(N,v,L),function($){$.bi_valid===16?(oe($,$.bi_buf),$.bi_buf=0,$.bi_valid=0):8<=$.bi_valid&&($.pending_buf[$.pending++]=255&$.bi_buf,$.bi_buf>>=8,$.bi_valid-=8)}(N)}},{"../utils/common":41}],53:[function(t,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(t,r,i){(function(o){(function(a,s){if(!a.setImmediate){var c,l,u,f,d=1,h={},p=!1,m=a.document,g=Object.getPrototypeOf&&Object.getPrototypeOf(a);g=g&&g.setTimeout?g:a,c={}.toString.call(a.process)==="[object process]"?function(T){process.nextTick(function(){b(T)})}:function(){if(a.postMessage&&!a.importScripts){var T=!0,w=a.onmessage;return a.onmessage=function(){T=!1},a.postMessage("","*"),a.onmessage=w,T}}()?(f="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",v,!1):a.attachEvent("onmessage",v),function(T){a.postMessage(f+T,"*")}):a.MessageChannel?((u=new MessageChannel).port1.onmessage=function(T){b(T.data)},function(T){u.port2.postMessage(T)}):m&&"onreadystatechange"in m.createElement("script")?(l=m.documentElement,function(T){var w=m.createElement("script");w.onreadystatechange=function(){b(T),w.onreadystatechange=null,l.removeChild(w),w=null},l.appendChild(w)}):function(T){setTimeout(b,0,T)},g.setImmediate=function(T){typeof T!="function"&&(T=new Function(""+T));for(var w=new Array(arguments.length-1),E=0;E<w.length;E++)w[E]=arguments[E+1];var S={callback:T,args:w};return h[d]=S,c(d),d++},g.clearImmediate=y}function y(T){delete h[T]}function b(T){if(p)setTimeout(b,0,T);else{var w=h[T];if(w){p=!0;try{(function(E){var S=E.callback,U=E.args;switch(U.length){case 0:S();break;case 1:S(U[0]);break;case 2:S(U[0],U[1]);break;case 3:S(U[0],U[1],U[2]);break;default:S.apply(s,U)}})(w)}finally{y(T),p=!1}}}}function v(T){T.source===a&&typeof T.data=="string"&&T.data.indexOf(f)===0&&b(+T.data.slice(f.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof rn<"u"?rn:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})}(Rd)),Rd.exports}var u0;function GT(){if(u0)return To;u0=1;var n=k9(),e=F9();To.openArrayBuffer=t,To.splitPath=r,To.joinPath=i;function t(o){return e.loadAsync(o).then(function(a){function s(f){return a.file(f)!==null}function c(f,d){return a.file(f).async("uint8array").then(function(h){if(d==="base64")return n.fromByteArray(h);if(d){var p=new TextDecoder(d);return p.decode(h)}else return h})}function l(f,d){a.file(f,d)}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 To}var Qa={},fr={},ki={},f0;function KT(){if(f0)return ki;f0=1;var n=rt;ki.Element=t,ki.element=function(o,a,s){return new t(o,a,s)},ki.text=function(o){return{type:"text",value:o}};var e=ki.emptyElement={first:function(){return null},firstOrEmpty:function(){return e},attributes:{},children:[]};function t(o,a,s){this.type="element",this.name=o,this.attributes=a||{},this.children=s||[]}t.prototype.first=function(o){return n.find(this.children,function(a){return a.name===o})},t.prototype.firstOrEmpty=function(o){return this.first(o)||e},t.prototype.getElementsByTagName=function(o){var a=n.filter(this.children,function(s){return s.name===o});return i(a)},t.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(n.flatten(this.map(function(a){return a.getElementsByTagName(o)},!0)))}};function i(o){return n.extend(o,r)}return ki}var Nd={},es={},Co={},Ln={},Vr={},d0;function xl(){if(d0)return Vr;d0=1;function n(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 t(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 Vr.assign=t,Vr.find=n,Vr.freeze=e,Vr.MIME_TYPE=r,Vr.NAMESPACE=i,Vr}var h0;function ym(){if(h0)return Ln;h0=1;var n=xl(),e=n.find,t=n.NAMESPACE;function r(A){return A!==""}function i(A){return A?A.split(/[\t\n\f\r ]+/).filter(r):[]}function o(A,O){return A.hasOwnProperty(O)||(A[O]=!0),A}function a(A){if(!A)return[];var O=i(A);return Object.keys(O.reduce(o,{}))}function s(A){return function(O){return A&&A.indexOf(O)!==-1}}function c(A,O){for(var H in A)Object.prototype.hasOwnProperty.call(A,H)&&(O[H]=A[H])}function l(A,O){var H=A.prototype;if(!(H instanceof O)){let se=function(){};se.prototype=O.prototype,se=new se,c(H,se),A.prototype=H=se}H.constructor!=A&&(typeof A!="function"&&console.error("unknown Class:"+A),H.constructor=A)}var u={},f=u.ELEMENT_NODE=1,d=u.ATTRIBUTE_NODE=2,h=u.TEXT_NODE=3,p=u.CDATA_SECTION_NODE=4,m=u.ENTITY_REFERENCE_NODE=5,g=u.ENTITY_NODE=6,y=u.PROCESSING_INSTRUCTION_NODE=7,b=u.COMMENT_NODE=8,v=u.DOCUMENT_NODE=9,T=u.DOCUMENT_TYPE_NODE=10,w=u.DOCUMENT_FRAGMENT_NODE=11,E=u.NOTATION_NODE=12,S={},U={};S.INDEX_SIZE_ERR=(U[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(U[2]="DOMString size error",2);var C=S.HIERARCHY_REQUEST_ERR=(U[3]="Hierarchy request error",3);S.WRONG_DOCUMENT_ERR=(U[4]="Wrong document",4),S.INVALID_CHARACTER_ERR=(U[5]="Invalid character",5),S.NO_DATA_ALLOWED_ERR=(U[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(U[7]="No modification allowed",7);var R=S.NOT_FOUND_ERR=(U[8]="Not found",8);S.NOT_SUPPORTED_ERR=(U[9]="Not supported",9);var L=S.INUSE_ATTRIBUTE_ERR=(U[10]="Attribute in use",10);S.INVALID_STATE_ERR=(U[11]="Invalid state",11),S.SYNTAX_ERR=(U[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(U[13]="Invalid modification",13),S.NAMESPACE_ERR=(U[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(U[15]="Invalid access",15);function _(A,O){if(O instanceof Error)var H=O;else H=this,Error.call(this,U[A]),this.message=U[A],Error.captureStackTrace&&Error.captureStackTrace(this,_);return H.code=A,O&&(this.message=this.message+": "+O),H}_.prototype=Error.prototype,c(S,_);function k(){}k.prototype={length:0,item:function(A){return A>=0&&A<this.length?this[A]:null},toString:function(A,O){for(var H=[],se=0;se<this.length;se++)re(this[se],H,A,O);return H.join("")},filter:function(A){return Array.prototype.filter.call(this,A)},indexOf:function(A){return Array.prototype.indexOf.call(this,A)}};function x(A,O){this._node=A,this._refresh=O,j(this)}function j(A){var O=A._node._inc||A._node.ownerDocument._inc;if(A._inc!==O){var H=A._refresh(A._node);if(qe(A,"length",H.length),!A.$$length||H.length<A.$$length)for(var se=H.length;se in A;se++)Object.prototype.hasOwnProperty.call(A,se)&&delete A[se];c(H,A),A._inc=O}}x.prototype.item=function(A){return j(this),this[A]||null},l(x,k);function F(){}function B(A,O){for(var H=A.length;H--;)if(A[H]===O)return H}function K(A,O,H,se){if(se?O[B(O,se)]=H:O[O.length++]=H,A){H.ownerElement=A;var we=A.ownerDocument;we&&(se&&le(we,A,se),J(we,A,H))}}function P(A,O,H){var se=B(O,H);if(se>=0){for(var we=O.length-1;se<we;)O[se]=O[++se];if(O.length=we,A){var Ue=A.ownerDocument;Ue&&(le(Ue,A,H),H.ownerElement=null)}}else throw new _(R,new Error(A.tagName+"@"+H))}F.prototype={length:0,item:k.prototype.item,getNamedItem:function(A){for(var O=this.length;O--;){var H=this[O];if(H.nodeName==A)return H}},setNamedItem:function(A){var O=A.ownerElement;if(O&&O!=this._ownerElement)throw new _(L);var H=this.getNamedItem(A.nodeName);return K(this._ownerElement,this,A,H),H},setNamedItemNS:function(A){var O=A.ownerElement,H;if(O&&O!=this._ownerElement)throw new _(L);return H=this.getNamedItemNS(A.namespaceURI,A.localName),K(this._ownerElement,this,A,H),H},removeNamedItem:function(A){var O=this.getNamedItem(A);return P(this._ownerElement,this,O),O},removeNamedItemNS:function(A,O){var H=this.getNamedItemNS(A,O);return P(this._ownerElement,this,H),H},getNamedItemNS:function(A,O){for(var H=this.length;H--;){var se=this[H];if(se.localName==O&&se.namespaceURI==A)return se}return null}};function te(){}te.prototype={hasFeature:function(A,O){return!0},createDocument:function(A,O,H){var se=new X;if(se.implementation=this,se.childNodes=new k,se.doctype=H||null,H&&se.appendChild(H),O){var we=se.createElementNS(A,O);se.appendChild(we)}return se},createDocumentType:function(A,O,H){var se=new xe;return se.name=A,se.nodeName=A,se.publicId=O||"",se.systemId=H||"",se}};function W(){}W.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(A,O){return $(this,A,O)},replaceChild:function(A,O){$(this,A,O,N),O&&this.removeChild(O)},removeChild:function(A){return fe(this,A)},appendChild:function(A){return this.insertBefore(A,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(A){return Be(this.ownerDocument||this,this,A)},normalize:function(){for(var A=this.firstChild;A;){var O=A.nextSibling;O&&O.nodeType==h&&A.nodeType==h?(this.removeChild(O),A.appendData(O.data)):(A.normalize(),A=O)}},isSupported:function(A,O){return this.ownerDocument.implementation.hasFeature(A,O)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(A){for(var O=this;O;){var H=O._nsMap;if(H){for(var se in H)if(Object.prototype.hasOwnProperty.call(H,se)&&H[se]===A)return se}O=O.nodeType==d?O.ownerDocument:O.parentNode}return null},lookupNamespaceURI:function(A){for(var O=this;O;){var H=O._nsMap;if(H&&Object.prototype.hasOwnProperty.call(H,A))return H[A];O=O.nodeType==d?O.ownerDocument:O.parentNode}return null},isDefaultNamespace:function(A){var O=this.lookupPrefix(A);return O==null}};function I(A){return A=="<"&&"<"||A==">"&&">"||A=="&"&&"&"||A=='"'&&"""||"&#"+A.charCodeAt()+";"}c(u,W),c(u,W.prototype);function oe(A,O){if(O(A))return!0;if(A=A.firstChild)do if(oe(A,O))return!0;while(A=A.nextSibling)}function X(){this.ownerDocument=this}function J(A,O,H){A&&A._inc++;var se=H.namespaceURI;se===t.XMLNS&&(O._nsMap[H.prefix?H.localName:""]=H.value)}function le(A,O,H,se){A&&A._inc++;var we=H.namespaceURI;we===t.XMLNS&&delete O._nsMap[H.prefix?H.localName:""]}function he(A,O,H){if(A&&A._inc){A._inc++;var se=O.childNodes;if(H)se[se.length++]=H;else{for(var we=O.firstChild,Ue=0;we;)se[Ue++]=we,we=we.nextSibling;se.length=Ue,delete se[se.length]}}}function fe(A,O){var H=O.previousSibling,se=O.nextSibling;return H?H.nextSibling=se:A.firstChild=se,se?se.previousSibling=H:A.lastChild=H,O.parentNode=null,O.previousSibling=null,O.nextSibling=null,he(A.ownerDocument,A),O}function me(A){return A&&(A.nodeType===W.DOCUMENT_NODE||A.nodeType===W.DOCUMENT_FRAGMENT_NODE||A.nodeType===W.ELEMENT_NODE)}function de(A){return A&&(ye(A)||be(A)||ge(A)||A.nodeType===W.DOCUMENT_FRAGMENT_NODE||A.nodeType===W.COMMENT_NODE||A.nodeType===W.PROCESSING_INSTRUCTION_NODE)}function ge(A){return A&&A.nodeType===W.DOCUMENT_TYPE_NODE}function ye(A){return A&&A.nodeType===W.ELEMENT_NODE}function be(A){return A&&A.nodeType===W.TEXT_NODE}function D(A,O){var H=A.childNodes||[];if(e(H,ye)||ge(O))return!1;var se=e(H,ge);return!(O&&se&&H.indexOf(se)>H.indexOf(O))}function V(A,O){var H=A.childNodes||[];function se(Ue){return ye(Ue)&&Ue!==O}if(e(H,se))return!1;var we=e(H,ge);return!(O&&we&&H.indexOf(we)>H.indexOf(O))}function z(A,O,H){if(!me(A))throw new _(C,"Unexpected parent node type "+A.nodeType);if(H&&H.parentNode!==A)throw new _(R,"child not in parent");if(!de(O)||ge(O)&&A.nodeType!==W.DOCUMENT_NODE)throw new _(C,"Unexpected node type "+O.nodeType+" for parent node type "+A.nodeType)}function M(A,O,H){var se=A.childNodes||[],we=O.childNodes||[];if(O.nodeType===W.DOCUMENT_FRAGMENT_NODE){var Ue=we.filter(ye);if(Ue.length>1||e(we,be))throw new _(C,"More than one element or text in fragment");if(Ue.length===1&&!D(A,H))throw new _(C,"Element in fragment can not be inserted before doctype")}if(ye(O)&&!D(A,H))throw new _(C,"Only one element can be added and only after doctype");if(ge(O)){if(e(se,ge))throw new _(C,"Only one doctype is allowed");var We=e(se,ye);if(H&&se.indexOf(We)<se.indexOf(H))throw new _(C,"Doctype can only be inserted before an element");if(!H&&We)throw new _(C,"Doctype can not be appended since element is present")}}function N(A,O,H){var se=A.childNodes||[],we=O.childNodes||[];if(O.nodeType===W.DOCUMENT_FRAGMENT_NODE){var Ue=we.filter(ye);if(Ue.length>1||e(we,be))throw new _(C,"More than one element or text in fragment");if(Ue.length===1&&!V(A,H))throw new _(C,"Element in fragment can not be inserted before doctype")}if(ye(O)&&!V(A,H))throw new _(C,"Only one element can be added and only after doctype");if(ge(O)){if(e(se,function(Gt){return ge(Gt)&&Gt!==H}))throw new _(C,"Only one doctype is allowed");var We=e(se,ye);if(H&&se.indexOf(We)<se.indexOf(H))throw new _(C,"Doctype can only be inserted before an element")}}function $(A,O,H,se){z(A,O,H),A.nodeType===W.DOCUMENT_NODE&&(se||M)(A,O,H);var we=O.parentNode;if(we&&we.removeChild(O),O.nodeType===w){var Ue=O.firstChild;if(Ue==null)return O;var We=O.lastChild}else Ue=We=O;var Ve=H?H.previousSibling:A.lastChild;Ue.previousSibling=Ve,We.nextSibling=H,Ve?Ve.nextSibling=Ue:A.firstChild=Ue,H==null?A.lastChild=We:H.previousSibling=We;do Ue.parentNode=A;while(Ue!==We&&(Ue=Ue.nextSibling));return he(A.ownerDocument||A,A),O.nodeType==w&&(O.firstChild=O.lastChild=null),O}function ie(A,O){return O.parentNode&&O.parentNode.removeChild(O),O.parentNode=A,O.previousSibling=A.lastChild,O.nextSibling=null,O.previousSibling?O.previousSibling.nextSibling=O:A.firstChild=O,A.lastChild=O,he(A.ownerDocument,A,O),O}X.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(A,O){if(A.nodeType==w){for(var H=A.firstChild;H;){var se=H.nextSibling;this.insertBefore(H,O),H=se}return A}return $(this,A,O),A.ownerDocument=this,this.documentElement===null&&A.nodeType===f&&(this.documentElement=A),A},removeChild:function(A){return this.documentElement==A&&(this.documentElement=null),fe(this,A)},replaceChild:function(A,O){$(this,A,O,N),A.ownerDocument=this,O&&this.removeChild(O),ye(A)&&(this.documentElement=A)},importNode:function(A,O){return Oe(this,A,O)},getElementById:function(A){var O=null;return oe(this.documentElement,function(H){if(H.nodeType==f&&H.getAttribute("id")==A)return O=H,!0}),O},getElementsByClassName:function(A){var O=a(A);return new x(this,function(H){var se=[];return O.length>0&&oe(H.documentElement,function(we){if(we!==H&&we.nodeType===f){var Ue=we.getAttribute("class");if(Ue){var We=A===Ue;if(!We){var Ve=a(Ue);We=O.every(s(Ve))}We&&se.push(we)}}}),se})},createElement:function(A){var O=new ne;O.ownerDocument=this,O.nodeName=A,O.tagName=A,O.localName=A,O.childNodes=new k;var H=O.attributes=new F;return H._ownerElement=O,O},createDocumentFragment:function(){var A=new ee;return A.ownerDocument=this,A.childNodes=new k,A},createTextNode:function(A){var O=new G;return O.ownerDocument=this,O.appendData(A),O},createComment:function(A){var O=new Y;return O.ownerDocument=this,O.appendData(A),O},createCDATASection:function(A){var O=new ae;return O.ownerDocument=this,O.appendData(A),O},createProcessingInstruction:function(A,O){var H=new ue;return H.ownerDocument=this,H.tagName=H.nodeName=H.target=A,H.nodeValue=H.data=O,H},createAttribute:function(A){var O=new Z;return O.ownerDocument=this,O.name=A,O.nodeName=A,O.localName=A,O.specified=!0,O},createEntityReference:function(A){var O=new Ce;return O.ownerDocument=this,O.nodeName=A,O},createElementNS:function(A,O){var H=new ne,se=O.split(":"),we=H.attributes=new F;return H.childNodes=new k,H.ownerDocument=this,H.nodeName=O,H.tagName=O,H.namespaceURI=A,se.length==2?(H.prefix=se[0],H.localName=se[1]):H.localName=O,we._ownerElement=H,H},createAttributeNS:function(A,O){var H=new Z,se=O.split(":");return H.ownerDocument=this,H.nodeName=O,H.name=O,H.namespaceURI=A,H.specified=!0,se.length==2?(H.prefix=se[0],H.localName=se[1]):H.localName=O,H}},l(X,W);function ne(){this._nsMap={}}ne.prototype={nodeType:f,hasAttribute:function(A){return this.getAttributeNode(A)!=null},getAttribute:function(A){var O=this.getAttributeNode(A);return O&&O.value||""},getAttributeNode:function(A){return this.attributes.getNamedItem(A)},setAttribute:function(A,O){var H=this.ownerDocument.createAttribute(A);H.value=H.nodeValue=""+O,this.setAttributeNode(H)},removeAttribute:function(A){var O=this.getAttributeNode(A);O&&this.removeAttributeNode(O)},appendChild:function(A){return A.nodeType===w?this.insertBefore(A,null):ie(this,A)},setAttributeNode:function(A){return this.attributes.setNamedItem(A)},setAttributeNodeNS:function(A){return this.attributes.setNamedItemNS(A)},removeAttributeNode:function(A){return this.attributes.removeNamedItem(A.nodeName)},removeAttributeNS:function(A,O){var H=this.getAttributeNodeNS(A,O);H&&this.removeAttributeNode(H)},hasAttributeNS:function(A,O){return this.getAttributeNodeNS(A,O)!=null},getAttributeNS:function(A,O){var H=this.getAttributeNodeNS(A,O);return H&&H.value||""},setAttributeNS:function(A,O,H){var se=this.ownerDocument.createAttributeNS(A,O);se.value=se.nodeValue=""+H,this.setAttributeNode(se)},getAttributeNodeNS:function(A,O){return this.attributes.getNamedItemNS(A,O)},getElementsByTagName:function(A){return new x(this,function(O){var H=[];return oe(O,function(se){se!==O&&se.nodeType==f&&(A==="*"||se.tagName==A)&&H.push(se)}),H})},getElementsByTagNameNS:function(A,O){return new x(this,function(H){var se=[];return oe(H,function(we){we!==H&&we.nodeType===f&&(A==="*"||we.namespaceURI===A)&&(O==="*"||we.localName==O)&&se.push(we)}),se})}},X.prototype.getElementsByTagName=ne.prototype.getElementsByTagName,X.prototype.getElementsByTagNameNS=ne.prototype.getElementsByTagNameNS,l(ne,W);function Z(){}Z.prototype.nodeType=d,l(Z,W);function q(){}q.prototype={data:"",substringData:function(A,O){return this.data.substring(A,A+O)},appendData:function(A){A=this.data+A,this.nodeValue=this.data=A,this.length=A.length},insertData:function(A,O){this.replaceData(A,0,O)},appendChild:function(A){throw new Error(U[C])},deleteData:function(A,O){this.replaceData(A,O,"")},replaceData:function(A,O,H){var se=this.data.substring(0,A),we=this.data.substring(A+O);H=se+H+we,this.nodeValue=this.data=H,this.length=H.length}},l(q,W);function G(){}G.prototype={nodeName:"#text",nodeType:h,splitText:function(A){var O=this.data,H=O.substring(A);O=O.substring(0,A),this.data=this.nodeValue=O,this.length=O.length;var se=this.ownerDocument.createTextNode(H);return this.parentNode&&this.parentNode.insertBefore(se,this.nextSibling),se}},l(G,q);function Y(){}Y.prototype={nodeName:"#comment",nodeType:b},l(Y,q);function ae(){}ae.prototype={nodeName:"#cdata-section",nodeType:p},l(ae,q);function xe(){}xe.prototype.nodeType=T,l(xe,W);function Te(){}Te.prototype.nodeType=E,l(Te,W);function Se(){}Se.prototype.nodeType=g,l(Se,W);function Ce(){}Ce.prototype.nodeType=m,l(Ce,W);function ee(){}ee.prototype.nodeName="#document-fragment",ee.prototype.nodeType=w,l(ee,W);function ue(){}ue.prototype.nodeType=y,l(ue,W);function ve(){}ve.prototype.serializeToString=function(A,O,H){return Ee.call(A,O,H)},W.prototype.toString=Ee;function Ee(A,O){var H=[],se=this.nodeType==9&&this.documentElement||this,we=se.prefix,Ue=se.namespaceURI;if(Ue&&we==null){var we=se.lookupPrefix(Ue);if(we==null)var We=[{namespace:Ue,prefix:null}]}return re(this,H,A,O,We),H.join("")}function ke(A,O,H){var se=A.prefix||"",we=A.namespaceURI;if(!we||se==="xml"&&we===t.XML||we===t.XMLNS)return!1;for(var Ue=H.length;Ue--;){var We=H[Ue];if(We.prefix===se)return We.namespace!==we}return!0}function Q(A,O,H){A.push(" ",O,'="',H.replace(/[<>&"\t\n\r]/g,I),'"')}function re(A,O,H,se,we){if(we||(we=[]),se)if(A=se(A),A){if(typeof A=="string"){O.push(A);return}}else return;switch(A.nodeType){case f:var Ue=A.attributes,We=Ue.length,ot=A.firstChild,Ve=A.tagName;H=t.isHTML(A.namespaceURI)||H;var Gt=Ve;if(!H&&!A.prefix&&A.namespaceURI){for(var cn,Kt=0;Kt<Ue.length;Kt++)if(Ue.item(Kt).name==="xmlns"){cn=Ue.item(Kt).value;break}if(!cn)for(var qt=we.length-1;qt>=0;qt--){var ln=we[qt];if(ln.prefix===""&&ln.namespace===A.namespaceURI){cn=ln.namespace;break}}if(cn!==A.namespaceURI)for(var qt=we.length-1;qt>=0;qt--){var ln=we[qt];if(ln.namespace===A.namespaceURI){ln.prefix&&(Gt=ln.prefix+":"+Ve);break}}}O.push("<",Gt);for(var Jt=0;Jt<We;Jt++){var Rt=Ue.item(Jt);Rt.prefix=="xmlns"?we.push({prefix:Rt.localName,namespace:Rt.value}):Rt.nodeName=="xmlns"&&we.push({prefix:"",namespace:Rt.value})}for(var Jt=0;Jt<We;Jt++){var Rt=Ue.item(Jt);if(ke(Rt,H,we)){var un=Rt.prefix||"",ar=Rt.namespaceURI;Q(O,un?"xmlns:"+un:"xmlns",ar),we.push({prefix:un,namespace:ar})}re(Rt,O,H,se,we)}if(Ve===Gt&&ke(A,H,we)){var un=A.prefix||"",ar=A.namespaceURI;Q(O,un?"xmlns:"+un:"xmlns",ar),we.push({prefix:un,namespace:ar})}if(ot||H&&!/^(?:meta|link|img|br|hr|input)$/i.test(Ve)){if(O.push(">"),H&&/^script$/i.test(Ve))for(;ot;)ot.data?O.push(ot.data):re(ot,O,H,se,we.slice()),ot=ot.nextSibling;else for(;ot;)re(ot,O,H,se,we.slice()),ot=ot.nextSibling;O.push("</",Gt,">")}else O.push("/>");return;case v:case w:for(var ot=A.firstChild;ot;)re(ot,O,H,se,we.slice()),ot=ot.nextSibling;return;case d:return Q(O,A.name,A.value);case h:return O.push(A.data.replace(/[<&>]/g,I));case p:return O.push("<![CDATA[",A.data,"]]>");case b:return O.push("<!--",A.data,"-->");case T:var Ti=A.publicId,Nn=A.systemId;if(O.push("<!DOCTYPE ",A.name),Ti)O.push(" PUBLIC ",Ti),Nn&&Nn!="."&&O.push(" ",Nn),O.push(">");else if(Nn&&Nn!=".")O.push(" SYSTEM ",Nn,">");else{var Ei=A.internalSubset;Ei&&O.push(" [",Ei,"]"),O.push(">")}return;case y:return O.push("<?",A.target," ",A.data,"?>");case m:return O.push("&",A.nodeName,";");default:O.push("??",A.nodeName)}}function Oe(A,O,H){var se;switch(O.nodeType){case f:se=O.cloneNode(!1),se.ownerDocument=A;case w:break;case d:H=!0;break}if(se||(se=O.cloneNode(!1)),se.ownerDocument=A,se.parentNode=null,H)for(var we=O.firstChild;we;)se.appendChild(Oe(A,we,H)),we=we.nextSibling;return se}function Be(A,O,H){var se=new O.constructor;for(var we in O)if(Object.prototype.hasOwnProperty.call(O,we)){var Ue=O[we];typeof Ue!="object"&&Ue!=se[we]&&(se[we]=Ue)}switch(O.childNodes&&(se.childNodes=new k),se.ownerDocument=A,se.nodeType){case f:var We=O.attributes,Ve=se.attributes=new F,Gt=We.length;Ve._ownerElement=se;for(var cn=0;cn<Gt;cn++)se.setAttributeNode(Be(A,We.item(cn),!0));break;case d:H=!0}if(H)for(var Kt=O.firstChild;Kt;)se.appendChild(Be(A,Kt,H)),Kt=Kt.nextSibling;return se}function qe(A,O,H){A[O]=H}try{if(Object.defineProperty){let A=function(O){switch(O.nodeType){case f:case w:var H=[];for(O=O.firstChild;O;)O.nodeType!==7&&O.nodeType!==8&&H.push(A(O)),O=O.nextSibling;return H.join("");default:return O.nodeValue}};Object.defineProperty(x.prototype,"length",{get:function(){return j(this),this.$$length}}),Object.defineProperty(W.prototype,"textContent",{get:function(){return A(this)},set:function(O){switch(this.nodeType){case f:case w:for(;this.firstChild;)this.removeChild(this.firstChild);(O||String(O))&&this.appendChild(this.ownerDocument.createTextNode(O));break;default:this.data=O,this.value=O,this.nodeValue=O}}}),qe=function(O,H,se){O["$$"+H]=se}}}catch{}return Ln.DocumentType=xe,Ln.DOMException=_,Ln.DOMImplementation=te,Ln.Element=ne,Ln.Node=W,Ln.NodeList=k,Ln.XMLSerializer=ve,Ln}var So={},Id={},p0;function O9(){return p0||(p0=1,function(n){var e=xl().freeze;n.XML_ENTITIES=e({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),n.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:`
|
|
219
|
+
`,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:""}),n.entityMap=n.HTML_ENTITIES}(Id)),Id}var ts={},g0;function R9(){if(g0)return ts;g0=1;var n=xl().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]/,t=new RegExp("[\\-\\.0-9"+e.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),r=new RegExp("^"+e.source+t.source+"*(?::"+e.source+t.source+"*)?$"),i=0,o=1,a=2,s=3,c=4,l=5,u=6,f=7;function d(C,R){this.message=C,this.locator=R,Error.captureStackTrace&&Error.captureStackTrace(this,d)}d.prototype=new Error,d.prototype.name=d.name;function h(){}h.prototype={parse:function(C,R,L){var _=this.domBuilder;_.startDocument(),T(R,R={}),p(C,R,L,_,this.errorHandler),_.endDocument()}};function p(C,R,L,_,k){function x(ne){if(ne>65535){ne-=65536;var Z=55296+(ne>>10),q=56320+(ne&1023);return String.fromCharCode(Z,q)}else return String.fromCharCode(ne)}function j(ne){var Z=ne.slice(1,-1);return Object.hasOwnProperty.call(L,Z)?L[Z]:Z.charAt(0)==="#"?x(parseInt(Z.substr(1).replace("x","0x"))):(k.error("entity not found:"+ne),ne)}function F(ne){if(ne>X){var Z=C.substring(X,ne).replace(/&#?\w+;/g,j);W&&B(X),_.characters(Z,0,ne-X),X=ne}}function B(ne,Z){for(;ne>=P&&(Z=te.exec(C));)K=Z.index,P=K+Z[0].length,W.lineNumber++;W.columnNumber=ne-K+1}for(var K=0,P=0,te=/.*(?:\r\n?|\n)|.*$/g,W=_.locator,I=[{currentNSMap:R}],oe={},X=0;;){try{var J=C.indexOf("<",X);if(J<0){if(!C.substr(X).match(/^\s*$/)){var le=_.doc,he=le.createTextNode(C.substr(X));le.appendChild(he),_.currentElement=he}return}switch(J>X&&F(J),C.charAt(J+1)){case"/":var z=C.indexOf(">",J+3),fe=C.substring(J+2,z).replace(/[ \t\n\r]+$/g,""),me=I.pop();z<0?(fe=C.substring(J+2).replace(/[\s<].*/,""),k.error("end tag name: "+fe+" is not complete:"+me.tagName),z=J+1+fe.length):fe.match(/\s</)&&(fe=fe.replace(/[\s<].*/,""),k.error("end tag name: "+fe+" maybe not complete"),z=J+1+fe.length);var de=me.localNSMap,ge=me.tagName==fe,ye=ge||me.tagName&&me.tagName.toLowerCase()==fe.toLowerCase();if(ye){if(_.endElement(me.uri,me.localName,fe),de)for(var be in de)Object.prototype.hasOwnProperty.call(de,be)&&_.endPrefixMapping(be);ge||k.fatalError("end tag name: "+fe+" is not match the current start tagName:"+me.tagName)}else I.push(me);z++;break;case"?":W&&B(J),z=E(C,J,_);break;case"!":W&&B(J),z=w(C,J,_,k);break;default:W&&B(J);var D=new S,V=I[I.length-1].currentNSMap,z=g(C,J,D,V,j,k),M=D.length;if(!D.closed&&v(C,z,D.tagName,oe)&&(D.closed=!0,L.nbsp||k.warning("unclosed xml attribute")),W&&M){for(var N=m(W,{}),$=0;$<M;$++){var ie=D[$];B(ie.offset),ie.locator=m(W,{})}_.locator=N,y(D,_,V)&&I.push(D),_.locator=W}else y(D,_,V)&&I.push(D);n.isHTML(D.uri)&&!D.closed?z=b(C,z,D.tagName,j,_):z++}}catch(ne){if(ne instanceof d)throw ne;k.error("element parse error: "+ne),z=-1}z>X?X=z:F(Math.max(J,X)+1)}}function m(C,R){return R.lineNumber=C.lineNumber,R.columnNumber=C.columnNumber,R}function g(C,R,L,_,k,x){function j(W,I,oe){L.attributeNames.hasOwnProperty(W)&&x.fatalError("Attribute "+W+" redefined"),L.addValue(W,I.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,k),oe)}for(var F,B,K=++R,P=i;;){var te=C.charAt(K);switch(te){case"=":if(P===o)F=C.slice(R,K),P=s;else if(P===a)P=s;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(P===s||P===o)if(P===o&&(x.warning('attribute value must after "="'),F=C.slice(R,K)),R=K+1,K=C.indexOf(te,R),K>0)B=C.slice(R,K),j(F,B,R-1),P=l;else throw new Error("attribute value no end '"+te+"' match");else if(P==c)B=C.slice(R,K),j(F,B,R),x.warning('attribute "'+F+'" missed start quot('+te+")!!"),R=K+1,P=l;else throw new Error('attribute value must after "="');break;case"/":switch(P){case i:L.setTagName(C.slice(R,K));case l:case u:case f:P=f,L.closed=!0;case c:case o:break;case a:L.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return x.error("unexpected end of input"),P==i&&L.setTagName(C.slice(R,K)),K;case">":switch(P){case i:L.setTagName(C.slice(R,K));case l:case u:case f:break;case c:case o:B=C.slice(R,K),B.slice(-1)==="/"&&(L.closed=!0,B=B.slice(0,-1));case a:P===a&&(B=F),P==c?(x.warning('attribute "'+B+'" missed quot(")!'),j(F,B,R)):((!n.isHTML(_[""])||!B.match(/^(?:disabled|checked|selected)$/i))&&x.warning('attribute "'+B+'" missed value!! "'+B+'" instead!!'),j(B,B,R));break;case s:throw new Error("attribute value missed!!")}return K;case"":te=" ";default:if(te<=" ")switch(P){case i:L.setTagName(C.slice(R,K)),P=u;break;case o:F=C.slice(R,K),P=a;break;case c:var B=C.slice(R,K);x.warning('attribute "'+B+'" missed quot(")!!'),j(F,B,R);case l:P=u;break}else switch(P){case a:L.tagName,(!n.isHTML(_[""])||!F.match(/^(?:disabled|checked|selected)$/i))&&x.warning('attribute "'+F+'" missed value!! "'+F+'" instead2!!'),j(F,F,R),R=K,P=o;break;case l:x.warning('attribute space is required"'+F+'"!!');case u:P=o,R=K;break;case s:P=c,R=K;break;case f:throw new Error("elements closed character '/' and '>' must be connected to")}}K++}}function y(C,R,L){for(var _=C.tagName,k=null,te=C.length;te--;){var x=C[te],j=x.qName,F=x.value,W=j.indexOf(":");if(W>0)var B=x.prefix=j.slice(0,W),K=j.slice(W+1),P=B==="xmlns"&&K;else K=j,B=null,P=j==="xmlns"&&"";x.localName=K,P!==!1&&(k==null&&(k={},T(L,L={})),L[P]=k[P]=F,x.uri=n.XMLNS,R.startPrefixMapping(P,F))}for(var te=C.length;te--;){x=C[te];var B=x.prefix;B&&(B==="xml"&&(x.uri=n.XML),B!=="xmlns"&&(x.uri=L[B||""]))}var W=_.indexOf(":");W>0?(B=C.prefix=_.slice(0,W),K=C.localName=_.slice(W+1)):(B=null,K=C.localName=_);var I=C.uri=L[B||""];if(R.startElement(I,K,_,C),C.closed){if(R.endElement(I,K,_),k)for(B in k)Object.prototype.hasOwnProperty.call(k,B)&&R.endPrefixMapping(B)}else return C.currentNSMap=L,C.localNSMap=k,!0}function b(C,R,L,_,k){if(/^(?:script|textarea)$/i.test(L)){var x=C.indexOf("</"+L+">",R),j=C.substring(R+1,x);if(/[&<]/.test(j))return/^script$/i.test(L)?(k.characters(j,0,j.length),x):(j=j.replace(/&#?\w+;/g,_),k.characters(j,0,j.length),x)}return R+1}function v(C,R,L,_){var k=_[L];return k==null&&(k=C.lastIndexOf("</"+L+">"),k<R&&(k=C.lastIndexOf("</"+L)),_[L]=k),k<R}function T(C,R){for(var L in C)Object.prototype.hasOwnProperty.call(C,L)&&(R[L]=C[L])}function w(C,R,L,_){var k=C.charAt(R+2);switch(k){case"-":if(C.charAt(R+3)==="-"){var x=C.indexOf("-->",R+4);return x>R?(L.comment(C,R+4,x-R-4),x+3):(_.error("Unclosed comment"),-1)}else return-1;default:if(C.substr(R+3,6)=="CDATA["){var x=C.indexOf("]]>",R+9);return L.startCDATA(),L.characters(C,R+9,x-R-9),L.endCDATA(),x+3}var j=U(C,R),F=j.length;if(F>1&&/!doctype/i.test(j[0][0])){var B=j[1][0],K=!1,P=!1;F>3&&(/^public$/i.test(j[2][0])?(K=j[3][0],P=F>4&&j[4][0]):/^system$/i.test(j[2][0])&&(P=j[3][0]));var te=j[F-1];return L.startDTD(B,K,P),L.endDTD(),te.index+te[0].length}}return-1}function E(C,R,L){var _=C.indexOf("?>",R);if(_){var k=C.substring(R,_).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return k?(k[0].length,L.processingInstruction(k[1],k[2]),_+2):-1}return-1}function S(){this.attributeNames={}}S.prototype={setTagName:function(C){if(!r.test(C))throw new Error("invalid tagName:"+C);this.tagName=C},addValue:function(C,R,L){if(!r.test(C))throw new Error("invalid attribute:"+C);this.attributeNames[C]=this.length,this[this.length++]={qName:C,value:R,offset:L}},length:0,getLocalName:function(C){return this[C].localName},getLocator:function(C){return this[C].locator},getQName:function(C){return this[C].qName},getURI:function(C){return this[C].uri},getValue:function(C){return this[C].value}};function U(C,R){var L,_=[],k=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(k.lastIndex=R,k.exec(C);L=k.exec(C);)if(_.push(L),L[1])return _}return ts.XMLReader=h,ts.ParseError=d,ts}var m0;function N9(){if(m0)return So;m0=1;var n=xl(),e=ym(),t=O9(),r=R9(),i=e.DOMImplementation,o=n.NAMESPACE,a=r.ParseError,s=r.XMLReader;function c(g){return g.replace(/\r[\n\u0085]/g,`
|
|
220
|
+
`).replace(/[\r\u0085\u2028]/g,`
|
|
221
|
+
`)}function l(g){this.options=g||{locator:{}}}l.prototype.parseFromString=function(g,y){var b=this.options,v=new s,T=b.domBuilder||new f,w=b.errorHandler,E=b.locator,S=b.xmlns||{},U=/\/x?html?$/.test(y),C=U?t.HTML_ENTITIES:t.XML_ENTITIES;E&&T.setDocumentLocator(E),v.errorHandler=u(w,T,E),v.domBuilder=b.domBuilder||T,U&&(S[""]=o.HTML),S.xml=S.xml||o.XML;var R=b.normalizeLineEndings||c;return g&&typeof g=="string"?v.parse(R(g),S,C):v.errorHandler.error("invalid doc source"),T.doc};function u(g,y,b){if(!g){if(y instanceof f)return y;g=y}var v={},T=g instanceof Function;b=b||{};function w(E){var S=g[E];!S&&T&&(S=g.length==2?function(U){g(E,U)}:g),v[E]=S&&function(U){S("[xmldom "+E+"] "+U+h(b))}||function(){}}return w("warning"),w("error"),w("fatalError"),v}function f(){this.cdata=!1}function d(g,y){y.lineNumber=g.lineNumber,y.columnNumber=g.columnNumber}f.prototype={startDocument:function(){this.doc=new i().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(g,y,b,v){var T=this.doc,w=T.createElementNS(g,b||y),E=v.length;m(this,w),this.currentElement=w,this.locator&&d(this.locator,w);for(var S=0;S<E;S++){var g=v.getURI(S),U=v.getValue(S),b=v.getQName(S),C=T.createAttributeNS(g,b);this.locator&&d(v.getLocator(S),C),C.value=C.nodeValue=U,w.setAttributeNode(C)}},endElement:function(g,y,b){var v=this.currentElement;v.tagName,this.currentElement=v.parentNode},startPrefixMapping:function(g,y){},endPrefixMapping:function(g){},processingInstruction:function(g,y){var b=this.doc.createProcessingInstruction(g,y);this.locator&&d(this.locator,b),m(this,b)},ignorableWhitespace:function(g,y,b){},characters:function(g,y,b){if(g=p.apply(this,arguments),g){if(this.cdata)var v=this.doc.createCDATASection(g);else var v=this.doc.createTextNode(g);this.currentElement?this.currentElement.appendChild(v):/^\s*$/.test(g)&&this.doc.appendChild(v),this.locator&&d(this.locator,v)}},skippedEntity:function(g){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(g){(this.locator=g)&&(g.lineNumber=0)},comment:function(g,y,b){g=p.apply(this,arguments);var v=this.doc.createComment(g);this.locator&&d(this.locator,v),m(this,v)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(g,y,b){var v=this.doc.implementation;if(v&&v.createDocumentType){var T=v.createDocumentType(g,y,b);this.locator&&d(this.locator,T),m(this,T),this.doc.doctype=T}},warning:function(g){console.warn("[xmldom warning] "+g,h(this.locator))},error:function(g){console.error("[xmldom error] "+g,h(this.locator))},fatalError:function(g){throw new a(g,this.locator)}};function h(g){if(g)return`
|
|
222
|
+
@`+(g.systemId||"")+"#[line:"+g.lineNumber+",col:"+g.columnNumber+"]"}function p(g,y,b){return typeof g=="string"?g.substr(y,b):g.length>=y+b||y?new java.lang.String(g,y,b)+"":g}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(g){f.prototype[g]=function(){return null}});function m(g,y){g.currentElement?g.currentElement.appendChild(y):g.doc.appendChild(y)}return So.__DOMHandler=f,So.normalizeLineEndings=c,So.DOMParser=l,So}var y0;function I9(){if(y0)return Co;y0=1;var n=ym();return Co.DOMImplementation=n.DOMImplementation,Co.XMLSerializer=n.XMLSerializer,Co.DOMParser=N9().DOMParser,Co}var b0;function B9(){if(b0)return es;b0=1;var n=I9(),e=ym();function t(r){var i=null,o=new n.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 es.parseFromString=t,es.Node=e.Node,es}var v0;function M9(){if(v0)return Nd;v0=1;var n=jr(),e=rt,t=B9(),r=KT(),i=r.Element;Nd.readString=a;var o=t.Node;function a(s,c){c=c||{};try{var l=t.parseFromString(s,"text/xml")}catch(h){return n.reject(h)}if(l.documentElement.tagName==="parsererror")return n.resolve(new Error(l.documentElement.textContent));function u(h){switch(h.nodeType){case o.ELEMENT_NODE:return f(h);case o.TEXT_NODE:return r.text(h.nodeValue)}}function f(h){var p=d(h),m=[];e.forEach(h.childNodes,function(y){var b=u(y);b&&m.push(b)});var g={};return e.forEach(h.attributes,function(y){g[d(y)]=y.value}),new i(p,g,m)}function d(h){if(h.namespaceURI){var p=c[h.namespaceURI],m;return p?m=p+":":m="{"+h.namespaceURI+"}",m+h.localName}else return h.localName}return n.resolve(u(l.documentElement))}return Nd}var Bd={},Hr={},bn={},x0;function zr(){return x0||(x0=1,(function(){var n,e,t,r,i,o,a,s=[].slice,c={}.hasOwnProperty;n=function(){var l,u,f,d,h,p;if(p=arguments[0],h=2<=arguments.length?s.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(l=0,f=h.length;l<f;l++)if(d=h[l],d!=null)for(u in d)c.call(d,u)&&(p[u]=d[u]);return p},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")},t=function(l){return i(Array.isArray)?Array.isArray(l):Object.prototype.toString.call(l)==="[object Array]"},r=function(l){var u;if(t(l))return!l.length;for(u in l)if(c.call(l,u))return!1;return!0},a=function(l){var u,f;return o(l)&&(f=Object.getPrototypeOf(l))&&(u=f.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=n,bn.isFunction=i,bn.isObject=o,bn.isArray=t,bn.isEmpty=r,bn.isPlainObject=a,bn.getValue=e}).call(bn)),bn}var Es={exports:{}},Cs={exports:{}},Ss={exports:{}},As={exports:{}},W9=As.exports,D0;function JT(){return D0||(D0=1,(function(){As.exports=function(){function n(e,t,r){if(this.options=e.options,this.stringify=e.stringify,this.parent=e,t==null)throw new Error("Missing attribute name. "+this.debugInfo(t));if(r==null)throw new Error("Missing attribute value. "+this.debugInfo(t));this.name=this.stringify.attName(t),this.value=this.stringify.attValue(r)}return n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.set(e).attribute(this)},n.prototype.debugInfo=function(e){return e=e||this.name,e==null?"parent: <"+this.parent.name+">":"attribute: {"+e+"}, parent: <"+this.parent.name+">"},n}()}).call(W9)),As.exports}var L9=Ss.exports,w0;function Dl(){return w0||(w0=1,(function(){var n,e,t,r,i,o,a=function(c,l){for(var u in l)s.call(l,u)&&(c[u]=l[u]);function f(){this.constructor=c}return f.prototype=l.prototype,c.prototype=new f,c.__super__=l.prototype,c},s={}.hasOwnProperty;o=zr(),i=o.isObject,r=o.isFunction,t=o.getValue,e=Pt(),n=JT(),Ss.exports=function(c){a(l,c);function l(u,f,d){if(l.__super__.constructor.call(this,u),f==null)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(f),this.attributes={},d!=null&&this.attribute(d),u.isDocument&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this)}return l.prototype.clone=function(){var u,f,d,h;d=Object.create(this),d.isRoot&&(d.documentObject=null),d.attributes={},h=this.attributes;for(f in h)s.call(h,f)&&(u=h[f],d.attributes[f]=u.clone());return d.children=[],this.children.forEach(function(p){var m;return m=p.clone(),m.parent=d,d.children.push(m)}),d},l.prototype.attribute=function(u,f){var d,h;if(u!=null&&(u=t(u)),i(u))for(d in u)s.call(u,d)&&(h=u[d],this.attribute(d,h));else r(f)&&(f=f.apply()),(!this.options.skipNullAttributes||f!=null)&&(this.attributes[u]=new n(this,u,f));return this},l.prototype.removeAttribute=function(u){var f,d,h;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=t(u),Array.isArray(u))for(d=0,h=u.length;d<h;d++)f=u[d],delete this.attributes[f];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,f){return this.attribute(u,f)},l.prototype.a=function(u,f){return this.attribute(u,f)},l}(e)}).call(L9)),Ss.exports}var Us={exports:{}},P9=Us.exports,_0;function wl(){return _0||(_0=1,(function(){var n,e=function(r,i){for(var o in i)t.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},t={}.hasOwnProperty;n=Pt(),Us.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}(n)}).call(P9)),Us.exports}var ks={exports:{}},q9=ks.exports,T0;function _l(){return T0||(T0=1,(function(){var n,e=function(r,i){for(var o in i)t.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},t={}.hasOwnProperty;n=Pt(),ks.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}(n)}).call(q9)),ks.exports}var Fs={exports:{}},j9=Fs.exports,E0;function Tl(){return E0||(E0=1,(function(){var n,e,t=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=zr().isObject,n=Pt(),Fs.exports=function(i){t(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}(n)}).call(j9)),Fs.exports}var Os={exports:{}},Rs={exports:{}},z9=Rs.exports,C0;function El(){return C0||(C0=1,(function(){var n,e=function(r,i){for(var o in i)t.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},t={}.hasOwnProperty;n=Pt(),Rs.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}(n)}).call(z9)),Rs.exports}var Ns={exports:{}},$9=Ns.exports,S0;function Cl(){return S0||(S0=1,(function(){var n,e,t=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=zr().isObject,n=Pt(),Ns.exports=function(i){t(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}(n)}).call($9)),Ns.exports}var Is={exports:{}},V9=Is.exports,A0;function Sl(){return A0||(A0=1,(function(){var n,e=function(r,i){for(var o in i)t.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},t={}.hasOwnProperty;n=Pt(),Is.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}(n)}).call(V9)),Is.exports}var Bs={exports:{}},H9=Bs.exports,U0;function Al(){return U0||(U0=1,(function(){var n,e=function(r,i){for(var o in i)t.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},t={}.hasOwnProperty;n=Pt(),Bs.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}(n)}).call(H9)),Bs.exports}var X9=Os.exports,k0;function Ul(){return k0||(k0=1,(function(){var n,e,t,r,i,o,a=function(c,l){for(var u in l)s.call(l,u)&&(c[u]=l[u]);function f(){this.constructor=c}return f.prototype=l.prototype,c.prototype=new f,c.__super__=l.prototype,c},s={}.hasOwnProperty;o=zr().isObject,i=Pt(),n=El(),t=Cl(),e=Sl(),r=Al(),Os.exports=function(c){a(l,c);function l(u,f,d){var h,p;l.__super__.constructor.call(this,u),this.name="!DOCTYPE",this.documentObject=u,o(f)&&(h=f,f=h.pubID,d=h.sysID),d==null&&(p=[f,d],d=p[0],f=p[1]),f!=null&&(this.pubID=this.stringify.dtdPubID(f)),d!=null&&(this.sysID=this.stringify.dtdSysID(d))}return l.prototype.element=function(u,f){var d;return d=new e(this,u,f),this.children.push(d),this},l.prototype.attList=function(u,f,d,h,p){var m;return m=new n(this,u,f,d,h,p),this.children.push(m),this},l.prototype.entity=function(u,f){var d;return d=new t(this,!1,u,f),this.children.push(d),this},l.prototype.pEntity=function(u,f){var d;return d=new t(this,!0,u,f),this.children.push(d),this},l.prototype.notation=function(u,f){var d;return d=new r(this,u,f),this.children.push(d),this},l.prototype.toString=function(u){return this.options.writer.set(u).docType(this)},l.prototype.ele=function(u,f){return this.element(u,f)},l.prototype.att=function(u,f,d,h,p){return this.attList(u,f,d,h,p)},l.prototype.ent=function(u,f){return this.entity(u,f)},l.prototype.pent=function(u,f){return this.pEntity(u,f)},l.prototype.not=function(u,f){return this.notation(u,f)},l.prototype.up=function(){return this.root()||this.documentObject},l}(i)}).call(X9)),Os.exports}var Ms={exports:{}},G9=Ms.exports,F0;function kl(){return F0||(F0=1,(function(){var n,e=function(r,i){for(var o in i)t.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},t={}.hasOwnProperty;n=Pt(),Ms.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}(n)}).call(G9)),Ms.exports}var Ws={exports:{}},K9=Ws.exports,O0;function Fl(){return O0||(O0=1,(function(){var n,e=function(r,i){for(var o in i)t.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},t={}.hasOwnProperty;n=Pt(),Ws.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}(n)}).call(K9)),Ws.exports}var Ls={exports:{}},J9=Ls.exports,R0;function Ol(){return R0||(R0=1,(function(){var n,e=function(r,i){for(var o in i)t.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},t={}.hasOwnProperty;n=Pt(),Ls.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}(n)}).call(J9)),Ls.exports}var Ps={exports:{}},Z9=Ps.exports,N0;function bm(){return N0||(N0=1,(function(){var n,e=function(r,i){for(var o in i)t.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},t={}.hasOwnProperty;n=Pt(),Ps.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}(n)}).call(Z9)),Ps.exports}var Y9=Cs.exports,I0;function Pt(){return I0||(I0=1,(function(){var n,e,t,r,i,o,a,s,c,l,u,f,d,h,p={}.hasOwnProperty;h=zr(),d=h.isObject,f=h.isFunction,u=h.isEmpty,l=h.getValue,o=null,n=null,e=null,t=null,r=null,s=null,c=null,a=null,i=null,Cs.exports=function(){function m(g){this.parent=g,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],o||(o=Dl(),n=wl(),e=_l(),t=Tl(),r=Ul(),s=kl(),c=Fl(),a=Ol(),i=bm())}return m.prototype.element=function(g,y,b){var v,T,w,E,S,U,C,R,L,_,k;if(U=null,y===null&&b==null&&(L=[{},null],y=L[0],b=L[1]),y==null&&(y={}),y=l(y),d(y)||(_=[y,b],b=_[0],y=_[1]),g!=null&&(g=l(g)),Array.isArray(g))for(w=0,C=g.length;w<C;w++)T=g[w],U=this.element(T);else if(f(g))U=this.element(g.apply());else if(d(g)){for(S in g)if(p.call(g,S))if(k=g[S],f(k)&&(k=k.apply()),d(k)&&u(k)&&(k=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&S.indexOf(this.stringify.convertAttKey)===0)U=this.attribute(S.substr(this.stringify.convertAttKey.length),k);else if(!this.options.separateArrayItems&&Array.isArray(k))for(E=0,R=k.length;E<R;E++)T=k[E],v={},v[S]=T,U=this.element(v);else d(k)?(U=this.element(S),U.element(k)):U=this.element(S,k)}else this.options.skipNullNodes&&b===null?U=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&g.indexOf(this.stringify.convertTextKey)===0?U=this.text(b):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&g.indexOf(this.stringify.convertCDataKey)===0?U=this.cdata(b):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&g.indexOf(this.stringify.convertCommentKey)===0?U=this.comment(b):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&g.indexOf(this.stringify.convertRawKey)===0?U=this.raw(b):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&g.indexOf(this.stringify.convertPIKey)===0?U=this.instruction(g.substr(this.stringify.convertPIKey.length),b):U=this.node(g,y,b);if(U==null)throw new Error("Could not create any elements with: "+g+". "+this.debugInfo());return U},m.prototype.insertBefore=function(g,y,b){var v,T,w;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(g));return T=this.parent.children.indexOf(this),w=this.parent.children.splice(T),v=this.parent.element(g,y,b),Array.prototype.push.apply(this.parent.children,w),v},m.prototype.insertAfter=function(g,y,b){var v,T,w;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(g));return T=this.parent.children.indexOf(this),w=this.parent.children.splice(T+1),v=this.parent.element(g,y,b),Array.prototype.push.apply(this.parent.children,w),v},m.prototype.remove=function(){var g;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return g=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[g,g-g+1].concat([])),this.parent},m.prototype.node=function(g,y,b){var v,T;return g!=null&&(g=l(g)),y||(y={}),y=l(y),d(y)||(T=[y,b],b=T[0],y=T[1]),v=new o(this,g,y),b!=null&&v.text(b),this.children.push(v),v},m.prototype.text=function(g){var y;return y=new c(this,g),this.children.push(y),this},m.prototype.cdata=function(g){var y;return y=new n(this,g),this.children.push(y),this},m.prototype.comment=function(g){var y;return y=new e(this,g),this.children.push(y),this},m.prototype.commentBefore=function(g){var y,b;return y=this.parent.children.indexOf(this),b=this.parent.children.splice(y),this.parent.comment(g),Array.prototype.push.apply(this.parent.children,b),this},m.prototype.commentAfter=function(g){var y,b;return y=this.parent.children.indexOf(this),b=this.parent.children.splice(y+1),this.parent.comment(g),Array.prototype.push.apply(this.parent.children,b),this},m.prototype.raw=function(g){var y;return y=new s(this,g),this.children.push(y),this},m.prototype.dummy=function(){var g;return g=new i(this),this.children.push(g),g},m.prototype.instruction=function(g,y){var b,v,T,w,E;if(g!=null&&(g=l(g)),y!=null&&(y=l(y)),Array.isArray(g))for(w=0,E=g.length;w<E;w++)b=g[w],this.instruction(b);else if(d(g))for(b in g)p.call(g,b)&&(v=g[b],this.instruction(b,v));else f(y)&&(y=y.apply()),T=new a(this,g,y),this.children.push(T);return this},m.prototype.instructionBefore=function(g,y){var b,v;return b=this.parent.children.indexOf(this),v=this.parent.children.splice(b),this.parent.instruction(g,y),Array.prototype.push.apply(this.parent.children,v),this},m.prototype.instructionAfter=function(g,y){var b,v;return b=this.parent.children.indexOf(this),v=this.parent.children.splice(b+1),this.parent.instruction(g,y),Array.prototype.push.apply(this.parent.children,v),this},m.prototype.declaration=function(g,y,b){var v,T;return v=this.document(),T=new t(v,g,y,b),v.children[0]instanceof t?v.children[0]=T:v.children.unshift(T),v.root()||v},m.prototype.doctype=function(g,y){var b,v,T,w,E,S,U,C,R,L;for(v=this.document(),T=new r(v,g,y),R=v.children,w=E=0,U=R.length;E<U;w=++E)if(b=R[w],b instanceof r)return v.children[w]=T,T;for(L=v.children,w=S=0,C=L.length;S<C;w=++S)if(b=L[w],b.isRoot)return v.children.splice(w,0,T),T;return v.children.push(T),T},m.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},m.prototype.root=function(){var g;for(g=this;g;){if(g.isDocument)return g.rootObject;if(g.isRoot)return g;g=g.parent}},m.prototype.document=function(){var g;for(g=this;g;){if(g.isDocument)return g;g=g.parent}},m.prototype.end=function(g){return this.document().end(g)},m.prototype.prev=function(){var g;for(g=this.parent.children.indexOf(this);g>0&&this.parent.children[g-1].isDummy;)g=g-1;if(g<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[g-1]},m.prototype.next=function(){var g;for(g=this.parent.children.indexOf(this);g<this.parent.children.length-1&&this.parent.children[g+1].isDummy;)g=g+1;if(g===-1||g===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[g+1]},m.prototype.importDocument=function(g){var y;return y=g.root().clone(),y.parent=this,y.isRoot=!1,this.children.push(y),this},m.prototype.debugInfo=function(g){var y,b;return g=g||this.name,g==null&&!((y=this.parent)!=null&&y.name)?"":g==null?"parent: <"+this.parent.name+">":(b=this.parent)!=null&&b.name?"node: <"+g+">, parent: <"+this.parent.name+">":"node: <"+g+">"},m.prototype.ele=function(g,y,b){return this.element(g,y,b)},m.prototype.nod=function(g,y,b){return this.node(g,y,b)},m.prototype.txt=function(g){return this.text(g)},m.prototype.dat=function(g){return this.cdata(g)},m.prototype.com=function(g){return this.comment(g)},m.prototype.ins=function(g,y){return this.instruction(g,y)},m.prototype.doc=function(){return this.document()},m.prototype.dec=function(g,y,b){return this.declaration(g,y,b)},m.prototype.dtd=function(g,y){return this.doctype(g,y)},m.prototype.e=function(g,y,b){return this.element(g,y,b)},m.prototype.n=function(g,y,b){return this.node(g,y,b)},m.prototype.t=function(g){return this.text(g)},m.prototype.d=function(g){return this.cdata(g)},m.prototype.c=function(g){return this.comment(g)},m.prototype.r=function(g){return this.raw(g)},m.prototype.i=function(g,y){return this.instruction(g,y)},m.prototype.u=function(){return this.up()},m.prototype.importXMLBuilder=function(g){return this.importDocument(g)},m}()}).call(Y9)),Cs.exports}var qs={exports:{}},Q9=qs.exports,B0;function ZT(){return B0||(B0=1,(function(){var n=function(t,r){return function(){return t.apply(r,arguments)}},e={}.hasOwnProperty;qs.exports=function(){function t(r){this.assertLegalChar=n(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 t.prototype.eleName=function(r){return r=""+r||"",this.assertLegalChar(r)},t.prototype.eleText=function(r){return r=""+r||"",this.assertLegalChar(this.elEscape(r))},t.prototype.cdata=function(r){return r=""+r||"",r=r.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(r)},t.prototype.comment=function(r){if(r=""+r||"",r.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+r);return this.assertLegalChar(r)},t.prototype.raw=function(r){return""+r||""},t.prototype.attName=function(r){return r=""+r||""},t.prototype.attValue=function(r){return r=""+r||"",this.attEscape(r)},t.prototype.insTarget=function(r){return""+r||""},t.prototype.insValue=function(r){if(r=""+r||"",r.match(/\?>/))throw new Error("Invalid processing instruction value: "+r);return r},t.prototype.xmlVersion=function(r){if(r=""+r||"",!r.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+r);return r},t.prototype.xmlEncoding=function(r){if(r=""+r||"",!r.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+r);return r},t.prototype.xmlStandalone=function(r){return r?"yes":"no"},t.prototype.dtdPubID=function(r){return""+r||""},t.prototype.dtdSysID=function(r){return""+r||""},t.prototype.dtdElementValue=function(r){return""+r||""},t.prototype.dtdAttType=function(r){return""+r||""},t.prototype.dtdAttDefault=function(r){return r!=null?""+r||"":r},t.prototype.dtdEntityValue=function(r){return""+r||""},t.prototype.dtdNData=function(r){return""+r||""},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.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},t.prototype.elEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},t.prototype.attEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},t}()}).call(Q9)),qs.exports}var js={exports:{}},zs={exports:{}},eR=zs.exports,M0;function YT(){return M0||(M0=1,(function(){var n={}.hasOwnProperty;zs.exports=function(){function e(t){var r,i,o,a,s,c,l,u,f;t||(t={}),this.pretty=t.pretty||!1,this.allowEmpty=(i=t.allowEmpty)!=null?i:!1,this.pretty?(this.indent=(o=t.indent)!=null?o:" ",this.newline=(a=t.newline)!=null?a:`
|
|
223
|
+
`,this.offset=(s=t.offset)!=null?s:0,this.dontprettytextnodes=(c=t.dontprettytextnodes)!=null?c:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(l=t.spacebeforeslash)!=null?l:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,u=t.writer||{};for(r in u)n.call(u,r)&&(f=u[r],this[r]=f)}return e.prototype.set=function(t){var r,i,o;t||(t={}),"pretty"in t&&(this.pretty=t.pretty),"allowEmpty"in t&&(this.allowEmpty=t.allowEmpty),this.pretty?(this.indent="indent"in t?t.indent:" ",this.newline="newline"in t?t.newline:`
|
|
224
|
+
`,this.offset="offset"in t?t.offset:0,this.dontprettytextnodes="dontprettytextnodes"in t?t.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in t?t.spacebeforeslash:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,i=t.writer||{};for(r in i)n.call(i,r)&&(o=i[r],this[r]=o);return this},e.prototype.space=function(t){var r;return this.pretty?(r=(t||0)+this.offset+1,r>0?new Array(r).join(this.indent):""):""},e}()}).call(eR)),zs.exports}var tR=js.exports,W0;function vm(){return W0||(W0=1,(function(){var n,e,t,r,i,o,a,s,c,l,u,f,d,h,p=function(g,y){for(var b in y)m.call(y,b)&&(g[b]=y[b]);function v(){this.constructor=g}return v.prototype=y.prototype,g.prototype=new v,g.__super__=y.prototype,g},m={}.hasOwnProperty;a=Tl(),s=Ul(),n=wl(),e=_l(),l=Dl(),f=kl(),d=Fl(),u=Ol(),c=bm(),t=El(),r=Sl(),i=Cl(),o=Al(),h=YT(),js.exports=function(g){p(y,g);function y(b){y.__super__.constructor.call(this,b)}return y.prototype.document=function(b){var v,T,w,E,S;for(this.textispresent=!1,E="",S=b.children,T=0,w=S.length;T<w;T++)v=S[T],!(v instanceof c)&&(E+=(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&&E.slice(-this.newline.length)===this.newline&&(E=E.slice(0,-this.newline.length)),E},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 T;return T=this.space(v),T+='<?xml version="'+b.version+'"',b.encoding!=null&&(T+=' encoding="'+b.encoding+'"'),b.standalone!=null&&(T+=' standalone="'+b.standalone+'"'),T+=this.spacebeforeslash+"?>",T+=this.newline,T},y.prototype.docType=function(b,v){var T,w,E,S,U;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,U=b.children,w=0,E=U.length;w<E;w++)T=U[w],S+=(function(){switch(!1){case!(T instanceof t):return this.dtdAttList(T,v+1);case!(T instanceof r):return this.dtdElement(T,v+1);case!(T instanceof i):return this.dtdEntity(T,v+1);case!(T instanceof o):return this.dtdNotation(T,v+1);case!(T instanceof n):return this.cdata(T,v+1);case!(T instanceof e):return this.comment(T,v+1);case!(T instanceof u):return this.processingInstruction(T,v+1);default:throw new Error("Unknown DTD node type: "+T.constructor.name)}}).call(this);S+="]"}return S+=this.spacebeforeslash+">",S+=this.newline,S},y.prototype.element=function(b,v){var T,w,E,S,U,C,R,L,_,k,x,j,F;v||(v=0),F=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),j=this.space(v),L="",L+=j+"<"+b.name,_=b.attributes;for(R in _)m.call(_,R)&&(T=_[R],L+=this.attribute(T));if(b.children.length===0||b.children.every(function(B){return B.value===""}))this.allowEmpty?L+="></"+b.name+">"+this.newline:L+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&b.children.length===1&&b.children[0].value!=null)L+=">",L+=b.children[0].value,L+="</"+b.name+">"+this.newline;else{if(this.dontprettytextnodes){for(k=b.children,E=0,U=k.length;E<U;E++)if(w=k[E],w.value!=null){this.textispresent++,F=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,j=this.space(v)),L+=">"+this.newline,x=b.children,S=0,C=x.length;S<C;S++)w=x[S],L+=(function(){switch(!1){case!(w instanceof n):return this.cdata(w,v+1);case!(w instanceof e):return this.comment(w,v+1);case!(w instanceof l):return this.element(w,v+1);case!(w instanceof f):return this.raw(w,v+1);case!(w instanceof d):return this.text(w,v+1);case!(w instanceof u):return this.processingInstruction(w,v+1);case!(w instanceof c):return"";default:throw new Error("Unknown XML node type: "+w.constructor.name)}}).call(this);F&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),L+=j+"</"+b.name+">"+this.newline}return L},y.prototype.processingInstruction=function(b,v){var T;return T=this.space(v)+"<?"+b.target,b.value&&(T+=" "+b.value),T+=this.spacebeforeslash+"?>"+this.newline,T},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 T;return T=this.space(v)+"<!ATTLIST "+b.elementName+" "+b.attributeName+" "+b.attributeType,b.defaultValueType!=="#DEFAULT"&&(T+=" "+b.defaultValueType),b.defaultValue&&(T+=' "'+b.defaultValue+'"'),T+=this.spacebeforeslash+">"+this.newline,T},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 T;return T=this.space(v)+"<!ENTITY",b.pe&&(T+=" %"),T+=" "+b.name,b.value?T+=' "'+b.value+'"':(b.pubID&&b.sysID?T+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(T+=' SYSTEM "'+b.sysID+'"'),b.nData&&(T+=" NDATA "+b.nData)),T+=this.spacebeforeslash+">"+this.newline,T},y.prototype.dtdNotation=function(b,v){var T;return T=this.space(v)+"<!NOTATION "+b.name,b.pubID&&b.sysID?T+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.pubID?T+=' PUBLIC "'+b.pubID+'"':b.sysID&&(T+=' SYSTEM "'+b.sysID+'"'),T+=this.spacebeforeslash+">"+this.newline,T},y.prototype.openNode=function(b,v){var T,w,E,S;if(v||(v=0),b instanceof l){E=this.space(v)+"<"+b.name,S=b.attributes;for(w in S)m.call(S,w)&&(T=S[w],E+=this.attribute(T));return E+=(b.children?">":"/>")+this.newline,E}else return E=this.space(v)+"<!DOCTYPE "+b.rootNodeName,b.pubID&&b.sysID?E+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(E+=' SYSTEM "'+b.sysID+'"'),E+=(b.children?" [":">")+this.newline,E},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(tR)),js.exports}var nR=Es.exports,L0;function rR(){return L0||(L0=1,(function(){var n,e,t,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=zr().isPlainObject,n=Pt(),t=ZT(),e=vm(),Es.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 t(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}(n)}).call(nR)),Es.exports}var $s={exports:{}},iR=$s.exports,P0;function oR(){return P0||(P0=1,(function(){var n,e,t,r,i,o,a,s,c,l,u,f,d,h,p,m,g,y,b,v,T={}.hasOwnProperty;v=zr(),y=v.isObject,g=v.isFunction,b=v.isPlainObject,m=v.getValue,l=Dl(),e=wl(),t=_l(),f=kl(),p=Fl(),u=Ol(),s=Tl(),c=Ul(),r=El(),o=Cl(),i=Sl(),a=Al(),n=JT(),h=ZT(),d=vm(),$s.exports=function(){function w(E,S,U){var C;this.name="?xml",E||(E={}),E.writer?b(E.writer)&&(C=E.writer,E.writer=new d(C)):E.writer=new d(E),this.options=E,this.writer=E.writer,this.stringify=new h(E),this.onDataCallback=S||function(){},this.onEndCallback=U||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return w.prototype.node=function(E,S,U){var C,R;if(E==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(E));return this.openCurrent(),E=m(E),S===null&&U==null&&(C=[{},null],S=C[0],U=C[1]),S==null&&(S={}),S=m(S),y(S)||(R=[S,U],U=R[0],S=R[1]),this.currentNode=new l(this,E,S),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,U!=null&&this.text(U),this},w.prototype.element=function(E,S,U){return this.currentNode&&this.currentNode instanceof c?this.dtdElement.apply(this,arguments):this.node(E,S,U)},w.prototype.attribute=function(E,S){var U,C;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(E));if(E!=null&&(E=m(E)),y(E))for(U in E)T.call(E,U)&&(C=E[U],this.attribute(U,C));else g(S)&&(S=S.apply()),(!this.options.skipNullAttributes||S!=null)&&(this.currentNode.attributes[E]=new n(this,E,S));return this},w.prototype.text=function(E){var S;return this.openCurrent(),S=new p(this,E),this.onData(this.writer.text(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.cdata=function(E){var S;return this.openCurrent(),S=new e(this,E),this.onData(this.writer.cdata(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.comment=function(E){var S;return this.openCurrent(),S=new t(this,E),this.onData(this.writer.comment(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.raw=function(E){var S;return this.openCurrent(),S=new f(this,E),this.onData(this.writer.raw(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.instruction=function(E,S){var U,C,R,L,_;if(this.openCurrent(),E!=null&&(E=m(E)),S!=null&&(S=m(S)),Array.isArray(E))for(U=0,L=E.length;U<L;U++)C=E[U],this.instruction(C);else if(y(E))for(C in E)T.call(E,C)&&(R=E[C],this.instruction(C,R));else g(S)&&(S=S.apply()),_=new u(this,E,S),this.onData(this.writer.processingInstruction(_,this.currentLevel+1),this.currentLevel+1);return this},w.prototype.declaration=function(E,S,U){var C;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return C=new s(this,E,S,U),this.onData(this.writer.declaration(C,this.currentLevel+1),this.currentLevel+1),this},w.prototype.doctype=function(E,S,U){if(this.openCurrent(),E==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,U),this.currentNode.rootNodeName=E,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},w.prototype.dtdElement=function(E,S){var U;return this.openCurrent(),U=new i(this,E,S),this.onData(this.writer.dtdElement(U,this.currentLevel+1),this.currentLevel+1),this},w.prototype.attList=function(E,S,U,C,R){var L;return this.openCurrent(),L=new r(this,E,S,U,C,R),this.onData(this.writer.dtdAttList(L,this.currentLevel+1),this.currentLevel+1),this},w.prototype.entity=function(E,S){var U;return this.openCurrent(),U=new o(this,!1,E,S),this.onData(this.writer.dtdEntity(U,this.currentLevel+1),this.currentLevel+1),this},w.prototype.pEntity=function(E,S){var U;return this.openCurrent(),U=new o(this,!0,E,S),this.onData(this.writer.dtdEntity(U,this.currentLevel+1),this.currentLevel+1),this},w.prototype.notation=function(E,S){var U;return this.openCurrent(),U=new a(this,E,S),this.onData(this.writer.dtdNotation(U,this.currentLevel+1),this.currentLevel+1),this},w.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},w.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},w.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},w.prototype.openNode=function(E){if(!E.isOpen)return!this.root&&this.currentLevel===0&&E instanceof l&&(this.root=E),this.onData(this.writer.openNode(E,this.currentLevel),this.currentLevel),E.isOpen=!0},w.prototype.closeNode=function(E){if(!E.isClosed)return this.onData(this.writer.closeNode(E,this.currentLevel),this.currentLevel),E.isClosed=!0},w.prototype.onData=function(E,S){return this.documentStarted=!0,this.onDataCallback(E,S+1)},w.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},w.prototype.debugInfo=function(E){return E==null?"":"node: <"+E+">"},w.prototype.ele=function(){return this.element.apply(this,arguments)},w.prototype.nod=function(E,S,U){return this.node(E,S,U)},w.prototype.txt=function(E){return this.text(E)},w.prototype.dat=function(E){return this.cdata(E)},w.prototype.com=function(E){return this.comment(E)},w.prototype.ins=function(E,S){return this.instruction(E,S)},w.prototype.dec=function(E,S,U){return this.declaration(E,S,U)},w.prototype.dtd=function(E,S,U){return this.doctype(E,S,U)},w.prototype.e=function(E,S,U){return this.element(E,S,U)},w.prototype.n=function(E,S,U){return this.node(E,S,U)},w.prototype.t=function(E){return this.text(E)},w.prototype.d=function(E){return this.cdata(E)},w.prototype.c=function(E){return this.comment(E)},w.prototype.r=function(E){return this.raw(E)},w.prototype.i=function(E,S){return this.instruction(E,S)},w.prototype.att=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},w.prototype.a=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},w.prototype.ent=function(E,S){return this.entity(E,S)},w.prototype.pent=function(E,S){return this.pEntity(E,S)},w.prototype.not=function(E,S){return this.notation(E,S)},w}()}).call(iR)),$s.exports}var Vs={exports:{}},aR=Vs.exports,q0;function sR(){return q0||(q0=1,(function(){var n,e,t,r,i,o,a,s,c,l,u,f,d,h,p=function(g,y){for(var b in y)m.call(y,b)&&(g[b]=y[b]);function v(){this.constructor=g}return v.prototype=y.prototype,g.prototype=new v,g.__super__=y.prototype,g},m={}.hasOwnProperty;a=Tl(),s=Ul(),n=wl(),e=_l(),l=Dl(),f=kl(),d=Fl(),u=Ol(),c=bm(),t=El(),r=Sl(),i=Cl(),o=Al(),h=YT(),Vs.exports=function(g){p(y,g);function y(b,v){y.__super__.constructor.call(this,v),this.stream=b}return y.prototype.document=function(b){var v,T,w,E,S,U,C,R;for(U=b.children,T=0,E=U.length;T<E;T++)v=U[T],v.isLastRootNode=!1;for(b.children[b.children.length-1].isLastRootNode=!0,C=b.children,R=[],w=0,S=C.length;w<S;w++)if(v=C[w],!(v instanceof c))switch(!1){case!(v instanceof a):R.push(this.declaration(v));break;case!(v instanceof s):R.push(this.docType(v));break;case!(v instanceof e):R.push(this.comment(v));break;case!(v instanceof u):R.push(this.processingInstruction(v));break;default:R.push(this.element(v))}return R},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 T,w,E,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,w=0,E=S.length;w<E;w++)switch(T=S[w],!1){case!(T instanceof t):this.dtdAttList(T,v+1);break;case!(T instanceof r):this.dtdElement(T,v+1);break;case!(T instanceof i):this.dtdEntity(T,v+1);break;case!(T instanceof o):this.dtdNotation(T,v+1);break;case!(T instanceof n):this.cdata(T,v+1);break;case!(T instanceof e):this.comment(T,v+1);break;case!(T instanceof u):this.processingInstruction(T,v+1);break;default:throw new Error("Unknown DTD node type: "+T.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(b))},y.prototype.element=function(b,v){var T,w,E,S,U,C,R,L;v||(v=0),L=this.space(v),this.stream.write(L+"<"+b.name),C=b.attributes;for(U in C)m.call(C,U)&&(T=C[U],this.attribute(T));if(b.children.length===0||b.children.every(function(_){return _.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),R=b.children,E=0,S=R.length;E<S;E++)switch(w=R[E],!1){case!(w instanceof n):this.cdata(w,v+1);break;case!(w instanceof e):this.comment(w,v+1);break;case!(w instanceof l):this.element(w,v+1);break;case!(w instanceof f):this.raw(w,v+1);break;case!(w instanceof d):this.text(w,v+1);break;case!(w instanceof u):this.processingInstruction(w,v+1);break;case!(w instanceof c):break;default:throw new Error("Unknown XML node type: "+w.constructor.name)}this.stream.write(L+"</"+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(aR)),Vs.exports}var j0;function cR(){return j0||(j0=1,(function(){var n,e,t,r,i,o,a;a=zr(),i=a.assign,o=a.isFunction,n=rR(),e=oR(),r=vm(),t=sR(),Hr.create=function(s,c,l,u){var f,d;if(s==null)throw new Error("Root element needs a name.");return u=i({},c,l,u),f=new n(u),d=f.element(s),u.headless||(f.declaration(u),(u.pubID!=null||u.sysID!=null)&&f.doctype(u)),d},Hr.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 n(s)},Hr.stringWriter=function(s){return new r(s)},Hr.streamWriter=function(s,c){return new t(s,c)}}).call(Hr)),Hr}var z0;function lR(){if(z0)return Bd;z0=1;var n=rt,e=cR();Bd.writeString=t;function t(i,o){var a=n.invert(o),s={element:l,text:r};function c(d,h){return s[h.type](d,h)}function l(d,h){var p=d.element(u(h.name),h.attributes);h.children.forEach(function(m){c(p,m)})}function u(d){var h=/^\{(.*)\}(.*)$/.exec(d);if(h){var p=a[h[1]];return p+(p===""?"":":")+h[2]}else return d}function f(d){var h=e.create(u(d.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return n.forEach(o,function(p,m){var g="xmlns"+(m===""?"":":"+m);h.attribute(g,p)}),d.children.forEach(function(p){c(h,p)}),h.end()}return f(i)}function r(i,o){i.text(o.value)}return Bd}var $0;function xm(){if($0)return fr;$0=1;var n=KT();return fr.Element=n.Element,fr.element=n.element,fr.emptyElement=n.emptyElement,fr.text=n.text,fr.readString=M9().readString,fr.writeString=lR().writeString,fr}var V0;function uR(){if(V0)return Qa;V0=1;var n=rt,e=jr(),t=xm();Qa.read=i,Qa.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 t.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=n.flatten(c.children.map(s,!0)),[c]):[c]}return Qa}var ns={},fn={},rs={},H0;function fR(){if(H0)return rs;H0=1,Object.defineProperty(rs,"__esModule",{value:!0});var n=[{"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 rs.default=n,rs}var X0;function dR(){if(X0)return fn;X0=1;var n=fn&&fn.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(fn,"__esModule",{value:!0}),fn.hex=fn.dec=fn.codePoint=void 0;for(var e=n(fR()),t={},r=String.fromCodePoint?String.fromCodePoint:d,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)};t[a["Typeface name"].toUpperCase()+"_"+a["Dingbat dec"]]=c}function l(h,p){return t[h.toUpperCase()+"_"+p]}fn.codePoint=l;function u(h,p){return l(h,parseInt(p,10))}fn.dec=u;function f(h,p){return l(h,parseInt(p,16))}fn.hex=f;function d(h){if(h<=65535)return String.fromCharCode(h);var p=Math.floor((h-65536)/1024)+55296,m=(h-65536)%1024+56320;return String.fromCharCode(p,m)}return fn}var is={},G0;function hR(){if(G0)return is;G0=1,is.uriToZipEntryName=n,is.replaceFragment=e;function n(t,r){return r.charAt(0)==="/"?r.substr(1):t+"/"+r}function e(t,r){var i=t.indexOf("#");return i!==-1&&(t=t.substring(0,i)),t+"#"+r}return is}var K0;function pR(){if(K0)return ns;K0=1,ns.createBodyReader=s,ns._readNumberingProperties=l;var n=dR(),e=rt,t=_i(),r=Yn().Result,i=Yn().warning,o=xm(),a=hR();function s(T){return{readXmlElement:function(w){return new c(T).readXmlElement(w)},readXmlElements:function(w){return new c(T).readXmlElements(w)}}}function c(T){var w=[],E=[],S=[],U=T.relationships,C=T.contentTypes,R=T.docxFile,L=T.files,_=T.numbering,k=T.styles;function x(ee){var ue=ee.map(j);return y(ue)}function j(ee){if(ee.type==="element"){var ue=z[ee.name];if(ue)return ue(ee);if(!Object.prototype.hasOwnProperty.call(f,ee.name)){var ve=i("An unrecognised element was ignored: "+ee.name);return d([ve])}}return h()}function F(ee){return oe(ee).map(function(ue){return{type:"paragraphProperties",styleId:ue.styleId,styleName:ue.name,alignment:ee.firstOrEmpty("w:jc").attributes["w:val"],numbering:l(ue.styleId,ee.firstOrEmpty("w:numPr"),_),indent:B(ee.firstOrEmpty("w:ind"))}})}function B(ee){return{start:ee.attributes["w:start"]||ee.attributes["w:left"],end:ee.attributes["w:end"]||ee.attributes["w:right"],firstLine:ee.attributes["w:firstLine"],hanging:ee.attributes["w:hanging"]}}function K(ee){return X(ee).map(function(ue){var ve=ee.firstOrEmpty("w:sz").attributes["w:val"],Ee=/^[0-9]+$/.test(ve)?parseInt(ve,10)/2:null;return{type:"runProperties",styleId:ue.styleId,styleName:ue.name,verticalAlignment:ee.firstOrEmpty("w:vertAlign").attributes["w:val"],font:ee.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:Ee,isBold:te(ee.first("w:b")),isUnderline:P(ee.first("w:u")),isItalic:te(ee.first("w:i")),isStrikethrough:te(ee.first("w:strike")),isAllCaps:te(ee.first("w:caps")),isSmallCaps:te(ee.first("w:smallCaps")),highlight:I(ee.firstOrEmpty("w:highlight").attributes["w:val"])}})}function P(ee){if(ee){var ue=ee.attributes["w:val"];return ue!==void 0&&ue!=="false"&&ue!=="0"&&ue!=="none"}else return!1}function te(ee){if(ee){var ue=ee.attributes["w:val"];return ue!=="false"&&ue!=="0"}else return!1}function W(ee){return ee!=="false"&&ee!=="0"}function I(ee){return!ee||ee==="none"?null:ee}function oe(ee){return le(ee,"w:pStyle","Paragraph",k.findParagraphStyleById)}function X(ee){return le(ee,"w:rStyle","Run",k.findCharacterStyleById)}function J(ee){return le(ee,"w:tblStyle","Table",k.findTableStyleById)}function le(ee,ue,ve,Ee){var ke=[],Q=ee.first(ue),re=null,Oe=null;if(Q&&(re=Q.attributes["w:val"],re)){var Be=Ee(re);Be?Oe=Be.name:ke.push(Ce(ve,re))}return m({styleId:re,name:Oe},ke)}function he(ee){var ue=ee.attributes["w:fldCharType"];if(ue==="begin")w.push({type:"begin",fldChar:ee}),E=[];else if(ue==="end"){var ve=w.pop();if(ve.type==="begin"&&(ve=me(ve)),ve.type==="checkbox")return p(t.checkbox({checked:ve.checked}))}else if(ue==="separate"){var Ee=w.pop(),ke=me(Ee);w.push(ke)}return h()}function fe(){var ee=e.last(w.filter(function(ue){return ue.type==="hyperlink"}));return ee?ee.options:null}function me(ee){return de(E.join(""),ee.type==="begin"?ee.fldChar:o.emptyElement)}function de(ee,ue){var ve=/\s*HYPERLINK "(.*)"/.exec(ee);if(ve)return{type:"hyperlink",options:{href:ve[1]}};var Ee=/\s*HYPERLINK\s+\\l\s+"(.*)"/.exec(ee);if(Ee)return{type:"hyperlink",options:{anchor:Ee[1]}};var ke=/\s*FORMCHECKBOX\s*/.exec(ee);if(ke){var Q=ue.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),re=Q.first("w:checked"),Oe=re==null?te(Q.first("w:default")):te(re);return{type:"checkbox",checked:Oe}}return{type:"unknown"}}function ge(ee){return E.push(ee.text()),h()}function ye(ee){var ue=ee.attributes["w:font"],ve=ee.attributes["w:char"],Ee=n.hex(ue,ve);return Ee==null&&/^F0..$/.test(ve)&&(Ee=n.hex(ue,ve.substring(2))),Ee==null?d([i("A w:sym element with an unsupported character was ignored: char "+ve+" in font "+ue)]):p(new t.Text(Ee.string))}function be(ee){return function(ue){var ve=ue.attributes["w:id"];return p(new t.NoteReference({noteType:ee,noteId:ve}))}}function D(ee){return p(t.commentReference({commentId:ee.attributes["w:id"]}))}function V(ee){return x(ee.children)}var z={"w:p":function(ee){var ue=ee.firstOrEmpty("w:pPr"),ve=!!ue.firstOrEmpty("w:rPr").first("w:del");if(ve)return ee.children.forEach(function(ke){S.push(ke)}),h();var Ee=ee.children;return S.length>0&&(Ee=S.concat(Ee),S=[]),g.map(F(ue),x(Ee),function(ke,Q){return new t.Paragraph(Q,ke)}).insertExtra()},"w:r":function(ee){return g.map(K(ee.firstOrEmpty("w:rPr")),x(ee.children),function(ue,ve){var Ee=fe();return Ee!==null&&(ve=[new t.Hyperlink(ve,Ee)]),new t.Run(ve,ue)})},"w:fldChar":he,"w:instrText":ge,"w:t":function(ee){return p(new t.Text(ee.text()))},"w:tab":function(ee){return p(new t.Tab)},"w:noBreakHyphen":function(){return p(new t.Text("‑"))},"w:softHyphen":function(ee){return p(new t.Text(""))},"w:sym":ye,"w:hyperlink":function(ee){var ue=ee.attributes["r:id"],ve=ee.attributes["w:anchor"];return x(ee.children).map(function(Ee){function ke(re){var Oe=ee.attributes["w:tgtFrame"]||null;return new t.Hyperlink(Ee,e.extend({targetFrame:Oe},re))}if(ue){var Q=U.findTargetByRelationshipId(ue);return ve&&(Q=a.replaceFragment(Q,ve)),ke({href:Q})}else return ve?ke({anchor:ve}):Ee})},"w:tbl":M,"w:tr":$,"w:tc":ie,"w:footnoteReference":be("footnote"),"w:endnoteReference":be("endnote"),"w:commentReference":D,"w:br":function(ee){var ue=ee.attributes["w:type"];return ue==null||ue==="textWrapping"?p(t.lineBreak):ue==="page"?p(t.pageBreak):ue==="column"?p(t.columnBreak):d([i("Unsupported break type: "+ue)])},"w:bookmarkStart":function(ee){var ue=ee.attributes["w:name"];return ue==="_GoBack"?h():p(new t.BookmarkStart({name:ue}))},"mc:AlternateContent":function(ee){return V(ee.first("mc:Fallback"))},"w:sdt":function(ee){var ue=ee.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(ue){var ve=ue.first("wordml:checked"),Ee=!!ve&&W(ve.attributes["wordml:val"]);return p(t.checkbox({checked:Ee}))}else return x(ee.firstOrEmpty("w:sdtContent").children)},"w:ins":V,"w:object":V,"w:smartTag":V,"w:drawing":V,"w:pict":function(ee){return V(ee).toExtra()},"v:roundrect":V,"v:shape":V,"v:textbox":V,"w:txbxContent":V,"wp:inline":q,"wp:anchor":q,"v:imagedata":xe,"v:group":V,"v:rect":V};return{readXmlElement:j,readXmlElements:x};function M(ee){var ue=N(ee.firstOrEmpty("w:tblPr"));return x(ee.children).flatMap(Z).flatMap(function(ve){return ue.map(function(Ee){return t.Table(ve,Ee)})})}function N(ee){return J(ee).map(function(ue){return{styleId:ue.styleId,styleName:ue.name}})}function $(ee){var ue=ee.firstOrEmpty("w:trPr"),ve=!!ue.first("w:tblHeader");return x(ee.children).map(function(Ee){return t.TableRow(Ee,{isHeader:ve})})}function ie(ee){return x(ee.children).map(function(ue){var ve=ee.firstOrEmpty("w:tcPr"),Ee=ve.firstOrEmpty("w:gridSpan").attributes["w:val"],ke=Ee?parseInt(Ee,10):1,Q=t.TableCell(ue,{colSpan:ke});return Q._vMerge=ne(ve),Q})}function ne(ee){var ue=ee.first("w:vMerge");if(ue){var ve=ue.attributes["w:val"];return ve==="continue"||!ve}else return null}function Z(ee){var ue=e.any(ee,function(ke){return ke.type!==t.types.tableRow});if(ue)return m(ee,[i("unexpected non-row element in table, cell merging may be incorrect")]);var ve=e.any(ee,function(ke){return e.any(ke.children,function(Q){return Q.type!==t.types.tableCell})});if(ve)return m(ee,[i("unexpected non-cell element in table row, cell merging may be incorrect")]);var Ee={};return ee.forEach(function(ke){var Q=0;ke.children.forEach(function(re){re._vMerge&&Ee[Q]?Ee[Q].rowSpan++:(Ee[Q]=re,re._vMerge=!1),Q+=re.colSpan})}),ee.forEach(function(ke){ke.children=ke.children.filter(function(Q){return!Q._vMerge}),ke.children.forEach(function(Q){delete Q._vMerge})}),p(ee)}function q(ee){var ue=ee.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return y(ue.map(G.bind(null,ee)))}function G(ee,ue){var ve=ee.first("wp:docPr").attributes,Ee=Y(ve.descr)?ve.title:ve.descr,ke=ae(ue);return ke===null?d([i("Could not find image file for a:blip element")]):Se(ke,Ee)}function Y(ee){return ee==null||/^\s*$/.test(ee)}function ae(ee){var ue=ee.attributes["r:embed"],ve=ee.attributes["r:link"];if(ue)return Te(ue);if(ve){var Ee=U.findTargetByRelationshipId(ve);return{path:Ee,read:L.read.bind(L,Ee)}}else return null}function xe(ee){var ue=ee.attributes["r:id"];return ue?Se(Te(ue),ee.attributes["o:title"]):d([i("A v:imagedata element without a relationship ID was ignored")])}function Te(ee){var ue=a.uriToZipEntryName("word",U.findTargetByRelationshipId(ee));return{path:ue,read:R.read.bind(R,ue)}}function Se(ee,ue){var ve=C.findContentType(ee.path),Ee=t.Image({readImage:ee.read,altText:ue,contentType:ve}),ke=u[ve]?[]:i("Image of type "+ve+" is unlikely to display in web browsers");return m(Ee,ke)}function Ce(ee,ue){return i(ee+" style with ID "+ue+" was referenced but not defined in the document")}}function l(T,w,E){var S=w.firstOrEmpty("w:ilvl").attributes["w:val"],U=w.firstOrEmpty("w:numId").attributes["w:val"];if(S!==void 0&&U!==void 0)return E.findLevel(U,S);if(T!=null){var C=E.findLevelByParagraphStyleId(T);if(C!=null)return C}return null}var u={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},f={"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 d(T){return new g(null,null,T)}function h(){return new g(null)}function p(T){return new g(T)}function m(T,w){return new g(T,null,w)}function g(T,w,E){this.value=T||[],this.extra=w||[],this._result=new r({element:this.value,extra:w},E),this.messages=this._result.messages}g.prototype.toExtra=function(){return new g(null,b(this.extra,this.value),this.messages)},g.prototype.insertExtra=function(){var T=this.extra;return T&&T.length?new g(b(this.value,T),null,this.messages):this},g.prototype.map=function(T){var w=this._result.map(function(E){return T(E.element)});return new g(w.value,this.extra,w.messages)},g.prototype.flatMap=function(T){var w=this._result.flatMap(function(E){return T(E.element)._result});return new g(w.value.element,b(this.extra,w.value.extra),w.messages)},g.map=function(T,w,E){return new g(E(T.value,w.value),b(T.extra,w.extra),T.messages.concat(w.messages))};function y(T){var w=r.combine(e.pluck(T,"_result"));return new g(e.flatten(e.pluck(w.value,"element")),e.filter(e.flatten(e.pluck(w.value,"extra")),v),w.messages)}function b(T,w){return e.flatten([T,w])}function v(T){return T}return ns}var Md={},J0;function gR(){if(J0)return Md;J0=1,Md.DocumentXmlReader=t;var n=_i(),e=Yn().Result;function t(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 n.Document(l,{notes:r.notes,comments:r.comments})});return new e(c.value,c.messages)}return{convertXmlToDocument:o}}return Md}var Ao={},Z0;function mR(){if(Z0)return Ao;Z0=1,Ao.readRelationships=n,Ao.defaultValue=new e([]),Ao.Relationships=e;function n(t){var r=[];return t.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(t){var r={};t.forEach(function(o){r[o.relationshipId]=o.target});var i={};return t.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 Ao}var as={},Y0;function yR(){if(Y0)return as;Y0=1,as.readContentTypesFromXml=e;var n={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};as.defaultContentTypes=t({},{});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}}),t(o,i)}function t(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=n[c.toLowerCase()];return l?"image/"+l:null}}}return as}var Uo={},Q0;function bR(){if(Q0)return Uo;Q0=1;var n=rt;Uo.readNumberingXml=t,Uo.Numbering=e,Uo.defaultNumbering=new e({},{});function e(a,s,c){var l=n.flatten(n.values(s).map(function(h){return n.values(h.levels)})),u=n.indexBy(l.filter(function(h){return h.paragraphStyleId!=null}),"paragraphStyleId");function f(h,p){var m=a[h];if(m){var g=s[m.abstractNumId];if(g){if(g.numStyleLink==null)return s[m.abstractNumId].levels[p];var y=c.findNumberingStyleById(g.numStyleLink);return f(y.numId,p)}else return null}else return null}function d(h){return u[h]||null}return{findLevel:f,findLevelByParagraphStyleId:d}}function t(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"],f=l.firstOrEmpty("w:numFmt").attributes["w:val"],d=l.firstOrEmpty("w:pStyle").attributes["w:val"];s[u]={isOrdered:f!=="bullet",level:u,paragraphStyleId:d}});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 Uo}var ko={},ev;function vR(){if(ev)return ko;ev=1,ko.readStylesXml=e,ko.Styles=n,ko.defaultStyles=new n({},{});function n(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]}}}n.EMPTY=new n({},{},{},{});function e(o){var a={},s={},c={},l={},u={paragraph:a,character:s,table:c};return o.getElementsByTagName("w:style").forEach(function(f){var d=t(f);if(d.type==="numbering")l[d.styleId]=i(f);else{var h=u[d.type];h&&(h[d.styleId]=d)}}),new n(a,s,c,l)}function t(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 ko}var Fi={},tv;function xR(){if(tv)return Fi;tv=1;var n=_i(),e=Yn().Result;Fi.createFootnotesReader=t.bind(Fi,"footnote"),Fi.createEndnotesReader=t.bind(Fi,"endnote");function t(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 n.Note({noteType:r,noteId:l,body:u})})}return o}return Fi}var Wd={},nv;function DR(){if(nv)return Wd;nv=1;var n=_i(),e=Yn().Result;function t(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 n.comment({commentId:s,body:l,authorName:c("w:author"),authorInitials:c("w:initials")})})}return i}return Wd.createCommentsReader=t,Wd}var Ld={},rv;function wR(){if(rv)return Ld;rv=1;var n=jr();Ld.Files=e;function e(){function t(r){return n.reject(new Error("could not open external image: '"+r+`'
|
|
225
|
+
cannot open linked files from a web browser`))}return{read:t}}return Ld}var iv;function _R(){if(iv)return Ka;iv=1,Ka.read=p,Ka._findPartPaths=m;var n=jr(),e=_i(),t=Yn().Result,r=GT(),i=uR().readXmlFromZipFile,o=pR().createBodyReader,a=gR().DocumentXmlReader,s=mR(),c=yR(),l=bR(),u=vR(),f=xR(),d=DR(),h=wR().Files;function p(C,R){return R=R||{},n.props({contentTypes:w(C),partPaths:m(C),docxFile:C,files:R.path?h.relativeToFile(R.path):new h(null)}).also(function(L){return{styles:S(C,L.partPaths.styles)}}).also(function(L){return{numbering:E(C,L.partPaths.numbering,L.styles)}}).also(function(L){return{footnotes:v(L.partPaths.footnotes,L,function(_,k){return k?f.createFootnotesReader(_)(k):new t([])}),endnotes:v(L.partPaths.endnotes,L,function(_,k){return k?f.createEndnotesReader(_)(k):new t([])}),comments:v(L.partPaths.comments,L,function(_,k){return k?d.createCommentsReader(_)(k):new t([])})}}).also(function(L){return{notes:L.footnotes.flatMap(function(_){return L.endnotes.map(function(k){return new e.Notes(_.concat(k))})})}}).then(function(L){return v(L.partPaths.mainDocument,L,function(_,k){return L.notes.flatMap(function(x){return L.comments.flatMap(function(j){var F=new a({bodyReader:_,notes:x,comments:j});return F.convertXmlToDocument(k)})})})})}function m(C){return U(C).then(function(R){var L=g({docxFile:C,relationships:R,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!C.exists(L))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return b({filename:T(L),readElement:s.readRelationships,defaultValue:s.defaultValue})(C).then(function(_){function k(x){return g({docxFile:C,relationships:_,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+x,basePath:r.splitPath(L).dirname,fallbackPath:"word/"+x+".xml"})}return{mainDocument:L,comments:k("comments"),endnotes:k("endnotes"),footnotes:k("footnotes"),numbering:k("numbering"),styles:k("styles")}})})}function g(C){var R=C.docxFile,L=C.relationships,_=C.relationshipType,k=C.basePath,x=C.fallbackPath,j=L.findTargetsByType(_),F=j.map(function(K){return y(r.joinPath(k,K),"/")}),B=F.filter(function(K){return R.exists(K)});return B.length===0?x:B[0]}function y(C,R){return C.substring(0,R.length)===R?C.substring(R.length):C}function b(C){return function(R){return i(R,C.filename).then(function(L){return L?C.readElement(L):C.defaultValue})}}function v(C,R,L){var _=b({filename:T(C),readElement:s.readRelationships,defaultValue:s.defaultValue});return _(R.docxFile).then(function(k){var x=new o({relationships:k,contentTypes:R.contentTypes,docxFile:R.docxFile,numbering:R.numbering,styles:R.styles,files:R.files});return i(R.docxFile,C).then(function(j){return L(x,j)})})}function T(C){var R=r.splitPath(C);return r.joinPath(R.dirname,"_rels",R.basename+".rels")}var w=b({filename:"[Content_Types].xml",readElement:c.readContentTypesFromXml,defaultValue:c.defaultContentTypes});function E(C,R,L){return b({filename:R,readElement:function(_){return l.readNumberingXml(_,{styles:L})},defaultValue:l.defaultNumbering})(C)}function S(C,R){return b({filename:R,readElement:u.readStylesXml,defaultValue:u.defaultStyles})(C)}var U=b({filename:"_rels/.rels",readElement:s.readRelationships,defaultValue:s.defaultValue});return Ka}var ss={},ov;function TR(){if(ov)return ss;ov=1;var n=rt,e=jr(),t=xm();ss.writeStyleMap=a,ss.readStyleMap=u;var r="http://schemas.zwobble.org/mammoth/style-map",i="mammoth/style-map",o="/"+i;function a(f,d){return f.write(i,d),s(f).then(function(){return c(f)})}function s(f){var d="word/_rels/document.xml.rels",h="http://schemas.openxmlformats.org/package/2006/relationships",p="{"+h+"}Relationship";return f.read(d,"utf8").then(t.readString).then(function(m){var g=m.children;l(g,p,"Id",{Id:"rMammothStyleMap",Type:r,Target:o});var y={"":h};return f.write(d,t.writeString(m,y))})}function c(f){var d="[Content_Types].xml",h="http://schemas.openxmlformats.org/package/2006/content-types",p="{"+h+"}Override";return f.read(d,"utf8").then(t.readString).then(function(m){var g=m.children;l(g,p,"PartName",{PartName:o,ContentType:"text/prs.mammoth.style-map"});var y={"":h};return f.write(d,t.writeString(m,y))})}function l(f,d,h,p){var m=n.find(f,function(g){return g.name===d&&g.attributes[h]===p[h]});m?m.attributes=p:f.push(t.element(d,p))}function u(f){return f.exists(i)?f.read(i,"utf8"):e.resolve(null)}return ss}var cs={},Xr={},Pn={},dr={},av;function QT(){if(av)return dr;av=1;var n=Nl();function e(c,l,u){return r(n.element(c,l,{fresh:!1}),u)}function t(c,l,u){var f=n.element(c,l,{fresh:!0});return r(f,u)}function r(c,l){return{type:"element",tag:c,children:l||[]}}function i(c){return{type:"text",value:c}}var o={type:"forceWrite"};dr.freshElement=t,dr.nonFreshElement=e,dr.elementWithTag=r,dr.text=i,dr.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 dr.isVoidElement=s,dr}var Pd,sv;function ER(){if(sv)return Pd;sv=1;var n=rt,e=QT();function t(m){return r(l(m))}function r(m){var g=[];return m.map(i).forEach(function(y){c(g,y)}),g}function i(m){return o[m.type](m)}var o={element:a,text:s,forceWrite:s};function a(m){return e.elementWithTag(m.tag,r(m.children))}function s(m){return m}function c(m,g){var y=m[m.length-1];g.type==="element"&&!g.tag.fresh&&y&&y.type==="element"&&g.tag.matchesElement(y.tag)?(g.tag.separator&&c(y.children,e.text(g.tag.separator)),g.children.forEach(function(b){c(y.children,b)})):m.push(g)}function l(m){return u(m,function(g){return f[g.type](g)})}function u(m,g){return n.flatten(n.map(m,g),!0)}var f={element:h,text:p,forceWrite:d};function d(m){return[m]}function h(m){var g=l(m.children);return g.length===0&&!e.isVoidElement(m)?[]:[e.elementWithTag(m.tag,g)]}function p(m){return m.value.length===0?[]:[m]}return Pd=t,Pd}var cv;function Rl(){if(cv)return Pn;cv=1;var n=QT();Pn.freshElement=n.freshElement,Pn.nonFreshElement=n.nonFreshElement,Pn.elementWithTag=n.elementWithTag,Pn.text=n.text,Pn.forceWrite=n.forceWrite,Pn.simplify=ER();function e(a,s){s.forEach(function(c){t(a,c)})}function t(a,s){r[s.type](a,s)}var r={element:i,text:o,forceWrite:function(){}};function i(a,s){n.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 Pn.write=e,Pn}var lv;function Nl(){if(lv)return Xr;lv=1;var n=rt,e=Rl();Xr.topLevelElement=t,Xr.elements=r,Xr.element=o;function t(s,c){return r([o(s,c,{fresh:!0})])}function r(s){return new i(s.map(function(c){return n.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={};n.isArray(s)?(s.forEach(function(f){u[f]=!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]&&n.isEqual(this.attributes||{},s.attributes||{})},a.prototype.wrap=function(c){return this.wrapNodes(c())},a.prototype.wrapNodes=function(c){return[e.elementWithTag(this,c)]},Xr.empty=r([]),Xr.ignore={wrap:function(){return[]}},Xr}var qd={},uv;function eE(){return uv||(uv=1,function(n){var e=rt,t=jr(),r=Rl();n.imgElement=i;function i(o){return function(a,s){return t.when(o(a)).then(function(c){var l={};return a.altText&&(l.alt=a.altText),e.extend(l,c),[r.freshElement("img",l)]})}}n.inline=n.imgElement,n.dataUri=i(function(o){return o.readAsBase64String().then(function(a){return{src:"data:"+o.contentType+";base64,"+a}})})}(qd)),qd}var jd={},zd={},fv;function CR(){if(fv)return zd;fv=1;var n=rt;zd.writer=e;function e(s){return s=s||{},s.prettyPrint?r():i()}var t={div:!0,p:!0,ul:!0,li:!0};function r(){var s=0,c=" ",l=[],u=!0,f=!1,d=i();function h(w,E){t[w]&&v(),l.push(w),d.open(w,E),t[w]&&s++,u=!1}function p(w){t[w]&&(s--,v()),l.pop(),d.close(w)}function m(w){b();var E=T()?w:w.replace(`
|
|
226
|
+
`,`
|
|
227
|
+
`+c);d.text(E)}function g(w,E){v(),d.selfClosing(w,E)}function y(){return l.length===0||t[l[l.length-1]]}function b(){f||(v(),f=!0)}function v(){if(f=!1,!u&&y()&&!T()){d._append(`
|
|
228
|
+
`);for(var w=0;w<s;w++)d._append(c)}}function T(){return n.some(l,function(w){return w==="pre"})}return{asString:d.asString,open:h,close:p,text:m,selfClosing:g}}function i(){var s=[];function c(m,g){var y=f(g);s.push("<"+m+y+">")}function l(m){s.push("</"+m+">")}function u(m,g){var y=f(g);s.push("<"+m+y+" />")}function f(m){return n.map(m,function(g,y){return" "+y+'="'+a(g)+'"'}).join("")}function d(m){s.push(o(m))}function h(m){s.push(m)}function p(){return s.join("")}return{asString:p,open:c,close:l,text:d,selfClosing:u,_append:h}}function o(s){return s.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function a(s){return s.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}return zd}var $d={},dv;function SR(){if(dv)return $d;dv=1;var n=rt;function e(f){return t(f,f)}function t(f,d){return function(){return{start:f,end:d}}}function r(f){var d=f.href||"";return d?{start:"[",end:"]("+d+")",anchorPosition:"before"}:{}}function i(f){var d=f.src||"",h=f.alt||"";return d||h?{start:""}:{}}function o(f){return function(d,h){return{start:h?`
|
|
229
|
+
`:"",end:h?"":`
|
|
230
|
+
`,list:{isOrdered:f.isOrdered,indent:h?h.indent+1:0,count:0}}}}function a(f,d,h){d=d||{indent:0,isOrdered:!1,count:0},d.count++,h.hasClosed=!1;var p=d.isOrdered?d.count+".":"-",m=c(" ",d.indent)+p+" ";return{start:m,end:function(){if(!h.hasClosed)return h.hasClosed=!0,`
|
|
231
|
+
`}}}var s={p:t("",`
|
|
232
|
+
|
|
233
|
+
`),br:t("",`
|
|
234
|
+
`),ul:o({isOrdered:!1}),ol:o({isOrdered:!0}),li:a,strong:e("__"),em:e("*"),a:r,img:i};(function(){for(var f=1;f<=6;f++)s["h"+f]=t(c("#",f)+" ",`
|
|
235
|
+
|
|
236
|
+
`)})();function c(f,d){return new Array(d+1).join(f)}function l(){var f=[],d=[],h=null,p={};function m(w,E){E=E||{};var S=s[w]||function(){return{}},U=S(E,h,p);d.push({end:U.end,list:h}),U.list&&(h=U.list);var C=U.anchorPosition==="before";C&&g(E),f.push(U.start||""),C||g(E)}function g(w){w.id&&f.push('<a id="'+w.id+'"></a>')}function y(w){var E=d.pop();h=E.list;var S=n.isFunction(E.end)?E.end():E.end;f.push(S||"")}function b(w,E){m(w,E),y()}function v(w){f.push(u(w))}function T(){return f.join("")}return{asString:T,open:m,close:y,text:v,selfClosing:b}}$d.writer=l;function u(f){return f.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}return $d}var hv;function AR(){if(hv)return jd;hv=1;var n=CR(),e=SR();jd.writer=t;function t(r){return r=r||{},r.outputFormat==="markdown"?e.writer():n.writer(r)}return jd}var pv;function UR(){if(pv)return cs;pv=1;var n=rt,e=jr(),t=_i(),r=Nl(),i=Yn(),o=eE(),a=Rl(),s=AR();cs.DocumentConverter=c;function c(g){return{convertToHtml:function(y){var b=n.indexBy(y.type===t.types.document?y.comments:[],"commentId"),v=new l(g,b);return v.convertToHtml(y)}}}function l(g,y){var b=1,v=[],T=[];g=n.extend({ignoreEmptyParagraphs:!0},g);var w=g.idPrefix===void 0?"":g.idPrefix,E=g.ignoreEmptyParagraphs,S=r.topLevelElement("p"),U=g.styleMap||[];function C(D){var V=[],z=L(D,V,{}),M=[];p(z,function($){$.type==="deferred"&&M.push($)});var N={};return e.mapSeries(M,function($){return $.value().then(function(ie){N[$.id]=ie})}).then(function(){function $(ne){return h(ne,function(Z){return Z.type==="deferred"?N[Z.id]:Z.children?[n.extend({},Z,{children:$(Z.children)})]:[Z]})}var ie=s.writer({prettyPrint:g.prettyPrint,outputFormat:g.outputFormat});return a.write(ie,a.simplify($(z))),new i.Result(ie.asString(),V)})}function R(D,V,z){return h(D,function(M){return L(M,V,z)})}function L(D,V,z){if(!z)throw new Error("options not set");var M=be[D.type];return M?M(D,V,z):[]}function _(D,V,z){return k(D,V).wrap(function(){var M=R(D.children,V,z);return E?M:[a.forceWrite].concat(M)})}function k(D,V){var z=B(D);return z?z.to:(D.styleId&&V.push(d("paragraph",D)),S)}function x(D,V,z){var M=function(){return R(D.children,V,z)},N=[];if(D.highlight!==null){var $=F({type:"highlight",color:D.highlight});$&&N.push($)}D.isSmallCaps&&N.push(j("smallCaps")),D.isAllCaps&&N.push(j("allCaps")),D.isStrikethrough&&N.push(j("strikethrough","s")),D.isUnderline&&N.push(j("underline")),D.verticalAlignment===t.verticalAlignment.subscript&&N.push(r.element("sub",{},{fresh:!1})),D.verticalAlignment===t.verticalAlignment.superscript&&N.push(r.element("sup",{},{fresh:!1})),D.isItalic&&N.push(j("italic","em")),D.isBold&&N.push(j("bold","strong"));var ie=r.empty,ne=B(D);return ne?ie=ne.to:D.styleId&&V.push(d("run",D)),N.push(ie),N.forEach(function(Z){M=Z.wrap.bind(Z,M)}),M()}function j(D,V){var z=F({type:D});return z||(V?r.element(V,{},{fresh:!1}):r.empty)}function F(D,V){var z=B(D);return z?z.to:V}function B(D){for(var V=0;V<U.length;V++)if(U[V].from.matches(D))return U[V]}function K(D){return function(V,z){return e.attempt(function(){return D(V,z)}).caught(function(M){return z.push(i.error(M)),[]})}}function P(D){return W(D.noteType,D.noteId)}function te(D){return I(D.noteType,D.noteId)}function W(D,V){return oe(D+"-"+V)}function I(D,V){return oe(D+"-ref-"+V)}function oe(D){return w+D}var X=r.elements([r.element("table",{},{fresh:!0})]);function J(D,V,z){return F(D,X).wrap(function(){return le(D,V,z)})}function le(D,V,z){var M=n.findIndex(D.children,function(ne){return!ne.type===t.types.tableRow||!ne.isHeader});M===-1&&(M=D.children.length);var N;if(M===0)N=R(D.children,V,n.extend({},z,{isTableHeader:!1}));else{var $=R(D.children.slice(0,M),V,n.extend({},z,{isTableHeader:!0})),ie=R(D.children.slice(M),V,n.extend({},z,{isTableHeader:!1}));N=[a.freshElement("thead",{},$),a.freshElement("tbody",{},ie)]}return[a.forceWrite].concat(N)}function he(D,V,z){var M=R(D.children,V,z);return[a.freshElement("tr",{},[a.forceWrite].concat(M))]}function fe(D,V,z){var M=z.isTableHeader?"th":"td",N=R(D.children,V,z),$={};return D.colSpan!==1&&($.colspan=D.colSpan.toString()),D.rowSpan!==1&&($.rowspan=D.rowSpan.toString()),[a.freshElement(M,$,[a.forceWrite].concat(N))]}function me(D,V,z){return F(D,r.ignore).wrap(function(){var M=y[D.commentId],N=T.length+1,$="["+m(M)+N+"]";return T.push({label:$,comment:M}),[a.freshElement("a",{href:"#"+W("comment",D.commentId),id:I("comment",D.commentId)},[a.text($)])]})}function de(D,V,z){var M=D.label,N=D.comment,$=R(N.body,V,z).concat([a.nonFreshElement("p",{},[a.text(" "),a.freshElement("a",{href:"#"+I("comment",N.commentId)},[a.text("↑")])])]);return[a.freshElement("dt",{id:W("comment",N.commentId)},[a.text("Comment "+M)]),a.freshElement("dd",{},$)]}function ge(D,V,z){return ye(D).wrap(function(){return[]})}function ye(D){var V=B(D);return V?V.to:D.breakType==="line"?r.topLevelElement("br"):r.empty}var be={document:function(D,V,z){var M=R(D.children,V,z),N=v.map(function(ie){return D.notes.resolve(ie)}),$=R(N,V,z);return M.concat([a.freshElement("ol",{},$),a.freshElement("dl",{},h(T,function(ie){return de(ie,V,z)}))])},paragraph:_,run:x,text:function(D,V,z){return[a.text(D.value)]},tab:function(D,V,z){return[a.text(" ")]},hyperlink:function(D,V,z){var M=D.anchor?"#"+oe(D.anchor):D.href,N={href:M};D.targetFrame!=null&&(N.target=D.targetFrame);var $=R(D.children,V,z);return[a.nonFreshElement("a",N,$)]},checkbox:function(D){var V={type:"checkbox"};return D.checked&&(V.checked="checked"),[a.freshElement("input",V)]},bookmarkStart:function(D,V,z){var M=a.freshElement("a",{id:oe(D.name)},[a.forceWrite]);return[M]},noteReference:function(D,V,z){v.push(D);var M=a.freshElement("a",{href:"#"+P(D),id:te(D)},[a.text("["+b+++"]")]);return[a.freshElement("sup",{},[M])]},note:function(D,V,z){var M=R(D.body,V,z),N=a.elementWithTag(r.element("p",{},{fresh:!1}),[a.text(" "),a.freshElement("a",{href:"#"+te(D)},[a.text("↑")])]),$=M.concat([N]);return a.freshElement("li",{id:P(D)},$)},commentReference:me,comment:de,image:f(K(g.convertImage||o.dataUri)),table:J,tableRow:he,tableCell:fe,break:ge};return{convertToHtml:C}}var u=1;function f(g){return function(y,b,v){return[{type:"deferred",id:u++,value:function(){return g(y,b,v)}}]}}function d(g,y){return i.warning("Unrecognised "+g+" style: '"+y.styleName+"' (Style ID: "+y.styleId+")")}function h(g,y){return n.flatten(g.map(y),!0)}function p(g,y){g.forEach(function(b){y(b),b.children&&p(b.children,y)})}var m=cs.commentAuthorLabel=function(y){return y.authorInitials||""};return cs}var Vd={},gv;function kR(){if(gv)return Vd;gv=1;var n=_i();function e(t){if(t.type==="text")return t.value;if(t.type===n.types.tab)return" ";var r=t.type==="paragraph"?`
|
|
237
|
+
|
|
238
|
+
`:"";return(t.children||[]).map(e).join("")+r}return Vd.convertElementToRawText=e,Vd}var Fo={},dn={},Hd={},Xd={exports:{}},mv;function FR(){if(mv)return Xd.exports;mv=1;var n=Xd.exports=function(e,t){this._tokens=e,this._startIndex=t||0};return n.prototype.head=function(){return this._tokens[this._startIndex]},n.prototype.tail=function(e){return new n(this._tokens,this._startIndex+1)},n.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},n.prototype.end=function(){return this._tokens[this._tokens.length-1]},n.prototype.to=function(e){var t=this.head().source,r=e.head()||e.end();return t.to(r.source)},Xd.exports}var yv;function OR(){if(yv)return Hd;yv=1;var n=FR();return Hd.Parser=function(e){var t=function(r,i){return r(new n(i))};return{parseTokens:t}},Hd}var Gd={},Kd={},bv;function RR(){return bv||(bv=1,function(n){n.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return n.none},flatMap:function(){return n.none},filter:function(){return n.none},toArray:function(){return[]},orElse:e,valueOrElse:e});function e(r){return typeof r=="function"?r():r}n.some=function(r){return new t(r)};var t=function(r){this._value=r};t.prototype.value=function(){return this._value},t.prototype.isNone=function(){return!1},t.prototype.isSome=function(){return!0},t.prototype.map=function(r){return new t(r(this._value))},t.prototype.flatMap=function(r){return r(this._value)},t.prototype.filter=function(r){return r(this._value)?this:n.none},t.prototype.toArray=function(){return[this._value]},t.prototype.orElse=function(r){return this},t.prototype.valueOrElse=function(r){return this._value},n.isOption=function(r){return r===n.none||r instanceof t},n.fromNullable=function(r){return r==null?n.none:new t(r)}}(Kd)),Kd}var Jd,vv;function Dm(){if(vv)return Jd;vv=1,Jd={failure:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new n({status:"failure",remaining:t,errors:e})},error:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new n({status:"error",remaining:t,errors:e})},success:function(e,t,r){return new n({status:"success",value:e,source:r,remaining:t,errors:[]})},cut:function(e){return new n({status:"cut",remaining:e,errors:[]})}};var n=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 n.prototype.map=function(e){return this._hasValue?new n({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},n.prototype.changeRemaining=function(e){return new n({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})},n.prototype.isSuccess=function(){return this._status==="success"||this._status==="cut"},n.prototype.isFailure=function(){return this._status==="failure"},n.prototype.isError=function(){return this._status==="error"},n.prototype.isCut=function(){return this._status==="cut"},n.prototype.value=function(){return this._value},n.prototype.remaining=function(){return this._remaining},n.prototype.source=function(){return this._source},n.prototype.errors=function(){return this._errors},Jd}var Zd={},xv;function tE(){if(xv)return Zd;xv=1,Zd.error=function(e){return new n(e)};var n=function(e){this.expected=e.expected,this.actual=e.actual,this._location=e.location};return n.prototype.describe=function(){var e=this._location?this._location.describe()+`:
|
|
239
|
+
`:"";return e+"Expected "+this.expected+`
|
|
240
|
+
but got `+this.actual},n.prototype.lineNumber=function(){return this._location.lineNumber()},n.prototype.characterNumber=function(){return this._location.characterNumber()},Zd}var Yd={},Dv;function NR(){if(Dv)return Yd;Dv=1,Yd.fromArray=function(e){var t=0,r=function(){return t<e.length};return new n({hasNext:r,next:function(){if(r())return e[t++];throw new Error("No more elements")}})};var n=function(e){this._iterator=e};return n.prototype.map=function(e){var t=this._iterator;return new n({hasNext:function(){return t.hasNext()},next:function(){return e(t.next())}})},n.prototype.filter=function(e){var t=this._iterator,r=!1,i=!1,o,a=function(){if(!r)for(r=!0,i=!1;t.hasNext()&&!i;)o=t.next(),i=e(o)};return new n({hasNext:function(){return a(),i},next:function(){a();var s=o;return r=!1,s}})},n.prototype.first=function(){var e=this._iterator;return this._iterator.hasNext()?e.next():null},n.prototype.toArray=function(){for(var e=[];this._iterator.hasNext();)e.push(this._iterator.next());return e},Yd}var wv;function nE(){return wv||(wv=1,function(n){var e=rt,t=RR(),r=Dm(),i=tE(),o=NR();n.token=function(d,h){var p=h!==void 0;return function(m){var g=m.head();if(g&&g.name===d&&(!p||g.value===h))return r.success(g.value,m.tail(),g.source);var y=u({name:d,value:h});return f(m,y)}},n.tokenOfType=function(d){return n.token(d)},n.firstOf=function(d,h){return e.isArray(h)||(h=Array.prototype.slice.call(arguments,1)),function(p){return o.fromArray(h).map(function(m){return m(p)}).filter(function(m){return m.isSuccess()||m.isError()}).first()||f(p,d)}},n.then=function(d,h){return function(p){var m=d(p);return m.map||console.log(m),m.map(h)}},n.sequence=function(){var d=Array.prototype.slice.call(arguments,0),h=function(m){var g=e.foldl(d,function(b,v){var T=b.result,w=b.hasCut;if(!T.isSuccess())return{result:T,hasCut:w};var E=v(T.remaining());if(E.isCut())return{result:T,hasCut:!0};if(E.isSuccess()){var S;v.isCaptured?S=T.value().withValue(v,E.value()):S=T.value();var U=E.remaining(),C=m.to(U);return{result:r.success(S,U,C),hasCut:w}}else return w?{result:r.error(E.errors(),E.remaining()),hasCut:w}:{result:E,hasCut:w}},{result:r.success(new a,m),hasCut:!1}).result,y=m.to(g.remaining());return g.map(function(b){return b.withValue(n.sequence.source,y)})};h.head=function(){var m=e.find(d,p);return n.then(h,n.sequence.extract(m))},h.map=function(m){return n.then(h,function(g){return m.apply(this,g.toArray())})};function p(m){return m.isCaptured}return h};var a=function(d,h){this._values=d||{},this._valuesArray=h||[]};a.prototype.withValue=function(d,h){if(d.captureName&&d.captureName in this._values)throw new Error('Cannot add second value for capture "'+d.captureName+'"');var p=e.clone(this._values);p[d.captureName]=h;var m=this._valuesArray.concat([h]);return new a(p,m)},a.prototype.get=function(d){if(d.captureName in this._values)return this._values[d.captureName];throw new Error('No value for capture "'+d.captureName+'"')},a.prototype.toArray=function(){return this._valuesArray},n.sequence.capture=function(d,h){var p=function(){return d.apply(this,arguments)};return p.captureName=h,p.isCaptured=!0,p},n.sequence.extract=function(d){return function(h){return h.get(d)}},n.sequence.applyValues=function(d){var h=Array.prototype.slice.call(arguments,1);return function(p){var m=h.map(function(g){return p.get(g)});return d.apply(this,m)}},n.sequence.source={captureName:"☃source☃"},n.sequence.cut=function(){return function(d){return r.cut(d)}},n.optional=function(d){return function(h){var p=d(h);return p.isSuccess()?p.map(t.some):p.isFailure()?r.success(t.none,h):p}},n.zeroOrMoreWithSeparator=function(d,h){return l(d,h,!1)},n.oneOrMoreWithSeparator=function(d,h){return l(d,h,!0)};var s=n.zeroOrMore=function(d){return function(h){for(var p=[],m;(m=d(h))&&m.isSuccess();)h=m.remaining(),p.push(m.value());return m.isError()?m:r.success(p,h)}};n.oneOrMore=function(d){return n.oneOrMoreWithSeparator(d,c)};function c(d){return r.success(null,d)}var l=function(d,h,p){return function(m){var g=d(m);if(g.isSuccess()){var y=n.sequence.capture(d,"main"),b=s(n.then(n.sequence(h,y),n.sequence.extract(y))),v=b(g.remaining());return r.success([g.value()].concat(v.value()),v.remaining())}else return p||g.isError()?g:r.success([],m)}};n.leftAssociative=function(d,h,p){var m;p?m=[{func:p,rule:h}]:m=h,m=m.map(function(y){return n.then(y.rule,function(b){return function(v,T){return y.func(v,b,T)}})});var g=n.firstOf.apply(null,["rules"].concat(m));return function(y){var b=y,v=d(y);if(!v.isSuccess())return v;for(var T=g(v.remaining());T.isSuccess();){var w=T.remaining(),E=b.to(T.remaining()),S=T.value();v=r.success(S(v.value(),E),w,E),T=g(v.remaining())}return T.isError()?T:v}},n.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},n.nonConsuming=function(d){return function(h){return d(h).changeRemaining(h)}};var u=function(d){return d.value?d.name+' "'+d.value+'"':d.name};function f(d,h){var p,m=d.head();return m?p=i.error({expected:h,actual:u(m),location:m.source}):p=i.error({expected:h,actual:"end of tokens"}),r.failure([p],d)}}(Gd)),Gd}var Qd={exports:{}},_v;function rE(){if(_v)return Qd.exports;_v=1,Qd.exports=function(e,t){var r={asString:function(){return e},range:function(i,o){return new n(e,t,i,o)}};return r};var n=function(e,t,r,i){this._string=e,this._description=t,this._startIndex=r,this._endIndex=i};return n.prototype.to=function(e){return new n(this._string,this._description,this._startIndex,e._endIndex)},n.prototype.describe=function(){var e=this._position(),t=this._description?this._description+`
|
|
241
|
+
`:"";return t+"Line number: "+e.lineNumber+`
|
|
242
|
+
Character number: `+e.characterNumber},n.prototype.lineNumber=function(){return this._position().lineNumber},n.prototype.characterNumber=function(){return this._position().characterNumber},n.prototype._position=function(){for(var e=this,t=0,r=function(){return e._string.indexOf(`
|
|
243
|
+
`,t)},i=1;r()!==-1&&r()<this._startIndex;)t=r()+1,i+=1;var o=this._startIndex-t+1;return{lineNumber:i,characterNumber:o}},Qd.exports}var eh,Tv;function iE(){return Tv||(Tv=1,eh=function(n,e,t){this.name=n,this.value=e,t&&(this.source=t)}),eh}var th={},Ev;function IR(){return Ev||(Ev=1,function(n){var e=nE(),t=Dm();n.parser=function(o,a,s){var c={rule:d,leftAssociative:h,rightAssociative:p},l=new r(s.map(f)),u=e.firstOf(o,a);function f(y){return{name:y.name,rule:i(y.ruleBuilder.bind(null,c))}}function d(){return m(l)}function h(y){return m(l.untilExclusive(y))}function p(y){return m(l.untilInclusive(y))}function m(y){return g.bind(null,y)}function g(y,b){var v=u(b);return v.isSuccess()?y.apply(v):v}return c};function r(o){function a(f){return new r(o.slice(0,c().indexOf(f)))}function s(f){return new r(o.slice(0,c().indexOf(f)+1))}function c(){return o.map(function(f){return f.name})}function l(f){for(var d,h;;)if(d=u(f.remaining()),d.isSuccess())h=f.source().to(d.source()),f=t.success(d.value()(f.value(),h),d.remaining(),h);else return d.isFailure()?f:d}function u(f){return e.firstOf("infix",o.map(function(d){return d.rule}))(f)}return{apply:l,untilExclusive:a,untilInclusive:s}}n.infix=function(o,a){function s(c){return n.infix(o,function(l){var u=a(l);return function(f){var d=u(f);return d.map(function(h){return function(p,m){return c(p,h,m)}})}})}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={},Cv;function BR(){if(Cv)return nh;Cv=1;var n=iE(),e=rE();nh.RegexTokeniser=t;function t(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,f=[];u<s.length;){var d=o(s,u,l);u=d.endIndex,f.push(d.token)}return f.push(a(s,l)),f}function o(s,c,l){for(var u=0;u<r.length;u++){var f=r[u].regex;f.lastIndex=c;var d=f.exec(s);if(d){var p=c+d[0].length;if(d.index===c&&p>c){var h=d[1],m=new n(r[u].name,h,l.range(c,p));return{token:m,endIndex:p}}}}var p=c+1,m=new n("unrecognisedCharacter",s.substring(c,p),l.range(c,p));return{token:m,endIndex:p}}function a(s,c){return new n("end",null,c.range(s.length,s.length))}return{tokenise:i}}return nh}var Sv;function oE(){return Sv||(Sv=1,dn.Parser=OR().Parser,dn.rules=nE(),dn.errors=tE(),dn.results=Dm(),dn.StringSource=rE(),dn.Token=iE(),dn.bottomUp=IR(),dn.RegexTokeniser=BR().RegexTokeniser,dn.rule=function(n){var e;return function(t){return e||(e=n()),e(t)}}),dn}var st={},Av;function MR(){if(Av)return st;Av=1,st.paragraph=n,st.run=e,st.table=t,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 n(d){return new i("paragraph",d)}function e(d){return new i("run",d)}function t(d){return new i("table",d)}function r(d){return new o(d)}function i(d,h){h=h||{},this._elementType=d,this._styleId=h.styleId,this._styleName=h.styleName,h.list&&(this._listIndex=h.list.levelIndex,this._listIsOrdered=h.list.isOrdered)}i.prototype.matches=function(d){return d.type===this._elementType&&(this._styleId===void 0||d.styleId===this._styleId)&&(this._styleName===void 0||d.styleName&&this._styleName.operator(this._styleName.operand,d.styleName))&&(this._listIndex===void 0||s(d,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===d.breakType)};function o(d){d=d||{},this._color=d.color}o.prototype.matches=function(d){return d.type==="highlight"&&(this._color===void 0||d.color===this._color)};function a(d){d=d||{},this._breakType=d.breakType}a.prototype.matches=function(d){return d.type==="break"&&(this._breakType===void 0||d.breakType===this._breakType)};function s(d,h,p){return d.numbering&&d.numbering.level==h&&d.numbering.isOrdered==p}function c(d){return{operator:u,operand:d}}function l(d){return{operator:f,operand:d}}function u(d,h){return d.toUpperCase()===h.toUpperCase()}function f(d,h){return h.toUpperCase().indexOf(d.toUpperCase())===0}return st}var rh={},Uv;function WR(){if(Uv)return rh;Uv=1;var n=oE(),e=n.RegexTokeniser;rh.tokenise=r;var t="'((?:\\\\.|[^'])*)";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(t+"'")},{name:"unterminated-string",regex:new RegExp(t)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return a.tokenise(i)}return rh}var kv;function LR(){if(kv)return Fo;kv=1;var n=rt,e=oE(),t=MR(),r=Nl(),i=WR().tokenise,o=Yn();Fo.readHtmlPath=u,Fo.readDocumentMatcher=c,Fo.readStyle=a;function a(U){return T(S,U)}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(f())).head())),e.rules.tokenOfType("end")).map(function(U,C){return{from:U,to:C.valueOrElse(r.empty)}})}function c(U){return T(l(),U)}function l(){var U=e.rules.sequence,C=function(de,ge){return e.rules.then(e.rules.token("identifier",de),function(){return ge})},R=C("p",t.paragraph),L=C("r",t.run),_=e.rules.firstOf("p or r or table",R,L),k=e.rules.sequence(e.rules.tokenOfType("dot"),e.rules.sequence.cut(),e.rules.sequence.capture(d)).map(function(de){return{styleId:de}}),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(p)).head(),function(de){return{styleName:t.equalTo(de)}}),e.rules.then(e.rules.sequence(e.rules.tokenOfType("startsWith"),e.rules.sequence.cut(),e.rules.sequence.capture(p)).head(),function(de){return{styleName:t.startsWith(de)}})),j=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(),F=e.rules.firstOf("list type",C("ordered-list",{isOrdered:!0}),C("unordered-list",{isOrdered:!1})),B=U(e.rules.tokenOfType("colon"),U.capture(F),U.cut(),e.rules.tokenOfType("open-paren"),U.capture(h),e.rules.tokenOfType("close-paren")).map(function(de,ge){return{list:{isOrdered:de.isOrdered,levelIndex:ge-1}}});function K(de){var ge=e.rules.firstOf.apply(e.rules.firstOf,["matcher suffix"].concat(de)),ye=e.rules.zeroOrMore(ge);return e.rules.then(ye,function(be){var D={};return be.forEach(function(V){n.extend(D,V)}),D})}var P=U(U.capture(_),U.capture(K([k,j,B]))).map(function(de,ge){return de(ge)}),te=U(e.rules.token("identifier","table"),U.capture(K([k,j]))).map(function(de){return t.table(de)}),W=C("b",t.bold),I=C("i",t.italic),oe=C("u",t.underline),X=C("strike",t.strikethrough),J=C("all-caps",t.allCaps),le=C("small-caps",t.smallCaps),he=U(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(p),e.rules.tokenOfType("close-square-bracket")).head()))).map(function(de){return t.highlight({color:de.valueOrElse(void 0)})}),fe=C("comment-reference",t.commentReference),me=U(e.rules.token("identifier","br"),U.cut(),e.rules.tokenOfType("open-square-bracket"),e.rules.token("identifier","type"),e.rules.tokenOfType("equals"),U.capture(p),e.rules.tokenOfType("close-square-bracket")).map(function(de){switch(de){case"line":return t.lineBreak;case"page":return t.pageBreak;case"column":return t.columnBreak}});return e.rules.firstOf("element type",P,te,W,I,oe,X,J,le,he,fe,me)}function u(U){return T(f(),U)}function f(){var U=e.rules.sequence.capture,C=e.rules.tokenOfType("whitespace"),R=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)}),L=e.rules.then(e.rules.optional(e.rules.sequence(e.rules.tokenOfType("colon"),e.rules.token("identifier","separator"),e.rules.tokenOfType("open-paren"),U(p),e.rules.tokenOfType("close-paren")).head()),function(x){return x.valueOrElse("")}),_=e.rules.oneOrMoreWithSeparator(d,e.rules.tokenOfType("choice")),k=e.rules.sequence(U(_),U(e.rules.zeroOrMore(v)),U(R),U(L)).map(function(x,j,F,B){var K={},P={};return j.forEach(function(te){te.append&&K[te.name]?K[te.name]+=" "+te.value:K[te.name]=te.value}),F&&(P.fresh=!0),B&&(P.separator=B),r.element(x,K,P)});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(C,e.rules.tokenOfType("gt"),C)),r.elements))}var d=e.rules.then(e.rules.tokenOfType("identifier"),g),h=e.rules.tokenOfType("integer"),p=e.rules.then(e.rules.tokenOfType("string"),g),m={n:`
|
|
244
|
+
`,r:"\r",t:" "};function g(U){return U.replace(/\\(.)/g,function(C,R){return m[R]||R})}var y=e.rules.sequence(e.rules.tokenOfType("open-square-bracket"),e.rules.sequence.cut(),e.rules.sequence.capture(d),e.rules.tokenOfType("equals"),e.rules.sequence.capture(p),e.rules.tokenOfType("close-square-bracket")).map(function(U,C){return{name:U,value:C,append:!1}}),b=e.rules.sequence(e.rules.tokenOfType("dot"),e.rules.sequence.cut(),e.rules.sequence.capture(d)).map(function(U){return{name:"class",value:U,append:!0}}),v=e.rules.firstOf("attribute or class",y,b);function T(U,C){var R=i(C),L=e.Parser(),_=L.parseTokens(U,R);return _.isSuccess()?o.success(_.value()):new o.Result(null,[o.warning(w(C,_))])}function w(U,C){return"Did not understand this style mapping, so ignored it: "+U+`
|
|
245
|
+
`+C.errors().map(E).join(`
|
|
246
|
+
`)}function E(U){return"Error was at character number "+U.characterNumber()+": Expected "+U.expected+" but got "+U.actual}var S=s();return Fo}var Oo={},Fv;function PR(){if(Fv)return Oo;Fv=1,Oo.readOptions=r;var n=rt,e=Oo._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"],t=Oo._standardOptions={transformDocument:o,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function r(a){return a=a||{},n.extend({},t,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?n.isString(a)?a.split(`
|
|
247
|
+
`).map(function(s){return s.trim()}).filter(function(s){return s!==""&&s.charAt(0)!=="#"}):a:[]}function o(a){return a}return Oo}var ih={},Ov;function qR(){if(Ov)return ih;Ov=1;var n=jr(),e=GT();ih.openZip=t;function t(r){return r.arrayBuffer?n.resolve(e.openArrayBuffer(r.arrayBuffer)):n.reject(new Error("Could not find file in options"))}return ih}var Gr={},Rv;function jR(){if(Rv)return Gr;Rv=1;var n=rt;Gr.paragraph=e,Gr.run=t,Gr._elements=i,Gr.getDescendantsOfType=o,Gr.getDescendants=a;function e(c){return r("paragraph",c)}function t(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 f=n.map(u.children,l);u=n.extend(u,{children:f})}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 Gr}var oh={},Nv;function zR(){if(Nv)return oh;Nv=1;var n=Nl(),e=Rl();oh.element=t;function t(r){return function(i){return e.elementWithTag(n.element(r),[i])}}return oh}var Iv;function $R(){if(Iv)return Yt;Iv=1;var n=rt,e=_R(),t=TR(),r=UR().DocumentConverter,i=kR().convertElementToRawText,o=LR().readStyle,a=PR().readOptions,s=qR(),c=Yn().Result;Yt.convertToHtml=l,Yt.convertToMarkdown=u,Yt.convert=f,Yt.extractRawText=m,Yt.images=eE(),Yt.transforms=jR(),Yt.underline=zR(),Yt.embedStyleMap=g,Yt.readEmbeddedStyleMap=d;function l(y,b){return f(y,b)}function u(y,b){var v=Object.create(b||{});return v.outputFormat="markdown",f(y,v)}function f(y,b){return b=a(b),s.openZip(y).tap(function(v){return t.readStyleMap(v).then(function(T){b.embeddedStyleMap=T})}).then(function(v){return e.read(v,y).then(function(T){return T.map(b.transformDocument)}).then(function(T){return h(T,b)})})}function d(y){return s.openZip(y).then(t.readStyleMap)}function h(y,b){var v=p(b.readStyleMap()),T=n.extend({},b,{styleMap:v.value}),w=new r(T);return y.flatMapThen(function(E){return v.flatMapThen(function(S){return w.convertToHtml(E)})})}function p(y){return c.combine((y||[]).map(o)).map(function(b){return b.filter(function(v){return!!v})})}function m(y){return s.openZip(y).then(e.read).then(function(b){return b.map(i)})}function g(y,b){return s.openZip(y).tap(function(v){return t.writeStyleMap(v,b)}).then(function(v){return v.toArrayBuffer()}).then(function(v){return{toArrayBuffer:function(){return v},toBuffer:function(){return Buffer.from(v)}}})}return Yt.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")`)},Yt}var VR=$R();const HR=wg(VR);var Hs={exports:{}},XR=Hs.exports,Bv;function GR(){return Bv||(Bv=1,function(n,e){(function(r,i){n.exports=i(Pe,cC)})(XR,function(t,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(f){return s[f]}).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=t},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 R});var s=a(1),c=a.n(s),l=a(2),u=a.n(l),f=a(0),d=a.n(f),h=a(3),p=a.n(h);function m(L){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(k){return typeof k}:m=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},m(L)}function g(L,_){if(!(L instanceof _))throw new TypeError("Cannot call a class as a function")}function y(L,_){for(var k=0;k<_.length;k++){var x=_[k];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(L,x.key,x)}}function b(L,_,k){return _&&y(L.prototype,_),L}function v(L,_){return _&&(m(_)==="object"||typeof _=="function")?_:w(L)}function T(L){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)},T(L)}function w(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function E(L,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(_&&_.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),_&&S(L,_)}function S(L,_){return S=Object.setPrototypeOf||function(x,j){return x.__proto__=j,x},S(L,_)}function U(L,_,k){return _ in L?Object.defineProperty(L,_,{value:k,enumerable:!0,configurable:!0,writable:!0}):L[_]=k,L}function C(L){return L.width===void 0&&(L.width=L.right-L.left),L.height===void 0&&(L.height=L.bottom-L.top),L}var R=function(L){E(_,L);function _(k){var x;return g(this,_),x=v(this,T(_).call(this,k)),U(w(x),"getContainer",function(){return x.props.containment||window}),U(w(x),"addEventListener",function(j,F,B,K){x.debounceCheck||(x.debounceCheck={});var P,te,W=function(){P=null,x.check()};K>-1?te=function(){P||(P=setTimeout(W,K||0))}:te=function(){clearTimeout(P),P=setTimeout(W,B||0)};var I={target:j,fn:te,getLastTimeout:function(){return P}};j.addEventListener(F,I.fn),x.debounceCheck[F]=I}),U(w(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())}),U(w(x),"stopWatching",function(){if(x.debounceCheck){for(var j in x.debounceCheck)if(x.debounceCheck.hasOwnProperty(j)){var F=x.debounceCheck[j];clearTimeout(F.getLastTimeout()),F.target.removeEventListener(j,F.fn),x.debounceCheck[j]=null}}x.debounceCheck=null,x.interval&&(x.interval=clearInterval(x.interval))}),U(w(x),"check",function(){var j=x.node,F,B;if(!j)return x.state;if(F=C(x.roundRectDown(j.getBoundingClientRect())),x.props.containment){var K=x.props.containment.getBoundingClientRect();B={top:K.top,left:K.left,bottom:K.bottom,right:K.right}}else B={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var P=x.props.offset||{},te=m(P)==="object";te&&(B.top+=P.top||0,B.left+=P.left||0,B.bottom-=P.bottom||0,B.right-=P.right||0);var W={top:F.top>=B.top,left:F.left>=B.left,bottom:F.bottom<=B.bottom,right:F.right<=B.right},I=F.height>0&&F.width>0,oe=I&&W.top&&W.left&&W.bottom&&W.right;if(I&&x.props.partialVisibility){var X=F.top<=B.bottom&&F.bottom>=B.top&&F.left<=B.right&&F.right>=B.left;typeof x.props.partialVisibility=="string"&&(X=W[x.props.partialVisibility]),oe=x.props.minTopValue?X&&F.top<=B.bottom-x.props.minTopValue:X}typeof P.direction=="string"&&typeof P.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 }",P.direction,P.value),oe=p()(P,F,B));var J=x.state;return x.state.isVisible!==oe&&(J={isVisible:oe,visibilityRect:W},x.setState(J),x.props.onChange&&x.props.onChange(oe)),J}),x.state={isVisible:null,visibilityRect:{}},x}return b(_,[{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)}}]),_}(c.a.Component);U(R,"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)}),U(R,"propTypes",{onChange:d.a.func,active:d.a.bool,partialVisibility:d.a.oneOfType([d.a.bool,d.a.oneOf(["top","right","bottom","left"])]),delayedCall:d.a.bool,offset:d.a.oneOfType([d.a.shape({top:d.a.number,left:d.a.number,bottom:d.a.number,right:d.a.number}),d.a.shape({direction:d.a.oneOf(["top","right","bottom","left"]),value:d.a.number})]),scrollCheck:d.a.bool,scrollDelay:d.a.number,scrollThrottle:d.a.number,resizeCheck:d.a.bool,resizeDelay:d.a.number,resizeThrottle:d.a.number,intervalCheck:d.a.bool,intervalDelay:d.a.number,containment:typeof window<"u"?d.a.instanceOf(window.Element):d.a.any,children:d.a.oneOfType([d.a.element,d.a.func]),minTopValue:d.a.number})},function(i,o,a){var s=a(6);function c(){}function l(){}l.resetWarningCache=c,i.exports=function(){function u(h,p,m,g,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 f(){return u}var d={array:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:f,element:u,elementType:u,instanceOf:f,node:u,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:l,resetWarningCache:c};return d.PropTypes=d,d}},function(i,o,a){var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";i.exports=s}])})}(Hs)),Hs.exports}var KR=GR();const JR=wg(KR),ls="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ZR=n=>{n=n.replace(/\r\n/g,`
|
|
248
|
+
`);let e=0,t="";for(;e<n.length;e++){const r=n.charCodeAt(e);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t},YR=n=>{let e,t,r,i,o,a,s,c=0,l="";for(n=ZR(n);c<n.length;)e=n.charCodeAt(c++),t=n.charCodeAt(c++),r=n.charCodeAt(c++),i=e>>2,o=(3&e)<<4|t>>4,a=(15&t)<<2|r>>6,s=63&r,isNaN(t)?a=s=64:isNaN(r)&&(s=64),l=l+ls.charAt(i)+ls.charAt(o)+ls.charAt(a)+ls.charAt(s);return l},QR=n=>typeof n=="string"?"string":typeof SVGElement<"u"&&n instanceof SVGElement?"element":void 0,aE=n=>"data:image/svg+xml;base64,"+YR(n),eN=n=>aE(new XMLSerializer().serializeToString(n)),tN=n=>{switch(QR(n)){case"string":return aE(n);case"element":return eN(n);default:return n}},nN="_verified_lvyh0_1",wm={verified:nN},rN=()=>ce.jsx("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:wm.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"})})}),iN=()=>ce.jsx("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:wm.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"})]})]})}),oN=()=>ce.jsx("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:wm.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"})})}),aN="_root_98iqw_1",sN="_article_98iqw_21",Mv={root:aN,article:sN},_m=({className:n,children:e})=>ce.jsx("div",{className:Tn("react-tweet-theme",Mv.root,n),children:ce.jsx("article",{className:Mv.article,children:e})}),sE=n=>ce.jsx("img",{...n}),cN="_header_nqq4j_1",lN="_avatar_nqq4j_11",uN="_avatarOverflow_nqq4j_16",fN="_avatarSquare_nqq4j_23",dN="_avatarShadow_nqq4j_26",hN="_author_nqq4j_37",pN="_authorLink_nqq4j_44",gN="_authorVerified_nqq4j_53",mN="_authorLinkText_nqq4j_56",yN="_authorMeta_nqq4j_63",bN="_authorFollow_nqq4j_66",vN="_username_nqq4j_69",xN="_follow_nqq4j_74",DN="_separator_nqq4j_82",wN="_brand_nqq4j_86",_N="_twitterIcon_nqq4j_90",ht={header:cN,avatar:lN,avatarOverflow:uN,avatarSquare:fN,avatarShadow:dN,author:hN,authorLink:pN,authorVerified:gN,authorLinkText:mN,authorMeta:yN,authorFollow:bN,username:vN,follow:xN,separator:DN,brand:wN,twitterIcon:_N},TN="_verifiedOld_lcna5_1",EN="_verifiedBlue_lcna5_4",CN="_verifiedGovernment_lcna5_7",ah={verifiedOld:TN,verifiedBlue:EN,verifiedGovernment:CN},cE=({user:n,className:e})=>{const t=n.verified||n.is_blue_verified||n.verified_type;let r=ce.jsx(rN,{}),i=ah.verifiedBlue;if(t)switch(n.is_blue_verified||(i=ah.verifiedOld),n.verified_type){case"Government":r=ce.jsx(oN,{}),i=ah.verifiedGovernment;break;case"Business":r=ce.jsx(iN,{}),i=null;break}return t?ce.jsx("div",{className:Tn(e,i),children:r}):null},SN=({tweet:n,components:e})=>{var t;const r=(t=e==null?void 0:e.AvatarImg)!=null?t:sE,{user:i}=n;return ce.jsxs("div",{className:ht.header,children:[ce.jsxs("a",{href:n.url,className:ht.avatar,target:"_blank",rel:"noopener noreferrer",children:[ce.jsx("div",{className:Tn(ht.avatarOverflow,i.profile_image_shape==="Square"&&ht.avatarSquare),children:ce.jsx(r,{src:i.profile_image_url_https,alt:i.name,width:48,height:48})}),ce.jsx("div",{className:ht.avatarOverflow,children:ce.jsx("div",{className:ht.avatarShadow})})]}),ce.jsxs("div",{className:ht.author,children:[ce.jsxs("a",{href:n.url,className:ht.authorLink,target:"_blank",rel:"noopener noreferrer",children:[ce.jsx("div",{className:ht.authorLinkText,children:ce.jsx("span",{title:i.name,children:i.name})}),ce.jsx(cE,{user:i,className:ht.authorVerified})]}),ce.jsxs("div",{className:ht.authorMeta,children:[ce.jsx("a",{href:n.url,className:ht.username,target:"_blank",rel:"noopener noreferrer",children:ce.jsxs("span",{title:`@${i.screen_name}`,children:["@",i.screen_name]})}),ce.jsxs("div",{className:ht.authorFollow,children:[ce.jsx("span",{className:ht.separator,children:"·"}),ce.jsx("a",{href:i.follow_url,className:ht.follow,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),ce.jsx("a",{href:n.url,className:ht.brand,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:ce.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:ht.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"})})})})]})},AN="_root_1ec15_1",UN={root:AN},kN=({tweet:n})=>ce.jsxs("a",{href:n.in_reply_to_url,className:UN.root,target:"_blank",rel:"noopener noreferrer",children:["Replying to @",n.in_reply_to_screen_name]}),FN="_root_eihfa_1",ON={root:FN},RN=({href:n,children:e})=>ce.jsx("a",{href:n,className:ON.root,target:"_blank",rel:"noopener noreferrer nofollow",children:e}),NN="_root_1xq52_1",IN={root:NN},BN=({tweet:n})=>ce.jsx("p",{className:IN.root,lang:n.lang,dir:"auto",children:n.entities.map((e,t)=>{switch(e.type){case"hashtag":case"mention":case"url":case"symbol":return ce.jsx(RN,{href:e.href,children:e.text},t);case"media":return;default:return ce.jsx("span",{dangerouslySetInnerHTML:{__html:e.text}},t)}})}),Wv=n=>`https://x.com/${n.user.screen_name}/status/${n.id_str}`,lE=n=>`https://x.com/${typeof n=="string"?n:n.user.screen_name}`,MN=n=>`https://x.com/intent/like?tweet_id=${n.id_str}`,WN=n=>`https://x.com/intent/tweet?in_reply_to=${n.id_str}`,LN=n=>`https://x.com/intent/follow?screen_name=${n.user.screen_name}`,PN=n=>`https://x.com/hashtag/${n.text}`,qN=n=>`https://x.com/search?q=%24${n.text}`,jN=n=>`https://x.com/${n.in_reply_to_screen_name}/status/${n.in_reply_to_status_id_str}`,uE=(n,e)=>{const t=new URL(n.media_url_https),r=t.pathname.split(".").pop();return r?(t.pathname=t.pathname.replace(`.${r}`,""),t.searchParams.set("format",r),t.searchParams.set("name",e),t.toString()):n.media_url_https},zN=n=>{const{variants:e}=n.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)})},$N=n=>{const e=zN(n);return e.length>1?e[1]:e[0]},gp=n=>n>999999?`${(n/1e6).toFixed(1)}M`:n>999?`${(n/1e3).toFixed(1)}K`:n.toString();function Lv(n){const e=Array.from(n.text),t=[{indices:n.display_text_range,type:"text"}];return Ro(t,"hashtag",n.entities.hashtags),Ro(t,"mention",n.entities.user_mentions),Ro(t,"url",n.entities.urls),Ro(t,"symbol",n.entities.symbols),n.entities.media&&Ro(t,"media",n.entities.media),VN(n,t),t.map(r=>{const i=e.slice(r.indices[0],r.indices[1]).join("");switch(r.type){case"hashtag":return Object.assign(r,{href:PN(r),text:i});case"mention":return Object.assign(r,{href:lE(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:qN(r),text:i});default:return Object.assign(r,{text:i})}})}function Ro(n,e,t){for(const r of t)for(const[i,o]of n.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"}),n.splice(i,1,...a);break}}function VN(n,e){n.entities.media&&n.entities.media[0].indices[0]<n.display_text_range[1]&&(n.display_text_range[1]=n.entities.media[0].indices[0]);const t=e.at(-1);t&&t.indices[1]>n.display_text_range[1]&&(t.indices[1]=n.display_text_range[1])}const HN=n=>({...n,url:Wv(n),user:{...n.user,url:lE(n),follow_url:LN(n)},like_url:MN(n),reply_url:WN(n),in_reply_to_url:n.in_reply_to_screen_name?jN(n):void 0,entities:Lv(n),quoted_tweet:n.quoted_tweet?{...n.quoted_tweet,url:Wv(n.quoted_tweet),entities:Lv(n.quoted_tweet)}:void 0}),XN="_root_g9tkv_1",GN="_rounded_g9tkv_6",KN="_mediaWrapper_g9tkv_10",JN="_grid2Columns_g9tkv_17",ZN="_grid3_g9tkv_20",YN="_grid2x2_g9tkv_23",QN="_mediaContainer_g9tkv_26",eI="_mediaLink_g9tkv_34",tI="_skeleton_g9tkv_38",nI="_image_g9tkv_43",jt={root:XN,rounded:GN,mediaWrapper:KN,grid2Columns:JN,grid3:ZN,grid2x2:YN,mediaContainer:QN,mediaLink:eI,skeleton:tI,image:nI},rI="_anchor_fp31d_1",iI="_videoButton_fp31d_17",oI="_videoButtonIcon_fp31d_35",aI="_watchOnTwitter_fp31d_44",sI="_viewReplies_fp31d_60",Oi={anchor:rI,videoButton:iI,videoButtonIcon:oI,watchOnTwitter:aI,viewReplies:sI},cI=({tweet:n,media:e})=>{const[t,r]=Pe.useState(!0),[i,o]=Pe.useState(!1),[a,s]=Pe.useState(!1),c=$N(e);let l=0;return ce.jsxs(ce.Fragment,{children:[ce.jsx("video",{className:jt.image,poster:uE(e,"small"),controls:!t,playsInline:!0,preload:"none",tabIndex:t?-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})}),t&&ce.jsx("button",{type:"button",className:Oi.videoButton,"aria-label":"View video on X",onClick:u=>{const f=u.currentTarget.previousSibling;u.preventDefault(),r(!1),f.load(),f.play().then(()=>{o(!0),f.focus()}).catch(d=>{console.error("Error playing video:",d),r(!0),o(!1)})},children:ce.jsx("svg",{viewBox:"0 0 24 24",className:Oi.videoButtonIcon,"aria-hidden":"true",children:ce.jsx("g",{children:ce.jsx("path",{d:"M21 12L4 2v20l17-10z"})})})}),!i&&!a&&ce.jsx("div",{className:Oi.watchOnTwitter,children:ce.jsx("a",{href:n.url,className:Oi.anchor,target:"_blank",rel:"noopener noreferrer",children:t?"Watch on X":"Continue watching on X"})}),a&&ce.jsx("a",{href:n.url,className:Tn(Oi.anchor,Oi.viewReplies),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},lI=n=>ce.jsx("img",{...n}),Pv=(n,e)=>{let t=56.25;return e===1&&(t=100/n.original_info.width*n.original_info.height),e===2&&(t=t*2),{width:n.type==="photo"?void 0:"unset",paddingBottom:`${t}%`}},fE=({tweet:n,components:e,quoted:t})=>{var r,i,o;const a=(o=(r=n.mediaDetails)==null?void 0:r.length)!=null?o:0;var s;const c=(s=e==null?void 0:e.MediaImg)!=null?s:lI;return ce.jsx("div",{className:Tn(jt.root,!t&&jt.rounded),children:ce.jsx("div",{className:Tn(jt.mediaWrapper,a>1&&jt.grid2Columns,a===3&&jt.grid3,a>4&&jt.grid2x2),children:(i=n.mediaDetails)==null?void 0:i.map(l=>ce.jsx(Pe.Fragment,{children:l.type==="photo"?ce.jsxs("a",{href:n.url,className:Tn(jt.mediaContainer,jt.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[ce.jsx("div",{className:jt.skeleton,style:Pv(l,a)}),ce.jsx(c,{src:uE(l,"small"),alt:l.ext_alt_text||"Image",className:jt.image,draggable:!0})]},l.media_url_https):ce.jsxs("div",{className:jt.mediaContainer,children:[ce.jsx("div",{className:jt.skeleton,style:Pv(l,a)}),ce.jsx(cI,{tweet:n,media:l})]},l.media_url_https)},l.media_url_https))})})},uI={hour:"numeric",minute:"2-digit",hour12:!0,weekday:"short",month:"short",day:"numeric",year:"numeric"},fI=new Intl.DateTimeFormat("en-US",uI),dI=n=>{const e={};for(const t of n)e[t.type]=t.value;return e},hI=n=>{const e=dI(fI.formatToParts(n)),t=`${e.hour}:${e.minute} ${e.dayPeriod}`,r=`${e.month} ${e.day}, ${e.year}`;return`${t} · ${r}`},pI="_root_i24yn_1",gI={root:pI},mI=({tweet:n})=>{const e=new Date(n.created_at),t=hI(e);return ce.jsx("a",{className:gI.root,href:n.url,target:"_blank",rel:"noopener noreferrer","aria-label":t,children:ce.jsx("time",{dateTime:e.toISOString(),children:t})})},yI="_info_19qcj_1",bI="_infoLink_19qcj_10",vI="_infoIcon_19qcj_30",sh={info:yI,infoLink:bI,infoIcon:vI},xI=({tweet:n})=>ce.jsxs("div",{className:sh.info,children:[ce.jsx(mI,{tweet:n}),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"})})})})]}),DI="_actions_n2anf_1",wI="_like_n2anf_13",_I="_reply_n2anf_14",TI="_copy_n2anf_15",EI="_likeIconWrapper_n2anf_27",CI="_likeCount_n2anf_30",SI="_replyIconWrapper_n2anf_35",AI="_copyIconWrapper_n2anf_36",UI="_likeIcon_n2anf_27",kI="_replyIcon_n2anf_35",FI="_copyIcon_n2anf_36",OI="_replyText_n2anf_56",RI="_copyText_n2anf_57",Nt={actions:DI,like:wI,reply:_I,copy:TI,likeIconWrapper:EI,likeCount:CI,replyIconWrapper:SI,copyIconWrapper:AI,likeIcon:UI,replyIcon:kI,copyIcon:FI,replyText:OI,copyText:RI},NI=({tweet:n})=>{const[e,t]=Pe.useState(!1),r=()=>{navigator.clipboard.writeText(n.url),t(!0)};return Pe.useEffect(()=>{if(e){const i=setTimeout(()=>{t(!1)},6e3);return()=>clearTimeout(i)}},[e]),ce.jsxs("button",{type:"button",className:Nt.copy,"aria-label":"Copy link",onClick:r,children:[ce.jsx("div",{className:Nt.copyIconWrapper,children:e?ce.jsx("svg",{viewBox:"0 0 24 24",className:Nt.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:Nt.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:Nt.copyText,children:e?"Copied!":"Copy link"})]})},II=({tweet:n})=>{const e=gp(n.favorite_count);return ce.jsxs("div",{className:Nt.actions,children:[ce.jsxs("a",{className:Nt.like,href:n.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":`Like. This Tweet has ${e} likes`,children:[ce.jsx("div",{className:Nt.likeIconWrapper,children:ce.jsx("svg",{viewBox:"0 0 24 24",className:Nt.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:Nt.likeCount,children:e})]}),ce.jsxs("a",{className:Nt.reply,href:n.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[ce.jsx("div",{className:Nt.replyIconWrapper,children:ce.jsx("svg",{viewBox:"0 0 24 24",className:Nt.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:Nt.replyText,children:"Reply"})]}),ce.jsx(NI,{tweet:n})]})},BI="_replies_1cutb_1",MI="_link_1cutb_4",WI="_text_1cutb_23",ch={replies:BI,link:MI,text:WI},LI=({tweet:n})=>ce.jsx("div",{className:ch.replies,children:ce.jsx("a",{className:ch.link,href:n.url,target:"_blank",rel:"noopener noreferrer",children:ce.jsx("span",{className:ch.text,children:n.conversation_count===0?"Read more on X":n.conversation_count===1?`Read ${gp(n.conversation_count)} reply`:`Read ${gp(n.conversation_count)} replies`})})}),PI="_root_q5799_1",qI="_article_q5799_16",qv={root:PI,article:qI},jI=({tweet:n,children:e})=>ce.jsx("div",{className:qv.root,onClick:t=>{t.preventDefault(),window.open(n.url,"_blank")},children:ce.jsx("article",{className:qv.article,children:e})}),zI="_header_r31i5_1",$I="_avatar_r31i5_11",VI="_avatarSquare_r31i5_17",HI="_author_r31i5_21",XI="_authorText_r31i5_26",GI="_username_r31i5_33",Kr={header:zI,avatar:$I,avatarSquare:VI,author:HI,authorText:XI,username:GI},KI=({tweet:n})=>{const{user:e}=n;return ce.jsxs("div",{className:Kr.header,children:[ce.jsx("a",{href:n.url,className:Kr.avatar,target:"_blank",rel:"noopener noreferrer",children:ce.jsx("div",{className:Tn(Kr.avatarOverflow,e.profile_image_shape==="Square"&&Kr.avatarSquare),children:ce.jsx(sE,{src:e.profile_image_url_https,alt:e.name,width:20,height:20})})}),ce.jsxs("div",{className:Kr.author,children:[ce.jsx("div",{className:Kr.authorText,children:ce.jsx("span",{title:e.name,children:e.name})}),ce.jsx(cE,{user:e}),ce.jsx("div",{className:Kr.username,children:ce.jsxs("span",{title:`@${e.screen_name}`,children:["@",e.screen_name]})})]})]})},JI="_root_175ot_1",ZI={root:JI},YI=({tweet:n})=>ce.jsx("p",{className:ZI.root,lang:n.lang,dir:"auto",children:n.entities.map((e,t)=>ce.jsx("span",{dangerouslySetInnerHTML:{__html:e.text}},t))}),QI=({tweet:n})=>{var e;return ce.jsxs(jI,{tweet:n,children:[ce.jsx(KI,{tweet:n}),ce.jsx(YI,{tweet:n}),(e=n.mediaDetails)!=null&&e.length?ce.jsx(fE,{quoted:!0,tweet:n}):null]})},eB=({tweet:n,components:e})=>{var t;const r=Pe.useMemo(()=>HN(n),[n]);return ce.jsxs(_m,{children:[ce.jsx(SN,{tweet:r,components:e}),r.in_reply_to_status_id_str&&ce.jsx(kN,{tweet:r}),ce.jsx(BN,{tweet:r}),(t=r.mediaDetails)!=null&&t.length?ce.jsx(fE,{tweet:r,components:e}):null,r.quoted_tweet&&ce.jsx(QI,{tweet:r.quoted_tweet}),ce.jsx(xI,{tweet:r}),ce.jsx(II,{tweet:r}),ce.jsx(LI,{tweet:r})]})},tB="_root_16yxa_1",nB={root:tB},rB=n=>ce.jsx(_m,{children:ce.jsxs("div",{className:nB.root,children:[ce.jsx("h3",{children:"Tweet not found"}),ce.jsx("p",{children:"The embedded tweet could not be found…"})]})}),iB="_skeleton_oi7hr_1",oB={skeleton:iB},us=({style:n})=>ce.jsx("span",{className:oB.skeleton,style:n}),aB="_root_17qqv_1",sB={root:aB},cB=()=>ce.jsxs(_m,{className:sB.root,children:[ce.jsx(us,{style:{height:"3rem",marginBottom:"0.75rem"}}),ce.jsx(us,{style:{height:"6rem",margin:"0.5rem 0"}}),ce.jsx("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),ce.jsx(us,{style:{height:"2rem"}}),ce.jsx(us,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]});var fs={exports:{}},lh={};/**
|
|
249
|
+
* @license React
|
|
250
|
+
* use-sync-external-store-shim.production.js
|
|
251
|
+
*
|
|
252
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
253
|
+
*
|
|
254
|
+
* This source code is licensed under the MIT license found in the
|
|
255
|
+
* LICENSE file in the root directory of this source tree.
|
|
256
|
+
*/var jv;function lB(){if(jv)return lh;jv=1;var n=Pe;function e(f,d){return f===d&&(f!==0||1/f===1/d)||f!==f&&d!==d}var t=typeof Object.is=="function"?Object.is:e,r=n.useState,i=n.useEffect,o=n.useLayoutEffect,a=n.useDebugValue;function s(f,d){var h=d(),p=r({inst:{value:h,getSnapshot:d}}),m=p[0].inst,g=p[1];return o(function(){m.value=h,m.getSnapshot=d,c(m)&&g({inst:m})},[f,h,d]),i(function(){return c(m)&&g({inst:m}),f(function(){c(m)&&g({inst:m})})},[f]),a(h),h}function c(f){var d=f.getSnapshot;f=f.value;try{var h=d();return!t(f,h)}catch{return!0}}function l(f,d){return d()}var u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:s;return lh.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:u,lh}var uh={};/**
|
|
257
|
+
* @license React
|
|
258
|
+
* use-sync-external-store-shim.development.js
|
|
259
|
+
*
|
|
260
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
261
|
+
*
|
|
262
|
+
* This source code is licensed under the MIT license found in the
|
|
263
|
+
* LICENSE file in the root directory of this source tree.
|
|
264
|
+
*/var zv;function uB(){return zv||(zv=1,process.env.NODE_ENV!=="production"&&function(){function n(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}function e(h,p){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 m=p();if(!f){var g=p();o(m,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}g=a({inst:{value:m,getSnapshot:p}});var y=g[0].inst,b=g[1];return c(function(){y.value=m,y.getSnapshot=p,t(y)&&b({inst:y})},[h,m,p]),s(function(){return t(y)&&b({inst:y}),h(function(){t(y)&&b({inst:y})})},[h]),l(m),m}function t(h){var p=h.getSnapshot;h=h.value;try{var m=p();return!o(h,m)}catch{return!0}}function r(h,p){return p()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=Pe,o=typeof Object.is=="function"?Object.is:n,a=i.useState,s=i.useEffect,c=i.useLayoutEffect,l=i.useDebugValue,u=!1,f=!1,d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:e;uh.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:d,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),uh}var $v;function fB(){return $v||($v=1,process.env.NODE_ENV==="production"?fs.exports=lB():fs.exports=uB()),fs.exports}var dB=fB();const dE=0,hE=1,pE=2,Vv=3;var Hv=Object.prototype.hasOwnProperty;function mp(n,e){var t,r;if(n===e)return!0;if(n&&e&&(t=n.constructor)===e.constructor){if(t===Date)return n.getTime()===e.getTime();if(t===RegExp)return n.toString()===e.toString();if(t===Array){if((r=n.length)===e.length)for(;r--&&mp(n[r],e[r]););return r===-1}if(!t||typeof n=="object"){r=0;for(t in n)if(Hv.call(n,t)&&++r&&!Hv.call(e,t)||!(t in e)||!mp(n[t],e[t]))return!1;return Object.keys(e).length===r}}return n!==n&&e!==e}const Vn=new WeakMap,Er=()=>{},At=Er(),yp=Object,Me=n=>n===At,wn=n=>typeof n=="function",Nr=(n,e)=>({...n,...e}),gE=n=>wn(n.then),fh={},ds={},Tm="undefined",Oa=typeof window!=Tm,bp=typeof document!=Tm,hB=Oa&&"Deno"in window,pB=()=>Oa&&typeof window.requestAnimationFrame!=Tm,mE=(n,e)=>{const t=Vn.get(n);return[()=>!Me(e)&&n.get(e)||fh,r=>{if(!Me(e)){const i=n.get(e);e in ds||(ds[e]=i),t[5](e,Nr(i,r),i||fh)}},t[6],()=>!Me(e)&&e in ds?ds[e]:!Me(e)&&n.get(e)||fh]};let vp=!0;const gB=()=>vp,[xp,Dp]=Oa&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Er,Er],mB=()=>{const n=bp&&document.visibilityState;return Me(n)||n!=="hidden"},yB=n=>(bp&&document.addEventListener("visibilitychange",n),xp("focus",n),()=>{bp&&document.removeEventListener("visibilitychange",n),Dp("focus",n)}),bB=n=>{const e=()=>{vp=!0,n()},t=()=>{vp=!1};return xp("online",e),xp("offline",t),()=>{Dp("online",e),Dp("offline",t)}},vB={isOnline:gB,isVisible:mB},xB={initFocus:yB,initReconnect:bB},Xv=!Pe.useId,ga=!Oa||hB,DB=n=>pB()?window.requestAnimationFrame(n):setTimeout(n,1),dh=ga?Pe.useEffect:Pe.useLayoutEffect,hh=typeof navigator<"u"&&navigator.connection,Gv=!ga&&hh&&(["slow-2g","2g"].includes(hh.effectiveType)||hh.saveData),hs=new WeakMap,ph=(n,e)=>yp.prototype.toString.call(n)===`[object ${e}]`;let wB=0;const wp=n=>{const e=typeof n,t=ph(n,"Date"),r=ph(n,"RegExp"),i=ph(n,"Object");let o,a;if(yp(n)===n&&!t&&!r){if(o=hs.get(n),o)return o;if(o=++wB+"~",hs.set(n,o),Array.isArray(n)){for(o="@",a=0;a<n.length;a++)o+=wp(n[a])+",";hs.set(n,o)}if(i){o="#";const s=yp.keys(n).sort();for(;!Me(a=s.pop());)Me(n[a])||(o+=a+":"+wp(n[a])+",");hs.set(n,o)}}else o=t?n.toJSON():e=="symbol"?n.toString():e=="string"?JSON.stringify(n):""+n;return o},Em=n=>{if(wn(n))try{n=n()}catch{n=""}const e=n;return n=typeof n=="string"?n:(Array.isArray(n)?n.length:n)?wp(n):"",[n,e]};let _B=0;const _p=()=>++_B;async function yE(...n){const[e,t,r,i]=n,o=Nr({populateCache:!0,throwOnError:!0},typeof i=="boolean"?{revalidate:i}:i||{});let a=o.populateCache;const s=o.rollbackOnError;let c=o.optimisticData;const l=d=>typeof s=="function"?s(d):s!==!1,u=o.throwOnError;if(wn(t)){const d=t,h=[],p=e.keys();for(const m of p)!/^\$(inf|sub)\$/.test(m)&&d(e.get(m)._k)&&h.push(m);return Promise.all(h.map(f))}return f(t);async function f(d){const[h]=Em(d);if(!h)return;const[p,m]=mE(e,h),[g,y,b,v]=Vn.get(e),T=()=>{const k=g[h];return(wn(o.revalidate)?o.revalidate(p().data,d):o.revalidate!==!1)&&(delete b[h],delete v[h],k&&k[0])?k[0](pE).then(()=>p().data):p().data};if(n.length<3)return T();let w=r,E;const S=_p();y[h]=[S,0];const U=!Me(c),C=p(),R=C.data,L=C._c,_=Me(L)?R:L;if(U&&(c=wn(c)?c(_,R):c,m({data:c,_c:_})),wn(w))try{w=w(_)}catch(k){E=k}if(w&&gE(w))if(w=await w.catch(k=>{E=k}),S!==y[h][0]){if(E)throw E;return w}else E&&U&&l(E)&&(a=!0,m({data:_,_c:At}));if(a&&!E)if(wn(a)){const k=a(w,_);m({data:k,error:At,_c:At})}else m({data:w,error:At,_c:At});if(y[h][1]=_p(),Promise.resolve(T()).then(()=>{m({_c:At})}),E){if(u)throw E;return}return w}}const Kv=(n,e)=>{for(const t in n)n[t][0]&&n[t][0](e)},TB=(n,e)=>{if(!Vn.has(n)){const t=Nr(xB,e),r={},i=yE.bind(At,n);let o=Er;const a={},s=(u,f)=>{const d=a[u]||[];return a[u]=d,d.push(f),()=>d.splice(d.indexOf(f),1)},c=(u,f,d)=>{n.set(u,f);const h=a[u];if(h)for(const p of h)p(f,d)},l=()=>{if(!Vn.has(n)&&(Vn.set(n,[r,{},{},{},i,c,s]),!ga)){const u=t.initFocus(setTimeout.bind(At,Kv.bind(At,r,dE))),f=t.initReconnect(setTimeout.bind(At,Kv.bind(At,r,hE)));o=()=>{u&&u(),f&&f(),Vn.delete(n)}}};return l(),[n,i,l,o]}return[n,Vn.get(n)[4]]},EB=(n,e,t,r,i)=>{const o=t.errorRetryCount,a=i.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*t.errorRetryInterval;!Me(o)&&a>o||setTimeout(r,s,i)},CB=mp,[bE,SB]=TB(new Map),AB=Nr({onLoadingSlow:Er,onSuccess:Er,onError:Er,onErrorRetry:EB,onDiscarded:Er,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Gv?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Gv?5e3:3e3,compare:CB,isPaused:()=>!1,cache:bE,mutate:SB,fallback:{}},vB),UB=(n,e)=>{const t=Nr(n,e);if(e){const{use:r,fallback:i}=n,{use:o,fallback:a}=e;r&&o&&(t.use=r.concat(o)),i&&a&&(t.fallback=Nr(i,a))}return t},kB=Pe.createContext({}),FB="$inf$",vE=Oa&&window.__SWR_DEVTOOLS_USE__,OB=vE?window.__SWR_DEVTOOLS_USE__:[],RB=()=>{vE&&(window.__SWR_DEVTOOLS_REACT__=Pe)},NB=n=>wn(n[1])?[n[0],n[1],n[2]||{}]:[n[0],null,(n[1]===null?n[2]:n[1])||{}],IB=()=>Nr(AB,Pe.useContext(kB)),BB=n=>(e,t,r)=>n(e,t&&((...o)=>{const[a]=Em(e),[,,,s]=Vn.get(bE);if(a.startsWith(FB))return t(...o);const c=s[a];return Me(c)?t(...o):(delete s[a],c)}),r),MB=OB.concat(BB),WB=n=>function(...t){const r=IB(),[i,o,a]=NB(t),s=UB(r,a);let c=n;const{use:l}=s,u=(l||[]).concat(MB);for(let f=u.length;f--;)c=u[f](c);return c(i,o||s.fetcher||null,s)},LB=(n,e,t)=>{const r=e[n]||(e[n]=[]);return r.push(t),()=>{const i=r.indexOf(t);i>=0&&(r[i]=r[r.length-1],r.pop())}};RB();const gh=Pe.use||(n=>{switch(n.status){case"pending":throw n;case"fulfilled":return n.value;case"rejected":throw n.reason;default:throw n.status="pending",n.then(e=>{n.status="fulfilled",n.value=e},e=>{n.status="rejected",n.reason=e}),n}}),mh={dedupe:!0},PB=(n,e,t)=>{const{cache:r,compare:i,suspense:o,fallbackData:a,revalidateOnMount:s,revalidateIfStale:c,refreshInterval:l,refreshWhenHidden:u,refreshWhenOffline:f,keepPreviousData:d}=t,[h,p,m,g]=Vn.get(r),[y,b]=Em(n),v=Pe.useRef(!1),T=Pe.useRef(!1),w=Pe.useRef(y),E=Pe.useRef(e),S=Pe.useRef(t),U=()=>S.current,C=()=>U().isVisible()&&U().isOnline(),[R,L,_,k]=mE(r,y),x=Pe.useRef({}).current,j=Me(a)?Me(t.fallback)?At:t.fallback[y]:a,F=(be,D)=>{for(const V in x){const z=V;if(z==="data"){if(!i(be[z],D[z])&&(!Me(be[z])||!i(J,D[z])))return!1}else if(D[z]!==be[z])return!1}return!0},B=Pe.useMemo(()=>{const be=!y||!e?!1:Me(s)?U().isPaused()||o?!1:c!==!1:s,D=ie=>{const ne=Nr(ie);return delete ne._k,be?{isValidating:!0,isLoading:!0,...ne}:ne},V=R(),z=k(),M=D(V),N=V===z?M:D(z);let $=M;return[()=>{const ie=D(R());return F(ie,$)?($.data=ie.data,$.isLoading=ie.isLoading,$.isValidating=ie.isValidating,$.error=ie.error,$):($=ie,ie)},()=>N]},[r,y]),K=dB.useSyncExternalStore(Pe.useCallback(be=>_(y,(D,V)=>{F(V,D)||be()}),[r,y]),B[0],B[1]),P=!v.current,te=h[y]&&h[y].length>0,W=K.data,I=Me(W)?j&&gE(j)?gh(j):j:W,oe=K.error,X=Pe.useRef(I),J=d?Me(W)?Me(X.current)?I:X.current:W:I,le=te&&!Me(oe)?!1:P&&!Me(s)?s:U().isPaused()?!1:o?Me(I)?!1:c:Me(I)||c,he=!!(y&&e&&P&&le),fe=Me(K.isValidating)?he:K.isValidating,me=Me(K.isLoading)?he:K.isLoading,de=Pe.useCallback(async be=>{const D=E.current;if(!y||!D||T.current||U().isPaused())return!1;let V,z,M=!0;const N=be||{},$=!m[y]||!N.dedupe,ie=()=>Xv?!T.current&&y===w.current&&v.current:y===w.current,ne={isValidating:!1,isLoading:!1},Z=()=>{L(ne)},q=()=>{const Y=m[y];Y&&Y[1]===z&&delete m[y]},G={isValidating:!0};Me(R().data)&&(G.isLoading=!0);try{if($&&(L(G),t.loadingTimeout&&Me(R().data)&&setTimeout(()=>{M&&ie()&&U().onLoadingSlow(y,t)},t.loadingTimeout),m[y]=[D(b),_p()]),[V,z]=m[y],V=await V,$&&setTimeout(q,t.dedupingInterval),!m[y]||m[y][1]!==z)return $&&ie()&&U().onDiscarded(y),!1;ne.error=At;const Y=p[y];if(!Me(Y)&&(z<=Y[0]||z<=Y[1]||Y[1]===0))return Z(),$&&ie()&&U().onDiscarded(y),!1;const ae=R().data;ne.data=i(ae,V)?ae:V,$&&ie()&&U().onSuccess(V,y,t)}catch(Y){q();const ae=U(),{shouldRetryOnError:xe}=ae;ae.isPaused()||(ne.error=Y,$&&ie()&&(ae.onError(Y,y,ae),(xe===!0||wn(xe)&&xe(Y))&&(!U().revalidateOnFocus||!U().revalidateOnReconnect||C())&&ae.onErrorRetry(Y,y,ae,Te=>{const Se=h[y];Se&&Se[0]&&Se[0](Vv,Te)},{retryCount:(N.retryCount||0)+1,dedupe:!0})))}return M=!1,Z(),!0},[y,r]),ge=Pe.useCallback((...be)=>yE(r,w.current,...be),[]);if(dh(()=>{E.current=e,S.current=t,Me(W)||(X.current=W)}),dh(()=>{if(!y)return;const be=de.bind(At,mh);let D=0;const z=LB(y,h,(M,N={})=>{if(M==dE){const $=Date.now();U().revalidateOnFocus&&$>D&&C()&&(D=$+U().focusThrottleInterval,be())}else if(M==hE)U().revalidateOnReconnect&&C()&&be();else{if(M==pE)return de();if(M==Vv)return de(N)}});return T.current=!1,w.current=y,v.current=!0,L({_k:b}),le&&(Me(I)||ga?be():DB(be)),()=>{T.current=!0,z()}},[y]),dh(()=>{let be;function D(){const z=wn(l)?l(R().data):l;z&&be!==-1&&(be=setTimeout(V,z))}function V(){!R().error&&(u||U().isVisible())&&(f||U().isOnline())?de(mh).then(D):D()}return D(),()=>{be&&(clearTimeout(be),be=-1)}},[l,u,f,y]),Pe.useDebugValue(J),o&&Me(I)&&y){if(!Xv&&ga)throw new Error("Fallback data is required when using Suspense in SSR.");E.current=e,S.current=t,T.current=!1;const be=g[y];if(!Me(be)){const D=ge(be);gh(D)}if(Me(oe)){const D=de(mh);Me(J)||(D.status="fulfilled",D.value=!0),gh(D)}else throw oe}return{mutate:ge,get data(){return x.data=!0,J},get error(){return x.error=!0,oe},get isValidating(){return x.isValidating=!0,fe},get isLoading(){return x.isLoading=!0,me}}},Jv=WB(PB);class qB extends Error{constructor({message:e,status:t,data:r}){super(e),this.name="TwitterApiError",this.status=t,this.data=r}}const jB=Jv.default||Jv,zB="https://react-tweet.vercel.app";async function $B([n,e]){const t=await fetch(n,e),r=await t.json();if(t.ok)return r.data||null;throw new qB({message:`Failed to fetch tweet at "${n}" with "${t.status}".`,data:r,status:t.status})}const VB=(n,e,t)=>{const{isLoading:r,data:i,error:o}=jB(()=>e||n?[e||n&&`${zB}/api/tweet/${n}`,t]:null,$B,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:!!(r||i===void 0&&!o),data:i,error:o}},HB=({id:n,apiUrl:e,fallback:t=ce.jsx(cB,{}),components:r,fetchOptions:i,onError:o})=>{const{data:a,error:s,isLoading:c}=VB(n,e,i);if(c)return t;if(s||!a){const l=(r==null?void 0:r.TweetNotFound)||rB;return ce.jsx(l,{error:o?o(s):s})}return ce.jsx(eB,{tweet:a,components:r})},Cn=()=>new Map,Tp=n=>{const e=Cn();return n.forEach((t,r)=>{e.set(r,t)}),e},ho=(n,e,t)=>{let r=n.get(e);return r===void 0&&n.set(e,r=t()),r},XB=(n,e)=>{const t=[];for(const[r,i]of n)t.push(e(i,r));return t},GB=(n,e)=>{for(const[t,r]of n)if(e(r,t))return!0;return!1},eo=()=>new Set,yh=n=>n[n.length-1],to=Array.from,KB=Array.isArray;class JB{constructor(){this._observers=Cn()}on(e,t){return ho(this._observers,e,eo).add(t),t}once(e,t){const r=(...i)=>{this.off(e,r),t(...i)};this.on(e,r)}off(e,t){const r=this._observers.get(e);r!==void 0&&(r.delete(t),r.size===0&&this._observers.delete(e))}emit(e,t){return to((this._observers.get(e)||Cn()).values()).forEach(r=>r(...t))}destroy(){this._observers=Cn()}}const di=Math.floor,Xs=Math.abs,xE=(n,e)=>n<e?n:e,po=(n,e)=>n>e?n:e,ZB=n=>n!==0?n<0:1/n<0,Zv=1,Yv=2,bh=4,vh=8,YB=32,DE=64,qc=128,QB=31,Qv=63,Go=127,e7=2147483647,t7=Number.isInteger||(n=>typeof n=="number"&&isFinite(n)&&di(n)===n),n7=n=>n.toLowerCase(),r7=/^\s*/g,i7=n=>n.replace(r7,""),o7=/([A-Z])/g,ex=(n,e)=>i7(n.replace(o7,t=>`${e}${n7(t)}`)),a7=n=>{const e=unescape(encodeURIComponent(n)),t=e.length,r=new Uint8Array(t);for(let i=0;i<t;i++)r[i]=e.codePointAt(i);return r},ma=typeof TextEncoder<"u"?new TextEncoder:null,s7=n=>ma.encode(n),c7=ma?s7:a7;let xh=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});xh&&xh.decode(new Uint8Array).length===1&&(xh=null);class Ra{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const Cm=()=>new Ra,l7=n=>{let e=n.cpos;for(let t=0;t<n.bufs.length;t++)e+=n.bufs[t].length;return e},Xn=n=>{const e=new Uint8Array(l7(n));let t=0;for(let r=0;r<n.bufs.length;r++){const i=n.bufs[r];e.set(i,t),t+=i.length}return e.set(new Uint8Array(n.cbuf.buffer,0,n.cpos),t),e},u7=(n,e)=>{const t=n.cbuf.length;t-n.cpos<e&&(n.bufs.push(new Uint8Array(n.cbuf.buffer,0,n.cpos)),n.cbuf=new Uint8Array(po(t,e)*2),n.cpos=0)},ct=(n,e)=>{const t=n.cbuf.length;n.cpos===t&&(n.bufs.push(n.cbuf),n.cbuf=new Uint8Array(t*2),n.cpos=0),n.cbuf[n.cpos++]=e},Ep=ct,$e=(n,e)=>{for(;e>Go;)ct(n,qc|Go&e),e=di(e/128);ct(n,Go&e)},Sm=(n,e)=>{const t=ZB(e);for(t&&(e=-e),ct(n,(e>Qv?qc:0)|(t?DE:0)|Qv&e),e=di(e/64);e>0;)ct(n,(e>Go?qc:0)|Go&e),e=di(e/128)},Cp=new Uint8Array(3e4),f7=Cp.length/3,d7=(n,e)=>{if(e.length<f7){const t=ma.encodeInto(e,Cp).written||0;$e(n,t);for(let r=0;r<t;r++)ct(n,Cp[r])}else zt(n,c7(e))},h7=(n,e)=>{const t=unescape(encodeURIComponent(e)),r=t.length;$e(n,r);for(let i=0;i<r;i++)ct(n,t.codePointAt(i))},Hi=ma&&ma.encodeInto?d7:h7,Am=(n,e)=>{const t=n.cbuf.length,r=n.cpos,i=xE(t-r,e.length),o=e.length-i;n.cbuf.set(e.subarray(0,i),r),n.cpos+=i,o>0&&(n.bufs.push(n.cbuf),n.cbuf=new Uint8Array(po(t*2,o)),n.cbuf.set(e.subarray(i)),n.cpos=o)},zt=(n,e)=>{$e(n,e.byteLength),Am(n,e)},Um=(n,e)=>{u7(n,e);const t=new DataView(n.cbuf.buffer,n.cpos,e);return n.cpos+=e,t},p7=(n,e)=>Um(n,4).setFloat32(0,e,!1),g7=(n,e)=>Um(n,8).setFloat64(0,e,!1),m7=(n,e)=>Um(n,8).setBigInt64(0,e,!1),tx=new DataView(new ArrayBuffer(4)),y7=n=>(tx.setFloat32(0,n),tx.getFloat32(0)===n),ya=(n,e)=>{switch(typeof e){case"string":ct(n,119),Hi(n,e);break;case"number":t7(e)&&Xs(e)<=e7?(ct(n,125),Sm(n,e)):y7(e)?(ct(n,124),p7(n,e)):(ct(n,123),g7(n,e));break;case"bigint":ct(n,122),m7(n,e);break;case"object":if(e===null)ct(n,126);else if(KB(e)){ct(n,117),$e(n,e.length);for(let t=0;t<e.length;t++)ya(n,e[t])}else if(e instanceof Uint8Array)ct(n,116),zt(n,e);else{ct(n,118);const t=Object.keys(e);$e(n,t.length);for(let r=0;r<t.length;r++){const i=t[r];Hi(n,i),ya(n,e[i])}}break;case"boolean":ct(n,e?120:121);break;default:ct(n,127)}};class nx extends Ra{constructor(e){super(),this.w=e,this.s=null,this.count=0}write(e){this.s===e?this.count++:(this.count>0&&$e(this,this.count-1),this.count=1,this.w(this,e),this.s=e)}}const rx=n=>{n.count>0&&(Sm(n.encoder,n.count===1?n.s:-n.s),n.count>1&&$e(n.encoder,n.count-2))};class Gs{constructor(){this.encoder=new Ra,this.s=0,this.count=0}write(e){this.s===e?this.count++:(rx(this),this.count=1,this.s=e)}toUint8Array(){return rx(this),Xn(this.encoder)}}const ix=n=>{if(n.count>0){const e=n.diff*2+(n.count===1?0:1);Sm(n.encoder,e),n.count>1&&$e(n.encoder,n.count-2)}};class Dh{constructor(){this.encoder=new Ra,this.s=0,this.count=0,this.diff=0}write(e){this.diff===e-this.s?(this.s=e,this.count++):(ix(this),this.count=1,this.diff=e-this.s,this.s=e)}toUint8Array(){return ix(this),Xn(this.encoder)}}class b7{constructor(){this.sarr=[],this.s="",this.lensE=new Gs}write(e){this.s+=e,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(e.length)}toUint8Array(){const e=new Ra;return this.sarr.push(this.s),this.s="",Hi(e,this.sarr.join("")),Am(e,this.lensE.toUint8Array()),Xn(e)}}const no=n=>new Error(n),Sn=()=>{throw no("Method unimplemented")},Ir=()=>{throw no("Unexpected case")},v7=crypto.getRandomValues.bind(crypto),wE=()=>v7(new Uint32Array(1))[0],x7="10000000-1000-4000-8000"+-1e11,D7=()=>x7.replace(/[018]/g,n=>(n^wE()&15>>n/4).toString(16)),ox=n=>new Promise(n);Promise.all.bind(Promise);const ax=n=>n===void 0?null:n;class w7{constructor(){this.map=new Map}setItem(e,t){this.map.set(e,t)}getItem(e){return this.map.get(e)}}let _E=new w7,_7=!0;try{typeof localStorage<"u"&&localStorage&&(_E=localStorage,_7=!1)}catch{}const T7=_E,E7=Object.assign,C7=Object.keys,S7=(n,e)=>{for(const t in n)e(n[t],t)},sx=n=>C7(n).length,A7=n=>{for(const e in n)return!1;return!0},U7=(n,e)=>{for(const t in n)if(!e(n[t],t))return!1;return!0},k7=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),F7=(n,e)=>n===e||sx(n)===sx(e)&&U7(n,(t,r)=>(t!==void 0||k7(e,r))&&e[r]===t),O7=Object.freeze,TE=n=>{for(const e in n){const t=n[e];(typeof t=="object"||typeof t=="function")&&TE(n[e])}return O7(n)},km=(n,e,t=0)=>{try{for(;t<n.length;t++)n[t](...e)}finally{t<n.length&&km(n,e,t+1)}},R7=(n,e)=>e.includes(n),ba=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]";let vn;const N7=()=>{if(vn===void 0)if(ba){vn=Cn();const n=process.argv;let e=null;for(let t=0;t<n.length;t++){const r=n[t];r[0]==="-"?(e!==null&&vn.set(e,""),e=r):e!==null&&(vn.set(e,r),e=null)}e!==null&&vn.set(e,"")}else typeof location=="object"?(vn=Cn(),(location.search||"?").slice(1).split("&").forEach(n=>{if(n.length!==0){const[e,t]=n.split("=");vn.set(`--${ex(e,"-")}`,t),vn.set(`-${ex(e,"-")}`,t)}})):vn=Cn();return vn},Sp=n=>N7().has(n),jc=n=>ax(ba?process.env[n.toUpperCase().replaceAll("-","_")]:T7.getItem(n)),EE=n=>Sp("--"+n)||jc(n)!==null;EE("production");const I7=ba&&R7(process.env.FORCE_COLOR,["true","1","2"]),B7=I7||!Sp("--no-colors")&&!EE("no-color")&&(!ba||process.stdout.isTTY)&&(!ba||Sp("--color")||jc("COLORTERM")!==null||(jc("TERM")||"").includes("color"));class M7{constructor(e,t){this.left=e,this.right=t}}const qn=(n,e)=>new M7(n,e);typeof DOMParser<"u"&&new DOMParser;const W7=n=>XB(n,(e,t)=>`${t}:${e};`).join(""),or=Symbol,CE=or(),SE=or(),L7=or(),P7=or(),q7=or(),AE=or(),j7=or(),Fm=or(),z7=or(),$7=n=>{var i;n.length===1&&((i=n[0])==null?void 0:i.constructor)===Function&&(n=n[0]());const e=[],t=[];let r=0;for(;r<n.length;r++){const o=n[r];if(o===void 0)break;if(o.constructor===String||o.constructor===Number)e.push(o);else if(o.constructor===Object)break}for(r>0&&t.push(e.join(""));r<n.length;r++){const o=n[r];o instanceof Symbol||t.push(o)}return t},V7={[CE]:qn("font-weight","bold"),[SE]:qn("font-weight","normal"),[L7]:qn("color","blue"),[q7]:qn("color","green"),[P7]:qn("color","grey"),[AE]:qn("color","red"),[j7]:qn("color","purple"),[Fm]:qn("color","orange"),[z7]:qn("color","black")},H7=n=>{var a;n.length===1&&((a=n[0])==null?void 0:a.constructor)===Function&&(n=n[0]());const e=[],t=[],r=Cn();let i=[],o=0;for(;o<n.length;o++){const s=n[o],c=V7[s];if(c!==void 0)r.set(c.left,c.right);else{if(s===void 0)break;if(s.constructor===String||s.constructor===Number){const l=W7(r);o>0||l.length>0?(e.push("%c"+s),t.push(l)):e.push(s)}else break}}for(o>0&&(i=t,i.unshift(e.join("")));o<n.length;o++){const s=n[o];s instanceof Symbol||i.push(s)}return i},UE=B7?H7:$7,X7=(...n)=>{console.log(...UE(n)),kE.forEach(e=>e.print(n))},G7=(...n)=>{console.warn(...UE(n)),n.unshift(Fm),kE.forEach(e=>e.print(n))},kE=eo(),FE=n=>({[Symbol.iterator](){return this},next:n}),K7=(n,e)=>FE(()=>{let t;do t=n.next();while(!t.done&&!e(t.value));return t}),wh=(n,e)=>FE(()=>{const{done:t,value:r}=n.next();return{done:t,value:t?void 0:e(r)}});class J7{constructor(e,t){this.clock=e,this.len=t}}class Z7{constructor(){this.clients=new Map}}const OE=(n,e,t)=>e.clients.forEach((r,i)=>{const o=n.doc.store.clients.get(i);for(let a=0;a<r.length;a++){const s=r[a];LE(n,o,s.clock,s.len,t)}}),Y7=(n,e)=>{let t=0,r=n.length-1;for(;t<=r;){const i=di((t+r)/2),o=n[i],a=o.clock;if(a<=e){if(e<a+o.len)return i;t=i+1}else r=i-1}return null},RE=(n,e)=>{const t=n.clients.get(e.client);return t!==void 0&&Y7(t,e.clock)!==null},NE=n=>{n.clients.forEach(e=>{e.sort((i,o)=>i.clock-o.clock);let t,r;for(t=1,r=1;t<e.length;t++){const i=e[r-1],o=e[t];i.clock+i.len>=o.clock?i.len=po(i.len,o.clock+o.len-i.clock):(r<t&&(e[r]=o),r++)}e.length=r})},IE=(n,e,t,r)=>{ho(n.clients,e,()=>[]).push(new J7(t,r))},Q7=(n,e)=>{$e(n.restEncoder,e.clients.size),to(e.clients.entries()).sort((t,r)=>r[0]-t[0]).forEach(([t,r])=>{n.resetDsCurVal(),$e(n.restEncoder,t);const i=r.length;$e(n.restEncoder,i);for(let o=0;o<i;o++){const a=r[o];n.writeDsClock(a.clock),n.writeDsLen(a.len)}})},BE=wE;class Na extends JB{constructor({guid:e=D7(),collectionid:t=null,gc:r=!0,gcFilter:i=()=>!0,meta:o=null,autoLoad:a=!1,shouldLoad:s=!0}={}){super(),this.gc=r,this.gcFilter=i,this.clientID=BE(),this.guid=e,this.collectionid=t,this.share=new Map,this.store=new cM,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=s,this.autoLoad=a,this.meta=o,this.isLoaded=!1,this.isSynced=!1,this.isDestroyed=!1,this.whenLoaded=ox(l=>{this.on("load",()=>{this.isLoaded=!0,l(this)})});const c=()=>ox(l=>{const u=f=>{(f===void 0||f===!0)&&(this.off("sync",u),l())};this.on("sync",u)});this.on("sync",l=>{l===!1&&this.isSynced&&(this.whenSynced=c()),this.isSynced=l===void 0||l===!0,this.isSynced&&!this.isLoaded&&this.emit("load",[this])}),this.whenSynced=c()}load(){const e=this._item;e!==null&&!this.shouldLoad&&Je(e.parent.doc,t=>{t.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(to(this.subdocs).map(e=>e.guid))}transact(e,t=null){return Je(this,e,t)}get(e,t=yt){const r=ho(this.share,e,()=>{const o=new t;return o._integrate(this,null),o}),i=r.constructor;if(t!==yt&&i!==t)if(i===yt){const o=new t;o._map=r._map,r._map.forEach(a=>{for(;a!==null;a=a.left)a.parent=o}),o._start=r._start;for(let a=o._start;a!==null;a=a.right)a.parent=o;return o._length=r._length,this.share.set(e,o),o._integrate(this,null),o}else throw new Error(`Type with the name ${e} has already been defined with a different constructor`);return r}getArray(e=""){return this.get(e,Ko)}getText(e=""){return this.get(e,wa)}getMap(e=""){return this.get(e,Hc)}getXmlElement(e=""){return this.get(e,_a)}getXmlFragment(e=""){return this.get(e,ro)}toJSON(){const e={};return this.share.forEach((t,r)=>{e[r]=t.toJSON()}),e}destroy(){this.isDestroyed=!0,to(this.subdocs).forEach(t=>t.destroy());const e=this._item;if(e!==null){this._item=null;const t=e.content;t.doc=new Na({guid:this.guid,...t.opts,shouldLoad:!1}),t.doc._item=e,Je(e.parent.doc,r=>{const i=t.doc;e.deleted||r.subdocsAdded.add(i),r.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}}class eM{constructor(){this.restEncoder=Cm()}toUint8Array(){return Xn(this.restEncoder)}resetDsCurVal(){}writeDsClock(e){$e(this.restEncoder,e)}writeDsLen(e){$e(this.restEncoder,e)}}class tM extends eM{writeLeftID(e){$e(this.restEncoder,e.client),$e(this.restEncoder,e.clock)}writeRightID(e){$e(this.restEncoder,e.client),$e(this.restEncoder,e.clock)}writeClient(e){$e(this.restEncoder,e)}writeInfo(e){Ep(this.restEncoder,e)}writeString(e){Hi(this.restEncoder,e)}writeParentInfo(e){$e(this.restEncoder,e?1:0)}writeTypeRef(e){$e(this.restEncoder,e)}writeLen(e){$e(this.restEncoder,e)}writeAny(e){ya(this.restEncoder,e)}writeBuf(e){zt(this.restEncoder,e)}writeJSON(e){Hi(this.restEncoder,JSON.stringify(e))}writeKey(e){Hi(this.restEncoder,e)}}class nM{constructor(){this.restEncoder=Cm(),this.dsCurrVal=0}toUint8Array(){return Xn(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(e){const t=e-this.dsCurrVal;this.dsCurrVal=e,$e(this.restEncoder,t)}writeDsLen(e){e===0&&Ir(),$e(this.restEncoder,e-1),this.dsCurrVal+=e}}class rM extends nM{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new Dh,this.clientEncoder=new Gs,this.leftClockEncoder=new Dh,this.rightClockEncoder=new Dh,this.infoEncoder=new nx(Ep),this.stringEncoder=new b7,this.parentInfoEncoder=new nx(Ep),this.typeRefEncoder=new Gs,this.lenEncoder=new Gs}toUint8Array(){const e=Cm();return $e(e,0),zt(e,this.keyClockEncoder.toUint8Array()),zt(e,this.clientEncoder.toUint8Array()),zt(e,this.leftClockEncoder.toUint8Array()),zt(e,this.rightClockEncoder.toUint8Array()),zt(e,Xn(this.infoEncoder)),zt(e,this.stringEncoder.toUint8Array()),zt(e,Xn(this.parentInfoEncoder)),zt(e,this.typeRefEncoder.toUint8Array()),zt(e,this.lenEncoder.toUint8Array()),Am(e,Xn(this.restEncoder)),Xn(e)}writeLeftID(e){this.clientEncoder.write(e.client),this.leftClockEncoder.write(e.clock)}writeRightID(e){this.clientEncoder.write(e.client),this.rightClockEncoder.write(e.clock)}writeClient(e){this.clientEncoder.write(e)}writeInfo(e){this.infoEncoder.write(e)}writeString(e){this.stringEncoder.write(e)}writeParentInfo(e){this.parentInfoEncoder.write(e?1:0)}writeTypeRef(e){this.typeRefEncoder.write(e)}writeLen(e){this.lenEncoder.write(e)}writeAny(e){ya(this.restEncoder,e)}writeBuf(e){zt(this.restEncoder,e)}writeJSON(e){ya(this.restEncoder,e)}writeKey(e){const t=this.keyMap.get(e);t===void 0?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(e)):this.keyClockEncoder.write(t)}}const iM=(n,e,t,r)=>{r=po(r,e[0].id.clock);const i=Qn(e,r);$e(n.restEncoder,e.length-i),n.writeClient(t),$e(n.restEncoder,r);const o=e[i];o.write(n,r-o.id.clock);for(let a=i+1;a<e.length;a++)e[a].write(n,0)},oM=(n,e,t)=>{const r=new Map;t.forEach((i,o)=>{Bt(e,o)>i&&r.set(o,i)}),Om(e).forEach((i,o)=>{t.has(o)||r.set(o,0)}),$e(n.restEncoder,r.size),to(r.entries()).sort((i,o)=>o[0]-i[0]).forEach(([i,o])=>{iM(n,e.clients.get(i),i,o)})},aM=(n,e)=>oM(n,e.doc.store,e.beforeState);class sM{constructor(){this.l=[]}}const cx=()=>new sM,lx=(n,e)=>n.l.push(e),ux=(n,e)=>{const t=n.l,r=t.length;n.l=t.filter(i=>e!==i),r===n.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},ME=(n,e,t)=>km(n.l,[e,t]);class Ks{constructor(e,t){this.client=e,this.clock=t}}const ps=(n,e)=>n===e||n!==null&&e!==null&&n.client===e.client&&n.clock===e.clock,Ze=(n,e)=>new Ks(n,e),va=n=>{for(const[e,t]of n.doc.share.entries())if(t===n)return e;throw Ir()};class zc{constructor(e,t,r,i=0){this.type=e,this.tname=t,this.item=r,this.assoc=i}}const gs=(n,e,t)=>{let r=null,i=null;return n._item===null?i=va(n):r=Ze(n._item.id.client,n._item.id.clock),new zc(r,i,e,t)},_h=(n,e,t=0)=>{let r=n._start;if(t<0){if(e===0)return gs(n,null,t);e--}for(;r!==null;){if(!r.deleted&&r.countable){if(r.length>e)return gs(n,Ze(r.id.client,r.id.clock+e),t);e-=r.length}if(r.right===null&&t<0)return gs(n,r.lastId,t);r=r.right}return gs(n,null,t)},Bi=(n,e)=>e===void 0?!n.deleted:e.sv.has(n.id.client)&&(e.sv.get(n.id.client)||0)>n.id.clock&&!RE(e.ds,n.id),Ap=(n,e)=>{const t=ho(n.meta,Ap,eo),r=n.doc.store;t.has(e)||(e.sv.forEach((i,o)=>{i<Bt(r,o)&&Br(n,Ze(o,i))}),OE(n,e.ds,i=>{}),t.add(e))};class cM{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const Om=n=>{const e=new Map;return n.clients.forEach((t,r)=>{const i=t[t.length-1];e.set(r,i.id.clock+i.length)}),e},Bt=(n,e)=>{const t=n.clients.get(e);if(t===void 0)return 0;const r=t[t.length-1];return r.id.clock+r.length},WE=(n,e)=>{let t=n.clients.get(e.id.client);if(t===void 0)t=[],n.clients.set(e.id.client,t);else{const r=t[t.length-1];if(r.id.clock+r.length!==e.id.clock)throw Ir()}t.push(e)},Qn=(n,e)=>{let t=0,r=n.length-1,i=n[r],o=i.id.clock;if(o===e)return r;let a=di(e/(o+i.length-1)*r);for(;t<=r;){if(i=n[a],o=i.id.clock,o<=e){if(e<o+i.length)return a;t=a+1}else r=a-1;a=di((t+r)/2)}throw Ir()},lM=(n,e)=>{const t=n.clients.get(e.client);return t[Qn(t,e.clock)]},Th=lM,Up=(n,e,t)=>{const r=Qn(e,t),i=e[r];return i.id.clock<t&&i instanceof Dt?(e.splice(r+1,0,rC(n,i,t-i.id.clock)),r+1):r},Br=(n,e)=>{const t=n.doc.store.clients.get(e.client);return t[Up(n,t,e.clock)]},fx=(n,e,t)=>{const r=e.clients.get(t.client),i=Qn(r,t.clock),o=r[i];return t.clock!==o.id.clock+o.length-1&&o.constructor!==Dr&&r.splice(i+1,0,rC(n,o,t.clock-o.id.clock+1)),o},uM=(n,e,t)=>{const r=n.clients.get(e.id.client);r[Qn(r,e.id.clock)]=t},LE=(n,e,t,r,i)=>{if(r===0)return;const o=t+r;let a=Up(n,e,t),s;do s=e[a++],o<s.id.clock+s.length&&Up(n,e,o),i(s);while(a<e.length&&e[a].id.clock<o)};class fM{constructor(e,t,r){this.doc=e,this.deleteSet=new Z7,this.beforeState=Om(e.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=t,this.meta=new Map,this.local=r,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}}const dx=(n,e)=>e.deleteSet.clients.size===0&&!GB(e.afterState,(t,r)=>e.beforeState.get(r)!==t)?!1:(NE(e.deleteSet),aM(n,e),Q7(n,e.deleteSet),!0),hx=(n,e,t)=>{const r=e._item;(r===null||r.id.clock<(n.beforeState.get(r.id.client)||0)&&!r.deleted)&&ho(n.changed,e,eo).add(t)},Js=(n,e)=>{let t=n[e],r=n[e-1],i=e;for(;i>0;t=r,r=n[--i-1]){if(r.deleted===t.deleted&&r.constructor===t.constructor&&r.mergeWith(t)){t instanceof Dt&&t.parentSub!==null&&t.parent._map.get(t.parentSub)===t&&t.parent._map.set(t.parentSub,r);continue}break}const o=e-i;return o&&n.splice(e+1-o,o),o},dM=(n,e,t)=>{for(const[r,i]of n.clients.entries()){const o=e.clients.get(r);for(let a=i.length-1;a>=0;a--){const s=i[a],c=s.clock+s.len;for(let l=Qn(o,s.clock),u=o[l];l<o.length&&u.id.clock<c;u=o[++l]){const f=o[l];if(s.clock+s.len<=f.id.clock)break;f instanceof Dt&&f.deleted&&!f.keep&&t(f)&&f.gc(e,!1)}}}},hM=(n,e)=>{n.clients.forEach((t,r)=>{const i=e.clients.get(r);for(let o=t.length-1;o>=0;o--){const a=t[o],s=xE(i.length-1,1+Qn(i,a.clock+a.len-1));for(let c=s,l=i[c];c>0&&l.id.clock>=a.clock;l=i[c])c-=1+Js(i,c)}})},PE=(n,e)=>{if(e<n.length){const t=n[e],r=t.doc,i=r.store,o=t.deleteSet,a=t._mergeStructs;try{NE(o),t.afterState=Om(t.doc.store),r.emit("beforeObserverCalls",[t,r]);const s=[];t.changed.forEach((c,l)=>s.push(()=>{(l._item===null||!l._item.deleted)&&l._callObserver(t,c)})),s.push(()=>{t.changedParentTypes.forEach((c,l)=>{l._dEH.l.length>0&&(l._item===null||!l._item.deleted)&&(c=c.filter(u=>u.target._item===null||!u.target._item.deleted),c.forEach(u=>{u.currentTarget=l,u._path=null}),c.sort((u,f)=>u.path.length-f.path.length),ME(l._dEH,c,t))})}),s.push(()=>r.emit("afterTransaction",[t,r])),km(s,[]),t._needFormattingCleanup&&EM(t)}finally{r.gc&&dM(o,i,r.gcFilter),hM(o,i),t.afterState.forEach((u,f)=>{const d=t.beforeState.get(f)||0;if(d!==u){const h=i.clients.get(f),p=po(Qn(h,d),1);for(let m=h.length-1;m>=p;)m-=1+Js(h,m)}});for(let u=a.length-1;u>=0;u--){const{client:f,clock:d}=a[u].id,h=i.clients.get(f),p=Qn(h,d);p+1<h.length&&Js(h,p+1)>1||p>0&&Js(h,p)}if(!t.local&&t.afterState.get(r.clientID)!==t.beforeState.get(r.clientID)&&(X7(Fm,CE,"[yjs] ",SE,AE,"Changed the client-id because another client seems to be using it."),r.clientID=BE()),r.emit("afterTransactionCleanup",[t,r]),r._observers.has("update")){const u=new tM;dx(u,t)&&r.emit("update",[u.toUint8Array(),t.origin,r,t])}if(r._observers.has("updateV2")){const u=new rM;dx(u,t)&&r.emit("updateV2",[u.toUint8Array(),t.origin,r,t])}const{subdocsAdded:s,subdocsLoaded:c,subdocsRemoved:l}=t;(s.size>0||l.size>0||c.size>0)&&(s.forEach(u=>{u.clientID=r.clientID,u.collectionid==null&&(u.collectionid=r.collectionid),r.subdocs.add(u)}),l.forEach(u=>r.subdocs.delete(u)),r.emit("subdocs",[{loaded:c,added:s,removed:l},r,t]),l.forEach(u=>u.destroy())),n.length<=e+1?(r._transactionCleanups=[],r.emit("afterAllTransactions",[r,n])):PE(n,e+1)}}},Je=(n,e,t=null,r=!0)=>{const i=n._transactionCleanups;let o=!1,a=null;n._transaction===null&&(o=!0,n._transaction=new fM(n,t,r),i.push(n._transaction),i.length===1&&n.emit("beforeAllTransactions",[n]),n.emit("beforeTransaction",[n._transaction,n]));try{a=e(n._transaction)}finally{if(o){const s=n._transaction===i[0];n._transaction=null,s&&PE(i,0)}}return a},px="You must not compute changes after the event-handler fired.";class Il{constructor(e,t){this.target=e,this.currentTarget=e,this.transaction=t,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=pM(this.currentTarget,this.target))}deletes(e){return RE(this.transaction.deleteSet,e.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw no(px);const e=new Map,t=this.target;this.transaction.changed.get(t).forEach(i=>{if(i!==null){const o=t._map.get(i);let a,s;if(this.adds(o)){let c=o.left;for(;c!==null&&this.adds(c);)c=c.left;if(this.deletes(o))if(c!==null&&this.deletes(c))a="delete",s=yh(c.content.getContent());else return;else c!==null&&this.deletes(c)?(a="update",s=yh(c.content.getContent())):(a="add",s=void 0)}else if(this.deletes(o))a="delete",s=yh(o.content.getContent());else return;e.set(i,{action:a,oldValue:s})}}),this._keys=e}return this._keys}get delta(){return this.changes.delta}adds(e){return e.id.clock>=(this.transaction.beforeState.get(e.id.client)||0)}get changes(){let e=this._changes;if(e===null){if(this.transaction.doc._transactionCleanups.length===0)throw no(px);const t=this.target,r=eo(),i=eo(),o=[];if(e={added:r,deleted:i,delta:o,keys:this.keys},this.transaction.changed.get(t).has(null)){let s=null;const c=()=>{s&&o.push(s)};for(let l=t._start;l!==null;l=l.right)l.deleted?this.deletes(l)&&!this.adds(l)&&((s===null||s.delete===void 0)&&(c(),s={delete:0}),s.delete+=l.length,i.add(l)):this.adds(l)?((s===null||s.insert===void 0)&&(c(),s={insert:[]}),s.insert=s.insert.concat(l.content.getContent()),r.add(l)):((s===null||s.retain===void 0)&&(c(),s={retain:0}),s.retain+=l.length);s!==null&&s.retain===void 0&&c()}this._changes=e}return e}}const pM=(n,e)=>{const t=[];for(;e._item!==null&&e!==n;){if(e._item.parentSub!==null)t.unshift(e._item.parentSub);else{let r=0,i=e._item.parent._start;for(;i!==e._item&&i!==null;)!i.deleted&&i.countable&&(r+=i.length),i=i.right;t.unshift(r)}e=e._item.parent}return t},wt=()=>{G7("Invalid access: Add Yjs type to a document before reading data.")},qE=80;let Rm=0;class gM{constructor(e,t){e.marker=!0,this.p=e,this.index=t,this.timestamp=Rm++}}const mM=n=>{n.timestamp=Rm++},jE=(n,e,t)=>{n.p.marker=!1,n.p=e,e.marker=!0,n.index=t,n.timestamp=Rm++},yM=(n,e,t)=>{if(n.length>=qE){const r=n.reduce((i,o)=>i.timestamp<o.timestamp?i:o);return jE(r,e,t),r}else{const r=new gM(e,t);return n.push(r),r}},Bl=(n,e)=>{if(n._start===null||e===0||n._searchMarker===null)return null;const t=n._searchMarker.length===0?null:n._searchMarker.reduce((o,a)=>Xs(e-o.index)<Xs(e-a.index)?o:a);let r=n._start,i=0;for(t!==null&&(r=t.p,i=t.index,mM(t));r.right!==null&&i<e;){if(!r.deleted&&r.countable){if(e<i+r.length)break;i+=r.length}r=r.right}for(;r.left!==null&&i>e;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);for(;r.left!==null&&r.left.id.client===r.id.client&&r.left.id.clock+r.left.length===r.id.clock;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);return t!==null&&Xs(t.index-i)<r.parent.length/qE?(jE(t,r,i),t):yM(n._searchMarker,r,i)},xa=(n,e,t)=>{for(let r=n.length-1;r>=0;r--){const i=n[r];if(t>0){let o=i.p;for(o.marker=!1;o&&(o.deleted||!o.countable);)o=o.left,o&&!o.deleted&&o.countable&&(i.index-=o.length);if(o===null||o.marker===!0){n.splice(r,1);continue}i.p=o,o.marker=!0}(e<i.index||t>0&&e===i.index)&&(i.index=po(e,i.index+t))}},Ml=(n,e,t)=>{const r=n,i=e.changedParentTypes;for(;ho(i,n,()=>[]).push(t),n._item!==null;)n=n._item.parent;ME(r._eH,t,e)};class yt{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=cx(),this._dEH=cx(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(e,t){this.doc=e,this._item=t}_copy(){throw Sn()}clone(){throw Sn()}_write(e){}get _first(){let e=this._start;for(;e!==null&&e.deleted;)e=e.right;return e}_callObserver(e,t){!e.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(e){lx(this._eH,e)}observeDeep(e){lx(this._dEH,e)}unobserve(e){ux(this._eH,e)}unobserveDeep(e){ux(this._dEH,e)}toJSON(){}}const zE=(n,e,t)=>{n.doc??wt(),e<0&&(e=n._length+e),t<0&&(t=n._length+t);let r=t-e;const i=[];let o=n._start;for(;o!==null&&r>0;){if(o.countable&&!o.deleted){const a=o.content.getContent();if(a.length<=e)e-=a.length;else{for(let s=e;s<a.length&&r>0;s++)i.push(a[s]),r--;e=0}}o=o.right}return i},$E=n=>{n.doc??wt();const e=[];let t=n._start;for(;t!==null;){if(t.countable&&!t.deleted){const r=t.content.getContent();for(let i=0;i<r.length;i++)e.push(r[i])}t=t.right}return e},Da=(n,e)=>{let t=0,r=n._start;for(n.doc??wt();r!==null;){if(r.countable&&!r.deleted){const i=r.content.getContent();for(let o=0;o<i.length;o++)e(i[o],t++,n)}r=r.right}},VE=(n,e)=>{const t=[];return Da(n,(r,i)=>{t.push(e(r,i,n))}),t},bM=n=>{let e=n._start,t=null,r=0;return{[Symbol.iterator](){return this},next:()=>{if(t===null){for(;e!==null&&e.deleted;)e=e.right;if(e===null)return{done:!0,value:void 0};t=e.content.getContent(),r=0,e=e.right}const i=t[r++];return t.length<=r&&(t=null),{done:!1,value:i}}}},HE=(n,e)=>{n.doc??wt();const t=Bl(n,e);let r=n._start;for(t!==null&&(r=t.p,e-=t.index);r!==null;r=r.right)if(!r.deleted&&r.countable){if(e<r.length)return r.content.getContent()[e];e-=r.length}},$c=(n,e,t,r)=>{let i=t;const o=n.doc,a=o.clientID,s=o.store,c=t===null?e._start:t.right;let l=[];const u=()=>{l.length>0&&(i=new Dt(Ze(a,Bt(s,a)),i,i&&i.lastId,c,c&&c.id,e,null,new io(l)),i.integrate(n,0),l=[])};r.forEach(f=>{if(f===null)l.push(f);else switch(f.constructor){case Number:case Object:case Boolean:case Array:case String:l.push(f);break;default:switch(u(),f.constructor){case Uint8Array:case ArrayBuffer:i=new Dt(Ze(a,Bt(s,a)),i,i&&i.lastId,c,c&&c.id,e,null,new Wl(new Uint8Array(f))),i.integrate(n,0);break;case Na:i=new Dt(Ze(a,Bt(s,a)),i,i&&i.lastId,c,c&&c.id,e,null,new Ll(f)),i.integrate(n,0);break;default:if(f instanceof yt)i=new Dt(Ze(a,Bt(s,a)),i,i&&i.lastId,c,c&&c.id,e,null,new $r(f)),i.integrate(n,0);else throw new Error("Unexpected content type in insert operation")}}}),u()},XE=()=>no("Length exceeded!"),GE=(n,e,t,r)=>{if(t>e._length)throw XE();if(t===0)return e._searchMarker&&xa(e._searchMarker,t,r.length),$c(n,e,null,r);const i=t,o=Bl(e,t);let a=e._start;for(o!==null&&(a=o.p,t-=o.index,t===0&&(a=a.prev,t+=a&&a.countable&&!a.deleted?a.length:0));a!==null;a=a.right)if(!a.deleted&&a.countable){if(t<=a.length){t<a.length&&Br(n,Ze(a.id.client,a.id.clock+t));break}t-=a.length}return e._searchMarker&&xa(e._searchMarker,i,r.length),$c(n,e,a,r)},vM=(n,e,t)=>{let i=(e._searchMarker||[]).reduce((o,a)=>a.index>o.index?a:o,{index:0,p:e._start}).p;if(i)for(;i.right;)i=i.right;return $c(n,e,i,t)},KE=(n,e,t,r)=>{if(r===0)return;const i=t,o=r,a=Bl(e,t);let s=e._start;for(a!==null&&(s=a.p,t-=a.index);s!==null&&t>0;s=s.right)!s.deleted&&s.countable&&(t<s.length&&Br(n,Ze(s.id.client,s.id.clock+t)),t-=s.length);for(;r>0&&s!==null;)s.deleted||(r<s.length&&Br(n,Ze(s.id.client,s.id.clock+r)),s.delete(n),r-=s.length),s=s.right;if(r>0)throw XE();e._searchMarker&&xa(e._searchMarker,i,-o+r)},Vc=(n,e,t)=>{const r=e._map.get(t);r!==void 0&&r.delete(n)},Nm=(n,e,t,r)=>{const i=e._map.get(t)||null,o=n.doc,a=o.clientID;let s;if(r==null)s=new io([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:s=new io([r]);break;case Uint8Array:s=new Wl(r);break;case Na:s=new Ll(r);break;default:if(r instanceof yt)s=new $r(r);else throw new Error("Unexpected content type")}new Dt(Ze(a,Bt(o.store,a)),i,i&&i.lastId,null,null,e,t,s).integrate(n,0)},Im=(n,e)=>{n.doc??wt();const t=n._map.get(e);return t!==void 0&&!t.deleted?t.content.getContent()[t.length-1]:void 0},JE=n=>{const e={};return n.doc??wt(),n._map.forEach((t,r)=>{t.deleted||(e[r]=t.content.getContent()[t.length-1])}),e},ZE=(n,e)=>{n.doc??wt();const t=n._map.get(e);return t!==void 0&&!t.deleted},xM=(n,e)=>{const t={};return n._map.forEach((r,i)=>{let o=r;for(;o!==null&&(!e.sv.has(o.id.client)||o.id.clock>=(e.sv.get(o.id.client)||0));)o=o.left;o!==null&&Bi(o,e)&&(t[i]=o.content.getContent()[o.length-1])}),t},ms=n=>(n.doc??wt(),K7(n._map.entries(),e=>!e[1].deleted));class DM extends Il{}class Ko extends yt{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(e){const t=new Ko;return t.push(e),t}_integrate(e,t){super._integrate(e,t),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Ko}clone(){const e=new Ko;return e.insert(0,this.toArray().map(t=>t instanceof yt?t.clone():t)),e}get length(){return this.doc??wt(),this._length}_callObserver(e,t){super._callObserver(e,t),Ml(this,e,new DM(this,e))}insert(e,t){this.doc!==null?Je(this.doc,r=>{GE(r,this,e,t)}):this._prelimContent.splice(e,0,...t)}push(e){this.doc!==null?Je(this.doc,t=>{vM(t,this,e)}):this._prelimContent.push(...e)}unshift(e){this.insert(0,e)}delete(e,t=1){this.doc!==null?Je(this.doc,r=>{KE(r,this,e,t)}):this._prelimContent.splice(e,t)}get(e){return HE(this,e)}toArray(){return $E(this)}slice(e=0,t=this.length){return zE(this,e,t)}toJSON(){return this.map(e=>e instanceof yt?e.toJSON():e)}map(e){return VE(this,e)}forEach(e){Da(this,e)}[Symbol.iterator](){return bM(this)}_write(e){e.writeTypeRef(FM)}}class wM extends Il{constructor(e,t,r){super(e,t),this.keysChanged=r}}class Hc extends yt{constructor(e){super(),this._prelimContent=null,e===void 0?this._prelimContent=new Map:this._prelimContent=new Map(e)}_integrate(e,t){super._integrate(e,t),this._prelimContent.forEach((r,i)=>{this.set(i,r)}),this._prelimContent=null}_copy(){return new Hc}clone(){const e=new Hc;return this.forEach((t,r)=>{e.set(r,t instanceof yt?t.clone():t)}),e}_callObserver(e,t){Ml(this,e,new wM(this,e,t))}toJSON(){this.doc??wt();const e={};return this._map.forEach((t,r)=>{if(!t.deleted){const i=t.content.getContent()[t.length-1];e[r]=i instanceof yt?i.toJSON():i}}),e}get size(){return[...ms(this)].length}keys(){return wh(ms(this),e=>e[0])}values(){return wh(ms(this),e=>e[1].content.getContent()[e[1].length-1])}entries(){return wh(ms(this),e=>[e[0],e[1].content.getContent()[e[1].length-1]])}forEach(e){this.doc??wt(),this._map.forEach((t,r)=>{t.deleted||e(t.content.getContent()[t.length-1],r,this)})}[Symbol.iterator](){return this.entries()}delete(e){this.doc!==null?Je(this.doc,t=>{Vc(t,this,e)}):this._prelimContent.delete(e)}set(e,t){return this.doc!==null?Je(this.doc,r=>{Nm(r,this,e,t)}):this._prelimContent.set(e,t),t}get(e){return Im(this,e)}has(e){return ZE(this,e)}clear(){this.doc!==null?Je(this.doc,e=>{this.forEach(function(t,r,i){Vc(e,i,r)})}):this._prelimContent.clear()}_write(e){e.writeTypeRef(OM)}}const Cr=(n,e)=>n===e||typeof n=="object"&&typeof e=="object"&&n&&e&&F7(n,e);class kp{constructor(e,t,r,i){this.left=e,this.right=t,this.index=r,this.currentAttributes=i}forward(){switch(this.right===null&&Ir(),this.right.content.constructor){case dt:this.right.deleted||go(this.currentAttributes,this.right.content);break;default:this.right.deleted||(this.index+=this.right.length);break}this.left=this.right,this.right=this.right.right}}const gx=(n,e,t)=>{for(;e.right!==null&&t>0;){switch(e.right.content.constructor){case dt:e.right.deleted||go(e.currentAttributes,e.right.content);break;default:e.right.deleted||(t<e.right.length&&Br(n,Ze(e.right.id.client,e.right.id.clock+t)),e.index+=e.right.length,t-=e.right.length);break}e.left=e.right,e.right=e.right.right}return e},ys=(n,e,t,r)=>{const i=new Map,o=r?Bl(e,t):null;if(o){const a=new kp(o.p.left,o.p,o.index,i);return gx(n,a,t-o.index)}else{const a=new kp(null,e._start,0,i);return gx(n,a,t)}},YE=(n,e,t,r)=>{for(;t.right!==null&&(t.right.deleted===!0||t.right.content.constructor===dt&&Cr(r.get(t.right.content.key),t.right.content.value));)t.right.deleted||r.delete(t.right.content.key),t.forward();const i=n.doc,o=i.clientID;r.forEach((a,s)=>{const c=t.left,l=t.right,u=new Dt(Ze(o,Bt(i.store,o)),c,c&&c.lastId,l,l&&l.id,e,null,new dt(s,a));u.integrate(n,0),t.right=u,t.forward()})},go=(n,e)=>{const{key:t,value:r}=e;r===null?n.delete(t):n.set(t,r)},QE=(n,e)=>{for(;n.right!==null;){if(!(n.right.deleted||n.right.content.constructor===dt&&Cr(e[n.right.content.key]??null,n.right.content.value)))break;n.forward()}},eC=(n,e,t,r)=>{const i=n.doc,o=i.clientID,a=new Map;for(const s in r){const c=r[s],l=t.currentAttributes.get(s)??null;if(!Cr(l,c)){a.set(s,l);const{left:u,right:f}=t;t.right=new Dt(Ze(o,Bt(i.store,o)),u,u&&u.lastId,f,f&&f.id,e,null,new dt(s,c)),t.right.integrate(n,0),t.forward()}}return a},Eh=(n,e,t,r,i)=>{t.currentAttributes.forEach((d,h)=>{i[h]===void 0&&(i[h]=null)});const o=n.doc,a=o.clientID;QE(t,i);const s=eC(n,e,t,i),c=r.constructor===String?new er(r):r instanceof yt?new $r(r):new mo(r);let{left:l,right:u,index:f}=t;e._searchMarker&&xa(e._searchMarker,t.index,c.getLength()),u=new Dt(Ze(a,Bt(o.store,a)),l,l&&l.lastId,u,u&&u.id,e,null,c),u.integrate(n,0),t.right=u,t.index=f,t.forward(),YE(n,e,t,s)},mx=(n,e,t,r,i)=>{const o=n.doc,a=o.clientID;QE(t,i);const s=eC(n,e,t,i);e:for(;t.right!==null&&(r>0||s.size>0&&(t.right.deleted||t.right.content.constructor===dt));){if(!t.right.deleted)switch(t.right.content.constructor){case dt:{const{key:c,value:l}=t.right.content,u=i[c];if(u!==void 0){if(Cr(u,l))s.delete(c);else{if(r===0)break e;s.set(c,l)}t.right.delete(n)}else t.currentAttributes.set(c,l);break}default:r<t.right.length&&Br(n,Ze(t.right.id.client,t.right.id.clock+r)),r-=t.right.length;break}t.forward()}if(r>0){let c="";for(;r>0;r--)c+=`
|
|
265
|
+
`;t.right=new Dt(Ze(a,Bt(o.store,a)),t.left,t.left&&t.left.lastId,t.right,t.right&&t.right.id,e,null,new er(c)),t.right.integrate(n,0),t.forward()}YE(n,e,t,s)},tC=(n,e,t,r,i)=>{let o=e;const a=Cn();for(;o&&(!o.countable||o.deleted);){if(!o.deleted&&o.content.constructor===dt){const l=o.content;a.set(l.key,l)}o=o.right}let s=0,c=!1;for(;e!==o;){if(t===e&&(c=!0),!e.deleted){const l=e.content;switch(l.constructor){case dt:{const{key:u,value:f}=l,d=r.get(u)??null;(a.get(u)!==l||d===f)&&(e.delete(n),s++,!c&&(i.get(u)??null)===f&&d!==f&&(d===null?i.delete(u):i.set(u,d))),!c&&!e.deleted&&go(i,l);break}}}e=e.right}return s},_M=(n,e)=>{for(;e&&e.right&&(e.right.deleted||!e.right.countable);)e=e.right;const t=new Set;for(;e&&(e.deleted||!e.countable);){if(!e.deleted&&e.content.constructor===dt){const r=e.content.key;t.has(r)?e.delete(n):t.add(r)}e=e.left}},TM=n=>{let e=0;return Je(n.doc,t=>{let r=n._start,i=n._start,o=Cn();const a=Tp(o);for(;i;){if(i.deleted===!1)switch(i.content.constructor){case dt:go(a,i.content);break;default:e+=tC(t,r,i,o,a),o=Tp(a),r=i;break}i=i.right}}),e},EM=n=>{const e=new Set,t=n.doc;for(const[r,i]of n.afterState.entries()){const o=n.beforeState.get(r)||0;i!==o&&LE(n,t.store.clients.get(r),o,i,a=>{!a.deleted&&a.content.constructor===dt&&a.constructor!==Dr&&e.add(a.parent)})}Je(t,r=>{OE(n,n.deleteSet,i=>{if(i instanceof Dr||!i.parent._hasFormatting||e.has(i.parent))return;const o=i.parent;i.content.constructor===dt?e.add(o):_M(r,i)});for(const i of e)TM(i)})},yx=(n,e,t)=>{const r=t,i=Tp(e.currentAttributes),o=e.right;for(;t>0&&e.right!==null;){if(e.right.deleted===!1)switch(e.right.content.constructor){case $r:case mo:case er:t<e.right.length&&Br(n,Ze(e.right.id.client,e.right.id.clock+t)),t-=e.right.length,e.right.delete(n);break}e.forward()}o&&tC(n,o,e.right,i,e.currentAttributes);const a=(e.left||e.right).parent;return a._searchMarker&&xa(a._searchMarker,e.index,-r+t),e};class CM extends Il{constructor(e,t,r){super(e,t),this.childListChanged=!1,this.keysChanged=new Set,r.forEach(i=>{i===null?this.childListChanged=!0:this.keysChanged.add(i)})}get changes(){if(this._changes===null){const e={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=e}return this._changes}get delta(){if(this._delta===null){const e=this.target.doc,t=[];Je(e,r=>{const i=new Map,o=new Map;let a=this.target._start,s=null;const c={};let l="",u=0,f=0;const d=()=>{if(s!==null){let h=null;switch(s){case"delete":f>0&&(h={delete:f}),f=0;break;case"insert":(typeof l=="object"||l.length>0)&&(h={insert:l},i.size>0&&(h.attributes={},i.forEach((p,m)=>{p!==null&&(h.attributes[m]=p)}))),l="";break;case"retain":u>0&&(h={retain:u},A7(c)||(h.attributes=E7({},c))),u=0;break}h&&t.push(h),s=null}};for(;a!==null;){switch(a.content.constructor){case $r:case mo:this.adds(a)?this.deletes(a)||(d(),s="insert",l=a.content.getContent()[0],d()):this.deletes(a)?(s!=="delete"&&(d(),s="delete"),f+=1):a.deleted||(s!=="retain"&&(d(),s="retain"),u+=1);break;case er:this.adds(a)?this.deletes(a)||(s!=="insert"&&(d(),s="insert"),l+=a.content.str):this.deletes(a)?(s!=="delete"&&(d(),s="delete"),f+=a.length):a.deleted||(s!=="retain"&&(d(),s="retain"),u+=a.length);break;case dt:{const{key:h,value:p}=a.content;if(this.adds(a)){if(!this.deletes(a)){const m=i.get(h)??null;Cr(m,p)?p!==null&&a.delete(r):(s==="retain"&&d(),Cr(p,o.get(h)??null)?delete c[h]:c[h]=p)}}else if(this.deletes(a)){o.set(h,p);const m=i.get(h)??null;Cr(m,p)||(s==="retain"&&d(),c[h]=m)}else if(!a.deleted){o.set(h,p);const m=c[h];m!==void 0&&(Cr(m,p)?m!==null&&a.delete(r):(s==="retain"&&d(),p===null?delete c[h]:c[h]=p))}a.deleted||(s==="insert"&&d(),go(i,a.content));break}}a=a.right}for(d();t.length>0;){const h=t[t.length-1];if(h.retain!==void 0&&h.attributes===void 0)t.pop();else break}}),this._delta=t}return this._delta}}class wa extends yt{constructor(e){super(),this._pending=e!==void 0?[()=>this.insert(0,e)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this.doc??wt(),this._length}_integrate(e,t){super._integrate(e,t);try{this._pending.forEach(r=>r())}catch(r){console.error(r)}this._pending=null}_copy(){return new wa}clone(){const e=new wa;return e.applyDelta(this.toDelta()),e}_callObserver(e,t){super._callObserver(e,t);const r=new CM(this,e,t);Ml(this,e,r),!e.local&&this._hasFormatting&&(e._needFormattingCleanup=!0)}toString(){this.doc??wt();let e="",t=this._start;for(;t!==null;)!t.deleted&&t.countable&&t.content.constructor===er&&(e+=t.content.str),t=t.right;return e}toJSON(){return this.toString()}applyDelta(e,{sanitize:t=!0}={}){this.doc!==null?Je(this.doc,r=>{const i=new kp(null,this._start,0,new Map);for(let o=0;o<e.length;o++){const a=e[o];if(a.insert!==void 0){const s=!t&&typeof a.insert=="string"&&o===e.length-1&&i.right===null&&a.insert.slice(-1)===`
|
|
266
|
+
`?a.insert.slice(0,-1):a.insert;(typeof s!="string"||s.length>0)&&Eh(r,this,i,s,a.attributes||{})}else a.retain!==void 0?mx(r,this,i,a.retain,a.attributes||{}):a.delete!==void 0&&yx(r,i,a.delete)}}):this._pending.push(()=>this.applyDelta(e))}toDelta(e,t,r){this.doc??wt();const i=[],o=new Map,a=this.doc;let s="",c=this._start;function l(){if(s.length>0){const f={};let d=!1;o.forEach((p,m)=>{d=!0,f[m]=p});const h={insert:s};d&&(h.attributes=f),i.push(h),s=""}}const u=()=>{for(;c!==null;){if(Bi(c,e)||t!==void 0&&Bi(c,t))switch(c.content.constructor){case er:{const f=o.get("ychange");e!==void 0&&!Bi(c,e)?(f===void 0||f.user!==c.id.client||f.type!=="removed")&&(l(),o.set("ychange",r?r("removed",c.id):{type:"removed"})):t!==void 0&&!Bi(c,t)?(f===void 0||f.user!==c.id.client||f.type!=="added")&&(l(),o.set("ychange",r?r("added",c.id):{type:"added"})):f!==void 0&&(l(),o.delete("ychange")),s+=c.content.str;break}case $r:case mo:{l();const f={insert:c.content.getContent()[0]};if(o.size>0){const d={};f.attributes=d,o.forEach((h,p)=>{d[p]=h})}i.push(f);break}case dt:Bi(c,e)&&(l(),go(o,c.content));break}c=c.right}l()};return e||t?Je(a,f=>{e&&Ap(f,e),t&&Ap(f,t),u()},"cleanup"):u(),i}insert(e,t,r){if(t.length<=0)return;const i=this.doc;i!==null?Je(i,o=>{const a=ys(o,this,e,!r);r||(r={},a.currentAttributes.forEach((s,c)=>{r[c]=s})),Eh(o,this,a,t,r)}):this._pending.push(()=>this.insert(e,t,r))}insertEmbed(e,t,r){const i=this.doc;i!==null?Je(i,o=>{const a=ys(o,this,e,!r);Eh(o,this,a,t,r||{})}):this._pending.push(()=>this.insertEmbed(e,t,r||{}))}delete(e,t){if(t===0)return;const r=this.doc;r!==null?Je(r,i=>{yx(i,ys(i,this,e,!0),t)}):this._pending.push(()=>this.delete(e,t))}format(e,t,r){if(t===0)return;const i=this.doc;i!==null?Je(i,o=>{const a=ys(o,this,e,!1);a.right!==null&&mx(o,this,a,t,r)}):this._pending.push(()=>this.format(e,t,r))}removeAttribute(e){this.doc!==null?Je(this.doc,t=>{Vc(t,this,e)}):this._pending.push(()=>this.removeAttribute(e))}setAttribute(e,t){this.doc!==null?Je(this.doc,r=>{Nm(r,this,e,t)}):this._pending.push(()=>this.setAttribute(e,t))}getAttribute(e){return Im(this,e)}getAttributes(){return JE(this)}_write(e){e.writeTypeRef(RM)}}class Ch{constructor(e,t=()=>!0){this._filter=t,this._root=e,this._currentNode=e._start,this._firstCall=!0,e.doc??wt()}[Symbol.iterator](){return this}next(){let e=this._currentNode,t=e&&e.content&&e.content.type;if(e!==null&&(!this._firstCall||e.deleted||!this._filter(t)))do if(t=e.content.type,!e.deleted&&(t.constructor===_a||t.constructor===ro)&&t._start!==null)e=t._start;else for(;e!==null;)if(e.right!==null){e=e.right;break}else e.parent===this._root?e=null:e=e.parent._item;while(e!==null&&(e.deleted||!this._filter(e.content.type)));return this._firstCall=!1,e===null?{value:void 0,done:!0}:(this._currentNode=e,{value:e.content.type,done:!1})}}class ro extends yt{constructor(){super(),this._prelimContent=[]}get firstChild(){const e=this._first;return e?e.content.getContent()[0]:null}_integrate(e,t){super._integrate(e,t),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new ro}clone(){const e=new ro;return e.insert(0,this.toArray().map(t=>t instanceof yt?t.clone():t)),e}get length(){return this.doc??wt(),this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(e){return new Ch(this,e)}querySelector(e){e=e.toUpperCase();const r=new Ch(this,i=>i.nodeName&&i.nodeName.toUpperCase()===e).next();return r.done?null:r.value}querySelectorAll(e){return e=e.toUpperCase(),to(new Ch(this,t=>t.nodeName&&t.nodeName.toUpperCase()===e))}_callObserver(e,t){Ml(this,e,new SM(this,t,e))}toString(){return VE(this,e=>e.toString()).join("")}toJSON(){return this.toString()}toDOM(e=document,t={},r){const i=e.createDocumentFragment();return r!==void 0&&r._createAssociation(i,this),Da(this,o=>{i.insertBefore(o.toDOM(e,t,r),null)}),i}insert(e,t){this.doc!==null?Je(this.doc,r=>{GE(r,this,e,t)}):this._prelimContent.splice(e,0,...t)}insertAfter(e,t){if(this.doc!==null)Je(this.doc,r=>{const i=e&&e instanceof yt?e._item:e;$c(r,this,i,t)});else{const r=this._prelimContent,i=e===null?0:r.findIndex(o=>o===e)+1;if(i===0&&e!==null)throw no("Reference item not found");r.splice(i,0,...t)}}delete(e,t=1){this.doc!==null?Je(this.doc,r=>{KE(r,this,e,t)}):this._prelimContent.splice(e,t)}toArray(){return $E(this)}push(e){this.insert(this.length,e)}unshift(e){this.insert(0,e)}get(e){return HE(this,e)}slice(e=0,t=this.length){return zE(this,e,t)}forEach(e){Da(this,e)}_write(e){e.writeTypeRef(IM)}}class _a extends ro{constructor(e="UNDEFINED"){super(),this.nodeName=e,this._prelimAttrs=new Map}get nextSibling(){const e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){const e=this._item?this._item.prev:null;return e?e.content.type:null}_integrate(e,t){super._integrate(e,t),this._prelimAttrs.forEach((r,i)=>{this.setAttribute(i,r)}),this._prelimAttrs=null}_copy(){return new _a(this.nodeName)}clone(){const e=new _a(this.nodeName),t=this.getAttributes();return S7(t,(r,i)=>{typeof r=="string"&&e.setAttribute(i,r)}),e.insert(0,this.toArray().map(r=>r instanceof yt?r.clone():r)),e}toString(){const e=this.getAttributes(),t=[],r=[];for(const s in e)r.push(s);r.sort();const i=r.length;for(let s=0;s<i;s++){const c=r[s];t.push(c+'="'+e[c]+'"')}const o=this.nodeName.toLocaleLowerCase(),a=t.length>0?" "+t.join(" "):"";return`<${o}${a}>${super.toString()}</${o}>`}removeAttribute(e){this.doc!==null?Je(this.doc,t=>{Vc(t,this,e)}):this._prelimAttrs.delete(e)}setAttribute(e,t){this.doc!==null?Je(this.doc,r=>{Nm(r,this,e,t)}):this._prelimAttrs.set(e,t)}getAttribute(e){return Im(this,e)}hasAttribute(e){return ZE(this,e)}getAttributes(e){return e?xM(this,e):JE(this)}toDOM(e=document,t={},r){const i=e.createElement(this.nodeName),o=this.getAttributes();for(const a in o){const s=o[a];typeof s=="string"&&i.setAttribute(a,s)}return Da(this,a=>{i.appendChild(a.toDOM(e,t,r))}),r!==void 0&&r._createAssociation(i,this),i}_write(e){e.writeTypeRef(NM),e.writeKey(this.nodeName)}}class SM extends Il{constructor(e,t,r){super(e,r),this.childListChanged=!1,this.attributesChanged=new Set,t.forEach(i=>{i===null?this.childListChanged=!0:this.attributesChanged.add(i)})}}class Ta extends wa{get nextSibling(){const e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){const e=this._item?this._item.prev:null;return e?e.content.type:null}_copy(){return new Ta}clone(){const e=new Ta;return e.applyDelta(this.toDelta()),e}toDOM(e=document,t,r){const i=e.createTextNode(this.toString());return r!==void 0&&r._createAssociation(i,this),i}toString(){return this.toDelta().map(e=>{const t=[];for(const i in e.attributes){const o=[];for(const a in e.attributes[i])o.push({key:a,value:e.attributes[i][a]});o.sort((a,s)=>a.key<s.key?-1:1),t.push({nodeName:i,attrs:o})}t.sort((i,o)=>i.nodeName<o.nodeName?-1:1);let r="";for(let i=0;i<t.length;i++){const o=t[i];r+=`<${o.nodeName}`;for(let a=0;a<o.attrs.length;a++){const s=o.attrs[a];r+=` ${s.key}="${s.value}"`}r+=">"}r+=e.insert;for(let i=t.length-1;i>=0;i--)r+=`</${t[i].nodeName}>`;return r}).join("")}toJSON(){return this.toString()}_write(e){e.writeTypeRef(BM)}}class nC{constructor(e,t){this.id=e,this.length=t}get deleted(){throw Sn()}mergeWith(e){return!1}write(e,t,r){throw Sn()}integrate(e,t){throw Sn()}}const AM=0;class Dr extends nC{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor!==e.constructor?!1:(this.length+=e.length,!0)}integrate(e,t){t>0&&(this.id.clock+=t,this.length-=t),WE(e.doc.store,this)}write(e,t){e.writeInfo(AM),e.writeLen(this.length-t)}getMissing(e,t){return null}}class Wl{constructor(e){this.content=e}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new Wl(this.content)}splice(e){throw Sn()}mergeWith(e){return!1}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeBuf(this.content)}getRef(){return 3}}class Xc{constructor(e){this.len=e}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new Xc(this.len)}splice(e){const t=new Xc(this.len-e);return this.len=e,t}mergeWith(e){return this.len+=e.len,!0}integrate(e,t){IE(e.deleteSet,t.id.client,t.id.clock,this.len),t.markDeleted()}delete(e){}gc(e){}write(e,t){e.writeLen(this.len-t)}getRef(){return 1}}const UM=(n,e)=>new Na({guid:n,...e,shouldLoad:e.shouldLoad||e.autoLoad||!1});class Ll{constructor(e){e._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=e;const t={};this.opts=t,e.gc||(t.gc=!1),e.autoLoad&&(t.autoLoad=!0),e.meta!==null&&(t.meta=e.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new Ll(UM(this.doc.guid,this.opts))}splice(e){throw Sn()}mergeWith(e){return!1}integrate(e,t){this.doc._item=t,e.subdocsAdded.add(this.doc),this.doc.shouldLoad&&e.subdocsLoaded.add(this.doc)}delete(e){e.subdocsAdded.has(this.doc)?e.subdocsAdded.delete(this.doc):e.subdocsRemoved.add(this.doc)}gc(e){}write(e,t){e.writeString(this.doc.guid),e.writeAny(this.opts)}getRef(){return 9}}class mo{constructor(e){this.embed=e}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new mo(this.embed)}splice(e){throw Sn()}mergeWith(e){return!1}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeJSON(this.embed)}getRef(){return 5}}class dt{constructor(e,t){this.key=e,this.value=t}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new dt(this.key,this.value)}splice(e){throw Sn()}mergeWith(e){return!1}integrate(e,t){const r=t.parent;r._searchMarker=null,r._hasFormatting=!0}delete(e){}gc(e){}write(e,t){e.writeKey(this.key),e.writeJSON(this.value)}getRef(){return 6}}const kM=jc("node_env")==="development";class io{constructor(e){this.arr=e,kM&&TE(e)}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new io(this.arr)}splice(e){const t=new io(this.arr.slice(e));return this.arr=this.arr.slice(0,e),t}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,t){}delete(e){}gc(e){}write(e,t){const r=this.arr.length;e.writeLen(r-t);for(let i=t;i<r;i++){const o=this.arr[i];e.writeAny(o)}}getRef(){return 8}}class er{constructor(e){this.str=e}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new er(this.str)}splice(e){const t=new er(this.str.slice(e));this.str=this.str.slice(0,e);const r=this.str.charCodeAt(e-1);return r>=55296&&r<=56319&&(this.str=this.str.slice(0,e-1)+"�",t.str="�"+t.str.slice(1)),t}mergeWith(e){return this.str+=e.str,!0}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeString(t===0?this.str:this.str.slice(t))}getRef(){return 4}}const FM=0,OM=1,RM=2,NM=3,IM=4,BM=6;class $r{constructor(e){this.type=e}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new $r(this.type._copy())}splice(e){throw Sn()}mergeWith(e){return!1}integrate(e,t){this.type._integrate(e.doc,t)}delete(e){let t=this.type._start;for(;t!==null;)t.deleted?t.id.clock<(e.beforeState.get(t.id.client)||0)&&e._mergeStructs.push(t):t.delete(e),t=t.right;this.type._map.forEach(r=>{r.deleted?r.id.clock<(e.beforeState.get(r.id.client)||0)&&e._mergeStructs.push(r):r.delete(e)}),e.changed.delete(this.type)}gc(e){let t=this.type._start;for(;t!==null;)t.gc(e,!0),t=t.right;this.type._start=null,this.type._map.forEach(r=>{for(;r!==null;)r.gc(e,!0),r=r.left}),this.type._map=new Map}write(e,t){this.type._write(e)}getRef(){return 7}}const rC=(n,e,t)=>{const{client:r,clock:i}=e.id,o=new Dt(Ze(r,i+t),e,Ze(r,i+t-1),e.right,e.rightOrigin,e.parent,e.parentSub,e.content.splice(t));return e.deleted&&o.markDeleted(),e.keep&&(o.keep=!0),e.redone!==null&&(o.redone=Ze(e.redone.client,e.redone.clock+t)),e.right=o,o.right!==null&&(o.right.left=o),n._mergeStructs.push(o),o.parentSub!==null&&o.right===null&&o.parent._map.set(o.parentSub,o),e.length=t,o};class Dt extends nC{constructor(e,t,r,i,o,a,s,c){super(e,c.getLength()),this.origin=r,this.left=t,this.right=i,this.rightOrigin=o,this.parent=a,this.parentSub=s,this.redone=null,this.content=c,this.info=this.content.isCountable()?Yv:0}set marker(e){(this.info&vh)>0!==e&&(this.info^=vh)}get marker(){return(this.info&vh)>0}get keep(){return(this.info&Zv)>0}set keep(e){this.keep!==e&&(this.info^=Zv)}get countable(){return(this.info&Yv)>0}get deleted(){return(this.info&bh)>0}set deleted(e){this.deleted!==e&&(this.info^=bh)}markDeleted(){this.info|=bh}getMissing(e,t){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=Bt(t,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=Bt(t,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===Ks&&this.id.client!==this.parent.client&&this.parent.clock>=Bt(t,this.parent.client))return this.parent.client;if(this.origin&&(this.left=fx(e,t,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=Br(e,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===Dr||this.right&&this.right.constructor===Dr)this.parent=null;else if(!this.parent)this.left&&this.left.constructor===Dt&&(this.parent=this.left.parent,this.parentSub=this.left.parentSub),this.right&&this.right.constructor===Dt&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===Ks){const r=Th(t,this.parent);r.constructor===Dr?this.parent=null:this.parent=r.content.type}return null}integrate(e,t){if(t>0&&(this.id.clock+=t,this.left=fx(e,e.doc.store,Ze(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(t),this.length-=t),this.parent){if(!this.left&&(!this.right||this.right.left!==null)||this.left&&this.left.right!==this.right){let r=this.left,i;if(r!==null)i=r.right;else if(this.parentSub!==null)for(i=this.parent._map.get(this.parentSub)||null;i!==null&&i.left!==null;)i=i.left;else i=this.parent._start;const o=new Set,a=new Set;for(;i!==null&&i!==this.right;){if(a.add(i),o.add(i),ps(this.origin,i.origin)){if(i.id.client<this.id.client)r=i,o.clear();else if(ps(this.rightOrigin,i.rightOrigin))break}else if(i.origin!==null&&a.has(Th(e.doc.store,i.origin)))o.has(Th(e.doc.store,i.origin))||(r=i,o.clear());else break;i=i.right}this.left=r}if(this.left!==null){const r=this.left.right;this.right=r,this.left.right=this}else{let r;if(this.parentSub!==null)for(r=this.parent._map.get(this.parentSub)||null;r!==null&&r.left!==null;)r=r.left;else r=this.parent._start,this.parent._start=this;this.right=r}this.right!==null?this.right.left=this:this.parentSub!==null&&(this.parent._map.set(this.parentSub,this),this.left!==null&&this.left.delete(e)),this.parentSub===null&&this.countable&&!this.deleted&&(this.parent._length+=this.length),WE(e.doc.store,this),this.content.integrate(e,this),hx(e,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(e)}else new Dr(this.id,this.length).integrate(e,0)}get next(){let e=this.right;for(;e!==null&&e.deleted;)e=e.right;return e}get prev(){let e=this.left;for(;e!==null&&e.deleted;)e=e.left;return e}get lastId(){return this.length===1?this.id:Ze(this.id.client,this.id.clock+this.length-1)}mergeWith(e){if(this.constructor===e.constructor&&ps(e.origin,this.lastId)&&this.right===e&&ps(this.rightOrigin,e.rightOrigin)&&this.id.client===e.id.client&&this.id.clock+this.length===e.id.clock&&this.deleted===e.deleted&&this.redone===null&&e.redone===null&&this.content.constructor===e.content.constructor&&this.content.mergeWith(e.content)){const t=this.parent._searchMarker;return t&&t.forEach(r=>{r.p===e&&(r.p=this,!this.deleted&&this.countable&&(r.index-=this.length))}),e.keep&&(this.keep=!0),this.right=e.right,this.right!==null&&(this.right.left=this),this.length+=e.length,!0}return!1}delete(e){if(!this.deleted){const t=this.parent;this.countable&&this.parentSub===null&&(t._length-=this.length),this.markDeleted(),IE(e.deleteSet,this.id.client,this.id.clock,this.length),hx(e,t,this.parentSub),this.content.delete(e)}}gc(e,t){if(!this.deleted)throw Ir();this.content.gc(e),t?uM(e,this,new Dr(this.id,this.length)):this.content=new Xc(this.length)}write(e,t){const r=t>0?Ze(this.id.client,this.id.clock+t-1):this.origin,i=this.rightOrigin,o=this.parentSub,a=this.content.getRef()&QB|(r===null?0:qc)|(i===null?0:DE)|(o===null?0:YB);if(e.writeInfo(a),r!==null&&e.writeLeftID(r),i!==null&&e.writeRightID(i),r===null&&i===null){const s=this.parent;if(s._item!==void 0){const c=s._item;if(c===null){const l=va(s);e.writeParentInfo(!0),e.writeString(l)}else e.writeParentInfo(!1),e.writeLeftID(c.id)}else s.constructor===String?(e.writeParentInfo(!0),e.writeString(s)):s.constructor===Ks?(e.writeParentInfo(!1),e.writeLeftID(s)):Ir();o!==null&&e.writeString(o)}this.content.write(e,t)}}const iC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},oC="__ $YJS$ __";iC[oC]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438");iC[oC]=!0;const MM=new tr("y-sync");new tr("y-undo");new tr("yjs-cursor");const WM=(n,e,t)=>{if(n===0)return _h(e,0,-1);let r=e._first===null?null:e._first.content.type;for(;r!==null&&e!==r;){if(r instanceof Ta){if(r._length>=n)return _h(r,n,-1);if(n-=r._length,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{do r=r._item===null?null:r._item.parent,n--;while(r!==e&&r!==null&&r._item!==null&&r._item.next===null);r!==null&&r!==e&&(r=r._item===null?null:r._item.next.content.type)}}else{const i=(t.get(r)||{nodeSize:0}).nodeSize;if(r._first!==null&&n<i)r=r._first.content.type,n--;else{if(n===1&&r._length===0&&i>1)return new zc(r._item===null?null:r._item.id,r._item===null?va(r):null,null);if(n-=i,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{if(n===0)return r=r._item===null?r:r._item.parent,new zc(r._item===null?null:r._item.id,r._item===null?va(r):null,null);do r=r._item.parent,n--;while(r!==e&&r._item.next===null);r!==e&&(r=r._item.next.content.type)}}}if(r===null)throw Ir();if(n===0&&r.constructor!==Ta&&r!==e)return LM(r._item.parent,r._item)}return _h(e,e._length,-1)},LM=(n,e)=>{let t=null,r=null;return n._item===null?r=va(n):t=Ze(n._item.id.client,n._item.id.clock),new zc(t,r,e.id)};exports.AllSelection=Ht;exports.CellSelection=Ye;exports.DOMParser=Fp;exports.DOMSerializer=hi;exports.Decoration=xt;exports.DecorationSet=Qe;exports.EditorState=Mi;exports.EditorView=I3;exports.Fragment=pe;exports.Node=pn;exports.NodeRange=Zo;exports.NodeSelection=Ae;exports.Plugin=pi;exports.PluginKey=tr;exports.ReplaceAroundStep=ut;exports.ReplaceStep=lt;exports.Schema=EC;exports.Selection=Fe;exports.SelectionRange=Mp;exports.Slice=_e;exports.TextSelection=Ie;exports.Transform=Bp;exports.Tweet=HB;exports.VisibilitySensor=JR;exports.absolutePositionToRelativePosition=WM;exports.addColumnAfter=PF;exports.addColumnBefore=LF;exports.addRowAfter=VF;exports.addRowBefore=$F;exports.b=L4;exports.canJoin=ao;exports.canSplit=Li;exports.clamp=u8;exports.clsx=Tn;exports.columnResizing=hO;exports.createParagraphNear=MD;exports.cva=P4;exports.d=M4;exports.debounce=hw;exports.deepEqual=E6;exports.deleteColumn=jF;exports.deleteRow=XF;exports.deleteSelection=Kp;exports.deleteTable=rO;exports.differenceBy=Tk;exports.dropCursor=gF;exports.exitCode=J3;exports.find=oF;exports.findWrapping=Np;exports.fixTables=Xw;exports.gapCursor=vF;exports.goToNextCell=nO;exports.history=pF;exports.i=tN;exports.isNumber=Ck;exports.joinBackward=kD;exports.joinDown=G3;exports.joinForward=ND;exports.joinPoint=Ip;exports.joinTextblockBackward=V3;exports.joinTextblockForward=H3;exports.joinUp=X3;exports.keymap=$3;exports.lift=K3;exports.liftEmptyBlock=WD;exports.liftListItem=cA;exports.liftTarget=oo;exports.mammoth=HR;exports.mergeCells=KF;exports.newlineInCode=BD;exports.redo=jw;exports.registerCustomProtocol=rF;exports.reset=nF;exports.selectNodeBackward=OD;exports.selectNodeForward=ID;exports.selectParentNode=Q3;exports.selectTextblockEnd=nA;exports.selectTextblockStart=tA;exports.setBlockType=iA;exports.setCellAttr=YF;exports.sinkListItem=fA;exports.splitCell=JF;exports.tableEditing=_O;exports.throttle=Vk;exports.toggleHeader=al;exports.toggleHeaderCell=eO;exports.tokenize=vg;exports.truncate=Kk;exports.twMerge=S4;exports.undo=qw;exports.wrapIn=rA;exports.wrapInList=oA;exports.x=W4;exports.ySyncPluginKey=MM;
|