lantern-harness 0.1.8 → 0.1.10

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 (183) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/README.md +7 -7
  3. package/builtin/session/lh-fs.mjs +32 -14
  4. package/cli/server.mjs +2 -0
  5. package/config/app.defaults.json +1 -0
  6. package/dist/500.html +258 -22
  7. package/dist/_astro/Base.BOY6F0mi.css +1 -0
  8. package/dist/_astro/Base.astro_astro_type_script_index_0_lang.C30xtpc6.js +1 -0
  9. package/dist/_astro/CaseExecBoard.Dttqp0wg.js +1 -0
  10. package/dist/_astro/CaseGenerateApp.DqW_nWMc.js +9 -0
  11. package/dist/_astro/CasesLibrary.8aMUUGp_.js +1 -0
  12. package/dist/_astro/ChatApp.BLxf0h1d.js +219 -0
  13. package/dist/_astro/ColumnResize.BEkEW7qw.js +1 -0
  14. package/dist/_astro/{ConfirmDialog.CBVsDJ8f.js → ConfirmDialog.BZzZWDci.js} +1 -1
  15. package/dist/_astro/{DashboardBoard.Bd3eUPwZ.js → DashboardBoard.CkSbhEDI.js} +3 -3
  16. package/dist/_astro/DatePicker.Bkl71M49.js +1 -0
  17. package/dist/_astro/DocsFileBrowser.MKVCfZrE.js +1 -0
  18. package/dist/_astro/DocsPager.DJY4foYL.js +1 -0
  19. package/dist/_astro/{DrawerField.CWMLhcPX.js → DrawerField.CHRg77LG.js} +1 -1
  20. package/dist/_astro/{ExcelFieldTags.B_XMwNNx.js → ExcelFieldTags.DXMeaDa5.js} +4 -4
  21. package/dist/_astro/KnowledgeLibrary.B-p1aoQN.js +1 -0
  22. package/dist/_astro/NamePromptDialog.Wa9O530a.js +1 -0
  23. package/dist/_astro/NavLibraries.C6LImMO_.js +1 -0
  24. package/dist/_astro/OverflowHint.D6v4Uj2N.js +1 -0
  25. package/dist/_astro/PluginsPage.-97n3x2U.js +39 -0
  26. package/dist/_astro/PluginsPage.DkmRPfbU.js +1 -0
  27. package/dist/_astro/PmBugsBoard.CMT4-eoB.js +1 -0
  28. package/dist/_astro/PmIterationsBoard.BQM_dzdZ.js +1 -0
  29. package/dist/_astro/PmProjectDetail.CzU80pat.js +1 -0
  30. package/dist/_astro/PmProjectsBoard.Cxsa7SYQ.js +1 -0
  31. package/dist/_astro/PmRequirementsBoard.4_JMDDN0.js +1 -0
  32. package/dist/_astro/PmRequirementsBoard.B8HL07cw.js +1 -0
  33. package/dist/_astro/PmShared.Ca2Ao7v_.js +1 -0
  34. package/dist/_astro/PromptsLibrary.C9BcIxKK.js +1 -0
  35. package/dist/_astro/ReportsPage.Fh5DRKLT.js +1 -0
  36. package/dist/_astro/RequirementsLibrary.CBkuWE8X.js +1 -0
  37. package/dist/_astro/SearchableSelect.DnjoSslK.js +1 -0
  38. package/dist/_astro/SelectDropdown.CuuDHa8s.js +1 -0
  39. package/dist/_astro/SettingsDialog.CJvBRcs9.js +1 -0
  40. package/dist/_astro/SlideOverDrawer.B7B5Wu8I.js +1 -0
  41. package/dist/_astro/{SpaceSwitcher.BEJo5KFi.js → SpaceSwitcher.BVQLt_tL.js} +2 -2
  42. package/dist/_astro/TagSelect.CuN5RdF4.js +1 -0
  43. package/dist/_astro/TasksBoard.Bu-fpIZ7.js +1 -0
  44. package/dist/_astro/TemplatesLibrary.DSylQGlN.js +1 -0
  45. package/dist/_astro/TestStatsBoard.CPyKW4wc.js +1 -0
  46. package/dist/_astro/Toast.R8_2OWRX.js +1 -0
  47. package/dist/_astro/TodosBoard.8kvRTEW-.js +1 -0
  48. package/dist/_astro/UiAutoBoard.DFTiDqCp.js +9 -0
  49. package/dist/_astro/active-element-history.CED-m1Zp.js +1 -0
  50. package/dist/_astro/app-config.BUPzGl9f.js +1 -0
  51. package/dist/_astro/{client.Be_SakrB.js → client.BHNTqLjv.js} +3 -3
  52. package/dist/_astro/dialog.BAPTk9a_.js +1 -0
  53. package/dist/_astro/hydrate-cache.BXX604Bw.js +1 -0
  54. package/dist/_astro/i18n.BGPnP1Bg.js +7 -0
  55. package/dist/_astro/index.astro_astro_type_script_index_0_lang.LPL9mPQY.js +1 -0
  56. package/dist/_astro/jsx-runtime.DUg_B_vD.js +1 -0
  57. package/dist/_astro/{lib.DJNDi_Ht.js → lib.CgXLzMMd.js} +15 -15
  58. package/dist/_astro/listbox.C96OCanh.js +1 -0
  59. package/dist/_astro/markdown-client.DRva7DS9.js +58 -0
  60. package/dist/_astro/menu.IPWdRoNM.js +1 -0
  61. package/dist/_astro/{open-docs-in-session.B0ZdZNj2.js → open-docs-in-session.CyFNgh1I.js} +1 -1
  62. package/dist/_astro/{plugins.D5ypJIXn.js → plugins.C2BMfzv1.js} +1 -1
  63. package/dist/_astro/{pm.BsnTv63L.js → pm.CagBA-ht.js} +4 -4
  64. package/dist/_astro/{portal.Cm9XlIPf.js → portal.C0hAhXDF.js} +2 -2
  65. package/dist/_astro/prompts-meta.Bua-j14I.js +2 -0
  66. package/dist/_astro/react-dom.DLW9pGCF.js +1 -0
  67. package/dist/_astro/{react-dom.CqAxpHMt.js → react.Blvh0GOs.js} +1 -1
  68. package/dist/_astro/report-prompt.CAfZ6RIo.js +1 -0
  69. package/dist/_astro/{settings.CnDCvwnQ.js → settings.Ceefeil5.js} +2 -2
  70. package/dist/_astro/{spaces-client.Cai2tHEI.js → spaces-client.BocUabwy.js} +1 -1
  71. package/dist/_astro/ui-auto-prompt.CX8fju7r.js +3 -0
  72. package/dist/_astro/ui-auto.BmC9JJ_X.js +1 -0
  73. package/dist/_astro/update.CvfIVwnq.js +1 -0
  74. package/dist/_astro/use-text-value.DBQvHeNl.js +1 -0
  75. package/dist/_astro/use-tree-walker.DFU2AaAP.js +1 -0
  76. package/dist/_astro/useListAnim.BoerpmsB.js +1 -0
  77. package/dist/_astro/{view-prefs.HCowOWXL.js → view-prefs.BEAZRcxF.js} +1 -1
  78. package/dist/case-exec/index.html +458 -22
  79. package/dist/cases/generate/index.html +258 -22
  80. package/dist/cases/library/index.html +458 -22
  81. package/dist/dashboard/index.html +458 -22
  82. package/dist/docs/changelog/index.html +389 -23
  83. package/dist/docs/install/index.html +258 -22
  84. package/dist/docs/manual/index.html +324 -27
  85. package/dist/index.html +2 -281
  86. package/dist/knowledge/index.html +458 -22
  87. package/dist/knowledge//345/212/237/350/203/275/346/265/213/350/257/225/347/224/250/344/276/213/347/274/226/345/206/231/350/247/204/350/214/203/index.html +258 -22
  88. package/dist/plugins/index.html +258 -22
  89. package/dist/pm/bugs/index.html +458 -22
  90. package/dist/pm/iterations/index.html +458 -22
  91. package/dist/pm/projects/detail/index.html +458 -22
  92. package/dist/pm/projects/index.html +458 -22
  93. package/dist/pm/requirements/index.html +458 -22
  94. package/dist/prompts/index.html +458 -22
  95. package/dist/reports/index.html +458 -22
  96. package/dist/requirements/index.html +458 -22
  97. package/dist/tasks/index.html +458 -22
  98. package/dist/templates/index.html +458 -22
  99. package/dist/templates//345/212/237/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212//345/212/237/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212/346/250/241/346/235/277/index.html +258 -22
  100. package/dist/templates//346/200/247/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212//346/200/247/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212/346/250/241/346/235/277/index.html +258 -22
  101. package/dist/templates//346/200/247/350/203/275/346/265/213/350/257/225/347/224/250/344/276/213//346/200/247/350/203/275/346/265/213/350/257/225/347/224/250/344/276/213/346/250/241/346/235/277/index.html +258 -22
  102. package/dist/templates//346/216/245/345/217/243/346/265/213/350/257/225/346/212/245/345/221/212//346/216/245/345/217/243/346/265/213/350/257/225/346/212/245/345/221/212/346/250/241/346/235/277/index.html +258 -22
  103. package/dist/templates//350/207/252/345/212/250/345/214/226/346/265/213/350/257/225/347/224/250/344/276/213//350/207/252/345/212/250/345/214/226/346/265/213/350/257/225/347/224/250/344/276/213/346/250/241/346/235/277/index.html +258 -22
  104. package/dist/test-automation/index.html +717 -0
  105. package/dist/test-stats/index.html +458 -22
  106. package/dist/todos/index.html +458 -22
  107. package/dist/workbench/index.html +517 -0
  108. package/docs//346/223/215/344/275/234/346/211/213/345/206/214.md +85 -34
  109. package/lh-plugins/lh-project-docs.mjs +14 -0
  110. package/lh-plugins/lh-uiauto.mjs +2296 -0
  111. package/lh-plugins/plugin-prompts.mjs +200 -0
  112. package/lh-plugins/storage-domain.mjs +13 -0
  113. package/lh-plugins/uiauto-adapters/index.mjs +57 -0
  114. package/lh-plugins/uiauto-adapters/playwright.mjs +215 -0
  115. package/lh-plugins/uiauto-adapters/pytest.mjs +151 -0
  116. package/lh-plugins/uiauto-adapters/selenium.mjs +163 -0
  117. package/lh-plugins/uiauto-adapters/shared.mjs +371 -0
  118. package/lh-plugins/uiauto-adapters/tasks.mjs +369 -0
  119. package/lh-plugins/uiauto-argv-guard.cjs +41 -0
  120. package/lh-plugins/uiauto-explorer/apps.mjs +332 -0
  121. package/lh-plugins/uiauto-explorer/diff.mjs +159 -0
  122. package/lh-plugins/uiauto-explorer/emit-files.mjs +506 -0
  123. package/lh-plugins/uiauto-explorer/emit-python.mjs +160 -0
  124. package/lh-plugins/uiauto-explorer/emit-ts.mjs +118 -0
  125. package/lh-plugins/uiauto-explorer/emit.mjs +15 -0
  126. package/lh-plugins/uiauto-explorer/ir.mjs +114 -0
  127. package/lh-plugins/uiauto-explorer/locators.mjs +267 -0
  128. package/lh-plugins/uiauto-explorer/merge.mjs +235 -0
  129. package/lh-plugins/uiauto-explorer/plan.mjs +165 -0
  130. package/lh-plugins/uiauto-explorer/runner.mjs +370 -0
  131. package/lh-plugins/uiauto-explorer/sessions.mjs +1373 -0
  132. package/lh-plugins/uiauto-explorer/snapshot.mjs +492 -0
  133. package/lh-plugins/uiauto-prompt.mjs +122 -0
  134. package/lh-plugins/uiauto-report.mjs +111 -0
  135. package/package.json +1 -1
  136. package/dist/_astro/Base.DjIEQkT7.css +0 -1
  137. package/dist/_astro/Base.astro_astro_type_script_index_0_lang.D0snmAJ_.js +0 -1
  138. package/dist/_astro/CaseExecBoard.BAV4EE3o.js +0 -1
  139. package/dist/_astro/CaseGenerateApp.Bz4ryNJG.js +0 -9
  140. package/dist/_astro/CasesLibrary.BPifyHUA.js +0 -1
  141. package/dist/_astro/ChatApp.DLo31SYZ.js +0 -276
  142. package/dist/_astro/ColumnResize.Bs6GL3DJ.js +0 -1
  143. package/dist/_astro/DatePicker.CMfX7F6z.js +0 -1
  144. package/dist/_astro/DocsFileBrowser.D3cKurQE.js +0 -1
  145. package/dist/_astro/DocsPager.rzu4mnzw.js +0 -1
  146. package/dist/_astro/KnowledgeLibrary.B0sO4QR1.js +0 -1
  147. package/dist/_astro/NamePromptDialog.Dl5kSnQI.js +0 -1
  148. package/dist/_astro/NavLibraries.Cvg3wery.js +0 -1
  149. package/dist/_astro/OverflowHint.lzmplP5j.js +0 -1
  150. package/dist/_astro/PluginsPage.DIltPILi.js +0 -39
  151. package/dist/_astro/PluginsPage.uvmSuXzi.js +0 -1
  152. package/dist/_astro/PmBugsBoard.CiaIhCHv.js +0 -1
  153. package/dist/_astro/PmIterationsBoard.H67QwKFw.js +0 -1
  154. package/dist/_astro/PmProjectDetail.DqDoIg8a.js +0 -1
  155. package/dist/_astro/PmProjectsBoard.nOC1Hugt.js +0 -1
  156. package/dist/_astro/PmRequirementsBoard.BPjZ7khP.js +0 -1
  157. package/dist/_astro/PmRequirementsBoard.CanxvcKg.js +0 -1
  158. package/dist/_astro/PmShared.CZnXaUq-.js +0 -1
  159. package/dist/_astro/PromptsLibrary.DU9EuSim.js +0 -1
  160. package/dist/_astro/ReportsPage.Cr88iz8c.js +0 -1
  161. package/dist/_astro/RequirementsLibrary.BwriF8F0.js +0 -1
  162. package/dist/_astro/SearchableSelect.Ctg8V1Z1.js +0 -1
  163. package/dist/_astro/SelectDropdown.Buv7rQJ_.js +0 -1
  164. package/dist/_astro/SettingsDialog.DEgsVfaL.js +0 -1
  165. package/dist/_astro/SlideOverDrawer.TPbGEoWn.js +0 -1
  166. package/dist/_astro/TagSelect.u8DTop7v.js +0 -1
  167. package/dist/_astro/TasksBoard.BZi_GBPG.js +0 -1
  168. package/dist/_astro/TemplatesLibrary.T4K9jUex.js +0 -1
  169. package/dist/_astro/TestStatsBoard.Dd1Kcmx6.js +0 -1
  170. package/dist/_astro/TodosBoard.C4yd_JFb.js +0 -1
  171. package/dist/_astro/active-element-history.CeefGkFQ.js +0 -1
  172. package/dist/_astro/app-config.DKMxjv3g.js +0 -1
  173. package/dist/_astro/dialog.DXHznyjD.js +0 -1
  174. package/dist/_astro/i18n.BXeGGutk.js +0 -7
  175. package/dist/_astro/jsx-runtime.BUXbF_vF.js +0 -1
  176. package/dist/_astro/listbox.Di-t5U37.js +0 -1
  177. package/dist/_astro/menu.Bkluqxic.js +0 -1
  178. package/dist/_astro/prompts-meta.F4wwkjUA.js +0 -2
  179. package/dist/_astro/report-prompt.Cmw4XzfY.js +0 -1
  180. package/dist/_astro/update.DXCPfU4a.js +0 -1
  181. package/dist/_astro/use-text-value.BuY0Cm1z.js +0 -1
  182. package/dist/_astro/use-tree-walker.CfTHFX43.js +0 -1
  183. package/dist/_astro/useListAnim.CpGB1cft.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as e,i as t,r as n,s as r}from"./react-dom.CqAxpHMt.js";import{l as i}from"./ExcelFieldTags.B_XMwNNx.js";var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T=t((()=>{a=`1.13.8`,o=typeof self==`object`&&self.self===self&&self||typeof global==`object`&&global.global===global&&global||Function(`return this`)()||{},s=Array.prototype,c=Object.prototype,l=typeof Symbol<`u`?Symbol.prototype:null,u=s.push,d=s.slice,f=c.toString,p=c.hasOwnProperty,m=typeof ArrayBuffer<`u`,h=typeof DataView<`u`,g=Array.isArray,_=Object.keys,v=Object.create,y=m&&ArrayBuffer.isView,b=isNaN,x=isFinite,S=!{toString:null}.propertyIsEnumerable(`toString`),C=[`valueOf`,`isPrototypeOf`,`toString`,`propertyIsEnumerable`,`hasOwnProperty`,`toLocaleString`],w=2**53-1}));function E(e,t){return t=t==null?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var a=Array(t+1);for(i=0;i<t;i++)a[i]=arguments[i];return a[t]=r,e.apply(this,a)}}var D=t((()=>{}));function O(e){var t=typeof e;return t===`function`||t===`object`&&!!e}var k=t((()=>{}));function A(e){return e===null}var j=t((()=>{}));function M(e){return e===void 0}var N=t((()=>{}));function P(e){return e===!0||e===!1||f.call(e)===`[object Boolean]`}var F=t((()=>{T()}));function I(e){return!!(e&&e.nodeType===1)}var ee=t((()=>{}));function L(e){var t=`[object `+e+`]`;return function(e){return f.call(e)===t}}var R=t((()=>{T()})),te,ne=t((()=>{R(),te=L(`String`)})),re,z=t((()=>{R(),re=L(`Number`)})),ie,ae=t((()=>{R(),ie=L(`Date`)})),B,V=t((()=>{R(),B=L(`RegExp`)})),oe,se=t((()=>{R(),oe=L(`Error`)})),ce,le=t((()=>{R(),ce=L(`Symbol`)})),ue,de=t((()=>{R(),ue=L(`ArrayBuffer`)})),fe,H,U,W=t((()=>{R(),T(),fe=L(`Function`),H=o.document&&o.document.childNodes,typeof/./!=`function`&&typeof Int8Array!=`object`&&typeof H!=`function`&&(fe=function(e){return typeof e==`function`||!1}),U=fe})),pe,me=t((()=>{R(),pe=L(`Object`)})),he,ge,_e=t((()=>{T(),me(),he=h&&(!/\[native code\]/.test(String(DataView))||pe(new DataView(new ArrayBuffer(8)))),ge=typeof Map<`u`&&pe(new Map)}));function ve(e){return e!=null&&U(e.getInt8)&&ue(e.buffer)}var ye,be,xe=t((()=>{R(),W(),de(),_e(),ye=L(`DataView`),be=he?ve:ye})),G,Se=t((()=>{T(),R(),G=g||L(`Array`)}));function Ce(e,t){return e!=null&&p.call(e,t)}var we=t((()=>{T()})),Te,Ee,De=t((()=>{R(),we(),Te=L(`Arguments`),(function(){Te(arguments)||(Te=function(e){return Ce(e,`callee`)})})(),Ee=Te}));function Oe(e){return!ce(e)&&x(e)&&!isNaN(parseFloat(e))}var ke=t((()=>{T(),le()}));function Ae(e){return re(e)&&b(e)}var je=t((()=>{T(),z()}));function Me(e){return function(){return e}}var Ne=t((()=>{}));function Pe(e){return function(t){var n=e(t);return typeof n==`number`&&n>=0&&n<=w}}var Fe=t((()=>{T()}));function Ie(e){return function(t){return t?.[e]}}var Le=t((()=>{})),Re,ze=t((()=>{Le(),Re=Ie(`byteLength`)})),Be,Ve=t((()=>{Fe(),ze(),Be=Pe(Re)}));function He(e){return y?y(e)&&!be(e):Be(e)&&Ue.test(f.call(e))}var Ue,We,Ge=t((()=>{T(),xe(),Ne(),Ve(),Ue=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,We=m?He:Me(!1)})),K,Ke=t((()=>{Le(),K=Ie(`length`)}));function qe(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]===!0},push:function(n){return t[n]=!0,e.push(n)}}}function Je(e,t){t=qe(t);var n=C.length,r=e.constructor,i=U(r)&&r.prototype||c,a=`constructor`;for(Ce(e,a)&&!t.contains(a)&&t.push(a);n--;)a=C[n],a in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}var Ye=t((()=>{T(),W(),we()}));function q(e){if(!O(e))return[];if(_)return _(e);var t=[];for(var n in e)Ce(e,n)&&t.push(n);return S&&Je(e,t),t}var J=t((()=>{k(),T(),we(),Ye()}));function Xe(e){if(e==null)return!0;var t=K(e);return typeof t==`number`&&(G(e)||te(e)||Ee(e))?t===0:K(q(e))===0}var Ze=t((()=>{Ke(),Se(),ne(),De(),J()}));function Qe(e,t){var n=q(t),r=n.length;if(e==null)return!r;for(var i=Object(e),a=0;a<r;a++){var o=n[a];if(t[o]!==i[o]||!(o in i))return!1}return!0}var $e=t((()=>{J()}));function Y(e){if(e instanceof Y)return e;if(!(this instanceof Y))return new Y(e);this._wrapped=e}var et=t((()=>{T(),Y.VERSION=a,Y.prototype.value=function(){return this._wrapped},Y.prototype.valueOf=Y.prototype.toJSON=Y.prototype.value,Y.prototype.toString=function(){return String(this._wrapped)}}));function tt(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Re(e))}var nt=t((()=>{ze()}));function rt(e,t){for(var n=[{a:e,b:t}],r=[],i=[];n.length;){var a=n.pop();if(a===!0)r.pop(),i.pop();else{if(e=a.a,t=a.b,e===t){if(e!==0||1/e==1/t)continue;return!1}if(e==null||t==null)return!1;if(e!==e){if(t!==t)continue;return!1}var o=typeof e;if(o!==`function`&&o!==`object`&&typeof t!=`object`)return!1;e instanceof Y&&(e=e._wrapped),t instanceof Y&&(t=t._wrapped);var s=f.call(e);if(s!==f.call(t))return!1;if(he&&s==`[object Object]`&&be(e)){if(!be(t))return!1;s=it}switch(s){case`[object RegExp]`:case`[object String]`:if(``+e==``+t)continue;return!1;case`[object Number]`:n.push({a:+e,b:+t});continue;case`[object Date]`:case`[object Boolean]`:if(+e==+t)continue;return!1;case`[object Symbol]`:if(l.valueOf.call(e)===l.valueOf.call(t))continue;return!1;case`[object ArrayBuffer]`:case it:n.push({a:tt(e),b:tt(t)});continue}var c=s===`[object Array]`;if(!c&&We(e)){if(Re(e)!==Re(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)continue;c=!0}if(!c){if(typeof e!=`object`||typeof t!=`object`)return!1;var u=e.constructor,d=t.constructor;if(u!==d&&!(U(u)&&u instanceof u&&U(d)&&d instanceof d)&&`constructor`in e&&`constructor`in t)return!1}for(var p=r.length;p--;)if(r[p]===e){if(i[p]===t)break;return!1}if(!(p>=0)){if(r.push(e),i.push(t),n.push(!0),c){if(p=e.length,p!==t.length)return!1;for(;p--;)n.push({a:e[p],b:t[p]})}else{var m=q(e),h;if(p=m.length,q(t).length!==p)return!1;for(;p--;){if(h=m[p],!Ce(t,h))return!1;n.push({a:e[h],b:t[h]})}}}}}return!0}var it,at=t((()=>{et(),T(),ze(),Ge(),W(),_e(),xe(),J(),we(),nt(),it=`[object DataView]`}));function ot(e){if(!O(e))return[];var t=[];for(var n in e)t.push(n);return S&&Je(e,t),t}var st=t((()=>{k(),T(),Ye()}));function ct(e){var t=K(e);return function(n){if(n==null)return!1;var r=ot(n);if(K(r))return!1;for(var i=0;i<t;i++)if(!U(n[e[i]]))return!1;return e!==mt||!U(n[lt])}}var lt,ut,dt,ft,pt,mt,ht,gt=t((()=>{Ke(),W(),st(),lt=`forEach`,ut=`has`,dt=[`clear`,`delete`],ft=[`get`,ut,`set`],pt=dt.concat(lt,ft),mt=dt.concat(ft),ht=[`add`].concat(dt,lt,ut)})),_t,vt=t((()=>{R(),_e(),gt(),_t=ge?ct(pt):L(`Map`)})),yt,bt=t((()=>{R(),_e(),gt(),yt=ge?ct(mt):L(`WeakMap`)})),xt,St=t((()=>{R(),_e(),gt(),xt=ge?ct(ht):L(`Set`)})),Ct,wt=t((()=>{R(),Ct=L(`WeakSet`)}));function Tt(e){for(var t=q(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r}var Et=t((()=>{J()}));function Dt(e){for(var t=q(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r}var Ot=t((()=>{J()}));function kt(e){for(var t={},n=q(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t}var At=t((()=>{J()}));function jt(e){var t=[];for(var n in e)U(e[n])&&t.push(n);return t.sort()}var Mt=t((()=>{W()}));function Nt(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||n==null)return n;for(var i=1;i<r;i++)for(var a=arguments[i],o=e(a),s=o.length,c=0;c<s;c++){var l=o[c];(!t||n[l]===void 0)&&(n[l]=a[l])}return n}}var Pt=t((()=>{})),Ft,It=t((()=>{Pt(),st(),Ft=Nt(ot)})),Lt,Rt=t((()=>{Pt(),J(),Lt=Nt(q)})),zt,Bt=t((()=>{Pt(),st(),zt=Nt(ot,!0)}));function Vt(){return function(){}}function Ht(e){if(!O(e))return{};if(v)return v(e);var t=Vt();t.prototype=e;var n=new t;return t.prototype=null,n}var Ut=t((()=>{k(),T()}));function Wt(e,t){var n=Ht(e);return t&&Lt(n,t),n}var Gt=t((()=>{Ut(),Rt()}));function Kt(e){return O(e)?G(e)?e.slice():Ft({},e):e}var qt=t((()=>{k(),Se(),It()}));function Jt(e,t){return t(e),e}var Yt=t((()=>{}));function Xt(e){return G(e)?e:[e]}var Zt=t((()=>{et(),Se(),Y.toPath=Xt}));function Qt(e){return Y.toPath(e)}var $t=t((()=>{et(),Zt()}));function en(e,t){for(var n=t.length,r=0;r<n;r++){if(e==null)return;e=e[t[r]]}return n?e:void 0}var tn=t((()=>{}));function nn(e,t,n){var r=en(e,Qt(t));return M(r)?n:r}var rn=t((()=>{$t(),tn(),N()}));function an(e,t){t=Qt(t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(!Ce(e,i))return!1;e=e[i]}return!!n}var on=t((()=>{we(),$t()}));function sn(e){return e}var cn=t((()=>{}));function ln(e){return e=Lt({},e),function(t){return Qe(t,e)}}var un=t((()=>{Rt(),$e()}));function dn(e){return e=Qt(e),function(t){return en(t,e)}}var fn=t((()=>{tn(),$t()}));function pn(e,t,n){if(t===void 0)return e;switch(n??3){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,a){return e.call(t,n,r,i,a)}}return function(){return e.apply(t,arguments)}}var mn=t((()=>{}));function hn(e,t,n){return e==null?sn:U(e)?pn(e,t,n):O(e)&&!G(e)?ln(e):dn(e)}var gn=t((()=>{cn(),W(),k(),Se(),un(),fn(),mn()}));function _n(e,t){return hn(e,t,1/0)}var vn=t((()=>{et(),gn(),Y.iteratee=_n}));function X(e,t,n){return Y.iteratee===_n?hn(e,t,n):Y.iteratee(e,t)}var Z=t((()=>{et(),gn(),vn()}));function yn(e,t,n){t=X(t,n);for(var r=q(e),i=r.length,a={},o=0;o<i;o++){var s=r[o];a[s]=t(e[s],s,e)}return a}var bn=t((()=>{Z(),J()}));function xn(){}var Sn=t((()=>{}));function Cn(e){return e==null?xn:function(t){return nn(e,t)}}var wn=t((()=>{Sn(),rn()}));function Tn(e,t,n){var r=Array(Math.max(0,e));t=pn(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r}var En=t((()=>{mn()}));function Dn(e,t){return t??(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}var On=t((()=>{})),kn,An=t((()=>{kn=Date.now||function(){return new Date().getTime()}}));function jn(e){var t=function(t){return e[t]},n=`(?:`+q(e).join(`|`)+`)`,r=RegExp(n),i=RegExp(n,`g`);return function(e){return e=e==null?``:``+e,r.test(e)?e.replace(i,t):e}}var Mn=t((()=>{J()})),Nn,Pn=t((()=>{Nn={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#x27;`,"`":`&#x60;`}})),Fn,In=t((()=>{Mn(),Pn(),Fn=jn(Nn)})),Ln,Rn=t((()=>{At(),Pn(),Ln=kt(Nn)})),zn,Bn=t((()=>{Mn(),Rn(),zn=jn(Ln)})),Vn,Hn=t((()=>{et(),Vn=Y.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g}}));function Un(e){return`\\`+Kn[e]}function Wn(e,t,n){!t&&n&&(t=n),t=zt({},t,Y.templateSettings);var r=RegExp([(t.escape||Gn).source,(t.interpolate||Gn).source,(t.evaluate||Gn).source].join(`|`)+`|$`,`g`),i=0,a=`__p+='`;e.replace(r,function(t,n,r,o,s){return a+=e.slice(i,s).replace(qn,Un),i=s+t.length,n?a+=`'+
1
+ import{i as e,n as t,o as n,r}from"./react.Blvh0GOs.js";import{l as i}from"./ExcelFieldTags.DXMeaDa5.js";var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T=r((()=>{a=`1.13.8`,o=typeof self==`object`&&self.self===self&&self||typeof global==`object`&&global.global===global&&global||Function(`return this`)()||{},s=Array.prototype,c=Object.prototype,l=typeof Symbol<`u`?Symbol.prototype:null,u=s.push,d=s.slice,f=c.toString,p=c.hasOwnProperty,m=typeof ArrayBuffer<`u`,h=typeof DataView<`u`,g=Array.isArray,_=Object.keys,v=Object.create,y=m&&ArrayBuffer.isView,b=isNaN,x=isFinite,S=!{toString:null}.propertyIsEnumerable(`toString`),C=[`valueOf`,`isPrototypeOf`,`toString`,`propertyIsEnumerable`,`hasOwnProperty`,`toLocaleString`],w=2**53-1}));function E(e,t){return t=t==null?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var a=Array(t+1);for(i=0;i<t;i++)a[i]=arguments[i];return a[t]=r,e.apply(this,a)}}var D=r((()=>{}));function O(e){var t=typeof e;return t===`function`||t===`object`&&!!e}var k=r((()=>{}));function A(e){return e===null}var j=r((()=>{}));function M(e){return e===void 0}var N=r((()=>{}));function P(e){return e===!0||e===!1||f.call(e)===`[object Boolean]`}var F=r((()=>{T()}));function I(e){return!!(e&&e.nodeType===1)}var ee=r((()=>{}));function L(e){var t=`[object `+e+`]`;return function(e){return f.call(e)===t}}var R=r((()=>{T()})),te,ne=r((()=>{R(),te=L(`String`)})),re,z=r((()=>{R(),re=L(`Number`)})),ie,ae=r((()=>{R(),ie=L(`Date`)})),B,V=r((()=>{R(),B=L(`RegExp`)})),oe,se=r((()=>{R(),oe=L(`Error`)})),ce,le=r((()=>{R(),ce=L(`Symbol`)})),ue,de=r((()=>{R(),ue=L(`ArrayBuffer`)})),fe,H,U,W=r((()=>{R(),T(),fe=L(`Function`),H=o.document&&o.document.childNodes,typeof/./!=`function`&&typeof Int8Array!=`object`&&typeof H!=`function`&&(fe=function(e){return typeof e==`function`||!1}),U=fe})),pe,me=r((()=>{R(),pe=L(`Object`)})),he,ge,_e=r((()=>{T(),me(),he=h&&(!/\[native code\]/.test(String(DataView))||pe(new DataView(new ArrayBuffer(8)))),ge=typeof Map<`u`&&pe(new Map)}));function ve(e){return e!=null&&U(e.getInt8)&&ue(e.buffer)}var ye,be,xe=r((()=>{R(),W(),de(),_e(),ye=L(`DataView`),be=he?ve:ye})),G,Se=r((()=>{T(),R(),G=g||L(`Array`)}));function Ce(e,t){return e!=null&&p.call(e,t)}var we=r((()=>{T()})),Te,Ee,De=r((()=>{R(),we(),Te=L(`Arguments`),(function(){Te(arguments)||(Te=function(e){return Ce(e,`callee`)})})(),Ee=Te}));function Oe(e){return!ce(e)&&x(e)&&!isNaN(parseFloat(e))}var ke=r((()=>{T(),le()}));function Ae(e){return re(e)&&b(e)}var je=r((()=>{T(),z()}));function Me(e){return function(){return e}}var Ne=r((()=>{}));function Pe(e){return function(t){var n=e(t);return typeof n==`number`&&n>=0&&n<=w}}var Fe=r((()=>{T()}));function Ie(e){return function(t){return t?.[e]}}var Le=r((()=>{})),Re,ze=r((()=>{Le(),Re=Ie(`byteLength`)})),Be,Ve=r((()=>{Fe(),ze(),Be=Pe(Re)}));function He(e){return y?y(e)&&!be(e):Be(e)&&Ue.test(f.call(e))}var Ue,We,Ge=r((()=>{T(),xe(),Ne(),Ve(),Ue=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,We=m?He:Me(!1)})),K,Ke=r((()=>{Le(),K=Ie(`length`)}));function qe(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]===!0},push:function(n){return t[n]=!0,e.push(n)}}}function Je(e,t){t=qe(t);var n=C.length,r=e.constructor,i=U(r)&&r.prototype||c,a=`constructor`;for(Ce(e,a)&&!t.contains(a)&&t.push(a);n--;)a=C[n],a in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}var Ye=r((()=>{T(),W(),we()}));function q(e){if(!O(e))return[];if(_)return _(e);var t=[];for(var n in e)Ce(e,n)&&t.push(n);return S&&Je(e,t),t}var J=r((()=>{k(),T(),we(),Ye()}));function Xe(e){if(e==null)return!0;var t=K(e);return typeof t==`number`&&(G(e)||te(e)||Ee(e))?t===0:K(q(e))===0}var Ze=r((()=>{Ke(),Se(),ne(),De(),J()}));function Qe(e,t){var n=q(t),r=n.length;if(e==null)return!r;for(var i=Object(e),a=0;a<r;a++){var o=n[a];if(t[o]!==i[o]||!(o in i))return!1}return!0}var $e=r((()=>{J()}));function Y(e){if(e instanceof Y)return e;if(!(this instanceof Y))return new Y(e);this._wrapped=e}var et=r((()=>{T(),Y.VERSION=a,Y.prototype.value=function(){return this._wrapped},Y.prototype.valueOf=Y.prototype.toJSON=Y.prototype.value,Y.prototype.toString=function(){return String(this._wrapped)}}));function tt(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Re(e))}var nt=r((()=>{ze()}));function rt(e,t){for(var n=[{a:e,b:t}],r=[],i=[];n.length;){var a=n.pop();if(a===!0)r.pop(),i.pop();else{if(e=a.a,t=a.b,e===t){if(e!==0||1/e==1/t)continue;return!1}if(e==null||t==null)return!1;if(e!==e){if(t!==t)continue;return!1}var o=typeof e;if(o!==`function`&&o!==`object`&&typeof t!=`object`)return!1;e instanceof Y&&(e=e._wrapped),t instanceof Y&&(t=t._wrapped);var s=f.call(e);if(s!==f.call(t))return!1;if(he&&s==`[object Object]`&&be(e)){if(!be(t))return!1;s=it}switch(s){case`[object RegExp]`:case`[object String]`:if(``+e==``+t)continue;return!1;case`[object Number]`:n.push({a:+e,b:+t});continue;case`[object Date]`:case`[object Boolean]`:if(+e==+t)continue;return!1;case`[object Symbol]`:if(l.valueOf.call(e)===l.valueOf.call(t))continue;return!1;case`[object ArrayBuffer]`:case it:n.push({a:tt(e),b:tt(t)});continue}var c=s===`[object Array]`;if(!c&&We(e)){if(Re(e)!==Re(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)continue;c=!0}if(!c){if(typeof e!=`object`||typeof t!=`object`)return!1;var u=e.constructor,d=t.constructor;if(u!==d&&!(U(u)&&u instanceof u&&U(d)&&d instanceof d)&&`constructor`in e&&`constructor`in t)return!1}for(var p=r.length;p--;)if(r[p]===e){if(i[p]===t)break;return!1}if(!(p>=0)){if(r.push(e),i.push(t),n.push(!0),c){if(p=e.length,p!==t.length)return!1;for(;p--;)n.push({a:e[p],b:t[p]})}else{var m=q(e),h;if(p=m.length,q(t).length!==p)return!1;for(;p--;){if(h=m[p],!Ce(t,h))return!1;n.push({a:e[h],b:t[h]})}}}}}return!0}var it,at=r((()=>{et(),T(),ze(),Ge(),W(),_e(),xe(),J(),we(),nt(),it=`[object DataView]`}));function ot(e){if(!O(e))return[];var t=[];for(var n in e)t.push(n);return S&&Je(e,t),t}var st=r((()=>{k(),T(),Ye()}));function ct(e){var t=K(e);return function(n){if(n==null)return!1;var r=ot(n);if(K(r))return!1;for(var i=0;i<t;i++)if(!U(n[e[i]]))return!1;return e!==mt||!U(n[lt])}}var lt,ut,dt,ft,pt,mt,ht,gt=r((()=>{Ke(),W(),st(),lt=`forEach`,ut=`has`,dt=[`clear`,`delete`],ft=[`get`,ut,`set`],pt=dt.concat(lt,ft),mt=dt.concat(ft),ht=[`add`].concat(dt,lt,ut)})),_t,vt=r((()=>{R(),_e(),gt(),_t=ge?ct(pt):L(`Map`)})),yt,bt=r((()=>{R(),_e(),gt(),yt=ge?ct(mt):L(`WeakMap`)})),xt,St=r((()=>{R(),_e(),gt(),xt=ge?ct(ht):L(`Set`)})),Ct,wt=r((()=>{R(),Ct=L(`WeakSet`)}));function Tt(e){for(var t=q(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r}var Et=r((()=>{J()}));function Dt(e){for(var t=q(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r}var Ot=r((()=>{J()}));function kt(e){for(var t={},n=q(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t}var At=r((()=>{J()}));function jt(e){var t=[];for(var n in e)U(e[n])&&t.push(n);return t.sort()}var Mt=r((()=>{W()}));function Nt(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||n==null)return n;for(var i=1;i<r;i++)for(var a=arguments[i],o=e(a),s=o.length,c=0;c<s;c++){var l=o[c];(!t||n[l]===void 0)&&(n[l]=a[l])}return n}}var Pt=r((()=>{})),Ft,It=r((()=>{Pt(),st(),Ft=Nt(ot)})),Lt,Rt=r((()=>{Pt(),J(),Lt=Nt(q)})),zt,Bt=r((()=>{Pt(),st(),zt=Nt(ot,!0)}));function Vt(){return function(){}}function Ht(e){if(!O(e))return{};if(v)return v(e);var t=Vt();t.prototype=e;var n=new t;return t.prototype=null,n}var Ut=r((()=>{k(),T()}));function Wt(e,t){var n=Ht(e);return t&&Lt(n,t),n}var Gt=r((()=>{Ut(),Rt()}));function Kt(e){return O(e)?G(e)?e.slice():Ft({},e):e}var qt=r((()=>{k(),Se(),It()}));function Jt(e,t){return t(e),e}var Yt=r((()=>{}));function Xt(e){return G(e)?e:[e]}var Zt=r((()=>{et(),Se(),Y.toPath=Xt}));function Qt(e){return Y.toPath(e)}var $t=r((()=>{et(),Zt()}));function en(e,t){for(var n=t.length,r=0;r<n;r++){if(e==null)return;e=e[t[r]]}return n?e:void 0}var tn=r((()=>{}));function nn(e,t,n){var r=en(e,Qt(t));return M(r)?n:r}var rn=r((()=>{$t(),tn(),N()}));function an(e,t){t=Qt(t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(!Ce(e,i))return!1;e=e[i]}return!!n}var on=r((()=>{we(),$t()}));function sn(e){return e}var cn=r((()=>{}));function ln(e){return e=Lt({},e),function(t){return Qe(t,e)}}var un=r((()=>{Rt(),$e()}));function dn(e){return e=Qt(e),function(t){return en(t,e)}}var fn=r((()=>{tn(),$t()}));function pn(e,t,n){if(t===void 0)return e;switch(n??3){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,a){return e.call(t,n,r,i,a)}}return function(){return e.apply(t,arguments)}}var mn=r((()=>{}));function hn(e,t,n){return e==null?sn:U(e)?pn(e,t,n):O(e)&&!G(e)?ln(e):dn(e)}var gn=r((()=>{cn(),W(),k(),Se(),un(),fn(),mn()}));function _n(e,t){return hn(e,t,1/0)}var vn=r((()=>{et(),gn(),Y.iteratee=_n}));function X(e,t,n){return Y.iteratee===_n?hn(e,t,n):Y.iteratee(e,t)}var Z=r((()=>{et(),gn(),vn()}));function yn(e,t,n){t=X(t,n);for(var r=q(e),i=r.length,a={},o=0;o<i;o++){var s=r[o];a[s]=t(e[s],s,e)}return a}var bn=r((()=>{Z(),J()}));function xn(){}var Sn=r((()=>{}));function Cn(e){return e==null?xn:function(t){return nn(e,t)}}var wn=r((()=>{Sn(),rn()}));function Tn(e,t,n){var r=Array(Math.max(0,e));t=pn(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r}var En=r((()=>{mn()}));function Dn(e,t){return t??(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}var On=r((()=>{})),kn,An=r((()=>{kn=Date.now||function(){return new Date().getTime()}}));function jn(e){var t=function(t){return e[t]},n=`(?:`+q(e).join(`|`)+`)`,r=RegExp(n),i=RegExp(n,`g`);return function(e){return e=e==null?``:``+e,r.test(e)?e.replace(i,t):e}}var Mn=r((()=>{J()})),Nn,Pn=r((()=>{Nn={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#x27;`,"`":`&#x60;`}})),Fn,In=r((()=>{Mn(),Pn(),Fn=jn(Nn)})),Ln,Rn=r((()=>{At(),Pn(),Ln=kt(Nn)})),zn,Bn=r((()=>{Mn(),Rn(),zn=jn(Ln)})),Vn,Hn=r((()=>{et(),Vn=Y.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g}}));function Un(e){return`\\`+Kn[e]}function Wn(e,t,n){!t&&n&&(t=n),t=zt({},t,Y.templateSettings);var r=RegExp([(t.escape||Gn).source,(t.interpolate||Gn).source,(t.evaluate||Gn).source].join(`|`)+`|$`,`g`),i=0,a=`__p+='`;e.replace(r,function(t,n,r,o,s){return a+=e.slice(i,s).replace(qn,Un),i=s+t.length,n?a+=`'+
2
2
  ((__t=(`+n+`))==null?'':_.escape(__t))+
3
3
  '`:r?a+=`'+
4
4
  ((__t=(`+r+`))==null?'':__t)+
@@ -10,18 +10,18 @@ __p+='`),t}),a+=`';
10
10
  `,o=`obj`;a=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
11
11
  `+a+`return __p;
12
12
  `;var s;try{s=Function(o,`_`,a)}catch(e){throw e.source=a,e}var c=function(e){return s.call(this,e,Y)};return c.source=`function(`+o+`){
13
- `+a+`}`,c}var Gn,Kn,qn,Jn,Yn=t((()=>{Bt(),et(),Hn(),Gn=/(.)^/,Kn={"'":`'`,"\\":`\\`,"\r":`r`,"\n":`n`,"\u2028":`u2028`,"\u2029":`u2029`},qn=/\\|'|\r|\n|\u2028|\u2029/g,Jn=/^\s*(\w|\$)+\s*$/}));function Xn(e,t,n){t=Qt(t);var r=t.length;if(!r)return U(n)?n.call(e):n;for(var i=0;i<r;i++){var a=e?.[t[i]];a===void 0&&(a=n,i=r),e=U(a)?a.call(e):a}return e}var Zn=t((()=>{W(),$t()}));function Qn(e){var t=++$n+``;return e?e+t:t}var $n,er=t((()=>{$n=0}));function tr(e){var t=Y(e);return t._chain=!0,t}var nr=t((()=>{et()}));function rr(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var a=Ht(e.prototype),o=e.apply(a,i);return O(o)?o:a}var ir=t((()=>{Ut(),k()})),ar,or=t((()=>{D(),ir(),et(),ar=E(function(e,t){var n=ar.placeholder,r=function(){for(var i=0,a=t.length,o=Array(a),s=0;s<a;s++)o[s]=t[s]===n?arguments[i++]:t[s];for(;i<arguments.length;)o.push(arguments[i++]);return rr(e,r,this,this,o)};return r}),ar.placeholder=Y})),sr,cr=t((()=>{D(),W(),ir(),sr=E(function(e,t,n){if(!U(e))throw TypeError(`Bind must be called on a function`);var r=E(function(i){return rr(e,r,t,this,n.concat(i))});return r})})),lr,ur=t((()=>{Fe(),Ke(),lr=Pe(K)}));function dr(e,t,n){!t&&t!==0&&(t=1/0);for(var r=[],i=0,a=0,o=K(e)||0,s=[];;)if(a>=o){if(!s.length)break;var c=s.pop();a=c.i,e=c.v,o=K(e)}else{var l=e[a++];s.length>=t?r[i++]=l:lr(l)&&(G(l)||Ee(l))?(s.push({i:a,v:e}),a=0,e=l,o=K(e)):n||(r[i++]=l)}return r}var fr=t((()=>{Ke(),ur(),Se(),De()})),pr,mr=t((()=>{D(),fr(),cr(),pr=E(function(e,t){t=dr(t,!1,!1);var n=t.length;if(n<1)throw Error(`bindAll must be passed function names`);for(;n--;){var r=t[n];e[r]=sr(e[r],e)}return e})}));function hr(e,t){var n=function(r){var i=n.cache,a=``+(t?t.apply(this,arguments):r);return Ce(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return n.cache={},n}var gr=t((()=>{we()})),_r,vr=t((()=>{D(),_r=E(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)})})),yr,br=t((()=>{or(),vr(),et(),yr=ar(_r,Y,1)}));function xr(e,t,n){var r,i,a,o,s=0;n||={};var c=function(){s=n.leading===!1?0:kn(),r=null,o=e.apply(i,a),r||(i=a=null)},l=function(){var l=kn();!s&&n.leading===!1&&(s=l);var u=t-(l-s);return i=this,a=arguments,u<=0||u>t?(r&&=(clearTimeout(r),null),s=l,o=e.apply(i,a),r||(i=a=null)):!r&&n.trailing!==!1&&(r=setTimeout(c,u)),o};return l.cancel=function(){clearTimeout(r),s=0,r=i=a=null},l}var Sr=t((()=>{An()}));function Cr(e,t,n){var r,i,a,o,s,c=function(){var l=kn()-i;t>l?r=setTimeout(c,t-l):(r=null,n||(o=e.apply(s,a)),r||(a=s=null))},l=E(function(l){return s=this,a=l,i=kn(),r||(r=setTimeout(c,t),n&&(o=e.apply(s,a))),o});return l.cancel=function(){clearTimeout(r),r=a=s=null},l}var wr=t((()=>{D(),An()}));function Tr(e,t){return ar(t,e)}var Er=t((()=>{or()}));function Dr(e){return function(){return!e.apply(this,arguments)}}var Or=t((()=>{}));function kr(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}var Ar=t((()=>{}));function jr(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}var Mr=t((()=>{}));function Nr(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var Pr=t((()=>{})),Fr,Ir=t((()=>{or(),Pr(),Fr=ar(Nr,2)}));function Lr(e,t,n){t=X(t,n);for(var r=q(e),i,a=0,o=r.length;a<o;a++)if(i=r[a],t(e[i],i,e))return i}var Rr=t((()=>{Z(),J()}));function zr(e){return function(t,n,r){n=X(n,r);for(var i=K(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(n(t[a],a,t))return a;return-1}}var Br=t((()=>{Z(),Ke()})),Vr,Hr=t((()=>{Br(),Vr=zr(1)})),Ur,Wr=t((()=>{Br(),Ur=zr(-1)}));function Gr(e,t,n,r){n=X(n,r,1);for(var i=n(t),a=0,o=K(e);a<o;){var s=Math.floor((a+o)/2);n(e[s])<i?a=s+1:o=s}return a}var Kr=t((()=>{Z(),Ke()}));function qr(e,t,n){return function(r,i,a){var o=0,s=K(r);if(typeof a==`number`)e>0?o=a>=0?a:Math.max(a+s,o):s=a>=0?Math.min(a+1,s):a+s+1;else if(n&&a&&s)return a=n(r,i),r[a]===i?a:-1;if(i!==i)return a=t(d.call(r,o,s),Ae),a>=0?a+o:-1;for(a=e>0?o:s-1;a>=0&&a<s;a+=e)if(r[a]===i)return a;return-1}}var Jr=t((()=>{Ke(),T(),je()})),Yr,Xr=t((()=>{Kr(),Hr(),Jr(),Yr=qr(1,Vr,Gr)})),Zr,Qr=t((()=>{Wr(),Jr(),Zr=qr(-1,Ur)}));function $r(e,t,n){var r=(lr(e)?Vr:Lr)(e,t,n);if(r!==void 0&&r!==-1)return e[r]}var ei=t((()=>{ur(),Hr(),Rr()}));function ti(e,t){return $r(e,ln(t))}var ni=t((()=>{ei(),un()}));function ri(e,t,n){t=pn(t,n);var r,i;if(lr(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var a=q(e);for(r=0,i=a.length;r<i;r++)t(e[a[r]],a[r],e)}return e}var ii=t((()=>{mn(),ur(),J()}));function ai(e,t,n){t=X(t,n);for(var r=!lr(e)&&q(e),i=(r||e).length,a=Array(i),o=0;o<i;o++){var s=r?r[o]:o;a[o]=t(e[s],s,e)}return a}var oi=t((()=>{Z(),ur(),J()}));function si(e){var t=function(t,n,r,i){var a=!lr(t)&&q(t),o=(a||t).length,s=e>0?0:o-1;for(i||(r=t[a?a[s]:s],s+=e);s>=0&&s<o;s+=e){var c=a?a[s]:s;r=n(r,t[c],c,t)}return r};return function(e,n,r,i){var a=arguments.length>=3;return t(e,pn(n,i,4),r,a)}}var ci=t((()=>{ur(),J(),mn()})),li,ui=t((()=>{ci(),li=si(1)})),di,fi=t((()=>{ci(),di=si(-1)}));function pi(e,t,n){var r=[];return t=X(t,n),ri(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r}var mi=t((()=>{Z(),ii()}));function hi(e,t,n){return pi(e,Dr(X(t)),n)}var gi=t((()=>{mi(),Or(),Z()}));function _i(e,t,n){t=X(t,n);for(var r=!lr(e)&&q(e),i=(r||e).length,a=0;a<i;a++){var o=r?r[a]:a;if(!t(e[o],o,e))return!1}return!0}var vi=t((()=>{Z(),ur(),J()}));function yi(e,t,n){t=X(t,n);for(var r=!lr(e)&&q(e),i=(r||e).length,a=0;a<i;a++){var o=r?r[a]:a;if(t(e[o],o,e))return!0}return!1}var bi=t((()=>{Z(),ur(),J()}));function xi(e,t,n,r){return lr(e)||(e=Tt(e)),(typeof n!=`number`||r)&&(n=0),Yr(e,t,n)>=0}var Si=t((()=>{ur(),Et(),Xr()})),Ci,wi=t((()=>{D(),W(),oi(),tn(),$t(),Ci=E(function(e,t,n){var r,i;return U(t)?i=t:(t=Qt(t),r=t.slice(0,-1),t=t[t.length-1]),ai(e,function(e){var a=i;if(!a){if(r&&r.length&&(e=en(e,r)),e==null)return;a=e[t]}return a==null?a:a.apply(e,n)})})}));function Ti(e,t){return ai(e,dn(t))}var Ei=t((()=>{oi(),fn()}));function Di(e,t){return pi(e,ln(t))}var Oi=t((()=>{mi(),un()}));function ki(e,t,n){var r=-1/0,i=-1/0,a,o;if(t==null||typeof t==`number`&&typeof e[0]!=`object`&&e!=null){e=lr(e)?e:Tt(e);for(var s=0,c=e.length;s<c;s++)a=e[s],a!=null&&a>r&&(r=a)}else t=X(t,n),ri(e,function(e,n,a){o=t(e,n,a),(o>i||o===-1/0&&r===-1/0)&&(r=e,i=o)});return r}var Ai=t((()=>{ur(),Et(),Z(),ii()}));function ji(e,t,n){var r=1/0,i=1/0,a,o;if(t==null||typeof t==`number`&&typeof e[0]!=`object`&&e!=null){e=lr(e)?e:Tt(e);for(var s=0,c=e.length;s<c;s++)a=e[s],a!=null&&a<r&&(r=a)}else t=X(t,n),ri(e,function(e,n,a){o=t(e,n,a),(o<i||o===1/0&&r===1/0)&&(r=e,i=o)});return r}var Mi=t((()=>{ur(),Et(),Z(),ii()}));function Ni(e){return e?G(e)?d.call(e):te(e)?e.match(Pi):lr(e)?ai(e,sn):Tt(e):[]}var Pi,Fi=t((()=>{Se(),T(),ne(),ur(),oi(),cn(),Et(),Pi=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g}));function Ii(e,t,n){if(t==null||n)return lr(e)||(e=Tt(e)),e[Dn(e.length-1)];var r=Ni(e),i=K(r);t=Math.max(Math.min(t,i),0);for(var a=i-1,o=0;o<t;o++){var s=Dn(o,a),c=r[o];r[o]=r[s],r[s]=c}return r.slice(0,t)}var Li=t((()=>{ur(),Et(),Ke(),On(),Fi()}));function Ri(e){return Ii(e,1/0)}var zi=t((()=>{Li()}));function Bi(e,t,n){var r=0;return t=X(t,n),Ti(ai(e,function(e,n,i){return{value:e,index:r++,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||n===void 0)return 1;if(n<r||r===void 0)return-1}return e.index-t.index}),`value`)}var Vi=t((()=>{Z(),Ei(),oi()}));function Hi(e,t){return function(n,r,i){var a=t?[[],[]]:{};return r=X(r,i),ri(n,function(t,i){e(a,t,r(t,i,n))}),a}}var Ui=t((()=>{Z(),ii()})),Wi,Gi=t((()=>{Ui(),we(),Wi=Hi(function(e,t,n){Ce(e,n)?e[n].push(t):e[n]=[t]})})),Ki,qi=t((()=>{Ui(),Ki=Hi(function(e,t,n){e[n]=t})})),Ji,Yi=t((()=>{Ui(),we(),Ji=Hi(function(e,t,n){Ce(e,n)?e[n]++:e[n]=1})})),Xi,Zi=t((()=>{Ui(),Xi=Hi(function(e,t,n){e[+!n].push(t)},!0)}));function Qi(e){return e==null?0:lr(e)?e.length:q(e).length}var $i=t((()=>{ur(),J()}));function ea(e,t,n){return t in n}var ta=t((()=>{})),na,ra=t((()=>{D(),W(),mn(),st(),ta(),fr(),na=E(function(e,t){var n={},r=t[0];if(e==null)return n;U(r)?(t.length>1&&(r=pn(r,t[1])),t=ot(e)):(r=ea,t=dr(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var o=t[i],s=e[o];r(s,o,e)&&(n[o]=s)}return n})})),ia,aa=t((()=>{D(),W(),Or(),oi(),fr(),Si(),ra(),ia=E(function(e,t){var n=t[0],r;return U(n)?(n=Dr(n),t.length>1&&(r=t[1])):(t=ai(dr(t,!1,!1),String),n=function(e,n){return!xi(t,n)}),na(e,n,r)})}));function oa(e,t,n){return d.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))}var sa=t((()=>{T()}));function ca(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[0]:oa(e,e.length-t)}var la=t((()=>{sa()}));function ua(e,t,n){return d.call(e,t==null||n?1:t)}var da=t((()=>{T()}));function fa(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[e.length-1]:ua(e,Math.max(0,e.length-t))}var pa=t((()=>{da()}));function ma(e){return pi(e,Boolean)}var ha=t((()=>{mi()}));function ga(e,t){return dr(e,t,!1)}var _a=t((()=>{fr()})),va,ya=t((()=>{D(),fr(),mi(),Si(),va=E(function(e,t){return t=dr(t,!0,!0),pi(e,function(e){return!xi(t,e)})})})),ba,xa=t((()=>{D(),ya(),ba=E(function(e,t){return va(e,t)})}));function Sa(e,t,n,r){P(t)||(r=n,n=t,t=!1),n!=null&&(n=X(n,r));for(var i=[],a=[],o=0,s=K(e);o<s;o++){var c=e[o],l=n?n(c,o,e):c;t&&!n?((!o||a!==l)&&i.push(c),a=l):n?xi(a,l)||(a.push(l),i.push(c)):xi(i,c)||i.push(c)}return i}var Ca=t((()=>{F(),Z(),Ke(),Si()})),wa,Ta=t((()=>{D(),Ca(),fr(),wa=E(function(e){return Sa(dr(e,!0,!0))})}));function Ea(e){for(var t=[],n=arguments.length,r=0,i=K(e);r<i;r++){var a=e[r];if(!xi(t,a)){for(var o=1;o<n&&xi(arguments[o],a);o++);o===n&&t.push(a)}}return t}var Da=t((()=>{Ke(),Si()}));function Oa(e){for(var t=e&&ki(e,K).length||0,n=Array(t),r=0;r<t;r++)n[r]=Ti(e,r);return n}var ka=t((()=>{Ai(),Ke(),Ei()})),Aa,ja=t((()=>{D(),ka(),Aa=E(Oa)}));function Ma(e,t){for(var n={},r=0,i=K(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}var Na=t((()=>{Ke()}));function Pa(e,t,n){t??(t=e||0,e=0),n||=t<e?-1:1;for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),a=0;a<r;a++,e+=n)i[a]=e;return i}var Fa=t((()=>{}));function Ia(e,t){if(t==null||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(d.call(e,r,r+=t));return n}var La=t((()=>{T()}));function Ra(e,t){return e._chain?Y(t).chain():t}var za=t((()=>{et()}));function Ba(e){return ri(jt(e),function(t){var n=Y[t]=e[t];Y.prototype[t]=function(){var e=[this._wrapped];return u.apply(e,arguments),Ra(this,n.apply(Y,e))}}),Y}var Va=t((()=>{et(),ii(),Mt(),T(),za()})),Ha,Ua=t((()=>{et(),ii(),T(),za(),ri([`pop`,`push`,`reverse`,`shift`,`sort`,`splice`,`unshift`],function(e){var t=s[e];Y.prototype[e]=function(){var n=this._wrapped;return n!=null&&(t.apply(n,arguments),(e===`shift`||e===`splice`)&&n.length===0&&delete n[0]),Ra(this,n)}}),ri([`concat`,`join`,`slice`],function(e){var t=s[e];Y.prototype[e]=function(){var e=this._wrapped;return e!=null&&(e=t.apply(e,arguments)),Ra(this,e)}}),Ha=Y})),Wa=e({VERSION:()=>a,after:()=>jr,all:()=>_i,allKeys:()=>ot,any:()=>yi,assign:()=>Lt,before:()=>Nr,bind:()=>sr,bindAll:()=>pr,chain:()=>tr,chunk:()=>Ia,clone:()=>Kt,collect:()=>ai,compact:()=>ma,compose:()=>kr,constant:()=>Me,contains:()=>xi,countBy:()=>Ji,create:()=>Wt,debounce:()=>Cr,default:()=>Ha,defaults:()=>zt,defer:()=>yr,delay:()=>_r,detect:()=>$r,difference:()=>va,drop:()=>ua,each:()=>ri,escape:()=>Fn,every:()=>_i,extend:()=>Ft,extendOwn:()=>Lt,filter:()=>pi,find:()=>$r,findIndex:()=>Vr,findKey:()=>Lr,findLastIndex:()=>Ur,findWhere:()=>ti,first:()=>ca,flatten:()=>ga,foldl:()=>li,foldr:()=>di,forEach:()=>ri,functions:()=>jt,get:()=>nn,groupBy:()=>Wi,has:()=>an,head:()=>ca,identity:()=>sn,include:()=>xi,includes:()=>xi,indexBy:()=>Ki,indexOf:()=>Yr,initial:()=>oa,inject:()=>li,intersection:()=>Ea,invert:()=>kt,invoke:()=>Ci,isArguments:()=>Ee,isArray:()=>G,isArrayBuffer:()=>ue,isBoolean:()=>P,isDataView:()=>be,isDate:()=>ie,isElement:()=>I,isEmpty:()=>Xe,isEqual:()=>rt,isError:()=>oe,isFinite:()=>Oe,isFunction:()=>U,isMap:()=>_t,isMatch:()=>Qe,isNaN:()=>Ae,isNull:()=>A,isNumber:()=>re,isObject:()=>O,isRegExp:()=>B,isSet:()=>xt,isString:()=>te,isSymbol:()=>ce,isTypedArray:()=>We,isUndefined:()=>M,isWeakMap:()=>yt,isWeakSet:()=>Ct,iteratee:()=>_n,keys:()=>q,last:()=>fa,lastIndexOf:()=>Zr,map:()=>ai,mapObject:()=>yn,matcher:()=>ln,matches:()=>ln,max:()=>ki,memoize:()=>hr,methods:()=>jt,min:()=>ji,mixin:()=>Ba,negate:()=>Dr,noop:()=>xn,now:()=>kn,object:()=>Ma,omit:()=>ia,once:()=>Fr,pairs:()=>Dt,partial:()=>ar,partition:()=>Xi,pick:()=>na,pluck:()=>Ti,property:()=>dn,propertyOf:()=>Cn,random:()=>Dn,range:()=>Pa,reduce:()=>li,reduceRight:()=>di,reject:()=>hi,rest:()=>ua,restArguments:()=>E,result:()=>Xn,sample:()=>Ii,select:()=>pi,shuffle:()=>Ri,size:()=>Qi,some:()=>yi,sortBy:()=>Bi,sortedIndex:()=>Gr,tail:()=>ua,take:()=>ca,tap:()=>Jt,template:()=>Wn,templateSettings:()=>Vn,throttle:()=>xr,times:()=>Tn,toArray:()=>Ni,toPath:()=>Xt,transpose:()=>Oa,unescape:()=>zn,union:()=>wa,uniq:()=>Sa,unique:()=>Sa,uniqueId:()=>Qn,unzip:()=>Oa,values:()=>Tt,where:()=>Di,without:()=>ba,wrap:()=>Tr,zip:()=>Aa}),Ga=t((()=>{T(),D(),k(),j(),N(),F(),ee(),ne(),z(),ae(),V(),se(),le(),de(),xe(),Se(),W(),De(),ke(),je(),Ge(),Ze(),$e(),at(),vt(),bt(),St(),wt(),J(),st(),Et(),Ot(),At(),Mt(),It(),Rt(),Bt(),Gt(),qt(),Yt(),rn(),on(),bn(),cn(),Ne(),Sn(),Zt(),fn(),wn(),un(),En(),On(),An(),In(),Bn(),Hn(),Yn(),Zn(),er(),nr(),vn(),or(),cr(),mr(),gr(),vr(),br(),Sr(),wr(),Er(),Or(),Ar(),Mr(),Pr(),Ir(),Rr(),Hr(),Wr(),Kr(),Xr(),Qr(),ei(),ni(),ii(),oi(),ui(),fi(),mi(),gi(),vi(),bi(),Si(),wi(),Ei(),Oi(),Ai(),Mi(),zi(),Li(),Vi(),Gi(),qi(),Yi(),Zi(),Fi(),$i(),ra(),aa(),la(),sa(),pa(),da(),ha(),_a(),xa(),Ca(),Ta(),Da(),ya(),ka(),ja(),Na(),Fa(),La(),Va(),Ua()})),Ka,qa=t((()=>{Ga(),Ka=Ba(Wa),Ka._=Ka})),Q=e({VERSION:()=>a,after:()=>jr,all:()=>_i,allKeys:()=>ot,any:()=>yi,assign:()=>Lt,before:()=>Nr,bind:()=>sr,bindAll:()=>pr,chain:()=>tr,chunk:()=>Ia,clone:()=>Kt,collect:()=>ai,compact:()=>ma,compose:()=>kr,constant:()=>Me,contains:()=>xi,countBy:()=>Ji,create:()=>Wt,debounce:()=>Cr,default:()=>Ka,defaults:()=>zt,defer:()=>yr,delay:()=>_r,detect:()=>$r,difference:()=>va,drop:()=>ua,each:()=>ri,escape:()=>Fn,every:()=>_i,extend:()=>Ft,extendOwn:()=>Lt,filter:()=>pi,find:()=>$r,findIndex:()=>Vr,findKey:()=>Lr,findLastIndex:()=>Ur,findWhere:()=>ti,first:()=>ca,flatten:()=>ga,foldl:()=>li,foldr:()=>di,forEach:()=>ri,functions:()=>jt,get:()=>nn,groupBy:()=>Wi,has:()=>an,head:()=>ca,identity:()=>sn,include:()=>xi,includes:()=>xi,indexBy:()=>Ki,indexOf:()=>Yr,initial:()=>oa,inject:()=>li,intersection:()=>Ea,invert:()=>kt,invoke:()=>Ci,isArguments:()=>Ee,isArray:()=>G,isArrayBuffer:()=>ue,isBoolean:()=>P,isDataView:()=>be,isDate:()=>ie,isElement:()=>I,isEmpty:()=>Xe,isEqual:()=>rt,isError:()=>oe,isFinite:()=>Oe,isFunction:()=>U,isMap:()=>_t,isMatch:()=>Qe,isNaN:()=>Ae,isNull:()=>A,isNumber:()=>re,isObject:()=>O,isRegExp:()=>B,isSet:()=>xt,isString:()=>te,isSymbol:()=>ce,isTypedArray:()=>We,isUndefined:()=>M,isWeakMap:()=>yt,isWeakSet:()=>Ct,iteratee:()=>_n,keys:()=>q,last:()=>fa,lastIndexOf:()=>Zr,map:()=>ai,mapObject:()=>yn,matcher:()=>ln,matches:()=>ln,max:()=>ki,memoize:()=>hr,methods:()=>jt,min:()=>ji,mixin:()=>Ba,negate:()=>Dr,noop:()=>xn,now:()=>kn,object:()=>Ma,omit:()=>ia,once:()=>Fr,pairs:()=>Dt,partial:()=>ar,partition:()=>Xi,pick:()=>na,pluck:()=>Ti,property:()=>dn,propertyOf:()=>Cn,random:()=>Dn,range:()=>Pa,reduce:()=>li,reduceRight:()=>di,reject:()=>hi,rest:()=>ua,restArguments:()=>E,result:()=>Xn,sample:()=>Ii,select:()=>pi,shuffle:()=>Ri,size:()=>Qi,some:()=>yi,sortBy:()=>Bi,sortedIndex:()=>Gr,tail:()=>ua,take:()=>ca,tap:()=>Jt,template:()=>Wn,templateSettings:()=>Vn,throttle:()=>xr,times:()=>Tn,toArray:()=>Ni,toPath:()=>Xt,transpose:()=>Oa,unescape:()=>zn,union:()=>wa,uniq:()=>Sa,unique:()=>Sa,uniqueId:()=>Qn,unzip:()=>Oa,values:()=>Tt,where:()=>Di,without:()=>ba,wrap:()=>Tr,zip:()=>Aa}),$=t((()=>{qa(),Ga()})),Ja=n((e=>{var t=($(),r(Q));e.defer=o,e.Promise=Promise,e.resolve=Promise.resolve.bind(Promise),e.reject=Promise.reject.bind(Promise),e.forEachSeries=function(e,t){var n=0,r=o(),i=function(){if(n<e.length){var a=e[n];n++,t(a).then(i,r.reject)}else r.resolve()};return i(),r.promise};var n=e.props=function(e){var t=Object.keys(e),n=Object.values(e);return a(Promise.all(n).then(function(e){for(var n={},r=0;r<t.length;r++)n[t[r]]=e[r];return n}))},i=function(e){return a(this.then(function(r){return n(t.extend({},r,e(r)))}))};function a(e){return e.also=i,e}e.try=function(e){try{return Promise.resolve(e())}catch(e){return Promise.reject(e)}};function o(){var e,t,n=new Promise(function(n,r){e=n,t=r});return{resolve:e,reject:t,promise:n}}function s(e){var t=new Promise(e);return t.__proto__=s.prototype,t}s.__proto__=Promise,s.prototype.__proto__=Promise.prototype,s.prototype.done=function(e,t){return this.then(e,t).catch(function(e){if(l()){var t=e instanceof Error?e.stack:e;process.stderr.write(`Fatal `+t+`
14
- `),process.exit(2)}else setTimeout(function(){throw e},0)})};function c(e){return s.resolve(e)}e.toExternalPromise=c;function l(){return typeof process>`u`?!1:{}.toString.call(process).toLowerCase()===`[object process]`}})),Ya=n((e=>{var t=($(),r(Q)),n=e.types={document:`document`,paragraph:`paragraph`,run:`run`,text:`text`,tab:`tab`,checkbox:`checkbox`,hyperlink:`hyperlink`,noteReference:`noteReference`,image:`image`,note:`note`,commentReference:`commentReference`,comment:`comment`,table:`table`,tableRow:`tableRow`,tableCell:`tableCell`,break:`break`,bookmarkStart:`bookmarkStart`};function i(e,t){return t||={},{type:n.document,children:e,notes:t.notes||new p({}),comments:t.comments||[]}}function a(e,t){t||={};var r=t.indent||{};return{type:n.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.numbering||null,alignment:t.alignment||null,indent:{start:r.start||null,end:r.end||null,firstLine:r.firstLine||null,hanging:r.hanging||null}}}function o(e,t){return t||={},{type:n.run,children:e,styleId:t.styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||s.baseline,font:t.font||null,fontSize:t.fontSize||null,highlight:t.highlight||null}}var s={baseline:`baseline`,superscript:`superscript`,subscript:`subscript`};function c(e){return{type:n.text,value:e}}function l(){return{type:n.tab}}function u(e){return{type:n.checkbox,checked:e.checked}}function d(e,t){return{type:n.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}}function f(e){return{type:n.noteReference,noteType:e.noteType,noteId:e.noteId}}function p(e){this._notes=t.indexBy(e,function(e){return _(e.noteType,e.noteId)})}p.prototype.resolve=function(e){return this.findNoteByKey(_(e.noteType,e.noteId))},p.prototype.findNoteByKey=function(e){return this._notes[e]||null};function m(e){return{type:n.note,noteType:e.noteType,noteId:e.noteId,body:e.body}}function h(e){return{type:n.commentReference,commentId:e.commentId}}function g(e){return{type:n.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}}function _(e,t){return e+`-`+t}function v(e){return{type:n.image,read:function(t){return t?e.readImage(t):e.readImage().then(function(e){return Buffer.from(e)})},readAsArrayBuffer:function(){return e.readImage()},readAsBase64String:function(){return e.readImage(`base64`)},readAsBuffer:function(){return e.readImage().then(function(e){return Buffer.from(e)})},altText:e.altText,contentType:e.contentType}}function y(e,t){return t||={},{type:n.table,children:e,styleId:t.styleId||null,styleName:t.styleName||null}}function b(e,t){return t||={},{type:n.tableRow,children:e,isHeader:t.isHeader||!1}}function x(e,t){return t||={},{type:n.tableCell,children:e,colSpan:t.colSpan==null?1:t.colSpan,rowSpan:t.rowSpan==null?1:t.rowSpan}}function S(e){return{type:n.break,breakType:e}}function C(e){return{type:n.bookmarkStart,name:e.name}}e.document=e.Document=i,e.paragraph=e.Paragraph=a,e.run=e.Run=o,e.text=e.Text=c,e.tab=e.Tab=l,e.checkbox=e.Checkbox=u,e.Hyperlink=d,e.noteReference=e.NoteReference=f,e.Notes=p,e.Note=m,e.commentReference=h,e.comment=g,e.Image=v,e.Table=y,e.TableRow=b,e.TableCell=x,e.lineBreak=S(`line`),e.pageBreak=S(`page`),e.columnBreak=S(`column`),e.BookmarkStart=C,e.verticalAlignment=s})),Xa=n((e=>{var t=($(),r(Q));e.Result=n,e.success=i,e.warning=a,e.error=o;function n(e,t){this.value=e,this.messages=t||[]}n.prototype.map=function(e){return new n(e(this.value),this.messages)},n.prototype.flatMap=function(e){var t=e(this.value);return new n(t.value,s([this,t]))},n.prototype.flatMapThen=function(e){var t=this;return e(this.value).then(function(e){return new n(e.value,s([t,e]))})},n.combine=function(e){return new n(t.flatten(t.pluck(e,`value`)),s(e))};function i(e){return new n(e,[])}function a(e){return{type:`warning`,message:e}}function o(e){return{type:`error`,message:e.message,error:e}}function s(e){var n=[];return t.flatten(t.pluck(e,`messages`),!0).forEach(function(e){c(n,e)||n.push(e)}),n}function c(e,n){return t.find(e,l.bind(null,n))!==void 0}function l(e,t){return e.type===t.type&&e.message===t.message}})),Za=n((e=>{e.byteLength=c,e.toByteArray=u,e.fromByteArray=p;for(var t=[],n=[],r=typeof Uint8Array<`u`?Uint8Array:Array,i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,a=0,o=i.length;a<o;++a)t[a]=i[a],n[i.charCodeAt(a)]=a;n[45]=62,n[95]=63;function s(e){var t=e.length;if(t%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var n=e.indexOf(`=`);n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=s(e),n=t[0],r=t[1];return(n+r)*3/4-r}function l(e,t,n){return(t+n)*3/4-n}function u(e){for(var t,i=s(e),a=i[0],o=i[1],c=new r(l(e,a,o)),u=0,d=o>0?a-4:a,f=0;f<d;f+=4)t=n[e.charCodeAt(f)]<<18|n[e.charCodeAt(f+1)]<<12|n[e.charCodeAt(f+2)]<<6|n[e.charCodeAt(f+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=t&255;return o===2&&(t=n[e.charCodeAt(f)]<<2|n[e.charCodeAt(f+1)]>>4,c[u++]=t&255),o===1&&(t=n[e.charCodeAt(f)]<<10|n[e.charCodeAt(f+1)]<<4|n[e.charCodeAt(f+2)]>>2,c[u++]=t>>8&255,c[u++]=t&255),c}function d(e){return t[e>>18&63]+t[e>>12&63]+t[e>>6&63]+t[e&63]}function f(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),i.push(d(r));return i.join(``)}function p(e){for(var n,r=e.length,i=r%3,a=[],o=16383,s=0,c=r-i;s<c;s+=o)a.push(f(e,s,s+o>c?c:s+o));return i===1?(n=e[r-1],a.push(t[n>>2]+t[n<<4&63]+`==`)):i===2&&(n=(e[r-2]<<8)+e[r-1],a.push(t[n>>10]+t[n>>4&63]+t[n<<2&63]+`=`)),a.join(``)}})),Qa=n((e=>{var t=Za(),n=i();e.openArrayBuffer=r,e.splitPath=a,e.joinPath=o;function r(e){return n.loadAsync(e).then(function(e){function n(t){return e.file(t)!==null}function r(n,r){return e.file(n).async(`uint8array`).then(function(e){return r===`base64`?t.fromByteArray(e):r?new TextDecoder(r).decode(e):e})}function i(t,n){e.file(t,n)}function a(){return e.generateAsync({type:`arraybuffer`})}return{exists:n,read:r,write:i,toArrayBuffer:a}})}function a(e){var t=e.lastIndexOf(`/`);return t===-1?{dirname:``,basename:e}:{dirname:e.substring(0,t),basename:e.substring(t+1)}}function o(){var e=Array.prototype.filter.call(arguments,function(e){return e}),t=[];return e.forEach(function(e){/^\//.test(e)?t=[e]:t.push(e)}),t.join(`/`)}})),$a=n((e=>{var t=($(),r(Q));e.Element=i,e.element=function(e,t,n){return new i(e,t,n)},e.text=function(e){return{type:`text`,value:e}};var n=e.emptyElement={first:function(){return null},firstOrEmpty:function(){return n},attributes:{},children:[]};function i(e,t,n){this.type=`element`,this.name=e,this.attributes=t||{},this.children=n||[]}i.prototype.first=function(e){return t.find(this.children,function(t){return t.name===e})},i.prototype.firstOrEmpty=function(e){return this.first(e)||n},i.prototype.getElementsByTagName=function(e){return o(t.filter(this.children,function(t){return t.name===e}))},i.prototype.text=function(){if(this.children.length===0)return``;if(this.children.length!==1||this.children[0].type!==`text`)throw Error(`Not implemented`);return this.children[0].value};var a={getElementsByTagName:function(e){return o(t.flatten(this.map(function(t){return t.getElementsByTagName(e)},!0)))}};function o(e){return t.extend(e,a)}})),eo=n((e=>{function t(e,t,n){if(n===void 0&&(n=Array.prototype),e&&typeof n.find==`function`)return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}}function n(e,t){return t===void 0&&(t=Object),t&&typeof t.freeze==`function`?t.freeze(e):e}function r(e,t){if(typeof e!=`object`||!e)throw TypeError(`target is not an object`);for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var i=n({HTML:`text/html`,isHTML:function(e){return e===i.HTML},XML_APPLICATION:`application/xml`,XML_TEXT:`text/xml`,XML_XHTML_APPLICATION:`application/xhtml+xml`,XML_SVG_IMAGE:`image/svg+xml`}),a=n({HTML:`http://www.w3.org/1999/xhtml`,isHTML:function(e){return e===a.HTML},SVG:`http://www.w3.org/2000/svg`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`}),o=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,s=RegExp(`[\\-\\.0-9`+o.source.slice(1,-1)+`\\u00B7\\u0300-\\u036F\\u203F-\\u2040]`),c=RegExp(`^`+o.source+s.source+`*(?::`+o.source+s.source+`*)?$`);e.assign=r,e.find=t,e.freeze=n,e.MIME_TYPE=i,e.NAMESPACE=a,e.nameStartChar=o,e.nameChar=s,e.tagNamePattern=c})),to=n((e=>{var t=eo(),n=t.find,r=t.NAMESPACE,i=t.tagNamePattern;function a(e){return e!==``}function o(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function c(e){if(!e)return[];var t=o(e);return Object.keys(t.reduce(s,{}))}function l(e){return function(t){return e&&e.indexOf(t)!==-1}}function u(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function d(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,r=new r,u(n,r),e.prototype=n=r}n.constructor!=e&&(typeof e!=`function`&&console.error(`unknown Class:`+e),n.constructor=e)}var f={},p=f.ELEMENT_NODE=1,m=f.ATTRIBUTE_NODE=2,h=f.TEXT_NODE=3,g=f.CDATA_SECTION_NODE=4,_=f.ENTITY_REFERENCE_NODE=5,v=f.ENTITY_NODE=6,y=f.PROCESSING_INSTRUCTION_NODE=7,b=f.COMMENT_NODE=8,x=f.DOCUMENT_NODE=9,S=f.DOCUMENT_TYPE_NODE=10,C=f.DOCUMENT_FRAGMENT_NODE=11,w=f.NOTATION_NODE=12,T={},E={};T.INDEX_SIZE_ERR=(E[1]=`Index size error`,1),T.DOMSTRING_SIZE_ERR=(E[2]=`DOMString size error`,2);var D=T.HIERARCHY_REQUEST_ERR=(E[3]=`Hierarchy request error`,3);T.WRONG_DOCUMENT_ERR=(E[4]=`Wrong document`,4);var O=T.INVALID_CHARACTER_ERR=(E[5]=`Invalid character`,5);T.NO_DATA_ALLOWED_ERR=(E[6]=`No data allowed`,6),T.NO_MODIFICATION_ALLOWED_ERR=(E[7]=`No modification allowed`,7);var k=T.NOT_FOUND_ERR=(E[8]=`Not found`,8);T.NOT_SUPPORTED_ERR=(E[9]=`Not supported`,9);var A=T.INUSE_ATTRIBUTE_ERR=(E[10]=`Attribute in use`,10),j=T.INVALID_STATE_ERR=(E[11]=`Invalid state`,11);T.SYNTAX_ERR=(E[12]=`Syntax error`,12),T.INVALID_MODIFICATION_ERR=(E[13]=`Invalid modification`,13),T.NAMESPACE_ERR=(E[14]=`Invalid namespace`,14),T.INVALID_ACCESS_ERR=(E[15]=`Invalid access`,15);function M(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,E[e]),this.message=E[e],Error.captureStackTrace&&Error.captureStackTrace(this,M);return n.code=e,t&&(this.message=this.message+`: `+t),n}M.prototype=Error.prototype,u(T,M);function N(){}N.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t,n){for(var r=!!n&&!!n.requireWellFormed,i=[],a=0;a<this.length;a++)Fe(this[a],i,e,t,null,r);return i.join(``)},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};function P(e,t){this._node=e,this._refresh=t,F(this)}function F(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(Re(e,`length`,n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)Object.prototype.hasOwnProperty.call(e,r)&&delete e[r];u(n,e),e._inc=t}}P.prototype.item=function(e){return F(this),this[e]||null},d(P,N);function I(){this._nameIndex=Object.create(null)}function ee(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function L(e,t){e._nameIndex[t.nodeName]=t}function R(e,t){e._nameIndex[t.nodeName]===t&&delete e._nameIndex[t.nodeName]}function te(e,t,n,r){if(r?(t[ee(t,r)]=n,R(t,r)):t[t.length++]=n,L(t,n),e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&se(i,e,r),oe(i,e,n))}}function ne(e,t,n){var r=ee(t,n);if(r>=0){for(var i=t.length-1;r<i;)t[r]=t[++r];if(t.length=i,R(t,n),e){var a=e.ownerDocument;a&&(se(a,e,n),n.ownerElement=null)}}else throw new M(k,Error(e.tagName+`@`+n))}I.prototype={length:0,item:N.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new M(A);var n=this._nameIndex[e.nodeName];return te(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t=e.ownerElement,n;if(t&&t!=this._ownerElement)throw new M(A);return n=this.getNamedItemNS(e.namespaceURI,e.localName),te(this._ownerElement,this,e,n),n},removeNamedItem:function(e){var t=this.getNamedItem(e);return ne(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return ne(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}};function re(){}re.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new V;if(r.implementation=this,r.childNodes=new N,r.doctype=n||null,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new Te;return r.name=e,r.nodeName=e,r.publicId=t||``,r.systemId=n||``,r}};function z(){}z.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return _e(this,e,t)},replaceChild:function(e,t){_e(this,e,t,ge),t&&this.removeChild(t)},removeChild:function(e){return le(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Le(this.ownerDocument||this,this,e)},normalize:function(){B(this,null,{enter:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;if(n!==null&&n.nodeType===h&&t.nodeType===h){for(var r=[],i=n;i!==null&&i.nodeType===h;)r.push(i.data),i=i.nextSibling;for(var a=t.nextSibling;a!==i;){var o=a.nextSibling;a.parentNode=null,a.previousSibling=null,a.nextSibling=null,a=o}t.nextSibling=i,i===null?e.lastChild=t:i.previousSibling=t,t.appendData(r.join(``)),ce(e.ownerDocument,e),t=i}else t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r}t=t.nodeType==m?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==m?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null}};function ie(e){return e==`<`&&`&lt;`||e==`>`&&`&gt;`||e==`&`&&`&amp;`||e==`"`&&`&quot;`||`&#`+e.charCodeAt()+`;`}u(f,z),u(f,z.prototype);function ae(e,t){return B(e,null,{enter:function(e){return!t(e)||B.STOP}})===B.STOP}function B(e,t,n){for(var r=[{node:e,context:t,phase:B.ENTER}];r.length>0;){var i=r.pop();if(i.phase===B.ENTER){var a=n.enter(i.node,i.context);if(a===B.STOP)return B.STOP;if(r.push({node:i.node,context:a,phase:B.EXIT}),a==null)continue;for(var o=i.node.lastChild;o;)r.push({node:o,context:a,phase:B.ENTER}),o=o.previousSibling}else n.exit&&n.exit(i.node,i.context)}}B.STOP=Symbol(`walkDOM.STOP`),B.ENTER=0,B.EXIT=1;function V(){this.ownerDocument=this}function oe(e,t,n){e&&e._inc++,n.namespaceURI===r.XMLNS&&(t._nsMap[n.prefix?n.localName:``]=n.value)}function se(e,t,n,i){e&&e._inc++,n.namespaceURI===r.XMLNS&&delete t._nsMap[n.prefix?n.localName:``]}function ce(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function le(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,ce(e.ownerDocument,e),t}function ue(e){return e&&(e.nodeType===z.DOCUMENT_NODE||e.nodeType===z.DOCUMENT_FRAGMENT_NODE||e.nodeType===z.ELEMENT_NODE)}function de(e){return e&&(H(e)||U(e)||fe(e)||e.nodeType===z.DOCUMENT_FRAGMENT_NODE||e.nodeType===z.COMMENT_NODE||e.nodeType===z.PROCESSING_INSTRUCTION_NODE)}function fe(e){return e&&e.nodeType===z.DOCUMENT_TYPE_NODE}function H(e){return e&&e.nodeType===z.ELEMENT_NODE}function U(e){return e&&e.nodeType===z.TEXT_NODE}function W(e,t){var r=e.childNodes||[];if(n(r,H)||fe(t))return!1;var i=n(r,fe);return!(t&&i&&r.indexOf(i)>r.indexOf(t))}function pe(e,t){var r=e.childNodes||[];function i(e){return H(e)&&e!==t}if(n(r,i))return!1;var a=n(r,fe);return!(t&&a&&r.indexOf(a)>r.indexOf(t))}function me(e,t,n){if(!ue(e))throw new M(D,`Unexpected parent node type `+e.nodeType);if(n&&n.parentNode!==e)throw new M(k,`child not in parent`);if(!de(t)||fe(t)&&e.nodeType!==z.DOCUMENT_NODE)throw new M(D,`Unexpected node type `+t.nodeType+` for parent node type `+e.nodeType)}function he(e,t,r){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===z.DOCUMENT_FRAGMENT_NODE){var o=a.filter(H);if(o.length>1||n(a,U))throw new M(D,`More than one element or text in fragment`);if(o.length===1&&!W(e,r))throw new M(D,`Element in fragment can not be inserted before doctype`)}if(H(t)&&!W(e,r))throw new M(D,`Only one element can be added and only after doctype`);if(fe(t)){if(n(i,fe))throw new M(D,`Only one doctype is allowed`);var s=n(i,H);if(r&&i.indexOf(s)<i.indexOf(r))throw new M(D,`Doctype can only be inserted before an element`);if(!r&&s)throw new M(D,`Doctype can not be appended since element is present`)}}function ge(e,t,r){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===z.DOCUMENT_FRAGMENT_NODE){var o=a.filter(H);if(o.length>1||n(a,U))throw new M(D,`More than one element or text in fragment`);if(o.length===1&&!pe(e,r))throw new M(D,`Element in fragment can not be inserted before doctype`)}if(H(t)&&!pe(e,r))throw new M(D,`Only one element can be added and only after doctype`);if(fe(t)){function e(e){return fe(e)&&e!==r}if(n(i,e))throw new M(D,`Only one doctype is allowed`);var s=n(i,H);if(r&&i.indexOf(s)<i.indexOf(r))throw new M(D,`Doctype can only be inserted before an element`)}}function _e(e,t,n,r){me(e,t,n),e.nodeType===z.DOCUMENT_NODE&&(r||he)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===C){var a=t.firstChild;if(a==null)return t;var o=t.lastChild}else a=o=t;var s=n?n.previousSibling:e.lastChild;a.previousSibling=s,o.nextSibling=n,s?s.nextSibling=a:e.firstChild=a,n==null?e.lastChild=o:n.previousSibling=o;do{a.parentNode=e;var c=e.ownerDocument||e;ve(a,c)}while(a!==o&&(a=a.nextSibling));return ce(e.ownerDocument||e,e),t.nodeType==C&&(t.firstChild=t.lastChild=null),t}function ve(e,t){if(e.ownerDocument!==t){if(e.ownerDocument=t,e.nodeType===p&&e.attributes)for(var n=0;n<e.attributes.length;n++){var r=e.attributes.item(n);r&&(r.ownerDocument=t)}for(var i=e.firstChild;i;)ve(i,t),i=i.nextSibling}}function ye(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,ce(e.ownerDocument,e,t),ve(t,e.ownerDocument||e),t}V.prototype={nodeName:`#document`,nodeType:x,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==C){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return _e(this,e,t),ve(e,this),this.documentElement===null&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),le(this,e)},replaceChild:function(e,t){_e(this,e,t,ge),ve(e,this),t&&this.removeChild(t),H(e)&&(this.documentElement=e)},importNode:function(e,t){return Ie(this,e,t)},getElementById:function(e){var t=null;return ae(this.documentElement,function(n){if(n.nodeType==p&&n.getAttribute(`id`)==e)return t=n,!0}),t},getElementsByClassName:function(e){var t=c(e);return new P(this,function(n){var r=[];return t.length>0&&ae(n.documentElement,function(i){if(i!==n&&i.nodeType===p){var a=i.getAttribute(`class`);if(a){var o=e===a;if(!o){var s=c(a);o=t.every(l(s))}o&&r.push(i)}}}),r})},createElement:function(e){var t=new be;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new N;var n=t.attributes=new I;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new ke;return e.ownerDocument=this,e.childNodes=new N,e},createTextNode:function(e){var t=new Se;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new Ce;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf(`]]>`)!==-1)throw new M(O,`data contains "]]>"`);var t=new we;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new Ae;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new xe;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!i.test(e))throw new M(O,`not a valid xml name "`+e+`"`);var t=new Oe;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new be,r=t.split(`:`),i=n.attributes=new I;return n.childNodes=new N,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new xe,r=t.split(`:`);return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},d(V,z);function be(){this._nsMap={}}be.prototype={nodeType:p,hasAttribute:function(e){return this.getAttributeNode(e)!=null},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||``},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=``+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===C?this.insertBefore(e,null):ye(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||``},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=``+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new P(this,function(t){var n=[];return ae(t,function(r){r!==t&&r.nodeType==p&&(e===`*`||r.tagName==e)&&n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new P(this,function(n){var r=[];return ae(n,function(i){i!==n&&i.nodeType===p&&(e===`*`||i.namespaceURI===e)&&(t===`*`||i.localName==t)&&r.push(i)}),r})}},V.prototype.getElementsByTagName=be.prototype.getElementsByTagName,V.prototype.getElementsByTagNameNS=be.prototype.getElementsByTagNameNS,d(be,z);function xe(){}xe.prototype.nodeType=m,d(xe,z);function G(){}G.prototype={data:``,substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw Error(E[D])},deleteData:function(e,t){this.replaceData(e,t,``)},replaceData:function(e,t,n){var r=this.data.substring(0,e),i=this.data.substring(e+t);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}},d(G,z);function Se(){}Se.prototype={nodeName:`#text`,nodeType:h,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},d(Se,G);function Ce(){}Ce.prototype={nodeName:`#comment`,nodeType:b},d(Ce,G);function we(){}we.prototype={nodeName:`#cdata-section`,nodeType:g},d(we,G);function Te(){}Te.prototype.nodeType=S,d(Te,z);function Ee(){}Ee.prototype.nodeType=w,d(Ee,z);function De(){}De.prototype.nodeType=v,d(De,z);function Oe(){}Oe.prototype.nodeType=_,d(Oe,z);function ke(){}ke.prototype.nodeName=`#document-fragment`,ke.prototype.nodeType=C,d(ke,z);function Ae(){}Ae.prototype.nodeType=y,d(Ae,z);function je(){}je.prototype.serializeToString=function(e,t,n,r){return Me.call(e,t,n,r)},z.prototype.toString=Me;function Me(e,t,n){var r=!!n&&!!n.requireWellFormed,i=[],a=this.nodeType==9&&this.documentElement||this,o=a.prefix,s=a.namespaceURI;if(s&&o==null){var o=a.lookupPrefix(s);if(o==null)var c=[{namespace:s,prefix:null}]}return Fe(this,i,e,t,c,r),i.join(``)}function Ne(e,t,n){var i=e.prefix||``,a=e.namespaceURI;if(!a||i===`xml`&&a===r.XML||a===r.XMLNS)return!1;for(var o=n.length;o--;){var s=n[o];if(s.prefix===i)return s.namespace!==a}return!0}function Pe(e,t,n,r){if(r&&!i.test(t))throw new M(j,`The attribute name "`+t+`" is not a valid XML QName`);e.push(` `,t,`="`,n.replace(/[<>&"\t\n\r]/g,ie),`"`)}function Fe(e,t,n,a,o,s){o||=[],B(e,{ns:o,isHTML:n},{enter:function(e,n){var o=n.ns,c=n.isHTML;if(a){if(e=a(e),e){if(typeof e==`string`)return t.push(e),null}else return null}switch(e.nodeType){case p:var l=e.attributes,u=l.length,d=e.tagName;c=r.isHTML(e.namespaceURI)||c;var f=d;if(!c&&!e.prefix&&e.namespaceURI){for(var v,w=0;w<l.length;w++)if(l.item(w).name===`xmlns`){v=l.item(w).value;break}if(!v)for(var T=o.length-1;T>=0;T--){var E=o[T];if(E.prefix===``&&E.namespace===e.namespaceURI){v=E.namespace;break}}if(v!==e.namespaceURI)for(var T=o.length-1;T>=0;T--){var E=o[T];if(E.namespace===e.namespaceURI){E.prefix&&(f=E.prefix+`:`+d);break}}}if(s&&!i.test(f))throw new M(j,`The element name "`+f+`" is not a valid XML QName`);t.push(`<`,f);for(var D=o.slice(),O=0;O<u;O++){var k=l.item(O);k.prefix==`xmlns`?D.push({prefix:k.localName,namespace:k.value}):k.nodeName==`xmlns`&&D.push({prefix:``,namespace:k.value})}for(var O=0;O<u;O++){var k=l.item(O);if(Ne(k,c,D)){var A=k.prefix||``,N=k.namespaceURI;Pe(t,A?`xmlns:`+A:`xmlns`,N,s),D.push({prefix:A,namespace:N})}var P=a?a(k):k;P&&(typeof P==`string`?t.push(P):Pe(t,P.name,P.value,s))}if(d===f&&Ne(e,c,D)){var F=e.prefix||``,N=e.namespaceURI;Pe(t,F?`xmlns:`+F:`xmlns`,N,s),D.push({prefix:F,namespace:N})}var I=e.firstChild;if(I||c&&!/^(?:meta|link|img|br|hr|input)$/i.test(d)){if(t.push(`>`),c&&/^script$/i.test(d)){for(;I;)I.data?t.push(I.data):Fe(I,t,c,a,D.slice(),s),I=I.nextSibling;return t.push(`</`,d,`>`),null}return{ns:D,isHTML:c,tag:f}}return t.push(`/>`),null;case x:case C:return{ns:o.slice(),isHTML:c,tag:null};case m:return Pe(t,e.name,e.value,s),null;case h:return t.push(e.data.replace(/[<&>]/g,ie)),null;case g:if(s&&e.data.indexOf(`]]>`)!==-1)throw new M(j,`The CDATASection data contains "]]>"`);return t.push(`<![CDATA[`,e.data.replace(/]]>/g,`]]]]><![CDATA[>`),`]]>`),null;case b:if(s&&e.data.indexOf(`-->`)!==-1)throw new M(j,`The comment node data contains "-->"`);return t.push(`<!--`,e.data,`-->`),null;case S:if(s){if(!i.test(e.name))throw new M(j,`The doctype name "`+e.name+`" is not a valid XML Name`);if(e.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(e.publicId))throw new M(j,`DocumentType publicId is not a valid PubidLiteral`);if(e.systemId&&!/^("[^"]*"|'[^']*')$/.test(e.systemId))throw new M(j,`DocumentType systemId is not a valid SystemLiteral`);if(e.internalSubset&&e.internalSubset.indexOf(`]>`)!==-1)throw new M(j,`DocumentType internalSubset contains "]>"`)}var ee=e.publicId,L=e.systemId;if(t.push(`<!DOCTYPE `,e.name),ee)t.push(` PUBLIC `,ee),L&&L!=`.`&&t.push(` `,L),t.push(`>`);else if(L&&L!=`.`)t.push(` SYSTEM `,L,`>`);else{var R=e.internalSubset;R&&t.push(` [`,R,`]`),t.push(`>`)}return null;case y:if(s){if(!i.test(e.target)||e.target.indexOf(`:`)!==-1||e.target.toLowerCase()===`xml`)throw new M(j,`The processing instruction target "`+e.target+`" is not a valid XML NCName or is reserved`);if(e.data.indexOf(`?>`)!==-1)throw new M(j,`The ProcessingInstruction data contains "?>"`)}return t.push(`<?`,e.target,` `,e.data,`?>`),null;case _:if(s&&!i.test(e.nodeName))throw new M(j,`The entity reference name "`+e.nodeName+`" is not a valid XML Name`);return t.push(`&`,e.nodeName,`;`),null;default:return t.push(`??`,e.nodeName),null}},exit:function(e,n){n&&n.tag&&t.push(`</`,n.tag,`>`)}})}function Ie(e,t,n){var r;return B(t,null,{enter:function(t,i){var a=t.cloneNode(!1);return a.ownerDocument=e,a.parentNode=null,i===null?r=a:i.appendChild(a),t.nodeType===m||n?a:null}}),r}function Le(e,t,n){var r;return B(t,null,{enter:function(t,i){var a=new t.constructor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var s=t[o];typeof s!=`object`&&s!=a[o]&&(a[o]=s)}t.childNodes&&(a.childNodes=new N),a.ownerDocument=e;var c=n;switch(a.nodeType){case p:var l=t.attributes,u=a.attributes=new I,d=l.length;u._ownerElement=a;for(var f=0;f<d;f++)a.setAttributeNode(Le(e,l.item(f),!0));break;case m:c=!0}return i===null?r=a:i.appendChild(a),c?a:null}}),r}function Re(e,t,n){e[t]=n}try{Object.defineProperty&&(Object.defineProperty(P.prototype,"length",{get:function(){return F(this),this.$$length}}),Object.defineProperty(z.prototype,"textContent",{get:function(){if(this.nodeType===p||this.nodeType===C){var e=[];return B(this,null,{enter:function(t){if(t.nodeType===p||t.nodeType===C)return!0;if(t.nodeType===y||t.nodeType===b)return null;e.push(t.nodeValue)}}),e.join(``)}return this.nodeValue},set:function(e){switch(this.nodeType){case p:case C:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Re=function(e,t,n){e[`$$`+t]=n})}catch{}e.DocumentType=Te,e.DOMException=M,e.DOMImplementation=re,e.Element=be,e.Node=z,e.NodeList=N,e.walkDOM=B,e.XMLSerializer=je})),no=n((e=>{var t=eo().freeze;e.XML_ENTITIES=t({amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`}),e.HTML_ENTITIES=t({Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:`⁡`,Afr:`𝔄`,afr:`𝔞`,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,AMP:`&`,amp:`&`,And:`⩓`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:`𝔸`,aopf:`𝕒`,ap:`≈`,apacir:`⩯`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:`⁡`,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:`𝒜`,ascr:`𝒶`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,Barwed:`⌆`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,Because:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:`𝔅`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bNot:`⫭`,bnot:`⌐`,Bopf:`𝔹`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxDL:`╗`,boxDl:`╖`,boxdL:`╕`,boxdl:`┐`,boxDR:`╔`,boxDr:`╓`,boxdR:`╒`,boxdr:`┌`,boxH:`═`,boxh:`─`,boxHD:`╦`,boxHd:`╤`,boxhD:`╥`,boxhd:`┬`,boxHU:`╩`,boxHu:`╧`,boxhU:`╨`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxUL:`╝`,boxUl:`╜`,boxuL:`╛`,boxul:`┘`,boxUR:`╚`,boxUr:`╙`,boxuR:`╘`,boxur:`└`,boxV:`║`,boxv:`│`,boxVH:`╬`,boxVh:`╫`,boxvH:`╪`,boxvh:`┼`,boxVL:`╣`,boxVl:`╢`,boxvL:`╡`,boxvl:`┤`,boxVR:`╠`,boxVr:`╟`,boxvR:`╞`,boxvr:`├`,bprime:`‵`,Breve:`˘`,breve:`˘`,brvbar:`¦`,Bscr:`ℬ`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,Cap:`⋒`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,CenterDot:`·`,centerdot:`·`,Cfr:`ℭ`,cfr:`𝔠`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,cir:`○`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,Colon:`∷`,colon:`:`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,Conint:`∯`,conint:`∮`,ContourIntegral:`∮`,Copf:`ℂ`,copf:`𝕔`,coprod:`∐`,Coproduct:`∐`,COPY:`©`,copy:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,Cross:`⨯`,cross:`✗`,Cscr:`𝒞`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,Cup:`⋓`,cup:`∪`,cupbrcap:`⩈`,CupCap:`≍`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,Dagger:`‡`,dagger:`†`,daleth:`ℸ`,Darr:`↡`,dArr:`⇓`,darr:`↓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,DD:`ⅅ`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:`𝔇`,dfr:`𝔡`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,Diamond:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:`𝔻`,dopf:`𝕕`,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,Downarrow:`⇓`,downarrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:`𝒟`,dscr:`𝒹`,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,ecir:`≖`,Ecirc:`Ê`,ecirc:`ê`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,eDot:`≑`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,Efr:`𝔈`,efr:`𝔢`,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp:` `,emsp13:` `,emsp14:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:`𝔼`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,Escr:`ℰ`,escr:`ℯ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,ExponentialE:`ⅇ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:`𝔉`,ffr:`𝔣`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:`𝔽`,fopf:`𝕗`,ForAll:`∀`,forall:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,Fscr:`ℱ`,fscr:`𝒻`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,gE:`≧`,ge:`≥`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,Gfr:`𝔊`,gfr:`𝔤`,Gg:`⋙`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gl:`≷`,gla:`⪥`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gnE:`≩`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:`𝔾`,gopf:`𝕘`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,Gt:`≫`,GT:`>`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,hArr:`⇔`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,Hfr:`ℌ`,hfr:`𝔥`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,Hopf:`ℍ`,hopf:`𝕙`,horbar:`―`,HorizontalLine:`─`,Hscr:`ℋ`,hscr:`𝒽`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:`⁣`,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,Ifr:`ℑ`,ifr:`𝔦`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Im:`ℑ`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,Int:`∬`,int:`∫`,intcal:`⊺`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:`𝕀`,iopf:`𝕚`,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,Iscr:`ℐ`,iscr:`𝒾`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:`𝔍`,jfr:`𝔧`,jmath:`ȷ`,Jopf:`𝕁`,jopf:`𝕛`,Jscr:`𝒥`,jscr:`𝒿`,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:`𝔎`,kfr:`𝔨`,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:`𝕂`,kopf:`𝕜`,Kscr:`𝒦`,kscr:`𝓀`,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,Lang:`⟪`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,Larr:`↞`,lArr:`⇐`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,lAtail:`⤛`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lBarr:`⤎`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,lE:`≦`,le:`≤`,LeftAngleBracket:`⟨`,LeftArrow:`←`,Leftarrow:`⇐`,leftarrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:`𝔏`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,Ll:`⋘`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lnE:`≨`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftarrow:`⟵`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longleftrightarrow:`⟷`,longmapsto:`⟼`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:`𝕃`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,Lscr:`ℒ`,lscr:`𝓁`,Lsh:`↰`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,Lt:`≪`,LT:`<`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:`𝕄`,mopf:`𝕞`,mp:`∓`,Mscr:`ℳ`,mscr:`𝓂`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,ne:`≠`,nearhk:`⤤`,neArr:`⇗`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
15
- `,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlArr:`⇍`,nlarr:`↚`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nLeftarrow:`⇍`,nleftarrow:`↚`,nLeftrightarrow:`⇎`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,nopf:`𝕟`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nRightarrow:`⇏`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nVDash:`⊯`,nVdash:`⊮`,nvDash:`⊭`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwArr:`⇖`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,Ocirc:`Ô`,ocirc:`ô`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,Or:`⩔`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,Otimes:`⨷`,otimes:`⊗`,otimesas:`⨶`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,Popf:`ℙ`,popf:`𝕡`,pound:`£`,Pr:`⪻`,pr:`≺`,prap:`⪷`,prcue:`≼`,prE:`⪳`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,Prime:`″`,prime:`′`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportion:`∷`,Proportional:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:`𝒫`,pscr:`𝓅`,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:`𝔔`,qfr:`𝔮`,qint:`⨌`,Qopf:`ℚ`,qopf:`𝕢`,qprime:`⁗`,Qscr:`𝒬`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,QUOT:`"`,quot:`"`,rAarr:`⇛`,race:`∽̱`,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,Rang:`⟫`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,Rarr:`↠`,rArr:`⇒`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,rAtail:`⤜`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,RBarr:`⤐`,rBarr:`⤏`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,Re:`ℜ`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,REG:`®`,reg:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,Rfr:`ℜ`,rfr:`𝔯`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrow:`→`,Rightarrow:`⇒`,rightarrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,Ropf:`ℝ`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,Rscr:`ℛ`,rscr:`𝓇`,Rsh:`↱`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,Sc:`⪼`,sc:`≻`,scap:`⪸`,Scaron:`Š`,scaron:`š`,sccue:`≽`,scE:`⪴`,sce:`⪰`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,searhk:`⤥`,seArr:`⇘`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:`𝔖`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:`­`,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,SOFTcy:`Ь`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,Sopf:`𝕊`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,Square:`□`,square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squf:`▪`,srarr:`→`,Sscr:`𝒮`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,Sub:`⋐`,sub:`⊂`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,Subset:`⋐`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,Sum:`∑`,sum:`∑`,sung:`♪`,Sup:`⋑`,sup:`⊃`,sup1:`¹`,sup2:`²`,sup3:`³`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,Supset:`⋑`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swArr:`⇙`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:` `,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:`𝔗`,tfr:`𝔱`,there4:`∴`,Therefore:`∴`,therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:`  `,thinsp:` `,ThinSpace:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,Tilde:`∼`,tilde:`˜`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,Topf:`𝕋`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,TRADE:`™`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:`𝒯`,tscr:`𝓉`,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,Uarr:`↟`,uArr:`⇑`,uarr:`↑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:`𝔘`,ufr:`𝔲`,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:`𝕌`,uopf:`𝕦`,UpArrow:`↑`,Uparrow:`⇑`,uparrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,Updownarrow:`⇕`,updownarrow:`↕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,upsi:`υ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTee:`⊥`,UpTeeArrow:`↥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:`𝒰`,uscr:`𝓊`,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,vArr:`⇕`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,Vbar:`⫫`,vBar:`⫨`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,VDash:`⊫`,Vdash:`⊩`,vDash:`⊨`,vdash:`⊢`,Vdashl:`⫦`,Vee:`⋁`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,Verbar:`‖`,verbar:`|`,Vert:`‖`,vert:`|`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,Vopf:`𝕍`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,Vscr:`𝒱`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,Vvdash:`⊪`,vzigzag:`⦚`,Wcirc:`Ŵ`,wcirc:`ŵ`,wedbar:`⩟`,Wedge:`⋀`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,Wfr:`𝔚`,wfr:`𝔴`,Wopf:`𝕎`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,Wscr:`𝒲`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,Xfr:`𝔛`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,Xi:`Ξ`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,Xopf:`𝕏`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,Xscr:`𝒳`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,Yacute:`Ý`,yacute:`ý`,YAcy:`Я`,yacy:`я`,Ycirc:`Ŷ`,ycirc:`ŷ`,Ycy:`Ы`,ycy:`ы`,yen:`¥`,Yfr:`𝔜`,yfr:`𝔶`,YIcy:`Ї`,yicy:`ї`,Yopf:`𝕐`,yopf:`𝕪`,Yscr:`𝒴`,yscr:`𝓎`,YUcy:`Ю`,yucy:`ю`,Yuml:`Ÿ`,yuml:`ÿ`,Zacute:`Ź`,zacute:`ź`,Zcaron:`Ž`,zcaron:`ž`,Zcy:`З`,zcy:`з`,Zdot:`Ż`,zdot:`ż`,zeetrf:`ℨ`,ZeroWidthSpace:`​`,Zeta:`Ζ`,zeta:`ζ`,Zfr:`ℨ`,zfr:`𝔷`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,Zopf:`ℤ`,zopf:`𝕫`,Zscr:`𝒵`,zscr:`𝓏`,zwj:`‍`,zwnj:`‌`}),e.entityMap=e.HTML_ENTITIES})),ro=n((e=>{var t=eo().NAMESPACE,n=eo().tagNamePattern,r=0,i=1,a=2,o=3,s=4,c=5,l=6,u=7;function d(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,d)}d.prototype=Error(),d.prototype.name=d.name;function f(){}f.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),y(t,t={}),p(e,t,n,r,this.errorHandler),r.endDocument()}};function p(e,r,i,a,o){function s(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function c(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(i,t)?i[t]:t.charAt(0)===`#`?s(parseInt(t.substr(1).replace(`x`,`0x`))):(o.error(`entity not found:`+e),e)}function l(t){if(t>E){var n=e.substring(E,t).replace(/&#?\w+;/g,c);C&&u(E),a.characters(n,0,t-E),E=t}}function u(t,n){for(;t>=p&&(n=y.exec(e));)f=n.index,p=f+n[0].length,C.lineNumber++;C.columnNumber=t-f+1}for(var f=0,p=0,y=/.*(?:\r\n?|\n)|.*$/g,C=a.locator,w=[{currentNSMap:r}],T={},E=0;;){try{var D=e.indexOf(`<`,E);if(D<0){if(!e.substr(E).match(/^\s*$/)){var O=a.doc,k=O.createTextNode(e.substr(E));O.appendChild(k),a.currentElement=k}return}switch(D>E&&l(D),e.charAt(D+1)){case`/`:var A=e.indexOf(`>`,D+3),j=e.substring(D+2,A).replace(/^([\s\S]*?[^ \t\n\r])?[ \t\n\r]*$/,`$1`),M=w.pop();A<0?(j=e.substring(D+2).replace(/[\s<].*/,``),o.error(`end tag name: `+j+` is not complete:`+M.tagName),A=D+1+j.length):j.match(/\s</)?(j=j.replace(/[\s<].*/,``),o.error(`end tag name: `+j+` maybe not complete`),A=D+1+j.length):/[ \t\n\r]/.test(j)&&n.test(j.split(/[ \t\n\r]/)[0])&&o.error(`end tag name is followed by whitespace and trailing content: "`+j+`"`);var N=M.localNSMap,P=M.tagName==j;if(P||M.tagName&&M.tagName.toLowerCase()==j.toLowerCase()){if(a.endElement(M.uri,M.localName,j),N)for(var F in N)Object.prototype.hasOwnProperty.call(N,F)&&a.endPrefixMapping(F);P||o.fatalError(`end tag name: `+j+` is not match the current start tagName:`+M.tagName)}else w.push(M);A++;break;case`?`:C&&u(D),A=x(e,D,a);break;case`!`:C&&u(D),A=b(e,D,a,o);break;default:C&&u(D);var I=new S,ee=w[w.length-1].currentNSMap,A=h(e,D,I,ee,c,o),L=I.length;if(!I.closed&&v(e,A,I.tagName,T)&&(I.closed=!0,i.nbsp||o.warning(`unclosed xml attribute`)),C&&L){for(var R=m(C,{}),te=0;te<L;te++){var ne=I[te];u(ne.offset),ne.locator=m(C,{})}a.locator=R,g(I,a,ee)&&w.push(I),a.locator=C}else g(I,a,ee)&&w.push(I);t.isHTML(I.uri)&&!I.closed?A=_(e,A,I.tagName,c,a):A++}}catch(e){if(e instanceof d)throw e;o.error(`element parse error: `+e),A=-1}A>E?E=A:l(Math.max(D,E)+1)}}function m(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function h(e,n,d,f,p,m){function h(e,t,n){d.attributeNames.hasOwnProperty(e)&&m.fatalError(`Attribute `+e+` redefined`),d.addValue(e,t.replace(/[\t\n\r]/g,` `).replace(/&#?\w+;/g,p),n)}for(var g,_,v=++n,y=r;;){var b=e.charAt(v);if(y===r&&b===`<`)throw Error(`unexpected < in tag name: `+e.slice(n,v));switch(b){case`=`:if(y===i)g=e.slice(n,v),y=o;else if(y===a)y=o;else throw Error(`attribute equal must after attrName`);break;case`'`:case`"`:if(y===o||y===i){if(y===i&&(m.warning(`attribute value must after "="`),g=e.slice(n,v)),n=v+1,v=e.indexOf(b,n),v>0)_=e.slice(n,v),h(g,_,n-1),y=c;else throw Error(`attribute value no end '`+b+`' match`)}else if(y==s)_=e.slice(n,v),h(g,_,n),m.warning(`attribute "`+g+`" missed start quot(`+b+`)!!`),n=v+1,y=c;else throw Error(`attribute value must after "="`);break;case`/`:switch(y){case r:d.setTagName(e.slice(n,v));case c:case l:case u:y=u,d.closed=!0;case s:case i:break;case a:d.closed=!0;break;default:throw Error(`attribute invalid close char('/')`)}break;case``:return m.error(`unexpected end of input`),y==r&&d.setTagName(e.slice(n,v)),v;case`>`:switch(y){case r:d.setTagName(e.slice(n,v));case c:case l:case u:break;case s:case i:_=e.slice(n,v),_.slice(-1)===`/`&&(d.closed=!0,_=_.slice(0,-1));case a:y===a&&(_=g),y==s?(m.warning(`attribute "`+_+`" missed quot(")!`),h(g,_,n)):((!t.isHTML(f[``])||!_.match(/^(?:disabled|checked|selected)$/i))&&m.warning(`attribute "`+_+`" missed value!! "`+_+`" instead!!`),h(_,_,n));break;case o:throw Error(`attribute value missed!!`)}return v;case`€`:b=` `;default:if(b<=` `)switch(y){case r:d.setTagName(e.slice(n,v)),y=l;break;case i:g=e.slice(n,v),y=a;break;case s:var _=e.slice(n,v);m.warning(`attribute "`+_+`" missed quot(")!!`),h(g,_,n);case c:y=l}else switch(y){case a:d.tagName,(!t.isHTML(f[``])||!g.match(/^(?:disabled|checked|selected)$/i))&&m.warning(`attribute "`+g+`" missed value!! "`+g+`" instead2!!`),h(g,g,n),n=v,y=i;break;case c:m.warning(`attribute space is required"`+g+`"!!`);case l:y=i,n=v;break;case o:y=s,n=v;break;case u:throw Error(`elements closed character '/' and '>' must be connected to`)}}v++}}function g(e,n,r){for(var i=e.tagName,a=null,o=e.length;o--;){var s=e[o],c=s.qName,l=s.value,u=c.indexOf(`:`);if(u>0)var d=s.prefix=c.slice(0,u),f=c.slice(u+1),p=d===`xmlns`&&f;else f=c,d=null,p=c===`xmlns`&&``;s.localName=f,p!==!1&&(a??(a={},r=Object.create(r)),r[p]=a[p]=l,s.uri=t.XMLNS,n.startPrefixMapping(p,l))}for(var o=e.length;o--;){s=e[o];var d=s.prefix;d&&(d===`xml`&&(s.uri=t.XML),d!==`xmlns`&&(s.uri=r[d||``]))}var u=i.indexOf(`:`);u>0?(d=e.prefix=i.slice(0,u),f=e.localName=i.slice(u+1)):(d=null,f=e.localName=i);var m=e.uri=r[d||``];if(n.startElement(m,f,i,e),e.closed){if(n.endElement(m,f,i),a)for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&n.endPrefixMapping(d)}else return e.currentNSMap=r,e.localNSMap=a,!0}function _(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf(`</`+n+`>`,t),o=e.substring(t+1,a);if(/[&<]/.test(o))return/^script$/i.test(n)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,r),i.characters(o,0,o.length),a)}return t+1}function v(e,t,n,r){var i=r[n];return i??(i=e.lastIndexOf(`</`+n+`>`),i<t&&(i=e.lastIndexOf(`</`+n)),r[n]=i),i<t}function y(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function b(e,t,n,r){switch(e.charAt(t+2)){case`-`:if(e.charAt(t+3)===`-`){var i=e.indexOf(`-->`,t+4);return i>t?(n.comment(e,t+4,i-t-4),i+3):(r.error(`Unclosed comment`),-1)}return-1;default:if(e.substr(t+3,6)==`CDATA[`){var i=e.indexOf(`]]>`,t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var a=C(e,t),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],c=!1,l=!1;o>3&&(/^public$/i.test(a[2][0])?(c=a[3][0],l=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var u=a[o-1];return n.startDTD(s,c,l),n.endDTD(),u.index+u[0].length}}return-1}function x(e,t,n){var r=e.indexOf(`?>`,t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)$/);return i?(i[0].length,n.processingInstruction(i[1],i[2]),r+2):-1}return-1}function S(){this.attributeNames={}}S.prototype={setTagName:function(e){if(!n.test(e))throw Error(`invalid tagName:`+e);this.tagName=e},addValue:function(e,t,r){if(!n.test(e))throw Error(`invalid attribute:`+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}};function C(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=t,i.exec(e);n=i.exec(e);)if(r.push(n),n[1])return r}e.XMLReader=f,e.ParseError=d})),io=n((e=>{var t=eo(),n=to(),r=no(),i=ro(),a=n.DOMImplementation,o=t.NAMESPACE,s=i.ParseError,c=i.XMLReader;function l(e){return e.replace(/\r[\n\u0085]/g,`
13
+ `+a+`}`,c}var Gn,Kn,qn,Jn,Yn=r((()=>{Bt(),et(),Hn(),Gn=/(.)^/,Kn={"'":`'`,"\\":`\\`,"\r":`r`,"\n":`n`,"\u2028":`u2028`,"\u2029":`u2029`},qn=/\\|'|\r|\n|\u2028|\u2029/g,Jn=/^\s*(\w|\$)+\s*$/}));function Xn(e,t,n){t=Qt(t);var r=t.length;if(!r)return U(n)?n.call(e):n;for(var i=0;i<r;i++){var a=e?.[t[i]];a===void 0&&(a=n,i=r),e=U(a)?a.call(e):a}return e}var Zn=r((()=>{W(),$t()}));function Qn(e){var t=++$n+``;return e?e+t:t}var $n,er=r((()=>{$n=0}));function tr(e){var t=Y(e);return t._chain=!0,t}var nr=r((()=>{et()}));function rr(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var a=Ht(e.prototype),o=e.apply(a,i);return O(o)?o:a}var ir=r((()=>{Ut(),k()})),ar,or=r((()=>{D(),ir(),et(),ar=E(function(e,t){var n=ar.placeholder,r=function(){for(var i=0,a=t.length,o=Array(a),s=0;s<a;s++)o[s]=t[s]===n?arguments[i++]:t[s];for(;i<arguments.length;)o.push(arguments[i++]);return rr(e,r,this,this,o)};return r}),ar.placeholder=Y})),sr,cr=r((()=>{D(),W(),ir(),sr=E(function(e,t,n){if(!U(e))throw TypeError(`Bind must be called on a function`);var r=E(function(i){return rr(e,r,t,this,n.concat(i))});return r})})),lr,ur=r((()=>{Fe(),Ke(),lr=Pe(K)}));function dr(e,t,n){!t&&t!==0&&(t=1/0);for(var r=[],i=0,a=0,o=K(e)||0,s=[];;)if(a>=o){if(!s.length)break;var c=s.pop();a=c.i,e=c.v,o=K(e)}else{var l=e[a++];s.length>=t?r[i++]=l:lr(l)&&(G(l)||Ee(l))?(s.push({i:a,v:e}),a=0,e=l,o=K(e)):n||(r[i++]=l)}return r}var fr=r((()=>{Ke(),ur(),Se(),De()})),pr,mr=r((()=>{D(),fr(),cr(),pr=E(function(e,t){t=dr(t,!1,!1);var n=t.length;if(n<1)throw Error(`bindAll must be passed function names`);for(;n--;){var r=t[n];e[r]=sr(e[r],e)}return e})}));function hr(e,t){var n=function(r){var i=n.cache,a=``+(t?t.apply(this,arguments):r);return Ce(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return n.cache={},n}var gr=r((()=>{we()})),_r,vr=r((()=>{D(),_r=E(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)})})),yr,br=r((()=>{or(),vr(),et(),yr=ar(_r,Y,1)}));function xr(e,t,n){var r,i,a,o,s=0;n||={};var c=function(){s=n.leading===!1?0:kn(),r=null,o=e.apply(i,a),r||(i=a=null)},l=function(){var l=kn();!s&&n.leading===!1&&(s=l);var u=t-(l-s);return i=this,a=arguments,u<=0||u>t?(r&&=(clearTimeout(r),null),s=l,o=e.apply(i,a),r||(i=a=null)):!r&&n.trailing!==!1&&(r=setTimeout(c,u)),o};return l.cancel=function(){clearTimeout(r),s=0,r=i=a=null},l}var Sr=r((()=>{An()}));function Cr(e,t,n){var r,i,a,o,s,c=function(){var l=kn()-i;t>l?r=setTimeout(c,t-l):(r=null,n||(o=e.apply(s,a)),r||(a=s=null))},l=E(function(l){return s=this,a=l,i=kn(),r||(r=setTimeout(c,t),n&&(o=e.apply(s,a))),o});return l.cancel=function(){clearTimeout(r),r=a=s=null},l}var wr=r((()=>{D(),An()}));function Tr(e,t){return ar(t,e)}var Er=r((()=>{or()}));function Dr(e){return function(){return!e.apply(this,arguments)}}var Or=r((()=>{}));function kr(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}var Ar=r((()=>{}));function jr(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}var Mr=r((()=>{}));function Nr(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var Pr=r((()=>{})),Fr,Ir=r((()=>{or(),Pr(),Fr=ar(Nr,2)}));function Lr(e,t,n){t=X(t,n);for(var r=q(e),i,a=0,o=r.length;a<o;a++)if(i=r[a],t(e[i],i,e))return i}var Rr=r((()=>{Z(),J()}));function zr(e){return function(t,n,r){n=X(n,r);for(var i=K(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(n(t[a],a,t))return a;return-1}}var Br=r((()=>{Z(),Ke()})),Vr,Hr=r((()=>{Br(),Vr=zr(1)})),Ur,Wr=r((()=>{Br(),Ur=zr(-1)}));function Gr(e,t,n,r){n=X(n,r,1);for(var i=n(t),a=0,o=K(e);a<o;){var s=Math.floor((a+o)/2);n(e[s])<i?a=s+1:o=s}return a}var Kr=r((()=>{Z(),Ke()}));function qr(e,t,n){return function(r,i,a){var o=0,s=K(r);if(typeof a==`number`)e>0?o=a>=0?a:Math.max(a+s,o):s=a>=0?Math.min(a+1,s):a+s+1;else if(n&&a&&s)return a=n(r,i),r[a]===i?a:-1;if(i!==i)return a=t(d.call(r,o,s),Ae),a>=0?a+o:-1;for(a=e>0?o:s-1;a>=0&&a<s;a+=e)if(r[a]===i)return a;return-1}}var Jr=r((()=>{Ke(),T(),je()})),Yr,Xr=r((()=>{Kr(),Hr(),Jr(),Yr=qr(1,Vr,Gr)})),Zr,Qr=r((()=>{Wr(),Jr(),Zr=qr(-1,Ur)}));function $r(e,t,n){var r=(lr(e)?Vr:Lr)(e,t,n);if(r!==void 0&&r!==-1)return e[r]}var ei=r((()=>{ur(),Hr(),Rr()}));function ti(e,t){return $r(e,ln(t))}var ni=r((()=>{ei(),un()}));function ri(e,t,n){t=pn(t,n);var r,i;if(lr(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var a=q(e);for(r=0,i=a.length;r<i;r++)t(e[a[r]],a[r],e)}return e}var ii=r((()=>{mn(),ur(),J()}));function ai(e,t,n){t=X(t,n);for(var r=!lr(e)&&q(e),i=(r||e).length,a=Array(i),o=0;o<i;o++){var s=r?r[o]:o;a[o]=t(e[s],s,e)}return a}var oi=r((()=>{Z(),ur(),J()}));function si(e){var t=function(t,n,r,i){var a=!lr(t)&&q(t),o=(a||t).length,s=e>0?0:o-1;for(i||(r=t[a?a[s]:s],s+=e);s>=0&&s<o;s+=e){var c=a?a[s]:s;r=n(r,t[c],c,t)}return r};return function(e,n,r,i){var a=arguments.length>=3;return t(e,pn(n,i,4),r,a)}}var ci=r((()=>{ur(),J(),mn()})),li,ui=r((()=>{ci(),li=si(1)})),di,fi=r((()=>{ci(),di=si(-1)}));function pi(e,t,n){var r=[];return t=X(t,n),ri(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r}var mi=r((()=>{Z(),ii()}));function hi(e,t,n){return pi(e,Dr(X(t)),n)}var gi=r((()=>{mi(),Or(),Z()}));function _i(e,t,n){t=X(t,n);for(var r=!lr(e)&&q(e),i=(r||e).length,a=0;a<i;a++){var o=r?r[a]:a;if(!t(e[o],o,e))return!1}return!0}var vi=r((()=>{Z(),ur(),J()}));function yi(e,t,n){t=X(t,n);for(var r=!lr(e)&&q(e),i=(r||e).length,a=0;a<i;a++){var o=r?r[a]:a;if(t(e[o],o,e))return!0}return!1}var bi=r((()=>{Z(),ur(),J()}));function xi(e,t,n,r){return lr(e)||(e=Tt(e)),(typeof n!=`number`||r)&&(n=0),Yr(e,t,n)>=0}var Si=r((()=>{ur(),Et(),Xr()})),Ci,wi=r((()=>{D(),W(),oi(),tn(),$t(),Ci=E(function(e,t,n){var r,i;return U(t)?i=t:(t=Qt(t),r=t.slice(0,-1),t=t[t.length-1]),ai(e,function(e){var a=i;if(!a){if(r&&r.length&&(e=en(e,r)),e==null)return;a=e[t]}return a==null?a:a.apply(e,n)})})}));function Ti(e,t){return ai(e,dn(t))}var Ei=r((()=>{oi(),fn()}));function Di(e,t){return pi(e,ln(t))}var Oi=r((()=>{mi(),un()}));function ki(e,t,n){var r=-1/0,i=-1/0,a,o;if(t==null||typeof t==`number`&&typeof e[0]!=`object`&&e!=null){e=lr(e)?e:Tt(e);for(var s=0,c=e.length;s<c;s++)a=e[s],a!=null&&a>r&&(r=a)}else t=X(t,n),ri(e,function(e,n,a){o=t(e,n,a),(o>i||o===-1/0&&r===-1/0)&&(r=e,i=o)});return r}var Ai=r((()=>{ur(),Et(),Z(),ii()}));function ji(e,t,n){var r=1/0,i=1/0,a,o;if(t==null||typeof t==`number`&&typeof e[0]!=`object`&&e!=null){e=lr(e)?e:Tt(e);for(var s=0,c=e.length;s<c;s++)a=e[s],a!=null&&a<r&&(r=a)}else t=X(t,n),ri(e,function(e,n,a){o=t(e,n,a),(o<i||o===1/0&&r===1/0)&&(r=e,i=o)});return r}var Mi=r((()=>{ur(),Et(),Z(),ii()}));function Ni(e){return e?G(e)?d.call(e):te(e)?e.match(Pi):lr(e)?ai(e,sn):Tt(e):[]}var Pi,Fi=r((()=>{Se(),T(),ne(),ur(),oi(),cn(),Et(),Pi=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g}));function Ii(e,t,n){if(t==null||n)return lr(e)||(e=Tt(e)),e[Dn(e.length-1)];var r=Ni(e),i=K(r);t=Math.max(Math.min(t,i),0);for(var a=i-1,o=0;o<t;o++){var s=Dn(o,a),c=r[o];r[o]=r[s],r[s]=c}return r.slice(0,t)}var Li=r((()=>{ur(),Et(),Ke(),On(),Fi()}));function Ri(e){return Ii(e,1/0)}var zi=r((()=>{Li()}));function Bi(e,t,n){var r=0;return t=X(t,n),Ti(ai(e,function(e,n,i){return{value:e,index:r++,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||n===void 0)return 1;if(n<r||r===void 0)return-1}return e.index-t.index}),`value`)}var Vi=r((()=>{Z(),Ei(),oi()}));function Hi(e,t){return function(n,r,i){var a=t?[[],[]]:{};return r=X(r,i),ri(n,function(t,i){e(a,t,r(t,i,n))}),a}}var Ui=r((()=>{Z(),ii()})),Wi,Gi=r((()=>{Ui(),we(),Wi=Hi(function(e,t,n){Ce(e,n)?e[n].push(t):e[n]=[t]})})),Ki,qi=r((()=>{Ui(),Ki=Hi(function(e,t,n){e[n]=t})})),Ji,Yi=r((()=>{Ui(),we(),Ji=Hi(function(e,t,n){Ce(e,n)?e[n]++:e[n]=1})})),Xi,Zi=r((()=>{Ui(),Xi=Hi(function(e,t,n){e[+!n].push(t)},!0)}));function Qi(e){return e==null?0:lr(e)?e.length:q(e).length}var $i=r((()=>{ur(),J()}));function ea(e,t,n){return t in n}var ta=r((()=>{})),na,ra=r((()=>{D(),W(),mn(),st(),ta(),fr(),na=E(function(e,t){var n={},r=t[0];if(e==null)return n;U(r)?(t.length>1&&(r=pn(r,t[1])),t=ot(e)):(r=ea,t=dr(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var o=t[i],s=e[o];r(s,o,e)&&(n[o]=s)}return n})})),ia,aa=r((()=>{D(),W(),Or(),oi(),fr(),Si(),ra(),ia=E(function(e,t){var n=t[0],r;return U(n)?(n=Dr(n),t.length>1&&(r=t[1])):(t=ai(dr(t,!1,!1),String),n=function(e,n){return!xi(t,n)}),na(e,n,r)})}));function oa(e,t,n){return d.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))}var sa=r((()=>{T()}));function ca(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[0]:oa(e,e.length-t)}var la=r((()=>{sa()}));function ua(e,t,n){return d.call(e,t==null||n?1:t)}var da=r((()=>{T()}));function fa(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[e.length-1]:ua(e,Math.max(0,e.length-t))}var pa=r((()=>{da()}));function ma(e){return pi(e,Boolean)}var ha=r((()=>{mi()}));function ga(e,t){return dr(e,t,!1)}var _a=r((()=>{fr()})),va,ya=r((()=>{D(),fr(),mi(),Si(),va=E(function(e,t){return t=dr(t,!0,!0),pi(e,function(e){return!xi(t,e)})})})),ba,xa=r((()=>{D(),ya(),ba=E(function(e,t){return va(e,t)})}));function Sa(e,t,n,r){P(t)||(r=n,n=t,t=!1),n!=null&&(n=X(n,r));for(var i=[],a=[],o=0,s=K(e);o<s;o++){var c=e[o],l=n?n(c,o,e):c;t&&!n?((!o||a!==l)&&i.push(c),a=l):n?xi(a,l)||(a.push(l),i.push(c)):xi(i,c)||i.push(c)}return i}var Ca=r((()=>{F(),Z(),Ke(),Si()})),wa,Ta=r((()=>{D(),Ca(),fr(),wa=E(function(e){return Sa(dr(e,!0,!0))})}));function Ea(e){for(var t=[],n=arguments.length,r=0,i=K(e);r<i;r++){var a=e[r];if(!xi(t,a)){for(var o=1;o<n&&xi(arguments[o],a);o++);o===n&&t.push(a)}}return t}var Da=r((()=>{Ke(),Si()}));function Oa(e){for(var t=e&&ki(e,K).length||0,n=Array(t),r=0;r<t;r++)n[r]=Ti(e,r);return n}var ka=r((()=>{Ai(),Ke(),Ei()})),Aa,ja=r((()=>{D(),ka(),Aa=E(Oa)}));function Ma(e,t){for(var n={},r=0,i=K(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}var Na=r((()=>{Ke()}));function Pa(e,t,n){t??(t=e||0,e=0),n||=t<e?-1:1;for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),a=0;a<r;a++,e+=n)i[a]=e;return i}var Fa=r((()=>{}));function Ia(e,t){if(t==null||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(d.call(e,r,r+=t));return n}var La=r((()=>{T()}));function Ra(e,t){return e._chain?Y(t).chain():t}var za=r((()=>{et()}));function Ba(e){return ri(jt(e),function(t){var n=Y[t]=e[t];Y.prototype[t]=function(){var e=[this._wrapped];return u.apply(e,arguments),Ra(this,n.apply(Y,e))}}),Y}var Va=r((()=>{et(),ii(),Mt(),T(),za()})),Ha,Ua=r((()=>{et(),ii(),T(),za(),ri([`pop`,`push`,`reverse`,`shift`,`sort`,`splice`,`unshift`],function(e){var t=s[e];Y.prototype[e]=function(){var n=this._wrapped;return n!=null&&(t.apply(n,arguments),(e===`shift`||e===`splice`)&&n.length===0&&delete n[0]),Ra(this,n)}}),ri([`concat`,`join`,`slice`],function(e){var t=s[e];Y.prototype[e]=function(){var e=this._wrapped;return e!=null&&(e=t.apply(e,arguments)),Ra(this,e)}}),Ha=Y})),Wa=e({VERSION:()=>a,after:()=>jr,all:()=>_i,allKeys:()=>ot,any:()=>yi,assign:()=>Lt,before:()=>Nr,bind:()=>sr,bindAll:()=>pr,chain:()=>tr,chunk:()=>Ia,clone:()=>Kt,collect:()=>ai,compact:()=>ma,compose:()=>kr,constant:()=>Me,contains:()=>xi,countBy:()=>Ji,create:()=>Wt,debounce:()=>Cr,default:()=>Ha,defaults:()=>zt,defer:()=>yr,delay:()=>_r,detect:()=>$r,difference:()=>va,drop:()=>ua,each:()=>ri,escape:()=>Fn,every:()=>_i,extend:()=>Ft,extendOwn:()=>Lt,filter:()=>pi,find:()=>$r,findIndex:()=>Vr,findKey:()=>Lr,findLastIndex:()=>Ur,findWhere:()=>ti,first:()=>ca,flatten:()=>ga,foldl:()=>li,foldr:()=>di,forEach:()=>ri,functions:()=>jt,get:()=>nn,groupBy:()=>Wi,has:()=>an,head:()=>ca,identity:()=>sn,include:()=>xi,includes:()=>xi,indexBy:()=>Ki,indexOf:()=>Yr,initial:()=>oa,inject:()=>li,intersection:()=>Ea,invert:()=>kt,invoke:()=>Ci,isArguments:()=>Ee,isArray:()=>G,isArrayBuffer:()=>ue,isBoolean:()=>P,isDataView:()=>be,isDate:()=>ie,isElement:()=>I,isEmpty:()=>Xe,isEqual:()=>rt,isError:()=>oe,isFinite:()=>Oe,isFunction:()=>U,isMap:()=>_t,isMatch:()=>Qe,isNaN:()=>Ae,isNull:()=>A,isNumber:()=>re,isObject:()=>O,isRegExp:()=>B,isSet:()=>xt,isString:()=>te,isSymbol:()=>ce,isTypedArray:()=>We,isUndefined:()=>M,isWeakMap:()=>yt,isWeakSet:()=>Ct,iteratee:()=>_n,keys:()=>q,last:()=>fa,lastIndexOf:()=>Zr,map:()=>ai,mapObject:()=>yn,matcher:()=>ln,matches:()=>ln,max:()=>ki,memoize:()=>hr,methods:()=>jt,min:()=>ji,mixin:()=>Ba,negate:()=>Dr,noop:()=>xn,now:()=>kn,object:()=>Ma,omit:()=>ia,once:()=>Fr,pairs:()=>Dt,partial:()=>ar,partition:()=>Xi,pick:()=>na,pluck:()=>Ti,property:()=>dn,propertyOf:()=>Cn,random:()=>Dn,range:()=>Pa,reduce:()=>li,reduceRight:()=>di,reject:()=>hi,rest:()=>ua,restArguments:()=>E,result:()=>Xn,sample:()=>Ii,select:()=>pi,shuffle:()=>Ri,size:()=>Qi,some:()=>yi,sortBy:()=>Bi,sortedIndex:()=>Gr,tail:()=>ua,take:()=>ca,tap:()=>Jt,template:()=>Wn,templateSettings:()=>Vn,throttle:()=>xr,times:()=>Tn,toArray:()=>Ni,toPath:()=>Xt,transpose:()=>Oa,unescape:()=>zn,union:()=>wa,uniq:()=>Sa,unique:()=>Sa,uniqueId:()=>Qn,unzip:()=>Oa,values:()=>Tt,where:()=>Di,without:()=>ba,wrap:()=>Tr,zip:()=>Aa}),Ga=r((()=>{T(),D(),k(),j(),N(),F(),ee(),ne(),z(),ae(),V(),se(),le(),de(),xe(),Se(),W(),De(),ke(),je(),Ge(),Ze(),$e(),at(),vt(),bt(),St(),wt(),J(),st(),Et(),Ot(),At(),Mt(),It(),Rt(),Bt(),Gt(),qt(),Yt(),rn(),on(),bn(),cn(),Ne(),Sn(),Zt(),fn(),wn(),un(),En(),On(),An(),In(),Bn(),Hn(),Yn(),Zn(),er(),nr(),vn(),or(),cr(),mr(),gr(),vr(),br(),Sr(),wr(),Er(),Or(),Ar(),Mr(),Pr(),Ir(),Rr(),Hr(),Wr(),Kr(),Xr(),Qr(),ei(),ni(),ii(),oi(),ui(),fi(),mi(),gi(),vi(),bi(),Si(),wi(),Ei(),Oi(),Ai(),Mi(),zi(),Li(),Vi(),Gi(),qi(),Yi(),Zi(),Fi(),$i(),ra(),aa(),la(),sa(),pa(),da(),ha(),_a(),xa(),Ca(),Ta(),Da(),ya(),ka(),ja(),Na(),Fa(),La(),Va(),Ua()})),Ka,qa=r((()=>{Ga(),Ka=Ba(Wa),Ka._=Ka})),Q=e({VERSION:()=>a,after:()=>jr,all:()=>_i,allKeys:()=>ot,any:()=>yi,assign:()=>Lt,before:()=>Nr,bind:()=>sr,bindAll:()=>pr,chain:()=>tr,chunk:()=>Ia,clone:()=>Kt,collect:()=>ai,compact:()=>ma,compose:()=>kr,constant:()=>Me,contains:()=>xi,countBy:()=>Ji,create:()=>Wt,debounce:()=>Cr,default:()=>Ka,defaults:()=>zt,defer:()=>yr,delay:()=>_r,detect:()=>$r,difference:()=>va,drop:()=>ua,each:()=>ri,escape:()=>Fn,every:()=>_i,extend:()=>Ft,extendOwn:()=>Lt,filter:()=>pi,find:()=>$r,findIndex:()=>Vr,findKey:()=>Lr,findLastIndex:()=>Ur,findWhere:()=>ti,first:()=>ca,flatten:()=>ga,foldl:()=>li,foldr:()=>di,forEach:()=>ri,functions:()=>jt,get:()=>nn,groupBy:()=>Wi,has:()=>an,head:()=>ca,identity:()=>sn,include:()=>xi,includes:()=>xi,indexBy:()=>Ki,indexOf:()=>Yr,initial:()=>oa,inject:()=>li,intersection:()=>Ea,invert:()=>kt,invoke:()=>Ci,isArguments:()=>Ee,isArray:()=>G,isArrayBuffer:()=>ue,isBoolean:()=>P,isDataView:()=>be,isDate:()=>ie,isElement:()=>I,isEmpty:()=>Xe,isEqual:()=>rt,isError:()=>oe,isFinite:()=>Oe,isFunction:()=>U,isMap:()=>_t,isMatch:()=>Qe,isNaN:()=>Ae,isNull:()=>A,isNumber:()=>re,isObject:()=>O,isRegExp:()=>B,isSet:()=>xt,isString:()=>te,isSymbol:()=>ce,isTypedArray:()=>We,isUndefined:()=>M,isWeakMap:()=>yt,isWeakSet:()=>Ct,iteratee:()=>_n,keys:()=>q,last:()=>fa,lastIndexOf:()=>Zr,map:()=>ai,mapObject:()=>yn,matcher:()=>ln,matches:()=>ln,max:()=>ki,memoize:()=>hr,methods:()=>jt,min:()=>ji,mixin:()=>Ba,negate:()=>Dr,noop:()=>xn,now:()=>kn,object:()=>Ma,omit:()=>ia,once:()=>Fr,pairs:()=>Dt,partial:()=>ar,partition:()=>Xi,pick:()=>na,pluck:()=>Ti,property:()=>dn,propertyOf:()=>Cn,random:()=>Dn,range:()=>Pa,reduce:()=>li,reduceRight:()=>di,reject:()=>hi,rest:()=>ua,restArguments:()=>E,result:()=>Xn,sample:()=>Ii,select:()=>pi,shuffle:()=>Ri,size:()=>Qi,some:()=>yi,sortBy:()=>Bi,sortedIndex:()=>Gr,tail:()=>ua,take:()=>ca,tap:()=>Jt,template:()=>Wn,templateSettings:()=>Vn,throttle:()=>xr,times:()=>Tn,toArray:()=>Ni,toPath:()=>Xt,transpose:()=>Oa,unescape:()=>zn,union:()=>wa,uniq:()=>Sa,unique:()=>Sa,uniqueId:()=>Qn,unzip:()=>Oa,values:()=>Tt,where:()=>Di,without:()=>ba,wrap:()=>Tr,zip:()=>Aa}),$=r((()=>{qa(),Ga()})),Ja=t((e=>{var t=($(),n(Q));e.defer=o,e.Promise=Promise,e.resolve=Promise.resolve.bind(Promise),e.reject=Promise.reject.bind(Promise),e.forEachSeries=function(e,t){var n=0,r=o(),i=function(){if(n<e.length){var a=e[n];n++,t(a).then(i,r.reject)}else r.resolve()};return i(),r.promise};var r=e.props=function(e){var t=Object.keys(e),n=Object.values(e);return a(Promise.all(n).then(function(e){for(var n={},r=0;r<t.length;r++)n[t[r]]=e[r];return n}))},i=function(e){return a(this.then(function(n){return r(t.extend({},n,e(n)))}))};function a(e){return e.also=i,e}e.try=function(e){try{return Promise.resolve(e())}catch(e){return Promise.reject(e)}};function o(){var e,t,n=new Promise(function(n,r){e=n,t=r});return{resolve:e,reject:t,promise:n}}function s(e){var t=new Promise(e);return t.__proto__=s.prototype,t}s.__proto__=Promise,s.prototype.__proto__=Promise.prototype,s.prototype.done=function(e,t){return this.then(e,t).catch(function(e){if(l()){var t=e instanceof Error?e.stack:e;process.stderr.write(`Fatal `+t+`
14
+ `),process.exit(2)}else setTimeout(function(){throw e},0)})};function c(e){return s.resolve(e)}e.toExternalPromise=c;function l(){return typeof process>`u`?!1:{}.toString.call(process).toLowerCase()===`[object process]`}})),Ya=t((e=>{var t=($(),n(Q)),r=e.types={document:`document`,paragraph:`paragraph`,run:`run`,text:`text`,tab:`tab`,checkbox:`checkbox`,hyperlink:`hyperlink`,noteReference:`noteReference`,image:`image`,note:`note`,commentReference:`commentReference`,comment:`comment`,table:`table`,tableRow:`tableRow`,tableCell:`tableCell`,break:`break`,bookmarkStart:`bookmarkStart`};function i(e,t){return t||={},{type:r.document,children:e,notes:t.notes||new p({}),comments:t.comments||[]}}function a(e,t){t||={};var n=t.indent||{};return{type:r.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.numbering||null,alignment:t.alignment||null,indent:{start:n.start||null,end:n.end||null,firstLine:n.firstLine||null,hanging:n.hanging||null}}}function o(e,t){return t||={},{type:r.run,children:e,styleId:t.styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||s.baseline,font:t.font||null,fontSize:t.fontSize||null,highlight:t.highlight||null}}var s={baseline:`baseline`,superscript:`superscript`,subscript:`subscript`};function c(e){return{type:r.text,value:e}}function l(){return{type:r.tab}}function u(e){return{type:r.checkbox,checked:e.checked}}function d(e,t){return{type:r.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}}function f(e){return{type:r.noteReference,noteType:e.noteType,noteId:e.noteId}}function p(e){this._notes=t.indexBy(e,function(e){return _(e.noteType,e.noteId)})}p.prototype.resolve=function(e){return this.findNoteByKey(_(e.noteType,e.noteId))},p.prototype.findNoteByKey=function(e){return this._notes[e]||null};function m(e){return{type:r.note,noteType:e.noteType,noteId:e.noteId,body:e.body}}function h(e){return{type:r.commentReference,commentId:e.commentId}}function g(e){return{type:r.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}}function _(e,t){return e+`-`+t}function v(e){return{type:r.image,read:function(t){return t?e.readImage(t):e.readImage().then(function(e){return Buffer.from(e)})},readAsArrayBuffer:function(){return e.readImage()},readAsBase64String:function(){return e.readImage(`base64`)},readAsBuffer:function(){return e.readImage().then(function(e){return Buffer.from(e)})},altText:e.altText,contentType:e.contentType}}function y(e,t){return t||={},{type:r.table,children:e,styleId:t.styleId||null,styleName:t.styleName||null}}function b(e,t){return t||={},{type:r.tableRow,children:e,isHeader:t.isHeader||!1}}function x(e,t){return t||={},{type:r.tableCell,children:e,colSpan:t.colSpan==null?1:t.colSpan,rowSpan:t.rowSpan==null?1:t.rowSpan}}function S(e){return{type:r.break,breakType:e}}function C(e){return{type:r.bookmarkStart,name:e.name}}e.document=e.Document=i,e.paragraph=e.Paragraph=a,e.run=e.Run=o,e.text=e.Text=c,e.tab=e.Tab=l,e.checkbox=e.Checkbox=u,e.Hyperlink=d,e.noteReference=e.NoteReference=f,e.Notes=p,e.Note=m,e.commentReference=h,e.comment=g,e.Image=v,e.Table=y,e.TableRow=b,e.TableCell=x,e.lineBreak=S(`line`),e.pageBreak=S(`page`),e.columnBreak=S(`column`),e.BookmarkStart=C,e.verticalAlignment=s})),Xa=t((e=>{var t=($(),n(Q));e.Result=r,e.success=i,e.warning=a,e.error=o;function r(e,t){this.value=e,this.messages=t||[]}r.prototype.map=function(e){return new r(e(this.value),this.messages)},r.prototype.flatMap=function(e){var t=e(this.value);return new r(t.value,s([this,t]))},r.prototype.flatMapThen=function(e){var t=this;return e(this.value).then(function(e){return new r(e.value,s([t,e]))})},r.combine=function(e){return new r(t.flatten(t.pluck(e,`value`)),s(e))};function i(e){return new r(e,[])}function a(e){return{type:`warning`,message:e}}function o(e){return{type:`error`,message:e.message,error:e}}function s(e){var n=[];return t.flatten(t.pluck(e,`messages`),!0).forEach(function(e){c(n,e)||n.push(e)}),n}function c(e,n){return t.find(e,l.bind(null,n))!==void 0}function l(e,t){return e.type===t.type&&e.message===t.message}})),Za=t((e=>{e.byteLength=c,e.toByteArray=u,e.fromByteArray=p;for(var t=[],n=[],r=typeof Uint8Array<`u`?Uint8Array:Array,i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,a=0,o=i.length;a<o;++a)t[a]=i[a],n[i.charCodeAt(a)]=a;n[45]=62,n[95]=63;function s(e){var t=e.length;if(t%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var n=e.indexOf(`=`);n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=s(e),n=t[0],r=t[1];return(n+r)*3/4-r}function l(e,t,n){return(t+n)*3/4-n}function u(e){for(var t,i=s(e),a=i[0],o=i[1],c=new r(l(e,a,o)),u=0,d=o>0?a-4:a,f=0;f<d;f+=4)t=n[e.charCodeAt(f)]<<18|n[e.charCodeAt(f+1)]<<12|n[e.charCodeAt(f+2)]<<6|n[e.charCodeAt(f+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=t&255;return o===2&&(t=n[e.charCodeAt(f)]<<2|n[e.charCodeAt(f+1)]>>4,c[u++]=t&255),o===1&&(t=n[e.charCodeAt(f)]<<10|n[e.charCodeAt(f+1)]<<4|n[e.charCodeAt(f+2)]>>2,c[u++]=t>>8&255,c[u++]=t&255),c}function d(e){return t[e>>18&63]+t[e>>12&63]+t[e>>6&63]+t[e&63]}function f(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),i.push(d(r));return i.join(``)}function p(e){for(var n,r=e.length,i=r%3,a=[],o=16383,s=0,c=r-i;s<c;s+=o)a.push(f(e,s,s+o>c?c:s+o));return i===1?(n=e[r-1],a.push(t[n>>2]+t[n<<4&63]+`==`)):i===2&&(n=(e[r-2]<<8)+e[r-1],a.push(t[n>>10]+t[n>>4&63]+t[n<<2&63]+`=`)),a.join(``)}})),Qa=t((e=>{var t=Za(),n=i();e.openArrayBuffer=r,e.splitPath=a,e.joinPath=o;function r(e){return n.loadAsync(e).then(function(e){function n(t){return e.file(t)!==null}function r(n,r){return e.file(n).async(`uint8array`).then(function(e){return r===`base64`?t.fromByteArray(e):r?new TextDecoder(r).decode(e):e})}function i(t,n){e.file(t,n)}function a(){return e.generateAsync({type:`arraybuffer`})}return{exists:n,read:r,write:i,toArrayBuffer:a}})}function a(e){var t=e.lastIndexOf(`/`);return t===-1?{dirname:``,basename:e}:{dirname:e.substring(0,t),basename:e.substring(t+1)}}function o(){var e=Array.prototype.filter.call(arguments,function(e){return e}),t=[];return e.forEach(function(e){/^\//.test(e)?t=[e]:t.push(e)}),t.join(`/`)}})),$a=t((e=>{var t=($(),n(Q));e.Element=i,e.element=function(e,t,n){return new i(e,t,n)},e.text=function(e){return{type:`text`,value:e}};var r=e.emptyElement={first:function(){return null},firstOrEmpty:function(){return r},attributes:{},children:[]};function i(e,t,n){this.type=`element`,this.name=e,this.attributes=t||{},this.children=n||[]}i.prototype.first=function(e){return t.find(this.children,function(t){return t.name===e})},i.prototype.firstOrEmpty=function(e){return this.first(e)||r},i.prototype.getElementsByTagName=function(e){return o(t.filter(this.children,function(t){return t.name===e}))},i.prototype.text=function(){if(this.children.length===0)return``;if(this.children.length!==1||this.children[0].type!==`text`)throw Error(`Not implemented`);return this.children[0].value};var a={getElementsByTagName:function(e){return o(t.flatten(this.map(function(t){return t.getElementsByTagName(e)},!0)))}};function o(e){return t.extend(e,a)}})),eo=t((e=>{function t(e,t,n){if(n===void 0&&(n=Array.prototype),e&&typeof n.find==`function`)return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}}function n(e,t){return t===void 0&&(t=Object),t&&typeof t.freeze==`function`?t.freeze(e):e}function r(e,t){if(typeof e!=`object`||!e)throw TypeError(`target is not an object`);for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var i=n({HTML:`text/html`,isHTML:function(e){return e===i.HTML},XML_APPLICATION:`application/xml`,XML_TEXT:`text/xml`,XML_XHTML_APPLICATION:`application/xhtml+xml`,XML_SVG_IMAGE:`image/svg+xml`}),a=n({HTML:`http://www.w3.org/1999/xhtml`,isHTML:function(e){return e===a.HTML},SVG:`http://www.w3.org/2000/svg`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`}),o=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,s=RegExp(`[\\-\\.0-9`+o.source.slice(1,-1)+`\\u00B7\\u0300-\\u036F\\u203F-\\u2040]`),c=RegExp(`^`+o.source+s.source+`*(?::`+o.source+s.source+`*)?$`);e.assign=r,e.find=t,e.freeze=n,e.MIME_TYPE=i,e.NAMESPACE=a,e.nameStartChar=o,e.nameChar=s,e.tagNamePattern=c})),to=t((e=>{var t=eo(),n=t.find,r=t.NAMESPACE,i=t.tagNamePattern;function a(e){return e!==``}function o(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function c(e){if(!e)return[];var t=o(e);return Object.keys(t.reduce(s,{}))}function l(e){return function(t){return e&&e.indexOf(t)!==-1}}function u(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function d(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,r=new r,u(n,r),e.prototype=n=r}n.constructor!=e&&(typeof e!=`function`&&console.error(`unknown Class:`+e),n.constructor=e)}var f={},p=f.ELEMENT_NODE=1,m=f.ATTRIBUTE_NODE=2,h=f.TEXT_NODE=3,g=f.CDATA_SECTION_NODE=4,_=f.ENTITY_REFERENCE_NODE=5,v=f.ENTITY_NODE=6,y=f.PROCESSING_INSTRUCTION_NODE=7,b=f.COMMENT_NODE=8,x=f.DOCUMENT_NODE=9,S=f.DOCUMENT_TYPE_NODE=10,C=f.DOCUMENT_FRAGMENT_NODE=11,w=f.NOTATION_NODE=12,T={},E={};T.INDEX_SIZE_ERR=(E[1]=`Index size error`,1),T.DOMSTRING_SIZE_ERR=(E[2]=`DOMString size error`,2);var D=T.HIERARCHY_REQUEST_ERR=(E[3]=`Hierarchy request error`,3);T.WRONG_DOCUMENT_ERR=(E[4]=`Wrong document`,4);var O=T.INVALID_CHARACTER_ERR=(E[5]=`Invalid character`,5);T.NO_DATA_ALLOWED_ERR=(E[6]=`No data allowed`,6),T.NO_MODIFICATION_ALLOWED_ERR=(E[7]=`No modification allowed`,7);var k=T.NOT_FOUND_ERR=(E[8]=`Not found`,8);T.NOT_SUPPORTED_ERR=(E[9]=`Not supported`,9);var A=T.INUSE_ATTRIBUTE_ERR=(E[10]=`Attribute in use`,10),j=T.INVALID_STATE_ERR=(E[11]=`Invalid state`,11);T.SYNTAX_ERR=(E[12]=`Syntax error`,12),T.INVALID_MODIFICATION_ERR=(E[13]=`Invalid modification`,13),T.NAMESPACE_ERR=(E[14]=`Invalid namespace`,14),T.INVALID_ACCESS_ERR=(E[15]=`Invalid access`,15);function M(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,E[e]),this.message=E[e],Error.captureStackTrace&&Error.captureStackTrace(this,M);return n.code=e,t&&(this.message=this.message+`: `+t),n}M.prototype=Error.prototype,u(T,M);function N(){}N.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t,n){for(var r=!!n&&!!n.requireWellFormed,i=[],a=0;a<this.length;a++)Fe(this[a],i,e,t,null,r);return i.join(``)},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};function P(e,t){this._node=e,this._refresh=t,F(this)}function F(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(Re(e,`length`,n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)Object.prototype.hasOwnProperty.call(e,r)&&delete e[r];u(n,e),e._inc=t}}P.prototype.item=function(e){return F(this),this[e]||null},d(P,N);function I(){this._nameIndex=Object.create(null)}function ee(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function L(e,t){e._nameIndex[t.nodeName]=t}function R(e,t){e._nameIndex[t.nodeName]===t&&delete e._nameIndex[t.nodeName]}function te(e,t,n,r){if(r?(t[ee(t,r)]=n,R(t,r)):t[t.length++]=n,L(t,n),e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&se(i,e,r),oe(i,e,n))}}function ne(e,t,n){var r=ee(t,n);if(r>=0){for(var i=t.length-1;r<i;)t[r]=t[++r];if(t.length=i,R(t,n),e){var a=e.ownerDocument;a&&(se(a,e,n),n.ownerElement=null)}}else throw new M(k,Error(e.tagName+`@`+n))}I.prototype={length:0,item:N.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new M(A);var n=this._nameIndex[e.nodeName];return te(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t=e.ownerElement,n;if(t&&t!=this._ownerElement)throw new M(A);return n=this.getNamedItemNS(e.namespaceURI,e.localName),te(this._ownerElement,this,e,n),n},removeNamedItem:function(e){var t=this.getNamedItem(e);return ne(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return ne(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}};function re(){}re.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new V;if(r.implementation=this,r.childNodes=new N,r.doctype=n||null,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new Te;return r.name=e,r.nodeName=e,r.publicId=t||``,r.systemId=n||``,r}};function z(){}z.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return _e(this,e,t)},replaceChild:function(e,t){_e(this,e,t,ge),t&&this.removeChild(t)},removeChild:function(e){return le(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Le(this.ownerDocument||this,this,e)},normalize:function(){B(this,null,{enter:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;if(n!==null&&n.nodeType===h&&t.nodeType===h){for(var r=[],i=n;i!==null&&i.nodeType===h;)r.push(i.data),i=i.nextSibling;for(var a=t.nextSibling;a!==i;){var o=a.nextSibling;a.parentNode=null,a.previousSibling=null,a.nextSibling=null,a=o}t.nextSibling=i,i===null?e.lastChild=t:i.previousSibling=t,t.appendData(r.join(``)),ce(e.ownerDocument,e),t=i}else t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r}t=t.nodeType==m?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==m?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null}};function ie(e){return e==`<`&&`&lt;`||e==`>`&&`&gt;`||e==`&`&&`&amp;`||e==`"`&&`&quot;`||`&#`+e.charCodeAt()+`;`}u(f,z),u(f,z.prototype);function ae(e,t){return B(e,null,{enter:function(e){return!t(e)||B.STOP}})===B.STOP}function B(e,t,n){for(var r=[{node:e,context:t,phase:B.ENTER}];r.length>0;){var i=r.pop();if(i.phase===B.ENTER){var a=n.enter(i.node,i.context);if(a===B.STOP)return B.STOP;if(r.push({node:i.node,context:a,phase:B.EXIT}),a==null)continue;for(var o=i.node.lastChild;o;)r.push({node:o,context:a,phase:B.ENTER}),o=o.previousSibling}else n.exit&&n.exit(i.node,i.context)}}B.STOP=Symbol(`walkDOM.STOP`),B.ENTER=0,B.EXIT=1;function V(){this.ownerDocument=this}function oe(e,t,n){e&&e._inc++,n.namespaceURI===r.XMLNS&&(t._nsMap[n.prefix?n.localName:``]=n.value)}function se(e,t,n,i){e&&e._inc++,n.namespaceURI===r.XMLNS&&delete t._nsMap[n.prefix?n.localName:``]}function ce(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function le(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,ce(e.ownerDocument,e),t}function ue(e){return e&&(e.nodeType===z.DOCUMENT_NODE||e.nodeType===z.DOCUMENT_FRAGMENT_NODE||e.nodeType===z.ELEMENT_NODE)}function de(e){return e&&(H(e)||U(e)||fe(e)||e.nodeType===z.DOCUMENT_FRAGMENT_NODE||e.nodeType===z.COMMENT_NODE||e.nodeType===z.PROCESSING_INSTRUCTION_NODE)}function fe(e){return e&&e.nodeType===z.DOCUMENT_TYPE_NODE}function H(e){return e&&e.nodeType===z.ELEMENT_NODE}function U(e){return e&&e.nodeType===z.TEXT_NODE}function W(e,t){var r=e.childNodes||[];if(n(r,H)||fe(t))return!1;var i=n(r,fe);return!(t&&i&&r.indexOf(i)>r.indexOf(t))}function pe(e,t){var r=e.childNodes||[];function i(e){return H(e)&&e!==t}if(n(r,i))return!1;var a=n(r,fe);return!(t&&a&&r.indexOf(a)>r.indexOf(t))}function me(e,t,n){if(!ue(e))throw new M(D,`Unexpected parent node type `+e.nodeType);if(n&&n.parentNode!==e)throw new M(k,`child not in parent`);if(!de(t)||fe(t)&&e.nodeType!==z.DOCUMENT_NODE)throw new M(D,`Unexpected node type `+t.nodeType+` for parent node type `+e.nodeType)}function he(e,t,r){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===z.DOCUMENT_FRAGMENT_NODE){var o=a.filter(H);if(o.length>1||n(a,U))throw new M(D,`More than one element or text in fragment`);if(o.length===1&&!W(e,r))throw new M(D,`Element in fragment can not be inserted before doctype`)}if(H(t)&&!W(e,r))throw new M(D,`Only one element can be added and only after doctype`);if(fe(t)){if(n(i,fe))throw new M(D,`Only one doctype is allowed`);var s=n(i,H);if(r&&i.indexOf(s)<i.indexOf(r))throw new M(D,`Doctype can only be inserted before an element`);if(!r&&s)throw new M(D,`Doctype can not be appended since element is present`)}}function ge(e,t,r){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===z.DOCUMENT_FRAGMENT_NODE){var o=a.filter(H);if(o.length>1||n(a,U))throw new M(D,`More than one element or text in fragment`);if(o.length===1&&!pe(e,r))throw new M(D,`Element in fragment can not be inserted before doctype`)}if(H(t)&&!pe(e,r))throw new M(D,`Only one element can be added and only after doctype`);if(fe(t)){function e(e){return fe(e)&&e!==r}if(n(i,e))throw new M(D,`Only one doctype is allowed`);var s=n(i,H);if(r&&i.indexOf(s)<i.indexOf(r))throw new M(D,`Doctype can only be inserted before an element`)}}function _e(e,t,n,r){me(e,t,n),e.nodeType===z.DOCUMENT_NODE&&(r||he)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===C){var a=t.firstChild;if(a==null)return t;var o=t.lastChild}else a=o=t;var s=n?n.previousSibling:e.lastChild;a.previousSibling=s,o.nextSibling=n,s?s.nextSibling=a:e.firstChild=a,n==null?e.lastChild=o:n.previousSibling=o;do{a.parentNode=e;var c=e.ownerDocument||e;ve(a,c)}while(a!==o&&(a=a.nextSibling));return ce(e.ownerDocument||e,e),t.nodeType==C&&(t.firstChild=t.lastChild=null),t}function ve(e,t){if(e.ownerDocument!==t){if(e.ownerDocument=t,e.nodeType===p&&e.attributes)for(var n=0;n<e.attributes.length;n++){var r=e.attributes.item(n);r&&(r.ownerDocument=t)}for(var i=e.firstChild;i;)ve(i,t),i=i.nextSibling}}function ye(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,ce(e.ownerDocument,e,t),ve(t,e.ownerDocument||e),t}V.prototype={nodeName:`#document`,nodeType:x,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==C){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return _e(this,e,t),ve(e,this),this.documentElement===null&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),le(this,e)},replaceChild:function(e,t){_e(this,e,t,ge),ve(e,this),t&&this.removeChild(t),H(e)&&(this.documentElement=e)},importNode:function(e,t){return Ie(this,e,t)},getElementById:function(e){var t=null;return ae(this.documentElement,function(n){if(n.nodeType==p&&n.getAttribute(`id`)==e)return t=n,!0}),t},getElementsByClassName:function(e){var t=c(e);return new P(this,function(n){var r=[];return t.length>0&&ae(n.documentElement,function(i){if(i!==n&&i.nodeType===p){var a=i.getAttribute(`class`);if(a){var o=e===a;if(!o){var s=c(a);o=t.every(l(s))}o&&r.push(i)}}}),r})},createElement:function(e){var t=new be;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new N;var n=t.attributes=new I;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new ke;return e.ownerDocument=this,e.childNodes=new N,e},createTextNode:function(e){var t=new Se;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new Ce;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf(`]]>`)!==-1)throw new M(O,`data contains "]]>"`);var t=new we;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new Ae;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new xe;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!i.test(e))throw new M(O,`not a valid xml name "`+e+`"`);var t=new Oe;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new be,r=t.split(`:`),i=n.attributes=new I;return n.childNodes=new N,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new xe,r=t.split(`:`);return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},d(V,z);function be(){this._nsMap={}}be.prototype={nodeType:p,hasAttribute:function(e){return this.getAttributeNode(e)!=null},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||``},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=``+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===C?this.insertBefore(e,null):ye(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||``},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=``+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new P(this,function(t){var n=[];return ae(t,function(r){r!==t&&r.nodeType==p&&(e===`*`||r.tagName==e)&&n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new P(this,function(n){var r=[];return ae(n,function(i){i!==n&&i.nodeType===p&&(e===`*`||i.namespaceURI===e)&&(t===`*`||i.localName==t)&&r.push(i)}),r})}},V.prototype.getElementsByTagName=be.prototype.getElementsByTagName,V.prototype.getElementsByTagNameNS=be.prototype.getElementsByTagNameNS,d(be,z);function xe(){}xe.prototype.nodeType=m,d(xe,z);function G(){}G.prototype={data:``,substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw Error(E[D])},deleteData:function(e,t){this.replaceData(e,t,``)},replaceData:function(e,t,n){var r=this.data.substring(0,e),i=this.data.substring(e+t);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}},d(G,z);function Se(){}Se.prototype={nodeName:`#text`,nodeType:h,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},d(Se,G);function Ce(){}Ce.prototype={nodeName:`#comment`,nodeType:b},d(Ce,G);function we(){}we.prototype={nodeName:`#cdata-section`,nodeType:g},d(we,G);function Te(){}Te.prototype.nodeType=S,d(Te,z);function Ee(){}Ee.prototype.nodeType=w,d(Ee,z);function De(){}De.prototype.nodeType=v,d(De,z);function Oe(){}Oe.prototype.nodeType=_,d(Oe,z);function ke(){}ke.prototype.nodeName=`#document-fragment`,ke.prototype.nodeType=C,d(ke,z);function Ae(){}Ae.prototype.nodeType=y,d(Ae,z);function je(){}je.prototype.serializeToString=function(e,t,n,r){return Me.call(e,t,n,r)},z.prototype.toString=Me;function Me(e,t,n){var r=!!n&&!!n.requireWellFormed,i=[],a=this.nodeType==9&&this.documentElement||this,o=a.prefix,s=a.namespaceURI;if(s&&o==null){var o=a.lookupPrefix(s);if(o==null)var c=[{namespace:s,prefix:null}]}return Fe(this,i,e,t,c,r),i.join(``)}function Ne(e,t,n){var i=e.prefix||``,a=e.namespaceURI;if(!a||i===`xml`&&a===r.XML||a===r.XMLNS)return!1;for(var o=n.length;o--;){var s=n[o];if(s.prefix===i)return s.namespace!==a}return!0}function Pe(e,t,n,r){if(r&&!i.test(t))throw new M(j,`The attribute name "`+t+`" is not a valid XML QName`);e.push(` `,t,`="`,n.replace(/[<>&"\t\n\r]/g,ie),`"`)}function Fe(e,t,n,a,o,s){o||=[],B(e,{ns:o,isHTML:n},{enter:function(e,n){var o=n.ns,c=n.isHTML;if(a){if(e=a(e),e){if(typeof e==`string`)return t.push(e),null}else return null}switch(e.nodeType){case p:var l=e.attributes,u=l.length,d=e.tagName;c=r.isHTML(e.namespaceURI)||c;var f=d;if(!c&&!e.prefix&&e.namespaceURI){for(var v,w=0;w<l.length;w++)if(l.item(w).name===`xmlns`){v=l.item(w).value;break}if(!v)for(var T=o.length-1;T>=0;T--){var E=o[T];if(E.prefix===``&&E.namespace===e.namespaceURI){v=E.namespace;break}}if(v!==e.namespaceURI)for(var T=o.length-1;T>=0;T--){var E=o[T];if(E.namespace===e.namespaceURI){E.prefix&&(f=E.prefix+`:`+d);break}}}if(s&&!i.test(f))throw new M(j,`The element name "`+f+`" is not a valid XML QName`);t.push(`<`,f);for(var D=o.slice(),O=0;O<u;O++){var k=l.item(O);k.prefix==`xmlns`?D.push({prefix:k.localName,namespace:k.value}):k.nodeName==`xmlns`&&D.push({prefix:``,namespace:k.value})}for(var O=0;O<u;O++){var k=l.item(O);if(Ne(k,c,D)){var A=k.prefix||``,N=k.namespaceURI;Pe(t,A?`xmlns:`+A:`xmlns`,N,s),D.push({prefix:A,namespace:N})}var P=a?a(k):k;P&&(typeof P==`string`?t.push(P):Pe(t,P.name,P.value,s))}if(d===f&&Ne(e,c,D)){var F=e.prefix||``,N=e.namespaceURI;Pe(t,F?`xmlns:`+F:`xmlns`,N,s),D.push({prefix:F,namespace:N})}var I=e.firstChild;if(I||c&&!/^(?:meta|link|img|br|hr|input)$/i.test(d)){if(t.push(`>`),c&&/^script$/i.test(d)){for(;I;)I.data?t.push(I.data):Fe(I,t,c,a,D.slice(),s),I=I.nextSibling;return t.push(`</`,d,`>`),null}return{ns:D,isHTML:c,tag:f}}return t.push(`/>`),null;case x:case C:return{ns:o.slice(),isHTML:c,tag:null};case m:return Pe(t,e.name,e.value,s),null;case h:return t.push(e.data.replace(/[<&>]/g,ie)),null;case g:if(s&&e.data.indexOf(`]]>`)!==-1)throw new M(j,`The CDATASection data contains "]]>"`);return t.push(`<![CDATA[`,e.data.replace(/]]>/g,`]]]]><![CDATA[>`),`]]>`),null;case b:if(s&&e.data.indexOf(`-->`)!==-1)throw new M(j,`The comment node data contains "-->"`);return t.push(`<!--`,e.data,`-->`),null;case S:if(s){if(!i.test(e.name))throw new M(j,`The doctype name "`+e.name+`" is not a valid XML Name`);if(e.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(e.publicId))throw new M(j,`DocumentType publicId is not a valid PubidLiteral`);if(e.systemId&&!/^("[^"]*"|'[^']*')$/.test(e.systemId))throw new M(j,`DocumentType systemId is not a valid SystemLiteral`);if(e.internalSubset&&e.internalSubset.indexOf(`]>`)!==-1)throw new M(j,`DocumentType internalSubset contains "]>"`)}var ee=e.publicId,L=e.systemId;if(t.push(`<!DOCTYPE `,e.name),ee)t.push(` PUBLIC `,ee),L&&L!=`.`&&t.push(` `,L),t.push(`>`);else if(L&&L!=`.`)t.push(` SYSTEM `,L,`>`);else{var R=e.internalSubset;R&&t.push(` [`,R,`]`),t.push(`>`)}return null;case y:if(s){if(!i.test(e.target)||e.target.indexOf(`:`)!==-1||e.target.toLowerCase()===`xml`)throw new M(j,`The processing instruction target "`+e.target+`" is not a valid XML NCName or is reserved`);if(e.data.indexOf(`?>`)!==-1)throw new M(j,`The ProcessingInstruction data contains "?>"`)}return t.push(`<?`,e.target,` `,e.data,`?>`),null;case _:if(s&&!i.test(e.nodeName))throw new M(j,`The entity reference name "`+e.nodeName+`" is not a valid XML Name`);return t.push(`&`,e.nodeName,`;`),null;default:return t.push(`??`,e.nodeName),null}},exit:function(e,n){n&&n.tag&&t.push(`</`,n.tag,`>`)}})}function Ie(e,t,n){var r;return B(t,null,{enter:function(t,i){var a=t.cloneNode(!1);return a.ownerDocument=e,a.parentNode=null,i===null?r=a:i.appendChild(a),t.nodeType===m||n?a:null}}),r}function Le(e,t,n){var r;return B(t,null,{enter:function(t,i){var a=new t.constructor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var s=t[o];typeof s!=`object`&&s!=a[o]&&(a[o]=s)}t.childNodes&&(a.childNodes=new N),a.ownerDocument=e;var c=n;switch(a.nodeType){case p:var l=t.attributes,u=a.attributes=new I,d=l.length;u._ownerElement=a;for(var f=0;f<d;f++)a.setAttributeNode(Le(e,l.item(f),!0));break;case m:c=!0}return i===null?r=a:i.appendChild(a),c?a:null}}),r}function Re(e,t,n){e[t]=n}try{Object.defineProperty&&(Object.defineProperty(P.prototype,"length",{get:function(){return F(this),this.$$length}}),Object.defineProperty(z.prototype,"textContent",{get:function(){if(this.nodeType===p||this.nodeType===C){var e=[];return B(this,null,{enter:function(t){if(t.nodeType===p||t.nodeType===C)return!0;if(t.nodeType===y||t.nodeType===b)return null;e.push(t.nodeValue)}}),e.join(``)}return this.nodeValue},set:function(e){switch(this.nodeType){case p:case C:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Re=function(e,t,n){e[`$$`+t]=n})}catch{}e.DocumentType=Te,e.DOMException=M,e.DOMImplementation=re,e.Element=be,e.Node=z,e.NodeList=N,e.walkDOM=B,e.XMLSerializer=je})),no=t((e=>{var t=eo().freeze;e.XML_ENTITIES=t({amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`}),e.HTML_ENTITIES=t({Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:`⁡`,Afr:`𝔄`,afr:`𝔞`,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,AMP:`&`,amp:`&`,And:`⩓`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:`𝔸`,aopf:`𝕒`,ap:`≈`,apacir:`⩯`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:`⁡`,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:`𝒜`,ascr:`𝒶`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,Barwed:`⌆`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,Because:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:`𝔅`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bNot:`⫭`,bnot:`⌐`,Bopf:`𝔹`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxDL:`╗`,boxDl:`╖`,boxdL:`╕`,boxdl:`┐`,boxDR:`╔`,boxDr:`╓`,boxdR:`╒`,boxdr:`┌`,boxH:`═`,boxh:`─`,boxHD:`╦`,boxHd:`╤`,boxhD:`╥`,boxhd:`┬`,boxHU:`╩`,boxHu:`╧`,boxhU:`╨`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxUL:`╝`,boxUl:`╜`,boxuL:`╛`,boxul:`┘`,boxUR:`╚`,boxUr:`╙`,boxuR:`╘`,boxur:`└`,boxV:`║`,boxv:`│`,boxVH:`╬`,boxVh:`╫`,boxvH:`╪`,boxvh:`┼`,boxVL:`╣`,boxVl:`╢`,boxvL:`╡`,boxvl:`┤`,boxVR:`╠`,boxVr:`╟`,boxvR:`╞`,boxvr:`├`,bprime:`‵`,Breve:`˘`,breve:`˘`,brvbar:`¦`,Bscr:`ℬ`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,Cap:`⋒`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,CenterDot:`·`,centerdot:`·`,Cfr:`ℭ`,cfr:`𝔠`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,cir:`○`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,Colon:`∷`,colon:`:`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,Conint:`∯`,conint:`∮`,ContourIntegral:`∮`,Copf:`ℂ`,copf:`𝕔`,coprod:`∐`,Coproduct:`∐`,COPY:`©`,copy:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,Cross:`⨯`,cross:`✗`,Cscr:`𝒞`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,Cup:`⋓`,cup:`∪`,cupbrcap:`⩈`,CupCap:`≍`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,Dagger:`‡`,dagger:`†`,daleth:`ℸ`,Darr:`↡`,dArr:`⇓`,darr:`↓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,DD:`ⅅ`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:`𝔇`,dfr:`𝔡`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,Diamond:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:`𝔻`,dopf:`𝕕`,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,Downarrow:`⇓`,downarrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:`𝒟`,dscr:`𝒹`,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,ecir:`≖`,Ecirc:`Ê`,ecirc:`ê`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,eDot:`≑`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,Efr:`𝔈`,efr:`𝔢`,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp:` `,emsp13:` `,emsp14:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:`𝔼`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,Escr:`ℰ`,escr:`ℯ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,ExponentialE:`ⅇ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:`𝔉`,ffr:`𝔣`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:`𝔽`,fopf:`𝕗`,ForAll:`∀`,forall:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,Fscr:`ℱ`,fscr:`𝒻`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,gE:`≧`,ge:`≥`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,Gfr:`𝔊`,gfr:`𝔤`,Gg:`⋙`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gl:`≷`,gla:`⪥`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gnE:`≩`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:`𝔾`,gopf:`𝕘`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,Gt:`≫`,GT:`>`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,hArr:`⇔`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,Hfr:`ℌ`,hfr:`𝔥`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,Hopf:`ℍ`,hopf:`𝕙`,horbar:`―`,HorizontalLine:`─`,Hscr:`ℋ`,hscr:`𝒽`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:`⁣`,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,Ifr:`ℑ`,ifr:`𝔦`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Im:`ℑ`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,Int:`∬`,int:`∫`,intcal:`⊺`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:`𝕀`,iopf:`𝕚`,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,Iscr:`ℐ`,iscr:`𝒾`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:`𝔍`,jfr:`𝔧`,jmath:`ȷ`,Jopf:`𝕁`,jopf:`𝕛`,Jscr:`𝒥`,jscr:`𝒿`,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:`𝔎`,kfr:`𝔨`,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:`𝕂`,kopf:`𝕜`,Kscr:`𝒦`,kscr:`𝓀`,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,Lang:`⟪`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,Larr:`↞`,lArr:`⇐`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,lAtail:`⤛`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lBarr:`⤎`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,lE:`≦`,le:`≤`,LeftAngleBracket:`⟨`,LeftArrow:`←`,Leftarrow:`⇐`,leftarrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:`𝔏`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,Ll:`⋘`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lnE:`≨`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftarrow:`⟵`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longleftrightarrow:`⟷`,longmapsto:`⟼`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:`𝕃`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,Lscr:`ℒ`,lscr:`𝓁`,Lsh:`↰`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,Lt:`≪`,LT:`<`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:`𝕄`,mopf:`𝕞`,mp:`∓`,Mscr:`ℳ`,mscr:`𝓂`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,ne:`≠`,nearhk:`⤤`,neArr:`⇗`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
15
+ `,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlArr:`⇍`,nlarr:`↚`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nLeftarrow:`⇍`,nleftarrow:`↚`,nLeftrightarrow:`⇎`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,nopf:`𝕟`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nRightarrow:`⇏`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nVDash:`⊯`,nVdash:`⊮`,nvDash:`⊭`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwArr:`⇖`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,Ocirc:`Ô`,ocirc:`ô`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,Or:`⩔`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,Otimes:`⨷`,otimes:`⊗`,otimesas:`⨶`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,Popf:`ℙ`,popf:`𝕡`,pound:`£`,Pr:`⪻`,pr:`≺`,prap:`⪷`,prcue:`≼`,prE:`⪳`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,Prime:`″`,prime:`′`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportion:`∷`,Proportional:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:`𝒫`,pscr:`𝓅`,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:`𝔔`,qfr:`𝔮`,qint:`⨌`,Qopf:`ℚ`,qopf:`𝕢`,qprime:`⁗`,Qscr:`𝒬`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,QUOT:`"`,quot:`"`,rAarr:`⇛`,race:`∽̱`,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,Rang:`⟫`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,Rarr:`↠`,rArr:`⇒`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,rAtail:`⤜`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,RBarr:`⤐`,rBarr:`⤏`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,Re:`ℜ`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,REG:`®`,reg:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,Rfr:`ℜ`,rfr:`𝔯`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrow:`→`,Rightarrow:`⇒`,rightarrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,Ropf:`ℝ`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,Rscr:`ℛ`,rscr:`𝓇`,Rsh:`↱`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,Sc:`⪼`,sc:`≻`,scap:`⪸`,Scaron:`Š`,scaron:`š`,sccue:`≽`,scE:`⪴`,sce:`⪰`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,searhk:`⤥`,seArr:`⇘`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:`𝔖`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:`­`,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,SOFTcy:`Ь`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,Sopf:`𝕊`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,Square:`□`,square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squf:`▪`,srarr:`→`,Sscr:`𝒮`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,Sub:`⋐`,sub:`⊂`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,Subset:`⋐`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,Sum:`∑`,sum:`∑`,sung:`♪`,Sup:`⋑`,sup:`⊃`,sup1:`¹`,sup2:`²`,sup3:`³`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,Supset:`⋑`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swArr:`⇙`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:` `,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:`𝔗`,tfr:`𝔱`,there4:`∴`,Therefore:`∴`,therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:`  `,thinsp:` `,ThinSpace:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,Tilde:`∼`,tilde:`˜`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,Topf:`𝕋`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,TRADE:`™`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:`𝒯`,tscr:`𝓉`,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,Uarr:`↟`,uArr:`⇑`,uarr:`↑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:`𝔘`,ufr:`𝔲`,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:`𝕌`,uopf:`𝕦`,UpArrow:`↑`,Uparrow:`⇑`,uparrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,Updownarrow:`⇕`,updownarrow:`↕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,upsi:`υ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTee:`⊥`,UpTeeArrow:`↥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:`𝒰`,uscr:`𝓊`,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,vArr:`⇕`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,Vbar:`⫫`,vBar:`⫨`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,VDash:`⊫`,Vdash:`⊩`,vDash:`⊨`,vdash:`⊢`,Vdashl:`⫦`,Vee:`⋁`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,Verbar:`‖`,verbar:`|`,Vert:`‖`,vert:`|`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,Vopf:`𝕍`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,Vscr:`𝒱`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,Vvdash:`⊪`,vzigzag:`⦚`,Wcirc:`Ŵ`,wcirc:`ŵ`,wedbar:`⩟`,Wedge:`⋀`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,Wfr:`𝔚`,wfr:`𝔴`,Wopf:`𝕎`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,Wscr:`𝒲`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,Xfr:`𝔛`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,Xi:`Ξ`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,Xopf:`𝕏`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,Xscr:`𝒳`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,Yacute:`Ý`,yacute:`ý`,YAcy:`Я`,yacy:`я`,Ycirc:`Ŷ`,ycirc:`ŷ`,Ycy:`Ы`,ycy:`ы`,yen:`¥`,Yfr:`𝔜`,yfr:`𝔶`,YIcy:`Ї`,yicy:`ї`,Yopf:`𝕐`,yopf:`𝕪`,Yscr:`𝒴`,yscr:`𝓎`,YUcy:`Ю`,yucy:`ю`,Yuml:`Ÿ`,yuml:`ÿ`,Zacute:`Ź`,zacute:`ź`,Zcaron:`Ž`,zcaron:`ž`,Zcy:`З`,zcy:`з`,Zdot:`Ż`,zdot:`ż`,zeetrf:`ℨ`,ZeroWidthSpace:`​`,Zeta:`Ζ`,zeta:`ζ`,Zfr:`ℨ`,zfr:`𝔷`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,Zopf:`ℤ`,zopf:`𝕫`,Zscr:`𝒵`,zscr:`𝓏`,zwj:`‍`,zwnj:`‌`}),e.entityMap=e.HTML_ENTITIES})),ro=t((e=>{var t=eo().NAMESPACE,n=eo().tagNamePattern,r=0,i=1,a=2,o=3,s=4,c=5,l=6,u=7;function d(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,d)}d.prototype=Error(),d.prototype.name=d.name;function f(){}f.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),y(t,t={}),p(e,t,n,r,this.errorHandler),r.endDocument()}};function p(e,r,i,a,o){function s(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function c(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(i,t)?i[t]:t.charAt(0)===`#`?s(parseInt(t.substr(1).replace(`x`,`0x`))):(o.error(`entity not found:`+e),e)}function l(t){if(t>E){var n=e.substring(E,t).replace(/&#?\w+;/g,c);C&&u(E),a.characters(n,0,t-E),E=t}}function u(t,n){for(;t>=p&&(n=y.exec(e));)f=n.index,p=f+n[0].length,C.lineNumber++;C.columnNumber=t-f+1}for(var f=0,p=0,y=/.*(?:\r\n?|\n)|.*$/g,C=a.locator,w=[{currentNSMap:r}],T={},E=0;;){try{var D=e.indexOf(`<`,E);if(D<0){if(!e.substr(E).match(/^\s*$/)){var O=a.doc,k=O.createTextNode(e.substr(E));O.appendChild(k),a.currentElement=k}return}switch(D>E&&l(D),e.charAt(D+1)){case`/`:var A=e.indexOf(`>`,D+3),j=e.substring(D+2,A).replace(/^([\s\S]*?[^ \t\n\r])?[ \t\n\r]*$/,`$1`),M=w.pop();A<0?(j=e.substring(D+2).replace(/[\s<].*/,``),o.error(`end tag name: `+j+` is not complete:`+M.tagName),A=D+1+j.length):j.match(/\s</)?(j=j.replace(/[\s<].*/,``),o.error(`end tag name: `+j+` maybe not complete`),A=D+1+j.length):/[ \t\n\r]/.test(j)&&n.test(j.split(/[ \t\n\r]/)[0])&&o.error(`end tag name is followed by whitespace and trailing content: "`+j+`"`);var N=M.localNSMap,P=M.tagName==j;if(P||M.tagName&&M.tagName.toLowerCase()==j.toLowerCase()){if(a.endElement(M.uri,M.localName,j),N)for(var F in N)Object.prototype.hasOwnProperty.call(N,F)&&a.endPrefixMapping(F);P||o.fatalError(`end tag name: `+j+` is not match the current start tagName:`+M.tagName)}else w.push(M);A++;break;case`?`:C&&u(D),A=x(e,D,a);break;case`!`:C&&u(D),A=b(e,D,a,o);break;default:C&&u(D);var I=new S,ee=w[w.length-1].currentNSMap,A=h(e,D,I,ee,c,o),L=I.length;if(!I.closed&&v(e,A,I.tagName,T)&&(I.closed=!0,i.nbsp||o.warning(`unclosed xml attribute`)),C&&L){for(var R=m(C,{}),te=0;te<L;te++){var ne=I[te];u(ne.offset),ne.locator=m(C,{})}a.locator=R,g(I,a,ee)&&w.push(I),a.locator=C}else g(I,a,ee)&&w.push(I);t.isHTML(I.uri)&&!I.closed?A=_(e,A,I.tagName,c,a):A++}}catch(e){if(e instanceof d)throw e;o.error(`element parse error: `+e),A=-1}A>E?E=A:l(Math.max(D,E)+1)}}function m(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function h(e,n,d,f,p,m){function h(e,t,n){d.attributeNames.hasOwnProperty(e)&&m.fatalError(`Attribute `+e+` redefined`),d.addValue(e,t.replace(/[\t\n\r]/g,` `).replace(/&#?\w+;/g,p),n)}for(var g,_,v=++n,y=r;;){var b=e.charAt(v);if(y===r&&b===`<`)throw Error(`unexpected < in tag name: `+e.slice(n,v));switch(b){case`=`:if(y===i)g=e.slice(n,v),y=o;else if(y===a)y=o;else throw Error(`attribute equal must after attrName`);break;case`'`:case`"`:if(y===o||y===i){if(y===i&&(m.warning(`attribute value must after "="`),g=e.slice(n,v)),n=v+1,v=e.indexOf(b,n),v>0)_=e.slice(n,v),h(g,_,n-1),y=c;else throw Error(`attribute value no end '`+b+`' match`)}else if(y==s)_=e.slice(n,v),h(g,_,n),m.warning(`attribute "`+g+`" missed start quot(`+b+`)!!`),n=v+1,y=c;else throw Error(`attribute value must after "="`);break;case`/`:switch(y){case r:d.setTagName(e.slice(n,v));case c:case l:case u:y=u,d.closed=!0;case s:case i:break;case a:d.closed=!0;break;default:throw Error(`attribute invalid close char('/')`)}break;case``:return m.error(`unexpected end of input`),y==r&&d.setTagName(e.slice(n,v)),v;case`>`:switch(y){case r:d.setTagName(e.slice(n,v));case c:case l:case u:break;case s:case i:_=e.slice(n,v),_.slice(-1)===`/`&&(d.closed=!0,_=_.slice(0,-1));case a:y===a&&(_=g),y==s?(m.warning(`attribute "`+_+`" missed quot(")!`),h(g,_,n)):((!t.isHTML(f[``])||!_.match(/^(?:disabled|checked|selected)$/i))&&m.warning(`attribute "`+_+`" missed value!! "`+_+`" instead!!`),h(_,_,n));break;case o:throw Error(`attribute value missed!!`)}return v;case`€`:b=` `;default:if(b<=` `)switch(y){case r:d.setTagName(e.slice(n,v)),y=l;break;case i:g=e.slice(n,v),y=a;break;case s:var _=e.slice(n,v);m.warning(`attribute "`+_+`" missed quot(")!!`),h(g,_,n);case c:y=l}else switch(y){case a:d.tagName,(!t.isHTML(f[``])||!g.match(/^(?:disabled|checked|selected)$/i))&&m.warning(`attribute "`+g+`" missed value!! "`+g+`" instead2!!`),h(g,g,n),n=v,y=i;break;case c:m.warning(`attribute space is required"`+g+`"!!`);case l:y=i,n=v;break;case o:y=s,n=v;break;case u:throw Error(`elements closed character '/' and '>' must be connected to`)}}v++}}function g(e,n,r){for(var i=e.tagName,a=null,o=e.length;o--;){var s=e[o],c=s.qName,l=s.value,u=c.indexOf(`:`);if(u>0)var d=s.prefix=c.slice(0,u),f=c.slice(u+1),p=d===`xmlns`&&f;else f=c,d=null,p=c===`xmlns`&&``;s.localName=f,p!==!1&&(a??(a={},r=Object.create(r)),r[p]=a[p]=l,s.uri=t.XMLNS,n.startPrefixMapping(p,l))}for(var o=e.length;o--;){s=e[o];var d=s.prefix;d&&(d===`xml`&&(s.uri=t.XML),d!==`xmlns`&&(s.uri=r[d||``]))}var u=i.indexOf(`:`);u>0?(d=e.prefix=i.slice(0,u),f=e.localName=i.slice(u+1)):(d=null,f=e.localName=i);var m=e.uri=r[d||``];if(n.startElement(m,f,i,e),e.closed){if(n.endElement(m,f,i),a)for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&n.endPrefixMapping(d)}else return e.currentNSMap=r,e.localNSMap=a,!0}function _(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf(`</`+n+`>`,t),o=e.substring(t+1,a);if(/[&<]/.test(o))return/^script$/i.test(n)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,r),i.characters(o,0,o.length),a)}return t+1}function v(e,t,n,r){var i=r[n];return i??(i=e.lastIndexOf(`</`+n+`>`),i<t&&(i=e.lastIndexOf(`</`+n)),r[n]=i),i<t}function y(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function b(e,t,n,r){switch(e.charAt(t+2)){case`-`:if(e.charAt(t+3)===`-`){var i=e.indexOf(`-->`,t+4);return i>t?(n.comment(e,t+4,i-t-4),i+3):(r.error(`Unclosed comment`),-1)}return-1;default:if(e.substr(t+3,6)==`CDATA[`){var i=e.indexOf(`]]>`,t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var a=C(e,t),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],c=!1,l=!1;o>3&&(/^public$/i.test(a[2][0])?(c=a[3][0],l=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var u=a[o-1];return n.startDTD(s,c,l),n.endDTD(),u.index+u[0].length}}return-1}function x(e,t,n){var r=e.indexOf(`?>`,t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)$/);return i?(i[0].length,n.processingInstruction(i[1],i[2]),r+2):-1}return-1}function S(){this.attributeNames={}}S.prototype={setTagName:function(e){if(!n.test(e))throw Error(`invalid tagName:`+e);this.tagName=e},addValue:function(e,t,r){if(!n.test(e))throw Error(`invalid attribute:`+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}};function C(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=t,i.exec(e);n=i.exec(e);)if(r.push(n),n[1])return r}e.XMLReader=f,e.ParseError=d})),io=t((e=>{var t=eo(),n=to(),r=no(),i=ro(),a=n.DOMImplementation,o=t.NAMESPACE,s=i.ParseError,c=i.XMLReader;function l(e){return e.replace(/\r[\n\u0085]/g,`
16
16
  `).replace(/[\r\u0085\u2028]/g,`
17
17
  `)}function u(e){this.options=e||{locator:{}}}u.prototype.parseFromString=function(e,t){var n=this.options,i=new c,a=n.domBuilder||new f,s=n.errorHandler,u=n.locator,p=n.xmlns||{},m=/\/x?html?$/.test(t),h=m?r.HTML_ENTITIES:r.XML_ENTITIES;u&&a.setDocumentLocator(u),i.errorHandler=d(s,a,u),i.domBuilder=n.domBuilder||a,m&&(p[``]=o.HTML),p.xml=p.xml||o.XML;var g=n.normalizeLineEndings||l;return e&&typeof e==`string`?i.parse(g(e),p,h):i.errorHandler.error(`invalid doc source`),a.doc};function d(e,t,n){if(!e){if(t instanceof f)return t;e=t}var r={},i=e instanceof Function;n||={};function a(t){var a=e[t];!a&&i&&(a=e.length==2?function(n){e(t,n)}:e),r[t]=a&&function(e){a(`[xmldom `+t+`] `+e+m(n))}||function(){}}return a(`warning`),a(`error`),a(`fatalError`),r}function f(){this.cdata=!1}function p(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}f.prototype={startDocument:function(){this.doc=new a().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;g(this,a),this.currentElement=a,this.locator&&p(this.locator,a);for(var s=0;s<o;s++){var e=r.getURI(s),c=r.getValue(s),n=r.getQName(s),l=i.createAttributeNS(e,n);this.locator&&p(r.getLocator(s),l),l.value=l.nodeValue=c,a.setAttributeNode(l)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&p(this.locator,n),g(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=h.apply(this,arguments),e){if(this.cdata)var r=this.doc.createCDATASection(e);else var r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&p(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=h.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&p(this.locator,r),g(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&p(this.locator,i),g(this,i),this.doc.doctype=i}},warning:function(e){console.warn(`[xmldom warning] `+e,m(this.locator))},error:function(e){console.error(`[xmldom error] `+e,m(this.locator))},fatalError:function(e){throw new s(e,this.locator)}};function m(e){if(e)return`
18
- @`+(e.systemId||``)+`#[line:`+e.lineNumber+`,col:`+e.columnNumber+`]`}function h(e,t,n){return typeof e==`string`?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+``:e}`endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl`.replace(/\w+/g,function(e){f.prototype[e]=function(){return null}});function g(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}e.__DOMHandler=f,e.normalizeLineEndings=l,e.DOMParser=u})),ao=n((e=>{var t=to();e.DOMImplementation=t.DOMImplementation,e.XMLSerializer=t.XMLSerializer,e.DOMParser=io().DOMParser})),oo=n((e=>{var t=ao(),n=to();function r(e){var n=null,r=new t.DOMParser({errorHandler:function(e,t){n={level:e,message:t}}}).parseFromString(e);if(n===null)return r;throw Error(n.level+`: `+n.message)}e.parseFromString=r,e.Node=n.Node})),so=n((e=>{var t=Ja(),n=($(),r(Q)),i=oo(),a=$a(),o=a.Element;e.readString=c;var s=i.Node;function c(e,r){r||={};try{var c=i.parseFromString(e,`text/xml`)}catch(e){return t.reject(e)}if(c.documentElement.tagName===`parsererror`)return t.resolve(Error(c.documentElement.textContent));function l(e){switch(e.nodeType){case s.ELEMENT_NODE:return u(e);case s.TEXT_NODE:return a.text(e.nodeValue)}}function u(e){var t=d(e),r=[];n.forEach(e.childNodes,function(e){var t=l(e);t&&r.push(t)});var i=Object.create(null);return n.forEach(e.attributes,function(e){i[d(e)]=e.value}),new o(t,i,r)}function d(e){if(e.namespaceURI){var t=r[e.namespaceURI];return(t?t+`:`:`{`+e.namespaceURI+`}`)+e.localName}return e.localName}return t.resolve(l(c.documentElement))}})),co=n(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c=[].slice,l={}.hasOwnProperty;e=function(){var e,t,n,r,i,o=arguments[0];if(i=2<=arguments.length?c.call(arguments,1):[],a(Object.assign))Object.assign.apply(null,arguments);else for(e=0,n=i.length;e<n;e++)if(r=i[e],r!=null)for(t in r)l.call(r,t)&&(o[t]=r[t]);return o},a=function(e){return!!e&&Object.prototype.toString.call(e)===`[object Function]`},o=function(e){var t;return!!e&&((t=typeof e)==`function`||t===`object`)},r=function(e){return a(Array.isArray)?Array.isArray(e):Object.prototype.toString.call(e)===`[object Array]`},i=function(e){var t;if(r(e))return!e.length;for(t in e)if(l.call(e,t))return!1;return!0},s=function(e){var t,n;return o(e)&&(n=Object.getPrototypeOf(e))&&(t=n.constructor)&&typeof t==`function`&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},n=function(e){return a(e.valueOf)?e.valueOf():e},t.exports.assign=e,t.exports.isFunction=a,t.exports.isObject=o,t.exports.isArray=r,t.exports.isEmpty=i,t.exports.isPlainObject=s,t.exports.getValue=n}).call(n)})),lo=n(((e,t,n)=>{(function(){t.exports=(function(){function e(e,t,n){if(this.options=e.options,this.stringify=e.stringify,this.parent=e,t==null)throw Error(`Missing attribute name. `+this.debugInfo(t));if(n==null)throw Error(`Missing attribute value. `+this.debugInfo(t));this.name=this.stringify.attName(t),this.value=this.stringify.attValue(n)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(e){return this.options.writer.set(e).attribute(this)},e.prototype.debugInfo=function(e){return e||=this.name,e==null?`parent: <`+this.parent.name+`>`:`attribute: {`+e+`}, parent: <`+this.parent.name+`>`},e})()}).call(n)})),uo=n(((e,t,n)=>{(function(){var e,n,r,i,a,o,s=function(e,t){for(var n in t)c.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},c={}.hasOwnProperty;o=co(),a=o.isObject,i=o.isFunction,r=o.getValue,n=wo(),e=lo(),t.exports=(function(t){s(n,t);function n(e,t,r){if(n.__super__.constructor.call(this,e),t==null)throw Error(`Missing element name. `+this.debugInfo());this.name=this.stringify.eleName(t),this.attributes={},r!=null&&this.attribute(r),e.isDocument&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this)}return n.prototype.clone=function(){var e,t,n=Object.create(this),r;for(t in n.isRoot&&(n.documentObject=null),n.attributes={},r=this.attributes,r)c.call(r,t)&&(e=r[t],n.attributes[t]=e.clone());return n.children=[],this.children.forEach(function(e){var t=e.clone();return t.parent=n,n.children.push(t)}),n},n.prototype.attribute=function(t,n){var o,s;if(t!=null&&(t=r(t)),a(t))for(o in t)c.call(t,o)&&(s=t[o],this.attribute(o,s));else i(n)&&(n=n.apply()),(!this.options.skipNullAttributes||n!=null)&&(this.attributes[t]=new e(this,t,n));return this},n.prototype.removeAttribute=function(e){var t,n,i;if(e==null)throw Error(`Missing attribute name. `+this.debugInfo());if(e=r(e),Array.isArray(e))for(n=0,i=e.length;n<i;n++)t=e[n],delete this.attributes[t];else delete this.attributes[e];return this},n.prototype.toString=function(e){return this.options.writer.set(e).element(this)},n.prototype.att=function(e,t){return this.attribute(e,t)},n.prototype.a=function(e,t){return this.attribute(e,t)},n})(n)}).call(n)})),fo=n(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing CDATA text. `+this.debugInfo());this.text=this.stringify.cdata(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).cdata(this)},t})(e)}).call(n)})),po=n(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing comment text. `+this.debugInfo());this.text=this.stringify.comment(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).comment(this)},t})(e)}).call(n)})),mo=n(((e,t,n)=>{(function(){var e,n,r=function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},i={}.hasOwnProperty;n=co().isObject,e=wo(),t.exports=(function(e){r(t,e);function t(e,r,i,a){var o;t.__super__.constructor.call(this,e),n(r)&&(o=r,r=o.version,i=o.encoding,a=o.standalone),r||=`1.0`,this.version=this.stringify.xmlVersion(r),i!=null&&(this.encoding=this.stringify.xmlEncoding(i)),a!=null&&(this.standalone=this.stringify.xmlStandalone(a))}return t.prototype.toString=function(e){return this.options.writer.set(e).declaration(this)},t})(e)}).call(n)})),ho=n(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n,r,i,a,o){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing DTD element name. `+this.debugInfo());if(r==null)throw Error(`Missing DTD attribute name. `+this.debugInfo(n));if(!i)throw Error(`Missing DTD attribute type. `+this.debugInfo(n));if(!a)throw Error(`Missing DTD attribute default. `+this.debugInfo(n));if(a.indexOf(`#`)!==0&&(a=`#`+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error(`Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. `+this.debugInfo(n));if(o&&!a.match(/^(#FIXED|#DEFAULT)$/))throw Error(`Default value only applies to #FIXED or #DEFAULT. `+this.debugInfo(n));this.elementName=this.stringify.eleName(n),this.attributeName=this.stringify.attName(r),this.attributeType=this.stringify.dtdAttType(i),this.defaultValue=this.stringify.dtdAttDefault(o),this.defaultValueType=a}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdAttList(this)},t})(e)}).call(n)})),go=n(((e,t,n)=>{(function(){var e,n,r=function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},i={}.hasOwnProperty;n=co().isObject,e=wo(),t.exports=(function(e){r(t,e);function t(e,r,i,a){if(t.__super__.constructor.call(this,e),i==null)throw Error(`Missing DTD entity name. `+this.debugInfo(i));if(a==null)throw Error(`Missing DTD entity value. `+this.debugInfo(i));if(this.pe=!!r,this.name=this.stringify.eleName(i),!n(a))this.value=this.stringify.dtdEntityValue(a);else{if(!a.pubID&&!a.sysID)throw Error(`Public and/or system identifiers are required for an external entity. `+this.debugInfo(i));if(a.pubID&&!a.sysID)throw Error(`System identifier is required for a public external entity. `+this.debugInfo(i));if(a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID)),a.nData!=null&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw Error(`Notation declaration is not allowed in a parameter entity. `+this.debugInfo(i))}}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdEntity(this)},t})(e)}).call(n)})),_o=n(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n,r){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing DTD element name. `+this.debugInfo());r||=`(#PCDATA)`,Array.isArray(r)&&(r=`(`+r.join(`,`)+`)`),this.name=this.stringify.eleName(n),this.value=this.stringify.dtdElementValue(r)}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdElement(this)},t})(e)}).call(n)})),vo=n(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n,r){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing DTD notation name. `+this.debugInfo(n));if(!r.pubID&&!r.sysID)throw Error(`Public or system identifiers are required for an external entity. `+this.debugInfo(n));this.name=this.stringify.eleName(n),r.pubID!=null&&(this.pubID=this.stringify.dtdPubID(r.pubID)),r.sysID!=null&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdNotation(this)},t})(e)}).call(n)})),yo=n(((e,t,n)=>{(function(){var e,n,r,i,a,o,s=function(e,t){for(var n in t)c.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},c={}.hasOwnProperty;o=co().isObject,a=wo(),e=ho(),r=go(),n=_o(),i=vo(),t.exports=(function(t){s(a,t);function a(e,t,n){var r,i;a.__super__.constructor.call(this,e),this.name=`!DOCTYPE`,this.documentObject=e,o(t)&&(r=t,t=r.pubID,n=r.sysID),n??(i=[t,n],n=i[0],t=i[1]),t!=null&&(this.pubID=this.stringify.dtdPubID(t)),n!=null&&(this.sysID=this.stringify.dtdSysID(n))}return a.prototype.element=function(e,t){var r=new n(this,e,t);return this.children.push(r),this},a.prototype.attList=function(t,n,r,i,a){var o=new e(this,t,n,r,i,a);return this.children.push(o),this},a.prototype.entity=function(e,t){var n=new r(this,!1,e,t);return this.children.push(n),this},a.prototype.pEntity=function(e,t){var n=new r(this,!0,e,t);return this.children.push(n),this},a.prototype.notation=function(e,t){var n=new i(this,e,t);return this.children.push(n),this},a.prototype.toString=function(e){return this.options.writer.set(e).docType(this)},a.prototype.ele=function(e,t){return this.element(e,t)},a.prototype.att=function(e,t,n,r,i){return this.attList(e,t,n,r,i)},a.prototype.ent=function(e,t){return this.entity(e,t)},a.prototype.pent=function(e,t){return this.pEntity(e,t)},a.prototype.not=function(e,t){return this.notation(e,t)},a.prototype.up=function(){return this.root()||this.documentObject},a})(a)}).call(n)})),bo=n(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing raw text. `+this.debugInfo());this.value=this.stringify.raw(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).raw(this)},t})(e)}).call(n)})),xo=n(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing element text. `+this.debugInfo());this.value=this.stringify.eleText(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).text(this)},t})(e)}).call(n)})),So=n(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n,r){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing instruction target. `+this.debugInfo());this.target=this.stringify.insTarget(n),r&&(this.value=this.stringify.insValue(r))}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).processingInstruction(this)},t})(e)}).call(n)})),Co=n(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e){t.__super__.constructor.call(this,e),this.isDummy=!0}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return``},t})(e)}).call(n)})),wo=n(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h={}.hasOwnProperty;m=co(),p=m.isObject,f=m.isFunction,d=m.isEmpty,u=m.getValue,o=null,e=null,n=null,r=null,i=null,c=null,l=null,s=null,a=null,t.exports=(function(){function t(t){this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],o||(o=uo(),e=fo(),n=po(),r=mo(),i=yo(),c=bo(),l=xo(),s=So(),a=Co())}return t.prototype.element=function(e,t,n){var r,i,a,o,s,c=null,l,m,g,_,v;if(t===null&&n==null&&(g=[{},null],t=g[0],n=g[1]),t??={},t=u(t),p(t)||(_=[t,n],n=_[0],t=_[1]),e!=null&&(e=u(e)),Array.isArray(e))for(a=0,l=e.length;a<l;a++)i=e[a],c=this.element(i);else if(f(e))c=this.element(e.apply());else if(p(e)){for(s in e)if(h.call(e,s)){if(v=e[s],f(v)&&(v=v.apply()),p(v)&&d(v)&&(v=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&s.indexOf(this.stringify.convertAttKey)===0)c=this.attribute(s.substr(this.stringify.convertAttKey.length),v);else if(!this.options.separateArrayItems&&Array.isArray(v))for(o=0,m=v.length;o<m;o++)i=v[o],r={},r[s]=i,c=this.element(r);else p(v)?(c=this.element(s),c.element(v)):c=this.element(s,v)}}else c=this.options.skipNullNodes&&n===null?this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&e.indexOf(this.stringify.convertTextKey)===0?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&e.indexOf(this.stringify.convertCDataKey)===0?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&e.indexOf(this.stringify.convertCommentKey)===0?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&e.indexOf(this.stringify.convertRawKey)===0?this.raw(n):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&e.indexOf(this.stringify.convertPIKey)===0?this.instruction(e.substr(this.stringify.convertPIKey.length),n):this.node(e,t,n);if(c==null)throw Error(`Could not create any elements with: `+e+`. `+this.debugInfo());return c},t.prototype.insertBefore=function(e,t,n){var r,i,a;if(this.isRoot)throw Error(`Cannot insert elements at root level. `+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,a),r},t.prototype.insertAfter=function(e,t,n){var r,i,a;if(this.isRoot)throw Error(`Cannot insert elements at root level. `+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i+1),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,a),r},t.prototype.remove=function(){var e;if(this.isRoot)throw Error(`Cannot remove the root element. `+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1]),this.parent},t.prototype.node=function(e,t,n){var r,i;return e!=null&&(e=u(e)),t||={},t=u(t),p(t)||(i=[t,n],n=i[0],t=i[1]),r=new o(this,e,t),n!=null&&r.text(n),this.children.push(r),r},t.prototype.text=function(e){var t=new l(this,e);return this.children.push(t),this},t.prototype.cdata=function(t){var n=new e(this,t);return this.children.push(n),this},t.prototype.comment=function(e){var t=new n(this,e);return this.children.push(t),this},t.prototype.commentBefore=function(e){var t=this.parent.children.indexOf(this),n=this.parent.children.splice(t);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.commentAfter=function(e){var t=this.parent.children.indexOf(this),n=this.parent.children.splice(t+1);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.raw=function(e){var t=new c(this,e);return this.children.push(t),this},t.prototype.dummy=function(){var e=new a(this);return this.children.push(e),e},t.prototype.instruction=function(e,t){var n,r,i,a,o;if(e!=null&&(e=u(e)),t!=null&&(t=u(t)),Array.isArray(e))for(a=0,o=e.length;a<o;a++)n=e[a],this.instruction(n);else if(p(e))for(n in e)h.call(e,n)&&(r=e[n],this.instruction(n,r));else f(t)&&(t=t.apply()),i=new s(this,e,t),this.children.push(i);return this},t.prototype.instructionBefore=function(e,t){var n=this.parent.children.indexOf(this),r=this.parent.children.splice(n);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.instructionAfter=function(e,t){var n=this.parent.children.indexOf(this),r=this.parent.children.splice(n+1);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.declaration=function(e,t,n){var i=this.document(),a=new r(i,e,t,n);return i.children[0]instanceof r?i.children[0]=a:i.children.unshift(a),i.root()||i},t.prototype.doctype=function(e,t){var n,r=this.document(),a=new i(r,e,t),o,s,c,l,u,d=r.children,f;for(o=s=0,l=d.length;s<l;o=++s)if(n=d[o],n instanceof i)return r.children[o]=a,a;for(f=r.children,o=c=0,u=f.length;c<u;o=++c)if(n=f[o],n.isRoot)return r.children.splice(o,0,a),a;return r.children.push(a),a},t.prototype.up=function(){if(this.isRoot)throw Error(`The root node has no parent. Use doc() if you need to get the document object.`);return this.parent},t.prototype.root=function(){for(var e=this;e;)if(e.isDocument)return e.rootObject;else if(e.isRoot)return e;else e=e.parent},t.prototype.document=function(){for(var e=this;e;)if(e.isDocument)return e;else e=e.parent},t.prototype.end=function(e){return this.document().end(e)},t.prototype.prev=function(){for(var e=this.parent.children.indexOf(this);e>0&&this.parent.children[e-1].isDummy;)--e;if(e<1)throw Error(`Already at the first node. `+this.debugInfo());return this.parent.children[e-1]},t.prototype.next=function(){for(var e=this.parent.children.indexOf(this);e<this.parent.children.length-1&&this.parent.children[e+1].isDummy;)e+=1;if(e===-1||e===this.parent.children.length-1)throw Error(`Already at the last node. `+this.debugInfo());return this.parent.children[e+1]},t.prototype.importDocument=function(e){var t=e.root().clone();return t.parent=this,t.isRoot=!1,this.children.push(t),this},t.prototype.debugInfo=function(e){return e||=this.name,e==null&&!this.parent?.name?``:e==null?`parent: <`+this.parent.name+`>`:this.parent?.name?`node: <`+e+`>, parent: <`+this.parent.name+`>`:`node: <`+e+`>`},t.prototype.ele=function(e,t,n){return this.element(e,t,n)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},t.prototype.dtd=function(e,t){return this.doctype(e,t)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.u=function(){return this.up()},t.prototype.importXMLBuilder=function(e){return this.importDocument(e)},t})()}).call(n)})),To=n(((e,t,n)=>{(function(){var e=function(e,t){return function(){return e.apply(t,arguments)}},n={}.hasOwnProperty;t.exports=(function(){function t(t){this.assertLegalChar=e(this.assertLegalChar,this);var r,i,a;for(r in t||={},this.noDoubleEncoding=t.noDoubleEncoding,i=t.stringify||{},i)n.call(i,r)&&(a=i[r],this[r]=a)}return t.prototype.eleName=function(e){return e=``+e||``,this.assertLegalChar(e)},t.prototype.eleText=function(e){return e=``+e||``,this.assertLegalChar(this.elEscape(e))},t.prototype.cdata=function(e){return e=``+e||``,e=e.replace(`]]>`,`]]]]><![CDATA[>`),this.assertLegalChar(e)},t.prototype.comment=function(e){if(e=``+e||``,e.match(/--/))throw Error(`Comment text cannot contain double-hypen: `+e);return this.assertLegalChar(e)},t.prototype.raw=function(e){return``+e||``},t.prototype.attName=function(e){return e=``+e||``},t.prototype.attValue=function(e){return e=``+e||``,this.attEscape(e)},t.prototype.insTarget=function(e){return``+e||``},t.prototype.insValue=function(e){if(e=``+e||``,e.match(/\?>/))throw Error(`Invalid processing instruction value: `+e);return e},t.prototype.xmlVersion=function(e){if(e=``+e||``,!e.match(/1\.[0-9]+/))throw Error(`Invalid version number: `+e);return e},t.prototype.xmlEncoding=function(e){if(e=``+e||``,!e.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error(`Invalid encoding: `+e);return e},t.prototype.xmlStandalone=function(e){return e?`yes`:`no`},t.prototype.dtdPubID=function(e){return``+e||``},t.prototype.dtdSysID=function(e){return``+e||``},t.prototype.dtdElementValue=function(e){return``+e||``},t.prototype.dtdAttType=function(e){return``+e||``},t.prototype.dtdAttDefault=function(e){return e==null?e:``+e||``},t.prototype.dtdEntityValue=function(e){return``+e||``},t.prototype.dtdNData=function(e){return``+e||``},t.prototype.convertAttKey=`@`,t.prototype.convertPIKey=`?`,t.prototype.convertTextKey=`#text`,t.prototype.convertCDataKey=`#cdata`,t.prototype.convertCommentKey=`#comment`,t.prototype.convertRawKey=`#raw`,t.prototype.assertLegalChar=function(e){var t=e.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/);if(t)throw Error(`Invalid character in string: `+e+` at index `+t.index);return e},t.prototype.elEscape=function(e){var t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g;return e.replace(t,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/\r/g,`&#xD;`)},t.prototype.attEscape=function(e){var t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g;return e.replace(t,`&amp;`).replace(/</g,`&lt;`).replace(/"/g,`&quot;`).replace(/\t/g,`&#x9;`).replace(/\n/g,`&#xA;`).replace(/\r/g,`&#xD;`)},t})()}).call(n)})),Eo=n(((e,t,n)=>{(function(){var e={}.hasOwnProperty;t.exports=(function(){function t(t){var n,r,i;for(n in t||={},this.pretty=t.pretty||!1,this.allowEmpty=t.allowEmpty??!1,this.pretty?(this.indent=t.indent??` `,this.newline=t.newline??`
18
+ @`+(e.systemId||``)+`#[line:`+e.lineNumber+`,col:`+e.columnNumber+`]`}function h(e,t,n){return typeof e==`string`?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+``:e}`endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl`.replace(/\w+/g,function(e){f.prototype[e]=function(){return null}});function g(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}e.__DOMHandler=f,e.normalizeLineEndings=l,e.DOMParser=u})),ao=t((e=>{var t=to();e.DOMImplementation=t.DOMImplementation,e.XMLSerializer=t.XMLSerializer,e.DOMParser=io().DOMParser})),oo=t((e=>{var t=ao(),n=to();function r(e){var n=null,r=new t.DOMParser({errorHandler:function(e,t){n={level:e,message:t}}}).parseFromString(e);if(n===null)return r;throw Error(n.level+`: `+n.message)}e.parseFromString=r,e.Node=n.Node})),so=t((e=>{var t=Ja(),r=($(),n(Q)),i=oo(),a=$a(),o=a.Element;e.readString=c;var s=i.Node;function c(e,n){n||={};try{var c=i.parseFromString(e,`text/xml`)}catch(e){return t.reject(e)}if(c.documentElement.tagName===`parsererror`)return t.resolve(Error(c.documentElement.textContent));function l(e){switch(e.nodeType){case s.ELEMENT_NODE:return u(e);case s.TEXT_NODE:return a.text(e.nodeValue)}}function u(e){var t=d(e),n=[];r.forEach(e.childNodes,function(e){var t=l(e);t&&n.push(t)});var i=Object.create(null);return r.forEach(e.attributes,function(e){i[d(e)]=e.value}),new o(t,i,n)}function d(e){if(e.namespaceURI){var t=n[e.namespaceURI];return(t?t+`:`:`{`+e.namespaceURI+`}`)+e.localName}return e.localName}return t.resolve(l(c.documentElement))}})),co=t(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c=[].slice,l={}.hasOwnProperty;e=function(){var e,t,n,r,i,o=arguments[0];if(i=2<=arguments.length?c.call(arguments,1):[],a(Object.assign))Object.assign.apply(null,arguments);else for(e=0,n=i.length;e<n;e++)if(r=i[e],r!=null)for(t in r)l.call(r,t)&&(o[t]=r[t]);return o},a=function(e){return!!e&&Object.prototype.toString.call(e)===`[object Function]`},o=function(e){var t;return!!e&&((t=typeof e)==`function`||t===`object`)},r=function(e){return a(Array.isArray)?Array.isArray(e):Object.prototype.toString.call(e)===`[object Array]`},i=function(e){var t;if(r(e))return!e.length;for(t in e)if(l.call(e,t))return!1;return!0},s=function(e){var t,n;return o(e)&&(n=Object.getPrototypeOf(e))&&(t=n.constructor)&&typeof t==`function`&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},n=function(e){return a(e.valueOf)?e.valueOf():e},t.exports.assign=e,t.exports.isFunction=a,t.exports.isObject=o,t.exports.isArray=r,t.exports.isEmpty=i,t.exports.isPlainObject=s,t.exports.getValue=n}).call(n)})),lo=t(((e,t,n)=>{(function(){t.exports=(function(){function e(e,t,n){if(this.options=e.options,this.stringify=e.stringify,this.parent=e,t==null)throw Error(`Missing attribute name. `+this.debugInfo(t));if(n==null)throw Error(`Missing attribute value. `+this.debugInfo(t));this.name=this.stringify.attName(t),this.value=this.stringify.attValue(n)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(e){return this.options.writer.set(e).attribute(this)},e.prototype.debugInfo=function(e){return e||=this.name,e==null?`parent: <`+this.parent.name+`>`:`attribute: {`+e+`}, parent: <`+this.parent.name+`>`},e})()}).call(n)})),uo=t(((e,t,n)=>{(function(){var e,n,r,i,a,o,s=function(e,t){for(var n in t)c.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},c={}.hasOwnProperty;o=co(),a=o.isObject,i=o.isFunction,r=o.getValue,n=wo(),e=lo(),t.exports=(function(t){s(n,t);function n(e,t,r){if(n.__super__.constructor.call(this,e),t==null)throw Error(`Missing element name. `+this.debugInfo());this.name=this.stringify.eleName(t),this.attributes={},r!=null&&this.attribute(r),e.isDocument&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this)}return n.prototype.clone=function(){var e,t,n=Object.create(this),r;for(t in n.isRoot&&(n.documentObject=null),n.attributes={},r=this.attributes,r)c.call(r,t)&&(e=r[t],n.attributes[t]=e.clone());return n.children=[],this.children.forEach(function(e){var t=e.clone();return t.parent=n,n.children.push(t)}),n},n.prototype.attribute=function(t,n){var o,s;if(t!=null&&(t=r(t)),a(t))for(o in t)c.call(t,o)&&(s=t[o],this.attribute(o,s));else i(n)&&(n=n.apply()),(!this.options.skipNullAttributes||n!=null)&&(this.attributes[t]=new e(this,t,n));return this},n.prototype.removeAttribute=function(e){var t,n,i;if(e==null)throw Error(`Missing attribute name. `+this.debugInfo());if(e=r(e),Array.isArray(e))for(n=0,i=e.length;n<i;n++)t=e[n],delete this.attributes[t];else delete this.attributes[e];return this},n.prototype.toString=function(e){return this.options.writer.set(e).element(this)},n.prototype.att=function(e,t){return this.attribute(e,t)},n.prototype.a=function(e,t){return this.attribute(e,t)},n})(n)}).call(n)})),fo=t(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing CDATA text. `+this.debugInfo());this.text=this.stringify.cdata(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).cdata(this)},t})(e)}).call(n)})),po=t(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing comment text. `+this.debugInfo());this.text=this.stringify.comment(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).comment(this)},t})(e)}).call(n)})),mo=t(((e,t,n)=>{(function(){var e,n,r=function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},i={}.hasOwnProperty;n=co().isObject,e=wo(),t.exports=(function(e){r(t,e);function t(e,r,i,a){var o;t.__super__.constructor.call(this,e),n(r)&&(o=r,r=o.version,i=o.encoding,a=o.standalone),r||=`1.0`,this.version=this.stringify.xmlVersion(r),i!=null&&(this.encoding=this.stringify.xmlEncoding(i)),a!=null&&(this.standalone=this.stringify.xmlStandalone(a))}return t.prototype.toString=function(e){return this.options.writer.set(e).declaration(this)},t})(e)}).call(n)})),ho=t(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n,r,i,a,o){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing DTD element name. `+this.debugInfo());if(r==null)throw Error(`Missing DTD attribute name. `+this.debugInfo(n));if(!i)throw Error(`Missing DTD attribute type. `+this.debugInfo(n));if(!a)throw Error(`Missing DTD attribute default. `+this.debugInfo(n));if(a.indexOf(`#`)!==0&&(a=`#`+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error(`Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. `+this.debugInfo(n));if(o&&!a.match(/^(#FIXED|#DEFAULT)$/))throw Error(`Default value only applies to #FIXED or #DEFAULT. `+this.debugInfo(n));this.elementName=this.stringify.eleName(n),this.attributeName=this.stringify.attName(r),this.attributeType=this.stringify.dtdAttType(i),this.defaultValue=this.stringify.dtdAttDefault(o),this.defaultValueType=a}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdAttList(this)},t})(e)}).call(n)})),go=t(((e,t,n)=>{(function(){var e,n,r=function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},i={}.hasOwnProperty;n=co().isObject,e=wo(),t.exports=(function(e){r(t,e);function t(e,r,i,a){if(t.__super__.constructor.call(this,e),i==null)throw Error(`Missing DTD entity name. `+this.debugInfo(i));if(a==null)throw Error(`Missing DTD entity value. `+this.debugInfo(i));if(this.pe=!!r,this.name=this.stringify.eleName(i),!n(a))this.value=this.stringify.dtdEntityValue(a);else{if(!a.pubID&&!a.sysID)throw Error(`Public and/or system identifiers are required for an external entity. `+this.debugInfo(i));if(a.pubID&&!a.sysID)throw Error(`System identifier is required for a public external entity. `+this.debugInfo(i));if(a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID)),a.nData!=null&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw Error(`Notation declaration is not allowed in a parameter entity. `+this.debugInfo(i))}}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdEntity(this)},t})(e)}).call(n)})),_o=t(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n,r){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing DTD element name. `+this.debugInfo());r||=`(#PCDATA)`,Array.isArray(r)&&(r=`(`+r.join(`,`)+`)`),this.name=this.stringify.eleName(n),this.value=this.stringify.dtdElementValue(r)}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdElement(this)},t})(e)}).call(n)})),vo=t(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n,r){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing DTD notation name. `+this.debugInfo(n));if(!r.pubID&&!r.sysID)throw Error(`Public or system identifiers are required for an external entity. `+this.debugInfo(n));this.name=this.stringify.eleName(n),r.pubID!=null&&(this.pubID=this.stringify.dtdPubID(r.pubID)),r.sysID!=null&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return t.prototype.toString=function(e){return this.options.writer.set(e).dtdNotation(this)},t})(e)}).call(n)})),yo=t(((e,t,n)=>{(function(){var e,n,r,i,a,o,s=function(e,t){for(var n in t)c.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},c={}.hasOwnProperty;o=co().isObject,a=wo(),e=ho(),r=go(),n=_o(),i=vo(),t.exports=(function(t){s(a,t);function a(e,t,n){var r,i;a.__super__.constructor.call(this,e),this.name=`!DOCTYPE`,this.documentObject=e,o(t)&&(r=t,t=r.pubID,n=r.sysID),n??(i=[t,n],n=i[0],t=i[1]),t!=null&&(this.pubID=this.stringify.dtdPubID(t)),n!=null&&(this.sysID=this.stringify.dtdSysID(n))}return a.prototype.element=function(e,t){var r=new n(this,e,t);return this.children.push(r),this},a.prototype.attList=function(t,n,r,i,a){var o=new e(this,t,n,r,i,a);return this.children.push(o),this},a.prototype.entity=function(e,t){var n=new r(this,!1,e,t);return this.children.push(n),this},a.prototype.pEntity=function(e,t){var n=new r(this,!0,e,t);return this.children.push(n),this},a.prototype.notation=function(e,t){var n=new i(this,e,t);return this.children.push(n),this},a.prototype.toString=function(e){return this.options.writer.set(e).docType(this)},a.prototype.ele=function(e,t){return this.element(e,t)},a.prototype.att=function(e,t,n,r,i){return this.attList(e,t,n,r,i)},a.prototype.ent=function(e,t){return this.entity(e,t)},a.prototype.pent=function(e,t){return this.pEntity(e,t)},a.prototype.not=function(e,t){return this.notation(e,t)},a.prototype.up=function(){return this.root()||this.documentObject},a})(a)}).call(n)})),bo=t(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing raw text. `+this.debugInfo());this.value=this.stringify.raw(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).raw(this)},t})(e)}).call(n)})),xo=t(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing element text. `+this.debugInfo());this.value=this.stringify.eleText(n)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).text(this)},t})(e)}).call(n)})),So=t(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e,n,r){if(t.__super__.constructor.call(this,e),n==null)throw Error(`Missing instruction target. `+this.debugInfo());this.target=this.stringify.insTarget(n),r&&(this.value=this.stringify.insValue(r))}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).processingInstruction(this)},t})(e)}).call(n)})),Co=t(((e,t,n)=>{(function(){var e,n=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=wo(),t.exports=(function(e){n(t,e);function t(e){t.__super__.constructor.call(this,e),this.isDummy=!0}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return``},t})(e)}).call(n)})),wo=t(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h={}.hasOwnProperty;m=co(),p=m.isObject,f=m.isFunction,d=m.isEmpty,u=m.getValue,o=null,e=null,n=null,r=null,i=null,c=null,l=null,s=null,a=null,t.exports=(function(){function t(t){this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],o||(o=uo(),e=fo(),n=po(),r=mo(),i=yo(),c=bo(),l=xo(),s=So(),a=Co())}return t.prototype.element=function(e,t,n){var r,i,a,o,s,c=null,l,m,g,_,v;if(t===null&&n==null&&(g=[{},null],t=g[0],n=g[1]),t??={},t=u(t),p(t)||(_=[t,n],n=_[0],t=_[1]),e!=null&&(e=u(e)),Array.isArray(e))for(a=0,l=e.length;a<l;a++)i=e[a],c=this.element(i);else if(f(e))c=this.element(e.apply());else if(p(e)){for(s in e)if(h.call(e,s)){if(v=e[s],f(v)&&(v=v.apply()),p(v)&&d(v)&&(v=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&s.indexOf(this.stringify.convertAttKey)===0)c=this.attribute(s.substr(this.stringify.convertAttKey.length),v);else if(!this.options.separateArrayItems&&Array.isArray(v))for(o=0,m=v.length;o<m;o++)i=v[o],r={},r[s]=i,c=this.element(r);else p(v)?(c=this.element(s),c.element(v)):c=this.element(s,v)}}else c=this.options.skipNullNodes&&n===null?this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&e.indexOf(this.stringify.convertTextKey)===0?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&e.indexOf(this.stringify.convertCDataKey)===0?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&e.indexOf(this.stringify.convertCommentKey)===0?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&e.indexOf(this.stringify.convertRawKey)===0?this.raw(n):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&e.indexOf(this.stringify.convertPIKey)===0?this.instruction(e.substr(this.stringify.convertPIKey.length),n):this.node(e,t,n);if(c==null)throw Error(`Could not create any elements with: `+e+`. `+this.debugInfo());return c},t.prototype.insertBefore=function(e,t,n){var r,i,a;if(this.isRoot)throw Error(`Cannot insert elements at root level. `+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,a),r},t.prototype.insertAfter=function(e,t,n){var r,i,a;if(this.isRoot)throw Error(`Cannot insert elements at root level. `+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i+1),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,a),r},t.prototype.remove=function(){var e;if(this.isRoot)throw Error(`Cannot remove the root element. `+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1]),this.parent},t.prototype.node=function(e,t,n){var r,i;return e!=null&&(e=u(e)),t||={},t=u(t),p(t)||(i=[t,n],n=i[0],t=i[1]),r=new o(this,e,t),n!=null&&r.text(n),this.children.push(r),r},t.prototype.text=function(e){var t=new l(this,e);return this.children.push(t),this},t.prototype.cdata=function(t){var n=new e(this,t);return this.children.push(n),this},t.prototype.comment=function(e){var t=new n(this,e);return this.children.push(t),this},t.prototype.commentBefore=function(e){var t=this.parent.children.indexOf(this),n=this.parent.children.splice(t);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.commentAfter=function(e){var t=this.parent.children.indexOf(this),n=this.parent.children.splice(t+1);return this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.raw=function(e){var t=new c(this,e);return this.children.push(t),this},t.prototype.dummy=function(){var e=new a(this);return this.children.push(e),e},t.prototype.instruction=function(e,t){var n,r,i,a,o;if(e!=null&&(e=u(e)),t!=null&&(t=u(t)),Array.isArray(e))for(a=0,o=e.length;a<o;a++)n=e[a],this.instruction(n);else if(p(e))for(n in e)h.call(e,n)&&(r=e[n],this.instruction(n,r));else f(t)&&(t=t.apply()),i=new s(this,e,t),this.children.push(i);return this},t.prototype.instructionBefore=function(e,t){var n=this.parent.children.indexOf(this),r=this.parent.children.splice(n);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.instructionAfter=function(e,t){var n=this.parent.children.indexOf(this),r=this.parent.children.splice(n+1);return this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.declaration=function(e,t,n){var i=this.document(),a=new r(i,e,t,n);return i.children[0]instanceof r?i.children[0]=a:i.children.unshift(a),i.root()||i},t.prototype.doctype=function(e,t){var n,r=this.document(),a=new i(r,e,t),o,s,c,l,u,d=r.children,f;for(o=s=0,l=d.length;s<l;o=++s)if(n=d[o],n instanceof i)return r.children[o]=a,a;for(f=r.children,o=c=0,u=f.length;c<u;o=++c)if(n=f[o],n.isRoot)return r.children.splice(o,0,a),a;return r.children.push(a),a},t.prototype.up=function(){if(this.isRoot)throw Error(`The root node has no parent. Use doc() if you need to get the document object.`);return this.parent},t.prototype.root=function(){for(var e=this;e;)if(e.isDocument)return e.rootObject;else if(e.isRoot)return e;else e=e.parent},t.prototype.document=function(){for(var e=this;e;)if(e.isDocument)return e;else e=e.parent},t.prototype.end=function(e){return this.document().end(e)},t.prototype.prev=function(){for(var e=this.parent.children.indexOf(this);e>0&&this.parent.children[e-1].isDummy;)--e;if(e<1)throw Error(`Already at the first node. `+this.debugInfo());return this.parent.children[e-1]},t.prototype.next=function(){for(var e=this.parent.children.indexOf(this);e<this.parent.children.length-1&&this.parent.children[e+1].isDummy;)e+=1;if(e===-1||e===this.parent.children.length-1)throw Error(`Already at the last node. `+this.debugInfo());return this.parent.children[e+1]},t.prototype.importDocument=function(e){var t=e.root().clone();return t.parent=this,t.isRoot=!1,this.children.push(t),this},t.prototype.debugInfo=function(e){return e||=this.name,e==null&&!this.parent?.name?``:e==null?`parent: <`+this.parent.name+`>`:this.parent?.name?`node: <`+e+`>, parent: <`+this.parent.name+`>`:`node: <`+e+`>`},t.prototype.ele=function(e,t,n){return this.element(e,t,n)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},t.prototype.dtd=function(e,t){return this.doctype(e,t)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.u=function(){return this.up()},t.prototype.importXMLBuilder=function(e){return this.importDocument(e)},t})()}).call(n)})),To=t(((e,t,n)=>{(function(){var e=function(e,t){return function(){return e.apply(t,arguments)}},n={}.hasOwnProperty;t.exports=(function(){function t(t){this.assertLegalChar=e(this.assertLegalChar,this);var r,i,a;for(r in t||={},this.noDoubleEncoding=t.noDoubleEncoding,i=t.stringify||{},i)n.call(i,r)&&(a=i[r],this[r]=a)}return t.prototype.eleName=function(e){return e=``+e||``,this.assertLegalChar(e)},t.prototype.eleText=function(e){return e=``+e||``,this.assertLegalChar(this.elEscape(e))},t.prototype.cdata=function(e){return e=``+e||``,e=e.replace(`]]>`,`]]]]><![CDATA[>`),this.assertLegalChar(e)},t.prototype.comment=function(e){if(e=``+e||``,e.match(/--/))throw Error(`Comment text cannot contain double-hypen: `+e);return this.assertLegalChar(e)},t.prototype.raw=function(e){return``+e||``},t.prototype.attName=function(e){return e=``+e||``},t.prototype.attValue=function(e){return e=``+e||``,this.attEscape(e)},t.prototype.insTarget=function(e){return``+e||``},t.prototype.insValue=function(e){if(e=``+e||``,e.match(/\?>/))throw Error(`Invalid processing instruction value: `+e);return e},t.prototype.xmlVersion=function(e){if(e=``+e||``,!e.match(/1\.[0-9]+/))throw Error(`Invalid version number: `+e);return e},t.prototype.xmlEncoding=function(e){if(e=``+e||``,!e.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error(`Invalid encoding: `+e);return e},t.prototype.xmlStandalone=function(e){return e?`yes`:`no`},t.prototype.dtdPubID=function(e){return``+e||``},t.prototype.dtdSysID=function(e){return``+e||``},t.prototype.dtdElementValue=function(e){return``+e||``},t.prototype.dtdAttType=function(e){return``+e||``},t.prototype.dtdAttDefault=function(e){return e==null?e:``+e||``},t.prototype.dtdEntityValue=function(e){return``+e||``},t.prototype.dtdNData=function(e){return``+e||``},t.prototype.convertAttKey=`@`,t.prototype.convertPIKey=`?`,t.prototype.convertTextKey=`#text`,t.prototype.convertCDataKey=`#cdata`,t.prototype.convertCommentKey=`#comment`,t.prototype.convertRawKey=`#raw`,t.prototype.assertLegalChar=function(e){var t=e.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/);if(t)throw Error(`Invalid character in string: `+e+` at index `+t.index);return e},t.prototype.elEscape=function(e){var t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g;return e.replace(t,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/\r/g,`&#xD;`)},t.prototype.attEscape=function(e){var t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g;return e.replace(t,`&amp;`).replace(/</g,`&lt;`).replace(/"/g,`&quot;`).replace(/\t/g,`&#x9;`).replace(/\n/g,`&#xA;`).replace(/\r/g,`&#xD;`)},t})()}).call(n)})),Eo=t(((e,t,n)=>{(function(){var e={}.hasOwnProperty;t.exports=(function(){function t(t){var n,r,i;for(n in t||={},this.pretty=t.pretty||!1,this.allowEmpty=t.allowEmpty??!1,this.pretty?(this.indent=t.indent??` `,this.newline=t.newline??`
19
19
  `,this.offset=t.offset??0,this.dontprettytextnodes=t.dontprettytextnodes??0):(this.indent=``,this.newline=``,this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=t.spacebeforeslash??``,this.spacebeforeslash===!0&&(this.spacebeforeslash=` `),this.newlinedefault=this.newline,this.prettydefault=this.pretty,r=t.writer||{},r)e.call(r,n)&&(i=r[n],this[n]=i)}return t.prototype.set=function(t){var n,r,i;for(n in t||={},`pretty`in t&&(this.pretty=t.pretty),`allowEmpty`in t&&(this.allowEmpty=t.allowEmpty),this.pretty?(this.indent=`indent`in t?t.indent:` `,this.newline=`newline`in t?t.newline:`
20
- `,this.offset=`offset`in t?t.offset:0,this.dontprettytextnodes=`dontprettytextnodes`in t?t.dontprettytextnodes:0):(this.indent=``,this.newline=``,this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=`spacebeforeslash`in t?t.spacebeforeslash:``,this.spacebeforeslash===!0&&(this.spacebeforeslash=` `),this.newlinedefault=this.newline,this.prettydefault=this.pretty,r=t.writer||{},r)e.call(r,n)&&(i=r[n],this[n]=i);return this},t.prototype.space=function(e){var t;return this.pretty?(t=(e||0)+this.offset+1,t>0?Array(t).join(this.indent):``):``},t})()}).call(n)})),Do=n(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h=function(e,t){for(var n in t)g.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},g={}.hasOwnProperty;s=mo(),c=yo(),e=fo(),n=po(),u=uo(),f=bo(),p=xo(),d=So(),l=Co(),r=ho(),i=_o(),a=go(),o=vo(),m=Eo(),t.exports=(function(t){h(m,t);function m(e){m.__super__.constructor.call(this,e)}return m.prototype.document=function(e){var t,r,i,a,o;for(this.textispresent=!1,a=``,o=e.children,r=0,i=o.length;r<i;r++)t=o[r],!(t instanceof l)&&(a+=(function(){switch(!1){case!(t instanceof s):return this.declaration(t);case!(t instanceof c):return this.docType(t);case!(t instanceof n):return this.comment(t);case!(t instanceof d):return this.processingInstruction(t);default:return this.element(t,0)}}).call(this));return this.pretty&&a.slice(-this.newline.length)===this.newline&&(a=a.slice(0,-this.newline.length)),a},m.prototype.attribute=function(e){return` `+e.name+`="`+e.value+`"`},m.prototype.cdata=function(e,t){return this.space(t)+`<![CDATA[`+e.text+`]]>`+this.newline},m.prototype.comment=function(e,t){return this.space(t)+`<!-- `+e.text+` -->`+this.newline},m.prototype.declaration=function(e,t){var n=this.space(t);return n+=`<?xml version="`+e.version+`"`,e.encoding!=null&&(n+=` encoding="`+e.encoding+`"`),e.standalone!=null&&(n+=` standalone="`+e.standalone+`"`),n+=this.spacebeforeslash+`?>`,n+=this.newline,n},m.prototype.docType=function(t,s){var c,l,u,f,p;if(s||=0,f=this.space(s),f+=`<!DOCTYPE `+t.root().name,t.pubID&&t.sysID?f+=` PUBLIC "`+t.pubID+`" "`+t.sysID+`"`:t.sysID&&(f+=` SYSTEM "`+t.sysID+`"`),t.children.length>0){for(f+=` [`,f+=this.newline,p=t.children,l=0,u=p.length;l<u;l++)c=p[l],f+=(function(){switch(!1){case!(c instanceof r):return this.dtdAttList(c,s+1);case!(c instanceof i):return this.dtdElement(c,s+1);case!(c instanceof a):return this.dtdEntity(c,s+1);case!(c instanceof o):return this.dtdNotation(c,s+1);case!(c instanceof e):return this.cdata(c,s+1);case!(c instanceof n):return this.comment(c,s+1);case!(c instanceof d):return this.processingInstruction(c,s+1);default:throw Error(`Unknown DTD node type: `+c.constructor.name)}}).call(this);f+=`]`}return f+=this.spacebeforeslash+`>`,f+=this.newline,f},m.prototype.element=function(t,r){var i,a,o,s,c,m,h,_,v,y,b,x,S;for(h in r||=0,S=!1,this.textispresent?(this.newline=``,this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),x=this.space(r),_=``,_+=x+`<`+t.name,v=t.attributes,v)g.call(v,h)&&(i=v[h],_+=this.attribute(i));if(t.children.length===0||t.children.every(function(e){return e.value===``}))this.allowEmpty?_+=`></`+t.name+`>`+this.newline:_+=this.spacebeforeslash+`/>`+this.newline;else if(this.pretty&&t.children.length===1&&t.children[0].value!=null)_+=`>`,_+=t.children[0].value,_+=`</`+t.name+`>`+this.newline;else{if(this.dontprettytextnodes){for(y=t.children,o=0,c=y.length;o<c;o++)if(a=y[o],a.value!=null){this.textispresent++,S=!0;break}}for(this.textispresent&&(this.newline=``,this.pretty=!1,x=this.space(r)),_+=`>`+this.newline,b=t.children,s=0,m=b.length;s<m;s++)a=b[s],_+=(function(){switch(!1){case!(a instanceof e):return this.cdata(a,r+1);case!(a instanceof n):return this.comment(a,r+1);case!(a instanceof u):return this.element(a,r+1);case!(a instanceof f):return this.raw(a,r+1);case!(a instanceof p):return this.text(a,r+1);case!(a instanceof d):return this.processingInstruction(a,r+1);case!(a instanceof l):return``;default:throw Error(`Unknown XML node type: `+a.constructor.name)}}).call(this);S&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),_+=x+`</`+t.name+`>`+this.newline}return _},m.prototype.processingInstruction=function(e,t){var n=this.space(t)+`<?`+e.target;return e.value&&(n+=` `+e.value),n+=this.spacebeforeslash+`?>`+this.newline,n},m.prototype.raw=function(e,t){return this.space(t)+e.value+this.newline},m.prototype.text=function(e,t){return this.space(t)+e.value+this.newline},m.prototype.dtdAttList=function(e,t){var n=this.space(t)+`<!ATTLIST `+e.elementName+` `+e.attributeName+` `+e.attributeType;return e.defaultValueType!==`#DEFAULT`&&(n+=` `+e.defaultValueType),e.defaultValue&&(n+=` "`+e.defaultValue+`"`),n+=this.spacebeforeslash+`>`+this.newline,n},m.prototype.dtdElement=function(e,t){return this.space(t)+`<!ELEMENT `+e.name+` `+e.value+this.spacebeforeslash+`>`+this.newline},m.prototype.dtdEntity=function(e,t){var n=this.space(t)+`<!ENTITY`;return e.pe&&(n+=` %`),n+=` `+e.name,e.value?n+=` "`+e.value+`"`:(e.pubID&&e.sysID?n+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.sysID&&(n+=` SYSTEM "`+e.sysID+`"`),e.nData&&(n+=` NDATA `+e.nData)),n+=this.spacebeforeslash+`>`+this.newline,n},m.prototype.dtdNotation=function(e,t){var n=this.space(t)+`<!NOTATION `+e.name;return e.pubID&&e.sysID?n+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.pubID?n+=` PUBLIC "`+e.pubID+`"`:e.sysID&&(n+=` SYSTEM "`+e.sysID+`"`),n+=this.spacebeforeslash+`>`+this.newline,n},m.prototype.openNode=function(e,t){var n,r,i,a;if(t||=0,e instanceof u){for(r in i=this.space(t)+`<`+e.name,a=e.attributes,a)g.call(a,r)&&(n=a[r],i+=this.attribute(n));return i+=(e.children?`>`:`/>`)+this.newline,i}return i=this.space(t)+`<!DOCTYPE `+e.rootNodeName,e.pubID&&e.sysID?i+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.sysID&&(i+=` SYSTEM "`+e.sysID+`"`),i+=(e.children?` [`:`>`)+this.newline,i},m.prototype.closeNode=function(e,t){switch(t||=0,!1){case!(e instanceof u):return this.space(t)+`</`+e.name+`>`+this.newline;case!(e instanceof c):return this.space(t)+`]>`+this.newline}},m})(m)}).call(n)})),Oo=n(((e,t,n)=>{(function(){var e,n,r,i,a=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;i=co().isPlainObject,e=wo(),r=To(),n=Do(),t.exports=(function(e){a(t,e);function t(e){t.__super__.constructor.call(this,null),this.name=`?xml`,e||={},e.writer||(e.writer=new n),this.options=e,this.stringify=new r(e),this.isDocument=!0}return t.prototype.end=function(e){var t;return e?i(e)&&(t=e,e=this.options.writer.set(t)):e=this.options.writer,e.document(this)},t.prototype.toString=function(e){return this.options.writer.set(e).document(this)},t})(e)}).call(n)})),ko=n(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x={}.hasOwnProperty;b=co(),v=b.isObject,_=b.isFunction,y=b.isPlainObject,g=b.getValue,u=uo(),n=fo(),r=po(),f=bo(),h=xo(),d=So(),c=mo(),l=yo(),i=ho(),o=go(),a=_o(),s=vo(),e=lo(),m=To(),p=Do(),t.exports=(function(){function t(e,t,n){var r;this.name=`?xml`,e||={},e.writer?y(e.writer)&&(r=e.writer,e.writer=new p(r)):e.writer=new p(e),this.options=e,this.writer=e.writer,this.stringify=new m(e),this.onDataCallback=t||function(){},this.onEndCallback=n||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return t.prototype.node=function(e,t,n){var r,i;if(e==null)throw Error(`Missing node name.`);if(this.root&&this.currentLevel===-1)throw Error(`Document can only have one root node. `+this.debugInfo(e));return this.openCurrent(),e=g(e),t===null&&n==null&&(r=[{},null],t=r[0],n=r[1]),t??={},t=g(t),v(t)||(i=[t,n],n=i[0],t=i[1]),this.currentNode=new u(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,n!=null&&this.text(n),this},t.prototype.element=function(e,t,n){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(e,t,n)},t.prototype.attribute=function(t,n){var r,i;if(!this.currentNode||this.currentNode.children)throw Error(`att() can only be used immediately after an ele() call in callback mode. `+this.debugInfo(t));if(t!=null&&(t=g(t)),v(t))for(r in t)x.call(t,r)&&(i=t[r],this.attribute(r,i));else _(n)&&(n=n.apply()),(!this.options.skipNullAttributes||n!=null)&&(this.currentNode.attributes[t]=new e(this,t,n));return this},t.prototype.text=function(e){var t;return this.openCurrent(),t=new h(this,e),this.onData(this.writer.text(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.cdata=function(e){var t;return this.openCurrent(),t=new n(this,e),this.onData(this.writer.cdata(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.comment=function(e){var t;return this.openCurrent(),t=new r(this,e),this.onData(this.writer.comment(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.raw=function(e){var t;return this.openCurrent(),t=new f(this,e),this.onData(this.writer.raw(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.instruction=function(e,t){var n,r,i,a,o;if(this.openCurrent(),e!=null&&(e=g(e)),t!=null&&(t=g(t)),Array.isArray(e))for(n=0,a=e.length;n<a;n++)r=e[n],this.instruction(r);else if(v(e))for(r in e)x.call(e,r)&&(i=e[r],this.instruction(r,i));else _(t)&&(t=t.apply()),o=new d(this,e,t),this.onData(this.writer.processingInstruction(o,this.currentLevel+1),this.currentLevel+1);return this},t.prototype.declaration=function(e,t,n){var r;if(this.openCurrent(),this.documentStarted)throw Error(`declaration() must be the first node.`);return r=new c(this,e,t,n),this.onData(this.writer.declaration(r,this.currentLevel+1),this.currentLevel+1),this},t.prototype.doctype=function(e,t,n){if(this.openCurrent(),e==null)throw Error(`Missing root node name.`);if(this.root)throw Error(`dtd() must come before the root node.`);return this.currentNode=new l(this,t,n),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},t.prototype.dtdElement=function(e,t){var n;return this.openCurrent(),n=new a(this,e,t),this.onData(this.writer.dtdElement(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.attList=function(e,t,n,r,a){var o;return this.openCurrent(),o=new i(this,e,t,n,r,a),this.onData(this.writer.dtdAttList(o,this.currentLevel+1),this.currentLevel+1),this},t.prototype.entity=function(e,t){var n;return this.openCurrent(),n=new o(this,!1,e,t),this.onData(this.writer.dtdEntity(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.pEntity=function(e,t){var n;return this.openCurrent(),n=new o(this,!0,e,t),this.onData(this.writer.dtdEntity(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.notation=function(e,t){var n;return this.openCurrent(),n=new s(this,e,t),this.onData(this.writer.dtdNotation(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.up=function(){if(this.currentLevel<0)throw Error(`The document node has no parent.`);return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},t.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},t.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},t.prototype.openNode=function(e){if(!e.isOpen)return!this.root&&this.currentLevel===0&&e instanceof u&&(this.root=e),this.onData(this.writer.openNode(e,this.currentLevel),this.currentLevel),e.isOpen=!0},t.prototype.closeNode=function(e){if(!e.isClosed)return this.onData(this.writer.closeNode(e,this.currentLevel),this.currentLevel),e.isClosed=!0},t.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},t.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},t.prototype.debugInfo=function(e){return e==null?``:`node: <`+e+`>`},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},t.prototype.dtd=function(e,t,n){return this.doctype(e,t,n)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.att=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.a=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.ent=function(e,t){return this.entity(e,t)},t.prototype.pent=function(e,t){return this.pEntity(e,t)},t.prototype.not=function(e,t){return this.notation(e,t)},t})()}).call(n)})),Ao=n(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h=function(e,t){for(var n in t)g.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},g={}.hasOwnProperty;s=mo(),c=yo(),e=fo(),n=po(),u=uo(),f=bo(),p=xo(),d=So(),l=Co(),r=ho(),i=_o(),a=go(),o=vo(),m=Eo(),t.exports=(function(t){h(m,t);function m(e,t){m.__super__.constructor.call(this,t),this.stream=e}return m.prototype.document=function(e){var t,r,i,a,o,u=e.children,f,p;for(r=0,a=u.length;r<a;r++)t=u[r],t.isLastRootNode=!1;for(e.children[e.children.length-1].isLastRootNode=!0,f=e.children,p=[],i=0,o=f.length;i<o;i++)if(t=f[i],!(t instanceof l))switch(!1){case!(t instanceof s):p.push(this.declaration(t));break;case!(t instanceof c):p.push(this.docType(t));break;case!(t instanceof n):p.push(this.comment(t));break;case!(t instanceof d):p.push(this.processingInstruction(t));break;default:p.push(this.element(t))}return p},m.prototype.attribute=function(e){return this.stream.write(` `+e.name+`="`+e.value+`"`)},m.prototype.cdata=function(e,t){return this.stream.write(this.space(t)+`<![CDATA[`+e.text+`]]>`+this.endline(e))},m.prototype.comment=function(e,t){return this.stream.write(this.space(t)+`<!-- `+e.text+` -->`+this.endline(e))},m.prototype.declaration=function(e,t){return this.stream.write(this.space(t)),this.stream.write(`<?xml version="`+e.version+`"`),e.encoding!=null&&this.stream.write(` encoding="`+e.encoding+`"`),e.standalone!=null&&this.stream.write(` standalone="`+e.standalone+`"`),this.stream.write(this.spacebeforeslash+`?>`),this.stream.write(this.endline(e))},m.prototype.docType=function(t,s){var c,l,u,f;if(s||=0,this.stream.write(this.space(s)),this.stream.write(`<!DOCTYPE `+t.root().name),t.pubID&&t.sysID?this.stream.write(` PUBLIC "`+t.pubID+`" "`+t.sysID+`"`):t.sysID&&this.stream.write(` SYSTEM "`+t.sysID+`"`),t.children.length>0){for(this.stream.write(` [`),this.stream.write(this.endline(t)),f=t.children,l=0,u=f.length;l<u;l++)switch(c=f[l],!1){case!(c instanceof r):this.dtdAttList(c,s+1);break;case!(c instanceof i):this.dtdElement(c,s+1);break;case!(c instanceof a):this.dtdEntity(c,s+1);break;case!(c instanceof o):this.dtdNotation(c,s+1);break;case!(c instanceof e):this.cdata(c,s+1);break;case!(c instanceof n):this.comment(c,s+1);break;case!(c instanceof d):this.processingInstruction(c,s+1);break;default:throw Error(`Unknown DTD node type: `+c.constructor.name)}this.stream.write(`]`)}return this.stream.write(this.spacebeforeslash+`>`),this.stream.write(this.endline(t))},m.prototype.element=function(t,r){var i,a,o,s,c,m,h,_;for(c in r||=0,_=this.space(r),this.stream.write(_+`<`+t.name),m=t.attributes,m)g.call(m,c)&&(i=m[c],this.attribute(i));if(t.children.length===0||t.children.every(function(e){return e.value===``}))this.allowEmpty?this.stream.write(`></`+t.name+`>`):this.stream.write(this.spacebeforeslash+`/>`);else if(this.pretty&&t.children.length===1&&t.children[0].value!=null)this.stream.write(`>`),this.stream.write(t.children[0].value),this.stream.write(`</`+t.name+`>`);else{for(this.stream.write(`>`+this.newline),h=t.children,o=0,s=h.length;o<s;o++)switch(a=h[o],!1){case!(a instanceof e):this.cdata(a,r+1);break;case!(a instanceof n):this.comment(a,r+1);break;case!(a instanceof u):this.element(a,r+1);break;case!(a instanceof f):this.raw(a,r+1);break;case!(a instanceof p):this.text(a,r+1);break;case!(a instanceof d):this.processingInstruction(a,r+1);break;case!(a instanceof l):break;default:throw Error(`Unknown XML node type: `+a.constructor.name)}this.stream.write(_+`</`+t.name+`>`)}return this.stream.write(this.endline(t))},m.prototype.processingInstruction=function(e,t){return this.stream.write(this.space(t)+`<?`+e.target),e.value&&this.stream.write(` `+e.value),this.stream.write(this.spacebeforeslash+`?>`+this.endline(e))},m.prototype.raw=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},m.prototype.text=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},m.prototype.dtdAttList=function(e,t){return this.stream.write(this.space(t)+`<!ATTLIST `+e.elementName+` `+e.attributeName+` `+e.attributeType),e.defaultValueType!==`#DEFAULT`&&this.stream.write(` `+e.defaultValueType),e.defaultValue&&this.stream.write(` "`+e.defaultValue+`"`),this.stream.write(this.spacebeforeslash+`>`+this.endline(e))},m.prototype.dtdElement=function(e,t){return this.stream.write(this.space(t)+`<!ELEMENT `+e.name+` `+e.value),this.stream.write(this.spacebeforeslash+`>`+this.endline(e))},m.prototype.dtdEntity=function(e,t){return this.stream.write(this.space(t)+`<!ENTITY`),e.pe&&this.stream.write(` %`),this.stream.write(` `+e.name),e.value?this.stream.write(` "`+e.value+`"`):(e.pubID&&e.sysID?this.stream.write(` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`):e.sysID&&this.stream.write(` SYSTEM "`+e.sysID+`"`),e.nData&&this.stream.write(` NDATA `+e.nData)),this.stream.write(this.spacebeforeslash+`>`+this.endline(e))},m.prototype.dtdNotation=function(e,t){return this.stream.write(this.space(t)+`<!NOTATION `+e.name),e.pubID&&e.sysID?this.stream.write(` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`):e.pubID?this.stream.write(` PUBLIC "`+e.pubID+`"`):e.sysID&&this.stream.write(` SYSTEM "`+e.sysID+`"`),this.stream.write(this.spacebeforeslash+`>`+this.endline(e))},m.prototype.endline=function(e){return e.isLastRootNode?``:this.newline},m})(m)}).call(n)})),jo=n(((e,t,n)=>{(function(){var e,n,r,i,a,o,s=co();a=s.assign,o=s.isFunction,e=Oo(),n=ko(),i=Do(),r=Ao(),t.exports.create=function(t,n,r,i){var o,s;if(t==null)throw Error(`Root element needs a name.`);return i=a({},n,r,i),o=new e(i),s=o.element(t),i.headless||(o.declaration(i),(i.pubID!=null||i.sysID!=null)&&o.doctype(i)),s},t.exports.begin=function(t,r,i){var a;return o(t)&&(a=[t,r],r=a[0],i=a[1],t={}),r?new n(t,r,i):new e(t)},t.exports.stringWriter=function(e){return new i(e)},t.exports.streamWriter=function(e,t){return new r(e,t)}}).call(n)})),Mo=n((e=>{var t=($(),r(Q)),n=jo();e.writeString=i;function i(e,r){var i=t.invert(r),o={element:c,text:a};function s(e,t){return o[t.type](e,t)}function c(e,t){var n=e.element(l(t.name),t.attributes);t.children.forEach(function(e){s(n,e)})}function l(e){var t=/^\{(.*)\}(.*)$/.exec(e);if(t){var n=i[t[1]];return n+(n===``?``:`:`)+t[2]}return e}function u(e){var i=n.create(l(e.name),{version:`1.0`,encoding:`UTF-8`,standalone:!0});return t.forEach(r,function(e,t){var n=`xmlns`+(t===``?``:`:`+t);i.attribute(n,e)}),e.children.forEach(function(e){s(i,e)}),i.end()}return u(e)}function a(e,t){e.text(t.value)}})),No=n((e=>{var t=$a();e.Element=t.Element,e.element=t.element,e.emptyElement=t.emptyElement,e.text=t.text,e.readString=so().readString,e.writeString=Mo().writeString})),Po=n((e=>{var t=($(),r(Q)),n=Ja(),i=No();e.read=o,e.readXmlFromZipFile=s;var a={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":`w`,"http://schemas.openxmlformats.org/officeDocument/2006/relationships":`r`,"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":`wp`,"http://schemas.openxmlformats.org/drawingml/2006/main":`a`,"http://schemas.openxmlformats.org/drawingml/2006/picture":`pic`,"http://purl.oclc.org/ooxml/wordprocessingml/main":`w`,"http://purl.oclc.org/ooxml/officeDocument/relationships":`r`,"http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":`wp`,"http://purl.oclc.org/ooxml/drawingml/main":`a`,"http://purl.oclc.org/ooxml/drawingml/picture":`pic`,"http://schemas.openxmlformats.org/package/2006/content-types":`content-types`,"http://schemas.openxmlformats.org/package/2006/relationships":`relationships`,"http://schemas.openxmlformats.org/markup-compatibility/2006":`mc`,"urn:schemas-microsoft-com:vml":`v`,"urn:schemas-microsoft-com:office:word":`office-word`,"http://schemas.microsoft.com/office/word/2010/wordml":`wordml`};function o(e){return i.readString(e,a).then(function(e){return l(e)[0]})}function s(e,t){return e.exists(t)?e.read(t,`utf-8`).then(c).then(o):n.resolve(null)}function c(e){return e.replace(/^\uFEFF/g,``)}function l(e){return e.type===`element`?e.name===`mc:AlternateContent`?e.firstOrEmpty(`mc:Fallback`).children:(e.children=t.flatten(e.children.map(l,!0)),[e]):[e]}})),Fo=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default={SYMBOL:{32:32,33:33,34:8704,35:35,36:8707,37:37,38:38,39:8717,40:40,41:41,42:42,43:43,44:44,45:8722,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:8773,65:913,66:914,67:935,68:916,69:917,70:934,71:915,72:919,73:921,74:977,75:922,76:923,77:924,78:925,79:927,80:928,81:920,82:929,83:931,84:932,85:933,86:962,87:937,88:926,89:936,90:918,91:91,92:8756,93:93,94:8869,95:95,96:8254,97:945,98:946,99:967,100:948,101:949,102:966,103:947,104:951,105:953,106:981,107:954,108:955,109:956,110:957,111:959,112:960,113:952,114:961,115:963,116:964,117:965,118:982,119:969,120:958,121:968,122:950,123:123,124:124,125:125,126:126,160:8364,161:978,162:8242,163:8804,164:8260,165:8734,166:402,167:9827,168:9830,169:9829,170:9824,171:8596,172:8592,173:8593,174:8594,175:8595,176:176,177:177,178:8243,179:8805,180:215,181:8733,182:8706,183:8226,184:247,185:8800,186:8801,187:8776,188:8230,189:9168,190:9135,191:8629,192:8501,193:8465,194:8476,195:8472,196:8855,197:8853,198:8709,199:8745,200:8746,201:8835,202:8839,203:8836,204:8834,205:8838,206:8712,207:8713,208:8736,209:8711,210:174,211:169,212:8482,213:8719,214:8730,215:8901,216:172,217:8743,218:8744,219:8660,220:8656,221:8657,222:8658,223:8659,224:9674,225:12296,226:174,227:169,228:8482,229:8721,230:9115,231:9116,232:9117,233:9121,234:9122,235:9123,236:9127,237:9128,238:9129,239:9130,240:63743,241:12297,242:8747,243:8992,244:9134,245:8993,246:9118,247:9119,248:9120,249:9124,250:9125,251:9126,252:9131,253:9132,254:9133},WEBDINGS:{32:32,33:128375,34:128376,35:128370,36:128374,37:127942,38:127894,39:128391,40:128488,41:128489,42:128496,43:128497,44:127798,45:127895,46:128638,47:128636,48:128469,49:128470,50:128471,51:9204,52:9205,53:9206,54:9207,55:9194,56:9193,57:9198,58:9197,59:9208,60:9209,61:9210,62:128474,63:128499,64:128736,65:127959,66:127960,67:127961,68:127962,69:127964,70:127981,71:127963,72:127968,73:127958,74:127965,75:128739,76:128269,77:127956,78:128065,79:128066,80:127966,81:127957,82:128740,83:127967,84:128755,85:128364,86:128363,87:128360,88:128264,89:127892,90:127893,91:128492,92:128637,93:128493,94:128490,95:128491,96:11156,97:10004,98:128690,99:11036,100:128737,101:128230,102:128753,103:11035,104:128657,105:128712,106:128745,107:128752,108:128968,109:128372,110:11044,111:128741,112:128660,113:128472,114:128473,115:10067,116:128754,117:128647,118:128653,119:9971,120:10680,121:8854,122:128685,123:128494,124:9168,125:128495,126:128498,128:128697,129:128698,130:128713,131:128714,132:128700,133:128125,134:127947,135:9975,136:127938,137:127948,138:127946,139:127940,140:127949,141:127950,142:128664,143:128480,144:128738,145:128176,146:127991,147:128179,148:128106,149:128481,150:128482,151:128483,152:10031,153:128388,154:128389,155:128387,156:128390,157:128441,158:128442,159:128443,160:128373,161:128368,162:128445,163:128446,164:128203,165:128466,166:128467,167:128366,168:128218,169:128478,170:128479,171:128451,172:128450,173:128444,174:127917,175:127900,176:127896,177:127897,178:127911,179:128191,180:127902,181:128247,182:127903,183:127916,184:128253,185:128249,186:128254,187:128251,188:127898,189:127899,190:128250,191:128187,192:128421,193:128422,194:128423,195:128377,196:127918,197:128379,198:128380,199:128223,200:128385,201:128384,202:128424,203:128425,204:128447,205:128426,206:128476,207:128274,208:128275,209:128477,210:128229,211:128228,212:128371,213:127779,214:127780,215:127781,216:127782,217:9729,218:127784,219:127783,220:127785,221:127786,222:127788,223:127787,224:127772,225:127777,226:128715,227:128719,228:127869,229:127864,230:128718,231:128717,232:9413,233:9855,234:128710,235:128392,236:127891,237:128484,238:128485,239:128486,240:128487,241:128746,242:128063,243:128038,244:128031,245:128021,246:128008,247:128620,248:128622,249:128621,250:128623,251:128506,252:127757,253:127759,254:127758,255:128330},WINGDINGS:{32:32,33:128393,34:9986,35:9985,36:128083,37:128365,38:128366,39:128367,40:128383,41:9990,42:128386,43:128387,44:128234,45:128235,46:128236,47:128237,48:128448,49:128449,50:128462,51:128463,52:128464,53:128452,54:8987,55:128430,56:128432,57:128434,58:128435,59:128436,60:128427,61:128428,62:9991,63:9997,64:128398,65:9996,66:128399,67:128077,68:128078,69:9756,70:9758,71:9757,72:9759,73:128400,74:9786,75:128528,76:9785,77:128163,78:128369,79:127987,80:127985,81:9992,82:9788,83:127778,84:10052,85:128326,86:10014,87:128328,88:10016,89:10017,90:9770,91:9775,92:128329,93:9784,94:9800,95:9801,96:9802,97:9803,98:9804,99:9805,100:9806,101:9807,102:9808,103:9809,104:9810,105:9811,106:128624,107:128629,108:9899,109:128318,110:9724,111:128911,112:128912,113:10065,114:10066,115:128927,116:10731,117:9670,118:10070,119:11049,120:8999,121:11193,122:8984,123:127989,124:127990,125:128630,126:128631,127:9647,128:127243,129:10112,130:10113,131:10114,132:10115,133:10116,134:10117,135:10118,136:10119,137:10120,138:10121,139:127244,140:10122,141:10123,142:10124,143:10125,144:10126,145:10127,146:10128,147:10129,148:10130,149:10131,150:128610,151:128608,152:128609,153:128611,154:128606,155:128604,156:128605,157:128607,158:8729,159:8226,160:11037,161:11096,162:128902,163:128904,164:128906,165:128907,166:128319,167:9642,168:128910,169:128961,170:128965,171:9733,172:128971,173:128975,174:128979,175:128977,176:11216,177:8982,178:11214,179:11215,180:11217,181:10026,182:10032,183:128336,184:128337,185:128338,186:128339,187:128340,188:128341,189:128342,190:128343,191:128344,192:128345,193:128346,194:128347,195:11184,196:11185,197:11186,198:11187,199:11188,200:11189,201:11190,202:11191,203:128618,204:128619,205:128597,206:128596,207:128599,208:128598,209:128592,210:128593,211:128594,212:128595,213:9003,214:8998,215:11160,216:11162,217:11161,218:11163,219:11144,220:11146,221:11145,222:11147,223:129128,224:129130,225:129129,226:129131,227:129132,228:129133,229:129135,230:129134,231:129144,232:129146,233:129145,234:129147,235:129148,236:129149,237:129151,238:129150,239:8678,240:8680,241:8679,242:8681,243:11012,244:8691,245:11009,246:11008,247:11011,248:11010,249:129196,250:129197,251:128502,252:10003,253:128503,254:128505},"WINGDINGS 2":{32:32,33:128394,34:128395,35:128396,36:128397,37:9988,38:9984,39:128382,40:128381,41:128453,42:128454,43:128455,44:128456,45:128457,46:128458,47:128459,48:128460,49:128461,50:128203,51:128465,52:128468,53:128437,54:128438,55:128439,56:128440,57:128429,58:128431,59:128433,60:128402,61:128403,62:128408,63:128409,64:128410,65:128411,66:128072,67:128073,68:128412,69:128413,70:128414,71:128415,72:128416,73:128417,74:128070,75:128071,76:128418,77:128419,78:128401,79:128500,80:128504,81:128501,82:9745,83:11197,84:9746,85:11198,86:11199,87:128711,88:10680,89:128625,90:128628,91:128626,92:128627,93:8253,94:128633,95:128634,96:128635,97:128614,98:128612,99:128613,100:128615,101:128602,102:128600,103:128601,104:128603,105:9450,106:9312,107:9313,108:9314,109:9315,110:9316,111:9317,112:9318,113:9319,114:9320,115:9321,116:9471,117:10102,118:10103,119:10104,120:10105,121:10106,122:10107,123:10108,124:10109,125:10110,126:10111,128:9737,129:127765,130:9789,131:9790,132:11839,133:10013,134:128327,135:128348,136:128349,137:128350,138:128351,139:128352,140:128353,141:128354,142:128355,143:128356,144:128357,145:128358,146:128359,147:128616,148:128617,149:8901,150:128900,151:10625,152:9679,153:9675,154:128901,155:128903,156:128905,157:8857,158:10687,159:128908,160:128909,161:9726,162:9632,163:9633,164:128913,165:128914,166:128915,167:128916,168:9635,169:128917,170:128918,171:128919,172:128920,173:11049,174:11045,175:9671,176:128922,177:9672,178:128923,179:128924,180:128925,181:128926,182:11050,183:11047,184:9674,185:128928,186:9686,187:9687,188:11210,189:11211,190:11200,191:11201,192:11039,193:11202,194:11043,195:11042,196:11203,197:11204,198:128929,199:128930,200:128931,201:128932,202:128933,203:128934,204:128935,205:128936,206:128937,207:128938,208:128939,209:128940,210:128941,211:128942,212:128943,213:128944,214:128945,215:128946,216:128947,217:128948,218:128949,219:128950,220:128951,221:128952,222:128953,223:128954,224:128955,225:128956,226:128957,227:128958,228:128959,229:128960,230:128962,231:128964,232:128966,233:128969,234:128970,235:10038,236:128972,237:128974,238:128976,239:128978,240:10041,241:128963,242:128967,243:10031,244:128973,245:128980,246:11212,247:11213,248:8251,249:8258},"WINGDINGS 3":{32:32,33:11104,34:11106,35:11105,36:11107,37:11110,38:11111,39:11113,40:11112,41:11120,42:11122,43:11121,44:11123,45:11126,46:11128,47:11131,48:11133,49:11108,50:11109,51:11114,52:11116,53:11115,54:11117,55:11085,56:11168,57:11169,58:11170,59:11171,60:11172,61:11173,62:11174,63:11175,64:11152,65:11153,66:11154,67:11155,68:11136,69:11139,70:11134,71:11135,72:11140,73:11142,74:11141,75:11143,76:11151,77:11149,78:11150,79:11148,80:11118,81:11119,82:9099,83:8996,84:8963,85:8997,86:9251,87:9085,88:8682,89:11192,90:129184,91:129185,92:129186,93:129187,94:129188,95:129189,96:129190,97:129191,98:129192,99:129193,100:129194,101:129195,102:129104,103:129106,104:129105,105:129107,106:129108,107:129109,108:129111,109:129110,110:129112,111:129113,112:9650,113:9660,114:9651,115:9661,116:9664,117:9654,118:9665,119:9655,120:9699,121:9698,122:9700,123:9701,124:128896,125:128898,126:128897,128:128899,129:11205,130:11206,131:11207,132:11208,133:11164,134:11166,135:11165,136:11167,137:129040,138:129042,139:129041,140:129043,141:129044,142:129046,143:129045,144:129047,145:129048,146:129050,147:129049,148:129051,149:129052,150:129054,151:129053,152:129055,153:129024,154:129026,155:129025,156:129027,157:129028,158:129030,159:129029,160:129031,161:129032,162:129034,163:129033,164:129035,165:129056,166:129058,167:129060,168:129062,169:129064,170:129066,171:129068,172:129180,173:129181,174:129182,175:129183,176:129070,177:129072,178:129074,179:129076,180:129078,181:129080,182:129082,183:129081,184:129083,185:129176,186:129178,187:129177,188:129179,189:129084,190:129086,191:129085,192:129087,193:129088,194:129090,195:129089,196:129091,197:129092,198:129094,199:129093,200:129095,201:11176,202:11177,203:11178,204:11179,205:11180,206:11181,207:11182,208:11183,209:129120,210:129122,211:129121,212:129123,213:129124,214:129125,215:129127,216:129126,217:129136,218:129138,219:129137,220:129139,221:129140,222:129141,223:129143,224:129142,225:129152,226:129154,227:129153,228:129155,229:129156,230:129157,231:129159,232:129158,233:129168,234:129170,235:129169,236:129171,237:129172,238:129174,239:129173,240:129175}}})),Io=n(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.hex=e.dec=e.codePoint=void 0;var i=r(Fo()),a=String.fromCodePoint?String.fromCodePoint:l;function o(e,t){var n=i.default[e.toUpperCase()];if(n!==void 0){var r=n[t];if(r!==void 0)return{codePoint:r,string:a(r)}}}e.codePoint=o;function s(e,t){return o(e,parseInt(t,10))}e.dec=s;function c(e,t){return o(e,parseInt(t,16))}e.hex=c;function l(e){if(e<=65535)return String.fromCharCode(e);var t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)}})),Lo=n((e=>{var t=($(),r(Q));e.paragraph=n,e.run=i,e._elements=o,e._elementsOfType=a,e.getDescendantsOfType=s,e.getDescendants=c;function n(e){return a(`paragraph`,e)}function i(e){return a(`run`,e)}function a(e,t){return o(function(n){return n.type===e?t(n):n})}function o(e){return function n(r){if(r.children){var i=t.map(r.children,n);r=t.extend(r,{children:i})}return e(r)}}function s(e,t){return c(e).filter(function(e){return e.type===t})}function c(e){var t=[];return l(e,function(e){t.push(e)}),t}function l(e,t){e.children&&e.children.forEach(function(e){l(e,t),t(e)})}})),Ro=n((e=>{e.uriToZipEntryName=t,e.replaceFragment=n;function t(e,t){return t.charAt(0)===`/`?t.substr(1):e+`/`+t}function n(e,t){var n=e.indexOf(`#`);return n!==-1&&(e=e.substring(0,n)),e+`#`+t}})),zo=n((e=>{e.createBodyReader=u,e._readNumberingProperties=f;var t=Io(),n=($(),r(Q)),i=Ya(),a=Xa().Result,o=Xa().warning,s=No(),c=Lo(),l=Ro();function u(e){return{readXmlElement:function(t){return new d(e).readXmlElement(t)},readXmlElements:function(t){return new d(e).readXmlElements(t)}}}function d(e){var r=[],a=[],u=[],d=e.relationships,x=e.contentTypes,S=e.docxFile,C=e.files,w=e.numbering,T=e.styles;function E(e){return b(e.map(D))}function D(e){if(e.type===`element`){var t=oe[e.name];if(t)return t(e);if(!Object.prototype.hasOwnProperty.call(m,e.name))return h([o(`An unrecognised element was ignored: `+e.name)])}return g()}function O(e){return F(e).map(function(t){return{type:`paragraphProperties`,styleId:t.styleId,styleName:t.name,alignment:e.firstOrEmpty(`w:jc`).attributes[`w:val`],numbering:f(t.styleId,e.firstOrEmpty(`w:numPr`),w),indent:k(e.firstOrEmpty(`w:ind`))}})}function k(e){return{start:e.attributes[`w:start`]||e.attributes[`w:left`],end:e.attributes[`w:end`]||e.attributes[`w:right`],firstLine:e.attributes[`w:firstLine`],hanging:e.attributes[`w:hanging`]}}function A(e){return I(e).map(function(t){var n=e.firstOrEmpty(`w:sz`).attributes[`w:val`],r=/^[0-9]+$/.test(n)?parseInt(n,10)/2:null;return{type:`runProperties`,styleId:t.styleId,styleName:t.name,verticalAlignment:e.firstOrEmpty(`w:vertAlign`).attributes[`w:val`],font:e.firstOrEmpty(`w:rFonts`).attributes[`w:ascii`],fontSize:r,isBold:M(e.first(`w:b`)),isUnderline:j(e.first(`w:u`)),isItalic:M(e.first(`w:i`)),isStrikethrough:M(e.first(`w:strike`)),isAllCaps:M(e.first(`w:caps`)),isSmallCaps:M(e.first(`w:smallCaps`)),highlight:P(e.firstOrEmpty(`w:highlight`).attributes[`w:val`])}})}function j(e){if(e){var t=e.attributes[`w:val`];return t!==void 0&&t!==`false`&&t!==`0`&&t!==`none`}return!1}function M(e){if(e){var t=e.attributes[`w:val`];return t!==`false`&&t!==`0`}return!1}function N(e){return e!==`false`&&e!==`0`}function P(e){return!e||e===`none`?null:e}function F(e){return L(e,`w:pStyle`,`Paragraph`,T.findParagraphStyleById)}function I(e){return L(e,`w:rStyle`,`Run`,T.findCharacterStyleById)}function ee(e){return L(e,`w:tblStyle`,`Table`,T.findTableStyleById)}function L(e,t,n,r){var i=[],a=e.first(t),o=null,s=null;if(a&&(o=a.attributes[`w:val`],o)){var c=r(o);c?s=c.name:i.push(ve(n,o))}return v({styleId:o,name:s},i)}function R(e){var t=e.attributes[`w:fldCharType`];if(t===`begin`)r.push({type:`begin`,fldChar:e}),a=[];else if(t===`end`){if(r.length===0)return h([o(`Ignoring complex field end character without corresponding start character`)]);var n=r.pop();if(n.type===`begin`&&(n=ne(n)),n.type===`checkbox`)return _(i.checkbox({checked:n.checked}))}else if(t===`separate`){if(r.length===0)return h([o(`Ignoring complex field separator character without corresponding start character`)]);var s=ne(r.pop());r.push(s)}return g()}function te(){var e=n.last(r.filter(function(e){return e.type===`hyperlink`}));return e?e.options:null}function ne(e){return re(a.join(``),e.type===`begin`?e.fldChar:s.emptyElement)}function re(e,t){var n=/^\s*HYPERLINK\s+(\\l\s+)?(?:"(.*)"|([^\\]\S*))/.exec(e);if(n){var r=n[2]===void 0?n[3]:n[2];return{type:`hyperlink`,options:n[1]===void 0?{href:r}:{anchor:r}}}if(/\s*FORMCHECKBOX\s*/.exec(e)){var i=t.firstOrEmpty(`w:ffData`).firstOrEmpty(`w:checkBox`);return{type:`checkbox`,checked:M(i.first(`w:checked`)??i.first(`w:default`))}}return{type:`unknown`}}function z(e){return a.push(e.text()),g()}function ie(e){var n=e.attributes[`w:font`],r=e.attributes[`w:char`],a=t.hex(n,r);return a==null&&/^F0..$/.test(r)&&(a=t.hex(n,r.substring(2))),a==null?h([o(`A w:sym element with an unsupported character was ignored: char `+r+` in font `+n)]):_(new i.Text(a.string))}function ae(e){return function(t){var n=t.attributes[`w:id`];return _(new i.NoteReference({noteType:e,noteId:n}))}}function B(e){return _(i.commentReference({commentId:e.attributes[`w:id`]}))}function V(e){return E(e.children)}var oe={"w:p":function(e){var t=e.firstOrEmpty(`w:pPr`);if(t.firstOrEmpty(`w:rPr`).first(`w:del`))return e.children.forEach(function(e){u.push(e)}),g();var n=e.children;return u.length>0&&(n=u.concat(n),u=[]),y.map(O(t),E(n),function(e,t){return new i.Paragraph(t,e)}).insertExtra()},"w:r":function(e){return y.map(A(e.firstOrEmpty(`w:rPr`)),E(e.children),function(e,t){var n=te();return n!==null&&(t=[new i.Hyperlink(t,n)]),new i.Run(t,e)})},"w:fldChar":R,"w:instrText":z,"w:t":function(e){return _(new i.Text(e.text()))},"w:tab":function(e){return _(new i.Tab)},"w:noBreakHyphen":function(){return _(new i.Text(`‑`))},"w:softHyphen":function(e){return _(new i.Text(`­`))},"w:sym":ie,"w:hyperlink":function(e){var t=e.attributes[`r:id`],r=e.attributes[`w:anchor`];return E(e.children).map(function(a){function o(t){var r=e.attributes[`w:tgtFrame`]||null;return new i.Hyperlink(a,n.extend({targetFrame:r},t))}if(t){var s=d.findTargetByRelationshipId(t);return r&&(s=l.replaceFragment(s,r)),o({href:s})}return r?o({anchor:r}):a})},"w:tbl":se,"w:tr":le,"w:tc":ue,"w:footnoteReference":ae(`footnote`),"w:endnoteReference":ae(`endnote`),"w:commentReference":B,"w:br":function(e){var t=e.attributes[`w:type`];return t==null||t===`textWrapping`?_(i.lineBreak):t===`page`?_(i.pageBreak):t===`column`?_(i.columnBreak):h([o(`Unsupported break type: `+t)])},"w:bookmarkStart":function(e){var t=e.attributes[`w:name`];return t===`_GoBack`?g():_(new i.BookmarkStart({name:t}))},"mc:AlternateContent":function(e){return V(e.firstOrEmpty(`mc:Fallback`))},"w:sdt":function(e){return E(e.firstOrEmpty(`w:sdtContent`).children).map(function(t){var n=e.firstOrEmpty(`w:sdtPr`).first(`wordml:checkbox`);if(n){var r=n.first(`wordml:checked`),a=!!r&&N(r.attributes[`wordml:val`]),o=i.checkbox({checked:a}),s=!1,l=t.map(c._elementsOfType(i.types.text,function(e){return e.value.length>0&&!s?(s=!0,o):e}));return s?l:o}return t})},"w:customXml":V,"w:ins":V,"w:moveFromRangeEnd":V,"w:moveFromRangeStart":V,"w:moveTo":V,"w:moveToRangeEnd":V,"w:moveToRangeStart":V,"w:object":V,"w:smartTag":V,"w:drawing":V,"w:pict":function(e){return V(e).toExtra()},"v:roundrect":V,"v:shape":V,"v:textbox":V,"w:txbxContent":V,"wp:inline":U,"wp:anchor":U,"v:imagedata":he,"v:group":V,"v:rect":V};return{readXmlElement:D,readXmlElements:E};function se(e){var t=ce(e.firstOrEmpty(`w:tblPr`));return E(e.children).flatMap(fe).flatMap(function(e){return t.map(function(t){return i.Table(e,t)})})}function ce(e){return ee(e).map(function(e){return{styleId:e.styleId,styleName:e.name}})}function le(e){var t=e.firstOrEmpty(`w:trPr`);if(t.first(`w:del`))return g();var n=!!t.first(`w:tblHeader`);return E(e.children).map(function(e){return i.TableRow(e,{isHeader:n})})}function ue(e){return E(e.children).map(function(t){var n=e.firstOrEmpty(`w:tcPr`),r=n.firstOrEmpty(`w:gridSpan`).attributes[`w:val`],a=r?parseInt(r,10):1,o=i.TableCell(t,{colSpan:a});return o._vMerge=de(n),o})}function de(e){var t=e.first(`w:vMerge`);if(t){var n=t.attributes[`w:val`];return n===`continue`||!n}return null}function fe(e){if(n.any(e,function(e){return e.type!==i.types.tableRow}))return H(e),v(e,[o(`unexpected non-row element in table, cell merging may be incorrect`)]);if(n.any(e,function(e){return n.any(e.children,function(e){return e.type!==i.types.tableCell})}))return H(e),v(e,[o(`unexpected non-cell element in table row, cell merging may be incorrect`)]);var t={};return e.forEach(function(e){var n=0;e.children.forEach(function(e){e._vMerge&&t[n]?t[n].rowSpan++:(t[n]=e,e._vMerge=!1),n+=e.colSpan})}),e.forEach(function(e){e.children=e.children.filter(function(e){return!e._vMerge}),e.children.forEach(function(e){delete e._vMerge})}),_(e)}function H(e){e.forEach(function(e){c.getDescendantsOfType(e,i.types.tableCell).forEach(function(e){delete e._vMerge})})}function U(e){return b(e.getElementsByTagName(`a:graphic`).getElementsByTagName(`a:graphicData`).getElementsByTagName(`pic:pic`).getElementsByTagName(`pic:blipFill`).getElementsByTagName(`a:blip`).map(W.bind(null,e)))}function W(e,t){var n=e.firstOrEmpty(`wp:docPr`),r=n.attributes,a=pe(r.descr)?r.title:r.descr,s=me(t);return s===null?h([o(`Could not find image file for a:blip element`)]):_e(s,a).map(function(e){var t=n.firstOrEmpty(`a:hlinkClick`).attributes[`r:id`];if(t){var r=d.findTargetByRelationshipId(t);return new i.Hyperlink([e],{href:r})}return e})}function pe(e){return e==null||/^\s*$/.test(e)}function me(e){var t=e.attributes[`r:embed`],n=e.attributes[`r:link`];if(t)return ge(t);if(n){var r=d.findTargetByRelationshipId(n);return{path:r,read:C.read.bind(C,r)}}return null}function he(e){var t=e.attributes[`r:id`];return t?_e(ge(t),e.attributes[`o:title`]):h([o(`A v:imagedata element without a relationship ID was ignored`)])}function ge(e){var t=l.uriToZipEntryName(`word`,d.findTargetByRelationshipId(e));return{path:t,read:S.read.bind(S,t)}}function _e(e,t){var n=x.findContentType(e.path);return v(i.Image({readImage:e.read,altText:t,contentType:n}),p[n]?[]:o(`Image of type `+n+` is unlikely to display in web browsers`))}function ve(e,t){return o(e+` style with ID `+t+` was referenced but not defined in the document`)}}function f(e,t,n){var r=t.firstOrEmpty(`w:ilvl`).attributes[`w:val`],i=t.firstOrEmpty(`w:numId`).attributes[`w:val`];if(r!==void 0&&i!==void 0)return n.findLevel(i,r);if(e!=null){var a=n.findLevelByParagraphStyleId(e);if(a!=null)return a}return i===void 0?null:n.findLevel(i,`0`)}var p={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},m={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:moveFrom":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function h(e){return new y(null,null,e)}function g(){return new y(null)}function _(e){return new y(e)}function v(e,t){return new y(e,null,t)}function y(e,t,n){this.value=e||[],this.extra=t||[],this._result=new a({element:this.value,extra:t},n),this.messages=this._result.messages}y.prototype.toExtra=function(){return new y(null,x(this.extra,this.value),this.messages)},y.prototype.insertExtra=function(){var e=this.extra;return e&&e.length?new y(x(this.value,e),null,this.messages):this},y.prototype.map=function(e){var t=this._result.map(function(t){return e(t.element)});return new y(t.value,this.extra,t.messages)},y.prototype.flatMap=function(e){var t=this._result.flatMap(function(t){return e(t.element)._result});return new y(t.value.element,x(this.extra,t.value.extra),t.messages)},y.map=function(e,t,n){return new y(n(e.value,t.value),x(e.extra,t.extra),e.messages.concat(t.messages))};function b(e){var t=a.combine(n.pluck(e,`_result`));return new y(n.flatten(n.pluck(t.value,`element`)),n.filter(n.flatten(n.pluck(t.value,`extra`)),S),t.messages)}function x(e,t){return n.flatten([e,t])}function S(e){return e}})),Bo=n((e=>{e.DocumentXmlReader=r;var t=Ya(),n=Xa().Result;function r(e){var r=e.bodyReader;function i(i){var a=i.first(`w:body`);if(a==null)throw Error(`Could not find the body element: are you sure this is a docx file?`);var o=r.readXmlElements(a.children).map(function(n){return new t.Document(n,{notes:e.notes,comments:e.comments})});return new n(o.value,o.messages)}return{convertXmlToDocument:i}}})),Vo=n((e=>{e.readRelationships=t,e.defaultValue=new n([]),e.Relationships=n;function t(e){var t=[];return e.children.forEach(function(e){if(e.name===`relationships:Relationship`){var n={relationshipId:e.attributes.Id,target:e.attributes.Target,type:e.attributes.Type};t.push(n)}}),new n(t)}function n(e){var t=Object.create(null);e.forEach(function(e){t[e.relationshipId]=e.target});var n=Object.create(null);return e.forEach(function(e){n[e.type]||(n[e.type]=[]),n[e.type].push(e.target)}),{findTargetByRelationshipId:function(e){return t[e]},findTargetsByType:function(e){return n[e]||[]}}}})),Ho=n((e=>{e.readContentTypesFromXml=n;var t={png:`png`,gif:`gif`,jpeg:`jpeg`,jpg:`jpeg`,tif:`tiff`,tiff:`tiff`,bmp:`bmp`};e.defaultContentTypes=r({},{});function n(e){var t=Object.create(null),n=Object.create(null);return e.children.forEach(function(e){if(e.name===`content-types:Default`&&(t[e.attributes.Extension]=e.attributes.ContentType),e.name===`content-types:Override`){var r=e.attributes.PartName;r.charAt(0)===`/`&&(r=r.substring(1)),n[r]=e.attributes.ContentType}}),r(n,t)}function r(e,n){return{findContentType:function(r){var i=e[r];if(i)return i;var a=r.split(`.`),o=a[a.length-1];if(Object.prototype.hasOwnProperty.call(n,o))return n[o];var s=t[o.toLowerCase()];return s?`image/`+s:null}}}})),Uo=n((e=>{var t=($(),r(Q));e.readNumberingXml=i,e.Numbering=n,e.defaultNumbering=new n({},{});function n(e,n,r){var i=t.flatten(t.values(n).map(function(e){return t.values(e.levels)})),a=t.indexBy(i.filter(function(e){return e.paragraphStyleId!=null}),`paragraphStyleId`);function o(e,t){return s(e,t,Object.create(null))}function s(t,i,a){if(a[t])return null;a[t]=!0;var o=e[t];if(!o)return null;var c=n[o.abstractNumId];return c?c.numStyleLink==null?n[o.abstractNumId].levels[i]:s(r.findNumberingStyleById(c.numStyleLink).numId,i,a):null}function c(e){return a[e]||null}return{findLevel:o,findLevelByParagraphStyleId:c}}function i(e,t){if(!t||!t.styles)throw Error(`styles is missing`);var r=a(e);return new n(s(e,r),r,t.styles)}function a(e){var t=Object.create(null);return e.getElementsByTagName(`w:abstractNum`).forEach(function(e){var n=e.attributes[`w:abstractNumId`];t[n]=o(e)}),t}function o(e){var t=Object.create(null),n=null;return e.getElementsByTagName(`w:lvl`).forEach(function(e){var r=e.attributes[`w:ilvl`],i=e.firstOrEmpty(`w:numFmt`).attributes[`w:val`]!==`bullet`,a=e.firstOrEmpty(`w:pStyle`).attributes[`w:val`];r===void 0?n={isOrdered:i,level:`0`,paragraphStyleId:a}:t[r]={isOrdered:i,level:r,paragraphStyleId:a}}),n!==null&&t[n.level]===void 0&&(t[n.level]=n),{levels:t,numStyleLink:e.firstOrEmpty(`w:numStyleLink`).attributes[`w:val`]}}function s(e){var t=Object.create(null);return e.getElementsByTagName(`w:num`).forEach(function(e){var n=e.attributes[`w:numId`];t[n]={abstractNumId:e.first(`w:abstractNumId`).attributes[`w:val`]}}),t}})),Wo=n((e=>{e.readStylesXml=n,e.Styles=t,e.defaultStyles=new t({},{});function t(e,t,n,r){return{findParagraphStyleById:function(t){return e[t]},findCharacterStyleById:function(e){return t[e]},findTableStyleById:function(e){return n[e]},findNumberingStyleById:function(e){return r[e]}}}t.EMPTY=new t({},{},{},{});function n(e){var n=Object.create(null),i=Object.create(null),a=Object.create(null),o=Object.create(null);return e.getElementsByTagName(`w:style`).forEach(function(e){var t=r(e),s;switch(t.type){case`paragraph`:s=n;break;case`character`:s=i;break;case`table`:s=a;break;case`numbering`:s=o}s&&s[t.styleId]===void 0&&(s[t.styleId]=t)}),new t(n,i,a,o)}function r(e){var t=e.attributes[`w:type`];return t===`numbering`?a(t,e):{type:t,styleId:o(e),name:i(e)}}function i(e){var t=e.first(`w:name`);return t?t.attributes[`w:val`]:null}function a(e,t){var n=o(t);return{type:e,numId:t.firstOrEmpty(`w:pPr`).firstOrEmpty(`w:numPr`).firstOrEmpty(`w:numId`).attributes[`w:val`],styleId:n}}function o(e){return e.attributes[`w:styleId`]}})),Go=n(((e,t,n)=>{var r=Ya(),i=Xa().Result;e.createFootnotesReader=a.bind(n,`footnote`),e.createEndnotesReader=a.bind(n,`endnote`);function a(e,t){function n(t){return i.combine(t.getElementsByTagName(`w:`+e).filter(a).map(o))}function a(e){var t=e.attributes[`w:type`];return t!==`continuationSeparator`&&t!==`separator`}function o(n){var i=n.attributes[`w:id`];return t.readXmlElements(n.children).map(function(t){return r.Note({noteType:e,noteId:i,body:t})})}return n}})),Ko=n((e=>{var t=Ya(),n=Xa().Result;function r(e){function r(e){return n.combine(e.getElementsByTagName(`w:comment`).map(i))}function i(n){var r=n.attributes[`w:id`];function i(e){return(n.attributes[e]||``).trim()||null}return e.readXmlElements(n.children).map(function(e){return t.comment({commentId:r,body:e,authorName:i(`w:author`),authorInitials:i(`w:initials`)})})}return r}e.createCommentsReader=r})),qo=n((e=>{var t=Ja();e.Files=n;function n(){function e(e){return t.reject(Error(`could not open external image: '`+e+`'
21
- cannot open linked files from a web browser`))}return{read:e}}})),Jo=n((e=>{e.read=h,e._findPartPaths=g;var t=Ja(),n=Ya(),r=Xa().Result,i=Qa(),a=Po().readXmlFromZipFile,o=zo().createBodyReader,s=Bo().DocumentXmlReader,c=Vo(),l=Ho(),u=Uo(),d=Wo(),f=Go(),p=Ko(),m=qo().Files;function h(e,i,a){i||={},a||={};var o=new m({externalFileAccess:a.externalFileAccess,relativeToFile:i.path});return t.props({contentTypes:S(e),partPaths:g(e),docxFile:e,files:o}).also(function(t){return{styles:w(e,t.partPaths.styles)}}).also(function(t){return{numbering:C(e,t.partPaths.numbering,t.styles)}}).also(function(e){return{footnotes:b(e.partPaths.footnotes,e,function(e,t){return t?f.createFootnotesReader(e)(t):new r([])}),endnotes:b(e.partPaths.endnotes,e,function(e,t){return t?f.createEndnotesReader(e)(t):new r([])}),comments:b(e.partPaths.comments,e,function(e,t){return t?p.createCommentsReader(e)(t):new r([])})}}).also(function(e){return{notes:e.footnotes.flatMap(function(t){return e.endnotes.map(function(e){return new n.Notes(t.concat(e))})})}}).then(function(e){return b(e.partPaths.mainDocument,e,function(t,n){return e.notes.flatMap(function(r){return e.comments.flatMap(function(e){return new s({bodyReader:t,notes:r,comments:e}).convertXmlToDocument(n)})})})})}function g(e){return T(e).then(function(t){var n=_({docxFile:e,relationships:t,relationshipType:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,basePath:``,fallbackPath:`word/document.xml`});if(!e.exists(n))throw Error(`Could not find main document part. Are you sure this is a valid .docx file?`);return y({filename:x(n),readElement:c.readRelationships,defaultValue:c.defaultValue})(e).then(function(t){function r(r){return _({docxFile:e,relationships:t,relationshipType:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/`+r,basePath:i.splitPath(n).dirname,fallbackPath:`word/`+r+`.xml`})}return{mainDocument:n,comments:r(`comments`),endnotes:r(`endnotes`),footnotes:r(`footnotes`),numbering:r(`numbering`),styles:r(`styles`)}})})}function _(e){var t=e.docxFile,n=e.relationships,r=e.relationshipType,a=e.basePath,o=e.fallbackPath,s=n.findTargetsByType(r).map(function(e){return v(i.joinPath(a,e),`/`)}).filter(function(e){return t.exists(e)});return s.length===0?o:s[0]}function v(e,t){return e.substring(0,t.length)===t?e.substring(t.length):e}function y(e){return function(t){return a(t,e.filename).then(function(t){return t?e.readElement(t):e.defaultValue})}}function b(e,t,n){return y({filename:x(e),readElement:c.readRelationships,defaultValue:c.defaultValue})(t.docxFile).then(function(r){var i=new o({relationships:r,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.numbering,styles:t.styles,files:t.files});return a(t.docxFile,e).then(function(e){return n(i,e)})})}function x(e){var t=i.splitPath(e);return i.joinPath(t.dirname,`_rels`,t.basename+`.rels`)}var S=y({filename:`[Content_Types].xml`,readElement:l.readContentTypesFromXml,defaultValue:l.defaultContentTypes});function C(e,t,n){return y({filename:t,readElement:function(e){return u.readNumberingXml(e,{styles:n})},defaultValue:u.defaultNumbering})(e)}function w(e,t){return y({filename:t,readElement:d.readStylesXml,defaultValue:d.defaultStyles})(e)}var T=y({filename:`_rels/.rels`,readElement:c.readRelationships,defaultValue:c.defaultValue})})),Yo=n((e=>{var t=($(),r(Q)),n=Ja(),i=No();e.writeStyleMap=c,e.readStyleMap=f;var a=`http://schemas.zwobble.org/mammoth/style-map`,o=`mammoth/style-map`,s=`/`+o;function c(e,t){return e.write(o,t),l(e).then(function(){return u(e)})}function l(e){var t=`word/_rels/document.xml.rels`,n=`http://schemas.openxmlformats.org/package/2006/relationships`,r=`{`+n+`}Relationship`;return e.read(t,`utf8`).then(i.readString).then(function(o){var c=o.children;d(c,r,`Id`,{Id:`rMammothStyleMap`,Type:a,Target:s});var l={"":n};return e.write(t,i.writeString(o,l))})}function u(e){var t=`[Content_Types].xml`,n=`http://schemas.openxmlformats.org/package/2006/content-types`,r=`{`+n+`}Override`;return e.read(t,`utf8`).then(i.readString).then(function(a){var o=a.children;d(o,r,`PartName`,{PartName:s,ContentType:`text/prs.mammoth.style-map`});var c={"":n};return e.write(t,i.writeString(a,c))})}function d(e,n,r,a){var o=t.find(e,function(e){return e.name===n&&e.attributes[r]===a[r]});o?o.attributes=a:e.push(i.element(n,a))}function f(e){return e.exists(o)?e.read(o,`utf8`):n.resolve(null)}})),Xo=n((e=>{var t=$o();function n(e,n,r){return i(t.element(e,n,{fresh:!1}),r)}function r(e,n,r){return i(t.element(e,n,{fresh:!0}),r)}function i(e,t){return{type:`element`,tag:e,children:t||[]}}function a(e){return{type:`text`,value:e}}e.freshElement=r,e.nonFreshElement=n,e.elementWithTag=i,e.text=a,e.forceWrite={type:`forceWrite`};var o={br:!0,hr:!0,img:!0,input:!0};function s(e){return e.children.length===0&&o[e.tag.tagName]}e.isVoidElement=s})),Zo=n(((e,t)=>{var n=($(),r(Q)),i=Xo();function a(e){return o(f(e))}function o(e){var t=[];return e.map(s).forEach(function(e){d(t,e)}),t}function s(e){return c[e.type](e)}var c={element:l,text:u,forceWrite:u};function l(e){return i.elementWithTag(e.tag,o(e.children))}function u(e){return e}function d(e,t){var n=e[e.length-1];t.type===`element`&&!t.tag.fresh&&n&&n.type===`element`&&t.tag.matchesElement(n.tag)?(t.tag.separator&&d(n.children,i.text(t.tag.separator)),t.children.forEach(function(e){d(n.children,e)})):e.push(t)}function f(e){return p(e,function(e){return m[e.type](e)})}function p(e,t){return n.flatten(n.map(e,t),!0)}var m={element:g,text:_,forceWrite:h};function h(e){return[e]}function g(e){var t=f(e.children);return t.length===0&&!i.isVoidElement(e)?[]:[i.elementWithTag(e.tag,t)]}function _(e){return e.value.length===0?[]:[e]}t.exports=a})),Qo=n((e=>{var t=Xo();e.freshElement=t.freshElement,e.nonFreshElement=t.nonFreshElement,e.elementWithTag=t.elementWithTag,e.text=t.text,e.forceWrite=t.forceWrite,e.simplify=Zo();function n(e,t){t.forEach(function(t){r(e,t)})}function r(e,t){i[t.type](e,t)}var i={element:a,text:o,forceWrite:function(){}};function a(e,r){t.isVoidElement(r)?e.selfClosing(r.tag.tagName,r.tag.attributes):(e.open(r.tag.tagName,r.tag.attributes),n(e,r.children),e.close(r.tag.tagName))}function o(e,t){e.text(t.value)}e.write=n})),$o=n((e=>{var t=($(),r(Q)),n=Qo();e.topLevelElement=i,e.elements=a,e.element=s;function i(e,t){return a([s(e,t,{fresh:!0})])}function a(e){return new o(e.map(function(e){return t.isString(e)?s(e):e}))}function o(e){this._elements=e}o.prototype.wrap=function(e){for(var t=e(),n=this._elements.length-1;n>=0;n--)t=this._elements[n].wrapNodes(t);return t};function s(e,t,n){return n||={},new c(e,t,n)}function c(e,n,r){var i=Object.create(null);t.isArray(e)?(e.forEach(function(e){i[e]=!0}),e=e[0]):i[e]=!0,this.tagName=e,this.tagNames=i,this.attributes=n||{},this.fresh=r.fresh,this.separator=r.separator}c.prototype.matchesElement=function(e){return this.tagNames[e.tagName]&&t.isEqual(this.attributes||{},e.attributes||{})},c.prototype.wrap=function(e){return this.wrapNodes(e())},c.prototype.wrapNodes=function(e){return[n.elementWithTag(this,e)]},e.empty=a([]),e.ignore={wrap:function(){return[]}}})),es=n((e=>{var t=($(),r(Q)),n=Ja(),i=Qo();e.imgElement=a;function a(e){return function(r,a){return n.resolve(e(r)).then(function(e){var n={};return r.altText&&(n.alt=r.altText),t.extend(n,e),[i.freshElement(`img`,n)]})}}e.inline=e.imgElement,e.dataUri=a(function(e){return e.readAsBase64String().then(function(t){return{src:`data:`+e.contentType+`;base64,`+t}})});function o(e){return e.contentType.split(/\/|\\/)[1]}e.imageFilenameExtension=o})),ts=n((e=>{var t=($(),r(Q));e.writer=n;function n(e){return e||={},e.prettyPrint?a():o()}var i={div:!0,p:!0,ul:!0,li:!0};function a(){var e=0,n=[],r=!0,a=!1,s=o();function c(t,a){i[t]&&m(),n.push(t),s.open(t,a),i[t]&&e++,r=!1}function l(t){i[t]&&(e--,m()),n.pop(),s.close(t)}function u(e){p();var t=h()?e:e.replace(`
20
+ `,this.offset=`offset`in t?t.offset:0,this.dontprettytextnodes=`dontprettytextnodes`in t?t.dontprettytextnodes:0):(this.indent=``,this.newline=``,this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=`spacebeforeslash`in t?t.spacebeforeslash:``,this.spacebeforeslash===!0&&(this.spacebeforeslash=` `),this.newlinedefault=this.newline,this.prettydefault=this.pretty,r=t.writer||{},r)e.call(r,n)&&(i=r[n],this[n]=i);return this},t.prototype.space=function(e){var t;return this.pretty?(t=(e||0)+this.offset+1,t>0?Array(t).join(this.indent):``):``},t})()}).call(n)})),Do=t(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h=function(e,t){for(var n in t)g.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},g={}.hasOwnProperty;s=mo(),c=yo(),e=fo(),n=po(),u=uo(),f=bo(),p=xo(),d=So(),l=Co(),r=ho(),i=_o(),a=go(),o=vo(),m=Eo(),t.exports=(function(t){h(m,t);function m(e){m.__super__.constructor.call(this,e)}return m.prototype.document=function(e){var t,r,i,a,o;for(this.textispresent=!1,a=``,o=e.children,r=0,i=o.length;r<i;r++)t=o[r],!(t instanceof l)&&(a+=(function(){switch(!1){case!(t instanceof s):return this.declaration(t);case!(t instanceof c):return this.docType(t);case!(t instanceof n):return this.comment(t);case!(t instanceof d):return this.processingInstruction(t);default:return this.element(t,0)}}).call(this));return this.pretty&&a.slice(-this.newline.length)===this.newline&&(a=a.slice(0,-this.newline.length)),a},m.prototype.attribute=function(e){return` `+e.name+`="`+e.value+`"`},m.prototype.cdata=function(e,t){return this.space(t)+`<![CDATA[`+e.text+`]]>`+this.newline},m.prototype.comment=function(e,t){return this.space(t)+`<!-- `+e.text+` -->`+this.newline},m.prototype.declaration=function(e,t){var n=this.space(t);return n+=`<?xml version="`+e.version+`"`,e.encoding!=null&&(n+=` encoding="`+e.encoding+`"`),e.standalone!=null&&(n+=` standalone="`+e.standalone+`"`),n+=this.spacebeforeslash+`?>`,n+=this.newline,n},m.prototype.docType=function(t,s){var c,l,u,f,p;if(s||=0,f=this.space(s),f+=`<!DOCTYPE `+t.root().name,t.pubID&&t.sysID?f+=` PUBLIC "`+t.pubID+`" "`+t.sysID+`"`:t.sysID&&(f+=` SYSTEM "`+t.sysID+`"`),t.children.length>0){for(f+=` [`,f+=this.newline,p=t.children,l=0,u=p.length;l<u;l++)c=p[l],f+=(function(){switch(!1){case!(c instanceof r):return this.dtdAttList(c,s+1);case!(c instanceof i):return this.dtdElement(c,s+1);case!(c instanceof a):return this.dtdEntity(c,s+1);case!(c instanceof o):return this.dtdNotation(c,s+1);case!(c instanceof e):return this.cdata(c,s+1);case!(c instanceof n):return this.comment(c,s+1);case!(c instanceof d):return this.processingInstruction(c,s+1);default:throw Error(`Unknown DTD node type: `+c.constructor.name)}}).call(this);f+=`]`}return f+=this.spacebeforeslash+`>`,f+=this.newline,f},m.prototype.element=function(t,r){var i,a,o,s,c,m,h,_,v,y,b,x,S;for(h in r||=0,S=!1,this.textispresent?(this.newline=``,this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),x=this.space(r),_=``,_+=x+`<`+t.name,v=t.attributes,v)g.call(v,h)&&(i=v[h],_+=this.attribute(i));if(t.children.length===0||t.children.every(function(e){return e.value===``}))this.allowEmpty?_+=`></`+t.name+`>`+this.newline:_+=this.spacebeforeslash+`/>`+this.newline;else if(this.pretty&&t.children.length===1&&t.children[0].value!=null)_+=`>`,_+=t.children[0].value,_+=`</`+t.name+`>`+this.newline;else{if(this.dontprettytextnodes){for(y=t.children,o=0,c=y.length;o<c;o++)if(a=y[o],a.value!=null){this.textispresent++,S=!0;break}}for(this.textispresent&&(this.newline=``,this.pretty=!1,x=this.space(r)),_+=`>`+this.newline,b=t.children,s=0,m=b.length;s<m;s++)a=b[s],_+=(function(){switch(!1){case!(a instanceof e):return this.cdata(a,r+1);case!(a instanceof n):return this.comment(a,r+1);case!(a instanceof u):return this.element(a,r+1);case!(a instanceof f):return this.raw(a,r+1);case!(a instanceof p):return this.text(a,r+1);case!(a instanceof d):return this.processingInstruction(a,r+1);case!(a instanceof l):return``;default:throw Error(`Unknown XML node type: `+a.constructor.name)}}).call(this);S&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),_+=x+`</`+t.name+`>`+this.newline}return _},m.prototype.processingInstruction=function(e,t){var n=this.space(t)+`<?`+e.target;return e.value&&(n+=` `+e.value),n+=this.spacebeforeslash+`?>`+this.newline,n},m.prototype.raw=function(e,t){return this.space(t)+e.value+this.newline},m.prototype.text=function(e,t){return this.space(t)+e.value+this.newline},m.prototype.dtdAttList=function(e,t){var n=this.space(t)+`<!ATTLIST `+e.elementName+` `+e.attributeName+` `+e.attributeType;return e.defaultValueType!==`#DEFAULT`&&(n+=` `+e.defaultValueType),e.defaultValue&&(n+=` "`+e.defaultValue+`"`),n+=this.spacebeforeslash+`>`+this.newline,n},m.prototype.dtdElement=function(e,t){return this.space(t)+`<!ELEMENT `+e.name+` `+e.value+this.spacebeforeslash+`>`+this.newline},m.prototype.dtdEntity=function(e,t){var n=this.space(t)+`<!ENTITY`;return e.pe&&(n+=` %`),n+=` `+e.name,e.value?n+=` "`+e.value+`"`:(e.pubID&&e.sysID?n+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.sysID&&(n+=` SYSTEM "`+e.sysID+`"`),e.nData&&(n+=` NDATA `+e.nData)),n+=this.spacebeforeslash+`>`+this.newline,n},m.prototype.dtdNotation=function(e,t){var n=this.space(t)+`<!NOTATION `+e.name;return e.pubID&&e.sysID?n+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.pubID?n+=` PUBLIC "`+e.pubID+`"`:e.sysID&&(n+=` SYSTEM "`+e.sysID+`"`),n+=this.spacebeforeslash+`>`+this.newline,n},m.prototype.openNode=function(e,t){var n,r,i,a;if(t||=0,e instanceof u){for(r in i=this.space(t)+`<`+e.name,a=e.attributes,a)g.call(a,r)&&(n=a[r],i+=this.attribute(n));return i+=(e.children?`>`:`/>`)+this.newline,i}return i=this.space(t)+`<!DOCTYPE `+e.rootNodeName,e.pubID&&e.sysID?i+=` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`:e.sysID&&(i+=` SYSTEM "`+e.sysID+`"`),i+=(e.children?` [`:`>`)+this.newline,i},m.prototype.closeNode=function(e,t){switch(t||=0,!1){case!(e instanceof u):return this.space(t)+`</`+e.name+`>`+this.newline;case!(e instanceof c):return this.space(t)+`]>`+this.newline}},m})(m)}).call(n)})),Oo=t(((e,t,n)=>{(function(){var e,n,r,i,a=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;i=co().isPlainObject,e=wo(),r=To(),n=Do(),t.exports=(function(e){a(t,e);function t(e){t.__super__.constructor.call(this,null),this.name=`?xml`,e||={},e.writer||(e.writer=new n),this.options=e,this.stringify=new r(e),this.isDocument=!0}return t.prototype.end=function(e){var t;return e?i(e)&&(t=e,e=this.options.writer.set(t)):e=this.options.writer,e.document(this)},t.prototype.toString=function(e){return this.options.writer.set(e).document(this)},t})(e)}).call(n)})),ko=t(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x={}.hasOwnProperty;b=co(),v=b.isObject,_=b.isFunction,y=b.isPlainObject,g=b.getValue,u=uo(),n=fo(),r=po(),f=bo(),h=xo(),d=So(),c=mo(),l=yo(),i=ho(),o=go(),a=_o(),s=vo(),e=lo(),m=To(),p=Do(),t.exports=(function(){function t(e,t,n){var r;this.name=`?xml`,e||={},e.writer?y(e.writer)&&(r=e.writer,e.writer=new p(r)):e.writer=new p(e),this.options=e,this.writer=e.writer,this.stringify=new m(e),this.onDataCallback=t||function(){},this.onEndCallback=n||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return t.prototype.node=function(e,t,n){var r,i;if(e==null)throw Error(`Missing node name.`);if(this.root&&this.currentLevel===-1)throw Error(`Document can only have one root node. `+this.debugInfo(e));return this.openCurrent(),e=g(e),t===null&&n==null&&(r=[{},null],t=r[0],n=r[1]),t??={},t=g(t),v(t)||(i=[t,n],n=i[0],t=i[1]),this.currentNode=new u(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,n!=null&&this.text(n),this},t.prototype.element=function(e,t,n){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(e,t,n)},t.prototype.attribute=function(t,n){var r,i;if(!this.currentNode||this.currentNode.children)throw Error(`att() can only be used immediately after an ele() call in callback mode. `+this.debugInfo(t));if(t!=null&&(t=g(t)),v(t))for(r in t)x.call(t,r)&&(i=t[r],this.attribute(r,i));else _(n)&&(n=n.apply()),(!this.options.skipNullAttributes||n!=null)&&(this.currentNode.attributes[t]=new e(this,t,n));return this},t.prototype.text=function(e){var t;return this.openCurrent(),t=new h(this,e),this.onData(this.writer.text(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.cdata=function(e){var t;return this.openCurrent(),t=new n(this,e),this.onData(this.writer.cdata(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.comment=function(e){var t;return this.openCurrent(),t=new r(this,e),this.onData(this.writer.comment(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.raw=function(e){var t;return this.openCurrent(),t=new f(this,e),this.onData(this.writer.raw(t,this.currentLevel+1),this.currentLevel+1),this},t.prototype.instruction=function(e,t){var n,r,i,a,o;if(this.openCurrent(),e!=null&&(e=g(e)),t!=null&&(t=g(t)),Array.isArray(e))for(n=0,a=e.length;n<a;n++)r=e[n],this.instruction(r);else if(v(e))for(r in e)x.call(e,r)&&(i=e[r],this.instruction(r,i));else _(t)&&(t=t.apply()),o=new d(this,e,t),this.onData(this.writer.processingInstruction(o,this.currentLevel+1),this.currentLevel+1);return this},t.prototype.declaration=function(e,t,n){var r;if(this.openCurrent(),this.documentStarted)throw Error(`declaration() must be the first node.`);return r=new c(this,e,t,n),this.onData(this.writer.declaration(r,this.currentLevel+1),this.currentLevel+1),this},t.prototype.doctype=function(e,t,n){if(this.openCurrent(),e==null)throw Error(`Missing root node name.`);if(this.root)throw Error(`dtd() must come before the root node.`);return this.currentNode=new l(this,t,n),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},t.prototype.dtdElement=function(e,t){var n;return this.openCurrent(),n=new a(this,e,t),this.onData(this.writer.dtdElement(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.attList=function(e,t,n,r,a){var o;return this.openCurrent(),o=new i(this,e,t,n,r,a),this.onData(this.writer.dtdAttList(o,this.currentLevel+1),this.currentLevel+1),this},t.prototype.entity=function(e,t){var n;return this.openCurrent(),n=new o(this,!1,e,t),this.onData(this.writer.dtdEntity(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.pEntity=function(e,t){var n;return this.openCurrent(),n=new o(this,!0,e,t),this.onData(this.writer.dtdEntity(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.notation=function(e,t){var n;return this.openCurrent(),n=new s(this,e,t),this.onData(this.writer.dtdNotation(n,this.currentLevel+1),this.currentLevel+1),this},t.prototype.up=function(){if(this.currentLevel<0)throw Error(`The document node has no parent.`);return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},t.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},t.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},t.prototype.openNode=function(e){if(!e.isOpen)return!this.root&&this.currentLevel===0&&e instanceof u&&(this.root=e),this.onData(this.writer.openNode(e,this.currentLevel),this.currentLevel),e.isOpen=!0},t.prototype.closeNode=function(e){if(!e.isClosed)return this.onData(this.writer.closeNode(e,this.currentLevel),this.currentLevel),e.isClosed=!0},t.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},t.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},t.prototype.debugInfo=function(e){return e==null?``:`node: <`+e+`>`},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},t.prototype.dtd=function(e,t,n){return this.doctype(e,t,n)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.i=function(e,t){return this.instruction(e,t)},t.prototype.att=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.a=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.ent=function(e,t){return this.entity(e,t)},t.prototype.pent=function(e,t){return this.pEntity(e,t)},t.prototype.not=function(e,t){return this.notation(e,t)},t})()}).call(n)})),Ao=t(((e,t,n)=>{(function(){var e,n,r,i,a,o,s,c,l,u,d,f,p,m,h=function(e,t){for(var n in t)g.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},g={}.hasOwnProperty;s=mo(),c=yo(),e=fo(),n=po(),u=uo(),f=bo(),p=xo(),d=So(),l=Co(),r=ho(),i=_o(),a=go(),o=vo(),m=Eo(),t.exports=(function(t){h(m,t);function m(e,t){m.__super__.constructor.call(this,t),this.stream=e}return m.prototype.document=function(e){var t,r,i,a,o,u=e.children,f,p;for(r=0,a=u.length;r<a;r++)t=u[r],t.isLastRootNode=!1;for(e.children[e.children.length-1].isLastRootNode=!0,f=e.children,p=[],i=0,o=f.length;i<o;i++)if(t=f[i],!(t instanceof l))switch(!1){case!(t instanceof s):p.push(this.declaration(t));break;case!(t instanceof c):p.push(this.docType(t));break;case!(t instanceof n):p.push(this.comment(t));break;case!(t instanceof d):p.push(this.processingInstruction(t));break;default:p.push(this.element(t))}return p},m.prototype.attribute=function(e){return this.stream.write(` `+e.name+`="`+e.value+`"`)},m.prototype.cdata=function(e,t){return this.stream.write(this.space(t)+`<![CDATA[`+e.text+`]]>`+this.endline(e))},m.prototype.comment=function(e,t){return this.stream.write(this.space(t)+`<!-- `+e.text+` -->`+this.endline(e))},m.prototype.declaration=function(e,t){return this.stream.write(this.space(t)),this.stream.write(`<?xml version="`+e.version+`"`),e.encoding!=null&&this.stream.write(` encoding="`+e.encoding+`"`),e.standalone!=null&&this.stream.write(` standalone="`+e.standalone+`"`),this.stream.write(this.spacebeforeslash+`?>`),this.stream.write(this.endline(e))},m.prototype.docType=function(t,s){var c,l,u,f;if(s||=0,this.stream.write(this.space(s)),this.stream.write(`<!DOCTYPE `+t.root().name),t.pubID&&t.sysID?this.stream.write(` PUBLIC "`+t.pubID+`" "`+t.sysID+`"`):t.sysID&&this.stream.write(` SYSTEM "`+t.sysID+`"`),t.children.length>0){for(this.stream.write(` [`),this.stream.write(this.endline(t)),f=t.children,l=0,u=f.length;l<u;l++)switch(c=f[l],!1){case!(c instanceof r):this.dtdAttList(c,s+1);break;case!(c instanceof i):this.dtdElement(c,s+1);break;case!(c instanceof a):this.dtdEntity(c,s+1);break;case!(c instanceof o):this.dtdNotation(c,s+1);break;case!(c instanceof e):this.cdata(c,s+1);break;case!(c instanceof n):this.comment(c,s+1);break;case!(c instanceof d):this.processingInstruction(c,s+1);break;default:throw Error(`Unknown DTD node type: `+c.constructor.name)}this.stream.write(`]`)}return this.stream.write(this.spacebeforeslash+`>`),this.stream.write(this.endline(t))},m.prototype.element=function(t,r){var i,a,o,s,c,m,h,_;for(c in r||=0,_=this.space(r),this.stream.write(_+`<`+t.name),m=t.attributes,m)g.call(m,c)&&(i=m[c],this.attribute(i));if(t.children.length===0||t.children.every(function(e){return e.value===``}))this.allowEmpty?this.stream.write(`></`+t.name+`>`):this.stream.write(this.spacebeforeslash+`/>`);else if(this.pretty&&t.children.length===1&&t.children[0].value!=null)this.stream.write(`>`),this.stream.write(t.children[0].value),this.stream.write(`</`+t.name+`>`);else{for(this.stream.write(`>`+this.newline),h=t.children,o=0,s=h.length;o<s;o++)switch(a=h[o],!1){case!(a instanceof e):this.cdata(a,r+1);break;case!(a instanceof n):this.comment(a,r+1);break;case!(a instanceof u):this.element(a,r+1);break;case!(a instanceof f):this.raw(a,r+1);break;case!(a instanceof p):this.text(a,r+1);break;case!(a instanceof d):this.processingInstruction(a,r+1);break;case!(a instanceof l):break;default:throw Error(`Unknown XML node type: `+a.constructor.name)}this.stream.write(_+`</`+t.name+`>`)}return this.stream.write(this.endline(t))},m.prototype.processingInstruction=function(e,t){return this.stream.write(this.space(t)+`<?`+e.target),e.value&&this.stream.write(` `+e.value),this.stream.write(this.spacebeforeslash+`?>`+this.endline(e))},m.prototype.raw=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},m.prototype.text=function(e,t){return this.stream.write(this.space(t)+e.value+this.endline(e))},m.prototype.dtdAttList=function(e,t){return this.stream.write(this.space(t)+`<!ATTLIST `+e.elementName+` `+e.attributeName+` `+e.attributeType),e.defaultValueType!==`#DEFAULT`&&this.stream.write(` `+e.defaultValueType),e.defaultValue&&this.stream.write(` "`+e.defaultValue+`"`),this.stream.write(this.spacebeforeslash+`>`+this.endline(e))},m.prototype.dtdElement=function(e,t){return this.stream.write(this.space(t)+`<!ELEMENT `+e.name+` `+e.value),this.stream.write(this.spacebeforeslash+`>`+this.endline(e))},m.prototype.dtdEntity=function(e,t){return this.stream.write(this.space(t)+`<!ENTITY`),e.pe&&this.stream.write(` %`),this.stream.write(` `+e.name),e.value?this.stream.write(` "`+e.value+`"`):(e.pubID&&e.sysID?this.stream.write(` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`):e.sysID&&this.stream.write(` SYSTEM "`+e.sysID+`"`),e.nData&&this.stream.write(` NDATA `+e.nData)),this.stream.write(this.spacebeforeslash+`>`+this.endline(e))},m.prototype.dtdNotation=function(e,t){return this.stream.write(this.space(t)+`<!NOTATION `+e.name),e.pubID&&e.sysID?this.stream.write(` PUBLIC "`+e.pubID+`" "`+e.sysID+`"`):e.pubID?this.stream.write(` PUBLIC "`+e.pubID+`"`):e.sysID&&this.stream.write(` SYSTEM "`+e.sysID+`"`),this.stream.write(this.spacebeforeslash+`>`+this.endline(e))},m.prototype.endline=function(e){return e.isLastRootNode?``:this.newline},m})(m)}).call(n)})),jo=t(((e,t,n)=>{(function(){var e,n,r,i,a,o,s=co();a=s.assign,o=s.isFunction,e=Oo(),n=ko(),i=Do(),r=Ao(),t.exports.create=function(t,n,r,i){var o,s;if(t==null)throw Error(`Root element needs a name.`);return i=a({},n,r,i),o=new e(i),s=o.element(t),i.headless||(o.declaration(i),(i.pubID!=null||i.sysID!=null)&&o.doctype(i)),s},t.exports.begin=function(t,r,i){var a;return o(t)&&(a=[t,r],r=a[0],i=a[1],t={}),r?new n(t,r,i):new e(t)},t.exports.stringWriter=function(e){return new i(e)},t.exports.streamWriter=function(e,t){return new r(e,t)}}).call(n)})),Mo=t((e=>{var t=($(),n(Q)),r=jo();e.writeString=i;function i(e,n){var i=t.invert(n),o={element:c,text:a};function s(e,t){return o[t.type](e,t)}function c(e,t){var n=e.element(l(t.name),t.attributes);t.children.forEach(function(e){s(n,e)})}function l(e){var t=/^\{(.*)\}(.*)$/.exec(e);if(t){var n=i[t[1]];return n+(n===``?``:`:`)+t[2]}return e}function u(e){var i=r.create(l(e.name),{version:`1.0`,encoding:`UTF-8`,standalone:!0});return t.forEach(n,function(e,t){var n=`xmlns`+(t===``?``:`:`+t);i.attribute(n,e)}),e.children.forEach(function(e){s(i,e)}),i.end()}return u(e)}function a(e,t){e.text(t.value)}})),No=t((e=>{var t=$a();e.Element=t.Element,e.element=t.element,e.emptyElement=t.emptyElement,e.text=t.text,e.readString=so().readString,e.writeString=Mo().writeString})),Po=t((e=>{var t=($(),n(Q)),r=Ja(),i=No();e.read=o,e.readXmlFromZipFile=s;var a={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":`w`,"http://schemas.openxmlformats.org/officeDocument/2006/relationships":`r`,"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":`wp`,"http://schemas.openxmlformats.org/drawingml/2006/main":`a`,"http://schemas.openxmlformats.org/drawingml/2006/picture":`pic`,"http://purl.oclc.org/ooxml/wordprocessingml/main":`w`,"http://purl.oclc.org/ooxml/officeDocument/relationships":`r`,"http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":`wp`,"http://purl.oclc.org/ooxml/drawingml/main":`a`,"http://purl.oclc.org/ooxml/drawingml/picture":`pic`,"http://schemas.openxmlformats.org/package/2006/content-types":`content-types`,"http://schemas.openxmlformats.org/package/2006/relationships":`relationships`,"http://schemas.openxmlformats.org/markup-compatibility/2006":`mc`,"urn:schemas-microsoft-com:vml":`v`,"urn:schemas-microsoft-com:office:word":`office-word`,"http://schemas.microsoft.com/office/word/2010/wordml":`wordml`};function o(e){return i.readString(e,a).then(function(e){return l(e)[0]})}function s(e,t){return e.exists(t)?e.read(t,`utf-8`).then(c).then(o):r.resolve(null)}function c(e){return e.replace(/^\uFEFF/g,``)}function l(e){return e.type===`element`?e.name===`mc:AlternateContent`?e.firstOrEmpty(`mc:Fallback`).children:(e.children=t.flatten(e.children.map(l,!0)),[e]):[e]}})),Fo=t((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default={SYMBOL:{32:32,33:33,34:8704,35:35,36:8707,37:37,38:38,39:8717,40:40,41:41,42:42,43:43,44:44,45:8722,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:8773,65:913,66:914,67:935,68:916,69:917,70:934,71:915,72:919,73:921,74:977,75:922,76:923,77:924,78:925,79:927,80:928,81:920,82:929,83:931,84:932,85:933,86:962,87:937,88:926,89:936,90:918,91:91,92:8756,93:93,94:8869,95:95,96:8254,97:945,98:946,99:967,100:948,101:949,102:966,103:947,104:951,105:953,106:981,107:954,108:955,109:956,110:957,111:959,112:960,113:952,114:961,115:963,116:964,117:965,118:982,119:969,120:958,121:968,122:950,123:123,124:124,125:125,126:126,160:8364,161:978,162:8242,163:8804,164:8260,165:8734,166:402,167:9827,168:9830,169:9829,170:9824,171:8596,172:8592,173:8593,174:8594,175:8595,176:176,177:177,178:8243,179:8805,180:215,181:8733,182:8706,183:8226,184:247,185:8800,186:8801,187:8776,188:8230,189:9168,190:9135,191:8629,192:8501,193:8465,194:8476,195:8472,196:8855,197:8853,198:8709,199:8745,200:8746,201:8835,202:8839,203:8836,204:8834,205:8838,206:8712,207:8713,208:8736,209:8711,210:174,211:169,212:8482,213:8719,214:8730,215:8901,216:172,217:8743,218:8744,219:8660,220:8656,221:8657,222:8658,223:8659,224:9674,225:12296,226:174,227:169,228:8482,229:8721,230:9115,231:9116,232:9117,233:9121,234:9122,235:9123,236:9127,237:9128,238:9129,239:9130,240:63743,241:12297,242:8747,243:8992,244:9134,245:8993,246:9118,247:9119,248:9120,249:9124,250:9125,251:9126,252:9131,253:9132,254:9133},WEBDINGS:{32:32,33:128375,34:128376,35:128370,36:128374,37:127942,38:127894,39:128391,40:128488,41:128489,42:128496,43:128497,44:127798,45:127895,46:128638,47:128636,48:128469,49:128470,50:128471,51:9204,52:9205,53:9206,54:9207,55:9194,56:9193,57:9198,58:9197,59:9208,60:9209,61:9210,62:128474,63:128499,64:128736,65:127959,66:127960,67:127961,68:127962,69:127964,70:127981,71:127963,72:127968,73:127958,74:127965,75:128739,76:128269,77:127956,78:128065,79:128066,80:127966,81:127957,82:128740,83:127967,84:128755,85:128364,86:128363,87:128360,88:128264,89:127892,90:127893,91:128492,92:128637,93:128493,94:128490,95:128491,96:11156,97:10004,98:128690,99:11036,100:128737,101:128230,102:128753,103:11035,104:128657,105:128712,106:128745,107:128752,108:128968,109:128372,110:11044,111:128741,112:128660,113:128472,114:128473,115:10067,116:128754,117:128647,118:128653,119:9971,120:10680,121:8854,122:128685,123:128494,124:9168,125:128495,126:128498,128:128697,129:128698,130:128713,131:128714,132:128700,133:128125,134:127947,135:9975,136:127938,137:127948,138:127946,139:127940,140:127949,141:127950,142:128664,143:128480,144:128738,145:128176,146:127991,147:128179,148:128106,149:128481,150:128482,151:128483,152:10031,153:128388,154:128389,155:128387,156:128390,157:128441,158:128442,159:128443,160:128373,161:128368,162:128445,163:128446,164:128203,165:128466,166:128467,167:128366,168:128218,169:128478,170:128479,171:128451,172:128450,173:128444,174:127917,175:127900,176:127896,177:127897,178:127911,179:128191,180:127902,181:128247,182:127903,183:127916,184:128253,185:128249,186:128254,187:128251,188:127898,189:127899,190:128250,191:128187,192:128421,193:128422,194:128423,195:128377,196:127918,197:128379,198:128380,199:128223,200:128385,201:128384,202:128424,203:128425,204:128447,205:128426,206:128476,207:128274,208:128275,209:128477,210:128229,211:128228,212:128371,213:127779,214:127780,215:127781,216:127782,217:9729,218:127784,219:127783,220:127785,221:127786,222:127788,223:127787,224:127772,225:127777,226:128715,227:128719,228:127869,229:127864,230:128718,231:128717,232:9413,233:9855,234:128710,235:128392,236:127891,237:128484,238:128485,239:128486,240:128487,241:128746,242:128063,243:128038,244:128031,245:128021,246:128008,247:128620,248:128622,249:128621,250:128623,251:128506,252:127757,253:127759,254:127758,255:128330},WINGDINGS:{32:32,33:128393,34:9986,35:9985,36:128083,37:128365,38:128366,39:128367,40:128383,41:9990,42:128386,43:128387,44:128234,45:128235,46:128236,47:128237,48:128448,49:128449,50:128462,51:128463,52:128464,53:128452,54:8987,55:128430,56:128432,57:128434,58:128435,59:128436,60:128427,61:128428,62:9991,63:9997,64:128398,65:9996,66:128399,67:128077,68:128078,69:9756,70:9758,71:9757,72:9759,73:128400,74:9786,75:128528,76:9785,77:128163,78:128369,79:127987,80:127985,81:9992,82:9788,83:127778,84:10052,85:128326,86:10014,87:128328,88:10016,89:10017,90:9770,91:9775,92:128329,93:9784,94:9800,95:9801,96:9802,97:9803,98:9804,99:9805,100:9806,101:9807,102:9808,103:9809,104:9810,105:9811,106:128624,107:128629,108:9899,109:128318,110:9724,111:128911,112:128912,113:10065,114:10066,115:128927,116:10731,117:9670,118:10070,119:11049,120:8999,121:11193,122:8984,123:127989,124:127990,125:128630,126:128631,127:9647,128:127243,129:10112,130:10113,131:10114,132:10115,133:10116,134:10117,135:10118,136:10119,137:10120,138:10121,139:127244,140:10122,141:10123,142:10124,143:10125,144:10126,145:10127,146:10128,147:10129,148:10130,149:10131,150:128610,151:128608,152:128609,153:128611,154:128606,155:128604,156:128605,157:128607,158:8729,159:8226,160:11037,161:11096,162:128902,163:128904,164:128906,165:128907,166:128319,167:9642,168:128910,169:128961,170:128965,171:9733,172:128971,173:128975,174:128979,175:128977,176:11216,177:8982,178:11214,179:11215,180:11217,181:10026,182:10032,183:128336,184:128337,185:128338,186:128339,187:128340,188:128341,189:128342,190:128343,191:128344,192:128345,193:128346,194:128347,195:11184,196:11185,197:11186,198:11187,199:11188,200:11189,201:11190,202:11191,203:128618,204:128619,205:128597,206:128596,207:128599,208:128598,209:128592,210:128593,211:128594,212:128595,213:9003,214:8998,215:11160,216:11162,217:11161,218:11163,219:11144,220:11146,221:11145,222:11147,223:129128,224:129130,225:129129,226:129131,227:129132,228:129133,229:129135,230:129134,231:129144,232:129146,233:129145,234:129147,235:129148,236:129149,237:129151,238:129150,239:8678,240:8680,241:8679,242:8681,243:11012,244:8691,245:11009,246:11008,247:11011,248:11010,249:129196,250:129197,251:128502,252:10003,253:128503,254:128505},"WINGDINGS 2":{32:32,33:128394,34:128395,35:128396,36:128397,37:9988,38:9984,39:128382,40:128381,41:128453,42:128454,43:128455,44:128456,45:128457,46:128458,47:128459,48:128460,49:128461,50:128203,51:128465,52:128468,53:128437,54:128438,55:128439,56:128440,57:128429,58:128431,59:128433,60:128402,61:128403,62:128408,63:128409,64:128410,65:128411,66:128072,67:128073,68:128412,69:128413,70:128414,71:128415,72:128416,73:128417,74:128070,75:128071,76:128418,77:128419,78:128401,79:128500,80:128504,81:128501,82:9745,83:11197,84:9746,85:11198,86:11199,87:128711,88:10680,89:128625,90:128628,91:128626,92:128627,93:8253,94:128633,95:128634,96:128635,97:128614,98:128612,99:128613,100:128615,101:128602,102:128600,103:128601,104:128603,105:9450,106:9312,107:9313,108:9314,109:9315,110:9316,111:9317,112:9318,113:9319,114:9320,115:9321,116:9471,117:10102,118:10103,119:10104,120:10105,121:10106,122:10107,123:10108,124:10109,125:10110,126:10111,128:9737,129:127765,130:9789,131:9790,132:11839,133:10013,134:128327,135:128348,136:128349,137:128350,138:128351,139:128352,140:128353,141:128354,142:128355,143:128356,144:128357,145:128358,146:128359,147:128616,148:128617,149:8901,150:128900,151:10625,152:9679,153:9675,154:128901,155:128903,156:128905,157:8857,158:10687,159:128908,160:128909,161:9726,162:9632,163:9633,164:128913,165:128914,166:128915,167:128916,168:9635,169:128917,170:128918,171:128919,172:128920,173:11049,174:11045,175:9671,176:128922,177:9672,178:128923,179:128924,180:128925,181:128926,182:11050,183:11047,184:9674,185:128928,186:9686,187:9687,188:11210,189:11211,190:11200,191:11201,192:11039,193:11202,194:11043,195:11042,196:11203,197:11204,198:128929,199:128930,200:128931,201:128932,202:128933,203:128934,204:128935,205:128936,206:128937,207:128938,208:128939,209:128940,210:128941,211:128942,212:128943,213:128944,214:128945,215:128946,216:128947,217:128948,218:128949,219:128950,220:128951,221:128952,222:128953,223:128954,224:128955,225:128956,226:128957,227:128958,228:128959,229:128960,230:128962,231:128964,232:128966,233:128969,234:128970,235:10038,236:128972,237:128974,238:128976,239:128978,240:10041,241:128963,242:128967,243:10031,244:128973,245:128980,246:11212,247:11213,248:8251,249:8258},"WINGDINGS 3":{32:32,33:11104,34:11106,35:11105,36:11107,37:11110,38:11111,39:11113,40:11112,41:11120,42:11122,43:11121,44:11123,45:11126,46:11128,47:11131,48:11133,49:11108,50:11109,51:11114,52:11116,53:11115,54:11117,55:11085,56:11168,57:11169,58:11170,59:11171,60:11172,61:11173,62:11174,63:11175,64:11152,65:11153,66:11154,67:11155,68:11136,69:11139,70:11134,71:11135,72:11140,73:11142,74:11141,75:11143,76:11151,77:11149,78:11150,79:11148,80:11118,81:11119,82:9099,83:8996,84:8963,85:8997,86:9251,87:9085,88:8682,89:11192,90:129184,91:129185,92:129186,93:129187,94:129188,95:129189,96:129190,97:129191,98:129192,99:129193,100:129194,101:129195,102:129104,103:129106,104:129105,105:129107,106:129108,107:129109,108:129111,109:129110,110:129112,111:129113,112:9650,113:9660,114:9651,115:9661,116:9664,117:9654,118:9665,119:9655,120:9699,121:9698,122:9700,123:9701,124:128896,125:128898,126:128897,128:128899,129:11205,130:11206,131:11207,132:11208,133:11164,134:11166,135:11165,136:11167,137:129040,138:129042,139:129041,140:129043,141:129044,142:129046,143:129045,144:129047,145:129048,146:129050,147:129049,148:129051,149:129052,150:129054,151:129053,152:129055,153:129024,154:129026,155:129025,156:129027,157:129028,158:129030,159:129029,160:129031,161:129032,162:129034,163:129033,164:129035,165:129056,166:129058,167:129060,168:129062,169:129064,170:129066,171:129068,172:129180,173:129181,174:129182,175:129183,176:129070,177:129072,178:129074,179:129076,180:129078,181:129080,182:129082,183:129081,184:129083,185:129176,186:129178,187:129177,188:129179,189:129084,190:129086,191:129085,192:129087,193:129088,194:129090,195:129089,196:129091,197:129092,198:129094,199:129093,200:129095,201:11176,202:11177,203:11178,204:11179,205:11180,206:11181,207:11182,208:11183,209:129120,210:129122,211:129121,212:129123,213:129124,214:129125,215:129127,216:129126,217:129136,218:129138,219:129137,220:129139,221:129140,222:129141,223:129143,224:129142,225:129152,226:129154,227:129153,228:129155,229:129156,230:129157,231:129159,232:129158,233:129168,234:129170,235:129169,236:129171,237:129172,238:129174,239:129173,240:129175}}})),Io=t(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.hex=e.dec=e.codePoint=void 0;var i=r(Fo()),a=String.fromCodePoint?String.fromCodePoint:l;function o(e,t){var n=i.default[e.toUpperCase()];if(n!==void 0){var r=n[t];if(r!==void 0)return{codePoint:r,string:a(r)}}}e.codePoint=o;function s(e,t){return o(e,parseInt(t,10))}e.dec=s;function c(e,t){return o(e,parseInt(t,16))}e.hex=c;function l(e){if(e<=65535)return String.fromCharCode(e);var t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)}})),Lo=t((e=>{var t=($(),n(Q));e.paragraph=r,e.run=i,e._elements=o,e._elementsOfType=a,e.getDescendantsOfType=s,e.getDescendants=c;function r(e){return a(`paragraph`,e)}function i(e){return a(`run`,e)}function a(e,t){return o(function(n){return n.type===e?t(n):n})}function o(e){return function n(r){if(r.children){var i=t.map(r.children,n);r=t.extend(r,{children:i})}return e(r)}}function s(e,t){return c(e).filter(function(e){return e.type===t})}function c(e){var t=[];return l(e,function(e){t.push(e)}),t}function l(e,t){e.children&&e.children.forEach(function(e){l(e,t),t(e)})}})),Ro=t((e=>{e.uriToZipEntryName=t,e.replaceFragment=n;function t(e,t){return t.charAt(0)===`/`?t.substr(1):e+`/`+t}function n(e,t){var n=e.indexOf(`#`);return n!==-1&&(e=e.substring(0,n)),e+`#`+t}})),zo=t((e=>{e.createBodyReader=u,e._readNumberingProperties=f;var t=Io(),r=($(),n(Q)),i=Ya(),a=Xa().Result,o=Xa().warning,s=No(),c=Lo(),l=Ro();function u(e){return{readXmlElement:function(t){return new d(e).readXmlElement(t)},readXmlElements:function(t){return new d(e).readXmlElements(t)}}}function d(e){var n=[],a=[],u=[],d=e.relationships,x=e.contentTypes,S=e.docxFile,C=e.files,w=e.numbering,T=e.styles;function E(e){return b(e.map(D))}function D(e){if(e.type===`element`){var t=oe[e.name];if(t)return t(e);if(!Object.prototype.hasOwnProperty.call(m,e.name))return h([o(`An unrecognised element was ignored: `+e.name)])}return g()}function O(e){return F(e).map(function(t){return{type:`paragraphProperties`,styleId:t.styleId,styleName:t.name,alignment:e.firstOrEmpty(`w:jc`).attributes[`w:val`],numbering:f(t.styleId,e.firstOrEmpty(`w:numPr`),w),indent:k(e.firstOrEmpty(`w:ind`))}})}function k(e){return{start:e.attributes[`w:start`]||e.attributes[`w:left`],end:e.attributes[`w:end`]||e.attributes[`w:right`],firstLine:e.attributes[`w:firstLine`],hanging:e.attributes[`w:hanging`]}}function A(e){return I(e).map(function(t){var n=e.firstOrEmpty(`w:sz`).attributes[`w:val`],r=/^[0-9]+$/.test(n)?parseInt(n,10)/2:null;return{type:`runProperties`,styleId:t.styleId,styleName:t.name,verticalAlignment:e.firstOrEmpty(`w:vertAlign`).attributes[`w:val`],font:e.firstOrEmpty(`w:rFonts`).attributes[`w:ascii`],fontSize:r,isBold:M(e.first(`w:b`)),isUnderline:j(e.first(`w:u`)),isItalic:M(e.first(`w:i`)),isStrikethrough:M(e.first(`w:strike`)),isAllCaps:M(e.first(`w:caps`)),isSmallCaps:M(e.first(`w:smallCaps`)),highlight:P(e.firstOrEmpty(`w:highlight`).attributes[`w:val`])}})}function j(e){if(e){var t=e.attributes[`w:val`];return t!==void 0&&t!==`false`&&t!==`0`&&t!==`none`}return!1}function M(e){if(e){var t=e.attributes[`w:val`];return t!==`false`&&t!==`0`}return!1}function N(e){return e!==`false`&&e!==`0`}function P(e){return!e||e===`none`?null:e}function F(e){return L(e,`w:pStyle`,`Paragraph`,T.findParagraphStyleById)}function I(e){return L(e,`w:rStyle`,`Run`,T.findCharacterStyleById)}function ee(e){return L(e,`w:tblStyle`,`Table`,T.findTableStyleById)}function L(e,t,n,r){var i=[],a=e.first(t),o=null,s=null;if(a&&(o=a.attributes[`w:val`],o)){var c=r(o);c?s=c.name:i.push(ve(n,o))}return v({styleId:o,name:s},i)}function R(e){var t=e.attributes[`w:fldCharType`];if(t===`begin`)n.push({type:`begin`,fldChar:e}),a=[];else if(t===`end`){if(n.length===0)return h([o(`Ignoring complex field end character without corresponding start character`)]);var r=n.pop();if(r.type===`begin`&&(r=ne(r)),r.type===`checkbox`)return _(i.checkbox({checked:r.checked}))}else if(t===`separate`){if(n.length===0)return h([o(`Ignoring complex field separator character without corresponding start character`)]);var s=ne(n.pop());n.push(s)}return g()}function te(){var e=r.last(n.filter(function(e){return e.type===`hyperlink`}));return e?e.options:null}function ne(e){return re(a.join(``),e.type===`begin`?e.fldChar:s.emptyElement)}function re(e,t){var n=/^\s*HYPERLINK\s+(\\l\s+)?(?:"(.*)"|([^\\]\S*))/.exec(e);if(n){var r=n[2]===void 0?n[3]:n[2];return{type:`hyperlink`,options:n[1]===void 0?{href:r}:{anchor:r}}}if(/\s*FORMCHECKBOX\s*/.exec(e)){var i=t.firstOrEmpty(`w:ffData`).firstOrEmpty(`w:checkBox`);return{type:`checkbox`,checked:M(i.first(`w:checked`)??i.first(`w:default`))}}return{type:`unknown`}}function z(e){return a.push(e.text()),g()}function ie(e){var n=e.attributes[`w:font`],r=e.attributes[`w:char`],a=t.hex(n,r);return a==null&&/^F0..$/.test(r)&&(a=t.hex(n,r.substring(2))),a==null?h([o(`A w:sym element with an unsupported character was ignored: char `+r+` in font `+n)]):_(new i.Text(a.string))}function ae(e){return function(t){var n=t.attributes[`w:id`];return _(new i.NoteReference({noteType:e,noteId:n}))}}function B(e){return _(i.commentReference({commentId:e.attributes[`w:id`]}))}function V(e){return E(e.children)}var oe={"w:p":function(e){var t=e.firstOrEmpty(`w:pPr`);if(t.firstOrEmpty(`w:rPr`).first(`w:del`))return e.children.forEach(function(e){u.push(e)}),g();var n=e.children;return u.length>0&&(n=u.concat(n),u=[]),y.map(O(t),E(n),function(e,t){return new i.Paragraph(t,e)}).insertExtra()},"w:r":function(e){return y.map(A(e.firstOrEmpty(`w:rPr`)),E(e.children),function(e,t){var n=te();return n!==null&&(t=[new i.Hyperlink(t,n)]),new i.Run(t,e)})},"w:fldChar":R,"w:instrText":z,"w:t":function(e){return _(new i.Text(e.text()))},"w:tab":function(e){return _(new i.Tab)},"w:noBreakHyphen":function(){return _(new i.Text(`‑`))},"w:softHyphen":function(e){return _(new i.Text(`­`))},"w:sym":ie,"w:hyperlink":function(e){var t=e.attributes[`r:id`],n=e.attributes[`w:anchor`];return E(e.children).map(function(a){function o(t){var n=e.attributes[`w:tgtFrame`]||null;return new i.Hyperlink(a,r.extend({targetFrame:n},t))}if(t){var s=d.findTargetByRelationshipId(t);return n&&(s=l.replaceFragment(s,n)),o({href:s})}return n?o({anchor:n}):a})},"w:tbl":se,"w:tr":le,"w:tc":ue,"w:footnoteReference":ae(`footnote`),"w:endnoteReference":ae(`endnote`),"w:commentReference":B,"w:br":function(e){var t=e.attributes[`w:type`];return t==null||t===`textWrapping`?_(i.lineBreak):t===`page`?_(i.pageBreak):t===`column`?_(i.columnBreak):h([o(`Unsupported break type: `+t)])},"w:bookmarkStart":function(e){var t=e.attributes[`w:name`];return t===`_GoBack`?g():_(new i.BookmarkStart({name:t}))},"mc:AlternateContent":function(e){return V(e.firstOrEmpty(`mc:Fallback`))},"w:sdt":function(e){return E(e.firstOrEmpty(`w:sdtContent`).children).map(function(t){var n=e.firstOrEmpty(`w:sdtPr`).first(`wordml:checkbox`);if(n){var r=n.first(`wordml:checked`),a=!!r&&N(r.attributes[`wordml:val`]),o=i.checkbox({checked:a}),s=!1,l=t.map(c._elementsOfType(i.types.text,function(e){return e.value.length>0&&!s?(s=!0,o):e}));return s?l:o}return t})},"w:customXml":V,"w:ins":V,"w:moveFromRangeEnd":V,"w:moveFromRangeStart":V,"w:moveTo":V,"w:moveToRangeEnd":V,"w:moveToRangeStart":V,"w:object":V,"w:smartTag":V,"w:drawing":V,"w:pict":function(e){return V(e).toExtra()},"v:roundrect":V,"v:shape":V,"v:textbox":V,"w:txbxContent":V,"wp:inline":U,"wp:anchor":U,"v:imagedata":he,"v:group":V,"v:rect":V};return{readXmlElement:D,readXmlElements:E};function se(e){var t=ce(e.firstOrEmpty(`w:tblPr`));return E(e.children).flatMap(fe).flatMap(function(e){return t.map(function(t){return i.Table(e,t)})})}function ce(e){return ee(e).map(function(e){return{styleId:e.styleId,styleName:e.name}})}function le(e){var t=e.firstOrEmpty(`w:trPr`);if(t.first(`w:del`))return g();var n=!!t.first(`w:tblHeader`);return E(e.children).map(function(e){return i.TableRow(e,{isHeader:n})})}function ue(e){return E(e.children).map(function(t){var n=e.firstOrEmpty(`w:tcPr`),r=n.firstOrEmpty(`w:gridSpan`).attributes[`w:val`],a=r?parseInt(r,10):1,o=i.TableCell(t,{colSpan:a});return o._vMerge=de(n),o})}function de(e){var t=e.first(`w:vMerge`);if(t){var n=t.attributes[`w:val`];return n===`continue`||!n}return null}function fe(e){if(r.any(e,function(e){return e.type!==i.types.tableRow}))return H(e),v(e,[o(`unexpected non-row element in table, cell merging may be incorrect`)]);if(r.any(e,function(e){return r.any(e.children,function(e){return e.type!==i.types.tableCell})}))return H(e),v(e,[o(`unexpected non-cell element in table row, cell merging may be incorrect`)]);var t={};return e.forEach(function(e){var n=0;e.children.forEach(function(e){e._vMerge&&t[n]?t[n].rowSpan++:(t[n]=e,e._vMerge=!1),n+=e.colSpan})}),e.forEach(function(e){e.children=e.children.filter(function(e){return!e._vMerge}),e.children.forEach(function(e){delete e._vMerge})}),_(e)}function H(e){e.forEach(function(e){c.getDescendantsOfType(e,i.types.tableCell).forEach(function(e){delete e._vMerge})})}function U(e){return b(e.getElementsByTagName(`a:graphic`).getElementsByTagName(`a:graphicData`).getElementsByTagName(`pic:pic`).getElementsByTagName(`pic:blipFill`).getElementsByTagName(`a:blip`).map(W.bind(null,e)))}function W(e,t){var n=e.firstOrEmpty(`wp:docPr`),r=n.attributes,a=pe(r.descr)?r.title:r.descr,s=me(t);return s===null?h([o(`Could not find image file for a:blip element`)]):_e(s,a).map(function(e){var t=n.firstOrEmpty(`a:hlinkClick`).attributes[`r:id`];if(t){var r=d.findTargetByRelationshipId(t);return new i.Hyperlink([e],{href:r})}return e})}function pe(e){return e==null||/^\s*$/.test(e)}function me(e){var t=e.attributes[`r:embed`],n=e.attributes[`r:link`];if(t)return ge(t);if(n){var r=d.findTargetByRelationshipId(n);return{path:r,read:C.read.bind(C,r)}}return null}function he(e){var t=e.attributes[`r:id`];return t?_e(ge(t),e.attributes[`o:title`]):h([o(`A v:imagedata element without a relationship ID was ignored`)])}function ge(e){var t=l.uriToZipEntryName(`word`,d.findTargetByRelationshipId(e));return{path:t,read:S.read.bind(S,t)}}function _e(e,t){var n=x.findContentType(e.path);return v(i.Image({readImage:e.read,altText:t,contentType:n}),p[n]?[]:o(`Image of type `+n+` is unlikely to display in web browsers`))}function ve(e,t){return o(e+` style with ID `+t+` was referenced but not defined in the document`)}}function f(e,t,n){var r=t.firstOrEmpty(`w:ilvl`).attributes[`w:val`],i=t.firstOrEmpty(`w:numId`).attributes[`w:val`];if(r!==void 0&&i!==void 0)return n.findLevel(i,r);if(e!=null){var a=n.findLevelByParagraphStyleId(e);if(a!=null)return a}return i===void 0?null:n.findLevel(i,`0`)}var p={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},m={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:moveFrom":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function h(e){return new y(null,null,e)}function g(){return new y(null)}function _(e){return new y(e)}function v(e,t){return new y(e,null,t)}function y(e,t,n){this.value=e||[],this.extra=t||[],this._result=new a({element:this.value,extra:t},n),this.messages=this._result.messages}y.prototype.toExtra=function(){return new y(null,x(this.extra,this.value),this.messages)},y.prototype.insertExtra=function(){var e=this.extra;return e&&e.length?new y(x(this.value,e),null,this.messages):this},y.prototype.map=function(e){var t=this._result.map(function(t){return e(t.element)});return new y(t.value,this.extra,t.messages)},y.prototype.flatMap=function(e){var t=this._result.flatMap(function(t){return e(t.element)._result});return new y(t.value.element,x(this.extra,t.value.extra),t.messages)},y.map=function(e,t,n){return new y(n(e.value,t.value),x(e.extra,t.extra),e.messages.concat(t.messages))};function b(e){var t=a.combine(r.pluck(e,`_result`));return new y(r.flatten(r.pluck(t.value,`element`)),r.filter(r.flatten(r.pluck(t.value,`extra`)),S),t.messages)}function x(e,t){return r.flatten([e,t])}function S(e){return e}})),Bo=t((e=>{e.DocumentXmlReader=r;var t=Ya(),n=Xa().Result;function r(e){var r=e.bodyReader;function i(i){var a=i.first(`w:body`);if(a==null)throw Error(`Could not find the body element: are you sure this is a docx file?`);var o=r.readXmlElements(a.children).map(function(n){return new t.Document(n,{notes:e.notes,comments:e.comments})});return new n(o.value,o.messages)}return{convertXmlToDocument:i}}})),Vo=t((e=>{e.readRelationships=t,e.defaultValue=new n([]),e.Relationships=n;function t(e){var t=[];return e.children.forEach(function(e){if(e.name===`relationships:Relationship`){var n={relationshipId:e.attributes.Id,target:e.attributes.Target,type:e.attributes.Type};t.push(n)}}),new n(t)}function n(e){var t=Object.create(null);e.forEach(function(e){t[e.relationshipId]=e.target});var n=Object.create(null);return e.forEach(function(e){n[e.type]||(n[e.type]=[]),n[e.type].push(e.target)}),{findTargetByRelationshipId:function(e){return t[e]},findTargetsByType:function(e){return n[e]||[]}}}})),Ho=t((e=>{e.readContentTypesFromXml=n;var t={png:`png`,gif:`gif`,jpeg:`jpeg`,jpg:`jpeg`,tif:`tiff`,tiff:`tiff`,bmp:`bmp`};e.defaultContentTypes=r({},{});function n(e){var t=Object.create(null),n=Object.create(null);return e.children.forEach(function(e){if(e.name===`content-types:Default`&&(t[e.attributes.Extension]=e.attributes.ContentType),e.name===`content-types:Override`){var r=e.attributes.PartName;r.charAt(0)===`/`&&(r=r.substring(1)),n[r]=e.attributes.ContentType}}),r(n,t)}function r(e,n){return{findContentType:function(r){var i=e[r];if(i)return i;var a=r.split(`.`),o=a[a.length-1];if(Object.prototype.hasOwnProperty.call(n,o))return n[o];var s=t[o.toLowerCase()];return s?`image/`+s:null}}}})),Uo=t((e=>{var t=($(),n(Q));e.readNumberingXml=i,e.Numbering=r,e.defaultNumbering=new r({},{});function r(e,n,r){var i=t.flatten(t.values(n).map(function(e){return t.values(e.levels)})),a=t.indexBy(i.filter(function(e){return e.paragraphStyleId!=null}),`paragraphStyleId`);function o(e,t){return s(e,t,Object.create(null))}function s(t,i,a){if(a[t])return null;a[t]=!0;var o=e[t];if(!o)return null;var c=n[o.abstractNumId];return c?c.numStyleLink==null?n[o.abstractNumId].levels[i]:s(r.findNumberingStyleById(c.numStyleLink).numId,i,a):null}function c(e){return a[e]||null}return{findLevel:o,findLevelByParagraphStyleId:c}}function i(e,t){if(!t||!t.styles)throw Error(`styles is missing`);var n=a(e);return new r(s(e,n),n,t.styles)}function a(e){var t=Object.create(null);return e.getElementsByTagName(`w:abstractNum`).forEach(function(e){var n=e.attributes[`w:abstractNumId`];t[n]=o(e)}),t}function o(e){var t=Object.create(null),n=null;return e.getElementsByTagName(`w:lvl`).forEach(function(e){var r=e.attributes[`w:ilvl`],i=e.firstOrEmpty(`w:numFmt`).attributes[`w:val`]!==`bullet`,a=e.firstOrEmpty(`w:pStyle`).attributes[`w:val`];r===void 0?n={isOrdered:i,level:`0`,paragraphStyleId:a}:t[r]={isOrdered:i,level:r,paragraphStyleId:a}}),n!==null&&t[n.level]===void 0&&(t[n.level]=n),{levels:t,numStyleLink:e.firstOrEmpty(`w:numStyleLink`).attributes[`w:val`]}}function s(e){var t=Object.create(null);return e.getElementsByTagName(`w:num`).forEach(function(e){var n=e.attributes[`w:numId`];t[n]={abstractNumId:e.first(`w:abstractNumId`).attributes[`w:val`]}}),t}})),Wo=t((e=>{e.readStylesXml=n,e.Styles=t,e.defaultStyles=new t({},{});function t(e,t,n,r){return{findParagraphStyleById:function(t){return e[t]},findCharacterStyleById:function(e){return t[e]},findTableStyleById:function(e){return n[e]},findNumberingStyleById:function(e){return r[e]}}}t.EMPTY=new t({},{},{},{});function n(e){var n=Object.create(null),i=Object.create(null),a=Object.create(null),o=Object.create(null);return e.getElementsByTagName(`w:style`).forEach(function(e){var t=r(e),s;switch(t.type){case`paragraph`:s=n;break;case`character`:s=i;break;case`table`:s=a;break;case`numbering`:s=o}s&&s[t.styleId]===void 0&&(s[t.styleId]=t)}),new t(n,i,a,o)}function r(e){var t=e.attributes[`w:type`];return t===`numbering`?a(t,e):{type:t,styleId:o(e),name:i(e)}}function i(e){var t=e.first(`w:name`);return t?t.attributes[`w:val`]:null}function a(e,t){var n=o(t);return{type:e,numId:t.firstOrEmpty(`w:pPr`).firstOrEmpty(`w:numPr`).firstOrEmpty(`w:numId`).attributes[`w:val`],styleId:n}}function o(e){return e.attributes[`w:styleId`]}})),Go=t(((e,t,n)=>{var r=Ya(),i=Xa().Result;e.createFootnotesReader=a.bind(n,`footnote`),e.createEndnotesReader=a.bind(n,`endnote`);function a(e,t){function n(t){return i.combine(t.getElementsByTagName(`w:`+e).filter(a).map(o))}function a(e){var t=e.attributes[`w:type`];return t!==`continuationSeparator`&&t!==`separator`}function o(n){var i=n.attributes[`w:id`];return t.readXmlElements(n.children).map(function(t){return r.Note({noteType:e,noteId:i,body:t})})}return n}})),Ko=t((e=>{var t=Ya(),n=Xa().Result;function r(e){function r(e){return n.combine(e.getElementsByTagName(`w:comment`).map(i))}function i(n){var r=n.attributes[`w:id`];function i(e){return(n.attributes[e]||``).trim()||null}return e.readXmlElements(n.children).map(function(e){return t.comment({commentId:r,body:e,authorName:i(`w:author`),authorInitials:i(`w:initials`)})})}return r}e.createCommentsReader=r})),qo=t((e=>{var t=Ja();e.Files=n;function n(){function e(e){return t.reject(Error(`could not open external image: '`+e+`'
21
+ cannot open linked files from a web browser`))}return{read:e}}})),Jo=t((e=>{e.read=h,e._findPartPaths=g;var t=Ja(),n=Ya(),r=Xa().Result,i=Qa(),a=Po().readXmlFromZipFile,o=zo().createBodyReader,s=Bo().DocumentXmlReader,c=Vo(),l=Ho(),u=Uo(),d=Wo(),f=Go(),p=Ko(),m=qo().Files;function h(e,i,a){i||={},a||={};var o=new m({externalFileAccess:a.externalFileAccess,relativeToFile:i.path});return t.props({contentTypes:S(e),partPaths:g(e),docxFile:e,files:o}).also(function(t){return{styles:w(e,t.partPaths.styles)}}).also(function(t){return{numbering:C(e,t.partPaths.numbering,t.styles)}}).also(function(e){return{footnotes:b(e.partPaths.footnotes,e,function(e,t){return t?f.createFootnotesReader(e)(t):new r([])}),endnotes:b(e.partPaths.endnotes,e,function(e,t){return t?f.createEndnotesReader(e)(t):new r([])}),comments:b(e.partPaths.comments,e,function(e,t){return t?p.createCommentsReader(e)(t):new r([])})}}).also(function(e){return{notes:e.footnotes.flatMap(function(t){return e.endnotes.map(function(e){return new n.Notes(t.concat(e))})})}}).then(function(e){return b(e.partPaths.mainDocument,e,function(t,n){return e.notes.flatMap(function(r){return e.comments.flatMap(function(e){return new s({bodyReader:t,notes:r,comments:e}).convertXmlToDocument(n)})})})})}function g(e){return T(e).then(function(t){var n=_({docxFile:e,relationships:t,relationshipType:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,basePath:``,fallbackPath:`word/document.xml`});if(!e.exists(n))throw Error(`Could not find main document part. Are you sure this is a valid .docx file?`);return y({filename:x(n),readElement:c.readRelationships,defaultValue:c.defaultValue})(e).then(function(t){function r(r){return _({docxFile:e,relationships:t,relationshipType:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/`+r,basePath:i.splitPath(n).dirname,fallbackPath:`word/`+r+`.xml`})}return{mainDocument:n,comments:r(`comments`),endnotes:r(`endnotes`),footnotes:r(`footnotes`),numbering:r(`numbering`),styles:r(`styles`)}})})}function _(e){var t=e.docxFile,n=e.relationships,r=e.relationshipType,a=e.basePath,o=e.fallbackPath,s=n.findTargetsByType(r).map(function(e){return v(i.joinPath(a,e),`/`)}).filter(function(e){return t.exists(e)});return s.length===0?o:s[0]}function v(e,t){return e.substring(0,t.length)===t?e.substring(t.length):e}function y(e){return function(t){return a(t,e.filename).then(function(t){return t?e.readElement(t):e.defaultValue})}}function b(e,t,n){return y({filename:x(e),readElement:c.readRelationships,defaultValue:c.defaultValue})(t.docxFile).then(function(r){var i=new o({relationships:r,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.numbering,styles:t.styles,files:t.files});return a(t.docxFile,e).then(function(e){return n(i,e)})})}function x(e){var t=i.splitPath(e);return i.joinPath(t.dirname,`_rels`,t.basename+`.rels`)}var S=y({filename:`[Content_Types].xml`,readElement:l.readContentTypesFromXml,defaultValue:l.defaultContentTypes});function C(e,t,n){return y({filename:t,readElement:function(e){return u.readNumberingXml(e,{styles:n})},defaultValue:u.defaultNumbering})(e)}function w(e,t){return y({filename:t,readElement:d.readStylesXml,defaultValue:d.defaultStyles})(e)}var T=y({filename:`_rels/.rels`,readElement:c.readRelationships,defaultValue:c.defaultValue})})),Yo=t((e=>{var t=($(),n(Q)),r=Ja(),i=No();e.writeStyleMap=c,e.readStyleMap=f;var a=`http://schemas.zwobble.org/mammoth/style-map`,o=`mammoth/style-map`,s=`/`+o;function c(e,t){return e.write(o,t),l(e).then(function(){return u(e)})}function l(e){var t=`word/_rels/document.xml.rels`,n=`http://schemas.openxmlformats.org/package/2006/relationships`,r=`{`+n+`}Relationship`;return e.read(t,`utf8`).then(i.readString).then(function(o){var c=o.children;d(c,r,`Id`,{Id:`rMammothStyleMap`,Type:a,Target:s});var l={"":n};return e.write(t,i.writeString(o,l))})}function u(e){var t=`[Content_Types].xml`,n=`http://schemas.openxmlformats.org/package/2006/content-types`,r=`{`+n+`}Override`;return e.read(t,`utf8`).then(i.readString).then(function(a){var o=a.children;d(o,r,`PartName`,{PartName:s,ContentType:`text/prs.mammoth.style-map`});var c={"":n};return e.write(t,i.writeString(a,c))})}function d(e,n,r,a){var o=t.find(e,function(e){return e.name===n&&e.attributes[r]===a[r]});o?o.attributes=a:e.push(i.element(n,a))}function f(e){return e.exists(o)?e.read(o,`utf8`):r.resolve(null)}})),Xo=t((e=>{var t=$o();function n(e,n,r){return i(t.element(e,n,{fresh:!1}),r)}function r(e,n,r){return i(t.element(e,n,{fresh:!0}),r)}function i(e,t){return{type:`element`,tag:e,children:t||[]}}function a(e){return{type:`text`,value:e}}e.freshElement=r,e.nonFreshElement=n,e.elementWithTag=i,e.text=a,e.forceWrite={type:`forceWrite`};var o={br:!0,hr:!0,img:!0,input:!0};function s(e){return e.children.length===0&&o[e.tag.tagName]}e.isVoidElement=s})),Zo=t(((e,t)=>{var r=($(),n(Q)),i=Xo();function a(e){return o(f(e))}function o(e){var t=[];return e.map(s).forEach(function(e){d(t,e)}),t}function s(e){return c[e.type](e)}var c={element:l,text:u,forceWrite:u};function l(e){return i.elementWithTag(e.tag,o(e.children))}function u(e){return e}function d(e,t){var n=e[e.length-1];t.type===`element`&&!t.tag.fresh&&n&&n.type===`element`&&t.tag.matchesElement(n.tag)?(t.tag.separator&&d(n.children,i.text(t.tag.separator)),t.children.forEach(function(e){d(n.children,e)})):e.push(t)}function f(e){return p(e,function(e){return m[e.type](e)})}function p(e,t){return r.flatten(r.map(e,t),!0)}var m={element:g,text:_,forceWrite:h};function h(e){return[e]}function g(e){var t=f(e.children);return t.length===0&&!i.isVoidElement(e)?[]:[i.elementWithTag(e.tag,t)]}function _(e){return e.value.length===0?[]:[e]}t.exports=a})),Qo=t((e=>{var t=Xo();e.freshElement=t.freshElement,e.nonFreshElement=t.nonFreshElement,e.elementWithTag=t.elementWithTag,e.text=t.text,e.forceWrite=t.forceWrite,e.simplify=Zo();function n(e,t){t.forEach(function(t){r(e,t)})}function r(e,t){i[t.type](e,t)}var i={element:a,text:o,forceWrite:function(){}};function a(e,r){t.isVoidElement(r)?e.selfClosing(r.tag.tagName,r.tag.attributes):(e.open(r.tag.tagName,r.tag.attributes),n(e,r.children),e.close(r.tag.tagName))}function o(e,t){e.text(t.value)}e.write=n})),$o=t((e=>{var t=($(),n(Q)),r=Qo();e.topLevelElement=i,e.elements=a,e.element=s;function i(e,t){return a([s(e,t,{fresh:!0})])}function a(e){return new o(e.map(function(e){return t.isString(e)?s(e):e}))}function o(e){this._elements=e}o.prototype.wrap=function(e){for(var t=e(),n=this._elements.length-1;n>=0;n--)t=this._elements[n].wrapNodes(t);return t};function s(e,t,n){return n||={},new c(e,t,n)}function c(e,n,r){var i=Object.create(null);t.isArray(e)?(e.forEach(function(e){i[e]=!0}),e=e[0]):i[e]=!0,this.tagName=e,this.tagNames=i,this.attributes=n||{},this.fresh=r.fresh,this.separator=r.separator}c.prototype.matchesElement=function(e){return this.tagNames[e.tagName]&&t.isEqual(this.attributes||{},e.attributes||{})},c.prototype.wrap=function(e){return this.wrapNodes(e())},c.prototype.wrapNodes=function(e){return[r.elementWithTag(this,e)]},e.empty=a([]),e.ignore={wrap:function(){return[]}}})),es=t((e=>{var t=($(),n(Q)),r=Ja(),i=Qo();e.imgElement=a;function a(e){return function(n,a){return r.resolve(e(n)).then(function(e){var r={};return n.altText&&(r.alt=n.altText),t.extend(r,e),[i.freshElement(`img`,r)]})}}e.inline=e.imgElement,e.dataUri=a(function(e){return e.readAsBase64String().then(function(t){return{src:`data:`+e.contentType+`;base64,`+t}})});function o(e){return e.contentType.split(/\/|\\/)[1]}e.imageFilenameExtension=o})),ts=t((e=>{var t=($(),n(Q));e.writer=r;function r(e){return e||={},e.prettyPrint?a():o()}var i={div:!0,p:!0,ul:!0,li:!0};function a(){var e=0,n=[],r=!0,a=!1,s=o();function c(t,a){i[t]&&m(),n.push(t),s.open(t,a),i[t]&&e++,r=!1}function l(t){i[t]&&(e--,m()),n.pop(),s.close(t)}function u(e){p();var t=h()?e:e.replace(`
22
22
  `,`
23
23
  `);s.text(t)}function d(e,t){m(),s.selfClosing(e,t)}function f(){return n.length===0||i[n[n.length-1]]}function p(){a||=(m(),!0)}function m(){if(a=!1,!r&&f()&&!h()){s._append(`
24
- `);for(var t=0;t<e;t++)s._append(` `)}}function h(){return t.some(n,function(e){return e===`pre`})}return{asString:s.asString,open:c,close:l,text:u,selfClosing:d}}function o(){var e=[];function n(t,n){var r=a(n);e.push(`<`+t+r+`>`)}function r(t){e.push(`</`+t+`>`)}function i(t,n){var r=a(n);e.push(`<`+t+r+` />`)}function a(e){return t.map(e,function(e,t){return` `+t+`="`+c(e)+`"`}).join(``)}function o(t){e.push(s(t))}function l(t){e.push(t)}function u(){return e.join(``)}return{asString:u,open:n,close:r,text:o,selfClosing:i,_append:l}}function s(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function c(e){return e.replace(/&/g,`&amp;`).replace(/"/g,`&quot;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}})),ns=n((e=>{var t=($(),r(Q)),n=ts();function i(e){return a(e,e)}function a(e,t){return function(){return{start:e,end:t}}}function o(e){var t=e.href||``;return t?{start:`[`,end:`](`+p(t)+`)`,anchorPosition:`before`}:{}}function s(e){var t=e.src||``,n=e.alt||``;return t||n?{start:`![`+p(n)+`](`+p(t)+`)`}:{}}function c(e){return function(t,n){return{start:n?`
24
+ `);for(var t=0;t<e;t++)s._append(` `)}}function h(){return t.some(n,function(e){return e===`pre`})}return{asString:s.asString,open:c,close:l,text:u,selfClosing:d}}function o(){var e=[];function n(t,n){var r=a(n);e.push(`<`+t+r+`>`)}function r(t){e.push(`</`+t+`>`)}function i(t,n){var r=a(n);e.push(`<`+t+r+` />`)}function a(e){return t.map(e,function(e,t){return` `+t+`="`+c(e)+`"`}).join(``)}function o(t){e.push(s(t))}function l(t){e.push(t)}function u(){return e.join(``)}return{asString:u,open:n,close:r,text:o,selfClosing:i,_append:l}}function s(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function c(e){return e.replace(/&/g,`&amp;`).replace(/"/g,`&quot;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}})),ns=t((e=>{var t=($(),n(Q)),r=ts();function i(e){return a(e,e)}function a(e,t){return function(){return{start:e,end:t}}}function o(e){var t=e.href||``;return t?{start:`[`,end:`](`+p(t)+`)`,anchorPosition:`before`}:{}}function s(e){var t=e.src||``,n=e.alt||``;return t||n?{start:`![`+p(n)+`](`+p(t)+`)`}:{}}function c(e){return function(t,n){return{start:n?`
25
25
  `:``,end:n?``:`
26
26
  `,list:{isOrdered:e.isOrdered,indent:n?n.indent+1:0,count:0}}}}function l(e,t,n){t||={indent:0,isOrdered:!1,count:0},t.count++,n.hasClosed=!1;var r=t.isOrdered?t.count+`.`:`-`;return{start:d(` `,t.indent)+r+` `,end:function(){if(!n.hasClosed)return n.hasClosed=!0,`
27
27
  `}}}var u={p:a(``,`
@@ -29,15 +29,15 @@ cannot open linked files from a web browser`))}return{read:e}}})),Jo=n((e=>{e.re
29
29
  `),br:a(``,`
30
30
  `),ul:c({isOrdered:!1}),ol:c({isOrdered:!0}),li:l,strong:i(`__`),em:i(`*`),a:o,img:s};(function(){for(var e=1;e<=6;e++)u[`h`+e]=a(d(`#`,e)+` `,`
31
31
 
32
- `)})();function d(e,t){return Array(t+1).join(e)}function f(){var e=[],r=[],i=null,a={};function o(t,n){n||={};var o=(u[t]||function(){return{}})(n,i,a);r.push({end:o.end,list:i}),o.list&&(i=o.list);var c=o.anchorPosition===`before`;c&&s(n),e.push(o.start||``),c||s(n)}function s(t){if(t.id){var r=n.writer();r.open(`a`,{id:t.id}),r.close(`a`),e.push(r.asString())}}function c(n){var a=r.pop();i=a.list;var o=t.isFunction(a.end)?a.end():a.end;e.push(o||``)}function l(e,t){o(e,t),c(e)}function d(t){e.push(p(t))}function f(){return e.join(``)}return{asString:f,open:o,close:c,text:d,selfClosing:l}}e.writer=f;function p(e){return e.replace(/\\/g,`\\\\`).replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,`\\$1`)}})),rs=n((e=>{var t=ts(),n=ns();e.writer=r;function r(e){return e||={},e.outputFormat===`markdown`?n.writer():t.writer(e)}})),is=n((e=>{var t=($(),r(Q)),n=Ja(),i=Ya(),a=$o(),o=Xa(),s=es(),c=Qo(),l=rs();e.DocumentConverter=u;function u(e){return{convertToHtml:function(n){return new d(e,t.indexBy(n.type===i.types.document?n.comments:[],`commentId`)).convertToHtml(n)}}}function d(e,r){var u=1,d=[],f=[];e=t.extend({ignoreEmptyParagraphs:!0},e);var v=e.idPrefix===void 0?``:e.idPrefix,y=e.ignoreEmptyParagraphs,b=a.topLevelElement(`p`),x=e.styleMap||[];function S(r){var i=[],a=w(r,i,Object.create(null)),s=[];g(a,function(e){e.type===`deferred`&&s.push(e)});var u=Object.create(null);return n.forEachSeries(s,function(e){return e.value().then(function(t){u[e.id]=t})}).then(function(){function n(e){return h(e,function(e){return e.type===`deferred`?u[e.id]:e.children?[t.extend({},e,{children:n(e.children)})]:[e]})}var r=l.writer({prettyPrint:e.prettyPrint,outputFormat:e.outputFormat});return c.write(r,c.simplify(n(a))),new o.Result(r.asString(),i)})}function C(e,t,n){return h(e,function(e){return w(e,t,n)})}function w(e,t,n){if(!n)throw Error(`context not set`);var r=B[e.type];return r?r(e,t,n):[]}function T(e,t,n){return E(e,t).wrap(function(){var r=C(e.children,t,n);return y?r:[c.forceWrite].concat(r)})}function E(e,t){var n=A(e);return n?n.to:(e.styleId&&t.push(m(`paragraph`,e)),b)}function D(e,t,n){var r=function(){return C(e.children,t,n)},o=[];if(e.highlight!==null){var s=k({type:`highlight`,color:e.highlight});s&&o.push(s)}e.isSmallCaps&&o.push(O(`smallCaps`)),e.isAllCaps&&o.push(O(`allCaps`)),e.isStrikethrough&&o.push(O(`strikethrough`,`s`)),e.isUnderline&&o.push(O(`underline`)),e.verticalAlignment===i.verticalAlignment.subscript&&o.push(a.element(`sub`,{},{fresh:!1})),e.verticalAlignment===i.verticalAlignment.superscript&&o.push(a.element(`sup`,{},{fresh:!1})),e.isItalic&&o.push(O(`italic`,`em`)),e.isBold&&o.push(O(`bold`,`strong`));var c=a.empty,l=A(e);return l?c=l.to:e.styleId&&t.push(m(`run`,e)),o.push(c),o.forEach(function(e){r=e.wrap.bind(e,r)}),r()}function O(e,t){return k({type:e})||(t?a.element(t,{},{fresh:!1}):a.empty)}function k(e,t){var n=A(e);return n?n.to:t}function A(e){for(var t=0;t<x.length;t++)if(x[t].from.matches(e))return x[t]}function j(e){return function(t,r){return n.try(function(){return e(t,r)}).catch(function(e){return r.push(o.error(e)),[]})}}function M(e){return P(e.noteType,e.noteId)}function N(e){return F(e.noteType,e.noteId)}function P(e,t){return I(e+`-`+t)}function F(e,t){return I(e+`-ref-`+t)}function I(e){return v+e}var ee=a.elements([a.element(`table`,{},{fresh:!0})]);function L(e,t,n){return k(e,ee).wrap(function(){return R(e,t,n)})}function R(e,n,r){var a=t.findIndex(e.children,function(e){return!e.type===i.types.tableRow||!e.isHeader});a===-1&&(a=e.children.length);var o;if(a===0)o=C(e.children,n,t.extend({},r,{isTableHeader:!1}));else{var s=C(e.children.slice(0,a),n,t.extend({},r,{isTableHeader:!0})),l=C(e.children.slice(a),n,t.extend({},r,{isTableHeader:!1}));o=[c.freshElement(`thead`,{},s),c.freshElement(`tbody`,{},l)]}return[c.forceWrite].concat(o)}function te(e,t,n){var r=C(e.children,t,n);return[c.freshElement(`tr`,{},[c.forceWrite].concat(r))]}function ne(e,t,n){var r=n.isTableHeader?`th`:`td`,i=C(e.children,t,n),a={};return e.colSpan!==1&&(a.colspan=e.colSpan.toString()),e.rowSpan!==1&&(a.rowspan=e.rowSpan.toString()),[c.freshElement(r,a,[c.forceWrite].concat(i))]}function re(e,t,n){return k(e,a.ignore).wrap(function(){var t=r[e.commentId],n=f.length+1,i=`[`+_(t)+n+`]`;return f.push({label:i,comment:t}),[c.freshElement(`a`,{href:`#`+P(`comment`,e.commentId),id:F(`comment`,e.commentId)},[c.text(i)])]})}function z(e,t,n){var r=e.label,i=e.comment,a=C(i.body,t,n).concat([c.nonFreshElement(`p`,{},[c.text(` `),c.freshElement(`a`,{href:`#`+F(`comment`,i.commentId)},[c.text(`↑`)])])]);return[c.freshElement(`dt`,{id:P(`comment`,i.commentId)},[c.text(`Comment `+r)]),c.freshElement(`dd`,{},a)]}function ie(e,t,n){return ae(e).wrap(function(){return[]})}function ae(e){var t=A(e);return t?t.to:e.breakType===`line`?a.topLevelElement(`br`):a.empty}var B={document:function(e,t,n){var r=C(e.children,t,n),i=C(d.map(function(t){return e.notes.resolve(t)}),t,n);return r.concat([c.freshElement(`ol`,{},i),c.freshElement(`dl`,{},h(f,function(e){return z(e,t,n)}))])},paragraph:T,run:D,text:function(e,t,n){return[c.text(e.value)]},tab:function(e,t,n){return[c.text(` `)]},hyperlink:function(e,t,n){var r={href:e.anchor?`#`+I(e.anchor):e.href};e.targetFrame!=null&&(r.target=e.targetFrame);var i=C(e.children,t,n);return[c.nonFreshElement(`a`,r,i)]},checkbox:function(e){var t={type:`checkbox`};return e.checked&&(t.checked=`checked`),[c.freshElement(`input`,t)]},bookmarkStart:function(e,t,n){return[c.freshElement(`a`,{id:I(e.name)},[c.forceWrite])]},noteReference:function(e,t,n){d.push(e);var r=c.freshElement(`a`,{href:`#`+M(e),id:N(e)},[c.text(`[`+u+++`]`)]);return[c.freshElement(`sup`,{},[r])]},note:function(e,t,n){var r=C(e.body,t,n),i=c.elementWithTag(a.element(`p`,{},{fresh:!1}),[c.text(` `),c.freshElement(`a`,{href:`#`+N(e)},[c.text(`↑`)])]),o=r.concat([i]);return c.freshElement(`li`,{id:M(e)},o)},commentReference:re,comment:z,image:p(j(e.convertImage||s.dataUri)),table:L,tableRow:te,tableCell:ne,break:ie};return{convertToHtml:S}}var f=1;function p(e){return function(t,n,r){return[{type:`deferred`,id:f++,value:function(){return e(t,n,r)}}]}}function m(e,t){return o.warning(`Unrecognised `+e+` style: '`+t.styleName+`' (Style ID: `+t.styleId+`)`)}function h(e,n){return t.flatten(e.map(n),!0)}function g(e,t){e.forEach(function(e){t(e),e.children&&g(e.children,t)})}var _=e.commentAuthorLabel=function(e){return e.authorInitials||``}})),as=n((e=>{var t=Ya();function n(e){if(e.type===`text`)return e.value;if(e.type===t.types.tab)return` `;var r=e.type===`paragraph`?`
32
+ `)})();function d(e,t){return Array(t+1).join(e)}function f(){var e=[],n=[],i=null,a={};function o(t,r){r||={};var o=(u[t]||function(){return{}})(r,i,a);n.push({end:o.end,list:i}),o.list&&(i=o.list);var c=o.anchorPosition===`before`;c&&s(r),e.push(o.start||``),c||s(r)}function s(t){if(t.id){var n=r.writer();n.open(`a`,{id:t.id}),n.close(`a`),e.push(n.asString())}}function c(r){var a=n.pop();i=a.list;var o=t.isFunction(a.end)?a.end():a.end;e.push(o||``)}function l(e,t){o(e,t),c(e)}function d(t){e.push(p(t))}function f(){return e.join(``)}return{asString:f,open:o,close:c,text:d,selfClosing:l}}e.writer=f;function p(e){return e.replace(/\\/g,`\\\\`).replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,`\\$1`)}})),rs=t((e=>{var t=ts(),n=ns();e.writer=r;function r(e){return e||={},e.outputFormat===`markdown`?n.writer():t.writer(e)}})),is=t((e=>{var t=($(),n(Q)),r=Ja(),i=Ya(),a=$o(),o=Xa(),s=es(),c=Qo(),l=rs();e.DocumentConverter=u;function u(e){return{convertToHtml:function(n){return new d(e,t.indexBy(n.type===i.types.document?n.comments:[],`commentId`)).convertToHtml(n)}}}function d(e,n){var u=1,d=[],f=[];e=t.extend({ignoreEmptyParagraphs:!0},e);var v=e.idPrefix===void 0?``:e.idPrefix,y=e.ignoreEmptyParagraphs,b=a.topLevelElement(`p`),x=e.styleMap||[];function S(n){var i=[],a=w(n,i,Object.create(null)),s=[];g(a,function(e){e.type===`deferred`&&s.push(e)});var u=Object.create(null);return r.forEachSeries(s,function(e){return e.value().then(function(t){u[e.id]=t})}).then(function(){function n(e){return h(e,function(e){return e.type===`deferred`?u[e.id]:e.children?[t.extend({},e,{children:n(e.children)})]:[e]})}var r=l.writer({prettyPrint:e.prettyPrint,outputFormat:e.outputFormat});return c.write(r,c.simplify(n(a))),new o.Result(r.asString(),i)})}function C(e,t,n){return h(e,function(e){return w(e,t,n)})}function w(e,t,n){if(!n)throw Error(`context not set`);var r=B[e.type];return r?r(e,t,n):[]}function T(e,t,n){return E(e,t).wrap(function(){var r=C(e.children,t,n);return y?r:[c.forceWrite].concat(r)})}function E(e,t){var n=A(e);return n?n.to:(e.styleId&&t.push(m(`paragraph`,e)),b)}function D(e,t,n){var r=function(){return C(e.children,t,n)},o=[];if(e.highlight!==null){var s=k({type:`highlight`,color:e.highlight});s&&o.push(s)}e.isSmallCaps&&o.push(O(`smallCaps`)),e.isAllCaps&&o.push(O(`allCaps`)),e.isStrikethrough&&o.push(O(`strikethrough`,`s`)),e.isUnderline&&o.push(O(`underline`)),e.verticalAlignment===i.verticalAlignment.subscript&&o.push(a.element(`sub`,{},{fresh:!1})),e.verticalAlignment===i.verticalAlignment.superscript&&o.push(a.element(`sup`,{},{fresh:!1})),e.isItalic&&o.push(O(`italic`,`em`)),e.isBold&&o.push(O(`bold`,`strong`));var c=a.empty,l=A(e);return l?c=l.to:e.styleId&&t.push(m(`run`,e)),o.push(c),o.forEach(function(e){r=e.wrap.bind(e,r)}),r()}function O(e,t){return k({type:e})||(t?a.element(t,{},{fresh:!1}):a.empty)}function k(e,t){var n=A(e);return n?n.to:t}function A(e){for(var t=0;t<x.length;t++)if(x[t].from.matches(e))return x[t]}function j(e){return function(t,n){return r.try(function(){return e(t,n)}).catch(function(e){return n.push(o.error(e)),[]})}}function M(e){return P(e.noteType,e.noteId)}function N(e){return F(e.noteType,e.noteId)}function P(e,t){return I(e+`-`+t)}function F(e,t){return I(e+`-ref-`+t)}function I(e){return v+e}var ee=a.elements([a.element(`table`,{},{fresh:!0})]);function L(e,t,n){return k(e,ee).wrap(function(){return R(e,t,n)})}function R(e,n,r){var a=t.findIndex(e.children,function(e){return!e.type===i.types.tableRow||!e.isHeader});a===-1&&(a=e.children.length);var o;if(a===0)o=C(e.children,n,t.extend({},r,{isTableHeader:!1}));else{var s=C(e.children.slice(0,a),n,t.extend({},r,{isTableHeader:!0})),l=C(e.children.slice(a),n,t.extend({},r,{isTableHeader:!1}));o=[c.freshElement(`thead`,{},s),c.freshElement(`tbody`,{},l)]}return[c.forceWrite].concat(o)}function te(e,t,n){var r=C(e.children,t,n);return[c.freshElement(`tr`,{},[c.forceWrite].concat(r))]}function ne(e,t,n){var r=n.isTableHeader?`th`:`td`,i=C(e.children,t,n),a={};return e.colSpan!==1&&(a.colspan=e.colSpan.toString()),e.rowSpan!==1&&(a.rowspan=e.rowSpan.toString()),[c.freshElement(r,a,[c.forceWrite].concat(i))]}function re(e,t,r){return k(e,a.ignore).wrap(function(){var t=n[e.commentId],r=f.length+1,i=`[`+_(t)+r+`]`;return f.push({label:i,comment:t}),[c.freshElement(`a`,{href:`#`+P(`comment`,e.commentId),id:F(`comment`,e.commentId)},[c.text(i)])]})}function z(e,t,n){var r=e.label,i=e.comment,a=C(i.body,t,n).concat([c.nonFreshElement(`p`,{},[c.text(` `),c.freshElement(`a`,{href:`#`+F(`comment`,i.commentId)},[c.text(`↑`)])])]);return[c.freshElement(`dt`,{id:P(`comment`,i.commentId)},[c.text(`Comment `+r)]),c.freshElement(`dd`,{},a)]}function ie(e,t,n){return ae(e).wrap(function(){return[]})}function ae(e){var t=A(e);return t?t.to:e.breakType===`line`?a.topLevelElement(`br`):a.empty}var B={document:function(e,t,n){var r=C(e.children,t,n),i=C(d.map(function(t){return e.notes.resolve(t)}),t,n);return r.concat([c.freshElement(`ol`,{},i),c.freshElement(`dl`,{},h(f,function(e){return z(e,t,n)}))])},paragraph:T,run:D,text:function(e,t,n){return[c.text(e.value)]},tab:function(e,t,n){return[c.text(` `)]},hyperlink:function(e,t,n){var r={href:e.anchor?`#`+I(e.anchor):e.href};e.targetFrame!=null&&(r.target=e.targetFrame);var i=C(e.children,t,n);return[c.nonFreshElement(`a`,r,i)]},checkbox:function(e){var t={type:`checkbox`};return e.checked&&(t.checked=`checked`),[c.freshElement(`input`,t)]},bookmarkStart:function(e,t,n){return[c.freshElement(`a`,{id:I(e.name)},[c.forceWrite])]},noteReference:function(e,t,n){d.push(e);var r=c.freshElement(`a`,{href:`#`+M(e),id:N(e)},[c.text(`[`+u+++`]`)]);return[c.freshElement(`sup`,{},[r])]},note:function(e,t,n){var r=C(e.body,t,n),i=c.elementWithTag(a.element(`p`,{},{fresh:!1}),[c.text(` `),c.freshElement(`a`,{href:`#`+N(e)},[c.text(`↑`)])]),o=r.concat([i]);return c.freshElement(`li`,{id:M(e)},o)},commentReference:re,comment:z,image:p(j(e.convertImage||s.dataUri)),table:L,tableRow:te,tableCell:ne,break:ie};return{convertToHtml:S}}var f=1;function p(e){return function(t,n,r){return[{type:`deferred`,id:f++,value:function(){return e(t,n,r)}}]}}function m(e,t){return o.warning(`Unrecognised `+e+` style: '`+t.styleName+`' (Style ID: `+t.styleId+`)`)}function h(e,n){return t.flatten(e.map(n),!0)}function g(e,t){e.forEach(function(e){t(e),e.children&&g(e.children,t)})}var _=e.commentAuthorLabel=function(e){return e.authorInitials||``}})),as=t((e=>{var t=Ya();function n(e){if(e.type===`text`)return e.value;if(e.type===t.types.tab)return` `;var r=e.type===`paragraph`?`
33
33
 
34
- `:``;return(e.children||[]).map(n).join(``)+r}e.convertElementToRawText=n})),os=n(((e,t)=>{var n=t.exports=function(e,t){this._tokens=e,this._startIndex=t||0};n.prototype.head=function(){return this._tokens[this._startIndex]},n.prototype.tail=function(e){return new n(this._tokens,this._startIndex+1)},n.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},n.prototype.end=function(){return this._tokens[this._tokens.length-1]},n.prototype.to=function(e){var t=this.head().source,n=e.head()||e.end();return t.to(n.source)}})),ss=n((e=>{var t=os();e.Parser=function(e){return{parseTokens:function(e,n){return e(new t(n))}}}})),cs=n((e=>{e.none=Object.create({value:function(){throw Error(`Called value on none`)},isNone:function(){return!0},isSome:function(){return!1},map:function(){return e.none},flatMap:function(){return e.none},filter:function(){return e.none},toArray:function(){return[]},orElse:t,valueOrElse:t});function t(e){return typeof e==`function`?e():e}e.some=function(e){return new n(e)};var n=function(e){this._value=e};n.prototype.value=function(){return this._value},n.prototype.isNone=function(){return!1},n.prototype.isSome=function(){return!0},n.prototype.map=function(e){return new n(e(this._value))},n.prototype.flatMap=function(e){return e(this._value)},n.prototype.filter=function(t){return t(this._value)?this:e.none},n.prototype.toArray=function(){return[this._value]},n.prototype.orElse=function(e){return this},n.prototype.valueOrElse=function(e){return this._value},e.isOption=function(t){return t===e.none||t instanceof n},e.fromNullable=function(t){return t==null?e.none:new n(t)}})),ls=n(((e,t)=>{t.exports={failure:function(e,t){if(e.length<1)throw Error(`Failure must have errors`);return new n({status:`failure`,remaining:t,errors:e})},error:function(e,t){if(e.length<1)throw Error(`Failure must have errors`);return new n({status:`error`,remaining:t,errors:e})},success:function(e,t,r){return new n({status:`success`,value:e,source:r,remaining:t,errors:[]})},cut:function(e){return new n({status:`cut`,remaining:e,errors:[]})}};var n=function(e){this._value=e.value,this._status=e.status,this._hasValue=e.value!==void 0,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};n.prototype.map=function(e){return this._hasValue?new n({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},n.prototype.changeRemaining=function(e){return new n({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})},n.prototype.isSuccess=function(){return this._status===`success`||this._status===`cut`},n.prototype.isFailure=function(){return this._status===`failure`},n.prototype.isError=function(){return this._status===`error`},n.prototype.isCut=function(){return this._status===`cut`},n.prototype.value=function(){return this._value},n.prototype.remaining=function(){return this._remaining},n.prototype.source=function(){return this._source},n.prototype.errors=function(){return this._errors}})),us=n((e=>{e.error=function(e){return new t(e)};var t=function(e){this.expected=e.expected,this.actual=e.actual,this._location=e.location};t.prototype.describe=function(){return(this._location?this._location.describe()+`:
34
+ `:``;return(e.children||[]).map(n).join(``)+r}e.convertElementToRawText=n})),os=t(((e,t)=>{var n=t.exports=function(e,t){this._tokens=e,this._startIndex=t||0};n.prototype.head=function(){return this._tokens[this._startIndex]},n.prototype.tail=function(e){return new n(this._tokens,this._startIndex+1)},n.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},n.prototype.end=function(){return this._tokens[this._tokens.length-1]},n.prototype.to=function(e){var t=this.head().source,n=e.head()||e.end();return t.to(n.source)}})),ss=t((e=>{var t=os();e.Parser=function(e){return{parseTokens:function(e,n){return e(new t(n))}}}})),cs=t((e=>{e.none=Object.create({value:function(){throw Error(`Called value on none`)},isNone:function(){return!0},isSome:function(){return!1},map:function(){return e.none},flatMap:function(){return e.none},filter:function(){return e.none},toArray:function(){return[]},orElse:t,valueOrElse:t});function t(e){return typeof e==`function`?e():e}e.some=function(e){return new n(e)};var n=function(e){this._value=e};n.prototype.value=function(){return this._value},n.prototype.isNone=function(){return!1},n.prototype.isSome=function(){return!0},n.prototype.map=function(e){return new n(e(this._value))},n.prototype.flatMap=function(e){return e(this._value)},n.prototype.filter=function(t){return t(this._value)?this:e.none},n.prototype.toArray=function(){return[this._value]},n.prototype.orElse=function(e){return this},n.prototype.valueOrElse=function(e){return this._value},e.isOption=function(t){return t===e.none||t instanceof n},e.fromNullable=function(t){return t==null?e.none:new n(t)}})),ls=t(((e,t)=>{t.exports={failure:function(e,t){if(e.length<1)throw Error(`Failure must have errors`);return new n({status:`failure`,remaining:t,errors:e})},error:function(e,t){if(e.length<1)throw Error(`Failure must have errors`);return new n({status:`error`,remaining:t,errors:e})},success:function(e,t,r){return new n({status:`success`,value:e,source:r,remaining:t,errors:[]})},cut:function(e){return new n({status:`cut`,remaining:e,errors:[]})}};var n=function(e){this._value=e.value,this._status=e.status,this._hasValue=e.value!==void 0,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};n.prototype.map=function(e){return this._hasValue?new n({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},n.prototype.changeRemaining=function(e){return new n({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})},n.prototype.isSuccess=function(){return this._status===`success`||this._status===`cut`},n.prototype.isFailure=function(){return this._status===`failure`},n.prototype.isError=function(){return this._status===`error`},n.prototype.isCut=function(){return this._status===`cut`},n.prototype.value=function(){return this._value},n.prototype.remaining=function(){return this._remaining},n.prototype.source=function(){return this._source},n.prototype.errors=function(){return this._errors}})),us=t((e=>{e.error=function(e){return new t(e)};var t=function(e){this.expected=e.expected,this.actual=e.actual,this._location=e.location};t.prototype.describe=function(){return(this._location?this._location.describe()+`:
35
35
  `:``)+`Expected `+this.expected+`
36
- but got `+this.actual},t.prototype.lineNumber=function(){return this._location.lineNumber()},t.prototype.characterNumber=function(){return this._location.characterNumber()}})),ds=n((e=>{e.fromArray=function(e){var n=0,r=function(){return n<e.length};return new t({hasNext:r,next:function(){if(r())return e[n++];throw Error(`No more elements`)}})};var t=function(e){this._iterator=e};t.prototype.map=function(e){var n=this._iterator;return new t({hasNext:function(){return n.hasNext()},next:function(){return e(n.next())}})},t.prototype.filter=function(e){var n=this._iterator,r=!1,i=!1,a,o=function(){if(!r)for(r=!0,i=!1;n.hasNext()&&!i;)a=n.next(),i=e(a)};return new t({hasNext:function(){return o(),i},next:function(){o();var e=a;return r=!1,e}})},t.prototype.first=function(){var e=this._iterator;return this._iterator.hasNext()?e.next():null},t.prototype.toArray=function(){for(var e=[];this._iterator.hasNext();)e.push(this._iterator.next());return e}})),fs=n((e=>{var t=($(),r(Q)),n=cs(),i=ls(),a=us(),o=ds();e.token=function(e,t){var n=t!==void 0;return function(r){var a=r.head();return a&&a.name===e&&(!n||a.value===t)?i.success(a.value,r.tail(),a.source):f(r,d({name:e,value:t}))}},e.tokenOfType=function(t){return e.token(t)},e.firstOf=function(e,n){return t.isArray(n)||(n=Array.prototype.slice.call(arguments,1)),function(t){return o.fromArray(n).map(function(e){return e(t)}).filter(function(e){return e.isSuccess()||e.isError()}).first()||f(t,e)}},e.then=function(e,t){return function(n){var r=e(n);return r.map||console.log(r),r.map(t)}},e.sequence=function(){var n=Array.prototype.slice.call(arguments,0),r=function(r){var a=t.foldl(n,function(e,t){var n=e.result,a=e.hasCut;if(!n.isSuccess())return{result:n,hasCut:a};var o=t(n.remaining());if(o.isCut())return{result:n,hasCut:!0};if(o.isSuccess()){var s=t.isCaptured?n.value().withValue(t,o.value()):n.value(),c=o.remaining(),l=r.to(c);return{result:i.success(s,c,l),hasCut:a}}return a?{result:i.error(o.errors(),o.remaining()),hasCut:a}:{result:o,hasCut:a}},{result:i.success(new s,r),hasCut:!1}).result,o=r.to(a.remaining());return a.map(function(t){return t.withValue(e.sequence.source,o)})};r.head=function(){var i=t.find(n,a);return e.then(r,e.sequence.extract(i))},r.map=function(t){return e.then(r,function(e){return t.apply(this,e.toArray())})};function a(e){return e.isCaptured}return r};var s=function(e,t){this._values=e||{},this._valuesArray=t||[]};s.prototype.withValue=function(e,n){if(e.captureName&&e.captureName in this._values)throw Error(`Cannot add second value for capture "`+e.captureName+`"`);var r=t.clone(this._values);return r[e.captureName]=n,new s(r,this._valuesArray.concat([n]))},s.prototype.get=function(e){if(e.captureName in this._values)return this._values[e.captureName];throw Error(`No value for capture "`+e.captureName+`"`)},s.prototype.toArray=function(){return this._valuesArray},e.sequence.capture=function(e,t){var n=function(){return e.apply(this,arguments)};return n.captureName=t,n.isCaptured=!0,n},e.sequence.extract=function(e){return function(t){return t.get(e)}},e.sequence.applyValues=function(e){var t=Array.prototype.slice.call(arguments,1);return function(n){var r=t.map(function(e){return n.get(e)});return e.apply(this,r)}},e.sequence.source={captureName:`☃source☃`},e.sequence.cut=function(){return function(e){return i.cut(e)}},e.optional=function(e){return function(t){var r=e(t);return r.isSuccess()?r.map(n.some):r.isFailure()?i.success(n.none,t):r}},e.zeroOrMoreWithSeparator=function(e,t){return u(e,t,!1)},e.oneOrMoreWithSeparator=function(e,t){return u(e,t,!0)};var c=e.zeroOrMore=function(e){return function(t){for(var n=[],r;(r=e(t))&&r.isSuccess();)t=r.remaining(),n.push(r.value());return r.isError()?r:i.success(n,t)}};e.oneOrMore=function(t){return e.oneOrMoreWithSeparator(t,l)};function l(e){return i.success(null,e)}var u=function(t,n,r){return function(a){var o=t(a);if(o.isSuccess()){var s=e.sequence.capture(t,`main`),l=c(e.then(e.sequence(n,s),e.sequence.extract(s)))(o.remaining());return i.success([o.value()].concat(l.value()),l.remaining())}return r||o.isError()?o:i.success([],a)}};e.leftAssociative=function(t,n,r){var a=r?[{func:r,rule:n}]:n;a=a.map(function(t){return e.then(t.rule,function(e){return function(n,r){return t.func(n,e,r)}})});var o=e.firstOf.apply(null,[`rules`].concat(a));return function(e){var n=e,r=t(e);if(!r.isSuccess())return r;for(var a=o(r.remaining());a.isSuccess();){var s=a.remaining(),c=n.to(a.remaining()),l=a.value();r=i.success(l(r.value(),c),s,c),a=o(r.remaining())}return a.isError()?a:r}},e.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},e.nonConsuming=function(e){return function(t){return e(t).changeRemaining(t)}};var d=function(e){return e.value?e.name+` "`+e.value+`"`:e.name};function f(e,t){var n,r=e.head();return n=r?a.error({expected:t,actual:d(r),location:r.source}):a.error({expected:t,actual:`end of tokens`}),i.failure([n],e)}})),ps=n(((e,t)=>{t.exports=function(e,t){return{asString:function(){return e},range:function(r,i){return new n(e,t,r,i)}}};var n=function(e,t,n,r){this._string=e,this._description=t,this._startIndex=n,this._endIndex=r};n.prototype.to=function(e){return new n(this._string,this._description,this._startIndex,e._endIndex)},n.prototype.describe=function(){var e=this._position();return(this._description?this._description+`
36
+ but got `+this.actual},t.prototype.lineNumber=function(){return this._location.lineNumber()},t.prototype.characterNumber=function(){return this._location.characterNumber()}})),ds=t((e=>{e.fromArray=function(e){var n=0,r=function(){return n<e.length};return new t({hasNext:r,next:function(){if(r())return e[n++];throw Error(`No more elements`)}})};var t=function(e){this._iterator=e};t.prototype.map=function(e){var n=this._iterator;return new t({hasNext:function(){return n.hasNext()},next:function(){return e(n.next())}})},t.prototype.filter=function(e){var n=this._iterator,r=!1,i=!1,a,o=function(){if(!r)for(r=!0,i=!1;n.hasNext()&&!i;)a=n.next(),i=e(a)};return new t({hasNext:function(){return o(),i},next:function(){o();var e=a;return r=!1,e}})},t.prototype.first=function(){var e=this._iterator;return this._iterator.hasNext()?e.next():null},t.prototype.toArray=function(){for(var e=[];this._iterator.hasNext();)e.push(this._iterator.next());return e}})),fs=t((e=>{var t=($(),n(Q)),r=cs(),i=ls(),a=us(),o=ds();e.token=function(e,t){var n=t!==void 0;return function(r){var a=r.head();return a&&a.name===e&&(!n||a.value===t)?i.success(a.value,r.tail(),a.source):f(r,d({name:e,value:t}))}},e.tokenOfType=function(t){return e.token(t)},e.firstOf=function(e,n){return t.isArray(n)||(n=Array.prototype.slice.call(arguments,1)),function(t){return o.fromArray(n).map(function(e){return e(t)}).filter(function(e){return e.isSuccess()||e.isError()}).first()||f(t,e)}},e.then=function(e,t){return function(n){var r=e(n);return r.map||console.log(r),r.map(t)}},e.sequence=function(){var n=Array.prototype.slice.call(arguments,0),r=function(r){var a=t.foldl(n,function(e,t){var n=e.result,a=e.hasCut;if(!n.isSuccess())return{result:n,hasCut:a};var o=t(n.remaining());if(o.isCut())return{result:n,hasCut:!0};if(o.isSuccess()){var s=t.isCaptured?n.value().withValue(t,o.value()):n.value(),c=o.remaining(),l=r.to(c);return{result:i.success(s,c,l),hasCut:a}}return a?{result:i.error(o.errors(),o.remaining()),hasCut:a}:{result:o,hasCut:a}},{result:i.success(new s,r),hasCut:!1}).result,o=r.to(a.remaining());return a.map(function(t){return t.withValue(e.sequence.source,o)})};r.head=function(){var i=t.find(n,a);return e.then(r,e.sequence.extract(i))},r.map=function(t){return e.then(r,function(e){return t.apply(this,e.toArray())})};function a(e){return e.isCaptured}return r};var s=function(e,t){this._values=e||{},this._valuesArray=t||[]};s.prototype.withValue=function(e,n){if(e.captureName&&e.captureName in this._values)throw Error(`Cannot add second value for capture "`+e.captureName+`"`);var r=t.clone(this._values);return r[e.captureName]=n,new s(r,this._valuesArray.concat([n]))},s.prototype.get=function(e){if(e.captureName in this._values)return this._values[e.captureName];throw Error(`No value for capture "`+e.captureName+`"`)},s.prototype.toArray=function(){return this._valuesArray},e.sequence.capture=function(e,t){var n=function(){return e.apply(this,arguments)};return n.captureName=t,n.isCaptured=!0,n},e.sequence.extract=function(e){return function(t){return t.get(e)}},e.sequence.applyValues=function(e){var t=Array.prototype.slice.call(arguments,1);return function(n){var r=t.map(function(e){return n.get(e)});return e.apply(this,r)}},e.sequence.source={captureName:`☃source☃`},e.sequence.cut=function(){return function(e){return i.cut(e)}},e.optional=function(e){return function(t){var n=e(t);return n.isSuccess()?n.map(r.some):n.isFailure()?i.success(r.none,t):n}},e.zeroOrMoreWithSeparator=function(e,t){return u(e,t,!1)},e.oneOrMoreWithSeparator=function(e,t){return u(e,t,!0)};var c=e.zeroOrMore=function(e){return function(t){for(var n=[],r;(r=e(t))&&r.isSuccess();)t=r.remaining(),n.push(r.value());return r.isError()?r:i.success(n,t)}};e.oneOrMore=function(t){return e.oneOrMoreWithSeparator(t,l)};function l(e){return i.success(null,e)}var u=function(t,n,r){return function(a){var o=t(a);if(o.isSuccess()){var s=e.sequence.capture(t,`main`),l=c(e.then(e.sequence(n,s),e.sequence.extract(s)))(o.remaining());return i.success([o.value()].concat(l.value()),l.remaining())}return r||o.isError()?o:i.success([],a)}};e.leftAssociative=function(t,n,r){var a=r?[{func:r,rule:n}]:n;a=a.map(function(t){return e.then(t.rule,function(e){return function(n,r){return t.func(n,e,r)}})});var o=e.firstOf.apply(null,[`rules`].concat(a));return function(e){var n=e,r=t(e);if(!r.isSuccess())return r;for(var a=o(r.remaining());a.isSuccess();){var s=a.remaining(),c=n.to(a.remaining()),l=a.value();r=i.success(l(r.value(),c),s,c),a=o(r.remaining())}return a.isError()?a:r}},e.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},e.nonConsuming=function(e){return function(t){return e(t).changeRemaining(t)}};var d=function(e){return e.value?e.name+` "`+e.value+`"`:e.name};function f(e,t){var n,r=e.head();return n=r?a.error({expected:t,actual:d(r),location:r.source}):a.error({expected:t,actual:`end of tokens`}),i.failure([n],e)}})),ps=t(((e,t)=>{t.exports=function(e,t){return{asString:function(){return e},range:function(r,i){return new n(e,t,r,i)}}};var n=function(e,t,n,r){this._string=e,this._description=t,this._startIndex=n,this._endIndex=r};n.prototype.to=function(e){return new n(this._string,this._description,this._startIndex,e._endIndex)},n.prototype.describe=function(){var e=this._position();return(this._description?this._description+`
37
37
  `:``)+`Line number: `+e.lineNumber+`
38
38
  Character number: `+e.characterNumber},n.prototype.lineNumber=function(){return this._position().lineNumber},n.prototype.characterNumber=function(){return this._position().characterNumber},n.prototype._position=function(){for(var e=this,t=0,n=function(){return e._string.indexOf(`
39
- `,t)},r=1;n()!==-1&&n()<this._startIndex;)t=n()+1,r+=1;var i=this._startIndex-t+1;return{lineNumber:r,characterNumber:i}}})),ms=n(((e,t)=>{t.exports=function(e,t,n){this.name=e,this.value=t,n&&(this.source=n)}})),hs=n((e=>{var t=fs(),n=ls();e.parser=function(e,n,a){var o={rule:u,leftAssociative:d,rightAssociative:f},s=new r(a.map(l)),c=t.firstOf(e,n);function l(e){return{name:e.name,rule:i(e.ruleBuilder.bind(null,o))}}function u(){return p(s)}function d(e){return p(s.untilExclusive(e))}function f(e){return p(s.untilInclusive(e))}function p(e){return m.bind(null,e)}function m(e,t){var n=c(t);return n.isSuccess()?e.apply(n):n}return o};function r(e){function i(t){return new r(e.slice(0,o().indexOf(t)))}function a(t){return new r(e.slice(0,o().indexOf(t)+1))}function o(){return e.map(function(e){return e.name})}function s(e){for(var t,r;;)if(t=c(e.remaining()),t.isSuccess())r=e.source().to(t.source()),e=n.success(t.value()(e.value(),r),t.remaining(),r);else if(t.isFailure())return e;else return t}function c(n){return t.firstOf(`infix`,e.map(function(e){return e.rule}))(n)}return{apply:s,untilExclusive:i,untilInclusive:a}}e.infix=function(t,n){function r(r){return e.infix(t,function(e){var t=n(e);return function(e){return t(e).map(function(e){return function(t,n){return r(t,e,n)}})}})}return{name:t,ruleBuilder:n,map:r}};var i=function(e){var t;return function(n){return t||=e(),t(n)}}})),gs=n((e=>{var t=ms(),n=ps();e.RegexTokeniser=r;function r(e){e=e.map(function(e){return{name:e.name,regex:new RegExp(e.regex.source,`g`)}});function r(e,t){for(var r=new n(e,t),o=0,s=[];o<e.length;){var c=i(e,o,r);o=c.endIndex,s.push(c.token)}return s.push(a(e,r)),s}function i(n,r,i){for(var a=0;a<e.length;a++){var o=e[a].regex;o.lastIndex=r;var s=o.exec(n);if(s){var c=r+s[0].length;if(s.index===r&&c>r){var l=s[1],u=new t(e[a].name,l,i.range(r,c));return{token:u,endIndex:c}}}}var c=r+1,u=new t(`unrecognisedCharacter`,n.substring(r,c),i.range(r,c));return{token:u,endIndex:c}}function a(e,n){return new t(`end`,null,n.range(e.length,e.length))}return{tokenise:r}}})),_s=n((e=>{e.Parser=ss().Parser,e.rules=fs(),e.errors=us(),e.results=ls(),e.StringSource=ps(),e.Token=ms(),e.bottomUp=hs(),e.RegexTokeniser=gs().RegexTokeniser,e.rule=function(e){var t;return function(n){return t||=e(),t(n)}}})),vs=n((e=>{e.paragraph=t,e.run=n,e.table=r,e.bold=new a(`bold`),e.italic=new a(`italic`),e.underline=new a(`underline`),e.strikethrough=new a(`strikethrough`),e.allCaps=new a(`allCaps`),e.smallCaps=new a(`smallCaps`),e.highlight=i,e.commentReference=new a(`commentReference`),e.lineBreak=new s({breakType:`line`}),e.pageBreak=new s({breakType:`page`}),e.columnBreak=new s({breakType:`column`}),e.equalTo=l,e.startsWith=u;function t(e){return new a(`paragraph`,e)}function n(e){return new a(`run`,e)}function r(e){return new a(`table`,e)}function i(e){return new o(e)}function a(e,t){t||={},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list&&(this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered)}a.prototype.matches=function(e){return e.type===this._elementType&&(this._styleId===void 0||e.styleId===this._styleId)&&(this._styleName===void 0||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(this._listIndex===void 0||c(e,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===e.breakType)};function o(e){e||={},this._color=e.color}o.prototype.matches=function(e){return e.type===`highlight`&&(this._color===void 0||e.color===this._color)};function s(e){e||={},this._breakType=e.breakType}s.prototype.matches=function(e){return e.type===`break`&&(this._breakType===void 0||e.breakType===this._breakType)};function c(e,t,n){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==n}function l(e){return{operator:d,operand:e}}function u(e){return{operator:f,operand:e}}function d(e,t){return e.toUpperCase()===t.toUpperCase()}function f(e,t){return t.toUpperCase().indexOf(e.toUpperCase())===0}})),ys=n((e=>{var t=_s().RegexTokeniser;e.tokenise=r;var n=`'((?:\\\\(?:.|$)|[^'\\\\])*)`;function r(e){var r=`(?:[a-zA-Z\\-_]|\\\\.)`;return new t([{name:`identifier`,regex:RegExp(`(`+r+`(?:`+r+`|[0-9])*)`)},{name:`dot`,regex:/\./},{name:`colon`,regex:/:/},{name:`gt`,regex:/>/},{name:`whitespace`,regex:/\s+/},{name:`arrow`,regex:/=>/},{name:`equals`,regex:/=/},{name:`startsWith`,regex:/\^=/},{name:`open-paren`,regex:/\(/},{name:`close-paren`,regex:/\)/},{name:`open-square-bracket`,regex:/\[/},{name:`close-square-bracket`,regex:/\]/},{name:`string`,regex:RegExp(n+`'`)},{name:`unterminated-string`,regex:new RegExp(n)},{name:`integer`,regex:/([0-9]+)/},{name:`choice`,regex:/\|/},{name:`bang`,regex:/(!)/}]).tokenise(e)}})),bs=n((e=>{var t=($(),r(Q)),n=_s(),i=vs(),a=$o(),o=ys().tokenise,s=Xa();e.readHtmlPath=f,e.readDocumentMatcher=u,e.readStyle=c;function c(e){return S(T,e)}function l(){return n.rules.sequence(n.rules.sequence.capture(d()),n.rules.tokenOfType(`whitespace`),n.rules.tokenOfType(`arrow`),n.rules.sequence.capture(n.rules.optional(n.rules.sequence(n.rules.tokenOfType(`whitespace`),n.rules.sequence.capture(p())).head())),n.rules.tokenOfType(`end`)).map(function(e,t){return{from:e,to:t.valueOrElse(a.empty)}})}function u(e){return S(d(),e)}function d(){var e=n.rules.sequence,r=function(e,t){return n.rules.then(n.rules.token(`identifier`,e),function(){return t})},a=r(`p`,i.paragraph),o=r(`r`,i.run),s=n.rules.firstOf(`p or r or table`,a,o),c=n.rules.sequence(n.rules.tokenOfType(`dot`),n.rules.sequence.cut(),n.rules.sequence.capture(m)).map(function(e){return{styleId:e}}),l=n.rules.firstOf(`style name matcher`,n.rules.then(n.rules.sequence(n.rules.tokenOfType(`equals`),n.rules.sequence.cut(),n.rules.sequence.capture(g)).head(),function(e){return{styleName:i.equalTo(e)}}),n.rules.then(n.rules.sequence(n.rules.tokenOfType(`startsWith`),n.rules.sequence.cut(),n.rules.sequence.capture(g)).head(),function(e){return{styleName:i.startsWith(e)}})),u=n.rules.sequence(n.rules.tokenOfType(`open-square-bracket`),n.rules.sequence.cut(),n.rules.token(`identifier`,`style-name`),n.rules.sequence.capture(l),n.rules.tokenOfType(`close-square-bracket`)).head(),d=n.rules.firstOf(`list type`,r(`ordered-list`,{isOrdered:!0}),r(`unordered-list`,{isOrdered:!1})),f=e(n.rules.tokenOfType(`colon`),e.capture(d),e.cut(),n.rules.tokenOfType(`open-paren`),e.capture(h),n.rules.tokenOfType(`close-paren`)).map(function(e,t){return{list:{isOrdered:e.isOrdered,levelIndex:t-1}}});function p(e){var r=n.rules.firstOf.apply(n.rules.firstOf,[`matcher suffix`].concat(e)),i=n.rules.zeroOrMore(r);return n.rules.then(i,function(e){var n={};return e.forEach(function(e){t.extend(n,e)}),n})}var _=e(e.capture(s),e.capture(p([c,u,f]))).map(function(e,t){return e(t)}),v=e(n.rules.token(`identifier`,`table`),e.capture(p([c,u]))).map(function(e){return i.table(e)}),y=r(`b`,i.bold),b=r(`i`,i.italic),x=r(`u`,i.underline),S=r(`strike`,i.strikethrough),C=r(`all-caps`,i.allCaps),w=r(`small-caps`,i.smallCaps),T=e(n.rules.token(`identifier`,`highlight`),n.rules.sequence.capture(n.rules.optional(n.rules.sequence(n.rules.tokenOfType(`open-square-bracket`),n.rules.sequence.cut(),n.rules.token(`identifier`,`color`),n.rules.tokenOfType(`equals`),n.rules.sequence.capture(g),n.rules.tokenOfType(`close-square-bracket`)).head()))).map(function(e){return i.highlight({color:e.valueOrElse(void 0)})}),E=r(`comment-reference`,i.commentReference),D=e(n.rules.token(`identifier`,`br`),e.cut(),n.rules.tokenOfType(`open-square-bracket`),n.rules.token(`identifier`,`type`),n.rules.tokenOfType(`equals`),e.capture(g),n.rules.tokenOfType(`close-square-bracket`)).map(function(e){switch(e){case`line`:return i.lineBreak;case`page`:return i.pageBreak;case`column`:return i.columnBreak}});return n.rules.firstOf(`element type`,_,v,y,b,x,S,C,w,T,E,D)}function f(e){return S(p(),e)}function p(){var e=n.rules.sequence.capture,t=n.rules.tokenOfType(`whitespace`),r=n.rules.then(n.rules.optional(n.rules.sequence(n.rules.tokenOfType(`colon`),n.rules.token(`identifier`,`fresh`))),function(e){return e.map(function(){return!0}).valueOrElse(!1)}),i=n.rules.then(n.rules.optional(n.rules.sequence(n.rules.tokenOfType(`colon`),n.rules.token(`identifier`,`separator`),n.rules.tokenOfType(`open-paren`),e(g),n.rules.tokenOfType(`close-paren`)).head()),function(e){return e.valueOrElse(``)}),o=n.rules.oneOrMoreWithSeparator(m,n.rules.tokenOfType(`choice`)),s=n.rules.sequence(e(o),e(n.rules.zeroOrMore(x)),e(r),e(i)).map(function(e,t,n,r){var i=Object.create(null),o={};return t.forEach(function(e){e.append&&i[e.name]?i[e.name]+=` `+e.value:i[e.name]=e.value}),n&&(o.fresh=!0),r&&(o.separator=r),a.element(e,i,o)});return n.rules.firstOf(`html path`,n.rules.then(n.rules.tokenOfType(`bang`),function(){return a.ignore}),n.rules.then(n.rules.zeroOrMoreWithSeparator(s,n.rules.sequence(t,n.rules.tokenOfType(`gt`),t)),a.elements))}var m=n.rules.then(n.rules.tokenOfType(`identifier`),v),h=n.rules.tokenOfType(`integer`),g=n.rules.then(n.rules.tokenOfType(`string`),v),_={n:`
40
- `,r:`\r`,t:` `};function v(e){return e.replace(/\\(.)/g,function(e,t){return _[t]||t})}var y=n.rules.sequence(n.rules.tokenOfType(`open-square-bracket`),n.rules.sequence.cut(),n.rules.sequence.capture(m),n.rules.tokenOfType(`equals`),n.rules.sequence.capture(g),n.rules.tokenOfType(`close-square-bracket`)).map(function(e,t){return{name:e,value:t,append:!1}}),b=n.rules.sequence(n.rules.tokenOfType(`dot`),n.rules.sequence.cut(),n.rules.sequence.capture(m)).map(function(e){return{name:`class`,value:e,append:!0}}),x=n.rules.firstOf(`attribute or class`,y,b);function S(e,t){var r=o(t),i=n.Parser().parseTokens(e,r);return i.isSuccess()?s.success(i.value()):new s.Result(null,[s.warning(C(t,i))])}function C(e,t){return`Did not understand this style mapping, so ignored it: `+e+`
39
+ `,t)},r=1;n()!==-1&&n()<this._startIndex;)t=n()+1,r+=1;var i=this._startIndex-t+1;return{lineNumber:r,characterNumber:i}}})),ms=t(((e,t)=>{t.exports=function(e,t,n){this.name=e,this.value=t,n&&(this.source=n)}})),hs=t((e=>{var t=fs(),n=ls();e.parser=function(e,n,a){var o={rule:u,leftAssociative:d,rightAssociative:f},s=new r(a.map(l)),c=t.firstOf(e,n);function l(e){return{name:e.name,rule:i(e.ruleBuilder.bind(null,o))}}function u(){return p(s)}function d(e){return p(s.untilExclusive(e))}function f(e){return p(s.untilInclusive(e))}function p(e){return m.bind(null,e)}function m(e,t){var n=c(t);return n.isSuccess()?e.apply(n):n}return o};function r(e){function i(t){return new r(e.slice(0,o().indexOf(t)))}function a(t){return new r(e.slice(0,o().indexOf(t)+1))}function o(){return e.map(function(e){return e.name})}function s(e){for(var t,r;;)if(t=c(e.remaining()),t.isSuccess())r=e.source().to(t.source()),e=n.success(t.value()(e.value(),r),t.remaining(),r);else if(t.isFailure())return e;else return t}function c(n){return t.firstOf(`infix`,e.map(function(e){return e.rule}))(n)}return{apply:s,untilExclusive:i,untilInclusive:a}}e.infix=function(t,n){function r(r){return e.infix(t,function(e){var t=n(e);return function(e){return t(e).map(function(e){return function(t,n){return r(t,e,n)}})}})}return{name:t,ruleBuilder:n,map:r}};var i=function(e){var t;return function(n){return t||=e(),t(n)}}})),gs=t((e=>{var t=ms(),n=ps();e.RegexTokeniser=r;function r(e){e=e.map(function(e){return{name:e.name,regex:new RegExp(e.regex.source,`g`)}});function r(e,t){for(var r=new n(e,t),o=0,s=[];o<e.length;){var c=i(e,o,r);o=c.endIndex,s.push(c.token)}return s.push(a(e,r)),s}function i(n,r,i){for(var a=0;a<e.length;a++){var o=e[a].regex;o.lastIndex=r;var s=o.exec(n);if(s){var c=r+s[0].length;if(s.index===r&&c>r){var l=s[1],u=new t(e[a].name,l,i.range(r,c));return{token:u,endIndex:c}}}}var c=r+1,u=new t(`unrecognisedCharacter`,n.substring(r,c),i.range(r,c));return{token:u,endIndex:c}}function a(e,n){return new t(`end`,null,n.range(e.length,e.length))}return{tokenise:r}}})),_s=t((e=>{e.Parser=ss().Parser,e.rules=fs(),e.errors=us(),e.results=ls(),e.StringSource=ps(),e.Token=ms(),e.bottomUp=hs(),e.RegexTokeniser=gs().RegexTokeniser,e.rule=function(e){var t;return function(n){return t||=e(),t(n)}}})),vs=t((e=>{e.paragraph=t,e.run=n,e.table=r,e.bold=new a(`bold`),e.italic=new a(`italic`),e.underline=new a(`underline`),e.strikethrough=new a(`strikethrough`),e.allCaps=new a(`allCaps`),e.smallCaps=new a(`smallCaps`),e.highlight=i,e.commentReference=new a(`commentReference`),e.lineBreak=new s({breakType:`line`}),e.pageBreak=new s({breakType:`page`}),e.columnBreak=new s({breakType:`column`}),e.equalTo=l,e.startsWith=u;function t(e){return new a(`paragraph`,e)}function n(e){return new a(`run`,e)}function r(e){return new a(`table`,e)}function i(e){return new o(e)}function a(e,t){t||={},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list&&(this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered)}a.prototype.matches=function(e){return e.type===this._elementType&&(this._styleId===void 0||e.styleId===this._styleId)&&(this._styleName===void 0||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(this._listIndex===void 0||c(e,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===e.breakType)};function o(e){e||={},this._color=e.color}o.prototype.matches=function(e){return e.type===`highlight`&&(this._color===void 0||e.color===this._color)};function s(e){e||={},this._breakType=e.breakType}s.prototype.matches=function(e){return e.type===`break`&&(this._breakType===void 0||e.breakType===this._breakType)};function c(e,t,n){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==n}function l(e){return{operator:d,operand:e}}function u(e){return{operator:f,operand:e}}function d(e,t){return e.toUpperCase()===t.toUpperCase()}function f(e,t){return t.toUpperCase().indexOf(e.toUpperCase())===0}})),ys=t((e=>{var t=_s().RegexTokeniser;e.tokenise=r;var n=`'((?:\\\\(?:.|$)|[^'\\\\])*)`;function r(e){var r=`(?:[a-zA-Z\\-_]|\\\\.)`;return new t([{name:`identifier`,regex:RegExp(`(`+r+`(?:`+r+`|[0-9])*)`)},{name:`dot`,regex:/\./},{name:`colon`,regex:/:/},{name:`gt`,regex:/>/},{name:`whitespace`,regex:/\s+/},{name:`arrow`,regex:/=>/},{name:`equals`,regex:/=/},{name:`startsWith`,regex:/\^=/},{name:`open-paren`,regex:/\(/},{name:`close-paren`,regex:/\)/},{name:`open-square-bracket`,regex:/\[/},{name:`close-square-bracket`,regex:/\]/},{name:`string`,regex:RegExp(n+`'`)},{name:`unterminated-string`,regex:new RegExp(n)},{name:`integer`,regex:/([0-9]+)/},{name:`choice`,regex:/\|/},{name:`bang`,regex:/(!)/}]).tokenise(e)}})),bs=t((e=>{var t=($(),n(Q)),r=_s(),i=vs(),a=$o(),o=ys().tokenise,s=Xa();e.readHtmlPath=f,e.readDocumentMatcher=u,e.readStyle=c;function c(e){return S(T,e)}function l(){return r.rules.sequence(r.rules.sequence.capture(d()),r.rules.tokenOfType(`whitespace`),r.rules.tokenOfType(`arrow`),r.rules.sequence.capture(r.rules.optional(r.rules.sequence(r.rules.tokenOfType(`whitespace`),r.rules.sequence.capture(p())).head())),r.rules.tokenOfType(`end`)).map(function(e,t){return{from:e,to:t.valueOrElse(a.empty)}})}function u(e){return S(d(),e)}function d(){var e=r.rules.sequence,n=function(e,t){return r.rules.then(r.rules.token(`identifier`,e),function(){return t})},a=n(`p`,i.paragraph),o=n(`r`,i.run),s=r.rules.firstOf(`p or r or table`,a,o),c=r.rules.sequence(r.rules.tokenOfType(`dot`),r.rules.sequence.cut(),r.rules.sequence.capture(m)).map(function(e){return{styleId:e}}),l=r.rules.firstOf(`style name matcher`,r.rules.then(r.rules.sequence(r.rules.tokenOfType(`equals`),r.rules.sequence.cut(),r.rules.sequence.capture(g)).head(),function(e){return{styleName:i.equalTo(e)}}),r.rules.then(r.rules.sequence(r.rules.tokenOfType(`startsWith`),r.rules.sequence.cut(),r.rules.sequence.capture(g)).head(),function(e){return{styleName:i.startsWith(e)}})),u=r.rules.sequence(r.rules.tokenOfType(`open-square-bracket`),r.rules.sequence.cut(),r.rules.token(`identifier`,`style-name`),r.rules.sequence.capture(l),r.rules.tokenOfType(`close-square-bracket`)).head(),d=r.rules.firstOf(`list type`,n(`ordered-list`,{isOrdered:!0}),n(`unordered-list`,{isOrdered:!1})),f=e(r.rules.tokenOfType(`colon`),e.capture(d),e.cut(),r.rules.tokenOfType(`open-paren`),e.capture(h),r.rules.tokenOfType(`close-paren`)).map(function(e,t){return{list:{isOrdered:e.isOrdered,levelIndex:t-1}}});function p(e){var n=r.rules.firstOf.apply(r.rules.firstOf,[`matcher suffix`].concat(e)),i=r.rules.zeroOrMore(n);return r.rules.then(i,function(e){var n={};return e.forEach(function(e){t.extend(n,e)}),n})}var _=e(e.capture(s),e.capture(p([c,u,f]))).map(function(e,t){return e(t)}),v=e(r.rules.token(`identifier`,`table`),e.capture(p([c,u]))).map(function(e){return i.table(e)}),y=n(`b`,i.bold),b=n(`i`,i.italic),x=n(`u`,i.underline),S=n(`strike`,i.strikethrough),C=n(`all-caps`,i.allCaps),w=n(`small-caps`,i.smallCaps),T=e(r.rules.token(`identifier`,`highlight`),r.rules.sequence.capture(r.rules.optional(r.rules.sequence(r.rules.tokenOfType(`open-square-bracket`),r.rules.sequence.cut(),r.rules.token(`identifier`,`color`),r.rules.tokenOfType(`equals`),r.rules.sequence.capture(g),r.rules.tokenOfType(`close-square-bracket`)).head()))).map(function(e){return i.highlight({color:e.valueOrElse(void 0)})}),E=n(`comment-reference`,i.commentReference),D=e(r.rules.token(`identifier`,`br`),e.cut(),r.rules.tokenOfType(`open-square-bracket`),r.rules.token(`identifier`,`type`),r.rules.tokenOfType(`equals`),e.capture(g),r.rules.tokenOfType(`close-square-bracket`)).map(function(e){switch(e){case`line`:return i.lineBreak;case`page`:return i.pageBreak;case`column`:return i.columnBreak}});return r.rules.firstOf(`element type`,_,v,y,b,x,S,C,w,T,E,D)}function f(e){return S(p(),e)}function p(){var e=r.rules.sequence.capture,t=r.rules.tokenOfType(`whitespace`),n=r.rules.then(r.rules.optional(r.rules.sequence(r.rules.tokenOfType(`colon`),r.rules.token(`identifier`,`fresh`))),function(e){return e.map(function(){return!0}).valueOrElse(!1)}),i=r.rules.then(r.rules.optional(r.rules.sequence(r.rules.tokenOfType(`colon`),r.rules.token(`identifier`,`separator`),r.rules.tokenOfType(`open-paren`),e(g),r.rules.tokenOfType(`close-paren`)).head()),function(e){return e.valueOrElse(``)}),o=r.rules.oneOrMoreWithSeparator(m,r.rules.tokenOfType(`choice`)),s=r.rules.sequence(e(o),e(r.rules.zeroOrMore(x)),e(n),e(i)).map(function(e,t,n,r){var i=Object.create(null),o={};return t.forEach(function(e){e.append&&i[e.name]?i[e.name]+=` `+e.value:i[e.name]=e.value}),n&&(o.fresh=!0),r&&(o.separator=r),a.element(e,i,o)});return r.rules.firstOf(`html path`,r.rules.then(r.rules.tokenOfType(`bang`),function(){return a.ignore}),r.rules.then(r.rules.zeroOrMoreWithSeparator(s,r.rules.sequence(t,r.rules.tokenOfType(`gt`),t)),a.elements))}var m=r.rules.then(r.rules.tokenOfType(`identifier`),v),h=r.rules.tokenOfType(`integer`),g=r.rules.then(r.rules.tokenOfType(`string`),v),_={n:`
40
+ `,r:`\r`,t:` `};function v(e){return e.replace(/\\(.)/g,function(e,t){return _[t]||t})}var y=r.rules.sequence(r.rules.tokenOfType(`open-square-bracket`),r.rules.sequence.cut(),r.rules.sequence.capture(m),r.rules.tokenOfType(`equals`),r.rules.sequence.capture(g),r.rules.tokenOfType(`close-square-bracket`)).map(function(e,t){return{name:e,value:t,append:!1}}),b=r.rules.sequence(r.rules.tokenOfType(`dot`),r.rules.sequence.cut(),r.rules.sequence.capture(m)).map(function(e){return{name:`class`,value:e,append:!0}}),x=r.rules.firstOf(`attribute or class`,y,b);function S(e,t){var n=o(t),i=r.Parser().parseTokens(e,n);return i.isSuccess()?s.success(i.value()):new s.Result(null,[s.warning(C(t,i))])}function C(e,t){return`Did not understand this style mapping, so ignored it: `+e+`
41
41
  `+t.errors().map(w).join(`
42
- `)}function w(e){return`Error was at character number `+e.characterNumber()+`: Expected `+e.expected+` but got `+e.actual}var T=l()})),xs=n((e=>{e.readOptions=a;var t=($(),r(Q)),n=e._defaultStyleMap=`p.Heading1 => h1:fresh,p.Heading2 => h2:fresh,p.Heading3 => h3:fresh,p.Heading4 => h4:fresh,p.Heading5 => h5:fresh,p.Heading6 => h6:fresh,p[style-name='Heading 1'] => h1:fresh,p[style-name='Heading 2'] => h2:fresh,p[style-name='Heading 3'] => h3:fresh,p[style-name='Heading 4'] => h4:fresh,p[style-name='Heading 5'] => h5:fresh,p[style-name='Heading 6'] => h6:fresh,p[style-name='heading 1'] => h1:fresh,p[style-name='heading 2'] => h2:fresh,p[style-name='heading 3'] => h3:fresh,p[style-name='heading 4'] => h4:fresh,p[style-name='heading 5'] => h5:fresh,p[style-name='heading 6'] => h6:fresh,p.Heading => h1:fresh,p[style-name='Heading'] => h1:fresh,r[style-name='Strong'] => strong,p[style-name='footnote text'] => p:fresh,r[style-name='footnote reference'] =>,p[style-name='endnote text'] => p:fresh,r[style-name='endnote reference'] =>,p[style-name='annotation text'] => p:fresh,r[style-name='annotation reference'] =>,p[style-name='Footnote'] => p:fresh,r[style-name='Footnote anchor'] =>,p[style-name='Endnote'] => p:fresh,r[style-name='Endnote anchor'] =>,p:unordered-list(1) => ul > li:fresh,p:unordered-list(2) => ul|ol > li > ul > li:fresh,p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh,p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh,p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh,p:ordered-list(1) => ol > li:fresh,p:ordered-list(2) => ul|ol > li > ol > li:fresh,p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh,p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh,p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh,r[style-name='Hyperlink'] =>,p[style-name='Normal'] => p:fresh,p.Body => p:fresh,p[style-name='Body'] => p:fresh`.split(`,`),i=e._standardOptions={externalFileAccess:!1,transformDocument:s,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function a(e){return e||={},t.extend({},i,e,{customStyleMap:o(e.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(o(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(n)),e}})}function o(e){return e?t.isString(e)?e.split(`
43
- `).map(function(e){return e.trim()}).filter(function(e){return e!==``&&e.charAt(0)!==`#`}):e:[]}function s(e){return e}})),Ss=n((e=>{var t=Ja(),n=Qa();e.openZip=r;function r(e){return e.arrayBuffer?t.resolve(n.openArrayBuffer(e.arrayBuffer)):t.reject(Error(`Could not find file in options`))}})),Cs=n((e=>{var t=$o(),n=Qo();e.element=r;function r(e){return function(r){return n.elementWithTag(t.element(e),[r])}}})),ws=n((e=>{var t=($(),r(Q)),n=Jo(),i=Yo(),a=is().DocumentConverter,o=as().convertElementToRawText,s=bs().readStyle,c=xs().readOptions,l=Ja(),u=Ss(),d=Xa().Result;e.convertToHtml=f,e.convertToMarkdown=p,e.convert=m,e.extractRawText=v,e.images=es(),e.transforms=Lo(),e.underline=Cs(),e.embedStyleMap=y,e.readEmbeddedStyleMap=h;function f(e,t){return m(e,t)}function p(e,t){var n=Object.create(t||{});return n.outputFormat=`markdown`,m(e,n)}function m(e,t){t=c(t);var r=u.openZip(e).then(function(e){return i.readStyleMap(e).then(function(n){return t.embeddedStyleMap=n,e})}).then(function(r){return n.read(r,e,t).then(function(e){return e.map(t.transformDocument)}).then(function(e){return g(e,t)})});return l.toExternalPromise(r)}function h(e){var t=u.openZip(e).then(i.readStyleMap);return l.toExternalPromise(t)}function g(e,n){var r=_(n.readStyleMap()),i=new a(t.extend({},n,{styleMap:r.value}));return e.flatMapThen(function(e){return r.flatMapThen(function(t){return i.convertToHtml(e)})})}function _(e){return d.combine((e||[]).map(s)).map(function(e){return e.filter(function(e){return!!e})})}function v(e){var t=u.openZip(e).then(n.read).then(function(e){return e.map(o)});return l.toExternalPromise(t)}function y(e,t){var n=u.openZip(e).then(function(e){return i.writeStyleMap(e,t).then(function(){return e})}).then(function(e){return e.toArrayBuffer()}).then(function(e){return{toArrayBuffer:function(){return e},toBuffer:function(){return Buffer.from(e)}}});return l.toExternalPromise(n)}e.styleMapping=function(){throw Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)}}));export default ws();
42
+ `)}function w(e){return`Error was at character number `+e.characterNumber()+`: Expected `+e.expected+` but got `+e.actual}var T=l()})),xs=t((e=>{e.readOptions=a;var t=($(),n(Q)),r=e._defaultStyleMap=`p.Heading1 => h1:fresh,p.Heading2 => h2:fresh,p.Heading3 => h3:fresh,p.Heading4 => h4:fresh,p.Heading5 => h5:fresh,p.Heading6 => h6:fresh,p[style-name='Heading 1'] => h1:fresh,p[style-name='Heading 2'] => h2:fresh,p[style-name='Heading 3'] => h3:fresh,p[style-name='Heading 4'] => h4:fresh,p[style-name='Heading 5'] => h5:fresh,p[style-name='Heading 6'] => h6:fresh,p[style-name='heading 1'] => h1:fresh,p[style-name='heading 2'] => h2:fresh,p[style-name='heading 3'] => h3:fresh,p[style-name='heading 4'] => h4:fresh,p[style-name='heading 5'] => h5:fresh,p[style-name='heading 6'] => h6:fresh,p.Heading => h1:fresh,p[style-name='Heading'] => h1:fresh,r[style-name='Strong'] => strong,p[style-name='footnote text'] => p:fresh,r[style-name='footnote reference'] =>,p[style-name='endnote text'] => p:fresh,r[style-name='endnote reference'] =>,p[style-name='annotation text'] => p:fresh,r[style-name='annotation reference'] =>,p[style-name='Footnote'] => p:fresh,r[style-name='Footnote anchor'] =>,p[style-name='Endnote'] => p:fresh,r[style-name='Endnote anchor'] =>,p:unordered-list(1) => ul > li:fresh,p:unordered-list(2) => ul|ol > li > ul > li:fresh,p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh,p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh,p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh,p:ordered-list(1) => ol > li:fresh,p:ordered-list(2) => ul|ol > li > ol > li:fresh,p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh,p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh,p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh,r[style-name='Hyperlink'] =>,p[style-name='Normal'] => p:fresh,p.Body => p:fresh,p[style-name='Body'] => p:fresh`.split(`,`),i=e._standardOptions={externalFileAccess:!1,transformDocument:s,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function a(e){return e||={},t.extend({},i,e,{customStyleMap:o(e.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(o(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(r)),e}})}function o(e){return e?t.isString(e)?e.split(`
43
+ `).map(function(e){return e.trim()}).filter(function(e){return e!==``&&e.charAt(0)!==`#`}):e:[]}function s(e){return e}})),Ss=t((e=>{var t=Ja(),n=Qa();e.openZip=r;function r(e){return e.arrayBuffer?t.resolve(n.openArrayBuffer(e.arrayBuffer)):t.reject(Error(`Could not find file in options`))}})),Cs=t((e=>{var t=$o(),n=Qo();e.element=r;function r(e){return function(r){return n.elementWithTag(t.element(e),[r])}}})),ws=t((e=>{var t=($(),n(Q)),r=Jo(),i=Yo(),a=is().DocumentConverter,o=as().convertElementToRawText,s=bs().readStyle,c=xs().readOptions,l=Ja(),u=Ss(),d=Xa().Result;e.convertToHtml=f,e.convertToMarkdown=p,e.convert=m,e.extractRawText=v,e.images=es(),e.transforms=Lo(),e.underline=Cs(),e.embedStyleMap=y,e.readEmbeddedStyleMap=h;function f(e,t){return m(e,t)}function p(e,t){var n=Object.create(t||{});return n.outputFormat=`markdown`,m(e,n)}function m(e,t){t=c(t);var n=u.openZip(e).then(function(e){return i.readStyleMap(e).then(function(n){return t.embeddedStyleMap=n,e})}).then(function(n){return r.read(n,e,t).then(function(e){return e.map(t.transformDocument)}).then(function(e){return g(e,t)})});return l.toExternalPromise(n)}function h(e){var t=u.openZip(e).then(i.readStyleMap);return l.toExternalPromise(t)}function g(e,n){var r=_(n.readStyleMap()),i=new a(t.extend({},n,{styleMap:r.value}));return e.flatMapThen(function(e){return r.flatMapThen(function(t){return i.convertToHtml(e)})})}function _(e){return d.combine((e||[]).map(s)).map(function(e){return e.filter(function(e){return!!e})})}function v(e){var t=u.openZip(e).then(r.read).then(function(e){return e.map(o)});return l.toExternalPromise(t)}function y(e,t){var n=u.openZip(e).then(function(e){return i.writeStyleMap(e,t).then(function(){return e})}).then(function(e){return e.toArrayBuffer()}).then(function(e){return{toArrayBuffer:function(){return e},toBuffer:function(){return Buffer.from(e)}}});return l.toExternalPromise(n)}e.styleMapping=function(){throw Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)}}));export default ws();