@docx-editor.dev/core 2.36.0 → 2.37.0-canary.20261110032710.sha-525df6f

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 (102) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.d.ts +6 -6
  3. package/dist/automation.js +1 -1
  4. package/dist/binding.cjs +1 -1
  5. package/dist/binding.d.ts +11 -11
  6. package/dist/binding.js +1 -1
  7. package/dist/{chrome-print-B9U_PiqL.d.ts → chrome-print-BSsqYQtt.d.ts} +51 -19
  8. package/dist/chunk-36NJQDWI.cjs +31 -0
  9. package/dist/chunk-3OKDY5TX.cjs +3 -0
  10. package/dist/{chunk-I34OVDHO.cjs → chunk-4QLFADOG.cjs} +1 -1
  11. package/dist/chunk-6EGRB3J4.js +6 -0
  12. package/dist/chunk-6I6V2JDF.cjs +7 -0
  13. package/dist/chunk-77L2HX42.js +1 -0
  14. package/dist/chunk-ATU65CUF.cjs +32 -0
  15. package/dist/chunk-EB5XLX3A.js +4 -0
  16. package/dist/chunk-G7GO4CNK.cjs +2 -0
  17. package/dist/chunk-JK4HBRVP.js +7 -0
  18. package/dist/{chunk-D75AXVLG.cjs → chunk-JZXMWGF4.cjs} +1 -1
  19. package/dist/{chunk-HLMY6NFI.js → chunk-MLJJL4QG.js} +1 -1
  20. package/dist/chunk-MYNOUTWY.js +1 -0
  21. package/dist/{chunk-QTRRXJXQ.cjs → chunk-NPPHSBFT.cjs} +3 -3
  22. package/dist/{chunk-7ZSPY7WH.cjs → chunk-OTZNA6FP.cjs} +1 -1
  23. package/dist/chunk-Q3FUAUL4.js +31 -0
  24. package/dist/chunk-RFMMFHWX.cjs +6 -0
  25. package/dist/chunk-T6MYXF6V.js +32 -0
  26. package/dist/chunk-TTPQZXYS.js +3 -0
  27. package/dist/{chunk-4RDU6QVH.cjs → chunk-UMDB6PEV.cjs} +1 -1
  28. package/dist/{chunk-NTDLU6W6.cjs → chunk-UP5TM6T6.cjs} +1 -1
  29. package/dist/{chunk-2BVJFI6B.js → chunk-WMM772MS.js} +1 -1
  30. package/dist/chunk-XI5HK3TZ.js +282 -0
  31. package/dist/chunk-XMJFDVE2.js +4 -0
  32. package/dist/chunk-XPBKJQTG.cjs +282 -0
  33. package/dist/{chunk-VS2MXS62.js → chunk-YCOHPEF2.js} +1 -1
  34. package/dist/{chunk-IMTQS6N5.cjs → chunk-YVK3NMR6.cjs} +1 -1
  35. package/dist/{chunk-K3UKJU4K.js → chunk-YVLF7HBD.js} +1 -1
  36. package/dist/chunk-Z6NPBOE6.js +2 -0
  37. package/dist/chunk-ZY7HJR3R.cjs +4 -0
  38. package/dist/collaboration/replication.cjs +1 -1
  39. package/dist/collaboration/replication.d.ts +2 -2
  40. package/dist/collaboration/replication.js +1 -1
  41. package/dist/contracts/document.d.ts +2 -2
  42. package/dist/contracts/editor.d.ts +8 -8
  43. package/dist/contracts/modules.d.ts +9 -9
  44. package/dist/contracts/types.d.ts +3 -3
  45. package/dist/{custom-node-writes-DqzeiTpY.d.ts → custom-node-writes-Buryuzow.d.ts} +2 -2
  46. package/dist/{document-protection-CGnc6WX7.d.ts → document-protection-Denp0lhl.d.ts} +1 -1
  47. package/dist/{drawing-graphic-kind-Dw4Qu9VA.d.ts → drawing-graphic-kind-DjGMFeSM.d.ts} +2 -2
  48. package/dist/{drawing-preview-package-BuFluWSg.d.ts → drawing-preview-package-LHyHuTVq.d.ts} +1 -1
  49. package/dist/{editor-CoU0Ipa9.d.ts → editor-B0xPJSXd.d.ts} +233 -9
  50. package/dist/editor.cjs +1 -1
  51. package/dist/editor.css +2 -2
  52. package/dist/editor.d.ts +309 -26
  53. package/dist/editor.js +1 -1
  54. package/dist/export.cjs +2 -2
  55. package/dist/export.d.ts +2 -2
  56. package/dist/export.js +1 -1
  57. package/dist/index.cjs +1 -1
  58. package/dist/index.d.ts +17 -17
  59. package/dist/index.js +1 -1
  60. package/dist/{layout-shaping-B7ifvgm-.d.ts → layout-shaping-CFTk9pWQ.d.ts} +1 -1
  61. package/dist/layout.cjs +1 -1
  62. package/dist/layout.d.ts +16 -14
  63. package/dist/layout.js +1 -1
  64. package/dist/{note-properties-CrO9A0Ju.d.ts → note-properties-C8_cURo1.d.ts} +1 -1
  65. package/dist/output.cjs +1 -1
  66. package/dist/output.d.ts +9 -9
  67. package/dist/output.js +1 -1
  68. package/dist/{protocol-C-LfGgrt.d.ts → protocol-CG_ybtKt.d.ts} +2 -2
  69. package/dist/{review-paragraph-order-gZ8-oIWd.d.ts → review-paragraph-order-3oV2aI2q.d.ts} +1 -1
  70. package/dist/{revision-projection-BAUauksK.d.ts → revision-projection-C9oujZwA.d.ts} +1 -1
  71. package/dist/{semantic-cell-selection--xgumqWx.d.ts → semantic-cell-selection-BiYMYlbf.d.ts} +2 -2
  72. package/dist/{semantic-interaction-B_AAT9S2.d.ts → semantic-interaction-BTba0_1e.d.ts} +1 -1
  73. package/dist/{semantic-paint-Cl4VyItm.d.ts → semantic-paint-B_xi9H5m.d.ts} +4 -4
  74. package/dist/{semantic-record-queries-BKX8sDqa.d.ts → semantic-record-queries-TdjLU-AU.d.ts} +1 -1
  75. package/dist/{semantic-records-DkDc4E1z.d.ts → semantic-records-C5qbT1sK.d.ts} +29 -5
  76. package/dist/store.cjs +1 -1
  77. package/dist/store.d.ts +12 -12
  78. package/dist/store.js +1 -1
  79. package/dist/{tree-op-types-BJTz6t_O.d.ts → tree-op-types-DzstjXTb.d.ts} +12 -2
  80. package/dist/{tree-package-fragment-DDV5xjSI.d.ts → tree-package-fragment-DLbxcboK.d.ts} +67 -65
  81. package/dist/{tree-session-contract-CAsZn-VN.d.ts → tree-session-contract-BiKgucBu.d.ts} +92 -11
  82. package/dist/{unsupported-elements-1Tj829Bk.d.ts → unsupported-elements-KboafN7A.d.ts} +1 -1
  83. package/package.json +2 -2
  84. package/dist/chunk-3DLIAAXE.js +0 -2
  85. package/dist/chunk-3KSO2I22.js +0 -4
  86. package/dist/chunk-4K5QXGVN.js +0 -31
  87. package/dist/chunk-5JHQHJRH.js +0 -3
  88. package/dist/chunk-5W6DLXVG.cjs +0 -3
  89. package/dist/chunk-6VTHQTM3.js +0 -1
  90. package/dist/chunk-7MOZVKCN.js +0 -282
  91. package/dist/chunk-BR7AQCGM.cjs +0 -31
  92. package/dist/chunk-DZO5K26E.js +0 -1
  93. package/dist/chunk-K5FZYV6Z.cjs +0 -32
  94. package/dist/chunk-MK4MO7RT.cjs +0 -7
  95. package/dist/chunk-N5RYSQN5.js +0 -4
  96. package/dist/chunk-O2AEJ5T4.js +0 -5
  97. package/dist/chunk-PSVIEQUU.js +0 -32
  98. package/dist/chunk-PXF5BBEK.cjs +0 -2
  99. package/dist/chunk-R42NW5FO.js +0 -7
  100. package/dist/chunk-TCWCSTAF.cjs +0 -282
  101. package/dist/chunk-XFDDD65J.cjs +0 -4
  102. package/dist/chunk-XTNY4DBY.cjs +0 -5
