nebula-notebook 0.1.1 → 0.2.0

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 (78) hide show
  1. package/README.md +90 -11
  2. package/dist/assets/errorwidget-C4r2j2DQ.js +5 -0
  3. package/dist/assets/fa-brands-400-CEJbCg16.woff +0 -0
  4. package/dist/assets/fa-brands-400-CSYNqBb_.ttf +0 -0
  5. package/dist/assets/fa-brands-400-DnkPfk3o.eot +0 -0
  6. package/dist/assets/fa-brands-400-UxlILjvJ.woff2 +0 -0
  7. package/dist/assets/fa-brands-400-cH1MgKbP.svg +3717 -0
  8. package/dist/assets/fa-regular-400-BhTwtT8w.eot +0 -0
  9. package/dist/assets/fa-regular-400-D1vz6WBx.ttf +0 -0
  10. package/dist/assets/fa-regular-400-DFnMcJPd.woff +0 -0
  11. package/dist/assets/fa-regular-400-DGzu1beS.woff2 +0 -0
  12. package/dist/assets/fa-regular-400-gwj8Pxq-.svg +801 -0
  13. package/dist/assets/fa-solid-900-B4ZZ7kfP.svg +5034 -0
  14. package/dist/assets/fa-solid-900-B6Axprfb.eot +0 -0
  15. package/dist/assets/fa-solid-900-BUswJgRo.woff2 +0 -0
  16. package/dist/assets/fa-solid-900-DOXgCApm.woff +0 -0
  17. package/dist/assets/fa-solid-900-mxuxnBEa.ttf +0 -0
  18. package/dist/assets/index-7-YBurka.js +716 -0
  19. package/dist/assets/index-BtWv4MIT.css +7 -0
  20. package/dist/assets/index-CFBUnxSZ.css +32 -0
  21. package/dist/assets/index-CsHoPQy-.js +1 -0
  22. package/dist/assets/index-D5w21_Z8.js +81 -0
  23. package/dist/assets/index-Day3QcNs.js +1 -0
  24. package/dist/assets/services-shim-D6p_A67v.js +33 -0
  25. package/dist/assets/viewlist-uomDf7I7.js +1 -0
  26. package/dist/assets/widgets-X7J3NxEn.css +1 -0
  27. package/dist/index.html +2 -2
  28. package/node-server/dist/cluster/client-registration.js +3 -0
  29. package/node-server/dist/cluster/kernel-proxy.js +24 -9
  30. package/node-server/dist/cluster/server-registry.d.ts +8 -0
  31. package/node-server/dist/cluster/server-registry.js +31 -7
  32. package/node-server/dist/fs/fs-service.d.ts +55 -7
  33. package/node-server/dist/fs/fs-service.js +489 -80
  34. package/node-server/dist/fs/notebook-formats/percent.d.ts +25 -0
  35. package/node-server/dist/fs/notebook-formats/percent.js +286 -0
  36. package/node-server/dist/fs/notebook-formats/qmd.d.ts +29 -0
  37. package/node-server/dist/fs/notebook-formats/qmd.js +307 -0
  38. package/node-server/dist/fs/notebook-formats/registry.d.ts +12 -0
  39. package/node-server/dist/fs/notebook-formats/registry.js +77 -0
  40. package/node-server/dist/fs/notebook-formats/types.d.ts +37 -0
  41. package/node-server/dist/fs/notebook-formats/types.js +13 -0
  42. package/node-server/dist/idle-exit.d.ts +52 -0
  43. package/node-server/dist/idle-exit.js +83 -0
  44. package/node-server/dist/index.js +129 -6
  45. package/node-server/dist/kernel/kernel-service.d.ts +113 -2
  46. package/node-server/dist/kernel/kernel-service.js +762 -60
  47. package/node-server/dist/notebook/headless-handler.d.ts +2 -0
  48. package/node-server/dist/notebook/headless-handler.js +70 -24
  49. package/node-server/dist/notebook/operation-router.js +7 -2
  50. package/node-server/dist/notebook/undoRedoManager.d.ts +4 -1
  51. package/node-server/dist/notebook/undoRedoManager.js +10 -2
  52. package/node-server/dist/output/display-data.js +2 -0
  53. package/node-server/dist/routes/cluster.js +2 -2
  54. package/node-server/dist/routes/compute.d.ts +8 -0
  55. package/node-server/dist/routes/compute.js +136 -0
  56. package/node-server/dist/routes/fs.js +2 -2
  57. package/node-server/dist/routes/kernel.js +111 -1
  58. package/node-server/dist/routes/notebook.js +29 -1
  59. package/node-server/dist/scheduler/allocation-service.d.ts +43 -0
  60. package/node-server/dist/scheduler/allocation-service.js +169 -0
  61. package/node-server/dist/scheduler/job-template.d.ts +30 -0
  62. package/node-server/dist/scheduler/job-template.js +85 -0
  63. package/node-server/dist/scheduler/mock-scheduler.d.ts +30 -0
  64. package/node-server/dist/scheduler/mock-scheduler.js +121 -0
  65. package/node-server/dist/scheduler/slurm-scheduler.d.ts +31 -0
  66. package/node-server/dist/scheduler/slurm-scheduler.js +393 -0
  67. package/node-server/dist/scheduler/types.d.ts +117 -0
  68. package/node-server/dist/scheduler/types.js +8 -0
  69. package/node-server/dist/scheduler/util.d.ts +7 -0
  70. package/node-server/dist/scheduler/util.js +20 -0
  71. package/node-server/dist/terminal/pty-manager.js +8 -0
  72. package/node-server/dist/terminal/server.js +43 -2
  73. package/node-server/dist/update-check.d.ts +20 -0
  74. package/node-server/dist/update-check.js +114 -0
  75. package/node-server/package.json +1 -0
  76. package/package.json +2 -1
  77. package/dist/assets/index-BvrHu37J.js +0 -648
  78. package/dist/assets/index-Dfj_xsKU.css +0 -32
@@ -0,0 +1,81 @@
1
+ import{D as DOMWidgetModel,a as DOMWidgetView,S as Signal,J as JSONExt,M as Message,A as ArrayExt,i as index_es6$1,b as index_es6$2,c as index_es6$3,d as index_es6$4,P as PromiseDelegate,W as Widget,F as FocusTracker,m as map,U as UUID,e as PanelLayout,f as Panel,g as AttachedProperty,h as JupyterLuminoPanelWidget,$,u as uuid,j as PROTOCOL_VERSION,p as put_buffers,r as reject,k as resolvePromisesDict,l as remove_buffers,n as MessageLoop}from"./services-shim-D6p_A67v.js";import{c as createErrorWidgetModel,E as ErrorWidgetView,a as createErrorWidgetView}from"./errorwidget-C4r2j2DQ.js";import{g as getAugmentedNamespace,c as commonjsGlobal,a as getDefaultExportFromCjs}from"./index-7-YBurka.js";var re={exports:{}},constants,hasRequiredConstants;function requireConstants(){if(hasRequiredConstants)return constants;hasRequiredConstants=1;const t="2.0.0",e=256,o=Number.MAX_SAFE_INTEGER||9007199254740991,i=16,l=e-6;return constants={MAX_LENGTH:e,MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:l,MAX_SAFE_INTEGER:o,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},constants}var debug_1,hasRequiredDebug;function requireDebug(){if(hasRequiredDebug)return debug_1;hasRequiredDebug=1;var t={};return debug_1=typeof process=="object"&&t&&t.NODE_DEBUG&&/\bsemver\b/i.test(t.NODE_DEBUG)?(...o)=>console.error("SEMVER",...o):()=>{},debug_1}var hasRequiredRe;function requireRe(){return hasRequiredRe||(hasRequiredRe=1,(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:o,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:l}=requireConstants(),n=requireDebug();e=t.exports={};const u=e.re=[],d=e.safeRe=[],a=e.src=[],r=e.safeSrc=[],s=e.t={};let h=0;const c="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",l],[c,i]],b=w=>{for(const[_,m]of f)w=w.split(`${_}*`).join(`${_}{0,${m}}`).split(`${_}+`).join(`${_}{1,${m}}`);return w},y=(w,_,m)=>{const A=b(_),g=h++;n(w,g,_),s[w]=g,a[g]=_,r[g]=A,u[g]=new RegExp(_,m?"g":void 0),d[g]=new RegExp(A,m?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","\\d+"),y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${c}*`),y("MAINVERSION",`(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})`),y("MAINVERSIONLOOSE",`(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASEIDENTIFIER",`(?:${a[s.NONNUMERICIDENTIFIER]}|${a[s.NUMERICIDENTIFIER]})`),y("PRERELEASEIDENTIFIERLOOSE",`(?:${a[s.NONNUMERICIDENTIFIER]}|${a[s.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASE",`(?:-(${a[s.PRERELEASEIDENTIFIER]}(?:\\.${a[s.PRERELEASEIDENTIFIER]})*))`),y("PRERELEASELOOSE",`(?:-?(${a[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[s.PRERELEASEIDENTIFIERLOOSE]})*))`),y("BUILDIDENTIFIER",`${c}+`),y("BUILD",`(?:\\+(${a[s.BUILDIDENTIFIER]}(?:\\.${a[s.BUILDIDENTIFIER]})*))`),y("FULLPLAIN",`v?${a[s.MAINVERSION]}${a[s.PRERELEASE]}?${a[s.BUILD]}?`),y("FULL",`^${a[s.FULLPLAIN]}$`),y("LOOSEPLAIN",`[v=\\s]*${a[s.MAINVERSIONLOOSE]}${a[s.PRERELEASELOOSE]}?${a[s.BUILD]}?`),y("LOOSE",`^${a[s.LOOSEPLAIN]}$`),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE",`${a[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),y("XRANGEIDENTIFIER",`${a[s.NUMERICIDENTIFIER]}|x|X|\\*`),y("XRANGEPLAIN",`[v=\\s]*(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:${a[s.PRERELEASE]})?${a[s.BUILD]}?)?)?`),y("XRANGEPLAINLOOSE",`[v=\\s]*(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:${a[s.PRERELEASELOOSE]})?${a[s.BUILD]}?)?)?`),y("XRANGE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAIN]}$`),y("XRANGELOOSE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAINLOOSE]}$`),y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${o}})(?:\\.(\\d{1,${o}}))?(?:\\.(\\d{1,${o}}))?`),y("COERCE",`${a[s.COERCEPLAIN]}(?:$|[^\\d])`),y("COERCEFULL",a[s.COERCEPLAIN]+`(?:${a[s.PRERELEASE]})?(?:${a[s.BUILD]})?(?:$|[^\\d])`),y("COERCERTL",a[s.COERCE],!0),y("COERCERTLFULL",a[s.COERCEFULL],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM",`(\\s*)${a[s.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",y("TILDE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAIN]}$`),y("TILDELOOSE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAINLOOSE]}$`),y("LONECARET","(?:\\^)"),y("CARETTRIM",`(\\s*)${a[s.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",y("CARET",`^${a[s.LONECARET]}${a[s.XRANGEPLAIN]}$`),y("CARETLOOSE",`^${a[s.LONECARET]}${a[s.XRANGEPLAINLOOSE]}$`),y("COMPARATORLOOSE",`^${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]})$|^$`),y("COMPARATOR",`^${a[s.GTLT]}\\s*(${a[s.FULLPLAIN]})$|^$`),y("COMPARATORTRIM",`(\\s*)${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]}|${a[s.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE",`^\\s*(${a[s.XRANGEPLAIN]})\\s+-\\s+(${a[s.XRANGEPLAIN]})\\s*$`),y("HYPHENRANGELOOSE",`^\\s*(${a[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[s.XRANGEPLAINLOOSE]})\\s*$`),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(re,re.exports)),re.exports}var parseOptions_1,hasRequiredParseOptions;function requireParseOptions(){if(hasRequiredParseOptions)return parseOptions_1;hasRequiredParseOptions=1;const t=Object.freeze({loose:!0}),e=Object.freeze({});return parseOptions_1=i=>i?typeof i!="object"?t:i:e,parseOptions_1}var identifiers,hasRequiredIdentifiers;function requireIdentifiers(){if(hasRequiredIdentifiers)return identifiers;hasRequiredIdentifiers=1;const t=/^[0-9]+$/,e=(i,l)=>{if(typeof i=="number"&&typeof l=="number")return i===l?0:i<l?-1:1;const n=t.test(i),u=t.test(l);return n&&u&&(i=+i,l=+l),i===l?0:n&&!u?-1:u&&!n?1:i<l?-1:1};return identifiers={compareIdentifiers:e,rcompareIdentifiers:(i,l)=>e(l,i)},identifiers}var semver$1,hasRequiredSemver$1;function requireSemver$1(){if(hasRequiredSemver$1)return semver$1;hasRequiredSemver$1=1;const t=requireDebug(),{MAX_LENGTH:e,MAX_SAFE_INTEGER:o}=requireConstants(),{safeRe:i,t:l}=requireRe(),n=requireParseOptions(),{compareIdentifiers:u}=requireIdentifiers(),d=(r,s)=>{const h=s.split(".");if(h.length>r.length)return!1;for(let c=0;c<h.length;c++)if(u(r[c],h[c])!==0)return!1;return!0};class a{constructor(s,h){if(h=n(h),s instanceof a){if(s.loose===!!h.loose&&s.includePrerelease===!!h.includePrerelease)return s;s=s.version}else if(typeof s!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof s}".`);if(s.length>e)throw new TypeError(`version is longer than ${e} characters`);t("SemVer",s,h),this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease;const c=s.trim().match(h.loose?i[l.LOOSE]:i[l.FULL]);if(!c)throw new TypeError(`Invalid Version: ${s}`);if(this.raw=s,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");c[4]?this.prerelease=c[4].split(".").map(f=>{if(/^[0-9]+$/.test(f)){const b=+f;if(b>=0&&b<o)return b}return f}):this.prerelease=[],this.build=c[5]?c[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(s){if(t("SemVer.compare",this.version,this.options,s),!(s instanceof a)){if(typeof s=="string"&&s===this.version)return 0;s=new a(s,this.options)}return s.version===this.version?0:this.compareMain(s)||this.comparePre(s)}compareMain(s){return s instanceof a||(s=new a(s,this.options)),this.major<s.major?-1:this.major>s.major?1:this.minor<s.minor?-1:this.minor>s.minor?1:this.patch<s.patch?-1:this.patch>s.patch?1:0}comparePre(s){if(s instanceof a||(s=new a(s,this.options)),this.prerelease.length&&!s.prerelease.length)return-1;if(!this.prerelease.length&&s.prerelease.length)return 1;if(!this.prerelease.length&&!s.prerelease.length)return 0;let h=0;do{const c=this.prerelease[h],f=s.prerelease[h];if(t("prerelease compare",h,c,f),c===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(c===void 0)return-1;if(c===f)continue;return u(c,f)}while(++h)}compareBuild(s){s instanceof a||(s=new a(s,this.options));let h=0;do{const c=this.build[h],f=s.build[h];if(t("build compare",h,c,f),c===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(c===void 0)return-1;if(c===f)continue;return u(c,f)}while(++h)}inc(s,h,c){if(s.startsWith("pre")){if(!h&&c===!1)throw new Error("invalid increment argument: identifier is empty");if(h){const f=`-${h}`.match(this.options.loose?i[l.PRERELEASELOOSE]:i[l.PRERELEASE]);if(!f||f[1]!==h)throw new Error(`invalid identifier: ${h}`)}}switch(s){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",h,c);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",h,c);break;case"prepatch":this.prerelease.length=0,this.inc("patch",h,c),this.inc("pre",h,c);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",h,c),this.inc("pre",h,c);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const f=Number(c)?1:0;if(this.prerelease.length===0)this.prerelease=[f];else{let b=this.prerelease.length;for(;--b>=0;)typeof this.prerelease[b]=="number"&&(this.prerelease[b]++,b=-2);if(b===-1){if(h===this.prerelease.join(".")&&c===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(f)}}if(h){let b=[h,f];if(c===!1&&(b=[h]),d(this.prerelease,h)){const y=this.prerelease[h.split(".").length];isNaN(y)&&(this.prerelease=b)}else this.prerelease=b}break}default:throw new Error(`invalid increment argument: ${s}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return semver$1=a,semver$1}var parse_1$1,hasRequiredParse$1;function requireParse$1(){if(hasRequiredParse$1)return parse_1$1;hasRequiredParse$1=1;const t=requireSemver$1();return parse_1$1=(o,i,l=!1)=>{if(o instanceof t)return o;try{return new t(o,i)}catch(n){if(!l)return null;throw n}},parse_1$1}var valid_1,hasRequiredValid$1;function requireValid$1(){if(hasRequiredValid$1)return valid_1;hasRequiredValid$1=1;const t=requireParse$1();return valid_1=(o,i)=>{const l=t(o,i);return l?l.version:null},valid_1}var clean_1,hasRequiredClean;function requireClean(){if(hasRequiredClean)return clean_1;hasRequiredClean=1;const t=requireParse$1();return clean_1=(o,i)=>{const l=t(o.trim().replace(/^[=v]+/,""),i);return l?l.version:null},clean_1}var inc_1,hasRequiredInc;function requireInc(){if(hasRequiredInc)return inc_1;hasRequiredInc=1;const t=requireSemver$1();return inc_1=(o,i,l,n,u)=>{typeof l=="string"&&(u=n,n=l,l=void 0);try{return new t(o instanceof t?o.version:o,l).inc(i,n,u).version}catch{return null}},inc_1}var diff_1,hasRequiredDiff;function requireDiff(){if(hasRequiredDiff)return diff_1;hasRequiredDiff=1;const t=requireParse$1();return diff_1=(o,i)=>{const l=t(o,null,!0),n=t(i,null,!0),u=l.compare(n);if(u===0)return null;const d=u>0,a=d?l:n,r=d?n:l,s=!!a.prerelease.length;if(!!r.prerelease.length&&!s){if(!r.patch&&!r.minor)return"major";if(r.compareMain(a)===0)return r.minor&&!r.patch?"minor":"patch"}const c=s?"pre":"";return l.major!==n.major?c+"major":l.minor!==n.minor?c+"minor":l.patch!==n.patch?c+"patch":"prerelease"},diff_1}var major_1,hasRequiredMajor;function requireMajor(){if(hasRequiredMajor)return major_1;hasRequiredMajor=1;const t=requireSemver$1();return major_1=(o,i)=>new t(o,i).major,major_1}var minor_1,hasRequiredMinor;function requireMinor(){if(hasRequiredMinor)return minor_1;hasRequiredMinor=1;const t=requireSemver$1();return minor_1=(o,i)=>new t(o,i).minor,minor_1}var patch_1,hasRequiredPatch;function requirePatch(){if(hasRequiredPatch)return patch_1;hasRequiredPatch=1;const t=requireSemver$1();return patch_1=(o,i)=>new t(o,i).patch,patch_1}var prerelease_1,hasRequiredPrerelease;function requirePrerelease(){if(hasRequiredPrerelease)return prerelease_1;hasRequiredPrerelease=1;const t=requireParse$1();return prerelease_1=(o,i)=>{const l=t(o,i);return l&&l.prerelease.length?l.prerelease:null},prerelease_1}var compare_1,hasRequiredCompare;function requireCompare(){if(hasRequiredCompare)return compare_1;hasRequiredCompare=1;const t=requireSemver$1();return compare_1=(o,i,l)=>new t(o,l).compare(new t(i,l)),compare_1}var rcompare_1,hasRequiredRcompare;function requireRcompare(){if(hasRequiredRcompare)return rcompare_1;hasRequiredRcompare=1;const t=requireCompare();return rcompare_1=(o,i,l)=>t(i,o,l),rcompare_1}var compareLoose_1,hasRequiredCompareLoose;function requireCompareLoose(){if(hasRequiredCompareLoose)return compareLoose_1;hasRequiredCompareLoose=1;const t=requireCompare();return compareLoose_1=(o,i)=>t(o,i,!0),compareLoose_1}var compareBuild_1,hasRequiredCompareBuild;function requireCompareBuild(){if(hasRequiredCompareBuild)return compareBuild_1;hasRequiredCompareBuild=1;const t=requireSemver$1();return compareBuild_1=(o,i,l)=>{const n=new t(o,l),u=new t(i,l);return n.compare(u)||n.compareBuild(u)},compareBuild_1}var sort_1,hasRequiredSort;function requireSort(){if(hasRequiredSort)return sort_1;hasRequiredSort=1;const t=requireCompareBuild();return sort_1=(o,i)=>o.sort((l,n)=>t(l,n,i)),sort_1}var rsort_1,hasRequiredRsort;function requireRsort(){if(hasRequiredRsort)return rsort_1;hasRequiredRsort=1;const t=requireCompareBuild();return rsort_1=(o,i)=>o.sort((l,n)=>t(n,l,i)),rsort_1}var gt_1,hasRequiredGt;function requireGt(){if(hasRequiredGt)return gt_1;hasRequiredGt=1;const t=requireCompare();return gt_1=(o,i,l)=>t(o,i,l)>0,gt_1}var lt_1,hasRequiredLt;function requireLt(){if(hasRequiredLt)return lt_1;hasRequiredLt=1;const t=requireCompare();return lt_1=(o,i,l)=>t(o,i,l)<0,lt_1}var eq_1,hasRequiredEq;function requireEq(){if(hasRequiredEq)return eq_1;hasRequiredEq=1;const t=requireCompare();return eq_1=(o,i,l)=>t(o,i,l)===0,eq_1}var neq_1,hasRequiredNeq;function requireNeq(){if(hasRequiredNeq)return neq_1;hasRequiredNeq=1;const t=requireCompare();return neq_1=(o,i,l)=>t(o,i,l)!==0,neq_1}var gte_1,hasRequiredGte;function requireGte(){if(hasRequiredGte)return gte_1;hasRequiredGte=1;const t=requireCompare();return gte_1=(o,i,l)=>t(o,i,l)>=0,gte_1}var lte_1,hasRequiredLte;function requireLte(){if(hasRequiredLte)return lte_1;hasRequiredLte=1;const t=requireCompare();return lte_1=(o,i,l)=>t(o,i,l)<=0,lte_1}var cmp_1,hasRequiredCmp;function requireCmp(){if(hasRequiredCmp)return cmp_1;hasRequiredCmp=1;const t=requireEq(),e=requireNeq(),o=requireGt(),i=requireGte(),l=requireLt(),n=requireLte();return cmp_1=(d,a,r,s)=>{switch(a){case"===":return typeof d=="object"&&(d=d.version),typeof r=="object"&&(r=r.version),d===r;case"!==":return typeof d=="object"&&(d=d.version),typeof r=="object"&&(r=r.version),d!==r;case"":case"=":case"==":return t(d,r,s);case"!=":return e(d,r,s);case">":return o(d,r,s);case">=":return i(d,r,s);case"<":return l(d,r,s);case"<=":return n(d,r,s);default:throw new TypeError(`Invalid operator: ${a}`)}},cmp_1}var coerce_1,hasRequiredCoerce;function requireCoerce(){if(hasRequiredCoerce)return coerce_1;hasRequiredCoerce=1;const t=requireSemver$1(),e=requireParse$1(),{safeRe:o,t:i}=requireRe();return coerce_1=(n,u)=>{if(n instanceof t)return n;if(typeof n=="number"&&(n=String(n)),typeof n!="string")return null;u=u||{};let d=null;if(!u.rtl)d=n.match(u.includePrerelease?o[i.COERCEFULL]:o[i.COERCE]);else{const f=u.includePrerelease?o[i.COERCERTLFULL]:o[i.COERCERTL];let b;for(;(b=f.exec(n))&&(!d||d.index+d[0].length!==n.length);)(!d||b.index+b[0].length!==d.index+d[0].length)&&(d=b),f.lastIndex=b.index+b[1].length+b[2].length;f.lastIndex=-1}if(d===null)return null;const a=d[2],r=d[3]||"0",s=d[4]||"0",h=u.includePrerelease&&d[5]?`-${d[5]}`:"",c=u.includePrerelease&&d[6]?`+${d[6]}`:"";return e(`${a}.${r}.${s}${h}${c}`,u)},coerce_1}var truncate_1,hasRequiredTruncate;function requireTruncate(){if(hasRequiredTruncate)return truncate_1;hasRequiredTruncate=1;const t=requireParse$1(),e=requireConstants(),o=requireSemver$1(),i=(d,a,r)=>{if(!e.RELEASE_TYPES.includes(a))return null;const s=l(d,r);return s&&n(s,a)},l=(d,a)=>{const r=d instanceof o?d.version:d;return t(r,a)},n=(d,a)=>{if(u(a))return d.version;switch(d.prerelease=[],a){case"major":d.minor=0,d.patch=0;break;case"minor":d.patch=0;break}return d.format()},u=d=>d.startsWith("pre");return truncate_1=i,truncate_1}var lrucache,hasRequiredLrucache;function requireLrucache(){if(hasRequiredLrucache)return lrucache;hasRequiredLrucache=1;class t{constructor(){this.max=1e3,this.map=new Map}get(o){const i=this.map.get(o);if(i!==void 0)return this.map.delete(o),this.map.set(o,i),i}delete(o){return this.map.delete(o)}set(o,i){if(!this.delete(o)&&i!==void 0){if(this.map.size>=this.max){const n=this.map.keys().next().value;this.delete(n)}this.map.set(o,i)}return this}}return lrucache=t,lrucache}var range,hasRequiredRange;function requireRange(){if(hasRequiredRange)return range;hasRequiredRange=1;const t=/\s+/g;class e{constructor(B,V){if(V=l(V),B instanceof e)return B.loose===!!V.loose&&B.includePrerelease===!!V.includePrerelease?B:new e(B.raw,V);if(B instanceof n)return this.raw=B.value,this.set=[[B]],this.formatted=void 0,this;if(this.options=V,this.loose=!!V.loose,this.includePrerelease=!!V.includePrerelease,this.raw=B.trim().replace(t," "),this.set=this.raw.split("||").map(F=>this.parseRange(F.trim())).filter(F=>F.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const F=this.set[0];if(this.set=this.set.filter(j=>!_(j[0])),this.set.length===0)this.set=[F];else if(this.set.length>1){for(const j of this.set)if(j.length===1&&m(j[0])){this.set=[j];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let B=0;B<this.set.length;B++){B>0&&(this.formatted+="||");const V=this.set[B];for(let F=0;F<V.length;F++)F>0&&(this.formatted+=" "),this.formatted+=V[F].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(B){B=B.replace(w,"");const F=((this.options.includePrerelease&&b)|(this.options.loose&&y))+":"+B,j=i.get(F);if(j)return j;const K=this.options.loose,k=K?a[s.HYPHENRANGELOOSE]:a[s.HYPHENRANGE];B=B.replace(k,D(this.options.includePrerelease)),u("hyphen replace",B),B=B.replace(a[s.COMPARATORTRIM],h),u("comparator trim",B),B=B.replace(a[s.TILDETRIM],c),u("tilde trim",B),B=B.replace(a[s.CARETTRIM],f),u("caret trim",B);let q=B.split(" ").map(z=>g(z,this.options)).join(" ").split(/\s+/).map(z=>M(z,this.options));K&&(q=q.filter(z=>(u("loose invalid filter",z,this.options),!!z.match(a[s.COMPARATORLOOSE])))),u("range list",q);const N=new Map,W=q.map(z=>new n(z,this.options));for(const z of W){if(_(z))return[z];N.set(z.value,z)}N.size>1&&N.has("")&&N.delete("");const J=[...N.values()];return i.set(F,J),J}intersects(B,V){if(!(B instanceof e))throw new TypeError("a Range is required");return this.set.some(F=>A(F,V)&&B.set.some(j=>A(j,V)&&F.every(K=>j.every(k=>K.intersects(k,V)))))}test(B){if(!B)return!1;if(typeof B=="string")try{B=new d(B,this.options)}catch{return!1}for(let V=0;V<this.set.length;V++)if(H(this.set[V],B,this.options))return!0;return!1}}range=e;const o=requireLrucache(),i=new o,l=requireParseOptions(),n=requireComparator(),u=requireDebug(),d=requireSemver$1(),{safeRe:a,src:r,t:s,comparatorTrimReplace:h,tildeTrimReplace:c,caretTrimReplace:f}=requireRe(),{FLAG_INCLUDE_PRERELEASE:b,FLAG_LOOSE:y}=requireConstants(),w=new RegExp(r[s.BUILD],"g"),_=U=>U.value==="<0.0.0-0",m=U=>U.value==="",A=(U,B)=>{let V=!0;const F=U.slice();let j=F.pop();for(;V&&F.length;)V=F.every(K=>j.intersects(K,B)),j=F.pop();return V},g=(U,B)=>(U=U.replace(a[s.BUILD],""),u("comp",U,B),U=E(U,B),u("caret",U),U=C(U,B),u("tildes",U),U=S(U,B),u("xrange",U),U=x(U,B),u("stars",U),U),p=U=>!U||U.toLowerCase()==="x"||U==="*",v=(U,B,V)=>p(U)&&!p(B)||p(B)&&V&&!p(V),C=(U,B)=>U.trim().split(/\s+/).map(V=>P(V,B)).join(" "),P=(U,B)=>{const V=B.loose?a[s.TILDELOOSE]:a[s.TILDE],F=B.includePrerelease?"-0":"";return U.replace(V,(j,K,k,q,N)=>{u("tilde",U,j,K,k,q,N);let W;return p(K)?W="":p(k)?W=`>=${K}.0.0${F} <${+K+1}.0.0-0`:p(q)?W=`>=${K}.${k}.0${F} <${K}.${+k+1}.0-0`:N?(u("replaceTilde pr",N),W=`>=${K}.${k}.${q}-${N} <${K}.${+k+1}.0-0`):W=`>=${K}.${k}.${q} <${K}.${+k+1}.0-0`,u("tilde return",W),W})},E=(U,B)=>U.trim().split(/\s+/).map(V=>R(V,B)).join(" "),R=(U,B)=>{u("caret",U,B);const V=B.loose?a[s.CARETLOOSE]:a[s.CARET],F=B.includePrerelease?"-0":"";return U.replace(V,(j,K,k,q,N)=>{u("caret",U,j,K,k,q,N);let W;return p(K)?W="":p(k)?W=`>=${K}.0.0${F} <${+K+1}.0.0-0`:p(q)?K==="0"?W=`>=${K}.${k}.0${F} <${K}.${+k+1}.0-0`:W=`>=${K}.${k}.0${F} <${+K+1}.0.0-0`:N?(u("replaceCaret pr",N),K==="0"?k==="0"?W=`>=${K}.${k}.${q}-${N} <${K}.${k}.${+q+1}-0`:W=`>=${K}.${k}.${q}-${N} <${K}.${+k+1}.0-0`:W=`>=${K}.${k}.${q}-${N} <${+K+1}.0.0-0`):(u("no pr"),K==="0"?k==="0"?W=`>=${K}.${k}.${q} <${K}.${k}.${+q+1}-0`:W=`>=${K}.${k}.${q} <${K}.${+k+1}.0-0`:W=`>=${K}.${k}.${q} <${+K+1}.0.0-0`),u("caret return",W),W})},S=(U,B)=>(u("replaceXRanges",U,B),U.split(/\s+/).map(V=>I(V,B)).join(" ")),I=(U,B)=>{U=U.trim();const V=B.loose?a[s.XRANGELOOSE]:a[s.XRANGE];return U.replace(V,(F,j,K,k,q,N)=>{if(u("xRange",U,F,j,K,k,q,N),v(K,k,q))return U;const W=p(K),J=W||p(k),z=J||p(q),ne=z;return j==="="&&ne&&(j=""),N=B.includePrerelease?"-0":"",W?j===">"||j==="<"?F="<0.0.0-0":F="*":j&&ne?(J&&(k=0),q=0,j===">"?(j=">=",J?(K=+K+1,k=0,q=0):(k=+k+1,q=0)):j==="<="&&(j="<",J?K=+K+1:k=+k+1),j==="<"&&(N="-0"),F=`${j+K}.${k}.${q}${N}`):J?F=`>=${K}.0.0${N} <${+K+1}.0.0-0`:z&&(F=`>=${K}.${k}.0${N} <${K}.${+k+1}.0-0`),u("xRange return",F),F})},x=(U,B)=>(u("replaceStars",U,B),U.trim().replace(a[s.STAR],"")),M=(U,B)=>(u("replaceGTE0",U,B),U.trim().replace(a[B.includePrerelease?s.GTE0PRE:s.GTE0],"")),D=U=>(B,V,F,j,K,k,q,N,W,J,z,ne)=>(p(F)?V="":p(j)?V=`>=${F}.0.0${U?"-0":""}`:p(K)?V=`>=${F}.${j}.0${U?"-0":""}`:k?V=`>=${V}`:V=`>=${V}${U?"-0":""}`,p(W)?N="":p(J)?N=`<${+W+1}.0.0-0`:p(z)?N=`<${W}.${+J+1}.0-0`:ne?N=`<=${W}.${J}.${z}-${ne}`:U?N=`<${W}.${J}.${+z+1}-0`:N=`<=${N}`,`${V} ${N}`.trim()),H=(U,B,V)=>{for(let F=0;F<U.length;F++)if(!U[F].test(B))return!1;if(B.prerelease.length&&!V.includePrerelease){for(let F=0;F<U.length;F++)if(u(U[F].semver),U[F].semver!==n.ANY&&U[F].semver.prerelease.length>0){const j=U[F].semver;if(j.major===B.major&&j.minor===B.minor&&j.patch===B.patch)return!0}return!1}return!0};return range}var comparator,hasRequiredComparator;function requireComparator(){if(hasRequiredComparator)return comparator;hasRequiredComparator=1;const t=Symbol("SemVer ANY");class e{static get ANY(){return t}constructor(s,h){if(h=o(h),s instanceof e){if(s.loose===!!h.loose)return s;s=s.value}s=s.trim().split(/\s+/).join(" "),u("comparator",s,h),this.options=h,this.loose=!!h.loose,this.parse(s),this.semver===t?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(s){const h=this.options.loose?i[l.COMPARATORLOOSE]:i[l.COMPARATOR],c=s.match(h);if(!c)throw new TypeError(`Invalid comparator: ${s}`);this.operator=c[1]!==void 0?c[1]:"",this.operator==="="&&(this.operator=""),c[2]?this.semver=new d(c[2],this.options.loose):this.semver=t}toString(){return this.value}test(s){if(u("Comparator.test",s,this.options.loose),this.semver===t||s===t)return!0;if(typeof s=="string")try{s=new d(s,this.options)}catch{return!1}return n(s,this.operator,this.semver,this.options)}intersects(s,h){if(!(s instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new a(s.value,h).test(this.value):s.operator===""?s.value===""?!0:new a(this.value,h).test(s.semver):(h=o(h),h.includePrerelease&&(this.value==="<0.0.0-0"||s.value==="<0.0.0-0")||!h.includePrerelease&&(this.value.startsWith("<0.0.0")||s.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&s.operator.startsWith(">")||this.operator.startsWith("<")&&s.operator.startsWith("<")||this.semver.version===s.semver.version&&this.operator.includes("=")&&s.operator.includes("=")||n(this.semver,"<",s.semver,h)&&this.operator.startsWith(">")&&s.operator.startsWith("<")||n(this.semver,">",s.semver,h)&&this.operator.startsWith("<")&&s.operator.startsWith(">")))}}comparator=e;const o=requireParseOptions(),{safeRe:i,t:l}=requireRe(),n=requireCmp(),u=requireDebug(),d=requireSemver$1(),a=requireRange();return comparator}var satisfies_1,hasRequiredSatisfies;function requireSatisfies(){if(hasRequiredSatisfies)return satisfies_1;hasRequiredSatisfies=1;const t=requireRange();return satisfies_1=(o,i,l)=>{try{i=new t(i,l)}catch{return!1}return i.test(o)},satisfies_1}var toComparators_1,hasRequiredToComparators;function requireToComparators(){if(hasRequiredToComparators)return toComparators_1;hasRequiredToComparators=1;const t=requireRange();return toComparators_1=(o,i)=>new t(o,i).set.map(l=>l.map(n=>n.value).join(" ").trim().split(" ")),toComparators_1}var maxSatisfying_1,hasRequiredMaxSatisfying;function requireMaxSatisfying(){if(hasRequiredMaxSatisfying)return maxSatisfying_1;hasRequiredMaxSatisfying=1;const t=requireSemver$1(),e=requireRange();return maxSatisfying_1=(i,l,n)=>{let u=null,d=null,a=null;try{a=new e(l,n)}catch{return null}return i.forEach(r=>{a.test(r)&&(!u||d.compare(r)===-1)&&(u=r,d=new t(u,n))}),u},maxSatisfying_1}var minSatisfying_1,hasRequiredMinSatisfying;function requireMinSatisfying(){if(hasRequiredMinSatisfying)return minSatisfying_1;hasRequiredMinSatisfying=1;const t=requireSemver$1(),e=requireRange();return minSatisfying_1=(i,l,n)=>{let u=null,d=null,a=null;try{a=new e(l,n)}catch{return null}return i.forEach(r=>{a.test(r)&&(!u||d.compare(r)===1)&&(u=r,d=new t(u,n))}),u},minSatisfying_1}var minVersion_1,hasRequiredMinVersion;function requireMinVersion(){if(hasRequiredMinVersion)return minVersion_1;hasRequiredMinVersion=1;const t=requireSemver$1(),e=requireRange(),o=requireGt();return minVersion_1=(l,n)=>{l=new e(l,n);let u=new t("0.0.0");if(l.test(u)||(u=new t("0.0.0-0"),l.test(u)))return u;u=null;for(let d=0;d<l.set.length;++d){const a=l.set[d];let r=null;a.forEach(s=>{const h=new t(s.semver.version);switch(s.operator){case">":h.prerelease.length===0?h.patch++:h.prerelease.push(0),h.raw=h.format();case"":case">=":(!r||o(h,r))&&(r=h);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),r&&(!u||o(u,r))&&(u=r)}return u&&l.test(u)?u:null},minVersion_1}var valid,hasRequiredValid;function requireValid(){if(hasRequiredValid)return valid;hasRequiredValid=1;const t=requireRange();return valid=(o,i)=>{try{return new t(o,i).range||"*"}catch{return null}},valid}var outside_1,hasRequiredOutside;function requireOutside(){if(hasRequiredOutside)return outside_1;hasRequiredOutside=1;const t=requireSemver$1(),e=requireComparator(),{ANY:o}=e,i=requireRange(),l=requireSatisfies(),n=requireGt(),u=requireLt(),d=requireLte(),a=requireGte();return outside_1=(s,h,c,f)=>{s=new t(s,f),h=new i(h,f);let b,y,w,_,m;switch(c){case">":b=n,y=d,w=u,_=">",m=">=";break;case"<":b=u,y=a,w=n,_="<",m="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(s,h,f))return!1;for(let A=0;A<h.set.length;++A){const g=h.set[A];let p=null,v=null;if(g.forEach(C=>{C.semver===o&&(C=new e(">=0.0.0")),p=p||C,v=v||C,b(C.semver,p.semver,f)?p=C:w(C.semver,v.semver,f)&&(v=C)}),p.operator===_||p.operator===m||(!v.operator||v.operator===_)&&y(s,v.semver))return!1;if(v.operator===m&&w(s,v.semver))return!1}return!0},outside_1}var gtr_1,hasRequiredGtr;function requireGtr(){if(hasRequiredGtr)return gtr_1;hasRequiredGtr=1;const t=requireOutside();return gtr_1=(o,i,l)=>t(o,i,">",l),gtr_1}var ltr_1,hasRequiredLtr;function requireLtr(){if(hasRequiredLtr)return ltr_1;hasRequiredLtr=1;const t=requireOutside();return ltr_1=(o,i,l)=>t(o,i,"<",l),ltr_1}var intersects_1,hasRequiredIntersects;function requireIntersects(){if(hasRequiredIntersects)return intersects_1;hasRequiredIntersects=1;const t=requireRange();return intersects_1=(o,i,l)=>(o=new t(o,l),i=new t(i,l),o.intersects(i,l)),intersects_1}var simplify,hasRequiredSimplify;function requireSimplify(){if(hasRequiredSimplify)return simplify;hasRequiredSimplify=1;const t=requireSatisfies(),e=requireCompare();return simplify=(o,i,l)=>{const n=[];let u=null,d=null;const a=o.sort((c,f)=>e(c,f,l));for(const c of a)t(c,i,l)?(d=c,u||(u=c)):(d&&n.push([u,d]),d=null,u=null);u&&n.push([u,null]);const r=[];for(const[c,f]of n)c===f?r.push(c):!f&&c===a[0]?r.push("*"):f?c===a[0]?r.push(`<=${f}`):r.push(`${c} - ${f}`):r.push(`>=${c}`);const s=r.join(" || "),h=typeof i.raw=="string"?i.raw:String(i);return s.length<h.length?s:i},simplify}var subset_1,hasRequiredSubset;function requireSubset(){if(hasRequiredSubset)return subset_1;hasRequiredSubset=1;const t=requireRange(),e=requireComparator(),{ANY:o}=e,i=requireSatisfies(),l=requireCompare(),n=(h,c,f={})=>{if(h===c)return!0;h=new t(h,f),c=new t(c,f);let b=!1;e:for(const y of h.set){for(const w of c.set){const _=a(y,w,f);if(b=b||_!==null,_)continue e}if(b)return!1}return!0},u=[new e(">=0.0.0-0")],d=[new e(">=0.0.0")],a=(h,c,f)=>{if(h===c)return!0;if(h.length===1&&h[0].semver===o){if(c.length===1&&c[0].semver===o)return!0;f.includePrerelease?h=u:h=d}if(c.length===1&&c[0].semver===o){if(f.includePrerelease)return!0;c=d}const b=new Set;let y,w;for(const P of h)P.operator===">"||P.operator===">="?y=r(y,P,f):P.operator==="<"||P.operator==="<="?w=s(w,P,f):b.add(P.semver);if(b.size>1)return null;let _;if(y&&w){if(_=l(y.semver,w.semver,f),_>0)return null;if(_===0&&(y.operator!==">="||w.operator!=="<="))return null}for(const P of b){if(y&&!i(P,String(y),f)||w&&!i(P,String(w),f))return null;for(const E of c)if(!i(P,String(E),f))return!1;return!0}let m,A,g,p,v=w&&!f.includePrerelease&&w.semver.prerelease.length?w.semver:!1,C=y&&!f.includePrerelease&&y.semver.prerelease.length?y.semver:!1;v&&v.prerelease.length===1&&w.operator==="<"&&v.prerelease[0]===0&&(v=!1);for(const P of c){if(p=p||P.operator===">"||P.operator===">=",g=g||P.operator==="<"||P.operator==="<=",y){if(C&&P.semver.prerelease&&P.semver.prerelease.length&&P.semver.major===C.major&&P.semver.minor===C.minor&&P.semver.patch===C.patch&&(C=!1),P.operator===">"||P.operator===">="){if(m=r(y,P,f),m===P&&m!==y)return!1}else if(y.operator===">="&&!P.test(y.semver))return!1}if(w){if(v&&P.semver.prerelease&&P.semver.prerelease.length&&P.semver.major===v.major&&P.semver.minor===v.minor&&P.semver.patch===v.patch&&(v=!1),P.operator==="<"||P.operator==="<="){if(A=s(w,P,f),A===P&&A!==w)return!1}else if(w.operator==="<="&&!P.test(w.semver))return!1}if(!P.operator&&(w||y)&&_!==0)return!1}return!(y&&g&&!w&&_!==0||w&&p&&!y&&_!==0||C||v)},r=(h,c,f)=>{if(!h)return c;const b=l(h.semver,c.semver,f);return b>0?h:b<0||c.operator===">"&&h.operator===">="?c:h},s=(h,c,f)=>{if(!h)return c;const b=l(h.semver,c.semver,f);return b<0?h:b>0||c.operator==="<"&&h.operator==="<="?c:h};return subset_1=n,subset_1}var semver,hasRequiredSemver;function requireSemver(){if(hasRequiredSemver)return semver;hasRequiredSemver=1;const t=requireRe(),e=requireConstants(),o=requireSemver$1(),i=requireIdentifiers(),l=requireParse$1(),n=requireValid$1(),u=requireClean(),d=requireInc(),a=requireDiff(),r=requireMajor(),s=requireMinor(),h=requirePatch(),c=requirePrerelease(),f=requireCompare(),b=requireRcompare(),y=requireCompareLoose(),w=requireCompareBuild(),_=requireSort(),m=requireRsort(),A=requireGt(),g=requireLt(),p=requireEq(),v=requireNeq(),C=requireGte(),P=requireLte(),E=requireCmp(),R=requireCoerce(),S=requireTruncate(),I=requireComparator(),x=requireRange(),M=requireSatisfies(),D=requireToComparators(),H=requireMaxSatisfying(),U=requireMinSatisfying(),B=requireMinVersion(),V=requireValid(),F=requireOutside(),j=requireGtr(),K=requireLtr(),k=requireIntersects(),q=requireSimplify(),N=requireSubset();return semver={parse:l,valid:n,clean:u,inc:d,diff:a,major:r,minor:s,patch:h,prerelease:c,compare:f,rcompare:b,compareLoose:y,compareBuild:w,sort:_,rsort:m,gt:A,lt:g,eq:p,neq:v,gte:C,lte:P,cmp:E,coerce:R,truncate:S,Comparator:I,Range:x,satisfies:M,toComparators:D,maxSatisfying:H,minSatisfying:U,minVersion:B,validRange:V,outside:F,gtr:j,ltr:K,intersects:k,simplifyRange:q,subset:N,SemVer:o,re:t.re,src:t.src,tokens:t.t,SEMVER_SPEC_VERSION:e.SEMVER_SPEC_VERSION,RELEASE_TYPES:e.RELEASE_TYPES,compareIdentifiers:i.compareIdentifiers,rcompareIdentifiers:i.rcompareIdentifiers},semver}var semverExports=requireSemver();const OUTPUT_WIDGET_VERSION="1.0.0";let OutputModel$2=class extends DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"OutputModel",_view_name:"OutputView",_model_module:"@jupyter-widgets/output",_view_module:"@jupyter-widgets/output",_model_module_version:OUTPUT_WIDGET_VERSION,_view_module_version:OUTPUT_WIDGET_VERSION})}},OutputView$1=class extends DOMWidgetView{};function isExecuteResult(t){return t.output_type==="execute_result"}function isDisplayData(t){return t.output_type==="display_data"}function isDisplayUpdate(t){return t.output_type==="update_display_data"}function isStream(t){return t.output_type==="stream"}function isError(t){return t.output_type==="error"}class ObservableMap{constructor(e={}){if(this._map=new Map,this._changed=new Signal(this),this._isDisposed=!1,this._itemCmp=e.itemCmp||Private$9.itemCmp,e.values)for(const o in e.values)this._map.set(o,e.values[o])}get type(){return"Map"}get changed(){return this._changed}get isDisposed(){return this._isDisposed}get size(){return this._map.size}set(e,o){const i=this._map.get(e);if(o===void 0)throw Error("Cannot set an undefined value, use remove");const l=this._itemCmp;return i!==void 0&&l(i,o)||(this._map.set(e,o),this._changed.emit({type:i?"change":"add",key:e,oldValue:i,newValue:o})),i}get(e){return this._map.get(e)}has(e){return this._map.has(e)}keys(){const e=[];return this._map.forEach((o,i)=>{e.push(i)}),e}values(){const e=[];return this._map.forEach((o,i)=>{e.push(o)}),e}delete(e){const o=this._map.get(e);return this._map.delete(e)&&this._changed.emit({type:"remove",key:e,oldValue:o,newValue:void 0}),o}clear(){const e=this.keys();for(let o=0;o<e.length;o++)this.delete(e[o])}dispose(){this.isDisposed||(this._isDisposed=!0,Signal.clearData(this),this._map.clear())}}var Private$9;(function(t){function e(o,i){return o===i}t.itemCmp=e})(Private$9||(Private$9={}));class ObservableJSON extends ObservableMap{constructor(e={}){super({itemCmp:JSONExt.deepEqual,values:e.values})}toJSON(){const e=Object.create(null),o=this.keys();for(const i of o){const l=this.get(i);l!==void 0&&(e[i]=JSONExt.deepCopy(l))}return e}}(function(t){class e extends Message{constructor(i,l){super(i),this.args=l}}t.ChangeMessage=e})(ObservableJSON||(ObservableJSON={}));class ObservableString{constructor(e=""){this._text="",this._isDisposed=!1,this._changed=new Signal(this),this._text=e}get type(){return"String"}get changed(){return this._changed}set text(e){e.length===this._text.length&&e===this._text||(this._text=e,this._changed.emit({type:"set",start:0,end:e.length,value:e}))}get text(){return this._text}insert(e,o,i){this._text=this._text.slice(0,e)+o+this._text.slice(e),this._changed.emit({type:"insert",start:e,end:e+o.length,value:o,options:i})}remove(e,o,i){const l=this._text.slice(e,o);this._text=this._text.slice(0,e)+this._text.slice(o),this._changed.emit({type:"remove",start:e,end:o,value:l,options:i})}clear(){this.text=""}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,Signal.clearData(this),this.clear())}}class ObservableList{constructor(e={}){if(this._array=[],this._isDisposed=!1,this._changed=new Signal(this),e.values)for(const o of e.values)this._array.push(o);this._itemCmp=e.itemCmp||Private$8.itemCmp}get type(){return"List"}get changed(){return this._changed}get length(){return this._array.length}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,Signal.clearData(this),this.clear())}[Symbol.iterator](){return this._array[Symbol.iterator]()}get(e){return this._array[e]}set(e,o){const i=this._array[e];if(o===void 0)throw new Error("Cannot set an undefined item");const l=this._itemCmp;l(i,o)||(this._array[e]=o,this._changed.emit({type:"set",oldIndex:e,newIndex:e,oldValues:[i],newValues:[o]}))}push(e){const o=this._array.push(e);return this._changed.emit({type:"add",oldIndex:-1,newIndex:this.length-1,oldValues:[],newValues:[e]}),o}insert(e,o){e===this._array.length?this._array.push(o):ArrayExt.insert(this._array,e,o),this._changed.emit({type:"add",oldIndex:-2,newIndex:e,oldValues:[],newValues:[o]})}removeValue(e){const o=this._itemCmp,i=ArrayExt.findFirstIndex(this._array,l=>o(l,e));return i<0||this.remove(i),i}remove(e){const o=ArrayExt.removeAt(this._array,e);if(o!==void 0)return this._changed.emit({type:"remove",oldIndex:e,newIndex:-1,newValues:[],oldValues:[o]}),o}clear(){const e=this._array.slice();this._array.length=0,this._changed.emit({type:"clear",oldIndex:0,newIndex:0,newValues:[],oldValues:e})}move(e,o){if(this.length<=1||e===o)return;const i=[this._array[e]];ArrayExt.move(this._array,e,o),this._changed.emit({type:"move",oldIndex:e,newIndex:o,oldValues:i,newValues:i})}pushAll(e){const o=this.length;for(const i of e)this._array.push(i);return this._changed.emit({type:"add",oldIndex:-1,newIndex:o,oldValues:[],newValues:Array.from(e)}),this.length}insertAll(e,o){const i=e;for(const l of o)ArrayExt.insert(this._array,e++,l);this._changed.emit({type:"add",oldIndex:-2,newIndex:i,oldValues:[],newValues:Array.from(o)})}removeRange(e,o){const i=this._array.slice(e,o);for(let l=e;l<o;l++)ArrayExt.removeAt(this._array,e);return this._changed.emit({type:"remove",oldIndex:e,newIndex:-1,oldValues:i,newValues:[]}),this.length}}var Private$8;(function(t){function e(o,i){return o===i}t.itemCmp=e})(Private$8||(Private$8={}));var lib$8={},dataconnector={},hasRequiredDataconnector;function requireDataconnector(){if(hasRequiredDataconnector)return dataconnector;hasRequiredDataconnector=1,Object.defineProperty(dataconnector,"__esModule",{value:!0}),dataconnector.DataConnector=void 0;class t{async list(o){throw new Error("DataConnector#list method has not been implemented.")}async remove(o){throw new Error("DataConnector#remove method has not been implemented.")}async save(o,i){throw new Error("DataConnector#save method has not been implemented.")}}return dataconnector.DataConnector=t,dataconnector}var interfaces$1={},hasRequiredInterfaces$1;function requireInterfaces$1(){return hasRequiredInterfaces$1||(hasRequiredInterfaces$1=1,Object.defineProperty(interfaces$1,"__esModule",{value:!0})),interfaces$1}var restorablepool={},dist$1={exports:{}};const require$$0$1=getAugmentedNamespace(index_es6$1);var dist=dist$1.exports,hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,(function(t,e){(function(o,i){i(e,require$$0$1)})(dist,(function(o,i){o.JSONExt=void 0,(function(h){h.emptyObject=Object.freeze({}),h.emptyArray=Object.freeze([]);function c(p){return p===null||typeof p=="boolean"||typeof p=="number"||typeof p=="string"}h.isPrimitive=c;function f(p){return Array.isArray(p)}h.isArray=f;function b(p){return!c(p)&&!f(p)}h.isObject=b;function y(p,v){if(p===v)return!0;if(c(p)||c(v))return!1;let C=f(p),P=f(v);return C!==P?!1:C&&P?_(p,v):m(p,v)}h.deepEqual=y;function w(p){return c(p)?p:f(p)?A(p):g(p)}h.deepCopy=w;function _(p,v){if(p===v)return!0;if(p.length!==v.length)return!1;for(let C=0,P=p.length;C<P;++C)if(!y(p[C],v[C]))return!1;return!0}function m(p,v){if(p===v)return!0;for(let C in p)if(p[C]!==void 0&&!(C in v))return!1;for(let C in v)if(v[C]!==void 0&&!(C in p))return!1;for(let C in p){let P=p[C],E=v[C];if(!(P===void 0&&E===void 0)&&(P===void 0||E===void 0||!y(P,E)))return!1}return!0}function A(p){let v=new Array(p.length);for(let C=0,P=p.length;C<P;++C)v[C]=w(p[C]);return v}function g(p){let v={};for(let C in p){let P=p[C];P!==void 0&&(v[C]=w(P))}return v}})(o.JSONExt||(o.JSONExt={}));class l{constructor(){this._types=[],this._values=[]}types(){return this._types.slice()}hasData(c){return this._types.indexOf(c)!==-1}getData(c){let f=this._types.indexOf(c);return f!==-1?this._values[f]:void 0}setData(c,f){this.clearData(c),this._types.push(c),this._values.push(f)}clearData(c){let f=this._types.indexOf(c);f!==-1&&(this._types.splice(f,1),this._values.splice(f,1))}clear(){this._types.length=0,this._values.length=0}}class n{constructor(c={}){this._application=null,this._validatePlugin=()=>!0,this._plugins=new Map,this._services=new Map,c.validatePlugin&&(console.info("Plugins may be rejected by the custom validation plugin method."),this._validatePlugin=c.validatePlugin)}get application(){return this._application}set application(c){if(this._application!==null)throw Error("PluginRegistry.application is already set. It cannot be overridden.");this._application=c}get deferredPlugins(){return Array.from(this._plugins).filter(([c,f])=>f.autoStart==="defer").map(([c,f])=>c)}getPluginDescription(c){var f,b;return(b=(f=this._plugins.get(c))===null||f===void 0?void 0:f.description)!==null&&b!==void 0?b:""}hasPlugin(c){return this._plugins.has(c)}isPluginActivated(c){var f,b;return(b=(f=this._plugins.get(c))===null||f===void 0?void 0:f.activated)!==null&&b!==void 0?b:!1}listPlugins(){return Array.from(this._plugins.keys())}registerPlugin(c){if(this._plugins.has(c.id))throw new TypeError(`Plugin '${c.id}' is already registered.`);if(!this._validatePlugin(c))throw new Error(`Plugin '${c.id}' is not valid.`);const f=u.createPluginData(c);u.ensureNoCycle(f,this._plugins,this._services),f.provides&&this._services.set(f.provides,f.id),this._plugins.set(f.id,f)}registerPlugins(c){for(const f of c)this.registerPlugin(f)}deregisterPlugin(c,f){const b=this._plugins.get(c);if(b){if(b.activated&&!f)throw new Error(`Plugin '${c}' is still active.`);this._plugins.delete(c)}}async activatePlugin(c){const f=this._plugins.get(c);if(!f)throw new ReferenceError(`Plugin '${c}' is not registered.`);if(f.activated)return;if(f.promise)return f.promise;const b=f.requires.map(w=>this.resolveRequiredService(w)),y=f.optional.map(w=>this.resolveOptionalService(w));return f.promise=Promise.all([...b,...y]).then(w=>f.activate.apply(void 0,[this.application,...w])).then(w=>{f.service=w,f.activated=!0,f.promise=null}).catch(w=>{throw f.promise=null,w}),f.promise}async activatePlugins(c,f={}){switch(c){case"defer":{const b=this.deferredPlugins.filter(y=>this._plugins.get(y).autoStart).map(y=>this.activatePlugin(y));await Promise.all(b);break}case"startUp":{const y=u.collectStartupPlugins(this._plugins,f).map(async w=>{try{return await this.activatePlugin(w)}catch(_){console.error(`Plugin '${w}' failed to activate.`,_)}});await Promise.all(y);break}}}async deactivatePlugin(c){const f=this._plugins.get(c);if(!f)throw new ReferenceError(`Plugin '${c}' is not registered.`);if(!f.activated)return[];if(!f.deactivate)throw new TypeError(`Plugin '${c}'#deactivate() method missing`);const b=u.findDependents(c,this._plugins,this._services),y=b.map(w=>this._plugins.get(w));for(const w of y)if(!w.deactivate)throw new TypeError(`Plugin ${w.id}#deactivate() method missing (depends on ${c})`);for(const w of y){const _=[...w.requires,...w.optional].map(m=>{const A=this._services.get(m);return A?this._plugins.get(A).service:null});await w.deactivate(this.application,..._),w.service=null,w.activated=!1}return b.pop(),b}async resolveRequiredService(c){const f=this._services.get(c);if(!f)throw new TypeError(`No provider for: ${c.name}.`);const b=this._plugins.get(f);return b.activated||await this.activatePlugin(f),b.service}async resolveOptionalService(c){const f=this._services.get(c);if(!f)return null;const b=this._plugins.get(f);if(!b.activated)try{await this.activatePlugin(f)}catch(y){return console.error(y),null}return b.service}}var u;(function(h){class c{constructor(m){var A,g,p,v;this._activated=!1,this._promise=null,this._service=null,this.id=m.id,this.description=(A=m.description)!==null&&A!==void 0?A:"",this.activate=m.activate,this.deactivate=(g=m.deactivate)!==null&&g!==void 0?g:null,this.provides=(p=m.provides)!==null&&p!==void 0?p:null,this.autoStart=(v=m.autoStart)!==null&&v!==void 0?v:!1,this.requires=m.requires?m.requires.slice():[],this.optional=m.optional?m.optional.slice():[]}get activated(){return this._activated}set activated(m){this._activated=m}get service(){return this._service}set service(m){this._service=m}get promise(){return this._promise}set promise(m){this._promise=m}}function f(_){return new c(_)}h.createPluginData=f;function b(_,m,A){const g=[..._.requires,..._.optional],p=C=>{if(C===_.provides)return!0;const P=A.get(C);if(!P)return!1;const E=m.get(P),R=[...E.requires,...E.optional];return R.length===0?!1:(v.push(P),R.some(p)?!0:(v.pop(),!1))};if(!_.provides||g.length===0)return;const v=[_.id];if(g.some(p))throw new ReferenceError(`Cycle detected: ${v.join(" -> ")}.`)}h.ensureNoCycle=b;function y(_,m,A){const g=new Array,p=R=>{const S=m.get(R),I=[...S.requires,...S.optional];g.push(...I.reduce((x,M)=>{const D=A.get(M);return D&&x.push([R,D]),x},[]))};for(const R of m.keys())p(R);const v=g.filter(R=>R[1]===_);let C=0;for(;v.length>C;){const R=v.length,S=new Set(v.map(I=>I[0]));for(const I of S)g.filter(x=>x[1]===I).forEach(x=>{v.includes(x)||v.push(x)});C=R}const P=i.topologicSort(v),E=P.findIndex(R=>R===_);return E===-1?[_]:P.slice(0,E+1)}h.findDependents=y;function w(_,m){const A=new Set;for(const g of _.keys())_.get(g).autoStart===!0&&A.add(g);if(m.startPlugins)for(const g of m.startPlugins)A.add(g);if(m.ignorePlugins)for(const g of m.ignorePlugins)A.delete(g);return Array.from(A)}h.collectStartupPlugins=w})(u||(u={}));class d{constructor(){this.promise=new Promise((c,f)=>{this._resolve=c,this._reject=f})}resolve(c){let f=this._resolve;f(c)}reject(c){let f=this._reject;f(c)}}class a{constructor(c,f){this.name=c,this.description=f??"",this._tokenStructuralPropertyT=null}}function r(h){let c=0;for(let f=0,b=h.length;f<b;++f)f%4===0&&(c=Math.random()*4294967295>>>0),h[f]=c&255,c>>>=8}o.Random=void 0,(function(h){h.getRandomValues=(()=>{const c=typeof window<"u"&&(window.crypto||window.msCrypto)||null;return c&&typeof c.getRandomValues=="function"?function(b){return c.getRandomValues(b)}:r})()})(o.Random||(o.Random={}));function s(h){const c=new Uint8Array(16),f=new Array(256);for(let b=0;b<16;++b)f[b]="0"+b.toString(16);for(let b=16;b<256;++b)f[b]=b.toString(16);return function(){return h(c),c[6]=64|c[6]&15,c[8]=128|c[8]&63,f[c[0]]+f[c[1]]+f[c[2]]+f[c[3]]+"-"+f[c[4]]+f[c[5]]+"-"+f[c[6]]+f[c[7]]+"-"+f[c[8]]+f[c[9]]+"-"+f[c[10]]+f[c[11]]+f[c[12]]+f[c[13]]+f[c[14]]+f[c[15]]}}o.UUID=void 0,(function(h){h.uuid4=s(o.Random.getRandomValues)})(o.UUID||(o.UUID={})),o.MimeData=l,o.PluginRegistry=n,o.PromiseDelegate=d,o.Token=a}))})(dist$1,dist$1.exports)),dist$1.exports}const require$$1$2=getAugmentedNamespace(index_es6$2),require$$0=getAugmentedNamespace(index_es6$3);var hasRequiredRestorablepool;function requireRestorablepool(){if(hasRequiredRestorablepool)return restorablepool;hasRequiredRestorablepool=1,Object.defineProperty(restorablepool,"__esModule",{value:!0}),restorablepool.RestorablePool=void 0;const t=requireDist(),e=require$$1$2,o=require$$0;class i{constructor(u){this._added=new o.Signal(this),this._current=null,this._currentChanged=new o.Signal(this),this._hasRestored=!1,this._isDisposed=!1,this._objects=new Set,this._restore=null,this._restored=new t.PromiseDelegate,this._updated=new o.Signal(this),this.namespace=u.namespace}get added(){return this._added}get current(){return this._current}set current(u){this._current!==u&&u!==null&&this._objects.has(u)&&(this._current=u,this._currentChanged.emit(this._current))}get currentChanged(){return this._currentChanged}get isDisposed(){return this._isDisposed}get restored(){return this._restored.promise}get size(){return this._objects.size}get updated(){return this._updated}async add(u){var d,a;if(u.isDisposed){const r="A disposed object cannot be added.";throw console.warn(r,u),new Error(r)}if(this._objects.has(u)){const r="This object already exists in the pool.";throw console.warn(r,u),new Error(r)}if(this._objects.add(u),u.disposed.connect(this._onInstanceDisposed,this),!l.injectedProperty.get(u)){if(this._restore){const{connector:r}=this._restore,s=this._restore.name(u);if(s){const h=`${this.namespace}:${s}`,c=(a=(d=this._restore).args)===null||a===void 0?void 0:a.call(d,u);l.nameProperty.set(u,h),await r.save(h,{data:c})}}this._added.emit(u)}}dispose(){this.isDisposed||(this._current=null,this._isDisposed=!0,this._objects.clear(),o.Signal.clearData(this))}find(u){const d=this._objects.values();for(const a of d)if(u(a))return a}forEach(u){this._objects.forEach(u)}filter(u){const d=[];return this.forEach(a=>{u(a)&&d.push(a)}),d}inject(u){return l.injectedProperty.set(u,!0),this.add(u)}has(u){return this._objects.has(u)}async restore(u){if(this._hasRestored)throw new Error("This pool has already been restored.");this._hasRestored=!0;const{command:d,connector:a,registry:r,when:s}=u,h=this.namespace,c=s?[a.list(h)].concat(s):[a.list(h)];this._restore=u;const[f]=await Promise.all(c),b=await Promise.all(f.ids.map(async(y,w)=>{const _=f.values[w],m=_&&_.data;return m===void 0?a.remove(y):r.execute(d,m).catch(()=>a.remove(y))}));return this._restored.resolve(),b}async save(u){var d,a;const r=l.injectedProperty.get(u);if(!this._restore||!this.has(u)||r)return;const{connector:s}=this._restore,h=this._restore.name(u),c=l.nameProperty.get(u),f=h?`${this.namespace}:${h}`:"";if(c&&c!==f&&await s.remove(c),l.nameProperty.set(u,f),f){const b=(a=(d=this._restore).args)===null||a===void 0?void 0:a.call(d,u);await s.save(f,{data:b})}c!==f&&this._updated.emit(u)}_onInstanceDisposed(u){if(this._objects.delete(u),u===this._current&&(this._current=null,this._currentChanged.emit(this._current)),l.injectedProperty.get(u)||!this._restore)return;const{connector:d}=this._restore,a=l.nameProperty.get(u);a&&d.remove(a)}}restorablepool.RestorablePool=i;var l;return(function(n){n.injectedProperty=new e.AttachedProperty({name:"injected",create:()=>!1}),n.nameProperty=new e.AttachedProperty({name:"name",create:()=>""})})(l||(l={})),restorablepool}var statedb={},hasRequiredStatedb;function requireStatedb(){if(hasRequiredStatedb)return statedb;hasRequiredStatedb=1,Object.defineProperty(statedb,"__esModule",{value:!0}),statedb.StateDB=void 0;const t=require$$0;class e{constructor(i={}){this._changed=new t.Signal(this);const{connector:l,transform:n}=i;this._connector=l||new e.Connector,n?this._ready=n.then(u=>{const{contents:d,type:a}=u;switch(a){case"cancel":return;case"clear":return this._clear();case"merge":return this._merge(d||{});case"overwrite":return this._overwrite(d||{});default:return}}):this._ready=Promise.resolve(void 0)}get changed(){return this._changed}async clear(){await this._ready,await this._clear()}async fetch(i){return await this._ready,this._fetch(i)}async list(i){return await this._ready,this._list(i)}async remove(i){await this._ready,await this._remove(i),this._changed.emit({id:i,type:"remove"})}async save(i,l){await this._ready,await this._save(i,l),this._changed.emit({id:i,type:"save"})}async toJSON(){await this._ready;const{ids:i,values:l}=await this._list();return l.reduce((n,u,d)=>(n[i[d]]=u,n),{})}async _clear(){await Promise.all((await this._list()).ids.map(i=>this._remove(i)))}async _fetch(i){const l=await this._connector.fetch(i);if(l)return JSON.parse(l).v}async _list(i=""){const{ids:l,values:n}=await this._connector.list(i);return{ids:l,values:n.map(u=>JSON.parse(u).v)}}async _merge(i){await Promise.all(Object.keys(i).map(l=>i[l]&&this._save(l,i[l])))}async _overwrite(i){await this._clear(),await this._merge(i)}async _remove(i){return this._connector.remove(i)}async _save(i,l){return this._connector.save(i,JSON.stringify({v:l}))}}return statedb.StateDB=e,(function(o){class i{constructor(){this._storage={}}async fetch(n){return this._storage[n]}async list(n=""){return Object.keys(this._storage).reduce((u,d)=>((n===""||n===d.split(":")[0])&&(u.ids.push(d),u.values.push(this._storage[d])),u),{ids:[],values:[]})}async remove(n){delete this._storage[n]}async save(n,u){this._storage[n]=u}}o.Connector=i})(e||(statedb.StateDB=e={})),statedb}var tokens$1={},hasRequiredTokens$1;function requireTokens$1(){if(hasRequiredTokens$1)return tokens$1;hasRequiredTokens$1=1,Object.defineProperty(tokens$1,"__esModule",{value:!0}),tokens$1.IStateDB=void 0;const t=requireDist();return tokens$1.IStateDB=new t.Token("@jupyterlab/coreutils:IStateDB",`A service for the JupyterLab state database.
2
+ Use this if you want to store data that will persist across page loads.
3
+ See "state database" for more information.`),tokens$1}var hasRequiredLib$8;function requireLib$8(){return hasRequiredLib$8||(hasRequiredLib$8=1,(function(t){var e=lib$8&&lib$8.__createBinding||(Object.create?(function(i,l,n,u){u===void 0&&(u=n);var d=Object.getOwnPropertyDescriptor(l,n);(!d||("get"in d?!l.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return l[n]}}),Object.defineProperty(i,u,d)}):(function(i,l,n,u){u===void 0&&(u=n),i[u]=l[n]})),o=lib$8&&lib$8.__exportStar||function(i,l){for(var n in i)n!=="default"&&!Object.prototype.hasOwnProperty.call(l,n)&&e(l,i,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(requireDataconnector(),t),o(requireInterfaces$1(),t),o(requireRestorablepool(),t),o(requireStatedb(),t),o(requireTokens$1(),t)})(lib$8)),lib$8}var libExports$2=requireLib$8(),lib$7={},activitymonitor={},hasRequiredActivitymonitor;function requireActivitymonitor(){if(hasRequiredActivitymonitor)return activitymonitor;hasRequiredActivitymonitor=1,Object.defineProperty(activitymonitor,"__esModule",{value:!0}),activitymonitor.ActivityMonitor=void 0;const t=require$$0;class e{constructor(i){this._timer=-1,this._timeout=-1,this._isDisposed=!1,this._activityStopped=new t.Signal(this),i.signal.connect(this._onSignalFired,this),this._timeout=i.timeout||1e3}get activityStopped(){return this._activityStopped}get timeout(){return this._timeout}set timeout(i){this._timeout=i}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,t.Signal.clearData(this))}_onSignalFired(i,l){clearTimeout(this._timer),this._sender=i,this._args=l,this._timer=setTimeout(()=>{this._activityStopped.emit({sender:this._sender,args:this._args})},this._timeout)}}return activitymonitor.ActivityMonitor=e,activitymonitor}var interfaces={},hasRequiredInterfaces;function requireInterfaces(){return hasRequiredInterfaces||(hasRequiredInterfaces=1,Object.defineProperty(interfaces,"__esModule",{value:!0})),interfaces}var lru={},hasRequiredLru;function requireLru(){if(hasRequiredLru)return lru;hasRequiredLru=1,Object.defineProperty(lru,"__esModule",{value:!0}),lru.LruCache=void 0;const t=128;class e{constructor(i={}){if(this._map=new Map,this._maxSize=(i==null?void 0:i.maxSize)||t,this._maxSize<1)throw new Error("maxSize must be at least 1")}get size(){return this._map.size}clear(){this._map.clear()}get(i){const l=this._map.get(i)||null;return l!=null&&(this._map.delete(i),this._map.set(i,l)),l}set(i,l){this._map.size>=this._maxSize&&this._map.delete(this._map.keys().next().value),this._map.set(i,l)}}return lru.LruCache=e,lru}var markdowncodeblocks={},hasRequiredMarkdowncodeblocks;function requireMarkdowncodeblocks(){if(hasRequiredMarkdowncodeblocks)return markdowncodeblocks;hasRequiredMarkdowncodeblocks=1,Object.defineProperty(markdowncodeblocks,"__esModule",{value:!0}),markdowncodeblocks.MarkdownCodeBlocks=void 0;var t;return(function(e){e.CODE_BLOCK_MARKER="```";const o=[".markdown",".mdown",".mkdn",".md",".mkd",".mdwn",".mdtxt",".mdtext",".text",".txt",".Rmd"];class i{constructor(d){this.startLine=d,this.code="",this.endLine=-1}}e.MarkdownCodeBlock=i;function l(u){return o.indexOf(u)>-1}e.isMarkdown=l;function n(u){if(!u||u==="")return[];const d=u.split(`
4
+ `),a=[];let r=null;for(let s=0;s<d.length;s++){const h=d[s],c=h.indexOf(e.CODE_BLOCK_MARKER)===0,f=r!=null;if(!(!c&&!f))if(f)r&&(c?(r.endLine=s-1,a.push(r),r=null):r.code+=h+`
5
+ `);else{r=new i(s);const b=h.indexOf(e.CODE_BLOCK_MARKER),y=h.lastIndexOf(e.CODE_BLOCK_MARKER);b!==y&&(r.code=h.substring(b+e.CODE_BLOCK_MARKER.length,y),r.endLine=s,a.push(r),r=null)}}return a}e.findMarkdownCodeBlocks=n})(t||(markdowncodeblocks.MarkdownCodeBlocks=t={})),markdowncodeblocks}var pageconfig={},minimist,hasRequiredMinimist;function requireMinimist(){if(hasRequiredMinimist)return minimist;hasRequiredMinimist=1;function t(i,l){var n=i;l.slice(0,-1).forEach(function(d){n=n[d]||{}});var u=l[l.length-1];return u in n}function e(i){return typeof i=="number"||/^0x[0-9a-f]+$/i.test(i)?!0:/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(i)}function o(i,l){return l==="constructor"&&typeof i[l]=="function"||l==="__proto__"}return minimist=function(i,l){l||(l={});var n={bools:{},strings:{},unknownFn:null};typeof l.unknown=="function"&&(n.unknownFn=l.unknown),typeof l.boolean=="boolean"&&l.boolean?n.allBools=!0:[].concat(l.boolean).filter(Boolean).forEach(function(C){n.bools[C]=!0});var u={};function d(C){return u[C].some(function(P){return n.bools[P]})}Object.keys(l.alias||{}).forEach(function(C){u[C]=[].concat(l.alias[C]),u[C].forEach(function(P){u[P]=[C].concat(u[C].filter(function(E){return P!==E}))})}),[].concat(l.string).filter(Boolean).forEach(function(C){n.strings[C]=!0,u[C]&&[].concat(u[C]).forEach(function(P){n.strings[P]=!0})});var a=l.default||{},r={_:[]};function s(C,P){return n.allBools&&/^--[^=]+$/.test(P)||n.strings[C]||n.bools[C]||u[C]}function h(C,P,E){for(var R=C,S=0;S<P.length-1;S++){var I=P[S];if(o(R,I))return;R[I]===void 0&&(R[I]={}),(R[I]===Object.prototype||R[I]===Number.prototype||R[I]===String.prototype)&&(R[I]={}),R[I]===Array.prototype&&(R[I]=[]),R=R[I]}var x=P[P.length-1];o(R,x)||((R===Object.prototype||R===Number.prototype||R===String.prototype)&&(R={}),R===Array.prototype&&(R=[]),R[x]===void 0||n.bools[x]||typeof R[x]=="boolean"?R[x]=E:Array.isArray(R[x])?R[x].push(E):R[x]=[R[x],E])}function c(C,P,E){if(!(E&&n.unknownFn&&!s(C,E)&&n.unknownFn(E)===!1)){var R=!n.strings[C]&&e(P)?Number(P):P;h(r,C.split("."),R),(u[C]||[]).forEach(function(S){h(r,S.split("."),R)})}}Object.keys(n.bools).forEach(function(C){c(C,a[C]===void 0?!1:a[C])});var f=[];i.indexOf("--")!==-1&&(f=i.slice(i.indexOf("--")+1),i=i.slice(0,i.indexOf("--")));for(var b=0;b<i.length;b++){var y=i[b],w,_;if(/^--.+=/.test(y)){var m=y.match(/^--([^=]+)=([\s\S]*)$/);w=m[1];var A=m[2];n.bools[w]&&(A=A!=="false"),c(w,A,y)}else if(/^--no-.+/.test(y))w=y.match(/^--no-(.+)/)[1],c(w,!1,y);else if(/^--.+/.test(y))w=y.match(/^--(.+)/)[1],_=i[b+1],_!==void 0&&!/^(-|--)[^-]/.test(_)&&!n.bools[w]&&!n.allBools&&(!u[w]||!d(w))?(c(w,_,y),b+=1):/^(true|false)$/.test(_)?(c(w,_==="true",y),b+=1):c(w,n.strings[w]?"":!0,y);else if(/^-[^-]+/.test(y)){for(var g=y.slice(1,-1).split(""),p=!1,v=0;v<g.length;v++){if(_=y.slice(v+2),_==="-"){c(g[v],_,y);continue}if(/[A-Za-z]/.test(g[v])&&_[0]==="="){c(g[v],_.slice(1),y),p=!0;break}if(/[A-Za-z]/.test(g[v])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(_)){c(g[v],_,y),p=!0;break}if(g[v+1]&&g[v+1].match(/\W/)){c(g[v],y.slice(v+2),y),p=!0;break}else c(g[v],n.strings[g[v]]?"":!0,y)}w=y.slice(-1)[0],!p&&w!=="-"&&(i[b+1]&&!/^(-|--)[^-]/.test(i[b+1])&&!n.bools[w]&&(!u[w]||!d(w))?(c(w,i[b+1],y),b+=1):i[b+1]&&/^(true|false)$/.test(i[b+1])?(c(w,i[b+1]==="true",y),b+=1):c(w,n.strings[w]?"":!0,y))}else if((!n.unknownFn||n.unknownFn(y)!==!1)&&r._.push(n.strings._||!e(y)?y:Number(y)),l.stopEarly){r._.push.apply(r._,i.slice(b+1));break}}return Object.keys(a).forEach(function(C){t(r,C.split("."))||(h(r,C.split("."),a[C]),(u[C]||[]).forEach(function(P){h(r,P.split("."),a[C])}))}),l["--"]?r["--"]=f.slice():f.forEach(function(C){r._.push(C)}),r},minimist}var url={},pathBrowserify,hasRequiredPathBrowserify;function requirePathBrowserify(){if(hasRequiredPathBrowserify)return pathBrowserify;hasRequiredPathBrowserify=1;function t(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function e(l,n){for(var u="",d=0,a=-1,r=0,s,h=0;h<=l.length;++h){if(h<l.length)s=l.charCodeAt(h);else{if(s===47)break;s=47}if(s===47){if(!(a===h-1||r===1))if(a!==h-1&&r===2){if(u.length<2||d!==2||u.charCodeAt(u.length-1)!==46||u.charCodeAt(u.length-2)!==46){if(u.length>2){var c=u.lastIndexOf("/");if(c!==u.length-1){c===-1?(u="",d=0):(u=u.slice(0,c),d=u.length-1-u.lastIndexOf("/")),a=h,r=0;continue}}else if(u.length===2||u.length===1){u="",d=0,a=h,r=0;continue}}n&&(u.length>0?u+="/..":u="..",d=2)}else u.length>0?u+="/"+l.slice(a+1,h):u=l.slice(a+1,h),d=h-a-1;a=h,r=0}else s===46&&r!==-1?++r:r=-1}return u}function o(l,n){var u=n.dir||n.root,d=n.base||(n.name||"")+(n.ext||"");return u?u===n.root?u+d:u+l+d:d}var i={resolve:function(){for(var n="",u=!1,d,a=arguments.length-1;a>=-1&&!u;a--){var r;a>=0?r=arguments[a]:(d===void 0&&(d=process.cwd()),r=d),t(r),r.length!==0&&(n=r+"/"+n,u=r.charCodeAt(0)===47)}return n=e(n,!u),u?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(n){if(t(n),n.length===0)return".";var u=n.charCodeAt(0)===47,d=n.charCodeAt(n.length-1)===47;return n=e(n,!u),n.length===0&&!u&&(n="."),n.length>0&&d&&(n+="/"),u?"/"+n:n},isAbsolute:function(n){return t(n),n.length>0&&n.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var n,u=0;u<arguments.length;++u){var d=arguments[u];t(d),d.length>0&&(n===void 0?n=d:n+="/"+d)}return n===void 0?".":i.normalize(n)},relative:function(n,u){if(t(n),t(u),n===u||(n=i.resolve(n),u=i.resolve(u),n===u))return"";for(var d=1;d<n.length&&n.charCodeAt(d)===47;++d);for(var a=n.length,r=a-d,s=1;s<u.length&&u.charCodeAt(s)===47;++s);for(var h=u.length,c=h-s,f=r<c?r:c,b=-1,y=0;y<=f;++y){if(y===f){if(c>f){if(u.charCodeAt(s+y)===47)return u.slice(s+y+1);if(y===0)return u.slice(s+y)}else r>f&&(n.charCodeAt(d+y)===47?b=y:y===0&&(b=0));break}var w=n.charCodeAt(d+y),_=u.charCodeAt(s+y);if(w!==_)break;w===47&&(b=y)}var m="";for(y=d+b+1;y<=a;++y)(y===a||n.charCodeAt(y)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+u.slice(s+b):(s+=b,u.charCodeAt(s)===47&&++s,u.slice(s))},_makeLong:function(n){return n},dirname:function(n){if(t(n),n.length===0)return".";for(var u=n.charCodeAt(0),d=u===47,a=-1,r=!0,s=n.length-1;s>=1;--s)if(u=n.charCodeAt(s),u===47){if(!r){a=s;break}}else r=!1;return a===-1?d?"/":".":d&&a===1?"//":n.slice(0,a)},basename:function(n,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');t(n);var d=0,a=-1,r=!0,s;if(u!==void 0&&u.length>0&&u.length<=n.length){if(u.length===n.length&&u===n)return"";var h=u.length-1,c=-1;for(s=n.length-1;s>=0;--s){var f=n.charCodeAt(s);if(f===47){if(!r){d=s+1;break}}else c===-1&&(r=!1,c=s+1),h>=0&&(f===u.charCodeAt(h)?--h===-1&&(a=s):(h=-1,a=c))}return d===a?a=c:a===-1&&(a=n.length),n.slice(d,a)}else{for(s=n.length-1;s>=0;--s)if(n.charCodeAt(s)===47){if(!r){d=s+1;break}}else a===-1&&(r=!1,a=s+1);return a===-1?"":n.slice(d,a)}},extname:function(n){t(n);for(var u=-1,d=0,a=-1,r=!0,s=0,h=n.length-1;h>=0;--h){var c=n.charCodeAt(h);if(c===47){if(!r){d=h+1;break}continue}a===-1&&(r=!1,a=h+1),c===46?u===-1?u=h:s!==1&&(s=1):u!==-1&&(s=-1)}return u===-1||a===-1||s===0||s===1&&u===a-1&&u===d+1?"":n.slice(u,a)},format:function(n){if(n===null||typeof n!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof n);return o("/",n)},parse:function(n){t(n);var u={root:"",dir:"",base:"",ext:"",name:""};if(n.length===0)return u;var d=n.charCodeAt(0),a=d===47,r;a?(u.root="/",r=1):r=0;for(var s=-1,h=0,c=-1,f=!0,b=n.length-1,y=0;b>=r;--b){if(d=n.charCodeAt(b),d===47){if(!f){h=b+1;break}continue}c===-1&&(f=!1,c=b+1),d===46?s===-1?s=b:y!==1&&(y=1):s!==-1&&(y=-1)}return s===-1||c===-1||y===0||y===1&&s===c-1&&s===h+1?c!==-1&&(h===0&&a?u.base=u.name=n.slice(1,c):u.base=u.name=n.slice(h,c)):(h===0&&a?(u.name=n.slice(1,s),u.base=n.slice(1,c)):(u.name=n.slice(h,s),u.base=n.slice(h,c)),u.ext=n.slice(s,c)),h>0?u.dir=n.slice(0,h-1):a&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,pathBrowserify=i,pathBrowserify}var requiresPort,hasRequiredRequiresPort;function requireRequiresPort(){return hasRequiredRequiresPort||(hasRequiredRequiresPort=1,requiresPort=function(e,o){if(o=o.split(":")[0],e=+e,!e)return!1;switch(o){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}),requiresPort}var querystringify={},hasRequiredQuerystringify;function requireQuerystringify(){if(hasRequiredQuerystringify)return querystringify;hasRequiredQuerystringify=1;var t=Object.prototype.hasOwnProperty,e;function o(u){try{return decodeURIComponent(u.replace(/\+/g," "))}catch{return null}}function i(u){try{return encodeURIComponent(u)}catch{return null}}function l(u){for(var d=/([^=?#&]+)=?([^&]*)/g,a={},r;r=d.exec(u);){var s=o(r[1]),h=o(r[2]);s===null||h===null||s in a||(a[s]=h)}return a}function n(u,d){d=d||"";var a=[],r,s;typeof d!="string"&&(d="?");for(s in u)if(t.call(u,s)){if(r=u[s],!r&&(r===null||r===e||isNaN(r))&&(r=""),s=i(s),r=i(r),s===null||r===null)continue;a.push(s+"="+r)}return a.length?d+a.join("&"):""}return querystringify.stringify=n,querystringify.parse=l,querystringify}var urlParse,hasRequiredUrlParse;function requireUrlParse(){if(hasRequiredUrlParse)return urlParse;hasRequiredUrlParse=1;var t=requireRequiresPort(),e=requireQuerystringify(),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i=/[\n\r\t]/g,l=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,n=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,d=/^[a-zA-Z]:/;function a(m){return(m||"").toString().replace(o,"")}var r=[["#","hash"],["?","query"],function(A,g){return c(g.protocol)?A.replace(/\\/g,"/"):A},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],s={hash:1,query:1};function h(m){var A;typeof window<"u"?A=window:typeof commonjsGlobal<"u"?A=commonjsGlobal:typeof self<"u"?A=self:A={};var g=A.location||{};m=m||g;var p={},v=typeof m,C;if(m.protocol==="blob:")p=new y(unescape(m.pathname),{});else if(v==="string"){p=new y(m,{});for(C in s)delete p[C]}else if(v==="object"){for(C in m)C in s||(p[C]=m[C]);p.slashes===void 0&&(p.slashes=l.test(m.href))}return p}function c(m){return m==="file:"||m==="ftp:"||m==="http:"||m==="https:"||m==="ws:"||m==="wss:"}function f(m,A){m=a(m),m=m.replace(i,""),A=A||{};var g=u.exec(m),p=g[1]?g[1].toLowerCase():"",v=!!g[2],C=!!g[3],P=0,E;return v?C?(E=g[2]+g[3]+g[4],P=g[2].length+g[3].length):(E=g[2]+g[4],P=g[2].length):C?(E=g[3]+g[4],P=g[3].length):E=g[4],p==="file:"?P>=2&&(E=E.slice(2)):c(p)?E=g[4]:p?v&&(E=E.slice(2)):P>=2&&c(A.protocol)&&(E=g[4]),{protocol:p,slashes:v||c(p),slashesCount:P,rest:E}}function b(m,A){if(m==="")return A;for(var g=(A||"/").split("/").slice(0,-1).concat(m.split("/")),p=g.length,v=g[p-1],C=!1,P=0;p--;)g[p]==="."?g.splice(p,1):g[p]===".."?(g.splice(p,1),P++):P&&(p===0&&(C=!0),g.splice(p,1),P--);return C&&g.unshift(""),(v==="."||v==="..")&&g.push(""),g.join("/")}function y(m,A,g){if(m=a(m),m=m.replace(i,""),!(this instanceof y))return new y(m,A,g);var p,v,C,P,E,R,S=r.slice(),I=typeof A,x=this,M=0;for(I!=="object"&&I!=="string"&&(g=A,A=null),g&&typeof g!="function"&&(g=e.parse),A=h(A),v=f(m||"",A),p=!v.protocol&&!v.slashes,x.slashes=v.slashes||p&&A.slashes,x.protocol=v.protocol||A.protocol||"",m=v.rest,(v.protocol==="file:"&&(v.slashesCount!==2||d.test(m))||!v.slashes&&(v.protocol||v.slashesCount<2||!c(x.protocol)))&&(S[3]=[/(.*)/,"pathname"]);M<S.length;M++){if(P=S[M],typeof P=="function"){m=P(m,x);continue}C=P[0],R=P[1],C!==C?x[R]=m:typeof C=="string"?(E=C==="@"?m.lastIndexOf(C):m.indexOf(C),~E&&(typeof P[2]=="number"?(x[R]=m.slice(0,E),m=m.slice(E+P[2])):(x[R]=m.slice(E),m=m.slice(0,E)))):(E=C.exec(m))&&(x[R]=E[1],m=m.slice(0,E.index)),x[R]=x[R]||p&&P[3]&&A[R]||"",P[4]&&(x[R]=x[R].toLowerCase())}g&&(x.query=g(x.query)),p&&A.slashes&&x.pathname.charAt(0)!=="/"&&(x.pathname!==""||A.pathname!=="")&&(x.pathname=b(x.pathname,A.pathname)),x.pathname.charAt(0)!=="/"&&c(x.protocol)&&(x.pathname="/"+x.pathname),t(x.port,x.protocol)||(x.host=x.hostname,x.port=""),x.username=x.password="",x.auth&&(E=x.auth.indexOf(":"),~E?(x.username=x.auth.slice(0,E),x.username=encodeURIComponent(decodeURIComponent(x.username)),x.password=x.auth.slice(E+1),x.password=encodeURIComponent(decodeURIComponent(x.password))):x.username=encodeURIComponent(decodeURIComponent(x.auth)),x.auth=x.password?x.username+":"+x.password:x.username),x.origin=x.protocol!=="file:"&&c(x.protocol)&&x.host?x.protocol+"//"+x.host:"null",x.href=x.toString()}function w(m,A,g){var p=this;switch(m){case"query":typeof A=="string"&&A.length&&(A=(g||e.parse)(A)),p[m]=A;break;case"port":p[m]=A,t(A,p.protocol)?A&&(p.host=p.hostname+":"+A):(p.host=p.hostname,p[m]="");break;case"hostname":p[m]=A,p.port&&(A+=":"+p.port),p.host=A;break;case"host":p[m]=A,n.test(A)?(A=A.split(":"),p.port=A.pop(),p.hostname=A.join(":")):(p.hostname=A,p.port="");break;case"protocol":p.protocol=A.toLowerCase(),p.slashes=!g;break;case"pathname":case"hash":if(A){var v=m==="pathname"?"/":"#";p[m]=A.charAt(0)!==v?v+A:A}else p[m]=A;break;case"username":case"password":p[m]=encodeURIComponent(A);break;case"auth":var C=A.indexOf(":");~C?(p.username=A.slice(0,C),p.username=encodeURIComponent(decodeURIComponent(p.username)),p.password=A.slice(C+1),p.password=encodeURIComponent(decodeURIComponent(p.password))):p.username=encodeURIComponent(decodeURIComponent(A))}for(var P=0;P<r.length;P++){var E=r[P];E[4]&&(p[E[1]]=p[E[1]].toLowerCase())}return p.auth=p.password?p.username+":"+p.password:p.username,p.origin=p.protocol!=="file:"&&c(p.protocol)&&p.host?p.protocol+"//"+p.host:"null",p.href=p.toString(),p}function _(m){(!m||typeof m!="function")&&(m=e.stringify);var A,g=this,p=g.host,v=g.protocol;v&&v.charAt(v.length-1)!==":"&&(v+=":");var C=v+(g.protocol&&g.slashes||c(g.protocol)?"//":"");return g.username?(C+=g.username,g.password&&(C+=":"+g.password),C+="@"):g.password?(C+=":"+g.password,C+="@"):g.protocol!=="file:"&&c(g.protocol)&&!p&&g.pathname!=="/"&&(C+="@"),(p[p.length-1]===":"||n.test(g.hostname)&&!g.port)&&(p+=":"),C+=p+g.pathname,A=typeof g.query=="object"?m(g.query):g.query,A&&(C+=A.charAt(0)!=="?"?"?"+A:A),g.hash&&(C+=g.hash),C}return y.prototype={set:w,toString:_},y.extractProtocol=f,y.location=h,y.trimLeft=a,y.qs=e,urlParse=y,urlParse}var hasRequiredUrl;function requireUrl(){if(hasRequiredUrl)return url;hasRequiredUrl=1;var t=url&&url.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(url,"__esModule",{value:!0}),url.URLExt=void 0;const e=requirePathBrowserify(),o=t(requireUrlParse());var i;return(function(l){function n(f){if(typeof document<"u"&&document){const b=document.createElement("a");return b.href=f,b}return(0,o.default)(f)}l.parse=n;function u(f){return(0,o.default)(f).hostname}l.getHostName=u;function d(f){return f&&n(f).toString()}l.normalize=d;function a(...f){let b=(0,o.default)(f[0],{});const y=b.protocol===""&&b.slashes;y&&(b=(0,o.default)(f[0],"https:"+f[0]));const w=`${y?"":b.protocol}${b.slashes?"//":""}${b.auth}${b.auth?"@":""}${b.host}`,_=e.posix.join(`${w&&b.pathname[0]!=="/"?"/":""}${b.pathname}`,...f.slice(1));return`${w}${_==="."?"":_}`}l.join=a;function r(f){return a(...f.split("/").map(encodeURIComponent))}l.encodeParts=r;function s(f){const b=Object.keys(f).filter(y=>y.length>0);return b.length?"?"+b.map(y=>{const w=encodeURIComponent(String(f[y]));return y+(w?"="+w:"")}).join("&"):""}l.objectToQueryString=s;function h(f){return f.replace(/^\?/,"").split("&").reduce((b,y)=>{const[w,_]=y.split("=");return w.length>0&&(b[w]=decodeURIComponent(_||"")),b},{})}l.queryStringToObject=h;function c(f,b=!1){const{protocol:y}=n(f);return(!y||f.toLowerCase().indexOf(y)!==0)&&(b?f.indexOf("//")!==0:f.indexOf("/")!==0)}l.isLocal=c})(i||(url.URLExt=i={})),url}var hasRequiredPageconfig;function requirePageconfig(){if(hasRequiredPageconfig)return pageconfig;hasRequiredPageconfig=1;var define_process_env_default={},__importDefault=pageconfig&&pageconfig.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pageconfig,"__esModule",{value:!0}),pageconfig.PageConfig=void 0,pageconfig.compareVersions=compareVersions;const coreutils_1=requireDist(),minimist_1=__importDefault(requireMinimist()),url_1=requireUrl();var PageConfig;(function(PageConfig){function getOption(name){if(configData)return configData[name]||getBodyData(name);configData=Object.create(null);let found=!1;if(typeof document<"u"&&document){const t=document.getElementById("jupyter-config-data");t&&(configData=JSON.parse(t.textContent||""),found=!0)}if(!found&&typeof process<"u"&&process.argv)try{const cli=(0,minimist_1.default)(process.argv.slice(2)),path=requirePathBrowserify();let fullPath="";"jupyter-config-data"in cli?fullPath=path.resolve(cli["jupyter-config-data"]):"JUPYTER_CONFIG_DATA"in define_process_env_default&&(fullPath=path.resolve(define_process_env_default.JUPYTER_CONFIG_DATA)),fullPath&&(configData=eval("require")(fullPath))}catch(t){console.error(t)}if(!coreutils_1.JSONExt.isObject(configData))configData=Object.create(null);else for(const t in configData)typeof configData[t]!="string"&&(configData[t]=JSON.stringify(configData[t]));return configData[name]||getBodyData(name)}PageConfig.getOption=getOption;function setOption(t,e){const o=getOption(t);return configData[t]=e,o}PageConfig.setOption=setOption;function getBaseUrl(){return url_1.URLExt.normalize(getOption("baseUrl")||"/")}PageConfig.getBaseUrl=getBaseUrl;function getTreeUrl(){return url_1.URLExt.join(getBaseUrl(),getOption("treeUrl"))}PageConfig.getTreeUrl=getTreeUrl;function getShareUrl(){return url_1.URLExt.normalize(getOption("shareUrl")||getBaseUrl())}PageConfig.getShareUrl=getShareUrl;function getTreeShareUrl(){return url_1.URLExt.normalize(url_1.URLExt.join(getShareUrl(),getOption("treeUrl")))}PageConfig.getTreeShareUrl=getTreeShareUrl;function getUrl(t){var e,o,i;let l=t.toShare?getShareUrl():getBaseUrl();const n=(e=t.mode)!==null&&e!==void 0?e:getOption("mode"),u=(o=t.workspace)!==null&&o!==void 0?o:getOption("workspace"),d=n==="single-document"?"doc":"lab";l=url_1.URLExt.join(l,d),u!==PageConfig.defaultWorkspace&&(l=url_1.URLExt.join(l,"workspaces",encodeURIComponent(u)));const a=(i=t.treePath)!==null&&i!==void 0?i:getOption("treePath");return a&&(l=url_1.URLExt.join(l,"tree",url_1.URLExt.encodeParts(a))),l}PageConfig.getUrl=getUrl,PageConfig.defaultWorkspace="default";function getWsUrl(t){let e=getOption("wsUrl");if(!e){if(t=t?url_1.URLExt.normalize(t):getBaseUrl(),t.indexOf("http")!==0)return"";e="ws"+t.slice(4)}return url_1.URLExt.normalize(e)}PageConfig.getWsUrl=getWsUrl;function getNBConvertURL({path:t,format:e,download:o}){const i=url_1.URLExt.encodeParts(t),l=url_1.URLExt.join(getBaseUrl(),"nbconvert",e,i);return o?l+"?download=true":l}PageConfig.getNBConvertURL=getNBConvertURL;function getToken(){return getOption("token")||getBodyData("jupyterApiToken")}PageConfig.getToken=getToken;function getNotebookVersion(){const t=getOption("notebookVersion");return t===""?[0,0,0]:JSON.parse(t)}PageConfig.getNotebookVersion=getNotebookVersion;let configData=null;function getBodyData(t){if(typeof document>"u"||!document.body)return"";const e=document.body.dataset[t];return typeof e>"u"?"":decodeURIComponent(e)}(function(t){function e(l){try{const n=getOption(l);if(n)return JSON.parse(n)}catch(n){console.warn(`Unable to parse ${l}.`,n)}return[]}t.deferred=e("deferredExtensions"),t.disabled=e("disabledExtensions");function o(l){const n=l.indexOf(":");let u="";return n!==-1&&(u=l.slice(0,n)),t.deferred.some(d=>d===l||u&&d===u)}t.isDeferred=o;function i(l){const n=l.indexOf(":");let u="";return n!==-1&&(u=l.slice(0,n)),t.disabled.some(d=>d===l||u&&d===u)}t.isDisabled=i})(PageConfig.Extension||(PageConfig.Extension={}))})(PageConfig||(pageconfig.PageConfig=PageConfig={}));function compareVersions(t,e){for(let o=0;o<3;o++)if(t[o]!==e[o])return t[o]-e[o];return 0}return pageconfig}var path={},hasRequiredPath;function requirePath(){if(hasRequiredPath)return path;hasRequiredPath=1,Object.defineProperty(path,"__esModule",{value:!0}),path.PathExt=void 0;const t=requirePathBrowserify();var e;return(function(o){function i(...f){const b=t.posix.join(...f);return b==="."?"":c(b)}o.join=i;function l(...f){const b=t.posix.join(...f);return b==="."?"":b}o.joinWithLeadingSlash=l;function n(f,b){return t.posix.basename(f,b)}o.basename=n;function u(f){const b=c(t.posix.dirname(f));return b==="."?"":b}o.dirname=u;function d(f){return t.posix.extname(f)}o.extname=d;function a(f){return f===""?"":c(t.posix.normalize(f))}o.normalize=a;function r(...f){return c(t.posix.resolve(...f))}o.resolve=r;function s(f,b){return c(t.posix.relative(f,b))}o.relative=s;function h(f){return f.length>0&&f.indexOf(".")!==0&&(f=`.${f}`),f}o.normalizeExtension=h;function c(f){return f.indexOf("/")===0&&(f=f.slice(1)),f}o.removeSlash=c})(e||(path.PathExt=e={})),path}var signal={},hasRequiredSignal;function requireSignal(){if(hasRequiredSignal)return signal;hasRequiredSignal=1,Object.defineProperty(signal,"__esModule",{value:!0}),signal.signalToPromise=e;const t=requireDist();function e(o,i){const l=new t.PromiseDelegate;function n(){o.disconnect(u)}function u(d,a){n(),l.resolve([d,a])}return o.connect(u),(i??0)>0&&setTimeout(()=>{n(),l.reject(`Signal not emitted within ${i} ms.`)},i),l.promise}return signal}var text={},hasRequiredText;function requireText(){if(hasRequiredText)return text;hasRequiredText=1,Object.defineProperty(text,"__esModule",{value:!0}),text.Text=void 0;var t;return(function(e){function i(d,a){let r=d;for(let s=0;s+1<a.length&&s<d;s++){const h=a.charCodeAt(s);if(h>=55296&&h<=56319){const c=a.charCodeAt(s+1);c>=56320&&c<=57343&&(r--,s++)}}return r}e.jsIndexToCharIndex=i;function l(d,a){let r=d;for(let s=0;s+1<a.length&&s<r;s++){const h=a.charCodeAt(s);if(h>=55296&&h<=56319){const c=a.charCodeAt(s+1);c>=56320&&c<=57343&&(r++,s++)}}return r}e.charIndexToJsIndex=l;function n(d,a=!1){return d.replace(/^(\w)|[\s-_:]+(\w)/g,function(r,s,h){return h?h.toUpperCase():a?s.toUpperCase():s.toLowerCase()})}e.camelCase=n;function u(d){return(d||"").toLowerCase().split(" ").map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}e.titleCase=u})(t||(text.Text=t={})),text}var time={},hasRequiredTime;function requireTime(){if(hasRequiredTime)return time;hasRequiredTime=1,Object.defineProperty(time,"__esModule",{value:!0}),time.Time=void 0;const t=[{name:"years",milliseconds:365*24*60*60*1e3},{name:"months",milliseconds:720*60*60*1e3},{name:"days",milliseconds:1440*60*1e3},{name:"hours",milliseconds:3600*1e3},{name:"minutes",milliseconds:60*1e3},{name:"seconds",milliseconds:1e3}];var e;return(function(o){function i(n,u="long"){const d=document.documentElement.lang||"en",a=new Intl.RelativeTimeFormat(d,{numeric:"auto",style:u}),r=new Date(n).getTime()-Date.now();for(let s of t){const h=Math.ceil(r/s.milliseconds);if(h!==0)return a.format(h,s.name)}return a.format(0,"seconds")}o.formatHuman=i;function l(n){const u=document.documentElement.lang||"en";return new Intl.DateTimeFormat(u,{dateStyle:"short",timeStyle:"short"}).format(new Date(n))}o.format=l})(e||(time.Time=e={})),time}var pluginregistry={},hasRequiredPluginregistry;function requirePluginregistry(){if(hasRequiredPluginregistry)return pluginregistry;hasRequiredPluginregistry=1,Object.defineProperty(pluginregistry,"__esModule",{value:!0}),pluginregistry.JupyterPluginRegistry=void 0;const t=requireDist(),e=5e3;class o extends t.PluginRegistry{constructor(l){var n;super(l),this._pluginData=new Map,this._expectedActivationTime=(n=l==null?void 0:l.expectedActivationTime)!==null&&n!==void 0?n:e}registerPlugin(l){return this._pluginData.set(l.id,l),super.registerPlugin(l)}async activatePlugin(l){const n=performance.now();let u=setTimeout(()=>{console.warn(`Plugin ${l} is taking too long to activate.`)},this._expectedActivationTime);try{const d=await super.activatePlugin(l);clearTimeout(u);const r=performance.now()-n;if(r>=this._expectedActivationTime){const s=this._getDependentCount(l);console.warn(`Plugin ${l} (with ${s} dependants) took ${r.toFixed(2)}ms to activate.`)}return d}catch(d){throw clearTimeout(u),console.error(`Error activating plugin: ${l}`,d),d}}_getDependentCount(l){var n;const u=this._pluginData.get(l);if(!(u!=null&&u.provides))return 0;const d=u.provides.name;let a=0;for(const[r,s]of this._pluginData.entries()){if(r===l)continue;((n=s.requires)===null||n===void 0?void 0:n.filter(c=>!!c).some(c=>c.name===d))&&a++}return a}}return pluginregistry.JupyterPluginRegistry=o,pluginregistry}var hasRequiredLib$7;function requireLib$7(){return hasRequiredLib$7||(hasRequiredLib$7=1,(function(t){var e=lib$7&&lib$7.__createBinding||(Object.create?(function(i,l,n,u){u===void 0&&(u=n);var d=Object.getOwnPropertyDescriptor(l,n);(!d||("get"in d?!l.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return l[n]}}),Object.defineProperty(i,u,d)}):(function(i,l,n,u){u===void 0&&(u=n),i[u]=l[n]})),o=lib$7&&lib$7.__exportStar||function(i,l){for(var n in i)n!=="default"&&!Object.prototype.hasOwnProperty.call(l,n)&&e(l,i,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(requireActivitymonitor(),t),o(requireInterfaces(),t),o(requireLru(),t),o(requireMarkdowncodeblocks(),t),o(requirePageconfig(),t),o(requirePath(),t),o(requireSignal(),t),o(requireText(),t),o(requireTime(),t),o(requireUrl(),t),o(requirePluginregistry(),t)})(lib$7)),lib$7}var libExports$1=requireLib$7(),lib$6={},basemanager={},serverconnection={},serialize={},messages={},hasRequiredMessages;function requireMessages(){if(hasRequiredMessages)return messages;hasRequiredMessages=1,Object.defineProperty(messages,"__esModule",{value:!0}),messages.supportedKernelWebSocketProtocols=void 0,messages.createMessage=e,messages.isStreamMsg=o,messages.isDisplayDataMsg=i,messages.isUpdateDisplayDataMsg=l,messages.isExecuteInputMsg=n,messages.isExecuteResultMsg=u,messages.isErrorMsg=d,messages.isStatusMsg=a,messages.isClearOutputMsg=r,messages.isDebugEventMsg=s,messages.isCommOpenMsg=h,messages.isCommCloseMsg=c,messages.isCommMsgMsg=f,messages.isInfoRequestMsg=b,messages.isExecuteReplyMsg=y,messages.isDebugRequestMsg=w,messages.isDebugReplyMsg=_,messages.isInputRequestMsg=m,messages.isInputReplyMsg=A;const t=requireDist();function e(p){var v,C,P,E,R,S;return{buffers:(v=p.buffers)!==null&&v!==void 0?v:[],channel:p.channel,content:p.content,header:{date:new Date().toISOString(),msg_id:(C=p.msgId)!==null&&C!==void 0?C:t.UUID.uuid4(),msg_type:p.msgType,session:p.session,username:(P=p.username)!==null&&P!==void 0?P:"",subshell_id:(E=p.subshellId)!==null&&E!==void 0?E:null,version:"5.2"},metadata:(R=p.metadata)!==null&&R!==void 0?R:{},parent_header:(S=p.parentHeader)!==null&&S!==void 0?S:{}}}function o(p){return p.header.msg_type==="stream"}function i(p){return p.header.msg_type==="display_data"}function l(p){return p.header.msg_type==="update_display_data"}function n(p){return p.header.msg_type==="execute_input"}function u(p){return p.header.msg_type==="execute_result"}function d(p){return p.header.msg_type==="error"}function a(p){return p.header.msg_type==="status"}function r(p){return p.header.msg_type==="clear_output"}function s(p){return p.header.msg_type==="debug_event"}function h(p){return p.header.msg_type==="comm_open"}function c(p){return p.header.msg_type==="comm_close"}function f(p){return p.header.msg_type==="comm_msg"}function b(p){return p.header.msg_type==="kernel_info_request"}function y(p){return p.header.msg_type==="execute_reply"}function w(p){return p.header.msg_type==="debug_request"}function _(p){return p.header.msg_type==="debug_reply"}function m(p){return p.header.msg_type==="input_request"}function A(p){return p.header.msg_type==="input_reply"}var g;return(function(p){p.v1KernelWebsocketJupyterOrg="v1.kernel.websocket.jupyter.org"})(g||(messages.supportedKernelWebSocketProtocols=g={})),messages}var hasRequiredSerialize;function requireSerialize(){if(hasRequiredSerialize)return serialize;hasRequiredSerialize=1;var t=serialize&&serialize.__createBinding||(Object.create?(function(d,a,r,s){s===void 0&&(s=r);var h=Object.getOwnPropertyDescriptor(a,r);(!h||("get"in h?!a.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return a[r]}}),Object.defineProperty(d,s,h)}):(function(d,a,r,s){s===void 0&&(s=r),d[s]=a[r]})),e=serialize&&serialize.__setModuleDefault||(Object.create?(function(d,a){Object.defineProperty(d,"default",{enumerable:!0,value:a})}):function(d,a){d.default=a}),o=serialize&&serialize.__importStar||(function(){var d=function(a){return d=Object.getOwnPropertyNames||function(r){var s=[];for(var h in r)Object.prototype.hasOwnProperty.call(r,h)&&(s[s.length]=h);return s},d(a)};return function(a){if(a&&a.__esModule)return a;var r={};if(a!=null)for(var s=d(a),h=0;h<s.length;h++)s[h]!=="default"&&t(r,a,s[h]);return e(r,a),r}})();Object.defineProperty(serialize,"__esModule",{value:!0}),serialize.serialize=l,serialize.deserialize=n;const i=o(requireMessages());function l(d,a=""){switch(a){case i.supportedKernelWebSocketProtocols.v1KernelWebsocketJupyterOrg:return u.serializeV1KernelWebsocketJupyterOrg(d);default:return u.serializeDefault(d)}}function n(d,a=""){switch(a){case i.supportedKernelWebSocketProtocols.v1KernelWebsocketJupyterOrg:return u.deserializeV1KernelWebsocketJupyterOrg(d);default:return u.deserializeDefault(d)}}var u;return(function(d){function a(b){let y;const w=new DataView(b),_=Number(w.getBigUint64(0,!0));let m=[];for(let R=0;R<_;R++)m.push(Number(w.getBigUint64(8*(R+1),!0)));const A=new TextDecoder("utf8"),g=A.decode(b.slice(m[0],m[1])),p=JSON.parse(A.decode(b.slice(m[1],m[2]))),v=JSON.parse(A.decode(b.slice(m[2],m[3]))),C=JSON.parse(A.decode(b.slice(m[3],m[4]))),P=JSON.parse(A.decode(b.slice(m[4],m[5])));let E=[];for(let R=5;R<m.length-1;R++)E.push(new DataView(b.slice(m[R],m[R+1])));return y={channel:g,header:p,parent_header:v,metadata:C,content:P,buffers:E},y}d.deserializeV1KernelWebsocketJupyterOrg=a;function r(b){const y=JSON.stringify(b.header),w=b.parent_header==null?"{}":JSON.stringify(b.parent_header),_=JSON.stringify(b.metadata),m=JSON.stringify(b.content),A=b.buffers!==void 0?b.buffers:[],g=5+A.length+1;let p=[];p.push(8*(1+g)),p.push(b.channel.length+p[p.length-1]);const v=new TextEncoder,C=v.encode(b.channel),P=v.encode(y),E=v.encode(w),R=v.encode(_),S=v.encode(m),I=new Uint8Array(C.length+P.length+E.length+R.length+S.length);I.set(C),I.set(P,C.length),I.set(E,C.length+P.length),I.set(R,C.length+P.length+E.length),I.set(S,C.length+P.length+E.length+R.length);for(let U of[P.length,E.length,R.length,S.length])p.push(U+p[p.length-1]);let x=0;for(let U of A){let B=U.byteLength;p.push(B+p[p.length-1]),x+=B}const M=new Uint8Array(8*(1+g)+I.byteLength+x),D=new ArrayBuffer(8),H=new DataView(D);H.setBigUint64(0,BigInt(g),!0),M.set(new Uint8Array(D),0);for(let U=0;U<p.length;U++)H.setBigUint64(0,BigInt(p[U]),!0),M.set(new Uint8Array(D),8*(U+1));M.set(I,p[0]);for(let U=0;U<A.length;U++){const B=A[U];M.set(new Uint8Array(ArrayBuffer.isView(B)?B.buffer:B),p[5+U])}return M.buffer}d.serializeV1KernelWebsocketJupyterOrg=r;function s(b){let y;return typeof b=="string"?y=JSON.parse(b):y=c(b),y}d.deserializeDefault=s;function h(b){var y;let w;return!((y=b.buffers)===null||y===void 0)&&y.length?w=f(b):w=JSON.stringify(b),w}d.serializeDefault=h;function c(b){const y=new DataView(b),w=y.getUint32(0),_=[];if(w<2)throw new Error("Invalid incoming Kernel Message");for(let g=1;g<=w;g++)_.push(y.getUint32(g*4));const m=new Uint8Array(b.slice(_[0],_[1])),A=JSON.parse(new TextDecoder("utf8").decode(m));A.buffers=[];for(let g=1;g<w;g++){const p=_[g],v=_[g+1]||b.byteLength;A.buffers.push(new DataView(b.slice(p,v)))}return A}function f(b){const y=[],w=[],_=new TextEncoder;let m=[];b.buffers!==void 0&&(m=b.buffers,delete b.buffers);const A=_.encode(JSON.stringify(b));w.push(A.buffer);for(let C=0;C<m.length;C++){const P=m[C];w.push(ArrayBuffer.isView(P)?P.buffer:P)}const g=w.length;y.push(4*(g+1));for(let C=0;C+1<w.length;C++)y.push(y[y.length-1]+w[C].byteLength);const p=new Uint8Array(y[y.length-1]+w[w.length-1].byteLength),v=new DataView(p.buffer);v.setUint32(0,g);for(let C=0;C<y.length;C++)v.setUint32(4*(C+1),y[C]);for(let C=0;C<w.length;C++)p.set(new Uint8Array(w[C]),y[C]);return p.buffer}})(u||(u={})),serialize}var ws={},hasRequiredWs;function requireWs(){return hasRequiredWs||(hasRequiredWs=1,Object.defineProperty(ws,"__esModule",{value:!0}),ws.default=WebSocket),ws}var hasRequiredServerconnection;function requireServerconnection(){if(hasRequiredServerconnection)return serverconnection;hasRequiredServerconnection=1;var t={};Object.defineProperty(serverconnection,"__esModule",{value:!0}),serverconnection.ServerConnection=void 0;const e=requireLib$7(),o=requireSerialize();let i;typeof window>"u"?i=requireWs():i=WebSocket;var l;(function(u){function d(h){return n.makeSettings(h)}u.makeSettings=d;function a(h,c,f){return n.handleRequest(h,c,f)}u.makeRequest=a;class r extends Error{static async create(c){try{const f=await c.json(),{message:b,traceback:y}=f;return y&&console.error(y),new r(c,b??r._defaultMessage(c),y??"")}catch(f){return console.debug(f),new r(c)}}constructor(c,f=r._defaultMessage(c),b=""){super(f),this.response=c,this.traceback=b}static _defaultMessage(c){return`Invalid response: ${c.status} ${c.statusText}`}}u.ResponseError=r;class s extends TypeError{constructor(c){super(c.message),this.stack=c.stack}}u.NetworkError=s})(l||(serverconnection.ServerConnection=l={}));var n;return(function(u){function d(s={}){var h;const c=e.PageConfig.getBaseUrl(),f=e.PageConfig.getWsUrl(),b=e.URLExt.normalize(s.baseUrl)||c;let y=s.wsUrl;!y&&b===c&&(y=f),!y&&b.indexOf("http")===0&&(y="ws"+b.slice(4)),y=y??f;const w=e.PageConfig.getOption("appendToken").toLowerCase();let _;return w===""?_=typeof window>"u"||typeof process<"u"&&((h=process==null?void 0:t)===null||h===void 0?void 0:h.JEST_WORKER_ID)!==void 0||e.URLExt.getHostName(c)!==e.URLExt.getHostName(y):_=w==="true",{init:{cache:"no-store",credentials:"same-origin"},fetch,Headers,Request,WebSocket:i,token:e.PageConfig.getToken(),appUrl:e.PageConfig.getOption("appUrl"),appendToken:_,serializer:{serialize:o.serialize,deserialize:o.deserialize},...s,baseUrl:b,wsUrl:y}}u.makeSettings=d;function a(s,h,c){var f;if(s.indexOf(c.baseUrl)!==0)throw new Error("Can only be used for notebook server requests");((f=h.cache)!==null&&f!==void 0?f:c.init.cache)==="no-store"&&(s+=(/\?/.test(s)?"&":"?")+new Date().getTime());const y=new c.Request(s,{...c.init,...h});let w=!1;if(c.token&&(w=!0,y.headers.append("Authorization",`token ${c.token}`)),typeof document<"u"){const _=r("_xsrf");_!==void 0&&(w=!0,y.headers.append("X-XSRFToken",_))}return!y.headers.has("Content-Type")&&w&&y.headers.set("Content-Type","application/json"),c.fetch.call(null,y).catch(_=>{throw new l.NetworkError(_)})}u.handleRequest=a;function r(s){let h="";try{h=document.cookie}catch{return}const c=s+"=";let f;for(const b of h.split(";")){const y=b.trim();y.startsWith(c)&&(f=y.substring(c.length))}return f}})(n||(n={})),serverconnection}var hasRequiredBasemanager;function requireBasemanager(){if(hasRequiredBasemanager)return basemanager;hasRequiredBasemanager=1,Object.defineProperty(basemanager,"__esModule",{value:!0}),basemanager.BaseManager=void 0;const t=require$$0,e=requireServerconnection();class o{constructor(l){var n;this._isDisposed=!1,this._disposed=new t.Signal(this),this.serverSettings=(n=l.serverSettings)!==null&&n!==void 0?n:e.ServerConnection.makeSettings()}get disposed(){return this._disposed}get isDisposed(){return this._isDisposed}get isActive(){return!0}dispose(){this.isDisposed||(this._isDisposed=!0,this._disposed.emit(void 0),t.Signal.clearData(this))}}return basemanager.BaseManager=o,basemanager}var config={},hasRequiredConfig;function requireConfig(){if(hasRequiredConfig)return config;hasRequiredConfig=1,Object.defineProperty(config,"__esModule",{value:!0}),config.ConfigWithDefaults=config.ConfigSection=config.ConfigSectionManager=void 0;const t=requireLib$7(),e=requireLib$6(),o="api/config";class i{constructor(a){var r;this.serverSettings=(r=a.serverSettings)!==null&&r!==void 0?r:e.ServerConnection.makeSettings()}async create(a){const r=new n({...a,serverSettings:this.serverSettings});return await r.load(),r}}config.ConfigSectionManager=i;var l;(function(d){async function a(h){if(!r){const f=new n(h);return await f.load(),f}return await r.create(h)}d.create=a;let r;function s(h){if(r)throw new Error("ConfigSectionManager already set. If you would like to create a config section, use the `IConfigSectionManager` token in a plugin.");r=h}d._setConfigSectionManager=s})(l||(config.ConfigSection=l={}));class n{constructor(a){var r;this.serverSettings=(r=a.serverSettings)!==null&&r!==void 0?r:e.ServerConnection.makeSettings(),this._name=a.name}get data(){return this._data}async load(){const a=await e.ServerConnection.makeRequest(this._url,{},this.serverSettings);if(a.status!==200)throw await e.ServerConnection.ResponseError.create(a);this._data=await a.json()}async update(a){this._data={...this._data,...a};const r={method:"PATCH",body:JSON.stringify(a)},s=await e.ServerConnection.makeRequest(this._url,r,this.serverSettings);if(s.status!==200)throw await e.ServerConnection.ResponseError.create(s);return this._data=await s.json(),this._data}get _url(){return t.URLExt.join(this.serverSettings.baseUrl,o,encodeURIComponent(this._name))}}class u{constructor(a){var r,s;this._className="",this._section=a.section,this._defaults=(r=a.defaults)!==null&&r!==void 0?r:{},this._className=(s=a.className)!==null&&s!==void 0?s:""}get(a){const r=this._classData();return a in r?r[a]:this._defaults[a]}set(a,r){const s={};if(s[a]=r,this._className){const h={};return h[this._className]=s,this._section.update(h)}else return this._section.update(s)}_classData(){const a=this._section.data;return this._className&&this._className in a?a[this._className]:a}}return config.ConfigWithDefaults=u,config}var connectionstatus={},hasRequiredConnectionstatus;function requireConnectionstatus(){if(hasRequiredConnectionstatus)return connectionstatus;hasRequiredConnectionstatus=1,Object.defineProperty(connectionstatus,"__esModule",{value:!0}),connectionstatus.ConnectionStatus=void 0;class t{constructor(){this.isConnected=!0}}return connectionstatus.ConnectionStatus=t,connectionstatus}var contents={};const require$$1$1=getAugmentedNamespace(index_es6$4);var validate$5={},validate$4={},hasRequiredValidate$5;function requireValidate$5(){if(hasRequiredValidate$5)return validate$4;hasRequiredValidate$5=1,Object.defineProperty(validate$4,"__esModule",{value:!0}),validate$4.validateProperty=t;function t(e,o,i,l=[]){if(!e.hasOwnProperty(o))throw Error(`Missing property '${o}'`);const n=e[o];if(i!==void 0){let u;switch(i){case"array":u=Array.isArray(n);break;case"object":u=typeof n<"u";break;default:u=typeof n===i}if(!u)throw new Error(`Property '${o}' is not of type '${i}'`);if(l.length>0){let d;switch(i){case"string":case"number":case"boolean":d=l.includes(n);break;default:d=l.findIndex(a=>a===n)>=0;break}if(!d)throw new Error(`Property '${o}' is not one of the valid values ${JSON.stringify(l)}`)}}}return validate$4}var hasRequiredValidate$4;function requireValidate$4(){if(hasRequiredValidate$4)return validate$5;hasRequiredValidate$4=1,Object.defineProperty(validate$5,"__esModule",{value:!0}),validate$5.validateContentsModel=e,validate$5.validateCheckpointModel=o;const t=requireValidate$5();function e(i){(0,t.validateProperty)(i,"name","string"),(0,t.validateProperty)(i,"path","string"),(0,t.validateProperty)(i,"type","string"),(0,t.validateProperty)(i,"created","string"),(0,t.validateProperty)(i,"last_modified","string"),(0,t.validateProperty)(i,"mimetype","object"),(0,t.validateProperty)(i,"content","object"),(0,t.validateProperty)(i,"format","object")}function o(i){(0,t.validateProperty)(i,"id","string"),(0,t.validateProperty)(i,"last_modified","string")}return validate$5}var hasRequiredContents;function requireContents(){if(hasRequiredContents)return contents;hasRequiredContents=1;var t=contents&&contents.__createBinding||(Object.create?(function(_,m,A,g){g===void 0&&(g=A);var p=Object.getOwnPropertyDescriptor(m,A);(!p||("get"in p?!m.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return m[A]}}),Object.defineProperty(_,g,p)}):(function(_,m,A,g){g===void 0&&(g=A),_[g]=m[A]})),e=contents&&contents.__setModuleDefault||(Object.create?(function(_,m){Object.defineProperty(_,"default",{enumerable:!0,value:m})}):function(_,m){_.default=m}),o=contents&&contents.__importStar||(function(){var _=function(m){return _=Object.getOwnPropertyNames||function(A){var g=[];for(var p in A)Object.prototype.hasOwnProperty.call(A,p)&&(g[g.length]=p);return g},_(m)};return function(m){if(m&&m.__esModule)return m;var A={};if(m!=null)for(var g=_(m),p=0;p<g.length;p++)g[p]!=="default"&&t(A,m,g[p]);return e(A,m),A}})();Object.defineProperty(contents,"__esModule",{value:!0}),contents.RestContentProvider=contents.ContentProviderRegistry=contents.Drive=contents.ContentsManager=contents.Contents=void 0;const i=requireLib$7(),l=requireDist(),n=require$$1$1,u=require$$0,d=requireLib$6(),a=o(requireValidate$4()),r="api/contents",s="files";var h;(function(_){function m(g){a.validateContentsModel(g)}_.validateContentsModel=m;function A(g){a.validateCheckpointModel(g)}_.validateCheckpointModel=A})(h||(contents.Contents=h={}));class c{constructor(m={}){var A,g;this._isDisposed=!1,this._additionalDrives=new Map,this._fileChanged=new u.Signal(this);const p=this.serverSettings=(A=m.serverSettings)!==null&&A!==void 0?A:d.ServerConnection.makeSettings();this._defaultDrive=(g=m.defaultDrive)!==null&&g!==void 0?g:new f({serverSettings:p}),this._defaultDrive.fileChanged.connect(this._onFileChanged,this)}get defaultDrive(){return this._defaultDrive}get fileChanged(){return this._fileChanged}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,u.Signal.clearData(this))}addDrive(m){this._additionalDrives.set(m.name,m),m.fileChanged.connect(this._onFileChanged,this)}getSharedModelFactory(m,A){var g,p;const[v]=this._driveForPath(m),C=(g=v.contentProviderRegistry)===null||g===void 0?void 0:g.getProvider(A==null?void 0:A.contentProviderId);return C!=null&&C.sharedModelFactory?C.sharedModelFactory:(p=v.sharedModelFactory)!==null&&p!==void 0?p:null}localPath(m){const A=m.split("/"),g=A[0].split(":");return g.length===1||!this._additionalDrives.has(g[0])?i.PathExt.removeSlash(m):i.PathExt.join(g.slice(1).join(":"),...A.slice(1))}normalize(m){const A=m.split(":");return A.length===1?i.PathExt.normalize(m):`${A[0]}:${i.PathExt.normalize(A.slice(1).join(":"))}`}resolvePath(m,A){const g=this.driveName(m),p=this.localPath(m),v=i.PathExt.resolve("/",p,A);return g?`${g}:${v}`:v}driveName(m){const g=m.split("/")[0].split(":");return g.length===1?"":this._additionalDrives.has(g[0])?g[0]:""}get(m,A){const[g,p]=this._driveForPath(m);return g.get(p,A).then(v=>{const C=[];if(v.type==="directory"&&v.content){for(const P of v.content)C.push({...P,path:this._toGlobalPath(g,P.path)});return{...v,path:this._toGlobalPath(g,p),content:C,serverPath:v.path}}else return{...v,path:this._toGlobalPath(g,p),serverPath:v.path}})}getDownloadUrl(m){const[A,g]=this._driveForPath(m);return A.getDownloadUrl(g)}newUntitled(m={}){if(m.path){const A=this.normalize(m.path),[g,p]=this._driveForPath(A);return g.newUntitled({...m,path:p}).then(v=>({...v,path:i.PathExt.join(A,v.name),serverPath:v.path}))}else return this._defaultDrive.newUntitled(m)}delete(m){const[A,g]=this._driveForPath(m);return A.delete(g)}rename(m,A){const[g,p]=this._driveForPath(m),[v,C]=this._driveForPath(A);if(g!==v)throw Error("ContentsManager: renaming files must occur within a Drive");return g.rename(p,C).then(P=>({...P,path:this._toGlobalPath(g,C),serverPath:P.path}))}async overwrite(m,A){const g=`${A}.${l.UUID.uuid4()}`;await this.rename(m,g);try{await this.delete(A)}finally{}return await this.rename(g,A)}save(m,A={}){const g=this.normalize(m),[p,v]=this._driveForPath(m);return p.save(v,{...A,path:v}).then(C=>({...C,path:g,serverPath:C.path}))}copy(m,A){const[g,p]=this._driveForPath(m),[v,C]=this._driveForPath(A);if(g===v)return g.copy(p,C).then(P=>({...P,path:this._toGlobalPath(g,P.path),serverPath:P.path}));throw Error("Copying files between drives is not currently implemented")}createCheckpoint(m){const[A,g]=this._driveForPath(m);return A.createCheckpoint(g)}listCheckpoints(m){const[A,g]=this._driveForPath(m);return A.listCheckpoints(g)}restoreCheckpoint(m,A){const[g,p]=this._driveForPath(m);return g.restoreCheckpoint(p,A)}deleteCheckpoint(m,A){const[g,p]=this._driveForPath(m);return g.deleteCheckpoint(p,A)}_toGlobalPath(m,A){return m===this._defaultDrive?i.PathExt.removeSlash(A):`${m.name}:${i.PathExt.removeSlash(A)}`}_driveForPath(m){const A=this.driveName(m),g=this.localPath(m);return A?[this._additionalDrives.get(A),g]:[this._defaultDrive,g]}_onFileChanged(m,A){var g,p;if(m===this._defaultDrive)this._fileChanged.emit(A);else{let v=null,C=null;!((g=A.newValue)===null||g===void 0)&&g.path&&(v={...A.newValue,path:this._toGlobalPath(m,A.newValue.path)}),!((p=A.oldValue)===null||p===void 0)&&p.path&&(C={...A.oldValue,path:this._toGlobalPath(m,A.oldValue.path)}),this._fileChanged.emit({type:A.type,newValue:v,oldValue:C})}}}contents.ContentsManager=c;class f{constructor(m={}){var A,g,p;this._isDisposed=!1,this._fileChanged=new u.Signal(this),this.name=(A=m.name)!==null&&A!==void 0?A:"Default",this._apiEndpoint=(g=m.apiEndpoint)!==null&&g!==void 0?g:r,this.serverSettings=(p=m.serverSettings)!==null&&p!==void 0?p:d.ServerConnection.makeSettings(),this._restContentProvider=new w({...m,apiEndpoint:this._apiEndpoint,serverSettings:this.serverSettings}),m.defaultContentProvider?this.contentProviderRegistry=new y({defaultProvider:m.defaultContentProvider}):this.contentProviderRegistry=new y,this.contentProviderRegistry.fileChanged.connect((v,C)=>{this._fileChanged.emit(C)})}get fileChanged(){return this._fileChanged}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,u.Signal.clearData(this))}async get(m,A){const g=this.contentProviderRegistry.getProvider(A==null?void 0:A.contentProviderId);return g?g.get(m,A):await this._restContentProvider.get(m,A)}getDownloadUrl(m){const A=this.serverSettings.baseUrl;let g=i.URLExt.join(A,s,i.URLExt.encodeParts(m)),p="";try{p=document.cookie}catch{}const v=p.match("\\b_xsrf=([^;]*)\\b");if(v){const C=new URL(g);C.searchParams.append("_xsrf",v[1]),g=C.toString()}return Promise.resolve(g)}async newUntitled(m={}){var A;let g="{}";m&&(m.ext&&(m.ext=b.normalizeExtension(m.ext)),g=JSON.stringify(m));const p=this.serverSettings,v=this._getUrl((A=m.path)!==null&&A!==void 0?A:""),C={method:"POST",body:g},P=await d.ServerConnection.makeRequest(v,C,p);if(P.status!==201)throw await d.ServerConnection.ResponseError.create(P);const E=await P.json();return a.validateContentsModel(E),this._fileChanged.emit({type:"new",oldValue:null,newValue:E}),E}async delete(m){const A=this._getUrl(m),g=this.serverSettings,p={method:"DELETE"},v=await d.ServerConnection.makeRequest(A,p,g);if(v.status!==204)throw await d.ServerConnection.ResponseError.create(v);this._fileChanged.emit({type:"delete",oldValue:{path:m},newValue:null})}async rename(m,A){const g=this.serverSettings,p=this._getUrl(m),v={method:"PATCH",body:JSON.stringify({path:A})},C=await d.ServerConnection.makeRequest(p,v,g);if(C.status!==200)throw await d.ServerConnection.ResponseError.create(C);const P=await C.json();return a.validateContentsModel(P),this._fileChanged.emit({type:"rename",oldValue:{path:m},newValue:P}),P}async save(m,A={}){const g=this.contentProviderRegistry.getProvider(A==null?void 0:A.contentProviderId);let p;return g?p=await g.save(m,A):p=await this._restContentProvider.save(m,A),this._fileChanged.emit({type:"save",oldValue:null,newValue:p}),p}async copy(m,A){const g=this.serverSettings,p=this._getUrl(A),v={method:"POST",body:JSON.stringify({copy_from:m})},C=await d.ServerConnection.makeRequest(p,v,g);if(C.status!==201)throw await d.ServerConnection.ResponseError.create(C);const P=await C.json();return a.validateContentsModel(P),this._fileChanged.emit({type:"new",oldValue:null,newValue:P}),P}async createCheckpoint(m){const A=this._getUrl(m,"checkpoints"),g={method:"POST"},p=await d.ServerConnection.makeRequest(A,g,this.serverSettings);if(p.status!==201)throw await d.ServerConnection.ResponseError.create(p);const v=await p.json();return a.validateCheckpointModel(v),v}async listCheckpoints(m){const A=this._getUrl(m,"checkpoints"),g=await d.ServerConnection.makeRequest(A,{},this.serverSettings);if(g.status!==200)throw await d.ServerConnection.ResponseError.create(g);const p=await g.json();if(!Array.isArray(p))throw new Error("Invalid Checkpoint list");for(let v=0;v<p.length;v++)a.validateCheckpointModel(p[v]);return p}async restoreCheckpoint(m,A){const g=this._getUrl(m,"checkpoints",A),p={method:"POST"},v=await d.ServerConnection.makeRequest(g,p,this.serverSettings);if(v.status!==204)throw await d.ServerConnection.ResponseError.create(v)}async deleteCheckpoint(m,A){const g=this._getUrl(m,"checkpoints",A),p={method:"DELETE"},v=await d.ServerConnection.makeRequest(g,p,this.serverSettings);if(v.status!==204)throw await d.ServerConnection.ResponseError.create(v)}_getUrl(...m){const A=m.map(p=>i.URLExt.encodeParts(p)),g=this.serverSettings.baseUrl;return i.URLExt.join(g,this._apiEndpoint,...A)}}contents.Drive=f;var b;(function(_){function m(A){return A.length>0&&A.indexOf(".")!==0&&(A=`.${A}`),A}_.normalizeExtension=m})(b||(b={}));class y{constructor(m){this._providers=new Map,this._fileChanged=new u.Signal(this),m!=null&&m.defaultProvider&&this.register("default",m.defaultProvider)}register(m,A){if(this._providers.has(m))throw Error(`Provider with ${m} identifier was already registered on this drive`);this._providers.set(m,A);const g=(p,v)=>{this._fileChanged.emit(v)};return A.fileChanged&&A.fileChanged.connect(g),new n.DisposableDelegate(()=>{A.fileChanged&&A.fileChanged.disconnect(g),this._providers.has(m)&&this._providers.delete(m)})}getProvider(m){if(!m)return null;const A=this._providers.get(m);if(!A)throw Error(`Provider ${m} is not registered`);return A}get fileChanged(){return this._fileChanged}}contents.ContentProviderRegistry=y;class w{constructor(m){this._options=m}async get(m,A){let g=this._getUrl(m);if(A){A.type==="notebook"&&delete A.format;const P=A.content?"1":"0",E=A.hash?"1":"0",R={...A,content:P,hash:E};g+=i.URLExt.objectToQueryString(R)}const p=this._options.serverSettings,v=await d.ServerConnection.makeRequest(g,{},p);if(v.status!==200)throw await d.ServerConnection.ResponseError.create(v);const C=await v.json();return a.validateContentsModel(C),C}async save(m,A={}){const g=this._options.serverSettings,p=this._getUrl(m),C={method:"PUT",body:new File([JSON.stringify(A)],"data.json",{type:"application/json"})},P=await d.ServerConnection.makeRequest(p,C,g);if(P.status!==200&&P.status!==201)throw await d.ServerConnection.ResponseError.create(P);const E=await P.json();return a.validateContentsModel(E),E}_getUrl(...m){const A=m.map(p=>i.URLExt.encodeParts(p)),g=this._options.serverSettings.baseUrl;return i.URLExt.join(g,this._options.apiEndpoint,...A)}}return contents.RestContentProvider=w,contents}var event={};class Poll{constructor(e){var o;this._disposed=new Signal(this),this._lingered=0,this._tick=new PromiseDelegate,this._ticked=new Signal(this),this._factory=e.factory,this._linger=(o=e.linger)!==null&&o!==void 0?o:Private$7.DEFAULT_LINGER,this._standby=e.standby||Private$7.DEFAULT_STANDBY,this._state={...Private$7.DEFAULT_STATE,timestamp:new Date().getTime()};const i=e.frequency||{},l=Math.max(i.interval||0,i.max||0,Private$7.DEFAULT_FREQUENCY.max);this.frequency={...Private$7.DEFAULT_FREQUENCY,...i,max:l},this.name=e.name||Private$7.DEFAULT_NAME,(!("auto"in e)||e.auto)&&setTimeout(()=>this.start())}get disposed(){return this._disposed}get frequency(){return this._frequency}set frequency(e){if(this.isDisposed||JSONExt.deepEqual(e,this.frequency||{}))return;let{backoff:o,interval:i,max:l}=e;if(i=Math.round(i),l=Math.round(l),typeof o=="number"&&o<1)throw new Error("Poll backoff growth factor must be at least 1");if((i<0||i>l)&&i!==Poll.NEVER)throw new Error("Poll interval must be between 0 and max");if(l>Poll.MAX_INTERVAL&&l!==Poll.NEVER)throw new Error(`Max interval must be less than ${Poll.MAX_INTERVAL}`);this._frequency={backoff:o,interval:i,max:l}}get isDisposed(){return this.state.phase==="disposed"}get standby(){return this._standby}set standby(e){this.isDisposed||this.standby===e||(this._standby=e)}get state(){return this._state}get tick(){return this._tick.promise}get ticked(){return this._ticked}async*[Symbol.asyncIterator](){for(;!this.isDisposed;)yield this.state,await this.tick.catch(()=>{})}dispose(){this.isDisposed||(this._state={...Private$7.DISPOSED_STATE,timestamp:new Date().getTime()},this._tick.promise.catch(e=>{}),this._tick.reject(new Error(`Poll (${this.name}) is disposed.`)),this._disposed.emit(void 0),Signal.clearData(this))}refresh(){return this.schedule({cancel:({phase:e})=>e==="refreshed",interval:Poll.IMMEDIATE,phase:"refreshed"})}async schedule(e={}){if(this.isDisposed||e.cancel&&e.cancel(this.state))return;const o=this._tick,i=new PromiseDelegate,l={interval:this.frequency.interval,payload:null,phase:"standby",timestamp:new Date().getTime(),...e};if(this._state=l,this._tick=i,clearTimeout(this._timeout),this._ticked.emit(this.state),o.resolve(this),await o.promise,l.interval===Poll.NEVER){this._timeout=void 0;return}const n=()=>{this.isDisposed||this.tick!==i.promise||this._execute()};this._timeout=setTimeout(n,l.interval)}start(){return this.schedule({cancel:({phase:e})=>e!=="constructed"&&e!=="standby"&&e!=="stopped",interval:Poll.IMMEDIATE,phase:"started"})}stop(){return this.schedule({cancel:({phase:e})=>e==="stopped",interval:Poll.NEVER,phase:"stopped"})}get hidden(){return Private$7.hidden}_execute(){let e=typeof this.standby=="function"?this.standby():this.standby;if(e==="never"?e=!1:e==="when-hidden"&&(this.hidden?e=++this._lingered>this._linger:(this._lingered=0,e=!1)),e){this.schedule();return}const o=this.tick;this._factory(this.state).then(i=>{this.isDisposed||this.tick!==o||this.schedule({payload:i,phase:this.state.phase==="rejected"?"reconnected":"resolved"})}).catch(i=>{this.isDisposed||this.tick!==o||this.schedule({interval:Private$7.sleep(this.frequency,this.state),payload:i,phase:"rejected"})})}}(function(t){t.IMMEDIATE=0,t.MAX_INTERVAL=2147483647,t.NEVER=1/0})(Poll||(Poll={}));var Private$7;(function(t){t.DEFAULT_BACKOFF=3,t.DEFAULT_FREQUENCY={backoff:!0,interval:1e3,max:30*1e3},t.DEFAULT_LINGER=1,t.DEFAULT_NAME="unknown",t.DEFAULT_STANDBY="when-hidden",t.DEFAULT_STATE={interval:Poll.NEVER,payload:null,phase:"constructed",timestamp:new Date(0).getTime()},t.DISPOSED_STATE={interval:Poll.NEVER,payload:null,phase:"disposed",timestamp:new Date(0).getTime()};function e(i,l){const{backoff:n,interval:u,max:d}=i;if(u===Poll.NEVER)return u;const a=n===!0?t.DEFAULT_BACKOFF:n===!1?1:n,r=o(u,l.interval*a);return Math.min(d,r)}t.sleep=e,t.hidden=typeof document>"u"?!1:(document.addEventListener("visibilitychange",()=>{t.hidden=document.visibilityState==="hidden"}),document.addEventListener("pagehide",()=>{t.hidden=document.visibilityState==="hidden"}),document.visibilityState==="hidden");function o(i,l){return i=Math.ceil(i),l=Math.floor(l),Math.floor(Math.random()*(l-i+1))+i}})(Private$7||(Private$7={}));class RateLimiter{constructor(e,o=500){this.args=void 0,this.payload=null,this.limit=o,this.poll=new Poll({auto:!1,factory:async()=>{const{args:i}=this;return this.args=void 0,e(...i)},frequency:{backoff:!1,interval:Poll.NEVER,max:Poll.NEVER},standby:"never"}),this.payload=new PromiseDelegate,this.poll.ticked.connect((i,l)=>{const{payload:n}=this;if(l.phase==="resolved"){this.payload=new PromiseDelegate,n.resolve(l.payload);return}if(l.phase==="rejected"||l.phase==="stopped"){this.payload=new PromiseDelegate,n.promise.catch(u=>{}),n.reject(l.payload);return}},this)}get isDisposed(){return this.payload===null}dispose(){this.isDisposed||(this.args=void 0,this.payload=null,this.poll.dispose())}async stop(){return this.poll.stop()}}class Debouncer extends RateLimiter{invoke(...e){return this.args=e,this.poll.schedule({interval:this.limit,phase:"invoked"}),this.payload.promise}}class Throttler extends RateLimiter{constructor(e,o){super(e,typeof o=="number"?o:o&&o.limit),this._trailing=!1,typeof o!="number"&&o&&o.edge==="trailing"&&(this._trailing=!0),this._interval=this._trailing?this.limit:Poll.IMMEDIATE}invoke(...e){const o=this.poll.state.phase!=="invoked";return(o||this._trailing)&&(this.args=e),o&&this.poll.schedule({interval:this._interval,phase:"invoked"}),this.payload.promise}}const index_es6=Object.freeze(Object.defineProperty({__proto__:null,Debouncer,get Poll(){return Poll},RateLimiter,Throttler},Symbol.toStringTag,{value:"Module"})),require$$1=getAugmentedNamespace(index_es6);var hasRequiredEvent;function requireEvent(){if(hasRequiredEvent)return event;hasRequiredEvent=1,Object.defineProperty(event,"__esModule",{value:!0}),event.EventManager=void 0;const t=requireLib$7(),e=require$$1,o=require$$0,i=requireServerconnection(),l="api/events";class n{constructor(d={}){var a,r;this._socket=null,this.serverSettings=(a=d.serverSettings)!==null&&a!==void 0?a:i.ServerConnection.makeSettings(),this._poll=new e.Poll({factory:()=>this._subscribe(),standby:(r=d.standby)!==null&&r!==void 0?r:"when-hidden"}),this._stream=new o.Stream(this),this._poll.start()}get isDisposed(){return this._poll.isDisposed}get stream(){return this._stream}dispose(){if(this.isDisposed)return;this._poll.dispose();const d=this._socket;d&&(this._socket=null,d.onopen=()=>{},d.onerror=()=>{},d.onmessage=()=>{},d.onclose=()=>{},d.close()),o.Signal.clearData(this),this._stream.stop()}async emit(d){const{serverSettings:a}=this,{baseUrl:r}=a,{makeRequest:s,ResponseError:h}=i.ServerConnection,c=t.URLExt.join(r,l),f={body:JSON.stringify(d),method:"POST"},b=await s(c,f,a);if(b.status!==204)throw new h(b)}_subscribe(){return new Promise((d,a)=>{if(this.isDisposed)return;const{appendToken:r,token:s,WebSocket:h,wsUrl:c}=this.serverSettings;let f=t.URLExt.join(c,l,"subscribe");r&&s!==""&&(f+=`?token=${encodeURIComponent(s)}`);const b=this._socket=new h(f),y=this._stream;b.onclose=()=>a(new Error("EventManager socket closed")),b.onmessage=w=>w.data&&y.emit(JSON.parse(w.data))})}}return event.EventManager=n,event}var kernel$1={},comm={},hasRequiredComm;function requireComm(){if(hasRequiredComm)return comm;hasRequiredComm=1;var t=comm&&comm.__createBinding||(Object.create?(function(a,r,s,h){h===void 0&&(h=s);var c=Object.getOwnPropertyDescriptor(r,s);(!c||("get"in c?!r.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return r[s]}}),Object.defineProperty(a,h,c)}):(function(a,r,s,h){h===void 0&&(h=s),a[h]=r[s]})),e=comm&&comm.__setModuleDefault||(Object.create?(function(a,r){Object.defineProperty(a,"default",{enumerable:!0,value:r})}):function(a,r){a.default=r}),o=comm&&comm.__importStar||(function(){var a=function(r){return a=Object.getOwnPropertyNames||function(s){var h=[];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(h[h.length]=c);return h},a(r)};return function(r){if(r&&r.__esModule)return r;var s={};if(r!=null)for(var h=a(r),c=0;c<h.length;c++)h[c]!=="default"&&t(s,r,h[c]);return e(s,r),s}})();Object.defineProperty(comm,"__esModule",{value:!0}),comm.CommHandler=comm.CommsOverSubshells=void 0;const i=requireDist(),l=require$$1$1,n=o(requireMessages());var u;(function(a){a.Disabled="disabled",a.PerComm="perComm",a.PerCommTarget="perCommTarget"})(u||(comm.CommsOverSubshells=u={}));class d extends l.DisposableDelegate{constructor(r,s,h,c,f){super(c),this._subshellStarted=new i.PromiseDelegate,this._subshellId=null,this._target="",this._id="",this._id=s,this._target=r,this._kernel=h,this._kernel.statusChanged.connect(()=>{this._kernel.status==="restarting"&&this._cleanSubshells()}),this.commsOverSubshells=f??u.PerCommTarget}get commId(){return this._id}get targetName(){return this._target}get subshellId(){return this._subshellId}get subshellStarted(){return this._subshellStarted.promise}get commsOverSubshells(){return this._commsOverSubshells}set commsOverSubshells(r){if(r===this._commsOverSubshells)return;const s=this._maybeCloseSubshell(this._commsOverSubshells);this._commsOverSubshells=r,s.then(()=>{this._commsOverSubshells!==u.Disabled&&this._maybeStartSubshell()}).catch(console.warn)}get onClose(){return this._onClose}set onClose(r){this._onClose=r}get onMsg(){return this._onMsg}set onMsg(r){this._onMsg=r}open(r,s,h=[]){if(this.isDisposed||this._kernel.isDisposed)throw new Error("Cannot open");const c=n.createMessage({msgType:"comm_open",channel:"shell",username:this._kernel.username,session:this._kernel.clientId,subshellId:this._subshellId||this._kernel.subshellId,content:{comm_id:this._id,target_name:this._target,data:r??{}},metadata:s,buffers:h});return this._kernel.sendShellMessage(c,!1,!0)}send(r,s,h=[],c=!0){if(this.isDisposed||this._kernel.isDisposed)throw new Error("Cannot send");const f=n.createMessage({msgType:"comm_msg",channel:"shell",username:this._kernel.username,session:this._kernel.clientId,subshellId:this._subshellId||this._kernel.subshellId,content:{comm_id:this._id,data:r},metadata:s,buffers:h});return this._kernel.sendShellMessage(f,!1,c)}close(r,s,h=[]){if(this.isDisposed||this._kernel.isDisposed)throw new Error("Cannot close");const c=n.createMessage({msgType:"comm_close",channel:"shell",username:this._kernel.username,session:this._kernel.clientId,subshellId:this._subshellId||this._kernel.subshellId,content:{comm_id:this._id,data:r??{}},metadata:s,buffers:h}),f=this._kernel.sendShellMessage(c,!1,!0),b=this._onClose;if(b){const y=n.createMessage({msgType:"comm_close",channel:"iopub",username:this._kernel.username,session:this._kernel.clientId,subshellId:this._subshellId||this._kernel.subshellId,content:{comm_id:this._id,data:r??{}},metadata:s,buffers:h});b(y)}return this.dispose(),f}dispose(){this._maybeCloseSubshell(this._commsOverSubshells),super.dispose()}_cleanSubshells(){const r=this._kernel.id;d._commTargetSubShellsId.hasOwnProperty(r)&&delete d._commTargetSubShellsId[r]}async _maybeStartSubshell(){if(await this._kernel.info,!this._kernel.supportsSubshells)return;if(this._commsOverSubshells===u.PerComm){const b=await this._kernel.requestCreateSubshell({}).done;this._subshellId=b.content.subshell_id,this._subshellStarted.resolve();return}const r=this._subshellStarted,s=this._kernel.id;d._commTargetSubShellsId.hasOwnProperty(s)||(d._commTargetSubShellsId[s]={});const h=d._commTargetSubShellsId[s],c=h[this._target];if(c){c.referenceCount+=1;try{this._subshellId=await c.subshellId,r.resolve()}catch(b){await this._closePerCommTargetSubshell(!1),r.reject(`Per comm-target subshell creation failed: ${b}`)}return}const f={subshellId:this._kernel.requestCreateSubshell({}).done.then(b=>b.content.subshell_id),referenceCount:1};h[this._target]=f;try{this._subshellId=await f.subshellId,r.resolve()}catch(b){await this._closePerCommTargetSubshell(!1),r.reject(`Per comm-target subshell creation failed: ${b}`)}}async _closePerCommTargetSubshell(r=!0){const s=this._kernel.id,h=this._target;if(d._commTargetSubShellsId.hasOwnProperty(s)){const c=d._commTargetSubShellsId[s],f=c[h];if(f&&(f.referenceCount-=1,f.referenceCount<=0)){if(r){let b=null;try{b=await f.subshellId}catch(y){console.warn(`Subshell identifier not available in the closeout sequence, will not request deletion: ${y}`)}b!==null&&this._kernel.requestDeleteSubshell({subshell_id:b},!0)}delete c[h]}Object.keys(c).length===0&&delete d._commTargetSubShellsId[s],this._subshellId=null}this._subshellStarted=new i.PromiseDelegate}async _maybeCloseSubshell(r){if(this._kernel.status!=="dead")switch(r){case u.PerComm:{this._subshellId&&(this._kernel.requestDeleteSubshell({subshell_id:this._subshellId},!0),this._subshellId=null),this._subshellStarted=new i.PromiseDelegate;break}case u.PerCommTarget:{await this._closePerCommTargetSubshell();break}case u.Disabled:break}}}return comm.CommHandler=d,d._commTargetSubShellsId={},comm}var kernel={},hasRequiredKernel$1;function requireKernel$1(){return hasRequiredKernel$1||(hasRequiredKernel$1=1,Object.defineProperty(kernel,"__esModule",{value:!0})),kernel}var restapi$4={},validate$3={},hasRequiredValidate$3;function requireValidate$3(){if(hasRequiredValidate$3)return validate$3;hasRequiredValidate$3=1,Object.defineProperty(validate$3,"__esModule",{value:!0}),validate$3.validateMessage=l,validate$3.validateModel=u,validate$3.validateModels=d;const t=requireValidate$5(),e=["username","version","session","msg_id","msg_type"],o={stream:{name:"string",text:"string"},display_data:{data:"object",metadata:"object"},execute_input:{code:"string",execution_count:"number"},execute_result:{execution_count:"number",data:"object",metadata:"object"},error:{ename:"string",evalue:"string",traceback:"object"},status:{execution_state:["string",["starting","idle","busy","restarting","dead"]]},clear_output:{wait:"boolean"},comm_open:{comm_id:"string",target_name:"string",data:"object"},comm_msg:{comm_id:"string",data:"object"},comm_close:{comm_id:"string"},shutdown_reply:{restart:"boolean"}};function i(a){for(let r=0;r<e.length;r++)(0,t.validateProperty)(a,e[r],"string")}function l(a){(0,t.validateProperty)(a,"metadata","object"),(0,t.validateProperty)(a,"content","object"),(0,t.validateProperty)(a,"channel","string"),i(a.header),a.channel==="iopub"&&n(a)}function n(a){if(a.channel==="iopub"){const r=o[a.header.msg_type];if(r===void 0)return;const s=Object.keys(r),h=a.content;for(let c=0;c<s.length;c++){let f=r[s[c]];Array.isArray(f)||(f=[f]),(0,t.validateProperty)(h,s[c],...f)}}}function u(a){(0,t.validateProperty)(a,"name","string"),(0,t.validateProperty)(a,"id","string")}function d(a){if(!Array.isArray(a))throw new Error("Invalid kernel list");a.forEach(r=>u(r))}return validate$3}var hasRequiredRestapi$4;function requireRestapi$4(){return hasRequiredRestapi$4||(hasRequiredRestapi$4=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.KernelAPIClient=t.KERNEL_SERVICE_URL=void 0,t.listRunning=l,t.startNew=n,t.restartKernel=u,t.interruptKernel=d,t.shutdownKernel=a,t.getKernelModel=r;const e=requireServerconnection(),o=requireLib$7(),i=requireValidate$3();t.KERNEL_SERVICE_URL="api/kernels";async function l(h=e.ServerConnection.makeSettings()){const c=o.URLExt.join(h.baseUrl,t.KERNEL_SERVICE_URL),f=await e.ServerConnection.makeRequest(c,{},h);if(f.status!==200)throw await e.ServerConnection.ResponseError.create(f);const b=await f.json();return(0,i.validateModels)(b),b}async function n(h={},c=e.ServerConnection.makeSettings()){const f=o.URLExt.join(c.baseUrl,t.KERNEL_SERVICE_URL),b={method:"POST",body:JSON.stringify(h)},y=await e.ServerConnection.makeRequest(f,b,c);if(y.status!==201)throw await e.ServerConnection.ResponseError.create(y);const w=await y.json();return(0,i.validateModel)(w),w}async function u(h,c=e.ServerConnection.makeSettings()){const f=o.URLExt.join(c.baseUrl,t.KERNEL_SERVICE_URL,encodeURIComponent(h),"restart"),b={method:"POST"},y=await e.ServerConnection.makeRequest(f,b,c);if(y.status!==200)throw await e.ServerConnection.ResponseError.create(y);const w=await y.json();(0,i.validateModel)(w)}async function d(h,c=e.ServerConnection.makeSettings()){const f=o.URLExt.join(c.baseUrl,t.KERNEL_SERVICE_URL,encodeURIComponent(h),"interrupt"),b={method:"POST"},y=await e.ServerConnection.makeRequest(f,b,c);if(y.status!==204)throw await e.ServerConnection.ResponseError.create(y)}async function a(h,c=e.ServerConnection.makeSettings()){const f=o.URLExt.join(c.baseUrl,t.KERNEL_SERVICE_URL,encodeURIComponent(h)),b={method:"DELETE"},y=await e.ServerConnection.makeRequest(f,b,c);if(y.status===404){const w=`The kernel "${h}" does not exist on the server`;console.warn(w)}else if(y.status!==204)throw await e.ServerConnection.ResponseError.create(y)}async function r(h,c=e.ServerConnection.makeSettings()){const f=o.URLExt.join(c.baseUrl,t.KERNEL_SERVICE_URL,encodeURIComponent(h)),b=await e.ServerConnection.makeRequest(f,{},c);if(b.status===404)return;if(b.status!==200)throw await e.ServerConnection.ResponseError.create(b);const y=await b.json();return(0,i.validateModel)(y),y}class s{constructor(c={}){var f;this.serverSettings=(f=c.serverSettings)!==null&&f!==void 0?f:e.ServerConnection.makeSettings()}async listRunning(){return l(this.serverSettings)}async getModel(c){return r(c,this.serverSettings)}async startNew(c={}){return n(c,this.serverSettings)}async restart(c){return u(c,this.serverSettings)}async interrupt(c){return d(c,this.serverSettings)}async shutdown(c){return a(c,this.serverSettings)}}t.KernelAPIClient=s})(restapi$4)),restapi$4}var _default$2={},future={},hasRequiredFuture;function requireFuture(){if(hasRequiredFuture)return future;hasRequiredFuture=1;var t=future&&future.__createBinding||(Object.create?(function(s,h,c,f){f===void 0&&(f=c);var b=Object.getOwnPropertyDescriptor(h,c);(!b||("get"in b?!h.__esModule:b.writable||b.configurable))&&(b={enumerable:!0,get:function(){return h[c]}}),Object.defineProperty(s,f,b)}):(function(s,h,c,f){f===void 0&&(f=c),s[f]=h[c]})),e=future&&future.__setModuleDefault||(Object.create?(function(s,h){Object.defineProperty(s,"default",{enumerable:!0,value:h})}):function(s,h){s.default=h}),o=future&&future.__importStar||(function(){var s=function(h){return s=Object.getOwnPropertyNames||function(c){var f=[];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(f[f.length]=b);return f},s(h)};return function(h){if(h&&h.__esModule)return h;var c={};if(h!=null)for(var f=s(h),b=0;b<f.length;b++)f[b]!=="default"&&t(c,h,f[b]);return e(c,h),c}})();Object.defineProperty(future,"__esModule",{value:!0}),future.KernelShellFutureHandler=future.KernelControlFutureHandler=future.KernelFutureHandler=void 0;const i=requireDist(),l=require$$1$1,n=o(requireMessages());class u extends l.DisposableDelegate{constructor(h,c,f,b,y){super(h),this._status=0,this._stdin=r.noOp,this._iopub=r.noOp,this._reply=r.noOp,this._done=new i.PromiseDelegate,this._hooks=new r.HookList,this._disposeOnDone=!0,this._msg=c,f||this._setFlag(r.KernelFutureFlag.GotReply),this._disposeOnDone=b,this._kernel=y}get msg(){return this._msg}get done(){return this._done.promise}get onReply(){return this._reply}set onReply(h){this._reply=h}get onIOPub(){return this._iopub}set onIOPub(h){this._iopub=h}get onStdin(){return this._stdin}set onStdin(h){this._stdin=h}registerMessageHook(h){if(this.isDisposed)throw new Error("Kernel future is disposed");this._hooks.add(h)}removeMessageHook(h){this.isDisposed||this._hooks.remove(h)}sendInputReply(h,c){this._kernel.sendInputReply(h,c)}dispose(){this._stdin=r.noOp,this._iopub=r.noOp,this._reply=r.noOp,this._hooks=null,this._testFlag(r.KernelFutureFlag.IsDone)||(this._done.promise.catch(()=>{}),this._done.reject(new Error(`Canceled future for ${this.msg.header.msg_type} message before replies were done`))),super.dispose()}async handleMsg(h){switch(h.channel){case"control":case"shell":h.channel===this.msg.channel&&h.parent_header.msg_id===this.msg.header.msg_id&&await this._handleReply(h);break;case"stdin":await this._handleStdin(h);break;case"iopub":await this._handleIOPub(h);break}}async _handleReply(h){const c=this._reply;c&&await c(h),this._replyMsg=h,this._setFlag(r.KernelFutureFlag.GotReply),this._testFlag(r.KernelFutureFlag.GotIdle)&&this._handleDone()}async _handleStdin(h){this._kernel.hasPendingInput=!0;const c=this._stdin;c&&await c(h)}async _handleIOPub(h){const c=await this._hooks.process(h),f=this._iopub;c&&f&&await f(h),n.isStatusMsg(h)&&h.content.execution_state==="idle"&&(this._setFlag(r.KernelFutureFlag.GotIdle),this._testFlag(r.KernelFutureFlag.GotReply)&&this._handleDone())}_handleDone(){this._testFlag(r.KernelFutureFlag.IsDone)||(this._setFlag(r.KernelFutureFlag.IsDone),this._done.resolve(this._replyMsg),this._disposeOnDone&&this.dispose())}_testFlag(h){return(this._status&h)!==0}_setFlag(h){this._status|=h}}future.KernelFutureHandler=u;class d extends u{}future.KernelControlFutureHandler=d;class a extends u{}future.KernelShellFutureHandler=a;var r;return(function(s){s.noOp=()=>{};const h=typeof requestAnimationFrame=="function"?requestAnimationFrame:setImmediate;class c{constructor(){this._hooks=[]}add(b){this.remove(b),this._hooks.push(b)}remove(b){const y=this._hooks.indexOf(b);y>=0&&(this._hooks[y]=null,this._scheduleCompact())}async process(b){await this._processing;const y=new i.PromiseDelegate;this._processing=y.promise;let w;for(let _=this._hooks.length-1;_>=0;_--){const m=this._hooks[_];if(m!==null){try{w=await m(b)}catch(A){w=!0,console.error(A)}if(w===!1)return y.resolve(void 0),!1}}return y.resolve(void 0),!0}_scheduleCompact(){this._compactScheduled||(this._compactScheduled=!0,h(()=>{this._processing=this._processing.then(()=>{this._compactScheduled=!1,this._compact()})}))}_compact(){let b=0;for(let y=0,w=this._hooks.length;y<w;y++){const _=this._hooks[y];this._hooks[y]===null?b++:this._hooks[y-b]=_}this._hooks.length-=b}}s.HookList=c,(function(f){f[f.GotReply=1]="GotReply",f[f.GotIdle=2]="GotIdle",f[f.IsDone=4]="IsDone",f[f.DisposeOnDone=8]="DisposeOnDone"})(s.KernelFutureFlag||(s.KernelFutureFlag={}))})(r||(r={})),future}var restapi$3={},validate$2={},hasRequiredValidate$2;function requireValidate$2(){if(hasRequiredValidate$2)return validate$2;hasRequiredValidate$2=1,Object.defineProperty(validate$2,"__esModule",{value:!0}),validate$2.validateSpecModel=e,validate$2.validateSpecModels=o;const t=requireValidate$5();function e(i){const l=i.spec;if(!l)throw new Error("Invalid kernel spec");(0,t.validateProperty)(i,"name","string"),(0,t.validateProperty)(i,"resources","object"),(0,t.validateProperty)(l,"language","string"),(0,t.validateProperty)(l,"display_name","string"),(0,t.validateProperty)(l,"argv","array");let n=null;l.hasOwnProperty("metadata")&&((0,t.validateProperty)(l,"metadata","object"),n=l.metadata);let u=null;return l.hasOwnProperty("env")&&((0,t.validateProperty)(l,"env","object"),u=l.env),l.hasOwnProperty("interrupt_mode")&&((0,t.validateProperty)(l,"interrupt_mode","string"),u=l.env),{name:i.name,resources:i.resources,language:l.language,display_name:l.display_name,argv:l.argv,metadata:n,env:u}}function o(i){if(!i.hasOwnProperty("kernelspecs"))throw new Error("No kernelspecs found");let l=Object.keys(i.kernelspecs);const n=Object.create(null);let u=i.default;for(let d=0;d<l.length;d++){const a=i.kernelspecs[l[d]];try{n[l[d]]=e(a)}catch{console.warn(`Removing errant kernel spec: ${l[d]}`)}}if(l=Object.keys(n),!l.length)throw new Error("No valid kernelspecs found");return(!u||typeof u!="string"||!(u in n))&&(u=l[0],console.warn(`Default kernel not found, using '${l[0]}'`)),{default:u,kernelspecs:n}}return validate$2}var hasRequiredRestapi$3;function requireRestapi$3(){if(hasRequiredRestapi$3)return restapi$3;hasRequiredRestapi$3=1,Object.defineProperty(restapi$3,"__esModule",{value:!0}),restapi$3.KernelSpecAPIClient=void 0,restapi$3.getSpecs=l;const t=requireServerconnection(),e=requireValidate$2(),o=requireLib$7(),i="api/kernelspecs";async function l(u=t.ServerConnection.makeSettings()){const d=o.URLExt.join(u.baseUrl,i),a=await t.ServerConnection.makeRequest(d,{},u);if(a.status!==200)throw await t.ServerConnection.ResponseError.create(a);const r=await a.json();return(0,e.validateSpecModels)(r)}class n{constructor(d={}){var a;this.serverSettings=(a=d.serverSettings)!==null&&a!==void 0?a:t.ServerConnection.makeSettings()}async get(){return l(this.serverSettings)}}return restapi$3.KernelSpecAPIClient=n,restapi$3}var hasRequired_default$2;function require_default$2(){return hasRequired_default$2||(hasRequired_default$2=1,(function(t){var e=_default$2&&_default$2.__createBinding||(Object.create?(function(A,g,p,v){v===void 0&&(v=p);var C=Object.getOwnPropertyDescriptor(g,p);(!C||("get"in C?!g.__esModule:C.writable||C.configurable))&&(C={enumerable:!0,get:function(){return g[p]}}),Object.defineProperty(A,v,C)}):(function(A,g,p,v){v===void 0&&(v=p),A[v]=g[p]})),o=_default$2&&_default$2.__setModuleDefault||(Object.create?(function(A,g){Object.defineProperty(A,"default",{enumerable:!0,value:g})}):function(A,g){A.default=g}),i=_default$2&&_default$2.__importStar||(function(){var A=function(g){return A=Object.getOwnPropertyNames||function(p){var v=[];for(var C in p)Object.prototype.hasOwnProperty.call(p,C)&&(v[v.length]=C);return v},A(g)};return function(g){if(g&&g.__esModule)return g;var p={};if(g!=null)for(var v=A(g),C=0;C<v.length;C++)v[C]!=="default"&&e(p,g,v[C]);return o(p,g),p}})();Object.defineProperty(t,"__esModule",{value:!0}),t.KernelConnection=t.DEFAULT_KERNEL_INFO_TIMEOUT=void 0;const l=requireLib$7(),n=requireDist(),u=require$$0,d=requireLib$6(),a=requireComm(),r=i(requireMessages()),s=requireFuture(),h=i(requireValidate$3()),c=requireRestapi$4(),f=requireRestapi$3(),b=requireLib$7();t.DEFAULT_KERNEL_INFO_TIMEOUT=3e3;const y="_RESTARTING_",w="";class _{constructor(g){var p,v,C,P,E,R,S,I,x;this._createSocket=(M=!0)=>{this._errorIfDisposed(),this._clearSocket(),this._updateConnectionStatus("connecting");const D=this.serverSettings,H=l.URLExt.join(D.wsUrl,c.KERNEL_SERVICE_URL,encodeURIComponent(this._id)),U=H.replace(/^((?:\w+:)?\/\/)[^@/]+@/,"$1");console.debug(`Starting WebSocket: ${U}`);let B=l.URLExt.join(H,"channels?session_id="+encodeURIComponent(this._clientId));const V=D.token;D.appendToken&&V!==""&&(B=B+`&token=${encodeURIComponent(V)}`);const F=M?this._supportedProtocols:[];this._ws=new D.WebSocket(B,F),this._ws.binaryType="arraybuffer";let j=!1;const K=async q=>{var N,W;if(!this._isDisposed){this._reason="",this._model=void 0;try{const J=await this._kernelAPIClient.getModel(this._id);this._model=J,(J==null?void 0:J.execution_state)==="dead"?this._updateStatus("dead"):this._onWSClose(q)}catch(J){if(J instanceof d.ServerConnection.NetworkError||((N=J.response)===null||N===void 0?void 0:N.status)===503||((W=J.response)===null||W===void 0?void 0:W.status)===424){const z=m.getRandomIntInclusive(10,30)*1e3;setTimeout(K,z,q)}else this._reason="Kernel died unexpectedly",this._updateStatus("dead")}}},k=async q=>{j||(j=!0,await K(q))};this._ws.onmessage=this._onWSMessage,this._ws.onopen=this._onWSOpen,this._ws.onclose=k,this._ws.onerror=k},this._onWSOpen=M=>{if(this._ws.protocol!==""&&!this._supportedProtocols.includes(this._ws.protocol))throw console.log("Server selected unknown kernel wire protocol:",this._ws.protocol),this._updateStatus("dead"),new Error(`Unknown kernel wire protocol: ${this._ws.protocol}`);this._selectedProtocol=this._ws.protocol,this._ws.onclose=this._onWSClose,this._ws.onerror=this._onWSClose,this._updateConnectionStatus("connected")},this._onWSMessage=M=>{let D;try{D=this.serverSettings.serializer.deserialize(M.data,this._ws.protocol),h.validateMessage(D)}catch(H){throw H.message=`Kernel message validation error: ${H.message}`,H}this._kernelSession=D.header.session,this._msgChain=this._msgChain.then(()=>this._handleMessage(D)).catch(H=>{H.message.startsWith("Canceled future for ")&&console.error(H)}),this._anyMessage.emit({msg:D,direction:"recv"})},this._onWSClose=M=>{if(!this.isDisposed){if("code"in M&&(M.code===1e3||M.code===1001)){this._updateConnectionStatus("disconnected");return}this._reconnect()}},this._id="",this._name="",this._status="unknown",this._connectionStatus="connecting",this._kernelSession="",this._isDisposed=!1,this._ws=null,this._username="",this._reconnectLimit=7,this._reconnectAttempt=0,this._reconnectTimeout=null,this._supportedProtocols=Object.values(r.supportedKernelWebSocketProtocols),this._selectedProtocol="",this._commsOverSubshells=d.CommsOverSubshells.PerCommTarget,this._futures=new Map,this._comms=new Map,this._targetRegistry=Object.create(null),this._info=new n.PromiseDelegate,this._pendingMessages=[],this._statusChanged=new u.Signal(this),this._connectionStatusChanged=new u.Signal(this),this._disposed=new u.Signal(this),this._iopubMessage=new u.Signal(this),this._anyMessage=new u.Signal(this),this._pendingInput=new u.Signal(this),this._unhandledMessage=new u.Signal(this),this._displayIdToParentIds=new Map,this._msgIdToDisplayIds=new Map,this._msgChain=Promise.resolve(),this._hasPendingInput=!1,this._reason="",this._noOp=()=>{},this._supportsSubshells=!1,this._kernelInfoTimeout=t.DEFAULT_KERNEL_INFO_TIMEOUT,this._name=g.model.name,this._id=g.model.id,this.serverSettings=(p=g.serverSettings)!==null&&p!==void 0?p:d.ServerConnection.makeSettings(),this._kernelAPIClient=(v=g.kernelAPIClient)!==null&&v!==void 0?v:new c.KernelAPIClient({serverSettings:this.serverSettings}),this._kernelSpecAPIClient=(C=g.kernelSpecAPIClient)!==null&&C!==void 0?C:new f.KernelSpecAPIClient({serverSettings:this.serverSettings}),this._clientId=(P=g.clientId)!==null&&P!==void 0?P:n.UUID.uuid4(),this._username=(E=g.username)!==null&&E!==void 0?E:"",this.handleComms=(R=g.handleComms)!==null&&R!==void 0?R:!0,this._commsOverSubshells=(S=g.commsOverSubshells)!==null&&S!==void 0?S:d.CommsOverSubshells.PerCommTarget,this._subshellId=(I=g.subshellId)!==null&&I!==void 0?I:null,this._createSocket(),this._kernelInfoTimeout=(x=g==null?void 0:g.kernelInfoTimeout)!==null&&x!==void 0?x:t.DEFAULT_KERNEL_INFO_TIMEOUT}get disposed(){return this._disposed}get commsOverSubshells(){return this._commsOverSubshells}set commsOverSubshells(g){this._commsOverSubshells=g;for(const[p,v]of this._comms)v.commsOverSubshells=g}get statusChanged(){return this._statusChanged}get connectionStatusChanged(){return this._connectionStatusChanged}get iopubMessage(){return this._iopubMessage}get unhandledMessage(){return this._unhandledMessage}get model(){return this._model||{id:this.id,name:this.name,reason:this._reason}}get anyMessage(){return this._anyMessage}get pendingInput(){return this._pendingInput}get id(){return this._id}get name(){return this._name}get username(){return this._username}get clientId(){return this._clientId}get subshellId(){return this._subshellId}set subshellId(g){this._subshellId=g}get status(){return this._status}get connectionStatus(){return this._connectionStatus}get isDisposed(){return this._isDisposed}get info(){return this._info.promise}get spec(){return this._specPromise?this._specPromise:(this._specPromise=this._kernelSpecAPIClient.get().then(g=>g.kernelspecs[this._name]),this._specPromise)}get supportsSubshells(){return this._supportsSubshells}clone(g={}){return new _({model:this.model,username:this.username,serverSettings:this.serverSettings,handleComms:!1,kernelAPIClient:this._kernelAPIClient,commsOverSubshells:d.CommsOverSubshells.Disabled,kernelInfoTimeout:this._kernelInfoTimeout,...g})}dispose(){if(this.isDisposed)return;const g=()=>{this._isDisposed=!0,this._disposed.emit(),this._updateConnectionStatus("disconnected"),this._clearKernelState(),this._pendingMessages=[],this._clearSocket(),u.Signal.clearData(this)};if(this._subshellId!==null){const p=this.requestDeleteSubshell({subshell_id:this._subshellId},!0);p.onReply=v=>{g()}}else g()}sendShellMessage(g,p=!1,v=!0){return this._sendKernelShellControl(s.KernelShellFutureHandler,g,p,v)}sendControlMessage(g,p=!1,v=!0){return this._sendKernelShellControl(s.KernelControlFutureHandler,g,p,v)}_sendKernelShellControl(g,p,v=!1,C=!0){this._sendMessage(p),this._anyMessage.emit({msg:p,direction:"send"});const P=new g(()=>{const E=p.header.msg_id;this._futures.delete(E);const R=this._msgIdToDisplayIds.get(E);R&&(R.forEach(S=>{const I=this._displayIdToParentIds.get(S);if(I){const x=I.indexOf(E);if(x===-1)return;I.length===1?this._displayIdToParentIds.delete(S):(I.splice(x,1),this._displayIdToParentIds.set(S,I))}}),this._msgIdToDisplayIds.delete(E))},p,v,C,this);return this._futures.set(p.header.msg_id,P),P}_sendMessage(g,p=!0){if(this.status==="dead")throw new Error("Kernel is dead");if((this._kernelSession===w||this._kernelSession===y)&&r.isInfoRequestMsg(g))if(this.connectionStatus==="connected"){this._ws.send(this.serverSettings.serializer.serialize(g,this._ws.protocol));return}else throw new Error("Could not send message: status is not connected");if(p&&this._pendingMessages.length>0){this._pendingMessages.push(g);return}if(this.connectionStatus==="connected"&&this._kernelSession!==y)this._ws.send(this.serverSettings.serializer.serialize(g,this._ws.protocol));else if(p)this._pendingMessages.push(g);else throw new Error("Could not send message")}async interrupt(){if(this.hasPendingInput=!1,this.status==="dead")throw new Error("Kernel is dead");return this._kernelAPIClient.interrupt(this.id)}async restart(){if(this.status==="dead")throw new Error("Kernel is dead");this._updateStatus("restarting"),this._clearKernelState(),this._kernelSession=y,await this._kernelAPIClient.restart(this.id),await this.reconnect(),this.hasPendingInput=!1}reconnect(){this._errorIfDisposed();const g=new n.PromiseDelegate,p=(v,C)=>{C==="connected"?(g.resolve(),this.connectionStatusChanged.disconnect(p,this)):C==="disconnected"&&(g.reject(new Error("Kernel connection disconnected")),this.connectionStatusChanged.disconnect(p,this))};return this.connectionStatusChanged.connect(p,this),this._reconnectAttempt=0,this._reconnect(),g.promise}async shutdown(){this.status!=="dead"&&await this._kernelAPIClient.shutdown(this.id),this.handleShutdown()}handleShutdown(){this._updateStatus("dead"),this.dispose()}async requestKernelInfo(){const g=r.createMessage({msgType:"kernel_info_request",channel:"shell",username:this._username,session:this._clientId,subshellId:this._subshellId,content:{}});let p;try{p=await m.handleShellMessage(this,g)}catch(C){if(this.isDisposed)return;throw C}if(this._errorIfDisposed(),!p)return;if(p.content.status===void 0&&(p.content.status="ok"),p.content.status!=="ok")return this._info.reject("Kernel info reply errored"),p;this._info.resolve(p.content),this._kernelSession=p.header.session;const v=p.content.supported_features;return this._supportsSubshells=v!==void 0&&v.includes("kernel subshells"),p}requestComplete(g){const p=r.createMessage({msgType:"complete_request",channel:"shell",username:this._username,session:this._clientId,subshellId:this._subshellId,content:g});return m.handleShellMessage(this,p)}requestInspect(g){const p=r.createMessage({msgType:"inspect_request",channel:"shell",username:this._username,session:this._clientId,subshellId:this._subshellId,content:g});return m.handleShellMessage(this,p)}requestHistory(g){const p=r.createMessage({msgType:"history_request",channel:"shell",username:this._username,session:this._clientId,subshellId:this._subshellId,content:g});return m.handleShellMessage(this,p)}requestExecute(g,p=!0,v){const C={silent:!1,store_history:!0,user_expressions:{},allow_stdin:!0,stop_on_error:!1},P=r.createMessage({msgType:"execute_request",channel:"shell",username:this._username,session:this._clientId,subshellId:this._subshellId,content:{...C,...g},metadata:v});return this.sendShellMessage(P,!0,p)}requestDebug(g,p=!0){const v=r.createMessage({msgType:"debug_request",channel:"control",username:this._username,session:this._clientId,content:g});return this.sendControlMessage(v,!0,p)}requestCreateSubshell(g,p=!0){if(!this.supportsSubshells)throw new Error("Kernel subshells are not supported");const v=r.createMessage({msgType:"create_subshell_request",channel:"control",username:this._username,session:this._clientId,content:g});return this.sendControlMessage(v,!0,p)}requestDeleteSubshell(g,p=!0){if(!this.supportsSubshells)throw new Error("Kernel subshells are not supported");const v=r.createMessage({msgType:"delete_subshell_request",channel:"control",username:this._username,session:this._clientId,content:g});return this.sendControlMessage(v,!0,p)}requestListSubshell(g,p=!0){if(!this.supportsSubshells)throw new Error("Kernel subshells are not supported");const v=r.createMessage({msgType:"list_subshell_request",channel:"control",username:this._username,session:this._clientId,content:g});return this.sendControlMessage(v,!0,p)}requestIsComplete(g){const p=r.createMessage({msgType:"is_complete_request",channel:"shell",username:this._username,session:this._clientId,subshellId:this._subshellId,content:g});return m.handleShellMessage(this,p)}requestCommInfo(g){const p=r.createMessage({msgType:"comm_info_request",channel:"shell",username:this._username,session:this._clientId,subshellId:this._subshellId,content:g});return m.handleShellMessage(this,p)}sendInputReply(g,p){const v=r.createMessage({msgType:"input_reply",channel:"stdin",username:this._username,session:this._clientId,content:g});v.parent_header=p,this._sendMessage(v),this._anyMessage.emit({msg:v,direction:"send"}),this.hasPendingInput=!1}createComm(g,p=n.UUID.uuid4()){if(!this.handleComms)throw new Error("Comms are disabled on this kernel connection");if(this._comms.has(p))throw new Error("Comm is already created");const v=new a.CommHandler(g,p,this,()=>{this._unregisterComm(p)},this._commsOverSubshells);return this._comms.set(p,v),v}hasComm(g){return this._comms.has(g)}registerCommTarget(g,p){this.handleComms&&(this._targetRegistry[g]=p)}removeCommTarget(g,p){this.handleComms&&!this.isDisposed&&this._targetRegistry[g]===p&&delete this._targetRegistry[g]}registerMessageHook(g,p){var v;const C=(v=this._futures)===null||v===void 0?void 0:v.get(g);C&&C.registerMessageHook(p)}removeMessageHook(g,p){var v;const C=(v=this._futures)===null||v===void 0?void 0:v.get(g);C&&C.removeMessageHook(p)}removeInputGuard(){this.hasPendingInput=!1}async _handleDisplayId(g,p){var v,C;const P=p.parent_header.msg_id;let E=this._displayIdToParentIds.get(g);if(E){const S={header:n.JSONExt.deepCopy(p.header),parent_header:n.JSONExt.deepCopy(p.parent_header),metadata:n.JSONExt.deepCopy(p.metadata),content:n.JSONExt.deepCopy(p.content),channel:p.channel,buffers:p.buffers?p.buffers.slice():[]};S.header.msg_type="update_display_data",await Promise.all(E.map(async I=>{const x=this._futures&&this._futures.get(I);x&&await x.handleMsg(S)}))}if(p.header.msg_type==="update_display_data")return!0;E=(v=this._displayIdToParentIds.get(g))!==null&&v!==void 0?v:[],E.indexOf(P)===-1&&E.push(P),this._displayIdToParentIds.set(g,E);const R=(C=this._msgIdToDisplayIds.get(P))!==null&&C!==void 0?C:[];return R.indexOf(P)===-1&&R.push(P),this._msgIdToDisplayIds.set(P,R),!1}_clearSocket(){this._ws!==null&&(this._ws.onopen=this._noOp,this._ws.onclose=this._noOp,this._ws.onerror=this._noOp,this._ws.onmessage=this._noOp,this._ws.close(),this._ws=null)}_updateStatus(g){this._status===g||this._status==="dead"||(this._status=g,m.logKernelStatus(this),this._statusChanged.emit(g),g==="dead"&&this.dispose())}_sendPending(){for(;this.connectionStatus==="connected"&&this._kernelSession!==y&&this._pendingMessages.length>0;)this._sendMessage(this._pendingMessages[0],!1),this._pendingMessages.shift()}_clearKernelState(){this._kernelSession="",this._pendingMessages=[],this._futures.forEach(g=>{g.dispose()}),this._comms.forEach(g=>{g.dispose()}),this._msgChain=Promise.resolve(),this._futures=new Map,this._comms=new Map,this._displayIdToParentIds.clear(),this._msgIdToDisplayIds.clear()}_assertCurrentMessage(g){if(this._errorIfDisposed(),g.header.session!==this._kernelSession)throw new Error(`Canceling handling of old message: ${g.header.msg_type}`)}async _handleCommOpen(g){this._assertCurrentMessage(g);const p=g.content,v=new a.CommHandler(p.target_name,p.comm_id,this,()=>{this._unregisterComm(p.comm_id)},this.commsOverSubshells);this._comms.set(p.comm_id,v);try{await(await m.loadObject(p.target_name,p.target_module,this._targetRegistry))(v,g)}catch(C){throw v.close(),console.error("Exception opening new comm"),C}}async _handleCommClose(g){this._assertCurrentMessage(g);const p=g.content,v=this._comms.get(p.comm_id);if(!v){console.error("Comm not found for comm id "+p.comm_id);return}this._unregisterComm(v.commId);const C=v.onClose;C&&await C(g),v.dispose()}async _handleCommMsg(g){this._assertCurrentMessage(g);const p=g.content,v=this._comms.get(p.comm_id);if(!v)return;const C=v.onMsg;C&&await C(g)}_unregisterComm(g){this._comms.delete(g)}_updateConnectionStatus(g){if(this._connectionStatus!==g){if(this._connectionStatus=g,g!=="connecting"&&(this._reconnectAttempt=0,clearTimeout(this._reconnectTimeout)),this.status!=="dead")if(g==="connected"){let p=this._kernelSession===y,v=this.requestKernelInfo(),C=!1,P=()=>{C||(C=!0,p&&this._kernelSession===y&&(this._kernelSession=""),clearTimeout(E),this._pendingMessages.length>0&&this._sendPending())};v.then(P);let E=setTimeout(P,this._kernelInfoTimeout)}else this._updateStatus("unknown");this._connectionStatusChanged.emit(g)}}async _handleMessage(g){var p,v;let C=!1;if(g.parent_header&&g.channel==="iopub"&&(r.isDisplayDataMsg(g)||r.isUpdateDisplayDataMsg(g)||r.isExecuteResultMsg(g))){const E=((p=g.content.transient)!==null&&p!==void 0?p:{}).display_id;E&&(C=await this._handleDisplayId(E,g),this._assertCurrentMessage(g))}if(!C&&g.parent_header){const P=g.parent_header,E=(v=this._futures)===null||v===void 0?void 0:v.get(P.msg_id);if(E)await E.handleMsg(g),this._assertCurrentMessage(g);else{const R=P.session===this.clientId;g.channel!=="iopub"&&R&&this._unhandledMessage.emit(g)}}if(g.channel==="iopub"){switch(g.header.msg_type){case"status":{const P=b.PageConfig.getOption("untracked_message_types");if(JSON.parse(P||"[]").includes(g.parent_header.msg_type))break;const R=g.content.execution_state;R==="restarting"&&Promise.resolve().then(async()=>{this._updateStatus("autorestarting"),this._clearKernelState(),await this.reconnect()}),this._updateStatus(R);break}case"comm_open":this.handleComms&&await this._handleCommOpen(g);break;case"comm_msg":this.handleComms&&await this._handleCommMsg(g);break;case"comm_close":this.handleComms&&await this._handleCommClose(g);break}this.isDisposed||(this._assertCurrentMessage(g),this._iopubMessage.emit(g))}}_reconnect(){if(this._errorIfDisposed(),clearTimeout(this._reconnectTimeout),this._reconnectAttempt<this._reconnectLimit){this._updateConnectionStatus("connecting");const g=m.getRandomIntInclusive(0,1e3*(Math.pow(2,this._reconnectAttempt)-1));console.warn(`Connection lost, reconnecting in ${Math.floor(g/1e3)} seconds.`);const p=this._selectedProtocol!=="";this._reconnectTimeout=setTimeout(this._createSocket,g,p),this._reconnectAttempt+=1}else this._updateConnectionStatus("disconnected");this._clearSocket()}_errorIfDisposed(){if(this.isDisposed)throw new Error("Kernel connection is disposed")}get hasPendingInput(){return this._hasPendingInput}set hasPendingInput(g){this._hasPendingInput=g,this._pendingInput.emit(g)}}t.KernelConnection=_;var m;(function(A){function g(P){switch(P.status){case"idle":case"busy":case"unknown":return;default:console.debug(`Kernel: ${P.status} (${P.id})`);break}}A.logKernelStatus=g;async function p(P,E){return P.sendShellMessage(E,!0).done}A.handleShellMessage=p;function v(P,E,R){return new Promise((S,I)=>{if(E){if(typeof requirejs>"u")throw new Error("requirejs not found");requirejs([E],x=>{if(x[P]===void 0){const M=`Object '${P}' not found in module '${E}'`;I(new Error(M))}else S(x[P])},I)}else R!=null&&R[P]?S(R[P]):I(new Error(`Object '${P}' not found in registry`))})}A.loadObject=v;function C(P,E){return P=Math.ceil(P),E=Math.floor(E),Math.floor(Math.random()*(E-P+1))+P}A.getRandomIntInclusive=C})(m||(m={}))})(_default$2)),_default$2}var manager$5={},hasRequiredManager$5;function requireManager$5(){if(hasRequiredManager$5)return manager$5;hasRequiredManager$5=1,Object.defineProperty(manager$5,"__esModule",{value:!0}),manager$5.KernelManager=void 0;const t=require$$1,e=require$$0,o=requireLib$6(),i=requireBasemanager(),l=requireRestapi$4(),n=require_default$2(),u=requireRestapi$3();class d extends i.BaseManager{constructor(r={}){var s,h,c;super(r),this._commsOverSubshells=o.CommsOverSubshells.PerCommTarget,this._isReady=!1,this._kernelConnections=new Set,this._models=new Map,this._runningChanged=new e.Signal(this),this._connectionFailure=new e.Signal(this),this._kernelInfoTimeout=n.DEFAULT_KERNEL_INFO_TIMEOUT,this._kernelAPIClient=(s=r.kernelAPIClient)!==null&&s!==void 0?s:new l.KernelAPIClient({serverSettings:this.serverSettings}),this._kernelSpecAPIClient=(h=r.kernelSpecAPIClient)!==null&&h!==void 0?h:new u.KernelSpecAPIClient({serverSettings:this.serverSettings}),this._pollModels=new t.Poll({auto:!1,factory:()=>this.requestRunning(),frequency:{interval:10*1e3,backoff:!0,max:300*1e3},name:"@jupyterlab/services:KernelManager#models",standby:(c=r.standby)!==null&&c!==void 0?c:"when-hidden"}),this._ready=(async()=>{await this._pollModels.start(),await this._pollModels.tick,this._isReady=!0})()}get isReady(){return this._isReady}get ready(){return this._ready}get runningChanged(){return this._runningChanged}get connectionFailure(){return this._connectionFailure}get kernelInfoTimeout(){return this._kernelInfoTimeout}set kernelInfoTimeout(r){this._kernelInfoTimeout=r}dispose(){this.isDisposed||(this._models.clear(),this._kernelConnections.forEach(r=>r.dispose()),this._pollModels.dispose(),super.dispose())}connectTo(r){var s;const{id:h}=r.model;let c=(s=r.handleComms)!==null&&s!==void 0?s:!0;if(r.handleComms===void 0){for(const b of this._kernelConnections)if(b.id===h&&b.handleComms){c=!1;break}}r.commsOverSubshells=this._commsOverSubshells;const f=new n.KernelConnection({handleComms:c,...r,serverSettings:this.serverSettings,kernelAPIClient:this._kernelAPIClient,kernelSpecAPIClient:this._kernelSpecAPIClient,kernelInfoTimeout:this._kernelInfoTimeout});return this._onStarted(f),this._models.has(h)||this.refreshRunning().catch(()=>{}),f}running(){return this._models.values()}get runningCount(){return this._models.size}get commsOverSubshells(){return this._commsOverSubshells}set commsOverSubshells(r){this._commsOverSubshells=r;for(const s of this._kernelConnections)s.commsOverSubshells=r}async refreshRunning(){await this._pollModels.refresh(),await this._pollModels.tick}async startNew(r={},s={}){const h=await this._kernelAPIClient.startNew(r);return this.connectTo({...s,model:h})}async shutdown(r){await this._kernelAPIClient.shutdown(r),await this.refreshRunning()}async shutdownAll(){await this.refreshRunning(),await Promise.all([...this._models.keys()].map(r=>this._kernelAPIClient.shutdown(r))),await this.refreshRunning()}async findById(r){return this._models.has(r)?this._models.get(r):(await this.refreshRunning(),this._models.get(r))}async requestRunning(){var r,s;let h;try{h=await this._kernelAPIClient.listRunning()}catch(c){throw(c instanceof o.ServerConnection.NetworkError||((r=c.response)===null||r===void 0?void 0:r.status)===503||((s=c.response)===null||s===void 0?void 0:s.status)===424)&&this._connectionFailure.emit(c),c}this.isDisposed||this._models.size===h.length&&h.every(c=>{const f=this._models.get(c.id);return f?f.connections===c.connections&&f.execution_state===c.execution_state&&f.last_activity===c.last_activity&&f.name===c.name&&f.reason===c.reason&&f.traceback===c.traceback:!1})||(this._models=new Map(h.map(c=>[c.id,c])),this._kernelConnections.forEach(c=>{this._models.has(c.id)||c.handleShutdown()}),this._runningChanged.emit(h))}_onStarted(r){this._kernelConnections.add(r),r.statusChanged.connect(this._onStatusChanged,this),r.disposed.connect(this._onDisposed,this)}_onDisposed(r){this._kernelConnections.delete(r),this.refreshRunning().catch(()=>{})}_onStatusChanged(r,s){s==="dead"&&this.refreshRunning().catch(()=>{})}}return manager$5.KernelManager=d,(function(a){class r extends a{constructor(){super(...arguments),this._readyPromise=new Promise(()=>{})}get isActive(){return!1}get parentReady(){return super.ready}async startNew(h={},c={}){return Promise.reject(new Error("Not implemented in no-op Kernel Manager"))}connectTo(h){throw new Error("Not implemented in no-op Kernel Manager")}async shutdown(h){return Promise.reject(new Error("Not implemented in no-op Kernel Manager"))}get ready(){return this.parentReady.then(()=>this._readyPromise)}async requestRunning(){return Promise.resolve()}}a.NoopManager=r})(d||(manager$5.KernelManager=d={})),manager$5}var hasRequiredKernel;function requireKernel(){return hasRequiredKernel||(hasRequiredKernel=1,(function(t){var e=kernel$1&&kernel$1.__createBinding||(Object.create?(function(s,h,c,f){f===void 0&&(f=c);var b=Object.getOwnPropertyDescriptor(h,c);(!b||("get"in b?!h.__esModule:b.writable||b.configurable))&&(b={enumerable:!0,get:function(){return h[c]}}),Object.defineProperty(s,f,b)}):(function(s,h,c,f){f===void 0&&(f=c),s[f]=h[c]})),o=kernel$1&&kernel$1.__setModuleDefault||(Object.create?(function(s,h){Object.defineProperty(s,"default",{enumerable:!0,value:h})}):function(s,h){s.default=h}),i=kernel$1&&kernel$1.__importStar||(function(){var s=function(h){return s=Object.getOwnPropertyNames||function(c){var f=[];for(var b in c)Object.prototype.hasOwnProperty.call(c,b)&&(f[f.length]=b);return f},s(h)};return function(h){if(h&&h.__esModule)return h;var c={};if(h!=null)for(var f=s(h),b=0;b<f.length;b++)f[b]!=="default"&&e(c,h,f[b]);return o(c,h),c}})(),l=kernel$1&&kernel$1.__exportStar||function(s,h){for(var c in s)c!=="default"&&!Object.prototype.hasOwnProperty.call(h,c)&&e(h,s,c)};Object.defineProperty(t,"__esModule",{value:!0}),t.CommsOverSubshells=t.KernelConnection=t.KernelAPI=t.KernelMessage=t.Kernel=void 0;const n=requireComm();Object.defineProperty(t,"CommsOverSubshells",{enumerable:!0,get:function(){return n.CommsOverSubshells}});const u=i(requireKernel$1());t.Kernel=u;const d=i(requireMessages());t.KernelMessage=d;const a=i(requireRestapi$4());t.KernelAPI=a;const r=require_default$2();Object.defineProperty(t,"KernelConnection",{enumerable:!0,get:function(){return r.KernelConnection}}),l(requireManager$5(),t)})(kernel$1)),kernel$1}var kernelspec$1={},kernelspec={},hasRequiredKernelspec$1;function requireKernelspec$1(){return hasRequiredKernelspec$1||(hasRequiredKernelspec$1=1,Object.defineProperty(kernelspec,"__esModule",{value:!0})),kernelspec}var manager$4={},hasRequiredManager$4;function requireManager$4(){if(hasRequiredManager$4)return manager$4;hasRequiredManager$4=1,Object.defineProperty(manager$4,"__esModule",{value:!0}),manager$4.KernelSpecManager=void 0;const t=requireDist(),e=require$$1,o=require$$0,i=requireBasemanager(),l=requireRestapi$3();class n extends i.BaseManager{constructor(d={}){var a,r;super(d),this._isReady=!1,this._connectionFailure=new o.Signal(this),this._specs=null,this._specsChanged=new o.Signal(this),this._kernelSpecAPIClient=(a=d.kernelSpecAPIClient)!==null&&a!==void 0?a:new l.KernelSpecAPIClient({serverSettings:this.serverSettings}),this._ready=Promise.all([this.requestSpecs()]).then(s=>{}).catch(s=>{}).then(()=>{this.isDisposed||(this._isReady=!0)}),this._pollSpecs=new e.Poll({auto:!1,factory:()=>this.requestSpecs(),frequency:{interval:61*1e3,backoff:!0,max:300*1e3},name:"@jupyterlab/services:KernelSpecManager#specs",standby:(r=d.standby)!==null&&r!==void 0?r:"when-hidden"}),this.ready.then(()=>{this._pollSpecs.start()})}get isReady(){return this._isReady}get ready(){return this._ready}get specs(){return this._specs}get specsChanged(){return this._specsChanged}get connectionFailure(){return this._connectionFailure}dispose(){this._pollSpecs.dispose(),super.dispose()}async refreshSpecs(){await this._pollSpecs.refresh(),await this._pollSpecs.tick}async requestSpecs(){const d=await this._kernelSpecAPIClient.get();this.isDisposed||t.JSONExt.deepEqual(d,this._specs)||(this._specs=d,this._specsChanged.emit(d))}}return manager$4.KernelSpecManager=n,manager$4}var hasRequiredKernelspec;function requireKernelspec(){return hasRequiredKernelspec||(hasRequiredKernelspec=1,(function(t){var e=kernelspec$1&&kernelspec$1.__createBinding||(Object.create?(function(d,a,r,s){s===void 0&&(s=r);var h=Object.getOwnPropertyDescriptor(a,r);(!h||("get"in h?!a.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return a[r]}}),Object.defineProperty(d,s,h)}):(function(d,a,r,s){s===void 0&&(s=r),d[s]=a[r]})),o=kernelspec$1&&kernelspec$1.__setModuleDefault||(Object.create?(function(d,a){Object.defineProperty(d,"default",{enumerable:!0,value:a})}):function(d,a){d.default=a}),i=kernelspec$1&&kernelspec$1.__importStar||(function(){var d=function(a){return d=Object.getOwnPropertyNames||function(r){var s=[];for(var h in r)Object.prototype.hasOwnProperty.call(r,h)&&(s[s.length]=h);return s},d(a)};return function(a){if(a&&a.__esModule)return a;var r={};if(a!=null)for(var s=d(a),h=0;h<s.length;h++)s[h]!=="default"&&e(r,a,s[h]);return o(r,a),r}})(),l=kernelspec$1&&kernelspec$1.__exportStar||function(d,a){for(var r in d)r!=="default"&&!Object.prototype.hasOwnProperty.call(a,r)&&e(a,d,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.KernelSpecAPI=t.KernelSpec=void 0;const n=i(requireKernelspec$1());t.KernelSpec=n;const u=i(requireRestapi$3());t.KernelSpecAPI=u,l(requireManager$4(),t)})(kernelspec$1)),kernelspec$1}var manager$3={},builder={},hasRequiredBuilder;function requireBuilder(){if(hasRequiredBuilder)return builder;hasRequiredBuilder=1,Object.defineProperty(builder,"__esModule",{value:!0}),builder.BuildManager=void 0;const t=requireLib$7(),e=requireServerconnection(),o="api/build";class i{constructor(n={}){var u;this.serverSettings=(u=n.serverSettings)!==null&&u!==void 0?u:e.ServerConnection.makeSettings()}get isAvailable(){return t.PageConfig.getOption("buildAvailable").toLowerCase()==="true"}get shouldCheck(){return t.PageConfig.getOption("buildCheck").toLowerCase()==="true"}getStatus(){const{_url:n,serverSettings:u}=this;return e.ServerConnection.makeRequest(n,{},u).then(a=>{if(a.status!==200)throw new e.ServerConnection.ResponseError(a);return a.json()}).then(a=>{if(typeof a.status!="string")throw new Error("Invalid data");if(typeof a.message!="string")throw new Error("Invalid data");return a})}build(){const{_url:n,serverSettings:u}=this,d={method:"POST"};return e.ServerConnection.makeRequest(n,d,u).then(r=>{if(r.status===400)throw new e.ServerConnection.ResponseError(r,"Build aborted");if(r.status!==200){const s=`Build failed with ${r.status}.
6
+
7
+ If you are experiencing the build failure after installing an extension (or trying to include previously installed extension after updating JupyterLab) please check the extension repository for new installation instructions as many extensions migrated to the prebuilt extensions system which no longer requires rebuilding JupyterLab (but uses a different installation procedure, typically involving a package manager such as 'pip' or 'conda').
8
+
9
+ If you specifically intended to install a source extension, please run 'jupyter lab build' on the server for full output.`;throw new e.ServerConnection.ResponseError(r,s)}})}cancel(){const{_url:n,serverSettings:u}=this,d={method:"DELETE"};return e.ServerConnection.makeRequest(n,d,u).then(r=>{if(r.status!==204)throw new e.ServerConnection.ResponseError(r)})}get _url(){const{baseUrl:n,appUrl:u}=this.serverSettings;return t.URLExt.join(n,u,o)}}return builder.BuildManager=i,builder}var nbconvert={},hasRequiredNbconvert;function requireNbconvert(){if(hasRequiredNbconvert)return nbconvert;hasRequiredNbconvert=1,Object.defineProperty(nbconvert,"__esModule",{value:!0}),nbconvert.NbConvertManager=void 0;const t=requireLib$7(),e=requireServerconnection(),o=requireDist(),i="api/nbconvert",l="nbconvert";class n{constructor(d={}){var a;this._exportFormats=null,this.serverSettings=(a=d.serverSettings)!==null&&a!==void 0?a:e.ServerConnection.makeSettings()}async fetchExportFormats(){this._requestingFormats=new o.PromiseDelegate,this._exportFormats=null;const d=this.serverSettings.baseUrl,a=t.URLExt.join(d,i),{serverSettings:r}=this,s=await e.ServerConnection.makeRequest(a,{},r);if(s.status!==200)throw await e.ServerConnection.ResponseError.create(s);const h=await s.json(),c={};return Object.keys(h).forEach(function(b){const y=h[b].output_mimetype;c[b]={output_mimetype:y}}),this._exportFormats=c,this._requestingFormats.resolve(c),c}async getExportFormats(d=!0){return this._requestingFormats?this._requestingFormats.promise:d||!this._exportFormats?await this.fetchExportFormats():this._exportFormats}async exportAs(d){const{format:a,path:r}=d,{download:s=!1,sanitizeHtml:h=!1}=d.exporterOptions||{},c=this.serverSettings.baseUrl,f=t.URLExt.encodeParts(r);let b=t.URLExt.join(c,l,a,f);const y=new URLSearchParams;s&&y.set("download","true"),h&&y.set("sanitize_html","true");const w=y.toString();w&&(b+=`?${w}`),window==null||window.open(b,"_blank","noopener")}}return nbconvert.NbConvertManager=n,nbconvert}var session$1={},session={},hasRequiredSession$1;function requireSession$1(){return hasRequiredSession$1||(hasRequiredSession$1=1,Object.defineProperty(session,"__esModule",{value:!0})),session}var restapi$2={},validate$1={},hasRequiredValidate$1;function requireValidate$1(){if(hasRequiredValidate$1)return validate$1;hasRequiredValidate$1=1,Object.defineProperty(validate$1,"__esModule",{value:!0}),validate$1.validateModel=o,validate$1.updateLegacySessionModel=i,validate$1.validateModels=l;const t=requireValidate$3(),e=requireValidate$5();function o(n){(0,e.validateProperty)(n,"id","string"),(0,e.validateProperty)(n,"type","string"),(0,e.validateProperty)(n,"name","string"),(0,e.validateProperty)(n,"path","string"),(0,e.validateProperty)(n,"kernel","object"),(0,t.validateModel)(n.kernel)}function i(n){n.path===void 0&&n.notebook!==void 0&&(n.path=n.notebook.path,n.type="notebook",n.name="")}function l(n){if(!Array.isArray(n))throw new Error("Invalid session list");n.forEach(u=>o(u))}return validate$1}var hasRequiredRestapi$2;function requireRestapi$2(){return hasRequiredRestapi$2||(hasRequiredRestapi$2=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.SessionAPIClient=t.SESSION_SERVICE_URL=void 0,t.listRunning=l,t.getSessionUrl=n,t.shutdownSession=u,t.getSessionModel=d,t.startSession=a,t.updateSession=r;const e=requireServerconnection(),o=requireLib$7(),i=requireValidate$1();t.SESSION_SERVICE_URL="api/sessions";async function l(h=e.ServerConnection.makeSettings()){const c=o.URLExt.join(h.baseUrl,t.SESSION_SERVICE_URL),f=await e.ServerConnection.makeRequest(c,{},h);if(f.status!==200)throw await e.ServerConnection.ResponseError.create(f);const b=await f.json();if(!Array.isArray(b))throw new Error("Invalid Session list");return b.forEach(y=>{(0,i.updateLegacySessionModel)(y),(0,i.validateModel)(y)}),b}function n(h,c){const f=o.URLExt.join(h,t.SESSION_SERVICE_URL),b=o.URLExt.join(f,c);if(!b.startsWith(f))throw new Error("Can only be used for services requests");return b}async function u(h,c=e.ServerConnection.makeSettings()){var f;const b=n(c.baseUrl,h),y={method:"DELETE"},w=await e.ServerConnection.makeRequest(b,y,c);if(w.status===404){const m=(f=(await w.json()).message)!==null&&f!==void 0?f:`The session "${h}"" does not exist on the server`;console.warn(m)}else{if(w.status===410)throw new e.ServerConnection.ResponseError(w,"The kernel was deleted but the session was not");if(w.status!==204)throw await e.ServerConnection.ResponseError.create(w)}}async function d(h,c=e.ServerConnection.makeSettings()){const f=n(c.baseUrl,h),b=await e.ServerConnection.makeRequest(f,{},c);if(b.status!==200)throw await e.ServerConnection.ResponseError.create(b);const y=await b.json();return(0,i.updateLegacySessionModel)(y),(0,i.validateModel)(y),y}async function a(h,c=e.ServerConnection.makeSettings()){const f=o.URLExt.join(c.baseUrl,t.SESSION_SERVICE_URL),b={method:"POST",body:JSON.stringify(h)},y=await e.ServerConnection.makeRequest(f,b,c);if(y.status!==201)throw await e.ServerConnection.ResponseError.create(y);const w=await y.json();return(0,i.updateLegacySessionModel)(w),(0,i.validateModel)(w),w}async function r(h,c=e.ServerConnection.makeSettings()){const f=n(c.baseUrl,h.id),b={method:"PATCH",body:JSON.stringify(h)},y=await e.ServerConnection.makeRequest(f,b,c);if(y.status!==200)throw await e.ServerConnection.ResponseError.create(y);const w=await y.json();return(0,i.updateLegacySessionModel)(w),(0,i.validateModel)(w),w}class s{constructor(c){var f;this.serverSettings=(f=c.serverSettings)!==null&&f!==void 0?f:e.ServerConnection.makeSettings()}async listRunning(){return l(this.serverSettings)}async getModel(c){return d(c,this.serverSettings)}async startNew(c){return a(c,this.serverSettings)}async shutdown(c){return u(c,this.serverSettings)}async update(c){return r(c,this.serverSettings)}}t.SessionAPIClient=s})(restapi$2)),restapi$2}var manager$2={},_default$1={},hasRequired_default$1;function require_default$1(){if(hasRequired_default$1)return _default$1;hasRequired_default$1=1,Object.defineProperty(_default$1,"__esModule",{value:!0}),_default$1.SessionConnection=void 0;const t=require$$0,e=requireLib$6(),o=requireDist(),i=requireRestapi$2();class l{constructor(u){var d,a,r,s,h;this._id="",this._path="",this._name="",this._type="",this._kernel=null,this._isDisposed=!1,this._disposed=new t.Signal(this),this._kernelChanged=new t.Signal(this),this._statusChanged=new t.Signal(this),this._connectionStatusChanged=new t.Signal(this),this._pendingInput=new t.Signal(this),this._iopubMessage=new t.Signal(this),this._unhandledMessage=new t.Signal(this),this._anyMessage=new t.Signal(this),this._propertyChanged=new t.Signal(this),this._id=u.model.id,this._name=u.model.name,this._path=u.model.path,this._type=u.model.type,this._username=(d=u.username)!==null&&d!==void 0?d:"",this._clientId=(a=u.clientId)!==null&&a!==void 0?a:o.UUID.uuid4(),this._connectToKernel=u.connectToKernel,this._kernelConnectionOptions=(r=u.kernelConnectionOptions)!==null&&r!==void 0?r:{},this.serverSettings=(s=u.serverSettings)!==null&&s!==void 0?s:e.ServerConnection.makeSettings(),this._sessionAPIClient=(h=u.sessionAPIClient)!==null&&h!==void 0?h:new i.SessionAPIClient({serverSettings:this.serverSettings}),this.setupKernel(u.model.kernel)}get disposed(){return this._disposed}get kernelChanged(){return this._kernelChanged}get statusChanged(){return this._statusChanged}get connectionStatusChanged(){return this._connectionStatusChanged}get pendingInput(){return this._pendingInput}get iopubMessage(){return this._iopubMessage}get unhandledMessage(){return this._unhandledMessage}get anyMessage(){return this._anyMessage}get propertyChanged(){return this._propertyChanged}get id(){return this._id}get kernel(){return this._kernel}get path(){return this._path}get type(){return this._type}get name(){return this._name}get model(){return{id:this.id,kernel:this.kernel&&{id:this.kernel.id,name:this.kernel.name},path:this._path,type:this._type,name:this._name}}get isDisposed(){return this._isDisposed}update(u){const d=this.model;if(this._path=u.path,this._name=u.name,this._type=u.type,this._kernel===null&&u.kernel!==null||this._kernel!==null&&u.kernel===null||this._kernel!==null&&u.kernel!==null&&this._kernel.id!==u.kernel.id){this._kernel!==null&&this._kernel.dispose();const a=this._kernel||null;this.setupKernel(u.kernel);const r=this._kernel||null;this._kernelChanged.emit({name:"kernel",oldValue:a,newValue:r})}this._handleModelChange(d)}dispose(){if(!this.isDisposed){if(this._isDisposed=!0,this._disposed.emit(),this._kernel){this._kernel.dispose();const u=this._kernel;this._kernel=null;const d=this._kernel;this._kernelChanged.emit({name:"kernel",oldValue:u,newValue:d})}t.Signal.clearData(this)}}async setPath(u){if(this.isDisposed)throw new Error("Session is disposed");await this._patch({path:u})}async setName(u){if(this.isDisposed)throw new Error("Session is disposed");await this._patch({name:u})}async setType(u){if(this.isDisposed)throw new Error("Session is disposed");await this._patch({type:u})}async changeKernel(u){if(this.isDisposed)throw new Error("Session is disposed");return await this._patch({kernel:u}),this.kernel}async shutdown(){if(this.isDisposed)throw new Error("Session is disposed");await this._sessionAPIClient.shutdown(this.id),this.dispose()}setupKernel(u){if(u===null){this._kernel=null;return}const d=this._connectToKernel({...this._kernelConnectionOptions,model:u,username:this._username,clientId:this._clientId,serverSettings:this.serverSettings});this._kernel=d,d.statusChanged.connect(this.onKernelStatus,this),d.connectionStatusChanged.connect(this.onKernelConnectionStatus,this),d.pendingInput.connect(this.onPendingInput,this),d.unhandledMessage.connect(this.onUnhandledMessage,this),d.iopubMessage.connect(this.onIOPubMessage,this),d.anyMessage.connect(this.onAnyMessage,this)}onKernelStatus(u,d){this._statusChanged.emit(d)}onKernelConnectionStatus(u,d){this._connectionStatusChanged.emit(d)}onPendingInput(u,d){this._pendingInput.emit(d)}onIOPubMessage(u,d){this._iopubMessage.emit(d)}onUnhandledMessage(u,d){this._unhandledMessage.emit(d)}onAnyMessage(u,d){this._anyMessage.emit(d)}async _patch(u){const d=await this._sessionAPIClient.update({...u,id:this._id});return this.update(d),d}_handleModelChange(u){u.name!==this._name&&this._propertyChanged.emit("name"),u.type!==this._type&&this._propertyChanged.emit("type"),u.path!==this._path&&this._propertyChanged.emit("path")}}return _default$1.SessionConnection=l,_default$1}var hasRequiredManager$3;function requireManager$3(){if(hasRequiredManager$3)return manager$2;hasRequiredManager$3=1,Object.defineProperty(manager$2,"__esModule",{value:!0}),manager$2.SessionManager=void 0;const t=require$$1,e=require$$0,o=requireServerconnection(),i=requireBasemanager(),l=require_default$1(),n=requireRestapi$2();class u extends i.BaseManager{constructor(a){var r,s;super(a),this._isReady=!1,this._sessionConnections=new Set,this._models=new Map,this._runningChanged=new e.Signal(this),this._connectionFailure=new e.Signal(this),this._connectToKernel=h=>this._kernelManager.connectTo(h),this._kernelManager=a.kernelManager,this._sessionAPIClient=(r=a.sessionAPIClient)!==null&&r!==void 0?r:new n.SessionAPIClient({serverSettings:a.serverSettings}),this._pollModels=new t.Poll({auto:!1,factory:()=>this.requestRunning(),frequency:{interval:10*1e3,backoff:!0,max:300*1e3},name:"@jupyterlab/services:SessionManager#models",standby:(s=a.standby)!==null&&s!==void 0?s:"when-hidden"}),this._ready=(async()=>{await this._pollModels.start(),await this._pollModels.tick,this._kernelManager.isActive&&await this._kernelManager.ready,this._isReady=!0})()}get isReady(){return this._isReady}get ready(){return this._ready}get runningChanged(){return this._runningChanged}get connectionFailure(){return this._connectionFailure}dispose(){this.isDisposed||(this._models.clear(),this._sessionConnections.forEach(a=>a.dispose()),this._pollModels.dispose(),super.dispose())}connectTo(a){const r=new l.SessionConnection({...a,connectToKernel:this._connectToKernel,serverSettings:this.serverSettings,sessionAPIClient:this._sessionAPIClient});return this._onStarted(r),this._models.has(a.model.id)||this.refreshRunning().catch(()=>{}),r}running(){return this._models.values()}async refreshRunning(){await this._pollModels.refresh(),await this._pollModels.tick}async startNew(a,r={}){const s=await this._sessionAPIClient.startNew(a);return await this.refreshRunning(),this.connectTo({...r,model:s})}async shutdown(a){await this._sessionAPIClient.shutdown(a),await this.refreshRunning()}async shutdownAll(){await this.refreshRunning(),await Promise.all([...this._models.keys()].map(a=>this._sessionAPIClient.shutdown(a))),await this.refreshRunning()}async stopIfNeeded(a){try{const s=(await this._sessionAPIClient.listRunning()).filter(h=>h.path===a);if(s.length===1){const h=s[0].id;await this.shutdown(h)}}catch{}}async findById(a){return this._models.has(a)?this._models.get(a):(await this.refreshRunning(),this._models.get(a))}async findByPath(a){for(const r of this._models.values())if(r.path===a)return r;await this.refreshRunning();for(const r of this._models.values())if(r.path===a)return r}async requestRunning(){var a,r;let s;try{s=await this._sessionAPIClient.listRunning()}catch(h){throw(h instanceof o.ServerConnection.NetworkError||((a=h.response)===null||a===void 0?void 0:a.status)===503||((r=h.response)===null||r===void 0?void 0:r.status)===424)&&this._connectionFailure.emit(h),h}this.isDisposed||this._models.size===s.length&&s.every(h=>{var c,f,b,y;const w=this._models.get(h.id);return w?((c=w.kernel)===null||c===void 0?void 0:c.id)===((f=h.kernel)===null||f===void 0?void 0:f.id)&&((b=w.kernel)===null||b===void 0?void 0:b.name)===((y=h.kernel)===null||y===void 0?void 0:y.name)&&w.name===h.name&&w.path===h.path&&w.type===h.type:!1})||(this._models=new Map(s.map(h=>[h.id,h])),this._sessionConnections.forEach(h=>{this._models.has(h.id)?h.update(this._models.get(h.id)):h.dispose()}),this._runningChanged.emit(s))}_onStarted(a){this._sessionConnections.add(a),a.disposed.connect(this._onDisposed,this),a.propertyChanged.connect(this._onChanged,this),a.kernelChanged.connect(this._onChanged,this)}_onDisposed(a){this._sessionConnections.delete(a),this.refreshRunning().catch(()=>{})}_onChanged(){this.refreshRunning().catch(()=>{})}}return manager$2.SessionManager=u,(function(d){class a extends d{constructor(){super(...arguments),this._readyPromise=new Promise(()=>{})}get isActive(){return!1}get parentReady(){return super.ready}async startNew(s,h={}){return Promise.reject(new Error("Not implemented in no-op Session Manager"))}connectTo(s){throw Error("Not implemented in no-op Session Manager")}get ready(){return this.parentReady.then(()=>this._readyPromise)}async shutdown(s){return Promise.reject(new Error("Not implemented in no-op Session Manager"))}async requestRunning(){return Promise.resolve()}}d.NoopManager=a})(u||(manager$2.SessionManager=u={})),manager$2}var hasRequiredSession;function requireSession(){return hasRequiredSession||(hasRequiredSession=1,(function(t){var e=session$1&&session$1.__createBinding||(Object.create?(function(d,a,r,s){s===void 0&&(s=r);var h=Object.getOwnPropertyDescriptor(a,r);(!h||("get"in h?!a.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return a[r]}}),Object.defineProperty(d,s,h)}):(function(d,a,r,s){s===void 0&&(s=r),d[s]=a[r]})),o=session$1&&session$1.__setModuleDefault||(Object.create?(function(d,a){Object.defineProperty(d,"default",{enumerable:!0,value:a})}):function(d,a){d.default=a}),i=session$1&&session$1.__importStar||(function(){var d=function(a){return d=Object.getOwnPropertyNames||function(r){var s=[];for(var h in r)Object.prototype.hasOwnProperty.call(r,h)&&(s[s.length]=h);return s},d(a)};return function(a){if(a&&a.__esModule)return a;var r={};if(a!=null)for(var s=d(a),h=0;h<s.length;h++)s[h]!=="default"&&e(r,a,s[h]);return o(r,a),r}})(),l=session$1&&session$1.__exportStar||function(d,a){for(var r in d)r!=="default"&&!Object.prototype.hasOwnProperty.call(a,r)&&e(a,d,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.SessionAPI=t.Session=void 0;const n=i(requireSession$1());t.Session=n;const u=i(requireRestapi$2());t.SessionAPI=u,l(requireManager$3(),t)})(session$1)),session$1}var setting={},hasRequiredSetting;function requireSetting(){if(hasRequiredSetting)return setting;hasRequiredSetting=1,Object.defineProperty(setting,"__esModule",{value:!0}),setting.SettingManager=void 0;const t=requireLib$7(),e=requireLib$8(),o=requireServerconnection(),i="api/settings";class l extends e.DataConnector{constructor(d={}){var a;super(),this.serverSettings=(a=d.serverSettings)!==null&&a!==void 0?a:o.ServerConnection.makeSettings()}async fetch(d){if(!d)throw new Error("Plugin `id` parameter is required for settings fetch.");const{serverSettings:a}=this,{baseUrl:r,appUrl:s}=a,{makeRequest:h,ResponseError:c}=o.ServerConnection,f=r+s,b=n.url(f,d),y=await h(b,{},a);if(y.status!==200)throw await c.create(y);return y.json()}async list(d){var a,r,s,h;const{serverSettings:c}=this,{baseUrl:f,appUrl:b}=c,{makeRequest:y,ResponseError:w}=o.ServerConnection,_=f+b,m=n.url(_,"",d==="ids"),A=await y(m,{},c);if(A.status!==200)throw new w(A);const g=await A.json(),p=(r=(a=g==null?void 0:g.settings)===null||a===void 0?void 0:a.map(C=>C.id))!==null&&r!==void 0?r:[];let v=[];return d||(v=(h=(s=g==null?void 0:g.settings)===null||s===void 0?void 0:s.map(C=>(C.data={composite:{},user:{}},C)))!==null&&h!==void 0?h:[]),{ids:p,values:v}}async save(d,a){const{serverSettings:r}=this,{baseUrl:s,appUrl:h}=r,{makeRequest:c,ResponseError:f}=o.ServerConnection,b=s+h,y=n.url(b,d),w={body:JSON.stringify({raw:a}),method:"PUT"},_=await c(y,w,r);if(_.status!==204)throw new f(_)}}setting.SettingManager=l;var n;return(function(u){function d(a,r,s){const h=s?t.URLExt.objectToQueryString({ids_only:!0}):"",c=t.URLExt.join(a,i),f=t.URLExt.join(c,r);if(!f.startsWith(c))throw new Error("Can only be used for workspaces requests");return`${f}${h}`}u.url=d})(n||(n={})),setting}var terminal$1={},terminal={},restapi$1={},hasRequiredRestapi$1;function requireRestapi$1(){return hasRequiredRestapi$1||(hasRequiredRestapi$1=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.TerminalAPIClient=t.TERMINAL_SERVICE_URL=void 0,t.isAvailable=i,t.startNew=l,t.listRunning=n,t.shutdownTerminal=u;const e=requireLib$7(),o=requireServerconnection();t.TERMINAL_SERVICE_URL="api/terminals";function i(){return String(e.PageConfig.getOption("terminalsAvailable")).toLowerCase()==="true"}async function l(r=o.ServerConnection.makeSettings(),s,h){a.errorIfNotAvailable();const c=e.URLExt.join(r.baseUrl,t.TERMINAL_SERVICE_URL),f={method:"POST",body:JSON.stringify({name:s,cwd:h})},b=await o.ServerConnection.makeRequest(c,f,r);if(b.status!==200)throw await o.ServerConnection.ResponseError.create(b);return await b.json()}async function n(r=o.ServerConnection.makeSettings()){a.errorIfNotAvailable();const s=e.URLExt.join(r.baseUrl,t.TERMINAL_SERVICE_URL),h=await o.ServerConnection.makeRequest(s,{},r);if(h.status!==200)throw await o.ServerConnection.ResponseError.create(h);const c=await h.json();if(!Array.isArray(c))throw new Error("Invalid terminal list");return c}async function u(r,s=o.ServerConnection.makeSettings()){var h;a.errorIfNotAvailable();const c=e.URLExt.join(s.baseUrl,t.TERMINAL_SERVICE_URL),f=e.URLExt.join(c,r);if(!f.startsWith(c))throw new Error("Can only be used for terminal requests");const b={method:"DELETE"},y=await o.ServerConnection.makeRequest(f,b,s);if(y.status===404){const _=(h=(await y.json()).message)!==null&&h!==void 0?h:`The terminal session "${r}"" does not exist on the server`;console.warn(_)}else if(y.status!==204)throw await o.ServerConnection.ResponseError.create(y)}class d{constructor(s={}){var h;this.serverSettings=(h=s.serverSettings)!==null&&h!==void 0?h:o.ServerConnection.makeSettings()}get isAvailable(){return i()}async startNew(s={}){const{name:h,cwd:c}=s;return l(this.serverSettings,h,c)}async listRunning(){return n(this.serverSettings)}async shutdown(s){return u(s,this.serverSettings)}}t.TerminalAPIClient=d;var a;(function(r){function s(){if(!i())throw new Error("Terminals Unavailable")}r.errorIfNotAvailable=s})(a||(a={}))})(restapi$1)),restapi$1}var hasRequiredTerminal$1;function requireTerminal$1(){return hasRequiredTerminal$1||(hasRequiredTerminal$1=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.isAvailable=void 0;const e=requireRestapi$1();Object.defineProperty(t,"isAvailable",{enumerable:!0,get:function(){return e.isAvailable}})})(terminal)),terminal}var manager$1={},_default={},hasRequired_default;function require_default(){if(hasRequired_default)return _default;hasRequired_default=1,Object.defineProperty(_default,"__esModule",{value:!0}),_default.TerminalConnection=void 0;const t=requireLib$7(),e=requireDist(),o=require$$0,i=requireLib$6(),l=requireRestapi$1();class n{constructor(a){var r,s;this._createSocket=()=>{this._errorIfDisposed(),this._clearSocket(),this._updateConnectionStatus("connecting");const h=this._name,c=this.serverSettings;let f=t.URLExt.join(c.wsUrl,"terminals","websocket",encodeURIComponent(h));const b=c.token;c.appendToken&&b!==""&&(f=f+`?token=${encodeURIComponent(b)}`),this._ws=new c.WebSocket(f),this._ws.onmessage=this._onWSMessage,this._ws.onclose=this._onWSClose,this._ws.onerror=this._onWSClose},this._onWSMessage=h=>{if(this._isDisposed)return;const c=JSON.parse(h.data);if(c[0]==="disconnect"&&this.dispose(),this._connectionStatus==="connecting"){c[0]==="setup"&&this._updateConnectionStatus("connected");return}this._messageReceived.emit({type:c[0],content:c.slice(1)})},this._onWSClose=h=>{console.warn(`Terminal websocket closed: ${h.code}`),!this.isDisposed&&(h.code===1e3||h.code===1001||this._reconnect())},this._connectionStatus="connecting",this._connectionStatusChanged=new o.Signal(this),this._isDisposed=!1,this._disposed=new o.Signal(this),this._messageReceived=new o.Signal(this),this._reconnectTimeout=null,this._ws=null,this._noOp=()=>{},this._reconnectLimit=7,this._reconnectAttempt=0,this._pendingMessages=[],this._name=a.model.name,this.serverSettings=(r=a.serverSettings)!==null&&r!==void 0?r:i.ServerConnection.makeSettings(),this._terminalAPIClient=(s=a.terminalAPIClient)!==null&&s!==void 0?s:new l.TerminalAPIClient({serverSettings:this.serverSettings}),this._createSocket()}get disposed(){return this._disposed}get messageReceived(){return this._messageReceived}get name(){return this._name}get model(){return{name:this._name}}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,this._disposed.emit(),this._updateConnectionStatus("disconnected"),this._clearSocket(),o.Signal.clearData(this))}send(a){this._sendMessage(a)}_sendMessage(a,r=!0){if(!(this._isDisposed||!a.content))if(this.connectionStatus==="connected"&&this._ws){const s=[a.type,...a.content];this._ws.send(JSON.stringify(s))}else if(r)this._pendingMessages.push(a);else throw new Error(`Could not send message: ${JSON.stringify(a)}`)}_sendPending(){for(;this.connectionStatus==="connected"&&this._pendingMessages.length>0;)this._sendMessage(this._pendingMessages[0],!1),this._pendingMessages.shift()}reconnect(){this._errorIfDisposed();const a=new e.PromiseDelegate,r=(s,h)=>{h==="connected"?(a.resolve(),this.connectionStatusChanged.disconnect(r,this)):h==="disconnected"&&(a.reject(new Error("Terminal connection disconnected")),this.connectionStatusChanged.disconnect(r,this))};return this.connectionStatusChanged.connect(r,this),this._reconnectAttempt=0,this._reconnect(),a.promise}_reconnect(){if(this._errorIfDisposed(),clearTimeout(this._reconnectTimeout),this._reconnectAttempt<this._reconnectLimit){this._updateConnectionStatus("connecting");const a=u.getRandomIntInclusive(0,1e3*(Math.pow(2,this._reconnectAttempt)-1));console.error(`Connection lost, reconnecting in ${Math.floor(a/1e3)} seconds.`),this._reconnectTimeout=setTimeout(this._createSocket,a),this._reconnectAttempt+=1}else this._updateConnectionStatus("disconnected");this._clearSocket()}_clearSocket(){this._ws!==null&&(this._ws.onopen=this._noOp,this._ws.onclose=this._noOp,this._ws.onerror=this._noOp,this._ws.onmessage=this._noOp,this._ws.close(),this._ws=null)}async shutdown(){await this._terminalAPIClient.shutdown(this.name),this.dispose()}clone(){return new n({model:this.model,serverSettings:this.serverSettings,terminalAPIClient:this._terminalAPIClient})}_updateConnectionStatus(a){this._connectionStatus!==a&&(this._connectionStatus=a,a!=="connecting"&&(this._reconnectAttempt=0,clearTimeout(this._reconnectTimeout)),a==="connected"&&this._sendPending(),this._connectionStatusChanged.emit(a))}_errorIfDisposed(){if(this.isDisposed)throw new Error("Terminal connection is disposed")}get connectionStatusChanged(){return this._connectionStatusChanged}get connectionStatus(){return this._connectionStatus}}_default.TerminalConnection=n;var u;return(function(d){function a(r,s){return r=Math.ceil(r),s=Math.floor(s),Math.floor(Math.random()*(s-r+1))+r}d.getRandomIntInclusive=a})(u||(u={})),_default}var hasRequiredManager$2;function requireManager$2(){if(hasRequiredManager$2)return manager$1;hasRequiredManager$2=1,Object.defineProperty(manager$1,"__esModule",{value:!0}),manager$1.TerminalManager=void 0;const t=require$$1,e=require$$0,o=requireLib$6(),i=requireBasemanager(),l=requireRestapi$1(),n=require_default();class u extends i.BaseManager{constructor(a={}){var r,s;if(super(a),this._isReady=!1,this._names=[],this._terminalConnections=new Set,this._runningChanged=new e.Signal(this),this._connectionFailure=new e.Signal(this),this._terminalAPIClient=(r=a.terminalAPIClient)!==null&&r!==void 0?r:new l.TerminalAPIClient({serverSettings:this.serverSettings}),!this.isAvailable()){this._ready=Promise.reject("Terminals unavailable"),this._ready.catch(c=>{});return}const h=this._pollModels=new t.Poll({auto:!1,factory:()=>this.requestRunning(),frequency:{interval:10*1e3,backoff:!0,max:300*1e3},name:"@jupyterlab/services:TerminalManager#models",standby:(s=a.standby)!==null&&s!==void 0?s:"when-hidden"});this._ready=(async()=>{await h.start(),await h.tick,this._isReady=!0})()}get isReady(){return this._isReady}get ready(){return this._ready}get runningChanged(){return this._runningChanged}get connectionFailure(){return this._connectionFailure}dispose(){var a;this.isDisposed||(this._names.length=0,this._terminalConnections.forEach(r=>r.dispose()),(a=this._pollModels)===null||a===void 0||a.dispose(),super.dispose())}isAvailable(){return this._terminalAPIClient.isAvailable}connectTo(a){const r=new n.TerminalConnection({...a,serverSettings:this.serverSettings,terminalAPIClient:this._terminalAPIClient});return this._onStarted(r),this._names.includes(a.model.name)||this.refreshRunning().catch(()=>{}),r}running(){return this._models[Symbol.iterator]()}async refreshRunning(){this._pollModels&&(await this._pollModels.refresh(),await this._pollModels.tick)}async startNew(a={}){const{name:r,cwd:s}=a,h=await this._terminalAPIClient.startNew({name:r,cwd:s});return await this.refreshRunning(),this.connectTo({model:h})}async shutdown(a){await this._terminalAPIClient.shutdown(a),await this.refreshRunning()}async shutdownAll(){await this.refreshRunning(),await Promise.all(this._names.map(a=>this._terminalAPIClient.shutdown(a))),await this.refreshRunning()}async requestRunning(){var a,r;let s;try{s=await this._terminalAPIClient.listRunning()}catch(c){throw(c instanceof o.ServerConnection.NetworkError||((a=c.response)===null||a===void 0?void 0:a.status)===503||((r=c.response)===null||r===void 0?void 0:r.status)===424)&&this._connectionFailure.emit(c),c}if(this.isDisposed)return;const h=s.map(({name:c})=>c).sort();h!==this._names&&(this._names=h,this._terminalConnections.forEach(c=>{h.includes(c.name)||c.dispose()}),this._runningChanged.emit(this._models))}_onStarted(a){this._terminalConnections.add(a),a.disposed.connect(this._onDisposed,this)}_onDisposed(a){this._terminalConnections.delete(a),this.refreshRunning().catch(()=>{})}get _models(){return this._names.map(a=>({name:a}))}}return manager$1.TerminalManager=u,(function(d){class a extends d{constructor(){super(...arguments),this._readyPromise=new Promise(()=>{})}get isActive(){return!1}get parentReady(){return super.ready}get ready(){return this.parentReady.then(()=>this._readyPromise)}async startNew(s){return Promise.reject(new Error("Not implemented in no-op Terminal Manager"))}connectTo(s){throw Error("Not implemented in no-op Terminal Manager")}async shutdown(s){return Promise.reject(new Error("Not implemented in no-op Terminal Manager"))}async requestRunning(){return Promise.resolve()}}d.NoopManager=a})(u||(manager$1.TerminalManager=u={})),manager$1}var hasRequiredTerminal;function requireTerminal(){return hasRequiredTerminal||(hasRequiredTerminal=1,(function(t){var e=terminal$1&&terminal$1.__createBinding||(Object.create?(function(d,a,r,s){s===void 0&&(s=r);var h=Object.getOwnPropertyDescriptor(a,r);(!h||("get"in h?!a.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return a[r]}}),Object.defineProperty(d,s,h)}):(function(d,a,r,s){s===void 0&&(s=r),d[s]=a[r]})),o=terminal$1&&terminal$1.__setModuleDefault||(Object.create?(function(d,a){Object.defineProperty(d,"default",{enumerable:!0,value:a})}):function(d,a){d.default=a}),i=terminal$1&&terminal$1.__importStar||(function(){var d=function(a){return d=Object.getOwnPropertyNames||function(r){var s=[];for(var h in r)Object.prototype.hasOwnProperty.call(r,h)&&(s[s.length]=h);return s},d(a)};return function(a){if(a&&a.__esModule)return a;var r={};if(a!=null)for(var s=d(a),h=0;h<s.length;h++)s[h]!=="default"&&e(r,a,s[h]);return o(r,a),r}})(),l=terminal$1&&terminal$1.__exportStar||function(d,a){for(var r in d)r!=="default"&&!Object.prototype.hasOwnProperty.call(a,r)&&e(a,d,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.TerminalAPI=t.Terminal=void 0;const n=i(requireTerminal$1());t.Terminal=n;const u=i(requireRestapi$1());t.TerminalAPI=u,l(requireManager$2(),t)})(terminal$1)),terminal$1}var user$1={},user={},hasRequiredUser$1;function requireUser$1(){return hasRequiredUser$1||(hasRequiredUser$1=1,Object.defineProperty(user,"__esModule",{value:!0})),user}var restapi={},hasRequiredRestapi;function requireRestapi(){if(hasRequiredRestapi)return restapi;hasRequiredRestapi=1,Object.defineProperty(restapi,"__esModule",{value:!0}),restapi.UserAPIClient=void 0;const t=requireServerconnection(),e=requireLib$7(),o="api/me";class i{constructor(n={}){var u;this.serverSettings=(u=n.serverSettings)!==null&&u!==void 0?u:t.ServerConnection.makeSettings()}async get(){const{baseUrl:n}=this.serverSettings,{makeRequest:u,ResponseError:d}=t.ServerConnection,a=e.URLExt.join(n,o),r=await u(a,{},this.serverSettings);if(r.status!==200)throw await d.create(r);return await r.json()}}return restapi.UserAPIClient=i,restapi}var manager={},hasRequiredManager$1;function requireManager$1(){if(hasRequiredManager$1)return manager;hasRequiredManager$1=1,Object.defineProperty(manager,"__esModule",{value:!0}),manager.UserManager=void 0;const t=requireDist(),e=require$$1,o=require$$0,i=requireBasemanager(),l=requireRestapi(),n="@jupyterlab/services:UserManager#user";class u extends i.BaseManager{constructor(r={}){var s,h;super(r),this._isReady=!1,this._userChanged=new o.Signal(this),this._connectionFailure=new o.Signal(this),this._userApiClient=(s=r.userApiClient)!==null&&s!==void 0?s:new l.UserAPIClient({serverSettings:this.serverSettings}),this._ready=this.requestUser().then(()=>{this.isDisposed||(this._isReady=!0)}).catch(c=>new Promise(()=>{})),this._pollUser=new e.Poll({auto:!1,factory:()=>this.requestUser(),frequency:{interval:61*1e3,backoff:!0,max:300*1e3},name:n,standby:(h=r.standby)!==null&&h!==void 0?h:"when-hidden"}),this.ready.then(()=>{this._pollUser.start()})}get isReady(){return this._isReady}get ready(){return this._ready}get identity(){return this._identity}get permissions(){return this._permissions}get userChanged(){return this._userChanged}get connectionFailure(){return this._connectionFailure}dispose(){this._pollUser.dispose(),super.dispose()}async refreshUser(){await this._pollUser.refresh(),await this._pollUser.tick}async requestUser(){if(this.isDisposed)return;const r={identity:this._identity,permissions:this._permissions},s=await this._userApiClient.get(),h=s.identity,{localStorage:c}=window,f=c.getItem(n);if(f&&(!h.initials||!h.color)){const b=JSON.parse(f);h.initials=h.initials||b.initials||h.name.substring(0,1),h.color=h.color||b.color||d.getRandomColor()}t.JSONExt.deepEqual(s,r)||(this._identity=h,this._permissions=s.permissions,c.setItem(n,JSON.stringify(h)),this._userChanged.emit(s))}}manager.UserManager=u;var d;return(function(a){const r=["var(--jp-collaborator-color1)","var(--jp-collaborator-color2)","var(--jp-collaborator-color3)","var(--jp-collaborator-color4)","var(--jp-collaborator-color5)","var(--jp-collaborator-color6)","var(--jp-collaborator-color7)"];a.getRandomColor=()=>r[Math.floor(Math.random()*r.length)]})(d||(d={})),manager}var hasRequiredUser;function requireUser(){return hasRequiredUser||(hasRequiredUser=1,(function(t){var e=user$1&&user$1.__createBinding||(Object.create?(function(d,a,r,s){s===void 0&&(s=r);var h=Object.getOwnPropertyDescriptor(a,r);(!h||("get"in h?!a.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return a[r]}}),Object.defineProperty(d,s,h)}):(function(d,a,r,s){s===void 0&&(s=r),d[s]=a[r]})),o=user$1&&user$1.__setModuleDefault||(Object.create?(function(d,a){Object.defineProperty(d,"default",{enumerable:!0,value:a})}):function(d,a){d.default=a}),i=user$1&&user$1.__importStar||(function(){var d=function(a){return d=Object.getOwnPropertyNames||function(r){var s=[];for(var h in r)Object.prototype.hasOwnProperty.call(r,h)&&(s[s.length]=h);return s},d(a)};return function(a){if(a&&a.__esModule)return a;var r={};if(a!=null)for(var s=d(a),h=0;h<s.length;h++)s[h]!=="default"&&e(r,a,s[h]);return o(r,a),r}})(),l=user$1&&user$1.__exportStar||function(d,a){for(var r in d)r!=="default"&&!Object.prototype.hasOwnProperty.call(a,r)&&e(a,d,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.UserAPI=t.User=void 0;const n=i(requireUser$1());t.User=n;const u=i(requireRestapi());t.UserAPI=u,l(requireManager$1(),t)})(user$1)),user$1}var workspace={},hasRequiredWorkspace;function requireWorkspace(){if(hasRequiredWorkspace)return workspace;hasRequiredWorkspace=1,Object.defineProperty(workspace,"__esModule",{value:!0}),workspace.WorkspaceManager=void 0;const t=requireLib$7(),e=requireLib$8(),o=requireServerconnection(),i="api/workspaces";class l extends e.DataConnector{constructor(d={}){var a;super(),this.serverSettings=(a=d.serverSettings)!==null&&a!==void 0?a:o.ServerConnection.makeSettings()}async fetch(d){const{serverSettings:a}=this,{baseUrl:r,appUrl:s}=a,{makeRequest:h,ResponseError:c}=o.ServerConnection,f=r+s,b=n.url(f,d),y=await h(b,{},a);if(y.status!==200)throw await c.create(y);return y.json()}async list(){const{serverSettings:d}=this,{baseUrl:a,appUrl:r}=d,{makeRequest:s,ResponseError:h}=o.ServerConnection,c=a+r,f=n.url(c,""),b=await s(f,{},d);if(b.status!==200)throw await h.create(b);return(await b.json()).workspaces}async remove(d){const{serverSettings:a}=this,{baseUrl:r,appUrl:s}=a,{makeRequest:h,ResponseError:c}=o.ServerConnection,f=r+s,b=n.url(f,d),w=await h(b,{method:"DELETE"},a);if(w.status!==204)throw await c.create(w)}async save(d,a){const{serverSettings:r}=this,{baseUrl:s,appUrl:h}=r,{makeRequest:c,ResponseError:f}=o.ServerConnection,b=s+h,y=n.url(b,d),w={body:JSON.stringify(a),method:"PUT"},_=await c(y,w,r);if(_.status!==204)throw await f.create(_)}}workspace.WorkspaceManager=l;var n;return(function(u){function d(a,r){const s=t.URLExt.join(a,i),h=t.URLExt.join(s,r);if(!h.startsWith(s))throw new Error("Can only be used for workspaces requests");return h}u.url=d})(n||(n={})),workspace}var hasRequiredManager;function requireManager(){if(hasRequiredManager)return manager$3;hasRequiredManager=1,Object.defineProperty(manager$3,"__esModule",{value:!0}),manager$3.ServiceManager=void 0;const t=require$$0,e=requireBuilder(),o=requireContents(),i=requireEvent(),l=requireKernel(),n=requireKernelspec(),u=requireNbconvert(),d=requireServerconnection(),a=requireSession(),r=requireSetting(),s=requireTerminal(),h=requireUser(),c=requireWorkspace();class f{constructor(y={}){var w,_;this._isDisposed=!1,this._connectionFailure=new t.Signal(this),this._isReady=!1;const m=y.defaultDrive,A=(w=y.serverSettings)!==null&&w!==void 0?w:d.ServerConnection.makeSettings(),g=(_=y.standby)!==null&&_!==void 0?_:"when-hidden",p={defaultDrive:m,serverSettings:A,standby:g};this.serverSettings=A,this.contents=y.contents||new o.ContentsManager(p),this.events=y.events||new i.EventManager(p),this.kernels=y.kernels||new l.KernelManager(p),this.sessions=y.sessions||new a.SessionManager({...p,kernelManager:this.kernels}),this.settings=y.settings||new r.SettingManager(p),this.terminals=y.terminals||new s.TerminalManager(p),this.builder=y.builder||new e.BuildManager(p),this.workspaces=y.workspaces||new c.WorkspaceManager(p),this.nbconvert=y.nbconvert||new u.NbConvertManager(p),this.kernelspecs=y.kernelspecs||new n.KernelSpecManager(p),this.user=y.user||new h.UserManager(p),this.kernelspecs.connectionFailure.connect(this._onConnectionFailure,this),this.sessions.connectionFailure.connect(this._onConnectionFailure,this),this.terminals.connectionFailure.connect(this._onConnectionFailure,this);const v=[this.sessions.ready,this.kernelspecs.ready];this.terminals.isAvailable()&&v.push(this.terminals.ready),this._readyPromise=Promise.all(v).then(()=>{this._isReady=!0})}get connectionFailure(){return this._connectionFailure}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,t.Signal.clearData(this),this.contents.dispose(),this.events.dispose(),this.sessions.dispose(),this.terminals.dispose())}get isReady(){return this._isReady}get ready(){return this._readyPromise}_onConnectionFailure(y,w){this._connectionFailure.emit(w)}}return manager$3.ServiceManager=f,manager$3}var tokens={},hasRequiredTokens;function requireTokens(){if(hasRequiredTokens)return tokens;hasRequiredTokens=1,Object.defineProperty(tokens,"__esModule",{value:!0}),tokens.IWorkspaceManager=tokens.IUserManager=tokens.ITerminalManager=tokens.IServiceManager=tokens.ISettingManager=tokens.ISessionManager=tokens.IServerSettings=tokens.INbConvertManager=tokens.IKernelSpecManager=tokens.IKernelManager=tokens.IEventManager=tokens.IDefaultDrive=tokens.IDefaultContentProvider=tokens.IContentsManager=tokens.IConfigSectionManager=tokens.IConnectionStatus=void 0;const t=requireDist();return tokens.IConnectionStatus=new t.Token("@jupyterlab/application:IConnectionStatus","A service providing the application connection status."),tokens.IConfigSectionManager=new t.Token("@jupyterlab/services:IConfigSectionManager","A service providing the config section manager."),tokens.IContentsManager=new t.Token("@jupyterlab/services:IContentsManager","The contents manager token."),tokens.IDefaultContentProvider=new t.Token("@jupyterlab/services:IDefaultContentProvider","The default content provider for the contents manager."),tokens.IDefaultDrive=new t.Token("@jupyterlab/services:IDefaultDrive","The default drive for the contents manager."),tokens.IEventManager=new t.Token("@jupyterlab/services:IEventManager","The event manager token."),tokens.IKernelManager=new t.Token("@jupyterlab/services:IKernelManager","The kernel manager token."),tokens.IKernelSpecManager=new t.Token("@jupyterlab/services:IKernelSpecManager","The kernel spec manager token."),tokens.INbConvertManager=new t.Token("@jupyterlab/services:INbConvertManager","The nbconvert manager token."),tokens.IServerSettings=new t.Token("@jupyterlab/services:IServerSettings","The server settings for the application."),tokens.ISessionManager=new t.Token("@jupyterlab/services:ISessionManager","The session manager token."),tokens.ISettingManager=new t.Token("@jupyterlab/services:ISettingManager","The setting manager token."),tokens.IServiceManager=new t.Token("@jupyterlab/services:IServiceManager","The service manager for the application."),tokens.ITerminalManager=new t.Token("@jupyterlab/services:ITerminalManager","The terminal manager token."),tokens.IUserManager=new t.Token("@jupyterlab/services:IUserManager","The user manager token."),tokens.IWorkspaceManager=new t.Token("@jupyterlab/services:IWorkspaceManager","The workspace manager token."),tokens}var hasRequiredLib$6;function requireLib$6(){return hasRequiredLib$6||(hasRequiredLib$6=1,(function(t){var e=lib$6&&lib$6.__createBinding||(Object.create?(function(i,l,n,u){u===void 0&&(u=n);var d=Object.getOwnPropertyDescriptor(l,n);(!d||("get"in d?!l.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return l[n]}}),Object.defineProperty(i,u,d)}):(function(i,l,n,u){u===void 0&&(u=n),i[u]=l[n]})),o=lib$6&&lib$6.__exportStar||function(i,l){for(var n in i)n!=="default"&&!Object.prototype.hasOwnProperty.call(l,n)&&e(l,i,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(requireBasemanager(),t),o(requireConfig(),t),o(requireConnectionstatus(),t),o(requireContents(),t),o(requireEvent(),t),o(requireKernel(),t),o(requireKernelspec(),t),o(requireManager(),t),o(requireServerconnection(),t),o(requireSession(),t),o(requireSetting(),t),o(requireTerminal(),t),o(requireTokens(),t),o(requireUser(),t),o(requireWorkspace(),t),o(requireNbconvert(),t)})(lib$6)),lib$6}var libExports=requireLib$6();const DEFAULT_LANGUAGE_CODE="en";function normalizeDomain(t){return t.replace("-","_")}class Gettext{constructor(e){e=e||{},this._defaults={domain:"messages",locale:document.documentElement.getAttribute("lang")||DEFAULT_LANGUAGE_CODE,pluralFunc:function(o){return{nplurals:2,plural:o!=1?1:0}},contextDelimiter:"",stringsPrefix:""},this._locale=(e.locale||this._defaults.locale).replace("_","-"),this._domain=normalizeDomain(e.domain||this._defaults.domain),this._contextDelimiter=e.contextDelimiter||this._defaults.contextDelimiter,this._stringsPrefix=e.stringsPrefix||this._defaults.stringsPrefix,this._pluralFuncs={},this._dictionary={},this._pluralForms={},e.messages&&(this._dictionary[this._domain]={},this._dictionary[this._domain][this._locale]=e.messages),e.pluralForms&&(this._pluralForms[this._locale]=e.pluralForms)}setContextDelimiter(e){this._contextDelimiter=e}getContextDelimiter(){return this._contextDelimiter}setLocale(e){this._locale=e.replace("_","-")}getLocale(){return this._locale}setDomain(e){this._domain=normalizeDomain(e)}getDomain(){return this._domain}setStringsPrefix(e){this._stringsPrefix=e}getStringsPrefix(){return this._stringsPrefix}static strfmt(e,...o){return e.replace(/%%/g,"%% ").replace(/%(\d+)/g,function(i,l){return o[l-1]}).replace(/%% /g,"%")}loadJSON(e,o){if(!e[""]||!e[""].language||!e[""].pluralForms)throw new Error(`Wrong jsonData, it must have an empty key ("") with "language" and "pluralForms" information: ${e}`);o=normalizeDomain(o);let i=e[""],l=JSON.parse(JSON.stringify(e));delete l[""],this.setMessages(o||this._defaults.domain,i.language,l,i.pluralForms)}__(e,...o){return this.gettext(e,...o)}_n(e,o,i,...l){return this.ngettext(e,o,i,...l)}_p(e,o,...i){return this.pgettext(e,o,...i)}_np(e,o,i,l,...n){return this.npgettext(e,o,i,l,...n)}gettext(e,...o){return this.dcnpgettext("","",e,"",0,...o)}ngettext(e,o,i,...l){return this.dcnpgettext("","",e,o,i,...l)}pgettext(e,o,...i){return this.dcnpgettext("",e,o,"",0,...i)}npgettext(e,o,i,l,...n){return this.dcnpgettext("",e,o,i,l,...n)}dcnpgettext(e,o,i,l,n,...u){e=normalizeDomain(e)||this._domain;let d,a=o?o+this._contextDelimiter+i:i,r={pluralForm:!1},s=!1,h=this._locale,c=this.expandLocale(this._locale);for(let b in c)if(h=c[b],s=this._dictionary[e]&&this._dictionary[e][h]&&this._dictionary[e][h][a],l?s=s&&this._dictionary[e][h][a].length>1:s=s&&this._dictionary[e][h][a].length==1,s){r.locale=h;break}if(s?d=this._dictionary[e][h][a]:(d=[i],r.pluralFunc=this._defaults.pluralFunc),!l)return this.t(d,n,r,...u);r.pluralForm=!0;let f=s?d:[i,l];return this.t(f,n,r,...u)}expandLocale(e){let o=[e],i=e.lastIndexOf("-");for(;i>0;)e=e.slice(0,i),o.push(e),i=e.lastIndexOf("-");return o}getPluralFunc(e){if(!new RegExp("^\\s*nplurals\\s*=\\s*\\d+\\s*;\\s*plural\\s*=[\\s\\-?|&=!<>+*/%:;n0-9_()]+").test(e))throw new Error(Gettext.strfmt('The plural form "%1" is not valid',e));return new Function("n","let plural, nplurals; "+e+" return { nplurals: nplurals, plural: (plural === true ? 1 : (plural ? plural : 0)) };")}removeContext(e){return e.indexOf(this._contextDelimiter)!==-1?e.split(this._contextDelimiter)[1]:e}t(e,o,i,...l){if(!i.pluralForm)return this._stringsPrefix+Gettext.strfmt(this.removeContext(e[0]),...l);let n;return i.pluralFunc?n=i.pluralFunc(o):this._pluralFuncs[i.locale||""]?n=this._pluralFuncs[i.locale||""](o):(this._pluralFuncs[i.locale||""]=this.getPluralFunc(this._pluralForms[i.locale||""]),n=this._pluralFuncs[i.locale||""](o)),(typeof!n.plural>"u"||n.plural>n.nplurals||e.length<=n.plural)&&(n.plural=0),this._stringsPrefix+Gettext.strfmt(this.removeContext(e[n.plural]),...[o].concat(l))}setMessages(e,o,i,l){e=normalizeDomain(e),l&&(this._pluralForms[o]=l),this._dictionary[e]||(this._dictionary[e]={}),this._dictionary[e][o]=i}}class NullTranslator{constructor(e){this.languageCode=DEFAULT_LANGUAGE_CODE,this._languageBundle=e}load(e){return this._languageBundle}}class NullLanguageBundle{__(e,...o){return this.gettext(e,...o)}_n(e,o,i,...l){return this.ngettext(e,o,i,...l)}_p(e,o,...i){return this.pgettext(e,o,...i)}_np(e,o,i,l,...n){return this.npgettext(e,o,i,l,...n)}gettext(e,...o){return Gettext.strfmt(e,...o)}ngettext(e,o,i,...l){return Gettext.strfmt(i==1?e:o,...[i].concat(l))}pgettext(e,o,...i){return Gettext.strfmt(o,...i)}npgettext(e,o,i,l,...n){return this.ngettext(o,i,l,...n)}dcnpgettext(e,o,i,l,n,...u){return this.ngettext(i,l,n,...u)}}const nullTranslator=new NullTranslator(new NullLanguageBundle);var lodash_escape,hasRequiredLodash_escape;function requireLodash_escape(){if(hasRequiredLodash_escape)return lodash_escape;hasRequiredLodash_escape=1;var t="[object Symbol]",e=/[&<>"'`]/g,o=RegExp(e.source),i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},l=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,n=typeof self=="object"&&self&&self.Object===Object&&self,u=l||n||Function("return this")();function d(A){return function(g){return A==null?void 0:A[g]}}var a=d(i),r=Object.prototype,s=r.toString,h=u.Symbol,c=h?h.prototype:void 0,f=c?c.toString:void 0;function b(A){if(typeof A=="string")return A;if(w(A))return f?f.call(A):"";var g=A+"";return g=="0"&&1/A==-1/0?"-0":g}function y(A){return!!A&&typeof A=="object"}function w(A){return typeof A=="symbol"||y(A)&&s.call(A)==t}function _(A){return A==null?"":b(A)}function m(A){return A=_(A),A&&o.test(A)?A.replace(e,a):A}return lodash_escape=m,lodash_escape}var lodash_escapeExports=requireLodash_escape();const escape$1=getDefaultExportFromCjs(lodash_escapeExports),inline$1="$",MATHSPLIT$1=/(\$\$?|\\(?:begin|end)\{[a-z]*\*?\}|\\[{}$]|[{}]|(?:\n\s*)+|@@\d+@@|\\\\[()[\]])/i;function removeMath$1(t){const e=[];let o=null,i=null,l=null,n=0,u;t.includes("`")||t.includes("~~~")?(t=t.replace(/~/g,"~T").replace(/^(?<fence>`{3,}|(~T){3,})[^`\n]*\n([\s\S]*?)^\k<fence>`*$/gm,r=>r.replace(/\$/g,"~D")).replace(/(^|[^\\])(`+)([^\n]*?[^`\n])\2(?!`)/gm,r=>r.replace(/\$/g,"~D")),u=r=>r.replace(/~([TD])/g,(s,h)=>h==="T"?"~":inline$1)):u=r=>r;let a=t.replace(/\r\n?/g,`
10
+ `).split(MATHSPLIT$1);for(let r=1,s=a.length;r<s;r+=2){const h=a[r];h.charAt(0)==="@"?(a[r]="@@"+e.length+"@@",e.push(h)):o!==null?h===i?n?l=r:(a=processMath$1(o,r,u,e,a),o=null,i=null,l=null):h.match(/\n.*\n/)?(l!==null&&(r=l,a=processMath$1(o,r,u,e,a)),o=null,i=null,l=null,n=0):h==="{"?n++:h==="}"&&n&&n--:h===inline$1||h==="$$"?(o=r,i=h,n=0):h==="\\\\("||h==="\\\\["?(o=r,i=h.slice(-1)==="("?"\\\\)":"\\\\]",n=0):h.substr(1,5)==="begin"&&(o=r,i="\\end"+h.substr(6),n=0)}return o!==null&&l!==null&&(a=processMath$1(o,l,u,e,a),o=null,i=null,l=null),{text:u(a.join("")),math:e}}function replaceMath$1(t,e){const o=(i,l)=>{let n=e[l];return n.substr(0,3)==="\\\\("&&n.substr(n.length-3)==="\\\\)"?n="\\("+n.substring(3,n.length-3)+"\\)":n.substr(0,3)==="\\\\["&&n.substr(n.length-3)==="\\\\]"&&(n="\\["+n.substring(3,n.length-3)+"\\]"),n};return t.replace(/@@(\d+)@@/g,o)}function processMath$1(t,e,o,i,l){let n=l.slice(t,e+1).join("").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");for(navigator&&navigator.appName==="Microsoft Internet Explorer"&&(n=n.replace(/(%[^\n]*)\n/g,`$1<br/>
11
+ `));e>t;)l[e]="",e--;return l[t]="@@"+i.length+"@@",o&&(n=o(n)),i.push(n),l}async function renderHTML(t){let{host:e,source:o,trusted:i,sanitizer:l,resolver:n,linkHandler:u,shouldTypeset:d,latexTypesetter:a,translator:r}=t;r=r||nullTranslator;const s=r==null?void 0:r.load("jupyterlab");let h=o;if(!o){e.textContent="";return}if(i||(h=`${o}`,o=l.sanitize(o)),e.innerHTML=o,e.getElementsByTagName("script").length>0)if(i)Private$6.evalInnerHTMLScriptTags(e);else{const c=document.createElement("div"),f=document.createElement("pre");f.textContent=s.__("This HTML output contains inline scripts. Are you sure that you want to run arbitrary Javascript within your JupyterLab session?");const b=document.createElement("button");b.textContent=s.__("Run"),b.onclick=y=>{e.innerHTML=h,Private$6.evalInnerHTMLScriptTags(e),e.firstChild&&e.removeChild(e.firstChild)},c.appendChild(f),c.appendChild(b),e.insertBefore(c,e.firstChild)}if(Private$6.handleDefaults(e),d&&a){const c=a.typeset(e);c instanceof Promise?c.then(()=>hardenAnchorLinks(e,n)).catch(console.warn):hardenAnchorLinks(e,n)}else hardenAnchorLinks(e,n);n&&await Private$6.handleUrls(e,n,u)}async function renderImage(t){const{host:e,mimeType:o,source:i,width:l,height:n,needsBackground:u,unconfined:d}=t;e.textContent="";const a=document.createElement("img");a.src=`data:${o};base64,${i}`,typeof n=="number"&&(a.height=n),typeof l=="number"&&(a.width=l),u==="light"?a.classList.add("jp-needs-light-background"):u==="dark"&&a.classList.add("jp-needs-dark-background"),d===!0&&a.classList.add("jp-mod-unconfined"),e.appendChild(a)}async function renderLatex(t){const{host:e,source:o,shouldTypeset:i,latexTypesetter:l,resolver:n}=t;if(e.textContent=o,i&&l){const u=l.typeset(e);u instanceof Promise?u.then(()=>hardenAnchorLinks(e,n)).catch(console.warn):hardenAnchorLinks(e,n)}}async function renderMarkdown(t){var e;const{host:o,source:i,markdownParser:l,...n}=t;if(!i){o.textContent="";return}let u="";if(l){const d=removeMath$1(i);u=await l.render(d.text),u=replaceMath$1(u,d.math)}else u=`<pre>${i}</pre>`;await renderHTML({host:o,source:u,...n}),Private$6.headerAnchors(o,(e=t.sanitizer.allowNamedProperties)!==null&&e!==void 0?e:!1)}(function(t){function e(o){var i;return((i=o.textContent)!==null&&i!==void 0?i:"").replace(/ /g,"-")}t.createHeaderId=e})(renderMarkdown||(renderMarkdown={}));async function renderSVG(t){let{host:e,source:o,trusted:i,unconfined:l}=t;if(!o){e.textContent="";return}if(!i){e.textContent="Cannot display an untrusted SVG. Maybe you need to run the cell?";return}o.search("<svg[^>]+xmlns=[^>]+svg")<0&&(o=o.replace("<svg",'<svg xmlns="http://www.w3.org/2000/svg"'));const u=new Image;u.src=`data:image/svg+xml,${encodeURIComponent(o)}`,e.appendChild(u),l===!0&&e.classList.add("jp-mod-unconfined")}var ILinker;(function(t){const o="\\u0000-\\u0020\\u007f-\\u009f";t.webLinkRegex=new RegExp("(?<path>(?:[a-zA-Z][a-zA-Z0-9+.-]{2,40}:\\/\\/|data:|www\\.)[^\\s"+o+'"]{2,}[^\\s'+o+`"'(){}\\[\\],:;.!?])`,"gu");const i=/(?:[a-zA-Z]:(?:(?:\\|\/)[\w.-]*)+)/,l=/(?:(?:~|\.)(?:(?:\\|\/)[\w.-]*)+)/,n=new RegExp(`(${i.source}|${l.source})`),u=/((?:~|\.)?(?:\/[\w.-]*)+)/,d=/(?:(?::|", line )(?<line>\d+))?(?::(?<column>\d+))?/,a=navigator.userAgent.indexOf("Windows")>=0;t.pathLinkRegex=new RegExp(`(?<path>${a?n.source:u.source})${d.source}`,"g")})(ILinker||(ILinker={}));class WebLinker{constructor(){this.regex=ILinker.webLinkRegex}createAnchor(e,o){const i=document.createElement("a");return i.href=e.startsWith("www.")?"https://"+e:e,i.rel="noopener",i.target="_blank",i.appendChild(document.createTextNode(o)),i}processPath(e){const o=e.slice(-1),l=[">","<"].indexOf(o)!==-1?e.length-1:e.length;return e=e.slice(0,l),e}processLabel(e){return this.processPath(e)}}class PathLinker{constructor(){this.regex=ILinker.pathLinkRegex}createAnchor(e,o,i){const l=document.createElement("a");l.dataset.path=e;const n=parseInt(i.line,10);let u=isNaN(n)?"":`line=${n-1}`;return l.dataset.locator=u,l.appendChild(document.createTextNode(o)),l}}function autolink(t,e){const o=[];e.checkWeb&&o.push(new WebLinker),e.checkPaths&&o.push(new PathLinker);const i=[],l=(n,u)=>{if(u>=o.length){i.push(document.createTextNode(n));return}const d=o[u];let a,r=0;const s=d.regex;for(s.lastIndex=0;(a=s.exec(n))!=null;){const c=n.substring(r,a.index);c&&l(c,u+1);const{path:f,...b}=a.groups,y=d.processPath?d.processPath(f):f,w=d.processLabel?d.processLabel(a[0]):a[0];i.push(d.createAnchor(y,w,b)),r=a.index+w.length}const h=n.substring(r);h&&l(h,u+1)};return l(t,0),i}function splitShallowNode(t,e){var o,i;const l=t.cloneNode();l.textContent=(o=t.textContent)===null||o===void 0?void 0:o.slice(0,e);const n=t.cloneNode();return n.textContent=(i=t.textContent)===null||i===void 0?void 0:i.slice(e),{pre:l,post:n}}function*nodeIter(t){var e;let o=0,i;for(let l of t)i=o+(((e=l.textContent)===null||e===void 0?void 0:e.length)||0),yield{node:l,start:o,end:i,isText:l.nodeType===Node.TEXT_NODE},o=i}function*alignedNodes(t,e){var o,i;let l=nodeIter(t),n=nodeIter(e),u=l.next(),d=n.next();for(;!u.done&&!d.done;){let a=u.value,r=d.value;if(a.isText&&a.start<=r.start&&a.end>=r.end)yield[null,r.node],d=n.next();else if(r.isText&&r.start<=a.start&&r.end>=a.end)yield[a.node,null],u=l.next();else if(a.end===r.end&&a.start===r.start)yield[a.node,r.node],u=l.next(),d=n.next();else if(a.end>r.end){let{pre:s,post:h}=splitShallowNode(a.node,r.end-a.start);r.start<a.start&&(r.node.textContent=(o=r.node.textContent)===null||o===void 0?void 0:o.slice(a.start-r.start)),yield[s,r.node],a.node=h,a.start=r.end,d=n.next()}else if(r.end>a.end){let{pre:s,post:h}=splitShallowNode(r.node,a.end-r.start);a.start<r.start&&(a.node.textContent=(i=a.node.textContent)===null||i===void 0?void 0:i.slice(r.start-a.start)),yield[a.node,s],r.node=h,r.start=a.end,u=l.next()}else throw new Error(`Unexpected intersection: ${JSON.stringify(a)} ${JSON.stringify(r)}`)}}async function renderText(t){renderTextual(t,{checkWeb:!0,checkPaths:!1})}function nativeSanitize(t){const e=document.createElement("span");return e.textContent=t,e.innerHTML}const ansiPrefix="\x1B";function renderTextual(t,e){var o,i;const{host:l,sanitizer:n,source:u}=t,a=u.includes(ansiPrefix)?n.sanitize(Private$6.ansiSpan(u),{allowedTags:["span"]}):nativeSanitize(u),r=document.createElement("pre");r.innerHTML=a;const s=r.textContent,h=[];e.checkWeb&&h.push("web"),e.checkPaths&&h.push("paths");const c=h.join("-");let f=Private$6.autoLinkCache.get(c);f||(f=new WeakMap,Private$6.autoLinkCache.set(c,f));let b;if(s){let y;if(!((i=(o=n.getAutolink)===null||o===void 0?void 0:o.call(n))!==null&&i!==void 0)||i){const _=getApplicableLinkCache(f.get(l),s);if(_){const{cachedNodes:m,addedText:A}=_,g=autolink(A,e),p=m[m.length-1],v=g[0];if(p instanceof Text&&v instanceof Text){const C=p;C.data+=v.data,y=[...m.slice(0,-1),C,...g.slice(1)]}else y=[...m,...g]}else y=autolink(s,e);f.set(l,{preTextContent:s,linkedNodes:y.map(m=>m.cloneNode(!0))})}else y=[document.createTextNode(a)];const w=Array.from(r.childNodes);b=mergeNodes(w,y)}else b=document.createElement("pre");l.appendChild(b)}function getApplicableLinkCache(t,e){if(!t||e.length<t.preTextContent.length)return null;let o=e.substring(t.preTextContent.length),i=t.linkedNodes;const l=t.linkedNodes[t.linkedNodes.length-1];if(!(t.preTextContent.endsWith(`
12
+ `)||o.startsWith(`
13
+ `)))if(l instanceof Text)i=i.slice(0,-1),o=l.textContent+o;else return null;return e.startsWith(t.preTextContent)?{cachedNodes:i,addedText:o}:null}async function renderError(t){const{host:e,linkHandler:o,resolver:i}=t;renderTextual(t,{checkWeb:!0,checkPaths:!0}),i&&await Private$6.handlePaths(e,i,o)}function mergeNodes(t,e){const o=document.createElement("pre");let i=!1;const l=[];for(let n of alignedNodes(t,e)){if(n[0]){if(!n[1]){l.push(n[0]),i=!1;continue}}else{l.push(n[1]),i=n[1].nodeType!==Node.TEXT_NODE;continue}let[u,d]=n;const a=l[l.length-1];i&&d.href===a.href?a.appendChild(u):d.nodeType!==Node.TEXT_NODE?(d.textContent="",d.appendChild(u),l.push(d),i=!0):(l.push(u),i=!1)}for(const n of l)o.appendChild(n);return o}function hardenAnchorLinks(t,e){const o=t.getElementsByTagName("a");for(let i=0;i<o.length;i++){const l=o[i];if(!(l instanceof HTMLAnchorElement))continue;const n=l.href,u=e&&e.isLocal?e.isLocal(n):libExports$1.URLExt.isLocal(n);l.target||(l.target=u?"_self":"_blank"),u||(l.rel="noopener")}}var Private$6;(function(t){t.autoLinkCache=new Map;function e(f){const b=Array.from(f.getElementsByTagName("script"));for(const y of b){if(!y.parentNode)continue;const w=document.createElement("script"),_=y.attributes;for(let m=0,A=_.length;m<A;++m){const{name:g,value:p}=_[m];w.setAttribute(g,p)}w.textContent=y.textContent,y.parentNode.replaceChild(w,y)}}t.evalInnerHTMLScriptTags=e;function o(f){const b=f.getElementsByTagName("img");for(let y=0;y<b.length;y++)b[y].alt||(b[y].alt="Image")}t.handleDefaults=o;async function i(f,b,y){const w=[],_=f.querySelectorAll("*[src]");for(let g=0;g<_.length;g++)w.push(u(_[g],"src",b));const m=f.getElementsByTagName("a");for(let g=0;g<m.length;g++)w.push(d(m[g],b,y));const A=f.getElementsByTagName("link");for(let g=0;g<A.length;g++)w.push(u(A[g],"href",b));return Promise.all(w)}t.handleUrls=i;async function l(f,b,y){const w=Array.from(f.querySelectorAll("a[data-path]"));return Promise.all(w.map(_=>a(_,b,y)))}t.handlePaths=l;function n(f,b){const y=["h1","h2","h3","h4","h5","h6"];for(const w of y){const _=f.getElementsByTagName(w);for(let m=0;m<_.length;m++){const A=_[m],g=renderMarkdown.createHeaderId(A);b?A.id=g:A.setAttribute("data-jupyter-id",g);const p=document.createElement("a");p.target="_self",p.textContent="¶",p.href="#"+g,p.classList.add("jp-InternalAnchorLink"),A.appendChild(p)}}}t.headerAnchors=n;async function u(f,b,y){const w=f.getAttribute(b)||"",_=y.isLocal?y.isLocal(w):libExports$1.URLExt.isLocal(w);if(!(!w||!_))try{const m=await y.resolveUrl(w,{attribute:b,tag:f.localName});let A=await y.getDownloadUrl(m);libExports$1.URLExt.parse(A).protocol!=="data:"&&(A+=(/\?/.test(A)?"&":"?")+new Date().getTime()),f.setAttribute(b,A)}catch(m){throw f.setAttribute(b,""),m}}async function d(f,b,y){let w=f.getAttribute("href")||"";if(!w)return;const _=f.hash;if(_&&_===w){f.target="_self",f.addEventListener("click",A=>{const g=_.slice(1),p=CSS.escape(g),v=f.ownerDocument,C=v.querySelector(`[data-jupyter-id="${p}"]`)||v.querySelector(`#${p}`);C&&(A.preventDefault(),C.scrollIntoView())});return}if(b.isLocal?b.isLocal(w):libExports$1.URLExt.isLocal(w))return _&&(w=w.replace(_,"")),b.resolveUrl(w,{attribute:"href",tag:"a"}).then(A=>{const g=decodeURIComponent(A);return y&&y.handleLink(f,g,_),b.getDownloadUrl(A)}).then(A=>{f.href=A+_}).catch(A=>{f.href=""})}async function a(f,b,y){let w=f.dataset.path||"",_=f.dataset.locator?"#"+f.dataset.locator:"";delete f.dataset.path,delete f.dataset.locator;const m=!0,A=b.isLocal?b.isLocal(w,m):libExports$1.URLExt.isLocal(w,m);if(!w||!A||!b.resolvePath||!y||!y.handlePath){f.replaceWith(...f.childNodes);return}try{const g=await b.resolvePath(w);if(!g){console.log("Path resolution bailing: does not exist");return}y.handlePath(f,g.path,g.scope,_),f.href=g.path+_}catch(g){console.warn("Path anchor error:",g),f.href="#linking-failed-see-console"}}const r=["ansi-black","ansi-red","ansi-green","ansi-yellow","ansi-blue","ansi-magenta","ansi-cyan","ansi-white","ansi-black-intense","ansi-red-intense","ansi-green-intense","ansi-yellow-intense","ansi-blue-intense","ansi-magenta-intense","ansi-cyan-intense","ansi-white-intense"];function s(f,b,y,w,_,m,A){if(f){const g=[],p=[];w&&typeof b=="number"&&0<=b&&b<8&&(b+=8),m&&([b,y]=[y,b]),typeof b=="number"?g.push(r[b]+"-fg"):b.length?p.push(`color: rgb(${b})`):m&&g.push("ansi-default-inverse-fg"),typeof y=="number"?g.push(r[y]+"-bg"):y.length?p.push(`background-color: rgb(${y})`):m&&g.push("ansi-default-inverse-bg"),w&&g.push("ansi-bold"),_&&g.push("ansi-underline"),g.length||p.length?(A.push("<span"),g.length&&A.push(` class="${g.join(" ")}"`),p.length&&A.push(` style="${p.join("; ")}"`),A.push(">"),A.push(f),A.push("</span>")):A.push(f)}}function h(f){let b,y,w;const _=f.shift();if(_===2&&f.length>=3){if(b=f.shift(),y=f.shift(),w=f.shift(),[b,y,w].some(m=>m<0||255<m))throw new RangeError("Invalid range for RGB colors")}else if(_===5&&f.length>=1){const m=f.shift();if(m<0)throw new RangeError("Color index must be >= 0");if(m<16)return m;if(m<232)b=Math.floor((m-16)/36),b=b>0?55+b*40:0,y=Math.floor((m-16)%36/6),y=y>0?55+y*40:0,w=(m-16)%6,w=w>0?55+w*40:0;else if(m<256)b=y=w=(m-232)*10+8;else throw new RangeError("Color index must be < 256")}else throw new RangeError("Invalid extended color specification");return[b,y,w]}function c(f){const b=/\x1b\[(.*?)([@-~])/g;let y=[],w=[],_=!1,m=!1,A=!1,g;const p=[],v=[];let C=0;for(f=escape$1(f),f+="\x1B[m";g=b.exec(f);){if(g[2]==="m"){const E=g[1].split(";");for(let R=0;R<E.length;R++){const S=E[R];if(S==="")v.push(0);else if(S.search(/^\d+$/)!==-1)v.push(parseInt(S,10));else{v.length=0;break}}}const P=f.substring(C,g.index);for(s(P,y,w,_,m,A,p),C=b.lastIndex;v.length;){const E=v.shift();switch(E){case 0:y=w=[],_=!1,m=!1,A=!1;break;case 1:case 5:_=!0;break;case 4:m=!0;break;case 7:A=!0;break;case 21:case 22:_=!1;break;case 24:m=!1;break;case 27:A=!1;break;case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:y=E-30;break;case 38:try{y=h(v)}catch{v.length=0}break;case 39:y=[];break;case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:w=E-40;break;case 48:try{w=h(v)}catch{v.length=0}break;case 49:w=[];break;case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:y=E-90+8;break;case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:w=E-100+8;break}}}return p.join("")}t.ansiSpan=c})(Private$6||(Private$6={}));class RenderedCommon extends Widget{constructor(e){var o,i,l;super(),this.mimeType=e.mimeType,this.sanitizer=e.sanitizer,this.resolver=e.resolver,this.linkHandler=e.linkHandler,this.trustHandler=(o=e.trustHandler)!==null&&o!==void 0?o:null,this.translator=(i=e.translator)!==null&&i!==void 0?i:nullTranslator,this.latexTypesetter=e.latexTypesetter,this.markdownParser=(l=e.markdownParser)!==null&&l!==void 0?l:null,this.node.dataset.mimeType=this.mimeType}async renderModel(e,o){var i,l;if(!o)for(;this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.toggleClass("jp-mod-trusted",e.trusted),e.trusted?(i=this.trustHandler)===null||i===void 0||i.markTrusted(this.node):(l=this.trustHandler)===null||l===void 0||l.unmarkTrusted(this.node),await this.render(e);const{fragment:n}=e.metadata;n&&this.setFragment(n)}setFragment(e){}}class RenderedHTMLCommon extends RenderedCommon{constructor(e){super(e),this.addClass("jp-RenderedHTMLCommon")}setFragment(e){let o;try{if(e.startsWith("#")){const i=e.slice(1),l=CSS.escape(i);this.sanitizer.allowNamedProperties?o=this.node.querySelector(`#${l}`):o=this.node.querySelector(`[data-jupyter-id="${l}"]`)}else o=this.node.querySelector(e)}catch(i){console.warn("Unable to set URI fragment identifier.",i)}o&&o.scrollIntoView()}}class RenderedHTML extends RenderedHTMLCommon{constructor(e){super(e),this._rendered=Promise.resolve(),this.addClass("jp-RenderedHTML")}render(e){return this._rendered=renderHTML({host:this.node,source:String(e.data[this.mimeType]),trusted:e.trusted,resolver:this.resolver,sanitizer:this.sanitizer,linkHandler:this.linkHandler,shouldTypeset:this.isAttached,latexTypesetter:this.latexTypesetter,translator:this.translator})}onAfterAttach(e){this._rendered.then(()=>{this.latexTypesetter&&Private$5.typeset(this.node,this.latexTypesetter,this.resolver)}).catch(console.warn)}}class RenderedLatex extends RenderedCommon{constructor(e){super(e),this._rendered=Promise.resolve(),this.addClass("jp-RenderedLatex")}render(e){return this._rendered=renderLatex({host:this.node,source:String(e.data[this.mimeType]),shouldTypeset:this.isAttached,latexTypesetter:this.latexTypesetter,resolver:this.resolver})}onAfterAttach(e){this._rendered.then(()=>{this.latexTypesetter&&Private$5.typeset(this.node,this.latexTypesetter,this.resolver)}).catch(console.warn)}}class RenderedImage extends RenderedCommon{constructor(e){super(e),this.addClass("jp-RenderedImage")}render(e){const o=e.metadata[this.mimeType];return renderImage({host:this.node,mimeType:this.mimeType,source:String(e.data[this.mimeType]),width:o&&o.width,height:o&&o.height,needsBackground:e.metadata.needs_background,unconfined:o&&o.unconfined})}}class RenderedMarkdown extends RenderedHTMLCommon{constructor(e){super(e),this._rendered=Promise.resolve(),this.addClass("jp-RenderedMarkdown")}render(e){return this._rendered=renderMarkdown({host:this.node,source:String(e.data[this.mimeType]),trusted:e.trusted,resolver:this.resolver,sanitizer:this.sanitizer,linkHandler:this.linkHandler,shouldTypeset:this.isAttached,latexTypesetter:this.latexTypesetter,markdownParser:this.markdownParser,translator:this.translator})}async renderModel(e){await super.renderModel(e,!0)}onAfterAttach(e){this._rendered.then(()=>{this.latexTypesetter&&Private$5.typeset(this.node,this.latexTypesetter,this.resolver)}).catch(console.warn)}}class RenderedSVG extends RenderedCommon{constructor(e){super(e),this._rendered=Promise.resolve(),this.addClass("jp-RenderedSVG")}render(e){const o=e.metadata[this.mimeType];return this._rendered=renderSVG({host:this.node,source:String(e.data[this.mimeType]),trusted:e.trusted,unconfined:o&&o.unconfined,translator:this.translator})}onAfterAttach(e){this._rendered.then(()=>{this.latexTypesetter&&Private$5.typeset(this.node,this.latexTypesetter,this.resolver)}).catch(console.warn)}}class RenderedText extends RenderedCommon{constructor(e){super(e),this.addClass("jp-RenderedText")}render(e){return renderText({host:this.node,sanitizer:this.sanitizer,source:String(e.data[this.mimeType]),translator:this.translator})}}class RenderedError extends RenderedCommon{constructor(e){super(e),this.addClass("jp-RenderedText")}render(e){return renderError({host:this.node,sanitizer:this.sanitizer,source:String(e.data[this.mimeType]),linkHandler:this.linkHandler,resolver:this.resolver,translator:this.translator})}}class RenderedJavaScript extends RenderedCommon{constructor(e){super(e),this.addClass("jp-RenderedJavaScript")}render(e){const o=this.translator.load("jupyterlab");return renderText({host:this.node,sanitizer:this.sanitizer,source:o.__("JavaScript output is disabled in JupyterLab"),translator:this.translator})}}var Private$5;(function(t){function e(o,i,l){const n=i.typeset(o);n instanceof Promise?n.then(()=>hardenAnchorLinks(o,l)).catch(console.warn):hardenAnchorLinks(o,l)}t.typeset=e})(Private$5||(Private$5={}));const htmlRendererFactory={safe:!0,mimeTypes:["text/html"],defaultRank:50,createRenderer:t=>new RenderedHTML(t)},imageRendererFactory={safe:!0,mimeTypes:["image/bmp","image/png","image/jpeg","image/gif","image/webp"],defaultRank:90,createRenderer:t=>new RenderedImage(t)},latexRendererFactory={safe:!0,mimeTypes:["text/latex"],defaultRank:70,createRenderer:t=>new RenderedLatex(t)},markdownRendererFactory={safe:!0,mimeTypes:["text/markdown"],defaultRank:60,createRenderer:t=>new RenderedMarkdown(t)},svgRendererFactory={safe:!1,mimeTypes:["image/svg+xml"],defaultRank:80,createRenderer:t=>new RenderedSVG(t)},errorRendererFactory={safe:!0,mimeTypes:["application/vnd.jupyter.stderr"],defaultRank:110,createRenderer:t=>new RenderedError(t)},textRendererFactory={safe:!0,mimeTypes:["text/plain","application/vnd.jupyter.stdout"],defaultRank:120,createRenderer:t=>new RenderedText(t)},javaScriptRendererFactory={safe:!1,mimeTypes:["text/javascript","application/javascript"],defaultRank:110,createRenderer:t=>new RenderedJavaScript(t)},standardRendererFactories=[htmlRendererFactory,markdownRendererFactory,latexRendererFactory,svgRendererFactory,imageRendererFactory,javaScriptRendererFactory,errorRendererFactory,textRendererFactory];class MimeModel{constructor(e={}){this.trusted=!!e.trusted,this._data=e.data||{},this._metadata=e.metadata||{},this._callback=e.callback||Private$4.noOp}get data(){return this._data}get metadata(){return this._metadata}setData(e){this._data=e.data||this._data,this._metadata=e.metadata||this._metadata,this._callback(e)}}var Private$4;(function(t){function e(){}t.noOp=e})(Private$4||(Private$4={}));let OutputModel$1=class{constructor(e){this._changed=new Signal(this),this._raw={},this._text=void 0;const{data:o,metadata:i,trusted:l}=Private$3.getBundleOptions(e);this._rawData=o,e.value!==void 0&&isStream(e.value)&&(this._text=new ObservableString(typeof e.value.text=="string"?e.value.text:e.value.text.join(""))),this._metadata=new ObservableJSON({values:i}),this._rawMetadata=i,this.trusted=l;const n=e.value;for(const u in n)switch(u){case"data":case"metadata":break;default:this._raw[u]=Private$3.extract(n,u)}this.type=n.output_type,isExecuteResult(n)?this.executionCount=n.execution_count:this.executionCount=null}get changed(){return this._changed}dispose(){var e;(e=this._text)===null||e===void 0||e.dispose(),this._metadata.dispose(),Signal.clearData(this)}get data(){return Private$3.getData(this.toJSON())}get streamText(){return this._text}get metadata(){return this._rawMetadata}setData(e){e.data&&(this._rawData=e.data),e.metadata&&(this._updateObservable(this._metadata,e.metadata),this._rawMetadata=e.metadata),this._changed.emit()}toJSON(){const e={};for(const o in this._raw)e[o]=Private$3.extract(this._raw,o);switch(this._text!==void 0&&(e.text=this._text.text),this.type){case"display_data":case"execute_result":case"update_display_data":e.data=this._rawData,e.metadata=this.metadata;break}return delete e.transient,e}_updateObservable(e,o){const i=e.keys(),l=Object.keys(o);for(const n of i)l.indexOf(n)===-1&&e.delete(n);for(const n of l){const u=e.get(n),d=o[n];u!==d&&e.set(n,d)}}};(function(t){function e(i){return Private$3.getData(i)}t.getData=e;function o(i){return Private$3.getMetadata(i)}t.getMetadata=o})(OutputModel$1||(OutputModel$1={}));var Private$3;(function(t){function e(u){let d={};if(isExecuteResult(u)||isDisplayData(u)||isDisplayUpdate(u))d=u.data;else if(isStream(u))u.name==="stderr"?d["application/vnd.jupyter.stderr"]=u.text:d["application/vnd.jupyter.stdout"]=u.text;else if(isError(u)){d["application/vnd.jupyter.error"]=u;const a=u.traceback.join(`
14
+ `);d["application/vnd.jupyter.stderr"]=a||`${u.ename}: ${u.evalue}`}return n(d)}t.getData=e;function o(u){const d=Object.create(null);if(isExecuteResult(u)||isDisplayData(u))for(const a in u.metadata)d[a]=l(u.metadata,a);return d}t.getMetadata=o;function i(u){const d=e(u.value),a=o(u.value),r=!!u.trusted;return{data:d,metadata:a,trusted:r}}t.getBundleOptions=i;function l(u,d){const a=u[d];return a===void 0||JSONExt.isPrimitive(a)?a:JSON.parse(JSON.stringify(a))}t.extract=l;function n(u){const d=Object.create(null);for(const a in u)d[a]=l(u,a);return d}})(Private$3||(Private$3={}));var ajv$1={exports:{}},core$1={},validate={},boolSchema={},errors={},codegen={},code$1={},hasRequiredCode$1;function requireCode$1(){return hasRequiredCode$1||(hasRequiredCode$1=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class e{}t._CodeOrName=e,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class o extends e{constructor(m){if(super(),!t.IDENTIFIER.test(m))throw new Error("CodeGen: name must be a valid identifier");this.str=m}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=o;class i extends e{constructor(m){super(),this._items=typeof m=="string"?[m]:m}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const m=this._items[0];return m===""||m==='""'}get str(){var m;return(m=this._str)!==null&&m!==void 0?m:this._str=this._items.reduce((A,g)=>`${A}${g}`,"")}get names(){var m;return(m=this._names)!==null&&m!==void 0?m:this._names=this._items.reduce((A,g)=>(g instanceof o&&(A[g.str]=(A[g.str]||0)+1),A),{})}}t._Code=i,t.nil=new i("");function l(_,...m){const A=[_[0]];let g=0;for(;g<m.length;)d(A,m[g]),A.push(_[++g]);return new i(A)}t._=l;const n=new i("+");function u(_,...m){const A=[f(_[0])];let g=0;for(;g<m.length;)A.push(n),d(A,m[g]),A.push(n,f(_[++g]));return a(A),new i(A)}t.str=u;function d(_,m){m instanceof i?_.push(...m._items):m instanceof o?_.push(m):_.push(h(m))}t.addCodeArg=d;function a(_){let m=1;for(;m<_.length-1;){if(_[m]===n){const A=r(_[m-1],_[m+1]);if(A!==void 0){_.splice(m-1,3,A);continue}_[m++]="+"}m++}}function r(_,m){if(m==='""')return _;if(_==='""')return m;if(typeof _=="string")return m instanceof o||_[_.length-1]!=='"'?void 0:typeof m!="string"?`${_.slice(0,-1)}${m}"`:m[0]==='"'?_.slice(0,-1)+m.slice(1):void 0;if(typeof m=="string"&&m[0]==='"'&&!(_ instanceof o))return`"${_}${m.slice(1)}`}function s(_,m){return m.emptyStr()?_:_.emptyStr()?m:u`${_}${m}`}t.strConcat=s;function h(_){return typeof _=="number"||typeof _=="boolean"||_===null?_:f(Array.isArray(_)?_.join(","):_)}function c(_){return new i(f(_))}t.stringify=c;function f(_){return JSON.stringify(_).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.safeStringify=f;function b(_){return typeof _=="string"&&t.IDENTIFIER.test(_)?new i(`.${_}`):l`[${_}]`}t.getProperty=b;function y(_){if(typeof _=="string"&&t.IDENTIFIER.test(_))return new i(`${_}`);throw new Error(`CodeGen: invalid export name: ${_}, use explicit $id name mapping`)}t.getEsmExportName=y;function w(_){return new i(_.toString())}t.regexpCode=w})(code$1)),code$1}var scope={},hasRequiredScope;function requireScope(){return hasRequiredScope||(hasRequiredScope=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const e=requireCode$1();class o extends Error{constructor(r){super(`CodeGen: "code" for ${r} not defined`),this.value=r.value}}var i;(function(a){a[a.Started=0]="Started",a[a.Completed=1]="Completed"})(i||(t.UsedValueState=i={})),t.varKinds={const:new e.Name("const"),let:new e.Name("let"),var:new e.Name("var")};class l{constructor({prefixes:r,parent:s}={}){this._names={},this._prefixes=r,this._parent=s}toName(r){return r instanceof e.Name?r:this.name(r)}name(r){return new e.Name(this._newName(r))}_newName(r){const s=this._names[r]||this._nameGroup(r);return`${r}${s.index++}`}_nameGroup(r){var s,h;if(!((h=(s=this._parent)===null||s===void 0?void 0:s._prefixes)===null||h===void 0)&&h.has(r)||this._prefixes&&!this._prefixes.has(r))throw new Error(`CodeGen: prefix "${r}" is not allowed in this scope`);return this._names[r]={prefix:r,index:0}}}t.Scope=l;class n extends e.Name{constructor(r,s){super(s),this.prefix=r}setValue(r,{property:s,itemIndex:h}){this.value=r,this.scopePath=(0,e._)`.${new e.Name(s)}[${h}]`}}t.ValueScopeName=n;const u=(0,e._)`\n`;class d extends l{constructor(r){super(r),this._values={},this._scope=r.scope,this.opts={...r,_n:r.lines?u:e.nil}}get(){return this._scope}name(r){return new n(r,this._newName(r))}value(r,s){var h;if(s.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const c=this.toName(r),{prefix:f}=c,b=(h=s.key)!==null&&h!==void 0?h:s.ref;let y=this._values[f];if(y){const m=y.get(b);if(m)return m}else y=this._values[f]=new Map;y.set(b,c);const w=this._scope[f]||(this._scope[f]=[]),_=w.length;return w[_]=s.ref,c.setValue(s,{property:f,itemIndex:_}),c}getValue(r,s){const h=this._values[r];if(h)return h.get(s)}scopeRefs(r,s=this._values){return this._reduceValues(s,h=>{if(h.scopePath===void 0)throw new Error(`CodeGen: name "${h}" has no value`);return(0,e._)`${r}${h.scopePath}`})}scopeCode(r=this._values,s,h){return this._reduceValues(r,c=>{if(c.value===void 0)throw new Error(`CodeGen: name "${c}" has no value`);return c.value.code},s,h)}_reduceValues(r,s,h={},c){let f=e.nil;for(const b in r){const y=r[b];if(!y)continue;const w=h[b]=h[b]||new Map;y.forEach(_=>{if(w.has(_))return;w.set(_,i.Started);let m=s(_);if(m){const A=this.opts.es5?t.varKinds.var:t.varKinds.const;f=(0,e._)`${f}${A} ${_} = ${m};${this.opts._n}`}else if(m=c==null?void 0:c(_))f=(0,e._)`${f}${m}${this.opts._n}`;else throw new o(_);w.set(_,i.Completed)})}return f}}t.ValueScope=d})(scope)),scope}var hasRequiredCodegen;function requireCodegen(){return hasRequiredCodegen||(hasRequiredCodegen=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const e=requireCode$1(),o=requireScope();var i=requireCode$1();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}});var l=requireScope();Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return l.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return l.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return l.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return l.varKinds}}),t.operators={GT:new e._Code(">"),GTE:new e._Code(">="),LT:new e._Code("<"),LTE:new e._Code("<="),EQ:new e._Code("==="),NEQ:new e._Code("!=="),NOT:new e._Code("!"),OR:new e._Code("||"),AND:new e._Code("&&"),ADD:new e._Code("+")};class n{optimizeNodes(){return this}optimizeNames(q,N){return this}}class u extends n{constructor(q,N,W){super(),this.varKind=q,this.name=N,this.rhs=W}render({es5:q,_n:N}){const W=q?o.varKinds.var:this.varKind,J=this.rhs===void 0?"":` = ${this.rhs}`;return`${W} ${this.name}${J};`+N}optimizeNames(q,N){if(q[this.name.str])return this.rhs&&(this.rhs=M(this.rhs,q,N)),this}get names(){return this.rhs instanceof e._CodeOrName?this.rhs.names:{}}}class d extends n{constructor(q,N,W){super(),this.lhs=q,this.rhs=N,this.sideEffects=W}render({_n:q}){return`${this.lhs} = ${this.rhs};`+q}optimizeNames(q,N){if(!(this.lhs instanceof e.Name&&!q[this.lhs.str]&&!this.sideEffects))return this.rhs=M(this.rhs,q,N),this}get names(){const q=this.lhs instanceof e.Name?{}:{...this.lhs.names};return x(q,this.rhs)}}class a extends d{constructor(q,N,W,J){super(q,W,J),this.op=N}render({_n:q}){return`${this.lhs} ${this.op}= ${this.rhs};`+q}}class r extends n{constructor(q){super(),this.label=q,this.names={}}render({_n:q}){return`${this.label}:`+q}}class s extends n{constructor(q){super(),this.label=q,this.names={}}render({_n:q}){return`break${this.label?` ${this.label}`:""};`+q}}class h extends n{constructor(q){super(),this.error=q}render({_n:q}){return`throw ${this.error};`+q}get names(){return this.error.names}}class c extends n{constructor(q){super(),this.code=q}render({_n:q}){return`${this.code};`+q}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(q,N){return this.code=M(this.code,q,N),this}get names(){return this.code instanceof e._CodeOrName?this.code.names:{}}}class f extends n{constructor(q=[]){super(),this.nodes=q}render(q){return this.nodes.reduce((N,W)=>N+W.render(q),"")}optimizeNodes(){const{nodes:q}=this;let N=q.length;for(;N--;){const W=q[N].optimizeNodes();Array.isArray(W)?q.splice(N,1,...W):W?q[N]=W:q.splice(N,1)}return q.length>0?this:void 0}optimizeNames(q,N){const{nodes:W}=this;let J=W.length;for(;J--;){const z=W[J];z.optimizeNames(q,N)||(D(q,z.names),W.splice(J,1))}return W.length>0?this:void 0}get names(){return this.nodes.reduce((q,N)=>I(q,N.names),{})}}class b extends f{render(q){return"{"+q._n+super.render(q)+"}"+q._n}}class y extends f{}class w extends b{}w.kind="else";class _ extends b{constructor(q,N){super(N),this.condition=q}render(q){let N=`if(${this.condition})`+super.render(q);return this.else&&(N+="else "+this.else.render(q)),N}optimizeNodes(){super.optimizeNodes();const q=this.condition;if(q===!0)return this.nodes;let N=this.else;if(N){const W=N.optimizeNodes();N=this.else=Array.isArray(W)?new w(W):W}if(N)return q===!1?N instanceof _?N:N.nodes:this.nodes.length?this:new _(H(q),N instanceof _?[N]:N.nodes);if(!(q===!1||!this.nodes.length))return this}optimizeNames(q,N){var W;if(this.else=(W=this.else)===null||W===void 0?void 0:W.optimizeNames(q,N),!!(super.optimizeNames(q,N)||this.else))return this.condition=M(this.condition,q,N),this}get names(){const q=super.names;return x(q,this.condition),this.else&&I(q,this.else.names),q}}_.kind="if";class m extends b{}m.kind="for";class A extends m{constructor(q){super(),this.iteration=q}render(q){return`for(${this.iteration})`+super.render(q)}optimizeNames(q,N){if(super.optimizeNames(q,N))return this.iteration=M(this.iteration,q,N),this}get names(){return I(super.names,this.iteration.names)}}class g extends m{constructor(q,N,W,J){super(),this.varKind=q,this.name=N,this.from=W,this.to=J}render(q){const N=q.es5?o.varKinds.var:this.varKind,{name:W,from:J,to:z}=this;return`for(${N} ${W}=${J}; ${W}<${z}; ${W}++)`+super.render(q)}get names(){const q=x(super.names,this.from);return x(q,this.to)}}class p extends m{constructor(q,N,W,J){super(),this.loop=q,this.varKind=N,this.name=W,this.iterable=J}render(q){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(q)}optimizeNames(q,N){if(super.optimizeNames(q,N))return this.iterable=M(this.iterable,q,N),this}get names(){return I(super.names,this.iterable.names)}}class v extends b{constructor(q,N,W){super(),this.name=q,this.args=N,this.async=W}render(q){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(q)}}v.kind="func";class C extends f{render(q){return"return "+super.render(q)}}C.kind="return";class P extends b{render(q){let N="try"+super.render(q);return this.catch&&(N+=this.catch.render(q)),this.finally&&(N+=this.finally.render(q)),N}optimizeNodes(){var q,N;return super.optimizeNodes(),(q=this.catch)===null||q===void 0||q.optimizeNodes(),(N=this.finally)===null||N===void 0||N.optimizeNodes(),this}optimizeNames(q,N){var W,J;return super.optimizeNames(q,N),(W=this.catch)===null||W===void 0||W.optimizeNames(q,N),(J=this.finally)===null||J===void 0||J.optimizeNames(q,N),this}get names(){const q=super.names;return this.catch&&I(q,this.catch.names),this.finally&&I(q,this.finally.names),q}}class E extends b{constructor(q){super(),this.error=q}render(q){return`catch(${this.error})`+super.render(q)}}E.kind="catch";class R extends b{render(q){return"finally"+super.render(q)}}R.kind="finally";class S{constructor(q,N={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...N,_n:N.lines?`
15
+ `:""},this._extScope=q,this._scope=new o.Scope({parent:q}),this._nodes=[new y]}toString(){return this._root.render(this.opts)}name(q){return this._scope.name(q)}scopeName(q){return this._extScope.name(q)}scopeValue(q,N){const W=this._extScope.value(q,N);return(this._values[W.prefix]||(this._values[W.prefix]=new Set)).add(W),W}getScopeValue(q,N){return this._extScope.getValue(q,N)}scopeRefs(q){return this._extScope.scopeRefs(q,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(q,N,W,J){const z=this._scope.toName(N);return W!==void 0&&J&&(this._constants[z.str]=W),this._leafNode(new u(q,z,W)),z}const(q,N,W){return this._def(o.varKinds.const,q,N,W)}let(q,N,W){return this._def(o.varKinds.let,q,N,W)}var(q,N,W){return this._def(o.varKinds.var,q,N,W)}assign(q,N,W){return this._leafNode(new d(q,N,W))}add(q,N){return this._leafNode(new a(q,t.operators.ADD,N))}code(q){return typeof q=="function"?q():q!==e.nil&&this._leafNode(new c(q)),this}object(...q){const N=["{"];for(const[W,J]of q)N.length>1&&N.push(","),N.push(W),(W!==J||this.opts.es5)&&(N.push(":"),(0,e.addCodeArg)(N,J));return N.push("}"),new e._Code(N)}if(q,N,W){if(this._blockNode(new _(q)),N&&W)this.code(N).else().code(W).endIf();else if(N)this.code(N).endIf();else if(W)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(q){return this._elseNode(new _(q))}else(){return this._elseNode(new w)}endIf(){return this._endBlockNode(_,w)}_for(q,N){return this._blockNode(q),N&&this.code(N).endFor(),this}for(q,N){return this._for(new A(q),N)}forRange(q,N,W,J,z=this.opts.es5?o.varKinds.var:o.varKinds.let){const ne=this._scope.toName(q);return this._for(new g(z,ne,N,W),()=>J(ne))}forOf(q,N,W,J=o.varKinds.const){const z=this._scope.toName(q);if(this.opts.es5){const ne=N instanceof e.Name?N:this.var("_arr",N);return this.forRange("_i",0,(0,e._)`${ne}.length`,ee=>{this.var(z,(0,e._)`${ne}[${ee}]`),W(z)})}return this._for(new p("of",J,z,N),()=>W(z))}forIn(q,N,W,J=this.opts.es5?o.varKinds.var:o.varKinds.const){if(this.opts.ownProperties)return this.forOf(q,(0,e._)`Object.keys(${N})`,W);const z=this._scope.toName(q);return this._for(new p("in",J,z,N),()=>W(z))}endFor(){return this._endBlockNode(m)}label(q){return this._leafNode(new r(q))}break(q){return this._leafNode(new s(q))}return(q){const N=new C;if(this._blockNode(N),this.code(q),N.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(C)}try(q,N,W){if(!N&&!W)throw new Error('CodeGen: "try" without "catch" and "finally"');const J=new P;if(this._blockNode(J),this.code(q),N){const z=this.name("e");this._currNode=J.catch=new E(z),N(z)}return W&&(this._currNode=J.finally=new R,this.code(W)),this._endBlockNode(E,R)}throw(q){return this._leafNode(new h(q))}block(q,N){return this._blockStarts.push(this._nodes.length),q&&this.code(q).endBlock(N),this}endBlock(q){const N=this._blockStarts.pop();if(N===void 0)throw new Error("CodeGen: not in self-balancing block");const W=this._nodes.length-N;if(W<0||q!==void 0&&W!==q)throw new Error(`CodeGen: wrong number of nodes: ${W} vs ${q} expected`);return this._nodes.length=N,this}func(q,N=e.nil,W,J){return this._blockNode(new v(q,N,W)),J&&this.code(J).endFunc(),this}endFunc(){return this._endBlockNode(v)}optimize(q=1){for(;q-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(q){return this._currNode.nodes.push(q),this}_blockNode(q){this._currNode.nodes.push(q),this._nodes.push(q)}_endBlockNode(q,N){const W=this._currNode;if(W instanceof q||N&&W instanceof N)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${N?`${q.kind}/${N.kind}`:q.kind}"`)}_elseNode(q){const N=this._currNode;if(!(N instanceof _))throw new Error('CodeGen: "else" without "if"');return this._currNode=N.else=q,this}get _root(){return this._nodes[0]}get _currNode(){const q=this._nodes;return q[q.length-1]}set _currNode(q){const N=this._nodes;N[N.length-1]=q}}t.CodeGen=S;function I(k,q){for(const N in q)k[N]=(k[N]||0)+(q[N]||0);return k}function x(k,q){return q instanceof e._CodeOrName?I(k,q.names):k}function M(k,q,N){if(k instanceof e.Name)return W(k);if(!J(k))return k;return new e._Code(k._items.reduce((z,ne)=>(ne instanceof e.Name&&(ne=W(ne)),ne instanceof e._Code?z.push(...ne._items):z.push(ne),z),[]));function W(z){const ne=N[z.str];return ne===void 0||q[z.str]!==1?z:(delete q[z.str],ne)}function J(z){return z instanceof e._Code&&z._items.some(ne=>ne instanceof e.Name&&q[ne.str]===1&&N[ne.str]!==void 0)}}function D(k,q){for(const N in q)k[N]=(k[N]||0)-(q[N]||0)}function H(k){return typeof k=="boolean"||typeof k=="number"||k===null?!k:(0,e._)`!${K(k)}`}t.not=H;const U=j(t.operators.AND);function B(...k){return k.reduce(U)}t.and=B;const V=j(t.operators.OR);function F(...k){return k.reduce(V)}t.or=F;function j(k){return(q,N)=>q===e.nil?N:N===e.nil?q:(0,e._)`${K(q)} ${k} ${K(N)}`}function K(k){return k instanceof e.Name?k:(0,e._)`(${k})`}})(codegen)),codegen}var util={},hasRequiredUtil;function requireUtil(){if(hasRequiredUtil)return util;hasRequiredUtil=1,Object.defineProperty(util,"__esModule",{value:!0}),util.checkStrictMode=util.getErrorPath=util.Type=util.useFunc=util.setEvaluated=util.evaluatedPropsToName=util.mergeEvaluated=util.eachItem=util.unescapeJsonPointer=util.escapeJsonPointer=util.escapeFragment=util.unescapeFragment=util.schemaRefOrVal=util.schemaHasRulesButRef=util.schemaHasRules=util.checkUnknownRules=util.alwaysValidSchema=util.toHash=void 0;const t=requireCodegen(),e=requireCode$1();function o(p){const v={};for(const C of p)v[C]=!0;return v}util.toHash=o;function i(p,v){return typeof v=="boolean"?v:Object.keys(v).length===0?!0:(l(p,v),!n(v,p.self.RULES.all))}util.alwaysValidSchema=i;function l(p,v=p.schema){const{opts:C,self:P}=p;if(!C.strictSchema||typeof v=="boolean")return;const E=P.RULES.keywords;for(const R in v)E[R]||g(p,`unknown keyword: "${R}"`)}util.checkUnknownRules=l;function n(p,v){if(typeof p=="boolean")return!p;for(const C in p)if(v[C])return!0;return!1}util.schemaHasRules=n;function u(p,v){if(typeof p=="boolean")return!p;for(const C in p)if(C!=="$ref"&&v.all[C])return!0;return!1}util.schemaHasRulesButRef=u;function d({topSchemaRef:p,schemaPath:v},C,P,E){if(!E){if(typeof C=="number"||typeof C=="boolean")return C;if(typeof C=="string")return(0,t._)`${C}`}return(0,t._)`${p}${v}${(0,t.getProperty)(P)}`}util.schemaRefOrVal=d;function a(p){return h(decodeURIComponent(p))}util.unescapeFragment=a;function r(p){return encodeURIComponent(s(p))}util.escapeFragment=r;function s(p){return typeof p=="number"?`${p}`:p.replace(/~/g,"~0").replace(/\//g,"~1")}util.escapeJsonPointer=s;function h(p){return p.replace(/~1/g,"/").replace(/~0/g,"~")}util.unescapeJsonPointer=h;function c(p,v){if(Array.isArray(p))for(const C of p)v(C);else v(p)}util.eachItem=c;function f({mergeNames:p,mergeToName:v,mergeValues:C,resultToName:P}){return(E,R,S,I)=>{const x=S===void 0?R:S instanceof t.Name?(R instanceof t.Name?p(E,R,S):v(E,R,S),S):R instanceof t.Name?(v(E,S,R),R):C(R,S);return I===t.Name&&!(x instanceof t.Name)?P(E,x):x}}util.mergeEvaluated={props:f({mergeNames:(p,v,C)=>p.if((0,t._)`${C} !== true && ${v} !== undefined`,()=>{p.if((0,t._)`${v} === true`,()=>p.assign(C,!0),()=>p.assign(C,(0,t._)`${C} || {}`).code((0,t._)`Object.assign(${C}, ${v})`))}),mergeToName:(p,v,C)=>p.if((0,t._)`${C} !== true`,()=>{v===!0?p.assign(C,!0):(p.assign(C,(0,t._)`${C} || {}`),y(p,C,v))}),mergeValues:(p,v)=>p===!0?!0:{...p,...v},resultToName:b}),items:f({mergeNames:(p,v,C)=>p.if((0,t._)`${C} !== true && ${v} !== undefined`,()=>p.assign(C,(0,t._)`${v} === true ? true : ${C} > ${v} ? ${C} : ${v}`)),mergeToName:(p,v,C)=>p.if((0,t._)`${C} !== true`,()=>p.assign(C,v===!0?!0:(0,t._)`${C} > ${v} ? ${C} : ${v}`)),mergeValues:(p,v)=>p===!0?!0:Math.max(p,v),resultToName:(p,v)=>p.var("items",v)})};function b(p,v){if(v===!0)return p.var("props",!0);const C=p.var("props",(0,t._)`{}`);return v!==void 0&&y(p,C,v),C}util.evaluatedPropsToName=b;function y(p,v,C){Object.keys(C).forEach(P=>p.assign((0,t._)`${v}${(0,t.getProperty)(P)}`,!0))}util.setEvaluated=y;const w={};function _(p,v){return p.scopeValue("func",{ref:v,code:w[v.code]||(w[v.code]=new e._Code(v.code))})}util.useFunc=_;var m;(function(p){p[p.Num=0]="Num",p[p.Str=1]="Str"})(m||(util.Type=m={}));function A(p,v,C){if(p instanceof t.Name){const P=v===m.Num;return C?P?(0,t._)`"[" + ${p} + "]"`:(0,t._)`"['" + ${p} + "']"`:P?(0,t._)`"/" + ${p}`:(0,t._)`"/" + ${p}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return C?(0,t.getProperty)(p).toString():"/"+s(p)}util.getErrorPath=A;function g(p,v,C=p.opts.strictSchema){if(C){if(v=`strict mode: ${v}`,C===!0)throw new Error(v);p.self.logger.warn(v)}}return util.checkStrictMode=g,util}var names={},hasRequiredNames;function requireNames(){if(hasRequiredNames)return names;hasRequiredNames=1,Object.defineProperty(names,"__esModule",{value:!0});const t=requireCodegen(),e={data:new t.Name("data"),valCxt:new t.Name("valCxt"),instancePath:new t.Name("instancePath"),parentData:new t.Name("parentData"),parentDataProperty:new t.Name("parentDataProperty"),rootData:new t.Name("rootData"),dynamicAnchors:new t.Name("dynamicAnchors"),vErrors:new t.Name("vErrors"),errors:new t.Name("errors"),this:new t.Name("this"),self:new t.Name("self"),scope:new t.Name("scope"),json:new t.Name("json"),jsonPos:new t.Name("jsonPos"),jsonLen:new t.Name("jsonLen"),jsonPart:new t.Name("jsonPart")};return names.default=e,names}var hasRequiredErrors;function requireErrors(){return hasRequiredErrors||(hasRequiredErrors=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const e=requireCodegen(),o=requireUtil(),i=requireNames();t.keywordError={message:({keyword:w})=>(0,e.str)`must pass "${w}" keyword validation`},t.keyword$DataError={message:({keyword:w,schemaType:_})=>_?(0,e.str)`"${w}" keyword must be ${_} ($data)`:(0,e.str)`"${w}" keyword is invalid ($data)`};function l(w,_=t.keywordError,m,A){const{it:g}=w,{gen:p,compositeRule:v,allErrors:C}=g,P=h(w,_,m);A??(v||C)?a(p,P):r(g,(0,e._)`[${P}]`)}t.reportError=l;function n(w,_=t.keywordError,m){const{it:A}=w,{gen:g,compositeRule:p,allErrors:v}=A,C=h(w,_,m);a(g,C),p||v||r(A,i.default.vErrors)}t.reportExtraError=n;function u(w,_){w.assign(i.default.errors,_),w.if((0,e._)`${i.default.vErrors} !== null`,()=>w.if(_,()=>w.assign((0,e._)`${i.default.vErrors}.length`,_),()=>w.assign(i.default.vErrors,null)))}t.resetErrorsCount=u;function d({gen:w,keyword:_,schemaValue:m,data:A,errsCount:g,it:p}){if(g===void 0)throw new Error("ajv implementation error");const v=w.name("err");w.forRange("i",g,i.default.errors,C=>{w.const(v,(0,e._)`${i.default.vErrors}[${C}]`),w.if((0,e._)`${v}.instancePath === undefined`,()=>w.assign((0,e._)`${v}.instancePath`,(0,e.strConcat)(i.default.instancePath,p.errorPath))),w.assign((0,e._)`${v}.schemaPath`,(0,e.str)`${p.errSchemaPath}/${_}`),p.opts.verbose&&(w.assign((0,e._)`${v}.schema`,m),w.assign((0,e._)`${v}.data`,A))})}t.extendErrors=d;function a(w,_){const m=w.const("err",_);w.if((0,e._)`${i.default.vErrors} === null`,()=>w.assign(i.default.vErrors,(0,e._)`[${m}]`),(0,e._)`${i.default.vErrors}.push(${m})`),w.code((0,e._)`${i.default.errors}++`)}function r(w,_){const{gen:m,validateName:A,schemaEnv:g}=w;g.$async?m.throw((0,e._)`new ${w.ValidationError}(${_})`):(m.assign((0,e._)`${A}.errors`,_),m.return(!1))}const s={keyword:new e.Name("keyword"),schemaPath:new e.Name("schemaPath"),params:new e.Name("params"),propertyName:new e.Name("propertyName"),message:new e.Name("message"),schema:new e.Name("schema"),parentSchema:new e.Name("parentSchema")};function h(w,_,m){const{createErrors:A}=w.it;return A===!1?(0,e._)`{}`:c(w,_,m)}function c(w,_,m={}){const{gen:A,it:g}=w,p=[f(g,m),b(w,m)];return y(w,_,p),A.object(...p)}function f({errorPath:w},{instancePath:_}){const m=_?(0,e.str)`${w}${(0,o.getErrorPath)(_,o.Type.Str)}`:w;return[i.default.instancePath,(0,e.strConcat)(i.default.instancePath,m)]}function b({keyword:w,it:{errSchemaPath:_}},{schemaPath:m,parentSchema:A}){let g=A?_:(0,e.str)`${_}/${w}`;return m&&(g=(0,e.str)`${g}${(0,o.getErrorPath)(m,o.Type.Str)}`),[s.schemaPath,g]}function y(w,{params:_,message:m},A){const{keyword:g,data:p,schemaValue:v,it:C}=w,{opts:P,propertyName:E,topSchemaRef:R,schemaPath:S}=C;A.push([s.keyword,g],[s.params,typeof _=="function"?_(w):_||(0,e._)`{}`]),P.messages&&A.push([s.message,typeof m=="function"?m(w):m]),P.verbose&&A.push([s.schema,v],[s.parentSchema,(0,e._)`${R}${S}`],[i.default.data,p]),E&&A.push([s.propertyName,E])}})(errors)),errors}var hasRequiredBoolSchema;function requireBoolSchema(){if(hasRequiredBoolSchema)return boolSchema;hasRequiredBoolSchema=1,Object.defineProperty(boolSchema,"__esModule",{value:!0}),boolSchema.boolOrEmptySchema=boolSchema.topBoolOrEmptySchema=void 0;const t=requireErrors(),e=requireCodegen(),o=requireNames(),i={message:"boolean schema is false"};function l(d){const{gen:a,schema:r,validateName:s}=d;r===!1?u(d,!1):typeof r=="object"&&r.$async===!0?a.return(o.default.data):(a.assign((0,e._)`${s}.errors`,null),a.return(!0))}boolSchema.topBoolOrEmptySchema=l;function n(d,a){const{gen:r,schema:s}=d;s===!1?(r.var(a,!1),u(d)):r.var(a,!0)}boolSchema.boolOrEmptySchema=n;function u(d,a){const{gen:r,data:s}=d,h={gen:r,keyword:"false schema",data:s,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:d};(0,t.reportError)(h,i,void 0,a)}return boolSchema}var dataType={},rules={},hasRequiredRules;function requireRules(){if(hasRequiredRules)return rules;hasRequiredRules=1,Object.defineProperty(rules,"__esModule",{value:!0}),rules.getRules=rules.isJSONType=void 0;const t=["string","number","integer","boolean","null","object","array"],e=new Set(t);function o(l){return typeof l=="string"&&e.has(l)}rules.isJSONType=o;function i(){const l={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...l,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},l.number,l.string,l.array,l.object],post:{rules:[]},all:{},keywords:{}}}return rules.getRules=i,rules}var applicability={},hasRequiredApplicability;function requireApplicability(){if(hasRequiredApplicability)return applicability;hasRequiredApplicability=1,Object.defineProperty(applicability,"__esModule",{value:!0}),applicability.shouldUseRule=applicability.shouldUseGroup=applicability.schemaHasRulesForType=void 0;function t({schema:i,self:l},n){const u=l.RULES.types[n];return u&&u!==!0&&e(i,u)}applicability.schemaHasRulesForType=t;function e(i,l){return l.rules.some(n=>o(i,n))}applicability.shouldUseGroup=e;function o(i,l){var n;return i[l.keyword]!==void 0||((n=l.definition.implements)===null||n===void 0?void 0:n.some(u=>i[u]!==void 0))}return applicability.shouldUseRule=o,applicability}var hasRequiredDataType;function requireDataType(){if(hasRequiredDataType)return dataType;hasRequiredDataType=1,Object.defineProperty(dataType,"__esModule",{value:!0}),dataType.reportTypeError=dataType.checkDataTypes=dataType.checkDataType=dataType.coerceAndCheckDataType=dataType.getJSONTypes=dataType.getSchemaTypes=dataType.DataType=void 0;const t=requireRules(),e=requireApplicability(),o=requireErrors(),i=requireCodegen(),l=requireUtil();var n;(function(m){m[m.Correct=0]="Correct",m[m.Wrong=1]="Wrong"})(n||(dataType.DataType=n={}));function u(m){const A=d(m.type);if(A.includes("null")){if(m.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!A.length&&m.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');m.nullable===!0&&A.push("null")}return A}dataType.getSchemaTypes=u;function d(m){const A=Array.isArray(m)?m:m?[m]:[];if(A.every(t.isJSONType))return A;throw new Error("type must be JSONType or JSONType[]: "+A.join(","))}dataType.getJSONTypes=d;function a(m,A){const{gen:g,data:p,opts:v}=m,C=s(A,v.coerceTypes),P=A.length>0&&!(C.length===0&&A.length===1&&(0,e.schemaHasRulesForType)(m,A[0]));if(P){const E=b(A,p,v.strictNumbers,n.Wrong);g.if(E,()=>{C.length?h(m,A,C):w(m)})}return P}dataType.coerceAndCheckDataType=a;const r=new Set(["string","number","integer","boolean","null"]);function s(m,A){return A?m.filter(g=>r.has(g)||A==="array"&&g==="array"):[]}function h(m,A,g){const{gen:p,data:v,opts:C}=m,P=p.let("dataType",(0,i._)`typeof ${v}`),E=p.let("coerced",(0,i._)`undefined`);C.coerceTypes==="array"&&p.if((0,i._)`${P} == 'object' && Array.isArray(${v}) && ${v}.length == 1`,()=>p.assign(v,(0,i._)`${v}[0]`).assign(P,(0,i._)`typeof ${v}`).if(b(A,v,C.strictNumbers),()=>p.assign(E,v))),p.if((0,i._)`${E} !== undefined`);for(const S of g)(r.has(S)||S==="array"&&C.coerceTypes==="array")&&R(S);p.else(),w(m),p.endIf(),p.if((0,i._)`${E} !== undefined`,()=>{p.assign(v,E),c(m,E)});function R(S){switch(S){case"string":p.elseIf((0,i._)`${P} == "number" || ${P} == "boolean"`).assign(E,(0,i._)`"" + ${v}`).elseIf((0,i._)`${v} === null`).assign(E,(0,i._)`""`);return;case"number":p.elseIf((0,i._)`${P} == "boolean" || ${v} === null
16
+ || (${P} == "string" && ${v} && ${v} == +${v})`).assign(E,(0,i._)`+${v}`);return;case"integer":p.elseIf((0,i._)`${P} === "boolean" || ${v} === null
17
+ || (${P} === "string" && ${v} && ${v} == +${v} && !(${v} % 1))`).assign(E,(0,i._)`+${v}`);return;case"boolean":p.elseIf((0,i._)`${v} === "false" || ${v} === 0 || ${v} === null`).assign(E,!1).elseIf((0,i._)`${v} === "true" || ${v} === 1`).assign(E,!0);return;case"null":p.elseIf((0,i._)`${v} === "" || ${v} === 0 || ${v} === false`),p.assign(E,null);return;case"array":p.elseIf((0,i._)`${P} === "string" || ${P} === "number"
18
+ || ${P} === "boolean" || ${v} === null`).assign(E,(0,i._)`[${v}]`)}}}function c({gen:m,parentData:A,parentDataProperty:g},p){m.if((0,i._)`${A} !== undefined`,()=>m.assign((0,i._)`${A}[${g}]`,p))}function f(m,A,g,p=n.Correct){const v=p===n.Correct?i.operators.EQ:i.operators.NEQ;let C;switch(m){case"null":return(0,i._)`${A} ${v} null`;case"array":C=(0,i._)`Array.isArray(${A})`;break;case"object":C=(0,i._)`${A} && typeof ${A} == "object" && !Array.isArray(${A})`;break;case"integer":C=P((0,i._)`!(${A} % 1) && !isNaN(${A})`);break;case"number":C=P();break;default:return(0,i._)`typeof ${A} ${v} ${m}`}return p===n.Correct?C:(0,i.not)(C);function P(E=i.nil){return(0,i.and)((0,i._)`typeof ${A} == "number"`,E,g?(0,i._)`isFinite(${A})`:i.nil)}}dataType.checkDataType=f;function b(m,A,g,p){if(m.length===1)return f(m[0],A,g,p);let v;const C=(0,l.toHash)(m);if(C.array&&C.object){const P=(0,i._)`typeof ${A} != "object"`;v=C.null?P:(0,i._)`!${A} || ${P}`,delete C.null,delete C.array,delete C.object}else v=i.nil;C.number&&delete C.integer;for(const P in C)v=(0,i.and)(v,f(P,A,g,p));return v}dataType.checkDataTypes=b;const y={message:({schema:m})=>`must be ${m}`,params:({schema:m,schemaValue:A})=>typeof m=="string"?(0,i._)`{type: ${m}}`:(0,i._)`{type: ${A}}`};function w(m){const A=_(m);(0,o.reportError)(A,y)}dataType.reportTypeError=w;function _(m){const{gen:A,data:g,schema:p}=m,v=(0,l.schemaRefOrVal)(m,p,"type");return{gen:A,keyword:"type",data:g,schema:p.type,schemaCode:v,schemaValue:v,parentSchema:p,params:{},it:m}}return dataType}var defaults={},hasRequiredDefaults;function requireDefaults(){if(hasRequiredDefaults)return defaults;hasRequiredDefaults=1,Object.defineProperty(defaults,"__esModule",{value:!0}),defaults.assignDefaults=void 0;const t=requireCodegen(),e=requireUtil();function o(l,n){const{properties:u,items:d}=l.schema;if(n==="object"&&u)for(const a in u)i(l,a,u[a].default);else n==="array"&&Array.isArray(d)&&d.forEach((a,r)=>i(l,r,a.default))}defaults.assignDefaults=o;function i(l,n,u){const{gen:d,compositeRule:a,data:r,opts:s}=l;if(u===void 0)return;const h=(0,t._)`${r}${(0,t.getProperty)(n)}`;if(a){(0,e.checkStrictMode)(l,`default is ignored for: ${h}`);return}let c=(0,t._)`${h} === undefined`;s.useDefaults==="empty"&&(c=(0,t._)`${c} || ${h} === null || ${h} === ""`),d.if(c,(0,t._)`${h} = ${(0,t.stringify)(u)}`)}return defaults}var keyword={},code={},hasRequiredCode;function requireCode(){if(hasRequiredCode)return code;hasRequiredCode=1,Object.defineProperty(code,"__esModule",{value:!0}),code.validateUnion=code.validateArray=code.usePattern=code.callValidateCode=code.schemaProperties=code.allSchemaProperties=code.noPropertyInData=code.propertyInData=code.isOwnProperty=code.hasPropFunc=code.reportMissingProp=code.checkMissingProp=code.checkReportMissingProp=void 0;const t=requireCodegen(),e=requireUtil(),o=requireNames(),i=requireUtil();function l(m,A){const{gen:g,data:p,it:v}=m;g.if(s(g,p,A,v.opts.ownProperties),()=>{m.setParams({missingProperty:(0,t._)`${A}`},!0),m.error()})}code.checkReportMissingProp=l;function n({gen:m,data:A,it:{opts:g}},p,v){return(0,t.or)(...p.map(C=>(0,t.and)(s(m,A,C,g.ownProperties),(0,t._)`${v} = ${C}`)))}code.checkMissingProp=n;function u(m,A){m.setParams({missingProperty:A},!0),m.error()}code.reportMissingProp=u;function d(m){return m.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,t._)`Object.prototype.hasOwnProperty`})}code.hasPropFunc=d;function a(m,A,g){return(0,t._)`${d(m)}.call(${A}, ${g})`}code.isOwnProperty=a;function r(m,A,g,p){const v=(0,t._)`${A}${(0,t.getProperty)(g)} !== undefined`;return p?(0,t._)`${v} && ${a(m,A,g)}`:v}code.propertyInData=r;function s(m,A,g,p){const v=(0,t._)`${A}${(0,t.getProperty)(g)} === undefined`;return p?(0,t.or)(v,(0,t.not)(a(m,A,g))):v}code.noPropertyInData=s;function h(m){return m?Object.keys(m).filter(A=>A!=="__proto__"):[]}code.allSchemaProperties=h;function c(m,A){return h(A).filter(g=>!(0,e.alwaysValidSchema)(m,A[g]))}code.schemaProperties=c;function f({schemaCode:m,data:A,it:{gen:g,topSchemaRef:p,schemaPath:v,errorPath:C},it:P},E,R,S){const I=S?(0,t._)`${m}, ${A}, ${p}${v}`:A,x=[[o.default.instancePath,(0,t.strConcat)(o.default.instancePath,C)],[o.default.parentData,P.parentData],[o.default.parentDataProperty,P.parentDataProperty],[o.default.rootData,o.default.rootData]];P.opts.dynamicRef&&x.push([o.default.dynamicAnchors,o.default.dynamicAnchors]);const M=(0,t._)`${I}, ${g.object(...x)}`;return R!==t.nil?(0,t._)`${E}.call(${R}, ${M})`:(0,t._)`${E}(${M})`}code.callValidateCode=f;const b=(0,t._)`new RegExp`;function y({gen:m,it:{opts:A}},g){const p=A.unicodeRegExp?"u":"",{regExp:v}=A.code,C=v(g,p);return m.scopeValue("pattern",{key:C.toString(),ref:C,code:(0,t._)`${v.code==="new RegExp"?b:(0,i.useFunc)(m,v)}(${g}, ${p})`})}code.usePattern=y;function w(m){const{gen:A,data:g,keyword:p,it:v}=m,C=A.name("valid");if(v.allErrors){const E=A.let("valid",!0);return P(()=>A.assign(E,!1)),E}return A.var(C,!0),P(()=>A.break()),C;function P(E){const R=A.const("len",(0,t._)`${g}.length`);A.forRange("i",0,R,S=>{m.subschema({keyword:p,dataProp:S,dataPropType:e.Type.Num},C),A.if((0,t.not)(C),E)})}}code.validateArray=w;function _(m){const{gen:A,schema:g,keyword:p,it:v}=m;if(!Array.isArray(g))throw new Error("ajv implementation error");if(g.some(R=>(0,e.alwaysValidSchema)(v,R))&&!v.opts.unevaluated)return;const P=A.let("valid",!1),E=A.name("_valid");A.block(()=>g.forEach((R,S)=>{const I=m.subschema({keyword:p,schemaProp:S,compositeRule:!0},E);A.assign(P,(0,t._)`${P} || ${E}`),m.mergeValidEvaluated(I,E)||A.if((0,t.not)(P))})),m.result(P,()=>m.reset(),()=>m.error(!0))}return code.validateUnion=_,code}var hasRequiredKeyword;function requireKeyword(){if(hasRequiredKeyword)return keyword;hasRequiredKeyword=1,Object.defineProperty(keyword,"__esModule",{value:!0}),keyword.validateKeywordUsage=keyword.validSchemaType=keyword.funcKeywordCode=keyword.macroKeywordCode=void 0;const t=requireCodegen(),e=requireNames(),o=requireCode(),i=requireErrors();function l(c,f){const{gen:b,keyword:y,schema:w,parentSchema:_,it:m}=c,A=f.macro.call(m.self,w,_,m),g=r(b,y,A);m.opts.validateSchema!==!1&&m.self.validateSchema(A,!0);const p=b.name("valid");c.subschema({schema:A,schemaPath:t.nil,errSchemaPath:`${m.errSchemaPath}/${y}`,topSchemaRef:g,compositeRule:!0},p),c.pass(p,()=>c.error(!0))}keyword.macroKeywordCode=l;function n(c,f){var b;const{gen:y,keyword:w,schema:_,parentSchema:m,$data:A,it:g}=c;a(g,f);const p=!A&&f.compile?f.compile.call(g.self,_,m,g):f.validate,v=r(y,w,p),C=y.let("valid");c.block$data(C,P),c.ok((b=f.valid)!==null&&b!==void 0?b:C);function P(){if(f.errors===!1)S(),f.modifying&&u(c),I(()=>c.error());else{const x=f.async?E():R();f.modifying&&u(c),I(()=>d(c,x))}}function E(){const x=y.let("ruleErrs",null);return y.try(()=>S((0,t._)`await `),M=>y.assign(C,!1).if((0,t._)`${M} instanceof ${g.ValidationError}`,()=>y.assign(x,(0,t._)`${M}.errors`),()=>y.throw(M))),x}function R(){const x=(0,t._)`${v}.errors`;return y.assign(x,null),S(t.nil),x}function S(x=f.async?(0,t._)`await `:t.nil){const M=g.opts.passContext?e.default.this:e.default.self,D=!("compile"in f&&!A||f.schema===!1);y.assign(C,(0,t._)`${x}${(0,o.callValidateCode)(c,v,M,D)}`,f.modifying)}function I(x){var M;y.if((0,t.not)((M=f.valid)!==null&&M!==void 0?M:C),x)}}keyword.funcKeywordCode=n;function u(c){const{gen:f,data:b,it:y}=c;f.if(y.parentData,()=>f.assign(b,(0,t._)`${y.parentData}[${y.parentDataProperty}]`))}function d(c,f){const{gen:b}=c;b.if((0,t._)`Array.isArray(${f})`,()=>{b.assign(e.default.vErrors,(0,t._)`${e.default.vErrors} === null ? ${f} : ${e.default.vErrors}.concat(${f})`).assign(e.default.errors,(0,t._)`${e.default.vErrors}.length`),(0,i.extendErrors)(c)},()=>c.error())}function a({schemaEnv:c},f){if(f.async&&!c.$async)throw new Error("async keyword in sync schema")}function r(c,f,b){if(b===void 0)throw new Error(`keyword "${f}" failed to compile`);return c.scopeValue("keyword",typeof b=="function"?{ref:b}:{ref:b,code:(0,t.stringify)(b)})}function s(c,f,b=!1){return!f.length||f.some(y=>y==="array"?Array.isArray(c):y==="object"?c&&typeof c=="object"&&!Array.isArray(c):typeof c==y||b&&typeof c>"u")}keyword.validSchemaType=s;function h({schema:c,opts:f,self:b,errSchemaPath:y},w,_){if(Array.isArray(w.keyword)?!w.keyword.includes(_):w.keyword!==_)throw new Error("ajv implementation error");const m=w.dependencies;if(m!=null&&m.some(A=>!Object.prototype.hasOwnProperty.call(c,A)))throw new Error(`parent schema must have dependencies of ${_}: ${m.join(",")}`);if(w.validateSchema&&!w.validateSchema(c[_])){const g=`keyword "${_}" value is invalid at path "${y}": `+b.errorsText(w.validateSchema.errors);if(f.validateSchema==="log")b.logger.error(g);else throw new Error(g)}}return keyword.validateKeywordUsage=h,keyword}var subschema={},hasRequiredSubschema;function requireSubschema(){if(hasRequiredSubschema)return subschema;hasRequiredSubschema=1,Object.defineProperty(subschema,"__esModule",{value:!0}),subschema.extendSubschemaMode=subschema.extendSubschemaData=subschema.getSubschema=void 0;const t=requireCodegen(),e=requireUtil();function o(n,{keyword:u,schemaProp:d,schema:a,schemaPath:r,errSchemaPath:s,topSchemaRef:h}){if(u!==void 0&&a!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(u!==void 0){const c=n.schema[u];return d===void 0?{schema:c,schemaPath:(0,t._)`${n.schemaPath}${(0,t.getProperty)(u)}`,errSchemaPath:`${n.errSchemaPath}/${u}`}:{schema:c[d],schemaPath:(0,t._)`${n.schemaPath}${(0,t.getProperty)(u)}${(0,t.getProperty)(d)}`,errSchemaPath:`${n.errSchemaPath}/${u}/${(0,e.escapeFragment)(d)}`}}if(a!==void 0){if(r===void 0||s===void 0||h===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:a,schemaPath:r,topSchemaRef:h,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')}subschema.getSubschema=o;function i(n,u,{dataProp:d,dataPropType:a,data:r,dataTypes:s,propertyName:h}){if(r!==void 0&&d!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:c}=u;if(d!==void 0){const{errorPath:b,dataPathArr:y,opts:w}=u,_=c.let("data",(0,t._)`${u.data}${(0,t.getProperty)(d)}`,!0);f(_),n.errorPath=(0,t.str)`${b}${(0,e.getErrorPath)(d,a,w.jsPropertySyntax)}`,n.parentDataProperty=(0,t._)`${d}`,n.dataPathArr=[...y,n.parentDataProperty]}if(r!==void 0){const b=r instanceof t.Name?r:c.let("data",r,!0);f(b),h!==void 0&&(n.propertyName=h)}s&&(n.dataTypes=s);function f(b){n.data=b,n.dataLevel=u.dataLevel+1,n.dataTypes=[],u.definedProperties=new Set,n.parentData=u.data,n.dataNames=[...u.dataNames,b]}}subschema.extendSubschemaData=i;function l(n,{jtdDiscriminator:u,jtdMetadata:d,compositeRule:a,createErrors:r,allErrors:s}){a!==void 0&&(n.compositeRule=a),r!==void 0&&(n.createErrors=r),s!==void 0&&(n.allErrors=s),n.jtdDiscriminator=u,n.jtdMetadata=d}return subschema.extendSubschemaMode=l,subschema}var resolve={},fastDeepEqual,hasRequiredFastDeepEqual;function requireFastDeepEqual(){return hasRequiredFastDeepEqual||(hasRequiredFastDeepEqual=1,fastDeepEqual=function t(e,o){if(e===o)return!0;if(e&&o&&typeof e=="object"&&typeof o=="object"){if(e.constructor!==o.constructor)return!1;var i,l,n;if(Array.isArray(e)){if(i=e.length,i!=o.length)return!1;for(l=i;l--!==0;)if(!t(e[l],o[l]))return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===o.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===o.toString();if(n=Object.keys(e),i=n.length,i!==Object.keys(o).length)return!1;for(l=i;l--!==0;)if(!Object.prototype.hasOwnProperty.call(o,n[l]))return!1;for(l=i;l--!==0;){var u=n[l];if(!t(e[u],o[u]))return!1}return!0}return e!==e&&o!==o}),fastDeepEqual}var jsonSchemaTraverse={exports:{}},hasRequiredJsonSchemaTraverse;function requireJsonSchemaTraverse(){if(hasRequiredJsonSchemaTraverse)return jsonSchemaTraverse.exports;hasRequiredJsonSchemaTraverse=1;var t=jsonSchemaTraverse.exports=function(i,l,n){typeof l=="function"&&(n=l,l={}),n=l.cb||n;var u=typeof n=="function"?n:n.pre||function(){},d=n.post||function(){};e(l,u,d,i,"",i)};t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function e(i,l,n,u,d,a,r,s,h,c){if(u&&typeof u=="object"&&!Array.isArray(u)){l(u,d,a,r,s,h,c);for(var f in u){var b=u[f];if(Array.isArray(b)){if(f in t.arrayKeywords)for(var y=0;y<b.length;y++)e(i,l,n,b[y],d+"/"+f+"/"+y,a,d,f,u,y)}else if(f in t.propsKeywords){if(b&&typeof b=="object")for(var w in b)e(i,l,n,b[w],d+"/"+f+"/"+o(w),a,d,f,u,w)}else(f in t.keywords||i.allKeys&&!(f in t.skipKeywords))&&e(i,l,n,b,d+"/"+f,a,d,f,u)}n(u,d,a,r,s,h,c)}}function o(i){return i.replace(/~/g,"~0").replace(/\//g,"~1")}return jsonSchemaTraverse.exports}var hasRequiredResolve;function requireResolve(){if(hasRequiredResolve)return resolve;hasRequiredResolve=1,Object.defineProperty(resolve,"__esModule",{value:!0}),resolve.getSchemaRefs=resolve.resolveUrl=resolve.normalizeId=resolve._getFullPath=resolve.getFullPath=resolve.inlineRef=void 0;const t=requireUtil(),e=requireFastDeepEqual(),o=requireJsonSchemaTraverse(),i=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function l(y,w=!0){return typeof y=="boolean"?!0:w===!0?!u(y):w?d(y)<=w:!1}resolve.inlineRef=l;const n=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function u(y){for(const w in y){if(n.has(w))return!0;const _=y[w];if(Array.isArray(_)&&_.some(u)||typeof _=="object"&&u(_))return!0}return!1}function d(y){let w=0;for(const _ in y){if(_==="$ref")return 1/0;if(w++,!i.has(_)&&(typeof y[_]=="object"&&(0,t.eachItem)(y[_],m=>w+=d(m)),w===1/0))return 1/0}return w}function a(y,w="",_){_!==!1&&(w=h(w));const m=y.parse(w);return r(y,m)}resolve.getFullPath=a;function r(y,w){return y.serialize(w).split("#")[0]+"#"}resolve._getFullPath=r;const s=/#\/?$/;function h(y){return y?y.replace(s,""):""}resolve.normalizeId=h;function c(y,w,_){return _=h(_),y.resolve(w,_)}resolve.resolveUrl=c;const f=/^[a-z_][-a-z0-9._]*$/i;function b(y,w){if(typeof y=="boolean")return{};const{schemaId:_,uriResolver:m}=this.opts,A=h(y[_]||w),g={"":A},p=a(m,A,!1),v={},C=new Set;return o(y,{allKeys:!0},(R,S,I,x)=>{if(x===void 0)return;const M=p+S;let D=g[x];typeof R[_]=="string"&&(D=H.call(this,R[_])),U.call(this,R.$anchor),U.call(this,R.$dynamicAnchor),g[S]=D;function H(B){const V=this.opts.uriResolver.resolve;if(B=h(D?V(D,B):B),C.has(B))throw E(B);C.add(B);let F=this.refs[B];return typeof F=="string"&&(F=this.refs[F]),typeof F=="object"?P(R,F.schema,B):B!==h(M)&&(B[0]==="#"?(P(R,v[B],B),v[B]=R):this.refs[B]=M),B}function U(B){if(typeof B=="string"){if(!f.test(B))throw new Error(`invalid anchor "${B}"`);H.call(this,`#${B}`)}}}),v;function P(R,S,I){if(S!==void 0&&!e(R,S))throw E(I)}function E(R){return new Error(`reference "${R}" resolves to more than one schema`)}}return resolve.getSchemaRefs=b,resolve}var hasRequiredValidate;function requireValidate(){if(hasRequiredValidate)return validate;hasRequiredValidate=1,Object.defineProperty(validate,"__esModule",{value:!0}),validate.getData=validate.KeywordCxt=validate.validateFunctionCode=void 0;const t=requireBoolSchema(),e=requireDataType(),o=requireApplicability(),i=requireDataType(),l=requireDefaults(),n=requireKeyword(),u=requireSubschema(),d=requireCodegen(),a=requireNames(),r=requireResolve(),s=requireUtil(),h=requireErrors();function c(O){if(p(O)&&(C(O),g(O))){w(O);return}f(O,()=>(0,t.topBoolOrEmptySchema)(O))}validate.validateFunctionCode=c;function f({gen:O,validateName:T,schema:L,schemaEnv:G,opts:Q},X){Q.code.es5?O.func(T,(0,d._)`${a.default.data}, ${a.default.valCxt}`,G.$async,()=>{O.code((0,d._)`"use strict"; ${m(L,Q)}`),y(O,Q),O.code(X)}):O.func(T,(0,d._)`${a.default.data}, ${b(Q)}`,G.$async,()=>O.code(m(L,Q)).code(X))}function b(O){return(0,d._)`{${a.default.instancePath}="", ${a.default.parentData}, ${a.default.parentDataProperty}, ${a.default.rootData}=${a.default.data}${O.dynamicRef?(0,d._)`, ${a.default.dynamicAnchors}={}`:d.nil}}={}`}function y(O,T){O.if(a.default.valCxt,()=>{O.var(a.default.instancePath,(0,d._)`${a.default.valCxt}.${a.default.instancePath}`),O.var(a.default.parentData,(0,d._)`${a.default.valCxt}.${a.default.parentData}`),O.var(a.default.parentDataProperty,(0,d._)`${a.default.valCxt}.${a.default.parentDataProperty}`),O.var(a.default.rootData,(0,d._)`${a.default.valCxt}.${a.default.rootData}`),T.dynamicRef&&O.var(a.default.dynamicAnchors,(0,d._)`${a.default.valCxt}.${a.default.dynamicAnchors}`)},()=>{O.var(a.default.instancePath,(0,d._)`""`),O.var(a.default.parentData,(0,d._)`undefined`),O.var(a.default.parentDataProperty,(0,d._)`undefined`),O.var(a.default.rootData,a.default.data),T.dynamicRef&&O.var(a.default.dynamicAnchors,(0,d._)`{}`)})}function w(O){const{schema:T,opts:L,gen:G}=O;f(O,()=>{L.$comment&&T.$comment&&x(O),R(O),G.let(a.default.vErrors,null),G.let(a.default.errors,0),L.unevaluated&&_(O),P(O),M(O)})}function _(O){const{gen:T,validateName:L}=O;O.evaluated=T.const("evaluated",(0,d._)`${L}.evaluated`),T.if((0,d._)`${O.evaluated}.dynamicProps`,()=>T.assign((0,d._)`${O.evaluated}.props`,(0,d._)`undefined`)),T.if((0,d._)`${O.evaluated}.dynamicItems`,()=>T.assign((0,d._)`${O.evaluated}.items`,(0,d._)`undefined`))}function m(O,T){const L=typeof O=="object"&&O[T.schemaId];return L&&(T.code.source||T.code.process)?(0,d._)`/*# sourceURL=${L} */`:d.nil}function A(O,T){if(p(O)&&(C(O),g(O))){v(O,T);return}(0,t.boolOrEmptySchema)(O,T)}function g({schema:O,self:T}){if(typeof O=="boolean")return!O;for(const L in O)if(T.RULES.all[L])return!0;return!1}function p(O){return typeof O.schema!="boolean"}function v(O,T){const{schema:L,gen:G,opts:Q}=O;Q.$comment&&L.$comment&&x(O),S(O),I(O);const X=G.const("_errs",a.default.errors);P(O,X),G.var(T,(0,d._)`${X} === ${a.default.errors}`)}function C(O){(0,s.checkUnknownRules)(O),E(O)}function P(O,T){if(O.opts.jtd)return H(O,[],!1,T);const L=(0,e.getSchemaTypes)(O.schema),G=(0,e.coerceAndCheckDataType)(O,L);H(O,L,!G,T)}function E(O){const{schema:T,errSchemaPath:L,opts:G,self:Q}=O;T.$ref&&G.ignoreKeywordsWithRef&&(0,s.schemaHasRulesButRef)(T,Q.RULES)&&Q.logger.warn(`$ref: keywords ignored in schema at path "${L}"`)}function R(O){const{schema:T,opts:L}=O;T.default!==void 0&&L.useDefaults&&L.strictSchema&&(0,s.checkStrictMode)(O,"default is ignored in the schema root")}function S(O){const T=O.schema[O.opts.schemaId];T&&(O.baseId=(0,r.resolveUrl)(O.opts.uriResolver,O.baseId,T))}function I(O){if(O.schema.$async&&!O.schemaEnv.$async)throw new Error("async schema in sync schema")}function x({gen:O,schemaEnv:T,schema:L,errSchemaPath:G,opts:Q}){const X=L.$comment;if(Q.$comment===!0)O.code((0,d._)`${a.default.self}.logger.log(${X})`);else if(typeof Q.$comment=="function"){const te=(0,d.str)`${G}/$comment`,ue=O.scopeValue("root",{ref:T.root});O.code((0,d._)`${a.default.self}.opts.$comment(${X}, ${te}, ${ue}.schema)`)}}function M(O){const{gen:T,schemaEnv:L,validateName:G,ValidationError:Q,opts:X}=O;L.$async?T.if((0,d._)`${a.default.errors} === 0`,()=>T.return(a.default.data),()=>T.throw((0,d._)`new ${Q}(${a.default.vErrors})`)):(T.assign((0,d._)`${G}.errors`,a.default.vErrors),X.unevaluated&&D(O),T.return((0,d._)`${a.default.errors} === 0`))}function D({gen:O,evaluated:T,props:L,items:G}){L instanceof d.Name&&O.assign((0,d._)`${T}.props`,L),G instanceof d.Name&&O.assign((0,d._)`${T}.items`,G)}function H(O,T,L,G){const{gen:Q,schema:X,data:te,allErrors:ue,opts:ae,self:Z}=O,{RULES:Y}=Z;if(X.$ref&&(ae.ignoreKeywordsWithRef||!(0,s.schemaHasRulesButRef)(X,Y))){Q.block(()=>J(O,"$ref",Y.all.$ref.definition));return}ae.jtd||B(O,T),Q.block(()=>{for(const se of Y.rules)oe(se);oe(Y.post)});function oe(se){(0,o.shouldUseGroup)(X,se)&&(se.type?(Q.if((0,i.checkDataType)(se.type,te,ae.strictNumbers)),U(O,se),T.length===1&&T[0]===se.type&&L&&(Q.else(),(0,i.reportTypeError)(O)),Q.endIf()):U(O,se),ue||Q.if((0,d._)`${a.default.errors} === ${G||0}`))}}function U(O,T){const{gen:L,schema:G,opts:{useDefaults:Q}}=O;Q&&(0,l.assignDefaults)(O,T.type),L.block(()=>{for(const X of T.rules)(0,o.shouldUseRule)(G,X)&&J(O,X.keyword,X.definition,T.type)})}function B(O,T){O.schemaEnv.meta||!O.opts.strictTypes||(V(O,T),O.opts.allowUnionTypes||F(O,T),j(O,O.dataTypes))}function V(O,T){if(T.length){if(!O.dataTypes.length){O.dataTypes=T;return}T.forEach(L=>{k(O.dataTypes,L)||N(O,`type "${L}" not allowed by context "${O.dataTypes.join(",")}"`)}),q(O,T)}}function F(O,T){T.length>1&&!(T.length===2&&T.includes("null"))&&N(O,"use allowUnionTypes to allow union type keyword")}function j(O,T){const L=O.self.RULES.all;for(const G in L){const Q=L[G];if(typeof Q=="object"&&(0,o.shouldUseRule)(O.schema,Q)){const{type:X}=Q.definition;X.length&&!X.some(te=>K(T,te))&&N(O,`missing type "${X.join(",")}" for keyword "${G}"`)}}}function K(O,T){return O.includes(T)||T==="number"&&O.includes("integer")}function k(O,T){return O.includes(T)||T==="integer"&&O.includes("number")}function q(O,T){const L=[];for(const G of O.dataTypes)k(T,G)?L.push(G):T.includes("integer")&&G==="number"&&L.push("integer");O.dataTypes=L}function N(O,T){const L=O.schemaEnv.baseId+O.errSchemaPath;T+=` at "${L}" (strictTypes)`,(0,s.checkStrictMode)(O,T,O.opts.strictTypes)}class W{constructor(T,L,G){if((0,n.validateKeywordUsage)(T,L,G),this.gen=T.gen,this.allErrors=T.allErrors,this.keyword=G,this.data=T.data,this.schema=T.schema[G],this.$data=L.$data&&T.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,s.schemaRefOrVal)(T,this.schema,G,this.$data),this.schemaType=L.schemaType,this.parentSchema=T.schema,this.params={},this.it=T,this.def=L,this.$data)this.schemaCode=T.gen.const("vSchema",ee(this.$data,T));else if(this.schemaCode=this.schemaValue,!(0,n.validSchemaType)(this.schema,L.schemaType,L.allowUndefined))throw new Error(`${G} value must be ${JSON.stringify(L.schemaType)}`);("code"in L?L.trackErrors:L.errors!==!1)&&(this.errsCount=T.gen.const("_errs",a.default.errors))}result(T,L,G){this.failResult((0,d.not)(T),L,G)}failResult(T,L,G){this.gen.if(T),G?G():this.error(),L?(this.gen.else(),L(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(T,L){this.failResult((0,d.not)(T),void 0,L)}fail(T){if(T===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(T),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(T){if(!this.$data)return this.fail(T);const{schemaCode:L}=this;this.fail((0,d._)`${L} !== undefined && (${(0,d.or)(this.invalid$data(),T)})`)}error(T,L,G){if(L){this.setParams(L),this._error(T,G),this.setParams({});return}this._error(T,G)}_error(T,L){(T?h.reportExtraError:h.reportError)(this,this.def.error,L)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(T){this.allErrors||this.gen.if(T)}setParams(T,L){L?Object.assign(this.params,T):this.params=T}block$data(T,L,G=d.nil){this.gen.block(()=>{this.check$data(T,G),L()})}check$data(T=d.nil,L=d.nil){if(!this.$data)return;const{gen:G,schemaCode:Q,schemaType:X,def:te}=this;G.if((0,d.or)((0,d._)`${Q} === undefined`,L)),T!==d.nil&&G.assign(T,!0),(X.length||te.validateSchema)&&(G.elseIf(this.invalid$data()),this.$dataError(),T!==d.nil&&G.assign(T,!1)),G.else()}invalid$data(){const{gen:T,schemaCode:L,schemaType:G,def:Q,it:X}=this;return(0,d.or)(te(),ue());function te(){if(G.length){if(!(L instanceof d.Name))throw new Error("ajv implementation error");const ae=Array.isArray(G)?G:[G];return(0,d._)`${(0,i.checkDataTypes)(ae,L,X.opts.strictNumbers,i.DataType.Wrong)}`}return d.nil}function ue(){if(Q.validateSchema){const ae=T.scopeValue("validate$data",{ref:Q.validateSchema});return(0,d._)`!${ae}(${L})`}return d.nil}}subschema(T,L){const G=(0,u.getSubschema)(this.it,T);(0,u.extendSubschemaData)(G,this.it,T),(0,u.extendSubschemaMode)(G,T);const Q={...this.it,...G,items:void 0,props:void 0};return A(Q,L),Q}mergeEvaluated(T,L){const{it:G,gen:Q}=this;G.opts.unevaluated&&(G.props!==!0&&T.props!==void 0&&(G.props=s.mergeEvaluated.props(Q,T.props,G.props,L)),G.items!==!0&&T.items!==void 0&&(G.items=s.mergeEvaluated.items(Q,T.items,G.items,L)))}mergeValidEvaluated(T,L){const{it:G,gen:Q}=this;if(G.opts.unevaluated&&(G.props!==!0||G.items!==!0))return Q.if(L,()=>this.mergeEvaluated(T,d.Name)),!0}}validate.KeywordCxt=W;function J(O,T,L,G){const Q=new W(O,L,T);"code"in L?L.code(Q,G):Q.$data&&L.validate?(0,n.funcKeywordCode)(Q,L):"macro"in L?(0,n.macroKeywordCode)(Q,L):(L.compile||L.validate)&&(0,n.funcKeywordCode)(Q,L)}const z=/^\/(?:[^~]|~0|~1)*$/,ne=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function ee(O,{dataLevel:T,dataNames:L,dataPathArr:G}){let Q,X;if(O==="")return a.default.rootData;if(O[0]==="/"){if(!z.test(O))throw new Error(`Invalid JSON-pointer: ${O}`);Q=O,X=a.default.rootData}else{const Z=ne.exec(O);if(!Z)throw new Error(`Invalid JSON-pointer: ${O}`);const Y=+Z[1];if(Q=Z[2],Q==="#"){if(Y>=T)throw new Error(ae("property/index",Y));return G[T-Y]}if(Y>T)throw new Error(ae("data",Y));if(X=L[T-Y],!Q)return X}let te=X;const ue=Q.split("/");for(const Z of ue)Z&&(X=(0,d._)`${X}${(0,d.getProperty)((0,s.unescapeJsonPointer)(Z))}`,te=(0,d._)`${te} && ${X}`);return te;function ae(Z,Y){return`Cannot access ${Z} ${Y} levels up, current level is ${T}`}}return validate.getData=ee,validate}var validation_error={},hasRequiredValidation_error;function requireValidation_error(){if(hasRequiredValidation_error)return validation_error;hasRequiredValidation_error=1,Object.defineProperty(validation_error,"__esModule",{value:!0});class t extends Error{constructor(o){super("validation failed"),this.errors=o,this.ajv=this.validation=!0}}return validation_error.default=t,validation_error}var ref_error={},hasRequiredRef_error;function requireRef_error(){if(hasRequiredRef_error)return ref_error;hasRequiredRef_error=1,Object.defineProperty(ref_error,"__esModule",{value:!0});const t=requireResolve();class e extends Error{constructor(i,l,n,u){super(u||`can't resolve reference ${n} from id ${l}`),this.missingRef=(0,t.resolveUrl)(i,l,n),this.missingSchema=(0,t.normalizeId)((0,t.getFullPath)(i,this.missingRef))}}return ref_error.default=e,ref_error}var compile={},hasRequiredCompile;function requireCompile(){if(hasRequiredCompile)return compile;hasRequiredCompile=1,Object.defineProperty(compile,"__esModule",{value:!0}),compile.resolveSchema=compile.getCompilingSchema=compile.resolveRef=compile.compileSchema=compile.SchemaEnv=void 0;const t=requireCodegen(),e=requireValidation_error(),o=requireNames(),i=requireResolve(),l=requireUtil(),n=requireValidate();class u{constructor(_){var m;this.refs={},this.dynamicAnchors={};let A;typeof _.schema=="object"&&(A=_.schema),this.schema=_.schema,this.schemaId=_.schemaId,this.root=_.root||this,this.baseId=(m=_.baseId)!==null&&m!==void 0?m:(0,i.normalizeId)(A==null?void 0:A[_.schemaId||"$id"]),this.schemaPath=_.schemaPath,this.localRefs=_.localRefs,this.meta=_.meta,this.$async=A==null?void 0:A.$async,this.refs={}}}compile.SchemaEnv=u;function d(w){const _=s.call(this,w);if(_)return _;const m=(0,i.getFullPath)(this.opts.uriResolver,w.root.baseId),{es5:A,lines:g}=this.opts.code,{ownProperties:p}=this.opts,v=new t.CodeGen(this.scope,{es5:A,lines:g,ownProperties:p});let C;w.$async&&(C=v.scopeValue("Error",{ref:e.default,code:(0,t._)`require("ajv/dist/runtime/validation_error").default`}));const P=v.scopeName("validate");w.validateName=P;const E={gen:v,allErrors:this.opts.allErrors,data:o.default.data,parentData:o.default.parentData,parentDataProperty:o.default.parentDataProperty,dataNames:[o.default.data],dataPathArr:[t.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:v.scopeValue("schema",this.opts.code.source===!0?{ref:w.schema,code:(0,t.stringify)(w.schema)}:{ref:w.schema}),validateName:P,ValidationError:C,schema:w.schema,schemaEnv:w,rootId:m,baseId:w.baseId||m,schemaPath:t.nil,errSchemaPath:w.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,t._)`""`,opts:this.opts,self:this};let R;try{this._compilations.add(w),(0,n.validateFunctionCode)(E),v.optimize(this.opts.code.optimize);const S=v.toString();R=`${v.scopeRefs(o.default.scope)}return ${S}`,this.opts.code.process&&(R=this.opts.code.process(R,w));const x=new Function(`${o.default.self}`,`${o.default.scope}`,R)(this,this.scope.get());if(this.scope.value(P,{ref:x}),x.errors=null,x.schema=w.schema,x.schemaEnv=w,w.$async&&(x.$async=!0),this.opts.code.source===!0&&(x.source={validateName:P,validateCode:S,scopeValues:v._values}),this.opts.unevaluated){const{props:M,items:D}=E;x.evaluated={props:M instanceof t.Name?void 0:M,items:D instanceof t.Name?void 0:D,dynamicProps:M instanceof t.Name,dynamicItems:D instanceof t.Name},x.source&&(x.source.evaluated=(0,t.stringify)(x.evaluated))}return w.validate=x,w}catch(S){throw delete w.validate,delete w.validateName,R&&this.logger.error("Error compiling schema, function code:",R),S}finally{this._compilations.delete(w)}}compile.compileSchema=d;function a(w,_,m){var A;m=(0,i.resolveUrl)(this.opts.uriResolver,_,m);const g=w.refs[m];if(g)return g;let p=c.call(this,w,m);if(p===void 0){const v=(A=w.localRefs)===null||A===void 0?void 0:A[m],{schemaId:C}=this.opts;v&&(p=new u({schema:v,schemaId:C,root:w,baseId:_}))}if(p!==void 0)return w.refs[m]=r.call(this,p)}compile.resolveRef=a;function r(w){return(0,i.inlineRef)(w.schema,this.opts.inlineRefs)?w.schema:w.validate?w:d.call(this,w)}function s(w){for(const _ of this._compilations)if(h(_,w))return _}compile.getCompilingSchema=s;function h(w,_){return w.schema===_.schema&&w.root===_.root&&w.baseId===_.baseId}function c(w,_){let m;for(;typeof(m=this.refs[_])=="string";)_=m;return m||this.schemas[_]||f.call(this,w,_)}function f(w,_){const m=this.opts.uriResolver.parse(_),A=(0,i._getFullPath)(this.opts.uriResolver,m);let g=(0,i.getFullPath)(this.opts.uriResolver,w.baseId,void 0);if(Object.keys(w.schema).length>0&&A===g)return y.call(this,m,w);const p=(0,i.normalizeId)(A),v=this.refs[p]||this.schemas[p];if(typeof v=="string"){const C=f.call(this,w,v);return typeof(C==null?void 0:C.schema)!="object"?void 0:y.call(this,m,C)}if(typeof(v==null?void 0:v.schema)=="object"){if(v.validate||d.call(this,v),p===(0,i.normalizeId)(_)){const{schema:C}=v,{schemaId:P}=this.opts,E=C[P];return E&&(g=(0,i.resolveUrl)(this.opts.uriResolver,g,E)),new u({schema:C,schemaId:P,root:w,baseId:g})}return y.call(this,m,v)}}compile.resolveSchema=f;const b=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function y(w,{baseId:_,schema:m,root:A}){var g;if(((g=w.fragment)===null||g===void 0?void 0:g[0])!=="/")return;for(const C of w.fragment.slice(1).split("/")){if(typeof m=="boolean")return;const P=m[(0,l.unescapeFragment)(C)];if(P===void 0)return;m=P;const E=typeof m=="object"&&m[this.opts.schemaId];!b.has(C)&&E&&(_=(0,i.resolveUrl)(this.opts.uriResolver,_,E))}let p;if(typeof m!="boolean"&&m.$ref&&!(0,l.schemaHasRulesButRef)(m,this.RULES)){const C=(0,i.resolveUrl)(this.opts.uriResolver,_,m.$ref);p=f.call(this,A,C)}const{schemaId:v}=this.opts;if(p=p||new u({schema:m,schemaId:v,root:A,baseId:_}),p.schema!==p.root.schema)return p}return compile}const $id$1="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description="Meta-schema for $data reference (JSON AnySchema extension proposal)",type$1="object",required$1=["$data"],properties$2={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties$1=!1,require$$9={$id:$id$1,description,type:type$1,required:required$1,properties:properties$2,additionalProperties:additionalProperties$1};var uri={},fastUri={exports:{}},utils,hasRequiredUtils;function requireUtils(){if(hasRequiredUtils)return utils;hasRequiredUtils=1;const t=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),e=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),o=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),i=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),l=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function n(p){let v="",C=0,P=0;for(P=0;P<p.length;P++)if(C=p[P].charCodeAt(0),C!==48){if(!(C>=48&&C<=57||C>=65&&C<=70||C>=97&&C<=102))return"";v+=p[P];break}for(P+=1;P<p.length;P++){if(C=p[P].charCodeAt(0),!(C>=48&&C<=57||C>=65&&C<=70||C>=97&&C<=102))return"";v+=p[P]}return v}const u=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function d(p){return p.length=0,!0}function a(p,v,C){if(p.length){const P=n(p);if(P!=="")v.push(P);else return C.error=!0,!1;p.length=0}return!0}function r(p){let v=0;const C={error:!1,address:"",zone:""},P=[],E=[];let R=!1,S=!1,I=a;for(let x=0;x<p.length;x++){const M=p[x];if(!(M==="["||M==="]"))if(M===":"){if(R===!0&&(S=!0),!I(E,P,C))break;if(++v>7){C.error=!0;break}x>0&&p[x-1]===":"&&(R=!0),P.push(":");continue}else if(M==="%"){if(!I(E,P,C))break;I=d}else{E.push(M);continue}}return E.length&&(I===d?C.zone=E.join(""):S?P.push(E.join("")):P.push(n(E))),C.address=P.join(""),C}function s(p){if(h(p,":")<2)return{host:p,isIPV6:!1};const v=r(p);if(v.error)return{host:p,isIPV6:!1};{let C=v.address,P=v.address;return v.zone&&(C+="%"+v.zone,P+="%25"+v.zone),{host:C,isIPV6:!0,escapedHost:P}}}function h(p,v){let C=0;for(let P=0;P<p.length;P++)p[P]===v&&C++;return C}function c(p){let v=p;const C=[];let P=-1,E=0;for(;E=v.length;){if(E===1){if(v===".")break;if(v==="/"){C.push("/");break}else{C.push(v);break}}else if(E===2){if(v[0]==="."){if(v[1]===".")break;if(v[1]==="/"){v=v.slice(2);continue}}else if(v[0]==="/"&&(v[1]==="."||v[1]==="/")){C.push("/");break}}else if(E===3&&v==="/.."){C.length!==0&&C.pop(),C.push("/");break}if(v[0]==="."){if(v[1]==="."){if(v[2]==="/"){v=v.slice(3);continue}}else if(v[1]==="/"){v=v.slice(2);continue}}else if(v[0]==="/"&&v[1]==="."){if(v[2]==="/"){v=v.slice(2);continue}else if(v[2]==="."&&v[3]==="/"){v=v.slice(3),C.length!==0&&C.pop();continue}}if((P=v.indexOf("/",1))===-1){C.push(v);break}else C.push(v.slice(0,P)),v=v.slice(P)}return C.join("")}const f={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},b=/[@/?#:]/g,y=/[@/?#]/g;function w(p,v){const C=v?y:b;return C.lastIndex=0,p.replace(C,P=>f[P])}function _(p,v=!1){if(p.indexOf("%")===-1)return p;let C="";for(let P=0;P<p.length;P++){if(p[P]==="%"&&P+2<p.length){const E=p.slice(P+1,P+3);if(o(E)){const R=E.toUpperCase(),S=String.fromCharCode(parseInt(R,16));v&&i(S)?C+=S:C+="%"+R,P+=2;continue}}C+=p[P]}return C}function m(p){let v="";for(let C=0;C<p.length;C++){if(p[C]==="%"&&C+2<p.length){const P=p.slice(C+1,C+3);if(o(P)){const E=P.toUpperCase(),R=String.fromCharCode(parseInt(E,16));R!=="."&&i(R)?v+=R:v+="%"+E,C+=2;continue}}l(p[C])?v+=p[C]:v+=escape(p[C])}return v}function A(p){let v="";for(let C=0;C<p.length;C++){if(p[C]==="%"&&C+2<p.length){const P=p.slice(C+1,C+3);if(o(P)){v+="%"+P.toUpperCase(),C+=2;continue}}v+=escape(p[C])}return v}function g(p){const v=[];if(p.userinfo!==void 0&&(v.push(p.userinfo),v.push("@")),p.host!==void 0){let C=unescape(p.host);if(!e(C)){const P=s(C);P.isIPV6===!0?C=`[${P.escapedHost}]`:C=w(C,!1)}v.push(C)}return(typeof p.port=="number"||typeof p.port=="string")&&(v.push(":"),v.push(String(p.port))),v.length?v.join(""):void 0}return utils={nonSimpleDomain:u,recomposeAuthority:g,reescapeHostDelimiters:w,normalizePercentEncoding:_,normalizePathEncoding:m,escapePreservingEscapes:A,removeDotSegments:c,isIPv4:e,isUUID:t,normalizeIPv6:s,stringArrayToHexStripped:n},utils}var schemes,hasRequiredSchemes;function requireSchemes(){if(hasRequiredSchemes)return schemes;hasRequiredSchemes=1;const{isUUID:t}=requireUtils(),e=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,o=["http","https","ws","wss","urn","urn:uuid"];function i(p){return o.indexOf(p)!==-1}function l(p){return p.secure===!0?!0:p.secure===!1?!1:p.scheme?p.scheme.length===3&&(p.scheme[0]==="w"||p.scheme[0]==="W")&&(p.scheme[1]==="s"||p.scheme[1]==="S")&&(p.scheme[2]==="s"||p.scheme[2]==="S"):!1}function n(p){return p.host||(p.error=p.error||"HTTP URIs must have a host."),p}function u(p){const v=String(p.scheme).toLowerCase()==="https";return(p.port===(v?443:80)||p.port==="")&&(p.port=void 0),p.path||(p.path="/"),p}function d(p){return p.secure=l(p),p.resourceName=(p.path||"/")+(p.query?"?"+p.query:""),p.path=void 0,p.query=void 0,p}function a(p){if((p.port===(l(p)?443:80)||p.port==="")&&(p.port=void 0),typeof p.secure=="boolean"&&(p.scheme=p.secure?"wss":"ws",p.secure=void 0),p.resourceName){const[v,C]=p.resourceName.split("?");p.path=v&&v!=="/"?v:void 0,p.query=C,p.resourceName=void 0}return p.fragment=void 0,p}function r(p,v){if(!p.path)return p.error="URN can not be parsed",p;const C=p.path.match(e);if(C){const P=v.scheme||p.scheme||"urn";p.nid=C[1].toLowerCase(),p.nss=C[2];const E=`${P}:${v.nid||p.nid}`,R=g(E);p.path=void 0,R&&(p=R.parse(p,v))}else p.error=p.error||"URN can not be parsed.";return p}function s(p,v){if(p.nid===void 0)throw new Error("URN without nid cannot be serialized");const C=v.scheme||p.scheme||"urn",P=p.nid.toLowerCase(),E=`${C}:${v.nid||P}`,R=g(E);R&&(p=R.serialize(p,v));const S=p,I=p.nss;return S.path=`${P||v.nid}:${I}`,v.skipEscape=!0,S}function h(p,v){const C=p;return C.uuid=C.nss,C.nss=void 0,!v.tolerant&&(!C.uuid||!t(C.uuid))&&(C.error=C.error||"UUID is not valid."),C}function c(p){const v=p;return v.nss=(p.uuid||"").toLowerCase(),v}const f={scheme:"http",domainHost:!0,parse:n,serialize:u},b={scheme:"https",domainHost:f.domainHost,parse:n,serialize:u},y={scheme:"ws",domainHost:!0,parse:d,serialize:a},w={scheme:"wss",domainHost:y.domainHost,parse:y.parse,serialize:y.serialize},A={http:f,https:b,ws:y,wss:w,urn:{scheme:"urn",parse:r,serialize:s,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:h,serialize:c,skipNormalize:!0}};Object.setPrototypeOf(A,null);function g(p){return p&&(A[p]||A[p.toLowerCase()])||void 0}return schemes={wsIsSecure:l,SCHEMES:A,isValidSchemeName:i,getSchemeHandler:g},schemes}var hasRequiredFastUri;function requireFastUri(){if(hasRequiredFastUri)return fastUri.exports;hasRequiredFastUri=1;const{normalizeIPv6:t,removeDotSegments:e,recomposeAuthority:o,normalizePercentEncoding:i,normalizePathEncoding:l,escapePreservingEscapes:n,reescapeHostDelimiters:u,isIPv4:d,nonSimpleDomain:a}=requireUtils(),{SCHEMES:r,getSchemeHandler:s}=requireSchemes();function h(P,E){return typeof P=="string"?P=g(P,E):typeof P=="object"&&(P=A(y(P,E),E)),P}function c(P,E,R){const S=R?Object.assign({scheme:"null"},R):{scheme:"null"},I=f(A(P,S),A(E,S),S,!0);return S.skipEscape=!0,y(I,S)}function f(P,E,R,S){const I={};return S||(P=A(y(P,R),R),E=A(y(E,R),R)),R=R||{},!R.tolerant&&E.scheme?(I.scheme=E.scheme,I.userinfo=E.userinfo,I.host=E.host,I.port=E.port,I.path=e(E.path||""),I.query=E.query):(E.userinfo!==void 0||E.host!==void 0||E.port!==void 0?(I.userinfo=E.userinfo,I.host=E.host,I.port=E.port,I.path=e(E.path||""),I.query=E.query):(E.path?(E.path[0]==="/"?I.path=e(E.path):((P.userinfo!==void 0||P.host!==void 0||P.port!==void 0)&&!P.path?I.path="/"+E.path:P.path?I.path=P.path.slice(0,P.path.lastIndexOf("/")+1)+E.path:I.path=E.path,I.path=e(I.path)),I.query=E.query):(I.path=P.path,E.query!==void 0?I.query=E.query:I.query=P.query),I.userinfo=P.userinfo,I.host=P.host,I.port=P.port),I.scheme=P.scheme),I.fragment=E.fragment,I}function b(P,E,R){const S=v(P,R),I=v(E,R);return S!==void 0&&I!==void 0&&S.toLowerCase()===I.toLowerCase()}function y(P,E){const R={host:P.host,scheme:P.scheme,userinfo:P.userinfo,port:P.port,path:P.path,query:P.query,nid:P.nid,nss:P.nss,uuid:P.uuid,fragment:P.fragment,reference:P.reference,resourceName:P.resourceName,secure:P.secure,error:""},S=Object.assign({},E),I=[],x=s(S.scheme||R.scheme);x&&x.serialize&&x.serialize(R,S),R.path!==void 0&&(S.skipEscape?R.path=i(R.path):(R.path=n(R.path),R.scheme!==void 0&&(R.path=R.path.split("%3A").join(":")))),S.reference!=="suffix"&&R.scheme&&I.push(R.scheme,":");const M=o(R);if(M!==void 0&&(S.reference!=="suffix"&&I.push("//"),I.push(M),R.path&&R.path[0]!=="/"&&I.push("/")),R.path!==void 0){let D=R.path;!S.absolutePath&&(!x||!x.absolutePath)&&(D=e(D)),M===void 0&&D[0]==="/"&&D[1]==="/"&&(D="/%2F"+D.slice(2)),I.push(D)}return R.query!==void 0&&I.push("?",R.query),R.fragment!==void 0&&I.push("#",R.fragment),I.join("")}const w=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function _(P,E){if(E[2]!==void 0&&P.path&&P.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof P.port=="number"&&(P.port<0||P.port>65535))return"URI port is malformed."}function m(P,E){const R=Object.assign({},E),S={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let I=!1,x=!1;R.reference==="suffix"&&(R.scheme?P=R.scheme+":"+P:P="//"+P);const M=P.match(w);if(M){S.scheme=M[1],S.userinfo=M[3],S.host=M[4],S.port=parseInt(M[5],10),S.path=M[6]||"",S.query=M[7],S.fragment=M[8],isNaN(S.port)&&(S.port=M[5]);const D=_(S,M);if(D!==void 0&&(S.error=S.error||D,I=!0),S.host)if(d(S.host)===!1){const B=t(S.host);S.host=B.host.toLowerCase(),x=B.isIPV6}else x=!0;S.scheme===void 0&&S.userinfo===void 0&&S.host===void 0&&S.port===void 0&&S.query===void 0&&!S.path?S.reference="same-document":S.scheme===void 0?S.reference="relative":S.fragment===void 0?S.reference="absolute":S.reference="uri",R.reference&&R.reference!=="suffix"&&R.reference!==S.reference&&(S.error=S.error||"URI is not a "+R.reference+" reference.");const H=s(R.scheme||S.scheme);if(!R.unicodeSupport&&(!H||!H.unicodeSupport)&&S.host&&(R.domainHost||H&&H.domainHost)&&x===!1&&a(S.host))try{S.host=URL.domainToASCII(S.host.toLowerCase())}catch(U){S.error=S.error||"Host's domain name can not be converted to ASCII: "+U}if((!H||H&&!H.skipNormalize)&&(P.indexOf("%")!==-1&&(S.scheme!==void 0&&(S.scheme=unescape(S.scheme)),S.host!==void 0&&(S.host=u(unescape(S.host),x))),S.path&&(S.path=l(S.path)),S.fragment))try{S.fragment=encodeURI(decodeURIComponent(S.fragment))}catch{S.error=S.error||"URI malformed"}H&&H.parse&&H.parse(S,R)}else S.error=S.error||"URI can not be parsed.";return{parsed:S,malformedAuthorityOrPort:I}}function A(P,E){return m(P,E).parsed}function g(P,E){return p(P,E).normalized}function p(P,E){const{parsed:R,malformedAuthorityOrPort:S}=m(P,E);return{normalized:S?P:y(R,E),malformedAuthorityOrPort:S}}function v(P,E){if(typeof P=="string"){const{normalized:R,malformedAuthorityOrPort:S}=p(P,E);return S?void 0:R}if(typeof P=="object")return y(P,E)}const C={SCHEMES:r,normalize:h,resolve:c,resolveComponent:f,equal:b,serialize:y,parse:A};return fastUri.exports=C,fastUri.exports.default=C,fastUri.exports.fastUri=C,fastUri.exports}var hasRequiredUri;function requireUri(){if(hasRequiredUri)return uri;hasRequiredUri=1,Object.defineProperty(uri,"__esModule",{value:!0});const t=requireFastUri();return t.code='require("ajv/dist/runtime/uri").default',uri.default=t,uri}var hasRequiredCore$1;function requireCore$1(){return hasRequiredCore$1||(hasRequiredCore$1=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var e=requireValidate();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return e.KeywordCxt}});var o=requireCodegen();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const i=requireValidation_error(),l=requireRef_error(),n=requireRules(),u=requireCompile(),d=requireCodegen(),a=requireResolve(),r=requireDataType(),s=requireUtil(),h=require$$9,c=requireUri(),f=(F,j)=>new RegExp(F,j);f.code="new RegExp";const b=["removeAdditional","useDefaults","coerceTypes"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),w={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},_={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},m=200;function A(F){var j,K,k,q,N,W,J,z,ne,ee,O,T,L,G,Q,X,te,ue,ae,Z,Y,oe,se,ie,de;const ce=F.strict,le=(j=F.code)===null||j===void 0?void 0:j.optimize,he=le===!0||le===void 0?1:le||0,fe=(k=(K=F.code)===null||K===void 0?void 0:K.regExp)!==null&&k!==void 0?k:f,pe=(q=F.uriResolver)!==null&&q!==void 0?q:c.default;return{strictSchema:(W=(N=F.strictSchema)!==null&&N!==void 0?N:ce)!==null&&W!==void 0?W:!0,strictNumbers:(z=(J=F.strictNumbers)!==null&&J!==void 0?J:ce)!==null&&z!==void 0?z:!0,strictTypes:(ee=(ne=F.strictTypes)!==null&&ne!==void 0?ne:ce)!==null&&ee!==void 0?ee:"log",strictTuples:(T=(O=F.strictTuples)!==null&&O!==void 0?O:ce)!==null&&T!==void 0?T:"log",strictRequired:(G=(L=F.strictRequired)!==null&&L!==void 0?L:ce)!==null&&G!==void 0?G:!1,code:F.code?{...F.code,optimize:he,regExp:fe}:{optimize:he,regExp:fe},loopRequired:(Q=F.loopRequired)!==null&&Q!==void 0?Q:m,loopEnum:(X=F.loopEnum)!==null&&X!==void 0?X:m,meta:(te=F.meta)!==null&&te!==void 0?te:!0,messages:(ue=F.messages)!==null&&ue!==void 0?ue:!0,inlineRefs:(ae=F.inlineRefs)!==null&&ae!==void 0?ae:!0,schemaId:(Z=F.schemaId)!==null&&Z!==void 0?Z:"$id",addUsedSchema:(Y=F.addUsedSchema)!==null&&Y!==void 0?Y:!0,validateSchema:(oe=F.validateSchema)!==null&&oe!==void 0?oe:!0,validateFormats:(se=F.validateFormats)!==null&&se!==void 0?se:!0,unicodeRegExp:(ie=F.unicodeRegExp)!==null&&ie!==void 0?ie:!0,int32range:(de=F.int32range)!==null&&de!==void 0?de:!0,uriResolver:pe}}class g{constructor(j={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,j=this.opts={...j,...A(j)};const{es5:K,lines:k}=this.opts.code;this.scope=new d.ValueScope({scope:{},prefixes:y,es5:K,lines:k}),this.logger=I(j.logger);const q=j.validateFormats;j.validateFormats=!1,this.RULES=(0,n.getRules)(),p.call(this,w,j,"NOT SUPPORTED"),p.call(this,_,j,"DEPRECATED","warn"),this._metaOpts=R.call(this),j.formats&&P.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),j.keywords&&E.call(this,j.keywords),typeof j.meta=="object"&&this.addMetaSchema(j.meta),C.call(this),j.validateFormats=q}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:j,meta:K,schemaId:k}=this.opts;let q=h;k==="id"&&(q={...h},q.id=q.$id,delete q.$id),K&&j&&this.addMetaSchema(q,q[k],!1)}defaultMeta(){const{meta:j,schemaId:K}=this.opts;return this.opts.defaultMeta=typeof j=="object"?j[K]||j:void 0}validate(j,K){let k;if(typeof j=="string"){if(k=this.getSchema(j),!k)throw new Error(`no schema with key or ref "${j}"`)}else k=this.compile(j);const q=k(K);return"$async"in k||(this.errors=k.errors),q}compile(j,K){const k=this._addSchema(j,K);return k.validate||this._compileSchemaEnv(k)}compileAsync(j,K){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:k}=this.opts;return q.call(this,j,K);async function q(ee,O){await N.call(this,ee.$schema);const T=this._addSchema(ee,O);return T.validate||W.call(this,T)}async function N(ee){ee&&!this.getSchema(ee)&&await q.call(this,{$ref:ee},!0)}async function W(ee){try{return this._compileSchemaEnv(ee)}catch(O){if(!(O instanceof l.default))throw O;return J.call(this,O),await z.call(this,O.missingSchema),W.call(this,ee)}}function J({missingSchema:ee,missingRef:O}){if(this.refs[ee])throw new Error(`AnySchema ${ee} is loaded but ${O} cannot be resolved`)}async function z(ee){const O=await ne.call(this,ee);this.refs[ee]||await N.call(this,O.$schema),this.refs[ee]||this.addSchema(O,ee,K)}async function ne(ee){const O=this._loading[ee];if(O)return O;try{return await(this._loading[ee]=k(ee))}finally{delete this._loading[ee]}}}addSchema(j,K,k,q=this.opts.validateSchema){if(Array.isArray(j)){for(const W of j)this.addSchema(W,void 0,k,q);return this}let N;if(typeof j=="object"){const{schemaId:W}=this.opts;if(N=j[W],N!==void 0&&typeof N!="string")throw new Error(`schema ${W} must be string`)}return K=(0,a.normalizeId)(K||N),this._checkUnique(K),this.schemas[K]=this._addSchema(j,k,K,q,!0),this}addMetaSchema(j,K,k=this.opts.validateSchema){return this.addSchema(j,K,!0,k),this}validateSchema(j,K){if(typeof j=="boolean")return!0;let k;if(k=j.$schema,k!==void 0&&typeof k!="string")throw new Error("$schema must be a string");if(k=k||this.opts.defaultMeta||this.defaultMeta(),!k)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const q=this.validate(k,j);if(!q&&K){const N="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(N);else throw new Error(N)}return q}getSchema(j){let K;for(;typeof(K=v.call(this,j))=="string";)j=K;if(K===void 0){const{schemaId:k}=this.opts,q=new u.SchemaEnv({schema:{},schemaId:k});if(K=u.resolveSchema.call(this,q,j),!K)return;this.refs[j]=K}return K.validate||this._compileSchemaEnv(K)}removeSchema(j){if(j instanceof RegExp)return this._removeAllSchemas(this.schemas,j),this._removeAllSchemas(this.refs,j),this;switch(typeof j){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const K=v.call(this,j);return typeof K=="object"&&this._cache.delete(K.schema),delete this.schemas[j],delete this.refs[j],this}case"object":{const K=j;this._cache.delete(K);let k=j[this.opts.schemaId];return k&&(k=(0,a.normalizeId)(k),delete this.schemas[k],delete this.refs[k]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(j){for(const K of j)this.addKeyword(K);return this}addKeyword(j,K){let k;if(typeof j=="string")k=j,typeof K=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),K.keyword=k);else if(typeof j=="object"&&K===void 0){if(K=j,k=K.keyword,Array.isArray(k)&&!k.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(M.call(this,k,K),!K)return(0,s.eachItem)(k,N=>D.call(this,N)),this;U.call(this,K);const q={...K,type:(0,r.getJSONTypes)(K.type),schemaType:(0,r.getJSONTypes)(K.schemaType)};return(0,s.eachItem)(k,q.type.length===0?N=>D.call(this,N,q):N=>q.type.forEach(W=>D.call(this,N,q,W))),this}getKeyword(j){const K=this.RULES.all[j];return typeof K=="object"?K.definition:!!K}removeKeyword(j){const{RULES:K}=this;delete K.keywords[j],delete K.all[j];for(const k of K.rules){const q=k.rules.findIndex(N=>N.keyword===j);q>=0&&k.rules.splice(q,1)}return this}addFormat(j,K){return typeof K=="string"&&(K=new RegExp(K)),this.formats[j]=K,this}errorsText(j=this.errors,{separator:K=", ",dataVar:k="data"}={}){return!j||j.length===0?"No errors":j.map(q=>`${k}${q.instancePath} ${q.message}`).reduce((q,N)=>q+K+N)}$dataMetaSchema(j,K){const k=this.RULES.all;j=JSON.parse(JSON.stringify(j));for(const q of K){const N=q.split("/").slice(1);let W=j;for(const J of N)W=W[J];for(const J in k){const z=k[J];if(typeof z!="object")continue;const{$data:ne}=z.definition,ee=W[J];ne&&ee&&(W[J]=V(ee))}}return j}_removeAllSchemas(j,K){for(const k in j){const q=j[k];(!K||K.test(k))&&(typeof q=="string"?delete j[k]:q&&!q.meta&&(this._cache.delete(q.schema),delete j[k]))}}_addSchema(j,K,k,q=this.opts.validateSchema,N=this.opts.addUsedSchema){let W;const{schemaId:J}=this.opts;if(typeof j=="object")W=j[J];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof j!="boolean")throw new Error("schema must be object or boolean")}let z=this._cache.get(j);if(z!==void 0)return z;k=(0,a.normalizeId)(W||k);const ne=a.getSchemaRefs.call(this,j,k);return z=new u.SchemaEnv({schema:j,schemaId:J,meta:K,baseId:k,localRefs:ne}),this._cache.set(z.schema,z),N&&!k.startsWith("#")&&(k&&this._checkUnique(k),this.refs[k]=z),q&&this.validateSchema(j,!0),z}_checkUnique(j){if(this.schemas[j]||this.refs[j])throw new Error(`schema with key or id "${j}" already exists`)}_compileSchemaEnv(j){if(j.meta?this._compileMetaSchema(j):u.compileSchema.call(this,j),!j.validate)throw new Error("ajv implementation error");return j.validate}_compileMetaSchema(j){const K=this.opts;this.opts=this._metaOpts;try{u.compileSchema.call(this,j)}finally{this.opts=K}}}g.ValidationError=i.default,g.MissingRefError=l.default,t.default=g;function p(F,j,K,k="error"){for(const q in F){const N=q;N in j&&this.logger[k](`${K}: option ${q}. ${F[N]}`)}}function v(F){return F=(0,a.normalizeId)(F),this.schemas[F]||this.refs[F]}function C(){const F=this.opts.schemas;if(F)if(Array.isArray(F))this.addSchema(F);else for(const j in F)this.addSchema(F[j],j)}function P(){for(const F in this.opts.formats){const j=this.opts.formats[F];j&&this.addFormat(F,j)}}function E(F){if(Array.isArray(F)){this.addVocabulary(F);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const j in F){const K=F[j];K.keyword||(K.keyword=j),this.addKeyword(K)}}function R(){const F={...this.opts};for(const j of b)delete F[j];return F}const S={log(){},warn(){},error(){}};function I(F){if(F===!1)return S;if(F===void 0)return console;if(F.log&&F.warn&&F.error)return F;throw new Error("logger must implement log, warn and error methods")}const x=/^[a-z_$][a-z0-9_$:-]*$/i;function M(F,j){const{RULES:K}=this;if((0,s.eachItem)(F,k=>{if(K.keywords[k])throw new Error(`Keyword ${k} is already defined`);if(!x.test(k))throw new Error(`Keyword ${k} has invalid name`)}),!!j&&j.$data&&!("code"in j||"validate"in j))throw new Error('$data keyword must have "code" or "validate" function')}function D(F,j,K){var k;const q=j==null?void 0:j.post;if(K&&q)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:N}=this;let W=q?N.post:N.rules.find(({type:z})=>z===K);if(W||(W={type:K,rules:[]},N.rules.push(W)),N.keywords[F]=!0,!j)return;const J={keyword:F,definition:{...j,type:(0,r.getJSONTypes)(j.type),schemaType:(0,r.getJSONTypes)(j.schemaType)}};j.before?H.call(this,W,J,j.before):W.rules.push(J),N.all[F]=J,(k=j.implements)===null||k===void 0||k.forEach(z=>this.addKeyword(z))}function H(F,j,K){const k=F.rules.findIndex(q=>q.keyword===K);k>=0?F.rules.splice(k,0,j):(F.rules.push(j),this.logger.warn(`rule ${K} is not defined`))}function U(F){let{metaSchema:j}=F;j!==void 0&&(F.$data&&this.opts.$data&&(j=V(j)),F.validateSchema=this.compile(j,!0))}const B={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function V(F){return{anyOf:[F,B]}}})(core$1)),core$1}var draft7={},core={},id={},hasRequiredId;function requireId(){if(hasRequiredId)return id;hasRequiredId=1,Object.defineProperty(id,"__esModule",{value:!0});const t={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return id.default=t,id}var ref={},hasRequiredRef;function requireRef(){if(hasRequiredRef)return ref;hasRequiredRef=1,Object.defineProperty(ref,"__esModule",{value:!0}),ref.callRef=ref.getValidate=void 0;const t=requireRef_error(),e=requireCode(),o=requireCodegen(),i=requireNames(),l=requireCompile(),n=requireUtil(),u={keyword:"$ref",schemaType:"string",code(r){const{gen:s,schema:h,it:c}=r,{baseId:f,schemaEnv:b,validateName:y,opts:w,self:_}=c,{root:m}=b;if((h==="#"||h==="#/")&&f===m.baseId)return g();const A=l.resolveRef.call(_,m,f,h);if(A===void 0)throw new t.default(c.opts.uriResolver,f,h);if(A instanceof l.SchemaEnv)return p(A);return v(A);function g(){if(b===m)return a(r,y,b,b.$async);const C=s.scopeValue("root",{ref:m});return a(r,(0,o._)`${C}.validate`,m,m.$async)}function p(C){const P=d(r,C);a(r,P,C,C.$async)}function v(C){const P=s.scopeValue("schema",w.code.source===!0?{ref:C,code:(0,o.stringify)(C)}:{ref:C}),E=s.name("valid"),R=r.subschema({schema:C,dataTypes:[],schemaPath:o.nil,topSchemaRef:P,errSchemaPath:h},E);r.mergeEvaluated(R),r.ok(E)}}};function d(r,s){const{gen:h}=r;return s.validate?h.scopeValue("validate",{ref:s.validate}):(0,o._)`${h.scopeValue("wrapper",{ref:s})}.validate`}ref.getValidate=d;function a(r,s,h,c){const{gen:f,it:b}=r,{allErrors:y,schemaEnv:w,opts:_}=b,m=_.passContext?i.default.this:o.nil;c?A():g();function A(){if(!w.$async)throw new Error("async schema referenced by sync schema");const C=f.let("valid");f.try(()=>{f.code((0,o._)`await ${(0,e.callValidateCode)(r,s,m)}`),v(s),y||f.assign(C,!0)},P=>{f.if((0,o._)`!(${P} instanceof ${b.ValidationError})`,()=>f.throw(P)),p(P),y||f.assign(C,!1)}),r.ok(C)}function g(){r.result((0,e.callValidateCode)(r,s,m),()=>v(s),()=>p(s))}function p(C){const P=(0,o._)`${C}.errors`;f.assign(i.default.vErrors,(0,o._)`${i.default.vErrors} === null ? ${P} : ${i.default.vErrors}.concat(${P})`),f.assign(i.default.errors,(0,o._)`${i.default.vErrors}.length`)}function v(C){var P;if(!b.opts.unevaluated)return;const E=(P=h==null?void 0:h.validate)===null||P===void 0?void 0:P.evaluated;if(b.props!==!0)if(E&&!E.dynamicProps)E.props!==void 0&&(b.props=n.mergeEvaluated.props(f,E.props,b.props));else{const R=f.var("props",(0,o._)`${C}.evaluated.props`);b.props=n.mergeEvaluated.props(f,R,b.props,o.Name)}if(b.items!==!0)if(E&&!E.dynamicItems)E.items!==void 0&&(b.items=n.mergeEvaluated.items(f,E.items,b.items));else{const R=f.var("items",(0,o._)`${C}.evaluated.items`);b.items=n.mergeEvaluated.items(f,R,b.items,o.Name)}}}return ref.callRef=a,ref.default=u,ref}var hasRequiredCore;function requireCore(){if(hasRequiredCore)return core;hasRequiredCore=1,Object.defineProperty(core,"__esModule",{value:!0});const t=requireId(),e=requireRef(),o=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",t.default,e.default];return core.default=o,core}var validation={},limitNumber={},hasRequiredLimitNumber;function requireLimitNumber(){if(hasRequiredLimitNumber)return limitNumber;hasRequiredLimitNumber=1,Object.defineProperty(limitNumber,"__esModule",{value:!0});const t=requireCodegen(),e=t.operators,o={maximum:{okStr:"<=",ok:e.LTE,fail:e.GT},minimum:{okStr:">=",ok:e.GTE,fail:e.LT},exclusiveMaximum:{okStr:"<",ok:e.LT,fail:e.GTE},exclusiveMinimum:{okStr:">",ok:e.GT,fail:e.LTE}},i={message:({keyword:n,schemaCode:u})=>(0,t.str)`must be ${o[n].okStr} ${u}`,params:({keyword:n,schemaCode:u})=>(0,t._)`{comparison: ${o[n].okStr}, limit: ${u}}`},l={keyword:Object.keys(o),type:"number",schemaType:"number",$data:!0,error:i,code(n){const{keyword:u,data:d,schemaCode:a}=n;n.fail$data((0,t._)`${d} ${o[u].fail} ${a} || isNaN(${d})`)}};return limitNumber.default=l,limitNumber}var multipleOf={},hasRequiredMultipleOf;function requireMultipleOf(){if(hasRequiredMultipleOf)return multipleOf;hasRequiredMultipleOf=1,Object.defineProperty(multipleOf,"__esModule",{value:!0});const t=requireCodegen(),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:i})=>(0,t.str)`must be multiple of ${i}`,params:({schemaCode:i})=>(0,t._)`{multipleOf: ${i}}`},code(i){const{gen:l,data:n,schemaCode:u,it:d}=i,a=d.opts.multipleOfPrecision,r=l.let("res"),s=a?(0,t._)`Math.abs(Math.round(${r}) - ${r}) > 1e-${a}`:(0,t._)`${r} !== parseInt(${r})`;i.fail$data((0,t._)`(${u} === 0 || (${r} = ${n}/${u}, ${s}))`)}};return multipleOf.default=o,multipleOf}var limitLength={},ucs2length={},hasRequiredUcs2length;function requireUcs2length(){if(hasRequiredUcs2length)return ucs2length;hasRequiredUcs2length=1,Object.defineProperty(ucs2length,"__esModule",{value:!0});function t(e){const o=e.length;let i=0,l=0,n;for(;l<o;)i++,n=e.charCodeAt(l++),n>=55296&&n<=56319&&l<o&&(n=e.charCodeAt(l),(n&64512)===56320&&l++);return i}return ucs2length.default=t,t.code='require("ajv/dist/runtime/ucs2length").default',ucs2length}var hasRequiredLimitLength;function requireLimitLength(){if(hasRequiredLimitLength)return limitLength;hasRequiredLimitLength=1,Object.defineProperty(limitLength,"__esModule",{value:!0});const t=requireCodegen(),e=requireUtil(),o=requireUcs2length(),l={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:u}){const d=n==="maxLength"?"more":"fewer";return(0,t.str)`must NOT have ${d} than ${u} characters`},params:({schemaCode:n})=>(0,t._)`{limit: ${n}}`},code(n){const{keyword:u,data:d,schemaCode:a,it:r}=n,s=u==="maxLength"?t.operators.GT:t.operators.LT,h=r.opts.unicode===!1?(0,t._)`${d}.length`:(0,t._)`${(0,e.useFunc)(n.gen,o.default)}(${d})`;n.fail$data((0,t._)`${h} ${s} ${a}`)}};return limitLength.default=l,limitLength}var pattern={},hasRequiredPattern;function requirePattern(){if(hasRequiredPattern)return pattern;hasRequiredPattern=1,Object.defineProperty(pattern,"__esModule",{value:!0});const t=requireCode(),e=requireUtil(),o=requireCodegen(),l={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,o.str)`must match pattern "${n}"`,params:({schemaCode:n})=>(0,o._)`{pattern: ${n}}`},code(n){const{gen:u,data:d,$data:a,schema:r,schemaCode:s,it:h}=n,c=h.opts.unicodeRegExp?"u":"";if(a){const{regExp:f}=h.opts.code,b=f.code==="new RegExp"?(0,o._)`new RegExp`:(0,e.useFunc)(u,f),y=u.let("valid");u.try(()=>u.assign(y,(0,o._)`${b}(${s}, ${c}).test(${d})`),()=>u.assign(y,!1)),n.fail$data((0,o._)`!${y}`)}else{const f=(0,t.usePattern)(n,r);n.fail$data((0,o._)`!${f}.test(${d})`)}}};return pattern.default=l,pattern}var limitProperties={},hasRequiredLimitProperties;function requireLimitProperties(){if(hasRequiredLimitProperties)return limitProperties;hasRequiredLimitProperties=1,Object.defineProperty(limitProperties,"__esModule",{value:!0});const t=requireCodegen(),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:i,schemaCode:l}){const n=i==="maxProperties"?"more":"fewer";return(0,t.str)`must NOT have ${n} than ${l} properties`},params:({schemaCode:i})=>(0,t._)`{limit: ${i}}`},code(i){const{keyword:l,data:n,schemaCode:u}=i,d=l==="maxProperties"?t.operators.GT:t.operators.LT;i.fail$data((0,t._)`Object.keys(${n}).length ${d} ${u}`)}};return limitProperties.default=o,limitProperties}var required={},hasRequiredRequired;function requireRequired(){if(hasRequiredRequired)return required;hasRequiredRequired=1,Object.defineProperty(required,"__esModule",{value:!0});const t=requireCode(),e=requireCodegen(),o=requireUtil(),l={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:n}})=>(0,e.str)`must have required property '${n}'`,params:({params:{missingProperty:n}})=>(0,e._)`{missingProperty: ${n}}`},code(n){const{gen:u,schema:d,schemaCode:a,data:r,$data:s,it:h}=n,{opts:c}=h;if(!s&&d.length===0)return;const f=d.length>=c.loopRequired;if(h.allErrors?b():y(),c.strictRequired){const m=n.parentSchema.properties,{definedProperties:A}=n.it;for(const g of d)if((m==null?void 0:m[g])===void 0&&!A.has(g)){const p=h.schemaEnv.baseId+h.errSchemaPath,v=`required property "${g}" is not defined at "${p}" (strictRequired)`;(0,o.checkStrictMode)(h,v,h.opts.strictRequired)}}function b(){if(f||s)n.block$data(e.nil,w);else for(const m of d)(0,t.checkReportMissingProp)(n,m)}function y(){const m=u.let("missing");if(f||s){const A=u.let("valid",!0);n.block$data(A,()=>_(m,A)),n.ok(A)}else u.if((0,t.checkMissingProp)(n,d,m)),(0,t.reportMissingProp)(n,m),u.else()}function w(){u.forOf("prop",a,m=>{n.setParams({missingProperty:m}),u.if((0,t.noPropertyInData)(u,r,m,c.ownProperties),()=>n.error())})}function _(m,A){n.setParams({missingProperty:m}),u.forOf(m,a,()=>{u.assign(A,(0,t.propertyInData)(u,r,m,c.ownProperties)),u.if((0,e.not)(A),()=>{n.error(),u.break()})},e.nil)}}};return required.default=l,required}var limitItems={},hasRequiredLimitItems;function requireLimitItems(){if(hasRequiredLimitItems)return limitItems;hasRequiredLimitItems=1,Object.defineProperty(limitItems,"__esModule",{value:!0});const t=requireCodegen(),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:i,schemaCode:l}){const n=i==="maxItems"?"more":"fewer";return(0,t.str)`must NOT have ${n} than ${l} items`},params:({schemaCode:i})=>(0,t._)`{limit: ${i}}`},code(i){const{keyword:l,data:n,schemaCode:u}=i,d=l==="maxItems"?t.operators.GT:t.operators.LT;i.fail$data((0,t._)`${n}.length ${d} ${u}`)}};return limitItems.default=o,limitItems}var uniqueItems={},equal={},hasRequiredEqual;function requireEqual(){if(hasRequiredEqual)return equal;hasRequiredEqual=1,Object.defineProperty(equal,"__esModule",{value:!0});const t=requireFastDeepEqual();return t.code='require("ajv/dist/runtime/equal").default',equal.default=t,equal}var hasRequiredUniqueItems;function requireUniqueItems(){if(hasRequiredUniqueItems)return uniqueItems;hasRequiredUniqueItems=1,Object.defineProperty(uniqueItems,"__esModule",{value:!0});const t=requireDataType(),e=requireCodegen(),o=requireUtil(),i=requireEqual(),n={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:u,j:d}})=>(0,e.str)`must NOT have duplicate items (items ## ${d} and ${u} are identical)`,params:({params:{i:u,j:d}})=>(0,e._)`{i: ${u}, j: ${d}}`},code(u){const{gen:d,data:a,$data:r,schema:s,parentSchema:h,schemaCode:c,it:f}=u;if(!r&&!s)return;const b=d.let("valid"),y=h.items?(0,t.getSchemaTypes)(h.items):[];u.block$data(b,w,(0,e._)`${c} === false`),u.ok(b);function w(){const g=d.let("i",(0,e._)`${a}.length`),p=d.let("j");u.setParams({i:g,j:p}),d.assign(b,!0),d.if((0,e._)`${g} > 1`,()=>(_()?m:A)(g,p))}function _(){return y.length>0&&!y.some(g=>g==="object"||g==="array")}function m(g,p){const v=d.name("item"),C=(0,t.checkDataTypes)(y,v,f.opts.strictNumbers,t.DataType.Wrong),P=d.const("indices",(0,e._)`{}`);d.for((0,e._)`;${g}--;`,()=>{d.let(v,(0,e._)`${a}[${g}]`),d.if(C,(0,e._)`continue`),y.length>1&&d.if((0,e._)`typeof ${v} == "string"`,(0,e._)`${v} += "_"`),d.if((0,e._)`typeof ${P}[${v}] == "number"`,()=>{d.assign(p,(0,e._)`${P}[${v}]`),u.error(),d.assign(b,!1).break()}).code((0,e._)`${P}[${v}] = ${g}`)})}function A(g,p){const v=(0,o.useFunc)(d,i.default),C=d.name("outer");d.label(C).for((0,e._)`;${g}--;`,()=>d.for((0,e._)`${p} = ${g}; ${p}--;`,()=>d.if((0,e._)`${v}(${a}[${g}], ${a}[${p}])`,()=>{u.error(),d.assign(b,!1).break(C)})))}}};return uniqueItems.default=n,uniqueItems}var _const={},hasRequired_const;function require_const(){if(hasRequired_const)return _const;hasRequired_const=1,Object.defineProperty(_const,"__esModule",{value:!0});const t=requireCodegen(),e=requireUtil(),o=requireEqual(),l={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:n})=>(0,t._)`{allowedValue: ${n}}`},code(n){const{gen:u,data:d,$data:a,schemaCode:r,schema:s}=n;a||s&&typeof s=="object"?n.fail$data((0,t._)`!${(0,e.useFunc)(u,o.default)}(${d}, ${r})`):n.fail((0,t._)`${s} !== ${d}`)}};return _const.default=l,_const}var _enum={},hasRequired_enum;function require_enum(){if(hasRequired_enum)return _enum;hasRequired_enum=1,Object.defineProperty(_enum,"__esModule",{value:!0});const t=requireCodegen(),e=requireUtil(),o=requireEqual(),l={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:n})=>(0,t._)`{allowedValues: ${n}}`},code(n){const{gen:u,data:d,$data:a,schema:r,schemaCode:s,it:h}=n;if(!a&&r.length===0)throw new Error("enum must have non-empty array");const c=r.length>=h.opts.loopEnum;let f;const b=()=>f??(f=(0,e.useFunc)(u,o.default));let y;if(c||a)y=u.let("valid"),n.block$data(y,w);else{if(!Array.isArray(r))throw new Error("ajv implementation error");const m=u.const("vSchema",s);y=(0,t.or)(...r.map((A,g)=>_(m,g)))}n.pass(y);function w(){u.assign(y,!1),u.forOf("v",s,m=>u.if((0,t._)`${b()}(${d}, ${m})`,()=>u.assign(y,!0).break()))}function _(m,A){const g=r[A];return typeof g=="object"&&g!==null?(0,t._)`${b()}(${d}, ${m}[${A}])`:(0,t._)`${d} === ${g}`}}};return _enum.default=l,_enum}var hasRequiredValidation;function requireValidation(){if(hasRequiredValidation)return validation;hasRequiredValidation=1,Object.defineProperty(validation,"__esModule",{value:!0});const t=requireLimitNumber(),e=requireMultipleOf(),o=requireLimitLength(),i=requirePattern(),l=requireLimitProperties(),n=requireRequired(),u=requireLimitItems(),d=requireUniqueItems(),a=require_const(),r=require_enum(),s=[t.default,e.default,o.default,i.default,l.default,n.default,u.default,d.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},a.default,r.default];return validation.default=s,validation}var applicator={},additionalItems={},hasRequiredAdditionalItems;function requireAdditionalItems(){if(hasRequiredAdditionalItems)return additionalItems;hasRequiredAdditionalItems=1,Object.defineProperty(additionalItems,"__esModule",{value:!0}),additionalItems.validateAdditionalItems=void 0;const t=requireCodegen(),e=requireUtil(),i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:n}})=>(0,t.str)`must NOT have more than ${n} items`,params:({params:{len:n}})=>(0,t._)`{limit: ${n}}`},code(n){const{parentSchema:u,it:d}=n,{items:a}=u;if(!Array.isArray(a)){(0,e.checkStrictMode)(d,'"additionalItems" is ignored when "items" is not an array of schemas');return}l(n,a)}};function l(n,u){const{gen:d,schema:a,data:r,keyword:s,it:h}=n;h.items=!0;const c=d.const("len",(0,t._)`${r}.length`);if(a===!1)n.setParams({len:u.length}),n.pass((0,t._)`${c} <= ${u.length}`);else if(typeof a=="object"&&!(0,e.alwaysValidSchema)(h,a)){const b=d.var("valid",(0,t._)`${c} <= ${u.length}`);d.if((0,t.not)(b),()=>f(b)),n.ok(b)}function f(b){d.forRange("i",u.length,c,y=>{n.subschema({keyword:s,dataProp:y,dataPropType:e.Type.Num},b),h.allErrors||d.if((0,t.not)(b),()=>d.break())})}}return additionalItems.validateAdditionalItems=l,additionalItems.default=i,additionalItems}var prefixItems={},items={},hasRequiredItems;function requireItems(){if(hasRequiredItems)return items;hasRequiredItems=1,Object.defineProperty(items,"__esModule",{value:!0}),items.validateTuple=void 0;const t=requireCodegen(),e=requireUtil(),o=requireCode(),i={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(n){const{schema:u,it:d}=n;if(Array.isArray(u))return l(n,"additionalItems",u);d.items=!0,!(0,e.alwaysValidSchema)(d,u)&&n.ok((0,o.validateArray)(n))}};function l(n,u,d=n.schema){const{gen:a,parentSchema:r,data:s,keyword:h,it:c}=n;y(r),c.opts.unevaluated&&d.length&&c.items!==!0&&(c.items=e.mergeEvaluated.items(a,d.length,c.items));const f=a.name("valid"),b=a.const("len",(0,t._)`${s}.length`);d.forEach((w,_)=>{(0,e.alwaysValidSchema)(c,w)||(a.if((0,t._)`${b} > ${_}`,()=>n.subschema({keyword:h,schemaProp:_,dataProp:_},f)),n.ok(f))});function y(w){const{opts:_,errSchemaPath:m}=c,A=d.length,g=A===w.minItems&&(A===w.maxItems||w[u]===!1);if(_.strictTuples&&!g){const p=`"${h}" is ${A}-tuple, but minItems or maxItems/${u} are not specified or different at path "${m}"`;(0,e.checkStrictMode)(c,p,_.strictTuples)}}}return items.validateTuple=l,items.default=i,items}var hasRequiredPrefixItems;function requirePrefixItems(){if(hasRequiredPrefixItems)return prefixItems;hasRequiredPrefixItems=1,Object.defineProperty(prefixItems,"__esModule",{value:!0});const t=requireItems(),e={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:o=>(0,t.validateTuple)(o,"items")};return prefixItems.default=e,prefixItems}var items2020={},hasRequiredItems2020;function requireItems2020(){if(hasRequiredItems2020)return items2020;hasRequiredItems2020=1,Object.defineProperty(items2020,"__esModule",{value:!0});const t=requireCodegen(),e=requireUtil(),o=requireCode(),i=requireAdditionalItems(),n={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:u}})=>(0,t.str)`must NOT have more than ${u} items`,params:({params:{len:u}})=>(0,t._)`{limit: ${u}}`},code(u){const{schema:d,parentSchema:a,it:r}=u,{prefixItems:s}=a;r.items=!0,!(0,e.alwaysValidSchema)(r,d)&&(s?(0,i.validateAdditionalItems)(u,s):u.ok((0,o.validateArray)(u)))}};return items2020.default=n,items2020}var contains={},hasRequiredContains;function requireContains(){if(hasRequiredContains)return contains;hasRequiredContains=1,Object.defineProperty(contains,"__esModule",{value:!0});const t=requireCodegen(),e=requireUtil(),i={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:l,max:n}})=>n===void 0?(0,t.str)`must contain at least ${l} valid item(s)`:(0,t.str)`must contain at least ${l} and no more than ${n} valid item(s)`,params:({params:{min:l,max:n}})=>n===void 0?(0,t._)`{minContains: ${l}}`:(0,t._)`{minContains: ${l}, maxContains: ${n}}`},code(l){const{gen:n,schema:u,parentSchema:d,data:a,it:r}=l;let s,h;const{minContains:c,maxContains:f}=d;r.opts.next?(s=c===void 0?1:c,h=f):s=1;const b=n.const("len",(0,t._)`${a}.length`);if(l.setParams({min:s,max:h}),h===void 0&&s===0){(0,e.checkStrictMode)(r,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(h!==void 0&&s>h){(0,e.checkStrictMode)(r,'"minContains" > "maxContains" is always invalid'),l.fail();return}if((0,e.alwaysValidSchema)(r,u)){let A=(0,t._)`${b} >= ${s}`;h!==void 0&&(A=(0,t._)`${A} && ${b} <= ${h}`),l.pass(A);return}r.items=!0;const y=n.name("valid");h===void 0&&s===1?_(y,()=>n.if(y,()=>n.break())):s===0?(n.let(y,!0),h!==void 0&&n.if((0,t._)`${a}.length > 0`,w)):(n.let(y,!1),w()),l.result(y,()=>l.reset());function w(){const A=n.name("_valid"),g=n.let("count",0);_(A,()=>n.if(A,()=>m(g)))}function _(A,g){n.forRange("i",0,b,p=>{l.subschema({keyword:"contains",dataProp:p,dataPropType:e.Type.Num,compositeRule:!0},A),g()})}function m(A){n.code((0,t._)`${A}++`),h===void 0?n.if((0,t._)`${A} >= ${s}`,()=>n.assign(y,!0).break()):(n.if((0,t._)`${A} > ${h}`,()=>n.assign(y,!1).break()),s===1?n.assign(y,!0):n.if((0,t._)`${A} >= ${s}`,()=>n.assign(y,!0)))}}};return contains.default=i,contains}var dependencies={},hasRequiredDependencies;function requireDependencies(){return hasRequiredDependencies||(hasRequiredDependencies=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const e=requireCodegen(),o=requireUtil(),i=requireCode();t.error={message:({params:{property:a,depsCount:r,deps:s}})=>{const h=r===1?"property":"properties";return(0,e.str)`must have ${h} ${s} when property ${a} is present`},params:({params:{property:a,depsCount:r,deps:s,missingProperty:h}})=>(0,e._)`{property: ${a},
19
+ missingProperty: ${h},
20
+ depsCount: ${r},
21
+ deps: ${s}}`};const l={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(a){const[r,s]=n(a);u(a,r),d(a,s)}};function n({schema:a}){const r={},s={};for(const h in a){if(h==="__proto__")continue;const c=Array.isArray(a[h])?r:s;c[h]=a[h]}return[r,s]}function u(a,r=a.schema){const{gen:s,data:h,it:c}=a;if(Object.keys(r).length===0)return;const f=s.let("missing");for(const b in r){const y=r[b];if(y.length===0)continue;const w=(0,i.propertyInData)(s,h,b,c.opts.ownProperties);a.setParams({property:b,depsCount:y.length,deps:y.join(", ")}),c.allErrors?s.if(w,()=>{for(const _ of y)(0,i.checkReportMissingProp)(a,_)}):(s.if((0,e._)`${w} && (${(0,i.checkMissingProp)(a,y,f)})`),(0,i.reportMissingProp)(a,f),s.else())}}t.validatePropertyDeps=u;function d(a,r=a.schema){const{gen:s,data:h,keyword:c,it:f}=a,b=s.name("valid");for(const y in r)(0,o.alwaysValidSchema)(f,r[y])||(s.if((0,i.propertyInData)(s,h,y,f.opts.ownProperties),()=>{const w=a.subschema({keyword:c,schemaProp:y},b);a.mergeValidEvaluated(w,b)},()=>s.var(b,!0)),a.ok(b))}t.validateSchemaDeps=d,t.default=l})(dependencies)),dependencies}var propertyNames={},hasRequiredPropertyNames;function requirePropertyNames(){if(hasRequiredPropertyNames)return propertyNames;hasRequiredPropertyNames=1,Object.defineProperty(propertyNames,"__esModule",{value:!0});const t=requireCodegen(),e=requireUtil(),i={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:l})=>(0,t._)`{propertyName: ${l.propertyName}}`},code(l){const{gen:n,schema:u,data:d,it:a}=l;if((0,e.alwaysValidSchema)(a,u))return;const r=n.name("valid");n.forIn("key",d,s=>{l.setParams({propertyName:s}),l.subschema({keyword:"propertyNames",data:s,dataTypes:["string"],propertyName:s,compositeRule:!0},r),n.if((0,t.not)(r),()=>{l.error(!0),a.allErrors||n.break()})}),l.ok(r)}};return propertyNames.default=i,propertyNames}var additionalProperties={},hasRequiredAdditionalProperties;function requireAdditionalProperties(){if(hasRequiredAdditionalProperties)return additionalProperties;hasRequiredAdditionalProperties=1,Object.defineProperty(additionalProperties,"__esModule",{value:!0});const t=requireCode(),e=requireCodegen(),o=requireNames(),i=requireUtil(),n={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:u})=>(0,e._)`{additionalProperty: ${u.additionalProperty}}`},code(u){const{gen:d,schema:a,parentSchema:r,data:s,errsCount:h,it:c}=u;if(!h)throw new Error("ajv implementation error");const{allErrors:f,opts:b}=c;if(c.props=!0,b.removeAdditional!=="all"&&(0,i.alwaysValidSchema)(c,a))return;const y=(0,t.allSchemaProperties)(r.properties),w=(0,t.allSchemaProperties)(r.patternProperties);_(),u.ok((0,e._)`${h} === ${o.default.errors}`);function _(){d.forIn("key",s,v=>{!y.length&&!w.length?g(v):d.if(m(v),()=>g(v))})}function m(v){let C;if(y.length>8){const P=(0,i.schemaRefOrVal)(c,r.properties,"properties");C=(0,t.isOwnProperty)(d,P,v)}else y.length?C=(0,e.or)(...y.map(P=>(0,e._)`${v} === ${P}`)):C=e.nil;return w.length&&(C=(0,e.or)(C,...w.map(P=>(0,e._)`${(0,t.usePattern)(u,P)}.test(${v})`))),(0,e.not)(C)}function A(v){d.code((0,e._)`delete ${s}[${v}]`)}function g(v){if(b.removeAdditional==="all"||b.removeAdditional&&a===!1){A(v);return}if(a===!1){u.setParams({additionalProperty:v}),u.error(),f||d.break();return}if(typeof a=="object"&&!(0,i.alwaysValidSchema)(c,a)){const C=d.name("valid");b.removeAdditional==="failing"?(p(v,C,!1),d.if((0,e.not)(C),()=>{u.reset(),A(v)})):(p(v,C),f||d.if((0,e.not)(C),()=>d.break()))}}function p(v,C,P){const E={keyword:"additionalProperties",dataProp:v,dataPropType:i.Type.Str};P===!1&&Object.assign(E,{compositeRule:!0,createErrors:!1,allErrors:!1}),u.subschema(E,C)}}};return additionalProperties.default=n,additionalProperties}var properties$1={},hasRequiredProperties;function requireProperties(){if(hasRequiredProperties)return properties$1;hasRequiredProperties=1,Object.defineProperty(properties$1,"__esModule",{value:!0});const t=requireValidate(),e=requireCode(),o=requireUtil(),i=requireAdditionalProperties(),l={keyword:"properties",type:"object",schemaType:"object",code(n){const{gen:u,schema:d,parentSchema:a,data:r,it:s}=n;s.opts.removeAdditional==="all"&&a.additionalProperties===void 0&&i.default.code(new t.KeywordCxt(s,i.default,"additionalProperties"));const h=(0,e.allSchemaProperties)(d);for(const w of h)s.definedProperties.add(w);s.opts.unevaluated&&h.length&&s.props!==!0&&(s.props=o.mergeEvaluated.props(u,(0,o.toHash)(h),s.props));const c=h.filter(w=>!(0,o.alwaysValidSchema)(s,d[w]));if(c.length===0)return;const f=u.name("valid");for(const w of c)b(w)?y(w):(u.if((0,e.propertyInData)(u,r,w,s.opts.ownProperties)),y(w),s.allErrors||u.else().var(f,!0),u.endIf()),n.it.definedProperties.add(w),n.ok(f);function b(w){return s.opts.useDefaults&&!s.compositeRule&&d[w].default!==void 0}function y(w){n.subschema({keyword:"properties",schemaProp:w,dataProp:w},f)}}};return properties$1.default=l,properties$1}var patternProperties={},hasRequiredPatternProperties;function requirePatternProperties(){if(hasRequiredPatternProperties)return patternProperties;hasRequiredPatternProperties=1,Object.defineProperty(patternProperties,"__esModule",{value:!0});const t=requireCode(),e=requireCodegen(),o=requireUtil(),i=requireUtil(),l={keyword:"patternProperties",type:"object",schemaType:"object",code(n){const{gen:u,schema:d,data:a,parentSchema:r,it:s}=n,{opts:h}=s,c=(0,t.allSchemaProperties)(d),f=c.filter(g=>(0,o.alwaysValidSchema)(s,d[g]));if(c.length===0||f.length===c.length&&(!s.opts.unevaluated||s.props===!0))return;const b=h.strictSchema&&!h.allowMatchingProperties&&r.properties,y=u.name("valid");s.props!==!0&&!(s.props instanceof e.Name)&&(s.props=(0,i.evaluatedPropsToName)(u,s.props));const{props:w}=s;_();function _(){for(const g of c)b&&m(g),s.allErrors?A(g):(u.var(y,!0),A(g),u.if(y))}function m(g){for(const p in b)new RegExp(g).test(p)&&(0,o.checkStrictMode)(s,`property ${p} matches pattern ${g} (use allowMatchingProperties)`)}function A(g){u.forIn("key",a,p=>{u.if((0,e._)`${(0,t.usePattern)(n,g)}.test(${p})`,()=>{const v=f.includes(g);v||n.subschema({keyword:"patternProperties",schemaProp:g,dataProp:p,dataPropType:i.Type.Str},y),s.opts.unevaluated&&w!==!0?u.assign((0,e._)`${w}[${p}]`,!0):!v&&!s.allErrors&&u.if((0,e.not)(y),()=>u.break())})})}}};return patternProperties.default=l,patternProperties}var not={},hasRequiredNot;function requireNot(){if(hasRequiredNot)return not;hasRequiredNot=1,Object.defineProperty(not,"__esModule",{value:!0});const t=requireUtil(),e={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(o){const{gen:i,schema:l,it:n}=o;if((0,t.alwaysValidSchema)(n,l)){o.fail();return}const u=i.name("valid");o.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},u),o.failResult(u,()=>o.reset(),()=>o.error())},error:{message:"must NOT be valid"}};return not.default=e,not}var anyOf={},hasRequiredAnyOf;function requireAnyOf(){if(hasRequiredAnyOf)return anyOf;hasRequiredAnyOf=1,Object.defineProperty(anyOf,"__esModule",{value:!0});const e={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:requireCode().validateUnion,error:{message:"must match a schema in anyOf"}};return anyOf.default=e,anyOf}var oneOf={},hasRequiredOneOf;function requireOneOf(){if(hasRequiredOneOf)return oneOf;hasRequiredOneOf=1,Object.defineProperty(oneOf,"__esModule",{value:!0});const t=requireCodegen(),e=requireUtil(),i={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:l})=>(0,t._)`{passingSchemas: ${l.passing}}`},code(l){const{gen:n,schema:u,parentSchema:d,it:a}=l;if(!Array.isArray(u))throw new Error("ajv implementation error");if(a.opts.discriminator&&d.discriminator)return;const r=u,s=n.let("valid",!1),h=n.let("passing",null),c=n.name("_valid");l.setParams({passing:h}),n.block(f),l.result(s,()=>l.reset(),()=>l.error(!0));function f(){r.forEach((b,y)=>{let w;(0,e.alwaysValidSchema)(a,b)?n.var(c,!0):w=l.subschema({keyword:"oneOf",schemaProp:y,compositeRule:!0},c),y>0&&n.if((0,t._)`${c} && ${s}`).assign(s,!1).assign(h,(0,t._)`[${h}, ${y}]`).else(),n.if(c,()=>{n.assign(s,!0),n.assign(h,y),w&&l.mergeEvaluated(w,t.Name)})})}}};return oneOf.default=i,oneOf}var allOf={},hasRequiredAllOf;function requireAllOf(){if(hasRequiredAllOf)return allOf;hasRequiredAllOf=1,Object.defineProperty(allOf,"__esModule",{value:!0});const t=requireUtil(),e={keyword:"allOf",schemaType:"array",code(o){const{gen:i,schema:l,it:n}=o;if(!Array.isArray(l))throw new Error("ajv implementation error");const u=i.name("valid");l.forEach((d,a)=>{if((0,t.alwaysValidSchema)(n,d))return;const r=o.subschema({keyword:"allOf",schemaProp:a},u);o.ok(u),o.mergeEvaluated(r)})}};return allOf.default=e,allOf}var _if={},hasRequired_if;function require_if(){if(hasRequired_if)return _if;hasRequired_if=1,Object.defineProperty(_if,"__esModule",{value:!0});const t=requireCodegen(),e=requireUtil(),i={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:n})=>(0,t.str)`must match "${n.ifClause}" schema`,params:({params:n})=>(0,t._)`{failingKeyword: ${n.ifClause}}`},code(n){const{gen:u,parentSchema:d,it:a}=n;d.then===void 0&&d.else===void 0&&(0,e.checkStrictMode)(a,'"if" without "then" and "else" is ignored');const r=l(a,"then"),s=l(a,"else");if(!r&&!s)return;const h=u.let("valid",!0),c=u.name("_valid");if(f(),n.reset(),r&&s){const y=u.let("ifClause");n.setParams({ifClause:y}),u.if(c,b("then",y),b("else",y))}else r?u.if(c,b("then")):u.if((0,t.not)(c),b("else"));n.pass(h,()=>n.error(!0));function f(){const y=n.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},c);n.mergeEvaluated(y)}function b(y,w){return()=>{const _=n.subschema({keyword:y},c);u.assign(h,c),n.mergeValidEvaluated(_,h),w?u.assign(w,(0,t._)`${y}`):n.setParams({ifClause:y})}}}};function l(n,u){const d=n.schema[u];return d!==void 0&&!(0,e.alwaysValidSchema)(n,d)}return _if.default=i,_if}var thenElse={},hasRequiredThenElse;function requireThenElse(){if(hasRequiredThenElse)return thenElse;hasRequiredThenElse=1,Object.defineProperty(thenElse,"__esModule",{value:!0});const t=requireUtil(),e={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:o,parentSchema:i,it:l}){i.if===void 0&&(0,t.checkStrictMode)(l,`"${o}" without "if" is ignored`)}};return thenElse.default=e,thenElse}var hasRequiredApplicator;function requireApplicator(){if(hasRequiredApplicator)return applicator;hasRequiredApplicator=1,Object.defineProperty(applicator,"__esModule",{value:!0});const t=requireAdditionalItems(),e=requirePrefixItems(),o=requireItems(),i=requireItems2020(),l=requireContains(),n=requireDependencies(),u=requirePropertyNames(),d=requireAdditionalProperties(),a=requireProperties(),r=requirePatternProperties(),s=requireNot(),h=requireAnyOf(),c=requireOneOf(),f=requireAllOf(),b=require_if(),y=requireThenElse();function w(_=!1){const m=[s.default,h.default,c.default,f.default,b.default,y.default,u.default,d.default,n.default,a.default,r.default];return _?m.push(e.default,i.default):m.push(t.default,o.default),m.push(l.default),m}return applicator.default=w,applicator}var format$1={},format={},hasRequiredFormat$1;function requireFormat$1(){if(hasRequiredFormat$1)return format;hasRequiredFormat$1=1,Object.defineProperty(format,"__esModule",{value:!0});const t=requireCodegen(),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:i})=>(0,t.str)`must match format "${i}"`,params:({schemaCode:i})=>(0,t._)`{format: ${i}}`},code(i,l){const{gen:n,data:u,$data:d,schema:a,schemaCode:r,it:s}=i,{opts:h,errSchemaPath:c,schemaEnv:f,self:b}=s;if(!h.validateFormats)return;d?y():w();function y(){const _=n.scopeValue("formats",{ref:b.formats,code:h.code.formats}),m=n.const("fDef",(0,t._)`${_}[${r}]`),A=n.let("fType"),g=n.let("format");n.if((0,t._)`typeof ${m} == "object" && !(${m} instanceof RegExp)`,()=>n.assign(A,(0,t._)`${m}.type || "string"`).assign(g,(0,t._)`${m}.validate`),()=>n.assign(A,(0,t._)`"string"`).assign(g,m)),i.fail$data((0,t.or)(p(),v()));function p(){return h.strictSchema===!1?t.nil:(0,t._)`${r} && !${g}`}function v(){const C=f.$async?(0,t._)`(${m}.async ? await ${g}(${u}) : ${g}(${u}))`:(0,t._)`${g}(${u})`,P=(0,t._)`(typeof ${g} == "function" ? ${C} : ${g}.test(${u}))`;return(0,t._)`${g} && ${g} !== true && ${A} === ${l} && !${P}`}}function w(){const _=b.formats[a];if(!_){p();return}if(_===!0)return;const[m,A,g]=v(_);m===l&&i.pass(C());function p(){if(h.strictSchema===!1){b.logger.warn(P());return}throw new Error(P());function P(){return`unknown format "${a}" ignored in schema at path "${c}"`}}function v(P){const E=P instanceof RegExp?(0,t.regexpCode)(P):h.code.formats?(0,t._)`${h.code.formats}${(0,t.getProperty)(a)}`:void 0,R=n.scopeValue("formats",{key:a,ref:P,code:E});return typeof P=="object"&&!(P instanceof RegExp)?[P.type||"string",P.validate,(0,t._)`${R}.validate`]:["string",P,R]}function C(){if(typeof _=="object"&&!(_ instanceof RegExp)&&_.async){if(!f.$async)throw new Error("async format in sync schema");return(0,t._)`await ${g}(${u})`}return typeof A=="function"?(0,t._)`${g}(${u})`:(0,t._)`${g}.test(${u})`}}}};return format.default=o,format}var hasRequiredFormat;function requireFormat(){if(hasRequiredFormat)return format$1;hasRequiredFormat=1,Object.defineProperty(format$1,"__esModule",{value:!0});const e=[requireFormat$1().default];return format$1.default=e,format$1}var metadata={},hasRequiredMetadata;function requireMetadata(){return hasRequiredMetadata||(hasRequiredMetadata=1,Object.defineProperty(metadata,"__esModule",{value:!0}),metadata.contentVocabulary=metadata.metadataVocabulary=void 0,metadata.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],metadata.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),metadata}var hasRequiredDraft7;function requireDraft7(){if(hasRequiredDraft7)return draft7;hasRequiredDraft7=1,Object.defineProperty(draft7,"__esModule",{value:!0});const t=requireCore(),e=requireValidation(),o=requireApplicator(),i=requireFormat(),l=requireMetadata(),n=[t.default,e.default,(0,o.default)(),i.default,l.metadataVocabulary,l.contentVocabulary];return draft7.default=n,draft7}var discriminator={},types={},hasRequiredTypes;function requireTypes(){if(hasRequiredTypes)return types;hasRequiredTypes=1,Object.defineProperty(types,"__esModule",{value:!0}),types.DiscrError=void 0;var t;return(function(e){e.Tag="tag",e.Mapping="mapping"})(t||(types.DiscrError=t={})),types}var hasRequiredDiscriminator;function requireDiscriminator(){if(hasRequiredDiscriminator)return discriminator;hasRequiredDiscriminator=1,Object.defineProperty(discriminator,"__esModule",{value:!0});const t=requireCodegen(),e=requireTypes(),o=requireCompile(),i=requireRef_error(),l=requireUtil(),u={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:d,tagName:a}})=>d===e.DiscrError.Tag?`tag "${a}" must be string`:`value of tag "${a}" must be in oneOf`,params:({params:{discrError:d,tag:a,tagName:r}})=>(0,t._)`{error: ${d}, tag: ${r}, tagValue: ${a}}`},code(d){const{gen:a,data:r,schema:s,parentSchema:h,it:c}=d,{oneOf:f}=h;if(!c.opts.discriminator)throw new Error("discriminator: requires discriminator option");const b=s.propertyName;if(typeof b!="string")throw new Error("discriminator: requires propertyName");if(s.mapping)throw new Error("discriminator: mapping is not supported");if(!f)throw new Error("discriminator: requires oneOf keyword");const y=a.let("valid",!1),w=a.const("tag",(0,t._)`${r}${(0,t.getProperty)(b)}`);a.if((0,t._)`typeof ${w} == "string"`,()=>_(),()=>d.error(!1,{discrError:e.DiscrError.Tag,tag:w,tagName:b})),d.ok(y);function _(){const g=A();a.if(!1);for(const p in g)a.elseIf((0,t._)`${w} === ${p}`),a.assign(y,m(g[p]));a.else(),d.error(!1,{discrError:e.DiscrError.Mapping,tag:w,tagName:b}),a.endIf()}function m(g){const p=a.name("valid"),v=d.subschema({keyword:"oneOf",schemaProp:g},p);return d.mergeEvaluated(v,t.Name),p}function A(){var g;const p={},v=P(h);let C=!0;for(let S=0;S<f.length;S++){let I=f[S];if(I!=null&&I.$ref&&!(0,l.schemaHasRulesButRef)(I,c.self.RULES)){const M=I.$ref;if(I=o.resolveRef.call(c.self,c.schemaEnv.root,c.baseId,M),I instanceof o.SchemaEnv&&(I=I.schema),I===void 0)throw new i.default(c.opts.uriResolver,c.baseId,M)}const x=(g=I==null?void 0:I.properties)===null||g===void 0?void 0:g[b];if(typeof x!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${b}"`);C=C&&(v||P(I)),E(x,S)}if(!C)throw new Error(`discriminator: "${b}" must be required`);return p;function P({required:S}){return Array.isArray(S)&&S.includes(b)}function E(S,I){if(S.const)R(S.const,I);else if(S.enum)for(const x of S.enum)R(x,I);else throw new Error(`discriminator: "properties/${b}" must have "const" or "enum"`)}function R(S,I){if(typeof S!="string"||S in p)throw new Error(`discriminator: "${b}" values must be unique strings`);p[S]=I}}}};return discriminator.default=u,discriminator}const $schema="http://json-schema.org/draft-07/schema#",$id="http://json-schema.org/draft-07/schema#",title="Core schema meta-schema",definitions={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type=["object","boolean"],properties={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},require$$3={$schema,$id,title,definitions,type,properties,default:!0};var hasRequiredAjv;function requireAjv(){return hasRequiredAjv||(hasRequiredAjv=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv=void 0;const o=requireCore$1(),i=requireDraft7(),l=requireDiscriminator(),n=require$$3,u=["/properties"],d="http://json-schema.org/draft-07/schema";class a extends o.default{_addVocabularies(){super._addVocabularies(),i.default.forEach(b=>this.addVocabulary(b)),this.opts.discriminator&&this.addKeyword(l.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const b=this.opts.$data?this.$dataMetaSchema(n,u):n;this.addMetaSchema(b,d,!1),this.refs["http://json-schema.org/schema"]=d}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(d)?d:void 0)}}e.Ajv=a,t.exports=e=a,t.exports.Ajv=a,Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=requireValidate();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var s=requireCodegen();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return s.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return s.CodeGen}});var h=requireValidation_error();Object.defineProperty(e,"ValidationError",{enumerable:!0,get:function(){return h.default}});var c=requireRef_error();Object.defineProperty(e,"MissingRefError",{enumerable:!0,get:function(){return c.default}})})(ajv$1,ajv$1.exports)),ajv$1.exports}var ajvExports=requireAjv();const Ajv=getDefaultExportFromCjs(ajvExports);class WidgetTracker{constructor(e){this._currentChanged=new Signal(this),this._deferred=null,this._isDisposed=!1,this._widgetAdded=new Signal(this),this._widgetUpdated=new Signal(this);const o=this._focusTracker=new FocusTracker,i=this._pool=new libExports$2.RestorablePool(e);this.namespace=e.namespace,o.currentChanged.connect((l,n)=>{n.newValue!==this.currentWidget&&(i.current=n.newValue)},this),i.added.connect((l,n)=>{this._widgetAdded.emit(n)},this),i.currentChanged.connect((l,n)=>{if(n===null&&o.currentWidget){i.current=o.currentWidget;return}this.onCurrentChanged(n),this._currentChanged.emit(n)},this),i.updated.connect((l,n)=>{this._widgetUpdated.emit(n)},this)}get currentChanged(){return this._currentChanged}get currentWidget(){return this._pool.current||null}get restored(){return this._deferred?Promise.resolve():this._pool.restored}get size(){return this._pool.size}get widgetAdded(){return this._widgetAdded}get widgetUpdated(){return this._widgetUpdated}async add(e){this._focusTracker.add(e),await this._pool.add(e),this._focusTracker.activeWidget||(this._pool.current=e)}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,this._pool.dispose(),this._focusTracker.dispose(),Signal.clearData(this))}find(e){return this._pool.find(e)}forEach(e){return this._pool.forEach(e)}filter(e){return this._pool.filter(e)}inject(e){return this._pool.inject(e)}has(e){return this._pool.has(e)}async restore(e){const o=this._deferred;if(o)return this._deferred=null,this._pool.restore(o);if(e)return this._pool.restore(e);console.warn("No options provided to restore the tracker.")}defer(e){this._deferred=e}async save(e){return this._pool.save(e)}onCurrentChanged(e){}}var lib$5={},Parser$1={},Tokenizer$1={},decode$2={},decodeDataHtml$2={},hasRequiredDecodeDataHtml$2;function requireDecodeDataHtml$2(){return hasRequiredDecodeDataHtml$2||(hasRequiredDecodeDataHtml$2=1,Object.defineProperty(decodeDataHtml$2,"__esModule",{value:!0}),decodeDataHtml$2.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(t){return t.charCodeAt(0)}))),decodeDataHtml$2}var decodeDataXml$2={},hasRequiredDecodeDataXml$2;function requireDecodeDataXml$2(){return hasRequiredDecodeDataXml$2||(hasRequiredDecodeDataXml$2=1,Object.defineProperty(decodeDataXml$2,"__esModule",{value:!0}),decodeDataXml$2.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(t){return t.charCodeAt(0)}))),decodeDataXml$2}var decode_codepoint$1={},hasRequiredDecode_codepoint$1;function requireDecode_codepoint$1(){return hasRequiredDecode_codepoint$1||(hasRequiredDecode_codepoint$1=1,(function(t){var e;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var o=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);t.fromCodePoint=(e=String.fromCodePoint)!==null&&e!==void 0?e:function(n){var u="";return n>65535&&(n-=65536,u+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023),u+=String.fromCharCode(n),u};function i(n){var u;return n>=55296&&n<=57343||n>1114111?65533:(u=o.get(n))!==null&&u!==void 0?u:n}t.replaceCodePoint=i;function l(n){return(0,t.fromCodePoint)(i(n))}t.default=l})(decode_codepoint$1)),decode_codepoint$1}var hasRequiredDecode$2;function requireDecode$2(){return hasRequiredDecode$2||(hasRequiredDecode$2=1,(function(t){var e=decode$2&&decode$2.__createBinding||(Object.create?(function(S,I,x,M){M===void 0&&(M=x);var D=Object.getOwnPropertyDescriptor(I,x);(!D||("get"in D?!I.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return I[x]}}),Object.defineProperty(S,M,D)}):(function(S,I,x,M){M===void 0&&(M=x),S[M]=I[x]})),o=decode$2&&decode$2.__setModuleDefault||(Object.create?(function(S,I){Object.defineProperty(S,"default",{enumerable:!0,value:I})}):function(S,I){S.default=I}),i=decode$2&&decode$2.__importStar||function(S){if(S&&S.__esModule)return S;var I={};if(S!=null)for(var x in S)x!=="default"&&Object.prototype.hasOwnProperty.call(S,x)&&e(I,S,x);return o(I,S),I},l=decode$2&&decode$2.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var n=l(requireDecodeDataHtml$2());t.htmlDecodeTree=n.default;var u=l(requireDecodeDataXml$2());t.xmlDecodeTree=u.default;var d=i(requireDecode_codepoint$1());t.decodeCodePoint=d.default;var a=requireDecode_codepoint$1();Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return a.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return a.fromCodePoint}});var r;(function(S){S[S.NUM=35]="NUM",S[S.SEMI=59]="SEMI",S[S.EQUALS=61]="EQUALS",S[S.ZERO=48]="ZERO",S[S.NINE=57]="NINE",S[S.LOWER_A=97]="LOWER_A",S[S.LOWER_F=102]="LOWER_F",S[S.LOWER_X=120]="LOWER_X",S[S.LOWER_Z=122]="LOWER_Z",S[S.UPPER_A=65]="UPPER_A",S[S.UPPER_F=70]="UPPER_F",S[S.UPPER_Z=90]="UPPER_Z"})(r||(r={}));var s=32,h;(function(S){S[S.VALUE_LENGTH=49152]="VALUE_LENGTH",S[S.BRANCH_LENGTH=16256]="BRANCH_LENGTH",S[S.JUMP_TABLE=127]="JUMP_TABLE"})(h=t.BinTrieFlags||(t.BinTrieFlags={}));function c(S){return S>=r.ZERO&&S<=r.NINE}function f(S){return S>=r.UPPER_A&&S<=r.UPPER_F||S>=r.LOWER_A&&S<=r.LOWER_F}function b(S){return S>=r.UPPER_A&&S<=r.UPPER_Z||S>=r.LOWER_A&&S<=r.LOWER_Z||c(S)}function y(S){return S===r.EQUALS||b(S)}var w;(function(S){S[S.EntityStart=0]="EntityStart",S[S.NumericStart=1]="NumericStart",S[S.NumericDecimal=2]="NumericDecimal",S[S.NumericHex=3]="NumericHex",S[S.NamedEntity=4]="NamedEntity"})(w||(w={}));var _;(function(S){S[S.Legacy=0]="Legacy",S[S.Strict=1]="Strict",S[S.Attribute=2]="Attribute"})(_=t.DecodingMode||(t.DecodingMode={}));var m=(function(){function S(I,x,M){this.decodeTree=I,this.emitCodePoint=x,this.errors=M,this.state=w.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=_.Strict}return S.prototype.startEntity=function(I){this.decodeMode=I,this.state=w.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},S.prototype.write=function(I,x){switch(this.state){case w.EntityStart:return I.charCodeAt(x)===r.NUM?(this.state=w.NumericStart,this.consumed+=1,this.stateNumericStart(I,x+1)):(this.state=w.NamedEntity,this.stateNamedEntity(I,x));case w.NumericStart:return this.stateNumericStart(I,x);case w.NumericDecimal:return this.stateNumericDecimal(I,x);case w.NumericHex:return this.stateNumericHex(I,x);case w.NamedEntity:return this.stateNamedEntity(I,x)}},S.prototype.stateNumericStart=function(I,x){return x>=I.length?-1:(I.charCodeAt(x)|s)===r.LOWER_X?(this.state=w.NumericHex,this.consumed+=1,this.stateNumericHex(I,x+1)):(this.state=w.NumericDecimal,this.stateNumericDecimal(I,x))},S.prototype.addToNumericResult=function(I,x,M,D){if(x!==M){var H=M-x;this.result=this.result*Math.pow(D,H)+parseInt(I.substr(x,H),D),this.consumed+=H}},S.prototype.stateNumericHex=function(I,x){for(var M=x;x<I.length;){var D=I.charCodeAt(x);if(c(D)||f(D))x+=1;else return this.addToNumericResult(I,M,x,16),this.emitNumericEntity(D,3)}return this.addToNumericResult(I,M,x,16),-1},S.prototype.stateNumericDecimal=function(I,x){for(var M=x;x<I.length;){var D=I.charCodeAt(x);if(c(D))x+=1;else return this.addToNumericResult(I,M,x,10),this.emitNumericEntity(D,2)}return this.addToNumericResult(I,M,x,10),-1},S.prototype.emitNumericEntity=function(I,x){var M;if(this.consumed<=x)return(M=this.errors)===null||M===void 0||M.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(I===r.SEMI)this.consumed+=1;else if(this.decodeMode===_.Strict)return 0;return this.emitCodePoint((0,d.replaceCodePoint)(this.result),this.consumed),this.errors&&(I!==r.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},S.prototype.stateNamedEntity=function(I,x){for(var M=this.decodeTree,D=M[this.treeIndex],H=(D&h.VALUE_LENGTH)>>14;x<I.length;x++,this.excess++){var U=I.charCodeAt(x);if(this.treeIndex=g(M,D,this.treeIndex+Math.max(1,H),U),this.treeIndex<0)return this.result===0||this.decodeMode===_.Attribute&&(H===0||y(U))?0:this.emitNotTerminatedNamedEntity();if(D=M[this.treeIndex],H=(D&h.VALUE_LENGTH)>>14,H!==0){if(U===r.SEMI)return this.emitNamedEntityData(this.treeIndex,H,this.consumed+this.excess);this.decodeMode!==_.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},S.prototype.emitNotTerminatedNamedEntity=function(){var I,x=this,M=x.result,D=x.decodeTree,H=(D[M]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(M,H,this.consumed),(I=this.errors)===null||I===void 0||I.missingSemicolonAfterCharacterReference(),this.consumed},S.prototype.emitNamedEntityData=function(I,x,M){var D=this.decodeTree;return this.emitCodePoint(x===1?D[I]&~h.VALUE_LENGTH:D[I+1],M),x===3&&this.emitCodePoint(D[I+2],M),M},S.prototype.end=function(){var I;switch(this.state){case w.NamedEntity:return this.result!==0&&(this.decodeMode!==_.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case w.NumericDecimal:return this.emitNumericEntity(0,2);case w.NumericHex:return this.emitNumericEntity(0,3);case w.NumericStart:return(I=this.errors)===null||I===void 0||I.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case w.EntityStart:return 0}},S})();t.EntityDecoder=m;function A(S){var I="",x=new m(S,function(M){return I+=(0,d.fromCodePoint)(M)});return function(D,H){for(var U=0,B=0;(B=D.indexOf("&",B))>=0;){I+=D.slice(U,B),x.startEntity(H);var V=x.write(D,B+1);if(V<0){U=B+x.end();break}U=B+V,B=V===0?U+1:U}var F=I+D.slice(U);return I="",F}}function g(S,I,x,M){var D=(I&h.BRANCH_LENGTH)>>7,H=I&h.JUMP_TABLE;if(D===0)return H!==0&&M===H?x:-1;if(H){var U=M-H;return U<0||U>=D?-1:S[x+U]-1}for(var B=x,V=B+D-1;B<=V;){var F=B+V>>>1,j=S[F];if(j<M)B=F+1;else if(j>M)V=F-1;else return S[F+D]}return-1}t.determineBranch=g;var p=A(n.default),v=A(u.default);function C(S,I){return I===void 0&&(I=_.Legacy),p(S,I)}t.decodeHTML=C;function P(S){return p(S,_.Attribute)}t.decodeHTMLAttribute=P;function E(S){return p(S,_.Strict)}t.decodeHTMLStrict=E;function R(S){return v(S,_.Strict)}t.decodeXML=R})(decode$2)),decode$2}var hasRequiredTokenizer$1;function requireTokenizer$1(){return hasRequiredTokenizer$1||(hasRequiredTokenizer$1=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var e=requireDecode$2(),o;(function(c){c[c.Tab=9]="Tab",c[c.NewLine=10]="NewLine",c[c.FormFeed=12]="FormFeed",c[c.CarriageReturn=13]="CarriageReturn",c[c.Space=32]="Space",c[c.ExclamationMark=33]="ExclamationMark",c[c.Number=35]="Number",c[c.Amp=38]="Amp",c[c.SingleQuote=39]="SingleQuote",c[c.DoubleQuote=34]="DoubleQuote",c[c.Dash=45]="Dash",c[c.Slash=47]="Slash",c[c.Zero=48]="Zero",c[c.Nine=57]="Nine",c[c.Semi=59]="Semi",c[c.Lt=60]="Lt",c[c.Eq=61]="Eq",c[c.Gt=62]="Gt",c[c.Questionmark=63]="Questionmark",c[c.UpperA=65]="UpperA",c[c.LowerA=97]="LowerA",c[c.UpperF=70]="UpperF",c[c.LowerF=102]="LowerF",c[c.UpperZ=90]="UpperZ",c[c.LowerZ=122]="LowerZ",c[c.LowerX=120]="LowerX",c[c.OpeningSquareBracket=91]="OpeningSquareBracket"})(o||(o={}));var i;(function(c){c[c.Text=1]="Text",c[c.BeforeTagName=2]="BeforeTagName",c[c.InTagName=3]="InTagName",c[c.InSelfClosingTag=4]="InSelfClosingTag",c[c.BeforeClosingTagName=5]="BeforeClosingTagName",c[c.InClosingTagName=6]="InClosingTagName",c[c.AfterClosingTagName=7]="AfterClosingTagName",c[c.BeforeAttributeName=8]="BeforeAttributeName",c[c.InAttributeName=9]="InAttributeName",c[c.AfterAttributeName=10]="AfterAttributeName",c[c.BeforeAttributeValue=11]="BeforeAttributeValue",c[c.InAttributeValueDq=12]="InAttributeValueDq",c[c.InAttributeValueSq=13]="InAttributeValueSq",c[c.InAttributeValueNq=14]="InAttributeValueNq",c[c.BeforeDeclaration=15]="BeforeDeclaration",c[c.InDeclaration=16]="InDeclaration",c[c.InProcessingInstruction=17]="InProcessingInstruction",c[c.BeforeComment=18]="BeforeComment",c[c.CDATASequence=19]="CDATASequence",c[c.InSpecialComment=20]="InSpecialComment",c[c.InCommentLike=21]="InCommentLike",c[c.BeforeSpecialS=22]="BeforeSpecialS",c[c.SpecialStartSequence=23]="SpecialStartSequence",c[c.InSpecialTag=24]="InSpecialTag",c[c.BeforeEntity=25]="BeforeEntity",c[c.BeforeNumericEntity=26]="BeforeNumericEntity",c[c.InNamedEntity=27]="InNamedEntity",c[c.InNumericEntity=28]="InNumericEntity",c[c.InHexEntity=29]="InHexEntity"})(i||(i={}));function l(c){return c===o.Space||c===o.NewLine||c===o.Tab||c===o.FormFeed||c===o.CarriageReturn}function n(c){return c===o.Slash||c===o.Gt||l(c)}function u(c){return c>=o.Zero&&c<=o.Nine}function d(c){return c>=o.LowerA&&c<=o.LowerZ||c>=o.UpperA&&c<=o.UpperZ}function a(c){return c>=o.UpperA&&c<=o.UpperF||c>=o.LowerA&&c<=o.LowerF}var r;(function(c){c[c.NoValue=0]="NoValue",c[c.Unquoted=1]="Unquoted",c[c.Single=2]="Single",c[c.Double=3]="Double"})(r=t.QuoteType||(t.QuoteType={}));var s={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},h=(function(){function c(f,b){var y=f.xmlMode,w=y===void 0?!1:y,_=f.decodeEntities,m=_===void 0?!0:_;this.cbs=b,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=w,this.decodeEntities=m,this.entityTrie=w?e.xmlDecodeTree:e.htmlDecodeTree}return c.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},c.prototype.write=function(f){this.offset+=this.buffer.length,this.buffer=f,this.parse()},c.prototype.end=function(){this.running&&this.finish()},c.prototype.pause=function(){this.running=!1},c.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},c.prototype.getIndex=function(){return this.index},c.prototype.getSectionStart=function(){return this.sectionStart},c.prototype.stateText=function(f){f===o.Lt||!this.decodeEntities&&this.fastForwardTo(o.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&f===o.Amp&&(this.state=i.BeforeEntity)},c.prototype.stateSpecialStartSequence=function(f){var b=this.sequenceIndex===this.currentSequence.length,y=b?n(f):(f|32)===this.currentSequence[this.sequenceIndex];if(!y)this.isSpecial=!1;else if(!b){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(f)},c.prototype.stateInSpecialTag=function(f){if(this.sequenceIndex===this.currentSequence.length){if(f===o.Gt||l(f)){var b=this.index-this.currentSequence.length;if(this.sectionStart<b){var y=this.index;this.index=b,this.cbs.ontext(this.sectionStart,b),this.index=y}this.isSpecial=!1,this.sectionStart=b+2,this.stateInClosingTagName(f);return}this.sequenceIndex=0}(f|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===s.TitleEnd?this.decodeEntities&&f===o.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(o.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(f===o.Lt)},c.prototype.stateCDATASequence=function(f){f===s.Cdata[this.sequenceIndex]?++this.sequenceIndex===s.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=s.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(f))},c.prototype.fastForwardTo=function(f){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===f)return!0;return this.index=this.buffer.length+this.offset-1,!1},c.prototype.stateInCommentLike=function(f){f===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===s.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):f!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},c.prototype.isTagStartChar=function(f){return this.xmlMode?!n(f):d(f)},c.prototype.startSpecial=function(f,b){this.isSpecial=!0,this.currentSequence=f,this.sequenceIndex=b,this.state=i.SpecialStartSequence},c.prototype.stateBeforeTagName=function(f){if(f===o.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(f===o.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(f)){var b=f|32;this.sectionStart=this.index,!this.xmlMode&&b===s.TitleEnd[2]?this.startSpecial(s.TitleEnd,3):this.state=!this.xmlMode&&b===s.ScriptEnd[2]?i.BeforeSpecialS:i.InTagName}else f===o.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(f))},c.prototype.stateInTagName=function(f){n(f)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(f))},c.prototype.stateBeforeClosingTagName=function(f){l(f)||(f===o.Gt?this.state=i.Text:(this.state=this.isTagStartChar(f)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},c.prototype.stateInClosingTagName=function(f){(f===o.Gt||l(f))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(f))},c.prototype.stateAfterClosingTagName=function(f){(f===o.Gt||this.fastForwardTo(o.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},c.prototype.stateBeforeAttributeName=function(f){f===o.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):f===o.Slash?this.state=i.InSelfClosingTag:l(f)||(this.state=i.InAttributeName,this.sectionStart=this.index)},c.prototype.stateInSelfClosingTag=function(f){f===o.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):l(f)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(f))},c.prototype.stateInAttributeName=function(f){(f===o.Eq||n(f))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(f))},c.prototype.stateAfterAttributeName=function(f){f===o.Eq?this.state=i.BeforeAttributeValue:f===o.Slash||f===o.Gt?(this.cbs.onattribend(r.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(f)):l(f)||(this.cbs.onattribend(r.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},c.prototype.stateBeforeAttributeValue=function(f){f===o.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):f===o.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):l(f)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(f))},c.prototype.handleInAttributeValue=function(f,b){f===b||!this.decodeEntities&&this.fastForwardTo(b)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(b===o.DoubleQuote?r.Double:r.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&f===o.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},c.prototype.stateInAttributeValueDoubleQuotes=function(f){this.handleInAttributeValue(f,o.DoubleQuote)},c.prototype.stateInAttributeValueSingleQuotes=function(f){this.handleInAttributeValue(f,o.SingleQuote)},c.prototype.stateInAttributeValueNoQuotes=function(f){l(f)||f===o.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(f)):this.decodeEntities&&f===o.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},c.prototype.stateBeforeDeclaration=function(f){f===o.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=f===o.Dash?i.BeforeComment:i.InDeclaration},c.prototype.stateInDeclaration=function(f){(f===o.Gt||this.fastForwardTo(o.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},c.prototype.stateInProcessingInstruction=function(f){(f===o.Gt||this.fastForwardTo(o.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},c.prototype.stateBeforeComment=function(f){f===o.Dash?(this.state=i.InCommentLike,this.currentSequence=s.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},c.prototype.stateInSpecialComment=function(f){(f===o.Gt||this.fastForwardTo(o.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},c.prototype.stateBeforeSpecialS=function(f){var b=f|32;b===s.ScriptEnd[3]?this.startSpecial(s.ScriptEnd,4):b===s.StyleEnd[3]?this.startSpecial(s.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(f))},c.prototype.stateBeforeEntity=function(f){this.entityExcess=1,this.entityResult=0,f===o.Number?this.state=i.BeforeNumericEntity:f===o.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(f))},c.prototype.stateInNamedEntity=function(f){if(this.entityExcess+=1,this.trieIndex=(0,e.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,f),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var b=this.trieCurrent&e.BinTrieFlags.VALUE_LENGTH;if(b){var y=(b>>14)-1;if(!this.allowLegacyEntity()&&f!==o.Semi)this.trieIndex+=y;else{var w=this.index-this.entityExcess+1;w>this.sectionStart&&this.emitPartial(this.sectionStart,w),this.entityResult=this.trieIndex,this.trieIndex+=y,this.entityExcess=0,this.sectionStart=this.index+1,y===0&&this.emitNamedEntity()}}},c.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var f=(this.entityTrie[this.entityResult]&e.BinTrieFlags.VALUE_LENGTH)>>14;switch(f){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~e.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},c.prototype.stateBeforeNumericEntity=function(f){(f|32)===o.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(f))},c.prototype.emitNumericEntity=function(f){var b=this.index-this.entityExcess-1,y=b+2+ +(this.state===i.InHexEntity);y!==this.index&&(b>this.sectionStart&&this.emitPartial(this.sectionStart,b),this.sectionStart=this.index+Number(f),this.emitCodePoint((0,e.replaceCodePoint)(this.entityResult))),this.state=this.baseState},c.prototype.stateInNumericEntity=function(f){f===o.Semi?this.emitNumericEntity(!0):u(f)?(this.entityResult=this.entityResult*10+(f-o.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},c.prototype.stateInHexEntity=function(f){f===o.Semi?this.emitNumericEntity(!0):u(f)?(this.entityResult=this.entityResult*16+(f-o.Zero),this.entityExcess++):a(f)?(this.entityResult=this.entityResult*16+((f|32)-o.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},c.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},c.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===i.InAttributeValueDq||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},c.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},c.prototype.parse=function(){for(;this.shouldContinue();){var f=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:{this.stateText(f);break}case i.SpecialStartSequence:{this.stateSpecialStartSequence(f);break}case i.InSpecialTag:{this.stateInSpecialTag(f);break}case i.CDATASequence:{this.stateCDATASequence(f);break}case i.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(f);break}case i.InAttributeName:{this.stateInAttributeName(f);break}case i.InCommentLike:{this.stateInCommentLike(f);break}case i.InSpecialComment:{this.stateInSpecialComment(f);break}case i.BeforeAttributeName:{this.stateBeforeAttributeName(f);break}case i.InTagName:{this.stateInTagName(f);break}case i.InClosingTagName:{this.stateInClosingTagName(f);break}case i.BeforeTagName:{this.stateBeforeTagName(f);break}case i.AfterAttributeName:{this.stateAfterAttributeName(f);break}case i.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(f);break}case i.BeforeAttributeValue:{this.stateBeforeAttributeValue(f);break}case i.BeforeClosingTagName:{this.stateBeforeClosingTagName(f);break}case i.AfterClosingTagName:{this.stateAfterClosingTagName(f);break}case i.BeforeSpecialS:{this.stateBeforeSpecialS(f);break}case i.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(f);break}case i.InSelfClosingTag:{this.stateInSelfClosingTag(f);break}case i.InDeclaration:{this.stateInDeclaration(f);break}case i.BeforeDeclaration:{this.stateBeforeDeclaration(f);break}case i.BeforeComment:{this.stateBeforeComment(f);break}case i.InProcessingInstruction:{this.stateInProcessingInstruction(f);break}case i.InNamedEntity:{this.stateInNamedEntity(f);break}case i.BeforeEntity:{this.stateBeforeEntity(f);break}case i.InHexEntity:{this.stateInHexEntity(f);break}case i.InNumericEntity:{this.stateInNumericEntity(f);break}default:this.stateBeforeNumericEntity(f)}this.index++}this.cleanup()},c.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},c.prototype.handleTrailingData=function(){var f=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===s.CdataEnd?this.cbs.oncdata(this.sectionStart,f,0):this.cbs.oncomment(this.sectionStart,f,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,f)},c.prototype.emitPartial=function(f,b){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(f,b):this.cbs.ontext(f,b)},c.prototype.emitCodePoint=function(f){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(f):this.cbs.ontextentity(f)},c})();t.default=h})(Tokenizer$1)),Tokenizer$1}var hasRequiredParser$2;function requireParser$2(){if(hasRequiredParser$2)return Parser$1;hasRequiredParser$2=1;var t=Parser$1&&Parser$1.__createBinding||(Object.create?(function(w,_,m,A){A===void 0&&(A=m);var g=Object.getOwnPropertyDescriptor(_,m);(!g||("get"in g?!_.__esModule:g.writable||g.configurable))&&(g={enumerable:!0,get:function(){return _[m]}}),Object.defineProperty(w,A,g)}):(function(w,_,m,A){A===void 0&&(A=m),w[A]=_[m]})),e=Parser$1&&Parser$1.__setModuleDefault||(Object.create?(function(w,_){Object.defineProperty(w,"default",{enumerable:!0,value:_})}):function(w,_){w.default=_}),o=Parser$1&&Parser$1.__importStar||function(w){if(w&&w.__esModule)return w;var _={};if(w!=null)for(var m in w)m!=="default"&&Object.prototype.hasOwnProperty.call(w,m)&&t(_,w,m);return e(_,w),_};Object.defineProperty(Parser$1,"__esModule",{value:!0}),Parser$1.Parser=void 0;var i=o(requireTokenizer$1()),l=requireDecode$2(),n=new Set(["input","option","optgroup","select","button","datalist","textarea"]),u=new Set(["p"]),d=new Set(["thead","tbody"]),a=new Set(["dd","dt"]),r=new Set(["rt","rp"]),s=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",u],["h1",u],["h2",u],["h3",u],["h4",u],["h5",u],["h6",u],["select",n],["input",n],["output",n],["button",n],["datalist",n],["textarea",n],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",a],["dt",a],["address",u],["article",u],["aside",u],["blockquote",u],["details",u],["div",u],["dl",u],["fieldset",u],["figcaption",u],["figure",u],["footer",u],["form",u],["header",u],["hr",u],["main",u],["nav",u],["ol",u],["pre",u],["section",u],["table",u],["ul",u],["rt",r],["rp",r],["tbody",d],["tfoot",d]]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),c=new Set(["math","svg"]),f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),b=/\s|\//,y=(function(){function w(_,m){m===void 0&&(m={});var A,g,p,v,C;this.options=m,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=_??{},this.lowerCaseTagNames=(A=m.lowerCaseTags)!==null&&A!==void 0?A:!m.xmlMode,this.lowerCaseAttributeNames=(g=m.lowerCaseAttributeNames)!==null&&g!==void 0?g:!m.xmlMode,this.tokenizer=new((p=m.Tokenizer)!==null&&p!==void 0?p:i.default)(this.options,this),(C=(v=this.cbs).onparserinit)===null||C===void 0||C.call(v,this)}return w.prototype.ontext=function(_,m){var A,g,p=this.getSlice(_,m);this.endIndex=m-1,(g=(A=this.cbs).ontext)===null||g===void 0||g.call(A,p),this.startIndex=m},w.prototype.ontextentity=function(_){var m,A,g=this.tokenizer.getSectionStart();this.endIndex=g-1,(A=(m=this.cbs).ontext)===null||A===void 0||A.call(m,(0,l.fromCodePoint)(_)),this.startIndex=g},w.prototype.isVoidElement=function(_){return!this.options.xmlMode&&h.has(_)},w.prototype.onopentagname=function(_,m){this.endIndex=m;var A=this.getSlice(_,m);this.lowerCaseTagNames&&(A=A.toLowerCase()),this.emitOpenTag(A)},w.prototype.emitOpenTag=function(_){var m,A,g,p;this.openTagStart=this.startIndex,this.tagname=_;var v=!this.options.xmlMode&&s.get(_);if(v)for(;this.stack.length>0&&v.has(this.stack[this.stack.length-1]);){var C=this.stack.pop();(A=(m=this.cbs).onclosetag)===null||A===void 0||A.call(m,C,!0)}this.isVoidElement(_)||(this.stack.push(_),c.has(_)?this.foreignContext.push(!0):f.has(_)&&this.foreignContext.push(!1)),(p=(g=this.cbs).onopentagname)===null||p===void 0||p.call(g,_),this.cbs.onopentag&&(this.attribs={})},w.prototype.endOpenTag=function(_){var m,A;this.startIndex=this.openTagStart,this.attribs&&((A=(m=this.cbs).onopentag)===null||A===void 0||A.call(m,this.tagname,this.attribs,_),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},w.prototype.onopentagend=function(_){this.endIndex=_,this.endOpenTag(!1),this.startIndex=_+1},w.prototype.onclosetag=function(_,m){var A,g,p,v,C,P;this.endIndex=m;var E=this.getSlice(_,m);if(this.lowerCaseTagNames&&(E=E.toLowerCase()),(c.has(E)||f.has(E))&&this.foreignContext.pop(),this.isVoidElement(E))!this.options.xmlMode&&E==="br"&&((g=(A=this.cbs).onopentagname)===null||g===void 0||g.call(A,"br"),(v=(p=this.cbs).onopentag)===null||v===void 0||v.call(p,"br",{},!0),(P=(C=this.cbs).onclosetag)===null||P===void 0||P.call(C,"br",!1));else{var R=this.stack.lastIndexOf(E);if(R!==-1)if(this.cbs.onclosetag)for(var S=this.stack.length-R;S--;)this.cbs.onclosetag(this.stack.pop(),S!==0);else this.stack.length=R;else!this.options.xmlMode&&E==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=m+1},w.prototype.onselfclosingtag=function(_){this.endIndex=_,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=_+1):this.onopentagend(_)},w.prototype.closeCurrentTag=function(_){var m,A,g=this.tagname;this.endOpenTag(_),this.stack[this.stack.length-1]===g&&((A=(m=this.cbs).onclosetag)===null||A===void 0||A.call(m,g,!_),this.stack.pop())},w.prototype.onattribname=function(_,m){this.startIndex=_;var A=this.getSlice(_,m);this.attribname=this.lowerCaseAttributeNames?A.toLowerCase():A},w.prototype.onattribdata=function(_,m){this.attribvalue+=this.getSlice(_,m)},w.prototype.onattribentity=function(_){this.attribvalue+=(0,l.fromCodePoint)(_)},w.prototype.onattribend=function(_,m){var A,g;this.endIndex=m,(g=(A=this.cbs).onattribute)===null||g===void 0||g.call(A,this.attribname,this.attribvalue,_===i.QuoteType.Double?'"':_===i.QuoteType.Single?"'":_===i.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},w.prototype.getInstructionName=function(_){var m=_.search(b),A=m<0?_:_.substr(0,m);return this.lowerCaseTagNames&&(A=A.toLowerCase()),A},w.prototype.ondeclaration=function(_,m){this.endIndex=m;var A=this.getSlice(_,m);if(this.cbs.onprocessinginstruction){var g=this.getInstructionName(A);this.cbs.onprocessinginstruction("!".concat(g),"!".concat(A))}this.startIndex=m+1},w.prototype.onprocessinginstruction=function(_,m){this.endIndex=m;var A=this.getSlice(_,m);if(this.cbs.onprocessinginstruction){var g=this.getInstructionName(A);this.cbs.onprocessinginstruction("?".concat(g),"?".concat(A))}this.startIndex=m+1},w.prototype.oncomment=function(_,m,A){var g,p,v,C;this.endIndex=m,(p=(g=this.cbs).oncomment)===null||p===void 0||p.call(g,this.getSlice(_,m-A)),(C=(v=this.cbs).oncommentend)===null||C===void 0||C.call(v),this.startIndex=m+1},w.prototype.oncdata=function(_,m,A){var g,p,v,C,P,E,R,S,I,x;this.endIndex=m;var M=this.getSlice(_,m-A);this.options.xmlMode||this.options.recognizeCDATA?((p=(g=this.cbs).oncdatastart)===null||p===void 0||p.call(g),(C=(v=this.cbs).ontext)===null||C===void 0||C.call(v,M),(E=(P=this.cbs).oncdataend)===null||E===void 0||E.call(P)):((S=(R=this.cbs).oncomment)===null||S===void 0||S.call(R,"[CDATA[".concat(M,"]]")),(x=(I=this.cbs).oncommentend)===null||x===void 0||x.call(I)),this.startIndex=m+1},w.prototype.onend=function(){var _,m;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var A=this.stack.length;A>0;this.cbs.onclosetag(this.stack[--A],!0));}(m=(_=this.cbs).onend)===null||m===void 0||m.call(_)},w.prototype.reset=function(){var _,m,A,g;(m=(_=this.cbs).onreset)===null||m===void 0||m.call(_),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(g=(A=this.cbs).onparserinit)===null||g===void 0||g.call(A,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},w.prototype.parseComplete=function(_){this.reset(),this.end(_)},w.prototype.getSlice=function(_,m){for(;_-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var A=this.buffers[0].slice(_-this.bufferOffset,m-this.bufferOffset);m-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),A+=this.buffers[0].slice(0,m-this.bufferOffset);return A},w.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},w.prototype.write=function(_){var m,A;if(this.ended){(A=(m=this.cbs).onerror)===null||A===void 0||A.call(m,new Error(".write() after done!"));return}this.buffers.push(_),this.tokenizer.running&&(this.tokenizer.write(_),this.writeIndex++)},w.prototype.end=function(_){var m,A;if(this.ended){(A=(m=this.cbs).onerror)===null||A===void 0||A.call(m,new Error(".end() after done!"));return}_&&this.write(_),this.ended=!0,this.tokenizer.end()},w.prototype.pause=function(){this.tokenizer.pause()},w.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},w.prototype.parseChunk=function(_){this.write(_)},w.prototype.done=function(_){this.end(_)},w})();return Parser$1.Parser=y,Parser$1}var lib$4={},lib$3={},hasRequiredLib$5;function requireLib$5(){return hasRequiredLib$5||(hasRequiredLib$5=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0;var e;(function(i){i.Root="root",i.Text="text",i.Directive="directive",i.Comment="comment",i.Script="script",i.Style="style",i.Tag="tag",i.CDATA="cdata",i.Doctype="doctype"})(e=t.ElementType||(t.ElementType={}));function o(i){return i.type===e.Tag||i.type===e.Script||i.type===e.Style}t.isTag=o,t.Root=e.Root,t.Text=e.Text,t.Directive=e.Directive,t.Comment=e.Comment,t.Script=e.Script,t.Style=e.Style,t.Tag=e.Tag,t.CDATA=e.CDATA,t.Doctype=e.Doctype})(lib$3)),lib$3}var node$1={},hasRequiredNode$1;function requireNode$1(){if(hasRequiredNode$1)return node$1;hasRequiredNode$1=1;var t=node$1&&node$1.__extends||(function(){var p=function(v,C){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,E){P.__proto__=E}||function(P,E){for(var R in E)Object.prototype.hasOwnProperty.call(E,R)&&(P[R]=E[R])},p(v,C)};return function(v,C){if(typeof C!="function"&&C!==null)throw new TypeError("Class extends value "+String(C)+" is not a constructor or null");p(v,C);function P(){this.constructor=v}v.prototype=C===null?Object.create(C):(P.prototype=C.prototype,new P)}})(),e=node$1&&node$1.__assign||function(){return e=Object.assign||function(p){for(var v,C=1,P=arguments.length;C<P;C++){v=arguments[C];for(var E in v)Object.prototype.hasOwnProperty.call(v,E)&&(p[E]=v[E])}return p},e.apply(this,arguments)};Object.defineProperty(node$1,"__esModule",{value:!0}),node$1.cloneNode=node$1.hasChildren=node$1.isDocument=node$1.isDirective=node$1.isComment=node$1.isText=node$1.isCDATA=node$1.isTag=node$1.Element=node$1.Document=node$1.CDATA=node$1.NodeWithChildren=node$1.ProcessingInstruction=node$1.Comment=node$1.Text=node$1.DataNode=node$1.Node=void 0;var o=requireLib$5(),i=(function(){function p(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(p.prototype,"parentNode",{get:function(){return this.parent},set:function(v){this.parent=v},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"previousSibling",{get:function(){return this.prev},set:function(v){this.prev=v},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"nextSibling",{get:function(){return this.next},set:function(v){this.next=v},enumerable:!1,configurable:!0}),p.prototype.cloneNode=function(v){return v===void 0&&(v=!1),A(this,v)},p})();node$1.Node=i;var l=(function(p){t(v,p);function v(C){var P=p.call(this)||this;return P.data=C,P}return Object.defineProperty(v.prototype,"nodeValue",{get:function(){return this.data},set:function(C){this.data=C},enumerable:!1,configurable:!0}),v})(i);node$1.DataNode=l;var n=(function(p){t(v,p);function v(){var C=p!==null&&p.apply(this,arguments)||this;return C.type=o.ElementType.Text,C}return Object.defineProperty(v.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),v})(l);node$1.Text=n;var u=(function(p){t(v,p);function v(){var C=p!==null&&p.apply(this,arguments)||this;return C.type=o.ElementType.Comment,C}return Object.defineProperty(v.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),v})(l);node$1.Comment=u;var d=(function(p){t(v,p);function v(C,P){var E=p.call(this,P)||this;return E.name=C,E.type=o.ElementType.Directive,E}return Object.defineProperty(v.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),v})(l);node$1.ProcessingInstruction=d;var a=(function(p){t(v,p);function v(C){var P=p.call(this)||this;return P.children=C,P}return Object.defineProperty(v.prototype,"firstChild",{get:function(){var C;return(C=this.children[0])!==null&&C!==void 0?C:null},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"childNodes",{get:function(){return this.children},set:function(C){this.children=C},enumerable:!1,configurable:!0}),v})(i);node$1.NodeWithChildren=a;var r=(function(p){t(v,p);function v(){var C=p!==null&&p.apply(this,arguments)||this;return C.type=o.ElementType.CDATA,C}return Object.defineProperty(v.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),v})(a);node$1.CDATA=r;var s=(function(p){t(v,p);function v(){var C=p!==null&&p.apply(this,arguments)||this;return C.type=o.ElementType.Root,C}return Object.defineProperty(v.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),v})(a);node$1.Document=s;var h=(function(p){t(v,p);function v(C,P,E,R){E===void 0&&(E=[]),R===void 0&&(R=C==="script"?o.ElementType.Script:C==="style"?o.ElementType.Style:o.ElementType.Tag);var S=p.call(this,E)||this;return S.name=C,S.attribs=P,S.type=R,S}return Object.defineProperty(v.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"tagName",{get:function(){return this.name},set:function(C){this.name=C},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"attributes",{get:function(){var C=this;return Object.keys(this.attribs).map(function(P){var E,R;return{name:P,value:C.attribs[P],namespace:(E=C["x-attribsNamespace"])===null||E===void 0?void 0:E[P],prefix:(R=C["x-attribsPrefix"])===null||R===void 0?void 0:R[P]}})},enumerable:!1,configurable:!0}),v})(a);node$1.Element=h;function c(p){return(0,o.isTag)(p)}node$1.isTag=c;function f(p){return p.type===o.ElementType.CDATA}node$1.isCDATA=f;function b(p){return p.type===o.ElementType.Text}node$1.isText=b;function y(p){return p.type===o.ElementType.Comment}node$1.isComment=y;function w(p){return p.type===o.ElementType.Directive}node$1.isDirective=w;function _(p){return p.type===o.ElementType.Root}node$1.isDocument=_;function m(p){return Object.prototype.hasOwnProperty.call(p,"children")}node$1.hasChildren=m;function A(p,v){v===void 0&&(v=!1);var C;if(b(p))C=new n(p.data);else if(y(p))C=new u(p.data);else if(c(p)){var P=v?g(p.children):[],E=new h(p.name,e({},p.attribs),P);P.forEach(function(x){return x.parent=E}),p.namespace!=null&&(E.namespace=p.namespace),p["x-attribsNamespace"]&&(E["x-attribsNamespace"]=e({},p["x-attribsNamespace"])),p["x-attribsPrefix"]&&(E["x-attribsPrefix"]=e({},p["x-attribsPrefix"])),C=E}else if(f(p)){var P=v?g(p.children):[],R=new r(P);P.forEach(function(M){return M.parent=R}),C=R}else if(_(p)){var P=v?g(p.children):[],S=new s(P);P.forEach(function(M){return M.parent=S}),p["x-mode"]&&(S["x-mode"]=p["x-mode"]),C=S}else if(w(p)){var I=new d(p.name,p.data);p["x-name"]!=null&&(I["x-name"]=p["x-name"],I["x-publicId"]=p["x-publicId"],I["x-systemId"]=p["x-systemId"]),C=I}else throw new Error("Not implemented yet: ".concat(p.type));return C.startIndex=p.startIndex,C.endIndex=p.endIndex,p.sourceCodeLocation!=null&&(C.sourceCodeLocation=p.sourceCodeLocation),C}node$1.cloneNode=A;function g(p){for(var v=p.map(function(P){return A(P,!0)}),C=1;C<v.length;C++)v[C].prev=v[C-1],v[C-1].next=v[C];return v}return node$1}var hasRequiredLib$4;function requireLib$4(){return hasRequiredLib$4||(hasRequiredLib$4=1,(function(t){var e=lib$4&&lib$4.__createBinding||(Object.create?(function(d,a,r,s){s===void 0&&(s=r);var h=Object.getOwnPropertyDescriptor(a,r);(!h||("get"in h?!a.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return a[r]}}),Object.defineProperty(d,s,h)}):(function(d,a,r,s){s===void 0&&(s=r),d[s]=a[r]})),o=lib$4&&lib$4.__exportStar||function(d,a){for(var r in d)r!=="default"&&!Object.prototype.hasOwnProperty.call(a,r)&&e(a,d,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=requireLib$5(),l=requireNode$1();o(requireNode$1(),t);var n={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},u=(function(){function d(a,r,s){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(s=r,r=n),typeof a=="object"&&(r=a,a=void 0),this.callback=a??null,this.options=r??n,this.elementCB=s??null}return d.prototype.onparserinit=function(a){this.parser=a},d.prototype.onreset=function(){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},d.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},d.prototype.onerror=function(a){this.handleCallback(a)},d.prototype.onclosetag=function(){this.lastNode=null;var a=this.tagStack.pop();this.options.withEndIndices&&(a.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(a)},d.prototype.onopentag=function(a,r){var s=this.options.xmlMode?i.ElementType.Tag:void 0,h=new l.Element(a,r,void 0,s);this.addNode(h),this.tagStack.push(h)},d.prototype.ontext=function(a){var r=this.lastNode;if(r&&r.type===i.ElementType.Text)r.data+=a,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{var s=new l.Text(a);this.addNode(s),this.lastNode=s}},d.prototype.oncomment=function(a){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment){this.lastNode.data+=a;return}var r=new l.Comment(a);this.addNode(r),this.lastNode=r},d.prototype.oncommentend=function(){this.lastNode=null},d.prototype.oncdatastart=function(){var a=new l.Text(""),r=new l.CDATA([a]);this.addNode(r),a.parent=r,this.lastNode=a},d.prototype.oncdataend=function(){this.lastNode=null},d.prototype.onprocessinginstruction=function(a,r){var s=new l.ProcessingInstruction(a,r);this.addNode(s)},d.prototype.handleCallback=function(a){if(typeof this.callback=="function")this.callback(a,this.dom);else if(a)throw a},d.prototype.addNode=function(a){var r=this.tagStack[this.tagStack.length-1],s=r.children[r.children.length-1];this.options.withStartIndices&&(a.startIndex=this.parser.startIndex),this.options.withEndIndices&&(a.endIndex=this.parser.endIndex),r.children.push(a),s&&(a.prev=s,s.next=a),a.parent=r,this.lastNode=null},d})();t.DomHandler=u,t.default=u})(lib$4)),lib$4}var lib$2={},stringify={},lib$1={},lib={},decode$1={},decodeDataHtml$1={},hasRequiredDecodeDataHtml$1;function requireDecodeDataHtml$1(){return hasRequiredDecodeDataHtml$1||(hasRequiredDecodeDataHtml$1=1,Object.defineProperty(decodeDataHtml$1,"__esModule",{value:!0}),decodeDataHtml$1.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(t){return t.charCodeAt(0)}))),decodeDataHtml$1}var decodeDataXml$1={},hasRequiredDecodeDataXml$1;function requireDecodeDataXml$1(){return hasRequiredDecodeDataXml$1||(hasRequiredDecodeDataXml$1=1,Object.defineProperty(decodeDataXml$1,"__esModule",{value:!0}),decodeDataXml$1.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(t){return t.charCodeAt(0)}))),decodeDataXml$1}var decode_codepoint={},hasRequiredDecode_codepoint;function requireDecode_codepoint(){return hasRequiredDecode_codepoint||(hasRequiredDecode_codepoint=1,(function(t){var e;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var o=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);t.fromCodePoint=(e=String.fromCodePoint)!==null&&e!==void 0?e:function(n){var u="";return n>65535&&(n-=65536,u+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023),u+=String.fromCharCode(n),u};function i(n){var u;return n>=55296&&n<=57343||n>1114111?65533:(u=o.get(n))!==null&&u!==void 0?u:n}t.replaceCodePoint=i;function l(n){return(0,t.fromCodePoint)(i(n))}t.default=l})(decode_codepoint)),decode_codepoint}var hasRequiredDecode$1;function requireDecode$1(){return hasRequiredDecode$1||(hasRequiredDecode$1=1,(function(t){var e=decode$1&&decode$1.__createBinding||(Object.create?(function(S,I,x,M){M===void 0&&(M=x);var D=Object.getOwnPropertyDescriptor(I,x);(!D||("get"in D?!I.__esModule:D.writable||D.configurable))&&(D={enumerable:!0,get:function(){return I[x]}}),Object.defineProperty(S,M,D)}):(function(S,I,x,M){M===void 0&&(M=x),S[M]=I[x]})),o=decode$1&&decode$1.__setModuleDefault||(Object.create?(function(S,I){Object.defineProperty(S,"default",{enumerable:!0,value:I})}):function(S,I){S.default=I}),i=decode$1&&decode$1.__importStar||function(S){if(S&&S.__esModule)return S;var I={};if(S!=null)for(var x in S)x!=="default"&&Object.prototype.hasOwnProperty.call(S,x)&&e(I,S,x);return o(I,S),I},l=decode$1&&decode$1.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var n=l(requireDecodeDataHtml$1());t.htmlDecodeTree=n.default;var u=l(requireDecodeDataXml$1());t.xmlDecodeTree=u.default;var d=i(requireDecode_codepoint());t.decodeCodePoint=d.default;var a=requireDecode_codepoint();Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return a.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return a.fromCodePoint}});var r;(function(S){S[S.NUM=35]="NUM",S[S.SEMI=59]="SEMI",S[S.EQUALS=61]="EQUALS",S[S.ZERO=48]="ZERO",S[S.NINE=57]="NINE",S[S.LOWER_A=97]="LOWER_A",S[S.LOWER_F=102]="LOWER_F",S[S.LOWER_X=120]="LOWER_X",S[S.LOWER_Z=122]="LOWER_Z",S[S.UPPER_A=65]="UPPER_A",S[S.UPPER_F=70]="UPPER_F",S[S.UPPER_Z=90]="UPPER_Z"})(r||(r={}));var s=32,h;(function(S){S[S.VALUE_LENGTH=49152]="VALUE_LENGTH",S[S.BRANCH_LENGTH=16256]="BRANCH_LENGTH",S[S.JUMP_TABLE=127]="JUMP_TABLE"})(h=t.BinTrieFlags||(t.BinTrieFlags={}));function c(S){return S>=r.ZERO&&S<=r.NINE}function f(S){return S>=r.UPPER_A&&S<=r.UPPER_F||S>=r.LOWER_A&&S<=r.LOWER_F}function b(S){return S>=r.UPPER_A&&S<=r.UPPER_Z||S>=r.LOWER_A&&S<=r.LOWER_Z||c(S)}function y(S){return S===r.EQUALS||b(S)}var w;(function(S){S[S.EntityStart=0]="EntityStart",S[S.NumericStart=1]="NumericStart",S[S.NumericDecimal=2]="NumericDecimal",S[S.NumericHex=3]="NumericHex",S[S.NamedEntity=4]="NamedEntity"})(w||(w={}));var _;(function(S){S[S.Legacy=0]="Legacy",S[S.Strict=1]="Strict",S[S.Attribute=2]="Attribute"})(_=t.DecodingMode||(t.DecodingMode={}));var m=(function(){function S(I,x,M){this.decodeTree=I,this.emitCodePoint=x,this.errors=M,this.state=w.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=_.Strict}return S.prototype.startEntity=function(I){this.decodeMode=I,this.state=w.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},S.prototype.write=function(I,x){switch(this.state){case w.EntityStart:return I.charCodeAt(x)===r.NUM?(this.state=w.NumericStart,this.consumed+=1,this.stateNumericStart(I,x+1)):(this.state=w.NamedEntity,this.stateNamedEntity(I,x));case w.NumericStart:return this.stateNumericStart(I,x);case w.NumericDecimal:return this.stateNumericDecimal(I,x);case w.NumericHex:return this.stateNumericHex(I,x);case w.NamedEntity:return this.stateNamedEntity(I,x)}},S.prototype.stateNumericStart=function(I,x){return x>=I.length?-1:(I.charCodeAt(x)|s)===r.LOWER_X?(this.state=w.NumericHex,this.consumed+=1,this.stateNumericHex(I,x+1)):(this.state=w.NumericDecimal,this.stateNumericDecimal(I,x))},S.prototype.addToNumericResult=function(I,x,M,D){if(x!==M){var H=M-x;this.result=this.result*Math.pow(D,H)+parseInt(I.substr(x,H),D),this.consumed+=H}},S.prototype.stateNumericHex=function(I,x){for(var M=x;x<I.length;){var D=I.charCodeAt(x);if(c(D)||f(D))x+=1;else return this.addToNumericResult(I,M,x,16),this.emitNumericEntity(D,3)}return this.addToNumericResult(I,M,x,16),-1},S.prototype.stateNumericDecimal=function(I,x){for(var M=x;x<I.length;){var D=I.charCodeAt(x);if(c(D))x+=1;else return this.addToNumericResult(I,M,x,10),this.emitNumericEntity(D,2)}return this.addToNumericResult(I,M,x,10),-1},S.prototype.emitNumericEntity=function(I,x){var M;if(this.consumed<=x)return(M=this.errors)===null||M===void 0||M.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(I===r.SEMI)this.consumed+=1;else if(this.decodeMode===_.Strict)return 0;return this.emitCodePoint((0,d.replaceCodePoint)(this.result),this.consumed),this.errors&&(I!==r.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},S.prototype.stateNamedEntity=function(I,x){for(var M=this.decodeTree,D=M[this.treeIndex],H=(D&h.VALUE_LENGTH)>>14;x<I.length;x++,this.excess++){var U=I.charCodeAt(x);if(this.treeIndex=g(M,D,this.treeIndex+Math.max(1,H),U),this.treeIndex<0)return this.result===0||this.decodeMode===_.Attribute&&(H===0||y(U))?0:this.emitNotTerminatedNamedEntity();if(D=M[this.treeIndex],H=(D&h.VALUE_LENGTH)>>14,H!==0){if(U===r.SEMI)return this.emitNamedEntityData(this.treeIndex,H,this.consumed+this.excess);this.decodeMode!==_.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},S.prototype.emitNotTerminatedNamedEntity=function(){var I,x=this,M=x.result,D=x.decodeTree,H=(D[M]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(M,H,this.consumed),(I=this.errors)===null||I===void 0||I.missingSemicolonAfterCharacterReference(),this.consumed},S.prototype.emitNamedEntityData=function(I,x,M){var D=this.decodeTree;return this.emitCodePoint(x===1?D[I]&~h.VALUE_LENGTH:D[I+1],M),x===3&&this.emitCodePoint(D[I+2],M),M},S.prototype.end=function(){var I;switch(this.state){case w.NamedEntity:return this.result!==0&&(this.decodeMode!==_.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case w.NumericDecimal:return this.emitNumericEntity(0,2);case w.NumericHex:return this.emitNumericEntity(0,3);case w.NumericStart:return(I=this.errors)===null||I===void 0||I.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case w.EntityStart:return 0}},S})();t.EntityDecoder=m;function A(S){var I="",x=new m(S,function(M){return I+=(0,d.fromCodePoint)(M)});return function(D,H){for(var U=0,B=0;(B=D.indexOf("&",B))>=0;){I+=D.slice(U,B),x.startEntity(H);var V=x.write(D,B+1);if(V<0){U=B+x.end();break}U=B+V,B=V===0?U+1:U}var F=I+D.slice(U);return I="",F}}function g(S,I,x,M){var D=(I&h.BRANCH_LENGTH)>>7,H=I&h.JUMP_TABLE;if(D===0)return H!==0&&M===H?x:-1;if(H){var U=M-H;return U<0||U>=D?-1:S[x+U]-1}for(var B=x,V=B+D-1;B<=V;){var F=B+V>>>1,j=S[F];if(j<M)B=F+1;else if(j>M)V=F-1;else return S[F+D]}return-1}t.determineBranch=g;var p=A(n.default),v=A(u.default);function C(S,I){return I===void 0&&(I=_.Legacy),p(S,I)}t.decodeHTML=C;function P(S){return p(S,_.Attribute)}t.decodeHTMLAttribute=P;function E(S){return p(S,_.Strict)}t.decodeHTMLStrict=E;function R(S){return v(S,_.Strict)}t.decodeXML=R})(decode$1)),decode$1}var encode={},encodeHtml={},hasRequiredEncodeHtml;function requireEncodeHtml(){if(hasRequiredEncodeHtml)return encodeHtml;hasRequiredEncodeHtml=1,Object.defineProperty(encodeHtml,"__esModule",{value:!0});function t(e){for(var o=1;o<e.length;o++)e[o][0]+=e[o-1][0]+1;return e}return encodeHtml.default=new Map(t([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(t([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(t([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(t([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]])),encodeHtml}var _escape={},hasRequired_escape;function require_escape(){return hasRequired_escape||(hasRequired_escape=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var e=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);t.getCodePoint=String.prototype.codePointAt!=null?function(l,n){return l.codePointAt(n)}:function(l,n){return(l.charCodeAt(n)&64512)===55296?(l.charCodeAt(n)-55296)*1024+l.charCodeAt(n+1)-56320+65536:l.charCodeAt(n)};function o(l){for(var n="",u=0,d;(d=t.xmlReplacer.exec(l))!==null;){var a=d.index,r=l.charCodeAt(a),s=e.get(r);s!==void 0?(n+=l.substring(u,a)+s,u=a+1):(n+="".concat(l.substring(u,a),"&#x").concat((0,t.getCodePoint)(l,a).toString(16),";"),u=t.xmlReplacer.lastIndex+=+((r&64512)===55296))}return n+l.substr(u)}t.encodeXML=o,t.escape=o;function i(l,n){return function(d){for(var a,r=0,s="";a=l.exec(d);)r!==a.index&&(s+=d.substring(r,a.index)),s+=n.get(a[0].charCodeAt(0)),r=a.index+1;return s+d.substring(r)}}t.escapeUTF8=i(/[&<>'"]/g,e),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))})(_escape)),_escape}var hasRequiredEncode;function requireEncode(){if(hasRequiredEncode)return encode;hasRequiredEncode=1;var t=encode&&encode.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(encode,"__esModule",{value:!0}),encode.encodeNonAsciiHTML=encode.encodeHTML=void 0;var e=t(requireEncodeHtml()),o=require_escape(),i=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function l(d){return u(i,d)}encode.encodeHTML=l;function n(d){return u(o.xmlReplacer,d)}encode.encodeNonAsciiHTML=n;function u(d,a){for(var r="",s=0,h;(h=d.exec(a))!==null;){var c=h.index;r+=a.substring(s,c);var f=a.charCodeAt(c),b=e.default.get(f);if(typeof b=="object"){if(c+1<a.length){var y=a.charCodeAt(c+1),w=typeof b.n=="number"?b.n===y?b.o:void 0:b.n.get(y);if(w!==void 0){r+=w,s=d.lastIndex+=1;continue}}b=b.v}if(b!==void 0)r+=b,s=c+1;else{var _=(0,o.getCodePoint)(a,c);r+="&#x".concat(_.toString(16),";"),s=d.lastIndex+=+(_!==f)}}return r+a.substr(s)}return encode}var hasRequiredLib$3;function requireLib$3(){return hasRequiredLib$3||(hasRequiredLib$3=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var e=requireDecode$1(),o=requireEncode(),i=require_escape(),l;(function(c){c[c.XML=0]="XML",c[c.HTML=1]="HTML"})(l=t.EntityLevel||(t.EntityLevel={}));var n;(function(c){c[c.UTF8=0]="UTF8",c[c.ASCII=1]="ASCII",c[c.Extensive=2]="Extensive",c[c.Attribute=3]="Attribute",c[c.Text=4]="Text"})(n=t.EncodingMode||(t.EncodingMode={}));function u(c,f){f===void 0&&(f=l.XML);var b=typeof f=="number"?f:f.level;if(b===l.HTML){var y=typeof f=="object"?f.mode:void 0;return(0,e.decodeHTML)(c,y)}return(0,e.decodeXML)(c)}t.decode=u;function d(c,f){var b;f===void 0&&(f=l.XML);var y=typeof f=="number"?{level:f}:f;return(b=y.mode)!==null&&b!==void 0||(y.mode=e.DecodingMode.Strict),u(c,y)}t.decodeStrict=d;function a(c,f){f===void 0&&(f=l.XML);var b=typeof f=="number"?{level:f}:f;return b.mode===n.UTF8?(0,i.escapeUTF8)(c):b.mode===n.Attribute?(0,i.escapeAttribute)(c):b.mode===n.Text?(0,i.escapeText)(c):b.level===l.HTML?b.mode===n.ASCII?(0,o.encodeNonAsciiHTML)(c):(0,o.encodeHTML)(c):(0,i.encodeXML)(c)}t.encode=a;var r=require_escape();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return r.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return r.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return r.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return r.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return r.escapeText}});var s=requireEncode();Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var h=requireDecode$1();Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return h.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return h.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return h.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return h.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return h.decodeXML}})})(lib)),lib}var foreignNames={},hasRequiredForeignNames;function requireForeignNames(){return hasRequiredForeignNames||(hasRequiredForeignNames=1,Object.defineProperty(foreignNames,"__esModule",{value:!0}),foreignNames.attributeNames=foreignNames.elementNames=void 0,foreignNames.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(t){return[t.toLowerCase(),t]})),foreignNames.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(t){return[t.toLowerCase(),t]}))),foreignNames}var hasRequiredLib$2;function requireLib$2(){if(hasRequiredLib$2)return lib$1;hasRequiredLib$2=1;var t=lib$1&&lib$1.__assign||function(){return t=Object.assign||function(g){for(var p,v=1,C=arguments.length;v<C;v++){p=arguments[v];for(var P in p)Object.prototype.hasOwnProperty.call(p,P)&&(g[P]=p[P])}return g},t.apply(this,arguments)},e=lib$1&&lib$1.__createBinding||(Object.create?(function(g,p,v,C){C===void 0&&(C=v);var P=Object.getOwnPropertyDescriptor(p,v);(!P||("get"in P?!p.__esModule:P.writable||P.configurable))&&(P={enumerable:!0,get:function(){return p[v]}}),Object.defineProperty(g,C,P)}):(function(g,p,v,C){C===void 0&&(C=v),g[C]=p[v]})),o=lib$1&&lib$1.__setModuleDefault||(Object.create?(function(g,p){Object.defineProperty(g,"default",{enumerable:!0,value:p})}):function(g,p){g.default=p}),i=lib$1&&lib$1.__importStar||function(g){if(g&&g.__esModule)return g;var p={};if(g!=null)for(var v in g)v!=="default"&&Object.prototype.hasOwnProperty.call(g,v)&&e(p,g,v);return o(p,g),p};Object.defineProperty(lib$1,"__esModule",{value:!0}),lib$1.render=void 0;var l=i(requireLib$5()),n=requireLib$3(),u=requireForeignNames(),d=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function a(g){return g.replace(/"/g,"&quot;")}function r(g,p){var v;if(g){var C=((v=p.encodeEntities)!==null&&v!==void 0?v:p.decodeEntities)===!1?a:p.xmlMode||p.encodeEntities!=="utf8"?n.encodeXML:n.escapeAttribute;return Object.keys(g).map(function(P){var E,R,S=(E=g[P])!==null&&E!==void 0?E:"";return p.xmlMode==="foreign"&&(P=(R=u.attributeNames.get(P))!==null&&R!==void 0?R:P),!p.emptyAttrs&&!p.xmlMode&&S===""?P:"".concat(P,'="').concat(C(S),'"')}).join(" ")}}var s=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function h(g,p){p===void 0&&(p={});for(var v=("length"in g)?g:[g],C="",P=0;P<v.length;P++)C+=c(v[P],p);return C}lib$1.render=h,lib$1.default=h;function c(g,p){switch(g.type){case l.Root:return h(g.children,p);case l.Doctype:case l.Directive:return w(g);case l.Comment:return A(g);case l.CDATA:return m(g);case l.Script:case l.Style:case l.Tag:return y(g,p);case l.Text:return _(g,p)}}var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),b=new Set(["svg","math"]);function y(g,p){var v;p.xmlMode==="foreign"&&(g.name=(v=u.elementNames.get(g.name))!==null&&v!==void 0?v:g.name,g.parent&&f.has(g.parent.name)&&(p=t(t({},p),{xmlMode:!1}))),!p.xmlMode&&b.has(g.name)&&(p=t(t({},p),{xmlMode:"foreign"}));var C="<".concat(g.name),P=r(g.attribs,p);return P&&(C+=" ".concat(P)),g.children.length===0&&(p.xmlMode?p.selfClosingTags!==!1:p.selfClosingTags&&s.has(g.name))?(p.xmlMode||(C+=" "),C+="/>"):(C+=">",g.children.length>0&&(C+=h(g.children,p)),(p.xmlMode||!s.has(g.name))&&(C+="</".concat(g.name,">"))),C}function w(g){return"<".concat(g.data,">")}function _(g,p){var v,C=g.data||"";return((v=p.encodeEntities)!==null&&v!==void 0?v:p.decodeEntities)!==!1&&!(!p.xmlMode&&g.parent&&d.has(g.parent.name))&&(C=p.xmlMode||p.encodeEntities!=="utf8"?(0,n.encodeXML)(C):(0,n.escapeText)(C)),C}function m(g){return"<![CDATA[".concat(g.children[0].data,"]]>")}function A(g){return"<!--".concat(g.data,"-->")}return lib$1}var hasRequiredStringify$1;function requireStringify$1(){if(hasRequiredStringify$1)return stringify;hasRequiredStringify$1=1;var t=stringify&&stringify.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(stringify,"__esModule",{value:!0}),stringify.getOuterHTML=l,stringify.getInnerHTML=n,stringify.getText=u,stringify.textContent=d,stringify.innerText=a;var e=requireLib$4(),o=t(requireLib$2()),i=requireLib$5();function l(r,s){return(0,o.default)(r,s)}function n(r,s){return(0,e.hasChildren)(r)?r.children.map(function(h){return l(h,s)}).join(""):""}function u(r){return Array.isArray(r)?r.map(u).join(""):(0,e.isTag)(r)?r.name==="br"?`
22
+ `:u(r.children):(0,e.isCDATA)(r)?u(r.children):(0,e.isText)(r)?r.data:""}function d(r){return Array.isArray(r)?r.map(d).join(""):(0,e.hasChildren)(r)&&!(0,e.isComment)(r)?d(r.children):(0,e.isText)(r)?r.data:""}function a(r){return Array.isArray(r)?r.map(a).join(""):(0,e.hasChildren)(r)&&(r.type===i.ElementType.Tag||(0,e.isCDATA)(r))?a(r.children):(0,e.isText)(r)?r.data:""}return stringify}var traversal={},hasRequiredTraversal;function requireTraversal(){if(hasRequiredTraversal)return traversal;hasRequiredTraversal=1,Object.defineProperty(traversal,"__esModule",{value:!0}),traversal.getChildren=e,traversal.getParent=o,traversal.getSiblings=i,traversal.getAttributeValue=l,traversal.hasAttrib=n,traversal.getName=u,traversal.nextElementSibling=d,traversal.prevElementSibling=a;var t=requireLib$4();function e(r){return(0,t.hasChildren)(r)?r.children:[]}function o(r){return r.parent||null}function i(r){var s,h,c=o(r);if(c!=null)return e(c);for(var f=[r],b=r.prev,y=r.next;b!=null;)f.unshift(b),s=b,b=s.prev;for(;y!=null;)f.push(y),h=y,y=h.next;return f}function l(r,s){var h;return(h=r.attribs)===null||h===void 0?void 0:h[s]}function n(r,s){return r.attribs!=null&&Object.prototype.hasOwnProperty.call(r.attribs,s)&&r.attribs[s]!=null}function u(r){return r.name}function d(r){for(var s,h=r.next;h!==null&&!(0,t.isTag)(h);)s=h,h=s.next;return h}function a(r){for(var s,h=r.prev;h!==null&&!(0,t.isTag)(h);)s=h,h=s.prev;return h}return traversal}var manipulation={},hasRequiredManipulation;function requireManipulation(){if(hasRequiredManipulation)return manipulation;hasRequiredManipulation=1,Object.defineProperty(manipulation,"__esModule",{value:!0}),manipulation.removeElement=t,manipulation.replaceElement=e,manipulation.appendChild=o,manipulation.append=i,manipulation.prependChild=l,manipulation.prepend=n;function t(u){if(u.prev&&(u.prev.next=u.next),u.next&&(u.next.prev=u.prev),u.parent){var d=u.parent.children,a=d.lastIndexOf(u);a>=0&&d.splice(a,1)}u.next=null,u.prev=null,u.parent=null}function e(u,d){var a=d.prev=u.prev;a&&(a.next=d);var r=d.next=u.next;r&&(r.prev=d);var s=d.parent=u.parent;if(s){var h=s.children;h[h.lastIndexOf(u)]=d,u.parent=null}}function o(u,d){if(t(d),d.next=null,d.parent=u,u.children.push(d)>1){var a=u.children[u.children.length-2];a.next=d,d.prev=a}else d.prev=null}function i(u,d){t(d);var a=u.parent,r=u.next;if(d.next=r,d.prev=u,u.next=d,d.parent=a,r){if(r.prev=d,a){var s=a.children;s.splice(s.lastIndexOf(r),0,d)}}else a&&a.children.push(d)}function l(u,d){if(t(d),d.parent=u,d.prev=null,u.children.unshift(d)!==1){var a=u.children[1];a.prev=d,d.next=a}else d.next=null}function n(u,d){t(d);var a=u.parent;if(a){var r=a.children;r.splice(r.indexOf(u),0,d)}u.prev&&(u.prev.next=d),d.parent=a,d.prev=u.prev,d.next=u,u.prev=d}return manipulation}var querying={},hasRequiredQuerying;function requireQuerying(){if(hasRequiredQuerying)return querying;hasRequiredQuerying=1,Object.defineProperty(querying,"__esModule",{value:!0}),querying.filter=e,querying.find=o,querying.findOneChild=i,querying.findOne=l,querying.existsOne=n,querying.findAll=u;var t=requireLib$4();function e(d,a,r,s){return r===void 0&&(r=!0),s===void 0&&(s=1/0),o(d,Array.isArray(a)?a:[a],r,s)}function o(d,a,r,s){for(var h=[],c=[Array.isArray(a)?a:[a]],f=[0];;){if(f[0]>=c[0].length){if(f.length===1)return h;c.shift(),f.shift();continue}var b=c[0][f[0]++];if(d(b)&&(h.push(b),--s<=0))return h;r&&(0,t.hasChildren)(b)&&b.children.length>0&&(f.unshift(0),c.unshift(b.children))}}function i(d,a){return a.find(d)}function l(d,a,r){r===void 0&&(r=!0);for(var s=Array.isArray(a)?a:[a],h=0;h<s.length;h++){var c=s[h];if((0,t.isTag)(c)&&d(c))return c;if(r&&(0,t.hasChildren)(c)&&c.children.length>0){var f=l(d,c.children,!0);if(f)return f}}return null}function n(d,a){return(Array.isArray(a)?a:[a]).some(function(r){return(0,t.isTag)(r)&&d(r)||(0,t.hasChildren)(r)&&n(d,r.children)})}function u(d,a){for(var r=[],s=[Array.isArray(a)?a:[a]],h=[0];;){if(h[0]>=s[0].length){if(s.length===1)return r;s.shift(),h.shift();continue}var c=s[0][h[0]++];(0,t.isTag)(c)&&d(c)&&r.push(c),(0,t.hasChildren)(c)&&c.children.length>0&&(h.unshift(0),s.unshift(c.children))}}return querying}var legacy={},hasRequiredLegacy;function requireLegacy(){if(hasRequiredLegacy)return legacy;hasRequiredLegacy=1,Object.defineProperty(legacy,"__esModule",{value:!0}),legacy.testElement=u,legacy.getElements=d,legacy.getElementById=a,legacy.getElementsByTagName=r,legacy.getElementsByClassName=s,legacy.getElementsByTagType=h;var t=requireLib$4(),e=requireQuerying(),o={tag_name:function(c){return typeof c=="function"?function(f){return(0,t.isTag)(f)&&c(f.name)}:c==="*"?t.isTag:function(f){return(0,t.isTag)(f)&&f.name===c}},tag_type:function(c){return typeof c=="function"?function(f){return c(f.type)}:function(f){return f.type===c}},tag_contains:function(c){return typeof c=="function"?function(f){return(0,t.isText)(f)&&c(f.data)}:function(f){return(0,t.isText)(f)&&f.data===c}}};function i(c,f){return typeof f=="function"?function(b){return(0,t.isTag)(b)&&f(b.attribs[c])}:function(b){return(0,t.isTag)(b)&&b.attribs[c]===f}}function l(c,f){return function(b){return c(b)||f(b)}}function n(c){var f=Object.keys(c).map(function(b){var y=c[b];return Object.prototype.hasOwnProperty.call(o,b)?o[b](y):i(b,y)});return f.length===0?null:f.reduce(l)}function u(c,f){var b=n(c);return b?b(f):!0}function d(c,f,b,y){y===void 0&&(y=1/0);var w=n(c);return w?(0,e.filter)(w,f,b,y):[]}function a(c,f,b){return b===void 0&&(b=!0),Array.isArray(f)||(f=[f]),(0,e.findOne)(i("id",c),f,b)}function r(c,f,b,y){return b===void 0&&(b=!0),y===void 0&&(y=1/0),(0,e.filter)(o.tag_name(c),f,b,y)}function s(c,f,b,y){return b===void 0&&(b=!0),y===void 0&&(y=1/0),(0,e.filter)(i("class",c),f,b,y)}function h(c,f,b,y){return b===void 0&&(b=!0),y===void 0&&(y=1/0),(0,e.filter)(o.tag_type(c),f,b,y)}return legacy}var helpers={},hasRequiredHelpers;function requireHelpers(){if(hasRequiredHelpers)return helpers;hasRequiredHelpers=1,Object.defineProperty(helpers,"__esModule",{value:!0}),helpers.DocumentPosition=void 0,helpers.removeSubsets=e,helpers.compareDocumentPosition=i,helpers.uniqueSort=l;var t=requireLib$4();function e(n){for(var u=n.length;--u>=0;){var d=n[u];if(u>0&&n.lastIndexOf(d,u-1)>=0){n.splice(u,1);continue}for(var a=d.parent;a;a=a.parent)if(n.includes(a)){n.splice(u,1);break}}return n}var o;(function(n){n[n.DISCONNECTED=1]="DISCONNECTED",n[n.PRECEDING=2]="PRECEDING",n[n.FOLLOWING=4]="FOLLOWING",n[n.CONTAINS=8]="CONTAINS",n[n.CONTAINED_BY=16]="CONTAINED_BY"})(o||(helpers.DocumentPosition=o={}));function i(n,u){var d=[],a=[];if(n===u)return 0;for(var r=(0,t.hasChildren)(n)?n:n.parent;r;)d.unshift(r),r=r.parent;for(r=(0,t.hasChildren)(u)?u:u.parent;r;)a.unshift(r),r=r.parent;for(var s=Math.min(d.length,a.length),h=0;h<s&&d[h]===a[h];)h++;if(h===0)return o.DISCONNECTED;var c=d[h-1],f=c.children,b=d[h],y=a[h];return f.indexOf(b)>f.indexOf(y)?c===u?o.FOLLOWING|o.CONTAINED_BY:o.FOLLOWING:c===n?o.PRECEDING|o.CONTAINS:o.PRECEDING}function l(n){return n=n.filter(function(u,d,a){return!a.includes(u,d+1)}),n.sort(function(u,d){var a=i(u,d);return a&o.PRECEDING?-1:a&o.FOLLOWING?1:0}),n}return helpers}var feeds={},hasRequiredFeeds;function requireFeeds(){if(hasRequiredFeeds)return feeds;hasRequiredFeeds=1,Object.defineProperty(feeds,"__esModule",{value:!0}),feeds.getFeed=o;var t=requireStringify$1(),e=requireLegacy();function o(c){var f=a(h,c);return f?f.name==="feed"?i(f):l(f):null}function i(c){var f,b=c.children,y={type:"atom",items:(0,e.getElementsByTagName)("entry",b).map(function(m){var A,g=m.children,p={media:d(g)};s(p,"id","id",g),s(p,"title","title",g);var v=(A=a("link",g))===null||A===void 0?void 0:A.attribs.href;v&&(p.link=v);var C=r("summary",g)||r("content",g);C&&(p.description=C);var P=r("updated",g);return P&&(p.pubDate=new Date(P)),p})};s(y,"id","id",b),s(y,"title","title",b);var w=(f=a("link",b))===null||f===void 0?void 0:f.attribs.href;w&&(y.link=w),s(y,"description","subtitle",b);var _=r("updated",b);return _&&(y.updated=new Date(_)),s(y,"author","email",b,!0),y}function l(c){var f,b,y=(b=(f=a("channel",c.children))===null||f===void 0?void 0:f.children)!==null&&b!==void 0?b:[],w={type:c.name.substr(0,3),id:"",items:(0,e.getElementsByTagName)("item",c.children).map(function(m){var A=m.children,g={media:d(A)};s(g,"id","guid",A),s(g,"title","title",A),s(g,"link","link",A),s(g,"description","description",A);var p=r("pubDate",A)||r("dc:date",A);return p&&(g.pubDate=new Date(p)),g})};s(w,"title","title",y),s(w,"link","link",y),s(w,"description","description",y);var _=r("lastBuildDate",y);return _&&(w.updated=new Date(_)),s(w,"author","managingEditor",y,!0),w}var n=["url","type","lang"],u=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function d(c){return(0,e.getElementsByTagName)("media:content",c).map(function(f){for(var b=f.attribs,y={medium:b.medium,isDefault:!!b.isDefault},w=0,_=n;w<_.length;w++){var m=_[w];b[m]&&(y[m]=b[m])}for(var A=0,g=u;A<g.length;A++){var m=g[A];b[m]&&(y[m]=parseInt(b[m],10))}return b.expression&&(y.expression=b.expression),y})}function a(c,f){return(0,e.getElementsByTagName)(c,f,!0,1)[0]}function r(c,f,b){return b===void 0&&(b=!1),(0,t.textContent)((0,e.getElementsByTagName)(c,f,b,1)).trim()}function s(c,f,b,y,w){w===void 0&&(w=!1);var _=r(b,y,w);_&&(c[f]=_)}function h(c){return c==="rss"||c==="feed"||c==="rdf:RDF"}return feeds}var hasRequiredLib$1;function requireLib$1(){return hasRequiredLib$1||(hasRequiredLib$1=1,(function(t){var e=lib$2&&lib$2.__createBinding||(Object.create?(function(l,n,u,d){d===void 0&&(d=u);var a=Object.getOwnPropertyDescriptor(n,u);(!a||("get"in a?!n.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return n[u]}}),Object.defineProperty(l,d,a)}):(function(l,n,u,d){d===void 0&&(d=u),l[d]=n[u]})),o=lib$2&&lib$2.__exportStar||function(l,n){for(var u in l)u!=="default"&&!Object.prototype.hasOwnProperty.call(n,u)&&e(n,l,u)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,o(requireStringify$1(),t),o(requireTraversal(),t),o(requireManipulation(),t),o(requireQuerying(),t),o(requireLegacy(),t),o(requireHelpers(),t),o(requireFeeds(),t);var i=requireLib$4();Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return i.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return i.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return i.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return i.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return i.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return i.hasChildren}})})(lib$2)),lib$2}var hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,(function(t){var e=lib$5&&lib$5.__createBinding||(Object.create?(function(_,m,A,g){g===void 0&&(g=A);var p=Object.getOwnPropertyDescriptor(m,A);(!p||("get"in p?!m.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return m[A]}}),Object.defineProperty(_,g,p)}):(function(_,m,A,g){g===void 0&&(g=A),_[g]=m[A]})),o=lib$5&&lib$5.__setModuleDefault||(Object.create?(function(_,m){Object.defineProperty(_,"default",{enumerable:!0,value:m})}):function(_,m){_.default=m}),i=lib$5&&lib$5.__importStar||function(_){if(_&&_.__esModule)return _;var m={};if(_!=null)for(var A in _)A!=="default"&&Object.prototype.hasOwnProperty.call(_,A)&&e(m,_,A);return o(m,_),m},l=lib$5&&lib$5.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var n=requireParser$2(),u=requireParser$2();Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return u.Parser}});var d=requireLib$4(),a=requireLib$4();Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return a.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return a.DomHandler}});function r(_,m){var A=new d.DomHandler(void 0,m);return new n.Parser(A,m).end(_),A.root}t.parseDocument=r;function s(_,m){return r(_,m).children}t.parseDOM=s;function h(_,m,A){var g=new d.DomHandler(_,m,A);return new n.Parser(g,m)}t.createDomStream=h;var c=requireTokenizer$1();Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return l(c).default}}),t.ElementType=i(requireLib$5());var f=requireLib$1(),b=requireLib$1();Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return b.getFeed}});var y={xmlMode:!0};function w(_,m){return m===void 0&&(m=y),(0,f.getFeed)(s(_,m))}t.parseFeed=w,t.DomUtils=i(requireLib$1())})(lib$5)),lib$5}var escapeStringRegexp,hasRequiredEscapeStringRegexp;function requireEscapeStringRegexp(){return hasRequiredEscapeStringRegexp||(hasRequiredEscapeStringRegexp=1,escapeStringRegexp=t=>{if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),escapeStringRegexp}var isPlainObject={},hasRequiredIsPlainObject;function requireIsPlainObject(){if(hasRequiredIsPlainObject)return isPlainObject;hasRequiredIsPlainObject=1,Object.defineProperty(isPlainObject,"__esModule",{value:!0});/*!
23
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
24
+ *
25
+ * Copyright (c) 2014-2017, Jon Schlinkert.
26
+ * Released under the MIT License.
27
+ */function t(o){return Object.prototype.toString.call(o)==="[object Object]"}function e(o){var i,l;return t(o)===!1?!1:(i=o.constructor,i===void 0?!0:(l=i.prototype,!(t(l)===!1||l.hasOwnProperty("isPrototypeOf")===!1)))}return isPlainObject.isPlainObject=e,isPlainObject}var cjs,hasRequiredCjs;function requireCjs(){if(hasRequiredCjs)return cjs;hasRequiredCjs=1;var t=function(m){return e(m)&&!o(m)};function e(_){return!!_&&typeof _=="object"}function o(_){var m=Object.prototype.toString.call(_);return m==="[object RegExp]"||m==="[object Date]"||n(_)}var i=typeof Symbol=="function"&&Symbol.for,l=i?Symbol.for("react.element"):60103;function n(_){return _.$$typeof===l}function u(_){return Array.isArray(_)?[]:{}}function d(_,m){return m.clone!==!1&&m.isMergeableObject(_)?y(u(_),_,m):_}function a(_,m,A){return _.concat(m).map(function(g){return d(g,A)})}function r(_,m){if(!m.customMerge)return y;var A=m.customMerge(_);return typeof A=="function"?A:y}function s(_){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(_).filter(function(m){return Object.propertyIsEnumerable.call(_,m)}):[]}function h(_){return Object.keys(_).concat(s(_))}function c(_,m){try{return m in _}catch{return!1}}function f(_,m){return c(_,m)&&!(Object.hasOwnProperty.call(_,m)&&Object.propertyIsEnumerable.call(_,m))}function b(_,m,A){var g={};return A.isMergeableObject(_)&&h(_).forEach(function(p){g[p]=d(_[p],A)}),h(m).forEach(function(p){f(_,p)||(c(_,p)&&A.isMergeableObject(m[p])?g[p]=r(p,A)(_[p],m[p],A):g[p]=d(m[p],A))}),g}function y(_,m,A){A=A||{},A.arrayMerge=A.arrayMerge||a,A.isMergeableObject=A.isMergeableObject||t,A.cloneUnlessOtherwiseSpecified=d;var g=Array.isArray(m),p=Array.isArray(_),v=g===p;return v?g?A.arrayMerge(_,m,A):b(_,m,A):d(m,A)}y.all=function(m,A){if(!Array.isArray(m))throw new Error("first argument should be an array");return m.reduce(function(g,p){return y(g,p,A)},{})};var w=y;return cjs=w,cjs}var parseSrcset$1={exports:{}},parseSrcset=parseSrcset$1.exports,hasRequiredParseSrcset;function requireParseSrcset(){return hasRequiredParseSrcset||(hasRequiredParseSrcset=1,(function(t){(function(e,o){t.exports?t.exports=o():e.parseSrcset=o()})(parseSrcset,function(){return function(e){function o(g){return g===" "||g===" "||g===`
28
+ `||g==="\f"||g==="\r"}function i(g){var p,v=g.exec(e.substring(w));if(v)return p=v[0],w+=p.length,p}for(var l=e.length,n=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,a=/[,]+$/,r=/^\d+$/,s=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,h,c,f,b,y,w=0,_=[];;){if(i(u),w>=l)return _;h=i(d),c=[],h.slice(-1)===","?(h=h.replace(a,""),A()):m()}function m(){for(i(n),f="",b="in descriptor";;){if(y=e.charAt(w),b==="in descriptor")if(o(y))f&&(c.push(f),f="",b="after descriptor");else if(y===","){w+=1,f&&c.push(f),A();return}else if(y==="(")f=f+y,b="in parens";else if(y===""){f&&c.push(f),A();return}else f=f+y;else if(b==="in parens")if(y===")")f=f+y,b="in descriptor";else if(y===""){c.push(f),A();return}else f=f+y;else if(b==="after descriptor"&&!o(y))if(y===""){A();return}else b="in descriptor",w-=1;w+=1}}function A(){var g=!1,p,v,C,P,E={},R,S,I,x,M;for(P=0;P<c.length;P++)R=c[P],S=R[R.length-1],I=R.substring(0,R.length-1),x=parseInt(I,10),M=parseFloat(I),r.test(I)&&S==="w"?((p||v)&&(g=!0),x===0?g=!0:p=x):s.test(I)&&S==="x"?((p||v||C)&&(g=!0),M<0?g=!0:v=M):r.test(I)&&S==="h"?((C||v)&&(g=!0),x===0?g=!0:C=x):g=!0;g?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+R+"'."):(E.url=h,p&&(E.w=p),v&&(E.d=v),C&&(E.h=C),_.push(E))}}})})(parseSrcset$1)),parseSrcset$1.exports}var picocolors_browser={exports:{}},hasRequiredPicocolors_browser;function requirePicocolors_browser(){if(hasRequiredPicocolors_browser)return picocolors_browser.exports;hasRequiredPicocolors_browser=1;var t=String,e=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};return picocolors_browser.exports=e(),picocolors_browser.exports.createColors=e,picocolors_browser.exports}const __viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$2=getAugmentedNamespace(__viteBrowserExternal$1);var cssSyntaxError,hasRequiredCssSyntaxError;function requireCssSyntaxError(){if(hasRequiredCssSyntaxError)return cssSyntaxError;hasRequiredCssSyntaxError=1;let t=requirePicocolors_browser(),e=require$$2;class o extends Error{constructor(l,n,u,d,a,r){super(l),this.name="CssSyntaxError",this.reason=l,a&&(this.file=a),d&&(this.source=d),r&&(this.plugin=r),typeof n<"u"&&typeof u<"u"&&(typeof n=="number"?(this.line=n,this.column=u):(this.line=n.line,this.column=n.column,this.endLine=u.line,this.endColumn=u.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(l){if(!this.source)return"";let n=this.source;l==null&&(l=t.isColorSupported);let u=f=>f,d=f=>f,a=f=>f;if(l){let{bold:f,gray:b,red:y}=t.createColors(!0);d=w=>f(y(w)),u=w=>b(w),e&&(a=w=>e(w))}let r=n.split(/\r?\n/),s=Math.max(this.line-3,0),h=Math.min(this.line+2,r.length),c=String(h).length;return r.slice(s,h).map((f,b)=>{let y=s+1+b,w=" "+(" "+y).slice(-c)+" | ";if(y===this.line){if(f.length>160){let m=20,A=Math.max(0,this.column-m),g=Math.max(this.column+m,this.endColumn+m),p=f.slice(A,g),v=u(w.replace(/\d/g," "))+f.slice(0,Math.min(this.column-1,m-1)).replace(/[^\t]/g," ");return d(">")+u(w)+a(p)+`
29
+ `+v+d("^")}let _=u(w.replace(/\d/g," "))+f.slice(0,this.column-1).replace(/[^\t]/g," ");return d(">")+u(w)+a(f)+`
30
+ `+_+d("^")}return" "+u(w)+a(f)}).join(`
31
+ `)}toString(){let l=this.showSourceCode();return l&&(l=`
32
+
33
+ `+l+`
34
+ `),this.name+": "+this.message+l}}return cssSyntaxError=o,o.default=o,cssSyntaxError}var stringifier,hasRequiredStringifier;function requireStringifier(){if(hasRequiredStringifier)return stringifier;hasRequiredStringifier=1;const t={after:`
35
+ `,beforeClose:`
36
+ `,beforeComment:`
37
+ `,beforeDecl:`
38
+ `,beforeOpen:" ",beforeRule:`
39
+ `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function e(i){return i[0].toUpperCase()+i.slice(1)}class o{constructor(l){this.builder=l}atrule(l,n){let u="@"+l.name,d=l.params?this.rawValue(l,"params"):"";if(typeof l.raws.afterName<"u"?u+=l.raws.afterName:d&&(u+=" "),l.nodes)this.block(l,u+d);else{let a=(l.raws.between||"")+(n?";":"");this.builder(u+d+a,l)}}beforeAfter(l,n){let u;l.type==="decl"?u=this.raw(l,null,"beforeDecl"):l.type==="comment"?u=this.raw(l,null,"beforeComment"):n==="before"?u=this.raw(l,null,"beforeRule"):u=this.raw(l,null,"beforeClose");let d=l.parent,a=0;for(;d&&d.type!=="root";)a+=1,d=d.parent;if(u.includes(`
40
+ `)){let r=this.raw(l,null,"indent");if(r.length)for(let s=0;s<a;s++)u+=r}return u}block(l,n){let u=this.raw(l,"between","beforeOpen");this.builder(n+u+"{",l,"start");let d;l.nodes&&l.nodes.length?(this.body(l),d=this.raw(l,"after")):d=this.raw(l,"after","emptyBody"),d&&this.builder(d),this.builder("}",l,"end")}body(l){let n=l.nodes.length-1;for(;n>0&&l.nodes[n].type==="comment";)n-=1;let u=this.raw(l,"semicolon");for(let d=0;d<l.nodes.length;d++){let a=l.nodes[d],r=this.raw(a,"before");r&&this.builder(r),this.stringify(a,n!==d||u)}}comment(l){let n=this.raw(l,"left","commentLeft"),u=this.raw(l,"right","commentRight");this.builder("/*"+n+l.text+u+"*/",l)}decl(l,n){let u=this.raw(l,"between","colon"),d=l.prop+u+this.rawValue(l,"value");l.important&&(d+=l.raws.important||" !important"),n&&(d+=";"),this.builder(d,l)}document(l){this.body(l)}raw(l,n,u){let d;if(u||(u=n),n&&(d=l.raws[n],typeof d<"u"))return d;let a=l.parent;if(u==="before"&&(!a||a.type==="root"&&a.first===l||a&&a.type==="document"))return"";if(!a)return t[u];let r=l.root();if(r.rawCache||(r.rawCache={}),typeof r.rawCache[u]<"u")return r.rawCache[u];if(u==="before"||u==="after")return this.beforeAfter(l,u);{let s="raw"+e(u);this[s]?d=this[s](r,l):r.walk(h=>{if(d=h.raws[n],typeof d<"u")return!1})}return typeof d>"u"&&(d=t[u]),r.rawCache[u]=d,d}rawBeforeClose(l){let n;return l.walk(u=>{if(u.nodes&&u.nodes.length>0&&typeof u.raws.after<"u")return n=u.raws.after,n.includes(`
41
+ `)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawBeforeComment(l,n){let u;return l.walkComments(d=>{if(typeof d.raws.before<"u")return u=d.raws.before,u.includes(`
42
+ `)&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(n,null,"beforeDecl"):u&&(u=u.replace(/\S/g,"")),u}rawBeforeDecl(l,n){let u;return l.walkDecls(d=>{if(typeof d.raws.before<"u")return u=d.raws.before,u.includes(`
43
+ `)&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(n,null,"beforeRule"):u&&(u=u.replace(/\S/g,"")),u}rawBeforeOpen(l){let n;return l.walk(u=>{if(u.type!=="decl"&&(n=u.raws.between,typeof n<"u"))return!1}),n}rawBeforeRule(l){let n;return l.walk(u=>{if(u.nodes&&(u.parent!==l||l.first!==u)&&typeof u.raws.before<"u")return n=u.raws.before,n.includes(`
44
+ `)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawColon(l){let n;return l.walkDecls(u=>{if(typeof u.raws.between<"u")return n=u.raws.between.replace(/[^\s:]/g,""),!1}),n}rawEmptyBody(l){let n;return l.walk(u=>{if(u.nodes&&u.nodes.length===0&&(n=u.raws.after,typeof n<"u"))return!1}),n}rawIndent(l){if(l.raws.indent)return l.raws.indent;let n;return l.walk(u=>{let d=u.parent;if(d&&d!==l&&d.parent&&d.parent===l&&typeof u.raws.before<"u"){let a=u.raws.before.split(`
45
+ `);return n=a[a.length-1],n=n.replace(/\S/g,""),!1}}),n}rawSemicolon(l){let n;return l.walk(u=>{if(u.nodes&&u.nodes.length&&u.last.type==="decl"&&(n=u.raws.semicolon,typeof n<"u"))return!1}),n}rawValue(l,n){let u=l[n],d=l.raws[n];return d&&d.value===u?d.raw:u}root(l){this.body(l),l.raws.after&&this.builder(l.raws.after)}rule(l){this.block(l,this.rawValue(l,"selector")),l.raws.ownSemicolon&&this.builder(l.raws.ownSemicolon,l,"end")}stringify(l,n){if(!this[l.type])throw new Error("Unknown AST node type "+l.type+". Maybe you need to change PostCSS stringifier.");this[l.type](l,n)}}return stringifier=o,o.default=o,stringifier}var stringify_1,hasRequiredStringify;function requireStringify(){if(hasRequiredStringify)return stringify_1;hasRequiredStringify=1;let t=requireStringifier();function e(o,i){new t(i).stringify(o)}return stringify_1=e,e.default=e,stringify_1}var symbols={},hasRequiredSymbols;function requireSymbols(){return hasRequiredSymbols||(hasRequiredSymbols=1,symbols.isClean=Symbol("isClean"),symbols.my=Symbol("my")),symbols}var node,hasRequiredNode;function requireNode(){if(hasRequiredNode)return node;hasRequiredNode=1;let t=requireCssSyntaxError(),e=requireStringifier(),o=requireStringify(),{isClean:i,my:l}=requireSymbols();function n(a,r){let s=new a.constructor;for(let h in a){if(!Object.prototype.hasOwnProperty.call(a,h)||h==="proxyCache")continue;let c=a[h],f=typeof c;h==="parent"&&f==="object"?r&&(s[h]=r):h==="source"?s[h]=c:Array.isArray(c)?s[h]=c.map(b=>n(b,s)):(f==="object"&&c!==null&&(c=n(c)),s[h]=c)}return s}function u(a,r){if(r&&typeof r.offset<"u")return r.offset;let s=1,h=1,c=0;for(let f=0;f<a.length;f++){if(h===r.line&&s===r.column){c=f;break}a[f]===`
46
+ `?(s=1,h+=1):s+=1}return c}class d{get proxyOf(){return this}constructor(r={}){this.raws={},this[i]=!1,this[l]=!0;for(let s in r)if(s==="nodes"){this.nodes=[];for(let h of r[s])typeof h.clone=="function"?this.append(h.clone()):this.append(h)}else this[s]=r[s]}addToError(r){if(r.postcssNode=this,r.stack&&this.source&&/\n\s{4}at /.test(r.stack)){let s=this.source;r.stack=r.stack.replace(/\n\s{4}at /,`$&${s.input.from}:${s.start.line}:${s.start.column}$&`)}return r}after(r){return this.parent.insertAfter(this,r),this}assign(r={}){for(let s in r)this[s]=r[s];return this}before(r){return this.parent.insertBefore(this,r),this}cleanRaws(r){delete this.raws.before,delete this.raws.after,r||delete this.raws.between}clone(r={}){let s=n(this);for(let h in r)s[h]=r[h];return s}cloneAfter(r={}){let s=this.clone(r);return this.parent.insertAfter(this,s),s}cloneBefore(r={}){let s=this.clone(r);return this.parent.insertBefore(this,s),s}error(r,s={}){if(this.source){let{end:h,start:c}=this.rangeBy(s);return this.source.input.error(r,{column:c.column,line:c.line},{column:h.column,line:h.line},s)}return new t(r)}getProxyProcessor(){return{get(r,s){return s==="proxyOf"?r:s==="root"?()=>r.root().toProxy():r[s]},set(r,s,h){return r[s]===h||(r[s]=h,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&r.markDirty()),!0}}}markClean(){this[i]=!0}markDirty(){if(this[i]){this[i]=!1;let r=this;for(;r=r.parent;)r[i]=!1}}next(){if(!this.parent)return;let r=this.parent.index(this);return this.parent.nodes[r+1]}positionBy(r={}){let s=this.source.start;if(r.index)s=this.positionInside(r.index);else if(r.word){let h="document"in this.source.input?this.source.input.document:this.source.input.css,f=h.slice(u(h,this.source.start),u(h,this.source.end)).indexOf(r.word);f!==-1&&(s=this.positionInside(f))}return s}positionInside(r){let s=this.source.start.column,h=this.source.start.line,c="document"in this.source.input?this.source.input.document:this.source.input.css,f=u(c,this.source.start),b=f+r;for(let y=f;y<b;y++)c[y]===`
47
+ `?(s=1,h+=1):s+=1;return{column:s,line:h,offset:b}}prev(){if(!this.parent)return;let r=this.parent.index(this);return this.parent.nodes[r-1]}rangeBy(r={}){let s="document"in this.source.input?this.source.input.document:this.source.input.css,h={column:this.source.start.column,line:this.source.start.line,offset:u(s,this.source.start)},c=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:u(s,this.source.end)+1}:{column:h.column+1,line:h.line,offset:h.offset+1};if(r.word){let b=s.slice(u(s,this.source.start),u(s,this.source.end)).indexOf(r.word);b!==-1&&(h=this.positionInside(b),c=this.positionInside(b+r.word.length))}else r.start?h={column:r.start.column,line:r.start.line,offset:u(s,r.start)}:r.index&&(h=this.positionInside(r.index)),r.end?c={column:r.end.column,line:r.end.line,offset:u(s,r.end)}:typeof r.endIndex=="number"?c=this.positionInside(r.endIndex):r.index&&(c=this.positionInside(r.index+1));return(c.line<h.line||c.line===h.line&&c.column<=h.column)&&(c={column:h.column+1,line:h.line,offset:h.offset+1}),{end:c,start:h}}raw(r,s){return new e().raw(this,r,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...r){if(this.parent){let s=this,h=!1;for(let c of r)c===this?h=!0:h?(this.parent.insertAfter(s,c),s=c):this.parent.insertBefore(s,c);h||this.remove()}return this}root(){let r=this;for(;r.parent&&r.parent.type!=="document";)r=r.parent;return r}toJSON(r,s){let h={},c=s==null;s=s||new Map;let f=0;for(let b in this){if(!Object.prototype.hasOwnProperty.call(this,b)||b==="parent"||b==="proxyCache")continue;let y=this[b];if(Array.isArray(y))h[b]=y.map(w=>typeof w=="object"&&w.toJSON?w.toJSON(null,s):w);else if(typeof y=="object"&&y.toJSON)h[b]=y.toJSON(null,s);else if(b==="source"){if(y==null)continue;let w=s.get(y.input);w==null&&(w=f,s.set(y.input,f),f++),h[b]={end:y.end,inputId:w,start:y.start}}else h[b]=y}return c&&(h.inputs=[...s.keys()].map(b=>b.toJSON())),h}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(r=o){r.stringify&&(r=r.stringify);let s="";return r(this,h=>{s+=h}),s}warn(r,s,h={}){let c={node:this};for(let f in h)c[f]=h[f];return r.warn(s,c)}}return node=d,d.default=d,node}var comment,hasRequiredComment;function requireComment(){if(hasRequiredComment)return comment;hasRequiredComment=1;let t=requireNode();class e extends t{constructor(i){super(i),this.type="comment"}}return comment=e,e.default=e,comment}var declaration,hasRequiredDeclaration;function requireDeclaration(){if(hasRequiredDeclaration)return declaration;hasRequiredDeclaration=1;let t=requireNode();class e extends t{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(i){i&&typeof i.value<"u"&&typeof i.value!="string"&&(i={...i,value:String(i.value)}),super(i),this.type="decl"}}return declaration=e,e.default=e,declaration}var container,hasRequiredContainer;function requireContainer(){if(hasRequiredContainer)return container;hasRequiredContainer=1;let t=requireComment(),e=requireDeclaration(),o=requireNode(),{isClean:i,my:l}=requireSymbols(),n,u,d,a;function r(c){return c.map(f=>(f.nodes&&(f.nodes=r(f.nodes)),delete f.source,f))}function s(c){if(c[i]=!1,c.proxyOf.nodes)for(let f of c.proxyOf.nodes)s(f)}class h extends o{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...f){for(let b of f){let y=this.normalize(b,this.last);for(let w of y)this.proxyOf.nodes.push(w)}return this.markDirty(),this}cleanRaws(f){if(super.cleanRaws(f),this.nodes)for(let b of this.nodes)b.cleanRaws(f)}each(f){if(!this.proxyOf.nodes)return;let b=this.getIterator(),y,w;for(;this.indexes[b]<this.proxyOf.nodes.length&&(y=this.indexes[b],w=f(this.proxyOf.nodes[y],y),w!==!1);)this.indexes[b]+=1;return delete this.indexes[b],w}every(f){return this.nodes.every(f)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let f=this.lastEach;return this.indexes[f]=0,f}getProxyProcessor(){return{get(f,b){return b==="proxyOf"?f:f[b]?b==="each"||typeof b=="string"&&b.startsWith("walk")?(...y)=>f[b](...y.map(w=>typeof w=="function"?(_,m)=>w(_.toProxy(),m):w)):b==="every"||b==="some"?y=>f[b]((w,..._)=>y(w.toProxy(),..._)):b==="root"?()=>f.root().toProxy():b==="nodes"?f.nodes.map(y=>y.toProxy()):b==="first"||b==="last"?f[b].toProxy():f[b]:f[b]},set(f,b,y){return f[b]===y||(f[b]=y,(b==="name"||b==="params"||b==="selector")&&f.markDirty()),!0}}}index(f){return typeof f=="number"?f:(f.proxyOf&&(f=f.proxyOf),this.proxyOf.nodes.indexOf(f))}insertAfter(f,b){let y=this.index(f),w=this.normalize(b,this.proxyOf.nodes[y]).reverse();y=this.index(f);for(let m of w)this.proxyOf.nodes.splice(y+1,0,m);let _;for(let m in this.indexes)_=this.indexes[m],y<_&&(this.indexes[m]=_+w.length);return this.markDirty(),this}insertBefore(f,b){let y=this.index(f),w=y===0?"prepend":!1,_=this.normalize(b,this.proxyOf.nodes[y],w).reverse();y=this.index(f);for(let A of _)this.proxyOf.nodes.splice(y,0,A);let m;for(let A in this.indexes)m=this.indexes[A],y<=m&&(this.indexes[A]=m+_.length);return this.markDirty(),this}normalize(f,b){if(typeof f=="string")f=r(u(f).nodes);else if(typeof f>"u")f=[];else if(Array.isArray(f)){f=f.slice(0);for(let w of f)w.parent&&w.parent.removeChild(w,"ignore")}else if(f.type==="root"&&this.type!=="document"){f=f.nodes.slice(0);for(let w of f)w.parent&&w.parent.removeChild(w,"ignore")}else if(f.type)f=[f];else if(f.prop){if(typeof f.value>"u")throw new Error("Value field is missed in node creation");typeof f.value!="string"&&(f.value=String(f.value)),f=[new e(f)]}else if(f.selector||f.selectors)f=[new a(f)];else if(f.name)f=[new n(f)];else if(f.text)f=[new t(f)];else throw new Error("Unknown node type in node creation");return f.map(w=>(w[l]||h.rebuild(w),w=w.proxyOf,w.parent&&w.parent.removeChild(w),w[i]&&s(w),w.raws||(w.raws={}),typeof w.raws.before>"u"&&b&&typeof b.raws.before<"u"&&(w.raws.before=b.raws.before.replace(/\S/g,"")),w.parent=this.proxyOf,w))}prepend(...f){f=f.reverse();for(let b of f){let y=this.normalize(b,this.first,"prepend").reverse();for(let w of y)this.proxyOf.nodes.unshift(w);for(let w in this.indexes)this.indexes[w]=this.indexes[w]+y.length}return this.markDirty(),this}push(f){return f.parent=this,this.proxyOf.nodes.push(f),this}removeAll(){for(let f of this.proxyOf.nodes)f.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(f){f=this.index(f),this.proxyOf.nodes[f].parent=void 0,this.proxyOf.nodes.splice(f,1);let b;for(let y in this.indexes)b=this.indexes[y],b>=f&&(this.indexes[y]=b-1);return this.markDirty(),this}replaceValues(f,b,y){return y||(y=b,b={}),this.walkDecls(w=>{b.props&&!b.props.includes(w.prop)||b.fast&&!w.value.includes(b.fast)||(w.value=w.value.replace(f,y))}),this.markDirty(),this}some(f){return this.nodes.some(f)}walk(f){return this.each((b,y)=>{let w;try{w=f(b,y)}catch(_){throw b.addToError(_)}return w!==!1&&b.walk&&(w=b.walk(f)),w})}walkAtRules(f,b){return b?f instanceof RegExp?this.walk((y,w)=>{if(y.type==="atrule"&&f.test(y.name))return b(y,w)}):this.walk((y,w)=>{if(y.type==="atrule"&&y.name===f)return b(y,w)}):(b=f,this.walk((y,w)=>{if(y.type==="atrule")return b(y,w)}))}walkComments(f){return this.walk((b,y)=>{if(b.type==="comment")return f(b,y)})}walkDecls(f,b){return b?f instanceof RegExp?this.walk((y,w)=>{if(y.type==="decl"&&f.test(y.prop))return b(y,w)}):this.walk((y,w)=>{if(y.type==="decl"&&y.prop===f)return b(y,w)}):(b=f,this.walk((y,w)=>{if(y.type==="decl")return b(y,w)}))}walkRules(f,b){return b?f instanceof RegExp?this.walk((y,w)=>{if(y.type==="rule"&&f.test(y.selector))return b(y,w)}):this.walk((y,w)=>{if(y.type==="rule"&&y.selector===f)return b(y,w)}):(b=f,this.walk((y,w)=>{if(y.type==="rule")return b(y,w)}))}}return h.registerParse=c=>{u=c},h.registerRule=c=>{a=c},h.registerAtRule=c=>{n=c},h.registerRoot=c=>{d=c},container=h,h.default=h,h.rebuild=c=>{c.type==="atrule"?Object.setPrototypeOf(c,n.prototype):c.type==="rule"?Object.setPrototypeOf(c,a.prototype):c.type==="decl"?Object.setPrototypeOf(c,e.prototype):c.type==="comment"?Object.setPrototypeOf(c,t.prototype):c.type==="root"&&Object.setPrototypeOf(c,d.prototype),c[l]=!0,c.nodes&&c.nodes.forEach(f=>{h.rebuild(f)})},container}var atRule,hasRequiredAtRule;function requireAtRule(){if(hasRequiredAtRule)return atRule;hasRequiredAtRule=1;let t=requireContainer();class e extends t{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}}return atRule=e,e.default=e,t.registerAtRule(e),atRule}var document$1,hasRequiredDocument;function requireDocument(){if(hasRequiredDocument)return document$1;hasRequiredDocument=1;let t=requireContainer(),e,o;class i extends t{constructor(n){super({type:"document",...n}),this.nodes||(this.nodes=[])}toResult(n={}){return new e(new o,this,n).stringify()}}return i.registerLazyResult=l=>{e=l},i.registerProcessor=l=>{o=l},document$1=i,i.default=i,document$1}var nonSecure,hasRequiredNonSecure;function requireNonSecure(){if(hasRequiredNonSecure)return nonSecure;hasRequiredNonSecure=1;let t="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return nonSecure={nanoid:(i=21)=>{let l="",n=i|0;for(;n--;)l+=t[Math.random()*64|0];return l},customAlphabet:(i,l=21)=>(n=l)=>{let u="",d=n|0;for(;d--;)u+=i[Math.random()*i.length|0];return u}},nonSecure}var previousMap,hasRequiredPreviousMap;function requirePreviousMap(){if(hasRequiredPreviousMap)return previousMap;hasRequiredPreviousMap=1;let{existsSync:t,readFileSync:e}=require$$2,{dirname:o,join:i}=require$$2,{SourceMapConsumer:l,SourceMapGenerator:n}=require$$2;function u(a){return Buffer?Buffer.from(a,"base64").toString():window.atob(a)}class d{constructor(r,s){if(s.map===!1)return;this.loadAnnotation(r),this.inline=this.startWith(this.annotation,"data:");let h=s.map?s.map.prev:void 0,c=this.loadMap(s.from,h);!this.mapFile&&s.from&&(this.mapFile=s.from),this.mapFile&&(this.root=o(this.mapFile)),c&&(this.text=c)}consumer(){return this.consumerCache||(this.consumerCache=new l(this.text)),this.consumerCache}decodeInline(r){let s=/^data:application\/json;charset=utf-?8;base64,/,h=/^data:application\/json;base64,/,c=/^data:application\/json;charset=utf-?8,/,f=/^data:application\/json,/,b=r.match(c)||r.match(f);if(b)return decodeURIComponent(r.substr(b[0].length));let y=r.match(s)||r.match(h);if(y)return u(r.substr(y[0].length));let w=r.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+w)}getAnnotationURL(r){return r.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(r){return typeof r!="object"?!1:typeof r.mappings=="string"||typeof r._mappings=="string"||Array.isArray(r.sections)}loadAnnotation(r){let s=r.match(/\/\*\s*# sourceMappingURL=/g);if(!s)return;let h=r.lastIndexOf(s.pop()),c=r.indexOf("*/",h);h>-1&&c>-1&&(this.annotation=this.getAnnotationURL(r.substring(h,c)))}loadFile(r){if(this.root=o(r),t(r))return this.mapFile=r,e(r,"utf-8").toString().trim()}loadMap(r,s){if(s===!1)return!1;if(s){if(typeof s=="string")return s;if(typeof s=="function"){let h=s(r);if(h){let c=this.loadFile(h);if(!c)throw new Error("Unable to load previous source map: "+h.toString());return c}}else{if(s instanceof l)return n.fromSourceMap(s).toString();if(s instanceof n)return s.toString();if(this.isMap(s))return JSON.stringify(s);throw new Error("Unsupported previous source map format: "+s.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let h=this.annotation;return r&&(h=i(o(r),h)),this.loadFile(h)}}}startWith(r,s){return r?r.substr(0,s.length)===s:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return previousMap=d,d.default=d,previousMap}var input,hasRequiredInput;function requireInput(){if(hasRequiredInput)return input;hasRequiredInput=1;let{nanoid:t}=requireNonSecure(),{isAbsolute:e,resolve:o}=require$$2,{SourceMapConsumer:i,SourceMapGenerator:l}=require$$2,{fileURLToPath:n,pathToFileURL:u}=require$$2,d=requireCssSyntaxError(),a=requirePreviousMap(),r=require$$2,s=Symbol("lineToIndexCache"),h=!!(i&&l),c=!!(o&&e);function f(y){if(y[s])return y[s];let w=y.css.split(`
48
+ `),_=new Array(w.length),m=0;for(let A=0,g=w.length;A<g;A++)_[A]=m,m+=w[A].length+1;return y[s]=_,_}class b{get from(){return this.file||this.id}constructor(w,_={}){if(w===null||typeof w>"u"||typeof w=="object"&&!w.toString)throw new Error(`PostCSS received ${w} instead of CSS string`);if(this.css=w.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,_.document&&(this.document=_.document.toString()),_.from&&(!c||/^\w+:\/\//.test(_.from)||e(_.from)?this.file=_.from:this.file=o(_.from)),c&&h){let m=new a(this.css,_);if(m.text){this.map=m;let A=m.consumer().file;!this.file&&A&&(this.file=this.mapResolve(A))}}this.file||(this.id="<input css "+t(6)+">"),this.map&&(this.map.file=this.from)}error(w,_,m,A={}){let g,p,v,C,P;if(_&&typeof _=="object"){let R=_,S=m;if(typeof R.offset=="number"){C=R.offset;let I=this.fromOffset(C);_=I.line,m=I.col}else _=R.line,m=R.column,C=this.fromLineAndColumn(_,m);if(typeof S.offset=="number"){v=S.offset;let I=this.fromOffset(v);p=I.line,g=I.col}else p=S.line,g=S.column,v=this.fromLineAndColumn(S.line,S.column)}else if(m)C=this.fromLineAndColumn(_,m);else{C=_;let R=this.fromOffset(C);_=R.line,m=R.col}let E=this.origin(_,m,p,g);return E?P=new d(w,E.endLine===void 0?E.line:{column:E.column,line:E.line},E.endLine===void 0?E.column:{column:E.endColumn,line:E.endLine},E.source,E.file,A.plugin):P=new d(w,p===void 0?_:{column:m,line:_},p===void 0?m:{column:g,line:p},this.css,this.file,A.plugin),P.input={column:m,endColumn:g,endLine:p,endOffset:v,line:_,offset:C,source:this.css},this.file&&(u&&(P.input.url=u(this.file).toString()),P.input.file=this.file),P}fromLineAndColumn(w,_){return f(this)[w-1]+_-1}fromOffset(w){let _=f(this),m=_[_.length-1],A=0;if(w>=m)A=_.length-1;else{let g=_.length-2,p;for(;A<g;)if(p=A+(g-A>>1),w<_[p])g=p-1;else if(w>=_[p+1])A=p+1;else{A=p;break}}return{col:w-_[A]+1,line:A+1}}mapResolve(w){return/^\w+:\/\//.test(w)?w:o(this.map.consumer().sourceRoot||this.map.root||".",w)}origin(w,_,m,A){if(!this.map)return!1;let g=this.map.consumer(),p=g.originalPositionFor({column:_,line:w});if(!p.source)return!1;let v;typeof m=="number"&&(v=g.originalPositionFor({column:A,line:m}));let C;e(p.source)?C=u(p.source):C=new URL(p.source,this.map.consumer().sourceRoot||u(this.map.mapFile));let P={column:p.column,endColumn:v&&v.column,endLine:v&&v.line,line:p.line,url:C.toString()};if(C.protocol==="file:")if(n)P.file=n(C);else throw new Error("file: protocol is not available in this PostCSS build");let E=g.sourceContentFor(p.source);return E&&(P.source=E),P}toJSON(){let w={};for(let _ of["hasBOM","css","file","id"])this[_]!=null&&(w[_]=this[_]);return this.map&&(w.map={...this.map},w.map.consumerCache&&(w.map.consumerCache=void 0)),w}}return input=b,b.default=b,r&&r.registerInput&&r.registerInput(b),input}var root,hasRequiredRoot;function requireRoot(){if(hasRequiredRoot)return root;hasRequiredRoot=1;let t=requireContainer(),e,o;class i extends t{constructor(n){super(n),this.type="root",this.nodes||(this.nodes=[])}normalize(n,u,d){let a=super.normalize(n);if(u){if(d==="prepend")this.nodes.length>1?u.raws.before=this.nodes[1].raws.before:delete u.raws.before;else if(this.first!==u)for(let r of a)r.raws.before=u.raws.before}return a}removeChild(n,u){let d=this.index(n);return!u&&d===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[d].raws.before),super.removeChild(n)}toResult(n={}){return new e(new o,this,n).stringify()}}return i.registerLazyResult=l=>{e=l},i.registerProcessor=l=>{o=l},root=i,i.default=i,t.registerRoot(i),root}var list_1,hasRequiredList;function requireList(){if(hasRequiredList)return list_1;hasRequiredList=1;let t={comma(e){return t.split(e,[","],!0)},space(e){let o=[" ",`
49
+ `," "];return t.split(e,o)},split(e,o,i){let l=[],n="",u=!1,d=0,a=!1,r="",s=!1;for(let h of e)s?s=!1:h==="\\"?s=!0:a?h===r&&(a=!1):h==='"'||h==="'"?(a=!0,r=h):h==="("?d+=1:h===")"?d>0&&(d-=1):d===0&&o.includes(h)&&(u=!0),u?(n!==""&&l.push(n.trim()),n="",u=!1):n+=h;return(i||n!=="")&&l.push(n.trim()),l}};return list_1=t,t.default=t,list_1}var rule,hasRequiredRule;function requireRule(){if(hasRequiredRule)return rule;hasRequiredRule=1;let t=requireContainer(),e=requireList();class o extends t{get selectors(){return e.comma(this.selector)}set selectors(l){let n=this.selector?this.selector.match(/,\s*/):null,u=n?n[0]:","+this.raw("between","beforeOpen");this.selector=l.join(u)}constructor(l){super(l),this.type="rule",this.nodes||(this.nodes=[])}}return rule=o,o.default=o,t.registerRule(o),rule}var fromJSON_1,hasRequiredFromJSON;function requireFromJSON(){if(hasRequiredFromJSON)return fromJSON_1;hasRequiredFromJSON=1;let t=requireAtRule(),e=requireComment(),o=requireDeclaration(),i=requireInput(),l=requirePreviousMap(),n=requireRoot(),u=requireRule();function d(a,r){if(Array.isArray(a))return a.map(c=>d(c));let{inputs:s,...h}=a;if(s){r=[];for(let c of s){let f={...c,__proto__:i.prototype};f.map&&(f.map={...f.map,__proto__:l.prototype}),r.push(f)}}if(h.nodes&&(h.nodes=a.nodes.map(c=>d(c,r))),h.source){let{inputId:c,...f}=h.source;h.source=f,c!=null&&(h.source.input=r[c])}if(h.type==="root")return new n(h);if(h.type==="decl")return new o(h);if(h.type==="rule")return new u(h);if(h.type==="comment")return new e(h);if(h.type==="atrule")return new t(h);throw new Error("Unknown node type: "+a.type)}return fromJSON_1=d,d.default=d,fromJSON_1}var mapGenerator,hasRequiredMapGenerator;function requireMapGenerator(){if(hasRequiredMapGenerator)return mapGenerator;hasRequiredMapGenerator=1;let{dirname:t,relative:e,resolve:o,sep:i}=require$$2,{SourceMapConsumer:l,SourceMapGenerator:n}=require$$2,{pathToFileURL:u}=require$$2,d=requireInput(),a=!!(l&&n),r=!!(t&&o&&e&&i);class s{constructor(c,f,b,y){this.stringify=c,this.mapOpts=b.map||{},this.root=f,this.opts=b,this.css=y,this.originalCSS=y,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let c;this.isInline()?c="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?c=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?c=this.mapOpts.annotation(this.opts.to,this.root):c=this.outputFile()+".map";let f=`
50
+ `;this.css.includes(`\r
51
+ `)&&(f=`\r
52
+ `),this.css+=f+"/*# sourceMappingURL="+c+" */"}applyPrevMaps(){for(let c of this.previous()){let f=this.toUrl(this.path(c.file)),b=c.root||t(c.file),y;this.mapOpts.sourcesContent===!1?(y=new l(c.text),y.sourcesContent&&(y.sourcesContent=null)):y=c.consumer(),this.map.applySourceMap(y,f,this.toUrl(this.path(b)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let c;for(let f=this.root.nodes.length-1;f>=0;f--)c=this.root.nodes[f],c.type==="comment"&&c.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(f)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),r&&a&&this.isMap())return this.generateMap();{let c="";return this.stringify(this.root,f=>{c+=f}),[c]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let c=this.previous()[0].consumer();c.file=this.outputFile(),this.map=n.fromSourceMap(c,{ignoreInvalidMapping:!0})}else this.map=new n({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new n({file:this.outputFile(),ignoreInvalidMapping:!0});let c=1,f=1,b="<no source>",y={generated:{column:0,line:0},original:{column:0,line:0},source:""},w,_;this.stringify(this.root,(m,A,g)=>{if(this.css+=m,A&&g!=="end"&&(y.generated.line=c,y.generated.column=f-1,A.source&&A.source.start?(y.source=this.sourcePath(A),y.original.line=A.source.start.line,y.original.column=A.source.start.column-1,this.map.addMapping(y)):(y.source=b,y.original.line=1,y.original.column=0,this.map.addMapping(y))),_=m.match(/\n/g),_?(c+=_.length,w=m.lastIndexOf(`
53
+ `),f=m.length-w):f+=m.length,A&&g!=="start"){let p=A.parent||{raws:{}};(!(A.type==="decl"||A.type==="atrule"&&!A.nodes)||A!==p.last||p.raws.semicolon)&&(A.source&&A.source.end?(y.source=this.sourcePath(A),y.original.line=A.source.end.line,y.original.column=A.source.end.column-1,y.generated.line=c,y.generated.column=f-2,this.map.addMapping(y)):(y.source=b,y.original.line=1,y.original.column=0,y.generated.line=c,y.generated.column=f-1,this.map.addMapping(y)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(c=>c.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let c=this.mapOpts.annotation;return typeof c<"u"&&c!==!0?!1:this.previous().length?this.previous().some(f=>f.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(c=>c.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(c){if(this.mapOpts.absolute||c.charCodeAt(0)===60||/^\w+:\/\//.test(c))return c;let f=this.memoizedPaths.get(c);if(f)return f;let b=this.opts.to?t(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(b=t(o(b,this.mapOpts.annotation)));let y=e(b,c);return this.memoizedPaths.set(c,y),y}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(c=>{if(c.source&&c.source.input.map){let f=c.source.input.map;this.previousMaps.includes(f)||this.previousMaps.push(f)}});else{let c=new d(this.originalCSS,this.opts);c.map&&this.previousMaps.push(c.map)}return this.previousMaps}setSourcesContent(){let c={};if(this.root)this.root.walk(f=>{if(f.source){let b=f.source.input.from;if(b&&!c[b]){c[b]=!0;let y=this.usesFileUrls?this.toFileUrl(b):this.toUrl(this.path(b));this.map.setSourceContent(y,f.source.input.css)}}});else if(this.css){let f=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(f,this.css)}}sourcePath(c){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(c.source.input.from):this.toUrl(this.path(c.source.input.from))}toBase64(c){return Buffer?Buffer.from(c).toString("base64"):window.btoa(unescape(encodeURIComponent(c)))}toFileUrl(c){let f=this.memoizedFileURLs.get(c);if(f)return f;if(u){let b=u(c).toString();return this.memoizedFileURLs.set(c,b),b}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(c){let f=this.memoizedURLs.get(c);if(f)return f;i==="\\"&&(c=c.replace(/\\/g,"/"));let b=encodeURI(c).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(c,b),b}}return mapGenerator=s,mapGenerator}var tokenize,hasRequiredTokenize;function requireTokenize(){if(hasRequiredTokenize)return tokenize;hasRequiredTokenize=1;const t=39,e=34,o=92,i=47,l=10,n=32,u=12,d=9,a=13,r=91,s=93,h=40,c=41,f=123,b=125,y=59,w=42,_=58,m=64,A=/[\t\n\f\r "#'()/;[\\\]{}]/g,g=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,p=/.[\r\n"'(/\\]/,v=/[\da-f]/i;return tokenize=function(P,E={}){let R=P.css.valueOf(),S=E.ignoreErrors,I,x,M,D,H,U,B,V,F,j,K=R.length,k=0,q=[],N=[];function W(){return k}function J(O){throw P.error("Unclosed "+O,k)}function z(){return N.length===0&&k>=K}function ne(O){if(N.length)return N.pop();if(k>=K)return;let T=O?O.ignoreUnclosed:!1;switch(I=R.charCodeAt(k),I){case l:case n:case d:case a:case u:{D=k;do D+=1,I=R.charCodeAt(D);while(I===n||I===l||I===d||I===a||I===u);U=["space",R.slice(k,D)],k=D-1;break}case r:case s:case f:case b:case _:case y:case c:{let L=String.fromCharCode(I);U=[L,L,k];break}case h:{if(j=q.length?q.pop()[1]:"",F=R.charCodeAt(k+1),j==="url"&&F!==t&&F!==e&&F!==n&&F!==l&&F!==d&&F!==u&&F!==a){D=k;do{if(B=!1,D=R.indexOf(")",D+1),D===-1)if(S||T){D=k;break}else J("bracket");for(V=D;R.charCodeAt(V-1)===o;)V-=1,B=!B}while(B);U=["brackets",R.slice(k,D+1),k,D],k=D}else D=R.indexOf(")",k+1),x=R.slice(k,D+1),D===-1||p.test(x)?U=["(","(",k]:(U=["brackets",x,k,D],k=D);break}case t:case e:{H=I===t?"'":'"',D=k;do{if(B=!1,D=R.indexOf(H,D+1),D===-1)if(S||T){D=k+1;break}else J("string");for(V=D;R.charCodeAt(V-1)===o;)V-=1,B=!B}while(B);U=["string",R.slice(k,D+1),k,D],k=D;break}case m:{A.lastIndex=k+1,A.test(R),A.lastIndex===0?D=R.length-1:D=A.lastIndex-2,U=["at-word",R.slice(k,D+1),k,D],k=D;break}case o:{for(D=k,M=!0;R.charCodeAt(D+1)===o;)D+=1,M=!M;if(I=R.charCodeAt(D+1),M&&I!==i&&I!==n&&I!==l&&I!==d&&I!==a&&I!==u&&(D+=1,v.test(R.charAt(D)))){for(;v.test(R.charAt(D+1));)D+=1;R.charCodeAt(D+1)===n&&(D+=1)}U=["word",R.slice(k,D+1),k,D],k=D;break}default:{I===i&&R.charCodeAt(k+1)===w?(D=R.indexOf("*/",k+2)+1,D===0&&(S||T?D=R.length:J("comment")),U=["comment",R.slice(k,D+1),k,D],k=D):(g.lastIndex=k+1,g.test(R),g.lastIndex===0?D=R.length-1:D=g.lastIndex-2,U=["word",R.slice(k,D+1),k,D],q.push(U),k=D);break}}return k++,U}function ee(O){N.push(O)}return{back:ee,endOfFile:z,nextToken:ne,position:W}},tokenize}var parser,hasRequiredParser$1;function requireParser$1(){if(hasRequiredParser$1)return parser;hasRequiredParser$1=1;let t=requireAtRule(),e=requireComment(),o=requireDeclaration(),i=requireRoot(),l=requireRule(),n=requireTokenize();const u={empty:!0,space:!0};function d(r){for(let s=r.length-1;s>=0;s--){let h=r[s],c=h[3]||h[2];if(c)return c}}class a{constructor(s){this.input=s,this.root=new i,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:s,start:{column:1,line:1,offset:0}}}atrule(s){let h=new t;h.name=s[1].slice(1),h.name===""&&this.unnamedAtrule(h,s),this.init(h,s[2]);let c,f,b,y=!1,w=!1,_=[],m=[];for(;!this.tokenizer.endOfFile();){if(s=this.tokenizer.nextToken(),c=s[0],c==="("||c==="["?m.push(c==="("?")":"]"):c==="{"&&m.length>0?m.push("}"):c===m[m.length-1]&&m.pop(),m.length===0)if(c===";"){h.source.end=this.getPosition(s[2]),h.source.end.offset++,this.semicolon=!0;break}else if(c==="{"){w=!0;break}else if(c==="}"){if(_.length>0){for(b=_.length-1,f=_[b];f&&f[0]==="space";)f=_[--b];f&&(h.source.end=this.getPosition(f[3]||f[2]),h.source.end.offset++)}this.end(s);break}else _.push(s);else _.push(s);if(this.tokenizer.endOfFile()){y=!0;break}}h.raws.between=this.spacesAndCommentsFromEnd(_),_.length?(h.raws.afterName=this.spacesAndCommentsFromStart(_),this.raw(h,"params",_),y&&(s=_[_.length-1],h.source.end=this.getPosition(s[3]||s[2]),h.source.end.offset++,this.spaces=h.raws.between,h.raws.between="")):(h.raws.afterName="",h.params=""),w&&(h.nodes=[],this.current=h)}checkMissedSemicolon(s){let h=this.colon(s);if(h===!1)return;let c=0,f;for(let b=h-1;b>=0&&(f=s[b],!(f[0]!=="space"&&(c+=1,c===2)));b--);throw this.input.error("Missed semicolon",f[0]==="word"?f[3]+1:f[2])}colon(s){let h=0,c,f,b;for(let[y,w]of s.entries()){if(f=w,b=f[0],b==="("&&(h+=1),b===")"&&(h-=1),h===0&&b===":")if(!c)this.doubleColon(f);else{if(c[0]==="word"&&c[1]==="progid")continue;return y}c=f}return!1}comment(s){let h=new e;this.init(h,s[2]),h.source.end=this.getPosition(s[3]||s[2]),h.source.end.offset++;let c=s[1].slice(2,-2);if(/^\s*$/.test(c))h.text="",h.raws.left=c,h.raws.right="";else{let f=c.match(/^(\s*)([^]*\S)(\s*)$/);h.text=f[2],h.raws.left=f[1],h.raws.right=f[3]}}createTokenizer(){this.tokenizer=n(this.input)}decl(s,h){let c=new o;this.init(c,s[0][2]);let f=s[s.length-1];for(f[0]===";"&&(this.semicolon=!0,s.pop()),c.source.end=this.getPosition(f[3]||f[2]||d(s)),c.source.end.offset++;s[0][0]!=="word";)s.length===1&&this.unknownWord(s),c.raws.before+=s.shift()[1];for(c.source.start=this.getPosition(s[0][2]),c.prop="";s.length;){let m=s[0][0];if(m===":"||m==="space"||m==="comment")break;c.prop+=s.shift()[1]}c.raws.between="";let b;for(;s.length;)if(b=s.shift(),b[0]===":"){c.raws.between+=b[1];break}else b[0]==="word"&&/\w/.test(b[1])&&this.unknownWord([b]),c.raws.between+=b[1];(c.prop[0]==="_"||c.prop[0]==="*")&&(c.raws.before+=c.prop[0],c.prop=c.prop.slice(1));let y=[],w;for(;s.length&&(w=s[0][0],!(w!=="space"&&w!=="comment"));)y.push(s.shift());this.precheckMissedSemicolon(s);for(let m=s.length-1;m>=0;m--){if(b=s[m],b[1].toLowerCase()==="!important"){c.important=!0;let A=this.stringFrom(s,m);A=this.spacesFromEnd(s)+A,A!==" !important"&&(c.raws.important=A);break}else if(b[1].toLowerCase()==="important"){let A=s.slice(0),g="";for(let p=m;p>0;p--){let v=A[p][0];if(g.trim().startsWith("!")&&v!=="space")break;g=A.pop()[1]+g}g.trim().startsWith("!")&&(c.important=!0,c.raws.important=g,s=A)}if(b[0]!=="space"&&b[0]!=="comment")break}s.some(m=>m[0]!=="space"&&m[0]!=="comment")&&(c.raws.between+=y.map(m=>m[1]).join(""),y=[]),this.raw(c,"value",y.concat(s),h),c.value.includes(":")&&!h&&this.checkMissedSemicolon(s)}doubleColon(s){throw this.input.error("Double colon",{offset:s[2]},{offset:s[2]+s[1].length})}emptyRule(s){let h=new l;this.init(h,s[2]),h.selector="",h.raws.between="",this.current=h}end(s){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(s[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(s)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(s){if(this.spaces+=s[1],this.current.nodes){let h=this.current.nodes[this.current.nodes.length-1];h&&h.type==="rule"&&!h.raws.ownSemicolon&&(h.raws.ownSemicolon=this.spaces,this.spaces="",h.source.end=this.getPosition(s[2]),h.source.end.offset+=h.raws.ownSemicolon.length)}}getPosition(s){let h=this.input.fromOffset(s);return{column:h.col,line:h.line,offset:s}}init(s,h){this.current.push(s),s.source={input:this.input,start:this.getPosition(h)},s.raws.before=this.spaces,this.spaces="",s.type!=="comment"&&(this.semicolon=!1)}other(s){let h=!1,c=null,f=!1,b=null,y=[],w=s[1].startsWith("--"),_=[],m=s;for(;m;){if(c=m[0],_.push(m),c==="("||c==="[")b||(b=m),y.push(c==="("?")":"]");else if(w&&f&&c==="{")b||(b=m),y.push("}");else if(y.length===0)if(c===";")if(f){this.decl(_,w);return}else break;else if(c==="{"){this.rule(_);return}else if(c==="}"){this.tokenizer.back(_.pop()),h=!0;break}else c===":"&&(f=!0);else c===y[y.length-1]&&(y.pop(),y.length===0&&(b=null));m=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(h=!0),y.length>0&&this.unclosedBracket(b),h&&f){if(!w)for(;_.length&&(m=_[_.length-1][0],!(m!=="space"&&m!=="comment"));)this.tokenizer.back(_.pop());this.decl(_,w)}else this.unknownWord(_)}parse(){let s;for(;!this.tokenizer.endOfFile();)switch(s=this.tokenizer.nextToken(),s[0]){case"space":this.spaces+=s[1];break;case";":this.freeSemicolon(s);break;case"}":this.end(s);break;case"comment":this.comment(s);break;case"at-word":this.atrule(s);break;case"{":this.emptyRule(s);break;default:this.other(s);break}this.endFile()}precheckMissedSemicolon(){}raw(s,h,c,f){let b,y,w=c.length,_="",m=!0,A,g;for(let p=0;p<w;p+=1)b=c[p],y=b[0],y==="space"&&p===w-1&&!f?m=!1:y==="comment"?(g=c[p-1]?c[p-1][0]:"empty",A=c[p+1]?c[p+1][0]:"empty",!u[g]&&!u[A]?_.slice(-1)===","?m=!1:_+=b[1]:m=!1):_+=b[1];if(!m){let p=c.reduce((v,C)=>v+C[1],"");s.raws[h]={raw:p,value:_}}s[h]=_}rule(s){s.pop();let h=new l;this.init(h,s[0][2]),h.raws.between=this.spacesAndCommentsFromEnd(s),this.raw(h,"selector",s),this.current=h}spacesAndCommentsFromEnd(s){let h,c="";for(;s.length&&(h=s[s.length-1][0],!(h!=="space"&&h!=="comment"));)c=s.pop()[1]+c;return c}spacesAndCommentsFromStart(s){let h,c="";for(;s.length&&(h=s[0][0],!(h!=="space"&&h!=="comment"));)c+=s.shift()[1];return c}spacesFromEnd(s){let h,c="";for(;s.length&&(h=s[s.length-1][0],h==="space");)c=s.pop()[1]+c;return c}stringFrom(s,h){let c="";for(let f=h;f<s.length;f++)c+=s[f][1];return s.splice(h,s.length-h),c}unclosedBlock(){let s=this.current.source.start;throw this.input.error("Unclosed block",s.line,s.column)}unclosedBracket(s){throw this.input.error("Unclosed bracket",{offset:s[2]},{offset:s[2]+1})}unexpectedClose(s){throw this.input.error("Unexpected }",{offset:s[2]},{offset:s[2]+1})}unknownWord(s){throw this.input.error("Unknown word "+s[0][1],{offset:s[0][2]},{offset:s[0][2]+s[0][1].length})}unnamedAtrule(s,h){throw this.input.error("At-rule without name",{offset:h[2]},{offset:h[2]+h[1].length})}}return parser=a,parser}var parse_1,hasRequiredParse;function requireParse(){if(hasRequiredParse)return parse_1;hasRequiredParse=1;let t=requireContainer(),e=requireInput(),o=requireParser$1();function i(l,n){let u=new e(l,n),d=new o(u);try{d.parse()}catch(a){throw a}return d.root}return parse_1=i,i.default=i,t.registerParse(i),parse_1}var warning,hasRequiredWarning;function requireWarning(){if(hasRequiredWarning)return warning;hasRequiredWarning=1;class t{constructor(o,i={}){if(this.type="warning",this.text=o,i.node&&i.node.source){let l=i.node.rangeBy(i);this.line=l.start.line,this.column=l.start.column,this.endLine=l.end.line,this.endColumn=l.end.column}for(let l in i)this[l]=i[l]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return warning=t,t.default=t,warning}var result,hasRequiredResult;function requireResult(){if(hasRequiredResult)return result;hasRequiredResult=1;let t=requireWarning();class e{get content(){return this.css}constructor(i,l,n){this.processor=i,this.messages=[],this.root=l,this.opts=n,this.css="",this.map=void 0}toString(){return this.css}warn(i,l={}){l.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(l.plugin=this.lastPlugin.postcssPlugin);let n=new t(i,l);return this.messages.push(n),n}warnings(){return this.messages.filter(i=>i.type==="warning")}}return result=e,e.default=e,result}var lazyResult,hasRequiredLazyResult;function requireLazyResult(){if(hasRequiredLazyResult)return lazyResult;hasRequiredLazyResult=1;let t=requireContainer(),e=requireDocument(),o=requireMapGenerator(),i=requireParse(),l=requireResult(),n=requireRoot(),u=requireStringify(),{isClean:d,my:a}=requireSymbols();const r={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},s={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},h={Once:!0,postcssPlugin:!0,prepare:!0},c=0;function f(A){return typeof A=="object"&&typeof A.then=="function"}function b(A){let g=!1,p=r[A.type];return A.type==="decl"?g=A.prop.toLowerCase():A.type==="atrule"&&(g=A.name.toLowerCase()),g&&A.append?[p,p+"-"+g,c,p+"Exit",p+"Exit-"+g]:g?[p,p+"-"+g,p+"Exit",p+"Exit-"+g]:A.append?[p,c,p+"Exit"]:[p,p+"Exit"]}function y(A){let g;return A.type==="document"?g=["Document",c,"DocumentExit"]:A.type==="root"?g=["Root",c,"RootExit"]:g=b(A),{eventIndex:0,events:g,iterator:0,node:A,visitorIndex:0,visitors:[]}}function w(A){return A[d]=!1,A.nodes&&A.nodes.forEach(g=>w(g)),A}let _={};class m{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(g,p,v){this.stringified=!1,this.processed=!1;let C;if(typeof p=="object"&&p!==null&&(p.type==="root"||p.type==="document"))C=w(p);else if(p instanceof m||p instanceof l)C=w(p.root),p.map&&(typeof v.map>"u"&&(v.map={}),v.map.inline||(v.map.inline=!1),v.map.prev=p.map);else{let P=i;v.syntax&&(P=v.syntax.parse),v.parser&&(P=v.parser),P.parse&&(P=P.parse);try{C=P(p,v)}catch(E){this.processed=!0,this.error=E}C&&!C[a]&&t.rebuild(C)}this.result=new l(g,C,v),this.helpers={..._,postcss:_,result:this.result},this.plugins=this.processor.plugins.map(P=>typeof P=="object"&&P.prepare?{...P,...P.prepare(this.result)}:P)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(g){return this.async().catch(g)}finally(g){return this.async().then(g,g)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(g,p){let v=this.result.lastPlugin;try{p&&p.addToError(g),this.error=g,g.name==="CssSyntaxError"&&!g.plugin?(g.plugin=v.postcssPlugin,g.setMessage()):v.postcssVersion}catch(C){console&&console.error&&console.error(C)}return g}prepareVisitors(){this.listeners={};let g=(p,v,C)=>{this.listeners[v]||(this.listeners[v]=[]),this.listeners[v].push([p,C])};for(let p of this.plugins)if(typeof p=="object")for(let v in p){if(!s[v]&&/^[A-Z]/.test(v))throw new Error(`Unknown event ${v} in ${p.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!h[v])if(typeof p[v]=="object")for(let C in p[v])C==="*"?g(p,v,p[v][C]):g(p,v+"-"+C.toLowerCase(),p[v][C]);else typeof p[v]=="function"&&g(p,v,p[v])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let g=0;g<this.plugins.length;g++){let p=this.plugins[g],v=this.runOnRoot(p);if(f(v))try{await v}catch(C){throw this.handleError(C)}}if(this.prepareVisitors(),this.hasListener){let g=this.result.root;for(;!g[d];){g[d]=!0;let p=[y(g)];for(;p.length>0;){let v=this.visitTick(p);if(f(v))try{await v}catch(C){let P=p[p.length-1].node;throw this.handleError(C,P)}}}if(this.listeners.OnceExit)for(let[p,v]of this.listeners.OnceExit){this.result.lastPlugin=p;try{if(g.type==="document"){let C=g.nodes.map(P=>v(P,this.helpers));await Promise.all(C)}else await v(g,this.helpers)}catch(C){throw this.handleError(C)}}}return this.processed=!0,this.stringify()}runOnRoot(g){this.result.lastPlugin=g;try{if(typeof g=="object"&&g.Once){if(this.result.root.type==="document"){let p=this.result.root.nodes.map(v=>g.Once(v,this.helpers));return f(p[0])?Promise.all(p):p}return g.Once(this.result.root,this.helpers)}else if(typeof g=="function")return g(this.result.root,this.result)}catch(p){throw this.handleError(p)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let g=this.result.opts,p=u;g.syntax&&(p=g.syntax.stringify),g.stringifier&&(p=g.stringifier),p.stringify&&(p=p.stringify);let C=new o(p,this.result.root,this.result.opts).generate();return this.result.css=C[0],this.result.map=C[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let g of this.plugins){let p=this.runOnRoot(g);if(f(p))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let g=this.result.root;for(;!g[d];)g[d]=!0,this.walkSync(g);if(this.listeners.OnceExit)if(g.type==="document")for(let p of g.nodes)this.visitSync(this.listeners.OnceExit,p);else this.visitSync(this.listeners.OnceExit,g)}return this.result}then(g,p){return this.async().then(g,p)}toString(){return this.css}visitSync(g,p){for(let[v,C]of g){this.result.lastPlugin=v;let P;try{P=C(p,this.helpers)}catch(E){throw this.handleError(E,p.proxyOf)}if(p.type!=="root"&&p.type!=="document"&&!p.parent)return!0;if(f(P))throw this.getAsyncError()}}visitTick(g){let p=g[g.length-1],{node:v,visitors:C}=p;if(v.type!=="root"&&v.type!=="document"&&!v.parent){g.pop();return}if(C.length>0&&p.visitorIndex<C.length){let[E,R]=C[p.visitorIndex];p.visitorIndex+=1,p.visitorIndex===C.length&&(p.visitors=[],p.visitorIndex=0),this.result.lastPlugin=E;try{return R(v.toProxy(),this.helpers)}catch(S){throw this.handleError(S,v)}}if(p.iterator!==0){let E=p.iterator,R;for(;R=v.nodes[v.indexes[E]];)if(v.indexes[E]+=1,!R[d]){R[d]=!0,g.push(y(R));return}p.iterator=0,delete v.indexes[E]}let P=p.events;for(;p.eventIndex<P.length;){let E=P[p.eventIndex];if(p.eventIndex+=1,E===c){v.nodes&&v.nodes.length&&(v[d]=!0,p.iterator=v.getIterator());return}else if(this.listeners[E]){p.visitors=this.listeners[E];return}}g.pop()}walkSync(g){g[d]=!0;let p=b(g);for(let v of p)if(v===c)g.nodes&&g.each(C=>{C[d]||this.walkSync(C)});else{let C=this.listeners[v];if(C&&this.visitSync(C,g.toProxy()))return}}warnings(){return this.sync().warnings()}}return m.registerPostcss=A=>{_=A},lazyResult=m,m.default=m,n.registerLazyResult(m),e.registerLazyResult(m),lazyResult}var noWorkResult,hasRequiredNoWorkResult;function requireNoWorkResult(){if(hasRequiredNoWorkResult)return noWorkResult;hasRequiredNoWorkResult=1;let t=requireMapGenerator(),e=requireParse();const o=requireResult();let i=requireStringify();class l{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let u,d=e;try{u=d(this._css,this._opts)}catch(a){this.error=a}if(this.error)throw this.error;return this._root=u,u}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(u,d,a){d=d.toString(),this.stringified=!1,this._processor=u,this._css=d,this._opts=a,this._map=void 0;let r,s=i;this.result=new o(this._processor,r,this._opts),this.result.css=d;let h=this;Object.defineProperty(this.result,"root",{get(){return h.root}});let c=new t(s,r,this._opts,d);if(c.isMap()){let[f,b]=c.generate();f&&(this.result.css=f),b&&(this.result.map=b)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(u){return this.async().catch(u)}finally(u){return this.async().then(u,u)}sync(){if(this.error)throw this.error;return this.result}then(u,d){return this.async().then(u,d)}toString(){return this._css}warnings(){return[]}}return noWorkResult=l,l.default=l,noWorkResult}var processor,hasRequiredProcessor;function requireProcessor(){if(hasRequiredProcessor)return processor;hasRequiredProcessor=1;let t=requireDocument(),e=requireLazyResult(),o=requireNoWorkResult(),i=requireRoot();class l{constructor(u=[]){this.version="8.5.6",this.plugins=this.normalize(u)}normalize(u){let d=[];for(let a of u)if(a.postcss===!0?a=a():a.postcss&&(a=a.postcss),typeof a=="object"&&Array.isArray(a.plugins))d=d.concat(a.plugins);else if(typeof a=="object"&&a.postcssPlugin)d.push(a);else if(typeof a=="function")d.push(a);else if(!(typeof a=="object"&&(a.parse||a.stringify)))throw new Error(a+" is not a PostCSS plugin");return d}process(u,d={}){return!this.plugins.length&&!d.parser&&!d.stringifier&&!d.syntax?new o(this,u,d):new e(this,u,d)}use(u){return this.plugins=this.plugins.concat(this.normalize([u])),this}}return processor=l,l.default=l,i.registerProcessor(l),t.registerProcessor(l),processor}var postcss_1,hasRequiredPostcss;function requirePostcss(){if(hasRequiredPostcss)return postcss_1;hasRequiredPostcss=1;var t={};let e=requireAtRule(),o=requireComment(),i=requireContainer(),l=requireCssSyntaxError(),n=requireDeclaration(),u=requireDocument(),d=requireFromJSON(),a=requireInput(),r=requireLazyResult(),s=requireList(),h=requireNode(),c=requireParse(),f=requireProcessor(),b=requireResult(),y=requireRoot(),w=requireRule(),_=requireStringify(),m=requireWarning();function A(...g){return g.length===1&&Array.isArray(g[0])&&(g=g[0]),new f(g)}return A.plugin=function(p,v){let C=!1;function P(...R){console&&console.warn&&!C&&(C=!0,console.warn(p+`: postcss.plugin was deprecated. Migration guide:
54
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`),t.LANG&&t.LANG.startsWith("cn")&&console.warn(p+`: 里面 postcss.plugin 被弃用. 迁移指南:
55
+ https://www.w3ctech.com/topic/2226`));let S=v(...R);return S.postcssPlugin=p,S.postcssVersion=new f().version,S}let E;return Object.defineProperty(P,"postcss",{get(){return E||(E=P()),E}}),P.process=function(R,S,I){return A([P(I)]).process(R,S)},P},A.stringify=_,A.parse=c,A.fromJSON=d,A.list=s,A.comment=g=>new o(g),A.atRule=g=>new e(g),A.decl=g=>new n(g),A.rule=g=>new w(g),A.root=g=>new y(g),A.document=g=>new u(g),A.CssSyntaxError=l,A.Declaration=n,A.Container=i,A.Processor=f,A.Document=u,A.Comment=o,A.Warning=m,A.AtRule=e,A.Result=b,A.Input=a,A.Rule=w,A.Root=y,A.Node=h,r.registerPostcss(A),postcss_1=A,A.default=A,postcss_1}var sanitizeHtml_1$1,hasRequiredSanitizeHtml$1;function requireSanitizeHtml$1(){if(hasRequiredSanitizeHtml$1)return sanitizeHtml_1$1;hasRequiredSanitizeHtml$1=1;const t=requireLib(),e=requireEscapeStringRegexp(),{isPlainObject:o}=requireIsPlainObject(),i=requireCjs(),l=requireParseSrcset(),{parse:n}=requirePostcss(),u=["img","audio","video","picture","svg","object","map","iframe","embed"],d=["script","style"];function a(w,_){w&&Object.keys(w).forEach(function(m){_(w[m],m)})}function r(w,_){return{}.hasOwnProperty.call(w,_)}function s(w,_){const m=[];return a(w,function(A){_(A)&&m.push(A)}),m}function h(w){for(const _ in w)if(r(w,_))return!1;return!0}function c(w){return w.map(function(_){if(!_.url)throw new Error("URL missing");return _.url+(_.w?` ${_.w}w`:"")+(_.h?` ${_.h}h`:"")+(_.d?` ${_.d}x`:"")}).join(", ")}sanitizeHtml_1$1=b;const f=/^[^\0\t\n\f\r /<=>]+$/;function b(w,_,m){if(w==null)return"";typeof w=="number"&&(w=w.toString());let A="",g="";function p(O,T){const L=this;this.tag=O,this.attribs=T||{},this.tagPosition=A.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(H.length){const G=H[H.length-1];G.text+=L.text}},this.updateParentNodeMediaChildren=function(){H.length&&u.includes(this.tag)&&H[H.length-1].mediaChildren.push(this.tag)}}_=Object.assign({},b.defaults,_),_.parser=Object.assign({},y,_.parser);const v=function(O){return _.allowedTags===!1||(_.allowedTags||[]).indexOf(O)>-1};d.forEach(function(O){v(O)&&!_.allowVulnerableTags&&console.warn(`
56
+
57
+ ⚠️ Your \`allowedTags\` option includes, \`${O}\`, which is inherently
58
+ vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
59
+ Or, to disable this warning, add the \`allowVulnerableTags\` option
60
+ and ensure you are accounting for this risk.
61
+
62
+ `)});const C=_.nonTextTags||["script","style","textarea","option"];let P,E;_.allowedAttributes&&(P={},E={},a(_.allowedAttributes,function(O,T){P[T]=[];const L=[];O.forEach(function(G){typeof G=="string"&&G.indexOf("*")>=0?L.push(e(G).replace(/\\\*/g,".*")):P[T].push(G)}),L.length&&(E[T]=new RegExp("^("+L.join("|")+")$"))}));const R={},S={},I={};a(_.allowedClasses,function(O,T){if(P&&(r(P,T)||(P[T]=[]),P[T].push("class")),R[T]=O,Array.isArray(O)){const L=[];R[T]=[],I[T]=[],O.forEach(function(G){typeof G=="string"&&G.indexOf("*")>=0?L.push(e(G).replace(/\\\*/g,".*")):G instanceof RegExp?I[T].push(G):R[T].push(G)}),L.length&&(S[T]=new RegExp("^("+L.join("|")+")$"))}});const x={};let M;a(_.transformTags,function(O,T){let L;typeof O=="function"?L=O:typeof O=="string"&&(L=b.simpleTransform(O)),T==="*"?M=L:x[T]=L});let D,H,U,B,V,F,j=!1;k();const K=new t.Parser({onopentag:function(O,T){if(_.enforceHtmlBoundary&&O==="html"&&k(),V){F++;return}const L=new p(O,T);H.push(L);let G=!1;const Q=!!L.text;let X;if(r(x,O)&&(X=x[O](O,T),L.attribs=T=X.attribs,X.text!==void 0&&(L.innerText=X.text),O!==X.tagName&&(L.name=O=X.tagName,B[D]=X.tagName)),M&&(X=M(O,T),L.attribs=T=X.attribs,O!==X.tagName&&(L.name=O=X.tagName,B[D]=X.tagName)),(!v(O)||_.disallowedTagsMode==="recursiveEscape"&&!h(U)||_.nestingLimit!=null&&D>=_.nestingLimit)&&(G=!0,U[D]=!0,_.disallowedTagsMode==="discard"&&C.indexOf(O)!==-1&&(V=!0,F=1),U[D]=!0),D++,G){if(_.disallowedTagsMode==="discard")return;g=A,A=""}A+="<"+O,O==="script"&&(_.allowedScriptHostnames||_.allowedScriptDomains)&&(L.innerText=""),(!P||r(P,O)||P["*"])&&a(T,function(te,ue){if(!f.test(ue)){delete L.attribs[ue];return}if(te===""&&!_.allowedEmptyAttributes.includes(ue)&&(_.nonBooleanAttributes.includes(ue)||_.nonBooleanAttributes.includes("*"))){delete L.attribs[ue];return}let ae=!1;if(!P||r(P,O)&&P[O].indexOf(ue)!==-1||P["*"]&&P["*"].indexOf(ue)!==-1||r(E,O)&&E[O].test(ue)||E["*"]&&E["*"].test(ue))ae=!0;else if(P&&P[O]){for(const Z of P[O])if(o(Z)&&Z.name&&Z.name===ue){ae=!0;let Y="";if(Z.multiple===!0){const oe=te.split(" ");for(const se of oe)Z.values.indexOf(se)!==-1&&(Y===""?Y=se:Y+=" "+se)}else Z.values.indexOf(te)>=0&&(Y=te);te=Y}}if(ae){if(_.allowedSchemesAppliedToAttributes.indexOf(ue)!==-1&&N(O,te)){delete L.attribs[ue];return}if(O==="script"&&ue==="src"){let Z=!0;try{const Y=W(te);if(_.allowedScriptHostnames||_.allowedScriptDomains){const oe=(_.allowedScriptHostnames||[]).find(function(ie){return ie===Y.url.hostname}),se=(_.allowedScriptDomains||[]).find(function(ie){return Y.url.hostname===ie||Y.url.hostname.endsWith(`.${ie}`)});Z=oe||se}}catch{Z=!1}if(!Z){delete L.attribs[ue];return}}if(O==="iframe"&&ue==="src"){let Z=!0;try{const Y=W(te);if(Y.isRelativeUrl)Z=r(_,"allowIframeRelativeUrls")?_.allowIframeRelativeUrls:!_.allowedIframeHostnames&&!_.allowedIframeDomains;else if(_.allowedIframeHostnames||_.allowedIframeDomains){const oe=(_.allowedIframeHostnames||[]).find(function(ie){return ie===Y.url.hostname}),se=(_.allowedIframeDomains||[]).find(function(ie){return Y.url.hostname===ie||Y.url.hostname.endsWith(`.${ie}`)});Z=oe||se}}catch{Z=!1}if(!Z){delete L.attribs[ue];return}}if(ue==="srcset")try{let Z=l(te);if(Z.forEach(function(Y){N("srcset",Y.url)&&(Y.evil=!0)}),Z=s(Z,function(Y){return!Y.evil}),Z.length)te=c(s(Z,function(Y){return!Y.evil})),L.attribs[ue]=te;else{delete L.attribs[ue];return}}catch{delete L.attribs[ue];return}if(ue==="class"){const Z=R[O],Y=R["*"],oe=S[O],se=I[O],ie=S["*"],de=[oe,ie].concat(se).filter(function(ce){return ce});if(Z&&Y?te=ee(te,i(Z,Y),de):te=ee(te,Z||Y,de),!te.length){delete L.attribs[ue];return}}if(ue==="style"){if(_.parseStyleAttributes)try{const Z=n(O+" {"+te+"}",{map:!1}),Y=J(Z,_.allowedStyles);if(te=z(Y),te.length===0){delete L.attribs[ue];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+O+" {"+te+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete L.attribs[ue];return}else if(_.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}A+=" "+ue,te&&te.length?A+='="'+q(te,!0)+'"':_.allowedEmptyAttributes.includes(ue)&&(A+='=""')}else delete L.attribs[ue]}),_.selfClosing.indexOf(O)!==-1?A+=" />":(A+=">",L.innerText&&!Q&&!_.textFilter&&(A+=q(L.innerText),j=!0)),G&&(A=g+q(A),g="")},ontext:function(O){if(V)return;const T=H[H.length-1];let L;if(T&&(L=T.tag,O=T.innerText!==void 0?T.innerText:O),_.disallowedTagsMode==="discard"&&(L==="script"||L==="style"))A+=O;else{const G=q(O,!1);_.textFilter&&!j?A+=_.textFilter(G,L):j||(A+=G)}if(H.length){const G=H[H.length-1];G.text+=O}},onclosetag:function(O,T){if(V)if(F--,!F)V=!1;else return;const L=H.pop();if(!L)return;if(L.tag!==O){H.push(L);return}V=_.enforceHtmlBoundary?O==="html":!1,D--;const G=U[D];if(G){if(delete U[D],_.disallowedTagsMode==="discard"){L.updateParentNodeText();return}g=A,A=""}if(B[D]&&(O=B[D],delete B[D]),_.exclusiveFilter&&_.exclusiveFilter(L)){A=A.substr(0,L.tagPosition);return}if(L.updateParentNodeMediaChildren(),L.updateParentNodeText(),_.selfClosing.indexOf(O)!==-1||T&&!v(O)&&["escape","recursiveEscape"].indexOf(_.disallowedTagsMode)>=0){G&&(A=g,g="");return}A+="</"+O+">",G&&(A=g+q(A),g=""),j=!1}},_.parser);return K.write(w),K.end(),A;function k(){A="",D=0,H=[],U={},B={},V=!1,F=0}function q(O,T){return typeof O!="string"&&(O=O+""),_.parser.decodeEntities&&(O=O.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),T&&(O=O.replace(/"/g,"&quot;"))),O=O.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),T&&(O=O.replace(/"/g,"&quot;")),O}function N(O,T){for(T=T.replace(/[\x00-\x20]+/g,"");;){const Q=T.indexOf("<!--");if(Q===-1)break;const X=T.indexOf("-->",Q+4);if(X===-1)break;T=T.substring(0,Q)+T.substring(X+3)}const L=T.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!L)return T.match(/^[/\\]{2}/)?!_.allowProtocolRelative:!1;const G=L[1].toLowerCase();return r(_.allowedSchemesByTag,O)?_.allowedSchemesByTag[O].indexOf(G)===-1:!_.allowedSchemes||_.allowedSchemes.indexOf(G)===-1}function W(O){if(O=O.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),O.startsWith("relative:"))throw new Error("relative: exploit attempt");let T="relative://relative-site";for(let Q=0;Q<100;Q++)T+=`/${Q}`;const L=new URL(O,T);return{isRelativeUrl:L&&L.hostname==="relative-site"&&L.protocol==="relative:",url:L}}function J(O,T){if(!T)return O;const L=O.nodes[0];let G;return T[L.selector]&&T["*"]?G=i(T[L.selector],T["*"]):G=T[L.selector]||T["*"],G&&(O.nodes[0].nodes=L.nodes.reduce(ne(G),[])),O}function z(O){return O.nodes[0].nodes.reduce(function(T,L){return T.push(`${L.prop}:${L.value}${L.important?" !important":""}`),T},[]).join(";")}function ne(O){return function(T,L){return r(O,L.prop)&&O[L.prop].some(function(Q){return Q.test(L.value)})&&T.push(L),T}}function ee(O,T,L){return T?(O=O.split(/\s+/),O.filter(function(G){return T.indexOf(G)!==-1||L.some(function(Q){return Q.test(G)})}).join(" ")):O}}const y={decodeEntities:!0};return b.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},b.simpleTransform=function(w,_,m){return m=m===void 0?!0:m,_=_||{},function(A,g){let p;if(m)for(p in _)g[p]=_[p];else g=_;return{tagName:w,attribs:g}}},sanitizeHtml_1$1}var sanitizeHtmlExports$1=requireSanitizeHtml$1();const sanitize$1=getDefaultExportFromCjs(sanitizeHtmlExports$1);class CssProp{static reg(e){return new RegExp("^"+e+"$","i")}}CssProp.N={integer:"[+-]?[0-9]+",integer_pos:"[+]?[0-9]+",integer_zero_ff:"([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",integer_non_zero:"[+-]?([1-9][0-9]*)",integer_pos_non_zero:"[+]?([1-9][0-9]*)",number:"[+-]?([0-9]*[.])?[0-9]+(e-?[0-9]*)?",number_pos:"[+]?([0-9]*[.])?[0-9]+(e-?[0-9]*)?",number_zero_hundred:"[+]?(([0-9]|[1-9][0-9])([.][0-9]+)?|100)",number_zero_one:"[+]?(1([.][0]+)?|0?([.][0-9]+)?)"};CssProp._B={angle:`(${CssProp.N.number}(deg|rad|grad|turn)|0)`,frequency:`${CssProp.N.number}(Hz|kHz)`,ident:String.raw`-?([_a-z]|[\xA0-\xFF]|\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?|\\[^\r\n\f0-9a-f])([_a-z0-9-]|[\xA0-\xFF]|\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?|\\[^\r\n\f0-9a-f])*`,len_or_perc:`(0|${CssProp.N.number}(px|em|rem|ex|in|cm|mm|pt|pc|%))`,length:`(${CssProp.N.number}(px|em|rem|ex|in|cm|mm|pt|pc)|0)`,length_pos:`(${CssProp.N.number_pos}(px|em|rem|ex|in|cm|mm|pt|pc)|0)`,percentage:`${CssProp.N.number}%`,percentage_pos:`${CssProp.N.number_pos}%`,percentage_zero_hundred:`${CssProp.N.number_zero_hundred}%`,string:String.raw`(\"([^\n\r\f\\"]|\\\n|\r\n|\r|\f|\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?|\\[^\r\n\f0-9a-f])*\")|(\'([^\n\r\f\\']|\\\n|\r\n|\r|\f|\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?|\\[^\r\n\f0-9a-f])*\')`,time:`${CssProp.N.number}(s|ms)`,url:"url\\(.*?\\)",z_index:"[+-]?[0-9]{1,7}"};CssProp._B1={flex:`(${CssProp.N.number}|${CssProp._B.len_or_perc}|none|auto)\\s*((${CssProp.N.number}|${CssProp._B.len_or_perc}|auto)\\s*){0,2}`,fixed_breadth:`${CssProp._B.len_or_perc}`,grid_line:`auto|${CssProp._B.ident}|(${CssProp.N.integer_non_zero}(\\s+${CssProp._B.ident})?)|(span\\s+(${CssProp.N.integer_pos_non_zero}|${CssProp._B.ident}))`,line_names:String.raw`\[\s*${CssProp._B.ident}(\s+${CssProp._B.ident})*\s*\]`};CssProp._B2={inflexible_breadth:`${CssProp._B.len_or_perc}|auto|min-content|max-content`,track_breadth:`${CssProp._B.len_or_perc}|${CssProp._B1.flex}|auto|min-content|max-content`};CssProp._B3={fixed_size:`${CssProp._B1.fixed_breadth}|minmax\\(\\s*${CssProp._B2.inflexible_breadth}\\s*,\\s*${CssProp._B1.fixed_breadth}\\s*\\)|minmax\\(\\s*${CssProp._B1.fixed_breadth}\\s*,\\s*${CssProp._B2.track_breadth}\\s*\\)`,track_size:`${CssProp._B2.track_breadth}|minmax\\(\\s*${CssProp._B2.inflexible_breadth}\\s*,\\s*${CssProp._B2.track_breadth}\\s*\\)|fit-content\\(\\s*(${CssProp._B.len_or_perc}\\s*)*\\)`};CssProp._B4={name_repeat:`repeat\\(\\s*(${CssProp.N.integer_pos_non_zero}|auto-fill)\\s*,\\s*(${CssProp._B1.line_names})+\\s*\\)`,auto_repeat:`repeat\\(\\s*(auto-fill|auto-fit)\\s*,\\s*((${CssProp._B1.line_names}\\s+)?${CssProp._B3.fixed_size}\\s*)+(${CssProp._B1.line_names})?\\s*\\)`,fixed_repeat:`repeat\\(\\s*(${CssProp.N.integer_pos_non_zero})\\s*,\\s*((${CssProp._B1.line_names}\\s+)?${CssProp._B3.fixed_size}\\s*)+(${CssProp._B1.line_names})?\\s*\\)`};CssProp._B5={auto_track_list:`(${CssProp._B1.line_names}\\s*)?(${CssProp._B3.fixed_size}|${CssProp._B4.fixed_repeat})*(${CssProp._B1.line_names}\\s*)?${CssProp._B4.auto_repeat}(${CssProp._B1.line_names}\\s*)?(${CssProp._B3.fixed_size}|${CssProp._B4.fixed_repeat})*(${CssProp._B1.line_names}\\s*)?`,explicit_track_list:`(${CssProp._B1.line_names}\\s*)?(${CssProp._B3.track_size})+(${CssProp._B1.line_names}\\s*)?`,track_list:`(${CssProp._B1.line_names}\\s*)?(${CssProp._B3.track_size}|${CssProp._B4.name_repeat})+(${CssProp._B1.line_names}\\s*)?`};CssProp._B6={grid_template_rows:`none|${CssProp._B5.track_list}|${CssProp._B5.auto_track_list}|subgrid\\s*(${CssProp._B1.line_names})?`,grid_template_columns:`none|${CssProp._B5.track_list}|${CssProp._B5.auto_track_list}|subgrid\\s*(${CssProp._B1.line_names})?`};CssProp.B={...CssProp._B,...CssProp._B1,...CssProp._B2,...CssProp._B3,...CssProp._B4,...CssProp._B5,...CssProp._B6};CssProp.A={absolute_size:"xx-small|x-small|small|medium|large|x-large|xx-large",attachment:"scroll|fixed|local",bg_origin:"border-box|padding-box|content-box",border_style:"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset",box:"border-box|padding-box|content-box",display_inside:"auto|block|table|flex|grid",display_outside:"block-level|inline-level|none|table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption",ending_shape:"circle|ellipse",generic_family:"serif|sans-serif|cursive|fantasy|monospace",generic_voice:"male|female|child",relative_size:"smaller|larger",repeat_style:"repeat-x|repeat-y|((?:repeat|space|round|no-repeat)(?:\\s*(?:repeat|space|round|no-repeat))?)",side_or_corner:"(left|right)?\\s*(top|bottom)?",single_animation_direction:"normal|reverse|alternate|alternate-reverse",single_animation_fill_mode:"none|forwards|backwards|both",single_animation_play_state:"running|paused"};CssProp._COLOR={hex:"\\#(0x)?[0-9a-f]+",name:"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|transparent|violet|wheat|white|whitesmoke|yellow|yellowgreen",rgb:String.raw`rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)`,rgba:String.raw`rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(${CssProp.N.integer_zero_ff}|${CssProp.N.number_zero_one}|${CssProp.B.percentage_zero_hundred})\s*\)`};CssProp._C={alpha:`${CssProp.N.integer_zero_ff}|${CssProp.N.number_zero_one}|${CssProp.B.percentage_zero_hundred}`,alphavalue:CssProp.N.number_zero_one,bg_position:`((${CssProp.B.len_or_perc}|left|center|right|top|bottom)\\s*){1,4}`,bg_size:`(${CssProp.B.length_pos}|${CssProp.B.percentage}|auto){1,2}|cover|contain`,border_width:`thin|medium|thick|${CssProp.B.length}`,bottom:`${CssProp.B.length}|auto`,color:`${CssProp._COLOR.hex}|${CssProp._COLOR.rgb}|${CssProp._COLOR.rgba}|${CssProp._COLOR.name}`,color_stop_length:`(${CssProp.B.len_or_perc}\\s*){1,2}`,linear_color_hint:`${CssProp.B.len_or_perc}`,family_name:`${CssProp.B.string}|(${CssProp.B.ident}\\s*)+`,image_decl:CssProp.B.url,left:`${CssProp.B.length}|auto`,loose_quotable_words:`(${CssProp.B.ident})+`,margin_width:`${CssProp.B.len_or_perc}|auto`,padding_width:`${CssProp.B.length_pos}|${CssProp.B.percentage_pos}`,page_url:CssProp.B.url,position:`((${CssProp.B.len_or_perc}|left|center|right|top|bottom)\\s*){1,4}`,right:`${CssProp.B.length}|auto`,shadow:"",size:`closest-side|farthest-side|closest-corner|farthest-corner|${CssProp.B.length}|(${CssProp.B.len_or_perc})\\s+(${CssProp.B.len_or_perc})`,top:`${CssProp.B.length}|auto`};CssProp._C1={image_list:`image\\(\\s*(${CssProp.B.url})*\\s*(${CssProp.B.url}|${CssProp._C.color})\\s*\\)`,linear_color_stop:`(${CssProp._C.color})(\\s*${CssProp._C.color_stop_length})?`,shadow:`((${CssProp._C.color})\\s+((${CssProp.B.length})\\s*){2,4}(s+inset)?)|((inset\\s+)?((${CssProp.B.length})\\s*){2,4}\\s*(${CssProp._C.color})?)`};CssProp._C2={color_stop_list:`((${CssProp._C1.linear_color_stop})(\\s*(${CssProp._C.linear_color_hint}))?\\s*,\\s*)+(${CssProp._C1.linear_color_stop})`,shape:`rect\\(\\s*(${CssProp._C.top})\\s*,\\s*(${CssProp._C.right})\\s*,\\s*(${CssProp._C.bottom})\\s*,\\s*(${CssProp._C.left})\\s*\\)`};CssProp._C3={linear_gradient:`linear-gradient\\((((${CssProp.B.angle})|to\\s+(${CssProp.A.side_or_corner}))\\s*,\\s*)?\\s*(${CssProp._C2.color_stop_list})\\s*\\)`,radial_gradient:`radial-gradient\\(((((${CssProp.A.ending_shape})|(${CssProp._C.size}))\\s*)*\\s*(at\\s+${CssProp._C.position})?\\s*,\\s*)?\\s*(${CssProp._C2.color_stop_list})\\s*\\)`};CssProp._C4={image:`${CssProp.B.url}|${CssProp._C3.linear_gradient}|${CssProp._C3.radial_gradient}|${CssProp._C1.image_list}`,bg_image:`(${CssProp.B.url}|${CssProp._C3.linear_gradient}|${CssProp._C3.radial_gradient}|${CssProp._C1.image_list})|none`};CssProp.C={...CssProp._C,...CssProp._C1,...CssProp._C2,...CssProp._C3,...CssProp._C4};CssProp.AP={baseline_position:"baseline|first baseline|last baseline",border_collapse:"collapse|separate",box:"normal|none|contents",box_sizing:"content-box|padding-box|border-box",caption_side:"top|bottom",clear:"none|left|right|both",content_position:"start|end|center|flex-start|flex-end",content_distribution:"stretch|space-between|space-around|space-evenly",direction:"ltr|rtl",empty_cells:"show|hide",flex_direction:"row|row-reverse|column|column-reverse",flex_wrap:"nowrap|wrap|wrap-reverse",float:"left|right|none",font_stretch:"normal|wider|narrower|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",font_style:"normal|italic|oblique",font_variant:"normal|small-caps",font_weight:"normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900",list_style_position:"inside|outside",gap:"normal",grid_auto_flow:"row|column|dense|row dense|column dense",justify_content:"start|end|center|stretch|space-between|space-around|space-evenly",justify_items:"start|end|center|stretch",justify_self:"auto|start|end|center|stretch",list_style_type:"disc|circle|square|decimal|decimal-leading-zero|lower-roman|upper-roman|lower-greek|lower-latin|upper-latin|armenian|georgian|lower-alpha|upper-alpha|none",overflow:"visible|hidden|scroll|auto",overflow_position:"unsafe|safe",overflow_wrap:"normal|break-word",overflow_x:"visible|hidden|scroll|auto|no-display|no-content",page_break_after:"auto|always|avoid|left|right",page_break_before:"auto|always|avoid|left|right",page_break_inside:"avoid|auto",place_content:"(center|start|end|space-between|space-around|space-evenly|stretch){1,2}",place_items:"(center|start|end|baseline|stretch){1,2}",place_self:"(center|start|end|baseline|stretch){1,2}",position:"static|relative|absolute",resize:"none|both|horizontal|vertical",speak:"normal|none|spell-out",self_position:"center|start|end|self-start|self-end|flex-start|flex-end",speak_header:"once|always",speak_numeral:"digits|continuous",speak_punctuation:"code|none",table_layout:"auto|fixed",text_align:"left|right|center|justify",text_decoration:"none|((underline|overline|line-through|blink)\\s*)+",text_transform:"capitalize|uppercase|lowercase|none",text_wrap:"normal|unrestricted|none|suppress",unicode_bidi:"normal|embed|bidi-override",visibility:"visible|hidden|collapse",white_space:"normal|pre|nowrap|pre-wrap|pre-line",word_break:"normal|keep-all|break-all"};CssProp._CP={align_content:`normal|${CssProp.AP.baseline_position}|${CssProp.AP.content_distribution}|${CssProp.AP.overflow_position}|${CssProp.AP.content_position}`,align_items:`normal|stretch|${CssProp.AP.baseline_position}|(${CssProp.AP.overflow_position})?\\s*${CssProp.AP.self_position}|anchor-center`,align_self:`auto|normal|stretch|${CssProp.AP.baseline_position}|(${CssProp.AP.overflow_position})?\\s*${CssProp.AP.self_position}|anchor-center`,background_attachment:`${CssProp.A.attachment}(,\\s*${CssProp.A.attachment})*`,background_color:CssProp.C.color,background_origin:`${CssProp.A.box}(,\\s*${CssProp.A.box})*`,background_repeat:`${CssProp.A.repeat_style}(,\\s*${CssProp.A.repeat_style})*`,border:`((${CssProp.C.border_width}|${CssProp.A.border_style}|${CssProp.C.color})\\s*){1,3}`,border_radius:`((${CssProp.B.len_or_perc})\\s*){1,4}(\\/\\s*((${CssProp.B.len_or_perc})\\s*){1,4})?`,border_spacing:`${CssProp.B.length}\\s*(${CssProp.B.length})?`,border_top_color:CssProp.C.color,border_top_style:CssProp.A.border_style,border_width:`((${CssProp.C.border_width})\\s*){1,4}`,color:CssProp.C.color,cursor:`(${CssProp.B.url}(\\s*,\\s*)?)*(auto|crosshair|default|pointer|move|e-resize|ne-resize|nw-resize|n-resize|se-resize|sw-resize|s-resize|w-resize|text|wait|help|progress|all-scroll|col-resize|hand|no-drop|not-allowed|row-resize|vertical-text)`,display:`inline|block|list-item|run-in|inline-list-item|inline-block|table|inline-table|table-cell|table-caption|flex|inline-flex|grid|inline-grid|${CssProp.A.display_inside}|${CssProp.A.display_outside}|inherit|inline-box|inline-stack`,display_outside:CssProp.A.display_outside,elevation:`${CssProp.B.angle}|below|level|above|higher|lower`,font_family:`(${CssProp.C.family_name}|${CssProp.A.generic_family})(,\\s*(${CssProp.C.family_name}|${CssProp.A.generic_family}))*`,height:`${CssProp.B.length}|${CssProp.B.percentage}|auto`,letter_spacing:`normal|${CssProp.B.length}`,list_style_image:`${CssProp.C.image}|none`,margin_right:CssProp.C.margin_width,max_height:`${CssProp.B.length_pos}|${CssProp.B.percentage_pos}|none|auto`,min_height:`${CssProp.B.length_pos}|${CssProp.B.percentage_pos}|auto`,opacity:CssProp.C.alphavalue,outline_color:`${CssProp.C.color}|invert`,outline_width:CssProp.C.border_width,padding:`((${CssProp.C.padding_width})\\s*){1,4}`,padding_top:CssProp.C.padding_width,pitch_range:CssProp.N.number,right:`${CssProp.B.length}|${CssProp.B.percentage}|auto`,stress:CssProp.N.number,text_indent:`${CssProp.B.length}|${CssProp.B.percentage}`,text_shadow:`none|${CssProp.C.shadow}(,\\s*(${CssProp.C.shadow}))*`,volume:`${CssProp.N.number_pos}|${CssProp.B.percentage_pos}|silent|x-soft|soft|medium|loud|x-loud`,word_wrap:CssProp.AP.overflow_wrap,zoom:`normal|${CssProp.N.number_pos}|${CssProp.B.percentage_pos}`,backface_visibility:CssProp.AP.visibility,background_clip:`${CssProp.A.box}(,\\s*(${CssProp.A.box}))*`,background_position:`${CssProp.C.bg_position}(,\\s*(${CssProp.C.bg_position}))*`,border_bottom_color:CssProp.C.color,border_bottom_style:CssProp.A.border_style,border_color:`((${CssProp.C.color})\\s*){1,4}`,border_left_color:CssProp.C.color,border_right_color:CssProp.C.color,border_style:`((${CssProp.A.border_style})\\s*){1,4}`,border_top_left_radius:`(${CssProp.B.length}|${CssProp.B.percentage})(\\s*(${CssProp.B.length}|${CssProp.B.percentage}))?`,border_top_width:CssProp.C.border_width,box_shadow:`none|${CssProp.C.shadow}(,\\s*(${CssProp.C.shadow}))*`,clip:`${CssProp.C.shape}|auto`,display_inside:CssProp.A.display_inside,font_size:`${CssProp.A.absolute_size}|${CssProp.A.relative_size}|${CssProp.B.length_pos}|${CssProp.B.percentage_pos}`,line_height:`normal|${CssProp.N.number_pos}|${CssProp.B.length_pos}|${CssProp.B.percentage_pos}`,margin_left:CssProp.C.margin_width,max_width:`${CssProp.B.length_pos}|${CssProp.B.percentage_pos}|none|auto`,outline_style:CssProp.A.border_style,padding_bottom:CssProp.C.padding_width,padding_right:CssProp.C.padding_width,perspective:`none|${CssProp.B.length}`,richness:CssProp.N.number,text_overflow:`((clip|ellipsis|${CssProp.B.string})\\s*){1,2}`,top:`${CssProp.B.length}|${CssProp.B.percentage}|auto`,width:`${CssProp.B.length_pos}|${CssProp.B.percentage_pos}|auto`,z_index:`auto|${CssProp.B.z_index}`,background:`(((${CssProp.C.bg_position}\\s*(\\/\\s*${CssProp.C.bg_size})?)|(${CssProp.A.repeat_style})|(${CssProp.A.attachment})|(${CssProp.A.bg_origin})|(${CssProp.C.bg_image})|(${CssProp.C.color}))\\s*)+`,background_size:`${CssProp.C.bg_size}(,\\s*${CssProp.C.bg_size})*`,border_bottom_left_radius:`(${CssProp.B.length}|${CssProp.B.percentage})(\\s*(${CssProp.B.length}|${CssProp.B.percentage}))?`,border_bottom_width:CssProp.C.border_width,border_left_style:CssProp.A.border_style,border_right_style:CssProp.A.border_style,border_top:`((${CssProp.C.border_width}|${CssProp.A.border_style}|${CssProp.C.color})\\s*){1,3}`,bottom:`${CssProp.B.len_or_perc}|auto`,list_style:`((${CssProp.AP.list_style_type}|${CssProp.AP.list_style_position}|${CssProp.C.image}|none})\\s*){1,3}`,margin_top:CssProp.C.margin_width,outline:`((${CssProp.C.color}|invert|${CssProp.A.border_style}|${CssProp.C.border_width})\\s*){1,3}`,overflow_y:CssProp.AP.overflow_x,pitch:`${CssProp.B.frequency}|x-low|low|medium|high|x-high`,vertical_align:`baseline|sub|super|top|text-top|middle|bottom|text-bottom|${CssProp.B.len_or_perc}`,word_spacing:`normal|${CssProp.B.length}`,background_image:`${CssProp.C.bg_image}(,\\s*${CssProp.C.bg_image})*`,border_bottom_right_radius:`(${CssProp.B.length}|${CssProp.B.percentage})(\\s*(${CssProp.B.length}|${CssProp.B.percentage}))?`,border_left_width:CssProp.C.border_width,border_right_width:CssProp.C.border_width,left:`${CssProp.B.len_or_perc}|auto`,margin_bottom:CssProp.C.margin_width,pause_after:`${CssProp.B.time}|${CssProp.B.percentage}`,speech_rate:`${CssProp.N.number}|x-slow|slow|medium|fast|x-fast|faster|slower`,transition_duration:`${CssProp.B.time}(,\\s*${CssProp.B.time})*`,border_bottom:`((${CssProp.C.border_width}|${CssProp.A.border_style}|${CssProp.C.color})\\s*){1,3}`,border_right:`((${CssProp.C.border_width}|${CssProp.A.border_style}|${CssProp.C.color})\\s*){1,3}`,margin:`((${CssProp.C.margin_width})\\s*){1,4}`,padding_left:CssProp.C.padding_width,border_left:`((${CssProp.C.border_width}|${CssProp.A.border_style}|${CssProp.C.color})\\s*){1,3}`,quotes:`(${CssProp.B.string}\\s*${CssProp.B.string})+|none`,border_top_right_radius:`(${CssProp.B.length}|${CssProp.B.percentage})(\\s*(${CssProp.B.length}|${CssProp.B.percentage}))?`,min_width:`${CssProp.B.length_pos}|${CssProp.B.percentage_pos}|auto`,flex_basis:`${CssProp.B.len_or_perc}|auto|content|max-content|min-content|fit-content\\(\\s*(${CssProp.B.len_or_perc}\\s*)*\\)`,flex_grow:CssProp.N.number_pos,flex_shrink:CssProp.N.number_pos,grid:`(${CssProp.B.string}|none|subgrid)\\s*(\\/\\s*(${CssProp.B.string}|none|subgrid))?`,grid_area:`${CssProp.B.ident}|auto|(${CssProp.N.integer}\\s*\\/\\s*${CssProp.N.integer}\\s*\\/\\s*${CssProp.N.integer}\\s*\\/\\s*${CssProp.N.integer})`,grid_auto_columns:`(${CssProp.B.track_size})+`,grid_auto_rows:`(${CssProp.B.track_size})+`,grid_column:`${CssProp.B.grid_line}(\\s*\\/\\s*${CssProp.B.grid_line})?`,grid_column_start:`${CssProp.B.grid_line}`,grid_column_end:`${CssProp.B.grid_line}`,grid_column_gap:`${CssProp.B.len_or_perc}|normal`,grid_gap:`(${CssProp.B.len_or_perc}|normal)(\\s*(${CssProp.B.len_or_perc}|normal))?`,grid_row:`${CssProp.B.grid_line}(\\s*\\/\\s*${CssProp.B.grid_line})?`,grid_row_start:`${CssProp.B.grid_line}`,grid_row_end:`${CssProp.B.grid_line}`,grid_row_gap:`${CssProp.B.len_or_perc}|normal`,grid_template:`none|(${CssProp.B.grid_template_rows}\\s*\\/\\s*${CssProp.B.grid_template_columns})|(${CssProp.B.line_names}\\s*)?(${CssProp.B.string}\\s*${CssProp.B.track_size}\\s*(${CssProp.B.line_names}\\s*)?)+\\s*(\\/\\s*${CssProp.B.explicit_track_list})?`,grid_template_areas:`none|(${CssProp.B.string})+`,grid_template_columns:`${CssProp.B.grid_template_columns}`,grid_template_rows:`${CssProp.B.grid_template_rows}`,row_gap:`${CssProp.B.len_or_perc}|normal`,column_gap:`${CssProp.B.len_or_perc}|normal`,gap:`(${CssProp.B.len_or_perc}|normal)(\\s*(${CssProp.B.len_or_perc}|normal))?`,order:CssProp.N.integer};CssProp._CP1={font:`(((((${CssProp.AP.font_style}|${CssProp.AP.font_variant}|${CssProp.AP.font_weight})\\s*){1,3})?\\s*(${CssProp._CP.font_size})\\s*(\\/\\s*(${CssProp._CP.line_height}))?\\s+(${CssProp._CP.font_family}))|caption|icon|menu|message-box|small-caption|status-bar)`};CssProp.CP={...CssProp._CP,...CssProp._CP1};CssProp.BORDER_COLLAPSE=CssProp.reg(CssProp.AP.border_collapse);CssProp.BOX=CssProp.reg(CssProp.AP.box);CssProp.BOX_SIZING=CssProp.reg(CssProp.AP.box_sizing);CssProp.CAPTION_SIDE=CssProp.reg(CssProp.AP.caption_side);CssProp.CLEAR=CssProp.reg(CssProp.AP.clear);CssProp.DIRECTION=CssProp.reg(CssProp.AP.direction);CssProp.EMPTY_CELLS=CssProp.reg(CssProp.AP.empty_cells);CssProp.FLOAT=CssProp.reg(CssProp.AP.float);CssProp.FONT_STRETCH=CssProp.reg(CssProp.AP.font_stretch);CssProp.FONT_STYLE=CssProp.reg(CssProp.AP.font_style);CssProp.FONT_VARIANT=CssProp.reg(CssProp.AP.font_variant);CssProp.FONT_WEIGHT=CssProp.reg(CssProp.AP.font_weight);CssProp.LIST_STYLE_POSITION=CssProp.reg(CssProp.AP.list_style_position);CssProp.LIST_STYLE_TYPE=CssProp.reg(CssProp.AP.list_style_type);CssProp.OVERFLOW=CssProp.reg(CssProp.AP.overflow);CssProp.OVERFLOW_WRAP=CssProp.reg(CssProp.AP.overflow_wrap);CssProp.OVERFLOW_X=CssProp.reg(CssProp.AP.overflow_x);CssProp.PAGE_BREAK_AFTER=CssProp.reg(CssProp.AP.page_break_after);CssProp.PAGE_BREAK_BEFORE=CssProp.reg(CssProp.AP.page_break_before);CssProp.PAGE_BREAK_INSIDE=CssProp.reg(CssProp.AP.page_break_inside);CssProp.POSITION=CssProp.reg(CssProp.AP.position);CssProp.RESIZE=CssProp.reg(CssProp.AP.resize);CssProp.SPEAK=CssProp.reg(CssProp.AP.speak);CssProp.SPEAK_HEADER=CssProp.reg(CssProp.AP.speak_header);CssProp.SPEAK_NUMERAL=CssProp.reg(CssProp.AP.speak_numeral);CssProp.SPEAK_PUNCTUATION=CssProp.reg(CssProp.AP.speak_punctuation);CssProp.TABLE_LAYOUT=CssProp.reg(CssProp.AP.table_layout);CssProp.TEXT_ALIGN=CssProp.reg(CssProp.AP.text_align);CssProp.TEXT_DECORATION=CssProp.reg(CssProp.AP.text_decoration);CssProp.TEXT_TRANSFORM=CssProp.reg(CssProp.AP.text_transform);CssProp.TEXT_WRAP=CssProp.reg(CssProp.AP.text_wrap);CssProp.UNICODE_BIDI=CssProp.reg(CssProp.AP.unicode_bidi);CssProp.VISIBILITY=CssProp.reg(CssProp.AP.visibility);CssProp.WHITE_SPACE=CssProp.reg(CssProp.AP.white_space);CssProp.WORD_BREAK=CssProp.reg(CssProp.AP.word_break);CssProp.BACKGROUND_ATTACHMENT=CssProp.reg(CssProp.CP.background_attachment);CssProp.BACKGROUND_COLOR=CssProp.reg(CssProp.CP.background_color);CssProp.BACKGROUND_ORIGIN=CssProp.reg(CssProp.CP.background_origin);CssProp.BACKGROUND_REPEAT=CssProp.reg(CssProp.CP.background_repeat);CssProp.BORDER=CssProp.reg(CssProp.CP.border);CssProp.BORDER_RADIUS=CssProp.reg(CssProp.CP.border_radius);CssProp.BORDER_SPACING=CssProp.reg(CssProp.CP.border_spacing);CssProp.BORDER_TOP_COLOR=CssProp.reg(CssProp.CP.border_top_color);CssProp.BORDER_TOP_STYLE=CssProp.reg(CssProp.CP.border_top_style);CssProp.BORDER_WIDTH=CssProp.reg(CssProp.CP.border_width);CssProp.COLOR=CssProp.reg(CssProp.CP.color);CssProp.CURSOR=CssProp.reg(CssProp.CP.cursor);CssProp.DISPLAY=CssProp.reg(CssProp.CP.display);CssProp.DISPLAY_OUTSIDE=CssProp.reg(CssProp.CP.display_outside);CssProp.ELEVATION=CssProp.reg(CssProp.CP.elevation);CssProp.FONT_FAMILY=CssProp.reg(CssProp.CP.font_family);CssProp.HEIGHT=CssProp.reg(CssProp.CP.height);CssProp.LETTER_SPACING=CssProp.reg(CssProp.CP.letter_spacing);CssProp.LIST_STYLE_IMAGE=CssProp.reg(CssProp.CP.list_style_image);CssProp.MARGIN_RIGHT=CssProp.reg(CssProp.CP.margin_right);CssProp.MAX_HEIGHT=CssProp.reg(CssProp.CP.max_height);CssProp.MIN_HEIGHT=CssProp.reg(CssProp.CP.min_height);CssProp.OPACITY=CssProp.reg(CssProp.CP.opacity);CssProp.OUTLINE_COLOR=CssProp.reg(CssProp.CP.outline_color);CssProp.OUTLINE_WIDTH=CssProp.reg(CssProp.CP.outline_width);CssProp.PADDING=CssProp.reg(CssProp.CP.padding);CssProp.PADDING_TOP=CssProp.reg(CssProp.CP.padding_top);CssProp.PITCH_RANGE=CssProp.reg(CssProp.CP.pitch_range);CssProp.RIGHT=CssProp.reg(CssProp.CP.right);CssProp.STRESS=CssProp.reg(CssProp.CP.stress);CssProp.TEXT_INDENT=CssProp.reg(CssProp.CP.text_indent);CssProp.TEXT_SHADOW=CssProp.reg(CssProp.CP.text_shadow);CssProp.VOLUME=CssProp.reg(CssProp.CP.volume);CssProp.WORD_WRAP=CssProp.reg(CssProp.CP.word_wrap);CssProp.ZOOM=CssProp.reg(CssProp.CP.zoom);CssProp.BACKFACE_VISIBILITY=CssProp.reg(CssProp.CP.backface_visibility);CssProp.BACKGROUND_CLIP=CssProp.reg(CssProp.CP.background_clip);CssProp.BACKGROUND_POSITION=CssProp.reg(CssProp.CP.background_position);CssProp.BORDER_BOTTOM_COLOR=CssProp.reg(CssProp.CP.border_bottom_color);CssProp.BORDER_BOTTOM_STYLE=CssProp.reg(CssProp.CP.border_bottom_style);CssProp.BORDER_COLOR=CssProp.reg(CssProp.CP.border_color);CssProp.BORDER_LEFT_COLOR=CssProp.reg(CssProp.CP.border_left_color);CssProp.BORDER_RIGHT_COLOR=CssProp.reg(CssProp.CP.border_right_color);CssProp.BORDER_STYLE=CssProp.reg(CssProp.CP.border_style);CssProp.BORDER_TOP_LEFT_RADIUS=CssProp.reg(CssProp.CP.border_top_left_radius);CssProp.BORDER_TOP_WIDTH=CssProp.reg(CssProp.CP.border_top_width);CssProp.BOX_SHADOW=CssProp.reg(CssProp.CP.box_shadow);CssProp.CLIP=CssProp.reg(CssProp.CP.clip);CssProp.DISPLAY_INSIDE=CssProp.reg(CssProp.CP.display_inside);CssProp.FONT_SIZE=CssProp.reg(CssProp.CP.font_size);CssProp.LINE_HEIGHT=CssProp.reg(CssProp.CP.line_height);CssProp.MARGIN_LEFT=CssProp.reg(CssProp.CP.margin_left);CssProp.MAX_WIDTH=CssProp.reg(CssProp.CP.max_width);CssProp.OUTLINE_STYLE=CssProp.reg(CssProp.CP.outline_style);CssProp.PADDING_BOTTOM=CssProp.reg(CssProp.CP.padding_bottom);CssProp.PADDING_RIGHT=CssProp.reg(CssProp.CP.padding_right);CssProp.PERSPECTIVE=CssProp.reg(CssProp.CP.perspective);CssProp.RICHNESS=CssProp.reg(CssProp.CP.richness);CssProp.TEXT_OVERFLOW=CssProp.reg(CssProp.CP.text_overflow);CssProp.TOP=CssProp.reg(CssProp.CP.top);CssProp.WIDTH=CssProp.reg(CssProp.CP.width);CssProp.Z_INDEX=CssProp.reg(CssProp.CP.z_index);CssProp.BACKGROUND=CssProp.reg(CssProp.CP.background);CssProp.BACKGROUND_SIZE=CssProp.reg(CssProp.CP.background_size);CssProp.BORDER_BOTTOM_LEFT_RADIUS=CssProp.reg(CssProp.CP.border_bottom_left_radius);CssProp.BORDER_BOTTOM_WIDTH=CssProp.reg(CssProp.CP.border_bottom_width);CssProp.BORDER_LEFT_STYLE=CssProp.reg(CssProp.CP.border_left_style);CssProp.BORDER_RIGHT_STYLE=CssProp.reg(CssProp.CP.border_right_style);CssProp.BORDER_TOP=CssProp.reg(CssProp.CP.border_top);CssProp.BOTTOM=CssProp.reg(CssProp.CP.bottom);CssProp.LIST_STYLE=CssProp.reg(CssProp.CP.list_style);CssProp.MARGIN_TOP=CssProp.reg(CssProp.CP.margin_top);CssProp.OUTLINE=CssProp.reg(CssProp.CP.outline);CssProp.OVERFLOW_Y=CssProp.reg(CssProp.CP.overflow_y);CssProp.PITCH=CssProp.reg(CssProp.CP.pitch);CssProp.VERTICAL_ALIGN=CssProp.reg(CssProp.CP.vertical_align);CssProp.WORD_SPACING=CssProp.reg(CssProp.CP.word_spacing);CssProp.BACKGROUND_IMAGE=CssProp.reg(CssProp.CP.background_image);CssProp.BORDER_BOTTOM_RIGHT_RADIUS=CssProp.reg(CssProp.CP.border_bottom_right_radius);CssProp.BORDER_LEFT_WIDTH=CssProp.reg(CssProp.CP.border_left_width);CssProp.BORDER_RIGHT_WIDTH=CssProp.reg(CssProp.CP.border_right_width);CssProp.LEFT=CssProp.reg(CssProp.CP.left);CssProp.MARGIN_BOTTOM=CssProp.reg(CssProp.CP.margin_bottom);CssProp.PAUSE_AFTER=CssProp.reg(CssProp.CP.pause_after);CssProp.SPEECH_RATE=CssProp.reg(CssProp.CP.speech_rate);CssProp.TRANSITION_DURATION=CssProp.reg(CssProp.CP.transition_duration);CssProp.BORDER_BOTTOM=CssProp.reg(CssProp.CP.border_bottom);CssProp.BORDER_RIGHT=CssProp.reg(CssProp.CP.border_right);CssProp.MARGIN=CssProp.reg(CssProp.CP.margin);CssProp.PADDING_LEFT=CssProp.reg(CssProp.CP.padding_left);CssProp.BORDER_LEFT=CssProp.reg(CssProp.CP.border_left);CssProp.FONT=CssProp.reg(CssProp.CP.font);CssProp.QUOTES=CssProp.reg(CssProp.CP.quotes);CssProp.BORDER_TOP_RIGHT_RADIUS=CssProp.reg(CssProp.CP.border_top_right_radius);CssProp.MIN_WIDTH=CssProp.reg(CssProp.CP.min_width);CssProp.ALIGN_CONTENT=CssProp.reg(CssProp.CP.align_content);CssProp.ALIGN_ITEMS=CssProp.reg(CssProp.CP.align_items);CssProp.ALIGN_SELF=CssProp.reg(CssProp.CP.align_self);CssProp.FLEX=CssProp.reg(CssProp.B.flex);CssProp.FLEX_BASIS=CssProp.reg(CssProp.CP.flex_basis);CssProp.FLEX_DIRECTION=CssProp.reg(CssProp.AP.flex_direction);CssProp.FLEX_GROW=CssProp.reg(CssProp.CP.flex_grow);CssProp.FLEX_SHRINK=CssProp.reg(CssProp.CP.flex_shrink);CssProp.FLEX_WRAP=CssProp.reg(CssProp.AP.flex_wrap);CssProp.JUSTIFY_CONTENT=CssProp.reg(CssProp.AP.justify_content);CssProp.JUSTIFY_ITEMS=CssProp.reg(CssProp.AP.justify_items);CssProp.JUSTIFY_SELF=CssProp.reg(CssProp.AP.justify_self);CssProp.ORDER=CssProp.reg(CssProp.CP.order);CssProp.GRID=CssProp.reg(CssProp.CP.grid);CssProp.GRID_AREA=CssProp.reg(CssProp.CP.grid_area);CssProp.GRID_AUTO_COLUMNS=CssProp.reg(CssProp.CP.grid_auto_columns);CssProp.GRID_AUTO_FLOW=CssProp.reg(CssProp.AP.grid_auto_flow);CssProp.GRID_AUTO_ROWS=CssProp.reg(CssProp.CP.grid_auto_rows);CssProp.GRID_COLUMN=CssProp.reg(CssProp.CP.grid_column);CssProp.GRID_COLUMN_END=CssProp.reg(CssProp.CP.grid_column_end);CssProp.GRID_COLUMN_GAP=CssProp.reg(CssProp.CP.grid_column_gap);CssProp.GRID_COLUMN_START=CssProp.reg(CssProp.CP.grid_column_start);CssProp.GRID_GAP=CssProp.reg(CssProp.CP.grid_gap);CssProp.GRID_ROW=CssProp.reg(CssProp.CP.grid_row);CssProp.GRID_ROW_END=CssProp.reg(CssProp.CP.grid_row_end);CssProp.GRID_ROW_GAP=CssProp.reg(CssProp.CP.grid_row_gap);CssProp.GRID_ROW_START=CssProp.reg(CssProp.CP.grid_row_start);CssProp.GRID_TEMPLATE=CssProp.reg(CssProp.CP.grid_template);CssProp.GRID_TEMPLATE_AREAS=CssProp.reg(CssProp.CP.grid_template_areas);CssProp.GRID_TEMPLATE_COLUMNS=CssProp.reg(CssProp.CP.grid_template_columns);CssProp.GRID_TEMPLATE_ROWS=CssProp.reg(CssProp.CP.grid_template_rows);CssProp.GAP=CssProp.reg(CssProp.CP.gap);CssProp.ROW_GAP=CssProp.reg(CssProp.CP.row_gap);CssProp.COLUMN_GAP=CssProp.reg(CssProp.CP.column_gap);CssProp.PLACE_CONTENT=CssProp.reg(CssProp.AP.place_content);CssProp.PLACE_ITEMS=CssProp.reg(CssProp.AP.place_items);CssProp.PLACE_SELF=CssProp.reg(CssProp.AP.place_self);class Sanitizer{constructor(){this._autolink=!0,this._allowNamedProperties=!1,this._allowCommandLinker=!0,this._generateOptions=()=>{const e=Array.isArray(this._customAllowedSchemes)?this._customAllowedSchemes:[...sanitize$1.defaults.allowedSchemes];return{allowedTags:["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blockquote","br","button","canvas","caption","center","cite","code","col","colgroup","colspan","command","data","datalist","dd","del","details","dfn","dir","div","dl","dt","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","i","img","input","ins","kbd","label","legend","li","map","mark","menu","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rowspan","s","samp","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"],allowedAttributes:{"*":["class","data-jupyter-id","dir","draggable","hidden","id","inert","itemprop","itemref","itemscope","lang","spellcheck","style","title","translate"],a:["accesskey","coords","href","hreflang",...this._allowNamedProperties?["name"]:[],"rel","shape","tabindex","target","type"],area:["accesskey","alt","coords","href","nohref","shape","tabindex"],audio:["autoplay","controls","loop","mediagroup","muted","preload","src"],bdo:["dir"],blockquote:["cite"],br:["clear"],button:["accesskey",...this._allowCommandLinker?["data-commandlinker-args","data-commandlinker-command"]:[],"disabled",...this._allowNamedProperties?["name"]:[],"tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],command:["checked","command","disabled","icon","label","radiogroup","type"],data:["value"],del:["cite","datetime"],details:["open"],dir:["compact"],div:["align"],dl:["compact"],fieldset:["disabled"],font:["color","face","size"],form:["accept","autocomplete","enctype","method",...this._allowNamedProperties?["name"]:[],"novalidate"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],hr:["align","noshade","size","width"],iframe:["align","frameborder","height","marginheight","marginwidth","width"],img:["align","alt","border","height","hspace","ismap",...this._allowNamedProperties?["name"]:[],"src","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","checked","disabled","inputmode","ismap","list","max","maxlength","min","multiple",...this._allowNamedProperties?["name"]:[],"placeholder","readonly","required","size","src","step","tabindex","type","usemap","value"],ins:["cite","datetime"],label:["accesskey","for"],legend:["accesskey","align"],li:["type","value"],map:this._allowNamedProperties?["name"]:[],menu:["compact","label","type"],meter:["high","low","max","min","value"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for",...this._allowNamedProperties?["name"]:[]],p:["align"],pre:["width"],progress:["max","min","value"],q:["cite"],select:["autocomplete","disabled","multiple",...this._allowNamedProperties?["name"]:[],"required","size","tabindex"],source:["type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","cols","disabled","inputmode",...this._allowNamedProperties?["name"]:[],"placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","srclang"],ul:["compact","type"],video:["autoplay","controls","height","loop","mediagroup","muted","poster","preload","src","width"]},allowedStyles:{"*":{"backface-visibility":[CssProp.BACKFACE_VISIBILITY],background:[CssProp.BACKGROUND],"background-attachment":[CssProp.BACKGROUND_ATTACHMENT],"background-clip":[CssProp.BACKGROUND_CLIP],"background-color":[CssProp.BACKGROUND_COLOR],"background-image":[CssProp.BACKGROUND_IMAGE],"background-origin":[CssProp.BACKGROUND_ORIGIN],"background-position":[CssProp.BACKGROUND_POSITION],"background-repeat":[CssProp.BACKGROUND_REPEAT],"background-size":[CssProp.BACKGROUND_SIZE],border:[CssProp.BORDER],"border-bottom":[CssProp.BORDER_BOTTOM],"border-bottom-color":[CssProp.BORDER_BOTTOM_COLOR],"border-bottom-left-radius":[CssProp.BORDER_BOTTOM_LEFT_RADIUS],"border-bottom-right-radius":[CssProp.BORDER_BOTTOM_RIGHT_RADIUS],"border-bottom-style":[CssProp.BORDER_BOTTOM_STYLE],"border-bottom-width":[CssProp.BORDER_BOTTOM_WIDTH],"border-collapse":[CssProp.BORDER_COLLAPSE],"border-color":[CssProp.BORDER_COLOR],"border-left":[CssProp.BORDER_LEFT],"border-left-color":[CssProp.BORDER_LEFT_COLOR],"border-left-style":[CssProp.BORDER_LEFT_STYLE],"border-left-width":[CssProp.BORDER_LEFT_WIDTH],"border-radius":[CssProp.BORDER_RADIUS],"border-right":[CssProp.BORDER_RIGHT],"border-right-color":[CssProp.BORDER_RIGHT_COLOR],"border-right-style":[CssProp.BORDER_RIGHT_STYLE],"border-right-width":[CssProp.BORDER_RIGHT_WIDTH],"border-spacing":[CssProp.BORDER_SPACING],"border-style":[CssProp.BORDER_STYLE],"border-top":[CssProp.BORDER_TOP],"border-top-color":[CssProp.BORDER_TOP_COLOR],"border-top-left-radius":[CssProp.BORDER_TOP_LEFT_RADIUS],"border-top-right-radius":[CssProp.BORDER_TOP_RIGHT_RADIUS],"border-top-style":[CssProp.BORDER_TOP_STYLE],"border-top-width":[CssProp.BORDER_TOP_WIDTH],"border-width":[CssProp.BORDER_WIDTH],bottom:[CssProp.BOTTOM],box:[CssProp.BOX],"box-shadow":[CssProp.BOX_SHADOW],"box-sizing":[CssProp.BOX_SIZING],"caption-side":[CssProp.CAPTION_SIDE],clear:[CssProp.CLEAR],clip:[CssProp.CLIP],color:[CssProp.COLOR],cursor:[CssProp.CURSOR],direction:[CssProp.DIRECTION],display:[CssProp.DISPLAY],"display-inside":[CssProp.DISPLAY_INSIDE],"display-outside":[CssProp.DISPLAY_OUTSIDE],elevation:[CssProp.ELEVATION],"empty-cells":[CssProp.EMPTY_CELLS],float:[CssProp.FLOAT],font:[CssProp.FONT],"font-family":[CssProp.FONT_FAMILY],"font-size":[CssProp.FONT_SIZE],"font-stretch":[CssProp.FONT_STRETCH],"font-style":[CssProp.FONT_STYLE],"font-variant":[CssProp.FONT_VARIANT],"font-weight":[CssProp.FONT_WEIGHT],height:[CssProp.HEIGHT],left:[CssProp.LEFT],"letter-spacing":[CssProp.LETTER_SPACING],"line-height":[CssProp.LINE_HEIGHT],"list-style":[CssProp.LIST_STYLE],"list-style-image":[CssProp.LIST_STYLE_IMAGE],"list-style-position":[CssProp.LIST_STYLE_POSITION],"list-style-type":[CssProp.LIST_STYLE_TYPE],margin:[CssProp.MARGIN],"margin-bottom":[CssProp.MARGIN_BOTTOM],"margin-left":[CssProp.MARGIN_LEFT],"margin-right":[CssProp.MARGIN_RIGHT],"margin-top":[CssProp.MARGIN_TOP],"max-height":[CssProp.MAX_HEIGHT],"max-width":[CssProp.MAX_WIDTH],"min-height":[CssProp.MIN_HEIGHT],"min-width":[CssProp.MIN_WIDTH],opacity:[CssProp.OPACITY],outline:[CssProp.OUTLINE],"outline-color":[CssProp.OUTLINE_COLOR],"outline-style":[CssProp.OUTLINE_STYLE],"outline-width":[CssProp.OUTLINE_WIDTH],overflow:[CssProp.OVERFLOW],"overflow-wrap":[CssProp.OVERFLOW_WRAP],"overflow-x":[CssProp.OVERFLOW_X],"overflow-y":[CssProp.OVERFLOW_Y],padding:[CssProp.PADDING],"padding-bottom":[CssProp.PADDING_BOTTOM],"padding-left":[CssProp.PADDING_LEFT],"padding-right":[CssProp.PADDING_RIGHT],"padding-top":[CssProp.PADDING_TOP],"page-break-after":[CssProp.PAGE_BREAK_AFTER],"page-break-before":[CssProp.PAGE_BREAK_BEFORE],"page-break-inside":[CssProp.PAGE_BREAK_INSIDE],"pause-after":[CssProp.PAUSE_AFTER],perspective:[CssProp.PERSPECTIVE],pitch:[CssProp.PITCH],"pitch-range":[CssProp.PITCH_RANGE],position:[CssProp.POSITION],quotes:[CssProp.QUOTES],resize:[CssProp.RESIZE],richness:[CssProp.RICHNESS],right:[CssProp.RIGHT],speak:[CssProp.SPEAK],"speak-header":[CssProp.SPEAK_HEADER],"speak-numeral":[CssProp.SPEAK_NUMERAL],"speak-punctuation":[CssProp.SPEAK_PUNCTUATION],"speech-rate":[CssProp.SPEECH_RATE],stress:[CssProp.STRESS],"table-layout":[CssProp.TABLE_LAYOUT],"text-align":[CssProp.TEXT_ALIGN],"text-decoration":[CssProp.TEXT_DECORATION],"text-indent":[CssProp.TEXT_INDENT],"text-overflow":[CssProp.TEXT_OVERFLOW],"text-shadow":[CssProp.TEXT_SHADOW],"text-transform":[CssProp.TEXT_TRANSFORM],"text-wrap":[CssProp.TEXT_WRAP],top:[CssProp.TOP],"unicode-bidi":[CssProp.UNICODE_BIDI],"vertical-align":[CssProp.VERTICAL_ALIGN],visibility:[CssProp.VISIBILITY],volume:[CssProp.VOLUME],"white-space":[CssProp.WHITE_SPACE],width:[CssProp.WIDTH],"word-break":[CssProp.WORD_BREAK],"word-spacing":[CssProp.WORD_SPACING],"word-wrap":[CssProp.WORD_WRAP],"z-index":[CssProp.Z_INDEX],zoom:[CssProp.ZOOM],"align-content":[CssProp.ALIGN_CONTENT],"align-items":[CssProp.ALIGN_ITEMS],"align-self":[CssProp.ALIGN_SELF],flex:[CssProp.FLEX],"flex-basis":[CssProp.FLEX_BASIS],"flex-direction":[CssProp.FLEX_DIRECTION],"flex-grow":[CssProp.FLEX_GROW],"flex-shrink":[CssProp.FLEX_SHRINK],"flex-wrap":[CssProp.FLEX_WRAP],grid:[CssProp.GRID],"grid-area":[CssProp.GRID_AREA],"grid-auto-columns":[CssProp.GRID_AUTO_COLUMNS],"grid-auto-flow":[CssProp.GRID_AUTO_FLOW],"grid-auto-rows":[CssProp.GRID_AUTO_ROWS],"grid-column":[CssProp.GRID_COLUMN],"grid-column-end":[CssProp.GRID_COLUMN_END],"grid-column-gap":[CssProp.GRID_COLUMN_GAP],"grid-column-start":[CssProp.GRID_COLUMN_START],"grid-gap":[CssProp.GRID_GAP],"grid-row":[CssProp.GRID_ROW],"grid-row-end":[CssProp.GRID_ROW_END],"grid-row-gap":[CssProp.GRID_ROW_GAP],"grid-row-start":[CssProp.GRID_ROW_START],"grid-template":[CssProp.GRID_TEMPLATE],"grid-template-areas":[CssProp.GRID_TEMPLATE_AREAS],"grid-template-columns":[CssProp.GRID_TEMPLATE_COLUMNS],"grid-template-rows":[CssProp.GRID_TEMPLATE_ROWS],gap:[CssProp.GAP],"row-gap":[CssProp.ROW_GAP],"column-gap":[CssProp.COLUMN_GAP],"justify-content":[CssProp.JUSTIFY_CONTENT],"justify-items":[CssProp.JUSTIFY_ITEMS],"justify-self":[CssProp.JUSTIFY_SELF],order:[CssProp.ORDER],"place-content":[CssProp.PLACE_CONTENT],"place-items":[CssProp.PLACE_ITEMS],"place-self":[CssProp.PLACE_SELF]}},transformTags:{a:sanitize$1.simpleTransform("a",{rel:"nofollow"}),input:sanitize$1.simpleTransform("input",{disabled:"disabled"}),...this._allowNamedProperties?{}:{"*":function(o,i){return i.id!==void 0&&(i["data-jupyter-id"]=i.id,delete i.id),{tagName:o,attribs:{...i}}}}},allowedSchemes:e,allowedSchemesByTag:{img:[...e,"attachment"]},allowedSchemesAppliedToAttributes:["href","cite"]}},this._options=this._generateOptions()}sanitize(e,o){return sanitize$1(e,{...this._options,...o||{}})}getAutolink(){return this._autolink}get allowNamedProperties(){return this._allowNamedProperties}get allowCommandLinker(){return this._allowCommandLinker}setAllowedSchemes(e){this._customAllowedSchemes=[...e],this._options=this._generateOptions()}setAutolink(e){this._autolink=e}setAllowNamedProperties(e){this._allowNamedProperties=e,this._options=this._generateOptions()}setAllowCommandLinker(e){this._allowCommandLinker=e,this._options=this._generateOptions()}}class RenderMimeRegistry{constructor(e={}){var o,i,l,n,u,d,a;if(this._id=0,this._ranks={},this._types=null,this._factories={},this.translator=(o=e.translator)!==null&&o!==void 0?o:nullTranslator,this.resolver=(i=e.resolver)!==null&&i!==void 0?i:null,this.linkHandler=(l=e.linkHandler)!==null&&l!==void 0?l:null,this.trustHandler=(n=e.trustHandler)!==null&&n!==void 0?n:null,this.latexTypesetter=(u=e.latexTypesetter)!==null&&u!==void 0?u:null,this.markdownParser=(d=e.markdownParser)!==null&&d!==void 0?d:null,this.sanitizer=(a=e.sanitizer)!==null&&a!==void 0?a:new Sanitizer,e.initialFactories)for(const r of e.initialFactories)this.addFactory(r)}get mimeTypes(){return this._types||(this._types=Private$2.sortedTypes(this._ranks))}preferredMimeType(e,o="ensure"){if(o==="ensure"||o==="prefer"){for(const i of this.mimeTypes)if(i in e&&this._factories[i].safe)return i}if(o!=="ensure"){for(const i of this.mimeTypes)if(i in e)return i}}createRenderer(e){if(!(e in this._factories))throw new Error(`No factory for mime type: '${e}'`);return this._factories[e].createRenderer({mimeType:e,resolver:this.resolver,sanitizer:this.sanitizer,linkHandler:this.linkHandler,trustHandler:this.trustHandler,latexTypesetter:this.latexTypesetter,markdownParser:this.markdownParser,translator:this.translator})}createModel(e={}){return new MimeModel(e)}clone(e={}){var o,i,l,n,u,d,a,r,s,h,c,f;const b=new RenderMimeRegistry({resolver:(i=(o=e.resolver)!==null&&o!==void 0?o:this.resolver)!==null&&i!==void 0?i:void 0,sanitizer:(n=(l=e.sanitizer)!==null&&l!==void 0?l:this.sanitizer)!==null&&n!==void 0?n:void 0,linkHandler:(d=(u=e.linkHandler)!==null&&u!==void 0?u:this.linkHandler)!==null&&d!==void 0?d:void 0,trustHandler:(r=(a=e.trustHandler)!==null&&a!==void 0?a:this.trustHandler)!==null&&r!==void 0?r:void 0,latexTypesetter:(h=(s=e.latexTypesetter)!==null&&s!==void 0?s:this.latexTypesetter)!==null&&h!==void 0?h:void 0,markdownParser:(f=(c=e.markdownParser)!==null&&c!==void 0?c:this.markdownParser)!==null&&f!==void 0?f:void 0,translator:this.translator});return b._factories={...this._factories},b._ranks={...this._ranks},b._id=this._id,b}getFactory(e){return this._factories[e]}addFactory(e,o){o===void 0&&(o=e.defaultRank,o===void 0&&(o=100));for(const i of e.mimeTypes)this._factories[i]=e,this._ranks[i]={rank:o,id:this._id++};this._types=null}removeMimeType(e){delete this._factories[e],delete this._ranks[e],this._types=null}getRank(e){const o=this._ranks[e];return o&&o.rank}setRank(e,o){if(!this._ranks[e])return;const i=this._id++;this._ranks[e]={rank:o,id:i},this._types=null}}(function(t){class e{constructor(i){this._resolvePathApiAvailable=null,this._path=i.path,this._contents=i.contents,this._getKernelId=i.getKernelId}get path(){return this._path}set path(i){this._path=i}async resolveUrl(i){if(this.isLocal(i)){const l=encodeURI(libExports$1.PathExt.dirname(this.path));i=libExports$1.PathExt.resolve(l,i)}return i}async getDownloadUrl(i){return this.isLocal(i)?this._contents.getDownloadUrl(decodeURIComponent(i)):i}isLocal(i,l=!1){return this.isMalformed(i)?!1:libExports$1.URLExt.isLocal(i,l)||!!this._contents.driveName(decodeURI(i))}async resolvePath(i){const l=await this._resolvePathUsingServerApi(i);return l!==void 0?l:this._resolvePathUsingLegacyHeuristics(i)}isMalformed(i){try{return decodeURI(i),!1}catch(l){if(l instanceof URIError)return!0;throw l}}async _resolvePathUsingServerApi(i){var l,n,u,d,a,r;if(this._resolvePathApiAvailable===!1)return;const s={path:i},h=(l=this._getKernelId)===null||l===void 0?void 0:l.call(this);h&&(s.kernel=h);let c=await this._makeResolvePathRequest(s);if(!c)return console.warn(`Could not resolve location of ${i} using server API`),null;if(c.status===404){this._resolvePathApiAvailable=!1;return}if(!c.ok)return console.warn(`Could not resolve location of ${i} using server API`),null;this._resolvePathApiAvailable=!0;try{const f=await c.json(),b=(u=(n=f==null?void 0:f.resolved)===null||n===void 0?void 0:n.filter(Private$2.isResolvedLocation))!==null&&u!==void 0?u:[],y=(a=(d=f==null?void 0:f.unresolved)===null||d===void 0?void 0:d.some(w=>!!w&&typeof w=="object"&&w.scope==="kernel"))!==null&&a!==void 0?a:!1;return b.length?(r=b.find(w=>w.scope==="server"))!==null&&r!==void 0?r:b[0]:null}catch{return console.warn(`Could not resolve location of ${i} using server API`),null}}async _makeResolvePathRequest(i){const l=this._contents.serverSettings,n=libExports$1.URLExt.join(l.baseUrl,"api","resolvePath")+libExports$1.URLExt.objectToQueryString(i);try{return await libExports.ServerConnection.makeRequest(n,{},l)}catch{return null}}async _resolvePathUsingLegacyHeuristics(i){const l=libExports$1.PageConfig.getOption("rootUri").replace("file://","");if(i.startsWith("~/")&&l.startsWith("/home/")&&(i=l.split("/").slice(0,3).join("/")+i.substring(1)),i.startsWith(l)||i.startsWith("./"))try{const n=i.replace(l,"");return{path:(await this._contents.get(n,{content:!1})).path,scope:"server"}}catch{return console.warn(`Could not resolve location of ${i} on server`),null}return{path:i,scope:"kernel"}}}t.UrlResolver=e})(RenderMimeRegistry||(RenderMimeRegistry={}));var Private$2;(function(t){function e(i){if(!i||typeof i!="object")return!1;const l=i;return typeof l.path=="string"&&(l.scope==="server"||l.scope==="kernel")}t.isResolvedLocation=e;function o(i){return Object.keys(i).sort((l,n)=>{const u=i[l],d=i[n];return u.rank!==d.rank?u.rank-d.rank:u.id-d.id})}t.sortedTypes=o})(Private$2||(Private$2={}));class OutputAreaModel{constructor(e={}){if(this.clearNext=!1,this._lastStreamName="",this._trusted=!1,this._isDisposed=!1,this._stateChanged=new Signal(this),this._changed=new Signal(this),this._streamIndex=0,this._trusted=!!e.trusted,this.contentFactory=e.contentFactory||OutputAreaModel.defaultContentFactory,this.list=new ObservableList,e.values)for(const o of e.values){const i=this._add(o)-1;this.list.get(i).changed.connect(this._onGenericChange,this)}this.list.changed.connect(this._onListChanged,this)}get stateChanged(){return this._stateChanged}get changed(){return this._changed}get length(){return this.list?this.list.length:0}get trusted(){return this._trusted}set trusted(e){if(e===this._trusted)return;const o=this._trusted=e;for(let i=0;i<this.list.length;i++){const l=this.list.get(i),n=l.toJSON(),u=this._createItem({value:n,trusted:o});this.list.set(i,u),l.dispose()}}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,this.list.dispose(),Signal.clearData(this))}get(e){return this.list.get(e)}set(e,o){o=JSONExt.deepCopy(o),Private$1.normalize(o);const i=this._createItem({value:o,trusted:this._trusted});this.list.set(e,i)}removeStreamOutput(e){const i=this.list.get(this.length-1).streamText,l=i.text.length,n={silent:!0};i.remove(l-e,l,n)}appendStreamOutput(e){const i=this.list.get(this.length-1).streamText,l=i.text.length,n={silent:!0};i.insert(l,e,n)}add(e){return this.clearNext&&(this.clear(),this.clearNext=!1),this._add(e)}remove(e){var o;(o=this.list.remove(e))===null||o===void 0||o.dispose()}clear(e=!1){if(this._lastStreamName="",e){this.clearNext=!0;return}for(const o of this.list)o.dispose();this.list.clear()}fromJSON(e){this.clear();for(const o of e)this._add(o)}toJSON(){return Array.from(map(this.list,e=>e.toJSON()))}_add(e){const o=this._trusted;if(e=JSONExt.deepCopy(e),Private$1.normalize(e),isStream(e)&&e.name===this._lastStreamName&&this.length>0&&this.shouldCombine({value:e,lastModel:this.list.get(this.length-1)})){const u=this.list.get(this.length-1).streamText,d=typeof e.text=="string"?e.text:e.text.join("");return this._streamIndex=Private$1.addText(this._streamIndex,u,d),this.length}if(isStream(e)){typeof e.text!="string"&&(e.text=e.text.join(""));const{text:n,index:u}=Private$1.processText(0,e.text);this._streamIndex=u,e.text=n}const i=this._createItem({value:e,trusted:o}),l=this.list.push(i);return isStream(e)?this._lastStreamName=e.name:this._lastStreamName="",l}shouldCombine(e){return!0}_createItem(e){return this.contentFactory.createOutputModel(e)}_onListChanged(e,o){switch(o.type){case"add":o.newValues.forEach(i=>{i.changed.connect(this._onGenericChange,this)});break;case"remove":o.oldValues.forEach(i=>{i.changed.disconnect(this._onGenericChange,this)});break;case"set":o.newValues.forEach(i=>{i.changed.connect(this._onGenericChange,this)}),o.oldValues.forEach(i=>{i.changed.disconnect(this._onGenericChange,this)});break;case"move":break;case"clear":o.oldValues.forEach(i=>{i.changed.disconnect(this._onGenericChange,this)});break}this._changed.emit(o)}_onGenericChange(e){let o,i=null;for(o=0;o<this.list.length&&(i=this.list.get(o),i!==e);o++);i!=null&&(this._stateChanged.emit(o),this._changed.emit({type:"set",newIndex:o,oldIndex:o,oldValues:[i],newValues:[i]}))}}(function(t){class e{createOutputModel(i){return new OutputModel$1(i)}}t.ContentFactory=e,t.defaultContentFactory=new e})(OutputAreaModel||(OutputAreaModel={}));var Private$1;(function(t){function e(u){isStream(u)&&Array.isArray(u.text)&&(u.text=u.text.join(`
63
+ `))}t.normalize=e;function o(u,d,a){const r=u.slice(a).search(d);return r>=0?r+a:r}function i(u,d,a){if(a===void 0&&(a=""),!(d.includes("\b")||d.includes("\r")||d.includes(`
64
+ `)))return a=a.slice(0,u)+d+a.slice(u+d.length),{text:a,index:u+d.length};let r=u,s=-1,h=0;const c=/[\n\b\r]/;for(;;){s=o(d,c,h);const f=d.slice(h,s===-1?d.length:s);if(a=a.slice(0,r)+f+a.slice(r+f.length),h=s+1,r+=f.length,s===-1)break;const b=d[s];if(b==="\b")r>0&&a[r-1]!==`
65
+ `&&(a=a.slice(0,r-1)+a.slice(r+1),r--);else if(b==="\r"){let y=!1;for(;!y;)r===0||a[r-1]===`
66
+ `?y=!0:r--}else if(b===`
67
+ `)a=a+`
68
+ `,r=a.length;else throw Error("This should not happen")}return{text:a,index:r}}t.processText=i;function l(u){return JSON.parse(JSON.stringify(u))}function n(u,d,a){const{text:r,index:s}=i(u,a,d.text);let h=!1,c=0;for(;!h;)c===r.length?(c===d.text.length||d.remove(c,d.text.length),h=!0):c===d.text.length?c!==r.length&&(d.insert(d.text.length,l(r.slice(c))),h=!0):r[c]!==d.text[c]?(d.remove(c,d.text.length),d.insert(c,l(r.slice(c))),h=!0):c++;return s}t.addText=n})(Private$1||(Private$1={}));const OUTPUT_AREA_CLASS="jp-OutputArea",OUTPUT_AREA_ITEM_CLASS="jp-OutputArea-child",OUTPUT_AREA_OUTPUT_CLASS="jp-OutputArea-output",OUTPUT_AREA_PROMPT_CLASS="jp-OutputArea-prompt",OUTPUT_AREA_STDIN_HIDING_CLASS="jp-OutputArea-stdin-hiding",OUTPUT_PROMPT_CLASS="jp-OutputPrompt",EXECUTE_CLASS="jp-OutputArea-executeResult",OUTPUT_AREA_STDIN_ITEM_CLASS="jp-OutputArea-stdin-item",STDIN_CLASS="jp-Stdin",STDIN_PROMPT_CLASS="jp-Stdin-prompt",STDIN_INPUT_CLASS="jp-Stdin-input",OUTPUT_PROMPT_OVERLAY="jp-OutputArea-promptOverlay";class OutputArea extends Widget{constructor(e){var o,i,l,n,u;super(),this.outputLengthChanged=new Signal(this),this._onIOPub=a=>{const r=this.model,s=a.header.msg_type;let h;const f=(a.content.transient||{}).display_id;let b;switch(s){case"execute_result":case"display_data":case"stream":case"error":h={...a.content,output_type:s},r.add(h);break;case"clear_output":{const y=a.content.wait;r.clear(y);break}case"update_display_data":if(h={...a.content,output_type:"display_data"},b=this._displayIdMap.get(f),b)for(const y of b)r.set(y,h);break;case"status":{a.content.execution_state==="idle"&&(this._pendingInput=!1);break}}f&&s==="display_data"&&(b=this._displayIdMap.get(f)||[],b.push(r.length-1),this._displayIdMap.set(f,b))},this._onExecuteReply=a=>{const r=this.model,s=a.content;if(s.status!=="ok")return;const h=s&&s.payload;if(!h||!h.length)return;const c=h.filter(y=>y.source==="page");if(!c.length)return;const b={output_type:"display_data",data:JSON.parse(JSON.stringify(c[0])).data,metadata:{}};r.add(b)},this._displayIdMap=new Map,this._minHeightTimeout=null,this._inputRequested=new Signal(this),this._toggleScrolling=new Signal(this),this._initialize=new Signal(this),this._outputTracker=new WidgetTracker({namespace:UUID.uuid4()}),this._inputHistoryScope="global",this._pendingInput=!1,this._showInputPlaceholder=!0,super.layout=new PanelLayout,this.addClass(OUTPUT_AREA_CLASS),this.contentFactory=(o=e.contentFactory)!==null&&o!==void 0?o:OutputArea.defaultContentFactory,this.rendermime=e.rendermime,this._maxNumberOutputs=(i=e.maxNumberOutputs)!==null&&i!==void 0?i:1/0,this._translator=(l=e.translator)!==null&&l!==void 0?l:nullTranslator,this._inputHistoryScope=(n=e.inputHistoryScope)!==null&&n!==void 0?n:"global",this._showInputPlaceholder=(u=e.showInputPlaceholder)!==null&&u!==void 0?u:!0;const d=this.model=e.model;for(let a=0;a<Math.min(d.length,this._maxNumberOutputs+1);a++){const r=d.get(a);this._insertOutput(a,r),r.type==="stream"&&r.streamText.changed.connect((s,h)=>{this._setOutput(a,r)})}d.changed.connect(this.onModelChanged,this),d.stateChanged.connect(this.onStateChanged,this),e.promptOverlay&&this._addPromptOverlay()}get layout(){return super.layout}get widgets(){return this.layout.widgets}get future(){return this._future}set future(e){this._setFuture(e,!0)}_setFuture(e,o){if(this.model.isDisposed)throw Error("Model is disposed");this._future!==e&&(this._future&&this._future.dispose(),this._future=e,e.done.finally(()=>{this._pendingInput=!1}).catch(()=>{}),o&&(this.model.clear(),this.widgets.length&&(this._clear(),this.outputLengthChanged.emit(Math.min(this.model.length,this._maxNumberOutputs)))),e.onIOPub=this._onIOPub,e.onReply=this._onExecuteReply,e.onStdin=i=>{libExports.KernelMessage.isInputRequestMsg(i)&&this.onInputRequest(i,e)})}get inputRequested(){return this._inputRequested}get pendingInput(){return this._pendingInput}get maxNumberOutputs(){return this._maxNumberOutputs}set maxNumberOutputs(e){if(e<=0){console.warn("OutputArea.maxNumberOutputs must be strictly positive.");return}const o=this._maxNumberOutputs;this._maxNumberOutputs=e,o<e&&this._showTrimmedOutputs(o)}dispose(){this._future&&(this._future.dispose(),this._future=null),this._displayIdMap.clear(),this._outputTracker.dispose(),super.dispose()}detachFuture(){const e=this._future;return e?(e.onIOPub=()=>{},e.onReply=()=>{},e.onStdin=()=>{},this._future=null,e):null}reattachFuture(e){this._setFuture(e,!1)}onModelChanged(e,o){switch(o.type){case"add":const i=o.newValues[0];this._insertOutput(o.newIndex,i),i.type==="stream"&&i.streamText.changed.connect((l,n)=>{this._setOutput(o.newIndex,i)});break;case"remove":if(this.widgets.length)if(this.model.length===0)this._clear();else{const l=o.oldIndex;for(let n=0;n<o.oldValues.length&&l<this.widgets.length;++n){const u=this.widgets[l];u.parent=null,u.dispose()}this._moveDisplayIdIndices(l,o.oldValues.length),this._preventHeightChangeJitter()}break;case"clear":this._clear();break;case"set":this._setOutput(o.newIndex,o.newValues[0]);break}this.outputLengthChanged.emit(Math.min(this.model.length,this._maxNumberOutputs))}get toggleScrolling(){return this._toggleScrolling}get initialize(){return this._initialize}_addPromptOverlay(){const e=document.createElement("div");e.className=OUTPUT_PROMPT_OVERLAY,e.addEventListener("click",()=>{this._toggleScrolling.emit()}),this.node.appendChild(e),requestAnimationFrame(()=>{this._initialize.emit()})}_moveDisplayIdIndices(e,o){this._displayIdMap.forEach(i=>{const l=e+o,n=i.length;for(let u=n-1;u>=0;--u){const d=i[u];d>=e&&d<l?i.splice(u,1):d>=l&&(i[u]-=o)}})}onStateChanged(e,o){const i=Math.min(this.model.length,this._maxNumberOutputs);if(o){if(o>=this._maxNumberOutputs)return;this._setOutput(o,this.model.get(o))}else for(let l=0;l<i;l++)this._setOutput(l,this.model.get(l));this.outputLengthChanged.emit(i)}_clear(){if(!this.widgets.length)return;const e=this.widgets.length;for(let o=0;o<e;o++){const i=this.widgets[0];i.parent=null,i.dispose()}this._displayIdMap.clear(),this._preventHeightChangeJitter()}_preventHeightChangeJitter(){const e=this.node.getBoundingClientRect();this.node.style.minHeight=`${e.height}px`,this._minHeightTimeout&&window.clearTimeout(this._minHeightTimeout),this._minHeightTimeout=window.setTimeout(()=>{this.isDisposed||(this.node.style.minHeight="")},50)}onInputRequest(e,o){const i=this.contentFactory,l=e.content.prompt,n=e.content.password,u=new Panel;u.addClass(OUTPUT_AREA_ITEM_CLASS),u.addClass(OUTPUT_AREA_STDIN_ITEM_CLASS);const d=i.createOutputPrompt();d.addClass(OUTPUT_AREA_PROMPT_CLASS),u.addWidget(d),this._pendingInput=!0;const a=i.createStdin({parent_header:e.header,prompt:l,password:n,future:o,translator:this._translator,inputHistoryScope:this._inputHistoryScope,showInputPlaceholder:this._showInputPlaceholder});a.addClass(OUTPUT_AREA_OUTPUT_CLASS),u.addWidget(a),this.model.length>=this.maxNumberOutputs&&(this.maxNumberOutputs=this.model.length),this._inputRequested.emit(a);const r=a.node.getElementsByTagName("input")[0];a.value.then(s=>{this.model.length>=this.maxNumberOutputs&&(this.maxNumberOutputs=this.model.length+1),u.addClass(OUTPUT_AREA_STDIN_HIDING_CLASS),this.model.add({output_type:"stream",name:"stdin",text:s+`
69
+ `}),r.focus(),this._pendingInput=!1,window.setTimeout(()=>{const h=document.activeElement;u.dispose(),h&&h instanceof HTMLElement&&h.focus()},500)}),this.layout.addWidget(u)}_setOutput(e,o){if(e>=this._maxNumberOutputs)return;const i=this.layout.widgets[e],l=i.widgets?i.widgets.filter(u=>"renderModel"in u).pop():i,n=this.rendermime.preferredMimeType(o.data,o.trusted?"any":"ensure");Private.currentPreferredMimetype.get(l)===n&&OutputArea.isIsolated(n,o.metadata)===l instanceof Private.IsolatedRenderer?l.renderModel(o):(this.layout.widgets[e].dispose(),this._insertOutput(e,o))}_insertOutput(e,o){if(e>this._maxNumberOutputs)return;const i=this.layout;if(e===this._maxNumberOutputs){const l=new Private.TrimmedOutputs(this._maxNumberOutputs,()=>{const n=this._maxNumberOutputs;this._maxNumberOutputs=1/0,this._showTrimmedOutputs(n)},this._translator);i.insertWidget(e,this._wrappedOutput(l))}else{let l=this.createOutputItem(o);l?l.toggleClass(EXECUTE_CLASS,o.executionCount!==null):l=new Widget,this._outputTracker.has(l)||this._outputTracker.add(l),i.insertWidget(e,l)}}get outputTracker(){return this._outputTracker}_showTrimmedOutputs(e){this.widgets[e].dispose();for(let o=e;o<this.model.length;o++)this._insertOutput(o,this.model.get(o));this.outputLengthChanged.emit(Math.min(this.model.length,this._maxNumberOutputs))}createOutputItem(e){const o=this.createRenderedMimetype(e);return o?this._wrappedOutput(o,e.executionCount):null}createRenderedMimetype(e){const o=this.rendermime.preferredMimeType(e.data,e.trusted?"any":"ensure");if(!o)return null;let i=this.rendermime.createRenderer(o);return OutputArea.isIsolated(o,e.metadata)===!0&&(i=new Private.IsolatedRenderer(i)),Private.currentPreferredMimetype.set(i,o),i.renderModel(e).catch(n=>{const u=document.createElement("pre"),d=this._translator.load("jupyterlab");u.textContent=d.__("Javascript Error: %1",n.message),i.node.appendChild(u),i.node.className="lm-Widget jp-RenderedText",i.node.setAttribute("data-mime-type","application/vnd.jupyter.stderr")}),i}_wrappedOutput(e,o=null){const i=new Private.OutputPanel;i.addClass(OUTPUT_AREA_ITEM_CLASS);const l=this.contentFactory.createOutputPrompt();return l.executionCount=o,l.addClass(OUTPUT_AREA_PROMPT_CLASS),i.addWidget(l),e.addClass(OUTPUT_AREA_OUTPUT_CLASS),i.addWidget(e),i}}(function(t){async function e(l,n,u,d){var a;let r=!0;d&&Array.isArray(d.tags)&&d.tags.indexOf("raises-exception")!==-1&&(r=!1);const s={code:l,stop_on_error:r},h=(a=u.session)===null||a===void 0?void 0:a.kernel;if(!h)throw new Error("Session has no kernel.");const c=h.requestExecute(s,!1,d);return n.future=c,c.done}t.execute=e;function o(l,n){const u=n[l];return u&&u.isolated!==void 0?!!u.isolated:!!n.isolated}t.isIsolated=o;class i{createOutputPrompt(){return new OutputPrompt}createStdin(n){return new Stdin(n)}}t.ContentFactory=i,t.defaultContentFactory=new i})(OutputArea||(OutputArea={}));class OutputPrompt extends Widget{constructor(){super(),this._executionCount=null,this.addClass(OUTPUT_PROMPT_CLASS)}get executionCount(){return this._executionCount}set executionCount(e){this._executionCount=e,e===null?this.node.textContent="":this.node.textContent=`[${e}]:`}}class Stdin extends Widget{static _historyIx(e,o){const i=Stdin._history.get(e);if(!i)return;const l=i.length;if(o<=0)return l+o}static _historyAt(e,o){const i=Stdin._history.get(e);if(!i)return;const l=i.length,n=Stdin._historyIx(e,o);if(n!==void 0&&n<l)return i[n]}static _historyPush(e,o){const i=Stdin._history.get(e);i.push(o),i.length>1e3&&i.shift()}static _historySearch(e,o,i,l=!0){const n=Stdin._history.get(e),u=n.length,d=Stdin._historyIx(e,i),a=r=>r.search(o)!==-1;if(d!==void 0)if(l){if(d===0)return;const r=n.slice(0,d).findLastIndex(a);if(r!==-1)return r-u}else{if(d>=u-1)return;const r=n.slice(d+1).findIndex(a);if(r!==-1)return r-u+d+1}}constructor(e){var o;super({node:Private.createInputWidgetNode(e.prompt,e.password)}),this._promise=new PromiseDelegate,this._resolved=!1,this.addClass(STDIN_CLASS),this._future=e.future,this._historyIndex=0,this._historyKey=e.inputHistoryScope==="session"?e.parent_header.session:"",this._historyPat="",this._parentHeader=e.parent_header,this._password=e.password,this._trans=((o=e.translator)!==null&&o!==void 0?o:nullTranslator).load("jupyterlab"),this._value=e.prompt+" ",this._input=this.node.getElementsByTagName("input")[0],e.showInputPlaceholder&&!this._password?this._input.placeholder=this._trans.__("↑↓ for history. Search history with c-↑/c-↓"):this._input.placeholder="",Stdin._history.has(this._historyKey)||Stdin._history.set(this._historyKey,[])}get value(){return this._promise.promise.then(()=>this._value)}handleEvent(e){if(e.stopPropagation(),this._resolved){e.preventDefault();return}const o=this._input;if(e.type==="keydown"){if(e.key==="Enter")this.resetSearch(),this._future.sendInputReply({status:"ok",value:o.value},this._parentHeader),this._password?this._value+="········":(this._value+=o.value,Stdin._historyPush(this._historyKey,o.value)),this._resolved=!0,this._promise.resolve(void 0);else if(e.key==="Escape")this.resetSearch(),o.blur();else if(e.ctrlKey&&(e.key==="ArrowUp"||e.key==="ArrowDown")){this._historyPat===""&&(this._historyPat=o.value);const i=e.key==="ArrowUp",l=Stdin._historySearch(this._historyKey,this._historyPat,this._historyIndex,i);if(l!==void 0){const n=Stdin._historyAt(this._historyKey,l);n!==void 0&&(this._historyIndex===0&&(this._valueCache=o.value),this._setInputValue(n),this._historyIndex=l,e.preventDefault())}}else if(e.key==="ArrowUp"){this.resetSearch();const i=Stdin._historyAt(this._historyKey,this._historyIndex-1);i&&(this._historyIndex===0&&(this._valueCache=o.value),this._setInputValue(i),--this._historyIndex,e.preventDefault())}else if(e.key==="ArrowDown"&&(this.resetSearch(),this._historyIndex!==0))if(this._historyIndex===-1)this._setInputValue(this._valueCache),++this._historyIndex;else{const i=Stdin._historyAt(this._historyKey,this._historyIndex+1);i&&(this._setInputValue(i),++this._historyIndex)}}}resetSearch(){this._historyPat=""}onAfterAttach(e){this._input.addEventListener("keydown",this),this._input.focus()}onBeforeDetach(e){this._input.removeEventListener("keydown",this)}_setInputValue(e){this._input.value=e,this._input.setSelectionRange(e.length,e.length)}}Stdin._history=new Map;var Private;(function(t){function e(n,u){const d=document.createElement("div"),a=document.createElement("pre");a.className=STDIN_PROMPT_CLASS,a.textContent=n;const r=document.createElement("input");return r.className=STDIN_INPUT_CLASS,u&&(r.type="password"),d.appendChild(a),a.appendChild(r),d}t.createInputWidgetNode=e;class o extends Widget{constructor(u){super({node:document.createElement("iframe")}),this.addClass("jp-mod-isolated"),this._wrapped=u;const d=this.node;d.frameBorder="0",d.scrolling="auto",d.addEventListener("load",()=>{d.contentDocument.open(),d.contentDocument.write(this._wrapped.node.innerHTML),d.contentDocument.close();const a=d.contentDocument.body;d.style.height=`${a.scrollHeight}px`,d.heightChangeObserver=new ResizeObserver(()=>{d.style.height=`${a.scrollHeight}px`}),d.heightChangeObserver.observe(a)})}renderModel(u){return this._wrapped.renderModel(u)}}t.IsolatedRenderer=o,t.currentPreferredMimetype=new AttachedProperty({name:"preferredMimetype",create:n=>""});class i extends Panel{constructor(u){super(u)}_onContext(u){this.node.focus()}onAfterAttach(u){super.onAfterAttach(u),this.node.addEventListener("contextmenu",this._onContext.bind(this))}onBeforeDetach(u){super.onAfterDetach(u),this.node.removeEventListener("contextmenu",this._onContext.bind(this))}}t.OutputPanel=i;class l extends Widget{constructor(u,d,a){const r=document.createElement("div"),s=(a??nullTranslator).load("jupyterlab"),h=document.createElement("button");h.type="button",h.className="jp-TrimmedOutputs-button",h.title=s.__("The first %1 are displayed",u),h.textContent=s.__("Show more outputs"),r.appendChild(h),super({node:r}),this._onClick=d,this.addClass("jp-TrimmedOutputs")}handleEvent(u){u.type==="click"&&this._onClick(u)}onAfterAttach(u){super.onAfterAttach(u),this.node.addEventListener("click",this)}onBeforeDetach(u){super.onBeforeDetach(u),this.node.removeEventListener("click",this)}}t.TrimmedOutputs=l})(Private||(Private={}));class OutputModel extends OutputModel$2{defaults(){return Object.assign(Object.assign({},super.defaults()),{msg_id:"",outputs:[]})}initialize(e,o){super.initialize(e,o),this._outputs=new OutputAreaModel({trusted:!0}),this.listenTo(this,"change:outputs",this.setOutputs),this.setOutputs()}get outputs(){return this._outputs}clear_output(e=!1){this._outputs.clear(e)}setOutputs(e,o,i){i&&i.newMessage||(this.clear_output(),this._outputs.fromJSON(JSON.parse(JSON.stringify(this.get("outputs")))))}}class OutputView extends OutputView$1{_createElement(e){return this.luminoWidget=new JupyterLuminoPanelWidget({view:this}),this.luminoWidget.node}_setElement(e){if(this.el||e!==this.luminoWidget.node)throw new Error("Cannot reset the DOM element.");this.el=this.luminoWidget.node,this.$el=$(this.luminoWidget.node)}render(){super.render(),this._outputView=new OutputArea({rendermime:this.model.widget_manager.renderMime,model:this.model.outputs}),this.luminoWidget.insertWidget(0,this._outputView),this.luminoWidget.addClass("jupyter-widgets"),this.luminoWidget.addClass("widget-output"),this.update()}remove(){return this._outputView.dispose(),super.remove()}}const outputWidgets=Object.freeze(Object.defineProperty({__proto__:null,OutputModel,OutputView},Symbol.toStringTag,{value:"Module"}));var base64Js={},hasRequiredBase64Js;function requireBase64Js(){if(hasRequiredBase64Js)return base64Js;hasRequiredBase64Js=1,base64Js.byteLength=d,base64Js.toByteArray=r,base64Js.fromByteArray=c;for(var t=[],e=[],o=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,n=i.length;l<n;++l)t[l]=i[l],e[i.charCodeAt(l)]=l;e[45]=62,e[95]=63;function u(f){var b=f.length;if(b%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var y=f.indexOf("=");y===-1&&(y=b);var w=y===b?0:4-y%4;return[y,w]}function d(f){var b=u(f),y=b[0],w=b[1];return(y+w)*3/4-w}function a(f,b,y){return(b+y)*3/4-y}function r(f){var b,y=u(f),w=y[0],_=y[1],m=new o(a(f,w,_)),A=0,g=_>0?w-4:w,p;for(p=0;p<g;p+=4)b=e[f.charCodeAt(p)]<<18|e[f.charCodeAt(p+1)]<<12|e[f.charCodeAt(p+2)]<<6|e[f.charCodeAt(p+3)],m[A++]=b>>16&255,m[A++]=b>>8&255,m[A++]=b&255;return _===2&&(b=e[f.charCodeAt(p)]<<2|e[f.charCodeAt(p+1)]>>4,m[A++]=b&255),_===1&&(b=e[f.charCodeAt(p)]<<10|e[f.charCodeAt(p+1)]<<4|e[f.charCodeAt(p+2)]>>2,m[A++]=b>>8&255,m[A++]=b&255),m}function s(f){return t[f>>18&63]+t[f>>12&63]+t[f>>6&63]+t[f&63]}function h(f,b,y){for(var w,_=[],m=b;m<y;m+=3)w=(f[m]<<16&16711680)+(f[m+1]<<8&65280)+(f[m+2]&255),_.push(s(w));return _.join("")}function c(f){for(var b,y=f.length,w=y%3,_=[],m=16383,A=0,g=y-w;A<g;A+=m)_.push(h(f,A,A+m>g?g:A+m));return w===1?(b=f[y-1],_.push(t[b>>2]+t[b<<4&63]+"==")):w===2&&(b=(f[y-2]<<8)+f[y-1],_.push(t[b>>10]+t[b>>4&63]+t[b<<2&63]+"=")),_.join("")}return base64Js}var base64JsExports=requireBase64Js();function hexToBuffer(t){const e=new Uint8Array(t.length/2);for(let o=0;o<t.length;o+=2)e[o/2]=parseInt(t.slice(o,o+2),16);return e.buffer}function bufferToBase64(t){return base64JsExports.fromByteArray(new Uint8Array(t))}function base64ToBuffer(t){return base64JsExports.toByteArray(t).buffer}const inline="$",MATHSPLIT=/(\$\$?|\\(?:begin|end)\{[a-z]*\*?\}|\\[{}$]|[{}]|(?:\n\s*)+|@@\d+@@|\\\\(?:\(|\)|\[|\]))/i;function removeMath(t){const e=[];let o=null,i=null,l=null,n=0,u;/`/.test(t)?(t=t.replace(/~/g,"~T").replace(/(^|[^\\])(`+)([^\n]*?[^`\n])\2(?!`)/gm,r=>r.replace(/\$/g,"~D")),u=r=>r.replace(/~([TD])/g,(s,h)=>h==="T"?"~":inline)):u=r=>r;let a=t.replace(/\r\n?/g,`
70
+ `).split(MATHSPLIT);for(let r=1,s=a.length;r<s;r+=2){const h=a[r];h.charAt(0)==="@"?(a[r]="@@"+e.length+"@@",e.push(h)):o!==null?h===i?n?l=r:(a=processMath(o,r,u,e,a),o=null,i=null,l=null):h.match(/\n.*\n/)?(l!==null&&(r=l,a=processMath(o,r,u,e,a)),o=null,i=null,l=null,n=0):h==="{"?n++:h==="}"&&n&&n--:h===inline||h==="$$"?(o=r,i=h,n=0):h==="\\\\("||h==="\\\\["?(o=r,i=h.slice(-1)==="("?"\\\\)":"\\\\]",n=0):h.substr(1,5)==="begin"&&(o=r,i="\\end"+h.substr(6),n=0)}return o!==null&&l!==null&&(a=processMath(o,l,u,e,a),o=null,i=null,l=null),{text:u(a.join("")),math:e}}function replaceMath(t,e){const o=(i,l)=>{let n=e[l];return n.substr(0,3)==="\\\\("&&n.substr(n.length-3)==="\\\\)"?n="\\("+n.substring(3,n.length-3)+"\\)":n.substr(0,3)==="\\\\["&&n.substr(n.length-3)==="\\\\]"&&(n="\\["+n.substring(3,n.length-3)+"\\]"),n};return t.replace(/@@(\d+)@@/g,o)}function processMath(t,e,o,i,l){let n=l.slice(t,e+1).join("").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");for(navigator&&navigator.appName==="Microsoft Internet Explorer"&&(n=n.replace(/(%[^\n]*)\n/g,`$1<br/>
71
+ `));e>t;)l[e]="",e--;return l[t]="@@"+i.length+"@@",o&&(n=o(n)),i.push(n),l}var commonjs={},Parser={},Tokenizer={},decode={},decodeCodepoint={},hasRequiredDecodeCodepoint;function requireDecodeCodepoint(){return hasRequiredDecodeCodepoint||(hasRequiredDecodeCodepoint=1,(function(t){var e;Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=void 0,t.replaceCodePoint=i,t.decodeCodePoint=l;const o=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);t.fromCodePoint=(e=String.fromCodePoint)!==null&&e!==void 0?e:(n=>{let u="";return n>65535&&(n-=65536,u+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023),u+=String.fromCharCode(n),u});function i(n){var u;return n>=55296&&n<=57343||n>1114111?65533:(u=o.get(n))!==null&&u!==void 0?u:n}function l(n){return(0,t.fromCodePoint)(i(n))}})(decodeCodepoint)),decodeCodepoint}var decodeDataHtml={},decodeShared={},hasRequiredDecodeShared;function requireDecodeShared(){if(hasRequiredDecodeShared)return decodeShared;hasRequiredDecodeShared=1,Object.defineProperty(decodeShared,"__esModule",{value:!0}),decodeShared.decodeBase64=t;function t(e){const o=typeof atob=="function"?atob(e):typeof Buffer.from=="function"?Buffer.from(e,"base64").toString("binary"):new Buffer(e,"base64").toString("binary"),i=o.length&-2,l=new Uint16Array(i/2);for(let n=0,u=0;n<i;n+=2){const d=o.charCodeAt(n),a=o.charCodeAt(n+1);l[u++]=d|a<<8}return l}return decodeShared}var hasRequiredDecodeDataHtml;function requireDecodeDataHtml(){if(hasRequiredDecodeDataHtml)return decodeDataHtml;hasRequiredDecodeDataHtml=1,Object.defineProperty(decodeDataHtml,"__esModule",{value:!0}),decodeDataHtml.htmlDecodeTree=void 0;const t=requireDecodeShared();return decodeDataHtml.htmlDecodeTree=(0,t.decodeBase64)("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWlsN2E6ZHIAAOA12CjdciJlZW4AOGFjAHkARWRjAHkAXGRwAGYAAOA12FzdYwByAADgNdjA3IALQUJFSGFiY2RlZmdoamxtbm9wcnN0dXYAXhxtHHEcdRx5HN8cBx0dHTwd3B3tHfEdAR4EHh0eLB5FHrwewx7hHgkfPR9LH4ABYXJ0AGQcZxxpHHIA8gBvB/IAxQLhIWlsAKAbKeEhcnIAoA4pZ6BmIgCgiyphAHIAAKBiKWMJjRwAAJAcAACVHAAAAAAAAAAAAACZHJwcAACmHKgcrRwAANIc9SF0ZTph7SJwdHl2AKC0KXIAYQDuAFoG4iFkYbtjZwAAoegnZGyhHKMcAKCRKeUAiwYAoIUqdQBvADuAqwCrQHIAgKOQIWJmaGxwc3QAuhy/HMIcxBzHHMoczhxmoOQhcwAAoB8pcwAAoB0p6wCyGnAAAKCrIWwAAKA5KWkAbQAAoHMpbAAAoKIhAKGrKmFl1hzaHGkAbAAAoBkpc6CtKgDgrSoA/oABYWJyAOUc6RztHHIAcgAAoAwpcgBrAACgcicAAWFr8Rz4HGMAAAFla/Yc9xx7YFtgAAFlc/wc/hwAoIspbAAAAWR1Ax0FHQCgjykAoI0pAAJhZXV5Dh0RHRodHB3yIW9uPmEAAWRpFR0YHWkAbAA8YewAowbiAPccO2QAAmNxcnMkHScdLB05HWEAAKA2KXUAbwDyoBwgqhEAAWR1MB00HeghYXIAoGcpcyJoYXIAAKBLKWgAAKCyIQCiZCJmZ3FzRB1FB5Qdnh10AIACYWhscnQATh1WHWUdbB2NHXIicm93AHSgkCFhAOkAzxxhI3Jwb29uAAABZHVeHWId7yF3bgCgvSFwAACgvCHlJGZ0YXJyb3dzAKDHIWkiZ2h0AIABYWhzAHUdex2DHXIicm93APOglCGdBmEAcgBwAG8AbwBuAPMAzgtxAHUAaQBnAGEAcgByAG8A9wBlGugkcmVldGltZXMAoMsi8aFkIk0HAACaHWwAYQBuAPQAXgcAon0qY2Rnc6YdqR2xHbcdYwAAoKgqbwB0AG+gfypyoIEqAKCDKmXg2iIA/nMAAKCTKoACYWRlZ3MAwB3GHcod1h3ZHXAAcAByAG8A+ACmHG8AdAAAoNYicQAAAWdxzx3SHXQA8gBGB2cAdADyAHQcdADyAFMHaQDtAGMHgAFpbHIA4h3mHeod8yFodACgfClvAG8A8gDKBgDgNdgp3UWgdiIAoJEqYQH1Hf4dcgAAAWR1YB35HWygvCEAoGopbABrAACghCVjAHkAWWQAomoiYWNodAweDx4VHhkecgDyAGsdbwByAG4AZQDyAGAW4SFyZACgaylyAGkAAKD6JQABaW8hHiQe5CFvdEBh9SFzdGGgsCPjIWhlAKCwIwACRWFlczMeNR48HkEeAKBoInAAcKCJKvIhb3gAoIkqcaCHKvGghyo0HmkAbQAAoOYiAARhYm5vcHR3elIeXB5fHoUelh6mHqsetB4AAW5yVh5ZHmcAAKDsJ3IAAKD9IXIA6wCwBmcAgAFsbXIAZh52Hnse5SFmdAABYXKIB2weaQBnAGgAdABhAHIAcgBvAPcAkwfhInBzdG8AoPwnaQBnAGgAdABhAHIAcgBvAPcAmgdwI2Fycm93AAABbHKNHpEeZQBmAPQAxhxpImdodAAAoKwhgAFhZmwAnB6fHqIecgAAoIUpAOA12F3ddQBzAACgLSppIm1lcwAAoDQqYQGvHrMecwB0AACgFyLhAIoOZaHKJbkeRhLuIWdlAKDKJWEAcgBsoCgAdAAAoJMpgAJhY2htdADMHs8e1R7bHt0ecgDyAJ0GbwByAG4AZQDyANYWYQByAGSgyyEAoG0pAKAOIHIAaQAAoL8iAANhY2hpcXTrHu8e1QfzHv0eBh/xIXVvAKA5IHIAAOA12MHcbQDloXIi+h4AAPweAKCNKgCgjyoAAWJ19xwBH28AcqAYIACgGiDyIW9rQmEAhDwAO2NkaGlscXJCBhcfxh0gHyQfKB8sHzEfAAFjaRsfHR8AoKYqcgAAoHkqcgBlAOUAkx3tIWVzAKDJIuEhcnIAoHYpdSJlc3QAAKB7KgABUGk1HzkfYQByAACglillocMlAgdfEnIAAAFkdUIfRx9zImhhcgAAoEop6CFhcgCgZikAAWVuTx9WH3IjdG5lcXEAAOBoIgD+xQBUHwAHRGFjZGVmaGlsbm9wc3VuH3Ifoh+rH68ftx+7H74f5h/uH/MfBwj/HwsgxCFvdACgOiIAAmNscHJ5H30fiR+eH3IAO4CvAK9AAAFldIEfgx8AoEImZaAgJ3MAZQAAoCAnc6CmIXQAbwCAoaYhZGx1AJQfmB+cH28AdwDuAHkDZQBmAPQA6gbwAOkO6yFlcgCgriUAAW95ph+qH+0hbWEAoCkqPGThIXNoAKAUIOElc3VyZWRhbmdsZQCgISJyAADgNdgq3W8AAKAnIYABY2RuAMQfyR/bH3IAbwA7gLUAtUBhoiMi0B8AANMf1x9zAPQAKxFpAHIAAKDwKm8AdAA7gLcAt0B1AHMA4qESIh4TAADjH3WgOCIAoCoqYwHqH+0fcAAAoNsq8gB+GnAAbAB1APMACAgAAWRw9x/7H+UhbHMAoKciZgAA4DXYXt0AAWN0AyAHIHIAAOA12MLc8CFvcwCgPiJsobwDECAVIPQiaW1hcACguCJhAPAAEyAADEdMUlZhYmNkZWZnaGlqbG1vcHJzdHV2dzwgRyBmIG0geSCqILgg2iDeIBEhFSEyIUMhTSFQIZwhnyHSIQAiIyKLIrEivyIUIwABZ3RAIEMgAODZIjgD9uBrItIgBwmAAWVsdABNIF8gYiBmAHQAAAFhclMgWCByInJvdwAAoM0h6SRnaHRhcnJvdwCgziEA4NgiOAP24Goi0iBfCekkZ2h0YXJyb3cAoM8hAAFEZHEgdSDhIXNoAKCvIuEhc2gAoK4igAJiY25wdACCIIYgiSCNIKIgbABhAACgByL1IXRlRGFnAADgICLSIACiSSJFaW9wlSCYIJwgniAA4HAqOANkAADgSyI4A3MASWFyAG8A+AAyCnUAcgBhoG4mbADzoG4mmwjzAa8gAACzIHAAO4CgAKBAbQBwAOXgTiI4AyoJgAJhZW91eQDBIMogzSDWINkg8AHGIAAAyCAAoEMqbwBuAEhh5CFpbEZhbgBnAGSgRyJvAHQAAOBtKjgDcAAAoEIqPWThIXNoAKATIACjYCJBYWRxc3jpIO0g+SD+IAIhDCFyAHIAAKDXIXIAAAFocvIg9SBrAACgJClvoJch9wAGD28AdAAA4FAiOAN1AGkA9gC7CAABZWkGIQohYQByAACgKCntAN8I6SFzdPOgBCLlCHIAAOA12CvdAAJFZXN0/wgcISshLiHxoXEiIiEAABMJ8aFxIgAJAAAnIWwAYQBuAPQAEwlpAO0AGQlyoG8iAKBvIoABQWFwADghOyE/IXIA8gBeIHIAcgAAoK4hYQByAACg8ipzogsiSiEAAAAAxwtkoPwiAKD6ImMAeQBaZIADQUVhZGVzdABcIV8hYiFmIWkhkyGWIXIA8gBXIADgZiI4A3IAcgAAoJohcgAAoCUggKFwImZxcwBwIYQhjiF0AAABYXJ1IXohcgByAG8A9wBlIWkAZwBoAHQAYQByAHIAbwD3AD4h8aFwImAhAACKIWwAYQBuAPQAZwlz4H0qOAMAoG4iaQDtAG0JcqBuImkA5aDqIkUJaQDkADoKAAFwdKMhpyFmAADgNdhf3YCBrAA7aW4AriGvIcchrEBuAIChCSJFZHYAtyG6Ib8hAOD5IjgDbwB0AADg9SI4A+EB1gjEIcYhAKD3IgCg9iJpAHagDCLhAagJzyHRIQCg/iIAoP0igAFhb3IA2CHsIfEhcgCAoSYiYXN0AOAh5SHpIWwAbABlAOwAywhsAADg/SrlIADgAiI4A2wiaW50AACgFCrjoYAi9yEAAPohdQDlAJsJY+CvKjgDZaCAIvEAkwkAAkFhaXQHIgoiFyIeInIA8gBsIHIAcgAAoZshY3cRIhQiAOAzKTgDAOCdITgDZyRodGFycm93AACgmyFyAGkA5aDrIr4JgANjaGltcHF1AC8iPCJHIpwhTSJQIloigKGBImNlcgA2Iv0JOSJ1AOUABgoA4DXYw9zvIXJ0bQKdIQAAAABEImEAcgDhAOEhbQBloEEi8aBEIiYKYQDyAMsIcwB1AAABYnBWIlgi5QDUCeUA3wmAAWJjcABgInMieCKAoYQiRWVzAGci7glqIgDgxSo4A2UAdABl4IIi0iBxAPGgiCJoImMAZaCBIvEA/gmAoYUiRWVzAH8iFgqCIgDgxio4A2UAdABl4IMi0iBxAPGgiSKAIgACZ2lscpIilCKaIpwi7AAMCWwAZABlADuA8QDxQOcAWwlpI2FuZ2xlAAABbHKkIqoi5SFmdGWg6iLxAEUJaSJnaHQAZaDrIvEAvgltoL0DAKEjAGVzuCK8InIAbwAAoBYhcAAAoAcggARESGFkZ2lscnMAziLSItYi2iLeIugi7SICIw8j4SFzaACgrSLhIXJyAKAEKXAAAOBNItIg4SFzaACgrCIAAWV04iLlIgDgZSLSIADgPgDSIG4iZmluAACg3imAAUFldADzIvci+iJyAHIAAKACKQDgZCLSIHLgPADSIGkAZQAA4LQi0iAAAUF0BiMKI3IAcgAAoAMp8iFpZQDgtSLSIGkAbQAA4Dwi0iCAAUFhbgAaIx4jKiNyAHIAAKDWIXIAAAFociMjJiNrAACgIylvoJYh9wD/DuUhYXIAoCcpUxJqFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVCMAAF4jaSN/I4IjjSOeI8AUAAAAAKYjwCMAANoj3yMAAO8jHiQvJD8kRCQAAWNzVyNsFHUAdABlADuA8wDzQAABaXlhI2cjcgBjoJoiO4D0APRAPmSAAmFiaW9zAHEjdCN3I3EBeiNzAOgAdhTsIWFjUWF2AACgOCrvIWxkAKC8KewhaWdTYQABY3KFI4kjaQByAACgvykA4DXYLN1vA5QjAAAAAJYjAACcI24A22JhAHYAZQA7gPIA8kAAoMEpAAFibaEjjAphAHIAAKC1KQACYWNpdKwjryO6I70jcgDyAFkUAAFpcrMjtiNyAACgvinvIXNzAKC7KW4A5QDZCgCgwCmAAWFlaQDFI8gjyyNjAHIATWFnAGEAyWOAAWNkbgDRI9Qj1iPyIW9uv2MAoLYpdQDzAHgBcABmAADgNdhg3YABYWVsAOQj5yPrI3IAAKC3KXIAcAAAoLkpdQDzAHwBAKMoImFkaW9zdvkj/CMPJBMkFiQbJHIA8gBeFIChXSplZm0AAyQJJAwkcgBvoDQhZgAAoDQhO4CqAKpAO4C6ALpA5yFvZgCgtiJyAACgVipsIm9wZQAAoFcqAKBbKoABY2xvACMkJSQrJPIACCRhAHMAaAA7gPgA+EBsAACgmCJpAGwBMyQ4JGQAZQA7gPUA9UBlAHMAYaCXInMAAKA2Km0AbAA7gPYA9kDiIWFyAKA9I+EKXiQAAHokAAB8JJQkAACYJKkkAAAAALUkEQsAAPAkAAAAAAQleiUAAIMlcgCAoSUiYXN0AGUkbyQBCwCBtgA7bGokayS2QGwAZQDsABgDaQJ1JAAAAAB4JG0AAKDzKgCg/Sp5AD9kcgCAAmNpbXB0AIUkiCSLJJkSjyRuAHQAJWBvAGQALmBpAGwAAKAwIOUhbmsAoDEgcgAA4DXYLd2AAWltbwCdJKAkpCR2oMYD1WNtAGEA9AD+B24AZQAAoA4m9KHAA64kAAC0JGMjaGZvcmsAAKDUItZjAAFhdbgkxCRuAAABY2u9JMIkawBooA8hAKAOIfYAaRpzAACkKwBhYmNkZW1zdNMkIRPXJNsk4STjJOck6yTjIWlyAKAjKmkAcgAAoCIqAAFvdYsW3yQAoCUqAKByKm4AO4CxALFAaQBtAACgJip3AG8AAKAnKoABaXB1APUk+iT+JO4idGludACgFSpmAADgNdhh3W4AZAA7gKMAo0CApHoiRWFjZWlub3N1ABMlFSUYJRslTCVRJVklSSV1JQCgsypwAACgtyp1AOUAPwtjoK8qgKJ6ImFjZW5zACclLSU0JTYlSSVwAHAAcgBvAPgAFyV1AHIAbAB5AGUA8QA/C/EAOAuAAWFlcwA8JUElRSXwInByb3gAoLkqcQBxAACgtSppAG0AAKDoImkA7QBEC20AZQDzoDIgIguAAUVhcwBDJVclRSXwAEAlgAFkZnAATwtfJXElgAFhbHMAZSVpJW0l7CFhcgCgLiPpIW5lAKASI/UhcmYAoBMjdKAdIu8AWQvyIWVsAKCwIgABY2l9JYElcgAA4DXYxdzIY24iY3NwAACgCCAAA2Zpb3BzdZElKxuVJZolnyWkJXIAAOA12C7dcABmAADgNdhi3XIiaW1lAACgVyBjAHIAAOA12MbcgAFhZW8AqiW6JcAldAAAAWVpryW2JXIAbgBpAG8AbgDzABkFbgB0AACgFipzAHQAZaA/APEACRj0AG0LgApBQkhhYmNkZWZoaWxtbm9wcnN0dXgA4yXyJfYl+iVpJpAmpia9JtUm5ib4JlonaCdxJ3UnnietJ7EnyCfiJ+cngAFhcnQA6SXsJe4lcgDyAJkM8gD6AuEhaWwAoBwpYQByAPIA3BVhAHIAAKBkKYADY2RlbnFydAAGJhAmEyYYJiYmKyZaJgABZXUKJg0mAOA9IjEDdABlAFVhaQDjACAN7SJwdHl2AKCzKWcAgKHpJ2RlbAAgJiImJCYAoJIpAKClKeUA9wt1AG8AO4C7ALtAcgAApZIhYWJjZmhscHN0dz0mQCZFJkcmSiZMJk4mUSZVJlgmcAAAoHUpZqDlIXMAAKAgKQCgMylzAACgHinrALka8ACVHmwAAKBFKWkAbQAAoHQpbAAAoKMhAKCdIQABYWleJmImaQBsAACgGilvAG6gNiJhAGwA8wB2C4ABYWJyAG8mciZ2JnIA8gAvEnIAawAAoHMnAAFha3omgSZjAAABZWt/JoAmfWBdYAABZXOFJocmAKCMKWwAAAFkdYwmjiYAoI4pAKCQKQACYWV1eZcmmiajJqUm8iFvbllhAAFkaZ4moSZpAGwAV2HsAA8M4gCAJkBkAAJjbHFzrSawJrUmuiZhAACgNylkImhhcgAAoGkpdQBvAPKgHSCjAWgAAKCzIYABYWNnAMMm0iaUC2wAgKEcIWlwcwDLJs4migxuAOUAoAxhAHIA9ADaC3QAAKCtJYABaWxyANsm3ybjJvMhaHQAoH0pbwBvAPIANgwA4DXYL90AAWFv6ib1JnIAAAFkde8m8SYAoMEhbKDAIQCgbCl2oMED8WOAAWducwD+Jk4nUCdoAHQAAANhaGxyc3QKJxInISc1Jz0nRydyInJvdwB0oJIhYQDpAFYmYSNycG9vbgAAAWR1GiceJ28AdwDuAPAmcAAAoMAh5SFmdAABYWgnJy0ncgByAG8AdwDzAAkMYQByAHAAbwBvAG4A8wATBGklZ2h0YXJyb3dzAACgySFxAHUAaQBnAGEAcgByAG8A9wBZJugkcmVldGltZXMAoMwiZwDaYmkAbgBnAGQAbwB0AHMAZQDxABwYgAFhaG0AYCdjJ2YncgDyAAkMYQDyABMEAKAPIG8idXN0AGGgsSPjIWhlAKCxI+0haWQAoO4qAAJhYnB0fCeGJ4knmScAAW5ygCeDJ2cAAKDtJ3IAAKD+IXIA6wAcDIABYWZsAI8nkieVJ3IAAKCGKQDgNdhj3XUAcwAAoC4qaSJtZXMAAKA1KgABYXCiJ6gncgBnoCkAdAAAoJQp7yJsaW50AKASKmEAcgDyADwnAAJhY2hxuCe8J6EMwCfxIXVvAKA6IHIAAOA12MfcAAFidYAmxCdvAPKgGSCoAYABaGlyAM4n0ifWJ3IAZQDlAE0n7SFlcwCgyiJpAIChuSVlZmwAXAxjEt4n9CFyaQCgzinsInVoYXIAoGgpAKAeIWENBSgJKA0oSyhVKIYoAACLKLAoAAAAAOMo5ygAABApJCkxKW0pcSmHKaYpAACYKgAAAACxKmMidXRlAFthcQB1AO8ABR+ApHsiRWFjZWlucHN5ABwoHignKCooLygyKEEoRihJKACgtCrwASMoAAAlKACguCpvAG4AYWF1AOUAgw1koLAqaQBsAF9hcgBjAF1hgAFFYXMAOCg6KD0oAKC2KnAAAKC6KmkAbQAAoOki7yJsaW50AKATKmkA7QCIDUFkbwB0AGKixSKRFgAAAABTKACgZiqAA0FhY21zdHgAYChkKG8ocyh1KHkogihyAHIAAKDYIXIAAAFocmkoayjrAJAab6CYIfcAzAd0ADuApwCnQGkAO2D3IWFyAKApKW0AAAFpbn4ozQBuAHUA8wDOAHQAAKA2J3IA7+A12DDdIxkAAmFjb3mRKJUonSisKHIAcAAAoG8mAAFoeZkonChjAHkASWRIZHIAdABtAqUoAAAAAKgoaQDkAFsPYQByAGEA7ABsJDuArQCtQAABZ22zKLsobQBhAAChwwNmdroouijCY4CjPCJkZWdsbnByAMgozCjPKNMo1yjaKN4obwB0AACgairxoEMiCw5FoJ4qAKCgKkWgnSoAoJ8qZQAAoEYi7CF1cwCgJCrhIXJyAKByKWEAcgDyAPwMAAJhZWl07Sj8KAEpCCkAAWxz8Sj4KGwAcwBlAHQAbQDpAH8oaABwAACgMyrwImFyc2wAoOQpAAFkbFoPBSllAACgIyNloKoqc6CsKgDgrCoA/oABZmxwABUpGCkfKfQhY3lMZGKgLwBhoMQpcgAAoD8jZgAA4DXYZN1hAAABZHIoKRcDZQBzAHWgYCZpAHQAAKBgJoABY3N1ADYpRilhKQABYXU6KUApcABzoJMiAOCTIgD+cABzoJQiAOCUIgD+dQAAAWJwSylWKQChjyJlcz4NUCllAHQAZaCPIvEAPw0AoZAiZXNIDVspZQB0AGWgkCLxAEkNAKGhJWFmZilbBHIAZQFrKVwEAKChJWEAcgDyAAMNAAJjZW10dyl7KX8pgilyAADgNdjI3HQAbQDuAM4AaQDsAAYpYQByAOYAVw0AAWFyiimOKXIA5qAGJhESAAFhbpIpoylpImdodAAAAWVwmSmgKXAAcwBpAGwAbwDuANkXaADpAKAkcwCvYIACYmNtbnAArin8KY4NJSooKgCkgiJFZGVtbnByc7wpvinCKcgpzCnUKdgp3CkAoMUqbwB0AACgvSpkoIYibwB0AACgwyr1IWx0AKDBKgABRWXQKdIpAKDLKgCgiiLsIXVzAKC/KuEhcnIAoHkpgAFlaXUA4inxKfQpdAAAoYIiZW7oKewpcQDxoIYivSllAHEA8aCKItEpbQAAoMcqAAFicPgp+ikAoNUqAKDTKmMAgKJ7ImFjZW5zAAcqDSoUKhYqRihwAHAAcgBvAPgAIyh1AHIAbAB5AGUA8QCDDfEAfA2AAWFlcwAcKiIqPShwAHAAcgBvAPgAPChxAPEAOShnAACgaiYApoMiMTIzRWRlaGxtbnBzPCo/KkIqRSpHKlIqWCpjKmcqaypzKncqO4C5ALlAO4CyALJAO4CzALNAAKDGKgABb3NLKk4qdAAAoL4qdQBiAACg2CpkoIcibwB0AACgxCpzAAABb3VdKmAqbAAAoMknYgAAoNcq4SFycgCgeyn1IWx0AKDCKgABRWVvKnEqAKDMKgCgiyLsIXVzAKDAKoABZWl1AH0qjCqPKnQAAKGDImVugyqHKnEA8aCHIkYqZQBxAPGgiyJwKm0AAKDIKgABYnCTKpUqAKDUKgCg1iqAAUFhbgCdKqEqrCpyAHIAAKDZIXIAAAFocqYqqCrrAJUab6CZIfcAxQf3IWFyAKAqKWwAaQBnADuA3wDfQOELzyrZKtwq6SrsKvEqAAD1KjQrAAAAAAAAAAAAAEwrbCsAAHErvSsAAAAAAADRK3IC1CoAAAAA2CrnIWV0AKAWI8RjcgDrAOUKgAFhZXkA4SrkKucq8iFvbmVh5CFpbGNhQmRvAPQAIg5sInJlYwAAoBUjcgAA4DXYMd0AAmVpa2/7KhIrKCsuK/IBACsAAAkrZQAAATRm6g0EK28AcgDlAOsNYQBzorgDECsAAAAAEit5AG0A0WMAAWNuFislK2sAAAFhcxsrIStwAHAAcgBvAPgAFw5pAG0AAKA8InMA8AD9DQABYXMsKyEr8AAXDnIAbgA7gP4A/kDsATgrOyswG2QA5QBnAmUAcwCAgdcAO2JkAEMrRCtJK9dAYaCgInIAAKAxKgCgMCqAAWVwcwBRK1MraSvhAAkh4qKkIlsrXysAAAAAYytvAHQAAKA2I2kAcgAAoPEqb+A12GXdcgBrAACg2irhAHgociJpbWUAAKA0IIABYWlwAHYreSu3K2QA5QC+DYADYWRlbXBzdACFK6MrmiunK6wrsCuzK24iZ2xlAACitSVkbHFykCuUK5ornCvvIXduAKC/JeUhZnRloMMl8QACBwCgXCJpImdodABloLkl8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg"),decodeDataHtml}var decodeDataXml={},hasRequiredDecodeDataXml;function requireDecodeDataXml(){if(hasRequiredDecodeDataXml)return decodeDataXml;hasRequiredDecodeDataXml=1,Object.defineProperty(decodeDataXml,"__esModule",{value:!0}),decodeDataXml.xmlDecodeTree=void 0;const t=requireDecodeShared();return decodeDataXml.xmlDecodeTree=(0,t.decodeBase64)("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg"),decodeDataXml}var binTrieFlags={},hasRequiredBinTrieFlags;function requireBinTrieFlags(){if(hasRequiredBinTrieFlags)return binTrieFlags;hasRequiredBinTrieFlags=1,Object.defineProperty(binTrieFlags,"__esModule",{value:!0}),binTrieFlags.BinTrieFlags=void 0;var t;return(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.FLAG13=8192]="FLAG13",e[e.BRANCH_LENGTH=8064]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(t||(binTrieFlags.BinTrieFlags=t={})),binTrieFlags}var hasRequiredDecode;function requireDecode(){return hasRequiredDecode||(hasRequiredDecode=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.xmlDecodeTree=t.htmlDecodeTree=t.replaceCodePoint=t.fromCodePoint=t.decodeCodePoint=t.EntityDecoder=t.DecodingMode=void 0,t.determineBranch=y,t.decodeHTML=m,t.decodeHTMLAttribute=A,t.decodeHTMLStrict=g,t.decodeXML=p;const e=requireDecodeCodepoint(),o=requireDecodeDataHtml(),i=requireDecodeDataXml(),l=requireBinTrieFlags();var n;(function(E){E[E.NUM=35]="NUM",E[E.SEMI=59]="SEMI",E[E.EQUALS=61]="EQUALS",E[E.ZERO=48]="ZERO",E[E.NINE=57]="NINE",E[E.LOWER_A=97]="LOWER_A",E[E.LOWER_F=102]="LOWER_F",E[E.LOWER_X=120]="LOWER_X",E[E.LOWER_Z=122]="LOWER_Z",E[E.UPPER_A=65]="UPPER_A",E[E.UPPER_F=70]="UPPER_F",E[E.UPPER_Z=90]="UPPER_Z"})(n||(n={}));const u=32;function d(E){return E>=n.ZERO&&E<=n.NINE}function a(E){return E>=n.UPPER_A&&E<=n.UPPER_F||E>=n.LOWER_A&&E<=n.LOWER_F}function r(E){return E>=n.UPPER_A&&E<=n.UPPER_Z||E>=n.LOWER_A&&E<=n.LOWER_Z||d(E)}function s(E){return E===n.EQUALS||r(E)}var h;(function(E){E[E.EntityStart=0]="EntityStart",E[E.NumericStart=1]="NumericStart",E[E.NumericDecimal=2]="NumericDecimal",E[E.NumericHex=3]="NumericHex",E[E.NamedEntity=4]="NamedEntity"})(h||(h={}));var c;(function(E){E[E.Legacy=0]="Legacy",E[E.Strict=1]="Strict",E[E.Attribute=2]="Attribute"})(c||(t.DecodingMode=c={}));class f{constructor(R,S,I){this.decodeTree=R,this.emitCodePoint=S,this.errors=I,this.state=h.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=c.Strict,this.runConsumed=0}startEntity(R){this.decodeMode=R,this.state=h.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(R,S){switch(this.state){case h.EntityStart:return R.charCodeAt(S)===n.NUM?(this.state=h.NumericStart,this.consumed+=1,this.stateNumericStart(R,S+1)):(this.state=h.NamedEntity,this.stateNamedEntity(R,S));case h.NumericStart:return this.stateNumericStart(R,S);case h.NumericDecimal:return this.stateNumericDecimal(R,S);case h.NumericHex:return this.stateNumericHex(R,S);case h.NamedEntity:return this.stateNamedEntity(R,S)}}stateNumericStart(R,S){return S>=R.length?-1:(R.charCodeAt(S)|u)===n.LOWER_X?(this.state=h.NumericHex,this.consumed+=1,this.stateNumericHex(R,S+1)):(this.state=h.NumericDecimal,this.stateNumericDecimal(R,S))}stateNumericHex(R,S){for(;S<R.length;){const I=R.charCodeAt(S);if(d(I)||a(I)){const x=I<=n.NINE?I-n.ZERO:(I|u)-n.LOWER_A+10;this.result=this.result*16+x,this.consumed++,S++}else return this.emitNumericEntity(I,3)}return-1}stateNumericDecimal(R,S){for(;S<R.length;){const I=R.charCodeAt(S);if(d(I))this.result=this.result*10+(I-n.ZERO),this.consumed++,S++;else return this.emitNumericEntity(I,2)}return-1}emitNumericEntity(R,S){var I;if(this.consumed<=S)return(I=this.errors)===null||I===void 0||I.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(R===n.SEMI)this.consumed+=1;else if(this.decodeMode===c.Strict)return 0;return this.emitCodePoint((0,e.replaceCodePoint)(this.result),this.consumed),this.errors&&(R!==n.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(R,S){const{decodeTree:I}=this;let x=I[this.treeIndex],M=(x&l.BinTrieFlags.VALUE_LENGTH)>>14;for(;S<R.length;){if(M===0&&(x&l.BinTrieFlags.FLAG13)!==0){const H=(x&l.BinTrieFlags.BRANCH_LENGTH)>>7;if(this.runConsumed===0){const U=x&l.BinTrieFlags.JUMP_TABLE;if(R.charCodeAt(S)!==U)return this.result===0?0:this.emitNotTerminatedNamedEntity();S++,this.excess++,this.runConsumed++}for(;this.runConsumed<H;){if(S>=R.length)return-1;const U=this.runConsumed-1,B=I[this.treeIndex+1+(U>>1)],V=U%2===0?B&255:B>>8&255;if(R.charCodeAt(S)!==V)return this.runConsumed=0,this.result===0?0:this.emitNotTerminatedNamedEntity();S++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(H>>1),x=I[this.treeIndex],M=(x&l.BinTrieFlags.VALUE_LENGTH)>>14}if(S>=R.length)break;const D=R.charCodeAt(S);if(D===n.SEMI&&M!==0&&(x&l.BinTrieFlags.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,M,this.consumed+this.excess);if(this.treeIndex=y(I,x,this.treeIndex+Math.max(1,M),D),this.treeIndex<0)return this.result===0||this.decodeMode===c.Attribute&&(M===0||s(D))?0:this.emitNotTerminatedNamedEntity();if(x=I[this.treeIndex],M=(x&l.BinTrieFlags.VALUE_LENGTH)>>14,M!==0){if(D===n.SEMI)return this.emitNamedEntityData(this.treeIndex,M,this.consumed+this.excess);this.decodeMode!==c.Strict&&(x&l.BinTrieFlags.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}S++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var R;const{result:S,decodeTree:I}=this,x=(I[S]&l.BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(S,x,this.consumed),(R=this.errors)===null||R===void 0||R.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(R,S,I){const{decodeTree:x}=this;return this.emitCodePoint(S===1?x[R]&~(l.BinTrieFlags.VALUE_LENGTH|l.BinTrieFlags.FLAG13):x[R+1],I),S===3&&this.emitCodePoint(x[R+2],I),I}end(){var R;switch(this.state){case h.NamedEntity:return this.result!==0&&(this.decodeMode!==c.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case h.NumericDecimal:return this.emitNumericEntity(0,2);case h.NumericHex:return this.emitNumericEntity(0,3);case h.NumericStart:return(R=this.errors)===null||R===void 0||R.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case h.EntityStart:return 0}}}t.EntityDecoder=f;function b(E){let R="";const S=new f(E,I=>R+=(0,e.fromCodePoint)(I));return function(x,M){let D=0,H=0;for(;(H=x.indexOf("&",H))>=0;){R+=x.slice(D,H),S.startEntity(M);const B=S.write(x,H+1);if(B<0){D=H+S.end();break}D=H+B,H=B===0?D+1:D}const U=R+x.slice(D);return R="",U}}function y(E,R,S,I){const x=(R&l.BinTrieFlags.BRANCH_LENGTH)>>7,M=R&l.BinTrieFlags.JUMP_TABLE;if(x===0)return M!==0&&I===M?S:-1;if(M){const B=I-M;return B<0||B>=x?-1:E[S+B]-1}const D=x+1>>1;let H=0,U=x-1;for(;H<=U;){const B=H+U>>>1,V=B>>1,j=E[S+V]>>(B&1)*8&255;if(j<I)H=B+1;else if(j>I)U=B-1;else return E[S+D+B]}return-1}const w=b(o.htmlDecodeTree),_=b(i.xmlDecodeTree);function m(E,R=c.Legacy){return w(E,R)}function A(E){return w(E,c.Attribute)}function g(E){return w(E,c.Strict)}function p(E){return _(E,c.Strict)}var v=requireDecodeCodepoint();Object.defineProperty(t,"decodeCodePoint",{enumerable:!0,get:function(){return v.decodeCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return v.fromCodePoint}}),Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return v.replaceCodePoint}});var C=requireDecodeDataHtml();Object.defineProperty(t,"htmlDecodeTree",{enumerable:!0,get:function(){return C.htmlDecodeTree}});var P=requireDecodeDataXml();Object.defineProperty(t,"xmlDecodeTree",{enumerable:!0,get:function(){return P.xmlDecodeTree}})})(decode)),decode}var hasRequiredTokenizer;function requireTokenizer(){if(hasRequiredTokenizer)return Tokenizer;hasRequiredTokenizer=1,Object.defineProperty(Tokenizer,"__esModule",{value:!0}),Tokenizer.QuoteType=void 0;const t=requireDecode();var e;(function(r){r[r.Tab=9]="Tab",r[r.NewLine=10]="NewLine",r[r.FormFeed=12]="FormFeed",r[r.CarriageReturn=13]="CarriageReturn",r[r.Space=32]="Space",r[r.ExclamationMark=33]="ExclamationMark",r[r.Number=35]="Number",r[r.Amp=38]="Amp",r[r.SingleQuote=39]="SingleQuote",r[r.DoubleQuote=34]="DoubleQuote",r[r.Dash=45]="Dash",r[r.Slash=47]="Slash",r[r.Zero=48]="Zero",r[r.Nine=57]="Nine",r[r.Semi=59]="Semi",r[r.Lt=60]="Lt",r[r.Eq=61]="Eq",r[r.Gt=62]="Gt",r[r.Questionmark=63]="Questionmark",r[r.UpperA=65]="UpperA",r[r.LowerA=97]="LowerA",r[r.UpperF=70]="UpperF",r[r.LowerF=102]="LowerF",r[r.UpperZ=90]="UpperZ",r[r.LowerZ=122]="LowerZ",r[r.LowerX=120]="LowerX",r[r.OpeningSquareBracket=91]="OpeningSquareBracket"})(e||(e={}));var o;(function(r){r[r.Text=1]="Text",r[r.BeforeTagName=2]="BeforeTagName",r[r.InTagName=3]="InTagName",r[r.InSelfClosingTag=4]="InSelfClosingTag",r[r.BeforeClosingTagName=5]="BeforeClosingTagName",r[r.InClosingTagName=6]="InClosingTagName",r[r.AfterClosingTagName=7]="AfterClosingTagName",r[r.BeforeAttributeName=8]="BeforeAttributeName",r[r.InAttributeName=9]="InAttributeName",r[r.AfterAttributeName=10]="AfterAttributeName",r[r.BeforeAttributeValue=11]="BeforeAttributeValue",r[r.InAttributeValueDq=12]="InAttributeValueDq",r[r.InAttributeValueSq=13]="InAttributeValueSq",r[r.InAttributeValueNq=14]="InAttributeValueNq",r[r.BeforeDeclaration=15]="BeforeDeclaration",r[r.InDeclaration=16]="InDeclaration",r[r.InProcessingInstruction=17]="InProcessingInstruction",r[r.BeforeComment=18]="BeforeComment",r[r.CDATASequence=19]="CDATASequence",r[r.InSpecialComment=20]="InSpecialComment",r[r.InCommentLike=21]="InCommentLike",r[r.BeforeSpecialS=22]="BeforeSpecialS",r[r.BeforeSpecialT=23]="BeforeSpecialT",r[r.SpecialStartSequence=24]="SpecialStartSequence",r[r.InSpecialTag=25]="InSpecialTag",r[r.InEntity=26]="InEntity"})(o||(o={}));function i(r){return r===e.Space||r===e.NewLine||r===e.Tab||r===e.FormFeed||r===e.CarriageReturn}function l(r){return r===e.Slash||r===e.Gt||i(r)}function n(r){return r>=e.LowerA&&r<=e.LowerZ||r>=e.UpperA&&r<=e.UpperZ}var u;(function(r){r[r.NoValue=0]="NoValue",r[r.Unquoted=1]="Unquoted",r[r.Single=2]="Single",r[r.Double=3]="Double"})(u||(Tokenizer.QuoteType=u={}));const d={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};let a=class{constructor({xmlMode:s=!1,decodeEntities:h=!0},c){this.cbs=c,this.state=o.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=o.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=s,this.decodeEntities=h,this.entityDecoder=new t.EntityDecoder(s?t.xmlDecodeTree:t.htmlDecodeTree,(f,b)=>this.emitCodePoint(f,b))}reset(){this.state=o.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=o.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(s){this.offset+=this.buffer.length,this.buffer=s,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(s){s===e.Lt||!this.decodeEntities&&this.fastForwardTo(e.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=o.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&s===e.Amp&&this.startEntity()}stateSpecialStartSequence(s){const h=this.sequenceIndex===this.currentSequence.length;if(!(h?l(s):(s|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!h){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=o.InTagName,this.stateInTagName(s)}stateInSpecialTag(s){if(this.sequenceIndex===this.currentSequence.length){if(s===e.Gt||i(s)){const h=this.index-this.currentSequence.length;if(this.sectionStart<h){const c=this.index;this.index=h,this.cbs.ontext(this.sectionStart,h),this.index=c}this.isSpecial=!1,this.sectionStart=h+2,this.stateInClosingTagName(s);return}this.sequenceIndex=0}(s|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===d.TitleEnd?this.decodeEntities&&s===e.Amp&&this.startEntity():this.fastForwardTo(e.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(s===e.Lt)}stateCDATASequence(s){s===d.Cdata[this.sequenceIndex]?++this.sequenceIndex===d.Cdata.length&&(this.state=o.InCommentLike,this.currentSequence=d.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=o.InDeclaration,this.stateInDeclaration(s))}fastForwardTo(s){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===s)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(s){s===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===d.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=o.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):s!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(s){return this.xmlMode?!l(s):n(s)}startSpecial(s,h){this.isSpecial=!0,this.currentSequence=s,this.sequenceIndex=h,this.state=o.SpecialStartSequence}stateBeforeTagName(s){if(s===e.ExclamationMark)this.state=o.BeforeDeclaration,this.sectionStart=this.index+1;else if(s===e.Questionmark)this.state=o.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(s)){const h=s|32;this.sectionStart=this.index,this.xmlMode?this.state=o.InTagName:h===d.ScriptEnd[2]?this.state=o.BeforeSpecialS:h===d.TitleEnd[2]||h===d.XmpEnd[2]?this.state=o.BeforeSpecialT:this.state=o.InTagName}else s===e.Slash?this.state=o.BeforeClosingTagName:(this.state=o.Text,this.stateText(s))}stateInTagName(s){l(s)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(s))}stateBeforeClosingTagName(s){i(s)||(s===e.Gt?this.state=o.Text:(this.state=this.isTagStartChar(s)?o.InClosingTagName:o.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(s){(s===e.Gt||i(s))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.AfterClosingTagName,this.stateAfterClosingTagName(s))}stateAfterClosingTagName(s){(s===e.Gt||this.fastForwardTo(e.Gt))&&(this.state=o.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(s){s===e.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=o.InSpecialTag,this.sequenceIndex=0):this.state=o.Text,this.sectionStart=this.index+1):s===e.Slash?this.state=o.InSelfClosingTag:i(s)||(this.state=o.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(s){s===e.Gt?(this.cbs.onselfclosingtag(this.index),this.state=o.Text,this.sectionStart=this.index+1,this.isSpecial=!1):i(s)||(this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(s))}stateInAttributeName(s){(s===e.Eq||l(s))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=o.AfterAttributeName,this.stateAfterAttributeName(s))}stateAfterAttributeName(s){s===e.Eq?this.state=o.BeforeAttributeValue:s===e.Slash||s===e.Gt?(this.cbs.onattribend(u.NoValue,this.sectionStart),this.sectionStart=-1,this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(s)):i(s)||(this.cbs.onattribend(u.NoValue,this.sectionStart),this.state=o.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(s){s===e.DoubleQuote?(this.state=o.InAttributeValueDq,this.sectionStart=this.index+1):s===e.SingleQuote?(this.state=o.InAttributeValueSq,this.sectionStart=this.index+1):i(s)||(this.sectionStart=this.index,this.state=o.InAttributeValueNq,this.stateInAttributeValueNoQuotes(s))}handleInAttributeValue(s,h){s===h||!this.decodeEntities&&this.fastForwardTo(h)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(h===e.DoubleQuote?u.Double:u.Single,this.index+1),this.state=o.BeforeAttributeName):this.decodeEntities&&s===e.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(s){this.handleInAttributeValue(s,e.DoubleQuote)}stateInAttributeValueSingleQuotes(s){this.handleInAttributeValue(s,e.SingleQuote)}stateInAttributeValueNoQuotes(s){i(s)||s===e.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(u.Unquoted,this.index),this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(s)):this.decodeEntities&&s===e.Amp&&this.startEntity()}stateBeforeDeclaration(s){s===e.OpeningSquareBracket?(this.state=o.CDATASequence,this.sequenceIndex=0):this.state=s===e.Dash?o.BeforeComment:o.InDeclaration}stateInDeclaration(s){(s===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=o.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(s){(s===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=o.Text,this.sectionStart=this.index+1)}stateBeforeComment(s){s===e.Dash?(this.state=o.InCommentLike,this.currentSequence=d.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=o.InDeclaration}stateInSpecialComment(s){(s===e.Gt||this.fastForwardTo(e.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=o.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(s){const h=s|32;h===d.ScriptEnd[3]?this.startSpecial(d.ScriptEnd,4):h===d.StyleEnd[3]?this.startSpecial(d.StyleEnd,4):(this.state=o.InTagName,this.stateInTagName(s))}stateBeforeSpecialT(s){switch(s|32){case d.TitleEnd[3]:{this.startSpecial(d.TitleEnd,4);break}case d.TextareaEnd[3]:{this.startSpecial(d.TextareaEnd,4);break}case d.XmpEnd[3]:{this.startSpecial(d.XmpEnd,4);break}default:this.state=o.InTagName,this.stateInTagName(s)}}startEntity(){this.baseState=this.state,this.state=o.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?t.DecodingMode.Strict:this.baseState===o.Text||this.baseState===o.InSpecialTag?t.DecodingMode.Legacy:t.DecodingMode.Attribute)}stateInEntity(){const s=this.index-this.offset,h=this.entityDecoder.write(this.buffer,s);if(h>=0)this.state=this.baseState,h===0&&(this.index-=1);else{if(s<this.buffer.length&&this.buffer.charCodeAt(s)===e.Amp){this.state=this.baseState,this.index-=1;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===o.Text||this.state===o.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===o.InAttributeValueDq||this.state===o.InAttributeValueSq||this.state===o.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const s=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case o.Text:{this.stateText(s);break}case o.SpecialStartSequence:{this.stateSpecialStartSequence(s);break}case o.InSpecialTag:{this.stateInSpecialTag(s);break}case o.CDATASequence:{this.stateCDATASequence(s);break}case o.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(s);break}case o.InAttributeName:{this.stateInAttributeName(s);break}case o.InCommentLike:{this.stateInCommentLike(s);break}case o.InSpecialComment:{this.stateInSpecialComment(s);break}case o.BeforeAttributeName:{this.stateBeforeAttributeName(s);break}case o.InTagName:{this.stateInTagName(s);break}case o.InClosingTagName:{this.stateInClosingTagName(s);break}case o.BeforeTagName:{this.stateBeforeTagName(s);break}case o.AfterAttributeName:{this.stateAfterAttributeName(s);break}case o.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(s);break}case o.BeforeAttributeValue:{this.stateBeforeAttributeValue(s);break}case o.BeforeClosingTagName:{this.stateBeforeClosingTagName(s);break}case o.AfterClosingTagName:{this.stateAfterClosingTagName(s);break}case o.BeforeSpecialS:{this.stateBeforeSpecialS(s);break}case o.BeforeSpecialT:{this.stateBeforeSpecialT(s);break}case o.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(s);break}case o.InSelfClosingTag:{this.stateInSelfClosingTag(s);break}case o.InDeclaration:{this.stateInDeclaration(s);break}case o.BeforeDeclaration:{this.stateBeforeDeclaration(s);break}case o.BeforeComment:{this.stateBeforeComment(s);break}case o.InProcessingInstruction:{this.stateInProcessingInstruction(s);break}case o.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===o.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const s=this.buffer.length+this.offset;this.sectionStart>=s||(this.state===o.InCommentLike?this.currentSequence===d.CdataEnd?this.cbs.oncdata(this.sectionStart,s,0):this.cbs.oncomment(this.sectionStart,s,0):this.state===o.InTagName||this.state===o.BeforeAttributeName||this.state===o.BeforeAttributeValue||this.state===o.AfterAttributeName||this.state===o.InAttributeName||this.state===o.InAttributeValueSq||this.state===o.InAttributeValueDq||this.state===o.InAttributeValueNq||this.state===o.InClosingTagName||this.cbs.ontext(this.sectionStart,s))}emitCodePoint(s,h){this.baseState!==o.Text&&this.baseState!==o.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+h,this.index=this.sectionStart-1,this.cbs.onattribentity(s)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+h,this.index=this.sectionStart-1,this.cbs.ontextentity(s,this.sectionStart))}};return Tokenizer.default=a,Tokenizer}var hasRequiredParser;function requireParser(){if(hasRequiredParser)return Parser;hasRequiredParser=1;var t=Parser&&Parser.__createBinding||(Object.create?(function(w,_,m,A){A===void 0&&(A=m);var g=Object.getOwnPropertyDescriptor(_,m);(!g||("get"in g?!_.__esModule:g.writable||g.configurable))&&(g={enumerable:!0,get:function(){return _[m]}}),Object.defineProperty(w,A,g)}):(function(w,_,m,A){A===void 0&&(A=m),w[A]=_[m]})),e=Parser&&Parser.__setModuleDefault||(Object.create?(function(w,_){Object.defineProperty(w,"default",{enumerable:!0,value:_})}):function(w,_){w.default=_}),o=Parser&&Parser.__importStar||(function(){var w=function(_){return w=Object.getOwnPropertyNames||function(m){var A=[];for(var g in m)Object.prototype.hasOwnProperty.call(m,g)&&(A[A.length]=g);return A},w(_)};return function(_){if(_&&_.__esModule)return _;var m={};if(_!=null)for(var A=w(_),g=0;g<A.length;g++)A[g]!=="default"&&t(m,_,A[g]);return e(m,_),m}})();Object.defineProperty(Parser,"__esModule",{value:!0}),Parser.Parser=void 0;const i=o(requireTokenizer()),l=requireDecode(),n=new Set(["input","option","optgroup","select","button","datalist","textarea"]),u=new Set(["p"]),d=new Set(["thead","tbody"]),a=new Set(["dd","dt"]),r=new Set(["rt","rp"]),s=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",u],["h1",u],["h2",u],["h3",u],["h4",u],["h5",u],["h6",u],["select",n],["input",n],["output",n],["button",n],["datalist",n],["textarea",n],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",a],["dt",a],["address",u],["article",u],["aside",u],["blockquote",u],["details",u],["div",u],["dl",u],["fieldset",u],["figcaption",u],["figure",u],["footer",u],["form",u],["header",u],["hr",u],["main",u],["nav",u],["ol",u],["pre",u],["section",u],["table",u],["ul",u],["rt",r],["rp",r],["tbody",d],["tfoot",d]]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),c=new Set(["math","svg"]),f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),b=/\s|\//;let y=class{constructor(_,m={}){var A,g,p,v,C,P;this.options=m,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=_??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(A=m.lowerCaseTags)!==null&&A!==void 0?A:this.htmlMode,this.lowerCaseAttributeNames=(g=m.lowerCaseAttributeNames)!==null&&g!==void 0?g:this.htmlMode,this.recognizeSelfClosing=(p=m.recognizeSelfClosing)!==null&&p!==void 0?p:!this.htmlMode,this.tokenizer=new((v=m.Tokenizer)!==null&&v!==void 0?v:i.default)(this.options,this),this.foreignContext=[!this.htmlMode],(P=(C=this.cbs).onparserinit)===null||P===void 0||P.call(C,this)}ontext(_,m){var A,g;const p=this.getSlice(_,m);this.endIndex=m-1,(g=(A=this.cbs).ontext)===null||g===void 0||g.call(A,p),this.startIndex=m}ontextentity(_,m){var A,g;this.endIndex=m-1,(g=(A=this.cbs).ontext)===null||g===void 0||g.call(A,(0,l.fromCodePoint)(_)),this.startIndex=m}isVoidElement(_){return this.htmlMode&&h.has(_)}onopentagname(_,m){this.endIndex=m;let A=this.getSlice(_,m);this.lowerCaseTagNames&&(A=A.toLowerCase()),this.emitOpenTag(A)}emitOpenTag(_){var m,A,g,p;this.openTagStart=this.startIndex,this.tagname=_;const v=this.htmlMode&&s.get(_);if(v)for(;this.stack.length>0&&v.has(this.stack[0]);){const C=this.stack.shift();(A=(m=this.cbs).onclosetag)===null||A===void 0||A.call(m,C,!0)}this.isVoidElement(_)||(this.stack.unshift(_),this.htmlMode&&(c.has(_)?this.foreignContext.unshift(!0):f.has(_)&&this.foreignContext.unshift(!1))),(p=(g=this.cbs).onopentagname)===null||p===void 0||p.call(g,_),this.cbs.onopentag&&(this.attribs={})}endOpenTag(_){var m,A;this.startIndex=this.openTagStart,this.attribs&&((A=(m=this.cbs).onopentag)===null||A===void 0||A.call(m,this.tagname,this.attribs,_),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(_){this.endIndex=_,this.endOpenTag(!1),this.startIndex=_+1}onclosetag(_,m){var A,g,p,v,C,P,E,R;this.endIndex=m;let S=this.getSlice(_,m);if(this.lowerCaseTagNames&&(S=S.toLowerCase()),this.htmlMode&&(c.has(S)||f.has(S))&&this.foreignContext.shift(),this.isVoidElement(S))this.htmlMode&&S==="br"&&((v=(p=this.cbs).onopentagname)===null||v===void 0||v.call(p,"br"),(P=(C=this.cbs).onopentag)===null||P===void 0||P.call(C,"br",{},!0),(R=(E=this.cbs).onclosetag)===null||R===void 0||R.call(E,"br",!1));else{const I=this.stack.indexOf(S);if(I!==-1)for(let x=0;x<=I;x++){const M=this.stack.shift();(g=(A=this.cbs).onclosetag)===null||g===void 0||g.call(A,M,x!==I)}else this.htmlMode&&S==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=m+1}onselfclosingtag(_){this.endIndex=_,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=_+1):this.onopentagend(_)}closeCurrentTag(_){var m,A;const g=this.tagname;this.endOpenTag(_),this.stack[0]===g&&((A=(m=this.cbs).onclosetag)===null||A===void 0||A.call(m,g,!_),this.stack.shift())}onattribname(_,m){this.startIndex=_;const A=this.getSlice(_,m);this.attribname=this.lowerCaseAttributeNames?A.toLowerCase():A}onattribdata(_,m){this.attribvalue+=this.getSlice(_,m)}onattribentity(_){this.attribvalue+=(0,l.fromCodePoint)(_)}onattribend(_,m){var A,g;this.endIndex=m,(g=(A=this.cbs).onattribute)===null||g===void 0||g.call(A,this.attribname,this.attribvalue,_===i.QuoteType.Double?'"':_===i.QuoteType.Single?"'":_===i.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(_){const m=_.search(b);let A=m<0?_:_.substr(0,m);return this.lowerCaseTagNames&&(A=A.toLowerCase()),A}ondeclaration(_,m){this.endIndex=m;const A=this.getSlice(_,m);if(this.cbs.onprocessinginstruction){const g=this.getInstructionName(A);this.cbs.onprocessinginstruction(`!${g}`,`!${A}`)}this.startIndex=m+1}onprocessinginstruction(_,m){this.endIndex=m;const A=this.getSlice(_,m);if(this.cbs.onprocessinginstruction){const g=this.getInstructionName(A);this.cbs.onprocessinginstruction(`?${g}`,`?${A}`)}this.startIndex=m+1}oncomment(_,m,A){var g,p,v,C;this.endIndex=m,(p=(g=this.cbs).oncomment)===null||p===void 0||p.call(g,this.getSlice(_,m-A)),(C=(v=this.cbs).oncommentend)===null||C===void 0||C.call(v),this.startIndex=m+1}oncdata(_,m,A){var g,p,v,C,P,E,R,S,I,x;this.endIndex=m;const M=this.getSlice(_,m-A);!this.htmlMode||this.options.recognizeCDATA?((p=(g=this.cbs).oncdatastart)===null||p===void 0||p.call(g),(C=(v=this.cbs).ontext)===null||C===void 0||C.call(v,M),(E=(P=this.cbs).oncdataend)===null||E===void 0||E.call(P)):((S=(R=this.cbs).oncomment)===null||S===void 0||S.call(R,`[CDATA[${M}]]`),(x=(I=this.cbs).oncommentend)===null||x===void 0||x.call(I)),this.startIndex=m+1}onend(){var _,m;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let A=0;A<this.stack.length;A++)this.cbs.onclosetag(this.stack[A],!0)}(m=(_=this.cbs).onend)===null||m===void 0||m.call(_)}reset(){var _,m,A,g;(m=(_=this.cbs).onreset)===null||m===void 0||m.call(_),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(g=(A=this.cbs).onparserinit)===null||g===void 0||g.call(A,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(_){this.reset(),this.end(_)}getSlice(_,m){for(;_-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let A=this.buffers[0].slice(_-this.bufferOffset,m-this.bufferOffset);for(;m-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),A+=this.buffers[0].slice(0,m-this.bufferOffset);return A}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(_){var m,A;if(this.ended){(A=(m=this.cbs).onerror)===null||A===void 0||A.call(m,new Error(".write() after done!"));return}this.buffers.push(_),this.tokenizer.running&&(this.tokenizer.write(_),this.writeIndex++)}end(_){var m,A;if(this.ended){(A=(m=this.cbs).onerror)===null||A===void 0||A.call(m,new Error(".end() after done!"));return}_&&this.write(_),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(_){this.write(_)}done(_){this.end(_)}};return Parser.Parser=y,Parser}var hasRequiredCommonjs;function requireCommonjs(){return hasRequiredCommonjs||(hasRequiredCommonjs=1,(function(t){var e=commonjs&&commonjs.__createBinding||(Object.create?(function(m,A,g,p){p===void 0&&(p=g);var v=Object.getOwnPropertyDescriptor(A,g);(!v||("get"in v?!A.__esModule:v.writable||v.configurable))&&(v={enumerable:!0,get:function(){return A[g]}}),Object.defineProperty(m,p,v)}):(function(m,A,g,p){p===void 0&&(p=g),m[p]=A[g]})),o=commonjs&&commonjs.__setModuleDefault||(Object.create?(function(m,A){Object.defineProperty(m,"default",{enumerable:!0,value:A})}):function(m,A){m.default=A}),i=commonjs&&commonjs.__importStar||(function(){var m=function(A){return m=Object.getOwnPropertyNames||function(g){var p=[];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(p[p.length]=v);return p},m(A)};return function(A){if(A&&A.__esModule)return A;var g={};if(A!=null)for(var p=m(A),v=0;v<p.length;v++)p[v]!=="default"&&e(g,A,p[v]);return o(g,A),g}})(),l=commonjs&&commonjs.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.getFeed=t.ElementType=t.QuoteType=t.Tokenizer=t.DefaultHandler=t.DomHandler=t.Parser=void 0,t.parseDocument=r,t.parseDOM=s,t.createDocumentStream=h,t.createDomStream=c,t.parseFeed=_;const n=requireParser();var u=requireParser();Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return u.Parser}});const d=requireLib$4();var a=requireLib$4();Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return a.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return a.DomHandler}});function r(m,A){const g=new d.DomHandler(void 0,A);return new n.Parser(g,A).end(m),g.root}function s(m,A){return r(m,A).children}function h(m,A,g){const p=new d.DomHandler(v=>m(v,p.root),A,g);return new n.Parser(p,A)}function c(m,A,g){const p=new d.DomHandler(m,A,g);return new n.Parser(p,A)}var f=requireTokenizer();Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return l(f).default}}),Object.defineProperty(t,"QuoteType",{enumerable:!0,get:function(){return f.QuoteType}}),t.ElementType=i(requireLib$5());const b=requireLib$1();var y=requireLib$1();Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return y.getFeed}});const w={xmlMode:!0};function _(m,A=w){return(0,b.getFeed)(s(m,A))}t.DomUtils=i(requireLib$1())})(commonjs)),commonjs}var launder={exports:{}},dayjs_min$1={exports:{}},dayjs_min=dayjs_min$1.exports,hasRequiredDayjs_min;function requireDayjs_min(){return hasRequiredDayjs_min||(hasRequiredDayjs_min=1,(function(t,e){(function(o,i){t.exports=i()})(dayjs_min,(function(){var o=1e3,i=6e4,l=36e5,n="millisecond",u="second",d="minute",a="hour",r="day",s="week",h="month",c="quarter",f="year",b="date",y="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var D=["th","st","nd","rd"],H=M%100;return"["+M+(D[(H-20)%10]||D[H]||D[0])+"]"}},A=function(M,D,H){var U=String(M);return!U||U.length>=D?M:""+Array(D+1-U.length).join(H)+M},g={s:A,z:function(M){var D=-M.utcOffset(),H=Math.abs(D),U=Math.floor(H/60),B=H%60;return(D<=0?"+":"-")+A(U,2,"0")+":"+A(B,2,"0")},m:function M(D,H){if(D.date()<H.date())return-M(H,D);var U=12*(H.year()-D.year())+(H.month()-D.month()),B=D.clone().add(U,h),V=H-B<0,F=D.clone().add(U+(V?-1:1),h);return+(-(U+(H-B)/(V?B-F:F-B))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:h,y:f,w:s,d:r,D:b,h:a,m:d,s:u,ms:n,Q:c}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},p="en",v={};v[p]=m;var C="$isDayjsObject",P=function(M){return M instanceof I||!(!M||!M[C])},E=function M(D,H,U){var B;if(!D)return p;if(typeof D=="string"){var V=D.toLowerCase();v[V]&&(B=V),H&&(v[V]=H,B=V);var F=D.split("-");if(!B&&F.length>1)return M(F[0])}else{var j=D.name;v[j]=D,B=j}return!U&&B&&(p=B),B||!U&&p},R=function(M,D){if(P(M))return M.clone();var H=typeof D=="object"?D:{};return H.date=M,H.args=arguments,new I(H)},S=g;S.l=E,S.i=P,S.w=function(M,D){return R(M,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var I=(function(){function M(H){this.$L=E(H.locale,null,!0),this.parse(H),this.$x=this.$x||H.x||{},this[C]=!0}var D=M.prototype;return D.parse=function(H){this.$d=(function(U){var B=U.date,V=U.utc;if(B===null)return new Date(NaN);if(S.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var F=B.match(w);if(F){var j=F[2]-1||0,K=(F[7]||"0").substring(0,3);return V?new Date(Date.UTC(F[1],j,F[3]||1,F[4]||0,F[5]||0,F[6]||0,K)):new Date(F[1],j,F[3]||1,F[4]||0,F[5]||0,F[6]||0,K)}}return new Date(B)})(H),this.init()},D.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},D.$utils=function(){return S},D.isValid=function(){return this.$d.toString()!==y},D.isSame=function(H,U){var B=R(H);return this.startOf(U)<=B&&B<=this.endOf(U)},D.isAfter=function(H,U){return R(H)<this.startOf(U)},D.isBefore=function(H,U){return this.endOf(U)<R(H)},D.$g=function(H,U,B){return S.u(H)?this[U]:this.set(B,H)},D.unix=function(){return Math.floor(this.valueOf()/1e3)},D.valueOf=function(){return this.$d.getTime()},D.startOf=function(H,U){var B=this,V=!!S.u(U)||U,F=S.p(H),j=function(ne,ee){var O=S.w(B.$u?Date.UTC(B.$y,ee,ne):new Date(B.$y,ee,ne),B);return V?O:O.endOf(r)},K=function(ne,ee){return S.w(B.toDate()[ne].apply(B.toDate("s"),(V?[0,0,0,0]:[23,59,59,999]).slice(ee)),B)},k=this.$W,q=this.$M,N=this.$D,W="set"+(this.$u?"UTC":"");switch(F){case f:return V?j(1,0):j(31,11);case h:return V?j(1,q):j(0,q+1);case s:var J=this.$locale().weekStart||0,z=(k<J?k+7:k)-J;return j(V?N-z:N+(6-z),q);case r:case b:return K(W+"Hours",0);case a:return K(W+"Minutes",1);case d:return K(W+"Seconds",2);case u:return K(W+"Milliseconds",3);default:return this.clone()}},D.endOf=function(H){return this.startOf(H,!1)},D.$set=function(H,U){var B,V=S.p(H),F="set"+(this.$u?"UTC":""),j=(B={},B[r]=F+"Date",B[b]=F+"Date",B[h]=F+"Month",B[f]=F+"FullYear",B[a]=F+"Hours",B[d]=F+"Minutes",B[u]=F+"Seconds",B[n]=F+"Milliseconds",B)[V],K=V===r?this.$D+(U-this.$W):U;if(V===h||V===f){var k=this.clone().set(b,1);k.$d[j](K),k.init(),this.$d=k.set(b,Math.min(this.$D,k.daysInMonth())).$d}else j&&this.$d[j](K);return this.init(),this},D.set=function(H,U){return this.clone().$set(H,U)},D.get=function(H){return this[S.p(H)]()},D.add=function(H,U){var B,V=this;H=Number(H);var F=S.p(U),j=function(q){var N=R(V);return S.w(N.date(N.date()+Math.round(q*H)),V)};if(F===h)return this.set(h,this.$M+H);if(F===f)return this.set(f,this.$y+H);if(F===r)return j(1);if(F===s)return j(7);var K=(B={},B[d]=i,B[a]=l,B[u]=o,B)[F]||1,k=this.$d.getTime()+H*K;return S.w(k,this)},D.subtract=function(H,U){return this.add(-1*H,U)},D.format=function(H){var U=this,B=this.$locale();if(!this.isValid())return B.invalidDate||y;var V=H||"YYYY-MM-DDTHH:mm:ssZ",F=S.z(this),j=this.$H,K=this.$m,k=this.$M,q=B.weekdays,N=B.months,W=B.meridiem,J=function(ee,O,T,L){return ee&&(ee[O]||ee(U,V))||T[O].slice(0,L)},z=function(ee){return S.s(j%12||12,ee,"0")},ne=W||function(ee,O,T){var L=ee<12?"AM":"PM";return T?L.toLowerCase():L};return V.replace(_,(function(ee,O){return O||(function(T){switch(T){case"YY":return String(U.$y).slice(-2);case"YYYY":return S.s(U.$y,4,"0");case"M":return k+1;case"MM":return S.s(k+1,2,"0");case"MMM":return J(B.monthsShort,k,N,3);case"MMMM":return J(N,k);case"D":return U.$D;case"DD":return S.s(U.$D,2,"0");case"d":return String(U.$W);case"dd":return J(B.weekdaysMin,U.$W,q,2);case"ddd":return J(B.weekdaysShort,U.$W,q,3);case"dddd":return q[U.$W];case"H":return String(j);case"HH":return S.s(j,2,"0");case"h":return z(1);case"hh":return z(2);case"a":return ne(j,K,!0);case"A":return ne(j,K,!1);case"m":return String(K);case"mm":return S.s(K,2,"0");case"s":return String(U.$s);case"ss":return S.s(U.$s,2,"0");case"SSS":return S.s(U.$ms,3,"0");case"Z":return F}return null})(ee)||F.replace(":","")}))},D.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},D.diff=function(H,U,B){var V,F=this,j=S.p(U),K=R(H),k=(K.utcOffset()-this.utcOffset())*i,q=this-K,N=function(){return S.m(F,K)};switch(j){case f:V=N()/12;break;case h:V=N();break;case c:V=N()/3;break;case s:V=(q-k)/6048e5;break;case r:V=(q-k)/864e5;break;case a:V=q/l;break;case d:V=q/i;break;case u:V=q/o;break;default:V=q}return B?V:S.a(V)},D.daysInMonth=function(){return this.endOf(h).$D},D.$locale=function(){return v[this.$L]},D.locale=function(H,U){if(!H)return this.$L;var B=this.clone(),V=E(H,U,!0);return V&&(B.$L=V),B},D.clone=function(){return S.w(this.$d,this)},D.toDate=function(){return new Date(this.valueOf())},D.toJSON=function(){return this.isValid()?this.toISOString():null},D.toISOString=function(){return this.$d.toISOString()},D.toString=function(){return this.$d.toUTCString()},M})(),x=I.prototype;return R.prototype=x,[["$ms",n],["$s",u],["$m",d],["$H",a],["$W",r],["$M",h],["$y",f],["$D",b]].forEach((function(M){x[M[1]]=function(D){return this.$g(D,M[0],M[1])}})),R.extend=function(M,D){return M.$i||(M(D,I,R),M.$i=!0),R},R.locale=E,R.isDayjs=P,R.unix=function(M){return R(1e3*M)},R.en=v[p],R.Ls=v,R.p={},R}))})(dayjs_min$1)),dayjs_min$1.exports}var hasRequiredLaunder;function requireLaunder(){if(hasRequiredLaunder)return launder.exports;hasRequiredLaunder=1;const t=requireDayjs_min();function e(i){for(i=i.replace(/[\x00-\x20]+/g,"");;){const l=i.indexOf("<!--");if(l===-1)break;const n=i.indexOf("-->",l+4);if(n===-1)break;i=i.substring(0,l)+i.substring(n+3)}return i}function o(i,l){l=l||{};const n=l.allowedSchemes||["http","https","ftp","mailto","tel","sms"],u=l.allowProtocolRelative!==!1;if(typeof i!="string")return!1;i=e(i);const d=i.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!d)return i.match(/^[/\\]{2}/)?!u:!1;const a=d[1].toLowerCase();return n.indexOf(a)===-1}return launder.exports=function(i){const l={};return l.options=i||{},l.filterTag=l.options.filterTag||function(n){return n=n.trim(),n.toLowerCase()},l.string=function(n,u){return typeof n!="string"&&(typeof n=="number"||typeof n=="boolean"?n+="":n=""),n=n.trim(),u!==void 0&&n===""&&(n=u),n},l.strings=function(n){return Array.isArray(n)?n.map(function(u){return l.string(u)}):[]},l.integer=function(n,u,d,a){if(u===void 0&&(u=0),typeof n=="number")n=Math.floor(n);else try{n=parseInt(n,10),isNaN(n)&&(n=u)}catch{n=u}return typeof d=="number"&&n<d&&(n=d),typeof a=="number"&&n>a&&(n=a),n},l.padInteger=function(n,u){let d=n+"";for(;d.length<u;)d="0"+d;return d},l.float=function(n,u,d,a){if(u===void 0&&(u=0),typeof n!="number")try{n=parseFloat(n,10),isNaN(n)&&(n=u)}catch{n=u}return typeof d=="number"&&n<d&&(n=d),typeof a=="number"&&n>a&&(n=a),n},l.naughtyHref=o,l.url=function(n,u,d){if(n=l.string(n,u),n===u)return n;if(n=e(n),o(n)||(n=a(n),n===null))return u;return n;function a(r){return r.match(/^(((https?|ftp):\/\/)|((mailto|tel|sms):)|#|([^/.]+)?\/|[^/.]+$)/)?r:r.match(/^[^/.]+\.[^/.]+/)?(d?"https://":"http://")+r:null}},l.select=function(n,u,d){if(n=l.string(n),!u||!u.length)return d;let a;return typeof u[0]=="object"?(a=u.find(function(r){return r.value===null||r.value===void 0?!1:r.value.toString()===n}),a!=null?a.value:d):(a=u.find(function(r){return r==null?!1:r.toString()===n}),a!==void 0?a:d)},l.boolean=function(n,u){return n===!0?!0:n===!1?!1:(n=l.string(n,u),n===u?n===void 0?!1:n:(n=n.toLowerCase().charAt(0),n===""||n==="n"||n==="0"||n==="f"?!1:n==="t"||n==="y"||n==="1"))},l.addBooleanFilterToCriteria=function(n,u,d,a){a===void 0&&(a=null);let r=typeof n=="object"&&n!==null?n[u]:n;r=r===void 0?a:r,r=l.booleanOrNull(r),r===null||(r?d[u]=!0:d[u]={$ne:!0})},l.booleanOrNull=function(n,u){return n===!0||n===!1||n===null?n:(n=l.string(n,u),n===u?u===void 0?null:n:n==="null"?null:(n=n.toLowerCase().charAt(0),n===""||n==="n"||n==="0"||n==="f"?!1:n==="t"||n==="y"||n==="1"?!0:n==="a"?null:u))},l.date=function(n,u,d){let a;function r(){return u===void 0&&(u=t().format("YYYY-MM-DD")),u}if(typeof n=="string"){if(n.match(/\//)){if(a=n.split("/"),a.length===2)return(d||new Date).getFullYear()+"-"+l.padInteger(a[0],2)+"-"+l.padInteger(a[1],2);if(a.length===3){if(a[2]<100){const s=d||new Date,h=s.getFullYear()%100,c=s.getFullYear()-h;let f=parseInt(a[2])+c;f-s.getFullYear()>50&&(f-=100),a[2]=f}return l.padInteger(a[2],4)+"-"+l.padInteger(a[0],2)+"-"+l.padInteger(a[1],2)}else return r()}else if(n.match(/-/))return a=n.split("-"),a.length===2?(d||new Date).getFullYear()+"-"+l.padInteger(a[0],2)+"-"+l.padInteger(a[1],2):a.length===3?l.padInteger(a[0],4)+"-"+l.padInteger(a[1],2)+"-"+l.padInteger(a[2],2):r()}try{return n===null||(n=d||new Date(n),isNaN(n.getTime()))?r():n.getFullYear()+"-"+l.padInteger(n.getMonth()+1,2)+"-"+l.padInteger(n.getDate(),2)}catch{return r()}},l.formatDate=function(n){return t(n).format("YYYY-MM-DD")},l.time=function(n,u){n=l.string(n).toLowerCase(),n=n.trim();const d=n.match(/^(\d+)([:|.](\d+))?([:|.](\d+))?\s*(am|pm|AM|PM|a|p|A|M)?$/);if(d){let a=parseInt(d[1],10);const r=d[3]!==void 0?parseInt(d[3],10):0,s=d[5]!==void 0?parseInt(d[5],10):0;let h=d[6]?d[6].toLowerCase():d[6];return h=h&&h.charAt(0),a===12&&h==="a"?a-=12:a===12&&h==="p"||h==="p"&&(a+=12),(a===24||a==="24")&&(a=0),l.padInteger(a,2)+":"+l.padInteger(r,2)+":"+l.padInteger(s,2)}else return u!==void 0?u:t().format("HH:mm")},l.formatTime=function(n){return t(n).format("HH:mm:ss")},l.tags=function(n,u){return typeof n=="string"&&(n=n.split(/,\s*/)),Array.isArray(n)?n.map(s=>l.string(s)).map(u||l.filterTag).filter(s=>s.length>0):[]},l.idRegExp=l.options.idRegExp||/^[A-Za-z0-9_]+$/,l.id=function(n,u){const d=l.string(n,u);return d===u||d.match(l.idRegExp)?d:u},l.ids=function(n){return Array.isArray(n)?n.filter(function(d){return l.id(d)!==void 0}):[]},l},launder.exports.naughtyHref=o,launder.exports}var sanitizeHtml_1,hasRequiredSanitizeHtml;function requireSanitizeHtml(){if(hasRequiredSanitizeHtml)return sanitizeHtml_1;hasRequiredSanitizeHtml=1;const t=requireCommonjs(),e=requireEscapeStringRegexp(),{isPlainObject:o}=requireIsPlainObject(),i=requireCjs(),l=requireParseSrcset(),{parse:n}=requirePostcss(),{naughtyHref:u}=requireLaunder(),d=["img","audio","video","picture","svg","object","map","iframe","embed"],a=["script","style"];function r(_,m){_&&Object.keys(_).forEach(function(A){m(_[A],A)})}function s(_,m){return{}.hasOwnProperty.call(_,m)}function h(_,m){const A=[];return r(_,function(g){m(g)&&A.push(g)}),A}function c(_){for(const m in _)if(s(_,m))return!1;return!0}function f(_){return _.map(function(m){if(!m.url)throw new Error("URL missing");return m.url+(m.w?` ${m.w}w`:"")+(m.h?` ${m.h}h`:"")+(m.d?` ${m.d}x`:"")}).join(", ")}sanitizeHtml_1=y;const b=/^[^\0\t\n\f\r /<=>]+$/;function y(_,m,A){if(_==null)return"";typeof _=="number"&&(_=_.toString());let g="",p="";function v(T,L){const G=this;this.tag=T,this.attribs=L||{},this.tagPosition=g.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(U.length){const Q=U[U.length-1];Q.text+=G.text}},this.updateParentNodeMediaChildren=function(){U.length&&d.includes(this.tag)&&U[U.length-1].mediaChildren.push(this.tag)}}m=Object.assign({},y.defaults,m),m.parser=Object.assign({},w,m.parser);const C=function(T){return m.allowedTags===!1||(m.allowedTags||[]).indexOf(T)>-1};a.forEach(function(T){C(T)&&!m.allowVulnerableTags&&console.warn(`
72
+
73
+ ⚠️ Your \`allowedTags\` option includes, \`${T}\`, which is inherently
74
+ vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
75
+ Or, to disable this warning, add the \`allowVulnerableTags\` option
76
+ and ensure you are accounting for this risk.
77
+
78
+ `)});const P=m.nonTextTags||["script","style","textarea","option","xmp"];let E,R;m.allowedAttributes&&(E={},R={},r(m.allowedAttributes,function(T,L){E[L]=[];const G=[];T.forEach(function(Q){typeof Q=="string"&&Q.indexOf("*")>=0?G.push(e(Q).replace(/\\\*/g,".*")):E[L].push(Q)}),G.length&&(R[L]=new RegExp("^("+G.join("|")+")$"))}));const S={},I={},x={};r(m.allowedClasses,function(T,L){if(E&&(s(E,L)||(E[L]=[]),E[L].push("class")),S[L]=T,Array.isArray(T)){const G=[];S[L]=[],x[L]=[],T.forEach(function(Q){typeof Q=="string"&&Q.indexOf("*")>=0?G.push(e(Q).replace(/\\\*/g,".*")):Q instanceof RegExp?x[L].push(Q):S[L].push(Q)}),G.length&&(I[L]=new RegExp("^("+G.join("|")+")$"))}});const M={};let D;r(m.transformTags,function(T,L){let G;typeof T=="function"?G=T:typeof T=="string"&&(G=y.simpleTransform(T)),L==="*"?D=G:M[L]=G});let H,U,B,V,F,j,K=!1;q();const k=new t.Parser({onopentag:function(T,L){if(m.onOpenTag&&m.onOpenTag(T,L),m.enforceHtmlBoundary&&T==="html"&&q(),F){j++;return}const G=new v(T,L);U.push(G);let Q=!1;const X=!!G.text;let te;if(s(M,T)&&(te=M[T](T,L),G.attribs=L=te.attribs,te.text!==void 0&&(G.innerText=te.text),T!==te.tagName&&(G.name=T=te.tagName,V[H]=te.tagName)),D&&(te=D(T,L),G.attribs=L=te.attribs,T!==te.tagName&&(G.name=T=te.tagName,V[H]=te.tagName)),(!C(T)||m.disallowedTagsMode==="recursiveEscape"&&!c(B)||m.nestingLimit!=null&&H>=m.nestingLimit)&&(Q=!0,B[H]=!0,(m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard")&&P.indexOf(T)!==-1&&(F=!0,j=1)),H++,Q){if(m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard"){if(G.innerText&&!X){const Z=N(G.innerText);m.textFilter?g+=m.textFilter(Z,T):g+=Z,K=!0}return}p=g,g=""}g+="<"+T,T==="script"&&(m.allowedScriptHostnames||m.allowedScriptDomains)&&(G.innerText=""),Q&&(m.disallowedTagsMode==="escape"||m.disallowedTagsMode==="recursiveEscape")&&m.preserveEscapedAttributes?r(L,function(Z,Y){g+=" "+Y+'="'+N(Z||"",!0)+'"'}):(!E||s(E,T)||E["*"])&&r(L,function(Z,Y){if(!b.test(Y)){delete G.attribs[Y];return}if(Z===""&&!m.allowedEmptyAttributes.includes(Y)&&(m.nonBooleanAttributes.includes(Y)||m.nonBooleanAttributes.includes("*"))){delete G.attribs[Y];return}let oe=!1;if(!E||s(E,T)&&E[T].indexOf(Y)!==-1||E["*"]&&E["*"].indexOf(Y)!==-1||s(R,T)&&R[T].test(Y)||R["*"]&&R["*"].test(Y))oe=!0;else if(E&&E[T]){for(const se of E[T])if(o(se)&&se.name&&se.name===Y){oe=!0;let ie="";if(se.multiple===!0){const de=Z.split(" ");for(const ce of de)se.values.indexOf(ce)!==-1&&(ie===""?ie=ce:ie+=" "+ce)}else se.values.indexOf(Z)>=0&&(ie=Z);Z=ie}}if(oe){if(m.allowedSchemesAppliedToAttributes.indexOf(Y)!==-1&&W(T,Z)){delete G.attribs[Y];return}if(T==="script"&&Y==="src"){let se=!0;try{const ie=J(Z);if(m.allowedScriptHostnames||m.allowedScriptDomains){const de=(m.allowedScriptHostnames||[]).find(function(le){return le===ie.url.hostname}),ce=(m.allowedScriptDomains||[]).find(function(le){return ie.url.hostname===le||ie.url.hostname.endsWith(`.${le}`)});se=de||ce}}catch{se=!1}if(!se){delete G.attribs[Y];return}}if(T==="iframe"&&Y==="src"){let se=!0;try{const ie=J(Z);if(ie.isRelativeUrl)se=s(m,"allowIframeRelativeUrls")?m.allowIframeRelativeUrls:!m.allowedIframeHostnames&&!m.allowedIframeDomains;else if(m.allowedIframeHostnames||m.allowedIframeDomains){const de=(m.allowedIframeHostnames||[]).find(function(le){return le===ie.url.hostname}),ce=(m.allowedIframeDomains||[]).find(function(le){return ie.url.hostname===le||ie.url.hostname.endsWith(`.${le}`)});se=de||ce}}catch{se=!1}if(!se){delete G.attribs[Y];return}}if(Y==="srcset"||Y==="imagesrcset")try{let se=l(Z);if(se.forEach(function(ie){W(Y,ie.url)&&(ie.evil=!0)}),se=h(se,function(ie){return!ie.evil}),se.length)Z=f(h(se,function(ie){return!ie.evil})),G.attribs[Y]=Z;else{delete G.attribs[Y];return}}catch{delete G.attribs[Y];return}if(Y==="class"){const se=S[T],ie=S["*"],de=I[T],ce=x[T],le=x["*"],he=I["*"],fe=[de,he].concat(ce,le).filter(function(pe){return pe});if(se&&ie?Z=O(Z,i(se,ie),fe):Z=O(Z,se||ie,fe),!Z.length){delete G.attribs[Y];return}}if(Y==="style"){if(m.parseStyleAttributes)try{const se=n(T+" {"+Z+"}",{map:!1}),ie=z(se,m.allowedStyles);if(Z=ne(ie),Z.length===0){delete G.attribs[Y];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+T+" {"+Z+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete G.attribs[Y];return}else if(m.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}g+=" "+Y,Z&&Z.length?g+='="'+N(Z,!0)+'"':m.allowedEmptyAttributes.includes(Y)&&(g+='=""')}else delete G.attribs[Y]}),m.selfClosing.indexOf(T)!==-1?g+=" />":(g+=">",G.innerText&&!X&&!m.textFilter&&(g+=N(G.innerText),K=!0)),Q&&(g=p+N(g),p=""),G.openingTagLength=g.length-G.tagPosition},ontext:function(T){if(F)return;const L=U[U.length-1];let G;if(L&&(G=L.tag,T=L.innerText!==void 0?L.innerText:T),m.disallowedTagsMode==="completelyDiscard"&&!C(G))T="";else if(G&&C(G)&&(m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard")&&(G==="script"||G==="style"))g+=T;else if(G&&C(G)&&(m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard")&&(G==="textarea"||G==="xmp"))g+=T;else if(!K){const Q=N(T,!1);m.textFilter?g+=m.textFilter(Q,G):g+=Q}if(U.length){const Q=U[U.length-1];Q.text+=T}},onclosetag:function(T,L){if(m.onCloseTag&&m.onCloseTag(T,L),F)if(j--,!j)F=!1;else return;const G=U.pop();if(!G)return;if(G.tag!==T){U.push(G);return}F=m.enforceHtmlBoundary?T==="html":!1,H--;const Q=B[H];if(Q){if(delete B[H],m.disallowedTagsMode==="discard"||m.disallowedTagsMode==="completelyDiscard"){G.updateParentNodeText();return}p=g,g=""}if(V[H]&&(T=V[H],delete V[H]),m.exclusiveFilter){const X=m.exclusiveFilter(G);if(X==="excludeTag"){Q&&(g=p,p=""),g=g.substring(0,G.tagPosition)+g.substring(G.tagPosition+G.openingTagLength);return}else if(X){g=g.substring(0,G.tagPosition);return}}if(G.updateParentNodeMediaChildren(),G.updateParentNodeText(),m.selfClosing.indexOf(T)!==-1||L&&!C(T)&&["escape","recursiveEscape"].indexOf(m.disallowedTagsMode)>=0){Q&&(g=p,p="");return}g+="</"+T+">",Q&&(g=p+N(g),p=""),K=!1}},m.parser);if(k.write(_),k.end(),m.disallowedTagsMode==="escape"||m.disallowedTagsMode==="recursiveEscape"){const T=k.endIndex;if(T!=null&&T>=0&&T<_.length){const L=_.substring(T);g+=N(L)}else(T==null||T<0)&&_.length>0&&g===""&&(g=N(_))}return g;function q(){g="",H=0,U=[],B={},V={},F=!1,j=0}function N(T,L){return typeof T!="string"&&(T=T+""),m.parser.decodeEntities&&(T=T.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),L&&(T=T.replace(/"/g,"&quot;"))),T=T.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),L&&(T=T.replace(/"/g,"&quot;")),T}function W(T,L){const G=s(m.allowedSchemesByTag,T)?m.allowedSchemesByTag[T]:m.allowedSchemes||[];return u(L,{allowedSchemes:G,allowProtocolRelative:m.allowProtocolRelative})}function J(T){if(T=T.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),T.startsWith("relative:"))throw new Error("relative: exploit attempt");let L="relative://relative-site";for(let X=0;X<100;X++)L+=`/${X}`;const G=new URL(T,L);return{isRelativeUrl:G&&G.hostname==="relative-site"&&G.protocol==="relative:",url:G}}function z(T,L){if(!L)return T;const G=T.nodes[0];let Q;return L[G.selector]&&L["*"]?Q=i(L[G.selector],L["*"]):Q=L[G.selector]||L["*"],Q&&(T.nodes[0].nodes=G.nodes.reduce(ee(Q),[])),T}function ne(T){return T.nodes[0].nodes.reduce(function(L,G){return L.push(`${G.prop}:${G.value}${G.important?" !important":""}`),L},[]).join(";")}function ee(T){return function(L,G){return s(T,G.prop)&&T[G.prop].some(function(X){return X.test(G.value)})&&L.push(G),L}}function O(T,L,G){return L?(T=T.split(/\s+/),T.filter(function(Q){return L.indexOf(Q)!==-1||G.some(function(X){return X.test(Q)})}).join(" ")):T}}const w={decodeEntities:!0};return y.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite","action","formaction","data","xlink:href","poster","background","ping","longdesc","usemap","codebase","classid","archive","profile","manifest","itemid","dynsrc","lowsrc"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},y.simpleTransform=function(_,m,A){return A=A===void 0?!0:A,m=m||{},function(g,p){let v;if(A)for(v in m)p[v]=m[v];else p=m;return{tagName:_,attribs:p}}},sanitizeHtml_1}var sanitizeHtmlExports=requireSanitizeHtml();const sanitize=getDefaultExportFromCjs(sanitizeHtmlExports),PROTOCOL_MAJOR_VERSION=PROTOCOL_VERSION.split(".",1)[0],CONTROL_COMM_TARGET="jupyter.widget.control",CONTROL_COMM_PROTOCOL_VERSION="1.0.0",CONTROL_COMM_TIMEOUT=4e3;function default_inline_sanitize(t){return sanitize(t,{allowedTags:["a","abbr","b","code","em","i","img","li","ol","span","strong","ul"],allowedAttributes:{"*":["aria-*","class","style","title"],a:["href"],img:["src"],style:["media","type"]}})}class ManagerBase{constructor(){this.comm_target_name="jupyter.widget",this._models=Object.create(null)}setViewOptions(e={}){return e}create_view(e,o={}){const i=uuid(),l=e.state_change=e.state_change.then(async()=>{const n=e.get("_view_name"),u=e.get("_view_module");try{const d=await this.loadViewClass(n,u,e.get("_view_module_version")),a=new d({model:e,options:this.setViewOptions(o)});return a.listenTo(e,"destroy",a.remove),await a.render(),a.once("remove",()=>{e.views&&delete e.views[i]}),a}catch(d){console.error(`Could not create a view for model id ${e.model_id}`);const a=`Failed to create view for '${n}' from module '${u}' with model '${e.name}' from module '${e.module}'`,r=createErrorWidgetModel(d,a),s=new r,h=new ErrorWidgetView({model:s,options:this.setViewOptions(o)});return await h.render(),h}});return e.views&&(e.views[i]=l),l}callbacks(e){return{}}async get_model(e){const o=this._models[e];if(o===void 0)throw new Error("widget model not found");return o}has_model(e){return this._models[e]!==void 0}handle_comm_open(e,o){const i=(o.metadata||{}).version||"";if(i.split(".",1)[0]!==PROTOCOL_MAJOR_VERSION){const d=`Wrong widget protocol version: received protocol version '${i}', but was expecting major version '${PROTOCOL_MAJOR_VERSION}'`;return console.error(d),Promise.reject(d)}const l=o.content.data,n=l.buffer_paths||[],u=o.buffers||[];return put_buffers(l.state,n,u),this.new_model({model_name:l.state._model_name,model_module:l.state._model_module,model_module_version:l.state._model_module_version,comm:e},l.state).catch(reject("Could not create a model.",!0))}new_widget(e,o={}){let i;if(e.view_name===void 0||e.view_module===void 0||e.view_module_version===void 0)return Promise.reject("new_widget(...) must be given view information in the options.");e.comm?i=Promise.resolve(e.comm):i=this._create_comm(this.comm_target_name,e.model_id,{state:{_model_module:e.model_module,_model_module_version:e.model_module_version,_model_name:e.model_name,_view_module:e.view_module,_view_module_version:e.view_module_version,_view_name:e.view_name}},{version:PROTOCOL_VERSION});const l=Object.assign({},e);return i.then(n=>(l.comm=n,this.new_model(l,o).then(d=>(d.sync("create",d),d))),()=>(l.model_id||(l.model_id=uuid()),this.new_model(l,o)))}register_model(e,o){this._models[e]=o,o.then(i=>{i.once("comm:close",()=>{delete this._models[e]})})}async new_model(e,o={}){var i,l;const n=(i=e.model_id)!==null&&i!==void 0?i:(l=e.comm)===null||l===void 0?void 0:l.comm_id;if(!n)throw new Error("Neither comm nor model_id provided in options object. At least one must exist.");e.model_id=n;const u=this._make_model(e,o);return this.register_model(n,u),await u}async _loadFromKernel(){let e,o;try{const d=await this._create_comm(CONTROL_COMM_TARGET,uuid(),{},{version:CONTROL_COMM_PROTOCOL_VERSION});await new Promise((a,r)=>{d.on_msg(s=>{if(e=s.content.data,e.method!=="update_states"){console.warn(`
79
+ Unknown ${e.method} message on the Control channel
80
+ `);return}o=(s.buffers||[]).map(h=>h instanceof DataView?h:new DataView(h instanceof ArrayBuffer?h:h.buffer)),a(null)}),d.on_close(()=>r("Control comm was closed too early")),d.send({method:"request_states"},{}),setTimeout(()=>r("Control comm did not respond in time"),CONTROL_COMM_TIMEOUT)}),d.close()}catch{return this._loadFromKernelModels()}const i=e.states,l={},n={};for(let d=0;d<e.buffer_paths.length;d++){const[a,...r]=e.buffer_paths[d],s=o[d];l[a]||(l[a]=[],n[a]=[]),l[a].push(r),n[a].push(s)}const u=await Promise.all(Object.keys(i).map(async d=>{const a=this.has_model(d)?void 0:await this._create_comm("jupyter.widget",d);return{widget_id:d,comm:a}}));await Promise.all(u.map(async({widget_id:d,comm:a})=>{const r=i[d];d in l&&put_buffers(r,l[d],n[d]);try{if(a)await this.new_model({model_name:r.model_name,model_module:r.model_module,model_module_version:r.model_module_version,model_id:d,comm:a},r.state);else{const s=await this.get_model(d),h=await s.constructor._deserialize_state(r.state,this);s.set_state(h)}}catch(s){console.error(s)}}))}async _loadFromKernelModels(){const e=await this._get_comm_info(),o=await Promise.all(Object.keys(e).map(async i=>{if(this.has_model(i))return;const l=await this._create_comm(this.comm_target_name,i);let n="";const u=new PromiseDelegate;return l.on_msg(d=>{if(d.parent_header.msg_id===n&&d.header.msg_type==="comm_msg"&&d.content.data.method==="update"){const a=d.content.data,r=a.buffer_paths||[],s=d.buffers||[];put_buffers(a.state,r,s),u.resolve({comm:l,msg:d})}}),n=l.send({method:"request_state"},this.callbacks(void 0)),u.promise}));await Promise.all(o.map(async i=>{if(!i)return;const l=i.msg.content;await this.new_model({model_name:l.data.state._model_name,model_module:l.data.state._model_module,model_module_version:l.data.state._model_module_version,comm:i.comm},l.data.state)}))}async _make_model(e,o={}){const i=e.model_id,l=this.loadModelClass(e.model_name,e.model_module,e.model_module_version);let n;const u=(a,r)=>{const s=createErrorWidgetModel(a,r);return new s};try{n=await l}catch(a){const r="Could not instantiate widget";return console.error(r),u(a,r)}if(!n){const a="Could not instantiate widget";console.error(a);const r=new Error(`Cannot find model module ${e.model_module}@${e.model_module_version}, ${e.model_name}`);return u(r,a)}let d;try{const a=await n._deserialize_state(o,this),r={widget_manager:this,model_id:i,comm:e.comm};d=new n(a,r)}catch(a){console.error(a);const r=`Model class '${e.model_name}' from module '${e.model_module}' is loaded but can not be instantiated`;d=u(a,r)}return d.name=e.model_name,d.module=e.model_module,d}clear_state(){return resolvePromisesDict(this._models).then(e=>{Object.keys(e).forEach(o=>e[o].close()),this._models=Object.create(null)})}get_state(e={}){const o=Object.keys(this._models).map(i=>this._models[i]);return Promise.all(o).then(i=>serialize_state(i,e))}set_state(e){if(!(e.version_major&&e.version_major<=2))throw"Unsupported widget state format";const o=e.state;return this._get_comm_info().then(l=>Promise.all(Object.keys(o).map(n=>{const u={base64:base64ToBuffer,hex:hexToBuffer},d=o[n],a=d.state;if(d.buffers){const s=d.buffers.map(c=>c.path),h=d.buffers.map(c=>new DataView(u[c.encoding](c.data)));put_buffers(d.state,s,h)}if(this.has_model(n))return this.get_model(n).then(s=>s.constructor._deserialize_state(a||{},this).then(h=>(s.set_state(h),s)));const r={model_id:n,model_name:d.model_name,model_module:d.model_module,model_module_version:d.model_module_version};return Object.prototype.hasOwnProperty.call(l,"model_id")?this._create_comm(this.comm_target_name,n).then(s=>(r.comm=s,this.new_model(r))):this.new_model(r,a)})))}disconnect(){Object.keys(this._models).forEach(e=>{this._models[e].then(o=>{o.comm_live=!1})})}resolveUrl(e){return Promise.resolve(e)}inline_sanitize(e){const o=removeMath(e),i=default_inline_sanitize(o.text);return replaceMath(i,o.math)}async loadModelClass(e,o,i){try{const l=this.loadClass(e,o,i);return await l,l}catch(l){console.error(l);const n=`Failed to load model class '${e}' from module '${o}'`;return createErrorWidgetModel(l,n)}}async loadViewClass(e,o,i){try{const l=this.loadClass(e,o,i);return await l,l}catch(l){console.error(l);const n=`Failed to load view class '${e}' from module '${o}'`;return createErrorWidgetView(l,n)}}filterExistingModelState(e){let o=e.state;return o=Object.keys(o).filter(i=>!this.has_model(i)).reduce((i,l)=>(i[l]=o[l],i),{}),Object.assign(Object.assign({},e),{state:o})}}function serialize_state(t,e={}){const o={};return t.forEach(i=>{const l=i.model_id,n=remove_buffers(i.serialize(i.get_state(e.drop_defaults))),u=n.buffers.map((d,a)=>({data:bufferToBase64(d),path:n.buffer_paths[a],encoding:"base64"}));o[l]={model_name:i.name,model_module:i.module,model_module_version:i.get("_model_module_version"),state:n.state},u.length>0&&(o[l].buffers=u)}),{version_major:2,version_minor:0,state:o}}const WIDGET_MIMETYPE="application/vnd.jupyter.widget-view+json";class WidgetRenderer extends Widget{constructor(e,o){super(),this.mimeType=e.mimeType,this._manager=o}async renderModel(e){const o=e.data[this.mimeType];if(!this._manager.has_model(o.model_id)){this.node.textContent="Error creating widget: could not find model",this.addClass("jupyter-widgets");return}try{const i=await this._manager.get_model(o.model_id),l=await this._manager.create_view(i);Widget.attach(l.luminoWidget||l.pWidget,this.node)}catch(i){console.log("Error displaying widget"),console.log(i),this.node.textContent="Error displaying widget",this.addClass("jupyter-widgets")}}}class HTMLManager extends ManagerBase{constructor(e){super(),this.loader=e==null?void 0:e.loader,this.renderMime=new RenderMimeRegistry({initialFactories:standardRendererFactories}),this.renderMime.addFactory({safe:!1,mimeTypes:[WIDGET_MIMETYPE],createRenderer:o=>new WidgetRenderer(o,this)},0),this._viewList=new Set,window.addEventListener("resize",()=>{this._viewList.forEach(o=>{MessageLoop.postMessage(o.luminoWidget||o.pWidget,Widget.ResizeMessage.UnknownSize)})})}async display_view(e,o){let i;try{i=await e}catch(l){const n=`Could not create a view for ${e}`;console.error(n);const u=createErrorWidgetModel(l,n),d=new u;i=new ErrorWidgetView({model:d}),i.render()}Widget.attach(i.luminoWidget||i.pWidget,o),this._viewList.add(i),i.once("remove",()=>{this._viewList.delete(i)})}_get_comm_info(){return Promise.resolve({})}_create_comm(e,o,i,l,n){return Promise.resolve({on_close:()=>{},on_msg:()=>{},close:()=>{}})}loadClass(e,o,i){return new Promise((l,n)=>{if((o==="@jupyter-widgets/base"||o==="@jupyter-widgets/controls")&&(i=`^${i}`),o==="@jupyter-widgets/base"){const u=semverExports.maxSatisfying(["1.2.0","2.0.0"],i);l(u==="1.2.0"?require("@jupyter-widgets/base7"):require("@jupyter-widgets/base"))}else o==="@jupyter-widgets/controls"?semverExports.maxSatisfying(["1.5.0","2.0.0"],i)==="1.5.0"?(require("@jupyter-widgets/controls7/css/widgets-base.css"),getComputedStyle(document.documentElement).getPropertyValue("--jp-layout-color0")===""&&require("@jupyter-widgets/controls7/css/labvariables.css"),l(require("@jupyter-widgets/controls7"))):(require("@jupyter-widgets/controls/css/widgets-base.css"),getComputedStyle(document.documentElement).getPropertyValue("--jp-layout-color0")===""&&require("@jupyter-widgets/controls/css/labvariables.css"),l(require("@jupyter-widgets/controls"))):o==="@jupyter-widgets/output"?l(outputWidgets):this.loader!==void 0?l(this.loader(o,i)):n(`Could not load module ${o}@${i}`)}).then(l=>l[e]?l[e]:Promise.reject(`Class ${e} not found in module ${o}@${i}`))}}__webpack_public_path__=window.__jupyter_widgets_assets_path__||__webpack_public_path__;const widget_state_schema=require("@jupyter-widgets/schema").v2.state,widget_view_schema=require("@jupyter-widgets/schema").v2.view,ajv=new Ajv;ajv.compile(widget_state_schema);ajv.compile(widget_view_schema);const requirePromise=function(t){return new Promise((e,o)=>{const i=window.requirejs;i===void 0?o("Requirejs is needed, please ensure it is loaded on the page."):i(t,e,o)})};let cdn="https://cdn.jsdelivr.net/npm/",onlyCDN=!1;const scripts=document.getElementsByTagName("script");Array.prototype.forEach.call(scripts,t=>{cdn=t.getAttribute("data-jupyter-widgets-cdn")||cdn,onlyCDN=onlyCDN||t.hasAttribute("data-jupyter-widgets-cdn-only")});function moduleNameToCDNUrl(t,e){let o=t,i="index",l=t.indexOf("/");return l!=-1&&t[0]=="@"&&(l=t.indexOf("/",l+1)),l!=-1&&(i=t.substr(l+1),o=t.substr(0,l)),`${cdn}${o}@${e}/dist/${i}`}function requireLoader(t,e){const o=window.requirejs;if(o===void 0)throw new Error("Requirejs is needed, please ensure it is loaded on the page.");function i(){const l={paths:{}};return l.paths[t]=moduleNameToCDNUrl(t,e),o.config(l),requirePromise([`${t}`])}return onlyCDN?(console.log(`Loading from ${cdn} for ${t}@${e}`),i()):requirePromise([`${t}`]).catch(l=>{const n=l.requireModules&&l.requireModules[0];if(n)return o.undef(n),console.log(`Falling back to ${cdn} for ${t}@${e}`),i()})}const version=require("../package.json").version;function generateEmbedScript(t,e){return`<img src=${e} class="jupyter-widget">
81
+ <script type="application/vnd.jupyter.widgets-state+json">${JSON.stringify(t)}<\/script>`}export{HTMLManager,generateEmbedScript,requireLoader,version};