aitu-app 0.9.0 → 0.9.2

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.
Files changed (59) hide show
  1. package/README.md +3 -3
  2. package/assets/{CanvasAudioPlayer-cp00LGgR.js → CanvasAudioPlayer-C_USx5uz.js} +1 -1
  3. package/assets/{ComicCreator-CAmJF3JX.js → ComicCreator-qGQaXp7h.js} +2 -2
  4. package/assets/DeferredAIInputBar-CPykEFYX.css +1 -0
  5. package/assets/DeferredAIInputBar-LmZGQCLT.js +107 -0
  6. package/assets/{DrawnixDeferredFeatures-DIznfzB7.js → DrawnixDeferredFeatures-Hy_-quZ1.js} +1 -1
  7. package/assets/{KnowledgeBaseContent-CxilHI-j.js → KnowledgeBaseContent-DSKNA70H.js} +8 -8
  8. package/assets/{MVCreator-ZrinzYPm.js → MVCreator-C3iClDLU.js} +12 -10
  9. package/assets/{ModelBenchmarkWorkbench-DbesnX6E.js → ModelBenchmarkWorkbench-BxwdcZ0q.js} +2 -2
  10. package/assets/{MusicAnalyzer-BzXD1qYH.js → MusicAnalyzer-f_T6_YPJ.js} +2 -2
  11. package/assets/{ParametersDropdown-DBQCDv3g.js → ParametersDropdown-CTSN3ClD.js} +1 -1
  12. package/assets/{PromptHistoryTool-CUCIE0Ld.js → PromptHistoryTool-DV-8RSdz.js} +2 -2
  13. package/assets/{ResizableDivider-CdfJF8GW.js → ResizableDivider-CUQBmPpx.js} +1 -1
  14. package/assets/TaskQueuePanel-CtjY1W4t.js +1 -0
  15. package/assets/{VideoAnalyzer-wtxorxD3.js → VideoAnalyzer-BBVBSONO.js} +3 -3
  16. package/assets/{VideoAnalyzer-C90c84gt.js → VideoAnalyzer-BmAjGvN8.js} +1 -1
  17. package/assets/{ai-chat-B5qFht2H.js → ai-chat-BO5vbKZW.js} +5 -5
  18. package/assets/{ai-generation-preferences-service-CvWbMxv3.js → ai-generation-preferences-service-ZmPTR-wz.js} +1 -1
  19. package/assets/{batch-image-generation-Bo3h_Eop.js → batch-image-generation-BLBSv-t6.js} +6 -6
  20. package/assets/{diagram-engines-C9ewAq_o.js → diagram-engines-CSzW_-6N.js} +2 -2
  21. package/assets/{editor-engines-CvxZrFyB.js → editor-engines-C573k8UM.js} +1 -1
  22. package/assets/{index-Dw6PsLbq.js → index-BT-rxxI3.js} +2 -2
  23. package/assets/{index-BCqdmg38.js → index-Dw_8lcIi.js} +1 -1
  24. package/assets/{index-BSlnQdcy.js → index-IHNaVKGH.js} +1 -1
  25. package/assets/{index-CjBeKr1R.js → index-N8asYyaz.js} +1 -1
  26. package/assets/{index-CylhK_f5.js → index-jxwTv7c1.js} +1 -1
  27. package/assets/{index.es-BKVY-J2g.js → index.es-BLXvmueB.js} +1 -1
  28. package/assets/{jspdf.es.min-BM9ML7Zw.js → jspdf.es.min-DxWvbkh4.js} +2 -2
  29. package/assets/{markdown-to-drawnix-COS1iVyq.js → markdown-to-drawnix-BVFYnimo.js} +2 -2
  30. package/assets/{mermaid-to-drawnix-oplawQO0.js → mermaid-to-drawnix-nGs2aeZ7.js} +2 -2
  31. package/assets/{model-benchmark-launcher-DD4vN0Ca.js → model-benchmark-launcher-DAWoSySc.js} +1 -1
  32. package/assets/{photo-wall-splitter-CbKqFOIV.js → photo-wall-splitter-CCUURzGk.js} +1 -1
  33. package/assets/{prompt-utils-7t-jk6n6.js → prompt-utils-MF_LILNU.js} +1 -1
  34. package/assets/{settings-dialog-D2yEWl8J.js → settings-dialog-Ac7R-_CG.js} +1 -1
  35. package/assets/{skill-dsl-parser-C-utRXFg.js → skill-dsl-parser-Do9iAYbB.js} +1 -1
  36. package/assets/{startup-app-DxX-P1pm.js → startup-app-eD_rQhSh.js} +531 -527
  37. package/assets/{task-sync-Dr7Nza2v.js → task-sync-BJVOunRa.js} +1 -1
  38. package/assets/{tool-windows-BIjc1zsU.js → tool-windows-CmgL3thd.js} +17 -17
  39. package/assets/ttd-dialog-B12v0SVY.js +6 -0
  40. package/assets/{ttd-dialog-submit-shortcut-yUk15rsg.js → ttd-dialog-submit-shortcut-C2lJygXA.js} +1 -1
  41. package/assets/useCharacters-BAKE4TeJ.js +2 -0
  42. package/assets/{useMediaViewer-CEvHYype.js → useMediaViewer-BGw5RkSR.js} +1 -1
  43. package/assets/{useWorkflowSubmission-Cxhdsl2b.js → useWorkflowSubmission-iAPmKke9.js} +6 -6
  44. package/assets/{video-recovery-service-CB8hyRf5.js → video-recovery-service-CW7bErP2.js} +1 -1
  45. package/assets/{workflow-generation-utils-JoRODaP7.js → workflow-generation-utils-DhIVnOHO.js} +2 -2
  46. package/assets/workflow-submission-service-Ce0cpj8E.js +4 -0
  47. package/changelog.json +18 -13
  48. package/idle-prefetch-manifest.json +306 -306
  49. package/manifest.json +3 -3
  50. package/package.json +1 -1
  51. package/precache-manifest.json +6 -6
  52. package/sw.js +1 -1
  53. package/version.json +6 -3
  54. package/assets/DeferredAIInputBar-CzMATNng.js +0 -107
  55. package/assets/DeferredAIInputBar-D_e6qG1y.css +0 -1
  56. package/assets/TaskQueuePanel-oLG4DAzJ.js +0 -1
  57. package/assets/ttd-dialog-CNSSc4wk.js +0 -6
  58. package/assets/useCharacters-DzXMuknh.js +0 -2
  59. package/assets/workflow-submission-service-BIGFW4s4.js +0 -4
