easy-email-pro-core 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs.js +67 -67
- package/lib/index.es.js +4627 -4485
- package/lib/typings/constants/editor.d.ts +1 -1
- package/lib/typings/constants/index.d.ts +0 -1
- package/lib/typings/index.d.ts +1 -1
- package/lib/typings/typings/element.d.ts +1 -1
- package/lib/typings/utils/{BeacasCore → EditorCore}/contexts/EmailRenderContext.d.ts +4 -1
- package/lib/typings/utils/EditorCore/index.d.ts +16 -0
- package/lib/typings/utils/EditorCore/universalElement.d.ts +11 -0
- package/lib/typings/utils/NodeUtils.d.ts +0 -1
- package/lib/typings/utils/index.d.ts +1 -1
- package/lib/typings/utils/plugins/PluginManager.d.ts +3 -0
- package/lib/typings/utils/plugins/TemplateEngine.d.ts +3 -0
- package/package.json +1 -1
- package/lib/typings/constants/regexp.d.ts +0 -2
- package/lib/typings/utils/BeacasCore/index.d.ts +0 -14
- package/lib/typings/utils/BeacasCore/universalElement.d.ts +0 -11
- /package/lib/typings/utils/{BeacasCore → EditorCore}/contexts/EmailGlobalContext.d.ts +0 -0
package/lib/index.cjs.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
"use strict";var wu=Object.defineProperty,Cu=Object.defineProperties;var Tu=Object.getOwnPropertyDescriptors;var st=Object.getOwnPropertySymbols;var
|
|
1
|
+
"use strict";var wu=Object.defineProperty,Cu=Object.defineProperties;var Tu=Object.getOwnPropertyDescriptors;var st=Object.getOwnPropertySymbols;var yr=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable;var Tt=(t,e,r)=>e in t?wu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,S=(t,e)=>{for(var r in e||(e={}))yr.call(e,r)&&Tt(t,r,e[r]);if(st)for(var r of st(e))Er.call(e,r)&&Tt(t,r,e[r]);return t},j=(t,e)=>Cu(t,Tu(e));var ie=(t,e)=>{var r={};for(var i in t)yr.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(t!=null&&st)for(var i of st(t))e.indexOf(i)<0&&Er.call(t,i)&&(r[i]=t[i]);return r};var Q=(t,e,r)=>(Tt(t,typeof e!="symbol"?e+"":e,r),r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("lodash"),A=require("react"),xr=require("react-dom/server");function gi(...t){return t.filter(e=>typeof e=="string").join(" ")}function Bu(t){return t}function ku(t){return t}function V(t,e){return L.mergeWith(L.cloneDeep(t),L.cloneDeep(e),(r,i)=>L.isArray(i)?i:void 0)}class dt{static setLocaleData(e){this.localeData=e}static translate(e,r){return this.translateDefault(e,r)}static translateDefault(e,r){return e}static translateWithParams(e,r){const i=L.get(this.localeData,e,e);if(!r)return i;const u=i.split("***");return u.splice(1,0,r),L.isString(r)?u.join(""):A.createElement(A.Fragment,null,u.map((n,a)=>A.createElement(A.Fragment,{key:a},n)))}}Q(dt,"localeData",{});const M=dt.translate.bind(dt),mi=`.overflow-hidden{overflow:hidden}[data-view=PC] .hide-desktop-block,[data-view=PC] .hide-desktop-inline-block,[data-view=PC] .mobile-responsive-preview{display:none!important}[data-view=MOBILE] .node-type-page{margin:auto}[data-view=MOBILE] .hide-mobile-block,[data-view=MOBILE] .hide-mobile-inline-block,[data-view=MOBILE] .desktop-responsive-preview{display:none!important}
|
|
2
2
|
`,Su=`a{color:inherit}.overflow-hidden{overflow:hidden}@media (max-width: 480px){.hide-mobile-block{max-height:0px;overflow:hidden;display:none!important}.hide-desktop-block{display:block!important}.hide-mobile-inline-block{max-height:0px;overflow:hidden;display:none!important}.hide-desktop-inline-block{display:inline-block!important}}
|
|
3
3
|
`,Ru=`.hide-desktop-block,.hide-desktop-inline-block,.hide-block{display:none!important;mso-hide:all!important}
|
|
4
|
-
`,Di=/{{([\s\S]+?)}}/,Fu=/{{([\s\S]+?)}}/g,F={PAGE:"page",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",IMAGE:"image",DIVIDER:"divider",SPACER:"spacer",BUTTON:"button",WRAPPER:"wrapper",RAW:"raw",HERO:"hero",CAROUSEL:"carousel",NAVBAR:"navbar",NAVBAR_LINK:"navbar-link",SOCIAL:"social",SOCIAL_ELEMENT:"social-element",MERGETAG:"mergetag",LINE_BREAK:"line-break",PLACEHOLDER:"placeholder",TABLE:"table",HTML_NODE:"html-node",WIDGET:"widget"},X={STANDARD_HERO:"standard-hero",STANDARD_WRAPPER:"standard-wrapper",STANDARD_SECTION:"standard-section",STANDARD_GROUP:"standard-group",STANDARD_COLUMN:"standard-column",STANDARD_IMAGE:"standard-image",STANDARD_DIVIDER:"standard-divider",STANDARD_SPACER:"standard-spacer",STANDARD_NAVBAR:"standard-navbar",STANDARD_NAVBAR_LINK:"standard-navbar-link",STANDARD_SOCIAL:"standard-social",STANDARD_SOCIAL_ELEMENT:"standard-social-element",STANDARD_BUTTON:"standard-button",STANDARD_TEXT:"standard-text",STANDARD_PARAGRAPH:"standard-paragraph",STANDARD_H1:"standard-h1",STANDARD_H2:"standard-h2",STANDARD_H3:"standard-h3",STANDARD_H4:"standard-h4",STANDARD_TEXT_LIST:"standard-text-list",STANDARD_TEXT_LIST_ITEM:"standard-text-list-item"},bi={FOR_EACH:"logic-for-each",SHOW:"logic-show"},K=S(S(S({},F),X),bi),k={PAGE:"page",RAW:"raw",HERO:"hero",WRAPPER:"wrapper",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",BUTTON:"button",IMAGE:"image",DIVIDER:"divider",NAVBAR:"navbar",SOCIAL:"social",SPACER:"spacer",TEXT_LIST:"text-list",TEXT_LIST_ITEM:"text-list-item",INLINE_TEXT:"inline-text",UNSET:"unset"},Qt="beacas_preview_content_editable",Ai=E.createContext({}),Ei=()=>E.useContext(Ai),Wt=t=>{const e=E.useMemo(()=>S({},t),[t]);return E.createElement(Ai.Provider,{value:e},t.children)};var yi=(t=>(t.RESPONSIVE="RESPONSIVE",t.TEMPLATE_ENGINE="TEMPLATE_ENGINE",t))(yi||{});class Jt{constructor(){Z(this,"enabledResponsive",!0)}}Z(Jt,"type","RESPONSIVE");class bt{}Z(bt,"type","TEMPLATE_ENGINE");class xi{}const Ne=class{static registerPlugin(e){const r=new e;r instanceof Jt?(Ne.enabledResponsive=r.enabledResponsive,Ne.generateResponsive=r.generateResponsive):r instanceof bt?(Ne.generateIterationTemplate=r.generateIterationTemplate,Ne.generateConditionTemplate=r.generateConditionTemplate,Ne.generateVariable=r.generateVariable,Ne.renderWithData=r.renderWithData):r instanceof xi&&r.generateElement()}};let de=Ne;Z(de,"enabledResponsive",!1),Z(de,"generateResponsive",e=>e.desktopContent),Z(de,"generateIterationTemplate",(e,r)=>r),Z(de,"generateConditionTemplate",(e,r)=>r),Z(de,"generateVariable",e=>e),Z(de,"renderWithData",(e,r)=>e);const ue=t=>{var _,P,T,H,g;const{children:e,node:r,idx:i}=t,{mode:u,context:n,displayMode:a,keepEmptyAttributes:o,mergetagsData:c}=Ei(),d=ee.getBlockByType(r.type);if(!d)throw new Error(M("*** block is not registered",r.type));const h=j(S({},r),{attributes:S({},r.attributes),mobileAttributes:S({},r.mobileAttributes)}),f=I.get(h,"attributes.css-class")||"";u==="production"&&I.set(h,"attributes.css-class",f.replace(Qt,""));const D=(_=h.attributes["mj-class"])==null?void 0:_.trim();if(D&&n.content.data.classAttributes){const b={},m=D.split(" ").map(w=>w.trim()).filter(Boolean);Object.values(m).forEach(w=>{I.get(n.content.data.classAttributes,w)&&Object.assign(b,I.get(n.content.data.classAttributes,w))}),h.attributes=V(b,h.attributes)}const L=(P=n.content.data.blockAttributes)==null?void 0:P[h.type];L&&(h.attributes=V(L,h.attributes));const N=(T=n.content.data.categoryAttributes)==null?void 0:T[d.category];if(n.content.data.globalAttributes&&(h.attributes=V(n.content.data.globalAttributes,h.attributes)),N&&(h.attributes=V(N,h.attributes)),Q.isSectionElement(r)||Q.isWrapperElement(r)){const b=n.content.attributes["content-background-color"];b&&(h.attributes=V({"background-color":b},h.attributes))}const p=d.render(j(S({},t),{mode:u,children:e,context:n,idx:i,node:S({},h),keepEmptyAttributes:o,mergetagsData:c}));let l=p;if(l=de.generateResponsive({mode:u,children:e,context:n,idx:i,node:h,keepEmptyAttributes:o,mergetagsData:c,desktopContent:p,displayMode:a}),u==="production"){const b=(H=r.logic)==null?void 0:H.condition,m=(g=r.logic)==null?void 0:g.iteration;m&&m.enabled&&(l=de.generateIterationTemplate(m,l)),b&&b.enabled&&(l=de.generateConditionTemplate(b,l))}return E.createElement(E.Fragment,null,l)},Ve=({node:t})=>{let e=t.text;const r={};return e?(t.bold&&(e=E.createElement("strong",null,e)),t.italic&&(e=E.createElement("em",null,e)),t.underline&&(e=E.createElement("u",null,e)),t.strikethrough&&(e=E.createElement("del",null,e)),t.link&&(e=E.createElement("a",{href:t.link.href,target:t.link.blank?"_blank":void 0},e)),t.color&&(r.color=t.color),t.bgColor&&(r.backgroundColor=t.bgColor),t.fontSize&&(r.fontSize=t.fontSize),t.fontFamily&&(r.fontFamily=t.fontFamily),I.isString(e)&&Object.keys(r).length===0?E.createElement(E.Fragment,null,e):E.createElement("span",{style:r},e)):null};function se(t){const{params:e,params:{node:r,idx:i,children:u,keepEmptyAttributes:n},tag:a,children:o}=t,c=o||u,d=vu(e,{keepEmptyAttributes:n,removeDefaultAttributes:e.mode==="production"}),h=E.createElement(E.Fragment,null,`<${a}${d?` ${d}`:""}>`,c||r.children.map((f,D)=>Q.isTextNode(f)?Q.isTextListElement(r)?E.createElement(E.Fragment,{key:D},"<li>",E.createElement(Ve,j(S({key:D},e),{node:f})),"</li>"):E.createElement(Ve,j(S({key:D},e),{node:f})):E.createElement(ue,j(S({key:D},e),{idx:i?Q.getChildIdx(i,D):null,node:f}))),`</${a}>`);return E.createElement(E.Fragment,null,h)}const vi=t=>{if(E.isValidElement(t)||I.isString(t)||I.isUndefined(t)||I.isNumber(t)||I.isBoolean(t)||t===null||Array.isArray(t)&&t.every(e=>vi(e)))return!0};function J(t){return!!vi(t)}function wi(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.WRAPPER,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function Ci(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.SECTION,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function Ti(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.GROUP,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function Bi(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.COLUMN,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function ki(t){const a=t,{data:e,children:r,idx:i}=a,u=ie(a,["data","children","idx"]),n={type:F.BUTTON,data:e||{},attributes:S({},u),children:J(r)?[]:r||[]};return E.createElement(ue,{idx:i,node:n,children:J(r)?r:null})}function Si(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.IMAGE,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function At(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.TEXT,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function Ri(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.SPACER,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function Oe(t){const a=t,{data:e,children:r,idx:i}=a,u=ie(a,["data","children","idx"]),n={type:F.RAW,data:e||{content:r||""},attributes:S({},u),children:J(r)?[]:r||[]};return E.createElement(ue,{idx:i,node:n,children:J(r)?r:null})}function Fi(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.DIVIDER,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function Oi(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.NAVBAR,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function Ni(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.NAVBAR_LINK,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function Li(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.SOCIAL,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function qi(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.SOCIAL_ELEMENT,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function Ii(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.HERO,data:e||{},attributes:S({},u),children:J(i)?[]:i||[]};return E.createElement(ue,{idx:r,node:n,children:J(i)?i:null})}function Ou(t){const a=t,{tagName:e,children:r,idx:i}=a,u=ie(a,["tagName","children","idx"]),n={type:F.HTML_NODE,data:{tagName:e},attributes:S({},u),children:J(r)?[]:r||[]};return E.createElement(ue,{idx:i,node:n,children:J(r)?r:null})}function Nu(t){const n=t,{idx:e,children:r}=n,i=ie(n,["idx","children"]),u={type:K.FOR_EACH,data:S({},i),attributes:{},children:J(r)?[]:r||[]};return E.createElement(ue,{idx:e,node:u,children:J(r)?r:null})}function Lu(t){const n=t,{idx:e,children:r}=n,i=ie(n,["idx","children"]),u={type:K.SHOW,data:j(S({},i),{component:r}),attributes:{},children:[]};return E.createElement(ue,{idx:e,node:u,children:r})}const qu=({node:t})=>E.createElement(ue,{node:j(S({},t),{attributes:j(S({},t.attributes),{"css-class":gi(t.attributes["css-class"],Qt)})})}),Iu=Object.freeze(Object.defineProperty({__proto__:null,BasicBlock:se,BlockRenderer:ue,Button:ki,Column:Bi,ContentEditableBlock:qu,ContentLeaf:Ve,Divider:Fi,ForEach:Nu,Group:Ti,Hero:Ii,HtmlNode:Ou,Image:Si,Navbar:Oi,NavbarLink:Ni,Raw:Oe,Section:Ci,Show:Lu,Social:Li,SocialElement:qi,Spacer:Ri,Text:At,Wrapper:wi},Symbol.toStringTag,{value:"Module"})),Pu={attributes:{width:"600px","margin-top":"30px","margin-bottom":"30px","link-text-decoration":"underline"},data:{breakpoint:"480px"}},Mu={get name(){return M("Page")},defaultData:Pu,type:F.PAGE,create:t=>{const e={type:F.PAGE,data:{breakpoint:"480px",globalAttributes:{"font-family":"Arial, sans-serif"}},attributes:{},children:[]};return V(e,t)},category:k.PAGE,render(t){var p,l,_,P,T,H;const{node:e,node:{data:r,attributes:i},mode:u}=t,n=r.breakpoint?`<mj-breakpoint width="${r.breakpoint}" />`:"",a=[...r.headStyles||[]];u==="testing"?a.unshift({content:mi}):(a.unshift({content:Su}),a.unshift({content:Ru,inline:"inline"}));const o=a.map(g=>`<mj-style ${g.inline?'inline="inline"':""}>${g.content}</mj-style>`).join(`
|
|
5
|
-
`)||"",c={color:((p=i["link-color"])==null?void 0:p.trim())||"inherit","font-weight":(l=i["link-font-weight"])==null?void 0:l.trim(),"text-decoration":(_=i["link-text-decoration"])==null?void 0:_.trim(),"font-style":(P=i["link-font-style"])==null?void 0:P.trim()},d=Object.keys(c).map(g=>{const b=c;return b[g]?`${g}: ${b[g]}`:""}).filter(Boolean).join(";"),h=`<mj-style>a {${d}} a:hover {${d}} a:active {${d}}</mj-style>`,f=i["background-color"]?`background-color="${i["background-color"]}"`:"",D=i["margin-top"]&&i["margin-top"]!=="0px"?`<mj-section padding="0px"><mj-column><mj-spacer height="${i["margin-top"]}"></mj-spacer></mj-column></mj-section>`:"",L=i["margin-bottom"]&&i["margin-bottom"]!=="0px"?`<mj-section padding="0px"><mj-column><mj-spacer height="${i["margin-top"]}"></mj-spacer></mj-column></mj-section>`:"",N=r.preheader?`<mj-preview>${r.preheader}</mj-preview>`:"",U=i.width||"600px";return E.createElement(E.Fragment,null,`
|
|
6
|
-
<mjml>
|
|
7
|
-
<mj-head>
|
|
8
|
-
<mj-style inline="inline">.mjml-body { width: ${U}; margin: 0px auto; }</mj-style>
|
|
9
|
-
${o}
|
|
10
|
-
${h}
|
|
11
|
-
<!-- GLOBAL_EXTRACT_HEADER -->
|
|
12
|
-
${n}
|
|
13
|
-
${N}
|
|
14
|
-
${(T=r.fonts)!=null&&T.length?(H=r.fonts)==null?void 0:H.filter(Boolean).map(g=>`<mj-font name="${g.name}" href="${g.href}" />`):""}
|
|
15
|
-
|
|
16
|
-
</mj-head>
|
|
17
|
-
<mj-body width="${U}" ${f} css-class="mjbody">
|
|
18
|
-
${D}
|
|
19
|
-
`,e.children.map((g,b)=>E.createElement(ue,j(S({},t),{idx:Q.getChildIdx(Q.getPageIdx(),b),key:b,node:g}))),`
|
|
20
|
-
${L}
|
|
21
|
-
|
|
22
|
-
</mj-body></mjml>`)}},Uu=mi,$u={attributes:{"background-repeat":"no-repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0px","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},Pi={get name(){return M("Wrapper")},defaultData:$u,type:F.WRAPPER,create:t=>{const e={type:F.WRAPPER,data:{},attributes:{},children:[]};return V(e,t)},category:k.WRAPPER,render(t){return E.createElement(se,{params:t,tag:"mj-wrapper"})}},Vu={attributes:{"background-repeat":"repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},Mi={get name(){return M("Row")},defaultData:Vu,type:F.SECTION,create:t=>{const e={type:F.SECTION,data:{},attributes:{},children:[]};return V(e,t)},category:k.SECTION,render(t){return E.createElement(se,{params:t,tag:"mj-section"})}},ju={attributes:{direction:"ltr","vertical-align":"top",width:"100%"},data:{}},Ui={get name(){return M("Group")},defaultData:ju,type:F.GROUP,create:t=>{const e={type:F.GROUP,data:{},attributes:{},children:[]};return V(e,t)},category:k.GROUP,render(t){return E.createElement(se,{params:t,tag:"mj-group"})}},zu={attributes:{direction:"ltr","vertical-align":"top"},data:{}},$i={get name(){return M("Column")},defaultData:zu,type:F.COLUMN,create:t=>{const e={type:F.COLUMN,data:{},attributes:{},children:[]};return V(e,t)},category:k.COLUMN,render(t){return E.createElement(se,{params:t,tag:"mj-column"})}},Hu={attributes:{align:"left",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","letter-spacing":"0px"},data:{}},Vi={get name(){return M("Text")},defaultData:Hu,type:F.TEXT,create:t=>{const e={type:F.TEXT,data:{},attributes:{},children:[]};return V(e,t)},category:k.TEXT,render(t){return E.createElement(se,{params:t,tag:"mj-text"})}},Gu={attributes:{align:"center","background-color":"#414141",border:"none","border-radius":"3px",color:"#ffffff","font-family":"Arial","font-size":"13px","font-weight":"normal","inner-padding":"10px 25px","letter-spacing":"0px","line-height":"16px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}},ji={get name(){return M("Button")},defaultData:Gu,type:F.BUTTON,create:t=>{const e={type:F.BUTTON,data:{},attributes:{},children:[]};return V(e,t)},category:k.BUTTON,render(t){return E.createElement(se,{params:t,tag:"mj-button"})}},Wu={attributes:{align:"center",border:"0",height:"auto",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank"},data:{}},zi={get name(){return M("Image")},void:!0,defaultData:Wu,type:F.IMAGE,create:t=>{const e={type:F.IMAGE,data:{},attributes:{},children:[]};return V(e,t)},category:k.IMAGE,render(t){return E.createElement(se,{params:t,tag:"mj-image"})}},Ku={attributes:{height:"20px"},data:{}},Hi={get name(){return M("Spacer")},defaultData:Ku,type:F.SPACER,create:t=>{const e={type:F.SPACER,data:{},attributes:{},children:[]};return V(e,t)},category:k.SPACER,render(t){return E.createElement(se,{params:t,tag:"mj-spacer"})}},Xu={attributes:{},data:{content:""}},Yu={get name(){return M("Raw")},defaultData:Xu,type:F.RAW,create:t=>{const e={type:F.RAW,data:{content:""},attributes:{},children:[]};return V(e,t)},category:k.RAW,render(t){return t.mode==="testing"?E.createElement(se,{tag:"span",params:j(S({},t),{node:j(S({},t.node),{attributes:{"element-type":F.RAW,"element-category":k.RAW,"element-data":encodeURIComponent(JSON.stringify(t.node.data))}})})}):E.createElement(se,{params:t,tag:"mj-raw"},t.node.data.content)}},Qu={attributes:{},data:{}},Ju={get name(){return M("Mergetag")},defaultData:Qu,type:F.MERGETAG,create:t=>{const e={type:F.MERGETAG,data:{},attributes:{},children:[]};return V(e,t)},inlineElement:!0,category:k.INLINE_TEXT,render(t){if(t.mode==="production"){const e=t.node.children[0];return E.createElement(Ve,{node:j(S({},e),{text:de.generateVariable(e.text,t.node.data.default)})})}return E.createElement(se,{tag:"span",params:j(S({},t),{node:j(S({},t.node),{attributes:{"element-type":F.MERGETAG,"element-category":k.INLINE_TEXT}})})})}},Zu={attributes:{},data:{}},en={get name(){return M("Line brack")},defaultData:Zu,type:F.LINE_BREAK,create:t=>{const e={type:F.LINE_BREAK,data:{},attributes:{},children:[]};return V(e,t)},inlineElement:!0,category:k.INLINE_TEXT,render(t){if(t.mode==="production"){const e=t.node.children[0];return E.createElement(Ve,{node:j(S({},e),{text:"<br />"})})}return E.createElement(se,{tag:"span",params:j(S({},t),{node:j(S({},t.node),{attributes:{"element-type":F.LINE_BREAK,"element-category":k.INLINE_TEXT}})})})}},tn={attributes:{align:"center","border-radius":"3px",color:"#333333","font-family":"Arial","font-size":"13px","icon-size":"20px","line-height":"22px",mode:"horizontal",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","text-decoration":"none"},data:{}},Gi={get name(){return M("Social")},defaultData:tn,type:F.SOCIAL,create:t=>{const e={type:F.SOCIAL,data:{},attributes:{},children:[]};return V(e,t)},category:k.SOCIAL,render(t){return E.createElement(se,{params:t,tag:"mj-social"})}},rn={attributes:{align:"center","base-url":null,hamburger:null,"ico-align":"center","ico-open":"☰","ico-close":"⊗","ico-color":"#000000","ico-font-size":"30px","ico-font-family":"Arial","ico-text-transform":"uppercase","ico-padding":"10px","ico-text-decoration":"none","ico-line-height":"30px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px"},data:{}},Wi={get name(){return M("Navbar")},defaultData:rn,type:F.NAVBAR,create:t=>{const e={type:F.NAVBAR,data:{},attributes:{},children:[]};return V(e,t)},category:k.NAVBAR,render(t){return E.createElement(se,{params:t,tag:"mj-navbar"})}},un={attributes:{align:"center","border-width":"4px","border-style":"solid","border-color":"#000000",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",width:"100%"},data:{}},Ki={get name(){return M("Divider")},defaultData:un,type:K.DIVIDER,create:t=>{const e={type:K.DIVIDER,data:{},attributes:{},children:[]};return V(e,t)},category:k.DIVIDER,render(t){return E.createElement(se,{params:t,tag:"mj-divider"})}},nn={attributes:{color:"#000000","font-family":"Arial","font-size":"13px","font-weight":"normal","line-height":"22px",padding:"15px 10px","padding-top":"15px","padding-right":"10px","padding-bottom":"15px","padding-left":"10px",target:"_blank","text-decoration":"none","text-transform":"uppercase"},data:{}},Xi={get name(){return M("Navbar Link")},defaultData:nn,type:F.NAVBAR_LINK,create:t=>{const e={type:F.NAVBAR_LINK,data:{},attributes:{},children:[]};return V(e,t)},category:k.UNSET,render(t){return E.createElement(se,{params:t,tag:"mj-navbar-link"})}},sn={attributes:{align:"left",color:"#000","border-radius":"3px","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"4px","padding-top":"4px","padding-right":"4px","padding-bottom":"4px","padding-left":"4px","text-padding":"4px 4px 4px 0",target:"_blank","text-decoration":"none","vertical-align":"middle"},data:{}},Yi={get name(){return M("Social")},defaultData:sn,type:F.SOCIAL_ELEMENT,create:t=>{const e={type:F.SOCIAL_ELEMENT,data:{},attributes:{},children:[]};return V(e,t)},category:k.UNSET,render(t){return E.createElement(se,{params:t,tag:"mj-social-element"})}},an={attributes:{"background-color":"#ffffff","background-position":"center center",mode:"fluid-height","vertical-align":"top"},data:{}},Qi={get name(){return M("Hero")},defaultData:an,type:F.HERO,create:t=>{const e={type:F.HERO,data:{},attributes:{},children:[]};return V(e,t)},category:k.HERO,render(t){return E.createElement(se,{params:t,tag:"mj-hero"})}},on={attributes:{},data:{}},ln={get name(){return M("Placeholder")},defaultData:on,type:F.PLACEHOLDER,create:t=>{const e={type:F.PLACEHOLDER,data:{},attributes:{},children:[{text:""}]};return V(e,t)},category:k.UNSET,render(t){return t.mode==="production"?null:E.createElement(se,{tag:"span",params:j(S({},t),{node:j(S({},t.node),{attributes:{"element-type":F.PLACEHOLDER,"element-category":k.UNSET}})})})}},cn={attributes:{},data:{tagName:"span"}},pn={get name(){return M("HtmlNode")},inlineElement:!0,defaultData:cn,type:K.HTML_NODE,create:t=>{const e={type:K.HTML_NODE,data:{tagName:"span"},attributes:{},children:[{text:""}]};return V(e,t)},category:k.INLINE_TEXT,render(t){return t.mode==="production"?E.createElement(se,{tag:t.node.data.tagName,params:t}):E.createElement(se,{tag:t.node.data.tagName||"span",params:j(S({},t),{node:j(S({},t.node),{attributes:{"element-type":K.HTML_NODE,"element-category":k.INLINE_TEXT,"element-data":encodeURIComponent(JSON.stringify(t.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(t.node.attributes))}})})})}},hn={[F.PAGE]:Mu,[F.HERO]:Qi,[F.WRAPPER]:Pi,[F.SECTION]:Mi,[F.GROUP]:Ui,[F.COLUMN]:$i,[F.TEXT]:Vi,[F.IMAGE]:zi,[F.BUTTON]:ji,[F.SPACER]:Hi,[F.DIVIDER]:Ki,[F.SOCIAL]:Gi,[F.SOCIAL_ELEMENT]:Yi,[F.NAVBAR]:Wi,[F.NAVBAR_LINK]:Xi,[F.RAW]:Yu,[F.MERGETAG]:Ju,[F.LINE_BREAK]:en,[F.PLACEHOLDER]:ln,[F.HTML_NODE]:pn},dn=I.merge(Ui.defaultData,{attributes:{},data:{}}),fn={get name(){return M("Column")},defaultData:dn,type:X.STANDARD_GROUP,create:t=>{const e={type:X.STANDARD_GROUP,data:{},attributes:{},children:[]};return V(e,t)},category:k.GROUP,render(t){const{node:e}=t;return E.createElement(Ti,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},_n=I.merge(Mi.defaultData,{attributes:{"vertical-align":"top"},data:{}}),gn={get name(){return M("Section")},defaultData:_n,type:X.STANDARD_SECTION,create:t=>{const e={type:X.STANDARD_SECTION,data:{},attributes:{},children:[]};return V(e,t)},category:k.SECTION,render(t){const{node:e}=t,h=I.cloneDeep(e.attributes),{"border-enabled":i,"border-width":u,"border-style":n,"border-color":a,"vertical-align":o="top"}=h,c=ie(h,["border-enabled","border-width","border-style","border-color","vertical-align"]);c["background-image-enabled"]||(delete c["background-image-enabled"],c["background-url"]="");const d=i?`${u||"1px"} ${n||"solid"} ${a||"#AAAAAA"}`:"";return E.createElement(Ci,j(S({padding:"",idx:t.idx},c),{border:d,data:e.data,children:e.children}))}},mn=I.merge($i.defaultData,{attributes:{},data:{}}),Dn={get name(){return M("Column")},defaultData:mn,type:X.STANDARD_COLUMN,create:t=>{const e={type:X.STANDARD_COLUMN,data:{},attributes:{},children:[]};return V(e,t)},category:k.COLUMN,render(t){const{node:e}=t;return E.createElement(Bi,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},Je=I.merge(ji.defaultData,{attributes:{"inner-padding-top":"10px","inner-padding-bottom":"10px","inner-padding-left":"25px","inner-padding-right":"25px","border-width":"1px","border-style":"solid","border-color":"#AAAAAA","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}}),bn={get name(){return M("Button")},defaultData:Je,type:X.STANDARD_BUTTON,create:t=>{const e={type:X.STANDARD_BUTTON,data:{content:"Button"},attributes:{},children:[{text:M("Click")}]};return V(e,t)},category:k.BUTTON,render(t){const{node:e}=t,l=e.attributes,{"inner-padding-top":r,"inner-padding-bottom":i,"inner-padding-left":u,"inner-padding-right":n,"border-enabled":a,"border-width":o,"border-style":c,"border-color":d}=l,h=ie(l,["inner-padding-top","inner-padding-bottom","inner-padding-left","inner-padding-right","border-enabled","border-width","border-style","border-color"]),f=r||Je.attributes["inner-padding-top"],D=n||Je.attributes["inner-padding-right"],L=i||Je.attributes["inner-padding-bottom"],N=u||Je.attributes["inner-padding-left"],U=`${f} ${D} ${L} ${N}`,p=a?`${o||"1px"} ${c||"solid"} ${d||"#AAAAAA"}`:"";return E.createElement(ki,j(S({idx:t.idx},h),{border:p,"inner-padding":U,data:e.data,children:e.children}))}},An=I.merge(zi.defaultData,{attributes:{},data:{}}),En={get name(){return M("Image")},void:!0,defaultData:An,type:X.STANDARD_IMAGE,create:t=>{const e={type:X.STANDARD_IMAGE,data:{},attributes:{},children:[]};return V(e,t)},category:k.IMAGE,render(t){const{node:e}=t,c=e.attributes,{"border-enabled":r,"border-width":i,"border-style":u,"border-color":n}=c,a=ie(c,["border-enabled","border-width","border-style","border-color"]),o=r?`${i} ${u} ${n}`:"";return E.createElement(Si,j(S({idx:t.idx},a),{data:e.data,border:o,children:e.children}))}},yn=I.merge(Hi.defaultData,{attributes:{},data:{}}),xn={get name(){return M("Spacer")},void:!0,defaultData:yn,type:X.STANDARD_SPACER,create:t=>{const e={type:X.STANDARD_SPACER,data:{},attributes:{},children:[]};return V(e,t)},category:k.SPACER,render(t){const{node:e}=t;return E.createElement(Ri,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},vn=I.merge(Wi.defaultData,{attributes:{"item-padding-top":"15px","item-padding-bottom":"15px","item-padding-left":"10px","item-padding-right":"10px"},data:{}}),wn={void:!0,get name(){return M("Navbar")},defaultData:vn,type:X.STANDARD_NAVBAR,create:t=>{const e={type:X.STANDARD_NAVBAR,data:{},attributes:{},children:[]};return V(e,t)},category:k.NAVBAR,render(t){const{node:e,idx:r}=t,i=ie(e.attributes,[]);return E.createElement(Oi,j(S({idx:t.idx},I.omit(i,["color","font-family","font-size","font-style","font-weight","line-height","letter-spacing","text-decoration","text-transform","spacing","item-padding-top","item-padding-bottom","item-padding-left","item-padding-right"])),{data:e.data}),e.children)}},Xe=(t,e)=>({get name(){return t.name},defaultData:e,type:t.type,create:r=>V(t,r),category:k.TEXT,render(r){const{node:i}=r,u=V(i.attributes,t.attributes);return E.createElement(At,j(S({},u),{idx:r.idx}),i.children)}}),Ye=I.cloneDeep(Vi.defaultData),Cn=Xe({get name(){return M("Text")},type:X.STANDARD_TEXT,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{},data:{}})),Tn=Xe({get name(){return M("Text")},type:X.STANDARD_PARAGRAPH,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"16px","line-height":"130%","font-weight":"normal",align:"center"},data:{}})),Bn=Xe({get name(){return M("Heading 1")},type:X.STANDARD_H1,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"40px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),kn=Xe({get name(){return M("Heading 2")},type:X.STANDARD_H2,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"32px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),Sn=Xe({get name(){return M("Heading 3")},type:X.STANDARD_H3,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"24px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),Rn=Xe({get name(){return M("Heading 4")},type:X.STANDARD_H4,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"18px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),vr={type:X.STANDARD_TEXT_LIST_ITEM,data:{},attributes:{},children:[]},Fn={get name(){return M("Text list")},defaultData:vr,type:X.STANDARD_TEXT_LIST_ITEM,create:t=>V(vr,t),category:k.TEXT_LIST_ITEM,render(t){const{node:e}=t;return E.createElement(At,{idx:t.idx,data:e.data},E.createElement(se,{tag:"li",params:j(S({},t),{node:j(S({},t.node),{attributes:{}})})}))}},On={type:X.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number","padding-top":"3px","padding-bottom":"3px","padding-left":"2px","padding-right":"2px","font-size":"16px","line-height":"120%","font-weight":"normal"},children:[]},Nn={get name(){return M("Text list")},defaultData:On,type:X.STANDARD_TEXT_LIST,create:t=>V({type:X.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number"},children:[]},t),category:k.TEXT_LIST,render(t){const{node:e}=t,r=e.attributes;return E.createElement(At,S({idx:t.idx,data:e.data},r),E.createElement(se,{tag:e.attributes["list-style"]==="number"?"ol":"ul",params:j(S({},t),{node:j(S({},t.node),{attributes:{}})})}))}},Ln=I.merge(Pi.defaultData,{attributes:{},data:{}}),qn={get name(){return M("Container")},defaultData:Ln,type:X.STANDARD_WRAPPER,create:t=>{const e={type:X.STANDARD_WRAPPER,data:{},attributes:{},children:[]};return V(e,t)},category:k.WRAPPER,render(t){const{node:e}=t;return E.createElement(wi,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},In=I.merge(Ki.defaultData,{attributes:{},data:{}}),Pn={get name(){return M("Divider")},defaultData:In,void:!0,type:X.STANDARD_DIVIDER,create:t=>{const e={type:X.STANDARD_DIVIDER,data:{},attributes:{},children:[]};return V(e,t)},category:k.DIVIDER,render(t){const{node:e}=t;return E.createElement(Fi,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},Mn=I.merge(Gi.defaultData,{attributes:{},data:{}}),Un={get name(){return M("Social")},defaultData:Mn,type:X.STANDARD_SOCIAL,create:t=>{const e={type:X.STANDARD_SOCIAL,data:{},attributes:{},children:[]};return V(e,t)},category:k.SOCIAL,render(t){const{node:e,idx:r}=t,i=ie(e.attributes,[]);return E.createElement(Li,j(S({idx:t.idx},I.omit(i,["spacing"])),{data:e.data,children:e.children}))}},$n=I.merge(Qi.defaultData,{attributes:{"background-image-enabled":!0},data:{}}),Vn={get name(){return M("Hero")},defaultData:$n,type:X.STANDARD_HERO,create:t=>{const e={type:X.STANDARD_HERO,data:{},attributes:{},children:[{type:X.STANDARD_PARAGRAPH,data:{},attributes:{},children:[{text:""}]}]};return V(e,t)},category:k.HERO,render(t){const{node:e}=t,r=I.cloneDeep(e.attributes),i=ie(r,[]);return i["background-image-enabled"]||(delete i["background-image-enabled"],i["background-url"]=""),E.createElement(Ii,j(S({idx:t.idx},i),{data:e.data,children:e.children}))}},jn=I.merge(Yi.defaultData,{attributes:{},data:{}}),zn={get name(){return M("Social")},defaultData:jn,type:K.STANDARD_SOCIAL_ELEMENT,create:t=>{const e={type:K.STANDARD_SOCIAL_ELEMENT,data:{content:""},attributes:{},children:[]};return V(e,t)},category:k.UNSET,render(t){const{node:e}=t;return E.createElement(qi,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},Hn=I.merge(Xi.defaultData,{attributes:{},data:{}}),Gn={get name(){return M("Navbar Link")},defaultData:Hn,type:K.STANDARD_NAVBAR_LINK,create:t=>{const e={type:K.STANDARD_NAVBAR_LINK,data:{content:""},attributes:{},children:[]};return V(e,t)},category:k.UNSET,render(t){const{node:e}=t;return E.createElement(Ni,j(S({idx:t.idx},e.attributes),{data:e.data}),e.children)}},Wn={[K.STANDARD_HERO]:Vn,[K.STANDARD_DIVIDER]:Pn,[K.STANDARD_WRAPPER]:qn,[K.STANDARD_SECTION]:gn,[K.STANDARD_GROUP]:fn,[K.STANDARD_SOCIAL]:Un,[K.STANDARD_SOCIAL_ELEMENT]:zn,[K.STANDARD_COLUMN]:Dn,[K.STANDARD_BUTTON]:bn,[K.STANDARD_SPACER]:xn,[K.STANDARD_IMAGE]:En,[K.STANDARD_TEXT]:Cn,[K.STANDARD_NAVBAR]:wn,[K.STANDARD_NAVBAR_LINK]:Gn,[K.STANDARD_PARAGRAPH]:Tn,[K.STANDARD_H1]:Bn,[K.STANDARD_H2]:kn,[K.STANDARD_H3]:Sn,[K.STANDARD_H4]:Rn,[K.STANDARD_TEXT_LIST]:Nn,[K.STANDARD_TEXT_LIST_ITEM]:Fn},Bt={attributes:{},data:{showTruthyInTesting:!0,expression:"",component:E.createElement(E.Fragment,null)}},Kn={get name(){return M("Show")},type:K.FOR_EACH,category:k.UNSET,defaultData:Bt,create(t){const e={type:K.SHOW,data:S({},Bt.data),attributes:S({},Bt.attributes),children:[]};return I.merge(e,t)},render(t){const{node:e,mode:r}=t,i=e.data;return r==="testing"?i.showTruthyInTesting?E.createElement(E.Fragment,null,i.component):E.createElement(E.Fragment,null,i.fallback):de.generateConditionTemplate(i.expression,i.component,i.fallback)}},kt={attributes:{},data:{dataSource:"",itemName:"item",limit:999}},Xn={get name(){return M("ForEach")},type:K.FOR_EACH,category:k.UNSET,defaultData:kt,create(t){const e={type:K.FOR_EACH,data:S({},kt.data),attributes:S({},kt.attributes),children:[]};return I.merge(e,t)},render(t){const{node:e,children:r,idx:i}=t;return de.generateIterationTemplate(j(S({mockQuantity:1,limit:999},e.data),{enabled:!0}),r||e.children.map((n,a)=>Q.isTextNode(n)?Q.isTextListElement(e)?E.createElement(E.Fragment,{key:a},"<li>",E.createElement(Ve,j(S({key:a},t),{node:n})),"</li>"):E.createElement(Ve,j(S({key:a},t),{node:n})):E.createElement(ue,j(S({key:a},t),{idx:i?Q.getChildIdx(i,a):null,node:n}))))}},Yn={[K.FOR_EACH]:Xn,[K.SHOW]:Kn},Ji=S(S(S({},hn),Wn),Yn),St=S({},Ji);class ee{static registerBlocks(e){e.forEach(r=>{St[r.type]=r})}static getBlockByType(e){return St[e]}static getBlocks(){return Object.values(St)}static getBlockTitle(e){var i;return e.title?e.title:((i=this.getBlockByType(e.type))==null?void 0:i.name)||""}}const wr=[k.TEXT,k.BUTTON,k.DIVIDER,k.IMAGE,k.NAVBAR,k.SOCIAL,k.SPACER,k.TEXT_LIST],ae=class{static getPageIdx(){return"content"}static getUniversalElementsIdx(e){return`blocks.${e}`}static getChildIdx(e,r){return`${e}.children.${r}`}static getNodeIdxClassName(e){return`node-idx-${e}`}static getParentIdx(e){var r;return e===ae.getPageIdx()?"":((r=/(.*)\.children\.\d+$/.exec(e))==null?void 0:r[1])||""}static isVoidBlockElement(e){return ae.isElement(e)?!!ee.getBlockByType(e.type).void:!1}static isUnsetElement(e){return ae.isElement(e)?ee.getBlockByType(e.type).category===k.UNSET:!1}static isTextNode(e){return I.get(e,"text")!==void 0}static isElement(e){return!!(I.get(e,"type")&&I.get(e,"children")&&I.get(e,"attributes"))}static isBlockElement(e){const r=I.get(e,"type"),i=ee.getBlockByType(r);return i?!i.inlineElement:!1}static isUniversalElement(e){return ae.isElement(e)?!!e.uid:!1}static isInlineElement(e){if(!ae.isElement(e))return!1;const r=I.get(e,"type"),i=ee.getBlockByType(r);return i?!!i.inlineElement:!1}static isMergetagElement(e){if(!ae.isElement(e))return!1;const r=I.get(e,"type"),i=ee.getBlockByType(r);return i?!!i.inlineElement&&i.type===F.MERGETAG:!1}static isMergeTag(e){return Di.test(e)}static isParentCategory(e,r){if(ae.isContentElementCategory(e))return r===k.COLUMN||r===k.HERO;switch(e){case k.COLUMN:return r===k.GROUP||r===k.SECTION;case k.GROUP:return r===k.SECTION;case k.SECTION:return r===k.WRAPPER||r===k.PAGE;case k.HERO:return r===k.WRAPPER||r===k.PAGE;case k.WRAPPER:return r===k.PAGE}return!1}static isParentCategoryType(e,r){const i=ee.getBlockByType(e),u=ee.getBlockByType(r);return this.isParentCategory(i.category,u.category)}};let Q=ae;Z(Q,"isContentElementCategory",e=>wr.includes(e)),Z(Q,"isPageElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.PAGE):!1),Z(Q,"isSectionElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.SECTION):!1),Z(Q,"isHeroElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.HERO):!1),Z(Q,"isButtonElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.BUTTON):!1),Z(Q,"isImageElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.IMAGE):!1),Z(Q,"isSocialElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.SOCIAL):!1),Z(Q,"isWrapperElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.WRAPPER):!1),Z(Q,"isGroupElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.GROUP):!1),Z(Q,"isColumnElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.COLUMN):!1),Z(Q,"isContentElement",e=>{if(!ae.isElement(e))return!1;if(e.type===F.PLACEHOLDER)return!0;const r=ee.getBlockByType(e.type);return wr.includes(r.category)}),Z(Q,"isTextElement",e=>{if(!ae.isElement(e))return!1;const r=ee.getBlockByType(e.type);return r.category.includes(k.TEXT)||r.category.includes(k.TEXT_LIST)||r.category.includes(k.INLINE_TEXT)}),Z(Q,"isPlaceholderElement",e=>ae.isElement(e)?e.type===F.PLACEHOLDER:!1),Z(Q,"isTextListElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.TEXT_LIST):!1),Z(Q,"isTextListItemElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.TEXT_LIST_ITEM):!1);var ct=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},je={},Qn={get exports(){return je},set exports(t){je=t}};/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(t,e){(function(r){var i=e,u=t&&t.exports==i&&t,n=typeof ct=="object"&&ct;(n.global===n||n.window===n)&&(r=n);var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,d=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,h={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf",ℬ:"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf",ℭ:"Cfr","𝒞":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH","ⅇ":"ee",ℯ:"escr","𝔢":"efr","𝕖":"eopf",ℰ:"Escr","𝔈":"Efr","𝔼":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","𝔥":"hfr",ℎ:"planckh","𝒽":"hscr","𝕙":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr",ķ:"kcedil",Ķ:"Kcedil","𝔩":"lfr","𝓁":"lscr",ℓ:"ell","𝕝":"lopf",ℒ:"Lscr","𝔏":"Lfr","𝕃":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf",ℳ:"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr",ℕ:"Nopf","𝒩":"Nscr","𝔑":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","𝕠":"oopf","𝔬":"ofr",ℴ:"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf",ℙ:"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr",ℚ:"Qopf",ĸ:"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf",ℨ:"Zfr",ℤ:"Zopf","𝒵":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi","ϵ":"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},f=/["&'<>`]/g,D={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},L=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,N=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,U=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,p={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
23
|
-
`,nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},l={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},_={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},P=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],T=String.fromCharCode,H={},g=H.hasOwnProperty,b=function(B,q){return g.call(B,q)},m=function(B,q){for(var G=-1,Y=B.length;++G<Y;)if(B[G]==q)return!0;return!1},w=function(B,q){if(!B)return q;var G={},Y;for(Y in q)G[Y]=b(B,Y)?B[Y]:q[Y];return G},s=function(B,q){var G="";return B>=55296&&B<=57343||B>1114111?(q&&v("character reference outside the permissible Unicode range"),"�"):b(_,B)?(q&&v("disallowed character reference"),_[B]):(q&&m(P,B)&&v("disallowed character reference"),B>65535&&(B-=65536,G+=T(B>>>10&1023|55296),B=56320|B&1023),G+=T(B),G)},A=function(B){return"&#x"+B.toString(16).toUpperCase()+";"},y=function(B){return"&#"+B+";"},v=function(B){throw Error("Parse error: "+B)},x=function(B,q){q=w(q,x.options);var G=q.strict;G&&N.test(B)&&v("forbidden code point");var Y=q.encodeEverything,ne=q.useNamedReferences,ge=q.allowUnsafeSymbols,me=q.decimal?y:A,Ee=function(oe){return me(oe.charCodeAt(0))};return Y?(B=B.replace(o,function(oe){return ne&&b(h,oe)?"&"+h[oe]+";":Ee(oe)}),ne&&(B=B.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),ne&&(B=B.replace(d,function(oe){return"&"+h[oe]+";"}))):ne?(ge||(B=B.replace(f,function(oe){return"&"+h[oe]+";"})),B=B.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),B=B.replace(d,function(oe){return"&"+h[oe]+";"})):ge||(B=B.replace(f,Ee)),B.replace(a,function(oe){var ye=oe.charCodeAt(0),ce=oe.charCodeAt(1),xe=(ye-55296)*1024+ce-56320+65536;return me(xe)}).replace(c,Ee)};x.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var C=function(B,q){q=w(q,C.options);var G=q.strict;return G&&L.test(B)&&v("malformed character reference"),B.replace(U,function(Y,ne,ge,me,Ee,oe,ye,ce,xe){var Fe,Ce,br,Ar,ut,nt;return ne?(ut=ne,p[ut]):ge?(ut=ge,nt=me,nt&&q.isAttributeValue?(G&&nt=="="&&v("`&` did not start a character reference"),Y):(G&&v("named character reference was not terminated by a semicolon"),l[ut]+(nt||""))):Ee?(br=Ee,Ce=oe,G&&!Ce&&v("character reference was not terminated by a semicolon"),Fe=parseInt(br,10),s(Fe,G)):ye?(Ar=ye,Ce=ce,G&&!Ce&&v("character reference was not terminated by a semicolon"),Fe=parseInt(Ar,16),s(Fe,G)):(G&&v("named character reference was not terminated by a semicolon"),Y)})};C.options={isAttributeValue:!1,strict:!1};var O=function(B){return B.replace(f,function(q){return D[q]})},R={version:"1.2.0",encode:x,decode:C,escape:O,unescape:C};if(i&&!i.nodeType)if(u)u.exports=R;else for(var $ in R)b(R,$)&&(i[$]=R[$]);else r.he=R})(ct)})(Qn,je);const Jn=t=>t.mode==="production";function Zn(t){const e={},r=(i,u)=>{i.uid&&(e[i.uid]||(e[i.uid]=[]),e[i.uid].push({idx:u,blockData:i})),i.children.forEach((n,a)=>{Q.isTextNode(n)||r(n,Q.getChildIdx(u,a))})};return r(t.content,Q.getPageIdx()),e}function es(t){const e=I.cloneDeep(t),r=(i,u)=>{if(i.uid){if(!t.universalElements[i.uid])throw new Error(`Can not find element by uid ${i.uid}`);I.set(e,u,I.cloneDeep(t.universalElements[i.uid]))}i.children.forEach((n,a)=>{Q.isTextNode(n)||r(n,Q.getChildIdx(u,a))})};return r(e.content,Q.getPageIdx()),e.content}var Kt={},ts={get exports(){return Kt},set exports(t){Kt=t}},Ze={},tt={},rs={get exports(){return tt},set exports(t){tt=t}},Rt={},Ft={},Cr;function Zt(){if(Cr)return Ft;Cr=1;function t(i){this.__parent=i,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}t.prototype.clone_empty=function(){var i=new t(this.__parent);return i.set_indent(this.__indent_count,this.__alignment_count),i},t.prototype.item=function(i){return i<0?this.__items[this.__items.length+i]:this.__items[i]},t.prototype.has_match=function(i){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(i))return!0;return!1},t.prototype.set_indent=function(i,u){this.is_empty()&&(this.__indent_count=i||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},t.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},t.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},t.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var i=this.__parent.current_line;return i.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),i.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),i.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,i.__items[0]===" "&&(i.__items.splice(0,1),i.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return this.__items.length===0},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(i){this.__items.push(i);var u=i.lastIndexOf(`
|
|
4
|
+
`,F={PAGE:"page",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",IMAGE:"image",DIVIDER:"divider",SPACER:"spacer",BUTTON:"button",WRAPPER:"wrapper",RAW:"raw",HERO:"hero",CAROUSEL:"carousel",NAVBAR:"navbar",NAVBAR_LINK:"navbar-link",SOCIAL:"social",SOCIAL_ELEMENT:"social-element",MERGETAG:"mergetag",LINE_BREAK:"line-break",PLACEHOLDER:"placeholder",TABLE:"table",HTML_NODE:"html-node",WIDGET:"widget"},X={STANDARD_HERO:"standard-hero",STANDARD_WRAPPER:"standard-wrapper",STANDARD_SECTION:"standard-section",STANDARD_GROUP:"standard-group",STANDARD_COLUMN:"standard-column",STANDARD_IMAGE:"standard-image",STANDARD_DIVIDER:"standard-divider",STANDARD_SPACER:"standard-spacer",STANDARD_NAVBAR:"standard-navbar",STANDARD_NAVBAR_LINK:"standard-navbar-link",STANDARD_SOCIAL:"standard-social",STANDARD_SOCIAL_ELEMENT:"standard-social-element",STANDARD_BUTTON:"standard-button",STANDARD_TEXT:"standard-text",STANDARD_PARAGRAPH:"standard-paragraph",STANDARD_H1:"standard-h1",STANDARD_H2:"standard-h2",STANDARD_H3:"standard-h3",STANDARD_H4:"standard-h4",STANDARD_TEXT_LIST:"standard-text-list",STANDARD_TEXT_LIST_ITEM:"standard-text-list-item"},bi={FOR_EACH:"logic-for-each",SHOW:"logic-show"},K=S(S(S({},F),X),bi),k={PAGE:"page",RAW:"raw",HERO:"hero",WRAPPER:"wrapper",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",BUTTON:"button",IMAGE:"image",DIVIDER:"divider",NAVBAR:"navbar",SOCIAL:"social",SPACER:"spacer",TEXT_LIST:"text-list",TEXT_LIST_ITEM:"text-list-item",INLINE_TEXT:"inline-text",UNSET:"unset"},Qt="easy_email_pro_preview_content_editable";var ct=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ve={},Fu={get exports(){return Ve},set exports(t){Ve=t}};/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(t,e){(function(r){var i=e,u=t&&t.exports==i&&t,n=typeof ct=="object"&&ct;(n.global===n||n.window===n)&&(r=n);var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,d=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,_={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf",ℬ:"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf",ℭ:"Cfr","𝒞":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH","ⅇ":"ee",ℯ:"escr","𝔢":"efr","𝕖":"eopf",ℰ:"Escr","𝔈":"Efr","𝔼":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","𝔥":"hfr",ℎ:"planckh","𝒽":"hscr","𝕙":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr",ķ:"kcedil",Ķ:"Kcedil","𝔩":"lfr","𝓁":"lscr",ℓ:"ell","𝕝":"lopf",ℒ:"Lscr","𝔏":"Lfr","𝕃":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf",ℳ:"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr",ℕ:"Nopf","𝒩":"Nscr","𝔑":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","𝕠":"oopf","𝔬":"ofr",ℴ:"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf",ℙ:"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr",ℚ:"Qopf",ĸ:"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf",ℨ:"Zfr",ℤ:"Zopf","𝒵":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi","ϵ":"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},h=/["&'<>`]/g,b={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},q=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,N=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,U=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,p={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
5
|
+
`,nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},l={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},f={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},P=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],T=String.fromCharCode,H={},m=H.hasOwnProperty,y=function(B,I){return m.call(B,I)},g=function(B,I){for(var G=-1,Y=B.length;++G<Y;)if(B[G]==I)return!0;return!1},v=function(B,I){if(!B)return I;var G={},Y;for(Y in I)G[Y]=y(B,Y)?B[Y]:I[Y];return G},s=function(B,I){var G="";return B>=55296&&B<=57343||B>1114111?(I&&w("character reference outside the permissible Unicode range"),"�"):y(f,B)?(I&&w("disallowed character reference"),f[B]):(I&&g(P,B)&&w("disallowed character reference"),B>65535&&(B-=65536,G+=T(B>>>10&1023|55296),B=56320|B&1023),G+=T(B),G)},D=function(B){return"&#x"+B.toString(16).toUpperCase()+";"},E=function(B){return"&#"+B+";"},w=function(B){throw Error("Parse error: "+B)},x=function(B,I){I=v(I,x.options);var G=I.strict;G&&N.test(B)&&w("forbidden code point");var Y=I.encodeEverything,ne=I.useNamedReferences,ge=I.allowUnsafeSymbols,me=I.decimal?E:D,ye=function(oe){return me(oe.charCodeAt(0))};return Y?(B=B.replace(o,function(oe){return ne&&y(_,oe)?"&"+_[oe]+";":ye(oe)}),ne&&(B=B.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),ne&&(B=B.replace(d,function(oe){return"&"+_[oe]+";"}))):ne?(ge||(B=B.replace(h,function(oe){return"&"+_[oe]+";"})),B=B.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),B=B.replace(d,function(oe){return"&"+_[oe]+";"})):ge||(B=B.replace(h,ye)),B.replace(a,function(oe){var Ee=oe.charCodeAt(0),ce=oe.charCodeAt(1),xe=(Ee-55296)*1024+ce-56320+65536;return me(xe)}).replace(c,ye)};x.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var C=function(B,I){I=v(I,C.options);var G=I.strict;return G&&q.test(B)&&w("malformed character reference"),B.replace(U,function(Y,ne,ge,me,ye,oe,Ee,ce,xe){var Ne,Be,Dr,Ar,ut,nt;return ne?(ut=ne,p[ut]):ge?(ut=ge,nt=me,nt&&I.isAttributeValue?(G&&nt=="="&&w("`&` did not start a character reference"),Y):(G&&w("named character reference was not terminated by a semicolon"),l[ut]+(nt||""))):ye?(Dr=ye,Be=oe,G&&!Be&&w("character reference was not terminated by a semicolon"),Ne=parseInt(Dr,10),s(Ne,G)):Ee?(Ar=Ee,Be=ce,G&&!Be&&w("character reference was not terminated by a semicolon"),Ne=parseInt(Ar,16),s(Ne,G)):(G&&w("named character reference was not terminated by a semicolon"),Y)})};C.options={isAttributeValue:!1,strict:!1};var O=function(B){return B.replace(h,function(I){return b[I]})},R={version:"1.2.0",encode:x,decode:C,escape:O,unescape:C};if(i&&!i.nodeType)if(u)u.exports=R;else for(var $ in R)y(R,$)&&(i[$]=R[$]);else r.he=R})(ct)})(Fu,Ve);const Ou=t=>t.mode==="production",vr=[k.TEXT,k.BUTTON,k.DIVIDER,k.IMAGE,k.NAVBAR,k.SOCIAL,k.SPACER,k.TEXT_LIST],ae=class{static getPageIdx(){return"content"}static getUniversalElementsIdx(e){return`blocks.${e}`}static getChildIdx(e,r){return`${e}.children.${r}`}static getNodeIdxClassName(e){return`node-idx-${e}`}static getParentIdx(e){var r;return e===ae.getPageIdx()?"":((r=/(.*)\.children\.\d+$/.exec(e))==null?void 0:r[1])||""}static isVoidBlockElement(e){return ae.isElement(e)?!!ee.getBlockByType(e.type).void:!1}static isUnsetElement(e){return ae.isElement(e)?ee.getBlockByType(e.type).category===k.UNSET:!1}static isTextNode(e){return L.get(e,"text")!==void 0}static isElement(e){return!!(L.get(e,"type")&&L.get(e,"children")&&L.get(e,"attributes"))}static isBlockElement(e){const r=L.get(e,"type"),i=ee.getBlockByType(r);return i?!i.inlineElement:!1}static isUniversalElement(e){return ae.isElement(e)?!!e.uid:!1}static isInlineElement(e){if(!ae.isElement(e))return!1;const r=L.get(e,"type"),i=ee.getBlockByType(r);return i?!!i.inlineElement:!1}static isMergetagElement(e){if(!ae.isElement(e))return!1;const r=L.get(e,"type"),i=ee.getBlockByType(r);return i?!!i.inlineElement&&i.type===F.MERGETAG:!1}static isParentCategory(e,r){if(ae.isContentElementCategory(e))return r===k.COLUMN||r===k.HERO;switch(e){case k.COLUMN:return r===k.GROUP||r===k.SECTION;case k.GROUP:return r===k.SECTION;case k.SECTION:return r===k.WRAPPER||r===k.PAGE;case k.HERO:return r===k.WRAPPER||r===k.PAGE;case k.WRAPPER:return r===k.PAGE}return!1}static isParentCategoryType(e,r){const i=ee.getBlockByType(e),u=ee.getBlockByType(r);return this.isParentCategory(i.category,u.category)}};let J=ae;Q(J,"isContentElementCategory",e=>vr.includes(e)),Q(J,"isPageElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.PAGE):!1),Q(J,"isSectionElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.SECTION):!1),Q(J,"isHeroElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.HERO):!1),Q(J,"isButtonElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.BUTTON):!1),Q(J,"isImageElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.IMAGE):!1),Q(J,"isSocialElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.SOCIAL):!1),Q(J,"isWrapperElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.WRAPPER):!1),Q(J,"isGroupElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.GROUP):!1),Q(J,"isColumnElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.COLUMN):!1),Q(J,"isContentElement",e=>{if(!ae.isElement(e))return!1;if(e.type===F.PLACEHOLDER)return!0;const r=ee.getBlockByType(e.type);return vr.includes(r.category)}),Q(J,"isTextElement",e=>{if(!ae.isElement(e))return!1;const r=ee.getBlockByType(e.type);return r.category.includes(k.TEXT)||r.category.includes(k.TEXT_LIST)||r.category.includes(k.INLINE_TEXT)}),Q(J,"isPlaceholderElement",e=>ae.isElement(e)?e.type===F.PLACEHOLDER:!1),Q(J,"isTextListElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.TEXT_LIST):!1),Q(J,"isTextListItemElement",e=>ae.isElement(e)?ee.getBlockByType(e.type).category.includes(k.TEXT_LIST_ITEM):!1);function Nu(t){const e={},r=(i,u)=>{i.uid&&(e[i.uid]||(e[i.uid]=[]),e[i.uid].push({idx:u,blockData:i})),i.children.forEach((n,a)=>{J.isTextNode(n)||r(n,J.getChildIdx(u,a))})};return r(t.content,J.getPageIdx()),e}function Lu(t){const e=L.cloneDeep(t),r=(i,u)=>{if(i.uid){if(!t.universalElements[i.uid])throw new Error(`Can not find element by uid ${i.uid}`);L.set(e,u,L.cloneDeep(t.universalElements[i.uid]))}i.children.forEach((n,a)=>{J.isTextNode(n)||r(n,J.getChildIdx(u,a))})};return r(e.content,J.getPageIdx()),e.content}var Wt={},qu={get exports(){return Wt},set exports(t){Wt=t}},Je={},tt={},Iu={get exports(){return tt},set exports(t){tt=t}},Bt={},kt={},wr;function Jt(){if(wr)return kt;wr=1;function t(i){this.__parent=i,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}t.prototype.clone_empty=function(){var i=new t(this.__parent);return i.set_indent(this.__indent_count,this.__alignment_count),i},t.prototype.item=function(i){return i<0?this.__items[this.__items.length+i]:this.__items[i]},t.prototype.has_match=function(i){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(i))return!0;return!1},t.prototype.set_indent=function(i,u){this.is_empty()&&(this.__indent_count=i||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},t.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},t.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},t.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var i=this.__parent.current_line;return i.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),i.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),i.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,i.__items[0]===" "&&(i.__items.splice(0,1),i.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return this.__items.length===0},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(i){this.__items.push(i);var u=i.lastIndexOf(`
|
|
24
6
|
`);u!==-1?this.__character_count=i.length-u:this.__character_count+=i.length},t.prototype.pop=function(){var i=null;return this.is_empty()||(i=this.__items.pop(),this.__character_count-=i.length),i},t.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},t.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},t.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},t.prototype.toString=function(){var i="";return this.is_empty()?this.__parent.indent_empty_lines&&(i=this.__parent.get_indent_string(this.__indent_count)):(i=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),i+=this.__items.join("")),i};function e(i,u){this.__cache=[""],this.__indent_size=i.indent_size,this.__indent_string=i.indent_char,i.indent_with_tabs||(this.__indent_string=new Array(i.indent_size+1).join(i.indent_char)),u=u||"",i.indent_level>0&&(u=new Array(i.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}e.prototype.get_indent_size=function(i,u){var n=this.__base_string_length;return u=u||0,i<0&&(n=0),n+=i*this.__indent_size,n+=u,n},e.prototype.get_indent_string=function(i,u){var n=this.__base_string;return u=u||0,i<0&&(i=0,n=""),u+=i*this.__indent_size,this.__ensure_cache(u),n+=this.__cache[u],n},e.prototype.__ensure_cache=function(i){for(;i>=this.__cache.length;)this.__add_column()},e.prototype.__add_column=function(){var i=this.__cache.length,u=0,n="";this.__indent_size&&i>=this.__indent_size&&(u=Math.floor(i/this.__indent_size),i-=u*this.__indent_size,n=new Array(u+1).join(this.__indent_string)),i&&(n+=new Array(i+1).join(" ")),this.__cache.push(n)};function r(i,u){this.__indent_cache=new e(i,u),this.raw=!1,this._end_with_newline=i.end_with_newline,this.indent_size=i.indent_size,this.wrap_line_length=i.wrap_line_length,this.indent_empty_lines=i.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new t(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(i,u){return this.__indent_cache.get_indent_string(i,u)},r.prototype.get_indent_size=function(i,u){return this.__indent_cache.get_indent_size(i,u)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(i){return this.is_empty()||!i&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},r.prototype.get_code=function(i){this.trim(!0);var u=this.current_line.pop();u&&(u[u.length-1]===`
|
|
25
7
|
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join(`
|
|
26
8
|
`);return i!==`
|
|
27
|
-
`&&(n=n.replace(/[\n]/g,i)),n},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(i,u){return i=i||0,u=u||0,this.next_line.set_indent(i,u),this.__lines.length>1?(this.current_line.set_indent(i,u),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(i){for(var u=0;u<i.newlines;u++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(i.whitespace_before),this.current_line.push(i.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(i){this.__add_space_before_token(),this.current_line.push(i),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},r.prototype.remove_indent=function(i){for(var u=this.__lines.length;i<u;)this.__lines[i]._remove_indent(),i++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(i){for(i=i===void 0?!1:i,this.current_line.trim();i&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(i,u){for(var n=this.__lines.length-2;n>=0;){var a=this.__lines[n];if(a.is_empty())break;if(a.item(0).indexOf(i)!==0&&a.item(-1)!==u){this.__lines.splice(n+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},Ft.Output=r,Ft}var Ot={},Tr;function Zi(){if(Tr)return Ot;Tr=1;function t(e,r,i,u){this.type=e,this.text=r,this.comments_before=null,this.newlines=i||0,this.whitespace_before=u||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}return Ot.Token=t,Ot}var Nt={},Br;function eu(){return Br||(Br=1,function(t){var e="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",i="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",u="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",n="(?:\\\\u[0-9a-fA-F]{4}|["+e+i+"])",a="(?:\\\\u[0-9a-fA-F]{4}|["+r+i+u+"])*";t.identifier=new RegExp(n+a,"g"),t.identifierStart=new RegExp(n),t.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+r+i+u+"])+"),t.newline=/[\n\r\u2028\u2029]/,t.lineBreak=new RegExp(`\r
|
|
28
|
-
|`+t.newline.source),t.allLineBreaks=new RegExp(t.lineBreak.source,"g")}(
|
|
9
|
+
`&&(n=n.replace(/[\n]/g,i)),n},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(i,u){return i=i||0,u=u||0,this.next_line.set_indent(i,u),this.__lines.length>1?(this.current_line.set_indent(i,u),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(i){for(var u=0;u<i.newlines;u++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(i.whitespace_before),this.current_line.push(i.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(i){this.__add_space_before_token(),this.current_line.push(i),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},r.prototype.remove_indent=function(i){for(var u=this.__lines.length;i<u;)this.__lines[i]._remove_indent(),i++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(i){for(i=i===void 0?!1:i,this.current_line.trim();i&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(i,u){for(var n=this.__lines.length-2;n>=0;){var a=this.__lines[n];if(a.is_empty())break;if(a.item(0).indexOf(i)!==0&&a.item(-1)!==u){this.__lines.splice(n+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},kt.Output=r,kt}var St={},Cr;function Di(){if(Cr)return St;Cr=1;function t(e,r,i,u){this.type=e,this.text=r,this.comments_before=null,this.newlines=i||0,this.whitespace_before=u||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}return St.Token=t,St}var Rt={},Tr;function Ai(){return Tr||(Tr=1,function(t){var e="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",i="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",u="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",n="(?:\\\\u[0-9a-fA-F]{4}|["+e+i+"])",a="(?:\\\\u[0-9a-fA-F]{4}|["+r+i+u+"])*";t.identifier=new RegExp(n+a,"g"),t.identifierStart=new RegExp(n),t.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+r+i+u+"])+"),t.newline=/[\n\r\u2028\u2029]/,t.lineBreak=new RegExp(`\r
|
|
10
|
+
|`+t.newline.source),t.allLineBreaks=new RegExp(t.lineBreak.source,"g")}(Rt)),Rt}var Ft={},Ze={},Br;function Zt(){if(Br)return Ze;Br=1;function t(i,u){this.raw_options=e(i,u),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}t.prototype._get_array=function(i,u){var n=this.raw_options[i],a=u||[];return typeof n=="object"?n!==null&&typeof n.concat=="function"&&(a=n.concat()):typeof n=="string"&&(a=n.split(/[^a-zA-Z0-9_\/\-]+/)),a},t.prototype._get_boolean=function(i,u){var n=this.raw_options[i],a=n===void 0?!!u:!!n;return a},t.prototype._get_characters=function(i,u){var n=this.raw_options[i],a=u||"";return typeof n=="string"&&(a=n.replace(/\\r/,"\r").replace(/\\n/,`
|
|
29
11
|
`).replace(/\\t/," ")),a},t.prototype._get_number=function(i,u){var n=this.raw_options[i];u=parseInt(u,10),isNaN(u)&&(u=0);var a=parseInt(n,10);return isNaN(a)&&(a=u),a},t.prototype._get_selection=function(i,u,n){var a=this._get_selection_list(i,u,n);if(a.length!==1)throw new Error("Invalid Option Value: The option '"+i+`' can only be one of the following values:
|
|
30
12
|
`+u+`
|
|
31
13
|
You passed in: '`+this.raw_options[i]+"'");return a[0]},t.prototype._get_selection_list=function(i,u,n){if(!u||u.length===0)throw new Error("Selection list cannot be empty.");if(n=n||[u[0]],!this._is_valid_selection(n,u))throw new Error("Invalid Default Value!");var a=this._get_array(i,n);if(!this._is_valid_selection(a,u))throw new Error("Invalid Option Value: The option '"+i+`' can contain only the following values:
|
|
32
14
|
`+u+`
|
|
33
|
-
You passed in: '`+this.raw_options[i]+"'");return a},t.prototype._is_valid_selection=function(i,u){return i.length&&u.length&&!i.some(function(n){return u.indexOf(n)===-1})};function e(i,u){var n={};i=r(i);var a;for(a in i)a!==u&&(n[a]=i[a]);if(u&&i[u])for(a in i[u])n[a]=i[u][a];return n}function r(i){var u={},n;for(n in i){var a=n.replace(/-/g,"_");u[a]=i[n]}return u}return et.Options=t,et.normalizeOpts=r,et.mergeOpts=e,et}var Sr;function tu(){if(Sr)return Lt;Sr=1;var t=er().Options,e=["before-newline","after-newline","preserve-newline"];function r(i){t.call(this,i,"js");var u=this.raw_options.brace_style||null;u==="expand-strict"?this.raw_options.brace_style="expand":u==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var a=0;a<n.length;a++)n[a]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=n[a];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",e),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return r.prototype=new t,Lt.Options=r,Lt}var We={},qt={},Rr;function tr(){if(Rr)return qt;Rr=1;var t=RegExp.prototype.hasOwnProperty("sticky");function e(r){this.__input=r||"",this.__input_length=this.__input.length,this.__position=0}return e.prototype.restart=function(){this.__position=0},e.prototype.back=function(){this.__position>0&&(this.__position-=1)},e.prototype.hasNext=function(){return this.__position<this.__input_length},e.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__input.charAt(this.__position),this.__position+=1),r},e.prototype.peek=function(r){var i=null;return r=r||0,r+=this.__position,r>=0&&r<this.__input_length&&(i=this.__input.charAt(r)),i},e.prototype.__match=function(r,i){r.lastIndex=i;var u=r.exec(this.__input);return u&&!(t&&r.sticky)&&u.index!==i&&(u=null),u},e.prototype.test=function(r,i){return i=i||0,i+=this.__position,i>=0&&i<this.__input_length?!!this.__match(r,i):!1},e.prototype.testChar=function(r,i){var u=this.peek(i);return r.lastIndex=0,u!==null&&r.test(u)},e.prototype.match=function(r){var i=this.__match(r,this.__position);return i?this.__position+=i[0].length:i=null,i},e.prototype.read=function(r,i,u){var n="",a;return r&&(a=this.match(r),a&&(n+=a[0])),i&&(a||!r)&&(n+=this.readUntil(i,u)),n},e.prototype.readUntil=function(r,i){var u="",n=this.__position;r.lastIndex=this.__position;var a=r.exec(this.__input);return a?(n=a.index,i&&(n+=a[0].length)):n=this.__input_length,u=this.__input.substring(this.__position,n),this.__position=n,u},e.prototype.readUntilAfter=function(r){return this.readUntil(r,!0)},e.prototype.get_regexp=function(r,i){var u=null,n="g";return i&&t&&(n="y"),typeof r=="string"&&r!==""?u=new RegExp(r,n):r&&(u=new RegExp(r.source,n)),u},e.prototype.get_literal_regexp=function(r){return RegExp(r.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},e.prototype.peekUntilAfter=function(r){var i=this.__position,u=this.readUntilAfter(r);return this.__position=i,u},e.prototype.lookBack=function(r){var i=this.__position-1;return i>=r.length&&this.__input.substring(i-r.length,i).toLowerCase()===r},qt.InputScanner=e,qt}var at={},It={},Fr;function is(){if(Fr)return It;Fr=1;function t(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}return t.prototype.restart=function(){this.__position=0},t.prototype.isEmpty=function(){return this.__tokens_length===0},t.prototype.hasNext=function(){return this.__position<this.__tokens_length},t.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},t.prototype.peek=function(e){var r=null;return e=e||0,e+=this.__position,e>=0&&e<this.__tokens_length&&(r=this.__tokens[e]),r},t.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},It.TokenStream=t,It}var Pt={},Mt={},Or;function Et(){if(Or)return Mt;Or=1;function t(e,r){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,r&&(this._starting_pattern=this._input.get_regexp(r._starting_pattern,!0),this._match_pattern=this._input.get_regexp(r._match_pattern,!0),this._until_pattern=this._input.get_regexp(r._until_pattern),this._until_after=r._until_after)}return t.prototype.read=function(){var e=this._input.read(this._starting_pattern);return(!this._starting_pattern||e)&&(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.prototype.until_after=function(e){var r=this._create();return r._until_after=!0,r._until_pattern=this._input.get_regexp(e),r._update(),r},t.prototype.until=function(e){var r=this._create();return r._until_after=!1,r._until_pattern=this._input.get_regexp(e),r._update(),r},t.prototype.starting_with=function(e){var r=this._create();return r._starting_pattern=this._input.get_regexp(e,!0),r._update(),r},t.prototype.matching=function(e){var r=this._create();return r._match_pattern=this._input.get_regexp(e,!0),r._update(),r},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},Mt.Pattern=t,Mt}var Nr;function us(){if(Nr)return Pt;Nr=1;var t=Et().Pattern;function e(r,i){t.call(this,r,i),i?this._line_regexp=this._input.get_regexp(i._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}return e.prototype=new t,e.prototype.__set_whitespace_patterns=function(r,i){r+="\\t ",i+="\\n\\r",this._match_pattern=this._input.get_regexp("["+r+i+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+i+"]")},e.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var r=this._input.read(this._match_pattern);if(r===" ")this.whitespace_before_token=" ";else if(r){var i=this.__split(this._newline_regexp,r);this.newline_count=i.length-1,this.whitespace_before_token=i[this.newline_count]}return r},e.prototype.matching=function(r,i){var u=this._create();return u.__set_whitespace_patterns(r,i),u._update(),u},e.prototype._create=function(){return new e(this._input,this)},e.prototype.__split=function(r,i){r.lastIndex=0;for(var u=0,n=[],a=r.exec(i);a;)n.push(i.substring(u,a.index)),u=a.index+a[0].length,a=r.exec(i);return u<i.length?n.push(i.substring(u,i.length)):n.push(""),n},Pt.WhitespacePattern=e,Pt}var Lr;function ft(){if(Lr)return at;Lr=1;var t=tr().InputScanner,e=Zi().Token,r=is().TokenStream,i=us().WhitespacePattern,u={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},n=function(a,o){this._input=new t(a),this._options=o||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new i(this._input)};return n.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var a,o=new e(u.START,""),c=null,d=[],h=new r;o.type!==u.EOF;){for(a=this._get_next_token(o,c);this._is_comment(a);)h.add(a),a=this._get_next_token(o,c);h.isEmpty()||(a.comments_before=h,h=new r),a.parent=c,this._is_opening(a)?(d.push(c),c=a):c&&this._is_closing(a,c)&&(a.opened=c,c.closed=a,c=d.pop(),a.parent=c),a.previous=o,o.next=a,this.__tokens.add(a),o=a}return this.__tokens},n.prototype._is_first_token=function(){return this.__tokens.isEmpty()},n.prototype._reset=function(){},n.prototype._get_next_token=function(a,o){this._readWhitespace();var c=this._input.read(/.+/g);return c?this._create_token(u.RAW,c):this._create_token(u.EOF,"")},n.prototype._is_comment=function(a){return!1},n.prototype._is_opening=function(a){return!1},n.prototype._is_closing=function(a,o){return!1},n.prototype._create_token=function(a,o){var c=new e(a,o,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return c},n.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},at.Tokenizer=n,at.TOKEN=u,at}var Ut={},qr;function rr(){if(qr)return Ut;qr=1;function t(e,r){e=typeof e=="string"?e:e.source,r=typeof r=="string"?r:r.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+r,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+r,"g")}return t.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var r={};this.__directive_pattern.lastIndex=0;for(var i=this.__directive_pattern.exec(e);i;)r[i[1]]=i[2],i=this.__directive_pattern.exec(e);return r},t.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},Ut.Directives=t,Ut}var $t={},Ir;function ru(){if(Ir)return $t;Ir=1;var t=Et().Pattern,e={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function r(i,u){t.call(this,i,u),this.__template_pattern=null,this._disabled=Object.assign({},e),this._excluded=Object.assign({},e),u&&(this.__template_pattern=this._input.get_regexp(u.__template_pattern),this._excluded=Object.assign(this._excluded,u._excluded),this._disabled=Object.assign(this._disabled,u._disabled));var n=new t(i);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/),smarty:n.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:n.starting_with(/{\*/).until_after(/\*}/),smarty_literal:n.starting_with(/{literal}/).until_after(/{\/literal}/)}}return r.prototype=new t,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(i){var u=this._create();return u._disabled[i]=!0,u._update(),u},r.prototype.read_options=function(i){var u=this._create();for(var n in e)u._disabled[n]=i.templating.indexOf(n)===-1;return u._update(),u},r.prototype.exclude=function(i){var u=this._create();return u._excluded[i]=!0,u._update(),u},r.prototype.read=function(){var i="";this._match_pattern?i=this._input.read(this._starting_pattern):i=this._input.read(this._starting_pattern,this.__template_pattern);for(var u=this._read_template();u;)this._match_pattern?u+=this._input.read(this._match_pattern):u+=this._input.readUntil(this.__template_pattern),i+=u,u=this._read_template();return this._until_after&&(i+=this._input.readUntilAfter(this._until_pattern)),i},r.prototype.__set_templated_pattern=function(){var i=[];this._disabled.php||i.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||i.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||i.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(i.push(this.__patterns.django._starting_pattern.source),i.push(this.__patterns.django_value._starting_pattern.source),i.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||i.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&i.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+i.join("|")+")")},r.prototype._read_template=function(){var i="",u=this._input.peek();if(u==="<"){var n=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&n==="?"&&(i=i||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&n==="%"&&(i=i||this.__patterns.erb.read())}else u==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(i=i||this.__patterns.handlebars_comment.read(),i=i||this.__patterns.handlebars_unescaped.read(),i=i||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(i=i||this.__patterns.django_value.read()),this._excluded.django||(i=i||this.__patterns.django_comment.read(),i=i||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(i=i||this.__patterns.smarty_comment.read(),i=i||this.__patterns.smarty_literal.read(),i=i||this.__patterns.smarty.read()));return i},$t.TemplatablePattern=r,$t}var Pr;function ot(){if(Pr)return We;Pr=1;var t=tr().InputScanner,e=ft().Tokenizer,r=ft().TOKEN,i=rr().Directives,u=eu(),n=Et().Pattern,a=ru().TemplatablePattern;function o(g,b){return b.indexOf(g)!==-1}var c={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},d=new i(/\/\*/,/\*\//),h=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,f=/[0-9]/,D=/[^\d\.]/,L=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),N=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";N=N.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),N="\\?\\.(?!\\d) "+N,N=N.replace(/ /g,"|");var U=new RegExp(N),p="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),l=p.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),_=new RegExp("^(?:"+l.join("|")+")$"),P,T=function(g,b){e.call(this,g,b),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var m=new n(this._input),w=new a(this._input).read_options(this._options);this.__patterns={template:w,identifier:w.starting_with(u.identifier).matching(u.identifierMatch),number:m.matching(h),punct:m.matching(U),comment:m.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:m.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:m.matching(/<!--/),html_comment_end:m.matching(/-->/),include:m.starting_with(/#include/).until_after(u.lineBreak),shebang:m.starting_with(/#!/).until_after(u.lineBreak),xml:m.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:w.until(/['\\\n\r\u2028\u2029]/),double_quote:w.until(/["\\\n\r\u2028\u2029]/),template_text:w.until(/[`\\$]/),template_expression:w.until(/[`}\\]/)}};T.prototype=new e,T.prototype._is_comment=function(g){return g.type===c.COMMENT||g.type===c.BLOCK_COMMENT||g.type===c.UNKNOWN},T.prototype._is_opening=function(g){return g.type===c.START_BLOCK||g.type===c.START_EXPR},T.prototype._is_closing=function(g,b){return(g.type===c.END_BLOCK||g.type===c.END_EXPR)&&b&&(g.text==="]"&&b.text==="["||g.text===")"&&b.text==="("||g.text==="}"&&b.text==="{")},T.prototype._reset=function(){P=!1},T.prototype._get_next_token=function(g,b){var m=null;this._readWhitespace();var w=this._input.peek();return w===null?this._create_token(c.EOF,""):(m=m||this._read_non_javascript(w),m=m||this._read_string(w),m=m||this._read_word(g),m=m||this._read_singles(w),m=m||this._read_comment(w),m=m||this._read_regexp(w,g),m=m||this._read_xml(w,g),m=m||this._read_punctuation(),m=m||this._create_token(c.UNKNOWN,this._input.next()),m)},T.prototype._read_word=function(g){var b;if(b=this.__patterns.identifier.read(),b!=="")return b=b.replace(u.allLineBreaks,`
|
|
34
|
-
`),!(
|
|
35
|
-
`);if(
|
|
36
|
-
`);
|
|
37
|
-
`),
|
|
38
|
-
`),this._create_token(c.STRING,
|
|
39
|
-
`),this._create_token(c.STRING,
|
|
40
|
-
`&&this._input.next(),
|
|
41
|
-
`);for(var
|
|
42
|
-
`);
|
|
43
|
-
`);return s.length&&
|
|
44
|
-
`,A&&r.lineBreak.test(A||"")&&(y=A.match(r.lineBreak)[0]));for(var v=this._tokens.next();v;)this.handle_token(v),this._last_last_text=this._flags.last_token.text,this._flags.last_token=v,v=this._tokens.next();return s=this._output.get_code(y),s},m.prototype.handle_token=function(s,A){s.type===o.START_EXPR?this.handle_start_expr(s):s.type===o.END_EXPR?this.handle_end_expr(s):s.type===o.START_BLOCK?this.handle_start_block(s):s.type===o.END_BLOCK?this.handle_end_block(s):s.type===o.WORD?this.handle_word(s):s.type===o.RESERVED?this.handle_word(s):s.type===o.SEMICOLON?this.handle_semicolon(s):s.type===o.STRING?this.handle_string(s):s.type===o.EQUALS?this.handle_equals(s):s.type===o.OPERATOR?this.handle_operator(s):s.type===o.COMMA?this.handle_comma(s):s.type===o.BLOCK_COMMENT?this.handle_block_comment(s,A):s.type===o.COMMENT?this.handle_comment(s,A):s.type===o.DOT?this.handle_dot(s):s.type===o.EOF?this.handle_eof(s):s.type===o.UNKNOWN?this.handle_unknown(s,A):this.handle_unknown(s,A)},m.prototype.handle_whitespace_and_comments=function(s,A){var y=s.newlines,v=this._options.keep_array_indentation&&T(this._flags.mode);if(s.comments_before)for(var x=s.comments_before.next();x;)this.handle_whitespace_and_comments(x,A),this.handle_token(x,A),x=s.comments_before.next();if(v)for(var C=0;C<y;C+=1)this.print_newline(C>0,A);else if(this._options.max_preserve_newlines&&y>this._options.max_preserve_newlines&&(y=this._options.max_preserve_newlines),this._options.preserve_newlines&&y>1){this.print_newline(!1,A);for(var O=1;O<y;O+=1)this.print_newline(!0,A)}};var w=["async","break","continue","return","throw","yield"];return m.prototype.allow_wrap_or_preserved_newline=function(s,A){if(A=A===void 0?!1:A,!this._output.just_added_newline()){var y=this._options.preserve_newlines&&s.newlines||A,v=c(this._flags.last_token.text,a)||c(s.text,a);if(v){var x=c(this._flags.last_token.text,a)&&c(this._options.operator_position,p)||c(s.text,a);y=y&&x}if(y)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(D(this._flags.last_token,w))return;this._output.set_wrap_point()}}},m.prototype.print_newline=function(s,A){if(!A&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==o.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var y=this._tokens.peek();this._flags.mode===l.Statement&&!(this._flags.if_block&&f(y,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(s)&&(this._flags.multiline_frame=!0)},m.prototype.print_token_line_indentation=function(s){this._output.just_added_newline()&&(this._options.keep_array_indentation&&s.newlines&&(s.text==="["||T(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(s.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},m.prototype.print_token=function(s){if(this._output.raw){this._output.add_raw_token(s);return}if(this._options.comma_first&&s.previous&&s.previous.type===o.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var A=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(A),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(s),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(s),this._output.non_breaking_space=!0,this._output.add_token(s.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},m.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},m.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},m.prototype.set_mode=function(s){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,s),this._flags=this.create_flags(this._previous_flags,s),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},m.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===l.Statement&&_(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},m.prototype.start_of_object_property=function(){return this._flags.parent.mode===l.ObjectLiteral&&this._flags.mode===l.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||D(this._flags.last_token,["get","set"]))},m.prototype.start_of_statement=function(s){var A=!1;return A=A||D(this._flags.last_token,["var","let","const"])&&s.type===o.WORD,A=A||f(this._flags.last_token,"do"),A=A||!(this._flags.parent.mode===l.ObjectLiteral&&this._flags.mode===l.Statement)&&D(this._flags.last_token,w)&&!s.newlines,A=A||f(this._flags.last_token,"else")&&!(f(s,"if")&&!s.comments_before),A=A||this._flags.last_token.type===o.END_EXPR&&(this._previous_flags.mode===l.ForInitializer||this._previous_flags.mode===l.Conditional),A=A||this._flags.last_token.type===o.WORD&&this._flags.mode===l.BlockStatement&&!this._flags.in_case&&!(s.text==="--"||s.text==="++")&&this._last_last_text!=="function"&&s.type!==o.WORD&&s.type!==o.RESERVED,A=A||this._flags.mode===l.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||D(this._flags.last_token,["get","set"])),A?(this.set_mode(l.Statement),this.indent(),this.handle_whitespace_and_comments(s,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(s,D(s,["do","for","if","while"])),!0):!1},m.prototype.handle_start_expr=function(s){this.start_of_statement(s)||this.handle_whitespace_and_comments(s);var A=l.Expression;if(s.text==="["){if(this._flags.last_token.type===o.WORD||this._flags.last_token.text===")"){D(this._flags.last_token,n)&&(this._output.space_before_token=!0),this.print_token(s),this.set_mode(A),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}A=l.ArrayLiteral,T(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),c(this._flags.last_token.type,[o.START_EXPR,o.END_EXPR,o.WORD,o.OPERATOR,o.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===o.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,A=l.ForInitializer):c(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,A=l.Conditional):c(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&s.whitespace_before===""?this._output.space_before_token=!1:(c(this._flags.last_token.text,n)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(s);else if(this._flags.last_token.type===o.WORD){this._output.space_before_token=!1;var y=this._tokens.peek(-3);if(this._options.space_after_named_function&&y){var v=this._tokens.peek(-4);D(y,["async","function"])||y.text==="*"&&D(v,["async","function"])?this._output.space_before_token=!0:this._flags.mode===l.ObjectLiteral?(y.text==="{"||y.text===","||y.text==="*"&&(v.text==="{"||v.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(s);(this._flags.last_token.type===o.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(c(this._last_last_text,["function","yield"])||this._flags.mode===l.ObjectLiteral&&c(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===o.START_BLOCK?this.print_newline():(this._flags.last_token.type===o.END_EXPR||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===o.COMMA)&&this.allow_wrap_or_preserved_newline(s,s.newlines),this.print_token(s),this.set_mode(A),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},m.prototype.handle_end_expr=function(s){for(;this._flags.mode===l.Statement;)this.restore_mode();this.handle_whitespace_and_comments(s),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(s,s.text==="]"&&T(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===o.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(s),this.restore_mode(),_(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===l.Conditional&&(this._previous_flags.mode=l.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},m.prototype.handle_start_block=function(s){this.handle_whitespace_and_comments(s);var A=this._tokens.peek(),y=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===o.END_EXPR?(this.set_mode(l.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(l.BlockStatement):y&&(c(y.text,[":",","])&&c(A.type,[o.STRING,o.WORD,o.RESERVED])||c(A.text,["get","set","..."])&&c(y.type,[o.WORD,o.RESERVED]))?c(this._last_last_text,["class","interface"])&&!c(y.text,[":",","])?this.set_mode(l.BlockStatement):this.set_mode(l.ObjectLiteral):this._flags.last_token.type===o.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(l.BlockStatement):c(this._flags.last_token.type,[o.EQUALS,o.START_EXPR,o.COMMA,o.OPERATOR])||D(this._flags.last_token,["return","throw","import","default"])?this.set_mode(l.ObjectLiteral):this.set_mode(l.BlockStatement),this._flags.last_token&&D(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var v=!A.comments_before&&A.text==="}",x=v&&this._flags.last_word==="function"&&this._flags.last_token.type===o.END_EXPR;if(this._options.brace_preserve_inline){var C=0,O=null;this._flags.inline_frame=!0;do if(C+=1,O=this._tokens.peek(C-1),O.newlines){this._flags.inline_frame=!1;break}while(O.type!==o.EOF&&!(O.type===o.END_BLOCK&&O.opened===s))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&s.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==o.OPERATOR&&(x||this._flags.last_token.type===o.EQUALS||D(this._flags.last_token,L)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(T(this._previous_flags.mode)&&(this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.COMMA)&&((this._flags.last_token.type===o.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(s),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==o.OPERATOR&&this._flags.last_token.type!==o.START_EXPR&&(this._flags.last_token.type===o.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(s),this.indent(),!v&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},m.prototype.handle_end_block=function(s){for(this.handle_whitespace_and_comments(s);this._flags.mode===l.Statement;)this.restore_mode();var A=this._flags.last_token.type===o.START_BLOCK;this._flags.inline_frame&&!A?this._output.space_before_token=!0:this._options.brace_style==="expand"?A||this.print_newline():A||(T(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(s)},m.prototype.handle_word=function(s){if(s.type===o.RESERVED){if(c(s.text,["set","get"])&&this._flags.mode!==l.ObjectLiteral)s.type=o.WORD;else if(s.text==="import"&&c(this._tokens.peek().text,["(","."]))s.type=o.WORD;else if(c(s.text,["as","from"])&&!this._flags.import_block)s.type=o.WORD;else if(this._flags.mode===l.ObjectLiteral){var A=this._tokens.peek();A.text===":"&&(s.type=o.WORD)}}if(this.start_of_statement(s)?D(this._flags.last_token,["var","let","const"])&&s.type===o.WORD&&(this._flags.declaration_statement=!0):s.newlines&&!H(this._flags.mode)&&(this._flags.last_token.type!==o.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==o.EQUALS&&(this._options.preserve_newlines||!D(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(s),this.print_newline()):this.handle_whitespace_and_comments(s),this._flags.do_block&&!this._flags.do_while)if(f(s,"while")){this._output.space_before_token=!0,this.print_token(s),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&f(s,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===l.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&D(s,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(s),this._flags.in_case=!0;return}if((this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(s)),f(s,"function")){(c(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(c(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===o.OPERATOR))&&!this._output.just_added_blankline()&&!s.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD?D(this._flags.last_token,["get","set","new","export"])||D(this._flags.last_token,w)?this._output.space_before_token=!0:f(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===o.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(H(this._flags.mode)||T(this._flags.mode))||this.print_newline(),this.print_token(s),this._flags.last_word=s.text;return}var y="NONE";if(this._flags.last_token.type===o.END_BLOCK?this._previous_flags.inline_frame?y="SPACE":D(s,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&s.newlines?y="NEWLINE":(y="SPACE",this._output.space_before_token=!0):y="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&this._flags.mode===l.BlockStatement?y="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&H(this._flags.mode)?y="SPACE":this._flags.last_token.type===o.STRING?y="NEWLINE":this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.last_token.text==="*"&&(c(this._last_last_text,["function","yield"])||this._flags.mode===l.ObjectLiteral&&c(this._last_last_text,["{",","]))?y="SPACE":this._flags.last_token.type===o.START_BLOCK?this._flags.inline_frame?y="SPACE":y="NEWLINE":this._flags.last_token.type===o.END_EXPR&&(this._output.space_before_token=!0,y="NEWLINE"),D(s,n)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?y="SPACE":y="NEWLINE"),D(s,["else","catch","finally"]))if((!(this._flags.last_token.type===o.END_BLOCK&&this._previous_flags.mode===l.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&s.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var v=this._output.current_line;v.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else y==="NEWLINE"?D(this._flags.last_token,L)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&D(s,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==o.END_EXPR?(this._flags.last_token.type!==o.START_EXPR||!D(s,["var","let","const"]))&&this._flags.last_token.text!==":"&&(f(s,"if")&&f(s.previous,"else")?this._output.space_before_token=!0:this.print_newline()):D(s,n)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&T(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():y==="SPACE"&&(this._output.space_before_token=!0);s.previous&&(s.previous.type===o.WORD||s.previous.type===o.RESERVED)&&(this._output.space_before_token=!0),this.print_token(s),this._flags.last_word=s.text,s.type===o.RESERVED&&(s.text==="do"?this._flags.do_block=!0:s.text==="if"?this._flags.if_block=!0:s.text==="import"?this._flags.import_block=!0:this._flags.import_block&&f(s,"from")&&(this._flags.import_block=!1))},m.prototype.handle_semicolon=function(s){this.start_of_statement(s)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(s);for(var A=this._tokens.peek();this._flags.mode===l.Statement&&!(this._flags.if_block&&f(A,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(s)},m.prototype.handle_string=function(s){s.text.startsWith("`")&&s.newlines===0&&s.whitespace_before===""&&(s.previous.text===")"||this._flags.last_token.type===o.WORD)||(this.start_of_statement(s)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(s),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(s):s.text.startsWith("`")&&this._flags.last_token.type===o.END_EXPR&&(s.previous.text==="]"||s.previous.text===")")&&s.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(s)},m.prototype.handle_equals=function(s){this.start_of_statement(s)||this.handle_whitespace_and_comments(s),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(s),this._output.space_before_token=!0},m.prototype.handle_comma=function(s){this.handle_whitespace_and_comments(s,!0),this.print_token(s),this._output.space_before_token=!0,this._flags.declaration_statement?(H(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(s)):this._flags.mode===l.ObjectLiteral||this._flags.mode===l.Statement&&this._flags.parent.mode===l.ObjectLiteral?(this._flags.mode===l.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(s)},m.prototype.handle_operator=function(s){var A=s.text==="*"&&(D(this._flags.last_token,["function","yield"])||c(this._flags.last_token.type,[o.START_BLOCK,o.COMMA,o.END_BLOCK,o.SEMICOLON])),y=c(s.text,["-","+"])&&(c(this._flags.last_token.type,[o.START_BLOCK,o.START_EXPR,o.EQUALS,o.OPERATOR])||c(this._flags.last_token.text,n)||this._flags.last_token.text===",");if(!this.start_of_statement(s)){var v=!A;this.handle_whitespace_and_comments(s,v)}if(s.text==="*"&&this._flags.last_token.type===o.DOT){this.print_token(s);return}if(s.text==="::"){this.print_token(s);return}if(this._flags.last_token.type===o.OPERATOR&&c(this._options.operator_position,p)&&this.allow_wrap_or_preserved_newline(s),s.text===":"&&this._flags.in_case){this.print_token(s),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==o.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var x=!0,C=!0,O=!1;if(s.text===":"?this._flags.ternary_depth===0?x=!1:(this._flags.ternary_depth-=1,O=!0):s.text==="?"&&(this._flags.ternary_depth+=1),!y&&!A&&this._options.preserve_newlines&&c(s.text,a)){var R=s.text===":",$=R&&O,B=R&&!O;switch(this._options.operator_position){case U.before_newline:this._output.space_before_token=!B,this.print_token(s),(!R||$)&&this.allow_wrap_or_preserved_newline(s),this._output.space_before_token=!0;return;case U.after_newline:this._output.space_before_token=!0,!R||$?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(s):this._output.space_before_token=!1,this.print_token(s),this._output.space_before_token=!0;return;case U.preserve_newline:B||this.allow_wrap_or_preserved_newline(s),x=!(this._output.just_added_newline()||B),this._output.space_before_token=x,this.print_token(s),this._output.space_before_token=!0;return}}if(A){this.allow_wrap_or_preserved_newline(s),x=!1;var q=this._tokens.peek();C=q&&c(q.type,[o.WORD,o.RESERVED])}else if(s.text==="...")this.allow_wrap_or_preserved_newline(s),x=this._flags.last_token.type===o.START_BLOCK,C=!1;else if(c(s.text,["--","++","!","~"])||y){if((this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR)&&this.allow_wrap_or_preserved_newline(s),x=!1,C=!1,s.newlines&&(s.text==="--"||s.text==="++"||s.text==="~")){var G=D(this._flags.last_token,L)&&s.newlines;G&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(G,!0)}this._flags.last_token.text===";"&&H(this._flags.mode)&&(x=!0),this._flags.last_token.type===o.RESERVED?x=!0:this._flags.last_token.type===o.END_EXPR?x=!(this._flags.last_token.text==="]"&&(s.text==="--"||s.text==="++")):this._flags.last_token.type===o.OPERATOR&&(x=c(s.text,["--","-","++","+"])&&c(this._flags.last_token.text,["--","-","++","+"]),c(s.text,["+","-"])&&c(this._flags.last_token.text,["--","++"])&&(C=!0)),(this._flags.mode===l.BlockStatement&&!this._flags.inline_frame||this._flags.mode===l.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||x,this.print_token(s),this._output.space_before_token=C},m.prototype.handle_block_comment=function(s,A){if(this._output.raw){this._output.add_raw_token(s),s.directives&&s.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(s.directives){this.print_newline(!1,A),this.print_token(s),s.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(s.text)&&!s.newlines){this._output.space_before_token=!0,this.print_token(s),this._output.space_before_token=!0;return}else this.print_block_commment(s,A)},m.prototype.print_block_commment=function(s,A){var y=P(s.text),v,x=!1,C=!1,O=s.whitespace_before,R=O.length;if(this.print_newline(!1,A),this.print_token_line_indentation(s),this._output.add_token(y[0]),this.print_newline(!1,A),y.length>1){for(y=y.slice(1),x=g(y,"*"),C=b(y,O),x&&(this._flags.alignment=1),v=0;v<y.length;v++)x?(this.print_token_line_indentation(s),this._output.add_token(d(y[v]))):C&&y[v]?(this.print_token_line_indentation(s),this._output.add_token(y[v].substring(R))):(this._output.current_line.set_indent(-1),this._output.add_token(y[v])),this.print_newline(!1,A);this._flags.alignment=0}},m.prototype.handle_comment=function(s,A){s.newlines?this.print_newline(!1,A):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(s),this.print_newline(!1,A)},m.prototype.handle_dot=function(s){this.start_of_statement(s)||this.handle_whitespace_and_comments(s,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),D(this._flags.last_token,L)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(s,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(s)},m.prototype.handle_unknown=function(s,A){this.print_token(s),s.text[s.text.length-1]===`
|
|
45
|
-
`&&this.print_newline(!1,
|
|
46
|
-
`)break;this._ch=this._input.next()}return
|
|
47
|
-
`&&(N===0||N<this._options.max_preserve_newlines)&&(N++,this._output.add_new_line(!0));return
|
|
48
|
-
`,
|
|
49
|
-
`);var N=
|
|
50
|
-
`&&b&&this._output.add_new_line()}var $=this._output.get_code(L);return $},Vt.Beautifier=f,Vt}var jr;function ls(){if(jr)return rt;jr=1;var t=os().Beautifier,e=iu().Options;function r(i,u){var n=new t(i,u);return n.beautify()}return as.exports=r,rt.defaultOptions=function(){return new e},rt}var it={},cs={get exports(){return it},set exports(t){it=t}},zt={},Ht={},zr;function uu(){if(zr)return Ht;zr=1;var t=er().Options;function e(r){t.call(this,r,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return e.prototype=new t,Ht.Options=e,Ht}var lt={},Hr;function Gr(){if(Hr)return lt;Hr=1;var t=ft().Tokenizer,e=ft().TOKEN,r=rr().Directives,i=ru().TemplatablePattern,u=Et().Pattern,n={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:e.START,RAW:e.RAW,EOF:e.EOF},a=new r(/<\!--/,/-->/),o=function(c,d){t.call(this,c,d),this._current_tag_name="";var h=new i(this._input).read_options(this._options),f=new u(this._input);if(this.__patterns={word:h.until(/[\n\r\t <]/),single_quote:h.until_after(/'/),double_quote:h.until_after(/"/),attribute:h.until(/[\n\r\t =>]|\/>/),element_name:h.until(/[\n\r\t >\/]/),handlebars_comment:f.starting_with(/{{!--/).until_after(/--}}/),handlebars:f.starting_with(/{{/).until_after(/}}/),handlebars_open:f.until(/[\n\r\t }]/),handlebars_raw_close:f.until(/}}/),comment:f.starting_with(/<!--/).until_after(/-->/),cdata:f.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:f.starting_with(/<!\[/).until_after(/]>/),processing:f.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var D=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=f.matching(D).until_after(D)}};return o.prototype=new t,o.prototype._is_comment=function(c){return!1},o.prototype._is_opening=function(c){return c.type===n.TAG_OPEN},o.prototype._is_closing=function(c,d){return c.type===n.TAG_CLOSE&&d&&((c.text===">"||c.text==="/>")&&d.text[0]==="<"||c.text==="}}"&&d.text[0]==="{"&&d.text[1]==="{")},o.prototype._reset=function(){this._current_tag_name=""},o.prototype._get_next_token=function(c,d){var h=null;this._readWhitespace();var f=this._input.peek();return f===null?this._create_token(n.EOF,""):(h=h||this._read_open_handlebars(f,d),h=h||this._read_attribute(f,c,d),h=h||this._read_close(f,d),h=h||this._read_raw_content(f,c,d),h=h||this._read_content_word(f),h=h||this._read_comment_or_cdata(f),h=h||this._read_processing(f),h=h||this._read_open(f,d),h=h||this._create_token(n.UNKNOWN,this._input.next()),h)},o.prototype._read_comment_or_cdata=function(c){var d=null,h=null,f=null;if(c==="<"){var D=this._input.peek(1);D==="!"&&(h=this.__patterns.comment.read(),h?(f=a.get_directives(h),f&&f.ignore==="start"&&(h+=a.readIgnored(this._input))):h=this.__patterns.cdata.read()),h&&(d=this._create_token(n.COMMENT,h),d.directives=f)}return d},o.prototype._read_processing=function(c){var d=null,h=null,f=null;if(c==="<"){var D=this._input.peek(1);(D==="!"||D==="?")&&(h=this.__patterns.conditional_comment.read(),h=h||this.__patterns.processing.read()),h&&(d=this._create_token(n.COMMENT,h),d.directives=f)}return d},o.prototype._read_open=function(c,d){var h=null,f=null;return d||c==="<"&&(h=this._input.next(),this._input.peek()==="/"&&(h+=this._input.next()),h+=this.__patterns.element_name.read(),f=this._create_token(n.TAG_OPEN,h)),f},o.prototype._read_open_handlebars=function(c,d){var h=null,f=null;return d||this._options.indent_handlebars&&c==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(h=this.__patterns.handlebars_comment.read(),h=h||this.__patterns.handlebars.read(),f=this._create_token(n.COMMENT,h)):(h=this.__patterns.handlebars_open.read(),f=this._create_token(n.TAG_OPEN,h))),f},o.prototype._read_close=function(c,d){var h=null,f=null;return d&&(d.text[0]==="<"&&(c===">"||c==="/"&&this._input.peek(1)===">")?(h=this._input.next(),c==="/"&&(h+=this._input.next()),f=this._create_token(n.TAG_CLOSE,h)):d.text[0]==="{"&&c==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),f=this._create_token(n.TAG_CLOSE,"}}"))),f},o.prototype._read_attribute=function(c,d,h){var f=null,D="";if(h&&h.text[0]==="<")if(c==="=")f=this._create_token(n.EQUALS,this._input.next());else if(c==='"'||c==="'"){var L=this._input.next();c==='"'?L+=this.__patterns.double_quote.read():L+=this.__patterns.single_quote.read(),f=this._create_token(n.VALUE,L)}else D=this.__patterns.attribute.read(),D&&(d.type===n.EQUALS?f=this._create_token(n.VALUE,D):f=this._create_token(n.ATTRIBUTE,D));return f},o.prototype._is_content_unformatted=function(c){return this._options.void_elements.indexOf(c)===-1&&(this._options.content_unformatted.indexOf(c)!==-1||this._options.unformatted.indexOf(c)!==-1)},o.prototype._read_raw_content=function(c,d,h){var f="";if(h&&h.text[0]==="{")f=this.__patterns.handlebars_raw_close.read();else if(d.type===n.TAG_CLOSE&&d.opened.text[0]==="<"&&d.text[0]!=="/"){var D=d.opened.text.substr(1).toLowerCase();if(D==="script"||D==="style"){var L=this._read_comment_or_cdata(c);if(L)return L.type=n.TEXT,L;f=this._input.readUntil(new RegExp("</"+D+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(D)&&(f=this._input.readUntil(new RegExp("</"+D+"[\\n\\r\\t ]*?>","ig")))}return f?this._create_token(n.TEXT,f):null},o.prototype._read_content_word=function(c){var d="";if(this._options.unformatted_content_delimiter&&c===this._options.unformatted_content_delimiter[0]&&(d=this.__patterns.unformatted_content_delimiter.read()),d||(d=this.__patterns.word.read()),d)return this._create_token(n.TEXT,d)},lt.Tokenizer=o,lt.TOKEN=n,lt}var Wr;function ps(){if(Wr)return zt;Wr=1;var t=uu().Options,e=Zt().Output,r=Gr().Tokenizer,i=Gr().TOKEN,u=/\r\n|[\r\n]/,n=/\r\n|[\r\n]/g,a=function(p,l){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=p.max_preserve_newlines,this.preserve_newlines=p.preserve_newlines,this._output=new e(p,l)};a.prototype.current_line_has_match=function(p){return this._output.current_line.has_match(p)},a.prototype.set_space_before_token=function(p,l){this._output.space_before_token=p,this._output.non_breaking_space=l},a.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},a.prototype.add_raw_token=function(p){this._output.add_raw_token(p)},a.prototype.print_preserved_newlines=function(p){var l=0;p.type!==i.TEXT&&p.previous.type!==i.TEXT&&(l=p.newlines?1:0),this.preserve_newlines&&(l=p.newlines<this.max_preserve_newlines+1?p.newlines:this.max_preserve_newlines+1);for(var _=0;_<l;_++)this.print_newline(_>0);return l!==0},a.prototype.traverse_whitespace=function(p){return p.whitespace_before||p.newlines?(this.print_preserved_newlines(p)||(this._output.space_before_token=!0),!0):!1},a.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},a.prototype.print_newline=function(p){this._output.add_new_line(p)},a.prototype.print_token=function(p){p.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(p.text))},a.prototype.indent=function(){this.indent_level++},a.prototype.get_full_indent=function(p){return p=this.indent_level+(p||0),p<1?"":this._output.get_indent_string(p)};var o=function(p){for(var l=null,_=p.next;_.type!==i.EOF&&p.closed!==_;){if(_.type===i.ATTRIBUTE&&_.text==="type"){_.next&&_.next.type===i.EQUALS&&_.next.next&&_.next.next.type===i.VALUE&&(l=_.next.next.text);break}_=_.next}return l},c=function(p,l){var _=null,P=null;return l.closed?(p==="script"?_="text/javascript":p==="style"&&(_="text/css"),_=o(l)||_,_.search("text/css")>-1?P="css":_.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?P="javascript":_.search(/(text|application|dojo)\/(x-)?(html)/)>-1?P="html":_.search(/test\/null/)>-1&&(P="null"),P):null};function d(p,l){return l.indexOf(p)!==-1}function h(p,l,_){this.parent=p||null,this.tag=l?l.tag_name:"",this.indent_level=_||0,this.parser_token=l||null}function f(p){this._printer=p,this._current_frame=null}f.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},f.prototype.record_tag=function(p){var l=new h(this._current_frame,p,this._printer.indent_level);this._current_frame=l},f.prototype._try_pop_frame=function(p){var l=null;return p&&(l=p.parser_token,this._printer.indent_level=p.indent_level,this._current_frame=p.parent),l},f.prototype._get_frame=function(p,l){for(var _=this._current_frame;_&&p.indexOf(_.tag)===-1;){if(l&&l.indexOf(_.tag)!==-1){_=null;break}_=_.parent}return _},f.prototype.try_pop=function(p,l){var _=this._get_frame([p],l);return this._try_pop_frame(_)},f.prototype.indent_to_tag=function(p){var l=this._get_frame(p);l&&(this._printer.indent_level=l.indent_level)};function D(p,l,_,P){this._source_text=p||"",l=l||{},this._js_beautify=_,this._css_beautify=P,this._tag_stack=null;var T=new t(l,"html");this._options=T,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}D.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var p=this._source_text,l=this._options.eol;this._options.eol==="auto"&&(l=`
|
|
15
|
+
You passed in: '`+this.raw_options[i]+"'");return a},t.prototype._is_valid_selection=function(i,u){return i.length&&u.length&&!i.some(function(n){return u.indexOf(n)===-1})};function e(i,u){var n={};i=r(i);var a;for(a in i)a!==u&&(n[a]=i[a]);if(u&&i[u])for(a in i[u])n[a]=i[u][a];return n}function r(i){var u={},n;for(n in i){var a=n.replace(/-/g,"_");u[a]=i[n]}return u}return Ze.Options=t,Ze.normalizeOpts=r,Ze.mergeOpts=e,Ze}var kr;function yi(){if(kr)return Ft;kr=1;var t=Zt().Options,e=["before-newline","after-newline","preserve-newline"];function r(i){t.call(this,i,"js");var u=this.raw_options.brace_style||null;u==="expand-strict"?this.raw_options.brace_style="expand":u==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var a=0;a<n.length;a++)n[a]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=n[a];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",e),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return r.prototype=new t,Ft.Options=r,Ft}var We={},Ot={},Sr;function er(){if(Sr)return Ot;Sr=1;var t=RegExp.prototype.hasOwnProperty("sticky");function e(r){this.__input=r||"",this.__input_length=this.__input.length,this.__position=0}return e.prototype.restart=function(){this.__position=0},e.prototype.back=function(){this.__position>0&&(this.__position-=1)},e.prototype.hasNext=function(){return this.__position<this.__input_length},e.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__input.charAt(this.__position),this.__position+=1),r},e.prototype.peek=function(r){var i=null;return r=r||0,r+=this.__position,r>=0&&r<this.__input_length&&(i=this.__input.charAt(r)),i},e.prototype.__match=function(r,i){r.lastIndex=i;var u=r.exec(this.__input);return u&&!(t&&r.sticky)&&u.index!==i&&(u=null),u},e.prototype.test=function(r,i){return i=i||0,i+=this.__position,i>=0&&i<this.__input_length?!!this.__match(r,i):!1},e.prototype.testChar=function(r,i){var u=this.peek(i);return r.lastIndex=0,u!==null&&r.test(u)},e.prototype.match=function(r){var i=this.__match(r,this.__position);return i?this.__position+=i[0].length:i=null,i},e.prototype.read=function(r,i,u){var n="",a;return r&&(a=this.match(r),a&&(n+=a[0])),i&&(a||!r)&&(n+=this.readUntil(i,u)),n},e.prototype.readUntil=function(r,i){var u="",n=this.__position;r.lastIndex=this.__position;var a=r.exec(this.__input);return a?(n=a.index,i&&(n+=a[0].length)):n=this.__input_length,u=this.__input.substring(this.__position,n),this.__position=n,u},e.prototype.readUntilAfter=function(r){return this.readUntil(r,!0)},e.prototype.get_regexp=function(r,i){var u=null,n="g";return i&&t&&(n="y"),typeof r=="string"&&r!==""?u=new RegExp(r,n):r&&(u=new RegExp(r.source,n)),u},e.prototype.get_literal_regexp=function(r){return RegExp(r.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},e.prototype.peekUntilAfter=function(r){var i=this.__position,u=this.readUntilAfter(r);return this.__position=i,u},e.prototype.lookBack=function(r){var i=this.__position-1;return i>=r.length&&this.__input.substring(i-r.length,i).toLowerCase()===r},Ot.InputScanner=e,Ot}var at={},Nt={},Rr;function Pu(){if(Rr)return Nt;Rr=1;function t(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}return t.prototype.restart=function(){this.__position=0},t.prototype.isEmpty=function(){return this.__tokens_length===0},t.prototype.hasNext=function(){return this.__position<this.__tokens_length},t.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},t.prototype.peek=function(e){var r=null;return e=e||0,e+=this.__position,e>=0&&e<this.__tokens_length&&(r=this.__tokens[e]),r},t.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},Nt.TokenStream=t,Nt}var Lt={},qt={},Fr;function Dt(){if(Fr)return qt;Fr=1;function t(e,r){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,r&&(this._starting_pattern=this._input.get_regexp(r._starting_pattern,!0),this._match_pattern=this._input.get_regexp(r._match_pattern,!0),this._until_pattern=this._input.get_regexp(r._until_pattern),this._until_after=r._until_after)}return t.prototype.read=function(){var e=this._input.read(this._starting_pattern);return(!this._starting_pattern||e)&&(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.prototype.until_after=function(e){var r=this._create();return r._until_after=!0,r._until_pattern=this._input.get_regexp(e),r._update(),r},t.prototype.until=function(e){var r=this._create();return r._until_after=!1,r._until_pattern=this._input.get_regexp(e),r._update(),r},t.prototype.starting_with=function(e){var r=this._create();return r._starting_pattern=this._input.get_regexp(e,!0),r._update(),r},t.prototype.matching=function(e){var r=this._create();return r._match_pattern=this._input.get_regexp(e,!0),r._update(),r},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},qt.Pattern=t,qt}var Or;function Mu(){if(Or)return Lt;Or=1;var t=Dt().Pattern;function e(r,i){t.call(this,r,i),i?this._line_regexp=this._input.get_regexp(i._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}return e.prototype=new t,e.prototype.__set_whitespace_patterns=function(r,i){r+="\\t ",i+="\\n\\r",this._match_pattern=this._input.get_regexp("["+r+i+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+i+"]")},e.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var r=this._input.read(this._match_pattern);if(r===" ")this.whitespace_before_token=" ";else if(r){var i=this.__split(this._newline_regexp,r);this.newline_count=i.length-1,this.whitespace_before_token=i[this.newline_count]}return r},e.prototype.matching=function(r,i){var u=this._create();return u.__set_whitespace_patterns(r,i),u._update(),u},e.prototype._create=function(){return new e(this._input,this)},e.prototype.__split=function(r,i){r.lastIndex=0;for(var u=0,n=[],a=r.exec(i);a;)n.push(i.substring(u,a.index)),u=a.index+a[0].length,a=r.exec(i);return u<i.length?n.push(i.substring(u,i.length)):n.push(""),n},Lt.WhitespacePattern=e,Lt}var Nr;function ft(){if(Nr)return at;Nr=1;var t=er().InputScanner,e=Di().Token,r=Pu().TokenStream,i=Mu().WhitespacePattern,u={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},n=function(a,o){this._input=new t(a),this._options=o||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new i(this._input)};return n.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var a,o=new e(u.START,""),c=null,d=[],_=new r;o.type!==u.EOF;){for(a=this._get_next_token(o,c);this._is_comment(a);)_.add(a),a=this._get_next_token(o,c);_.isEmpty()||(a.comments_before=_,_=new r),a.parent=c,this._is_opening(a)?(d.push(c),c=a):c&&this._is_closing(a,c)&&(a.opened=c,c.closed=a,c=d.pop(),a.parent=c),a.previous=o,o.next=a,this.__tokens.add(a),o=a}return this.__tokens},n.prototype._is_first_token=function(){return this.__tokens.isEmpty()},n.prototype._reset=function(){},n.prototype._get_next_token=function(a,o){this._readWhitespace();var c=this._input.read(/.+/g);return c?this._create_token(u.RAW,c):this._create_token(u.EOF,"")},n.prototype._is_comment=function(a){return!1},n.prototype._is_opening=function(a){return!1},n.prototype._is_closing=function(a,o){return!1},n.prototype._create_token=function(a,o){var c=new e(a,o,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return c},n.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},at.Tokenizer=n,at.TOKEN=u,at}var It={},Lr;function tr(){if(Lr)return It;Lr=1;function t(e,r){e=typeof e=="string"?e:e.source,r=typeof r=="string"?r:r.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+r,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+r,"g")}return t.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var r={};this.__directive_pattern.lastIndex=0;for(var i=this.__directive_pattern.exec(e);i;)r[i[1]]=i[2],i=this.__directive_pattern.exec(e);return r},t.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},It.Directives=t,It}var Pt={},qr;function Ei(){if(qr)return Pt;qr=1;var t=Dt().Pattern,e={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function r(i,u){t.call(this,i,u),this.__template_pattern=null,this._disabled=Object.assign({},e),this._excluded=Object.assign({},e),u&&(this.__template_pattern=this._input.get_regexp(u.__template_pattern),this._excluded=Object.assign(this._excluded,u._excluded),this._disabled=Object.assign(this._disabled,u._disabled));var n=new t(i);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/),smarty:n.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:n.starting_with(/{\*/).until_after(/\*}/),smarty_literal:n.starting_with(/{literal}/).until_after(/{\/literal}/)}}return r.prototype=new t,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(i){var u=this._create();return u._disabled[i]=!0,u._update(),u},r.prototype.read_options=function(i){var u=this._create();for(var n in e)u._disabled[n]=i.templating.indexOf(n)===-1;return u._update(),u},r.prototype.exclude=function(i){var u=this._create();return u._excluded[i]=!0,u._update(),u},r.prototype.read=function(){var i="";this._match_pattern?i=this._input.read(this._starting_pattern):i=this._input.read(this._starting_pattern,this.__template_pattern);for(var u=this._read_template();u;)this._match_pattern?u+=this._input.read(this._match_pattern):u+=this._input.readUntil(this.__template_pattern),i+=u,u=this._read_template();return this._until_after&&(i+=this._input.readUntilAfter(this._until_pattern)),i},r.prototype.__set_templated_pattern=function(){var i=[];this._disabled.php||i.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||i.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||i.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(i.push(this.__patterns.django._starting_pattern.source),i.push(this.__patterns.django_value._starting_pattern.source),i.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||i.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&i.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+i.join("|")+")")},r.prototype._read_template=function(){var i="",u=this._input.peek();if(u==="<"){var n=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&n==="?"&&(i=i||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&n==="%"&&(i=i||this.__patterns.erb.read())}else u==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(i=i||this.__patterns.handlebars_comment.read(),i=i||this.__patterns.handlebars_unescaped.read(),i=i||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(i=i||this.__patterns.django_value.read()),this._excluded.django||(i=i||this.__patterns.django_comment.read(),i=i||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(i=i||this.__patterns.smarty_comment.read(),i=i||this.__patterns.smarty_literal.read(),i=i||this.__patterns.smarty.read()));return i},Pt.TemplatablePattern=r,Pt}var Ir;function ot(){if(Ir)return We;Ir=1;var t=er().InputScanner,e=ft().Tokenizer,r=ft().TOKEN,i=tr().Directives,u=Ai(),n=Dt().Pattern,a=Ei().TemplatablePattern;function o(m,y){return y.indexOf(m)!==-1}var c={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},d=new i(/\/\*/,/\*\//),_=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,h=/[0-9]/,b=/[^\d\.]/,q=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),N=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";N=N.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),N="\\?\\.(?!\\d) "+N,N=N.replace(/ /g,"|");var U=new RegExp(N),p="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),l=p.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),f=new RegExp("^(?:"+l.join("|")+")$"),P,T=function(m,y){e.call(this,m,y),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var g=new n(this._input),v=new a(this._input).read_options(this._options);this.__patterns={template:v,identifier:v.starting_with(u.identifier).matching(u.identifierMatch),number:g.matching(_),punct:g.matching(U),comment:g.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:g.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:g.matching(/<!--/),html_comment_end:g.matching(/-->/),include:g.starting_with(/#include/).until_after(u.lineBreak),shebang:g.starting_with(/#!/).until_after(u.lineBreak),xml:g.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:v.until(/['\\\n\r\u2028\u2029]/),double_quote:v.until(/["\\\n\r\u2028\u2029]/),template_text:v.until(/[`\\$]/),template_expression:v.until(/[`}\\]/)}};T.prototype=new e,T.prototype._is_comment=function(m){return m.type===c.COMMENT||m.type===c.BLOCK_COMMENT||m.type===c.UNKNOWN},T.prototype._is_opening=function(m){return m.type===c.START_BLOCK||m.type===c.START_EXPR},T.prototype._is_closing=function(m,y){return(m.type===c.END_BLOCK||m.type===c.END_EXPR)&&y&&(m.text==="]"&&y.text==="["||m.text===")"&&y.text==="("||m.text==="}"&&y.text==="{")},T.prototype._reset=function(){P=!1},T.prototype._get_next_token=function(m,y){var g=null;this._readWhitespace();var v=this._input.peek();return v===null?this._create_token(c.EOF,""):(g=g||this._read_non_javascript(v),g=g||this._read_string(v),g=g||this._read_word(m),g=g||this._read_singles(v),g=g||this._read_comment(v),g=g||this._read_regexp(v,m),g=g||this._read_xml(v,m),g=g||this._read_punctuation(),g=g||this._create_token(c.UNKNOWN,this._input.next()),g)},T.prototype._read_word=function(m){var y;if(y=this.__patterns.identifier.read(),y!=="")return y=y.replace(u.allLineBreaks,`
|
|
16
|
+
`),!(m.type===c.DOT||m.type===c.RESERVED&&(m.text==="set"||m.text==="get"))&&f.test(y)?(y==="in"||y==="of")&&(m.type===c.WORD||m.type===c.STRING)?this._create_token(c.OPERATOR,y):this._create_token(c.RESERVED,y):this._create_token(c.WORD,y);if(y=this.__patterns.number.read(),y!=="")return this._create_token(c.WORD,y)},T.prototype._read_singles=function(m){var y=null;return m==="("||m==="["?y=this._create_token(c.START_EXPR,m):m===")"||m==="]"?y=this._create_token(c.END_EXPR,m):m==="{"?y=this._create_token(c.START_BLOCK,m):m==="}"?y=this._create_token(c.END_BLOCK,m):m===";"?y=this._create_token(c.SEMICOLON,m):m==="."&&b.test(this._input.peek(1))?y=this._create_token(c.DOT,m):m===","&&(y=this._create_token(c.COMMA,m)),y&&this._input.next(),y},T.prototype._read_punctuation=function(){var m=this.__patterns.punct.read();if(m!=="")return m==="="?this._create_token(c.EQUALS,m):m==="?."?this._create_token(c.DOT,m):this._create_token(c.OPERATOR,m)},T.prototype._read_non_javascript=function(m){var y="";if(m==="#"){if(this._is_first_token()&&(y=this.__patterns.shebang.read(),y))return this._create_token(c.UNKNOWN,y.trim()+`
|
|
17
|
+
`);if(y=this.__patterns.include.read(),y)return this._create_token(c.UNKNOWN,y.trim()+`
|
|
18
|
+
`);m=this._input.next();var g="#";if(this._input.hasNext()&&this._input.testChar(h)){do m=this._input.next(),g+=m;while(this._input.hasNext()&&m!=="#"&&m!=="=");return m==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(g+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(g+="{}",this._input.next(),this._input.next())),this._create_token(c.WORD,g)}this._input.back()}else if(m==="<"&&this._is_first_token()){if(y=this.__patterns.html_comment_start.read(),y){for(;this._input.hasNext()&&!this._input.testChar(u.newline);)y+=this._input.next();return P=!0,this._create_token(c.COMMENT,y)}}else if(P&&m==="-"&&(y=this.__patterns.html_comment_end.read(),y))return P=!1,this._create_token(c.COMMENT,y);return null},T.prototype._read_comment=function(m){var y=null;if(m==="/"){var g="";if(this._input.peek(1)==="*"){g=this.__patterns.block_comment.read();var v=d.get_directives(g);v&&v.ignore==="start"&&(g+=d.readIgnored(this._input)),g=g.replace(u.allLineBreaks,`
|
|
19
|
+
`),y=this._create_token(c.BLOCK_COMMENT,g),y.directives=v}else this._input.peek(1)==="/"&&(g=this.__patterns.comment.read(),y=this._create_token(c.COMMENT,g))}return y},T.prototype._read_string=function(m){if(m==="`"||m==="'"||m==='"'){var y=this._input.next();return this.has_char_escapes=!1,m==="`"?y+=this._read_string_recursive("`",!0,"${"):y+=this._read_string_recursive(m),this.has_char_escapes&&this._options.unescape_strings&&(y=H(y)),this._input.peek()===m&&(y+=this._input.next()),y=y.replace(u.allLineBreaks,`
|
|
20
|
+
`),this._create_token(c.STRING,y)}return null},T.prototype._allow_regexp_or_xml=function(m){return m.type===c.RESERVED&&o(m.text,["return","case","throw","else","do","typeof","yield"])||m.type===c.END_EXPR&&m.text===")"&&m.opened.previous.type===c.RESERVED&&o(m.opened.previous.text,["if","while","for"])||o(m.type,[c.COMMENT,c.START_EXPR,c.START_BLOCK,c.START,c.END_BLOCK,c.OPERATOR,c.EQUALS,c.EOF,c.SEMICOLON,c.COMMA])},T.prototype._read_regexp=function(m,y){if(m==="/"&&this._allow_regexp_or_xml(y)){for(var g=this._input.next(),v=!1,s=!1;this._input.hasNext()&&(v||s||this._input.peek()!==m)&&!this._input.testChar(u.newline);)g+=this._input.peek(),v?v=!1:(v=this._input.peek()==="\\",this._input.peek()==="["?s=!0:this._input.peek()==="]"&&(s=!1)),this._input.next();return this._input.peek()===m&&(g+=this._input.next(),g+=this._input.read(u.identifier)),this._create_token(c.STRING,g)}return null},T.prototype._read_xml=function(m,y){if(this._options.e4x&&m==="<"&&this._allow_regexp_or_xml(y)){var g="",v=this.__patterns.xml.read_match();if(v){for(var s=v[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),D=s.indexOf("{")===0,E=0;v;){var w=!!v[1],x=v[2],C=!!v[v.length-1]||x.slice(0,8)==="![CDATA[";if(!C&&(x===s||D&&x.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(w?--E:++E),g+=v[0],E<=0)break;v=this.__patterns.xml.read_match()}return v||(g+=this._input.match(/[\s\S]*/g)[0]),g=g.replace(u.allLineBreaks,`
|
|
21
|
+
`),this._create_token(c.STRING,g)}}return null};function H(m){for(var y="",g=0,v=new t(m),s=null;v.hasNext();)if(s=v.match(/([\s]|[^\\]|\\\\)+/g),s&&(y+=s[0]),v.peek()==="\\"){if(v.next(),v.peek()==="x")s=v.match(/x([0-9A-Fa-f]{2})/g);else if(v.peek()==="u")s=v.match(/u([0-9A-Fa-f]{4})/g);else{y+="\\",v.hasNext()&&(y+=v.next());continue}if(!s||(g=parseInt(s[1],16),g>126&&g<=255&&s[0].indexOf("x")===0))return m;if(g>=0&&g<32){y+="\\"+s[0];continue}else g===34||g===39||g===92?y+="\\"+String.fromCharCode(g):y+=String.fromCharCode(g)}return y}return T.prototype._read_string_recursive=function(m,y,g){var v,s;m==="'"?s=this.__patterns.single_quote:m==='"'?s=this.__patterns.double_quote:m==="`"?s=this.__patterns.template_text:m==="}"&&(s=this.__patterns.template_expression);for(var D=s.read(),E="";this._input.hasNext();){if(E=this._input.next(),E===m||!y&&u.newline.test(E)){this._input.back();break}else E==="\\"&&this._input.hasNext()?(v=this._input.peek(),v==="x"||v==="u"?this.has_char_escapes=!0:v==="\r"&&this._input.peek(1)===`
|
|
22
|
+
`&&this._input.next(),E+=this._input.next()):g&&(g==="${"&&E==="$"&&this._input.peek()==="{"&&(E+=this._input.next()),g===E&&(m==="`"?E+=this._read_string_recursive("}",y,"`"):E+=this._read_string_recursive("`",y,"${"),this._input.hasNext()&&(E+=this._input.next())));E+=s.read(),D+=E}return D},We.Tokenizer=T,We.TOKEN=c,We.positionable_operators=q.slice(),We.line_starters=p.slice(),We}var Pr;function Uu(){if(Pr)return Bt;Pr=1;var t=Jt().Output,e=Di().Token,r=Ai(),i=yi().Options,u=ot().Tokenizer,n=ot().line_starters,a=ot().positionable_operators,o=ot().TOKEN;function c(s,D){return D.indexOf(s)!==-1}function d(s){return s.replace(/^\s+/g,"")}function _(s){for(var D={},E=0;E<s.length;E++)D[s[E].replace(/-/g,"_")]=s[E];return D}function h(s,D){return s&&s.type===o.RESERVED&&s.text===D}function b(s,D){return s&&s.type===o.RESERVED&&c(s.text,D)}var q=["case","return","do","if","throw","else","await","break","continue","async"],N=["before-newline","after-newline","preserve-newline"],U=_(N),p=[U.before_newline,U.preserve_newline],l={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function f(s,D){D.multiline_frame||D.mode===l.ForInitializer||D.mode===l.Conditional||s.remove_indent(D.start_line_index)}function P(s){s=s.replace(r.allLineBreaks,`
|
|
23
|
+
`);for(var D=[],E=s.indexOf(`
|
|
24
|
+
`);E!==-1;)D.push(s.substring(0,E)),s=s.substring(E+1),E=s.indexOf(`
|
|
25
|
+
`);return s.length&&D.push(s),D}function T(s){return s===l.ArrayLiteral}function H(s){return c(s,[l.Expression,l.ForInitializer,l.Conditional])}function m(s,D){for(var E=0;E<s.length;E++){var w=s[E].trim();if(w.charAt(0)!==D)return!1}return!0}function y(s,D){for(var E=0,w=s.length,x;E<w;E++)if(x=s[E],x&&x.indexOf(D)!==0)return!1;return!0}function g(s,D){D=D||{},this._source_text=s||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new i(D)}g.prototype.create_flags=function(s,D){var E=0;s&&(E=s.indentation_level,!this._output.just_added_newline()&&s.line_indent_level>E&&(E=s.line_indent_level));var w={mode:D,parent:s,last_token:s?s.last_token:new e(o.START_BLOCK,""),last_word:s?s.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:E,alignment:0,line_indent_level:s?s.line_indent_level:E,start_line_index:this._output.get_line_number(),ternary_depth:0};return w},g.prototype._reset=function(s){var D=s.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new t(this._options,D),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(l.BlockStatement);var E=new u(s,this._options);return this._tokens=E.tokenize(),s},g.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var s,D=this._reset(this._source_text),E=this._options.eol;this._options.eol==="auto"&&(E=`
|
|
26
|
+
`,D&&r.lineBreak.test(D||"")&&(E=D.match(r.lineBreak)[0]));for(var w=this._tokens.next();w;)this.handle_token(w),this._last_last_text=this._flags.last_token.text,this._flags.last_token=w,w=this._tokens.next();return s=this._output.get_code(E),s},g.prototype.handle_token=function(s,D){s.type===o.START_EXPR?this.handle_start_expr(s):s.type===o.END_EXPR?this.handle_end_expr(s):s.type===o.START_BLOCK?this.handle_start_block(s):s.type===o.END_BLOCK?this.handle_end_block(s):s.type===o.WORD?this.handle_word(s):s.type===o.RESERVED?this.handle_word(s):s.type===o.SEMICOLON?this.handle_semicolon(s):s.type===o.STRING?this.handle_string(s):s.type===o.EQUALS?this.handle_equals(s):s.type===o.OPERATOR?this.handle_operator(s):s.type===o.COMMA?this.handle_comma(s):s.type===o.BLOCK_COMMENT?this.handle_block_comment(s,D):s.type===o.COMMENT?this.handle_comment(s,D):s.type===o.DOT?this.handle_dot(s):s.type===o.EOF?this.handle_eof(s):s.type===o.UNKNOWN?this.handle_unknown(s,D):this.handle_unknown(s,D)},g.prototype.handle_whitespace_and_comments=function(s,D){var E=s.newlines,w=this._options.keep_array_indentation&&T(this._flags.mode);if(s.comments_before)for(var x=s.comments_before.next();x;)this.handle_whitespace_and_comments(x,D),this.handle_token(x,D),x=s.comments_before.next();if(w)for(var C=0;C<E;C+=1)this.print_newline(C>0,D);else if(this._options.max_preserve_newlines&&E>this._options.max_preserve_newlines&&(E=this._options.max_preserve_newlines),this._options.preserve_newlines&&E>1){this.print_newline(!1,D);for(var O=1;O<E;O+=1)this.print_newline(!0,D)}};var v=["async","break","continue","return","throw","yield"];return g.prototype.allow_wrap_or_preserved_newline=function(s,D){if(D=D===void 0?!1:D,!this._output.just_added_newline()){var E=this._options.preserve_newlines&&s.newlines||D,w=c(this._flags.last_token.text,a)||c(s.text,a);if(w){var x=c(this._flags.last_token.text,a)&&c(this._options.operator_position,p)||c(s.text,a);E=E&&x}if(E)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(b(this._flags.last_token,v))return;this._output.set_wrap_point()}}},g.prototype.print_newline=function(s,D){if(!D&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==o.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var E=this._tokens.peek();this._flags.mode===l.Statement&&!(this._flags.if_block&&h(E,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(s)&&(this._flags.multiline_frame=!0)},g.prototype.print_token_line_indentation=function(s){this._output.just_added_newline()&&(this._options.keep_array_indentation&&s.newlines&&(s.text==="["||T(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(s.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},g.prototype.print_token=function(s){if(this._output.raw){this._output.add_raw_token(s);return}if(this._options.comma_first&&s.previous&&s.previous.type===o.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var D=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(D),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(s),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(s),this._output.non_breaking_space=!0,this._output.add_token(s.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},g.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},g.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},g.prototype.set_mode=function(s){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,s),this._flags=this.create_flags(this._previous_flags,s),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},g.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===l.Statement&&f(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},g.prototype.start_of_object_property=function(){return this._flags.parent.mode===l.ObjectLiteral&&this._flags.mode===l.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||b(this._flags.last_token,["get","set"]))},g.prototype.start_of_statement=function(s){var D=!1;return D=D||b(this._flags.last_token,["var","let","const"])&&s.type===o.WORD,D=D||h(this._flags.last_token,"do"),D=D||!(this._flags.parent.mode===l.ObjectLiteral&&this._flags.mode===l.Statement)&&b(this._flags.last_token,v)&&!s.newlines,D=D||h(this._flags.last_token,"else")&&!(h(s,"if")&&!s.comments_before),D=D||this._flags.last_token.type===o.END_EXPR&&(this._previous_flags.mode===l.ForInitializer||this._previous_flags.mode===l.Conditional),D=D||this._flags.last_token.type===o.WORD&&this._flags.mode===l.BlockStatement&&!this._flags.in_case&&!(s.text==="--"||s.text==="++")&&this._last_last_text!=="function"&&s.type!==o.WORD&&s.type!==o.RESERVED,D=D||this._flags.mode===l.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||b(this._flags.last_token,["get","set"])),D?(this.set_mode(l.Statement),this.indent(),this.handle_whitespace_and_comments(s,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(s,b(s,["do","for","if","while"])),!0):!1},g.prototype.handle_start_expr=function(s){this.start_of_statement(s)||this.handle_whitespace_and_comments(s);var D=l.Expression;if(s.text==="["){if(this._flags.last_token.type===o.WORD||this._flags.last_token.text===")"){b(this._flags.last_token,n)&&(this._output.space_before_token=!0),this.print_token(s),this.set_mode(D),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}D=l.ArrayLiteral,T(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),c(this._flags.last_token.type,[o.START_EXPR,o.END_EXPR,o.WORD,o.OPERATOR,o.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===o.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,D=l.ForInitializer):c(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,D=l.Conditional):c(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&s.whitespace_before===""?this._output.space_before_token=!1:(c(this._flags.last_token.text,n)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(s);else if(this._flags.last_token.type===o.WORD){this._output.space_before_token=!1;var E=this._tokens.peek(-3);if(this._options.space_after_named_function&&E){var w=this._tokens.peek(-4);b(E,["async","function"])||E.text==="*"&&b(w,["async","function"])?this._output.space_before_token=!0:this._flags.mode===l.ObjectLiteral?(E.text==="{"||E.text===","||E.text==="*"&&(w.text==="{"||w.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(s);(this._flags.last_token.type===o.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(c(this._last_last_text,["function","yield"])||this._flags.mode===l.ObjectLiteral&&c(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===o.START_BLOCK?this.print_newline():(this._flags.last_token.type===o.END_EXPR||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===o.COMMA)&&this.allow_wrap_or_preserved_newline(s,s.newlines),this.print_token(s),this.set_mode(D),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},g.prototype.handle_end_expr=function(s){for(;this._flags.mode===l.Statement;)this.restore_mode();this.handle_whitespace_and_comments(s),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(s,s.text==="]"&&T(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===o.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(s),this.restore_mode(),f(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===l.Conditional&&(this._previous_flags.mode=l.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},g.prototype.handle_start_block=function(s){this.handle_whitespace_and_comments(s);var D=this._tokens.peek(),E=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===o.END_EXPR?(this.set_mode(l.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(l.BlockStatement):E&&(c(E.text,[":",","])&&c(D.type,[o.STRING,o.WORD,o.RESERVED])||c(D.text,["get","set","..."])&&c(E.type,[o.WORD,o.RESERVED]))?c(this._last_last_text,["class","interface"])&&!c(E.text,[":",","])?this.set_mode(l.BlockStatement):this.set_mode(l.ObjectLiteral):this._flags.last_token.type===o.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(l.BlockStatement):c(this._flags.last_token.type,[o.EQUALS,o.START_EXPR,o.COMMA,o.OPERATOR])||b(this._flags.last_token,["return","throw","import","default"])?this.set_mode(l.ObjectLiteral):this.set_mode(l.BlockStatement),this._flags.last_token&&b(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var w=!D.comments_before&&D.text==="}",x=w&&this._flags.last_word==="function"&&this._flags.last_token.type===o.END_EXPR;if(this._options.brace_preserve_inline){var C=0,O=null;this._flags.inline_frame=!0;do if(C+=1,O=this._tokens.peek(C-1),O.newlines){this._flags.inline_frame=!1;break}while(O.type!==o.EOF&&!(O.type===o.END_BLOCK&&O.opened===s))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&s.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==o.OPERATOR&&(x||this._flags.last_token.type===o.EQUALS||b(this._flags.last_token,q)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(T(this._previous_flags.mode)&&(this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.COMMA)&&((this._flags.last_token.type===o.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(s),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==o.OPERATOR&&this._flags.last_token.type!==o.START_EXPR&&(this._flags.last_token.type===o.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(s),this.indent(),!w&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},g.prototype.handle_end_block=function(s){for(this.handle_whitespace_and_comments(s);this._flags.mode===l.Statement;)this.restore_mode();var D=this._flags.last_token.type===o.START_BLOCK;this._flags.inline_frame&&!D?this._output.space_before_token=!0:this._options.brace_style==="expand"?D||this.print_newline():D||(T(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(s)},g.prototype.handle_word=function(s){if(s.type===o.RESERVED){if(c(s.text,["set","get"])&&this._flags.mode!==l.ObjectLiteral)s.type=o.WORD;else if(s.text==="import"&&c(this._tokens.peek().text,["(","."]))s.type=o.WORD;else if(c(s.text,["as","from"])&&!this._flags.import_block)s.type=o.WORD;else if(this._flags.mode===l.ObjectLiteral){var D=this._tokens.peek();D.text===":"&&(s.type=o.WORD)}}if(this.start_of_statement(s)?b(this._flags.last_token,["var","let","const"])&&s.type===o.WORD&&(this._flags.declaration_statement=!0):s.newlines&&!H(this._flags.mode)&&(this._flags.last_token.type!==o.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==o.EQUALS&&(this._options.preserve_newlines||!b(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(s),this.print_newline()):this.handle_whitespace_and_comments(s),this._flags.do_block&&!this._flags.do_while)if(h(s,"while")){this._output.space_before_token=!0,this.print_token(s),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&h(s,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===l.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&b(s,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(s),this._flags.in_case=!0;return}if((this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(s)),h(s,"function")){(c(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(c(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===o.OPERATOR))&&!this._output.just_added_blankline()&&!s.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD?b(this._flags.last_token,["get","set","new","export"])||b(this._flags.last_token,v)?this._output.space_before_token=!0:h(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===o.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(H(this._flags.mode)||T(this._flags.mode))||this.print_newline(),this.print_token(s),this._flags.last_word=s.text;return}var E="NONE";if(this._flags.last_token.type===o.END_BLOCK?this._previous_flags.inline_frame?E="SPACE":b(s,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&s.newlines?E="NEWLINE":(E="SPACE",this._output.space_before_token=!0):E="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&this._flags.mode===l.BlockStatement?E="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&H(this._flags.mode)?E="SPACE":this._flags.last_token.type===o.STRING?E="NEWLINE":this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.last_token.text==="*"&&(c(this._last_last_text,["function","yield"])||this._flags.mode===l.ObjectLiteral&&c(this._last_last_text,["{",","]))?E="SPACE":this._flags.last_token.type===o.START_BLOCK?this._flags.inline_frame?E="SPACE":E="NEWLINE":this._flags.last_token.type===o.END_EXPR&&(this._output.space_before_token=!0,E="NEWLINE"),b(s,n)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?E="SPACE":E="NEWLINE"),b(s,["else","catch","finally"]))if((!(this._flags.last_token.type===o.END_BLOCK&&this._previous_flags.mode===l.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&s.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var w=this._output.current_line;w.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else E==="NEWLINE"?b(this._flags.last_token,q)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&b(s,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==o.END_EXPR?(this._flags.last_token.type!==o.START_EXPR||!b(s,["var","let","const"]))&&this._flags.last_token.text!==":"&&(h(s,"if")&&h(s.previous,"else")?this._output.space_before_token=!0:this.print_newline()):b(s,n)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&T(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():E==="SPACE"&&(this._output.space_before_token=!0);s.previous&&(s.previous.type===o.WORD||s.previous.type===o.RESERVED)&&(this._output.space_before_token=!0),this.print_token(s),this._flags.last_word=s.text,s.type===o.RESERVED&&(s.text==="do"?this._flags.do_block=!0:s.text==="if"?this._flags.if_block=!0:s.text==="import"?this._flags.import_block=!0:this._flags.import_block&&h(s,"from")&&(this._flags.import_block=!1))},g.prototype.handle_semicolon=function(s){this.start_of_statement(s)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(s);for(var D=this._tokens.peek();this._flags.mode===l.Statement&&!(this._flags.if_block&&h(D,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(s)},g.prototype.handle_string=function(s){s.text.startsWith("`")&&s.newlines===0&&s.whitespace_before===""&&(s.previous.text===")"||this._flags.last_token.type===o.WORD)||(this.start_of_statement(s)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(s),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(s):s.text.startsWith("`")&&this._flags.last_token.type===o.END_EXPR&&(s.previous.text==="]"||s.previous.text===")")&&s.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(s)},g.prototype.handle_equals=function(s){this.start_of_statement(s)||this.handle_whitespace_and_comments(s),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(s),this._output.space_before_token=!0},g.prototype.handle_comma=function(s){this.handle_whitespace_and_comments(s,!0),this.print_token(s),this._output.space_before_token=!0,this._flags.declaration_statement?(H(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(s)):this._flags.mode===l.ObjectLiteral||this._flags.mode===l.Statement&&this._flags.parent.mode===l.ObjectLiteral?(this._flags.mode===l.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(s)},g.prototype.handle_operator=function(s){var D=s.text==="*"&&(b(this._flags.last_token,["function","yield"])||c(this._flags.last_token.type,[o.START_BLOCK,o.COMMA,o.END_BLOCK,o.SEMICOLON])),E=c(s.text,["-","+"])&&(c(this._flags.last_token.type,[o.START_BLOCK,o.START_EXPR,o.EQUALS,o.OPERATOR])||c(this._flags.last_token.text,n)||this._flags.last_token.text===",");if(!this.start_of_statement(s)){var w=!D;this.handle_whitespace_and_comments(s,w)}if(s.text==="*"&&this._flags.last_token.type===o.DOT){this.print_token(s);return}if(s.text==="::"){this.print_token(s);return}if(this._flags.last_token.type===o.OPERATOR&&c(this._options.operator_position,p)&&this.allow_wrap_or_preserved_newline(s),s.text===":"&&this._flags.in_case){this.print_token(s),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==o.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var x=!0,C=!0,O=!1;if(s.text===":"?this._flags.ternary_depth===0?x=!1:(this._flags.ternary_depth-=1,O=!0):s.text==="?"&&(this._flags.ternary_depth+=1),!E&&!D&&this._options.preserve_newlines&&c(s.text,a)){var R=s.text===":",$=R&&O,B=R&&!O;switch(this._options.operator_position){case U.before_newline:this._output.space_before_token=!B,this.print_token(s),(!R||$)&&this.allow_wrap_or_preserved_newline(s),this._output.space_before_token=!0;return;case U.after_newline:this._output.space_before_token=!0,!R||$?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(s):this._output.space_before_token=!1,this.print_token(s),this._output.space_before_token=!0;return;case U.preserve_newline:B||this.allow_wrap_or_preserved_newline(s),x=!(this._output.just_added_newline()||B),this._output.space_before_token=x,this.print_token(s),this._output.space_before_token=!0;return}}if(D){this.allow_wrap_or_preserved_newline(s),x=!1;var I=this._tokens.peek();C=I&&c(I.type,[o.WORD,o.RESERVED])}else if(s.text==="...")this.allow_wrap_or_preserved_newline(s),x=this._flags.last_token.type===o.START_BLOCK,C=!1;else if(c(s.text,["--","++","!","~"])||E){if((this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR)&&this.allow_wrap_or_preserved_newline(s),x=!1,C=!1,s.newlines&&(s.text==="--"||s.text==="++"||s.text==="~")){var G=b(this._flags.last_token,q)&&s.newlines;G&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(G,!0)}this._flags.last_token.text===";"&&H(this._flags.mode)&&(x=!0),this._flags.last_token.type===o.RESERVED?x=!0:this._flags.last_token.type===o.END_EXPR?x=!(this._flags.last_token.text==="]"&&(s.text==="--"||s.text==="++")):this._flags.last_token.type===o.OPERATOR&&(x=c(s.text,["--","-","++","+"])&&c(this._flags.last_token.text,["--","-","++","+"]),c(s.text,["+","-"])&&c(this._flags.last_token.text,["--","++"])&&(C=!0)),(this._flags.mode===l.BlockStatement&&!this._flags.inline_frame||this._flags.mode===l.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||x,this.print_token(s),this._output.space_before_token=C},g.prototype.handle_block_comment=function(s,D){if(this._output.raw){this._output.add_raw_token(s),s.directives&&s.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(s.directives){this.print_newline(!1,D),this.print_token(s),s.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(s.text)&&!s.newlines){this._output.space_before_token=!0,this.print_token(s),this._output.space_before_token=!0;return}else this.print_block_commment(s,D)},g.prototype.print_block_commment=function(s,D){var E=P(s.text),w,x=!1,C=!1,O=s.whitespace_before,R=O.length;if(this.print_newline(!1,D),this.print_token_line_indentation(s),this._output.add_token(E[0]),this.print_newline(!1,D),E.length>1){for(E=E.slice(1),x=m(E,"*"),C=y(E,O),x&&(this._flags.alignment=1),w=0;w<E.length;w++)x?(this.print_token_line_indentation(s),this._output.add_token(d(E[w]))):C&&E[w]?(this.print_token_line_indentation(s),this._output.add_token(E[w].substring(R))):(this._output.current_line.set_indent(-1),this._output.add_token(E[w])),this.print_newline(!1,D);this._flags.alignment=0}},g.prototype.handle_comment=function(s,D){s.newlines?this.print_newline(!1,D):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(s),this.print_newline(!1,D)},g.prototype.handle_dot=function(s){this.start_of_statement(s)||this.handle_whitespace_and_comments(s,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),b(this._flags.last_token,q)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(s,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(s)},g.prototype.handle_unknown=function(s,D){this.print_token(s),s.text[s.text.length-1]===`
|
|
27
|
+
`&&this.print_newline(!1,D)},g.prototype.handle_eof=function(s){for(;this._flags.mode===l.Statement;)this.restore_mode();this.handle_whitespace_and_comments(s)},Bt.Beautifier=g,Bt}var Mr;function $u(){if(Mr)return tt;Mr=1;var t=Uu().Beautifier,e=yi().Options;function r(i,u){var n=new t(i,u);return n.beautify()}return Iu.exports=r,tt.defaultOptions=function(){return new e},tt}var rt={},Vu={get exports(){return rt},set exports(t){rt=t}},Mt={},Ut={},Ur;function xi(){if(Ur)return Ut;Ur=1;var t=Zt().Options;function e(r){t.call(this,r,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var i=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||i;var u=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var n=0;n<u.length;n++)u[n]!=="expand"?this.brace_style="collapse":this.brace_style=u[n]}return e.prototype=new t,Ut.Options=e,Ut}var $r;function ju(){if($r)return Mt;$r=1;var t=xi().Options,e=Jt().Output,r=er().InputScanner,i=tr().Directives,u=new i(/\/\*/,/\*\//),n=/\r\n|[\r\n]/,a=/\r\n|[\r\n]/g,o=/\s/,c=/(?:\s|\n)+/g,d=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,_=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function h(b,q){this._source_text=b||"",this._options=new t(q),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}return h.prototype.eatString=function(b){var q="";for(this._ch=this._input.next();this._ch;){if(q+=this._ch,this._ch==="\\")q+=this._input.next();else if(b.indexOf(this._ch)!==-1||this._ch===`
|
|
28
|
+
`)break;this._ch=this._input.next()}return q},h.prototype.eatWhitespace=function(b){for(var q=o.test(this._input.peek()),N=0;o.test(this._input.peek());)this._ch=this._input.next(),b&&this._ch===`
|
|
29
|
+
`&&(N===0||N<this._options.max_preserve_newlines)&&(N++,this._output.add_new_line(!0));return q},h.prototype.foundNestedPseudoClass=function(){for(var b=0,q=1,N=this._input.peek(q);N;){if(N==="{")return!0;if(N==="(")b+=1;else if(N===")"){if(b===0)return!1;b-=1}else if(N===";"||N==="}")return!1;q++,N=this._input.peek(q)}return!1},h.prototype.print_string=function(b){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(b)},h.prototype.preserveSingleSpace=function(b){b&&(this._output.space_before_token=!0)},h.prototype.indent=function(){this._indentLevel++},h.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},h.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b=this._source_text,q=this._options.eol;q==="auto"&&(q=`
|
|
30
|
+
`,b&&n.test(b||"")&&(q=b.match(n)[0])),b=b.replace(a,`
|
|
31
|
+
`);var N=b.match(/^[\t ]*/)[0];this._output=new e(this._options,N),this._input=new r(b),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var U=0,p=!1,l=!1,f=!1,P=!1,T=!1,H=!1,m=this._ch,y=!1,g,v,s;g=this._input.read(c),v=g!=="",s=m,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),m=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var D=this._input.read(d),E=u.get_directives(D);E&&E.ignore==="start"&&(D+=u.readIgnored(this._input)),this.print_string(D),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(_)),this.eatWhitespace(!0);else if(this._ch==="@"||this._ch==="$")if(this.preserveSingleSpace(v),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var w=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);w.match(/[ :]$/)&&(w=this.eatString(": ").replace(/\s$/,""),this.print_string(w),this._output.space_before_token=!0),w=w.replace(/\s$/,""),w==="extend"?P=!0:w==="import"&&(T=!0),w in this.NESTED_AT_RULE?(this._nestedLevel+=1,w in this.CONDITIONAL_GROUP_RULE&&(f=!0)):!p&&U===0&&w.indexOf(":")!==-1&&(l=!0,this.indent())}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(v),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")l&&(l=!1,this.outdent()),f?(f=!1,p=this._indentLevel>=this._nestedLevel):p=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&p&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(s==="("?this._output.space_before_token=!1:s!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),s==="{"&&this._output.trim(!0),T=!1,P=!1,l&&(this.outdent(),l=!1),this.print_string(this._ch),p=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var x=0;x<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;x++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[x])){y=!0;break}(p||f)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!P&&U===0?(this.print_string(":"),l||(l=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var C=s==='"'||s==="'";this.preserveSingleSpace(C||v),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")y=!1,U===0?(l&&(this.outdent(),l=!1),P=!1,T=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),U++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),U&&(U--,this.outdent()));else{var O=!1;this._input.lookBack("with")&&(O=!0),this.preserveSingleSpace(v||O),this.print_string(this._ch),l&&s==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),H=!0):(this.eatWhitespace(),U++,this.indent())}else if(this._ch===")")U&&(U--,this.outdent()),H&&this._input.peek()===";"&&this._options.selector_separator_newline&&(H=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!l||H)&&U===0&&!T&&!P?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!l&&U===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&o.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(v),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),o.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var R=s==='"'||s==="'";this.preserveSingleSpace(R||v),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
32
|
+
`&&y&&this._output.add_new_line()}var $=this._output.get_code(q);return $},Mt.Beautifier=h,Mt}var Vr;function zu(){if(Vr)return rt;Vr=1;var t=ju().Beautifier,e=xi().Options;function r(i,u){var n=new t(i,u);return n.beautify()}return Vu.exports=r,rt.defaultOptions=function(){return new e},rt}var it={},Hu={get exports(){return it},set exports(t){it=t}},$t={},Vt={},jr;function vi(){if(jr)return Vt;jr=1;var t=Zt().Options;function e(r){t.call(this,r,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return e.prototype=new t,Vt.Options=e,Vt}var lt={},zr;function Hr(){if(zr)return lt;zr=1;var t=ft().Tokenizer,e=ft().TOKEN,r=tr().Directives,i=Ei().TemplatablePattern,u=Dt().Pattern,n={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:e.START,RAW:e.RAW,EOF:e.EOF},a=new r(/<\!--/,/-->/),o=function(c,d){t.call(this,c,d),this._current_tag_name="";var _=new i(this._input).read_options(this._options),h=new u(this._input);if(this.__patterns={word:_.until(/[\n\r\t <]/),single_quote:_.until_after(/'/),double_quote:_.until_after(/"/),attribute:_.until(/[\n\r\t =>]|\/>/),element_name:_.until(/[\n\r\t >\/]/),handlebars_comment:h.starting_with(/{{!--/).until_after(/--}}/),handlebars:h.starting_with(/{{/).until_after(/}}/),handlebars_open:h.until(/[\n\r\t }]/),handlebars_raw_close:h.until(/}}/),comment:h.starting_with(/<!--/).until_after(/-->/),cdata:h.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:h.starting_with(/<!\[/).until_after(/]>/),processing:h.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var b=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=h.matching(b).until_after(b)}};return o.prototype=new t,o.prototype._is_comment=function(c){return!1},o.prototype._is_opening=function(c){return c.type===n.TAG_OPEN},o.prototype._is_closing=function(c,d){return c.type===n.TAG_CLOSE&&d&&((c.text===">"||c.text==="/>")&&d.text[0]==="<"||c.text==="}}"&&d.text[0]==="{"&&d.text[1]==="{")},o.prototype._reset=function(){this._current_tag_name=""},o.prototype._get_next_token=function(c,d){var _=null;this._readWhitespace();var h=this._input.peek();return h===null?this._create_token(n.EOF,""):(_=_||this._read_open_handlebars(h,d),_=_||this._read_attribute(h,c,d),_=_||this._read_close(h,d),_=_||this._read_raw_content(h,c,d),_=_||this._read_content_word(h),_=_||this._read_comment_or_cdata(h),_=_||this._read_processing(h),_=_||this._read_open(h,d),_=_||this._create_token(n.UNKNOWN,this._input.next()),_)},o.prototype._read_comment_or_cdata=function(c){var d=null,_=null,h=null;if(c==="<"){var b=this._input.peek(1);b==="!"&&(_=this.__patterns.comment.read(),_?(h=a.get_directives(_),h&&h.ignore==="start"&&(_+=a.readIgnored(this._input))):_=this.__patterns.cdata.read()),_&&(d=this._create_token(n.COMMENT,_),d.directives=h)}return d},o.prototype._read_processing=function(c){var d=null,_=null,h=null;if(c==="<"){var b=this._input.peek(1);(b==="!"||b==="?")&&(_=this.__patterns.conditional_comment.read(),_=_||this.__patterns.processing.read()),_&&(d=this._create_token(n.COMMENT,_),d.directives=h)}return d},o.prototype._read_open=function(c,d){var _=null,h=null;return d||c==="<"&&(_=this._input.next(),this._input.peek()==="/"&&(_+=this._input.next()),_+=this.__patterns.element_name.read(),h=this._create_token(n.TAG_OPEN,_)),h},o.prototype._read_open_handlebars=function(c,d){var _=null,h=null;return d||this._options.indent_handlebars&&c==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(_=this.__patterns.handlebars_comment.read(),_=_||this.__patterns.handlebars.read(),h=this._create_token(n.COMMENT,_)):(_=this.__patterns.handlebars_open.read(),h=this._create_token(n.TAG_OPEN,_))),h},o.prototype._read_close=function(c,d){var _=null,h=null;return d&&(d.text[0]==="<"&&(c===">"||c==="/"&&this._input.peek(1)===">")?(_=this._input.next(),c==="/"&&(_+=this._input.next()),h=this._create_token(n.TAG_CLOSE,_)):d.text[0]==="{"&&c==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),h=this._create_token(n.TAG_CLOSE,"}}"))),h},o.prototype._read_attribute=function(c,d,_){var h=null,b="";if(_&&_.text[0]==="<")if(c==="=")h=this._create_token(n.EQUALS,this._input.next());else if(c==='"'||c==="'"){var q=this._input.next();c==='"'?q+=this.__patterns.double_quote.read():q+=this.__patterns.single_quote.read(),h=this._create_token(n.VALUE,q)}else b=this.__patterns.attribute.read(),b&&(d.type===n.EQUALS?h=this._create_token(n.VALUE,b):h=this._create_token(n.ATTRIBUTE,b));return h},o.prototype._is_content_unformatted=function(c){return this._options.void_elements.indexOf(c)===-1&&(this._options.content_unformatted.indexOf(c)!==-1||this._options.unformatted.indexOf(c)!==-1)},o.prototype._read_raw_content=function(c,d,_){var h="";if(_&&_.text[0]==="{")h=this.__patterns.handlebars_raw_close.read();else if(d.type===n.TAG_CLOSE&&d.opened.text[0]==="<"&&d.text[0]!=="/"){var b=d.opened.text.substr(1).toLowerCase();if(b==="script"||b==="style"){var q=this._read_comment_or_cdata(c);if(q)return q.type=n.TEXT,q;h=this._input.readUntil(new RegExp("</"+b+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(b)&&(h=this._input.readUntil(new RegExp("</"+b+"[\\n\\r\\t ]*?>","ig")))}return h?this._create_token(n.TEXT,h):null},o.prototype._read_content_word=function(c){var d="";if(this._options.unformatted_content_delimiter&&c===this._options.unformatted_content_delimiter[0]&&(d=this.__patterns.unformatted_content_delimiter.read()),d||(d=this.__patterns.word.read()),d)return this._create_token(n.TEXT,d)},lt.Tokenizer=o,lt.TOKEN=n,lt}var Gr;function Gu(){if(Gr)return $t;Gr=1;var t=vi().Options,e=Jt().Output,r=Hr().Tokenizer,i=Hr().TOKEN,u=/\r\n|[\r\n]/,n=/\r\n|[\r\n]/g,a=function(p,l){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=p.max_preserve_newlines,this.preserve_newlines=p.preserve_newlines,this._output=new e(p,l)};a.prototype.current_line_has_match=function(p){return this._output.current_line.has_match(p)},a.prototype.set_space_before_token=function(p,l){this._output.space_before_token=p,this._output.non_breaking_space=l},a.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},a.prototype.add_raw_token=function(p){this._output.add_raw_token(p)},a.prototype.print_preserved_newlines=function(p){var l=0;p.type!==i.TEXT&&p.previous.type!==i.TEXT&&(l=p.newlines?1:0),this.preserve_newlines&&(l=p.newlines<this.max_preserve_newlines+1?p.newlines:this.max_preserve_newlines+1);for(var f=0;f<l;f++)this.print_newline(f>0);return l!==0},a.prototype.traverse_whitespace=function(p){return p.whitespace_before||p.newlines?(this.print_preserved_newlines(p)||(this._output.space_before_token=!0),!0):!1},a.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},a.prototype.print_newline=function(p){this._output.add_new_line(p)},a.prototype.print_token=function(p){p.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(p.text))},a.prototype.indent=function(){this.indent_level++},a.prototype.get_full_indent=function(p){return p=this.indent_level+(p||0),p<1?"":this._output.get_indent_string(p)};var o=function(p){for(var l=null,f=p.next;f.type!==i.EOF&&p.closed!==f;){if(f.type===i.ATTRIBUTE&&f.text==="type"){f.next&&f.next.type===i.EQUALS&&f.next.next&&f.next.next.type===i.VALUE&&(l=f.next.next.text);break}f=f.next}return l},c=function(p,l){var f=null,P=null;return l.closed?(p==="script"?f="text/javascript":p==="style"&&(f="text/css"),f=o(l)||f,f.search("text/css")>-1?P="css":f.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?P="javascript":f.search(/(text|application|dojo)\/(x-)?(html)/)>-1?P="html":f.search(/test\/null/)>-1&&(P="null"),P):null};function d(p,l){return l.indexOf(p)!==-1}function _(p,l,f){this.parent=p||null,this.tag=l?l.tag_name:"",this.indent_level=f||0,this.parser_token=l||null}function h(p){this._printer=p,this._current_frame=null}h.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},h.prototype.record_tag=function(p){var l=new _(this._current_frame,p,this._printer.indent_level);this._current_frame=l},h.prototype._try_pop_frame=function(p){var l=null;return p&&(l=p.parser_token,this._printer.indent_level=p.indent_level,this._current_frame=p.parent),l},h.prototype._get_frame=function(p,l){for(var f=this._current_frame;f&&p.indexOf(f.tag)===-1;){if(l&&l.indexOf(f.tag)!==-1){f=null;break}f=f.parent}return f},h.prototype.try_pop=function(p,l){var f=this._get_frame([p],l);return this._try_pop_frame(f)},h.prototype.indent_to_tag=function(p){var l=this._get_frame(p);l&&(this._printer.indent_level=l.indent_level)};function b(p,l,f,P){this._source_text=p||"",l=l||{},this._js_beautify=f,this._css_beautify=P,this._tag_stack=null;var T=new t(l,"html");this._options=T,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}b.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var p=this._source_text,l=this._options.eol;this._options.eol==="auto"&&(l=`
|
|
51
33
|
`,p&&u.test(p)&&(l=p.match(u)[0])),p=p.replace(n,`
|
|
52
|
-
`);var
|
|
53
|
-
`,T=s[4],s[5]&&(
|
|
54
|
-
`)!==-1)&&(s=s[3].match(/[ \t]+$/),s&&(l.whitespace_before=s[0]))}if(T)if(H){var
|
|
55
|
-
`};
|
|
56
|
-
(`+
|
|
57
|
-
`)),T=
|
|
58
|
-
`+
|
|
59
|
-
`+
|
|
60
|
-
`)===-1||(
|
|
34
|
+
`);var f=p.match(/^[\t ]*/)[0],P={text:"",type:""},T=new q,H=new a(this._options,f),m=new r(p,this._options).tokenize();this._tag_stack=new h(H);for(var y=null,g=m.next();g.type!==i.EOF;)g.type===i.TAG_OPEN||g.type===i.COMMENT?(y=this._handle_tag_open(H,g,T,P),T=y):g.type===i.ATTRIBUTE||g.type===i.EQUALS||g.type===i.VALUE||g.type===i.TEXT&&!T.tag_complete?y=this._handle_inside_tag(H,g,T,m):g.type===i.TAG_CLOSE?y=this._handle_tag_close(H,g,T):g.type===i.TEXT?y=this._handle_text(H,g,T):H.add_raw_token(g),P=y,g=m.next();var v=H._output.get_code(l);return v},b.prototype._handle_tag_close=function(p,l,f){var P={text:l.text,type:l.type};return p.alignment_size=0,f.tag_complete=!0,p.set_space_before_token(l.newlines||l.whitespace_before!=="",!0),f.is_unformatted?p.add_raw_token(l):(f.tag_start_char==="<"&&(p.set_space_before_token(l.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&f.has_wrapped_attrs&&p.print_newline(!1)),p.print_token(l)),f.indent_content&&!(f.is_unformatted||f.is_content_unformatted)&&(p.indent(),f.indent_content=!1),!f.is_inline_element&&!(f.is_unformatted||f.is_content_unformatted)&&p.set_wrap_point(),P},b.prototype._handle_inside_tag=function(p,l,f,P){var T=f.has_wrapped_attrs,H={text:l.text,type:l.type};if(p.set_space_before_token(l.newlines||l.whitespace_before!=="",!0),f.is_unformatted)p.add_raw_token(l);else if(f.tag_start_char==="{"&&l.type===i.TEXT)p.print_preserved_newlines(l)?(l.newlines=0,p.add_raw_token(l)):p.print_token(l);else{if(l.type===i.ATTRIBUTE?(p.set_space_before_token(!0),f.attr_count+=1):(l.type===i.EQUALS||l.type===i.VALUE&&l.previous.type===i.EQUALS)&&p.set_space_before_token(!1),l.type===i.ATTRIBUTE&&f.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(p.traverse_whitespace(l),T=T||l.newlines!==0),this._is_wrap_attributes_force)){var m=f.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&f.attr_count===1){var y=!0,g=0,v;do{if(v=P.peek(g),v.type===i.ATTRIBUTE){y=!1;break}g+=1}while(g<4&&v.type!==i.EOF&&v.type!==i.TAG_CLOSE);m=!y}m&&(p.print_newline(!1),T=!0)}p.print_token(l),T=T||p.previous_token_wrapped(),f.has_wrapped_attrs=T}return H},b.prototype._handle_text=function(p,l,f){var P={text:l.text,type:"TK_CONTENT"};return f.custom_beautifier_name?this._print_custom_beatifier_text(p,l,f):f.is_unformatted||f.is_content_unformatted?p.add_raw_token(l):(p.traverse_whitespace(l),p.print_token(l)),P},b.prototype._print_custom_beatifier_text=function(p,l,f){var P=this;if(l.text!==""){var T=l.text,H,m=1,y="",g="";f.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?H=this._js_beautify:f.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?H=this._css_beautify:f.custom_beautifier_name==="html"&&(H=function(x,C){var O=new b(x,C,P._js_beautify,P._css_beautify);return O.beautify()}),this._options.indent_scripts==="keep"?m=0:this._options.indent_scripts==="separate"&&(m=-p.indent_level);var v=p.get_full_indent(m);if(T=T.replace(/\n[ \t]*$/,""),f.custom_beautifier_name!=="html"&&T[0]==="<"&&T.match(/^(<!--|<!\[CDATA\[)/)){var s=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(T);if(!s){p.add_raw_token(l);return}y=v+s[1]+`
|
|
35
|
+
`,T=s[4],s[5]&&(g=v+s[5]),T=T.replace(/\n[ \t]*$/,""),(s[2]||s[3].indexOf(`
|
|
36
|
+
`)!==-1)&&(s=s[3].match(/[ \t]+$/),s&&(l.whitespace_before=s[0]))}if(T)if(H){var D=function(){this.eol=`
|
|
37
|
+
`};D.prototype=this._options.raw_options;var E=new D;T=H(v+T,E)}else{var w=l.whitespace_before;w&&(T=T.replace(new RegExp(`
|
|
38
|
+
(`+w+")?","g"),`
|
|
39
|
+
`)),T=v+T.replace(/\n/g,`
|
|
40
|
+
`+v)}y&&(T?T=y+T+`
|
|
41
|
+
`+g:T=y+g),p.print_newline(!1),T&&(l.text=T,l.whitespace_before="",l.newlines=0,p.add_raw_token(l),p.print_newline(!0))}},b.prototype._handle_tag_open=function(p,l,f,P){var T=this._get_tag_open_token(l);return(f.is_unformatted||f.is_content_unformatted)&&!f.is_empty_element&&l.type===i.TAG_OPEN&&l.text.indexOf("</")===0?(p.add_raw_token(l),T.start_tag_token=this._tag_stack.try_pop(T.tag_name)):(p.traverse_whitespace(l),this._set_tag_position(p,l,T,f,P),T.is_inline_element||p.set_wrap_point(),p.print_token(l)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(T.alignment_size=l.text.length+1),!T.tag_complete&&!T.is_unformatted&&(p.alignment_size=T.alignment_size),T};var q=function(p,l){if(this.parent=p||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!l)this.tag_complete=!0;else{var f;this.tag_start_char=l.text[0],this.text=l.text,this.tag_start_char==="<"?(f=l.text.match(/^<([^\s>]*)/),this.tag_check=f?f[1]:""):(f=l.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=f?f[1]:"",(l.text.startsWith("{{#>")||l.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&l.next!==null?this.tag_check=l.next.text.split(" ")[0]:this.tag_check=l.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),l.type===i.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||l.closed&&l.closed.text==="/>";var P=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(P=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(P)))}};b.prototype._get_tag_open_token=function(p){var l=new q(this._tag_stack.get_parser_token(),p);return l.alignment_size=this._options.wrap_attributes_indent_size,l.is_end_tag=l.is_end_tag||d(l.tag_check,this._options.void_elements),l.is_empty_element=l.tag_complete||l.is_start_tag&&l.is_end_tag,l.is_unformatted=!l.tag_complete&&d(l.tag_check,this._options.unformatted),l.is_content_unformatted=!l.is_empty_element&&d(l.tag_check,this._options.content_unformatted),l.is_inline_element=d(l.tag_name,this._options.inline)||l.tag_name.includes("-")||l.tag_start_char==="{",l},b.prototype._set_tag_position=function(p,l,f,P,T){if(f.is_empty_element||(f.is_end_tag?f.start_tag_token=this._tag_stack.try_pop(f.tag_name):(this._do_optional_end_element(f)&&(f.is_inline_element||p.print_newline(!1)),this._tag_stack.record_tag(f),(f.tag_name==="script"||f.tag_name==="style")&&!(f.is_unformatted||f.is_content_unformatted)&&(f.custom_beautifier_name=c(f.tag_check,l)))),d(f.tag_check,this._options.extra_liners)&&(p.print_newline(!1),p._output.just_added_blankline()||p.print_newline(!0)),f.is_empty_element){if(f.tag_start_char==="{"&&f.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),f.indent_content=!0;var H=p.current_line_has_match(/{{#if/);H||p.print_newline(!1)}f.tag_name==="!--"&&T.type===i.TAG_CLOSE&&P.is_end_tag&&f.text.indexOf(`
|
|
42
|
+
`)===-1||(f.is_inline_element||f.is_unformatted||p.print_newline(!1),this._calcluate_parent_multiline(p,f))}else if(f.is_end_tag){var m=!1;m=f.start_tag_token&&f.start_tag_token.multiline_content,m=m||!f.is_inline_element&&!(P.is_inline_element||P.is_unformatted)&&!(T.type===i.TAG_CLOSE&&f.start_tag_token===P)&&T.type!=="TK_CONTENT",(f.is_content_unformatted||f.is_unformatted)&&(m=!1),m&&p.print_newline(!1)}else f.indent_content=!f.custom_beautifier_name,f.tag_start_char==="<"&&(f.tag_name==="html"?f.indent_content=this._options.indent_inner_html:f.tag_name==="head"?f.indent_content=this._options.indent_head_inner_html:f.tag_name==="body"&&(f.indent_content=this._options.indent_body_inner_html)),!(f.is_inline_element||f.is_unformatted)&&(T.type!=="TK_CONTENT"||f.is_content_unformatted)&&p.print_newline(!1),this._calcluate_parent_multiline(p,f)},b.prototype._calcluate_parent_multiline=function(p,l){l.parent&&p._output.just_added_newline()&&!((l.is_inline_element||l.is_unformatted)&&l.parent.is_inline_element)&&(l.parent.multiline_content=!0)};var N=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],U=["a","audio","del","ins","map","noscript","video"];return b.prototype._do_optional_end_element=function(p){var l=null;if(!(p.is_empty_element||!p.is_start_tag||!p.parent)){if(p.tag_name==="body")l=l||this._tag_stack.try_pop("head");else if(p.tag_name==="li")l=l||this._tag_stack.try_pop("li",["ol","ul"]);else if(p.tag_name==="dd"||p.tag_name==="dt")l=l||this._tag_stack.try_pop("dt",["dl"]),l=l||this._tag_stack.try_pop("dd",["dl"]);else if(p.parent.tag_name==="p"&&N.indexOf(p.tag_name)!==-1){var f=p.parent.parent;(!f||U.indexOf(f.tag_name)===-1)&&(l=l||this._tag_stack.try_pop("p"))}else p.tag_name==="rp"||p.tag_name==="rt"?(l=l||this._tag_stack.try_pop("rt",["ruby","rtc"]),l=l||this._tag_stack.try_pop("rp",["ruby","rtc"])):p.tag_name==="optgroup"?l=l||this._tag_stack.try_pop("optgroup",["select"]):p.tag_name==="option"?l=l||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):p.tag_name==="colgroup"?l=l||this._tag_stack.try_pop("caption",["table"]):p.tag_name==="thead"?(l=l||this._tag_stack.try_pop("caption",["table"]),l=l||this._tag_stack.try_pop("colgroup",["table"])):p.tag_name==="tbody"||p.tag_name==="tfoot"?(l=l||this._tag_stack.try_pop("caption",["table"]),l=l||this._tag_stack.try_pop("colgroup",["table"]),l=l||this._tag_stack.try_pop("thead",["table"]),l=l||this._tag_stack.try_pop("tbody",["table"])):p.tag_name==="tr"?(l=l||this._tag_stack.try_pop("caption",["table"]),l=l||this._tag_stack.try_pop("colgroup",["table"]),l=l||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(p.tag_name==="th"||p.tag_name==="td")&&(l=l||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),l=l||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return p.parent=this._tag_stack.get_parser_token(),l}},$t.Beautifier=b,$t}var Wr;function Wu(){if(Wr)return it;Wr=1;var t=Gu().Beautifier,e=vi().Options;function r(i,u,n,a){var o=new t(i,u,n,a);return o.beautify()}return Hu.exports=r,it.defaultOptions=function(){return new e},it}var Kr;function Ku(){if(Kr)return Je;Kr=1;var t=$u(),e=zu(),r=Wu();function i(u,n,a,o){return a=a||t,o=o||e,r(u,n,a,o)}return i.defaultOptions=r.defaultOptions,Je.js=t,Je.css=e,Je.html=i,Je}(function(t){function e(r,i,u){var n=function(a,o){return r.js_beautify(a,o)};return n.js=r.js_beautify,n.css=i.css_beautify,n.html=u.html_beautify,n.js_beautify=r.js_beautify,n.css_beautify=i.css_beautify,n.html_beautify=u.html_beautify,n}(function(r){var i=Ku();i.js_beautify=i.js,i.css_beautify=i.css,i.html_beautify=i.html,r.exports=e(i,i,i)})(t)})(qu);const Xu=t=>A.createElement(Qu.Provider,{value:{context:t.context}},t.children);class Yu{constructor(e){Q(this,"mode");Q(this,"headItems",[]);Q(this,"addStyle",e=>{this.addHeadItems({type:"style",id:e.id,content:`<mj-style ${e.inline&&this.mode==="production"?'inline="inline"':""}>${e.content}</mj-style>`})});this.mode=e.mode}getHeadContent(){return[...new Set(this.headItems.map(e=>e.content))].join(`
|
|
61
43
|
`)}addAttributeBySelector(e){this.addHeadItems({type:"selector",content:`<mj-html--attributes>
|
|
62
44
|
<mj-selector path="${e.selector}">
|
|
63
45
|
${Object.keys(e.attributes).map(r=>`<mj-html--attribute name="${r}">${e.attributes[r]}</mj-html--attribute>`)}
|
|
64
46
|
</mj-selector>
|
|
65
|
-
</mj-html--attributes>`})}addHeadItems(e){e.id?this.headItems.find(r=>r.id===e.id)||this.headItems.push({id:e.id,content:e.content,type:e.type}):this.headItems.push({id:e.id,content:e.content,type:e.type})}}const gs=E.createContext({}),Dr=class{static toMJML(e){const{element:r,pageElement:i,beautify:u,universalElements:n,mode:a,displayMode:o="desktop-mobile",idx:c,mergetagsData:d}=e,h=ee.getBlockByType(r.type);if(!h)throw new Error(`Block ${r.type} not found`);if(!i&&h.category!==k.PAGE)throw new Error("Page element is required if element is not a page");const f=n?Dr.transformUniversalElements({universalElements:n.elements,content:I.cloneDeep(r)}):I.cloneDeep(r),D=new _s({mode:a}),L={content:i||r};let N=c;h.category===k.PAGE&&(N=Q.getPageIdx());let U=je.unescape(xr.renderToStaticMarkup(E.createElement(Wt,{universalElements:n,mode:e.mode,context:L,displayMode:o,keepEmptyAttributes:!!e.keepEmptyAttributes,mergetagsData:d},E.createElement(fs,{context:D},E.createElement(ue,{idx:N,node:f})))));const p=D.getHeadContent();return U=U.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,p),Jn(e)||(U=U.replace(/\<mj-html-attributes\>([\w\W]*?)\<\/mj-html-attributes\>/,"")),u?Kt.html(U,{indent_size:2}):U}static elementToMjml(e,r){return je.unescape(xr.renderToStaticMarkup(E.createElement(Wt,{universalElements:r.universalElements,mode:r.mode,context:{content:r.pageElement},displayMode:r.displayMode||"desktop-mobile",keepEmptyAttributes:!!r.keepEmptyAttributes,mergetagsData:r.mergetagsData},E.createElement(ue,{node:I.cloneDeep(e)}))))}static mjmlToBlockElement(e){const i=new DOMParser().parseFromString(e,"text/html"),u=n=>{if(n.nodeType===8)return ee.getBlockByType(K.RAW).create({data:{content:n.textContent||""}});if(n.nodeType===3)return{text:n.textContent||""};if(n.nodeType!==1)throw new Error("Invalid");const a=n;let o={},c=a.tagName.toLocaleLowerCase().replace("mj-","");const d=a.getAttribute("style"),h=d==null?void 0:d.split(";").map(N=>{const U=N.split(":");return{[U[0]]:U[1]}}).reduce((N,U)=>S(S({},N),U),{});let f=a.getAttributeNames().filter(N=>!N.startsWith("element-")).reduce((N,U)=>j(S({},N),{[U]:a.getAttribute(U)||""}),{});a.getAttribute("element-type")&&(c=a.getAttribute("element-type")),a.getAttribute("element-data")&&(o=JSON.parse(decodeURIComponent(a.getAttribute("element-data")))),a.getAttribute("element-attributes")&&(f=JSON.parse(decodeURIComponent(a.getAttribute("element-attributes")))||{});const D=ee.getBlockByType(c);if(!D){const N=S({text:a.textContent||""},h),U=p=>{const l=p.tagName.toLowerCase();l==="strong"?N.bold=!0:l==="em"?N.italic=!0:l==="u"?N.underline=!0:l==="del"?N.strikethrough=!0:l==="a"&&(N.link={href:a.getAttribute("href")||"",blank:a.getAttribute("target")==="_blank"})};return[...a.children].forEach(U),N}const L=D.void?[]:a.childNodes.length>0?[...a.childNodes].map(u):[];return{type:c,data:o,attributes:f,children:L}};return u(i.body.firstChild)}};let Pe=Dr;Z(Pe,"version","0.5.0"),Z(Pe,"getPageDataVariables",e=>{var r;return((r=e.data.variables)==null?void 0:r.reduce((i,u)=>j(S({},i),{[u.key]:u.value}),{}))||{}}),Z(Pe,"getUniversalElements",Zn),Z(Pe,"transformUniversalElements",es);var _t=(t=>(t.TRUTHY="truthy",t.FALSY="falsy",t.EQUAL="==",t.NOT_EQUAL="!=",t.GREATER=">",t.GREATER_OR_EQUAL=">=",t.LESS="<",t.LESS_OR_EQUAL="<=",t))(_t||{}),nu=(t=>(t.AND="and",t.OR="or",t))(nu||{});const ms=t=>`{{ ${t} }}`,Ds=()=>t=>`{{ ${t} }}`,bs=()=>t=>t;var Xt={},As={get exports(){return Xt},set exports(t){Xt=t}};(function(t,e){(function(r,i){t.exports=i()})(ct,function(){var r=1e3,i=6e4,u=36e5,n="millisecond",a="second",o="minute",c="hour",d="day",h="week",f="month",D="quarter",L="year",N="date",U="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|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,_={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(v){var x=["th","st","nd","rd"],C=v%100;return"["+v+(x[(C-20)%10]||x[C]||x[0])+"]"}},P=function(v,x,C){var O=String(v);return!O||O.length>=x?v:""+Array(x+1-O.length).join(C)+v},T={s:P,z:function(v){var x=-v.utcOffset(),C=Math.abs(x),O=Math.floor(C/60),R=C%60;return(x<=0?"+":"-")+P(O,2,"0")+":"+P(R,2,"0")},m:function v(x,C){if(x.date()<C.date())return-v(C,x);var O=12*(C.year()-x.year())+(C.month()-x.month()),R=x.clone().add(O,f),$=C-R<0,B=x.clone().add(O+($?-1:1),f);return+(-(O+(C-R)/($?R-B:B-R))||0)},a:function(v){return v<0?Math.ceil(v)||0:Math.floor(v)},p:function(v){return{M:f,y:L,w:h,d,D:N,h:c,m:o,s:a,ms:n,Q:D}[v]||String(v||"").toLowerCase().replace(/s$/,"")},u:function(v){return v===void 0}},H="en",g={};g[H]=_;var b=function(v){return v instanceof A},m=function v(x,C,O){var R;if(!x)return H;if(typeof x=="string"){var $=x.toLowerCase();g[$]&&(R=$),C&&(g[$]=C,R=$);var B=x.split("-");if(!R&&B.length>1)return v(B[0])}else{var q=x.name;g[q]=x,R=q}return!O&&R&&(H=R),R||!O&&H},w=function(v,x){if(b(v))return v.clone();var C=typeof x=="object"?x:{};return C.date=v,C.args=arguments,new A(C)},s=T;s.l=m,s.i=b,s.w=function(v,x){return w(v,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var A=function(){function v(C){this.$L=m(C.locale,null,!0),this.parse(C)}var x=v.prototype;return x.parse=function(C){this.$d=function(O){var R=O.date,$=O.utc;if(R===null)return new Date(NaN);if(s.u(R))return new Date;if(R instanceof Date)return new Date(R);if(typeof R=="string"&&!/Z$/i.test(R)){var B=R.match(p);if(B){var q=B[2]-1||0,G=(B[7]||"0").substring(0,3);return $?new Date(Date.UTC(B[1],q,B[3]||1,B[4]||0,B[5]||0,B[6]||0,G)):new Date(B[1],q,B[3]||1,B[4]||0,B[5]||0,B[6]||0,G)}}return new Date(R)}(C),this.$x=C.x||{},this.init()},x.init=function(){var C=this.$d;this.$y=C.getFullYear(),this.$M=C.getMonth(),this.$D=C.getDate(),this.$W=C.getDay(),this.$H=C.getHours(),this.$m=C.getMinutes(),this.$s=C.getSeconds(),this.$ms=C.getMilliseconds()},x.$utils=function(){return s},x.isValid=function(){return this.$d.toString()!==U},x.isSame=function(C,O){var R=w(C);return this.startOf(O)<=R&&R<=this.endOf(O)},x.isAfter=function(C,O){return w(C)<this.startOf(O)},x.isBefore=function(C,O){return this.endOf(O)<w(C)},x.$g=function(C,O,R){return s.u(C)?this[O]:this.set(R,C)},x.unix=function(){return Math.floor(this.valueOf()/1e3)},x.valueOf=function(){return this.$d.getTime()},x.startOf=function(C,O){var R=this,$=!!s.u(O)||O,B=s.p(C),q=function(ye,ce){var xe=s.w(R.$u?Date.UTC(R.$y,ce,ye):new Date(R.$y,ce,ye),R);return $?xe:xe.endOf(d)},G=function(ye,ce){return s.w(R.toDate()[ye].apply(R.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(ce)),R)},Y=this.$W,ne=this.$M,ge=this.$D,me="set"+(this.$u?"UTC":"");switch(B){case L:return $?q(1,0):q(31,11);case f:return $?q(1,ne):q(0,ne+1);case h:var Ee=this.$locale().weekStart||0,oe=(Y<Ee?Y+7:Y)-Ee;return q($?ge-oe:ge+(6-oe),ne);case d:case N:return G(me+"Hours",0);case c:return G(me+"Minutes",1);case o:return G(me+"Seconds",2);case a:return G(me+"Milliseconds",3);default:return this.clone()}},x.endOf=function(C){return this.startOf(C,!1)},x.$set=function(C,O){var R,$=s.p(C),B="set"+(this.$u?"UTC":""),q=(R={},R[d]=B+"Date",R[N]=B+"Date",R[f]=B+"Month",R[L]=B+"FullYear",R[c]=B+"Hours",R[o]=B+"Minutes",R[a]=B+"Seconds",R[n]=B+"Milliseconds",R)[$],G=$===d?this.$D+(O-this.$W):O;if($===f||$===L){var Y=this.clone().set(N,1);Y.$d[q](G),Y.init(),this.$d=Y.set(N,Math.min(this.$D,Y.daysInMonth())).$d}else q&&this.$d[q](G);return this.init(),this},x.set=function(C,O){return this.clone().$set(C,O)},x.get=function(C){return this[s.p(C)]()},x.add=function(C,O){var R,$=this;C=Number(C);var B=s.p(O),q=function(ne){var ge=w($);return s.w(ge.date(ge.date()+Math.round(ne*C)),$)};if(B===f)return this.set(f,this.$M+C);if(B===L)return this.set(L,this.$y+C);if(B===d)return q(1);if(B===h)return q(7);var G=(R={},R[o]=i,R[c]=u,R[a]=r,R)[B]||1,Y=this.$d.getTime()+C*G;return s.w(Y,this)},x.subtract=function(C,O){return this.add(-1*C,O)},x.format=function(C){var O=this,R=this.$locale();if(!this.isValid())return R.invalidDate||U;var $=C||"YYYY-MM-DDTHH:mm:ssZ",B=s.z(this),q=this.$H,G=this.$m,Y=this.$M,ne=R.weekdays,ge=R.months,me=function(ce,xe,Fe,Ce){return ce&&(ce[xe]||ce(O,$))||Fe[xe].slice(0,Ce)},Ee=function(ce){return s.s(q%12||12,ce,"0")},oe=R.meridiem||function(ce,xe,Fe){var Ce=ce<12?"AM":"PM";return Fe?Ce.toLowerCase():Ce},ye={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Y+1,MM:s.s(Y+1,2,"0"),MMM:me(R.monthsShort,Y,ge,3),MMMM:me(ge,Y),D:this.$D,DD:s.s(this.$D,2,"0"),d:String(this.$W),dd:me(R.weekdaysMin,this.$W,ne,2),ddd:me(R.weekdaysShort,this.$W,ne,3),dddd:ne[this.$W],H:String(q),HH:s.s(q,2,"0"),h:Ee(1),hh:Ee(2),a:oe(q,G,!0),A:oe(q,G,!1),m:String(G),mm:s.s(G,2,"0"),s:String(this.$s),ss:s.s(this.$s,2,"0"),SSS:s.s(this.$ms,3,"0"),Z:B};return $.replace(l,function(ce,xe){return xe||ye[ce]||B.replace(":","")})},x.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},x.diff=function(C,O,R){var $,B=s.p(O),q=w(C),G=(q.utcOffset()-this.utcOffset())*i,Y=this-q,ne=s.m(this,q);return ne=($={},$[L]=ne/12,$[f]=ne,$[D]=ne/3,$[h]=(Y-G)/6048e5,$[d]=(Y-G)/864e5,$[c]=Y/u,$[o]=Y/i,$[a]=Y/r,$)[B]||Y,R?ne:s.a(ne)},x.daysInMonth=function(){return this.endOf(f).$D},x.$locale=function(){return g[this.$L]},x.locale=function(C,O){if(!C)return this.$L;var R=this.clone(),$=m(C,O,!0);return $&&(R.$L=$),R},x.clone=function(){return s.w(this.$d,this)},x.toDate=function(){return new Date(this.valueOf())},x.toJSON=function(){return this.isValid()?this.toISOString():null},x.toISOString=function(){return this.$d.toISOString()},x.toString=function(){return this.$d.toUTCString()},v}(),y=A.prototype;return w.prototype=y,[["$ms",n],["$s",a],["$m",o],["$H",c],["$W",d],["$M",f],["$y",L],["$D",N]].forEach(function(v){y[v[1]]=function(x){return this.$g(x,v[0],v[1])}}),w.extend=function(v,x){return v.$i||(v(x,A,w),v.$i=!0),w},w.locale=m,w.isDayjs=b,w.unix=function(v){return w(1e3*v)},w.en=g[H],w.Ls=g,w.p={},w})})(As);class ve{constructor(e,r,i,u,n){this.kind=e,this.input=r,this.begin=i,this.end=u,this.file=n}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[e,r]=[1,1];for(let i=0;i<this.begin;i++)this.input[i]===`
|
|
66
|
-
|
|
47
|
+
</mj-html--attributes>`})}addHeadItems(e){e.id?this.headItems.find(r=>r.id===e.id)||this.headItems.push({id:e.id,content:e.content,type:e.type}):this.headItems.push({id:e.id,content:e.content,type:e.type})}}const Qu=A.createContext({}),br=class{static toMJML(e){const{element:r,pageElement:i,beautify:u,universalElements:n,mode:a,displayMode:o="desktop-mobile",idx:c,mergetagsData:d}=e,_=ee.getBlockByType(r.type);if(!_)throw new Error(`Block ${r.type} not found`);if(!i&&_.category!==k.PAGE)throw new Error("Page element is required if element is not a page");const h=n?br.transformUniversalElements({universalElements:n.elements,content:L.cloneDeep(r)}):L.cloneDeep(r),b=new Yu({mode:a}),q={content:i||r};let N=c;_.category===k.PAGE&&(N=J.getPageIdx());let U=Ve.unescape(xr.renderToStaticMarkup(A.createElement(Kt,{universalElements:n,mode:e.mode,context:q,displayMode:o,keepEmptyAttributes:!!e.keepEmptyAttributes,mergetagsData:d},A.createElement(Xu,{context:b},A.createElement(ue,{idx:N,node:h})))));const p=b.getHeadContent();return U=U.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,p),Ou(e)||(U=U.replace(/\<mj-html-attributes\>([\w\W]*?)\<\/mj-html-attributes\>/,"")),u?Wt.html(U,{indent_size:2}):U}static elementToMjml(e,r){return Ve.unescape(xr.renderToStaticMarkup(A.createElement(Kt,{universalElements:r.universalElements,mode:r.mode,context:{content:r.pageElement},displayMode:r.displayMode||"desktop-mobile",keepEmptyAttributes:!!r.keepEmptyAttributes,mergetagsData:r.mergetagsData},A.createElement(ue,{node:L.cloneDeep(e)}))))}static mjmlToBlockElement(e){const i=new DOMParser().parseFromString(e,"text/html"),u=n=>{if(n.nodeType===8)return ee.getBlockByType(K.RAW).create({data:{content:n.textContent||""}});if(n.nodeType===3)return{text:n.textContent||""};if(n.nodeType!==1)throw new Error("Invalid");const a=n;let o={},c=a.tagName.toLocaleLowerCase().replace("mj-","");const d=a.getAttribute("style"),_=d==null?void 0:d.split(";").map(N=>{const U=N.split(":");return{[U[0]]:U[1]}}).reduce((N,U)=>S(S({},N),U),{});let h=a.getAttributeNames().filter(N=>!N.startsWith("element-")).reduce((N,U)=>j(S({},N),{[U]:a.getAttribute(U)||""}),{});a.getAttribute("element-type")&&(c=a.getAttribute("element-type")),a.getAttribute("element-data")&&(o=JSON.parse(decodeURIComponent(a.getAttribute("element-data")))),a.getAttribute("element-attributes")&&(h=JSON.parse(decodeURIComponent(a.getAttribute("element-attributes")))||{});const b=ee.getBlockByType(c);if(!b){const N=S({text:a.textContent||""},_),U=p=>{const l=p.tagName.toLowerCase();l==="strong"?N.bold=!0:l==="em"?N.italic=!0:l==="u"?N.underline=!0:l==="del"?N.strikethrough=!0:l==="a"&&(N.link={href:a.getAttribute("href")||"",blank:a.getAttribute("target")==="_blank"})};return[...a.children].forEach(U),N}const q=b.void?[]:a.childNodes.length>0?[...a.childNodes].map(u):[];return{type:c,data:o,attributes:h,children:q}};return u(i.body.firstChild)}static isPageDataVariable(e){return/\$var\(([\s\S]+)\)/g.test(e)}};let Te=br;Q(Te,"version","0.5.0"),Q(Te,"getPageDataVariables",e=>{var r;return((r=e.data.variables)==null?void 0:r.reduce((i,u)=>j(S({},i),{[u.name]:u.value}),{}))||{}}),Q(Te,"renderWithPageVariables",(e,r)=>{if(!r)return e;const i=L.cloneDeep(e);if(typeof i=="string")return i.replace(/\$var\(([\s\S]+)\)/g,(n,a)=>L.get(r,a,""));const u=n=>{L.forOwn(n,(a,o)=>{typeof a=="object"?o!=="children"&&u(a):typeof a=="string"&&(n[o]=a.replace(/\$var\(([\s\S]+)\)/g,(c,d)=>L.get(r,d,"")))})};return u(i),i}),Q(Te,"getUniversalElements",Nu),Q(Te,"transformUniversalElements",Lu);const wi=A.createContext({}),Ci=()=>A.useContext(wi),Kt=t=>{const e=A.useMemo(()=>{const r=Te.getPageDataVariables(t.context.content);return j(S({},t),{pageVariables:r})},[t]);return A.createElement(wi.Provider,{value:e},t.children)};var Ti=(t=>(t.RESPONSIVE="RESPONSIVE",t.TEMPLATE_ENGINE="TEMPLATE_ENGINE",t))(Ti||{});class rr{constructor(){Q(this,"enabledResponsive",!0)}}Q(rr,"type","RESPONSIVE");class At{}Q(At,"type","TEMPLATE_ENGINE");class Bi{}const Ce=class{static registerPlugins(e){e.forEach(r=>{Ce.registerPlugin(r)})}static registerPlugin(e){const r=new e;r instanceof rr?(Ce.enabledResponsive=r.enabledResponsive,Ce.generateResponsive=r.generateResponsive):r instanceof At?(Ce.generateIterationTemplate=r.generateIterationTemplate,Ce.generateConditionTemplate=r.generateConditionTemplate,Ce.generateVariable=r.generateVariable,Ce.isVariable=r.isVariable,Ce.renderWithData=r.renderWithData):r instanceof Bi&&r.generateElement()}};let pe=Ce;Q(pe,"enabledResponsive",!1),Q(pe,"generateResponsive",e=>e.desktopContent),Q(pe,"generateIterationTemplate",(e,r)=>r),Q(pe,"isVariable",e=>!1),Q(pe,"generateConditionTemplate",(e,r)=>r),Q(pe,"generateVariable",e=>e),Q(pe,"renderWithData",(e,r)=>e);const ue=t=>{var P,T,H,m,y;const{children:e,node:r,idx:i}=t,{mode:u,context:n,displayMode:a,keepEmptyAttributes:o,mergetagsData:c,pageVariables:d}=Ci(),_=ee.getBlockByType(r.type);if(!_)throw new Error(M("*** block is not registered",r.type));let h=j(S({},r),{attributes:S({},r.attributes),mobileAttributes:S({},r.mobileAttributes)});const b=L.get(h,"attributes.css-class")||"";u==="production"&&L.set(h,"attributes.css-class",b.replace(Qt,""));const q=(P=h.attributes["mj-class"])==null?void 0:P.trim();if(q&&n.content.data.classAttributes){const g={},v=q.split(" ").map(s=>s.trim()).filter(Boolean);Object.values(v).forEach(s=>{L.get(n.content.data.classAttributes,s)&&Object.assign(g,L.get(n.content.data.classAttributes,s))}),h.attributes=V(g,h.attributes)}const N=(T=n.content.data.blockAttributes)==null?void 0:T[h.type];N&&(h.attributes=V(N,h.attributes));const U=(H=n.content.data.categoryAttributes)==null?void 0:H[_.category];if(n.content.data.globalAttributes&&(h.attributes=V(n.content.data.globalAttributes,h.attributes)),U&&(h.attributes=V(U,h.attributes)),J.isSectionElement(r)||J.isWrapperElement(r)){const g=n.content.attributes["content-background-color"];g&&(h.attributes=V({"background-color":g},h.attributes))}h=Te.renderWithPageVariables(h,d);const l=_.render(j(S({},t),{mode:u,children:e,context:n,idx:i,node:h,keepEmptyAttributes:o,mergetagsData:c}));let f=l;if(f=pe.generateResponsive({mode:u,children:e,context:n,idx:i,node:h,keepEmptyAttributes:o,mergetagsData:c,desktopContent:l,displayMode:a}),u==="production"){const g=(m=r.logic)==null?void 0:m.condition,v=(y=r.logic)==null?void 0:y.iteration;v&&v.enabled&&(f=pe.generateIterationTemplate(v,f)),g&&g.enabled&&(f=pe.generateConditionTemplate(g,f))}return A.createElement(A.Fragment,null,f)},je=({node:t})=>{let e=t.text;const r={};return e?(t.bold&&(e=A.createElement("strong",null,e)),t.italic&&(e=A.createElement("em",null,e)),t.underline&&(e=A.createElement("u",null,e)),t.strikethrough&&(e=A.createElement("del",null,e)),t.link&&(e=A.createElement("a",{href:t.link.href,target:t.link.blank?"_blank":void 0},e)),t.color&&(r.color=t.color),t.bgColor&&(r.backgroundColor=t.bgColor),t.fontSize&&(r.fontSize=t.fontSize),t.fontFamily&&(r.fontFamily=t.fontFamily),L.isString(e)&&Object.keys(r).length===0?A.createElement(A.Fragment,null,e):A.createElement("span",{style:r},e)):null};function se(t){const{params:e,params:{node:r,idx:i,children:u,keepEmptyAttributes:n},tag:a,children:o}=t,c=o||u,d=vu(e,{keepEmptyAttributes:n,removeDefaultAttributes:e.mode==="production"}),_=A.createElement(A.Fragment,null,`<${a}${d?` ${d}`:""}>`,c||r.children.map((h,b)=>J.isTextNode(h)?J.isTextListElement(r)?A.createElement(A.Fragment,{key:b},"<li>",A.createElement(je,j(S({key:b},e),{node:h})),"</li>"):A.createElement(je,j(S({key:b},e),{node:h})):A.createElement(ue,j(S({key:b},e),{idx:i?J.getChildIdx(i,b):null,node:h}))),`</${a}>`);return A.createElement(A.Fragment,null,_)}const ki=t=>{if(A.isValidElement(t)||L.isString(t)||L.isUndefined(t)||L.isNumber(t)||L.isBoolean(t)||t===null||Array.isArray(t)&&t.every(e=>ki(e)))return!0};function Z(t){return!!ki(t)}function Si(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.WRAPPER,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function Ri(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.SECTION,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function Fi(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.GROUP,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function Oi(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.COLUMN,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function Ni(t){const a=t,{data:e,children:r,idx:i}=a,u=ie(a,["data","children","idx"]),n={type:F.BUTTON,data:e||{},attributes:S({},u),children:Z(r)?[]:r||[]};return A.createElement(ue,{idx:i,node:n,children:Z(r)?r:null})}function Li(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.IMAGE,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function yt(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.TEXT,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function qi(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.SPACER,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function Le(t){const a=t,{data:e,children:r,idx:i}=a,u=ie(a,["data","children","idx"]),n={type:F.RAW,data:e||{content:r||""},attributes:S({},u),children:Z(r)?[]:r||[]};return A.createElement(ue,{idx:i,node:n,children:Z(r)?r:null})}function Ii(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.DIVIDER,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function Pi(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.NAVBAR,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function Mi(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.NAVBAR_LINK,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function Ui(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.SOCIAL,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function $i(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.SOCIAL_ELEMENT,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function Vi(t){const a=t,{data:e,idx:r,children:i}=a,u=ie(a,["data","idx","children"]),n={type:F.HERO,data:e||{},attributes:S({},u),children:Z(i)?[]:i||[]};return A.createElement(ue,{idx:r,node:n,children:Z(i)?i:null})}function Ju(t){const a=t,{tagName:e,children:r,idx:i}=a,u=ie(a,["tagName","children","idx"]),n={type:F.HTML_NODE,data:{tagName:e},attributes:S({},u),children:Z(r)?[]:r||[]};return A.createElement(ue,{idx:i,node:n,children:Z(r)?r:null})}function Zu(t){const n=t,{idx:e,children:r}=n,i=ie(n,["idx","children"]),u={type:K.FOR_EACH,data:S({},i),attributes:{},children:Z(r)?[]:r||[]};return A.createElement(ue,{idx:e,node:u,children:Z(r)?r:null})}function en(t){const n=t,{idx:e,children:r}=n,i=ie(n,["idx","children"]),u={type:K.SHOW,data:j(S({},i),{component:r}),attributes:{},children:[]};return A.createElement(ue,{idx:e,node:u,children:r})}const tn=({node:t})=>A.createElement(ue,{node:j(S({},t),{attributes:j(S({},t.attributes),{"css-class":gi(t.attributes["css-class"],Qt)})})}),rn=Object.freeze(Object.defineProperty({__proto__:null,BasicBlock:se,BlockRenderer:ue,Button:Ni,Column:Oi,ContentEditableBlock:tn,ContentLeaf:je,Divider:Ii,ForEach:Zu,Group:Fi,Hero:Vi,HtmlNode:Ju,Image:Li,Navbar:Pi,NavbarLink:Mi,Raw:Le,Section:Ri,Show:en,Social:Ui,SocialElement:$i,Spacer:qi,Text:yt,Wrapper:Si},Symbol.toStringTag,{value:"Module"})),un={attributes:{width:"600px","margin-top":"30px","margin-bottom":"30px","link-text-decoration":"underline"},data:{breakpoint:"480px"}},nn={get name(){return M("Page")},defaultData:un,type:F.PAGE,create:t=>{const e={type:F.PAGE,data:{breakpoint:"480px",globalAttributes:{"font-family":"Arial, sans-serif"}},attributes:{},children:[]};return V(e,t)},category:k.PAGE,render(t){var p,l,f,P,T,H;const{node:e,node:{data:r,attributes:i},mode:u}=t,n=r.breakpoint?`<mj-breakpoint width="${r.breakpoint}" />`:"",a=[...r.headStyles||[]];u==="testing"?a.unshift({content:mi}):(a.unshift({content:Su}),a.unshift({content:Ru,inline:"inline"}));const o=a.map(m=>`<mj-style ${m.inline?'inline="inline"':""}>${m.content}</mj-style>`).join(`
|
|
48
|
+
`)||"",c={color:((p=i["link-color"])==null?void 0:p.trim())||"inherit","font-weight":(l=i["link-font-weight"])==null?void 0:l.trim(),"text-decoration":(f=i["link-text-decoration"])==null?void 0:f.trim(),"font-style":(P=i["link-font-style"])==null?void 0:P.trim()},d=Object.keys(c).map(m=>{const y=c;return y[m]?`${m}: ${y[m]}`:""}).filter(Boolean).join(";"),_=`<mj-style>a {${d}} a:hover {${d}} a:active {${d}}</mj-style>`,h=i["background-color"]?`background-color="${i["background-color"]}"`:"",b=i["margin-top"]&&i["margin-top"]!=="0px"?`<mj-section padding="0px"><mj-column><mj-spacer height="${i["margin-top"]}"></mj-spacer></mj-column></mj-section>`:"",q=i["margin-bottom"]&&i["margin-bottom"]!=="0px"?`<mj-section padding="0px"><mj-column><mj-spacer height="${i["margin-top"]}"></mj-spacer></mj-column></mj-section>`:"",N=r.preheader?`<mj-preview>${r.preheader}</mj-preview>`:"",U=i.width||"600px";return A.createElement(A.Fragment,null,`
|
|
49
|
+
<mjml>
|
|
50
|
+
<mj-head>
|
|
51
|
+
<mj-style inline="inline">.mjml-body { width: ${U}; margin: 0px auto; }</mj-style>
|
|
52
|
+
${o}
|
|
53
|
+
${_}
|
|
54
|
+
<!-- GLOBAL_EXTRACT_HEADER -->
|
|
55
|
+
${n}
|
|
56
|
+
${N}
|
|
57
|
+
${(T=r.fonts)!=null&&T.length?(H=r.fonts)==null?void 0:H.filter(Boolean).map(m=>`<mj-font name="${m.name}" href="${m.href}" />`):""}
|
|
58
|
+
|
|
59
|
+
</mj-head>
|
|
60
|
+
<mj-body width="${U}" ${h} css-class="mjbody">
|
|
61
|
+
${b}
|
|
62
|
+
`,e.children.map((m,y)=>A.createElement(ue,j(S({},t),{idx:J.getChildIdx(J.getPageIdx(),y),key:y,node:m}))),`
|
|
63
|
+
${q}
|
|
64
|
+
|
|
65
|
+
</mj-body></mjml>`)}},sn=mi,an={attributes:{"background-repeat":"no-repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0px","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},ji={get name(){return M("Wrapper")},defaultData:an,type:F.WRAPPER,create:t=>{const e={type:F.WRAPPER,data:{},attributes:{},children:[]};return V(e,t)},category:k.WRAPPER,render(t){return A.createElement(se,{params:t,tag:"mj-wrapper"})}},on={attributes:{"background-repeat":"repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},zi={get name(){return M("Row")},defaultData:on,type:F.SECTION,create:t=>{const e={type:F.SECTION,data:{},attributes:{},children:[]};return V(e,t)},category:k.SECTION,render(t){return A.createElement(se,{params:t,tag:"mj-section"})}},ln={attributes:{direction:"ltr","vertical-align":"top",width:"100%"},data:{}},Hi={get name(){return M("Group")},defaultData:ln,type:F.GROUP,create:t=>{const e={type:F.GROUP,data:{},attributes:{},children:[]};return V(e,t)},category:k.GROUP,render(t){return A.createElement(se,{params:t,tag:"mj-group"})}},cn={attributes:{direction:"ltr","vertical-align":"top"},data:{}},Gi={get name(){return M("Column")},defaultData:cn,type:F.COLUMN,create:t=>{const e={type:F.COLUMN,data:{},attributes:{},children:[]};return V(e,t)},category:k.COLUMN,render(t){return A.createElement(se,{params:t,tag:"mj-column"})}},pn={attributes:{align:"left",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","letter-spacing":"0px"},data:{}},Wi={get name(){return M("Text")},defaultData:pn,type:F.TEXT,create:t=>{const e={type:F.TEXT,data:{},attributes:{},children:[]};return V(e,t)},category:k.TEXT,render(t){return A.createElement(se,{params:t,tag:"mj-text"})}},hn={attributes:{align:"center","background-color":"#414141",border:"none","border-radius":"3px",color:"#ffffff","font-family":"Arial","font-size":"13px","font-weight":"normal","inner-padding":"10px 25px","letter-spacing":"0px","line-height":"16px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}},Ki={get name(){return M("Button")},defaultData:hn,type:F.BUTTON,create:t=>{const e={type:F.BUTTON,data:{},attributes:{},children:[]};return V(e,t)},category:k.BUTTON,render(t){return A.createElement(se,{params:t,tag:"mj-button"})}},dn={attributes:{align:"center",border:"0",height:"auto",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank"},data:{}},Xi={get name(){return M("Image")},void:!0,defaultData:dn,type:F.IMAGE,create:t=>{const e={type:F.IMAGE,data:{},attributes:{},children:[]};return V(e,t)},category:k.IMAGE,render(t){return A.createElement(se,{params:t,tag:"mj-image"})}},fn={attributes:{height:"20px"},data:{}},Yi={get name(){return M("Spacer")},defaultData:fn,type:F.SPACER,create:t=>{const e={type:F.SPACER,data:{},attributes:{},children:[]};return V(e,t)},category:k.SPACER,render(t){return A.createElement(se,{params:t,tag:"mj-spacer"})}},_n={attributes:{},data:{content:""}},gn={get name(){return M("Raw")},defaultData:_n,type:F.RAW,create:t=>{const e={type:F.RAW,data:{content:""},attributes:{},children:[]};return V(e,t)},category:k.RAW,render(t){return t.mode==="testing"?A.createElement(se,{tag:"span",params:j(S({},t),{node:j(S({},t.node),{attributes:{"element-type":F.RAW,"element-category":k.RAW,"element-data":encodeURIComponent(JSON.stringify(t.node.data))}})})}):A.createElement(se,{params:t,tag:"mj-raw"},t.node.data.content)}},mn={attributes:{},data:{}},bn={get name(){return M("Mergetag")},defaultData:mn,type:F.MERGETAG,create:t=>{const e={type:F.MERGETAG,data:{},attributes:{},children:[]};return V(e,t)},inlineElement:!0,category:k.INLINE_TEXT,render(t){if(t.mode==="production"){const e=t.node.children[0];return A.createElement(je,{node:j(S({},e),{text:pe.generateVariable(e.text,t.node.data.default)})})}return A.createElement(se,{tag:"span",params:j(S({},t),{node:j(S({},t.node),{attributes:{"element-type":F.MERGETAG,"element-category":k.INLINE_TEXT}})})})}},Dn={attributes:{},data:{}},An={get name(){return M("Line brack")},defaultData:Dn,type:F.LINE_BREAK,create:t=>{const e={type:F.LINE_BREAK,data:{},attributes:{},children:[]};return V(e,t)},inlineElement:!0,category:k.INLINE_TEXT,render(t){if(t.mode==="production"){const e=t.node.children[0];return A.createElement(je,{node:j(S({},e),{text:"<br />"})})}return A.createElement(se,{tag:"span",params:j(S({},t),{node:j(S({},t.node),{attributes:{"element-type":F.LINE_BREAK,"element-category":k.INLINE_TEXT}})})})}},yn={attributes:{align:"center","border-radius":"3px",color:"#333333","font-family":"Arial","font-size":"13px","icon-size":"20px","line-height":"22px",mode:"horizontal",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","text-decoration":"none"},data:{}},Qi={get name(){return M("Social")},defaultData:yn,type:F.SOCIAL,create:t=>{const e={type:F.SOCIAL,data:{},attributes:{},children:[]};return V(e,t)},category:k.SOCIAL,render(t){return A.createElement(se,{params:t,tag:"mj-social"})}},En={attributes:{align:"center","base-url":null,hamburger:null,"ico-align":"center","ico-open":"☰","ico-close":"⊗","ico-color":"#000000","ico-font-size":"30px","ico-font-family":"Arial","ico-text-transform":"uppercase","ico-padding":"10px","ico-text-decoration":"none","ico-line-height":"30px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px"},data:{}},Ji={get name(){return M("Navbar")},defaultData:En,type:F.NAVBAR,create:t=>{const e={type:F.NAVBAR,data:{},attributes:{},children:[]};return V(e,t)},category:k.NAVBAR,render(t){return A.createElement(se,{params:t,tag:"mj-navbar"})}},xn={attributes:{align:"center","border-width":"4px","border-style":"solid","border-color":"#000000",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",width:"100%"},data:{}},Zi={get name(){return M("Divider")},defaultData:xn,type:K.DIVIDER,create:t=>{const e={type:K.DIVIDER,data:{},attributes:{},children:[]};return V(e,t)},category:k.DIVIDER,render(t){return A.createElement(se,{params:t,tag:"mj-divider"})}},vn={attributes:{color:"#000000","font-family":"Arial","font-size":"13px","font-weight":"normal","line-height":"22px",padding:"15px 10px","padding-top":"15px","padding-right":"10px","padding-bottom":"15px","padding-left":"10px",target:"_blank","text-decoration":"none","text-transform":"uppercase"},data:{}},eu={get name(){return M("Navbar Link")},defaultData:vn,type:F.NAVBAR_LINK,create:t=>{const e={type:F.NAVBAR_LINK,data:{},attributes:{},children:[]};return V(e,t)},category:k.UNSET,render(t){return A.createElement(se,{params:t,tag:"mj-navbar-link"})}},wn={attributes:{align:"left",color:"#000","border-radius":"3px","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"4px","padding-top":"4px","padding-right":"4px","padding-bottom":"4px","padding-left":"4px","text-padding":"4px 4px 4px 0",target:"_blank","text-decoration":"none","vertical-align":"middle"},data:{}},tu={get name(){return M("Social")},defaultData:wn,type:F.SOCIAL_ELEMENT,create:t=>{const e={type:F.SOCIAL_ELEMENT,data:{},attributes:{},children:[]};return V(e,t)},category:k.UNSET,render(t){return A.createElement(se,{params:t,tag:"mj-social-element"})}},Cn={attributes:{"background-color":"#ffffff","background-position":"center center",mode:"fluid-height","vertical-align":"top"},data:{}},ru={get name(){return M("Hero")},defaultData:Cn,type:F.HERO,create:t=>{const e={type:F.HERO,data:{},attributes:{},children:[]};return V(e,t)},category:k.HERO,render(t){return A.createElement(se,{params:t,tag:"mj-hero"})}},Tn={attributes:{},data:{}},Bn={get name(){return M("Placeholder")},defaultData:Tn,type:F.PLACEHOLDER,create:t=>{const e={type:F.PLACEHOLDER,data:{},attributes:{},children:[{text:""}]};return V(e,t)},category:k.UNSET,render(t){return t.mode==="production"?null:A.createElement(se,{tag:"span",params:j(S({},t),{node:j(S({},t.node),{attributes:{"element-type":F.PLACEHOLDER,"element-category":k.UNSET}})})})}},kn={attributes:{},data:{tagName:"span"}},Sn={get name(){return M("HtmlNode")},inlineElement:!0,defaultData:kn,type:K.HTML_NODE,create:t=>{const e={type:K.HTML_NODE,data:{tagName:"span"},attributes:{},children:[{text:""}]};return V(e,t)},category:k.INLINE_TEXT,render(t){return t.mode==="production"?A.createElement(se,{tag:t.node.data.tagName,params:t}):A.createElement(se,{tag:t.node.data.tagName||"span",params:j(S({},t),{node:j(S({},t.node),{attributes:{"element-type":K.HTML_NODE,"element-category":k.INLINE_TEXT,"element-data":encodeURIComponent(JSON.stringify(t.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(t.node.attributes))}})})})}},Rn={[F.PAGE]:nn,[F.HERO]:ru,[F.WRAPPER]:ji,[F.SECTION]:zi,[F.GROUP]:Hi,[F.COLUMN]:Gi,[F.TEXT]:Wi,[F.IMAGE]:Xi,[F.BUTTON]:Ki,[F.SPACER]:Yi,[F.DIVIDER]:Zi,[F.SOCIAL]:Qi,[F.SOCIAL_ELEMENT]:tu,[F.NAVBAR]:Ji,[F.NAVBAR_LINK]:eu,[F.RAW]:gn,[F.MERGETAG]:bn,[F.LINE_BREAK]:An,[F.PLACEHOLDER]:Bn,[F.HTML_NODE]:Sn},Fn=L.merge(Hi.defaultData,{attributes:{},data:{}}),On={get name(){return M("Column")},defaultData:Fn,type:X.STANDARD_GROUP,create:t=>{const e={type:X.STANDARD_GROUP,data:{},attributes:{},children:[]};return V(e,t)},category:k.GROUP,render(t){const{node:e}=t;return A.createElement(Fi,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},Nn=L.merge(zi.defaultData,{attributes:{"vertical-align":"top"},data:{}}),Ln={get name(){return M("Section")},defaultData:Nn,type:X.STANDARD_SECTION,create:t=>{const e={type:X.STANDARD_SECTION,data:{},attributes:{},children:[]};return V(e,t)},category:k.SECTION,render(t){const{node:e}=t,_=L.cloneDeep(e.attributes),{"border-enabled":i,"border-width":u,"border-style":n,"border-color":a,"vertical-align":o="top"}=_,c=ie(_,["border-enabled","border-width","border-style","border-color","vertical-align"]);c["background-image-enabled"]||(delete c["background-image-enabled"],c["background-url"]="");const d=i?`${u||"1px"} ${n||"solid"} ${a||"#AAAAAA"}`:"";return A.createElement(Ri,j(S({padding:"",idx:t.idx},c),{border:d,data:e.data,children:e.children}))}},qn=L.merge(Gi.defaultData,{attributes:{},data:{}}),In={get name(){return M("Column")},defaultData:qn,type:X.STANDARD_COLUMN,create:t=>{const e={type:X.STANDARD_COLUMN,data:{},attributes:{},children:[]};return V(e,t)},category:k.COLUMN,render(t){const{node:e}=t;return A.createElement(Oi,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},et=L.merge(Ki.defaultData,{attributes:{"inner-padding-top":"10px","inner-padding-bottom":"10px","inner-padding-left":"25px","inner-padding-right":"25px","border-width":"1px","border-style":"solid","border-color":"#AAAAAA","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}}),Pn={get name(){return M("Button")},defaultData:et,type:X.STANDARD_BUTTON,create:t=>{const e={type:X.STANDARD_BUTTON,data:{content:"Button"},attributes:{},children:[{text:M("Click")}]};return V(e,t)},category:k.BUTTON,render(t){const{node:e}=t,l=e.attributes,{"inner-padding-top":r,"inner-padding-bottom":i,"inner-padding-left":u,"inner-padding-right":n,"border-enabled":a,"border-width":o,"border-style":c,"border-color":d}=l,_=ie(l,["inner-padding-top","inner-padding-bottom","inner-padding-left","inner-padding-right","border-enabled","border-width","border-style","border-color"]),h=r||et.attributes["inner-padding-top"],b=n||et.attributes["inner-padding-right"],q=i||et.attributes["inner-padding-bottom"],N=u||et.attributes["inner-padding-left"],U=`${h} ${b} ${q} ${N}`,p=a?`${o||"1px"} ${c||"solid"} ${d||"#AAAAAA"}`:"";return A.createElement(Ni,j(S({idx:t.idx},_),{border:p,"inner-padding":U,data:e.data,children:e.children}))}},Mn=L.merge(Xi.defaultData,{attributes:{},data:{}}),Un={get name(){return M("Image")},void:!0,defaultData:Mn,type:X.STANDARD_IMAGE,create:t=>{const e={type:X.STANDARD_IMAGE,data:{},attributes:{},children:[]};return V(e,t)},category:k.IMAGE,render(t){const{node:e}=t,c=e.attributes,{"border-enabled":r,"border-width":i,"border-style":u,"border-color":n}=c,a=ie(c,["border-enabled","border-width","border-style","border-color"]),o=r?`${i} ${u} ${n}`:"";return A.createElement(Li,j(S({idx:t.idx},a),{data:e.data,border:o,children:e.children}))}},$n=L.merge(Yi.defaultData,{attributes:{},data:{}}),Vn={get name(){return M("Spacer")},void:!0,defaultData:$n,type:X.STANDARD_SPACER,create:t=>{const e={type:X.STANDARD_SPACER,data:{},attributes:{},children:[]};return V(e,t)},category:k.SPACER,render(t){const{node:e}=t;return A.createElement(qi,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},jn=L.merge(Ji.defaultData,{attributes:{"item-padding-top":"15px","item-padding-bottom":"15px","item-padding-left":"10px","item-padding-right":"10px"},data:{}}),zn={void:!0,get name(){return M("Navbar")},defaultData:jn,type:X.STANDARD_NAVBAR,create:t=>{const e={type:X.STANDARD_NAVBAR,data:{},attributes:{},children:[{data:{},type:"standard-navbar-link",children:[{text:"Shop"}],attributes:{href:"","font-size":"20px"}},{data:{},type:"standard-navbar-link",children:[{text:"About"}],attributes:{href:"","font-size":"20px"}},{data:{},type:"standard-navbar-link",children:[{text:"Contact"}],attributes:{href:"","font-size":"20px"}},{data:{},type:"standard-navbar-link",children:[{text:"Blog"}],attributes:{href:"","font-size":"20px"}}]};return V(e,t)},category:k.NAVBAR,render(t){const{node:e,idx:r}=t,i=ie(e.attributes,[]);return A.createElement(Pi,j(S({idx:t.idx},L.omit(i,["color","font-family","font-size","font-style","font-weight","line-height","letter-spacing","text-decoration","text-transform","spacing","item-padding-top","item-padding-bottom","item-padding-left","item-padding-right"])),{data:e.data}),e.children)}},Xe=(t,e)=>({get name(){return t.name},defaultData:e,type:t.type,create:r=>V(t,r),category:k.TEXT,render(r){const{node:i}=r,u=V(i.attributes,t.attributes);return A.createElement(yt,j(S({},u),{idx:r.idx}),i.children)}}),Ye=L.cloneDeep(Wi.defaultData),Hn=Xe({get name(){return M("Text")},type:X.STANDARD_TEXT,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{},data:{}})),Gn=Xe({get name(){return M("Text")},type:X.STANDARD_PARAGRAPH,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"16px","line-height":"130%","font-weight":"normal",align:"center"},data:{}})),Wn=Xe({get name(){return M("Heading 1")},type:X.STANDARD_H1,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"40px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),Kn=Xe({get name(){return M("Heading 2")},type:X.STANDARD_H2,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"32px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),Xn=Xe({get name(){return M("Heading 3")},type:X.STANDARD_H3,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"24px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),Yn=Xe({get name(){return M("Heading 4")},type:X.STANDARD_H4,data:{},attributes:{},children:[{text:M("This is a text block. Click here to edit it...")}]},V(Ye,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"18px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),Xr={type:X.STANDARD_TEXT_LIST_ITEM,data:{},attributes:{},children:[]},Qn={get name(){return M("Text list")},defaultData:Xr,type:X.STANDARD_TEXT_LIST_ITEM,create:t=>V(Xr,t),category:k.TEXT_LIST_ITEM,render(t){const{node:e}=t;return A.createElement(yt,{idx:t.idx,data:e.data},A.createElement(se,{tag:"li",params:j(S({},t),{node:j(S({},t.node),{attributes:{}})})}))}},Jn={type:X.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number","padding-top":"3px","padding-bottom":"3px","padding-left":"2px","padding-right":"2px","font-size":"16px","line-height":"120%","font-weight":"normal"},children:[]},Zn={get name(){return M("Text list")},defaultData:Jn,type:X.STANDARD_TEXT_LIST,create:t=>V({type:X.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number"},children:[]},t),category:k.TEXT_LIST,render(t){const{node:e}=t,r=e.attributes;return A.createElement(yt,S({idx:t.idx,data:e.data},r),A.createElement(se,{tag:e.attributes["list-style"]==="number"?"ol":"ul",params:j(S({},t),{node:j(S({},t.node),{attributes:{}})})}))}},es=L.merge(ji.defaultData,{attributes:{},data:{}}),ts={get name(){return M("Container")},defaultData:es,type:X.STANDARD_WRAPPER,create:t=>{const e={type:X.STANDARD_WRAPPER,data:{},attributes:{},children:[]};return V(e,t)},category:k.WRAPPER,render(t){const{node:e}=t;return A.createElement(Si,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},rs=L.merge(Zi.defaultData,{attributes:{},data:{}}),is={get name(){return M("Divider")},defaultData:rs,void:!0,type:X.STANDARD_DIVIDER,create:t=>{const e={type:X.STANDARD_DIVIDER,data:{},attributes:{},children:[]};return V(e,t)},category:k.DIVIDER,render(t){const{node:e}=t;return A.createElement(Ii,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},us=L.merge(Qi.defaultData,{attributes:{},data:{}}),ns={get name(){return M("Social")},defaultData:us,type:X.STANDARD_SOCIAL,create:t=>{const e={type:X.STANDARD_SOCIAL,data:{},attributes:{},children:[{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://res.cloudinary.com/dfite2e16/image/upload/v1681908489/clgnivsuj0018z9ltiixmxf6k/xkd0kfnytbfywsofk8t6.png",href:"","padding-left":"0px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}},{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://res.cloudinary.com/dfite2e16/image/upload/v1681908521/clgnivsuj0018z9ltiixmxf6k/ulyduaza1votoacctoi3.png",href:"","padding-left":"20px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}},{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://res.cloudinary.com/dfite2e16/image/upload/v1681908543/clgnivsuj0018z9ltiixmxf6k/wtefhsfwaapcdbz7knqw.png",href:"","padding-left":"20px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}}]};return V(e,t)},category:k.SOCIAL,render(t){const{node:e,idx:r}=t,i=ie(e.attributes,[]);return A.createElement(Ui,j(S({idx:t.idx},L.omit(i,["spacing"])),{data:e.data,children:e.children}))}},ss=L.merge(ru.defaultData,{attributes:{"background-image-enabled":!0},data:{}}),as={get name(){return M("Hero")},defaultData:ss,type:X.STANDARD_HERO,create:t=>{const e={type:X.STANDARD_HERO,data:{},attributes:{},children:[{type:X.STANDARD_PARAGRAPH,data:{},attributes:{},children:[{text:""}]}]};return V(e,t)},category:k.HERO,render(t){const{node:e}=t,r=L.cloneDeep(e.attributes),i=ie(r,[]);return i["background-image-enabled"]||(delete i["background-image-enabled"],i["background-url"]=""),A.createElement(Vi,j(S({idx:t.idx},i),{data:e.data,children:e.children}))}},os=L.merge(tu.defaultData,{attributes:{},data:{}}),ls={get name(){return M("Social")},defaultData:os,type:K.STANDARD_SOCIAL_ELEMENT,create:t=>{const e={type:K.STANDARD_SOCIAL_ELEMENT,data:{content:""},attributes:{},children:[]};return V(e,t)},category:k.UNSET,render(t){const{node:e}=t;return A.createElement($i,j(S({idx:t.idx},e.attributes),{data:e.data,children:e.children}))}},cs=L.merge(eu.defaultData,{attributes:{},data:{}}),ps={get name(){return M("Navbar Link")},defaultData:cs,type:K.STANDARD_NAVBAR_LINK,create:t=>{const e={type:K.STANDARD_NAVBAR_LINK,data:{content:""},attributes:{},children:[]};return V(e,t)},category:k.UNSET,render(t){const{node:e}=t;return A.createElement(Mi,j(S({idx:t.idx},e.attributes),{data:e.data}),e.children)}},hs={[K.STANDARD_HERO]:as,[K.STANDARD_DIVIDER]:is,[K.STANDARD_WRAPPER]:ts,[K.STANDARD_SECTION]:Ln,[K.STANDARD_GROUP]:On,[K.STANDARD_SOCIAL]:ns,[K.STANDARD_SOCIAL_ELEMENT]:ls,[K.STANDARD_COLUMN]:In,[K.STANDARD_BUTTON]:Pn,[K.STANDARD_SPACER]:Vn,[K.STANDARD_IMAGE]:Un,[K.STANDARD_TEXT]:Hn,[K.STANDARD_NAVBAR]:zn,[K.STANDARD_NAVBAR_LINK]:ps,[K.STANDARD_PARAGRAPH]:Gn,[K.STANDARD_H1]:Wn,[K.STANDARD_H2]:Kn,[K.STANDARD_H3]:Xn,[K.STANDARD_H4]:Yn,[K.STANDARD_TEXT_LIST]:Zn,[K.STANDARD_TEXT_LIST_ITEM]:Qn},jt={attributes:{},data:{showTruthyInTesting:!0,expression:"",component:A.createElement(A.Fragment,null)}},ds={get name(){return M("Show")},type:K.FOR_EACH,category:k.UNSET,defaultData:jt,create(t){const e={type:K.SHOW,data:S({},jt.data),attributes:S({},jt.attributes),children:[]};return L.merge(e,t)},render(t){const{node:e,mode:r}=t,i=e.data;return r==="testing"?i.showTruthyInTesting?A.createElement(A.Fragment,null,i.component):A.createElement(A.Fragment,null,i.fallback):pe.generateConditionTemplate(i.expression,i.component,i.fallback)}},zt={attributes:{},data:{dataSource:"",itemName:"item",limit:999}},fs={get name(){return M("ForEach")},type:K.FOR_EACH,category:k.UNSET,defaultData:zt,create(t){const e={type:K.FOR_EACH,data:S({},zt.data),attributes:S({},zt.attributes),children:[]};return L.merge(e,t)},render(t){const{node:e,children:r,idx:i}=t;return pe.generateIterationTemplate(j(S({mockQuantity:1,limit:999},e.data),{enabled:!0}),r||e.children.map((n,a)=>J.isTextNode(n)?J.isTextListElement(e)?A.createElement(A.Fragment,{key:a},"<li>",A.createElement(je,j(S({key:a},t),{node:n})),"</li>"):A.createElement(je,j(S({key:a},t),{node:n})):A.createElement(ue,j(S({key:a},t),{idx:i?J.getChildIdx(i,a):null,node:n}))))}},_s={[K.FOR_EACH]:fs,[K.SHOW]:ds},iu=S(S(S({},Rn),hs),_s),Ht=S({},iu);class ee{static registerBlocks(e){e.forEach(r=>{Ht[r.type]=r})}static getBlockByType(e){return Ht[e]}static getBlocks(){return Object.values(Ht)}static getBlockTitle(e){var i;return e.title?e.title:((i=this.getBlockByType(e.type))==null?void 0:i.name)||""}}var _t=(t=>(t.TRUTHY="truthy",t.FALSY="falsy",t.EQUAL="==",t.NOT_EQUAL="!=",t.GREATER=">",t.GREATER_OR_EQUAL=">=",t.LESS="<",t.LESS_OR_EQUAL="<=",t))(_t||{}),uu=(t=>(t.AND="and",t.OR="or",t))(uu||{});const gs=t=>`{{ ${t} }}`,ms=()=>t=>`{{ ${t} }}`,bs=()=>t=>t;var Xt={},Ds={get exports(){return Xt},set exports(t){Xt=t}};(function(t,e){(function(r,i){t.exports=i()})(ct,function(){var r=1e3,i=6e4,u=36e5,n="millisecond",a="second",o="minute",c="hour",d="day",_="week",h="month",b="quarter",q="year",N="date",U="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|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,f={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(w){var x=["th","st","nd","rd"],C=w%100;return"["+w+(x[(C-20)%10]||x[C]||x[0])+"]"}},P=function(w,x,C){var O=String(w);return!O||O.length>=x?w:""+Array(x+1-O.length).join(C)+w},T={s:P,z:function(w){var x=-w.utcOffset(),C=Math.abs(x),O=Math.floor(C/60),R=C%60;return(x<=0?"+":"-")+P(O,2,"0")+":"+P(R,2,"0")},m:function w(x,C){if(x.date()<C.date())return-w(C,x);var O=12*(C.year()-x.year())+(C.month()-x.month()),R=x.clone().add(O,h),$=C-R<0,B=x.clone().add(O+($?-1:1),h);return+(-(O+(C-R)/($?R-B:B-R))||0)},a:function(w){return w<0?Math.ceil(w)||0:Math.floor(w)},p:function(w){return{M:h,y:q,w:_,d,D:N,h:c,m:o,s:a,ms:n,Q:b}[w]||String(w||"").toLowerCase().replace(/s$/,"")},u:function(w){return w===void 0}},H="en",m={};m[H]=f;var y=function(w){return w instanceof D},g=function w(x,C,O){var R;if(!x)return H;if(typeof x=="string"){var $=x.toLowerCase();m[$]&&(R=$),C&&(m[$]=C,R=$);var B=x.split("-");if(!R&&B.length>1)return w(B[0])}else{var I=x.name;m[I]=x,R=I}return!O&&R&&(H=R),R||!O&&H},v=function(w,x){if(y(w))return w.clone();var C=typeof x=="object"?x:{};return C.date=w,C.args=arguments,new D(C)},s=T;s.l=g,s.i=y,s.w=function(w,x){return v(w,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var D=function(){function w(C){this.$L=g(C.locale,null,!0),this.parse(C)}var x=w.prototype;return x.parse=function(C){this.$d=function(O){var R=O.date,$=O.utc;if(R===null)return new Date(NaN);if(s.u(R))return new Date;if(R instanceof Date)return new Date(R);if(typeof R=="string"&&!/Z$/i.test(R)){var B=R.match(p);if(B){var I=B[2]-1||0,G=(B[7]||"0").substring(0,3);return $?new Date(Date.UTC(B[1],I,B[3]||1,B[4]||0,B[5]||0,B[6]||0,G)):new Date(B[1],I,B[3]||1,B[4]||0,B[5]||0,B[6]||0,G)}}return new Date(R)}(C),this.$x=C.x||{},this.init()},x.init=function(){var C=this.$d;this.$y=C.getFullYear(),this.$M=C.getMonth(),this.$D=C.getDate(),this.$W=C.getDay(),this.$H=C.getHours(),this.$m=C.getMinutes(),this.$s=C.getSeconds(),this.$ms=C.getMilliseconds()},x.$utils=function(){return s},x.isValid=function(){return this.$d.toString()!==U},x.isSame=function(C,O){var R=v(C);return this.startOf(O)<=R&&R<=this.endOf(O)},x.isAfter=function(C,O){return v(C)<this.startOf(O)},x.isBefore=function(C,O){return this.endOf(O)<v(C)},x.$g=function(C,O,R){return s.u(C)?this[O]:this.set(R,C)},x.unix=function(){return Math.floor(this.valueOf()/1e3)},x.valueOf=function(){return this.$d.getTime()},x.startOf=function(C,O){var R=this,$=!!s.u(O)||O,B=s.p(C),I=function(Ee,ce){var xe=s.w(R.$u?Date.UTC(R.$y,ce,Ee):new Date(R.$y,ce,Ee),R);return $?xe:xe.endOf(d)},G=function(Ee,ce){return s.w(R.toDate()[Ee].apply(R.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(ce)),R)},Y=this.$W,ne=this.$M,ge=this.$D,me="set"+(this.$u?"UTC":"");switch(B){case q:return $?I(1,0):I(31,11);case h:return $?I(1,ne):I(0,ne+1);case _:var ye=this.$locale().weekStart||0,oe=(Y<ye?Y+7:Y)-ye;return I($?ge-oe:ge+(6-oe),ne);case d:case N:return G(me+"Hours",0);case c:return G(me+"Minutes",1);case o:return G(me+"Seconds",2);case a:return G(me+"Milliseconds",3);default:return this.clone()}},x.endOf=function(C){return this.startOf(C,!1)},x.$set=function(C,O){var R,$=s.p(C),B="set"+(this.$u?"UTC":""),I=(R={},R[d]=B+"Date",R[N]=B+"Date",R[h]=B+"Month",R[q]=B+"FullYear",R[c]=B+"Hours",R[o]=B+"Minutes",R[a]=B+"Seconds",R[n]=B+"Milliseconds",R)[$],G=$===d?this.$D+(O-this.$W):O;if($===h||$===q){var Y=this.clone().set(N,1);Y.$d[I](G),Y.init(),this.$d=Y.set(N,Math.min(this.$D,Y.daysInMonth())).$d}else I&&this.$d[I](G);return this.init(),this},x.set=function(C,O){return this.clone().$set(C,O)},x.get=function(C){return this[s.p(C)]()},x.add=function(C,O){var R,$=this;C=Number(C);var B=s.p(O),I=function(ne){var ge=v($);return s.w(ge.date(ge.date()+Math.round(ne*C)),$)};if(B===h)return this.set(h,this.$M+C);if(B===q)return this.set(q,this.$y+C);if(B===d)return I(1);if(B===_)return I(7);var G=(R={},R[o]=i,R[c]=u,R[a]=r,R)[B]||1,Y=this.$d.getTime()+C*G;return s.w(Y,this)},x.subtract=function(C,O){return this.add(-1*C,O)},x.format=function(C){var O=this,R=this.$locale();if(!this.isValid())return R.invalidDate||U;var $=C||"YYYY-MM-DDTHH:mm:ssZ",B=s.z(this),I=this.$H,G=this.$m,Y=this.$M,ne=R.weekdays,ge=R.months,me=function(ce,xe,Ne,Be){return ce&&(ce[xe]||ce(O,$))||Ne[xe].slice(0,Be)},ye=function(ce){return s.s(I%12||12,ce,"0")},oe=R.meridiem||function(ce,xe,Ne){var Be=ce<12?"AM":"PM";return Ne?Be.toLowerCase():Be},Ee={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Y+1,MM:s.s(Y+1,2,"0"),MMM:me(R.monthsShort,Y,ge,3),MMMM:me(ge,Y),D:this.$D,DD:s.s(this.$D,2,"0"),d:String(this.$W),dd:me(R.weekdaysMin,this.$W,ne,2),ddd:me(R.weekdaysShort,this.$W,ne,3),dddd:ne[this.$W],H:String(I),HH:s.s(I,2,"0"),h:ye(1),hh:ye(2),a:oe(I,G,!0),A:oe(I,G,!1),m:String(G),mm:s.s(G,2,"0"),s:String(this.$s),ss:s.s(this.$s,2,"0"),SSS:s.s(this.$ms,3,"0"),Z:B};return $.replace(l,function(ce,xe){return xe||Ee[ce]||B.replace(":","")})},x.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},x.diff=function(C,O,R){var $,B=s.p(O),I=v(C),G=(I.utcOffset()-this.utcOffset())*i,Y=this-I,ne=s.m(this,I);return ne=($={},$[q]=ne/12,$[h]=ne,$[b]=ne/3,$[_]=(Y-G)/6048e5,$[d]=(Y-G)/864e5,$[c]=Y/u,$[o]=Y/i,$[a]=Y/r,$)[B]||Y,R?ne:s.a(ne)},x.daysInMonth=function(){return this.endOf(h).$D},x.$locale=function(){return m[this.$L]},x.locale=function(C,O){if(!C)return this.$L;var R=this.clone(),$=g(C,O,!0);return $&&(R.$L=$),R},x.clone=function(){return s.w(this.$d,this)},x.toDate=function(){return new Date(this.valueOf())},x.toJSON=function(){return this.isValid()?this.toISOString():null},x.toISOString=function(){return this.$d.toISOString()},x.toString=function(){return this.$d.toUTCString()},w}(),E=D.prototype;return v.prototype=E,[["$ms",n],["$s",a],["$m",o],["$H",c],["$W",d],["$M",h],["$y",q],["$D",N]].forEach(function(w){E[w[1]]=function(x){return this.$g(x,w[0],w[1])}}),v.extend=function(w,x){return w.$i||(w(x,D,v),w.$i=!0),v},v.locale=g,v.isDayjs=y,v.unix=function(w){return v(1e3*w)},v.en=m[H],v.Ls=m,v.p={},v})})(Ds);class ve{constructor(e,r,i,u,n){this.kind=e,this.input=r,this.begin=i,this.end=u,this.file=n}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[e,r]=[1,1];for(let i=0;i<this.begin;i++)this.input[i]===`
|
|
66
|
+
`?(e++,r=1):r++;return[e,r]}size(){return this.end-this.begin}}class He{liquidMethodMissing(e){}}const As=Object.prototype.toString,Yr=String.prototype.toLowerCase,nu=Object.hasOwnProperty;function Fe(t){return typeof t=="string"}function _e(t){return typeof t=="function"}function ys(t){return t&&_e(t.then)}function gt(t){return t&&_e(t.next)&&_e(t.throw)&&_e(t.return)}function Es(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function z(t){return t=W(t),Fe(t)?t:Oe(t)?"":be(t)?t.map(e=>z(e)).join(""):String(t)}function W(t){return t instanceof He&&_e(t.valueOf)?t.valueOf():t}function Et(t){return typeof t=="number"}function su(t){return t&&_e(t.toLiquid)?su(t.toLiquid()):t}function Oe(t){return t==null}function be(t){return As.call(t)==="[object Array]"}function xs(t){return ur(t)&&Symbol.iterator in t}function Qr(t,e){t=t||{};for(const r in t)if(nu.call(t,r)&&e(t[r],r,t)===!1)break;return t}function ir(t){return t[t.length-1]}function ur(t){const e=typeof t;return t!==null&&(e==="object"||e==="function")}function au(t,e,r=1){const i=[];for(let u=t;u<e;u+=r)i.push(u);return i}function mt(t,e,r=" "){return ou(t,e,r,(i,u)=>u+i)}function vs(t,e,r=" "){return ou(t,e,r,(i,u)=>i+u)}function ou(t,e,r,i){t=String(t);let u=e-t.length;for(;u-- >0;)t=i(t,r);return t}function lu(t){return t}function ws(t){return[...t].some(r=>r>="a"&&r<="z")?t.toUpperCase():t.toLowerCase()}function Cs(t,e){return t.length>e?t.slice(0,e-3)+"...":t}function Jr(t,e){return t==null&&e==null?0:t==null?1:e==null||(t=Yr.call(t),e=Yr.call(e),t<e)?-1:t>e?1:0}function Ae(t){return(...e)=>t(...e.map(W))}function nr(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}class xt extends Error{constructor(e,r){super(e.message),this.originalError=e,this.token=r,this.context=""}update(){const e=this.originalError;this.context=Rs(this.token),this.message=Fs(e.message,this.token),this.stack=this.message+`
|
|
67
67
|
`+this.context+`
|
|
68
68
|
`+this.stack+`
|
|
69
|
-
From `+e.stack}}class sr extends xt{constructor(e,r){super(new Error(e),r),this.name="TokenizationError",super.update()}}class
|
|
70
|
-
`),i=Math.max(e-2,1),u=Math.min(e+3,r.length);return
|
|
71
|
-
`)}function
|
|
69
|
+
From `+e.stack}}class sr extends xt{constructor(e,r){super(new Error(e),r),this.name="TokenizationError",super.update()}}class Ts extends xt{constructor(e,r){super(e,r),this.name="ParseError",this.message=e.message,super.update()}}class Zr extends xt{constructor(e,r){super(e,r.token),this.name="RenderError",this.message=e.message,super.update()}static is(e){return e.name==="RenderError"}}class Bs extends xt{constructor(e,r){super(e,r),this.name="UndefinedVariableError",this.message=e.message,super.update()}}class ks extends Error{constructor(e){super(`undefined variable: ${e}`),this.name="InternalUndefinedVariableError",this.variableName=e}}class Ss extends Error{constructor(e){super(e),this.name="AssertionError",this.message=e+""}}function Rs(t){const[e]=t.getPosition(),r=t.input.split(`
|
|
70
|
+
`),i=Math.max(e-2,1),u=Math.min(e+3,r.length);return au(i,u+1).map(a=>{const o=a===e?">> ":" ",c=mt(String(a),String(u).length),d=r[a-1];return`${o}${c}| ${d}`}).join(`
|
|
71
|
+
`)}function Fs(t,e){e.file&&(t+=`, file:${e.file}`);const[r,i]=e.getPosition();return t+=`, line:${r}, col:${i}`,t}const te=[0,0,0,0,0,0,0,0,0,20,4,4,4,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,2,8,0,0,0,0,8,0,0,0,64,0,65,0,0,33,33,33,33,33,33,33,33,33,33,0,0,2,2,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],ar=1,vt=4,ei=8,cu=16,Os=32,Ns=64;te[160]=te[5760]=te[6158]=te[8192]=te[8193]=te[8194]=te[8195]=te[8196]=te[8197]=te[8198]=te[8199]=te[8200]=te[8201]=te[8202]=te[8232]=te[8233]=te[8239]=te[8287]=te[12288]=vt;function he(t,e){if(!t){const r=typeof e=="function"?e():e||`expect ${t} to be true`;throw new Ss(r)}}class Ls extends He{equals(e){return Oe(W(e))}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return null}}class wt extends He{equals(e){return e instanceof wt?!1:(e=W(e),Fe(e)||be(e)?e.length===0:ur(e)?Object.keys(e).length===0:!1)}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return""}}class qs extends wt{equals(e){return e===!1||Oe(W(e))?!0:Fe(e)?/^\s*$/.test(e):super.equals(e)}}class or extends He{constructor(e,r,i){super(),this.i=0,this.length=e,this.name=`${i}-${r}`}next(){this.i++}index0(){return this.i}index(){return this.i+1}first(){return this.i===0}last(){return this.i===this.length-1}rindex(){return this.length-this.i}rindex0(){return this.length-this.i-1}valueOf(){return JSON.stringify(this)}}class ti extends He{constructor(e=()=>""){super(),this.superBlockRender=e}super(){return this.superBlockRender()}}function De(t){return t&&_e(t.equals)}const ri=new Ls,pu={true:!0,false:!1,nil:ri,null:ri,empty:new wt,blank:new qs};function Is(t){const e={};for(const[r,i]of Object.entries(t)){let u=e;for(let n=0;n<r.length;n++){const a=r[n];u[a]=u[a]||{},n===r.length-1&&te[r.charCodeAt(n)]&ar&&(u[a].needBoundary=!0),u=u[a]}u.handler=i,u.end=!0}return e}/*! *****************************************************************************
|
|
72
72
|
Copyright (c) Microsoft Corporation.
|
|
73
73
|
|
|
74
74
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -81,25 +81,25 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
81
81
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
82
82
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
83
83
|
PERFORMANCE OF THIS SOFTWARE.
|
|
84
|
-
***************************************************************************** */var
|
|
85
|
-
`,"%":()=>"%"};Yt.h=Yt.b;function
|
|
86
|
-
`)}function
|
|
87
|
-
`&&t.trimLeft++}class
|
|
88
|
-
`)!==-1&&(n=this.p),new
|
|
89
|
-
`,r:"\r",t:" ",v:"\v"};function hi(t){const e=t.charCodeAt(0);return e>=97?e-87:e>=65?e-55:e-48}function Au(t){let e="";for(let r=1;r<t.length-1;r++){if(t[r]!=="\\"){e+=t[r];continue}if(pi[t[r+1]]!==void 0)e+=pi[t[++r]];else if(t[r+1]==="u"){let i=0,u=r+2;for(;u<=r+5&&Ya.test(t[u]);)i=i*16+hi(t[u++]);r=u-1,e+=String.fromCharCode(i)}else if(!ci.test(t[r+1]))e+=t[++r];else{let i=r+1,u=0;for(;i<=r+3&&ci.test(t[i]);)u=u*8+hi(t[i++]);r=i-1,e+=String.fromCharCode(u)}}return e}var re;(function(t){t[t.Number=1]="Number",t[t.Literal=2]="Literal",t[t.Tag=4]="Tag",t[t.Output=8]="Output",t[t.HTML=16]="HTML",t[t.Filter=32]="Filter",t[t.Hash=64]="Hash",t[t.PropertyAccess=128]="PropertyAccess",t[t.Word=256]="Word",t[t.Range=512]="Range",t[t.Quoted=1024]="Quoted",t[t.Operator=2048]="Operator",t[t.Delimited=12]="Delimited"})(re||(re={}));function Qa(t){return!!(we(t)&re.Delimited)}function Eu(t){return we(t)===re.Operator}function fr(t){return we(t)===re.HTML}function Ja(t){return we(t)===re.Output}function Ge(t){return we(t)===re.Tag}function yu(t){return we(t)===re.Quoted}function Za(t){return we(t)===re.Literal}function eo(t){return we(t)===re.Number}function to(t){return we(t)===re.PropertyAccess}function ro(t){return we(t)===re.Word}function io(t){return we(t)===re.Range}function we(t){return t?t.kind:-1}class Ke{constructor(e={},r=Me,i={}){var u,n;this.scopes=[{}],this.registers={},this.sync=!!i.sync,this.opts=r,this.globals=(u=i.globals)!==null&&u!==void 0?u:r.globals,this.environments=e,this.strictVariables=(n=i.strictVariables)!==null&&n!==void 0?n:this.opts.strictVariables}getRegister(e){return this.registers[e]=this.registers[e]||{}}setRegister(e,r){return this.registers[e]=r}saveRegister(...e){return e.map(r=>[r,this.getRegister(r)])}restoreRegister(e){return e.forEach(([r,i])=>this.setRegister(r,i))}getAll(){return[this.globals,this.environments,...this.scopes].reduce((e,r)=>Dt(e,r),{})}get(e){return qe(this._get(e))}*_get(e){const r=this.findScope(e[0]);return yield this._getFromScope(r,e)}getFromScope(e,r){return qe(this._getFromScope(e,r))}*_getFromScope(e,r){Se(r)&&(r=r.split("."));for(let i=0;i<r.length;i++)if(e=yield uo(e,r[i],this.opts.ownPropertyOnly),Re(e)&&this.strictVariables)throw new Ss(r.slice(0,i+1).join("."));return e}push(e){return this.scopes.push(e)}pop(){return this.scopes.pop()}bottom(){return this.scopes[0]}findScope(e){for(let r=this.scopes.length-1;r>=0;r--){const i=this.scopes[r];if(e in i)return i}return e in this.environments?this.environments:this.globals}}function uo(t,e,r){if(t=au(t),Re(t))return t;if(De(t)&&e<0)return t[t.length+ +e];const i=no(t,e,r);return i===void 0&&t instanceof He?t.liquidMethodMissing(e):_e(i)?i.call(t):e==="size"?oo(t):e==="first"?so(t):e==="last"?ao(t):i}function no(t,e,r){if(!(r&&!Object.hasOwnProperty.call(t,e)&&!(t instanceof He)))return t[e]}function so(t){return De(t)?t[0]:t.first}function ao(t){return De(t)?t[t.length-1]:t.last}function oo(t){if(t.hasOwnProperty("size")||t.size!==void 0)return t.size;if(De(t)||Se(t))return t.length;if(typeof t=="object")return Object.keys(t).length}var $e;(function(t){t[t.OUTPUT=0]="OUTPUT",t[t.STORE=1]="STORE"})($e||($e={}));const lo=Ae(Math.abs),co=Ae(Math.max),po=Ae(Math.min),ho=Ae(Math.ceil),fo=Ae((t,e,r=!1)=>r?Math.floor(t/e):t/e),_o=Ae(Math.floor),go=Ae((t,e)=>t-e),mo=Ae((t,e)=>t%e),Do=Ae((t,e)=>t*e);function bo(t,e=0){t=W(t),e=W(e);const r=Math.pow(10,e);return Math.round(t*r)/r}function Ao(t,e){return t=W(t),e=W(e),Number(t)+Number(e)}var Eo=Object.freeze({__proto__:null,abs:lo,at_least:co,at_most:po,ceil:ho,divided_by:fo,floor:_o,minus:go,modulo:mo,times:Do,round:bo,plus:Ao});const yo=t=>z(t).split("+").map(decodeURIComponent).join(" "),xo=t=>z(t).split(" ").map(encodeURIComponent).join("+");var vo=Object.freeze({__proto__:null,url_decode:yo,url_encode:xo});const wo=Ae((t,e)=>Be(t).join(e===void 0?" ":e)),Co=Ae(t=>De(t)?ir(t):""),To=Ae(t=>De(t)?t[0]:""),Bo=Ae(t=>[...Be(t)].reverse());function*ko(t,e){const r=[];for(const i of Be(W(t)))r.push([i,e?yield this.context._getFromScope(i,z(e).split(".")):i]);return r.sort((i,u)=>{const n=i[1],a=u[1];return n<a?-1:n>a?1:0}).map(i=>i[0])}function So(t,e){t=W(t);const r=z(e),i=e===void 0?Jr:(u,n)=>Jr(u[r],n[r]);return[...Be(t)].sort(i)}const Ro=t=>t&&t.length||0;function*Fo(t,e){const r=[];for(const i of Be(W(t)))r.push(yield this.context._getFromScope(i,z(e).split(".")));return r}function Oo(t){return t=W(t),Be(t).filter(e=>!Re(W(e)))}function No(t,e=[]){return t=W(t),e=Be(e).map(r=>W(r)),Be(t).concat(e)}function Lo(t,e,r=1){return t=W(t),Re(t)?[]:(De(t)||(t=z(t)),e=e<0?t.length+e:e,t.slice(e,e+r))}function*qo(t,e,r){const i=[];t=Be(W(t));for(const u of t)i.push(yield this.context._getFromScope(u,z(e).split(".")));return t.filter((u,n)=>r===void 0?Ue(i[n],this.context):be(r)?r.equals(i[n]):i[n]===r)}function Io(t){t=W(t);const e={};return(t||[]).filter(r=>su.call(e,String(r))?!1:(e[String(r)]=!0,!0))}var Po=Object.freeze({__proto__:null,join:wo,last:Co,first:To,reverse:Bo,sort:ko,sort_natural:So,size:Ro,map:Fo,compact:Oo,concat:No,slice:Lo,where:qo,uniq:Io});const Mo="%A, %B %-e, %Y at %-l:%M %P %z";function Uo(t,e,r){const i=this.context.opts;let u;return t=W(t),e=W(e),Re(e)?e=Mo:e=z(e),t==="now"||t==="today"?u=new Date:yt(t)?u=new Date(t*1e3):Se(t)?/^\d+$/.test(t)?u=new Date(+t*1e3):i.preserveTimezones?u=Ie.createDateFixedToTimezone(t):u=new Date(t):u=t,$o(u)?(r!==void 0?u=new Ie(u,di(u,r)):i.timezoneOffset!==void 0&&(u=new Ie(u,di(u,i.timezoneOffset))),Ks(u,e)):t}function $o(t){return(t instanceof Date||t instanceof Ie)&&!isNaN(t.getTime())}function di(t,e){if(yt(e))return e;const r=new Date(t.toLocaleString("en-US",{timeZone:"UTC"})),i=new Date(t.toLocaleString("en-US",{timeZone:e}));return(r.getTime()-i.getTime())/6e4}var Vo=Object.freeze({__proto__:null,date:Uo});function jo(t,e){return pe(arguments.length===2,"append expect 2 arguments"),z(t)+z(e)}function zo(t,e){return pe(arguments.length===2,"prepend expect 2 arguments"),z(e)+z(t)}function Ho(t,e){return e?(e=nr(z(e)),z(t).replace(new RegExp(`^[${e}]+`,"g"),"")):z(t).replace(/^\s+/,"")}function Go(t){return z(t).toLowerCase()}function Wo(t){return z(t).toUpperCase()}function Ko(t,e){return z(t).split(String(e)).join("")}function Xo(t,e){return z(t).replace(String(e),"")}function Yo(t,e){const r=z(t),i=String(e),u=r.lastIndexOf(i);return u===-1?r:r.substring(0,u)+r.substring(u+i.length+1)}function Qo(t,e){return e?(e=nr(z(e)),z(t).replace(new RegExp(`[${e}]+$`,"g"),"")):z(t).replace(/\s+$/,"")}function Jo(t,e){const r=z(t).split(String(e));for(;r.length&&r[r.length-1]==="";)r.pop();return r}function Zo(t,e){return e?(e=nr(z(e)),z(t).replace(new RegExp(`^[${e}]+`,"g"),"").replace(new RegExp(`[${e}]+$`,"g"),"")):z(t).trim()}function el(t){return z(t).replace(/\n/g,"")}function tl(t){return t=z(t),t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()}function rl(t,e,r){return z(t).split(String(e)).join(r)}function il(t,e,r){return z(t).replace(String(e),r)}function ul(t,e,r){const i=z(t),u=String(e),n=i.lastIndexOf(u);if(n===-1)return i;const a=String(r);return i.substring(0,n)+a+i.substring(n+u.length)}function nl(t,e=50,r="..."){return t=z(t),t.length<=e?t:t.substring(0,e-r.length)+r}function sl(t,e=15,r="..."){const i=z(t).split(/\s+/);e<=0&&(e=1);let u=i.slice(0,e).join(" ");return i.length>=e&&(u+=r),u}var al=Object.freeze({__proto__:null,append:jo,prepend:zo,lstrip:Ho,downcase:Go,upcase:Wo,remove:Ko,remove_first:Xo,remove_last:Yo,rstrip:Qo,split:Jo,strip:Zo,strip_newlines:el,capitalize:tl,replace:rl,replace_first:il,replace_last:ul,truncate:nl,truncatewords:sl});const ol=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},qa),Eo),vo),Po),Vo),al),{json:Du,raw:ka,default:Ba});class ll extends le{constructor(e,r,i){super(e,r,i);const u=new he(e.args,i.options.operators);this.key=u.readIdentifier().content,u.skipBlank(),pe(u.peek()==="=",()=>`illegal token ${e.getText()}`),u.advance(),this.value=new ke(u.remaining(),this.liquid)}*render(e){e.bottom()[this.key]=yield this.value.value(e,this.liquid.options.lenientIf)}}const fi=["offset","limit","reversed"];class cl extends le{constructor(e,r,i){super(e,r,i);const u=new he(e.args,this.liquid.options.operators),n=u.readIdentifier(),a=u.readIdentifier(),o=u.readValue();if(!n.size()||a.content!=="in"||!o)throw new Error(`illegal tag: ${e.getText()}`);this.variable=n.content,this.collection=o,this.hash=new Qe(u.remaining()),this.templates=[],this.elseTemplates=[];let c;const d=this.liquid.parser.parseStream(r).on("start",()=>c=this.templates).on("tag:else",()=>c=this.elseTemplates).on("tag:endfor",()=>d.stop()).on("template",h=>c.push(h)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});d.start()}*render(e,r){const i=this.liquid.renderer;let u=lr(yield fe(this.collection,e));if(!u.length){yield i.renderTemplates(this.elseTemplates,e,r);return}const n="continue-"+this.variable+"-"+this.collection.getText();e.push({continue:e.getRegister(n)});const a=yield this.hash.render(e);e.pop(),u=(this.liquid.options.orderedFilterParameters?Object.keys(a).filter(d=>fi.includes(d)):fi.filter(d=>a[d]!==void 0)).reduce((d,h)=>h==="offset"?hl(d,a.offset):h==="limit"?dl(d,a.limit):pl(d),u),e.setRegister(n,(a.offset||0)+u.length);const c={forloop:new or(u.length,this.collection.getText(),this.variable)};e.push(c);for(const d of u){if(c[this.variable]=d,yield i.renderTemplates(this.templates,e,r),r.break){r.break=!1;break}r.continue=!1,c.forloop.next()}e.pop()}}function pl(t){return[...t].reverse()}function hl(t,e){return t.slice(e)}function dl(t,e){return t.slice(0,e)}class fl extends le{constructor(e,r,i){super(e,r,i),this.templates=[];const u=new he(e.args,this.liquid.options.operators);for(this.variable=_l(u),pe(this.variable,()=>`${e.args} not valid identifier`);r.length;){const n=r.shift();if(Ge(n)&&n.name==="endcapture")return;this.templates.push(i.parser.parseToken(n,r))}throw new Error(`tag ${e.getText()} not closed`)}*render(e){const i=yield this.liquid.renderer.renderTemplates(this.templates,e);e.bottom()[this.variable]=i}}function _l(t){const e=t.readIdentifier().content;if(e)return e;const r=t.readQuoted();if(r)return pr(r)}class gl extends le{constructor(e,r,i){super(e,r,i),this.branches=[],this.elseTemplates=[],this.value=new ke(e.args,this.liquid),this.elseTemplates=[];let u=[];const n=this.liquid.parser.parseStream(r).on("tag:when",a=>{u=[];const o=new he(a.args,this.liquid.options.operators),c=[];for(;!o.end();)c.push(o.readValueOrThrow()),o.readTo(",");this.branches.push({values:c,templates:u})}).on("tag:else",()=>u=this.elseTemplates).on("tag:endcase",()=>n.stop()).on("template",a=>u.push(a)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});n.start()}*render(e,r){const i=this.liquid.renderer,u=W(yield this.value.value(e,e.opts.lenientIf));let n=!1;for(const a of this.branches)for(const o of a.values){const c=yield fe(o,e,e.opts.lenientIf);if(u===c){yield i.renderTemplates(a.templates,e,r),n=!0;break}}n||(yield i.renderTemplates(this.elseTemplates,e,r))}}class ml extends le{constructor(e,r,i){for(super(e,r,i);r.length;){const u=r.shift();if(Ge(u)&&u.name==="endcomment")return}throw new Error(`tag ${e.getText()} not closed`)}render(){}}class Dl extends le{constructor(e,r,i){super(e,r,i);const u=e.args,n=new he(u,this.liquid.options.operators);for(this.file=_r(n,this.liquid),this.currentFile=e.file;!n.end();){n.skipBlank();const a=n.p,o=n.readIdentifier();if((o.content==="with"||o.content==="for")&&(n.skipBlank(),n.peek()!==":")){const c=n.readValue();if(c){const d=n.p,h=n.readIdentifier();let f;h.content==="as"?f=n.readIdentifier():n.p=d,this[o.content]={value:c,alias:f&&f.content},n.skipBlank(),n.peek()===","&&n.advance();continue}}n.p=a;break}this.hash=new Qe(n.remaining())}*render(e,r){const{liquid:i,hash:u}=this,n=yield gr(this.file,e,i);pe(n,()=>`illegal filename "${n}"`);const a=new Ke({},e.opts,{sync:e.sync,globals:e.globals,strictVariables:e.strictVariables}),o=a.bottom();if(Dt(o,yield u.render(e)),this.with){const{value:c,alias:d}=this.with;o[d||n]=yield fe(c,e)}if(this.for){const{value:c,alias:d}=this.for,h=lr(yield fe(c,e));o.forloop=new or(h.length,c.getText(),d);for(const f of h){o[d]=f;const D=yield i._parsePartialFile(n,a.sync,this.currentFile);yield i.renderer.renderTemplates(D,a,r),o.forloop.next()}}else{const c=yield i._parsePartialFile(n,a.sync,this.currentFile);yield i.renderer.renderTemplates(c,a,r)}}}function _r(t,e){if(e.options.dynamicPartials){const u=t.readValue();if(u===void 0)throw new TypeError(`illegal argument "${t.input}"`);if(u.getText()==="none")return;if(yu(u)){const n=e.parse(pr(u));return _i(n)}return u}const r=[...t.readFileNameTemplate(e.options)],i=_i(e.parser.parseTokens(r));return i==="none"?void 0:i}function _i(t){return t.length===1&&fr(t[0].token)?t[0].token.getContent():t}function*gr(t,e,r){return typeof t=="string"?t:Array.isArray(t)?r.renderer.renderTemplates(t,e):yield fe(t,e)}class bl extends le{constructor(e,r,i){super(e,r,i);const u=e.args,n=new he(u,this.liquid.options.operators);this.file=_r(n,this.liquid),this.currentFile=e.file;const a=n.p;n.readIdentifier().content==="with"?(n.skipBlank(),n.peek()!==":"?this.withVar=n.readValue():n.p=a):n.p=a,this.hash=new Qe(n.remaining(),this.liquid.options.jekyllInclude)}*render(e,r){const{liquid:i,hash:u,withVar:n}=this,{renderer:a}=i,o=yield gr(this.file,e,i);pe(o,()=>`illegal filename "${o}"`);const c=e.saveRegister("blocks","blockMode");e.setRegister("blocks",{}),e.setRegister("blockMode",$e.OUTPUT);const d=yield u.render(e);n&&(d[o]=yield fe(n,e));const h=yield i._parsePartialFile(o,e.sync,this.currentFile);e.push(e.opts.jekyllInclude?{include:d}:d),yield a.renderTemplates(h,e,r),e.pop(),e.restoreRegister(c)}}class Al extends le{constructor(e,r,i){super(e,r,i);const u=new he(e.args,this.liquid.options.operators);this.variable=u.readIdentifier().content}render(e,r){const i=e.environments;yt(i[this.variable])||(i[this.variable]=0),r.write(z(--i[this.variable]))}}class El extends le{constructor(e,r,i){super(e,r,i),this.candidates=[];const u=new he(e.args,this.liquid.options.operators),n=u.readValue();for(u.skipBlank(),n&&(u.peek()===":"?(this.group=n,u.advance()):this.candidates.push(n));!u.end();){const a=u.readValue();a&&this.candidates.push(a),u.readTo(",")}pe(this.candidates.length,()=>`empty candidates: ${e.getText()}`)}*render(e,r){const u=`cycle:${yield fe(this.group,e)}:`+this.candidates.join(","),n=e.getRegister("cycle");let a=n[u];a===void 0&&(a=n[u]=0);const o=this.candidates[a];return a=(a+1)%this.candidates.length,n[u]=a,yield fe(o,e)}}class yl extends le{constructor(e,r,i){super(e,r,i),this.branches=[],this.elseTemplates=[];let u;i.parser.parseStream(r).on("start",()=>this.branches.push({value:new ke(e.args,this.liquid),templates:u=[]})).on("tag:elsif",n=>this.branches.push({value:new ke(n.args,this.liquid),templates:u=[]})).on("tag:else",()=>u=this.elseTemplates).on("tag:endif",function(){this.stop()}).on("template",n=>u.push(n)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)}).start()}*render(e,r){const i=this.liquid.renderer;for(const{value:u,templates:n}of this.branches){const a=yield u.value(e,e.opts.lenientIf);if(Ue(a,e)){yield i.renderTemplates(n,e,r);return}}yield i.renderTemplates(this.elseTemplates,e,r)}}class xl extends le{constructor(e,r,i){super(e,r,i);const u=new he(e.args,this.liquid.options.operators);this.variable=u.readIdentifier().content}render(e,r){const i=e.environments;yt(i[this.variable])||(i[this.variable]=0);const u=i[this.variable];i[this.variable]++,r.write(z(u))}}class vl extends le{constructor(e,r,i){super(e,r,i);const u=new he(e.args,this.liquid.options.operators);this.file=_r(u,this.liquid),this.currentFile=e.file,this.args=new Qe(u.remaining()),this.templates=this.liquid.parser.parseTokens(r)}*render(e,r){const{liquid:i,args:u,file:n}=this,{renderer:a}=i;if(n===void 0){e.setRegister("blockMode",$e.OUTPUT),yield a.renderTemplates(this.templates,e,r);return}const o=yield gr(this.file,e,i);pe(o,()=>`illegal filename "${o}"`);const c=yield i._parseLayoutFile(o,e.sync,this.currentFile);e.setRegister("blockMode",$e.STORE);const d=yield a.renderTemplates(this.templates,e),h=e.getRegister("blocks");h[""]===void 0&&(h[""]=(f,D)=>D.write(d)),e.setRegister("blockMode",$e.OUTPUT),e.push(yield u.render(e)),yield a.renderTemplates(c,e,r),e.pop()}}class wl extends le{constructor(e,r,i){super(e,r,i),this.templates=[];const u=/\w+/.exec(e.args);for(this.block=u?u[0]:"";r.length;){const n=r.shift();if(Ge(n)&&n.name==="endblock")return;const a=i.parser.parseToken(n,r);this.templates.push(a)}throw new Error(`tag ${e.getText()} not closed`)}*render(e,r){const i=this.getBlockRender(e);e.getRegister("blockMode")===$e.STORE?e.getRegister("blocks")[this.block]=i:yield i(new ti,r)}getBlockRender(e){const{liquid:r,templates:i}=this,u=e.getRegister("blocks")[this.block],n=function*(a,o){e.push({block:a}),yield r.renderer.renderTemplates(i,e,o),e.pop()};return u?(a,o)=>u(new ti(()=>n(a,o)),o):n}}class Cl extends le{constructor(e,r,i){for(super(e,r,i),this.tokens=[];r.length;){const u=r.shift();if(Ge(u)&&u.name==="endraw")return;this.tokens.push(u)}throw new Error(`tag ${e.getText()} not closed`)}render(){return this.tokens.map(e=>e.getText()).join("")}}class Tl extends or{constructor(e,r,i,u){super(e,i,u),this.length=e,this.cols=r}row(){return Math.floor(this.i/this.cols)+1}col0(){return this.i%this.cols}col(){return this.col0()+1}col_first(){return this.col0()===0}col_last(){return this.col()===this.cols}}class Bl extends le{constructor(e,r,i){super(e,r,i);const u=new he(e.args,this.liquid.options.operators),n=u.readIdentifier();u.skipBlank();const a=u.readIdentifier(),o=u.readValue();if(a.content!=="in"||!o)throw new Error(`illegal tag: ${e.getText()}`);this.variable=n.content,this.collection=o,this.args=new Qe(u.remaining()),this.templates=[];let c;const d=this.liquid.parser.parseStream(r).on("start",()=>c=this.templates).on("tag:endtablerow",()=>d.stop()).on("template",h=>c.push(h)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});d.start()}*render(e,r){let i=lr(yield fe(this.collection,e));const u=yield this.args.render(e),n=u.offset||0,a=u.limit===void 0?i.length:u.limit;i=i.slice(n,n+a);const o=u.cols||i.length,c=this.liquid.renderer,d=new Tl(i.length,o,this.collection.getText(),this.variable),h={tablerowloop:d};e.push(h);for(let f=0;f<i.length;f++,d.next())h[this.variable]=i[f],d.col0()===0&&(d.row()!==1&&r.write("</tr>"),r.write(`<tr class="row${d.row()}">`)),r.write(`<td class="col${d.col()}">`),yield c.renderTemplates(this.templates,e,r),r.write("</td>");i.length&&r.write("</tr>"),e.pop()}}class kl extends le{constructor(e,r,i){super(e,r,i),this.branches=[],this.elseTemplates=[];let u;this.liquid.parser.parseStream(r).on("start",()=>this.branches.push({value:new ke(e.args,this.liquid),test:Ct,templates:u=[]})).on("tag:elsif",n=>this.branches.push({value:new ke(n.args,this.liquid),test:Ue,templates:u=[]})).on("tag:else",()=>u=this.elseTemplates).on("tag:endunless",function(){this.stop()}).on("template",n=>u.push(n)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)}).start()}*render(e,r){const i=this.liquid.renderer;for(const{value:u,test:n,templates:a}of this.branches){const o=yield u.value(e,e.opts.lenientIf);if(n(o,e)){yield i.renderTemplates(a,e,r);return}}yield i.renderTemplates(this.elseTemplates,e,r)}}class Sl extends le{render(e,r){r.break=!0}}class Rl extends le{render(e,r){r.continue=!0}}class Fl extends le{constructor(e,r,i){super(e,r,i),this.value=new ke(e.args,this.liquid)}*render(e,r){const i=yield this.value.value(e,!1);r.write(i)}}class Ol extends le{constructor(e,r,i){super(e,r,i);const n=new he(e.args,this.liquid.options.operators).readLiquidTagTokens(this.liquid.options);this.templates=this.liquid.parser.parseTokens(n)}*render(e,r){yield this.liquid.renderer.renderTemplates(this.templates,e,r)}}class Nl extends le{constructor(e,r,i){if(super(e,r,i),e.args.search(/\n\s*[^#\s]/g)!==-1)throw new Error("every line of an inline comment must start with a '#' character")}render(){}}const Ll={assign:ll,for:cl,capture:fl,case:gl,comment:ml,include:bl,render:Dl,decrement:Al,increment:xl,cycle:El,if:yl,layout:vl,block:wl,raw:Cl,tablerow:Bl,unless:kl,break:Sl,continue:Rl,echo:Fl,liquid:Ol,"#":Nl};class mr{constructor(e={}){this.renderer=new ha,this.filters={},this.tags={},this.options=Ia(e),this.parser=new Xa(this),Qr(Ll,(r,i)=>this.registerTag(i,r)),Qr(ol,(r,i)=>this.registerFilter(i,r))}parse(e,r){return this.parser.parse(e,r)}_render(e,r,i){const u=r instanceof Ke?r:new Ke(r,this.options,i);return this.renderer.renderTemplates(e,u)}render(e,r,i){return Te(this,void 0,void 0,function*(){return Le(this._render(e,r,Object.assign(Object.assign({},i),{sync:!1})))})}renderSync(e,r,i){return qe(this._render(e,r,Object.assign(Object.assign({},i),{sync:!0})))}renderToNodeStream(e,r,i={}){const u=new Ke(r,this.options,i);return this.renderer.renderTemplatesToNodeStream(e,u)}_parseAndRender(e,r,i){const u=this.parse(e);return this._render(u,r,i)}parseAndRender(e,r,i){return Te(this,void 0,void 0,function*(){return Le(this._parseAndRender(e,r,Object.assign(Object.assign({},i),{sync:!1})))})}parseAndRenderSync(e,r,i){return qe(this._parseAndRender(e,r,Object.assign(Object.assign({},i),{sync:!0})))}_parsePartialFile(e,r,i){return this.parser.parseFile(e,r,ze.Partials,i)}_parseLayoutFile(e,r,i){return this.parser.parseFile(e,r,ze.Layouts,i)}_parseFile(e,r,i,u){return this.parser.parseFile(e,r,i,u)}parseFile(e,r){return Te(this,void 0,void 0,function*(){return Le(this.parser.parseFile(e,!1,r))})}parseFileSync(e,r){return qe(this.parser.parseFile(e,!0,r))}*_renderFile(e,r,i){const u=yield this._parseFile(e,i.sync,i.lookupType);return yield this._render(u,r,i)}renderFile(e,r,i){return Te(this,void 0,void 0,function*(){return Le(this._renderFile(e,r,Object.assign(Object.assign({},i),{sync:!1})))})}renderFileSync(e,r,i){return qe(this._renderFile(e,r,Object.assign(Object.assign({},i),{sync:!0})))}renderFileToNodeStream(e,r,i){return Te(this,void 0,void 0,function*(){const u=yield this.parseFile(e);return this.renderToNodeStream(u,r,i)})}_evalValue(e,r){const i=new ke(e,this),u=r instanceof Ke?r:new Ke(r,this.options);return i.value(u)}evalValue(e,r){return Te(this,void 0,void 0,function*(){return Le(this._evalValue(e,r))})}evalValueSync(e,r){return qe(this._evalValue(e,r))}registerFilter(e,r){this.filters[e]=r}registerTag(e,r){this.tags[e]=_e(r)?r:za(r)}plugin(e){return e.call(this,mr)}express(){const e=this;let r=!0;return function(i,u,n){if(r){r=!1;const a=ht(this.root);e.options.root.unshift(...a),e.options.layouts.unshift(...a),e.options.partials.unshift(...a)}e.renderFile(i,u).then(a=>n(null,a),n)}}}function ql(t){return(typeof t=="number"||typeof t=="string")&&!isNaN(Number(t))}class xu extends bt{generateIterationTemplate(e,r){return E.createElement(E.Fragment,null,E.createElement(Oe,null,`
|
|
84
|
+
***************************************************************************** */var bt=function(){return bt=Object.assign||function(e){for(var r,i=1,u=arguments.length;i<u;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bt.apply(this,arguments)};function ke(t,e,r,i){function u(n){return n instanceof r?n:new r(function(a){a(n)})}return new(r||(r=Promise))(function(n,a){function o(_){try{d(i.next(_))}catch(h){a(h)}}function c(_){try{d(i.throw(_))}catch(h){a(h)}}function d(_){_.done?n(_.value):u(_.value).then(o,c)}d((i=i.apply(t,e||[])).next())})}function qe(t){return ke(this,void 0,void 0,function*(){if(!gt(t))return t;let e,r=!1,i="next";do{const u=t[i](e);r=u.done,e=u.value,i="next";try{gt(e)&&(e=qe(e)),ys(e)&&(e=yield e)}catch(n){i="throw",e=n}}while(!r);return e})}function Ie(t){if(!gt(t))return t;let e,r=!1,i="next";do{const u=t[i](e);if(r=u.done,e=u.value,i="next",gt(e))try{e=Ie(e)}catch(n){i="throw",e=n}}while(!r);return e}function lr(t){return t=W(t),be(t)?t:Fe(t)&&t.length>0?[t]:xs(t)?Array.from(t):ur(t)?Object.keys(t).map(e=>[e,t[e]]):[]}function Se(t){return Oe(t)?[]:be(t)?t:[t]}const Ps=/%([-_0^#:]+)?(\d+)?([EO])?(.)/,hu=["January","February","March","April","May","June","July","August","September","October","November","December"],du=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Ms=hu.map(fu),Us=du.map(fu),ii={1:"st",2:"nd",3:"rd",default:"th"};function fu(t){return t.slice(0,3)}function $s(t){return[31,Vs(t)?29:28,31,30,31,30,31,31,30,31,30,31]}function _u(t){let e=0;for(let r=0;r<t.getMonth();++r)e+=$s(t)[r];return e+t.getDate()}function ui(t,e){const r=_u(t)+(e-t.getDay()),u=7-new Date(t.getFullYear(),0,1).getDay()+e;return String(Math.floor((r-u)/7)+1)}function Vs(t){const e=t.getFullYear();return!!(!(e&3)&&(e%100||e%400===0&&e))}function js(t){const e=t.getDate().toString(),r=parseInt(e.slice(-1));return ii[r]||ii.default}function zs(t){return parseInt(t.getFullYear().toString().substring(0,2),10)}const Hs={d:2,e:2,H:2,I:2,j:3,k:2,l:2,L:3,m:2,M:2,S:2,U:2,W:2},Gs={a:" ",A:" ",b:" ",B:" ",c:" ",e:" ",k:" ",l:" ",p:" ",P:" "},Yt={a:t=>Us[t.getDay()],A:t=>du[t.getDay()],b:t=>Ms[t.getMonth()],B:t=>hu[t.getMonth()],c:t=>t.toLocaleString(),C:t=>zs(t),d:t=>t.getDate(),e:t=>t.getDate(),H:t=>t.getHours(),I:t=>String(t.getHours()%12||12),j:t=>_u(t),k:t=>t.getHours(),l:t=>String(t.getHours()%12||12),L:t=>t.getMilliseconds(),m:t=>t.getMonth()+1,M:t=>t.getMinutes(),N:(t,e)=>{const r=Number(e.width)||9,i=String(t.getMilliseconds()).slice(0,r);return vs(i,r,"0")},p:t=>t.getHours()<12?"AM":"PM",P:t=>t.getHours()<12?"am":"pm",q:t=>js(t),s:t=>Math.round(t.getTime()/1e3),S:t=>t.getSeconds(),u:t=>t.getDay()||7,U:t=>ui(t,0),w:t=>t.getDay(),W:t=>ui(t,1),x:t=>t.toLocaleDateString(),X:t=>t.toLocaleTimeString(),y:t=>t.getFullYear().toString().slice(2,4),Y:t=>t.getFullYear(),z:(t,e)=>{const r=Math.abs(t.getTimezoneOffset()),i=Math.floor(r/60),u=r%60;return(t.getTimezoneOffset()>0?"-":"+")+mt(i,2,"0")+(e.flags[":"]?":":"")+mt(u,2,"0")},t:()=>" ",n:()=>`
|
|
85
|
+
`,"%":()=>"%"};Yt.h=Yt.b;function Ws(t,e){let r="",i=e,u;for(;u=Ps.exec(i);)r+=i.slice(0,u.index),i=i.slice(u.index+u[0].length),r+=Ks(t,u);return r+i}function Ks(t,e){const[r,i="",u,n,a]=e,o=Yt[a];if(!o)return r;const c={};for(const b of i)c[b]=!0;let d=String(o(t,{flags:c,width:u,modifier:n})),_=Gs[a]||"0",h=u||Hs[a]||0;return c["^"]?d=d.toUpperCase():c["#"]&&(d=ws(d)),c._?_=" ":c[0]&&(_="0"),c["-"]&&(h=0),mt(d,h,_)}const Xs=6e4,Ys=new Date().getTimezoneOffset(),Qs=/([zZ]|([+-])(\d{2}):(\d{2}))$/;class Pe{constructor(e,r){if(e instanceof Pe)this.date=e.date,r=e.timezoneOffset;else{const i=(Ys-r)*Xs,u=new Date(e).getTime()+i;this.date=new Date(u)}this.timezoneOffset=r}getTime(){return this.date.getTime()}getMilliseconds(){return this.date.getMilliseconds()}getSeconds(){return this.date.getSeconds()}getMinutes(){return this.date.getMinutes()}getHours(){return this.date.getHours()}getDay(){return this.date.getDay()}getDate(){return this.date.getDate()}getMonth(){return this.date.getMonth()}getFullYear(){return this.date.getFullYear()}toLocaleTimeString(e){return this.date.toLocaleTimeString(e)}toLocaleDateString(e){return this.date.toLocaleDateString(e)}getTimezoneOffset(){return this.timezoneOffset}static createDateFixedToTimezone(e){const r=e.match(Qs);if(r&&r[1]==="Z")return new Pe(+new Date(e),0);if(r&&r[2]&&r[3]&&r[4]){const[,,i,u,n]=r,a=(i==="+"?-1:1)*(parseInt(u,10)*60+parseInt(n,10));return new Pe(+new Date(e),a)}return new Date(e)}}class cr extends ve{constructor(e,r,i,u,n,a,o,c){super(e,i,u,n,c),this.trimLeft=!1,this.trimRight=!1,this.content=this.getText();const d=r[0]==="-",_=ir(r)==="-";this.content=r.slice(d?1:0,_?-1:r.length).trim(),this.trimLeft=d||a,this.trimRight=_||o}}class ni extends cr{constructor(e,r,i,u,n){const{trimTagLeft:a,trimTagRight:o,tagDelimiterLeft:c,tagDelimiterRight:d}=u,_=e.slice(r+c.length,i-d.length);super(re.Tag,_,e,r,i,a,o,n);const h=new de(this.content,u.operators);if(this.name=h.readTagName(),!this.name)throw new sr("illegal tag syntax",this);h.skipBlank(),this.args=h.remaining()}}class Js extends cr{constructor(e,r,i,u,n){const{trimOutputLeft:a,trimOutputRight:o,outputDelimiterLeft:c,outputDelimiterRight:d}=u,_=e.slice(r+c.length,i-d.length);super(re.Output,_,e,r,i,a,o,n)}}class si extends ve{constructor(e,r,i,u){super(re.HTML,e,r,i,u),this.input=e,this.begin=r,this.end=i,this.file=u,this.trimLeft=0,this.trimRight=0}getContent(){return this.input.slice(this.begin+this.trimLeft,this.end-this.trimRight)}}class Zs extends ve{constructor(e,r){super(re.Number,e.input,e.begin,r?r.end:e.end,e.file),this.whole=e,this.decimal=r}}class pt extends ve{constructor(e,r,i,u){super(re.Word,e,r,i,u),this.input=e,this.begin=r,this.end=i,this.file=u,this.content=this.getText()}isNumber(e=!1){const r=e&&te[this.input.charCodeAt(this.begin)]&Ns?this.begin+1:this.begin;for(let i=r;i<this.end;i++)if(!(te[this.input.charCodeAt(i)]&Os))return!1;return!0}}class ea extends ve{constructor(e,r,i,u){super(re.Literal,e,r,i,u),this.input=e,this.begin=r,this.end=i,this.file=u,this.literal=this.getText()}}const ai={"==":2,"!=":2,">":2,"<":2,">=":2,"<=":2,contains:2,not:1,and:0,or:0},ta={"==":0,"!=":0,">":0,"<":0,">=":0,"<=":0,contains:0,not:1,and:0,or:0};class ra extends ve{constructor(e,r,i,u){super(re.Operator,e,r,i,u),this.input=e,this.begin=r,this.end=i,this.file=u,this.operator=this.getText()}getPrecedence(){const e=this.getText();return e in ai?ai[e]:1}}class oi extends ve{constructor(e,r,i){super(re.PropertyAccess,e.input,e.begin,i,e.file),this.variable=e,this.props=r,this.propertyName=this.variable instanceof pt?this.variable.getText():Du(this.variable.getText())}}class ia extends ve{constructor(e,r,i,u,n,a){super(re.Filter,i,u,n,a),this.name=e,this.args=r}}class ua extends ve{constructor(e,r,i,u,n,a){super(re.Hash,e,r,i,a),this.input=e,this.begin=r,this.end=i,this.name=u,this.value=n,this.file=a}}class na extends ve{constructor(e,r,i,u){super(re.Quoted,e,r,i,u),this.input=e,this.begin=r,this.end=i,this.file=u}}class sa extends ve{constructor(e,r,i,u,n,a){super(re.Range,e,r,i,a),this.input=e,this.begin=r,this.end=i,this.lhs=u,this.rhs=n,this.file=a}}class aa extends cr{constructor(e,r,i,u,n){const a=e.slice(r,i);if(super(re.Tag,a,e,r,i,!1,!1,n),!/\S/.test(a))this.name="",this.args="";else{const o=new de(this.content,u.operators);if(this.name=o.readTagName(),!this.name)throw new sr("illegal liquid tag syntax",this);o.skipBlank(),this.args=o.remaining()}}}class oa{constructor(){this.buffer=""}write(e){this.buffer+=z(e)}}class la{constructor(){throw this.buffer="",this.stream=null,new Error("streaming not supported in browser")}}class ca{constructor(){this.buffer=""}write(e){e=W(e),typeof e!="string"&&this.buffer===""?this.buffer=e:this.buffer=z(this.buffer)+z(e)}}class pa{renderTemplatesToNodeStream(e,r){const i=new la;return Promise.resolve().then(()=>qe(this.renderTemplates(e,r,i))).then(()=>i.end(),u=>i.error(u)),i.stream}*renderTemplates(e,r,i){i||(i=r.opts.keepOutputType?new ca:new oa);for(const u of e)try{const n=yield u.render(r,i);if(n&&i.write(n),i.break||i.continue)break}catch(n){throw Zr.is(n)?n:new Zr(n,u)}return i.buffer}}class ha{constructor(e){this.postfix=[...ma(e)]}*evaluate(e,r){he(e,"unable to evaluate: context not defined");const i=[];for(const u of this.postfix)if(Au(u)){const n=i.pop();let a;if(ta[u.operator]===1)a=yield e.opts.operators[u.operator](n,e);else{const o=i.pop();a=yield e.opts.operators[u.operator](o,n,e)}i.push(a)}else i.push(yield fe(u,e,r&&this.postfix.length===1));return i[0]}}function*fe(t,e,r=!1){if(eo(t))return yield da(t,e,r);if(ro(t))return yield ga(t,e);if(Ja(t))return _a(t);if(Za(t))return fa(t);if(to(t))return t.getText();if(yu(t))return pr(t)}function*da(t,e,r){const i=[];for(const u of t.props)i.push(yield fe(u,e,!1));try{return yield e._get([t.propertyName,...i])}catch(u){if(r&&u.name==="InternalUndefinedVariableError")return null;throw new Bs(u,t)}}function fa(t){const e=t.whole.content+"."+(t.decimal?t.decimal.content:"");return Number(e)}function pr(t){return Du(t.getText())}function _a(t){return pu[t.literal]}function*ga(t,e){const r=yield fe(t.lhs,e),i=yield fe(t.rhs,e);return au(+r,+i+1)}function*ma(t){const e=[];for(const r of t)if(Au(r)){for(;e.length&&e[e.length-1].getPrecedence()>r.getPrecedence();)yield e.pop();e.push(r)}else yield r;for(;e.length;)yield e.pop()}function Ue(t,e){return!Ct(t,e)}function Ct(t,e){return e.opts.jsTruthy?!t:t===!1||t===void 0||t===null}const ba={"==":(t,e)=>De(t)?t.equals(e):De(e)?e.equals(t):W(t)===W(e),"!=":(t,e)=>De(t)?!t.equals(e):De(e)?!e.equals(t):W(t)!==W(e),">":(t,e)=>De(t)?t.gt(e):De(e)?e.lt(t):W(t)>W(e),"<":(t,e)=>De(t)?t.lt(e):De(e)?e.gt(t):W(t)<W(e),">=":(t,e)=>De(t)?t.geq(e):De(e)?e.leq(t):W(t)>=W(e),"<=":(t,e)=>De(t)?t.leq(e):De(e)?e.geq(t):W(t)<=W(e),contains:(t,e)=>(t=W(t),e=W(e),t&&_e(t.indexOf)?t.indexOf(e)>-1:!1),not:(t,e)=>Ct(W(t),e),and:(t,e,r)=>Ue(W(t),r)&&Ue(W(e),r),or:(t,e,r)=>Ue(W(t),r)||Ue(W(e),r)};class Gt{constructor(e,r,i,u){this.key=e,this.value=r,this.next=i,this.prev=u}}class li{constructor(e,r=0){this.limit=e,this.size=r,this.cache={},this.head=new Gt("HEAD",null,null,null),this.tail=new Gt("TAIL",null,null,null),this.head.next=this.tail,this.tail.prev=this.head}write(e,r){if(this.cache[e])this.cache[e].value=r;else{const i=new Gt(e,r,this.head.next,this.head);this.head.next.prev=i,this.head.next=i,this.cache[e]=i,this.size++,this.ensureLimit()}}read(e){if(!this.cache[e])return;const{value:r}=this.cache[e];return this.remove(e),this.write(e,r),r}remove(e){const r=this.cache[e];r.prev.next=r.next,r.next.prev=r.prev,delete this.cache[e],this.size--}clear(){this.head.next=this.tail,this.tail.prev=this.head,this.size=0,this.cache={}}ensureLimit(){this.size>this.limit&&this.remove(this.tail.prev.key)}}function gu(t,e){const r=document.createElement("base");r.href=t;const i=document.getElementsByTagName("head")[0];i.insertBefore(r,i.firstChild);const u=document.createElement("a");u.href=e;const n=u.href;return i.removeChild(r),n}function Da(t,e,r){return t.length&&ir(t)!=="/"&&(t+="/"),gu(t,e).replace(/^(\w+:\/\/[^/]+)(\/[^?]+)/,(u,n,a)=>{const o=a.split("/").pop();return/\.\w+$/.test(o)?u:n+a+r})}function Aa(t){return ke(this,void 0,void 0,function*(){return new Promise((e,r)=>{const i=new XMLHttpRequest;i.onload=()=>{i.status>=200&&i.status<300?e(i.responseText):r(new Error(i.statusText))},i.onerror=()=>{r(new Error("An error occurred whilst receiving the response."))},i.open("GET",t),i.send()})})}function ya(t){const e=new XMLHttpRequest;if(e.open("GET",t,!1),e.send(),e.status<200||e.status>=300)throw new Error(e.statusText);return e.responseText}function Ea(t){return ke(this,void 0,void 0,function*(){return!0})}function xa(t){return!0}function va(t){return gu(t,".")}const wa="/";var Ca=Object.freeze({__proto__:null,resolve:Da,readFile:Aa,readFileSync:ya,exists:Ea,existsSync:xa,dirname:va,sep:wa});function Ta(t,e,...r){return t=W(t),be(t)||Fe(t)?t.length?t:e:t===!1&&new Map(r).get("allow_false")?!1:Ct(t,this.context)?e:t}function mu(t){return JSON.stringify(t)}const Ba={raw:!0,handler:lu},ka={"&":"&","<":"<",">":">",'"':""","'":"'"},Sa={"&":"&","<":"<",">":">",""":'"',"'":"'"};function hr(t){return z(t).replace(/&|<|>|"|'/g,e=>ka[e])}function Ra(t){return z(t).replace(/&(amp|lt|gt|#34|#39);/g,e=>Sa[e])}function Fa(t){return hr(Ra(z(t)))}function Oa(t){return z(t).replace(/\n/g,`<br />
|
|
86
|
+
`)}function Na(t){return z(t).replace(/<script.*?<\/script>|<!--.*?-->|<style.*?<\/style>|<.*?>/g,"")}var La=Object.freeze({__proto__:null,escape:hr,escape_once:Fa,newline_to_br:Oa,strip_html:Na});const Me={root:["."],layouts:["."],partials:["."],relativeReference:!0,jekyllInclude:!1,cache:void 0,extname:"",fs:Ca,dynamicPartials:!0,jsTruthy:!1,trimTagRight:!1,trimTagLeft:!1,trimOutputRight:!1,trimOutputLeft:!1,greedy:!0,tagDelimiterLeft:"{%",tagDelimiterRight:"%}",outputDelimiterLeft:"{{",outputDelimiterRight:"}}",preserveTimezones:!1,strictFilters:!1,strictVariables:!1,ownPropertyOnly:!0,lenientIf:!1,globals:{},keepOutputType:!1,operators:ba};function qa(t){if(t.hasOwnProperty("root")&&(t.hasOwnProperty("partials")||(t.partials=t.root),t.hasOwnProperty("layouts")||(t.layouts=t.root)),t.hasOwnProperty("cache")){let e;typeof t.cache=="number"?e=t.cache>0?new li(t.cache):void 0:typeof t.cache=="object"?e=t.cache:e=t.cache?new li(1024):void 0,t.cache=e}return t=Object.assign(Object.assign(Object.assign({},Me),t.jekyllInclude?{dynamicPartials:!1}:{}),t),!t.fs.dirname&&t.relativeReference&&(console.warn("[LiquidJS] `fs.dirname` is required for relativeReference, set relativeReference to `false` to suppress this warning, or provide implementation for `fs.dirname`"),t.relativeReference=!1),t.root=ht(t.root),t.partials=ht(t.partials),t.layouts=ht(t.layouts),t.outputEscape=t.outputEscape&&Ia(t.outputEscape),t}function Ia(t){return t==="escape"?hr:t==="json"?mu:(he(_e(t),"`outputEscape` need to be of type string or function"),t)}function ht(t){let e=[];return be(t)&&(e=t),Fe(t)&&(e=[t]),e}function Pa(t,e,r,i=t.length){let u=r,n=e,a;for(;u[t[n]]&&n<i;)u=u[t[n++]],u.end&&(a=u);return!a||a.needBoundary&&te[t.charCodeAt(n)]&ar?-1:n}function Ma(t,e){let r=!1;for(let i=0;i<t.length;i++){const u=t[i];Ya(u)&&(!r&&u.trimLeft&&Ua(t[i-1],e.greedy),Ge(u)&&(u.name==="raw"?r=!0:u.name==="endraw"&&(r=!1)),!r&&u.trimRight&&$a(t[i+1],e.greedy))}}function Ua(t,e){if(!t||!fr(t))return;const r=e?vt:cu;for(;te[t.input.charCodeAt(t.end-1-t.trimRight)]&r;)t.trimRight++}function $a(t,e){if(!t||!fr(t))return;const r=e?vt:cu;for(;te[t.input.charCodeAt(t.begin+t.trimLeft)]&r;)t.trimLeft++;t.input.charAt(t.begin+t.trimLeft)===`
|
|
87
|
+
`&&t.trimLeft++}class de{constructor(e,r=Me.operators,i){this.input=e,this.file=i,this.p=0,this.rawBeginAt=-1,this.N=e.length,this.opTrie=Is(r)}readExpression(){return new ha(this.readExpressionTokens())}*readExpressionTokens(){for(;this.p<this.N;){const e=this.readOperator();if(e){yield e;continue}const r=this.readValue();if(r){yield r;continue}return}}readOperator(){this.skipBlank();const e=Pa(this.input,this.p,this.opTrie);if(e!==-1)return new ra(this.input,this.p,this.p=e,this.file)}readFilters(){const e=[];for(;;){const r=this.readFilter();if(!r)return e;e.push(r)}}readFilter(){if(this.skipBlank(),this.end())return null;he(this.peek()==="|",()=>`unexpected token at ${this.snapshot()}`),this.p++;const e=this.p,r=this.readIdentifier();if(!r.size())return null;const i=[];if(this.skipBlank(),this.peek()===":")do{++this.p;const u=this.readFilterArg();u&&i.push(u),this.skipBlank(),he(this.end()||this.peek()===","||this.peek()==="|",()=>`unexpected character ${this.snapshot()}`)}while(this.peek()===",");return new ia(r.getText(),i,this.input,e,this.p,this.file)}readFilterArg(){const e=this.readValue();if(!e)return;if(this.skipBlank(),this.peek()!==":")return e;++this.p;const r=this.readValue();return[e.getText(),r]}readTopLevelTokens(e=Me){const r=[];for(;this.p<this.N;){const i=this.readTopLevelToken(e);r.push(i)}return Ma(r,e),r}readTopLevelToken(e){const{tagDelimiterLeft:r,outputDelimiterLeft:i}=e;return this.rawBeginAt>-1?this.readEndrawOrRawContent(e):this.match(r)?this.readTagToken(e):this.match(i)?this.readOutputToken(e):this.readHTMLToken([r,i])}readHTMLToken(e){const r=this.p;for(;this.p<this.N&&!e.some(i=>this.match(i));)++this.p;return new si(this.input,r,this.p,this.file)}readTagToken(e=Me){const{file:r,input:i}=this,u=this.p;if(this.readToDelimiter(e.tagDelimiterRight)===-1)throw this.mkError(`tag ${this.snapshot(u)} not closed`,u);const n=new ni(i,u,this.p,e,r);return n.name==="raw"&&(this.rawBeginAt=u),n}readToDelimiter(e){for(;this.p<this.N;){if(this.peekType()&ei){this.readQuoted();continue}if(++this.p,this.rmatch(e))return this.p}return-1}readOutputToken(e=Me){const{file:r,input:i}=this,{outputDelimiterRight:u}=e,n=this.p;if(this.readToDelimiter(u)===-1)throw this.mkError(`output ${this.snapshot(n)} not closed`,n);return new Js(i,n,this.p,e,r)}readEndrawOrRawContent(e){const{tagDelimiterLeft:r,tagDelimiterRight:i}=e,u=this.p;let n=this.readTo(r)-r.length;for(;this.p<this.N;){if(this.readIdentifier().getText()!=="endraw"){n=this.readTo(r)-r.length;continue}for(;this.p<=this.N;){if(this.rmatch(i)){const a=this.p;return u===n?(this.rawBeginAt=-1,new ni(this.input,u,a,e,this.file)):(this.p=n,new si(this.input,u,n,this.file))}if(this.rmatch(r))break;this.p++}}throw this.mkError(`raw ${this.snapshot(this.rawBeginAt)} not closed`,u)}readLiquidTagTokens(e=Me){const r=[];for(;this.p<this.N;){const i=this.readLiquidTagToken(e);i.name&&r.push(i)}return r}readLiquidTagToken(e){const{file:r,input:i}=this,u=this.p;let n=this.N;return this.readToDelimiter(`
|
|
88
|
+
`)!==-1&&(n=this.p),new aa(i,u,n,e,r)}mkError(e,r){return new sr(e,new pt(this.input,r,this.N,this.file))}snapshot(e=this.p){return JSON.stringify(Cs(this.input.slice(e),16))}readWord(){return console.warn("Tokenizer#readWord() will be removed, use #readIdentifier instead"),this.readIdentifier()}readIdentifier(){this.skipBlank();const e=this.p;for(;this.peekType()&ar;)++this.p;return new pt(this.input,e,this.p,this.file)}readTagName(){return this.skipBlank(),this.input[this.p]==="#"?this.input.slice(this.p,++this.p):this.readIdentifier().getText()}readHashes(e){const r=[];for(;;){const i=this.readHash(e);if(!i)return r;r.push(i)}}readHash(e){this.skipBlank(),this.peek()===","&&++this.p;const r=this.p,i=this.readIdentifier();if(!i.size())return;let u;this.skipBlank();const n=e?"=":":";return this.peek()===n&&(++this.p,u=this.readValue()),new ua(this.input,r,this.p,i,u,this.file)}remaining(){return this.input.slice(this.p)}advance(e=1){this.p+=e}end(){return this.p>=this.N}readTo(e){for(;this.p<this.N;)if(++this.p,this.rmatch(e))return this.p;return-1}readValue(){const e=this.readQuoted()||this.readRange();if(e)return e;if(this.peek()==="["){this.p++;const n=this.readQuoted();return!n||this.peek()!=="]"?void 0:(this.p++,new oi(n,[],this.p))}const r=this.readIdentifier();if(!r.size())return;let i=r.isNumber(!0);const u=[];for(;;)if(this.peek()==="["){i=!1,this.p++;const n=this.readValue()||new pt(this.input,this.p,this.p,this.file);this.readTo("]"),u.push(n)}else if(this.peek()==="."&&this.peek(1)!=="."){this.p++;const n=this.readIdentifier();if(!n.size())break;n.isNumber()||(i=!1),u.push(n)}else break;return!u.length&&pu.hasOwnProperty(r.content)?new ea(this.input,r.begin,r.end,this.file):i?new Zs(r,u[0]):new oi(r,u,this.p)}readRange(){this.skipBlank();const e=this.p;if(this.peek()!=="(")return;++this.p;const r=this.readValueOrThrow();this.p+=2;const i=this.readValueOrThrow();return++this.p,new sa(this.input,e,this.p,r,i,this.file)}readValueOrThrow(){const e=this.readValue();return he(e,()=>`unexpected token ${this.snapshot()}, value expected`),e}readQuoted(){this.skipBlank();const e=this.p;if(!(this.peekType()&ei))return;++this.p;let r=!1;for(;this.p<this.N&&(++this.p,!(this.input[this.p-1]===this.input[e]&&!r));)r?r=!1:this.input[this.p-1]==="\\"&&(r=!0);return new na(this.input,e,this.p,this.file)}*readFileNameTemplate(e){const{outputDelimiterLeft:r}=e,i=[","," ",r],u=new Set(i);for(;this.p<this.N&&!u.has(this.peek());)yield this.match(r)?this.readOutputToken(e):this.readHTMLToken(i)}match(e){for(let r=0;r<e.length;r++)if(e[r]!==this.input[this.p+r])return!1;return!0}rmatch(e){for(let r=0;r<e.length;r++)if(e[e.length-1-r]!==this.input[this.p-1-r])return!1;return!0}peekType(e=0){return te[this.input.charCodeAt(this.p+e)]}peek(e=0){return this.input[this.p+e]}skipBlank(){for(;this.peekType()&vt;)++this.p}}class Va{constructor(e,r){this.handlers={},this.stopRequested=!1,this.tokens=e,this.parseToken=r}on(e,r){return this.handlers[e]=r,this}trigger(e,r){const i=this.handlers[e];return i?(i.call(this,r),!0):!1}start(){this.trigger("start");let e;for(;!this.stopRequested&&(e=this.tokens.shift());){if(this.trigger("token",e)||Ge(e)&&this.trigger(`tag:${e.name}`,e))continue;const r=this.parseToken(e,this.tokens);this.trigger("template",r)}return this.stopRequested||this.trigger("end"),this}stop(){return this.stopRequested=!0,this}}class dr{constructor(e){this.token=e}}class le extends dr{constructor(e,r,i){super(e),this.name=e.name,this.liquid=i}}class Qe{constructor(e,r){this.hash={};const i=new de(e,{});for(const u of i.readHashes(r))this.hash[u.name.content]=u.value}*render(e){const r={};for(const i of Object.keys(this.hash))r[i]=this.hash[i]===void 0?!0:yield fe(this.hash[i],e);return r}}function ja(t){return class extends le{constructor(e,r,i){super(e,r,i),_e(t.parse)&&t.parse.call(this,e,r)}*render(e,r){const i=yield new Qe(this.token.args).render(e);return yield t.render.call(this,e,r,i)}}}function za(t){return be(t)}class bu{constructor(e,r,i,u){this.name=e,this.handler=_e(r)?r:_e(r==null?void 0:r.handler)?r.handler:lu,this.raw=!_e(r)&&!!(r!=null&&r.raw),this.args=i,this.liquid=u}*render(e,r){const i=[];for(const u of this.args)za(u)?i.push([u[0],yield fe(u[1],r)]):i.push(yield fe(u,r));return this.handler.apply({context:r,liquid:this.liquid},[e,...i])}}class Re{constructor(e,r){this.filters=[];const i=new de(e,r.options.operators);this.initial=i.readExpression(),this.filters=i.readFilters().map(({name:u,args:n})=>new bu(u,this.getFilter(r,u),n,r))}*value(e,r){r=r||e.opts.lenientIf&&this.filters.length>0&&this.filters[0].name==="default";let i=yield this.initial.evaluate(e,r);for(const u of this.filters)i=yield u.render(i,e);return i}getFilter(e,r){const i=e.filters[r];return he(i||!e.options.strictFilters,()=>`undefined filter: ${r}`),i}}class Ha extends dr{constructor(e,r){var i;super(e),this.value=new Re(e.content,r);const u=this.value.filters,n=r.options.outputEscape;!(!((i=u[u.length-1])===null||i===void 0)&&i.raw)&&n&&u.push(new bu(toString.call(n),n,[],r))}*render(e,r){const i=yield this.value.value(e,!1);r.write(i)}}class Ga extends dr{constructor(e){super(e),this.str=e.getContent()}*render(e,r){r.write(this.str)}}var ze;(function(t){t.Partials="partials",t.Layouts="layouts",t.Root="root"})(ze||(ze={}));class Wa{constructor(e){if(this.options=e,e.relativeReference){const r=e.fs.sep;he(r,"`fs.sep` is required for relative reference");const i=new RegExp(["."+r,".."+r,"./","../"].map(u=>Es(u)).join("|"));this.shouldLoadRelative=u=>i.test(u)}else this.shouldLoadRelative=r=>!1;this.contains=this.options.fs.contains||(()=>!0)}*lookup(e,r,i,u){const{fs:n}=this.options,a=this.options[r];for(const o of this.candidates(e,a,u,r!==ze.Root))if(i?n.existsSync(o):yield n.exists(o))return o;throw this.lookupError(e,a)}*candidates(e,r,i,u){const{fs:n,extname:a}=this.options;if(this.shouldLoadRelative(e)&&i){const o=n.resolve(this.dirname(i),e,a);for(const c of r)if(!u||this.contains(c,o)){yield o;break}}for(const o of r){const c=n.resolve(o,e,a);(!u||this.contains(o,c))&&(yield c)}if(n.fallback!==void 0){const o=n.fallback(e);o!==void 0&&(yield o)}}dirname(e){const r=this.options.fs;return he(r.dirname,"`fs.dirname` is required for relative reference"),r.dirname(e)}lookupError(e,r){const i=new Error("ENOENT");return i.message=`ENOENT: Failed to lookup "${e}" in "${r}"`,i.code="ENOENT",i}}class Ka{constructor(e){this.liquid=e,this.cache=this.liquid.options.cache,this.fs=this.liquid.options.fs,this.parseFile=this.cache?this._parseFileCached:this._parseFile,this.loader=new Wa(this.liquid.options)}parse(e,r){const u=new de(e,this.liquid.options.operators,r).readTopLevelTokens(this.liquid.options);return this.parseTokens(u)}parseTokens(e){let r;const i=[];for(;r=e.shift();)i.push(this.parseToken(r,e));return i}parseToken(e,r){try{if(Ge(e)){const i=this.liquid.tags[e.name];return he(i,`tag "${e.name}" not found`),new i(e,r,this.liquid)}return Qa(e)?new Ha(e,this.liquid):new Ga(e)}catch(i){throw new Ts(i,e)}}parseStream(e){return new Va(e,(r,i)=>this.parseToken(r,i))}*_parseFileCached(e,r,i=ze.Root,u){const n=this.cache,a=this.loader.shouldLoadRelative(e)?u+","+e:i+":"+e,o=yield n.read(a);if(o)return o;const c=this._parseFile(e,r,i,u),d=r?yield c:qe(c);n.write(a,d);try{return yield d}catch(_){throw n.remove(a),_}}*_parseFile(e,r,i=ze.Root,u){const n=yield this.loader.lookup(e,i,r,u);return this.liquid.parse(r?this.fs.readFileSync(n):yield this.fs.readFile(n),n)}}const Xa=/[\da-fA-F]/,ci=/[0-7]/,pi={b:"\b",f:"\f",n:`
|
|
89
|
+
`,r:"\r",t:" ",v:"\v"};function hi(t){const e=t.charCodeAt(0);return e>=97?e-87:e>=65?e-55:e-48}function Du(t){let e="";for(let r=1;r<t.length-1;r++){if(t[r]!=="\\"){e+=t[r];continue}if(pi[t[r+1]]!==void 0)e+=pi[t[++r]];else if(t[r+1]==="u"){let i=0,u=r+2;for(;u<=r+5&&Xa.test(t[u]);)i=i*16+hi(t[u++]);r=u-1,e+=String.fromCharCode(i)}else if(!ci.test(t[r+1]))e+=t[++r];else{let i=r+1,u=0;for(;i<=r+3&&ci.test(t[i]);)u=u*8+hi(t[i++]);r=i-1,e+=String.fromCharCode(u)}}return e}var re;(function(t){t[t.Number=1]="Number",t[t.Literal=2]="Literal",t[t.Tag=4]="Tag",t[t.Output=8]="Output",t[t.HTML=16]="HTML",t[t.Filter=32]="Filter",t[t.Hash=64]="Hash",t[t.PropertyAccess=128]="PropertyAccess",t[t.Word=256]="Word",t[t.Range=512]="Range",t[t.Quoted=1024]="Quoted",t[t.Operator=2048]="Operator",t[t.Delimited=12]="Delimited"})(re||(re={}));function Ya(t){return!!(we(t)&re.Delimited)}function Au(t){return we(t)===re.Operator}function fr(t){return we(t)===re.HTML}function Qa(t){return we(t)===re.Output}function Ge(t){return we(t)===re.Tag}function yu(t){return we(t)===re.Quoted}function Ja(t){return we(t)===re.Literal}function Za(t){return we(t)===re.Number}function eo(t){return we(t)===re.PropertyAccess}function to(t){return we(t)===re.Word}function ro(t){return we(t)===re.Range}function we(t){return t?t.kind:-1}class Ke{constructor(e={},r=Me,i={}){var u,n;this.scopes=[{}],this.registers={},this.sync=!!i.sync,this.opts=r,this.globals=(u=i.globals)!==null&&u!==void 0?u:r.globals,this.environments=e,this.strictVariables=(n=i.strictVariables)!==null&&n!==void 0?n:this.opts.strictVariables}getRegister(e){return this.registers[e]=this.registers[e]||{}}setRegister(e,r){return this.registers[e]=r}saveRegister(...e){return e.map(r=>[r,this.getRegister(r)])}restoreRegister(e){return e.forEach(([r,i])=>this.setRegister(r,i))}getAll(){return[this.globals,this.environments,...this.scopes].reduce((e,r)=>bt(e,r),{})}get(e){return Ie(this._get(e))}*_get(e){const r=this.findScope(e[0]);return yield this._getFromScope(r,e)}getFromScope(e,r){return Ie(this._getFromScope(e,r))}*_getFromScope(e,r){Fe(r)&&(r=r.split("."));for(let i=0;i<r.length;i++)if(e=yield io(e,r[i],this.opts.ownPropertyOnly),Oe(e)&&this.strictVariables)throw new ks(r.slice(0,i+1).join("."));return e}push(e){return this.scopes.push(e)}pop(){return this.scopes.pop()}bottom(){return this.scopes[0]}findScope(e){for(let r=this.scopes.length-1;r>=0;r--){const i=this.scopes[r];if(e in i)return i}return e in this.environments?this.environments:this.globals}}function io(t,e,r){if(t=su(t),Oe(t))return t;if(be(t)&&e<0)return t[t.length+ +e];const i=uo(t,e,r);return i===void 0&&t instanceof He?t.liquidMethodMissing(e):_e(i)?i.call(t):e==="size"?ao(t):e==="first"?no(t):e==="last"?so(t):i}function uo(t,e,r){if(!(r&&!Object.hasOwnProperty.call(t,e)&&!(t instanceof He)))return t[e]}function no(t){return be(t)?t[0]:t.first}function so(t){return be(t)?t[t.length-1]:t.last}function ao(t){if(t.hasOwnProperty("size")||t.size!==void 0)return t.size;if(be(t)||Fe(t))return t.length;if(typeof t=="object")return Object.keys(t).length}var $e;(function(t){t[t.OUTPUT=0]="OUTPUT",t[t.STORE=1]="STORE"})($e||($e={}));const oo=Ae(Math.abs),lo=Ae(Math.max),co=Ae(Math.min),po=Ae(Math.ceil),ho=Ae((t,e,r=!1)=>r?Math.floor(t/e):t/e),fo=Ae(Math.floor),_o=Ae((t,e)=>t-e),go=Ae((t,e)=>t%e),mo=Ae((t,e)=>t*e);function bo(t,e=0){t=W(t),e=W(e);const r=Math.pow(10,e);return Math.round(t*r)/r}function Do(t,e){return t=W(t),e=W(e),Number(t)+Number(e)}var Ao=Object.freeze({__proto__:null,abs:oo,at_least:lo,at_most:co,ceil:po,divided_by:ho,floor:fo,minus:_o,modulo:go,times:mo,round:bo,plus:Do});const yo=t=>z(t).split("+").map(decodeURIComponent).join(" "),Eo=t=>z(t).split(" ").map(encodeURIComponent).join("+");var xo=Object.freeze({__proto__:null,url_decode:yo,url_encode:Eo});const vo=Ae((t,e)=>Se(t).join(e===void 0?" ":e)),wo=Ae(t=>be(t)?ir(t):""),Co=Ae(t=>be(t)?t[0]:""),To=Ae(t=>[...Se(t)].reverse());function*Bo(t,e){const r=[];for(const i of Se(W(t)))r.push([i,e?yield this.context._getFromScope(i,z(e).split(".")):i]);return r.sort((i,u)=>{const n=i[1],a=u[1];return n<a?-1:n>a?1:0}).map(i=>i[0])}function ko(t,e){t=W(t);const r=z(e),i=e===void 0?Jr:(u,n)=>Jr(u[r],n[r]);return[...Se(t)].sort(i)}const So=t=>t&&t.length||0;function*Ro(t,e){const r=[];for(const i of Se(W(t)))r.push(yield this.context._getFromScope(i,z(e).split(".")));return r}function Fo(t){return t=W(t),Se(t).filter(e=>!Oe(W(e)))}function Oo(t,e=[]){return t=W(t),e=Se(e).map(r=>W(r)),Se(t).concat(e)}function No(t,e,r=1){return t=W(t),Oe(t)?[]:(be(t)||(t=z(t)),e=e<0?t.length+e:e,t.slice(e,e+r))}function*Lo(t,e,r){const i=[];t=Se(W(t));for(const u of t)i.push(yield this.context._getFromScope(u,z(e).split(".")));return t.filter((u,n)=>r===void 0?Ue(i[n],this.context):De(r)?r.equals(i[n]):i[n]===r)}function qo(t){t=W(t);const e={};return(t||[]).filter(r=>nu.call(e,String(r))?!1:(e[String(r)]=!0,!0))}var Io=Object.freeze({__proto__:null,join:vo,last:wo,first:Co,reverse:To,sort:Bo,sort_natural:ko,size:So,map:Ro,compact:Fo,concat:Oo,slice:No,where:Lo,uniq:qo});const Po="%A, %B %-e, %Y at %-l:%M %P %z";function Mo(t,e,r){const i=this.context.opts;let u;return t=W(t),e=W(e),Oe(e)?e=Po:e=z(e),t==="now"||t==="today"?u=new Date:Et(t)?u=new Date(t*1e3):Fe(t)?/^\d+$/.test(t)?u=new Date(+t*1e3):i.preserveTimezones?u=Pe.createDateFixedToTimezone(t):u=new Date(t):u=t,Uo(u)?(r!==void 0?u=new Pe(u,di(u,r)):i.timezoneOffset!==void 0&&(u=new Pe(u,di(u,i.timezoneOffset))),Ws(u,e)):t}function Uo(t){return(t instanceof Date||t instanceof Pe)&&!isNaN(t.getTime())}function di(t,e){if(Et(e))return e;const r=new Date(t.toLocaleString("en-US",{timeZone:"UTC"})),i=new Date(t.toLocaleString("en-US",{timeZone:e}));return(r.getTime()-i.getTime())/6e4}var $o=Object.freeze({__proto__:null,date:Mo});function Vo(t,e){return he(arguments.length===2,"append expect 2 arguments"),z(t)+z(e)}function jo(t,e){return he(arguments.length===2,"prepend expect 2 arguments"),z(e)+z(t)}function zo(t,e){return e?(e=nr(z(e)),z(t).replace(new RegExp(`^[${e}]+`,"g"),"")):z(t).replace(/^\s+/,"")}function Ho(t){return z(t).toLowerCase()}function Go(t){return z(t).toUpperCase()}function Wo(t,e){return z(t).split(String(e)).join("")}function Ko(t,e){return z(t).replace(String(e),"")}function Xo(t,e){const r=z(t),i=String(e),u=r.lastIndexOf(i);return u===-1?r:r.substring(0,u)+r.substring(u+i.length+1)}function Yo(t,e){return e?(e=nr(z(e)),z(t).replace(new RegExp(`[${e}]+$`,"g"),"")):z(t).replace(/\s+$/,"")}function Qo(t,e){const r=z(t).split(String(e));for(;r.length&&r[r.length-1]==="";)r.pop();return r}function Jo(t,e){return e?(e=nr(z(e)),z(t).replace(new RegExp(`^[${e}]+`,"g"),"").replace(new RegExp(`[${e}]+$`,"g"),"")):z(t).trim()}function Zo(t){return z(t).replace(/\n/g,"")}function el(t){return t=z(t),t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()}function tl(t,e,r){return z(t).split(String(e)).join(r)}function rl(t,e,r){return z(t).replace(String(e),r)}function il(t,e,r){const i=z(t),u=String(e),n=i.lastIndexOf(u);if(n===-1)return i;const a=String(r);return i.substring(0,n)+a+i.substring(n+u.length)}function ul(t,e=50,r="..."){return t=z(t),t.length<=e?t:t.substring(0,e-r.length)+r}function nl(t,e=15,r="..."){const i=z(t).split(/\s+/);e<=0&&(e=1);let u=i.slice(0,e).join(" ");return i.length>=e&&(u+=r),u}var sl=Object.freeze({__proto__:null,append:Vo,prepend:jo,lstrip:zo,downcase:Ho,upcase:Go,remove:Wo,remove_first:Ko,remove_last:Xo,rstrip:Yo,split:Qo,strip:Jo,strip_newlines:Zo,capitalize:el,replace:tl,replace_first:rl,replace_last:il,truncate:ul,truncatewords:nl});const al=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},La),Ao),xo),Io),$o),sl),{json:mu,raw:Ba,default:Ta});class ol extends le{constructor(e,r,i){super(e,r,i);const u=new de(e.args,i.options.operators);this.key=u.readIdentifier().content,u.skipBlank(),he(u.peek()==="=",()=>`illegal token ${e.getText()}`),u.advance(),this.value=new Re(u.remaining(),this.liquid)}*render(e){e.bottom()[this.key]=yield this.value.value(e,this.liquid.options.lenientIf)}}const fi=["offset","limit","reversed"];class ll extends le{constructor(e,r,i){super(e,r,i);const u=new de(e.args,this.liquid.options.operators),n=u.readIdentifier(),a=u.readIdentifier(),o=u.readValue();if(!n.size()||a.content!=="in"||!o)throw new Error(`illegal tag: ${e.getText()}`);this.variable=n.content,this.collection=o,this.hash=new Qe(u.remaining()),this.templates=[],this.elseTemplates=[];let c;const d=this.liquid.parser.parseStream(r).on("start",()=>c=this.templates).on("tag:else",()=>c=this.elseTemplates).on("tag:endfor",()=>d.stop()).on("template",_=>c.push(_)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});d.start()}*render(e,r){const i=this.liquid.renderer;let u=lr(yield fe(this.collection,e));if(!u.length){yield i.renderTemplates(this.elseTemplates,e,r);return}const n="continue-"+this.variable+"-"+this.collection.getText();e.push({continue:e.getRegister(n)});const a=yield this.hash.render(e);e.pop(),u=(this.liquid.options.orderedFilterParameters?Object.keys(a).filter(d=>fi.includes(d)):fi.filter(d=>a[d]!==void 0)).reduce((d,_)=>_==="offset"?pl(d,a.offset):_==="limit"?hl(d,a.limit):cl(d),u),e.setRegister(n,(a.offset||0)+u.length);const c={forloop:new or(u.length,this.collection.getText(),this.variable)};e.push(c);for(const d of u){if(c[this.variable]=d,yield i.renderTemplates(this.templates,e,r),r.break){r.break=!1;break}r.continue=!1,c.forloop.next()}e.pop()}}function cl(t){return[...t].reverse()}function pl(t,e){return t.slice(e)}function hl(t,e){return t.slice(0,e)}class dl extends le{constructor(e,r,i){super(e,r,i),this.templates=[];const u=new de(e.args,this.liquid.options.operators);for(this.variable=fl(u),he(this.variable,()=>`${e.args} not valid identifier`);r.length;){const n=r.shift();if(Ge(n)&&n.name==="endcapture")return;this.templates.push(i.parser.parseToken(n,r))}throw new Error(`tag ${e.getText()} not closed`)}*render(e){const i=yield this.liquid.renderer.renderTemplates(this.templates,e);e.bottom()[this.variable]=i}}function fl(t){const e=t.readIdentifier().content;if(e)return e;const r=t.readQuoted();if(r)return pr(r)}class _l extends le{constructor(e,r,i){super(e,r,i),this.branches=[],this.elseTemplates=[],this.value=new Re(e.args,this.liquid),this.elseTemplates=[];let u=[];const n=this.liquid.parser.parseStream(r).on("tag:when",a=>{u=[];const o=new de(a.args,this.liquid.options.operators),c=[];for(;!o.end();)c.push(o.readValueOrThrow()),o.readTo(",");this.branches.push({values:c,templates:u})}).on("tag:else",()=>u=this.elseTemplates).on("tag:endcase",()=>n.stop()).on("template",a=>u.push(a)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});n.start()}*render(e,r){const i=this.liquid.renderer,u=W(yield this.value.value(e,e.opts.lenientIf));let n=!1;for(const a of this.branches)for(const o of a.values){const c=yield fe(o,e,e.opts.lenientIf);if(u===c){yield i.renderTemplates(a.templates,e,r),n=!0;break}}n||(yield i.renderTemplates(this.elseTemplates,e,r))}}class gl extends le{constructor(e,r,i){for(super(e,r,i);r.length;){const u=r.shift();if(Ge(u)&&u.name==="endcomment")return}throw new Error(`tag ${e.getText()} not closed`)}render(){}}class ml extends le{constructor(e,r,i){super(e,r,i);const u=e.args,n=new de(u,this.liquid.options.operators);for(this.file=_r(n,this.liquid),this.currentFile=e.file;!n.end();){n.skipBlank();const a=n.p,o=n.readIdentifier();if((o.content==="with"||o.content==="for")&&(n.skipBlank(),n.peek()!==":")){const c=n.readValue();if(c){const d=n.p,_=n.readIdentifier();let h;_.content==="as"?h=n.readIdentifier():n.p=d,this[o.content]={value:c,alias:h&&h.content},n.skipBlank(),n.peek()===","&&n.advance();continue}}n.p=a;break}this.hash=new Qe(n.remaining())}*render(e,r){const{liquid:i,hash:u}=this,n=yield gr(this.file,e,i);he(n,()=>`illegal filename "${n}"`);const a=new Ke({},e.opts,{sync:e.sync,globals:e.globals,strictVariables:e.strictVariables}),o=a.bottom();if(bt(o,yield u.render(e)),this.with){const{value:c,alias:d}=this.with;o[d||n]=yield fe(c,e)}if(this.for){const{value:c,alias:d}=this.for,_=lr(yield fe(c,e));o.forloop=new or(_.length,c.getText(),d);for(const h of _){o[d]=h;const b=yield i._parsePartialFile(n,a.sync,this.currentFile);yield i.renderer.renderTemplates(b,a,r),o.forloop.next()}}else{const c=yield i._parsePartialFile(n,a.sync,this.currentFile);yield i.renderer.renderTemplates(c,a,r)}}}function _r(t,e){if(e.options.dynamicPartials){const u=t.readValue();if(u===void 0)throw new TypeError(`illegal argument "${t.input}"`);if(u.getText()==="none")return;if(yu(u)){const n=e.parse(pr(u));return _i(n)}return u}const r=[...t.readFileNameTemplate(e.options)],i=_i(e.parser.parseTokens(r));return i==="none"?void 0:i}function _i(t){return t.length===1&&fr(t[0].token)?t[0].token.getContent():t}function*gr(t,e,r){return typeof t=="string"?t:Array.isArray(t)?r.renderer.renderTemplates(t,e):yield fe(t,e)}class bl extends le{constructor(e,r,i){super(e,r,i);const u=e.args,n=new de(u,this.liquid.options.operators);this.file=_r(n,this.liquid),this.currentFile=e.file;const a=n.p;n.readIdentifier().content==="with"?(n.skipBlank(),n.peek()!==":"?this.withVar=n.readValue():n.p=a):n.p=a,this.hash=new Qe(n.remaining(),this.liquid.options.jekyllInclude)}*render(e,r){const{liquid:i,hash:u,withVar:n}=this,{renderer:a}=i,o=yield gr(this.file,e,i);he(o,()=>`illegal filename "${o}"`);const c=e.saveRegister("blocks","blockMode");e.setRegister("blocks",{}),e.setRegister("blockMode",$e.OUTPUT);const d=yield u.render(e);n&&(d[o]=yield fe(n,e));const _=yield i._parsePartialFile(o,e.sync,this.currentFile);e.push(e.opts.jekyllInclude?{include:d}:d),yield a.renderTemplates(_,e,r),e.pop(),e.restoreRegister(c)}}class Dl extends le{constructor(e,r,i){super(e,r,i);const u=new de(e.args,this.liquid.options.operators);this.variable=u.readIdentifier().content}render(e,r){const i=e.environments;Et(i[this.variable])||(i[this.variable]=0),r.write(z(--i[this.variable]))}}class Al extends le{constructor(e,r,i){super(e,r,i),this.candidates=[];const u=new de(e.args,this.liquid.options.operators),n=u.readValue();for(u.skipBlank(),n&&(u.peek()===":"?(this.group=n,u.advance()):this.candidates.push(n));!u.end();){const a=u.readValue();a&&this.candidates.push(a),u.readTo(",")}he(this.candidates.length,()=>`empty candidates: ${e.getText()}`)}*render(e,r){const u=`cycle:${yield fe(this.group,e)}:`+this.candidates.join(","),n=e.getRegister("cycle");let a=n[u];a===void 0&&(a=n[u]=0);const o=this.candidates[a];return a=(a+1)%this.candidates.length,n[u]=a,yield fe(o,e)}}class yl extends le{constructor(e,r,i){super(e,r,i),this.branches=[],this.elseTemplates=[];let u;i.parser.parseStream(r).on("start",()=>this.branches.push({value:new Re(e.args,this.liquid),templates:u=[]})).on("tag:elsif",n=>this.branches.push({value:new Re(n.args,this.liquid),templates:u=[]})).on("tag:else",()=>u=this.elseTemplates).on("tag:endif",function(){this.stop()}).on("template",n=>u.push(n)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)}).start()}*render(e,r){const i=this.liquid.renderer;for(const{value:u,templates:n}of this.branches){const a=yield u.value(e,e.opts.lenientIf);if(Ue(a,e)){yield i.renderTemplates(n,e,r);return}}yield i.renderTemplates(this.elseTemplates,e,r)}}class El extends le{constructor(e,r,i){super(e,r,i);const u=new de(e.args,this.liquid.options.operators);this.variable=u.readIdentifier().content}render(e,r){const i=e.environments;Et(i[this.variable])||(i[this.variable]=0);const u=i[this.variable];i[this.variable]++,r.write(z(u))}}class xl extends le{constructor(e,r,i){super(e,r,i);const u=new de(e.args,this.liquid.options.operators);this.file=_r(u,this.liquid),this.currentFile=e.file,this.args=new Qe(u.remaining()),this.templates=this.liquid.parser.parseTokens(r)}*render(e,r){const{liquid:i,args:u,file:n}=this,{renderer:a}=i;if(n===void 0){e.setRegister("blockMode",$e.OUTPUT),yield a.renderTemplates(this.templates,e,r);return}const o=yield gr(this.file,e,i);he(o,()=>`illegal filename "${o}"`);const c=yield i._parseLayoutFile(o,e.sync,this.currentFile);e.setRegister("blockMode",$e.STORE);const d=yield a.renderTemplates(this.templates,e),_=e.getRegister("blocks");_[""]===void 0&&(_[""]=(h,b)=>b.write(d)),e.setRegister("blockMode",$e.OUTPUT),e.push(yield u.render(e)),yield a.renderTemplates(c,e,r),e.pop()}}class vl extends le{constructor(e,r,i){super(e,r,i),this.templates=[];const u=/\w+/.exec(e.args);for(this.block=u?u[0]:"";r.length;){const n=r.shift();if(Ge(n)&&n.name==="endblock")return;const a=i.parser.parseToken(n,r);this.templates.push(a)}throw new Error(`tag ${e.getText()} not closed`)}*render(e,r){const i=this.getBlockRender(e);e.getRegister("blockMode")===$e.STORE?e.getRegister("blocks")[this.block]=i:yield i(new ti,r)}getBlockRender(e){const{liquid:r,templates:i}=this,u=e.getRegister("blocks")[this.block],n=function*(a,o){e.push({block:a}),yield r.renderer.renderTemplates(i,e,o),e.pop()};return u?(a,o)=>u(new ti(()=>n(a,o)),o):n}}class wl extends le{constructor(e,r,i){for(super(e,r,i),this.tokens=[];r.length;){const u=r.shift();if(Ge(u)&&u.name==="endraw")return;this.tokens.push(u)}throw new Error(`tag ${e.getText()} not closed`)}render(){return this.tokens.map(e=>e.getText()).join("")}}class Cl extends or{constructor(e,r,i,u){super(e,i,u),this.length=e,this.cols=r}row(){return Math.floor(this.i/this.cols)+1}col0(){return this.i%this.cols}col(){return this.col0()+1}col_first(){return this.col0()===0}col_last(){return this.col()===this.cols}}class Tl extends le{constructor(e,r,i){super(e,r,i);const u=new de(e.args,this.liquid.options.operators),n=u.readIdentifier();u.skipBlank();const a=u.readIdentifier(),o=u.readValue();if(a.content!=="in"||!o)throw new Error(`illegal tag: ${e.getText()}`);this.variable=n.content,this.collection=o,this.args=new Qe(u.remaining()),this.templates=[];let c;const d=this.liquid.parser.parseStream(r).on("start",()=>c=this.templates).on("tag:endtablerow",()=>d.stop()).on("template",_=>c.push(_)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});d.start()}*render(e,r){let i=lr(yield fe(this.collection,e));const u=yield this.args.render(e),n=u.offset||0,a=u.limit===void 0?i.length:u.limit;i=i.slice(n,n+a);const o=u.cols||i.length,c=this.liquid.renderer,d=new Cl(i.length,o,this.collection.getText(),this.variable),_={tablerowloop:d};e.push(_);for(let h=0;h<i.length;h++,d.next())_[this.variable]=i[h],d.col0()===0&&(d.row()!==1&&r.write("</tr>"),r.write(`<tr class="row${d.row()}">`)),r.write(`<td class="col${d.col()}">`),yield c.renderTemplates(this.templates,e,r),r.write("</td>");i.length&&r.write("</tr>"),e.pop()}}class Bl extends le{constructor(e,r,i){super(e,r,i),this.branches=[],this.elseTemplates=[];let u;this.liquid.parser.parseStream(r).on("start",()=>this.branches.push({value:new Re(e.args,this.liquid),test:Ct,templates:u=[]})).on("tag:elsif",n=>this.branches.push({value:new Re(n.args,this.liquid),test:Ue,templates:u=[]})).on("tag:else",()=>u=this.elseTemplates).on("tag:endunless",function(){this.stop()}).on("template",n=>u.push(n)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)}).start()}*render(e,r){const i=this.liquid.renderer;for(const{value:u,test:n,templates:a}of this.branches){const o=yield u.value(e,e.opts.lenientIf);if(n(o,e)){yield i.renderTemplates(a,e,r);return}}yield i.renderTemplates(this.elseTemplates,e,r)}}class kl extends le{render(e,r){r.break=!0}}class Sl extends le{render(e,r){r.continue=!0}}class Rl extends le{constructor(e,r,i){super(e,r,i),this.value=new Re(e.args,this.liquid)}*render(e,r){const i=yield this.value.value(e,!1);r.write(i)}}class Fl extends le{constructor(e,r,i){super(e,r,i);const n=new de(e.args,this.liquid.options.operators).readLiquidTagTokens(this.liquid.options);this.templates=this.liquid.parser.parseTokens(n)}*render(e,r){yield this.liquid.renderer.renderTemplates(this.templates,e,r)}}class Ol extends le{constructor(e,r,i){if(super(e,r,i),e.args.search(/\n\s*[^#\s]/g)!==-1)throw new Error("every line of an inline comment must start with a '#' character")}render(){}}const Nl={assign:ol,for:ll,capture:dl,case:_l,comment:gl,include:bl,render:ml,decrement:Dl,increment:El,cycle:Al,if:yl,layout:xl,block:vl,raw:wl,tablerow:Tl,unless:Bl,break:kl,continue:Sl,echo:Rl,liquid:Fl,"#":Ol};class mr{constructor(e={}){this.renderer=new pa,this.filters={},this.tags={},this.options=qa(e),this.parser=new Ka(this),Qr(Nl,(r,i)=>this.registerTag(i,r)),Qr(al,(r,i)=>this.registerFilter(i,r))}parse(e,r){return this.parser.parse(e,r)}_render(e,r,i){const u=r instanceof Ke?r:new Ke(r,this.options,i);return this.renderer.renderTemplates(e,u)}render(e,r,i){return ke(this,void 0,void 0,function*(){return qe(this._render(e,r,Object.assign(Object.assign({},i),{sync:!1})))})}renderSync(e,r,i){return Ie(this._render(e,r,Object.assign(Object.assign({},i),{sync:!0})))}renderToNodeStream(e,r,i={}){const u=new Ke(r,this.options,i);return this.renderer.renderTemplatesToNodeStream(e,u)}_parseAndRender(e,r,i){const u=this.parse(e);return this._render(u,r,i)}parseAndRender(e,r,i){return ke(this,void 0,void 0,function*(){return qe(this._parseAndRender(e,r,Object.assign(Object.assign({},i),{sync:!1})))})}parseAndRenderSync(e,r,i){return Ie(this._parseAndRender(e,r,Object.assign(Object.assign({},i),{sync:!0})))}_parsePartialFile(e,r,i){return this.parser.parseFile(e,r,ze.Partials,i)}_parseLayoutFile(e,r,i){return this.parser.parseFile(e,r,ze.Layouts,i)}_parseFile(e,r,i,u){return this.parser.parseFile(e,r,i,u)}parseFile(e,r){return ke(this,void 0,void 0,function*(){return qe(this.parser.parseFile(e,!1,r))})}parseFileSync(e,r){return Ie(this.parser.parseFile(e,!0,r))}*_renderFile(e,r,i){const u=yield this._parseFile(e,i.sync,i.lookupType);return yield this._render(u,r,i)}renderFile(e,r,i){return ke(this,void 0,void 0,function*(){return qe(this._renderFile(e,r,Object.assign(Object.assign({},i),{sync:!1})))})}renderFileSync(e,r,i){return Ie(this._renderFile(e,r,Object.assign(Object.assign({},i),{sync:!0})))}renderFileToNodeStream(e,r,i){return ke(this,void 0,void 0,function*(){const u=yield this.parseFile(e);return this.renderToNodeStream(u,r,i)})}_evalValue(e,r){const i=new Re(e,this),u=r instanceof Ke?r:new Ke(r,this.options);return i.value(u)}evalValue(e,r){return ke(this,void 0,void 0,function*(){return qe(this._evalValue(e,r))})}evalValueSync(e,r){return Ie(this._evalValue(e,r))}registerFilter(e,r){this.filters[e]=r}registerTag(e,r){this.tags[e]=_e(r)?r:ja(r)}plugin(e){return e.call(this,mr)}express(){const e=this;let r=!0;return function(i,u,n){if(r){r=!1;const a=ht(this.root);e.options.root.unshift(...a),e.options.layouts.unshift(...a),e.options.partials.unshift(...a)}e.renderFile(i,u).then(a=>n(null,a),n)}}}const Eu=/{{([\s\S]+?)}}/,Ll=/{{([\s\S]+?)}}/g;function ql(t){return(typeof t=="number"||typeof t=="string")&&!isNaN(Number(t))}class xu extends At{generateIterationTemplate(e,r){return A.createElement(A.Fragment,null,A.createElement(Le,null,`
|
|
90
90
|
<!-- htmlmin:ignore -->
|
|
91
91
|
{% for ${e.itemName} in ${e.dataSource} ${e.limit?`limit:${e.limit}`:""} %}
|
|
92
92
|
<!-- htmlmin:ignore -->
|
|
93
|
-
`),r,
|
|
93
|
+
`),r,A.createElement(Le,null," <!-- htmlmin:ignore -->{% endfor %} <!-- htmlmin:ignore -->"))}generateConditionTemplate(e,r,i){if(typeof e=="string")return A.createElement(A.Fragment,null,A.createElement(Le,null,`
|
|
94
94
|
<!-- htmlmin:ignore -->{% if ${e} %}<!-- htmlmin:ignore -->
|
|
95
|
-
`),r,
|
|
96
|
-
`),
|
|
95
|
+
`),r,A.createElement(Le,null,"<!-- htmlmin:ignore -->{% else %}<!-- htmlmin:ignore -->"),i,A.createElement(Le,null,"<!-- htmlmin:ignore -->{% endif %} <!-- htmlmin:ignore -->"));const{symbol:u,groups:n}=e,a=h=>h.operator===_t.TRUTHY?h.left:h.operator===_t.FALSY?h.left+" == nil"||h.left+" == false":h.left+" "+h.operator+" "+(ql(h.right)?h.right:`"${Ve.encode(h.right)}"`),o=+new Date,c=n.map((h,b)=>`con_${b}_${o}`),d=n.map((h,b)=>`{% assign ${c[b]} = ${h.groups.map(a).join(` ${h.symbol} `)} %}`).join(`
|
|
96
|
+
`),_=c.join(` ${u} `);return A.createElement(A.Fragment,null,A.createElement(Le,null,`
|
|
97
97
|
<!-- htmlmin:ignore -->
|
|
98
98
|
${d}
|
|
99
|
-
{% if ${
|
|
99
|
+
{% if ${_} %}
|
|
100
100
|
<!-- htmlmin:ignore -->
|
|
101
|
-
`),r,
|
|
101
|
+
`),r,A.createElement(Le,null,`
|
|
102
102
|
<!-- htmlmin:ignore -->
|
|
103
103
|
{% endif %}
|
|
104
104
|
<!-- htmlmin:ignore -->
|
|
105
|
-
`))}generateVariable(e,r){return r?`{{ ${e}| default: "${
|
|
105
|
+
`))}generateVariable(e,r){return r?`{{ ${e}| default: "${Ve.encode(r)}" }}`:`{{ ${e} }}`}isVariable(e){return Eu.test(e)}renderWithData(e,r){const i=new mr;i.plugin(function(){this.registerFilter("chunk",(n,a=1)=>L.chunk(n,a)),this.registerFilter("arr_filter",(n,a,...o)=>n?n.filter(c=>o.includes(c[a])):null),this.registerFilter("arr_filter_sort",(n,a,...o)=>!n||!o?null:o.map(c=>n.find(d=>L.get(d,a)===c)).filter(Boolean)),this.registerFilter("arr_slice",(n,a,o)=>n?n.slice(a,o):null),this.registerFilter("date",n=>Xt(n).format("MMM DD, YY")),this.registerFilter("money",n=>{const a=L.get(r,"shop.money_in_emails_format","");return a?this.parseAndRenderSync(a,{amount:Number(n).toFixed(2)}):n}),this.registerFilter("money_with_currency",n=>{const a=L.get(r,"shop.money_with_currency_in_emails_format","");return a?this.parseAndRenderSync(a,{amount:Number(n).toFixed(2)}):n}),this.registerFilter("money_without_currency",n=>Number(n).toFixed(2)),this.registerFilter("money_without_trailing_zeros",n=>{const a=L.get(r,"shop.money_in_emails_format","");return a?this.parseAndRenderSync(a,{amount:Number(n)}):n}),this.registerFilter("img_url",n=>L.get(n,"image")||L.get(n,"src")||""),this.registerFilter("format_address",n=>n),this.registerFilter("payment_type_img_url",n=>n)});const u=i.parse(e);return i.renderSync(u,r)}}function vu(t,e){var c,d;const{node:r}=t,i=(c=e==null?void 0:e.keepEmptyAttributes)!=null?c:!1,u=(d=e==null?void 0:e.removeDefaultAttributes)!=null?d:!1,n=S({},r.attributes),a=ee.getBlockByType(r.type).defaultData.attributes;let o="";for(const _ in n){const h=_;let b=n[h];if(!(u&&a[h]===b)&&L.isString(b)&&(b=b.trim(),i||b)){const q=" ";o+=`${_}="${b.replace(/"/gm,"").trim()}"`+q}}return o}pe.registerPlugin(xu);exports.BasicType=F;exports.BlockManager=ee;exports.CONTENT_EDITABLE_CLASSNAME=Qt;exports.ConditionOperator=_t;exports.ConditionOperatorSymbol=uu;exports.EditorCore=Te;exports.ElementCategory=k;exports.ElementPlugin=Bi;exports.ElementType=K;exports.EmailRenderProvider=Kt;exports.I18nManager=dt;exports.LogicType=bi;exports.MERGE_TAG_PATTERN=Eu;exports.MERGE_TAG_PATTERN_GLOBAL=Ll;exports.NodeUtils=J;exports.PageTestingCss=sn;exports.PluginManager=pe;exports.PluginType=Ti;exports.ResponsivePlugin=rr;exports.StandardType=X;exports.TemplateEngine=xu;exports.TemplateEnginePlugin=At;exports.blockMap=iu;exports.classnames=gi;exports.components=rn;exports.createBlock=Bu;exports.createCustomBlock=ku;exports.getAdapterAttributesString=vu;exports.keyGenerate=bs;exports.mergeBlock=V;exports.mergeTagGenerate=gs;exports.t=M;exports.useEmailRenderContext=Ci;exports.variableGenerate=ms;
|