@emailmaker/emailmaker 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/{emailmaker-core.0f53b24b.js → emailmaker-core.2a78033e.js} +1 -1
  2. package/emailmaker-esm.js +2 -2
  3. package/emailmaker.js +2 -2
  4. package/iframe/js/amp.CdTI2-VC.js +1 -0
  5. package/iframe/js/iframe-eblock.js +1 -1
  6. package/iframe/js/iframe.js +1 -1
  7. package/iframe/js/rules.CNqvmp_P.js +1 -1
  8. package/iframe/js/sanitize-html.tGUeRBWs.js +1 -0
  9. package/package.json +1 -1
  10. package/static/core/{f67b8fa2.js → 136331f7.js} +2 -2
  11. package/static/core/{5f66a133.js → 1f9fcb39.js} +3 -3
  12. package/static/core/{b330862b.js → 31f5d274.js} +2 -2
  13. package/static/core/{542c10a0.js → 461a4018.js} +1 -1
  14. package/static/core/{37323be2.js → 65824986.js} +10 -10
  15. package/static/core/{54c69205.js → 6eb88f06.js} +1 -1
  16. package/static/core/{e5c35767.js → 8147252b.js} +1 -1
  17. package/static/core/879b6072.js +1 -0
  18. package/static/core/{425f6198.js → 97e1264b.js} +2 -2
  19. package/static/core/9ef47c7c.js +1 -0
  20. package/static/core/{6f1c8ca5.js → a56dd82d.js} +2 -2
  21. package/static/core/{eb4e7505.js → ae2bef91.js} +1 -1
  22. package/static/core/{c7f99585.js → bfd98708.js} +1 -1
  23. package/static/core/{e1ac64f3.js → d3d60ed0.js} +4 -4
  24. package/static/core/fdb48e3f.js +78 -0
  25. package/two_step_headless_plugin.html +558 -0
  26. package/iframe/js/amp.BtGt-xkd.js +0 -1
  27. package/iframe/js/sanitize-html.BzjMWt1k.js +0 -1
  28. package/static/core/99f965a4.js +0 -1
  29. package/static/core/c19a7448.js +0 -78
  30. package/static/core/de149603.js +0 -1
  31. /package/iframe/{iframe-eblock.0f53b24b.html → iframe-eblock.2a78033e.html} +0 -0
  32. /package/iframe/{iframe.0f53b24b.html → iframe.2a78033e.html} +0 -0
@@ -0,0 +1,78 @@
1
+ __emailmaker__.define(`static/core/fdb48e3f.js`,[`require`,`exports`,`module`,`static/core/354bf8a9.js`,`static/core/68599f0c.js`,`static/core/1f9fcb39.js`,`static/core/31f5d274.js`,`static/core/9ef47c7c.js`],function(e,t,n){let r=e("./354bf8a9.js"),i=e("./1f9fcb39.js"),a=e("./31f5d274.js"),o=e("./68599f0c.js"),s=e("./9ef47c7c.js");var c=class{_plugins=new Map;_listeners=new Map;_getOrCreateEntry(e){let t=this._plugins.get(e);return t||(t={overrides:[]},this._plugins.set(e,t)),t}_applyOverrides(e,t){let n=this._plugins.get(e);if(n?.overrides)for(let e of n.overrides)t=e(t)||t;return t}_notifyListeners(e,t){let n=this._listeners.get(e);if(!n||n.length===0)return;for(let e of n)try{e.callback(t)}catch{}let r=n.filter(e=>!e.once);r.length>0?this._listeners.set(e,r):this._listeners.delete(e)}get(e){let t=this._plugins.get(e);if(t?.ctor)return this._applyOverrides(e,t.ctor)}async getAsync(e){let t=this._plugins.get(e);if(t?.ctor)return this._applyOverrides(e,t.ctor);if(t?.loading){let n=await t.loading;return this._applyOverrides(e,n)}if(t?.factory){let n=Promise.resolve(t.factory()).then(n=>(t.ctor=n,t.loading=void 0,this._notifyListeners(e,n),n));t.loading=n;let r=await n;return this._applyOverrides(e,r)}return new Promise(t=>{this.on(e,n=>t(this._applyOverrides(e,n)))})}add(e,t){let n=this._getOrCreateEntry(e);n.ctor=t,this._notifyListeners(e,t)}addAll(e){for(let t of Object.keys(e)){let n=e[t];n!==void 0&&this.add(t,n)}}addAsync(e,t){let n=this._getOrCreateEntry(e);return n.factory=t,{dispose:()=>{n.ctor||(n.factory=void 0)}}}has(e){let t=this._plugins.get(e);return!!(t?.ctor||t?.factory)}isLoaded(e){return!!this._plugins.get(e)?.ctor}override(e,t){let n=this._getOrCreateEntry(e);return n.overrides.push(t),{dispose:()=>{let e=n.overrides.indexOf(t);e>=0&&n.overrides.splice(e,1)}}}on(e,t){let n=this.get(e);n&&t(n);let r=this._listeners.get(e);r||(r=[],this._listeners.set(e,r));let i={callback:t,once:!1};return r.push(i),{dispose:()=>this._removeListener(e,t)}}once(e,t){let n=this.get(e);if(n)return t(n),{dispose:()=>{}};let r=this._listeners.get(e);r||(r=[],this._listeners.set(e,r));let i={callback:t,once:!0};return r.push(i),{dispose:()=>this._removeListener(e,t)}}off(e,t){this._removeListener(e,t)}_removeListener(e,t){let n=this._listeners.get(e);if(n){let r=n.findIndex(e=>e.callback===t);r>=0&&n.splice(r,1),n.length===0&&this._listeners.delete(e)}}keys(){return Array.from(this._plugins.keys())}forContext(){let e=this;return{add(t,n){e.add(t,n)}}}},l=class{resolveRegistry;constructor(e){this.resolveRegistry=e}target(){return this.resolveRegistry()}get(e){return this.target().get(e)}getAsync(e){return this.target().getAsync(e)}add(e,t){return this.target().add(e,t)}addAll(e){return this.target().addAll(e)}addAsync(e,t){return this.target().addAsync(e,t)}has(e){return this.target().has(e)}isLoaded(e){return this.target().isLoaded(e)}override(e,t){return this.target().override(e,t)}on(e,t){return this.target().on(e,t)}once(e,t){return this.target().once(e,t)}off(e,t){return this.target().off(e,t)}keys(){return this.target().keys()}forContext(){return this.target().forContext()}},u=e=>{let t={current:Promise.resolve(),state:e,decorate:(e,n)=>(n&&(e=e.bind(n)),function(...n){let r=t.current.then(()=>e(...n));return t.current=r.then(e=>{t.state=e},e=>{}),r})};return t};r.i(),o.n();var d=`Ai`,f=i.zr({reducerPath:`AiApi`,tagTypes:[d],baseQuery:i.Ar({baseUrl:`https://app.emailmaker.ru/api/wp-json/save-file/v1/`}),endpoints:e=>({sendMessage:e.mutation({queryFn({body:e},t){return i.Mr(t).aiGenerator.ai_create(e)}}),getDialog:e.query({queryFn({entity_id:e,connection:t=`chat`},n){return n.getState().configSlice?.config?.aiAssistentEnabled===!1?Promise.resolve({data:{documents:[],totalCount:0}}):i.Mr(n).aiGenerator.ai_status_list({connection:t,entity_id:e})},providesTags:e=>e?.documents?[...e.documents.map(({id:e})=>({type:d,id:e})),{type:d,id:`LIST`}]:[{type:d,id:`LIST`}]})})}),{useSendMessageMutation:p,useGetDialogQuery:m,useLazyGetDialogQuery:h}=f,g=i.zr({reducerPath:`proxyApi`,tagTypes:[`Proxy`],baseQuery:i.Ar({baseUrl:`https://app.emailmaker.ru/api/wp-json/cors-proxy/v1/get`}),endpoints:e=>({getFile:e.query({queryFn({url:e,tryFetch:t=!0,type:n},r){let a=i.Mr(r),o=t?fetch(e):Promise.reject(),s=e=>{switch(n){case`json`:return e.json();case`text`:return e.text();default:return e.blob()}},c=e=>s(e).then(e=>({data:e}));return o.then(e=>c(e)).catch(()=>a.corsProxy.get_list({format:`blob`,extraQuery:{url:encodeURIComponent(e)}}))}})})}),{useGetFileQuery:_,useLazyGetFileQuery:v}=g,y=i.zr({reducerPath:`tokenApi`,baseQuery:i.Ar({baseUrl:`https://app.emailmaker.ru/api/wp-json/jwt-auth/v1/`}),endpoints:e=>({tokenCreate:e.mutation({queryFn(e,t){return i.Mr(t).jwtAuth.token_create({body:e,type:i.xa.Json})}}),tokenValidate:e.mutation({queryFn(e,t){return i.Mr(t).jwtAuth.token_validate_create({type:i.xa.Json})}})})}),{useTokenCreateMutation:b,useTokenValidateMutation:x}=y,S=i.zr({reducerPath:`promoApi`,baseQuery:i.Ar({baseUrl:`https://app.emailmaker.ru/api/wp-json/promo/v1/`}),endpoints:e=>({checkPromo:e.mutation({queryFn:({code:e,type:t},n)=>i.Mr(n).promo.set_code_create({code:e,type:t})}),getPromoInfo:e.query({queryFn({code:e},t){return i.Mr(t).promo.get_code_info_list({code:e})}})})}),{useCheckPromoMutation:C,useGetPromoInfoQuery:w}=S,T=`LOCALES`,E=i.zr({reducerPath:`localesApi`,tagTypes:[T],baseQuery:i.Wr({baseUrl:`https://app.emailmaker.ru/api/wp-json/translations/v1`}),endpoints:e=>({getLocale:e.query({async queryFn({id:e},t){let n=i.Mr(t);try{return await n.translations.get_translations3({id:e,file:`react_app`})}catch{return n.translations.get_translations3({id:`en_US`,file:`react_app`})}},providesTags:(e,t,n)=>[{type:T,id:n}]}),getLocales:e.query({queryFn:function(e,t){return i.Mr(t).translations.get_translations2({file:`react_app`})},providesTags:(e,t,n)=>[{type:T,id:`react_app`}]})})}),{useGetLocalesQuery:D,useGetLocaleQuery:O,useLazyGetLocaleQuery:k,useLazyGetLocalesQuery:A}=E,j=i.zr({reducerPath:`saveFileApi`,tagTypes:[`Images`],baseQuery:i.Ar({baseUrl:`https://app.emailmaker.ru/api/wp-json/save-file/v1/`}),endpoints:e=>({uploadImage:e.mutation({queryFn(e,t){return i.Mr(t).saveFile.upload_create(e,{type:i.xa.FormData})}}),sendTestEmail:e.mutation({queryFn(e,t){return i.Mr(t).saveFile.send_email_create(e,{type:i.xa.FormData})}}),sendLivePreview:e.mutation({queryFn(e,t){return i.Mr(t).saveFile.get_link_create(e,{type:i.xa.FormData})}}),sendShortLink:e.mutation({queryFn(e,t){return i.Mr(t).saveFile.shortener_create(e,{type:i.xa.FormData})}})})}),{useUploadImageMutation:M,useSendTestEmailMutation:N,useSendLivePreviewMutation:P,useSendShortLinkMutation:ee}=j,te=`EmailRaw`,ne=i.zr({reducerPath:`emailRawApi`,tagTypes:[te],baseQuery:i.Wr({baseUrl:`https://app.emailmaker.ru/api/wp-json/wp/v2/`}),endpoints:e=>({getEmailRaw:e.query({queryFn:function({emailId:e,secret_hash:t},n){return i.ca(n).wp.email_detail({id:e},{extraQuery:{secret_hash:t}}).then(i.Tr(i.Er))},providesTags:(e,t,n)=>[{type:te,id:n}]})})}),{useGetEmailRawQuery:re}=ne,ie=`Optimise`,ae=`usage_limit_exceeded`,oe=i.zr({reducerPath:`optimiseApi`,tagTypes:[ie],baseQuery:async(e,t,n)=>{let r=await i.Ar({baseUrl:`${i.Mr(t).baseUrl.replaceAll(/[\\/]$/g,``)}/optimization/v1/validate`})(e,t,n);if(r.error){let e=r.error;if(typeof e.json==`function`)try{e=await e.json()}catch{e=await e}return{error:e}}return r},endpoints:e=>({editLinks:e.mutation({query:e=>({headers:{"Content-Type":`application/json`,Accept:`application/json`},method:`POST`,type:`application/json`,url:`/links`,body:e}),invalidatesTags:[ie]}),editImages:e.mutation({query:e=>({headers:{"Content-Type":`application/json`,Accept:`application/json`},method:`POST`,type:`application/json`,url:`/images`,body:e})}),editSpam:e.mutation({query:e=>({headers:{"Content-Type":`application/json`,Accept:`application/json`},method:`POST`,type:`application/json`,url:`/spamassasin`,body:e})})})}),{useEditLinksMutation:se,useEditImagesMutation:F,useEditSpamMutation:I}=oe,ce=i.zr({reducerPath:`exportPngApi`,baseQuery:async(e,t,n)=>{try{let{notification:r,...a}=e,o=await i.Wr({baseUrl:`https://racs.emcdn.ru/v3`})(a,t,n);if(o.error)throw Error();return o}catch(t){return(e?.notification).error(t),{error:t}}},endpoints:e=>({makeTemporaryMailForPng:e.mutation({query:({file:e,title:t,notification:n})=>{let r=new Blob([e],{type:`text/html`}),i=new FormData;return i.append(`file`,r,`base.html`),i.append(`contentType`,`text/html`),{url:`?resource=exportPngApi`,method:`POST`,body:i,notification:n}}}),deleteTemporaryMail:e.mutation({query:({id:e,notification:t})=>({url:`/${e}?resource=exportPngApi`,method:`DELETE`,notification:t})})})}),{useMakeTemporaryMailForPngMutation:le,useDeleteTemporaryMailMutation:ue}=ce,de=i.zr({reducerPath:`yandexAuthApi`,baseQuery:i.Ar({baseUrl:`https://app.emailmaker.ru/api/wp-json/auth/v1/yandex/callback`}),endpoints:e=>({validateYandexToken:e.mutation({query:e=>({url:``,method:`POST`,body:e})})})}),{useValidateYandexTokenMutation:L}=de,fe=i.zr({reducerPath:`googleAuthApi`,baseQuery:i.Ar({baseUrl:`https://app.emailmaker.ru/api//wp-json/auth/v1/google/callback`}),endpoints:e=>({validateGoogleToken:e.mutation({query:e=>({url:``,method:`POST`,body:e})})})}),{useValidateGoogleTokenMutation:pe}=fe,R=i.zr({reducerPath:`webHookApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({postDataByWebHook:e.mutation({query:({url:e,body:t})=>({url:`?proxy_url=${encodeURIComponent(e)}`,method:`POST`,body:t})})})}),{usePostDataByWebHookMutation:z}=R,B=i.zr({reducerPath:`unisenderApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createEmailMessage:e.mutation({query:e=>{let t=new URLSearchParams;return t.append(`format`,`json`),Object.entries(e).forEach(([e,n])=>{t.append(e,String(n))}),{url:`?proxy_url=https%3A%2F%2Fapi.unisender.com%2Fru%2Fapi%2FcreateEmailMessage`,method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:t.toString()}}})})}),{useCreateEmailMessageMutation:me}=B,he=i.zr({reducerPath:`mailganerApi`,baseQuery:i.Wr({baseUrl:`https://mailganer.com`}),endpoints:e=>({createMailing:e.mutation({query:e=>{let t=new URLSearchParams;return t.append(`api_key`,e.api_key),t.append(`name`,e.name),t.append(`html-content`,e.html_content),e.theme&&t.append(`theme`,e.theme),e.from_name&&t.append(`from_name`,e.from_name),e.from_email&&t.append(`from_email`,e.from_email),e.segment_id&&t.append(`segment_id`,String(e.segment_id)),e.utm_campaign&&t.append(`utm_campaign`,e.utm_campaign),e.utm_source&&t.append(`utm_source`,e.utm_source),e.utm_medium&&t.append(`utm_medium`,e.utm_medium),{url:`/api/v1/mailing/create/`,method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:t.toString()}}})})}),{useCreateMailingMutation:V}=he,ge=i.zr({reducerPath:`sendsayApi`,baseQuery:i.Wr({baseUrl:`https://api.sendsay.ru`}),endpoints:e=>({createDraft:e.mutation({query:e=>{let t={action:`issue.draft.set`,apikey:e.api_key,return_fresh_obj:1,obj:{name:e.name,letter:{subject:e.subject,"from.name":e.from_name||void 0,"from.email":e.from_email||void 0,message:{html:e.html_content}}}};return{url:`/general/api/v100/json/${e.login.split(`/`).map(e=>encodeURIComponent(e)).join(`/`)}`,method:`POST`,headers:{"Content-Type":`application/json`},body:t}}})})}),{useCreateDraftMutation:H}=ge,U=i.zr({reducerPath:`altcraftApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({addTemplate:e.mutation({query:e=>{let t=`${e.api_url}/api/v1.1/templates/add`,n={token:e.api_key,name:e.name,channels:[{sid:`email`,fields:{html:e.html_content,text:``,subject:e.subject||e.name,from_email:e.from_email||``,from_name:e.from_name||``,replyto_email:``,replyto_name:``,is_not_inline:!0}}],is_draft:e.is_draft??!1};return{url:`?proxy_url=${encodeURIComponent(t)}`,method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(n)}}})})}),{useAddTemplateMutation:W}=U,G=e=>e.replace(/<style[^>]*>[\s\S]*?<\/style>/gi,``).replace(/<script[^>]*>[\s\S]*?<\/script>/gi,``).replace(/<[^>]+>/g,` `).replace(/&nbsp;/g,` `).replace(/&amp;/g,`&`).replace(/&lt;/g,`<`).replace(/&gt;/g,`>`).replace(/&quot;/g,`"`).replace(/\s+/g,` `).trim(),K=i.zr({reducerPath:`enkodApi`,baseQuery:i.Wr({baseUrl:`https://api.enkod.ru`}),endpoints:e=>({createMessage:e.mutation({query:e=>{let t=G(e.html_content)||e.subject,n={message:{subject:e.subject,fromEmail:e.sender_email||``,fromName:e.sender_name||``,html:e.html_content,plainText:t},isDraft:!0};return{url:`/v1/message/onetime/`,method:`POST`,headers:{"Content-Type":`application/json`,Apikey:e.api_key},body:n}}})})}),{useCreateMessageMutation:q}=K,_e=e=>{let t=e.split(`-`);return t.length>1?t[1]:`us1`},ve=e=>`https://${_e(e)}.api.mailchimp.com/3.0`,J=i.zr({reducerPath:`mailchimpApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createCampaign:e.mutation({queryFn:async(e,t,n,r)=>{let i=ve(e.api_key),a=btoa(`anystring:${e.api_key}`),o={type:`regular`,recipients:{list_id:e.list_id},settings:{subject_line:e.subject,from_name:e.from_name,reply_to:e.from_email}},s=await r({url:`?proxy_url=${encodeURIComponent(`${i}/campaigns`)}`,method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Basic ${a}`},body:JSON.stringify(o)});if(s.error){let e=s.error,t=e?.data?.detail||e?.error||String(s.error),n=e?.data?.errors;return{error:{status:`CUSTOM_ERROR`,error:n?.length?n.map(e=>e.detail||e.title).join(`; `):t}}}let c=s.data;if(!c?.id)return{error:{status:`CUSTOM_ERROR`,error:s.data?.errors?.map(e=>e.detail||e.title).join(`; `)||`Failed to create campaign`}};let l={html:e.html},u=await r({url:`?proxy_url=${encodeURIComponent(`${i}/campaigns/${c.id}/content`)}`,method:`PUT`,headers:{"Content-Type":`application/json`,Authorization:`Basic ${a}`},body:JSON.stringify(l)});if(u.error){let e=u.error;return{error:{status:`CUSTOM_ERROR`,error:e?.data?.detail||e?.error||String(u.error)}}}return{data:{id:c.id,status:c.status,web_id:c.web_id}}}})})}),{useCreateCampaignMutation:ye}=J,be=`https://a.klaviyo.com/api`,Y=`2025-04-15`,X=e=>({"Content-Type":`application/json`,Accept:`application/json`,Authorization:`Klaviyo-API-Key ${e}`,revision:Y}),xe=i.zr({reducerPath:`klaviyoApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createCampaign:e.mutation({queryFn:async(e,t,n,r)=>{let i=X(e.api_key),a={data:{type:`template`,attributes:{name:`Email ${Date.now()}`,editor_type:`CODE`,html:e.html}}},o=await r({url:`?proxy_url=${encodeURIComponent(`${be}/templates`)}`,method:`POST`,headers:i,body:JSON.stringify(a)});if(o.error){let e=o.error,t=e?.data?.errors,n=e?.data?.detail;return{error:{status:`CUSTOM_ERROR`,error:t?.length?t.map(e=>e.detail||e.status).join(`; `):n||e?.error||String(o.error)}}}let s=o.data?.data?.id;if(!s)return{error:{status:`CUSTOM_ERROR`,error:`Failed to create template`}};let c={data:{type:`campaign`,attributes:{name:`Campaign ${Date.now()}`,audiences:{included:[e.list_id],excluded:[]},send_strategy:{method:`immediate`},"campaign-messages":{data:[{type:`campaign-message`,attributes:{definition:{channel:`email`,label:e.subject,content:{subject:e.subject,from_email:e.from_email,from_label:e.from_name,reply_to_email:e.from_email}}}}]}}}},l=await r({url:`?proxy_url=${encodeURIComponent(`${be}/campaigns`)}`,method:`POST`,headers:i,body:JSON.stringify(c)});if(l.error){let e=l.error,t=e?.data?.errors,n=e?.data?.detail;return{error:{status:`CUSTOM_ERROR`,error:t?.length?t.map(e=>e.detail||e.status).join(`; `):n||e?.error||String(l.error)}}}let u=l.data,d=u?.data?.relationships?.[`campaign-messages`]?.data?.[0]?.id,f=u?.data?.id;if(!d)return{error:{status:`CUSTOM_ERROR`,error:`Failed to get campaign message from campaign`}};let p={data:{type:`campaign-message`,id:d,relationships:{template:{data:{type:`template`,id:s}}}}},m=await r({url:`?proxy_url=${encodeURIComponent(`${be}/campaign-message-assign-template`)}`,method:`POST`,headers:i,body:JSON.stringify(p)});if(m.error){let e=m.error,t=e?.data?.errors,n=e?.data?.detail;return{error:{status:`CUSTOM_ERROR`,error:t?.length?t.map(e=>e.detail||e.status).join(`; `):n||e?.error||String(m.error)}}}return{data:{id:f,campaign_message_id:d}}}})})}),{useCreateCampaignMutation:Se}=xe,Ce=`https://api.hubapi.com`,we=e=>({"Content-Type":`application/json`,Authorization:`Bearer ${e}`}),Te=i.zr({reducerPath:`hubspotApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createEmail:e.mutation({queryFn:async(e,t,n,r)=>{let i=we(e.api_key),a={name:e.name,subject:e.subject,from:{fromName:e.from_name,replyTo:e.from_email},content:{templatePath:`@hubspot/email/dnd/plain_text.html`,widgets:{"module-0-1-1":{body:{html:e.html,path:`@hubspot/rich_text`,schema_version:2},child_css:{},css:{},id:`module-0-1-1`,name:`module-0-1-1`,order:2,styles:{},type:`module`},"module-1-1-1":{body:{align:`center`,path:`@hubspot/email_footer`,schema_version:2,unsubscribe_link_type:`both`},child_css:{},css:{},id:`module-1-1-1`,name:`module-1-1-1`,order:3,styles:{},type:`module`}}}},o=await r({url:`?proxy_url=${encodeURIComponent(`${Ce}/marketing/v3/emails/`)}`,method:`POST`,headers:i,body:JSON.stringify(a)});if(o.error){let e=o.error,t=e?.data?.errors,n=e?.data?.message;return{error:{status:`CUSTOM_ERROR`,error:t?.length?t.map(e=>e.message||e.errorType).join(`; `):n||e?.error||String(o.error)}}}let s=o.data;return s?.id?{data:{id:s.id}}:{error:{status:`CUSTOM_ERROR`,error:o.data?.errors?.map(e=>e.message||e.errorType).join(`; `)||`Failed to create email`}}}})})}),{useCreateEmailMutation:Ee}=Te,De=i.zr({reducerPath:`salesforceMcApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createEmail:e.mutation({queryFn:async(e,t,n,r)=>{let i=`https://${e.subdomain}.auth.marketingcloudapis.com/v2/token`,a=await r({url:`?proxy_url=${encodeURIComponent(i)}`,method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({grant_type:`client_credentials`,client_id:e.client_id,client_secret:e.client_secret})});if(a.error){let e=a.error;return{error:{status:`CUSTOM_ERROR`,error:e?.data?.error_description||e?.data?.error||e?.error||String(a.error)}}}let o=a.data,s=o?.access_token,c=o?.rest_instance_url;if(!s||!c)return{error:{status:`CUSTOM_ERROR`,error:o?.error_description||o?.error||`Failed to get access token`}};let l={name:e.name,assetType:{id:208,name:`htmlemail`},views:{html:{content:e.html},text:{},subjectline:{content:e.subject},preheader:{}},data:{email:{options:{characterEncoding:`utf-8`}}}},u=await r({url:`?proxy_url=${encodeURIComponent(`${c.replace(/\/$/,``)}/asset/v1/content/assets`)}`,method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${s}`},body:JSON.stringify(l)});if(u.error){let e=u.error,t=e?.data?.errors,n=e?.data?.message;return{error:{status:`CUSTOM_ERROR`,error:t?.length?t.map(e=>e.message||e.documentation).join(`; `):n||e?.error||String(u.error)}}}let d=u.data;return d?.id?{data:{id:d.id}}:{error:{status:`CUSTOM_ERROR`,error:u.data?.errors?.map(e=>e.message).join(`; `)||`Failed to create email`}}}})})}),{useCreateEmailMutation:Oe}=De,ke=e=>e.replace(/\/$/,``),Ae=e=>e.replace(/<[^>]*>/g,` `).replace(/\s+/g,` `).trim()||` `,je=i.zr({reducerPath:`activecampaignApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createCampaign:e.mutation({queryFn:async(e,t,n,r)=>{let i=ke(e.api_url),a=e.api_key,o={"Content-Type":`application/json`,"Api-Token":a},s=await r({url:`?proxy_url=${encodeURIComponent(`${i}/api/3/addresses`)}`,method:`GET`,headers:{"Api-Token":a}});if(s.error)return{error:{status:`CUSTOM_ERROR`,error:`Failed to load mailing addresses. Check your API URL and Key.`}};let c=s.data?.addresses??[],l=c.find(e=>e.isDefault===`1`)??c[0];if(!l?.id)return{error:{status:`CUSTOM_ERROR`,error:`NO_MAILING_ADDRESS`}};let u={message:{name:e.name,fromname:e.from_name,fromemail:e.from_email,email:e.from_email,reply2:e.from_email,subject:e.subject,html:e.html,text:Ae(e.html),preheader_text:``,format:`mime`}},d=await r({url:`?proxy_url=${encodeURIComponent(`${i}/api/3/messages`)}`,method:`POST`,headers:o,body:JSON.stringify(u)});if(d.error){let e=d.error;return{error:{status:`CUSTOM_ERROR`,error:e?.data?.message||e?.error||`Failed to create message.`}}}let f=d.data?.message?.id;if(!f)return{error:{status:`CUSTOM_ERROR`,error:`Message created but no ID returned.`}};let p=`${i}/admin/api.php?api_action=campaign_create&api_output=json`,m=new URLSearchParams;m.append(`type`,`single`),m.append(`name`,e.name),m.append(`sdate`,`2099-12-31 12:00:00`),m.append(`status`,`0`),m.append(`public`,`1`),m.append(`trackreads`,`1`),m.append(`tracklinks`,`all`),m.append(`htmlunsub`,`1`),m.append(`textunsub`,`1`),m.append(`addressid`,String(l.id)),m.append(`p[${e.list_id}]`,e.list_id),m.append(`m[${f}]`,`100`);let h=await r({url:`?proxy_url=${encodeURIComponent(p)}`,method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`,"Api-Token":a},body:m.toString()});if(h.error){let e=h.error;return{error:{status:`CUSTOM_ERROR`,error:e?.data?.result_message||e?.error||`Message created, but campaign creation failed.`}}}let g=h.data;if(Number(g?.result_code)===0)return{error:{status:`CUSTOM_ERROR`,error:g?.result_message||`Campaign creation failed (v1 API).`}};let _=g?.id;return _?{data:{campaignId:String(_)}}:{error:{status:`CUSTOM_ERROR`,error:g?.result_message||`Campaign created but no ID returned.`}}}})})}),{useCreateCampaignMutation:Me}=je,Ne=`https://api.brevo.com/v3`,Pe=i.zr({reducerPath:`brevoApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createCampaign:e.mutation({queryFn:async(e,t,n,r)=>{let i={name:e.name,subject:e.subject,sender:{name:e.from_name,email:e.from_email},htmlContent:e.html,recipients:{listIds:[e.list_id]}},a=await r({url:`?proxy_url=${encodeURIComponent(`${Ne}/emailCampaigns`)}`,method:`POST`,headers:{"Content-Type":`application/json`,"api-key":e.api_key},body:JSON.stringify(i)});if(a.error){let e=a.error;return{error:{status:`CUSTOM_ERROR`,error:e?.data?.message||e?.data?.code||e?.error||String(a.error)}}}let o=a.data;return o?.id?{data:{id:o.id}}:{error:{status:`CUSTOM_ERROR`,error:a.data?.message||`Failed to create campaign`}}}})})}),{useCreateCampaignMutation:Fe}=Pe,Ie=`https://api.createsend.com/api/v3.3`,Le=e=>`Basic ${btoa(`${e}:x`)}`,Re=i.zr({reducerPath:`campaignMonitorApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createCampaign:e.mutation({queryFn:async(e,t,n,r)=>{let i={Name:e.name,Subject:e.subject,FromName:e.from_name,FromEmail:e.from_email,ReplyTo:e.from_email,HtmlUrl:e.html_url,ListIDs:[e.list_id],InlineCss:!0},a=await r({url:`?proxy_url=${encodeURIComponent(`${Ie}/campaigns/${e.client_id}.json`)}`,method:`POST`,headers:{"Content-Type":`application/json`,Authorization:Le(e.api_key)},body:JSON.stringify(i)});if(a.error){let e=a.error;return{error:{status:`CUSTOM_ERROR`,error:e?.data?.Message||e?.error||String(a.error)}}}let o=a.data,s=typeof o==`string`?o:o?.id;return!s||typeof s!=`string`?{error:{status:`CUSTOM_ERROR`,error:o?.Message||`Failed to create campaign`}}:{data:{id:s}}}})})}),{useCreateCampaignMutation:ze}=Re,Be=`https://api.cc.email/v3`,Ve=e=>e.includes(`[[trackingImage]]`)?e:e.replace(/<body([^>]*)>/i,`<body$1>[[trackingImage]]`),He=i.zr({reducerPath:`constantContactApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createCampaign:e.mutation({queryFn:async(e,t,n,r)=>{let i=Ve(e.html),a={name:e.name,email_campaign_activities:[{format_type:5,from_email:e.from_email,reply_to_email:e.from_email,from_name:e.from_name,subject:e.subject,html_content:i}]},o=await r({url:`?proxy_url=${encodeURIComponent(`${Be}/emails`)}`,method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${e.access_token}`},body:JSON.stringify(a)});if(o.error){let e=o.error;return{error:{status:`CUSTOM_ERROR`,error:e?.data?.error_message||e?.data?.error_key||e?.error||String(o.error)}}}let s=o.data,c=s?.campaign_activities?.find(e=>e.role===`primary_email`)?.campaign_activity_id,l=s?.campaign_id;if(!c||!l)return{error:{status:`CUSTOM_ERROR`,error:`Failed to create campaign`}};let u={campaign_activity_id:c,campaign_id:l,role:`primary_email`,contact_list_ids:[e.list_id],segment_ids:[],current_status:`DRAFT`,format_type:5,from_email:e.from_email,from_name:e.from_name,reply_to_email:e.from_email,subject:e.subject,html_content:i},d=await r({url:`?proxy_url=${encodeURIComponent(`${Be}/emails/activities/${c}`)}`,method:`PUT`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${e.access_token}`},body:JSON.stringify(u)});if(d.error){let e=d.error;return{error:{status:`CUSTOM_ERROR`,error:e?.data?.error_message||e?.data?.error_key||e?.error||String(d.error)}}}return{data:{campaign_id:l}}}})})}),{useCreateCampaignMutation:Ue}=He,We=`https://api.getresponse.com/v3`,Ge=e=>`api-key ${e}`,Ke=i.zr({reducerPath:`getresponseApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createNewsletter:e.mutation({queryFn:async(e,t,n,r)=>{let i=e.html.replace(/<[^>]*>/g,` `).replace(/\s+/g,` `).trim(),a={name:e.name,type:`draft`,subject:e.subject,fromField:{fromFieldId:e.from_field_id},replyTo:{fromFieldId:e.from_field_id},campaign:{campaignId:e.campaign_id},content:{html:e.html,plain:i||`Newsletter`},flags:[`openrate`,`clicktrack`],sendSettings:{selectedCampaigns:[e.campaign_id]}},o=await r({url:`?proxy_url=${encodeURIComponent(`${We}/newsletters`)}`,method:`POST`,headers:{"Content-Type":`application/json`,"X-Auth-Token":Ge(e.api_key)},body:JSON.stringify(a)});if(o.error){let e=o.error;return{error:{status:`CUSTOM_ERROR`,error:e?.data?.message||e?.data?.code||e?.error||String(o.error)}}}let s=o.data;return s?.newsletterId?{data:{newsletterId:s.newsletterId}}:{error:{status:`CUSTOM_ERROR`,error:o.data?.message||`Failed to create newsletter`}}}})})}),{useCreateNewsletterMutation:qe}=Ke,Je=e=>`https://${e||`r1`}-api.dotdigital.com/v2`,Ye=(e,t)=>`Basic ${btoa(`${e}:${t}`)}`,Xe=e=>e&&typeof e==`object`&&`data`in e&&e.data!==void 0?e.data:e,Ze=e=>e.trim().toLowerCase(),Qe=i.zr({reducerPath:`dotdigitalApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createCampaign:e.mutation({queryFn:async(e,t,n,r)=>{let i=e.html.replace(/<[^>]*>/g,` `).replace(/\s+/g,` `).trim(),a=Je(e.region),o={"Content-Type":`application/json`,Authorization:Ye(e.username,e.password)},s=await r({url:`?proxy_url=${encodeURIComponent(`${a}/custom-from-addresses`)}`,method:`GET`,headers:{Authorization:Ye(e.username,e.password)}}),c=[];if(!s.error){let e=Xe(s.data);Array.isArray(e)?c=e:e&&typeof e==`object`&&Array.isArray(e.items)&&(c=e.items)}let l=Ze(e.from_email),u=c.find(e=>e.email&&Ze(e.email)===l),d={name:e.name,subject:e.subject,fromName:e.from_name,htmlContent:e.html,plainTextContent:i||`Newsletter`},f=!u?.id;u?.id!=null&&(d.fromAddress={id:u.id});let p=await r({url:`?proxy_url=${encodeURIComponent(`${a}/campaigns`)}`,method:`POST`,headers:o,body:JSON.stringify(d)});if(p.error){let e=p.error;return{error:{status:`CUSTOM_ERROR`,error:e?.data?.message||e?.error||String(p.error)}}}let m=Xe(p.data);return m?.id?{data:{id:m.id,usedAccountDefaultFromAddress:f}}:{error:{status:`CUSTOM_ERROR`,error:p.data?.message||m?.message||`Failed to create campaign`}}}})})}),{useCreateCampaignMutation:$e}=Qe,et=`https://app.bentonow.com/api/v1`,tt=(e,t)=>`Basic ${btoa(`${e}:${t}`)}`,nt=i.zr({reducerPath:`bentoApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({createBroadcast:e.mutation({queryFn:async(e,t,n,r)=>{let i={broadcasts:[{name:e.name,subject:e.subject,content:e.html,type:`raw`,from:{email:e.from_email,name:e.from_name},inclusive_tags:e.inclusive_tags||`subscribers`,exclusive_tags:``,segment_id:e.segment_id||``,batch_size_per_hour:500,approved:!1}]},a=`${et}/batch/broadcasts?site_uuid=${encodeURIComponent(e.site_uuid)}`,o=await r({url:`?proxy_url=${encodeURIComponent(a)}`,method:`POST`,headers:{"Content-Type":`application/json`,Authorization:tt(e.publishable_key,e.secret_key),"User-Agent":`EmailMaker/1.0`},body:JSON.stringify(i)});if(o.error){let e=o.error;return{error:{status:`CUSTOM_ERROR`,error:e?.data?.message||e?.error||String(o.error)}}}return{data:{count:o.data?.count??1}}}})})}),{useCreateBroadcastMutation:rt}=nt,it=a.w(),at=i.zr({reducerPath:`AiApiGenerator`,baseQuery:async(e,t,n)=>{let r=await i.Ar({baseUrl:i.Mr(t).baseUrl.replaceAll(/[\\/]$/g,``)})(e,t,n);if(r.error){let e=r.error;if(typeof e.json==`function`)try{e=await e.json()}catch{e=await e}return{error:e}}return r},endpoints:e=>({generateIdForTask:e.mutation({queryFn(e,t){return i.jr(t).tasks.tasksControllerCreateTask(e).then(e=>e)}}),clearAiChat:e.query({queryFn(e,t){return i.Mr(t).aiGenerator.clear_history_list(e).then(e=>e)}}),getGeneratedContent:e.query({queryFn:e=>({data:[]}),async onCacheEntryAdded({id:e,setError:t},n){let{updateCachedData:r,cacheEntryRemoved:o}=n,s=i.Mr(n).baseUrl.indexOf(`emailmaker`)>=0?i.Zi.maker:i.Zi.blocks,c=i.Ii.isPlugin?await i.Fr.getInstance(n,a.D):a.T.get(i.Qr.em_token),l=c?{Authorization:`Bearer ${c}`}:{},u=new it.EventSourcePolyfill(`${s}/tasks/${e}`,{headers:l});u.onmessage=e=>{let t=JSON.parse(e.data);r(e=>{e.push(t)})},u.onerror=e=>{t(`Error connecting to EventSource`),u.close()},await o,u.close()}}),getAiGenerateStatus:e.mutation({query:e=>({url:`/constructor/v1/ai-save-task`,method:`POST`,body:e})})})}),{useGenerateIdForTaskMutation:ot,useGetGeneratedContentQuery:st,useLazyClearAiChatQuery:ct,useLazyGetGeneratedContentQuery:lt,useGetAiGenerateStatusMutation:ut}=at,dt=async e=>{let t=await e.text(),n=t;try{n=JSON.parse(t)}catch{n=t}return n},ft=(e,t,n)=>{if(!e)throw Error(`Set ${n}`);return{url:`?proxy_url=${encodeURIComponent(e)}`,method:`POST`,headers:{"Content-Type":`application/json`},body:t,responseHandler:dt}},pt=(e,t,n)=>{if(!e)throw Error(`Set ${n}`);return{url:`?proxy_url=${encodeURIComponent(e)}`,method:`POST`,body:t,responseHandler:dt}},mt=i.zr({reducerPath:`requestPlaneApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({getRequest:e.mutation({query:e=>pt(`https://webhook.latenode.com/5868/prod/9e7a6445-2244-4dd5-bda4-5bca82997bf8`,e,`REACT_APP_PIPEDREAM_REQUEST_PLANE_SRC`)}),getInvoiceRequest:e.mutation({query:e=>ft(`https://webhook.latenode.com/5868/prod/6e2d04a8-6cd9-4ec3-b884-ee2fd67267a3`,e,`REACT_APP_REQUEST_PLANE_WEBHOOK_URL`)})})}),{useGetRequestMutation:ht,useGetInvoiceRequestMutation:gt}=mt,_t=i.zr({reducerPath:`htmlToPdfPlusApi`,baseQuery:async(e,t,n)=>{try{let{notification:r,...a}=e,o=await i.Wr({baseUrl:`https://html2pdf.emcdn.ru/convert/html-to-pdf`})(a,t,n);if(o.error)throw Error();return o}catch(t){return(e?.notification).error(t),{error:t}}},endpoints:e=>({generateHtmlToPdf:e.mutation({query:({htmlContent:e,notification:t})=>({url:``,method:`POST`,body:e,notification:t,responseHandler:e=>e.blob()})})})}),{useGenerateHtmlToPdfMutation:vt}=_t;function yt({title:e,content:t,acf:{seen:n,type:r,event:a,data:o},...s}){return{...s,seen:n,type:r,event:a,data:o,title:i.Or(e),content:t}}var bt=`Notifications`,xt=i.zr({reducerPath:`notificationsApi`,tagTypes:[bt],baseQuery:i.Ar({baseUrl:`https://app.emailmaker.ru/api/wp-json/wp/v2/`}),endpoints:e=>({getNotifications:e.query({queryFn(e,t){return i.Mr(t).wp.notification_list({author:[Number(e)]}).then(i.wr(yt))},providesTags:e=>e?[...e.map(({id:e})=>({type:bt,id:e})),{type:bt,id:`LIST`}]:[{type:bt,id:`LIST`}]}),notificationShown:e.mutation({queryFn({id:e,datetime:t},n){return i.Mr(n).wp.notification_create2({id:e},{},{type:i.xa.Json,extraQuery:{"acf[seen]":t}}).then(i.Tr(yt))},invalidatesTags:[{type:bt,id:`LIST`}]})})}),{useGetNotificationsQuery:St,useNotificationShownMutation:Ct}=xt,wt=i.zr({reducerPath:`getCheckoutUrlApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({GetCheckoutUrl:e.mutation({query:e=>({url:`?proxy_url=${encodeURIComponent(o.t.env.REACT_APP_PIPEDREAM_GET_CHECKOUT_URL)}`,method:`POST`,body:e})})})}),{useGetCheckoutUrlMutation:Tt}=wt,Et=i.zr({reducerPath:`recoverPasswordApi`,baseQuery:i.Wr({baseUrl:`https://app.emailmaker.ru/api/wp-json/bdpwr/v1/`}),endpoints:e=>({resetPassword:e.mutation({queryFn(e,t){return i.ca(t).bdpwr.reset_password_create({body:e,type:i.xa.Json})}}),setPassword:e.mutation({queryFn(e,t){return i.ca(t).bdpwr.set_password_create({body:e,type:i.xa.Json})}}),validateRecoverPasswordCode:e.mutation({queryFn(e,t){return i.ca(t).bdpwr.validate_code_create({body:e,type:i.xa.Json})}})})}),{useResetPasswordMutation:Dt,useSetPasswordMutation:Ot,useValidateRecoverPasswordCodeMutation:kt}=Et,At=i.zr({reducerPath:`addUserToProjectApi`,baseQuery:i.Ar({baseUrl:`https://app.emailmaker.ru/api/wp-json/user_to_project/v1/add_user`}),endpoints:e=>({addUserToProject:e.mutation({queryFn(e,t){return i.Mr(t).userToProject.add_user_create(e,{type:i.xa.FormData})}})})}),{useAddUserToProjectMutation:jt}=At,Mt=i.zr({reducerPath:`confirmationMailApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`,responseHandler:e=>e.text()}),endpoints:e=>({getConfirmationMail:e.query({query:({userId:e,email:t})=>({url:`?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/f0da9c0f-ed12-4d23-8a86-b86f7bf1a276?user_id=${e}&user_email=${t}`)}`})})})}),{useLazyGetConfirmationMailQuery:Nt}=Mt,Pt=i.zr({reducerPath:`recurrenceSubscriptionsOffApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({getCanselRecurrence:e.query({query:e=>({url:`?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/07ae4159-132b-4a00-998b-bc47c20365ba?subscription_id=${e.sid}&user_id=${e.uid}`)}`})})})}),{useLazyGetCanselRecurrenceQuery:Ft,useGetCanselRecurrenceQuery:It}=Pt,Lt=i.zr({reducerPath:`recurrenceSubscriptionsOnApi`,baseQuery:i.Wr({baseUrl:`https://px0.emailmaker.ru/`}),endpoints:e=>({getRecurrence:e.query({query:e=>({url:`?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/e1dd37b1-c3d4-4441-b329-d6b3aa51bfe7?subscription_id=${e.sid}&user_id=${e.uid}`)}`})})})}),{useLazyGetRecurrenceQuery:Rt,useGetRecurrenceQuery:zt}=Lt,Bt=`<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title></title>
7
+ <style type="text/css">
8
+ html {
9
+ -webkit-text-size-adjust: none;
10
+ -ms-text-size-adjust: none;
11
+ }
12
+ </style>
13
+ <style em="styles">
14
+ @media only screen and (max-device-width:660px),only screen and (max-width:660px) {
15
+ .em-narrow-table {
16
+ width: 100%!important;
17
+ max-width: 660px!important;
18
+ min-width: 320px!important;
19
+ }
20
+ }
21
+ </style>
22
+ </head>
23
+ <body style="margin: 0; padding: 0;">
24
+ <span class="preheader" style="display: none !important; visibility: hidden; opacity: 0; color: #F8F8F8; height: 0; width: 0; font-size: 1px;">&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;‌&nbsp;</span>
25
+ <!--[if !mso]><!-->
26
+ <div style="font-size:0px;color:transparent;opacity:0;">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀</div>
27
+ <!--<![endif]-->
28
+ <table cellpadding="0" cellspacing="0" border="0" width="100%" style="font-size: 1px; line-height: normal;">
29
+ <tr em="group">
30
+ <td align="center" bgcolor="#F8F8F8">
31
+ <!--[if (gte mso 9)|(IE)]>
32
+ <table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
33
+ <![endif]-->
34
+ <table cellpadding="0" cellspacing="0" width="100%" border="0" style="max-width: 660px; min-width: 660px; width: 660px;" class="em-narrow-table"></table>
35
+ <!--[if (gte mso 9)|(IE)]>
36
+ </td></tr></table>
37
+ <![endif]-->
38
+ </td>
39
+ </tr>
40
+ </table>
41
+ </body>
42
+ </html>`;function Vt(e){return Object.prototype.hasOwnProperty.call(e,`meta`)}var Ht=i.Cr({appliedShowToken:0,emailtags:[],email:{isNew:!0,is_inited:!1,subject:void 0,preheader:void 0,description:``,html:Bt,project:void 0,project_title:``,tags:[],utm_parameters:{utm_source:``,utm_medium:``,utm_campaign:``,utm_term:``,utm_content:``},parent_email:null,common_styles:`{}`,title:``,emailtags:[],isAmp:!1},hasChanged:!1}),Ut=`newEmailSlice`,Wt=i.qr({name:Ut,initialState:Ht,reducers:{setNewEmailAll:(e,{payload:t})=>{let{id:n,subject:r=void 0,description:a=``,preheader:o,html:s=Bt,utm_parameters:{utm_source:c=``,utm_medium:l=``,utm_campaign:u=``,utm_term:d=``,utm_content:f=``}={},common_styles:p=`{}`,emailtags:m=null,renderGuid:h,title:g,_embedded:_,isAmp:v=!1}=t;e.hasChanged||=!0,e.email.isAmp=v,e.email.title=g,Vt(t)?e.email.meta=t.meta:delete e.email.meta,e.emailtags=m,e.email.subject=r,e.email.description=a,e.email.common_styles=p||JSON.stringify(i.na),e.email.preheader=o,e.email.is_template=!1,e.email.html=s,e.email.tags=i.b({_embedded:_},`emailtags`)?.map(e=>e.name)||[],e.email.renderGuid=h??e.email.renderGuid??i.ro(),t.showToken===void 0?e.appliedShowToken+=1:e.appliedShowToken=t.showToken,e.email.parent_email=n,e.email.utm_parameters={utm_source:c,utm_medium:l,utm_campaign:u,utm_term:d,utm_content:f}},setNewEmailTitle:(e,t)=>{e.hasChanged||=!0,e.email.title=t.payload},setNewEmailSubject:(e,t)=>{!e.hasChanged&&e.email.subject!==t.payload&&(e.hasChanged=!0),(e.email.title===e.email.subject||!e.email.subject&&!e.email.title)&&(e.email.title=t.payload),e.email.subject=t.payload},setNewEmailPreheader:(e,t)=>{!e.hasChanged&&e.email.preheader!==t.payload&&(e.hasChanged=!0),e.email.preheader=t.payload},setNewEmailDescription:(e,t)=>{e.hasChanged||=!0,e.email.description=t.payload},setNewEmailIsTemplate:(e,t)=>{e.hasChanged||=!0,e.email.is_template=t.payload},setNewEmailHtml:(e,t)=>{e.hasChanged||=!0,t.payload&&(e.email.html=t.payload)},setNewCommonStyles:(e,t)=>{e.hasChanged||=!0,t.payload&&(e.email.common_styles=t.payload)},setNewEmailTags:(e,t)=>{e.hasChanged||=!0,e.email.tags=t.payload},setNewEmailUtmSource:(e,t)=>{e.hasChanged||=!0,e.email.utm_parameters.utm_source=t.payload},setNewEmailUtmMedium:(e,t)=>{e.hasChanged||=!0,e.email.utm_parameters.utm_medium=t.payload},setNewEmailUtmCampaign:(e,t)=>{e.hasChanged||=!0,e.email.utm_parameters.utm_campaign=t.payload},setNewEmailUtmTerm:(e,t)=>{e.hasChanged||=!0,e.email.utm_parameters.utm_term=t.payload},setNewEmailUtmContent:(e,t)=>{e.hasChanged||=!0,e.email.utm_parameters.utm_content=t.payload},setNewIsInited:(e,t)=>{e.email.is_inited=t.payload},setNewEmailIsAmp:(e,t)=>{e.email.isAmp=t.payload},setNewEmailMeta:(e,t)=>{if(t.payload===void 0){delete e.email.meta;return}e.email.meta={...e.email.meta??{},...t.payload}},setNewEmailProject:(e,t)=>{e.email.project=t.payload.id,t.payload.title!=null&&(e.email.project_title=t.payload.title)},resetNewEmailSlice:e=>({...Ht,email:{...Ht.email,guid:i.ro(),project:e.email.project,project_title:e.email.project_title}})},extraReducers:e=>{e.addMatcher(i.zt.endpoints.getProject.matchFulfilled,(e,{payload:t,meta:n})=>{let r=n.arg.originalArgs,i=e.email.project;i!=null&&i===r&&t.id===r&&(e.email.project_title=t.title??``)}),e.addMatcher(i.Wt.endpoints.getEmail.matchFulfilled,e=>({...Ht,email:{...Ht.email,project:e.email.project,project_title:e.email.project_title}}))}}),{setNewEmailAll:Gt,setNewEmailTitle:Kt,setNewEmailSubject:qt,setNewEmailPreheader:Jt,setNewEmailDescription:Yt,setNewEmailIsTemplate:Xt,setNewEmailHtml:Zt,setNewCommonStyles:Qt,setNewEmailTags:$t,setNewEmailUtmSource:en,setNewEmailUtmMedium:tn,setNewEmailUtmCampaign:nn,setNewEmailUtmContent:rn,setNewEmailUtmTerm:an,resetNewEmailSlice:on,setNewIsInited:sn,setNewEmailIsAmp:cn,setNewEmailMeta:ln,setNewEmailProject:un}=Wt.actions,dn=e=>e[Ut].email,fn=e=>e[Ut].appliedShowToken,pn=e=>e[Ut].hasChanged,mn=`<tr em="block" class="empty-structure">
43
+ <td align="center">
44
+ <!--[if (gte mso 9)|(IE)]>
45
+ <table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
46
+ <![endif]-->
47
+ <table align="center" cellpadding="0" cellspacing="0" border="0" width="100%" style="max-width: 660px;">
48
+ <tr>
49
+ <td align="center">
50
+ <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30" ></td></tr></table>
51
+ <table align="center" cellpadding="0" cellspacing="0" border="0" width="91%">
52
+ <tr>
53
+ <td align="left"></td>
54
+ </tr>
55
+ </table>
56
+ <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30" ></td></tr></table>
57
+ </td>
58
+ </tr>
59
+ </table>
60
+ <!--[if (gte mso 9)|(IE)]>
61
+ </td></tr></table>
62
+ <![endif]-->
63
+ </td>
64
+ </tr>
65
+ `,hn=i.Cr({block:{isNew:!0,subject:``,description:``,html:`<table cellspacing="0" cellpadding="0" border="0" width="100%">`+mn+`</table>`,project:void 0,project_title:``,tags:[],type:`Other`,title:null},hasChanged:!1}),gn=`newBlockSlice`,_n=i.qr({name:gn,initialState:hn,reducers:{setNewBlockAll:(e,{payload:{subject:t=``,description:n=``,renderGuid:r,html:i=`<table cellspacing="0" cellpadding="0" border="0" width="100%">`+mn+`</table>`,tags:a=[],type:o=`Other`,title:s,isAmp:c=!1}})=>{e.hasChanged||=!0,e.block.title=s,e.block.subject=t,e.block.description=n,e.block.html=i,e.block.tags=a,e.block.type=o,e.block.renderGuid=r,e.block.isAmp=c},setNewBlockTitle:(e,t)=>{e.hasChanged||=!0,e.block.title=t.payload},setNewBlockDescription:(e,t)=>{e.hasChanged||=!0,e.block.description=t.payload},setNewBlockHtml:(e,t)=>{e.hasChanged||=!0,e.block.html=t.payload},setNewBlockTags:(e,t)=>{e.hasChanged||=!0,e.block.tags=t.payload},resetNewBlockSlice:e=>({...hn,block:{...hn.block,project:e.block.project,project_title:e.block.project_title}}),setBlockIsAmp:(e,t)=>{e.block.isAmp=t.payload}},extraReducers:e=>{e.addMatcher(i.zt.endpoints.getProject.matchFulfilled,(e,t)=>{e.block.project=t.payload.id,e.block.project_title=t.payload.title}),e.addMatcher(i.er.endpoints.getBlock.matchFulfilled,e=>({...hn,block:{...hn.block,project:e.block.project,project_title:e.block.project_title}}))}}),{setNewBlockAll:vn,setNewBlockTitle:yn,setNewBlockDescription:bn,setNewBlockHtml:xn,setNewBlockTags:Sn,resetNewBlockSlice:Cn,setBlockIsAmp:wn}=_n.actions,Tn=e=>e[gn].hasChanged,En=i.Cr({emailsTotal:0,elementsList:[],emailsTrashTotal:0,elementsTrashList:[],customFolders:{},elementsView:!i.Ii.isPlugin&&a.T.get(i.Qr.em_elements_view)||`cards`}),Dn=`emailsPageSlice`,On=i.qr({name:Dn,initialState:En,reducers:{resetPagesAndTotal:()=>En,resetElementsList:e=>{e.elementsList=[]},toggleElementsView:(e,t)=>{e.elementsView=t.payload},removeEmailFromList:(e,{payload:t})=>{let n=e.customFolders;t.folder!==`all`&&n[t.folder]?.list&&(n[t.folder]={...n[t.folder],list:n[t.folder].list.filter(e=>e.id!==t.emailId),total:n[t.folder].total-1},e.customFolders=n)}},extraReducers:e=>{e.addMatcher(i.Wt.endpoints.getEmails.matchFulfilled,(e,{meta:t,payload:n})=>{let r=+t.baseQueryMeta?.response.headers.get(`X-WP-Total`)||0,i=t.arg.originalArgs?.status===`trash`,a=!!t.arg.originalArgs?.name?.length,o=t.arg.originalArgs?.page,s=t.arg.originalArgs?.folderTag||t.arg.originalArgs?.tags?.[0];i?(a||(e.emailsTrashTotal=r),e.elementsTrashList=n):s?e.customFolders={...e.customFolders,[s]:{list:n,page:o,total:r}}:(e.emailsTotal=r,e.elementsList=n)}),e.addMatcher(i.Wt.endpoints.getTemplateEmails.matchFulfilled,(e,{meta:t,payload:n})=>{let r=+t.baseQueryMeta?.response.headers.get(`X-WP-Total`)||0;e.elementsList=n,e.emailsTotal=r;let{projectGroup:i,projectId:a,tags:o}=t.arg.originalArgs;(i?.length&&a||o?.length||!o?.length&&!i?.length)&&(e.emailsTotal=r)}),e.addMatcher(i.Wt.endpoints.editEmail.matchFulfilled,(e,{payload:t})=>{e.elementsList.map(e=>e.id?.toString()===t.id?.toString()?Object.assign(e,{lock:t.lock,title:t.title,emailtags:t.emailtags}):e)})}}),{resetPagesAndTotal:kn,toggleElementsView:An,resetElementsList:jn,removeEmailFromList:Mn}=On.actions,Nn=e=>e[Dn].emailsTotal,Pn=e=>e[Dn].elementsView,Fn=e=>e[Dn].elementsList,In=e=>e[Dn].customFolders,Ln=e=>e[Dn].emailsTrashTotal,Rn=e=>e[Dn].elementsTrashList,zn=i.Cr({blocksTotal:null,blocksTotalPages:null,parentEmailBlocksTotal:null,parentEmailBlocksTotalPages:null,templateBlocks:[],templateBlocksTotal:null,templateBlocksTotalPages:null,elementsView:!i.Ii.isPlugin&&a.T.get(i.Qr.em_elements_view)||`cards`,elementsList:[],customFolders:{},blocksTrashTotal:0,elementsTrashList:[]}),Bn=`blocksPageSlice`,Vn=i.qr({name:Bn,initialState:zn,reducers:{resetPagesAndTotal:()=>zn,resetElementsList:e=>{e.elementsList=[]},toggleElementsView:(e,t)=>{e.elementsView=t.payload},removeBlockFromList:(e,{payload:t})=>{let n=e.customFolders;t.folder!==`all`&&n[t.folder]?.list&&(n[t.folder]={...n[t.folder],list:n[t.folder].list.filter(e=>e.id!==t.emailId),total:n[t.folder].total-1},e.customFolders=n)}},extraReducers:e=>{e.addMatcher(i.er.endpoints.getBlocks.matchFulfilled,(e,{meta:t,payload:n})=>{let r=t.baseQueryMeta?.response.headers.get(`X-WP-Total`)||n?.length,i=t.arg.originalArgs?.status===`trash`,a=!!t.arg.originalArgs?.name?.length,o=t.arg.originalArgs?.page,s=t.arg.originalArgs?.folderTag||t.arg.originalArgs?.tags?.[0];i?(a||(e.blocksTrashTotal=r),e.elementsTrashList=n):s?e.customFolders={...e.customFolders,[s]:{list:n,page:o,total:r}}:(e.blocksTotal=r,e.elementsList=n)}),e.addMatcher(i.er.endpoints.getParentEmailBlocks.matchFulfilled,(e,{meta:t,payload:n})=>{let r=t.baseQueryMeta?.response.headers.get(`X-WP-Total`)||n?.length||null,i=t.baseQueryMeta?.response.headers.get(`X-WP-TotalPages`);e.parentEmailBlocksTotal=r,e.parentEmailBlocksTotalPages=i}),e.addMatcher(i.er.endpoints.getTemplateBlocks.matchFulfilled,(e,{meta:t,payload:n})=>{let r=t.baseQueryMeta?.response.headers.get(`X-WP-Total`)||n?.length||null,i=t.baseQueryMeta?.response.headers.get(`X-WP-TotalPages`);e.templateBlocks=n,e.templateBlocksTotal=r,e.templateBlocksTotalPages=i}),e.addMatcher(i.er.endpoints.editBlock.matchFulfilled,(e,{payload:t})=>{e.elementsList.map(e=>e.id?.toString()===t.id?.toString()?Object.assign(e,{lock:t.lock,title:t.title,blocktags:t.blocktags}):e)})}}),{resetPagesAndTotal:Hn,resetElementsList:Un,toggleElementsView:Wn,removeBlockFromList:Gn}=Vn.actions,Kn=e=>e[Bn].blocksTotal,qn=e=>e[Bn].templateBlocksTotal,Jn=e=>e[Bn].parentEmailBlocksTotal,Yn=i.Cr({historyData:[],elementHistoryTotalPages:1}),Xn=`revisionHistorySlice`,Zn=i.qr({name:Xn,initialState:Yn,reducers:{resetElementHistorySlice:()=>({...Yn}),setElementHistory:(e,t)=>{t.payload.length!==0&&(e.historyData=t.payload)}},extraReducers:e=>{e.addMatcher(i.Wt.endpoints.getEmailHistory.matchFulfilled,(e,{meta:t,payload:n})=>{e.elementHistoryTotalPages=+t.baseQueryMeta?.response.headers.get(`X-WP-TotalPages`),(!t.arg.originalArgs.page||t.arg.originalArgs.page===1)&&(e.historyData=n.data||[])}),e.addMatcher(i.er.endpoints.getBlockHistory.matchFulfilled,(e,{meta:t,payload:n})=>{e.elementHistoryTotalPages=+t.baseQueryMeta?.response.headers.get(`X-WP-TotalPages`),(!n.args.page||n.args.page===1)&&(e.historyData=n.data||[])})}}),{resetElementHistorySlice:Qn}=Zn.actions,{setElementHistory:$n}=Zn.actions,er=e=>e[Xn].elementHistoryTotalPages,tr=e=>e[Xn].historyData,nr=i.Yr({[i.Fr.reducerPath]:i.Fr.reducer,[f.reducerPath]:f.reducer,[i.l.name]:i.l.reducer,[s.y.name]:s.y.reducer,[s.a.name]:s.a.reducer,[i.nn.name]:i.nn.reducer,[a._.reducerPath]:a._.reducer,[y.reducerPath]:y.reducer,[S.reducerPath]:S.reducer,[g.reducerPath]:g.reducer,[i.tt.name]:i.tt.reducer,[i.er.reducerPath]:i.er.reducer,[i.Wt.reducerPath]:i.Wt.reducer,[Wt.name]:Wt.reducer,[_n.name]:_n.reducer,[E.reducerPath]:E.reducer,[R.reducerPath]:R.reducer,[B.reducerPath]:B.reducer,[he.reducerPath]:he.reducer,[ge.reducerPath]:ge.reducer,[U.reducerPath]:U.reducer,[K.reducerPath]:K.reducer,[J.reducerPath]:J.reducer,[xe.reducerPath]:xe.reducer,[Te.reducerPath]:Te.reducer,[De.reducerPath]:De.reducer,[je.reducerPath]:je.reducer,[Pe.reducerPath]:Pe.reducer,[Re.reducerPath]:Re.reducer,[He.reducerPath]:He.reducer,[Ke.reducerPath]:Ke.reducer,[Qe.reducerPath]:Qe.reducer,[nt.reducerPath]:nt.reducer,[i.Dn.name]:i.Dn.reducer,[i.zt.reducerPath]:i.zt.reducer,[j.reducerPath]:j.reducer,[ne.reducerPath]:ne.reducer,[i.Nt.reducerPath]:i.Nt.reducer,[oe.reducerPath]:oe.reducer,[Vn.name]:Vn.reducer,[On.name]:On.reducer,[ce.reducerPath]:ce.reducer,[fe.reducerPath]:fe.reducer,[de.reducerPath]:de.reducer,[i.Et.reducerPath]:i.Et.reducer,[a.a.name]:a.a.reducer,[at.reducerPath]:at.reducer,[mt.reducerPath]:mt.reducer,[_t.reducerPath]:_t.reducer,[xt.reducerPath]:xt.reducer,[i.yn.reducerPath]:i.yn.reducer,[a.p.reducerPath]:a.p.reducer,[Zn.name]:Zn.reducer,[i.dr.name]:i.dr.reducer,[wt.reducerPath]:wt.reducer,[s.t.name]:s.t.reducer,[Et.reducerPath]:Et.reducer,[At.reducerPath]:At.reducer,[Mt.reducerPath]:Mt.reducer,[Lt.reducerPath]:Lt.reducer,[Pt.reducerPath]:Pt.reducer}),rr=(e,t)=>t.type===`authorizationApi/resetApiState`?nr({[i.Ir]:e[i.Ir],[E.reducerPath]:e[E.reducerPath]},t):nr(e,t),ir=[f,a._,y,g,i.Wt,S,i.er,R,B,he,ge,U,K,J,xe,Te,De,je,Pe,Re,He,Ke,Qe,nt,E,ne,i.zt,i.Nt,oe,j,ce,fe,i.Et,de,at,mt,i.yn,a.p,_t,xt,wt,Et,At,Mt,Lt,Pt];function ar(e){let t={};if(e){let n=i.no();i.to.inject(n,e),t={INJECTION:n}}let n=i.Kr({reducer:rr,middleware:e=>e({serializableCheck:!1}).concat(ir.map(e=>e.middleware)),preloadedState:t});return i.Gr(n.dispatch),n}var or=r.a(((e,t)=>{t.exports={}})),sr=r.a(((e,t)=>{t.exports=or()})),cr=r.a((e=>{if(r.n(),e.base64=!0,e.array=!0,e.string=!0,e.arraybuffer=typeof ArrayBuffer<`u`&&typeof Uint8Array<`u`,e.nodebuffer=r.t!==void 0,e.uint8array=typeof Uint8Array<`u`,typeof ArrayBuffer>`u`)e.blob=!1;else{var t=new ArrayBuffer(0);try{e.blob=new Blob([t],{type:`application/zip`}).size===0}catch{try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);n.append(t),e.blob=n.getBlob(`application/zip`).size===0}catch{e.blob=!1}}}try{e.nodestream=!!sr().Readable}catch{e.nodestream=!1}})),lr=r.a((e=>{var t=Z(),n=cr(),r=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`;e.encode=function(e){for(var n=[],i,a,o,s,c,l,u,d=0,f=e.length,p=f,m=t.getTypeOf(e)!==`string`;d<e.length;)p=f-d,m?(i=e[d++],a=d<f?e[d++]:0,o=d<f?e[d++]:0):(i=e.charCodeAt(d++),a=d<f?e.charCodeAt(d++):0,o=d<f?e.charCodeAt(d++):0),s=i>>2,c=(i&3)<<4|a>>4,l=p>1?(a&15)<<2|o>>6:64,u=p>2?o&63:64,n.push(r.charAt(s)+r.charAt(c)+r.charAt(l)+r.charAt(u));return n.join(``)},e.decode=function(e){var t,i,a,o,s,c,l,u=0,d=0,f=`data:`;if(e.substr(0,f.length)===f)throw Error(`Invalid base64 input, it looks like a data url.`);e=e.replace(/[^A-Za-z0-9+/=]/g,``);var p=e.length*3/4;if(e.charAt(e.length-1)===r.charAt(64)&&p--,e.charAt(e.length-2)===r.charAt(64)&&p--,p%1!=0)throw Error(`Invalid base64 input, bad content length.`);for(var m=n.uint8array?new Uint8Array(p|0):Array(p|0);u<e.length;)o=r.indexOf(e.charAt(u++)),s=r.indexOf(e.charAt(u++)),c=r.indexOf(e.charAt(u++)),l=r.indexOf(e.charAt(u++)),t=o<<2|s>>4,i=(s&15)<<4|c>>2,a=(c&3)<<6|l,m[d++]=t,c!==64&&(m[d++]=i),l!==64&&(m[d++]=a);return m}})),ur=r.a(((e,t)=>{r.n(),t.exports={isNode:r.t!==void 0,newBufferFrom:function(e,t){if(r.t.from&&r.t.from!==Uint8Array.from)return r.t.from(e,t);if(typeof e==`number`)throw Error(`The "data" argument must not be a number`);return new r.t(e,t)},allocBuffer:function(e){if(r.t.alloc)return r.t.alloc(e);var t=new r.t(e);return t.fill(0),t},isBuffer:function(e){return r.t.isBuffer(e)},isStream:function(e){return e&&typeof e.on==`function`&&typeof e.pause==`function`&&typeof e.resume==`function`}}})),dr=r.a(((e,t)=>{var n=r.r.MutationObserver||r.r.WebKitMutationObserver,i;if(n){var a=0,o=new n(d),s=r.r.document.createTextNode(``);o.observe(s,{characterData:!0}),i=function(){s.data=a=++a%2}}else if(!r.r.setImmediate&&r.r.MessageChannel!==void 0){var c=new r.r.MessageChannel;c.port1.onmessage=d,i=function(){c.port2.postMessage(0)}}else i=`document`in r.r&&`onreadystatechange`in r.r.document.createElement(`script`)?function(){var e=r.r.document.createElement(`script`);e.onreadystatechange=function(){d(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},r.r.document.documentElement.appendChild(e)}:function(){setTimeout(d,0)};var l,u=[];function d(){l=!0;for(var e,t,n=u.length;n;){for(t=u,u=[],e=-1;++e<n;)t[e]();n=u.length}l=!1}t.exports=f;function f(e){u.push(e)===1&&!l&&i()}})),fr=r.a(((e,t)=>{var n=dr();function r(){}var i={},a=[`REJECTED`],o=[`FULFILLED`],s=[`PENDING`];t.exports=c;function c(e){if(typeof e!=`function`)throw TypeError(`resolver must be a function`);this.state=s,this.queue=[],this.outcome=void 0,e!==r&&f(this,e)}c.prototype.finally=function(e){if(typeof e!=`function`)return this;var t=this.constructor;return this.then(n,r);function n(n){function r(){return n}return t.resolve(e()).then(r)}function r(n){function r(){throw n}return t.resolve(e()).then(r)}},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if(typeof e!=`function`&&this.state===o||typeof t!=`function`&&this.state===a)return this;var n=new this.constructor(r);return this.state===s?this.queue.push(new l(n,e,t)):u(n,this.state===o?e:t,this.outcome),n};function l(e,t,n){this.promise=e,typeof t==`function`&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof n==`function`&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}l.prototype.callFulfilled=function(e){i.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){u(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){i.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){u(this.promise,this.onRejected,e)};function u(e,t,r){n(function(){var n;try{n=t(r)}catch(t){return i.reject(e,t)}n===e?i.reject(e,TypeError(`Cannot resolve promise with itself`)):i.resolve(e,n)})}i.resolve=function(e,t){var n=p(d,t);if(n.status===`error`)return i.reject(e,n.value);var r=n.value;if(r)f(e,r);else{e.state=o,e.outcome=t;for(var a=-1,s=e.queue.length;++a<s;)e.queue[a].callFulfilled(t)}return e},i.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e};function d(e){var t=e&&e.then;if(e&&(typeof e==`object`||typeof e==`function`)&&typeof t==`function`)return function(){t.apply(e,arguments)}}function f(e,t){var n=!1;function r(t){n||(n=!0,i.reject(e,t))}function a(t){n||(n=!0,i.resolve(e,t))}function o(){t(a,r)}var s=p(o);s.status===`error`&&r(s.value)}function p(e,t){var n={};try{n.value=e(t),n.status=`success`}catch(e){n.status=`error`,n.value=e}return n}c.resolve=m;function m(e){return e instanceof this?e:i.resolve(new this(r),e)}c.reject=h;function h(e){var t=new this(r);return i.reject(t,e)}c.all=g;function g(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(TypeError(`must be an array`));var n=e.length,a=!1;if(!n)return this.resolve([]);for(var o=Array(n),s=0,c=-1,l=new this(r);++c<n;)u(e[c],c);return l;function u(e,r){t.resolve(e).then(c,function(e){a||(a=!0,i.reject(l,e))});function c(e){o[r]=e,++s===n&&!a&&(a=!0,i.resolve(l,o))}}}c.race=_;function _(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(TypeError(`must be an array`));var n=e.length,a=!1;if(!n)return this.resolve([]);for(var o=-1,s=new this(r);++o<n;)c(e[o]);return s;function c(e){t.resolve(e).then(function(e){a||(a=!0,i.resolve(s,e))},function(e){a||(a=!0,i.reject(s,e))})}}})),pr=r.a(((e,t)=>{var n=null;n=typeof Promise<`u`?Promise:fr(),t.exports={Promise:n}})),mr=r.o((()=>{o.n(),r.i(),(function(e,t){"use strict";if(e.setImmediate)return;var n=1,r={},i=!1,a=e.document,s;function c(e){typeof e!=`function`&&(e=Function(``+e));for(var t=Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];return r[n]={callback:e,args:t},s(n),n++}function l(e){delete r[e]}function u(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r);break}}function d(e){if(i)setTimeout(d,0,e);else{var t=r[e];if(t){i=!0;try{u(t)}finally{l(e),i=!1}}}}function f(){s=function(e){o.t.nextTick(function(){d(e)})}}function p(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(``,`*`),e.onmessage=n,t}}function m(){var t=`setImmediate$`+Math.random()+`$`,n=function(n){n.source===e&&typeof n.data==`string`&&n.data.indexOf(t)===0&&d(+n.data.slice(t.length))};e.addEventListener?e.addEventListener(`message`,n,!1):e.attachEvent(`onmessage`,n),s=function(n){e.postMessage(t+n,`*`)}}function h(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;d(t)},s=function(t){e.port2.postMessage(t)}}function g(){var e=a.documentElement;s=function(t){var n=a.createElement(`script`);n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}function _(){s=function(e){setTimeout(d,0,e)}}var v=Object.getPrototypeOf&&Object.getPrototypeOf(e);v=v&&v.setTimeout?v:e,{}.toString.call(e.process)===`[object process]`?f():p()?m():e.MessageChannel?h():a&&`onreadystatechange`in a.createElement(`script`)?g():_(),v.setImmediate=c,v.clearImmediate=l})(typeof self>`u`?r.r===void 0?void 0:r.r:self)})),Z=r.a((e=>{var t=cr(),n=lr(),r=ur(),i=pr();mr();function a(e){var n=null;return n=t.uint8array?new Uint8Array(e.length):Array(e.length),s(e,n)}e.newBlob=function(t,n){e.checkSupport(`blob`);try{return new Blob([t],{type:n})}catch{try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(t),r.getBlob(n)}catch{throw Error(`Bug : can't construct the Blob.`)}}};function o(e){return e}function s(e,t){for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)&255;return t}var c={stringifyByChunk:function(e,t,n){var r=[],i=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;i<a;)t===`array`||t===`nodebuffer`?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,a)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,a)))),i+=n;return r.join(``)},stringifyByChar:function(e){for(var t=``,n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:(function(){try{return t.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return t.nodebuffer&&String.fromCharCode.apply(null,r.allocBuffer(1)).length===1}catch{return!1}})()}};function l(t){var n=65536,r=e.getTypeOf(t),i=!0;if(r===`uint8array`?i=c.applyCanBeUsed.uint8array:r===`nodebuffer`&&(i=c.applyCanBeUsed.nodebuffer),i)for(;n>1;)try{return c.stringifyByChunk(t,r,n)}catch{n=Math.floor(n/2)}return c.stringifyByChar(t)}e.applyFromCharCode=l;function u(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var d={};d.string={string:o,array:function(e){return s(e,Array(e.length))},arraybuffer:function(e){return d.string.uint8array(e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:function(e){return s(e,r.allocBuffer(e.length))}},d.array={string:l,array:o,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return r.newBufferFrom(e)}},d.arraybuffer={string:function(e){return l(new Uint8Array(e))},array:function(e){return u(new Uint8Array(e),Array(e.byteLength))},arraybuffer:o,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return r.newBufferFrom(new Uint8Array(e))}},d.uint8array={string:l,array:function(e){return u(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:o,nodebuffer:function(e){return r.newBufferFrom(e)}},d.nodebuffer={string:l,array:function(e){return u(e,Array(e.length))},arraybuffer:function(e){return d.nodebuffer.uint8array(e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:o},e.transformTo=function(t,n){return n||=``,t?(e.checkSupport(t),d[e.getTypeOf(n)][t](n)):n},e.resolve=function(e){for(var t=e.split(`/`),n=[],r=0;r<t.length;r++){var i=t[r];i===`.`||i===``&&r!==0&&r!==t.length-1||(i===`..`?n.pop():n.push(i))}return n.join(`/`)},e.getTypeOf=function(e){if(typeof e==`string`)return`string`;if(Object.prototype.toString.call(e)===`[object Array]`)return`array`;if(t.nodebuffer&&r.isBuffer(e))return`nodebuffer`;if(t.uint8array&&e instanceof Uint8Array)return`uint8array`;if(t.arraybuffer&&e instanceof ArrayBuffer)return`arraybuffer`},e.checkSupport=function(e){if(!t[e.toLowerCase()])throw Error(e+` is not supported by this platform`)},e.MAX_VALUE_16BITS=65535,e.MAX_VALUE_32BITS=-1,e.pretty=function(e){var t=``,n,r;for(r=0;r<(e||``).length;r++)n=e.charCodeAt(r),t+=`\\x`+(n<16?`0`:``)+n.toString(16).toUpperCase();return t},e.delay=function(e,t,n){setImmediate(function(){e.apply(n||null,t||[])})},e.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n},e.extend=function(){var e={},t,n;for(t=0;t<arguments.length;t++)for(n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&e[n]===void 0&&(e[n]=arguments[t][n]);return e},e.prepareContent=function(r,o,s,c,l){return i.Promise.resolve(o).then(function(e){return t.blob&&(e instanceof Blob||[`[object File]`,`[object Blob]`].indexOf(Object.prototype.toString.call(e))!==-1)&&typeof FileReader<`u`?new i.Promise(function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)}):e}).then(function(t){var o=e.getTypeOf(t);return o?(o===`arraybuffer`?t=e.transformTo(`uint8array`,t):o===`string`&&(l?t=n.decode(t):s&&c!==!0&&(t=a(t))),t):i.Promise.reject(Error(`Can't read the data of '`+r+`'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?`))})}})),hr=r.a(((e,t)=>{function n(e){this.name=e||`default`,this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit(`data`,e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(`end`),this.cleanUp(),this.isFinished=!0}catch(e){this.emit(`error`,e)}return!0},error:function(e){return this.isFinished?!1:(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit(`error`,e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error(`The stream '`+this+`' has already been used.`);this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on(`data`,function(e){t.processChunk(e)}),e.on(`end`,function(){t.end()}),e.on(`error`,function(e){t.error(e)}),this},pause:function(){return this.isPaused||this.isFinished?!1:(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw Error(`The stream '`+this+`' has already been used.`);this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e=`Worker `+this.name;return this.previous?this.previous+` -> `+e:e}},t.exports=n})),gr=r.a((e=>{for(var t=Z(),n=cr(),r=ur(),i=hr(),a=Array(256),o=0;o<256;o++)a[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;a[254]=a[254]=1;var s=function(e){var t,r,i,a,o,s=e.length,c=0;for(a=0;a<s;a++)r=e.charCodeAt(a),(r&64512)==55296&&a+1<s&&(i=e.charCodeAt(a+1),(i&64512)==56320&&(r=65536+(r-55296<<10)+(i-56320),a++)),c+=r<128?1:r<2048?2:r<65536?3:4;for(t=n.uint8array?new Uint8Array(c):Array(c),o=0,a=0;o<c;a++)r=e.charCodeAt(a),(r&64512)==55296&&a+1<s&&(i=e.charCodeAt(a+1),(i&64512)==56320&&(r=65536+(r-55296<<10)+(i-56320),a++)),r<128?t[o++]=r:r<2048?(t[o++]=192|r>>>6,t[o++]=128|r&63):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|r&63):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|r&63);return t},c=function(e,t){var n;for(t||=e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)==128;)n--;return n<0||n===0?t:n+a[e[n]]>t?n:t},l=function(e){var n,r,i,o,s=e.length,c=Array(s*2);for(r=0,n=0;n<s;){if(i=e[n++],i<128){c[r++]=i;continue}if(o=a[i],o>4){c[r++]=65533,n+=o-1;continue}for(i&=o===2?31:o===3?15:7;o>1&&n<s;)i=i<<6|e[n++]&63,o--;if(o>1){c[r++]=65533;continue}i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|i&1023)}return c.length!==r&&(c.subarray?c=c.subarray(0,r):c.length=r),t.applyFromCharCode(c)};e.utf8encode=function(e){return n.nodebuffer?r.newBufferFrom(e,`utf-8`):s(e)},e.utf8decode=function(e){return n.nodebuffer?t.transformTo(`nodebuffer`,e).toString(`utf-8`):(e=t.transformTo(n.uint8array?`uint8array`:`array`,e),l(e))};function u(){i.call(this,`utf-8 decode`),this.leftOver=null}t.inherits(u,i),u.prototype.processChunk=function(r){var i=t.transformTo(n.uint8array?`uint8array`:`array`,r.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var a=i;i=new Uint8Array(a.length+this.leftOver.length),i.set(this.leftOver,0),i.set(a,this.leftOver.length)}else i=this.leftOver.concat(i);this.leftOver=null}var o=c(i),s=i;o!==i.length&&(n.uint8array?(s=i.subarray(0,o),this.leftOver=i.subarray(o,i.length)):(s=i.slice(0,o),this.leftOver=i.slice(o,i.length))),this.push({data:e.utf8decode(s),meta:r.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=u;function d(){i.call(this,`utf-8 encode`)}t.inherits(d,i),d.prototype.processChunk=function(t){this.push({data:e.utf8encode(t.data),meta:t.meta})},e.Utf8EncodeWorker=d})),_r=r.a(((e,t)=>{var n=hr(),r=Z();function i(e){n.call(this,`ConvertWorker to `+e),this.destType=e}r.inherits(i,n),i.prototype.processChunk=function(e){this.push({data:r.transformTo(this.destType,e.data),meta:e.meta})},t.exports=i})),vr=r.a(((e,t)=>{var n=sr().Readable;Z().inherits(r,n);function r(e,t,r){n.call(this,t),this._helper=e;var i=this;e.on(`data`,function(e,t){i.push(e)||i._helper.pause(),r&&r(t)}).on(`error`,function(e){i.emit(`error`,e)}).on(`end`,function(){i.push(null)})}r.prototype._read=function(){this._helper.resume()},t.exports=r})),yr=r.a(((e,t)=>{r.n();var n=Z(),i=_r(),a=hr(),o=lr(),s=cr(),c=pr(),l=null;if(s.nodestream)try{l=vr()}catch{}function u(e,t,r){switch(e){case`blob`:return n.newBlob(n.transformTo(`arraybuffer`,t),r);case`base64`:return o.encode(t);default:return n.transformTo(e,t)}}function d(e,t){var n,i=0,a=null,o=0;for(n=0;n<t.length;n++)o+=t[n].length;switch(e){case`string`:return t.join(``);case`array`:return Array.prototype.concat.apply([],t);case`uint8array`:for(a=new Uint8Array(o),n=0;n<t.length;n++)a.set(t[n],i),i+=t[n].length;return a;case`nodebuffer`:return r.t.concat(t);default:throw Error(`concat : unsupported type '`+e+`'`)}}function f(e,t){return new c.Promise(function(n,r){var i=[],a=e._internalType,o=e._outputType,s=e._mimeType;e.on(`data`,function(e,n){i.push(e),t&&t(n)}).on(`error`,function(e){i=[],r(e)}).on(`end`,function(){try{n(u(o,d(a,i),s))}catch(e){r(e)}i=[]}).resume()})}function p(e,t,r){var o=t;switch(t){case`blob`:case`arraybuffer`:o=`uint8array`;break;case`base64`:o=`string`;break}try{this._internalType=o,this._outputType=t,this._mimeType=r,n.checkSupport(o),this._worker=e.pipe(new i(o)),e.lock()}catch(e){this._worker=new a(`error`),this._worker.error(e)}}p.prototype={accumulate:function(e){return f(this,e)},on:function(e,t){var r=this;return e===`data`?this._worker.on(e,function(e){t.call(r,e.data,e.meta)}):this._worker.on(e,function(){n.delay(t,arguments,r)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(n.checkSupport(`nodestream`),this._outputType!==`nodebuffer`)throw Error(this._outputType+` is not supported by this method`);return new l(this,{objectMode:this._outputType!==`nodebuffer`},e)}},t.exports=p})),br=r.a((e=>{e.base64=!1,e.binary=!1,e.dir=!1,e.createFolders=!0,e.date=null,e.compression=null,e.compressionOptions=null,e.comment=null,e.unixPermissions=null,e.dosPermissions=null})),xr=r.a(((e,t)=>{var n=Z(),r=hr(),i=16*1024;function a(e){r.call(this,`DataWorker`);var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=``,this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}n.inherits(a,r),a.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return r.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0):!1},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=i,t=null,n=Math.min(this.max,this.index+e);if(this.index>=this.max)return this.end();switch(this.type){case`string`:t=this.data.substring(this.index,n);break;case`uint8array`:t=this.data.subarray(this.index,n);break;case`array`:case`nodebuffer`:t=this.data.slice(this.index,n);break}return this.index=n,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a})),Sr=r.a(((e,t)=>{var n=Z();function r(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var i=r();function a(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[(e^t[s])&255];return e^-1}function o(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[(e^t.charCodeAt(s))&255];return e^-1}t.exports=function(e,t){return e===void 0||!e.length?0:n.getTypeOf(e)===`string`?o(t|0,e,e.length,0):a(t|0,e,e.length,0)}})),Cr=r.a(((e,t)=>{var n=hr(),r=Sr(),i=Z();function a(){n.call(this,`Crc32Probe`),this.withStreamInfo(`crc32`,0)}i.inherits(a,n),a.prototype.processChunk=function(e){this.streamInfo.crc32=r(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a})),wr=r.a(((e,t)=>{var n=Z(),r=hr();function i(e){r.call(this,`DataLengthProbe for `+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(i,r),i.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}r.prototype.processChunk.call(this,e)},t.exports=i})),Tr=r.a(((e,t)=>{var n=pr(),r=xr(),i=Cr(),a=wr();function o(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}o.prototype={getContentWorker:function(){var e=new r(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a(`data_length`)),t=this;return e.on(`end`,function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error(`Bug : uncompressed data size mismatch`)}),e},getCompressedWorker:function(){return new r(n.Promise.resolve(this.compressedContent)).withStreamInfo(`compressedSize`,this.compressedSize).withStreamInfo(`uncompressedSize`,this.uncompressedSize).withStreamInfo(`crc32`,this.crc32).withStreamInfo(`compression`,this.compression)}},o.createWorkerFrom=function(e,t,n){return e.pipe(new i).pipe(new a(`uncompressedSize`)).pipe(t.compressWorker(n)).pipe(new a(`compressedSize`)).withStreamInfo(`compression`,t)},t.exports=o})),Er=r.a(((e,t)=>{var n=yr(),r=xr(),i=gr(),a=Tr(),o=hr(),s=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};s.prototype={internalStream:function(e){var t=null,r=`string`;try{if(!e)throw Error(`No output type specified.`);r=e.toLowerCase();var a=r===`string`||r===`text`;(r===`binarystring`||r===`text`)&&(r=`string`),t=this._decompressWorker();var s=!this._dataBinary;s&&!a&&(t=t.pipe(new i.Utf8EncodeWorker)),!s&&a&&(t=t.pipe(new i.Utf8DecodeWorker))}catch(e){t=new o(`error`),t.error(e)}return new n(t,r,``)},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||`nodebuffer`).toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new i.Utf8EncodeWorker)),a.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof o?this._data:new r(this._data)}};for(var c=[`asText`,`asBinary`,`asNodeBuffer`,`asUint8Array`,`asArrayBuffer`],l=function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},u=0;u<c.length;u++)s.prototype[c[u]]=l;t.exports=s})),Dr=r.a((e=>{var t=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Int32Array<`u`;function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if(typeof r!=`object`)throw TypeError(r+`must be non-object`);for(var i in r)n(r,i)&&(e[i]=r[i])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+r),i);return}for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r=0,i,a,o;for(t=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},i={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,r)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)})),Or=r.a((e=>{var t=Dr(),n=4,r=0,i=1,a=2;function o(e){for(var t=e.length;--t>=0;)e[t]=0}var s=0,c=1,l=2,u=3,d=258,f=29,p=256,m=p+1+f,h=30,g=19,_=2*m+1,v=15,y=16,b=7,x=256,S=16,C=17,w=18,T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],E=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],D=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],O=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],k=512,A=Array((m+2)*2);o(A);var j=Array(h*2);o(j);var M=Array(k);o(M);var N=Array(d-u+1);o(N);var P=Array(f);o(P);var ee=Array(h);o(ee);function te(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}var ne,re,ie;function ae(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function oe(e){return e<256?M[e]:M[256+(e>>>7)]}function se(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function F(e,t,n){e.bi_valid>y-n?(e.bi_buf|=t<<e.bi_valid&65535,se(e,e.bi_buf),e.bi_buf=t>>y-e.bi_valid,e.bi_valid+=n-y):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function I(e,t,n){F(e,n[t*2],n[t*2+1])}function ce(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function le(e){e.bi_valid===16?(se(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function ue(e,t){var n=t.dyn_tree,r=t.max_code,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,c=t.stat_desc.max_length,l,u,d,f,p,m,h=0;for(f=0;f<=v;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;l<_;l++)u=e.heap[l],f=n[n[u*2+1]*2+1]+1,f>c&&(f=c,h++),n[u*2+1]=f,!(u>r)&&(e.bl_count[f]++,p=0,u>=s&&(p=o[u-s]),m=n[u*2],e.opt_len+=m*(f+p),a&&(e.static_len+=m*(i[u*2+1]+p)));if(h!==0){do{for(f=c-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[c]--,h-=2}while(h>0);for(f=c;f!==0;f--)for(u=e.bl_count[f];u!==0;)d=e.heap[--l],!(d>r)&&(n[d*2+1]!==f&&(e.opt_len+=(f-n[d*2+1])*n[d*2],n[d*2+1]=f),u--)}}function de(e,t,n){var r=Array(v+1),i=0,a,o;for(a=1;a<=v;a++)r[a]=i=i+n[a-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=ce(r[s]++,s))}}function L(){var e,t,n,r,i,a=Array(v+1);for(n=0,r=0;r<f-1;r++)for(P[r]=n,e=0;e<1<<T[r];e++)N[n++]=r;for(N[n-1]=r,i=0,r=0;r<16;r++)for(ee[r]=i,e=0;e<1<<E[r];e++)M[i++]=r;for(i>>=7;r<h;r++)for(ee[r]=i<<7,e=0;e<1<<E[r]-7;e++)M[256+ i++]=r;for(t=0;t<=v;t++)a[t]=0;for(e=0;e<=143;)A[e*2+1]=8,e++,a[8]++;for(;e<=255;)A[e*2+1]=9,e++,a[9]++;for(;e<=279;)A[e*2+1]=7,e++,a[7]++;for(;e<=287;)A[e*2+1]=8,e++,a[8]++;for(de(A,m+1,a),e=0;e<h;e++)j[e*2+1]=5,j[e*2]=ce(e,5);ne=new te(A,T,p+1,m,v),re=new te(j,E,0,h,v),ie=new te([],D,0,g,b)}function fe(e){var t;for(t=0;t<m;t++)e.dyn_ltree[t*2]=0;for(t=0;t<h;t++)e.dyn_dtree[t*2]=0;for(t=0;t<g;t++)e.bl_tree[t*2]=0;e.dyn_ltree[x*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function pe(e){e.bi_valid>8?se(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function R(e,n,r,i){pe(e),i&&(se(e,r),se(e,~r)),t.arraySet(e.pending_buf,e.window,n,r,e.pending),e.pending+=r}function z(e,t,n,r){var i=t*2,a=n*2;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function B(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&z(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!z(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function me(e,t,n){var r,i,a=0,o,s;if(e.last_lit!==0)do r=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],i=e.pending_buf[e.l_buf+a],a++,r===0?I(e,i,t):(o=N[i],I(e,o+p+1,t),s=T[o],s!==0&&(i-=P[o],F(e,i,s)),r--,o=oe(r),I(e,o,n),s=E[o],s!==0&&(r-=ee[o],F(e,r,s)));while(a<e.last_lit);I(e,x,t)}function he(e,t){var n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,o,s,c=-1,l;for(e.heap_len=0,e.heap_max=_,o=0;o<a;o++)n[o*2]===0?n[o*2+1]=0:(e.heap[++e.heap_len]=c=o,e.depth[o]=0);for(;e.heap_len<2;)l=e.heap[++e.heap_len]=c<2?++c:0,n[l*2]=1,e.depth[l]=0,e.opt_len--,i&&(e.static_len-=r[l*2+1]);for(t.max_code=c,o=e.heap_len>>1;o>=1;o--)B(e,n,o);l=a;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],B(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,n[l*2]=n[o*2]+n[s*2],e.depth[l]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,n[o*2+1]=n[s*2+1]=l,e.heap[1]=l++,B(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],ue(e,t),de(n,c,e.bl_count)}function V(e,t,n){var r,i=-1,a,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)a=o,o=t[(r+1)*2+1],!(++s<c&&a===o)&&(s<l?e.bl_tree[a*2]+=s:a===0?s<=10?e.bl_tree[C*2]++:e.bl_tree[w*2]++:(a!==i&&e.bl_tree[a*2]++,e.bl_tree[S*2]++),s=0,i=a,o===0?(c=138,l=3):a===o?(c=6,l=3):(c=7,l=4))}function ge(e,t,n){var r,i=-1,a,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),r=0;r<=n;r++)if(a=o,o=t[(r+1)*2+1],!(++s<c&&a===o)){if(s<l)do I(e,a,e.bl_tree);while(--s!==0);else a===0?s<=10?(I(e,C,e.bl_tree),F(e,s-3,3)):(I(e,w,e.bl_tree),F(e,s-11,7)):(a!==i&&(I(e,a,e.bl_tree),s--),I(e,S,e.bl_tree),F(e,s-3,2));s=0,i=a,o===0?(c=138,l=3):a===o?(c=6,l=3):(c=7,l=4)}}function H(e){var t;for(V(e,e.dyn_ltree,e.l_desc.max_code),V(e,e.dyn_dtree,e.d_desc.max_code),he(e,e.bl_desc),t=g-1;t>=3&&e.bl_tree[O[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function U(e,t,n,r){var i;for(F(e,t-257,5),F(e,n-1,5),F(e,r-4,4),i=0;i<r;i++)F(e,e.bl_tree[O[i]*2+1],3);ge(e,e.dyn_ltree,t-1),ge(e,e.dyn_dtree,n-1)}function W(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return r;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return i;for(n=32;n<p;n++)if(e.dyn_ltree[n*2]!==0)return i;return r}var G=!1;function K(e){G||=(L(),!0),e.l_desc=new ae(e.dyn_ltree,ne),e.d_desc=new ae(e.dyn_dtree,re),e.bl_desc=new ae(e.bl_tree,ie),e.bi_buf=0,e.bi_valid=0,fe(e)}function q(e,t,n,r){F(e,(s<<1)+ +!!r,3),R(e,t,n,!0)}function _e(e){F(e,c<<1,3),I(e,x,A),le(e)}function ve(e,t,r,i){var o,s,u=0;e.level>0?(e.strm.data_type===a&&(e.strm.data_type=W(e)),he(e,e.l_desc),he(e,e.d_desc),u=H(e),o=e.opt_len+3+7>>>3,s=e.static_len+3+7>>>3,s<=o&&(o=s)):o=s=r+5,r+4<=o&&t!==-1?q(e,t,r,i):e.strategy===n||s===o?(F(e,(c<<1)+ +!!i,3),me(e,A,j)):(F(e,(l<<1)+ +!!i,3),U(e,e.l_desc.max_code+1,e.d_desc.max_code+1,u+1),me(e,e.dyn_ltree,e.dyn_dtree)),fe(e),i&&pe(e)}function J(e,t,n){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(N[n]+p+1)*2]++,e.dyn_dtree[oe(t)*2]++),e.last_lit===e.lit_bufsize-1}e._tr_init=K,e._tr_stored_block=q,e._tr_flush_block=ve,e._tr_tally=J,e._tr_align=_e})),kr=r.a(((e,t)=>{function n(e,t,n,r){for(var i=e&65535|0,a=e>>>16&65535|0,o=0;n!==0;){o=n>2e3?2e3:n,n-=o;do i=i+t[r++]|0,a=a+i|0;while(--o);i%=65521,a%=65521}return i|a<<16|0}t.exports=n})),Ar=r.a(((e,t)=>{function n(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var r=n();function i(e,t,n,i){var a=r,o=i+n;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[(e^t[s])&255];return e^-1}t.exports=i})),jr=r.a(((e,t)=>{t.exports={2:`need dictionary`,1:`stream end`,0:``,"-1":`file error`,"-2":`stream error`,"-3":`data error`,"-4":`insufficient memory`,"-5":`buffer error`,"-6":`incompatible version`}})),Mr=r.a((e=>{var t=Dr(),n=Or(),r=kr(),i=Ar(),a=jr(),o=0,s=1,c=3,l=4,u=5,d=0,f=1,p=-2,m=-3,h=-5,g=-1,_=1,v=2,y=3,b=4,x=0,S=2,C=8,w=9,T=15,E=8,D=286,O=30,k=19,A=2*D+1,j=15,M=3,N=258,P=N+M+1,ee=32,te=42,ne=69,re=73,ie=91,ae=103,oe=113,se=666,F=1,I=2,ce=3,le=4,ue=3;function de(e,t){return e.msg=a[t],t}function L(e){return(e<<1)-(e>4?9:0)}function fe(e){for(var t=e.length;--t>=0;)e[t]=0}function pe(e){var n=e.state,r=n.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(t.arraySet(e.output,n.pending_buf,n.pending_out,r,e.next_out),e.next_out+=r,n.pending_out+=r,e.total_out+=r,e.avail_out-=r,n.pending-=r,n.pending===0&&(n.pending_out=0))}function R(e,t){n._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,pe(e.strm)}function z(e,t){e.pending_buf[e.pending++]=t}function B(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function me(e,n,a,o){var s=e.avail_in;return s>o&&(s=o),s===0?0:(e.avail_in-=s,t.arraySet(n,e.input,e.next_in,s,a),e.state.wrap===1?e.adler=r(e.adler,n,s,a):e.state.wrap===2&&(e.adler=i(e.adler,n,s,a)),e.next_in+=s,e.total_in+=s,s)}function he(e,t){var n=e.max_chain_length,r=e.strstart,i,a,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-P?e.strstart-(e.w_size-P):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+N,p=l[r+o-1],m=l[r+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do{if(i=t,l[i+o]!==m||l[i+o-1]!==p||l[i]!==l[r]||l[++i]!==l[r+1])continue;r+=2,i++;do;while(l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&r<f);if(a=N-(f-r),r=f-N,a>o){if(e.match_start=t,o=a,a>=s)break;p=l[r+o-1],m=l[r+o]}}while((t=d[t&u])>c&&--n!==0);return o<=e.lookahead?o:e.lookahead}function V(e){var n=e.w_size,r,i,a,o,s;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-P)){t.arraySet(e.window,e.window,n,n,0),e.match_start-=n,e.strstart-=n,e.block_start-=n,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=n?a-n:0;while(--i);i=n,r=i;do a=e.prev[--r],e.prev[r]=a>=n?a-n:0;while(--i);o+=n}if(e.strm.avail_in===0)break;if(i=me(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=i,e.lookahead+e.insert>=M)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+M-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<M)););}while(e.lookahead<P&&e.strm.avail_in!==0)}function ge(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(V(e),e.lookahead===0&&t===o)return F;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,R(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-P&&(R(e,!1),e.strm.avail_out===0))return F}return e.insert=0,t===l?(R(e,!0),e.strm.avail_out===0?ce:le):(e.strstart>e.block_start&&(R(e,!1),e.strm.avail_out),F)}function H(e,t){for(var r,i;;){if(e.lookahead<P){if(V(e),e.lookahead<P&&t===o)return F;if(e.lookahead===0)break}if(r=0,e.lookahead>=M&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+M-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),r!==0&&e.strstart-r<=e.w_size-P&&(e.match_length=he(e,r)),e.match_length>=M)if(i=n._tr_tally(e,e.strstart-e.match_start,e.match_length-M),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=M){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+M-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(R(e,!1),e.strm.avail_out===0))return F}return e.insert=e.strstart<M-1?e.strstart:M-1,t===l?(R(e,!0),e.strm.avail_out===0?ce:le):e.last_lit&&(R(e,!1),e.strm.avail_out===0)?F:I}function U(e,t){for(var r,i,a;;){if(e.lookahead<P){if(V(e),e.lookahead<P&&t===o)return F;if(e.lookahead===0)break}if(r=0,e.lookahead>=M&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+M-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=M-1,r!==0&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-P&&(e.match_length=he(e,r),e.match_length<=5&&(e.strategy===_||e.match_length===M&&e.strstart-e.match_start>4096)&&(e.match_length=M-1)),e.prev_length>=M&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-M,i=n._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-M),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+M-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=M-1,e.strstart++,i&&(R(e,!1),e.strm.avail_out===0))return F}else if(e.match_available){if(i=n._tr_tally(e,0,e.window[e.strstart-1]),i&&R(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return F}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&=(i=n._tr_tally(e,0,e.window[e.strstart-1]),0),e.insert=e.strstart<M-1?e.strstart:M-1,t===l?(R(e,!0),e.strm.avail_out===0?ce:le):e.last_lit&&(R(e,!1),e.strm.avail_out===0)?F:I}function W(e,t){for(var r,i,a,s,c=e.window;;){if(e.lookahead<=N){if(V(e),e.lookahead<=N&&t===o)return F;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=M&&e.strstart>0&&(a=e.strstart-1,i=c[a],i===c[++a]&&i===c[++a]&&i===c[++a])){s=e.strstart+N;do;while(i===c[++a]&&i===c[++a]&&i===c[++a]&&i===c[++a]&&i===c[++a]&&i===c[++a]&&i===c[++a]&&i===c[++a]&&a<s);e.match_length=N-(s-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=M?(r=n._tr_tally(e,1,e.match_length-M),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(R(e,!1),e.strm.avail_out===0))return F}return e.insert=0,t===l?(R(e,!0),e.strm.avail_out===0?ce:le):e.last_lit&&(R(e,!1),e.strm.avail_out===0)?F:I}function G(e,t){for(var r;;){if(e.lookahead===0&&(V(e),e.lookahead===0)){if(t===o)return F;break}if(e.match_length=0,r=n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(R(e,!1),e.strm.avail_out===0))return F}return e.insert=0,t===l?(R(e,!0),e.strm.avail_out===0?ce:le):e.last_lit&&(R(e,!1),e.strm.avail_out===0)?F:I}function K(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var q=[new K(0,0,0,0,ge),new K(4,4,8,4,H),new K(4,5,16,8,H),new K(4,6,32,32,H),new K(4,4,16,16,U),new K(8,16,32,32,U),new K(8,16,128,128,U),new K(8,32,128,256,U),new K(32,128,258,1024,U),new K(32,258,258,4096,U)];function _e(e){e.window_size=2*e.w_size,fe(e.head),e.max_lazy_match=q[e.level].max_lazy,e.good_match=q[e.level].good_length,e.nice_match=q[e.level].nice_length,e.max_chain_length=q[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=M-1,e.match_available=0,e.ins_h=0}function ve(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=C,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new t.Buf16(A*2),this.dyn_dtree=new t.Buf16((2*O+1)*2),this.bl_tree=new t.Buf16((2*k+1)*2),fe(this.dyn_ltree),fe(this.dyn_dtree),fe(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new t.Buf16(j+1),this.heap=new t.Buf16(2*D+1),fe(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new t.Buf16(2*D+1),fe(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function J(e){var t;return!e||!e.state?de(e,p):(e.total_in=e.total_out=0,e.data_type=S,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?te:oe,e.adler=t.wrap===2?0:1,t.last_flush=o,n._tr_init(t),d)}function ye(e){var t=J(e);return t===d&&_e(e.state),t}function be(e,t){return!e||!e.state||e.state.wrap!==2?p:(e.state.gzhead=t,d)}function Y(e,n,r,i,a,o){if(!e)return p;var s=1;if(n===g&&(n=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),a<1||a>w||r!==C||i<8||i>15||n<0||n>9||o<0||o>b)return de(e,p);i===8&&(i=9);var c=new ve;return e.state=c,c.strm=e,c.wrap=s,c.gzhead=null,c.w_bits=i,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+M-1)/M),c.window=new t.Buf8(c.w_size*2),c.head=new t.Buf16(c.hash_size),c.prev=new t.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=c.lit_bufsize*4,c.pending_buf=new t.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=n,c.strategy=o,c.method=r,ye(e)}function X(e,t){return Y(e,t,C,T,E,x)}function xe(e,t){var r,a,m,g;if(!e||!e.state||t>u||t<0)return e?de(e,p):p;if(a=e.state,!e.output||!e.input&&e.avail_in!==0||a.status===se&&t!==l)return de(e,e.avail_out===0?h:p);if(a.strm=e,r=a.last_flush,a.last_flush=t,a.status===te)if(a.wrap===2)e.adler=0,z(a,31),z(a,139),z(a,8),a.gzhead?(z(a,+!!a.gzhead.text+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),z(a,a.gzhead.time&255),z(a,a.gzhead.time>>8&255),z(a,a.gzhead.time>>16&255),z(a,a.gzhead.time>>24&255),z(a,a.level===9?2:a.strategy>=v||a.level<2?4:0),z(a,a.gzhead.os&255),a.gzhead.extra&&a.gzhead.extra.length&&(z(a,a.gzhead.extra.length&255),z(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=i(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=ne):(z(a,0),z(a,0),z(a,0),z(a,0),z(a,0),z(a,a.level===9?2:a.strategy>=v||a.level<2?4:0),z(a,ue),a.status=oe);else{var _=C+(a.w_bits-8<<4)<<8,b=-1;b=a.strategy>=v||a.level<2?0:a.level<6?1:a.level===6?2:3,_|=b<<6,a.strstart!==0&&(_|=ee),_+=31-_%31,a.status=oe,B(a,_),a.strstart!==0&&(B(a,e.adler>>>16),B(a,e.adler&65535)),e.adler=1}if(a.status===ne)if(a.gzhead.extra){for(m=a.pending;a.gzindex<(a.gzhead.extra.length&65535)&&!(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),pe(e),m=a.pending,a.pending===a.pending_buf_size));)z(a,a.gzhead.extra[a.gzindex]&255),a.gzindex++;a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=re)}else a.status=re;if(a.status===re)if(a.gzhead.name){m=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),pe(e),m=a.pending,a.pending===a.pending_buf_size)){g=1;break}g=a.gzindex<a.gzhead.name.length?a.gzhead.name.charCodeAt(a.gzindex++)&255:0,z(a,g)}while(g!==0);a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),g===0&&(a.gzindex=0,a.status=ie)}else a.status=ie;if(a.status===ie)if(a.gzhead.comment){m=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),pe(e),m=a.pending,a.pending===a.pending_buf_size)){g=1;break}g=a.gzindex<a.gzhead.comment.length?a.gzhead.comment.charCodeAt(a.gzindex++)&255:0,z(a,g)}while(g!==0);a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),g===0&&(a.status=ae)}else a.status=ae;if(a.status===ae&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&pe(e),a.pending+2<=a.pending_buf_size&&(z(a,e.adler&255),z(a,e.adler>>8&255),e.adler=0,a.status=oe)):a.status=oe),a.pending!==0){if(pe(e),e.avail_out===0)return a.last_flush=-1,d}else if(e.avail_in===0&&L(t)<=L(r)&&t!==l)return de(e,h);if(a.status===se&&e.avail_in!==0)return de(e,h);if(e.avail_in!==0||a.lookahead!==0||t!==o&&a.status!==se){var x=a.strategy===v?G(a,t):a.strategy===y?W(a,t):q[a.level].func(a,t);if((x===ce||x===le)&&(a.status=se),x===F||x===ce)return e.avail_out===0&&(a.last_flush=-1),d;if(x===I&&(t===s?n._tr_align(a):t!==u&&(n._tr_stored_block(a,0,0,!1),t===c&&(fe(a.head),a.lookahead===0&&(a.strstart=0,a.block_start=0,a.insert=0))),pe(e),e.avail_out===0))return a.last_flush=-1,d}return t===l?a.wrap<=0?f:(a.wrap===2?(z(a,e.adler&255),z(a,e.adler>>8&255),z(a,e.adler>>16&255),z(a,e.adler>>24&255),z(a,e.total_in&255),z(a,e.total_in>>8&255),z(a,e.total_in>>16&255),z(a,e.total_in>>24&255)):(B(a,e.adler>>>16),B(a,e.adler&65535)),pe(e),a.wrap>0&&(a.wrap=-a.wrap),a.pending===0?f:d):d}function Se(e){var t;return!e||!e.state?p:(t=e.state.status,t!==te&&t!==ne&&t!==re&&t!==ie&&t!==ae&&t!==oe&&t!==se?de(e,p):(e.state=null,t===oe?de(e,m):d))}function Ce(e,n){var i=n.length,a,o,s,c,l,u,f,m;if(!e||!e.state||(a=e.state,c=a.wrap,c===2||c===1&&a.status!==te||a.lookahead))return p;for(c===1&&(e.adler=r(e.adler,n,i,0)),a.wrap=0,i>=a.w_size&&(c===0&&(fe(a.head),a.strstart=0,a.block_start=0,a.insert=0),m=new t.Buf8(a.w_size),t.arraySet(m,n,i-a.w_size,a.w_size,0),n=m,i=a.w_size),l=e.avail_in,u=e.next_in,f=e.input,e.avail_in=i,e.next_in=0,e.input=n,V(a);a.lookahead>=M;){o=a.strstart,s=a.lookahead-(M-1);do a.ins_h=(a.ins_h<<a.hash_shift^a.window[o+M-1])&a.hash_mask,a.prev[o&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=o,o++;while(--s);a.strstart=o,a.lookahead=M-1,V(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=M-1,a.match_available=0,e.next_in=u,e.input=f,e.avail_in=l,a.wrap=c,d}e.deflateInit=X,e.deflateInit2=Y,e.deflateReset=ye,e.deflateResetKeep=J,e.deflateSetHeader=be,e.deflate=xe,e.deflateEnd=Se,e.deflateSetDictionary=Ce,e.deflateInfo=`pako deflate (from Nodeca project)`})),Nr=r.a((e=>{var t=Dr(),n=!0,r=!0;try{String.fromCharCode.apply(null,[0])}catch{n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{r=!1}for(var i=new t.Buf8(256),a=0;a<256;a++)i[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;i[254]=i[254]=1,e.string2buf=function(e){var n,r,i,a,o,s=e.length,c=0;for(a=0;a<s;a++)r=e.charCodeAt(a),(r&64512)==55296&&a+1<s&&(i=e.charCodeAt(a+1),(i&64512)==56320&&(r=65536+(r-55296<<10)+(i-56320),a++)),c+=r<128?1:r<2048?2:r<65536?3:4;for(n=new t.Buf8(c),o=0,a=0;o<c;a++)r=e.charCodeAt(a),(r&64512)==55296&&a+1<s&&(i=e.charCodeAt(a+1),(i&64512)==56320&&(r=65536+(r-55296<<10)+(i-56320),a++)),r<128?n[o++]=r:r<2048?(n[o++]=192|r>>>6,n[o++]=128|r&63):r<65536?(n[o++]=224|r>>>12,n[o++]=128|r>>>6&63,n[o++]=128|r&63):(n[o++]=240|r>>>18,n[o++]=128|r>>>12&63,n[o++]=128|r>>>6&63,n[o++]=128|r&63);return n};function o(e,i){if(i<65534&&(e.subarray&&r||!e.subarray&&n))return String.fromCharCode.apply(null,t.shrinkBuf(e,i));for(var a=``,o=0;o<i;o++)a+=String.fromCharCode(e[o]);return a}e.buf2binstring=function(e){return o(e,e.length)},e.binstring2buf=function(e){for(var n=new t.Buf8(e.length),r=0,i=n.length;r<i;r++)n[r]=e.charCodeAt(r);return n},e.buf2string=function(e,t){var n,r,a,s,c=t||e.length,l=Array(c*2);for(r=0,n=0;n<c;){if(a=e[n++],a<128){l[r++]=a;continue}if(s=i[a],s>4){l[r++]=65533,n+=s-1;continue}for(a&=s===2?31:s===3?15:7;s>1&&n<c;)a=a<<6|e[n++]&63,s--;if(s>1){l[r++]=65533;continue}a<65536?l[r++]=a:(a-=65536,l[r++]=55296|a>>10&1023,l[r++]=56320|a&1023)}return o(l,r)},e.utf8border=function(e,t){var n;for(t||=e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)==128;)n--;return n<0||n===0?t:n+i[e[n]]>t?n:t}})),Pr=r.a(((e,t)=>{function n(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=``,this.state=null,this.data_type=2,this.adler=0}t.exports=n})),Fr=r.a((e=>{var t=Mr(),n=Dr(),r=Nr(),i=jr(),a=Pr(),o=Object.prototype.toString,s=0,c=4,l=0,u=1,d=2,f=-1,p=0,m=8;function h(e){if(!(this instanceof h))return new h(e);this.options=n.assign({level:f,method:m,chunkSize:16384,windowBits:15,memLevel:8,strategy:p,to:``},e||{});var s=this.options;s.raw&&s.windowBits>0?s.windowBits=-s.windowBits:s.gzip&&s.windowBits>0&&s.windowBits<16&&(s.windowBits+=16),this.err=0,this.msg=``,this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var c=t.deflateInit2(this.strm,s.level,s.method,s.windowBits,s.memLevel,s.strategy);if(c!==l)throw Error(i[c]);if(s.header&&t.deflateSetHeader(this.strm,s.header),s.dictionary){var u=typeof s.dictionary==`string`?r.string2buf(s.dictionary):o.call(s.dictionary)===`[object ArrayBuffer]`?new Uint8Array(s.dictionary):s.dictionary;if(c=t.deflateSetDictionary(this.strm,u),c!==l)throw Error(i[c]);this._dict_set=!0}}h.prototype.push=function(e,i){var a=this.strm,f=this.options.chunkSize,p,m;if(this.ended)return!1;m=i===~~i?i:i===!0?c:s,typeof e==`string`?a.input=r.string2buf(e):o.call(e)===`[object ArrayBuffer]`?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(a.avail_out===0&&(a.output=new n.Buf8(f),a.next_out=0,a.avail_out=f),p=t.deflate(a,m),p!==u&&p!==l)return this.onEnd(p),this.ended=!0,!1;(a.avail_out===0||a.avail_in===0&&(m===c||m===d))&&(this.options.to===`string`?this.onData(r.buf2binstring(n.shrinkBuf(a.output,a.next_out))):this.onData(n.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||a.avail_out===0)&&p!==u);return m===c?(p=t.deflateEnd(this.strm),this.onEnd(p),this.ended=!0,p===l):m===d?(this.onEnd(l),a.avail_out=0,!0):!0},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===l&&(this.options.to===`string`?this.result=this.chunks.join(``):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function g(e,t){var n=new h(t);if(n.push(e,!0),n.err)throw n.msg||i[n.err];return n.result}function _(e,t){return t||={},t.raw=!0,g(e,t)}function v(e,t){return t||={},t.gzip=!0,g(e,t)}e.Deflate=h,e.deflate=g,e.deflateRaw=_,e.gzip=v})),Ir=r.a(((e,t)=>{var n=30,r=12;t.exports=function(e,t){var i=e.state,a=e.next_in,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D=e.input,O;o=a+(e.avail_in-5),s=e.next_out,O=e.output,c=s-(t-e.avail_out),l=s+(e.avail_out-257),u=i.dmax,d=i.wsize,f=i.whave,p=i.wnext,m=i.window,h=i.hold,g=i.bits,_=i.lencode,v=i.distcode,y=(1<<i.lenbits)-1,b=(1<<i.distbits)-1;top:do{g<15&&(h+=D[a++]<<g,g+=8,h+=D[a++]<<g,g+=8),x=_[h&y];dolen:for(;;){if(S=x>>>24,h>>>=S,g-=S,S=x>>>16&255,S===0)O[s++]=x&65535;else if(S&16){C=x&65535,S&=15,S&&(g<S&&(h+=D[a++]<<g,g+=8),C+=h&(1<<S)-1,h>>>=S,g-=S),g<15&&(h+=D[a++]<<g,g+=8,h+=D[a++]<<g,g+=8),x=v[h&b];dodist:for(;;){if(S=x>>>24,h>>>=S,g-=S,S=x>>>16&255,S&16){if(w=x&65535,S&=15,g<S&&(h+=D[a++]<<g,g+=8,g<S&&(h+=D[a++]<<g,g+=8)),w+=h&(1<<S)-1,w>u){e.msg=`invalid distance too far back`,i.mode=n;break top}if(h>>>=S,g-=S,S=s-c,w>S){if(S=w-S,S>f&&i.sane){e.msg=`invalid distance too far back`,i.mode=n;break top}if(T=0,E=m,p===0){if(T+=d-S,S<C){C-=S;do O[s++]=m[T++];while(--S);T=s-w,E=O}}else if(p<S){if(T+=d+p-S,S-=p,S<C){C-=S;do O[s++]=m[T++];while(--S);if(T=0,p<C){S=p,C-=S;do O[s++]=m[T++];while(--S);T=s-w,E=O}}}else if(T+=p-S,S<C){C-=S;do O[s++]=m[T++];while(--S);T=s-w,E=O}for(;C>2;)O[s++]=E[T++],O[s++]=E[T++],O[s++]=E[T++],C-=3;C&&(O[s++]=E[T++],C>1&&(O[s++]=E[T++]))}else{T=s-w;do O[s++]=O[T++],O[s++]=O[T++],O[s++]=O[T++],C-=3;while(C>2);C&&(O[s++]=O[T++],C>1&&(O[s++]=O[T++]))}}else if(S&64){e.msg=`invalid distance code`,i.mode=n;break top}else{x=v[(x&65535)+(h&(1<<S)-1)];continue dodist}break}}else if(!(S&64)){x=_[(x&65535)+(h&(1<<S)-1)];continue dolen}else if(S&32){i.mode=r;break top}else{e.msg=`invalid literal/length code`,i.mode=n;break top}break}}while(a<o&&s<l);C=g>>3,a-=C,g-=C<<3,h&=(1<<g)-1,e.next_in=a,e.next_out=s,e.avail_in=a<o?5+(o-a):5-(a-o),e.avail_out=s<l?257+(l-s):257-(s-l),i.hold=h,i.bits=g}})),Lr=r.a(((e,t)=>{var n=Dr(),r=15,i=852,a=592,o=0,s=1,c=2,l=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],u=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],d=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],f=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,p,m,h,g,_,v){var y=v.bits,b=0,x=0,S=0,C=0,w=0,T=0,E=0,D=0,O=0,k=0,A,j,M,N,P,ee=null,te=0,ne,re=new n.Buf16(r+1),ie=new n.Buf16(r+1),ae=null,oe=0,se,F,I;for(b=0;b<=r;b++)re[b]=0;for(x=0;x<m;x++)re[t[p+x]]++;for(w=y,C=r;C>=1&&re[C]===0;C--);if(w>C&&(w=C),C===0)return h[g++]=20971520,h[g++]=20971520,v.bits=1,0;for(S=1;S<C&&re[S]===0;S++);for(w<S&&(w=S),D=1,b=1;b<=r;b++)if(D<<=1,D-=re[b],D<0)return-1;if(D>0&&(e===o||C!==1))return-1;for(ie[1]=0,b=1;b<r;b++)ie[b+1]=ie[b]+re[b];for(x=0;x<m;x++)t[p+x]!==0&&(_[ie[t[p+x]]++]=x);if(e===o?(ee=ae=_,ne=19):e===s?(ee=l,te-=257,ae=u,oe-=257,ne=256):(ee=d,ae=f,ne=-1),k=0,x=0,b=S,P=g,T=w,E=0,M=-1,O=1<<w,N=O-1,e===s&&O>i||e===c&&O>a)return 1;for(;;){se=b-E,_[x]<ne?(F=0,I=_[x]):_[x]>ne?(F=ae[oe+_[x]],I=ee[te+_[x]]):(F=96,I=0),A=1<<b-E,j=1<<T,S=j;do j-=A,h[P+(k>>E)+j]=se<<24|F<<16|I|0;while(j!==0);for(A=1<<b-1;k&A;)A>>=1;if(A===0?k=0:(k&=A-1,k+=A),x++,--re[b]===0){if(b===C)break;b=t[p+_[x]]}if(b>w&&(k&N)!==M){for(E===0&&(E=w),P+=S,T=b-E,D=1<<T;T+E<C&&(D-=re[T+E],!(D<=0));)T++,D<<=1;if(O+=1<<T,e===s&&O>i||e===c&&O>a)return 1;M=k&N,h[M]=w<<24|T<<16|P-g|0}}return k!==0&&(h[P+k]=b-E<<24|4194304),v.bits=w,0}})),Rr=r.a((e=>{var t=Dr(),n=kr(),r=Ar(),i=Ir(),a=Lr(),o=0,s=1,c=2,l=4,u=5,d=6,f=0,p=1,m=2,h=-2,g=-3,_=-4,v=-5,y=8,b=1,x=2,S=3,C=4,w=5,T=6,E=7,D=8,O=9,k=10,A=11,j=12,M=13,N=14,P=15,ee=16,te=17,ne=18,re=19,ie=20,ae=21,oe=22,se=23,F=24,I=25,ce=26,le=27,ue=28,de=29,L=30,fe=31,pe=32,R=852,z=592,B=15;function me(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function he(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new t.Buf16(320),this.work=new t.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function V(e){var n;return!e||!e.state?h:(n=e.state,e.total_in=e.total_out=n.total=0,e.msg=``,n.wrap&&(e.adler=n.wrap&1),n.mode=b,n.last=0,n.havedict=0,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new t.Buf32(R),n.distcode=n.distdyn=new t.Buf32(z),n.sane=1,n.back=-1,f)}function ge(e){var t;return!e||!e.state?h:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,V(e))}function H(e,t){var n,r;return!e||!e.state||(r=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?h:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,ge(e))}function U(e,t){var n,r;return e?(r=new he,e.state=r,r.window=null,n=H(e,t),n!==f&&(e.state=null),n):h}function W(e){return U(e,B)}var G=!0,K,q;function _e(e){if(G){var n;for(K=new t.Buf32(512),q=new t.Buf32(32),n=0;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(a(s,e.lens,0,288,K,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;a(c,e.lens,0,32,q,0,e.work,{bits:5}),G=!1}e.lencode=K,e.lenbits=9,e.distcode=q,e.distbits=5}function ve(e,n,r,i){var a,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new t.Buf8(o.wsize)),i>=o.wsize?(t.arraySet(o.window,n,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>i&&(a=i),t.arraySet(o.window,n,r-i,a,o.wnext),i-=a,i?(t.arraySet(o.window,n,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}function J(e,R){var z,B,he,V,ge,H,U,W,G,K,q,J,ye,be,Y=0,X,xe,Se,Ce,we,Te,Ee,De,Oe=new t.Buf8(4),ke,Ae,je=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return h;z=e.state,z.mode===j&&(z.mode=M),ge=e.next_out,he=e.output,U=e.avail_out,V=e.next_in,B=e.input,H=e.avail_in,W=z.hold,G=z.bits,K=H,q=U,De=f;inf_leave:for(;;)switch(z.mode){case b:if(z.wrap===0){z.mode=M;break}for(;G<16;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}if(z.wrap&2&&W===35615){z.check=0,Oe[0]=W&255,Oe[1]=W>>>8&255,z.check=r(z.check,Oe,2,0),W=0,G=0,z.mode=x;break}if(z.flags=0,z.head&&(z.head.done=!1),!(z.wrap&1)||(((W&255)<<8)+(W>>8))%31){e.msg=`incorrect header check`,z.mode=L;break}if((W&15)!==y){e.msg=`unknown compression method`,z.mode=L;break}if(W>>>=4,G-=4,Ee=(W&15)+8,z.wbits===0)z.wbits=Ee;else if(Ee>z.wbits){e.msg=`invalid window size`,z.mode=L;break}z.dmax=1<<Ee,e.adler=z.check=1,z.mode=W&512?k:j,W=0,G=0;break;case x:for(;G<16;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}if(z.flags=W,(z.flags&255)!==y){e.msg=`unknown compression method`,z.mode=L;break}if(z.flags&57344){e.msg=`unknown header flags set`,z.mode=L;break}z.head&&(z.head.text=W>>8&1),z.flags&512&&(Oe[0]=W&255,Oe[1]=W>>>8&255,z.check=r(z.check,Oe,2,0)),W=0,G=0,z.mode=S;case S:for(;G<32;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}z.head&&(z.head.time=W),z.flags&512&&(Oe[0]=W&255,Oe[1]=W>>>8&255,Oe[2]=W>>>16&255,Oe[3]=W>>>24&255,z.check=r(z.check,Oe,4,0)),W=0,G=0,z.mode=C;case C:for(;G<16;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}z.head&&(z.head.xflags=W&255,z.head.os=W>>8),z.flags&512&&(Oe[0]=W&255,Oe[1]=W>>>8&255,z.check=r(z.check,Oe,2,0)),W=0,G=0,z.mode=w;case w:if(z.flags&1024){for(;G<16;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}z.length=W,z.head&&(z.head.extra_len=W),z.flags&512&&(Oe[0]=W&255,Oe[1]=W>>>8&255,z.check=r(z.check,Oe,2,0)),W=0,G=0}else z.head&&(z.head.extra=null);z.mode=T;case T:if(z.flags&1024&&(J=z.length,J>H&&(J=H),J&&(z.head&&(Ee=z.head.extra_len-z.length,z.head.extra||(z.head.extra=Array(z.head.extra_len)),t.arraySet(z.head.extra,B,V,J,Ee)),z.flags&512&&(z.check=r(z.check,B,J,V)),H-=J,V+=J,z.length-=J),z.length))break inf_leave;z.length=0,z.mode=E;case E:if(z.flags&2048){if(H===0)break inf_leave;J=0;do Ee=B[V+ J++],z.head&&Ee&&z.length<65536&&(z.head.name+=String.fromCharCode(Ee));while(Ee&&J<H);if(z.flags&512&&(z.check=r(z.check,B,J,V)),H-=J,V+=J,Ee)break inf_leave}else z.head&&(z.head.name=null);z.length=0,z.mode=D;case D:if(z.flags&4096){if(H===0)break inf_leave;J=0;do Ee=B[V+ J++],z.head&&Ee&&z.length<65536&&(z.head.comment+=String.fromCharCode(Ee));while(Ee&&J<H);if(z.flags&512&&(z.check=r(z.check,B,J,V)),H-=J,V+=J,Ee)break inf_leave}else z.head&&(z.head.comment=null);z.mode=O;case O:if(z.flags&512){for(;G<16;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}if(W!==(z.check&65535)){e.msg=`header crc mismatch`,z.mode=L;break}W=0,G=0}z.head&&(z.head.hcrc=z.flags>>9&1,z.head.done=!0),e.adler=z.check=0,z.mode=j;break;case k:for(;G<32;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}e.adler=z.check=me(W),W=0,G=0,z.mode=A;case A:if(z.havedict===0)return e.next_out=ge,e.avail_out=U,e.next_in=V,e.avail_in=H,z.hold=W,z.bits=G,m;e.adler=z.check=1,z.mode=j;case j:if(R===u||R===d)break inf_leave;case M:if(z.last){W>>>=G&7,G-=G&7,z.mode=le;break}for(;G<3;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}switch(z.last=W&1,W>>>=1,--G,W&3){case 0:z.mode=N;break;case 1:if(_e(z),z.mode=ie,R===d){W>>>=2,G-=2;break inf_leave}break;case 2:z.mode=te;break;case 3:e.msg=`invalid block type`,z.mode=L}W>>>=2,G-=2;break;case N:for(W>>>=G&7,G-=G&7;G<32;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}if((W&65535)!=(W>>>16^65535)){e.msg=`invalid stored block lengths`,z.mode=L;break}if(z.length=W&65535,W=0,G=0,z.mode=P,R===d)break inf_leave;case P:z.mode=ee;case ee:if(J=z.length,J){if(J>H&&(J=H),J>U&&(J=U),J===0)break inf_leave;t.arraySet(he,B,V,J,ge),H-=J,V+=J,U-=J,ge+=J,z.length-=J;break}z.mode=j;break;case te:for(;G<14;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}if(z.nlen=(W&31)+257,W>>>=5,G-=5,z.ndist=(W&31)+1,W>>>=5,G-=5,z.ncode=(W&15)+4,W>>>=4,G-=4,z.nlen>286||z.ndist>30){e.msg=`too many length or distance symbols`,z.mode=L;break}z.have=0,z.mode=ne;case ne:for(;z.have<z.ncode;){for(;G<3;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}z.lens[je[z.have++]]=W&7,W>>>=3,G-=3}for(;z.have<19;)z.lens[je[z.have++]]=0;if(z.lencode=z.lendyn,z.lenbits=7,ke={bits:z.lenbits},De=a(o,z.lens,0,19,z.lencode,0,z.work,ke),z.lenbits=ke.bits,De){e.msg=`invalid code lengths set`,z.mode=L;break}z.have=0,z.mode=re;case re:for(;z.have<z.nlen+z.ndist;){for(;Y=z.lencode[W&(1<<z.lenbits)-1],X=Y>>>24,xe=Y>>>16&255,Se=Y&65535,!(X<=G);){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}if(Se<16)W>>>=X,G-=X,z.lens[z.have++]=Se;else{if(Se===16){for(Ae=X+2;G<Ae;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}if(W>>>=X,G-=X,z.have===0){e.msg=`invalid bit length repeat`,z.mode=L;break}Ee=z.lens[z.have-1],J=3+(W&3),W>>>=2,G-=2}else if(Se===17){for(Ae=X+3;G<Ae;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}W>>>=X,G-=X,Ee=0,J=3+(W&7),W>>>=3,G-=3}else{for(Ae=X+7;G<Ae;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}W>>>=X,G-=X,Ee=0,J=11+(W&127),W>>>=7,G-=7}if(z.have+J>z.nlen+z.ndist){e.msg=`invalid bit length repeat`,z.mode=L;break}for(;J--;)z.lens[z.have++]=Ee}}if(z.mode===L)break;if(z.lens[256]===0){e.msg=`invalid code -- missing end-of-block`,z.mode=L;break}if(z.lenbits=9,ke={bits:z.lenbits},De=a(s,z.lens,0,z.nlen,z.lencode,0,z.work,ke),z.lenbits=ke.bits,De){e.msg=`invalid literal/lengths set`,z.mode=L;break}if(z.distbits=6,z.distcode=z.distdyn,ke={bits:z.distbits},De=a(c,z.lens,z.nlen,z.ndist,z.distcode,0,z.work,ke),z.distbits=ke.bits,De){e.msg=`invalid distances set`,z.mode=L;break}if(z.mode=ie,R===d)break inf_leave;case ie:z.mode=ae;case ae:if(H>=6&&U>=258){e.next_out=ge,e.avail_out=U,e.next_in=V,e.avail_in=H,z.hold=W,z.bits=G,i(e,q),ge=e.next_out,he=e.output,U=e.avail_out,V=e.next_in,B=e.input,H=e.avail_in,W=z.hold,G=z.bits,z.mode===j&&(z.back=-1);break}for(z.back=0;Y=z.lencode[W&(1<<z.lenbits)-1],X=Y>>>24,xe=Y>>>16&255,Se=Y&65535,!(X<=G);){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}if(xe&&!(xe&240)){for(Ce=X,we=xe,Te=Se;Y=z.lencode[Te+((W&(1<<Ce+we)-1)>>Ce)],X=Y>>>24,xe=Y>>>16&255,Se=Y&65535,!(Ce+X<=G);){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}W>>>=Ce,G-=Ce,z.back+=Ce}if(W>>>=X,G-=X,z.back+=X,z.length=Se,xe===0){z.mode=ce;break}if(xe&32){z.back=-1,z.mode=j;break}if(xe&64){e.msg=`invalid literal/length code`,z.mode=L;break}z.extra=xe&15,z.mode=oe;case oe:if(z.extra){for(Ae=z.extra;G<Ae;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}z.length+=W&(1<<z.extra)-1,W>>>=z.extra,G-=z.extra,z.back+=z.extra}z.was=z.length,z.mode=se;case se:for(;Y=z.distcode[W&(1<<z.distbits)-1],X=Y>>>24,xe=Y>>>16&255,Se=Y&65535,!(X<=G);){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}if(!(xe&240)){for(Ce=X,we=xe,Te=Se;Y=z.distcode[Te+((W&(1<<Ce+we)-1)>>Ce)],X=Y>>>24,xe=Y>>>16&255,Se=Y&65535,!(Ce+X<=G);){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}W>>>=Ce,G-=Ce,z.back+=Ce}if(W>>>=X,G-=X,z.back+=X,xe&64){e.msg=`invalid distance code`,z.mode=L;break}z.offset=Se,z.extra=xe&15,z.mode=F;case F:if(z.extra){for(Ae=z.extra;G<Ae;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}z.offset+=W&(1<<z.extra)-1,W>>>=z.extra,G-=z.extra,z.back+=z.extra}if(z.offset>z.dmax){e.msg=`invalid distance too far back`,z.mode=L;break}z.mode=I;case I:if(U===0)break inf_leave;if(J=q-U,z.offset>J){if(J=z.offset-J,J>z.whave&&z.sane){e.msg=`invalid distance too far back`,z.mode=L;break}J>z.wnext?(J-=z.wnext,ye=z.wsize-J):ye=z.wnext-J,J>z.length&&(J=z.length),be=z.window}else be=he,ye=ge-z.offset,J=z.length;J>U&&(J=U),U-=J,z.length-=J;do he[ge++]=be[ye++];while(--J);z.length===0&&(z.mode=ae);break;case ce:if(U===0)break inf_leave;he[ge++]=z.length,U--,z.mode=ae;break;case le:if(z.wrap){for(;G<32;){if(H===0)break inf_leave;H--,W|=B[V++]<<G,G+=8}if(q-=U,e.total_out+=q,z.total+=q,q&&(e.adler=z.check=z.flags?r(z.check,he,q,ge-q):n(z.check,he,q,ge-q)),q=U,(z.flags?W:me(W))!==z.check){e.msg=`incorrect data check`,z.mode=L;break}W=0,G=0}z.mode=ue;case ue:if(z.wrap&&z.flags){for(;G<32;){if(H===0)break inf_leave;H--,W+=B[V++]<<G,G+=8}if(W!==(z.total&4294967295)){e.msg=`incorrect length check`,z.mode=L;break}W=0,G=0}z.mode=de;case de:De=p;break inf_leave;case L:De=g;break inf_leave;case fe:return _;case pe:default:return h}return e.next_out=ge,e.avail_out=U,e.next_in=V,e.avail_in=H,z.hold=W,z.bits=G,(z.wsize||q!==e.avail_out&&z.mode<L&&(z.mode<le||R!==l))&&ve(e,e.output,e.next_out,q-e.avail_out)?(z.mode=fe,_):(K-=e.avail_in,q-=e.avail_out,e.total_in+=K,e.total_out+=q,z.total+=q,z.wrap&&q&&(e.adler=z.check=z.flags?r(z.check,he,q,e.next_out-q):n(z.check,he,q,e.next_out-q)),e.data_type=z.bits+(z.last?64:0)+(z.mode===j?128:0)+(z.mode===ie||z.mode===P?256:0),(K===0&&q===0||R===l)&&De===f&&(De=v),De)}function ye(e){if(!e||!e.state)return h;var t=e.state;return t.window&&=null,e.state=null,f}function be(e,t){var n;return!e||!e.state||(n=e.state,!(n.wrap&2))?h:(n.head=t,t.done=!1,f)}function Y(e,t){var r=t.length,i,a,o;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==A)?h:i.mode===A&&(a=1,a=n(a,t,r,0),a!==i.check)?g:(o=ve(e,t,r,r),o?(i.mode=fe,_):(i.havedict=1,f))}e.inflateReset=ge,e.inflateReset2=H,e.inflateResetKeep=V,e.inflateInit=W,e.inflateInit2=U,e.inflate=J,e.inflateEnd=ye,e.inflateGetHeader=be,e.inflateSetDictionary=Y,e.inflateInfo=`pako inflate (from Nodeca project)`})),zr=r.a(((e,t)=>{t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}})),Br=r.a(((e,t)=>{function n(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name=``,this.comment=``,this.hcrc=0,this.done=!1}t.exports=n})),Vr=r.a((e=>{var t=Rr(),n=Dr(),r=Nr(),i=zr(),a=jr(),o=Pr(),s=Br(),c=Object.prototype.toString;function l(e){if(!(this instanceof l))return new l(e);this.options=n.assign({chunkSize:16384,windowBits:0,to:``},e||{});var u=this.options;u.raw&&u.windowBits>=0&&u.windowBits<16&&(u.windowBits=-u.windowBits,u.windowBits===0&&(u.windowBits=-15)),u.windowBits>=0&&u.windowBits<16&&!(e&&e.windowBits)&&(u.windowBits+=32),u.windowBits>15&&u.windowBits<48&&(u.windowBits&15||(u.windowBits|=15)),this.err=0,this.msg=``,this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var d=t.inflateInit2(this.strm,u.windowBits);if(d!==i.Z_OK||(this.header=new s,t.inflateGetHeader(this.strm,this.header),u.dictionary&&(typeof u.dictionary==`string`?u.dictionary=r.string2buf(u.dictionary):c.call(u.dictionary)===`[object ArrayBuffer]`&&(u.dictionary=new Uint8Array(u.dictionary)),u.raw&&(d=t.inflateSetDictionary(this.strm,u.dictionary),d!==i.Z_OK))))throw Error(a[d])}l.prototype.push=function(e,a){var o=this.strm,s=this.options.chunkSize,l=this.options.dictionary,u,d,f,p,m,h=!1;if(this.ended)return!1;d=a===~~a?a:a===!0?i.Z_FINISH:i.Z_NO_FLUSH,typeof e==`string`?o.input=r.binstring2buf(e):c.call(e)===`[object ArrayBuffer]`?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(o.avail_out===0&&(o.output=new n.Buf8(s),o.next_out=0,o.avail_out=s),u=t.inflate(o,i.Z_NO_FLUSH),u===i.Z_NEED_DICT&&l&&(u=t.inflateSetDictionary(this.strm,l)),u===i.Z_BUF_ERROR&&h===!0&&(u=i.Z_OK,h=!1),u!==i.Z_STREAM_END&&u!==i.Z_OK)return this.onEnd(u),this.ended=!0,!1;o.next_out&&(o.avail_out===0||u===i.Z_STREAM_END||o.avail_in===0&&(d===i.Z_FINISH||d===i.Z_SYNC_FLUSH))&&(this.options.to===`string`?(f=r.utf8border(o.output,o.next_out),p=o.next_out-f,m=r.buf2string(o.output,f),o.next_out=p,o.avail_out=s-p,p&&n.arraySet(o.output,o.output,f,p,0),this.onData(m)):this.onData(n.shrinkBuf(o.output,o.next_out))),o.avail_in===0&&o.avail_out===0&&(h=!0)}while((o.avail_in>0||o.avail_out===0)&&u!==i.Z_STREAM_END);return u===i.Z_STREAM_END&&(d=i.Z_FINISH),d===i.Z_FINISH?(u=t.inflateEnd(this.strm),this.onEnd(u),this.ended=!0,u===i.Z_OK):d===i.Z_SYNC_FLUSH?(this.onEnd(i.Z_OK),o.avail_out=0,!0):!0},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){e===i.Z_OK&&(this.options.to===`string`?this.result=this.chunks.join(``):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function u(e,t){var n=new l(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}function d(e,t){return t||={},t.raw=!0,u(e,t)}e.Inflate=l,e.inflate=u,e.inflateRaw=d,e.ungzip=u})),Hr=r.a(((e,t)=>{var n=Dr().assign,r=Fr(),i=Vr(),a=zr(),o={};n(o,r,i,a),t.exports=o})),Ur=r.a((e=>{var t=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Uint32Array<`u`,n=Hr(),r=Z(),i=hr(),a=t?`uint8array`:`array`;e.magic=`\b\0`;function o(e,t){i.call(this,`FlateWorker/`+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.inherits(o,i),o.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(r.transformTo(a,e.data),!1)},o.prototype.flush=function(){i.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},o.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},e.compressWorker=function(e){return new o(`Deflate`,e)},e.uncompressWorker=function(){return new o(`Inflate`,{})}})),Wr=r.a((e=>{var t=hr();e.STORE={magic:`\0\0`,compressWorker:function(){return new t(`STORE compression`)},uncompressWorker:function(){return new t(`STORE decompression`)}},e.DEFLATE=Ur()})),Gr=r.a((e=>{e.LOCAL_FILE_HEADER=`PK`,e.CENTRAL_FILE_HEADER=`PK`,e.CENTRAL_DIRECTORY_END=`PK`,e.ZIP64_CENTRAL_DIRECTORY_LOCATOR=`PK\x07`,e.ZIP64_CENTRAL_DIRECTORY_END=`PK`,e.DATA_DESCRIPTOR=`PK\x07\b`})),Kr=r.a(((e,t)=>{var n=Z(),r=hr(),i=gr(),a=Sr(),o=Gr(),s=function(e,t){var n=``,r;for(r=0;r<t;r++)n+=String.fromCharCode(e&255),e>>>=8;return n},c=function(e,t){var n=e;return e||(n=t?16893:33204),(n&65535)<<16},l=function(e){return(e||0)&63},u=function(e,t,r,u,d,f){var p=e.file,m=e.compression,h=f!==i.utf8encode,g=n.transformTo(`string`,f(p.name)),_=n.transformTo(`string`,i.utf8encode(p.name)),v=p.comment,y=n.transformTo(`string`,f(v)),b=n.transformTo(`string`,i.utf8encode(v)),x=_.length!==p.name.length,S=b.length!==v.length,C,w,T=``,E=``,D=``,O=p.dir,k=p.date,A={crc32:0,compressedSize:0,uncompressedSize:0};(!t||r)&&(A.crc32=e.crc32,A.compressedSize=e.compressedSize,A.uncompressedSize=e.uncompressedSize);var j=0;t&&(j|=8),!h&&(x||S)&&(j|=2048);var M=0,N=0;O&&(M|=16),d===`UNIX`?(N=798,M|=c(p.unixPermissions,O)):(N=20,M|=l(p.dosPermissions,O)),C=k.getUTCHours(),C<<=6,C|=k.getUTCMinutes(),C<<=5,C|=k.getUTCSeconds()/2,w=k.getUTCFullYear()-1980,w<<=4,w|=k.getUTCMonth()+1,w<<=5,w|=k.getUTCDate(),x&&(E=s(1,1)+s(a(g),4)+_,T+=`up`+s(E.length,2)+E),S&&(D=s(1,1)+s(a(y),4)+b,T+=`uc`+s(D.length,2)+D);var P=``;return P+=`
66
+ \0`,P+=s(j,2),P+=m.magic,P+=s(C,2),P+=s(w,2),P+=s(A.crc32,4),P+=s(A.compressedSize,4),P+=s(A.uncompressedSize,4),P+=s(g.length,2),P+=s(T.length,2),{fileRecord:o.LOCAL_FILE_HEADER+P+g+T,dirRecord:o.CENTRAL_FILE_HEADER+s(N,2)+P+s(y.length,2)+`\0\0\0\0`+s(M,4)+s(u,4)+g+T+y}},d=function(e,t,r,i,a){var c=``,l=n.transformTo(`string`,a(i));return c=o.CENTRAL_DIRECTORY_END+`\0\0\0\0`+s(e,2)+s(e,2)+s(t,4)+s(r,4)+s(l.length,2)+l,c},f=function(e){var t=``;return t=o.DATA_DESCRIPTOR+s(e.crc32,4)+s(e.compressedSize,4)+s(e.uncompressedSize,4),t};function p(e,t,n,i){r.call(this,`ZipFileWorker`),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(p,r),p.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,r.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))},p.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=u(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},p.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=u(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:f(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},p.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,r=d(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})},p.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},p.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on(`data`,function(e){t.processChunk(e)}),e.on(`end`,function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on(`error`,function(e){t.error(e)}),this},p.prototype.resume=function(){if(!r.prototype.resume.call(this))return!1;if(!this.previous&&this._sources.length)return this.prepareNextSource(),!0;if(!this.previous&&!this._sources.length&&!this.generatedError)return this.end(),!0},p.prototype.error=function(e){var t=this._sources;if(!r.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0},p.prototype.lock=function(){r.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=p})),qr=r.a((e=>{var t=Wr(),n=Kr(),r=function(e,n){var r=e||n,i=t[r];if(!i)throw Error(r+` is not a valid compression method !`);return i};e.generateWorker=function(e,t,i){var a=new n(t.streamFiles,i,t.platform,t.encodeFileName),o=0;try{e.forEach(function(e,n){o++;var i=r(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},c=n.dir,l=n.date;n._compressWorker(i,s).withStreamInfo(`file`,{name:e,dir:c,date:l,comment:n.comment||``,unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(a)}),a.entriesCount=o}catch(e){a.error(e)}return a}})),Jr=r.a(((e,t)=>{var n=Z(),r=hr();function i(e,t){r.call(this,`Nodejs stream input adapter for `+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(i,r),i.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on(`data`,function(e){t.push({data:e,meta:{percent:0}})}).on(`error`,function(e){t.isPaused?this.generatedError=e:t.error(e)}).on(`end`,function(){t.isPaused?t._upstreamEnded=!0:t.end()})},i.prototype.pause=function(){return r.prototype.pause.call(this)?(this._stream.pause(),!0):!1},i.prototype.resume=function(){return r.prototype.resume.call(this)?(this._upstreamEnded?this.end():this._stream.resume(),!0):!1},t.exports=i})),Yr=r.a(((e,t)=>{var n=gr(),r=Z(),i=hr(),a=yr(),o=br(),s=Tr(),c=Er(),l=qr(),u=ur(),d=Jr(),f=function(e,t,n){var a=r.getTypeOf(t),l,f=r.extend(n||{},o);f.date=f.date||new Date,f.compression!==null&&(f.compression=f.compression.toUpperCase()),typeof f.unixPermissions==`string`&&(f.unixPermissions=parseInt(f.unixPermissions,8)),f.unixPermissions&&f.unixPermissions&16384&&(f.dir=!0),f.dosPermissions&&f.dosPermissions&16&&(f.dir=!0),f.dir&&(e=m(e)),f.createFolders&&(l=p(e))&&h.call(this,l,!0);var g=a===`string`&&f.binary===!1&&f.base64===!1;(!n||n.binary===void 0)&&(f.binary=!g),(t instanceof s&&t.uncompressedSize===0||f.dir||!t||t.length===0)&&(f.base64=!1,f.binary=!0,t=``,f.compression=`STORE`,a=`string`);var _=null;_=t instanceof s||t instanceof i?t:u.isNode&&u.isStream(t)?new d(e,t):r.prepareContent(e,t,f.binary,f.optimizedBinaryString,f.base64);var v=new c(e,_,f);this.files[e]=v},p=function(e){e.slice(-1)===`/`&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf(`/`);return t>0?e.substring(0,t):``},m=function(e){return e.slice(-1)!==`/`&&(e+=`/`),e},h=function(e,t){return t=t===void 0?o.createFolders:t,e=m(e),this.files[e]||f.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function g(e){return Object.prototype.toString.call(e)===`[object RegExp]`}t.exports={load:function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],n=t.slice(this.root.length,t.length),n&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length===1)if(g(e)){var r=e;return this.filter(function(e,t){return!t.dir&&r.test(e)})}else{var i=this.files[this.root+e];return i&&!i.dir?i:null}else e=this.root+e,f.call(this,e,t,n);return this},folder:function(e){if(!e)return this;if(g(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=h.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||=(e.slice(-1)!==`/`&&(e+=`/`),this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},generateInternalStream:function(e){var t,o={};try{if(o=r.extend(e||{},{streamFiles:!1,compression:`STORE`,compressionOptions:null,type:``,platform:`DOS`,comment:null,mimeType:`application/zip`,encodeFileName:n.utf8encode}),o.type=o.type.toLowerCase(),o.compression=o.compression.toUpperCase(),o.type===`binarystring`&&(o.type=`string`),!o.type)throw Error(`No output type specified.`);r.checkSupport(o.type),(o.platform===`darwin`||o.platform===`freebsd`||o.platform===`linux`||o.platform===`sunos`)&&(o.platform=`UNIX`),o.platform===`win32`&&(o.platform=`DOS`);var s=o.comment||this.comment||``;t=l.generateWorker(this,o,s)}catch(e){t=new i(`error`),t.error(e)}return new a(t,o.type||`string`,o.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return e||={},e.type||=`nodebuffer`,this.generateInternalStream(e).toNodejsStream(t)}}})),Xr=r.a(((e,t)=>{var n=Z();function r(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}r.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error(`End of data reached (data length = `+this.length+`, asked index = `+e+`). Corrupted zip ?`)},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t=0,n;for(this.checkOffset(e),n=this.index+e-1;n>=this.index;n--)t=(t<<8)+this.byteAt(n);return this.index+=e,t},readString:function(e){return n.transformTo(`string`,this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1))}},t.exports=r})),Zr=r.a(((e,t)=>{var n=Xr(),r=Z();function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}r.inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&r===a[2]&&i===a[3]},i.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i})),Qr=r.a(((e,t)=>{var n=Xr(),r=Z();function i(e){n.call(this,e)}r.inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i})),$r=r.a(((e,t)=>{var n=Zr(),r=Z();function i(e){n.call(this,e)}r.inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array;var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i})),ei=r.a(((e,t)=>{var n=$r(),r=Z();function i(e){n.call(this,e)}r.inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i})),ti=r.a(((e,t)=>{var n=Z(),r=cr(),i=Zr(),a=Qr(),o=ei(),s=$r();t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),t===`string`&&!r.uint8array?new a(e):t===`nodebuffer`?new o(e):r.uint8array?new s(n.transformTo(`uint8array`,e)):new i(n.transformTo(`array`,e))}})),ni=r.a(((e,t)=>{var n=ti(),r=Z(),i=Tr(),a=Sr(),o=gr(),s=Wr(),c=cr(),l=0,u=3,d=function(e){for(var t in s)if(Object.prototype.hasOwnProperty.call(s,t)&&s[t].magic===e)return s[t];return null};function f(e,t){this.options=e,this.loadOptions=t}f.prototype={isEncrypted:function(){return(this.bitFlag&1)==1},useUTF8:function(){return(this.bitFlag&2048)==2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw Error(`Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)`);if(t=d(this.compressionMethod),t===null)throw Error(`Corrupted zip : compression `+r.pretty(this.compressionMethod)+` unknown (inner file : `+r.transformTo(`string`,this.fileName)+`)`);this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error(`Encrypted zip are not supported`);e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),e===l&&(this.dosPermissions=this.externalFileAttributes&63),e===u&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)===`/`&&(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,n,r,i;for(this.extraFields||={};e.index+4<t;)n=e.readInt(2),r=e.readInt(2),i=e.readData(r),this.extraFields[n]={id:n,length:r,value:i};e.setIndex(t)},handleUTF8:function(){var e=c.uint8array?`uint8array`:`array`;if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=r.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var i=this.findExtraFieldUnicodeComment();if(i!==null)this.fileCommentStr=i;else{var a=r.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return t.readInt(1)!==1||a(this.fileName)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return t.readInt(1)!==1||a(this.fileComment)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null}},t.exports=f})),ri=r.a(((e,t)=>{var n=ti(),r=Z(),i=Gr(),a=ni(),o=cr();function s(e){this.files=[],this.loadOptions=e}s.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error(`Corrupted zip or bug: unexpected signature (`+r.pretty(t)+`, expected `+r.pretty(e)+`)`)}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=o.uint8array?`uint8array`:`array`,n=r.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e=this.zip64EndOfCentralSize-44,t=0,n,r,i;t<e;)n=this.reader.readInt(2),r=this.reader.readInt(4),i=this.reader.readData(r),this.zip64ExtensibleData[n]={id:n,length:r,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error(`Multi-volumes zip are not supported`)},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)e=new a({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw Error(`Corrupted zip or bug: expected `+this.centralDirRecords+` records in central dir, got `+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,i.LOCAL_FILE_HEADER)?Error(`Corrupted zip: can't find end of central directory`):Error(`Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html`);this.reader.setIndex(e);var t=e;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===r.MAX_VALUE_16BITS||this.diskWithCentralDirStart===r.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===r.MAX_VALUE_16BITS||this.centralDirRecords===r.MAX_VALUE_16BITS||this.centralDirSize===r.MAX_VALUE_32BITS||this.centralDirOffset===r.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),e<0)throw Error(`Corrupted zip: can't find the ZIP64 end of central directory locator`);if(this.reader.setIndex(e),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error(`Corrupted zip: can't find the ZIP64 end of central directory`);this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var a=t-n;if(a>0)this.isSignature(t,i.CENTRAL_FILE_HEADER)||(this.reader.zero=a);else if(a<0)throw Error(`Corrupted zip: missing `+Math.abs(a)+` bytes.`)},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=s})),ii=r.a(((e,t)=>{var n=Z(),r=pr(),i=gr(),a=ri(),o=Cr(),s=ur();function c(e){return new r.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new o);r.on(`error`,function(e){n(e)}).on(`end`,function(){r.streamInfo.crc32===e.decompressed.crc32?t():n(Error(`Corrupted zip : CRC32 mismatch`))}).resume()})}t.exports=function(e,t){var o=this;return t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),s.isNode&&s.isStream(e)?r.Promise.reject(Error(`JSZip can't accept a stream when loading a zip file.`)):n.prepareContent(`the loaded zip file`,e,!0,t.optimizedBinaryString,t.base64).then(function(e){var n=new a(t);return n.load(e),n}).then(function(e){var n=[r.Promise.resolve(e)],i=e.files;if(t.checkCRC32)for(var a=0;a<i.length;a++)n.push(c(i[a]));return r.Promise.all(n)}).then(function(e){for(var r=e.shift(),i=r.files,a=0;a<i.length;a++){var s=i[a],c=s.fileNameStr,l=n.resolve(s.fileNameStr);o.file(l,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(o.file(l).unsafeOriginalName=c)}return r.zipComment.length&&(o.comment=r.zipComment),o})}})),ai=r.a(((e,t)=>{function n(){if(!(this instanceof n))return new n;if(arguments.length)throw Error(`The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.`);this.files=Object.create(null),this.comment=null,this.root=``,this.clone=function(){var e=new n;for(var t in this)typeof this[t]!=`function`&&(e[t]=this[t]);return e}}n.prototype=Yr(),n.prototype.loadAsync=ii(),n.support=cr(),n.defaults=br(),n.version=`3.10.1`,n.loadAsync=function(e,t){return new n().loadAsync(e,t)},n.external=pr(),t.exports=n})),oi=r.l(ai()),si={AiApi:new Set([`sendMessage`,`getDialog`]),imageApi:new Set([`sendAiImageRequest`,`getAiImage`,`getAiImageSSE`])};function ci(e){return e.getState().configSlice?.config}function li(e){return e?.backendProxy!==void 0&&e?.backendProxyPolicy?.proxyAi===!0}function ui(e){return li(ci(e))}function di(e,t,n,r){return si[t]?.has(n)?t=>ui(e)?e=>e(t):r(t):r}function fi(e){let t=i.Y(e);return((n,r)=>t(n,Object.fromEntries(Object.entries(r).map(([t,r])=>[t,typeof r==`function`?di(e,n.reducerPath,t,r):r]))))}function pi(e){let t=`blocks_${i.ro().replaceAll(`-`,``)}`,n=document.createElement(`script`);return n.type=`text/javascript`,n.text=`window.${t}(function(module, exports, require) { ${e}; })`,new Promise((e,r)=>{window[t]=function(t){let n={exports:{}};t(n,n.exports,()=>{}),e(n.exports)},document.head.appendChild(n)}).finally(()=>{n.remove(),delete window[t]})}function mi(e){if(!e)return;let t=a.O(e)?.data?.scope;return(Array.isArray(t)?t.flatMap(e=>String(e).split(/\s+/)):String(t||``).split(/\s+/)).find(e=>/^project_\d+$/.test(e))?.replace(/^project_/,``)||void 0}function hi(e){return{id:Number(e),title:``,members:{owner:{ID:``},admins:[],users:[],invited_users:[]},group:[],folder:[],blockfolder:[],projects_test_emails:[]}}function gi(e,t){return{project:Number(e),app_id:t?.app_id||0,app_config:t?.app_config||{},user:t?.user}}async function _i(e){let t=i.Fr.getInstance(e,i.ja),n=t?void 0:await i.Fr.getInstanceAsync(e,i.Sa).catch(()=>void 0),r=t||(n?.project===void 0?void 0:String(n.project));r&&e.dispatch(i.ft(hi(r)))}async function vi(e,t){try{let n=function(t){let n=i.Fr.getInstance(e,i.ja),r=n?gi(n,t):t;i.Fr.injectFactory(e,i.Sa,async()=>r)},r=fi(e),a=await(await oi.default.loadAsync(t,{base64:!0})).files.key?.async(`text`);if(typeof a==`string`){let e=await pi(a);typeof e==`object`&&typeof e.execute==`function`&&e.execute(n,r,ir)}}catch{}}var yi=class extends i.oo{_event;_listener;_disposeEvent;constructor(e){super(),this._event=e}setListener(e){this._listener!==e&&(this._listener=e,this._disposeEvent&&this._disposeEvent(),e?this._disposeEvent=this._event(e):this._disposeEvent=void 0)}dispose(){this._disposeEvent&&this._disposeEvent(),super.dispose()}};function bi(e,t,n){let r=i.$a(e);return(e,i,a)=>{let o=r(async r=>{let i=t?t(r):r;a&&e.bind(a);let o=await e(i);return n?n(o):o},i,a);return()=>o.dispose()}}var xi=`PluginRegistry`;function Si(e=i.io()){return e.getOrCreateInstance(xi,()=>new c)}var Ci=new l(()=>Si()),wi={"application/prs.cww":[`cww`],"application/prs.xsf+xml":[`xsf`],"application/vnd.1000minds.decision-model+xml":[`1km`],"application/vnd.3gpp.pic-bw-large":[`plb`],"application/vnd.3gpp.pic-bw-small":[`psb`],"application/vnd.3gpp.pic-bw-var":[`pvb`],"application/vnd.3gpp2.tcap":[`tcap`],"application/vnd.3m.post-it-notes":[`pwn`],"application/vnd.accpac.simply.aso":[`aso`],"application/vnd.accpac.simply.imp":[`imp`],"application/vnd.acucobol":[`acu`],"application/vnd.acucorp":[`atc`,`acutc`],"application/vnd.adobe.air-application-installer-package+zip":[`air`],"application/vnd.adobe.formscentral.fcdt":[`fcdt`],"application/vnd.adobe.fxp":[`fxp`,`fxpl`],"application/vnd.adobe.xdp+xml":[`xdp`],"application/vnd.adobe.xfdf":[`*xfdf`],"application/vnd.age":[`age`],"application/vnd.ahead.space":[`ahead`],"application/vnd.airzip.filesecure.azf":[`azf`],"application/vnd.airzip.filesecure.azs":[`azs`],"application/vnd.amazon.ebook":[`azw`],"application/vnd.americandynamics.acc":[`acc`],"application/vnd.amiga.ami":[`ami`],"application/vnd.android.package-archive":[`apk`],"application/vnd.anser-web-certificate-issue-initiation":[`cii`],"application/vnd.anser-web-funds-transfer-initiation":[`fti`],"application/vnd.antix.game-component":[`atx`],"application/vnd.apple.installer+xml":[`mpkg`],"application/vnd.apple.keynote":[`key`],"application/vnd.apple.mpegurl":[`m3u8`],"application/vnd.apple.numbers":[`numbers`],"application/vnd.apple.pages":[`pages`],"application/vnd.apple.pkpass":[`pkpass`],"application/vnd.aristanetworks.swi":[`swi`],"application/vnd.astraea-software.iota":[`iota`],"application/vnd.audiograph":[`aep`],"application/vnd.autodesk.fbx":[`fbx`],"application/vnd.balsamiq.bmml+xml":[`bmml`],"application/vnd.blueice.multipass":[`mpm`],"application/vnd.bmi":[`bmi`],"application/vnd.businessobjects":[`rep`],"application/vnd.chemdraw+xml":[`cdxml`],"application/vnd.chipnuts.karaoke-mmd":[`mmd`],"application/vnd.cinderella":[`cdy`],"application/vnd.citationstyles.style+xml":[`csl`],"application/vnd.claymore":[`cla`],"application/vnd.cloanto.rp9":[`rp9`],"application/vnd.clonk.c4group":[`c4g`,`c4d`,`c4f`,`c4p`,`c4u`],"application/vnd.cluetrust.cartomobile-config":[`c11amc`],"application/vnd.cluetrust.cartomobile-config-pkg":[`c11amz`],"application/vnd.commonspace":[`csp`],"application/vnd.contact.cmsg":[`cdbcmsg`],"application/vnd.cosmocaller":[`cmc`],"application/vnd.crick.clicker":[`clkx`],"application/vnd.crick.clicker.keyboard":[`clkk`],"application/vnd.crick.clicker.palette":[`clkp`],"application/vnd.crick.clicker.template":[`clkt`],"application/vnd.crick.clicker.wordbank":[`clkw`],"application/vnd.criticaltools.wbs+xml":[`wbs`],"application/vnd.ctc-posml":[`pml`],"application/vnd.cups-ppd":[`ppd`],"application/vnd.curl.car":[`car`],"application/vnd.curl.pcurl":[`pcurl`],"application/vnd.dart":[`dart`],"application/vnd.data-vision.rdz":[`rdz`],"application/vnd.dbf":[`dbf`],"application/vnd.dcmp+xml":[`dcmp`],"application/vnd.dece.data":[`uvf`,`uvvf`,`uvd`,`uvvd`],"application/vnd.dece.ttml+xml":[`uvt`,`uvvt`],"application/vnd.dece.unspecified":[`uvx`,`uvvx`],"application/vnd.dece.zip":[`uvz`,`uvvz`],"application/vnd.denovo.fcselayout-link":[`fe_launch`],"application/vnd.dna":[`dna`],"application/vnd.dolby.mlp":[`mlp`],"application/vnd.dpgraph":[`dpg`],"application/vnd.dreamfactory":[`dfac`],"application/vnd.ds-keypoint":[`kpxx`],"application/vnd.dvb.ait":[`ait`],"application/vnd.dvb.service":[`svc`],"application/vnd.dynageo":[`geo`],"application/vnd.ecowin.chart":[`mag`],"application/vnd.enliven":[`nml`],"application/vnd.epson.esf":[`esf`],"application/vnd.epson.msf":[`msf`],"application/vnd.epson.quickanime":[`qam`],"application/vnd.epson.salt":[`slt`],"application/vnd.epson.ssf":[`ssf`],"application/vnd.eszigno3+xml":[`es3`,`et3`],"application/vnd.ezpix-album":[`ez2`],"application/vnd.ezpix-package":[`ez3`],"application/vnd.fdf":[`*fdf`],"application/vnd.fdsn.mseed":[`mseed`],"application/vnd.fdsn.seed":[`seed`,`dataless`],"application/vnd.flographit":[`gph`],"application/vnd.fluxtime.clip":[`ftc`],"application/vnd.framemaker":[`fm`,`frame`,`maker`,`book`],"application/vnd.frogans.fnc":[`fnc`],"application/vnd.frogans.ltf":[`ltf`],"application/vnd.fsc.weblaunch":[`fsc`],"application/vnd.fujitsu.oasys":[`oas`],"application/vnd.fujitsu.oasys2":[`oa2`],"application/vnd.fujitsu.oasys3":[`oa3`],"application/vnd.fujitsu.oasysgp":[`fg5`],"application/vnd.fujitsu.oasysprs":[`bh2`],"application/vnd.fujixerox.ddd":[`ddd`],"application/vnd.fujixerox.docuworks":[`xdw`],"application/vnd.fujixerox.docuworks.binder":[`xbd`],"application/vnd.fuzzysheet":[`fzs`],"application/vnd.genomatix.tuxedo":[`txd`],"application/vnd.geogebra.file":[`ggb`],"application/vnd.geogebra.slides":[`ggs`],"application/vnd.geogebra.tool":[`ggt`],"application/vnd.geometry-explorer":[`gex`,`gre`],"application/vnd.geonext":[`gxt`],"application/vnd.geoplan":[`g2w`],"application/vnd.geospace":[`g3w`],"application/vnd.gmx":[`gmx`],"application/vnd.google-apps.document":[`gdoc`],"application/vnd.google-apps.drawing":[`gdraw`],"application/vnd.google-apps.form":[`gform`],"application/vnd.google-apps.jam":[`gjam`],"application/vnd.google-apps.map":[`gmap`],"application/vnd.google-apps.presentation":[`gslides`],"application/vnd.google-apps.script":[`gscript`],"application/vnd.google-apps.site":[`gsite`],"application/vnd.google-apps.spreadsheet":[`gsheet`],"application/vnd.google-earth.kml+xml":[`kml`],"application/vnd.google-earth.kmz":[`kmz`],"application/vnd.gov.sk.xmldatacontainer+xml":[`xdcf`],"application/vnd.grafeq":[`gqf`,`gqs`],"application/vnd.groove-account":[`gac`],"application/vnd.groove-help":[`ghf`],"application/vnd.groove-identity-message":[`gim`],"application/vnd.groove-injector":[`grv`],"application/vnd.groove-tool-message":[`gtm`],"application/vnd.groove-tool-template":[`tpl`],"application/vnd.groove-vcard":[`vcg`],"application/vnd.hal+xml":[`hal`],"application/vnd.handheld-entertainment+xml":[`zmm`],"application/vnd.hbci":[`hbci`],"application/vnd.hhe.lesson-player":[`les`],"application/vnd.hp-hpgl":[`hpgl`],"application/vnd.hp-hpid":[`hpid`],"application/vnd.hp-hps":[`hps`],"application/vnd.hp-jlyt":[`jlt`],"application/vnd.hp-pcl":[`pcl`],"application/vnd.hp-pclxl":[`pclxl`],"application/vnd.hydrostatix.sof-data":[`sfd-hdstx`],"application/vnd.ibm.minipay":[`mpy`],"application/vnd.ibm.modcap":[`afp`,`listafp`,`list3820`],"application/vnd.ibm.rights-management":[`irm`],"application/vnd.ibm.secure-container":[`sc`],"application/vnd.iccprofile":[`icc`,`icm`],"application/vnd.igloader":[`igl`],"application/vnd.immervision-ivp":[`ivp`],"application/vnd.immervision-ivu":[`ivu`],"application/vnd.insors.igm":[`igm`],"application/vnd.intercon.formnet":[`xpw`,`xpx`],"application/vnd.intergeo":[`i2g`],"application/vnd.intu.qbo":[`qbo`],"application/vnd.intu.qfx":[`qfx`],"application/vnd.ipunplugged.rcprofile":[`rcprofile`],"application/vnd.irepository.package+xml":[`irp`],"application/vnd.is-xpr":[`xpr`],"application/vnd.isac.fcs":[`fcs`],"application/vnd.jam":[`jam`],"application/vnd.jcp.javame.midlet-rms":[`rms`],"application/vnd.jisp":[`jisp`],"application/vnd.joost.joda-archive":[`joda`],"application/vnd.kahootz":[`ktz`,`ktr`],"application/vnd.kde.karbon":[`karbon`],"application/vnd.kde.kchart":[`chrt`],"application/vnd.kde.kformula":[`kfo`],"application/vnd.kde.kivio":[`flw`],"application/vnd.kde.kontour":[`kon`],"application/vnd.kde.kpresenter":[`kpr`,`kpt`],"application/vnd.kde.kspread":[`ksp`],"application/vnd.kde.kword":[`kwd`,`kwt`],"application/vnd.kenameaapp":[`htke`],"application/vnd.kidspiration":[`kia`],"application/vnd.kinar":[`kne`,`knp`],"application/vnd.koan":[`skp`,`skd`,`skt`,`skm`],"application/vnd.kodak-descriptor":[`sse`],"application/vnd.las.las+xml":[`lasxml`],"application/vnd.llamagraphics.life-balance.desktop":[`lbd`],"application/vnd.llamagraphics.life-balance.exchange+xml":[`lbe`],"application/vnd.lotus-1-2-3":[`123`],"application/vnd.lotus-approach":[`apr`],"application/vnd.lotus-freelance":[`pre`],"application/vnd.lotus-notes":[`nsf`],"application/vnd.lotus-organizer":[`org`],"application/vnd.lotus-screencam":[`scm`],"application/vnd.lotus-wordpro":[`lwp`],"application/vnd.macports.portpkg":[`portpkg`],"application/vnd.mapbox-vector-tile":[`mvt`],"application/vnd.mcd":[`mcd`],"application/vnd.medcalcdata":[`mc1`],"application/vnd.mediastation.cdkey":[`cdkey`],"application/vnd.mfer":[`mwf`],"application/vnd.mfmp":[`mfm`],"application/vnd.micrografx.flo":[`flo`],"application/vnd.micrografx.igx":[`igx`],"application/vnd.mif":[`mif`],"application/vnd.mobius.daf":[`daf`],"application/vnd.mobius.dis":[`dis`],"application/vnd.mobius.mbk":[`mbk`],"application/vnd.mobius.mqy":[`mqy`],"application/vnd.mobius.msl":[`msl`],"application/vnd.mobius.plc":[`plc`],"application/vnd.mobius.txf":[`txf`],"application/vnd.mophun.application":[`mpn`],"application/vnd.mophun.certificate":[`mpc`],"application/vnd.mozilla.xul+xml":[`xul`],"application/vnd.ms-artgalry":[`cil`],"application/vnd.ms-cab-compressed":[`cab`],"application/vnd.ms-excel":[`xls`,`xlm`,`xla`,`xlc`,`xlt`,`xlw`],"application/vnd.ms-excel.addin.macroenabled.12":[`xlam`],"application/vnd.ms-excel.sheet.binary.macroenabled.12":[`xlsb`],"application/vnd.ms-excel.sheet.macroenabled.12":[`xlsm`],"application/vnd.ms-excel.template.macroenabled.12":[`xltm`],"application/vnd.ms-fontobject":[`eot`],"application/vnd.ms-htmlhelp":[`chm`],"application/vnd.ms-ims":[`ims`],"application/vnd.ms-lrm":[`lrm`],"application/vnd.ms-officetheme":[`thmx`],"application/vnd.ms-outlook":[`msg`],"application/vnd.ms-pki.seccat":[`cat`],"application/vnd.ms-pki.stl":[`*stl`],"application/vnd.ms-powerpoint":[`ppt`,`pps`,`pot`],"application/vnd.ms-powerpoint.addin.macroenabled.12":[`ppam`],"application/vnd.ms-powerpoint.presentation.macroenabled.12":[`pptm`],"application/vnd.ms-powerpoint.slide.macroenabled.12":[`sldm`],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":[`ppsm`],"application/vnd.ms-powerpoint.template.macroenabled.12":[`potm`],"application/vnd.ms-project":[`*mpp`,`mpt`],"application/vnd.ms-visio.viewer":[`vdx`],"application/vnd.ms-word.document.macroenabled.12":[`docm`],"application/vnd.ms-word.template.macroenabled.12":[`dotm`],"application/vnd.ms-works":[`wps`,`wks`,`wcm`,`wdb`],"application/vnd.ms-wpl":[`wpl`],"application/vnd.ms-xpsdocument":[`xps`],"application/vnd.mseq":[`mseq`],"application/vnd.musician":[`mus`],"application/vnd.muvee.style":[`msty`],"application/vnd.mynfc":[`taglet`],"application/vnd.nato.bindingdataobject+xml":[`bdo`],"application/vnd.neurolanguage.nlu":[`nlu`],"application/vnd.nitf":[`ntf`,`nitf`],"application/vnd.noblenet-directory":[`nnd`],"application/vnd.noblenet-sealer":[`nns`],"application/vnd.noblenet-web":[`nnw`],"application/vnd.nokia.n-gage.ac+xml":[`*ac`],"application/vnd.nokia.n-gage.data":[`ngdat`],"application/vnd.nokia.n-gage.symbian.install":[`n-gage`],"application/vnd.nokia.radio-preset":[`rpst`],"application/vnd.nokia.radio-presets":[`rpss`],"application/vnd.novadigm.edm":[`edm`],"application/vnd.novadigm.edx":[`edx`],"application/vnd.novadigm.ext":[`ext`],"application/vnd.oasis.opendocument.chart":[`odc`],"application/vnd.oasis.opendocument.chart-template":[`otc`],"application/vnd.oasis.opendocument.database":[`odb`],"application/vnd.oasis.opendocument.formula":[`odf`],"application/vnd.oasis.opendocument.formula-template":[`odft`],"application/vnd.oasis.opendocument.graphics":[`odg`],"application/vnd.oasis.opendocument.graphics-template":[`otg`],"application/vnd.oasis.opendocument.image":[`odi`],"application/vnd.oasis.opendocument.image-template":[`oti`],"application/vnd.oasis.opendocument.presentation":[`odp`],"application/vnd.oasis.opendocument.presentation-template":[`otp`],"application/vnd.oasis.opendocument.spreadsheet":[`ods`],"application/vnd.oasis.opendocument.spreadsheet-template":[`ots`],"application/vnd.oasis.opendocument.text":[`odt`],"application/vnd.oasis.opendocument.text-master":[`odm`],"application/vnd.oasis.opendocument.text-template":[`ott`],"application/vnd.oasis.opendocument.text-web":[`oth`],"application/vnd.olpc-sugar":[`xo`],"application/vnd.oma.dd2+xml":[`dd2`],"application/vnd.openblox.game+xml":[`obgx`],"application/vnd.openofficeorg.extension":[`oxt`],"application/vnd.openstreetmap.data+xml":[`osm`],"application/vnd.openxmlformats-officedocument.presentationml.presentation":[`pptx`],"application/vnd.openxmlformats-officedocument.presentationml.slide":[`sldx`],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":[`ppsx`],"application/vnd.openxmlformats-officedocument.presentationml.template":[`potx`],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":[`xlsx`],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":[`xltx`],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[`docx`],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":[`dotx`],"application/vnd.osgeo.mapguide.package":[`mgp`],"application/vnd.osgi.dp":[`dp`],"application/vnd.osgi.subsystem":[`esa`],"application/vnd.palm":[`pdb`,`pqa`,`oprc`],"application/vnd.pawaafile":[`paw`],"application/vnd.pg.format":[`str`],"application/vnd.pg.osasli":[`ei6`],"application/vnd.picsel":[`efif`],"application/vnd.pmi.widget":[`wg`],"application/vnd.pocketlearn":[`plf`],"application/vnd.powerbuilder6":[`pbd`],"application/vnd.previewsystems.box":[`box`],"application/vnd.procrate.brushset":[`brushset`],"application/vnd.procreate.brush":[`brush`],"application/vnd.procreate.dream":[`drm`],"application/vnd.proteus.magazine":[`mgz`],"application/vnd.publishare-delta-tree":[`qps`],"application/vnd.pvi.ptid1":[`ptid`],"application/vnd.pwg-xhtml-print+xml":[`xhtm`],"application/vnd.quark.quarkxpress":[`qxd`,`qxt`,`qwd`,`qwt`,`qxl`,`qxb`],"application/vnd.rar":[`rar`],"application/vnd.realvnc.bed":[`bed`],"application/vnd.recordare.musicxml":[`mxl`],"application/vnd.recordare.musicxml+xml":[`musicxml`],"application/vnd.rig.cryptonote":[`cryptonote`],"application/vnd.rim.cod":[`cod`],"application/vnd.rn-realmedia":[`rm`],"application/vnd.rn-realmedia-vbr":[`rmvb`],"application/vnd.route66.link66+xml":[`link66`],"application/vnd.sailingtracker.track":[`st`],"application/vnd.seemail":[`see`],"application/vnd.sema":[`sema`],"application/vnd.semd":[`semd`],"application/vnd.semf":[`semf`],"application/vnd.shana.informed.formdata":[`ifm`],"application/vnd.shana.informed.formtemplate":[`itp`],"application/vnd.shana.informed.interchange":[`iif`],"application/vnd.shana.informed.package":[`ipk`],"application/vnd.simtech-mindmapper":[`twd`,`twds`],"application/vnd.smaf":[`mmf`],"application/vnd.smart.teacher":[`teacher`],"application/vnd.software602.filler.form+xml":[`fo`],"application/vnd.solent.sdkm+xml":[`sdkm`,`sdkd`],"application/vnd.spotfire.dxp":[`dxp`],"application/vnd.spotfire.sfs":[`sfs`],"application/vnd.stardivision.calc":[`sdc`],"application/vnd.stardivision.draw":[`sda`],"application/vnd.stardivision.impress":[`sdd`],"application/vnd.stardivision.math":[`smf`],"application/vnd.stardivision.writer":[`sdw`,`vor`],"application/vnd.stardivision.writer-global":[`sgl`],"application/vnd.stepmania.package":[`smzip`],"application/vnd.stepmania.stepchart":[`sm`],"application/vnd.sun.wadl+xml":[`wadl`],"application/vnd.sun.xml.calc":[`sxc`],"application/vnd.sun.xml.calc.template":[`stc`],"application/vnd.sun.xml.draw":[`sxd`],"application/vnd.sun.xml.draw.template":[`std`],"application/vnd.sun.xml.impress":[`sxi`],"application/vnd.sun.xml.impress.template":[`sti`],"application/vnd.sun.xml.math":[`sxm`],"application/vnd.sun.xml.writer":[`sxw`],"application/vnd.sun.xml.writer.global":[`sxg`],"application/vnd.sun.xml.writer.template":[`stw`],"application/vnd.sus-calendar":[`sus`,`susp`],"application/vnd.svd":[`svd`],"application/vnd.symbian.install":[`sis`,`sisx`],"application/vnd.syncml+xml":[`xsm`],"application/vnd.syncml.dm+wbxml":[`bdm`],"application/vnd.syncml.dm+xml":[`xdm`],"application/vnd.syncml.dmddf+xml":[`ddf`],"application/vnd.tao.intent-module-archive":[`tao`],"application/vnd.tcpdump.pcap":[`pcap`,`cap`,`dmp`],"application/vnd.tmobile-livetv":[`tmo`],"application/vnd.trid.tpt":[`tpt`],"application/vnd.triscape.mxs":[`mxs`],"application/vnd.trueapp":[`tra`],"application/vnd.ufdl":[`ufd`,`ufdl`],"application/vnd.uiq.theme":[`utz`],"application/vnd.umajin":[`umj`],"application/vnd.unity":[`unityweb`],"application/vnd.uoml+xml":[`uoml`,`uo`],"application/vnd.vcx":[`vcx`],"application/vnd.visio":[`vsd`,`vst`,`vss`,`vsw`,`vsdx`,`vtx`],"application/vnd.visionary":[`vis`],"application/vnd.vsf":[`vsf`],"application/vnd.wap.wbxml":[`wbxml`],"application/vnd.wap.wmlc":[`wmlc`],"application/vnd.wap.wmlscriptc":[`wmlsc`],"application/vnd.webturbo":[`wtb`],"application/vnd.wolfram.player":[`nbp`],"application/vnd.wordperfect":[`wpd`],"application/vnd.wqd":[`wqd`],"application/vnd.wt.stf":[`stf`],"application/vnd.xara":[`xar`],"application/vnd.xfdl":[`xfdl`],"application/vnd.yamaha.hv-dic":[`hvd`],"application/vnd.yamaha.hv-script":[`hvs`],"application/vnd.yamaha.hv-voice":[`hvp`],"application/vnd.yamaha.openscoreformat":[`osf`],"application/vnd.yamaha.openscoreformat.osfpvg+xml":[`osfpvg`],"application/vnd.yamaha.smaf-audio":[`saf`],"application/vnd.yamaha.smaf-phrase":[`spf`],"application/vnd.yellowriver-custom-menu":[`cmp`],"application/vnd.zul":[`zir`,`zirz`],"application/vnd.zzazz.deck+xml":[`zaz`],"application/x-7z-compressed":[`7z`],"application/x-abiword":[`abw`],"application/x-ace-compressed":[`ace`],"application/x-apple-diskimage":[`*dmg`],"application/x-arj":[`arj`],"application/x-authorware-bin":[`aab`,`x32`,`u32`,`vox`],"application/x-authorware-map":[`aam`],"application/x-authorware-seg":[`aas`],"application/x-bcpio":[`bcpio`],"application/x-bdoc":[`*bdoc`],"application/x-bittorrent":[`torrent`],"application/x-blender":[`blend`],"application/x-blorb":[`blb`,`blorb`],"application/x-bzip":[`bz`],"application/x-bzip2":[`bz2`,`boz`],"application/x-cbr":[`cbr`,`cba`,`cbt`,`cbz`,`cb7`],"application/x-cdlink":[`vcd`],"application/x-cfs-compressed":[`cfs`],"application/x-chat":[`chat`],"application/x-chess-pgn":[`pgn`],"application/x-chrome-extension":[`crx`],"application/x-cocoa":[`cco`],"application/x-compressed":[`*rar`],"application/x-conference":[`nsc`],"application/x-cpio":[`cpio`],"application/x-csh":[`csh`],"application/x-debian-package":[`*deb`,`udeb`],"application/x-dgc-compressed":[`dgc`],"application/x-director":[`dir`,`dcr`,`dxr`,`cst`,`cct`,`cxt`,`w3d`,`fgd`,`swa`],"application/x-doom":[`wad`],"application/x-dtbncx+xml":[`ncx`],"application/x-dtbook+xml":[`dtb`],"application/x-dtbresource+xml":[`res`],"application/x-dvi":[`dvi`],"application/x-envoy":[`evy`],"application/x-eva":[`eva`],"application/x-font-bdf":[`bdf`],"application/x-font-ghostscript":[`gsf`],"application/x-font-linux-psf":[`psf`],"application/x-font-pcf":[`pcf`],"application/x-font-snf":[`snf`],"application/x-font-type1":[`pfa`,`pfb`,`pfm`,`afm`],"application/x-freearc":[`arc`],"application/x-futuresplash":[`spl`],"application/x-gca-compressed":[`gca`],"application/x-glulx":[`ulx`],"application/x-gnumeric":[`gnumeric`],"application/x-gramps-xml":[`gramps`],"application/x-gtar":[`gtar`],"application/x-hdf":[`hdf`],"application/x-httpd-php":[`php`],"application/x-install-instructions":[`install`],"application/x-ipynb+json":[`ipynb`],"application/x-iso9660-image":[`*iso`],"application/x-iwork-keynote-sffkey":[`*key`],"application/x-iwork-numbers-sffnumbers":[`*numbers`],"application/x-iwork-pages-sffpages":[`*pages`],"application/x-java-archive-diff":[`jardiff`],"application/x-java-jnlp-file":[`jnlp`],"application/x-keepass2":[`kdbx`],"application/x-latex":[`latex`],"application/x-lua-bytecode":[`luac`],"application/x-lzh-compressed":[`lzh`,`lha`],"application/x-makeself":[`run`],"application/x-mie":[`mie`],"application/x-mobipocket-ebook":[`*prc`,`mobi`],"application/x-ms-application":[`application`],"application/x-ms-shortcut":[`lnk`],"application/x-ms-wmd":[`wmd`],"application/x-ms-wmz":[`wmz`],"application/x-ms-xbap":[`xbap`],"application/x-msaccess":[`mdb`],"application/x-msbinder":[`obd`],"application/x-mscardfile":[`crd`],"application/x-msclip":[`clp`],"application/x-msdos-program":[`*exe`],"application/x-msdownload":[`*exe`,`*dll`,`com`,`bat`,`*msi`],"application/x-msmediaview":[`mvb`,`m13`,`m14`],"application/x-msmetafile":[`*wmf`,`*wmz`,`*emf`,`emz`],"application/x-msmoney":[`mny`],"application/x-mspublisher":[`pub`],"application/x-msschedule":[`scd`],"application/x-msterminal":[`trm`],"application/x-mswrite":[`wri`],"application/x-netcdf":[`nc`,`cdf`],"application/x-ns-proxy-autoconfig":[`pac`],"application/x-nzb":[`nzb`],"application/x-perl":[`pl`,`pm`],"application/x-pilot":[`*prc`,`*pdb`],"application/x-pkcs12":[`p12`,`pfx`],"application/x-pkcs7-certificates":[`p7b`,`spc`],"application/x-pkcs7-certreqresp":[`p7r`],"application/x-rar-compressed":[`*rar`],"application/x-redhat-package-manager":[`rpm`],"application/x-research-info-systems":[`ris`],"application/x-sea":[`sea`],"application/x-sh":[`sh`],"application/x-shar":[`shar`],"application/x-shockwave-flash":[`swf`],"application/x-silverlight-app":[`xap`],"application/x-sql":[`*sql`],"application/x-stuffit":[`sit`],"application/x-stuffitx":[`sitx`],"application/x-subrip":[`srt`],"application/x-sv4cpio":[`sv4cpio`],"application/x-sv4crc":[`sv4crc`],"application/x-t3vm-image":[`t3`],"application/x-tads":[`gam`],"application/x-tar":[`tar`],"application/x-tcl":[`tcl`,`tk`],"application/x-tex":[`tex`],"application/x-tex-tfm":[`tfm`],"application/x-texinfo":[`texinfo`,`texi`],"application/x-tgif":[`*obj`],"application/x-ustar":[`ustar`],"application/x-virtualbox-hdd":[`hdd`],"application/x-virtualbox-ova":[`ova`],"application/x-virtualbox-ovf":[`ovf`],"application/x-virtualbox-vbox":[`vbox`],"application/x-virtualbox-vbox-extpack":[`vbox-extpack`],"application/x-virtualbox-vdi":[`vdi`],"application/x-virtualbox-vhd":[`vhd`],"application/x-virtualbox-vmdk":[`vmdk`],"application/x-wais-source":[`src`],"application/x-web-app-manifest+json":[`webapp`],"application/x-x509-ca-cert":[`der`,`crt`,`pem`],"application/x-xfig":[`fig`],"application/x-xliff+xml":[`*xlf`],"application/x-xpinstall":[`xpi`],"application/x-xz":[`xz`],"application/x-zip-compressed":[`*zip`],"application/x-zmachine":[`z1`,`z2`,`z3`,`z4`,`z5`,`z6`,`z7`,`z8`],"audio/vnd.dece.audio":[`uva`,`uvva`],"audio/vnd.digital-winds":[`eol`],"audio/vnd.dra":[`dra`],"audio/vnd.dts":[`dts`],"audio/vnd.dts.hd":[`dtshd`],"audio/vnd.lucent.voice":[`lvp`],"audio/vnd.ms-playready.media.pya":[`pya`],"audio/vnd.nuera.ecelp4800":[`ecelp4800`],"audio/vnd.nuera.ecelp7470":[`ecelp7470`],"audio/vnd.nuera.ecelp9600":[`ecelp9600`],"audio/vnd.rip":[`rip`],"audio/x-aac":[`*aac`],"audio/x-aiff":[`aif`,`aiff`,`aifc`],"audio/x-caf":[`caf`],"audio/x-flac":[`flac`],"audio/x-m4a":[`*m4a`],"audio/x-matroska":[`mka`],"audio/x-mpegurl":[`m3u`],"audio/x-ms-wax":[`wax`],"audio/x-ms-wma":[`wma`],"audio/x-pn-realaudio":[`ram`,`ra`],"audio/x-pn-realaudio-plugin":[`rmp`],"audio/x-realaudio":[`*ra`],"audio/x-wav":[`*wav`],"chemical/x-cdx":[`cdx`],"chemical/x-cif":[`cif`],"chemical/x-cmdf":[`cmdf`],"chemical/x-cml":[`cml`],"chemical/x-csml":[`csml`],"chemical/x-xyz":[`xyz`],"image/prs.btif":[`btif`,`btf`],"image/prs.pti":[`pti`],"image/vnd.adobe.photoshop":[`psd`],"image/vnd.airzip.accelerator.azv":[`azv`],"image/vnd.blockfact.facti":[`facti`],"image/vnd.dece.graphic":[`uvi`,`uvvi`,`uvg`,`uvvg`],"image/vnd.djvu":[`djvu`,`djv`],"image/vnd.dvb.subtitle":[`*sub`],"image/vnd.dwg":[`dwg`],"image/vnd.dxf":[`dxf`],"image/vnd.fastbidsheet":[`fbs`],"image/vnd.fpx":[`fpx`],"image/vnd.fst":[`fst`],"image/vnd.fujixerox.edmics-mmr":[`mmr`],"image/vnd.fujixerox.edmics-rlc":[`rlc`],"image/vnd.microsoft.icon":[`ico`],"image/vnd.ms-dds":[`dds`],"image/vnd.ms-modi":[`mdi`],"image/vnd.ms-photo":[`wdp`],"image/vnd.net-fpx":[`npx`],"image/vnd.pco.b16":[`b16`],"image/vnd.tencent.tap":[`tap`],"image/vnd.valve.source.texture":[`vtf`],"image/vnd.wap.wbmp":[`wbmp`],"image/vnd.xiff":[`xif`],"image/vnd.zbrush.pcx":[`pcx`],"image/x-3ds":[`3ds`],"image/x-adobe-dng":[`dng`],"image/x-cmu-raster":[`ras`],"image/x-cmx":[`cmx`],"image/x-freehand":[`fh`,`fhc`,`fh4`,`fh5`,`fh7`],"image/x-icon":[`*ico`],"image/x-jng":[`jng`],"image/x-mrsid-image":[`sid`],"image/x-ms-bmp":[`*bmp`],"image/x-pcx":[`*pcx`],"image/x-pict":[`pic`,`pct`],"image/x-portable-anymap":[`pnm`],"image/x-portable-bitmap":[`pbm`],"image/x-portable-graymap":[`pgm`],"image/x-portable-pixmap":[`ppm`],"image/x-rgb":[`rgb`],"image/x-tga":[`tga`],"image/x-xbitmap":[`xbm`],"image/x-xpixmap":[`xpm`],"image/x-xwindowdump":[`xwd`],"message/vnd.wfa.wsc":[`wsc`],"model/vnd.bary":[`bary`],"model/vnd.cld":[`cld`],"model/vnd.collada+xml":[`dae`],"model/vnd.dwf":[`dwf`],"model/vnd.gdl":[`gdl`],"model/vnd.gtw":[`gtw`],"model/vnd.mts":[`*mts`],"model/vnd.opengex":[`ogex`],"model/vnd.parasolid.transmit.binary":[`x_b`],"model/vnd.parasolid.transmit.text":[`x_t`],"model/vnd.pytha.pyox":[`pyo`,`pyox`],"model/vnd.sap.vds":[`vds`],"model/vnd.usda":[`usda`],"model/vnd.usdz+zip":[`usdz`],"model/vnd.valve.source.compiled-map":[`bsp`],"model/vnd.vtu":[`vtu`],"text/prs.lines.tag":[`dsc`],"text/vnd.curl":[`curl`],"text/vnd.curl.dcurl":[`dcurl`],"text/vnd.curl.mcurl":[`mcurl`],"text/vnd.curl.scurl":[`scurl`],"text/vnd.dvb.subtitle":[`sub`],"text/vnd.familysearch.gedcom":[`ged`],"text/vnd.fly":[`fly`],"text/vnd.fmi.flexstor":[`flx`],"text/vnd.graphviz":[`gv`],"text/vnd.in3d.3dml":[`3dml`],"text/vnd.in3d.spot":[`spot`],"text/vnd.sun.j2me.app-descriptor":[`jad`],"text/vnd.wap.wml":[`wml`],"text/vnd.wap.wmlscript":[`wmls`],"text/x-asm":[`s`,`asm`],"text/x-c":[`c`,`cc`,`cxx`,`cpp`,`h`,`hh`,`dic`],"text/x-component":[`htc`],"text/x-fortran":[`f`,`for`,`f77`,`f90`],"text/x-handlebars-template":[`hbs`],"text/x-java-source":[`java`],"text/x-lua":[`lua`],"text/x-markdown":[`mkd`],"text/x-nfo":[`nfo`],"text/x-opml":[`opml`],"text/x-org":[`*org`],"text/x-pascal":[`p`,`pas`],"text/x-processing":[`pde`],"text/x-sass":[`sass`],"text/x-scss":[`scss`],"text/x-setext":[`etx`],"text/x-sfv":[`sfv`],"text/x-suse-ymp":[`ymp`],"text/x-uuencode":[`uu`],"text/x-vcalendar":[`vcs`],"text/x-vcard":[`vcf`],"video/vnd.dece.hd":[`uvh`,`uvvh`],"video/vnd.dece.mobile":[`uvm`,`uvvm`],"video/vnd.dece.pd":[`uvp`,`uvvp`],"video/vnd.dece.sd":[`uvs`,`uvvs`],"video/vnd.dece.video":[`uvv`,`uvvv`],"video/vnd.dvb.file":[`dvb`],"video/vnd.fvt":[`fvt`],"video/vnd.mpegurl":[`mxu`,`m4u`],"video/vnd.ms-playready.media.pyv":[`pyv`],"video/vnd.uvvu.mp4":[`uvu`,`uvvu`],"video/vnd.vivo":[`viv`],"video/x-f4v":[`f4v`],"video/x-fli":[`fli`],"video/x-flv":[`flv`],"video/x-m4v":[`m4v`],"video/x-matroska":[`mkv`,`mk3d`,`mks`],"video/x-mng":[`mng`],"video/x-ms-asf":[`asf`,`asx`],"video/x-ms-vob":[`vob`],"video/x-ms-wm":[`wm`],"video/x-ms-wmv":[`wmv`],"video/x-ms-wmx":[`wmx`],"video/x-ms-wvx":[`wvx`],"video/x-msvideo":[`avi`],"video/x-sgi-movie":[`movie`],"video/x-smv":[`smv`],"x-conference/x-cooltalk":[`ice`]};Object.freeze(wi);var Ti={"application/andrew-inset":[`ez`],"application/appinstaller":[`appinstaller`],"application/applixware":[`aw`],"application/appx":[`appx`],"application/appxbundle":[`appxbundle`],"application/atom+xml":[`atom`],"application/atomcat+xml":[`atomcat`],"application/atomdeleted+xml":[`atomdeleted`],"application/atomsvc+xml":[`atomsvc`],"application/atsc-dwd+xml":[`dwd`],"application/atsc-held+xml":[`held`],"application/atsc-rsat+xml":[`rsat`],"application/automationml-aml+xml":[`aml`],"application/automationml-amlx+zip":[`amlx`],"application/bdoc":[`bdoc`],"application/calendar+xml":[`xcs`],"application/ccxml+xml":[`ccxml`],"application/cdfx+xml":[`cdfx`],"application/cdmi-capability":[`cdmia`],"application/cdmi-container":[`cdmic`],"application/cdmi-domain":[`cdmid`],"application/cdmi-object":[`cdmio`],"application/cdmi-queue":[`cdmiq`],"application/cpl+xml":[`cpl`],"application/cu-seeme":[`cu`],"application/cwl":[`cwl`],"application/dash+xml":[`mpd`],"application/dash-patch+xml":[`mpp`],"application/davmount+xml":[`davmount`],"application/dicom":[`dcm`],"application/docbook+xml":[`dbk`],"application/dssc+der":[`dssc`],"application/dssc+xml":[`xdssc`],"application/ecmascript":[`ecma`],"application/emma+xml":[`emma`],"application/emotionml+xml":[`emotionml`],"application/epub+zip":[`epub`],"application/exi":[`exi`],"application/express":[`exp`],"application/fdf":[`fdf`],"application/fdt+xml":[`fdt`],"application/font-tdpfr":[`pfr`],"application/geo+json":[`geojson`],"application/gml+xml":[`gml`],"application/gpx+xml":[`gpx`],"application/gxf":[`gxf`],"application/gzip":[`gz`],"application/hjson":[`hjson`],"application/hyperstudio":[`stk`],"application/inkml+xml":[`ink`,`inkml`],"application/ipfix":[`ipfix`],"application/its+xml":[`its`],"application/java-archive":[`jar`,`war`,`ear`],"application/java-serialized-object":[`ser`],"application/java-vm":[`class`],"application/javascript":[`*js`],"application/json":[`json`,`map`],"application/json5":[`json5`],"application/jsonml+json":[`jsonml`],"application/ld+json":[`jsonld`],"application/lgr+xml":[`lgr`],"application/lost+xml":[`lostxml`],"application/mac-binhex40":[`hqx`],"application/mac-compactpro":[`cpt`],"application/mads+xml":[`mads`],"application/manifest+json":[`webmanifest`],"application/marc":[`mrc`],"application/marcxml+xml":[`mrcx`],"application/mathematica":[`ma`,`nb`,`mb`],"application/mathml+xml":[`mathml`],"application/mbox":[`mbox`],"application/media-policy-dataset+xml":[`mpf`],"application/mediaservercontrol+xml":[`mscml`],"application/metalink+xml":[`metalink`],"application/metalink4+xml":[`meta4`],"application/mets+xml":[`mets`],"application/mmt-aei+xml":[`maei`],"application/mmt-usd+xml":[`musd`],"application/mods+xml":[`mods`],"application/mp21":[`m21`,`mp21`],"application/mp4":[`*mp4`,`*mpg4`,`mp4s`,`m4p`],"application/msix":[`msix`],"application/msixbundle":[`msixbundle`],"application/msword":[`doc`,`dot`],"application/mxf":[`mxf`],"application/n-quads":[`nq`],"application/n-triples":[`nt`],"application/node":[`cjs`],"application/octet-stream":[`bin`,`dms`,`lrf`,`mar`,`so`,`dist`,`distz`,`pkg`,`bpk`,`dump`,`elc`,`deploy`,`exe`,`dll`,`deb`,`dmg`,`iso`,`img`,`msi`,`msp`,`msm`,`buffer`],"application/oda":[`oda`],"application/oebps-package+xml":[`opf`],"application/ogg":[`ogx`],"application/omdoc+xml":[`omdoc`],"application/onenote":[`onetoc`,`onetoc2`,`onetmp`,`onepkg`,`one`,`onea`],"application/oxps":[`oxps`],"application/p2p-overlay+xml":[`relo`],"application/patch-ops-error+xml":[`xer`],"application/pdf":[`pdf`],"application/pgp-encrypted":[`pgp`],"application/pgp-keys":[`asc`],"application/pgp-signature":[`sig`,`*asc`],"application/pics-rules":[`prf`],"application/pkcs10":[`p10`],"application/pkcs7-mime":[`p7m`,`p7c`],"application/pkcs7-signature":[`p7s`],"application/pkcs8":[`p8`],"application/pkix-attr-cert":[`ac`],"application/pkix-cert":[`cer`],"application/pkix-crl":[`crl`],"application/pkix-pkipath":[`pkipath`],"application/pkixcmp":[`pki`],"application/pls+xml":[`pls`],"application/postscript":[`ai`,`eps`,`ps`],"application/provenance+xml":[`provx`],"application/pskc+xml":[`pskcxml`],"application/raml+yaml":[`raml`],"application/rdf+xml":[`rdf`,`owl`],"application/reginfo+xml":[`rif`],"application/relax-ng-compact-syntax":[`rnc`],"application/resource-lists+xml":[`rl`],"application/resource-lists-diff+xml":[`rld`],"application/rls-services+xml":[`rs`],"application/route-apd+xml":[`rapd`],"application/route-s-tsid+xml":[`sls`],"application/route-usd+xml":[`rusd`],"application/rpki-ghostbusters":[`gbr`],"application/rpki-manifest":[`mft`],"application/rpki-roa":[`roa`],"application/rsd+xml":[`rsd`],"application/rss+xml":[`rss`],"application/rtf":[`rtf`],"application/sbml+xml":[`sbml`],"application/scvp-cv-request":[`scq`],"application/scvp-cv-response":[`scs`],"application/scvp-vp-request":[`spq`],"application/scvp-vp-response":[`spp`],"application/sdp":[`sdp`],"application/senml+xml":[`senmlx`],"application/sensml+xml":[`sensmlx`],"application/set-payment-initiation":[`setpay`],"application/set-registration-initiation":[`setreg`],"application/shf+xml":[`shf`],"application/sieve":[`siv`,`sieve`],"application/smil+xml":[`smi`,`smil`],"application/sparql-query":[`rq`],"application/sparql-results+xml":[`srx`],"application/sql":[`sql`],"application/srgs":[`gram`],"application/srgs+xml":[`grxml`],"application/sru+xml":[`sru`],"application/ssdl+xml":[`ssdl`],"application/ssml+xml":[`ssml`],"application/swid+xml":[`swidtag`],"application/tei+xml":[`tei`,`teicorpus`],"application/thraud+xml":[`tfi`],"application/timestamped-data":[`tsd`],"application/toml":[`toml`],"application/trig":[`trig`],"application/ttml+xml":[`ttml`],"application/ubjson":[`ubj`],"application/urc-ressheet+xml":[`rsheet`],"application/urc-targetdesc+xml":[`td`],"application/voicexml+xml":[`vxml`],"application/wasm":[`wasm`],"application/watcherinfo+xml":[`wif`],"application/widget":[`wgt`],"application/winhlp":[`hlp`],"application/wsdl+xml":[`wsdl`],"application/wspolicy+xml":[`wspolicy`],"application/xaml+xml":[`xaml`],"application/xcap-att+xml":[`xav`],"application/xcap-caps+xml":[`xca`],"application/xcap-diff+xml":[`xdf`],"application/xcap-el+xml":[`xel`],"application/xcap-ns+xml":[`xns`],"application/xenc+xml":[`xenc`],"application/xfdf":[`xfdf`],"application/xhtml+xml":[`xhtml`,`xht`],"application/xliff+xml":[`xlf`],"application/xml":[`xml`,`xsl`,`xsd`,`rng`],"application/xml-dtd":[`dtd`],"application/xop+xml":[`xop`],"application/xproc+xml":[`xpl`],"application/xslt+xml":[`*xsl`,`xslt`],"application/xspf+xml":[`xspf`],"application/xv+xml":[`mxml`,`xhvml`,`xvml`,`xvm`],"application/yang":[`yang`],"application/yin+xml":[`yin`],"application/zip":[`zip`],"application/zip+dotlottie":[`lottie`],"audio/3gpp":[`*3gpp`],"audio/aac":[`adts`,`aac`],"audio/adpcm":[`adp`],"audio/amr":[`amr`],"audio/basic":[`au`,`snd`],"audio/midi":[`mid`,`midi`,`kar`,`rmi`],"audio/mobile-xmf":[`mxmf`],"audio/mp3":[`*mp3`],"audio/mp4":[`m4a`,`mp4a`,`m4b`],"audio/mpeg":[`mpga`,`mp2`,`mp2a`,`mp3`,`m2a`,`m3a`],"audio/ogg":[`oga`,`ogg`,`spx`,`opus`],"audio/s3m":[`s3m`],"audio/silk":[`sil`],"audio/wav":[`wav`],"audio/wave":[`*wav`],"audio/webm":[`weba`],"audio/xm":[`xm`],"font/collection":[`ttc`],"font/otf":[`otf`],"font/ttf":[`ttf`],"font/woff":[`woff`],"font/woff2":[`woff2`],"image/aces":[`exr`],"image/apng":[`apng`],"image/avci":[`avci`],"image/avcs":[`avcs`],"image/avif":[`avif`],"image/bmp":[`bmp`,`dib`],"image/cgm":[`cgm`],"image/dicom-rle":[`drle`],"image/dpx":[`dpx`],"image/emf":[`emf`],"image/fits":[`fits`],"image/g3fax":[`g3`],"image/gif":[`gif`],"image/heic":[`heic`],"image/heic-sequence":[`heics`],"image/heif":[`heif`],"image/heif-sequence":[`heifs`],"image/hej2k":[`hej2`],"image/ief":[`ief`],"image/jaii":[`jaii`],"image/jais":[`jais`],"image/jls":[`jls`],"image/jp2":[`jp2`,`jpg2`],"image/jpeg":[`jpg`,`jpeg`,`jpe`],"image/jph":[`jph`],"image/jphc":[`jhc`],"image/jpm":[`jpm`,`jpgm`],"image/jpx":[`jpx`,`jpf`],"image/jxl":[`jxl`],"image/jxr":[`jxr`],"image/jxra":[`jxra`],"image/jxrs":[`jxrs`],"image/jxs":[`jxs`],"image/jxsc":[`jxsc`],"image/jxsi":[`jxsi`],"image/jxss":[`jxss`],"image/ktx":[`ktx`],"image/ktx2":[`ktx2`],"image/pjpeg":[`jfif`],"image/png":[`png`],"image/sgi":[`sgi`],"image/svg+xml":[`svg`,`svgz`],"image/t38":[`t38`],"image/tiff":[`tif`,`tiff`],"image/tiff-fx":[`tfx`],"image/webp":[`webp`],"image/wmf":[`wmf`],"message/disposition-notification":[`disposition-notification`],"message/global":[`u8msg`],"message/global-delivery-status":[`u8dsn`],"message/global-disposition-notification":[`u8mdn`],"message/global-headers":[`u8hdr`],"message/rfc822":[`eml`,`mime`,`mht`,`mhtml`],"model/3mf":[`3mf`],"model/gltf+json":[`gltf`],"model/gltf-binary":[`glb`],"model/iges":[`igs`,`iges`],"model/jt":[`jt`],"model/mesh":[`msh`,`mesh`,`silo`],"model/mtl":[`mtl`],"model/obj":[`obj`],"model/prc":[`prc`],"model/step":[`step`,`stp`,`stpnc`,`p21`,`210`],"model/step+xml":[`stpx`],"model/step+zip":[`stpz`],"model/step-xml+zip":[`stpxz`],"model/stl":[`stl`],"model/u3d":[`u3d`],"model/vrml":[`wrl`,`vrml`],"model/x3d+binary":[`*x3db`,`x3dbz`],"model/x3d+fastinfoset":[`x3db`],"model/x3d+vrml":[`*x3dv`,`x3dvz`],"model/x3d+xml":[`x3d`,`x3dz`],"model/x3d-vrml":[`x3dv`],"text/cache-manifest":[`appcache`,`manifest`],"text/calendar":[`ics`,`ifb`],"text/coffeescript":[`coffee`,`litcoffee`],"text/css":[`css`],"text/csv":[`csv`],"text/html":[`html`,`htm`,`shtml`],"text/jade":[`jade`],"text/javascript":[`js`,`mjs`],"text/jsx":[`jsx`],"text/less":[`less`],"text/markdown":[`md`,`markdown`],"text/mathml":[`mml`],"text/mdx":[`mdx`],"text/n3":[`n3`],"text/plain":[`txt`,`text`,`conf`,`def`,`list`,`log`,`in`,`ini`],"text/richtext":[`rtx`],"text/rtf":[`*rtf`],"text/sgml":[`sgml`,`sgm`],"text/shex":[`shex`],"text/slim":[`slim`,`slm`],"text/spdx":[`spdx`],"text/stylus":[`stylus`,`styl`],"text/tab-separated-values":[`tsv`],"text/troff":[`t`,`tr`,`roff`,`man`,`me`,`ms`],"text/turtle":[`ttl`],"text/uri-list":[`uri`,`uris`,`urls`],"text/vcard":[`vcard`],"text/vtt":[`vtt`],"text/wgsl":[`wgsl`],"text/xml":[`*xml`],"text/yaml":[`yaml`,`yml`],"video/3gpp":[`3gp`,`3gpp`],"video/3gpp2":[`3g2`],"video/h261":[`h261`],"video/h263":[`h263`],"video/h264":[`h264`],"video/iso.segment":[`m4s`],"video/jpeg":[`jpgv`],"video/jpm":[`*jpm`,`*jpgm`],"video/mj2":[`mj2`,`mjp2`],"video/mp2t":[`ts`,`m2t`,`m2ts`,`mts`],"video/mp4":[`mp4`,`mp4v`,`mpg4`],"video/mpeg":[`mpeg`,`mpg`,`mpe`,`m1v`,`m2v`],"video/ogg":[`ogv`],"video/quicktime":[`qt`,`mov`],"video/webm":[`webm`]};Object.freeze(Ti);var Ei=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},Di,Oi,ki,Ai=class{constructor(...e){Di.set(this,new Map),Oi.set(this,new Map),ki.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,r]of Object.entries(e)){n=n.toLowerCase(),r=r.map(e=>e.toLowerCase()),Ei(this,ki,`f`).has(n)||Ei(this,ki,`f`).set(n,new Set);let e=Ei(this,ki,`f`).get(n),i=!0;for(let a of r){let r=a.startsWith(`*`);if(a=r?a.slice(1):a,e?.add(a),i&&Ei(this,Oi,`f`).set(n,a),i=!1,r)continue;let o=Ei(this,Di,`f`).get(a);if(o&&o!=n&&!t)throw Error(`"${n} -> ${a}" conflicts with "${o} -> ${a}". Pass \`force=true\` to override this definition.`);Ei(this,Di,`f`).set(a,n)}}return this}getType(e){if(typeof e!=`string`)return null;let t=e.replace(/^.*[/\\]/s,``).toLowerCase(),n=t.replace(/^.*\./s,``).toLowerCase(),r=t.length<e.length;return!(n.length<t.length-1)&&r?null:Ei(this,Di,`f`).get(n)??null}getExtension(e){return typeof e==`string`?(e=e?.split?.(`;`)[0],(e&&Ei(this,Oi,`f`).get(e.trim().toLowerCase()))??null):null}getAllExtensions(e){return typeof e==`string`?Ei(this,ki,`f`).get(e.toLowerCase())??null:null}_freeze(){this.define=()=>{throw Error(`define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances`)},Object.freeze(this);for(let e of Ei(this,ki,`f`).values())Object.freeze(e);return this}_getTestState(){return{types:Ei(this,Di,`f`),extensions:Ei(this,Oi,`f`)}}};Di=new WeakMap,Oi=new WeakMap,ki=new WeakMap;var ji=new Ai(Ti,wi)._freeze();function Mi(e){return/#set\s*\(\s*.*=.*\)/.test(e)}function Ni(e){let t=e.indexOf(`(`);if(t<0)return!0;let n=0,r=``,i=!1;for(let a=t;a<e.length;a++){let t=e[a];if(i){i=!1;continue}if(t===`\\`){i=!0;continue}if(r){t===r&&(r=``);continue}if(t===`"`||t===`'`){r=t;continue}if(t===`(`){n++;continue}if(t===`)`&&(n--,n<0))return!1}return n===0}function Pi(e){return(t,n,r)=>Ni(t)?e(t,n,r):!1}function Fi(e){return t=>Ni(t.startsWith(`<!--`)&&t.endsWith(`-->`)?t.slice(4,-3):t)?e(t):!1}function Ii(e){return(t,n,r)=>Ni(t)?Mi(t)?e(t,n,r):t:!1}function Li(e){return t=>{let n=t.startsWith(`<!--`)&&t.endsWith(`-->`)?t.slice(4,-3):t;return Ni(n)?Mi(n)?e(t):t:!1}}function Ri(e){let t=/[<>&]/g;for(;t.exec(e)!==null;)return!0;return!1}function zi(e,t){let n=e.length;for(let r=0;r<n;r++){let n=e.charCodeAt(r);if(n===0||t===`"`&&n===34||t===`'`&&n===39||t===``&&(n===32||n===9||n===10||n===13||n===12||n===34||n===39||n===60||n===62||n===61||n===96))return!1}return!0}function Bi(e){let t=new Uint8Array(e);crypto.getRandomValues(t);let n=``;for(let r=0;r<e;r++){let e=t[r]%62;n+=`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`.charAt(e)}return n}var Vi=8,Hi=new class{_byKey=Object.create(null);_byValue=Object.create(null);getOrCreateByKey(e){let t=this._byKey[e];return t===void 0&&(t=Bi(Vi),this._byKey[e]=t,this._byValue[t]=e),t}getByValue(e){return this._byValue[e]}};function Ui(e,t){return t!==void 0&&!zi(e,t)?`%|{${Hi.getOrCreateByKey(e)}}|%`:e}function Wi(e){let t=Hi.getByValue(e.slice(3,e.length-3));return t===void 0?e:t}function Gi(e,t,n){return t===void 0?`<!--${e}-->`:zi(e,t)?e:`%|{${Hi.getOrCreateByKey(e)}}|%`}function Ki(e){return e.replace(/&gt;/g,`>`).replace(/&lt;/g,`<`).replace(/&amp;/g,`&`)}function qi(e){return e.startsWith(`<!--`)&&e.endsWith(`-->`)?Ki(e.slice(4,-3)):e}function Ji(e){let t=/^(IF|ELSE|ELSIF|ELSEIF|END|FOREACH|WHILE|NEXT|LAST|BREAK|DO|UNLESS|CONTINUE|SET|UNSET|DEFINE|INCLUDE)\b/i,n=/\w+\s*\(/,r=e,i=e.match(/\[%\s*([^%]*?)\s*%\]/);i&&(r=i[1]);let a=r.trim();return t.test(a)||n.test(a)}function Yi(e,t,n){return t===void 0?n||Ri(e)||Ji(e)?`<!--${e}-->`:e:zi(e,t)?e:`%|{${Hi.getOrCreateByKey(e)}}|%`}var Xi=Pi(Gi),Zi=Fi(qi),Qi=Ii(Gi),$i=Li(qi),ea=e=>{e.escape(`<!--`,`-->`,e=>e,!1),e.escape(`<style`,`</style>`,e=>e,!1),e.escape(`<script`,`<\/script>`,e=>e,!1),e.unescape(`%|{`,`}|%`,Wi),e.escape(`@{`,`}`,Gi,!0).unescape(`<!--@{`,`}-->`,qi,!0),e.unescape(`<!--%%%{{{`,`}}}%%%-->`,e=>e.substring(10,e.length-9),!1),e.escape("${",`}`,Ui,!0),e.escape(`{{`,`}}`,Ui,!0),e.escape(`{%`,`%}`,Gi).unescape(`<!--{%`,`%}-->`,qi),e.escape(`{#`,`#}`,Gi).unescape(`<!--{#`,`#}-->`,qi),e.escape(`[%`,`%]`,Yi,!0).unescape(`<!--[%`,`%]-->`,qi,!0),e.createSyntax(`getresponse`).escape(`[[IF`,`]]`,Gi).escape(`[[if`,`]]`,Gi).escape(`[[ELSE]]`,``,Gi).escape(`[[else]]`,``,Gi).escape(`[[ENDIF]]`,``,Gi).escape(`[[endif]]`,``,Gi).unescape(`<!--[[IF`,`]]-->`,qi).unescape(`<!--[[if`,`]]-->`,qi).unescape(`<!--[[ELSE]]`,`-->`,qi).unescape(`<!--[[else]]`,`-->`,qi).unescape(`<!--[[ENDIF]]`,`-->`,qi).unescape(`<!--[[endif]]`,`-->`,qi),e.createSyntax(`ExpertSender`).escape(`<if`,`>`,Gi).escape(`</if`,`>`,Gi).escape(`<else`,`>`,Gi).escape(`</else`,`>`,Gi).escape(`<var `,`>`,Gi,!0).unescape(`<!--<if `,`>-->`,qi).unescape(`<!--</if`,`>-->`,qi).unescape(`<!--<else `,`>-->`,qi).unescape(`<!--</else`,`>-->`,qi).unescape(`<!--<var`,`>-->`,qi,!0),e.createSyntax(`velocity`).escape(`#if`,`)`,Xi).escape(`#elseif`,`)`,Xi).escape(`#else`,``,Gi).escape(`#foreach`,`)`,Xi).escape(`#macro`,`)`,Xi).escape(`#set`,`)`,Qi,!0).escape(`#parse`,`)`,Xi).escape(`#include`,`)`,Xi).escape(`#evaluate`,`)`,Xi).escape(`#end`,``,Gi).escape(`#break`,``,Gi).escape(`#stop`,``,Gi).unescape(`<!--#macro`,`-->`,Zi).unescape(`<!--#if`,`-->`,Zi).unescape(`<!--#elseif`,`-->`,Zi).unescape(`<!--#else`,`-->`,qi).unescape(`<!--#foreach`,`-->`,Zi).unescape(`<!--#parse`,`-->`,Zi).unescape(`<!--#include`,`-->`,Zi).unescape(`<!--#evaluate`,`-->`,Zi).unescape(`<!--#end`,`-->`,qi).unescape(`<!--#break`,`-->`,qi).unescape(`<!--#stop`,`-->`,qi).unescape(`<!--#set`,`-->`,$i,!0),e.escape(`*|`,`|*`,Gi).unescape(`<!--*|`,`|*-->`,qi)};function ta(e,t,n,r){for(let i=t;i<n;i++){let t=e[i];r.insideAttributeValue?r.attributeQuoteChar===`"`||r.attributeQuoteChar===`'`?t===r.attributeQuoteChar&&(r.insideAttributeValue=!1,r.attributeQuoteChar=void 0):r.unquotedAttr&&/[\s>]/.test(t)&&(r.insideAttributeValue=!1,r.attributeQuoteChar=void 0,r.unquotedAttr=!1):t===`<`?r.insideTag=!0:t===`>`?r.insideTag=!1:r.insideTag&&(t===`"`||t===`'`)?(r.insideAttributeValue=!0,r.attributeQuoteChar=t,r.unquotedAttr=!1):r.insideTag&&/\S/.test(t)&&r.attributeQuoteChar===void 0&&e[i-1]===`=`&&![`"`,`'`,"`"].includes(t)&&(r.insideAttributeValue=!0,r.attributeQuoteChar=``,r.unquotedAttr=!0)}}function na(e,t){return e.start<t.end&&t.start<e.end}function ra(e,t,n,r,i=[]){if(n&&(t=t.filter(e=>e.isVariable)),!t.length)return[];let a=t.flatMap(t=>t.match(e).flatMap(n=>!Number.isInteger(n.start)||!Number.isInteger(n.end)||n.start<0||n.end>e.length||n.start>=n.end?[]:[{range:n,mapFn:t.mapFn,overrideBuiltins:t.overrideBuiltins}])).sort((e,t)=>e.range.start-t.range.start||e.range.end-t.range.end),o=[],s=i.slice().sort((e,t)=>e.start-t.start),c={insideTag:!1,insideAttributeValue:!1,attributeQuoteChar:void 0,unquotedAttr:!1},l=0;for(let{range:t,mapFn:n,overrideBuiltins:i}of a){if(r?(c.insideAttributeValue=!0,c.attributeQuoteChar=`"`):ta(e,l,t.start,c),l=t.end,s.some(e=>na(e,t)))continue;let a=c.insideAttributeValue?c.attributeQuoteChar??``:void 0,u=e.substring(t.start,t.end),d=n(u,a,c.insideTag);d!==!1&&d!==u&&(o.push({range:t,text:d,overrideBuiltins:i}),s.push(t))}return o.sort((e,t)=>e.range.start-t.range.start||e.range.end-t.range.end)}function ia(e,t){let n=t.reduce((e,{mapFn:t,start:n,end:r,syntax:i})=>(e[n]||(e[n]=[]),e[n].push({value:r,mapFn:t,syntax:i}),e),Object.create(null)),r=Object.keys(n).map(e=>e.replace(/[-[\]{}()*+?.,\\^$|]/g,`\\$&`)).join(`|`),i=new RegExp(r,`g`),a=[],o;for(;(o=i.exec(e))!==null;){let e=o[0];a.push({start:o.index,startToken:e,endTokens:n[e]})}return a}function aa(e,t,n,r,i=!1){let a=[];if(n&&(t=t.filter(e=>e.isVariable)),!t.length)return a;let o=ia(e,t),s={insideTag:!1,insideAttributeValue:!1,attributeQuoteChar:void 0,unquotedAttr:!1},c=0;for(let t=0;t<o.length;t++){let{start:n,startToken:l,endTokens:u}=o[t];r?(s.insideAttributeValue=!0,s.attributeQuoteChar=`"`):ta(e,c,n,s),c=n;let d=s.insideAttributeValue?s.attributeQuoteChar??``:void 0,f=!1;for(let{mapFn:r,value:c}of u){let u=n+l.length,p=e.indexOf(c,u);for(;p!==-1;){let m=p,h=n+l.length,g=0;for(;m!==-1;){let t=e.indexOf(l,h);if(t!==-1&&t<m)g++,h=t+l.length,m=e.indexOf(c,h);else if(g>0)g--,h=m+c.length,m=e.indexOf(c,h);else break}if(m<0)break;let _=m+c.length,v=e.substring(n,_),y=r(v,d,s.insideTag);if(y===!1){u=p+Math.max(c.length,1),p=e.indexOf(c,u);continue}(i||y!==v)&&a.push({range:{start:n,end:_},text:i?v:y});let b=o.findIndex(({start:e})=>e>=_);t=b>t?b-1:o.length,f=!0;break}if(f)break}}return a}function oa(e,t){if(!t.length)return e;let n=t.slice().sort((e,t)=>t.range.start-e.range.start),r=e;for(let{text:e,range:t}of n)r=r.slice(0,t.start)+e+r.slice(t.end);return r}var sa=class{_disposables=[];_escapes=[];_unescapes=[];_escapeMatchers=[];_unescapeMatchers=[];constructor(e=ea){let{_escapes:t,_unescapes:n}=this;e({createSyntax(e){return{...this,syntax:e}},escape(e,n,r,i){return t.push({start:e,end:n,mapFn:r,isVariable:i,syntax:this.syntax||e}),this},unescape(e,t,r,i){return n.push({start:e,end:t,mapFn:r,isVariable:i,syntax:this.syntax||e}),this}})}registerMatcherPair(e){let t=e.syntax||`matcher`,n={syntax:t,match:e.escape.match,mapFn:e.escape.mapFn,isVariable:e.escape.isVariable,overrideBuiltins:e.escape.overrideBuiltins},r={syntax:t,match:e.unescape.match,mapFn:e.unescape.mapFn,isVariable:e.unescape.isVariable,overrideBuiltins:e.unescape.overrideBuiltins};this._escapeMatchers.push(n),this._unescapeMatchers.push(r);let i=!1,a={dispose:()=>{i||(i=!0,this._escapeMatchers=this._escapeMatchers.filter(e=>e!==n),this._unescapeMatchers=this._unescapeMatchers.filter(e=>e!==r))}};return this.addDisposable(a),a}getMappings(e,t,n){let r=aa(e,this._escapes,t,n),i=ra(e,this._escapeMatchers,t,n),a=i.filter(e=>e.overrideBuiltins).map(e=>e.range),o=r.filter(e=>!a.some(t=>na(t,e.range))),s=i.filter(e=>e.overrideBuiltins||!o.some(t=>na(e.range,t.range)));return[...o,...s].sort((e,t)=>e.range.start-t.range.start||e.range.end-t.range.end)}getRevertMappings(e,t){let n=aa(e,this._unescapes,t),r=ra(e,this._unescapeMatchers,t,!1),i=r.filter(e=>e.overrideBuiltins).map(e=>e.range),a=n.filter(e=>!i.some(t=>na(t,e.range))),o=r.filter(e=>e.overrideBuiltins||!a.some(t=>na(e.range,t.range)));return[...a,...o].sort((e,t)=>e.range.start-t.range.start||e.range.end-t.range.end)}getDetectedMappings(e,t,n){return aa(e,this._escapes,t,n,!0)}getEscapedText(e,t){return oa(e,this.getMappings(e,t))}getUnescapedText(e,t){return oa(e,this.getRevertMappings(e,t))}hasDetectedMappings(e,t,n){return this.getDetectedMappings(e,t,n).length>0}addDisposable(e){this._disposables.push(e)}dispose(){for(let e of this._disposables)e.dispose()}},ca=function(e){return e[e.HTML=0]=`HTML`,e[e.ELEMENT=1]=`ELEMENT`,e[e.ROOT=2]=`ROOT`,e[e.COMMENT=3]=`COMMENT`,e[e.DOCTYPE=4]=`DOCTYPE`,e[e.ADVANCED=5]=`ADVANCED`,e}({}),la=e=>e.type===0?e.start-1:e.start,ua=e=>e.type===0?e.end+1:e.end,da=class e{start;end;children;parent;content;type=1;tag;closed=!1;startTagEnd;endTagStart;attributes;get attributeNames(){return this.attributes?Object.keys(this.attributes):[]}createdBy;isDirty;get root(){return this.parent?this.parent.root:this}constructor(e,t,n,r){this.start=e,this.end=t,this.children=n,this.parent=r}isSameTag(e){return this.tag===void 0?e===void 0:e!==void 0&&this.tag.length===e.length&&this.tag.toLowerCase()===e}get firstChild(){return this.children[0]}get lastChild(){return this.children.length?this.children[this.children.length-1]:void 0}findNodeBefore(e){let t=va(this.children,t=>e<=la(t))-1;if(t>=0){let n=this.children[t];if(e>la(n)){if(e<n.end)return n.findNodeBefore(e);let t=n.lastChild;return t&&t.end===n.end?n.findNodeBefore(e):n}}return this}findNodeAt(e){let t=va(this.children,t=>e<=la(t))-1;if(t>=0){let n=this.children[t];if(e>=la(n)&&e<=ua(n))return n.findNodeAt(e)}return this}find(e){if(e(this))return this;for(let t of this.children){let n=t.find(e);if(n)return n}}closest(e){let t=this;do if(e(t))return t;while(t=t.parent)}parents(){return this.parent?[this.parent,...this.parent.parents()]:[]}closestFromRoot(e,t=!0){let n=t?[this,...this.parents()]:this.parents();for(let t=n.length-1;t>=0;t--){let r=n[t];if(e(r))return r}}contains(e){return!!e.closest(e=>e===this)}clone(t=this.parent,n=this.start,r=!0){let i=this.start-n,a=new e(n,this.end-i,[],t);return a.children=r?this.children.map(e=>e.clone(a,e.start-i)):[],a.attributes={...this.attributes},a.closed=this.closed,a.content=this.content,a.startTagEnd=this.startTagEnd,a.endTagStart=this.endTagStart,a.tag=this.tag,a.type=this.type,a}},fa=new Set([`area`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`vk-snippet-end`]);function pa(e){return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g,(e,t)=>t.toUpperCase())}var ma=Object.create(null);function ha(e,t){let n=ma[e]||(ma[e]=Object.create(null)),r=n[t];if(typeof r!=`boolean`){let i=document.createElement(e)[pa(t)];r=n[t]=i!==void 0&&typeof i!=`boolean`}return r}function ga(e){let t=e.tag?.toLowerCase(),n=``;if(t){let r=e.attributes;if(r){let e=Object.keys(r);for(let i of e){let e=r[i]===null?``:r[i];typeof e==`string`&&(n+=e===``&&i!==`em`&&!ha(t,i)?` ${i}`:` ${i}="${e.replaceAll(`"`,`'`)}"`)}}}return n}function _a(e,t){if(e.start!==e.startTagEnd||t){let t=e.tag?.toLowerCase()||`div`,n=ga(e);return t===`vk-snippet-end`?`<${t}${n}/>`:`<${t}${n}>`}return``}function va(e,t){let n=0,r=e.length;if(r===0)return 0;for(;n<r;){let i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function ya(e){return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g,(e,t)=>t.toUpperCase())}function ba(e){return`<!DOCTYPE `+e.name+(e.publicId?` PUBLIC "`+e.publicId+`"`:``)+(!e.publicId&&e.systemId?` SYSTEM`:``)+(e.systemId?` "`+e.systemId+`"`:``)+`>`}var xa=Object.create(null);function Sa(e,t){let n=xa[e]||(xa[e]=Object.create(null)),r=n[t];if(typeof r!=`boolean`){let i=document.createElement(e)[ya(t)];r=n[t]=i!==void 0&&typeof i!=`boolean`}return r}function Ca(e){return e.nodeType===Node.ELEMENT_NODE}function wa(e){return Ca(e)&&!e.ownerSVGElement}function Ta(e){return e.tagName===`IMG`}function Ea(e){return e.tagName===`AMP-IMG`}function Da(e){return e.tagName===`BODY`}function Oa(e){return e.tagName===`FORM`}function ka(e){return e.tagName===`HTML`}function Aa(e){return e.tagName===`STYLE`}function ja(e){return e.nodeType===Node.DOCUMENT_NODE}function Ma(e){return e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}function Na(e){return e.nodeType===Node.DOCUMENT_TYPE_NODE}var Pa;(function(e){function t(e){return e.constructor.name===`CSSStyleRule`}e.isStyleRule=t;function n(e){return e.constructor.name===`CSSImportRule`}e.isImportRule=n;function r(e){return e.constructor.name===`CSSMediaRule`}e.isMediaRule=r;function i(e){return e.constructor.name===`CSSFontFaceRule`}e.isFontFaceRule=i;function a(e){return e.constructor.name===`CSSPageRule`}e.isPageRule=a;function o(e){return e.constructor.name===`CSSKeyframesRule`}e.isKeyframesRule=o;function s(e){return e.constructor.name===`CSSKeyframeRule`}e.isKeyframeRuleRule=s;function c(e){return e.constructor.name===`CSSNamespaceRule`}e.isNamespaceRule=c;function l(e){return e.constructor.name===`CSSCounterStyleRule`}e.isCounterStyleRule=l;function u(e){return e.constructor.name===`CSSSupportsRule`}e.isSupportsRule=u;function d(e){return e.constructor.name===`CSSFontFeatureValuesRule`}e.isFontFeatureValuesRuleRule=d})(Pa||={});function Fa(e){return e.nodeType===Node.COMMENT_NODE}function Ia(e){return e&&!!e.host&&!!e.mode}function La(e){let t=e.getRootNode()||window.document;return Ia(t)?t:null}var Ra=/(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;function za(e){let t=Ua(e).matchAll(Ra);if(t)for(let e of t){let[,t,,n,r]=e;return{open:t,close:r,content:n}}}function Ba(e){return e.nodeType===Node.TEXT_NODE}function Va(e){return e.tagName===`TABLE`}async function Ha(e,t=5e3){return e.complete!==void 0&&!e.complete?new Promise((n,r)=>{setTimeout(n,t),e.onload=()=>n(getComputedStyle(e)),e.onerror=e=>void 0}):getComputedStyle(e)}function Ua(e){if(Ca(e))return Ka(e);if(ja(e))return[...e.childNodes].map(e=>Ua(e)).join(``);if(Na(e))return ba(e);let t=document.createElement(`div`);return t.appendChild(e.cloneNode(!0)),t.innerHTML}function Wa(e){let t=e.tagName.toLowerCase(),n=``;for(let r of e.attributes){let e=r.name,i=r.value;n+=i===``&&e!==`em`&&!Sa(t,e)?` ${e}`:` ${e}="${i.replaceAll(`"`,`'`)}"`}return n}function Ga(e){let t=``;for(let n of e.childNodes)t+=Ua(n);return t}function Ka(e){let t=Object.getOwnPropertyDescriptor(e,`$$tagName`)?.value||e.tagName.toLowerCase(),n=Wa(e);return fa.has(t.toLowerCase())?t===`vk-snippet-end`?`<${t}${n}/>`:`<${t}${n}>`:Aa(e)?`<${t}${n}>${e.innerHTML}</${t}>`:`<${t}${n}>${Ga(e)}</${t}>`}function qa(e,t){for(let t of[...e.childNodes])t.remove();let n=t.find(e=>ka(e)),r=t.find(e=>Da(e)),i=e;n||(n=document.createElement(`html`),e.appendChild(n),i=n,r||(r=document.createElement(`body`),n.appendChild(r),i=r));for(let n of t){if(i===e&&Ba(n)){i.appendChild(document.createComment(`%%%{{{${n.data}}}}%%%`));continue}i.appendChild(n)}}var Ja=class{_voidElements;constructor(e){this._voidElements=new Set(e)}isVoidElement(e){return this._voidElements.has(e.toLowerCase())}},Ya;(function(e){function t(e){return typeof e==`string`}e.is=t})(Ya||={});var Xa;(function(e){function t(e){return typeof e==`string`}e.is=t})(Xa||={});var Za;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(t){return typeof t==`number`&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}e.is=t})(Za||={});var Qa;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(t){return typeof t==`number`&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}e.is=t})(Qa||={});var $a;(function(e){function t(e,t){return e===Number.MAX_VALUE&&(e=Qa.MAX_VALUE),t===Number.MAX_VALUE&&(t=Qa.MAX_VALUE),{line:e,character:t}}e.create=t;function n(e){let t=e;return Q.objectLiteral(t)&&Q.uinteger(t.line)&&Q.uinteger(t.character)}e.is=n})($a||={});var eo;(function(e){function t(e,t,n,r){if(Q.uinteger(e)&&Q.uinteger(t)&&Q.uinteger(n)&&Q.uinteger(r))return{start:$a.create(e,t),end:$a.create(n,r)};if($a.is(e)&&$a.is(t))return{start:e,end:t};throw Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`)}e.create=t;function n(e){let t=e;return Q.objectLiteral(t)&&$a.is(t.start)&&$a.is(t.end)}e.is=n})(eo||={});var to;(function(e){function t(e,t){return{uri:e,range:t}}e.create=t;function n(e){let t=e;return Q.objectLiteral(t)&&eo.is(t.range)&&(Q.string(t.uri)||Q.undefined(t.uri))}e.is=n})(to||={});var no;(function(e){function t(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}}e.create=t;function n(e){let t=e;return Q.objectLiteral(t)&&eo.is(t.targetRange)&&Q.string(t.targetUri)&&eo.is(t.targetSelectionRange)&&(eo.is(t.originSelectionRange)||Q.undefined(t.originSelectionRange))}e.is=n})(no||={});var ro;(function(e){function t(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}}e.create=t;function n(e){let t=e;return Q.objectLiteral(t)&&Q.numberRange(t.red,0,1)&&Q.numberRange(t.green,0,1)&&Q.numberRange(t.blue,0,1)&&Q.numberRange(t.alpha,0,1)}e.is=n})(ro||={});var io;(function(e){function t(e,t){return{range:e,color:t}}e.create=t;function n(e){let t=e;return Q.objectLiteral(t)&&eo.is(t.range)&&ro.is(t.color)}e.is=n})(io||={});var ao;(function(e){function t(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}}e.create=t;function n(e){let t=e;return Q.objectLiteral(t)&&Q.string(t.label)&&(Q.undefined(t.textEdit)||ho.is(t))&&(Q.undefined(t.additionalTextEdits)||Q.typedArray(t.additionalTextEdits,ho.is))}e.is=n})(ao||={});var oo;(function(e){e.Comment=`comment`,e.Imports=`imports`,e.Region=`region`})(oo||={});var so;(function(e){function t(e,t,n,r,i,a){let o={startLine:e,endLine:t};return Q.defined(n)&&(o.startCharacter=n),Q.defined(r)&&(o.endCharacter=r),Q.defined(i)&&(o.kind=i),Q.defined(a)&&(o.collapsedText=a),o}e.create=t;function n(e){let t=e;return Q.objectLiteral(t)&&Q.uinteger(t.startLine)&&Q.uinteger(t.startLine)&&(Q.undefined(t.startCharacter)||Q.uinteger(t.startCharacter))&&(Q.undefined(t.endCharacter)||Q.uinteger(t.endCharacter))&&(Q.undefined(t.kind)||Q.string(t.kind))}e.is=n})(so||={});var co;(function(e){function t(e,t){return{location:e,message:t}}e.create=t;function n(e){let t=e;return Q.defined(t)&&to.is(t.location)&&Q.string(t.message)}e.is=n})(co||={});var lo;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(lo||={});var uo;(function(e){e.Unnecessary=1,e.Deprecated=2})(uo||={});var fo;(function(e){function t(e){let t=e;return Q.objectLiteral(t)&&Q.string(t.href)}e.is=t})(fo||={});var po;(function(e){function t(e,t,n,r,i,a){let o={range:e,message:t};return Q.defined(n)&&(o.severity=n),Q.defined(r)&&(o.code=r),Q.defined(i)&&(o.source=i),Q.defined(a)&&(o.relatedInformation=a),o}e.create=t;function n(e){let t=e;return Q.defined(t)&&eo.is(t.range)&&Q.string(t.message)&&(Q.number(t.severity)||Q.undefined(t.severity))&&(Q.integer(t.code)||Q.string(t.code)||Q.undefined(t.code))&&(Q.undefined(t.codeDescription)||Q.string(t.codeDescription?.href))&&(Q.string(t.source)||Q.undefined(t.source))&&(Q.undefined(t.relatedInformation)||Q.typedArray(t.relatedInformation,co.is))}e.is=n})(po||={});var mo;(function(e){function t(e,t,...n){let r={title:e,command:t};return Q.defined(n)&&n.length>0&&(r.arguments=n),r}e.create=t;function n(e){let t=e;return Q.defined(t)&&Q.string(t.title)&&Q.string(t.command)}e.is=n})(mo||={});var ho;(function(e){function t(e,t){return{range:e,newText:t}}e.replace=t;function n(e,t){return{range:{start:e,end:e},newText:t}}e.insert=n;function r(e){return{range:e,newText:``}}e.del=r;function i(e){let t=e;return Q.objectLiteral(t)&&Q.string(t.newText)&&eo.is(t.range)}e.is=i})(ho||={});var go;(function(e){function t(e,t,n){let r={label:e};return t!==void 0&&(r.needsConfirmation=t),n!==void 0&&(r.description=n),r}e.create=t;function n(e){let t=e;return Q.objectLiteral(t)&&Q.string(t.label)&&(Q.boolean(t.needsConfirmation)||t.needsConfirmation===void 0)&&(Q.string(t.description)||t.description===void 0)}e.is=n})(go||={});var _o;(function(e){function t(e){let t=e;return Q.string(t)}e.is=t})(_o||={});var vo;(function(e){function t(e,t,n){return{range:e,newText:t,annotationId:n}}e.replace=t;function n(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}}e.insert=n;function r(e,t){return{range:e,newText:``,annotationId:t}}e.del=r;function i(e){let t=e;return ho.is(t)&&(go.is(t.annotationId)||_o.is(t.annotationId))}e.is=i})(vo||={});var yo;(function(e){function t(e,t){return{textDocument:e,edits:t}}e.create=t;function n(e){let t=e;return Q.defined(t)&&Eo.is(t.textDocument)&&Array.isArray(t.edits)}e.is=n})(yo||={});var bo;(function(e){function t(e,t,n){let r={kind:`create`,uri:e};return t!==void 0&&(t.overwrite!==void 0||t.ignoreIfExists!==void 0)&&(r.options=t),n!==void 0&&(r.annotationId=n),r}e.create=t;function n(e){let t=e;return t&&t.kind===`create`&&Q.string(t.uri)&&(t.options===void 0||(t.options.overwrite===void 0||Q.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||Q.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||_o.is(t.annotationId))}e.is=n})(bo||={});var xo;(function(e){function t(e,t,n,r){let i={kind:`rename`,oldUri:e,newUri:t};return n!==void 0&&(n.overwrite!==void 0||n.ignoreIfExists!==void 0)&&(i.options=n),r!==void 0&&(i.annotationId=r),i}e.create=t;function n(e){let t=e;return t&&t.kind===`rename`&&Q.string(t.oldUri)&&Q.string(t.newUri)&&(t.options===void 0||(t.options.overwrite===void 0||Q.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||Q.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||_o.is(t.annotationId))}e.is=n})(xo||={});var So;(function(e){function t(e,t,n){let r={kind:`delete`,uri:e};return t!==void 0&&(t.recursive!==void 0||t.ignoreIfNotExists!==void 0)&&(r.options=t),n!==void 0&&(r.annotationId=n),r}e.create=t;function n(e){let t=e;return t&&t.kind===`delete`&&Q.string(t.uri)&&(t.options===void 0||(t.options.recursive===void 0||Q.boolean(t.options.recursive))&&(t.options.ignoreIfNotExists===void 0||Q.boolean(t.options.ignoreIfNotExists)))&&(t.annotationId===void 0||_o.is(t.annotationId))}e.is=n})(So||={});var Co;(function(e){function t(e){let t=e;return t&&(t.changes!==void 0||t.documentChanges!==void 0)&&(t.documentChanges===void 0||t.documentChanges.every(e=>Q.string(e.kind)?bo.is(e)||xo.is(e)||So.is(e):yo.is(e)))}e.is=t})(Co||={});var wo;(function(e){function t(e){return{uri:e}}e.create=t;function n(e){let t=e;return Q.defined(t)&&Q.string(t.uri)}e.is=n})(wo||={});var To;(function(e){function t(e,t){return{uri:e,version:t}}e.create=t;function n(e){let t=e;return Q.defined(t)&&Q.string(t.uri)&&Q.integer(t.version)}e.is=n})(To||={});var Eo;(function(e){function t(e,t){return{uri:e,version:t}}e.create=t;function n(e){let t=e;return Q.defined(t)&&Q.string(t.uri)&&(t.version===null||Q.integer(t.version))}e.is=n})(Eo||={});var Do;(function(e){function t(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}}e.create=t;function n(e){let t=e;return Q.defined(t)&&Q.string(t.uri)&&Q.string(t.languageId)&&Q.integer(t.version)&&Q.string(t.text)}e.is=n})(Do||={});var Oo;(function(e){e.PlainText=`plaintext`,e.Markdown=`markdown`;function t(t){let n=t;return n===e.PlainText||n===e.Markdown}e.is=t})(Oo||={});var ko;(function(e){function t(e){let t=e;return Q.objectLiteral(e)&&Oo.is(t.kind)&&Q.string(t.value)}e.is=t})(ko||={});var Ao;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(Ao||={});var jo;(function(e){e.PlainText=1,e.Snippet=2})(jo||={});var Mo;(function(e){e.Deprecated=1})(Mo||={});var No;(function(e){function t(e,t,n){return{newText:e,insert:t,replace:n}}e.create=t;function n(e){let t=e;return t&&Q.string(t.newText)&&eo.is(t.insert)&&eo.is(t.replace)}e.is=n})(No||={});var Po;(function(e){e.asIs=1,e.adjustIndentation=2})(Po||={});var Fo;(function(e){function t(e){let t=e;return t&&(Q.string(t.detail)||t.detail===void 0)&&(Q.string(t.description)||t.description===void 0)}e.is=t})(Fo||={});var Io;(function(e){function t(e){return{label:e}}e.create=t})(Io||={});var Lo;(function(e){function t(e,t){return{items:e||[],isIncomplete:!!t}}e.create=t})(Lo||={});var Ro;(function(e){function t(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,`\\$&`)}e.fromPlainText=t;function n(e){let t=e;return Q.string(t)||Q.objectLiteral(t)&&Q.string(t.language)&&Q.string(t.value)}e.is=n})(Ro||={});var zo;(function(e){function t(e){let t=e;return!!t&&Q.objectLiteral(t)&&(ko.is(t.contents)||Ro.is(t.contents)||Q.typedArray(t.contents,Ro.is))&&(e.range===void 0||eo.is(e.range))}e.is=t})(zo||={});var Bo;(function(e){function t(e,t){return t?{label:e,documentation:t}:{label:e}}e.create=t})(Bo||={});var Vo;(function(e){function t(e,t,...n){let r={label:e};return Q.defined(t)&&(r.documentation=t),Q.defined(n)?r.parameters=n:r.parameters=[],r}e.create=t})(Vo||={});var Ho;(function(e){e.Text=1,e.Read=2,e.Write=3})(Ho||={});var Uo;(function(e){function t(e,t){let n={range:e};return Q.number(t)&&(n.kind=t),n}e.create=t})(Uo||={});var Wo;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(Wo||={});var Go;(function(e){e.Deprecated=1})(Go||={});var Ko;(function(e){function t(e,t,n,r,i){let a={name:e,kind:t,location:{uri:r,range:n}};return i&&(a.containerName=i),a}e.create=t})(Ko||={});var qo;(function(e){function t(e,t,n,r){return r===void 0?{name:e,kind:t,location:{uri:n}}:{name:e,kind:t,location:{uri:n,range:r}}}e.create=t})(qo||={});var Jo;(function(e){function t(e,t,n,r,i,a){let o={name:e,detail:t,kind:n,range:r,selectionRange:i};return a!==void 0&&(o.children=a),o}e.create=t;function n(e){let t=e;return t&&Q.string(t.name)&&Q.number(t.kind)&&eo.is(t.range)&&eo.is(t.selectionRange)&&(t.detail===void 0||Q.string(t.detail))&&(t.deprecated===void 0||Q.boolean(t.deprecated))&&(t.children===void 0||Array.isArray(t.children))&&(t.tags===void 0||Array.isArray(t.tags))}e.is=n})(Jo||={});var Yo;(function(e){e.Empty=``,e.QuickFix=`quickfix`,e.Refactor=`refactor`,e.RefactorExtract=`refactor.extract`,e.RefactorInline=`refactor.inline`,e.RefactorRewrite=`refactor.rewrite`,e.Source=`source`,e.SourceOrganizeImports=`source.organizeImports`,e.SourceFixAll=`source.fixAll`})(Yo||={});var Xo;(function(e){e.Invoked=1,e.Automatic=2})(Xo||={});var Zo;(function(e){function t(e,t,n){let r={diagnostics:e};return t!=null&&(r.only=t),n!=null&&(r.triggerKind=n),r}e.create=t;function n(e){let t=e;return Q.defined(t)&&Q.typedArray(t.diagnostics,po.is)&&(t.only===void 0||Q.typedArray(t.only,Q.string))&&(t.triggerKind===void 0||t.triggerKind===Xo.Invoked||t.triggerKind===Xo.Automatic)}e.is=n})(Zo||={});var Qo;(function(e){function t(e,t,n){let r={title:e},i=!0;return typeof t==`string`?(i=!1,r.kind=t):mo.is(t)?r.command=t:r.edit=t,i&&n!==void 0&&(r.kind=n),r}e.create=t;function n(e){let t=e;return t&&Q.string(t.title)&&(t.diagnostics===void 0||Q.typedArray(t.diagnostics,po.is))&&(t.kind===void 0||Q.string(t.kind))&&(t.edit!==void 0||t.command!==void 0)&&(t.command===void 0||mo.is(t.command))&&(t.isPreferred===void 0||Q.boolean(t.isPreferred))&&(t.edit===void 0||Co.is(t.edit))}e.is=n})(Qo||={});var $o;(function(e){function t(e,t){let n={range:e};return Q.defined(t)&&(n.data=t),n}e.create=t;function n(e){let t=e;return Q.defined(t)&&eo.is(t.range)&&(Q.undefined(t.command)||mo.is(t.command))}e.is=n})($o||={});var es;(function(e){function t(e,t){return{tabSize:e,insertSpaces:t}}e.create=t;function n(e){let t=e;return Q.defined(t)&&Q.uinteger(t.tabSize)&&Q.boolean(t.insertSpaces)}e.is=n})(es||={});var ts;(function(e){function t(e,t,n){return{range:e,target:t,data:n}}e.create=t;function n(e){let t=e;return Q.defined(t)&&eo.is(t.range)&&(Q.undefined(t.target)||Q.string(t.target))}e.is=n})(ts||={});var ns;(function(e){function t(e,t){return{range:e,parent:t}}e.create=t;function n(t){let n=t;return Q.objectLiteral(n)&&eo.is(n.range)&&(n.parent===void 0||e.is(n.parent))}e.is=n})(ns||={});var rs;(function(e){e.namespace=`namespace`,e.type=`type`,e.class=`class`,e.enum=`enum`,e.interface=`interface`,e.struct=`struct`,e.typeParameter=`typeParameter`,e.parameter=`parameter`,e.variable=`variable`,e.property=`property`,e.enumMember=`enumMember`,e.event=`event`,e.function=`function`,e.method=`method`,e.macro=`macro`,e.keyword=`keyword`,e.modifier=`modifier`,e.comment=`comment`,e.string=`string`,e.number=`number`,e.regexp=`regexp`,e.operator=`operator`,e.decorator=`decorator`})(rs||={});var is;(function(e){e.declaration=`declaration`,e.definition=`definition`,e.readonly=`readonly`,e.static=`static`,e.deprecated=`deprecated`,e.abstract=`abstract`,e.async=`async`,e.modification=`modification`,e.documentation=`documentation`,e.defaultLibrary=`defaultLibrary`})(is||={});var as;(function(e){function t(e){let t=e;return Q.objectLiteral(t)&&(t.resultId===void 0||typeof t.resultId==`string`)&&Array.isArray(t.data)&&(t.data.length===0||typeof t.data[0]==`number`)}e.is=t})(as||={});var os;(function(e){function t(e,t){return{range:e,text:t}}e.create=t;function n(e){let t=e;return t!=null&&eo.is(t.range)&&Q.string(t.text)}e.is=n})(os||={});var ss;(function(e){function t(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}}e.create=t;function n(e){let t=e;return t!=null&&eo.is(t.range)&&Q.boolean(t.caseSensitiveLookup)&&(Q.string(t.variableName)||t.variableName===void 0)}e.is=n})(ss||={});var cs;(function(e){function t(e,t){return{range:e,expression:t}}e.create=t;function n(e){let t=e;return t!=null&&eo.is(t.range)&&(Q.string(t.expression)||t.expression===void 0)}e.is=n})(cs||={});var ls;(function(e){function t(e,t){return{frameId:e,stoppedLocation:t}}e.create=t;function n(e){let t=e;return Q.defined(t)&&eo.is(e.stoppedLocation)}e.is=n})(ls||={});var us;(function(e){e.Type=1,e.Parameter=2;function t(e){return e===1||e===2}e.is=t})(us||={});var ds;(function(e){function t(e){return{value:e}}e.create=t;function n(e){let t=e;return Q.objectLiteral(t)&&(t.tooltip===void 0||Q.string(t.tooltip)||ko.is(t.tooltip))&&(t.location===void 0||to.is(t.location))&&(t.command===void 0||mo.is(t.command))}e.is=n})(ds||={});var fs;(function(e){function t(e,t,n){let r={position:e,label:t};return n!==void 0&&(r.kind=n),r}e.create=t;function n(e){let t=e;return Q.objectLiteral(t)&&$a.is(t.position)&&(Q.string(t.label)||Q.typedArray(t.label,ds.is))&&(t.kind===void 0||us.is(t.kind))&&t.textEdits===void 0||Q.typedArray(t.textEdits,ho.is)&&(t.tooltip===void 0||Q.string(t.tooltip)||ko.is(t.tooltip))&&(t.paddingLeft===void 0||Q.boolean(t.paddingLeft))&&(t.paddingRight===void 0||Q.boolean(t.paddingRight))}e.is=n})(fs||={});var ps;(function(e){function t(e){return{kind:`snippet`,value:e}}e.createSnippet=t})(ps||={});var ms;(function(e){function t(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}}e.create=t})(ms||={});var hs;(function(e){function t(e){return{items:e}}e.create=t})(hs||={});var gs;(function(e){e.Invoked=0,e.Automatic=1})(gs||={});var _s;(function(e){function t(e,t){return{range:e,text:t}}e.create=t})(_s||={});var vs;(function(e){function t(e,t){return{triggerKind:e,selectedCompletionInfo:t}}e.create=t})(vs||={});var ys;(function(e){function t(e){let t=e;return Q.objectLiteral(t)&&Xa.is(t.uri)&&Q.string(t.name)}e.is=t})(ys||={});var bs;(function(e){function t(e,t,n,r){return new xs(e,t,n,r)}e.create=t;function n(e){let t=e;return!!(Q.defined(t)&&Q.string(t.uri)&&(Q.undefined(t.languageId)||Q.string(t.languageId))&&Q.uinteger(t.lineCount)&&Q.func(t.getText)&&Q.func(t.positionAt)&&Q.func(t.offsetAt))}e.is=n;function r(e,t){let n=e.getText(),r=i(t,(e,t)=>{let n=e.range.start.line-t.range.start.line;return n===0?e.range.start.character-t.range.start.character:n}),a=n.length;for(let t=r.length-1;t>=0;t--){let i=r[t],o=e.offsetAt(i.range.start),s=e.offsetAt(i.range.end);if(s<=a)n=n.substring(0,o)+i.newText+n.substring(s,n.length);else throw Error(`Overlapping edit`);a=o}return n}e.applyEdits=r;function i(e,t){if(e.length<=1)return e;let n=e.length/2|0,r=e.slice(0,n),a=e.slice(n);i(r,t),i(a,t);let o=0,s=0,c=0;for(;o<r.length&&s<a.length;)t(r[o],a[s])<=0?e[c++]=r[o++]:e[c++]=a[s++];for(;o<r.length;)e[c++]=r[o++];for(;s<a.length;)e[c++]=a[s++];return e}})(bs||={});var xs=class{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let e=[],t=this._content,n=!0;for(let r=0;r<t.length;r++){n&&=(e.push(r),!1);let i=t.charAt(r);n=i===`\r`||i===`
67
+ `,i===`\r`&&r+1<t.length&&t.charAt(r+1)===`
68
+ `&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(r===0)return $a.create(0,e);for(;n<r;){let i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}let i=n-1;return $a.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}get lineCount(){return this.getLineOffsets().length}},Q;(function(e){let t=Object.prototype.toString;function n(e){return e!==void 0}e.defined=n;function r(e){return e===void 0}e.undefined=r;function i(e){return e===!0||e===!1}e.boolean=i;function a(e){return t.call(e)===`[object String]`}e.string=a;function o(e){return t.call(e)===`[object Number]`}e.number=o;function s(e,n,r){return t.call(e)===`[object Number]`&&n<=e&&e<=r}e.numberRange=s;function c(e){return t.call(e)===`[object Number]`&&-2147483648<=e&&e<=2147483647}e.integer=c;function l(e){return t.call(e)===`[object Number]`&&0<=e&&e<=2147483647}e.uinteger=l;function u(e){return t.call(e)===`[object Function]`}e.func=u;function d(e){return typeof e==`object`&&!!e}e.objectLiteral=d;function f(e,t){return Array.isArray(e)&&e.every(t)}e.typedArray=f})(Q||={});var Ss=class e{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(t,n){for(let n of t)if(e.isIncremental(n)){let e=Ds(n.range),t=this.offsetAt(e.start),r=this.offsetAt(e.end);this._content=this._content.substring(0,t)+n.text+this._content.substring(r,this._content.length);let i=Math.max(e.start.line,0),a=Math.max(e.end.line,0),o=this._lineOffsets,s=Ts(n.text,!1,t);if(a-i===s.length)for(let e=0,t=s.length;e<t;e++)o[e+i+1]=s[e];else s.length<1e4?o.splice(i+1,a-i,...s):this._lineOffsets=o=o.slice(0,i+1).concat(s,o.slice(a+1));let c=n.text.length-(r-t);if(c!==0)for(let e=i+1+s.length,t=o.length;e<t;e++)o[e]=o[e]+c}else if(e.isFull(n))this._content=n.text,this._lineOffsets=void 0;else throw Error(`Unknown change event received`);this._version=n}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=Ts(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(r===0)return{line:0,character:e};for(;n<r;){let i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}let i=n-1;return e=this.ensureBeforeEOL(e,t[i]),{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line];if(e.character<=0)return n;let r=e.line+1<t.length?t[e.line+1]:this._content.length,i=Math.min(n+e.character,r);return this.ensureBeforeEOL(i,n)}ensureBeforeEOL(e,t){for(;e>t&&Es(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let t=e;return t!=null&&typeof t.text==`string`&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength==`number`)}static isFull(e){let t=e;return t!=null&&typeof t.text==`string`&&t.range===void 0&&t.rangeLength===void 0}},Cs;(function(e){function t(e,t,n,r){return new Ss(e,t,n,r)}e.create=t;function n(e,t,n){if(e instanceof Ss)return e.update(t,n),e;throw Error(`TextDocument.update: document must be created by TextDocument.create`)}e.update=n;function r(e,t){let n=e.getText(),r=ws(t.map(Os),(e,t)=>{let n=e.range.start.line-t.range.start.line;return n===0?e.range.start.character-t.range.start.character:n}),i=0,a=[];for(let t of r){let r=e.offsetAt(t.range.start);if(r<i)throw Error(`Overlapping edit`);r>i&&a.push(n.substring(i,r)),t.newText.length&&a.push(t.newText),i=e.offsetAt(t.range.end)}return a.push(n.substr(i)),a.join(``)}e.applyEdits=r})(Cs||={});function ws(e,t){if(e.length<=1)return e;let n=e.length/2|0,r=e.slice(0,n),i=e.slice(n);ws(r,t),ws(i,t);let a=0,o=0,s=0;for(;a<r.length&&o<i.length;)t(r[a],i[o])<=0?e[s++]=r[a++]:e[s++]=i[o++];for(;a<r.length;)e[s++]=r[a++];for(;o<i.length;)e[s++]=i[o++];return e}function Ts(e,t,n=0){let r=t?[n]:[];for(let t=0;t<e.length;t++){let i=e.charCodeAt(t);Es(i)&&(i===13&&t+1<e.length&&e.charCodeAt(t+1)===10&&t++,r.push(n+t+1))}return r}function Es(e){return e===13||e===10}function Ds(e){let t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function Os(e){let t=Ds(e.range);return t===e.range?e:{newText:e.newText,range:t}}var ks;(function(e){e[e.StartCommentTag=0]=`StartCommentTag`,e[e.Comment=1]=`Comment`,e[e.EndCommentTag=2]=`EndCommentTag`,e[e.StartTagOpen=3]=`StartTagOpen`,e[e.StartTagClose=4]=`StartTagClose`,e[e.StartTagSelfClose=5]=`StartTagSelfClose`,e[e.StartTag=6]=`StartTag`,e[e.EndTagOpen=7]=`EndTagOpen`,e[e.EndTagClose=8]=`EndTagClose`,e[e.EndTag=9]=`EndTag`,e[e.DelimiterAssign=10]=`DelimiterAssign`,e[e.AttributeName=11]=`AttributeName`,e[e.AttributeValue=12]=`AttributeValue`,e[e.StartDoctypeTag=13]=`StartDoctypeTag`,e[e.Doctype=14]=`Doctype`,e[e.EndDoctypeTag=15]=`EndDoctypeTag`,e[e.Content=16]=`Content`,e[e.Whitespace=17]=`Whitespace`,e[e.Unknown=18]=`Unknown`,e[e.Script=19]=`Script`,e[e.Styles=20]=`Styles`,e[e.EOS=21]=`EOS`})(ks||={});var $;(function(e){e[e.WithinContent=0]=`WithinContent`,e[e.AfterOpeningStartTag=1]=`AfterOpeningStartTag`,e[e.AfterOpeningEndTag=2]=`AfterOpeningEndTag`,e[e.WithinDoctype=3]=`WithinDoctype`,e[e.WithinTag=4]=`WithinTag`,e[e.WithinEndTag=5]=`WithinEndTag`,e[e.WithinComment=6]=`WithinComment`,e[e.WithinScriptContent=7]=`WithinScriptContent`,e[e.WithinStyleContent=8]=`WithinStyleContent`,e[e.AfterAttributeName=9]=`AfterAttributeName`,e[e.BeforeAttributeValue=10]=`BeforeAttributeValue`})($||={});var As;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Oo.Markdown,Oo.PlainText]}},hover:{contentFormat:[Oo.Markdown,Oo.PlainText]}}}})(As||={});var js;(function(e){e[e.Unknown=0]=`Unknown`,e[e.File=1]=`File`,e[e.Directory=2]=`Directory`,e[e.SymbolicLink=64]=`SymbolicLink`})(js||={});var Ms=function(e){return e[e.StartCommentTag=0]=`StartCommentTag`,e[e.Comment=1]=`Comment`,e[e.EndCommentTag=2]=`EndCommentTag`,e[e.StartTagOpen=3]=`StartTagOpen`,e[e.StartTagClose=4]=`StartTagClose`,e[e.StartTagSelfClose=5]=`StartTagSelfClose`,e[e.StartTag=6]=`StartTag`,e[e.EndTagOpen=7]=`EndTagOpen`,e[e.EndTagClose=8]=`EndTagClose`,e[e.EndTag=9]=`EndTag`,e[e.DelimiterAssign=10]=`DelimiterAssign`,e[e.AttributeName=11]=`AttributeName`,e[e.AttributeValue=12]=`AttributeValue`,e[e.StartDoctypeTag=13]=`StartDoctypeTag`,e[e.Doctype=14]=`Doctype`,e[e.EndDoctypeTag=15]=`EndDoctypeTag`,e[e.Content=16]=`Content`,e[e.Whitespace=17]=`Whitespace`,e[e.Unknown=18]=`Unknown`,e[e.Script=19]=`Script`,e[e.Styles=20]=`Styles`,e[e.EOS=21]=`EOS`,e[e.AdvancedStart=100]=`AdvancedStart`,e[e.AdvancedEnd=101]=`AdvancedEnd`,e}({}),Ns=class{source;len;position;constructor(e,t){this.source=e,this.len=e.length,this.position=t}eos(){return this.len<=this.position}getSource(){return this.source}pos(){return this.position}goBackTo(e){this.position=e}goBack(e){this.position-=e}advance(e){this.position+=e}goToEnd(){this.position=this.source.length}nextChar(){return this.source.charCodeAt(this.position++)||0}peekChar(e=0){return this.source.charCodeAt(this.position+e)||0}advanceIfChar(e){return e===this.source.charCodeAt(this.position)?(this.position++,!0):!1}advanceIfChars(e){let t;if(this.position+e.length>this.source.length)return!1;for(t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0}advanceIfRegExp(e){let t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index+t[0].length,t[0]):``}advanceUntilRegExp(e){let t=this.source.substr(this.position).match(e);return t?(this.position+=t.index,t[0]):(this.goToEnd(),``)}advanceUntilChar(e){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1}advanceUntilChars(e){for(;this.position+e.length<=this.source.length;){let t=0;for(;t<e.length&&this.source.charCodeAt(this.position+t)===e[t];t++);if(t===e.length)return!0;this.advance(1)}return this.goToEnd(),!1}skipWhitespace(){return this.advanceWhileChar(e=>e===Gs||e===Ks||e===Hs||e===Ws||e===Us)>0}advanceWhileChar(e){let t=this.position;for(;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t}},Ps=33,Fs=45,Is=60,Ls=62,Rs=47,zs=61,Bs=34,Vs=39,Hs=10,Us=13,Ws=12,Gs=32,Ks=9,qs={"text/x-handlebars-template":!0,"text/html":!0};function Js(e,t=0,n=$.WithinContent,r=!1){let i=new Ns(e,t),a=n,o=0,s=18,c,l,u,d,f;function p(){return i.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase()}function m(){return i.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()}function h(e,t,n){return s=t,o=e,c=n,t}function g(){let e=i.pos(),t=_();return t!==21&&e===i.pos()&&!(r&&(t===4||t===8))?(i.advance(1),h(e,18)):t}function _(){let e=i.pos();if(i.eos())return h(e,21);let t;switch(a){case $.WithinComment:return i.advanceIfChars([Fs,Fs,Ls])?(a=$.WithinContent,h(e,2)):(i.advanceUntilChars([Fs,Fs,Ls]),h(e,1));case $.WithinDoctype:return i.advanceIfChar(Ls)?(a=$.WithinContent,h(e,15)):(i.advanceUntilChar(Ls),h(e,14));case $.WithinContent:if(i.advanceIfChar(Is)){if(!i.eos()&&i.peekChar()===Ps){if(i.advanceIfChars([Ps,Fs,Fs]))return a=$.WithinComment,h(e,0);if(i.advanceIfRegExp(/^!doctype/i))return a=$.WithinDoctype,h(e,13)}return i.advanceIfChar(Rs)?(a=$.AfterOpeningEndTag,h(e,7)):(a=$.AfterOpeningStartTag,h(e,3))}return i.advanceUntilChar(Is),h(e,16);case $.AfterOpeningEndTag:return p().length>0?(a=$.WithinEndTag,h(e,9)):i.skipWhitespace()?h(e,17,`Tag name must directly follow the open bracket.`):(a=$.WithinEndTag,i.advanceUntilChar(Ls),e<i.pos()?h(e,18,`End tag name expected.`):_());case $.WithinEndTag:if(i.skipWhitespace())return h(e,17);if(i.advanceIfChar(Ls))return a=$.WithinContent,h(e,8);if(r&&i.peekChar()===Is)return a=$.WithinContent,h(e,8,`Closing bracket missing.`);t=`Closing bracket expected.`;break;case $.AfterOpeningStartTag:return u=p(),f=void 0,d=void 0,u.length>0?(l=!1,a=$.WithinTag,h(e,6)):i.skipWhitespace()?h(e,17,`Tag name must directly follow the open bracket.`):(a=$.WithinTag,i.advanceUntilChar(Ls),e<i.pos()?h(e,18,`Start tag name expected.`):_());case $.WithinTag:return i.skipWhitespace()?(l=!0,h(e,17)):l&&(d=m(),d.length>0)?(a=$.AfterAttributeName,l=!1,h(e,11)):i.advanceIfChars([Rs,Ls])?(a=$.WithinContent,h(e,5)):i.advanceIfChar(Ls)?(a=u===`script`?f&&qs[f]?$.WithinContent:$.WithinScriptContent:u===`style`?$.WithinStyleContent:$.WithinContent,h(e,4)):r&&i.peekChar()===Is?(a=$.WithinContent,h(e,4,`Closing bracket missing.`)):(i.advance(1),h(e,18,`Unexpected character in tag.`));case $.AfterAttributeName:return i.skipWhitespace()?(l=!0,h(e,17)):i.advanceIfChar(zs)?(a=$.BeforeAttributeValue,h(e,10)):(a=$.WithinTag,_());case $.BeforeAttributeValue:if(i.skipWhitespace())return h(e,17);let n=i.advanceIfRegExp(/^[^\s"'`=<>]+/);if(n.length>0)return i.peekChar()===Ls&&i.peekChar(-1)===Rs&&(i.goBack(1),n=n.substr(0,n.length-1)),d===`type`&&(f=n),a=$.WithinTag,l=!1,h(e,12);let o=i.peekChar();return o===Vs||o===Bs?(i.advance(1),i.advanceUntilChar(o)&&i.advance(1),d===`type`&&(f=i.getSource().substring(e+1,i.pos()-1)),a=$.WithinTag,l=!1,h(e,12)):(a=$.WithinTag,l=!1,_());case $.WithinScriptContent:let s=1;for(;!i.eos();){let t=i.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(t.length===0)return i.goToEnd(),h(e,19);if(t===`<!--`)s===1&&(s=2);else if(t===`-->`)s=1;else if(t[1]!==`/`)s===2&&(s=3);else if(s===3)s=2;else{i.goBack(t.length);break}}return a=$.WithinContent,e<i.pos()?h(e,19):_();case $.WithinStyleContent:return i.advanceUntilRegExp(/<\/style/i),a=$.WithinContent,e<i.pos()?h(e,20):_()}return i.advance(1),a=$.WithinContent,h(e,18,t)}return{scan:g,getTokenType:()=>s,getTokenOffset:()=>o,getTokenLength:()=>i.pos()-o,getTokenEnd:()=>i.pos(),getTokenText:()=>i.getSource().substring(o,i.pos()),getScannerState:()=>a,getTokenError:()=>c}}function Ys(e){if(typeof e==`string`){let t=e.startsWith(`'`)||e.startsWith(`"`)?1:0,n=e.endsWith(`'`)||e.endsWith(`"`)?e.length-1:e.length;return e.substring(t,n)}return e}var Xs=class{text;type;node=void 0;replaces=void 0;constructor(e,t){this.text=e,this.type=t}get hasNode(){return!!this.node}addReplace(e){this.replaces?.push(e)}start(e,t,n){if(!this.node){let r=this.node=new da(e,this.text.length,[],n);r.type=this.type,r.startTagEnd=t,this.replaces=[]}}finish(e,t){let n=this.replaces,r=this.node,i=e+(t||0);if(n){for(let e of n){let t=e.parent;if(!t)throw Error(`parent not defined`);let n=t.children.indexOf(e);t.children.splice(n,1)}this.replaces=void 0}if(r){let n=r.parent;if(!n)throw Error(`parent not defined`);n.children.push(r),r.closed=t!==void 0,r.endTagStart=e,r.end=i,r.content=this.text.substring(r.startTagEnd,e),this.node=void 0}}},Zs=class{dataManager;constructor(e){this.dataManager=e}parse(e,t=[]){let n=Js(e,void 0,void 0,!0),r=new da(0,e.length,[],void 0);r.type=ca.ROOT;let i=r,a=-1,o,s=null,c=n.scan(),l=()=>{if(!i.tag){let t=i.parent.children,n=t[t.length-2],r=e.substring(i.start,i.end);n?.type===ca.HTML?(n.content=(n.content||``)+r,n.end=i.end,t.splice(t.length-1,1)):(i.type=ca.HTML,i.content=r,i.children=[]),i.type=ca.HTML}i=i.parent},u=new Xs(e,ca.COMMENT),d=new Xs(e,ca.DOCTYPE),f=e=>{i.children.push(e)};for(;c!==Ms.EOS;){switch(c){case Ms.StartDoctypeTag:d.start(n.getTokenOffset(),n.getTokenEnd(),i);break;case Ms.EndDoctypeTag:{let t=i.lastChild,r=d.node;if(!r)throw Error(``);let a=t?t.end:i.startTagEnd===void 0?i.start:i.startTagEnd;if(a!==r.start){let t=e.substring(a,r.start);if(t){let e=new da(a,r.start,[],i);e.type=ca.HTML,e.content=t,f(e)}}d.finish(n.getTokenOffset(),n.getTokenLength());break}case Ms.StartCommentTag:u.start(n.getTokenOffset(),n.getTokenEnd(),i);break;case Ms.EndCommentTag:{let t=i.lastChild,r=u.node;if(!r)throw Error(``);let a=t?t.end:i.startTagEnd===void 0?i.start:i.startTagEnd;if(a!==r.start){let t=e.substring(a,r.start);if(t){let e=new da(a,r.start,[],i);e.type=ca.HTML,e.content=t,f(e)}}u.finish(n.getTokenOffset(),n.getTokenLength());break}case Ms.StartTagOpen:let t=i.lastChild,r=new da(n.getTokenOffset(),e.length,[],i),c=t?t.end:i.startTagEnd===void 0?i.start:i.startTagEnd;if(c!==r.start){let t=e.substring(c,r.start);if(t){let e=new da(c,r.start,[],i);e.type=ca.HTML,e.content=t,f(e)}}f(r),i=r;break;case Ms.StartTag:i.tag=n.getTokenText();break;case Ms.StartTagClose:i.parent&&(i.end=n.getTokenEnd(),n.getTokenLength()?(i.startTagEnd=n.getTokenEnd(),i.tag&&this.dataManager.isVoidElement(i.tag)&&(i.closed=!0,l())):l());break;case Ms.StartTagSelfClose:i.parent&&(i.closed=!0,i.end=n.getTokenEnd(),i.startTagEnd=n.getTokenEnd(),l());break;case Ms.EndTagOpen:a=n.getTokenOffset(),o=void 0;break;case Ms.EndTag:o=n.getTokenText().toLowerCase();break;case Ms.EndTagClose:let p=i;for(;!p.isSameTag(o)&&p.parent;)p=p.parent;if(p.parent){let t=i.lastChild,r=t?t.end:i.startTagEnd===void 0?i.start:i.startTagEnd;if(r!==a){let t=e.substring(r,a);if(t){let e=new da(r,a,[],i);e.type=ca.HTML,e.content=t,f(e)}}for(;i!==p;)i.end=a,i.closed=!1,l();i.closed=!0,i.endTagStart=a,i.end=n.getTokenEnd(),l()}break;case Ms.AttributeName:{s=n.getTokenText();let e=i.attributes;e||(i.attributes=e={}),e[s]=null;break}case Ms.AttributeValue:{let e=n.getTokenText(),t=i.attributes;t&&s&&(t[s]=Ys(e),s=null);break}}c=n.scan()}for(;i.parent;)i.end=e.length,i.closed=!1,l();u.hasNode,u.finish(e.length);let p=r.lastChild?.end||0;if(p<e.length){let t=e.substring(p);if(t){let n=new da(p,e.length,[],r);n.type=ca.HTML,n.content=t,f(n)}}return{roots:r.children,findNodeBefore:r.findNodeBefore.bind(r),findNodeAt:r.findNodeAt.bind(r)}}};new Zs(new Ja([`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`source`,`track`,`wbr`,`vk-snippet-end`]));var Qs=new Zs(new Ja([`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`source`,`track`,`wbr`,`vk-snippet-end`]));function $s(e){return Qs.parse(e)}function ec(e){if(e){let t=document.createElement(`div`);return t.insertAdjacentHTML(`afterbegin`,e),t.firstChild||document.createTextNode(``)}else return document.createTextNode(``)}function tc(e){let t;switch(e?.toLowerCase()){case`tr`:t=document.createElement(`table`);break;case`td`:t=document.createElement(`tr`);break;case`head`:case`body`:t=document.createElement(`html`);break;case`documenttype`:case`html`:{let e=document.implementation.createHTMLDocument();for(let t of[...e.childNodes])t.remove();return e}default:t=document.createElement(`div`)}return t}var nc=new Set([`onclick`,`onload`,`onchange`,`onsubmit`,`onmouseover`,`onkeydown`,`onerror`]),rc=new Set([`script`,`style`,`xmp`]);function ic(e,t){return!(t&&rc.has(t.toLowerCase())||nc.has(e.toLowerCase()))}var ac=e=>{let t=e.indexOf(`&`);for(;t!==-1;){if(e.indexOf(`;`,t)!==-1)return!0;t=e.indexOf(`&`,t+1)}return!1};function oc(e,t,n){let r=e.tagName.toLowerCase();r===`html`&&(r=`div`);let i=`<${r} ${t}="${n}"/>`,a=tc(r);if(a instanceof Document)return;a.innerHTML=i;let o=a.querySelector(r);if(!o)throw Error(`targetElement is not defined`);let s=o.getAttributeNode(t);s&&e.setAttributeNode(s.cloneNode())}function sc(e,t,n){try{ic(t,e.tagName)&&!ac(n)?e.setAttribute(t,n):oc(e,t,n)}catch{oc(e,t,n)}}function cc(e,t=!0){let n=e.content;switch(e.type){case ca.ROOT:{let n=document.implementation.createHTMLDocument();for(let e of[...n.childNodes])n.removeChild(e);if(t)for(let t of e.children)n.appendChild(cc(t));return n}case ca.DOCTYPE:return new DOMParser().parseFromString(`<!DOCTYPE${e.content}>`,`text/html`).doctype;case ca.COMMENT:return document.createComment(n||``);case ca.ELEMENT:if(e.tag){let n=document.createElement(e.tag);if(Object.defineProperty(n,"$$tagName",{enumerable:!1,configurable:!1,value:e.tag}),e.attributes)for(let t of e.attributeNames){let r=e.attributes[t];try{sc(n,t,typeof r==`string`?r:``)}catch{}}if(t)for(let t of e.children)n.appendChild(cc(t));return n}return document.createTextNode(`<`);case ca.HTML:return ec(n||``);default:throw Error(`unsupported node`)}}function lc(e){return $s(e).roots.map(e=>cc(e))}var uc=Symbol(`Error`);function dc(e){return Promise.all(e.map(e=>e instanceof Promise?e.catch(e=>uc):e)).then(e=>e.filter(e=>e!==uc))}var fc=(e,t)=>t.some(t=>t instanceof RegExp?t.test(e):t===e),pc=new Set([`https:`,`http:`,`file:`]),mc=e=>{let t=e.indexOf(`:`);if(t<=0)return!1;let n=e.substring(0,t+1);return/^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(n)?n.endsWith(`:`)&&!n.includes(`.`)&&!pc.has(n):!1};function hc(e,t){if(t={defaultProtocol:`http`,normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,...t},!e)return``;if(gc(e)&&(e=yc(e)),typeof t.defaultProtocol==`string`&&!t.defaultProtocol.endsWith(`:`)&&(t.defaultProtocol=`${t.defaultProtocol}:`),e=e.trim(),/^data:/i.test(e)||mc(e))return e;let n=e.startsWith(`//`),r=!n&&/^\.*\//.test(e),i;try{i=r?new URL(e,typeof document<`u`?document.baseURI:`http://localhost/`).toString():e}catch{i=e}let a;try{a=new URL(i)}catch{let t=document.createElement(`a`);t.href=e,a=new URL(t.href)}if(t.forceHttp&&t.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&a.protocol===`https:`&&(a.protocol=`http:`),t.forceHttps&&a.protocol===`http:`&&(a.protocol=`https:`),t.stripAuthentication&&(a.username=``,a.password=``),t.stripHash?a.hash=``:t.stripTextFragment&&(a.hash=a.hash.replace(/#?:~:text.*?$/i,``)),a.pathname){let e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,t=0,n=``;for(;;){let r=e.exec(a.pathname);if(!r)break;let i=r.index,o=a.pathname.slice(t,i);n+=o.replace(/\/{2,}/g,`/`),n+=r[0],t=i+r[0].length}let r=a.pathname.slice(t);n+=r.replace(/\/{2,}/g,`/`),a.pathname=n;try{a.pathname=decodeURI(a.pathname)}catch{}}if(t.removeDirectoryIndex){let e=a.pathname.split(`/`),n=e[e.length-1];Array.isArray(t.removeDirectoryIndex)&&fc(n,t.removeDirectoryIndex)&&(e=e.slice(0,-1),a.pathname=e.join(`/`)+`/`)}if(t.stripWWW&&/^www\.(?!www\.)[a-z\d\-]+(\.[a-z.\-]{2,63})+$/.test(a.hostname||``)&&(a.hostname=a.hostname.replace(/^www\./,``)),Array.isArray(t.removeQueryParameters))for(let e of[...a.searchParams.keys()])fc(e,t.removeQueryParameters)&&a.searchParams.delete(e);if(t.sortQueryParameters){a.searchParams.sort();try{a.search=decodeURIComponent(a.search)}catch{}}t.removeTrailingSlash&&(a.pathname=a.pathname.replace(/\/$/,``)),t.removeExplicitPort&&a.port&&(a.port=``);let o=a.toString();return!t.removeSingleSlash&&a.pathname===`/`&&!e.endsWith(`/`)&&a.hash===``&&(o=o.replace(/\/$/,``)),(t.removeTrailingSlash||a.pathname===`/`)&&a.hash===``&&t.removeSingleSlash&&(o=o.replace(/\/$/,``)),n&&!t.normalizeProtocol&&(o=o.replace(/^https?:\/\//,`//`)),o}function gc(e){if(!e)return!1;let t=e[0];return e.startsWith(`/`)||e.startsWith(`./`)||e.startsWith(`../`)||_c(t)}function _c(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}function vc(e){return/^(mailto:|tel:|fax:|sms:|geo:|blob:|data:|javascript:)/i.test(e)}function yc(e){if(e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`//`)||!gc(e)||vc(e))return e;if(e.startsWith(`/`))return window.location.origin+e;let t=window.location.href,n=t.lastIndexOf(`/`);return(n===-1?t+`/`:t.slice(0,n+1))+e}var bc=/<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi,xc=/\s(?:bis_[a-z0-9_-]+|data-bis-config|data-dynamic-id)=(["'])(?:(?!\1).)*\1/gi,Sc=/<style\b[^>]*>[\s\S]*?<\/style>/gi,Cc=/display:\s*none\s*!important/gi,wc=[`.socialshare,`,`.advertisment,`,`.adHolder,`,`.adsbygoogle-noablate`,`#ab_adblock`,`#popmechanic-snippet`,`filter_ads_by_classname`,`clever-core-ads`,`--gn-ov-ad-height`,`pub_728x90.text-ad.textAd`,`html-load.com/player`,`content-loader.com/player`,`.adblock`,`#advblock`,`body { overflow: visible!important; }`];function Tc(e){return Cc.lastIndex=0,(e.match(Cc)||[]).length}function Ec(e){let t=e.trim(),n=Tc(t);if(n===0)return!1;if(t.includes(`.advertisment,`)&&t.includes(`.adHolder,`)&&(t.includes(`.socialshare,`)||n>=3||t.length>2e3))return!0;let r=wc.filter(e=>t.includes(e)).length;return r>=1&&(n>=3||t.length>2e3)||n>=5&&r>=1?!0:n>=20&&/\b(?:\.ad(?:s|vert|vertisment|Holder|banner|box|Container|Wrapper)?[,{]|#ad[-_]|ins\.adsbygoogle)/i.test(t)}function Dc(e){Sc.lastIndex=0;for(let t of e.matchAll(Sc))if(Ec(t[0].replace(/^<style\b[^>]*>/i,``).replace(/<\/style>$/i,``)))return!0;return!1}function Oc(e){let t=!1;return Sc.lastIndex=0,{html:e.replace(Sc,e=>Ec(e.replace(/^<style\b[^>]*>/i,``).replace(/<\/style>$/i,``))?(t=!0,``):e),found:t}}function kc(e){return bc.lastIndex=0,bc.test(e)||/\sbis_[a-z0-9_-]+\s*=/.test(e)||/\sdata-bis-config\s*=/.test(e)||Dc(e)}function Ac(e){if(!kc(e))return{html:e,found:!1};let t=!1,n=e;bc.lastIndex=0,bc.test(n)&&(bc.lastIndex=0,n=n.replace(bc,``),t=!0),(/\sbis_[a-z0-9_-]+\s*=/.test(n)||/\sdata-bis-config\s*=/.test(n))&&(n=n.replace(xc,``),t=!0);let r=Oc(n);return n=r.html,t||=r.found,{html:n,found:t}}function jc(e){let t=Ac(e.replaceAll(`\r
69
+ `,`
70
+ `));return{html:t.html,hasBrowserExtensionArtifacts:t.found}}var Mc=r.a(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?r(e):typeof define==`function`&&define.amd?define([`exports`],r):(n=typeof globalThis<`u`?globalThis:n||self,r(n.MutationSummary={}))})(e,(function(e){"use strict";var t=function(){function e(){this._nodes=[],this._values=[]}return e._isIndex=function(e){return+e==e>>>0},e._nodeId=function(t){var n=t[e._ID_PROP];return n||=t[e._ID_PROP]=e._NEXT_ID++,n},e.prototype.set=function(t,n){var r=e._nodeId(t);this._nodes[r]=t,this._values[r]=n},e.prototype.get=function(t){var n=e._nodeId(t);return n===void 0?void 0:this._values[n]},e.prototype.has=function(t){return e._nodeId(t)in this._nodes},e.prototype.delete=function(t){var n=e._nodeId(t);delete this._nodes[n],this._values[n]=void 0},e.prototype.keys=function(){var t=[];for(var n in this._nodes)e._isIndex(n)&&t.push(this._nodes[n]);return t},e._ID_PROP=`__mutation_summary_node_map_id__`,e._NEXT_ID=1,e}(),n=function(){function e(){this.added=new t,this.removed=new t,this.maybeMoved=new t,this.oldPrevious=new t,this.moved=void 0}return e}();e.Movement=void 0,(function(e){e[e.STAYED_OUT=0]=`STAYED_OUT`,e[e.ENTERED=1]=`ENTERED`,e[e.STAYED_IN=2]=`STAYED_IN`,e[e.REPARENTED=3]=`REPARENTED`,e[e.REORDERED=4]=`REORDERED`,e[e.EXITED=5]=`EXITED`})(e.Movement||={});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){function e(e,t,n,r,i,a,o,s){t===void 0&&(t=!1),n===void 0&&(n=!1),r===void 0&&(r=!1),i===void 0&&(i=null),a===void 0&&(a=!1),o===void 0&&(o=null),s===void 0&&(s=null),this.node=e,this.childList=t,this.attributes=n,this.characterData=r,this.oldParentNode=i,this.added=a,this.attributeOldValues=o,this.characterDataOldValue=s,this.isCaseInsensitive=this.node.nodeType===Node.ELEMENT_NODE&&this.node instanceof HTMLElement&&this.node.ownerDocument instanceof HTMLDocument}return e.prototype.getAttributeOldValue=function(e){if(this.attributeOldValues)return this.isCaseInsensitive&&(e=e.toLowerCase()),this.attributeOldValues[e]},e.prototype.getAttributeNamesMutated=function(){var e=[];if(!this.attributeOldValues)return e;for(var t in this.attributeOldValues)this.attributeOldValues.hasOwnProperty(t)&&e.push(t);return e},e.prototype.attributeMutated=function(e,t){this.attributes=!0,this.attributeOldValues=this.attributeOldValues||{},!(e in this.attributeOldValues)&&(this.attributeOldValues[e]=t)},e.prototype.characterDataMutated=function(e){this.characterData||(this.characterData=!0,this.characterDataOldValue=e)},e.prototype.removedFromParent=function(e){this.childList=!0,this.added||this.oldParentNode?this.added=!1:this.oldParentNode=e},e.prototype.insertedIntoParent=function(){this.childList=!0,this.added=!0},e.prototype.getOldParent=function(){if(this.childList){if(this.oldParentNode)return this.oldParentNode;if(this.added)return null}return this.node.parentNode},e}(),o=function(n){i(r,n);function r(e,t){var r=n.call(this)||this;r.rootNode=e,r.reachableCache=void 0,r.wasReachableCache=void 0,r.anyParentsChanged=!1,r.anyAttributesChanged=!1,r.anyCharacterDataChanged=!1;for(var i=0;i<t.length;i++){var a=t[i];switch(a.type){case`childList`:r.anyParentsChanged=!0;for(var o=0;o<a.removedNodes.length;o++){var s=a.removedNodes[o];r.getChange(s).removedFromParent(a.target)}for(var o=0;o<a.addedNodes.length;o++){var s=a.addedNodes[o];r.getChange(s).insertedIntoParent()}break;case`attributes`:r.anyAttributesChanged=!0;var c=r.getChange(a.target);c.attributeMutated(a.attributeName,a.oldValue);break;case`characterData`:r.anyCharacterDataChanged=!0;var c=r.getChange(a.target);c.characterDataMutated(a.oldValue);break}}return r}return r.prototype.getChange=function(e){var t=this.get(e);return t||(t=new a(e),this.set(e,t)),t},r.prototype.getOldParent=function(e){var t=this.get(e);return t?t.getOldParent():e.parentNode},r.prototype.getIsReachable=function(e){if(e===this.rootNode)return!0;if(!e)return!1;this.reachableCache=this.reachableCache||new t;var n=this.reachableCache.get(e);return n===void 0&&(n=this.getIsReachable(e.parentNode),this.reachableCache.set(e,n)),n},r.prototype.getWasReachable=function(e){if(e===this.rootNode)return!0;if(!e)return!1;this.wasReachableCache=this.wasReachableCache||new t;var n=this.wasReachableCache.get(e);return n===void 0&&(n=this.getWasReachable(this.getOldParent(e)),this.wasReachableCache.set(e,n)),n},r.prototype.reachabilityChange=function(t){return this.getIsReachable(t)?this.getWasReachable(t)?e.Movement.STAYED_IN:e.Movement.ENTERED:this.getWasReachable(t)?e.Movement.EXITED:e.Movement.STAYED_OUT},r}(t),s=function(){function r(e,n,r,i,a){this.rootNode=e,this.mutations=n,this.selectors=r,this.calcReordered=i,this.calcOldPreviousSibling=a,this.treeChanges=new o(e,n),this.entered=[],this.exited=[],this.stayedIn=new t,this.visited=new t,this.childListChangeMap=void 0,this.characterDataOnly=void 0,this.matchCache=void 0,this.processMutations()}return r.prototype.processMutations=function(){if(!(!this.treeChanges.anyParentsChanged&&!this.treeChanges.anyAttributesChanged))for(var e=this.treeChanges.keys(),t=0;t<e.length;t++)this.visitNode(e[t],void 0)},r.prototype.visitNode=function(t,n){if(!this.visited.has(t)){this.visited.set(t,!0);var r=this.treeChanges.get(t),i=n;if((r&&r.childList||i==null)&&(i=this.treeChanges.reachabilityChange(t)),i!==e.Movement.STAYED_OUT){if(this.matchabilityChange(t),i===e.Movement.ENTERED)this.entered.push(t);else if(i===e.Movement.EXITED)this.exited.push(t),this.ensureHasOldPreviousSiblingIfNeeded(t);else if(i===e.Movement.STAYED_IN){var a=e.Movement.STAYED_IN;r&&r.childList&&(r.oldParentNode===t.parentNode?this.calcReordered&&this.wasReordered(t)&&(a=e.Movement.REORDERED):(a=e.Movement.REPARENTED,this.ensureHasOldPreviousSiblingIfNeeded(t))),this.stayedIn.set(t,a)}if(i!==e.Movement.STAYED_IN)for(var o=t.firstChild;o;o=o.nextSibling)this.visitNode(o,i)}}},r.prototype.ensureHasOldPreviousSiblingIfNeeded=function(e){if(this.calcOldPreviousSibling){this.processChildlistChanges();var t=e.parentNode,r=this.treeChanges.get(e);r&&r.oldParentNode&&(t=r.oldParentNode);var i=this.childListChangeMap.get(t);i||(i=new n,this.childListChangeMap.set(t,i)),i.oldPrevious.has(e)||i.oldPrevious.set(e,e.previousSibling)}},r.prototype.getChanged=function(t,n,r){this.selectors=n,this.characterDataOnly=r;for(var i=0;i<this.entered.length;i++){var a=this.entered[i],o=this.matchabilityChange(a);(o===e.Movement.ENTERED||o===e.Movement.STAYED_IN)&&t.added.push(a)}for(var s=this.stayedIn.keys(),i=0;i<s.length;i++){var a=s[i],o=this.matchabilityChange(a);if(o===e.Movement.ENTERED)t.added.push(a);else if(o===e.Movement.EXITED)t.removed.push(a);else if(o===e.Movement.STAYED_IN&&(t.reparented||t.reordered)){var c=this.stayedIn.get(a);t.reparented&&c===e.Movement.REPARENTED?t.reparented.push(a):t.reordered&&c===e.Movement.REORDERED&&t.reordered.push(a)}}for(var i=0;i<this.exited.length;i++){var a=this.exited[i],o=this.matchabilityChange(a);(o===e.Movement.EXITED||o===e.Movement.STAYED_IN)&&t.removed.push(a)}},r.prototype.getOldParentNode=function(t){var n=this.treeChanges.get(t);if(n&&n.childList)return n.oldParentNode?n.oldParentNode:null;var r=this.treeChanges.reachabilityChange(t);if(r===e.Movement.STAYED_OUT||r===e.Movement.ENTERED)throw Error(`getOldParentNode requested on invalid node.`);return t.parentNode},r.prototype.getOldPreviousSibling=function(e){var t=e.parentNode,n=this.treeChanges.get(e);n&&n.oldParentNode&&(t=n.oldParentNode);var r=this.childListChangeMap.get(t);if(!r)throw Error(`getOldPreviousSibling requested on invalid node.`);return r.oldPrevious.get(e)},r.prototype.getOldAttribute=function(e,t){var n=this.treeChanges.get(e);if(!n||!n.attributes)throw Error(`getOldAttribute requested on invalid node.`);var r=n.getAttributeOldValue(t);if(r===void 0)throw Error(`getOldAttribute requested for unchanged attribute name.`);return r},r.prototype.attributeChangedNodes=function(t){if(!this.treeChanges.anyAttributesChanged)return{};var n,r;if(t){n={},r={};for(var i=0;i<t.length;i++){var a=t[i];n[a]=!0,r[a.toLowerCase()]=a}}for(var o={},s=this.treeChanges.keys(),i=0;i<s.length;i++){var c=s[i],l=this.treeChanges.get(c);if(l.attributes&&!(e.Movement.STAYED_IN!==this.treeChanges.reachabilityChange(c)||e.Movement.STAYED_IN!==this.matchabilityChange(c)))for(var u=c,d=l.getAttributeNamesMutated(),f=0;f<d.length;f++){var a=d[f];n&&!n[a]&&!(l.isCaseInsensitive&&r[a])||l.getAttributeOldValue(a)!==u.getAttribute(a)&&(r&&l.isCaseInsensitive&&(a=r[a]),o[a]=o[a]||[],o[a].push(u))}}return o},r.prototype.getOldCharacterData=function(e){var t=this.treeChanges.get(e);if(!t||!t.characterData)throw Error(`getOldCharacterData requested on invalid node.`);return t.characterDataOldValue},r.prototype.getCharacterDataChanged=function(){if(!this.treeChanges.anyCharacterDataChanged)return[];for(var t=this.treeChanges.keys(),n=[],r=0;r<t.length;r++){var i=t[r];if(e.Movement.STAYED_IN===this.treeChanges.reachabilityChange(i)){var a=this.treeChanges.get(i);!a.characterData||i.textContent==a.characterDataOldValue||n.push(i)}}return n},r.prototype.computeMatchabilityChange=function(e,n){this.matchCache||=[],this.matchCache[e.uid]||(this.matchCache[e.uid]=new t);var r=this.matchCache[e.uid],i=r.get(n);return i===void 0&&(i=e.matchabilityChange(n,this.treeChanges.get(n)),r.set(n,i)),i},r.prototype.matchabilityChange=function(t){var n=this;if(this.characterDataOnly)switch(t.nodeType){case Node.COMMENT_NODE:case Node.TEXT_NODE:return e.Movement.STAYED_IN;default:return e.Movement.STAYED_OUT}if(!this.selectors)return e.Movement.STAYED_IN;if(t.nodeType!==Node.ELEMENT_NODE)return e.Movement.STAYED_OUT;for(var r=t,i=this.selectors.map(function(e){return n.computeMatchabilityChange(e,r)}),a=e.Movement.STAYED_OUT,o=0;a!==e.Movement.STAYED_IN&&o<i.length;){switch(i[o]){case e.Movement.STAYED_IN:a=e.Movement.STAYED_IN;break;case e.Movement.ENTERED:a=a===e.Movement.EXITED?e.Movement.STAYED_IN:e.Movement.ENTERED;break;case e.Movement.EXITED:a=a===e.Movement.ENTERED?e.Movement.STAYED_IN:e.Movement.EXITED;break}o++}return a},r.prototype.getChildlistChange=function(e){var t=this.childListChangeMap.get(e);return t||(t=new n,this.childListChangeMap.set(e,t)),t},r.prototype.processChildlistChanges=function(){if(!this.childListChangeMap){this.childListChangeMap=new t;for(var n=function(t){var n=r.mutations[t];if(n.type!=`childList`||r.treeChanges.reachabilityChange(n.target)!==e.Movement.STAYED_IN&&!r.calcOldPreviousSibling)return`continue`;for(var i=r.getChildlistChange(n.target),a=n.previousSibling,o=function(e,t){!e||i.oldPrevious.has(e)||i.added.has(e)||i.maybeMoved.has(e)||t&&(i.added.has(t)||i.maybeMoved.has(t))||i.oldPrevious.set(e,t)},s=0;s<n.removedNodes.length;s++){var c=n.removedNodes[s];o(c,a),i.added.has(c)?i.added.delete(c):(i.removed.set(c,!0),i.maybeMoved.delete(c)),a=c}o(n.nextSibling,a);for(var s=0;s<n.addedNodes.length;s++){var c=n.addedNodes[s];i.removed.has(c)?(i.removed.delete(c),i.maybeMoved.set(c,!0)):i.added.set(c,!0)}},r=this,i=0;i<this.mutations.length;i++)n(i)}},r.prototype.wasReordered=function(e){if(!this.treeChanges.anyParentsChanged)return!1;this.processChildlistChanges();var n=e.parentNode,r=this.treeChanges.get(e);r&&r.oldParentNode&&(n=r.oldParentNode);var i=this.childListChangeMap.get(n);if(!i)return!1;if(i.moved)return i.moved.get(e);i.moved=new t;var a=new t;function o(e){if(!e||!i.maybeMoved.has(e))return!1;var t=i.moved.get(e);return t===void 0?(a.has(e)?t=!0:(a.set(e,!0),t=u(e)!==c(e)),a.has(e)?(a.delete(e),i.moved.set(e,t)):t=i.moved.get(e),t):t}var s=new t;function c(e){var t=s.get(e);if(t!==void 0)return t;for(t=i.oldPrevious.get(e);t&&(i.removed.has(t)||o(t));)t=c(t);return t===void 0&&(t=e.previousSibling),s.set(e,t),t}var l=new t;function u(e){if(l.has(e))return l.get(e);for(var t=e.previousSibling;t&&(i.added.has(t)||o(t));)t=t.previousSibling;return l.set(e,t),t}return i.maybeMoved.keys().forEach(o),i.moved.get(e)},r}(),c=function(){function e(e,t){var n=this;if(this.projection=e,this.added=[],this.removed=[],this.reparented=t.all||t.element||t.characterData?[]:void 0,this.reordered=t.all?[]:void 0,e.getChanged(this,t.elementFilter,t.characterData),t.all||t.attribute||t.attributeList){var r=t.attribute?[t.attribute]:t.attributeList,i=e.attributeChangedNodes(r);t.attribute?this.valueChanged=i[t.attribute]||[]:(this.attributeChanged=i,t.attributeList&&t.attributeList.forEach(function(e){n.attributeChanged.hasOwnProperty(e)||(n.attributeChanged[e]=[])}))}if(t.all||t.characterData){var a=e.getCharacterDataChanged();t.characterData?this.valueChanged=a:this.characterDataChanged=a}this.reordered&&(this.getOldPreviousSibling=e.getOldPreviousSibling.bind(e))}return e.prototype.getOldParentNode=function(e){return this.projection.getOldParentNode(e)},e.prototype.getOldAttribute=function(e,t){return this.projection.getOldAttribute(e,t)},e.prototype.getOldCharacterData=function(e){return this.projection.getOldCharacterData(e)},e.prototype.getOldPreviousSibling=function(e){return this.projection.getOldPreviousSibling(e)},e}(),l=function(){function e(){}return e.prototype.matches=function(e){if(e===null)return!1;if(this.attrValue===void 0)return!0;if(!this.contains)return this.attrValue==e;for(var t=e.split(` `),n=0;n<t.length;n++)if(this.attrValue===t[n])return!0;return!1},e.prototype.toString=function(){return this.attrName===`class`&&this.contains?`.`+this.attrValue:this.attrName===`id`&&!this.contains?`#`+this.attrValue:this.contains?`[`+this.attrName+`~=`+u(this.attrValue)+`]`:`attrValue`in this?`[`+this.attrName+`=`+u(this.attrValue)+`]`:`[`+this.attrName+`]`},e}();function u(e){return`"`+e.replace(/"/,`\\"`)+`"`}var d=/[a-zA-Z_]+/,f=/[a-zA-Z0-9_\-]+/,p=function(){function t(){this.uid=t.nextUid++,this.qualifiers=[]}return Object.defineProperty(t.prototype,"caseInsensitiveTagName",{get:function(){return this.tagName.toUpperCase()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectorString",{get:function(){return this.tagName+this.qualifiers.join(``)},enumerable:!1,configurable:!0}),t.prototype.isMatching=function(e){return e[t.matchesSelector](this.selectorString)},t.prototype.wasMatching=function(e,t,n){if(!t||!t.attributes)return n;var r=t.isCaseInsensitive?this.caseInsensitiveTagName:this.tagName;if(r!==`*`&&r!==e.tagName)return!1;for(var i=[],a=!1,o=0;o<this.qualifiers.length;o++){var s=this.qualifiers[o],c=t.getAttributeOldValue(s.attrName);i.push(c),a||=c!==void 0}if(!a)return n;for(var o=0;o<this.qualifiers.length;o++){var s=this.qualifiers[o],c=i[o];if(c===void 0&&(c=e.getAttribute(s.attrName)),!s.matches(c))return!1}return!0},t.prototype.matchabilityChange=function(t,n){var r=this.isMatching(t);return r?this.wasMatching(t,n,r)?e.Movement.STAYED_IN:e.Movement.ENTERED:this.wasMatching(t,n,r)?e.Movement.EXITED:e.Movement.STAYED_OUT},t.parseSelectors=function(e){var n=[],r,i;function a(){r&&(i&&=(r.qualifiers.push(i),void 0),n.push(r)),r=new t}function o(){i&&r.qualifiers.push(i),i=new l}for(var s=/\s/,c=void 0,u=`Invalid or unsupported selector syntax.`,p=1,m=2,h=3,g=4,_=5,v=6,y=7,b=8,x=9,S=10,C=11,w=12,T=13,E=14,D=p,O=0;O<e.length;){var k=e[O++];switch(D){case p:if(k.match(d)){a(),r.tagName=k,D=m;break}if(k==`*`){a(),r.tagName=`*`,D=h;break}if(k==`.`){a(),o(),r.tagName=`*`,i.attrName=`class`,i.contains=!0,D=g;break}if(k==`#`){a(),o(),r.tagName=`*`,i.attrName=`id`,D=g;break}if(k==`[`){a(),o(),r.tagName=`*`,i.attrName=``,D=v;break}if(k.match(s))break;throw Error(u);case m:if(k.match(f)){r.tagName+=k;break}if(k==`.`){o(),i.attrName=`class`,i.contains=!0,D=g;break}if(k==`#`){o(),i.attrName=`id`,D=g;break}if(k==`[`){o(),i.attrName=``,D=v;break}if(k.match(s)){D=E;break}if(k==`,`){D=p;break}throw Error(u);case h:if(k==`.`){o(),i.attrName=`class`,i.contains=!0,D=g;break}if(k==`#`){o(),i.attrName=`id`,D=g;break}if(k==`[`){o(),i.attrName=``,D=v;break}if(k.match(s)){D=E;break}if(k==`,`){D=p;break}throw Error(u);case g:if(k.match(d)){i.attrValue=k,D=_;break}throw Error(u);case _:if(k.match(f)){i.attrValue+=k;break}if(k==`.`){o(),i.attrName=`class`,i.contains=!0,D=g;break}if(k==`#`){o(),i.attrName=`id`,D=g;break}if(k==`[`){o(),D=v;break}if(k.match(s)){D=E;break}if(k==`,`){D=p;break}throw Error(u);case v:if(k.match(d)){i.attrName=k,D=y;break}if(k.match(s))break;throw Error(u);case y:if(k.match(f)){i.attrName+=k;break}if(k.match(s)){D=b;break}if(k==`~`){i.contains=!0,D=x;break}if(k==`=`){i.attrValue=``,D=C;break}if(k==`]`){D=h;break}throw Error(u);case b:if(k==`~`){i.contains=!0,D=x;break}if(k==`=`){i.attrValue=``,D=C;break}if(k==`]`){D=h;break}if(k.match(s))break;throw Error(u);case x:if(k==`=`){i.attrValue=``,D=C;break}throw Error(u);case S:if(k==`]`){D=h;break}if(k.match(s))break;throw Error(u);case C:if(k.match(s))break;if(k==`"`||k==`'`){c=k,D=T;break}i.attrValue+=k,D=w;break;case w:if(k.match(s)){D=S;break}if(k==`]`){D=h;break}if(k==`'`||k==`"`)throw Error(u);i.attrValue+=k;break;case T:if(k==c){D=S;break}i.attrValue+=k;break;case E:if(k.match(s))break;if(k==`,`){D=p;break}throw Error(u)}}switch(D){case p:case m:case h:case _:case E:a();break;default:throw Error(u)}if(!n.length)throw Error(u);return n},t.nextUid=1,t.matchesSelector=`matches`,t}(),m=function(){function e(){}return e.createObserverOptions=function(t){var n={childList:!0,subtree:!0},r;function i(e){if(!(n.attributes&&!r)){if(n.attributes=!0,n.attributeOldValue=!0,!e){r=void 0;return}r||={},e.forEach(function(e){r[e]=!0,r[e.toLowerCase()]=!0})}}return t.forEach(function(t){if(t.characterData){n.characterData=!0,n.characterDataOldValue=!0;return}if(t.all){i(),n.characterData=!0,n.characterDataOldValue=!0;return}if(t.attribute){i([t.attribute.trim()]);return}var r=e._elementFilterAttributes(t.elementFilter).concat(t.attributeList||[]);r.length&&i(r)}),r&&(n.attributeFilter=Object.keys(r)),n},e.validateOptions=function(t){for(var n in t)if(!(n in e._optionKeys))throw Error(`Invalid option: `+n);if(typeof t.callback!=`function`)throw Error(`Invalid options: callback is required and must be a function`);if(!t.queries||!t.queries.length)throw Error(`Invalid options: queries must contain at least one query request object.`);for(var r={callback:t.callback,rootNode:t.rootNode||document,observeOwnChanges:!!t.observeOwnChanges,oldPreviousSibling:!!t.oldPreviousSibling,queries:[]},i=0;i<t.queries.length;i++){var a=t.queries[i];if(a.all){if(Object.keys(a).length>1)throw Error(`Invalid request option. all has no options.`);r.queries.push({all:!0});continue}if(`attribute`in a){var o={attribute:e._validateAttribute(a.attribute)};if(o.elementFilter=p.parseSelectors(`*[`+o.attribute+`]`),Object.keys(a).length>1)throw Error(`Invalid request option. attribute has no options.`);r.queries.push(o);continue}if(`element`in a){var s=Object.keys(a).length,o={element:a.element,elementFilter:p.parseSelectors(a.element)};if(a.hasOwnProperty(`elementAttributes`)&&(o.attributeList=e._validateElementAttributes(a.elementAttributes),s--),s>1)throw Error(`Invalid request option. element only allows elementAttributes option.`);r.queries.push(o);continue}if(a.characterData){if(Object.keys(a).length>1)throw Error(`Invalid request option. characterData has no options.`);r.queries.push({characterData:!0});continue}throw Error(`Invalid request option. Unknown query request.`)}return r},e._validateElementAttributes=function(t){if(!t.trim().length)throw Error(`Invalid request option: elementAttributes must contain at least one attribute.`);for(var n={},r={},i=t.split(/\s+/),a=0;a<i.length;a++){var o=i[a];if(o){o=e._validateAttribute(o);var s=o.toLowerCase();if(n[s])throw Error(`Invalid request option: observing multiple case variations of the same attribute is not supported.`);r[o]=!0,n[s]=!0}}return Object.keys(r)},e._elementFilterAttributes=function(e){var t={};return e.forEach(function(e){e.qualifiers.forEach(function(e){t[e.attrName]=!0})}),Object.keys(t)},e._validateAttribute=function(t){if(typeof t!=`string`||(t=t.trim(),!t))throw Error(`Invalid request option. attribute must be a non-zero length string.`);if(!t.match(e._attributeFilterPattern))throw Error(`Invalid request option. invalid attribute name: `+t);return t},e._attributeFilterPattern=/^([a-zA-Z:_]+[a-zA-Z0-9_\-:.]*)$/,e._optionKeys={callback:!0,queries:!0,rootNode:!0,oldPreviousSibling:!0,observeOwnChanges:!0},e}(),h=function(){function e(t){var n=this;this._connected=!1,this._options=m.validateOptions(t),this._observerOptions=m.createObserverOptions(this._options.queries),this._root=this._options.rootNode,this._callback=this._options.callback,this._elementFilter=Array.prototype.concat.apply([],this._options.queries.map(function(e){return e.elementFilter?e.elementFilter:[]})),this._elementFilter.length||(this._elementFilter=void 0),this._calcReordered=this._options.queries.some(function(e){return e.all}),this._queryValidators=[],e.createQueryValidator&&(this._queryValidators=this._options.queries.map(function(t){return e.createQueryValidator(n._root,t)})),this._observer=new MutationObserver(function(e){n._observerCallback(e)}),this.reconnect()}return e.prototype.reconnect=function(){if(this._connected)throw Error(`Already connected`);this._observer.observe(this._root,this._observerOptions),this._connected=!0,this._checkpointQueryValidators()},e.prototype.takeSummaries=function(){if(!this._connected)throw Error(`Not connected`);var e=this._createSummaries(this._observer.takeRecords());return this._changesToReport(e)?e:void 0},e.prototype.disconnect=function(){var e=this.takeSummaries();return this._observer.disconnect(),this._connected=!1,e},e.prototype._observerCallback=function(e){this._options.observeOwnChanges||this._observer.disconnect();var t=this._createSummaries(e);this._runQueryValidators(t),this._options.observeOwnChanges&&this._checkpointQueryValidators(),this._changesToReport(t)&&this._callback(t),!this._options.observeOwnChanges&&this._connected&&(this._checkpointQueryValidators(),this._observer.observe(this._root,this._observerOptions))},e.prototype._createSummaries=function(e){if(!e||!e.length)return[];for(var t=new s(this._root,e,this._elementFilter,this._calcReordered,this._options.oldPreviousSibling),n=[],r=0;r<this._options.queries.length;r++)n.push(new c(t,this._options.queries[r]));return n},e.prototype._checkpointQueryValidators=function(){this._queryValidators.forEach(function(e){e&&e.recordPreviousState()})},e.prototype._runQueryValidators=function(e){this._queryValidators.forEach(function(t,n){t&&t.validate(e[n])})},e.prototype._changesToReport=function(e){return e.some(function(e){return!!([`added`,`removed`,`reordered`,`reparented`,`valueChanged`,`characterDataChanged`].some(function(t){return e[t]&&e[t].length})||e.attributeChanged&&Object.keys(e.attributeChanged).some(function(t){return!!e.attributeChanged[t].length}))})},e}(),g=function(){function e(e,t){this.root=e,this.delegate=t,this.idMap={}}return e.prototype.initialize=function(e,t){this.idMap[e]=this.root;for(var n=0;n<t.length;n++)this.deserializeNode(t[n],this.root)},e.prototype.applyChanged=function(e,t,n,r){var i=this;t.forEach(function(e){var t=i.deserializeNode(e);i.deserializeNode(e.parentNode),i.deserializeNode(e.previousSibling),t.parentNode&&t.parentNode.removeChild(t)}),e.forEach(function(e){var t=i.deserializeNode(e);t.parentNode&&t.parentNode.removeChild(t)}),t.forEach(function(e){var t=i.deserializeNode(e),n=i.deserializeNode(e.parentNode),r=i.deserializeNode(e.previousSibling);n.insertBefore(t,r?r.nextSibling:n.firstChild)}),n.forEach(function(e){var t=i.deserializeNode(e);Object.keys(e.attributes).forEach(function(n){var r=e.attributes[n];r===null?t.removeAttribute(n):(!i.delegate||!i.delegate.setAttribute||!i.delegate.setAttribute(t,n,r))&&t.setAttribute(n,r)})}),r.forEach(function(e){var t=i.deserializeNode(e);t.textContent=e.textContent}),e.forEach(function(e){delete i.idMap[e.id]})},e.prototype.deserializeNode=function(e,t){var n=this;if(e===null)return null;var r=this.idMap[e.id];if(r)return r;var i=this.root.ownerDocument;switch(i===null&&(i=this.root),e.nodeType){case Node.COMMENT_NODE:r=i.createComment(e.textContent);break;case Node.TEXT_NODE:r=i.createTextNode(e.textContent);break;case Node.DOCUMENT_TYPE_NODE:r=i.implementation.createDocumentType(e.name,e.publicId,e.systemId);break;case Node.ELEMENT_NODE:this.delegate&&this.delegate.createElement&&(r=this.delegate.createElement(e.tagName)),r||=i.createElement(e.tagName),Object.keys(e.attributes).forEach(function(t){(!n.delegate||!n.delegate.setAttribute||!n.delegate.setAttribute(r,t,e.attributes[t]))&&r.setAttribute(t,e.attributes[t])});break;default:throw`Unsupported node type: `+e.nodeType}if(this.idMap[e.id]=r,t&&t.appendChild(r),e.childNodes)for(var a=0;a<e.childNodes.length;a++)this.deserializeNode(e.childNodes[a],r);return r},e}(),_=function(){function e(e,n,r){var i=this;this.target=e,this.mirror=n,this.nextId=1,this.knownNodes=new t;for(var a=this.serializeNode(e).id,o=[],s=e.firstChild;s;s=s.nextSibling)o.push(this.serializeNode(s,!0));this.mirror.initialize(a,o);var c=[{all:!0}];r&&(c=c.concat(r)),this.mutationSummary=new h({rootNode:e,callback:function(e){i.applyChanged(e)},queries:c})}return e.prototype.disconnect=function(){this.mutationSummary&&=(this.mutationSummary.disconnect(),void 0)},e.prototype.rememberNode=function(e){var t=this.nextId++;return this.knownNodes.set(e,t),t},e.prototype.forgetNode=function(e){this.knownNodes.delete(e)},e.prototype.serializeNode=function(e,t){if(e===null)return null;var n=this.knownNodes.get(e);if(n!==void 0)return{id:n};var r={nodeType:e.nodeType,id:this.rememberNode(e)};switch(r.nodeType){case Node.DOCUMENT_TYPE_NODE:var i=e;r.name=i.name,r.publicId=i.publicId,r.systemId=i.systemId;break;case Node.COMMENT_NODE:case Node.TEXT_NODE:r.textContent=e.textContent;break;case Node.ELEMENT_NODE:var a=e;r.tagName=a.tagName,r.attributes={};for(var o=0;o<a.attributes.length;o++){var s=a.attributes[o];r.attributes[s.name]=s.value}if(t&&a.childNodes.length){r.childNodes=[];for(var c=a.firstChild;c;c=c.nextSibling)r.childNodes.push(this.serializeNode(c,!0))}break}return r},e.prototype.serializeAddedAndMoved=function(e,n,r){var i=this,a=e.concat(n).concat(r),o=new t;a.forEach(function(e){var n=e.parentNode,r=o.get(n);r||(r=new t,o.set(n,r)),r.set(e,!0)});var s=[];return o.keys().forEach(function(e){for(var t=o.get(e),n=t.keys();n.length;){for(var r=n[0];r.previousSibling&&t.has(r.previousSibling);)r=r.previousSibling;for(;r&&t.has(r);){var a=i.serializeNode(r);a.previousSibling=i.serializeNode(r.previousSibling),a.parentNode=i.serializeNode(r.parentNode),s.push(a),t.delete(r),r=r.nextSibling}n=t.keys()}}),s},e.prototype.serializeAttributeChanges=function(e){var n=this,r=new t;return Object.keys(e).forEach(function(t){e[t].forEach(function(e){var i=r.get(e);i||(i=n.serializeNode(e),i.attributes={},r.set(e,i)),i.attributes[t]=e.getAttribute(t)})}),r.keys().map(function(e){return r.get(e)})},e.prototype.applyChanged=function(e){var t=this,n=e[0],r=n.removed.map(function(e){return t.serializeNode(e)}),i=this.serializeAddedAndMoved(n.added,n.reparented,n.reordered),a=this.serializeAttributeChanges(n.attributeChanged),o=n.characterDataChanged.map(function(e){var n=t.serializeNode(e);return n.textContent=e.textContent,n});this.mirror.applyChanged(r,i,a,o),n.removed.forEach(function(e){t.forgetNode(e)})},e}();if(MutationObserver===void 0)throw Error(`DOM Mutation Observers are required`);e.ChildListChange=n,e.MutationProjection=s,e.MutationSummary=h,e.NodeChange=a,e.NodeMap=t,e.Qualifier=l,e.Selector=p,e.Summary=c,e.TreeChanges=o,e.TreeMirror=g,e.TreeMirrorClient=_,Object.defineProperty(e,"__esModule",{value:!0})}))}))(),Nc=0,Pc=Array(1e3);function Fc(){for(let e=0;e<Nc;e+=2){let t=Pc[e],n=Pc[e+1];t(...n),Pc[e]=void 0,Pc[e+1]=void 0}Nc=0}function Ic(e,...t){Pc[Nc]=e,Pc[Nc+1]=t,Nc+=2,Nc===2&&Rc()}function Lc(){let e=0,t=new MutationObserver(Fc),n=document.createTextNode(``);return t.observe(n,{characterData:!0}),()=>{n.data=String(e=++e%2)}}var Rc=Lc();function zc(){Ic(()=>{Bc.hasListeners()&&(Bc.fire(),zc())})}var Bc=new i.Xa({onFirstListenerAdd:zc}),Vc=Bc.once,Hc=class extends i.Xa{_mutationSummary;constructor(e={}){super(),this._mutationSummary=new Mc.MutationSummary({...e,observeOwnChanges:!0,callback:e=>this.fire(e),queries:[{all:!0}]})}dispose(){this._mutationSummary.disconnect(),super.dispose()}trigger(e){let t=this._mutationSummary.takeSummaries();return(e||t?.length)&&this.fire(t||[]),t}},Uc=class extends i.oo{_mutationEmitter;_innerEmitter=this.addDisposable(new i.Xa({onFirstListenerAdd:()=>{this._nextTickHandler()}}));_lostEmitter=this.addDisposable(new i.Xa);_paused=0;_stopped=0;_summaries=[];_nextTickHandler(){Vc(()=>{this.trigger(),this._summaries.length&&(this._innerEmitter.hasListeners()?this._innerEmitter.fire(this._summaries):this._lostEmitter.fire(this._summaries),this._summaries=[])},Number.MAX_VALUE)}constructor(e={}){super(),this._mutationEmitter=this.addDisposable(new Hc(e)),this.onNativeMutate=this._mutationEmitter.event,this.addDisposable(this._mutationEmitter.event(e=>{this._stopped||(this._paused?this._lostEmitter.fire(e):(this._summaries.push(...e),Vc(()=>{this._summaries.length&&!this._innerEmitter.hasListeners()&&(this._lostEmitter.fire(this._summaries),this._summaries=[])},Number.MAX_VALUE)))}))}get isStoped(){return this._paused>0||this._stopped>0}stop(){this._mutationEmitter.trigger(),this._stopped++}start(){this._mutationEmitter.trigger(),this._stopped--}pause(){this._mutationEmitter.trigger(),this._paused++}resume(){this._mutationEmitter.trigger(),this._paused--}trigger(){this._mutationEmitter.trigger(!0)}onMutate=this._innerEmitter.event;onLost=this._lostEmitter.event;onNativeMutate};function Wc(e){for(let t of e){if(t.removed)for(let e of t.removed){let n=t.getOldParentNode(e),r=t.getOldPreviousSibling(e);if(n){let t=r?.nextSibling??null;n.insertBefore(e,t)}}if(t.added)for(let e of t.added)e.parentNode&&e.parentNode.removeChild(e);if(t.reordered)for(let e of t.reordered){let n=t.getOldParentNode(e),r=t.getOldPreviousSibling(e);if(n){let t=r?.nextSibling??null;n.insertBefore(e,t)}}if(t.attributeChanged)for(let e of Object.keys(t.attributeChanged))for(let n of t.attributeChanged[e]){let r=t.getOldAttribute(n,e);r==null?n.removeAttribute(e):n.setAttribute(e,r)}if(t.characterDataChanged)for(let e of t.characterDataChanged)(Ba(e)||Fa(e)||Fa(e))&&(e.data=t.getOldCharacterData(e))}}var Gc=class extends i.oo{_commitPromise;_mutationCollector;_onLostSummaries=e=>{try{this._mutationCollector.stop(),Wc(e)}finally{this._mutationCollector.start()}};constructor(e){super(),this._mutationCollector=this.addDisposable(new Uc({rootNode:e,oldPreviousSibling:!0})),this._mutationCollector.onLost(this._onLostSummaries)}commit(){if(this._commitPromise)return this._commitPromise;{let e=()=>new Promise(e=>{let t=this._mutationCollector.onMutate(n=>{this._commitPromise=void 0,e(),t.dispose()});Vc(()=>{this._commitPromise=void 0,e(),t.dispose()})});return this._commitPromise=e().catch(e=>void 0)}}};function Kc(e,t){let n=e=>{let t={contentDocument:e,html:Ua(e)};return t.html=Ac(t.html).html,t},r=new i.Ya,a=new i.Ya;try{let i=lc(e),o=document.implementation.createHTMLDocument();return qa(o,i),{document:o,handleRender:a.event,handleReadHtml:r.event,async run(){if(a.hasListeners()){let e=document.createElement(`iframe`);e.style.position=`absolute`,e.style.left=`-10000px`,document.body.appendChild(e);let i=e.contentWindow.document,s=new Gc(e.contentDocument);try{if(t){let[n,r]=t;n!==void 0&&e.setAttribute(`width`,String(n)),r!==void 0&&e.setAttribute(`height`,String(r))}qa(i,[...o.childNodes]),s.commit()}catch(e){throw e}finally{try{try{await a.fire({managedNodeController:s,contentDocument:i})}catch{}let e=n(i);try{await r.fire(e)}finally{return e.html}}finally{e.parentNode===document.body&&document.body.removeChild(e)}}}else{let e=n(o);try{await r.fire(e)}finally{return e.html}}}}}catch(e){throw e}}var qc=/url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;function Jc(e){return e.arrayBuffer().then(e=>{let t=new Uint8Array(e),n=``;for(let e=0;e<t.length;e++)n+=String.fromCharCode(t[e]);return btoa(n)})}function Yc(e,t=76){if(e=e.replace(/[\r\n\s]/g,``),!e)return e;let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n.join(`
71
+ `)}function Xc(e){return e.replaceAll(/[\\\/:*?"<>|]/g,`_`)}async function Zc(e,t,n,r,i,a){let o=[];a&&(a.attachments=o);let s=``;s=typeof i==`function`?await fl(t,n,r,i,a):(await dc(Object.keys(i).map(async e=>`\r\n--boundary-string\r\nContent-Type: ${e}\r\n\r\n${await fl(t,n,r,i[e],a)}\r\n\r\n`))).join(``)+`----boundary_string--`;let c=[`Subject: ${e}`,`X-Unsent: 1`,`MIME-Version: 1.0`];if(o.length>0){let e=`\r\n--boundary-related\r\nContent-Type: ${typeof i==`function`?`text/html; charset=utf-8`:`multipart/alternative; boundary="boundary-string"`}\r\n\r\n${s}\r\n`;for(let t of o)e+=`\r\n--boundary-related\r\nContent-Type: ${t.mimeType}\r\nContent-Transfer-Encoding: base64\r\nContent-ID: <${t.cid}>\r\n\r\n${t.base64}\r\n`;e+=`\r
72
+ --boundary-related--\r
73
+ `,s=e,c.push(`Content-Type: multipart/related; boundary="boundary-related"`)}else c.push(`Content-Type: ${typeof i==`function`?`text/html; charset=utf-8`:`multipart/alternative; boundary="boundary-string"`}`);return`${c.join(`\r
74
+ `)}\r\n\r\n${s}`}function Qc(e,t=!0){let n=e.replace(`\\`,`/`).split(`/`),r=n[n.length-1];return t?Xc(r):r}function $c(e){return!(e.length>8||e.length<1||/[^\x00-\x7F]/.test(e)||/[\\\/:*?"<>|&=%]/.test(e)||!/[a-zA-Z]/.test(e)||/^\d+$/.test(e))}function el(e){let t=e.replace(`\\`,`/`).split(`/`),n=t[t.length-1],r=n.lastIndexOf(`.`),i=n.slice(r+1);return r===-1||!$c(i)?[Xc(n),``]:[Xc(n.slice(0,r)),i]}function tl(e){return vl(e).then(e=>yl(e))}function nl(e){return e.replace(`<script`,`<___script`).replace(`<\/script>`,`</___script>`)}var rl=new sa(e=>{e.escape(`<script`,`<\/script>`,e=>nl(e)).unescape(`<___script`,`</___script>`,e=>e.replace(`<___script`,`<script`).replace(`</___script>`,`<\/script>`)),e.escape(`<script`,`/>`,e=>nl(e)).unescape(`<___script`,`/>`,e=>e.replace(`<___script`,`<script`)),ea(e)});async function il(e,t,n){e=rl.getEscapedText(e);let r=Kc(e,n);try{let n=r.document,i=n.querySelectorAll(`tbody`);for(let e of i)e.replaceWith(...e.childNodes);n.querySelectorAll(`em-replace`).forEach(e=>{if(e.hasAttribute(`text`)&&(e.insertAdjacentHTML(`beforebegin`,e.getAttribute(`text`)),e.parentNode.removeChild(e)),e.hasAttribute(`src`)){let t=e.querySelector(`img`);t.setAttribute(`src`,e.getAttribute(`src`)),e.replaceWith(t)}});try{await t(r,e)}catch{}e=await r.run()}catch(e){throw e}return rl.getUnescapedText(e)}function al(e,t,n){try{if(typeof n==`function`){let r=[];return String.prototype.replace.call(e,t,function(){return r.push(n.apply(void 0,arguments)),``}),dc(r).then(function(n){return String.prototype.replace.call(e,t,function(){return n.shift()})})}else return Promise.resolve(String.prototype.replace.call(e,t,n))}catch(e){return Promise.reject(e)}}async function ol(e,t,n=new Map,r){let i=e=>{let r=n.get(e);return r||(r=t(e),n.set(e,r)),r instanceof Promise?r:Promise.resolve(r)};function a(e){return al(e,qc,async(e,t=``,n)=>`url(${t}${await i(n)}${t})`)}async function o(e){let t=e.getAttribute(`style`);if(t){let n=await a(t);t!==n&&(e.setAttribute(`style`,n),r&&r())}}let s=e instanceof Document?e:e.ownerDocument;if(!s)return dc([]);let c=e instanceof Document?e.body??e.documentElement??e:e;if(!c)return dc([]);let l=s.createNodeIterator(c,NodeFilter.SHOW_ALL),u=[];for(;;){let e=l.nextNode();if(e===null)break;if(Ca(e)){u.push(o(e));let t=e.getAttribute(`background`);if(t&&u.push(i(t).then(n=>{e.setAttribute(`background`,n||t),r&&r()})),Ta(e)||Ea(e)){let t=e.getAttribute(`src`),n=t&&rl.hasDetectedMappings(t,!0,!0)?t:(`src`in e?e.src:``)||t;n&&u.push(i(n).then(t=>{t||=n,e.setAttribute(`src`,t),r&&r()}))}if(Aa(e)){let t=e.innerHTML;t&&u.push(a(t).then(n=>{n!==t&&(e.innerHTML=n,r&&r())}))}}else if(Fa(e)){let t=za(e),n=t?.content;n&&u.push(al(n,/<v:fill.*>/gi,async e=>al(await al(e,/src="([^"]*)"/gi,async(e,t)=>`src="${await i(t)||t}"`),/src='([^']*)'/gi,async(e,t)=>`src='${await i(t)||t}'`)).then(i=>{n!==i&&(e.replaceWith(lc(`${t.open}${i}${t.close}`)[0]),r&&r())}))}}return dc(u)}async function sl(e,t,n=new Map,r){await ol(e,t,n,r)}function cl(e){let t=new Map,n=0;for(;n>=0;)if(n=e.indexOf(`<!--`,n),n>=0){let r=e.indexOf(`-->`,n);t.set(e.substring(n,r+3),i.ro()),n=r}return t}function ll(e){return!!e&&rl.hasDetectedMappings(e,!0,!0)}function ul(e,t,n){if(ll(e.getAttribute(`href`)))return;let r=e.href;if(r=yc(r),r&&e.protocol.startsWith(`http`)){let i=cl(r);i.forEach((e,t)=>{r=r.replaceAll(t,e)});let a=r.indexOf(`#`),o=a>=0?r.substring(0,a):r,s=a>=0?r.substring(a+1):``,c=r.indexOf(`?`),l=c>=0?o.substring(c+1):``;if(o=c>=0?o.substring(0,c):o,e.host!==document.location.host){let a=new Map(l.split(`&`).filter(e=>e.indexOf(`=`)>=0).map(e=>e.split(`=`))),c=l;if(t){let e=Object.keys(t);for(let n of e)t[n]&&!a.has(n)&&(c=c+(c?`&`:``)+`${n}=${t[n]}`)}c!==l&&(r=o+(c?`?${c}`:``)+(s?`#${s}`:``),i.forEach((e,t)=>{r=r.replaceAll(e,t)}),e.setAttribute(`href`,r),n&&n())}}}async function dl(e,t,n,r){let[i,a]=t||[800];return typeof i==`number`&&(i+=`px`),typeof a==`number`&&(a+=`px`),e=await il(e,async e=>{let t=e.document;await sl(t,e=>rl.getEscapedText(e)===e?yc(e):e);let i=t.querySelectorAll(`a`);for(let e of i)ul(e,n);if(r)return r(e)},[i,a]),e}async function fl(e,t,n,r,a){let[o,s]=t||[800];return typeof o==`number`&&(o+=`px`),typeof s==`number`&&(s+=`px`),e=await il(e,async e=>{let t=e.document;if(await sl(t,e=>rl.getEscapedText(e)===e?yc(e):e),e.handleRender(async({contentDocument:e,managedNodeController:t})=>{let r=e.querySelectorAll(`*`);for(let e of r)if(Ta(e)){let n=await Ha(e);if(n){let t=parseInt(n.height),r=parseInt(n.width);isNaN(t)||e.setAttribute(`height`,String(t)),!isNaN(r)&&!e.getAttribute(`width`)&&e.setAttribute(`width`,String(r))}t.commit()}else if(Va(e)){let n=parseInt(getComputedStyle(e).width);!isNaN(n)&&e.parentElement.tagName!==`BODY`&&e.setAttribute(`width`,String(n)),t.commit()}else e.tagName===`TD`||e.tagName===`A`&&ul(e,n,()=>t.commit())}),a?.embedImagesAsBase64&&a.getImageBlob){let t=a.getImageBlob,n=a.attachments||[];e.handleReadHtml(async e=>{let r=new DOMParser().parseFromString(e.html,`text/html`),a=r.body??r.documentElement;if(!a)return;await sl(a,async e=>{if(rl.getEscapedText(e)!==e)return e;let r=e.trim();if(!r||/^cid:/i.test(r))return e;if(r.startsWith(`data:`)){let t=/^data:([^;]+);base64,(.+)$/i.exec(r);if(t){let e=`img-${i.ro()}@emailmaker`;return n.push({cid:e,mimeType:t[1]||`application/octet-stream`,base64:Yc(t[2])}),`cid:${e}`}return e}let a=yc(e);if(a.startsWith(`data:`)){let e=/^data:([^;]+);base64,(.+)$/i.exec(a);if(e){let t=`img-${i.ro()}@emailmaker`;return n.push({cid:t,mimeType:e[1]||`application/octet-stream`,base64:Yc(e[2])}),`cid:${t}`}return a}try{let e=await t(a),r=`img-${i.ro()}@emailmaker`,o=await Jc(e);return n.push({cid:r,mimeType:e.type||`application/octet-stream`,base64:Yc(o)}),`cid:${r}`}catch{return a}});let o=r.documentElement;e.html=o?Ua(o):e.html})}if(r)return r(e)},[o,s]),e=e.replaceAll(/<tbody>/gi,``).replaceAll(/<\/tbody>/gi,``),e}var pl=`images`,ml=40;function hl(){let e=new Date;return`${e.toISOString().slice(2,10).replace(/-/g,``).concat(`_`,e.toTimeString().slice(0,5).replace(/:/g,``))}_${Array.from({length:8},()=>`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`.charAt(Math.floor(Math.random()*62))).join(``)}`}async function gl(e,t,n,r=tl,i){let a=Object.create(null),[o,s]=t||[800];typeof o==`number`&&(o+=`px`),typeof s==`number`&&(s+=`px`);let c=new Set,l=await il(e,async e=>{let t=e.document;await sl(t,async e=>{rl.getEscapedText(e)===e&&(e=yc(e));let t=await r(e),[n,i]=el(e);if(n.length>ml&&(n=hl()),!i||!ji.getType(i))try{i=ji.getExtension(t.type)}catch{}let o=`${n}.${i}`,s=1;for(;c.has(o);)o=`${n}(${++s}).${i}`;c.add(o);let l=`${pl}/${o}`;return a[l]=t,l});let o=t.querySelectorAll(`a`);for(let e of o)ul(e,n);if(i)return i(e)},[o,s]);return a[`index.html`]=new Blob([l],{type:`text/html;charset=utf-8`}),a}function _l(e){let t=new oi.default;for(let n of Object.keys(e)){let r=t,i=n.split(`/`),a=i.length-1;for(let e=0;e<a;e++)r=t.folder(i[e]);r.file(i[a],e[n])}return t.generateAsync({type:`blob`,compression:`DEFLATE`})}function vl(e){let t=new Image;return t.crossOrigin=`anonymous`,new Promise((n,r)=>{t.onload=()=>n(t),t.onerror=r,t.src=e})}function yl(e,t=`image/png`,n){let r=document.createElement(`canvas`);return r.width=e.width,r.height=e.height,r.getContext(`2d`).drawImage(e,0,0),new Promise((e,i)=>r.toBlob(t=>t?e(t):i(`blob is null`),t,Number(n)||0))}function bl(e,t){do{if(e===t)return!0;e=e.parentNode}while(e);return!1}function xl(e){let t=e.ownerDocument?.body;if(t&&bl(e,t)){if(Ca(e)&&(e.tagName===`IMG`||e.tagName===`SPAN`&&e.classList.contains(`preheader`)))return``;if(e.nodeName===`#text`)return e.textContent}return e.childNodes?[...e.childNodes].map(xl).join(``):``}function Sl(e){let{document:t}=Kc(e);try{return xl(t).replace(/\u2800/g,``).replace(/(\r\n|\r|\n){2,}/g,`
75
+ `).trim()}catch{return``}}function Cl(e){let t=e.documentElement;return t||(t=e.createElement(`html`),e.appendChild(t)),t}function wl(e){let t=e.head;if(!t){t=e.createElement(`head`);let n=Cl(e);n.insertBefore(t,n.firstChild)}return t}function Tl(e){let t=Object.create(null),n=e.getAttributeNames();for(let r of n)t[r]=e.getAttribute(r);return t}function El(e){for(let t of document.querySelectorAll(`iframe`))if(t.contentDocument===e.ownerDocument)return t}function Dl(e){let t=wl(e);if(!e.querySelector(`style[amp4email-boilerplate]`)){let n=e.createElement(`style`);n.setAttribute(`amp4email-boilerplate`,``),n.innerHTML=`body{visibility:hidden}`,t.prepend(n)}}function Ol(e){let t=e.querySelector(`style[amp4email-boilerplate]`);t&&t.remove()}var kl=`amp-custom`;function Al(e,t){return`em-${e.replaceAll(`-`,`_`)}-${t.toLowerCase()}`}function jl(e,t,n){for(let r of t)if(Pa.isStyleRule(r)){let t=r.selectorText.split(/\+>~/).flatMap(e=>e.trim().split(` `));if(t.length===1&&t[0].trim().startsWith(`.em-`)){for(let t of r.style)if(r.style.getPropertyPriority(t)===`important`){for(let i of e.querySelectorAll(r.selectorText))if(wa(i)){let e=i.style;for(let r of[...e])if(r.startsWith(t)){let t=n(r,e.getPropertyValue(r)),a=i.getAttribute(`class`);i.setAttribute(`class`,a?`${t} ${a}`:t),e.removeProperty(r)}}}}}else Pa.isMediaRule(r)&&jl(e,r.cssRules,n)}function Ml(e,t){let n=t.sheet;if(n){let r=new Set;jl(e,n.cssRules,(e,i)=>{let a=Al(e,i),o=[...n.cssRules],s=`.${a} { ${e}: ${i} }`;return!o.find(e=>Pa.isStyleRule(e)&&e.selectorText===`.${a}`)&&!r.has(s)&&(r.add(s),t.innerHTML=`\n.${a} { ${e}: ${i} };\n${t.innerHTML}`),a}),r.size&&(t.innerHTML=`\n${[...r].join(`
76
+ `)};\n${t.innerHTML}`)}let r=t.innerHTML,i=r.replace(/!important/g,``);r!==i&&(t.innerHTML=i)}function Nl(e){let t=wl(e),n=e.querySelectorAll(`link[rel="stylesheet"]`),r=[...e.querySelectorAll(`style`)].filter(e=>!e.hasAttribute(`amp4email-boilerplate`));if(r.length===1){let n=r[0];if(n.parentElement===t&&n.getAttribute(kl)===``){Ml(e,n);return}}let i=[];for(let e of r)i.push(e.innerHTML),e.remove();if(i.length){let n=e.createElement(`style`);n.innerHTML=`\n${i.join(``)}\n`,n.setAttribute(kl,``),t.append(n),Ml(e,n)}for(let e of n)e.remove()}function Pl(e){let t=e.querySelector(`style[${kl}]`);t&&t.removeAttribute(kl)}var Fl=`<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">`,Il=`<!doctype html>`;function Ll(e){let t=e.doctype;if(t){if(ba(t)===Il)return;let n=new DOMParser().parseFromString(Il,`text/html`).doctype;e.replaceChild(n,t)}else{let t=new DOMParser().parseFromString(Il,`text/html`).doctype;e.insertBefore(t,e.firstChild)}}function Rl(e){let t=e.doctype;if(t&&ba(t).toLowerCase()===Il){let n=new DOMParser().parseFromString(Fl,`text/html`).doctype;e.replaceChild(n,t)}}async function zl(e,t={}){let n=document.createElement(`amp-img`),r=await Ha(e)||void 0,i=[];try{let a=e;for(;a&&wa(a);)getComputedStyle(a)?.display===`none`&&(a.style.display=`initial`,i.push([a,a.style.display])),a=a.parentElement;let o=r?.height?`${parseInt(r.height)}`:``,s=r?.width?`${parseInt(r.width)}`:``,c=El(e),l=!1;if(c){let t=c.getAttribute(`width`);try{let n=s?`${s}px`:``;t||(c.setAttribute(`width`,`720px`),n=getComputedStyle(e).width||``),c.setAttribute(`width`,!t||parseInt(t)>320?`320px`:`720px`),n!==(getComputedStyle(e).width||``)&&(l=!0)}finally{t&&c.setAttribute(`width`,t||``)}}let u=e.src||e.srcset.split(`,`)[0];e.style.width===`100%`&&e.style.removeProperty(`width`),e.style.maxWidth===`100%`&&e.style.removeProperty(`max-width`),t={...Tl(e),alt:e.alt,width:s,height:o,src:u,layout:l?`responsive`:`fixed`,...t};for(let e of Object.keys(t))sc(n,e,t[e])}finally{for(let[e,t]of i)e.style.display=t}return n}function Bl(e){let t=document.createElement(`img`),{layout:n,height:r,...i}=Tl(e),a=n===`responsive`;for(let e of Object.keys(i))sc(t,e,i[e]);return a&&(t.style.maxWidth=i.width||`0px`,t.style.width=`100%`),t}async function Vl(e,t){let n=[...e.querySelectorAll(`img`)],r=[];for(let e of n)r.push(zl(e).then(t=>[e,t],()=>[e,void 0]));let i=[...e.querySelectorAll(`picture`)];for(let e of i){let t=e.querySelector(`img`);t?r.push(zl(t).then(t=>[e,t],()=>[e,void 0])):r.push([e,void 0])}if(r.length){let e=await Promise.all(r);for(let[t,n]of e)n?t.replaceWith(n):t.remove();t?.()}}function Hl(e,t){let n=[...e.querySelectorAll(`amp-img`)];for(let e of n)e.replaceWith(Bl(e));n.length&&t?.()}function Ul(e){let t=e.querySelectorAll(`meta`);for(let e of t){let t=e.getAttribute(`charset`);if(t){t!==`utf-8`&&e.setAttribute(`charset`,`utf-8`);return}}let n=wl(e),r=e.createElement(`meta`);r.setAttribute(`charset`,`utf-8`),n.insertBefore(r,n.firstChild)}function Wl(e,t,n){let r=n(`script:not([type="application/ld+json"])`),i=e.querySelectorAll(r);for(let e of i)!e.getAttribute(`src`)?.startsWith(`https://cdn.ampproject.org/`)&&!(e.closest(`amp-state`)&&e.getAttribute(`type`)===`application/json`)&&e.remove()}var Gl=`https://cdn.ampproject.org/v0`,Kl=`${Gl}.js`,ql=`script[src='${Kl}']`;function Jl(e,t){return`${Gl}/${e.toLowerCase()}-${t}.js`}async function Yl(e,t,n){for(let{name:r,versions:i}of t){let t=n.replaceSelectors(r===`amp-mustache`?`script[async][custom-template='${r}']`:`script[async][custom-element='${r}']`);if(!e.querySelector(t)){let t=wl(e),a=n.createElementFn(`script`),o=Jl(r,i.findLast(e=>e!==`latest`)||`v0`);a.setAttribute(`async`,``),a.setAttribute(r===`amp-mustache`?`custom-template`:`custom-element`,r),a.setAttribute(`src`,o),t.appendChild(a),t.appendChild(e.createTextNode(`
77
+ `))}}}function Xl(e,t){let n=e.querySelectorAll(`*`),r=e.querySelectorAll(t.replaceSelectors(`script[src]`));for(let e of r)e.getAttribute(`src`)?.startsWith(`https://cdn.ampproject.org/v0`)&&e.remove();for(let e of n)ou(e)&&e.tagName!==`FORM`&&e.remove()}var Zl=void 0;async function Ql(){return Zl||=await Promise.resolve().then(()=>e("./cd05bd422.js")).then(e=>e.default)}var $l=new Map;async function eu(){if(!$l.size){let e=await Ql(),t=e.tags;for(let n=0;n<t.length;n++){let r=t[n],{selector:i,attrs:a,attrLists:o}=r,s=o?.flatMap(t=>e.attrLists.filter(({name:e})=>e===t).flatMap(e=>e.attrs))||[];$l.set(i,{...r,priority:n,attrs:new Map([...a,...s].map(e=>[e.name,e]))})}}return $l}var tu=new Map;async function nu(){if(!tu.size){let e=await Ql();for(let t of e.declarations)tu.set(t.name,t)}return tu}var ru=`$GLOBAL_ATTRS`,iu=new Map;async function au(){if(!iu.size){let e=(await Ql()).attrLists.find(e=>e.name===ru)?.attrs;if(e)for(let t of e)iu.set(t.name,t)}return iu}function ou(e){return Ca(e)&&(e.tagName.startsWith(`AMP`)||e.tagName===`FORM`||e.tagName===`TEMPLATE`&&e.getAttribute(`type`)?.toLowerCase()===`amp-mustache`)}function su(e,t,n){if(!t)return;function r(){let n=t.compareDocumentPosition(e);if(!(n&8)){if(n&2)return t.insertBefore(e,t.firstChild),!0;if(n&4)return t.appendChild(e),!0}return!1}function i(){let r=[...e.childNodes];for(let e=r.length-1;e>=0;e--)su(r[e],t,n)}if(Ca(e))switch(e.tagName.toLowerCase()){case`body`:return;case n(`script`):case`style`:case`meta`:case`title`:return;case`head`:case`html`:i();break;default:r()||i();break}else ja(e)?i():Ba(e)&&(e.textContent?.trim()||e.nextSibling?.textContent?.trim()&&Ba(e.nextSibling))&&r()}async function cu(e,t){let n=new Set,r=t.commit,i=e=>t.replaceSelectors(e.toLowerCase());if(t.replaceImages&&await Vl(e,r),t.injectExtensions){let n=t.replaceSelectors(ql);if(!e.querySelector(n)){let n=t.createElementFn(`script`);n.setAttribute(`src`,Kl),n.setAttribute(`async`,``),wl(e).appendChild(n),r?.()}}t.injectRequiredTags&&(Wl(e,t.createElementFn,i),Ll(e),Dl(e),Ul(e),r?.()),t.replaceStylesAndLinks&&(Nl(e),r?.());let a=await Ql(),o=await eu(),s=new Set(t.removeUnsupportedTags?e.querySelectorAll(`*`):[]),c=new Map;for(let[n,r]of o)if(!r.deprecation){n=i(n);let a=[...e.querySelectorAll(n)].filter(e=>!c.has(e));r.unique&&a.length&&(a=[a[0]]),t.injectRequiredTags&&r.required&&!a.length&&(a=[...a,t.createElementFn(r.name)]);for(let e of a){if(t.injectRequiredAttributes&&e.getAttribute(`on`)&&!e.getAttribute(`tabindex`)&&e.setAttribute(`tabindex`,`0`),t.removeUnsupportedStyles){let t=!1;for(let n of[...e.classList])n.startsWith(`i-amphtml`)&&(t=!0,e.classList.remove(n));t&&!e.classList.length&&e.removeAttribute(`class`)}let n=c.get(e);n&&n.priority>r.priority||c.set(e,r)}}r?.();for(let[i,a]of c){if(t.injectExtensions&&a.requiresExtension)for(let e of a.requiresExtension)n.add(e);let o=a.requiredParent?a.requiredParent===`$ROOT`?e:e.querySelector(a.requiredParent):null;o&&(!i.parentNode||t.moveInvalidTagPosition)?o!==i.parentNode&&(a.name===`HEAD`||Ca(o)&&o.tagName===`HEAD`?o.insertBefore(i,o.firstChild):o.appendChild(i)):i.parentNode||e.body.appendChild(i),t.removeUnsupportedTags&&s.delete(i),r?.();let c=await au();if(t.removeUnsupportedAttributes||t.injectRequiredAttributes){let e=a.attrs,n=t.injectRequiredAttributes?new Set([...e].map(([e,t])=>t).filter(e=>e.required&&e.value)):void 0,r=i.getAttributeNames();for(let a of r){let r=e.get(a)||c.get(a);if(r){if(a===`id`||a===`class`||a===`style`){n?.delete(r);continue}if(t.removeUnsupportedAttributes){let e=i.getAttribute(a);if(r.value&&r.value.indexOf(e)<0){i.removeAttribute(a);continue}if(r.valueRegex&&!new RegExp(r.valueRegex).test(e)){i.removeAttribute(a);continue}if(r.disallowedValueRegex&&new RegExp(r.disallowedValueRegex).test(e)){i.removeAttribute(a);continue}let t=r.valueUrl;if(t){if(e===``){if(!t.allowEmpty){i.removeAttribute(a);continue}}else if(!(e.indexOf(`<!--`)>0&&e.indexOf(`-->`)>0)&&!t.allowRelative)if(e.startsWith(`#`)||e.startsWith(`/`)){i.removeAttribute(a);continue}else{let n=t.protocol.length?t.protocol:[`https`],r=e.substring(0,e.indexOf(`:`));if(r){if(n.indexOf(r)<0){let t=n[0]+e.substring(e.indexOf(`:`));if(URL.canParse(t))sc(i,a,t);else{i.removeAttribute(a);continue}}else if(!URL.canParse(e)){i.removeAttribute(a);continue}}else{let t=n[0]+e;if(URL.canParse(t))sc(i,a,t);else{i.removeAttribute(a);continue}}}}}n?.delete(r)}else{if(a===`id`||a===`class`||a===`style`)continue;t.removeUnsupportedAttributes&&i.removeAttribute(a)}}if(n)for(let e of n)sc(i,e.name,e.value[0])}r?.()}t.moveInvalidTagPosition&&(su(e,e.body,i),r?.());for(let e of s)e.remove();if(r?.(),t.removeUnsupportedStyles){let t=e.querySelectorAll(`*`),n=await nu();function l(e){let t=e.cssText.replaceAll(/\".*\"/g,``).replaceAll(/\'.*\'/g,``).replaceAll(/\/\*.*\*\/|(-moz-|-ms-|-o-|-webkit-)+\w+(?=:)/g,``).match(/[a-z-]+(?=:[^before|after|hover])/gi)||[];for(let r of t){if(!r)continue;let t=e.getPropertyValue(r);e.getPropertyPriority(r)===`important`&&e.setProperty(r,t);let i=n.get(r);i?i.value?i.value.indexOf(t)<0&&e.removeProperty(r):i.valueRegex&&(new RegExp(i.valueRegex).test(t)||e.removeProperty(r)):e.removeProperty(r)}r?.()}function u(e){return e.constructor.name===`CSSStyleRule`}function d(e){return e.constructor.name===`CSSMediaRule`}function f(e){let t=e.cssRules;for(let n=t.length-1;n>=0;n--){let r=t[n];u(r)?r.selectorText.indexOf(`[`)>=0||r.selectorText.indexOf(`:`)>=0?e.deleteRule(n):(l(r.style),r.style.cssText||e.deleteRule(n)):d(r)?(f(r),r.cssRules.length||e.deleteRule(n)):e.deleteRule(n)}}for(let e of t)if(wa(e)){let t=e.getAttribute(`style`);t&&(l(e.style),e.style.length?e.style.cssText!==t&&e.setAttribute(`style`,e.style.cssText):e.removeAttribute(`style`))}let i=e.querySelector(`style[amp-custom]`);if(i){let e=i.sheet;e&&(f(e),i.innerHTML=[...e.cssRules].map(e=>e.cssText).join(`
78
+ `)),r?.()}}await Yl(e,a.extensions.filter(({name:e})=>n.has(e)),t)}function lu(e,t){return Object.keys(t).reduce((e,n)=>e.replaceAll(n,t[n]),e)}function uu(e,t={}){let{correct:n=!0,injectExtensions:r=!0,mappedTags:i={}}=t;return cu(e,{replaceImages:n,replaceStylesAndLinks:n,injectRequiredTags:n,injectExtensions:r,formsAsAmpForms:r,injectRequiredAttributes:n,moveInvalidTagPosition:n,removeUnsupportedTags:n,removeUnsupportedAttributes:n,removeUnsupportedStyles:n,createElementFn:t=>e.createElement(i[t.toLowerCase()]||t),replaceSelectors:e=>lu(e.toLowerCase(),i),commit:t.commit})}function du(e,t={}){let{correct:n=!0,removeExtensions:r=!0,mappedTags:i={}}=t,a=t.commit,o=t=>e.createElement(i[t.toLowerCase()]||t),s=e=>lu(e,i);if(n){Hl(e),Rl(e),Pl(e),Ol(e);let t=Cl(e);t.removeAttribute(`⚡4email`),t.removeAttribute(`data-css-strict`),a?.()}r&&(Xl(e,{formsAsAmpForms:t.removeExtensions,createElementFn:o,replaceSelectors:s}),a?.())}Object.defineProperty(t,"$",{enumerable:!0,get:function(){return Rn}}),Object.defineProperty(t,"$t",{enumerable:!0,get:function(){return ye}}),Object.defineProperty(t,"A",{enumerable:!0,get:function(){return ji}}),Object.defineProperty(t,"At",{enumerable:!0,get:function(){return Ft}}),Object.defineProperty(t,"B",{enumerable:!0,get:function(){return or}}),Object.defineProperty(t,"Bt",{enumerable:!0,get:function(){return ut}}),Object.defineProperty(t,"C",{enumerable:!0,get:function(){return Ua}}),Object.defineProperty(t,"Cn",{enumerable:!0,get:function(){return g}}),Object.defineProperty(t,"Ct",{enumerable:!0,get:function(){return nn}}),Object.defineProperty(t,"D",{enumerable:!0,get:function(){return Oa}}),Object.defineProperty(t,"Dn",{enumerable:!0,get:function(){return h}}),Object.defineProperty(t,"Dt",{enumerable:!0,get:function(){return an}}),Object.defineProperty(t,"E",{enumerable:!0,get:function(){return Ca}}),Object.defineProperty(t,"En",{enumerable:!0,get:function(){return m}}),Object.defineProperty(t,"Et",{enumerable:!0,get:function(){return en}}),Object.defineProperty(t,"F",{enumerable:!0,get:function(){return gi}}),Object.defineProperty(t,"Ft",{enumerable:!0,get:function(){return xt}}),Object.defineProperty(t,"G",{enumerable:!0,get:function(){return Kn}}),Object.defineProperty(t,"Gt",{enumerable:!0,get:function(){return qe}}),Object.defineProperty(t,"H",{enumerable:!0,get:function(){return Qn}}),Object.defineProperty(t,"Ht",{enumerable:!0,get:function(){return lt}}),Object.defineProperty(t,"I",{enumerable:!0,get:function(){return mi}}),Object.defineProperty(t,"It",{enumerable:!0,get:function(){return St}}),Object.defineProperty(t,"J",{enumerable:!0,get:function(){return Mn}}),Object.defineProperty(t,"Jt",{enumerable:!0,get:function(){return Fe}}),Object.defineProperty(t,"K",{enumerable:!0,get:function(){return Jn}}),Object.defineProperty(t,"Kt",{enumerable:!0,get:function(){return Ue}}),Object.defineProperty(t,"L",{enumerable:!0,get:function(){return vi}}),Object.defineProperty(t,"Lt",{enumerable:!0,get:function(){return Ct}}),Object.defineProperty(t,"M",{enumerable:!0,get:function(){return xi}}),Object.defineProperty(t,"Mt",{enumerable:!0,get:function(){return At}}),Object.defineProperty(t,"N",{enumerable:!0,get:function(){return yi}}),Object.defineProperty(t,"Nt",{enumerable:!0,get:function(){return Et}}),Object.defineProperty(t,"O",{enumerable:!0,get:function(){return Ba}}),Object.defineProperty(t,"On",{enumerable:!0,get:function(){return p}}),Object.defineProperty(t,"Ot",{enumerable:!0,get:function(){return sn}}),Object.defineProperty(t,"P",{enumerable:!0,get:function(){return bi}}),Object.defineProperty(t,"Pt",{enumerable:!0,get:function(){return Tt}}),Object.defineProperty(t,"Q",{enumerable:!0,get:function(){return Fn}}),Object.defineProperty(t,"Qt",{enumerable:!0,get:function(){return Se}}),Object.defineProperty(t,"R",{enumerable:!0,get:function(){return _i}}),Object.defineProperty(t,"Rt",{enumerable:!0,get:function(){return vt}}),Object.defineProperty(t,"S",{enumerable:!0,get:function(){return Ga}}),Object.defineProperty(t,"Sn",{enumerable:!0,get:function(){return y}}),Object.defineProperty(t,"St",{enumerable:!0,get:function(){return Kt}}),Object.defineProperty(t,"T",{enumerable:!0,get:function(){return Ma}}),Object.defineProperty(t,"Tn",{enumerable:!0,get:function(){return f}}),Object.defineProperty(t,"Tt",{enumerable:!0,get:function(){return tn}}),Object.defineProperty(t,"U",{enumerable:!0,get:function(){return er}}),Object.defineProperty(t,"Ut",{enumerable:!0,get:function(){return rt}}),Object.defineProperty(t,"V",{enumerable:!0,get:function(){return ar}}),Object.defineProperty(t,"Vt",{enumerable:!0,get:function(){return ct}}),Object.defineProperty(t,"W",{enumerable:!0,get:function(){return tr}}),Object.defineProperty(t,"Wt",{enumerable:!0,get:function(){return $e}}),Object.defineProperty(t,"X",{enumerable:!0,get:function(){return kn}}),Object.defineProperty(t,"Xt",{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(t,"Y",{enumerable:!0,get:function(){return jn}}),Object.defineProperty(t,"Yt",{enumerable:!0,get:function(){return Me}}),Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return In}}),Object.defineProperty(t,"Zt",{enumerable:!0,get:function(){return Ee}}),Object.defineProperty(t,"_",{enumerable:!0,get:function(){return jc}}),Object.defineProperty(t,"_n",{enumerable:!0,get:function(){return M}}),Object.defineProperty(t,"_t",{enumerable:!0,get:function(){return ln}}),Object.defineProperty(t,"a",{enumerable:!0,get:function(){return il}}),Object.defineProperty(t,"an",{enumerable:!0,get:function(){return z}}),Object.defineProperty(t,"at",{enumerable:!0,get:function(){return Tn}}),Object.defineProperty(t,"b",{enumerable:!0,get:function(){return lc}}),Object.defineProperty(t,"bn",{enumerable:!0,get:function(){return A}}),Object.defineProperty(t,"bt",{enumerable:!0,get:function(){return qt}}),Object.defineProperty(t,"c",{enumerable:!0,get:function(){return el}}),Object.defineProperty(t,"cn",{enumerable:!0,get:function(){return ae}}),Object.defineProperty(t,"ct",{enumerable:!0,get:function(){return on}}),Object.defineProperty(t,"d",{enumerable:!0,get:function(){return _l}}),Object.defineProperty(t,"dn",{enumerable:!0,get:function(){return I}}),Object.defineProperty(t,"dt",{enumerable:!0,get:function(){return dn}}),Object.defineProperty(t,"en",{enumerable:!0,get:function(){return q}}),Object.defineProperty(t,"et",{enumerable:!0,get:function(){return Pn}}),Object.defineProperty(t,"f",{enumerable:!0,get:function(){return gl}}),Object.defineProperty(t,"fn",{enumerable:!0,get:function(){return ne}}),Object.defineProperty(t,"ft",{enumerable:!0,get:function(){return Gt}}),Object.defineProperty(t,"g",{enumerable:!0,get:function(){return sl}}),Object.defineProperty(t,"gn",{enumerable:!0,get:function(){return N}}),Object.defineProperty(t,"gt",{enumerable:!0,get:function(){return Xt}}),Object.defineProperty(t,"h",{enumerable:!0,get:function(){return dl}}),Object.defineProperty(t,"hn",{enumerable:!0,get:function(){return ee}}),Object.defineProperty(t,"ht",{enumerable:!0,get:function(){return cn}}),Object.defineProperty(t,"i",{enumerable:!0,get:function(){return Gl}}),Object.defineProperty(t,"in",{enumerable:!0,get:function(){return me}}),Object.defineProperty(t,"it",{enumerable:!0,get:function(){return Cn}}),Object.defineProperty(t,"j",{enumerable:!0,get:function(){return Ci}}),Object.defineProperty(t,"jt",{enumerable:!0,get:function(){return Nt}}),Object.defineProperty(t,"k",{enumerable:!0,get:function(){return _a}}),Object.defineProperty(t,"kn",{enumerable:!0,get:function(){return u}}),Object.defineProperty(t,"kt",{enumerable:!0,get:function(){return Rt}}),Object.defineProperty(t,"l",{enumerable:!0,get:function(){return Qc}}),Object.defineProperty(t,"ln",{enumerable:!0,get:function(){return F}}),Object.defineProperty(t,"lt",{enumerable:!0,get:function(){return fn}}),Object.defineProperty(t,"m",{enumerable:!0,get:function(){return rl}}),Object.defineProperty(t,"mn",{enumerable:!0,get:function(){return P}}),Object.defineProperty(t,"mt",{enumerable:!0,get:function(){return Zt}}),Object.defineProperty(t,"n",{enumerable:!0,get:function(){return uu}}),Object.defineProperty(t,"nn",{enumerable:!0,get:function(){return H}}),Object.defineProperty(t,"nt",{enumerable:!0,get:function(){return Ln}}),Object.defineProperty(t,"o",{enumerable:!0,get:function(){return Sl}}),Object.defineProperty(t,"on",{enumerable:!0,get:function(){return ue}}),Object.defineProperty(t,"ot",{enumerable:!0,get:function(){return bn}}),Object.defineProperty(t,"p",{enumerable:!0,get:function(){return yl}}),Object.defineProperty(t,"pn",{enumerable:!0,get:function(){return j}}),Object.defineProperty(t,"pt",{enumerable:!0,get:function(){return Yt}}),Object.defineProperty(t,"q",{enumerable:!0,get:function(){return qn}}),Object.defineProperty(t,"qt",{enumerable:!0,get:function(){return ze}}),Object.defineProperty(t,"r",{enumerable:!0,get:function(){return ou}}),Object.defineProperty(t,"rn",{enumerable:!0,get:function(){return V}}),Object.defineProperty(t,"rt",{enumerable:!0,get:function(){return An}}),Object.defineProperty(t,"s",{enumerable:!0,get:function(){return Zc}}),Object.defineProperty(t,"sn",{enumerable:!0,get:function(){return le}}),Object.defineProperty(t,"st",{enumerable:!0,get:function(){return Sn}}),Object.defineProperty(t,"t",{enumerable:!0,get:function(){return du}}),Object.defineProperty(t,"tn",{enumerable:!0,get:function(){return W}}),Object.defineProperty(t,"tt",{enumerable:!0,get:function(){return Nn}}),Object.defineProperty(t,"u",{enumerable:!0,get:function(){return vl}}),Object.defineProperty(t,"un",{enumerable:!0,get:function(){return se}}),Object.defineProperty(t,"ut",{enumerable:!0,get:function(){return pn}}),Object.defineProperty(t,"v",{enumerable:!0,get:function(){return hc}}),Object.defineProperty(t,"vn",{enumerable:!0,get:function(){return E}}),Object.defineProperty(t,"vt",{enumerable:!0,get:function(){return Jt}}),Object.defineProperty(t,"w",{enumerable:!0,get:function(){return ja}}),Object.defineProperty(t,"wn",{enumerable:!0,get:function(){return v}}),Object.defineProperty(t,"wt",{enumerable:!0,get:function(){return rn}}),Object.defineProperty(t,"x",{enumerable:!0,get:function(){return La}}),Object.defineProperty(t,"xn",{enumerable:!0,get:function(){return S}}),Object.defineProperty(t,"xt",{enumerable:!0,get:function(){return $t}}),Object.defineProperty(t,"y",{enumerable:!0,get:function(){return yc}}),Object.defineProperty(t,"yn",{enumerable:!0,get:function(){return k}}),Object.defineProperty(t,"yt",{enumerable:!0,get:function(){return un}}),Object.defineProperty(t,"z",{enumerable:!0,get:function(){return ai}}),Object.defineProperty(t,"zt",{enumerable:!0,get:function(){return gt}})});