@@ -1,4 +1,4 @@
1
- var F7=t=>{throw TypeError(t)};var Pv=(t,e,n)=>e.has(t)||F7("Cannot "+n);var U=(t,e,n)=>(Pv(t,e,"read from private field"),n?n.call(t):e.get(t)),ge=(t,e,n)=>e.has(t)?F7("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),te=(t,e,n,r)=>(Pv(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),s1=(t,e,n)=>(Pv(t,e,"access private method"),n);import{g as LH,_ as ee}from"./startup-runtime-DTmhLESk.js";import{d0 as Qy,d1 as DT,d2 as fu,d3 as ns,d4 as LT,d5 as GH,d6 as H7,d7 as BH,r as bo,y as zZ}from"./startup-app-DxX-P1pm.js";import{d as GT,p as Wo}from"./diagram-engines-C9ewAq_o.js";var xi=(t=>(t.docTypeError="docTypeError",t.contextNotFound="contextNotFound",t.timerNotFound="timerNotFound",t.ctxCallOutOfScope="ctxCallOutOfScope",t.createNodeInParserFail="createNodeInParserFail",t.stackOverFlow="stackOverFlow",t.parserMatchError="parserMatchError",t.serializerMatchError="serializerMatchError",t.getAtomFromSchemaFail="getAtomFromSchemaFail",t.expectDomTypeError="expectDomTypeError",t.callCommandBeforeEditorView="callCommandBeforeEditorView",t.missingRootElement="missingRootElement",t.missingNodeInSchema="missingNodeInSchema",t.missingMarkInSchema="missingMarkInSchema",t.ctxNotBind="ctxNotBind",t.missingYjsDoc="missingYjsDoc",t))(xi||{});class oo extends Error{constructor(e,n){super(n),this.name="MilkdownError",this.code=e}}const FH=(t,e)=>typeof e=="function"?"[Function]":e,by=t=>JSON.stringify(t,FH);function HH(t){return new oo(xi.docTypeError,`Doc type error, unsupported type: ${by(t)}`)}function KH(t){return new oo(xi.contextNotFound,`Context "${t}" not found, do you forget to inject it?`)}function JH(t){return new oo(xi.timerNotFound,`Timer "${t}" not found, do you forget to record it?`)}function yy(){return new oo(xi.ctxCallOutOfScope,"Should not call a context out of the plugin.")}function eK(t,e,n){const i=`Cannot create node for ${"name"in t?t.name:t}`,o=c=>{if(c==null)return"null";if(Array.isArray(c))return`[${c.map(o).join(", ")}]`;if(typeof c=="object")return"toJSON"in c&&typeof c.toJSON=="function"?JSON.stringify(c.toJSON()):"spec"in c?JSON.stringify(c.spec):JSON.stringify(c);if(typeof c=="string"||typeof c=="number"||typeof c=="boolean")return JSON.stringify(c);if(typeof c=="function")return`[Function: ${c.name||"anonymous"}]`;try{return String(c)}catch{return"[Unserializable]"}},a=["[Description]",i],s=["[Attributes]",e],l=["[Content]",(n??[]).map(c=>c?typeof c=="object"&&"type"in c?`${c}`:o(c):"null")],O=[a,s,l].reduce((c,[u,d])=>{const f=`${u}: ${o(d)}.`;return c.concat(f)},[]);return new oo(xi.createNodeInParserFail,O.join(`
1
+ var F7=t=>{throw TypeError(t)};var Pv=(t,e,n)=>e.has(t)||F7("Cannot "+n);var U=(t,e,n)=>(Pv(t,e,"read from private field"),n?n.call(t):e.get(t)),ge=(t,e,n)=>e.has(t)?F7("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),te=(t,e,n,r)=>(Pv(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),s1=(t,e,n)=>(Pv(t,e,"access private method"),n);import{g as LH,_ as ee}from"./startup-runtime-DTmhLESk.js";import{d0 as Qy,d1 as DT,d2 as fu,d3 as ns,d4 as LT,d5 as GH,d6 as H7,d7 as BH,r as bo,y as zZ}from"./startup-app-eD_rQhSh.js";import{d as GT,p as Wo}from"./diagram-engines-CSzW_-6N.js";var xi=(t=>(t.docTypeError="docTypeError",t.contextNotFound="contextNotFound",t.timerNotFound="timerNotFound",t.ctxCallOutOfScope="ctxCallOutOfScope",t.createNodeInParserFail="createNodeInParserFail",t.stackOverFlow="stackOverFlow",t.parserMatchError="parserMatchError",t.serializerMatchError="serializerMatchError",t.getAtomFromSchemaFail="getAtomFromSchemaFail",t.expectDomTypeError="expectDomTypeError",t.callCommandBeforeEditorView="callCommandBeforeEditorView",t.missingRootElement="missingRootElement",t.missingNodeInSchema="missingNodeInSchema",t.missingMarkInSchema="missingMarkInSchema",t.ctxNotBind="ctxNotBind",t.missingYjsDoc="missingYjsDoc",t))(xi||{});class oo extends Error{constructor(e,n){super(n),this.name="MilkdownError",this.code=e}}const FH=(t,e)=>typeof e=="function"?"[Function]":e,by=t=>JSON.stringify(t,FH);function HH(t){return new oo(xi.docTypeError,`Doc type error, unsupported type: ${by(t)}`)}function KH(t){return new oo(xi.contextNotFound,`Context "${t}" not found, do you forget to inject it?`)}function JH(t){return new oo(xi.timerNotFound,`Timer "${t}" not found, do you forget to record it?`)}function yy(){return new oo(xi.ctxCallOutOfScope,"Should not call a context out of the plugin.")}function eK(t,e,n){const i=`Cannot create node for ${"name"in t?t.name:t}`,o=c=>{if(c==null)return"null";if(Array.isArray(c))return`[${c.map(o).join(", ")}]`;if(typeof c=="object")return"toJSON"in c&&typeof c.toJSON=="function"?JSON.stringify(c.toJSON()):"spec"in c?JSON.stringify(c.spec):JSON.stringify(c);if(typeof c=="string"||typeof c=="number"||typeof c=="boolean")return JSON.stringify(c);if(typeof c=="function")return`[Function: ${c.name||"anonymous"}]`;try{return String(c)}catch{return"[Unserializable]"}},a=["[Description]",i],s=["[Attributes]",e],l=["[Content]",(n??[]).map(c=>c?typeof c=="object"&&"type"in c?`${c}`:o(c):"null")],O=[a,s,l].reduce((c,[u,d])=>{const f=`${u}: ${o(d)}.`;return c.concat(f)},[]);return new oo(xi.createNodeInParserFail,O.join(`
2
2
  `))}function CZ(){return new oo(xi.stackOverFlow,"Stack over flow, cannot pop on an empty stack.")}function tK(t){return new oo(xi.parserMatchError,`Cannot match target parser for node: ${by(t)}.`)}function nK(t){return new oo(xi.serializerMatchError,`Cannot match target serializer for node: ${by(t)}.`)}function rK(t,e){return new oo(xi.getAtomFromSchemaFail,`Cannot get ${t}: ${e} from schema.`)}function $a(t){return new oo(xi.expectDomTypeError,`Expect to be a dom, but get: ${by(t)}.`)}function wv(){return new oo(xi.callCommandBeforeEditorView,"You're trying to call a command before editor view initialized, make sure to get commandManager from ctx after editor view has been initialized")}function iK(t){return new oo(xi.missingNodeInSchema,`Missing node in schema, milkdown cannot find "${t}" in schema.`)}function oK(t){return new oo(xi.missingMarkInSchema,`Missing mark in schema, milkdown cannot find "${t}" in schema.`)}class qZ{constructor(){this.sliceMap=new Map,this.get=e=>{const n=typeof e=="string"?[...this.sliceMap.values()].find(r=>r.type.name===e):this.sliceMap.get(e.id);if(!n){const r=typeof e=="string"?e:e.name;throw KH(r)}return n},this.remove=e=>{const n=typeof e=="string"?[...this.sliceMap.values()].find(r=>r.type.name===e):this.sliceMap.get(e.id);n&&this.sliceMap.delete(n.type.id)},this.has=e=>typeof e=="string"?[...this.sliceMap.values()].some(n=>n.type.name===e):this.sliceMap.has(e.id)}}var ta,As,Dd,RZ;let aK=(RZ=class{constructor(e,n,r){ge(this,ta);ge(this,As);ge(this,Dd);te(this,ta,[]),te(this,Dd,()=>{U(this,ta).forEach(i=>i(U(this,As)))}),this.set=i=>{te(this,As,i),U(this,Dd).call(this)},this.get=()=>U(this,As),this.update=i=>{te(this,As,i(U(this,As))),U(this,Dd).call(this)},this.type=r,te(this,As,n),e.set(r.id,this)}on(e){return U(this,ta).push(e),()=>{te(this,ta,U(this,ta).filter(n=>n!==e))}}once(e){const n=this.on(r=>{e(r),n()});return n}off(e){te(this,ta,U(this,ta).filter(n=>n!==e))}offAll(){te(this,ta,[])}},ta=new WeakMap,As=new WeakMap,Dd=new WeakMap,RZ);class sK{constructor(e,n){this.id=Symbol(`Context-${n}`),this.name=n,this._defaultValue=e,this._typeInfo=()=>{throw yy()}}create(e,n=this._defaultValue){return new aK(e,n,this)}}const vt=(t,e)=>new sK(t,e);var z0,C0,q0,Ac,Ld,rO,Gd,Bd,Fd;class lK{constructor(e,n,r){ge(this,z0);ge(this,C0);ge(this,q0);ge(this,Ac);ge(this,Ld);ge(this,rO);ge(this,Gd);ge(this,Bd);ge(this,Fd);te(this,Ac,new Set),te(this,Ld,new Set),te(this,rO,new Map),te(this,Gd,new Map),this.read=()=>({metadata:U(this,z0),injectedSlices:[...U(this,Ac)].map(i=>({name:typeof i=="string"?i:i.name,value:U(this,Bd).call(this,i)})),consumedSlices:[...U(this,Ld)].map(i=>({name:typeof i=="string"?i:i.name,value:U(this,Bd).call(this,i)})),recordedTimers:[...U(this,rO)].map(([i,{duration:o}])=>({name:i.name,duration:o,status:U(this,Fd).call(this,i)})),waitTimers:[...U(this,Gd)].map(([i,{duration:o}])=>({name:i.name,duration:o,status:U(this,Fd).call(this,i)}))}),this.onRecord=i=>{U(this,rO).set(i,{start:Date.now(),duration:0})},this.onClear=i=>{U(this,rO).delete(i)},this.onDone=i=>{const o=U(this,rO).get(i);o&&(o.duration=Date.now()-o.start)},this.onWait=(i,o)=>{const a=Date.now();o.finally(()=>{U(this,Gd).set(i,{duration:Date.now()-a})}).catch(console.error)},this.onInject=i=>{U(this,Ac).add(i)},this.onRemove=i=>{U(this,Ac).delete(i)},this.onUse=i=>{U(this,Ld).add(i)},te(this,Bd,i=>U(this,C0).get(i).get()),te(this,Fd,i=>U(this,q0).get(i).status),te(this,C0,e),te(this,q0,n),te(this,z0,r)}}z0=new WeakMap,C0=new WeakMap,q0=new WeakMap,Ac=new WeakMap,Ld=new WeakMap,rO=new WeakMap,Gd=new WeakMap,Bd=new WeakMap,Fd=new WeakMap;var Is,Ms,E0,ho;const j7=class j7{constructor(e,n,r){ge(this,Is);ge(this,Ms);ge(this,E0);ge(this,ho);this.produce=i=>i&&Object.keys(i).length?new j7(U(this,Is),U(this,Ms),{...i}):this,this.inject=(i,o)=>{var s;const a=i.create(U(this,Is).sliceMap);return o!=null&&a.set(o),(s=U(this,ho))==null||s.onInject(i),this},this.remove=i=>{var o;return U(this,Is).remove(i),(o=U(this,ho))==null||o.onRemove(i),this},this.record=i=>{var o;return i.create(U(this,Ms).store),(o=U(this,ho))==null||o.onRecord(i),this},this.clearTimer=i=>{var o;return U(this,Ms).remove(i),(o=U(this,ho))==null||o.onClear(i),this},this.isInjected=i=>U(this,Is).has(i),this.isRecorded=i=>U(this,Ms).has(i),this.use=i=>{var o;return(o=U(this,ho))==null||o.onUse(i),U(this,Is).get(i)},this.get=i=>this.use(i).get(),this.set=(i,o)=>this.use(i).set(o),this.update=(i,o)=>this.use(i).update(o),this.timer=i=>U(this,Ms).get(i),this.done=i=>{var o;this.timer(i).done(),(o=U(this,ho))==null||o.onDone(i)},this.wait=i=>{var a;const o=this.timer(i).start();return(a=U(this,ho))==null||a.onWait(i,o),o},this.waitTimers=async i=>{await Promise.all(this.get(i).map(o=>this.wait(o)))},te(this,Is,e),te(this,Ms,n),te(this,E0,r),r&&te(this,ho,new lK(e,n,r))}get meta(){return U(this,E0)}get inspector(){return U(this,ho)}};Is=new WeakMap,Ms=new WeakMap,E0=new WeakMap,ho=new WeakMap;let Cw=j7;class OK{constructor(){this.store=new Map,this.get=e=>{const n=this.store.get(e.id);if(!n)throw JH(e.name);return n},this.remove=e=>{this.store.delete(e.id)},this.has=e=>this.store.has(e.id)}}var Hd,iO,Kd,js,Jd,Z0;class cK{constructor(e,n){ge(this,Hd);ge(this,iO);ge(this,Kd);ge(this,js);ge(this,Jd);ge(this,Z0);te(this,Hd,null),te(this,iO,null),te(this,js,"pending"),this.start=()=>(U(this,Hd)??te(this,Hd,new Promise((r,i)=>{te(this,iO,o=>{o instanceof CustomEvent&&o.detail.id===U(this,Kd)&&(te(this,js,"resolved"),U(this,Jd).call(this),o.stopImmediatePropagation(),r())}),U(this,Z0).call(this,()=>{U(this,js)==="pending"&&te(this,js,"rejected"),U(this,Jd).call(this),i(new Error(`Timing ${this.type.name} timeout.`))}),te(this,js,"pending"),addEventListener(this.type.name,U(this,iO))})),U(this,Hd)),this.done=()=>{const r=new CustomEvent(this.type.name,{detail:{id:U(this,Kd)}});dispatchEvent(r)},te(this,Jd,()=>{U(this,iO)&&removeEventListener(this.type.name,U(this,iO))}),te(this,Z0,r=>{setTimeout(()=>{r()},this.type.timeout)}),te(this,Kd,Symbol(n.name)),this.type=n,e.set(n.id,this)}get status(){return U(this,js)}}Hd=new WeakMap,iO=new WeakMap,Kd=new WeakMap,js=new WeakMap,Jd=new WeakMap,Z0=new WeakMap;class uK{constructor(e,n=3e3){this.create=r=>new cK(r,this),this.id=Symbol(`Timer-${e}`),this.name=e,this.timeout=n}}const ls=(t,e=3e3)=>new uK(t,e);function mr(t){this.content=t}mr.prototype={constructor:mr,find:function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return-1},get:function(t){var e=this.find(t);return e==-1?void 0:this.content[e+1]},update:function(t,e,n){var r=n&&n!=t?this.remove(n):this,i=r.find(t),o=r.content.slice();return i==-1?o.push(n||t,e):(o[i+1]=e,n&&(o[i]=n)),new mr(o)},remove:function(t){var e=this.find(t);if(e==-1)return this;var n=this.content.slice();return n.splice(e,2),new mr(n)},addToStart:function(t,e){return new mr([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new mr(n)},addBefore:function(t,e,n){var r=this.remove(e),i=r.content.slice(),o=r.find(t);return i.splice(o==-1?i.length:o,0,e,n),new mr(i)},forEach:function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},prepend:function(t){return t=mr.from(t),t.size?new mr(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=mr.from(t),t.size?new mr(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=mr.from(t);for(var n=0;n<t.content.length;n+=2)e=e.remove(t.content[n]);return e},toObject:function(){var t={};return this.forEach(function(e,n){t[e]=n}),t},get size(){return this.content.length>>1}};mr.from=function(t){if(t instanceof mr)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new mr(e)};function EZ(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),o=e.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let a=0;i.text[a]==o.text[a];a++)n++;return n}if(i.content.size||o.content.size){let a=EZ(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function ZZ(t,e,n,r){for(let i=t.childCount,o=e.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let a=t.child(--i),s=e.child(--o),l=a.nodeSize;if(a==s){n-=l,r-=l;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let O=0,c=Math.min(a.text.length,s.text.length);for(;O<c&&a.text[a.text.length-O-1]==s.text[s.text.length-O-1];)O++,n--,r--;return{a:n,b:r}}if(a.content.size||s.content.size){let O=ZZ(a.content,s.content,n-1,r-1);if(O)return O}n-=l,r-=l}}let ye=class Nr{constructor(e,n){if(this.content=e,this.size=n||0,n==null)for(let r=0;r<e.length;r++)this.size+=e[r].nodeSize}nodesBetween(e,n,r,i=0,o){for(let a=0,s=0;s<n;a++){let l=this.content[a],O=s+l.nodeSize;if(O>e&&r(l,i+s,o||null,a)!==!1&&l.content.size){let c=s+1;l.nodesBetween(Math.max(0,e-c),Math.min(l.content.size,n-c),r,i+c)}s=O}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let o="",a=!0;return this.nodesBetween(e,n,(s,l)=>{let O=s.isText?s.text.slice(Math.max(e,l)-l,n-l):s.isLeaf?i?typeof i=="function"?i(s):i:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&O||s.isTextblock)&&r&&(a?a=!1:o+=r),o+=O},0),o}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);o<e.content.length;o++)i.push(e.content[o]);return new Nr(i,this.size+e.size)}cut(e,n=this.size){if(e==0&&n==this.size)return this;let r=[],i=0;if(n>e)for(let o=0,a=0;a<n;o++){let s=this.content[o],l=a+s.nodeSize;l>e&&((a<e||l>n)&&(s.isText?s=s.cut(Math.max(0,e-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,e-a-1),Math.min(s.content.size,n-a-1))),r.push(s),i+=s.nodeSize),a=l}return new Nr(r,i)}cutByIndex(e,n){return e==n?Nr.empty:e==0&&n==this.content.length?this:new Nr(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[e]=n,new Nr(i,o)}addToStart(e){return new Nr([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new Nr(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(e.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let n=this.content[e];if(!n)throw new RangeError("Index "+e+" out of range for "+this);return n}maybeChild(e){return this.content[e]||null}forEach(e){for(let n=0,r=0;n<this.content.length;n++){let i=this.content[n];e(i,r,n),r+=i.nodeSize}}findDiffStart(e,n=0){return EZ(this,e,n)}findDiffEnd(e,n=this.size,r=e.size){return ZZ(this,e,n,r)}findIndex(e){if(e==0)return l1(0,e);if(e==this.size)return l1(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let i=this.child(n),o=r+i.nodeSize;if(o>=e)return o==e?l1(n+1,o):l1(n,r);r=o}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return Nr.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new Nr(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return Nr.empty;let n,r=0;for(let i=0;i<e.length;i++){let o=e[i];r+=o.nodeSize,i&&o.isText&&e[i-1].sameMarkup(o)?(n||(n=e.slice(0,i)),n[n.length-1]=o.withText(n[n.length-1].text+o.text)):n&&n.push(o)}return new Nr(n||e,r)}static from(e){if(!e)return Nr.empty;if(e instanceof Nr)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new Nr([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}};ye.empty=new ye([],0);const xv={index:0,offset:0};function l1(t,e){return xv.index=t,xv.offset=e,xv}function HQ(t,e){if(t===e)return!0;if(!(t&&typeof t=="object")||!(e&&typeof e=="object"))return!1;let n=Array.isArray(t);if(Array.isArray(e)!=n)return!1;if(n){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!HQ(t[r],e[r]))return!1}else{for(let r in t)if(!(r in e)||!HQ(t[r],e[r]))return!1;for(let r in e)if(!(r in t))return!1}return!0}class $t{constructor(e,n){this.type=e,this.attrs=n}addToSet(e){let n,r=!1;for(let i=0;i<e.length;i++){let o=e[i];if(this.eq(o))return e;if(this.type.excludes(o.type))n||(n=e.slice(0,i));else{if(o.type.excludes(this.type))return e;!r&&o.type.rank>this.type.rank&&(n||(n=e.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return e.slice(0,n).concat(e.slice(n+1));return e}isInSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return!0;return!1}eq(e){return this==e||this.type==e.type&&HQ(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let r=e.marks[n.type];if(!r)throw new RangeError(`There is no mark type ${n.type} in this schema`);let i=r.create(n.attrs);return r.checkAttrs(i.attrs),i}static sameSet(e,n){if(e==n)return!0;if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(n[r]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return $t.none;if(e instanceof $t)return[e];let n=e.slice();return n.sort((r,i)=>r.type.rank-i.type.rank),n}}$t.none=[];class KQ extends Error{}class Te{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=VZ(this.content,e+this.openStart,n);return r&&new Te(r,this.openStart,this.openEnd)}removeBetween(e,n){return new Te(YZ(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return Te.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Te(ye.fromJSON(e,n.content),r,i)}static maxOpen(e,n=!0){let r=0,i=0;for(let o=e.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=e.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new Te(e,r,i)}}Te.empty=new Te(ye.empty,0,0);function YZ(t,e,n){let{index:r,offset:i}=t.findIndex(e),o=t.maybeChild(r),{index:a,offset:s}=t.findIndex(n);if(i==e||o.isText){if(s!=n&&!t.child(a).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return t.replaceChild(r,o.copy(YZ(o.content,e-i-1,n-i-1)))}function VZ(t,e,n,r){let{index:i,offset:o}=t.findIndex(e),a=t.maybeChild(i);if(o==e||a.isText)return r&&!r.canReplace(i,i,n)?null:t.cut(0,e).append(n).append(t.cut(e));let s=VZ(a.content,e-o-1,n,a);return s&&t.replaceChild(i,a.copy(s))}function dK(t,e,n){if(n.openStart>t.depth)throw new KQ("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new KQ("Inconsistent open depths");return WZ(t,e,n,0)}function WZ(t,e,n,r){let i=t.index(r),o=t.node(r);if(i==e.index(r)&&r<t.depth-n.openStart){let a=WZ(t,e,n,r+1);return o.copy(o.content.replaceChild(i,a))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&t.depth==r&&e.depth==r){let a=t.parent,s=a.content;return eu(a,s.cut(0,t.parentOffset).append(n.content).append(s.cut(e.parentOffset)))}else{let{start:a,end:s}=fK(n,t);return eu(o,AZ(t,a,s,e,r))}else return eu(o,JQ(t,e,r))}function UZ(t,e){if(!e.type.compatibleContent(t.type))throw new KQ("Cannot join "+e.type.name+" onto "+t.type.name)}function qw(t,e,n){let r=t.node(n);return UZ(r,e.node(n)),r}function Jc(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function Ip(t,e,n,r){let i=(e||t).node(n),o=0,a=e?e.index(n):i.childCount;t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(Jc(t.nodeAfter,r),o++));for(let s=o;s<a;s++)Jc(i.child(s),r);e&&e.depth==n&&e.textOffset&&Jc(e.nodeBefore,r)}function eu(t,e){return t.type.checkContent(e),t.copy(e)}function AZ(t,e,n,r,i){let o=t.depth>i&&qw(t,e,i+1),a=r.depth>i&&qw(n,r,i+1),s=[];return Ip(null,t,i,s),o&&a&&e.index(i)==n.index(i)?(UZ(o,a),Jc(eu(o,AZ(t,e,n,r,i+1)),s)):(o&&Jc(eu(o,JQ(t,e,i+1)),s),Ip(e,n,i,s),a&&Jc(eu(a,JQ(n,r,i+1)),s)),Ip(r,null,i,s),new ye(s)}function JQ(t,e,n){let r=[];if(Ip(null,t,n,r),t.depth>n){let i=qw(t,e,n+1);Jc(eu(i,JQ(t,e,n+1)),r)}return Ip(e,null,n,r),new ye(r)}function fK(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let o=n-1;o>=0;o--)i=e.node(o).copy(ye.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}class Xm{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(n);return r?e.child(n).cut(r):i}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o<e;o++)i+=r.child(o).nodeSize;return i}marks(){let e=this.parent,n=this.index();if(e.content.size==0)return $t.none;if(this.textOffset)return e.child(n).marks;let r=e.maybeChild(n-1),i=e.maybeChild(n);if(!r){let s=r;r=i,i=s}let o=r.marks;for(var a=0;a<o.length;a++)o[a].type.spec.inclusive===!1&&(!i||!o[a].isInSet(i.marks))&&(o=o[a--].removeFromSet(o));return o}marksAcross(e){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,i=e.parent.maybeChild(e.index());for(var o=0;o<r.length;o++)r[o].type.spec.inclusive===!1&&(!i||!r[o].isInSet(i.marks))&&(r=r[o--].removeFromSet(r));return r}sharedDepth(e){for(let n=this.depth;n>0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new IZ(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let n=1;n<=this.depth;n++)e+=(e?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return e+":"+this.parentOffset}static resolve(e,n){if(!(n>=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let a=e;;){let{index:s,offset:l}=a.content.findIndex(o),O=o-l;if(r.push(a,s,i+l),!O||(a=a.child(s),a.isText))break;o=O-1,i+=l+1}return new Xm(n,r,o)}static resolveCached(e,n){let r=K7.get(e);if(r)for(let o=0;o<r.elts.length;o++){let a=r.elts[o];if(a.pos==n)return a}else K7.set(e,r=new hK);let i=r.elts[r.i]=Xm.resolve(e,n);return r.i=(r.i+1)%pK,i}}class hK{constructor(){this.elts=[],this.i=0}}const pK=12,K7=new WeakMap;class IZ{constructor(e,n,r){this.$from=e,this.$to=n,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const mK=Object.create(null);class Xo{constructor(e,n,r,i=$t.none){this.type=e,this.attrs=n,this.marks=i,this.content=r||ye.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,n,r,i=0){this.content.nodesBetween(e,n,r,i,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,n,r,i){return this.content.textBetween(e,n,r,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,n,r){return this.type==e&&HQ(this.attrs,n||e.defaultAttrs||mK)&&$t.sameSet(this.marks,r||$t.none)}copy(e=null){return e==this.content?this:new Xo(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new Xo(this.type,this.attrs,this.content,e)}cut(e,n=this.content.size){return e==0&&n==this.content.size?this:this.copy(this.content.cut(e,n))}slice(e,n=this.content.size,r=!1){if(e==n)return Te.empty;let i=this.resolve(e),o=this.resolve(n),a=r?0:i.sharedDepth(n),s=i.start(a),O=i.node(a).content.cut(i.pos-s,o.pos-s);return new Te(O,i.depth-a,o.depth-a)}replace(e,n,r){return dK(this.resolve(e),this.resolve(n),r)}nodeAt(e){for(let n=this;;){let{index:r,offset:i}=n.content.findIndex(e);if(n=n.maybeChild(r),!n)return null;if(i==e||n.isText)return n;e-=i+1}}childAfter(e){let{index:n,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(n),index:n,offset:r};let i=this.content.child(n-1);return{node:i,index:n-1,offset:r-i.nodeSize}}resolve(e){return Xm.resolveCached(this,e)}resolveNoCache(e){return Xm.resolve(this,e)}rangeHasMark(e,n,r){let i=!1;return n>e&&this.nodesBetween(e,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),MZ(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=ye.empty,i=0,o=r.childCount){let a=this.contentMatchAt(e).matchFragment(r,i,o),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let l=i;l<o;l++)if(!this.type.allowsMarks(r.child(l).marks))return!1;return!0}canReplaceWith(e,n,r,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(e).matchType(r),a=o&&o.matchFragment(this.content,n);return a?a.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=$t.none;for(let n=0;n<this.marks.length;n++){let r=this.marks[n];r.type.checkAttrs(r.attrs),e=r.addToSet(e)}if(!$t.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let i=ye.fromJSON(e,n.content),o=e.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}}Xo.prototype.text=void 0;let gK=class Ew extends Xo{constructor(e,n,r,i){if(super(e,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):MZ(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Ew(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Ew(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};function MZ(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class hu{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new $K(e,n);if(r.next==null)return hu.empty;let i=jZ(r);r.next&&r.err("Unexpected trailing text");let o=PK(kK(i));return wK(o,r),o}matchType(e){for(let n=0;n<this.next.length;n++)if(this.next[n].type==e)return this.next[n].next;return null}matchFragment(e,n=0,r=e.childCount){let i=this;for(let o=n;i&&o<r;o++)i=i.matchType(e.child(o).type);return i}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:n}=this.next[e];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(e){for(let n=0;n<this.next.length;n++)for(let r=0;r<e.next.length;r++)if(this.next[n].type==e.next[r].type)return!0;return!1}fillBefore(e,n=!1,r=0){let i=[this];function o(a,s){let l=a.matchFragment(e,r);if(l&&(!n||l.validEnd))return ye.from(s.map(O=>O.createAndFill()));for(let O=0;O<a.next.length;O++){let{type:c,next:u}=a.next[O];if(!(c.isText||c.hasRequiredAttrs())&&i.indexOf(u)==-1){i.push(u);let d=o(u,s.concat(c));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 n=this.computeWrapping(e);return this.wrapCache.push(e,n),n}computeWrapping(e){let n=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let i=r.shift(),o=i.match;if(o.matchType(e)){let a=[];for(let s=i;s.type;s=s.via)a.push(s.type);return a.reverse()}for(let a=0;a<o.next.length;a++){let{type:s,next:l}=o.next[a];!s.isLeaf&&!s.hasRequiredAttrs()&&!(s.name in n)&&(!i.type||l.validEnd)&&(r.push({match:s.contentMatch,type:s,via:i}),n[s.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let i=0;i<r.next.length;i++)e.indexOf(r.next[i].next)==-1&&n(r.next[i].next)}return n(this),e.map((r,i)=>{let o=i+(r.validEnd?"*":" ")+" ";for(let a=0;a<r.next.length;a++)o+=(a?", ":"")+r.next[a].type.name+"->"+e.indexOf(r.next[a].next);return o}).join(`
3
3
  `)}}hu.empty=new hu(!0);class $K{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function jZ(t){let e=[];do e.push(QK(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function QK(t){let e=[];do e.push(bK(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function bK(t){let e=vK(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=yK(t,e);else break;return e}function J7(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function yK(t,e){let n=J7(t),r=n;return t.eat(",")&&(t.next!="}"?r=J7(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function SK(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let i=[];for(let o in n){let a=n[o];a.isInGroup(e)&&i.push(a)}return i.length==0&&t.err("No node type or group '"+e+"' found"),i}function vK(t){if(t.eat("(")){let e=jZ(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=SK(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function kK(t){let e=[[]];return i(o(t,0),n()),e;function n(){return e.push([])-1}function r(a,s,l){let O={term:l,to:s};return e[a].push(O),O}function i(a,s){a.forEach(l=>l.to=s)}function o(a,s){if(a.type=="choice")return a.exprs.reduce((l,O)=>l.concat(o(O,s)),[]);if(a.type=="seq")for(let l=0;;l++){let O=o(a.exprs[l],s);if(l==a.exprs.length-1)return O;i(O,s=n())}else if(a.type=="star"){let l=n();return r(s,l),i(o(a.expr,l),l),[r(l)]}else if(a.type=="plus"){let l=n();return i(o(a.expr,s),l),i(o(a.expr,l),l),[r(l)]}else{if(a.type=="opt")return[r(s)].concat(o(a.expr,s));if(a.type=="range"){let l=s;for(let O=0;O<a.min;O++){let c=n();i(o(a.expr,l),c),l=c}if(a.max==-1)i(o(a.expr,l),l);else for(let O=a.min;O<a.max;O++){let c=n();r(l,c),i(o(a.expr,l),c),l=c}return[r(l)]}else{if(a.type=="name")return[r(s,void 0,a.value)];throw new Error("Unknown expr type")}}}}function NZ(t,e){return e-t}function e3(t,e){let n=[];return r(e),n.sort(NZ);function r(i){let o=t[i];if(o.length==1&&!o[0].term)return r(o[0].to);n.push(i);for(let a=0;a<o.length;a++){let{term:s,to:l}=o[a];!s&&n.indexOf(l)==-1&&r(l)}}}function PK(t){let e=Object.create(null);return n(e3(t,0));function n(r){let i=[];r.forEach(a=>{t[a].forEach(({term:s,to:l})=>{if(!s)return;let O;for(let c=0;c<i.length;c++)i[c][0]==s&&(O=i[c][1]);e3(t,l).forEach(c=>{O||i.push([s,O=[]]),O.indexOf(c)==-1&&O.push(c)})})});let o=e[r.join(",")]=new hu(r.indexOf(t.length-1)>-1);for(let a=0;a<i.length;a++){let s=i[a][1].sort(NZ);o.next.push({type:i[a][0],next:e[s.join(",")]||n(s)})}return o}}function wK(t,e){for(let n=0,r=[t];n<r.length;n++){let i=r[n],o=!i.validEnd,a=[];for(let s=0;s<i.next.length;s++){let{type:l,next:O}=i.next[s];a.push(l.name),o&&!(l.isText||l.hasRequiredAttrs())&&(o=!1),r.indexOf(O)==-1&&r.push(O)}o&&e.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function DZ(t){let e=Object.create(null);for(let n in t){let r=t[n];if(!r.hasDefault)return null;e[n]=r.default}return e}function LZ(t,e){let n=Object.create(null);for(let r in t){let i=e&&e[r];if(i===void 0){let o=t[r];if(o.hasDefault)i=o.default;else throw new RangeError("No value supplied for attribute "+r)}n[r]=i}return n}function GZ(t,e,n,r){for(let i in e)if(!(i in t))throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${i}`);for(let i in t){let o=t[i];o.validate&&o.validate(e[i])}}function BZ(t,e){let n=Object.create(null);if(e)for(let r in e)n[r]=new TK(t,r,e[r]);return n}let eb=class FZ{constructor(e,n,r){this.name=e,this.schema=n,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=BZ(e,r.attrs),this.defaultAttrs=DZ(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==hu.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:LZ(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Xo(this,this.computeAttrs(e),ye.from(n),$t.setFrom(r))}createChecked(e=null,n,r){return n=ye.from(n),this.checkContent(n),new Xo(this,this.computeAttrs(e),n,$t.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=ye.from(n),n.size){let a=this.contentMatch.fillBefore(n);if(!a)return null;n=a.append(n)}let i=this.contentMatch.matchFragment(n),o=i&&i.fillBefore(ye.empty,!0);return o?new Xo(this,e,n.append(o),$t.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r<e.childCount;r++)if(!this.allowsMarks(e.child(r).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){GZ(this.attrs,e,"node",this.name)}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;n<e.length;n++)if(!this.allowsMarkType(e[n].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let n;for(let r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?n&&n.push(e[r]):n||(n=e.slice(0,r));return n?n.length?n:$t.none:e}static compile(e,n){let r=Object.create(null);e.forEach((o,a)=>r[o]=new FZ(o,n,a));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function xK(t,e,n){let r=n.split("|");return i=>{let o=i===null?"null":typeof i;if(r.indexOf(o)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${o}`)}}let TK=class{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?xK(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}};class Sy{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=BZ(e,i.attrs),this.excluded=null;let o=DZ(this.attrs);this.instance=o?new $t(this,o):null}create(e=null){return!e&&this.instance?this.instance:new $t(this,LZ(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((o,a)=>r[o]=new Sy(o,i++,n,a)),r}removeFromSet(e){for(var n=0;n<e.length;n++)e[n].type==this&&(e=e.slice(0,n).concat(e.slice(n+1)),n--);return e}isInSet(e){for(let n=0;n<e.length;n++)if(e[n].type==this)return e[n]}checkAttrs(e){GZ(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}let HZ=class{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in e)n[i]=e[i];n.nodes=mr.from(e.nodes),n.marks=mr.from(e.marks||{}),this.nodes=eb.compile(this.spec.nodes,this),this.marks=Sy.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]=hu.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?t3(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==""?[]:t3(this,a.split(" "))}this.nodeFromJSON=i=>Xo.fromJSON(this,i),this.markFromJSON=i=>$t.fromJSON(this,i),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof eb){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,i)}text(e,n){let r=this.nodes.text;return new gK(r,r.defaultAttrs,e,$t.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}};function t3(t,e){let n=[];for(let r=0;r<e.length;r++){let i=e[r],o=t.marks[i],a=o;if(o)n.push(o);else for(let s in t.marks){let l=t.marks[s];(i=="_"||l.spec.group&&l.spec.group.split(" ").indexOf(i)>-1)&&n.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function _K(t){return t.tag!=null}function XK(t){return t.style!=null}class yO{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(_K(i))this.tags.push(i);else if(XK(i)){let o=/[^=]*/.exec(i.style)[0];r.indexOf(o)<0&&r.push(o),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=e.nodes[i.node];return o.contentMatch.matchType(o)})}parse(e,n={}){let r=new r3(this,n,!1);return r.addAll(e,$t.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new r3(this,n,!0);return r.addAll(e,$t.none,n.from,n.to),Te.maxOpen(r.finish())}matchTag(e,n,r){for(let i=r?this.tags.indexOf(r)+1:0;i<this.tags.length;i++){let o=this.tags[i];if(CK(e,o.tag)&&(o.namespace===void 0||e.namespaceURI==o.namespace)&&(!o.context||n.matchesContext(o.context))){if(o.getAttrs){let a=o.getAttrs(e);if(a===!1)continue;o.attrs=a||void 0}return o}}}matchStyle(e,n,r,i){for(let o=i?this.styles.indexOf(i)+1:0;o<this.styles.length;o++){let a=this.styles[o],s=a.style;if(!(s.indexOf(e)!=0||a.context&&!r.matchesContext(a.context)||s.length>e.length&&(s.charCodeAt(e.length)!=61||s.slice(e.length+1)!=n))){if(a.getAttrs){let l=a.getAttrs(n);if(l===!1)continue;a.attrs=l||void 0}return a}}}static schemaRules(e){let n=[];function r(i){let o=i.priority==null?50:i.priority,a=0;for(;a<n.length;a++){let s=n[a];if((s.priority==null?50:s.priority)<o)break}n.splice(a,0,i)}for(let i in e.marks){let o=e.marks[i].spec.parseDOM;o&&o.forEach(a=>{r(a=i3(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=i3(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new yO(e,yO.schemaRules(e)))}}const KZ={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},RK={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},JZ={ol:!0,ul:!0},Rm=1,Zw=2,Mp=4;function n3(t,e,n){return e!=null?(e?Rm:0)|(e==="full"?Zw:0):t&&t.whitespace=="pre"?Rm|Zw:n&~Mp}class O1{constructor(e,n,r,i,o,a){this.type=e,this.attrs=n,this.marks=r,this.solid=i,this.options=a,this.content=[],this.activeMarks=$t.none,this.match=o||(a&Mp?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(ye.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Rm)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=ye.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(ye.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!KZ.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}let r3=class{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let i=n.topNode,o,a=n3(null,n.preserveWhitespace,0)|(r?Mp:0);i?o=new O1(i.type,i.attrs,$t.none,!0,n.topMatch||i.type.contentMatch,a):r?o=new O1(null,null,$t.none,!0,null,a):o=new O1(e.schema.topNodeType,null,$t.none,!0,null,a),this.nodes=[o],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,i=this.top,o=i.options&Zw?"full":this.localPreserveWS||(i.options&Rm)>0,{schema:a}=this.parser;if(o==="full"||i.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(o)if(o==="full")r=r.replace(/\r\n?/g,`
4
4
  `);else if(a.linebreakReplacement&&/[\r\n]/.test(r)&&this.top.findWrapping(a.linebreakReplacement.create())){let s=r.split(/\r?\n|\r/);for(let l=0;l<s.length;l++)l&&this.insertNode(a.linebreakReplacement.create(),n,!0),s[l]&&this.insertNode(a.text(s[l]),n,!/\S/.test(s[l]));r=""}else r=r.replace(/\r?\n|\r/g," ");else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){let s=i.content[i.content.length-1],l=e.previousSibling;(!s||l&&l.nodeName=="BR"||s.isText&&/[ \t\r\n\u000c]$/.test(s.text))&&(r=r.slice(1))}r&&this.insertNode(a.text(r),n,!/\S/.test(r)),this.findInText(e)}else this.findInside(e)}addElement(e,n,r){let i=this.localPreserveWS,o=this.top;(e.tagName=="PRE"||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let a=e.nodeName.toLowerCase(),s;JZ.hasOwnProperty(a)&&this.parser.normalizeLists&&zK(e);let l=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(s=this.parser.matchTag(e,this,r));e:if(l?l.ignore:RK.hasOwnProperty(a))this.findInside(e),this.ignoreFallback(e,n);else if(!l||l.skip||l.closeParent){l&&l.closeParent?this.open=Math.max(0,this.open-1):l&&l.skip.nodeType&&(e=l.skip);let O,c=this.needsBlock;if(KZ.hasOwnProperty(a))o.content.length&&o.content[0].isInline&&this.open&&(this.open--,o=this.top),O=!0,o.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,n);break e}let u=l&&l.skip?n:this.readStyles(e,n);u&&this.addAll(e,u),O&&this.sync(o),this.needsBlock=c}else{let O=this.readStyles(e,n);O&&this.addElementByRule(e,l,O,l.consuming===!1?s:void 0)}this.localPreserveWS=i}leafFallback(e,n){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`
@@ -1,4 +1,4 @@
1
- import{j$ as ue,k0 as Y,cm as fe,y as u,aI as B,k1 as ge,k2 as pe,k3 as de,i8 as me,d8 as ve,r as b,k4 as Ce,k5 as z,k6 as _,k7 as w,k8 as V,k9 as ye,ka as J,kb as D,kc as Q,kd as he}from"./startup-app-DxX-P1pm.js";import"./startup-runtime-DTmhLESk.js";/**
1
+ import{k5 as ue,k6 as Y,cm as fe,y as u,aI as B,k7 as ge,k8 as pe,k9 as de,i9 as me,d8 as ve,r as b,ka as Ce,kb as z,kc as _,kd as w,ke as V,kf as ye,kg as J,kh as D,ki as Q,kj as he}from"./startup-app-eD_rQhSh.js";import"./startup-runtime-DTmhLESk.js";/**
2
2
  * tdesign v1.16.3
3
3
  * (c) 2026 tdesign
4
4
  * @license MIT
@@ -14,7 +14,7 @@ import{j$ as ue,k0 as Y,cm as fe,y as u,aI as B,k1 as ge,k2 as pe,k3 as de,i8 as
14
14
  * tdesign v1.16.3
15
15
  * (c) 2026 tdesign
16
16
  * @license MIT
17
- */var g="32px",N={center:{left:"50%",top:"50%",transform:"translateX(-50%) translateY(-50%)"},left:{left:g,top:"50%",transform:"translateY(-50%)"},bottom:{bottom:g,left:"50%",transform:"translateX(-50%)"},right:{right:g,top:"50%",transform:"translateY(-50%)"},top:{top:g,left:"50%",transform:"translateX(-50%)"},"top-left":{left:g,top:g},"top-right":{right:g,top:g},"bottom-left":{left:g,bottom:g},"bottom-right":{right:g,bottom:g}},U=Object.keys(N),Z={duration:200,easing:"linear"};function ee(e,n){for(var t=Object.keys(n),r=0;r<t.length;r+=1){var a=t[r];e.style[a]=n[a]}}function Oe(e,n,t){return U.includes(e)?["top-left","left","bottom-left"].includes(e)?[{opacity:0,marginLeft:"-".concat(n,"px")},{opacity:1,marginLeft:"0"}]:["top-right","right","bottom-right"].includes(e)?[{opacity:0,marginRight:"-".concat(n,"px")},{opacity:1,marginRight:"0"}]:["top","center"].includes(e)?[{opacity:0,marginTop:"-".concat(t,"px")},{opacity:1,marginTop:"0"}]:["bottom"].includes(e)?[{opacity:0,transform:"translate3d(0, ".concat(t,"px, 0)")},{opacity:1,transform:"translate3d(0, 0, 0)"}]:null:null}function Pe(e,n){if(!U.includes(e))return null;if(["bottom-left","bottom","bottom-right"].includes(e)){var t="".concat(n,"px");return[{opacity:1,marginTop:"0px"},{opacity:0,marginTop:t}]}var r="-".concat(n,"px");return[{opacity:1,marginTop:"0px"},{opacity:0,marginTop:r}]}function ke(e,n){var t;if(e){var r=(e==null?void 0:e.offsetWidth)||0,a=(e==null?void 0:e.offsetHeight)||0,s=Oe(n,r,a);if(s){var i=s[s.length-1];ee(e,i),(t=e.animate)===null||t===void 0||t.call(e,s,Z)}}}function K(e,n,t){if(e){var r=e.offsetHeight||0,a=Pe(n,r);if(!a){t();return}var s=a[a.length-1];ee(e,s);var i=e.animate&&e.animate(a,Z);i?i.onfinish=function(){e.style.display="none",t()}:(e.style.display="none",t())}}var Ee=["placement"],te=b.forwardRef(function(e,n){var t=e.placement,r=Ce(e,Ee),a=T(),s=a.tdMessagePrefix,i=a.tdClassIsGenerator,o=r.theme,l=o===void 0?"info":o,c=r.className,f=r.children,P=r.style,j=r.icon,F=j===void 0?!0:j,y=r.content,v=r.closeBtn,k=r.onCloseBtnClick,h=k===void 0?w:k,d=r.onDurationEnd,E=d===void 0?w:d,S=r.onClose,se=S===void 0?w:S,G=r.duration,ie=b.useState(!1),A=z(ie,2),$=A[0],L=A[1],x=_(se),H=_(E),le=_(h);function ce(I){le(I),x({trigger:"close-click"})}return b.useEffect(function(){n&&"current"in n&&n.current&&t&&ke(n.current,t)},[]),b.useEffect(function(){if(!$&&G>0){var I=setTimeout(function(){H(),x({trigger:"duration-end"})},G);return function(){clearTimeout(I)}}},[G,$,x,H]),u.createElement("div",{ref:n,key:"message",style:P,className:B(c,"".concat(s),i(l),v?i("closable"):""),onMouseEnter:function(){return L(!0)},onMouseLeave:function(){return L(!1)}},F===!0?u.createElement(Me,{theme:l}):F,y||f,u.createElement(be,{closeBtn:v,onCloseBtnClick:ce}))});/**
17
+ */var g="32px",N={center:{left:"50%",top:"50%",transform:"translateX(-50%) translateY(-50%)"},left:{left:g,top:"50%",transform:"translateY(-50%)"},bottom:{bottom:g,left:"50%",transform:"translateX(-50%)"},right:{right:g,top:"50%",transform:"translateY(-50%)"},top:{top:g,left:"50%",transform:"translateX(-50%)"},"top-left":{left:g,top:g},"top-right":{right:g,top:g},"bottom-left":{left:g,bottom:g},"bottom-right":{right:g,bottom:g}},U=Object.keys(N),Z={duration:200,easing:"linear"};function ee(e,n){for(var t=Object.keys(n),r=0;r<t.length;r+=1){var a=t[r];e.style[a]=n[a]}}function Oe(e,n,t){return U.includes(e)?["top-left","left","bottom-left"].includes(e)?[{opacity:0,marginLeft:"-".concat(n,"px")},{opacity:1,marginLeft:"0"}]:["top-right","right","bottom-right"].includes(e)?[{opacity:0,marginRight:"-".concat(n,"px")},{opacity:1,marginRight:"0"}]:["top","center"].includes(e)?[{opacity:0,marginTop:"-".concat(t,"px")},{opacity:1,marginTop:"0"}]:["bottom"].includes(e)?[{opacity:0,transform:"translate3d(0, ".concat(t,"px, 0)")},{opacity:1,transform:"translate3d(0, 0, 0)"}]:null:null}function Pe(e,n){if(!U.includes(e))return null;if(["bottom-left","bottom","bottom-right"].includes(e)){var t="".concat(n,"px");return[{opacity:1,marginTop:"0px"},{opacity:0,marginTop:t}]}var r="-".concat(n,"px");return[{opacity:1,marginTop:"0px"},{opacity:0,marginTop:r}]}function ke(e,n){var t;if(e){var r=(e==null?void 0:e.offsetWidth)||0,a=(e==null?void 0:e.offsetHeight)||0,s=Oe(n,r,a);if(s){var i=s[s.length-1];ee(e,i),(t=e.animate)===null||t===void 0||t.call(e,s,Z)}}}function K(e,n,t){if(e){var r=e.offsetHeight||0,a=Pe(n,r);if(!a){t();return}var s=a[a.length-1];ee(e,s);var i=e.animate&&e.animate(a,Z);i?i.onfinish=function(){e.style.display="none",t()}:(e.style.display="none",t())}}var Ee=["placement"],te=b.forwardRef(function(e,n){var t=e.placement,r=Ce(e,Ee),a=T(),s=a.tdMessagePrefix,i=a.tdClassIsGenerator,o=r.theme,l=o===void 0?"info":o,c=r.className,f=r.children,P=r.style,j=r.icon,F=j===void 0?!0:j,y=r.content,v=r.closeBtn,k=r.onCloseBtnClick,h=k===void 0?w:k,d=r.onDurationEnd,E=d===void 0?w:d,S=r.onClose,se=S===void 0?w:S,G=r.duration,ie=b.useState(!1),A=z(ie,2),L=A[0],$=A[1],x=_(se),H=_(E),le=_(h);function ce(I){le(I),x({trigger:"close-click"})}return b.useEffect(function(){n&&"current"in n&&n.current&&t&&ke(n.current,t)},[]),b.useEffect(function(){if(!L&&G>0){var I=setTimeout(function(){H(),x({trigger:"duration-end"})},G);return function(){clearTimeout(I)}}},[G,L,x,H]),u.createElement("div",{ref:n,key:"message",style:P,className:B(c,"".concat(s),i(l),v?i("closable"):""),onMouseEnter:function(){return $(!0)},onMouseLeave:function(){return $(!1)}},F===!0?u.createElement(Me,{theme:l}):F,y||f,u.createElement(be,{closeBtn:v,onCloseBtnClick:ce}))});/**
18
18
  * tdesign v1.16.3
19
19
  * (c) 2026 tdesign
20
20
  * @license MIT
@@ -1 +1 @@
1
- import{t as f,w as I,p as D,v as M,M as T}from"./tool-windows-BIjc1zsU.js";import{j as e,ew as o,di as b,i2 as _,er as i,dk as m,eu as u,ef as c,b9 as x,kz as j,ev as h,eg as d,az as v}from"./startup-app-DxX-P1pm.js";/* empty css */import"./ai-chat-B5qFht2H.js";import"./startup-runtime-DTmhLESk.js";function y({assetCount:a,storageStatus:r}){var t,n;const l=((t=r==null?void 0:r.quota)==null?void 0:t.percentUsed)||0,s=((n=r==null?void 0:r.quota)==null?void 0:n.usage)||0;return e.jsxs("div",{className:"storage-bar",children:[e.jsxs("div",{className:"storage-bar__header",children:[e.jsxs("div",{className:"storage-bar__header-left",children:[e.jsx(o,{size:14,className:"storage-bar__icon"}),e.jsx("span",{className:"storage-bar__title",children:"本地存储空间"})]}),e.jsxs("span",{className:"storage-bar__count",children:[a," 个素材"]})]}),e.jsx("div",{className:"storage-bar__usage",children:e.jsxs("span",{className:"storage-bar__usage-value",children:["已用:",b(s)]})}),e.jsx(_,{percentage:l,size:"small",strokeWidth:6,label:!1})]})}function N({filters:a,assetCount:r,storageStatus:l,onFilterChange:s}){return e.jsxs("div",{className:"media-library-sidebar",children:[e.jsxs("div",{className:"media-library-sidebar__section",children:[e.jsx("h3",{className:"media-library-sidebar__title",children:"类型"}),e.jsxs("div",{className:"media-library-sidebar__buttons",children:[e.jsxs(i,{variant:a.activeType==="ALL"?"base":"outline",onClick:()=>s({activeType:"ALL"}),block:!0,theme:"default","data-track":"sidebar_filter_type_all",children:[e.jsx(m,{size:16}),e.jsx("span",{children:"全部素材"})]}),e.jsxs(i,{variant:a.activeType===c.IMAGE?"base":"outline",onClick:()=>s({activeType:c.IMAGE}),block:!0,theme:"default","data-track":"sidebar_filter_type_image",children:[e.jsx(u,{size:16}),e.jsx("span",{children:"图片"})]}),e.jsxs(i,{variant:a.activeType===c.VIDEO?"base":"outline",onClick:()=>s({activeType:c.VIDEO}),block:!0,theme:"default","data-track":"sidebar_filter_type_video",children:[e.jsx(x,{size:16}),e.jsx("span",{children:"视频"})]})]})]}),e.jsxs("div",{className:"media-library-sidebar__section",children:[e.jsx("h3",{className:"media-library-sidebar__title",children:"来源"}),e.jsxs("div",{className:"media-library-sidebar__buttons",children:[e.jsxs(i,{variant:a.activeSource==="ALL"?"base":"outline",onClick:()=>s({activeSource:"ALL"}),block:!0,theme:"default","data-track":"sidebar_filter_source_all",children:[e.jsx(j,{size:16}),e.jsx("span",{children:"全部来源"})]}),e.jsxs(i,{variant:a.activeSource===d.LOCAL?"base":"outline",onClick:()=>s({activeSource:d.LOCAL}),block:!0,theme:"default","data-track":"sidebar_filter_source_local",children:[e.jsx(h,{size:16}),e.jsx("span",{children:"本地上传"})]}),e.jsxs(i,{variant:a.activeSource===d.AI_GENERATED?"base":"outline",onClick:()=>s({activeSource:d.AI_GENERATED}),block:!0,theme:"default","data-track":"sidebar_filter_source_ai",children:[e.jsx(v,{size:16}),e.jsx("span",{children:"AI生成"})]})]})]}),e.jsxs("div",{className:"media-library-sidebar__section",children:[e.jsx("h3",{className:"media-library-sidebar__title",children:"排序"}),e.jsxs("div",{className:"media-library-sidebar__buttons",children:[e.jsx(i,{variant:a.sortBy==="DATE_DESC"?"base":"outline",onClick:()=>s({sortBy:"DATE_DESC"}),block:!0,size:"small",theme:"default","data-track":"sidebar_sort_date_desc",children:"最新优先"}),e.jsx(i,{variant:a.sortBy==="DATE_ASC"?"base":"outline",onClick:()=>s({sortBy:"DATE_ASC"}),block:!0,size:"small",theme:"default","data-track":"sidebar_sort_date_asc",children:"最旧优先"}),e.jsx(i,{variant:a.sortBy==="NAME_ASC"?"base":"outline",onClick:()=>s({sortBy:"NAME_ASC"}),block:!0,size:"small",theme:"default","data-track":"sidebar_sort_name_asc",children:"名称排序"}),e.jsx(i,{variant:a.sortBy==="SIZE_DESC"?"base":"outline",onClick:()=>s({sortBy:"SIZE_DESC"}),block:!0,size:"small",theme:"default","data-track":"sidebar_sort_size_desc",children:"大小排序"})]})]}),e.jsx("div",{className:"media-library-sidebar__section media-library-sidebar__section--storage",children:e.jsx(y,{assetCount:r,storageStatus:l})})]})}export{f as AssetItem,I as MediaLibraryEmpty,D as MediaLibraryGrid,M as MediaLibraryInspector,T as MediaLibraryModal,N as MediaLibrarySidebar,y as MediaLibraryStorageBar};
1
+ import{p as z,v as I,o as D,t as M,M as T}from"./tool-windows-CmgL3thd.js";import{j as e,ew as n,di as b,i3 as _,er as i,dk as m,eu as u,ef as c,b9 as x,kH as j,ev as h,eg as d,az as v}from"./startup-app-eD_rQhSh.js";/* empty css */import"./ai-chat-BO5vbKZW.js";import"./startup-runtime-DTmhLESk.js";function y({assetCount:a,storageStatus:r}){var t,o;const l=((t=r==null?void 0:r.quota)==null?void 0:t.percentUsed)||0,s=((o=r==null?void 0:r.quota)==null?void 0:o.usage)||0;return e.jsxs("div",{className:"storage-bar",children:[e.jsxs("div",{className:"storage-bar__header",children:[e.jsxs("div",{className:"storage-bar__header-left",children:[e.jsx(n,{size:14,className:"storage-bar__icon"}),e.jsx("span",{className:"storage-bar__title",children:"本地存储空间"})]}),e.jsxs("span",{className:"storage-bar__count",children:[a," 个素材"]})]}),e.jsx("div",{className:"storage-bar__usage",children:e.jsxs("span",{className:"storage-bar__usage-value",children:["已用:",b(s)]})}),e.jsx(_,{percentage:l,size:"small",strokeWidth:6,label:!1})]})}function N({filters:a,assetCount:r,storageStatus:l,onFilterChange:s}){return e.jsxs("div",{className:"media-library-sidebar",children:[e.jsxs("div",{className:"media-library-sidebar__section",children:[e.jsx("h3",{className:"media-library-sidebar__title",children:"类型"}),e.jsxs("div",{className:"media-library-sidebar__buttons",children:[e.jsxs(i,{variant:a.activeType==="ALL"?"base":"outline",onClick:()=>s({activeType:"ALL"}),block:!0,theme:"default","data-track":"sidebar_filter_type_all",children:[e.jsx(m,{size:16}),e.jsx("span",{children:"全部素材"})]}),e.jsxs(i,{variant:a.activeType===c.IMAGE?"base":"outline",onClick:()=>s({activeType:c.IMAGE}),block:!0,theme:"default","data-track":"sidebar_filter_type_image",children:[e.jsx(u,{size:16}),e.jsx("span",{children:"图片"})]}),e.jsxs(i,{variant:a.activeType===c.VIDEO?"base":"outline",onClick:()=>s({activeType:c.VIDEO}),block:!0,theme:"default","data-track":"sidebar_filter_type_video",children:[e.jsx(x,{size:16}),e.jsx("span",{children:"视频"})]})]})]}),e.jsxs("div",{className:"media-library-sidebar__section",children:[e.jsx("h3",{className:"media-library-sidebar__title",children:"来源"}),e.jsxs("div",{className:"media-library-sidebar__buttons",children:[e.jsxs(i,{variant:a.activeSource==="ALL"?"base":"outline",onClick:()=>s({activeSource:"ALL"}),block:!0,theme:"default","data-track":"sidebar_filter_source_all",children:[e.jsx(j,{size:16}),e.jsx("span",{children:"全部来源"})]}),e.jsxs(i,{variant:a.activeSource===d.LOCAL?"base":"outline",onClick:()=>s({activeSource:d.LOCAL}),block:!0,theme:"default","data-track":"sidebar_filter_source_local",children:[e.jsx(h,{size:16}),e.jsx("span",{children:"本地上传"})]}),e.jsxs(i,{variant:a.activeSource===d.AI_GENERATED?"base":"outline",onClick:()=>s({activeSource:d.AI_GENERATED}),block:!0,theme:"default","data-track":"sidebar_filter_source_ai",children:[e.jsx(v,{size:16}),e.jsx("span",{children:"AI生成"})]})]})]}),e.jsxs("div",{className:"media-library-sidebar__section",children:[e.jsx("h3",{className:"media-library-sidebar__title",children:"排序"}),e.jsxs("div",{className:"media-library-sidebar__buttons",children:[e.jsx(i,{variant:a.sortBy==="DATE_DESC"?"base":"outline",onClick:()=>s({sortBy:"DATE_DESC"}),block:!0,size:"small",theme:"default","data-track":"sidebar_sort_date_desc",children:"最新优先"}),e.jsx(i,{variant:a.sortBy==="DATE_ASC"?"base":"outline",onClick:()=>s({sortBy:"DATE_ASC"}),block:!0,size:"small",theme:"default","data-track":"sidebar_sort_date_asc",children:"最旧优先"}),e.jsx(i,{variant:a.sortBy==="NAME_ASC"?"base":"outline",onClick:()=>s({sortBy:"NAME_ASC"}),block:!0,size:"small",theme:"default","data-track":"sidebar_sort_name_asc",children:"名称排序"}),e.jsx(i,{variant:a.sortBy==="SIZE_DESC"?"base":"outline",onClick:()=>s({sortBy:"SIZE_DESC"}),block:!0,size:"small",theme:"default","data-track":"sidebar_sort_size_desc",children:"大小排序"})]})]}),e.jsx("div",{className:"media-library-sidebar__section media-library-sidebar__section--storage",children:e.jsx(y,{assetCount:r,storageStatus:l})})]})}export{z as AssetItem,I as MediaLibraryEmpty,D as MediaLibraryGrid,M as MediaLibraryInspector,T as MediaLibraryModal,N as MediaLibrarySidebar,y as MediaLibraryStorageBar};
@@ -1 +1 @@
1
- import{la as d,k_ as g,lb as m,lc as S}from"./startup-app-DxX-P1pm.js";import{u as _,r as v}from"./editor-engines-CvxZrFyB.js";import"./startup-runtime-DTmhLESk.js";import"./diagram-engines-C9ewAq_o.js";const y=s=>{let i="";const h=e=>{if(e.type==="text"||e.type==="inlineCode"||e.type==="code"){i+=e.value;return}if(e.type==="link"){i+=`${e.url}`;return}e.children&&e.children.length>0&&e.children.forEach(a=>{h(a)})};return h(s),i},C=(s,i)=>{if(s.type==="heading"){const h=s.depth;for(let e=h-1;e>=0;e--)if(i[`${e}`])return i[`${e}`]}return i[0]},R=(s,i)=>{var k,M,P;const e=_().use(v).parse(s);let a=!1;const f=(k=e.children)==null?void 0:k.find(t=>{if(t.type==="heading")return t});f&&((M=e.children)==null?void 0:M.filter(t=>t.type==="heading"&&f&&t.depth===f.depth).length)===1&&(a=!0);const b=y(f),T=i||a&&b||"中心主题",w=d(null,!0,!1,g(T)),o=m(T,w.width,w.height,{layout:S.right});o.isRoot=!0,o.type="mindmap";const E={0:o};let l=o;const x=(t,z=!1)=>{var $;if(!(a&&!i&&t===f))if(t.type==="heading"){const r=C(t,E),n=y(t);if(!n)return;const{width:p,height:c}=d(null,!1,!1,g(n)),u=m(n,p,c,{});r.children.push(u),E[`${t.depth}`]=u,l=u}else if(t.type==="list")($=t.children)==null||$.forEach(r=>{x(r)});else if(t.type==="listItem"){if(t.children&&t.children.length>1){const u=l;t.children.forEach((H,N)=>{x(H,N===0)}),l=u;return}const r=y(t);if(!r)return;const{width:n,height:p}=d(null,!1,!1,g(r)),c=m(r,n,p,{});l.children.push(c)}else{const r=y(t);if(!r)return;const{width:n,height:p}=d(null,!1,!1,g(r)),c=m(r,n,p,{});l.children.push(c),z&&(l=c)}};return(P=e.children)==null||P.forEach(t=>{x(t)}),o};export{C as getParentMindNode,y as getTextFromNode,R as parseMarkdownToDrawnix};
1
+ import{li as d,l6 as g,lj as m,lk as b}from"./startup-app-eD_rQhSh.js";import{u as j,r as v}from"./editor-engines-C573k8UM.js";import"./startup-runtime-DTmhLESk.js";import"./diagram-engines-CSzW_-6N.js";const y=s=>{let i="";const h=e=>{if(e.type==="text"||e.type==="inlineCode"||e.type==="code"){i+=e.value;return}if(e.type==="link"){i+=`${e.url}`;return}e.children&&e.children.length>0&&e.children.forEach(a=>{h(a)})};return h(s),i},C=(s,i)=>{if(s.type==="heading"){const h=s.depth;for(let e=h-1;e>=0;e--)if(i[`${e}`])return i[`${e}`]}return i[0]},R=(s,i)=>{var k,M,P;const e=j().use(v).parse(s);let a=!1;const f=(k=e.children)==null?void 0:k.find(t=>{if(t.type==="heading")return t});f&&((M=e.children)==null?void 0:M.filter(t=>t.type==="heading"&&f&&t.depth===f.depth).length)===1&&(a=!0);const z=y(f),T=i||a&&z||"中心主题",w=d(null,!0,!1,g(T)),o=m(T,w.width,w.height,{layout:b.right});o.isRoot=!0,o.type="mindmap";const E={0:o};let l=o;const x=(t,H=!1)=>{var $;if(!(a&&!i&&t===f))if(t.type==="heading"){const r=C(t,E),n=y(t);if(!n)return;const{width:p,height:c}=d(null,!1,!1,g(n)),u=m(n,p,c,{});r.children.push(u),E[`${t.depth}`]=u,l=u}else if(t.type==="list")($=t.children)==null||$.forEach(r=>{x(r)});else if(t.type==="listItem"){if(t.children&&t.children.length>1){const u=l;t.children.forEach((N,S)=>{x(N,S===0)}),l=u;return}const r=y(t);if(!r)return;const{width:n,height:p}=d(null,!1,!1,g(r)),c=m(r,n,p,{});l.children.push(c)}else{const r=y(t);if(!r)return;const{width:n,height:p}=d(null,!1,!1,g(r)),c=m(r,n,p,{});l.children.push(c),H&&(l=c)}};return(P=e.children)==null||P.forEach(t=>{x(t)}),o};export{C as getParentMindNode,y as getTextFromNode,R as parseMarkdownToDrawnix};
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./startup-app-CKHrOmQ0.css"])))=>i.map(i=>d[i]);
2
- import{_ as r}from"./startup-runtime-DTmhLESk.js";(async function(){try{await(window.__OPENTU_START_MAIN_ENTRY__||Promise.resolve()),await r(()=>import("./startup-app-DxX-P1pm.js").then(_=>_.nY),__vite__mapDeps([0]),import.meta.url)}catch(_){if(window.__OPENTU_BOOT_DYNAMIC_IMPORT_RECOVERY__&&window.__OPENTU_BOOT_DYNAMIC_IMPORT_RECOVERY__(_))return;throw _}})();
2
+ import{_ as r}from"./startup-runtime-DTmhLESk.js";(async function(){try{await(window.__OPENTU_START_MAIN_ENTRY__||Promise.resolve()),await r(()=>import("./startup-app-eD_rQhSh.js").then(_=>_.o4),__vite__mapDeps([0]),import.meta.url)}catch(_){if(window.__OPENTU_BOOT_DYNAMIC_IMPORT_RECOVERY__&&window.__OPENTU_BOOT_DYNAMIC_IMPORT_RECOVERY__(_))return;throw _}})();
@@ -1,4 +1,4 @@
1
- import{bq as A,kX as C,kY as w,kZ as F,k_ as L,k$ as it,l0 as R,io as N,l1 as K,l2 as Z,l3 as Q,l4 as wt,l5 as ct,ip as et,l6 as St,l7 as kt,l8 as At,br as Tt,l9 as G}from"./startup-app-DxX-P1pm.js";import{m as st}from"./diagram-engines-C9ewAq_o.js";import"./startup-runtime-DTmhLESk.js";const rt=20,It={rect:"rectangle",circle:"ellipse"},dt={startOnLoad:!1,flowchart:{curve:"linear"},themeVariables:{fontSize:`${rt}px`},maxEdges:500,maxTextSize:5e4};class nt{constructor({converter:e}){this.convert=(r,n)=>this.converter(r,{...n,fontSize:n.fontSize||rt}),this.converter=e}}var X;(function(t){t.ROUND="round",t.STADIUM="stadium",t.DOUBLECIRCLE="doublecircle",t.CIRCLE="circle",t.DIAMOND="diamond"})(X||(X={}));var ot;(function(t){t.COLOR="color"})(ot||(ot={}));var M;(function(t){t.FILL="fill",t.STROKE="stroke",t.STROKE_WIDTH="stroke-width",t.STROKE_DASHARRAY="stroke-dasharray"})(M||(M={}));const Ot=(t,e={listUnicodeChar:""})=>{e=e||{},e.listUnicodeChar=e.hasOwnProperty("listUnicodeChar")?e.listUnicodeChar:!1,e.stripListLeaders=e.hasOwnProperty("stripListLeaders")?e.stripListLeaders:!0,e.gfm=e.hasOwnProperty("gfm")?e.gfm:!0,e.useImgAltText=e.hasOwnProperty("useImgAltText")?e.useImgAltText:!0,e.preserveLinks=e.hasOwnProperty("preserveLinks")?e.preserveLinks:!1;let r=t||"";r=r.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm,"");try{e.stripListLeaders&&(e.listUnicodeChar?r=r.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,e.listUnicodeChar+" $1"):r=r.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),e.gfm&&(r=r.replace(/\n={2,}/g,`
1
+ import{bq as A,l3 as C,l4 as w,l5 as F,l6 as L,l7 as it,l8 as R,ip as N,l9 as K,la as Z,lb as Q,lc as wt,ld as ct,iq as et,le as St,lf as kt,lg as At,br as Tt,lh as G}from"./startup-app-eD_rQhSh.js";import{m as st}from"./diagram-engines-CSzW_-6N.js";import"./startup-runtime-DTmhLESk.js";const rt=20,It={rect:"rectangle",circle:"ellipse"},dt={startOnLoad:!1,flowchart:{curve:"linear"},themeVariables:{fontSize:`${rt}px`},maxEdges:500,maxTextSize:5e4};class nt{constructor({converter:e}){this.convert=(r,n)=>this.converter(r,{...n,fontSize:n.fontSize||rt}),this.converter=e}}var X;(function(t){t.ROUND="round",t.STADIUM="stadium",t.DOUBLECIRCLE="doublecircle",t.CIRCLE="circle",t.DIAMOND="diamond"})(X||(X={}));var ot;(function(t){t.COLOR="color"})(ot||(ot={}));var M;(function(t){t.FILL="fill",t.STROKE="stroke",t.STROKE_WIDTH="stroke-width",t.STROKE_DASHARRAY="stroke-dasharray"})(M||(M={}));const Ot=(t,e={listUnicodeChar:""})=>{e=e||{},e.listUnicodeChar=e.hasOwnProperty("listUnicodeChar")?e.listUnicodeChar:!1,e.stripListLeaders=e.hasOwnProperty("stripListLeaders")?e.stripListLeaders:!0,e.gfm=e.hasOwnProperty("gfm")?e.gfm:!0,e.useImgAltText=e.hasOwnProperty("useImgAltText")?e.useImgAltText:!0,e.preserveLinks=e.hasOwnProperty("preserveLinks")?e.preserveLinks:!1;let r=t||"";r=r.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm,"");try{e.stripListLeaders&&(e.listUnicodeChar?r=r.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,e.listUnicodeChar+" $1"):r=r.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),e.gfm&&(r=r.replace(/\n={2,}/g,`
2
2
  `).replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/`{3}.*\n/g,"")),e.preserveLinks&&(r=r.replace(/\[(.*?)\][\[\(](.*?)[\]\)]/g,"$1 ($2)")),r=r.replace(/<[^>]*>/g,"").replace(/^[=\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g,e.useImgAltText?"$1":"").replace(/\[(.*?)\][\[\(].*?[\]\)]/g,"$1").replace(/^\s{0,3}>\s?/g,"").replace(/(^|\n)\s{0,3}>\s?/g,`
3
3
 
4
4
  `).replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s+| {0,}(\n)?\s{0,}#{0,} {0,}(\n)?\s{0,}$/gm,"$1$2$3").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/\n{2,}/g,`
@@ -1,4 +1,4 @@
1
- import{c as un,g as Gl}from"./startup-runtime-DTmhLESk.js";import{_ as qa}from"./jspdf.es.min-BM9ML7Zw.js";import{nD as Kr}from"./startup-app-DxX-P1pm.js";var ln={},hn={},fr,fn;function Q(){if(fn)return fr;fn=1;var n=function(e){return e&&e.Math===Math&&e};return fr=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof un=="object"&&un)||n(typeof fr=="object"&&fr)||(function(){return this})()||Function("return this")(),fr}var Qr={},Zr,vn;function Z(){return vn||(vn=1,Zr=function(n){try{return!!n()}catch{return!0}}),Zr}var Jr,cn;function we(){if(cn)return Jr;cn=1;var n=Z();return Jr=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Jr}var et,gn;function wr(){if(gn)return et;gn=1;var n=Z();return et=!n(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),et}var rt,dn;function se(){if(dn)return rt;dn=1;var n=wr(),e=Function.prototype.call;return rt=n?e.bind(e):function(){return e.apply(e,arguments)},rt}var tt={},pn;function $l(){if(pn)return tt;pn=1;var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!n.call({1:2},1);return tt.f=r?function(i){var a=e(this,i);return!!a&&a.enumerable}:n,tt}var it,yn;function ja(){return yn||(yn=1,it=function(n,e){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:e}}),it}var at,mn;function J(){if(mn)return at;mn=1;var n=wr(),e=Function.prototype,r=e.call,t=n&&e.bind.bind(r,r);return at=n?t:function(i){return function(){return r.apply(i,arguments)}},at}var nt,bn;function Je(){if(bn)return nt;bn=1;var n=J(),e=n({}.toString),r=n("".slice);return nt=function(t){return r(e(t),8,-1)},nt}var st,xn;function Ju(){if(xn)return st;xn=1;var n=J(),e=Z(),r=Je(),t=Object,i=n("".split);return st=e(function(){return!t("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):t(a)}:t,st}var ot,On;function Pr(){return On||(On=1,ot=function(n){return n==null}),ot}var ut,Tn;function Pe(){if(Tn)return ut;Tn=1;var n=Pr(),e=TypeError;return ut=function(r){if(n(r))throw new e("Can't call method on "+r);return r},ut}var lt,Sn;function cr(){if(Sn)return lt;Sn=1;var n=Ju(),e=Pe();return lt=function(r){return n(e(r))},lt}var ht,En;function re(){if(En)return ht;En=1;var n=typeof document=="object"&&document.all;return ht=typeof n>"u"&&n!==void 0?function(e){return typeof e=="function"||e===n}:function(e){return typeof e=="function"},ht}var ft,Rn;function ye(){if(Rn)return ft;Rn=1;var n=re();return ft=function(e){return typeof e=="object"?e!==null:n(e)},ft}var vt,Cn;function er(){if(Cn)return vt;Cn=1;var n=Q(),e=re(),r=function(t){return e(t)?t:void 0};return vt=function(t,i){return arguments.length<2?r(n[t]):n[t]&&n[t][i]},vt}var ct,wn;function Ar(){if(wn)return ct;wn=1;var n=J();return ct=n({}.isPrototypeOf),ct}var gt,Pn;function gr(){if(Pn)return gt;Pn=1;var n=Q(),e=n.navigator,r=e&&e.userAgent;return gt=r?String(r):"",gt}var dt,An;function Ba(){if(An)return dt;An=1;var n=Q(),e=gr(),r=n.process,t=n.Deno,i=r&&r.versions||t&&t.version,a=i&&i.v8,s,o;return a&&(s=a.split("."),o=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!o&&e&&(s=e.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=e.match(/Chrome\/(\d+)/),s&&(o=+s[1]))),dt=o,dt}var pt,In;function el(){if(In)return pt;In=1;var n=Ba(),e=Z(),r=Q(),t=r.String;return pt=!!Object.getOwnPropertySymbols&&!e(function(){var i=Symbol("symbol detection");return!t(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&n&&n<41}),pt}var yt,Nn;function rl(){if(Nn)return yt;Nn=1;var n=el();return yt=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol",yt}var mt,_n;function tl(){if(_n)return mt;_n=1;var n=er(),e=re(),r=Ar(),t=rl(),i=Object;return mt=t?function(a){return typeof a=="symbol"}:function(a){var s=n("Symbol");return e(s)&&r(s.prototype,i(a))},mt}var bt,Mn;function Ir(){if(Mn)return bt;Mn=1;var n=String;return bt=function(e){try{return n(e)}catch{return"Object"}},bt}var xt,qn;function Fe(){if(qn)return xt;qn=1;var n=re(),e=Ir(),r=TypeError;return xt=function(t){if(n(t))return t;throw new r(e(t)+" is not a function")},xt}var Ot,Dn;function ar(){if(Dn)return Ot;Dn=1;var n=Fe(),e=Pr();return Ot=function(r,t){var i=r[t];return e(i)?void 0:n(i)},Ot}var Tt,Vn;function Hl(){if(Vn)return Tt;Vn=1;var n=se(),e=re(),r=ye(),t=TypeError;return Tt=function(i,a){var s,o;if(a==="string"&&e(s=i.toString)&&!r(o=n(s,i))||e(s=i.valueOf)&&!r(o=n(s,i))||a!=="string"&&e(s=i.toString)&&!r(o=n(s,i)))return o;throw new t("Can't convert object to primitive value")},Tt}var St={exports:{}},Et,Ln;function Me(){return Ln||(Ln=1,Et=!1),Et}var Rt,kn;function Fa(){if(kn)return Rt;kn=1;var n=Q(),e=Object.defineProperty;return Rt=function(r,t){try{e(n,r,{value:t,configurable:!0,writable:!0})}catch{n[r]=t}return t},Rt}var jn;function Ua(){if(jn)return St.exports;jn=1;var n=Me(),e=Q(),r=Fa(),t="__core-js_shared__",i=St.exports=e[t]||r(t,{});return(i.versions||(i.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),St.exports}var Ct,Bn;function Ga(){if(Bn)return Ct;Bn=1;var n=Ua();return Ct=function(e,r){return n[e]||(n[e]=r||{})},Ct}var wt,Fn;function Nr(){if(Fn)return wt;Fn=1;var n=Pe(),e=Object;return wt=function(r){return e(n(r))},wt}var Pt,Un;function Ae(){if(Un)return Pt;Un=1;var n=J(),e=Nr(),r=n({}.hasOwnProperty);return Pt=Object.hasOwn||function(i,a){return r(e(i),a)},Pt}var At,Gn;function il(){if(Gn)return At;Gn=1;var n=J(),e=0,r=Math.random(),t=n(1.1.toString);return At=function(i){return"Symbol("+(i===void 0?"":i)+")_"+t(++e+r,36)},At}var It,$n;function ne(){if($n)return It;$n=1;var n=Q(),e=Ga(),r=Ae(),t=il(),i=el(),a=rl(),s=n.Symbol,o=e("wks"),u=a?s.for||s:s&&s.withoutSetter||t;return It=function(l){return r(o,l)||(o[l]=i&&r(s,l)?s[l]:u("Symbol."+l)),o[l]},It}var Nt,Hn;function zl(){if(Hn)return Nt;Hn=1;var n=se(),e=ye(),r=tl(),t=ar(),i=Hl(),a=ne(),s=TypeError,o=a("toPrimitive");return Nt=function(u,l){if(!e(u)||r(u))return u;var h=t(u,o),v;if(h){if(l===void 0&&(l="default"),v=n(h,u,l),!e(v)||r(v))return v;throw new s("Can't convert object to primitive value")}return l===void 0&&(l="number"),i(u,l)},Nt}var _t,zn;function al(){if(zn)return _t;zn=1;var n=zl(),e=tl();return _t=function(r){var t=n(r,"string");return e(t)?t:t+""},_t}var Mt,Wn;function _r(){if(Wn)return Mt;Wn=1;var n=Q(),e=ye(),r=n.document,t=e(r)&&e(r.createElement);return Mt=function(i){return t?r.createElement(i):{}},Mt}var qt,Yn;function nl(){if(Yn)return qt;Yn=1;var n=we(),e=Z(),r=_r();return qt=!n&&!e(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),qt}var Xn;function Mr(){if(Xn)return Qr;Xn=1;var n=we(),e=se(),r=$l(),t=ja(),i=cr(),a=al(),s=Ae(),o=nl(),u=Object.getOwnPropertyDescriptor;return Qr.f=n?u:function(h,v){if(h=i(h),v=a(v),o)try{return u(h,v)}catch{}if(s(h,v))return t(!e(r.f,h,v),h[v])},Qr}var Dt={},Vt,Kn;function sl(){if(Kn)return Vt;Kn=1;var n=we(),e=Z();return Vt=n&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Vt}var Lt,Qn;function he(){if(Qn)return Lt;Qn=1;var n=ye(),e=String,r=TypeError;return Lt=function(t){if(n(t))return t;throw new r(e(t)+" is not an object")},Lt}var Zn;function Ye(){if(Zn)return Dt;Zn=1;var n=we(),e=nl(),r=sl(),t=he(),i=al(),a=TypeError,s=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",h="writable";return Dt.f=n?r?function(c,f,g){if(t(c),f=i(f),t(g),typeof c=="function"&&f==="prototype"&&"value"in g&&h in g&&!g[h]){var d=o(c,f);d&&d[h]&&(c[f]=g.value,g={configurable:l in g?g[l]:d[l],enumerable:u in g?g[u]:d[u],writable:!1})}return s(c,f,g)}:s:function(c,f,g){if(t(c),f=i(f),t(g),e)try{return s(c,f,g)}catch{}if("get"in g||"set"in g)throw new a("Accessors not supported");return"value"in g&&(c[f]=g.value),c},Dt}var kt,Jn;function dr(){if(Jn)return kt;Jn=1;var n=we(),e=Ye(),r=ja();return kt=n?function(t,i,a){return e.f(t,i,r(1,a))}:function(t,i,a){return t[i]=a,t},kt}var jt={exports:{}},Bt,es;function qr(){if(es)return Bt;es=1;var n=we(),e=Ae(),r=Function.prototype,t=n&&Object.getOwnPropertyDescriptor,i=e(r,"name"),a=i&&(function(){}).name==="something",s=i&&(!n||n&&t(r,"name").configurable);return Bt={EXISTS:i,PROPER:a,CONFIGURABLE:s},Bt}var Ft,rs;function $a(){if(rs)return Ft;rs=1;var n=J(),e=re(),r=Ua(),t=n(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(i){return t(i)}),Ft=r.inspectSource,Ft}var Ut,ts;function Wl(){if(ts)return Ut;ts=1;var n=Q(),e=re(),r=n.WeakMap;return Ut=e(r)&&/native code/.test(String(r)),Ut}var Gt,is;function Ha(){if(is)return Gt;is=1;var n=Ga(),e=il(),r=n("keys");return Gt=function(t){return r[t]||(r[t]=e(t))},Gt}var $t,as;function za(){return as||(as=1,$t={}),$t}var Ht,ns;function Dr(){if(ns)return Ht;ns=1;var n=Wl(),e=Q(),r=ye(),t=dr(),i=Ae(),a=Ua(),s=Ha(),o=za(),u="Object already initialized",l=e.TypeError,h=e.WeakMap,v,c,f,g=function(m){return f(m)?c(m):v(m,{})},d=function(m){return function(b){var x;if(!r(b)||(x=c(b)).type!==m)throw new l("Incompatible receiver, "+m+" required");return x}};if(n||a.state){var p=a.state||(a.state=new h);p.get=p.get,p.has=p.has,p.set=p.set,v=function(m,b){if(p.has(m))throw new l(u);return b.facade=m,p.set(m,b),b},c=function(m){return p.get(m)||{}},f=function(m){return p.has(m)}}else{var y=s("state");o[y]=!0,v=function(m,b){if(i(m,y))throw new l(u);return b.facade=m,t(m,y,b),b},c=function(m){return i(m,y)?m[y]:{}},f=function(m){return i(m,y)}}return Ht={set:v,get:c,has:f,enforce:g,getterFor:d},Ht}var ss;function ol(){if(ss)return jt.exports;ss=1;var n=J(),e=Z(),r=re(),t=Ae(),i=we(),a=qr().CONFIGURABLE,s=$a(),o=Dr(),u=o.enforce,l=o.get,h=String,v=Object.defineProperty,c=n("".slice),f=n("".replace),g=n([].join),d=i&&!e(function(){return v(function(){},"length",{value:8}).length!==8}),p=String(String).split("String"),y=jt.exports=function(m,b,x){c(h(b),0,7)==="Symbol("&&(b="["+f(h(b),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(b="get "+b),x&&x.setter&&(b="set "+b),(!t(m,"name")||a&&m.name!==b)&&(i?v(m,"name",{value:b,configurable:!0}):m.name=b),d&&x&&t(x,"arity")&&m.length!==x.arity&&v(m,"length",{value:x.arity});try{x&&t(x,"constructor")&&x.constructor?i&&v(m,"prototype",{writable:!1}):m.prototype&&(m.prototype=void 0)}catch{}var S=u(m);return t(S,"source")||(S.source=g(p,typeof b=="string"?b:"")),m};return Function.prototype.toString=y(function(){return r(this)&&l(this).source||s(this)},"toString"),jt.exports}var zt,os;function rr(){if(os)return zt;os=1;var n=re(),e=Ye(),r=ol(),t=Fa();return zt=function(i,a,s,o){o||(o={});var u=o.enumerable,l=o.name!==void 0?o.name:a;if(n(s)&&r(s,l,o),o.global)u?i[a]=s:t(a,s);else{try{o.unsafe?i[a]&&(u=!0):delete i[a]}catch{}u?i[a]=s:e.f(i,a,{value:s,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return i},zt}var Wt={},Yt,us;function Yl(){if(us)return Yt;us=1;var n=Math.ceil,e=Math.floor;return Yt=Math.trunc||function(t){var i=+t;return(i>0?e:n)(i)},Yt}var Xt,ls;function Vr(){if(ls)return Xt;ls=1;var n=Yl();return Xt=function(e){var r=+e;return r!==r||r===0?0:n(r)},Xt}var Kt,hs;function Xl(){if(hs)return Kt;hs=1;var n=Vr(),e=Math.max,r=Math.min;return Kt=function(t,i){var a=n(t);return a<0?e(a+i,0):r(a,i)},Kt}var Qt,fs;function nr(){if(fs)return Qt;fs=1;var n=Vr(),e=Math.min;return Qt=function(r){var t=n(r);return t>0?e(t,9007199254740991):0},Qt}var Zt,vs;function Wa(){if(vs)return Zt;vs=1;var n=nr();return Zt=function(e){return n(e.length)},Zt}var Jt,cs;function ul(){if(cs)return Jt;cs=1;var n=cr(),e=Xl(),r=Wa(),t=function(i){return function(a,s,o){var u=n(a),l=r(u);if(l===0)return!i&&-1;var h=e(o,l),v;if(i&&s!==s){for(;l>h;)if(v=u[h++],v!==v)return!0}else for(;l>h;h++)if((i||h in u)&&u[h]===s)return i||h||0;return!i&&-1}};return Jt={includes:t(!0),indexOf:t(!1)},Jt}var ei,gs;function ll(){if(gs)return ei;gs=1;var n=J(),e=Ae(),r=cr(),t=ul().indexOf,i=za(),a=n([].push);return ei=function(s,o){var u=r(s),l=0,h=[],v;for(v in u)!e(i,v)&&e(u,v)&&a(h,v);for(;o.length>l;)e(u,v=o[l++])&&(~t(h,v)||a(h,v));return h},ei}var ri,ds;function Ya(){return ds||(ds=1,ri=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),ri}var ps;function Kl(){if(ps)return Wt;ps=1;var n=ll(),e=Ya(),r=e.concat("length","prototype");return Wt.f=Object.getOwnPropertyNames||function(i){return n(i,r)},Wt}var ti={},ys;function Ql(){return ys||(ys=1,ti.f=Object.getOwnPropertySymbols),ti}var ii,ms;function Zl(){if(ms)return ii;ms=1;var n=er(),e=J(),r=Kl(),t=Ql(),i=he(),a=e([].concat);return ii=n("Reflect","ownKeys")||function(o){var u=r.f(i(o)),l=t.f;return l?a(u,l(o)):u},ii}var ai,bs;function Jl(){if(bs)return ai;bs=1;var n=Ae(),e=Zl(),r=Mr(),t=Ye();return ai=function(i,a,s){for(var o=e(a),u=t.f,l=r.f,h=0;h<o.length;h++){var v=o[h];!n(i,v)&&!(s&&n(s,v))&&u(i,v,l(a,v))}},ai}var ni,xs;function hl(){if(xs)return ni;xs=1;var n=Z(),e=re(),r=/#|\.prototype\./,t=function(u,l){var h=a[i(u)];return h===o?!0:h===s?!1:e(l)?n(l):!!l},i=t.normalize=function(u){return String(u).replace(r,".").toLowerCase()},a=t.data={},s=t.NATIVE="N",o=t.POLYFILL="P";return ni=t,ni}var si,Os;function fe(){if(Os)return si;Os=1;var n=Q(),e=Mr().f,r=dr(),t=rr(),i=Fa(),a=Jl(),s=hl();return si=function(o,u){var l=o.target,h=o.global,v=o.stat,c,f,g,d,p,y;if(h?f=n:v?f=n[l]||i(l,{}):f=n[l]&&n[l].prototype,f)for(g in u){if(p=u[g],o.dontCallGetSet?(y=e(f,g),d=y&&y.value):d=f[g],c=s(h?g:l+(v?".":"#")+g,o.forced),!c&&d!==void 0){if(typeof p==typeof d)continue;a(p,d)}(o.sham||d&&d.sham)&&r(p,"sham",!0),t(f,g,p,o)}},si}var oi,Ts;function fl(){if(Ts)return oi;Ts=1;var n=Q(),e=gr(),r=Je(),t=function(i){return e.slice(0,i.length)===i};return oi=(function(){return t("Bun/")?"BUN":t("Cloudflare-Workers")?"CLOUDFLARE":t("Deno/")?"DENO":t("Node.js/")?"NODE":n.Bun&&typeof Bun.version=="string"?"BUN":n.Deno&&typeof Deno.version=="object"?"DENO":r(n.process)==="process"?"NODE":n.window&&n.document?"BROWSER":"REST"})(),oi}var ui,Ss;function Lr(){if(Ss)return ui;Ss=1;var n=fl();return ui=n==="NODE",ui}var li,Es;function eh(){if(Es)return li;Es=1;var n=Q();return li=n,li}var hi,Rs;function rh(){if(Rs)return hi;Rs=1;var n=J(),e=Fe();return hi=function(r,t,i){try{return n(e(Object.getOwnPropertyDescriptor(r,t)[i]))}catch{}},hi}var fi,Cs;function th(){if(Cs)return fi;Cs=1;var n=ye();return fi=function(e){return n(e)||e===null},fi}var vi,ws;function ih(){if(ws)return vi;ws=1;var n=th(),e=String,r=TypeError;return vi=function(t){if(n(t))return t;throw new r("Can't set "+e(t)+" as a prototype")},vi}var ci,Ps;function vl(){if(Ps)return ci;Ps=1;var n=rh(),e=ye(),r=Pe(),t=ih();return ci=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,a={},s;try{s=n(Object.prototype,"__proto__","set"),s(a,[]),i=a instanceof Array}catch{}return function(u,l){return r(u),t(l),e(u)&&(i?s(u,l):u.__proto__=l),u}})():void 0),ci}var gi,As;function kr(){if(As)return gi;As=1;var n=Ye().f,e=Ae(),r=ne(),t=r("toStringTag");return gi=function(i,a,s){i&&!s&&(i=i.prototype),i&&!e(i,t)&&n(i,t,{configurable:!0,value:a})},gi}var di,Is;function ah(){if(Is)return di;Is=1;var n=ol(),e=Ye();return di=function(r,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),e.f(r,t,i)},di}var pi,Ns;function nh(){if(Ns)return pi;Ns=1;var n=er(),e=ah(),r=ne(),t=we(),i=r("species");return pi=function(a){var s=n(a);t&&s&&!s[i]&&e(s,i,{configurable:!0,get:function(){return this}})},pi}var yi,_s;function sh(){if(_s)return yi;_s=1;var n=Ar(),e=TypeError;return yi=function(r,t){if(n(t,r))return r;throw new e("Incorrect invocation")},yi}var mi,Ms;function oh(){if(Ms)return mi;Ms=1;var n=ne(),e=n("toStringTag"),r={};return r[e]="z",mi=String(r)==="[object z]",mi}var bi,qs;function Xa(){if(qs)return bi;qs=1;var n=oh(),e=re(),r=Je(),t=ne(),i=t("toStringTag"),a=Object,s=r((function(){return arguments})())==="Arguments",o=function(u,l){try{return u[l]}catch{}};return bi=n?r:function(u){var l,h,v;return u===void 0?"Undefined":u===null?"Null":typeof(h=o(l=a(u),i))=="string"?h:s?r(l):(v=r(l))==="Object"&&e(l.callee)?"Arguments":v},bi}var xi,Ds;function uh(){if(Ds)return xi;Ds=1;var n=J(),e=Z(),r=re(),t=Xa(),i=er(),a=$a(),s=function(){},o=i("Reflect","construct"),u=/^\s*(?:class|function)\b/,l=n(u.exec),h=!u.test(s),v=function(g){if(!r(g))return!1;try{return o(s,[],g),!0}catch{return!1}},c=function(g){if(!r(g))return!1;switch(t(g)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!l(u,a(g))}catch{return!0}};return c.sham=!0,xi=!o||e(function(){var f;return v(v.call)||!v(Object)||!v(function(){f=!0})||f})?c:v,xi}var Oi,Vs;function lh(){if(Vs)return Oi;Vs=1;var n=uh(),e=Ir(),r=TypeError;return Oi=function(t){if(n(t))return t;throw new r(e(t)+" is not a constructor")},Oi}var Ti,Ls;function cl(){if(Ls)return Ti;Ls=1;var n=he(),e=lh(),r=Pr(),t=ne(),i=t("species");return Ti=function(a,s){var o=n(a).constructor,u;return o===void 0||r(u=n(o)[i])?s:e(u)},Ti}var Si,ks;function gl(){if(ks)return Si;ks=1;var n=wr(),e=Function.prototype,r=e.apply,t=e.call;return Si=typeof Reflect=="object"&&Reflect.apply||(n?t.bind(r):function(){return t.apply(r,arguments)}),Si}var Ei,js;function jr(){if(js)return Ei;js=1;var n=Je(),e=J();return Ei=function(r){if(n(r)==="Function")return e(r)},Ei}var Ri,Bs;function Ka(){if(Bs)return Ri;Bs=1;var n=jr(),e=Fe(),r=wr(),t=n(n.bind);return Ri=function(i,a){return e(i),a===void 0?i:r?t(i,a):function(){return i.apply(a,arguments)}},Ri}var Ci,Fs;function dl(){if(Fs)return Ci;Fs=1;var n=er();return Ci=n("document","documentElement"),Ci}var wi,Us;function hh(){if(Us)return wi;Us=1;var n=J();return wi=n([].slice),wi}var Pi,Gs;function fh(){if(Gs)return Pi;Gs=1;var n=TypeError;return Pi=function(e,r){if(e<r)throw new n("Not enough arguments");return e},Pi}var Ai,$s;function pl(){if($s)return Ai;$s=1;var n=gr();return Ai=/ipad|iphone|ipod/i.test(n)&&/applewebkit/i.test(n),Ai}var Ii,Hs;function yl(){if(Hs)return Ii;Hs=1;var n=Q(),e=gl(),r=Ka(),t=re(),i=Ae(),a=Z(),s=dl(),o=hh(),u=_r(),l=fh(),h=pl(),v=Lr(),c=n.setImmediate,f=n.clearImmediate,g=n.process,d=n.Dispatch,p=n.Function,y=n.MessageChannel,m=n.String,b=0,x={},S="onreadystatechange",E,T,R,P;a(function(){E=n.location});var A=function(w){if(i(x,w)){var V=x[w];delete x[w],V()}},D=function(w){return function(){A(w)}},I=function(w){A(w.data)},k=function(w){n.postMessage(m(w),E.protocol+"//"+E.host)};return(!c||!f)&&(c=function(V){l(arguments.length,1);var B=t(V)?V:p(V),N=o(arguments,1);return x[++b]=function(){e(B,void 0,N)},T(b),b},f=function(V){delete x[V]},v?T=function(w){g.nextTick(D(w))}:d&&d.now?T=function(w){d.now(D(w))}:y&&!h?(R=new y,P=R.port2,R.port1.onmessage=I,T=r(P.postMessage,P)):n.addEventListener&&t(n.postMessage)&&!n.importScripts&&E&&E.protocol!=="file:"&&!a(k)?(T=k,n.addEventListener("message",I,!1)):S in u("script")?T=function(w){s.appendChild(u("script"))[S]=function(){s.removeChild(this),A(w)}}:T=function(w){setTimeout(D(w),0)}),Ii={set:c,clear:f},Ii}var Ni,zs;function vh(){if(zs)return Ni;zs=1;var n=Q(),e=we(),r=Object.getOwnPropertyDescriptor;return Ni=function(t){if(!e)return n[t];var i=r(n,t);return i&&i.value},Ni}var _i,Ws;function ml(){if(Ws)return _i;Ws=1;var n=function(){this.head=null,this.tail=null};return n.prototype={add:function(e){var r={item:e,next:null},t=this.tail;t?t.next=r:this.head=r,this.tail=r},get:function(){var e=this.head;if(e){var r=this.head=e.next;return r===null&&(this.tail=null),e.item}}},_i=n,_i}var Mi,Ys;function ch(){if(Ys)return Mi;Ys=1;var n=gr();return Mi=/ipad|iphone|ipod/i.test(n)&&typeof Pebble<"u",Mi}var qi,Xs;function gh(){if(Xs)return qi;Xs=1;var n=gr();return qi=/web0s(?!.*chrome)/i.test(n),qi}var Di,Ks;function dh(){if(Ks)return Di;Ks=1;var n=Q(),e=vh(),r=Ka(),t=yl().set,i=ml(),a=pl(),s=ch(),o=gh(),u=Lr(),l=n.MutationObserver||n.WebKitMutationObserver,h=n.document,v=n.process,c=n.Promise,f=e("queueMicrotask"),g,d,p,y,m;if(!f){var b=new i,x=function(){var S,E;for(u&&(S=v.domain)&&S.exit();E=b.get();)try{E()}catch(T){throw b.head&&g(),T}S&&S.enter()};!a&&!u&&!o&&l&&h?(d=!0,p=h.createTextNode(""),new l(x).observe(p,{characterData:!0}),g=function(){p.data=d=!d}):!s&&c&&c.resolve?(y=c.resolve(void 0),y.constructor=c,m=r(y.then,y),g=function(){m(x)}):u?g=function(){v.nextTick(x)}:(t=r(t,n),g=function(){t(x)}),f=function(S){b.head||g(),b.add(S)}}return Di=f,Di}var Vi,Qs;function ph(){return Qs||(Qs=1,Vi=function(n,e){try{arguments.length===1?console.error(n):console.error(n,e)}catch{}}),Vi}var Li,Zs;function Qa(){return Zs||(Zs=1,Li=function(n){try{return{error:!1,value:n()}}catch(e){return{error:!0,value:e}}}),Li}var ki,Js;function pr(){if(Js)return ki;Js=1;var n=Q();return ki=n.Promise,ki}var ji,eo;function yr(){if(eo)return ji;eo=1;var n=Q(),e=pr(),r=re(),t=hl(),i=$a(),a=ne(),s=fl(),o=Me(),u=Ba(),l=e&&e.prototype,h=a("species"),v=!1,c=r(n.PromiseRejectionEvent),f=t("Promise",function(){var g=i(e),d=g!==String(e);if(!d&&u===66||o&&!(l.catch&&l.finally))return!0;if(!u||u<51||!/native code/.test(g)){var p=new e(function(b){b(1)}),y=function(b){b(function(){},function(){})},m=p.constructor={};if(m[h]=y,v=p.then(function(){})instanceof y,!v)return!0}return!d&&(s==="BROWSER"||s==="DENO")&&!c});return ji={CONSTRUCTOR:f,REJECTION_EVENT:c,SUBCLASSING:v},ji}var Bi={},ro;function mr(){if(ro)return Bi;ro=1;var n=Fe(),e=TypeError,r=function(t){var i,a;this.promise=new t(function(s,o){if(i!==void 0||a!==void 0)throw new e("Bad Promise constructor");i=s,a=o}),this.resolve=n(i),this.reject=n(a)};return Bi.f=function(t){return new r(t)},Bi}var to;function yh(){if(to)return hn;to=1;var n=fe(),e=Me(),r=Lr(),t=Q(),i=eh(),a=se(),s=rr(),o=vl(),u=kr(),l=nh(),h=Fe(),v=re(),c=ye(),f=sh(),g=cl(),d=yl().set,p=dh(),y=ph(),m=Qa(),b=ml(),x=Dr(),S=pr(),E=yr(),T=mr(),R="Promise",P=E.CONSTRUCTOR,A=E.REJECTION_EVENT,D=E.SUBCLASSING,I=x.getterFor(R),k=x.set,w=S&&S.prototype,V=S,B=w,N=t.TypeError,j=t.document,_=t.process,q=T.f,U=q,L=!!(j&&j.createEvent&&t.dispatchEvent),$="unhandledrejection",X="rejectionhandled",ae=0,oe=1,ue=2,Ue=1,Ge=2,ve,Ne,_e,be,ce=function(C){var F;return c(C)&&v(F=C.then)?F:!1},xe=function(C,F){var H=F.value,z=F.state===oe,W=z?C.ok:C.fail,Te=C.resolve,Le=C.reject,Se=C.domain,Ee,ur,lr;try{W?(z||(F.rejection===Ge&&$e(F),F.rejection=Ue),W===!0?Ee=H:(Se&&Se.enter(),Ee=W(H),Se&&(Se.exit(),lr=!0)),Ee===C.promise?Le(new N("Promise-chain cycle")):(ur=ce(Ee))?a(ur,Ee,Te,Le):Te(Ee)):Le(H)}catch(hr){Se&&!lr&&Se.exit(),Le(hr)}},De=function(C,F){C.notified||(C.notified=!0,p(function(){for(var H=C.reactions,z;z=H.get();)xe(z,C);C.notified=!1,F&&!C.rejection&&Xe(C)}))},Ve=function(C,F,H){var z,W;L?(z=j.createEvent("Event"),z.promise=F,z.reason=H,z.initEvent(C,!1,!0),t.dispatchEvent(z)):z={promise:F,reason:H},!A&&(W=t["on"+C])?W(z):C===$&&y("Unhandled promise rejection",H)},Xe=function(C){a(d,t,function(){var F=C.facade,H=C.value,z=or(C),W;if(z&&(W=m(function(){r?_.emit("unhandledRejection",H,F):Ve($,F,H)}),C.rejection=r||or(C)?Ge:Ue,W.error))throw W.value})},or=function(C){return C.rejection!==Ue&&!C.parent},$e=function(C){a(d,t,function(){var F=C.facade;r?_.emit("rejectionHandled",F):Ve(X,F,C.value)})},ge=function(C,F,H){return function(z){C(F,z,H)}},de=function(C,F,H){C.done||(C.done=!0,H&&(C=H),C.value=F,C.state=ue,De(C,!0))},Oe=function(C,F,H){if(!C.done){C.done=!0,H&&(C=H);try{if(C.facade===F)throw new N("Promise can't be resolved itself");var z=ce(F);z?p(function(){var W={done:!1};try{a(z,F,ge(Oe,W,C),ge(de,W,C))}catch(Te){de(W,Te,C)}}):(C.value=F,C.state=oe,De(C,!1))}catch(W){de({done:!1},W,C)}}};if(P&&(V=function(F){f(this,B),h(F),a(ve,this);var H=I(this);try{F(ge(Oe,H),ge(de,H))}catch(z){de(H,z)}},B=V.prototype,ve=function(F){k(this,{type:R,done:!1,notified:!1,parent:!1,reactions:new b,rejection:!1,state:ae,value:null})},ve.prototype=s(B,"then",function(F,H){var z=I(this),W=q(g(this,V));return z.parent=!0,W.ok=v(F)?F:!0,W.fail=v(H)&&H,W.domain=r?_.domain:void 0,z.state===ae?z.reactions.add(W):p(function(){xe(W,z)}),W.promise}),Ne=function(){var C=new ve,F=I(C);this.promise=C,this.resolve=ge(Oe,F),this.reject=ge(de,F)},T.f=q=function(C){return C===V||C===_e?new Ne(C):U(C)},!e&&v(S)&&w!==Object.prototype)){be=w.then,D||s(w,"then",function(F,H){var z=this;return new V(function(W,Te){a(be,z,W,Te)}).then(F,H)},{unsafe:!0});try{delete w.constructor}catch{}o&&o(w,B)}return n({global:!0,constructor:!0,wrap:!0,forced:P},{Promise:V}),_e=i.Promise,u(V,R,!1,!0),l(R),hn}var io={},Fi,ao;function br(){return ao||(ao=1,Fi={}),Fi}var Ui,no;function mh(){if(no)return Ui;no=1;var n=ne(),e=br(),r=n("iterator"),t=Array.prototype;return Ui=function(i){return i!==void 0&&(e.Array===i||t[r]===i)},Ui}var Gi,so;function bl(){if(so)return Gi;so=1;var n=Xa(),e=ar(),r=Pr(),t=br(),i=ne(),a=i("iterator");return Gi=function(s){if(!r(s))return e(s,a)||e(s,"@@iterator")||t[n(s)]},Gi}var $i,oo;function bh(){if(oo)return $i;oo=1;var n=se(),e=Fe(),r=he(),t=Ir(),i=bl(),a=TypeError;return $i=function(s,o){var u=arguments.length<2?i(s):o;if(e(u))return r(n(u,s));throw new a(t(s)+" is not iterable")},$i}var Hi,uo;function xh(){if(uo)return Hi;uo=1;var n=se(),e=he(),r=ar();return Hi=function(t,i,a){var s,o;e(t);try{if(s=r(t,"return"),!s){if(i==="throw")throw a;return a}s=n(s,t)}catch(u){o=!0,s=u}if(i==="throw")throw a;if(o)throw s;return e(s),a},Hi}var zi,lo;function xl(){if(lo)return zi;lo=1;var n=Ka(),e=se(),r=he(),t=Ir(),i=mh(),a=Wa(),s=Ar(),o=bh(),u=bl(),l=xh(),h=TypeError,v=function(f,g){this.stopped=f,this.result=g},c=v.prototype;return zi=function(f,g,d){var p=d&&d.that,y=!!(d&&d.AS_ENTRIES),m=!!(d&&d.IS_RECORD),b=!!(d&&d.IS_ITERATOR),x=!!(d&&d.INTERRUPTED),S=n(g,p),E,T,R,P,A,D,I,k=function(B){var N=E;return E=void 0,N&&l(N,"normal"),new v(!0,B)},w=function(B){return y?(r(B),x?S(B[0],B[1],k):S(B[0],B[1])):x?S(B,k):S(B)};if(m)E=f.iterator;else if(b)E=f;else{if(T=u(f),!T)throw new h(t(f)+" is not iterable");if(i(T)){for(R=0,P=a(f);P>R;R++)if(A=w(f[R]),A&&s(c,A))return A;return new v(!1)}E=o(f,T)}for(D=m?f.next:E.next;!(I=e(D,E)).done;){var V=I.value;try{A=w(V)}catch(B){if(E)l(E,"throw",B);else throw B}if(typeof A=="object"&&A&&s(c,A))return A}return new v(!1)},zi}var Wi,ho;function Oh(){if(ho)return Wi;ho=1;var n=ne(),e=n("iterator"),r=!1;try{var t=0,i={next:function(){return{done:!!t++}},return:function(){r=!0}};i[e]=function(){return this},Array.from(i,function(){throw 2})}catch{}return Wi=function(a,s){try{if(!s&&!r)return!1}catch{return!1}var o=!1;try{var u={};u[e]=function(){return{next:function(){return{done:o=!0}}}},a(u)}catch{}return o},Wi}var Yi,fo;function Ol(){if(fo)return Yi;fo=1;var n=pr(),e=Oh(),r=yr().CONSTRUCTOR;return Yi=r||!e(function(t){n.all(t).then(void 0,function(){})}),Yi}var vo;function Th(){if(vo)return io;vo=1;var n=fe(),e=se(),r=Fe(),t=mr(),i=Qa(),a=xl(),s=Ol();return n({target:"Promise",stat:!0,forced:s},{all:function(u){var l=this,h=t.f(l),v=h.resolve,c=h.reject,f=i(function(){var g=r(l.resolve),d=[],p=0,y=1;a(u,function(m){var b=p++,x=!1;y++,e(g,l,m).then(function(S){x||(x=!0,d[b]=S,--y||v(d))},c)}),--y||v(d)});return f.error&&c(f.value),h.promise}}),io}var co={},go;function Sh(){if(go)return co;go=1;var n=fe(),e=Me(),r=yr().CONSTRUCTOR,t=pr(),i=er(),a=re(),s=rr(),o=t&&t.prototype;if(n({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(l){return this.then(void 0,l)}}),!e&&a(t)){var u=i("Promise").prototype.catch;o.catch!==u&&s(o,"catch",u,{unsafe:!0})}return co}var po={},yo;function Eh(){if(yo)return po;yo=1;var n=fe(),e=se(),r=Fe(),t=mr(),i=Qa(),a=xl(),s=Ol();return n({target:"Promise",stat:!0,forced:s},{race:function(u){var l=this,h=t.f(l),v=h.reject,c=i(function(){var f=r(l.resolve);a(u,function(g){e(f,l,g).then(h.resolve,v)})});return c.error&&v(c.value),h.promise}}),po}var mo={},bo;function Rh(){if(bo)return mo;bo=1;var n=fe(),e=mr(),r=yr().CONSTRUCTOR;return n({target:"Promise",stat:!0,forced:r},{reject:function(i){var a=e.f(this),s=a.reject;return s(i),a.promise}}),mo}var xo={},Xi,Oo;function Ch(){if(Oo)return Xi;Oo=1;var n=he(),e=ye(),r=mr();return Xi=function(t,i){if(n(t),e(i)&&i.constructor===t)return i;var a=r.f(t),s=a.resolve;return s(i),a.promise},Xi}var To;function wh(){if(To)return xo;To=1;var n=fe(),e=er(),r=Me(),t=pr(),i=yr().CONSTRUCTOR,a=Ch(),s=e("Promise"),o=r&&!i;return n({target:"Promise",stat:!0,forced:r||i},{resolve:function(l){return a(o&&this===s?t:this,l)}}),xo}var So;function Ph(){return So||(So=1,yh(),Th(),Sh(),Eh(),Rh(),wh()),ln}Ph();function Eo(n,e,r,t,i,a,s){try{var o=n[a](s),u=o.value}catch(l){return void r(l)}o.done?e(u):Promise.resolve(u).then(t,i)}function Be(n){return function(){var e=this,r=arguments;return new Promise(function(t,i){var a=n.apply(e,r);function s(u){Eo(a,t,i,s,o,"next",u)}function o(u){Eo(a,t,i,s,o,"throw",u)}s(void 0)})}}var Ro={},Co={},Ki,wo;function qe(){if(wo)return Ki;wo=1;var n=Xa(),e=String;return Ki=function(r){if(n(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(r)},Ki}var Qi,Po;function Tl(){if(Po)return Qi;Po=1;var n=he();return Qi=function(){var e=n(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r},Qi}var Zi,Ao;function Sl(){if(Ao)return Zi;Ao=1;var n=Z(),e=Q(),r=e.RegExp,t=n(function(){var s=r("a","y");return s.lastIndex=2,s.exec("abcd")!==null}),i=t||n(function(){return!r("a","y").sticky}),a=t||n(function(){var s=r("^r","gy");return s.lastIndex=2,s.exec("str")!==null});return Zi={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:t},Zi}var Ji={},ea,Io;function Ah(){if(Io)return ea;Io=1;var n=ll(),e=Ya();return ea=Object.keys||function(t){return n(t,e)},ea}var No;function Ih(){if(No)return Ji;No=1;var n=we(),e=sl(),r=Ye(),t=he(),i=cr(),a=Ah();return Ji.f=n&&!e?Object.defineProperties:function(o,u){t(o);for(var l=i(u),h=a(u),v=h.length,c=0,f;v>c;)r.f(o,f=h[c++],l[f]);return o},Ji}var ra,_o;function Br(){if(_o)return ra;_o=1;var n=he(),e=Ih(),r=Ya(),t=za(),i=dl(),a=_r(),s=Ha(),o=">",u="<",l="prototype",h="script",v=s("IE_PROTO"),c=function(){},f=function(m){return u+h+o+m+u+"/"+h+o},g=function(m){m.write(f("")),m.close();var b=m.parentWindow.Object;return m=null,b},d=function(){var m=a("iframe"),b="java"+h+":",x;return m.style.display="none",i.appendChild(m),m.src=String(b),x=m.contentWindow.document,x.open(),x.write(f("document.F=Object")),x.close(),x.F},p,y=function(){try{p=new ActiveXObject("htmlfile")}catch{}y=typeof document<"u"?document.domain&&p?g(p):d():g(p);for(var m=r.length;m--;)delete y[l][r[m]];return y()};return t[v]=!0,ra=Object.create||function(b,x){var S;return b!==null?(c[l]=n(b),S=new c,c[l]=null,S[v]=b):S=y(),x===void 0?S:e.f(S,x)},ra}var ta,Mo;function Nh(){if(Mo)return ta;Mo=1;var n=Z(),e=Q(),r=e.RegExp;return ta=n(function(){var t=r(".","s");return!(t.dotAll&&t.test(`
1
+ import{c as un,g as Gl}from"./startup-runtime-DTmhLESk.js";import{_ as qa}from"./jspdf.es.min-DxWvbkh4.js";import{nL as Kr}from"./startup-app-eD_rQhSh.js";var ln={},hn={},fr,fn;function Q(){if(fn)return fr;fn=1;var n=function(e){return e&&e.Math===Math&&e};return fr=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof un=="object"&&un)||n(typeof fr=="object"&&fr)||(function(){return this})()||Function("return this")(),fr}var Qr={},Zr,vn;function Z(){return vn||(vn=1,Zr=function(n){try{return!!n()}catch{return!0}}),Zr}var Jr,cn;function we(){if(cn)return Jr;cn=1;var n=Z();return Jr=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Jr}var et,gn;function wr(){if(gn)return et;gn=1;var n=Z();return et=!n(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),et}var rt,dn;function se(){if(dn)return rt;dn=1;var n=wr(),e=Function.prototype.call;return rt=n?e.bind(e):function(){return e.apply(e,arguments)},rt}var tt={},pn;function $l(){if(pn)return tt;pn=1;var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!n.call({1:2},1);return tt.f=r?function(i){var a=e(this,i);return!!a&&a.enumerable}:n,tt}var it,yn;function ja(){return yn||(yn=1,it=function(n,e){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:e}}),it}var at,mn;function J(){if(mn)return at;mn=1;var n=wr(),e=Function.prototype,r=e.call,t=n&&e.bind.bind(r,r);return at=n?t:function(i){return function(){return r.apply(i,arguments)}},at}var nt,bn;function Je(){if(bn)return nt;bn=1;var n=J(),e=n({}.toString),r=n("".slice);return nt=function(t){return r(e(t),8,-1)},nt}var st,xn;function Ju(){if(xn)return st;xn=1;var n=J(),e=Z(),r=Je(),t=Object,i=n("".split);return st=e(function(){return!t("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):t(a)}:t,st}var ot,On;function Pr(){return On||(On=1,ot=function(n){return n==null}),ot}var ut,Tn;function Pe(){if(Tn)return ut;Tn=1;var n=Pr(),e=TypeError;return ut=function(r){if(n(r))throw new e("Can't call method on "+r);return r},ut}var lt,Sn;function cr(){if(Sn)return lt;Sn=1;var n=Ju(),e=Pe();return lt=function(r){return n(e(r))},lt}var ht,En;function re(){if(En)return ht;En=1;var n=typeof document=="object"&&document.all;return ht=typeof n>"u"&&n!==void 0?function(e){return typeof e=="function"||e===n}:function(e){return typeof e=="function"},ht}var ft,Rn;function ye(){if(Rn)return ft;Rn=1;var n=re();return ft=function(e){return typeof e=="object"?e!==null:n(e)},ft}var vt,Cn;function er(){if(Cn)return vt;Cn=1;var n=Q(),e=re(),r=function(t){return e(t)?t:void 0};return vt=function(t,i){return arguments.length<2?r(n[t]):n[t]&&n[t][i]},vt}var ct,wn;function Ar(){if(wn)return ct;wn=1;var n=J();return ct=n({}.isPrototypeOf),ct}var gt,Pn;function gr(){if(Pn)return gt;Pn=1;var n=Q(),e=n.navigator,r=e&&e.userAgent;return gt=r?String(r):"",gt}var dt,An;function Ba(){if(An)return dt;An=1;var n=Q(),e=gr(),r=n.process,t=n.Deno,i=r&&r.versions||t&&t.version,a=i&&i.v8,s,o;return a&&(s=a.split("."),o=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!o&&e&&(s=e.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=e.match(/Chrome\/(\d+)/),s&&(o=+s[1]))),dt=o,dt}var pt,In;function el(){if(In)return pt;In=1;var n=Ba(),e=Z(),r=Q(),t=r.String;return pt=!!Object.getOwnPropertySymbols&&!e(function(){var i=Symbol("symbol detection");return!t(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&n&&n<41}),pt}var yt,Nn;function rl(){if(Nn)return yt;Nn=1;var n=el();return yt=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol",yt}var mt,_n;function tl(){if(_n)return mt;_n=1;var n=er(),e=re(),r=Ar(),t=rl(),i=Object;return mt=t?function(a){return typeof a=="symbol"}:function(a){var s=n("Symbol");return e(s)&&r(s.prototype,i(a))},mt}var bt,Mn;function Ir(){if(Mn)return bt;Mn=1;var n=String;return bt=function(e){try{return n(e)}catch{return"Object"}},bt}var xt,qn;function Fe(){if(qn)return xt;qn=1;var n=re(),e=Ir(),r=TypeError;return xt=function(t){if(n(t))return t;throw new r(e(t)+" is not a function")},xt}var Ot,Dn;function ar(){if(Dn)return Ot;Dn=1;var n=Fe(),e=Pr();return Ot=function(r,t){var i=r[t];return e(i)?void 0:n(i)},Ot}var Tt,Vn;function Hl(){if(Vn)return Tt;Vn=1;var n=se(),e=re(),r=ye(),t=TypeError;return Tt=function(i,a){var s,o;if(a==="string"&&e(s=i.toString)&&!r(o=n(s,i))||e(s=i.valueOf)&&!r(o=n(s,i))||a!=="string"&&e(s=i.toString)&&!r(o=n(s,i)))return o;throw new t("Can't convert object to primitive value")},Tt}var St={exports:{}},Et,Ln;function Me(){return Ln||(Ln=1,Et=!1),Et}var Rt,kn;function Fa(){if(kn)return Rt;kn=1;var n=Q(),e=Object.defineProperty;return Rt=function(r,t){try{e(n,r,{value:t,configurable:!0,writable:!0})}catch{n[r]=t}return t},Rt}var jn;function Ua(){if(jn)return St.exports;jn=1;var n=Me(),e=Q(),r=Fa(),t="__core-js_shared__",i=St.exports=e[t]||r(t,{});return(i.versions||(i.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),St.exports}var Ct,Bn;function Ga(){if(Bn)return Ct;Bn=1;var n=Ua();return Ct=function(e,r){return n[e]||(n[e]=r||{})},Ct}var wt,Fn;function Nr(){if(Fn)return wt;Fn=1;var n=Pe(),e=Object;return wt=function(r){return e(n(r))},wt}var Pt,Un;function Ae(){if(Un)return Pt;Un=1;var n=J(),e=Nr(),r=n({}.hasOwnProperty);return Pt=Object.hasOwn||function(i,a){return r(e(i),a)},Pt}var At,Gn;function il(){if(Gn)return At;Gn=1;var n=J(),e=0,r=Math.random(),t=n(1.1.toString);return At=function(i){return"Symbol("+(i===void 0?"":i)+")_"+t(++e+r,36)},At}var It,$n;function ne(){if($n)return It;$n=1;var n=Q(),e=Ga(),r=Ae(),t=il(),i=el(),a=rl(),s=n.Symbol,o=e("wks"),u=a?s.for||s:s&&s.withoutSetter||t;return It=function(l){return r(o,l)||(o[l]=i&&r(s,l)?s[l]:u("Symbol."+l)),o[l]},It}var Nt,Hn;function zl(){if(Hn)return Nt;Hn=1;var n=se(),e=ye(),r=tl(),t=ar(),i=Hl(),a=ne(),s=TypeError,o=a("toPrimitive");return Nt=function(u,l){if(!e(u)||r(u))return u;var h=t(u,o),v;if(h){if(l===void 0&&(l="default"),v=n(h,u,l),!e(v)||r(v))return v;throw new s("Can't convert object to primitive value")}return l===void 0&&(l="number"),i(u,l)},Nt}var _t,zn;function al(){if(zn)return _t;zn=1;var n=zl(),e=tl();return _t=function(r){var t=n(r,"string");return e(t)?t:t+""},_t}var Mt,Wn;function _r(){if(Wn)return Mt;Wn=1;var n=Q(),e=ye(),r=n.document,t=e(r)&&e(r.createElement);return Mt=function(i){return t?r.createElement(i):{}},Mt}var qt,Yn;function nl(){if(Yn)return qt;Yn=1;var n=we(),e=Z(),r=_r();return qt=!n&&!e(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),qt}var Xn;function Mr(){if(Xn)return Qr;Xn=1;var n=we(),e=se(),r=$l(),t=ja(),i=cr(),a=al(),s=Ae(),o=nl(),u=Object.getOwnPropertyDescriptor;return Qr.f=n?u:function(h,v){if(h=i(h),v=a(v),o)try{return u(h,v)}catch{}if(s(h,v))return t(!e(r.f,h,v),h[v])},Qr}var Dt={},Vt,Kn;function sl(){if(Kn)return Vt;Kn=1;var n=we(),e=Z();return Vt=n&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Vt}var Lt,Qn;function he(){if(Qn)return Lt;Qn=1;var n=ye(),e=String,r=TypeError;return Lt=function(t){if(n(t))return t;throw new r(e(t)+" is not an object")},Lt}var Zn;function Ye(){if(Zn)return Dt;Zn=1;var n=we(),e=nl(),r=sl(),t=he(),i=al(),a=TypeError,s=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",h="writable";return Dt.f=n?r?function(c,f,g){if(t(c),f=i(f),t(g),typeof c=="function"&&f==="prototype"&&"value"in g&&h in g&&!g[h]){var d=o(c,f);d&&d[h]&&(c[f]=g.value,g={configurable:l in g?g[l]:d[l],enumerable:u in g?g[u]:d[u],writable:!1})}return s(c,f,g)}:s:function(c,f,g){if(t(c),f=i(f),t(g),e)try{return s(c,f,g)}catch{}if("get"in g||"set"in g)throw new a("Accessors not supported");return"value"in g&&(c[f]=g.value),c},Dt}var kt,Jn;function dr(){if(Jn)return kt;Jn=1;var n=we(),e=Ye(),r=ja();return kt=n?function(t,i,a){return e.f(t,i,r(1,a))}:function(t,i,a){return t[i]=a,t},kt}var jt={exports:{}},Bt,es;function qr(){if(es)return Bt;es=1;var n=we(),e=Ae(),r=Function.prototype,t=n&&Object.getOwnPropertyDescriptor,i=e(r,"name"),a=i&&(function(){}).name==="something",s=i&&(!n||n&&t(r,"name").configurable);return Bt={EXISTS:i,PROPER:a,CONFIGURABLE:s},Bt}var Ft,rs;function $a(){if(rs)return Ft;rs=1;var n=J(),e=re(),r=Ua(),t=n(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(i){return t(i)}),Ft=r.inspectSource,Ft}var Ut,ts;function Wl(){if(ts)return Ut;ts=1;var n=Q(),e=re(),r=n.WeakMap;return Ut=e(r)&&/native code/.test(String(r)),Ut}var Gt,is;function Ha(){if(is)return Gt;is=1;var n=Ga(),e=il(),r=n("keys");return Gt=function(t){return r[t]||(r[t]=e(t))},Gt}var $t,as;function za(){return as||(as=1,$t={}),$t}var Ht,ns;function Dr(){if(ns)return Ht;ns=1;var n=Wl(),e=Q(),r=ye(),t=dr(),i=Ae(),a=Ua(),s=Ha(),o=za(),u="Object already initialized",l=e.TypeError,h=e.WeakMap,v,c,f,g=function(m){return f(m)?c(m):v(m,{})},d=function(m){return function(b){var x;if(!r(b)||(x=c(b)).type!==m)throw new l("Incompatible receiver, "+m+" required");return x}};if(n||a.state){var p=a.state||(a.state=new h);p.get=p.get,p.has=p.has,p.set=p.set,v=function(m,b){if(p.has(m))throw new l(u);return b.facade=m,p.set(m,b),b},c=function(m){return p.get(m)||{}},f=function(m){return p.has(m)}}else{var y=s("state");o[y]=!0,v=function(m,b){if(i(m,y))throw new l(u);return b.facade=m,t(m,y,b),b},c=function(m){return i(m,y)?m[y]:{}},f=function(m){return i(m,y)}}return Ht={set:v,get:c,has:f,enforce:g,getterFor:d},Ht}var ss;function ol(){if(ss)return jt.exports;ss=1;var n=J(),e=Z(),r=re(),t=Ae(),i=we(),a=qr().CONFIGURABLE,s=$a(),o=Dr(),u=o.enforce,l=o.get,h=String,v=Object.defineProperty,c=n("".slice),f=n("".replace),g=n([].join),d=i&&!e(function(){return v(function(){},"length",{value:8}).length!==8}),p=String(String).split("String"),y=jt.exports=function(m,b,x){c(h(b),0,7)==="Symbol("&&(b="["+f(h(b),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(b="get "+b),x&&x.setter&&(b="set "+b),(!t(m,"name")||a&&m.name!==b)&&(i?v(m,"name",{value:b,configurable:!0}):m.name=b),d&&x&&t(x,"arity")&&m.length!==x.arity&&v(m,"length",{value:x.arity});try{x&&t(x,"constructor")&&x.constructor?i&&v(m,"prototype",{writable:!1}):m.prototype&&(m.prototype=void 0)}catch{}var S=u(m);return t(S,"source")||(S.source=g(p,typeof b=="string"?b:"")),m};return Function.prototype.toString=y(function(){return r(this)&&l(this).source||s(this)},"toString"),jt.exports}var zt,os;function rr(){if(os)return zt;os=1;var n=re(),e=Ye(),r=ol(),t=Fa();return zt=function(i,a,s,o){o||(o={});var u=o.enumerable,l=o.name!==void 0?o.name:a;if(n(s)&&r(s,l,o),o.global)u?i[a]=s:t(a,s);else{try{o.unsafe?i[a]&&(u=!0):delete i[a]}catch{}u?i[a]=s:e.f(i,a,{value:s,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return i},zt}var Wt={},Yt,us;function Yl(){if(us)return Yt;us=1;var n=Math.ceil,e=Math.floor;return Yt=Math.trunc||function(t){var i=+t;return(i>0?e:n)(i)},Yt}var Xt,ls;function Vr(){if(ls)return Xt;ls=1;var n=Yl();return Xt=function(e){var r=+e;return r!==r||r===0?0:n(r)},Xt}var Kt,hs;function Xl(){if(hs)return Kt;hs=1;var n=Vr(),e=Math.max,r=Math.min;return Kt=function(t,i){var a=n(t);return a<0?e(a+i,0):r(a,i)},Kt}var Qt,fs;function nr(){if(fs)return Qt;fs=1;var n=Vr(),e=Math.min;return Qt=function(r){var t=n(r);return t>0?e(t,9007199254740991):0},Qt}var Zt,vs;function Wa(){if(vs)return Zt;vs=1;var n=nr();return Zt=function(e){return n(e.length)},Zt}var Jt,cs;function ul(){if(cs)return Jt;cs=1;var n=cr(),e=Xl(),r=Wa(),t=function(i){return function(a,s,o){var u=n(a),l=r(u);if(l===0)return!i&&-1;var h=e(o,l),v;if(i&&s!==s){for(;l>h;)if(v=u[h++],v!==v)return!0}else for(;l>h;h++)if((i||h in u)&&u[h]===s)return i||h||0;return!i&&-1}};return Jt={includes:t(!0),indexOf:t(!1)},Jt}var ei,gs;function ll(){if(gs)return ei;gs=1;var n=J(),e=Ae(),r=cr(),t=ul().indexOf,i=za(),a=n([].push);return ei=function(s,o){var u=r(s),l=0,h=[],v;for(v in u)!e(i,v)&&e(u,v)&&a(h,v);for(;o.length>l;)e(u,v=o[l++])&&(~t(h,v)||a(h,v));return h},ei}var ri,ds;function Ya(){return ds||(ds=1,ri=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),ri}var ps;function Kl(){if(ps)return Wt;ps=1;var n=ll(),e=Ya(),r=e.concat("length","prototype");return Wt.f=Object.getOwnPropertyNames||function(i){return n(i,r)},Wt}var ti={},ys;function Ql(){return ys||(ys=1,ti.f=Object.getOwnPropertySymbols),ti}var ii,ms;function Zl(){if(ms)return ii;ms=1;var n=er(),e=J(),r=Kl(),t=Ql(),i=he(),a=e([].concat);return ii=n("Reflect","ownKeys")||function(o){var u=r.f(i(o)),l=t.f;return l?a(u,l(o)):u},ii}var ai,bs;function Jl(){if(bs)return ai;bs=1;var n=Ae(),e=Zl(),r=Mr(),t=Ye();return ai=function(i,a,s){for(var o=e(a),u=t.f,l=r.f,h=0;h<o.length;h++){var v=o[h];!n(i,v)&&!(s&&n(s,v))&&u(i,v,l(a,v))}},ai}var ni,xs;function hl(){if(xs)return ni;xs=1;var n=Z(),e=re(),r=/#|\.prototype\./,t=function(u,l){var h=a[i(u)];return h===o?!0:h===s?!1:e(l)?n(l):!!l},i=t.normalize=function(u){return String(u).replace(r,".").toLowerCase()},a=t.data={},s=t.NATIVE="N",o=t.POLYFILL="P";return ni=t,ni}var si,Os;function fe(){if(Os)return si;Os=1;var n=Q(),e=Mr().f,r=dr(),t=rr(),i=Fa(),a=Jl(),s=hl();return si=function(o,u){var l=o.target,h=o.global,v=o.stat,c,f,g,d,p,y;if(h?f=n:v?f=n[l]||i(l,{}):f=n[l]&&n[l].prototype,f)for(g in u){if(p=u[g],o.dontCallGetSet?(y=e(f,g),d=y&&y.value):d=f[g],c=s(h?g:l+(v?".":"#")+g,o.forced),!c&&d!==void 0){if(typeof p==typeof d)continue;a(p,d)}(o.sham||d&&d.sham)&&r(p,"sham",!0),t(f,g,p,o)}},si}var oi,Ts;function fl(){if(Ts)return oi;Ts=1;var n=Q(),e=gr(),r=Je(),t=function(i){return e.slice(0,i.length)===i};return oi=(function(){return t("Bun/")?"BUN":t("Cloudflare-Workers")?"CLOUDFLARE":t("Deno/")?"DENO":t("Node.js/")?"NODE":n.Bun&&typeof Bun.version=="string"?"BUN":n.Deno&&typeof Deno.version=="object"?"DENO":r(n.process)==="process"?"NODE":n.window&&n.document?"BROWSER":"REST"})(),oi}var ui,Ss;function Lr(){if(Ss)return ui;Ss=1;var n=fl();return ui=n==="NODE",ui}var li,Es;function eh(){if(Es)return li;Es=1;var n=Q();return li=n,li}var hi,Rs;function rh(){if(Rs)return hi;Rs=1;var n=J(),e=Fe();return hi=function(r,t,i){try{return n(e(Object.getOwnPropertyDescriptor(r,t)[i]))}catch{}},hi}var fi,Cs;function th(){if(Cs)return fi;Cs=1;var n=ye();return fi=function(e){return n(e)||e===null},fi}var vi,ws;function ih(){if(ws)return vi;ws=1;var n=th(),e=String,r=TypeError;return vi=function(t){if(n(t))return t;throw new r("Can't set "+e(t)+" as a prototype")},vi}var ci,Ps;function vl(){if(Ps)return ci;Ps=1;var n=rh(),e=ye(),r=Pe(),t=ih();return ci=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,a={},s;try{s=n(Object.prototype,"__proto__","set"),s(a,[]),i=a instanceof Array}catch{}return function(u,l){return r(u),t(l),e(u)&&(i?s(u,l):u.__proto__=l),u}})():void 0),ci}var gi,As;function kr(){if(As)return gi;As=1;var n=Ye().f,e=Ae(),r=ne(),t=r("toStringTag");return gi=function(i,a,s){i&&!s&&(i=i.prototype),i&&!e(i,t)&&n(i,t,{configurable:!0,value:a})},gi}var di,Is;function ah(){if(Is)return di;Is=1;var n=ol(),e=Ye();return di=function(r,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),e.f(r,t,i)},di}var pi,Ns;function nh(){if(Ns)return pi;Ns=1;var n=er(),e=ah(),r=ne(),t=we(),i=r("species");return pi=function(a){var s=n(a);t&&s&&!s[i]&&e(s,i,{configurable:!0,get:function(){return this}})},pi}var yi,_s;function sh(){if(_s)return yi;_s=1;var n=Ar(),e=TypeError;return yi=function(r,t){if(n(t,r))return r;throw new e("Incorrect invocation")},yi}var mi,Ms;function oh(){if(Ms)return mi;Ms=1;var n=ne(),e=n("toStringTag"),r={};return r[e]="z",mi=String(r)==="[object z]",mi}var bi,qs;function Xa(){if(qs)return bi;qs=1;var n=oh(),e=re(),r=Je(),t=ne(),i=t("toStringTag"),a=Object,s=r((function(){return arguments})())==="Arguments",o=function(u,l){try{return u[l]}catch{}};return bi=n?r:function(u){var l,h,v;return u===void 0?"Undefined":u===null?"Null":typeof(h=o(l=a(u),i))=="string"?h:s?r(l):(v=r(l))==="Object"&&e(l.callee)?"Arguments":v},bi}var xi,Ds;function uh(){if(Ds)return xi;Ds=1;var n=J(),e=Z(),r=re(),t=Xa(),i=er(),a=$a(),s=function(){},o=i("Reflect","construct"),u=/^\s*(?:class|function)\b/,l=n(u.exec),h=!u.test(s),v=function(g){if(!r(g))return!1;try{return o(s,[],g),!0}catch{return!1}},c=function(g){if(!r(g))return!1;switch(t(g)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!l(u,a(g))}catch{return!0}};return c.sham=!0,xi=!o||e(function(){var f;return v(v.call)||!v(Object)||!v(function(){f=!0})||f})?c:v,xi}var Oi,Vs;function lh(){if(Vs)return Oi;Vs=1;var n=uh(),e=Ir(),r=TypeError;return Oi=function(t){if(n(t))return t;throw new r(e(t)+" is not a constructor")},Oi}var Ti,Ls;function cl(){if(Ls)return Ti;Ls=1;var n=he(),e=lh(),r=Pr(),t=ne(),i=t("species");return Ti=function(a,s){var o=n(a).constructor,u;return o===void 0||r(u=n(o)[i])?s:e(u)},Ti}var Si,ks;function gl(){if(ks)return Si;ks=1;var n=wr(),e=Function.prototype,r=e.apply,t=e.call;return Si=typeof Reflect=="object"&&Reflect.apply||(n?t.bind(r):function(){return t.apply(r,arguments)}),Si}var Ei,js;function jr(){if(js)return Ei;js=1;var n=Je(),e=J();return Ei=function(r){if(n(r)==="Function")return e(r)},Ei}var Ri,Bs;function Ka(){if(Bs)return Ri;Bs=1;var n=jr(),e=Fe(),r=wr(),t=n(n.bind);return Ri=function(i,a){return e(i),a===void 0?i:r?t(i,a):function(){return i.apply(a,arguments)}},Ri}var Ci,Fs;function dl(){if(Fs)return Ci;Fs=1;var n=er();return Ci=n("document","documentElement"),Ci}var wi,Us;function hh(){if(Us)return wi;Us=1;var n=J();return wi=n([].slice),wi}var Pi,Gs;function fh(){if(Gs)return Pi;Gs=1;var n=TypeError;return Pi=function(e,r){if(e<r)throw new n("Not enough arguments");return e},Pi}var Ai,$s;function pl(){if($s)return Ai;$s=1;var n=gr();return Ai=/ipad|iphone|ipod/i.test(n)&&/applewebkit/i.test(n),Ai}var Ii,Hs;function yl(){if(Hs)return Ii;Hs=1;var n=Q(),e=gl(),r=Ka(),t=re(),i=Ae(),a=Z(),s=dl(),o=hh(),u=_r(),l=fh(),h=pl(),v=Lr(),c=n.setImmediate,f=n.clearImmediate,g=n.process,d=n.Dispatch,p=n.Function,y=n.MessageChannel,m=n.String,b=0,x={},S="onreadystatechange",E,T,R,P;a(function(){E=n.location});var A=function(w){if(i(x,w)){var V=x[w];delete x[w],V()}},D=function(w){return function(){A(w)}},I=function(w){A(w.data)},k=function(w){n.postMessage(m(w),E.protocol+"//"+E.host)};return(!c||!f)&&(c=function(V){l(arguments.length,1);var B=t(V)?V:p(V),N=o(arguments,1);return x[++b]=function(){e(B,void 0,N)},T(b),b},f=function(V){delete x[V]},v?T=function(w){g.nextTick(D(w))}:d&&d.now?T=function(w){d.now(D(w))}:y&&!h?(R=new y,P=R.port2,R.port1.onmessage=I,T=r(P.postMessage,P)):n.addEventListener&&t(n.postMessage)&&!n.importScripts&&E&&E.protocol!=="file:"&&!a(k)?(T=k,n.addEventListener("message",I,!1)):S in u("script")?T=function(w){s.appendChild(u("script"))[S]=function(){s.removeChild(this),A(w)}}:T=function(w){setTimeout(D(w),0)}),Ii={set:c,clear:f},Ii}var Ni,zs;function vh(){if(zs)return Ni;zs=1;var n=Q(),e=we(),r=Object.getOwnPropertyDescriptor;return Ni=function(t){if(!e)return n[t];var i=r(n,t);return i&&i.value},Ni}var _i,Ws;function ml(){if(Ws)return _i;Ws=1;var n=function(){this.head=null,this.tail=null};return n.prototype={add:function(e){var r={item:e,next:null},t=this.tail;t?t.next=r:this.head=r,this.tail=r},get:function(){var e=this.head;if(e){var r=this.head=e.next;return r===null&&(this.tail=null),e.item}}},_i=n,_i}var Mi,Ys;function ch(){if(Ys)return Mi;Ys=1;var n=gr();return Mi=/ipad|iphone|ipod/i.test(n)&&typeof Pebble<"u",Mi}var qi,Xs;function gh(){if(Xs)return qi;Xs=1;var n=gr();return qi=/web0s(?!.*chrome)/i.test(n),qi}var Di,Ks;function dh(){if(Ks)return Di;Ks=1;var n=Q(),e=vh(),r=Ka(),t=yl().set,i=ml(),a=pl(),s=ch(),o=gh(),u=Lr(),l=n.MutationObserver||n.WebKitMutationObserver,h=n.document,v=n.process,c=n.Promise,f=e("queueMicrotask"),g,d,p,y,m;if(!f){var b=new i,x=function(){var S,E;for(u&&(S=v.domain)&&S.exit();E=b.get();)try{E()}catch(T){throw b.head&&g(),T}S&&S.enter()};!a&&!u&&!o&&l&&h?(d=!0,p=h.createTextNode(""),new l(x).observe(p,{characterData:!0}),g=function(){p.data=d=!d}):!s&&c&&c.resolve?(y=c.resolve(void 0),y.constructor=c,m=r(y.then,y),g=function(){m(x)}):u?g=function(){v.nextTick(x)}:(t=r(t,n),g=function(){t(x)}),f=function(S){b.head||g(),b.add(S)}}return Di=f,Di}var Vi,Qs;function ph(){return Qs||(Qs=1,Vi=function(n,e){try{arguments.length===1?console.error(n):console.error(n,e)}catch{}}),Vi}var Li,Zs;function Qa(){return Zs||(Zs=1,Li=function(n){try{return{error:!1,value:n()}}catch(e){return{error:!0,value:e}}}),Li}var ki,Js;function pr(){if(Js)return ki;Js=1;var n=Q();return ki=n.Promise,ki}var ji,eo;function yr(){if(eo)return ji;eo=1;var n=Q(),e=pr(),r=re(),t=hl(),i=$a(),a=ne(),s=fl(),o=Me(),u=Ba(),l=e&&e.prototype,h=a("species"),v=!1,c=r(n.PromiseRejectionEvent),f=t("Promise",function(){var g=i(e),d=g!==String(e);if(!d&&u===66||o&&!(l.catch&&l.finally))return!0;if(!u||u<51||!/native code/.test(g)){var p=new e(function(b){b(1)}),y=function(b){b(function(){},function(){})},m=p.constructor={};if(m[h]=y,v=p.then(function(){})instanceof y,!v)return!0}return!d&&(s==="BROWSER"||s==="DENO")&&!c});return ji={CONSTRUCTOR:f,REJECTION_EVENT:c,SUBCLASSING:v},ji}var Bi={},ro;function mr(){if(ro)return Bi;ro=1;var n=Fe(),e=TypeError,r=function(t){var i,a;this.promise=new t(function(s,o){if(i!==void 0||a!==void 0)throw new e("Bad Promise constructor");i=s,a=o}),this.resolve=n(i),this.reject=n(a)};return Bi.f=function(t){return new r(t)},Bi}var to;function yh(){if(to)return hn;to=1;var n=fe(),e=Me(),r=Lr(),t=Q(),i=eh(),a=se(),s=rr(),o=vl(),u=kr(),l=nh(),h=Fe(),v=re(),c=ye(),f=sh(),g=cl(),d=yl().set,p=dh(),y=ph(),m=Qa(),b=ml(),x=Dr(),S=pr(),E=yr(),T=mr(),R="Promise",P=E.CONSTRUCTOR,A=E.REJECTION_EVENT,D=E.SUBCLASSING,I=x.getterFor(R),k=x.set,w=S&&S.prototype,V=S,B=w,N=t.TypeError,j=t.document,_=t.process,q=T.f,U=q,L=!!(j&&j.createEvent&&t.dispatchEvent),$="unhandledrejection",X="rejectionhandled",ae=0,oe=1,ue=2,Ue=1,Ge=2,ve,Ne,_e,be,ce=function(C){var F;return c(C)&&v(F=C.then)?F:!1},xe=function(C,F){var H=F.value,z=F.state===oe,W=z?C.ok:C.fail,Te=C.resolve,Le=C.reject,Se=C.domain,Ee,ur,lr;try{W?(z||(F.rejection===Ge&&$e(F),F.rejection=Ue),W===!0?Ee=H:(Se&&Se.enter(),Ee=W(H),Se&&(Se.exit(),lr=!0)),Ee===C.promise?Le(new N("Promise-chain cycle")):(ur=ce(Ee))?a(ur,Ee,Te,Le):Te(Ee)):Le(H)}catch(hr){Se&&!lr&&Se.exit(),Le(hr)}},De=function(C,F){C.notified||(C.notified=!0,p(function(){for(var H=C.reactions,z;z=H.get();)xe(z,C);C.notified=!1,F&&!C.rejection&&Xe(C)}))},Ve=function(C,F,H){var z,W;L?(z=j.createEvent("Event"),z.promise=F,z.reason=H,z.initEvent(C,!1,!0),t.dispatchEvent(z)):z={promise:F,reason:H},!A&&(W=t["on"+C])?W(z):C===$&&y("Unhandled promise rejection",H)},Xe=function(C){a(d,t,function(){var F=C.facade,H=C.value,z=or(C),W;if(z&&(W=m(function(){r?_.emit("unhandledRejection",H,F):Ve($,F,H)}),C.rejection=r||or(C)?Ge:Ue,W.error))throw W.value})},or=function(C){return C.rejection!==Ue&&!C.parent},$e=function(C){a(d,t,function(){var F=C.facade;r?_.emit("rejectionHandled",F):Ve(X,F,C.value)})},ge=function(C,F,H){return function(z){C(F,z,H)}},de=function(C,F,H){C.done||(C.done=!0,H&&(C=H),C.value=F,C.state=ue,De(C,!0))},Oe=function(C,F,H){if(!C.done){C.done=!0,H&&(C=H);try{if(C.facade===F)throw new N("Promise can't be resolved itself");var z=ce(F);z?p(function(){var W={done:!1};try{a(z,F,ge(Oe,W,C),ge(de,W,C))}catch(Te){de(W,Te,C)}}):(C.value=F,C.state=oe,De(C,!1))}catch(W){de({done:!1},W,C)}}};if(P&&(V=function(F){f(this,B),h(F),a(ve,this);var H=I(this);try{F(ge(Oe,H),ge(de,H))}catch(z){de(H,z)}},B=V.prototype,ve=function(F){k(this,{type:R,done:!1,notified:!1,parent:!1,reactions:new b,rejection:!1,state:ae,value:null})},ve.prototype=s(B,"then",function(F,H){var z=I(this),W=q(g(this,V));return z.parent=!0,W.ok=v(F)?F:!0,W.fail=v(H)&&H,W.domain=r?_.domain:void 0,z.state===ae?z.reactions.add(W):p(function(){xe(W,z)}),W.promise}),Ne=function(){var C=new ve,F=I(C);this.promise=C,this.resolve=ge(Oe,F),this.reject=ge(de,F)},T.f=q=function(C){return C===V||C===_e?new Ne(C):U(C)},!e&&v(S)&&w!==Object.prototype)){be=w.then,D||s(w,"then",function(F,H){var z=this;return new V(function(W,Te){a(be,z,W,Te)}).then(F,H)},{unsafe:!0});try{delete w.constructor}catch{}o&&o(w,B)}return n({global:!0,constructor:!0,wrap:!0,forced:P},{Promise:V}),_e=i.Promise,u(V,R,!1,!0),l(R),hn}var io={},Fi,ao;function br(){return ao||(ao=1,Fi={}),Fi}var Ui,no;function mh(){if(no)return Ui;no=1;var n=ne(),e=br(),r=n("iterator"),t=Array.prototype;return Ui=function(i){return i!==void 0&&(e.Array===i||t[r]===i)},Ui}var Gi,so;function bl(){if(so)return Gi;so=1;var n=Xa(),e=ar(),r=Pr(),t=br(),i=ne(),a=i("iterator");return Gi=function(s){if(!r(s))return e(s,a)||e(s,"@@iterator")||t[n(s)]},Gi}var $i,oo;function bh(){if(oo)return $i;oo=1;var n=se(),e=Fe(),r=he(),t=Ir(),i=bl(),a=TypeError;return $i=function(s,o){var u=arguments.length<2?i(s):o;if(e(u))return r(n(u,s));throw new a(t(s)+" is not iterable")},$i}var Hi,uo;function xh(){if(uo)return Hi;uo=1;var n=se(),e=he(),r=ar();return Hi=function(t,i,a){var s,o;e(t);try{if(s=r(t,"return"),!s){if(i==="throw")throw a;return a}s=n(s,t)}catch(u){o=!0,s=u}if(i==="throw")throw a;if(o)throw s;return e(s),a},Hi}var zi,lo;function xl(){if(lo)return zi;lo=1;var n=Ka(),e=se(),r=he(),t=Ir(),i=mh(),a=Wa(),s=Ar(),o=bh(),u=bl(),l=xh(),h=TypeError,v=function(f,g){this.stopped=f,this.result=g},c=v.prototype;return zi=function(f,g,d){var p=d&&d.that,y=!!(d&&d.AS_ENTRIES),m=!!(d&&d.IS_RECORD),b=!!(d&&d.IS_ITERATOR),x=!!(d&&d.INTERRUPTED),S=n(g,p),E,T,R,P,A,D,I,k=function(B){var N=E;return E=void 0,N&&l(N,"normal"),new v(!0,B)},w=function(B){return y?(r(B),x?S(B[0],B[1],k):S(B[0],B[1])):x?S(B,k):S(B)};if(m)E=f.iterator;else if(b)E=f;else{if(T=u(f),!T)throw new h(t(f)+" is not iterable");if(i(T)){for(R=0,P=a(f);P>R;R++)if(A=w(f[R]),A&&s(c,A))return A;return new v(!1)}E=o(f,T)}for(D=m?f.next:E.next;!(I=e(D,E)).done;){var V=I.value;try{A=w(V)}catch(B){if(E)l(E,"throw",B);else throw B}if(typeof A=="object"&&A&&s(c,A))return A}return new v(!1)},zi}var Wi,ho;function Oh(){if(ho)return Wi;ho=1;var n=ne(),e=n("iterator"),r=!1;try{var t=0,i={next:function(){return{done:!!t++}},return:function(){r=!0}};i[e]=function(){return this},Array.from(i,function(){throw 2})}catch{}return Wi=function(a,s){try{if(!s&&!r)return!1}catch{return!1}var o=!1;try{var u={};u[e]=function(){return{next:function(){return{done:o=!0}}}},a(u)}catch{}return o},Wi}var Yi,fo;function Ol(){if(fo)return Yi;fo=1;var n=pr(),e=Oh(),r=yr().CONSTRUCTOR;return Yi=r||!e(function(t){n.all(t).then(void 0,function(){})}),Yi}var vo;function Th(){if(vo)return io;vo=1;var n=fe(),e=se(),r=Fe(),t=mr(),i=Qa(),a=xl(),s=Ol();return n({target:"Promise",stat:!0,forced:s},{all:function(u){var l=this,h=t.f(l),v=h.resolve,c=h.reject,f=i(function(){var g=r(l.resolve),d=[],p=0,y=1;a(u,function(m){var b=p++,x=!1;y++,e(g,l,m).then(function(S){x||(x=!0,d[b]=S,--y||v(d))},c)}),--y||v(d)});return f.error&&c(f.value),h.promise}}),io}var co={},go;function Sh(){if(go)return co;go=1;var n=fe(),e=Me(),r=yr().CONSTRUCTOR,t=pr(),i=er(),a=re(),s=rr(),o=t&&t.prototype;if(n({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(l){return this.then(void 0,l)}}),!e&&a(t)){var u=i("Promise").prototype.catch;o.catch!==u&&s(o,"catch",u,{unsafe:!0})}return co}var po={},yo;function Eh(){if(yo)return po;yo=1;var n=fe(),e=se(),r=Fe(),t=mr(),i=Qa(),a=xl(),s=Ol();return n({target:"Promise",stat:!0,forced:s},{race:function(u){var l=this,h=t.f(l),v=h.reject,c=i(function(){var f=r(l.resolve);a(u,function(g){e(f,l,g).then(h.resolve,v)})});return c.error&&v(c.value),h.promise}}),po}var mo={},bo;function Rh(){if(bo)return mo;bo=1;var n=fe(),e=mr(),r=yr().CONSTRUCTOR;return n({target:"Promise",stat:!0,forced:r},{reject:function(i){var a=e.f(this),s=a.reject;return s(i),a.promise}}),mo}var xo={},Xi,Oo;function Ch(){if(Oo)return Xi;Oo=1;var n=he(),e=ye(),r=mr();return Xi=function(t,i){if(n(t),e(i)&&i.constructor===t)return i;var a=r.f(t),s=a.resolve;return s(i),a.promise},Xi}var To;function wh(){if(To)return xo;To=1;var n=fe(),e=er(),r=Me(),t=pr(),i=yr().CONSTRUCTOR,a=Ch(),s=e("Promise"),o=r&&!i;return n({target:"Promise",stat:!0,forced:r||i},{resolve:function(l){return a(o&&this===s?t:this,l)}}),xo}var So;function Ph(){return So||(So=1,yh(),Th(),Sh(),Eh(),Rh(),wh()),ln}Ph();function Eo(n,e,r,t,i,a,s){try{var o=n[a](s),u=o.value}catch(l){return void r(l)}o.done?e(u):Promise.resolve(u).then(t,i)}function Be(n){return function(){var e=this,r=arguments;return new Promise(function(t,i){var a=n.apply(e,r);function s(u){Eo(a,t,i,s,o,"next",u)}function o(u){Eo(a,t,i,s,o,"throw",u)}s(void 0)})}}var Ro={},Co={},Ki,wo;function qe(){if(wo)return Ki;wo=1;var n=Xa(),e=String;return Ki=function(r){if(n(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(r)},Ki}var Qi,Po;function Tl(){if(Po)return Qi;Po=1;var n=he();return Qi=function(){var e=n(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r},Qi}var Zi,Ao;function Sl(){if(Ao)return Zi;Ao=1;var n=Z(),e=Q(),r=e.RegExp,t=n(function(){var s=r("a","y");return s.lastIndex=2,s.exec("abcd")!==null}),i=t||n(function(){return!r("a","y").sticky}),a=t||n(function(){var s=r("^r","gy");return s.lastIndex=2,s.exec("str")!==null});return Zi={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:t},Zi}var Ji={},ea,Io;function Ah(){if(Io)return ea;Io=1;var n=ll(),e=Ya();return ea=Object.keys||function(t){return n(t,e)},ea}var No;function Ih(){if(No)return Ji;No=1;var n=we(),e=sl(),r=Ye(),t=he(),i=cr(),a=Ah();return Ji.f=n&&!e?Object.defineProperties:function(o,u){t(o);for(var l=i(u),h=a(u),v=h.length,c=0,f;v>c;)r.f(o,f=h[c++],l[f]);return o},Ji}var ra,_o;function Br(){if(_o)return ra;_o=1;var n=he(),e=Ih(),r=Ya(),t=za(),i=dl(),a=_r(),s=Ha(),o=">",u="<",l="prototype",h="script",v=s("IE_PROTO"),c=function(){},f=function(m){return u+h+o+m+u+"/"+h+o},g=function(m){m.write(f("")),m.close();var b=m.parentWindow.Object;return m=null,b},d=function(){var m=a("iframe"),b="java"+h+":",x;return m.style.display="none",i.appendChild(m),m.src=String(b),x=m.contentWindow.document,x.open(),x.write(f("document.F=Object")),x.close(),x.F},p,y=function(){try{p=new ActiveXObject("htmlfile")}catch{}y=typeof document<"u"?document.domain&&p?g(p):d():g(p);for(var m=r.length;m--;)delete y[l][r[m]];return y()};return t[v]=!0,ra=Object.create||function(b,x){var S;return b!==null?(c[l]=n(b),S=new c,c[l]=null,S[v]=b):S=y(),x===void 0?S:e.f(S,x)},ra}var ta,Mo;function Nh(){if(Mo)return ta;Mo=1;var n=Z(),e=Q(),r=e.RegExp;return ta=n(function(){var t=r(".","s");return!(t.dotAll&&t.test(`
2
2
  `)&&t.flags==="s")}),ta}var ia,qo;function _h(){if(qo)return ia;qo=1;var n=Z(),e=Q(),r=e.RegExp;return ia=n(function(){var t=r("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),ia}var aa,Do;function Za(){if(Do)return aa;Do=1;var n=se(),e=J(),r=qe(),t=Tl(),i=Sl(),a=Ga(),s=Br(),o=Dr().get,u=Nh(),l=_h(),h=a("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,c=v,f=e("".charAt),g=e("".indexOf),d=e("".replace),p=e("".slice),y=(function(){var E=/a/,T=/b*/g;return n(v,E,"a"),n(v,T,"a"),E.lastIndex!==0||T.lastIndex!==0})(),m=i.BROKEN_CARET,b=/()??/.exec("")[1]!==void 0,x=y||b||m||u||l,S=function(E,T){for(var R=E.groups=s(null),P=0;P<T.length;P++){var A=T[P];R[A[0]]=E[A[1]]}};return x&&(c=function(T){var R=this,P=o(R),A=r(T),D=P.raw,I,k,w;if(D)return D.lastIndex=R.lastIndex,I=n(c,D,A),R.lastIndex=D.lastIndex,I&&P.groups&&S(I,P.groups),I;var V=P.groups,B=m&&R.sticky,N=n(t,R),j=R.source,_=0,q=A;if(B){N=d(N,"y",""),g(N,"g")===-1&&(N+="g"),q=p(A,R.lastIndex);var U=R.lastIndex>0&&f(A,R.lastIndex-1);R.lastIndex>0&&(!R.multiline||R.multiline&&U!==`
3
3
  `&&U!=="\r"&&U!=="\u2028"&&U!=="\u2029")&&(j="(?: (?:"+j+"))",q=" "+q,_++),k=new RegExp("^(?:"+j+")",N)}b&&(k=new RegExp("^"+j+"$(?!\\s)",N)),y&&(w=R.lastIndex);var L=n(v,B?k:R,q);return B?L?(L.input=A,L[0]=p(L[0],_),L.index=R.lastIndex,R.lastIndex+=L[0].length):R.lastIndex=0:y&&L&&(R.lastIndex=R.global?L.index+L[0].length:w),b&&L&&L.length>1&&n(h,L[0],k,function(){for(var $=1;$<arguments.length-2;$++)arguments[$]===void 0&&(L[$]=void 0)}),L&&V&&S(L,V),L}),aa=c,aa}var Vo;function Mh(){if(Vo)return Co;Vo=1;var n=fe(),e=Za();return n({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),Co}var na,Lo;function Ja(){if(Lo)return na;Lo=1,Mh();var n=se(),e=rr(),r=Za(),t=Z(),i=ne(),a=dr(),s=i("species"),o=RegExp.prototype;return na=function(u,l,h,v){var c=i(u),f=!t(function(){var y={};return y[c]=function(){return 7},""[u](y)!==7}),g=f&&!t(function(){var y=!1,m=/a/;if(u==="split"){var b={};b[s]=function(){return m},m={constructor:b,flags:""},m[c]=/./[c]}return m.exec=function(){return y=!0,null},m[c](""),!y});if(!f||!g||h){var d=/./[c],p=l(c,""[u],function(y,m,b,x,S){var E=m.exec;return E===r||E===o.exec?f&&!S?{done:!0,value:n(d,m,b,x)}:{done:!0,value:n(y,b,m,x)}:{done:!1}});e(String.prototype,u,p[0]),e(o,c,p[1])}v&&a(o[c],"sham",!0)},na}var sa,ko;function qh(){if(ko)return sa;ko=1;var n=J(),e=Vr(),r=qe(),t=Pe(),i=n("".charAt),a=n("".charCodeAt),s=n("".slice),o=function(u){return function(l,h){var v=r(t(l)),c=e(h),f=v.length,g,d;return c<0||c>=f?u?"":void 0:(g=a(v,c),g<55296||g>56319||c+1===f||(d=a(v,c+1))<56320||d>57343?u?i(v,c):g:u?s(v,c,c+2):(g-55296<<10)+(d-56320)+65536)}};return sa={codeAt:o(!1),charAt:o(!0)},sa}var oa,jo;function en(){if(jo)return oa;jo=1;var n=qh().charAt;return oa=function(e,r,t){return r+(t&&n(e,r).length||1)},oa}var ua,Bo;function Dh(){if(Bo)return ua;Bo=1;var n=Q(),e=Z(),r=n.RegExp,t=!e(function(){var i=!0;try{r(".","d")}catch{i=!1}var a={},s="",o=i?"dgimsy":"gimsy",u=function(c,f){Object.defineProperty(a,c,{get:function(){return s+=f,!0}})},l={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(l.hasIndices="d");for(var h in l)u(h,l[h]);var v=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(a);return v!==o||s!==o});return ua={correct:t},ua}var la,Fo;function Fr(){if(Fo)return la;Fo=1;var n=se(),e=Ae(),r=Ar(),t=Dh(),i=Tl(),a=RegExp.prototype;return la=t.correct?function(s){return s.flags}:function(s){return!t.correct&&r(a,s)&&!e(s,"flags")?n(i,s):s.flags},la}var ha,Uo;function rn(){if(Uo)return ha;Uo=1;var n=se(),e=he(),r=re(),t=Je(),i=Za(),a=TypeError;return ha=function(s,o){var u=s.exec;if(r(u)){var l=n(u,s,o);return l!==null&&e(l),l}if(t(s)==="RegExp")return n(i,s,o);throw new a("RegExp#exec called on incompatible receiver")},ha}var Go;function Vh(){if(Go)return Ro;Go=1;var n=se(),e=J(),r=Ja(),t=he(),i=ye(),a=nr(),s=qe(),o=Pe(),u=ar(),l=en(),h=Fr(),v=rn(),c=e("".indexOf);return r("match",function(f,g,d){return[function(y){var m=o(this),b=i(y)?u(y,f):void 0;return b?n(b,y,m):new RegExp(y)[f](s(m))},function(p){var y=t(this),m=s(p),b=d(g,y,m);if(b.done)return b.value;var x=s(h(y));if(!~c(x,"g"))return v(y,m);var S=!!~c(x,"u")||!!~c(x,"v");y.lastIndex=0;for(var E=[],T=0,R;(R=v(y,m))!==null;){var P=s(R[0]);E[T]=P,P===""&&(y.lastIndex=l(m,a(y.lastIndex),S)),T++}return T===0?null:E}]}),Ro}Vh();var $o={},fa,Ho;function Lh(){if(Ho)return fa;Ho=1;var n=J(),e=Nr(),r=Math.floor,t=n("".charAt),i=n("".replace),a=n("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,o=/\$([$&'`]|\d{1,2})/g;return fa=function(u,l,h,v,c,f){var g=h+u.length,d=v.length,p=o;return c!==void 0&&(c=e(c),p=s),i(f,p,function(y,m){var b;switch(t(m,0)){case"$":return"$";case"&":return u;case"`":return a(l,0,h);case"'":return a(l,g);case"<":b=c[a(m,1,-1)];break;default:var x=+m;if(x===0)return y;if(x>d){var S=r(x/10);return S===0?y:S<=d?v[S-1]===void 0?t(m,1):v[S-1]+t(m,1):y}b=v[x-1]}return b===void 0?"":b})},fa}var zo;function kh(){if(zo)return $o;zo=1;var n=gl(),e=se(),r=J(),t=Ja(),i=Z(),a=he(),s=re(),o=ye(),u=Vr(),l=nr(),h=qe(),v=Pe(),c=en(),f=ar(),g=Lh(),d=Fr(),p=rn(),y=ne(),m=y("replace"),b=Math.max,x=Math.min,S=r([].concat),E=r([].push),T=r("".indexOf),R=r("".slice),P=function(k){return k===void 0?k:String(k)},A=(function(){return"a".replace(/./,"$0")==="$0"})(),D=(function(){return/./[m]?/./[m]("a","$0")==="":!1})(),I=!i(function(){var k=/./;return k.exec=function(){var w=[];return w.groups={a:"7"},w},"".replace(k,"$<a>")!=="7"});return t("replace",function(k,w,V){var B=D?"$":"$0";return[function(j,_){var q=v(this),U=o(j)?f(j,m):void 0;return U?e(U,j,q,_):e(w,h(q),j,_)},function(N,j){var _=a(this),q=h(N),U=s(j);U||(j=h(j));var L=h(d(_));if(typeof j=="string"&&!~T(j,B)&&!~T(j,"$<")&&!~T(L,"y")){var $=V(w,_,q,j);if($.done)return $.value}var X=!!~T(L,"g"),ae;X&&(ae=!!~T(L,"u")||!!~T(L,"v"),_.lastIndex=0);for(var oe=[],ue;ue=p(_,q),!(ue===null||(E(oe,ue),!X));){var Ue=h(ue[0]);Ue===""&&(_.lastIndex=c(q,l(_.lastIndex),ae))}for(var Ge="",ve=0,Ne=0;Ne<oe.length;Ne++){ue=oe[Ne];for(var _e=h(ue[0]),be=b(x(u(ue.index),q.length),0),ce=[],xe,De=1;De<ue.length;De++)E(ce,P(ue[De]));var Ve=ue.groups;if(U){var Xe=S([_e],ce,be,q);Ve!==void 0&&E(Xe,Ve),xe=h(n(j,void 0,Xe))}else xe=g(_e,q,be,ce,Ve,j);be>=ve&&(Ge+=R(q,ve,be)+xe,ve=be+_e.length)}return Ge+R(q,ve)}]},!I||!A||D),$o}kh();var Wo={},va,Yo;function jh(){if(Yo)return va;Yo=1;var n=ye(),e=Je(),r=ne(),t=r("match");return va=function(i){var a;return n(i)&&((a=i[t])!==void 0?!!a:e(i)==="RegExp")},va}var ca,Xo;function tn(){if(Xo)return ca;Xo=1;var n=jh(),e=TypeError;return ca=function(r){if(n(r))throw new e("The method doesn't accept regular expressions");return r},ca}var ga,Ko;function an(){if(Ko)return ga;Ko=1;var n=ne(),e=n("match");return ga=function(r){var t=/./;try{"/./"[r](t)}catch{try{return t[e]=!1,"/./"[r](t)}catch{}}return!1},ga}var Qo;function Bh(){if(Qo)return Wo;Qo=1;var n=fe(),e=jr(),r=Mr().f,t=nr(),i=qe(),a=tn(),s=Pe(),o=an(),u=Me(),l=e("".slice),h=Math.min,v=o("startsWith"),c=!u&&!v&&!!(function(){var f=r(String.prototype,"startsWith");return f&&!f.writable})();return n({target:"String",proto:!0,forced:!c&&!v},{startsWith:function(g){var d=i(s(this));a(g);var p=i(g),y=t(h(arguments.length>1?arguments[1]:void 0,d.length));return l(d,y,y+p.length)===p}}),Wo}Bh();var da,Zo;function Fh(){if(Zo)return da;Zo=1;var n=ne(),e=Br(),r=Ye().f,t=n("unscopables"),i=Array.prototype;return i[t]===void 0&&r(i,t,{configurable:!0,value:e(null)}),da=function(a){i[t][a]=!0},da}var pa,Jo;function Uh(){if(Jo)return pa;Jo=1;var n=Z();return pa=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),pa}var ya,eu;function El(){if(eu)return ya;eu=1;var n=Ae(),e=re(),r=Nr(),t=Ha(),i=Uh(),a=t("IE_PROTO"),s=Object,o=s.prototype;return ya=i?s.getPrototypeOf:function(u){var l=r(u);if(n(l,a))return l[a];var h=l.constructor;return e(h)&&l instanceof h?h.prototype:l instanceof s?o:null},ya}var ma,ru;function Rl(){if(ru)return ma;ru=1;var n=Z(),e=re(),r=ye(),t=Br(),i=El(),a=rr(),s=ne(),o=Me(),u=s("iterator"),l=!1,h,v,c;[].keys&&(c=[].keys(),"next"in c?(v=i(i(c)),v!==Object.prototype&&(h=v)):l=!0);var f=!r(h)||n(function(){var g={};return h[u].call(g)!==g});return f?h={}:o&&(h=t(h)),e(h[u])||a(h,u,function(){return this}),ma={IteratorPrototype:h,BUGGY_SAFARI_ITERATORS:l},ma}var ba,tu;function Gh(){if(tu)return ba;tu=1;var n=Rl().IteratorPrototype,e=Br(),r=ja(),t=kr(),i=br(),a=function(){return this};return ba=function(s,o,u,l){var h=o+" Iterator";return s.prototype=e(n,{next:r(+!l,u)}),t(s,h,!1,!0),i[h]=a,s},ba}var xa,iu;function $h(){if(iu)return xa;iu=1;var n=fe(),e=se(),r=Me(),t=qr(),i=re(),a=Gh(),s=El(),o=vl(),u=kr(),l=dr(),h=rr(),v=ne(),c=br(),f=Rl(),g=t.PROPER,d=t.CONFIGURABLE,p=f.IteratorPrototype,y=f.BUGGY_SAFARI_ITERATORS,m=v("iterator"),b="keys",x="values",S="entries",E=function(){return this};return xa=function(T,R,P,A,D,I,k){a(P,R,A);var w=function(X){if(X===D&&_)return _;if(!y&&X&&X in N)return N[X];switch(X){case b:return function(){return new P(this,X)};case x:return function(){return new P(this,X)};case S:return function(){return new P(this,X)}}return function(){return new P(this)}},V=R+" Iterator",B=!1,N=T.prototype,j=N[m]||N["@@iterator"]||D&&N[D],_=!y&&j||w(D),q=R==="Array"&&N.entries||j,U,L,$;if(q&&(U=s(q.call(new T)),U!==Object.prototype&&U.next&&(!r&&s(U)!==p&&(o?o(U,p):i(U[m])||h(U,m,E)),u(U,V,!0,!0),r&&(c[V]=E))),g&&D===x&&j&&j.name!==x&&(!r&&d?l(N,"name",x):(B=!0,_=function(){return e(j,this)})),D)if(L={values:w(x),keys:I?_:w(b),entries:w(S)},k)for($ in L)(y||B||!($ in N))&&h(N,$,L[$]);else n({target:R,proto:!0,forced:y||B},L);return(!r||k)&&N[m]!==_&&h(N,m,_,{name:D}),c[R]=_,L},xa}var Oa,au;function Hh(){return au||(au=1,Oa=function(n,e){return{value:n,done:e}}),Oa}var Ta,nu;function Cl(){if(nu)return Ta;nu=1;var n=cr(),e=Fh(),r=br(),t=Dr(),i=Ye().f,a=$h(),s=Hh(),o=Me(),u=we(),l="Array Iterator",h=t.set,v=t.getterFor(l);Ta=a(Array,"Array",function(f,g){h(this,{type:l,target:n(f),index:0,kind:g})},function(){var f=v(this),g=f.target,d=f.index++;if(!g||d>=g.length)return f.target=null,s(void 0,!0);switch(f.kind){case"keys":return s(d,!1);case"values":return s(g[d],!1)}return s([d,g[d]],!1)},"values");var c=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!o&&u&&c.name!=="values")try{i(c,"name",{value:"values"})}catch{}return Ta}Cl();var su={},Sa,ou;function zh(){return ou||(ou=1,Sa={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),Sa}var Ea,uu;function Wh(){if(uu)return Ea;uu=1;var n=_r(),e=n("span").classList,r=e&&e.constructor&&e.constructor.prototype;return Ea=r===Object.prototype?void 0:r,Ea}var lu;function Yh(){if(lu)return su;lu=1;var n=Q(),e=zh(),r=Wh(),t=Cl(),i=dr(),a=kr(),s=ne(),o=s("iterator"),u=t.values,l=function(v,c){if(v){if(v[o]!==u)try{i(v,o,u)}catch{v[o]=u}if(a(v,c,!0),e[c]){for(var f in t)if(v[f]!==t[f])try{i(v,f,t[f])}catch{v[f]=t[f]}}}};for(var h in e)l(n[h]&&n[h].prototype,h);return l(r,"DOMTokenList"),su}Yh();function Xh(n,e){if(qa(n)!="object"||!n)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var t=r.call(n,e);if(qa(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function Kh(n){var e=Xh(n,"string");return qa(e)=="symbol"?e:e+""}function nn(n,e,r){return(e=Kh(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}var hu={},Ra,fu;function Qh(){if(fu)return Ra;fu=1;var n=Fe(),e=Nr(),r=Ju(),t=Wa(),i=TypeError,a="Reduce of empty array with no initial value",s=function(o){return function(u,l,h,v){var c=e(u),f=r(c),g=t(c);if(n(l),g===0&&h<2)throw new i(a);var d=o?g-1:0,p=o?-1:1;if(h<2)for(;;){if(d in f){v=f[d],d+=p;break}if(d+=p,o?d<0:g<=d)throw new i(a)}for(;o?d>=0:g>d;d+=p)d in f&&(v=l(v,f[d],d,c));return v}};return Ra={left:s(!1),right:s(!0)},Ra}var Ca,vu;function wl(){if(vu)return Ca;vu=1;var n=Z();return Ca=function(e,r){var t=[][e];return!!t&&n(function(){t.call(null,r||function(){return 1},1)})},Ca}var cu;function Zh(){if(cu)return hu;cu=1;var n=fe(),e=Qh().left,r=wl(),t=Ba(),i=Lr(),a=!i&&t>79&&t<83,s=a||!r("reduce");return n({target:"Array",proto:!0,forced:s},{reduce:function(u){var l=arguments.length;return e(this,u,l,l>1?arguments[1]:void 0)}}),hu}Zh();var gu={},du;function Jh(){if(du)return gu;du=1;var n=fe(),e=jr(),r=Mr().f,t=nr(),i=qe(),a=tn(),s=Pe(),o=an(),u=Me(),l=e("".slice),h=Math.min,v=o("endsWith"),c=!u&&!v&&!!(function(){var f=r(String.prototype,"endsWith");return f&&!f.writable})();return n({target:"String",proto:!0,forced:!c&&!v},{endsWith:function(g){var d=i(s(this));a(g);var p=i(g),y=arguments.length>1?arguments[1]:void 0,m=d.length,b=y===void 0?m:h(t(y),m);return l(d,b-p.length,b)===p}}),gu}Jh();var pu={},yu;function ef(){if(yu)return pu;yu=1;var n=se(),e=J(),r=Ja(),t=he(),i=ye(),a=Pe(),s=cl(),o=en(),u=nr(),l=qe(),h=ar(),v=Fr(),c=rn(),f=Sl(),g=Z(),d=f.UNSUPPORTED_Y,p=4294967295,y=Math.min,m=e([].push),b=e("".slice),x=e("".indexOf),S=!g(function(){var T=/(?:)/,R=T.exec;T.exec=function(){return R.apply(this,arguments)};var P="ab".split(T);return P.length!==2||P[0]!=="a"||P[1]!=="b"}),E="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;return r("split",function(T,R,P){var A="0".split(void 0,0).length?function(D,I){return D===void 0&&I===0?[]:n(R,this,D,I)}:R;return[function(I,k){var w=a(this),V=i(I)?h(I,T):void 0;return V?n(V,I,w,k):n(A,l(w),I,k)},function(D,I){var k=t(this),w=l(D);if(!E){var V=P(A,k,w,I,A!==R);if(V.done)return V.value}var B=s(k,RegExp),N=l(v(k)),j=!!~x(N,"u")||!!~x(N,"v");d?~x(N,"g")||(N+="g"):~x(N,"y")||(N+="y");var _=new B(d?"^(?:"+k.source+")":k,N),q=I===void 0?p:I>>>0;if(q===0)return[];if(w.length===0)return c(_,w)===null?[w]:[];for(var U=0,L=0,$=[];L<w.length;){_.lastIndex=d?0:L;var X=c(_,d?b(w,L):w),ae;if(X===null||(ae=y(u(_.lastIndex+(d?L:0)),w.length))===U)L=o(w,L,j);else{if(m($,b(w,U,L)),$.length===q)return $;for(var oe=1;oe<=X.length-1;oe++)if(m($,X[oe]),$.length===q)return $;L=U=ae}}return m($,b(w,U)),$}]},E||!S,d),pu}ef();var mu={},wa,bu;function Pl(){return bu||(bu=1,wa=`
4
4
  \v\f\r                 \u2028\u2029\uFEFF`),wa}var Pa,xu;function rf(){if(xu)return Pa;xu=1;var n=J(),e=Pe(),r=qe(),t=Pl(),i=n("".replace),a=RegExp("^["+t+"]+"),s=RegExp("(^|[^"+t+"])["+t+"]+$"),o=function(u){return function(l){var h=r(e(l));return u&1&&(h=i(h,a,"")),u&2&&(h=i(h,s,"$1")),h}};return Pa={start:o(1),end:o(2),trim:o(3)},Pa}var Aa,Ou;function tf(){if(Ou)return Aa;Ou=1;var n=qr().PROPER,e=Z(),r=Pl(),t="​…᠎";return Aa=function(i){return e(function(){return!!r[i]()||t[i]()!==t||n&&r[i].name!==i})},Aa}var Tu;function af(){if(Tu)return mu;Tu=1;var n=fe(),e=rf().trim,r=tf();return n({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}}),mu}af();var Ia,Su;function nf(){return Su||(Su=1,Ia=function(n){this.ok=!1,this.alpha=1,n.charAt(0)=="#"&&(n=n.substr(1,6)),n=n.replace(/ /g,""),n=n.toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};n=e[n]||n;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3]),parseFloat(u[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],t=0;t<r.length;t++){var i=r[t].re,a=r[t].process,s=i.exec(n);if(s){var o=a(s);this.r=o[0],this.g=o[1],this.b=o[2],o.length>3&&(this.alpha=o[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var u=this.r.toString(16),l=this.g.toString(16),h=this.b.toString(16);return u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),h.length==1&&(h="0"+h),"#"+u+l+h},this.getHelpXML=function(){for(var u=new Array,l=0;l<r.length;l++)for(var h=r[l].example,v=0;v<h.length;v++)u[u.length]=h[v];for(var c in e)u[u.length]=c;var f=document.createElement("ul");f.setAttribute("id","rgbcolor-examples");for(var l=0;l<u.length;l++)try{var g=document.createElement("li"),d=new RGBColor(u[l]),p=document.createElement("div");p.style.cssText="margin: 3px; border: 1px solid black; background:"+d.toHex()+"; color:"+d.toHex(),p.appendChild(document.createTextNode("test"));var y=document.createTextNode(" "+u[l]+" -> "+d.toRGB()+" -> "+d.toHex());g.appendChild(p),g.appendChild(y),f.appendChild(g)}catch{}return f}}),Ia}var sf=nf();const Da=Gl(sf);var Eu={},Ru;function of(){if(Ru)return Eu;Ru=1;var n=fe(),e=jr(),r=ul().indexOf,t=wl(),i=e([].indexOf),a=!!i&&1/i([1],1,-0)<0,s=a||!t("indexOf");return n({target:"Array",proto:!0,forced:s},{indexOf:function(u){var l=arguments.length>1?arguments[1]:void 0;return a?i(this,u,l)||0:r(this,u,l)}}),Eu}of();var Cu={},wu;function uf(){if(wu)return Cu;wu=1;var n=fe(),e=J(),r=tn(),t=Pe(),i=qe(),a=an(),s=e("".indexOf);return n({target:"String",proto:!0,forced:!a("includes")},{includes:function(u){return!!~s(i(t(this)),i(r(u)),arguments.length>1?arguments[1]:void 0)}}),Cu}uf();var Pu={},Na,Au;function lf(){if(Au)return Na;Au=1;var n=Je();return Na=Array.isArray||function(r){return n(r)==="Array"},Na}var Iu;function hf(){if(Iu)return Pu;Iu=1;var n=fe(),e=J(),r=lf(),t=e([].reverse),i=[1,2];return n({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),t(this)}}),Pu}hf();/*! *****************************************************************************