@soyio/soyio-widget 2.17.0 → 2.19.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.
@@ -1,4 +1,4 @@
1
- (function(I,T){typeof exports=="object"&&typeof module!="undefined"?T(exports):typeof define=="function"&&define.amd?define(["exports"],T):(I=typeof globalThis!="undefined"?globalThis:I||self,T(I["soyio-widget"]={}))})(this,function(I){"use strict";var er=Object.defineProperty;var qt=Object.getOwnPropertySymbols,tr=Object.getPrototypeOf,nr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,or=Reflect.get;var _t=I=>{throw TypeError(I)};var ir=(I,T,R)=>T in I?er(I,T,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[T]=R;var Bt=(I,T)=>{var R={};for(var _ in I)nr.call(I,_)&&T.indexOf(_)<0&&(R[_]=I[_]);if(I!=null&&qt)for(var _ of qt(I))T.indexOf(_)<0&&rr.call(I,_)&&(R[_]=I[_]);return R};var j=(I,T,R)=>ir(I,typeof T!="symbol"?T+"":T,R),ar=(I,T,R)=>T.has(I)||_t("Cannot "+R);var $t=(I,T,R)=>T.has(I)?_t("Cannot add the same private member more than once"):T instanceof WeakSet?T.add(I):T.set(I,R);var Gt=(I,T,R)=>(ar(I,T,"access private method"),R);var Vt=(I,T,R)=>or(tr(I),R,T);var G=(I,T,R)=>new Promise((_,re)=>{var je=te=>{try{fe(R.next(te))}catch(le){re(le)}},Me=te=>{try{fe(R.throw(te))}catch(le){re(le)}},fe=te=>te.done?_(te.value):Promise.resolve(te.value).then(je,Me);fe((R=R.apply(I,T)).next())});var Pe,Jt;function T(f,l){for(var g=0;g<l.length;g++){const d=l[g];if(typeof d!="string"&&!Array.isArray(d)){for(const v in d)if(v!=="default"&&!(v in f)){const y=Object.getOwnPropertyDescriptor(d,v);y&&Object.defineProperty(f,v,y.get?y:{enumerable:!0,get:()=>d[v]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}const R=!!(typeof window!="undefined"&&window.document&&window.document.createElement),_=200;class re{constructor(){j(this,"tooltipElement",null);j(this,"tooltipContent",null);j(this,"tooltipClass","soyio-tooltip");j(this,"hideTimeout",null);R&&this.createTooltipElement()}createTooltipElement(){const l=document.querySelector(`.${this.tooltipClass}`);if(l){this.tooltipElement=l,this.tooltipContent=this.tooltipElement.querySelector(".soyio-tooltip-content");return}this.tooltipElement=document.createElement("div"),this.tooltipElement.className=this.tooltipClass,this.tooltipElement.style.cssText=`
1
+ (function(v,R){typeof exports=="object"&&typeof module!="undefined"?R(exports):typeof define=="function"&&define.amd?define(["exports"],R):(v=typeof globalThis!="undefined"?globalThis:v||self,R(v["soyio-widget"]={}))})(this,function(v){"use strict";var tr=Object.defineProperty;var qi=Object.getOwnPropertySymbols,rr=Object.getPrototypeOf,nr=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,sr=Reflect.get;var _i=v=>{throw TypeError(v)};var fr=(v,R,x)=>R in v?tr(v,R,{enumerable:!0,configurable:!0,writable:!0,value:x}):v[R]=x;var Gi=(v,R)=>{var x={};for(var _ in v)nr.call(v,_)&&R.indexOf(_)<0&&(x[_]=v[_]);if(v!=null&&qi)for(var _ of qi(v))R.indexOf(_)<0&&or.call(v,_)&&(x[_]=v[_]);return x};var W=(v,R,x)=>fr(v,typeof R!="symbol"?R+"":R,x),dr=(v,R,x)=>R.has(v)||_i("Cannot "+x);var Vi=(v,R,x)=>R.has(v)?_i("Cannot add the same private member more than once"):R instanceof WeakSet?R.add(v):R.set(v,x);var Ji=(v,R,x)=>(dr(v,R,"access private method"),x);var Yi=(v,R,x)=>sr(rr(v),x,R);var q=(v,R,x)=>new Promise((_,ne)=>{var ke=te=>{try{ue(x.next(te))}catch(Ce){ne(Ce)}},je=te=>{try{ue(x.throw(te))}catch(Ce){ne(Ce)}},ue=te=>te.done?_(te.value):Promise.resolve(te.value).then(ke,je);ue((x=x.apply(v,R)).next())});var Ae,Zi;function R(l,p){for(var g=0;g<p.length;g++){const c=p[g];if(typeof c!="string"&&!Array.isArray(c)){for(const C in c)if(C!=="default"&&!(C in l)){const $=Object.getOwnPropertyDescriptor(c,C);$&&Object.defineProperty(l,C,$.get?$:{enumerable:!0,get:()=>c[C]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}const x=!!(typeof window!="undefined"&&window.document&&window.document.createElement),_=200;class ne{constructor(){W(this,"tooltipElement",null);W(this,"tooltipContent",null);W(this,"tooltipClass","soyio-tooltip");W(this,"hideTimeout",null);x&&this.createTooltipElement()}createTooltipElement(){const p=document.querySelector(`.${this.tooltipClass}`);if(p){this.tooltipElement=p,this.tooltipContent=this.tooltipElement.querySelector(".soyio-tooltip-content");return}this.tooltipElement=document.createElement("div"),this.tooltipElement.className=this.tooltipClass,this.tooltipElement.style.cssText=`
2
2
  position: fixed;
3
3
  z-index: 99999;
4
4
  background: rgba(30, 30, 30, 0.9);
@@ -16,16 +16,18 @@
16
16
  backdrop-filter: blur(5px);
17
17
  -webkit-backdrop-filter: blur(5px);
18
18
  transform: scale(0.95);
19
- `,this.tooltipContent=document.createElement("div"),this.tooltipContent.className="soyio-tooltip-content",this.tooltipElement.appendChild(this.tooltipContent),document.body.appendChild(this.tooltipElement)}show(l,g,d){if(!this.tooltipElement||!this.tooltipContent)return;this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null),this.tooltipContent.textContent=l,this.tooltipElement.style.opacity="0",this.tooltipElement.style.transform="scale(0.95)";const v=this.calculateOptimalPlacement(g,d);this.applyPlacement(v),requestAnimationFrame(()=>{this.tooltipElement&&(this.tooltipElement.style.opacity="1",this.tooltipElement.style.transform="scale(1)")})}calculateOptimalPlacement(l,g){const d=this.tooltipElement.offsetWidth,v=this.tooltipElement.offsetHeight,{innerWidth:y,innerHeight:E}=window,W=4,U={top:{top:g-v-W,left:l-d/2,placement:"top"},bottom:{top:g+W,left:l-d/2,placement:"bottom"},right:{top:g-v/2,left:l+W,placement:"right"},left:{top:g-v/2,left:l-d-W,placement:"left"}};for(const[,q]of Object.entries(U))if(re.fitsInViewport(q,d,v,y,E))return q;const F=U.top;return F.left=Math.max(W,Math.min(F.left,y-d-W)),F.top=Math.max(W,Math.min(F.top,E-v-W)),F}static fitsInViewport(l,g,d,v,y){return l.top>=0&&l.left>=0&&l.top+d<=y&&l.left+g<=v}applyPlacement(l){this.tooltipElement&&(this.tooltipElement.style.left=`${l.left}px`,this.tooltipElement.style.top=`${l.top}px`)}hide(){this.tooltipElement&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null),this.tooltipElement.style.opacity="0",this.tooltipElement.style.transform="scale(0.95)")}destroy(){var l;(l=this.tooltipElement)==null||l.remove(),this.tooltipElement=null,this.tooltipContent=null,this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}}function je(f,l,g){return G(this,null,function*(){if(!f.contentWindow)throw new Error("Invalid iframe: contentWindow is null");const d=yield Promise.resolve().then(()=>He);try{yield d.send(f.contentWindow,"SET_APPEARANCE",{appearance:l,identifier:g})}catch(v){console.error("Failed to send appearance config:",v)}})}const Me="IFRAME_READY",fe="IFRAME_HEIGHT_CHANGE",te="TOOLTIP_STATE_CHANGE",le="INFO_EVENT",Yt="CONSENT_STATE_CHANGE",H={onHeightChange:{},onIframeReady:{},onTooltipChange:{},onInfo:{},onStateChange:{}};let Qe,et,tt,nt,rt;function Zt(){return G(this,null,function*(){const f=yield Promise.resolve().then(()=>He);Qe||et||tt||nt||rt||(Qe=f.on(fe,l=>G(null,null,function*(){const g=l.data,d=H.onHeightChange[g.identifier];return d&&d(g.height),Promise.resolve()})),et=f.on(Me,l=>G(null,null,function*(){const g=l.data,d=H.onIframeReady[g.identifier];return d&&d(),Promise.resolve()})),tt=f.on(te,l=>G(null,null,function*(){const g=l.data,d=H.onTooltipChange[g.identifier];return d&&d(g),Promise.resolve()})),nt=f.on(Yt,l=>G(null,null,function*(){const g=l.data,d=H.onStateChange[g.identifier];return d&&d(g),Promise.resolve()})),rt=f.on(le,g=>G(null,[g],function*({data:l}){const E=l,{identifier:d}=E,v=Bt(E,["identifier"]),y=H.onInfo[d];return y&&y(v),Promise.resolve()})))})}function ot(f,l){const{onHeightChange:g,onIframeReady:d,onTooltipChange:v,onStateChange:y,onInfo:E}=l;g&&(H.onHeightChange[f]=g),d&&(H.onIframeReady[f]=d),v&&(H.onTooltipChange[f]=v),y&&(H.onStateChange[f]=y),E&&(H.onInfo[f]=E)}function Kt(f){delete H.onHeightChange[f],delete H.onIframeReady[f],delete H.onTooltipChange[f],delete H.onStateChange[f],delete H.onInfo[f]}function Xt(f){const l=document.getElementById(f);l&&(console.warn("ConsentBox iframe already exists. Removing existing before mounting new one."),l.remove())}function Qt(f){const l=document.querySelector(f);if(!l)throw new Error(`Iframe div container with id '${f}' not found`);if(l.tagName.toLowerCase()!=="div")throw new Error(`Iframe container with id '${f}' must be a <div> element`);const g=l;return g.style.position="relative",g.style.cssText+=`
19
+ `,this.tooltipContent=document.createElement("div"),this.tooltipContent.className="soyio-tooltip-content",this.tooltipElement.appendChild(this.tooltipContent),document.body.appendChild(this.tooltipElement)}show(p,g,c){if(!this.tooltipElement||!this.tooltipContent)return;this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null),this.tooltipContent.textContent=p,this.tooltipElement.style.opacity="0",this.tooltipElement.style.transform="scale(0.95)";const C=this.calculateOptimalPlacement(g,c);this.applyPlacement(C),requestAnimationFrame(()=>{this.tooltipElement&&(this.tooltipElement.style.opacity="1",this.tooltipElement.style.transform="scale(1)")})}calculateOptimalPlacement(p,g){const c=this.tooltipElement.offsetWidth,C=this.tooltipElement.offsetHeight,{innerWidth:$,innerHeight:m}=window,w=4,O={top:{top:g-C-w,left:p-c/2,placement:"top"},bottom:{top:g+w,left:p-c/2,placement:"bottom"},right:{top:g-C/2,left:p+w,placement:"right"},left:{top:g-C/2,left:p-c-w,placement:"left"}};for(const[,z]of Object.entries(O))if(ne.fitsInViewport(z,c,C,$,m))return z;const N=O.top;return N.left=Math.max(w,Math.min(N.left,$-c-w)),N.top=Math.max(w,Math.min(N.top,m-C-w)),N}static fitsInViewport(p,g,c,C,$){return p.top>=0&&p.left>=0&&p.top+c<=$&&p.left+g<=C}applyPlacement(p){this.tooltipElement&&(this.tooltipElement.style.left=`${p.left}px`,this.tooltipElement.style.top=`${p.top}px`)}hide(){this.tooltipElement&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null),this.tooltipElement.style.opacity="0",this.tooltipElement.style.transform="scale(0.95)")}destroy(){var p;(p=this.tooltipElement)==null||p.remove(),this.tooltipElement=null,this.tooltipContent=null,this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}}function ke(l,p,g){return q(this,null,function*(){if(!l.contentWindow)throw new Error("Invalid iframe: contentWindow is null");const c=yield Promise.resolve().then(()=>_e);try{yield c.send(l.contentWindow,"SET_APPEARANCE",{appearance:p,identifier:g})}catch(C){console.error("Failed to send appearance config:",C)}})}const je="IFRAME_READY",ue="IFRAME_HEIGHT_CHANGE",te="TOOLTIP_STATE_CHANGE",Ce="INFO_EVENT",Qi="CONSENT_STATE_CHANGE",U={onHeightChange:{},onIframeReady:{},onTooltipChange:{},onInfo:{},onStateChange:{}};let ri,ni,oi,si,fi;function Xi(){return q(this,null,function*(){const l=yield Promise.resolve().then(()=>_e);ri||ni||oi||si||fi||(ri=l.on(ue,p=>q(null,null,function*(){const g=p.data,c=U.onHeightChange[g.identifier];return c&&c(g.height),Promise.resolve()})),ni=l.on(je,p=>q(null,null,function*(){const g=p.data,c=U.onIframeReady[g.identifier];return c&&c(),Promise.resolve()})),oi=l.on(te,p=>q(null,null,function*(){const g=p.data,c=U.onTooltipChange[g.identifier];return c&&c(g),Promise.resolve()})),si=l.on(Qi,p=>q(null,null,function*(){const g=p.data,c=U.onStateChange[g.identifier];return c&&c(g),Promise.resolve()})),fi=l.on(Ce,g=>q(null,[g],function*({data:p}){const m=p,{identifier:c}=m,C=Gi(m,["identifier"]),$=U.onInfo[c];return $&&$(C),Promise.resolve()})))})}function di(l,p){const{onHeightChange:g,onIframeReady:c,onTooltipChange:C,onStateChange:$,onInfo:m}=p;g&&(U.onHeightChange[l]=g),c&&(U.onIframeReady[l]=c),C&&(U.onTooltipChange[l]=C),$&&(U.onStateChange[l]=$),m&&(U.onInfo[l]=m)}function Ki(l){delete U.onHeightChange[l],delete U.onIframeReady[l],delete U.onTooltipChange[l],delete U.onStateChange[l],delete U.onInfo[l]}function et(l){const p=document.getElementById(l);p&&(console.warn(`Soyio widget iframe with id '${l}' already exists. Removing existing before mounting new one.`),p.remove())}function it(l){const p=document.querySelector(l);if(!p)throw new Error(`Iframe div container with id '${l}' not found`);if(p.tagName.toLowerCase()!=="div")throw new Error(`Iframe container with id '${l}' must be a <div> element`);const g=p;return g.style.position="relative",g}function tt(l){const p=document.createElement("div");return p.id=`soyio-widget-wrapper-${l}`,p.style.cssText=`
20
+ position: relative !important;
20
21
  padding: 0 !important;
21
22
  margin: 0 !important;
22
23
  display: flex !important;
23
24
  justify-content: center !important;
24
- align-items: center !important;
25
+ align-items: flex-start !important;
25
26
  border: none !important;
26
27
  transition: height 0.35s !important;
27
28
  opacity: 1 !important;
28
- `,g}function en(f,l,g){const d=document.createElement("iframe");return d.id=l,d.src=f,d.style.cssText+=`
29
+ width: 100% !important;
30
+ `,p}function rt(l,p,g){const c=document.createElement("iframe");return c.id=p,c.src=l,c.style.cssText+=`
29
31
  width: 100% !important;
30
32
  min-width: ${g.minWidth} !important;
31
33
  border: none !important;
@@ -33,108 +35,117 @@
33
35
  opacity: 1;
34
36
  transition: height 0.35s,
35
37
  opacity 0.4s 0.1s;
36
- `,d}function tn(){return Math.random().toString(36).substring(2,10)}const it="https://app.soyio.id",at="https://sandbox.soyio.id",nn="https://privacy.soyio.id",rn="https://privacy-sandbox.soyio.id",on=["DISCLOSURE_REQUEST_SUCCESSFUL","IDENTITY_REGISTERED","IDENTITY_SIGNATURE","UNEXPECTED_ERROR","DENIED_CAMERA_PERMISSION","REJECTED_SIGNATURE","CLOSE_POPUP"],an="WIDGET_CLOSED",sn=420,un=720,cn=500,dn={minWidth:"375px"},fn={minWidth:"0px"},ln={minWidth:"375px"};class xe{constructor(l){j(this,"iframe",null);j(this,"skeleton",null);j(this,"options");j(this,"appearance");j(this,"tooltipManager");j(this,"defaultIframeCSSConfig",dn);j(this,"Skeleton",null);j(this,"defaultUniqueId");this.options=l,this.appearance=l.appearance||null,this.tooltipManager=new re,this.defaultUniqueId=xe.generateUniqueId()}static generateUniqueId(){return tn()}get uniqueIdentifier(){return this.defaultUniqueId}get iframeIdentifier(){return`${this.defaultIframePrefix}-${this.uniqueIdentifier}`}handleHeightChange(l){if(!this.iframe||(this.iframe.style.height=`${l}px`,l>0))return;const{parentElement:g}=this.iframe;g&&(g.style.display="none")}handleIframeReady(){return G(this,null,function*(){this.iframe&&(this.options.onReady&&this.options.onReady(),yield je(this.iframe,this.appearance,this.uniqueIdentifier),this.skeleton&&this.skeleton.hide())})}handleTooltipChange(l){if(!this.iframe)return;const g=this.iframe.getBoundingClientRect(),{text:d,coordinates:v,isVisible:y}=l,E=v.x+g.left,W=v.y+g.top;y?this.tooltipManager.show(d,E,W):this.tooltipManager.hide()}setupListeners(){return G(this,null,function*(){yield Zt();const l={onHeightChange:this.handleHeightChange.bind(this),onIframeReady:this.handleIframeReady.bind(this),onTooltipChange:this.handleTooltipChange.bind(this),onInfo:this.options.onEvent.bind(this)};ot(this.uniqueIdentifier,l)})}mount(l){return G(this,null,function*(){if(!R)return this;yield this.setupListeners(),Xt(this.iframeIdentifier);const g=Qt(l),d=this.iframeUrl();return this.iframe=en(d,this.iframeIdentifier,this.defaultIframeCSSConfig),this.Skeleton&&(this.skeleton=new this.Skeleton(this.uniqueIdentifier),this.skeleton.mount(g)),g.appendChild(this.iframe),this})}unmount(){R&&(Kt(this.uniqueIdentifier),this.skeleton&&(this.skeleton.hide(),this.skeleton=null),this.iframe&&(this.iframe.remove(),this.iframe=null))}}class hn{constructor(l){j(this,"element");j(this,"identifier");this.identifier=`skeleton-${l}`,this.element=document.createElement("div"),this.element.id=this.identifier,this.element.style.cssText=`
38
+ `,c}function nt(){return Math.random().toString(36).substring(2,10)}const ai="https://app.soyio.id",ci="https://sandbox.soyio.id",ot="https://privacy.soyio.id",st="https://privacy-sandbox.soyio.id",ft=["DISCLOSURE_REQUEST_SUCCESSFUL","IDENTITY_REGISTERED","IDENTITY_SIGNATURE","UNEXPECTED_ERROR","DENIED_CAMERA_PERMISSION","REJECTED_SIGNATURE","CLOSE_POPUP"],dt="WIDGET_CLOSED",at=420,ct=720,pt=500,lt={minWidth:"375px"},St={minWidth:"0px"},ut={minWidth:"375px"};class xe{constructor(p){W(this,"iframe",null);W(this,"wrapper",null);W(this,"skeleton",null);W(this,"options");W(this,"appearance");W(this,"tooltipManager");W(this,"defaultIframeCSSConfig",lt);W(this,"Skeleton",null);W(this,"isIframeReady",!1);W(this,"defaultUniqueId");this.options=p,this.appearance=p.appearance||null,this.tooltipManager=new ne,this.defaultUniqueId=xe.generateUniqueId()}static generateUniqueId(){return nt()}get uniqueIdentifier(){return this.defaultUniqueId}get iframeIdentifier(){return`${this.defaultIframePrefix}-${this.uniqueIdentifier}`}handleHeightChange(p){if(!this.iframe||(this.iframe.style.height=`${p}px`,p>0))return;const{parentElement:g}=this.iframe;g&&(g.style.display="none")}handleIframeReady(){return q(this,null,function*(){this.iframe&&(this.isIframeReady||(this.isIframeReady=!0,this.options.onReady&&this.options.onReady(),yield ke(this.iframe,this.appearance,this.uniqueIdentifier),this.skeleton&&this.skeleton.hide()))})}handleTooltipChange(p){if(!this.iframe)return;const g=this.iframe.getBoundingClientRect(),{text:c,coordinates:C,isVisible:$}=p,m=C.x+g.left,w=C.y+g.top;$?this.tooltipManager.show(c,m,w):this.tooltipManager.hide()}setupListeners(){return q(this,null,function*(){yield Xi();const p={onHeightChange:this.handleHeightChange.bind(this),onIframeReady:this.handleIframeReady.bind(this),onTooltipChange:this.handleTooltipChange.bind(this),onInfo:this.options.onEvent.bind(this)};di(this.uniqueIdentifier,p)})}mount(p){return q(this,null,function*(){var C;if(!x)return this;this.isIframeReady=!1,yield this.setupListeners(),et(this.iframeIdentifier);const g=it(p),c=this.iframeUrl();if(this.wrapper=tt(this.uniqueIdentifier),g.appendChild(this.wrapper),this.iframe=rt(c,this.iframeIdentifier,this.defaultIframeCSSConfig),this.Skeleton){const $=(C=this.appearance)==null?void 0:C.theme;this.skeleton=new this.Skeleton(this.uniqueIdentifier,$),this.skeleton.mount(this.wrapper)}return this.wrapper.appendChild(this.iframe),this})}unmount(){x&&(Ki(this.uniqueIdentifier),this.isIframeReady=!1,this.skeleton&&(this.skeleton.hide(),this.skeleton=null),this.iframe&&(this.iframe.remove(),this.iframe=null),this.wrapper&&(this.wrapper.remove(),this.wrapper=null))}updateAppearance(p){return q(this,null,function*(){this.appearance=p,!(!this.iframe||!this.isIframeReady)&&(yield ke(this.iframe,p,this.uniqueIdentifier))})}}class Ct{constructor(p,g){W(this,"element");W(this,"identifier");this.identifier=`skeleton-${p}`,this.element=document.createElement("div"),this.element.id=this.identifier;const c=g==="night",C=c?"#1E293B":"#FFFFFF",$=c?"#334155":"#E5E7EB",m=c?"#334155":"#f0f0f0",w=c?"#475569":"#e0e0e0",O=c?"#334155":"#f0f0f0";this.element.style.cssText=`
37
39
  position: absolute;
38
- left: 50%;
39
- top: 50%;
40
- transform: translate(-50%, -50%);
40
+ top: 0;
41
+ left: 0;
41
42
  width: 100%;
42
- min-width: 375px;
43
- height: 120px;
44
- background: #FFFFFF;
45
- border: 1px solid #E5E7EB;
43
+ background: ${C};
44
+ border: 1px solid ${$};
46
45
  border-radius: 0.25rem;
47
46
  opacity: 1;
48
47
  transition: opacity 0.3s ease-out;
49
48
  display: flex;
50
49
  flex-direction: column;
51
- gap: 1rem;
52
- `;const g=document.createElement("div");g.style.cssText=`
50
+ box-sizing: border-box;
51
+ z-index: 1;
52
+ `;const N=document.createElement("div");N.style.cssText=`
53
53
  padding: 1rem;
54
- height: 100%;
55
- max-width: 100%;
54
+ width: 100%;
55
+ box-sizing: border-box;
56
56
  display: flex;
57
57
  flex-direction: column;
58
- justify-content: space-between;
59
- `;const d=document.createElement("div");d.style.cssText=`
58
+ justify-content: flex-start;
59
+ gap: 0.75rem;
60
+ `;const z=document.createElement("div");z.style.cssText=`
60
61
  display: flex;
61
62
  align-items: center;
62
63
  gap: 0.75rem;
63
- `;const v=document.createElement("div");v.style.cssText=`
64
+ `;const oe=document.createElement("div");oe.style.cssText=`
64
65
  width: 2rem;
65
66
  height: 2rem;
66
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
67
+ background: linear-gradient(90deg, ${m} 25%, ${w} 50%, ${O} 75%);
67
68
  background-size: 200% 100%;
68
69
  animation: shimmer 1.5s infinite;
69
70
  border-radius: 50%;
70
71
  flex-shrink: 0;
71
- `;const y=document.createElement("div");y.style.cssText=`
72
+ `;const ee=document.createElement("div");ee.style.cssText=`
72
73
  height: 1rem;
73
74
  width: 30%;
74
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
75
+ background: linear-gradient(90deg, ${m} 25%, ${w} 50%, ${O} 75%);
75
76
  background-size: 200% 100%;
76
77
  animation: shimmer 1.5s infinite;
77
78
  border-radius: 0.125rem;
78
- `;const E=document.createElement("div");E.style.cssText=`
79
- width: 1.5rem;
80
- height: 1.5rem;
81
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
79
+ `;const se=document.createElement("div");se.style.cssText=`
80
+ width: 3rem;
81
+ height: 1.25rem;
82
+ background: linear-gradient(90deg, ${m} 25%, ${w} 50%, ${O} 75%);
82
83
  background-size: 200% 100%;
83
84
  animation: shimmer 1.5s infinite;
84
- border-radius: 50%;
85
+ border-radius: .25rem;
85
86
  margin-left: auto;
86
- margin-right: 3px;
87
- `;const W=document.createElement("div");W.style.cssText=`
87
+ flex-shrink: 0;
88
+ `;const M=document.createElement("div");M.style.cssText=`
89
+ display: flex;
90
+ align-items: flex-start;
91
+ gap: 0.75rem;
92
+ `;const X=document.createElement("div");X.style.cssText=`
93
+ width: 2rem;
94
+ height: 1rem;
88
95
  display: flex;
96
+ justify-content: center;
89
97
  align-items: center;
90
- gap: 1rem;
91
- `;const U=document.createElement("div");U.style.cssText=`
98
+ flex-shrink: 0;
99
+ `;const fe=document.createElement("div");fe.style.cssText=`
92
100
  width: 1rem;
93
101
  height: 1rem;
94
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
102
+ background: linear-gradient(90deg, ${m} 25%, ${w} 50%, ${O} 75%);
95
103
  background-size: 200% 100%;
96
104
  animation: shimmer 1.5s infinite;
97
105
  border-radius: 0.25rem;
98
106
  flex-shrink: 0;
99
- margin-left: 10px;
100
- `;const F=document.createElement("div");F.style.cssText=`
107
+ `;const de=document.createElement("div");de.style.cssText=`
101
108
  flex-grow: 1;
102
109
  display: flex;
103
110
  flex-direction: column;
104
111
  gap: 0.5rem;
105
- `;const q=document.createElement("div");q.style.cssText=`
112
+ `;const Pe=document.createElement("div");Pe.style.cssText=`
106
113
  height: 0.875rem;
107
114
  width: 80%;
108
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
115
+ background: linear-gradient(90deg, ${m} 25%, ${w} 50%, ${O} 75%);
109
116
  background-size: 200% 100%;
110
117
  animation: shimmer 1.5s infinite;
111
118
  border-radius: 0.125rem;
112
- `;const oe=document.createElement("div");if(oe.style.cssText=`
119
+ `;const Le=document.createElement("div");if(Le.style.cssText=`
113
120
  height: 0.875rem;
114
121
  width: 60%;
115
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
122
+ background: linear-gradient(90deg, ${m} 25%, ${w} 50%, ${O} 75%);
116
123
  background-size: 200% 100%;
117
- animation: shimmer 1.5s infinite;
124
+ animation: shimmer 2s infinite;
118
125
  border-radius: 0.125rem;
119
- `,!document.getElementById("skeleton-animation")){const X=document.createElement("style");X.id="skeleton-animation",X.textContent=`
126
+ `,!document.getElementById("skeleton-animation")){const $e=document.createElement("style");$e.id="skeleton-animation",$e.textContent=`
120
127
  @keyframes shimmer {
121
128
  0% { background-position: 200% 0; }
122
129
  100% { background-position: -200% 0; }
123
130
  }
124
- `,document.head.appendChild(X)}d.appendChild(v),d.appendChild(y),d.appendChild(E),F.appendChild(q),F.appendChild(oe),W.appendChild(U),W.appendChild(F),g.appendChild(d),g.appendChild(W),this.element.appendChild(g)}cleanupExistingSkeleton(){const l=document.getElementById(this.identifier);l&&l.remove()}mount(l){this.cleanupExistingSkeleton(),l.appendChild(this.element)}hide(){this.element.style.opacity="0",setTimeout(()=>this.element.remove(),300)}}const ze="2.17.0";function mn(f){var E;const l=["actionToken","entityId","context","optionalReconsentBehavior","mandatoryReconsentBehavior"],g=(E=f.isSandbox)!=null?E:!1,d=f.developmentUrl||(g?at:it),v=new URLSearchParams;v.set("sdkVersion",ze),l.forEach(W=>{f[W]&&v.set(W,f[W])});const y=v.toString();return`${d}/embed/consents/${f.consentTemplateId}${y?`?${y}`:""}`}class Le extends xe{constructor(g){super(g);j(this,"defaultIframePrefix","consent-box");j(this,"defaultIframeCSSConfig",fn);j(this,"state",{isSelected:!1,actionToken:null});this.Skeleton=hn}get uniqueIdentifier(){return this.options.consentTemplateId}iframeUrl(){return mn(this.options)}handleStateChange(g){const{isSelected:d,actionToken:v}=g;this.state={isSelected:d,actionToken:v},this.options.onEvent({eventName:"CONSENT_CHECKBOX_CHANGE",isSelected:d,actionToken:v})}setupListeners(){return G(this,null,function*(){yield Vt(Le.prototype,this,"setupListeners").call(this),ot(this.uniqueIdentifier,{onStateChange:this.handleStateChange.bind(this)})})}getState(){return this.state}}function pn(f){var y,E,W;const l=(y=f.isSandbox)!=null?y:!1,g=f.developmentUrl||(l?rn:nn),d=new URLSearchParams;if(d.set("sdkVersion",ze),f.sessionToken?d.set("sessionToken",f.sessionToken):f.companyId&&d.set("companyId",f.companyId),(E=f.enabledFeatures)!=null&&E.length&&d.set("enabledFeatures",f.enabledFeatures.join(",")),(W=f.dataSubjects)!=null&&W.length&&d.set("dataSubjects",f.dataSubjects.join(",")),f.requestReference&&d.set("requestReference",f.requestReference),f.fileRequisites){const U=JSON.stringify(f.fileRequisites);U!=="{}"&&d.set("fileRequisites",U)}const v=d.toString();return`${g}${v?`?${v}`:""}`}class vn extends xe{constructor(){super(...arguments);j(this,"defaultIframePrefix","privacy-center");j(this,"_uniqueIdentifier","privacy-center");j(this,"defaultIframeCSSConfig",ln)}get uniqueIdentifier(){return this._uniqueIdentifier}iframeUrl(){return pn(this.options)}}const wn=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),gn="WIDGET_EVENT";function yn(f){let l="widget/";return"disclosureRequestId"in f.configProps?l+=["disclosures",f.configProps.disclosureRequestId].join("/"):l+=f.request,l}function En(f){var y;const l=(y=f.isSandbox)!=null?y:!1,g=f.developmentUrl||(l?at:it),d=Object.entries(f.configProps).filter(([E,W])=>W||E==="disclosureRequestId").map(([E,W])=>`${E}=${encodeURIComponent(W)}`).join("&"),v=yn(f);return`${g}/${v}?sdk=web&sdkVersion=${ze}&${d}`}let Q=null,ke=null;function Ue(f=null){Q&&!Q.closed&&Q.focus(),f==null||f.preventDefault()}function Ie(){document.body.style.filter="",document.body.removeEventListener("click",Ue)}function Sn(){ke=setInterval(()=>{(!Q||Q.closed)&&(ke&&clearInterval(ke),Ie())},cn)}function bn(f){const l=En(f),g=sn,d=un,v=window.screenLeft!==void 0?window.screenLeft:window.screenX,y=window.screenTop!==void 0?window.screenTop:window.screenY,E=window.innerWidth||document.documentElement.clientWidth||window.screen.width,W=window.innerHeight||document.documentElement.clientHeight||window.screen.height,U=E/window.screen.availWidth,F=(E-g)/2/U+v,q=(W-d)/2/U+y,oe=["scrollbars=yes",`width=${g}`,`height=${d}`,`top=${q}`,`left=${F}`].join(","),X=window.open("about:blank","Soyio",oe);X?(Q=X,Q.location.href=l,document.body.style.filter="blur(5px)",document.body.addEventListener("click",Ue),Ue(),Sn()):(Ie(),alert("Debes habilitar las ventanas emergentes para poder iniciar el flujo."))}function xn(){Q&&(Q.close(),Q=null),Ie()}let he=null;function In(){he&&(he.cancel(),he=null)}function Wn(f){return G(this,null,function*(){const{onEvent:l}=f,g=yield Promise.resolve().then(()=>He);he&&In(),he=g.on(gn,v=>G(null,[v],function*({data:d}){return l(d),on.includes(d.eventName)?xn():d.eventName===an&&Ie(),Promise.resolve()}))})}function Pn(f){Wn(f)}class st{constructor(l){$t(this,Pe);j(this,"onEvent");this.onEvent=l.onEvent,R&&(bn(l),Pn({onEvent:Gt(this,Pe,Jt).bind(this)}))}}Pe=new WeakSet,Jt=function(l){this.onEvent(l)};function Tn(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var Fe={exports:{}},We={exports:{}},Cn=We.exports,ut;function Rn(){return ut||(ut=1,function(f,l){(function(g,d){f.exports=d()})(typeof self!="undefined"?self:Cn,function(){return function(g){var d={};function v(y){if(d[y])return d[y].exports;var E=d[y]={i:y,l:!1,exports:{}};return g[y].call(E.exports,E,E.exports,v),E.l=!0,E.exports}return v.m=g,v.c=d,v.d=function(y,E,W){v.o(y,E)||Object.defineProperty(y,E,{enumerable:!0,get:W})},v.r=function(y){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})},v.t=function(y,E){if(1&E&&(y=v(y)),8&E||4&E&&typeof y=="object"&&y&&y.__esModule)return y;var W=Object.create(null);if(v.r(W),Object.defineProperty(W,"default",{enumerable:!0,value:y}),2&E&&typeof y!="string")for(var U in y)v.d(W,U,function(F){return y[F]}.bind(null,U));return W},v.n=function(y){var E=y&&y.__esModule?function(){return y.default}:function(){return y};return v.d(E,"a",E),E},v.o=function(y,E){return{}.hasOwnProperty.call(y,E)},v.p="",v(v.s=0)}([function(g,d,v){v.r(d),v.d(d,"Promise",function(){return C}),v.d(d,"TYPES",function(){return Xn}),v.d(d,"ProxyWindow",function(){return Y}),v.d(d,"setup",function(){return Ht}),v.d(d,"destroy",function(){return Kn}),v.d(d,"serializeMessage",function(){return Vn}),v.d(d,"deserializeMessage",function(){return Jn}),v.d(d,"createProxyWindow",function(){return Yn}),v.d(d,"toProxyWindow",function(){return Zn}),v.d(d,"on",function(){return ce}),v.d(d,"once",function(){return Gn}),v.d(d,"send",function(){return ne}),v.d(d,"markWindowKnown",function(){return Rt}),v.d(d,"cleanUpWindow",function(){return Qn}),v.d(d,"bridge",function(){});function y(e){return{}.toString.call(e)==="[object RegExp]"}var E=`Call was rejected by callee.\r
125
- `;function W(e){return e===void 0&&(e=window),e.location.protocol}function U(e){if(e===void 0&&(e=window),e.mockDomain){var n=e.mockDomain.split("//")[0];if(n)return n}return W(e)}function F(e){return e===void 0&&(e=window),U(e)==="about:"}function q(e){if(e===void 0&&(e=window),e)try{if(e.parent&&e.parent!==e)return e.parent}catch(n){}}function oe(e){if(e===void 0&&(e=window),e&&!q(e))try{return e.opener}catch(n){}}function X(e){try{return!0}catch(n){}return!1}function Te(e){e===void 0&&(e=window);var n=e.location;if(!n)throw new Error("Can not read window location");var t=W(e);if(!t)throw new Error("Can not read window protocol");if(t==="file:")return"file://";if(t==="about:"){var r=q(e);return r&&X()?Te(r):"about://"}var o=n.host;if(!o)throw new Error("Can not read window host");return t+"//"+o}function B(e){e===void 0&&(e=window);var n=Te(e);return n&&e.mockDomain&&e.mockDomain.indexOf("mock:")===0?e.mockDomain:n}function ie(e){if(!function(n){try{if(n===window)return!0}catch(r){}try{var t=Object.getOwnPropertyDescriptor(n,"location");if(t&&t.enumerable===!1)return!1}catch(r){}try{if(F(n)&&X())return!0}catch(r){}try{if(function(r){return r===void 0&&(r=window),U(r)==="mock:"}(n)&&X())return!0}catch(r){}try{if(Te(n)===Te(window))return!0}catch(r){}return!1}(e))return!1;try{if(e===window||F(e)&&X()||B(window)===B(e))return!0}catch(n){}return!1}function Ce(e){if(!ie(e))throw new Error("Expected window to be same domain");return e}function ft(e,n){if(!e||!n)return!1;var t=q(n);return t?t===e:function(r){var o=[];try{for(;r.parent!==r;)o.push(r.parent),r=r.parent}catch(i){}return o}(n).indexOf(e)!==-1}function lt(e){var n=[],t;try{t=e.frames}catch(u){t=e}var r;try{r=t.length}catch(u){}if(r===0)return n;if(r){for(var o=0;o<r;o++){var i=void 0;try{i=t[o]}catch(u){continue}n.push(i)}return n}for(var a=0;a<100;a++){var c=void 0;try{c=t[a]}catch(u){return n}if(!c)return n;n.push(c)}return n}var An=[],Nn=[];function Z(e,n){n===void 0&&(n=!0);try{if(e===window)return!1}catch(o){return!0}try{if(!e)return!0}catch(o){return!0}try{if(e.closed)return!0}catch(o){return!o||o.message!==E}if(n&&ie(e))try{if(e.mockclosed)return!0}catch(o){}try{if(!e.parent||!e.top)return!0}catch(o){}var t=function(o,i){for(var a=0;a<o.length;a++)try{if(o[a]===i)return a}catch(c){}return-1}(An,e);if(t!==-1){var r=Nn[t];if(r&&function(o){if(!o.contentWindow||!o.parentNode)return!0;var i=o.ownerDocument;if(i&&i.documentElement&&!i.documentElement.contains(o)){for(var a=o;a.parentNode&&a.parentNode!==a;)a=a.parentNode;if(!a.host||!i.documentElement.contains(a.host))return!0}return!1}(r))return!0}return!1}function ht(e){return e===void 0&&(e=window),oe(e=e||window)||q(e)||void 0}function de(e,n){if(typeof e=="string"){if(typeof n=="string")return e==="*"||n===e;if(y(n)||Array.isArray(n))return!1}return y(e)?y(n)?e.toString()===n.toString():!Array.isArray(n)&&!!n.match(e):!!Array.isArray(e)&&(Array.isArray(n)?JSON.stringify(e)===JSON.stringify(n):!y(n)&&e.some(function(t){return de(t,n)}))}function Re(e){try{if(e===window)return!0}catch(n){if(n&&n.message===E)return!0}try{if({}.toString.call(e)==="[object Window]")return!0}catch(n){if(n&&n.message===E)return!0}try{if(window.Window&&e instanceof window.Window)return!0}catch(n){if(n&&n.message===E)return!0}try{if(e&&e.self===e)return!0}catch(n){if(n&&n.message===E)return!0}try{if(e&&e.parent===e)return!0}catch(n){if(n&&n.message===E)return!0}try{if(e&&e.top===e)return!0}catch(n){if(n&&n.message===E)return!0}try{if(e&&e.__cross_domain_utils_window_check__==="__unlikely_value__")return!1}catch(n){return!0}try{if("postMessage"in e&&"self"in e&&"location"in e)return!0}catch(n){}return!1}function mt(e){if(ie(e))return Ce(e).frameElement;for(var n=0,t=document.querySelectorAll("iframe");n<t.length;n++){var r=t[n];if(r&&r.contentWindow&&r.contentWindow===e)return r}}function Dn(e){if(function(t){return t===void 0&&(t=window),!!q(t)}(e)){var n=mt(e);if(n&&n.parentElement){n.parentElement.removeChild(n);return}}try{e.close()}catch(t){}}function ae(e){try{if(!e)return!1;if(typeof Promise!="undefined"&&e instanceof Promise)return!0;if(typeof window!="undefined"&&typeof window.Window=="function"&&e instanceof window.Window||typeof window!="undefined"&&typeof window.constructor=="function"&&e instanceof window.constructor)return!1;var n={}.toString;if(n){var t=n.call(e);if(t==="[object Window]"||t==="[object global]"||t==="[object DOMWindow]")return!1}if(typeof e.then=="function")return!0}catch(r){return!1}return!1}var pt=[],me=[],qe=0,pe;function vt(){if(!qe&&pe){var e=pe;pe=null,e.resolve()}}function _e(){qe+=1}function ve(){qe-=1,vt()}var C=function(){function e(t){var r=this;if(this.resolved=void 0,this.rejected=void 0,this.errorHandled=void 0,this.value=void 0,this.error=void 0,this.handlers=void 0,this.dispatching=void 0,this.stack=void 0,this.resolved=!1,this.rejected=!1,this.errorHandled=!1,this.handlers=[],t){var o,i,a=!1,c=!1,u=!1;_e();try{t(function(s){u?r.resolve(s):(a=!0,o=s)},function(s){u?r.reject(s):(c=!0,i=s)})}catch(s){ve(),this.reject(s);return}ve(),u=!0,a?this.resolve(o):c&&this.reject(i)}}var n=e.prototype;return n.resolve=function(t){if(this.resolved||this.rejected)return this;if(ae(t))throw new Error("Can not resolve promise with another promise");return this.resolved=!0,this.value=t,this.dispatch(),this},n.reject=function(t){var r=this;if(this.resolved||this.rejected)return this;if(ae(t))throw new Error("Can not reject promise with another promise");if(!t){var o=t&&typeof t.toString=="function"?t.toString():{}.toString.call(t);t=new Error("Expected reject to be called with Error, got "+o)}return this.rejected=!0,this.error=t,this.errorHandled||setTimeout(function(){r.errorHandled||function(i,a){if(pt.indexOf(i)===-1){pt.push(i),setTimeout(function(){throw i},1);for(var c=0;c<me.length;c++)me[c](i,a)}}(t,r)},1),this.dispatch(),this},n.asyncReject=function(t){return this.errorHandled=!0,this.reject(t),this},n.dispatch=function(){var t=this.resolved,r=this.rejected,o=this.handlers;if(!this.dispatching&&(t||r)){this.dispatching=!0,_e();for(var i=function(w,x){return w.then(function(S){x.resolve(S)},function(S){x.reject(S)})},a=0;a<o.length;a++){var c=o[a],u=c.onSuccess,s=c.onError,p=c.promise,h=void 0;if(t)try{h=u?u(this.value):this.value}catch(w){p.reject(w);continue}else if(r){if(!s){p.reject(this.error);continue}try{h=s(this.error)}catch(w){p.reject(w);continue}}if(h instanceof e&&(h.resolved||h.rejected)){var m=h;m.resolved?p.resolve(m.value):p.reject(m.error),m.errorHandled=!0}else ae(h)?h instanceof e&&(h.resolved||h.rejected)?h.resolved?p.resolve(h.value):p.reject(h.error):i(h,p):p.resolve(h)}o.length=0,this.dispatching=!1,ve()}},n.then=function(t,r){if(t&&typeof t!="function"&&!t.call)throw new Error("Promise.then expected a function for success handler");if(r&&typeof r!="function"&&!r.call)throw new Error("Promise.then expected a function for error handler");var o=new e;return this.handlers.push({promise:o,onSuccess:t,onError:r}),this.errorHandled=!0,this.dispatch(),o},n.catch=function(t){return this.then(void 0,t)},n.finally=function(t){if(t&&typeof t!="function"&&!t.call)throw new Error("Promise.finally expected a function");return this.then(function(r){return e.try(t).then(function(){return r})},function(r){return e.try(t).then(function(){throw r})})},n.timeout=function(t,r){var o=this;if(this.resolved||this.rejected)return this;var i=setTimeout(function(){o.resolved||o.rejected||o.reject(r||new Error("Promise timed out after "+t+"ms"))},t);return this.then(function(a){return clearTimeout(i),a})},n.toPromise=function(){if(typeof Promise=="undefined")throw new TypeError("Could not find Promise");return Promise.resolve(this)},n.lazy=function(){return this.errorHandled=!0,this},e.resolve=function(t){return t instanceof e?t:ae(t)?new e(function(r,o){return t.then(r,o)}):new e().resolve(t)},e.reject=function(t){return new e().reject(t)},e.asyncReject=function(t){return new e().asyncReject(t)},e.all=function(t){var r=new e,o=t.length,i=[].slice();if(!o)return r.resolve(i),r;for(var a=function(s,p,h){return p.then(function(m){i[s]=m,(o-=1)==0&&r.resolve(i)},function(m){h.reject(m)})},c=0;c<t.length;c++){var u=t[c];if(u instanceof e){if(u.resolved){i[c]=u.value,o-=1;continue}}else if(!ae(u)){i[c]=u,o-=1;continue}a(c,e.resolve(u),r)}return o===0&&r.resolve(i),r},e.hash=function(t){var r={},o=[],i=function(c){if(t.hasOwnProperty(c)){var u=t[c];ae(u)?o.push(u.then(function(s){r[c]=s})):r[c]=u}};for(var a in t)i(a);return e.all(o).then(function(){return r})},e.map=function(t,r){return e.all(t.map(r))},e.onPossiblyUnhandledException=function(t){return function(r){return me.push(r),{cancel:function(){me.splice(me.indexOf(r),1)}}}(t)},e.try=function(t,r,o){if(t&&typeof t!="function"&&!t.call)throw new Error("Promise.try expected a function");var i;_e();try{i=t.apply(r,o||[])}catch(a){return ve(),e.reject(a)}return ve(),e.resolve(i)},e.delay=function(t){return new e(function(r){setTimeout(r,t)})},e.isPromise=function(t){return!!(t&&t instanceof e)||ae(t)},e.flush=function(){return function(t){var r=pe=pe||new t;return vt(),r}(e)},e}();function Oe(e,n){for(var t=0;t<e.length;t++)try{if(e[t]===n)return t}catch(r){}return-1}var Be=function(){function e(){if(this.name=void 0,this.weakmap=void 0,this.keys=void 0,this.values=void 0,this.name="__weakmap_"+(1e9*Math.random()>>>0)+"__",function(){if(typeof WeakMap=="undefined"||Object.freeze===void 0)return!1;try{var t=new WeakMap,r={};return Object.freeze(r),t.set(r,"__testvalue__"),t.get(r)==="__testvalue__"}catch(o){return!1}}())try{this.weakmap=new WeakMap}catch(t){}this.keys=[],this.values=[]}var n=e.prototype;return n._cleanupClosedWindows=function(){for(var t=this.weakmap,r=this.keys,o=0;o<r.length;o++){var i=r[o];if(Re(i)&&Z(i)){if(t)try{t.delete(i)}catch(a){}r.splice(o,1),this.values.splice(o,1),o-=1}}},n.isSafeToReadWrite=function(t){return!Re(t)},n.set=function(t,r){if(!t)throw new Error("WeakMap expected key");var o=this.weakmap;if(o)try{o.set(t,r)}catch(p){delete this.weakmap}if(this.isSafeToReadWrite(t))try{var i=this.name,a=t[i];a&&a[0]===t?a[1]=r:Object.defineProperty(t,i,{value:[t,r],writable:!0});return}catch(p){}this._cleanupClosedWindows();var c=this.keys,u=this.values,s=Oe(c,t);s===-1?(c.push(t),u.push(r)):u[s]=r},n.get=function(t){if(!t)throw new Error("WeakMap expected key");var r=this.weakmap;if(r)try{if(r.has(t))return r.get(t)}catch(a){delete this.weakmap}if(this.isSafeToReadWrite(t))try{var o=t[this.name];return o&&o[0]===t?o[1]:void 0}catch(a){}this._cleanupClosedWindows();var i=Oe(this.keys,t);if(i!==-1)return this.values[i]},n.delete=function(t){if(!t)throw new Error("WeakMap expected key");var r=this.weakmap;if(r)try{r.delete(t)}catch(c){delete this.weakmap}if(this.isSafeToReadWrite(t))try{var o=t[this.name];o&&o[0]===t&&(o[0]=o[1]=void 0)}catch(c){}this._cleanupClosedWindows();var i=this.keys,a=Oe(i,t);a!==-1&&(i.splice(a,1),this.values.splice(a,1))},n.has=function(t){if(!t)throw new Error("WeakMap expected key");var r=this.weakmap;if(r)try{if(r.has(t))return!0}catch(i){delete this.weakmap}if(this.isSafeToReadWrite(t))try{var o=t[this.name];return!(!o||o[0]!==t)}catch(i){}return this._cleanupClosedWindows(),Oe(this.keys,t)!==-1},n.getOrSet=function(t,r){if(this.has(t))return this.get(t);var o=r();return this.set(t,o),o},e}();function wt(e){return e.name||e.__name__||e.displayName||"anonymous"}function gt(e,n){try{delete e.name,e.name=n}catch(t){}return e.__name__=e.displayName=n,e}function ee(){var e="0123456789abcdef";return"uid_"+"xxxxxxxxxx".replace(/./g,function(){return e.charAt(Math.floor(Math.random()*e.length))})+"_"+function(n){if(typeof btoa=="function")return btoa(encodeURIComponent(n).replace(/%([0-9A-F]{2})/g,function(t,r){return String.fromCharCode(parseInt(r,16))})).replace(/[=]/g,"");if(typeof Buffer!="undefined")return Buffer.from(n,"utf8").toString("base64").replace(/[=]/g,"");throw new Error("Can not find window.btoa or Buffer")}(new Date().toISOString().slice(11,19).replace("T",".")).replace(/[^a-zA-Z0-9]/g,"").toLowerCase()}var Ae;function yt(e){try{return JSON.stringify([].slice.call(e),function(n,t){return typeof t=="function"?"memoize["+function(r){if(Ae=Ae||new Be,r==null||typeof r!="object"&&typeof r!="function")throw new Error("Invalid object");var o=Ae.get(r);return o||(o=typeof r+":"+ee(),Ae.set(r,o)),o}(t)+"]":typeof window!="undefined"&&t instanceof window.Element||t!==null&&typeof t=="object"&&t.nodeType===1&&typeof t.style=="object"&&typeof t.ownerDocument=="object"?{}:t})}catch(n){throw new Error("Arguments not serializable -- can not be used to memoize")}}function jn(){return{}}var we=0,Et=0;function ge(e,n){n===void 0&&(n={});var t=n.thisNamespace,r=t!==void 0&&t,o=n.time,i,a,c=we;we+=1;var u=function(){for(var s=arguments.length,p=new Array(s),h=0;h<s;h++)p[h]=arguments[h];c<Et&&(i=null,a=null,c=we,we+=1);var m;m=r?(a=a||new Be).getOrSet(this,jn):i=i||{};var w;try{w=yt(p)}catch(O){return e.apply(this,arguments)}var x=m[w];if(x&&o&&Date.now()-x.time<o&&(delete m[w],x=null),x)return x.value;var S=Date.now(),b=e.apply(this,arguments);return m[w]={time:S,value:b},b};return u.reset=function(){i=null,a=null},gt(u,(n.name||wt(e))+"::memoized")}ge.clear=function(){Et=we};function Mn(e){var n={};function t(){for(var r=arguments,o=this,i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];var u=yt(a);return n.hasOwnProperty(u)||(n[u]=C.try(function(){return e.apply(o,r)}).finally(function(){delete n[u]})),n[u]}return t.reset=function(){n={}},gt(t,wt(e)+"::promiseMemoized")}function se(){}function ye(e,n){if(n===void 0&&(n=1),n>=3)return"stringifyError stack overflow";try{if(!e)return"<unknown error: "+{}.toString.call(e)+">";if(typeof e=="string")return e;if(e instanceof Error){var t=e&&e.stack,r=e&&e.message;if(t&&r)return t.indexOf(r)!==-1?t:r+`
126
- `+t;if(t)return t;if(r)return r}return e&&e.toString&&typeof e.toString=="function"?e.toString():{}.toString.call(e)}catch(o){return"Error while stringifying error: "+ye(o,n+1)}}function St(e){return typeof e=="string"?e:e.toString&&typeof e.toString=="function"?e.toString():{}.toString.call(e)}ge(function(e){if(Object.values)return Object.values(e);var n=[];for(var t in e)e.hasOwnProperty(t)&&n.push(e[t]);return n});function $e(e){return{}.toString.call(e)==="[object RegExp]"}function Ee(e,n,t){if(e.hasOwnProperty(n))return e[n];var r=t();return e[n]=r,r}function bt(){var e=document.body;if(!e)throw new Error("Body element not found");return e}function xt(){return!!document.body&&document.readyState==="complete"}function It(){return!!document.body&&document.readyState==="interactive"}ge(function(){return new C(function(e){if(xt()||It())return e();var n=setInterval(function(){if(xt()||It())return clearInterval(n),e()},10)})});var Ne=typeof document!="undefined"?document.currentScript:null,zn=ge(function(){if(Ne||(Ne=function(){try{var e=function(){try{throw new Error("_")}catch(a){return a.stack||""}}(),n=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e),t=n&&n[1];if(!t)return;for(var r=0,o=[].slice.call(document.getElementsByTagName("script")).reverse();r<o.length;r++){var i=o[r];if(i.src&&i.src===t)return i}}catch(a){}}()))return Ne;throw new Error("Can not determine current script")}),Ln=ee();ge(function(){var e;try{e=zn()}catch(r){return Ln}var n=e.getAttribute("data-uid");if(n&&typeof n=="string"||(n=e.getAttribute("data-uid-auto"))&&typeof n=="string")return n;if(e.src){var t=function(r){for(var o="",i=0;i<r.length;i++){var a=r[i].charCodeAt(0)*i;r[i+1]&&(a+=r[i+1].charCodeAt(0)*(i-1)),o+=String.fromCharCode(97+Math.abs(a)%26)}return o}(JSON.stringify({src:e.src,dataset:e.dataset}));n="uid_"+t.slice(t.length-30)}else n=ee();return e.setAttribute("data-uid-auto",n),n});function Se(e){e===void 0&&(e=window);var n="__post_robot_10_0_46__";return e!==window?e[n]:e[n]=e[n]||{}}var Wt=function(){return{}};function L(e,n){return e===void 0&&(e="store"),n===void 0&&(n=Wt),Ee(Se(),e,function(){var t=n();return{has:function(r){return t.hasOwnProperty(r)},get:function(r,o){return t.hasOwnProperty(r)?t[r]:o},set:function(r,o){return t[r]=o,o},del:function(r){delete t[r]},getOrSet:function(r,o){return Ee(t,r,o)},reset:function(){t=n()},keys:function(){return Object.keys(t)}}})}var kn=function(){};function De(){var e=Se();return e.WINDOW_WILDCARD=e.WINDOW_WILDCARD||new kn,e.WINDOW_WILDCARD}function $(e,n){return e===void 0&&(e="store"),n===void 0&&(n=Wt),L("windowStore").getOrSet(e,function(){var t=new Be,r=function(o){return t.getOrSet(o,n)};return{has:function(o){return r(o).hasOwnProperty(e)},get:function(o,i){var a=r(o);return a.hasOwnProperty(e)?a[e]:i},set:function(o,i){return r(o)[e]=i,i},del:function(o){delete r(o)[e]},getOrSet:function(o,i){return Ee(r(o),e,i)}}})}function Pt(){return L("instance").getOrSet("instanceID",ee)}function Tt(e,n){var t=n.domain,r=$("helloPromises"),o=r.get(e);o&&o.resolve({domain:t});var i=C.resolve({domain:t});return r.set(e,i),i}function Ge(e,n){return(0,n.send)(e,"postrobot_hello",{instanceID:Pt()},{domain:"*",timeout:-1}).then(function(t){var r=t.origin,o=t.data.instanceID;return Tt(e,{domain:r}),{win:e,domain:r,instanceID:o}})}function Ct(e,n){var t=n.send;return $("windowInstanceIDPromises").getOrSet(e,function(){return Ge(e,{send:t}).then(function(r){return r.instanceID})})}function Rt(e){$("knownWindows").set(e,!0)}function Ve(e){return typeof e=="object"&&e!==null&&typeof e.__type__=="string"}function Ot(e){return e===void 0?"undefined":e===null?"null":Array.isArray(e)?"array":typeof e=="function"?"function":typeof e=="object"?e instanceof Error?"error":typeof e.then=="function"?"promise":{}.toString.call(e)==="[object RegExp]"?"regex":{}.toString.call(e)==="[object Date]"?"date":"object":typeof e=="string"?"string":typeof e=="number"?"number":typeof e=="boolean"?"boolean":void 0}function ue(e,n){return{__type__:e,__val__:n}}var V,Un=((V={}).function=function(){},V.error=function(e){return ue("error",{message:e.message,stack:e.stack,code:e.code,data:e.data})},V.promise=function(){},V.regex=function(e){return ue("regex",e.source)},V.date=function(e){return ue("date",e.toJSON())},V.array=function(e){return e},V.object=function(e){return e},V.string=function(e){return e},V.number=function(e){return e},V.boolean=function(e){return e},V.null=function(e){return e},V[void 0]=function(e){return ue("undefined",e)},V),Fn={},J,Hn=((J={}).function=function(){throw new Error("Function serialization is not implemented; nothing to deserialize")},J.error=function(e){var n=e.stack,t=e.code,r=e.data,o=new Error(e.message);return o.code=t,r&&(o.data=r),o.stack=n+`
131
+ @keyframes skeletonFadeOut {
132
+ 0% { opacity: 1; }
133
+ 100% { opacity: 0; }
134
+ }
135
+ `,document.head.appendChild($e)}z.appendChild(oe),z.appendChild(ee),z.appendChild(se),de.appendChild(Pe),de.appendChild(Le),X.appendChild(fe),M.appendChild(X),M.appendChild(de),N.appendChild(z),N.appendChild(M),this.element.appendChild(N)}cleanupExistingSkeleton(){const p=document.getElementById(this.identifier);p&&p.remove()}mount(p){this.cleanupExistingSkeleton(),p.appendChild(this.element)}hide(){this.element.style.animation="skeletonFadeOut 0.2s ease-out forwards",setTimeout(()=>this.element.remove(),200)}}const ze="2.19.0";function ht(l){var m;const p=["actionToken","entityId","context","optionalReconsentBehavior","mandatoryReconsentBehavior"],g=(m=l.isSandbox)!=null?m:!1,c=l.developmentUrl||(g?ci:ai),C=new URLSearchParams;C.set("sdkVersion",ze),p.forEach(w=>{l[w]&&C.set(w,l[w])});const $=C.toString();return`${c}/embed/consents/${l.consentTemplateId}${$?`?${$}`:""}`}class Fe extends xe{constructor(g){super(g);W(this,"defaultIframePrefix","consent-box");W(this,"defaultIframeCSSConfig",St);W(this,"state",{isSelected:!1,actionToken:null});this.Skeleton=Ct}get uniqueIdentifier(){return this.options.consentTemplateId}iframeUrl(){return ht(this.options)}handleStateChange(g){const{isSelected:c,actionToken:C}=g;this.state={isSelected:c,actionToken:C},this.options.onEvent({eventName:"CONSENT_CHECKBOX_CHANGE",isSelected:c,actionToken:C})}setupListeners(){return q(this,null,function*(){yield Yi(Fe.prototype,this,"setupListeners").call(this),di(this.uniqueIdentifier,{onStateChange:this.handleStateChange.bind(this)})})}getState(){return this.state}}function Pt(l){var $,m,w,O;const p=($=l.isSandbox)!=null?$:!1,g=l.developmentUrl||(p?st:ot),c=new URLSearchParams;if(c.set("sdkVersion",ze),l.sessionToken?c.set("sessionToken",l.sessionToken):l.companyId&&c.set("companyId",l.companyId),(m=l.enabledFeatures)!=null&&m.length&&c.set("enabledFeatures",l.enabledFeatures.join(",")),(w=l.enabledRights)!=null&&w.length&&c.set("enabledRights",l.enabledRights.join(",")),(O=l.dataSubjects)!=null&&O.length&&c.set("dataSubjects",l.dataSubjects.join(",")),l.requestReference&&c.set("requestReference",l.requestReference),l.fileRequisites){const N=JSON.stringify(l.fileRequisites);N!=="{}"&&c.set("fileRequisites",N)}l.demo&&c.set("demo","true");const C=c.toString();return`${g}${C?`?${C}`:""}`}class $t extends xe{constructor(){super(...arguments);W(this,"defaultIframePrefix","privacy-center");W(this,"_uniqueIdentifier","privacy-center");W(this,"defaultIframeCSSConfig",ut)}get uniqueIdentifier(){return this._uniqueIdentifier}iframeUrl(){return Pt(this.options)}}const gt=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),mt="WIDGET_EVENT";function vt(l){let p="widget/";return"disclosureRequestId"in l.configProps?p+=["disclosures",l.configProps.disclosureRequestId].join("/"):p+=l.request,p}function yt(l){var $;const p=($=l.isSandbox)!=null?$:!1,g=l.developmentUrl||(p?ci:ai),c=Object.entries(l.configProps).filter(([m,w])=>w||m==="disclosureRequestId").map(([m,w])=>`${m}=${encodeURIComponent(w)}`).join("&"),C=vt(l);return`${g}/${C}?sdk=web&sdkVersion=${ze}&${c}`}let K=null,He=null;function Ue(l=null){K&&!K.closed&&K.focus(),l==null||l.preventDefault()}function Ee(){document.body.style.filter="",document.body.removeEventListener("click",Ue)}function bt(){He=setInterval(()=>{(!K||K.closed)&&(He&&clearInterval(He),Ee())},pt)}function wt(l){const p=yt(l),g=at,c=ct,C=window.screenLeft!==void 0?window.screenLeft:window.screenX,$=window.screenTop!==void 0?window.screenTop:window.screenY,m=window.innerWidth||document.documentElement.clientWidth||window.screen.width,w=window.innerHeight||document.documentElement.clientHeight||window.screen.height,O=m/window.screen.availWidth,N=(m-g)/2/O+C,z=(w-c)/2/O+$,oe=["scrollbars=yes",`width=${g}`,`height=${c}`,`top=${z}`,`left=${N}`].join(","),ee=window.open("about:blank","Soyio",oe);ee?(K=ee,K.location.href=p,document.body.style.filter="blur(5px)",document.body.addEventListener("click",Ue),Ue(),bt()):(Ee(),alert("Debes habilitar las ventanas emergentes para poder iniciar el flujo."))}function It(){K&&(K.close(),K=null),Ee()}let he=null;function Tt(){he&&(he.cancel(),he=null)}function Rt(l){return q(this,null,function*(){const{onEvent:p}=l,g=yield Promise.resolve().then(()=>_e);he&&Tt(),he=g.on(mt,C=>q(null,[C],function*({data:c}){return p(c),ft.includes(c.eventName)?It():c.eventName===dt&&Ee(),Promise.resolve()}))})}function kt(l){Rt(l)}class pi{constructor(p){Vi(this,Ae);W(this,"onEvent");this.onEvent=p.onEvent,x&&(wt(p),kt({onEvent:Ji(this,Ae,Zi).bind(this)}))}}Ae=new WeakSet,Zi=function(p){this.onEvent(p)};const xt={$ref:"#/definitions/SoyioAppearance",$schema:"http://json-schema.org/draft-07/schema#",definitions:JSON.parse(`{"CSSProperties":{"additionalProperties":false,"properties":{"WebkitAppearance":{"type":"string"},"accentColor":{"type":"string"},"alignItems":{"enum":["flex-start","flex-end","center","baseline","stretch"],"type":"string"},"appearance":{"type":"string"},"backgroundColor":{"type":"string"},"border":{"type":"string"},"borderBottom":{"type":"string"},"borderBottomColor":{"type":"string"},"borderBottomLeftRadius":{"type":"string"},"borderBottomRightRadius":{"type":"string"},"borderBottomStyle":{"type":"string"},"borderBottomWidth":{"type":"string"},"borderColor":{"type":"string"},"borderLeft":{"type":"string"},"borderLeftColor":{"type":"string"},"borderLeftStyle":{"type":"string"},"borderLeftWidth":{"type":"string"},"borderRadius":{"type":"string"},"borderRight":{"type":"string"},"borderRightColor":{"type":"string"},"borderRightStyle":{"type":"string"},"borderRightWidth":{"type":"string"},"borderStyle":{"type":"string"},"borderTop":{"type":"string"},"borderTopColor":{"type":"string"},"borderTopLeftRadius":{"type":"string"},"borderTopRightRadius":{"type":"string"},"borderTopStyle":{"type":"string"},"borderTopWidth":{"type":"string"},"borderWidth":{"type":"string"},"bottom":{"type":"string"},"boxShadow":{"type":"string"},"color":{"type":"string"},"cursor":{"type":"string"},"display":{"enum":["block","inline","inline-block","flex","inline-flex","grid","inline-grid","none"],"type":"string"},"fill":{"type":"string"},"fillOpacity":{"type":"number"},"flex":{"type":"string"},"flexDirection":{"enum":["row","row-reverse","column","column-reverse"],"type":"string"},"flexWrap":{"enum":["nowrap","wrap","wrap-reverse"],"type":"string"},"fontFamily":{"type":"string"},"fontSize":{"type":"string"},"fontVariant":{"type":"string"},"fontWeight":{"type":["string","number"]},"gap":{"type":"string"},"height":{"type":"string"},"justifyContent":{"enum":["flex-start","flex-end","center","space-between","space-around","space-evenly"],"type":"string"},"left":{"type":"string"},"letterSpacing":{"type":"string"},"lineHeight":{"type":["string","number"]},"margin":{"type":"string"},"marginBottom":{"type":"string"},"marginLeft":{"type":"string"},"marginRight":{"type":"string"},"marginTop":{"type":"string"},"mozOsxFontSmoothing":{"enum":["auto","grayscale","unset"],"type":"string"},"opacity":{"type":"number"},"outline":{"type":"string"},"outlineOffset":{"type":"string"},"overflow":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"overflowX":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"overflowY":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"padding":{"type":"string"},"paddingBottom":{"type":"string"},"paddingLeft":{"type":"string"},"paddingRight":{"type":"string"},"paddingTop":{"type":"string"},"position":{"enum":["static","relative","absolute","fixed","sticky"],"type":"string"},"right":{"type":"string"},"textAlign":{"enum":["left","right","center","justify"],"type":"string"},"textDecoration":{"type":"string"},"textTransform":{"enum":["none","capitalize","uppercase","lowercase"],"type":"string"},"top":{"type":"string"},"transform":{"type":"string"},"transformOrigin":{"type":"string"},"transition":{"type":"string"},"transitionDelay":{"type":"string"},"transitionDuration":{"type":"string"},"transitionProperty":{"type":"string"},"transitionTimingFunction":{"type":"string"},"visibility":{"enum":["visible","hidden","collapse"],"type":"string"},"webkitFontSmoothing":{"enum":["auto","antialiased","subpixel-antialiased"],"type":"string"},"webkitTextFillColor":{"type":"string"},"whiteSpace":{"enum":["normal","nowrap","pre","pre-wrap","pre-line"],"type":"string"},"width":{"type":"string"},"wordBreak":{"enum":["normal","break-all","keep-all","break-word"],"type":"string"},"zIndex":{"type":["number","string"]}},"type":"object"},"IconWeight":{"enum":["thin","light","regular","bold","fill","duotone"],"type":"string"},"SoyioAppearance":{"additionalProperties":false,"properties":{"config":{"$ref":"#/definitions/SoyioAppearanceConfig"},"rules":{"$ref":"#/definitions/SoyioRule"},"theme":{"$ref":"#/definitions/SoyioTheme"},"variables":{"$ref":"#/definitions/SoyioAppearanceVariables"}},"type":"object"},"SoyioAppearanceConfig":{"additionalProperties":false,"properties":{"brandTheme":{"default":"default","description":"Theme variant for branded elements like the footer.\\n- 'default': Standard Soyio brand colors (purple/indigo)\\n- 'dark': Dark mode with gray tones\\n- 'light': Mono color light version","enum":["default","dark","light"],"type":"string"},"helperTextPosition":{"enum":["top","bottom"],"type":"string"},"hintIcon":{"default":"Question","description":"Icon name to use for hint/help tooltips on input labels. Available icons: 'Question' (default), 'Info', 'QuestionMark', etc.","type":"string"},"icon":{"$ref":"#/definitions/SoyioIconConfig","description":"Global icon appearance configuration. Controls default weight and size for all icons."},"iconRules":{"additionalProperties":{"$ref":"#/definitions/SoyioIconConfig"},"description":"Per-component icon overrides. Allows customizing icon styles for specific components.","type":"object"},"mainPageColumns":{"default":2,"description":"Number of columns in the main page feature cards grid.","enum":[1,2,3,4],"type":"number"}},"type":"object"},"SoyioAppearanceVariables":{"additionalProperties":false,"properties":{"borderRadius":{"type":"string"},"borderStyle":{"type":"string"},"borderWidth":{"type":"string"},"colorBackground":{"type":"string"},"colorBorder":{"type":"string"},"colorBorderMuted":{"type":"string"},"colorDanger":{"type":"string"},"colorDangerBg":{"type":"string"},"colorInfo":{"type":"string"},"colorInfoBg":{"type":"string"},"colorInputErrorFocus":{"type":"string"},"colorInputFocus":{"type":"string"},"colorLink":{"type":"string"},"colorOverlay":{"type":"string"},"colorPrimary":{"type":"string"},"colorPrimarySurface":{"type":"string"},"colorSecondary":{"type":"string"},"colorSelectArrow":{"type":"string"},"colorSuccess":{"type":"string"},"colorSuccessBg":{"type":"string"},"colorSurface":{"type":"string"},"colorSurfaceMuted":{"type":"string"},"colorSurfaceStrong":{"type":"string"},"colorSwitchBorder":{"type":"string"},"colorText":{"type":"string"},"colorTextInverted":{"type":"string"},"colorTextSecondary":{"type":"string"},"colorTextSubtle":{"type":"string"},"colorTextTitle":{"type":"string"},"colorWarning":{"type":"string"},"colorWarningBg":{"type":"string"},"dataUseIconColor":{"type":"string"},"fontFamily":{"type":"string"},"fontFamilyBody":{"type":"string"},"fontFamilyTitle":{"type":"string"},"fontSizeBase":{"type":"string"}},"type":"object"},"SoyioIconConfig":{"additionalProperties":false,"properties":{"dataUseVariant":{"description":"Override variant for data use icons in consent management. If not set, uses the company's configured iconVariant.","enum":["duotone","outline","solid"],"type":"string"},"size":{"default":24,"description":"Default icon size in pixels.","type":"number"},"weight":{"$ref":"#/definitions/IconWeight","default":"regular","description":"Icon weight/style variant.\\n- thin: Thinnest stroke\\n- light: Light stroke\\n- regular: Default stroke (default)\\n- bold: Bold stroke\\n- fill: Filled/solid icons\\n- duotone: Two-tone icons with opacity"}},"type":"object"},"SoyioRule":{"additionalProperties":{"$ref":"#/definitions/CSSProperties"},"properties":{".Alert":{"$ref":"#/definitions/CSSProperties"},".Alert--checked":{"$ref":"#/definitions/CSSProperties"},".Alert--error":{"$ref":"#/definitions/CSSProperties"},".Alert--info":{"$ref":"#/definitions/CSSProperties"},".Alert--success":{"$ref":"#/definitions/CSSProperties"},".Alert--warning":{"$ref":"#/definitions/CSSProperties"},".Alert::placeholder":{"$ref":"#/definitions/CSSProperties"},".Alert::selection":{"$ref":"#/definitions/CSSProperties"},".Alert:active":{"$ref":"#/definitions/CSSProperties"},".Alert:autofill":{"$ref":"#/definitions/CSSProperties"},".Alert:disabled":{"$ref":"#/definitions/CSSProperties"},".Alert:focus":{"$ref":"#/definitions/CSSProperties"},".Alert:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Alert:hover":{"$ref":"#/definitions/CSSProperties"},".AlertContent":{"$ref":"#/definitions/CSSProperties"},".AlertContent--checked":{"$ref":"#/definitions/CSSProperties"},".AlertContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".AlertContent::selection":{"$ref":"#/definitions/CSSProperties"},".AlertContent:active":{"$ref":"#/definitions/CSSProperties"},".AlertContent:autofill":{"$ref":"#/definitions/CSSProperties"},".AlertContent:disabled":{"$ref":"#/definitions/CSSProperties"},".AlertContent:focus":{"$ref":"#/definitions/CSSProperties"},".AlertContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".AlertContent:hover":{"$ref":"#/definitions/CSSProperties"},".AlertIcon":{"$ref":"#/definitions/CSSProperties"},".AlertIcon--checked":{"$ref":"#/definitions/CSSProperties"},".AlertIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".AlertIcon::selection":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:active":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:focus":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:hover":{"$ref":"#/definitions/CSSProperties"},".Button":{"$ref":"#/definitions/CSSProperties"},".Button--checked":{"$ref":"#/definitions/CSSProperties"},".Button::placeholder":{"$ref":"#/definitions/CSSProperties"},".Button::selection":{"$ref":"#/definitions/CSSProperties"},".Button:active":{"$ref":"#/definitions/CSSProperties"},".Button:autofill":{"$ref":"#/definitions/CSSProperties"},".Button:disabled":{"$ref":"#/definitions/CSSProperties"},".Button:focus":{"$ref":"#/definitions/CSSProperties"},".Button:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Button:hover":{"$ref":"#/definitions/CSSProperties"},".Card":{"$ref":"#/definitions/CSSProperties"},".Card--checked":{"$ref":"#/definitions/CSSProperties"},".Card::placeholder":{"$ref":"#/definitions/CSSProperties"},".Card::selection":{"$ref":"#/definitions/CSSProperties"},".Card:active":{"$ref":"#/definitions/CSSProperties"},".Card:autofill":{"$ref":"#/definitions/CSSProperties"},".Card:disabled":{"$ref":"#/definitions/CSSProperties"},".Card:focus":{"$ref":"#/definitions/CSSProperties"},".Card:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Card:hover":{"$ref":"#/definitions/CSSProperties"},".CardTitle":{"$ref":"#/definitions/CSSProperties"},".CardTitle--checked":{"$ref":"#/definitions/CSSProperties"},".CardTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".CardTitle::selection":{"$ref":"#/definitions/CSSProperties"},".CardTitle:active":{"$ref":"#/definitions/CSSProperties"},".CardTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".CardTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".CardTitle:focus":{"$ref":"#/definitions/CSSProperties"},".CardTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CardTitle:hover":{"$ref":"#/definitions/CSSProperties"},".Checkbox":{"$ref":"#/definitions/CSSProperties"},".Checkbox--checked":{"$ref":"#/definitions/CSSProperties"},".Checkbox::placeholder":{"$ref":"#/definitions/CSSProperties"},".Checkbox::selection":{"$ref":"#/definitions/CSSProperties"},".Checkbox:active":{"$ref":"#/definitions/CSSProperties"},".Checkbox:autofill":{"$ref":"#/definitions/CSSProperties"},".Checkbox:disabled":{"$ref":"#/definitions/CSSProperties"},".Checkbox:focus":{"$ref":"#/definitions/CSSProperties"},".Checkbox:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Checkbox:hover":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput--checked":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput::selection":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:active":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:autofill":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:disabled":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:focus":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:hover":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel--checked":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel::placeholder":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel::selection":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:active":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:autofill":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:disabled":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:focus":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:hover":{"$ref":"#/definitions/CSSProperties"},".Chip":{"$ref":"#/definitions/CSSProperties"},".Chip--amber":{"$ref":"#/definitions/CSSProperties"},".Chip--checked":{"$ref":"#/definitions/CSSProperties"},".Chip--green":{"$ref":"#/definitions/CSSProperties"},".Chip--info":{"$ref":"#/definitions/CSSProperties"},".Chip--red":{"$ref":"#/definitions/CSSProperties"},".Chip::placeholder":{"$ref":"#/definitions/CSSProperties"},".Chip::selection":{"$ref":"#/definitions/CSSProperties"},".Chip:active":{"$ref":"#/definitions/CSSProperties"},".Chip:autofill":{"$ref":"#/definitions/CSSProperties"},".Chip:disabled":{"$ref":"#/definitions/CSSProperties"},".Chip:focus":{"$ref":"#/definitions/CSSProperties"},".Chip:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Chip:hover":{"$ref":"#/definitions/CSSProperties"},".Combobox":{"$ref":"#/definitions/CSSProperties"},".Combobox--checked":{"$ref":"#/definitions/CSSProperties"},".Combobox::placeholder":{"$ref":"#/definitions/CSSProperties"},".Combobox::selection":{"$ref":"#/definitions/CSSProperties"},".Combobox:active":{"$ref":"#/definitions/CSSProperties"},".Combobox:autofill":{"$ref":"#/definitions/CSSProperties"},".Combobox:disabled":{"$ref":"#/definitions/CSSProperties"},".Combobox:focus":{"$ref":"#/definitions/CSSProperties"},".Combobox:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Combobox:hover":{"$ref":"#/definitions/CSSProperties"},".Description":{"$ref":"#/definitions/CSSProperties"},".Description--checked":{"$ref":"#/definitions/CSSProperties"},".Description::placeholder":{"$ref":"#/definitions/CSSProperties"},".Description::selection":{"$ref":"#/definitions/CSSProperties"},".Description:active":{"$ref":"#/definitions/CSSProperties"},".Description:autofill":{"$ref":"#/definitions/CSSProperties"},".Description:disabled":{"$ref":"#/definitions/CSSProperties"},".Description:focus":{"$ref":"#/definitions/CSSProperties"},".Description:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Description:hover":{"$ref":"#/definitions/CSSProperties"},".Dialog":{"$ref":"#/definitions/CSSProperties"},".Dialog--checked":{"$ref":"#/definitions/CSSProperties"},".Dialog::placeholder":{"$ref":"#/definitions/CSSProperties"},".Dialog::selection":{"$ref":"#/definitions/CSSProperties"},".Dialog:active":{"$ref":"#/definitions/CSSProperties"},".Dialog:autofill":{"$ref":"#/definitions/CSSProperties"},".Dialog:disabled":{"$ref":"#/definitions/CSSProperties"},".Dialog:focus":{"$ref":"#/definitions/CSSProperties"},".Dialog:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Dialog:hover":{"$ref":"#/definitions/CSSProperties"},".DialogContent":{"$ref":"#/definitions/CSSProperties"},".DialogContent--checked":{"$ref":"#/definitions/CSSProperties"},".DialogContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogContent::selection":{"$ref":"#/definitions/CSSProperties"},".DialogContent:active":{"$ref":"#/definitions/CSSProperties"},".DialogContent:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogContent:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogContent:focus":{"$ref":"#/definitions/CSSProperties"},".DialogContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogContent:hover":{"$ref":"#/definitions/CSSProperties"},".DialogDescription":{"$ref":"#/definitions/CSSProperties"},".DialogDescription--checked":{"$ref":"#/definitions/CSSProperties"},".DialogDescription::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogDescription::selection":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:active":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:focus":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:hover":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay--checked":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay::selection":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:active":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:focus":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:hover":{"$ref":"#/definitions/CSSProperties"},".DialogTitle":{"$ref":"#/definitions/CSSProperties"},".DialogTitle--checked":{"$ref":"#/definitions/CSSProperties"},".DialogTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogTitle::selection":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:active":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:focus":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:hover":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage--checked":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage::placeholder":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage::selection":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:active":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:autofill":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:disabled":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:focus":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:focus-visible":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:hover":{"$ref":"#/definitions/CSSProperties"},".HintIcon":{"$ref":"#/definitions/CSSProperties"},".HintIcon--checked":{"$ref":"#/definitions/CSSProperties"},".HintIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".HintIcon::selection":{"$ref":"#/definitions/CSSProperties"},".HintIcon:active":{"$ref":"#/definitions/CSSProperties"},".HintIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".HintIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".HintIcon:focus":{"$ref":"#/definitions/CSSProperties"},".HintIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".HintIcon:hover":{"$ref":"#/definitions/CSSProperties"},".Input":{"$ref":"#/definitions/CSSProperties"},".Input--checked":{"$ref":"#/definitions/CSSProperties"},".Input--error":{"$ref":"#/definitions/CSSProperties"},".Input::placeholder":{"$ref":"#/definitions/CSSProperties"},".Input::selection":{"$ref":"#/definitions/CSSProperties"},".Input:active":{"$ref":"#/definitions/CSSProperties"},".Input:autofill":{"$ref":"#/definitions/CSSProperties"},".Input:disabled":{"$ref":"#/definitions/CSSProperties"},".Input:focus":{"$ref":"#/definitions/CSSProperties"},".Input:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Input:hover":{"$ref":"#/definitions/CSSProperties"},".Label":{"$ref":"#/definitions/CSSProperties"},".Label--checked":{"$ref":"#/definitions/CSSProperties"},".Label::placeholder":{"$ref":"#/definitions/CSSProperties"},".Label::selection":{"$ref":"#/definitions/CSSProperties"},".Label:active":{"$ref":"#/definitions/CSSProperties"},".Label:autofill":{"$ref":"#/definitions/CSSProperties"},".Label:disabled":{"$ref":"#/definitions/CSSProperties"},".Label:focus":{"$ref":"#/definitions/CSSProperties"},".Label:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Label:hover":{"$ref":"#/definitions/CSSProperties"},".Link":{"$ref":"#/definitions/CSSProperties"},".Link--checked":{"$ref":"#/definitions/CSSProperties"},".Link::placeholder":{"$ref":"#/definitions/CSSProperties"},".Link::selection":{"$ref":"#/definitions/CSSProperties"},".Link:active":{"$ref":"#/definitions/CSSProperties"},".Link:autofill":{"$ref":"#/definitions/CSSProperties"},".Link:disabled":{"$ref":"#/definitions/CSSProperties"},".Link:focus":{"$ref":"#/definitions/CSSProperties"},".Link:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Link:hover":{"$ref":"#/definitions/CSSProperties"},".Loader":{"$ref":"#/definitions/CSSProperties"},".Loader--checked":{"$ref":"#/definitions/CSSProperties"},".Loader::placeholder":{"$ref":"#/definitions/CSSProperties"},".Loader::selection":{"$ref":"#/definitions/CSSProperties"},".Loader:active":{"$ref":"#/definitions/CSSProperties"},".Loader:autofill":{"$ref":"#/definitions/CSSProperties"},".Loader:disabled":{"$ref":"#/definitions/CSSProperties"},".Loader:focus":{"$ref":"#/definitions/CSSProperties"},".Loader:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Loader:hover":{"$ref":"#/definitions/CSSProperties"},".MainContainer":{"$ref":"#/definitions/CSSProperties"},".MainContainer--checked":{"$ref":"#/definitions/CSSProperties"},".MainContainer::placeholder":{"$ref":"#/definitions/CSSProperties"},".MainContainer::selection":{"$ref":"#/definitions/CSSProperties"},".MainContainer:active":{"$ref":"#/definitions/CSSProperties"},".MainContainer:autofill":{"$ref":"#/definitions/CSSProperties"},".MainContainer:disabled":{"$ref":"#/definitions/CSSProperties"},".MainContainer:focus":{"$ref":"#/definitions/CSSProperties"},".MainContainer:focus-visible":{"$ref":"#/definitions/CSSProperties"},".MainContainer:hover":{"$ref":"#/definitions/CSSProperties"},".NinInput":{"$ref":"#/definitions/CSSProperties"},".NinInput--checked":{"$ref":"#/definitions/CSSProperties"},".NinInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".NinInput::selection":{"$ref":"#/definitions/CSSProperties"},".NinInput:active":{"$ref":"#/definitions/CSSProperties"},".NinInput:autofill":{"$ref":"#/definitions/CSSProperties"},".NinInput:disabled":{"$ref":"#/definitions/CSSProperties"},".NinInput:focus":{"$ref":"#/definitions/CSSProperties"},".NinInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".NinInput:hover":{"$ref":"#/definitions/CSSProperties"},".Radio":{"$ref":"#/definitions/CSSProperties"},".Radio--checked":{"$ref":"#/definitions/CSSProperties"},".Radio::placeholder":{"$ref":"#/definitions/CSSProperties"},".Radio::selection":{"$ref":"#/definitions/CSSProperties"},".Radio:active":{"$ref":"#/definitions/CSSProperties"},".Radio:autofill":{"$ref":"#/definitions/CSSProperties"},".Radio:disabled":{"$ref":"#/definitions/CSSProperties"},".Radio:focus":{"$ref":"#/definitions/CSSProperties"},".Radio:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Radio:hover":{"$ref":"#/definitions/CSSProperties"},".RadioButton":{"$ref":"#/definitions/CSSProperties"},".RadioButton--checked":{"$ref":"#/definitions/CSSProperties"},".RadioButton::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioButton::selection":{"$ref":"#/definitions/CSSProperties"},".RadioButton:active":{"$ref":"#/definitions/CSSProperties"},".RadioButton:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioButton:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioButton:focus":{"$ref":"#/definitions/CSSProperties"},".RadioButton:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioButton:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCard":{"$ref":"#/definitions/CSSProperties"},".RadioCard--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCard::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCard::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCard:active":{"$ref":"#/definitions/CSSProperties"},".RadioCard:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCard:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCard:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCard:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCard:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:hover":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:active":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".RadioLabel":{"$ref":"#/definitions/CSSProperties"},".RadioLabel--checked":{"$ref":"#/definitions/CSSProperties"},".RadioLabel::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioLabel::selection":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:active":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:focus":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:hover":{"$ref":"#/definitions/CSSProperties"},".Select":{"$ref":"#/definitions/CSSProperties"},".Select--checked":{"$ref":"#/definitions/CSSProperties"},".Select::placeholder":{"$ref":"#/definitions/CSSProperties"},".Select::selection":{"$ref":"#/definitions/CSSProperties"},".Select:active":{"$ref":"#/definitions/CSSProperties"},".Select:autofill":{"$ref":"#/definitions/CSSProperties"},".Select:disabled":{"$ref":"#/definitions/CSSProperties"},".Select:focus":{"$ref":"#/definitions/CSSProperties"},".Select:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Select:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicator":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--active":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--completed":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--pending":{"$ref":"#/definitions/CSSProperties"},".StepIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--bottom":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--top":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:hover":{"$ref":"#/definitions/CSSProperties"},".StepTitle":{"$ref":"#/definitions/CSSProperties"},".StepTitle--checked":{"$ref":"#/definitions/CSSProperties"},".StepTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepTitle::selection":{"$ref":"#/definitions/CSSProperties"},".StepTitle:active":{"$ref":"#/definitions/CSSProperties"},".StepTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".StepTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".StepTitle:focus":{"$ref":"#/definitions/CSSProperties"},".StepTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepTitle:hover":{"$ref":"#/definitions/CSSProperties"},".Switch":{"$ref":"#/definitions/CSSProperties"},".Switch--checked":{"$ref":"#/definitions/CSSProperties"},".Switch::placeholder":{"$ref":"#/definitions/CSSProperties"},".Switch::selection":{"$ref":"#/definitions/CSSProperties"},".Switch:active":{"$ref":"#/definitions/CSSProperties"},".Switch:autofill":{"$ref":"#/definitions/CSSProperties"},".Switch:disabled":{"$ref":"#/definitions/CSSProperties"},".Switch:focus":{"$ref":"#/definitions/CSSProperties"},".Switch:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Switch:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:active":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:active":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:active":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:hover":{"$ref":"#/definitions/CSSProperties"},".TextArea":{"$ref":"#/definitions/CSSProperties"},".TextArea--checked":{"$ref":"#/definitions/CSSProperties"},".TextArea::placeholder":{"$ref":"#/definitions/CSSProperties"},".TextArea::selection":{"$ref":"#/definitions/CSSProperties"},".TextArea:active":{"$ref":"#/definitions/CSSProperties"},".TextArea:autofill":{"$ref":"#/definitions/CSSProperties"},".TextArea:disabled":{"$ref":"#/definitions/CSSProperties"},".TextArea:focus":{"$ref":"#/definitions/CSSProperties"},".TextArea:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TextArea:hover":{"$ref":"#/definitions/CSSProperties"},".Title":{"$ref":"#/definitions/CSSProperties"},".Title--checked":{"$ref":"#/definitions/CSSProperties"},".Title::placeholder":{"$ref":"#/definitions/CSSProperties"},".Title::selection":{"$ref":"#/definitions/CSSProperties"},".Title:active":{"$ref":"#/definitions/CSSProperties"},".Title:autofill":{"$ref":"#/definitions/CSSProperties"},".Title:disabled":{"$ref":"#/definitions/CSSProperties"},".Title:focus":{"$ref":"#/definitions/CSSProperties"},".Title:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Title:hover":{"$ref":"#/definitions/CSSProperties"},".TooltipContent":{"$ref":"#/definitions/CSSProperties"},".TooltipContent--checked":{"$ref":"#/definitions/CSSProperties"},".TooltipContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".TooltipContent::selection":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:active":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:autofill":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:disabled":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:focus":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:hover":{"$ref":"#/definitions/CSSProperties"}},"type":"object"},"SoyioTheme":{"enum":["soyio","night","flat"],"type":"string"}}`)},Et={$ref:"#/definitions/SoyioWidgetConfig",$schema:"http://json-schema.org/draft-07/schema#",definitions:JSON.parse(`{"CSSProperties":{"additionalProperties":false,"properties":{"WebkitAppearance":{"type":"string"},"accentColor":{"type":"string"},"alignItems":{"enum":["flex-start","flex-end","center","baseline","stretch"],"type":"string"},"appearance":{"type":"string"},"backgroundColor":{"type":"string"},"border":{"type":"string"},"borderBottom":{"type":"string"},"borderBottomColor":{"type":"string"},"borderBottomLeftRadius":{"type":"string"},"borderBottomRightRadius":{"type":"string"},"borderBottomStyle":{"type":"string"},"borderBottomWidth":{"type":"string"},"borderColor":{"type":"string"},"borderLeft":{"type":"string"},"borderLeftColor":{"type":"string"},"borderLeftStyle":{"type":"string"},"borderLeftWidth":{"type":"string"},"borderRadius":{"type":"string"},"borderRight":{"type":"string"},"borderRightColor":{"type":"string"},"borderRightStyle":{"type":"string"},"borderRightWidth":{"type":"string"},"borderStyle":{"type":"string"},"borderTop":{"type":"string"},"borderTopColor":{"type":"string"},"borderTopLeftRadius":{"type":"string"},"borderTopRightRadius":{"type":"string"},"borderTopStyle":{"type":"string"},"borderTopWidth":{"type":"string"},"borderWidth":{"type":"string"},"bottom":{"type":"string"},"boxShadow":{"type":"string"},"color":{"type":"string"},"cursor":{"type":"string"},"display":{"enum":["block","inline","inline-block","flex","inline-flex","grid","inline-grid","none"],"type":"string"},"fill":{"type":"string"},"fillOpacity":{"type":"number"},"flex":{"type":"string"},"flexDirection":{"enum":["row","row-reverse","column","column-reverse"],"type":"string"},"flexWrap":{"enum":["nowrap","wrap","wrap-reverse"],"type":"string"},"fontFamily":{"type":"string"},"fontSize":{"type":"string"},"fontVariant":{"type":"string"},"fontWeight":{"type":["string","number"]},"gap":{"type":"string"},"height":{"type":"string"},"justifyContent":{"enum":["flex-start","flex-end","center","space-between","space-around","space-evenly"],"type":"string"},"left":{"type":"string"},"letterSpacing":{"type":"string"},"lineHeight":{"type":["string","number"]},"margin":{"type":"string"},"marginBottom":{"type":"string"},"marginLeft":{"type":"string"},"marginRight":{"type":"string"},"marginTop":{"type":"string"},"mozOsxFontSmoothing":{"enum":["auto","grayscale","unset"],"type":"string"},"opacity":{"type":"number"},"outline":{"type":"string"},"outlineOffset":{"type":"string"},"overflow":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"overflowX":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"overflowY":{"enum":["visible","hidden","scroll","auto"],"type":"string"},"padding":{"type":"string"},"paddingBottom":{"type":"string"},"paddingLeft":{"type":"string"},"paddingRight":{"type":"string"},"paddingTop":{"type":"string"},"position":{"enum":["static","relative","absolute","fixed","sticky"],"type":"string"},"right":{"type":"string"},"textAlign":{"enum":["left","right","center","justify"],"type":"string"},"textDecoration":{"type":"string"},"textTransform":{"enum":["none","capitalize","uppercase","lowercase"],"type":"string"},"top":{"type":"string"},"transform":{"type":"string"},"transformOrigin":{"type":"string"},"transition":{"type":"string"},"transitionDelay":{"type":"string"},"transitionDuration":{"type":"string"},"transitionProperty":{"type":"string"},"transitionTimingFunction":{"type":"string"},"visibility":{"enum":["visible","hidden","collapse"],"type":"string"},"webkitFontSmoothing":{"enum":["auto","antialiased","subpixel-antialiased"],"type":"string"},"webkitTextFillColor":{"type":"string"},"whiteSpace":{"enum":["normal","nowrap","pre","pre-wrap","pre-line"],"type":"string"},"width":{"type":"string"},"wordBreak":{"enum":["normal","break-all","keep-all","break-word"],"type":"string"},"zIndex":{"type":["number","string"]}},"type":"object"},"ConsentConfig":{"additionalProperties":false,"properties":{"actionToken":{"type":"string"},"appearance":{"$ref":"#/definitions/SoyioAppearance"},"consentTemplateId":{"type":"string"},"context":{"type":"string"},"developmentUrl":{"type":"string"},"entityId":{"type":"string"},"isSandbox":{"type":"boolean"},"mandatoryReconsentBehavior":{"enum":["notice","askAgain"],"type":"string"},"onEvent":{"$comment":"(event: Record<string, unknown>) => void","properties":{"namedArgs":{"additionalProperties":false,"properties":{"event":{"additionalProperties":{},"type":"object"}},"required":["event"],"type":"object"}},"type":"object"},"onReady":{"$comment":"() => void"},"optionalReconsentBehavior":{"enum":["notice","askAgain","hide"],"type":"string"}},"required":["consentTemplateId","onEvent"],"type":"object"},"DataSubject":{"enum":["anonymous_user","citizen_voter","commuter","consultant","customer","employee","job_applicant","next_of_kin","passenger","patient","prospect","shareholder","supplier_vendor","trainee","visitor"],"type":"string"},"IconWeight":{"enum":["thin","light","regular","bold","fill","duotone"],"type":"string"},"PrivacyCenterConfig":{"anyOf":[{"additionalProperties":false,"properties":{"appearance":{"$ref":"#/definitions/SoyioAppearance"},"companyId":{"type":"string"},"dataSubjects":{"items":{"$ref":"#/definitions/DataSubject"},"type":"array"},"demo":{"type":"boolean"},"developmentUrl":{"type":"string"},"enabledFeatures":{"items":{"$ref":"#/definitions/PrivacyManagerFeature"},"type":"array"},"enabledRights":{"items":{"$ref":"#/definitions/PrivacyCenterRight"},"type":"array"},"fileRequisites":{"additionalProperties":false,"properties":{"allowedExtensions":{"items":{"type":"string"},"type":"array"},"maxFileSize":{"type":"number"}},"type":"object"},"isSandbox":{"type":"boolean"},"onEvent":{"$comment":"(event: Record<string, unknown>) => void","properties":{"namedArgs":{"additionalProperties":false,"properties":{"event":{"additionalProperties":{},"type":"object"}},"required":["event"],"type":"object"}},"type":"object"},"onReady":{"$comment":"() => void"},"requestReference":{"type":"string"}},"required":["companyId","onEvent"],"type":"object"},{"additionalProperties":false,"properties":{"appearance":{"$ref":"#/definitions/SoyioAppearance"},"dataSubjects":{"items":{"$ref":"#/definitions/DataSubject"},"type":"array"},"demo":{"type":"boolean"},"developmentUrl":{"type":"string"},"enabledFeatures":{"items":{"$ref":"#/definitions/PrivacyManagerFeature"},"type":"array"},"enabledRights":{"items":{"$ref":"#/definitions/PrivacyCenterRight"},"type":"array"},"fileRequisites":{"additionalProperties":false,"properties":{"allowedExtensions":{"items":{"type":"string"},"type":"array"},"maxFileSize":{"type":"number"}},"type":"object"},"isSandbox":{"type":"boolean"},"onEvent":{"$comment":"(event: Record<string, unknown>) => void","properties":{"namedArgs":{"additionalProperties":false,"properties":{"event":{"additionalProperties":{},"type":"object"}},"required":["event"],"type":"object"}},"type":"object"},"onReady":{"$comment":"() => void"},"requestReference":{"type":"string"},"sessionToken":{"type":"string"}},"required":["onEvent","sessionToken"],"type":"object"}]},"PrivacyCenterRight":{"enum":["arsop","redec"],"type":"string"},"PrivacyManagerFeature":{"enum":["DataSubjectRequest","ConsentManagement","RequestTracking"],"type":"string"},"SoyioAppearance":{"additionalProperties":false,"properties":{"config":{"$ref":"#/definitions/SoyioAppearanceConfig"},"rules":{"$ref":"#/definitions/SoyioRule"},"theme":{"$ref":"#/definitions/SoyioTheme"},"variables":{"$ref":"#/definitions/SoyioAppearanceVariables"}},"type":"object"},"SoyioAppearanceConfig":{"additionalProperties":false,"properties":{"brandTheme":{"default":"default","description":"Theme variant for branded elements like the footer.\\n- 'default': Standard Soyio brand colors (purple/indigo)\\n- 'dark': Dark mode with gray tones\\n- 'light': Mono color light version","enum":["default","dark","light"],"type":"string"},"helperTextPosition":{"enum":["top","bottom"],"type":"string"},"hintIcon":{"default":"Question","description":"Icon name to use for hint/help tooltips on input labels. Available icons: 'Question' (default), 'Info', 'QuestionMark', etc.","type":"string"},"icon":{"$ref":"#/definitions/SoyioIconConfig","description":"Global icon appearance configuration. Controls default weight and size for all icons."},"iconRules":{"additionalProperties":{"$ref":"#/definitions/SoyioIconConfig"},"description":"Per-component icon overrides. Allows customizing icon styles for specific components.","type":"object"},"mainPageColumns":{"default":2,"description":"Number of columns in the main page feature cards grid.","enum":[1,2,3,4],"type":"number"}},"type":"object"},"SoyioAppearanceVariables":{"additionalProperties":false,"properties":{"borderRadius":{"type":"string"},"borderStyle":{"type":"string"},"borderWidth":{"type":"string"},"colorBackground":{"type":"string"},"colorBorder":{"type":"string"},"colorBorderMuted":{"type":"string"},"colorDanger":{"type":"string"},"colorDangerBg":{"type":"string"},"colorInfo":{"type":"string"},"colorInfoBg":{"type":"string"},"colorInputErrorFocus":{"type":"string"},"colorInputFocus":{"type":"string"},"colorLink":{"type":"string"},"colorOverlay":{"type":"string"},"colorPrimary":{"type":"string"},"colorPrimarySurface":{"type":"string"},"colorSecondary":{"type":"string"},"colorSelectArrow":{"type":"string"},"colorSuccess":{"type":"string"},"colorSuccessBg":{"type":"string"},"colorSurface":{"type":"string"},"colorSurfaceMuted":{"type":"string"},"colorSurfaceStrong":{"type":"string"},"colorSwitchBorder":{"type":"string"},"colorText":{"type":"string"},"colorTextInverted":{"type":"string"},"colorTextSecondary":{"type":"string"},"colorTextSubtle":{"type":"string"},"colorTextTitle":{"type":"string"},"colorWarning":{"type":"string"},"colorWarningBg":{"type":"string"},"dataUseIconColor":{"type":"string"},"fontFamily":{"type":"string"},"fontFamilyBody":{"type":"string"},"fontFamilyTitle":{"type":"string"},"fontSizeBase":{"type":"string"}},"type":"object"},"SoyioIconConfig":{"additionalProperties":false,"properties":{"dataUseVariant":{"description":"Override variant for data use icons in consent management. If not set, uses the company's configured iconVariant.","enum":["duotone","outline","solid"],"type":"string"},"size":{"default":24,"description":"Default icon size in pixels.","type":"number"},"weight":{"$ref":"#/definitions/IconWeight","default":"regular","description":"Icon weight/style variant.\\n- thin: Thinnest stroke\\n- light: Light stroke\\n- regular: Default stroke (default)\\n- bold: Bold stroke\\n- fill: Filled/solid icons\\n- duotone: Two-tone icons with opacity"}},"type":"object"},"SoyioRule":{"additionalProperties":{"$ref":"#/definitions/CSSProperties"},"properties":{".Alert":{"$ref":"#/definitions/CSSProperties"},".Alert--checked":{"$ref":"#/definitions/CSSProperties"},".Alert--error":{"$ref":"#/definitions/CSSProperties"},".Alert--info":{"$ref":"#/definitions/CSSProperties"},".Alert--success":{"$ref":"#/definitions/CSSProperties"},".Alert--warning":{"$ref":"#/definitions/CSSProperties"},".Alert::placeholder":{"$ref":"#/definitions/CSSProperties"},".Alert::selection":{"$ref":"#/definitions/CSSProperties"},".Alert:active":{"$ref":"#/definitions/CSSProperties"},".Alert:autofill":{"$ref":"#/definitions/CSSProperties"},".Alert:disabled":{"$ref":"#/definitions/CSSProperties"},".Alert:focus":{"$ref":"#/definitions/CSSProperties"},".Alert:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Alert:hover":{"$ref":"#/definitions/CSSProperties"},".AlertContent":{"$ref":"#/definitions/CSSProperties"},".AlertContent--checked":{"$ref":"#/definitions/CSSProperties"},".AlertContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".AlertContent::selection":{"$ref":"#/definitions/CSSProperties"},".AlertContent:active":{"$ref":"#/definitions/CSSProperties"},".AlertContent:autofill":{"$ref":"#/definitions/CSSProperties"},".AlertContent:disabled":{"$ref":"#/definitions/CSSProperties"},".AlertContent:focus":{"$ref":"#/definitions/CSSProperties"},".AlertContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".AlertContent:hover":{"$ref":"#/definitions/CSSProperties"},".AlertIcon":{"$ref":"#/definitions/CSSProperties"},".AlertIcon--checked":{"$ref":"#/definitions/CSSProperties"},".AlertIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".AlertIcon::selection":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:active":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:focus":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".AlertIcon:hover":{"$ref":"#/definitions/CSSProperties"},".Button":{"$ref":"#/definitions/CSSProperties"},".Button--checked":{"$ref":"#/definitions/CSSProperties"},".Button::placeholder":{"$ref":"#/definitions/CSSProperties"},".Button::selection":{"$ref":"#/definitions/CSSProperties"},".Button:active":{"$ref":"#/definitions/CSSProperties"},".Button:autofill":{"$ref":"#/definitions/CSSProperties"},".Button:disabled":{"$ref":"#/definitions/CSSProperties"},".Button:focus":{"$ref":"#/definitions/CSSProperties"},".Button:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Button:hover":{"$ref":"#/definitions/CSSProperties"},".Card":{"$ref":"#/definitions/CSSProperties"},".Card--checked":{"$ref":"#/definitions/CSSProperties"},".Card::placeholder":{"$ref":"#/definitions/CSSProperties"},".Card::selection":{"$ref":"#/definitions/CSSProperties"},".Card:active":{"$ref":"#/definitions/CSSProperties"},".Card:autofill":{"$ref":"#/definitions/CSSProperties"},".Card:disabled":{"$ref":"#/definitions/CSSProperties"},".Card:focus":{"$ref":"#/definitions/CSSProperties"},".Card:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Card:hover":{"$ref":"#/definitions/CSSProperties"},".CardTitle":{"$ref":"#/definitions/CSSProperties"},".CardTitle--checked":{"$ref":"#/definitions/CSSProperties"},".CardTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".CardTitle::selection":{"$ref":"#/definitions/CSSProperties"},".CardTitle:active":{"$ref":"#/definitions/CSSProperties"},".CardTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".CardTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".CardTitle:focus":{"$ref":"#/definitions/CSSProperties"},".CardTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CardTitle:hover":{"$ref":"#/definitions/CSSProperties"},".Checkbox":{"$ref":"#/definitions/CSSProperties"},".Checkbox--checked":{"$ref":"#/definitions/CSSProperties"},".Checkbox::placeholder":{"$ref":"#/definitions/CSSProperties"},".Checkbox::selection":{"$ref":"#/definitions/CSSProperties"},".Checkbox:active":{"$ref":"#/definitions/CSSProperties"},".Checkbox:autofill":{"$ref":"#/definitions/CSSProperties"},".Checkbox:disabled":{"$ref":"#/definitions/CSSProperties"},".Checkbox:focus":{"$ref":"#/definitions/CSSProperties"},".Checkbox:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Checkbox:hover":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput--checked":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput::selection":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:active":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:autofill":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:disabled":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:focus":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CheckboxInput:hover":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel--checked":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel::placeholder":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel::selection":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:active":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:autofill":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:disabled":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:focus":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:focus-visible":{"$ref":"#/definitions/CSSProperties"},".CheckboxLabel:hover":{"$ref":"#/definitions/CSSProperties"},".Chip":{"$ref":"#/definitions/CSSProperties"},".Chip--amber":{"$ref":"#/definitions/CSSProperties"},".Chip--checked":{"$ref":"#/definitions/CSSProperties"},".Chip--green":{"$ref":"#/definitions/CSSProperties"},".Chip--info":{"$ref":"#/definitions/CSSProperties"},".Chip--red":{"$ref":"#/definitions/CSSProperties"},".Chip::placeholder":{"$ref":"#/definitions/CSSProperties"},".Chip::selection":{"$ref":"#/definitions/CSSProperties"},".Chip:active":{"$ref":"#/definitions/CSSProperties"},".Chip:autofill":{"$ref":"#/definitions/CSSProperties"},".Chip:disabled":{"$ref":"#/definitions/CSSProperties"},".Chip:focus":{"$ref":"#/definitions/CSSProperties"},".Chip:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Chip:hover":{"$ref":"#/definitions/CSSProperties"},".Combobox":{"$ref":"#/definitions/CSSProperties"},".Combobox--checked":{"$ref":"#/definitions/CSSProperties"},".Combobox::placeholder":{"$ref":"#/definitions/CSSProperties"},".Combobox::selection":{"$ref":"#/definitions/CSSProperties"},".Combobox:active":{"$ref":"#/definitions/CSSProperties"},".Combobox:autofill":{"$ref":"#/definitions/CSSProperties"},".Combobox:disabled":{"$ref":"#/definitions/CSSProperties"},".Combobox:focus":{"$ref":"#/definitions/CSSProperties"},".Combobox:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Combobox:hover":{"$ref":"#/definitions/CSSProperties"},".Description":{"$ref":"#/definitions/CSSProperties"},".Description--checked":{"$ref":"#/definitions/CSSProperties"},".Description::placeholder":{"$ref":"#/definitions/CSSProperties"},".Description::selection":{"$ref":"#/definitions/CSSProperties"},".Description:active":{"$ref":"#/definitions/CSSProperties"},".Description:autofill":{"$ref":"#/definitions/CSSProperties"},".Description:disabled":{"$ref":"#/definitions/CSSProperties"},".Description:focus":{"$ref":"#/definitions/CSSProperties"},".Description:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Description:hover":{"$ref":"#/definitions/CSSProperties"},".Dialog":{"$ref":"#/definitions/CSSProperties"},".Dialog--checked":{"$ref":"#/definitions/CSSProperties"},".Dialog::placeholder":{"$ref":"#/definitions/CSSProperties"},".Dialog::selection":{"$ref":"#/definitions/CSSProperties"},".Dialog:active":{"$ref":"#/definitions/CSSProperties"},".Dialog:autofill":{"$ref":"#/definitions/CSSProperties"},".Dialog:disabled":{"$ref":"#/definitions/CSSProperties"},".Dialog:focus":{"$ref":"#/definitions/CSSProperties"},".Dialog:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Dialog:hover":{"$ref":"#/definitions/CSSProperties"},".DialogContent":{"$ref":"#/definitions/CSSProperties"},".DialogContent--checked":{"$ref":"#/definitions/CSSProperties"},".DialogContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogContent::selection":{"$ref":"#/definitions/CSSProperties"},".DialogContent:active":{"$ref":"#/definitions/CSSProperties"},".DialogContent:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogContent:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogContent:focus":{"$ref":"#/definitions/CSSProperties"},".DialogContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogContent:hover":{"$ref":"#/definitions/CSSProperties"},".DialogDescription":{"$ref":"#/definitions/CSSProperties"},".DialogDescription--checked":{"$ref":"#/definitions/CSSProperties"},".DialogDescription::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogDescription::selection":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:active":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:focus":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogDescription:hover":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay--checked":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay::selection":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:active":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:focus":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogOverlay:hover":{"$ref":"#/definitions/CSSProperties"},".DialogTitle":{"$ref":"#/definitions/CSSProperties"},".DialogTitle--checked":{"$ref":"#/definitions/CSSProperties"},".DialogTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".DialogTitle::selection":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:active":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:focus":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".DialogTitle:hover":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage--checked":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage::placeholder":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage::selection":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:active":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:autofill":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:disabled":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:focus":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:focus-visible":{"$ref":"#/definitions/CSSProperties"},".ErrorMessage:hover":{"$ref":"#/definitions/CSSProperties"},".HintIcon":{"$ref":"#/definitions/CSSProperties"},".HintIcon--checked":{"$ref":"#/definitions/CSSProperties"},".HintIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".HintIcon::selection":{"$ref":"#/definitions/CSSProperties"},".HintIcon:active":{"$ref":"#/definitions/CSSProperties"},".HintIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".HintIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".HintIcon:focus":{"$ref":"#/definitions/CSSProperties"},".HintIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".HintIcon:hover":{"$ref":"#/definitions/CSSProperties"},".Input":{"$ref":"#/definitions/CSSProperties"},".Input--checked":{"$ref":"#/definitions/CSSProperties"},".Input--error":{"$ref":"#/definitions/CSSProperties"},".Input::placeholder":{"$ref":"#/definitions/CSSProperties"},".Input::selection":{"$ref":"#/definitions/CSSProperties"},".Input:active":{"$ref":"#/definitions/CSSProperties"},".Input:autofill":{"$ref":"#/definitions/CSSProperties"},".Input:disabled":{"$ref":"#/definitions/CSSProperties"},".Input:focus":{"$ref":"#/definitions/CSSProperties"},".Input:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Input:hover":{"$ref":"#/definitions/CSSProperties"},".Label":{"$ref":"#/definitions/CSSProperties"},".Label--checked":{"$ref":"#/definitions/CSSProperties"},".Label::placeholder":{"$ref":"#/definitions/CSSProperties"},".Label::selection":{"$ref":"#/definitions/CSSProperties"},".Label:active":{"$ref":"#/definitions/CSSProperties"},".Label:autofill":{"$ref":"#/definitions/CSSProperties"},".Label:disabled":{"$ref":"#/definitions/CSSProperties"},".Label:focus":{"$ref":"#/definitions/CSSProperties"},".Label:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Label:hover":{"$ref":"#/definitions/CSSProperties"},".Link":{"$ref":"#/definitions/CSSProperties"},".Link--checked":{"$ref":"#/definitions/CSSProperties"},".Link::placeholder":{"$ref":"#/definitions/CSSProperties"},".Link::selection":{"$ref":"#/definitions/CSSProperties"},".Link:active":{"$ref":"#/definitions/CSSProperties"},".Link:autofill":{"$ref":"#/definitions/CSSProperties"},".Link:disabled":{"$ref":"#/definitions/CSSProperties"},".Link:focus":{"$ref":"#/definitions/CSSProperties"},".Link:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Link:hover":{"$ref":"#/definitions/CSSProperties"},".Loader":{"$ref":"#/definitions/CSSProperties"},".Loader--checked":{"$ref":"#/definitions/CSSProperties"},".Loader::placeholder":{"$ref":"#/definitions/CSSProperties"},".Loader::selection":{"$ref":"#/definitions/CSSProperties"},".Loader:active":{"$ref":"#/definitions/CSSProperties"},".Loader:autofill":{"$ref":"#/definitions/CSSProperties"},".Loader:disabled":{"$ref":"#/definitions/CSSProperties"},".Loader:focus":{"$ref":"#/definitions/CSSProperties"},".Loader:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Loader:hover":{"$ref":"#/definitions/CSSProperties"},".MainContainer":{"$ref":"#/definitions/CSSProperties"},".MainContainer--checked":{"$ref":"#/definitions/CSSProperties"},".MainContainer::placeholder":{"$ref":"#/definitions/CSSProperties"},".MainContainer::selection":{"$ref":"#/definitions/CSSProperties"},".MainContainer:active":{"$ref":"#/definitions/CSSProperties"},".MainContainer:autofill":{"$ref":"#/definitions/CSSProperties"},".MainContainer:disabled":{"$ref":"#/definitions/CSSProperties"},".MainContainer:focus":{"$ref":"#/definitions/CSSProperties"},".MainContainer:focus-visible":{"$ref":"#/definitions/CSSProperties"},".MainContainer:hover":{"$ref":"#/definitions/CSSProperties"},".NinInput":{"$ref":"#/definitions/CSSProperties"},".NinInput--checked":{"$ref":"#/definitions/CSSProperties"},".NinInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".NinInput::selection":{"$ref":"#/definitions/CSSProperties"},".NinInput:active":{"$ref":"#/definitions/CSSProperties"},".NinInput:autofill":{"$ref":"#/definitions/CSSProperties"},".NinInput:disabled":{"$ref":"#/definitions/CSSProperties"},".NinInput:focus":{"$ref":"#/definitions/CSSProperties"},".NinInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".NinInput:hover":{"$ref":"#/definitions/CSSProperties"},".Radio":{"$ref":"#/definitions/CSSProperties"},".Radio--checked":{"$ref":"#/definitions/CSSProperties"},".Radio::placeholder":{"$ref":"#/definitions/CSSProperties"},".Radio::selection":{"$ref":"#/definitions/CSSProperties"},".Radio:active":{"$ref":"#/definitions/CSSProperties"},".Radio:autofill":{"$ref":"#/definitions/CSSProperties"},".Radio:disabled":{"$ref":"#/definitions/CSSProperties"},".Radio:focus":{"$ref":"#/definitions/CSSProperties"},".Radio:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Radio:hover":{"$ref":"#/definitions/CSSProperties"},".RadioButton":{"$ref":"#/definitions/CSSProperties"},".RadioButton--checked":{"$ref":"#/definitions/CSSProperties"},".RadioButton::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioButton::selection":{"$ref":"#/definitions/CSSProperties"},".RadioButton:active":{"$ref":"#/definitions/CSSProperties"},".RadioButton:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioButton:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioButton:focus":{"$ref":"#/definitions/CSSProperties"},".RadioButton:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioButton:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCard":{"$ref":"#/definitions/CSSProperties"},".RadioCard--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCard::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCard::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCard:active":{"$ref":"#/definitions/CSSProperties"},".RadioCard:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCard:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCard:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCard:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCard:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardButton:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle--checked":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle::selection":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:active":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:focus":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioCardTitle:hover":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:active":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".RadioLabel":{"$ref":"#/definitions/CSSProperties"},".RadioLabel--checked":{"$ref":"#/definitions/CSSProperties"},".RadioLabel::placeholder":{"$ref":"#/definitions/CSSProperties"},".RadioLabel::selection":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:active":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:autofill":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:disabled":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:focus":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:focus-visible":{"$ref":"#/definitions/CSSProperties"},".RadioLabel:hover":{"$ref":"#/definitions/CSSProperties"},".Select":{"$ref":"#/definitions/CSSProperties"},".Select--checked":{"$ref":"#/definitions/CSSProperties"},".Select::placeholder":{"$ref":"#/definitions/CSSProperties"},".Select::selection":{"$ref":"#/definitions/CSSProperties"},".Select:active":{"$ref":"#/definitions/CSSProperties"},".Select:autofill":{"$ref":"#/definitions/CSSProperties"},".Select:disabled":{"$ref":"#/definitions/CSSProperties"},".Select:focus":{"$ref":"#/definitions/CSSProperties"},".Select:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Select:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicator":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--active":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--completed":{"$ref":"#/definitions/CSSProperties"},".StepIndicator--pending":{"$ref":"#/definitions/CSSProperties"},".StepIndicator::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicator::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicator:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorContainer:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorDot:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorIcon:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--bottom":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine--top":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorLine:hover":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber--checked":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber::selection":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:active":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:autofill":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:disabled":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:focus":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepIndicatorNumber:hover":{"$ref":"#/definitions/CSSProperties"},".StepTitle":{"$ref":"#/definitions/CSSProperties"},".StepTitle--checked":{"$ref":"#/definitions/CSSProperties"},".StepTitle::placeholder":{"$ref":"#/definitions/CSSProperties"},".StepTitle::selection":{"$ref":"#/definitions/CSSProperties"},".StepTitle:active":{"$ref":"#/definitions/CSSProperties"},".StepTitle:autofill":{"$ref":"#/definitions/CSSProperties"},".StepTitle:disabled":{"$ref":"#/definitions/CSSProperties"},".StepTitle:focus":{"$ref":"#/definitions/CSSProperties"},".StepTitle:focus-visible":{"$ref":"#/definitions/CSSProperties"},".StepTitle:hover":{"$ref":"#/definitions/CSSProperties"},".Switch":{"$ref":"#/definitions/CSSProperties"},".Switch--checked":{"$ref":"#/definitions/CSSProperties"},".Switch::placeholder":{"$ref":"#/definitions/CSSProperties"},".Switch::selection":{"$ref":"#/definitions/CSSProperties"},".Switch:active":{"$ref":"#/definitions/CSSProperties"},".Switch:autofill":{"$ref":"#/definitions/CSSProperties"},".Switch:disabled":{"$ref":"#/definitions/CSSProperties"},".Switch:focus":{"$ref":"#/definitions/CSSProperties"},".Switch:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Switch:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:active":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchIcon:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:active":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchRoot:hover":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb--checked":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb::placeholder":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb::selection":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:active":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:autofill":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:disabled":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:focus":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:focus-visible":{"$ref":"#/definitions/CSSProperties"},".SwitchThumb:hover":{"$ref":"#/definitions/CSSProperties"},".TextArea":{"$ref":"#/definitions/CSSProperties"},".TextArea--checked":{"$ref":"#/definitions/CSSProperties"},".TextArea::placeholder":{"$ref":"#/definitions/CSSProperties"},".TextArea::selection":{"$ref":"#/definitions/CSSProperties"},".TextArea:active":{"$ref":"#/definitions/CSSProperties"},".TextArea:autofill":{"$ref":"#/definitions/CSSProperties"},".TextArea:disabled":{"$ref":"#/definitions/CSSProperties"},".TextArea:focus":{"$ref":"#/definitions/CSSProperties"},".TextArea:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TextArea:hover":{"$ref":"#/definitions/CSSProperties"},".Title":{"$ref":"#/definitions/CSSProperties"},".Title--checked":{"$ref":"#/definitions/CSSProperties"},".Title::placeholder":{"$ref":"#/definitions/CSSProperties"},".Title::selection":{"$ref":"#/definitions/CSSProperties"},".Title:active":{"$ref":"#/definitions/CSSProperties"},".Title:autofill":{"$ref":"#/definitions/CSSProperties"},".Title:disabled":{"$ref":"#/definitions/CSSProperties"},".Title:focus":{"$ref":"#/definitions/CSSProperties"},".Title:focus-visible":{"$ref":"#/definitions/CSSProperties"},".Title:hover":{"$ref":"#/definitions/CSSProperties"},".TooltipContent":{"$ref":"#/definitions/CSSProperties"},".TooltipContent--checked":{"$ref":"#/definitions/CSSProperties"},".TooltipContent::placeholder":{"$ref":"#/definitions/CSSProperties"},".TooltipContent::selection":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:active":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:autofill":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:disabled":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:focus":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TooltipContent:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInput:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputCell:hover":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator--checked":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator::placeholder":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator::selection":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:active":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:autofill":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:disabled":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:focus":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:focus-visible":{"$ref":"#/definitions/CSSProperties"},".TrackingCodeInputSeparator:hover":{"$ref":"#/definitions/CSSProperties"}},"type":"object"},"SoyioTheme":{"enum":["soyio","night","flat"],"type":"string"},"SoyioWidgetConfig":{"anyOf":[{"$ref":"#/definitions/PrivacyCenterConfig"},{"$ref":"#/definitions/ConsentConfig"}],"description":"Combined configuration type for generating the JSON schema. This includes all possible configuration options for both PrivacyCenterBox and ConsentBox."}}`)};function Dt(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var qe={exports:{}},De={exports:{}},At=De.exports,li;function Lt(){return li||(li=1,function(l,p){(function(g,c){l.exports=c()})(typeof self!="undefined"?self:At,function(){return function(g){var c={};function C($){if(c[$])return c[$].exports;var m=c[$]={i:$,l:!1,exports:{}};return g[$].call(m.exports,m,m.exports,C),m.l=!0,m.exports}return C.m=g,C.c=c,C.d=function($,m,w){C.o($,m)||Object.defineProperty($,m,{enumerable:!0,get:w})},C.r=function($){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty($,Symbol.toStringTag,{value:"Module"}),Object.defineProperty($,"__esModule",{value:!0})},C.t=function($,m){if(1&m&&($=C($)),8&m||4&m&&typeof $=="object"&&$&&$.__esModule)return $;var w=Object.create(null);if(C.r(w),Object.defineProperty(w,"default",{enumerable:!0,value:$}),2&m&&typeof $!="string")for(var O in $)C.d(w,O,function(N){return $[N]}.bind(null,O));return w},C.n=function($){var m=$&&$.__esModule?function(){return $.default}:function(){return $};return C.d(m,"a",m),m},C.o=function($,m){return{}.hasOwnProperty.call($,m)},C.p="",C(C.s=0)}([function(g,c,C){C.r(c),C.d(c,"Promise",function(){return k}),C.d(c,"TYPES",function(){return er}),C.d(c,"ProxyWindow",function(){return Y}),C.d(c,"setup",function(){return Ui}),C.d(c,"destroy",function(){return Kt}),C.d(c,"serializeMessage",function(){return Yt}),C.d(c,"deserializeMessage",function(){return Zt}),C.d(c,"createProxyWindow",function(){return Qt}),C.d(c,"toProxyWindow",function(){return Xt}),C.d(c,"on",function(){return le}),C.d(c,"once",function(){return Jt}),C.d(c,"send",function(){return re}),C.d(c,"markWindowKnown",function(){return Di}),C.d(c,"cleanUpWindow",function(){return ir}),C.d(c,"bridge",function(){});function $(e){return{}.toString.call(e)==="[object RegExp]"}var m=`Call was rejected by callee.\r
136
+ `;function w(e){return e===void 0&&(e=window),e.location.protocol}function O(e){if(e===void 0&&(e=window),e.mockDomain){var t=e.mockDomain.split("//")[0];if(t)return t}return w(e)}function N(e){return e===void 0&&(e=window),O(e)==="about:"}function z(e){if(e===void 0&&(e=window),e)try{if(e.parent&&e.parent!==e)return e.parent}catch(t){}}function oe(e){if(e===void 0&&(e=window),e&&!z(e))try{return e.opener}catch(t){}}function ee(e){try{return!0}catch(t){}return!1}function se(e){e===void 0&&(e=window);var t=e.location;if(!t)throw new Error("Can not read window location");var i=w(e);if(!i)throw new Error("Can not read window protocol");if(i==="file:")return"file://";if(i==="about:"){var r=z(e);return r&&ee()?se(r):"about://"}var n=t.host;if(!n)throw new Error("Can not read window host");return i+"//"+n}function M(e){e===void 0&&(e=window);var t=se(e);return t&&e.mockDomain&&e.mockDomain.indexOf("mock:")===0?e.mockDomain:t}function X(e){if(!function(t){try{if(t===window)return!0}catch(r){}try{var i=Object.getOwnPropertyDescriptor(t,"location");if(i&&i.enumerable===!1)return!1}catch(r){}try{if(N(t)&&ee())return!0}catch(r){}try{if(function(r){return r===void 0&&(r=window),O(r)==="mock:"}(t)&&ee())return!0}catch(r){}try{if(se(t)===se(window))return!0}catch(r){}return!1}(e))return!1;try{if(e===window||N(e)&&ee()||M(window)===M(e))return!0}catch(t){}return!1}function fe(e){if(!X(e))throw new Error("Expected window to be same domain");return e}function de(e,t){if(!e||!t)return!1;var i=z(t);return i?i===e:function(r){var n=[];try{for(;r.parent!==r;)n.push(r.parent),r=r.parent}catch(o){}return n}(t).indexOf(e)!==-1}function Pe(e){var t=[],i;try{i=e.frames}catch(d){i=e}var r;try{r=i.length}catch(d){}if(r===0)return t;if(r){for(var n=0;n<r;n++){var o=void 0;try{o=i[n]}catch(d){continue}t.push(o)}return t}for(var s=0;s<100;s++){var a=void 0;try{a=i[s]}catch(d){return t}if(!a)return t;t.push(a)}return t}var Le=[],$e=[];function Z(e,t){t===void 0&&(t=!0);try{if(e===window)return!1}catch(n){return!0}try{if(!e)return!0}catch(n){return!0}try{if(e.closed)return!0}catch(n){return!n||n.message!==m}if(t&&X(e))try{if(e.mockclosed)return!0}catch(n){}try{if(!e.parent||!e.top)return!0}catch(n){}var i=function(n,o){for(var s=0;s<n.length;s++)try{if(n[s]===o)return s}catch(a){}return-1}(Le,e);if(i!==-1){var r=$e[i];if(r&&function(n){if(!n.contentWindow||!n.parentNode)return!0;var o=n.ownerDocument;if(o&&o.documentElement&&!o.documentElement.contains(n)){for(var s=n;s.parentNode&&s.parentNode!==s;)s=s.parentNode;if(!s.host||!o.documentElement.contains(s.host))return!0}return!1}(r))return!0}return!1}function Ci(e){return e===void 0&&(e=window),oe(e=e||window)||z(e)||void 0}function Se(e,t){if(typeof e=="string"){if(typeof t=="string")return e==="*"||t===e;if($(t)||Array.isArray(t))return!1}return $(e)?$(t)?e.toString()===t.toString():!Array.isArray(t)&&!!t.match(e):!!Array.isArray(e)&&(Array.isArray(t)?JSON.stringify(e)===JSON.stringify(t):!$(t)&&e.some(function(i){return Se(i,t)}))}function We(e){try{if(e===window)return!0}catch(t){if(t&&t.message===m)return!0}try{if({}.toString.call(e)==="[object Window]")return!0}catch(t){if(t&&t.message===m)return!0}try{if(window.Window&&e instanceof window.Window)return!0}catch(t){if(t&&t.message===m)return!0}try{if(e&&e.self===e)return!0}catch(t){if(t&&t.message===m)return!0}try{if(e&&e.parent===e)return!0}catch(t){if(t&&t.message===m)return!0}try{if(e&&e.top===e)return!0}catch(t){if(t&&t.message===m)return!0}try{if(e&&e.__cross_domain_utils_window_check__==="__unlikely_value__")return!1}catch(t){return!0}try{if("postMessage"in e&&"self"in e&&"location"in e)return!0}catch(t){}return!1}function hi(e){if(X(e))return fe(e).frameElement;for(var t=0,i=document.querySelectorAll("iframe");t<i.length;t++){var r=i[t];if(r&&r.contentWindow&&r.contentWindow===e)return r}}function Ot(e){if(function(i){return i===void 0&&(i=window),!!z(i)}(e)){var t=hi(e);if(t&&t.parentElement){t.parentElement.removeChild(t);return}}try{e.close()}catch(i){}}function ae(e){try{if(!e)return!1;if(typeof Promise!="undefined"&&e instanceof Promise)return!0;if(typeof window!="undefined"&&typeof window.Window=="function"&&e instanceof window.Window||typeof window!="undefined"&&typeof window.constructor=="function"&&e instanceof window.constructor)return!1;var t={}.toString;if(t){var i=t.call(e);if(i==="[object Window]"||i==="[object global]"||i==="[object DOMWindow]")return!1}if(typeof e.then=="function")return!0}catch(r){return!1}return!1}var Pi=[],ge=[],Ge=0,me;function $i(){if(!Ge&&me){var e=me;me=null,e.resolve()}}function Ve(){Ge+=1}function ve(){Ge-=1,$i()}var k=function(){function e(i){var r=this;if(this.resolved=void 0,this.rejected=void 0,this.errorHandled=void 0,this.value=void 0,this.error=void 0,this.handlers=void 0,this.dispatching=void 0,this.stack=void 0,this.resolved=!1,this.rejected=!1,this.errorHandled=!1,this.handlers=[],i){var n,o,s=!1,a=!1,d=!1;Ve();try{i(function(f){d?r.resolve(f):(s=!0,n=f)},function(f){d?r.reject(f):(a=!0,o=f)})}catch(f){ve(),this.reject(f);return}ve(),d=!0,s?this.resolve(n):a&&this.reject(o)}}var t=e.prototype;return t.resolve=function(i){if(this.resolved||this.rejected)return this;if(ae(i))throw new Error("Can not resolve promise with another promise");return this.resolved=!0,this.value=i,this.dispatch(),this},t.reject=function(i){var r=this;if(this.resolved||this.rejected)return this;if(ae(i))throw new Error("Can not reject promise with another promise");if(!i){var n=i&&typeof i.toString=="function"?i.toString():{}.toString.call(i);i=new Error("Expected reject to be called with Error, got "+n)}return this.rejected=!0,this.error=i,this.errorHandled||setTimeout(function(){r.errorHandled||function(o,s){if(Pi.indexOf(o)===-1){Pi.push(o),setTimeout(function(){throw o},1);for(var a=0;a<ge.length;a++)ge[a](o,s)}}(i,r)},1),this.dispatch(),this},t.asyncReject=function(i){return this.errorHandled=!0,this.reject(i),this},t.dispatch=function(){var i=this.resolved,r=this.rejected,n=this.handlers;if(!this.dispatching&&(i||r)){this.dispatching=!0,Ve();for(var o=function(P,I){return P.then(function(y){I.resolve(y)},function(y){I.reject(y)})},s=0;s<n.length;s++){var a=n[s],d=a.onSuccess,f=a.onError,h=a.promise,S=void 0;if(i)try{S=d?d(this.value):this.value}catch(P){h.reject(P);continue}else if(r){if(!f){h.reject(this.error);continue}try{S=f(this.error)}catch(P){h.reject(P);continue}}if(S instanceof e&&(S.resolved||S.rejected)){var u=S;u.resolved?h.resolve(u.value):h.reject(u.error),u.errorHandled=!0}else ae(S)?S instanceof e&&(S.resolved||S.rejected)?S.resolved?h.resolve(S.value):h.reject(S.error):o(S,h):h.resolve(S)}n.length=0,this.dispatching=!1,ve()}},t.then=function(i,r){if(i&&typeof i!="function"&&!i.call)throw new Error("Promise.then expected a function for success handler");if(r&&typeof r!="function"&&!r.call)throw new Error("Promise.then expected a function for error handler");var n=new e;return this.handlers.push({promise:n,onSuccess:i,onError:r}),this.errorHandled=!0,this.dispatch(),n},t.catch=function(i){return this.then(void 0,i)},t.finally=function(i){if(i&&typeof i!="function"&&!i.call)throw new Error("Promise.finally expected a function");return this.then(function(r){return e.try(i).then(function(){return r})},function(r){return e.try(i).then(function(){throw r})})},t.timeout=function(i,r){var n=this;if(this.resolved||this.rejected)return this;var o=setTimeout(function(){n.resolved||n.rejected||n.reject(r||new Error("Promise timed out after "+i+"ms"))},i);return this.then(function(s){return clearTimeout(o),s})},t.toPromise=function(){if(typeof Promise=="undefined")throw new TypeError("Could not find Promise");return Promise.resolve(this)},t.lazy=function(){return this.errorHandled=!0,this},e.resolve=function(i){return i instanceof e?i:ae(i)?new e(function(r,n){return i.then(r,n)}):new e().resolve(i)},e.reject=function(i){return new e().reject(i)},e.asyncReject=function(i){return new e().asyncReject(i)},e.all=function(i){var r=new e,n=i.length,o=[].slice();if(!n)return r.resolve(o),r;for(var s=function(f,h,S){return h.then(function(u){o[f]=u,(n-=1)==0&&r.resolve(o)},function(u){S.reject(u)})},a=0;a<i.length;a++){var d=i[a];if(d instanceof e){if(d.resolved){o[a]=d.value,n-=1;continue}}else if(!ae(d)){o[a]=d,n-=1;continue}s(a,e.resolve(d),r)}return n===0&&r.resolve(o),r},e.hash=function(i){var r={},n=[],o=function(a){if(i.hasOwnProperty(a)){var d=i[a];ae(d)?n.push(d.then(function(f){r[a]=f})):r[a]=d}};for(var s in i)o(s);return e.all(n).then(function(){return r})},e.map=function(i,r){return e.all(i.map(r))},e.onPossiblyUnhandledException=function(i){return function(r){return ge.push(r),{cancel:function(){ge.splice(ge.indexOf(r),1)}}}(i)},e.try=function(i,r,n){if(i&&typeof i!="function"&&!i.call)throw new Error("Promise.try expected a function");var o;Ve();try{o=i.apply(r,n||[])}catch(s){return ve(),e.reject(s)}return ve(),e.resolve(o)},e.delay=function(i){return new e(function(r){setTimeout(r,i)})},e.isPromise=function(i){return!!(i&&i instanceof e)||ae(i)},e.flush=function(){return function(i){var r=me=me||new i;return $i(),r}(e)},e}();function Oe(e,t){for(var i=0;i<e.length;i++)try{if(e[i]===t)return i}catch(r){}return-1}var Je=function(){function e(){if(this.name=void 0,this.weakmap=void 0,this.keys=void 0,this.values=void 0,this.name="__weakmap_"+(1e9*Math.random()>>>0)+"__",function(){if(typeof WeakMap=="undefined"||Object.freeze===void 0)return!1;try{var i=new WeakMap,r={};return Object.freeze(r),i.set(r,"__testvalue__"),i.get(r)==="__testvalue__"}catch(n){return!1}}())try{this.weakmap=new WeakMap}catch(i){}this.keys=[],this.values=[]}var t=e.prototype;return t._cleanupClosedWindows=function(){for(var i=this.weakmap,r=this.keys,n=0;n<r.length;n++){var o=r[n];if(We(o)&&Z(o)){if(i)try{i.delete(o)}catch(s){}r.splice(n,1),this.values.splice(n,1),n-=1}}},t.isSafeToReadWrite=function(i){return!We(i)},t.set=function(i,r){if(!i)throw new Error("WeakMap expected key");var n=this.weakmap;if(n)try{n.set(i,r)}catch(h){delete this.weakmap}if(this.isSafeToReadWrite(i))try{var o=this.name,s=i[o];s&&s[0]===i?s[1]=r:Object.defineProperty(i,o,{value:[i,r],writable:!0});return}catch(h){}this._cleanupClosedWindows();var a=this.keys,d=this.values,f=Oe(a,i);f===-1?(a.push(i),d.push(r)):d[f]=r},t.get=function(i){if(!i)throw new Error("WeakMap expected key");var r=this.weakmap;if(r)try{if(r.has(i))return r.get(i)}catch(s){delete this.weakmap}if(this.isSafeToReadWrite(i))try{var n=i[this.name];return n&&n[0]===i?n[1]:void 0}catch(s){}this._cleanupClosedWindows();var o=Oe(this.keys,i);if(o!==-1)return this.values[o]},t.delete=function(i){if(!i)throw new Error("WeakMap expected key");var r=this.weakmap;if(r)try{r.delete(i)}catch(a){delete this.weakmap}if(this.isSafeToReadWrite(i))try{var n=i[this.name];n&&n[0]===i&&(n[0]=n[1]=void 0)}catch(a){}this._cleanupClosedWindows();var o=this.keys,s=Oe(o,i);s!==-1&&(o.splice(s,1),this.values.splice(s,1))},t.has=function(i){if(!i)throw new Error("WeakMap expected key");var r=this.weakmap;if(r)try{if(r.has(i))return!0}catch(o){delete this.weakmap}if(this.isSafeToReadWrite(i))try{var n=i[this.name];return!(!n||n[0]!==i)}catch(o){}return this._cleanupClosedWindows(),Oe(this.keys,i)!==-1},t.getOrSet=function(i,r){if(this.has(i))return this.get(i);var n=r();return this.set(i,n),n},e}();function gi(e){return e.name||e.__name__||e.displayName||"anonymous"}function mi(e,t){try{delete e.name,e.name=t}catch(i){}return e.__name__=e.displayName=t,e}function ie(){var e="0123456789abcdef";return"uid_"+"xxxxxxxxxx".replace(/./g,function(){return e.charAt(Math.floor(Math.random()*e.length))})+"_"+function(t){if(typeof btoa=="function")return btoa(encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,function(i,r){return String.fromCharCode(parseInt(r,16))})).replace(/[=]/g,"");if(typeof Buffer!="undefined")return Buffer.from(t,"utf8").toString("base64").replace(/[=]/g,"");throw new Error("Can not find window.btoa or Buffer")}(new Date().toISOString().slice(11,19).replace("T",".")).replace(/[^a-zA-Z0-9]/g,"").toLowerCase()}var Ne;function vi(e){try{return JSON.stringify([].slice.call(e),function(t,i){return typeof i=="function"?"memoize["+function(r){if(Ne=Ne||new Je,r==null||typeof r!="object"&&typeof r!="function")throw new Error("Invalid object");var n=Ne.get(r);return n||(n=typeof r+":"+ie(),Ne.set(r,n)),n}(i)+"]":typeof window!="undefined"&&i instanceof window.Element||i!==null&&typeof i=="object"&&i.nodeType===1&&typeof i.style=="object"&&typeof i.ownerDocument=="object"?{}:i})}catch(t){throw new Error("Arguments not serializable -- can not be used to memoize")}}function Nt(){return{}}var ye=0,yi=0;function be(e,t){t===void 0&&(t={});var i=t.thisNamespace,r=i!==void 0&&i,n=t.time,o,s,a=ye;ye+=1;var d=function(){for(var f=arguments.length,h=new Array(f),S=0;S<f;S++)h[S]=arguments[S];a<yi&&(o=null,s=null,a=ye,ye+=1);var u;u=r?(s=s||new Je).getOrSet(this,Nt):o=o||{};var P;try{P=vi(h)}catch(E){return e.apply(this,arguments)}var I=u[P];if(I&&n&&Date.now()-I.time<n&&(delete u[P],I=null),I)return I.value;var y=Date.now(),b=e.apply(this,arguments);return u[P]={time:y,value:b},b};return d.reset=function(){o=null,s=null},mi(d,(t.name||gi(e))+"::memoized")}be.clear=function(){yi=ye};function Bt(e){var t={};function i(){for(var r=arguments,n=this,o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];var d=vi(s);return t.hasOwnProperty(d)||(t[d]=k.try(function(){return e.apply(n,r)}).finally(function(){delete t[d]})),t[d]}return i.reset=function(){t={}},mi(i,gi(e)+"::promiseMemoized")}function ce(){}function we(e,t){if(t===void 0&&(t=1),t>=3)return"stringifyError stack overflow";try{if(!e)return"<unknown error: "+{}.toString.call(e)+">";if(typeof e=="string")return e;if(e instanceof Error){var i=e&&e.stack,r=e&&e.message;if(i&&r)return i.indexOf(r)!==-1?i:r+`
137
+ `+i;if(i)return i;if(r)return r}return e&&e.toString&&typeof e.toString=="function"?e.toString():{}.toString.call(e)}catch(n){return"Error while stringifying error: "+we(n,t+1)}}function bi(e){return typeof e=="string"?e:e.toString&&typeof e.toString=="function"?e.toString():{}.toString.call(e)}be(function(e){if(Object.values)return Object.values(e);var t=[];for(var i in e)e.hasOwnProperty(i)&&t.push(e[i]);return t});function Ye(e){return{}.toString.call(e)==="[object RegExp]"}function Ie(e,t,i){if(e.hasOwnProperty(t))return e[t];var r=i();return e[t]=r,r}function wi(){var e=document.body;if(!e)throw new Error("Body element not found");return e}function Ii(){return!!document.body&&document.readyState==="complete"}function Ti(){return!!document.body&&document.readyState==="interactive"}be(function(){return new k(function(e){if(Ii()||Ti())return e();var t=setInterval(function(){if(Ii()||Ti())return clearInterval(t),e()},10)})});var Be=typeof document!="undefined"?document.currentScript:null,Mt=be(function(){if(Be||(Be=function(){try{var e=function(){try{throw new Error("_")}catch(s){return s.stack||""}}(),t=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e),i=t&&t[1];if(!i)return;for(var r=0,n=[].slice.call(document.getElementsByTagName("script")).reverse();r<n.length;r++){var o=n[r];if(o.src&&o.src===i)return o}}catch(s){}}()))return Be;throw new Error("Can not determine current script")}),jt=ie();be(function(){var e;try{e=Mt()}catch(r){return jt}var t=e.getAttribute("data-uid");if(t&&typeof t=="string"||(t=e.getAttribute("data-uid-auto"))&&typeof t=="string")return t;if(e.src){var i=function(r){for(var n="",o=0;o<r.length;o++){var s=r[o].charCodeAt(0)*o;r[o+1]&&(s+=r[o+1].charCodeAt(0)*(o-1)),n+=String.fromCharCode(97+Math.abs(s)%26)}return n}(JSON.stringify({src:e.src,dataset:e.dataset}));t="uid_"+i.slice(i.length-30)}else t=ie();return e.setAttribute("data-uid-auto",t),t});function Te(e){e===void 0&&(e=window);var t="__post_robot_10_0_46__";return e!==window?e[t]:e[t]=e[t]||{}}var Ri=function(){return{}};function F(e,t){return e===void 0&&(e="store"),t===void 0&&(t=Ri),Ie(Te(),e,function(){var i=t();return{has:function(r){return i.hasOwnProperty(r)},get:function(r,n){return i.hasOwnProperty(r)?i[r]:n},set:function(r,n){return i[r]=n,n},del:function(r){delete i[r]},getOrSet:function(r,n){return Ie(i,r,n)},reset:function(){i=t()},keys:function(){return Object.keys(i)}}})}var zt=function(){};function Me(){var e=Te();return e.WINDOW_WILDCARD=e.WINDOW_WILDCARD||new zt,e.WINDOW_WILDCARD}function G(e,t){return e===void 0&&(e="store"),t===void 0&&(t=Ri),F("windowStore").getOrSet(e,function(){var i=new Je,r=function(n){return i.getOrSet(n,t)};return{has:function(n){return r(n).hasOwnProperty(e)},get:function(n,o){var s=r(n);return s.hasOwnProperty(e)?s[e]:o},set:function(n,o){return r(n)[e]=o,o},del:function(n){delete r(n)[e]},getOrSet:function(n,o){return Ie(r(n),e,o)}}})}function ki(){return F("instance").getOrSet("instanceID",ie)}function xi(e,t){var i=t.domain,r=G("helloPromises"),n=r.get(e);n&&n.resolve({domain:i});var o=k.resolve({domain:i});return r.set(e,o),o}function Ze(e,t){return(0,t.send)(e,"postrobot_hello",{instanceID:ki()},{domain:"*",timeout:-1}).then(function(i){var r=i.origin,n=i.data.instanceID;return xi(e,{domain:r}),{win:e,domain:r,instanceID:n}})}function Ei(e,t){var i=t.send;return G("windowInstanceIDPromises").getOrSet(e,function(){return Ze(e,{send:i}).then(function(r){return r.instanceID})})}function Di(e){G("knownWindows").set(e,!0)}function Qe(e){return typeof e=="object"&&e!==null&&typeof e.__type__=="string"}function Ai(e){return e===void 0?"undefined":e===null?"null":Array.isArray(e)?"array":typeof e=="function"?"function":typeof e=="object"?e instanceof Error?"error":typeof e.then=="function"?"promise":{}.toString.call(e)==="[object RegExp]"?"regex":{}.toString.call(e)==="[object Date]"?"date":"object":typeof e=="string"?"string":typeof e=="number"?"number":typeof e=="boolean"?"boolean":void 0}function pe(e,t){return{__type__:e,__val__:t}}var V,Ft=((V={}).function=function(){},V.error=function(e){return pe("error",{message:e.message,stack:e.stack,code:e.code,data:e.data})},V.promise=function(){},V.regex=function(e){return pe("regex",e.source)},V.date=function(e){return pe("date",e.toJSON())},V.array=function(e){return e},V.object=function(e){return e},V.string=function(e){return e},V.number=function(e){return e},V.boolean=function(e){return e},V.null=function(e){return e},V[void 0]=function(e){return pe("undefined",e)},V),Ht={},J,Ut=((J={}).function=function(){throw new Error("Function serialization is not implemented; nothing to deserialize")},J.error=function(e){var t=e.stack,i=e.code,r=e.data,n=new Error(e.message);return n.code=i,r&&(n.data=r),n.stack=t+`
127
138
 
128
- `+o.stack,o},J.promise=function(){throw new Error("Promise serialization is not implemented; nothing to deserialize")},J.regex=function(e){return new RegExp(e)},J.date=function(e){return new Date(e)},J.array=function(e){return e},J.object=function(e){return e},J.string=function(e){return e},J.number=function(e){return e},J.boolean=function(e){return e},J.null=function(e){return e},J[void 0]=function(){},J),qn={};new C(function(e){if(window.document&&window.document.body)return e(window.document.body);var n=setInterval(function(){if(window.document&&window.document.body)return clearInterval(n),e(window.document.body)},10)});function Je(){for(var e=L("idToProxyWindow"),n=0,t=e.keys();n<t.length;n++){var r=t[n];e.get(r).shouldClean()&&e.del(r)}}function At(e,n){var t=n.send,r=n.id,o=r===void 0?ee():r,i=e.then(function(u){if(ie(u))return Ce(u).name}),a=e.then(function(u){if(Z(u))throw new Error("Window is closed, can not determine type");return oe(u)?"popup":"iframe"});i.catch(se),a.catch(se);var c=function(){return e.then(function(u){if(!Z(u))return ie(u)?Ce(u).name:i})};return{id:o,getType:function(){return a},getInstanceID:Mn(function(){return e.then(function(u){return Ct(u,{send:t})})}),close:function(){return e.then(Dn)},getName:c,focus:function(){return e.then(function(u){u.focus()})},isClosed:function(){return e.then(function(u){return Z(u)})},setLocation:function(u,s){return s===void 0&&(s={}),e.then(function(p){var h=window.location.protocol+"//"+window.location.host,m=s.method,w=m===void 0?"get":m,x=s.body;if(u.indexOf("/")===0)u=""+h+u;else if(!u.match(/^https?:\/\//)&&u.indexOf(h)!==0)throw new Error("Expected url to be http or https url, or absolute path, got "+JSON.stringify(u));if(w==="post")return c().then(function(S){if(!S)throw new Error("Can not post to window without target name");(function(b){var O=b.url,z=b.target,N=b.body,A=b.method,k=A===void 0?"post":A,P=document.createElement("form");if(P.setAttribute("target",z),P.setAttribute("method",k),P.setAttribute("action",O),P.style.display="none",N)for(var D=0,K=Object.keys(N);D<K.length;D++){var M,be=K[D],Xe=document.createElement("input");Xe.setAttribute("name",be),Xe.setAttribute("value",(M=N[be])==null?void 0:M.toString()),P.appendChild(Xe)}bt().appendChild(P),P.submit(),bt().removeChild(P)})({url:u,target:S,method:w,body:x})});if(w!=="get")throw new Error("Unsupported method: "+w);if(ie(p))try{if(p.location&&typeof p.location.replace=="function"){p.location.replace(u);return}}catch(S){}p.location=u})},setName:function(u){return e.then(function(s){var p=ie(s),h=mt(s);if(!p)throw new Error("Can not set name for cross-domain window: "+u);Ce(s).name=u,h&&h.setAttribute("name",u),i=C.resolve(u)})}}}var Y=function(){function e(t){var r=t.send,o=t.win,i=t.serializedWindow;this.id=void 0,this.isProxyWindow=!0,this.serializedWindow=void 0,this.actualWindow=void 0,this.actualWindowPromise=void 0,this.send=void 0,this.name=void 0,this.actualWindowPromise=new C,this.serializedWindow=i||At(this.actualWindowPromise,{send:r}),L("idToProxyWindow").set(this.getID(),this),o&&this.setWindow(o,{send:r})}var n=e.prototype;return n.getID=function(){return this.serializedWindow.id},n.getType=function(){return this.serializedWindow.getType()},n.isPopup=function(){return this.getType().then(function(t){return t==="popup"})},n.setLocation=function(t,r){var o=this;return this.serializedWindow.setLocation(t,r).then(function(){return o})},n.getName=function(){return this.serializedWindow.getName()},n.setName=function(t){var r=this;return this.serializedWindow.setName(t).then(function(){return r})},n.close=function(){var t=this;return this.serializedWindow.close().then(function(){return t})},n.focus=function(){var t=this,r=this.isPopup(),o=this.getName(),i=C.hash({isPopup:r,name:o}).then(function(c){var u=c.name;c.isPopup&&u&&window.open("",u,"noopener")}),a=this.serializedWindow.focus();return C.all([i,a]).then(function(){return t})},n.isClosed=function(){return this.serializedWindow.isClosed()},n.getWindow=function(){return this.actualWindow},n.setWindow=function(t,r){var o=r.send;this.actualWindow=t,this.actualWindowPromise.resolve(this.actualWindow),this.serializedWindow=At(this.actualWindowPromise,{send:o,id:this.getID()}),$("winToProxyWindow").set(t,this)},n.awaitWindow=function(){return this.actualWindowPromise},n.matchWindow=function(t,r){var o=this,i=r.send;return C.try(function(){return o.actualWindow?t===o.actualWindow:C.hash({proxyInstanceID:o.getInstanceID(),knownWindowInstanceID:Ct(t,{send:i})}).then(function(a){var c=a.proxyInstanceID===a.knownWindowInstanceID;return c&&o.setWindow(t,{send:i}),c})})},n.unwrap=function(){return this.actualWindow||this},n.getInstanceID=function(){return this.serializedWindow.getInstanceID()},n.shouldClean=function(){return!!(this.actualWindow&&Z(this.actualWindow))},n.serialize=function(){return this.serializedWindow},e.unwrap=function(t){return e.isProxyWindow(t)?t.unwrap():t},e.serialize=function(t,r){var o=r.send;return Je(),e.toProxyWindow(t,{send:o}).serialize()},e.deserialize=function(t,r){var o=r.send;return Je(),L("idToProxyWindow").get(t.id)||new e({serializedWindow:t,send:o})},e.isProxyWindow=function(t){return!!(t&&!Re(t)&&t.isProxyWindow)},e.toProxyWindow=function(t,r){var o=r.send;if(Je(),e.isProxyWindow(t))return t;var i=t;return $("winToProxyWindow").get(i)||new e({win:i,send:o})},e}();function Ye(e,n,t,r,o){var i=$("methodStore"),a=L("proxyWindowMethods");Y.isProxyWindow(r)?a.set(e,{val:n,name:t,domain:o,source:r}):(a.del(e),i.getOrSet(r,function(){return{}})[e]={domain:o,name:t,val:n,source:r})}function Nt(e,n){var t=$("methodStore"),r=L("proxyWindowMethods");return t.getOrSet(e,function(){return{}})[n]||r.get(n)}function Dt(e,n,t,r,o){a=(i={on:o.on,send:o.send}).on,c=i.send,L("builtinListeners").getOrSet("functionCalls",function(){return a("postrobot_method",{domain:"*"},function(p){var h=p.source,m=p.origin,w=p.data,x=w.id,S=w.name,b=Nt(h,x);if(!b)throw new Error("Could not find method '"+S+"' with id: "+w.id+" in "+B(window));var O=b.source,z=b.domain,N=b.val;return C.try(function(){if(!de(z,m))throw new Error("Method '"+w.name+"' domain "+JSON.stringify($e(b.domain)?b.domain.source:b.domain)+" does not match origin "+m+" in "+B(window));if(Y.isProxyWindow(O))return O.matchWindow(h,{send:c}).then(function(A){if(!A)throw new Error("Method call '"+w.name+"' failed - proxy window does not match source in "+B(window))})}).then(function(){return N.apply({source:h,origin:m},w.args)},function(A){return C.try(function(){if(N.onError)return N.onError(A)}).then(function(){throw A.stack&&(A.stack="Remote call to "+S+"("+function(k){return k===void 0&&(k=[]),(P=k,[].slice.call(P)).map(function(D){return typeof D=="string"?"'"+D+"'":D===void 0?"undefined":D===null?"null":typeof D=="boolean"?D.toString():Array.isArray(D)?"[ ... ]":typeof D=="object"?"{ ... }":typeof D=="function"?"() => { ... }":"<"+typeof D+">"}).join(", ");var P}(w.args)+`) failed
139
+ `+n.stack,n},J.promise=function(){throw new Error("Promise serialization is not implemented; nothing to deserialize")},J.regex=function(e){return new RegExp(e)},J.date=function(e){return new Date(e)},J.array=function(e){return e},J.object=function(e){return e},J.string=function(e){return e},J.number=function(e){return e},J.boolean=function(e){return e},J.null=function(e){return e},J[void 0]=function(){},J),qt={};new k(function(e){if(window.document&&window.document.body)return e(window.document.body);var t=setInterval(function(){if(window.document&&window.document.body)return clearInterval(t),e(window.document.body)},10)});function Xe(){for(var e=F("idToProxyWindow"),t=0,i=e.keys();t<i.length;t++){var r=i[t];e.get(r).shouldClean()&&e.del(r)}}function Li(e,t){var i=t.send,r=t.id,n=r===void 0?ie():r,o=e.then(function(d){if(X(d))return fe(d).name}),s=e.then(function(d){if(Z(d))throw new Error("Window is closed, can not determine type");return oe(d)?"popup":"iframe"});o.catch(ce),s.catch(ce);var a=function(){return e.then(function(d){if(!Z(d))return X(d)?fe(d).name:o})};return{id:n,getType:function(){return s},getInstanceID:Bt(function(){return e.then(function(d){return Ei(d,{send:i})})}),close:function(){return e.then(Ot)},getName:a,focus:function(){return e.then(function(d){d.focus()})},isClosed:function(){return e.then(function(d){return Z(d)})},setLocation:function(d,f){return f===void 0&&(f={}),e.then(function(h){var S=window.location.protocol+"//"+window.location.host,u=f.method,P=u===void 0?"get":u,I=f.body;if(d.indexOf("/")===0)d=""+S+d;else if(!d.match(/^https?:\/\//)&&d.indexOf(S)!==0)throw new Error("Expected url to be http or https url, or absolute path, got "+JSON.stringify(d));if(P==="post")return a().then(function(y){if(!y)throw new Error("Can not post to window without target name");(function(b){var E=b.url,j=b.target,A=b.body,D=b.method,H=D===void 0?"post":D,T=document.createElement("form");if(T.setAttribute("target",j),T.setAttribute("method",H),T.setAttribute("action",E),T.style.display="none",A)for(var L=0,Q=Object.keys(A);L<Q.length;L++){var B,Re=Q[L],ti=document.createElement("input");ti.setAttribute("name",Re),ti.setAttribute("value",(B=A[Re])==null?void 0:B.toString()),T.appendChild(ti)}wi().appendChild(T),T.submit(),wi().removeChild(T)})({url:d,target:y,method:P,body:I})});if(P!=="get")throw new Error("Unsupported method: "+P);if(X(h))try{if(h.location&&typeof h.location.replace=="function"){h.location.replace(d);return}}catch(y){}h.location=d})},setName:function(d){return e.then(function(f){var h=X(f),S=hi(f);if(!h)throw new Error("Can not set name for cross-domain window: "+d);fe(f).name=d,S&&S.setAttribute("name",d),o=k.resolve(d)})}}}var Y=function(){function e(i){var r=i.send,n=i.win,o=i.serializedWindow;this.id=void 0,this.isProxyWindow=!0,this.serializedWindow=void 0,this.actualWindow=void 0,this.actualWindowPromise=void 0,this.send=void 0,this.name=void 0,this.actualWindowPromise=new k,this.serializedWindow=o||Li(this.actualWindowPromise,{send:r}),F("idToProxyWindow").set(this.getID(),this),n&&this.setWindow(n,{send:r})}var t=e.prototype;return t.getID=function(){return this.serializedWindow.id},t.getType=function(){return this.serializedWindow.getType()},t.isPopup=function(){return this.getType().then(function(i){return i==="popup"})},t.setLocation=function(i,r){var n=this;return this.serializedWindow.setLocation(i,r).then(function(){return n})},t.getName=function(){return this.serializedWindow.getName()},t.setName=function(i){var r=this;return this.serializedWindow.setName(i).then(function(){return r})},t.close=function(){var i=this;return this.serializedWindow.close().then(function(){return i})},t.focus=function(){var i=this,r=this.isPopup(),n=this.getName(),o=k.hash({isPopup:r,name:n}).then(function(a){var d=a.name;a.isPopup&&d&&window.open("",d,"noopener")}),s=this.serializedWindow.focus();return k.all([o,s]).then(function(){return i})},t.isClosed=function(){return this.serializedWindow.isClosed()},t.getWindow=function(){return this.actualWindow},t.setWindow=function(i,r){var n=r.send;this.actualWindow=i,this.actualWindowPromise.resolve(this.actualWindow),this.serializedWindow=Li(this.actualWindowPromise,{send:n,id:this.getID()}),G("winToProxyWindow").set(i,this)},t.awaitWindow=function(){return this.actualWindowPromise},t.matchWindow=function(i,r){var n=this,o=r.send;return k.try(function(){return n.actualWindow?i===n.actualWindow:k.hash({proxyInstanceID:n.getInstanceID(),knownWindowInstanceID:Ei(i,{send:o})}).then(function(s){var a=s.proxyInstanceID===s.knownWindowInstanceID;return a&&n.setWindow(i,{send:o}),a})})},t.unwrap=function(){return this.actualWindow||this},t.getInstanceID=function(){return this.serializedWindow.getInstanceID()},t.shouldClean=function(){return!!(this.actualWindow&&Z(this.actualWindow))},t.serialize=function(){return this.serializedWindow},e.unwrap=function(i){return e.isProxyWindow(i)?i.unwrap():i},e.serialize=function(i,r){var n=r.send;return Xe(),e.toProxyWindow(i,{send:n}).serialize()},e.deserialize=function(i,r){var n=r.send;return Xe(),F("idToProxyWindow").get(i.id)||new e({serializedWindow:i,send:n})},e.isProxyWindow=function(i){return!!(i&&!We(i)&&i.isProxyWindow)},e.toProxyWindow=function(i,r){var n=r.send;if(Xe(),e.isProxyWindow(i))return i;var o=i;return G("winToProxyWindow").get(o)||new e({win:o,send:n})},e}();function Ke(e,t,i,r,n){var o=G("methodStore"),s=F("proxyWindowMethods");Y.isProxyWindow(r)?s.set(e,{val:t,name:i,domain:n,source:r}):(s.del(e),o.getOrSet(r,function(){return{}})[e]={domain:n,name:i,val:t,source:r})}function Wi(e,t){var i=G("methodStore"),r=F("proxyWindowMethods");return i.getOrSet(e,function(){return{}})[t]||r.get(t)}function Oi(e,t,i,r,n){s=(o={on:n.on,send:n.send}).on,a=o.send,F("builtinListeners").getOrSet("functionCalls",function(){return s("postrobot_method",{domain:"*"},function(h){var S=h.source,u=h.origin,P=h.data,I=P.id,y=P.name,b=Wi(S,I);if(!b)throw new Error("Could not find method '"+y+"' with id: "+P.id+" in "+M(window));var E=b.source,j=b.domain,A=b.val;return k.try(function(){if(!Se(j,u))throw new Error("Method '"+P.name+"' domain "+JSON.stringify(Ye(b.domain)?b.domain.source:b.domain)+" does not match origin "+u+" in "+M(window));if(Y.isProxyWindow(E))return E.matchWindow(S,{send:a}).then(function(D){if(!D)throw new Error("Method call '"+P.name+"' failed - proxy window does not match source in "+M(window))})}).then(function(){return A.apply({source:S,origin:u},P.args)},function(D){return k.try(function(){if(A.onError)return A.onError(D)}).then(function(){throw D.stack&&(D.stack="Remote call to "+y+"("+function(H){return H===void 0&&(H=[]),(T=H,[].slice.call(T)).map(function(L){return typeof L=="string"?"'"+L+"'":L===void 0?"undefined":L===null?"null":typeof L=="boolean"?L.toString():Array.isArray(L)?"[ ... ]":typeof L=="object"?"{ ... }":typeof L=="function"?"() => { ... }":"<"+typeof L+">"}).join(", ");var T}(P.args)+`) failed
129
140
 
130
- `+A.stack),A})}).then(function(A){return{result:A,id:x,name:S}})})});var i,a,c,u=t.__id__||ee();e=Y.unwrap(e);var s=t.__name__||t.name||r;return typeof s=="string"&&typeof s.indexOf=="function"&&s.indexOf("anonymous::")===0&&(s=s.replace("anonymous::",r+"::")),Y.isProxyWindow(e)?(Ye(u,t,s,e,n),e.awaitWindow().then(function(p){Ye(u,t,s,p,n)})):Ye(u,t,s,e,n),ue("cross_domain_function",{id:u,name:s})}function jt(e,n,t,r){var o,i=r.on,a=r.send;return function(c,u){u===void 0&&(u=Fn);var s=JSON.stringify(c,function(p){var h=this[p];if(Ve(this))return h;var m=Ot(h);if(!m)return h;var w=u[m]||Un[m];return w?w(h,p):h});return s===void 0?"undefined":s}(t,((o={}).promise=function(c,u){return function(s,p,h,m,w){return ue("cross_domain_zalgo_promise",{then:Dt(s,p,function(x,S){return h.then(x,S)},m,{on:w.on,send:w.send})})}(e,n,c,u,{on:i,send:a})},o.function=function(c,u){return Dt(e,n,c,u,{on:i,send:a})},o.object=function(c){return Re(c)||Y.isProxyWindow(c)?ue("cross_domain_window",Y.serialize(c,{send:a})):c},o))}function Mt(e,n,t,r){var o,i=r.send;return function(a,c){if(c===void 0&&(c=qn),a!=="undefined")return JSON.parse(a,function(u,s){if(Ve(this))return s;var p,h;if(Ve(s)?(p=s.__type__,h=s.__val__):(p=Ot(s),h=s),!p)return h;var m=c[p]||Hn[p];return m?m(h,u):h})}(t,((o={}).cross_domain_zalgo_promise=function(a){return function(c,u,s){return new C(s.then)}(0,0,a)},o.cross_domain_function=function(a){return function(c,u,s,p){var h=s.id,m=s.name,w=p.send,x=function(b){b===void 0&&(b={});function O(){var z=arguments;return Y.toProxyWindow(c,{send:w}).awaitWindow().then(function(N){var A=Nt(N,h);if(A&&A.val!==O)return A.val.apply({source:window,origin:B()},z);var k=[].slice.call(z);return b.fireAndForget?w(N,"postrobot_method",{id:h,name:m,args:k},{domain:u,fireAndForget:!0}):w(N,"postrobot_method",{id:h,name:m,args:k},{domain:u,fireAndForget:!1}).then(function(P){return P.data.result})}).catch(function(N){throw N})}return O.__name__=m,O.__origin__=u,O.__source__=c,O.__id__=h,O.origin=u,O},S=x();return S.fireAndForget=x({fireAndForget:!0}),S}(e,n,a,{send:i})},o.cross_domain_window=function(a){return Y.deserialize(a,{send:i})},o))}var Ze={};Ze.postrobot_post_message=function(e,n,t){t.indexOf("file:")===0&&(t="*"),e.postMessage(n,t)};function Ke(e,n,t,r){var o=r.on,i=r.send;return C.try(function(){var a=$().getOrSet(e,function(){return{}});return a.buffer=a.buffer||[],a.buffer.push(t),a.flush=a.flush||C.flush().then(function(){if(Z(e))throw new Error("Window is closed");var c=jt(e,n,((u={}).__post_robot_10_0_46__=a.buffer||[],u),{on:o,send:i}),u;delete a.buffer;for(var s=Object.keys(Ze),p=[],h=0;h<s.length;h++){var m=s[h];try{Ze[m](e,c,n)}catch(w){p.push(w)}}if(p.length===s.length)throw new Error(`All post-robot messaging strategies failed:
141
+ `+D.stack),D})}).then(function(D){return{result:D,id:I,name:y}})})});var o,s,a,d=i.__id__||ie();e=Y.unwrap(e);var f=i.__name__||i.name||r;return typeof f=="string"&&typeof f.indexOf=="function"&&f.indexOf("anonymous::")===0&&(f=f.replace("anonymous::",r+"::")),Y.isProxyWindow(e)?(Ke(d,i,f,e,t),e.awaitWindow().then(function(h){Ke(d,i,f,h,t)})):Ke(d,i,f,e,t),pe("cross_domain_function",{id:d,name:f})}function Ni(e,t,i,r){var n,o=r.on,s=r.send;return function(a,d){d===void 0&&(d=Ht);var f=JSON.stringify(a,function(h){var S=this[h];if(Qe(this))return S;var u=Ai(S);if(!u)return S;var P=d[u]||Ft[u];return P?P(S,h):S});return f===void 0?"undefined":f}(i,((n={}).promise=function(a,d){return function(f,h,S,u,P){return pe("cross_domain_zalgo_promise",{then:Oi(f,h,function(I,y){return S.then(I,y)},u,{on:P.on,send:P.send})})}(e,t,a,d,{on:o,send:s})},n.function=function(a,d){return Oi(e,t,a,d,{on:o,send:s})},n.object=function(a){return We(a)||Y.isProxyWindow(a)?pe("cross_domain_window",Y.serialize(a,{send:s})):a},n))}function Bi(e,t,i,r){var n,o=r.send;return function(s,a){if(a===void 0&&(a=qt),s!=="undefined")return JSON.parse(s,function(d,f){if(Qe(this))return f;var h,S;if(Qe(f)?(h=f.__type__,S=f.__val__):(h=Ai(f),S=f),!h)return S;var u=a[h]||Ut[h];return u?u(S,d):S})}(i,((n={}).cross_domain_zalgo_promise=function(s){return function(a,d,f){return new k(f.then)}(0,0,s)},n.cross_domain_function=function(s){return function(a,d,f,h){var S=f.id,u=f.name,P=h.send,I=function(b){b===void 0&&(b={});function E(){var j=arguments;return Y.toProxyWindow(a,{send:P}).awaitWindow().then(function(A){var D=Wi(A,S);if(D&&D.val!==E)return D.val.apply({source:window,origin:M()},j);var H=[].slice.call(j);return b.fireAndForget?P(A,"postrobot_method",{id:S,name:u,args:H},{domain:d,fireAndForget:!0}):P(A,"postrobot_method",{id:S,name:u,args:H},{domain:d,fireAndForget:!1}).then(function(T){return T.data.result})}).catch(function(A){throw A})}return E.__name__=u,E.__origin__=d,E.__source__=a,E.__id__=S,E.origin=d,E},y=I();return y.fireAndForget=I({fireAndForget:!0}),y}(e,t,s,{send:o})},n.cross_domain_window=function(s){return Y.deserialize(s,{send:o})},n))}var ei={};ei.postrobot_post_message=function(e,t,i){i.indexOf("file:")===0&&(i="*"),e.postMessage(t,i)};function ii(e,t,i,r){var n=r.on,o=r.send;return k.try(function(){var s=G().getOrSet(e,function(){return{}});return s.buffer=s.buffer||[],s.buffer.push(i),s.flush=s.flush||k.flush().then(function(){if(Z(e))throw new Error("Window is closed");var a=Ni(e,t,((d={}).__post_robot_10_0_46__=s.buffer||[],d),{on:n,send:o}),d;delete s.buffer;for(var f=Object.keys(ei),h=[],S=0;S<f.length;S++){var u=f[S];try{ei[u](e,a,t)}catch(P){h.push(P)}}if(h.length===f.length)throw new Error(`All post-robot messaging strategies failed:
131
142
 
132
- `+p.map(function(w,x){return x+". "+ye(w)}).join(`
143
+ `+h.map(function(P,I){return I+". "+we(P)}).join(`
133
144
 
134
- `))}),a.flush.then(function(){delete a.flush})}).then(se)}function zt(e){return L("responseListeners").get(e)}function Lt(e){L("responseListeners").del(e)}function kt(e){return L("erroredResponseListeners").has(e)}function Ut(e){var n=e.name,t=e.win,r=e.domain,o=$("requestListeners");if(t==="*"&&(t=null),r==="*"&&(r=null),!n)throw new Error("Name required to get request listener");for(var i=0,a=[t,De()];i<a.length;i++){var c=a[i];if(c){var u=o.get(c);if(u){var s=u[n];if(s){if(r&&typeof r=="string"){if(s[r])return s[r];if(s.__domain_regex__)for(var p=0,h=s.__domain_regex__;p<h.length;p++){var m=h[p],w=m.listener;if(de(m.regex,r))return w}}if(s["*"])return s["*"]}}}}}function _n(e,n,t,r){var o=r.on,i=r.send,a=Ut({name:t.name,win:e,domain:n}),c=t.name==="postrobot_method"&&t.data&&typeof t.data.name=="string"?t.data.name+"()":t.name;function u(s,p,h){return C.flush().then(function(){if(!t.fireAndForget&&!Z(e))try{return Ke(e,n,{id:ee(),origin:B(window),type:"postrobot_message_response",hash:t.hash,name:t.name,ack:s,data:p,error:h},{on:o,send:i})}catch(m){throw new Error("Send response message failed for "+c+" in "+B()+`
145
+ `))}),s.flush.then(function(){delete s.flush})}).then(ce)}function Mi(e){return F("responseListeners").get(e)}function ji(e){F("responseListeners").del(e)}function zi(e){return F("erroredResponseListeners").has(e)}function Fi(e){var t=e.name,i=e.win,r=e.domain,n=G("requestListeners");if(i==="*"&&(i=null),r==="*"&&(r=null),!t)throw new Error("Name required to get request listener");for(var o=0,s=[i,Me()];o<s.length;o++){var a=s[o];if(a){var d=n.get(a);if(d){var f=d[t];if(f){if(r&&typeof r=="string"){if(f[r])return f[r];if(f.__domain_regex__)for(var h=0,S=f.__domain_regex__;h<S.length;h++){var u=S[h],P=u.listener;if(Se(u.regex,r))return P}}if(f["*"])return f["*"]}}}}}function _t(e,t,i,r){var n=r.on,o=r.send,s=Fi({name:i.name,win:e,domain:t}),a=i.name==="postrobot_method"&&i.data&&typeof i.data.name=="string"?i.data.name+"()":i.name;function d(f,h,S){return k.flush().then(function(){if(!i.fireAndForget&&!Z(e))try{return ii(e,t,{id:ie(),origin:M(window),type:"postrobot_message_response",hash:i.hash,name:i.name,ack:f,data:h,error:S},{on:n,send:o})}catch(u){throw new Error("Send response message failed for "+a+" in "+M()+`
135
146
 
136
- `+ye(m))}})}return C.all([C.flush().then(function(){if(!t.fireAndForget&&!Z(e))try{return Ke(e,n,{id:ee(),origin:B(window),type:"postrobot_message_ack",hash:t.hash,name:t.name},{on:o,send:i})}catch(s){throw new Error("Send ack message failed for "+c+" in "+B()+`
147
+ `+we(u))}})}return k.all([k.flush().then(function(){if(!i.fireAndForget&&!Z(e))try{return ii(e,t,{id:ie(),origin:M(window),type:"postrobot_message_ack",hash:i.hash,name:i.name},{on:n,send:o})}catch(f){throw new Error("Send ack message failed for "+a+" in "+M()+`
137
148
 
138
- `+ye(s))}}),C.try(function(){if(!a)throw new Error("No handler found for post message: "+t.name+" from "+n+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);return a.handler({source:e,origin:n,data:t.data})}).then(function(s){return u("success",s)},function(s){return u("error",null,s)})]).then(se).catch(function(s){if(a&&a.handleError)return a.handleError(s);throw s})}function Bn(e,n,t){if(!kt(t.hash)){var r=zt(t.hash);if(!r)throw new Error("No handler found for post message ack for message: "+t.name+" from "+n+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);try{if(!de(r.domain,n))throw new Error("Ack origin "+n+" does not match domain "+r.domain.toString());if(e!==r.win)throw new Error("Ack source does not match registered window")}catch(o){r.promise.reject(o)}r.ack=!0}}function $n(e,n,t){if(!kt(t.hash)){var r=zt(t.hash);if(!r)throw new Error("No handler found for post message response for message: "+t.name+" from "+n+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);if(!de(r.domain,n))throw new Error("Response origin "+n+" does not match domain "+(o=r.domain,Array.isArray(o)?"("+o.join(" | ")+")":y(o)?"RegExp("+o.toString()+")":o.toString()));var o;if(e!==r.win)throw new Error("Response source does not match registered window");Lt(t.hash),t.ack==="error"?r.promise.reject(t.error):t.ack==="success"&&r.promise.resolve({source:e,origin:n,data:t.data})}}function Ft(e,n){var t=n.on,r=n.send,o=L("receivedMessages");try{if(!window||window.closed||!e.source)return}catch(p){return}var i=e.source,a=e.origin,c=function(p,h,m,w){var x=w.on,S=w.send,b;try{b=Mt(h,m,p,{on:x,send:S})}catch(z){return}if(b&&typeof b=="object"&&b!==null){var O=b.__post_robot_10_0_46__;if(Array.isArray(O))return O}}(e.data,i,a,{on:t,send:r});if(c){Rt(i);for(var u=0;u<c.length;u++){var s=c[u];if(o.has(s.id)||(o.set(s.id,!0),Z(i)&&!s.fireAndForget))return;s.origin.indexOf("file:")===0&&(a="file://");try{s.type==="postrobot_message_request"?_n(i,a,s,{on:t,send:r}):s.type==="postrobot_message_response"?$n(i,a,s):s.type==="postrobot_message_ack"&&Bn(i,a,s)}catch(p){setTimeout(function(){throw p},0)}}}}function ce(e,n,t){if(!e)throw new Error("Expected name");if(typeof(n=n||{})=="function"&&(t=n,n={}),!t)throw new Error("Expected handler");var r=function o(i,a){var c=i.name,u=i.win,s=i.domain,p=$("requestListeners");if(!c||typeof c!="string")throw new Error("Name required to add request listener");if(u&&u!=="*"&&Y.isProxyWindow(u)){var h=u.awaitWindow().then(function(M){return o({name:c,win:M,domain:s},a)});return{cancel:function(){h.then(function(M){return M.cancel()},se)}}}var m=u;if(Array.isArray(m)){for(var w=[],x=0,S=m;x<S.length;x++)w.push(o({name:c,domain:s,win:S[x]},a));return{cancel:function(){for(var M=0;M<w.length;M++)w[M].cancel()}}}if(Array.isArray(s)){for(var b=[],O=0,z=s;O<z.length;O++)b.push(o({name:c,win:m,domain:z[O]},a));return{cancel:function(){for(var M=0;M<b.length;M++)b[M].cancel()}}}var N=Ut({name:c,win:m,domain:s});m&&m!=="*"||(m=De());var A=(s=s||"*").toString();if(N)throw m&&s?new Error("Request listener already exists for "+c+" on domain "+s.toString()+" for "+(m===De()?"wildcard":"specified")+" window"):m?new Error("Request listener already exists for "+c+" for "+(m===De()?"wildcard":"specified")+" window"):s?new Error("Request listener already exists for "+c+" on domain "+s.toString()):new Error("Request listener already exists for "+c);var k=p.getOrSet(m,function(){return{}}),P=Ee(k,c,function(){return{}}),D,K;return $e(s)?(D=Ee(P,"__domain_regex__",function(){return[]})).push(K={regex:s,listener:a}):P[A]=a,{cancel:function(){delete P[A],K&&(D.splice(D.indexOf(K,1)),D.length||delete P.__domain_regex__),Object.keys(P).length||delete k[c],m&&!Object.keys(k).length&&p.del(m)}}}({name:e,win:n.window,domain:n.domain||"*"},{handler:t||n.handler,handleError:n.errorHandler||function(o){throw o}});return{cancel:function(){r.cancel()}}}function Gn(e,n,t){typeof(n=n||{})=="function"&&(t=n,n={});var r=new C,o;return n.errorHandler=function(i){o.cancel(),r.reject(i)},o=ce(e,n,function(i){if(o.cancel(),r.resolve(i),t)return t(i)}),r.cancel=o.cancel,r}var ne=function e(n,t,r,o){var i=(o=o||{}).domain||"*",a=o.timeout||-1,c=o.timeout||5e3,u=o.fireAndForget||!1;return Y.toProxyWindow(n,{send:e}).awaitWindow().then(function(s){return C.try(function(){if(function(p,h,m){if(!p)throw new Error("Expected name");if(typeof m!="string"&&!Array.isArray(m)&&!$e(m))throw new TypeError("Can not send "+p+". Expected domain "+JSON.stringify(m)+" to be a string, array, or regex");if(Z(h))throw new Error("Can not send "+p+". Target window is closed")}(t,s,i),function(p,h){var m=ht(h);if(m)return m===p;if(h===p||function(S){S===void 0&&(S=window);try{if(S.top)return S.top}catch(N){}if(q(S)===S)return S;try{if(ft(window,S)&&window.top)return window.top}catch(N){}try{if(ft(S,window)&&window.top)return window.top}catch(N){}for(var b=0,O=function N(A){for(var k=[],P=0,D=lt(A);P<D.length;P++){var K=D[P];k.push(K);for(var M=0,be=N(K);M<be.length;M++)k.push(be[M])}return k}(S);b<O.length;b++){var z=O[b];try{if(z.top)return z.top}catch(N){}if(q(z)===z)return z}}(h)===h)return!1;for(var w=0,x=lt(p);w<x.length;w++)if(x[w]===h)return!0;return!1}(window,s))return function(p,h,m){h===void 0&&(h=5e3),m===void 0&&(m="Window");var w=function(x){return $("helloPromises").getOrSet(x,function(){return new C})}(p);return h!==-1&&(w=w.timeout(h,new Error(m+" did not load after "+h+"ms"))),w}(s,c)}).then(function(p){return function(h,m,w,x){var S=x.send;return C.try(function(){return typeof m=="string"?m:C.try(function(){return w||Ge(h,{send:S}).then(function(b){return b.domain})}).then(function(b){if(!de(m,m))throw new Error("Domain "+St(m)+" does not match "+St(m));return b})})}(s,i,(p===void 0?{}:p).domain,{send:e})}).then(function(p){var h=p,m=t==="postrobot_method"&&r&&typeof r.name=="string"?r.name+"()":t,w=new C,x=t+"_"+ee();if(!u){var S={name:t,win:s,domain:h,promise:w};(function(P,D){L("responseListeners").set(P,D)})(x,S);var b=$("requestPromises").getOrSet(s,function(){return[]});b.push(w),w.catch(function(){(function(P){L("erroredResponseListeners").set(P,!0)})(x),Lt(x)});var O=function(P){return $("knownWindows").get(P,!1)}(s)?1e4:2e3,z=a,N=O,A=z,k=function(P,D){var K;return function M(){K=setTimeout(function(){(function(){if(Z(s))return w.reject(new Error("Window closed for "+t+" before "+(S.ack?"response":"ack")));if(S.cancelled)return w.reject(new Error("Response listener was cancelled for "+t));N=Math.max(N-500,0),A!==-1&&(A=Math.max(A-500,0)),S.ack||N!==0?A===0&&w.reject(new Error("No response for postMessage "+m+" in "+B()+" in "+z+"ms")):w.reject(new Error("No ack for postMessage "+m+" in "+B()+" in "+O+"ms"))})(),M()},500)}(),{cancel:function(){clearTimeout(K)}}}();w.finally(function(){k.cancel(),b.splice(b.indexOf(w,1))}).catch(se)}return Ke(s,h,{id:ee(),origin:B(window),type:"postrobot_message_request",hash:x,name:t,data:r,fireAndForget:u},{on:ce,send:e}).then(function(){return u?w.resolve():w},function(P){throw new Error("Send request message failed for "+m+" in "+B()+`
149
+ `+we(f))}}),k.try(function(){if(!s)throw new Error("No handler found for post message: "+i.name+" from "+t+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);return s.handler({source:e,origin:t,data:i.data})}).then(function(f){return d("success",f)},function(f){return d("error",null,f)})]).then(ce).catch(function(f){if(s&&s.handleError)return s.handleError(f);throw f})}function Gt(e,t,i){if(!zi(i.hash)){var r=Mi(i.hash);if(!r)throw new Error("No handler found for post message ack for message: "+i.name+" from "+t+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);try{if(!Se(r.domain,t))throw new Error("Ack origin "+t+" does not match domain "+r.domain.toString());if(e!==r.win)throw new Error("Ack source does not match registered window")}catch(n){r.promise.reject(n)}r.ack=!0}}function Vt(e,t,i){if(!zi(i.hash)){var r=Mi(i.hash);if(!r)throw new Error("No handler found for post message response for message: "+i.name+" from "+t+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);if(!Se(r.domain,t))throw new Error("Response origin "+t+" does not match domain "+(n=r.domain,Array.isArray(n)?"("+n.join(" | ")+")":$(n)?"RegExp("+n.toString()+")":n.toString()));var n;if(e!==r.win)throw new Error("Response source does not match registered window");ji(i.hash),i.ack==="error"?r.promise.reject(i.error):i.ack==="success"&&r.promise.resolve({source:e,origin:t,data:i.data})}}function Hi(e,t){var i=t.on,r=t.send,n=F("receivedMessages");try{if(!window||window.closed||!e.source)return}catch(h){return}var o=e.source,s=e.origin,a=function(h,S,u,P){var I=P.on,y=P.send,b;try{b=Bi(S,u,h,{on:I,send:y})}catch(j){return}if(b&&typeof b=="object"&&b!==null){var E=b.__post_robot_10_0_46__;if(Array.isArray(E))return E}}(e.data,o,s,{on:i,send:r});if(a){Di(o);for(var d=0;d<a.length;d++){var f=a[d];if(n.has(f.id)||(n.set(f.id,!0),Z(o)&&!f.fireAndForget))return;f.origin.indexOf("file:")===0&&(s="file://");try{f.type==="postrobot_message_request"?_t(o,s,f,{on:i,send:r}):f.type==="postrobot_message_response"?Vt(o,s,f):f.type==="postrobot_message_ack"&&Gt(o,s,f)}catch(h){setTimeout(function(){throw h},0)}}}}function le(e,t,i){if(!e)throw new Error("Expected name");if(typeof(t=t||{})=="function"&&(i=t,t={}),!i)throw new Error("Expected handler");var r=function n(o,s){var a=o.name,d=o.win,f=o.domain,h=G("requestListeners");if(!a||typeof a!="string")throw new Error("Name required to add request listener");if(d&&d!=="*"&&Y.isProxyWindow(d)){var S=d.awaitWindow().then(function(B){return n({name:a,win:B,domain:f},s)});return{cancel:function(){S.then(function(B){return B.cancel()},ce)}}}var u=d;if(Array.isArray(u)){for(var P=[],I=0,y=u;I<y.length;I++)P.push(n({name:a,domain:f,win:y[I]},s));return{cancel:function(){for(var B=0;B<P.length;B++)P[B].cancel()}}}if(Array.isArray(f)){for(var b=[],E=0,j=f;E<j.length;E++)b.push(n({name:a,win:u,domain:j[E]},s));return{cancel:function(){for(var B=0;B<b.length;B++)b[B].cancel()}}}var A=Fi({name:a,win:u,domain:f});u&&u!=="*"||(u=Me());var D=(f=f||"*").toString();if(A)throw u&&f?new Error("Request listener already exists for "+a+" on domain "+f.toString()+" for "+(u===Me()?"wildcard":"specified")+" window"):u?new Error("Request listener already exists for "+a+" for "+(u===Me()?"wildcard":"specified")+" window"):f?new Error("Request listener already exists for "+a+" on domain "+f.toString()):new Error("Request listener already exists for "+a);var H=h.getOrSet(u,function(){return{}}),T=Ie(H,a,function(){return{}}),L,Q;return Ye(f)?(L=Ie(T,"__domain_regex__",function(){return[]})).push(Q={regex:f,listener:s}):T[D]=s,{cancel:function(){delete T[D],Q&&(L.splice(L.indexOf(Q,1)),L.length||delete T.__domain_regex__),Object.keys(T).length||delete H[a],u&&!Object.keys(H).length&&h.del(u)}}}({name:e,win:t.window,domain:t.domain||"*"},{handler:i||t.handler,handleError:t.errorHandler||function(n){throw n}});return{cancel:function(){r.cancel()}}}function Jt(e,t,i){typeof(t=t||{})=="function"&&(i=t,t={});var r=new k,n;return t.errorHandler=function(o){n.cancel(),r.reject(o)},n=le(e,t,function(o){if(n.cancel(),r.resolve(o),i)return i(o)}),r.cancel=n.cancel,r}var re=function e(t,i,r,n){var o=(n=n||{}).domain||"*",s=n.timeout||-1,a=n.timeout||5e3,d=n.fireAndForget||!1;return Y.toProxyWindow(t,{send:e}).awaitWindow().then(function(f){return k.try(function(){if(function(h,S,u){if(!h)throw new Error("Expected name");if(typeof u!="string"&&!Array.isArray(u)&&!Ye(u))throw new TypeError("Can not send "+h+". Expected domain "+JSON.stringify(u)+" to be a string, array, or regex");if(Z(S))throw new Error("Can not send "+h+". Target window is closed")}(i,f,o),function(h,S){var u=Ci(S);if(u)return u===h;if(S===h||function(y){y===void 0&&(y=window);try{if(y.top)return y.top}catch(A){}if(z(y)===y)return y;try{if(de(window,y)&&window.top)return window.top}catch(A){}try{if(de(y,window)&&window.top)return window.top}catch(A){}for(var b=0,E=function A(D){for(var H=[],T=0,L=Pe(D);T<L.length;T++){var Q=L[T];H.push(Q);for(var B=0,Re=A(Q);B<Re.length;B++)H.push(Re[B])}return H}(y);b<E.length;b++){var j=E[b];try{if(j.top)return j.top}catch(A){}if(z(j)===j)return j}}(S)===S)return!1;for(var P=0,I=Pe(h);P<I.length;P++)if(I[P]===S)return!0;return!1}(window,f))return function(h,S,u){S===void 0&&(S=5e3),u===void 0&&(u="Window");var P=function(I){return G("helloPromises").getOrSet(I,function(){return new k})}(h);return S!==-1&&(P=P.timeout(S,new Error(u+" did not load after "+S+"ms"))),P}(f,a)}).then(function(h){return function(S,u,P,I){var y=I.send;return k.try(function(){return typeof u=="string"?u:k.try(function(){return P||Ze(S,{send:y}).then(function(b){return b.domain})}).then(function(b){if(!Se(u,u))throw new Error("Domain "+bi(u)+" does not match "+bi(u));return b})})}(f,o,(h===void 0?{}:h).domain,{send:e})}).then(function(h){var S=h,u=i==="postrobot_method"&&r&&typeof r.name=="string"?r.name+"()":i,P=new k,I=i+"_"+ie();if(!d){var y={name:i,win:f,domain:S,promise:P};(function(T,L){F("responseListeners").set(T,L)})(I,y);var b=G("requestPromises").getOrSet(f,function(){return[]});b.push(P),P.catch(function(){(function(T){F("erroredResponseListeners").set(T,!0)})(I),ji(I)});var E=function(T){return G("knownWindows").get(T,!1)}(f)?1e4:2e3,j=s,A=E,D=j,H=function(T,L){var Q;return function B(){Q=setTimeout(function(){(function(){if(Z(f))return P.reject(new Error("Window closed for "+i+" before "+(y.ack?"response":"ack")));if(y.cancelled)return P.reject(new Error("Response listener was cancelled for "+i));A=Math.max(A-500,0),D!==-1&&(D=Math.max(D-500,0)),y.ack||A!==0?D===0&&P.reject(new Error("No response for postMessage "+u+" in "+M()+" in "+j+"ms")):P.reject(new Error("No ack for postMessage "+u+" in "+M()+" in "+E+"ms"))})(),B()},500)}(),{cancel:function(){clearTimeout(Q)}}}();P.finally(function(){H.cancel(),b.splice(b.indexOf(P,1))}).catch(ce)}return ii(f,S,{id:ie(),origin:M(window),type:"postrobot_message_request",hash:I,name:i,data:r,fireAndForget:d},{on:le,send:e}).then(function(){return d?P.resolve():P},function(T){throw new Error("Send request message failed for "+u+" in "+M()+`
139
150
 
140
- `+ye(P))})})})};function Vn(e,n,t){return jt(e,n,t,{on:ce,send:ne})}function Jn(e,n,t){return Mt(e,n,t,{send:ne})}function Yn(e){return new Y({send:ne,win:e})}function Zn(e){return Y.toProxyWindow(e,{send:ne})}function Ht(){Se().initialized||(Se().initialized=!0,n=(e={on:ce,send:ne}).on,t=e.send,(r=Se()).receiveMessage=r.receiveMessage||function(o){return Ft(o,{on:n,send:t})},function(o){var i=o.on,a=o.send;L().getOrSet("postMessageListener",function(){return function(c,u,s){return c.addEventListener("message",s),{cancel:function(){c.removeEventListener("message",s)}}}(window,0,function(c){(function(u,s){var p=s.on,h=s.send;C.try(function(){var m=u.source||u.sourceElement,w=u.origin||u.originalEvent&&u.originalEvent.origin,x=u.data;if(w==="null"&&(w="file://"),m){if(!w)throw new Error("Post message did not have origin domain");Ft({source:m,origin:w,data:x},{on:p,send:h})}})})(c,{on:i,send:a})})})}({on:ce,send:ne}),function(o){var i=o.on,a=o.send;L("builtinListeners").getOrSet("helloListener",function(){var c=i("postrobot_hello",{domain:"*"},function(s){return Tt(s.source,{domain:s.origin}),{instanceID:Pt()}}),u=ht();return u&&Ge(u,{send:a}).catch(function(s){}),c})}({on:ce,send:ne}));var e,n,t,r}function Kn(){(function(){for(var n=L("responseListeners"),t=0,r=n.keys();t<r.length;t++){var o=r[t],i=n.get(o);i&&(i.cancelled=!0),n.del(o)}})(),(e=L().get("postMessageListener"))&&e.cancel();var e;delete window.__post_robot_10_0_46__}var Xn=!0;function Qn(e){for(var n=0,t=$("requestPromises").get(e,[]);n<t.length;n++)t[n].reject(new Error("Window "+(Z(e)?"closed":"cleaned up")+" before response")).catch(se)}Ht()}])})}(We)),We.exports}var ct;function On(){return ct||(ct=1,function(f){f.exports=Rn(),f.exports.default=f.exports}(Fe)),Fe.exports}var dt=On();const He=T({__proto__:null,default:Tn(dt)},[dt]);I.ConsentBox=Le,I.PrivacyCenterBox=vn,I.SoyioTypes=wn,I.SoyioWidget=st,I._TooltipManager=re,I.default=st,Object.defineProperties(I,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
151
+ `+we(T))})})})};function Yt(e,t,i){return Ni(e,t,i,{on:le,send:re})}function Zt(e,t,i){return Bi(e,t,i,{send:re})}function Qt(e){return new Y({send:re,win:e})}function Xt(e){return Y.toProxyWindow(e,{send:re})}function Ui(){Te().initialized||(Te().initialized=!0,t=(e={on:le,send:re}).on,i=e.send,(r=Te()).receiveMessage=r.receiveMessage||function(n){return Hi(n,{on:t,send:i})},function(n){var o=n.on,s=n.send;F().getOrSet("postMessageListener",function(){return function(a,d,f){return a.addEventListener("message",f),{cancel:function(){a.removeEventListener("message",f)}}}(window,0,function(a){(function(d,f){var h=f.on,S=f.send;k.try(function(){var u=d.source||d.sourceElement,P=d.origin||d.originalEvent&&d.originalEvent.origin,I=d.data;if(P==="null"&&(P="file://"),u){if(!P)throw new Error("Post message did not have origin domain");Hi({source:u,origin:P,data:I},{on:h,send:S})}})})(a,{on:o,send:s})})})}({on:le,send:re}),function(n){var o=n.on,s=n.send;F("builtinListeners").getOrSet("helloListener",function(){var a=o("postrobot_hello",{domain:"*"},function(f){return xi(f.source,{domain:f.origin}),{instanceID:ki()}}),d=Ci();return d&&Ze(d,{send:s}).catch(function(f){}),a})}({on:le,send:re}));var e,t,i,r}function Kt(){(function(){for(var t=F("responseListeners"),i=0,r=t.keys();i<r.length;i++){var n=r[i],o=t.get(n);o&&(o.cancelled=!0),t.del(n)}})(),(e=F().get("postMessageListener"))&&e.cancel();var e;delete window.__post_robot_10_0_46__}var er=!0;function ir(e){for(var t=0,i=G("requestPromises").get(e,[]);t<i.length;t++)i[t].reject(new Error("Window "+(Z(e)?"closed":"cleaned up")+" before response")).catch(ce)}Ui()}])})}(De)),De.exports}var Si;function Wt(){return Si||(Si=1,function(l){l.exports=Lt(),l.exports.default=l.exports}(qe)),qe.exports}var ui=Wt();const _e=R({__proto__:null,default:Dt(ui)},[ui]);v.ConsentBox=Fe,v.PrivacyCenterBox=$t,v.SoyioTypes=gt,v.SoyioWidget=pi,v._TooltipManager=ne,v.appearanceSchema=xt,v.configSchema=Et,v.default=pi,Object.defineProperties(v,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});