@@ -0,0 +1,6 @@
1
+ 'use strict';var chunkYVK3NMR6_cjs=require('./chunk-YVK3NMR6.cjs'),chunkOTZNA6FP_cjs=require('./chunk-OTZNA6FP.cjs'),chunkUMDB6PEV_cjs=require('./chunk-UMDB6PEV.cjs'),chunkUP5TM6T6_cjs=require('./chunk-UP5TM6T6.cjs'),chunkNPPHSBFT_cjs=require('./chunk-NPPHSBFT.cjs'),chunk4QLFADOG_cjs=require('./chunk-4QLFADOG.cjs'),chunkXPBKJQTG_cjs=require('./chunk-XPBKJQTG.cjs'),prosemirrorModel=require('prosemirror-model'),prosemirrorState=require('prosemirror-state'),prosemirrorView=require('prosemirror-view'),prosemirrorKeymap=require('prosemirror-keymap'),prosemirrorCommands=require('prosemirror-commands');function ve(e){return e.attributes?.val}function Pe(e){let t=ve(e);return t===void 0||!(t==="0"||t==="false"||t==="off")}var Gi=/^[0-9A-Fa-f]{6}$/,Ki=/^\d{1,6}$/;function zr(e){return e===void 0||e==="auto"?null:Gi.test(e)?`#${e}`:null}var Yi={single:"solid",words:"solid",thick:"solid",double:"double",dotted:"dotted",dottedHeavy:"dotted",dash:"dashed",dashedHeavy:"dashed",dashLong:"dashed",dashLongHeavy:"dashed",dotDash:"dashed",dashDotHeavy:"dashed",dotDotDash:"dashed",dashDotDotHeavy:"dashed",wave:"wavy",wavyHeavy:"wavy",wavyDouble:"wavy"},Ji={black:"#000000",blue:"#0000ff",cyan:"#00ffff",darkBlue:"#000080",darkCyan:"#008080",darkGray:"#808080",darkGreen:"#008000",darkMagenta:"#800080",darkRed:"#800000",darkYellow:"#808000",green:"#00ff00",lightGray:"#c0c0c0",magenta:"#ff00ff",red:"#ff0000",yellow:"#ffff00",white:"#ffffff"};function Zi(e){return !e||!/^[\w \-.+]{1,64}$/.test(e)?null:`"${e}"`}function Fa(e,t=false){let r=chunkXPBKJQTG_cjs.Qd(e);return r===null||Math.abs(r)>999999||!t&&r<0?null:r}function Ne(e,t=false){let r=Fa(e,t);return r===null?null:`${r/20}pt`}function La(e){let t=[],r=[],n=null,a=null;for(let o of e)switch(o.localName){case "b":t.push(`font-weight:${Pe(o)?"bold":"normal"}`);break;case "i":t.push(`font-style:${Pe(o)?"italic":"normal"}`);break;case "u":{let s=ve(o)??"single";if(s==="none"||!Pe(o))break;r.push("underline"),n=Yi[s]??"solid",a=zr(o.attributes?.color);break}case "strike":Pe(o)&&r.push("line-through");break;case "dstrike":Pe(o)&&r.push("line-through");break;case "caps":Pe(o)&&t.push("text-transform:uppercase");break;case "smallCaps":Pe(o)&&t.push("font-variant:small-caps");break;case "vertAlign":{let s=ve(o);s==="superscript"?t.push("vertical-align:super","font-size:0.75em"):s==="subscript"&&t.push("vertical-align:sub","font-size:0.75em");break}case "color":{let s=zr(ve(o));s&&t.push(`color:${s}`);break}case "highlight":{let s=Ji[ve(o)??""];s&&t.push(`background-color:${s}`);break}case "sz":{let s=ve(o);s!==void 0&&Ki.test(s)&&t.push(`font-size:${Number(s)/2}pt`);break}case "rFonts":{let s=Zi(o.attributes?.ascii??o.attributes?.hAnsi);s&&t.push(`font-family:${s}`);break}case "spacing":{let s=Ne(ve(o),true);s&&t.push(`letter-spacing:${s}`);break}}return r.length>0&&(t.push(`text-decoration-line:${[...new Set(r)].join(" ")}`),n&&t.push(`text-decoration-style:${n}`),a&&t.push(`text-decoration-color:${a}`)),t.join(";")}var Qi={left:"left",start:"left",right:"right",end:"right",center:"center",both:"justify",distribute:"justify"};function _a(e){let t=[];for(let r of e)switch(r.localName){case "jc":{let n=Qi[ve(r)??""];n&&t.push(`text-align:${n}`);break}case "ind":{let n=Ne(r.attributes?.left??r.attributes?.start,true),a=Ne(r.attributes?.right??r.attributes?.end,true),o=Ne(r.attributes?.firstLine),s=Ne(r.attributes?.hanging);n&&t.push(`margin-left:${n}`),a&&t.push(`margin-right:${a}`),o?t.push(`text-indent:${o}`):s&&t.push(`text-indent:-${s}`);break}case "spacing":{let n=Ne(r.attributes?.before),a=Ne(r.attributes?.after);n&&t.push(`margin-top:${n}`),a&&t.push(`margin-bottom:${a}`);let o=Fa(r.attributes?.line),s=r.attributes?.lineRule;o!==null&&s!=="exact"&&s!=="atLeast"?t.push(`line-height:${(o/240).toFixed(3)}`):o!==null&&t.push(`line-height:${o/20}pt`);break}case "shd":{let n=zr(r.attributes?.fill);n&&t.push(`background-color:${n}`);break}case "pageBreakBefore":Pe(r)&&t.push("break-before:page");break;}return t.join(";")}var X=new prosemirrorModel.Schema({nodes:{doc:{content:"paragraph+"},paragraph:{content:"inline*",group:"block",attrs:{nodeId:{default:null},props:{default:[]}},toDOM:e=>{let t=_a(e.attrs.props??[]);return ["p",{"data-node-id":String(e.attrs.nodeId??""),...t?{style:t}:{}},0]},parseDOM:[{tag:"p",getAttrs:e=>typeof e=="string"?null:{nodeId:e.getAttribute("data-node-id")||null,props:[]}}]},text:{group:"inline"},tab:{inline:true,group:"inline",atom:true,selectable:false,toDOM:()=>["span",{"data-token":"tab",class:"docx-tab"},"\u2192"],parseDOM:[{tag:'span[data-token="tab"]'}]},hardBreak:{inline:true,group:"inline",atom:true,selectable:false,toDOM:()=>["br"],parseDOM:[{tag:"br"}]},pageBreak:{inline:true,group:"inline",atom:true,selectable:false,toDOM:()=>["span",{"data-token":"page-break",class:"docx-page-break"}],parseDOM:[{tag:'span[data-token="page-break"]'}]},unknownInline:{inline:true,group:"inline",atom:true,selectable:false,draggable:false,attrs:{nodeId:{default:null},label:{default:""}},toDOM:e=>["span",{"data-token":"unknown","data-node-id":String(e.attrs.nodeId??""),contenteditable:"false",class:"docx-unknown-inline",title:String(e.attrs.label||"Content this editor cannot edit yet. It is preserved.")}],parseDOM:[{tag:'span[data-token="unknown"]',getAttrs:e=>typeof e=="string"?false:{nodeId:e.getAttribute("data-node-id")||null,label:""}}]}},marks:{runProps:{attrs:{props:{default:[]}},excludes:"runProps",toDOM:e=>{let t=e.attrs.props??[],r=La(t);return ["span",{"data-run-props":el(t),...r?{style:r}:{}},0]},parseDOM:[{tag:"span[data-run-props]",getAttrs:e=>{if(typeof e=="string")return false;let t=tl(e.getAttribute("data-run-props"));return t?{props:t}:false}}]}}});function el(e){return JSON.stringify(Array.isArray(e)?e:[])}function tl(e){if(!e)return null;try{let t=JSON.parse(e);if(!Array.isArray(t))return null;let r=[];for(let n of t){if(typeof n!="object"||n===null)return null;let a=n;if(typeof a.localName!="string"||a.attributes!==void 0&&(typeof a.attributes!="object"||a.attributes===null))return null;r.push(a.attributes===void 0?{localName:a.localName}:{localName:a.localName,attributes:a.attributes});}return r}catch{return null}}function Vr(e){for(let t of e.marks)if(t.type.name==="runProps")return t.attrs.props??[];return []}function Vt(e,t){return JSON.stringify(Gt(e))===JSON.stringify(Gt(t))}function Gt(e){return [...e].map(t=>({localName:t.localName,attributes:Object.fromEntries(Object.entries(t.attributes??{}).sort(([r],[n])=>r<n?-1:1))})).sort((t,r)=>t.localName<r.localName?-1:1)}function Gr(e){if(!e||e.kind==="textValue")return [];let t=[];for(let r of e.children){if(r.kind==="textValue"||r.namespaceUri!==chunkXPBKJQTG_cjs.pa||r.localName==="rPrChange"||r.localName==="pPrChange")continue;let n={};for(let a of r.attributes)a.namespaceUri===chunkXPBKJQTG_cjs.pa&&(n[a.localName]=a.value);t.push(Object.keys(n).length>0?{localName:r.localName,attributes:n}:{localName:r.localName});}return t}function $a(e){return e.kind==="textValue"?"":`${{drawing:"Picture",pict:"Picture",object:"Embedded object",fldSimple:"Field",hyperlink:"Hyperlink",sdt:"Content control",tbl:"Table"}[e.localName]??e.localName} \u2014 preserved, not editable yet`}function ne(e){if(e.kind==="textValue")return [];let t=[],r=o=>{if(o.kind!=="run")return;let s=o.children.find(i=>i.kind==="runProperties"),l=Gr(s);for(let i of o.children)if(i.kind!=="runProperties"){if(i.kind==="tab"){t.push({kind:"tab"});continue}if(i.kind==="hardBreak"){t.push(chunkXPBKJQTG_cjs.bc(i)?{kind:"pageBreak"}:{kind:"hardBreak"});continue}if(i.kind==="text"){let d="";for(let c of i.children)c.kind==="textValue"&&(d+=c.value);d.length>0&&t.push({kind:"text",text:d,props:l});continue}t.push({kind:"unknown",nodeId:i.id,label:$a(i),modelLength:i.kind==="drawing"||chunkXPBKJQTG_cjs.We(i)||chunkXPBKJQTG_cjs.de(i)||chunkXPBKJQTG_cjs.Ub(i)!==null?1:0});}},n=o=>{if(o.kind==="run"){r(o);return}t.push({kind:"unknown",nodeId:o.id,label:$a(o),modelLength:0});},a=(o,s)=>{for(let l of o)if(!(l.kind==="textValue"||l.kind==="paragraphProperties")&&!(s>=chunkXPBKJQTG_cjs.Aa)){if(chunkXPBKJQTG_cjs.Ca(l)&&!chunkXPBKJQTG_cjs.za(l.kind)&&s<chunkXPBKJQTG_cjs.Aa){a(l.children.filter(i=>!chunkXPBKJQTG_cjs.zf(l,i)),chunkXPBKJQTG_cjs.Ba(l,s));continue}if(chunkXPBKJQTG_cjs.ld(l)){let i=chunkXPBKJQTG_cjs.nd(l);i&&a(i,chunkXPBKJQTG_cjs.Ba(l,s));continue}n(l);}};return a(e.children,0),t}function Ze(e){let t=[],r=n=>{if(n.kind!=="textValue"){if(n.kind==="body"){for(let a of n.children)a.kind==="paragraph"&&t.push(a);return}for(let a of n.children)r(a);}};return r(e.root),t}var Ua=chunkXPBKJQTG_cjs.ub(16),Ba=chunkXPBKJQTG_cjs.tb();function rl(e,t){let r=Ba.get(e);if(!r){let n=[];chunkXPBKJQTG_cjs.jd([e],n,0),r=Object.freeze(n),Ba.set(e,r,r.length);}for(let n of r)t.push(n);}function oe(e){let t=Ua.get(e);if(t)return t;let r=[];for(let n of chunkXPBKJQTG_cjs.fd(e))if(n.root.kind!=="textValue")for(let a of n.root.children)rl(a,r);return Ua.set(e,r),r}function Te(e){let t=Ze(e).map(r=>{let n=r.kind==="textValue"?void 0:r.children.find(o=>o.kind==="paragraphProperties"),a=ne(r).map(o=>{switch(o.kind){case "text":return X.text(o.text,o.props.length>0?[X.marks.runProps.create({props:o.props})]:[]);case "tab":return X.node("tab");case "hardBreak":return X.node("hardBreak");case "pageBreak":return X.node("pageBreak");default:return X.node("unknownInline",{nodeId:o.nodeId,label:o.label})}});return X.node("paragraph",{nodeId:r.id,props:Gr(n)},a)});return X.node("doc",null,t.length>0?t:[X.node("paragraph")])}function nl(e,t){let r=[];return e.forEach(n=>{if(n.isText&&n.text){r.push({kind:"text",text:n.text,props:Vr(n)});return}n.type.name==="tab"?r.push({kind:"tab"}):n.type.name==="hardBreak"?r.push({kind:"hardBreak"}):n.type.name==="pageBreak"?r.push({kind:"pageBreak"}):n.type.name==="unknownInline"&&r.push({kind:"unknown",nodeId:String(n.attrs.nodeId??""),label:String(n.attrs.label??""),modelLength:t.has(String(n.attrs.nodeId??""))?1:0});}),r}function Q(e){let t="";for(let r of e)r.kind==="text"?t+=r.text:r.kind==="tab"?t+=" ":r.kind==="hardBreak"?t+=`
2
+ `:r.kind==="pageBreak"?t+=chunkXPBKJQTG_cjs.$b:r.modelLength===1&&(t+=chunkXPBKJQTG_cjs.$g);return t}function de(e){let t=[],r=0;for(let n of e)n.kind==="text"?r+=n.text.length:n.kind==="tab"||n.kind==="hardBreak"||n.kind==="pageBreak"?r+=1:(t.push(`${n.nodeId}@${r}`),r+=n.modelLength);return t}function ol(e,t){if(e===t)return null;let r=0,n=Math.min(e.length,t.length);for(;r<n&&e[r]===t[r];)r+=1;let a=e.length,o=t.length;for(;a>r&&o>r&&e[a-1]===t[o-1];)a-=1,o-=1;return {start:r,endBefore:a,endAfter:o}}function Ha(e){let t=[];for(let r of e)if(r.kind==="text")for(let n=0;n<r.text.length;n+=1)t.push(r.props);else r.kind==="tab"||r.kind==="hardBreak"||r.kind==="pageBreak"?t.push(t[t.length-1]??[]):r.kind==="unknown"&&r.modelLength===1&&t.push([]);return t}function al(e,t,r,n,a){let o=[],s=Q(t),l=Q(r),i=ol(s,l),d=[],c=0,u=false;for(let f of t){if(f.kind!=="unknown"){c+=f.kind==="text"?f.text.length:1;continue}let m=c;f.modelLength===1&&i&&(i.start<c+1&&i.endBefore>c&&(u=true),i.endBefore<=c&&(m+=i.endAfter-i.endBefore)),d.push(`${f.nodeId}@${m}`),c+=f.modelLength;}if(u||JSON.stringify(d)!==JSON.stringify(de(r)))return {ok:false,reason:"unknown-content-moved",detail:e};if(Vt(n,a)||o.push({op:"setParagraphProperties",paragraphId:e,properties:Gt(a)}),i&&(i.endBefore>i.start&&o.push({op:"deleteText",paragraphId:e,start:i.start,end:i.endBefore}),i.endAfter>i.start)){let f=l.slice(i.start,i.endAfter),m=i.start,h="",g=()=>{h.length!==0&&(o.push({op:"insertText",paragraphId:e,offset:m,text:h}),m+=h.length,h="");};for(let y of f)y===" "?(g(),o.push({op:"insertTab",paragraphId:e,offset:m}),m+=1):y===`
3
+ `?(g(),o.push({op:"insertHardBreak",paragraphId:e,offset:m}),m+=1):y===chunkXPBKJQTG_cjs.$b?(g(),o.push({op:"insertPageBreak",paragraphId:e,offset:m}),m+=1):h+=y;g();}if(!i){let f=Ha(t),m=Ha(r),h=0;for(;h<m.length;){if(Vt(f[h]??[],m[h])){h+=1;continue}let g=h,y=m[h];for(;h<m.length&&Vt(m[h],y)&&!Vt(f[h]??[],m[h]);)h+=1;o.push({op:"setRunProperties",paragraphId:e,start:g,end:h,properties:Gt(y)});}}return {ok:true,ops:o}}function Kr(e,t){let r=Ze(e),n=new Set;for(let l of r)for(let i of ne(l))i.kind==="unknown"&&i.modelLength===1&&n.add(i.nodeId);let a=l=>nl(l,n),o=[];if(t.forEach(l=>{l.type.name==="paragraph"&&o.push(l);}),o.length!==t.childCount)return {ok:false,reason:"unsupported-node"};let s=o.length-r.length;if(s===0){let l=[];for(let[i,d]of o.entries()){let c=r[i];if(d.attrs.nodeId!==c.id)return {ok:false,reason:"paragraph-reordered",detail:String(d.attrs.nodeId)};let u=al(c.id,ne(c),a(d),Gr(c.kind==="textValue"?void 0:c.children.find(f=>f.kind==="paragraphProperties")),d.attrs.props??[]);if(!u.ok)return u;l.push(...u.ops);}return {ok:true,ops:l}}return s===1?sl(r,o,a):s===-1?il(r,o,a):{ok:false,reason:"paragraph-count-unexplained",detail:String(s)}}function sl(e,t,r){for(let n=0;n<e.length;n+=1){let a=e[n],o=t[n],s=t[n+1];if(!o||!s||o.attrs.nodeId!==a.id)continue;let l=s.attrs.nodeId;if(l!==null&&l!==a.id)continue;let i=r(o),d=r(s),c=ne(a),u=Q(i);if(u+Q(d)===Q(c)&&JSON.stringify(de([...i,...d]))===JSON.stringify(de(c))&&ja(e,t,n,r)&&Xa(e,t,n+1,n+2,r))return {ok:true,ops:[{op:"splitParagraph",paragraphId:a.id,offset:u.length}]}}return {ok:false,reason:"split-not-clean"}}function il(e,t,r){for(let n=0;n+1<e.length;n+=1){let a=e[n],o=e[n+1],s=t[n];if(!s||s.attrs.nodeId!==a.id)continue;let l=[...ne(a),...ne(o)],i=r(s);if(Q(i)===Q(l)&&JSON.stringify(de(i))===JSON.stringify(de(l))&&ja(e,t,n,r)&&Xa(e,t,n+2,n+1,r))return {ok:true,ops:[{op:"joinParagraphs",firstId:a.id,secondId:o.id}]}}return {ok:false,reason:"join-not-clean"}}function ja(e,t,r,n){for(let a=0;a<r;a+=1){let o=t[a],s=e[a];if(!o||o.attrs.nodeId!==s.id||Q(n(o))!==Q(ne(s))||JSON.stringify(de(n(o)))!==JSON.stringify(de(ne(s))))return false}return true}function Xa(e,t,r,n,a){for(let o=0;r+o<e.length;o+=1){let s=e[r+o],l=t[n+o];if(!l||l.attrs.nodeId!==s.id||Q(a(l))!==Q(ne(s))||JSON.stringify(de(a(l)))!==JSON.stringify(de(ne(s))))return false}return true}function ll(e,t){return chunkXPBKJQTG_cjs.eb(e,t)!==null}function Yr(e,t,r){if(!r||r.created.length>0||r.deleted.length>0||r.splitJoin.length>0)return Te(t);let n=new Map;e.forEach(i=>{let d=i.attrs.nodeId;typeof d=="string"&&n.set(d,i);});let a=new Set(r.dirty),o=Ze(t);if(o.length!==e.childCount)return Te(t);let s=Te(t),l=[];for(let[i,d]of o.entries()){let c=n.get(d.id);l.push(c&&!a.has(d.id)?c:s.child(i));}return X.node("doc",null,l)}var Wa=0;function za(e,t){let r=e.currentPackage();if(t===r)return {ok:true,change:null};if(!t.parts.has(t.mainDocumentPart))return {ok:false,reason:"missing-main-part"};if(t.mainDocumentPart!==r.mainDocumentPart)return {ok:false,reason:"different-main-part"};let n=e.packageRevision;return e.installAuthoritativePackageSnapshot(t),e.adoptPackageUnit(r),Wa+=1,{ok:true,change:e.publishStoryWrite({change:"model-change",fromRevision:n,toRevision:n+1,commitId:`pkg-replace-${Wa}`,origin:chunkXPBKJQTG_cjs.g.mutationHuman,dirty:[],created:[],deleted:[],splitJoin:[],dependencyKeys:[],impact:"global",story:{kind:"body",partName:e.bodyStore().part.name}})}}var Jr=e=>e,w={c:chunkXPBKJQTG_cjs.ye,a:chunkXPBKJQTG_cjs.va,r:chunkXPBKJQTG_cjs.ya},cl={c:w.c,a:w.a,r:w.r},P=class extends Error{constructor(r,n){super(n?`${r}: ${n}`:r);this.reason=r;this.detail=n;}reason;detail},T=e=>e?e.children.filter(t=>t.kind!=="textValue"):[];function Zr(e){if(typeof e!="string")return {ns:e.namespaceUri,local:"local"in e?e.local:e.localName};let t=e.indexOf(":");return t<0?{ns:"",local:e}:{ns:cl[e.slice(0,t)]??"",local:e.slice(t+1)}}function U(e,t){let{ns:r,local:n}=Zr(t);return T(e).find(a=>a.namespaceUri===r&&a.localName===n)}function Ie(e,t){let{ns:r,local:n}=Zr(t);return T(e).filter(a=>a.namespaceUri===r&&a.localName===n)}function I(e,t){if(!e)return;let{ns:r,local:n}=Zr(t);return e.attributes.find(a=>a.namespaceUri===r&&a.localName===n)?.value}function Qr(e){let t="";for(let r of e?.children??[])r.kind==="textValue"&&(t+=r.value);return t}var Ae=(e,t)=>({kind:"genericExtension",namespaceUri:"",localName:e,value:t});function Qe(e,t){let r=chunkXPBKJQTG_cjs.Pa(t,{name:e,contentType:"application/xml"});return r.ok?{ok:true,part:{root:Jr(r.part.root)}}:{ok:false,reason:r.reason}}function Kt(e,t){return chunkXPBKJQTG_cjs.Ha({id:e,name:e,contentType:"application/xml",root:t})}var dl=new Set(["bg1","tx1","bg2","tx2","accent1","accent2","accent3","accent4","accent5","accent6"]);function qr(e){if(typeof e=="string")return /^#[0-9A-Fa-f]{6}$/.test(e);if(!e||typeof e!="object")return false;let{theme:t,shift:r}=e;return typeof t!="string"||!dl.has(t)?false:r===void 0||typeof r=="number"&&Number.isInteger(r)&&Math.abs(r)<100}function Va(e){if(!qr(e))throw new P("chart.errors.invalidValue","color");if(typeof e=="string")return `<a:srgbClr val="${e.replace(/^#/,"").toUpperCase()}"/>`;let t=e.shift??0;if(t===0)return `<a:schemeClr val="${e.theme}"/>`;let r=`<a:lumMod val="${(100-Math.abs(t))*1e3}"/>`,n=t>0?`<a:lumOff val="${t*1e3}"/>`:"";return `<a:schemeClr val="${e.theme}">${r}${n}</a:schemeClr>`}var Me=4e3,kt=255,qe=255;function Se(e,t=-1/0){let r=t;for(let n of e)n>r&&(r=n);return r}function Zt(e,t=1/0){let r=t;for(let n of e)n<r&&(r=n);return r}var Ja={barChart:"category",bar3DChart:"category",lineChart:"category",line3DChart:"category",areaChart:"category",area3DChart:"category",pieChart:"category",pie3DChart:"category",doughnutChart:"category",radarChart:"category",scatterChart:"xy"},ul=new Set(["bubbleChart","stockChart","surfaceChart","surface3DChart","ofPieChart"]),ml=16384,Ga=1048576;function Jt(e){let t=0;for(let r of e)t=t*26+(r.charCodeAt(0)-64);return t>=1&&t<=ml?t:void 0}function ae(e){let t="";for(let r=e;r>0;r=Math.floor((r-1)/26))t=String.fromCharCode(65+(r-1)%26)+t;return t}var fl=/^(.+)!\$?([A-Z]{1,3})\$?([0-9]{1,7})(?::\$?([A-Z]{1,3})\$?([0-9]{1,7}))?$/;function en(e){let t=e===void 0?null:fl.exec(e.trim());if(!t)return;let r=t[1];if(r.startsWith("'")?!/^'(?:[^']|'')+'$/.test(r):/[' !,()]/.test(r))return;let n=Jt(t[2]),a=Number(t[3]),o=t[4]?Jt(t[4]):n,s=t[5]?Number(t[5]):a;if(!(!n||!o||a<1||s<1||a>Ga||s>Ga)&&!(o<n||s<a))return {sheet:r,c1:n,r1:a,c2:o,r2:s}}function Za(e){return e.startsWith("'")?e.slice(1,-1).replaceAll("''","'"):e}function ue(e,t,r,n,a){let o=`$${ae(t)}$${r}`;return t===n&&r===a?`${e}!${o}`:`${e}!${o}:$${ae(n)}$${a}`}var W=(e,t)=>U(e,{namespaceUri:w.c,local:t});function pl(e){let t=Number(I(W(e,"ptCount"),"val")??0),r=Ie(e,{namespaceUri:w.c,localName:"pt"});if(!Number.isInteger(t)||t<0||t>Me||r.length>Me)return;let n=Array.from({length:t},()=>{});for(let a of r){let o=Number(I(a,"idx"));if(!Number.isInteger(o)||o<0||o>=t)continue;let s=W(a,"v");n[o]=s?Yt(s):void 0;}return n}function Yt(e){let t="";for(let r of e.children)r.kind==="textValue"&&(t+=r.value);return t}function hl(e){let t=W(e,"v");if(t)return {kind:"v",values:[Yt(t)]};for(let r of ["strRef","numRef","strLit","numLit"]){let n=W(e,r);if(!n)continue;let a=r==="strRef"||r==="numRef",o=a?W(n,r==="strRef"?"strCache":"numCache"):n,s=o?pl(o):[];if(!s)return "chart.errors.tooLarge";let l=o?Yt(W(o,"formatCode")??Ka):void 0;return {kind:r,...a?{formula:Yt(W(n,"f")??Ka)}:{},...r==="numRef"||r==="numLit"?{formatCode:l||"General"}:{},values:s}}return "chart.errors.multiLevel"}var Ka={children:[]};function gl(e){let t=W(W(e,"chart"),"plotArea");return T(t).filter(r=>r.namespaceUri===w.c&&(r.localName in Ja||ul.has(r.localName)))}function yl(e){let t=W(W(e,"chart"),"plotArea");for(let r of T(t))for(let n of Ie(W(r,"extLst"),{namespaceUri:w.c,localName:"ext"}))if(T(n).some(a=>/^filtered.*Series$/.test(a.localName)))return true;return false}function et(e){let t=gl(e);if(t.length===0)return {ok:false,reason:"chart.errors.noData"};if(t.length>1)return {ok:false,reason:"chart.errors.combination"};let r=t[0],n=Ja[r.localName];if(!n)return {ok:false,reason:"chart.errors.unsupportedType"};if(yl(e))return {ok:false,reason:"chart.errors.filtered"};let a=Ie(r,{namespaceUri:w.c,localName:"ser"});if(a.length===0)return {ok:false,reason:"chart.errors.noData"};if(a.length>kt)return {ok:false,reason:"chart.errors.tooLarge"};let o=n==="xy"?"xVal":"cat",s=n==="xy"?"yVal":"val",l=[];for(let[y,k]of a.entries()){let C={};for(let[R,F]of [["tx","tx"],["cat",o],["val",s]]){let $=W(k,F);if(!$)continue;let L=hl($);if(typeof L=="string")return {ok:false,reason:L};if(R==="val"&&L.kind!=="numRef"&&L.kind!=="numLit")return {ok:false,reason:"chart.errors.unsupportedType"};if(R==="tx"&&L.kind!=="v"&&L.kind!=="strRef")return {ok:false,reason:"chart.errors.unsupportedType"};C[R]=L;}let N=Number(I(W(k,"order"),"val")),O=C.tx?.values.find(R=>R!==void 0)??"";l.push({el:k,order:Number.isFinite(N)?N:y,at:y,s:{el:k,name:O,...C}});}l.sort((y,k)=>y.order-k.order||y.at-k.at);let i=l.map(y=>y.s),d=i.filter(y=>y.cat),c=d[0]?.cat;for(let y of d){let k=y.cat;if(k.formula!==c.formula||k.values.join("\0")!==c.values.join("\0"))return {ok:false,reason:"chart.errors.mixedCategories"}}let u=Se(i.map(y=>y.val?.values.length??0),c?.values.length??0);if(u===0)return {ok:false,reason:"chart.errors.noData"};if(u>Me)return {ok:false,reason:"chart.errors.tooLarge"};let f=Array.from({length:u},(y,k)=>c?c.values[k]??"":String(k+1)),m=c?.kind==="numRef"||c?.kind==="numLit",h=i.some(y=>y.tx?.formula||y.cat?.formula||y.val?.formula),g=xl(i,u);return {ok:true,model:{kind:n,plot:r,series:i,categories:f,hasCategories:!!c,numericCategories:m,...g?{layout:g}:{},hasFormulas:h}}}function Ya(e,t){return t==="cols"?e.c1===e.c2?{line:e.c1,from:e.r1,to:e.r2}:void 0:e.r1===e.r2?{line:e.r1,from:e.c1,to:e.c2}:void 0}function xl(e,t){for(let r of ["cols","rows"]){let n=kl(e,t,r);if(n)return n}}function kl(e,t,r){let n,a,o,s,l=[],i=u=>(n??=u.sheet)===u.sheet;for(let u of e){let f=en(u.val?.formula),m=f&&Ya(f,r);if(!f||!m||!i(f)||m.to-m.from+1!==t||(a??=m.from)!==m.from||l.includes(m.line))return;l.push(m.line);let h=u.tx?.formula?en(u.tx.formula):void 0;if(u.tx?.formula&&!h||(s??=!!h)!==!!h)return;if(h){let[g,y]=r==="cols"?[h.c1,h.r1]:[h.r1,h.c1];if(h.c1!==h.c2||h.r1!==h.r2||!i(h)||g!==m.line||(o??=y)!==y||y>=a)return}}let d=e.find(u=>u.cat)?.cat?.formula,c;if(d){let u=en(d),f=u&&Ya(u,r);if(!u||!f||!i(u)||f.from!==a||f.to-f.from+1!==t||l.includes(f.line))return;c=f.line;}return {sheet:n,orientation:r,start:a,...o!==void 0?{header:o}:{},...c!==void 0?{categoryLine:c}:{},lines:l}}var Qa=e=>e.trim()!==""&&Number.isFinite(Number(e));function qa(e){if(typeof e!="string"||e.length>qe||!chunkXPBKJQTG_cjs.X(e))throw new P("chart.errors.invalidText");return e}function es(e,t,r){if(e!==void 0){if(typeof e!="number"||!Number.isInteger(e)||e<0||e>=t)throw new P("chart.errors.unsupported","source");if(r.has(e))throw new P("chart.errors.unsupported","source");return r.add(e),e}}function rn(e,t){if(!t||typeof t!="object"||t.kind!==e.kind)throw new P("chart.errors.unsupported","kind");let{categories:r,series:n}=t;if(!Array.isArray(r)||!Array.isArray(n))throw new P("chart.errors.unsupported","data");if(r.length===0||n.length===0)throw new P("chart.errors.empty");if(r.length>Me||n.length>kt)throw new P("chart.errors.tooLarge");let a=new Set,o=r.map(k=>qa(k?.label)),s=r.map(k=>es(k.source,e.categories.length,a)),l=new Set,i=n.map(k=>{let C=qa(k?.name);if(!Array.isArray(k.values)||k.values.length!==o.length)throw new P("chart.errors.unsupported","values");for(let O of k.values)if(O!==null&&(typeof O!="number"||!Number.isFinite(O)))throw new P("chart.errors.notNumber");let N=es(k.source,e.series.length,l);return {name:C,values:[...k.values],...N!==void 0?{source:N}:{}}}),d=e.kind==="xy"&&(e.numericCategories||!e.hasCategories);if(d&&!o.every(Qa))throw new P("chart.errors.notNumber");let c=(e.numericCategories||d)&&o.every(Qa);if((o.length!==e.categories.length||s.some((k,C)=>k!==C)||i.length!==e.series.length||i.some((k,C)=>k.source!==C))&&e.hasFormulas&&!e.layout)throw new P("chart.errors.layout");let f=e.layout;if(!f)return {model:e,labels:o,categorySources:s,series:i,numericCategories:c};let m=Zt(f.lines),h=bl(f)?k=>m+k:void 0,g=Se(f.lines,f.categoryLine??0),y=i.map((k,C)=>({...k,line:h?h(C):k.source!==void 0?f.lines[k.source]:g+=1}));if(g=Se(y.map(k=>k.line),g),g>(f.orientation==="cols"?16384:1048576))throw new P("chart.errors.tooLarge");if(f.start+o.length-1>(f.orientation==="cols"?1048576:16384))throw new P("chart.errors.tooLarge");return {model:e,labels:o,categorySources:s,series:y,numericCategories:c,layout:{...f,lines:y.map(k=>k.line)}}}function bl(e){let t=e.lines;return t.some((r,n)=>n>0&&r!==t[n-1]+1)?false:e.categoryLine===void 0||e.categoryLine===t[0]-1}function z(e,t={},r=[]){return {id:"",kind:"generic",namespaceUri:w.c,localName:e,prefix:"c",namespaceBindings:[],attributes:Object.entries(t).map(([n,a])=>Ae(n,a)),children:r}}var Qt=e=>({kind:"textValue",id:"",value:e}),qt=(e,t)=>z(e,{val:String(t)}),q=(e,t)=>e.kind!=="textValue"&&e.namespaceUri===w.c&&e.localName===t;function ns(e,t,r){let n=e.start+r-1;return e.orientation==="cols"?ue(e.sheet,t,e.start,t,n):ue(e.sheet,e.start,t,n,t)}function Pl(e,t){let r=e.header;return e.orientation==="cols"?ue(e.sheet,t,r,t,r):ue(e.sheet,r,t,r,t)}var os=e=>String(Object.is(e,-0)?0:e);function ts(e){let t=[qt("ptCount",e.length)];return e.forEach((r,n)=>{r!==null&&t.push(z("pt",{idx:String(n)},[z("v",{},[Qt(r)])]));}),t}function er(e,t,r,n,a){let o=e?[z("formatCode",{},[Qt(n?.formatCode??"General")])]:[];if(r===void 0)return z(e?"numLit":"strLit",{},[...o,...ts(t)]);let s=e?"numRef":"strRef",l=z(e?"numCache":"strCache",{},[...o,...ts(t)]),i=a&&n?.formula===r?T(a).filter(d=>d.localName==="extLst"):[];return z(s,{},[z("f",{},[Qt(r)]),l,...i])}var tr=e=>e?T(e).find(t=>t.namespaceUri===w.c):void 0;function vl(e,t,r){let n=e.layout;if(n?.header!==void 0&&t.line!==void 0)return z("tx",{},[er(false,[t.name],Pl(n,t.line),r?.tx,tr(U(r?.el,"c:tx")))]);if(r?.tx?.kind==="strRef"&&r.tx.formula)return z("tx",{},[er(false,[t.name],r.tx.formula,r.tx,tr(U(r.el,"c:tx")))]);if(!(!r?.tx&&t.name===""))return z("tx",{},[z("v",{},[Qt(t.name)])])}function Sl(e,t,r){let{model:n,labels:a,layout:o}=e,s=a.every((u,f)=>u===String(f+1));if(!n.hasCategories&&s)return;let l=r?.cat??n.series.find(u=>u.cat)?.cat,i=o?.categoryLine!==void 0?ns(o,o.categoryLine,a.length):l?.formula&&!o?l.formula:void 0,d=e.numericCategories?a.map(u=>os(Number(u))):a,c=r?U(r.el,`c:${t}`):void 0;return z(t,{},[er(e.numericCategories,d,i,l,tr(c))])}function Cl(e,t,r,n){let a=e.layout,o=n?.val??e.model.series.find(d=>d.val)?.val,s=a?ns(a,r.line,r.values.length):n?.val?.formula||void 0,l=r.values.map(d=>d===null?null:os(d)),i=n?U(n.el,`c:${t}`):void 0;return z(t,{},[er(true,l,s,o,tr(i))])}function tn(e,t){let r=[];for(let n of e.children)if(q(n,"dPt")||q(n,"dLbl")){let a=Number(I(U(n,"c:idx"),"val")),o=t.get(a);if(o===void 0)continue;r.push({...n,children:n.children.map(s=>q(s,"idx")?qt("idx",o):s)});}else q(n,"dLbls")?r.push(tn(n,t)):r.push(n);return {...e,children:r}}var Rl=new Set(["spPr","dPt","trendline","errBars","explosion","pictureOptions","extLst"]);function Ol(e){if(e.kind==="textValue"||e.namespaceUri!==w.c)return e;if(!Rl.has(e.localName))return e.localName!=="marker"?e:{...e,children:e.children.filter(t=>!q(t,"spPr"))}}function bt(e,t,r,n){let a=[...e],o=a.findIndex(l=>q(l,r));if(o>=0)return t?a[o]=t:a.splice(o,1),a;if(!t)return a;let s=0;return a.forEach((l,i)=>{n.some(d=>q(l,d))&&(s=i+1);}),a.splice(s,0,t),a}var rs=["idx","order","tx","spPr","invertIfNegative","pictureOptions","marker","explosion","dPt","dLbls","trendline","errBars"];function wl(e){let{model:t}=e,r=t.kind==="xy",[n,a]=r?["xVal","yVal"]:["cat","val"],o=new Map;e.categorySources.forEach((i,d)=>{i!==void 0&&o.set(i,d);});let s=Se(T(t.plot).filter(i=>q(i,"ser")).map(i=>Number(I(U(i,"c:idx"),"val"))).filter(Number.isFinite),-1),l=t.series[t.series.length-1];return e.series.map((i,d)=>{let c=i.source!==void 0?t.series[i.source]:void 0,u;if(c)u=tn(c.el,o);else {let m=l.el.children.map(Ol).filter(h=>h!==void 0);u=tn({...l.el,children:m},new Map),u={...u,children:bt(u.children,qt("idx",s+=1),"idx",[])};}let f=bt(u.children,qt("order",d),"order",["idx"]);return f=bt(f,vl(e,i,c),"tx",["idx","order"]),f=bt(f,Sl(e,n,c),n,rs),f=bt(f,Cl(e,a,i,c),a,[...rs,n]),{...u,children:f}})}function as(e,t){let r=wl(t),n=t.model.plot,a=n.children.findIndex(u=>q(u,"ser")),o=n.children.filter(u=>!q(u,"ser")),s=n.children.slice(0,a).filter(u=>!q(u,"ser")).length,l={...n,children:[...o.slice(0,s),...r,...o.slice(s)]},i=U(e,"c:chart"),d=U(i,"c:plotArea"),c=(u,f,m)=>({...u,children:u.children.map(h=>h===f?m:h)});return c(e,i,c(i,d,c(d,n,l)))}var El=`xmlns:c="${w.c}" xmlns:a="${w.a}" xmlns:r="${w.r}"`;function rr(e){let t=Qe("/chart-fragment.xml",`<c:w ${El}>${e}</c:w>`);if(!t.ok)throw new P("chart.errors.unsupported","template");return T(t.part.root)}function D(e){let[t]=rr(e);if(!t)throw new P("chart.errors.unsupported","template");return t}var E=(e,t)=>U(e,{namespaceUri:w.c,local:t}),me=(e,t)=>T(e).filter(r=>r.namespaceUri===w.c&&r.localName===t),B=(e,t)=>I(E(e,t),"val");function De(e,t,r){let n=E(e,t);if(!n)return r;let a=I(n,"val");return a===void 0||a==="1"||a==="true"}var M=(e,t)=>({...e,children:[...t]}),tt=(e,t)=>M(e,e.children.filter(r=>r.kind==="textValue"||!t(r))),se=(e,...t)=>tt(e,r=>r.namespaceUri===w.c&&t.includes(r.localName));function H(e,t,r){let n=r.indexOf(t.localName),a=e.children.filter(s=>!(s.kind!=="textValue"&&s.namespaceUri===t.namespaceUri&&s.localName===t.localName)),o=a.findIndex(s=>s.kind!=="textValue"&&s.namespaceUri===t.namespaceUri&&r.indexOf(s.localName)>n);return o<0?M(e,[...a,t]):M(e,[...a.slice(0,o),t,...a.slice(o)])}var K=(e,t,r)=>M(e,e.children.map(n=>n===t?r:n)),Fe=["title","autoTitleDeleted","pivotFmts","view3D","floor","sideWall","backWall","plotArea","legend","plotVisOnly","dispBlanksAs","showDLblsOverMax","extLst"],rt=["axId","scaling","delete","axPos","majorGridlines","minorGridlines","title","numFmt","majorTickMark","minorTickMark","tickLblPos","spPr","txPr","crossAx","crosses","crossesAt","crossBetween","auto","lblAlgn","lblOffset","baseTimeUnit","majorUnit","minorUnit","majorTimeUnit","minorTimeUnit","tickLblSkip","tickMarkSkip","dispUnits","noMultiLvlLbl","extLst"],ss=["legendPos","legendEntry","layout","overlay","spPr","txPr","extLst"],nn=["idx","order","tx","spPr","explosion","invertIfNegative","pictureOptions","marker","dPt","dLbls","trendline","errBars","cat","xVal","val","yVal","shape","smooth","extLst"],is=["idx","invertIfNegative","marker","bubble3D","explosion","spPr","pictureOptions","extLst"],on=["xfrm","noFill","solidFill","gradFill","blipFill","pattFill","grpFill","ln","effectLst","effectDag","scene3d","sp3d","extLst"],Pt=new Set(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"]),Nl=new Set(["bg1","tx1","bg2","tx2","accent1","accent2","accent3","accent4","accent5","accent6"]);function vt(e){if(!e||e.namespaceUri!==w.a||e.localName!=="solidFill")return null;let t=T(e)[0];if(!t)return null;let r=I(t,"val")??"";if(t.localName==="srgbClr")return /^[0-9A-Fa-f]{6}$/.test(r)?`#${r.toUpperCase()}`:null;if(t.localName!=="schemeClr"||!Nl.has(r))return null;let n=Number(I(U(t,"a:lumMod"),"val")??1e5),a=Number(I(U(t,"a:lumOff"),"val")??0),o=a>0?Math.round(a/1e3):n<1e5?-Math.round(100-n/1e3):0,s=r;return o!==0&&Math.abs(o)<100?{theme:s,shift:o}:{theme:s}}var St=e=>`<a:solidFill>${Va(e)}</a:solidFill>`;function ls(e,t="<a:bodyPr/>",r='<a:rPr lang="en-US"/>'){let n=e?`<a:r>${r}<a:t>${chunkXPBKJQTG_cjs.V(e)}</a:t></a:r>`:'<a:endParaRPr lang="en-US"/>';return `<c:rich>${t}<a:lstStyle/><a:p><a:pPr><a:defRPr/></a:pPr>${n}</a:p></c:rich>`}var Tl=["columnClustered","columnStacked","columnPercentStacked","barClustered","barStacked","barPercentStacked","line","lineMarkers","area","areaStacked","areaPercentStacked","pie","doughnut","radar","scatter","scatterLines"],or=e=>typeof e=="string"&&Tl.includes(e),Ct={columnClustered:{plot:"barChart",axes:"category",lines:false,barDir:"col",grouping:"clustered"},columnStacked:{plot:"barChart",axes:"category",lines:false,barDir:"col",grouping:"stacked"},columnPercentStacked:{plot:"barChart",axes:"category",lines:false,barDir:"col",grouping:"percentStacked"},barClustered:{plot:"barChart",axes:"category",lines:false,barDir:"bar",grouping:"clustered"},barStacked:{plot:"barChart",axes:"category",lines:false,barDir:"bar",grouping:"stacked"},barPercentStacked:{plot:"barChart",axes:"category",lines:false,barDir:"bar",grouping:"percentStacked"},line:{plot:"lineChart",axes:"category",lines:true,grouping:"standard",markers:false},lineMarkers:{plot:"lineChart",axes:"category",lines:true,grouping:"standard",markers:true},area:{plot:"areaChart",axes:"category",lines:false,grouping:"standard"},areaStacked:{plot:"areaChart",axes:"category",lines:false,grouping:"stacked"},areaPercentStacked:{plot:"areaChart",axes:"category",lines:false,grouping:"percentStacked"},pie:{plot:"pieChart",axes:"none",lines:false},doughnut:{plot:"doughnutChart",axes:"none",lines:false},radar:{plot:"radarChart",axes:"category",lines:true,markers:false},scatter:{plot:"scatterChart",axes:"xy",lines:true,markers:true},scatterLines:{plot:"scatterChart",axes:"xy",lines:true,markers:true}},Rt=e=>Ct[e].axes;function ar(e){return e.localName==="radarChart"?B(e,"radarStyle")!=="filled":e.localName==="lineChart"||e.localName==="line3DChart"||e.localName==="scatterChart"}var nt=e=>e.localName==="pieChart"||e.localName==="pie3DChart"||e.localName==="doughnutChart";function Ot(e){return nt(e)||e.localName==="ofPieChart"?"none":e.localName==="scatterChart"||e.localName==="bubbleChart"?"xy":"category"}var Il=e=>B(E(e,"marker"),"symbol")==="none",Al=e=>{let t=T(E(e,"spPr")).find(r=>r.namespaceUri===w.a&&r.localName==="ln");return T(t).some(r=>r.localName==="noFill")};function sn(e){let t=me(e,"ser"),r=B(e,"grouping")??"standard";switch(e.localName){case "barChart":{let n=B(e,"barDir")==="bar";return r==="stacked"?n?"barStacked":"columnStacked":r==="percentStacked"?n?"barPercentStacked":"columnPercentStacked":n?"barClustered":"columnClustered"}case "lineChart":return r!=="standard"?null:!De(e,"marker",true)||t.every(Il)?"line":"lineMarkers";case "areaChart":return r==="stacked"?"areaStacked":r==="percentStacked"?"areaPercentStacked":"area";case "pieChart":return "pie";case "doughnutChart":return "doughnut";case "radarChart":return B(e,"radarStyle")==="filled"?null:"radar";case "scatterChart":return t.length>0&&t.every(Al)?"scatter":"scatterLines";default:return null}}var Ml=e=>T(e).find(t=>t.namespaceUri===w.a&&t.localName==="ln"),nr=e=>T(e).find(t=>t.namespaceUri===w.a&&Pt.has(t.localName));function sr(e,t){let r=E(e,"spPr");return t?vt(nr(Ml(r)))??vt(nr(E(E(e,"marker"),"spPr")))??vt(nr(r)):vt(nr(r))}function Dl(e,t,r){let n=r?St(r):"";if(!e.lines)return r?`<c:spPr>${n}</c:spPr>`:"";let a=t==="scatter"?'<a:ln w="25400" cap="rnd"><a:noFill/><a:round/></a:ln>':`<a:ln w="28575" cap="rnd">${n}<a:round/></a:ln>`,o=t==="scatter"||r?`<c:spPr>${a}</c:spPr>`:"",s=e.markers?r?`<c:marker><c:symbol val="circle"/><c:size val="5"/><c:spPr>${n}<a:ln w="9525">${n}</a:ln></c:spPr></c:marker>`:'<c:marker><c:symbol val="circle"/><c:size val="5"/></c:marker>':'<c:marker><c:symbol val="none"/></c:marker>';return o+s}var cs=(e,t)=>({...e,localName:t});function Fl(e,t,r,n,a){let o=a.axes==="xy",s=a.axes==="none"&&nt(r),l=nt(r)?null:sr(e,ar(r)),i=E(e,"idx")??D(`<c:idx val="${t}"/>`),d=E(e,"order")??D(`<c:order val="${t}"/>`),c=E(e,"cat")??E(e,"xVal"),u=E(e,"val")??E(e,"yVal"),f=E(e,"tx"),m=[i,d];f&&m.push(f);for(let g of rr(Dl(a,n,l)))m.push(g);if(a.plot==="barChart"&&m.push(D('<c:invertIfNegative val="0"/>')),s)for(let g of me(e,"dPt"))m.push(g);c&&m.push(cs(c,o?"xVal":"cat")),u&&m.push(cs(u,o?"yVal":"val")),(a.plot==="lineChart"||a.plot==="scatterChart")&&m.push(D('<c:smooth val="0"/>'));let h=E(e,"extLst");return h&&m.push(h),M(e,m)}function Ll(e,t){let r=Ct[e],n=t.map(a=>`<c:axId val="${a}"/>`).join("");switch(r.plot){case "barChart":{let a=r.grouping!=="clustered";return {open:`<c:barChart><c:barDir val="${r.barDir}"/><c:grouping val="${r.grouping}"/><c:varyColors val="0"/>`,close:`<c:gapWidth val="${a?150:219}"/><c:overlap val="${a?100:-27}"/>${n}</c:barChart>`}}case "lineChart":return {open:'<c:lineChart><c:grouping val="standard"/><c:varyColors val="0"/>',close:`<c:marker val="1"/>${n}</c:lineChart>`};case "areaChart":return {open:`<c:areaChart><c:grouping val="${r.grouping}"/><c:varyColors val="0"/>`,close:`${n}</c:areaChart>`};case "pieChart":return {open:'<c:pieChart><c:varyColors val="1"/>',close:'<c:firstSliceAng val="0"/></c:pieChart>'};case "doughnutChart":return {open:'<c:doughnutChart><c:varyColors val="1"/>',close:'<c:firstSliceAng val="0"/><c:holeSize val="75"/></c:doughnutChart>'};case "radarChart":return {open:'<c:radarChart><c:radarStyle val="marker"/><c:varyColors val="0"/>',close:`${n}</c:radarChart>`};default:return {open:'<c:scatterChart><c:scatterStyle val="lineMarker"/><c:varyColors val="0"/>',close:`${n}</c:scatterChart>`}}}var ds='<c:spPr><a:noFill/><a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="tx1"><a:lumMod val="15000"/><a:lumOff val="85000"/></a:schemeClr></a:solidFill><a:round/></a:ln></c:spPr>',us='<c:txPr><a:bodyPr rot="-60000000" vert="horz"/><a:lstStyle/><a:p><a:pPr><a:defRPr sz="1197" b="0" i="0" u="none" strike="noStrike" baseline="0"><a:solidFill><a:schemeClr val="tx1"><a:lumMod val="65000"/><a:lumOff val="35000"/></a:schemeClr></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:pPr><a:endParaRPr lang="en-US"/></a:p></c:txPr>';function _l(e,t,r){return `<c:catAx><c:axId val="${e}"/><c:scaling><c:orientation val="minMax"/></c:scaling><c:delete val="0"/><c:axPos val="${r}"/><c:numFmt formatCode="General" sourceLinked="1"/><c:majorTickMark val="none"/><c:minorTickMark val="none"/><c:tickLblPos val="nextTo"/>${ds}${us}<c:crossAx val="${t}"/><c:crosses val="autoZero"/><c:auto val="1"/><c:lblAlgn val="ctr"/><c:lblOffset val="100"/><c:noMultiLvlLbl val="0"/></c:catAx>`}function an(e,t,r,n,a){let o=n?`<c:majorGridlines>${ds}</c:majorGridlines>`:"";return `<c:valAx><c:axId val="${e}"/><c:scaling><c:orientation val="minMax"/></c:scaling><c:delete val="0"/><c:axPos val="${r}"/>${o}<c:numFmt formatCode="General" sourceLinked="1"/><c:majorTickMark val="none"/><c:minorTickMark val="none"/><c:tickLblPos val="nextTo"/><c:spPr><a:noFill/><a:ln><a:noFill/></a:ln></c:spPr>${us}<c:crossAx val="${t}"/><c:crosses val="autoZero"/><c:crossBetween val="${a}"/></c:valAx>`}function ln(e,t){let r=Ct[e],[n,a]=t;if(r.axes==="none")return "";if(r.axes==="xy")return an(n,a,"b",false,"midCat")+an(a,n,"l",true,"midCat");let o=r.barDir==="bar";return _l(n,a,o?"l":"b")+an(a,n,o?"b":"l",true,r.plot==="areaChart"?"midCat":"between")}var $l=new Set(["catAx","valAx","dateAx","serAx"]),Le=e=>T(e).filter(t=>t.namespaceUri===w.c&&$l.has(t.localName)),Ul=["view3D","floor","sideWall","backWall"];function Bl(e){let t=new Set(Le(e).map(n=>B(n,"axId"))),r=[];for(let n=500000001;r.length<2;n+=1)t.has(String(n))||r.push(String(n));return [r[0],r[1]]}function Hl(e,t,r){let n=Ct[r];if(n.axes==="none")return {ids:[],axes:[]};let a=Le(e),o=me(t,"axId").map(c=>I(c,"val")??""),s=o.map(c=>a.find(u=>B(u,"axId")===c));if(!(Ot(t)===n.axes&&s.length===2&&s.every(c=>c!==void 0)&&(n.axes==="xy"?s.every(c=>c.localName==="valAx"):s.some(c=>c.localName==="valAx")&&s.some(c=>c.localName!=="valAx")))){let c=Bl(e);return {ids:c,axes:rr(ln(r,c))}}if(n.plot!=="barChart")return {ids:o,axes:s};let i=n.barDir==="bar",d=s.map(c=>{let f=c.localName==="valAx"===i?"b":"l";return H(c,D(`<c:axPos val="${f}"/>`),rt)});return {ids:o,axes:d}}function ir(e,t,r){let n=E(e,"plotArea");if(!n)throw new P("chart.errors.noData");let a=Ct[r],{ids:o,axes:s}=Hl(n,t,r),l=me(t,"ser").map((R,F)=>Fl(R,F,t,r,a)),i=E(t,"dLbls"),{open:d,close:c}=Ll(r,o),u=D(`${d}${c}`),f=T(u).findIndex(R=>R.localName==="varyColors")+1,m=T(u),h=M(u,[...m.slice(0,f),...l,...i?[i]:[],...m.slice(f)]),g=new Set(Le(n)),y=M(n,[...n.children.filter(R=>R!==t&&!(R.kind!=="textValue"&&g.has(R)))]),k=y.children.findIndex(R=>R.kind!=="textValue"&&R.namespaceUri===w.c&&(R.localName==="dTable"||R.localName==="spPr"||R.localName==="extLst")),C=k<0?y.children.length:k,N=M(y,[...y.children.slice(0,C),h,...s,...y.children.slice(C)]),O=tt(e,R=>R.namespaceUri===w.c&&Ul.includes(R.localName));return O=H(O,N,Fe),O}var jl={t:"top",b:"bottom",l:"left",r:"right",tr:"right"},ms={top:"t",bottom:"b",left:"l",right:"r"};function xs(e){let t=E(e,"tx"),r=E(t,"rich");if(r)return T(r).filter(o=>o.namespaceUri===w.a&&o.localName==="p").map(o=>ks(o)).join(" ");let n=E(E(t,"strRef"),"strCache"),a=E(E(n,"pt"),"v");return a?Qr(a):void 0}function ks(e){let t="";for(let r of T(e))t+=r.namespaceUri===w.a&&r.localName==="t"?Qr(r):ks(r);return t}function Xl(e,t){let r=E(e,"title"),n=t.series.length===1?t.series[0].name:void 0;return r?xs(r)??n??"Chart Title":!De(e,"autoTitleDeleted",false)&&n!==void 0?n:null}function bs(e,t){let r=me(t,"axId").map(a=>I(a,"val")),n=Le(e).filter(a=>r.includes(B(a,"axId")));if(Ot(t)==="xy"){let a=n.find(o=>["l","r"].includes(B(o,"axPos")??""));return {value:a??n[1],category:n.find(o=>o!==(a??n[1]))}}return {value:n.find(a=>a.localName==="valAx"),category:n.find(a=>a.localName==="catAx"||a.localName==="dateAx")}}function fs(e){return !e||De(e,"delete",false)?false:["showVal","showPercent","showCatName","showSerName"].some(t=>De(e,t,false))}var ps=e=>({theme:`accent${e%6+1}`});function Wl(e){let t=e.plot;if(nt(t)){let n=e.series[0]?.el,a=me(n,"dPt");return {by:"point",colors:e.categories.map((o,s)=>{let l=a.find(i=>B(i,"idx")===String(s));return {name:o,color:l?sr(l,false):null,automatic:ps(s)}})}}let r=ar(t);return {by:"series",colors:e.series.map((n,a)=>{let o=Number(B(n.el,"idx"));return {name:n.name,color:sr(n.el,r),automatic:ps(Number.isInteger(o)&&o>=0?o:a)}})}}function lr(e){let t=et(e);if(!t.ok)throw new P(t.reason);let r=E(e,"chart");if(!r)throw new P("chart.errors.noData");return {chartSpace:e,chart:r,model:t.model}}function Ps(e){let t;try{t=lr(e);}catch(m){if(m instanceof P)return {ok:false,reason:m.reason};throw m}let{chart:r,model:n}=t,a=n.plot,o=E(r,"plotArea"),s=E(r,"legend"),l=Ot(a)!=="none",i=bs(o,a),d=m=>{let h=E(m,"title");return h?xs(h)??"Axis Title":null},{by:c,colors:u}=Wl(n);return {ok:true,format:{type:sn(a),title:Xl(r,n),legend:s?jl[B(s,"legendPos")??"r"]??"right":"none",dataLabels:fs(E(a,"dLbls"))||n.series.some(m=>fs(E(m.el,"dLbls"))),gridlines:l?!!E(i.value,"majorGridlines"):null,axes:l?Le(o).some(m=>!De(m,"delete",false)):null,axisTitles:l?{category:d(i.category),value:d(i.value)}:null,colorsBy:c,colors:u}}}function cn(e){if(typeof e!="string"||e.length>qe||!chunkXPBKJQTG_cjs.X(e))throw new P("chart.errors.invalidText");return e}function vs(e,t,r){let n=E(E(e,"tx"),"rich"),a=T(n).find(m=>m.namespaceUri===w.a&&m.localName==="bodyPr"),o=T(n).filter(m=>m.namespaceUri===w.a&&m.localName==="p").flatMap(m=>T(m)).find(m=>m.namespaceUri===w.a&&m.localName==="r"),s=T(o).find(m=>m.namespaceUri===w.a&&m.localName==="rPr"),i=D(`<c:tx>${ls(t,r?'<a:bodyPr rot="-5400000" vert="horz"/>':"<a:bodyPr/>")}</c:tx>`),d=E(i,"rich"),c=M(d,T(d).map(m=>m.localName==="bodyPr"&&a?a:m.localName!=="p"||!s?m:M(m,T(m).map(h=>h.localName==="r"?M(h,T(h).map(g=>g.localName==="rPr"?s:g)):h)))),u=M(i,[c]);if(!e)return zl('<c:title><c:overlay val="0"/></c:title>',u);let f=T(e).filter(m=>!(m.namespaceUri===w.c&&m.localName==="tx"));return M(e,[u,...f])}function zl(e,t){let r=D(e);return M(r,[t,...r.children])}function Vl(e,t){if(t===null){let n=se(e,"title");return H(n,D('<c:autoTitleDeleted val="1"/>'),Fe)}let r=H(e,vs(E(e,"title"),cn(t),false),Fe);return H(r,D('<c:autoTitleDeleted val="0"/>'),Fe)}function Gl(e,t){if(t==="none")return se(e,"legend");let r=Object.hasOwn(ms,t)?ms[t]:void 0;if(!r)throw new P("chart.errors.unsupported","legend");let n=E(e,"legend"),a=n?se(n,"layout"):D('<c:legend><c:overlay val="0"/></c:legend>'),o=H(a,D(`<c:legendPos val="${r}"/>`),ss);return H(e,o,Fe)}var Kl='<c:dLbls><c:showLegendKey val="0"/><c:showVal val="1"/><c:showCatName val="0"/><c:showSerName val="0"/><c:showPercent val="0"/><c:showBubbleSize val="0"/></c:dLbls>';function Yl(e,t){let r=M(e,e.children.map(o=>o.kind!=="textValue"&&o.namespaceUri===w.c&&o.localName==="ser"?se(o,"dLbls"):o));if(r=se(r,"dLbls"),!t)return r;let n=r.children,a=-1;return n.forEach((o,s)=>{o.kind!=="textValue"&&o.namespaceUri===w.c&&o.localName==="ser"&&(a=s);}),M(r,[...n.slice(0,a+1),D(Kl),...n.slice(a+1)])}var Jl='<c:majorGridlines><c:spPr><a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="tx1"><a:lumMod val="15000"/><a:lumOff val="85000"/></a:schemeClr></a:solidFill><a:round/></a:ln></c:spPr></c:majorGridlines>';function Zl(e,t,r){if(!r||typeof r!="object")throw new P("chart.errors.unsupported","format");let n=["title","legend","dataLabels","gridlines","axes","categoryAxisTitle","valueAxisTitle"];for(let d of Object.keys(r))if(!n.includes(d))throw new P("chart.errors.unsupported",d);let a=e;r.title!==void 0&&(a=Vl(a,r.title===null?null:cn(r.title))),r.legend!==void 0&&(a=Gl(a,r.legend));let o=r.gridlines!==void 0||r.axes!==void 0||r.categoryAxisTitle!==void 0||r.valueAxisTitle!==void 0;if(r.dataLabels===void 0&&!o)return a;let s=E(a,"plotArea"),l=T(s).find(d=>d.namespaceUri===w.c&&d.localName===t.plot.localName);if(!s||!l)throw new P("chart.errors.noData");let i=s;if(r.dataLabels!==void 0){if(typeof r.dataLabels!="boolean")throw new P("chart.errors.unsupported","dataLabels");i=K(i,l,Yl(l,r.dataLabels));}if(o){if(Ot(t.plot)==="none")throw new P("chart.errors.noAxes");let d=(g,y)=>{if(typeof g!="boolean")throw new P("chart.errors.unsupported",y);return g},c=T(i).find(g=>g.namespaceUri===w.c&&g.localName===t.plot.localName),u=bs(i,c),f=new Map,m=(g,y)=>{g&&f.set(g,y(f.get(g)??g));};if(r.gridlines!==void 0){let g=d(r.gridlines,"gridlines");m(u.value,y=>g?E(y,"majorGridlines")?y:H(y,D(Jl),rt):se(y,"majorGridlines"));}if(r.axes!==void 0){let g=d(r.axes,"axes");for(let y of Le(i))m(y,k=>H(k,D(`<c:delete val="${g?0:1}"/>`),rt));}let h=(g,y)=>{y!==void 0&&m(g,k=>{if(y===null)return se(k,"title");let C=["l","r"].includes(B(k,"axPos")??"");return H(k,vs(E(k,"title"),cn(y),C),rt)});};if(h(u.category,r.categoryAxisTitle),h(u.value,r.valueAxisTitle),r.categoryAxisTitle!==void 0&&!u.category||r.valueAxisTitle!==void 0&&!u.value)throw new P("chart.errors.noAxes");i=M(i,i.children.map(g=>g.kind!=="textValue"&&f.has(g)?f.get(g):g));}return K(a,s,i)}var dn=(e,t)=>K(e.chartSpace,e.chart,t);function Eu(e,t){let r=lr(e);return dn(r,Zl(r.chart,r.model,t))}function Nu(e,t){if(!or(t))throw new P("chart.errors.unsupported","chartType");let r=lr(e);if(sn(r.model.plot)===t)throw new P("chart.errors.sameType");return dn(r,ir(r.chart,r.model.plot,t))}function hs(e,t){let r=e?tt(e,n=>n.namespaceUri===w.a&&Pt.has(n.localName)):D("<c:spPr/>");return t?H(r,t,on):r}function gs(e,t){let r=e??D("<c:spPr/>"),n=T(r).find(s=>s.namespaceUri===w.a&&s.localName==="ln");if(!n&&!t||n&&T(n).some(s=>s.localName==="noFill"))return r;let a=n?tt(n,s=>s.namespaceUri===w.a&&Pt.has(s.localName)):D('<a:ln w="28575" cap="rnd"/>'),o=t?M(a,[t,...a.children]):a;return H(r,o,on)}function ys(e,t,r,n){let a=t?D(St(t)):null,o=E(e,"spPr"),s=r?gs(o,a):hs(o,a),l=T(s).length>0?H(e,s,n):se(e,"spPr"),i=E(l,"marker");if(r&&i&&B(i,"symbol")!=="none"){let d=E(i,"spPr"),c=hs(d,a);c=a?gs(c,D(St(t))):c;let u=T(c).length>0?H(i,c,["symbol","size","spPr","extLst"]):se(i,"spPr");l=K(l,i,u);}return l}function Tu(e,t,r){if(r!==null&&!qr(r))throw new P("chart.errors.unsupported","color");let n=lr(e),{model:a}=n,o=E(n.chart,"plotArea"),s=a.plot,l=nt(s),i=l?a.categories.length:a.series.length;if(!Number.isInteger(t)||t<0||t>=i)throw new P("chart.errors.unsupported","index");let d;if(l){let c=a.series[0].el,u=me(c,"dPt").find(y=>B(y,"idx")===String(t)),f=u??D(`<c:dPt><c:idx val="${t}"/><c:bubble3D val="0"/></c:dPt>`),m=ys(f,r,false,is),h=T(m).every(y=>y.localName==="idx"||y.localName==="bubble3D"),g;if(u)g=h?M(c,c.children.filter(y=>y!==u)):K(c,u,m);else if(h)g=c;else {let y=c.children,k=y.filter(N=>N.kind!=="textValue"&&N.localName==="dPt"),C=k.filter(N=>Number(B(N,"idx"))<t).at(-1);if(C){let N=y.indexOf(C)+1;g=M(c,[...y.slice(0,N),m,...y.slice(N)]);}else {let N=k[0];g=N?M(c,[...y.slice(0,y.indexOf(N)),m,...y.slice(y.indexOf(N))]):H(c,m,nn);}}d=K(s,c,g);}else {let c=a.series[t].el;d=K(s,c,ys(c,r,ar(s),nn));}return dn(n,K(n.chart,o,K(o,s,d)))}var Et="http://schemas.openxmlformats.org/spreadsheetml/2006/main",Ss="http://schemas.openxmlformats.org/officeDocument/2006/relationships",Ql="http://schemas.openxmlformats.org/package/2006/relationships",ql="http://www.w3.org/XML/1998/namespace",ec="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package",tc="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",rc="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",nc="http://schemas.openxmlformats.org/officeDocument/2006/relationships/table",oc="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",ac=32*1024*1024;function fn(e,t){let r=U(t,"c:externalData"),n=I(r,"r:id");if(!r||!n)return {state:"none"};let a=e.relationship(n);if(!a)return {state:"none",externalData:r};if(a.external)return {state:"external",externalData:r};let o=a.target,s=o?e.contentType(o)?.trim().toLowerCase():void 0;return !o||a.type!==ec||s!==oc?{state:"kept",externalData:r}:{state:"embedded",part:o,externalData:r}}function dr(e,t){let r=e.get(t);if(!r)return;let n=Qe(t,chunkXPBKJQTG_cjs.ff(r));return n.ok?n.part.root:void 0}function un(e,t,r){let n=t.lastIndexOf("/"),a=dr(e,`${t.slice(0,n)}/_rels/${t.slice(n+1)}.rels`),o=new Map;for(let s of Ie(a,{namespaceUri:Ql,localName:"Relationship"})){let l=I(s,"Id"),i=I(s,"Target");if(!l||!i||I(s,"Type")!==r||I(s,"TargetMode")==="External")continue;let d=chunkXPBKJQTG_cjs.E(t==="/"?"/x":t,i);d.ok&&o.set(l,d.partName);}return o}var fe=(e,t)=>U(e,{namespaceUri:Et,local:t}),pe=(e,t)=>Ie(e,{namespaceUri:Et,local:t});function mn(e,t,r){return e.orientation==="cols"?[t,r]:[r,t]}function Cs(e,t){let r=[...e.lines,...e.categoryLine!==void 0?[e.categoryLine]:[]],n=e.header??e.start,[a,o]=mn(e,Zt(r),n),[s,l]=mn(e,Se(r),e.start+t-1);return {c1:a,r1:o,c2:s,r2:l}}function sc(e,t,r){let n=new Map,a=(l,i,d)=>{let[c,u]=mn(r,l,i);n.set(`${c},${u}`,d);},o=e.model.categories.length;for(let l of [...t.lines,...t.categoryLine!==void 0?[t.categoryLine]:[]]){t.header!==void 0&&l!==t.categoryLine&&a(l,t.header,null);for(let i=0;i<o;i+=1)a(l,t.start+i,null);}let s=e.labels.length;return r.categoryLine!==void 0&&e.labels.forEach((l,i)=>a(r.categoryLine,r.start+i,e.numericCategories?Number(l):l)),e.series.forEach((l,i)=>{let d=r.lines[i];r.header!==void 0&&a(d,r.header,l.name);for(let c=0;c<s;c+=1)a(d,r.start+c,l.values[c]??null);}),n}function Ce(e,t,r=[]){return {id:"",kind:"generic",namespaceUri:Et,localName:e,namespaceBindings:[],attributes:t.map(([n,a])=>Ae(n,a)),children:r}}var Rs=e=>({kind:"textValue",id:"",value:e});function ic(e,t,r){let n=I(t,"s"),a=[["r",e],...n?[["s",n]]:[]];if(r===null)return n?Ce("c",a):void 0;if(typeof r=="number")return Ce("c",a,[Ce("v",[],[Rs(String(r))])]);let o={...Ce("t",[],r===""?[]:[Rs(r)]),attributes:r.trim()===r?[]:[{kind:"xmlSpace",namespaceUri:ql,localName:"space",prefix:"xml",value:"preserve"}]};return Ce("c",[...a,["t","inlineStr"]],[Ce("is",[],[o])])}var lc=/^([A-Z]{1,3})([0-9]{1,7})$/;function ur(e){let t=e?lc.exec(e):null,r=t?Jt(t[1]):void 0;return t&&r?[r,Number(t[2])]:void 0}function cc(e,t,r){let n=new Map;for(let o of pe(e,"row")){let s=Number(I(o,"r"));if(!Number.isInteger(s)||s<1||n.has(s))return;let l=new Map;for(let i of pe(o,"c")){let d=ur(I(i,"r"));if(!d||d[1]!==s||l.has(d[0]))return;l.set(d[0],i);}if(T(o).length!==l.size)return;n.set(s,{el:o,cells:l});}for(let[o,s]of t){let[l,i]=o.split(",").map(Number),d=n.get(i),c=d?.cells.get(l);if(c&&(fe(c,"f")||I(c,"cm")||I(c,"vm")))return;let u=l>=r.c1&&l<=r.c2&&i>=r.r1&&i<=r.r2;if(c&&!u&&T(c).length>0)return;let f=ic(`${ae(l)}${i}`,c,s);if(!d){if(!f)continue;d={el:Ce("row",[["r",String(i)]]),cells:new Map},n.set(i,d);}f?d.cells.set(l,f):d.cells.delete(l);}let a=[...n.entries()].sort(([o],[s])=>o-s).map(([,{el:o,cells:s}])=>({...o,attributes:o.attributes.filter(l=>!(l.namespaceUri===""&&l.localName==="spans")),children:[...s.entries()].sort(([l],[i])=>l-i).map(([,l])=>l)})).filter(o=>o.children.length>0||o.attributes.length>1);return {...e,children:a}}function dc(e){let t=1/0,r=1/0,n=0,a=0;for(let l of pe(e,"row"))for(let i of pe(l,"c")){let[d,c]=ur(I(i,"r"));t=Math.min(t,d),r=Math.min(r,c),n=Math.max(n,d),a=Math.max(a,c);}if(n===0)return "A1";let o=`${ae(t)}${r}`,s=`${ae(n)}${a}`;return o===s?o:`${o}:${s}`}function Os(e){let[t,r=t]=(e??"").split(":"),n=ur(t),a=ur(r);return n&&a?{c1:n[0],r1:n[1],c2:a[0],r2:a[1]}:void 0}var uc=e=>`${ae(e.c1)}${e.r1}:${ae(e.c2)}${e.r2}`,mc=(e,t)=>e.c1===t.c1&&e.r1===t.r1&&e.c2===t.c2&&e.r2===t.r2,cr=(e,t)=>e.c1<=t.c2&&t.c1<=e.c2&&e.r1<=t.r2&&t.r1<=e.r2;function wt(e,t,r){let n=e.attributes.findIndex(o=>o.namespaceUri===""&&o.localName===t),a=[...e.attributes];return n>=0?a[n]={...a[n],kind:"genericExtension",value:r}:a.push(Ae(t,r)),{...e,attributes:a}}function fc(e,t,r,n){if(Number(I(e,"totalsRowCount")??0)>0||I(e,"headerRowCount")==="0"||(I(e,"tableType")??"worksheet")!=="worksheet")return;let a=fe(e,"autoFilter");if(a&&T(a).length>0||fe(e,"sortState")||pe(fe(e,"tableColumns"),"tableColumn").some(g=>T(g).length>0))return;let o=fe(e,"tableColumns"),s=pe(o,"tableColumn");if(r.orientation!=="cols"||r.header===void 0||!o)return;let l=t.c2-t.c1+1,i=s.map(g=>Number(I(g,"id"))),d=Se(i.filter(Number.isFinite),0),c=new Map(r.lines.map((g,y)=>[g,n[y]])),u=[],f=new Set;for(let g=0;g<l;g+=1){let y=c.get(t.c1+g)??I(s[g],"name");if(!y||/[\r\n]/.test(y)||f.has(y.toLowerCase()))return;f.add(y.toLowerCase());let k=s[g];u.push(k?wt(k,"name",y):Ce("tableColumn",[["id",String(d+=1)],["name",y]]));}let m=uc(t),h=e.children.map(g=>g===o?wt({...o,children:u},"count",String(l)):g.kind!=="textValue"&&g.namespaceUri===Et&&g.localName==="autoFilter"?wt(g,"ref",m):g);return wt({...e,children:h},"ref",m)}function pn(e,t,r){let n=t.layout;if(!n||e.length>ac)return;let a=chunkXPBKJQTG_cjs.cf(e,chunkXPBKJQTG_cjs.bf);if(!a.ok)return;let o=new Map(a.entries),s=[...un(o,"/",tc).values()][0],l=s?dr(o,s):void 0;if(!s||!l)return;let i=Za(n.sheet).toLowerCase(),d=pe(fe(l,"sheets"),"sheet").find(O=>I(O,"name")?.toLowerCase()===i),c=un(o,s,rc).get(I(d,{namespaceUri:Ss,localName:"id"})??""),u=c?dr(o,c):void 0,f=fe(u,"sheetData");if(!c||!u||!f)return;let m=Cs(r,t.model.categories.length),h=Cs(n,t.labels.length);for(let O of pe(fe(u,"mergeCells"),"mergeCell")){let R=Os(I(O,"ref"));if(!R||cr(R,m)||cr(R,h))return}let g=un(o,c,nc),y=new Map;for(let O of pe(fe(u,"tableParts"),"tablePart")){let R=g.get(I(O,{namespaceUri:Ss,localName:"id"})??""),F=R?dr(o,R):void 0,$=Os(I(F,"ref"));if(!R||!F||!$)return;if(!cr($,m)&&!cr($,h))continue;if(!mc($,m))return;let L=fc(F,h,n,t.series.map(ie=>ie.name));if(!L)return;y.set(R,L);}let k=cc(f,sc(t,r,n),m);if(!k)return;let C=u.children.map(O=>O===f?k:O.kind!=="textValue"&&O.namespaceUri===Et&&O.localName==="dimension"?wt(O,"ref",dc(k)):O);y.set(c,{...u,children:C});let N=new TextEncoder;try{for(let[O,R]of y)o.set(O,N.encode(Kt(O,R)));return chunkXPBKJQTG_cjs.df(o)}catch{return}}var Nt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",pc=12;function hn(e){let t=(r,n)=>{if(r.kind==="textValue"||n>pc)return null;if(r.namespaceUri===chunkXPBKJQTG_cjs.ye&&r.localName==="chart")return r;for(let a of r.children){let o=t(a,n+1);if(o)return o}return null};return t(e,0)}function gn(e,t,r){let n=hn(r),a=n?chunkXPBKJQTG_cjs.ie(n,"id"):void 0;if(!a)return null;let o=chunkXPBKJQTG_cjs.he(e,t,a,Nt);return !o||o.root.namespaceUri!==w.c||o.root.localName!=="chartSpace"?null:{ownerPart:t,part:o.partName,chartSpace:Jr(o.root)}}function yn(e,t){let r=t.toLowerCase();for(let[n,a]of e.partBytes)if((n.startsWith("/")?n:`/${n}`).toLowerCase()===r)return a}function ws(e,t){return {relationship(r){let n=(e.relationships.get(t)??[]).find(s=>s.id===r);if(!n)return;if(n.targetMode==="External")return {type:n.type,external:true};let a=chunkXPBKJQTG_cjs.N(n),o=a.mode==="Internal"&&a.target.ok?a.target.partName:void 0;return {type:n.type,external:false,...o?{target:o}:{}}},contentType:r=>chunkXPBKJQTG_cjs.yg(e,r)??void 0,bytes:r=>yn(e,r)}}function Es(e){return {kind:e.kind,categories:e.categories.map((t,r)=>({label:t,source:r})),series:e.series.map((t,r)=>({name:t.name,values:e.categories.map((n,a)=>{let o=t.val?.values[a],s=o===void 0||o.trim()===""?NaN:Number(o);return Number.isFinite(s)?s:null}),source:r}))}}function Ns(e,t,r){let n=fn(e,t.chartSpace);if(n.state!=="embedded")return n.state;let a=n.part?e.bytes(n.part):void 0;if(!a||!r.layout)return "kept";try{let o=rn(r,Es(r));return pn(a,o,r.layout)?"embedded":"kept"}catch{return "kept"}}function Vu(e,t){let r=et(t.chartSpace);if(!r.ok)return r;let n=ws(e,t.part);return {ok:true,data:{...Es(r.model),workbook:Ns(n,t,r.model)}}}var Gu=e=>Ps(e.chartSpace);function Ku(e){let t=et(e.chartSpace);return t.ok?{editable:true}:{editable:false,reason:t.reason}}function hc(e){let t=U(e,"c:externalData");if(!t)return e;let r={id:"",kind:"generic",namespaceUri:w.c,localName:"autoUpdate",prefix:"c",namespaceBindings:[],attributes:[Ae("val","0")],children:[]},n=t.children.some(o=>o.kind!=="textValue"&&o.localName==="autoUpdate"),a={...t,children:n?t.children.map(o=>o.kind!=="textValue"&&o.localName==="autoUpdate"?r:o):[r,...t.children]};return {...e,children:e.children.map(o=>o===t?a:o)}}function Yu(e,t,r){let n=et(t.chartSpace);if(!n.ok)throw new P(n.reason);let a=rn(n.model,r),o=as(t.chartSpace,a),s=ws(e,t.part),l=fn(s,t.chartSpace);if(l.state==="external"&&(o=hc(o)),l.state==="embedded"&&l.part&&n.model.layout){let i=s.bytes(l.part),d=i?pn(i,a,n.model.layout):void 0;if(d)return {chartSpace:o,workbook:{part:l.part,bytes:d}};if(Ns(s,t,n.model)==="embedded")throw new P("chart.errors.workbook")}return {chartSpace:o}}var gc="application/vnd.openxmlformats-officedocument.drawingml.chart+xml",xn=gc,kn="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",mr="application/vnd.openxmlformats-officedocument.spreadsheetml",yc="application/vnd.openxmlformats-package.relationships+xml",_e="http://schemas.openxmlformats.org/officeDocument/2006/relationships",fr="http://schemas.openxmlformats.org/spreadsheetml/2006/main",Ts="http://schemas.openxmlformats.org/package/2006/relationships",Ds=`${_e}/package`,he=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
4
+ `,pr="Sheet1";function Fs(e){let t=["Category 1","Category 2","Category 3","Category 4"];return e==="pie"||e==="doughnut"?{categories:t,series:[{name:"Series 1",values:[8.2,3.2,1.4,1.2]}]}:{categories:Rt(e)==="xy"?["1","2","3","4"]:t,series:[{name:"Series 1",values:[4.3,2.5,3.5,4.5]},{name:"Series 2",values:[2.4,4.4,1.8,2.8]},{name:"Series 3",values:[2,2,3,5]}]}}var xc=e=>e.trim()!==""&&Number.isFinite(Number(e));function Ls(e,t){if(!e||typeof e!="object")throw new P("chart.errors.unsupported","data");let{categories:r,series:n}=e;if(!Array.isArray(r)||!Array.isArray(n))throw new P("chart.errors.unsupported","data");if(r.length===0||n.length===0)throw new P("chart.errors.empty");if(r.length>Me||n.length>kt)throw new P("chart.errors.tooLarge");let a=l=>{if(typeof l!="string"||l.length>qe||!chunkXPBKJQTG_cjs.X(l))throw new P("chart.errors.invalidText");return l},o=r.map(a);if(t&&!o.every(xc))throw new P("chart.errors.notNumber");let s=n.map(l=>{if(!l||typeof l!="object"||!Array.isArray(l.values))throw new P("chart.errors.unsupported","series");if(l.values.length!==o.length)throw new P("chart.errors.unsupported","values");let i=l.values.map(d=>{if(d===null)return null;if(typeof d!="number"||!Number.isFinite(d))throw new P("chart.errors.notNumber");return d});return {name:a(l.name),values:i}});return {categories:o,series:s}}var Is=(e,t)=>`<c:strRef><c:f>${chunkXPBKJQTG_cjs.V(e)}</c:f><c:strCache><c:ptCount val="${t.length}"/>${t.map((r,n)=>`<c:pt idx="${n}"><c:v>${chunkXPBKJQTG_cjs.V(r)}</c:v></c:pt>`).join("")}</c:strCache></c:strRef>`,As=(e,t)=>`<c:numRef><c:f>${chunkXPBKJQTG_cjs.V(e)}</c:f><c:numCache><c:formatCode>General</c:formatCode><c:ptCount val="${t.length}"/>${t.map((r,n)=>r===null?"":`<c:pt idx="${n}"><c:v>${r}</c:v></c:pt>`).join("")}</c:numCache></c:numRef>`,Ms=(e=1197)=>`<c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr><a:defRPr sz="${e}" b="0" i="0" u="none" strike="noStrike" baseline="0"><a:solidFill><a:schemeClr val="tx1"><a:lumMod val="65000"/><a:lumOff val="35000"/></a:schemeClr></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:pPr><a:endParaRPr lang="en-US"/></a:p></c:txPr>`;function _s(e,t,r){let n=Rt(e)==="xy",a=t.categories.length,o=ue(pr,1,2,1,a+1),s=n?As(o,t.categories.map(Number)):Is(o,t.categories),l=t.series.map((g,y)=>{let k=y+2;return `<c:ser><c:idx val="${y}"/><c:order val="${y}"/><c:tx>${Is(ue(pr,k,1,k,1),[g.name])}</c:tx><c:invertIfNegative val="0"/><c:cat>${s}</c:cat><c:val>${As(ue(pr,k,2,k,a+1),g.values)}</c:val></c:ser>`}).join(""),i=["500000001","500000002"],d=`<c:chartSpace xmlns:c="${w.c}" xmlns:a="${w.a}" xmlns:r="${w.r}"><c:date1904 val="0"/><c:lang val="en-US"/><c:roundedCorners val="0"/><c:chart><c:autoTitleDeleted val="1"/><c:plotArea><c:layout/><c:barChart><c:barDir val="col"/><c:grouping val="clustered"/><c:varyColors val="0"/>${l}<c:gapWidth val="219"/><c:overlap val="-27"/><c:axId val="${i[0]}"/><c:axId val="${i[1]}"/></c:barChart>${ln("columnClustered",i)}<c:spPr><a:noFill/><a:ln><a:noFill/></a:ln></c:spPr></c:plotArea><c:legend><c:legendPos val="b"/><c:overlay val="0"/><c:spPr><a:noFill/><a:ln><a:noFill/></a:ln></c:spPr>${Ms()}</c:legend><c:plotVisOnly val="1"/><c:dispBlanksAs val="gap"/></c:chart><c:spPr><a:noFill/><a:ln><a:noFill/></a:ln></c:spPr>${Ms(1e3)}<c:externalData r:id="${chunkXPBKJQTG_cjs.W(r)}"><c:autoUpdate val="0"/></c:externalData></c:chartSpace>`;if(e==="columnClustered")return `${he}${d}`;let c=Qe("/word/charts/chart.xml",d);if(!c.ok)throw new P("chart.errors.unsupported","template");let u=c.part.root,f=E(u,"chart"),m=E(E(f,"plotArea"),"barChart"),h=K(u,f,ir(f,m,e));return `${he}${Kt("/word/charts/chart.xml",h)}`}function $s(e,t){let r=[],n=u=>{let f=r.indexOf(u);return f>=0?f:r.push(u)-1},a=(u,f)=>`${ae(u)}${f}`,o=(u,f,m)=>`<c r="${a(u,f)}" t="s"><v>${n(m)}</v></c>`,s=(u,f,m)=>m===null?"":`<c r="${a(u,f)}"><v>${m}</v></c>`,l=e.series.length+1,i=[`<row r="1">${e.series.map((u,f)=>o(f+2,1,u.name)).join("")}</row>`];e.categories.forEach((u,f)=>{let m=f+2,h=t?s(1,m,Number(u)):o(1,m,u);i.push(`<row r="${m}">${h}${e.series.map((g,y)=>s(y+2,m,g.values[f]??null)).join("")}</row>`);});let d=u=>new TextEncoder().encode(u),c=new Map([["/[Content_Types].xml",d(`${he}<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="${yc}"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="${mr}.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="${mr}.worksheet+xml"/><Override PartName="/xl/styles.xml" ContentType="${mr}.styles+xml"/><Override PartName="/xl/sharedStrings.xml" ContentType="${mr}.sharedStrings+xml"/></Types>`)],["/_rels/.rels",d(`${he}<Relationships xmlns="${Ts}"><Relationship Id="rId1" Type="${_e}/officeDocument" Target="xl/workbook.xml"/></Relationships>`)],["/xl/workbook.xml",d(`${he}<workbook xmlns="${fr}" xmlns:r="${_e}"><bookViews><workbookView xWindow="0" yWindow="0" windowWidth="16000" windowHeight="9000"/></bookViews><sheets><sheet name="${pr}" sheetId="1" r:id="rId1"/></sheets></workbook>`)],["/xl/_rels/workbook.xml.rels",d(`${he}<Relationships xmlns="${Ts}"><Relationship Id="rId1" Type="${_e}/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId2" Type="${_e}/styles" Target="styles.xml"/><Relationship Id="rId3" Type="${_e}/sharedStrings" Target="sharedStrings.xml"/></Relationships>`)],["/xl/styles.xml",d(`${he}<styleSheet xmlns="${fr}"><fonts count="1"><font><sz val="11"/><name val="Calibri"/><family val="2"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs><cellXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles><dxfs count="0"/><tableStyles count="0"/></styleSheet>`)],["/xl/worksheets/sheet1.xml",d(`${he}<worksheet xmlns="${fr}" xmlns:r="${_e}"><dimension ref="A1:${a(l,e.categories.length+1)}"/><sheetViews><sheetView workbookViewId="0"/></sheetViews><sheetFormatPr defaultRowHeight="15"/><sheetData>${i.join("")}</sheetData><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/></worksheet>`)]]);return c.set("/xl/sharedStrings.xml",d(`${he}<sst xmlns="${fr}" count="${r.length}" uniqueCount="${r.length}">${r.map(u=>`<si><t xml:space="preserve">${chunkXPBKJQTG_cjs.V(u)}</t></si>`).join("")}</sst>`)),chunkXPBKJQTG_cjs.df(c)}function kc(e,t,r){let n=new Set,a=i=>{if(n.add(i.id),i.kind!=="textValue")for(let d of i.children)a(d);};a(t);let o=new Set,s=(i,d)=>{let c=!d&&i.id!==""&&n.has(i.id)&&!o.has(i.id),u=c?i.id:r();if(o.add(u),i.kind==="textValue")return u===i.id?i:{...i,id:u};let f=i.children.map(h=>s(h,!c));return u===i.id&&f.every((h,g)=>h===i.children[g])?i:{...i,id:u,children:f}},l=e.children.map(i=>s(i,false));return {...e,id:t.id,children:l}}function Bs(e,t,r){let n=e.parts.get(t);if(!n)throw new P("chart.errors.noChart");let a=kc(r,n.root,chunkXPBKJQTG_cjs.cb(n)),o=chunkXPBKJQTG_cjs.kb(n,n.root.id,a);if(!o.ok)throw new P("chart.errors.invalidText");return chunkXPBKJQTG_cjs.vg(e,o.part)}var Hs=(e,t,r)=>chunkXPBKJQTG_cjs.fg(e,t,r,kn);function bc(e,t){let r=chunkXPBKJQTG_cjs.C(t);for(let n of [e.parts,e.partBytes])for(let a of n.keys()){let o=chunkXPBKJQTG_cjs.z(a.startsWith("/")?a:`/${a}`);if(o.ok&&chunkXPBKJQTG_cjs.C(o.partName)===r)return true}return false}function hr(e,t,r,n,a){for(let o of chunkXPBKJQTG_cjs.Mb(Number.MAX_SAFE_INTEGER,n)){let s=`${t}${o}${r}`;if(!a?.has(chunkXPBKJQTG_cjs.C(s))&&!bc(e,s))return s}throw new P("chart.errors.unsupported","partName")}function Tt(e,t){let r=e.split("/").slice(1,-1),n=t.split("/").slice(1),a=0;for(;a<r.length&&a<n.length-1&&r[a]===n[a];)a+=1;return [...r.slice(a).map(()=>".."),...n.slice(a)].join("/")}function js(e,t,r,n,a){if(!or(r))throw new P("chart.errors.unsupported","chartType");let o=Rt(r)==="xy",s=Ls(n??Fs(r),o),l=hr(e,"/word/charts/chart",".xml",a),i=hr(e,"/word/embeddings/Workbook",".xlsx",a),d=chunkXPBKJQTG_cjs.fg(e,i,$s(s,o),kn),c=chunkXPBKJQTG_cjs.Eg(chunkXPBKJQTG_cjs.Dg(d,l),l,Ds,Tt(l,i));if(!c.ok)throw new P("chart.errors.unsupported","relationship");d=c.pkg;let u=chunkXPBKJQTG_cjs.Pa(_s(r,s,c.relationshipId),{name:l,contentType:xn});if(!u.ok)throw new P("chart.errors.unsupported","template");let f=chunkXPBKJQTG_cjs.Fg(d,l,u.part.root,xn);if(f===d)throw new P("chart.errors.unsupported","partName");let m=chunkXPBKJQTG_cjs.Eg(chunkXPBKJQTG_cjs.Dg(f,t),t,Nt,Tt(t,l));if(!m.ok)throw new P("chart.errors.unsupported","relationship");return {pkg:m.pkg,chartPart:l,workbookPart:i,relationshipId:m.relationshipId}}var Us=12700;function Xs(e){let t=Math.max(1,Math.round(e.widthPoints*Us)),r=Math.max(1,Math.round(e.heightPoints*Us)),n=`<w:document xmlns:w="${chunkXPBKJQTG_cjs.pa}" xmlns:wp="${chunkXPBKJQTG_cjs.wa}" xmlns:a="${chunkXPBKJQTG_cjs.va}"><w:body><w:p><w:r><w:drawing><wp:inline distT="0" distB="0" distL="0" distR="0"><wp:extent cx="${t}" cy="${r}"/><wp:effectExtent l="0" t="0" r="0" b="0"/><wp:docPr id="${e.docPrId}" name="${chunkXPBKJQTG_cjs.W(e.name)}"/><wp:cNvGraphicFramePr/><a:graphic><a:graphicData uri="${chunkXPBKJQTG_cjs.xe}"><c:chart xmlns:c="${chunkXPBKJQTG_cjs.xe}" xmlns:r="${chunkXPBKJQTG_cjs.ya}" r:id="${chunkXPBKJQTG_cjs.W(e.relationshipId)}"/></a:graphicData></a:graphic></wp:inline></w:drawing></w:r></w:p></w:body></w:document>`,a=chunkXPBKJQTG_cjs.Pa(n,{name:"/word/document.xml",contentType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"});if(!a.ok)throw new P("chart.errors.unsupported","drawing");let o=l=>{if(l.kind==="textValue")return null;if(l.kind==="drawing")return l;for(let i of l.children){let d=o(i);if(d)return d}return null},s=o(a.part.root);if(!s)throw new P("chart.errors.unsupported","drawing");return s}var Pc=16,vc=3;function Sc(e){let t=e.lastIndexOf("/"),r=e.lastIndexOf("."),n=r>t?e.slice(r):"";return {stem:e.slice(0,e.length-n.length).replace(/\d+$/,""),ext:n}}function Cc(e,t,r){let n=(e.relationships.get(t)??[]).find(o=>o.id===r);if(!n)return null;if(n.targetMode==="External")return "external";let a=chunkXPBKJQTG_cjs.N(n);return a.mode==="Internal"&&a.target.ok?{type:n.type,partName:a.target.partName}:null}function Rc(e,t){let r=e.parts.get(t);if(r)return r;let n=chunkXPBKJQTG_cjs.C(t);for(let[a,o]of e.parts)if(chunkXPBKJQTG_cjs.C(a.startsWith("/")?a:`/${a}`)===n)return o}function Oc(e,t,r){let n=o=>{let s=false,l=o.attributes.map(c=>{if(c.namespaceUri!==chunkXPBKJQTG_cjs.ya)return c;let u=t.get(c.value);return u!==void 0?(s=true,{...c,value:u}):c});if(o.attributes.some(c=>c.namespaceUri===chunkXPBKJQTG_cjs.ya&&r.has(c.value))){if(o.namespaceUri===chunkXPBKJQTG_cjs.ye&&o.localName==="externalData")return null;throw new P("chart.errors.unsupported","externalRelationship")}let d=[];for(let c of o.children){if(c.kind==="textValue"){d.push(c);continue}let u=n(c);u!==c&&(s=true),u&&d.push(u);}return s?{...o,attributes:l,children:d}:o},a=n(e);if(!a)throw new P("chart.errors.unsupported","externalRelationship");return a}function Ws(e,t,r,n,a){let o=e,s=new Map,l=new Set,i=[],d=(f,m)=>{let h=s.get(chunkXPBKJQTG_cjs.C(f));if(h)return h;if(m>vc||s.size>=Pc)throw new P("chart.errors.unsupported","parts");let g=chunkXPBKJQTG_cjs.yg(r,f);if(!g)throw new P("chart.errors.unsupported","contentType");let{stem:y,ext:k}=Sc(f),C=hr(o,y,k,a,l);s.set(chunkXPBKJQTG_cjs.C(f),C),l.add(chunkXPBKJQTG_cjs.C(C)),i.push(C);let N=r.relationships.get(f)??[],O=Rc(r,f);if(!O){let J=yn(r,f);if(!J||N.length>0)throw new P("chart.errors.unsupported","part");return o=chunkXPBKJQTG_cjs.fg(o,C,J,g),C}let R=new Map,F=new Set;for(let J of N){let V=Cc(r,f,J.id);if(V==="external"||V===null){F.add(J.id);continue}let Rr=d(V.partName,m+1),it=chunkXPBKJQTG_cjs.Eg(chunkXPBKJQTG_cjs.Dg(o,C),C,V.type,Tt(C,Rr));if(!it.ok)throw new P("chart.errors.unsupported","relationship");o=it.pkg,R.set(J.id,it.relationshipId);}let $=chunkXPBKJQTG_cjs.Pa(chunkXPBKJQTG_cjs.Ha(O),{name:C,contentType:g});if(!$.ok)throw new P("chart.errors.unsupported","part");let L=Oc($.part.root,R,F),ie=chunkXPBKJQTG_cjs.Fg(o,C,L,g);if(ie===o)throw new P("chart.errors.unsupported","partName");return o=ie,C},c=d(n,0),u=chunkXPBKJQTG_cjs.Eg(chunkXPBKJQTG_cjs.Dg(o,t),t,Nt,Tt(t,c));if(!u.ok)throw new P("chart.errors.unsupported","relationship");return {pkg:u.pkg,chartPart:c,parts:i,relationshipId:u.relationshipId}}function zs(e,t,r){if(!hn(e))throw new P("chart.errors.noChart");let n=false,a=s=>{if(s.namespaceUri===chunkXPBKJQTG_cjs.va&&(s.localName==="hlinkClick"||s.localName==="hlinkHover"))return null;let l=s.namespaceUri===chunkXPBKJQTG_cjs.ye&&s.localName==="chart",i=s.namespaceUri===chunkXPBKJQTG_cjs.wa&&s.localName==="docPr",d=s.attributes.map(u=>{if(l&&u.namespaceUri===chunkXPBKJQTG_cjs.ya)return u.localName!=="id"?u:(n=true,{...u,value:t});if(u.namespaceUri===chunkXPBKJQTG_cjs.ya)throw new P("chart.errors.unsupported","relationship");return i&&u.namespaceUri===""&&u.localName==="id"?{...u,value:String(r)}:u}),c=[];for(let u of s.children)if(u.kind==="textValue")c.push(u);else {let f=a(u);f&&c.push(f);}return {...s,attributes:d,children:c}};if(e.kind==="textValue")throw new P("chart.errors.noChart");let o=a(e);if(!o||!n)throw new P("chart.errors.noChart");return o}var bn=e=>e instanceof P?{ok:false,reason:"chart",detail:e.reason}:null;function wc(e,t,r){let n=null,a={...r.expectedPackageRevision!==void 0?{expectedPackageRevision:r.expectedPackageRevision}:{},...r.actorId?{actorId:r.actorId}:{}},o=chunkNPPHSBFT_cjs.R(e,t,(s,l)=>{try{let i=js(e.currentPackage(),l,r.chartType,r.data,r.actorId),d=chunkXPBKJQTG_cjs.cg(i.pkg);if(!d.ok||!s.applyPackage(()=>i.pkg))return null;let c=Xs({docPrId:d.id,relationshipId:i.relationshipId,name:r.name.replaceAll("{number}",String(d.id)),widthPoints:r.widthPoints,heightPoints:r.heightPoints});return s.apply({op:"insertDrawing",...r.bias?{bias:r.bias}:{},paragraphId:r.paragraphId,offset:r.offset,drawing:c})?c.id:null}catch(i){if(n=bn(i),n)return null;throw i}},a);return n??o}function Ec(e,t,r){let n=e.parts.get(t);if(!n)return null;let a=chunkXPBKJQTG_cjs.wn(n,r),o=a?a.chartDrawing:chunkXPBKJQTG_cjs.eb(n,r);return o?gn(e,t,o):null}function Nc(e,t,r,n,a){let o=null,s=chunkNPPHSBFT_cjs.R(e,t,(l,i)=>{try{let d=e.currentPackage(),c=Ec(d,i,r);if(!c)throw new P("chart.errors.noChart");let u=n(d,c),f=Bs(d,c.part,u.chartSpace);return u.workbook&&(f=Hs(f,u.workbook.part,u.workbook.bytes)),l.applyPackage(()=>f)?r:null}catch(d){if(o=bn(d),o)return null;throw d}},a?.actorId?{actorId:a.actorId}:void 0);return o??s}function Tc(e,t,r){let n=null,a={...r.expectedPackageRevision!==void 0?{expectedPackageRevision:r.expectedPackageRevision}:{},...r.actorId?{actorId:r.actorId}:{}},o=chunkNPPHSBFT_cjs.R(e,t,(s,l)=>{try{let{source:i}=r,d=gn(i.pkg,i.ownerPart,i.drawing);if(!d)throw new P("chart.errors.noChart");let c=Ws(e.currentPackage(),l,i.pkg,d.part,r.actorId),u=chunkXPBKJQTG_cjs.cg(c.pkg,r.actorId);if(!u.ok)return null;if(i.drawing.kind!=="drawing")throw new P("chart.errors.noChart");let f=zs(i.drawing,c.relationshipId,u.id);if(!s.applyPackage(()=>c.pkg))return null;for(let m of r.priorOps??[])if(!s.apply(m))return null;return s.apply({op:"insertDrawing",...r.bias?{bias:r.bias}:{},paragraphId:r.paragraphId,offset:r.offset,drawing:f})?f.id:null}catch(i){if(n=bn(i),n)return null;throw i}},a);return n??o}var Vs=e=>({insert:(t,r)=>wc(e,t,r),duplicate:(t,r)=>Tc(e,t,r),edit:(t,r,n,a)=>Nc(e,t,r,n,a)});var Ic=8*1024*1024;function Gs(){let e=new WeakMap;function*t(n){let a=e.get(n);if(a)return a.slice();let o=yield*chunkXPBKJQTG_cjs.tg(n);return e=new WeakMap,o.byteLength<=Ic&&e.set(n,o.slice()),o}return Object.assign(n=>{let a=t(n);for(;;){let o=a.next();if(o.done)return o.value}},{steps:t})}function Ys(e){return oe(e).map(t=>chunkXPBKJQTG_cjs.Nm(e,t.id)??"").join(`
5
+ `)}var Ac=64,Ks=new WeakMap;function Pn(e,t=0){if(t>Ac)return false;let r=Ks.get(e);if(r!==void 0)return r;let n=false;for(let a of e.children)if(a.kind!=="textValue"&&(a.kind==="commentRangeStart"||a.kind==="commentReference"||Pn(a,t+1))){n=true;break}return chunkXPBKJQTG_cjs.rb(e)&&Ks.set(e,n),n}var Mc="/word/numbering.xml";function Sn(e,t,r){if(e.relationships!==t.relationships||e.contentTypes!==t.contentTypes||e.parts.size!==t.parts.size)return false;for(let[n,a]of t.parts)if(!(n===r||n===Mc)&&e.parts.get(n)!==a)return false;return true}function Dc(e,t){let r=e.kind==="revision"?e.ranges[0]??null:e.range;if(!r)return null;let n=t.get(r.start.paragraphId);return n===void 0?null:n}function gr(e,t,r,n){for(let s of t)if(s.ranges.length===0)return false;let a=new Set;for(let s of e)s.kind!=="revision"||s.ranges.length>0||vn(s,r)||a.add(chunkXPBKJQTG_cjs.ql(s));for(let s of t)if(a.has(chunkXPBKJQTG_cjs.ql(s)))return false;let o=new Set(t.flatMap(s=>chunkXPBKJQTG_cjs.pl(s)));for(let s of e)if(s.kind==="revision"&&vn(s,r)&&chunkXPBKJQTG_cjs.pl(s).some(l=>!o.has(l)&&chunkXPBKJQTG_cjs.eb(n,l)))return false;return true}function yr(e,t,r,n,a=s=>s,o){let s=o?Fc(e,o,r):new Map;if(!s)return null;let l=t.get(r);if(l===void 0)return n.length===0?e:null;let i=[],d=null,{groups:c,absorbed:u}=Lc(e,t,r,n),f=a(u.size>0?n.filter(h=>!u.has(h)):n);for(let h of e){let g=h.kind==="revision"&&c.get(h)||h.kind==="comment"&&s.get(h)||h;if(g.kind==="revision"&&vn(g,r)){d===null&&(d=i.length);continue}if(d===null){let y=Dc(g,t);y!==null&&y>l&&(d=i.length);}i.push(g);}if(d===null&&(d=i.length),f.length>0){let h=f.length<2?[...f]:[...f].sort((g,y)=>chunkXPBKJQTG_cjs.xl(g,t)-chunkXPBKJQTG_cjs.xl(y,t));i.splice(d,0,...h);}if(c.size>0||s.size>0){let h=[];i.forEach((y,k)=>{(y.kind==="revision"?y.ranges[0]?.start:y.range?.start)?.paragraphId===r&&h.push(k);});let g=h.map(y=>i[y]).sort((y,k)=>chunkXPBKJQTG_cjs.xl(y,t)-chunkXPBKJQTG_cjs.xl(k,t));h.forEach((y,k)=>i[y]=g[k]);}let m=chunkXPBKJQTG_cjs.km(i);return m.length===e.length&&m.every((h,g)=>h===e[g])?e:m}function Fc(e,t,r){let n=new Map,a;for(let o of e){if(o.kind!=="comment"||!xr(o,r))continue;let s=o.range;if(!s||o.orphaned)return null;if(!a){let c=chunkXPBKJQTG_cjs.eb(t,r);if(!c||c.kind!=="paragraph")return null;a=chunkXPBKJQTG_cjs.Tj(c);}let l=c=>{let u=a.filter(f=>f.commentId===o.id&&f.kind===c);return u.length===1?u[0].offset:void 0},i=s.start.paragraphId===r?l("start"):s.start.offset,d=s.end.paragraphId===r?l("end"):s.end.offset;if(i===void 0||d===void 0)return null;i===s.start.offset&&d===s.end.offset||n.set(o,{...o,range:{...s,start:{...s.start,offset:i},end:{...s.end,offset:d}}});}return n}function vn(e,t){return e.ranges.length>0&&e.ranges.every(r=>r.start.paragraphId===t&&r.end.paragraphId===t)}function Qs(e){return e.revisionKind==="format"&&e.formattingKind==="pPrChange"}function Lc(e,t,r,n){let a=new Map,o=new Set,s=new Map;for(let l of e)if(l.kind==="revision"&&Qs(l)&&kr(l,r))for(let i of chunkXPBKJQTG_cjs.pl(l))s.set(i,l);if(s.size===0)return {groups:a,absorbed:o};for(let l of n){let i=chunkXPBKJQTG_cjs.pl(l),d=i.length>0?s.get(i[0]):void 0;if(!d||!i.every(f=>s.get(f)===d))continue;o.add(l);let c=a.get(d)??d,u=[...c.ranges.filter(f=>f.start.paragraphId!==r),...l.ranges].sort((f,m)=>(t.get(f.start.paragraphId)??0)-(t.get(m.start.paragraphId)??0)||f.start.offset-m.start.offset);a.set(d,chunkXPBKJQTG_cjs.ol({...c,ranges:u},chunkXPBKJQTG_cjs.pl(d)));}return {groups:a,absorbed:o}}function xr(e,t){return e.range?e.range.start.paragraphId===t||e.range.end.paragraphId===t:false}function Cn(e,t){return e.revisionKind==="structural"&&e.ranges.some(r=>r.start.paragraphId===t||r.end.paragraphId===t)}function kr(e,t){return e.ranges.length===0||!e.ranges.some(n=>n.start.paragraphId===t||n.end.paragraphId===t)?false:!e.ranges.every(n=>n.start.paragraphId===t&&n.end.paragraphId===t)}function br(e,t,r){return e.fromRevision!==t.bodyRevision||r.currentPackageRevision!==t.packageRevision+1&&(r.changePackage!==r.currentPackage||!Sn(t.pkg,r.currentPackage,r.part.name))||e.story!==void 0&&e.story.kind!=="body"||e.impact==="global"?false:t.commentsPart===r.commentsPart&&t.commentsExtendedPart===r.commentsExtendedPart}function _c(e,t){let r=chunkXPBKJQTG_cjs.fb(e,t);if(!r)return;let n=r.children.findIndex(c=>c.id===t);if(r.kind!=="tableCell"||r.children.slice(0,n).some(Zs)){let c=Js(r.children,n);return c?.kind==="paragraph"?c:void 0}let a=chunkXPBKJQTG_cjs.fb(e,r.id);if(!a)return;let o=a.children.filter(c=>c.kind==="tableCell"),s=o.indexOf(r);if(s>0){let c=o[s-1],u=c.kind==="textValue"?void 0:c.children.filter(Zs).at(-1);return u?.kind==="paragraph"?u:void 0}let l=chunkXPBKJQTG_cjs.fb(e,a.id);if(!l||l.children.find(c=>c.kind==="tableRow")!==a)return;let i=chunkXPBKJQTG_cjs.fb(e,l.id);if(!i)return;let d=Js(i.children,i.children.findIndex(c=>c.id===l.id));return d?.kind==="paragraph"?d:void 0}function Js(e,t){for(let r=t-1;r>=0;r-=1){let n=e[r];if(n.kind!=="textValue"&&!chunkXPBKJQTG_cjs.Dl(n))return n}}var Zs=e=>e.kind==="paragraph"||e.kind==="table"||e.kind==="generic"&&(e.localName==="sdt"||e.localName==="customXml");function Pr(e,t){let r=_c(e,t);return r!==void 0&&r.kind!=="textValue"&&chunkXPBKJQTG_cjs.Sl({...e,root:r}).some(n=>n.paragraphMark)}function qs(e,t,r,n){if(!br(e,t,n)||e.splitJoin.length!==1)return false;let a=e.splitJoin[0],o,s;if("split"in a){if(e.deleted.length>0||e.created.length!==1||e.created[0]!==a.split.tail)return false;o=s=[a.split.from,a.split.tail];}else {if(e.created.length>0||e.deleted.length!==1||e.deleted[0]!==a.join.removed)return false;o=[a.join.kept,a.join.removed],s=[a.join.kept];}for(let i of s){let d=chunkXPBKJQTG_cjs.eb(n.part,i);if(!d||d.kind!=="paragraph"||chunkXPBKJQTG_cjs.Sl({...n.part,root:d}).length>0)return false}if(Pr(n.part,s[0]))return false;let l=i=>i!==void 0&&o.includes(i);for(let i of r){let d=i.kind==="revision"?i.ranges:i.range?[i.range]:[];for(let c of d)if(l(c.start.paragraphId)||l(c.end.paragraphId))return false}return true}function Rn(e,t,r){let n=chunkXPBKJQTG_cjs.sc(r);if(n.length===0)return false;let a=e.parts.get(t.name),o=a?chunkXPBKJQTG_cjs.eb(a,r.id):null;if(!o)return true;let s=new Set(chunkXPBKJQTG_cjs.sc(o).map(l=>l.node));return n.some(l=>!s.has(l.node))}function On(e,t,r){let n=new Set(r.flatMap(a=>a.kind==="custom"?[a.id]:[]));if(n.size===0)return false;for(let a=chunkXPBKJQTG_cjs.fb(e,t);a;a=chunkXPBKJQTG_cjs.fb(e,a.id))if(a.kind==="contentControl"&&n.has(a.id))return true;return false}function ei(e,t,r,n){if(!br(e,t,n)||e.dirty.length!==1||e.created.length>0||e.deleted.length>0||e.splitJoin.length>0)return null;let{part:a}=n,o=e.dirty[0],s=chunkXPBKJQTG_cjs.eb(a,o);if(!s||s.kind!=="paragraph"||e.impact!=="text-local"&&(chunkXPBKJQTG_cjs.Sl({...a,root:s}).length>0||e.impact==="flow-structural"&&chunkXPBKJQTG_cjs.fb(a,o)?.localName!=="body")||Rn(t.pkg,a,s)||On(a,o,r)||Pr(a,o))return null;for(let l of r){if(l.kind==="comment"){if(xr(l,o)&&e.impact!=="text-local")return null;continue}if(l.kind==="custom"){if(l.range?.start.paragraphId===o)return null;continue}if(Cn(l,o)||kr(l,o)&&!(e.impact==="text-local"&&Qs(l)))return null}return o}var $c=4;function ti(e){let t=e.root.children.find(r=>r.kind==="body");return t&&t.kind!=="textValue"?t:void 0}function ri(e){return e.children.find(t=>t.kind!=="textValue"&&t.namespaceUri===chunkXPBKJQTG_cjs.pa&&t.localName==="pPr")}function Uc(e,t,r,n){let a=new Map(chunkXPBKJQTG_cjs.Sl({...e,root:t}).map(s=>[s.node.id,s.node])),o=chunkXPBKJQTG_cjs.Sl({...r,root:n});return o.length>=a.size||!o.every(s=>a.get(s.node.id)===s.node)?false:o.length===0||ri(t)===ri(n)}function ni(e,t){return chunkXPBKJQTG_cjs.Sl({...e,root:t}).some(r=>r.paragraphMark)}function Bc(e,t,r){if(!br(e,t,r)||!Sn(t.pkg,r.currentPackage,r.part.name)||e.created.length>0||e.deleted.length>0||e.splitJoin.length>0)return null;let n=t.pkg.parts.get(r.part.name),a=n&&ti(n),o=ti(r.part);if(!n||!a||!o||a.children.length!==o.children.length)return null;let s=[];for(let[l,i]of o.children.entries()){let d=a.children[l];if(i!==d){if(s.length>=$c||i.kind!=="paragraph"||d.kind!=="paragraph"||i.id!==d.id||!Uc(n,d,r.part,i)||ni(n,d)||ni(r.part,i)||Pr(r.part,i.id)||Rn(t.pkg,r.part,i)||On(r.part,i.id,t.items))return null;s.push(i.id);}}if(s.length===0)return null;for(let l of t.items)for(let i of s)if(l.kind==="comment"){if(xr(l,i))return null}else if(l.kind==="custom"){if(l.range?.start.paragraphId===i)return null}else if(Cn(l,i)||kr(l,i))return null;return s}function oi(e,t,r,n,a){if(!e||!t||!n.sameFilter)return null;let o=Bc(e,t,r);if(!o)return null;let s=t.paragraphOrder??chunkXPBKJQTG_cjs.Vk(r.part),l=t.items;for(let i of o){if(!n.patchable(i))return null;let d=a.revisionItemsOfParagraph(r.part,i);if(!gr(l,d,i,r.part))return null;let c=yr(l,s,i,d,n.filtered,r.part);if(!c)return null;l=c;}return {items:l,paragraphOrder:s}}function Hc(e,t){if(e.size!==t.size)return false;for(let[r,n]of e){let a=t.get(r);if(!a||a.nodeId!==n.nodeId||a.label!==n.label||a.data!==n.data)return false}return true}function jc(e,t){return e.root===t.root&&e.commentsPart===t.commentsPart&&e.commentsExtendedPart===t.commentsExtendedPart&&e.stylesPart===t.stylesPart&&e.numberingRoot===t.numberingRoot&&e.furnitureParts.length===t.furnitureParts.length&&e.furnitureParts.every((r,n)=>r===t.furnitureParts[n])&&Hc(e.customNodePayloads,t.customNodePayloads)}function ai(){let e=[];return {get(t){let r=e.findIndex(a=>jc(a.inputs,t));if(r<0)return;let[n]=e.splice(r,1);return e.unshift(n),n.items},set(t,r){let n=e.findIndex(a=>a.inputs.root===t.root);n>=0&&e.splice(n,1),e.unshift({inputs:t,items:r}),e.length>8&&(e.length=8);}}}var li=new WeakMap;function ef(e,t){return li.set(e,t),e}function Xc(e){return e?li.get(e):void 0}var ot=new WeakMap,ci={sites:new Set,paragraphs:new Map,key:"",spanning:new Set};function Wc(e){return ot.get(e)??ci}function zc(e){return e.kind==="revision"&&e.revisionKind==="format"&&(e.formattingKind==="pPrChange"||e.formattingKind==="rPrChange")}function si(e,t){if(e.size!==t.size)return false;for(let r of t)if(!e.has(r))return false;return true}function Vc(e,t){if(e.size!==t.size)return false;for(let[r,n]of t)if(e.get(r)!==n)return false;return true}function ii(e,t){return e.key===t.key&&si(e.sites,t.sites)&&Vc(e.paragraphs,t.paragraphs)&&si(e.spanning,t.spanning)?e:t}function di(e,t,r,n){let a=Xc(e),o={pkg:t,stylesRoot:r.stylesPart?.root??null,numberingRoot:r.numberingRoot},s=n?Wc(n.items):ci,l=chunkUMDB6PEV_cjs.c(o.stylesRoot,o.numberingRoot),i=[],d=n!==null&&n.stylesPart===r.stylesPart&&(n.numberingRoot===r.numberingRoot||s.sites.size===0&&!n.items.some(zc));return {filtered:c=>{if(!a)return c;let u=a(c,o),f=new Set(u.map(h=>h.id)),m=chunkUMDB6PEV_cjs.a(c.filter(h=>!f.has(h.id)));return i.push({result:u,removed:m.sites,paragraphs:m.paragraphs,spanning:m.spanning,touched:chunkUMDB6PEV_cjs.b(c),kept:chunkUMDB6PEV_cjs.a(u).sites}),u},sameFilter:d,patchable:c=>d&&!s.spanning.has(c),publish:c=>{if(!a||ot.has(c)&&(i.length===0||c!==n?.items))return c;let u=i.at(-1);if(u?.result===c){let g={sites:new Set(u.removed),paragraphs:u.paragraphs,key:l,spanning:new Set(u.spanning)};return ot.set(c,ii(s,g)),c}if(!u)return ot.set(c,s.key===l?s:{...s,key:l}),c;if(s.key===l&&i.every(g=>g.removed.length===0&&!g.kept.some(y=>s.sites.has(y))))return ot.set(c,s),c;let f=new Set(s.sites),m=new Map(s.paragraphs),h=new Set(s.spanning);for(let g of i){for(let y of g.kept)f.delete(y);for(let y of g.removed)f.add(y);for(let y of g.touched)m.delete(y);for(let[y,k]of g.paragraphs)m.set(y,k);for(let y of g.touched)h.delete(y);for(let y of g.spanning)h.add(y);}return ot.set(c,ii(s,{sites:f,paragraphs:m,key:l,spanning:h})),c}}}var fi=/^[\p{L}\p{N}\p{M} \-.+_,;]{1,64}$/u,Gc=["ascii","hAnsi","cs","eastAsia"],Kc=["asciiTheme","hAnsiTheme","cstheme","eastAsiaTheme"],Yc=128,Jc=/[\u0000-\u001F\u007F-\u009F]/;function Y(e){return e.kind!=="textValue"}function $e(e,t){return e.attributes.find(r=>r.localName===t)?.value}function pi(e,t){let r=new Map;for(let a of e)for(let o of a.children)if(Y(o))for(let[s,l]of yi(o,t))r.has(s)||r.set(s,l);let n=[...r.values()];return n.sort((a,o)=>a<o?-1:a>o?1:0),vr.length===n.length&&vr.every((a,o)=>a===n[o])?vr:(vr=n,n)}var vr=[],wn=new WeakMap,hi=16,gi=32,at=new Map,Zc=64;function Qc(e,t){return e?.major===t?.major&&e?.minor===t?.minor&&e?.majorEastAsia===t?.majorEastAsia&&e?.minorEastAsia===t?.minorEastAsia&&e?.majorBidi===t?.majorBidi&&e?.minorBidi===t?.minorBidi}function qc(e,t){if(e===t)return true;if(!e||!t||e.size!==t.size)return false;for(let[r,n]of e)if(t.get(r)!==n)return false;return true}function ed(e,t,r){let n=e.children,a=at.get(e.id),o=a?.children.deref(),s=a!==void 0&&o!==void 0&&o.length===n.length&&Qc(a.themeFonts,t),l=s,i=n.map((c,u)=>{if(s&&c===o[u])return a.parts[u];let f=Y(c)?yi(c,t,r+1):null;return l&&!qc(f,a.parts[u])&&(l=false),f}),d;if(l)d=a.byFold;else {let c=new Map;for(let u of i)if(u)for(let[f,m]of u)c.has(f)||c.set(f,m);d=c;}return at.delete(e.id),at.set(e.id,{children:chunkXPBKJQTG_cjs.Ch(n),parts:i,byFold:d,themeFonts:t}),at.size>Zc&&at.delete(at.keys().next().value),d}function yi(e,t,r=0){let n=t?.major??null,a=t?.minor??null,o=t?.majorEastAsia??null,s=t?.minorEastAsia??null,l=t?.majorBidi??null,i=t?.minorBidi??null,d=wn.get(e);if(d&&d.major===n&&d.minor===a&&d.majorEastAsia===o&&d.minorEastAsia===s&&d.majorBidi===l&&d.minorBidi===i)return d.byFold;if(e.children.length>=hi&&r<gi&&e.localName!=="rFonts"){let m=ed(e,t,r);return wn.set(e,{major:n,minor:a,majorEastAsia:o,minorEastAsia:s,majorBidi:l,minorBidi:i,byFold:m}),m}let c=new Map,u=m=>{if(!m||!fi.test(m))return;let h=m.toLowerCase();c.has(h)||c.set(h,m);},f=[e];for(;f.length>0;){let m=f.pop();if(Y(m)){if(m.localName==="rFonts"){for(let h of Gc)u($e(m,h));if(t)for(let h of Kc)u(chunkXPBKJQTG_cjs.se($e(m,h),t));}for(let h=m.children.length-1;h>=0;h-=1)f.push(m.children[h]);}}return wn.set(e,{major:n,minor:a,majorEastAsia:o,minorEastAsia:s,majorBidi:l,minorBidi:i,byFold:c}),c}function xi(e){let t=new Map;for(let n of e)for(let a of n.children)if(Y(a))for(let[o,s]of In(a).all)t.has(o)||t.set(o,s);let r=[...t.values()];return r.sort((n,a)=>n<a?-1:n>a?1:0),r}function cf(e){let t=new Map;for(let r of e)for(let n of r.children)if(Y(n))for(let[a,o]of In(n).unmapped)t.has(a)||t.set(a,o);return [...t.values()]}var ui=new WeakMap,Tn=new Map,td={all:Tn,unmapped:Tn};function In(e,t=0){let r=ui.get(e);if(r)return r;let n=new Map,a=new Map,o=()=>{let i=n.size===0?td:{all:n,unmapped:a.size===0?Tn:a};return ui.set(e,i),i};if(e.children.length>=hi&&t<gi&&e.localName!=="sym"&&e.localName!=="r"){for(let i of e.children){if(!Y(i))continue;let d=In(i,t+1);for(let[c,u]of d.all)n.has(c)||n.set(c,u);for(let[c,u]of d.unmapped)a.has(c)||a.set(c,u);}return o()}let s=[e],l=new Set;for(;s.length>0;){let i=s.pop();if(!Y(i))continue;let d=l.has(i)||i.localName==="r"&&i.namespaceUri===chunkXPBKJQTG_cjs.pa&&chunkYVK3NMR6_cjs.a(i);if(i.localName==="sym"&&i.namespaceUri===chunkXPBKJQTG_cjs.pa){let c=i.attributes.find(f=>f.localName==="font"&&(f.namespaceUri===chunkXPBKJQTG_cjs.pa||f.namespaceUri===""))?.value,u=chunkYVK3NMR6_cjs.c(c);if(u!==null){let f=u.toLowerCase();n.has(f)||n.set(f,u);let m=d?null:chunkXPBKJQTG_cjs.$l(i);m&&rd(m.text)&&!a.has(f)&&a.set(f,u);}}for(let c=i.children.length-1;c>=0;c-=1){let u=i.children[c];d&&l.add(u),s.push(u);}}return o()}function rd(e){let t=e.codePointAt(0);return t!==void 0&&t>=57344&&t<=63743}function ki(e){let t=[...e];for(;t.length>0;){let r=t.pop();if(Y(r)){if(r.localName==="t"&&r.namespaceUri===chunkXPBKJQTG_cjs.pa){for(let n of r.children)if(!Y(n)&&n.value.length>0)return true;continue}for(let n of r.children)t.push(n);}}return false}var nd=new Set(["paragraph","character","table","numbering"]),od=/^[0-9A-Fa-f]{6}$/,ad=16,mi=new Map([["normal",0],["title",1],["subtitle",2],["heading 1",11],["heading 2",12],["heading 3",13],["heading 4",14],["heading 5",15],["heading 6",16],["heading 7",17],["heading 8",18],["heading 9",19]]);function bi(e){return e.children}function En(e,t){for(let r of bi(e))if(Y(r)&&r.localName===t)return r}function sd(e){return mi.get(e.name.toLowerCase())??mi.get(e.styleId.toLowerCase())??Number.MAX_SAFE_INTEGER}function Nn(e){return e===void 0||e.length===0||e.length>Yc||Jc.test(e)?null:e}function Pi(e,t){if(!e)return [];let r=new Map;for(let o of e.children){if(!Y(o)||o.localName!=="style")continue;let s=Nn($e(o,"styleId"));s!==null&&!r.has(s)&&r.set(s,o);}let n=o=>{let s=false,l=false,i=null,d=false,c=false,u=new Set,f=o;for(let g=0;g<ad&&f!==null&&!u.has(f);g+=1){u.add(f);let y=r.get(f);if(!y)break;let k=En(y,"rPr");for(let N of k?bi(k):[]){if(!Y(N))continue;let O=$e(N,"val"),R=O!=="0"&&O!=="false"&&O!=="off";N.localName==="b"&&!d?(s=R,d=true):N.localName==="i"&&!c?(l=R,c=true):N.localName==="color"&&i===null&&O&&od.test(O)&&(i=O);}let C=En(y,"basedOn");f=C?Nn($e(C,"val")):null;}let m=t?.(o),h=m?.fontFamily??null;return {fontFamily:h!==null&&fi.test(h)?h:null,fontSizePt:m?.fontSizeHalfPoints!=null&&m.fontSizeHalfPoints>0?m.fontSizeHalfPoints/2:null,bold:s,italic:l,color:i}},a=[];for(let[o,s]of r){let l=$e(s,"type");if(l===void 0||!nd.has(l))continue;let i=En(s,"name"),d=Nn(i?$e(i,"val"):void 0);a.push({styleId:o,name:d??o,type:l,preview:n(o)});}return a.map((o,s)=>({entry:o,index:s,rank:sd(o)})).sort((o,s)=>o.rank-s.rank||o.index-s.index).map(o=>o.entry)}var id=128,ld=/[\u0000-\u001F\u007F-\u009F]/,cd=/[\u0000-\u001F\u007F-\u009F]/g,dd=200;function Mn(e){return e.kind!=="textValue"}function vi(e,t){for(let r of e.children)if(Mn(r)&&r.localName===t)return r}function An(e,t){return e.attributes.find(r=>r.localName===t)?.value}function ud(e){let t=new Map;if(!e)return t;for(let r of e.children){if(!Mn(r)||r.localName!=="style"||An(r,"type")!=="paragraph")continue;let n=An(r,"styleId");if(n===void 0||n.length===0||n.length>id||ld.test(n))continue;let a=chunkUP5TM6T6_cjs.g(r);a!==null&&t.set(n,a);}return t}function Dn(e){let t=vi(e,"pPr"),r=t?vi(t,"pStyle"):void 0;return r?An(r,"val"):void 0}function Si(e,t){let r=ud(t);if(r.size===0)return [];let n=[];for(let a of Ze(e)){if(!Mn(a))continue;let o=Dn(a);if(o===void 0)continue;let s=r.get(o);if(s===void 0)continue;let l=chunkXPBKJQTG_cjs.Nm(e,a.id)??"",i=a.kind==="paragraph"?chunkXPBKJQTG_cjs.Pm(a,l):l,d=chunkXPBKJQTG_cjs._b(i).replace(cd," ").trim().slice(0,dd);d.length!==0&&n.push({text:d,level:s,blockId:a.id});}return n}var Ci=new Map,Sr=new Map;function Ri(){Ci=Sr,Sr=new Map;}function Fn(e){let t=Sr.get(e)??Ci.get(e);return t||(t=chunkXPBKJQTG_cjs.id(e)),Sr.set(e,t),t}function md(e,t,r){let n=new Map,a=r(e);for(let o of a){let s=n.get(o.hostParagraphId);s?s.push(o):n.set(o.hostParagraphId,[o]);}return n}function fd(e,t,r){let n=[];for(let a of Fn(e.root)){let o=t.get(a.id);if(o)for(let s of o)n.push(s);}return n}function Oi(e,t,r=chunkXPBKJQTG_cjs.fk){let n=[],a=new Map;for(let o of e){if(n.push(o),o.scope?.kind==="note")continue;let s=a.get(o.part);s||(s=md(o.part,t,r),a.set(o.part,s));for(let l of fd(o,s)){let i=o.scope;n.push({part:o.part,root:l.root,scope:{kind:"frame",id:l.root.id,drawingNodeId:l.drawingNodeId,hostParagraphId:l.hostParagraphId,...i?.kind==="headerFooter"?{owner:i}:{}}});}}return n}var Cr=48,pd=/[\u0000-\u001F\u007F-\u009F]/g;function hd(e){let t=[],r=chunkXPBKJQTG_cjs.Ii(e),n=new Map;for(let a of r.segments)chunkXPBKJQTG_cjs.hh(a.node)&&n.set(a.node.id,a.formatRunIds??[]);return chunkXPBKJQTG_cjs.sd(e.children,0,a=>{if(a.kind==="run"){t.push({id:a.id,start:r.spanOf(a)?.start??0});return}if(chunkXPBKJQTG_cjs.hh(a))for(let o of n.get(a.id)??[]){let s=r.spanOf(o);s&&t.push({id:o,start:s.start});}},{descendRevisions:true}),t}function gd(e){let t=chunkXPBKJQTG_cjs.hd(e);return t?[{part:e,root:t}]:[]}function yd(e,t){let r=[];for(let n of ["header","footer"])for(let a of e){let o=n==="header"?a.headers:a.footers;for(let[s,l]of o){if(!chunkXPBKJQTG_cjs.tf(a,s)||t.has(l.part))continue;t.add(l.part);let i=chunkXPBKJQTG_cjs.fd(l.part).find(d=>d.kind===n);i&&r.push({part:l.part,root:i.root,scope:{kind:"headerFooter",rId:l.rId}});}}return r}function wi(e,t,r){if(!e)return [];let n=[];for(let a of chunkXPBKJQTG_cjs.bd(e.root)){let o=chunkXPBKJQTG_cjs.Rc(a);!chunkXPBKJQTG_cjs.Tc(a)||o===null||!r.has(o)||n.push({part:e,root:a,scope:{kind:"note",id:chunkXPBKJQTG_cjs.Hc(t,o)}});}return n}function xd(e,t){let r=gd(e);if(t){let n=new Set;for(let a of yd(t.headerFooterBySection,n))r.push(a);for(let a of wi(t.footnotes,"footnote",t.referencedNoteIds.footnote))r.push(a);for(let a of wi(t.endnotes,"endnote",t.referencedNoteIds.endnote))r.push(a);}return Oi(r)}function Ei(e,t){if(e.length===0)return {index:0,offset:t};for(let r=e.length-1;r>=0;r-=1){let n=e[r].start;if(t>=n)return {index:r,offset:t-n}}return {index:0,offset:t}}function kd(e,t,r){let n=e.findIndex(a=>a.id===t);return n<0?null:{index:n,offset:r}}var Ni=new chunkXPBKJQTG_cjs._g;function bd(e){let t=Ni.get(e);return t||(t=chunkOTZNA6FP_cjs.d(e,chunkXPBKJQTG_cjs.Om(e)),Ni.set(e,t)),t}function Ln(e,t){return chunkXPBKJQTG_cjs._b(e).replace(pd," ").slice(0,t)}var Pd=1e3;function Ti(e,t,r={},n){let a=r.limit!==void 0&&Number.isInteger(r.limit)&&r.limit>0?Math.min(r.limit,2e3):2e3,o={...r.matchCase===void 0?{}:{matchCase:r.matchCase},...r.wholeWord===void 0?{}:{wholeWord:r.wholeWord}},s=t.slice(0,Pd),l=s.map(()=>({matches:[],truncated:false})),i=s.map((c,u)=>chunkNPPHSBFT_cjs.ya(c)?u:-1);if(i=i.filter(c=>c>=0),i.length===0)return l;let d=r.stories==="body"?void 0:n;Ri();for(let c of xd(e,d)){let u=0;for(let f of Fn(c.root)){if(f.kind!=="paragraph")continue;let m=u;u+=1;let h=bd(f);if(h.text.length===0)continue;let g=null,y=false;for(let k of i){let C=l[k],N=a-C.matches.length,O=h.findOccurrences(s[k],Math.max(N,1),o);if(N===0&&O.matches.length>0){C.truncated=true,y=true;continue}for(let R of O.matches){let F=R.start+R.length;g??=hd(f);let $=h.resultRunAddressAt(R.start),L=$?kd(g,$.runId,$.offset)??Ei(g,R.rawStart):Ei(g,R.rawStart);C.matches.push({blockId:f.id,start:R.rawStart,length:R.rawEnd-R.rawStart,paragraphIndex:m,runIndex:L.index,runOffset:L.offset,...c.scope?{scope:c.scope}:{},text:Ln(h.displaySlice(R.start,F),256),contextBefore:Ln(h.displaySlice(Math.max(0,R.start-Cr),R.start),Cr),contextAfter:Ln(h.displaySlice(F,F+Cr),Cr)});}O.truncated&&(C.truncated=true,y=true);}if(y&&(i=i.filter(k=>!l[k].truncated)),i.length===0)return l}}return l}var vd=32;function Ii(e){let t=null;return((r,n)=>{let a=e.revision(),o=typeof r!="string",s=`${n?.matchCase===true?"c":""}${n?.wholeWord===true?"w":""}`,l=`${n?.limit??""}:${n?.stories??"all"}`,i=JSON.stringify([s,l,r]);t?.revision!==a&&(t={revision:a,results:new Map});let d=t.results.get(i);if(d)return d;let c=e.bodyPart(),u=e.currentPackage(),f={footnote:new Set,endnote:new Set};for(let g of chunkXPBKJQTG_cjs.uj(c))f[g.noteKind].add(g.noteId);let m=Ti(c,o?r:[r],n,{headerFooterBySection:e.headerFooterBySection(),footnotes:chunkXPBKJQTG_cjs.tj(u,"footnote")??null,endnotes:chunkXPBKJQTG_cjs.tj(u,"endnote")??null,referencedNoteIds:f}),h=o?m:m[0];return t.results.size>=vd&&t.results.delete(t.results.keys().next().value),t.results.set(i,h),h})}var Sd=["lt1","dk1","lt2","dk2","accent1","accent2","accent3","accent4","accent5","accent6"];function st(e,t=null,r=null){return chunkXPBKJQTG_cjs.re(e,t,r)}function Ai(e){let t=chunkXPBKJQTG_cjs.ue(e),r=[];for(let n of Sd){let a=t.get(n);if(!a)return [];r.push({slot:n,hex:a});}return r}var Mi=new WeakMap;function $n(e){let t=Mi.get(e);if(t!==void 0)return t;let r=chunkXPBKJQTG_cjs.wb(e),n=r===null||!chunkXPBKJQTG_cjs.vb(r)?null:r;return Mi.set(e,n),n}var _n=class{#e;#t;constructor(t,r){this.#e=t,this.#t=r;}get size(){return this.#e.size}get(t){if(this.#e.has(t))return this.#t.find(r=>t.startsWith(`${r.name}#`))}has(t){return this.get(t)!==void 0}*entries(){for(let t of this.#e.keys()){let r=this.get(t);r&&(yield [t,r]);}}keys(){return this.#e.keys()}*values(){for(let[,t]of this.entries())yield t;}[Symbol.iterator](){return this.entries()}forEach(t,r){for(let[n,a]of this.entries())t.call(r,a,n,this);}};function Di(e,t){return Object.freeze({...e,partByNode:new _n(e.ordinalByNode,t)})}function Fi(e){let t=new Map,r=new Map,n=new Map,a=new Set,o=new Map,s=new Map,l=0;for(let i of e)for(let d of oe(i)){n.set(d.id,l),o.set(d.id,i),l+=1;let c=$n(d);if(c===null)continue;t.set(d.id,c);let u=c.toUpperCase(),f=s.get(u);f?(f.push(d.id),a.add(u)):(s.set(u,[d.id]),r.set(u,d.id));}return Object.freeze({paraIdByNode:t,nodeByParaId:r,ordinalByNode:n,ambiguousParaIds:a,partByNode:o,claimantsByParaId:s})}function Li(e,t){let r=e.indexOf("#");if(r===0)return null;let n=r===-1?Rd(e,t):Cd(e,r,t);if(!n)return null;let a=chunkXPBKJQTG_cjs.eb(n,e);return a?.kind==="paragraph"?$n(a):null}function Cd(e,t,r){let n=e.slice(0,t),a=r.body.name===n?r.body:void 0;a??=r.openStories.find(s=>s.name===n);let o=a?void 0:r.otherStories.find(s=>s.name===n);return a??(o?r.normalize(o):void 0)}function Rd(e,t){if(chunkXPBKJQTG_cjs.eb(t.body,e))return t.body;let r=t.openStories.find(n=>chunkXPBKJQTG_cjs.eb(n,e)!==null);if(r)return r;for(let n of t.otherStories){let a=t.normalize(n);if(chunkXPBKJQTG_cjs.eb(a,e))return a}}function Un(e){return e.historyToken??e.historyGroup}var _i={committed:false,rejected:false,opCount:0};function ge(e,t){return t===void 0?{committed:false,rejected:true,opCount:e}:{committed:false,rejected:true,opCount:e,reason:t}}function $i(e,t,r={}){let n=t.filter(c=>c.ops.length>0),a=r.partOps??[],o=[...n,...a].reduce((c,u)=>c+u.ops.length,0);if(o===0)return r.packageEdits?.length?ge(0,"invalidArgs"):_i;if([...n,...a].some(c=>c.ops.some(chunkXPBKJQTG_cjs.oj))||[...n,...a].some(c=>c.ops.some(chunkXPBKJQTG_cjs.Jj)))return ge(o,"invalidArgs");let[s,...l]=n,i=[];for(let c of l){let u=e.partFor(c.scope);if(!u)return ge(o,"unknown-part");i.push({partName:u.name,ops:c.ops});}let d=e.transact(s?.scope??{kind:"body"},c=>{for(let u of r.packageEdits??[])c.applyPackage(u);for(let u of s?.ops??[])c.apply(u);for(let u of i)for(let f of u.ops)c.applyTo(u.partName,f);for(let u of a)for(let f of u.ops)c.applyTo(u.partName,f);},{...r,historyGroup:Un(r)});return d.ok?{committed:true,rejected:false,opCount:o}:ge(o,d.reason)}function Ui(e,t,r,n,a,o){let s=o.partOps??[],l=t.length+s.reduce((u,f)=>u+f.ops.length,0);if(l===0&&!o.packageEdits?.length)return _i;if(s.some(u=>u.ops.some(f=>chunkXPBKJQTG_cjs.oj(f)||chunkXPBKJQTG_cjs.Jj(f))))return ge(l,"invalidArgs");let i=t.filter(u=>chunkXPBKJQTG_cjs.oj(u)||chunkXPBKJQTG_cjs.Jj(u)).length;if(i>0){if(s.length||o.packageEdits?.length||i!==t.length||t.length!==1)return ge(t.length,"invalidArgs");let u=e.applyLifecycleOp(t[0],{actorId:o.actorId,historyGroup:Un(o)});return u.ok?{committed:true,rejected:false,opCount:1}:ge(1,u.detail??u.reason)}let d=o.recordsHistory===false&&o.actorId&&o.operationId?e.partFor(a)?.name:void 0,c=e.transact(a,u=>{r!==void 0&&u.selectionBefore(r),n!==void 0&&u.selectionAfter(n);for(let f of o.packageEdits??[])u.applyPackage(f);for(let f of t)u.apply(f);for(let f of s)for(let m of f.ops)u.applyTo(f.partName,m);d&&u.applyPackage(f=>chunk4QLFADOG_cjs.a(f,d,t));},{...o,historyGroup:Un(o)});return c.ok?{committed:true,rejected:false,opCount:l}:ge(l,c.reason)}var Od=Object.freeze([]);function wd(e,t={}){return Ed(chunkXPBKJQTG_cjs.pg(e),t)}function Ed(e,t={}){if(!e.ok)return e;let r=chunkNPPHSBFT_cjs.ta(e.package),n=r.parts.get(r.mainDocumentPart);if(!n)return {ok:false,reason:"no-main-document-tree",detail:r.mainDocumentPart};let a=chunkXPBKJQTG_cjs.Eb(n),o=new chunkNPPHSBFT_cjs.T(r,chunkNPPHSBFT_cjs.Aa(r,a),t.contentLockPolicy?{contentLockPolicy:t.contentLockPolicy}:{}),s=null,l=null,i=null,d=null,c=null;o.subscribe(p=>{d=p,c=o.currentPackage();});let u=()=>o.bodyStore(),f=()=>o.currentPackage(),m=Gs(),h=Object.freeze({kind:"body"}),g=(p,x)=>{let b=x?.find(S=>S.type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings");if(!b)return;let v=chunkXPBKJQTG_cjs.N(b);return v.mode==="Internal"&&v.target.ok?p.parts.get(v.target.partName):void 0},y=(p,x,b)=>{if(p.mainRelationships!==b||p.settingsPart!==g(x,b))return false;for(let v of p.resolution)for(let S of [v.headers,v.footers])for(let A of S.values())if(x.parts.get(A.partName)!==A.part)return false;return true},k=()=>{let p=f(),x=p.relationships.get(p.mainDocumentPart);if(s&&d&&c===p&&y(s,p,x)&&s.packageRevision===d.fromRevision&&o.packageRevision===d.toRevision&&d.story?.kind==="body"&&d.impact==="text-local"&&d.created.length===0&&d.deleted.length===0&&d.splitJoin.length===0&&(s={...s,packageRevision:o.packageRevision,pkg:p,mainRelationships:x,settingsPart:g(p,x)}),!s||s.packageRevision!==o.packageRevision||s.pkg!==p){let b=chunkXPBKJQTG_cjs.wf(p);s={packageRevision:o.packageRevision,pkg:p,mainRelationships:x,settingsPart:g(p,x),resolution:b,parts:chunkXPBKJQTG_cjs.vf(b)};}return s},C="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",N=null,O=()=>{let p=f(),x=(p.relationships.get(p.mainDocumentPart)??[]).find(S=>S.type===C),b;if(x){let S=chunkXPBKJQTG_cjs.N(x);S.mode==="Internal"&&S.target.ok&&(b=p.parts.get(S.target.partName));}b??=p.parts.get("/word/styles.xml");let v=b?.root??null;return v!==N&&(N=v,ut=null,Re=null),N},R=null,F=null,$=()=>{let p=f();return R===p||(R=p,F=chunkXPBKJQTG_cjs.vd(p)),F},L="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",ie=null,J=null,V=()=>{let p=f();if(ie===p)return J;ie=p;let x=(p.relationships.get(p.mainDocumentPart)??[]).find(S=>S.type===L),b;if(x){let S=chunkXPBKJQTG_cjs.N(x);S.mode==="Internal"&&S.target.ok&&(b=p.parts.get(S.target.partName));}b??=p.parts.get("/word/settings.xml");let v=b?.root??null;return v!==J&&(J=v,At=null,ut=null,Re=null),J},Rr="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",it="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Bn=(p,x)=>{let b=f(),v=(b.relationships.get("/")??[]).find(A=>A.type===p),S;if(v){let A=chunkXPBKJQTG_cjs.N(v);A.mode==="Internal"&&A.target.ok&&(S=b.parts.get(A.target.partName));}return S??b.parts.get(x)},Hn=null,Or=chunkXPBKJQTG_cjs.dk,Hi=()=>{let p=f();if(Hn===p)return Or;Hn=p;let x=Bn(Rr,"/docProps/core.xml"),b=Bn(it,"/docProps/app.xml");return Or=chunkXPBKJQTG_cjs.ek(x?.root??null,b?.root??null),Or},ji="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",jn=null,It=null,Ue=()=>{let p=f();if(jn===p)return It;jn=p;let x=(p.relationships.get(p.mainDocumentPart)??[]).find(S=>S.type===ji),b;if(x){let S=chunkXPBKJQTG_cjs.N(x);S.mode==="Internal"&&S.target.ok&&(b=p.parts.get(S.target.partName));}b??=p.parts.get("/word/theme/theme1.xml");let v=b?.root??null;return v!==It&&(It=v,At=null,wr=null,ut=null,Re=null),It},Xi="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",Xn=null,Wn=()=>{let p=f(),x=(p.relationships.get(p.mainDocumentPart)??[]).find(S=>S.type===Xi),b=x?chunkXPBKJQTG_cjs.N(x):null;return (b?.mode==="Internal"&&b.target.ok?p.parts.get(b.target.partName):void 0)??p.parts.get("/word/fontTable.xml")},Wi=()=>(Xn??=Object.freeze(chunkXPBKJQTG_cjs.Wg(f(),Wn())),Xn),lt=null,Be=null,ct=null,dt=null,ut=null,wr=null,At=null,zn=()=>{let p=[u().part.root],x=new Set;for(let b of ye())x.has(b)||(x.add(b),p.push(b.root));return p},Er=()=>{let p=zn(),x=O();return x&&p.splice(1,0,x),p},Re=null,Mt=null,mt=null,He=null,Vn=new WeakMap,Dt=null,Gn=p=>{let x=Vn.get(p);if(x)return x;let b=chunkXPBKJQTG_cjs.Eb(p);return Vn.set(p,b),b},Kn=()=>{let p=o.packageRevision,x=o.openStoryToken();if(!He||He.revision!==p||He.openStories!==x){let b=o.openStoryParts(),v=new Set(b.map(ee=>ee.name)),S=ye().filter(ee=>!v.has(ee.name)).map(Gn),A=[u().part,...b,...S],_=He,le=_!==null&&d!==null&&_.openStories===x&&_.revision===d.fromRevision&&p===d.toRevision&&d.impact==="text-local"&&d.created.length===0&&d.deleted.length===0&&d.splitJoin.length===0&&_.parts.length===A.length&&_.parts.every((ee,xe)=>ee.name===A[xe]?.name);He={revision:p,openStories:x,parts:A,index:le&&_?Di(_.index,A):Fi(A)};}return He.index},Yn=ai(),zi=()=>{let p=u().part.name,x=new Map;for(let b of [u().part,...ye()])for(let[v,S]of chunkNPPHSBFT_cjs.ka(f(),b.name,p))x.set(v,S);return x},Vi=()=>[u().part,...ye()],ye=()=>{let p=[],x=new Set;for(let v of k().parts)for(let S of [v.headers,v.footers])for(let A of S.values())x.has(A)||(x.add(A),p.push(A));let b=f();for(let v of ["footnote","endnote"]){let S=chunkXPBKJQTG_cjs.tj(b,v);!S||x.has(S)||(x.add(S),p.push(S));}return p},Jn={ok:true,session:{editable:oe(u().part).length>0,paragraphIds:()=>oe(u().part).map(p=>p.id),paragraphIdsIn(p=h){let x=o.partFor(p);return x?oe(x).map(b=>b.id):[]},part:()=>u().part,partFor:p=>o.partFor(p),currentPackage:f,collaborationPort:p=>chunk4QLFADOG_cjs.b(o,{documentId:p,interactive:true}),applyTreeOps(p,x,b,v=h,S={}){return Ui(o,p,x,b,v,S)},applyTreeOpsAtomic(p,x={}){return $i(o,p,x)},projectDoc:()=>Te(u().part),reconcile:p=>Yr(p,u().part,d),lastCommitWasStructural:()=>d!==null&&(d.created.length>0||d.deleted.length>0||d.splitJoin.length>0||d.impact==="global"),applyPmDoc(p){let x=u(),b=Kr(x.part,p);if(!b.ok)return {committed:false,rejected:true,opCount:0,reason:b.reason};if(b.ops.length===0)return {committed:false,rejected:false,opCount:0};let v=o.transact(h,S=>{for(let A of b.ops)S.apply(A);});return v.ok?{committed:true,rejected:false,opCount:b.ops.length}:{committed:false,rejected:true,opCount:b.ops.length,reason:v.reason}},storyParts:Vi,bodyText:()=>Ys(u().part),storyText(p){let x=o.partFor(p);return x?oe(x).map(b=>chunkXPBKJQTG_cjs.Nm(x,b.id)??"").join(`
6
+ `):null},revision:()=>u().revision,revisionFor:p=>o.revisionFor(p),packageRevision:()=>o.packageRevision,canUndo:()=>o.canUndo,canRedo:()=>o.canRedo,undo:()=>{let p=o.selectionForUndo();return o.undo()===null?null:p},redo:()=>{let p=o.selectionForRedo();return o.redo()===null?null:p},beginComposition:(p=h)=>{o.beginComposition(p);},endComposition:()=>o.endComposition(),subscribe(p){return o.subscribe(p)},save(){return m(f())},saveSteps(){return m.steps(f())},headerFooterParts:()=>{let p=k().parts;return p[p.length-1]??chunkXPBKJQTG_cjs.yf(f())},headerFooterPartsBySection:()=>k().parts,headerFooterResolutionBySection:()=>k().resolution,documentFonts(){return lt&&lt.revision===o.packageRevision||(lt={revision:o.packageRevision,fonts:pi(Er(),st(Ue(),V()))}),lt.fonts},symbolFontFamilies(){return ct&&ct.revision===o.packageRevision||(ct={revision:o.packageRevision,fonts:xi(Er())}),ct.fonts},renderedFontFamilies(){let p=O();return Be&&Be.revision===o.packageRevision&&Be.styles===p||(Be={revision:o.packageRevision,styles:p,families:chunkYVK3NMR6_cjs.f(zn(),p,st(Ue(),V()))}),Be.families},rendersText(){return dt&&dt.revision===o.packageRevision||(dt={revision:o.packageRevision,rendersText:ki(Er())}),dt.rendersText},documentStyles(){let p=O(),x=Ue(),b=V();Re??=chunkYVK3NMR6_cjs.d(p,st(x,b));let v=Re;return ut??=Pi(p,S=>v(S)),ut},stylesRoot:()=>O(),documentThemeFonts(){let p=Ue(),x=V();return At??=st(p,x,Wn()?.root??null),At},numberingRoot:()=>$(),settingsRoot:()=>V(),documentProperties:()=>Hi(),trackingSettings:()=>chunkXPBKJQTG_cjs.ak(V()),documentThemeColors(){let p=Ue();return wr??=Ai(p),wr},effectiveRunDefaults(p,x){let b=O(),v=Ue(),S=V();Re??=chunkYVK3NMR6_cjs.d(b,st(v,S));let A=u();if(!Mt||Mt.revision!==A.revision){let _=new Map;for(let le of oe(A.part))le.kind!=="textValue"&&_.set(le.id,Dn(le)??null);Mt={revision:A.revision,byId:_};}return Re(Mt.byId.get(p)??null,x)},documentOutline(){let p=u();return mt&&mt.revision===p.revision||(mt={revision:p.revision,outline:Si(p.part,O())}),mt.outline},findText:Ii({revision:()=>o.packageRevision,bodyPart:()=>u().part,currentPackage:f,headerFooterBySection:()=>k().resolution}),embeddedFonts:Wi,paragraphAnchors:Kn,paraIdOf:p=>Li(p,{body:u().part,openStories:o.openStoryParts(),otherStories:ye(),normalize:Gn}),nodeIdOf:p=>Kn().nodeByParaId.get(p.toUpperCase())??null,relationshipTarget:(p,x=h)=>{let b=f(),v=o.partFor(x);return v?chunkXPBKJQTG_cjs.jj(b,v.name,p):null},bookmarks:()=>{let p=o.packageRevision;if(!Dt||Dt.revision!==p){let x=new Map(chunkXPBKJQTG_cjs.Li(u().part));for(let b of ye())for(let[v,S]of chunkXPBKJQTG_cjs.Li(b))x.has(v)||x.set(v,S);Dt={revision:p,index:x};}return Dt.index},ensureHyperlinkRelationship(p,x=h){let b=o.partFor(x);return b?chunkXPBKJQTG_cjs.Xa(o,()=>{let v=f(),S=chunkXPBKJQTG_cjs.ij(v,p,b.name);return S?(S.pkg!==v&&o.replacePackageShell(S.pkg),S.relationshipId):null},v=>v!==null):null},reviewItems(){let p=t.reviewModel;if(!p)return Od;let x=u(),b=`${o.packageRevision}:${x.revision}`;if(l&&l.revisionKey===b)return l.items;let v=f(),S=v.parts.get(chunkNPPHSBFT_cjs.aa(v,x.part.name)),A=v.parts.get(chunkNPPHSBFT_cjs.ba(v,x.part.name)),_={root:x.part.root,commentsPart:S,commentsExtendedPart:A,stylesPart:chunkXPBKJQTG_cjs.ud(v),numberingRoot:$(),furnitureParts:ye(),customNodePayloads:zi()},{stylesPart:le,numberingRoot:ee}=_,xe=di(p,v,_,l),Zn=()=>Yn.get(_)??xe.filtered(p.collectReviewItems({storyPart:x.part,furnitureParts:_.furnitureParts,stylesPart:_.stylesPart,commentsPart:S,commentsExtendedPart:A,customNodePayloads:_.customNodePayloads})),Nr={part:x.part,commentsPart:S,commentsExtendedPart:A,currentPackageRevision:o.packageRevision,currentPackage:v,changePackage:c},je,ft=null;if(l&&d&&xe.sameFilter&&qs(d,l,l.items,Nr))je=l.items;else {let Xe=l&&d?ei(d,l,l.items,Nr):null,Tr=Xe&&l&&xe.patchable(Xe)?p.revisionItemsOfParagraph(x.part,Xe):null;if(Xe&&l&&Tr&&gr(l.items,Tr,Xe,x.part)){ft=l.paragraphOrder??chunkXPBKJQTG_cjs.Vk(x.part);let pt=yr(l.items,ft,Xe,Tr,xe.filtered,x.part);pt||(ft=chunkXPBKJQTG_cjs.Vk(x.part)),je=pt??Zn();}else {let pt=oi(d,l,Nr,xe,p);ft=pt?.paragraphOrder??chunkXPBKJQTG_cjs.Vk(x.part),je=pt?.items??Zn();}}return Yn.set(_,je=xe.publish(je)),l={revisionKey:b,bodyRevision:x.revision,packageRevision:o.packageRevision,items:je,paragraphOrder:ft,commentsPart:S,commentsExtendedPart:A,pkg:v,stylesPart:le,numberingRoot:ee},l.items},hasReviewContent(){let p=o.packageRevision;if(!i||i.revision!==p){let x=chunkXPBKJQTG_cjs.ud(f()),b=[u().part,...ye(),...x?[x]:[]];i={revision:p,present:b.some(v=>Pn(v.root)||chunkXPBKJQTG_cjs.Sl(v).length>0)};}return i.present},replyToComment(p,x,b,v,S,A=h,_,le={}){let ee=chunkNPPHSBFT_cjs.ca(o,{anchor:{paragraphId:x.paragraphId,start:x.start,end:x.end,...x.endParagraphId===void 0?{}:{endParagraphId:x.endParagraphId}},author:v,text:b,...S===void 0?{}:{date:S},...p===null?{}:{replyToCommentId:p},..._===void 0?{}:{actorId:_}},A,le.historyToken);return ee.ok?ee.commentId:null},setCommentResolved(p,x,b={}){return chunkNPPHSBFT_cjs.da(o,p,x,b.historyToken).ok},deleteComment(p,x=h,b,v){return this.deleteComments([{commentId:p}],x,b,v)},deleteComments(p,x=h,b,v={}){return chunkNPPHSBFT_cjs.ea(o,p,x,b,v.historyToken)},insertCustomNode(p,x=h,b={}){return chunkNPPHSBFT_cjs.ma(o,p,x,b.historyToken)},removeCustomNode(p,x=h){return chunkNPPHSBFT_cjs.na(o,p,x)},sweepCustomNodePayloads(p){return chunkXPBKJQTG_cjs.Xa(o,()=>{let x=u(),b=chunkNPPHSBFT_cjs.ja(o.currentPackage(),x.part.name,p);return b.ok?b.removed.length===0?{ok:true,removed:[]}:(o.replacePackageShell(b.pkg),{ok:true,removed:b.removed}):{ok:false,reason:b.reason}},x=>x.ok&&x.removed.length>0)},ensureListDefinition(p,x){return chunkXPBKJQTG_cjs.Xa(o,()=>{let b=chunkXPBKJQTG_cjs.Xi(f(),p,x);return b?(o.replacePackageShell(b.pkg),R=null,F=null,b.numId):null},b=>b!==null)},ensureNumberingLevel(p,x,b){return chunkXPBKJQTG_cjs.Xa(o,()=>{let v=f(),S=chunkXPBKJQTG_cjs.Yi(v,p,x,b);return S?S!==v?(o.replacePackageShell(S),R=null,F=null,{ok:true,changed:true}):{ok:true,changed:false}:{ok:false,changed:false}},v=>v.changed).ok},insertImage(p,x){return o.insertImage(p,x)},replaceImage(p,x,b,v,S,A){return o.replaceImage(p,x,b,v,S,A)},deleteImage(p,x){return o.deleteImage(p,x)},deleteImageTracked(p,x,b){return o.deleteImageTracked(p,x,b)},applyImageProperties:(p,x)=>o.applyImageProperties(p,x),charts:()=>Vs(o),applyFragmentPaste:(p,x)=>o.applyFragmentPaste(p,x),replacePackage:p=>za(o,p)}};return chunkXPBKJQTG_cjs.Vn(Jn.session,o),Jn}var Nd=chunkXPBKJQTG_cjs.g.projection;function Bd(e,t,r){let n=e.filter(a=>a.localName!==t);return n.length!==e.length?n:[...n,r?{localName:t,attributes:r}:{localName:t}]}function Hd(e,t,r={}){let n=null,a=false,o=()=>r.onChange?.(s()),s=()=>({revision:t.revision(),canUndo:t.canUndo(),canRedo:t.canRedo(),lastRejection:n}),l=m=>{a=true;let h=d.state.tr.replaceWith(0,d.state.doc.content.size,m.content);h.setMeta("addToHistory",false),d.dispatch(h),a=false;},i=m=>()=>(m()&&(l(t.projectDoc()),o()),true),d=new prosemirrorView.EditorView(e,{state:prosemirrorState.EditorState.create({doc:t.projectDoc(),plugins:[prosemirrorKeymap.keymap({...prosemirrorCommands.baseKeymap,Home:prosemirrorCommands.selectTextblockStart,End:prosemirrorCommands.selectTextblockEnd,"Mod-z":i(()=>t.undo()!==null),"Mod-y":i(()=>t.redo()!==null),"Shift-Mod-z":i(()=>t.redo()!==null),"Mod-b":(m,h)=>f(m,h,"b"),"Mod-i":(m,h)=>f(m,h,"i"),"Mod-u":(m,h)=>f(m,h,"u",{val:"single"})})]}),editable:()=>t.editable,handleDOMEvents:{keydown:m=>(c(m),false),beforeinput:(m,h)=>{let g=h;if(m.composing)return false;c(m);let y=g.inputType;if(y==="insertText"&&g.data!=null){g.preventDefault();let{from:k,to:C}=m.state.selection;return m.dispatch(m.state.tr.insertText(g.data,k,C)),true}if(y==="deleteContentBackward"){g.preventDefault();let{from:k,empty:C}=m.state.selection;return C?k>0?m.dispatch(m.state.tr.delete(k-1,k)):prosemirrorCommands.joinBackward(m.state,m.dispatch):prosemirrorCommands.deleteSelection(m.state,m.dispatch),true}if(y==="deleteContentForward"){g.preventDefault();let{from:k,to:C,empty:N}=m.state.selection;return N?C<m.state.doc.content.size?m.dispatch(m.state.tr.delete(k,k+1)):prosemirrorCommands.joinForward(m.state,m.dispatch):prosemirrorCommands.deleteSelection(m.state,m.dispatch),true}return y==="insertParagraph"?(g.preventDefault(),prosemirrorCommands.splitBlock(m.state,m.dispatch),true):false},compositionstart:()=>(t.beginComposition(),false),compositionend:()=>(t.endComposition(),o(),false)},dispatchTransaction(m){let h=d.state.apply(m);if(a||!m.docChanged){d.updateState(h);return}let g=t.applyPmDoc(h.doc);if(g.rejected){n=String(g.reason??"rejected"),d.updateState(h),l(t.projectDoc()),o();return}n=null,d.updateState(g.committed&&t.lastCommitWasStructural()?u(h):h),o();}});function c(m){if(m.composing||a)return;let h=m.dom.ownerDocument.getSelection(),g=h?.anchorNode,y=h?.focusNode;if(!(!h||!g||!y)&&!(!m.dom.contains(g)||!m.dom.contains(y)))try{let k=m.posAtDOM(g,h.anchorOffset),C=m.posAtDOM(y,h.focusOffset),N=m.state.selection;if(N.anchor===k&&N.head===C)return;let O=prosemirrorState.TextSelection.create(m.state.doc,k,C);m.dispatch(m.state.tr.setSelection(O).setMeta("addToHistory",!1));}catch{}}function u(m){let h=t.paragraphIds(),g=m.tr,y=false,k=0;return m.doc.forEach((C,N)=>{let O=h[k];k+=1,!(C.type.name!=="paragraph"||O===void 0)&&C.attrs.nodeId!==O&&(g=g.setNodeMarkup(N,void 0,{...C.attrs,nodeId:O}),y=true);}),y?m.apply(g.setMeta("addToHistory",false)):m}function f(m,h,g,y){let k=X.marks.runProps;if(!h)return true;let{from:C,to:N,empty:O}=m.selection;if(O)return true;let F=m.doc.resolve(C).marks().find(ie=>ie.type===k)?.attrs.props??[],$=Bd(F,g,y),L=m.tr;return L.removeMark(C,N,k),$.length>0&&L.addMark(C,N,k.create({props:$})),h(L),true}return {view:d,state:s,undo:()=>i(()=>t.undo()!==null)(),redo:()=>i(()=>t.redo()!==null)(),toggleRunProperty(m,h){f(d.state,d.dispatch.bind(d),m,h);},destroy:()=>d.destroy()}}exports.A=wd;exports.B=Ed;exports.C=Nd;exports.D=Hd;exports.a=Me;exports.b=kt;exports.c=qe;exports.d=Tl;exports.e=or;exports.f=Eu;exports.g=Nu;exports.h=Tu;exports.i=Vu;exports.j=Gu;exports.k=Ku;exports.l=Yu;exports.m=Fs;exports.n=Ec;exports.o=X;exports.p=Vr;exports.q=Ze;exports.r=oe;exports.s=Te;exports.t=Kr;exports.u=ll;exports.v=Yr;exports.w=Dn;exports.x=ef;exports.y=Wc;exports.z=cf;