@divkitframework/divkit 32.11.0 → 32.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/client-devtool.js +1 -1
- package/dist/browser/client-hydratable.js +1 -1
- package/dist/browser/client.js +1 -1
- package/dist/client-devtool.js +1 -1
- package/dist/client-hydratable.js +1 -1
- package/dist/client.js +1 -1
- package/dist/esm/client-devtool.mjs +1 -1
- package/dist/esm/client-hydratable.mjs +1 -1
- package/dist/esm/client.mjs +1 -1
- package/dist/esm/server.mjs +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.12.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Gb=Object.defineProperty;var qb=(vi,Wn,ii)=>Wn in vi?Gb(vi,Wn,{enumerable:!0,configurable:!0,writable:!0,value:ii}):vi[Wn]=ii;var mr=(vi,Wn,ii)=>qb(vi,typeof Wn!="symbol"?Wn+"":Wn,ii);function vi(e){return BigInt(e)}const Wn=vi("9223372036854775807"),ii=vi("-9223372036854775808");function an(e){const r=vi(e);if(r>Wn||r<ii)throw new Error("Integer overflow.");return r}const Bi=an(0);function Ul(e){let r=e;return r<0&&(r=-r),r}function Yl(e){let r=0;return e>0?r=1:e<0&&(r=-1),an(r)}function ad(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function cd(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Fo(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function Gl(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function ud(e,r){return r.length?r.reduce((t,n)=>{if(!n[5])throw new Error("Method expected after .");return{type:"MethodExpression",object:t,method:n[3],arguments:n[5][2]}},e):e}function fd(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function ql(e){if(e.every(t=>typeof t=="string"))return{type:"StringLiteral",value:e.join("")};let r=e.reduce((t,n)=>(typeof n=="string"&&typeof t[t.length-1]=="string"?t[t.length-1]+=n:t.push(n),t),[]).reduce((t,n)=>(typeof n=="string"?t.quasis.push({type:"StringLiteral",value:n}):(t.quasis.length===t.expressions.length&&t.quasis.push({type:"StringLiteral",value:""}),t.expressions.push(n)),t),{type:"TemplateLiteral",quasis:[],expressions:[]});return r.quasis.length===r.expressions.length&&r.quasis.push({type:"StringLiteral",value:""}),r}function dd(e){try{return an(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function Jl(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function _d(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function to(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,to.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}_d(to,Error);function Rs(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}to.prototype.format=function(e){var r="Error: "+this.message;if(this.location){var t=null,n;for(n=0;n<e.length;n++)if(e[n].source===this.location.source){t=e[n].text.split(/\r\n|\n|\r/g);break}var i=this.location.start,o=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(i):i,s=this.location.source+":"+o.line+":"+o.column;if(t){var a=this.location.end,l=Rs("",o.line.toString().length," "),c=t[i.line-1],u=i.line===a.line?a.column:c.length+1,d=u-i.column||1;r+=`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.12.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var ny=Object.defineProperty;var iy=(M,$n,ei)=>$n in M?ny(M,$n,{enumerable:!0,configurable:!0,writable:!0,value:ei}):M[$n]=ei;var lr=(M,$n,ei)=>iy(M,typeof $n!="symbol"?$n+"":$n,ei);function M(){}const $n=t=>t;function ei(t,r){for(const e in r)t[e]=r[e];return t}function Zl(t){return t()}function Ql(){return Object.create(null)}function Xr(t){t.forEach(Zl)}function Nr(t){return typeof t=="function"}function bd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Oo;function Yn(t,r){return t===r?!0:(Oo||(Oo=document.createElement("a")),Oo.href=r,t===Oo.href)}function Tr(t,r){return t!=t?r==r:t!==r}function yd(t){return Object.keys(t).length===0}function U(t,...r){if(t==null){for(const n of r)n(void 0);return M}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function vd(t){let r;return U(t,e=>r=e)(),r}function mn(t,r,e){t.$$.on_destroy.push(U(r,e))}function Lo(t,r,e,n){if(t){const i=xl(t,r,e,n);return t[0](i)}}function xl(t,r,e,n){return t[1]&&n?ei(e.ctx.slice(),t[1](n(r))):e.ctx}function Ro(t,r,e,n){if(t[2]&&n){const i=t[2](n(e));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Bo(t,r,e,n,i,o){if(i){const s=xl(r,e,n,o);t.p(s,i)}}function Ho(t){if(t.ctx.length>32){const r=[],e=t.ctx.length/32;for(let n=0;n<e;n++)r[n]=-1;return r}return-1}function Us(t,r,e){return t.set(e),r}function Wo(t){return t&&Nr(t.destroy)?t.destroy:M}function $l(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const ea=typeof window<"u";let Gs=ea?()=>window.performance.now():()=>Date.now(),Ys=ea?t=>requestAnimationFrame(t):M;const io=new Set;function ta(t){io.forEach(r=>{r.c(t)||(io.delete(r),r.f())}),io.size!==0&&Ys(ta)}function qs(t){let r;return io.size===0&&Ys(ta),{promise:new Promise(e=>{io.add(r={c:t,f:e})}),abort(){io.delete(r)}}}const hi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Uo=!1;function wd(){Uo=!0}function kd(){Uo=!1}function Ed(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Ad(t){if(t.hydrate_init)return;t.hydrate_init=!0;let r=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let c=0;c<r.length;c++){const u=r[c];u.claim_order!==void 0&&l.push(u)}r=l}const e=new Int32Array(r.length+1),n=new Int32Array(r.length);e[0]=-1;let i=0;for(let l=0;l<r.length;l++){const c=r[l].claim_order,u=(i>0&&r[e[i]].claim_order<=c?i+1:Ed(1,i,h=>r[e[h]].claim_order,c))-1;n[l]=e[u]+1;const f=u+1;e[f]=l,i=Math.max(f,i)}const o=[],s=[];let a=r.length-1;for(let l=e[i]+1;l!=0;l=n[l-1]){for(o.push(r[l-1]);a>=l;a--)s.push(r[a]);a--}for(;a>=0;a--)s.push(r[a]);o.reverse(),s.sort((l,c)=>l.claim_order-c.claim_order);for(let l=0,c=0;l<s.length;l++){for(;c<o.length&&s[l].claim_order>=o[c].claim_order;)c++;const u=c<o.length?o[c]:null;t.insertBefore(s[l],u)}}function Cd(t,r){t.appendChild(r)}function ra(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function jd(t){const r=ze("style");return r.textContent="/* empty */",Sd(ra(t),r),r.sheet}function Sd(t,r){return Cd(t.head||t,r),r.sheet}function Ft(t,r){if(Uo){for(Ad(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;r!==t.actual_end_child?(r.claim_order!==void 0||r.parentNode!==t)&&t.insertBefore(r,t.actual_end_child):t.actual_end_child=r.nextSibling}else(r.parentNode!==t||r.nextSibling!==null)&&t.appendChild(r)}function Vd(t,r,e){t.insertBefore(r,e||null)}function ee(t,r,e){Uo&&!e?Ft(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function w(t){t.parentNode&&t.parentNode.removeChild(t)}function bn(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function ze(t){return document.createElement(t)}function fn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function qn(t){return document.createTextNode(t)}function kr(){return qn(" ")}function Ye(){return qn("")}function He(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function y(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const Id=["width","height"];function oi(t,r){const e=Object.getOwnPropertyDescriptors(t.__proto__);for(const n in r)r[n]==null?t.removeAttribute(n):n==="style"?t.style.cssText=r[n]:n==="__value"?t.value=t[n]=r[n]:e[n]&&e[n].set&&Id.indexOf(n)===-1?t[n]=r[n]:y(t,n,r[n])}function Dd(t,r){Object.keys(r).forEach(e=>{Td(t,e,r[e])})}function Td(t,r,e){const n=r.toLowerCase();n in t?t[n]=typeof t[n]=="boolean"&&e===""?!0:e:r in t?t[r]=typeof t[r]=="boolean"&&e===""?!0:e:y(t,r,e)}function na(t){return/-/.test(t)?Dd:oi}function Ee(t){return Array.from(t.childNodes)}function ia(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function oa(t,r,e,n,i=!1){ia(t);const o=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i||(t.claim_info.last_index=s),a}}for(let s=t.claim_info.last_index-1;s>=0;s--){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,a}}return n()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function sa(t,r,e,n){return oa(t,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];e[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Re(t,r,e){return sa(t,r,e,ze)}function wn(t,r,e){return sa(t,r,e,fn)}function si(t,r){return oa(t,e=>e.nodeType===3,e=>{const n=""+r;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n},()=>qn(r),!0)}function Er(t){return si(t," ")}function la(t,r,e){for(let n=e;n<t.length;n+=1){const i=t[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function Ks(t,r){const e=la(t,"HTML_TAG_START",0),n=la(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new oo(r);ia(t);const i=t.splice(e,n-e+1);w(i[0]),w(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new oo(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new oo(r,o)}function ji(t,r){r=""+r,t.data!==r&&(t.data=r)}function aa(t,r){t.value=r==null?"":r}function G(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function ca(t,r,e){for(let n=0;n<t.options.length;n+=1){const i=t.options[n];if(i.__value===r){i.selected=!0;return}}(!e||r!==void 0)&&(t.selectedIndex=-1)}function Md(t){const r=t.querySelector(":checked");return r&&r.__value}function ua(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class Fd{constructor(r=!1){lr(this,"is_svg",!1);lr(this,"e");lr(this,"n");lr(this,"t");lr(this,"a");this.is_svg=r,this.e=this.n=null}c(r){this.h(r)}m(r,e,n=null){this.e||(this.is_svg?this.e=fn(e.nodeName):this.e=ze(e.nodeType===11?"TEMPLATE":e.nodeName),this.t=e.tagName!=="TEMPLATE"?e:e.content,this.c(r)),this.i(n)}h(r){this.e.innerHTML=r,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(r){for(let e=0;e<this.n.length;e+=1)Vd(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(w)}}class oo extends Fd{constructor(e=!1,n){super(e);lr(this,"l");this.e=this.n=null,this.l=n}c(e){this.l?this.n=this.l:super.c(e)}i(e){for(let n=0;n<this.n.length;n+=1)ee(this.t,this.n[n],e)}}function fa(t,r){return new t(r)}const Go=new Map;let Yo=0;function Pd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function Nd(t,r){const e={stylesheet:jd(r),rules:{}};return Go.set(t,e),e}function qo(t,r,e,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
package/dist/browser/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.12.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Lb=Object.defineProperty;var Rb=(I,Kn,Jn)=>Kn in I?Lb(I,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Jn}):I[Kn]=Jn;var gr=(I,Kn,Jn)=>Rb(I,typeof Kn!="symbol"?Kn+"":Kn,Jn);function I(){}const Kn=e=>e;function Jn(e,r){for(const t in r)e[t]=r[t];return e}function Hl(e){return e()}function Wl(){return Object.create(null)}function Gr(e){e.forEach(Hl)}function Tr(e){return typeof e=="function"}function od(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Do;function Bn(e,r){return e===r?!0:(Do||(Do=document.createElement("a")),Do.href=r,e===Do.href)}function Sr(e,r){return e!=e?r==r:e!==r}function sd(e){return Object.keys(e).length===0}function W(e,...r){if(e==null){for(const n of r)n(void 0);return I}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function ld(e){let r;return W(e,t=>r=t)(),r}function dn(e,r,t){e.$$.on_destroy.push(W(r,t))}function To(e,r,t,n){if(e){const i=Ul(e,r,t,n);return e[0](i)}}function Ul(e,r,t,n){return e[1]&&n?Jn(t.ctx.slice(),e[1](n(r))):t.ctx}function Fo(e,r,t,n){if(e[2]&&n){const i=e[2](n(t));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Mo(e,r,t,n,i,o){if(i){const s=Ul(r,t,n,o);e.p(s,i)}}function Po(e){if(e.ctx.length>32){const r=[],t=e.ctx.length/32;for(let n=0;n<t;n++)r[n]=-1;return r}return-1}function Ns(e,r,t){return e.set(t),r}function No(e){return e&&Tr(e.destroy)?e.destroy:I}function Yl(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const Gl=typeof window<"u";let zs=Gl?()=>window.performance.now():()=>Date.now(),Os=Gl?e=>requestAnimationFrame(e):I;const xi=new Set;function ql(e){xi.forEach(r=>{r.c(e)||(xi.delete(r),r.f())}),xi.size!==0&&Os(ql)}function Ls(e){let r;return xi.size===0&&Os(ql),{promise:new Promise(t=>{xi.add(r={c:e,f:t})}),abort(){xi.delete(r)}}}const li=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Dt(e,r){e.appendChild(r)}function Kl(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function ad(e){const r=Oe("style");return r.textContent="/* empty */",cd(Kl(e),r),r.sheet}function cd(e,r){return Dt(e.head||e,r),r.sheet}function x(e,r,t){e.insertBefore(r,t||null)}function Q(e){e.parentNode&&e.parentNode.removeChild(e)}function _n(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Oe(e){return document.createElement(e)}function pn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Xn(e){return document.createTextNode(e)}function yr(){return Xn(" ")}function Qt(){return Xn("")}function Re(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function b(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const ud=["width","height"];function ei(e,r){const t=Object.getOwnPropertyDescriptors(e.__proto__);for(const n in r)r[n]==null?e.removeAttribute(n):n==="style"?e.style.cssText=r[n]:n==="__value"?e.value=e[n]=r[n]:t[n]&&t[n].set&&ud.indexOf(n)===-1?e[n]=r[n]:b(e,n,r[n])}function fd(e,r){Object.keys(r).forEach(t=>{dd(e,t,r[t])})}function dd(e,r,t){const n=r.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&t===""?!0:t:r in e?e[r]=typeof e[r]=="boolean"&&t===""?!0:t:b(e,r,t)}function Jl(e){return/-/.test(e)?fd:ei}function _d(e){return Array.from(e.childNodes)}function wi(e,r){r=""+r,e.data!==r&&(e.data=r)}function Xl(e,r){e.value=r==null?"":r}function U(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function Zl(e,r,t){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===r){i.selected=!0;return}}(!t||r!==void 0)&&(e.selectedIndex=-1)}function hd(e){const r=e.querySelector(":checked");return r&&r.__value}function Ql(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function xl(e,r){return new e(r)}const zo=new Map;let Oo=0;function gd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function pd(e,r){const t={stylesheet:ad(r),rules:{}};return zo.set(e,t),t}function Lo(e,r,t,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
package/dist/client-devtool.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var ad=Object.defineProperty;var ud=(e,r,t)=>r in e?ad(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var mr=(e,r,t)=>ud(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.12.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function wl(e){return BigInt(e)}const Ao=wl("9223372036854775807"),Co=wl("-9223372036854775808");function cn(e){const r=wl(e);if(r>Ao||r<Co)throw new Error("Integer overflow.");return r}const Gi=cn(0);function $c(e){let r=e;return r<0&&(r=-r),r}function ef(e){let r=0;return e>0?r=1:e<0&&(r=-1),cn(r)}function cd(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function fd(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function To(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function Gl(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function dd(e,r){return r.length?r.reduce((t,n)=>{if(!n[5])throw new Error("Method expected after .");return{type:"MethodExpression",object:t,method:n[3],arguments:n[5][2]}},e):e}function _d(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function Yl(e){if(e.every(t=>typeof t=="string"))return{type:"StringLiteral",value:e.join("")};let r=e.reduce((t,n)=>(typeof n=="string"&&typeof t[t.length-1]=="string"?t[t.length-1]+=n:t.push(n),t),[]).reduce((t,n)=>(typeof n=="string"?t.quasis.push({type:"StringLiteral",value:n}):(t.quasis.length===t.expressions.length&&t.quasis.push({type:"StringLiteral",value:""}),t.expressions.push(n)),t),{type:"TemplateLiteral",quasis:[],expressions:[]});return r.quasis.length===r.expressions.length&&r.quasis.push({type:"StringLiteral",value:""}),r}function hd(e){try{return cn(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function ql(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function gd(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function lo(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,lo.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}gd(lo,Error);function Rs(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}lo.prototype.format=function(e){var r="Error: "+this.message;if(this.location){var t=null,n;for(n=0;n<e.length;n++)if(e[n].source===this.location.source){t=e[n].text.split(/\r\n|\n|\r/g);break}var i=this.location.start,o=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(i):i,s=this.location.source+":"+o.line+":"+o.column;if(t){var a=this.location.end,l=Rs("",o.line.toString().length," "),u=t[i.line-1],c=i.line===a.line?a.column:u.length+1,d=c-i.column||1;r+=`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var bd=Object.defineProperty;var yd=(t,r,e)=>r in t?bd(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var lr=(t,r,e)=>yd(t,typeof r!="symbol"?r+"":r,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.12.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function P(){}const js=t=>t;function $i(t,r){for(const e in r)t[e]=r[e];return t}function af(t){return t()}function Ql(){return Object.create(null)}function Zr(t){t.forEach(af)}function zr(t){return typeof t=="function"}function vd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let zo;function Qn(t,r){return t===r?!0:(zo||(zo=document.createElement("a")),zo.href=r,t===zo.href)}function Pr(t,r){return t!=t?r==r:t!==r}function wd(t){return Object.keys(t).length===0}function U(t,...r){if(t==null){for(const n of r)n(void 0);return P}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function kd(t){let r;return U(t,e=>r=e)(),r}function yn(t,r,e){t.$$.on_destroy.push(U(r,e))}function Ss(t,r,e,n){if(t){const i=uf(t,r,e,n);return t[0](i)}}function uf(t,r,e,n){return t[1]&&n?$i(e.ctx.slice(),t[1](n(r))):e.ctx}function Vs(t,r,e,n){if(t[2]&&n){const i=t[2](n(e));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Is(t,r,e,n,i,o){if(i){const s=uf(r,e,n,o);t.p(s,i)}}function Ds(t){if(t.ctx.length>32){const r=[],e=t.ctx.length/32;for(let n=0;n<e;n++)r[n]=-1;return r}return-1}function Gs(t,r,e){return t.set(e),r}function Ts(t){return t&&zr(t.destroy)?t.destroy:P}function xl(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const cf=typeof window<"u";let Cl=cf?()=>window.performance.now():()=>Date.now(),jl=cf?t=>requestAnimationFrame(t):P;const uo=new Set;function ff(t){uo.forEach(r=>{r.c(t)||(uo.delete(r),r.f())}),uo.size!==0&&jl(ff)}function Sl(t){let r;return uo.size===0&&jl(ff),{promise:new Promise(e=>{uo.add(r={c:t,f:e})}),abort(){uo.delete(r)}}}const ki=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Ms=!1;function Ed(){Ms=!0}function Ad(){Ms=!1}function Cd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function jd(t){if(t.hydrate_init)return;t.hydrate_init=!0;let r=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let u=0;u<r.length;u++){const c=r[u];c.claim_order!==void 0&&l.push(c)}r=l}const e=new Int32Array(r.length+1),n=new Int32Array(r.length);e[0]=-1;let i=0;for(let l=0;l<r.length;l++){const u=r[l].claim_order,c=(i>0&&r[e[i]].claim_order<=u?i+1:Cd(1,i,h=>r[e[h]].claim_order,u))-1;n[l]=e[c]+1;const f=c+1;e[f]=l,i=Math.max(f,i)}const o=[],s=[];let a=r.length-1;for(let l=e[i]+1;l!=0;l=n[l-1]){for(o.push(r[l-1]);a>=l;a--)s.push(r[a]);a--}for(;a>=0;a--)s.push(r[a]);o.reverse(),s.sort((l,u)=>l.claim_order-u.claim_order);for(let l=0,u=0;l<s.length;l++){for(;u<o.length&&s[l].claim_order>=o[u].claim_order;)u++;const c=u<o.length?o[u]:null;t.insertBefore(s[l],c)}}function Sd(t,r){t.appendChild(r)}function df(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Vd(t){const r=ze("style");return r.textContent="/* empty */",Id(df(t),r),r.sheet}function Id(t,r){return Sd(t.head||t,r),r.sheet}function Ft(t,r){if(Ms){for(jd(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;r!==t.actual_end_child?(r.claim_order!==void 0||r.parentNode!==t)&&t.insertBefore(r,t.actual_end_child):t.actual_end_child=r.nextSibling}else(r.parentNode!==t||r.nextSibling!==null)&&t.appendChild(r)}function Dd(t,r,e){t.insertBefore(r,e||null)}function ee(t,r,e){Ms&&!e?Ft(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function w(t){t.parentNode&&t.parentNode.removeChild(t)}function bn(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function ze(t){return document.createElement(t)}function _n(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function xn(t){return document.createTextNode(t)}function Ar(){return xn(" ")}function Ye(){return xn("")}function Ue(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function y(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const Td=["width","height"];function li(t,r){const e=Object.getOwnPropertyDescriptors(t.__proto__);for(const n in r)r[n]==null?t.removeAttribute(n):n==="style"?t.style.cssText=r[n]:n==="__value"?t.value=t[n]=r[n]:e[n]&&e[n].set&&Td.indexOf(n)===-1?t[n]=r[n]:y(t,n,r[n])}function Md(t,r){Object.keys(r).forEach(e=>{Fd(t,e,r[e])})}function Fd(t,r,e){const n=r.toLowerCase();n in t?t[n]=typeof t[n]=="boolean"&&e===""?!0:e:r in t?t[r]=typeof t[r]=="boolean"&&e===""?!0:e:y(t,r,e)}function $l(t){return/-/.test(t)?Md:li}function Ee(t){return Array.from(t.childNodes)}function hf(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function _f(t,r,e,n,i=!1){hf(t);const o=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i||(t.claim_info.last_index=s),a}}for(let s=t.claim_info.last_index-1;s>=0;s--){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,a}}return n()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function gf(t,r,e,n){return _f(t,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];e[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Be(t,r,e){return gf(t,r,e,ze)}function En(t,r,e){return gf(t,r,e,_n)}function ui(t,r){return _f(t,e=>e.nodeType===3,e=>{const n=""+r;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n},()=>xn(r),!0)}function Cr(t){return ui(t," ")}function ea(t,r,e){for(let n=e;n<t.length;n+=1){const i=t[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function Vl(t,r){const e=ea(t,"HTML_TAG_START",0),n=ea(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new co(r);hf(t);const i=t.splice(e,n-e+1);w(i[0]),w(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new co(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new co(r,o)}function Mi(t,r){r=""+r,t.data!==r&&(t.data=r)}function ta(t,r){t.value=r==null?"":r}function q(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function ra(t,r,e){for(let n=0;n<t.options.length;n+=1){const i=t.options[n];if(i.__value===r){i.selected=!0;return}}(!e||r!==void 0)&&(t.selectedIndex=-1)}function Pd(t){const r=t.querySelector(":checked");return r&&r.__value}function pf(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class Nd{constructor(r=!1){lr(this,"is_svg",!1);lr(this,"e");lr(this,"n");lr(this,"t");lr(this,"a");this.is_svg=r,this.e=this.n=null}c(r){this.h(r)}m(r,e,n=null){this.e||(this.is_svg?this.e=_n(e.nodeName):this.e=ze(e.nodeType===11?"TEMPLATE":e.nodeName),this.t=e.tagName!=="TEMPLATE"?e:e.content,this.c(r)),this.i(n)}h(r){this.e.innerHTML=r,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(r){for(let e=0;e<this.n.length;e+=1)Dd(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(w)}}class co extends Nd{constructor(e=!1,n){super(e);lr(this,"l");this.e=this.n=null,this.l=n}c(e){this.l?this.n=this.l:super.c(e)}i(e){for(let n=0;n<this.n.length;n+=1)ee(this.t,this.n[n],e)}}function na(t,r){return new t(r)}const hs=new Map;let _s=0;function zd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function Od(t,r){const e={stylesheet:Vd(r),rules:{}};return hs.set(t,e),e}function gs(t,r,e,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
package/dist/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var od=Object.defineProperty;var sd=(e,r,t)=>r in e?od(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var gr=(e,r,t)=>sd(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.12.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function T(){}const ys=e=>e;function Ji(e,r){for(const t in r)e[t]=r[t];return e}function Qu(e){return e()}function Wl(){return Object.create(null)}function qr(e){e.forEach(Qu)}function Fr(e){return typeof e=="function"}function ld(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Io;function qn(e,r){return e===r?!0:(Io||(Io=document.createElement("a")),Io.href=r,e===Io.href)}function Dr(e,r){return e!=e?r==r:e!==r}function ad(e){return Object.keys(e).length===0}function W(e,...r){if(e==null){for(const n of r)n(void 0);return T}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function cd(e){let r;return W(e,t=>r=t)(),r}function hn(e,r,t){e.$$.on_destroy.push(W(r,t))}function ws(e,r,t,n){if(e){const i=xu(e,r,t,n);return e[0](i)}}function xu(e,r,t,n){return e[1]&&n?Ji(t.ctx.slice(),e[1](n(r))):t.ctx}function vs(e,r,t,n){if(e[2]&&n){const i=e[2](n(t));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function ks(e,r,t,n,i,o){if(i){const s=xu(r,t,n,o);e.p(s,i)}}function Es(e){if(e.ctx.length>32){const r=[],t=e.ctx.length/32;for(let n=0;n<t;n++)r[n]=-1;return r}return-1}function zs(e,r,t){return e.set(t),r}function As(e){return e&&Fr(e.destroy)?e.destroy:T}function Ul(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const $u=typeof window<"u";let ml=$u?()=>window.performance.now():()=>Date.now(),bl=$u?e=>requestAnimationFrame(e):T;const no=new Set;function ef(e){no.forEach(r=>{r.c(e)||(no.delete(r),r.f())}),no.size!==0&&bl(ef)}function yl(e){let r;return no.size===0&&bl(ef),{promise:new Promise(t=>{no.add(r={c:e,f:t})}),abort(){no.delete(r)}}}const pi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Dt(e,r){e.appendChild(r)}function tf(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function ud(e){const r=Oe("style");return r.textContent="/* empty */",fd(tf(e),r),r.sheet}function fd(e,r){return Dt(e.head||e,r),r.sheet}function x(e,r,t){e.insertBefore(r,t||null)}function Q(e){e.parentNode&&e.parentNode.removeChild(e)}function _n(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Oe(e){return document.createElement(e)}function bn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Zn(e){return document.createTextNode(e)}function vr(){return Zn(" ")}function rr(){return Zn("")}function He(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function b(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const dd=["width","height"];function ri(e,r){const t=Object.getOwnPropertyDescriptors(e.__proto__);for(const n in r)r[n]==null?e.removeAttribute(n):n==="style"?e.style.cssText=r[n]:n==="__value"?e.value=e[n]=r[n]:t[n]&&t[n].set&&dd.indexOf(n)===-1?e[n]=r[n]:b(e,n,r[n])}function _d(e,r){Object.keys(r).forEach(t=>{hd(e,t,r[t])})}function hd(e,r,t){const n=r.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&t===""?!0:t:r in e?e[r]=typeof e[r]=="boolean"&&t===""?!0:t:b(e,r,t)}function Gl(e){return/-/.test(e)?_d:ri}function gd(e){return Array.from(e.childNodes)}function ji(e,r){r=""+r,e.data!==r&&(e.data=r)}function Yl(e,r){e.value=r==null?"":r}function G(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function ql(e,r,t){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===r){i.selected=!0;return}}(!t||r!==void 0)&&(e.selectedIndex=-1)}function pd(e){const r=e.querySelector(":checked");return r&&r.__value}function rf(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function Jl(e,r){return new e(r)}const ss=new Map;let ls=0;function md(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function bd(e,r){const t={stylesheet:ud(r),rules:{}};return ss.set(e,t),t}function as(e,r,t,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
|
@@ -2,7 +2,7 @@ var ld = Object.defineProperty;
|
|
|
2
2
|
var ad = (e, r, t) => r in e ? ld(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var mr = (e, r, t) => ad(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.12.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ var bd = Object.defineProperty;
|
|
|
2
2
|
var yd = (t, r, e) => r in t ? bd(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var lr = (t, r, e) => yd(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.12.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/esm/client.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var od = Object.defineProperty;
|
|
|
2
2
|
var sd = (e, r, t) => r in e ? od(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var gr = (e, r, t) => sd(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.12.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/esm/server.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var _l = Object.defineProperty;
|
|
|
2
2
|
var ml = (r, t, e) => t in r ? _l(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var Er = (r, t, e) => ml(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.12.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var _l=Object.defineProperty;var ml=(r,t,e)=>t in r?_l(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Er=(r,t,e)=>ml(r,typeof t!="symbol"?t+"":t,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.12.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function j(){}const bl=r=>r;function yl(r){return r()}function wl(){return Object.create(null)}function rs(r){r.forEach(yl)}function $l(r){return typeof r=="function"}function jl(r,t){return r!=r?t==t:r!==t||r&&typeof r=="object"||typeof r=="function"}function b(r,...t){if(r==null){for(const i of t)i(void 0);return j}const e=r.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function kl(r){let t;return b(r,e=>t=e)(),t}function Al(r,t,{bubbles:e=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:t,bubbles:e,cancelable:i})}let xn;function An(r){xn=r}function _o(){if(!xn)throw new Error("Function called outside component initialization");return xn}function Wr(r){_o().$$.on_destroy.push(r)}function xl(){const r=_o();return(t,e,{cancelable:i=!1}={})=>{const n=r.$$.callbacks[t];if(n){const o=Al(t,e,{cancelable:i});return n.slice().forEach(l=>{l.call(r,o)}),!o.defaultPrevented}return!0}}function Ui(r,t){return _o().$$.context.set(r,t),t}function _r(r){return _o().$$.context.get(r)}const bn=[],As=[];let Gn=[];const xs=[],Ia=Promise.resolve();let Oo=!1;function El(){Oo||(Oo=!0,Ia.then(Sl))}function ki(){return El(),Ia}function Cl(r){Gn.push(r)}const Ao=new Set;let Zi=0;function Sl(){if(Zi!==0)return;const r=xn;do{try{for(;Zi<bn.length;){const t=bn[Zi];Zi++,An(t),Fl(t.$$)}}catch(t){throw bn.length=0,Zi=0,t}for(An(null),bn.length=0,Zi=0;As.length;)As.pop()();for(let t=0;t<Gn.length;t+=1){const e=Gn[t];Ao.has(e)||(Ao.add(e),e())}Gn.length=0}while(bn.length);for(;xs.length;)xs.pop()();Oo=!1,Ao.clear(),An(r)}function Fl(r){if(r.fragment!==null){r.update(),rs(r.before_update);const t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Cl)}}function Vl(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}const Il=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],Dl=new Set([...Il]),Tl=/[&"<]/g,Ml=/[&<]/g;function ot(r,t=!1){const e=String(r),i=t?Tl:Ml;i.lastIndex=0;let n="",o=0;for(;i.test(e);){const l=i.lastIndex-1,c=e[l];n+=e.substring(o,l)+(c==="&"?"&":c==='"'?""":"<"),o=l+1}return n+e.substring(o)}const Pl=/^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;function Es(r){return Pl.test(r)||r.toLowerCase()==="!doctype"}const Ol=/[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;function an(r,t){const e=Object.assign({},...r);if(t){const n=t.classes,o=t.styles;n&&(e.class==null?e.class=n:e.class+=" "+n),o&&(e.style==null?e.style=zo(o):e.style=zo(zl(e.style,o)))}let i="";return Object.keys(e).forEach(n=>{if(Ol.test(n))return;const o=e[n];o===!0?i+=" "+n:Dl.has(n.toLowerCase())?o&&(i+=" "+n):o!=null&&(i+=` ${n}="${o}"`)}),i}function zl(r,t){const e={};for(const i of r.split(";")){const n=i.indexOf(":"),o=i.slice(0,n).trim(),l=i.slice(n+1).trim();o&&(e[o]=l)}for(const i in t){const n=t[i];n?e[i]=n:delete e[i]}return e}function Lr(r){return typeof r=="string"||r&&typeof r=="object"?ot(r,!0):r}function ln(r){const t={};for(const e in r)t[e]=Lr(r[e]);return t}function Ir(r,t){r=Vl(r);let e="";for(let i=0;i<r.length;i+=1)e+=t(r[i],i);return e}const Nl={$$render:()=>""};function Jt(r,t){if(!r||!r.$$render)throw t==="svelte:component"&&(t+=" this={...}"),new Error(`<${t}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a <${t}>.`);return r}let xo;function $r(r){function t(e,i,n,o,l){const c=xn,f={on_destroy:xo,context:new Map(l||(c?c.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:wl()};An({$$:f});const d=r(e,i,n,o);return An(c),d}return{render:(e={},{$$slots:i={},context:n=new Map}={})=>{xo=[];const o={title:"",head:"",css:new Set},l=t(o,e,{},i,n);return rs(xo),{html:l,css:{code:Array.from(o.css).map(c=>c.code).join(`
|